@duplicati/ngclient 0.0.144 → 0.0.146

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/{chunk-X3IA226Q.js → chunk-2F6NVETW.js} +1 -1
  2. package/chunk-2J72DAGY.js +1 -0
  3. package/{chunk-VC72SWC4.js → chunk-2QJC4PGQ.js} +1 -1
  4. package/{chunk-PT7UQJD4.js → chunk-2UCO57JQ.js} +1 -1
  5. package/chunk-3DEY25P4.js +8 -0
  6. package/{chunk-4YL5DZVH.js → chunk-43JMN2ZY.js} +1 -1
  7. package/{chunk-LZUM5XKC.js → chunk-4TDUWDRL.js} +1 -1
  8. package/{chunk-GCZWFRPZ.js → chunk-53RHCPJ3.js} +1 -1
  9. package/{chunk-SCOG2I64.js → chunk-62QANGOE.js} +1 -1
  10. package/{chunk-XNVRJH42.js → chunk-6LTGTS6B.js} +1 -1
  11. package/{chunk-73RDJP55.js → chunk-6OPAGPKF.js} +1 -1
  12. package/{chunk-KOVQRACM.js → chunk-7EBTJOD7.js} +1 -1
  13. package/{chunk-6GC5VKTI.js → chunk-7IQY6U5W.js} +1 -1
  14. package/chunk-A4HR75JB.js +1 -0
  15. package/chunk-A6VGO6B5.js +1 -0
  16. package/{chunk-GHFYBZHQ.js → chunk-AJTK6HBC.js} +1 -1
  17. package/chunk-B2D4QGDJ.js +1 -0
  18. package/chunk-BPJCKQYP.js +1 -0
  19. package/{chunk-UACX27D3.js → chunk-DDWLL7XA.js} +1 -1
  20. package/{chunk-GUH5TMOS.js → chunk-DELLEGXW.js} +1 -1
  21. package/{chunk-IHNX6WZQ.js → chunk-DFMGS3IN.js} +1 -1
  22. package/chunk-DKTUN7FF.js +1 -0
  23. package/{chunk-KGJAK6OP.js → chunk-DLMKZACT.js} +1 -1
  24. package/{chunk-FFY3NRCC.js → chunk-DNDTLTUM.js} +1 -1
  25. package/{chunk-3UN32GIC.js → chunk-DVDTYV66.js} +1 -1
  26. package/{chunk-IGOZJJE3.js → chunk-E66CBA5F.js} +1 -1
  27. package/{chunk-K3ZQ67VT.js → chunk-EAV46VM2.js} +1 -1
  28. package/{chunk-JA7OQSO3.js → chunk-EBIM5FBM.js} +1 -1
  29. package/{chunk-GO22DJ44.js → chunk-ESUPNSKH.js} +1 -1
  30. package/{chunk-T4TFHAZT.js → chunk-F3RCXLD4.js} +1 -1
  31. package/{chunk-OTMW34HV.js → chunk-FCRM5DER.js} +1 -1
  32. package/{chunk-XQ4CAUD4.js → chunk-FUOS2UGQ.js} +1 -1
  33. package/{chunk-BIETD4DI.js → chunk-FZHTJSDJ.js} +1 -1
  34. package/chunk-H7K35UUX.js +1 -0
  35. package/chunk-HI4XLHO3.js +1 -0
  36. package/chunk-HIIPI6XR.js +1 -0
  37. package/{chunk-QDFCX6XE.js → chunk-HNWRQABR.js} +3 -3
  38. package/{chunk-J2MHNGNQ.js → chunk-IFW3O4YJ.js} +1 -1
  39. package/{chunk-CTEFMU6N.js → chunk-J3ONM4TQ.js} +1 -1
  40. package/{chunk-TJOWPBPB.js → chunk-JDXKHOL3.js} +1 -1
  41. package/chunk-JISUMMWT.js +1 -0
  42. package/{chunk-CDRDYQEV.js → chunk-KDYD6LMI.js} +1 -1
  43. package/chunk-KLW6HEOS.js +1 -0
  44. package/chunk-LVP2TPMO.js +1 -0
  45. package/{chunk-5PSLWJTF.js → chunk-M6WWZKV7.js} +1 -1
  46. package/{chunk-BXRW2LGW.js → chunk-MIXCKY7O.js} +1 -1
  47. package/{chunk-GDBU3Z7P.js → chunk-MSLKIHQQ.js} +1 -1
  48. package/{chunk-UT6XGEMV.js → chunk-MVNLSG6Z.js} +1 -1
  49. package/{chunk-USU2EHJV.js → chunk-N5SC4SKW.js} +1 -1
  50. package/{chunk-QY6E755W.js → chunk-N6ABN43N.js} +1 -1
  51. package/chunk-NEEEYVL7.js +1 -0
  52. package/{chunk-WWFNG47J.js → chunk-NJEX2N4Q.js} +1 -1
  53. package/{chunk-JIHMT35A.js → chunk-NJZSEKTD.js} +1 -1
  54. package/{chunk-J3BBLPAD.js → chunk-NOPMCS2Z.js} +1 -1
  55. package/{chunk-ACH476VA.js → chunk-NQ27E6KP.js} +1 -1
  56. package/{chunk-QGFC5ZUR.js → chunk-O64ZZGQZ.js} +1 -1
  57. package/chunk-OPUHTC2R.js +1 -0
  58. package/chunk-PKGSUIIS.js +1 -0
  59. package/{chunk-CFNP4FBG.js → chunk-POMLWQHO.js} +1 -1
  60. package/{chunk-BGUKMOKY.js → chunk-QDFDQHU3.js} +1 -1
  61. package/{chunk-7AMBMWZP.js → chunk-QHC3CY43.js} +1 -1
  62. package/{chunk-ARXKB7WH.js → chunk-QITXA3NT.js} +1 -1
  63. package/{chunk-J5PSMGKZ.js → chunk-R5RIFWZO.js} +1 -1
  64. package/{chunk-AO4O42CM.js → chunk-RSJYY3JM.js} +1 -1
  65. package/chunk-RUFE3SMI.js +1 -0
  66. package/{chunk-WJPLJKPQ.js → chunk-RUXCS4ZK.js} +1 -1
  67. package/chunk-S2DE2CVG.js +1 -0
  68. package/{chunk-7X7K5IXS.js → chunk-SFSB73YO.js} +1 -1
  69. package/{chunk-B5FUQFEQ.js → chunk-TDKBGGNK.js} +1 -1
  70. package/{chunk-6XBSQDXR.js → chunk-TIWH4NKT.js} +1 -1
  71. package/{chunk-XHUUCB2W.js → chunk-TKO3OH2C.js} +1 -1
  72. package/chunk-UAOG26QT.js +1 -0
  73. package/{chunk-LEXA637O.js → chunk-UBAVXJ6S.js} +1 -1
  74. package/chunk-UIIHBXLB.js +1 -0
  75. package/{chunk-OXOOR7I4.js → chunk-UIJYCGKA.js} +1 -1
  76. package/{chunk-ETCRT3EV.js → chunk-UKQFDBNO.js} +1 -1
  77. package/{chunk-CWBEE627.js → chunk-UP5EOICU.js} +1 -1
  78. package/{chunk-6WWCFRZ5.js → chunk-VHE3K2F5.js} +1 -1
  79. package/{chunk-66BSPEOQ.js → chunk-VTSUHAP5.js} +1 -1
  80. package/{chunk-UW4GBMEP.js → chunk-WS76KLII.js} +1 -1
  81. package/{chunk-ZGAC2JKG.js → chunk-Z3EPZZGY.js} +1 -1
  82. package/{chunk-FVE45QKX.js → chunk-ZNWZFRFW.js} +1 -1
  83. package/index.html +2 -2
  84. package/{main-SUSCPR3H.js → main-2APPS76A.js} +1 -1
  85. package/package.json +1 -1
  86. package/styles-LRXGHWCZ.css +1 -0
  87. package/chunk-2CTSAUUN.js +0 -1
  88. package/chunk-2NU5Y4V7.js +0 -1
  89. package/chunk-2RB5RKNM.js +0 -1
  90. package/chunk-74NKDA4G.js +0 -1
  91. package/chunk-7WD3AN66.js +0 -1
  92. package/chunk-AB2L3URR.js +0 -1
  93. package/chunk-B7NRTB6T.js +0 -1
  94. package/chunk-C2L3SQU3.js +0 -1
  95. package/chunk-CZLLEVMJ.js +0 -1
  96. package/chunk-ERKYRXHP.js +0 -8
  97. package/chunk-HKZX6OB5.js +0 -1
  98. package/chunk-L2EO4M4B.js +0 -1
  99. package/chunk-ODVCGM2O.js +0 -1
  100. package/chunk-QFU6VJXV.js +0 -1
  101. package/chunk-QNOIURSX.js +0 -1
  102. package/chunk-UGLRUY6T.js +0 -1
  103. package/chunk-UUODEERG.js +0 -1
  104. package/chunk-WHKW5IYF.js +0 -1
  105. package/chunk-WRNQOX5R.js +0 -1
  106. package/chunk-ZVIRETHC.js +0 -1
  107. package/styles-EZGVWHZF.css +0 -1
