@whoz-oss/coday-client 0.211.0 → 0.212.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/browser/chunk-2BN4B3OL.js +1 -0
  2. package/browser/{chunk-P2H3E3A5.js → chunk-2M7UJVMC.js} +1 -1
  3. package/browser/{chunk-BFHBI6M4.js → chunk-2PNAJMT3.js} +1 -1
  4. package/browser/{chunk-S7353OXG.js → chunk-34BTCCLM.js} +1 -1
  5. package/browser/{chunk-PG25CCE5.js → chunk-3F2YMBKP.js} +1 -1
  6. package/browser/{chunk-LRFTCV6X.js → chunk-3FFHE56W.js} +1 -1
  7. package/browser/{chunk-GMEPQIKD.js → chunk-3HJTBDXT.js} +1 -1
  8. package/browser/{chunk-TT7A5DFQ.js → chunk-3W2U42II.js} +1 -1
  9. package/browser/{chunk-SDPYXC6U.js → chunk-4TH4ERQY.js} +1 -1
  10. package/browser/chunk-5NLXR4MK.js +5 -0
  11. package/browser/{chunk-TD5QFOMN.js → chunk-66JGZWOM.js} +1 -1
  12. package/browser/{chunk-XMX2HILZ.js → chunk-6AVOYZCH.js} +1 -1
  13. package/browser/{chunk-M7KJM66I.js → chunk-6SDJIZMP.js} +1 -1
  14. package/browser/{chunk-Q4QETBSU.js → chunk-7EHCV7WH.js} +1 -1
  15. package/browser/{chunk-JKGV5VDH.js → chunk-7U5MROHI.js} +1 -1
  16. package/browser/{chunk-3KLIHIYI.js → chunk-A34IERCN.js} +1 -1
  17. package/browser/{chunk-76J57JUY.js → chunk-BJM7MKOH.js} +1 -1
  18. package/browser/{chunk-QN7OUZIZ.js → chunk-BZ7URUNM.js} +1 -1
  19. package/browser/{chunk-EIJAV76W.js → chunk-BZS55WHS.js} +1 -1
  20. package/browser/{chunk-TGWQ4PGG.js → chunk-C2XSJPYF.js} +1 -1
  21. package/browser/{chunk-46WOQYAR.js → chunk-CA4E6QDU.js} +1 -1
  22. package/browser/{chunk-7ZPD4MSE.js → chunk-CAGXAQN4.js} +1 -1
  23. package/browser/{chunk-XEZ6VJ4O.js → chunk-DJOQI226.js} +1 -1
  24. package/browser/chunk-DVROUT7T.js +1 -0
  25. package/browser/{chunk-TISGZSTL.js → chunk-E2KMSNBI.js} +1 -1
  26. package/browser/{chunk-NXKPUZGQ.js → chunk-EBAEYY2S.js} +1 -1
  27. package/browser/{chunk-2S57CBYZ.js → chunk-EFCODPLG.js} +1 -1
  28. package/browser/chunk-EKYOF32Y.js +1 -0
  29. package/browser/chunk-F4BSKSY7.js +1 -0
  30. package/browser/{chunk-ICVL3MNG.js → chunk-FUCTIGHD.js} +1 -1
  31. package/browser/{chunk-VSCZ2PDC.js → chunk-GCJZKHAW.js} +1 -1
  32. package/browser/chunk-GDWZ2TMN.js +1 -0
  33. package/browser/{chunk-HTKDXFLE.js → chunk-GF3EMWCA.js} +1 -1
  34. package/browser/{chunk-MAHIDPCP.js → chunk-GPZP3WYQ.js} +1 -1
  35. package/browser/{chunk-VMVYRYDR.js → chunk-GUV6MT45.js} +1 -1
  36. package/browser/{chunk-SVDYPTKV.js → chunk-HPTWGGVI.js} +1 -1
  37. package/browser/{chunk-C2WDN7VC.js → chunk-HPVNIFEJ.js} +1 -1
  38. package/browser/{chunk-CJGAUAQG.js → chunk-HV2LANES.js} +1 -1
  39. package/browser/{chunk-5V6YWKKW.js → chunk-IDD4RLL7.js} +1 -1
  40. package/browser/{chunk-F5MVOI67.js → chunk-IRW4FVEN.js} +1 -1
  41. package/browser/{chunk-63CH53ZX.js → chunk-J5W3AZMJ.js} +1 -1
  42. package/browser/{chunk-BIRQBBDM.js → chunk-JEN2LAHJ.js} +1 -1
  43. package/browser/{chunk-2BY3KQRI.js → chunk-K6PYQXSH.js} +1 -1
  44. package/browser/{chunk-SECZWZIB.js → chunk-KD3BJ52V.js} +1 -1
  45. package/browser/{chunk-74OAAPUO.js → chunk-KK4POI54.js} +1 -1
  46. package/browser/{chunk-X5QAL64P.js → chunk-KP4KMDLX.js} +1 -1
  47. package/browser/{chunk-RYCGZWL2.js → chunk-KWBMAZB4.js} +1 -1
  48. package/browser/{chunk-FM5EGDVD.js → chunk-LN55MSDV.js} +1 -1
  49. package/browser/chunk-M3LG5XSB.js +1 -0
  50. package/browser/{chunk-WE6G6IT3.js → chunk-NAHXPRXR.js} +1 -1
  51. package/browser/{chunk-IAIUV3RV.js → chunk-NCFBQG5D.js} +1 -1
  52. package/browser/chunk-NHXL5GKK.js +1 -0
  53. package/browser/{chunk-MXMEO3GF.js → chunk-NUQZWQIL.js} +1 -1
  54. package/browser/chunk-O37JOBGG.js +1 -0
  55. package/browser/{chunk-BE7M4IG4.js → chunk-O73HCJ4T.js} +1 -1
  56. package/browser/{chunk-Y7F5MAVT.js → chunk-OINUZPA5.js} +1 -1
  57. package/browser/{chunk-NNVKL253.js → chunk-OPSHMM4H.js} +1 -1
  58. package/browser/{chunk-KCCB2UUO.js → chunk-OWSH6KVW.js} +1 -1
  59. package/browser/{chunk-32554AB2.js → chunk-P4GNUQZT.js} +1 -1
  60. package/browser/{chunk-KQBJFLLL.js → chunk-P6FB27NC.js} +1 -1
  61. package/browser/{chunk-E5DDFFB5.js → chunk-PY555EP5.js} +1 -1
  62. package/browser/{chunk-AR4TQRY3.js → chunk-QCDV42EK.js} +1 -1
  63. package/browser/{chunk-JEQJLLFU.js → chunk-QSWJW2CT.js} +1 -1
  64. package/browser/{chunk-JZJSONXG.js → chunk-RXRBDGVY.js} +1 -1
  65. package/browser/{chunk-H3TZ44FQ.js → chunk-S3LSARXT.js} +1 -1
  66. package/browser/{chunk-AFDQ6DZP.js → chunk-S5RA5ZES.js} +1 -1
  67. package/browser/chunk-SDINNYUR.js +1 -0
  68. package/browser/{chunk-BVQ4XPRS.js → chunk-SKBT6DBT.js} +1 -1
  69. package/browser/{chunk-RAN3AUJQ.js → chunk-SO6H32XQ.js} +1 -1
  70. package/browser/chunk-SOAR3OAC.js +6 -0
  71. package/browser/{chunk-6XJNC5K6.js → chunk-SPSSJANY.js} +1 -1
  72. package/browser/{chunk-RULUSI5M.js → chunk-TUARXNRR.js} +1 -1
  73. package/browser/{chunk-CK52GCRW.js → chunk-U5L2OULZ.js} +1 -1
  74. package/browser/{chunk-WBQOEBH7.js → chunk-UDEMKCGK.js} +1 -1
  75. package/browser/chunk-UL6K7Q2E.js +1 -0
  76. package/browser/{chunk-Z54GR5ZE.js → chunk-UR4HA56C.js} +1 -1
  77. package/browser/{chunk-JLMNYKPP.js → chunk-V3HCXJKS.js} +1 -1
  78. package/browser/{chunk-RAZWY4EA.js → chunk-V4N6GKHW.js} +1 -1
  79. package/browser/{chunk-E5MHC5FO.js → chunk-V7NUXN3R.js} +1 -1
  80. package/browser/{chunk-2C5ENIQ7.js → chunk-VLPN6IDQ.js} +1 -1
  81. package/browser/chunk-VOUBTGWM.js +1 -0
  82. package/browser/{chunk-5TU5JR3W.js → chunk-W7ZS65Y4.js} +1 -1
  83. package/browser/{chunk-CHH2YNB6.js → chunk-WIYSZEOD.js} +1 -1
  84. package/browser/{chunk-DCQJI6UI.js → chunk-WPII4MHK.js} +1 -1
  85. package/browser/{chunk-WFACDK2M.js → chunk-XC3I4AWV.js} +1 -1
  86. package/browser/{chunk-EKDXOFZ4.js → chunk-XRPNDAPU.js} +1 -1
  87. package/browser/{chunk-GPFXEDNE.js → chunk-XSG2UKSS.js} +1 -1
  88. package/browser/{chunk-JE46DHIY.js → chunk-YTQT7NZE.js} +1 -1
  89. package/browser/{chunk-7VQ75OC6.js → chunk-Z6RFJ6L3.js} +1 -1
  90. package/browser/index.html +1 -1
  91. package/browser/main-HWU5NMWS.js +1 -0
  92. package/package.json +1 -1
  93. package/browser/chunk-2AZPKCT2.js +0 -1
  94. package/browser/chunk-7BVQ2WHQ.js +0 -1
  95. package/browser/chunk-ERDL7CBL.js +0 -1
  96. package/browser/chunk-F7X52MX4.js +0 -6
  97. package/browser/chunk-GFBKFSKL.js +0 -1
  98. package/browser/chunk-LNJHIZH4.js +0 -1
  99. package/browser/chunk-OGRY5XOW.js +0 -1
  100. package/browser/chunk-QDO3O2UB.js +0 -5
  101. package/browser/chunk-QGAK24J7.js +0 -1
  102. package/browser/chunk-QP5FMZO7.js +0 -1
  103. package/browser/chunk-RMX22TIL.js +0 -1
  104. package/browser/chunk-UQKCMPNK.js +0 -1
  105. package/browser/chunk-ZX7BSCA5.js +0 -1
  106. package/browser/main-NWHBJ3QR.js +0 -1