@@ -1,4 +1,4 @@
1
- import{a as z,b as Q}from"./chunk-EUDKD2JW.js";function qn(e,t){return Object.is(e,t)}var J=null,Kr=!1,is=1,Zg=null,F=Symbol("SIGNAL");function E(e){let t=J;return J=e,t}function Jr(){return J}var Me={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function et(e){if(Kr)throw new Error("");if(J===null)return;J.consumerOnSignalRead(e);let t=J.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=J.recomputing;if(r&&(n=t!==void 0?t.nextProducer:J.producers,n!==void 0&&n.producer===e)){J.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===J&&(!r||Yg(o,J)))return;let i=sn(J),s={producer:e,consumer:J,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};J.producersTail=s,t!==void 0?t.nextProducer=s:J.producers=s,i&&tu(e,s)}function Xl(){is++}function Tt(e){if(!(sn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===is)){if(!e.producerMustRecompute(e)&&!_t(e)){on(e);return}e.producerRecomputeValue(e),on(e)}}function ss(e){if(e.consumers===void 0)return;let t=Kr;Kr=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||eu(r)}}finally{Kr=t}}function as(){return J?.consumerAllowSignalWrites!==!1}function eu(e){e.dirty=!0,ss(e),e.consumerMarkedDirty?.(e)}function on(e){e.dirty=!1,e.lastCleanEpoch=is}function Ne(e){return e&&(e.producersTail=void 0,e.recomputing=!0),E(e)}function Be(e,t){if(E(t),!e)return;e.recomputing=!1;let n=e.producersTail,r=n!==void 0?n.nextProducer:e.producers;if(r!==void 0){if(sn(e))do r=cs(r);while(r!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function _t(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Tt(n),r!==n.version))return!0}return!1}function Mt(e){if(sn(e)){let t=e.producers;for(;t!==void 0;)t=cs(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function tu(e,t){let n=e.consumersTail,r=sn(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)tu(o.producer,o)}function cs(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!sn(t)){let i=t.producers;for(;i!==void 0;)i=cs(i)}return n}function sn(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Wn(e){Zg?.(e)}function Yg(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function Gn(e,t){let n=Object.create(Kg);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Tt(n),et(n),n.value===He)throw n.error;return n.value};return r[F]=n,Wn(n),r}var Xe=Symbol("UNSET"),bt=Symbol("COMPUTING"),He=Symbol("ERRORED"),Kg=Q(z({},Me),{value:Xe,dirty:!0,error:null,equal:qn,kind:"computed",producerMustRecompute(e){return e.value===Xe||e.value===bt},producerRecomputeValue(e){if(e.value===bt)throw new Error("");let t=e.value;e.value=bt;let n=Ne(e),r,o=!1;try{r=e.computation(),E(null),o=t!==Xe&&t!==He&&r!==He&&e.equal(t,r)}catch(i){r=He,e.error=i}finally{Be(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Jg(){throw new Error}var nu=Jg;function ru(e){nu(e)}function ls(e){nu=e}var Xg=null;function us(e,t){let n=Object.create(eo);n.value=e,t!==void 0&&(n.equal=t);let r=()=>ou(n);return r[F]=n,Wn(n),[r,s=>tt(n,s),s=>Xr(n,s)]}function ou(e){return et(e),e.value}function tt(e,t){as()||ru(e),e.equal(e.value,t)||(e.value=t,em(e))}function Xr(e,t){as()||ru(e),tt(e,t(e.value))}var eo=Q(z({},Me),{equal:qn,value:void 0,kind:"signal"});function em(e){e.version++,Xl(),ss(e),Xg?.(e)}function T(e){return typeof e=="function"}function an(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var to=an(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
1
+ import{a as z,b as Q}from"./chunk-EUDKD2JW.js";function qn(e,t){return Object.is(e,t)}var J=null,Kr=!1,is=1,Zg=null,F=Symbol("SIGNAL");function E(e){let t=J;return J=e,t}function Jr(){return J}var Me={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function et(e){if(Kr)throw new Error("");if(J===null)return;J.consumerOnSignalRead(e);let t=J.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=J.recomputing;if(r&&(n=t!==void 0?t.nextProducer:J.producers,n!==void 0&&n.producer===e)){J.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===J&&(!r||Yg(o,J)))return;let i=sn(J),s={producer:e,consumer:J,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};J.producersTail=s,t!==void 0?t.nextProducer=s:J.producers=s,i&&tu(e,s)}function Xl(){is++}function _t(e){if(!(sn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===is)){if(!e.producerMustRecompute(e)&&!Mt(e)){on(e);return}e.producerRecomputeValue(e),on(e)}}function ss(e){if(e.consumers===void 0)return;let t=Kr;Kr=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||eu(r)}}finally{Kr=t}}function as(){return J?.consumerAllowSignalWrites!==!1}function eu(e){e.dirty=!0,ss(e),e.consumerMarkedDirty?.(e)}function on(e){e.dirty=!1,e.lastCleanEpoch=is}function Ne(e){return e&&(e.producersTail=void 0,e.recomputing=!0),E(e)}function Be(e,t){if(E(t),!e)return;e.recomputing=!1;let n=e.producersTail,r=n!==void 0?n.nextProducer:e.producers;if(r!==void 0){if(sn(e))do r=cs(r);while(r!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function Mt(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(_t(n),r!==n.version))return!0}return!1}function tt(e){if(sn(e)){let t=e.producers;for(;t!==void 0;)t=cs(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function tu(e,t){let n=e.consumersTail,r=sn(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)tu(o.producer,o)}function cs(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!sn(t)){let i=t.producers;for(;i!==void 0;)i=cs(i)}return n}function sn(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Wn(e){Zg?.(e)}function Yg(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function Gn(e,t){let n=Object.create(Kg);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(_t(n),et(n),n.value===He)throw n.error;return n.value};return r[F]=n,Wn(n),r}var Xe=Symbol("UNSET"),Tt=Symbol("COMPUTING"),He=Symbol("ERRORED"),Kg=Q(z({},Me),{value:Xe,dirty:!0,error:null,equal:qn,kind:"computed",producerMustRecompute(e){return e.value===Xe||e.value===Tt},producerRecomputeValue(e){if(e.value===Tt)throw new Error("");let t=e.value;e.value=Tt;let n=Ne(e),r,o=!1;try{r=e.computation(),E(null),o=t!==Xe&&t!==He&&r!==He&&e.equal(t,r)}catch(i){r=He,e.error=i}finally{Be(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Jg(){throw new Error}var nu=Jg;function ru(e){nu(e)}function ls(e){nu=e}var Xg=null;function us(e,t){let n=Object.create(eo);n.value=e,t!==void 0&&(n.equal=t);let r=()=>ou(n);return r[F]=n,Wn(n),[r,s=>nt(n,s),s=>Xr(n,s)]}function ou(e){return et(e),e.value}function nt(e,t){as()||ru(e),e.equal(e.value,t)||(e.value=t,em(e))}function Xr(e,t){as()||ru(e),nt(e,t(e.value))}var eo=Q(z({},Me),{equal:qn,value:void 0,kind:"signal"});function em(e){e.version++,Xl(),ss(e),Xg?.(e)}function T(e){return typeof e=="function"}function an(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var to=an(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
2
  ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
- `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Nt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var B=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(T(r))try{r()}catch(i){t=i instanceof to?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{iu(i)}catch(s){t=t??[],s instanceof to?t=[...t,...s.errors]:t.push(s)}}if(t)throw new to(t)}}add(t){var n;if(t&&t!==this)if(this.closed)iu(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Nt(n,t)}remove(t){let{_finalizers:n}=this;n&&Nt(n,t),t instanceof e&&t._removeParent(this)}};B.EMPTY=(()=>{let e=new B;return e.closed=!0,e})();var ds=B.EMPTY;function no(e){return e instanceof B||e&&"closed"in e&&T(e.remove)&&T(e.add)&&T(e.unsubscribe)}function iu(e){T(e)?e():e.unsubscribe()}var ye={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var cn={setTimeout(e,t,...n){let{delegate:r}=cn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=cn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ro(e){cn.setTimeout(()=>{let{onUnhandledError:t}=ye;if(t)t(e);else throw e})}function zn(){}var su=fs("C",void 0,void 0);function au(e){return fs("E",void 0,e)}function cu(e){return fs("N",e,void 0)}function fs(e,t,n){return{kind:e,value:t,error:n}}var xt=null;function ln(e){if(ye.useDeprecatedSynchronousErrorHandling){let t=!xt;if(t&&(xt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=xt;if(xt=null,n)throw r}}else e()}function lu(e){ye.useDeprecatedSynchronousErrorHandling&&xt&&(xt.errorThrown=!0,xt.error=e)}var St=class extends B{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,no(t)&&t.add(this)):this.destination=rm}static create(t,n,r){return new $e(t,n,r)}next(t){this.isStopped?hs(cu(t),this):this._next(t)}error(t){this.isStopped?hs(au(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?hs(su,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},tm=Function.prototype.bind;function ps(e,t){return tm.call(e,t)}var gs=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){oo(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){oo(r)}else oo(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){oo(n)}}},$e=class extends St{constructor(t,n,r){super();let o;if(T(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ye.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&ps(t.next,i),error:t.error&&ps(t.error,i),complete:t.complete&&ps(t.complete,i)}):o=t}this.destination=new gs(o)}};function oo(e){ye.useDeprecatedSynchronousErrorHandling?lu(e):ro(e)}function nm(e){throw e}function hs(e,t){let{onStoppedNotification:n}=ye;n&&cn.setTimeout(()=>n(e,t))}var rm={closed:!0,next:zn,error:nm,complete:zn};var un=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Z(e){return e}function om(...e){return ms(e)}function ms(e){return e.length===0?Z:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var N=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=sm(n)?n:new $e(n,r,o);return ln(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=uu(r),new r((o,i)=>{let s=new $e({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[un](){return this}pipe(...n){return ms(n)(this)}toPromise(n){return n=uu(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function uu(e){var t;return(t=e??ye.Promise)!==null&&t!==void 0?t:Promise}function im(e){return e&&T(e.next)&&T(e.error)&&T(e.complete)}function sm(e){return e&&e instanceof St||im(e)&&no(e)}var du=an(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var de=(()=>{class e extends N{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new io(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new du}next(n){ln(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){ln(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){ln(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?ds:(this.currentObservers=null,i.push(n),new B(()=>{this.currentObservers=null,Nt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new N;return n.source=this,n}}return e.create=(t,n)=>new io(t,n),e})(),io=class extends de{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:ds}};function so(e){return e&&T(e.schedule)}function fu(e){return e[e.length-1]}function dn(e){return T(fu(e))?e.pop():void 0}function nt(e){return so(fu(e))?e.pop():void 0}function hu(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function pu(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Rt(e){return this instanceof Rt?(this.v=e,this):new Rt(e)}function gu(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(g){return new Promise(function(I,m){i.push([f,g,I,m])>1||c(f,g)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(g){p(i[0][3],g)}}function l(f){f.value instanceof Rt?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function mu(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof pu=="function"?pu(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var ao=e=>e&&typeof e.length=="number"&&typeof e!="function";function co(e){return T(e?.then)}function lo(e){return T(e[un])}function uo(e){return Symbol.asyncIterator&&T(e?.[Symbol.asyncIterator])}function fo(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function am(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var po=am();function ho(e){return T(e?.[po])}function go(e){return gu(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Rt(n.read());if(o)return yield Rt(void 0);yield yield Rt(r)}}finally{n.releaseLock()}})}function mo(e){return T(e?.getReader)}function P(e){if(e instanceof N)return e;if(e!=null){if(lo(e))return cm(e);if(ao(e))return lm(e);if(co(e))return um(e);if(uo(e))return yu(e);if(ho(e))return dm(e);if(mo(e))return fm(e)}throw fo(e)}function cm(e){return new N(t=>{let n=e[un]();if(T(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function lm(e){return new N(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function um(e){return new N(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,ro)})}function dm(e){return new N(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function yu(e){return new N(t=>{pm(e,t).catch(n=>t.error(n))})}function fm(e){return yu(go(e))}function pm(e,t){var n,r,o,i;return hu(this,void 0,void 0,function*(){try{for(n=mu(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function oe(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function ys(e){return T(e?.lift)}function M(e){return t=>{if(ys(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function C(e,t,n,r,o){return new vs(e,t,n,r,o)}var vs=class extends St{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function yo(e,t=0){return M((n,r)=>{n.subscribe(C(r,o=>oe(r,e,()=>r.next(o),t),()=>oe(r,e,()=>r.complete(),t),o=>oe(r,e,()=>r.error(o),t)))})}function vo(e,t=0){return M((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function vu(e,t){return P(e).pipe(vo(t),yo(t))}function Iu(e,t){return P(e).pipe(vo(t),yo(t))}function Eu(e,t){return new N(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Du(e,t){return new N(n=>{let r;return oe(n,t,()=>{r=e[po](),oe(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>T(r?.return)&&r.return()})}function Io(e,t){if(!e)throw new Error("Iterable cannot be null");return new N(n=>{oe(n,t,()=>{let r=e[Symbol.asyncIterator]();oe(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function wu(e,t){return Io(go(e),t)}function Cu(e,t){if(e!=null){if(lo(e))return vu(e,t);if(ao(e))return Eu(e,t);if(co(e))return Iu(e,t);if(uo(e))return Io(e,t);if(ho(e))return Du(e,t);if(mo(e))return wu(e,t)}throw fo(e)}function rt(e,t){return t?Cu(e,t):P(e)}function hm(...e){let t=nt(e);return rt(e,t)}function ot(e,t){return M((n,r)=>{let o=0;n.subscribe(C(r,i=>{r.next(e.call(t,i,o++))}))})}function Is(e){return M((t,n)=>{let r=null,o=!1,i;r=t.subscribe(C(n,void 0,void 0,s=>{i=P(e(s,Is(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}var Eo=class extends B{constructor(t,n){super()}schedule(t,n=0){return this}};var Qn={setInterval(e,t,...n){let{delegate:r}=Qn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Qn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Do=class extends Eo{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return Qn.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Qn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Nt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Zn={now(){return(Zn.delegate||Date).now()},delegate:void 0};var fn=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};fn.now=Zn.now;var wo=class extends fn{constructor(t,n=fn.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Es=new wo(Do),bu=Es;function gm(e,t=Es){return M((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(C(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}var At=new N(e=>e.complete());function Co(e){return e<=0?()=>At:M((t,n)=>{let r=0;t.subscribe(C(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function mm(e,t=Z){return e=e??ym,M((n,r)=>{let o,i=!0;n.subscribe(C(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function ym(e,t){return e===t}function Tu(e){return M((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function _u(e,t){return M((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(C(r,c=>{o?.unsubscribe();let l=0,u=i++;P(e(c,u)).subscribe(o=C(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Mu(e){return M((t,n)=>{P(e).subscribe(C(n,()=>n.complete(),zn)),!n.closed&&t.subscribe(n)})}function Ds(){return M((e,t)=>{let n=null;e._refCount++;let r=C(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var ws=class extends N{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,ys(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new B;let n=this.getSubject();t.add(this.source.subscribe(C(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=B.EMPTY)}return t}refCount(){return Ds()(this)}};var Yn=class extends de{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Kn=class extends de{constructor(t=1/0,n=1/0,r=Zn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};function vm(e,t){let n=T(e)?e:()=>e,r=o=>o.error(n());return new N(t?o=>t.schedule(r,0,o):r)}function Im(e){return!!e&&(e instanceof N||T(e.lift)&&T(e.subscribe))}var Ot=an(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Nu(e){return e instanceof Date&&!isNaN(e)}var{isArray:Em}=Array;function Dm(e,t){return Em(t)?e(...t):e(t)}function bo(e){return ot(t=>Dm(e,t))}var{isArray:wm}=Array,{getPrototypeOf:Cm,prototype:bm,keys:Tm}=Object;function To(e){if(e.length===1){let t=e[0];if(wm(t))return{args:t,keys:null};if(_m(t)){let n=Tm(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function _m(e){return e&&typeof e=="object"&&Cm(e)===bm}function _o(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Mm(...e){let t=nt(e),n=dn(e),{args:r,keys:o}=To(e);if(r.length===0)return rt([],t);let i=new N(Nm(r,t,o?s=>_o(o,s):Z));return n?i.pipe(bo(n)):i}function Nm(e,t,n=Z){return r=>{xu(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)xu(t,()=>{let l=rt(e[c],t),u=!1;l.subscribe(C(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function xu(e,t,n){e?oe(n,e,t):t()}function Su(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=g=>l<r?h(g):c.push(g),h=g=>{i&&t.next(g),l++;let I=!1;P(n(g,u++)).subscribe(C(t,m=>{o?.(m),i?f(m):t.next(m)},()=>{I=!0},void 0,()=>{if(I)try{for(l--;c.length&&l<r;){let m=c.shift();s?oe(t,s,()=>h(m)):h(m)}p()}catch(m){t.error(m)}}))};return e.subscribe(C(t,f,()=>{d=!0,p()})),()=>{a?.()}}function kt(e,t,n=1/0){return T(t)?kt((r,o)=>ot((i,s)=>t(r,i,o,s))(P(e(r,o))),n):(typeof t=="number"&&(n=t),M((r,o)=>Su(r,o,e,n)))}function Cs(e=1/0){return kt(Z,e)}function Ru(){return Cs(1)}function Mo(...e){return Ru()(rt(e,nt(e)))}function xm(e){return new N(t=>{P(e()).subscribe(t)})}function Sm(...e){let t=dn(e),{args:n,keys:r}=To(e),o=new N(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;P(n[u]).subscribe(C(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?_o(r,a):a),i.complete())}))}});return t?o.pipe(bo(t)):o}function bs(e=0,t,n=bu){let r=-1;return t!=null&&(so(t)?n=t:r=t),new N(o=>{let i=Nu(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}var{isArray:Rm}=Array;function Au(e){return e.length===1&&Rm(e[0])?e[0]:e}function Jn(e,t){return M((n,r)=>{let o=0;n.subscribe(C(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Am(...e){let t=dn(e),n=Au(e);return n.length?new N(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)P(n[s]).subscribe(C(r,a=>{if(o[s].push(a),o.every(c=>c.length)){let c=o.map(l=>l.shift());r.next(t?t(...c):c),o.some((l,u)=>!l.length&&i[u])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):At}function Ou(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(C(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Om(e,t){return T(t)?kt(e,t,1):kt(e,1)}function Xn(e){return M((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function No(e=km){return M((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function km(){return new Ot}function Pm(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Jn((o,i)=>e(o,i,r)):Z,Co(1),n?Xn(t):No(()=>new Ot))}function Ts(e){return e<=0?()=>At:M((t,n)=>{let r=[];t.subscribe(C(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Lm(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Jn((o,i)=>e(o,i,r)):Z,Ts(1),n?Xn(t):No(()=>new Ot))}function Fm(e=1/0){let t;e&&typeof e=="object"?t=e:t={count:e};let{count:n=1/0,delay:r,resetOnSuccess:o=!1}=t;return n<=0?Z:M((i,s)=>{let a=0,c,l=()=>{let u=!1;c=i.subscribe(C(s,d=>{o&&(a=0),s.next(d)},void 0,d=>{if(a++<n){let p=()=>{c?(c.unsubscribe(),c=null,l()):u=!0};if(r!=null){let f=typeof r=="number"?bs(r):P(r(d,a)),h=C(s,()=>{h.unsubscribe(),p()},()=>{s.complete()});f.subscribe(h)}else p()}else s.error(d)})),u&&(c.unsubscribe(),c=null,l())};l()})}function jm(e,t){return M(Ou(e,t,arguments.length>=2,!0))}function ku(e={}){let{connector:t=()=>new de,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let g=s;f(),g?.unsubscribe()};return M((g,I)=>{l++,!d&&!u&&p();let m=c=c??t();I.add(()=>{l--,l===0&&!d&&!u&&(a=_s(h,o))}),m.subscribe(I),!s&&l>0&&(s=new $e({next:L=>m.next(L),error:L=>{d=!0,p(),a=_s(f,n,L),m.error(L)},complete:()=>{u=!0,p(),a=_s(f,r),m.complete()}}),P(g).subscribe(s))})(i)}}function _s(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new $e({next:()=>{r.unsubscribe(),e()}});return P(t(...n)).subscribe(r)}function Vm(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,ku({connector:()=>new Kn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Hm(...e){let t=nt(e);return M((n,r)=>{(t?Mo(e,n,t):Mo(e,n)).subscribe(r)})}function Pu(e,t,n){let r=T(e)||t||n?{next:e,error:t,complete:n}:e;return r?M((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(C(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):Z}function Ms(e,t,n){let r=Object.create(Bm);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(Tt(r),et(r),r.value===He)throw r.error;return r.value};return i[F]=r,Wn(r),i}function Lu(e,t){Tt(e),tt(e,t),on(e)}function Fu(e,t){Tt(e),Xr(e,t),on(e)}var Bm=Q(z({},Me),{value:Xe,dirty:!0,error:null,equal:qn,kind:"linkedSignal",producerMustRecompute(e){return e.value===Xe||e.value===bt},producerRecomputeValue(e){if(e.value===bt)throw new Error("");let t=e.value;e.value=bt;let n=Ne(e),r;try{let o=e.source(),i=t===Xe||t===He?void 0:{source:e.sourceValue,value:t};r=e.computation(o,i),e.sourceValue=o}catch(o){r=He,e.error=o}finally{Be(e,n)}if(t!==Xe&&r!==He&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function ju(e){let t=E(null);try{return e()}finally{E(t)}}var Ns;function xo(){return Ns}function xe(e){let t=Ns;return Ns=e,t}var Vu=Symbol("NotFound");function pn(e){return e===Vu||e?.name==="\u0275NotFound"}var ko="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(t,n){super(gn(t,n)),this.code=t}};function $m(e){return`NG0${Math.abs(e)}`}function gn(e,t){return`${$m(e)}${t?": "+t:""}`}var Ae=globalThis;function k(e){for(let t in e)if(e[t]===k)return t;throw Error("")}function $u(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function qe(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(qe).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
4
- `);return r>=0?n.slice(0,r):n}function Po(e,t){return e?t?`${e} ${t}`:e:t||""}var Um=k({__forward_ref__:k});function Lo(e){return e.__forward_ref__=Lo,e.toString=function(){return qe(this())},e}function Y(e){return Hs(e)?e():e}function Hs(e){return typeof e=="function"&&e.hasOwnProperty(Um)&&e.__forward_ref__===Lo}function Uu(e,t,n){e!=t&&Fo(n,e,t,"==")}function qu(e,t){e==null&&Fo(t,e,null,"!=")}function Fo(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(r==null?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function j(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Wu(e){return{providers:e.providers||[],imports:e.imports||[]}}function ir(e){return Wm(e,jo)}function qm(e){return ir(e)!==null}function Wm(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Gm(e){let t=e?.[jo]??null;return t||null}function Ss(e){return e&&e.hasOwnProperty(Ro)?e[Ro]:null}var jo=k({\u0275prov:k}),Ro=k({\u0275inj:k}),R=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=j({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Bs(e){return e&&!!e.\u0275providers}var $s=k({\u0275cmp:k}),Us=k({\u0275dir:k}),qs=k({\u0275pipe:k}),Ws=k({\u0275mod:k}),nr=k({\u0275fac:k}),Vt=k({__NG_ELEMENT_ID__:k}),Hu=k({__NG_ENV_ID__:k});function le(e){return typeof e=="string"?e:e==null?"":String(e)}function Ao(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():le(e)}var Gs=k({ngErrorCode:k}),Gu=k({ngErrorMessage:k}),tr=k({ngTokenPath:k});function zs(e,t){return zu("",-200,t)}function Vo(e,t){throw new b(-201,!1)}function zm(e,t){e[tr]??=[];let n=e[tr],r;typeof t=="object"&&"multi"in t&&t?.multi===!0?(qu(t.provide,"Token with multi: true should have a provide property"),r=Ao(t.provide)):r=Ao(t),n[0]!==r&&e[tr].unshift(r)}function Qm(e,t){let n=e[tr],r=e[Gs],o=e[Gu]||e.message;return e.message=Ym(o,r,n,t),e}function zu(e,t,n){let r=new b(t,e);return r[Gs]=t,r[Gu]=e,n&&(r[tr]=n),r}function Zm(e){return e[Gs]}function Ym(e,t,n=[],r=null){let o="";n&&n.length>1&&(o=` Path: ${n.join(" -> ")}.`);let i=r?` Source: ${r}.`:"";return gn(t,`${e}${i}${o}`)}var Rs;function Qu(){return Rs}function ne(e){let t=Rs;return Rs=e,t}function Qs(e,t,n){let r=ir(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;Vo(e,"Injector")}var Km={},Pt=Km,As="__NG_DI_FLAG__",Os=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Lt(n)||0;try{return this.injector.get(t,r&8?null:Pt,r)}catch(o){if(pn(o))return o;throw o}}};function Jm(e,t=0){let n=xo();if(n===void 0)throw new b(-203,!1);if(n===null)return Qs(e,void 0,t);{let r=Xm(t),o=n.retrieve(e,r);if(pn(o)){if(r.optional)return null;throw o}return o}}function Se(e,t=0){return(Qu()||Jm)(Y(e),t)}function w(e,t){return Se(e,Lt(t))}function Lt(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Xm(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function ks(e){let t=[];for(let n=0;n<e.length;n++){let r=Y(e[n]);if(Array.isArray(r)){if(r.length===0)throw new b(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=ey(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(Se(o,i))}else t.push(Se(r))}return t}function Zs(e,t){return e[As]=t,e.prototype[As]=t,e}function ey(e){return e[As]}function it(e,t){let n=e.hasOwnProperty(nr);return n?e[nr]:null}function Zu(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function Yu(e){return e.flat(Number.POSITIVE_INFINITY)}function Ho(e,t){e.forEach(n=>Array.isArray(n)?Ho(n,t):t(n))}function Ys(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function sr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ku(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Ju(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function ar(e,t,n){let r=mn(e,t);return r>=0?e[r|1]=n:(r=~r,Ju(e,r,t,n)),r}function Bo(e,t){let n=mn(e,t);if(n>=0)return e[n|1]}function mn(e,t){return ty(e,t,1)}function ty(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var at={},K=[],Ht=new R(""),Ks=new R("",-1),Js=new R(""),rr=class{get(t,n=Pt){if(n===Pt){let o=zu("",-201);throw o.name="\u0275NotFound",o}return n}};function Xs(e){return e[Ws]||null}function Ie(e){return e[$s]||null}function $o(e){return e[Us]||null}function ea(e){return e[qs]||null}function ta(e){return{\u0275providers:e}}function Xu(...e){return{\u0275providers:Uo(!0,e),\u0275fromNgModule:!0}}function Uo(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ho(t,s=>{let a=s;Oo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&ed(o,i),n}function ed(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];na(o,i=>{t(i,r)})}}function Oo(e,t,n,r){if(e=Y(e),!e)return!1;let o=null,i=Ss(e),s=!i&&Ie(e);if(!i&&!s){let c=e.ngModule;if(i=Ss(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Oo(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{Ho(i.imports,u=>{Oo(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&ed(l,t)}if(!a){let l=it(o)||(()=>new o);t({provide:o,useFactory:l,deps:K},o),t({provide:Js,useValue:o,multi:!0},o),t({provide:Ht,useValue:()=>Se(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;na(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function na(e,t){for(let n of e)Bs(n)&&(n=n.\u0275providers),Array.isArray(n)?na(n,t):t(n)}var ny=k({provide:String,useValue:k});function td(e){return e!==null&&typeof e=="object"&&ny in e}function ry(e){return!!(e&&e.useExisting)}function oy(e){return!!(e&&e.useFactory)}function Ft(e){return typeof e=="function"}function nd(e){return!!e.useClass}var ra=new R(""),So={},Bu={},xs;function yn(){return xs===void 0&&(xs=new rr),xs}var ce=class{},jt=class extends ce{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Ls(t,s=>this.processProvider(s)),this.records.set(Ks,hn(void 0,this)),o.has("environment")&&this.records.set(ce,hn(void 0,this));let i=this.records.get(ra);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Js,K,{self:!0}))}retrieve(t,n){let r=Lt(n)||0;try{return this.get(t,Pt,r)}catch(o){if(pn(o))return o;throw o}}destroy(){er(this),this._destroyed=!0;let t=E(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),E(t)}}onDestroy(t){return er(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){er(this);let n=xe(this),r=ne(void 0),o;try{return t()}finally{xe(n),ne(r)}}get(t,n=Pt,r){if(er(this),t.hasOwnProperty(Hu))return t[Hu](this);let o=Lt(r),i,s=xe(this),a=ne(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=ly(t)&&ir(t);u&&this.injectableDefInScope(u)?l=hn(Ps(t),So):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?yn():this.parent;return n=o&8&&n===Pt?null:n,c.get(t,n)}catch(c){let l=Zm(c);throw l===-200||l===-201?new b(l,null):c}finally{ne(a),xe(s)}}resolveInjectorInitializers(){let t=E(null),n=xe(this),r=ne(void 0),o;try{let i=this.get(Ht,K,{self:!0});for(let s of i)s()}finally{xe(n),ne(r),E(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(qe(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Y(t);let n=Ft(t)?t:Y(t&&t.provide),r=sy(t);if(!Ft(t)&&t.multi===!0){let o=this.records.get(n);o||(o=hn(void 0,So,!0),o.factory=()=>ks(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=E(null);try{if(n.value===Bu)throw zs(qe(t));return n.value===So&&(n.value=Bu,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&cy(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{E(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Y(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Ps(e){let t=ir(e),n=t!==null?t.factory:it(e);if(n!==null)return n;if(e instanceof R)throw new b(204,!1);if(e instanceof Function)return iy(e);throw new b(204,!1)}function iy(e){if(e.length>0)throw new b(204,!1);let n=Gm(e);return n!==null?()=>n.factory(e):()=>new e}function sy(e){if(td(e))return hn(void 0,e.useValue);{let t=oa(e);return hn(t,So)}}function oa(e,t,n){let r;if(Ft(e)){let o=Y(e);return it(o)||Ps(o)}else if(td(e))r=()=>Y(e.useValue);else if(oy(e))r=()=>e.useFactory(...ks(e.deps||[]));else if(ry(e))r=(o,i)=>Se(Y(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=Y(e&&(e.useClass||e.provide));if(ay(e))r=()=>new o(...ks(e.deps));else return it(o)||Ps(o)}return r}function er(e){if(e.destroyed)throw new b(205,!1)}function hn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ay(e){return!!e.deps}function cy(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function ly(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Ls(e,t){for(let n of e)Array.isArray(n)?Ls(n,t):n&&Bs(n)?Ls(n.\u0275providers,t):t(n)}function qo(e,t){let n;e instanceof jt?(er(e),n=e):n=new Os(e);let r,o=xe(n),i=ne(void 0);try{return t()}finally{xe(o),ne(i)}}function ia(){return Qu()!==void 0||xo()!=null}function uy(e){if(!ia())throw new b(-203,!1)}var Ee=0,v=1,D=2,$=3,pe=4,X=5,Bt=6,vn=7,V=8,he=9,Oe=10,x=11,In=12,sa=13,$t=14,ee=15,ct=16,Ut=17,ke=18,cr=19,aa=20,Ue=21,Wo=22,We=23,ue=24,qt=25,S=26,rd=1,lt=6,ut=7,lr=8,Wt=9,W=10;function Pe(e){return Array.isArray(e)&&typeof e[rd]=="object"}function De(e){return Array.isArray(e)&&e[rd]===!0}function ca(e){return(e.flags&4)!==0}function dt(e){return e.componentOffset>-1}function En(e){return(e.flags&1)===1}function Le(e){return!!e.template}function Dn(e){return(e[D]&512)!==0}function ft(e){return(e[D]&256)===256}var la="svg",od="math";function ie(e){for(;Array.isArray(e);)e=e[Ee];return e}function ur(e,t){return ie(t[e])}function we(e,t){return ie(t[e.index])}function Gt(e,t){return e.data[t]}function wn(e,t){return e[t]}function dr(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function ge(e,t){let n=t[e];return Pe(n)?n:n[Ee]}function id(e){return(e[D]&4)===4}function Go(e){return(e[D]&128)===128}function sd(e){return De(e[$])}function se(e,t){return t==null?null:e[t]}function ua(e){e[Ut]=0}function da(e){e[D]&1024||(e[D]|=1024,Go(e)&&pt(e))}function ad(e,t){for(;e>0;)t=t[$t],e--;return t}function fr(e){return!!(e[D]&9216||e[ue]?.dirty)}function zo(e){e[Oe].changeDetectionScheduler?.notify(8),e[D]&64&&(e[D]|=1024),fr(e)&&pt(e)}function pt(e){e[Oe].changeDetectionScheduler?.notify(0);let t=st(e);for(;t!==null&&!(t[D]&8192||(t[D]|=8192,!Go(t)));)t=st(t)}function Qo(e,t){if(ft(e))throw new b(911,!1);e[Ue]===null&&(e[Ue]=[]),e[Ue].push(t)}function fa(e,t){if(e[Ue]===null)return;let n=e[Ue].indexOf(t);n!==-1&&e[Ue].splice(n,1)}function st(e){let t=e[$];return De(t)?t[$]:t}function pa(e){return e[vn]??=[]}function ha(e){return e.cleanup??=[]}function cd(e,t,n,r){let o=pa(t);o.push(n),e.firstCreatePass&&ha(e).push(r,o.length-1)}var _={lFrame:Id(null),bindingsEnabled:!0,skipHydrationRootTNode:null},pr=function(e){return e[e.Off=0]="Off",e[e.Exhaustive=1]="Exhaustive",e[e.OnlyDirtyViews=2]="OnlyDirtyViews",e}(pr||{}),dy=0,Fs=!1;function ld(){return _.lFrame.elementDepthCount}function ud(){_.lFrame.elementDepthCount++}function ga(){_.lFrame.elementDepthCount--}function Zo(){return _.bindingsEnabled}function ma(){return _.skipHydrationRootTNode!==null}function ya(e){return _.skipHydrationRootTNode===e}function va(){_.skipHydrationRootTNode=null}function y(){return _.lFrame.lView}function A(){return _.lFrame.tView}function dd(e){return _.lFrame.contextLView=e,e[V]}function fd(e){return _.lFrame.contextLView=null,e}function U(){let e=Ia();for(;e!==null&&e.type===64;)e=e.parent;return e}function Ia(){return _.lFrame.currentTNode}function Cn(){let e=_.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Fe(e,t){let n=_.lFrame;n.currentTNode=e,n.isParent=t}function Ea(){return _.lFrame.isParent}function Da(){_.lFrame.isParent=!1}function wa(){return _.lFrame.contextLView}function Ca(e){Fo("Must never be called in production mode"),dy=e}function ba(){return Fs}function bn(e){let t=Fs;return Fs=e,t}function ht(){let e=_.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Yo(){return _.lFrame.bindingIndex}function pd(e){return _.lFrame.bindingIndex=e}function Ce(){return _.lFrame.bindingIndex++}function hr(e){let t=_.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function hd(){return _.lFrame.inI18n}function Ta(e){_.lFrame.inI18n=e}function gd(e,t){let n=_.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ko(t)}function md(){return _.lFrame.currentDirectiveIndex}function Ko(e){_.lFrame.currentDirectiveIndex=e}function yd(e){let t=_.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Jo(){return _.lFrame.currentQueryIndex}function gr(e){_.lFrame.currentQueryIndex=e}function fy(e){let t=e[v];return t.type===2?t.declTNode:t.type===1?e[X]:null}function _a(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=fy(i),o===null||(i=i[$t],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=_.lFrame=vd();return r.currentTNode=t,r.lView=e,!0}function Xo(e){let t=vd(),n=e[v];_.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function vd(){let e=_.lFrame,t=e===null?null:e.child;return t===null?Id(e):t}function Id(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Ed(){let e=_.lFrame;return _.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ma=Ed;function ei(){let e=Ed();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Dd(e){return(_.lFrame.contextLView=ad(e,_.lFrame.contextLView))[V]}function me(){return _.lFrame.selectedIndex}function gt(e){_.lFrame.selectedIndex=e}function Tn(){let e=_.lFrame;return Gt(e.tView,e.selectedIndex)}function wd(){_.lFrame.currentNamespace=la}function Cd(){py()}function py(){_.lFrame.currentNamespace=null}function bd(){return _.lFrame.currentNamespace}var Td=!0;function mr(){return Td}function _n(e){Td=e}function js(e,t=null,n=null,r){let o=Na(e,t,n,r);return o.resolveInjectorInitializers(),o}function Na(e,t=null,n=null,r,o=new Set){let i=[n||K,Xu(e)];return r=r||(typeof e=="object"?void 0:qe(e)),new jt(i,t||yn(),r||null,o)}var ve=class e{static THROW_IF_NOT_FOUND=Pt;static NULL=new rr;static create(t,n){if(Array.isArray(t))return js({name:""},n,t,"");{let r=t.name??"";return js({name:r},t.parent,t.providers,r)}}static \u0275prov=j({token:e,providedIn:"any",factory:()=>Se(Ks)});static __NG_ELEMENT_ID__=-1},hy=new R(""),Ge=(()=>{class e{static __NG_ELEMENT_ID__=gy;static __NG_ENV_ID__=n=>n}return e})(),or=class extends Ge{_lView;constructor(t){super(),this._lView=t}get destroyed(){return ft(this._lView)}onDestroy(t){let n=this._lView;return Qo(n,t),()=>fa(n,t)}};function gy(){return new or(y())}var Re=class{_console=console;handleError(t){this._console.error("ERROR",t)}},ze=new R("",{providedIn:"root",factory:()=>{let e=w(ce),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(Re),t.handleError(n))}}}),_d={provide:Ht,useValue:()=>void w(Re),multi:!0};function xa(e){return typeof e=="function"&&e[F]!==void 0}function mt(e,t){let[n,r,o]=us(e,t?.equal),i=n,s=i[F];return i.set=r,i.update=o,i.asReadonly=Mn.bind(i),i}function Mn(){let e=this[F];if(e.readonlyFn===void 0){let t=()=>this();t[F]=e,e.readonlyFn=t}return e.readonlyFn}function Sa(e){return xa(e)&&typeof e.set=="function"}var fe=class{},yr=new R("",{providedIn:"root",factory:()=>!1});var Ra=new R(""),ti=new R("");var Nn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=my}return e})();function my(){return new Nn(y(),U())}var yt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Yn(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new N(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=j({token:e,providedIn:"root",factory:()=>new e})}return e})(),vr=(()=>{class e{internalPendingTasks=w(yt);scheduler=w(fe);errorHandler=w(ze);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=j({token:e,providedIn:"root",factory:()=>new e})}return e})();function zt(...e){}var Ir=(()=>{class e{static \u0275prov=j({token:e,providedIn:"root",factory:()=>new Vs})}return e})(),Vs=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};function jn(e){return{toString:e}.toString()}var ni="__parameters__";function Cy(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function mf(e,t,n){return jn(()=>{let r=Cy(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(ni)?c[ni]:Object.defineProperty(c,ni,{value:[]})[ni];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var kc=Zs(mf("Optional"),8);var Pc=Zs(mf("SkipSelf"),4);function by(e){return typeof e=="function"}var gi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function yf(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Ty=(()=>{let e=()=>vf;return e.ngInherit=!0,e})();function vf(e){return e.type.prototype.ngOnChanges&&(e.setInput=My),_y}function _y(){let e=Ef(this),t=e?.current;if(t){let n=e.previous;if(n===at)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function My(e,t,n,r,o){let i=this.declaredInputs[r],s=Ef(e)||Ny(e,{previous:at,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new gi(l&&l.currentValue,n,c===at),yf(e,t,o,n)}var If="__ngSimpleChanges__";function Ef(e){return e[If]||null}function Ny(e,t){return e[If]=t}var Md=[];var O=function(e,t=null,n){for(let r=0;r<Md.length;r++){let o=Md[r];o(e,t,n)}};function xy(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=vf(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Df(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function ai(e,t,n){wf(e,t,3,n)}function ci(e,t,n,r){(e[D]&3)===n&&wf(e,t,n,r)}function Aa(e,t){let n=e[D];(n&3)===t&&(n&=16383,n+=1,e[D]=n)}function wf(e,t,n,r){let o=r!==void 0?e[Ut]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[Ut]+=65536),(a<i||i==-1)&&(Sy(e,n,t,c),e[Ut]=(e[Ut]&4294901760)+c+2),c++}function Nd(e,t){O(4,e,t);let n=E(null);try{t.call(e)}finally{E(n),O(5,e,t)}}function Sy(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[D]>>14<e[Ut]>>16&&(e[D]&3)===t&&(e[D]+=16384,Nd(a,i)):Nd(a,i)}var Sn=-1,Yt=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function Ry(e){return(e.flags&8)!==0}function Ay(e){return(e.flags&16)!==0}function Oy(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];ky(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Cf(e){return e===3||e===4||e===6}function ky(e){return e.charCodeAt(0)===64}function An(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?xd(e,n,o,null,t[++r]):xd(e,n,o,null,null))}}return e}function xd(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function bf(e){return e!==Sn}function mi(e){return e&32767}function Py(e){return e>>16}function yi(e,t){let n=Py(e),r=t;for(;n>0;)r=r[$t],n--;return r}var Wa=!0;function vi(e){let t=Wa;return Wa=e,t}var Ly=256,Tf=Ly-1,_f=5,Fy=0,je={};function jy(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Vt)&&(r=n[Vt]),r==null&&(r=n[Vt]=Fy++);let o=r&Tf,i=1<<o;t.data[e+(o>>_f)]|=i}function Ii(e,t){let n=Mf(e,t);if(n!==-1)return n;let r=t[v];r.firstCreatePass&&(e.injectorIndex=t.length,Oa(r.data,e),Oa(t,null),Oa(r.blueprint,null));let o=Lc(e,t),i=e.injectorIndex;if(bf(o)){let s=mi(o),a=yi(o,t),c=a[v].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Oa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Mf(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Lc(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Af(o),r===null)return Sn;if(n++,o=o[$t],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Sn}function Ga(e,t,n){jy(e,t,n)}function Vy(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(Cf(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function Nf(e,t,n){if(n&8||e!==void 0)return e;Vo(t,"NodeInjector")}function xf(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[he],i=ne(void 0);try{return o?o.get(t,r,n&8):Qs(t,r,n&8)}finally{ne(i)}}return Nf(r,t,n)}function Sf(e,t,n,r=0,o){if(e!==null){if(t[D]&2048&&!(r&2)){let s=qy(e,t,n,r,je);if(s!==je)return s}let i=Rf(e,t,n,r,je);if(i!==je)return i}return xf(t,n,r,o)}function Rf(e,t,n,r,o){let i=By(n);if(typeof i=="function"){if(!_a(t,e,r))return r&1?Nf(o,n,r):xf(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Vo(n);else return s}finally{Ma()}}else if(typeof i=="number"){let s=null,a=Mf(e,t),c=Sn,l=r&1?t[ee][X]:null;for((a===-1||r&4)&&(c=a===-1?Lc(e,t):t[a+8],c===Sn||!Rd(r,!1)?a=-1:(s=t[v],a=mi(c),t=yi(c,t)));a!==-1;){let u=t[v];if(Sd(i,a,u.data)){let d=Hy(a,t,n,s,r,l);if(d!==je)return d}c=t[a+8],c!==Sn&&Rd(r,t[v].data[a+8]===l)&&Sd(i,a,t)?(s=u,a=mi(c),t=yi(c,t)):a=-1}}return o}function Hy(e,t,n,r,o,i){let s=t[v],a=s.data[e+8],c=r==null?dt(a)&&Wa:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=li(a,s,n,c,l);return u!==null?_r(t,s,u,a,o):je}function li(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&Le(f)&&f.type===n)return c}return null}function _r(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Yt){let a=i;if(a.resolving){let f=Ao(s[n]);throw zs(f)}let c=vi(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?ne(a.injectImpl):null,p=_a(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&xy(n,s[n],t)}finally{d!==null&&ne(d),vi(c),a.resolving=!1,Ma()}}return i}function By(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Vt)?e[Vt]:void 0;return typeof t=="number"?t>=0?t&Tf:$y:t}function Sd(e,t,n){let r=1<<e;return!!(n[t+(e>>_f)]&r)}function Rd(e,t){return!(e&2)&&!(e&1&&t)}var Zt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Sf(this._tNode,this._lView,t,Lt(r),n)}};function $y(){return new Zt(U(),y())}function Uy(e){return jn(()=>{let t=e.prototype.constructor,n=t[nr]||za(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[nr]||za(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function za(e){return Hs(e)?()=>{let t=za(Y(e));return t&&t()}:it(e)}function qy(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[D]&2048&&!Dn(s);){let a=Rf(i,s,n,r|2,je);if(a!==je)return a;let c=i.parent;if(!c){let l=s[aa];if(l){let u=l.get(n,je,r);if(u!==je)return u}c=Af(s),s=s[$t]}i=c}return o}function Af(e){let t=e[v],n=t.type;return n===2?t.declTNode:n===1?e[X]:null}function Of(e){return Vy(U(),e)}function Wy(){return Vn(U(),y())}function Vn(e,t){return new Fr(we(e,t))}var Fr=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Wy}return e})();function kf(e){return e instanceof Fr?e.nativeElement:e}function Gy(){return this._results[Symbol.iterator]()}var Ei=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new de}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Yu(t);(this._changesDetected=!Zu(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Gy};function Pf(e){return(e.flags&128)===128}var Fc=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Fc||{}),Lf=new Map,zy=0;function Qy(){return zy++}function Zy(e){Lf.set(e[cr],e)}function Qa(e){Lf.delete(e[cr])}var Ad="__ngContext__";function It(e,t){Pe(t)?(e[Ad]=t[cr],Zy(t)):e[Ad]=t}function Ff(e){return Vf(e[In])}function jf(e){return Vf(e[pe])}function Vf(e){for(;e!==null&&!De(e);)e=e[pe];return e}var Za;function Yy(e){Za=e}function Li(){if(Za!==void 0)return Za;if(typeof document<"u")return document;throw new b(210,!1)}var Ky=new R("",{providedIn:"root",factory:()=>Jy}),Jy="ng",Hf=new R(""),Xy=new R("",{providedIn:"platform",factory:()=>"unknown"});var ev=new R("",{providedIn:"root",factory:()=>Li().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Bf={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},tv=new R("",{providedIn:"root",factory:()=>Bf});var nv="h",rv="b";var $f="r";var jc="di",Vc="s";var Uf=!1,qf=new R("",{providedIn:"root",factory:()=>Uf});var Wf=new R("");var ov=(e,t,n,r)=>{};function iv(e,t,n,r){ov(e,t,n,r)}var Gf=new R("");function Fi(e){return(e.flags&32)===32}var sv=()=>null;function zf(e,t,n=!1){return sv(e,t,n)}function Qf(e){return e.get(Wf,!1,{optional:!0})}function Zf(e,t){let n=e.contentQueries;if(n!==null){let r=E(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];gr(i),a.contentQueries(2,t[s],s)}}}finally{E(r)}}}function Ya(e,t,n){gr(0);let r=E(null);try{t(e,n)}finally{E(r)}}function Hc(e,t,n){if(ca(t)){let r=E(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{E(r)}}}var On=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(On||{}),ri;function av(){if(ri===void 0&&(ri=null,Ae.trustedTypes))try{ri=Ae.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ri}function ji(e){return av()?.createHTML(e)||e}var oi;function Yf(){if(oi===void 0&&(oi=null,Ae.trustedTypes))try{oi=Ae.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return oi}function Od(e){return Yf()?.createHTML(e)||e}function kd(e){return Yf()?.createScriptURL(e)||e}var Ye=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ko})`}},Ka=class extends Ye{getTypeName(){return"HTML"}},Ja=class extends Ye{getTypeName(){return"Style"}},Xa=class extends Ye{getTypeName(){return"Script"}},ec=class extends Ye{getTypeName(){return"URL"}},tc=class extends Ye{getTypeName(){return"ResourceURL"}};function tn(e){return e instanceof Ye?e.changingThisBreaksApplicationSecurity:e}function Vi(e,t){let n=Kf(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${ko})`)}return n===t}function Kf(e){return e instanceof Ye&&e.getTypeName()||null}function cv(e){return new Ka(e)}function lv(e){return new Ja(e)}function uv(e){return new Xa(e)}function dv(e){return new ec(e)}function fv(e){return new tc(e)}function Jf(e){let t=new rc(e);return pv()?new nc(t):t}var nc=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(ji(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},rc=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=ji(t),n}};function pv(){try{return!!new window.DOMParser().parseFromString(ji(""),"text/html")}catch{return!1}}var hv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Hi(e){return e=String(e),e.match(hv)?e:"unsafe:"+e}function Ke(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function jr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Xf=Ke("area,br,col,hr,img,wbr"),ep=Ke("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),tp=Ke("rp,rt"),gv=jr(tp,ep),mv=jr(ep,Ke("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")),yv=jr(tp,Ke("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")),oc=jr(Xf,mv,yv,gv),Bc=Ke("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),vv=Ke("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"),Iv=Ke("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"),np=jr(Bc,vv,Iv),Ev=Ke("script,style,template"),ic=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=Cv(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=wv(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Pd(t).toLowerCase();if(!oc.hasOwnProperty(n))return this.sanitizedSomething=!0,!Ev.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!np.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Bc[a]&&(c=Hi(c)),this.buf.push(" ",s,'="',Ld(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Pd(t).toLowerCase();oc.hasOwnProperty(n)&&!Xf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Ld(t))}};function Dv(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function wv(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw rp(t);return t}function Cv(e){let t=e.firstChild;if(t&&Dv(e,t))throw rp(t);return t}function Pd(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function rp(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var bv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Tv=/([^\#-~ |!])/g;function Ld(e){return e.replace(/&/g,"&amp;").replace(bv,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Tv,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var ii;function op(e,t){let n=null;try{ii=ii||Jf(e);let r=t?String(t):"";n=ii.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=ii.getInertBodyElement(r)}while(r!==i);let a=new ic().sanitizeChildren(sc(n)||n);return ji(a)}finally{if(n){let r=sc(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function sc(e){return"content"in e&&_v(e)?e.content:null}function _v(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Vr=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Vr||{});function Mv(e){let t=$c();return t?Od(t.sanitize(Vr.HTML,e)||""):Vi(e,"HTML")?Od(tn(e)):op(Li(),le(e))}function ip(e){let t=$c();return t?t.sanitize(Vr.URL,e)||"":Vi(e,"URL")?tn(e):Hi(le(e))}function sp(e){let t=$c();if(t)return kd(t.sanitize(Vr.RESOURCE_URL,e)||"");if(Vi(e,"ResourceURL"))return kd(tn(e));throw new b(904,!1)}function Nv(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?sp:ip}function xv(e,t,n){return Nv(t,n)(e)}function $c(){let e=y();return e&&e[Oe].sanitizer}var Sv=/^>|^->|<!--|-->|--!>|<!-$/g,Rv=/(<|>)/g,Av="\u200B$1\u200B";function Ov(e){return e.replace(Sv,t=>t.replace(Rv,Av))}function kv(e){return e.ownerDocument.defaultView}function ap(e){return e instanceof Function?e():e}function Pv(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var cp="ng-template";function Lv(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Pv(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Uc(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Uc(e){return e.type===4&&e.value!==cp}function Fv(e,t,n){let r=e.type===4&&!n?cp:e.value;return t===r}function jv(e,t,n){let r=4,o=e.attrs,i=o!==null?Bv(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!be(r)&&!be(c))return!1;if(s&&be(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Fv(e,c,n)||c===""&&t.length===1){if(be(r))return!1;s=!0}}else if(r&8){if(o===null||!Lv(e,o,c,n)){if(be(r))return!1;s=!0}}else{let l=t[++a],u=Vv(c,o,Uc(e),n);if(u===-1){if(be(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(be(r))return!1;s=!0}}}}return be(r)||s}function be(e){return(e&1)===0}function Vv(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return $v(t,e)}function lp(e,t,n=!1){for(let r=0;r<t.length;r++)if(jv(e,t[r],n))return!0;return!1}function Hv(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Bv(e){for(let t=0;t<e.length;t++){let n=e[t];if(Cf(n))return t}return e.length}function $v(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function Uv(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function Fd(e,t){return e?":not("+t.trim()+")":t}function qv(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!be(s)&&(t+=Fd(i,o),o=""),r=s,i=i||!be(r);n++}return o!==""&&(t+=Fd(i,o)),t}function Wv(e){return e.map(qv).join(",")}function Gv(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!be(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var G={};function up(e,t){return e.createText(t)}function dp(e,t,n){e.setValue(t,n)}function fp(e,t){return e.createComment(Ov(t))}function qc(e,t,n){return e.createElement(t,n)}function Kt(e,t,n,r,o){e.insertBefore(t,n,r,o)}function pp(e,t,n){e.appendChild(t,n)}function jd(e,t,n,r,o){r!==null?Kt(e,t,n,r,o):pp(e,t,n)}function Wc(e,t,n){e.removeChild(null,t,n)}function zv(e,t,n){e.setAttribute(t,"style",n)}function Qv(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function hp(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Oy(e,t,r),o!==null&&Qv(e,t,o),i!==null&&zv(e,t,i)}function Gc(e,t,n,r,o,i,s,a,c,l,u){let d=S+r,p=d+o,f=Zv(d,p),h=typeof l=="function"?l():l;return f[v]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function Zv(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:G);return n}function Yv(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Gc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function zc(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[Ee]=o,d[D]=r|4|128|8|64|1024,(l!==null||e&&e[D]&2048)&&(d[D]|=2048),ua(d),d[$]=d[$t]=e,d[V]=n,d[Oe]=s||e&&e[Oe],d[x]=a||e&&e[x],d[he]=c||e&&e[he]||null,d[X]=i,d[cr]=Qy(),d[Bt]=u,d[aa]=l,d[ee]=t.type==2?e[ee]:d,d}function Kv(e,t,n){let r=we(t,e),o=Yv(n),i=e[Oe].rendererFactory,s=Qc(e,zc(e,o,null,gp(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function gp(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Hr(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Qc(e,t){return e[In]?e[sa][pe]=t:e[In]=t,e[sa]=t,t}function Jv(e=1){mp(A(),y(),me()+e,!1)}function mp(e,t,n,r){if(!r)if((t[D]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ai(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ci(t,i,0,n)}gt(n)}var Bi=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Bi||{});function ac(e,t,n,r){let o=E(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Bi.SignalBased)!==0&&(c=t[i][F]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):yf(t,c,i,r)}finally{E(o)}}var Di=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Di||{}),cc;function Zc(e,t){return cc(e,t)}function Xv(e){cc===void 0&&(cc=e())}function xn(e,t,n,r,o){if(r!=null){let i,s=!1;De(r)?i=r:Pe(r)&&(s=!0,r=r[Ee]);let a=ie(r);e===0&&n!==null?o==null?pp(t,n,a):Kt(t,n,a,o||null,!0):e===1&&n!==null?Kt(t,n,a,o||null,!0):e===2?Wc(t,a,s):e===3&&t.destroyNode(a),i!=null&&sI(t,e,i,n,o)}}function eI(e,t){yp(e,t),t[Ee]=null,t[X]=null}function tI(e,t,n,r,o,i){r[Ee]=o,r[X]=t,Ui(e,r,n,1,o,i)}function yp(e,t){t[Oe].changeDetectionScheduler?.notify(9),Ui(e,t,t[x],2,null,null)}function nI(e){let t=e[In];if(!t)return ka(e[v],e);for(;t;){let n=null;if(Pe(t))n=t[In];else{let r=t[W];r&&(n=r)}if(!n){for(;t&&!t[pe]&&t!==e;)Pe(t)&&ka(t[v],t),t=t[$];t===null&&(t=e),Pe(t)&&ka(t[v],t),n=t&&t[pe]}t=n}}function Yc(e,t){let n=e[Wt],r=n.indexOf(t);n.splice(r,1)}function $i(e,t){if(ft(t))return;let n=t[x];n.destroyNode&&Ui(e,t,n,3,null,null),nI(t)}function ka(e,t){if(ft(t))return;let n=E(null);try{t[D]&=-129,t[D]|=256,t[ue]&&Mt(t[ue]),oI(e,t),rI(e,t),t[v].type===1&&t[x].destroy();let r=t[ct];if(r!==null&&De(t[$])){r!==t[$]&&Yc(r,t);let o=t[ke];o!==null&&o.detachView(e)}Qa(t)}finally{E(n)}}function rI(e,t){let n=e.cleanup,r=t[vn];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[vn]=null);let o=t[Ue];if(o!==null){t[Ue]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[We];if(i!==null){t[We]=null;for(let s of i)s.destroy()}}function oI(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Yt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];O(4,a,c);try{c.call(a)}finally{O(5,a,c)}}else{O(4,o,i);try{i.call(o)}finally{O(5,o,i)}}}}}function vp(e,t,n){return Ip(e,t.parent,n)}function Ip(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Ee];if(dt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===On.None||o===On.Emulated)return null}return we(r,n)}function Ep(e,t,n){return wp(e,t,n)}function Dp(e,t,n){return e.type&40?we(e,n):null}var wp=Dp,lc;function Cp(e,t){wp=e,lc=t}function Kc(e,t,n,r){let o=vp(e,r,t),i=t[x],s=r.parent||t[X],a=Ep(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)jd(i,o,n[c],a,!1);else jd(i,o,n,a,!1);lc!==void 0&&lc(i,r,t,n,o)}function Er(e,t){if(t!==null){let n=t.type;if(n&3)return we(t,e);if(n&4)return uc(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Er(e,r);{let o=e[t.index];return De(o)?uc(-1,o):ie(o)}}else{if(n&128)return Er(e,t.next);if(n&32)return Zc(t,e)()||ie(e[t.index]);{let r=bp(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=st(e[ee]);return Er(o,r)}else return Er(e,t.next)}}}return null}function bp(e,t){if(t!==null){let r=e[ee][X],o=t.projection;return r.projection[o]}return null}function uc(e,t){let n=W+e+1;if(n<t.length){let r=t[n],o=r[v].firstChild;if(o!==null)return Er(r,o)}return t[ut]}function Jc(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&It(ie(a),r),n.flags|=2),!Fi(n))if(c&8)Jc(e,t,n.child,r,o,i,!1),xn(t,e,o,a,i);else if(c&32){let l=Zc(n,r),u;for(;u=l();)xn(t,e,o,u,i);xn(t,e,o,a,i)}else c&16?Tp(e,t,r,n,o,i):xn(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Ui(e,t,n,r,o,i){Jc(n,r,e.firstChild,t,o,i,!1)}function iI(e,t,n){let r=t[x],o=vp(e,n,t),i=n.parent||t[X],s=Ep(i,n,t);Tp(r,0,t,n,o,s)}function Tp(e,t,n,r,o,i){let s=n[ee],c=s[X].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];xn(t,e,o,u,i)}else{let l=c,u=s[$];Pf(r)&&(l.flags|=128),Jc(e,t,l,u,o,i,!0)}}function sI(e,t,n,r,o){let i=n[ut],s=ie(n);i!==s&&xn(t,e,r,i,o);for(let a=W;a<n.length;a++){let c=n[a];Ui(c[v],c,e,t,r,i)}}function aI(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Di.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Di.Important),e.setStyle(n,r,o,i))}}function _p(e,t,n,r,o){let i=me(),s=r&2;try{gt(-1),s&&t.length>S&&mp(e,t,S,!1),O(s?2:0,o,n),n(r,o)}finally{gt(i),O(s?3:1,o,n)}}function qi(e,t,n){pI(e,t,n),(n.flags&64)===64&&hI(e,t,n)}function Br(e,t,n=we){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function cI(e,t,n,r){let i=r.get(qf,Uf)||n===On.ShadowDom,s=e.selectRootElement(t,i);return lI(s),s}function lI(e){uI(e)}var uI=()=>null;function dI(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Xc(e,t,n,r,o,i){let s=t[v];if(il(e,s,t,n,r)){dt(e)&&fI(t,e.index);return}e.type&3&&(n=dI(n)),Mp(e,t,n,r,o,i)}function Mp(e,t,n,r,o,i){if(e.type&3){let s=we(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function fI(e,t){let n=ge(t,e);n[D]&16||(n[D]|=64)}function pI(e,t,n){let r=n.directiveStart,o=n.directiveEnd;dt(n)&&Kv(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Ii(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=_r(t,e,s,n);if(It(c,t),i!==null&&yI(t,s-r,c,a,n,i),Le(a)){let l=ge(n.index,t);l[V]=_r(t,e,s,n)}}}function hI(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=md();try{gt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Ko(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&gI(c,l)}}finally{gt(-1),Ko(s)}}function gI(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function el(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];lp(t,i.selectors,!1)&&(r??=[],Le(i)?r.unshift(i):r.push(i))}return r}function mI(e,t,n,r,o,i){let s=we(e,t);tl(t[x],s,i,e.value,n,r,o)}function tl(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?le(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function yI(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];ac(r,n,c,l)}}function nl(e,t,n,r,o){let i=S+n,s=t[v],a=o(s,t,e,r,n);t[i]=a,Fe(e,!0);let c=e.type===2;return c?(hp(t[x],a,e),(ld()===0||En(e))&&It(a,t),ud()):It(a,t),mr()&&(!c||!Fi(e))&&Kc(s,t,a,e),e}function rl(e){let t=e;return Ea()?Da():(t=t.parent,Fe(t,!1)),t}function ol(e,t){let n=e[he];if(!n)return;n.get(ze,null)?.(t)}function il(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];ac(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];ac(u,l,r,o),a=!0}return a}function vI(e,t){let n=ge(t,e),r=n[v];II(r,n);let o=n[Ee];o!==null&&n[Bt]===null&&(n[Bt]=zf(o,n[he])),O(18),sl(r,n,n[V]),O(19,n[V])}function II(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function sl(e,t,n){Xo(t);try{let r=e.viewQuery;r!==null&&Ya(1,r,n);let o=e.template;o!==null&&_p(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[ke]?.finishViewCreation(e),e.staticContentQueries&&Zf(e,t),e.staticViewQueries&&Ya(2,e.viewQuery,n);let i=e.components;i!==null&&EI(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[D]&=-5,ei()}}function EI(e,t){for(let n=0;n<t.length;n++)vI(e,t[n])}function Hn(e,t,n,r){let o=E(null);try{let i=t.tView,a=e[D]&4096?4096:16,c=zc(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[ct]=l;let u=e[ke];return u!==null&&(c[ke]=u.createEmbeddedView(i)),sl(i,c,n),c}finally{E(o)}}function Jt(e,t){return!t||t.firstChild===null||Pf(e)}var Vd=!1,DI=new R("");function Mr(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(ie(i)),De(i)&&Np(i,r);let s=n.type;if(s&8)Mr(e,t,n.child,r);else if(s&32){let a=Zc(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=bp(t,n);if(Array.isArray(a))r.push(...a);else{let c=st(t[ee]);Mr(c[v],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Np(e,t){for(let n=W;n<e.length;n++){let r=e[n],o=r[v].firstChild;o!==null&&Mr(r[v],r,o,t)}e[ut]!==e[Ee]&&t.push(e[ut])}function xp(e){if(e[qt]!==null){for(let t of e[qt])t.impl.addSequence(t);e[qt].length=0}}var Sp=[];function wI(e){return e[ue]??CI(e)}function CI(e){let t=Sp.pop()??Object.create(TI);return t.lView=e,t}function bI(e){e.lView[ue]!==e&&(e.lView=null,Sp.push(e))}var TI=Q(z({},Me),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{pt(e.lView)},consumerOnSignalRead(){this.lView[ue]=this}});function _I(e){let t=e[ue]??Object.create(MI);return t.lView=e,t}var MI=Q(z({},Me),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=st(e.lView);for(;t&&!Rp(t[v]);)t=st(t);t&&da(t)},consumerOnSignalRead(){this.lView[ue]=this}});function Rp(e){return e.type!==2}function Ap(e){if(e[We]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[We])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[D]&8192)}}var NI=100;function al(e,t=0){let r=e[Oe].rendererFactory,o=!1;o||r.begin?.();try{xI(e,t)}finally{o||r.end?.()}}function xI(e,t){let n=ba();try{bn(!0),dc(e,t);let r=0;for(;fr(e);){if(r===NI)throw new b(103,!1);r++,dc(e,1)}}finally{bn(n)}}function Op(e,t){Ca(t?pr.Exhaustive:pr.OnlyDirtyViews);try{al(e)}finally{Ca(pr.Off)}}function SI(e,t,n,r){if(ft(t))return;let o=t[D],i=!1,s=!1;Xo(t);let a=!0,c=null,l=null;i||(Rp(e)?(l=wI(t),c=Ne(l)):Jr()===null?(a=!1,l=_I(t),c=Ne(l)):t[ue]&&(Mt(t[ue]),t[ue]=null));try{ua(t),pd(e.bindingStartIndex),n!==null&&_p(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&ai(t,f,null)}else{let f=e.preOrderHooks;f!==null&&ci(t,f,0,null),Aa(t,0)}if(s||RI(t),Ap(t),kp(t,0),e.contentQueries!==null&&Zf(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&ai(t,f)}else{let f=e.contentHooks;f!==null&&ci(t,f,1),Aa(t,1)}OI(e,t);let d=e.components;d!==null&&Lp(t,d,0);let p=e.viewQuery;if(p!==null&&Ya(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&ai(t,f)}else{let f=e.viewHooks;f!==null&&ci(t,f,2),Aa(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Wo]){for(let f of t[Wo])f();t[Wo]=null}i||(xp(t),t[D]&=-73)}catch(u){throw i||pt(t),u}finally{l!==null&&(Be(l,c),a&&bI(l)),ei()}}function kp(e,t){for(let n=Ff(e);n!==null;n=jf(n))for(let r=W;r<n.length;r++){let o=n[r];Pp(o,t)}}function RI(e){for(let t=Ff(e);t!==null;t=jf(t)){if(!(t[D]&2))continue;let n=t[Wt];for(let r=0;r<n.length;r++){let o=n[r];da(o)}}}function AI(e,t,n){O(18);let r=ge(t,e);Pp(r,n),O(19,r[V])}function Pp(e,t){Go(e)&&dc(e,t)}function dc(e,t){let r=e[v],o=e[D],i=e[ue],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&_t(i)),s||=!1,i&&(i.dirty=!1),e[D]&=-9217,s)SI(r,e,r.template,e[V]);else if(o&8192){let a=E(null);try{Ap(e),kp(e,1);let c=r.components;c!==null&&Lp(e,c,1),xp(e)}finally{E(a)}}}function Lp(e,t,n){for(let r=0;r<t.length;r++)AI(e,t[r],n)}function OI(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)gt(~o);else{let i=o,s=n[++r],a=n[++r];gd(s,i);let c=t[i];O(24,c),a(2,c),O(25,c)}}}finally{gt(-1)}}function Wi(e,t){let n=ba()?64:1088;for(e[Oe].changeDetectionScheduler?.notify(t);e;){e[D]|=n;let r=st(e);if(Dn(e)&&!r)return e;e=r}return null}function Fp(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function jp(e,t){let n=W+t;if(n<e.length)return e[n]}function Bn(e,t,n,r=!0){let o=t[v];if(kI(o,t,e,n),r){let s=uc(n,e),a=t[x],c=a.parentNode(e[ut]);c!==null&&tI(o,e[X],a,t,c,s)}let i=t[Bt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function cl(e,t){let n=Nr(e,t);return n!==void 0&&$i(n[v],n),n}function Nr(e,t){if(e.length<=W)return;let n=W+t,r=e[n];if(r){let o=r[ct];o!==null&&o!==e&&Yc(o,r),t>0&&(e[n-1][pe]=r[pe]);let i=sr(e,W+t);eI(r[v],r);let s=i[ke];s!==null&&s.detachView(i[v]),r[$]=null,r[pe]=null,r[D]&=-129}return r}function kI(e,t,n,r){let o=W+r,i=n.length;r>0&&(n[o-1][pe]=t),r<i-W?(t[pe]=n[o],Ys(n,W+r,t)):(n.push(t),t[pe]=null),t[$]=n;let s=t[ct];s!==null&&n!==s&&Vp(s,t);let a=t[ke];a!==null&&a.insertView(e),zo(t),t[D]|=128}function Vp(e,t){let n=e[Wt],r=t[$];if(Pe(r))e[D]|=2;else{let o=r[$][ee];t[ee]!==o&&(e[D]|=2)}n===null?e[Wt]=[t]:n.push(t)}var Et=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[v];return Mr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[V]}set context(t){this._lView[V]=t}get destroyed(){return ft(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[$];if(De(t)){let n=t[lr],r=n?n.indexOf(this):-1;r>-1&&(Nr(t,r),sr(n,r))}this._attachedToViewContainer=!1}$i(this._lView[v],this._lView)}onDestroy(t){Qo(this._lView,t)}markForCheck(){Wi(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[D]&=-129}reattach(){zo(this._lView),this._lView[D]|=128}detectChanges(){this._lView[D]|=1024,al(this._lView)}checkNoChanges(){return;try{this.exhaustive??=this._lView[he].get(DI,Vd)}catch{this.exhaustive=Vd}}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Dn(this._lView),n=this._lView[ct];n!==null&&!t&&Yc(n,this._lView),yp(this._lView[v],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=t;let n=Dn(this._lView),r=this._lView[ct];r!==null&&!n&&Vp(r,this._lView),zo(this._lView)}};var xr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=PI;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=Hn(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new Et(i)}}return e})();function PI(){return Gi(U(),y())}function Gi(e,t){return e.type&4?new xr(t,e,Vn(e,t)):null}function Hp(e,t,n){let r=t.insertBeforeIndex,o=Array.isArray(r)?r[0]:r;return o===null?Dp(e,t,n):ie(n[o])}function Bp(e,t,n,r,o){let i=t.insertBeforeIndex;if(Array.isArray(i)){let s=r,a=null;if(t.type&3||(a=s,s=o),s!==null&&t.componentOffset===-1)for(let c=1;c<i.length;c++){let l=n[i[c]];Kt(e,s,l,a,!1)}}}function nn(e,t,n,r,o){let i=e.data[t];if(i===null)i=ll(e,t,n,r,o),hd()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Cn();i.injectorIndex=s===null?-1:s.injectorIndex}return Fe(i,!0),i}function ll(e,t,n,r,o){let i=Ia(),s=Ea(),a=s?i:i&&i.parent,c=e.data[t]=FI(e,a,n,t,r,o);return LI(e,c,i,s),c}function LI(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function FI(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return ma()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function $p(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){let r=e[n];Up(r)||jI(r,t)&&VI(r)===null&&HI(r,t.index)}}function Up(e){return!(e.type&64)}function jI(e,t){return Up(t)||e.index>t.index}function VI(e){let t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function HI(e,t){let n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(Cp(Hp,Bp),e.insertBeforeIndex=t)}function Dr(e,t){let n=e.data[t];return n===null||typeof n=="string"?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function BI(e,t,n){let r=e.data[t];r===null?e.data[t]=n:r.value=n}function $I(e,t){let n=e.insertBeforeIndex;n===null?(Cp(Hp,Bp),n=e.insertBeforeIndex=[null,t]):(Uu(Array.isArray(n),!0,"Expecting array here"),n.push(t))}function UI(e,t,n){let r=ll(e,n,64,null,null);return $p(t,r),r}function zi(e,t){let n=t[e.currentCaseLViewIndex];return n===null?n:n<0?~n:n}function qI(e){return e>>>17}function WI(e){return(e&131070)>>>1}function GI(e,t,n){return e|t<<17|n<<1}function zI(e){return e===-1}function qp(e,t,n){e.index=0;let r=zi(t,n);r!==null?e.removes=t.remove[r]:e.removes=K}function fc(e){if(e.index<e.removes.length){let t=e.removes[e.index++];if(t>0)return e.lView[t];{e.stack.push(e.index,e.removes);let n=~t,r=e.lView[v].data[n];return qp(e,r,e.lView),fc(e)}}else return e.stack.length===0?null:(e.removes=e.stack.pop(),e.index=e.stack.pop(),fc(e))}function QI(){let e={stack:[],index:-1};function t(n,r){for(e.lView=r;e.stack.length;)e.stack.pop();return qp(e,n.value,r),fc.bind(null,e)}return t}var QA=new RegExp(`^(\\d+)*(${rv}|${nv})*(.*)`);var ZI=()=>{};function YI(e,t,n,r){ZI(e,t,n,r)}var KI=()=>{};function JI(e,t,n){KI(e,t,n)}function XI(e){let t=e[lt]??[],r=e[$][x],o=[];for(let i of t)i.data[jc]!==void 0?o.push(i):eE(i,r);e[lt]=o}function eE(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[$f];for(;n<o;){let i=r.nextSibling;Wc(t,r,!1),r=i,n++}}}var tE=()=>null,nE=()=>null;function wi(e,t){return tE(e,t)}function Wp(e,t,n){return nE(e,t,n)}var Gp=class{},Qi=class{},pc=class{resolveComponentFactory(t){throw new b(917,!1)}},$r=class{static NULL=new pc},Sr=class{},rE=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>oE()}return e})();function oE(){let e=y(),t=U(),n=ge(t.index,e);return(Pe(n)?n:e)[x]}var zp=(()=>{class e{static \u0275prov=j({token:e,providedIn:"root",factory:()=>null})}return e})();var ui={},Rn=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,ui,r);return o!==ui||n===ui?o:this.parentInjector.get(t,n,r)}};function Ci(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=Po(o,a);else if(i==2){let c=a,l=t[++s];r=Po(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Ur(e,t=0){let n=y();if(n===null)return Se(e,t);let r=U();return Sf(r,n,Y(e),t)}function Qp(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}aE(e,t,n,a,i,c,l)}i!==null&&r!==null&&iE(n,r,i)}function iE(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new b(-301,!1);r.push(t[o],i)}}function sE(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function aE(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let p=0;p<a;p++){let f=r[p];!c&&Le(f)&&(c=!0,sE(e,n,p)),Ga(Ii(n,t),e,f.type)}pE(n,e.data.length,a);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=Hr(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=An(n.mergedAttrs,f.hostAttrs),lE(e,n,t,d,f),fE(d,f,o),s!==null&&s.has(f)){let[g,I]=s.get(f);n.directiveToIndex.set(f.type,[d,g+n.directiveStart,I+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}cE(e,n,i)}function cE(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Hd(0,t,o,r),Hd(1,t,o,r),$d(t,r,!1);else{let i=n.get(o);Bd(0,t,i,r),Bd(1,t,i,r),$d(t,r,!0)}}}function Hd(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),Zp(t,i)}}function Bd(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Zp(t,s)}}function Zp(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function $d(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Uc(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function lE(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=it(o.type,!0)),s=new Yt(i,Le(o),Ur,null);e.blueprint[r]=s,n[r]=s,uE(e,t,r,Hr(e,n,o.hostVars,G),o)}function uE(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;dE(s)!=a&&s.push(a),s.push(n,r,i)}}function dE(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function fE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Le(t)&&(n[""]=e)}}function pE(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function ul(e,t,n,r,o,i,s,a){let c=t[v],l=c.consts,u=se(l,s),d=nn(c,e,n,r,u);return i&&Qp(c,t,d,se(l,a),o),d.mergedAttrs=An(d.mergedAttrs,d.attrs),d.attrs!==null&&Ci(d,d.attrs,!1),d.mergedAttrs!==null&&Ci(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function dl(e,t){Df(e,t),ca(t)&&e.queries.elementEnd(t)}function hE(e,t,n,r,o,i){let s=t.consts,a=se(s,o),c=nn(t,e,n,r,a);if(c.mergedAttrs=An(c.mergedAttrs,c.attrs),i!=null){let l=se(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&Ci(c,c.attrs,!1),c.mergedAttrs!==null&&Ci(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function fl(e){return Zi(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Yp(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function Zi(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function qr(e,t,n){return e[t]=n}function gE(e,t){return e[t]}function te(e,t,n){if(n===G)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Rr(e,t,n,r){let o=te(e,t,n);return te(e,t+1,r)||o}function Kp(e,t,n,r,o){let i=Rr(e,t,n,r);return te(e,t+2,o)||i}function mE(e,t,n,r,o,i){let s=Rr(e,t,n,r);return Rr(e,t+2,o,i)||s}function di(e,t,n){return function r(o){let i=dt(e)?ge(e.index,t):t;Wi(i,5);let s=t[V],a=Ud(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Ud(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Ud(e,t,n,r){let o=E(null);try{return O(6,t,n),n(r)!==!1}catch(i){return ol(e,i),!1}finally{O(7,t,n),E(o)}}function Jp(e,t,n,r,o,i,s,a){let c=En(e),l=!1,u=null;if(!r&&c&&(u=yE(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=we(e,n),p=r?r(d):d;iv(n,p,i,a);let f=o.listen(p,i,a),h=r?g=>r(ie(g[e.index])):e.index;Xp(h,t,n,i,a,f,!1)}return l}function yE(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[vn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Xp(e,t,n,r,o,i,s){let a=t.firstCreatePass?ha(t):null,c=pa(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function qd(e,t,n,r,o,i){let s=t[n],a=t[v],l=a.data[n].outputs[r],d=s[l].subscribe(i);Xp(e.index,a,t,o,i,d,!0)}var hc=Symbol("BINDING");var bi=class extends $r{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Ie(t);return new Dt(n,this.ngModule)}};function vE(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Bi.SignalBased)!==0};return o&&(i.transform=o),i})}function IE(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function EE(e,t,n){let r=t instanceof ce?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Rn(n,r):n}function DE(e){let t=e.get(Sr,null);if(t===null)throw new b(407,!1);let n=e.get(zp,null),r=e.get(fe,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function wE(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return qc(t,n,n==="svg"?la:n==="math"?od:null)}var Dt=class extends Qi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=vE(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=IE(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Wv(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){O(22);let a=E(null);try{let c=this.componentDef,l=CE(r,c,s,i),u=EE(c,o||this.ngModule,t),d=DE(u),p=d.rendererFactory.createRenderer(null,c),f=r?cI(p,r,c.encapsulation,u):wE(c,p),h=s?.some(Wd)||i?.some(m=>typeof m!="function"&&m.bindings.some(Wd)),g=zc(null,l,null,512|gp(c),null,null,d,p,u,null,zf(f,u,!0));g[S]=f,Xo(g);let I=null;try{let m=ul(S,g,2,"#host",()=>l.directiveRegistry,!0,0);f&&(hp(p,f,m),It(f,g)),qi(l,g,m),Hc(l,m,g),dl(l,m),n!==void 0&&TE(m,this.ngContentSelectors,n),I=ge(m.index,g),g[V]=I[V],sl(l,g,null)}catch(m){throw I!==null&&Qa(I),Qa(g),m}finally{O(23),ei()}return new Ti(this.componentType,g,!!h)}finally{E(a)}}};function CE(e,t,n,r){let o=e?["ng-version","20.1.4"]:Gv(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[hc].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[hc].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=$o(d);c.push(p)}return Gc(0,null,bE(i,s),1,a,c,null,null,null,[o],null)}function bE(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Wd(e){let t=e[hc].kind;return t==="input"||t==="twoWay"}var Ti=class extends Gp{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Gt(n[v],S),this.location=Vn(this._tNode,n),this.instance=ge(this._tNode.index,n)[V],this.hostView=this.changeDetectorRef=new Et(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=il(r,o[v],o,t,n);this.previousInputValues.set(t,n);let s=ge(r.index,o);Wi(s,1)}get injector(){return new Zt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function TE(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var Yi=(()=>{class e{static __NG_ELEMENT_ID__=_E}return e})();function _E(){let e=U();return th(e,y())}var ME=Yi,eh=class extends ME{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Vn(this._hostTNode,this._hostLView)}get injector(){return new Zt(this._hostTNode,this._hostLView)}get parentInjector(){let t=Lc(this._hostTNode,this._hostLView);if(bf(t)){let n=yi(t,this._hostLView),r=mi(t),o=n[v].data[r+8];return new Zt(o,n)}else return new Zt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Gd(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-W}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=wi(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Jt(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!by(t),l;if(c)l=n;else{let I=n||{};l=I.index,r=I.injector,o=I.projectableNodes,i=I.environmentInjector||I.ngModuleRef,s=I.directives,a=I.bindings}let u=c?t:new Dt(Ie(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let m=(c?d:this.parentInjector).get(ce,null);m&&(i=m)}let p=Ie(u.componentType??{}),f=wi(this._lContainer,p?.id??null),h=f?.firstChild??null,g=u.create(d,o,h,i,s,a);return this.insertImpl(g.hostView,l,Jt(this._hostTNode,f)),g}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(sd(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[$],l=new eh(c,c[X],c[$]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Bn(s,o,i,r),t.attachToViewContainerRef(),Ys(Pa(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Gd(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Nr(this._lContainer,n);r&&(sr(Pa(this._lContainer),n),$i(r[v],r))}detach(t){let n=this._adjustIndex(t,-1),r=Nr(this._lContainer,n);return r&&sr(Pa(this._lContainer),n)!=null?new Et(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Gd(e){return e[lr]}function Pa(e){return e[lr]||(e[lr]=[])}function th(e,t){let n,r=t[e.index];return De(r)?n=r:(n=Fp(r,t,null,e),t[e.index]=n,Qc(t,n)),xE(n,t,e,r),new eh(n,e,t)}function NE(e,t){let n=e[x],r=n.createComment(""),o=we(t,e),i=n.parentNode(o);return Kt(n,i,r,n.nextSibling(o),!1),r}var xE=RE,SE=()=>!1;function nh(e,t,n){return SE(e,t,n)}function RE(e,t,n,r){if(e[ut])return;let o;n.type&8?o=ie(r):o=NE(t,n),e[ut]=o}var gc=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},mc=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)hl(t,n).matches!==null&&this.queries[n].setDirty()}},_i=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=LE(t):this.predicate=t}},yc=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},vc=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,AE(n,i)),this.matchTNodeWithReadOption(t,n,li(n,t,i,!1,!1))}else r===xr?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,li(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Fr||o===Yi||o===xr&&n.type&4)this.addMatch(n.index,-2);else{let i=li(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function AE(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function OE(e,t){return e.type&11?Vn(e,t):e.type&4?Gi(e,t):null}function kE(e,t,n,r){return n===-1?OE(t,e):n===-2?PE(e,t,r):_r(e,e[v],n,t)}function PE(e,t,n){if(n===Fr)return Vn(t,e);if(n===xr)return Gi(t,e);if(n===Yi)return th(t,e)}function rh(e,t,n,r){let o=t[ke].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(kE(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Ic(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=rh(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=W;d<u.length;d++){let p=u[d];p[ct]===p[$]&&Ic(p[v],p,l,r)}if(u[Wt]!==null){let d=u[Wt];for(let p=0;p<d.length;p++){let f=d[p];Ic(f[v],f,l,r)}}}}}return r}function pl(e,t){return e[ke].queries[t].queryList}function oh(e,t,n){let r=new Ei((n&4)===4);return cd(e,t,r,r.destroy),(t[ke]??=new mc).queries.push(new gc(r))-1}function ih(e,t,n){let r=A();return r.firstCreatePass&&(ah(r,new _i(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),oh(r,y(),t)}function sh(e,t,n,r){let o=A();if(o.firstCreatePass){let i=U();ah(o,new _i(t,n,r),i.index),FE(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return oh(o,y(),n)}function LE(e){return e.split(",").map(t=>t.trim())}function ah(e,t,n){e.queries===null&&(e.queries=new yc),e.queries.track(new vc(t,n))}function FE(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function hl(e,t){return e.queries.getByIndex(t)}function ch(e,t){let n=e[v],r=hl(n,t);return r.crossesNgTemplate?Ic(n,e,t,[]):rh(n,e,r,t)}function lh(e,t,n){let r,o=Gn(()=>{r._dirtyCounter();let i=jE(r,e);if(t&&i===void 0)throw new b(-951,!1);return i});return r=o[F],r._dirtyCounter=mt(0),r._flatValue=void 0,o}function gl(e){return lh(!0,!1,e)}function ml(e){return lh(!0,!0,e)}function uh(e,t){let n=e[F];n._lView=y(),n._queryIndex=t,n._queryList=pl(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function jE(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[D]&4)return t?void 0:K;let o=pl(n,r),i=ch(n,r);return o.reset(i,kf),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var zd=new Set;function Ve(e){zd.has(e)||(zd.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var kn=class{},dh=class{};function VE(e,t){return new Ar(e,t??null,[])}var Ar=class extends kn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new bi(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Xs(t);this._bootstrapComponents=ap(i.bootstrap),this._r3Injector=Na(t,n,[{provide:kn,useValue:this},{provide:$r,useValue:this.componentFactoryResolver},...r],qe(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Mi=class extends dh{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Ar(this.moduleType,t,[])}};var Or=class extends kn{injector;componentFactoryResolver=new bi(this);instance=null;constructor(t){super();let n=new jt([...t.providers,{provide:kn,useValue:this},{provide:$r,useValue:this.componentFactoryResolver}],t.parent||yn(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function yl(e,t,n=null){return new Or({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var HE=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Uo(!1,n.type),o=r.length>0?yl([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=j({token:e,providedIn:"environment",factory:()=>new e(Se(ce))})}return e})();function BE(e){return jn(()=>{let t=fh(e),n=Q(z({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Fc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(HE).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||On.Emulated,styles:e.styles||K,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Ve("NgStandalone"),ph(n);let r=e.dependencies;return n.directiveDefs=Qd(r,$E),n.pipeDefs=Qd(r,ea),n.id=QE(n),n})}function $E(e){return Ie(e)||$o(e)}function UE(e){return jn(()=>({type:e.type,bootstrap:e.bootstrap||K,declarations:e.declarations||K,imports:e.imports||K,exports:e.exports||K,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function qE(e,t){if(e==null)return at;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Bi.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function WE(e){if(e==null)return at;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function GE(e){return jn(()=>{let t=fh(e);return ph(t),t})}function zE(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function fh(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||at,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||K,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:qE(e.inputs,t),outputs:WE(e.outputs),debugInfo:null}}function ph(e){e.features?.forEach(t=>t(e))}function Qd(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function QE(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function ZE(e){return Object.getPrototypeOf(e.prototype).constructor}function hh(e){let t=ZE(e.type),n=!0,r=[e];for(;t;){let o;if(Le(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new b(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=La(e.inputs),s.declaredInputs=La(e.declaredInputs),s.outputs=La(e.outputs);let a=o.hostBindings;a&&eD(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&JE(e,c),l&&XE(e,l),YE(e,o),$u(e.outputs,o.outputs),Le(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===hh&&(n=!1)}}t=Object.getPrototypeOf(t)}KE(r)}function YE(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function KE(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=An(o.hostAttrs,n=An(n,o.hostAttrs))}}function La(e){return e===at?{}:e===K?[]:e}function JE(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function XE(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function eD(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function gh(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=An(e.mergedAttrs,e.attrs);let u=e.tView=Gc(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Fe(e,!1);let c=nD(n,t,e,r);mr()&&Kc(n,t,c,e),It(c,t);let l=Fp(c,t,c,e);t[r+S]=l,Qc(t,l),nh(l,e,t)}function tD(e,t,n,r,o,i,s,a,c,l,u){let d=n+S,p;return t.firstCreatePass?(p=nn(t,d,4,s||null,a||null),Zo()&&Qp(t,e,p,se(t.consts,l),el),Df(t,p)):p=t.data[d],gh(p,e,t,n,r,o,i,c),En(p)&&qi(t,e,p),l!=null&&Br(e,p,u),p}function Xt(e,t,n,r,o,i,s,a,c,l,u){let d=n+S,p;if(t.firstCreatePass){if(p=nn(t,d,4,s||null,a||null),l!=null){let f=se(t.consts,l);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return gh(p,e,t,n,r,o,i,c),l!=null&&Br(e,p,u),p}function mh(e,t,n,r,o,i,s,a){let c=y(),l=A(),u=se(l.consts,i);return tD(c,l,e,t,n,r,o,u,void 0,s,a),mh}function yh(e,t,n,r,o,i,s,a){let c=y(),l=A(),u=se(l.consts,i);return Xt(c,l,e,t,n,r,o,u,void 0,s,a),yh}var nD=rD;function rD(e,t,n,r){return _n(!0),t[x].createComment("")}var ae=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(ae||{}),Zd=0,oD=1,H=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(H||{}),Ni=function(e){return e[e.Initial=-1]="Initial",e}(Ni||{}),iD=0,Wr=1;var sD=4,aD=5,cD=6,lD=7,Fa=8,uD=9,vl=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(vl||{});function dD(e,t,n){let r=Ih(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function fi(e,t){let n=Ih(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function vh(e){fi(1,e),fi(0,e),fi(2,e)}function Ih(e){let t=sD;return e===1?t=aD:e===2&&(t=uD),t}var Ki=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Ki||{}),Gr=new R(""),Eh=!1,Ec=class extends de{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,ia()&&(this.destroyRef=w(Ge,{optional:!0})??void 0,this.pendingTasks=w(yt,{optional:!0})??void 0)}emit(t){let n=E(null);try{super.next(t)}finally{E(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof B&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Ze=Ec;function Dh(e){let t,n;function r(){e=zt;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Yd(e){return queueMicrotask(()=>e()),()=>{e=zt}}var Il="isAngularZone",xi=Il+"_ID",fD=0,re=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ze(!1);onMicrotaskEmpty=new Ze(!1);onStable=new Ze(!1);onError=new Ze(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Eh}=t;if(typeof Zone>"u")throw new b(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,gD(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Il)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new b(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,pD,zt,zt);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},pD={};function El(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function hD(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Dh(()=>{e.callbackScheduled=!1,Dc(e),e.isCheckStableRunning=!0,El(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Dc(e)}function gD(e){let t=()=>{hD(e)},n=fD++;e._inner=e._inner.fork({name:"angular",properties:{[Il]:!0,[xi]:n,[xi+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(mD(c))return r.invokeTask(i,s,a,c);try{return Kd(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Jd(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Kd(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!yD(c)&&t(),Jd(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Dc(e),El(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Dc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Kd(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Jd(e){e._nesting--,El(e)}var kr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ze;onMicrotaskEmpty=new Ze;onStable=new Ze;onError=new Ze;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function mD(e){return wh(e,"__ignore_ng_zone__")}function yD(e){return wh(e,"__scheduler_tick__")}function wh(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Dl=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=j({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ch=[0,1,2,3],bh=(()=>{class e{ngZone=w(re);scheduler=w(fe);errorHandler=w(Re,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){w(Gr,{optional:!0})}execute(){let n=this.sequences.size>0;n&&O(16),this.executing=!0;for(let r of Ch)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&O(17)}register(n){let{view:r}=n;r!==void 0?((r[qt]??=[]).push(n),pt(r),r[D]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Ki.AFTER_NEXT_RENDER,n):n()}static \u0275prov=j({token:e,providedIn:"root",factory:()=>new e})}return e})(),Si=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[qt];t&&(this.view[qt]=t.filter(n=>n!==this))}};function vD(e,t){let n=t?.injector??w(ve);return Ve("NgAfterNextRender"),ED(e,n,t,!0)}function ID(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function ED(e,t,n,r){let o=t.get(Dl);o.impl??=t.get(bh);let i=t.get(Gr,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Ge):null,a=t.get(Nn,null,{optional:!0}),c=new Si(o.impl,ID(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}function Ji(e){return e+1}function $n(e,t){let n=e[v],r=Ji(t.index);return e[r]}function DD(e,t,n){let r=e[v],o=Ji(t);e[o]=n}function Un(e,t){let n=Ji(t.index);return e.data[n]}function wD(e,t,n){let r=Ji(t);e.data[r]=n}function CD(e,t,n){let r=t[v],o=Un(r,n);switch(e){case H.Complete:return o.primaryTmplIndex;case H.Loading:return o.loadingTmplIndex;case H.Error:return o.errorTmplIndex;case H.Placeholder:return o.placeholderTmplIndex;default:return null}}function Xd(e,t){return t===H.Placeholder?e.placeholderBlockConfig?.[Zd]??null:t===H.Loading?e.loadingBlockConfig?.[Zd]??null:null}function bD(e){return e.loadingBlockConfig?.[oD]??null}function ef(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function TD(e,t){let n=t.primaryTmplIndex+S;return Gt(e,n)}var _D=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?yl(o,r,i):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=j({token:e,providedIn:"environment",factory:()=>new e})}return e})();var Th=new R("");function ja(e,t,n){return e.get(_D).getOrCreateInjector(t,e,n,"")}function MD(e,t,n){if(e instanceof Rn){let o=e.injector,i=e.parentInjector,s=ja(i,t,n);return new Rn(o,s)}let r=e.get(ce);if(r!==e){let o=ja(r,t,n);return new Rn(e,o)}return ja(e,t,n)}function vt(e,t,n,r=!1){let o=n[$],i=o[v];if(ft(o))return;let s=$n(o,t),a=s[Wr],c=s[lD];if(!(c!==null&&e<c)&&tf(a,e)&&tf(s[iD]??-1,e)){let l=Un(i,t),d=!r&&!0&&(bD(l)!==null||Xd(l,H.Loading)!==null||Xd(l,H.Placeholder))?RD:xD;try{d(e,s,n,t,o)}catch(p){ol(o,p)}}}function ND(e,t){let n=e[lt]?.findIndex(o=>o.data[Vc]===t[Wr])??-1;return{dehydratedView:n>-1?e[lt][n]:null,dehydratedViewIx:n}}function xD(e,t,n,r,o){O(20);let i=CD(e,o,r);if(i!==null){t[Wr]=e;let s=o[v],a=i+S,c=Gt(s,a),l=0;cl(n,l);let u;if(e===H.Complete){let h=Un(s,r),g=h.providers;g&&g.length>0&&(u=MD(o[he],h,g))}let{dehydratedView:d,dehydratedViewIx:p}=ND(n,t),f=Hn(o,c,null,{injector:u,dehydratedView:d});if(Bn(n,f,l,Jt(c,d)),Wi(f,2),p>-1&&n[lt]?.splice(p,1),(e===H.Complete||e===H.Error)&&Array.isArray(t[Fa])){for(let h of t[Fa])h();t[Fa]=null}}O(21)}function tf(e,t){return e<t}function SD(e,t){let n=e[t.index];vt(H.Placeholder,t,n)}function nf(e,t,n){e.loadingPromise.then(()=>{e.loadingState===ae.COMPLETE?vt(H.Complete,t,n):e.loadingState===ae.FAILED&&vt(H.Error,t,n)})}var RD=null;var AD=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var _h=new R("");function wl(e){return!!e&&typeof e.then=="function"}function Mh(e){return!!e&&typeof e.subscribe=="function"}var Nh=new R("");var Cl=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=w(Nh,{optional:!0})??[];injector=w(ve);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=qo(this.injector,o);if(wl(i))n.push(i);else if(Mh(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),xh=new R("");function Sh(){ls(()=>{let e="";throw new b(600,e)})}function Rh(e){return e.isBoundToModule}var OD=10;var zr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=w(ze);afterRenderManager=w(Dl);zonelessEnabled=w(yr);rootEffectScheduler=w(Ir);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new de;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=w(yt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(ot(n=>!n))}constructor(){w(Gr,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=w(ce);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=ve.NULL){return this._injector.get(re).run(()=>{O(10);let s=n instanceof Qi;if(!this._injector.get(Cl).done){let h="";throw new b(405,h)}let c;s?c=n:c=this._injector.get($r).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=Rh(c)?void 0:this._injector.get(kn),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,f=d.injector.get(_h,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),wr(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),O(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){O(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Ki.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new b(101,!1);let n=E(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,E(n),this.afterTick.next(),O(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Sr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<OD;)O(14),this.synchronizeOnce(),O(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!fr(o))continue;let i=r&&!this.zonelessEnabled?0:1;al(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>fr(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;wr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(xh,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>wr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new b(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function wr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Ah(e,t,n){let r=t[he],o=t[v];if(e.loadingState!==ae.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=$n(t,n),s=TD(o,e);e.loadingState=ae.IN_PROGRESS,fi(1,i);let a=e.dependencyResolverFn,c=r.get(vr).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(l=>{let u=!1,d=[],p=[];for(let f of l)if(f.status==="fulfilled"){let h=f.value,g=Ie(h)||$o(h);if(g)d.push(g);else{let I=ea(h);I&&p.push(I)}}else{u=!0;break}if(u){if(e.loadingState=ae.FAILED,e.errorTmplIndex===null){let f="",h=new b(-750,!1);ol(t,h)}}else{e.loadingState=ae.COMPLETE;let f=s.tView;if(d.length>0){f.directiveRegistry=ef(f.directiveRegistry,d);let h=d.map(I=>I.type),g=Uo(!1,...h);e.providers=g}p.length>0&&(f.pipeRegistry=ef(f.pipeRegistry,p))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=ae.COMPLETE,c()}),e.loadingPromise)}function kD(e,t){return t[he].get(Th,null,{optional:!0})?.behavior!==vl.Manual}function PD(e,t,n){let r=t[v],o=t[n.index];if(!kD(e,t))return;let i=$n(t,n),s=Un(r,n);switch(vh(i),s.loadingState){case ae.NOT_STARTED:vt(H.Loading,n,o),Ah(s,t,n),s.loadingState===ae.IN_PROGRESS&&nf(s,n,o);break;case ae.IN_PROGRESS:vt(H.Loading,n,o),nf(s,n,o);break;case ae.COMPLETE:vt(H.Complete,n,o);break;case ae.FAILED:vt(H.Error,n,o);break;default:}}function LD(e,t,n){return e===0?rf(t,n):e===2?!rf(t,n):!0}function FD(e){return e!=null&&(e&1)===1}function rf(e,t){let n=e[he],r=Un(e[v],t),o=Qf(n),i=FD(r.flags),a=$n(e,t)[cD]!==null;return!(i&&a&&o)}function jD(e,t,n,r,o,i,s,a,c,l){let u=y(),d=A(),p=e+S,f=Xt(u,d,e,null,0,0),h=u[he];if(d.firstCreatePass){Ve("NgDefer");let _e={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:ae.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:l??0};c?.(d,_e,a,s),wD(d,p,_e)}let g=u[p];nh(g,f,u);let I=null,m=null;if(g[lt]?.length>0){let _e=g[lt][0].data;m=_e[jc]??null,I=_e[Vc]}let L=[null,Ni.Initial,null,null,null,null,m,I,null,null];DD(u,p,L);let Je=null;m!==null&&(Je=h.get(Gf),Je.add(m,{lView:u,tNode:f,lContainer:g}));let wt=()=>{vh(L),m!==null&&Je?.cleanup([m])};dD(0,L,()=>fa(u,wt)),Qo(u,wt)}function VD(e){let t=y(),n=Tn();if(!LD(0,t,n))return;let r=Ce();if(te(t,r,e)){let o=E(null);try{let i=!!e,a=$n(t,n)[Wr];i===!1&&a===Ni.Initial?SD(t,n):i===!0&&(a===Ni.Initial||a===H.Placeholder)&&PD(0,t,n)}finally{E(o)}}}function Oh(e,t,n,r){let o=y(),i=Ce();if(te(o,i,t)){let s=A(),a=Tn();mI(a,o,e,t,n,r)}return Oh}var wc=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Va(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function HD(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],d=Va(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),f=t[c],h=Va(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let g=n(i,l),I=n(s,p),m=n(i,u);if(Object.is(m,I)){let L=n(c,f);Object.is(L,g)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new Ri,o??=sf(e,i,s,n),Cc(e,r,i,m))e.updateValue(i,u),i++,s++;else if(o.has(m))r.set(g,e.detach(i)),s--;else{let L=e.create(i,t[i]);e.attach(i,L),i++,s++}}for(;i<=c;)of(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,p=Va(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new Ri,o??=sf(e,i,s,n);let f=n(i,d);if(Cc(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let h=n(i,u);r.set(h,e.detach(i)),s--}}}for(;!l.done;)of(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Cc(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function of(e,t,n,r,o){if(Cc(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function sf(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Ri=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function BD(e,t,n,r,o,i,s,a){Ve("NgControlFlow");let c=y(),l=A(),u=se(l.consts,i);return Xt(c,l,e,t,n,r,o,u,256,s,a),bl}function bl(e,t,n,r,o,i,s,a){Ve("NgControlFlow");let c=y(),l=A(),u=se(l.consts,i);return Xt(c,l,e,t,n,r,o,u,512,s,a),bl}function $D(e,t){Ve("NgControlFlow");let n=y(),r=Ce(),o=n[r]!==G?n[r]:-1,i=o!==-1?Ai(n,S+o):void 0,s=0;if(te(n,r,e)){let a=E(null);try{if(i!==void 0&&cl(i,s),e!==-1){let c=S+e,l=Ai(n,c),u=Mc(n[v],c),d=Wp(l,u,n),p=Hn(n,u,t,{dehydratedView:d});Bn(l,p,s,Jt(u,d))}}finally{E(a)}}else if(i!==void 0){let a=jp(i,s);a!==void 0&&(a[V]=t)}}var bc=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-W}};function UD(e){return e}var Tc=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function qD(e,t,n,r,o,i,s,a,c,l,u,d,p){Ve("NgControlFlow");let f=y(),h=A(),g=c!==void 0,I=y(),m=a?s.bind(I[ee][V]):s,L=new Tc(g,m);I[S+e]=L,Xt(f,h,e+1,t,n,r,o,se(h.consts,i),256),g&&Xt(f,h,e+2,c,l,u,d,se(h.consts,p),512)}var _c=class extends wc{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-W}at(t){return this.getLView(t)[V].$implicit}attach(t,n){let r=n[Bt];this.needsIndexUpdate||=t!==this.length,Bn(this.lContainer,n,t,Jt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,GD(this.lContainer,t)}create(t,n){let r=wi(this.lContainer,this.templateTNode.tView.ssrId),o=Hn(this.hostLView,this.templateTNode,new bc(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){$i(t[v],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[V].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[V].$index=t}getLView(t){return zD(this.lContainer,t)}};function WD(e){let t=E(null),n=me();try{let r=y(),o=r[v],i=r[n],s=n+1,a=Ai(r,s);if(i.liveCollection===void 0){let l=Mc(o,s);i.liveCollection=new _c(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(HD(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=Ce(),u=c.length===0;if(te(r,l,u)){let d=n+2,p=Ai(r,d);if(u){let f=Mc(o,d),h=Wp(p,f,r),g=Hn(r,f,void 0,{dehydratedView:h});Bn(p,g,0,Jt(f,h))}else o.firstUpdatePass&&XI(p),cl(p,0)}}}finally{E(t)}}function Ai(e,t){return e[t]}function GD(e,t){return Nr(e,t)}function zD(e,t){return jp(e,t)}function Mc(e,t){return Gt(e,t)}function kh(e,t,n){let r=y(),o=Ce();if(te(r,o,t)){let i=A(),s=Tn();Xc(s,r,e,t,r[x],n)}return kh}function Nc(e,t,n,r,o){il(t,e,n,o?"class":"style",r)}function Tl(e,t,n,r){let o=y(),i=o[v],s=e+S,a=i.firstCreatePass?ul(s,o,2,t,el,Zo(),n,r):i.data[s];if(nl(a,o,e,t,Fh),En(a)){let c=o[v];qi(c,o,a),Hc(c,a,o)}return r!=null&&Br(o,a),Tl}function _l(){let e=A(),t=U(),n=rl(t);return e.firstCreatePass&&dl(e,n),ya(n)&&va(),ga(),n.classesWithoutHost!=null&&Ry(n)&&Nc(e,n,y(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Ay(n)&&Nc(e,n,y(),n.stylesWithoutHost,!1),_l}function Ph(e,t,n,r){return Tl(e,t,n,r),_l(),Ph}function Ml(e,t,n,r){let o=y(),i=o[v],s=e+S,a=i.firstCreatePass?hE(s,i,2,t,n,r):i.data[s];return nl(a,o,e,t,Fh),r!=null&&Br(o,a),Ml}function Nl(){let e=U(),t=rl(e);return ya(t)&&va(),ga(),Nl}function Lh(e,t,n,r){return Ml(e,t,n,r),Nl(),Lh}var Fh=(e,t,n,r,o)=>(_n(!0),qc(t[x],r,bd()));function xl(e,t,n){let r=y(),o=r[v],i=e+S,s=o.firstCreatePass?ul(i,r,8,"ng-container",el,Zo(),t,n):o.data[i];if(nl(s,r,e,"ng-container",QD),En(s)){let a=r[v];qi(a,r,s),Hc(a,s,r)}return n!=null&&Br(r,s),xl}function Sl(){let e=A(),t=U(),n=rl(t);return e.firstCreatePass&&dl(e,n),Sl}function jh(e,t,n){return xl(e,t,n),Sl(),jh}var QD=(e,t,n,r,o)=>(_n(!0),fp(t[x],""));function ZD(){return y()}function Vh(e,t,n){let r=y(),o=Ce();if(te(r,o,t)){let i=A(),s=Tn();Mp(s,r,e,t,r[x],n)}return Vh}var Qt=void 0;function YD(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var KD=["en",[["a","p"],["AM","PM"],Qt],[["AM","PM"],Qt,Qt],[["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"]],Qt,[["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"]],Qt,[["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}",Qt,"{1} 'at' {0}",Qt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",YD],Cr={};function JD(e,t,n){typeof t!="string"&&(n=t,t=e[Pn.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Cr[t]=e,n&&(Cr[t][Pn.ExtraData]=n)}function Rl(e){let t=ew(e),n=af(t);if(n)return n;let r=t.split("-")[0];if(n=af(r),n)return n;if(r==="en")return KD;throw new b(701,!1)}function XD(e){return Rl(e)[Pn.CurrencyCode]||null}function Hh(e){return Rl(e)[Pn.PluralCase]}function af(e){return e in Cr||(Cr[e]=Ae.ng&&Ae.ng.common&&Ae.ng.common.locales&&Ae.ng.common.locales[e]),Cr[e]}var Pn=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Pn||{});function ew(e){return e.toLowerCase().replace(/_/g,"-")}var tw=["zero","one","two","few","many"];function nw(e,t){let n=Hh(t)(parseInt(e,10)),r=tw[n];return r!==void 0?r:"other"}var Qr="en-US",rw="USD",Bh={marker:"element"},$h={marker:"ICU"},Qe=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(Qe||{}),Uh=Qr;function qh(e){typeof e=="string"&&(Uh=e.toLowerCase().replace(/_/g,"-"))}function ow(){return Uh}var Pr=0,br=0;function iw(e){e&&(Pr=Pr|1<<Math.min(br,31)),br++}function sw(e,t,n){if(br>0){let r=e.data[n],o=Array.isArray(r)?r:r.update,i=Yo()-br-1;Gh(e,t,o,i,Pr)}Pr=0,br=0}function aw(e,t,n){let r=e[x];switch(n){case Node.COMMENT_NODE:return fp(r,t);case Node.TEXT_NODE:return up(r,t);case Node.ELEMENT_NODE:return qc(r,t,null)}}var pi=(e,t,n,r)=>(_n(!0),aw(e,n,r));function cw(e,t,n,r){let o=e[x];for(let i=0;i<t.length;i++){let s=t[i++],a=t[i],c=(s&Qe.COMMENT)===Qe.COMMENT,l=(s&Qe.APPEND_EAGERLY)===Qe.APPEND_EAGERLY,u=s>>>Qe.SHIFT,d=e[u],p=!1;d===null&&(d=e[u]=pi(e,u,a,c?Node.COMMENT_NODE:Node.TEXT_NODE),p=mr()),l&&n!==null&&p&&Kt(o,n,d,r,!1)}}function Wh(e,t,n,r){let o=n[x],i=null,s;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="string"){let l=t[++a];n[l]===null&&(n[l]=pi(n,l,c,Node.TEXT_NODE))}else if(typeof c=="number")switch(c&1){case 0:let l=qI(c);i===null&&(i=l,s=o.parentNode(r));let u,d;if(l===i?(u=r,d=s):(u=null,d=ie(n[l])),d!==null){let g=WI(c),I=n[g];Kt(o,d,I,u,!1);let m=Dr(e,g);if(m!==null&&typeof m=="object"){let L=zi(m,n);L!==null&&Wh(e,m.create[L],n,n[m.anchorIdx])}}break;case 1:let p=c>>>1,f=t[++a],h=t[++a];tl(o,ur(p,n),null,null,f,h,null);break;default:}else switch(c){case $h:let l=t[++a],u=t[++a];if(n[u]===null){let f=n[u]=pi(n,u,l,Node.COMMENT_NODE);It(f,n)}break;case Bh:let d=t[++a],p=t[++a];if(n[p]===null){let f=n[p]=pi(n,p,d,Node.ELEMENT_NODE);It(f,n)}break;default:}}}function Gh(e,t,n,r,o){for(let i=0;i<n.length;i++){let s=n[i],a=n[++i];if(s&o){let c="";for(let l=i+1;l<=i+a;l++){let u=n[l];if(typeof u=="string")c+=u;else if(typeof u=="number")if(u<0)c+=le(t[r-u]);else{let d=u>>>2;switch(u&3){case 1:let p=n[++l],f=n[++l],h=e.data[d];typeof h=="string"?tl(t[x],t[d],null,h,p,c,f):Xc(h,t,p,c,t[x],f);break;case 0:let g=t[d];g!==null&&dp(t[x],g,c);break;case 2:lw(e,Dr(e,d),t,c);break;case 3:cf(e,Dr(e,d),r,t);break}}}}else{let c=n[i+1];if(c>0&&(c&3)===3){let l=c>>>2,u=Dr(e,l);t[u.currentCaseLViewIndex]<0&&cf(e,u,r,t)}}i+=a}}function cf(e,t,n,r){let o=r[t.currentCaseLViewIndex];if(o!==null){let i=Pr;o<0&&(o=r[t.currentCaseLViewIndex]=~o,i=-1),Gh(e,r,t.update[o],n,i)}}function lw(e,t,n,r){let o=uw(t,r);if(zi(t,n)!==o&&(zh(e,t,n),n[t.currentCaseLViewIndex]=o===null?null:~o,o!==null)){let s=n[t.anchorIdx];s&&Wh(e,t.create[o],n,s),JI(n,t.anchorIdx,o)}}function zh(e,t,n){let r=zi(t,n);if(r!==null){let o=t.remove[r];for(let i=0;i<o.length;i++){let s=o[i];if(s>0){let a=ur(s,n);a!==null&&Wc(n[x],a)}else zh(e,Dr(e,~s),n)}}}function uw(e,t){let n=e.cases.indexOf(t);if(n===-1)switch(e.type){case 1:{let r=nw(t,ow());n=e.cases.indexOf(r),n===-1&&r!=="other"&&(n=e.cases.indexOf("other"));break}case 0:{n=e.cases.indexOf("other");break}}return n===-1?null:n}var Oi=/�(\d+):?\d*�/gi;var dw=/�(\d+)�/,Qh=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,Tr="\uFFFD",fw=/�\/?\*(\d+:\d+)�/gi,pw=/�(\/?[#*]\d+):?\d*�/gi,hw=/\uE500/g;function gw(e){return e.replace(hw," ")}function mw(e,t,n,r,o,i){let s=Cn(),a=[],c=[],l=[[]],u=[[]];o=vw(o,i);let d=gw(o).split(pw);for(let p=0;p<d.length;p++){let f=d[p];if((p&1)===0){let h=xc(f);for(let g=0;g<h.length;g++){let I=h[g];if((g&1)===0){let m=I;m!==""&&yw(u[0],e,s,l[0],a,c,n,m)}else{let m=I;if(typeof m!="object")throw new Error(`Unable to parse ICU expression in "${o}" message.`);let Je=Zh(e,s,l[0],n,a,"",!0).index;Kh(u[0],e,n,c,t,m,Je)}}}else{let h=f.charCodeAt(0)===47,g=f.charCodeAt(h?1:0),I=S+Number.parseInt(f.substring(h?2:1));if(h)l.shift(),u.shift(),Fe(Cn(),!1);else{let m=UI(e,l[0],I);l.unshift([]),Fe(m,!0);let L={kind:2,index:I,children:[],type:g===35?0:1};u[0].push(L),u.unshift(L.children)}}}e.data[r]={create:a,update:c,ast:u[0],parentTNodeIndex:t}}function Zh(e,t,n,r,o,i,s){let a=Hr(e,r,1,null),c=a<<Qe.SHIFT,l=Cn();t===l&&(l=null),l===null&&(c|=Qe.APPEND_EAGERLY),s&&(c|=Qe.COMMENT,Xv(QI)),o.push(c,i===null?"":i);let u=ll(e,a,s?32:1,i===null?"":i,null);$p(n,u);let d=u.index;return Fe(u,!1),l!==null&&t!==l&&$I(l,d),u}function yw(e,t,n,r,o,i,s,a){let c=a.match(Oi),u=Zh(t,n,r,s,o,c?null:a,!1).index;c&&hi(i,a,u,null,0,null),e.push({kind:0,index:u})}function hi(e,t,n,r,o,i){let s=e.length,a=s+1;e.push(null,null);let c=s+2,l=t.split(Oi),u=0;for(let d=0;d<l.length;d++){let p=l[d];if(d&1){let f=o+parseInt(p,10);e.push(-1-f),u=u|Yh(f)}else p!==""&&e.push(p)}return e.push(n<<2|(r?1:0)),r&&e.push(r,i),e[s]=u,e[a]=e.length-c,u}function Yh(e){return 1<<Math.min(e,31)}function lf(e){let t,n="",r=0,o=!1,i;for(;(t=fw.exec(e))!==null;)o?t[0]===`${Tr}/*${i}${Tr}`&&(r=t.index,o=!1):(n+=e.substring(r,t.index+t[0].length),i=t[1],o=!0);return n+=e.slice(r),n}function vw(e,t){if(zI(t))return lf(e);{let n=e.indexOf(`:${t}${Tr}`)+2+t.toString().length,r=e.search(new RegExp(`${Tr}\\/\\*\\d+:${t}${Tr}`));return lf(e.substring(n,r))}}function Kh(e,t,n,r,o,i,s){let a=0,c={type:i.type,currentCaseLViewIndex:Hr(t,n,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};ww(r,i,s),BI(t,s,c);let l=i.values,u=[];for(let d=0;d<l.length;d++){let p=l[d],f=[];for(let g=0;g<p.length;g++){let I=p[g];if(typeof I!="string"){let m=f.push(I)-1;p[g]=`<!--\uFFFD${m}\uFFFD-->`}}let h=[];u.push(h),a=Ew(h,t,c,n,r,o,i.cases[d],p.join(""),f)|a}a&&Cw(r,a,s),e.push({kind:3,index:s,cases:u,currentCaseLViewIndex:c.currentCaseLViewIndex})}function Iw(e){let t=[],n=[],r=1,o=0;e=e.replace(Qh,function(s,a,c){return c==="select"?r=0:r=1,o=parseInt(a.slice(1),10),""});let i=xc(e);for(let s=0;s<i.length;){let a=i[s++].trim();r===1&&(a=a.replace(/\s*(?:=)?(\w+)\s*/,"$1")),a.length&&t.push(a);let c=xc(i[s++]);t.length>n.length&&n.push(c)}return{type:r,mainBinding:o,cases:t,values:n}}function xc(e){if(!e)return[];let t=0,n=[],r=[],o=/[{}]/g;o.lastIndex=0;let i;for(;i=o.exec(e);){let a=i.index;if(i[0]=="}"){if(n.pop(),n.length==0){let c=e.substring(t,a);Qh.test(c)?r.push(Iw(c)):r.push(c),t=a+1}}else{if(n.length==0){let c=e.substring(t,a);r.push(c),t=a+1}n.push("{")}}let s=e.substring(t);return r.push(s),r}function Ew(e,t,n,r,o,i,s,a,c){let l=[],u=[],d=[];n.cases.push(s),n.create.push(l),n.remove.push(u),n.update.push(d);let f=Jf(Li()).getInertBodyElement(a),h=sc(f)||f;return h?Jh(e,t,n,r,o,l,u,d,h,i,c,0):0}function Jh(e,t,n,r,o,i,s,a,c,l,u,d){let p=0,f=c.firstChild;for(;f;){let h=Hr(t,r,1,null);switch(f.nodeType){case Node.ELEMENT_NODE:let g=f,I=g.tagName.toLowerCase();if(oc.hasOwnProperty(I)){Ha(i,Bh,I,l,h),t.data[h]=I;let wt=g.attributes;for(let os=0;os<wt.length;os++){let Ct=wt.item(os),Jl=Ct.name.toLowerCase();!!Ct.value.match(Oi)?np.hasOwnProperty(Jl)&&(Bc[Jl]?hi(a,Ct.value,h,Ct.name,0,Hi):hi(a,Ct.value,h,Ct.name,0,null)):bw(i,h,Ct)}let _e={kind:1,index:h,children:[]};e.push(_e),p=Jh(_e.children,t,n,r,o,i,s,a,f,h,u,d+1)|p,uf(s,h,d)}break;case Node.TEXT_NODE:let m=f.textContent||"",L=m.match(Oi);Ha(i,null,L?"":m,l,h),uf(s,h,d),L&&(p=hi(a,m,h,null,0,null)|p),e.push({kind:0,index:h});break;case Node.COMMENT_NODE:let Je=dw.exec(f.textContent||"");if(Je){let wt=parseInt(Je[1],10),_e=u[wt];Ha(i,$h,"",l,h),Kh(e,t,r,o,l,_e,h),Dw(s,h,d)}break}f=f.nextSibling}return p}function uf(e,t,n){n===0&&e.push(t)}function Dw(e,t,n){n===0&&(e.push(~t),e.push(t))}function ww(e,t,n){e.push(Yh(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}function Cw(e,t,n){e.push(t,1,n<<2|3)}function Ha(e,t,n,r,o){t!==null&&e.push(t),e.push(n,o,GI(0,r,o))}function bw(e,t,n){e.push(t<<1|1,n.name,n.value)}var df=0,Tw=/\[(�.+?�?)\]/,_w=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,Mw=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,Nw=/{([A-Z0-9_]+)}/g,xw=/�I18N_EXP_(ICU(_\d+)?)�/g,Sw=/\/\*/,Rw=/\d+\:(\d+)/;function Aw(e,t={}){let n=e;if(Tw.test(e)){let r={},o=[df];n=n.replace(_w,(i,s,a)=>{let c=s||a,l=r[c]||[];if(l.length||(c.split("|").forEach(g=>{let I=g.match(Rw),m=I?parseInt(I[1],10):df,L=Sw.test(g);l.push([m,L,g])}),r[c]=l),!l.length)throw new Error(`i18n postprocess: unmatched placeholder - ${c}`);let u=o[o.length-1],d=0;for(let g=0;g<l.length;g++)if(l[g][0]===u){d=g;break}let[p,f,h]=l[d];return f?o.pop():u!==p&&o.push(p),l.splice(d,1),h})}return Object.keys(t).length&&(n=n.replace(Mw,(r,o,i,s,a,c)=>t.hasOwnProperty(i)?`${o}${t[i]}${c}`:r),n=n.replace(Nw,(r,o)=>t.hasOwnProperty(o)?t[o]:r),n=n.replace(xw,(r,o)=>{if(t.hasOwnProperty(o)){let i=t[o];if(!i.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${o}`);return i.shift()}return r})),n}function Xh(e,t,n=-1){let r=A(),o=y(),i=S+e,s=se(r.consts,t),a=Cn();if(r.firstCreatePass&&mw(r,a===null?0:a.index,o,i,s,n),r.type===2){let p=o[ee];p[D]|=32}else o[D]|=32;let c=r.data[i],l=a===o[X]?null:a,u=Ip(r,l,o),d=a&&a.type&8?o[a.index]:null;YI(o,i,a,n),cw(o,c.create,u,d),Ta(!0)}function eg(){Ta(!1)}function Ow(e,t,n){Xh(e,t,n),eg()}function tg(e){let t=y();return iw(te(t,Ce(),e)),tg}function kw(e){sw(A(),y(),e+S)}function Pw(e,t={}){return Aw(e,t)}function ng(e,t,n){let r=y(),o=A(),i=U();return og(o,r,r[x],i,e,t,n),ng}function rg(e,t,n){let r=y(),o=A(),i=U();return(i.type&3||n)&&Jp(i,o,r,n,r[x],e,t,di(i,r,t)),rg}function og(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=di(r,t,i),Jp(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],f=u[d+1];c??=di(r,t,i),qd(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=di(r,t,i),qd(r,t,d,o,o,c)}}function Lw(e=1){return Dd(e)}function Fw(e,t){let n=null,r=Hv(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?lp(e,i,!0):Uv(r,i))return o}return n}function jw(e){let t=y()[ee][X];if(!t.projection){let n=e?e.length:1,r=t.projection=Ku(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?Fw(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function Vw(e,t=0,n,r,o,i){let s=y(),a=A(),c=r?e+1:null;c!==null&&Xt(s,a,c,r,o,i,null,n);let l=nn(a,S+e,16,null,n||null);l.projection===null&&(l.projection=t),Da();let d=!s[Bt]||ma();s[ee][X].projection[l.projection]===null&&c!==null?Hw(s,a,c):d&&!Fi(l)&&iI(a,s,l)}function Hw(e,t,n){let r=S+n,o=t.data[r],i=e[r],s=wi(i,o.tView.ssrId),a=Hn(e,o,void 0,{dehydratedView:s});Bn(i,a,0,Jt(o,s))}function Bw(e,t,n,r){sh(e,t,n,r)}function $w(e,t,n){ih(e,t,n)}function Uw(e){let t=y(),n=A(),r=Jo();gr(r+1);let o=hl(n,r);if(e.dirty&&id(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=ch(t,r);e.reset(i,kf),e.notifyOnChanges()}return!0}return!1}function qw(){return pl(y(),Jo())}function Ww(e,t,n,r,o){uh(t,sh(e,n,r,o))}function Gw(e,t,n,r){uh(e,ih(t,n,r))}function zw(e=1){gr(Jo()+e)}function Qw(e){let t=wa();return wn(t,S+e)}function si(e,t){return e<<17|t<<2}function en(e){return e>>17&32767}function Zw(e){return(e&2)==2}function Yw(e,t){return e&131071|t<<17}function Sc(e){return e|2}function Ln(e){return(e&131068)>>2}function Ba(e,t){return e&-131069|t<<2}function Kw(e){return(e&1)===1}function Rc(e){return e|1}function Jw(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=en(s),c=Ln(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||mn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=en(e[a+1]);e[r+1]=si(p,a),p!==0&&(e[p+1]=Ba(e[p+1],r)),e[a+1]=Yw(e[a+1],r)}else e[r+1]=si(a,0),a!==0&&(e[a+1]=Ba(e[a+1],r)),a=r;else e[r+1]=si(c,0),a===0?a=r:e[c+1]=Ba(e[c+1],r),c=r;l&&(e[r+1]=Sc(e[r+1])),ff(e,u,r,!0),ff(e,u,r,!1),Xw(t,u,e,r,i),s=si(a,c),i?t.classBindings=s:t.styleBindings=s}function Xw(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&mn(i,t)>=0&&(n[r+1]=Rc(n[r+1]))}function ff(e,t,n,r){let o=e[n+1],i=t===null,s=r?en(o):Ln(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];eC(c,t)&&(a=!0,e[s+1]=r?Rc(l):Sc(l)),s=r?en(l):Ln(l)}a&&(e[n+1]=r?Sc(o):Rc(o))}function eC(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?mn(e,t)>=0:!1}var q={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ig(e){return e.substring(q.key,q.keyEnd)}function tC(e){return e.substring(q.value,q.valueEnd)}function nC(e){return cg(e),sg(e,Fn(e,0,q.textEnd))}function sg(e,t){let n=q.textEnd;return n===t?-1:(t=q.keyEnd=oC(e,q.key=t,n),Fn(e,t,n))}function rC(e){return cg(e),ag(e,Fn(e,0,q.textEnd))}function ag(e,t){let n=q.textEnd,r=q.key=Fn(e,t,n);return n===r?-1:(r=q.keyEnd=iC(e,r,n),r=pf(e,r,n,58),r=q.value=Fn(e,r,n),r=q.valueEnd=sC(e,r,n),pf(e,r,n,59))}function cg(e){q.key=0,q.keyEnd=0,q.value=0,q.valueEnd=0,q.textEnd=e.length}function Fn(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function oC(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function iC(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function pf(e,t,n,r){return t=Fn(e,t,n),t<n&&t++,t}function sC(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=hf(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=hf(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function hf(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function lg(e,t,n){return dg(e,t,n,!1),lg}function ug(e,t){return dg(e,t,null,!0),ug}function aC(e){fg(gg,cC,e,!1)}function cC(e,t){for(let n=rC(t);n>=0;n=ag(t,n))gg(e,ig(t),tC(t))}function lC(e){fg(mC,uC,e,!0)}function uC(e,t){for(let n=nC(t);n>=0;n=sg(t,n))ar(e,ig(t),!0)}function dg(e,t,n,r){let o=y(),i=A(),s=hr(2);if(i.firstUpdatePass&&hg(i,e,s,r),t!==G&&te(o,s,t)){let a=i.data[me()];mg(i,a,o,o[x],e,o[s+1]=vC(t,n),r,s)}}function fg(e,t,n,r){let o=A(),i=hr(2);o.firstUpdatePass&&hg(o,null,i,r);let s=y();if(n!==G&&te(s,i,n)){let a=o.data[me()];if(yg(a,r)&&!pg(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Po(c,n||"")),Nc(o,a,s,n,r)}else yC(o,a,s,s[x],s[i+1],s[i+1]=gC(e,t,n),r,i)}}function pg(e,t){return t>=e.expandoStartIndex}function hg(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[me()],s=pg(e,n);yg(i,r)&&t===null&&!s&&(t=!1),t=dC(o,i,t,r),Jw(o,i,t,n,s,r)}}function dC(e,t,n,r){let o=yd(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=$a(null,e,t,n,r),n=Lr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=$a(o,e,t,n,r),i===null){let c=fC(e,t,r);c!==void 0&&Array.isArray(c)&&(c=$a(null,e,t,c[1],r),c=Lr(c,t.attrs,r),pC(e,t,r,c))}else i=hC(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function fC(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Ln(r)!==0)return e[en(r)]}function pC(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[en(o)]=r}function hC(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Lr(r,s,n)}return Lr(r,t.attrs,n)}function $a(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Lr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Lr(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),ar(e,s,n?!0:t[++i]))}return e===void 0?null:e}function gC(e,t,n){if(n==null||n==="")return K;let r=[],o=tn(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function gg(e,t,n){ar(e,t,tn(n))}function mC(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&ar(e,r,n)}function yC(e,t,n,r,o,i,s,a){o===G&&(o=K);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,g;u===d?(c+=2,l+=2,p!==f&&(h=d,g=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,g=f),h!==null&&mg(e,t,n,r,h,g,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function mg(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=Kw(l)?gf(c,t,n,o,Ln(l),s):void 0;if(!ki(u)){ki(i)||Zw(l)&&(i=gf(c,null,n,o,a,s));let d=ur(me(),n);aI(r,s,d,o,i)}}function gf(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===G&&(p=d?K:void 0);let f=d?Bo(p,r):u===r?p:void 0;if(l&&!ki(f)&&(f=Bo(c,r)),ki(f)&&(a=f,s))return a;let h=e[o+1];o=s?en(h):Ln(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Bo(c,r))}return a}function ki(e){return e!==void 0}function vC(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=qe(tn(e)))),e}function yg(e,t){return(e.flags&(t?8:16))!==0}function IC(e,t=""){let n=y(),r=A(),o=e+S,i=r.firstCreatePass?nn(r,o,1,t,null):r.data[o],s=EC(r,n,i,t,e);n[o]=s,mr()&&Kc(r,n,s,i),Fe(i,!1)}var EC=(e,t,n,r,o)=>(_n(!0),up(t[x],r));function vg(e,t,n,r=""){return te(e,Ce(),n)?t+le(n)+r:G}function DC(e,t,n,r,o,i=""){let s=Yo(),a=Rr(e,s,n,o);return hr(2),a?t+le(n)+r+le(o)+i:G}function wC(e,t,n,r,o,i,s,a=""){let c=Yo(),l=Kp(e,c,n,o,s);return hr(3),l?t+le(n)+r+le(o)+i+le(s)+a:G}function Ig(e){return Al("",e),Ig}function Al(e,t,n){let r=y(),o=vg(r,e,t,n);return o!==G&&Ol(r,me(),o),Al}function Eg(e,t,n,r,o){let i=y(),s=DC(i,e,t,n,r,o);return s!==G&&Ol(i,me(),s),Eg}function Dg(e,t,n,r,o,i,s){let a=y(),c=wC(a,e,t,n,r,o,i,s);return c!==G&&Ol(a,me(),c),Dg}function Ol(e,t,n){let r=ur(t,e);dp(e[x],r,n)}function wg(e,t,n){Sa(t)&&(t=t());let r=y(),o=Ce();if(te(r,o,t)){let i=A(),s=Tn();Xc(s,r,e,t,r[x],n)}return wg}function CC(e,t){let n=Sa(e);return n&&e.set(t),n}function Cg(e,t){let n=y(),r=A(),o=U();return og(r,n,n[x],o,e,t),Cg}var bg={};function Tg(e){let t=A(),n=y(),r=e+S,o=nn(t,r,128,null,null);return Fe(o,!1),dr(t,n,r,bg),Tg}function bC(e){Ve("NgLet");let t=A(),n=y(),r=me();return dr(t,n,r,e),e}function TC(e){let t=wa(),n=wn(t,S+e);if(n===bg)throw new b(314,!1);return n}function _C(e){return te(y(),Ce(),e)?le(e):G}function MC(e,t,n=""){return vg(y(),e,t,n)}function NC(e,t,n){let r=A();if(r.firstCreatePass){let o=Le(e);Ac(n,r.data,r.blueprint,o,!0),Ac(t,r.data,r.blueprint,o,!1)}}function Ac(e,t,n,r,o){if(e=Y(e),Array.isArray(e))for(let i=0;i<e.length;i++)Ac(e[i],t,n,r,o);else{let i=A(),s=y(),a=U(),c=Ft(e)?e:Y(e.provide),l=oa(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Ft(e)||!e.multi){let f=new Yt(l,o,Ur,null),h=qa(c,t,o?u:u+p,d);h===-1?(Ga(Ii(a,s),i,c),Ua(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=qa(c,t,u+p,d),h=qa(c,t,u,u+p),g=f>=0&&n[f],I=h>=0&&n[h];if(o&&!I||!o&&!g){Ga(Ii(a,s),i,c);let m=RC(o?SC:xC,n.length,o,r,l,e);!o&&I&&(n[h].providerFactory=m),Ua(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(m),s.push(m)}else{let m=_g(n[o?h:f],l,!o&&r);Ua(i,e,f>-1?f:h,m)}!o&&r&&I&&n[h].componentProviders++}}}function Ua(e,t,n,r){let o=Ft(t),i=nd(t);if(o||i){let c=(i?Y(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function _g(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function qa(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function xC(e,t,n,r,o){return Oc(this.multi,[])}function SC(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=_r(r,r[v],this.providerFactory.index,o);s=c.slice(0,a),Oc(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Oc(i,s);return s}function Oc(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function RC(e,t,n,r,o,i){let s=new Yt(e,n,Ur,null);return s.multi=[],s.index=t,s.componentProviders=0,_g(s,o,r&&!n),s}function AC(e,t=[]){return n=>{n.providersResolver=(r,o)=>NC(r,o?o(e):e,t)}}function OC(e,t,n){let r=ht()+e,o=y();return o[r]===G?qr(o,r,n?t.call(n):t()):gE(o,r)}function kC(e,t,n,r){return Mg(y(),ht(),e,t,n,r)}function PC(e,t,n,r,o){return Ng(y(),ht(),e,t,n,r,o)}function LC(e,t,n,r,o,i,s){return jC(y(),ht(),e,t,n,r,o,i,s)}function Xi(e,t){let n=e[t];return n===G?void 0:n}function Mg(e,t,n,r,o,i){let s=t+n;return te(e,s,o)?qr(e,s+1,i?r.call(i,o):r(o)):Xi(e,s+1)}function Ng(e,t,n,r,o,i,s){let a=t+n;return Rr(e,a,o,i)?qr(e,a+2,s?r.call(s,o,i):r(o,i)):Xi(e,a+2)}function FC(e,t,n,r,o,i,s,a){let c=t+n;return Kp(e,c,o,i,s)?qr(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Xi(e,c+3)}function jC(e,t,n,r,o,i,s,a,c){let l=t+n;return mE(e,l,o,i,s,a)?qr(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Xi(e,l+4)}function VC(e,t){let n=A(),r,o=e+S;n.firstCreatePass?(r=HC(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=it(r.type,!0)),s,a=ne(Ur);try{let c=vi(!1),l=i();return vi(c),dr(n,y(),o,l),l}finally{ne(a)}}function HC(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function BC(e,t,n){let r=e+S,o=y(),i=wn(o,r);return kl(o,r)?Mg(o,ht(),t,i.transform,n,i):i.transform(n)}function $C(e,t,n,r){let o=e+S,i=y(),s=wn(i,o);return kl(i,o)?Ng(i,ht(),t,s.transform,n,r,s):s.transform(n,r)}function UC(e,t,n,r,o){let i=e+S,s=y(),a=wn(s,i);return kl(s,i)?FC(s,ht(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function kl(e,t){return e[v].data[t].pure}function qC(e,t){return Gi(e,t)}var Pi=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},WC=(()=>{class e{compileModuleSync(n){return new Mi(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Xs(n),i=ap(o.declarations).reduce((s,a)=>{let c=Ie(a);return c&&s.push(new Dt(c)),s},[]);return new Pi(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var GC=(()=>{class e{zone=w(re);changeDetectionScheduler=w(fe);applicationRef=w(zr);applicationErrorHandler=w(ze);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function xg({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new re(Q(z({},Sg()),{scheduleInRootZone:n})),[{provide:re,useFactory:e},{provide:Ht,multi:!0,useFactory:()=>{let r=w(GC,{optional:!0});return()=>r.initialize()}},{provide:Ht,multi:!0,useFactory:()=>{let r=w(zC);return()=>{r.initialize()}}},t===!0?{provide:Ra,useValue:!0}:[],{provide:ti,useValue:n??Eh},{provide:ze,useFactory:()=>{let r=w(re),o=w(ce),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(Re),i.handleError(s))})}}}]}function Sg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var zC=(()=>{class e{subscription=new B;initialized=!1;zone=w(re);pendingTasks=w(yt);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{re.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{re.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Pl=(()=>{class e{applicationErrorHandler=w(ze);appRef=w(zr);taskService=w(yt);ngZone=w(re);zonelessEnabled=w(yr);tracing=w(Gr,{optional:!0});disableScheduling=w(Ra,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new B;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(xi):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(w(ti,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof kr||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Yd:Dh;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(xi+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Yd(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function QC(){return Ve("NgZoneless"),ta([{provide:fe,useExisting:Pl},{provide:re,useClass:kr},{provide:yr,useValue:!0},{provide:ti,useValue:!1},[]])}function ZC(){return typeof $localize<"u"&&$localize.locale||Qr}var Ll=new R("",{providedIn:"root",factory:()=>w(Ll,{optional:!0,skipSelf:!0})||ZC()}),YC=new R("",{providedIn:"root",factory:()=>rw});var Zr=class{destroyed=!1;listeners=null;errorHandler=w(Re,{optional:!0});destroyRef=w(Ge);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new b(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(gn(953,!1));return}if(this.listeners===null)return;let n=E(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{E(n)}}};function Te(e){return ju(e)}function rn(e,t){return Gn(e,t?.equal)}var Fl=class{[F];constructor(t){this[F]=t}destroy(){this[F].destroy()}};function Og(e,t){let n=t?.injector??w(ve),r=t?.manualCleanup!==!0?n.get(Ge):null,o,i=n.get(Nn,null,{optional:!0}),s=n.get(fe);return i!==null?(o=XC(i.view,s,e),r instanceof or&&r._lView===i.view&&(r=null)):o=eb(e,n.get(Ir),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Fl(o)}var kg=Q(z({},Me),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:zt,run(){if(this.dirty=!1,this.hasRun&&!_t(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=Ne(this),n=bn(!1);try{this.maybeCleanup(),this.fn(e)}finally{bn(n),Be(this,t)}},maybeCleanup(){if(!this.cleanupFns?.length)return;let e=E(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],E(e)}}}),KC=Q(z({},kg),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Mt(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),JC=Q(z({},kg),{consumerMarkedDirty(){this.view[D]|=8192,pt(this.view),this.notifier.notify(13)},destroy(){Mt(this),this.onDestroyFn(),this.maybeCleanup(),this.view[We]?.delete(this)}});function XC(e,t,n){let r=Object.create(JC);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[We]??=new Set,e[We].add(r),r.consumerMarkedDirty(r),r}function eb(e,t,n){let r=Object.create(KC);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}var tb=e=>e;function jl(e,t){if(typeof e=="function"){let n=Ms(e,tb,t?.equal);return Rg(n)}else{let n=Ms(e.source,e.computation,e.equal);return Rg(n)}}function Rg(e){let t=e[F],n=e;return n.set=r=>Lu(t,r),n.update=r=>Fu(t,r),n.asReadonly=Mn.bind(e),n}var Pg=!0;function nb(e){let t=e.request,n=e.params??t??(()=>null);return new es(n,ob(e),e.defaultValue,e.equal?rb(e.equal):void 0,e.injector??w(ve),Pg)}var Vl=class{value;constructor(t){this.value=t,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=Mn}isError=rn(()=>this.status()==="error");update(t){this.set(t(Te(this.value)))}isLoading=rn(()=>this.status()==="loading"||this.status()==="reloading");isValueDefined=rn(()=>this.isError()?!1:this.value()!==void 0);hasValue(){return this.isValueDefined()}asReadonly(){return this}},es=class extends Vl{loaderFn;equal;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;constructor(t,n,r,o,i,s=Pg){super(rn(()=>{let a=this.state().stream?.();if(!a||this.state().status==="loading"&&this.error())return r;if(!Hl(a)){if(s)throw new Bl(this.error());return r}return a.value},{equal:o})),this.loaderFn=n,this.equal=o,this.extRequest=jl({source:t,computation:a=>({request:a,reload:0})}),this.state=jl({source:this.extRequest,computation:(a,c)=>{let l=a.request===void 0?"idle":"loading";return c?{extRequest:a,status:l,previousStatus:Ag(c.value),stream:c.value.extRequest.request===a.request?c.value.stream:void 0}:{extRequest:a,status:l,previousStatus:"idle",stream:void 0}}}),this.effectRef=Og(this.loadEffect.bind(this),{injector:i,manualCleanup:!0}),this.pendingTasks=i.get(vr),this.unregisterOnDestroy=i.get(Ge).onDestroy(()=>this.destroy())}status=rn(()=>Ag(this.state()));error=rn(()=>{let t=this.state().stream?.();return t&&!Hl(t)?t.error:void 0});set(t){if(this.destroyed)return;let n=Te(this.error),r=Te(this.state);if(!n){let o=Te(this.value);if(r.status==="local"&&(this.equal?this.equal(o,t):o===t))return}this.state.set({extRequest:r.extRequest,status:"local",previousStatus:"local",stream:mt({value:t})}),this.abortInProgressLoad()}reload(){let{status:t}=Te(this.state);return t==="idle"||t==="loading"?!1:(this.extRequest.update(({request:n,reload:r})=>({request:n,reload:r+1})),!0)}destroy(){this.destroyed=!0,this.unregisterOnDestroy(),this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:"idle",previousStatus:"idle",stream:void 0})}async loadEffect(){let t=this.extRequest(),{status:n,previousStatus:r}=Te(this.state);if(t.request===void 0)return;if(n!=="loading")return;this.abortInProgressLoad();let o=this.resolvePendingTask=this.pendingTasks.add(),{signal:i}=this.pendingController=new AbortController;try{let s=await Te(()=>this.loaderFn({params:t.request,request:t.request,abortSignal:i,previous:{status:r}}));if(i.aborted||Te(this.extRequest)!==t)return;this.state.set({extRequest:t,status:"resolved",previousStatus:"resolved",stream:s})}catch(s){if(i.aborted||Te(this.extRequest)!==t)return;this.state.set({extRequest:t,status:"resolved",previousStatus:"error",stream:mt({error:Ul(s)})})}finally{o?.(),o=void 0}}abortInProgressLoad(){Te(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function rb(e){return(t,n)=>t===void 0||n===void 0?t===n:e(t,n)}function ob(e){return ib(e)?e.stream:async t=>{try{return mt({value:await e.loader(t)})}catch(n){return mt({error:Ul(n)})}}}function ib(e){return!!e.stream}function Ag(e){switch(e.status){case"loading":return e.extRequest.reload===0?"loading":"reloading";case"resolved":return Hl(e.stream())?"resolved":"error";default:return e.status}}function Hl(e){return e.error===void 0}function Ul(e){return e instanceof Error?e:new $l(e)}var Bl=class extends Error{constructor(t){super(t.message,{cause:t})}},$l=class extends Error{constructor(t){super(String(t),{cause:t})}};var rs=Symbol("InputSignalNode#UNSET"),Gg=Q(z({},eo),{transformFn:void 0,applyValueToInputSignal(e,t){tt(e,t)}});function zg(e,t){let n=Object.create(Gg);n.value=e,n.transformFn=t?.transform;function r(){if(et(n),n.value===rs){let o=null;throw new b(-950,o)}return n.value}return r[F]=n,r}var Lg=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Of(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},ab=new R("");ab.__NG_ELEMENT_ID__=e=>{let t=U();if(t===null)throw new b(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new b(204,!1)};function o0(e){return new Zr}function Fg(e,t){return zg(e,t)}function cb(e){return zg(rs,e)}var i0=(Fg.required=cb,Fg);function jg(e,t){return gl(t)}function lb(e,t){return ml(t)}var s0=(jg.required=lb,jg);function Vg(e,t){return gl(t)}function ub(e,t){return ml(t)}var a0=(Vg.required=ub,Vg);function Qg(e,t){let n=Object.create(Gg),r=new Zr;n.value=e;function o(){return et(n),Hg(n.value),n.value}return o[F]=n,o.asReadonly=Mn.bind(o),o.set=i=>{n.equal(n.value,i)||(tt(n,i),r.emit(i))},o.update=i=>{Hg(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Hg(e){if(e===rs)throw new b(952,!1)}function Bg(e,t){return Qg(e,t)}function db(e){return Qg(rs,e)}var c0=(Bg.required=db,Bg);var $g=class{full;major;minor;patch;constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}};var ql=new R(""),fb=new R("");function Yr(e){return!e.moduleRef}function pb(e){let t=Yr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(re);return n.run(()=>{Yr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(ze),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Yr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(ql);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(ql);s.add(i),e.moduleRef.onDestroy(()=>{wr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return gb(r,n,()=>{let i=t.get(yt),s=i.add(),a=t.get(Cl);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Ll,Qr);if(qh(c||Qr),!t.get(fb,!0))return Yr(e)?t.get(zr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Yr(e)){let u=t.get(zr);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return hb?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var hb;function gb(e,t,n){try{let r=n();return wl(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var ts=null;function mb(e=[],t){return ve.create({name:t,providers:[{provide:ra,useValue:"platform"},{provide:ql,useValue:new Set([()=>ts=null])},...e]})}function yb(e=[]){if(ts)return ts;let t=mb(e);return ts=t,Sh(),vb(t),t}function vb(e){let t=e.get(Hf,null);qo(e,()=>{t?.forEach(n=>n())})}var l0=(()=>{class e{static __NG_ELEMENT_ID__=Ib}return e})();function Ib(e){return Eb(U(),y(),(e&16)===16)}function Eb(e,t,n){if(dt(e)&&!n){let r=ge(e.index,t);return new Et(r,r)}else if(e.type&175){let r=t[ee];return new Et(r,t)}return null}var Wl=class{constructor(){}supports(t){return fl(t)}create(t){return new Gl(t)}},Db=(e,t)=>t,Gl=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||Db}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<Ug(r,o,i)?n:r,a=Ug(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;u<=h&&h<l&&(i[p]=f+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!fl(t))throw new b(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,Yp(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new zl(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new ns),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new ns),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},zl=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},Ql=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},ns=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Ql,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Ug(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var Zl=class{constructor(){}supports(t){return t instanceof Map||Zi(t)}create(){return new Yl}},Yl=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Zi(t)))throw new b(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Kl(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},Kl=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function qg(){return new wb([new Wl])}var wb=(()=>{class e{factories;static \u0275prov=j({token:e,providedIn:"root",factory:qg});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||qg()),deps:[[e,new Pc,new kc]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new b(901,!1)}}return e})();function Wg(){return new Cb([new Zl])}var Cb=(()=>{class e{static \u0275prov=j({token:e,providedIn:"root",factory:Wg});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Wg()),deps:[[e,new Pc,new kc]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new b(901,!1)}}return e})();function u0(e){O(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=yb(r),i=[xg({}),{provide:fe,useExisting:Pl},_d,...n||[]],s=new Or({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return pb({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}finally{O(9)}}function d0(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function f0(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function p0(e,t){let n=Ie(e),r=t.elementInjector||yn();return new Dt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function h0(e){let t=Ie(e);if(!t)return null;let n=new Dt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}export{F as a,tt as b,Xr as c,B as d,om as e,N as f,Ds as g,ws as h,de as i,Yn as j,Kn as k,At as l,rt as m,hm as n,vm as o,Im as p,Ot as q,ot as r,Mm as s,kt as t,Cs as u,Mo as v,xm as w,Sm as x,bs as y,Jn as z,Am as A,Is as B,Om as C,gm as D,Xn as E,Co as F,mm as G,Tu as H,Pm as I,Ts as J,Lm as K,Fm as L,jm as M,Vm as N,Hm as O,_u as P,Mu as Q,Pu as R,b as S,gn as T,Lo as U,j as V,Wu as W,qm as X,R as Y,Se as Z,w as _,ta as $,ra as aa,ce as ba,qo as ca,uy as da,dd as ea,fd as fa,wd as ga,Cd as ha,ve as ia,hy as ja,Ge as ka,Re as la,ze as ma,xa as na,mt as oa,yt as pa,vr as qa,Ty as ra,Uy as sa,Of as ta,Fr as ua,Yy as va,Ky as wa,Hf as xa,Xy as ya,ev as za,Bf as Aa,tv as Ba,On as Ca,tn as Da,Vi as Ea,cv as Fa,lv as Ga,uv as Ha,dv as Ia,fv as Ja,Hi as Ka,op as La,Vr as Ma,Mv as Na,ip as Oa,xv as Pa,kv as Qa,Jv as Ra,Di as Sa,xr as Ta,Sr as Ua,rE as Va,Ur as Wa,Yi as Xa,Ve as Ya,kn as Za,dh as _a,VE as $a,yl as ab,BE as bb,UE as cb,GE as db,zE as eb,hh as fb,mh as gb,yh as hb,Gr as ib,Ze as jb,re as kb,vD as lb,AD as mb,wl as nb,Mh as ob,xh as pb,zr as qb,jD as rb,VD as sb,Oh as tb,BD as ub,$D as vb,UD as wb,qD as xb,WD as yb,kh as zb,Tl as Ab,_l as Bb,Ph as Cb,Ml as Db,Nl as Eb,Lh as Fb,xl as Gb,Sl as Hb,jh as Ib,ZD as Jb,Vh as Kb,JD as Lb,Rl as Mb,XD as Nb,Hh as Ob,Pn as Pb,Xh as Qb,eg as Rb,Ow as Sb,tg as Tb,kw as Ub,Pw as Vb,ng as Wb,rg as Xb,Lw as Yb,jw as Zb,Vw as _b,Bw as $b,$w as ac,Uw as bc,qw as cc,Ww as dc,Gw as ec,zw as fc,Qw as gc,lg as hc,ug as ic,aC as jc,lC as kc,IC as lc,Ig as mc,Al as nc,Eg as oc,Dg as pc,wg as qc,CC as rc,Cg as sc,Tg as tc,bC as uc,TC as vc,_C as wc,MC as xc,AC as yc,OC as zc,kC as Ac,PC as Bc,LC as Cc,VC as Dc,BC as Ec,$C as Fc,UC as Gc,qC as Hc,WC as Ic,QC as Jc,Ll as Kc,YC as Lc,Zr as Mc,Te as Nc,rn as Oc,Og as Pc,nb as Qc,Ul as Rc,Lg as Sc,o0 as Tc,i0 as Uc,s0 as Vc,a0 as Wc,c0 as Xc,$g as Yc,l0 as Zc,wb as _c,Cb as $c,u0 as ad,d0 as bd,f0 as cd,p0 as dd,h0 as ed};
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Nt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var B=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(T(r))try{r()}catch(i){t=i instanceof to?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{iu(i)}catch(s){t=t??[],s instanceof to?t=[...t,...s.errors]:t.push(s)}}if(t)throw new to(t)}}add(t){var n;if(t&&t!==this)if(this.closed)iu(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Nt(n,t)}remove(t){let{_finalizers:n}=this;n&&Nt(n,t),t instanceof e&&t._removeParent(this)}};B.EMPTY=(()=>{let e=new B;return e.closed=!0,e})();var ds=B.EMPTY;function no(e){return e instanceof B||e&&"closed"in e&&T(e.remove)&&T(e.add)&&T(e.unsubscribe)}function iu(e){T(e)?e():e.unsubscribe()}var ye={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var cn={setTimeout(e,t,...n){let{delegate:r}=cn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=cn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ro(e){cn.setTimeout(()=>{let{onUnhandledError:t}=ye;if(t)t(e);else throw e})}function zn(){}var su=fs("C",void 0,void 0);function au(e){return fs("E",void 0,e)}function cu(e){return fs("N",e,void 0)}function fs(e,t,n){return{kind:e,value:t,error:n}}var xt=null;function ln(e){if(ye.useDeprecatedSynchronousErrorHandling){let t=!xt;if(t&&(xt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=xt;if(xt=null,n)throw r}}else e()}function lu(e){ye.useDeprecatedSynchronousErrorHandling&&xt&&(xt.errorThrown=!0,xt.error=e)}var St=class extends B{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,no(t)&&t.add(this)):this.destination=rm}static create(t,n,r){return new $e(t,n,r)}next(t){this.isStopped?hs(cu(t),this):this._next(t)}error(t){this.isStopped?hs(au(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?hs(su,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},tm=Function.prototype.bind;function ps(e,t){return tm.call(e,t)}var gs=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){oo(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){oo(r)}else oo(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){oo(n)}}},$e=class extends St{constructor(t,n,r){super();let o;if(T(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ye.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&ps(t.next,i),error:t.error&&ps(t.error,i),complete:t.complete&&ps(t.complete,i)}):o=t}this.destination=new gs(o)}};function oo(e){ye.useDeprecatedSynchronousErrorHandling?lu(e):ro(e)}function nm(e){throw e}function hs(e,t){let{onStoppedNotification:n}=ye;n&&cn.setTimeout(()=>n(e,t))}var rm={closed:!0,next:zn,error:nm,complete:zn};var un=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Z(e){return e}function om(...e){return ms(e)}function ms(e){return e.length===0?Z:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var N=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=sm(n)?n:new $e(n,r,o);return ln(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=uu(r),new r((o,i)=>{let s=new $e({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[un](){return this}pipe(...n){return ms(n)(this)}toPromise(n){return n=uu(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function uu(e){var t;return(t=e??ye.Promise)!==null&&t!==void 0?t:Promise}function im(e){return e&&T(e.next)&&T(e.error)&&T(e.complete)}function sm(e){return e&&e instanceof St||im(e)&&no(e)}var du=an(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var de=(()=>{class e extends N{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new io(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new du}next(n){ln(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){ln(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){ln(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?ds:(this.currentObservers=null,i.push(n),new B(()=>{this.currentObservers=null,Nt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new N;return n.source=this,n}}return e.create=(t,n)=>new io(t,n),e})(),io=class extends de{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:ds}};function so(e){return e&&T(e.schedule)}function fu(e){return e[e.length-1]}function dn(e){return T(fu(e))?e.pop():void 0}function rt(e){return so(fu(e))?e.pop():void 0}function hu(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function pu(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Rt(e){return this instanceof Rt?(this.v=e,this):new Rt(e)}function gu(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(g){return new Promise(function(I,m){i.push([f,g,I,m])>1||c(f,g)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(g){p(i[0][3],g)}}function l(f){f.value instanceof Rt?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function mu(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof pu=="function"?pu(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var ao=e=>e&&typeof e.length=="number"&&typeof e!="function";function co(e){return T(e?.then)}function lo(e){return T(e[un])}function uo(e){return Symbol.asyncIterator&&T(e?.[Symbol.asyncIterator])}function fo(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function am(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var po=am();function ho(e){return T(e?.[po])}function go(e){return gu(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Rt(n.read());if(o)return yield Rt(void 0);yield yield Rt(r)}}finally{n.releaseLock()}})}function mo(e){return T(e?.getReader)}function P(e){if(e instanceof N)return e;if(e!=null){if(lo(e))return cm(e);if(ao(e))return lm(e);if(co(e))return um(e);if(uo(e))return yu(e);if(ho(e))return dm(e);if(mo(e))return fm(e)}throw fo(e)}function cm(e){return new N(t=>{let n=e[un]();if(T(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function lm(e){return new N(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function um(e){return new N(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,ro)})}function dm(e){return new N(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function yu(e){return new N(t=>{pm(e,t).catch(n=>t.error(n))})}function fm(e){return yu(go(e))}function pm(e,t){var n,r,o,i;return hu(this,void 0,void 0,function*(){try{for(n=mu(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function oe(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function ys(e){return T(e?.lift)}function M(e){return t=>{if(ys(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function C(e,t,n,r,o){return new vs(e,t,n,r,o)}var vs=class extends St{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function yo(e,t=0){return M((n,r)=>{n.subscribe(C(r,o=>oe(r,e,()=>r.next(o),t),()=>oe(r,e,()=>r.complete(),t),o=>oe(r,e,()=>r.error(o),t)))})}function vo(e,t=0){return M((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function vu(e,t){return P(e).pipe(vo(t),yo(t))}function Iu(e,t){return P(e).pipe(vo(t),yo(t))}function Eu(e,t){return new N(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Du(e,t){return new N(n=>{let r;return oe(n,t,()=>{r=e[po](),oe(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>T(r?.return)&&r.return()})}function Io(e,t){if(!e)throw new Error("Iterable cannot be null");return new N(n=>{oe(n,t,()=>{let r=e[Symbol.asyncIterator]();oe(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function wu(e,t){return Io(go(e),t)}function Cu(e,t){if(e!=null){if(lo(e))return vu(e,t);if(ao(e))return Eu(e,t);if(co(e))return Iu(e,t);if(uo(e))return Io(e,t);if(ho(e))return Du(e,t);if(mo(e))return wu(e,t)}throw fo(e)}function ot(e,t){return t?Cu(e,t):P(e)}function hm(...e){let t=rt(e);return ot(e,t)}function it(e,t){return M((n,r)=>{let o=0;n.subscribe(C(r,i=>{r.next(e.call(t,i,o++))}))})}function Is(e){return M((t,n)=>{let r=null,o=!1,i;r=t.subscribe(C(n,void 0,void 0,s=>{i=P(e(s,Is(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}var Eo=class extends B{constructor(t,n){super()}schedule(t,n=0){return this}};var Qn={setInterval(e,t,...n){let{delegate:r}=Qn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Qn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Do=class extends Eo{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return Qn.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Qn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Nt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Zn={now(){return(Zn.delegate||Date).now()},delegate:void 0};var fn=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};fn.now=Zn.now;var wo=class extends fn{constructor(t,n=fn.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Es=new wo(Do),bu=Es;function gm(e,t=Es){return M((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(C(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}var At=new N(e=>e.complete());function Co(e){return e<=0?()=>At:M((t,n)=>{let r=0;t.subscribe(C(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function mm(e,t=Z){return e=e??ym,M((n,r)=>{let o,i=!0;n.subscribe(C(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function ym(e,t){return e===t}function Tu(e){return M((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function _u(e,t){return M((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(C(r,c=>{o?.unsubscribe();let l=0,u=i++;P(e(c,u)).subscribe(o=C(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Mu(e){return M((t,n)=>{P(e).subscribe(C(n,()=>n.complete(),zn)),!n.closed&&t.subscribe(n)})}function Ds(){return M((e,t)=>{let n=null;e._refCount++;let r=C(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var ws=class extends N{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,ys(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new B;let n=this.getSubject();t.add(this.source.subscribe(C(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=B.EMPTY)}return t}refCount(){return Ds()(this)}};var Yn=class extends de{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Kn=class extends de{constructor(t=1/0,n=1/0,r=Zn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};function vm(e,t){let n=T(e)?e:()=>e,r=o=>o.error(n());return new N(t?o=>t.schedule(r,0,o):r)}function Im(e){return!!e&&(e instanceof N||T(e.lift)&&T(e.subscribe))}var Ot=an(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Nu(e){return e instanceof Date&&!isNaN(e)}var{isArray:Em}=Array;function Dm(e,t){return Em(t)?e(...t):e(t)}function bo(e){return it(t=>Dm(e,t))}var{isArray:wm}=Array,{getPrototypeOf:Cm,prototype:bm,keys:Tm}=Object;function To(e){if(e.length===1){let t=e[0];if(wm(t))return{args:t,keys:null};if(_m(t)){let n=Tm(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function _m(e){return e&&typeof e=="object"&&Cm(e)===bm}function _o(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Mm(...e){let t=rt(e),n=dn(e),{args:r,keys:o}=To(e);if(r.length===0)return ot([],t);let i=new N(Nm(r,t,o?s=>_o(o,s):Z));return n?i.pipe(bo(n)):i}function Nm(e,t,n=Z){return r=>{xu(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)xu(t,()=>{let l=ot(e[c],t),u=!1;l.subscribe(C(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function xu(e,t,n){e?oe(n,e,t):t()}function Su(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=g=>l<r?h(g):c.push(g),h=g=>{i&&t.next(g),l++;let I=!1;P(n(g,u++)).subscribe(C(t,m=>{o?.(m),i?f(m):t.next(m)},()=>{I=!0},void 0,()=>{if(I)try{for(l--;c.length&&l<r;){let m=c.shift();s?oe(t,s,()=>h(m)):h(m)}p()}catch(m){t.error(m)}}))};return e.subscribe(C(t,f,()=>{d=!0,p()})),()=>{a?.()}}function kt(e,t,n=1/0){return T(t)?kt((r,o)=>it((i,s)=>t(r,i,o,s))(P(e(r,o))),n):(typeof t=="number"&&(n=t),M((r,o)=>Su(r,o,e,n)))}function Cs(e=1/0){return kt(Z,e)}function Ru(){return Cs(1)}function Mo(...e){return Ru()(ot(e,rt(e)))}function xm(e){return new N(t=>{P(e()).subscribe(t)})}function Sm(...e){let t=dn(e),{args:n,keys:r}=To(e),o=new N(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;P(n[u]).subscribe(C(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?_o(r,a):a),i.complete())}))}});return t?o.pipe(bo(t)):o}function bs(e=0,t,n=bu){let r=-1;return t!=null&&(so(t)?n=t:r=t),new N(o=>{let i=Nu(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}var{isArray:Rm}=Array;function Au(e){return e.length===1&&Rm(e[0])?e[0]:e}function Jn(e,t){return M((n,r)=>{let o=0;n.subscribe(C(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Am(...e){let t=dn(e),n=Au(e);return n.length?new N(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)P(n[s]).subscribe(C(r,a=>{if(o[s].push(a),o.every(c=>c.length)){let c=o.map(l=>l.shift());r.next(t?t(...c):c),o.some((l,u)=>!l.length&&i[u])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):At}function Ou(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(C(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Om(e,t){return T(t)?kt(e,t,1):kt(e,1)}function Xn(e){return M((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function No(e=km){return M((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function km(){return new Ot}function Pm(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Jn((o,i)=>e(o,i,r)):Z,Co(1),n?Xn(t):No(()=>new Ot))}function Ts(e){return e<=0?()=>At:M((t,n)=>{let r=[];t.subscribe(C(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Lm(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Jn((o,i)=>e(o,i,r)):Z,Ts(1),n?Xn(t):No(()=>new Ot))}function Fm(e=1/0){let t;e&&typeof e=="object"?t=e:t={count:e};let{count:n=1/0,delay:r,resetOnSuccess:o=!1}=t;return n<=0?Z:M((i,s)=>{let a=0,c,l=()=>{let u=!1;c=i.subscribe(C(s,d=>{o&&(a=0),s.next(d)},void 0,d=>{if(a++<n){let p=()=>{c?(c.unsubscribe(),c=null,l()):u=!0};if(r!=null){let f=typeof r=="number"?bs(r):P(r(d,a)),h=C(s,()=>{h.unsubscribe(),p()},()=>{s.complete()});f.subscribe(h)}else p()}else s.error(d)})),u&&(c.unsubscribe(),c=null,l())};l()})}function jm(e,t){return M(Ou(e,t,arguments.length>=2,!0))}function ku(e={}){let{connector:t=()=>new de,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let g=s;f(),g?.unsubscribe()};return M((g,I)=>{l++,!d&&!u&&p();let m=c=c??t();I.add(()=>{l--,l===0&&!d&&!u&&(a=_s(h,o))}),m.subscribe(I),!s&&l>0&&(s=new $e({next:L=>m.next(L),error:L=>{d=!0,p(),a=_s(f,n,L),m.error(L)},complete:()=>{u=!0,p(),a=_s(f,r),m.complete()}}),P(g).subscribe(s))})(i)}}function _s(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new $e({next:()=>{r.unsubscribe(),e()}});return P(t(...n)).subscribe(r)}function Vm(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,ku({connector:()=>new Kn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Hm(...e){let t=rt(e);return M((n,r)=>{(t?Mo(e,n,t):Mo(e,n)).subscribe(r)})}function Pu(e,t,n){let r=T(e)||t||n?{next:e,error:t,complete:n}:e;return r?M((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(C(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):Z}function Ms(e,t,n){let r=Object.create(Bm);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(_t(r),et(r),r.value===He)throw r.error;return r.value};return i[F]=r,Wn(r),i}function Lu(e,t){_t(e),nt(e,t),on(e)}function Fu(e,t){_t(e),Xr(e,t),on(e)}var Bm=Q(z({},Me),{value:Xe,dirty:!0,error:null,equal:qn,kind:"linkedSignal",producerMustRecompute(e){return e.value===Xe||e.value===Tt},producerRecomputeValue(e){if(e.value===Tt)throw new Error("");let t=e.value;e.value=Tt;let n=Ne(e),r;try{let o=e.source(),i=t===Xe||t===He?void 0:{source:e.sourceValue,value:t};r=e.computation(o,i),e.sourceValue=o}catch(o){r=He,e.error=o}finally{Be(e,n)}if(t!==Xe&&r!==He&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function ju(e){let t=E(null);try{return e()}finally{E(t)}}var Ns;function xo(){return Ns}function xe(e){let t=Ns;return Ns=e,t}var Vu=Symbol("NotFound");function pn(e){return e===Vu||e?.name==="\u0275NotFound"}var ko="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(t,n){super(gn(t,n)),this.code=t}};function $m(e){return`NG0${Math.abs(e)}`}function gn(e,t){return`${$m(e)}${t?": "+t:""}`}var Ae=globalThis;function k(e){for(let t in e)if(e[t]===k)return t;throw Error("")}function $u(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function qe(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(qe).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
4
+ `);return r>=0?n.slice(0,r):n}function Po(e,t){return e?t?`${e} ${t}`:e:t||""}var Um=k({__forward_ref__:k});function Lo(e){return e.__forward_ref__=Lo,e.toString=function(){return qe(this())},e}function Y(e){return Hs(e)?e():e}function Hs(e){return typeof e=="function"&&e.hasOwnProperty(Um)&&e.__forward_ref__===Lo}function Uu(e,t,n){e!=t&&Fo(n,e,t,"==")}function qu(e,t){e==null&&Fo(t,e,null,"!=")}function Fo(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(r==null?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function j(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Wu(e){return{providers:e.providers||[],imports:e.imports||[]}}function ir(e){return Wm(e,jo)}function qm(e){return ir(e)!==null}function Wm(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Gm(e){let t=e?.[jo]??null;return t||null}function Ss(e){return e&&e.hasOwnProperty(Ro)?e[Ro]:null}var jo=k({\u0275prov:k}),Ro=k({\u0275inj:k}),R=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=j({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Bs(e){return e&&!!e.\u0275providers}var $s=k({\u0275cmp:k}),Us=k({\u0275dir:k}),qs=k({\u0275pipe:k}),Ws=k({\u0275mod:k}),nr=k({\u0275fac:k}),Vt=k({__NG_ELEMENT_ID__:k}),Hu=k({__NG_ENV_ID__:k});function le(e){return typeof e=="string"?e:e==null?"":String(e)}function Ao(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():le(e)}var Gs=k({ngErrorCode:k}),Gu=k({ngErrorMessage:k}),tr=k({ngTokenPath:k});function zs(e,t){return zu("",-200,t)}function Vo(e,t){throw new b(-201,!1)}function zm(e,t){e[tr]??=[];let n=e[tr],r;typeof t=="object"&&"multi"in t&&t?.multi===!0?(qu(t.provide,"Token with multi: true should have a provide property"),r=Ao(t.provide)):r=Ao(t),n[0]!==r&&e[tr].unshift(r)}function Qm(e,t){let n=e[tr],r=e[Gs],o=e[Gu]||e.message;return e.message=Ym(o,r,n,t),e}function zu(e,t,n){let r=new b(t,e);return r[Gs]=t,r[Gu]=e,n&&(r[tr]=n),r}function Zm(e){return e[Gs]}function Ym(e,t,n=[],r=null){let o="";n&&n.length>1&&(o=` Path: ${n.join(" -> ")}.`);let i=r?` Source: ${r}.`:"";return gn(t,`${e}${i}${o}`)}var Rs;function Qu(){return Rs}function ne(e){let t=Rs;return Rs=e,t}function Qs(e,t,n){let r=ir(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;Vo(e,"Injector")}var Km={},Pt=Km,As="__NG_DI_FLAG__",Os=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Lt(n)||0;try{return this.injector.get(t,r&8?null:Pt,r)}catch(o){if(pn(o))return o;throw o}}};function Jm(e,t=0){let n=xo();if(n===void 0)throw new b(-203,!1);if(n===null)return Qs(e,void 0,t);{let r=Xm(t),o=n.retrieve(e,r);if(pn(o)){if(r.optional)return null;throw o}return o}}function Se(e,t=0){return(Qu()||Jm)(Y(e),t)}function w(e,t){return Se(e,Lt(t))}function Lt(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Xm(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function ks(e){let t=[];for(let n=0;n<e.length;n++){let r=Y(e[n]);if(Array.isArray(r)){if(r.length===0)throw new b(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=ey(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(Se(o,i))}else t.push(Se(r))}return t}function Zs(e,t){return e[As]=t,e.prototype[As]=t,e}function ey(e){return e[As]}function st(e,t){let n=e.hasOwnProperty(nr);return n?e[nr]:null}function Zu(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function Yu(e){return e.flat(Number.POSITIVE_INFINITY)}function Ho(e,t){e.forEach(n=>Array.isArray(n)?Ho(n,t):t(n))}function Ys(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function sr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ku(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Ju(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function ar(e,t,n){let r=mn(e,t);return r>=0?e[r|1]=n:(r=~r,Ju(e,r,t,n)),r}function Bo(e,t){let n=mn(e,t);if(n>=0)return e[n|1]}function mn(e,t){return ty(e,t,1)}function ty(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var ct={},K=[],Ht=new R(""),Ks=new R("",-1),Js=new R(""),rr=class{get(t,n=Pt){if(n===Pt){let o=zu("",-201);throw o.name="\u0275NotFound",o}return n}};function Xs(e){return e[Ws]||null}function Ie(e){return e[$s]||null}function $o(e){return e[Us]||null}function ea(e){return e[qs]||null}function ta(e){return{\u0275providers:e}}function Xu(...e){return{\u0275providers:Uo(!0,e),\u0275fromNgModule:!0}}function Uo(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ho(t,s=>{let a=s;Oo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&ed(o,i),n}function ed(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];na(o,i=>{t(i,r)})}}function Oo(e,t,n,r){if(e=Y(e),!e)return!1;let o=null,i=Ss(e),s=!i&&Ie(e);if(!i&&!s){let c=e.ngModule;if(i=Ss(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Oo(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{Ho(i.imports,u=>{Oo(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&ed(l,t)}if(!a){let l=st(o)||(()=>new o);t({provide:o,useFactory:l,deps:K},o),t({provide:Js,useValue:o,multi:!0},o),t({provide:Ht,useValue:()=>Se(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;na(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function na(e,t){for(let n of e)Bs(n)&&(n=n.\u0275providers),Array.isArray(n)?na(n,t):t(n)}var ny=k({provide:String,useValue:k});function td(e){return e!==null&&typeof e=="object"&&ny in e}function ry(e){return!!(e&&e.useExisting)}function oy(e){return!!(e&&e.useFactory)}function Ft(e){return typeof e=="function"}function nd(e){return!!e.useClass}var ra=new R(""),So={},Bu={},xs;function yn(){return xs===void 0&&(xs=new rr),xs}var ce=class{},jt=class extends ce{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Ls(t,s=>this.processProvider(s)),this.records.set(Ks,hn(void 0,this)),o.has("environment")&&this.records.set(ce,hn(void 0,this));let i=this.records.get(ra);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Js,K,{self:!0}))}retrieve(t,n){let r=Lt(n)||0;try{return this.get(t,Pt,r)}catch(o){if(pn(o))return o;throw o}}destroy(){er(this),this._destroyed=!0;let t=E(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),E(t)}}onDestroy(t){return er(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){er(this);let n=xe(this),r=ne(void 0),o;try{return t()}finally{xe(n),ne(r)}}get(t,n=Pt,r){if(er(this),t.hasOwnProperty(Hu))return t[Hu](this);let o=Lt(r),i,s=xe(this),a=ne(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=ly(t)&&ir(t);u&&this.injectableDefInScope(u)?l=hn(Ps(t),So):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?yn():this.parent;return n=o&8&&n===Pt?null:n,c.get(t,n)}catch(c){let l=Zm(c);throw l===-200||l===-201?new b(l,null):c}finally{ne(a),xe(s)}}resolveInjectorInitializers(){let t=E(null),n=xe(this),r=ne(void 0),o;try{let i=this.get(Ht,K,{self:!0});for(let s of i)s()}finally{xe(n),ne(r),E(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(qe(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Y(t);let n=Ft(t)?t:Y(t&&t.provide),r=sy(t);if(!Ft(t)&&t.multi===!0){let o=this.records.get(n);o||(o=hn(void 0,So,!0),o.factory=()=>ks(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=E(null);try{if(n.value===Bu)throw zs(qe(t));return n.value===So&&(n.value=Bu,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&cy(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{E(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Y(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Ps(e){let t=ir(e),n=t!==null?t.factory:st(e);if(n!==null)return n;if(e instanceof R)throw new b(204,!1);if(e instanceof Function)return iy(e);throw new b(204,!1)}function iy(e){if(e.length>0)throw new b(204,!1);let n=Gm(e);return n!==null?()=>n.factory(e):()=>new e}function sy(e){if(td(e))return hn(void 0,e.useValue);{let t=oa(e);return hn(t,So)}}function oa(e,t,n){let r;if(Ft(e)){let o=Y(e);return st(o)||Ps(o)}else if(td(e))r=()=>Y(e.useValue);else if(oy(e))r=()=>e.useFactory(...ks(e.deps||[]));else if(ry(e))r=(o,i)=>Se(Y(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=Y(e&&(e.useClass||e.provide));if(ay(e))r=()=>new o(...ks(e.deps));else return st(o)||Ps(o)}return r}function er(e){if(e.destroyed)throw new b(205,!1)}function hn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ay(e){return!!e.deps}function cy(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function ly(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Ls(e,t){for(let n of e)Array.isArray(n)?Ls(n,t):n&&Bs(n)?Ls(n.\u0275providers,t):t(n)}function qo(e,t){let n;e instanceof jt?(er(e),n=e):n=new Os(e);let r,o=xe(n),i=ne(void 0);try{return t()}finally{xe(o),ne(i)}}function ia(){return Qu()!==void 0||xo()!=null}function uy(e){if(!ia())throw new b(-203,!1)}var Ee=0,v=1,D=2,$=3,pe=4,X=5,Bt=6,vn=7,V=8,he=9,Oe=10,x=11,In=12,sa=13,$t=14,ee=15,lt=16,Ut=17,ke=18,cr=19,aa=20,Ue=21,Wo=22,We=23,ue=24,qt=25,S=26,rd=1,ut=6,dt=7,lr=8,Wt=9,W=10;function Pe(e){return Array.isArray(e)&&typeof e[rd]=="object"}function De(e){return Array.isArray(e)&&e[rd]===!0}function ca(e){return(e.flags&4)!==0}function ft(e){return e.componentOffset>-1}function En(e){return(e.flags&1)===1}function Le(e){return!!e.template}function Dn(e){return(e[D]&512)!==0}function pt(e){return(e[D]&256)===256}var la="svg",od="math";function ie(e){for(;Array.isArray(e);)e=e[Ee];return e}function ur(e,t){return ie(t[e])}function we(e,t){return ie(t[e.index])}function Gt(e,t){return e.data[t]}function wn(e,t){return e[t]}function dr(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function ge(e,t){let n=t[e];return Pe(n)?n:n[Ee]}function id(e){return(e[D]&4)===4}function Go(e){return(e[D]&128)===128}function sd(e){return De(e[$])}function se(e,t){return t==null?null:e[t]}function ua(e){e[Ut]=0}function da(e){e[D]&1024||(e[D]|=1024,Go(e)&&ht(e))}function ad(e,t){for(;e>0;)t=t[$t],e--;return t}function fr(e){return!!(e[D]&9216||e[ue]?.dirty)}function zo(e){e[Oe].changeDetectionScheduler?.notify(8),e[D]&64&&(e[D]|=1024),fr(e)&&ht(e)}function ht(e){e[Oe].changeDetectionScheduler?.notify(0);let t=at(e);for(;t!==null&&!(t[D]&8192||(t[D]|=8192,!Go(t)));)t=at(t)}function Qo(e,t){if(pt(e))throw new b(911,!1);e[Ue]===null&&(e[Ue]=[]),e[Ue].push(t)}function fa(e,t){if(e[Ue]===null)return;let n=e[Ue].indexOf(t);n!==-1&&e[Ue].splice(n,1)}function at(e){let t=e[$];return De(t)?t[$]:t}function pa(e){return e[vn]??=[]}function ha(e){return e.cleanup??=[]}function cd(e,t,n,r){let o=pa(t);o.push(n),e.firstCreatePass&&ha(e).push(r,o.length-1)}var _={lFrame:Id(null),bindingsEnabled:!0,skipHydrationRootTNode:null},pr=function(e){return e[e.Off=0]="Off",e[e.Exhaustive=1]="Exhaustive",e[e.OnlyDirtyViews=2]="OnlyDirtyViews",e}(pr||{}),dy=0,Fs=!1;function ld(){return _.lFrame.elementDepthCount}function ud(){_.lFrame.elementDepthCount++}function ga(){_.lFrame.elementDepthCount--}function Zo(){return _.bindingsEnabled}function ma(){return _.skipHydrationRootTNode!==null}function ya(e){return _.skipHydrationRootTNode===e}function va(){_.skipHydrationRootTNode=null}function y(){return _.lFrame.lView}function A(){return _.lFrame.tView}function dd(e){return _.lFrame.contextLView=e,e[V]}function fd(e){return _.lFrame.contextLView=null,e}function U(){let e=Ia();for(;e!==null&&e.type===64;)e=e.parent;return e}function Ia(){return _.lFrame.currentTNode}function Cn(){let e=_.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Fe(e,t){let n=_.lFrame;n.currentTNode=e,n.isParent=t}function Ea(){return _.lFrame.isParent}function Da(){_.lFrame.isParent=!1}function wa(){return _.lFrame.contextLView}function Ca(e){Fo("Must never be called in production mode"),dy=e}function ba(){return Fs}function bn(e){let t=Fs;return Fs=e,t}function gt(){let e=_.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Yo(){return _.lFrame.bindingIndex}function pd(e){return _.lFrame.bindingIndex=e}function Ce(){return _.lFrame.bindingIndex++}function hr(e){let t=_.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function hd(){return _.lFrame.inI18n}function Ta(e){_.lFrame.inI18n=e}function gd(e,t){let n=_.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ko(t)}function md(){return _.lFrame.currentDirectiveIndex}function Ko(e){_.lFrame.currentDirectiveIndex=e}function yd(e){let t=_.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Jo(){return _.lFrame.currentQueryIndex}function gr(e){_.lFrame.currentQueryIndex=e}function fy(e){let t=e[v];return t.type===2?t.declTNode:t.type===1?e[X]:null}function _a(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=fy(i),o===null||(i=i[$t],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=_.lFrame=vd();return r.currentTNode=t,r.lView=e,!0}function Xo(e){let t=vd(),n=e[v];_.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function vd(){let e=_.lFrame,t=e===null?null:e.child;return t===null?Id(e):t}function Id(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Ed(){let e=_.lFrame;return _.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ma=Ed;function ei(){let e=Ed();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Dd(e){return(_.lFrame.contextLView=ad(e,_.lFrame.contextLView))[V]}function me(){return _.lFrame.selectedIndex}function mt(e){_.lFrame.selectedIndex=e}function Tn(){let e=_.lFrame;return Gt(e.tView,e.selectedIndex)}function wd(){_.lFrame.currentNamespace=la}function Cd(){py()}function py(){_.lFrame.currentNamespace=null}function bd(){return _.lFrame.currentNamespace}var Td=!0;function mr(){return Td}function _n(e){Td=e}function js(e,t=null,n=null,r){let o=Na(e,t,n,r);return o.resolveInjectorInitializers(),o}function Na(e,t=null,n=null,r,o=new Set){let i=[n||K,Xu(e)];return r=r||(typeof e=="object"?void 0:qe(e)),new jt(i,t||yn(),r||null,o)}var ve=class e{static THROW_IF_NOT_FOUND=Pt;static NULL=new rr;static create(t,n){if(Array.isArray(t))return js({name:""},n,t,"");{let r=t.name??"";return js({name:r},t.parent,t.providers,r)}}static \u0275prov=j({token:e,providedIn:"any",factory:()=>Se(Ks)});static __NG_ELEMENT_ID__=-1},hy=new R(""),Ge=(()=>{class e{static __NG_ELEMENT_ID__=gy;static __NG_ENV_ID__=n=>n}return e})(),or=class extends Ge{_lView;constructor(t){super(),this._lView=t}get destroyed(){return pt(this._lView)}onDestroy(t){let n=this._lView;return Qo(n,t),()=>fa(n,t)}};function gy(){return new or(y())}var Re=class{_console=console;handleError(t){this._console.error("ERROR",t)}},ze=new R("",{providedIn:"root",factory:()=>{let e=w(ce),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(Re),t.handleError(n))}}}),_d={provide:Ht,useValue:()=>void w(Re),multi:!0};function xa(e){return typeof e=="function"&&e[F]!==void 0}function yt(e,t){let[n,r,o]=us(e,t?.equal),i=n,s=i[F];return i.set=r,i.update=o,i.asReadonly=Mn.bind(i),i}function Mn(){let e=this[F];if(e.readonlyFn===void 0){let t=()=>this();t[F]=e,e.readonlyFn=t}return e.readonlyFn}function Sa(e){return xa(e)&&typeof e.set=="function"}var fe=class{},yr=new R("",{providedIn:"root",factory:()=>!1});var Ra=new R(""),ti=new R("");var Nn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=my}return e})();function my(){return new Nn(y(),U())}var vt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Yn(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new N(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=j({token:e,providedIn:"root",factory:()=>new e})}return e})(),vr=(()=>{class e{internalPendingTasks=w(vt);scheduler=w(fe);errorHandler=w(ze);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=j({token:e,providedIn:"root",factory:()=>new e})}return e})();function zt(...e){}var Ir=(()=>{class e{static \u0275prov=j({token:e,providedIn:"root",factory:()=>new Vs})}return e})(),Vs=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};function jn(e){return{toString:e}.toString()}var ni="__parameters__";function Cy(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function mf(e,t,n){return jn(()=>{let r=Cy(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(ni)?c[ni]:Object.defineProperty(c,ni,{value:[]})[ni];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var kc=Zs(mf("Optional"),8);var Pc=Zs(mf("SkipSelf"),4);function by(e){return typeof e=="function"}var gi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function yf(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Ty=(()=>{let e=()=>vf;return e.ngInherit=!0,e})();function vf(e){return e.type.prototype.ngOnChanges&&(e.setInput=My),_y}function _y(){let e=Ef(this),t=e?.current;if(t){let n=e.previous;if(n===ct)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function My(e,t,n,r,o){let i=this.declaredInputs[r],s=Ef(e)||Ny(e,{previous:ct,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new gi(l&&l.currentValue,n,c===ct),yf(e,t,o,n)}var If="__ngSimpleChanges__";function Ef(e){return e[If]||null}function Ny(e,t){return e[If]=t}var Md=[];var O=function(e,t=null,n){for(let r=0;r<Md.length;r++){let o=Md[r];o(e,t,n)}};function xy(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=vf(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Df(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function ai(e,t,n){wf(e,t,3,n)}function ci(e,t,n,r){(e[D]&3)===n&&wf(e,t,n,r)}function Aa(e,t){let n=e[D];(n&3)===t&&(n&=16383,n+=1,e[D]=n)}function wf(e,t,n,r){let o=r!==void 0?e[Ut]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[Ut]+=65536),(a<i||i==-1)&&(Sy(e,n,t,c),e[Ut]=(e[Ut]&4294901760)+c+2),c++}function Nd(e,t){O(4,e,t);let n=E(null);try{t.call(e)}finally{E(n),O(5,e,t)}}function Sy(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[D]>>14<e[Ut]>>16&&(e[D]&3)===t&&(e[D]+=16384,Nd(a,i)):Nd(a,i)}var Sn=-1,Yt=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function Ry(e){return(e.flags&8)!==0}function Ay(e){return(e.flags&16)!==0}function Oy(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];ky(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Cf(e){return e===3||e===4||e===6}function ky(e){return e.charCodeAt(0)===64}function An(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?xd(e,n,o,null,t[++r]):xd(e,n,o,null,null))}}return e}function xd(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function bf(e){return e!==Sn}function mi(e){return e&32767}function Py(e){return e>>16}function yi(e,t){let n=Py(e),r=t;for(;n>0;)r=r[$t],n--;return r}var Wa=!0;function vi(e){let t=Wa;return Wa=e,t}var Ly=256,Tf=Ly-1,_f=5,Fy=0,je={};function jy(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Vt)&&(r=n[Vt]),r==null&&(r=n[Vt]=Fy++);let o=r&Tf,i=1<<o;t.data[e+(o>>_f)]|=i}function Ii(e,t){let n=Mf(e,t);if(n!==-1)return n;let r=t[v];r.firstCreatePass&&(e.injectorIndex=t.length,Oa(r.data,e),Oa(t,null),Oa(r.blueprint,null));let o=Lc(e,t),i=e.injectorIndex;if(bf(o)){let s=mi(o),a=yi(o,t),c=a[v].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Oa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Mf(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Lc(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Af(o),r===null)return Sn;if(n++,o=o[$t],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Sn}function Ga(e,t,n){jy(e,t,n)}function Vy(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(Cf(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function Nf(e,t,n){if(n&8||e!==void 0)return e;Vo(t,"NodeInjector")}function xf(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[he],i=ne(void 0);try{return o?o.get(t,r,n&8):Qs(t,r,n&8)}finally{ne(i)}}return Nf(r,t,n)}function Sf(e,t,n,r=0,o){if(e!==null){if(t[D]&2048&&!(r&2)){let s=qy(e,t,n,r,je);if(s!==je)return s}let i=Rf(e,t,n,r,je);if(i!==je)return i}return xf(t,n,r,o)}function Rf(e,t,n,r,o){let i=By(n);if(typeof i=="function"){if(!_a(t,e,r))return r&1?Nf(o,n,r):xf(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Vo(n);else return s}finally{Ma()}}else if(typeof i=="number"){let s=null,a=Mf(e,t),c=Sn,l=r&1?t[ee][X]:null;for((a===-1||r&4)&&(c=a===-1?Lc(e,t):t[a+8],c===Sn||!Rd(r,!1)?a=-1:(s=t[v],a=mi(c),t=yi(c,t)));a!==-1;){let u=t[v];if(Sd(i,a,u.data)){let d=Hy(a,t,n,s,r,l);if(d!==je)return d}c=t[a+8],c!==Sn&&Rd(r,t[v].data[a+8]===l)&&Sd(i,a,t)?(s=u,a=mi(c),t=yi(c,t)):a=-1}}return o}function Hy(e,t,n,r,o,i){let s=t[v],a=s.data[e+8],c=r==null?ft(a)&&Wa:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=li(a,s,n,c,l);return u!==null?_r(t,s,u,a,o):je}function li(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&Le(f)&&f.type===n)return c}return null}function _r(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Yt){let a=i;if(a.resolving){let f=Ao(s[n]);throw zs(f)}let c=vi(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?ne(a.injectImpl):null,p=_a(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&xy(n,s[n],t)}finally{d!==null&&ne(d),vi(c),a.resolving=!1,Ma()}}return i}function By(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Vt)?e[Vt]:void 0;return typeof t=="number"?t>=0?t&Tf:$y:t}function Sd(e,t,n){let r=1<<e;return!!(n[t+(e>>_f)]&r)}function Rd(e,t){return!(e&2)&&!(e&1&&t)}var Zt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Sf(this._tNode,this._lView,t,Lt(r),n)}};function $y(){return new Zt(U(),y())}function Uy(e){return jn(()=>{let t=e.prototype.constructor,n=t[nr]||za(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[nr]||za(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function za(e){return Hs(e)?()=>{let t=za(Y(e));return t&&t()}:st(e)}function qy(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[D]&2048&&!Dn(s);){let a=Rf(i,s,n,r|2,je);if(a!==je)return a;let c=i.parent;if(!c){let l=s[aa];if(l){let u=l.get(n,je,r);if(u!==je)return u}c=Af(s),s=s[$t]}i=c}return o}function Af(e){let t=e[v],n=t.type;return n===2?t.declTNode:n===1?e[X]:null}function Of(e){return Vy(U(),e)}function Wy(){return Vn(U(),y())}function Vn(e,t){return new Fr(we(e,t))}var Fr=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Wy}return e})();function kf(e){return e instanceof Fr?e.nativeElement:e}function Gy(){return this._results[Symbol.iterator]()}var Ei=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new de}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Yu(t);(this._changesDetected=!Zu(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Gy};function Pf(e){return(e.flags&128)===128}var Fc=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Fc||{}),Lf=new Map,zy=0;function Qy(){return zy++}function Zy(e){Lf.set(e[cr],e)}function Qa(e){Lf.delete(e[cr])}var Ad="__ngContext__";function Et(e,t){Pe(t)?(e[Ad]=t[cr],Zy(t)):e[Ad]=t}function Ff(e){return Vf(e[In])}function jf(e){return Vf(e[pe])}function Vf(e){for(;e!==null&&!De(e);)e=e[pe];return e}var Za;function Yy(e){Za=e}function Li(){if(Za!==void 0)return Za;if(typeof document<"u")return document;throw new b(210,!1)}var Ky=new R("",{providedIn:"root",factory:()=>Jy}),Jy="ng",Hf=new R(""),Xy=new R("",{providedIn:"platform",factory:()=>"unknown"});var ev=new R("",{providedIn:"root",factory:()=>Li().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Bf={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},tv=new R("",{providedIn:"root",factory:()=>Bf});var nv="h",rv="b";var $f="r";var jc="di",Vc="s";var Uf=!1,qf=new R("",{providedIn:"root",factory:()=>Uf});var Wf=new R("");var ov=(e,t,n,r)=>{};function iv(e,t,n,r){ov(e,t,n,r)}var Gf=new R("");function Fi(e){return(e.flags&32)===32}var sv=()=>null;function zf(e,t,n=!1){return sv(e,t,n)}function Qf(e){return e.get(Wf,!1,{optional:!0})}function Zf(e,t){let n=e.contentQueries;if(n!==null){let r=E(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];gr(i),a.contentQueries(2,t[s],s)}}}finally{E(r)}}}function Ya(e,t,n){gr(0);let r=E(null);try{t(e,n)}finally{E(r)}}function Hc(e,t,n){if(ca(t)){let r=E(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{E(r)}}}var On=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(On||{}),ri;function av(){if(ri===void 0&&(ri=null,Ae.trustedTypes))try{ri=Ae.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ri}function ji(e){return av()?.createHTML(e)||e}var oi;function Yf(){if(oi===void 0&&(oi=null,Ae.trustedTypes))try{oi=Ae.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return oi}function Od(e){return Yf()?.createHTML(e)||e}function kd(e){return Yf()?.createScriptURL(e)||e}var Ye=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ko})`}},Ka=class extends Ye{getTypeName(){return"HTML"}},Ja=class extends Ye{getTypeName(){return"Style"}},Xa=class extends Ye{getTypeName(){return"Script"}},ec=class extends Ye{getTypeName(){return"URL"}},tc=class extends Ye{getTypeName(){return"ResourceURL"}};function tn(e){return e instanceof Ye?e.changingThisBreaksApplicationSecurity:e}function Vi(e,t){let n=Kf(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${ko})`)}return n===t}function Kf(e){return e instanceof Ye&&e.getTypeName()||null}function cv(e){return new Ka(e)}function lv(e){return new Ja(e)}function uv(e){return new Xa(e)}function dv(e){return new ec(e)}function fv(e){return new tc(e)}function Jf(e){let t=new rc(e);return pv()?new nc(t):t}var nc=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(ji(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},rc=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=ji(t),n}};function pv(){try{return!!new window.DOMParser().parseFromString(ji(""),"text/html")}catch{return!1}}var hv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Hi(e){return e=String(e),e.match(hv)?e:"unsafe:"+e}function Ke(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function jr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Xf=Ke("area,br,col,hr,img,wbr"),ep=Ke("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),tp=Ke("rp,rt"),gv=jr(tp,ep),mv=jr(ep,Ke("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")),yv=jr(tp,Ke("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")),oc=jr(Xf,mv,yv,gv),Bc=Ke("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),vv=Ke("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"),Iv=Ke("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"),np=jr(Bc,vv,Iv),Ev=Ke("script,style,template"),ic=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=Cv(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=wv(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Pd(t).toLowerCase();if(!oc.hasOwnProperty(n))return this.sanitizedSomething=!0,!Ev.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!np.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Bc[a]&&(c=Hi(c)),this.buf.push(" ",s,'="',Ld(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Pd(t).toLowerCase();oc.hasOwnProperty(n)&&!Xf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Ld(t))}};function Dv(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function wv(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw rp(t);return t}function Cv(e){let t=e.firstChild;if(t&&Dv(e,t))throw rp(t);return t}function Pd(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function rp(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var bv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Tv=/([^\#-~ |!])/g;function Ld(e){return e.replace(/&/g,"&amp;").replace(bv,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Tv,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var ii;function op(e,t){let n=null;try{ii=ii||Jf(e);let r=t?String(t):"";n=ii.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=ii.getInertBodyElement(r)}while(r!==i);let a=new ic().sanitizeChildren(sc(n)||n);return ji(a)}finally{if(n){let r=sc(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function sc(e){return"content"in e&&_v(e)?e.content:null}function _v(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Vr=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Vr||{});function Mv(e){let t=$c();return t?Od(t.sanitize(Vr.HTML,e)||""):Vi(e,"HTML")?Od(tn(e)):op(Li(),le(e))}function ip(e){let t=$c();return t?t.sanitize(Vr.URL,e)||"":Vi(e,"URL")?tn(e):Hi(le(e))}function sp(e){let t=$c();if(t)return kd(t.sanitize(Vr.RESOURCE_URL,e)||"");if(Vi(e,"ResourceURL"))return kd(tn(e));throw new b(904,!1)}function Nv(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?sp:ip}function xv(e,t,n){return Nv(t,n)(e)}function $c(){let e=y();return e&&e[Oe].sanitizer}var Sv=/^>|^->|<!--|-->|--!>|<!-$/g,Rv=/(<|>)/g,Av="\u200B$1\u200B";function Ov(e){return e.replace(Sv,t=>t.replace(Rv,Av))}function kv(e){return e.ownerDocument.defaultView}function ap(e){return e instanceof Function?e():e}function Pv(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var cp="ng-template";function Lv(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Pv(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Uc(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Uc(e){return e.type===4&&e.value!==cp}function Fv(e,t,n){let r=e.type===4&&!n?cp:e.value;return t===r}function jv(e,t,n){let r=4,o=e.attrs,i=o!==null?Bv(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!be(r)&&!be(c))return!1;if(s&&be(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Fv(e,c,n)||c===""&&t.length===1){if(be(r))return!1;s=!0}}else if(r&8){if(o===null||!Lv(e,o,c,n)){if(be(r))return!1;s=!0}}else{let l=t[++a],u=Vv(c,o,Uc(e),n);if(u===-1){if(be(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(be(r))return!1;s=!0}}}}return be(r)||s}function be(e){return(e&1)===0}function Vv(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return $v(t,e)}function lp(e,t,n=!1){for(let r=0;r<t.length;r++)if(jv(e,t[r],n))return!0;return!1}function Hv(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Bv(e){for(let t=0;t<e.length;t++){let n=e[t];if(Cf(n))return t}return e.length}function $v(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function Uv(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function Fd(e,t){return e?":not("+t.trim()+")":t}function qv(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!be(s)&&(t+=Fd(i,o),o=""),r=s,i=i||!be(r);n++}return o!==""&&(t+=Fd(i,o)),t}function Wv(e){return e.map(qv).join(",")}function Gv(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!be(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var G={};function up(e,t){return e.createText(t)}function dp(e,t,n){e.setValue(t,n)}function fp(e,t){return e.createComment(Ov(t))}function qc(e,t,n){return e.createElement(t,n)}function Kt(e,t,n,r,o){e.insertBefore(t,n,r,o)}function pp(e,t,n){e.appendChild(t,n)}function jd(e,t,n,r,o){r!==null?Kt(e,t,n,r,o):pp(e,t,n)}function Wc(e,t,n){e.removeChild(null,t,n)}function zv(e,t,n){e.setAttribute(t,"style",n)}function Qv(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function hp(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Oy(e,t,r),o!==null&&Qv(e,t,o),i!==null&&zv(e,t,i)}function Gc(e,t,n,r,o,i,s,a,c,l,u){let d=S+r,p=d+o,f=Zv(d,p),h=typeof l=="function"?l():l;return f[v]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function Zv(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:G);return n}function Yv(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Gc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function zc(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[Ee]=o,d[D]=r|4|128|8|64|1024,(l!==null||e&&e[D]&2048)&&(d[D]|=2048),ua(d),d[$]=d[$t]=e,d[V]=n,d[Oe]=s||e&&e[Oe],d[x]=a||e&&e[x],d[he]=c||e&&e[he]||null,d[X]=i,d[cr]=Qy(),d[Bt]=u,d[aa]=l,d[ee]=t.type==2?e[ee]:d,d}function Kv(e,t,n){let r=we(t,e),o=Yv(n),i=e[Oe].rendererFactory,s=Qc(e,zc(e,o,null,gp(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function gp(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Hr(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Qc(e,t){return e[In]?e[sa][pe]=t:e[In]=t,e[sa]=t,t}function Jv(e=1){mp(A(),y(),me()+e,!1)}function mp(e,t,n,r){if(!r)if((t[D]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ai(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ci(t,i,0,n)}mt(n)}var Bi=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Bi||{});function ac(e,t,n,r){let o=E(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Bi.SignalBased)!==0&&(c=t[i][F]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):yf(t,c,i,r)}finally{E(o)}}var Di=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Di||{}),cc;function Zc(e,t){return cc(e,t)}function Xv(e){cc===void 0&&(cc=e())}function xn(e,t,n,r,o){if(r!=null){let i,s=!1;De(r)?i=r:Pe(r)&&(s=!0,r=r[Ee]);let a=ie(r);e===0&&n!==null?o==null?pp(t,n,a):Kt(t,n,a,o||null,!0):e===1&&n!==null?Kt(t,n,a,o||null,!0):e===2?Wc(t,a,s):e===3&&t.destroyNode(a),i!=null&&sI(t,e,i,n,o)}}function eI(e,t){yp(e,t),t[Ee]=null,t[X]=null}function tI(e,t,n,r,o,i){r[Ee]=o,r[X]=t,Ui(e,r,n,1,o,i)}function yp(e,t){t[Oe].changeDetectionScheduler?.notify(9),Ui(e,t,t[x],2,null,null)}function nI(e){let t=e[In];if(!t)return ka(e[v],e);for(;t;){let n=null;if(Pe(t))n=t[In];else{let r=t[W];r&&(n=r)}if(!n){for(;t&&!t[pe]&&t!==e;)Pe(t)&&ka(t[v],t),t=t[$];t===null&&(t=e),Pe(t)&&ka(t[v],t),n=t&&t[pe]}t=n}}function Yc(e,t){let n=e[Wt],r=n.indexOf(t);n.splice(r,1)}function $i(e,t){if(pt(t))return;let n=t[x];n.destroyNode&&Ui(e,t,n,3,null,null),nI(t)}function ka(e,t){if(pt(t))return;let n=E(null);try{t[D]&=-129,t[D]|=256,t[ue]&&tt(t[ue]),oI(e,t),rI(e,t),t[v].type===1&&t[x].destroy();let r=t[lt];if(r!==null&&De(t[$])){r!==t[$]&&Yc(r,t);let o=t[ke];o!==null&&o.detachView(e)}Qa(t)}finally{E(n)}}function rI(e,t){let n=e.cleanup,r=t[vn];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[vn]=null);let o=t[Ue];if(o!==null){t[Ue]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[We];if(i!==null){t[We]=null;for(let s of i)s.destroy()}}function oI(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Yt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];O(4,a,c);try{c.call(a)}finally{O(5,a,c)}}else{O(4,o,i);try{i.call(o)}finally{O(5,o,i)}}}}}function vp(e,t,n){return Ip(e,t.parent,n)}function Ip(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Ee];if(ft(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===On.None||o===On.Emulated)return null}return we(r,n)}function Ep(e,t,n){return wp(e,t,n)}function Dp(e,t,n){return e.type&40?we(e,n):null}var wp=Dp,lc;function Cp(e,t){wp=e,lc=t}function Kc(e,t,n,r){let o=vp(e,r,t),i=t[x],s=r.parent||t[X],a=Ep(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)jd(i,o,n[c],a,!1);else jd(i,o,n,a,!1);lc!==void 0&&lc(i,r,t,n,o)}function Er(e,t){if(t!==null){let n=t.type;if(n&3)return we(t,e);if(n&4)return uc(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Er(e,r);{let o=e[t.index];return De(o)?uc(-1,o):ie(o)}}else{if(n&128)return Er(e,t.next);if(n&32)return Zc(t,e)()||ie(e[t.index]);{let r=bp(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=at(e[ee]);return Er(o,r)}else return Er(e,t.next)}}}return null}function bp(e,t){if(t!==null){let r=e[ee][X],o=t.projection;return r.projection[o]}return null}function uc(e,t){let n=W+e+1;if(n<t.length){let r=t[n],o=r[v].firstChild;if(o!==null)return Er(r,o)}return t[dt]}function Jc(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&Et(ie(a),r),n.flags|=2),!Fi(n))if(c&8)Jc(e,t,n.child,r,o,i,!1),xn(t,e,o,a,i);else if(c&32){let l=Zc(n,r),u;for(;u=l();)xn(t,e,o,u,i);xn(t,e,o,a,i)}else c&16?Tp(e,t,r,n,o,i):xn(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Ui(e,t,n,r,o,i){Jc(n,r,e.firstChild,t,o,i,!1)}function iI(e,t,n){let r=t[x],o=vp(e,n,t),i=n.parent||t[X],s=Ep(i,n,t);Tp(r,0,t,n,o,s)}function Tp(e,t,n,r,o,i){let s=n[ee],c=s[X].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];xn(t,e,o,u,i)}else{let l=c,u=s[$];Pf(r)&&(l.flags|=128),Jc(e,t,l,u,o,i,!0)}}function sI(e,t,n,r,o){let i=n[dt],s=ie(n);i!==s&&xn(t,e,r,i,o);for(let a=W;a<n.length;a++){let c=n[a];Ui(c[v],c,e,t,r,i)}}function aI(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Di.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Di.Important),e.setStyle(n,r,o,i))}}function _p(e,t,n,r,o){let i=me(),s=r&2;try{mt(-1),s&&t.length>S&&mp(e,t,S,!1),O(s?2:0,o,n),n(r,o)}finally{mt(i),O(s?3:1,o,n)}}function qi(e,t,n){pI(e,t,n),(n.flags&64)===64&&hI(e,t,n)}function Br(e,t,n=we){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function cI(e,t,n,r){let i=r.get(qf,Uf)||n===On.ShadowDom,s=e.selectRootElement(t,i);return lI(s),s}function lI(e){uI(e)}var uI=()=>null;function dI(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Xc(e,t,n,r,o,i){let s=t[v];if(il(e,s,t,n,r)){ft(e)&&fI(t,e.index);return}e.type&3&&(n=dI(n)),Mp(e,t,n,r,o,i)}function Mp(e,t,n,r,o,i){if(e.type&3){let s=we(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function fI(e,t){let n=ge(t,e);n[D]&16||(n[D]|=64)}function pI(e,t,n){let r=n.directiveStart,o=n.directiveEnd;ft(n)&&Kv(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Ii(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=_r(t,e,s,n);if(Et(c,t),i!==null&&yI(t,s-r,c,a,n,i),Le(a)){let l=ge(n.index,t);l[V]=_r(t,e,s,n)}}}function hI(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=md();try{mt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Ko(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&gI(c,l)}}finally{mt(-1),Ko(s)}}function gI(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function el(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];lp(t,i.selectors,!1)&&(r??=[],Le(i)?r.unshift(i):r.push(i))}return r}function mI(e,t,n,r,o,i){let s=we(e,t);tl(t[x],s,i,e.value,n,r,o)}function tl(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?le(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function yI(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];ac(r,n,c,l)}}function nl(e,t,n,r,o){let i=S+n,s=t[v],a=o(s,t,e,r,n);t[i]=a,Fe(e,!0);let c=e.type===2;return c?(hp(t[x],a,e),(ld()===0||En(e))&&Et(a,t),ud()):Et(a,t),mr()&&(!c||!Fi(e))&&Kc(s,t,a,e),e}function rl(e){let t=e;return Ea()?Da():(t=t.parent,Fe(t,!1)),t}function ol(e,t){let n=e[he];if(!n)return;n.get(ze,null)?.(t)}function il(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];ac(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];ac(u,l,r,o),a=!0}return a}function vI(e,t){let n=ge(t,e),r=n[v];II(r,n);let o=n[Ee];o!==null&&n[Bt]===null&&(n[Bt]=zf(o,n[he])),O(18),sl(r,n,n[V]),O(19,n[V])}function II(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function sl(e,t,n){Xo(t);try{let r=e.viewQuery;r!==null&&Ya(1,r,n);let o=e.template;o!==null&&_p(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[ke]?.finishViewCreation(e),e.staticContentQueries&&Zf(e,t),e.staticViewQueries&&Ya(2,e.viewQuery,n);let i=e.components;i!==null&&EI(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[D]&=-5,ei()}}function EI(e,t){for(let n=0;n<t.length;n++)vI(e,t[n])}function Hn(e,t,n,r){let o=E(null);try{let i=t.tView,a=e[D]&4096?4096:16,c=zc(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[lt]=l;let u=e[ke];return u!==null&&(c[ke]=u.createEmbeddedView(i)),sl(i,c,n),c}finally{E(o)}}function Jt(e,t){return!t||t.firstChild===null||Pf(e)}var Vd=!1,DI=new R("");function Mr(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(ie(i)),De(i)&&Np(i,r);let s=n.type;if(s&8)Mr(e,t,n.child,r);else if(s&32){let a=Zc(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=bp(t,n);if(Array.isArray(a))r.push(...a);else{let c=at(t[ee]);Mr(c[v],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Np(e,t){for(let n=W;n<e.length;n++){let r=e[n],o=r[v].firstChild;o!==null&&Mr(r[v],r,o,t)}e[dt]!==e[Ee]&&t.push(e[dt])}function xp(e){if(e[qt]!==null){for(let t of e[qt])t.impl.addSequence(t);e[qt].length=0}}var Sp=[];function wI(e){return e[ue]??CI(e)}function CI(e){let t=Sp.pop()??Object.create(TI);return t.lView=e,t}function bI(e){e.lView[ue]!==e&&(e.lView=null,Sp.push(e))}var TI=Q(z({},Me),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{ht(e.lView)},consumerOnSignalRead(){this.lView[ue]=this}});function _I(e){let t=e[ue]??Object.create(MI);return t.lView=e,t}var MI=Q(z({},Me),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=at(e.lView);for(;t&&!Rp(t[v]);)t=at(t);t&&da(t)},consumerOnSignalRead(){this.lView[ue]=this}});function Rp(e){return e.type!==2}function Ap(e){if(e[We]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[We])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[D]&8192)}}var NI=100;function al(e,t=0){let r=e[Oe].rendererFactory,o=!1;o||r.begin?.();try{xI(e,t)}finally{o||r.end?.()}}function xI(e,t){let n=ba();try{bn(!0),dc(e,t);let r=0;for(;fr(e);){if(r===NI)throw new b(103,!1);r++,dc(e,1)}}finally{bn(n)}}function Op(e,t){Ca(t?pr.Exhaustive:pr.OnlyDirtyViews);try{al(e)}finally{Ca(pr.Off)}}function SI(e,t,n,r){if(pt(t))return;let o=t[D],i=!1,s=!1;Xo(t);let a=!0,c=null,l=null;i||(Rp(e)?(l=wI(t),c=Ne(l)):Jr()===null?(a=!1,l=_I(t),c=Ne(l)):t[ue]&&(tt(t[ue]),t[ue]=null));try{ua(t),pd(e.bindingStartIndex),n!==null&&_p(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&ai(t,f,null)}else{let f=e.preOrderHooks;f!==null&&ci(t,f,0,null),Aa(t,0)}if(s||RI(t),Ap(t),kp(t,0),e.contentQueries!==null&&Zf(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&ai(t,f)}else{let f=e.contentHooks;f!==null&&ci(t,f,1),Aa(t,1)}OI(e,t);let d=e.components;d!==null&&Lp(t,d,0);let p=e.viewQuery;if(p!==null&&Ya(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&ai(t,f)}else{let f=e.viewHooks;f!==null&&ci(t,f,2),Aa(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Wo]){for(let f of t[Wo])f();t[Wo]=null}i||(xp(t),t[D]&=-73)}catch(u){throw i||ht(t),u}finally{l!==null&&(Be(l,c),a&&bI(l)),ei()}}function kp(e,t){for(let n=Ff(e);n!==null;n=jf(n))for(let r=W;r<n.length;r++){let o=n[r];Pp(o,t)}}function RI(e){for(let t=Ff(e);t!==null;t=jf(t)){if(!(t[D]&2))continue;let n=t[Wt];for(let r=0;r<n.length;r++){let o=n[r];da(o)}}}function AI(e,t,n){O(18);let r=ge(t,e);Pp(r,n),O(19,r[V])}function Pp(e,t){Go(e)&&dc(e,t)}function dc(e,t){let r=e[v],o=e[D],i=e[ue],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Mt(i)),s||=!1,i&&(i.dirty=!1),e[D]&=-9217,s)SI(r,e,r.template,e[V]);else if(o&8192){let a=E(null);try{Ap(e),kp(e,1);let c=r.components;c!==null&&Lp(e,c,1),xp(e)}finally{E(a)}}}function Lp(e,t,n){for(let r=0;r<t.length;r++)AI(e,t[r],n)}function OI(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)mt(~o);else{let i=o,s=n[++r],a=n[++r];gd(s,i);let c=t[i];O(24,c),a(2,c),O(25,c)}}}finally{mt(-1)}}function Wi(e,t){let n=ba()?64:1088;for(e[Oe].changeDetectionScheduler?.notify(t);e;){e[D]|=n;let r=at(e);if(Dn(e)&&!r)return e;e=r}return null}function Fp(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function jp(e,t){let n=W+t;if(n<e.length)return e[n]}function Bn(e,t,n,r=!0){let o=t[v];if(kI(o,t,e,n),r){let s=uc(n,e),a=t[x],c=a.parentNode(e[dt]);c!==null&&tI(o,e[X],a,t,c,s)}let i=t[Bt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function cl(e,t){let n=Nr(e,t);return n!==void 0&&$i(n[v],n),n}function Nr(e,t){if(e.length<=W)return;let n=W+t,r=e[n];if(r){let o=r[lt];o!==null&&o!==e&&Yc(o,r),t>0&&(e[n-1][pe]=r[pe]);let i=sr(e,W+t);eI(r[v],r);let s=i[ke];s!==null&&s.detachView(i[v]),r[$]=null,r[pe]=null,r[D]&=-129}return r}function kI(e,t,n,r){let o=W+r,i=n.length;r>0&&(n[o-1][pe]=t),r<i-W?(t[pe]=n[o],Ys(n,W+r,t)):(n.push(t),t[pe]=null),t[$]=n;let s=t[lt];s!==null&&n!==s&&Vp(s,t);let a=t[ke];a!==null&&a.insertView(e),zo(t),t[D]|=128}function Vp(e,t){let n=e[Wt],r=t[$];if(Pe(r))e[D]|=2;else{let o=r[$][ee];t[ee]!==o&&(e[D]|=2)}n===null?e[Wt]=[t]:n.push(t)}var Dt=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[v];return Mr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[V]}set context(t){this._lView[V]=t}get destroyed(){return pt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[$];if(De(t)){let n=t[lr],r=n?n.indexOf(this):-1;r>-1&&(Nr(t,r),sr(n,r))}this._attachedToViewContainer=!1}$i(this._lView[v],this._lView)}onDestroy(t){Qo(this._lView,t)}markForCheck(){Wi(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[D]&=-129}reattach(){zo(this._lView),this._lView[D]|=128}detectChanges(){this._lView[D]|=1024,al(this._lView)}checkNoChanges(){return;try{this.exhaustive??=this._lView[he].get(DI,Vd)}catch{this.exhaustive=Vd}}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Dn(this._lView),n=this._lView[lt];n!==null&&!t&&Yc(n,this._lView),yp(this._lView[v],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=t;let n=Dn(this._lView),r=this._lView[lt];r!==null&&!n&&Vp(r,this._lView),zo(this._lView)}};var xr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=PI;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=Hn(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new Dt(i)}}return e})();function PI(){return Gi(U(),y())}function Gi(e,t){return e.type&4?new xr(t,e,Vn(e,t)):null}function Hp(e,t,n){let r=t.insertBeforeIndex,o=Array.isArray(r)?r[0]:r;return o===null?Dp(e,t,n):ie(n[o])}function Bp(e,t,n,r,o){let i=t.insertBeforeIndex;if(Array.isArray(i)){let s=r,a=null;if(t.type&3||(a=s,s=o),s!==null&&t.componentOffset===-1)for(let c=1;c<i.length;c++){let l=n[i[c]];Kt(e,s,l,a,!1)}}}function nn(e,t,n,r,o){let i=e.data[t];if(i===null)i=ll(e,t,n,r,o),hd()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Cn();i.injectorIndex=s===null?-1:s.injectorIndex}return Fe(i,!0),i}function ll(e,t,n,r,o){let i=Ia(),s=Ea(),a=s?i:i&&i.parent,c=e.data[t]=FI(e,a,n,t,r,o);return LI(e,c,i,s),c}function LI(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function FI(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return ma()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function $p(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){let r=e[n];Up(r)||jI(r,t)&&VI(r)===null&&HI(r,t.index)}}function Up(e){return!(e.type&64)}function jI(e,t){return Up(t)||e.index>t.index}function VI(e){let t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function HI(e,t){let n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(Cp(Hp,Bp),e.insertBeforeIndex=t)}function Dr(e,t){let n=e.data[t];return n===null||typeof n=="string"?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function BI(e,t,n){let r=e.data[t];r===null?e.data[t]=n:r.value=n}function $I(e,t){let n=e.insertBeforeIndex;n===null?(Cp(Hp,Bp),n=e.insertBeforeIndex=[null,t]):(Uu(Array.isArray(n),!0,"Expecting array here"),n.push(t))}function UI(e,t,n){let r=ll(e,n,64,null,null);return $p(t,r),r}function zi(e,t){let n=t[e.currentCaseLViewIndex];return n===null?n:n<0?~n:n}function qI(e){return e>>>17}function WI(e){return(e&131070)>>>1}function GI(e,t,n){return e|t<<17|n<<1}function zI(e){return e===-1}function qp(e,t,n){e.index=0;let r=zi(t,n);r!==null?e.removes=t.remove[r]:e.removes=K}function fc(e){if(e.index<e.removes.length){let t=e.removes[e.index++];if(t>0)return e.lView[t];{e.stack.push(e.index,e.removes);let n=~t,r=e.lView[v].data[n];return qp(e,r,e.lView),fc(e)}}else return e.stack.length===0?null:(e.removes=e.stack.pop(),e.index=e.stack.pop(),fc(e))}function QI(){let e={stack:[],index:-1};function t(n,r){for(e.lView=r;e.stack.length;)e.stack.pop();return qp(e,n.value,r),fc.bind(null,e)}return t}var QA=new RegExp(`^(\\d+)*(${rv}|${nv})*(.*)`);var ZI=()=>{};function YI(e,t,n,r){ZI(e,t,n,r)}var KI=()=>{};function JI(e,t,n){KI(e,t,n)}function XI(e){let t=e[ut]??[],r=e[$][x],o=[];for(let i of t)i.data[jc]!==void 0?o.push(i):eE(i,r);e[ut]=o}function eE(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[$f];for(;n<o;){let i=r.nextSibling;Wc(t,r,!1),r=i,n++}}}var tE=()=>null,nE=()=>null;function wi(e,t){return tE(e,t)}function Wp(e,t,n){return nE(e,t,n)}var Gp=class{},Qi=class{},pc=class{resolveComponentFactory(t){throw new b(917,!1)}},$r=class{static NULL=new pc},Sr=class{},rE=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>oE()}return e})();function oE(){let e=y(),t=U(),n=ge(t.index,e);return(Pe(n)?n:e)[x]}var zp=(()=>{class e{static \u0275prov=j({token:e,providedIn:"root",factory:()=>null})}return e})();var ui={},Rn=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,ui,r);return o!==ui||n===ui?o:this.parentInjector.get(t,n,r)}};function Ci(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=Po(o,a);else if(i==2){let c=a,l=t[++s];r=Po(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Ur(e,t=0){let n=y();if(n===null)return Se(e,t);let r=U();return Sf(r,n,Y(e),t)}function Qp(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}aE(e,t,n,a,i,c,l)}i!==null&&r!==null&&iE(n,r,i)}function iE(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new b(-301,!1);r.push(t[o],i)}}function sE(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function aE(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let p=0;p<a;p++){let f=r[p];!c&&Le(f)&&(c=!0,sE(e,n,p)),Ga(Ii(n,t),e,f.type)}pE(n,e.data.length,a);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=Hr(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=An(n.mergedAttrs,f.hostAttrs),lE(e,n,t,d,f),fE(d,f,o),s!==null&&s.has(f)){let[g,I]=s.get(f);n.directiveToIndex.set(f.type,[d,g+n.directiveStart,I+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}cE(e,n,i)}function cE(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Hd(0,t,o,r),Hd(1,t,o,r),$d(t,r,!1);else{let i=n.get(o);Bd(0,t,i,r),Bd(1,t,i,r),$d(t,r,!0)}}}function Hd(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),Zp(t,i)}}function Bd(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Zp(t,s)}}function Zp(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function $d(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Uc(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function lE(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=st(o.type,!0)),s=new Yt(i,Le(o),Ur,null);e.blueprint[r]=s,n[r]=s,uE(e,t,r,Hr(e,n,o.hostVars,G),o)}function uE(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;dE(s)!=a&&s.push(a),s.push(n,r,i)}}function dE(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function fE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Le(t)&&(n[""]=e)}}function pE(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function ul(e,t,n,r,o,i,s,a){let c=t[v],l=c.consts,u=se(l,s),d=nn(c,e,n,r,u);return i&&Qp(c,t,d,se(l,a),o),d.mergedAttrs=An(d.mergedAttrs,d.attrs),d.attrs!==null&&Ci(d,d.attrs,!1),d.mergedAttrs!==null&&Ci(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function dl(e,t){Df(e,t),ca(t)&&e.queries.elementEnd(t)}function hE(e,t,n,r,o,i){let s=t.consts,a=se(s,o),c=nn(t,e,n,r,a);if(c.mergedAttrs=An(c.mergedAttrs,c.attrs),i!=null){let l=se(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&Ci(c,c.attrs,!1),c.mergedAttrs!==null&&Ci(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function fl(e){return Zi(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Yp(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function Zi(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function qr(e,t,n){return e[t]=n}function gE(e,t){return e[t]}function te(e,t,n){if(n===G)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Rr(e,t,n,r){let o=te(e,t,n);return te(e,t+1,r)||o}function Kp(e,t,n,r,o){let i=Rr(e,t,n,r);return te(e,t+2,o)||i}function mE(e,t,n,r,o,i){let s=Rr(e,t,n,r);return Rr(e,t+2,o,i)||s}function di(e,t,n){return function r(o){let i=ft(e)?ge(e.index,t):t;Wi(i,5);let s=t[V],a=Ud(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Ud(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Ud(e,t,n,r){let o=E(null);try{return O(6,t,n),n(r)!==!1}catch(i){return ol(e,i),!1}finally{O(7,t,n),E(o)}}function Jp(e,t,n,r,o,i,s,a){let c=En(e),l=!1,u=null;if(!r&&c&&(u=yE(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=we(e,n),p=r?r(d):d;iv(n,p,i,a);let f=o.listen(p,i,a),h=r?g=>r(ie(g[e.index])):e.index;Xp(h,t,n,i,a,f,!1)}return l}function yE(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[vn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Xp(e,t,n,r,o,i,s){let a=t.firstCreatePass?ha(t):null,c=pa(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function qd(e,t,n,r,o,i){let s=t[n],a=t[v],l=a.data[n].outputs[r],d=s[l].subscribe(i);Xp(e.index,a,t,o,i,d,!0)}var hc=Symbol("BINDING");var bi=class extends $r{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Ie(t);return new wt(n,this.ngModule)}};function vE(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Bi.SignalBased)!==0};return o&&(i.transform=o),i})}function IE(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function EE(e,t,n){let r=t instanceof ce?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Rn(n,r):n}function DE(e){let t=e.get(Sr,null);if(t===null)throw new b(407,!1);let n=e.get(zp,null),r=e.get(fe,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function wE(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return qc(t,n,n==="svg"?la:n==="math"?od:null)}var wt=class extends Qi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=vE(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=IE(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Wv(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){O(22);let a=E(null);try{let c=this.componentDef,l=CE(r,c,s,i),u=EE(c,o||this.ngModule,t),d=DE(u),p=d.rendererFactory.createRenderer(null,c),f=r?cI(p,r,c.encapsulation,u):wE(c,p),h=s?.some(Wd)||i?.some(m=>typeof m!="function"&&m.bindings.some(Wd)),g=zc(null,l,null,512|gp(c),null,null,d,p,u,null,zf(f,u,!0));g[S]=f,Xo(g);let I=null;try{let m=ul(S,g,2,"#host",()=>l.directiveRegistry,!0,0);f&&(hp(p,f,m),Et(f,g)),qi(l,g,m),Hc(l,m,g),dl(l,m),n!==void 0&&TE(m,this.ngContentSelectors,n),I=ge(m.index,g),g[V]=I[V],sl(l,g,null)}catch(m){throw I!==null&&Qa(I),Qa(g),m}finally{O(23),ei()}return new Ti(this.componentType,g,!!h)}finally{E(a)}}};function CE(e,t,n,r){let o=e?["ng-version","20.1.7"]:Gv(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[hc].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[hc].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=$o(d);c.push(p)}return Gc(0,null,bE(i,s),1,a,c,null,null,null,[o],null)}function bE(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Wd(e){let t=e[hc].kind;return t==="input"||t==="twoWay"}var Ti=class extends Gp{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Gt(n[v],S),this.location=Vn(this._tNode,n),this.instance=ge(this._tNode.index,n)[V],this.hostView=this.changeDetectorRef=new Dt(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=il(r,o[v],o,t,n);this.previousInputValues.set(t,n);let s=ge(r.index,o);Wi(s,1)}get injector(){return new Zt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function TE(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var Yi=(()=>{class e{static __NG_ELEMENT_ID__=_E}return e})();function _E(){let e=U();return th(e,y())}var ME=Yi,eh=class extends ME{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Vn(this._hostTNode,this._hostLView)}get injector(){return new Zt(this._hostTNode,this._hostLView)}get parentInjector(){let t=Lc(this._hostTNode,this._hostLView);if(bf(t)){let n=yi(t,this._hostLView),r=mi(t),o=n[v].data[r+8];return new Zt(o,n)}else return new Zt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Gd(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-W}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=wi(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Jt(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!by(t),l;if(c)l=n;else{let I=n||{};l=I.index,r=I.injector,o=I.projectableNodes,i=I.environmentInjector||I.ngModuleRef,s=I.directives,a=I.bindings}let u=c?t:new wt(Ie(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let m=(c?d:this.parentInjector).get(ce,null);m&&(i=m)}let p=Ie(u.componentType??{}),f=wi(this._lContainer,p?.id??null),h=f?.firstChild??null,g=u.create(d,o,h,i,s,a);return this.insertImpl(g.hostView,l,Jt(this._hostTNode,f)),g}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(sd(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[$],l=new eh(c,c[X],c[$]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Bn(s,o,i,r),t.attachToViewContainerRef(),Ys(Pa(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Gd(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Nr(this._lContainer,n);r&&(sr(Pa(this._lContainer),n),$i(r[v],r))}detach(t){let n=this._adjustIndex(t,-1),r=Nr(this._lContainer,n);return r&&sr(Pa(this._lContainer),n)!=null?new Dt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Gd(e){return e[lr]}function Pa(e){return e[lr]||(e[lr]=[])}function th(e,t){let n,r=t[e.index];return De(r)?n=r:(n=Fp(r,t,null,e),t[e.index]=n,Qc(t,n)),xE(n,t,e,r),new eh(n,e,t)}function NE(e,t){let n=e[x],r=n.createComment(""),o=we(t,e),i=n.parentNode(o);return Kt(n,i,r,n.nextSibling(o),!1),r}var xE=RE,SE=()=>!1;function nh(e,t,n){return SE(e,t,n)}function RE(e,t,n,r){if(e[dt])return;let o;n.type&8?o=ie(r):o=NE(t,n),e[dt]=o}var gc=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},mc=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)hl(t,n).matches!==null&&this.queries[n].setDirty()}},_i=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=LE(t):this.predicate=t}},yc=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},vc=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,AE(n,i)),this.matchTNodeWithReadOption(t,n,li(n,t,i,!1,!1))}else r===xr?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,li(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Fr||o===Yi||o===xr&&n.type&4)this.addMatch(n.index,-2);else{let i=li(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function AE(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function OE(e,t){return e.type&11?Vn(e,t):e.type&4?Gi(e,t):null}function kE(e,t,n,r){return n===-1?OE(t,e):n===-2?PE(e,t,r):_r(e,e[v],n,t)}function PE(e,t,n){if(n===Fr)return Vn(t,e);if(n===xr)return Gi(t,e);if(n===Yi)return th(t,e)}function rh(e,t,n,r){let o=t[ke].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(kE(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Ic(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=rh(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=W;d<u.length;d++){let p=u[d];p[lt]===p[$]&&Ic(p[v],p,l,r)}if(u[Wt]!==null){let d=u[Wt];for(let p=0;p<d.length;p++){let f=d[p];Ic(f[v],f,l,r)}}}}}return r}function pl(e,t){return e[ke].queries[t].queryList}function oh(e,t,n){let r=new Ei((n&4)===4);return cd(e,t,r,r.destroy),(t[ke]??=new mc).queries.push(new gc(r))-1}function ih(e,t,n){let r=A();return r.firstCreatePass&&(ah(r,new _i(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),oh(r,y(),t)}function sh(e,t,n,r){let o=A();if(o.firstCreatePass){let i=U();ah(o,new _i(t,n,r),i.index),FE(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return oh(o,y(),n)}function LE(e){return e.split(",").map(t=>t.trim())}function ah(e,t,n){e.queries===null&&(e.queries=new yc),e.queries.track(new vc(t,n))}function FE(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function hl(e,t){return e.queries.getByIndex(t)}function ch(e,t){let n=e[v],r=hl(n,t);return r.crossesNgTemplate?Ic(n,e,t,[]):rh(n,e,r,t)}function lh(e,t,n){let r,o=Gn(()=>{r._dirtyCounter();let i=jE(r,e);if(t&&i===void 0)throw new b(-951,!1);return i});return r=o[F],r._dirtyCounter=yt(0),r._flatValue=void 0,o}function gl(e){return lh(!0,!1,e)}function ml(e){return lh(!0,!0,e)}function uh(e,t){let n=e[F];n._lView=y(),n._queryIndex=t,n._queryList=pl(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function jE(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[D]&4)return t?void 0:K;let o=pl(n,r),i=ch(n,r);return o.reset(i,kf),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var zd=new Set;function Ve(e){zd.has(e)||(zd.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var kn=class{},dh=class{};function VE(e,t){return new Ar(e,t??null,[])}var Ar=class extends kn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new bi(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Xs(t);this._bootstrapComponents=ap(i.bootstrap),this._r3Injector=Na(t,n,[{provide:kn,useValue:this},{provide:$r,useValue:this.componentFactoryResolver},...r],qe(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Mi=class extends dh{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Ar(this.moduleType,t,[])}};var Or=class extends kn{injector;componentFactoryResolver=new bi(this);instance=null;constructor(t){super();let n=new jt([...t.providers,{provide:kn,useValue:this},{provide:$r,useValue:this.componentFactoryResolver}],t.parent||yn(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function yl(e,t,n=null){return new Or({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var HE=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Uo(!1,n.type),o=r.length>0?yl([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=j({token:e,providedIn:"environment",factory:()=>new e(Se(ce))})}return e})();function BE(e){return jn(()=>{let t=fh(e),n=Q(z({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Fc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(HE).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||On.Emulated,styles:e.styles||K,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Ve("NgStandalone"),ph(n);let r=e.dependencies;return n.directiveDefs=Qd(r,$E),n.pipeDefs=Qd(r,ea),n.id=QE(n),n})}function $E(e){return Ie(e)||$o(e)}function UE(e){return jn(()=>({type:e.type,bootstrap:e.bootstrap||K,declarations:e.declarations||K,imports:e.imports||K,exports:e.exports||K,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function qE(e,t){if(e==null)return ct;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Bi.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function WE(e){if(e==null)return ct;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function GE(e){return jn(()=>{let t=fh(e);return ph(t),t})}function zE(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function fh(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||ct,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||K,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:qE(e.inputs,t),outputs:WE(e.outputs),debugInfo:null}}function ph(e){e.features?.forEach(t=>t(e))}function Qd(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function QE(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function ZE(e){return Object.getPrototypeOf(e.prototype).constructor}function hh(e){let t=ZE(e.type),n=!0,r=[e];for(;t;){let o;if(Le(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new b(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=La(e.inputs),s.declaredInputs=La(e.declaredInputs),s.outputs=La(e.outputs);let a=o.hostBindings;a&&eD(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&JE(e,c),l&&XE(e,l),YE(e,o),$u(e.outputs,o.outputs),Le(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===hh&&(n=!1)}}t=Object.getPrototypeOf(t)}KE(r)}function YE(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function KE(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=An(o.hostAttrs,n=An(n,o.hostAttrs))}}function La(e){return e===ct?{}:e===K?[]:e}function JE(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function XE(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function eD(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function gh(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=An(e.mergedAttrs,e.attrs);let u=e.tView=Gc(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Fe(e,!1);let c=nD(n,t,e,r);mr()&&Kc(n,t,c,e),Et(c,t);let l=Fp(c,t,c,e);t[r+S]=l,Qc(t,l),nh(l,e,t)}function tD(e,t,n,r,o,i,s,a,c,l,u){let d=n+S,p;return t.firstCreatePass?(p=nn(t,d,4,s||null,a||null),Zo()&&Qp(t,e,p,se(t.consts,l),el),Df(t,p)):p=t.data[d],gh(p,e,t,n,r,o,i,c),En(p)&&qi(t,e,p),l!=null&&Br(e,p,u),p}function Xt(e,t,n,r,o,i,s,a,c,l,u){let d=n+S,p;if(t.firstCreatePass){if(p=nn(t,d,4,s||null,a||null),l!=null){let f=se(t.consts,l);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return gh(p,e,t,n,r,o,i,c),l!=null&&Br(e,p,u),p}function mh(e,t,n,r,o,i,s,a){let c=y(),l=A(),u=se(l.consts,i);return tD(c,l,e,t,n,r,o,u,void 0,s,a),mh}function yh(e,t,n,r,o,i,s,a){let c=y(),l=A(),u=se(l.consts,i);return Xt(c,l,e,t,n,r,o,u,void 0,s,a),yh}var nD=rD;function rD(e,t,n,r){return _n(!0),t[x].createComment("")}var ae=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(ae||{}),Zd=0,oD=1,H=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(H||{}),Ni=function(e){return e[e.Initial=-1]="Initial",e}(Ni||{}),iD=0,Wr=1;var sD=4,aD=5,cD=6,lD=7,Fa=8,uD=9,vl=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(vl||{});function dD(e,t,n){let r=Ih(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function fi(e,t){let n=Ih(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function vh(e){fi(1,e),fi(0,e),fi(2,e)}function Ih(e){let t=sD;return e===1?t=aD:e===2&&(t=uD),t}var Ki=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Ki||{}),Gr=new R(""),Eh=!1,Ec=class extends de{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,ia()&&(this.destroyRef=w(Ge,{optional:!0})??void 0,this.pendingTasks=w(vt,{optional:!0})??void 0)}emit(t){let n=E(null);try{super.next(t)}finally{E(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof B&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Ze=Ec;function Dh(e){let t,n;function r(){e=zt;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Yd(e){return queueMicrotask(()=>e()),()=>{e=zt}}var Il="isAngularZone",xi=Il+"_ID",fD=0,re=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ze(!1);onMicrotaskEmpty=new Ze(!1);onStable=new Ze(!1);onError=new Ze(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Eh}=t;if(typeof Zone>"u")throw new b(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,gD(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Il)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new b(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,pD,zt,zt);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},pD={};function El(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function hD(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Dh(()=>{e.callbackScheduled=!1,Dc(e),e.isCheckStableRunning=!0,El(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Dc(e)}function gD(e){let t=()=>{hD(e)},n=fD++;e._inner=e._inner.fork({name:"angular",properties:{[Il]:!0,[xi]:n,[xi+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(mD(c))return r.invokeTask(i,s,a,c);try{return Kd(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Jd(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Kd(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!yD(c)&&t(),Jd(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Dc(e),El(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Dc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Kd(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Jd(e){e._nesting--,El(e)}var kr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ze;onMicrotaskEmpty=new Ze;onStable=new Ze;onError=new Ze;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function mD(e){return wh(e,"__ignore_ng_zone__")}function yD(e){return wh(e,"__scheduler_tick__")}function wh(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Dl=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=j({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ch=[0,1,2,3],bh=(()=>{class e{ngZone=w(re);scheduler=w(fe);errorHandler=w(Re,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){w(Gr,{optional:!0})}execute(){let n=this.sequences.size>0;n&&O(16),this.executing=!0;for(let r of Ch)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&O(17)}register(n){let{view:r}=n;r!==void 0?((r[qt]??=[]).push(n),ht(r),r[D]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Ki.AFTER_NEXT_RENDER,n):n()}static \u0275prov=j({token:e,providedIn:"root",factory:()=>new e})}return e})(),Si=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[qt];t&&(this.view[qt]=t.filter(n=>n!==this))}};function vD(e,t){let n=t?.injector??w(ve);return Ve("NgAfterNextRender"),ED(e,n,t,!0)}function ID(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function ED(e,t,n,r){let o=t.get(Dl);o.impl??=t.get(bh);let i=t.get(Gr,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Ge):null,a=t.get(Nn,null,{optional:!0}),c=new Si(o.impl,ID(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}function Ji(e){return e+1}function $n(e,t){let n=e[v],r=Ji(t.index);return e[r]}function DD(e,t,n){let r=e[v],o=Ji(t);e[o]=n}function Un(e,t){let n=Ji(t.index);return e.data[n]}function wD(e,t,n){let r=Ji(t);e.data[r]=n}function CD(e,t,n){let r=t[v],o=Un(r,n);switch(e){case H.Complete:return o.primaryTmplIndex;case H.Loading:return o.loadingTmplIndex;case H.Error:return o.errorTmplIndex;case H.Placeholder:return o.placeholderTmplIndex;default:return null}}function Xd(e,t){return t===H.Placeholder?e.placeholderBlockConfig?.[Zd]??null:t===H.Loading?e.loadingBlockConfig?.[Zd]??null:null}function bD(e){return e.loadingBlockConfig?.[oD]??null}function ef(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function TD(e,t){let n=t.primaryTmplIndex+S;return Gt(e,n)}var _D=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?yl(o,r,i):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=j({token:e,providedIn:"environment",factory:()=>new e})}return e})();var Th=new R("");function ja(e,t,n){return e.get(_D).getOrCreateInjector(t,e,n,"")}function MD(e,t,n){if(e instanceof Rn){let o=e.injector,i=e.parentInjector,s=ja(i,t,n);return new Rn(o,s)}let r=e.get(ce);if(r!==e){let o=ja(r,t,n);return new Rn(e,o)}return ja(e,t,n)}function It(e,t,n,r=!1){let o=n[$],i=o[v];if(pt(o))return;let s=$n(o,t),a=s[Wr],c=s[lD];if(!(c!==null&&e<c)&&tf(a,e)&&tf(s[iD]??-1,e)){let l=Un(i,t),d=!r&&!0&&(bD(l)!==null||Xd(l,H.Loading)!==null||Xd(l,H.Placeholder))?RD:xD;try{d(e,s,n,t,o)}catch(p){ol(o,p)}}}function ND(e,t){let n=e[ut]?.findIndex(o=>o.data[Vc]===t[Wr])??-1;return{dehydratedView:n>-1?e[ut][n]:null,dehydratedViewIx:n}}function xD(e,t,n,r,o){O(20);let i=CD(e,o,r);if(i!==null){t[Wr]=e;let s=o[v],a=i+S,c=Gt(s,a),l=0;cl(n,l);let u;if(e===H.Complete){let h=Un(s,r),g=h.providers;g&&g.length>0&&(u=MD(o[he],h,g))}let{dehydratedView:d,dehydratedViewIx:p}=ND(n,t),f=Hn(o,c,null,{injector:u,dehydratedView:d});if(Bn(n,f,l,Jt(c,d)),Wi(f,2),p>-1&&n[ut]?.splice(p,1),(e===H.Complete||e===H.Error)&&Array.isArray(t[Fa])){for(let h of t[Fa])h();t[Fa]=null}}O(21)}function tf(e,t){return e<t}function SD(e,t){let n=e[t.index];It(H.Placeholder,t,n)}function nf(e,t,n){e.loadingPromise.then(()=>{e.loadingState===ae.COMPLETE?It(H.Complete,t,n):e.loadingState===ae.FAILED&&It(H.Error,t,n)})}var RD=null;var AD=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var _h=new R("");function wl(e){return!!e&&typeof e.then=="function"}function Mh(e){return!!e&&typeof e.subscribe=="function"}var Nh=new R("");var Cl=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=w(Nh,{optional:!0})??[];injector=w(ve);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=qo(this.injector,o);if(wl(i))n.push(i);else if(Mh(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),xh=new R("");function Sh(){ls(()=>{let e="";throw new b(600,e)})}function Rh(e){return e.isBoundToModule}var OD=10;var zr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=w(ze);afterRenderManager=w(Dl);zonelessEnabled=w(yr);rootEffectScheduler=w(Ir);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new de;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=w(vt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(it(n=>!n))}constructor(){w(Gr,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=w(ce);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=ve.NULL){return this._injector.get(re).run(()=>{O(10);let s=n instanceof Qi;if(!this._injector.get(Cl).done){let h="";throw new b(405,h)}let c;s?c=n:c=this._injector.get($r).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=Rh(c)?void 0:this._injector.get(kn),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,f=d.injector.get(_h,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),wr(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),O(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){O(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Ki.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new b(101,!1);let n=E(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,E(n),this.afterTick.next(),O(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Sr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<OD;)O(14),this.synchronizeOnce(),O(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!fr(o))continue;let i=r&&!this.zonelessEnabled?0:1;al(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>fr(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;wr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(xh,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>wr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new b(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function wr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Ah(e,t,n){let r=t[he],o=t[v];if(e.loadingState!==ae.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=$n(t,n),s=TD(o,e);e.loadingState=ae.IN_PROGRESS,fi(1,i);let a=e.dependencyResolverFn,c=r.get(vr).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(l=>{let u=!1,d=[],p=[];for(let f of l)if(f.status==="fulfilled"){let h=f.value,g=Ie(h)||$o(h);if(g)d.push(g);else{let I=ea(h);I&&p.push(I)}}else{u=!0;break}if(u){if(e.loadingState=ae.FAILED,e.errorTmplIndex===null){let f="",h=new b(-750,!1);ol(t,h)}}else{e.loadingState=ae.COMPLETE;let f=s.tView;if(d.length>0){f.directiveRegistry=ef(f.directiveRegistry,d);let h=d.map(I=>I.type),g=Uo(!1,...h);e.providers=g}p.length>0&&(f.pipeRegistry=ef(f.pipeRegistry,p))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=ae.COMPLETE,c()}),e.loadingPromise)}function kD(e,t){return t[he].get(Th,null,{optional:!0})?.behavior!==vl.Manual}function PD(e,t,n){let r=t[v],o=t[n.index];if(!kD(e,t))return;let i=$n(t,n),s=Un(r,n);switch(vh(i),s.loadingState){case ae.NOT_STARTED:It(H.Loading,n,o),Ah(s,t,n),s.loadingState===ae.IN_PROGRESS&&nf(s,n,o);break;case ae.IN_PROGRESS:It(H.Loading,n,o),nf(s,n,o);break;case ae.COMPLETE:It(H.Complete,n,o);break;case ae.FAILED:It(H.Error,n,o);break;default:}}function LD(e,t,n){return e===0?rf(t,n):e===2?!rf(t,n):!0}function FD(e){return e!=null&&(e&1)===1}function rf(e,t){let n=e[he],r=Un(e[v],t),o=Qf(n),i=FD(r.flags),a=$n(e,t)[cD]!==null;return!(i&&a&&o)}function jD(e,t,n,r,o,i,s,a,c,l){let u=y(),d=A(),p=e+S,f=Xt(u,d,e,null,0,0),h=u[he];if(d.firstCreatePass){Ve("NgDefer");let _e={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:ae.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:l??0};c?.(d,_e,a,s),wD(d,p,_e)}let g=u[p];nh(g,f,u);let I=null,m=null;if(g[ut]?.length>0){let _e=g[ut][0].data;m=_e[jc]??null,I=_e[Vc]}let L=[null,Ni.Initial,null,null,null,null,m,I,null,null];DD(u,p,L);let Je=null;m!==null&&(Je=h.get(Gf),Je.add(m,{lView:u,tNode:f,lContainer:g}));let Ct=()=>{vh(L),m!==null&&Je?.cleanup([m])};dD(0,L,()=>fa(u,Ct)),Qo(u,Ct)}function VD(e){let t=y(),n=Tn();if(!LD(0,t,n))return;let r=Ce();if(te(t,r,e)){let o=E(null);try{let i=!!e,a=$n(t,n)[Wr];i===!1&&a===Ni.Initial?SD(t,n):i===!0&&(a===Ni.Initial||a===H.Placeholder)&&PD(0,t,n)}finally{E(o)}}}function Oh(e,t,n,r){let o=y(),i=Ce();if(te(o,i,t)){let s=A(),a=Tn();mI(a,o,e,t,n,r)}return Oh}var wc=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Va(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function HD(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],d=Va(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),f=t[c],h=Va(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let g=n(i,l),I=n(s,p),m=n(i,u);if(Object.is(m,I)){let L=n(c,f);Object.is(L,g)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new Ri,o??=sf(e,i,s,n),Cc(e,r,i,m))e.updateValue(i,u),i++,s++;else if(o.has(m))r.set(g,e.detach(i)),s--;else{let L=e.create(i,t[i]);e.attach(i,L),i++,s++}}for(;i<=c;)of(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,p=Va(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new Ri,o??=sf(e,i,s,n);let f=n(i,d);if(Cc(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let h=n(i,u);r.set(h,e.detach(i)),s--}}}for(;!l.done;)of(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Cc(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function of(e,t,n,r,o){if(Cc(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function sf(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Ri=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function BD(e,t,n,r,o,i,s,a){Ve("NgControlFlow");let c=y(),l=A(),u=se(l.consts,i);return Xt(c,l,e,t,n,r,o,u,256,s,a),bl}function bl(e,t,n,r,o,i,s,a){Ve("NgControlFlow");let c=y(),l=A(),u=se(l.consts,i);return Xt(c,l,e,t,n,r,o,u,512,s,a),bl}function $D(e,t){Ve("NgControlFlow");let n=y(),r=Ce(),o=n[r]!==G?n[r]:-1,i=o!==-1?Ai(n,S+o):void 0,s=0;if(te(n,r,e)){let a=E(null);try{if(i!==void 0&&cl(i,s),e!==-1){let c=S+e,l=Ai(n,c),u=Mc(n[v],c),d=Wp(l,u,n),p=Hn(n,u,t,{dehydratedView:d});Bn(l,p,s,Jt(u,d))}}finally{E(a)}}else if(i!==void 0){let a=jp(i,s);a!==void 0&&(a[V]=t)}}var bc=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-W}};function UD(e){return e}var Tc=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function qD(e,t,n,r,o,i,s,a,c,l,u,d,p){Ve("NgControlFlow");let f=y(),h=A(),g=c!==void 0,I=y(),m=a?s.bind(I[ee][V]):s,L=new Tc(g,m);I[S+e]=L,Xt(f,h,e+1,t,n,r,o,se(h.consts,i),256),g&&Xt(f,h,e+2,c,l,u,d,se(h.consts,p),512)}var _c=class extends wc{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-W}at(t){return this.getLView(t)[V].$implicit}attach(t,n){let r=n[Bt];this.needsIndexUpdate||=t!==this.length,Bn(this.lContainer,n,t,Jt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,GD(this.lContainer,t)}create(t,n){let r=wi(this.lContainer,this.templateTNode.tView.ssrId),o=Hn(this.hostLView,this.templateTNode,new bc(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){$i(t[v],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[V].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[V].$index=t}getLView(t){return zD(this.lContainer,t)}};function WD(e){let t=E(null),n=me();try{let r=y(),o=r[v],i=r[n],s=n+1,a=Ai(r,s);if(i.liveCollection===void 0){let l=Mc(o,s);i.liveCollection=new _c(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(HD(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=Ce(),u=c.length===0;if(te(r,l,u)){let d=n+2,p=Ai(r,d);if(u){let f=Mc(o,d),h=Wp(p,f,r),g=Hn(r,f,void 0,{dehydratedView:h});Bn(p,g,0,Jt(f,h))}else o.firstUpdatePass&&XI(p),cl(p,0)}}}finally{E(t)}}function Ai(e,t){return e[t]}function GD(e,t){return Nr(e,t)}function zD(e,t){return jp(e,t)}function Mc(e,t){return Gt(e,t)}function kh(e,t,n){let r=y(),o=Ce();if(te(r,o,t)){let i=A(),s=Tn();Xc(s,r,e,t,r[x],n)}return kh}function Nc(e,t,n,r,o){il(t,e,n,o?"class":"style",r)}function Tl(e,t,n,r){let o=y(),i=o[v],s=e+S,a=i.firstCreatePass?ul(s,o,2,t,el,Zo(),n,r):i.data[s];if(nl(a,o,e,t,Fh),En(a)){let c=o[v];qi(c,o,a),Hc(c,a,o)}return r!=null&&Br(o,a),Tl}function _l(){let e=A(),t=U(),n=rl(t);return e.firstCreatePass&&dl(e,n),ya(n)&&va(),ga(),n.classesWithoutHost!=null&&Ry(n)&&Nc(e,n,y(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Ay(n)&&Nc(e,n,y(),n.stylesWithoutHost,!1),_l}function Ph(e,t,n,r){return Tl(e,t,n,r),_l(),Ph}function Ml(e,t,n,r){let o=y(),i=o[v],s=e+S,a=i.firstCreatePass?hE(s,i,2,t,n,r):i.data[s];return nl(a,o,e,t,Fh),r!=null&&Br(o,a),Ml}function Nl(){let e=U(),t=rl(e);return ya(t)&&va(),ga(),Nl}function Lh(e,t,n,r){return Ml(e,t,n,r),Nl(),Lh}var Fh=(e,t,n,r,o)=>(_n(!0),qc(t[x],r,bd()));function xl(e,t,n){let r=y(),o=r[v],i=e+S,s=o.firstCreatePass?ul(i,r,8,"ng-container",el,Zo(),t,n):o.data[i];if(nl(s,r,e,"ng-container",QD),En(s)){let a=r[v];qi(a,r,s),Hc(a,s,r)}return n!=null&&Br(r,s),xl}function Sl(){let e=A(),t=U(),n=rl(t);return e.firstCreatePass&&dl(e,n),Sl}function jh(e,t,n){return xl(e,t,n),Sl(),jh}var QD=(e,t,n,r,o)=>(_n(!0),fp(t[x],""));function ZD(){return y()}function Vh(e,t,n){let r=y(),o=Ce();if(te(r,o,t)){let i=A(),s=Tn();Mp(s,r,e,t,r[x],n)}return Vh}var Qt=void 0;function YD(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var KD=["en",[["a","p"],["AM","PM"],Qt],[["AM","PM"],Qt,Qt],[["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"]],Qt,[["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"]],Qt,[["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}",Qt,"{1} 'at' {0}",Qt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",YD],Cr={};function JD(e,t,n){typeof t!="string"&&(n=t,t=e[Pn.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Cr[t]=e,n&&(Cr[t][Pn.ExtraData]=n)}function Rl(e){let t=ew(e),n=af(t);if(n)return n;let r=t.split("-")[0];if(n=af(r),n)return n;if(r==="en")return KD;throw new b(701,!1)}function XD(e){return Rl(e)[Pn.CurrencyCode]||null}function Hh(e){return Rl(e)[Pn.PluralCase]}function af(e){return e in Cr||(Cr[e]=Ae.ng&&Ae.ng.common&&Ae.ng.common.locales&&Ae.ng.common.locales[e]),Cr[e]}var Pn=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Pn||{});function ew(e){return e.toLowerCase().replace(/_/g,"-")}var tw=["zero","one","two","few","many"];function nw(e,t){let n=Hh(t)(parseInt(e,10)),r=tw[n];return r!==void 0?r:"other"}var Qr="en-US",rw="USD",Bh={marker:"element"},$h={marker:"ICU"},Qe=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(Qe||{}),Uh=Qr;function qh(e){typeof e=="string"&&(Uh=e.toLowerCase().replace(/_/g,"-"))}function ow(){return Uh}var Pr=0,br=0;function iw(e){e&&(Pr=Pr|1<<Math.min(br,31)),br++}function sw(e,t,n){if(br>0){let r=e.data[n],o=Array.isArray(r)?r:r.update,i=Yo()-br-1;Gh(e,t,o,i,Pr)}Pr=0,br=0}function aw(e,t,n){let r=e[x];switch(n){case Node.COMMENT_NODE:return fp(r,t);case Node.TEXT_NODE:return up(r,t);case Node.ELEMENT_NODE:return qc(r,t,null)}}var pi=(e,t,n,r)=>(_n(!0),aw(e,n,r));function cw(e,t,n,r){let o=e[x];for(let i=0;i<t.length;i++){let s=t[i++],a=t[i],c=(s&Qe.COMMENT)===Qe.COMMENT,l=(s&Qe.APPEND_EAGERLY)===Qe.APPEND_EAGERLY,u=s>>>Qe.SHIFT,d=e[u],p=!1;d===null&&(d=e[u]=pi(e,u,a,c?Node.COMMENT_NODE:Node.TEXT_NODE),p=mr()),l&&n!==null&&p&&Kt(o,n,d,r,!1)}}function Wh(e,t,n,r){let o=n[x],i=null,s;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="string"){let l=t[++a];n[l]===null&&(n[l]=pi(n,l,c,Node.TEXT_NODE))}else if(typeof c=="number")switch(c&1){case 0:let l=qI(c);i===null&&(i=l,s=o.parentNode(r));let u,d;if(l===i?(u=r,d=s):(u=null,d=ie(n[l])),d!==null){let g=WI(c),I=n[g];Kt(o,d,I,u,!1);let m=Dr(e,g);if(m!==null&&typeof m=="object"){let L=zi(m,n);L!==null&&Wh(e,m.create[L],n,n[m.anchorIdx])}}break;case 1:let p=c>>>1,f=t[++a],h=t[++a];tl(o,ur(p,n),null,null,f,h,null);break;default:}else switch(c){case $h:let l=t[++a],u=t[++a];if(n[u]===null){let f=n[u]=pi(n,u,l,Node.COMMENT_NODE);Et(f,n)}break;case Bh:let d=t[++a],p=t[++a];if(n[p]===null){let f=n[p]=pi(n,p,d,Node.ELEMENT_NODE);Et(f,n)}break;default:}}}function Gh(e,t,n,r,o){for(let i=0;i<n.length;i++){let s=n[i],a=n[++i];if(s&o){let c="";for(let l=i+1;l<=i+a;l++){let u=n[l];if(typeof u=="string")c+=u;else if(typeof u=="number")if(u<0)c+=le(t[r-u]);else{let d=u>>>2;switch(u&3){case 1:let p=n[++l],f=n[++l],h=e.data[d];typeof h=="string"?tl(t[x],t[d],null,h,p,c,f):Xc(h,t,p,c,t[x],f);break;case 0:let g=t[d];g!==null&&dp(t[x],g,c);break;case 2:lw(e,Dr(e,d),t,c);break;case 3:cf(e,Dr(e,d),r,t);break}}}}else{let c=n[i+1];if(c>0&&(c&3)===3){let l=c>>>2,u=Dr(e,l);t[u.currentCaseLViewIndex]<0&&cf(e,u,r,t)}}i+=a}}function cf(e,t,n,r){let o=r[t.currentCaseLViewIndex];if(o!==null){let i=Pr;o<0&&(o=r[t.currentCaseLViewIndex]=~o,i=-1),Gh(e,r,t.update[o],n,i)}}function lw(e,t,n,r){let o=uw(t,r);if(zi(t,n)!==o&&(zh(e,t,n),n[t.currentCaseLViewIndex]=o===null?null:~o,o!==null)){let s=n[t.anchorIdx];s&&Wh(e,t.create[o],n,s),JI(n,t.anchorIdx,o)}}function zh(e,t,n){let r=zi(t,n);if(r!==null){let o=t.remove[r];for(let i=0;i<o.length;i++){let s=o[i];if(s>0){let a=ur(s,n);a!==null&&Wc(n[x],a)}else zh(e,Dr(e,~s),n)}}}function uw(e,t){let n=e.cases.indexOf(t);if(n===-1)switch(e.type){case 1:{let r=nw(t,ow());n=e.cases.indexOf(r),n===-1&&r!=="other"&&(n=e.cases.indexOf("other"));break}case 0:{n=e.cases.indexOf("other");break}}return n===-1?null:n}var Oi=/�(\d+):?\d*�/gi;var dw=/�(\d+)�/,Qh=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,Tr="\uFFFD",fw=/�\/?\*(\d+:\d+)�/gi,pw=/�(\/?[#*]\d+):?\d*�/gi,hw=/\uE500/g;function gw(e){return e.replace(hw," ")}function mw(e,t,n,r,o,i){let s=Cn(),a=[],c=[],l=[[]],u=[[]];o=vw(o,i);let d=gw(o).split(pw);for(let p=0;p<d.length;p++){let f=d[p];if((p&1)===0){let h=xc(f);for(let g=0;g<h.length;g++){let I=h[g];if((g&1)===0){let m=I;m!==""&&yw(u[0],e,s,l[0],a,c,n,m)}else{let m=I;if(typeof m!="object")throw new Error(`Unable to parse ICU expression in "${o}" message.`);let Je=Zh(e,s,l[0],n,a,"",!0).index;Kh(u[0],e,n,c,t,m,Je)}}}else{let h=f.charCodeAt(0)===47,g=f.charCodeAt(h?1:0),I=S+Number.parseInt(f.substring(h?2:1));if(h)l.shift(),u.shift(),Fe(Cn(),!1);else{let m=UI(e,l[0],I);l.unshift([]),Fe(m,!0);let L={kind:2,index:I,children:[],type:g===35?0:1};u[0].push(L),u.unshift(L.children)}}}e.data[r]={create:a,update:c,ast:u[0],parentTNodeIndex:t}}function Zh(e,t,n,r,o,i,s){let a=Hr(e,r,1,null),c=a<<Qe.SHIFT,l=Cn();t===l&&(l=null),l===null&&(c|=Qe.APPEND_EAGERLY),s&&(c|=Qe.COMMENT,Xv(QI)),o.push(c,i===null?"":i);let u=ll(e,a,s?32:1,i===null?"":i,null);$p(n,u);let d=u.index;return Fe(u,!1),l!==null&&t!==l&&$I(l,d),u}function yw(e,t,n,r,o,i,s,a){let c=a.match(Oi),u=Zh(t,n,r,s,o,c?null:a,!1).index;c&&hi(i,a,u,null,0,null),e.push({kind:0,index:u})}function hi(e,t,n,r,o,i){let s=e.length,a=s+1;e.push(null,null);let c=s+2,l=t.split(Oi),u=0;for(let d=0;d<l.length;d++){let p=l[d];if(d&1){let f=o+parseInt(p,10);e.push(-1-f),u=u|Yh(f)}else p!==""&&e.push(p)}return e.push(n<<2|(r?1:0)),r&&e.push(r,i),e[s]=u,e[a]=e.length-c,u}function Yh(e){return 1<<Math.min(e,31)}function lf(e){let t,n="",r=0,o=!1,i;for(;(t=fw.exec(e))!==null;)o?t[0]===`${Tr}/*${i}${Tr}`&&(r=t.index,o=!1):(n+=e.substring(r,t.index+t[0].length),i=t[1],o=!0);return n+=e.slice(r),n}function vw(e,t){if(zI(t))return lf(e);{let n=e.indexOf(`:${t}${Tr}`)+2+t.toString().length,r=e.search(new RegExp(`${Tr}\\/\\*\\d+:${t}${Tr}`));return lf(e.substring(n,r))}}function Kh(e,t,n,r,o,i,s){let a=0,c={type:i.type,currentCaseLViewIndex:Hr(t,n,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};ww(r,i,s),BI(t,s,c);let l=i.values,u=[];for(let d=0;d<l.length;d++){let p=l[d],f=[];for(let g=0;g<p.length;g++){let I=p[g];if(typeof I!="string"){let m=f.push(I)-1;p[g]=`<!--\uFFFD${m}\uFFFD-->`}}let h=[];u.push(h),a=Ew(h,t,c,n,r,o,i.cases[d],p.join(""),f)|a}a&&Cw(r,a,s),e.push({kind:3,index:s,cases:u,currentCaseLViewIndex:c.currentCaseLViewIndex})}function Iw(e){let t=[],n=[],r=1,o=0;e=e.replace(Qh,function(s,a,c){return c==="select"?r=0:r=1,o=parseInt(a.slice(1),10),""});let i=xc(e);for(let s=0;s<i.length;){let a=i[s++].trim();r===1&&(a=a.replace(/\s*(?:=)?(\w+)\s*/,"$1")),a.length&&t.push(a);let c=xc(i[s++]);t.length>n.length&&n.push(c)}return{type:r,mainBinding:o,cases:t,values:n}}function xc(e){if(!e)return[];let t=0,n=[],r=[],o=/[{}]/g;o.lastIndex=0;let i;for(;i=o.exec(e);){let a=i.index;if(i[0]=="}"){if(n.pop(),n.length==0){let c=e.substring(t,a);Qh.test(c)?r.push(Iw(c)):r.push(c),t=a+1}}else{if(n.length==0){let c=e.substring(t,a);r.push(c),t=a+1}n.push("{")}}let s=e.substring(t);return r.push(s),r}function Ew(e,t,n,r,o,i,s,a,c){let l=[],u=[],d=[];n.cases.push(s),n.create.push(l),n.remove.push(u),n.update.push(d);let f=Jf(Li()).getInertBodyElement(a),h=sc(f)||f;return h?Jh(e,t,n,r,o,l,u,d,h,i,c,0):0}function Jh(e,t,n,r,o,i,s,a,c,l,u,d){let p=0,f=c.firstChild;for(;f;){let h=Hr(t,r,1,null);switch(f.nodeType){case Node.ELEMENT_NODE:let g=f,I=g.tagName.toLowerCase();if(oc.hasOwnProperty(I)){Ha(i,Bh,I,l,h),t.data[h]=I;let Ct=g.attributes;for(let os=0;os<Ct.length;os++){let bt=Ct.item(os),Jl=bt.name.toLowerCase();!!bt.value.match(Oi)?np.hasOwnProperty(Jl)&&(Bc[Jl]?hi(a,bt.value,h,bt.name,0,Hi):hi(a,bt.value,h,bt.name,0,null)):bw(i,h,bt)}let _e={kind:1,index:h,children:[]};e.push(_e),p=Jh(_e.children,t,n,r,o,i,s,a,f,h,u,d+1)|p,uf(s,h,d)}break;case Node.TEXT_NODE:let m=f.textContent||"",L=m.match(Oi);Ha(i,null,L?"":m,l,h),uf(s,h,d),L&&(p=hi(a,m,h,null,0,null)|p),e.push({kind:0,index:h});break;case Node.COMMENT_NODE:let Je=dw.exec(f.textContent||"");if(Je){let Ct=parseInt(Je[1],10),_e=u[Ct];Ha(i,$h,"",l,h),Kh(e,t,r,o,l,_e,h),Dw(s,h,d)}break}f=f.nextSibling}return p}function uf(e,t,n){n===0&&e.push(t)}function Dw(e,t,n){n===0&&(e.push(~t),e.push(t))}function ww(e,t,n){e.push(Yh(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}function Cw(e,t,n){e.push(t,1,n<<2|3)}function Ha(e,t,n,r,o){t!==null&&e.push(t),e.push(n,o,GI(0,r,o))}function bw(e,t,n){e.push(t<<1|1,n.name,n.value)}var df=0,Tw=/\[(�.+?�?)\]/,_w=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,Mw=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,Nw=/{([A-Z0-9_]+)}/g,xw=/�I18N_EXP_(ICU(_\d+)?)�/g,Sw=/\/\*/,Rw=/\d+\:(\d+)/;function Aw(e,t={}){let n=e;if(Tw.test(e)){let r={},o=[df];n=n.replace(_w,(i,s,a)=>{let c=s||a,l=r[c]||[];if(l.length||(c.split("|").forEach(g=>{let I=g.match(Rw),m=I?parseInt(I[1],10):df,L=Sw.test(g);l.push([m,L,g])}),r[c]=l),!l.length)throw new Error(`i18n postprocess: unmatched placeholder - ${c}`);let u=o[o.length-1],d=0;for(let g=0;g<l.length;g++)if(l[g][0]===u){d=g;break}let[p,f,h]=l[d];return f?o.pop():u!==p&&o.push(p),l.splice(d,1),h})}return Object.keys(t).length&&(n=n.replace(Mw,(r,o,i,s,a,c)=>t.hasOwnProperty(i)?`${o}${t[i]}${c}`:r),n=n.replace(Nw,(r,o)=>t.hasOwnProperty(o)?t[o]:r),n=n.replace(xw,(r,o)=>{if(t.hasOwnProperty(o)){let i=t[o];if(!i.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${o}`);return i.shift()}return r})),n}function Xh(e,t,n=-1){let r=A(),o=y(),i=S+e,s=se(r.consts,t),a=Cn();if(r.firstCreatePass&&mw(r,a===null?0:a.index,o,i,s,n),r.type===2){let p=o[ee];p[D]|=32}else o[D]|=32;let c=r.data[i],l=a===o[X]?null:a,u=Ip(r,l,o),d=a&&a.type&8?o[a.index]:null;YI(o,i,a,n),cw(o,c.create,u,d),Ta(!0)}function eg(){Ta(!1)}function Ow(e,t,n){Xh(e,t,n),eg()}function tg(e){let t=y();return iw(te(t,Ce(),e)),tg}function kw(e){sw(A(),y(),e+S)}function Pw(e,t={}){return Aw(e,t)}function ng(e,t,n){let r=y(),o=A(),i=U();return og(o,r,r[x],i,e,t,n),ng}function rg(e,t,n){let r=y(),o=A(),i=U();return(i.type&3||n)&&Jp(i,o,r,n,r[x],e,t,di(i,r,t)),rg}function og(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=di(r,t,i),Jp(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],f=u[d+1];c??=di(r,t,i),qd(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=di(r,t,i),qd(r,t,d,o,o,c)}}function Lw(e=1){return Dd(e)}function Fw(e,t){let n=null,r=Hv(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?lp(e,i,!0):Uv(r,i))return o}return n}function jw(e){let t=y()[ee][X];if(!t.projection){let n=e?e.length:1,r=t.projection=Ku(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?Fw(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function Vw(e,t=0,n,r,o,i){let s=y(),a=A(),c=r?e+1:null;c!==null&&Xt(s,a,c,r,o,i,null,n);let l=nn(a,S+e,16,null,n||null);l.projection===null&&(l.projection=t),Da();let d=!s[Bt]||ma();s[ee][X].projection[l.projection]===null&&c!==null?Hw(s,a,c):d&&!Fi(l)&&iI(a,s,l)}function Hw(e,t,n){let r=S+n,o=t.data[r],i=e[r],s=wi(i,o.tView.ssrId),a=Hn(e,o,void 0,{dehydratedView:s});Bn(i,a,0,Jt(o,s))}function Bw(e,t,n,r){sh(e,t,n,r)}function $w(e,t,n){ih(e,t,n)}function Uw(e){let t=y(),n=A(),r=Jo();gr(r+1);let o=hl(n,r);if(e.dirty&&id(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=ch(t,r);e.reset(i,kf),e.notifyOnChanges()}return!0}return!1}function qw(){return pl(y(),Jo())}function Ww(e,t,n,r,o){uh(t,sh(e,n,r,o))}function Gw(e,t,n,r){uh(e,ih(t,n,r))}function zw(e=1){gr(Jo()+e)}function Qw(e){let t=wa();return wn(t,S+e)}function si(e,t){return e<<17|t<<2}function en(e){return e>>17&32767}function Zw(e){return(e&2)==2}function Yw(e,t){return e&131071|t<<17}function Sc(e){return e|2}function Ln(e){return(e&131068)>>2}function Ba(e,t){return e&-131069|t<<2}function Kw(e){return(e&1)===1}function Rc(e){return e|1}function Jw(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=en(s),c=Ln(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||mn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=en(e[a+1]);e[r+1]=si(p,a),p!==0&&(e[p+1]=Ba(e[p+1],r)),e[a+1]=Yw(e[a+1],r)}else e[r+1]=si(a,0),a!==0&&(e[a+1]=Ba(e[a+1],r)),a=r;else e[r+1]=si(c,0),a===0?a=r:e[c+1]=Ba(e[c+1],r),c=r;l&&(e[r+1]=Sc(e[r+1])),ff(e,u,r,!0),ff(e,u,r,!1),Xw(t,u,e,r,i),s=si(a,c),i?t.classBindings=s:t.styleBindings=s}function Xw(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&mn(i,t)>=0&&(n[r+1]=Rc(n[r+1]))}function ff(e,t,n,r){let o=e[n+1],i=t===null,s=r?en(o):Ln(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];eC(c,t)&&(a=!0,e[s+1]=r?Rc(l):Sc(l)),s=r?en(l):Ln(l)}a&&(e[n+1]=r?Sc(o):Rc(o))}function eC(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?mn(e,t)>=0:!1}var q={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ig(e){return e.substring(q.key,q.keyEnd)}function tC(e){return e.substring(q.value,q.valueEnd)}function nC(e){return cg(e),sg(e,Fn(e,0,q.textEnd))}function sg(e,t){let n=q.textEnd;return n===t?-1:(t=q.keyEnd=oC(e,q.key=t,n),Fn(e,t,n))}function rC(e){return cg(e),ag(e,Fn(e,0,q.textEnd))}function ag(e,t){let n=q.textEnd,r=q.key=Fn(e,t,n);return n===r?-1:(r=q.keyEnd=iC(e,r,n),r=pf(e,r,n,58),r=q.value=Fn(e,r,n),r=q.valueEnd=sC(e,r,n),pf(e,r,n,59))}function cg(e){q.key=0,q.keyEnd=0,q.value=0,q.valueEnd=0,q.textEnd=e.length}function Fn(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function oC(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function iC(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function pf(e,t,n,r){return t=Fn(e,t,n),t<n&&t++,t}function sC(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=hf(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=hf(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function hf(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function lg(e,t,n){return dg(e,t,n,!1),lg}function ug(e,t){return dg(e,t,null,!0),ug}function aC(e){fg(gg,cC,e,!1)}function cC(e,t){for(let n=rC(t);n>=0;n=ag(t,n))gg(e,ig(t),tC(t))}function lC(e){fg(mC,uC,e,!0)}function uC(e,t){for(let n=nC(t);n>=0;n=sg(t,n))ar(e,ig(t),!0)}function dg(e,t,n,r){let o=y(),i=A(),s=hr(2);if(i.firstUpdatePass&&hg(i,e,s,r),t!==G&&te(o,s,t)){let a=i.data[me()];mg(i,a,o,o[x],e,o[s+1]=vC(t,n),r,s)}}function fg(e,t,n,r){let o=A(),i=hr(2);o.firstUpdatePass&&hg(o,null,i,r);let s=y();if(n!==G&&te(s,i,n)){let a=o.data[me()];if(yg(a,r)&&!pg(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Po(c,n||"")),Nc(o,a,s,n,r)}else yC(o,a,s,s[x],s[i+1],s[i+1]=gC(e,t,n),r,i)}}function pg(e,t){return t>=e.expandoStartIndex}function hg(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[me()],s=pg(e,n);yg(i,r)&&t===null&&!s&&(t=!1),t=dC(o,i,t,r),Jw(o,i,t,n,s,r)}}function dC(e,t,n,r){let o=yd(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=$a(null,e,t,n,r),n=Lr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=$a(o,e,t,n,r),i===null){let c=fC(e,t,r);c!==void 0&&Array.isArray(c)&&(c=$a(null,e,t,c[1],r),c=Lr(c,t.attrs,r),pC(e,t,r,c))}else i=hC(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function fC(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Ln(r)!==0)return e[en(r)]}function pC(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[en(o)]=r}function hC(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Lr(r,s,n)}return Lr(r,t.attrs,n)}function $a(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Lr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Lr(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),ar(e,s,n?!0:t[++i]))}return e===void 0?null:e}function gC(e,t,n){if(n==null||n==="")return K;let r=[],o=tn(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function gg(e,t,n){ar(e,t,tn(n))}function mC(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&ar(e,r,n)}function yC(e,t,n,r,o,i,s,a){o===G&&(o=K);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,g;u===d?(c+=2,l+=2,p!==f&&(h=d,g=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,g=f),h!==null&&mg(e,t,n,r,h,g,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function mg(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=Kw(l)?gf(c,t,n,o,Ln(l),s):void 0;if(!ki(u)){ki(i)||Zw(l)&&(i=gf(c,null,n,o,a,s));let d=ur(me(),n);aI(r,s,d,o,i)}}function gf(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===G&&(p=d?K:void 0);let f=d?Bo(p,r):u===r?p:void 0;if(l&&!ki(f)&&(f=Bo(c,r)),ki(f)&&(a=f,s))return a;let h=e[o+1];o=s?en(h):Ln(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Bo(c,r))}return a}function ki(e){return e!==void 0}function vC(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=qe(tn(e)))),e}function yg(e,t){return(e.flags&(t?8:16))!==0}function IC(e,t=""){let n=y(),r=A(),o=e+S,i=r.firstCreatePass?nn(r,o,1,t,null):r.data[o],s=EC(r,n,i,t,e);n[o]=s,mr()&&Kc(r,n,s,i),Fe(i,!1)}var EC=(e,t,n,r,o)=>(_n(!0),up(t[x],r));function vg(e,t,n,r=""){return te(e,Ce(),n)?t+le(n)+r:G}function DC(e,t,n,r,o,i=""){let s=Yo(),a=Rr(e,s,n,o);return hr(2),a?t+le(n)+r+le(o)+i:G}function wC(e,t,n,r,o,i,s,a=""){let c=Yo(),l=Kp(e,c,n,o,s);return hr(3),l?t+le(n)+r+le(o)+i+le(s)+a:G}function Ig(e){return Al("",e),Ig}function Al(e,t,n){let r=y(),o=vg(r,e,t,n);return o!==G&&Ol(r,me(),o),Al}function Eg(e,t,n,r,o){let i=y(),s=DC(i,e,t,n,r,o);return s!==G&&Ol(i,me(),s),Eg}function Dg(e,t,n,r,o,i,s){let a=y(),c=wC(a,e,t,n,r,o,i,s);return c!==G&&Ol(a,me(),c),Dg}function Ol(e,t,n){let r=ur(t,e);dp(e[x],r,n)}function wg(e,t,n){Sa(t)&&(t=t());let r=y(),o=Ce();if(te(r,o,t)){let i=A(),s=Tn();Xc(s,r,e,t,r[x],n)}return wg}function CC(e,t){let n=Sa(e);return n&&e.set(t),n}function Cg(e,t){let n=y(),r=A(),o=U();return og(r,n,n[x],o,e,t),Cg}var bg={};function Tg(e){let t=A(),n=y(),r=e+S,o=nn(t,r,128,null,null);return Fe(o,!1),dr(t,n,r,bg),Tg}function bC(e){Ve("NgLet");let t=A(),n=y(),r=me();return dr(t,n,r,e),e}function TC(e){let t=wa(),n=wn(t,S+e);if(n===bg)throw new b(314,!1);return n}function _C(e){return te(y(),Ce(),e)?le(e):G}function MC(e,t,n=""){return vg(y(),e,t,n)}function NC(e,t,n){let r=A();if(r.firstCreatePass){let o=Le(e);Ac(n,r.data,r.blueprint,o,!0),Ac(t,r.data,r.blueprint,o,!1)}}function Ac(e,t,n,r,o){if(e=Y(e),Array.isArray(e))for(let i=0;i<e.length;i++)Ac(e[i],t,n,r,o);else{let i=A(),s=y(),a=U(),c=Ft(e)?e:Y(e.provide),l=oa(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Ft(e)||!e.multi){let f=new Yt(l,o,Ur,null),h=qa(c,t,o?u:u+p,d);h===-1?(Ga(Ii(a,s),i,c),Ua(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=qa(c,t,u+p,d),h=qa(c,t,u,u+p),g=f>=0&&n[f],I=h>=0&&n[h];if(o&&!I||!o&&!g){Ga(Ii(a,s),i,c);let m=RC(o?SC:xC,n.length,o,r,l,e);!o&&I&&(n[h].providerFactory=m),Ua(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(m),s.push(m)}else{let m=_g(n[o?h:f],l,!o&&r);Ua(i,e,f>-1?f:h,m)}!o&&r&&I&&n[h].componentProviders++}}}function Ua(e,t,n,r){let o=Ft(t),i=nd(t);if(o||i){let c=(i?Y(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function _g(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function qa(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function xC(e,t,n,r,o){return Oc(this.multi,[])}function SC(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=_r(r,r[v],this.providerFactory.index,o);s=c.slice(0,a),Oc(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Oc(i,s);return s}function Oc(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function RC(e,t,n,r,o,i){let s=new Yt(e,n,Ur,null);return s.multi=[],s.index=t,s.componentProviders=0,_g(s,o,r&&!n),s}function AC(e,t=[]){return n=>{n.providersResolver=(r,o)=>NC(r,o?o(e):e,t)}}function OC(e,t,n){let r=gt()+e,o=y();return o[r]===G?qr(o,r,n?t.call(n):t()):gE(o,r)}function kC(e,t,n,r){return Mg(y(),gt(),e,t,n,r)}function PC(e,t,n,r,o){return Ng(y(),gt(),e,t,n,r,o)}function LC(e,t,n,r,o,i,s){return jC(y(),gt(),e,t,n,r,o,i,s)}function Xi(e,t){let n=e[t];return n===G?void 0:n}function Mg(e,t,n,r,o,i){let s=t+n;return te(e,s,o)?qr(e,s+1,i?r.call(i,o):r(o)):Xi(e,s+1)}function Ng(e,t,n,r,o,i,s){let a=t+n;return Rr(e,a,o,i)?qr(e,a+2,s?r.call(s,o,i):r(o,i)):Xi(e,a+2)}function FC(e,t,n,r,o,i,s,a){let c=t+n;return Kp(e,c,o,i,s)?qr(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Xi(e,c+3)}function jC(e,t,n,r,o,i,s,a,c){let l=t+n;return mE(e,l,o,i,s,a)?qr(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Xi(e,l+4)}function VC(e,t){let n=A(),r,o=e+S;n.firstCreatePass?(r=HC(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=st(r.type,!0)),s,a=ne(Ur);try{let c=vi(!1),l=i();return vi(c),dr(n,y(),o,l),l}finally{ne(a)}}function HC(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function BC(e,t,n){let r=e+S,o=y(),i=wn(o,r);return kl(o,r)?Mg(o,gt(),t,i.transform,n,i):i.transform(n)}function $C(e,t,n,r){let o=e+S,i=y(),s=wn(i,o);return kl(i,o)?Ng(i,gt(),t,s.transform,n,r,s):s.transform(n,r)}function UC(e,t,n,r,o){let i=e+S,s=y(),a=wn(s,i);return kl(s,i)?FC(s,gt(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function kl(e,t){return e[v].data[t].pure}function qC(e,t){return Gi(e,t)}var Pi=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},WC=(()=>{class e{compileModuleSync(n){return new Mi(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Xs(n),i=ap(o.declarations).reduce((s,a)=>{let c=Ie(a);return c&&s.push(new wt(c)),s},[]);return new Pi(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var GC=(()=>{class e{zone=w(re);changeDetectionScheduler=w(fe);applicationRef=w(zr);applicationErrorHandler=w(ze);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function xg({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new re(Q(z({},Sg()),{scheduleInRootZone:n})),[{provide:re,useFactory:e},{provide:Ht,multi:!0,useFactory:()=>{let r=w(GC,{optional:!0});return()=>r.initialize()}},{provide:Ht,multi:!0,useFactory:()=>{let r=w(zC);return()=>{r.initialize()}}},t===!0?{provide:Ra,useValue:!0}:[],{provide:ti,useValue:n??Eh},{provide:ze,useFactory:()=>{let r=w(re),o=w(ce),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(Re),i.handleError(s))})}}}]}function Sg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var zC=(()=>{class e{subscription=new B;initialized=!1;zone=w(re);pendingTasks=w(vt);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{re.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{re.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Pl=(()=>{class e{applicationErrorHandler=w(ze);appRef=w(zr);taskService=w(vt);ngZone=w(re);zonelessEnabled=w(yr);tracing=w(Gr,{optional:!0});disableScheduling=w(Ra,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new B;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(xi):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(w(ti,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof kr||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Yd:Dh;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(xi+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Yd(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function QC(){return Ve("NgZoneless"),ta([{provide:fe,useExisting:Pl},{provide:re,useClass:kr},{provide:yr,useValue:!0},{provide:ti,useValue:!1},[]])}function ZC(){return typeof $localize<"u"&&$localize.locale||Qr}var Ll=new R("",{providedIn:"root",factory:()=>w(Ll,{optional:!0,skipSelf:!0})||ZC()}),YC=new R("",{providedIn:"root",factory:()=>rw});var Zr=class{destroyed=!1;listeners=null;errorHandler=w(Re,{optional:!0});destroyRef=w(Ge);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new b(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(gn(953,!1));return}if(this.listeners===null)return;let n=E(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{E(n)}}};function Te(e){return ju(e)}function rn(e,t){return Gn(e,t?.equal)}var Fl=class{[F];constructor(t){this[F]=t}destroy(){this[F].destroy()}};function Og(e,t){let n=t?.injector??w(ve),r=t?.manualCleanup!==!0?n.get(Ge):null,o,i=n.get(Nn,null,{optional:!0}),s=n.get(fe);return i!==null?(o=XC(i.view,s,e),r instanceof or&&r._lView===i.view&&(r=null)):o=eb(e,n.get(Ir),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Fl(o)}var kg=Q(z({},Me),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:zt,run(){if(this.dirty=!1,this.hasRun&&!Mt(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=Ne(this),n=bn(!1);try{this.maybeCleanup(),this.fn(e)}finally{bn(n),Be(this,t)}},maybeCleanup(){if(!this.cleanupFns?.length)return;let e=E(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],E(e)}}}),KC=Q(z({},kg),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){tt(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),JC=Q(z({},kg),{consumerMarkedDirty(){this.view[D]|=8192,ht(this.view),this.notifier.notify(13)},destroy(){tt(this),this.onDestroyFn(),this.maybeCleanup(),this.view[We]?.delete(this)}});function XC(e,t,n){let r=Object.create(JC);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[We]??=new Set,e[We].add(r),r.consumerMarkedDirty(r),r}function eb(e,t,n){let r=Object.create(KC);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}var tb=e=>e;function jl(e,t){if(typeof e=="function"){let n=Ms(e,tb,t?.equal);return Rg(n)}else{let n=Ms(e.source,e.computation,e.equal);return Rg(n)}}function Rg(e){let t=e[F],n=e;return n.set=r=>Lu(t,r),n.update=r=>Fu(t,r),n.asReadonly=Mn.bind(e),n}var Pg=!0;function nb(e){let t=e.request,n=e.params??t??(()=>null);return new es(n,ob(e),e.defaultValue,e.equal?rb(e.equal):void 0,e.injector??w(ve),Pg)}var Vl=class{value;constructor(t){this.value=t,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=Mn}isError=rn(()=>this.status()==="error");update(t){this.set(t(Te(this.value)))}isLoading=rn(()=>this.status()==="loading"||this.status()==="reloading");isValueDefined=rn(()=>this.isError()?!1:this.value()!==void 0);hasValue(){return this.isValueDefined()}asReadonly(){return this}},es=class extends Vl{loaderFn;equal;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;constructor(t,n,r,o,i,s=Pg){super(rn(()=>{let a=this.state().stream?.();if(!a||this.state().status==="loading"&&this.error())return r;if(!Hl(a)){if(s)throw new Bl(this.error());return r}return a.value},{equal:o})),this.loaderFn=n,this.equal=o,this.extRequest=jl({source:t,computation:a=>({request:a,reload:0})}),this.state=jl({source:this.extRequest,computation:(a,c)=>{let l=a.request===void 0?"idle":"loading";return c?{extRequest:a,status:l,previousStatus:Ag(c.value),stream:c.value.extRequest.request===a.request?c.value.stream:void 0}:{extRequest:a,status:l,previousStatus:"idle",stream:void 0}}}),this.effectRef=Og(this.loadEffect.bind(this),{injector:i,manualCleanup:!0}),this.pendingTasks=i.get(vr),this.unregisterOnDestroy=i.get(Ge).onDestroy(()=>this.destroy())}status=rn(()=>Ag(this.state()));error=rn(()=>{let t=this.state().stream?.();return t&&!Hl(t)?t.error:void 0});set(t){if(this.destroyed)return;let n=Te(this.error),r=Te(this.state);if(!n){let o=Te(this.value);if(r.status==="local"&&(this.equal?this.equal(o,t):o===t))return}this.state.set({extRequest:r.extRequest,status:"local",previousStatus:"local",stream:yt({value:t})}),this.abortInProgressLoad()}reload(){let{status:t}=Te(this.state);return t==="idle"||t==="loading"?!1:(this.extRequest.update(({request:n,reload:r})=>({request:n,reload:r+1})),!0)}destroy(){this.destroyed=!0,this.unregisterOnDestroy(),this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:"idle",previousStatus:"idle",stream:void 0})}async loadEffect(){let t=this.extRequest(),{status:n,previousStatus:r}=Te(this.state);if(t.request===void 0)return;if(n!=="loading")return;this.abortInProgressLoad();let o=this.resolvePendingTask=this.pendingTasks.add(),{signal:i}=this.pendingController=new AbortController;try{let s=await Te(()=>this.loaderFn({params:t.request,request:t.request,abortSignal:i,previous:{status:r}}));if(i.aborted||Te(this.extRequest)!==t)return;this.state.set({extRequest:t,status:"resolved",previousStatus:"resolved",stream:s})}catch(s){if(i.aborted||Te(this.extRequest)!==t)return;this.state.set({extRequest:t,status:"resolved",previousStatus:"error",stream:yt({error:Ul(s)})})}finally{o?.(),o=void 0}}abortInProgressLoad(){Te(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function rb(e){return(t,n)=>t===void 0||n===void 0?t===n:e(t,n)}function ob(e){return ib(e)?e.stream:async t=>{try{return yt({value:await e.loader(t)})}catch(n){return yt({error:Ul(n)})}}}function ib(e){return!!e.stream}function Ag(e){switch(e.status){case"loading":return e.extRequest.reload===0?"loading":"reloading";case"resolved":return Hl(e.stream())?"resolved":"error";default:return e.status}}function Hl(e){return e.error===void 0}function Ul(e){return e instanceof Error?e:new $l(e)}var Bl=class extends Error{constructor(t){super(t.message,{cause:t})}},$l=class extends Error{constructor(t){super(String(t),{cause:t})}};var rs=Symbol("InputSignalNode#UNSET"),Gg=Q(z({},eo),{transformFn:void 0,applyValueToInputSignal(e,t){nt(e,t)}});function zg(e,t){let n=Object.create(Gg);n.value=e,n.transformFn=t?.transform;function r(){if(et(n),n.value===rs){let o=null;throw new b(-950,o)}return n.value}return r[F]=n,r}var Lg=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Of(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},ab=new R("");ab.__NG_ELEMENT_ID__=e=>{let t=U();if(t===null)throw new b(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new b(204,!1)};function r0(e){return new Zr}function Fg(e,t){return zg(e,t)}function cb(e){return zg(rs,e)}var o0=(Fg.required=cb,Fg);function jg(e,t){return gl(t)}function lb(e,t){return ml(t)}var i0=(jg.required=lb,jg);function Vg(e,t){return gl(t)}function ub(e,t){return ml(t)}var s0=(Vg.required=ub,Vg);function Qg(e,t){let n=Object.create(Gg),r=new Zr;n.value=e;function o(){return et(n),Hg(n.value),n.value}return o[F]=n,o.asReadonly=Mn.bind(o),o.set=i=>{n.equal(n.value,i)||(nt(n,i),r.emit(i))},o.update=i=>{Hg(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Hg(e){if(e===rs)throw new b(952,!1)}function Bg(e,t){return Qg(e,t)}function db(e){return Qg(rs,e)}var a0=(Bg.required=db,Bg);var $g=class{full;major;minor;patch;constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}};var ql=new R(""),fb=new R("");function Yr(e){return!e.moduleRef}function pb(e){let t=Yr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(re);return n.run(()=>{Yr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(ze),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Yr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(ql);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(ql);s.add(i),e.moduleRef.onDestroy(()=>{wr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return gb(r,n,()=>{let i=t.get(vt),s=i.add(),a=t.get(Cl);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Ll,Qr);if(qh(c||Qr),!t.get(fb,!0))return Yr(e)?t.get(zr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Yr(e)){let u=t.get(zr);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return hb?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var hb;function gb(e,t,n){try{let r=n();return wl(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var ts=null;function mb(e=[],t){return ve.create({name:t,providers:[{provide:ra,useValue:"platform"},{provide:ql,useValue:new Set([()=>ts=null])},...e]})}function yb(e=[]){if(ts)return ts;let t=mb(e);return ts=t,Sh(),vb(t),t}function vb(e){let t=e.get(Hf,null);qo(e,()=>{t?.forEach(n=>n())})}var c0=(()=>{class e{static __NG_ELEMENT_ID__=Ib}return e})();function Ib(e){return Eb(U(),y(),(e&16)===16)}function Eb(e,t,n){if(ft(e)&&!n){let r=ge(e.index,t);return new Dt(r,r)}else if(e.type&175){let r=t[ee];return new Dt(r,t)}return null}var Wl=class{constructor(){}supports(t){return fl(t)}create(t){return new Gl(t)}},Db=(e,t)=>t,Gl=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||Db}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<Ug(r,o,i)?n:r,a=Ug(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;u<=h&&h<l&&(i[p]=f+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!fl(t))throw new b(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,Yp(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new zl(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new ns),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new ns),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},zl=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},Ql=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},ns=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Ql,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Ug(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var Zl=class{constructor(){}supports(t){return t instanceof Map||Zi(t)}create(){return new Yl}},Yl=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Zi(t)))throw new b(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Kl(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},Kl=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function qg(){return new wb([new Wl])}var wb=(()=>{class e{factories;static \u0275prov=j({token:e,providedIn:"root",factory:qg});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||qg()),deps:[[e,new Pc,new kc]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new b(901,!1)}}return e})();function Wg(){return new Cb([new Zl])}var Cb=(()=>{class e{static \u0275prov=j({token:e,providedIn:"root",factory:Wg});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Wg()),deps:[[e,new Pc,new kc]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new b(901,!1)}}return e})();function l0(e){O(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=yb(r),i=[xg({}),{provide:fe,useExisting:Pl},_d,...n||[]],s=new Or({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return pb({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}finally{O(9)}}function u0(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function d0(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function f0(e,t){let n=Ie(e),r=t.elementInjector||yn();return new wt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function p0(e){let t=Ie(e);if(!t)return null;let n=new wt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}export{F as a,nt as b,Xr as c,B as d,om as e,N as f,Ds as g,ws as h,de as i,Yn as j,Kn as k,At as l,ot as m,hm as n,vm as o,Im as p,Ot as q,it as r,Mm as s,kt as t,Cs as u,Mo as v,xm as w,Sm as x,bs as y,Jn as z,Am as A,Is as B,Om as C,gm as D,Xn as E,Co as F,mm as G,Tu as H,Pm as I,Ts as J,Lm as K,Fm as L,jm as M,Vm as N,Hm as O,_u as P,Mu as Q,Pu as R,b as S,gn as T,Lo as U,j as V,Wu as W,qm as X,R as Y,Se as Z,w as _,ta as $,ra as aa,ce as ba,qo as ca,uy as da,dd as ea,fd as fa,wd as ga,Cd as ha,ve as ia,hy as ja,Ge as ka,Re as la,ze as ma,xa as na,yt as oa,vt as pa,vr as qa,Ty as ra,Uy as sa,Of as ta,Fr as ua,Yy as va,Ky as wa,Hf as xa,Xy as ya,ev as za,Bf as Aa,tv as Ba,On as Ca,tn as Da,Vi as Ea,cv as Fa,lv as Ga,uv as Ha,dv as Ia,fv as Ja,Hi as Ka,op as La,Vr as Ma,Mv as Na,ip as Oa,xv as Pa,kv as Qa,Jv as Ra,Di as Sa,xr as Ta,Sr as Ua,rE as Va,Ur as Wa,Yi as Xa,Ve as Ya,kn as Za,dh as _a,VE as $a,yl as ab,BE as bb,UE as cb,GE as db,zE as eb,hh as fb,mh as gb,yh as hb,Gr as ib,Ze as jb,re as kb,vD as lb,AD as mb,wl as nb,Mh as ob,xh as pb,zr as qb,jD as rb,VD as sb,Oh as tb,BD as ub,$D as vb,UD as wb,qD as xb,WD as yb,kh as zb,Tl as Ab,_l as Bb,Ph as Cb,Ml as Db,Nl as Eb,Lh as Fb,xl as Gb,Sl as Hb,jh as Ib,ZD as Jb,Vh as Kb,JD as Lb,Rl as Mb,XD as Nb,Hh as Ob,Pn as Pb,Xh as Qb,eg as Rb,Ow as Sb,tg as Tb,kw as Ub,Pw as Vb,ng as Wb,rg as Xb,Lw as Yb,jw as Zb,Vw as _b,Bw as $b,$w as ac,Uw as bc,qw as cc,Ww as dc,Gw as ec,zw as fc,Qw as gc,lg as hc,ug as ic,aC as jc,lC as kc,IC as lc,Ig as mc,Al as nc,Eg as oc,Dg as pc,wg as qc,CC as rc,Cg as sc,Tg as tc,bC as uc,TC as vc,_C as wc,MC as xc,AC as yc,OC as zc,kC as Ac,PC as Bc,LC as Cc,VC as Dc,BC as Ec,$C as Fc,UC as Gc,qC as Hc,WC as Ic,QC as Jc,Ll as Kc,YC as Lc,Zr as Mc,Te as Nc,rn as Oc,Og as Pc,nb as Qc,Ul as Rc,Lg as Sc,r0 as Tc,o0 as Uc,i0 as Vc,s0 as Wc,a0 as Xc,$g as Yc,c0 as Zc,wb as _c,Cb as $c,l0 as ad,u0 as bd,d0 as cd,f0 as dd,p0 as ed};