@@ -0,0 +1,5 @@
1
+ var Ym=Object.defineProperty,Qm=Object.defineProperties;var Km=Object.getOwnPropertyDescriptors;var bo=Object.getOwnPropertySymbols;var jl=Object.prototype.hasOwnProperty,Bl=Object.prototype.propertyIsEnumerable;var Ll=(e,t,n)=>t in e?Ym(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,B=(e,t)=>{for(var n in t||={})jl.call(t,n)&&Ll(e,n,t[n]);if(bo)for(var n of bo(t))Bl.call(t,n)&&Ll(e,n,t[n]);return e},$=(e,t)=>Qm(e,Km(t));var Jm=(e,t)=>{var n={};for(var r in e)jl.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&bo)for(var r of bo(e))t.indexOf(r)<0&&Bl.call(e,r)&&(n[r]=e[r]);return n};var Sn=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});function N(e){return typeof e=="function"}function Mt(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=Mt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
+ ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Zt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var J=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(N(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{Vl(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)Vl(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)&&Zt(n,t)}remove(t){let{_finalizers:n}=this;n&&Zt(n,t),t instanceof e&&t._removeParent(this)}};J.EMPTY=(()=>{let e=new J;return e.closed=!0,e})();var qs=J.EMPTY;function _o(e){return e instanceof J||e&&"closed"in e&&N(e.remove)&&N(e.add)&&N(e.unsubscribe)}function Vl(e){N(e)?e():e.unsubscribe()}var Oe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Nn={setTimeout(e,t,...n){let{delegate:r}=Nn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Nn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Mo(e){Nn.setTimeout(()=>{let{onUnhandledError:t}=Oe;if(t)t(e);else throw e})}function Yt(){}var Hl=Zs("C",void 0,void 0);function Ul(e){return Zs("E",void 0,e)}function $l(e){return Zs("N",e,void 0)}function Zs(e,t,n){return{kind:e,value:t,error:n}}var Qt=null;function An(e){if(Oe.useDeprecatedSynchronousErrorHandling){let t=!Qt;if(t&&(Qt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Qt;if(Qt=null,n)throw r}}else e()}function zl(e){Oe.useDeprecatedSynchronousErrorHandling&&Qt&&(Qt.errorThrown=!0,Qt.error=e)}var Kt=class extends J{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,_o(t)&&t.add(this)):this.destination=ty}static create(t,n,r){return new ke(t,n,r)}next(t){this.isStopped?Qs($l(t),this):this._next(t)}error(t){this.isStopped?Qs(Ul(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Qs(Hl,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()}}},Xm=Function.prototype.bind;function Ys(e,t){return Xm.call(e,t)}var Ks=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){So(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){So(r)}else So(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){So(n)}}},ke=class extends Kt{constructor(t,n,r){super();let o;if(N(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Oe.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Ys(t.next,i),error:t.error&&Ys(t.error,i),complete:t.complete&&Ys(t.complete,i)}):o=t}this.destination=new Ks(o)}};function So(e){Oe.useDeprecatedSynchronousErrorHandling?zl(e):Mo(e)}function ey(e){throw e}function Qs(e,t){let{onStoppedNotification:n}=Oe;n&&Nn.setTimeout(()=>n(e,t))}var ty={closed:!0,next:Yt,error:ey,complete:Yt};var xn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Ee(e){return e}function ny(...e){return Js(e)}function Js(e){return e.length===0?Ee:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var x=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=oy(n)?n:new ke(n,r,o);return An(()=>{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=Gl(r),new r((o,i)=>{let s=new ke({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)}[xn](){return this}pipe(...n){return Js(n)(this)}toPromise(n){return n=Gl(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 Gl(e){var t;return(t=e??Oe.Promise)!==null&&t!==void 0?t:Promise}function ry(e){return e&&N(e.next)&&N(e.error)&&N(e.complete)}function oy(e){return e&&e instanceof Kt||ry(e)&&_o(e)}var Wl=Mt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ue=(()=>{class e extends x{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new No(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Wl}next(n){An(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){An(()=>{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(){An(()=>{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?qs:(this.currentObservers=null,i.push(n),new J(()=>{this.currentObservers=null,Zt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new x;return n.source=this,n}}return e.create=(t,n)=>new No(t,n),e})(),No=class extends ue{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:qs}};var gr=class extends ue{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)}};function Ao(e){return e&&N(e.schedule)}function Xs(e){return e[e.length-1]}function xo(e){return N(Xs(e))?e.pop():void 0}function Qe(e){return Ao(Xs(e))?e.pop():void 0}function ql(e,t){return typeof Xs(e)=="number"?e.pop():t}function Yl(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function Zl(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 Jt(e){return this instanceof Jt?(this.v=e,this):new Jt(e)}function Ql(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(I){return new Promise(function(y,v){i.push([f,I,y,v])>1||c(f,I)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(I){p(i[0][3],I)}}function u(f){f.value instanceof Jt?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(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 Kl(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 Zl=="function"?Zl(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(u){i({value:u,done:a})},s)}}var Ro=e=>e&&typeof e.length=="number"&&typeof e!="function";function Oo(e){return N(e?.then)}function ko(e){return N(e[xn])}function Fo(e){return Symbol.asyncIterator&&N(e?.[Symbol.asyncIterator])}function Po(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 iy(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Lo=iy();function jo(e){return N(e?.[Lo])}function Bo(e){return Ql(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Jt(n.read());if(o)return yield Jt(void 0);yield yield Jt(r)}}finally{n.releaseLock()}})}function Vo(e){return N(e?.getReader)}function O(e){if(e instanceof x)return e;if(e!=null){if(ko(e))return sy(e);if(Ro(e))return ay(e);if(Oo(e))return cy(e);if(Fo(e))return Jl(e);if(jo(e))return uy(e);if(Vo(e))return ly(e)}throw Po(e)}function sy(e){return new x(t=>{let n=e[xn]();if(N(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ay(e){return new x(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function cy(e){return new x(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Mo)})}function uy(e){return new x(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Jl(e){return new x(t=>{dy(e,t).catch(n=>t.error(n))})}function ly(e){return Jl(Bo(e))}function dy(e,t){var n,r,o,i;return Yl(this,void 0,void 0,function*(){try{for(n=Kl(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 re(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 fy(e){return N(e?.lift)}function M(e){return t=>{if(fy(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 S(e,t,n,r,o){return new ea(e,t,n,r,o)}var ea=class extends Kt{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 Ho(e,t=0){return M((n,r)=>{n.subscribe(S(r,o=>re(r,e,()=>r.next(o),t),()=>re(r,e,()=>r.complete(),t),o=>re(r,e,()=>r.error(o),t)))})}function Uo(e,t=0){return M((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Xl(e,t){return O(e).pipe(Uo(t),Ho(t))}function ed(e,t){return O(e).pipe(Uo(t),Ho(t))}function td(e,t){return new x(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function nd(e,t){return new x(n=>{let r;return re(n,t,()=>{r=e[Lo](),re(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)}),()=>N(r?.return)&&r.return()})}function $o(e,t){if(!e)throw new Error("Iterable cannot be null");return new x(n=>{re(n,t,()=>{let r=e[Symbol.asyncIterator]();re(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function rd(e,t){return $o(Bo(e),t)}function od(e,t){if(e!=null){if(ko(e))return Xl(e,t);if(Ro(e))return td(e,t);if(Oo(e))return ed(e,t);if(Fo(e))return $o(e,t);if(jo(e))return nd(e,t);if(Vo(e))return rd(e,t)}throw Po(e)}function Ke(e,t){return t?od(e,t):O(e)}function zo(...e){let t=Qe(e);return Ke(e,t)}function le(e,t){return M((n,r)=>{let o=0;n.subscribe(S(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:py}=Array,{getPrototypeOf:hy,prototype:gy,keys:my}=Object;function Go(e){if(e.length===1){let t=e[0];if(py(t))return{args:t,keys:null};if(yy(t)){let n=my(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function yy(e){return e&&typeof e=="object"&&hy(e)===gy}var{isArray:vy}=Array;function Dy(e,t){return vy(t)?e(...t):e(t)}function Wo(e){return le(t=>Dy(e,t))}function qo(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Ey(...e){let t=Qe(e),n=xo(e),{args:r,keys:o}=Go(e);if(r.length===0)return Ke([],t);let i=new x(Iy(r,t,o?s=>qo(o,s):Ee));return n?i.pipe(Wo(n)):i}function Iy(e,t,n=Ee){return r=>{id(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)id(t,()=>{let u=Ke(e[c],t),l=!1;u.subscribe(S(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function id(e,t,n){e?re(n,e,t):t()}function wy(...e){let t=xo(e),{args:n,keys:r}=Go(e),o=new x(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;O(n[l]).subscribe(S(i,p=>{d||(d=!0,u--),a[l]=p},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?qo(r,a):a),i.complete())}))}});return t?o.pipe(Wo(t)):o}function St(e,t){return M((n,r)=>{let o=0;n.subscribe(S(r,i=>e.call(t,i,o++)&&r.next(i)))})}function ta(e){return M((t,n)=>{let r=null,o=!1,i;r=t.subscribe(S(n,void 0,void 0,s=>{i=O(e(s,ta(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}var Zo=class extends J{constructor(t,n){super()}schedule(t,n=0){return this}};var mr={setInterval(e,t,...n){let{delegate:r}=mr;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=mr;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Yo=class extends Zo{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 mr.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&&mr.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,Zt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var yr={now(){return(yr.delegate||Date).now()},delegate:void 0};var Rn=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)}};Rn.now=yr.now;var Qo=class extends Rn{constructor(t,n=Rn.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 at=new Qo(Yo),sd=at;function ad(e,t=at){return M((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,r.next(u)}};function c(){let u=s+e,l=t.now();if(l<u){o=this.schedule(void 0,u-l),r.add(o);return}a()}n.subscribe(S(r,u=>{i=u,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function cd(e){return St((t,n)=>e<=n)}function Ko(e,t){return M((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(S(r,c=>{o?.unsubscribe();let u=0,l=i++;O(e(c,l)).subscribe(o=S(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Cy(e){return M((t,n)=>{O(e).subscribe(S(n,()=>n.complete(),Yt)),!n.closed&&t.subscribe(n)})}var vr=class extends ue{constructor(t=1/0,n=1/0,r=yr){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var Xt=new x(e=>e.complete());function by(e,t){let n=N(e)?e:()=>e,r=o=>o.error(n());return new x(t?o=>t.schedule(r,0,o):r)}function Ty(e){return!!e&&(e instanceof x||N(e.lift)&&N(e.subscribe))}var ct=Mt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function _y(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=!1,s;e.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?r(s):n?r(t.defaultValue):o(new ct)}})})}function My(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new ke({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new ct)}});e.subscribe(i)})}function Jo(e){return e instanceof Date&&!isNaN(e)}var Sy=Mt(e=>function(n=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n});function Ny(e,t){let{first:n,each:r,with:o=Ay,scheduler:i=t??at,meta:s=null}=Jo(e)?{first:e}:typeof e=="number"?{each:e}:e;if(n==null&&r==null)throw new TypeError("No timeout provided.");return M((a,c)=>{let u,l,d=null,p=0,f=h=>{l=re(c,i,()=>{try{u.unsubscribe(),O(o({meta:s,lastValue:d,seen:p})).subscribe(c)}catch(I){c.error(I)}},h)};u=a.subscribe(S(c,h=>{l?.unsubscribe(),p++,c.next(d=h),r>0&&f(r)},void 0,void 0,()=>{l?.closed||l?.unsubscribe(),d=null})),!p&&f(n!=null?typeof n=="number"?n:+n-i.now():r)})}function Ay(e){throw new Sy(e)}function ud(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=I=>u<r?h(I):c.push(I),h=I=>{i&&t.next(I),u++;let y=!1;O(n(I,l++)).subscribe(S(t,v=>{o?.(v),i?f(v):t.next(v)},()=>{y=!0},void 0,()=>{if(y)try{for(u--;c.length&&u<r;){let v=c.shift();s?re(t,s,()=>h(v)):h(v)}p()}catch(v){t.error(v)}}))};return e.subscribe(S(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ut(e,t,n=1/0){return N(t)?ut((r,o)=>le((i,s)=>t(r,i,o,s))(O(e(r,o))),n):(typeof t=="number"&&(n=t),M((r,o)=>ud(r,o,e,n)))}function Dr(e=1/0){return ut(Ee,e)}function ld(){return Dr(1)}function On(...e){return ld()(Ke(e,Qe(e)))}function xy(e){return new x(t=>{O(e()).subscribe(t)})}function Xo(e=0,t,n=sd){let r=-1;return t!=null&&(Ao(t)?n=t:r=t),new x(o=>{let i=Jo(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Ry(...e){let t=Qe(e),n=ql(e,1/0),r=e;return r.length?r.length===1?O(r[0]):Dr(n)(Ke(r,t)):Xt}function dd(e){return M((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let u=o;o=null,n.next(u)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(S(n,u=>{r=!0,o=u,i||O(e(u)).subscribe(i=S(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Oy(e,t=at){return dd(()=>Xo(e,t))}function na(e,t){return N(t)?ut(e,t,1):ut(e,1)}function fd(e){return M((t,n)=>{let r=!1;t.subscribe(S(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function en(e){return e<=0?()=>Xt:M((t,n)=>{let r=0;t.subscribe(S(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function pd(){return M((e,t)=>{e.subscribe(S(t,Yt))})}function ra(e){return le(()=>e)}function oa(e,t){return t?n=>On(t.pipe(en(1),pd()),n.pipe(oa(e))):ut((n,r)=>O(e(n,r)).pipe(en(1),ra(n)))}function ky(e,t=at){let n=Xo(e,t);return oa(()=>n)}function hd(e,t=Ee){return e=e??Fy,M((n,r)=>{let o,i=!0;n.subscribe(S(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Fy(e,t){return e===t}function gd(e=Py){return M((t,n)=>{let r=!1;t.subscribe(S(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Py(){return new ct}function ia(e){return M((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function md(e,t){let n=arguments.length>=2;return r=>r.pipe(e?St((o,i)=>e(o,i,r)):Ee,en(1),n?fd(t):gd(()=>new ct))}function Ly(e){return e<=0?()=>Xt:M((t,n)=>{let r=[];t.subscribe(S(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 jy(){return M((e,t)=>{let n,r=!1;e.subscribe(S(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function aa(e={}){let{connector:t=()=>new ue,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,l=d=!1},h=()=>{let I=s;f(),I?.unsubscribe()};return M((I,y)=>{u++,!d&&!l&&p();let v=c=c??t();y.add(()=>{u--,u===0&&!d&&!l&&(a=sa(h,o))}),v.subscribe(y),!s&&u>0&&(s=new ke({next:P=>v.next(P),error:P=>{d=!0,p(),a=sa(f,n,P),v.error(P)},complete:()=>{l=!0,p(),a=sa(f,r),v.complete()}}),O(I).subscribe(s))})(i)}}function sa(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new ke({next:()=>{r.unsubscribe(),e()}});return O(t(...n)).subscribe(r)}function yd(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,aa({connector:()=>new vr(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function vd(...e){let t=Qe(e);return M((n,r)=>{(t?On(e,n,t):On(e,n)).subscribe(r)})}function By(e,t=!1){return M((n,r)=>{let o=0;n.subscribe(S(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function Dd(e,t,n){let r=N(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(S(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):Ee}var oe=null,ei=!1,ca=1,Vy=null,W=Symbol("SIGNAL");function E(e){let t=oe;return oe=e,t}function ti(){return oe}var Nt={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 lt(e){if(ei)throw new Error("");if(oe===null)return;oe.consumerOnSignalRead(e);let t=oe.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=oe.recomputing;if(r&&(n=t!==void 0?t.nextProducer:oe.producers,n!==void 0&&n.producer===e)){oe.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===oe&&(!r||Uy(o,oe)))return;let i=Pn(oe),s={producer:e,consumer:oe,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};oe.producersTail=s,t!==void 0?t.nextProducer=s:oe.producers=s,i&&Cd(e,s)}function Ed(){ca++}function rn(e){if(!(Pn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ca)){if(!e.producerMustRecompute(e)&&!Fn(e)){kn(e);return}e.producerRecomputeValue(e),kn(e)}}function ua(e){if(e.consumers===void 0)return;let t=ei;ei=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Hy(r)}}finally{ei=t}}function la(){return oe?.consumerAllowSignalWrites!==!1}function Hy(e){e.dirty=!0,ua(e),e.consumerMarkedDirty?.(e)}function kn(e){e.dirty=!1,e.lastCleanEpoch=ca}function dt(e){return e&&Id(e),E(e)}function Id(e){e.producersTail=void 0,e.recomputing=!0}function At(e,t){E(t),e&&wd(e)}function wd(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Pn(e))do n=da(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Fn(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(rn(n),r!==n.version))return!0}return!1}function xt(e){if(Pn(e)){let t=e.producers;for(;t!==void 0;)t=da(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Cd(e,t){let n=e.consumersTail,r=Pn(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)Cd(o.producer,o)}function da(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,!Pn(t)){let i=t.producers;for(;i!==void 0;)i=da(i)}return n}function Pn(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Er(e){Vy?.(e)}function Uy(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 Ir(e,t){return Object.is(e,t)}function wr(e,t){let n=Object.create($y);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(rn(n),lt(n),n.value===Je)throw n.error;return n.value};return r[W]=n,Er(n),r}var tn=Symbol("UNSET"),nn=Symbol("COMPUTING"),Je=Symbol("ERRORED"),$y=$(B({},Nt),{value:tn,dirty:!0,error:null,equal:Ir,kind:"computed",producerMustRecompute(e){return e.value===tn||e.value===nn},producerRecomputeValue(e){if(e.value===nn)throw new Error("");let t=e.value;e.value=nn;let n=dt(e),r,o=!1;try{r=e.computation(),E(null),o=t!==tn&&t!==Je&&r!==Je&&e.equal(t,r)}catch(i){r=Je,e.error=i}finally{At(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function zy(){throw new Error}var bd=zy;function Td(e){bd(e)}function fa(e){bd=e}var Gy=null;function pa(e,t){let n=Object.create(Cr);n.value=e,t!==void 0&&(n.equal=t);let r=()=>_d(n);return r[W]=n,Er(n),[r,s=>Rt(n,s),s=>ni(n,s)]}function _d(e){return lt(e),e.value}function Rt(e,t){la()||Td(e),e.equal(e.value,t)||(e.value=t,Wy(e))}function ni(e,t){la()||Td(e),Rt(e,t(e.value))}var Cr=$(B({},Nt),{equal:Ir,value:void 0,kind:"signal"});function Wy(e){e.version++,Ed(),ua(e),Gy?.(e)}var ha=$(B({},Nt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function ga(e){if(e.dirty=!1,e.version>0&&!Fn(e))return;e.version++;let t=dt(e);try{e.cleanup(),e.fn()}finally{At(e,t)}}var ma;function ri(){return ma}function Xe(e){let t=ma;return ma=e,t}var Md=Symbol("NotFound");function Ln(e){return e===Md||e?.name==="\u0275NotFound"}function ya(e,t,n){let r=Object.create(qy);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(rn(r),lt(r),r.value===Je)throw r.error;return r.value};return i[W]=r,Er(r),i}function Sd(e,t){rn(e),Rt(e,t),kn(e)}function Nd(e,t){if(rn(e),e.value===Je)throw e.error;ni(e,t),kn(e)}var qy=$(B({},Nt),{value:tn,dirty:!0,error:null,equal:Ir,kind:"linkedSignal",producerMustRecompute(e){return e.value===tn||e.value===nn},producerRecomputeValue(e){if(e.value===nn)throw new Error("");let t=e.value;e.value=nn;let n=dt(e),r,o=!1;try{let i=e.source(),s=t!==tn&&t!==Je,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,E(null),o=s&&r!==Je&&e.equal(t,r)}catch(i){r=Je,e.error=i}finally{At(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Ad(e){let t=E(null);try{return e()}finally{E(t)}}var li="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",m=class extends Error{code;constructor(t,n){super(et(t,n)),this.code=t}};function Zy(e){return`NG0${Math.abs(e)}`}function et(e,t){return`${Zy(e)}${t?": "+t:""}`}var Te=globalThis;function k(e){for(let t in e)if(e[t]===k)return t;throw Error("")}function Fd(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ar(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Ar).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 di(e,t){return e?t?`${e} ${t}`:e:t||""}var Yy=k({__forward_ref__:k});function fi(e){return e.__forward_ref__=fi,e}function X(e){return Aa(e)?e():e}function Aa(e){return typeof e=="function"&&e.hasOwnProperty(Yy)&&e.__forward_ref__===fi}function T(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function un(e){return{providers:e.providers||[],imports:e.imports||[]}}function xr(e){return Ky(e,pi)}function Qy(e){return xr(e)!==null}function Ky(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Jy(e){let t=e?.[pi]??null;return t||null}function Da(e){return e&&e.hasOwnProperty(ii)?e[ii]:null}var pi=k({\u0275prov:k}),ii=k({\u0275inj:k}),C=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=T({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function xa(e){return e&&!!e.\u0275providers}var Ra=k({\u0275cmp:k}),Oa=k({\u0275dir:k}),ka=k({\u0275pipe:k}),Fa=k({\u0275mod:k}),Tr=k({\u0275fac:k}),ln=k({__NG_ELEMENT_ID__:k}),xd=k({__NG_ENV_ID__:k});function Pa(e){return gi(e,"@NgModule"),e[Fa]||null}function tt(e){return gi(e,"@Component"),e[Ra]||null}function hi(e){return gi(e,"@Directive"),e[Oa]||null}function Pd(e){return gi(e,"@Pipe"),e[ka]||null}function gi(e,t){if(e==null)throw new m(-919,!1)}function _e(e){return typeof e=="string"?e:e==null?"":String(e)}var Ld=k({ngErrorCode:k}),Xy=k({ngErrorMessage:k}),ev=k({ngTokenPath:k});function La(e,t){return jd("",-200,t)}function mi(e,t){throw new m(-201,!1)}function jd(e,t,n){let r=new m(t,e);return r[Ld]=t,r[Xy]=e,n&&(r[ev]=n),r}function tv(e){return e[Ld]}var Ea;function Bd(){return Ea}function de(e){let t=Ea;return Ea=e,t}function ja(e,t,n){let r=xr(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;mi(e,"")}var nv={},on=nv,rv="__NG_DI_FLAG__",Ia=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=sn(n)||0;try{return this.injector.get(t,r&8?null:on,r)}catch(o){if(Ln(o))return o;throw o}}};function ov(e,t=0){let n=ri();if(n===void 0)throw new m(-203,!1);if(n===null)return ja(e,void 0,t);{let r=iv(t),o=n.retrieve(e,r);if(Ln(o)){if(r.optional)return null;throw o}return o}}function b(e,t=0){return(Bd()||ov)(X(e),t)}function g(e,t){return b(e,sn(t))}function sn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function iv(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function wa(e){let t=[];for(let n=0;n<e.length;n++){let r=X(e[n]);if(Array.isArray(r)){if(r.length===0)throw new m(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=sv(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(b(o,i))}else t.push(b(r))}return t}function sv(e){return e[rv]}function Ot(e,t){let n=e.hasOwnProperty(Tr);return n?e[Tr]:null}function Vd(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 Hd(e){return e.flat(Number.POSITIVE_INFINITY)}function yi(e,t){e.forEach(n=>Array.isArray(n)?yi(n,t):t(n))}function Ba(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Rr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ud(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function $d(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 vi(e,t,n){let r=Bn(e,t);return r>=0?e[r|1]=n:(r=~r,$d(e,r,t,n)),r}function Di(e,t){let n=Bn(e,t);if(n>=0)return e[n|1]}function Bn(e,t){return av(e,t,1)}function av(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 Pe={},ie=[],ht=new C(""),Va=new C("",-1),Ha=new C(""),_r=class{get(t,n=on){if(n===on){let o=jd("",-201);throw o.name="\u0275NotFound",o}return n}};function gt(e){return{\u0275providers:e}}function zd(e){return gt([{provide:ht,multi:!0,useValue:e}])}function Gd(...e){return{\u0275providers:Ua(!0,e),\u0275fromNgModule:!0}}function Ua(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return yi(t,s=>{let a=s;si(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Wd(o,i),n}function Wd(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];$a(o,i=>{t(i,r)})}}function si(e,t,n,r){if(e=X(e),!e)return!1;let o=null,i=Da(e),s=!i&&tt(e);if(!i&&!s){let c=e.ngModule;if(i=Da(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 u of c)si(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;yi(i.imports,l=>{si(l,t,n,r)&&(u||=[],u.push(l))}),u!==void 0&&Wd(u,t)}if(!a){let u=Ot(o)||(()=>new o);t({provide:o,useFactory:u,deps:ie},o),t({provide:Ha,useValue:o,multi:!0},o),t({provide:ht,useValue:()=>b(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;$a(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function $a(e,t){for(let n of e)xa(n)&&(n=n.\u0275providers),Array.isArray(n)?$a(n,t):t(n)}var cv=k({provide:String,useValue:k});function qd(e){return e!==null&&typeof e=="object"&&cv in e}function uv(e){return!!(e&&e.useExisting)}function lv(e){return!!(e&&e.useFactory)}function an(e){return typeof e=="function"}function Zd(e){return!!e.useClass}var Or=new C(""),oi={},Rd={},va;function Vn(){return va===void 0&&(va=new _r),va}var fe=class{},cn=class extends fe{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,ba(t,s=>this.processProvider(s)),this.records.set(Va,jn(void 0,this)),o.has("environment")&&this.records.set(fe,jn(void 0,this));let i=this.records.get(Or);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ha,ie,{self:!0}))}retrieve(t,n){let r=sn(n)||0;try{return this.get(t,on,r)}catch(o){if(Ln(o))return o;throw o}}destroy(){br(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 br(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){br(this);let n=Xe(this),r=de(void 0),o;try{return t()}finally{Xe(n),de(r)}}get(t,n=on,r){if(br(this),t.hasOwnProperty(xd))return t[xd](this);let o=sn(r),i,s=Xe(this),a=de(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=gv(t)&&xr(t);l&&this.injectableDefInScope(l)?u=jn(Ca(t),oi):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?Vn():this.parent;return n=o&8&&n===on?null:n,c.get(t,n)}catch(c){let u=tv(c);throw u===-200||u===-201?new m(u,null):c}finally{de(a),Xe(s)}}resolveInjectorInitializers(){let t=E(null),n=Xe(this),r=de(void 0),o;try{let i=this.get(ht,ie,{self:!0});for(let s of i)s()}finally{Xe(n),de(r),E(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=X(t);let n=an(t)?t:X(t&&t.provide),r=fv(t);if(!an(t)&&t.multi===!0){let o=this.records.get(n);o||(o=jn(void 0,oi,!0),o.factory=()=>wa(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===Rd)throw La("");return n.value===oi&&(n.value=Rd,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&hv(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{E(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=X(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 Ca(e){let t=xr(e),n=t!==null?t.factory:Ot(e);if(n!==null)return n;if(e instanceof C)throw new m(-204,!1);if(e instanceof Function)return dv(e);throw new m(-204,!1)}function dv(e){if(e.length>0)throw new m(-204,!1);let n=Jy(e);return n!==null?()=>n.factory(e):()=>new e}function fv(e){if(qd(e))return jn(void 0,e.useValue);{let t=za(e);return jn(t,oi)}}function za(e,t,n){let r;if(an(e)){let o=X(e);return Ot(o)||Ca(o)}else if(qd(e))r=()=>X(e.useValue);else if(lv(e))r=()=>e.useFactory(...wa(e.deps||[]));else if(uv(e))r=(o,i)=>b(X(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=X(e&&(e.useClass||e.provide));if(pv(e))r=()=>new o(...wa(e.deps));else return Ot(o)||Ca(o)}return r}function br(e){if(e.destroyed)throw new m(-205,!1)}function jn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function pv(e){return!!e.deps}function hv(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function gv(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function ba(e,t){for(let n of e)Array.isArray(n)?ba(n,t):n&&xa(n)?ba(n.\u0275providers,t):t(n)}function Hn(e,t){let n;e instanceof cn?(br(e),n=e):n=new Ia(e);let r,o=Xe(n),i=de(void 0);try{return t()}finally{Xe(o),de(i)}}function Yd(){return Bd()!==void 0||ri()!=null}var Le=0,w=1,_=2,ee=3,Me=4,pe=5,dn=6,Un=7,q=8,mt=9,je=10,L=11,$n=12,Ga=13,fn=14,ae=15,Pt=16,pn=17,nt=18,yt=19,Wa=20,pt=21,Ei=22,kt=23,Ie=24,hn=25,Lt=26,V=27,Qd=1,qa=6,jt=7,kr=8,gn=9,Z=10;function vt(e){return Array.isArray(e)&&typeof e[Qd]=="object"}function Be(e){return Array.isArray(e)&&e[Qd]===!0}function Za(e){return(e.flags&4)!==0}function Dt(e){return e.componentOffset>-1}function zn(e){return(e.flags&1)===1}function Ve(e){return!!e.template}function Gn(e){return(e[_]&512)!==0}function mn(e){return(e[_]&256)===256}var Ya="svg",Kd="math";function Se(e){for(;Array.isArray(e);)e=e[Le];return e}function Qa(e,t){return Se(t[e])}function He(e,t){return Se(t[e.index])}function Ii(e,t){return e.data[t]}function Fr(e,t){return e[t]}function Ka(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Ne(e,t){let n=t[e];return vt(n)?n:n[Le]}function Jd(e){return(e[_]&4)===4}function wi(e){return(e[_]&128)===128}function Xd(e){return Be(e[ee])}function we(e,t){return t==null?null:e[t]}function Ja(e){e[pn]=0}function Xa(e){e[_]&1024||(e[_]|=1024,wi(e)&&yn(e))}function ef(e,t){for(;e>0;)t=t[fn],e--;return t}function Pr(e){return!!(e[_]&9216||e[Ie]?.dirty)}function Ci(e){e[je].changeDetectionScheduler?.notify(8),e[_]&64&&(e[_]|=1024),Pr(e)&&yn(e)}function yn(e){e[je].changeDetectionScheduler?.notify(0);let t=Ft(e);for(;t!==null&&!(t[_]&8192||(t[_]|=8192,!wi(t)));)t=Ft(t)}function ec(e,t){if(mn(e))throw new m(911,!1);e[pt]===null&&(e[pt]=[]),e[pt].push(t)}function tf(e,t){if(e[pt]===null)return;let n=e[pt].indexOf(t);n!==-1&&e[pt].splice(n,1)}function Ft(e){let t=e[ee];return Be(t)?t[ee]:t}function tc(e){return e[Un]??=[]}function nc(e){return e.cleanup??=[]}function nf(e,t,n,r){let o=tc(t);o.push(n),e.firstCreatePass&&nc(e).push(r,o.length-1)}var A={lFrame:mf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ta=!1;function rf(){return A.lFrame.elementDepthCount}function of(){A.lFrame.elementDepthCount++}function rc(){A.lFrame.elementDepthCount--}function bi(){return A.bindingsEnabled}function oc(){return A.skipHydrationRootTNode!==null}function ic(e){return A.skipHydrationRootTNode===e}function sc(){A.skipHydrationRootTNode=null}function D(){return A.lFrame.lView}function H(){return A.lFrame.tView}function sf(e){return A.lFrame.contextLView=e,e[q]}function af(e){return A.lFrame.contextLView=null,e}function te(){let e=ac();for(;e!==null&&e.type===64;)e=e.parent;return e}function ac(){return A.lFrame.currentTNode}function cf(){let e=A.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Wn(e,t){let n=A.lFrame;n.currentTNode=e,n.isParent=t}function cc(){return A.lFrame.isParent}function uc(){A.lFrame.isParent=!1}function uf(){return A.lFrame.contextLView}function lc(){return Ta}function Mr(e){let t=Ta;return Ta=e,t}function vn(){let e=A.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function dc(){return A.lFrame.bindingIndex}function lf(e){return A.lFrame.bindingIndex=e}function Bt(){return A.lFrame.bindingIndex++}function Lr(e){let t=A.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function df(){return A.lFrame.inI18n}function ff(e,t){let n=A.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ti(t)}function pf(){return A.lFrame.currentDirectiveIndex}function Ti(e){A.lFrame.currentDirectiveIndex=e}function hf(e){let t=A.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function _i(){return A.lFrame.currentQueryIndex}function jr(e){A.lFrame.currentQueryIndex=e}function mv(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[pe]:null}function fc(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=mv(i),o===null||(i=i[fn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=A.lFrame=gf();return r.currentTNode=t,r.lView=e,!0}function Mi(e){let t=gf(),n=e[w];A.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function gf(){let e=A.lFrame,t=e===null?null:e.child;return t===null?mf(e):t}function mf(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 yf(){let e=A.lFrame;return A.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var pc=yf;function Si(){let e=yf();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 vf(e){return(A.lFrame.contextLView=ef(e,A.lFrame.contextLView))[q]}function Ue(){return A.lFrame.selectedIndex}function Vt(e){A.lFrame.selectedIndex=e}function Br(){let e=A.lFrame;return Ii(e.tView,e.selectedIndex)}function Df(){A.lFrame.currentNamespace=Ya}function Ef(){yv()}function yv(){A.lFrame.currentNamespace=null}function If(){return A.lFrame.currentNamespace}var wf=!0;function Ni(){return wf}function Vr(e){wf=e}function _a(e,t=null,n=null,r){let o=hc(e,t,n,r);return o.resolveInjectorInitializers(),o}function hc(e,t=null,n=null,r,o=new Set){let i=[n||ie,Gd(e)],s;return new cn(i,t||Vn(),s||null,o)}var se=class e{static THROW_IF_NOT_FOUND=on;static NULL=new _r;static create(t,n){if(Array.isArray(t))return _a({name:""},n,t,"");{let r=t.name??"";return _a({name:r},t.parent,t.providers,r)}}static \u0275prov=T({token:e,providedIn:"any",factory:()=>b(Va)});static __NG_ELEMENT_ID__=-1},z=new C(""),Ae=(()=>{class e{static __NG_ELEMENT_ID__=vv;static __NG_ENV_ID__=n=>n}return e})(),ai=class extends Ae{_lView;constructor(t){super(),this._lView=t}get destroyed(){return mn(this._lView)}onDestroy(t){let n=this._lView;return ec(n,t),()=>tf(n,t)}};function vv(){return new ai(D())}var gc=!1,Cf=new C(""),Ht=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new gr(!1);debugTaskTracker=g(Cf,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new x(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),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(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=T({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ma=class extends ue{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Yd()&&(this.destroyRef=g(Ae,{optional:!0})??void 0,this.pendingTasks=g(Ht,{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 J&&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)}})}}},ft=Ma;function ci(...e){}function mc(e){let t,n;function r(){e=ci;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch(o){}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function bf(e){return queueMicrotask(()=>e()),()=>{e=ci}}var yc="isAngularZone",Sr=yc+"_ID",Dv=0,Q=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ft(!1);onMicrotaskEmpty=new ft(!1);onStable=new ft(!1);onError=new ft(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=gc}=t;if(typeof Zone>"u")throw new m(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,wv(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(yc)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new m(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new m(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Ev,ci,ci);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)}},Ev={};function vc(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 Iv(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){mc(()=>{e.callbackScheduled=!1,Sa(e),e.isCheckStableRunning=!0,vc(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Sa(e)}function wv(e){let t=()=>{Iv(e)},n=Dv++;e._inner=e._inner.fork({name:"angular",properties:{[yc]:!0,[Sr]:n,[Sr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Cv(c))return r.invokeTask(i,s,a,c);try{return Od(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),kd(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Od(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!bv(c)&&t(),kd(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Sa(e),vc(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 Sa(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Od(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function kd(e){e._nesting--,vc(e)}var Nr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ft;onMicrotaskEmpty=new ft;onStable=new ft;onError=new ft;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 Cv(e){return Tf(e,"__ignore_ng_zone__")}function bv(e){return Tf(e,"__scheduler_tick__")}function Tf(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var be=class{_console=console;handleError(t){this._console.error("ERROR",t)}},$e=new C("",{factory:()=>{let e=g(Q),t=g(fe),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(be),n.handleError(r))})}}}),_f={provide:ht,useValue:()=>{let e=g(be,{optional:!0})},multi:!0},Tv=new C("",{factory:()=>{let e=g(z).defaultView;if(!e)return;let t=g($e),n=i=>{t(i.reason),i.preventDefault()},r=i=>{i.error?t(i.error):t(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",n),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),g(Ae).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function _v(){return gt([zd(()=>{g(Tv)})])}function Ai(e,t){let[n,r,o]=pa(e,t?.equal),i=n,s=i[W];return i.set=r,i.update=o,i.asReadonly=Hr.bind(i),i}function Hr(){let e=this[W];if(e.readonlyFn===void 0){let t=()=>this();t[W]=e,e.readonlyFn=t}return e.readonlyFn}var qn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Mv}return e})();function Mv(){return new qn(D(),te())}var Fe=class{},Zn=new C("",{factory:()=>!0});var xi=new C(""),Ur=(()=>{class e{internalPendingTasks=g(Ht);scheduler=g(Fe);errorHandler=g($e);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=T({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ri=(()=>{class e{static \u0275prov=T({token:e,providedIn:"root",factory:()=>new Na})}return e})(),Na=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}},ui=class{[W];constructor(t){this[W]=t}destroy(){this[W].destroy()}};function Mf(e,t){let n=t?.injector??g(se),r=t?.manualCleanup!==!0?n.get(Ae):null,o,i=n.get(qn,null,{optional:!0}),s=n.get(Fe);return i!==null?(o=Av(i.view,s,e),r instanceof ai&&r._lView===i.view&&(r=null)):o=xv(e,n.get(Ri),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new ui(o)}var Sf=$(B({},ha),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Mr(!1);try{ga(this)}finally{Mr(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=E(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],E(e)}}}),Sv=$(B({},Sf),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(xt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),Nv=$(B({},Sf),{consumerMarkedDirty(){this.view[_]|=8192,yn(this.view),this.notifier.notify(13)},destroy(){if(xt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[kt]?.delete(this)}});function Av(e,t,n){let r=Object.create(Nv);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Nf(r,n),e[kt]??=new Set,e[kt].add(r),r.consumerMarkedDirty(r),r}function xv(e,t,n){let r=Object.create(Sv);return r.fn=Nf(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Nf(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function eo(e){return{toString:e}.toString()}function jv(e){return typeof e=="function"}function dp(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Ui=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},hu=(()=>{let e=()=>fp;return e.ngInherit=!0,e})();function fp(e){return e.type.prototype.ngOnChanges&&(e.setInput=Vv),Bv}function Bv(){let e=hp(this),t=e?.current;if(t){let n=e.previous;if(n===Pe)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Vv(e,t,n,r,o){let i=this.declaredInputs[r],s=hp(e)||Hv(e,{previous:Pe,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Ui(u&&u.currentValue,n,c===Pe),dp(e,t,o,n)}var pp="__ngSimpleChanges__";function hp(e){return e[pp]||null}function Hv(e,t){return e[pp]=t}var Af=[];var F=function(e,t=null,n){for(let r=0;r<Af.length;r++){let o=Af[r];o(e,t,n)}},R=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(R||{});function Uv(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=fp(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 gp(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:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function Li(e,t,n){mp(e,t,3,n)}function ji(e,t,n,r){(e[_]&3)===n&&mp(e,t,n,r)}function Dc(e,t){let n=e[_];(n&3)===t&&(n&=16383,n+=1,e[_]=n)}function mp(e,t,n,r){let o=r!==void 0?e[pn]&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[pn]+=65536),(a<i||i==-1)&&($v(e,n,t,c),e[pn]=(e[pn]&4294901760)+c+2),c++}function xf(e,t){F(R.LifecycleHookStart,e,t);let n=E(null);try{t.call(e)}finally{E(n),F(R.LifecycleHookEnd,e,t)}}function $v(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[_]>>14<e[pn]>>16&&(e[_]&3)===t&&(e[_]+=16384,xf(a,i)):xf(a,i)}var Qn=-1,En=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 zv(e){return(e.flags&8)!==0}function Gv(e){return(e.flags&16)!==0}function Wv(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];qv(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function yp(e){return e===3||e===4||e===6}function qv(e){return e.charCodeAt(0)===64}function Kn(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?Rf(e,n,o,null,t[++r]):Rf(e,n,o,null,null))}}return e}function Rf(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 vp(e){return e!==Qn}function $i(e){return e&32767}function Zv(e){return e>>16}function zi(e,t){let n=Zv(e),r=t;for(;n>0;)r=r[fn],n--;return r}var Ac=!0;function Gi(e){let t=Ac;return Ac=e,t}var Yv=256,Dp=Yv-1,Ep=5,Qv=0,rt={};function Kv(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(ln)&&(r=n[ln]),r==null&&(r=n[ln]=Qv++);let o=r&Dp,i=1<<o;t.data[e+(o>>Ep)]|=i}function Wi(e,t){let n=Ip(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,Ec(r.data,e),Ec(t,null),Ec(r.blueprint,null));let o=gu(e,t),i=e.injectorIndex;if(vp(o)){let s=$i(o),a=zi(o,t),c=a[w].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Ec(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ip(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function gu(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=Mp(o),r===null)return Qn;if(n++,o=o[fn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Qn}function xc(e,t,n){Kv(e,t,n)}function Jv(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(yp(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 wp(e,t,n){if(n&8||e!==void 0)return e;mi(t,"NodeInjector")}function Cp(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[mt],i=de(void 0);try{return o?o.get(t,r,n&8):ja(t,r,n&8)}finally{de(i)}}return wp(r,t,n)}function bp(e,t,n,r=0,o){if(e!==null){if(t[_]&2048&&!(r&2)){let s=nD(e,t,n,r,rt);if(s!==rt)return s}let i=Tp(e,t,n,r,rt);if(i!==rt)return i}return Cp(t,n,r,o)}function Tp(e,t,n,r,o){let i=eD(n);if(typeof i=="function"){if(!fc(t,e,r))return r&1?wp(o,n,r):Cp(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))mi(n);else return s}finally{pc()}}else if(typeof i=="number"){let s=null,a=Ip(e,t),c=Qn,u=r&1?t[ae][pe]:null;for((a===-1||r&4)&&(c=a===-1?gu(e,t):t[a+8],c===Qn||!kf(r,!1)?a=-1:(s=t[w],a=$i(c),t=zi(c,t)));a!==-1;){let l=t[w];if(Of(i,a,l.data)){let d=Xv(a,t,n,s,r,u);if(d!==rt)return d}c=t[a+8],c!==Qn&&kf(r,t[w].data[a+8]===u)&&Of(i,a,t)?(s=l,a=$i(c),t=zi(c,t)):a=-1}}return o}function Xv(e,t,n,r,o,i){let s=t[w],a=s.data[e+8],c=r==null?Dt(a)&&Ac:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=Bi(a,s,n,c,u);return l!==null?qr(t,s,l,a,o):rt}function Bi(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:u;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&&Ve(f)&&f.type===n)return c}return null}function qr(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof En){let a=i;if(a.resolving)throw La("");let c=Gi(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?de(a.injectImpl):null,p=fc(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Uv(n,s[n],t)}finally{d!==null&&de(d),Gi(c),a.resolving=!1,pc()}}return i}function eD(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(ln)?e[ln]:void 0;return typeof t=="number"?t>=0?t&Dp:tD:t}function Of(e,t,n){let r=1<<e;return!!(n[t+(e>>Ep)]&r)}function kf(e,t){return!(e&2)&&!(e&1&&t)}var Dn=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return bp(this._tNode,this._lView,t,sn(r),n)}};function tD(){return new Dn(te(),D())}function _p(e){return eo(()=>{let t=e.prototype.constructor,n=t[Tr]||Rc(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Tr]||Rc(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Rc(e){return Aa(e)?()=>{let t=Rc(X(e));return t&&t()}:Ot(e)}function nD(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[_]&2048&&!Gn(s);){let a=Tp(i,s,n,r|2,rt);if(a!==rt)return a;let c=i.parent;if(!c){let u=s[Wa];if(u){let l=u.get(n,rt,r&-5);if(l!==rt)return l}c=Mp(s),s=s[fn]}i=c}return o}function Mp(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[pe]:null}function mu(e){return Jv(te(),e)}function rD(){return rr(te(),D())}function rr(e,t){return new zt(He(e,t))}var zt=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=rD}return e})();function Sp(e){return e instanceof zt?e.nativeElement:e}function oD(){return this._results[Symbol.iterator]()}var qi=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new ue}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=Hd(t);(this._changesDetected=!Vd(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]=oD};function Np(e){return(e.flags&128)===128}var yu=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(yu||{}),Ap=new Map,iD=0;function sD(){return iD++}function aD(e){Ap.set(e[yt],e)}function Oc(e){Ap.delete(e[yt])}var Ff="__ngContext__";function Jn(e,t){vt(t)?(e[Ff]=t[yt],aD(t)):e[Ff]=t}function xp(e){return Op(e[$n])}function Rp(e){return Op(e[Me])}function Op(e){for(;e!==null&&!Be(e);)e=e[Me];return e}var kc;function vu(e){kc=e}function kp(){if(kc!==void 0)return kc;if(typeof document<"u")return document;throw new m(210,!1)}var as=new C("",{factory:()=>cD}),cD="ng";var cs=new C(""),to=new C("",{providedIn:"platform",factory:()=>"unknown"}),uD=new C(""),us=new C("",{factory:()=>g(z).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Fp="r";var Pp="di";var Lp=!1,jp=new C("",{factory:()=>Lp});var Bp=new C("");var lD=(e,t,n,r)=>{};function dD(e,t,n,r){lD(e,t,n,r)}function ls(e){return(e.flags&32)===32}var fD=()=>null;function Vp(e,t,n=!1){return fD(e,t,n)}function Hp(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];jr(i),a.contentQueries(2,t[s],s)}}}finally{E(r)}}}function Fc(e,t,n){jr(0);let r=E(null);try{t(e,n)}finally{E(r)}}function Du(e,t,n){if(Za(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 We=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(We||{});var Oi;function pD(){if(Oi===void 0&&(Oi=null,Te.trustedTypes))try{Oi=Te.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Oi}function ds(e){return pD()?.createHTML(e)||e}var ki;function Up(){if(ki===void 0&&(ki=null,Te.trustedTypes))try{ki=Te.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return ki}function Pf(e){return Up()?.createHTML(e)||e}function Lf(e){return Up()?.createScriptURL(e)||e}var Et=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${li})`}},Pc=class extends Et{getTypeName(){return"HTML"}},Lc=class extends Et{getTypeName(){return"Style"}},jc=class extends Et{getTypeName(){return"Script"}},Bc=class extends Et{getTypeName(){return"URL"}},Vc=class extends Et{getTypeName(){return"ResourceURL"}};function Ce(e){return e instanceof Et?e.changingThisBreaksApplicationSecurity:e}function it(e,t){let n=$p(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${li})`)}return n===t}function $p(e){return e instanceof Et&&e.getTypeName()||null}function Eu(e){return new Pc(e)}function Iu(e){return new Lc(e)}function wu(e){return new jc(e)}function Cu(e){return new Bc(e)}function bu(e){return new Vc(e)}function hD(e){let t=new Uc(e);return gD()?new Hc(t):t}var Hc=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(ds(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}},Uc=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=ds(t),n}};function gD(){try{return!!new window.DOMParser().parseFromString(ds(""),"text/html")}catch(e){return!1}}var mD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function no(e){return e=String(e),e.match(mD)?e:"unsafe:"+e}function It(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function ro(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var zp=It("area,br,col,hr,img,wbr"),Gp=It("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Wp=It("rp,rt"),yD=ro(Wp,Gp),vD=ro(Gp,It("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")),DD=ro(Wp,It("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")),jf=ro(zp,vD,DD,yD),qp=It("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ED=It("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"),ID=It("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"),wD=ro(qp,ED,ID),CD=It("script,style,template");var $c=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=_D(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=TD(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Bf(t).toLowerCase();if(!jf.hasOwnProperty(n))return this.sanitizedSomething=!0,!CD.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(!wD.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;qp[a]&&(c=no(c)),this.buf.push(" ",s,'="',Vf(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Bf(t).toLowerCase();jf.hasOwnProperty(n)&&!zp.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Vf(t))}};function bD(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function TD(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Zp(t);return t}function _D(e){let t=e.firstChild;if(t&&bD(e,t))throw Zp(t);return t}function Bf(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Zp(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var MD=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,SD=/([^\#-~ |!])/g;function Vf(e){return e.replace(/&/g,"&amp;").replace(MD,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(SD,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Fi;function fs(e,t){let n=null;try{Fi=Fi||hD(e);let r=t?String(t):"";n=Fi.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=Fi.getInertBodyElement(r)}while(r!==i);let a=new $c().sanitizeChildren(Hf(n)||n);return ds(a)}finally{if(n){let r=Hf(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Hf(e){return"content"in e&&ND(e)?e.content:null}function ND(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var AD=/^>|^->|<!--|-->|--!>|<!-$/g,xD=/(<|>)/g,RD="\u200B$1\u200B";function OD(e){return e.replace(AD,t=>t.replace(xD,RD))}function kD(e,t){return e.createText(t)}function FD(e,t,n){e.setValue(t,n)}function PD(e,t){return e.createComment(OD(t))}function Yp(e,t,n){return e.createElement(t,n)}function Zi(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Qp(e,t,n){e.appendChild(t,n)}function Uf(e,t,n,r,o){r!==null?Zi(e,t,n,r,o):Qp(e,t,n)}function Kp(e,t,n,r){e.removeChild(null,t,n,r)}function LD(e,t,n){e.setAttribute(t,"style",n)}function jD(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Jp(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Wv(e,t,r),o!==null&&jD(e,t,o),i!==null&&LD(e,t,i)}var xe=(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})(xe||{});function BD(e){let t=Tu();return t?Pf(t.sanitize(xe.HTML,e)||""):it(e,"HTML")?Pf(Ce(e)):fs(kp(),_e(e))}function Xp(e){let t=Tu();return t?t.sanitize(xe.URL,e)||"":it(e,"URL")?Ce(e):no(_e(e))}function eh(e){let t=Tu();if(t)return Lf(t.sanitize(xe.RESOURCE_URL,e)||"");if(it(e,"ResourceURL"))return Lf(Ce(e));throw new m(904,!1)}var VD=new Set(["embed","frame","iframe","media","script"]),HD=new Set(["base","link","script"]);function UD(e,t){return t==="src"&&VD.has(e)||t==="href"&&HD.has(e)||t==="xlink:href"&&e==="script"?eh:Xp}function $D(e,t,n){return UD(t,n)(e)}function Tu(){let e=D();return e&&e[je].sanitizer}function zD(e){return e.ownerDocument}function th(e){return e instanceof Function?e():e}function GD(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 nh="ng-template";function WD(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&GD(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(_u(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 _u(e){return e.type===4&&e.value!==nh}function qD(e,t,n){let r=e.type===4&&!n?nh:e.value;return t===r}function ZD(e,t,n){let r=4,o=e.attrs,i=o!==null?KD(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!ze(r)&&!ze(c))return!1;if(s&&ze(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!qD(e,c,n)||c===""&&t.length===1){if(ze(r))return!1;s=!0}}else if(r&8){if(o===null||!WD(e,o,c,n)){if(ze(r))return!1;s=!0}}else{let u=t[++a],l=YD(c,o,_u(e),n);if(l===-1){if(ze(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(ze(r))return!1;s=!0}}}}return ze(r)||s}function ze(e){return(e&1)===0}function YD(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 JD(t,e)}function rh(e,t,n=!1){for(let r=0;r<t.length;r++)if(ZD(e,t[r],n))return!0;return!1}function QD(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function KD(e){for(let t=0;t<e.length;t++){let n=e[t];if(yp(n))return t}return e.length}function JD(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 XD(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 $f(e,t){return e?":not("+t.trim()+")":t}function eE(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!==""&&!ze(s)&&(t+=$f(i,o),o=""),r=s,i=i||!ze(r);n++}return o!==""&&(t+=$f(i,o)),t}function tE(e){return e.map(eE).join(",")}function nE(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(!ze(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var ne={};function Mu(e,t,n,r,o,i,s,a,c,u,l){let d=V+r,p=d+o,f=rE(d,p),h=typeof u=="function"?u():u;return f[w]={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:l}}function rE(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:ne);return n}function oE(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Mu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Su(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[Le]=o,d[_]=r|4|128|8|64|1024,(u!==null||e&&e[_]&2048)&&(d[_]|=2048),Ja(d),d[ee]=d[fn]=e,d[q]=n,d[je]=s||e&&e[je],d[L]=a||e&&e[L],d[mt]=c||e&&e[mt]||null,d[pe]=i,d[yt]=sD(),d[dn]=l,d[Wa]=u,d[ae]=t.type==2?e[ae]:d,d}function iE(e,t,n){let r=He(t,e),o=oE(n),i=e[je].rendererFactory,s=Nu(e,Su(e,o,null,oh(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function oh(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function ih(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 Nu(e,t){return e[$n]?e[Ga][Me]=t:e[$n]=t,e[Ga]=t,t}function sE(e=1){sh(H(),D(),Ue()+e,!1)}function sh(e,t,n,r){if(!r)if((t[_]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Li(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ji(t,i,0,n)}Vt(n)}var ps=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(ps||{});function zc(e,t,n,r){let o=E(null);try{let[i,s,a]=e.inputs[n],c=null;(s&ps.SignalBased)!==0&&(c=t[i][W]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):dp(t,c,i,r)}finally{E(o)}}var ot=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(ot||{}),aE;function Au(e,t){return aE(e,t)}var LO=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Gc=new WeakMap,zr=new WeakSet;function cE(e,t){let n=Gc.get(e);if(!n||n.length===0)return;let r=t.parentNode,o=t.previousSibling;for(let i=n.length-1;i>=0;i--){let s=n[i],a=s.parentNode;s===t?(n.splice(i,1),zr.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(n.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function uE(e,t){let n=Gc.get(e);n?n.includes(t)||n.push(t):Gc.set(e,[t])}var In=new Set,hs=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(hs||{}),qe=new C(""),zf=new Set;function wt(e){zf.has(e)||(zf.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var gs=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=T({token:e,providedIn:"root",factory:()=>new e})}return e})(),xu=[0,1,2,3],Ru=(()=>{class e{ngZone=g(Q);scheduler=g(Fe);errorHandler=g(be,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(qe,{optional:!0})}execute(){let n=this.sequences.size>0;n&&F(R.AfterRenderHooksStart),this.executing=!0;for(let r of xu)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&&F(R.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[hn]??=[]).push(n),yn(r),r[_]|=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(hs.AFTER_NEXT_RENDER,n):n()}static \u0275prov=T({token:e,providedIn:"root",factory:()=>new e})}return e})(),Zr=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?.[hn];t&&(this.view[hn]=t.filter(n=>n!==this))}};function lE(e,t){let n=t?.injector??g(se);return wt("NgAfterNextRender"),fE(e,n,t,!0)}function dE(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function fE(e,t,n,r){let o=t.get(gs);o.impl??=t.get(Ru);let i=t.get(qe,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Ae):null,a=t.get(qn,null,{optional:!0}),c=new Zr(o.impl,dE(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var ah=new C("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:g(fe)})});function ch(e,t,n){let r=e.get(ah);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function pE(e,t){let n=e.get(ah);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function hE(e,t){for(let[n,r]of t)ch(e,r.animateFns)}function Gf(e,t,n,r){let o=e?.[Lt]?.enter;t!==null&&o&&o.has(n.index)&&hE(r,o)}function Yn(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;Be(o)?c=o:vt(o)&&(u=!0,o=o[Le]);let l=Se(o);e===0&&r!==null?(Gf(a,r,i,n),s==null?Qp(t,r,l):Zi(t,r,l,s||null,!0)):e===1&&r!==null?(Gf(a,r,i,n),Zi(t,r,l,s||null,!0),cE(i,l)):e===2?(a?.[Lt]?.leave?.has(i.index)&&uE(i,l),zr.delete(l),Wf(a,i,n,d=>{if(zr.has(l)){zr.delete(l);return}Kp(t,l,u,d)})):e===3&&(zr.delete(l),Wf(a,i,n,()=>{t.destroyNode(l)})),c!=null&&TE(t,e,n,c,i,r,s)}}function gE(e,t){uh(e,t),t[Le]=null,t[pe]=null}function mE(e,t,n,r,o,i){r[Le]=o,r[pe]=t,ys(e,r,n,1,o,i)}function uh(e,t){t[je].changeDetectionScheduler?.notify(9),ys(e,t,t[L],2,null,null)}function yE(e){let t=e[$n];if(!t)return Ic(e[w],e);for(;t;){let n=null;if(vt(t))n=t[$n];else{let r=t[Z];r&&(n=r)}if(!n){for(;t&&!t[Me]&&t!==e;)vt(t)&&Ic(t[w],t),t=t[ee];t===null&&(t=e),vt(t)&&Ic(t[w],t),n=t&&t[Me]}t=n}}function Ou(e,t){let n=e[gn],r=n.indexOf(t);n.splice(r,1)}function ms(e,t){if(mn(t))return;let n=t[L];n.destroyNode&&ys(e,t,n,3,null,null),yE(t)}function Ic(e,t){if(mn(t))return;let n=E(null);try{t[_]&=-129,t[_]|=256,t[Ie]&&xt(t[Ie]),EE(e,t),DE(e,t),t[w].type===1&&t[L].destroy();let r=t[Pt];if(r!==null&&Be(t[ee])){r!==t[ee]&&Ou(r,t);let o=t[nt];o!==null&&o.detachView(e)}Oc(t)}finally{E(n)}}function Wf(e,t,n,r){let o=e?.[Lt];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&In.add(e[yt]),ch(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let u=s.animateFns[c],{promise:l}=u();a.push(l)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),vE(e,r)}else e&&In.delete(e[yt]),r(!1)},o)}function vE(e,t){let n=e[Lt]?.running;if(n){n.then(()=>{e[Lt].running=void 0,In.delete(e[yt]),t(!0)});return}t(!1)}function DE(e,t){let n=e.cleanup,r=t[Un];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[Un]=null);let o=t[pt];if(o!==null){t[pt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[kt];if(i!==null){t[kt]=null;for(let s of i)s.destroy()}}function EE(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 En)){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];F(R.LifecycleHookStart,a,c);try{c.call(a)}finally{F(R.LifecycleHookEnd,a,c)}}else{F(R.LifecycleHookStart,o,i);try{i.call(o)}finally{F(R.LifecycleHookEnd,o,i)}}}}}function lh(e,t,n){return IE(e,t.parent,n)}function IE(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Le];if(Dt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===We.None||o===We.Emulated)return null}return He(r,n)}function dh(e,t,n){return CE(e,t,n)}function wE(e,t,n){return e.type&40?He(e,n):null}var CE=wE,qf;function ku(e,t,n,r){let o=lh(e,r,t),i=t[L],s=r.parent||t[pe],a=dh(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Uf(i,o,n[c],a,!1);else Uf(i,o,n,a,!1);qf!==void 0&&qf(i,r,t,n,o)}function Gr(e,t){if(t!==null){let n=t.type;if(n&3)return He(t,e);if(n&4)return Wc(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Gr(e,r);{let o=e[t.index];return Be(o)?Wc(-1,o):Se(o)}}else{if(n&128)return Gr(e,t.next);if(n&32)return Au(t,e)()||Se(e[t.index]);{let r=fh(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Ft(e[ae]);return Gr(o,r)}else return Gr(e,t.next)}}}return null}function fh(e,t){if(t!==null){let r=e[ae][pe],o=t.projection;return r.projection[o]}return null}function Wc(e,t){let n=Z+e+1;if(n<t.length){let r=t[n],o=r[w].firstChild;if(o!==null)return Gr(r,o)}return t[jt]}function Fu(e,t,n,r,o,i,s){for(;n!=null;){let a=r[mt];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&Jn(Se(c),r),n.flags|=2),!ls(n))if(u&8)Fu(e,t,n.child,r,o,i,!1),Yn(t,e,a,o,c,n,i,r);else if(u&32){let l=Au(n,r),d;for(;d=l();)Yn(t,e,a,o,d,n,i,r);Yn(t,e,a,o,c,n,i,r)}else u&16?ph(e,t,r,n,o,i):Yn(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function ys(e,t,n,r,o,i){Fu(n,r,e.firstChild,t,o,i,!1)}function bE(e,t,n){let r=t[L],o=lh(e,n,t),i=n.parent||t[pe],s=dh(i,n,t);ph(r,0,t,n,o,s)}function ph(e,t,n,r,o,i){let s=n[ae],c=s[pe].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Yn(t,e,n[mt],o,l,r,i,n)}else{let u=c,l=s[ee];Np(r)&&(u.flags|=128),Fu(e,t,u,l,o,i,!0)}}function TE(e,t,n,r,o,i,s){let a=r[jt],c=Se(r);a!==c&&Yn(t,e,n,i,a,o,s);for(let u=Z;u<r.length;u++){let l=r[u];ys(l[w],l,e,t,i,a)}}function _E(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:ot.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ot.Important),e.setStyle(n,r,o,i))}}function hh(e,t,n,r,o){let i=Ue(),s=r&2;try{Vt(-1),s&&t.length>V&&sh(e,t,V,!1);let a=s?R.TemplateUpdateStart:R.TemplateCreateStart;F(a,o,n),n(r,o)}finally{Vt(i);let a=s?R.TemplateUpdateEnd:R.TemplateCreateEnd;F(a,o,n)}}function vs(e,t,n){RE(e,t,n),(n.flags&64)===64&&OE(e,t,n)}function oo(e,t,n=He){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 ME(e,t,n,r){let i=r.get(jp,Lp)||n===We.ShadowDom||n===We.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return SE(s),s}function SE(e){NE(e)}var NE=()=>null;function AE(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function gh(e,t,n,r,o,i){let s=t[w];if(Bu(e,s,t,n,r)){Dt(e)&&xE(t,e.index);return}e.type&3&&(n=AE(n)),mh(e,t,n,r,o,i)}function mh(e,t,n,r,o,i){if(e.type&3){let s=He(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function xE(e,t){let n=Ne(t,e);n[_]&16||(n[_]|=64)}function RE(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Dt(n)&&iE(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Wi(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=qr(t,e,s,n);if(Jn(c,t),i!==null&&LE(t,s-r,c,a,n,i),Ve(a)){let u=Ne(n.index,t);u[q]=qr(t,e,s,n)}}}function OE(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=pf();try{Vt(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Ti(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&kE(c,u)}}finally{Vt(-1),Ti(s)}}function kE(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Pu(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];rh(t,i.selectors,!1)&&(r??=[],Ve(i)?r.unshift(i):r.push(i))}return r}function FE(e,t,n,r,o,i){let s=He(e,t);PE(t[L],s,i,e.value,n,r,o)}function PE(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?_e(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function LE(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],u=s[a+1];zc(r,n,c,u)}}function Lu(e,t,n,r,o){let i=V+n,s=t[w],a=o(s,t,e,r,n);t[i]=a,Wn(e,!0);let c=e.type===2;return c?(Jp(t[L],a,e),(rf()===0||zn(e))&&Jn(a,t),of()):Jn(a,t),Ni()&&(!c||!ls(e))&&ku(s,t,a,e),e}function ju(e){let t=e;return cc()?uc():(t=t.parent,Wn(t,!1)),t}function jE(e,t){let n=e[mt];if(!n)return;let r;try{r=n.get($e,null)}catch(o){r=null}r?.(t)}function Bu(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 u=s[c],l=s[c+1],d=t.data[u];zc(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];zc(l,u,r,o),a=!0}return a}function BE(e,t){let n=Ne(t,e),r=n[w];VE(r,n);let o=n[Le];o!==null&&n[dn]===null&&(n[dn]=Vp(o,n[mt])),F(R.ComponentStart);try{Vu(r,n,n[q])}finally{F(R.ComponentEnd,n[q])}}function VE(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Vu(e,t,n){Mi(t);try{let r=e.viewQuery;r!==null&&Fc(1,r,n);let o=e.template;o!==null&&hh(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[nt]?.finishViewCreation(e),e.staticContentQueries&&Hp(e,t),e.staticViewQueries&&Fc(2,e.viewQuery,n);let i=e.components;i!==null&&HE(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[_]&=-5,Si()}}function HE(e,t){for(let n=0;n<t.length;n++)BE(e,t[n])}function io(e,t,n,r){let o=E(null);try{let i=t.tView,a=e[_]&4096?4096:16,c=Su(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[Pt]=u;let l=e[nt];return l!==null&&(c[nt]=l.createEmbeddedView(i)),Vu(i,c,n),c}finally{E(o)}}function Xn(e,t){return!t||t.firstChild===null||Np(e)}function Yr(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(Se(i)),Be(i)&&yh(i,r);let s=n.type;if(s&8)Yr(e,t,n.child,r);else if(s&32){let a=Au(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=fh(t,n);if(Array.isArray(a))r.push(...a);else{let c=Ft(t[ae]);Yr(c[w],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function yh(e,t){for(let n=Z;n<e.length;n++){let r=e[n],o=r[w].firstChild;o!==null&&Yr(r[w],r,o,t)}e[jt]!==e[Le]&&t.push(e[jt])}function vh(e){if(e[hn]!==null){for(let t of e[hn])t.impl.addSequence(t);e[hn].length=0}}var Dh=[];function UE(e){return e[Ie]??$E(e)}function $E(e){let t=Dh.pop()??Object.create(GE);return t.lView=e,t}function zE(e){e.lView[Ie]!==e&&(e.lView=null,Dh.push(e))}var GE=$(B({},Nt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{yn(e.lView)},consumerOnSignalRead(){this.lView[Ie]=this}});function WE(e){let t=e[Ie]??Object.create(qE);return t.lView=e,t}var qE=$(B({},Nt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Ft(e.lView);for(;t&&!Eh(t[w]);)t=Ft(t);t&&Xa(t)},consumerOnSignalRead(){this.lView[Ie]=this}});function Eh(e){return e.type!==2}function Ih(e){if(e[kt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[kt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[_]&8192)}}var ZE=100;function wh(e,t=0){let r=e[je].rendererFactory,o=!1;o||r.begin?.();try{YE(e,t)}finally{o||r.end?.()}}function YE(e,t){let n=lc();try{Mr(!0),qc(e,t);let r=0;for(;Pr(e);){if(r===ZE)throw new m(103,!1);r++,qc(e,1)}}finally{Mr(n)}}function QE(e,t,n,r){if(mn(t))return;let o=t[_],i=!1,s=!1;Mi(t);let a=!0,c=null,u=null;i||(Eh(e)?(u=UE(t),c=dt(u)):ti()===null?(a=!1,u=WE(t),c=dt(u)):t[Ie]&&(xt(t[Ie]),t[Ie]=null));try{Ja(t),lf(e.bindingStartIndex),n!==null&&hh(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Li(t,f,null)}else{let f=e.preOrderHooks;f!==null&&ji(t,f,0,null),Dc(t,0)}if(s||KE(t),Ih(t),Ch(t,0),e.contentQueries!==null&&Hp(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Li(t,f)}else{let f=e.contentHooks;f!==null&&ji(t,f,1),Dc(t,1)}XE(e,t);let d=e.components;d!==null&&Th(t,d,0);let p=e.viewQuery;if(p!==null&&Fc(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Li(t,f)}else{let f=e.viewHooks;f!==null&&ji(t,f,2),Dc(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ei]){for(let f of t[Ei])f();t[Ei]=null}i||(vh(t),t[_]&=-73)}catch(l){throw i||yn(t),l}finally{u!==null&&(At(u,c),a&&zE(u)),Si()}}function Ch(e,t){for(let n=xp(e);n!==null;n=Rp(n))for(let r=Z;r<n.length;r++){let o=n[r];bh(o,t)}}function KE(e){for(let t=xp(e);t!==null;t=Rp(t)){if(!(t[_]&2))continue;let n=t[gn];for(let r=0;r<n.length;r++){let o=n[r];Xa(o)}}}function JE(e,t,n){F(R.ComponentStart);let r=Ne(t,e);try{bh(r,n)}finally{F(R.ComponentEnd,r[q])}}function bh(e,t){wi(e)&&qc(e,t)}function qc(e,t){let r=e[w],o=e[_],i=e[Ie],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Fn(i)),s||=!1,i&&(i.dirty=!1),e[_]&=-9217,s)QE(r,e,r.template,e[q]);else if(o&8192){let a=E(null);try{Ih(e),Ch(e,1);let c=r.components;c!==null&&Th(e,c,1),vh(e)}finally{E(a)}}}function Th(e,t,n){for(let r=0;r<t.length;r++)JE(e,t[r],n)}function XE(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)Vt(~o);else{let i=o,s=n[++r],a=n[++r];ff(s,i);let c=t[i];F(R.HostBindingsUpdateStart,c);try{a(2,c)}finally{F(R.HostBindingsUpdateEnd,c)}}}}finally{Vt(-1)}}function Hu(e,t){let n=lc()?64:1088;for(e[je].changeDetectionScheduler?.notify(t);e;){e[_]|=n;let r=Ft(e);if(Gn(e)&&!r)return e;e=r}return null}function _h(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Mh(e,t){let n=Z+t;if(n<e.length)return e[n]}function so(e,t,n,r=!0){let o=t[w];if(eI(o,t,e,n),r){let s=Wc(n,e),a=t[L],c=a.parentNode(e[jt]);c!==null&&mE(o,e[pe],a,t,c,s)}let i=t[dn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Sh(e,t){let n=Qr(e,t);return n!==void 0&&ms(n[w],n),n}function Qr(e,t){if(e.length<=Z)return;let n=Z+t,r=e[n];if(r){let o=r[Pt];o!==null&&o!==e&&Ou(o,r),t>0&&(e[n-1][Me]=r[Me]);let i=Rr(e,Z+t);gE(r[w],r);let s=i[nt];s!==null&&s.detachView(i[w]),r[ee]=null,r[Me]=null,r[_]&=-129}return r}function eI(e,t,n,r){let o=Z+r,i=n.length;r>0&&(n[o-1][Me]=t),r<i-Z?(t[Me]=n[o],Ba(n,Z+r,t)):(n.push(t),t[Me]=null),t[ee]=n;let s=t[Pt];s!==null&&n!==s&&Nh(s,t);let a=t[nt];a!==null&&a.insertView(e),Ci(t),t[_]|=128}function Nh(e,t){let n=e[gn],r=t[ee];if(vt(r))e[_]|=2;else{let o=r[ee][ae];t[ae]!==o&&(e[_]|=2)}n===null?e[gn]=[t]:n.push(t)}var Ut=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[w];return Yr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[q]}set context(t){this._lView[q]=t}get destroyed(){return mn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[ee];if(Be(t)){let n=t[kr],r=n?n.indexOf(this):-1;r>-1&&(Qr(t,r),Rr(n,r))}this._attachedToViewContainer=!1}ms(this._lView[w],this._lView)}onDestroy(t){ec(this._lView,t)}markForCheck(){Hu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_]&=-129}reattach(){Ci(this._lView),this._lView[_]|=128}detectChanges(){this._lView[_]|=1024,wh(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new m(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Gn(this._lView),n=this._lView[Pt];n!==null&&!t&&Ou(n,this._lView),uh(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new m(902,!1);this._appRef=t;let n=Gn(this._lView),r=this._lView[Pt];r!==null&&!n&&Nh(r,this._lView),Ci(this._lView)}};var er=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=tI;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=io(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new Ut(i)}}return e})();function tI(){return Ds(te(),D())}function Ds(e,t){return e.type&4?new er(t,e,rr(e,t)):null}function or(e,t,n,r,o){let i=e.data[t];if(i===null)i=nI(e,t,n,r,o),df()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=cf();i.injectorIndex=s===null?-1:s.injectorIndex}return Wn(i,!0),i}function nI(e,t,n,r,o){let i=ac(),s=cc(),a=s?i:i&&i.parent,c=e.data[t]=oI(e,a,n,t,r,o);return rI(e,c,i,s),c}function rI(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 oI(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return oc()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-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 iI(e){let t=e[qa]??[],r=e[ee][L],o=[];for(let i of t)i.data[Pp]!==void 0?o.push(i):sI(i,r);e[qa]=o}function sI(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Fp];for(;n<o;){let i=r.nextSibling;Kp(t,r,!1),r=i,n++}}}var aI=()=>null,cI=()=>null;function Yi(e,t){return aI(e,t)}function Ah(e,t,n){return cI(e,t,n)}var xh=class{},Es=class{},Zc=class{resolveComponentFactory(t){throw new m(917,!1)}},ao=class{static NULL=new Zc},wn=class{},Is=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>uI()}return e})();function uI(){let e=D(),t=te(),n=Ne(t.index,e);return(vt(n)?n:e)[L]}var Rh=(()=>{class e{static \u0275prov=T({token:e,providedIn:"root",factory:()=>null})}return e})();var Vi={},Yc=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Vi,r);return o!==Vi||n===Vi?o:this.parentInjector.get(t,n,r)}};function Qi(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=di(o,a);else if(i==2){let c=a,u=t[++s];r=di(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function ge(e,t=0){let n=D();if(n===null)return b(e,t);let r=te();return bp(r,n,X(e),t)}function lI(){let e="invalid";throw new Error(e)}function Oh(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,u=null;for(let l of s)if(l.resolveHostDirectives!==null){[a,c,u]=l.resolveHostDirectives(s);break}pI(e,t,n,a,i,c,u)}i!==null&&r!==null&&dI(n,r,i)}function dI(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 m(-301,!1);r.push(t[o],i)}}function fI(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function pI(e,t,n,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&Ve(f)&&(c=f,fI(e,n,p)),xc(Wi(n,t),e,f.type)}DI(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=ih(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=Kn(n.mergedAttrs,f.hostAttrs),gI(e,n,t,d,f),vI(d,f,o),s!==null&&s.has(f)){let[I,y]=s.get(f);n.directiveToIndex.set(f.type,[d,I+n.directiveStart,y+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;!u&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}hI(e,n,i)}function hI(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Zf(0,t,o,r),Zf(1,t,o,r),Qf(t,r,!1);else{let i=n.get(o);Yf(0,t,i,r),Yf(1,t,i,r),Qf(t,r,!0)}}}function Zf(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),kh(t,i)}}function Yf(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),kh(t,s)}}function kh(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Qf(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||_u(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 u=o[c];for(let l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function gI(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Ot(o.type,!0)),s=new En(i,Ve(o),ge,null);e.blueprint[r]=s,n[r]=s,mI(e,t,r,ih(e,n,o.hostVars,ne),o)}function mI(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;yI(s)!=a&&s.push(a),s.push(n,r,i)}}function yI(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function vI(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ve(t)&&(n[""]=e)}}function DI(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Uu(e,t,n,r,o,i,s,a){let c=t[w],u=c.consts,l=we(u,s),d=or(c,e,n,r,l);return i&&Oh(c,t,d,we(u,a),o),d.mergedAttrs=Kn(d.mergedAttrs,d.attrs),d.attrs!==null&&Qi(d,d.attrs,!1),d.mergedAttrs!==null&&Qi(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function $u(e,t){gp(e,t),Za(t)&&e.queries.elementEnd(t)}function EI(e,t,n,r,o,i){let s=t.consts,a=we(s,o),c=or(t,e,n,r,a);if(c.mergedAttrs=Kn(c.mergedAttrs,c.attrs),i!=null){let u=we(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&Qi(c,c.attrs,!1),c.mergedAttrs!==null&&Qi(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function ws(e,t,n){return e[t]=n}function II(e,t){return e[t]}function he(e,t,n){if(n===ne)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Kr(e,t,n,r){let o=he(e,t,n);return he(e,t+1,r)||o}function wI(e,t,n,r,o){let i=Kr(e,t,n,r);return he(e,t+2,o)||i}function CI(e,t,n,r,o,i){let s=Kr(e,t,n,r);return Kr(e,t+2,o,i)||s}function Hi(e,t,n){return function r(o){let i=Dt(e)?Ne(e.index,t):t;Hu(i,5);let s=t[q],a=Kf(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Kf(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Kf(e,t,n,r){let o=E(null);try{return F(R.OutputStart,t,n),n(r)!==!1}catch(i){return jE(e,i),!1}finally{F(R.OutputEnd,t,n),E(o)}}function Fh(e,t,n,r,o,i,s,a){let c=zn(e),u=!1,l=null;if(!r&&c&&(l=TI(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=He(e,n),p=r?r(d):d;dD(n,p,i,a);let f=o.listen(p,i,a);if(!bI(i)){let h=r?I=>r(Se(I[e.index])):e.index;Ph(h,t,n,i,a,f,!1)}}return u}function bI(e){return e.startsWith("animation")||e.startsWith("transition")}function TI(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[Un],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Ph(e,t,n,r,o,i,s){let a=t.firstCreatePass?nc(t):null,c=tc(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function Jf(e,t,n,r,o,i){let s=t[n],a=t[w],u=a.data[n].outputs[r],d=s[u].subscribe(i);Ph(e.index,a,t,o,i,d,!0)}var Qc=Symbol("BINDING");function Lh(e){return e.debugInfo?.className||e.type.name||null}var Ki=class extends ao{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=tt(t);return new $t(n,this.ngModule)}};function _I(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&ps.SignalBased)!==0};return o&&(i.transform=o),i})}function MI(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function SI(e,t,n){let r=t instanceof fe?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Yc(n,r):n}function NI(e){let t=e.get(wn,null);if(t===null)throw new m(407,!1);let n=e.get(Rh,null),r=e.get(Fe,null),o=e.get(qe,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function AI(e,t){let n=jh(e);return Yp(t,n,n==="svg"?Ya:n==="math"?Kd:null)}function jh(e){return(e.selectors[0][0]||"div").toLowerCase()}var $t=class extends Es{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=_I(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=MI(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=tE(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){F(R.DynamicComponentStart);let a=E(null);try{let c=this.componentDef,u=SI(c,o||this.ngModule,t),l=NI(u),d=l.tracingService;return d&&d.componentCreate?d.componentCreate(Lh(c),()=>this.createComponentRef(l,u,n,r,i,s)):this.createComponentRef(l,u,n,r,i,s)}finally{E(a)}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=xI(o,a,s,i),u=t.rendererFactory.createRenderer(null,a),l=o?ME(u,o,a.encapsulation,n):AI(a,u),d=s?.some(Xf)||i?.some(h=>typeof h!="function"&&h.bindings.some(Xf)),p=Su(null,c,null,512|oh(a),null,null,t,u,n,null,Vp(l,n,!0));p[V]=l,Mi(p);let f=null;try{let h=Uu(V,p,2,"#host",()=>c.directiveRegistry,!0,0);Jp(u,l,h),Jn(l,p),vs(c,p,h),Du(c,h,p),$u(c,h),r!==void 0&&OI(h,this.ngContentSelectors,r),f=Ne(h.index,p),p[q]=f[q],Vu(c,p,null)}catch(h){throw f!==null&&Oc(f),Oc(p),h}finally{F(R.DynamicComponentEnd),Si()}return new Ji(this.componentType,p,!!d)}};function xI(e,t,n,r){let o=e?["ng-version","21.2.6"]:nE(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[Qc].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){let d=r[l];if(typeof d!="function")for(let p of d.bindings){a+=p[Qc].requiredVars;let f=l+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,p=hi(d);c.push(p)}return Mu(0,null,RI(i,s),1,a,c,null,null,null,[o],null)}function RI(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 Xf(e){let t=e[Qc].kind;return t==="input"||t==="twoWay"}var Ji=class extends xh{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Ii(n[w],V),this.location=rr(this._tNode,n),this.instance=Ne(this._tNode.index,n)[q],this.hostView=this.changeDetectorRef=new Ut(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=Bu(r,o[w],o,t,n);this.previousInputValues.set(t,n);let s=Ne(r.index,o);Hu(s,1)}get injector(){return new Dn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function OI(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 ir=(()=>{class e{static __NG_ELEMENT_ID__=kI}return e})();function kI(){let e=te();return Bh(e,D())}var Kc=class e extends ir{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return rr(this._hostTNode,this._hostLView)}get injector(){return new Dn(this._hostTNode,this._hostLView)}get parentInjector(){let t=gu(this._hostTNode,this._hostLView);if(vp(t)){let n=zi(t,this._hostLView),r=$i(t),o=n[w].data[r+8];return new Dn(o,n)}else return new Dn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=ep(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Z}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Yi(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Xn(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!jv(t),u;if(c)u=n;else{let y=n||{};u=y.index,r=y.injector,o=y.projectableNodes,i=y.environmentInjector||y.ngModuleRef,s=y.directives,a=y.bindings}let l=c?t:new $t(tt(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let v=(c?d:this.parentInjector).get(fe,null);v&&(i=v)}let p=tt(l.componentType??{}),f=Yi(this._lContainer,p?.id??null),h=f?.firstChild??null,I=l.create(d,o,h,i,s,a);return this.insertImpl(I.hostView,u,Xn(this._hostTNode,f)),I}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Xd(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[ee],u=new e(c,c[pe],c[ee]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return so(s,o,i,r),t.attachToViewContainerRef(),Ba(wc(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=ep(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Qr(this._lContainer,n);r&&(Rr(wc(this._lContainer),n),ms(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=Qr(this._lContainer,n);return r&&Rr(wc(this._lContainer),n)!=null?new Ut(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function ep(e){return e[kr]}function wc(e){return e[kr]||(e[kr]=[])}function Bh(e,t){let n,r=t[e.index];return Be(r)?n=r:(n=_h(r,t,null,e),t[e.index]=n,Nu(t,n)),PI(n,t,e,r),new Kc(n,e,t)}function FI(e,t){let n=e[L],r=n.createComment(""),o=He(t,e),i=n.parentNode(o);return Zi(n,i,r,n.nextSibling(o),!1),r}var PI=BI,LI=()=>!1;function jI(e,t,n){return LI(e,t,n)}function BI(e,t,n,r){if(e[jt])return;let o;n.type&8?o=Se(r):o=FI(t,n),e[jt]=o}var Jc=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Xc=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++)Gu(t,n).matches!==null&&this.queries[n].setDirty()}},Xi=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=zI(t):this.predicate=t}},eu=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)}},tu=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,VI(n,i)),this.matchTNodeWithReadOption(t,n,Bi(n,t,i,!1,!1))}else r===er?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Bi(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===zt||o===ir||o===er&&n.type&4)this.addMatch(n.index,-2);else{let i=Bi(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 VI(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 HI(e,t){return e.type&11?rr(e,t):e.type&4?Ds(e,t):null}function UI(e,t,n,r){return n===-1?HI(t,e):n===-2?$I(e,t,r):qr(e,e[w],n,t)}function $I(e,t,n){if(n===zt)return rr(t,e);if(n===er)return Ds(t,e);if(n===ir)return Bh(t,e)}function Vh(e,t,n,r){let o=t[nt].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 u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(UI(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function nu(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Vh(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 u=i[a+1],l=t[-c];for(let d=Z;d<l.length;d++){let p=l[d];p[Pt]===p[ee]&&nu(p[w],p,u,r)}if(l[gn]!==null){let d=l[gn];for(let p=0;p<d.length;p++){let f=d[p];nu(f[w],f,u,r)}}}}}return r}function zu(e,t){return e[nt].queries[t].queryList}function Hh(e,t,n){let r=new qi((n&4)===4);return nf(e,t,r,r.destroy),(t[nt]??=new Xc).queries.push(new Jc(r))-1}function Uh(e,t,n){let r=H();return r.firstCreatePass&&(zh(r,new Xi(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Hh(r,D(),t)}function $h(e,t,n,r){let o=H();if(o.firstCreatePass){let i=te();zh(o,new Xi(t,n,r),i.index),GI(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Hh(o,D(),n)}function zI(e){return e.split(",").map(t=>t.trim())}function zh(e,t,n){e.queries===null&&(e.queries=new eu),e.queries.track(new tu(t,n))}function GI(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 Gu(e,t){return e.queries.getByIndex(t)}function Gh(e,t){let n=e[w],r=Gu(n,t);return r.crossesNgTemplate?nu(n,e,t,[]):Vh(n,e,r,t)}function Wh(e,t,n){let r,o=wr(()=>{r._dirtyCounter();let i=WI(r,e);if(t&&i===void 0)throw new m(-951,!1);return i});return r=o[W],r._dirtyCounter=Ai(0),r._flatValue=void 0,o}function Wu(e){return Wh(!0,!1,e)}function qu(e){return Wh(!0,!0,e)}function qh(e,t){let n=e[W];n._lView=D(),n._queryIndex=t,n._queryList=zu(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function WI(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[_]&4)return t?void 0:ie;let o=zu(n,r),i=Gh(n,r);return o.reset(i,Sp),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var Cn=class{},Zh=class{};var es=class extends Cn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Ki(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Pa(t);this._bootstrapComponents=th(i.bootstrap),this._r3Injector=hc(t,n,[{provide:Cn,useValue:this},{provide:ao,useValue:this.componentFactoryResolver},...r],Ar(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)}},ts=class extends Zh{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new es(this.moduleType,t,[])}};var Jr=class extends Cn{injector;componentFactoryResolver=new Ki(this);instance=null;constructor(t){super();let n=new cn([...t.providers,{provide:Cn,useValue:this},{provide:ao,useValue:this.componentFactoryResolver}],t.parent||Vn(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Yh(e,t,n=null){return new Jr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var qI=(()=>{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=Ua(!1,n.type),o=r.length>0?Yh([r],this._injector,""):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=T({token:e,providedIn:"environment",factory:()=>new e(b(fe))})}return e})();function ZI(e){return eo(()=>{let t=Qh(e),n=$(B({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===yu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(qI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||We.Emulated,styles:e.styles||ie,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&wt("NgStandalone"),Kh(n);let r=e.dependencies;return n.directiveDefs=tp(r,YI),n.pipeDefs=tp(r,Pd),n.id=JI(n),n})}function YI(e){return tt(e)||hi(e)}function sr(e){return eo(()=>({type:e.type,bootstrap:e.bootstrap||ie,declarations:e.declarations||ie,imports:e.imports||ie,exports:e.exports||ie,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function QI(e,t){if(e==null)return Pe;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=ps.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function KI(e){if(e==null)return Pe;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Cs(e){return eo(()=>{let t=Qh(e);return Kh(t),t})}function ar(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 Qh(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Pe,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ie,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:QI(e.inputs,t),outputs:KI(e.outputs),debugInfo:null}}function Kh(e){e.features?.forEach(t=>t(e))}function tp(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 JI(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 XI(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=ew,n.hostDirectives=r?e.map(ru):[e]):r?n.hostDirectives.unshift(...e.map(ru)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function ew(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,Jh(s,t,r),o.set(s,[a,t.length-1])}i===0&&Ve(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function Jh(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)np(ru(i),t,n)}else np(r,t,n)}function np(e,t,n){let r=hi(e.directive);tw(r.declaredInputs,e.inputs),Jh(r,t,n),n.set(r,e),t.push(r)}function ru(e){return typeof e=="function"?{directive:X(e),inputs:Pe,outputs:Pe}:{directive:X(e.directive),inputs:rp(e.inputs),outputs:rp(e.outputs)}}function rp(e){if(e===void 0||e.length===0)return Pe;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function tw(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function nw(e){return Object.getPrototypeOf(e.prototype).constructor}function Xh(e){let t=nw(e.type),n=!0,r=[e];for(;t;){let o;if(Ve(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new m(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Cc(e.inputs),s.declaredInputs=Cc(e.declaredInputs),s.outputs=Cc(e.outputs);let a=o.hostBindings;a&&aw(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&iw(e,c),u&&sw(e,u),rw(e,o),Fd(e.outputs,o.outputs),Ve(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===Xh&&(n=!1)}}t=Object.getPrototypeOf(t)}ow(r)}function rw(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 ow(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=Kn(o.hostAttrs,n=Kn(n,o.hostAttrs))}}function Cc(e){return e===Pe?{}:e===ie?[]:e}function iw(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function sw(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function aw(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function eg(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Kn(e.mergedAttrs,e.attrs);let l=e.tView=Mu(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Wn(e,!1);let c=uw(n,t,e,r);Ni()&&ku(n,t,c,e),Jn(c,t);let u=_h(c,t,c,e);t[r+V]=u,Nu(t,u),jI(u,e,t)}function cw(e,t,n,r,o,i,s,a,c,u,l){let d=n+V,p;return t.firstCreatePass?(p=or(t,d,4,s||null,a||null),bi()&&Oh(t,e,p,we(t.consts,u),Pu),gp(t,p)):p=t.data[d],eg(p,e,t,n,r,o,i,c),zn(p)&&vs(t,e,p),u!=null&&oo(e,p,l),p}function tr(e,t,n,r,o,i,s,a,c,u,l){let d=n+V,p;if(t.firstCreatePass){if(p=or(t,d,4,s||null,a||null),u!=null){let f=we(t.consts,u);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return eg(p,e,t,n,r,o,i,c),u!=null&&oo(e,p,l),p}function tg(e,t,n,r,o,i,s,a){let c=D(),u=H(),l=we(u.consts,i);return cw(c,u,e,t,n,r,o,l,void 0,s,a),tg}function ng(e,t,n,r,o,i,s,a){let c=D(),u=H(),l=we(u.consts,i);return tr(c,u,e,t,n,r,o,l,void 0,s,a),ng}var uw=lw;function lw(e,t,n,r){return Vr(!0),t[L].createComment("")}var rg=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Zu(e){return typeof e=="function"&&e[W]!==void 0}function Yu(e){return Zu(e)&&typeof e.set=="function"}var Qu=new C("");function co(e){return!!e&&typeof e.then=="function"}function bs(e){return!!e&&typeof e.subscribe=="function"}var Ku=new C("");function dw(e){return gt([{provide:Ku,multi:!0,useValue:e}])}var Ju=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=g(Ku,{optional:!0})??[];injector=g(se);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Hn(this.injector,o);if(co(i))n.push(i);else if(bs(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=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),og=new C("");function ig(){fa(()=>{let e="";throw new m(600,e)})}function sg(e){return e.isBoundToModule}var fw=10;var cr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g($e);afterRenderManager=g(gs);zonelessEnabled=g(Zn);rootEffectScheduler=g(Ri);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new ue;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(Ht);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(le(n=>!n))}constructor(){g(qe,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=g(fe);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=se.NULL){return this._injector.get(Q).run(()=>{F(R.BootstrapComponentStart);let s=n instanceof Es;if(!this._injector.get(Ju).done){let h="";throw new m(405,h)}let c;s?c=n:c=this._injector.get(ao).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=sg(c)?void 0:this._injector.get(Cn),l=r||c.selector,d=c.create(o,[],l,u),p=d.location.nativeElement,f=d.injector.get(Qu,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),Wr(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),F(R.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){F(R.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(hs.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw F(R.ChangeDetectionEnd),new m(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(),F(R.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(wn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<fw;){F(R.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{F(R.ChangeDetectionSyncEnd)}}}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&&!Pr(o))continue;let i=r&&!this.zonelessEnabled?0:1;wh(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})=>Pr(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(og,[]).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 m(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({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 ag(e,t,n,r){let o=D(),i=Bt();if(he(o,i,t)){let s=H(),a=Br();FE(a,o,e,t,n,r)}return ag}function pw(){return D()[ae][q]}var ou=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 bc(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function hw(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){E(r);let u=t.length-1;for(E(null);s<=a&&s<=u;){let l=e.at(s),d=t[s],p=bc(s,l,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[u],I=bc(a,f,u,h,n);if(I!==0){I<0&&e.updateValue(a,h),a--,u--;continue}let y=n(s,l),v=n(a,f),P=n(s,d);if(Object.is(P,v)){let De=n(u,h);Object.is(De,y)?(e.swap(s,a),e.updateValue(a,h),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new ns,i??=ip(e,s,a,n),iu(e,o,s,P))e.updateValue(s,d),s++,a++;else if(i.has(P))o.set(y,e.detach(s)),a--;else{let De=e.create(s,t[s]);e.attach(s,De),s++,a++}}for(;s<=u;)op(e,o,n,s,t[s]),s++}else if(t!=null){E(r);let u=t[Symbol.iterator]();E(null);let l=u.next();for(;!l.done&&s<=a;){let d=e.at(s),p=l.value,f=bc(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,l=u.next();else{o??=new ns,i??=ip(e,s,a,n);let h=n(s,p);if(iu(e,o,s,h))e.updateValue(s,p),s++,a++,l=u.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,l=u.next();else{let I=n(s,d);o.set(I,e.detach(s)),a--}}}for(;!l.done;)op(e,o,n,e.length,l.value),l=u.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(u=>{e.destroy(u)})}function iu(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function op(e,t,n,r,o){if(iu(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function ip(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 ns=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 gw(e,t,n,r,o,i,s,a){wt("NgControlFlow");let c=D(),u=H(),l=we(u.consts,i);return tr(c,u,e,t,n,r,o,l,256,s,a),Xu}function Xu(e,t,n,r,o,i,s,a){wt("NgControlFlow");let c=D(),u=H(),l=we(u.consts,i);return tr(c,u,e,t,n,r,o,l,512,s,a),Xu}function mw(e,t){wt("NgControlFlow");let n=D(),r=Bt(),o=n[r]!==ne?n[r]:-1,i=o!==-1?rs(n,V+o):void 0,s=0;if(he(n,r,e)){let a=E(null);try{if(i!==void 0&&Sh(i,s),e!==-1){let c=V+e,u=rs(n,c),l=uu(n[w],c),d=Ah(u,l,n),p=io(n,l,t,{dehydratedView:d});so(u,p,s,Xn(l,d))}}finally{E(a)}}else if(i!==void 0){let a=Mh(i,s);a!==void 0&&(a[q]=t)}}var su=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Z}};function yw(e){return e}function vw(e,t){return t}var au=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function Dw(e,t,n,r,o,i,s,a,c,u,l,d,p){wt("NgControlFlow");let f=D(),h=H(),I=c!==void 0,y=D(),v=a?s.bind(y[ae][q]):s,P=new au(I,v);y[V+e]=P,tr(f,h,e+1,t,n,r,o,we(h.consts,i),256),I&&tr(f,h,e+2,c,u,l,d,we(h.consts,p),512)}var cu=class extends ou{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-Z}at(t){return this.getLView(t)[q].$implicit}attach(t,n){let r=n[dn];this.needsIndexUpdate||=t!==this.length,so(this.lContainer,n,t,Xn(this.templateTNode,r)),Iw(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,ww(this.lContainer,t),Cw(this.lContainer,t)}create(t,n){let r=Yi(this.lContainer,this.templateTNode.tView.ssrId);return io(this.hostLView,this.templateTNode,new su(this.lContainer,n,t),{dehydratedView:r})}destroy(t){ms(t[w],t)}updateValue(t,n){this.getLView(t)[q].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[q].$index=t}getLView(t){return bw(this.lContainer,t)}};function Ew(e){let t=E(null),n=Ue();try{let r=D(),o=r[w],i=r[n],s=n+1,a=rs(r,s);if(i.liveCollection===void 0){let u=uu(o,s);i.liveCollection=new cu(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(hw(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let u=Bt(),l=c.length===0;if(he(r,u,l)){let d=n+2,p=rs(r,d);if(l){let f=uu(o,d),h=Ah(p,f,r),I=io(r,f,void 0,{dehydratedView:h});so(p,I,0,Xn(f,h))}else o.firstUpdatePass&&iI(p),Sh(p,0)}}}finally{E(t)}}function rs(e,t){return e[t]}function Iw(e,t){if(e.length<=Z)return;let n=Z+t,r=e[n],o=r?r[Lt]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[mt];pE(i,o),In.delete(r[yt]),o.detachedLeaveAnimationFns=void 0}}function ww(e,t){if(e.length<=Z)return;let n=Z+t,r=e[n],o=r?r[Lt]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function Cw(e,t){return Qr(e,t)}function bw(e,t){return Mh(e,t)}function uu(e,t){return Ii(e,t)}function cg(e,t,n){let r=D(),o=Bt();if(he(r,o,t)){let i=H(),s=Br();gh(s,r,e,t,r[L],n)}return cg}function lu(e,t,n,r,o){Bu(t,e,n,o?"class":"style",r)}function os(e,t,n,r){let o=D(),i=o[w],s=e+V,a=i.firstCreatePass?Uu(s,o,2,t,Pu,bi(),n,r):i.data[s];if(Dt(a)){let c=o[je].tracingService;if(c&&c.componentCreate){let u=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(Lh(u),()=>(sp(e,t,o,a,r),os))}}return sp(e,t,o,a,r),os}function sp(e,t,n,r,o){if(Lu(r,n,e,t,dg),zn(r)){let i=n[w];vs(i,n,r),Du(i,r,n)}o!=null&&oo(n,r)}function el(){let e=H(),t=te(),n=ju(t);return e.firstCreatePass&&$u(e,n),ic(n)&&sc(),rc(),n.classesWithoutHost!=null&&zv(n)&&lu(e,n,D(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Gv(n)&&lu(e,n,D(),n.stylesWithoutHost,!1),el}function ug(e,t,n,r){return os(e,t,n,r),el(),ug}function tl(e,t,n,r){let o=D(),i=o[w],s=e+V,a=i.firstCreatePass?EI(s,i,2,t,n,r):i.data[s];return Lu(a,o,e,t,dg),r!=null&&oo(o,a),tl}function nl(){let e=te(),t=ju(e);return ic(t)&&sc(),rc(),nl}function lg(e,t,n,r){return tl(e,t,n,r),nl(),lg}var dg=(e,t,n,r,o)=>(Vr(!0),Yp(t[L],r,If()));function rl(e,t,n){let r=D(),o=r[w],i=e+V,s=o.firstCreatePass?Uu(i,r,8,"ng-container",Pu,bi(),t,n):o.data[i];if(Lu(s,r,e,"ng-container",Tw),zn(s)){let a=r[w];vs(a,r,s),Du(a,s,r)}return n!=null&&oo(r,s),rl}function ol(){let e=H(),t=te(),n=ju(t);return e.firstCreatePass&&$u(e,n),ol}function fg(e,t,n){return rl(e,t,n),ol(),fg}var Tw=(e,t,n,r,o)=>(Vr(!0),PD(t[L],""));function _w(){return D()}function pg(e,t,n){let r=D(),o=Bt();if(he(r,o,t)){let i=H(),s=Br();mh(s,r,e,t,r[L],n)}return pg}var $r=void 0;function Mw(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var Sw=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["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"]],$r,[["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"]],$r,[["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\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",$r,$r,$r],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",Mw],Tc={};function me(e){let t=Nw(e),n=ap(t);if(n)return n;let r=t.split("-")[0];if(n=ap(r),n)return n;if(r==="en")return Sw;throw new m(701,!1)}function ap(e){return e in Tc||(Tc[e]=Te.ng&&Te.ng.common&&Te.ng.common.locales&&Te.ng.common.locales[e]),Tc[e]}var Y=(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})(Y||{});function Nw(e){return e.toLowerCase().replace(/_/g,"-")}var uo="en-US";var Aw=uo;function hg(e){typeof e=="string"&&(Aw=e.toLowerCase().replace(/_/g,"-"))}function gg(e,t,n){let r=D(),o=H(),i=te();return yg(o,r,r[L],i,e,t,n),gg}function mg(e,t,n){let r=D(),o=H(),i=te();return(i.type&3||n)&&Fh(i,o,r,n,r[L],e,t,Hi(i,r,t)),mg}function yg(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Hi(r,t,i),Fh(r,e,t,s,n,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let p=l[d],f=l[d+1];c??=Hi(r,t,i),Jf(r,t,p,f,o,c)}if(u&&u.length)for(let d of u)c??=Hi(r,t,i),Jf(r,t,d,o,o,c)}}function xw(e=1){return vf(e)}function Rw(e,t){let n=null,r=QD(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?rh(e,i,!0):XD(r,i))return o}return n}function Ow(e){let t=D()[ae][pe];if(!t.projection){let n=e?e.length:1,r=t.projection=Ud(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?Rw(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function kw(e,t=0,n,r,o,i){let s=D(),a=H(),c=r?e+1:null;c!==null&&tr(s,a,c,r,o,i,null,n);let u=or(a,V+e,16,null,n||null);u.projection===null&&(u.projection=t),uc();let d=!s[dn]||oc();s[ae][pe].projection[u.projection]===null&&c!==null?Fw(s,a,c):d&&!ls(u)&&bE(a,s,u)}function Fw(e,t,n){let r=V+n,o=t.data[r],i=e[r],s=Yi(i,o.tView.ssrId),a=io(e,o,void 0,{dehydratedView:s});so(i,a,0,Xn(o,s))}function vg(e,t,n,r){return $h(e,t,n,r),vg}function Dg(e,t,n){return Uh(e,t,n),Dg}function Pw(e){let t=D(),n=H(),r=_i();jr(r+1);let o=Gu(n,r);if(e.dirty&&Jd(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Gh(t,r);e.reset(i,Sp),e.notifyOnChanges()}return!0}return!1}function Lw(){return zu(D(),_i())}function Eg(e,t,n,r,o){return qh(t,$h(e,n,r,o)),Eg}function Ig(e,t,n,r){return qh(e,Uh(t,n,r)),Ig}function jw(e=1){jr(_i()+e)}function Bw(e){let t=uf();return Fr(t,V+e)}function Pi(e,t){return e<<17|t<<2}function bn(e){return e>>17&32767}function Vw(e){return(e&2)==2}function Hw(e,t){return e&131071|t<<17}function du(e){return e|2}function nr(e){return(e&131068)>>2}function _c(e,t){return e&-131069|t<<2}function Uw(e){return(e&1)===1}function fu(e){return e|1}function $w(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=bn(s),c=nr(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Bn(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=bn(e[a+1]);e[r+1]=Pi(p,a),p!==0&&(e[p+1]=_c(e[p+1],r)),e[a+1]=Hw(e[a+1],r)}else e[r+1]=Pi(a,0),a!==0&&(e[a+1]=_c(e[a+1],r)),a=r;else e[r+1]=Pi(c,0),a===0?a=r:e[c+1]=_c(e[c+1],r),c=r;u&&(e[r+1]=du(e[r+1])),cp(e,l,r,!0),cp(e,l,r,!1),zw(t,l,e,r,i),s=Pi(a,c),i?t.classBindings=s:t.styleBindings=s}function zw(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Bn(i,t)>=0&&(n[r+1]=fu(n[r+1]))}function cp(e,t,n,r){let o=e[n+1],i=t===null,s=r?bn(o):nr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];Gw(c,t)&&(a=!0,e[s+1]=r?fu(u):du(u)),s=r?bn(u):nr(u)}a&&(e[n+1]=r?du(o):fu(o))}function Gw(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Bn(e,t)>=0:!1}var Ge={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ww(e){return e.substring(Ge.key,Ge.keyEnd)}function qw(e){return Zw(e),wg(e,Cg(e,0,Ge.textEnd))}function wg(e,t){let n=Ge.textEnd;return n===t?-1:(t=Ge.keyEnd=Yw(e,Ge.key=t,n),Cg(e,t,n))}function Zw(e){Ge.key=0,Ge.keyEnd=0,Ge.value=0,Ge.valueEnd=0,Ge.textEnd=e.length}function Cg(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Yw(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function bg(e,t,n){return _g(e,t,n,!1),bg}function Tg(e,t){return _g(e,t,null,!0),Tg}function Qw(e){Jw(oC,Kw,e,!0)}function Kw(e,t){for(let n=qw(t);n>=0;n=wg(t,n))vi(e,Ww(t),!0)}function _g(e,t,n,r){let o=D(),i=H(),s=Lr(2);if(i.firstUpdatePass&&Sg(i,e,s,r),t!==ne&&he(o,s,t)){let a=i.data[Ue()];Ng(i,a,o,o[L],e,o[s+1]=sC(t,n),r,s)}}function Jw(e,t,n,r){let o=H(),i=Lr(2);o.firstUpdatePass&&Sg(o,null,i,r);let s=D();if(n!==ne&&he(s,i,n)){let a=o.data[Ue()];if(Ag(a,r)&&!Mg(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=di(c,n||"")),lu(o,a,s,n,r)}else iC(o,a,s,s[L],s[i+1],s[i+1]=rC(e,t,n),r,i)}}function Mg(e,t){return t>=e.expandoStartIndex}function Sg(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Ue()],s=Mg(e,n);Ag(i,r)&&t===null&&!s&&(t=!1),t=Xw(o,i,t,r),$w(o,i,t,n,s,r)}}function Xw(e,t,n,r){let o=hf(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Mc(null,e,t,n,r),n=Xr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Mc(o,e,t,n,r),i===null){let c=eC(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Mc(null,e,t,c[1],r),c=Xr(c,t.attrs,r),tC(e,t,r,c))}else i=nC(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function eC(e,t,n){let r=n?t.classBindings:t.styleBindings;if(nr(r)!==0)return e[bn(r)]}function tC(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[bn(o)]=r}function nC(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Xr(r,s,n)}return Xr(r,t.attrs,n)}function Mc(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=Xr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Xr(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]),vi(e,s,n?!0:t[++i]))}return e===void 0?null:e}function rC(e,t,n){if(n==null||n==="")return ie;let r=[],o=Ce(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,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 oC(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&vi(e,r,n)}function iC(e,t,n,r,o,i,s,a){o===ne&&(o=ie);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,h=null,I;l===d?(c+=2,u+=2,p!==f&&(h=d,I=f)):d===null||l!==null&&l<d?(c+=2,h=l):(u+=2,h=d,I=f),h!==null&&Ng(e,t,n,r,h,I,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function Ng(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=Uw(u)?up(c,t,n,o,nr(u),s):void 0;if(!is(l)){is(i)||Vw(u)&&(i=up(c,null,n,o,a,s));let d=Qa(Ue(),n);_E(r,s,d,o,i)}}function up(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,p=n[o+1];p===ne&&(p=d?ie:void 0);let f=d?Di(p,r):l===r?p:void 0;if(u&&!is(f)&&(f=Di(c,r)),is(f)&&(a=f,s))return a;let h=e[o+1];o=s?bn(h):nr(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Di(c,r))}return a}function is(e){return e!==void 0}function sC(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Ar(Ce(e)))),e}function Ag(e,t){return(e.flags&(t?8:16))!==0}function aC(e,t=""){let n=D(),r=H(),o=e+V,i=r.firstCreatePass?or(r,o,1,t,null):r.data[o],s=cC(r,n,i,t);n[o]=s,Ni()&&ku(r,n,s,i),Wn(i,!1)}var cC=(e,t,n,r)=>(Vr(!0),kD(t[L],r));function xg(e,t,n,r=""){return he(e,Bt(),n)?t+_e(n)+r:ne}function uC(e,t,n,r,o,i=""){let s=dc(),a=Kr(e,s,n,o);return Lr(2),a?t+_e(n)+r+_e(o)+i:ne}function lC(e,t,n,r,o,i,s,a,c,u,l,d=""){let p=dc(),f=CI(e,p,n,o,s,c);return f=he(e,p+4,l)||f,Lr(5),f?t+_e(n)+r+_e(o)+i+_e(s)+a+_e(c)+u+_e(l)+d:ne}function Rg(e){return il("",e),Rg}function il(e,t,n){let r=D(),o=xg(r,e,t,n);return o!==ne&&sl(r,Ue(),o),il}function Og(e,t,n,r,o){let i=D(),s=uC(i,e,t,n,r,o);return s!==ne&&sl(i,Ue(),s),Og}function kg(e,t,n,r,o,i,s,a,c,u,l){let d=D(),p=lC(d,e,t,n,r,o,i,s,a,c,u,l);return p!==ne&&sl(d,Ue(),p),kg}function sl(e,t,n){let r=Qa(t,e);FD(e[L],r,n)}function Fg(e,t,n){Yu(t)&&(t=t());let r=D(),o=Bt();if(he(r,o,t)){let i=H(),s=Br();gh(s,r,e,t,r[L],n)}return Fg}function dC(e,t){let n=Yu(e);return n&&e.set(t),n}function Pg(e,t){let n=D(),r=H(),o=te();return yg(r,n,n[L],o,e,t),Pg}function fC(e,t,n=""){return xg(D(),e,t,n)}function lp(e,t,n){let r=H();r.firstCreatePass&&Lg(t,r.data,r.blueprint,Ve(e),n)}function Lg(e,t,n,r,o){if(e=X(e),Array.isArray(e))for(let i=0;i<e.length;i++)Lg(e[i],t,n,r,o);else{let i=H(),s=D(),a=te(),c=an(e)?e:X(e.provide),u=za(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(an(e)||!e.multi){let f=new En(u,o,ge,null),h=Nc(c,t,o?l:l+p,d);h===-1?(xc(Wi(a,s),i,c),Sc(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=Nc(c,t,l+p,d),h=Nc(c,t,l,l+p),I=f>=0&&n[f],y=h>=0&&n[h];if(o&&!y||!o&&!I){xc(Wi(a,s),i,c);let v=gC(o?hC:pC,n.length,o,r,u,e);!o&&y&&(n[h].providerFactory=v),Sc(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(v),s.push(v)}else{let v=jg(n[o?h:f],u,!o&&r);Sc(i,e,f>-1?f:h,v)}!o&&r&&y&&n[h].componentProviders++}}}function Sc(e,t,n,r){let o=an(t),i=Zd(t);if(o||i){let c=(i?X(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function jg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Nc(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function pC(e,t,n,r,o){return pu(this.multi,[])}function hC(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=qr(r,r[w],this.providerFactory.index,o);s=c.slice(0,a),pu(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],pu(i,s);return s}function pu(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function gC(e,t,n,r,o,i){let s=new En(e,n,ge,null);return s.multi=[],s.index=t,s.componentProviders=0,jg(s,o,r&&!n),s}function mC(e,t){return n=>{n.providersResolver=(r,o)=>lp(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>lp(r,o?o(t):t,!0))}}function yC(e,t){let n=vn()+e,r=D();return r[n]===ne?ws(r,n,t()):II(r,n)}function vC(e,t,n){return Bg(D(),vn(),e,t,n)}function DC(e,t,n,r){return Vg(D(),vn(),e,t,n,r)}function al(e,t){let n=e[t];return n===ne?void 0:n}function Bg(e,t,n,r,o,i){let s=t+n;return he(e,s,o)?ws(e,s+1,i?r.call(i,o):r(o)):al(e,s+1)}function Vg(e,t,n,r,o,i,s){let a=t+n;return Kr(e,a,o,i)?ws(e,a+2,s?r.call(s,o,i):r(o,i)):al(e,a+2)}function EC(e,t,n,r,o,i,s,a){let c=t+n;return wI(e,c,o,i,s)?ws(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):al(e,c+3)}function IC(e,t){let n=H(),r,o=e+V;n.firstCreatePass?(r=wC(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=Ot(r.type,!0)),s,a=de(ge);try{let c=Gi(!1),u=i();return Gi(c),Ka(n,D(),o,u),u}finally{de(a)}}function wC(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function CC(e,t,n){let r=e+V,o=D(),i=Fr(o,r);return cl(o,r)?Bg(o,vn(),t,i.transform,n,i):i.transform(n)}function bC(e,t,n,r){let o=e+V,i=D(),s=Fr(i,o);return cl(i,o)?Vg(i,vn(),t,s.transform,n,r,s):s.transform(n,r)}function TC(e,t,n,r,o){let i=e+V,s=D(),a=Fr(s,i);return cl(s,i)?EC(s,vn(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function cl(e,t){return e[w].data[t].pure}function _C(e,t){return Ds(e,t)}var ss=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},MC=(()=>{class e{compileModuleSync(n){return new ts(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Pa(n),i=th(o.declarations).reduce((s,a)=>{let c=tt(a);return c&&s.push(new $t(c)),s},[]);return new ss(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=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Hg=(()=>{class e{applicationErrorHandler=g($e);appRef=g(cr);taskService=g(Ht);ngZone=g(Q);zonelessEnabled=g(Zn);tracing=g(qe,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new J;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Sr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(xi,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?bf:mc;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Sr+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.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}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=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ug(){return[{provide:Fe,useExisting:Hg},{provide:Q,useClass:Nr},{provide:Zn,useValue:!0}]}function SC(){return typeof $localize<"u"&&$localize.locale||uo}var ur=new C("",{factory:()=>g(ur,{optional:!0,skipSelf:!0})||SC()});var lo=class{destroyed=!1;listeners=null;errorHandler=g(be,{optional:!0});destroyRef=g(Ae);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new m(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(et(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 Ts(e){return Ad(e)}function NC(e,t){return wr(e,t?.equal)}var AC=e=>e;function xC(e,t){if(typeof e=="function"){let n=ya(e,AC,t?.equal);return $g(n,t?.debugName)}else{let n=ya(e.source,e.computation,e.equal);return $g(n,e.debugName)}}function $g(e,t){let n=e[W],r=e;return r.set=o=>Sd(n,o),r.update=o=>Nd(n,o),r.asReadonly=Hr.bind(e),r}var Ms=Symbol("InputSignalNode#UNSET"),Jg=$(B({},Cr),{transformFn:void 0,applyValueToInputSignal(e,t){Rt(e,t)}});function Xg(e,t){let n=Object.create(Jg);n.value=e,n.transformFn=t?.transform;function r(){if(lt(n),n.value===Ms){let o=null;throw new m(-950,o)}return n.value}return r[W]=n,r}var zg=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>mu(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function Tj(e){return new lo}function Gg(e,t){return Xg(e,t)}function UC(e){return Xg(Ms,e)}var _j=(Gg.required=UC,Gg);function Wg(e,t){return Wu(t)}function $C(e,t){return qu(t)}var Mj=(Wg.required=$C,Wg);function qg(e,t){return Wu(t)}function zC(e,t){return qu(t)}var Sj=(qg.required=zC,qg);function em(e,t){let n=Object.create(Jg),r=new lo;n.value=e;function o(){return lt(n),Zg(n.value),n.value}return o[W]=n,o.asReadonly=Hr.bind(o),o.set=i=>{n.equal(n.value,i)||(Rt(n,i),r.emit(i))},o.update=i=>{Zg(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Zg(e){if(e===Ms)throw new m(952,!1)}function Yg(e,t){return em(e,t)}function GC(e){return em(Ms,e)}var Nj=(Yg.required=GC,Yg);var WC=(()=>{class e{zone=g(Q);changeDetectionScheduler=g(Fe);applicationRef=g(cr);applicationErrorHandler=g($e);_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=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),qC=new C("",{factory:()=>!1});function ZC({ngZoneFactory:e,scheduleInRootZone:t}){return e??=()=>new Q($(B({},tm()),{scheduleInRootZone:t})),[{provide:Zn,useValue:!1},{provide:Q,useFactory:e},{provide:ht,multi:!0,useFactory:()=>{let n=g(WC,{optional:!0});return()=>n.initialize()}},{provide:ht,multi:!0,useFactory:()=>{let n=g(YC);return()=>{n.initialize()}}},{provide:xi,useValue:t??gc}]}function Aj(e){let t=e?.scheduleInRootZone,n=ZC({ngZoneFactory:()=>{let r=tm(e);return r.scheduleInRootZone=t,r.shouldCoalesceEventChangeDetection&&wt("NgZone_CoalesceEvent"),new Q(r)},scheduleInRootZone:t});return gt([{provide:qC,useValue:!0},n])}function tm(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var YC=(()=>{class e{subscription=new J;initialized=!1;zone=g(Q);pendingTasks=g(Ht);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(()=>{Q.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Q.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ll=new C(""),QC=new C("");function fo(e){return!e.moduleRef}function KC(e){let t=fo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Q);return n.run(()=>{fo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get($e),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),fo(e)){let i=()=>t.destroy(),s=e.platformInjector.get(ll);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(ll);s.add(i),e.moduleRef.onDestroy(()=>{Wr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return XC(r,n,()=>{let i=t.get(Ht),s=i.add(),a=t.get(Ju);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(ur,uo);if(hg(c||uo),!t.get(QC,!0))return fo(e)?t.get(cr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(fo(e)){let l=t.get(cr);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return JC?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var JC;function XC(e,t,n){try{let r=n();return co(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var _s=null;function eb(e=[],t){return se.create({name:t,providers:[{provide:Or,useValue:"platform"},{provide:ll,useValue:new Set([()=>_s=null])},...e]})}function tb(e=[]){if(_s)return _s;let t=eb(e);return _s=t,ig(),nb(t),t}function nb(e){let t=e.get(cs,null);Hn(e,()=>{t?.forEach(n=>n())})}function xj(){return!1}var rb=1e4;var Rj=rb-1e3;var fl=(()=>{class e{static __NG_ELEMENT_ID__=ob}return e})();function ob(e){return ib(te(),D(),(e&16)===16)}function ib(e,t,n){if(Dt(e)&&!n){let r=Ne(e.index,t);return new Ut(r,r)}else if(e.type&175){let r=t[ae];return new Ut(r,t)}return null}function nm(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;F(R.BootstrapApplicationStart);try{let i=o?.injector??tb(r),s=[Ug(),_f,...n||[]],a=new Jr({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return KC({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{F(R.BootstrapApplicationEnd)}}function sb(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function ab(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var ul=Symbol("NOT_SET"),rm=new Set,cb=$(B({},Cr),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:ul,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==ul&&!Fn(this))return this.signal;try{for(let o of this.cleanup??rm)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=dt(this),r;try{r=this.userFn.apply(null,t)}finally{At(this,n)}return(this.value===ul||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),dl=class extends Zr{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(Ae),s),this.scheduler=o;for(let a of xu){let c=n[a];if(c===void 0)continue;let u=Object.create(cb);u.sequence=this,u.phase=a,u.userFn=c,u.dirty=!0,u.signal=()=>(lt(u),u.value),u.signal[W]=u,u.registerCleanupFn=l=>(u.cleanup??=new Set).add(l),this.nodes[a]=u,this.hooks[a]=l=>u.phaseFn(l)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??rm)n()}finally{xt(t)}}};function Oj(e,t){let n=t?.injector??g(se),r=n.get(Fe),o=n.get(gs),i=n.get(qe,null,{optional:!0});o.impl??=n.get(Ru);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(qn,null,{optional:!0}),c=new dl(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function kj(e,t){let n=tt(e),r=t.elementInjector||Vn();return new $t(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function Fj(e){let t=tt(e);if(!t)return null;let n=new $t(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}}}var om=null;function Ct(){return om}function pl(e){om??=e}var po=class{},Gt=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:()=>g(im),providedIn:"platform"})}return e})(),ub=new C(""),im=(()=>{class e extends Gt{_location;_history;_doc=g(z);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ct().getBaseHref(this._doc)}onPopState(n){let r=Ct().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Ct().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Ss(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function sm(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Ze(e){return e&&e[0]!=="?"?`?${e}`:e}var lr=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:()=>g(cm),providedIn:"root"})}return e})(),Ns=new C(""),cm=(()=>{class e extends lr{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(z).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Ss(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Ze(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Ze(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Ze(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(b(Gt),b(Ns,8))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var um=(()=>{class e{_subject=new ue;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=fb(sm(am(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Ze(r))}normalize(n){return e.stripTrailingSlash(db(this._basePath,am(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ze(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ze(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=Ze;static joinWithSlash=Ss;static stripTrailingSlash=sm;static \u0275fac=function(r){return new(r||e)(b(lr))};static \u0275prov=T({token:e,factory:()=>lb(),providedIn:"root"})}return e})();function lb(){return new um(b(lr))}function db(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function am(e){return e.replace(/\/index.html$/,"")}function fb(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var pb=(()=>{class e extends lr{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=Ss(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Ze(i))||this._platformLocation.pathname;this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Ze(i))||this._platformLocation.pathname;this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(b(Gt),b(Ns,8))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})();var wl=(function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e})(wl||{});var ce=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(ce||{}),j=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(j||{}),ye=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(ye||{}),ve={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function pm(e){return me(e)[Y.LocaleId]}function hm(e,t,n){let r=me(e),o=[r[Y.DayPeriodsFormat],r[Y.DayPeriodsStandalone]],i=Re(o,t);return Re(i,n)}function gm(e,t,n){let r=me(e),o=[r[Y.DaysFormat],r[Y.DaysStandalone]],i=Re(o,t);return Re(i,n)}function mm(e,t,n){let r=me(e),o=[r[Y.MonthsFormat],r[Y.MonthsStandalone]],i=Re(o,t);return Re(i,n)}function ym(e,t){let r=me(e)[Y.Eras];return Re(r,t)}function ho(e,t){let n=me(e);return Re(n[Y.DateFormat],t)}function go(e,t){let n=me(e);return Re(n[Y.TimeFormat],t)}function mo(e,t){let r=me(e)[Y.DateTimeFormat];return Re(r,t)}function st(e,t){let n=me(e),r=n[Y.NumberSymbols][t];if(typeof r>"u"){if(t===ve.CurrencyDecimal)return n[Y.NumberSymbols][ve.Decimal];if(t===ve.CurrencyGroup)return n[Y.NumberSymbols][ve.Group]}return r}function vm(e,t){return me(e)[Y.NumberFormats][t]}function Dm(e){if(!e[Y.ExtraData])throw new m(2303,!1)}function Em(e){let t=me(e);return Dm(t),(t[Y.ExtraData][2]||[]).map(r=>typeof r=="string"?hl(r):[hl(r[0]),hl(r[1])])}function Im(e,t,n){let r=me(e);Dm(r);let o=[r[Y.ExtraData][0],r[Y.ExtraData][1]],i=Re(o,t)||[];return Re(i,n)||[]}function Re(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new m(2304,!1)}function hl(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var hb=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,As={},gb=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function wm(e,t,n,r){let o=bb(e);t=bt(n,t)||t;let s=[],a;for(;t;)if(a=gb.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=bm(r,c),o=Cb(o,r));let u="";return s.forEach(l=>{let d=Ib(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Fs(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function bt(e,t){let n=pm(e);if(As[n]??={},As[n][t])return As[n][t];let r="";switch(t){case"shortDate":r=ho(e,ye.Short);break;case"mediumDate":r=ho(e,ye.Medium);break;case"longDate":r=ho(e,ye.Long);break;case"fullDate":r=ho(e,ye.Full);break;case"shortTime":r=go(e,ye.Short);break;case"mediumTime":r=go(e,ye.Medium);break;case"longTime":r=go(e,ye.Long);break;case"fullTime":r=go(e,ye.Full);break;case"short":let o=bt(e,"shortTime"),i=bt(e,"shortDate");r=xs(mo(e,ye.Short),[o,i]);break;case"medium":let s=bt(e,"mediumTime"),a=bt(e,"mediumDate");r=xs(mo(e,ye.Medium),[s,a]);break;case"long":let c=bt(e,"longTime"),u=bt(e,"longDate");r=xs(mo(e,ye.Long),[c,u]);break;case"full":let l=bt(e,"fullTime"),d=bt(e,"fullDate");r=xs(mo(e,ye.Full),[l,d]);break}return r&&(As[n][t]=r),r}function xs(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Ye(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function mb(e,t){return Ye(e,3).substring(0,t)}function K(e,t,n=0,r=!1,o=!1){return function(i,s){let a=yb(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return mb(a,t);let c=st(s,ve.MinusSign);return Ye(a,t,c,r,o)}}function yb(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new m(2301,!1)}}function U(e,t,n=ce.Format,r=!1){return function(o,i){return vb(o,i,e,t,n,r)}}function vb(e,t,n,r,o,i){switch(n){case 2:return mm(t,o,r)[e.getMonth()];case 1:return gm(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=Em(t),l=Im(t,o,r),d=u.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,I=s>=f.hours&&a>=f.minutes,y=s<h.hours||s===h.hours&&a<h.minutes;if(f.hours<h.hours){if(I&&y)return!0}else if(I||y)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return hm(t,o,r)[s<12?0:1];case 3:return ym(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new m(2302,!1)}}function Rs(e){return function(t,n,r){let o=-1*r,i=st(n,ve.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+Ye(s,2,i)+Ye(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+Ye(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+Ye(s,2,i)+":"+Ye(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+Ye(s,2,i)+":"+Ye(Math.abs(o%60),2,i);default:throw new m(2310,!1)}}}var Db=0,ks=4;function Eb(e){let t=Fs(e,Db,1).getDay();return Fs(e,0,1+(t<=ks?ks:ks+7)-t)}function Cm(e){let t=e.getDay(),n=t===0?-3:ks-t;return Fs(e.getFullYear(),e.getMonth(),e.getDate()+n)}function gl(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=Cm(n),s=Eb(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Ye(o,e,st(r,ve.MinusSign))}}function Os(e,t=!1){return function(n,r){let i=Cm(n).getFullYear();return Ye(i,e,st(r,ve.MinusSign),t)}}var ml={};function Ib(e){if(ml[e])return ml[e];let t;switch(e){case"G":case"GG":case"GGG":t=U(3,j.Abbreviated);break;case"GGGG":t=U(3,j.Wide);break;case"GGGGG":t=U(3,j.Narrow);break;case"y":t=K(0,1,0,!1,!0);break;case"yy":t=K(0,2,0,!0,!0);break;case"yyy":t=K(0,3,0,!1,!0);break;case"yyyy":t=K(0,4,0,!1,!0);break;case"Y":t=Os(1);break;case"YY":t=Os(2,!0);break;case"YYY":t=Os(3);break;case"YYYY":t=Os(4);break;case"M":case"L":t=K(1,1,1);break;case"MM":case"LL":t=K(1,2,1);break;case"MMM":t=U(2,j.Abbreviated);break;case"MMMM":t=U(2,j.Wide);break;case"MMMMM":t=U(2,j.Narrow);break;case"LLL":t=U(2,j.Abbreviated,ce.Standalone);break;case"LLLL":t=U(2,j.Wide,ce.Standalone);break;case"LLLLL":t=U(2,j.Narrow,ce.Standalone);break;case"w":t=gl(1);break;case"ww":t=gl(2);break;case"W":t=gl(1,!0);break;case"d":t=K(2,1);break;case"dd":t=K(2,2);break;case"c":case"cc":t=K(7,1);break;case"ccc":t=U(1,j.Abbreviated,ce.Standalone);break;case"cccc":t=U(1,j.Wide,ce.Standalone);break;case"ccccc":t=U(1,j.Narrow,ce.Standalone);break;case"cccccc":t=U(1,j.Short,ce.Standalone);break;case"E":case"EE":case"EEE":t=U(1,j.Abbreviated);break;case"EEEE":t=U(1,j.Wide);break;case"EEEEE":t=U(1,j.Narrow);break;case"EEEEEE":t=U(1,j.Short);break;case"a":case"aa":case"aaa":t=U(0,j.Abbreviated);break;case"aaaa":t=U(0,j.Wide);break;case"aaaaa":t=U(0,j.Narrow);break;case"b":case"bb":case"bbb":t=U(0,j.Abbreviated,ce.Standalone,!0);break;case"bbbb":t=U(0,j.Wide,ce.Standalone,!0);break;case"bbbbb":t=U(0,j.Narrow,ce.Standalone,!0);break;case"B":case"BB":case"BBB":t=U(0,j.Abbreviated,ce.Format,!0);break;case"BBBB":t=U(0,j.Wide,ce.Format,!0);break;case"BBBBB":t=U(0,j.Narrow,ce.Format,!0);break;case"h":t=K(3,1,-12);break;case"hh":t=K(3,2,-12);break;case"H":t=K(3,1);break;case"HH":t=K(3,2);break;case"m":t=K(4,1);break;case"mm":t=K(4,2);break;case"s":t=K(5,1);break;case"ss":t=K(5,2);break;case"S":t=K(6,1);break;case"SS":t=K(6,2);break;case"SSS":t=K(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Rs(0);break;case"ZZZZZ":t=Rs(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Rs(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Rs(2);break;default:return null}return ml[e]=t,t}function bm(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function wb(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Cb(e,t,n){let o=e.getTimezoneOffset(),i=bm(t,o);return wb(e,-1*(i-o))}function bb(e){if(lm(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return Fs(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(hb))return Tb(r)}let t=new Date(e);if(!lm(t))throw new m(2311,!1);return t}function Tb(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,c,u),t}function lm(e){return e instanceof Date&&!isNaN(e.valueOf())}var _b=/^(\d+)?\.((\d+)(-(\d+))?)?$/,dm=22,Ps=".",yo="0",Mb=";",Sb=",",yl="#";function Nb(e,t,n,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=st(n,ve.Infinity);else{let u=Rb(e);s&&(u=xb(u));let l=t.minInt,d=t.minFrac,p=t.maxFrac;if(i){let P=i.match(_b);if(P===null)throw new m(2306,!1);let De=P[1],G=P[3],_t=P[5];De!=null&&(l=vl(De)),G!=null&&(d=vl(G)),_t!=null?p=vl(_t):G!=null&&d>p&&(p=d)}Ob(u,d,p);let f=u.digits,h=u.integerLen,I=u.exponent,y=[];for(c=f.every(P=>!P);h<l;h++)f.unshift(0);for(;h<0;h++)f.unshift(0);h>0?y=f.splice(h,f.length):(y=f,f=[0]);let v=[];for(f.length>=t.lgSize&&v.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)v.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&v.unshift(f.join("")),a=v.join(st(n,r)),y.length&&(a+=st(n,o)+y.join("")),I&&(a+=st(n,ve.Exponential)+"+"+I)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function Tm(e,t,n){let r=vm(t,wl.Decimal),o=Ab(r,st(t,ve.MinusSign));return Nb(e,o,t,ve.Group,ve.Decimal,n)}function Ab(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(Mb),o=r[0],i=r[1],s=o.indexOf(Ps)!==-1?o.split(Ps):[o.substring(0,o.lastIndexOf(yo)+1),o.substring(o.lastIndexOf(yo)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(yl));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===yo?n.minFrac=n.maxFrac=l+1:d===yl?n.maxFrac=l+1:n.posSuf+=d}let u=a.split(Sb);if(n.gSize=u[1]?u[1].length:0,n.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,i){let l=o.length-n.posPre.length-n.posSuf.length,d=i.indexOf(yl);n.negPre=i.substring(0,d).replace(/'/g,""),n.negSuf=i.slice(d+l).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function xb(e){if(e.digits[0]===0)return e;let t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(t===0?e.digits.push(0,0):t===1&&e.digits.push(0),e.integerLen+=2),e}function Rb(e){let t=Math.abs(e)+"",n=0,r,o,i,s,a;for((o=t.indexOf(Ps))>-1&&(t=t.replace(Ps,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===yo;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===yo;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>dm&&(r=r.splice(0,dm-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function Ob(e,t,n){if(t>n)throw new m(2307,!1);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let c=i!==0,u=t+e.integerLen,l=r.reduceRight(function(d,p,f,h){return p=p+d,h[f]=p<10?p:p-10,c&&(h[f]===0&&f>=u?h.pop():c=!1),p>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function vl(e){let t=parseInt(e);if(isNaN(t))throw new m(2305,!1);return t}var Dl=/\s+/,fm=[],kb=(()=>{class e{_ngEl;_renderer;initialClasses=fm;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(Dl):fm}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Dl):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(Dl).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(ge(zt),ge(Is))};static \u0275dir=Cs({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var Fb=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=g(se);constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(ge(ir))};static \u0275dir=Cs({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[hu]})}return e})();function Cl(e,t){return new m(2100,!1)}var El=class{createSubscription(t,n,r){return Ts(()=>t.subscribe({next:n,error:r}))}dispose(t){Ts(()=>t.unsubscribe())}},Il=class{createSubscription(t,n,r){return t.then(o=>n?.(o),o=>r?.(o)),{unsubscribe:()=>{n=null,r=null}}}dispose(t){t.unsubscribe()}},Pb=new Il,Lb=new El,jb=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=g($e);constructor(n){this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r),r=>this.applicationErrorHandler(r))}_selectStrategy(n){if(co(n))return Pb;if(bs(n))return Lb;throw Cl(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||e)(ge(fl,16))};static \u0275pipe=ar({name:"async",type:e,pure:!1})}return e})();var Bb="mediumDate",_m=new C(""),Mm=new C(""),Vb=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??Bb,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return wm(n,s,i||this.locale,a)}catch(s){throw Cl(e,s.message)}}static \u0275fac=function(r){return new(r||e)(ge(ur,16),ge(_m,24),ge(Mm,24))};static \u0275pipe=ar({name:"date",type:e,pure:!0})}return e})();var Hb=(()=>{class e{transform(n){return JSON.stringify(n,null,2)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=ar({name:"json",type:e,pure:!1})}return e})();var Ub=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!$b(n))return null;o||=this._locale;try{let i=zb(n);return Tm(i,o,r)}catch(i){throw Cl(e,i.message)}}static \u0275fac=function(r){return new(r||e)(ge(ur,16))};static \u0275pipe=ar({name:"number",type:e,pure:!0})}return e})();function $b(e){return!(e==null||e===""||e!==e)}function zb(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new m(2309,!1);return e}var Sm=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=sr({type:e});static \u0275inj=un({})}return e})();function vo(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var _n=class{};var Tl="browser";function nV(e){return e===Tl}var rV=(()=>{class e{static \u0275prov=T({token:e,providedIn:"root",factory:()=>new bl(g(z),window)})}return e})(),bl=class{document;window;offset=()=>[0,0];constructor(t,n){this.document=t,this.window=n}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t,n){this.window.scrollTo($(B({},n),{left:t[0],top:t[1]}))}scrollToAnchor(t,n){let r=Wb(this.document,t);r&&(this.scrollToElement(r,n),r.focus())}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch(n){console.warn(et(2400,!1))}}scrollToElement(t,n){let r=t.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo($(B({},n),{left:o-s[0],top:i-s[1]}))}};function Wb(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var Do=class{_doc;constructor(t){this._doc=t}manager},Ls=(()=>{class e extends Do{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(b(z))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),Vs=new C(""),Nl=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});let o=n.filter(s=>!(s instanceof Ls));this._plugins=o.slice().reverse();let i=n.find(s=>s instanceof Ls);i&&this._plugins.push(i)}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new m(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(b(Vs),b(Q))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),_l="ng-app-id";function Nm(e){for(let t of e)t.remove()}function Am(e,t){let n=t.createElement("style");return n.textContent=e,n}function qb(e,t,n,r){let o=e.head?.querySelectorAll(`style[${_l}="${t}"],link[${_l}="${t}"]`);if(o)for(let i of o)i.removeAttribute(_l),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}function Sl(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Al=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,qb(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,Am);r?.forEach(o=>this.addUsage(o,this.external,Sl))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(Nm(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Nm(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,Am(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,Sl(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(b(z),b(as),b(us,8),b(to))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),Ml={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},xl=/%COMP%/g;var Rm="%COMP%",Zb=`_nghost-${Rm}`,Yb=`_ngcontent-${Rm}`,Qb=!0,Kb=new C("",{factory:()=>Qb});function Jb(e){return Yb.replace(xl,e)}function Xb(e){return Zb.replace(xl,e)}function Om(e,t){return t.map(n=>n.replace(xl,e))}var Rl=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(n,r,o,i,s,a,c=null,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=u,this.defaultRenderer=new Eo(n,s,a,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof Bs?o.applyToHost(n):o instanceof Io&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case We.Emulated:i=new Bs(c,u,r,this.appId,l,s,a,d);break;case We.ShadowDom:return new js(c,n,r,s,a,this.nonce,d,u);case We.ExperimentalIsolatedShadowDom:return new js(c,n,r,s,a,this.nonce,d);default:i=new Io(c,u,r,l,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(b(Nl),b(Al),b(as),b(Kb),b(z),b(Q),b(us),b(qe,8))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),Eo=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Ml[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(xm(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(xm(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new m(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=Ml[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Ml[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(ot.DashCase|ot.Important)?t.style.setProperty(n,r,o&ot.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&ot.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t=="string"&&(t=Ct().getGlobalEventTarget(this.doc,t),!t))throw new m(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function xm(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var js=class extends Eo{hostEl;sharedStylesHost;shadowRoot;constructor(t,n,r,o,i,s,a,c){super(t,o,i,a),this.hostEl=n,this.sharedStylesHost=c,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=Om(r.id,u);for(let d of u){let p=document.createElement("style");s&&p.setAttribute("nonce",s),p.textContent=d,this.shadowRoot.appendChild(p)}let l=r.getExternalStyles?.();if(l)for(let d of l){let p=Sl(d,o);s&&p.setAttribute("nonce",s),this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},Io=class extends Eo{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let u=r.styles;this.styles=c?Om(c,u):u,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&In.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Bs=class extends Io{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=Jb(u),this.hostAttr=Xb(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}};var Hs=class e extends po{supportsDOMEvents=!0;static makeCurrent(){pl(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=eT();return n==null?null:tT(n)}resetBaseElement(){wo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return vo(document.cookie,t)}},wo=null;function eT(){return wo=wo||document.head.querySelector("base"),wo?wo.getAttribute("href"):null}function tT(e){return new URL(e,document.baseURI).pathname}var nT=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),km=["alt","control","meta","shift"],rT={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},oT={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Fm=(()=>{class e extends Do{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ct().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),km.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=rT[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),km.forEach(s=>{if(s!==o){let a=oT[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(b(z))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})();function iT(e,t,n){return Sn(this,null,function*(){let r=B({rootComponent:e},sT(t,n));return nm(r)})}function sT(e,t){return{platformRef:t?.platformRef,appProviders:[...dT,...e?.providers??[]],platformProviders:lT}}function aT(){Hs.makeCurrent()}function cT(){return new be}function uT(){return vu(document),document}var lT=[{provide:to,useValue:Tl},{provide:cs,useValue:aT,multi:!0},{provide:z,useFactory:uT}];var dT=[{provide:Or,useValue:"root"},{provide:be,useFactory:cT},{provide:Vs,useClass:Ls,multi:!0},{provide:Vs,useClass:Fm,multi:!0},Rl,Al,Nl,{provide:wn,useExisting:Rl},{provide:_n,useClass:nT},[]];var Wt=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
5
+ `).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var $s=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}},zs=class{encodeKey(t){return Pm(t)}encodeValue(t){return Pm(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function fT(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var pT=/%(\d[a-f0-9])/gi,hT={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Pm(e){return encodeURIComponent(e).replace(pT,(t,n)=>hT[n]??t)}function Us(e){return`${e}`}var Tt=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new zs,t.fromString){if(t.fromObject)throw new m(2805,!1);this.map=fT(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(Us):[Us(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(Us(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(Us(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};function gT(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Lm(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function jm(e){return typeof Blob<"u"&&e instanceof Blob}function Bm(e){return typeof FormData<"u"&&e instanceof FormData}function mT(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Vm="Content-Type",Hm="Accept",Um="text/plain",$m="application/json",yT=`${$m}, ${Um}, */*`,dr=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(gT(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new m(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new Wt,this.context??=new $s,!this.params)this.params=new Tt,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Lm(this.body)||jm(this.body)||Bm(this.body)||mT(this.body)?this.body:this.body instanceof Tt?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Bm(this.body)?null:jm(this.body)?this.body.type||null:Lm(this.body)?null:typeof this.body=="string"?Um:this.body instanceof Tt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?$m:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,u=t.redirect||this.redirect,l=t.credentials||this.credentials,d=t.referrer||this.referrer,p=t.integrity||this.integrity,f=t.referrerPolicy||this.referrerPolicy,h=t.transferCache??this.transferCache,I=t.timeout??this.timeout,y=t.body!==void 0?t.body:this.body,v=t.withCredentials??this.withCredentials,P=t.reportProgress??this.reportProgress,De=t.headers||this.headers,G=t.params||this.params,_t=t.context??this.context;return t.setHeaders!==void 0&&(De=Object.keys(t.setHeaders).reduce((hr,qt)=>hr.set(qt,t.setHeaders[qt]),De)),t.setParams&&(G=Object.keys(t.setParams).reduce((hr,qt)=>hr.set(qt,t.setParams[qt]),G)),new e(n,r,y,{params:G,headers:De,context:_t,reportProgress:P,responseType:o,withCredentials:v,transferCache:h,keepalive:i,cache:a,priority:s,timeout:I,mode:c,redirect:u,credentials:l,referrer:d,integrity:p,referrerPolicy:f})}},Mn=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(Mn||{}),pr=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r="OK"){this.headers=t.headers||new Wt,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.responseType=t.responseType,this.ok=this.status>=200&&this.status<300}},Gs=class e extends pr{constructor(t={}){super(t)}type=Mn.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Co=class e extends pr{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=Mn.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected,responseType:t.responseType??this.responseType})}},fr=class extends pr{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},vT=200,DT=204;var ET=new C("");var IT=/^\)\]\}',?\n/;var kl=(()=>{class e{xhrFactory;tracingService=g(qe,{optional:!0});constructor(n){this.xhrFactory=n}maybePropagateTrace(n){return this.tracingService?.propagate?this.tracingService.propagate(n):n}handle(n){if(n.method==="JSONP")throw new m(-2800,!1);let r=this.xhrFactory;return zo(null).pipe(Ko(()=>new x(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((y,v)=>s.setRequestHeader(y,v.join(","))),n.headers.has(Hm)||s.setRequestHeader(Hm,yT),!n.headers.has(Vm)){let y=n.detectContentTypeHeader();y!==null&&s.setRequestHeader(Vm,y)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let y=n.responseType.toLowerCase();s.responseType=y!=="json"?y:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let y=s.statusText||"OK",v=new Wt(s.getAllResponseHeaders()),P=s.responseURL||n.url;return c=new Gs({headers:v,status:s.status,statusText:y,url:P}),c},l=this.maybePropagateTrace(()=>{let{headers:y,status:v,statusText:P,url:De}=u(),G=null;v!==DT&&(G=typeof s.response>"u"?s.responseText:s.response),v===0&&(v=G?vT:0);let _t=v>=200&&v<300;if(n.responseType==="json"&&typeof G=="string"){let hr=G;G=G.replace(IT,"");try{G=G!==""?JSON.parse(G):null}catch(qt){G=hr,_t&&(_t=!1,G={error:qt,text:G})}}_t?(i.next(new Co({body:G,headers:y,status:v,statusText:P,url:De||void 0})),i.complete()):i.error(new fr({error:G,headers:y,status:v,statusText:P,url:De||void 0}))}),d=this.maybePropagateTrace(y=>{let{url:v}=u(),P=new fr({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:v||void 0});i.error(P)}),p=d;n.timeout&&(p=this.maybePropagateTrace(y=>{let{url:v}=u(),P=new fr({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:v||void 0});i.error(P)}));let f=!1,h=this.maybePropagateTrace(y=>{f||(i.next(u()),f=!0);let v={type:Mn.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(v.total=y.total),n.responseType==="text"&&s.responseText&&(v.partialText=s.responseText),i.next(v)}),I=this.maybePropagateTrace(y=>{let v={type:Mn.UploadProgress,loaded:y.loaded};y.lengthComputable&&(v.total=y.total),i.next(v)});return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",p),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),a!==null&&s.upload&&s.upload.addEventListener("progress",I)),s.send(a),i.next({type:Mn.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",p),n.reportProgress&&(s.removeEventListener("progress",h),a!==null&&s.upload&&s.upload.removeEventListener("progress",I)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(b(_n))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function wT(e,t){return t(e)}function CT(e,t,n){return(r,o)=>Hn(n,()=>t(r,i=>e(i,o)))}var zm=new C("",{factory:()=>[]}),Gm=new C(""),Wm=new C("",{factory:()=>!0});var Fl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=b(kl),o},providedIn:"root"})}return e})();var Ws=(()=>{class e{backend;injector;chain=null;pendingTasks=g(Ur);contributeToStability=g(Wm);constructor(n,r){this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(zm),...this.injector.get(Gm,[])]));this.chain=r.reduceRight((o,i)=>CT(o,i,this.injector),wT)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(ia(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(b(Fl),b(fe))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Pl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=b(Ws),o},providedIn:"root"})}return e})();function Ol(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}var qm=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof dr)i=n;else{let c;o.headers instanceof Wt?c=o.headers:c=new Wt(o.headers);let u;o.params&&(o.params instanceof Tt?u=o.params:u=new Tt({fromObject:o.params})),i=new dr(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=zo(i).pipe(na(c=>this.handler.handle(c)));if(n instanceof dr||o.observe==="events")return s;let a=s.pipe(St(c=>c instanceof Co));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(le(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new m(2806,!1);return c.body}));case"blob":return a.pipe(le(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new m(2807,!1);return c.body}));case"text":return a.pipe(le(c=>{if(c.body!==null&&typeof c.body!="string")throw new m(2808,!1);return c.body}));default:return a.pipe(le(c=>c.body))}case"response":return a;default:throw new m(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new Tt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Ol(o,r))}post(n,r,o={}){return this.request("POST",n,Ol(o,r))}put(n,r,o={}){return this.request("PUT",n,Ol(o,r))}static \u0275fac=function(r){return new(r||e)(b(Pl))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var bT=new C("",{factory:()=>!0}),TT="XSRF-TOKEN",_T=new C("",{factory:()=>TT}),MT="X-XSRF-TOKEN",ST=new C("",{factory:()=>MT}),NT=(()=>{class e{cookieName=g(_T);doc=g(z);lastCookieString="";lastToken=null;parseCount=0;getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=vo(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Zm=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=b(NT),o},providedIn:"root"})}return e})();function AT(e,t){if(!g(bT)||e.method==="GET"||e.method==="HEAD")return t(e);try{let o=g(Gt).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return t(e)}catch(o){return t(e)}let n=g(Zm).getToken(),r=g(ST);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}function xT(...e){let t=[qm,Ws,{provide:Pl,useExisting:Ws},{provide:Fl,useFactory:()=>g(ET,{optional:!0})??g(kl)},{provide:zm,useValue:AT,multi:!0}];for(let n of e)t.push(...n.\u0275providers);return gt(t)}var _2=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(r){return new(r||e)(b(z))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var RT=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=b(OT),o},providedIn:"root"})}return e})(),OT=(()=>{class e extends RT{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case xe.NONE:return r;case xe.HTML:return it(r,"HTML")?Ce(r):fs(this._doc,String(r)).toString();case xe.STYLE:return it(r,"Style")?Ce(r):r;case xe.SCRIPT:if(it(r,"Script"))return Ce(r);throw new m(5200,!1);case xe.URL:return it(r,"URL")?Ce(r):no(String(r));case xe.RESOURCE_URL:if(it(r,"ResourceURL"))return Ce(r);throw new m(5201,!1);default:throw new m(5202,!1)}}bypassSecurityTrustHtml(n){return Eu(n)}bypassSecurityTrustStyle(n){return Iu(n)}bypassSecurityTrustScript(n){return wu(n)}bypassSecurityTrustUrl(n){return Cu(n)}bypassSecurityTrustResourceUrl(n){return bu(n)}static \u0275fac=function(r){return new(r||e)(b(z))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();export{B as a,$ as b,Jm as c,Sn as d,J as e,ny as f,x as g,ue as h,gr as i,vr as j,Xt as k,Ke as l,zo as m,by as n,Ty as o,ct as p,_y as q,My as r,Ny as s,le as t,Ey as u,ut as v,Dr as w,On as x,xy as y,wy as z,Ry as A,St as B,Oy as C,ta as D,na as E,ad as F,en as G,ra as H,ky as I,hd as J,ia as K,md as L,Ly as M,jy as N,aa as O,yd as P,cd as Q,vd as R,Ko as S,Cy as T,By as U,Dd as V,m as W,et as X,fi as Y,T as Z,un as _,Qy as $,C as aa,b as ba,g as ca,gt as da,fe as ea,Hn as fa,sf as ga,af as ha,Df as ia,Ef as ja,se as ka,z as la,Ae as ma,Ht as na,ft as oa,Q as pa,be as qa,$e as ra,_v as sa,Ai as ta,Mf as ua,hu as va,_p as wa,mu as xa,zt as ya,qi as za,as as Aa,to as Ba,uD as Ca,us as Da,Bp as Ea,xe as Fa,BD as Ga,Xp as Ha,$D as Ia,zD as Ja,sE as Ka,wt as La,lE as Ma,er as Na,wn as Oa,Is as Pa,ge as Qa,lI as Ra,ir as Sa,Cn as Ta,Zh as Ua,Yh as Va,ZI as Wa,sr as Xa,Cs as Ya,ar as Za,XI as _a,Xh as $a,tg as ab,ng as bb,rg as cb,Zu as db,co as eb,Ku as fb,dw as gb,og as hb,cr as ib,ag as jb,pw as kb,gw as lb,mw as mb,yw as nb,vw as ob,Dw as pb,Ew as qb,cg as rb,os as sb,el as tb,ug as ub,tl as vb,nl as wb,lg as xb,rl as yb,ol as zb,fg as Ab,_w as Bb,pg as Cb,gg as Db,mg as Eb,xw as Fb,Ow as Gb,kw as Hb,vg as Ib,Dg as Jb,Pw as Kb,Lw as Lb,Eg as Mb,Ig as Nb,jw as Ob,Bw as Pb,bg as Qb,Tg as Rb,Qw as Sb,aC as Tb,Rg as Ub,il as Vb,Og as Wb,kg as Xb,Fg as Yb,dC as Zb,Pg as _b,fC as $b,mC as ac,yC as bc,vC as cc,DC as dc,IC as ec,CC as fc,bC as gc,TC as hc,_C as ic,MC as jc,Ts as kc,NC as lc,xC as mc,zg as nc,Tj as oc,_j as pc,Mj as qc,Sj as rc,Nj as sc,Aj as tc,xj as uc,fl as vc,sb as wc,ab as xc,Oj as yc,kj as zc,Fj as Ac,Ct as Bc,ub as Cc,lr as Dc,cm as Ec,um as Fc,pb as Gc,kb as Hc,Fb as Ic,jb as Jc,Vb as Kc,Hb as Lc,Ub as Mc,Sm as Nc,nV as Oc,rV as Pc,Rl as Qc,iT as Rc,Wt as Sc,$s as Tc,Tt as Uc,qm as Vc,xT as Wc,_2 as Xc,RT as Yc};