marketplacepos 5.39.2 → 5.39.3

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 (167) hide show
  1. package/Marketplace/3rdpartylicenses.txt +8 -8
  2. package/Marketplace/{chunk-UJHSZRBK.js → chunk-247FG3AQ.js} +2 -2
  3. package/Marketplace/{chunk-6QM6RQ5F.js → chunk-2BBMPSAE.js} +1 -1
  4. package/Marketplace/{chunk-XYJMVPQE.js → chunk-2G6NLWKN.js} +1 -1
  5. package/Marketplace/chunk-2OEG7XBN.js +1 -0
  6. package/Marketplace/chunk-3A5R5QQM.js +1 -0
  7. package/Marketplace/chunk-4ASUM4N5.js +1 -0
  8. package/Marketplace/{chunk-MSNWTSDH.js → chunk-4G3QN54S.js} +1 -1
  9. package/Marketplace/chunk-4KAAAY37.js +1 -0
  10. package/Marketplace/{chunk-YWRRGL7S.js → chunk-4UHIPN3P.js} +2 -2
  11. package/Marketplace/{chunk-YNZOWISG.js → chunk-5MRT2EFE.js} +1 -1
  12. package/Marketplace/{chunk-UOLG267G.js → chunk-5QJ5RR7W.js} +1 -1
  13. package/Marketplace/{chunk-LWDDTE3V.js → chunk-62PFQNHJ.js} +1 -1
  14. package/Marketplace/chunk-6ALHX2I4.js +1 -0
  15. package/Marketplace/{chunk-LIQRQYKZ.js → chunk-6IAGGRZN.js} +1 -1
  16. package/Marketplace/{chunk-BZ3AJFKZ.js → chunk-6XFYITUD.js} +1 -1
  17. package/Marketplace/{chunk-4BKQVHMV.js → chunk-7477X7LJ.js} +1 -1
  18. package/Marketplace/{chunk-ZUKHXAUV.js → chunk-75BDXSG3.js} +10 -10
  19. package/Marketplace/{chunk-ACIMXBIC.js → chunk-77IUCPIQ.js} +1 -1
  20. package/Marketplace/{chunk-IE3ZBJEK.js → chunk-7FUVW73P.js} +1 -1
  21. package/Marketplace/chunk-7GQIIDFF.js +4 -0
  22. package/Marketplace/{chunk-FZDXTSZF.js → chunk-7TWBIV3T.js} +1 -1
  23. package/Marketplace/chunk-AMXLXRQK.js +1 -0
  24. package/Marketplace/{chunk-36DIM5LG.js → chunk-B2R7GSHL.js} +1 -1
  25. package/Marketplace/chunk-BGN2D3PG.js +8 -0
  26. package/Marketplace/{chunk-5SXUJ5XH.js → chunk-BIQHA7UA.js} +4 -4
  27. package/Marketplace/{chunk-XMUA7ACY.js → chunk-BUFEIJAI.js} +1 -1
  28. package/Marketplace/{chunk-4YVLPJDF.js → chunk-CH2MLZU7.js} +1 -1
  29. package/Marketplace/{chunk-3SYZKYR6.js → chunk-CLKCSTGQ.js} +1 -1
  30. package/Marketplace/{chunk-THCM5TEN.js → chunk-COBHWPGI.js} +1 -1
  31. package/Marketplace/{chunk-44EXJBCW.js → chunk-D54NUPYF.js} +1 -1
  32. package/Marketplace/chunk-DI4V7KMK.js +1 -0
  33. package/Marketplace/{chunk-5JWYKH72.js → chunk-DPLEMBB4.js} +1 -1
  34. package/Marketplace/chunk-DZ2EE5MV.js +1 -0
  35. package/Marketplace/chunk-E3HMIPER.js +2 -0
  36. package/Marketplace/chunk-E3J2KTY6.js +1 -0
  37. package/Marketplace/{chunk-K7HUCVG7.js → chunk-EGTYAIU5.js} +1 -1
  38. package/Marketplace/chunk-ESGKEE7X.js +1 -0
  39. package/Marketplace/chunk-F2HZCHWV.js +1 -0
  40. package/Marketplace/{chunk-JNXIAVS4.js → chunk-G6EG5QJS.js} +1 -1
  41. package/Marketplace/{chunk-634DNHPF.js → chunk-GBABJLPQ.js} +1 -1
  42. package/Marketplace/{chunk-DWDTKK42.js → chunk-GBXNTL4E.js} +1 -1
  43. package/Marketplace/{chunk-MFZLTVCS.js → chunk-GHQH62TZ.js} +1 -1
  44. package/Marketplace/{chunk-2SABH24F.js → chunk-GMUCTLAX.js} +1 -1
  45. package/Marketplace/chunk-GPEVUTDI.js +2 -0
  46. package/Marketplace/chunk-HIO6MIJ5.js +1 -0
  47. package/Marketplace/{chunk-RYW4LQLR.js → chunk-HKR6N5HS.js} +1 -1
  48. package/Marketplace/{chunk-IQEG7SF6.js → chunk-HKYVBAMV.js} +1 -1
  49. package/Marketplace/{chunk-MKVZZJMP.js → chunk-IEYFOHME.js} +1 -1
  50. package/Marketplace/chunk-IIJMZKPL.js +1 -0
  51. package/Marketplace/chunk-IMLK4UIO.js +1 -0
  52. package/Marketplace/{chunk-2UZPOENK.js → chunk-IYYVZ6B6.js} +1 -1
  53. package/Marketplace/{chunk-RTUTYVTE.js → chunk-J3P46Z53.js} +1 -1
  54. package/Marketplace/{chunk-6ZQHMI2W.js → chunk-J7AGLBPL.js} +1 -1
  55. package/Marketplace/{chunk-QJHGG2N2.js → chunk-JBKHY4HH.js} +1 -1
  56. package/Marketplace/chunk-JLGRTH4V.js +1 -0
  57. package/Marketplace/chunk-JTI77225.js +1 -0
  58. package/Marketplace/{chunk-UH6522CN.js → chunk-JXSMH6I7.js} +1 -1
  59. package/Marketplace/chunk-K2H6WANG.js +1 -0
  60. package/Marketplace/{chunk-WAGDS532.js → chunk-KHWTOD6H.js} +1 -1
  61. package/Marketplace/{chunk-NN3LQDDR.js → chunk-KQOYVGBL.js} +1 -1
  62. package/Marketplace/chunk-KVP6OL4J.js +2 -0
  63. package/Marketplace/{chunk-PQZGUDGJ.js → chunk-KXZCGKQW.js} +1 -1
  64. package/Marketplace/{chunk-5H2O45YV.js → chunk-LPXBSHUI.js} +1 -1
  65. package/Marketplace/{chunk-CPUDVFIN.js → chunk-M3SJUKTG.js} +1 -1
  66. package/Marketplace/chunk-M5JM7ESN.js +1 -0
  67. package/Marketplace/{chunk-OPL2QMKR.js → chunk-MATSRG2L.js} +1 -1
  68. package/Marketplace/{chunk-NB5JKHKF.js → chunk-MNFHFW3E.js} +1 -1
  69. package/Marketplace/chunk-OBEQQ7SG.js +5 -0
  70. package/Marketplace/{chunk-HCZDLZLY.js → chunk-OE2JYQHN.js} +1 -1
  71. package/Marketplace/{chunk-I44JKLRE.js → chunk-OLSC6KHB.js} +1 -1
  72. package/Marketplace/chunk-OND3VUTC.js +1 -0
  73. package/Marketplace/{chunk-GJLXEA4Q.js → chunk-PPDHTO44.js} +1 -1
  74. package/Marketplace/chunk-PRGFOMED.js +1 -0
  75. package/Marketplace/chunk-PXB4YEY3.js +1 -0
  76. package/Marketplace/{chunk-V27YSSV4.js → chunk-Q2OEJFVT.js} +1 -1
  77. package/Marketplace/{chunk-ZUFLZMHT.js → chunk-Q72ZXPDP.js} +1 -1
  78. package/Marketplace/{chunk-LLXJSB37.js → chunk-QCZIDOKW.js} +1 -1
  79. package/Marketplace/{chunk-PB4FDU3V.js → chunk-QHVE4FSO.js} +1 -1
  80. package/Marketplace/{chunk-JSN6B77E.js → chunk-QQTJ6WWI.js} +1 -1
  81. package/Marketplace/chunk-R57ID7TM.js +5 -0
  82. package/Marketplace/{chunk-NQV7LHIV.js → chunk-RGR34QZ3.js} +1 -1
  83. package/Marketplace/{chunk-PRVOIBMJ.js → chunk-RIHLYYZU.js} +1 -1
  84. package/Marketplace/{chunk-APOFECEW.js → chunk-RVYGL22E.js} +1 -1
  85. package/Marketplace/chunk-T5ONJF63.js +7 -0
  86. package/Marketplace/chunk-T6QOFDEE.js +1 -0
  87. package/Marketplace/{chunk-3S7C3CCV.js → chunk-TMFFA26Y.js} +1 -1
  88. package/Marketplace/chunk-TXDFQTPS.js +1 -0
  89. package/Marketplace/chunk-TXQ2Y7CX.js +2 -0
  90. package/Marketplace/chunk-U5F33N6P.js +1 -0
  91. package/Marketplace/{chunk-HSHDGVNA.js → chunk-UBMI3NQH.js} +1 -1
  92. package/Marketplace/chunk-UHPJJSQV.js +1 -0
  93. package/Marketplace/chunk-UKY2FX27.js +1 -0
  94. package/Marketplace/chunk-UL7IZTZY.js +1 -0
  95. package/Marketplace/chunk-UXDL6TJZ.js +1 -0
  96. package/Marketplace/{chunk-A3HRO7UA.js → chunk-V2OJQHE3.js} +1 -1
  97. package/Marketplace/{chunk-TGMCGROM.js → chunk-V5WYSCVT.js} +1 -1
  98. package/Marketplace/chunk-VETHPEVU.js +1 -0
  99. package/Marketplace/{chunk-FFM752SB.js → chunk-VGXQU74M.js} +1 -1
  100. package/Marketplace/{chunk-X2N6PWY3.js → chunk-VSEWXNVC.js} +1 -1
  101. package/Marketplace/{chunk-TLTSPO4H.js → chunk-W6I24KUL.js} +1 -1
  102. package/Marketplace/{chunk-PHCYCYXH.js → chunk-WAW37FIG.js} +1 -1
  103. package/Marketplace/chunk-X2YQZSF2.js +2 -0
  104. package/Marketplace/chunk-XM6GN4VF.js +1 -0
  105. package/Marketplace/{chunk-2IRI6JVT.js → chunk-Y4ULR7K5.js} +1 -1
  106. package/Marketplace/chunk-YIUQQGOQ.js +1 -0
  107. package/Marketplace/{chunk-KP7SEM5B.js → chunk-YR2WEZDG.js} +1 -1
  108. package/Marketplace/{chunk-ZEAT7ZWR.js → chunk-YXFTLQ5M.js} +1 -1
  109. package/Marketplace/{chunk-CXIBIPS5.js → chunk-ZD5LURJS.js} +1 -1
  110. package/Marketplace/{chunk-YOGRCIUI.js → chunk-ZZVNB72Q.js} +1 -1
  111. package/Marketplace/index.html +2 -2
  112. package/Marketplace/main-LD4CQ4J5.js +1 -0
  113. package/Marketplace/{styles-6YCMRXAM.css → styles-VTPGUJ5G.css} +1 -1
  114. package/package.json +1 -1
  115. package/Marketplace/chunk-3H6MA53M.js +0 -1
  116. package/Marketplace/chunk-3WXGD5DP.js +0 -1
  117. package/Marketplace/chunk-4NOCCDHL.js +0 -5
  118. package/Marketplace/chunk-53AJT5VM.js +0 -1
  119. package/Marketplace/chunk-56I7OOXQ.js +0 -1
  120. package/Marketplace/chunk-66YHNWRR.js +0 -1
  121. package/Marketplace/chunk-7SLPBFFW.js +0 -1
  122. package/Marketplace/chunk-AGFQ7PHZ.js +0 -5
  123. package/Marketplace/chunk-CDNNFRZK.js +0 -1
  124. package/Marketplace/chunk-COUBJIJH.js +0 -2
  125. package/Marketplace/chunk-CVSACPFR.js +0 -1
  126. package/Marketplace/chunk-DU3Y35HL.js +0 -1
  127. package/Marketplace/chunk-E2QYALEB.js +0 -1
  128. package/Marketplace/chunk-EOW4JKRF.js +0 -1
  129. package/Marketplace/chunk-EU2KAMEK.js +0 -1
  130. package/Marketplace/chunk-G27ALLTY.js +0 -1
  131. package/Marketplace/chunk-G3L7WQ4A.js +0 -1
  132. package/Marketplace/chunk-GCECFUOP.js +0 -1
  133. package/Marketplace/chunk-GJ35EMJI.js +0 -1
  134. package/Marketplace/chunk-GQH7OSVY.js +0 -1
  135. package/Marketplace/chunk-GWD5JYLQ.js +0 -1
  136. package/Marketplace/chunk-HP3XWVNT.js +0 -1
  137. package/Marketplace/chunk-IFLSHEST.js +0 -1
  138. package/Marketplace/chunk-JJVUZJ74.js +0 -1
  139. package/Marketplace/chunk-JYT2OOPZ.js +0 -1
  140. package/Marketplace/chunk-KC6OLUBI.js +0 -1
  141. package/Marketplace/chunk-KESNVJB4.js +0 -1
  142. package/Marketplace/chunk-KKZXQMQT.js +0 -1
  143. package/Marketplace/chunk-LH62Q4FX.js +0 -1
  144. package/Marketplace/chunk-LHT5E52E.js +0 -1
  145. package/Marketplace/chunk-LXSQIECO.js +0 -1
  146. package/Marketplace/chunk-MKR6QJ6R.js +0 -5
  147. package/Marketplace/chunk-NK7MW7P2.js +0 -1
  148. package/Marketplace/chunk-NKBSETRE.js +0 -8
  149. package/Marketplace/chunk-NUZJZQNI.js +0 -1
  150. package/Marketplace/chunk-PW2T7JJM.js +0 -1
  151. package/Marketplace/chunk-PW42BQIY.js +0 -1
  152. package/Marketplace/chunk-R6NI5QG7.js +0 -1
  153. package/Marketplace/chunk-RQEJ664D.js +0 -1
  154. package/Marketplace/chunk-RUSH2VVJ.js +0 -1
  155. package/Marketplace/chunk-T2QY5RTH.js +0 -1
  156. package/Marketplace/chunk-TUXYNJAG.js +0 -2
  157. package/Marketplace/chunk-U2DPEH7K.js +0 -1
  158. package/Marketplace/chunk-UODMSFAI.js +0 -1
  159. package/Marketplace/chunk-UPA7TFVG.js +0 -2
  160. package/Marketplace/chunk-VFLAHRB4.js +0 -7
  161. package/Marketplace/chunk-VXIVMTCD.js +0 -1
  162. package/Marketplace/chunk-VXTTE6TO.js +0 -1
  163. package/Marketplace/chunk-WJLXIV7I.js +0 -1
  164. package/Marketplace/chunk-WLZKVYHT.js +0 -1
  165. package/Marketplace/chunk-ZNZULA6U.js +0 -1
  166. package/Marketplace/chunk-ZYKVIUE6.js +0 -1
  167. package/Marketplace/main-7RWGLHW6.js +0 -1
@@ -1,7 +0,0 @@
1
- import{b as Ba,c as $n,d as $a,e as Ua}from"./chunk-EU2KAMEK.js";import{a as q,b as X,i as Ha}from"./chunk-66YHNWRR.js";function v(e){return typeof e=="function"}function Un(e){return e&&v(e.schedule)}function Fo(e){return e[e.length-1]}function mt(e){return v(Fo(e))?e.pop():void 0}function me(e){return Un(Fo(e))?e.pop():void 0}function qa(e,t){return typeof Fo(e)=="number"?e.pop():t}var yt=e=>e&&typeof e.length=="number"&&typeof e!="function";function qn(e){return v(e?.then)}function je(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 Wn=je(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 Je(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var L=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(v(r))try{r()}catch(i){t=i instanceof Wn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Wa(i)}catch(s){t=t??[],s instanceof Wn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Wn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Wa(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)&&Je(n,t)}remove(t){let{_finalizers:n}=this;n&&Je(n,t),t instanceof e&&t._removeParent(this)}};L.EMPTY=(()=>{let e=new L;return e.closed=!0,e})();var Vo=L.EMPTY;function zn(e){return e instanceof L||e&&"closed"in e&&v(e.remove)&&v(e.add)&&v(e.unsubscribe)}function Wa(e){v(e)?e():e.unsubscribe()}var le={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var vt={setTimeout(e,t,...n){let{delegate:r}=vt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=vt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Gn(e){vt.setTimeout(()=>{let{onUnhandledError:t}=le;if(t)t(e);else throw e})}function ue(){}var za=jo("C",void 0,void 0);function Ga(e){return jo("E",void 0,e)}function Za(e){return jo("N",e,void 0)}function jo(e,t,n){return{kind:e,value:t,error:n}}var Ke=null;function It(e){if(le.useDeprecatedSynchronousErrorHandling){let t=!Ke;if(t&&(Ke={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Ke;if(Ke=null,n)throw r}}else e()}function Qa(e){le.useDeprecatedSynchronousErrorHandling&&Ke&&(Ke.errorThrown=!0,Ke.error=e)}var Xe=class extends L{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,zn(t)&&t.add(this)):this.destination=kf}static create(t,n,r){return new Se(t,n,r)}next(t){this.isStopped?Bo(Za(t),this):this._next(t)}error(t){this.isStopped?Bo(Ga(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Bo(za,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()}}},Nf=Function.prototype.bind;function Ho(e,t){return Nf.call(e,t)}var $o=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Zn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Zn(r)}else Zn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Zn(n)}}},Se=class extends Xe{constructor(t,n,r){super();let o;if(v(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&le.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Ho(t.next,i),error:t.error&&Ho(t.error,i),complete:t.complete&&Ho(t.complete,i)}):o=t}this.destination=new $o(o)}};function Zn(e){le.useDeprecatedSynchronousErrorHandling?Qa(e):Gn(e)}function Sf(e){throw e}function Bo(e,t){let{onStoppedNotification:n}=le;n&&vt.setTimeout(()=>n(e,t))}var kf={closed:!0,next:ue,error:Sf,complete:ue};var Et=typeof Symbol=="function"&&Symbol.observable||"@@observable";function $(e){return e}function Rf(...e){return Uo(e)}function Uo(e){return e.length===0?$:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var _=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Of(n)?n:new Se(n,r,o);return It(()=>{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=Ya(r),new r((o,i)=>{let s=new Se({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)}[Et](){return this}pipe(...n){return Uo(n)(this)}toPromise(n){return n=Ya(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 Ya(e){var t;return(t=e??le.Promise)!==null&&t!==void 0?t:Promise}function Af(e){return e&&v(e.next)&&v(e.error)&&v(e.complete)}function Of(e){return e&&e instanceof Xe||Af(e)&&zn(e)}function Qn(e){return v(e[Et])}function Yn(e){return Symbol.asyncIterator&&v(e?.[Symbol.asyncIterator])}function Jn(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Pf(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Kn=Pf();function Xn(e){return v(e?.[Kn])}function er(e){return $a(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield $n(n.read());if(o)return yield $n(void 0);yield yield $n(r)}}finally{n.releaseLock()}})}function tr(e){return v(e?.getReader)}function x(e){if(e instanceof _)return e;if(e!=null){if(Qn(e))return Lf(e);if(yt(e))return Ff(e);if(qn(e))return Vf(e);if(Yn(e))return Ja(e);if(Xn(e))return jf(e);if(tr(e))return Hf(e)}throw Jn(e)}function Lf(e){return new _(t=>{let n=e[Et]();if(v(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Ff(e){return new _(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Vf(e){return new _(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Gn)})}function jf(e){return new _(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Ja(e){return new _(t=>{Bf(e,t).catch(n=>t.error(n))})}function Hf(e){return Ja(er(e))}function Bf(e,t){var n,r,o,i;return Ba(this,void 0,void 0,function*(){try{for(n=Ua(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 W(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 qo(e){return v(e?.lift)}function y(e){return t=>{if(qo(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function m(e,t,n,r,o){return new Wo(e,t,n,r,o)}var Wo=class extends Xe{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 en(e,t=0){return y((n,r)=>{n.subscribe(m(r,o=>W(r,e,()=>r.next(o),t),()=>W(r,e,()=>r.complete(),t),o=>W(r,e,()=>r.error(o),t)))})}function tn(e,t=0){return y((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ka(e,t){return x(e).pipe(tn(t),en(t))}function Xa(e,t){return x(e).pipe(tn(t),en(t))}function ec(e,t){return new _(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function tc(e,t){return new _(n=>{let r;return W(n,t,()=>{r=e[Kn](),W(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>v(r?.return)&&r.return()})}function nr(e,t){if(!e)throw new Error("Iterable cannot be null");return new _(n=>{W(n,t,()=>{let r=e[Symbol.asyncIterator]();W(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function nc(e,t){return nr(er(e),t)}function rc(e,t){if(e!=null){if(Qn(e))return Ka(e,t);if(yt(e))return ec(e,t);if(qn(e))return Xa(e,t);if(Yn(e))return nr(e,t);if(Xn(e))return tc(e,t);if(tr(e))return nc(e,t)}throw Jn(e)}function ye(e,t){return t?rc(e,t):x(e)}function $f(...e){let t=me(e);return ye(e,t)}function He(e,t){return y((n,r)=>{let o=0;n.subscribe(m(r,i=>{r.next(e.call(t,i,o++))}))})}function de(e,t){return y((n,r)=>{let o=0;n.subscribe(m(r,i=>e.call(t,i,o++)&&r.next(i)))})}function oc(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=I=>l<r?h(I):c.push(I),h=I=>{i&&t.next(I),l++;let P=!1;x(n(I,u++)).subscribe(m(t,N=>{o?.(N),i?f(N):t.next(N)},()=>{P=!0},void 0,()=>{if(P)try{for(l--;c.length&&l<r;){let N=c.shift();s?W(t,s,()=>h(N)):h(N)}p()}catch(N){t.error(N)}}))};return e.subscribe(m(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ke(e,t,n=1/0){return v(t)?ke((r,o)=>He((i,s)=>t(r,i,o,s))(x(e(r,o))),n):(typeof t=="number"&&(n=t),y((r,o)=>oc(r,o,e,n)))}function ic(e,t){return v(t)?ke(e,t,1):ke(e,1)}var sc=je(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var se=(()=>{class e extends _{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new rr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new sc}next(n){It(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){It(()=>{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(){It(()=>{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?Vo:(this.currentObservers=null,i.push(n),new L(()=>{this.currentObservers=null,Je(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new _;return n.source=this,n}}return e.create=(t,n)=>new rr(t,n),e})(),rr=class extends se{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:Vo}};var nn={now(){return(nn.delegate||Date).now()},delegate:void 0};var rn=class extends se{constructor(t=1/0,n=1/0,r=nn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};function Go(e={}){let{connector:t=()=>new se,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let I=s;f(),I?.unsubscribe()};return y((I,P)=>{l++,!d&&!u&&p();let N=c=c??t();P.add(()=>{l--,l===0&&!d&&!u&&(a=zo(h,o))}),N.subscribe(P),!s&&l>0&&(s=new Se({next:ge=>N.next(ge),error:ge=>{d=!0,p(),a=zo(f,n,ge),N.error(ge)},complete:()=>{u=!0,p(),a=zo(f,r),N.complete()}}),x(I).subscribe(s))})(i)}}function zo(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Se({next:()=>{r.unsubscribe(),e()}});return x(t(...n)).subscribe(r)}function ac(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,Go({connector:()=>new rn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function on(e,t){return y((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(m(r,c=>{o?.unsubscribe();let l=0,u=i++;x(e(c,u)).subscribe(o=m(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function cc(e,t,n){let r=v(e)||t||n?{next:e,error:t,complete:n}:e;return r?y((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(m(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):$}function Zo(){return y((e,t)=>{let n=null;e._refCount++;let r=m(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Qo=class extends _{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,qo(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new L;let n=this.getSubject();t.add(this.source.subscribe(m(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=L.EMPTY)}return t}refCount(){return Zo()(this)}};var Dt={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=Dt;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new L(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=Dt;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=Dt;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var sn=class extends se{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var or=class extends L{constructor(t,n){super()}schedule(t,n=0){return this}};var an={setInterval(e,t,...n){let{delegate:r}=an;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=an;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var ve=class extends or{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return an.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&an.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Je(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Uf=1,Yo,Jo={};function lc(e){return e in Jo?(delete Jo[e],!0):!1}var uc={setImmediate(e){let t=Uf++;return Jo[t]=!0,Yo||(Yo=Promise.resolve()),Yo.then(()=>lc(t)&&e()),t},clearImmediate(e){lc(e)}};var{setImmediate:qf,clearImmediate:Wf}=uc,cn={setImmediate(...e){let{delegate:t}=cn;return(t?.setImmediate||qf)(...e)},clearImmediate(e){let{delegate:t}=cn;return(t?.clearImmediate||Wf)(e)},delegate:void 0};var ir=class extends ve{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=cn.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(cn.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}};var wt=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)}};wt.now=nn.now;var Ie=class extends wt{constructor(t,n=wt.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 sr=class extends Ie{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var zf=new sr(ir);var Ee=new Ie(ve),Ko=Ee;var ar=class extends ve{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}schedule(t,n=0){return n>0?super.schedule(t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)}execute(t,n){return n>0||this.closed?super.execute(t,n):this._execute(t,n)}requestAsyncId(t,n,r=0){return r!=null&&r>0||r==null&&this.delay>0?super.requestAsyncId(t,n,r):(t.flush(this),0)}};var cr=class extends Ie{};var Gf=new cr(ar);var lr=class extends ve{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Dt.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&n===t._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(Dt.cancelAnimationFrame(n),t._scheduled=void 0)}};var ur=class extends Ie{flush(t){this._active=!0;let n;t?n=t.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Zf=new ur(lr);var et=new _(e=>e.complete());function Qf(e,t){let n=v(e)?e:()=>e,r=o=>o.error(n());return new _(t?o=>t.schedule(r,0,o):r)}function Yf(e){return!!e&&(e instanceof _||v(e.lift)&&v(e.subscribe))}var tt=je(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function dr(e){return e instanceof Date&&!isNaN(e)}var Jf=je(e=>function(n=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n});function Kf(e,t){let{first:n,each:r,with:o=Xf,scheduler:i=t??Ee,meta:s=null}=dr(e)?{first:e}:typeof e=="number"?{each:e}:e;if(n==null&&r==null)throw new TypeError("No timeout provided.");return y((a,c)=>{let l,u,d=null,p=0,f=h=>{u=W(c,i,()=>{try{l.unsubscribe(),x(o({meta:s,lastValue:d,seen:p})).subscribe(c)}catch(I){c.error(I)}},h)};l=a.subscribe(m(c,h=>{u?.unsubscribe(),p++,c.next(d=h),r>0&&f(r)},void 0,void 0,()=>{u?.closed||u?.unsubscribe(),d=null})),!p&&f(n!=null?typeof n=="number"?n:+n-i.now():r)})}function Xf(e){throw new Jf(e)}var{isArray:ep}=Array;function tp(e,t){return ep(t)?e(...t):e(t)}function bt(e){return He(t=>tp(e,t))}var{isArray:np}=Array,{getPrototypeOf:rp,prototype:op,keys:ip}=Object;function fr(e){if(e.length===1){let t=e[0];if(np(t))return{args:t,keys:null};if(sp(t)){let n=ip(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function sp(e){return e&&typeof e=="object"&&rp(e)===op}function pr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function ap(...e){let t=me(e),n=mt(e),{args:r,keys:o}=fr(e);if(r.length===0)return ye([],t);let i=new _(cp(r,t,o?s=>pr(o,s):$));return n?i.pipe(bt(n)):i}function cp(e,t,n=$){return r=>{dc(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)dc(t,()=>{let l=ye(e[c],t),u=!1;l.subscribe(m(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function dc(e,t,n){e?W(n,e,t):t()}function ln(e=1/0){return ke($,e)}function fc(){return ln(1)}function hr(...e){return fc()(ye(e,me(e)))}function lp(e){return new _(t=>{x(e()).subscribe(t)})}function up(...e){let t=mt(e),{args:n,keys:r}=fr(e),o=new _(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;x(n[u]).subscribe(m(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?pr(r,a):a),i.complete())}))}});return t?o.pipe(bt(t)):o}var dp=["addListener","removeListener"],fp=["addEventListener","removeEventListener"],pp=["on","off"];function Xo(e,t,n,r){if(v(n)&&(r=n,n=void 0),r)return Xo(e,t,n).pipe(bt(r));let[o,i]=mp(e)?fp.map(s=>a=>e[s](t,a,n)):hp(e)?dp.map(pc(e,t)):gp(e)?pp.map(pc(e,t)):[];if(!o&&yt(e))return ke(s=>Xo(s,t,n))(x(e));if(!o)throw new TypeError("Invalid event target");return new _(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function pc(e,t){return n=>r=>e[n](t,r)}function hp(e){return v(e.addListener)&&v(e.removeListener)}function gp(e){return v(e.on)&&v(e.off)}function mp(e){return v(e.addEventListener)&&v(e.removeEventListener)}function un(e=0,t,n=Ko){let r=-1;return t!=null&&(Un(t)?n=t:r=t),new _(o=>{let i=dr(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 yp(e=0,t=Ee){return e<0&&(e=0),un(e,e,t)}function vp(...e){let t=me(e),n=qa(e,1/0),r=e;return r.length?r.length===1?x(r[0]):ln(n)(ye(r,t)):et}function hc(e,t){return(n,r)=>!e.call(t,n,r)}function Ip(e,t,n){return[de(t,n)(x(e)),de(hc(t,n))(x(e))]}function gc(e){return y((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(m(n,l=>{r=!0,o=l,i||x(e(l)).subscribe(i=m(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Ep(e,t=Ee){return gc(()=>un(e,t))}function ei(e){return y((t,n)=>{let r=null,o=!1,i;r=t.subscribe(m(n,void 0,void 0,s=>{i=x(e(s,ei(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function mc(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(m(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Dp(e){return y((t,n)=>{let r=!1,o=null,i=null,s=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let a=o;o=null,n.next(a)}};t.subscribe(m(n,a=>{i?.unsubscribe(),r=!0,o=a,i=m(n,s,ue),x(e(a)).subscribe(i)},()=>{s(),n.complete()},void 0,()=>{o=i=null}))})}function yc(e,t=Ee){return y((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(m(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function dn(e){return y((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function ti(e){return e<=0?()=>et:y((t,n)=>{let r=0;t.subscribe(m(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function wp(){return y((e,t)=>{e.subscribe(m(t,ue))})}function bp(e,t=$){return e=e??Mp,y((n,r)=>{let o,i=!0;n.subscribe(m(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Mp(e,t){return e===t}function gr(e=Cp){return y((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Cp(){return new tt}function xp(e,t){return y((n,r)=>{let o=0;n.subscribe(m(r,i=>{e.call(t,i,o++,n)||(r.next(!1),r.complete())},()=>{r.next(!0),r.complete()}))})}function Tp(e){return y((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function _p(e,t){let n=arguments.length>=2;return r=>r.pipe(e?de((o,i)=>e(o,i,r)):$,ti(1),n?dn(t):gr(()=>new tt))}function ni(e){return e<=0?()=>et:y((t,n)=>{let r=[];t.subscribe(m(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Np(e,t){let n=arguments.length>=2;return r=>r.pipe(e?de((o,i)=>e(o,i,r)):$,ni(1),n?dn(t):gr(()=>new tt))}function Sp(){return y((e,t)=>{let n,r=!1;e.subscribe(m(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function vc(e,t){return y(mc(e,t,arguments.length>=2,!0))}function kp(e){return de((t,n)=>e<=n)}function Rp(...e){let t=me(e);return y((n,r)=>{(t?hr(e,n,t):hr(e,n)).subscribe(r)})}function Ap(e,t){return v(t)?on(()=>e,t):on(()=>e)}function Ic(e){return y((t,n)=>{x(e).subscribe(m(n,()=>n.complete(),ue)),!n.closed&&t.subscribe(n)})}function Op(e,t=!1){return y((n,r)=>{let o=0;n.subscribe(m(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function Pp(...e){let t=mt(e);return y((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)x(e[c]).subscribe(m(r,l=>{i[c]=l,!a&&!s[c]&&(s[c]=!0,(a=s.every($))&&(s=null))},ue));n.subscribe(m(r,c=>{if(a){let l=[c,...i];r.next(t?t(...l):l)}}))})}function si(e,t){return Object.is(e,t)}var H=null,mr=!1,ai=1,ee=Symbol("SIGNAL");function w(e){let t=H;return H=e,t}function ci(){return H}var Mt={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function pn(e){if(mr)throw new Error("");if(H===null)return;H.consumerOnSignalRead(e);let t=H.nextProducerIndex++;if(Dr(H),t<H.producerNode.length&&H.producerNode[t]!==e&&fn(H)){let n=H.producerNode[t];Er(n,H.producerIndexOfThis[t])}H.producerNode[t]!==e&&(H.producerNode[t]=e,H.producerIndexOfThis[t]=fn(H)?Dc(e,H,t):0),H.producerLastReadVersion[t]=e.version}function Ec(){ai++}function li(e){if(!(fn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ai)){if(!e.producerMustRecompute(e)&&!Ir(e)){ii(e);return}e.producerRecomputeValue(e),ii(e)}}function ui(e){if(e.liveConsumerNode===void 0)return;let t=mr;mr=!0;try{for(let n of e.liveConsumerNode)n.dirty||Lp(n)}finally{mr=t}}function di(){return H?.consumerAllowSignalWrites!==!1}function Lp(e){e.dirty=!0,ui(e),e.consumerMarkedDirty?.(e)}function ii(e){e.dirty=!1,e.lastCleanEpoch=ai}function hn(e){return e&&(e.nextProducerIndex=0),w(e)}function vr(e,t){if(w(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(fn(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Er(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Ir(e){Dr(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(li(n),r!==n.version))return!0}return!1}function gn(e){if(Dr(e),fn(e))for(let t=0;t<e.producerNode.length;t++)Er(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Dc(e,t,n){if(wc(e),e.liveConsumerNode.length===0&&bc(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Dc(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Er(e,t){if(wc(e),e.liveConsumerNode.length===1&&bc(e))for(let r=0;r<e.producerNode.length;r++)Er(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Dr(o),o.producerIndexOfThis[r]=t}}function fn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Dr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function wc(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function bc(e){return e.producerNode!==void 0}function wr(e,t){let n=Object.create(Fp);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(li(n),pn(n),n.value===yr)throw n.error;return n.value};return r[ee]=n,r}var ri=Symbol("UNSET"),oi=Symbol("COMPUTING"),yr=Symbol("ERRORED"),Fp=X(q({},Mt),{value:ri,dirty:!0,error:null,equal:si,kind:"computed",producerMustRecompute(e){return e.value===ri||e.value===oi},producerRecomputeValue(e){if(e.value===oi)throw new Error("Detected cycle in computations.");let t=e.value;e.value=oi;let n=hn(e),r,o=!1;try{r=e.computation(),w(null),o=t!==ri&&t!==yr&&r!==yr&&e.equal(t,r)}catch(i){r=yr,e.error=i}finally{vr(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Vp(){throw new Error}var Mc=Vp;function Cc(e){Mc(e)}function fi(e){Mc=e}var jp=null;function pi(e,t){let n=Object.create(br);n.value=e,t!==void 0&&(n.equal=t);let r=()=>(pn(n),n.value);return r[ee]=n,r}function mn(e,t){di()||Cc(e),e.equal(e.value,t)||(e.value=t,Hp(e))}function hi(e,t){di()||Cc(e),mn(e,t(e.value))}var br=X(q({},Mt),{equal:si,value:void 0,kind:"signal"});function Hp(e){e.version++,Ec(),ui(e),jp?.()}function gi(e){let t=w(null);try{return e()}finally{w(t)}}var mi;function yn(){return mi}function Re(e){let t=mi;return mi=e,t}var Mr=Symbol("NotFound");var bl="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(t,n){super(Ml(t,n)),this.code=t}};function qp(e){return`NG0${Math.abs(e)}`}function Ml(e,t){return`${qp(e)}${t?": "+t:""}`}var Cl=Symbol("InputSignalNode#UNSET"),Wp=X(q({},br),{transformFn:void 0,applyValueToInputSignal(e,t){mn(e,t)}});function xl(e,t){let n=Object.create(Wp);n.value=e,n.transformFn=t?.transform;function r(){if(pn(n),n.value===Cl){let o=null;throw new b(-950,o)}return n.value}return r[ee]=n,r}function An(e){return{toString:e}.toString()}var Cr="__parameters__";function zp(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Tl(e,t,n){return An(()=>{let r=zp(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(Cr)?c[Cr]:Object.defineProperty(c,Cr,{value:[]})[Cr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Ae=globalThis;function R(e){for(let t in e)if(e[t]===R)return t;throw Error("Could not find renamed property on target object.")}function Gp(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ne(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(ne).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 Ri(e,t){return e?t?`${e} ${t}`:e:t||""}var Zp=R({__forward_ref__:R});function _l(e){return e.__forward_ref__=_l,e.toString=function(){return ne(this())},e}function U(e){return Nl(e)?e():e}function Nl(e){return typeof e=="function"&&e.hasOwnProperty(Zp)&&e.__forward_ref__===_l}function V(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Qp(e){return{providers:e.providers||[],imports:e.imports||[]}}function go(e){return xc(e,Sl)||xc(e,kl)}function KN(e){return go(e)!==null}function xc(e,t){return e.hasOwnProperty(t)?e[t]:null}function Yp(e){let t=e&&(e[Sl]||e[kl]);return t||null}function Tc(e){return e&&(e.hasOwnProperty(_c)||e.hasOwnProperty(Jp))?e[_c]:null}var Sl=R({\u0275prov:R}),_c=R({\u0275inj:R}),kl=R({ngInjectableDef:R}),Jp=R({ngInjectorDef:R}),S=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=V({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Rl(e){return e&&!!e.\u0275providers}var Kp=R({\u0275cmp:R}),Xp=R({\u0275dir:R}),eh=R({\u0275pipe:R}),th=R({\u0275mod:R}),Lr=R({\u0275fac:R}),Dn=R({__NG_ELEMENT_ID__:R}),Nc=R({__NG_ENV_ID__:R});function it(e){return typeof e=="string"?e:e==null?"":String(e)}function nh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():it(e)}function Al(e,t){throw new b(-200,e)}function Ws(e,t){throw new b(-201,!1)}var T=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(T||{}),Ai;function Ol(){return Ai}function te(e){let t=Ai;return Ai=e,t}function Pl(e,t,n){let r=go(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&T.Optional)return null;if(t!==void 0)return t;Ws(e,"Injector")}var rh={},rt=rh,Oi="__NG_DI_FLAG__",Fr=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=n;return this.injector.get(t,r.optional?Mr:rt,r)}},Vr="ngTempTokenPath",oh="ngTokenPath",ih=/\n/gm,sh="\u0275",Sc="__source";function ah(e,t=T.Default){if(yn()===void 0)throw new b(-203,!1);if(yn()===null)return Pl(e,void 0,t);{let n=yn(),r;return n instanceof Fr?r=n.injector:r=n,r.get(e,t&T.Optional?null:void 0,t)}}function ie(e,t=T.Default){return(Ol()||ah)(U(e),t)}function C(e,t=T.Default){return ie(e,mo(t))}function mo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Pi(e){let t=[];for(let n=0;n<e.length;n++){let r=U(e[n]);if(Array.isArray(r)){if(r.length===0)throw new b(900,!1);let o,i=T.Default;for(let s=0;s<r.length;s++){let a=r[s],c=ch(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(ie(o,i))}else t.push(ie(r))}return t}function Ll(e,t){return e[Oi]=t,e.prototype[Oi]=t,e}function ch(e){return e[Oi]}function lh(e,t,n,r){let o=e[Vr];throw t[Sc]&&o.unshift(t[Sc]),e.message=uh(`
5
- `+e.message,o,n,r),e[oh]=o,e[Vr]=null,e}function uh(e,t,n,r=null){e=e&&e.charAt(0)===`
6
- `&&e.charAt(1)==sh?e.slice(2):e;let o=ne(t);if(Array.isArray(t))o=t.map(ne).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ne(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(ih,`
7
- `)}`}var Fl=Ll(Tl("Optional"),8);var Vl=Ll(Tl("SkipSelf"),4);function st(e,t){let n=e.hasOwnProperty(Lr);return n?e[Lr]:null}function dh(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 fh(e){return e.flat(Number.POSITIVE_INFINITY)}function zs(e,t){e.forEach(n=>Array.isArray(n)?zs(n,t):t(n))}function jl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function jr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ph(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function hh(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 On(e,t,n){let r=Pn(e,t);return r>=0?e[r|1]=n:(r=~r,hh(e,r,t,n)),r}function yi(e,t){let n=Pn(e,t);if(n>=0)return e[n|1]}function Pn(e,t){return gh(e,t,1)}function gh(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 we={},Y=[],Hr=new S(""),Hl=new S("",-1),Bl=new S(""),Br=class{get(t,n=rt){if(n===rt){let r=new Error(`NullInjectorError: No provider for ${ne(t)}!`);throw r.name="NullInjectorError",r}return n}};function $l(e,t){let n=e[th]||null;if(!n&&t===!0)throw new Error(`Type ${ne(e)} does not have '\u0275mod' property.`);return n}function qe(e){return e[Kp]||null}function Ul(e){return e[Xp]||null}function mh(e){return e[eh]||null}function yh(e){return{\u0275providers:e}}function vh(...e){return{\u0275providers:ql(!0,e),\u0275fromNgModule:!0}}function ql(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return zs(t,s=>{let a=s;Li(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Wl(o,i),n}function Wl(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Gs(o,i=>{t(i,r)})}}function Li(e,t,n,r){if(e=U(e),!e)return!1;let o=null,i=Tc(e),s=!i&&qe(e);if(!i&&!s){let c=e.ngModule;if(i=Tc(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Li(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{zs(i.imports,u=>{Li(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Wl(l,t)}if(!a){let l=st(o)||(()=>new o);t({provide:o,useFactory:l,deps:Y},o),t({provide:Bl,useValue:o,multi:!0},o),t({provide:Hr,useValue:()=>ie(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Gs(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Gs(e,t){for(let n of e)Rl(n)&&(n=n.\u0275providers),Array.isArray(n)?Gs(n,t):t(n)}var Ih=R({provide:String,useValue:R});function zl(e){return e!==null&&typeof e=="object"&&Ih in e}function Eh(e){return!!(e&&e.useExisting)}function Dh(e){return!!(e&&e.useFactory)}function kt(e){return typeof e=="function"}function wh(e){return!!e.useClass}var Gl=new S(""),kr={},kc={},vi;function yo(){return vi===void 0&&(vi=new Br),vi}var We=class{},bn=class extends We{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,Vi(t,s=>this.processProvider(s)),this.records.set(Hl,Ct(void 0,this)),o.has("environment")&&this.records.set(We,Ct(void 0,this));let i=this.records.get(Gl);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Bl,Y,T.Self))}retrieve(t,n){let r=n;return this.get(t,r.optional?Mr:rt,r)}destroy(){In(this),this._destroyed=!0;let t=w(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(),w(t)}}onDestroy(t){return In(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){In(this);let n=Re(this),r=te(void 0),o;try{return t()}finally{Re(n),te(r)}}get(t,n=rt,r=T.Default){if(In(this),t.hasOwnProperty(Nc))return t[Nc](this);r=mo(r);let o,i=Re(this),s=te(void 0);try{if(!(r&T.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=Th(t)&&go(t);l&&this.injectableDefInScope(l)?c=Ct(Fi(t),kr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c,r)}let a=r&T.Self?yo():this.parent;return n=r&T.Optional&&n===rt?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Vr]=a[Vr]||[]).unshift(ne(t)),i)throw a;return lh(a,t,"R3InjectorError",this.source)}else throw a}finally{te(s),Re(i)}}resolveInjectorInitializers(){let t=w(null),n=Re(this),r=te(void 0),o;try{let i=this.get(Hr,Y,T.Self);for(let s of i)s()}finally{Re(n),te(r),w(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ne(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=U(t);let n=kt(t)?t:U(t&&t.provide),r=Mh(t);if(!kt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ct(void 0,kr,!0),o.factory=()=>Pi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=w(null);try{return n.value===kc?Al(ne(t)):n.value===kr&&(n.value=kc,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&xh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{w(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=U(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 Fi(e){let t=go(e),n=t!==null?t.factory:st(e);if(n!==null)return n;if(e instanceof S)throw new b(204,!1);if(e instanceof Function)return bh(e);throw new b(204,!1)}function bh(e){if(e.length>0)throw new b(204,!1);let n=Yp(e);return n!==null?()=>n.factory(e):()=>new e}function Mh(e){if(zl(e))return Ct(void 0,e.useValue);{let t=Zl(e);return Ct(t,kr)}}function Zl(e,t,n){let r;if(kt(e)){let o=U(e);return st(o)||Fi(o)}else if(zl(e))r=()=>U(e.useValue);else if(Dh(e))r=()=>e.useFactory(...Pi(e.deps||[]));else if(Eh(e))r=(o,i)=>ie(U(e.useExisting),i!==void 0&&i&T.Optional?T.Optional:void 0);else{let o=U(e&&(e.useClass||e.provide));if(Ch(e))r=()=>new o(...Pi(e.deps));else return st(o)||Fi(o)}return r}function In(e){if(e.destroyed)throw new b(205,!1)}function Ct(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ch(e){return!!e.deps}function xh(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Th(e){return typeof e=="function"||typeof e=="object"&&e instanceof S}function Vi(e,t){for(let n of e)Array.isArray(n)?Vi(n,t):n&&Rl(n)?Vi(n.\u0275providers,t):t(n)}function Ql(e,t){let n;e instanceof bn?(In(e),n=e):n=new Fr(e);let r,o=Re(n),i=te(void 0);try{return t()}finally{Re(o),te(i)}}function Zs(){return Ol()!==void 0||yn()!=null}function Qs(e){if(!Zs())throw new b(-203,!1)}function _h(e){let t=Ae.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function Nh(e){return typeof e=="function"}var xe=0,D=1,E=2,G=3,pe=4,oe=5,Rt=6,$r=7,j=8,At=9,Oe=10,O=11,Mn=12,Rc=13,Ut=14,re=15,at=16,xt=17,Pe=18,vo=19,Yl=20,$e=21,Ii=22,ct=23,ae=24,Nt=25,F=26,Ys=1;var lt=7,Ur=8,Ot=9,z=10;function Ue(e){return Array.isArray(e)&&typeof e[Ys]=="object"}function Fe(e){return Array.isArray(e)&&e[Ys]===!0}function Js(e){return(e.flags&4)!==0}function qt(e){return e.componentOffset>-1}function Io(e){return(e.flags&1)===1}function he(e){return!!e.template}function qr(e){return(e[E]&512)!==0}function Wt(e){return(e[E]&256)===256}var ji=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Jl(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var XN=(()=>{let e=()=>Kl;return e.ngInherit=!0,e})();function Kl(e){return e.type.prototype.ngOnChanges&&(e.setInput=kh),Sh}function Sh(){let e=eu(this),t=e?.current;if(t){let n=e.previous;if(n===we)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function kh(e,t,n,r,o){let i=this.declaredInputs[r],s=eu(e)||Rh(e,{previous:we,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new ji(l&&l.currentValue,n,c===we),Jl(e,t,o,n)}var Xl="__ngSimpleChanges__";function eu(e){return e[Xl]||null}function Rh(e,t){return e[Xl]=t}var Ac=null;var A=function(e,t=null,n){Ac?.(e,t,n)},tu="svg",Ah="math";function be(e){for(;Array.isArray(e);)e=e[xe];return e}function Oh(e){for(;Array.isArray(e);){if(typeof e[Ys]=="object")return e;e=e[xe]}return null}function nu(e,t){return be(t[e])}function Te(e,t){return be(t[e.index])}function Ks(e,t){return e.data[t]}function Eo(e,t){return e[t]}function Xs(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Me(e,t){let n=t[e];return Ue(n)?n:n[xe]}function Ph(e){return(e[E]&4)===4}function ea(e){return(e[E]&128)===128}function Lh(e){return Fe(e[G])}function ze(e,t){return t==null?null:e[t]}function ru(e){e[xt]=0}function ou(e){e[E]&1024||(e[E]|=1024,ea(e)&&zt(e))}function Fh(e,t){for(;e>0;)t=t[Ut],e--;return t}function Do(e){return!!(e[E]&9216||e[ae]?.dirty)}function Hi(e){e[Oe].changeDetectionScheduler?.notify(8),e[E]&64&&(e[E]|=1024),Do(e)&&zt(e)}function zt(e){e[Oe].changeDetectionScheduler?.notify(0);let t=ut(e);for(;t!==null&&!(t[E]&8192||(t[E]|=8192,!ea(t)));)t=ut(t)}function iu(e,t){if(Wt(e))throw new b(911,!1);e[$e]===null&&(e[$e]=[]),e[$e].push(t)}function Vh(e,t){if(e[$e]===null)return;let n=e[$e].indexOf(t);n!==-1&&e[$e].splice(n,1)}function ut(e){let t=e[G];return Fe(t)?t[G]:t}function ta(e){return e[$r]??=[]}function na(e){return e.cleanup??=[]}function jh(e,t,n,r){let o=ta(t);o.push(n),e.firstCreatePass&&na(e).push(r,o.length-1)}var M={lFrame:pu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Bi=!1;function Hh(){return M.lFrame.elementDepthCount}function Bh(){M.lFrame.elementDepthCount++}function $h(){M.lFrame.elementDepthCount--}function ra(){return M.bindingsEnabled}function su(){return M.skipHydrationRootTNode!==null}function Uh(e){return M.skipHydrationRootTNode===e}function qh(){M.skipHydrationRootTNode=null}function g(){return M.lFrame.lView}function k(){return M.lFrame.tView}function eS(e){return M.lFrame.contextLView=e,e[j]}function tS(e){return M.lFrame.contextLView=null,e}function Q(){let e=au();for(;e!==null&&e.type===64;)e=e.parent;return e}function au(){return M.lFrame.currentTNode}function Wh(){let e=M.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Qe(e,t){let n=M.lFrame;n.currentTNode=e,n.isParent=t}function oa(){return M.lFrame.isParent}function ia(){M.lFrame.isParent=!1}function cu(){return M.lFrame.contextLView}function lu(){return Bi}function Wr(e){let t=Bi;return Bi=e,t}function ce(){let e=M.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function zh(){return M.lFrame.bindingIndex}function Gh(e){return M.lFrame.bindingIndex=e}function Ye(){return M.lFrame.bindingIndex++}function sa(e){let t=M.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Zh(){return M.lFrame.inI18n}function Qh(e,t){let n=M.lFrame;n.bindingIndex=n.bindingRootIndex=e,$i(t)}function Yh(){return M.lFrame.currentDirectiveIndex}function $i(e){M.lFrame.currentDirectiveIndex=e}function uu(e){let t=M.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function aa(){return M.lFrame.currentQueryIndex}function wo(e){M.lFrame.currentQueryIndex=e}function Jh(e){let t=e[D];return t.type===2?t.declTNode:t.type===1?e[oe]:null}function du(e,t,n){if(n&T.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&T.Host);)if(o=Jh(i),o===null||(i=i[Ut],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=M.lFrame=fu();return r.currentTNode=t,r.lView=e,!0}function ca(e){let t=fu(),n=e[D];M.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function fu(){let e=M.lFrame,t=e===null?null:e.child;return t===null?pu(e):t}function pu(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 hu(){let e=M.lFrame;return M.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var gu=hu;function la(){let e=hu();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 Kh(e){return(M.lFrame.contextLView=Fh(e,M.lFrame.contextLView))[j]}function _e(){return M.lFrame.selectedIndex}function dt(e){M.lFrame.selectedIndex=e}function gt(){let e=M.lFrame;return Ks(e.tView,e.selectedIndex)}function nS(){M.lFrame.currentNamespace=tu}function rS(){Xh()}function Xh(){M.lFrame.currentNamespace=null}function eg(){return M.lFrame.currentNamespace}var mu=!0;function bo(){return mu}function Mo(e){mu=e}function tg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Kl(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 ua(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function Rr(e,t,n){yu(e,t,3,n)}function Ar(e,t,n,r){(e[E]&3)===n&&yu(e,t,n,r)}function Ei(e,t){let n=e[E];(n&3)===t&&(n&=16383,n+=1,e[E]=n)}function yu(e,t,n,r){let o=r!==void 0?e[xt]&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[xt]+=65536),(a<i||i==-1)&&(ng(e,n,t,c),e[xt]=(e[xt]&4294901760)+c+2),c++}function Oc(e,t){A(4,e,t);let n=w(null);try{t.call(e)}finally{w(n),A(5,e,t)}}function ng(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[E]>>14<e[xt]>>16&&(e[E]&3)===t&&(e[E]+=16384,Oc(a,i)):Oc(a,i)}var St=-1,ft=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function rg(e){return(e.flags&8)!==0}function og(e){return(e.flags&16)!==0}function ig(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];sg(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function vu(e){return e===3||e===4||e===6}function sg(e){return e.charCodeAt(0)===64}function Pt(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Pc(e,n,o,null,t[++r]):Pc(e,n,o,null,null))}}return e}function Pc(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function Iu(e){return e!==St}function zr(e){return e&32767}function ag(e){return e>>16}function Gr(e,t){let n=ag(e),r=t;for(;n>0;)r=r[Ut],n--;return r}var Ui=!0;function Zr(e){let t=Ui;return Ui=e,t}var cg=256,Eu=cg-1,Du=5,lg=0,De={};function ug(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Dn)&&(r=n[Dn]),r==null&&(r=n[Dn]=lg++);let o=r&Eu,i=1<<o;t.data[e+(o>>Du)]|=i}function Qr(e,t){let n=wu(e,t);if(n!==-1)return n;let r=t[D];r.firstCreatePass&&(e.injectorIndex=t.length,Di(r.data,e),Di(t,null),Di(r.blueprint,null));let o=da(e,t),i=e.injectorIndex;if(Iu(o)){let s=zr(o),a=Gr(o,t),c=a[D].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Di(e,t){e.push(0,0,0,0,0,0,0,0,t)}function wu(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function da(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=Tu(o),r===null)return St;if(n++,o=o[Ut],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return St}function qi(e,t,n){ug(e,t,n)}function dg(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(vu(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 bu(e,t,n){if(n&T.Optional||e!==void 0)return e;Ws(t,"NodeInjector")}function Mu(e,t,n,r){if(n&T.Optional&&r===void 0&&(r=null),(n&(T.Self|T.Host))===0){let o=e[At],i=te(void 0);try{return o?o.get(t,r,n&T.Optional):Pl(t,r,n&T.Optional)}finally{te(i)}}return bu(r,t,n)}function Cu(e,t,n,r=T.Default,o){if(e!==null){if(t[E]&2048&&!(r&T.Self)){let s=gg(e,t,n,r,De);if(s!==De)return s}let i=xu(e,t,n,r,De);if(i!==De)return i}return Mu(t,n,r,o)}function xu(e,t,n,r,o){let i=pg(n);if(typeof i=="function"){if(!du(t,e,r))return r&T.Host?bu(o,n,r):Mu(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&T.Optional))Ws(n);else return s}finally{gu()}}else if(typeof i=="number"){let s=null,a=wu(e,t),c=St,l=r&T.Host?t[re][oe]:null;for((a===-1||r&T.SkipSelf)&&(c=a===-1?da(e,t):t[a+8],c===St||!Fc(r,!1)?a=-1:(s=t[D],a=zr(c),t=Gr(c,t)));a!==-1;){let u=t[D];if(Lc(i,a,u.data)){let d=fg(a,t,n,s,r,l);if(d!==De)return d}c=t[a+8],c!==St&&Fc(r,t[D].data[a+8]===l)&&Lc(i,a,t)?(s=u,a=zr(c),t=Gr(c,t)):a=-1}}return o}function fg(e,t,n,r,o,i){let s=t[D],a=s.data[e+8],c=r==null?qt(a)&&Ui:r!=s&&(a.type&3)!==0,l=o&T.Host&&i===a,u=Or(a,s,n,c,l);return u!==null?Cn(t,s,u,a,o):De}function Or(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&he(f)&&f.type===n)return c}return null}function Cn(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof ft){let a=i;a.resolving&&Al(nh(s[n]));let c=Zr(a.canSeeViewProviders);a.resolving=!0;let l,u=a.injectImpl?te(a.injectImpl):null,d=du(e,r,T.Default);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&tg(n,s[n],t)}finally{u!==null&&te(u),Zr(c),a.resolving=!1,gu()}}return i}function pg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Dn)?e[Dn]:void 0;return typeof t=="number"?t>=0?t&Eu:hg:t}function Lc(e,t,n){let r=1<<e;return!!(n[t+(e>>Du)]&r)}function Fc(e,t){return!(e&T.Self)&&!(e&T.Host&&t)}var ot=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Cu(this._tNode,this._lView,t,mo(r),n)}};function hg(){return new ot(Q(),g())}function oS(e){return An(()=>{let t=e.prototype.constructor,n=t[Lr]||Wi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Lr]||Wi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Wi(e){return Nl(e)?()=>{let t=Wi(U(e));return t&&t()}:st(e)}function gg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[E]&2048&&!qr(s);){let a=xu(i,s,n,r|T.Self,De);if(a!==De)return a;let c=i.parent;if(!c){let l=s[Yl];if(l){let u=l.get(n,De,r);if(u!==De)return u}c=Tu(s),s=s[Ut]}i=c}return o}function Tu(e){let t=e[D],n=t.type;return n===2?t.declTNode:n===1?e[oe]:null}function mg(e){return dg(Q(),e)}function Vc(e,t=null,n=null,r){let o=_u(e,t,n,r);return o.resolveInjectorInitializers(),o}function _u(e,t=null,n=null,r,o=new Set){let i=[n||Y,vh(e)];return r=r||(typeof e=="object"?void 0:ne(e)),new bn(i,t||yo(),r||null,o)}var Ce=class e{static THROW_IF_NOT_FOUND=rt;static NULL=new Br;static create(t,n){if(Array.isArray(t))return Vc({name:""},n,t,"");{let r=t.name??"";return Vc({name:r},t.parent,t.providers,r)}}static \u0275prov=V({token:e,providedIn:"any",factory:()=>ie(Hl)});static __NG_ELEMENT_ID__=-1};var jc=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>mg(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},yg=new S("");yg.__NG_ELEMENT_ID__=e=>{let t=Q();if(t===null)throw new b(204,!1);if(t.type&2)return t.value;if(e&T.Optional)return null;throw new b(204,!1)};var Nu=!1,Gt=(()=>{class e{static __NG_ELEMENT_ID__=vg;static __NG_ENV_ID__=n=>n}return e})(),Yr=class extends Gt{_lView;constructor(t){super(),this._lView=t}onDestroy(t){let n=this._lView;return Wt(n)?(t(),()=>{}):(iu(n,t),()=>Vh(n,t))}};function vg(){return new Yr(g())}var Ge=class{},Su=new S("",{providedIn:"root",factory:()=>!1});var ku=new S(""),Ru=new S(""),Ln=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new sn(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=V({token:e,providedIn:"root",factory:()=>new e})}return e})(),iS=(()=>{class e{internalPendingTasks=C(Ln);scheduler=C(Ge);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){return Ha(this,null,function*(){let r=this.add();try{return yield n()}finally{r()}})}static \u0275prov=V({token:e,providedIn:"root",factory:()=>new e})}return e})(),zi=class extends se{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Zs()&&(this.destroyRef=C(Gt,{optional:!0})??void 0,this.pendingTasks=C(Ln,{optional:!0})??void 0)}emit(t){let n=w(null);try{super.next(t)}finally{w(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof L&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Be=zi;function xn(...e){}function Au(e){let t,n;function r(){e=xn;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Hc(e){return queueMicrotask(()=>e()),()=>{e=xn}}var fa="isAngularZone",Jr=fa+"_ID",Ig=0,J=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Be(!1);onMicrotaskEmpty=new Be(!1);onStable=new Be(!1);onError=new Be(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Nu}=t;if(typeof Zone>"u")throw new b(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,wg(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(fa)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new b(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Eg,xn,xn);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)}},Eg={};function pa(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 Dg(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Au(()=>{e.callbackScheduled=!1,Gi(e),e.isCheckStableRunning=!0,pa(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Gi(e)}function wg(e){let t=()=>{Dg(e)},n=Ig++;e._inner=e._inner.fork({name:"angular",properties:{[fa]:!0,[Jr]:n,[Jr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(bg(c))return r.invokeTask(i,s,a,c);try{return Bc(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),$c(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Bc(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Mg(c)&&t(),$c(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Gi(e),pa(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 Gi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Bc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function $c(e){e._nesting--,pa(e)}var Kr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Be;onMicrotaskEmpty=new Be;onStable=new Be;onError=new Be;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function bg(e){return Ou(e,"__ignore_ng_zone__")}function Mg(e){return Ou(e,"__scheduler_tick__")}function Ou(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}function Cg(e="zone.js",t){return e==="noop"?new Kr:e==="zone.js"?new J(t):e}var Ze=class{_console=console;handleError(t){this._console.error("ERROR",t)}},xg=new S("",{providedIn:"root",factory:()=>{let e=C(J),t=C(Ze);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),Zi=class{destroyed=!1;listeners=null;errorHandler=C(Ze,{optional:!0});destroyRef=C(Gt);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new b(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(Ml(953,!1));return}if(this.listeners===null)return;let n=w(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{w(n)}}};function sS(e){return new Zi}function Uc(e,t){return xl(e,t)}function Tg(e){return xl(Cl,e)}var aS=(Uc.required=Tg,Uc);function _g(){return Zt(Q(),g())}function Zt(e,t){return new Co(Te(e,t))}var Co=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=_g}return e})();function Pu(e){return e instanceof Co?e.nativeElement:e}function Ng(e){return typeof e=="function"&&e[ee]!==void 0}function Sg(e,t){let n=pi(e,t?.equal),r=n[ee];return n.set=o=>mn(r,o),n.update=o=>hi(r,o),n.asReadonly=kg.bind(n),n}function kg(){let e=this[ee];if(e.readonlyFn===void 0){let t=()=>this();t[ee]=e,e.readonlyFn=t}return e.readonlyFn}function Lu(e){return Ng(e)&&typeof e.set=="function"}function Rg(){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 se}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=fh(t);(this._changesDetected=!dh(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]=Rg};function Fu(e){return(e.flags&128)===128}var Vu=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Vu||{}),ju=new Map,Ag=0;function Og(){return Ag++}function Pg(e){ju.set(e[vo],e)}function Yi(e){ju.delete(e[vo])}var qc="__ngContext__";function Qt(e,t){Ue(t)?(e[qc]=t[vo],Pg(t)):e[qc]=t}function Hu(e){return $u(e[Mn])}function Bu(e){return $u(e[pe])}function $u(e){for(;e!==null&&!Fe(e);)e=e[pe];return e}var Ji;function cS(e){Ji=e}function Uu(){if(Ji!==void 0)return Ji;if(typeof document<"u")return document;throw new b(210,!1)}var lS=new S("",{providedIn:"root",factory:()=>Lg}),Lg="ng",Fg=new S(""),uS=new S("",{providedIn:"platform",factory:()=>"unknown"});var dS=new S(""),fS=new S("",{providedIn:"root",factory:()=>Uu().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Vg={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},pS=new S("",{providedIn:"root",factory:()=>Vg});var jg="h",Hg="b";var qu=!1,Bg=new S("",{providedIn:"root",factory:()=>qu});var ha=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(ha||{}),xo=new S(""),Wc=new Set;function Yt(e){Wc.has(e)||(Wc.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var ga=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=$g}return e})();function $g(){return new ga(g(),Q())}var Tt=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Tt||{}),Wu=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=V({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ug=[Tt.EarlyRead,Tt.Write,Tt.MixedReadWrite,Tt.Read],qg=(()=>{class e{ngZone=C(J);scheduler=C(Ge);errorHandler=C(Ze,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){C(xo,{optional:!0})}execute(){let n=this.sequences.size>0;n&&A(16),this.executing=!0;for(let r of Ug)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&&A(17)}register(n){let{view:r}=n;r!==void 0?((r[Nt]??=[]).push(n),zt(r),r[E]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(ha.AFTER_NEXT_RENDER,n):n()}static \u0275prov=V({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ki=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?.[Nt];t&&(this.view[Nt]=t.filter(n=>n!==this))}};function Wg(e,t){!t?.injector&&Qs(Wg);let n=t?.injector??C(Ce);return Yt("NgAfterRender"),zu(e,n,t,!1)}function zg(e,t){!t?.injector&&Qs(zg);let n=t?.injector??C(Ce);return Yt("NgAfterNextRender"),zu(e,n,t,!0)}function Gg(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function zu(e,t,n,r){let o=t.get(Wu);o.impl??=t.get(qg);let i=t.get(xo,null,{optional:!0}),s=n?.phase??Tt.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(Gt):null,c=t.get(ga,null,{optional:!0}),l=new Ki(o.impl,Gg(e,s),c?.view,r,a,i?.snapshot(null));return o.impl.register(l),l}var Zg=(e,t,n,r)=>{};function Qg(e,t,n,r){Zg(e,t,n,r)}var Yg=()=>null;function Gu(e,t,n=!1){return Yg(e,t,n)}function Zu(e,t){let n=e.contentQueries;if(n!==null){let r=w(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];wo(i),a.contentQueries(2,t[s],s)}}}finally{w(r)}}}function Xi(e,t,n){wo(0);let r=w(null);try{t(e,n)}finally{w(r)}}function ma(e,t,n){if(Js(t)){let r=w(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{w(r)}}}var Tn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Tn||{}),xr;function Jg(){if(xr===void 0&&(xr=null,Ae.trustedTypes))try{xr=Ae.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return xr}function To(e){return Jg()?.createHTML(e)||e}var Tr;function Qu(){if(Tr===void 0&&(Tr=null,Ae.trustedTypes))try{Tr=Ae.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Tr}function zc(e){return Qu()?.createHTML(e)||e}function Gc(e){return Qu()?.createScriptURL(e)||e}var Le=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${bl})`}},es=class extends Le{getTypeName(){return"HTML"}},ts=class extends Le{getTypeName(){return"Style"}},ns=class extends Le{getTypeName(){return"Script"}},rs=class extends Le{getTypeName(){return"URL"}},os=class extends Le{getTypeName(){return"ResourceURL"}};function Jt(e){return e instanceof Le?e.changingThisBreaksApplicationSecurity:e}function ya(e,t){let n=Kg(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${bl})`)}return n===t}function Kg(e){return e instanceof Le&&e.getTypeName()||null}function hS(e){return new es(e)}function gS(e){return new ts(e)}function mS(e){return new ns(e)}function yS(e){return new rs(e)}function vS(e){return new os(e)}function Xg(e){let t=new ss(e);return em()?new is(t):t}var is=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(To(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},ss=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=To(t),n}};function em(){try{return!!new window.DOMParser().parseFromString(To(""),"text/html")}catch{return!1}}var tm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Yu(e){return e=String(e),e.match(tm)?e:"unsafe:"+e}function Ve(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Fn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Ju=Ve("area,br,col,hr,img,wbr"),Ku=Ve("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Xu=Ve("rp,rt"),nm=Fn(Xu,Ku),rm=Fn(Ku,Ve("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")),om=Fn(Xu,Ve("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")),Zc=Fn(Ju,rm,om,nm),ed=Ve("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),im=Ve("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"),sm=Ve("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"),am=Fn(ed,im,sm),cm=Ve("script,style,template"),as=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=dm(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=um(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Qc(t).toLowerCase();if(!Zc.hasOwnProperty(n))return this.sanitizedSomething=!0,!cm.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(!am.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;ed[a]&&(c=Yu(c)),this.buf.push(" ",s,'="',Yc(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Qc(t).toLowerCase();Zc.hasOwnProperty(n)&&!Ju.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Yc(t))}};function lm(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function um(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw td(t);return t}function dm(e){let t=e.firstChild;if(t&&lm(e,t))throw td(t);return t}function Qc(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function td(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var fm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,pm=/([^\#-~ |!])/g;function Yc(e){return e.replace(/&/g,"&amp;").replace(fm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(pm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var _r;function hm(e,t){let n=null;try{_r=_r||Xg(e);let r=t?String(t):"";n=_r.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=_r.getInertBodyElement(r)}while(r!==i);let a=new as().sanitizeChildren(Jc(n)||n);return To(a)}finally{if(n){let r=Jc(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Jc(e){return"content"in e&&gm(e)?e.content:null}function gm(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var _o=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}(_o||{});function IS(e){let t=va();return t?zc(t.sanitize(_o.HTML,e)||""):ya(e,"HTML")?zc(Jt(e)):hm(Uu(),it(e))}function mm(e){let t=va();return t?t.sanitize(_o.URL,e)||"":ya(e,"URL")?Jt(e):Yu(it(e))}function ym(e){let t=va();if(t)return Gc(t.sanitize(_o.RESOURCE_URL,e)||"");if(ya(e,"ResourceURL"))return Gc(Jt(e));throw new b(904,!1)}function vm(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?ym:mm}function ES(e,t,n){return vm(t,n)(e)}function va(){let e=g();return e&&e[Oe].sanitizer}var Im=/^>|^->|<!--|-->|--!>|<!-$/g,Em=/(<|>)/g,Dm="\u200B$1\u200B";function wm(e){return e.replace(Im,t=>t.replace(Em,Dm))}function nd(e){return e instanceof Function?e():e}function bm(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 rd="ng-template";function Mm(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&bm(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Ia(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 Ia(e){return e.type===4&&e.value!==rd}function Cm(e,t,n){let r=e.type===4&&!n?rd:e.value;return t===r}function xm(e,t,n){let r=4,o=e.attrs,i=o!==null?Nm(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!fe(r)&&!fe(c))return!1;if(s&&fe(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Cm(e,c,n)||c===""&&t.length===1){if(fe(r))return!1;s=!0}}else if(r&8){if(o===null||!Mm(e,o,c,n)){if(fe(r))return!1;s=!0}}else{let l=t[++a],u=Tm(c,o,Ia(e),n);if(u===-1){if(fe(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(fe(r))return!1;s=!0}}}}return fe(r)||s}function fe(e){return(e&1)===0}function Tm(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 Sm(t,e)}function od(e,t,n=!1){for(let r=0;r<t.length;r++)if(xm(e,t[r],n))return!0;return!1}function _m(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Nm(e){for(let t=0;t<e.length;t++){let n=e[t];if(vu(n))return t}return e.length}function Sm(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 km(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 Kc(e,t){return e?":not("+t.trim()+")":t}function Rm(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!fe(s)&&(t+=Kc(i,o),o=""),r=s,i=i||!fe(r);n++}return o!==""&&(t+=Kc(i,o)),t}function Am(e){return e.map(Rm).join(",")}function Om(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!fe(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var K={};function Pm(e,t){return e.createText(t)}function Lm(e,t,n){e.setValue(t,n)}function Fm(e,t){return e.createComment(wm(t))}function id(e,t,n){return e.createElement(t,n)}function Xr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function sd(e,t,n){e.appendChild(t,n)}function Xc(e,t,n,r,o){r!==null?Xr(e,t,n,r,o):sd(e,t,n)}function Vm(e,t,n){e.removeChild(null,t,n)}function jm(e,t,n){e.setAttribute(t,"style",n)}function Hm(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function ad(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&ig(e,t,r),o!==null&&Hm(e,t,o),i!==null&&jm(e,t,i)}function Ea(e,t,n,r,o,i,s,a,c,l,u){let d=F+r,p=d+o,f=Bm(d,p),h=typeof l=="function"?l():l;return f[D]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function Bm(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:K);return n}function $m(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Ea(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Da(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[xe]=o,d[E]=r|4|128|8|64|1024,(l!==null||e&&e[E]&2048)&&(d[E]|=2048),ru(d),d[G]=d[Ut]=e,d[j]=n,d[Oe]=s||e&&e[Oe],d[O]=a||e&&e[O],d[At]=c||e&&e[At]||null,d[oe]=i,d[vo]=Og(),d[Rt]=u,d[Yl]=l,d[re]=t.type==2?e[re]:d,d}function Um(e,t,n){let r=Te(t,e),o=$m(n),i=e[Oe].rendererFactory,s=wa(e,Da(e,o,null,cd(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function cd(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function ld(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 wa(e,t){return e[Mn]?e[Rc][pe]=t:e[Mn]=t,e[Rc]=t,t}function DS(e=1){ud(k(),g(),_e()+e,!1)}function ud(e,t,n,r){if(!r)if((t[E]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Rr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Ar(t,i,0,n)}dt(n)}var No=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(No||{});function cs(e,t,n,r){let o=w(null);try{let[i,s,a]=e.inputs[n],c=null;(s&No.SignalBased)!==0&&(c=t[i][ee]),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):Jl(t,c,i,r)}finally{w(o)}}function dd(e,t,n,r,o){let i=_e(),s=r&2;try{dt(-1),s&&t.length>F&&ud(e,t,F,!1),A(s?2:0,o),n(r,o)}finally{dt(i),A(s?3:1,o)}}function So(e,t,n){Qm(e,t,n),(n.flags&64)===64&&Ym(e,t,n)}function ba(e,t,n=Te){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 qm(e,t,n,r){let i=r.get(Bg,qu)||n===Tn.ShadowDom,s=e.selectRootElement(t,i);return Wm(s),s}function Wm(e){zm(e)}var zm=()=>null;function Gm(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Kt(e,t,n,r,o,i,s,a){if(!a&&Ca(t,e,n,r,o)){qt(t)&&Zm(n,t.index);return}if(t.type&3){let c=Te(t,n);r=Gm(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)}else t.type&12}function Zm(e,t){let n=Me(t,e);n[E]&16||(n[E]|=64)}function Qm(e,t,n){let r=n.directiveStart,o=n.directiveEnd;qt(n)&&Um(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Qr(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Cn(t,e,s,n);if(Qt(c,t),i!==null&&ey(t,s-r,c,a,n,i),he(a)){let l=Me(n.index,t);l[j]=Cn(t,e,s,n)}}}function Ym(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Yh();try{dt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];$i(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Jm(c,l)}}finally{dt(-1),$i(s)}}function Jm(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Ma(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];od(t,i.selectors,!1)&&(r??=[],he(i)?r.unshift(i):r.push(i))}return r}function Km(e,t,n,r,o,i){let s=Te(e,t);Xm(t[O],s,i,e.value,n,r,o)}function Xm(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?it(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function ey(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];cs(r,n,c,l)}}function ty(e,t,n){return(e===null||he(e))&&(n=Oh(n[t.index])),n[O]}function ny(e,t){let n=e[At],r=n?n.get(Ze,null):null;r&&r.handleError(t)}function Ca(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];cs(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];cs(u,l,r,o),a=!0}return a}function ry(e,t){let n=Me(t,e),r=n[D];oy(r,n);let o=n[xe];o!==null&&n[Rt]===null&&(n[Rt]=Gu(o,n[At])),A(18),xa(r,n,n[j]),A(19,n[j])}function oy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function xa(e,t,n){ca(t);try{let r=e.viewQuery;r!==null&&Xi(1,r,n);let o=e.template;o!==null&&dd(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Pe]?.finishViewCreation(e),e.staticContentQueries&&Zu(e,t),e.staticViewQueries&&Xi(2,e.viewQuery,n);let i=e.components;i!==null&&iy(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[E]&=-5,la()}}function iy(e,t){for(let n=0;n<t.length;n++)ry(e,t[n])}function Vn(e,t,n,r){let o=w(null);try{let i=t.tView,a=e[E]&4096?4096:16,c=Da(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[at]=l;let u=e[Pe];return u!==null&&(c[Pe]=u.createEmbeddedView(i)),xa(i,c,n),c}finally{w(o)}}function Lt(e,t){return!t||t.firstChild===null||Fu(e)}var sy;function Ta(e,t){return sy(e,t)}var ls=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(ls||{});function _a(e){return(e.flags&32)===32}function _t(e,t,n,r,o){if(r!=null){let i,s=!1;Fe(r)?i=r:Ue(r)&&(s=!0,r=r[xe]);let a=be(r);e===0&&n!==null?o==null?sd(t,n,a):Xr(t,n,a,o||null,!0):e===1&&n!==null?Xr(t,n,a,o||null,!0):e===2?Vm(t,a,s):e===3&&t.destroyNode(a),i!=null&&my(t,e,i,n,o)}}function ay(e,t){fd(e,t),t[xe]=null,t[oe]=null}function cy(e,t,n,r,o,i){r[xe]=o,r[oe]=t,Ao(e,r,n,1,o,i)}function fd(e,t){t[Oe].changeDetectionScheduler?.notify(9),Ao(e,t,t[O],2,null,null)}function ly(e){let t=e[Mn];if(!t)return wi(e[D],e);for(;t;){let n=null;if(Ue(t))n=t[Mn];else{let r=t[z];r&&(n=r)}if(!n){for(;t&&!t[pe]&&t!==e;)Ue(t)&&wi(t[D],t),t=t[G];t===null&&(t=e),Ue(t)&&wi(t[D],t),n=t&&t[pe]}t=n}}function Na(e,t){let n=e[Ot],r=n.indexOf(t);n.splice(r,1)}function ko(e,t){if(Wt(t))return;let n=t[O];n.destroyNode&&Ao(e,t,n,3,null,null),ly(t)}function wi(e,t){if(Wt(t))return;let n=w(null);try{t[E]&=-129,t[E]|=256,t[ae]&&gn(t[ae]),dy(e,t),uy(e,t),t[D].type===1&&t[O].destroy();let r=t[at];if(r!==null&&Fe(t[G])){r!==t[G]&&Na(r,t);let o=t[Pe];o!==null&&o.detachView(e)}Yi(t)}finally{w(n)}}function uy(e,t){let n=e.cleanup,r=t[$r];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[$r]=null);let o=t[$e];if(o!==null){t[$e]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[ct];if(i!==null){t[ct]=null;for(let s of i)s.destroy()}}function dy(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 ft)){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];A(4,a,c);try{c.call(a)}finally{A(5,a,c)}}else{A(4,o,i);try{i.call(o)}finally{A(5,o,i)}}}}}function pd(e,t,n){return fy(e,t.parent,n)}function fy(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[xe];if(qt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Tn.None||o===Tn.Emulated)return null}return Te(r,n)}function hd(e,t,n){return hy(e,t,n)}function py(e,t,n){return e.type&40?Te(e,n):null}var hy=py,el;function Ro(e,t,n,r){let o=pd(e,r,t),i=t[O],s=r.parent||t[oe],a=hd(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Xc(i,o,n[c],a,!1);else Xc(i,o,n,a,!1);el!==void 0&&el(i,r,t,n,o)}function En(e,t){if(t!==null){let n=t.type;if(n&3)return Te(t,e);if(n&4)return us(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return En(e,r);{let o=e[t.index];return Fe(o)?us(-1,o):be(o)}}else{if(n&128)return En(e,t.next);if(n&32)return Ta(t,e)()||be(e[t.index]);{let r=gd(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=ut(e[re]);return En(o,r)}else return En(e,t.next)}}}return null}function gd(e,t){if(t!==null){let r=e[re][oe],o=t.projection;return r.projection[o]}return null}function us(e,t){let n=z+e+1;if(n<t.length){let r=t[n],o=r[D].firstChild;if(o!==null)return En(r,o)}return t[lt]}function Sa(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&Qt(be(a),r),n.flags|=2),!_a(n))if(c&8)Sa(e,t,n.child,r,o,i,!1),_t(t,e,o,a,i);else if(c&32){let l=Ta(n,r),u;for(;u=l();)_t(t,e,o,u,i);_t(t,e,o,a,i)}else c&16?md(e,t,r,n,o,i):_t(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Ao(e,t,n,r,o,i){Sa(n,r,e.firstChild,t,o,i,!1)}function gy(e,t,n){let r=t[O],o=pd(e,n,t),i=n.parent||t[oe],s=hd(i,n,t);md(r,0,t,n,o,s)}function md(e,t,n,r,o,i){let s=n[re],c=s[oe].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];_t(t,e,o,u,i)}else{let l=c,u=s[G];Fu(r)&&(l.flags|=128),Sa(e,t,l,u,o,i,!0)}}function my(e,t,n,r,o){let i=n[lt],s=be(n);i!==s&&_t(t,e,r,i,o);for(let a=z;a<n.length;a++){let c=n[a];Ao(c[D],c,e,t,r,i)}}function yy(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:ls.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ls.Important),e.setStyle(n,r,o,i))}}function eo(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(be(i)),Fe(i)&&vy(i,r);let s=n.type;if(s&8)eo(e,t,n.child,r);else if(s&32){let a=Ta(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=gd(t,n);if(Array.isArray(a))r.push(...a);else{let c=ut(t[re]);eo(c[D],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function vy(e,t){for(let n=z;n<e.length;n++){let r=e[n],o=r[D].firstChild;o!==null&&eo(r[D],r,o,t)}e[lt]!==e[xe]&&t.push(e[lt])}function yd(e){if(e[Nt]!==null){for(let t of e[Nt])t.impl.addSequence(t);e[Nt].length=0}}var vd=[];function Iy(e){return e[ae]??Ey(e)}function Ey(e){let t=vd.pop()??Object.create(wy);return t.lView=e,t}function Dy(e){e.lView[ae]!==e&&(e.lView=null,vd.push(e))}var wy=X(q({},Mt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{zt(e.lView)},consumerOnSignalRead(){this.lView[ae]=this}});function by(e){let t=e[ae]??Object.create(My);return t.lView=e,t}var My=X(q({},Mt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=ut(e.lView);for(;t&&!Id(t[D]);)t=ut(t);t&&ou(t)},consumerOnSignalRead(){this.lView[ae]=this}});function Id(e){return e.type!==2}function Ed(e){if(e[ct]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[ct])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[E]&8192)}}var Cy=100;function Dd(e,t=!0,n=0){let o=e[Oe].rendererFactory,i=!1;i||o.begin?.();try{xy(e,n)}catch(s){throw t&&ny(e,s),s}finally{i||o.end?.()}}function xy(e,t){let n=lu();try{Wr(!0),ds(e,t);let r=0;for(;Do(e);){if(r===Cy)throw new b(103,!1);r++,ds(e,1)}}finally{Wr(n)}}function Ty(e,t,n,r){if(Wt(t))return;let o=t[E],i=!1,s=!1;ca(t);let a=!0,c=null,l=null;i||(Id(e)?(l=Iy(t),c=hn(l)):ci()===null?(a=!1,l=by(t),c=hn(l)):t[ae]&&(gn(t[ae]),t[ae]=null));try{ru(t),Gh(e.bindingStartIndex),n!==null&&dd(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Rr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Ar(t,f,0,null),Ei(t,0)}if(s||_y(t),Ed(t),wd(t,0),e.contentQueries!==null&&Zu(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Rr(t,f)}else{let f=e.contentHooks;f!==null&&Ar(t,f,1),Ei(t,1)}Sy(e,t);let d=e.components;d!==null&&Md(t,d,0);let p=e.viewQuery;if(p!==null&&Xi(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Rr(t,f)}else{let f=e.viewHooks;f!==null&&Ar(t,f,2),Ei(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ii]){for(let f of t[Ii])f();t[Ii]=null}i||(yd(t),t[E]&=-73)}catch(u){throw i||zt(t),u}finally{l!==null&&(vr(l,c),a&&Dy(l)),la()}}function wd(e,t){for(let n=Hu(e);n!==null;n=Bu(n))for(let r=z;r<n.length;r++){let o=n[r];bd(o,t)}}function _y(e){for(let t=Hu(e);t!==null;t=Bu(t)){if(!(t[E]&2))continue;let n=t[Ot];for(let r=0;r<n.length;r++){let o=n[r];ou(o)}}}function Ny(e,t,n){A(18);let r=Me(t,e);bd(r,n),A(19,r[j])}function bd(e,t){ea(e)&&ds(e,t)}function ds(e,t){let r=e[D],o=e[E],i=e[ae],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Ir(i)),s||=!1,i&&(i.dirty=!1),e[E]&=-9217,s)Ty(r,e,r.template,e[j]);else if(o&8192){Ed(e),wd(e,1);let a=r.components;a!==null&&Md(e,a,1),yd(e)}}function Md(e,t,n){for(let r=0;r<t.length;r++)Ny(e,t[r],n)}function Sy(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)dt(~o);else{let i=o,s=n[++r],a=n[++r];Qh(s,i);let c=t[i];A(24,c),a(2,c),A(25,c)}}}finally{dt(-1)}}function ka(e,t){let n=lu()?64:1088;for(e[Oe].changeDetectionScheduler?.notify(t);e;){e[E]|=n;let r=ut(e);if(qr(e)&&!r)return e;e=r}return null}function Cd(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function xd(e,t){let n=z+t;if(n<e.length)return e[n]}function jn(e,t,n,r=!0){let o=t[D];if(ky(o,t,e,n),r){let s=us(n,e),a=t[O],c=a.parentNode(e[lt]);c!==null&&cy(o,e[oe],a,t,c,s)}let i=t[Rt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Td(e,t){let n=_n(e,t);return n!==void 0&&ko(n[D],n),n}function _n(e,t){if(e.length<=z)return;let n=z+t,r=e[n];if(r){let o=r[at];o!==null&&o!==e&&Na(o,r),t>0&&(e[n-1][pe]=r[pe]);let i=jr(e,z+t);ay(r[D],r);let s=i[Pe];s!==null&&s.detachView(i[D]),r[G]=null,r[pe]=null,r[E]&=-129}return r}function ky(e,t,n,r){let o=z+r,i=n.length;r>0&&(n[o-1][pe]=t),r<i-z?(t[pe]=n[o],jl(n,z+r,t)):(n.push(t),t[pe]=null),t[G]=n;let s=t[at];s!==null&&n!==s&&_d(s,t);let a=t[Pe];a!==null&&a.insertView(e),Hi(t),t[E]|=128}function _d(e,t){let n=e[Ot],r=t[G];if(Ue(r))e[E]|=2;else{let o=r[G][re];t[re]!==o&&(e[E]|=2)}n===null?e[Ot]=[t]:n.push(t)}var Nn=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[D];return eo(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[j]}set context(t){this._lView[j]=t}get destroyed(){return Wt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[G];if(Fe(t)){let n=t[Ur],r=n?n.indexOf(this):-1;r>-1&&(_n(t,r),jr(n,r))}this._attachedToViewContainer=!1}ko(this._lView[D],this._lView)}onDestroy(t){iu(this._lView,t)}markForCheck(){ka(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[E]&=-129}reattach(){Hi(this._lView),this._lView[E]|=128}detectChanges(){this._lView[E]|=1024,Dd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=qr(this._lView),n=this._lView[at];n!==null&&!t&&Na(n,this._lView),fd(this._lView[D],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=t;let n=qr(this._lView),r=this._lView[at];r!==null&&!n&&_d(r,this._lView),Hi(this._lView)}};var to=(()=>{class e{static __NG_ELEMENT_ID__=Oy}return e})(),Ry=to,Ay=class extends Ry{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=Vn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Nn(o)}};function Oy(){return Oo(Q(),g())}function Oo(e,t){return e.type&4?new Ay(t,e,Zt(e,t)):null}function Xt(e,t,n,r,o){let i=e.data[t];if(i===null)i=Py(e,t,n,r,o),Zh()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Wh();i.injectorIndex=s===null?-1:s.injectorIndex}return Qe(i,!0),i}function Py(e,t,n,r,o){let i=au(),s=oa(),a=s?i:i&&i.parent,c=e.data[t]=Fy(e,a,n,t,r,o);return Ly(e,c,i,s),c}function Ly(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 Fy(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return su()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var MS=new RegExp(`^(\\d+)*(${Hg}|${jg})*(.*)`);var Vy=()=>null;function Ft(e,t){return Vy(e,t)}var jy=class{},Nd=class{},fs=class{resolveComponentFactory(t){throw Error(`No component factory found for ${ne(t)}.`)}},Po=class{static NULL=new fs},no=class{},_S=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Hy()}return e})();function Hy(){let e=g(),t=Q(),n=Me(t.index,e);return(Ue(n)?n:e)[O]}var By=(()=>{class e{static \u0275prov=V({token:e,providedIn:"root",factory:()=>null})}return e})();var bi={},ps=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=mo(r);let o=this.injector.get(t,bi,r);return o!==bi||n===bi?o:this.parentInjector.get(t,n,r)}};function hs(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=Ri(o,a);else if(i==2){let c=a,l=t[++s];r=Ri(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Lo(e,t=T.Default){let n=g();if(n===null)return ie(e,t);let r=Q();return Cu(r,n,U(e),t)}function NS(){let e="invalid";throw new Error(e)}function Ra(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a,c=null,l=null,u=Uy(s);u===null?a=s:[a,c,l]=u,zy(e,t,n,a,i,c,l)}i!==null&&r!==null&&$y(n,r,i)}function $y(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new b(-301,!1);r.push(t[o],i)}}function Uy(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let a=e[s];if(s===0&&he(a)&&(t=a),a.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let r=null,o=null,i=null;for(let s of e)s.findHostDirectiveDefs!==null&&(r??=[],o??=new Map,i??=new Map,qy(s,r,i,o)),s===t&&(r??=[],r.push(s));return r!==null?(r.push(...t===null?e:e.slice(1)),[r,o,i]):null}function qy(e,t,n,r){let o=t.length;e.findHostDirectiveDefs(e,t,r),n.set(e,[o,t.length-1])}function Wy(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function zy(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let p=0;p<a;p++){let f=r[p];!c&&he(f)&&(c=!0,Wy(e,n,p)),qi(Qr(n,t),e,f.type)}Ky(n,e.data.length,a);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=ld(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=Pt(n.mergedAttrs,f.hostAttrs),Zy(e,n,t,d,f),Jy(d,f,o),s!==null&&s.has(f)){let[I,P]=s.get(f);n.directiveToIndex.set(f.type,[d,I+n.directiveStart,P+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}Gy(e,n,i)}function Gy(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))tl(0,t,o,r),tl(1,t,o,r),rl(t,r,!1);else{let i=n.get(o);nl(0,t,i,r),nl(1,t,i,r),rl(t,r,!0)}}}function tl(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),Sd(t,i)}}function nl(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),Sd(t,s)}}function Sd(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function rl(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Ia(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function Zy(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=st(o.type,!0)),s=new ft(i,he(o),Lo);e.blueprint[r]=s,n[r]=s,Qy(e,t,r,ld(e,n,o.hostVars,K),o)}function Qy(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Yy(s)!=a&&s.push(a),s.push(n,r,i)}}function Yy(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Jy(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;he(t)&&(n[""]=e)}}function Ky(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function kd(e,t,n,r,o,i,s,a){let c=t.consts,l=ze(c,s),u=Xt(t,e,2,r,l);return i&&Ra(t,n,u,ze(c,a),o),u.mergedAttrs=Pt(u.mergedAttrs,u.attrs),u.attrs!==null&&hs(u,u.attrs,!1),u.mergedAttrs!==null&&hs(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function Rd(e,t){ua(e,t),Js(t)&&e.queries.elementEnd(t)}var ro=class extends Po{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=qe(t);return new pt(n,this.ngModule)}};function Xy(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&No.SignalBased)!==0};return o&&(i.transform=o),i})}function ev(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function tv(e,t,n){let r=t instanceof We?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new ps(n,r):n}function nv(e){let t=e.get(no,null);if(t===null)throw new b(407,!1);let n=e.get(By,null),r=e.get(Ge,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function rv(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return id(t,n,n==="svg"?tu:n==="math"?Ah:null)}var pt=class extends Nd{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Xy(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=ev(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Am(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o){A(22);let i=w(null);try{let s=this.componentDef,a=r?["ng-version","19.2.14"]:Om(this.componentDef.selectors[0]),c=Ea(0,null,null,1,0,null,null,null,null,[a],null),l=tv(s,o||this.ngModule,t),u=nv(l),d=u.rendererFactory.createRenderer(null,s),p=r?qm(d,r,s.encapsulation,l):rv(s,d),f=Da(null,c,null,512|cd(s),null,null,u,d,l,null,Gu(p,l,!0));f[F]=p,ca(f);let h=null;try{let I=kd(F,c,f,"#host",()=>[this.componentDef],!0,0);p&&(ad(d,p,I),Qt(p,f)),So(c,f,I),ma(c,I,f),Rd(c,I),n!==void 0&&ov(I,this.ngContentSelectors,n),h=Me(I.index,f),f[j]=h[j],xa(c,f,null)}catch(I){throw h!==null&&Yi(h),Yi(f),I}finally{A(23),la()}return new gs(this.componentType,f)}finally{w(i)}}},gs=class extends jy{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=Ks(n[D],F),this.location=Zt(this._tNode,n),this.instance=Me(this._tNode.index,n)[j],this.hostView=this.changeDetectorRef=new Nn(n,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Ca(r,o[D],o,t,n);this.previousInputValues.set(t,n);let s=Me(r.index,o);ka(s,1)}get injector(){return new ot(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function ov(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 Aa=(()=>{class e{static __NG_ELEMENT_ID__=iv}return e})();function iv(){let e=Q();return Od(e,g())}var sv=Aa,Ad=class extends sv{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Zt(this._hostTNode,this._hostLView)}get injector(){return new ot(this._hostTNode,this._hostLView)}get parentInjector(){let t=da(this._hostTNode,this._hostLView);if(Iu(t)){let n=Gr(t,this._hostLView),r=zr(t),o=n[D].data[r+8];return new ot(o,n)}else return new ot(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=ol(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=Ft(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Lt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Nh(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let c=s?t:new pt(qe(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let I=(s?l:this.parentInjector).get(We,null);I&&(i=I)}let u=qe(c.componentType??{}),d=Ft(this._lContainer,u?.id??null),p=d?.firstChild??null,f=c.create(l,o,p,i);return this.insertImpl(f.hostView,a,Lt(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Lh(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[G],l=new Ad(c,c[oe],c[G]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return jn(s,o,i,r),t.attachToViewContainerRef(),jl(Mi(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=ol(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=_n(this._lContainer,n);r&&(jr(Mi(this._lContainer),n),ko(r[D],r))}detach(t){let n=this._adjustIndex(t,-1),r=_n(this._lContainer,n);return r&&jr(Mi(this._lContainer),n)!=null?new Nn(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function ol(e){return e[Ur]}function Mi(e){return e[Ur]||(e[Ur]=[])}function Od(e,t){let n,r=t[e.index];return Fe(r)?n=r:(n=Cd(r,t,null,e),t[e.index]=n,wa(t,n)),cv(n,t,e,r),new Ad(n,e,t)}function av(e,t){let n=e[O],r=n.createComment(""),o=Te(t,e),i=n.parentNode(o);return Xr(n,i,r,n.nextSibling(o),!1),r}var cv=dv,lv=()=>!1;function uv(e,t,n){return lv(e,t,n)}function dv(e,t,n,r){if(e[lt])return;let o;n.type&8?o=be(r):o=av(t,n),e[lt]=o}var ms=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},ys=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++)Pa(t,n).matches!==null&&this.queries[n].setDirty()}},oo=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=yv(t):this.predicate=t}},vs=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)}},Is=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,fv(n,i)),this.matchTNodeWithReadOption(t,n,Or(n,t,i,!1,!1))}else r===to?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Or(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Co||o===Aa||o===to&&n.type&4)this.addMatch(n.index,-2);else{let i=Or(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 fv(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 pv(e,t){return e.type&11?Zt(e,t):e.type&4?Oo(e,t):null}function hv(e,t,n,r){return n===-1?pv(t,e):n===-2?gv(e,t,r):Cn(e,e[D],n,t)}function gv(e,t,n){if(n===Co)return Zt(t,e);if(n===to)return Oo(t,e);if(n===Aa)return Od(t,e)}function Pd(e,t,n,r){let o=t[Pe].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(hv(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Es(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Pd(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=z;d<u.length;d++){let p=u[d];p[at]===p[G]&&Es(p[D],p,l,r)}if(u[Ot]!==null){let d=u[Ot];for(let p=0;p<d.length;p++){let f=d[p];Es(f[D],f,l,r)}}}}}return r}function Oa(e,t){return e[Pe].queries[t].queryList}function Ld(e,t,n){let r=new Qi((n&4)===4);return jh(e,t,r,r.destroy),(t[Pe]??=new ys).queries.push(new ms(r))-1}function mv(e,t,n){let r=k();return r.firstCreatePass&&(Vd(r,new oo(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Ld(r,g(),t)}function Fd(e,t,n,r){let o=k();if(o.firstCreatePass){let i=Q();Vd(o,new oo(t,n,r),i.index),vv(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Ld(o,g(),n)}function yv(e){return e.split(",").map(t=>t.trim())}function Vd(e,t,n){e.queries===null&&(e.queries=new vs),e.queries.track(new Is(t,n))}function vv(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 Pa(e,t){return e.queries.getByIndex(t)}function jd(e,t){let n=e[D],r=Pa(n,t);return r.crossesNgTemplate?Es(n,e,t,[]):Pd(n,e,r,t)}function Hd(e,t,n){let r,o=wr(()=>{r._dirtyCounter();let i=wv(r,e);if(t&&i===void 0)throw new b(-951,!1);return i});return r=o[ee],r._dirtyCounter=Sg(0),r._flatValue=void 0,o}function Iv(e){return Hd(!0,!1,e)}function Ev(e){return Hd(!0,!0,e)}function Dv(e,t){let n=e[ee];n._lView=g(),n._queryIndex=t,n._queryList=Oa(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function wv(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[E]&4)return t?void 0:Y;let o=Oa(n,r),i=jd(n,r);return o.reset(i,Pu),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function il(e,t){return Iv(t)}function bv(e,t){return Ev(t)}var kS=(il.required=bv,il);function Mv(e){let t=[],n=new Map;function r(o){let i=n.get(o);if(!i){let s=e(o);n.set(o,i=s.then(_v))}return i}return io.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(r(o.templateUrl).then(l=>{o.template=l}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let l=o.styles.length,u=o.styleUrls;o.styleUrls.forEach((d,p)=>{a.push(""),s.push(r(d).then(f=>{a[l+p]=f,u.splice(u.indexOf(d),1),u.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(r(o.styleUrl).then(l=>{a.push(l),o.styleUrl=void 0}));let c=Promise.all(s).then(()=>Nv(i));t.push(c)}),xv(),Promise.all(t).then(()=>{})}var io=new Map,Cv=new Set;function xv(){let e=io;return io=new Map,e}function Tv(){return io.size===0}function _v(e){return typeof e=="string"?e:e.text()}function Nv(e){Cv.delete(e)}var Sn=class{},Sv=class{};function OS(e,t){return new kn(e,t??null,[])}var kn=class extends Sn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new ro(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=$l(t);this._bootstrapComponents=nd(i.bootstrap),this._r3Injector=_u(t,n,[{provide:Sn,useValue:this},{provide:Po,useValue:this.componentFactoryResolver},...r],ne(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)}},so=class extends Sv{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new kn(this.moduleType,t,[])}};function kv(e,t,n){return new kn(e,t,n,!1)}var Ds=class extends Sn{injector;componentFactoryResolver=new ro(this);instance=null;constructor(t){super();let n=new bn([...t.providers,{provide:Sn,useValue:this},{provide:Po,useValue:this.componentFactoryResolver}],t.parent||yo(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Rv(e,t,n=null){return new Ds({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Av=(()=>{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=ql(!1,n.type),o=r.length>0?Rv([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=V({token:e,providedIn:"environment",factory:()=>new e(ie(We))})}return e})();function PS(e){return An(()=>{let t=Bd(e),n=X(q({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Vu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Av).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Tn.Emulated,styles:e.styles||Y,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Yt("NgStandalone"),$d(n);let r=e.dependencies;return n.directiveDefs=sl(r,!1),n.pipeDefs=sl(r,!0),n.id=jv(n),n})}function Ov(e){return qe(e)||Ul(e)}function Pv(e){return e!==null}function Lv(e){return An(()=>({type:e.type,bootstrap:e.bootstrap||Y,declarations:e.declarations||Y,imports:e.imports||Y,exports:e.exports||Y,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Fv(e,t){if(e==null)return we;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=No.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function Vv(e){if(e==null)return we;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function LS(e){return An(()=>{let t=Bd(e);return $d(t),t})}function FS(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 Bd(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||we,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Y,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Fv(e.inputs,t),outputs:Vv(e.outputs),debugInfo:null}}function $d(e){e.features?.forEach(t=>t(e))}function sl(e,t){if(!e)return null;let n=t?mh:Ov;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Pv)}function jv(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 Hv(e){return Object.getPrototypeOf(e.prototype).constructor}function Bv(e){let t=Hv(e.type),n=!0,r=[e];for(;t;){let o;if(he(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new b(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Ci(e.inputs),s.declaredInputs=Ci(e.declaredInputs),s.outputs=Ci(e.outputs);let a=o.hostBindings;a&&zv(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&qv(e,c),l&&Wv(e,l),$v(e,o),Gp(e.outputs,o.outputs),he(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===Bv&&(n=!1)}}t=Object.getPrototypeOf(t)}Uv(r)}function $v(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 Uv(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=Pt(o.hostAttrs,n=Pt(n,o.hostAttrs))}}function Ci(e){return e===we?{}:e===Y?[]:e}function qv(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Wv(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function zv(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function VS(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=Ud,n.hostDirectives=r?e.map(ws):[e]):r?n.hostDirectives.unshift(...e.map(ws)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Ud(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)al(ws(i),t,n)}else al(r,t,n)}function al(e,t,n){let r=Ul(e.directive);Gv(r.declaredInputs,e.inputs),Ud(r,t,n),n.set(r,e),t.push(r)}function ws(e){return typeof e=="function"?{directive:U(e),inputs:we,outputs:we}:{directive:U(e.directive),inputs:cl(e.inputs),outputs:cl(e.outputs)}}function cl(e){if(e===void 0||e.length===0)return we;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function Gv(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function qd(e){return La(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Zv(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function La(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Ne(e,t,n){return e[t]=n}function Hn(e,t){return e[t]}function Z(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Vt(e,t,n,r){let o=Z(e,t,n);return Z(e,t+1,r)||o}function Wd(e,t,n,r,o){let i=Vt(e,t,n,r);return Z(e,t+2,o)||i}function jt(e,t,n,r,o,i){let s=Vt(e,t,n,r);return Vt(e,t+2,o,i)||s}function Qv(e,t,n,r,o,i,s,a,c){let l=t.consts,u=Xt(t,e,4,s||null,a||null);ra()&&Ra(t,n,u,ze(l,c),Ma),u.mergedAttrs=Pt(u.mergedAttrs,u.attrs),ua(t,u);let d=u.tView=Ea(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return t.queries!==null&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}function ao(e,t,n,r,o,i,s,a,c,l){let u=n+F,d=t.firstCreatePass?Qv(u,t,e,r,o,i,s,a,c):t.data[u];Qe(d,!1);let p=Jv(t,e,d,n);bo()&&Ro(t,e,p,d),Qt(p,e);let f=Cd(p,e,p,d);return e[u]=f,wa(e,f),uv(f,d,e),Io(d)&&So(t,e,d),c!=null&&ba(e,d,l),d}function Yv(e,t,n,r,o,i,s,a){let c=g(),l=k(),u=ze(l.consts,i);return ao(c,l,e,t,n,r,o,u,s,a),Yv}var Jv=Kv;function Kv(e,t,n,r){return Mo(!0),t[O].createComment("")}var jS=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Xv=new S(""),eI=new S(""),HS=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(n,r,o){this._ngZone=n,this.registry=r,Zs()&&(this._destroyRef=C(Gt,{optional:!0})??void 0),Fa||(nI(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{J.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(n)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static \u0275fac=function(r){return new(r||e)(ie(J),ie(tI),ie(eI))};static \u0275prov=V({token:e,factory:e.\u0275fac})}return e})(),tI=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Fa?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function nI(e){Fa=e}var Fa,zd=(()=>{class e{static \u0275prov=V({token:e,providedIn:"root",factory:()=>new bs})}return e})(),bs=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}};function Gd(e){return!!e&&typeof e.then=="function"}function rI(e){return!!e&&typeof e.subscribe=="function"}var Zd=new S("");function BS(e){return yh([{provide:Zd,multi:!0,useValue:e}])}var Qd=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=C(Zd,{optional:!0})??[];injector=C(Ce);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Ql(this.injector,o);if(Gd(i))n.push(i);else if(rI(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=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),oI=new S("");function iI(){fi(()=>{throw new b(600,!1)})}function sI(e){return e.isBoundToModule}var aI=10;function Yd(e,t){return Array.isArray(t)?t.reduce(Yd,e):q(q({},e),t)}var Ht=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=C(xg);afterRenderManager=C(Wu);zonelessEnabled=C(Su);rootEffectScheduler=C(zd);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new se;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=C(Ln).hasPendingTasks.pipe(He(n=>!n));constructor(){C(xo,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=C(We);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Ce.NULL){A(10);let i=n instanceof Nd;if(!this._injector.get(Qd).done){let f="";throw new b(405,f)}let a;i?a=n:a=this._injector.get(Po).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=sI(a)?void 0:this._injector.get(Sn),l=r||a.selector,u=a.create(o,[],l,c),d=u.location.nativeElement,p=u.injector.get(Xv,null);return p?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),Pr(this.components,u),p?.unregisterApplication(d)}),this._loadComponent(u),A(11,u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){A(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(ha.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new b(101,!1);let n=w(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,w(n),this.afterTick.next(),A(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(no,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<aI;)A(14),this.synchronizeOnce(),A(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)cI(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Do(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;Pr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(oI,[]).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),()=>Pr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new b(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Pr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function cI(e,t,n,r){if(!n&&!Do(e))return;Dd(e,t,n&&!r?0:1)}function lI(e,t,n,r){let o=g(),i=Ye();if(Z(o,i,t)){let s=k(),a=gt();Km(a,o,e,t,n,r)}return lI}function Va(e,t,n,r){return Z(e,Ye(),n)?t+it(n)+r:K}function Jd(e,t,n,r,o,i){let s=zh(),a=Vt(e,s,n,o);return sa(2),a?t+it(n)+r+it(o)+i:K}function Nr(e,t){return e<<17|t<<2}function ht(e){return e>>17&32767}function uI(e){return(e&2)==2}function dI(e,t){return e&131071|t<<17}function Ms(e){return e|2}function Bt(e){return(e&131068)>>2}function xi(e,t){return e&-131069|t<<2}function fI(e){return(e&1)===1}function Cs(e){return e|1}function pI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=ht(s),c=Bt(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Pn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=ht(e[a+1]);e[r+1]=Nr(p,a),p!==0&&(e[p+1]=xi(e[p+1],r)),e[a+1]=dI(e[a+1],r)}else e[r+1]=Nr(a,0),a!==0&&(e[a+1]=xi(e[a+1],r)),a=r;else e[r+1]=Nr(c,0),a===0?a=r:e[c+1]=xi(e[c+1],r),c=r;l&&(e[r+1]=Ms(e[r+1])),ll(e,u,r,!0),ll(e,u,r,!1),hI(t,u,e,r,i),s=Nr(a,c),i?t.classBindings=s:t.styleBindings=s}function hI(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Pn(i,t)>=0&&(n[r+1]=Cs(n[r+1]))}function ll(e,t,n,r){let o=e[n+1],i=t===null,s=r?ht(o):Bt(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];gI(c,t)&&(a=!0,e[s+1]=r?Cs(l):Ms(l)),s=r?ht(l):Bt(l)}a&&(e[n+1]=r?Ms(o):Cs(o))}function gI(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Pn(e,t)>=0:!1}var B={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Kd(e){return e.substring(B.key,B.keyEnd)}function mI(e){return e.substring(B.value,B.valueEnd)}function yI(e){return tf(e),Xd(e,$t(e,0,B.textEnd))}function Xd(e,t){let n=B.textEnd;return n===t?-1:(t=B.keyEnd=II(e,B.key=t,n),$t(e,t,n))}function vI(e){return tf(e),ef(e,$t(e,0,B.textEnd))}function ef(e,t){let n=B.textEnd,r=B.key=$t(e,t,n);return n===r?-1:(r=B.keyEnd=EI(e,r,n),r=ul(e,r,n,58),r=B.value=$t(e,r,n),r=B.valueEnd=DI(e,r,n),ul(e,r,n,59))}function tf(e){B.key=0,B.keyEnd=0,B.value=0,B.valueEnd=0,B.textEnd=e.length}function $t(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function II(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function EI(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function ul(e,t,n,r){return t=$t(e,t,n),t<n&&t++,t}function DI(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=dl(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=dl(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function dl(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function wI(e,t,n){let r=g(),o=Ye();if(Z(r,o,t)){let i=k(),s=gt();Kt(i,s,r,e,t,r[O],n,!1)}return wI}function xs(e,t,n,r,o){Ca(t,e,n,o?"class":"style",r)}function bI(e,t,n){return rf(e,t,n,!1),bI}function MI(e,t){return rf(e,t,null,!0),MI}function $S(e){ja(af,CI,e,!1)}function CI(e,t){for(let n=vI(t);n>=0;n=ef(t,n))af(e,Kd(t),mI(t))}function US(e){ja(kI,nf,e,!0)}function nf(e,t){for(let n=yI(t);n>=0;n=Xd(t,n))On(e,Kd(t),!0)}function rf(e,t,n,r){let o=g(),i=k(),s=sa(2);if(i.firstUpdatePass&&sf(i,e,s,r),t!==K&&Z(o,s,t)){let a=i.data[_e()];cf(i,a,o,o[O],e,o[s+1]=AI(t,n),r,s)}}function ja(e,t,n,r){let o=k(),i=sa(2);o.firstUpdatePass&&sf(o,null,i,r);let s=g();if(n!==K&&Z(s,i,n)){let a=o.data[_e()];if(lf(a,r)&&!of(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Ri(c,n||"")),xs(o,a,s,n,r)}else RI(o,a,s,s[O],s[i+1],s[i+1]=SI(e,t,n),r,i)}}function of(e,t){return t>=e.expandoStartIndex}function sf(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[_e()],s=of(e,n);lf(i,r)&&t===null&&!s&&(t=!1),t=xI(o,i,t,r),pI(o,i,t,n,s,r)}}function xI(e,t,n,r){let o=uu(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ti(null,e,t,n,r),n=Rn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Ti(o,e,t,n,r),i===null){let c=TI(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Ti(null,e,t,c[1],r),c=Rn(c,t.attrs,r),_I(e,t,r,c))}else i=NI(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function TI(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Bt(r)!==0)return e[ht(r)]}function _I(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[ht(o)]=r}function NI(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Rn(r,s,n)}return Rn(r,t.attrs,n)}function Ti(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=Rn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Rn(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]),On(e,s,n?!0:t[++i]))}return e===void 0?null:e}function SI(e,t,n){if(n==null||n==="")return Y;let r=[],o=Jt(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function af(e,t,n){On(e,t,Jt(n))}function kI(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&On(e,r,n)}function RI(e,t,n,r,o,i,s,a){o===K&&(o=Y);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,I;u===d?(c+=2,l+=2,p!==f&&(h=d,I=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,I=f),h!==null&&cf(e,t,n,r,h,I,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function cf(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=fI(l)?fl(c,t,n,o,Bt(l),s):void 0;if(!co(u)){co(i)||uI(l)&&(i=fl(c,null,n,o,a,s));let d=nu(_e(),n);yy(r,s,d,o,i)}}function fl(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===K&&(p=d?Y:void 0);let f=d?yi(p,r):u===r?p:void 0;if(l&&!co(f)&&(f=yi(c,r)),co(f)&&(a=f,s))return a;let h=e[o+1];o=s?ht(h):Bt(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=yi(c,r))}return a}function co(e){return e!==void 0}function AI(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ne(Jt(e)))),e}function lf(e,t){return(e.flags&(t?8:16))!==0}function qS(e,t,n){let r=g(),o=Va(r,e,t,n);ja(On,nf,o,!0)}function WS(){return g()[re][j]}var Ts=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 _i(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function OI(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],d=_i(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),f=t[c],h=_i(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let I=n(i,l),P=n(s,p),N=n(i,u);if(Object.is(N,P)){let ge=n(c,f);Object.is(ge,I)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new lo,o??=hl(e,i,s,n),_s(e,r,i,N))e.updateValue(i,u),i++,s++;else if(o.has(N))r.set(I,e.detach(i)),s--;else{let ge=e.create(i,t[i]);e.attach(i,ge),i++,s++}}for(;i<=c;)pl(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,p=_i(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new lo,o??=hl(e,i,s,n);let f=n(i,d);if(_s(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let h=n(i,u);r.set(h,e.detach(i)),s--}}}for(;!l.done;)pl(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function _s(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function pl(e,t,n,r,o){if(_s(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function hl(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 lo=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 zS(e,t){Yt("NgControlFlow");let n=g(),r=Ye(),o=n[r]!==K?n[r]:-1,i=o!==-1?uo(n,F+o):void 0,s=0;if(Z(n,r,e)){let a=w(null);try{if(i!==void 0&&Td(i,s),e!==-1){let c=F+e,l=uo(n,c),u=Rs(n[D],c),d=Ft(l,u.tView.ssrId),p=Vn(n,u,t,{dehydratedView:d});jn(l,p,s,Lt(u,d))}}finally{w(a)}}else if(i!==void 0){let a=xd(i,s);a!==void 0&&(a[j]=t)}}var Ns=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-z}};function GS(e){return e}function ZS(e,t){return t}var Ss=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function QS(e,t,n,r,o,i,s,a,c,l,u,d,p){Yt("NgControlFlow");let f=g(),h=k(),I=c!==void 0,P=g(),N=a?s.bind(P[re][j]):s,ge=new Ss(I,N);P[F+e]=ge,ao(f,h,e+1,t,n,r,o,ze(h.consts,i)),I&&ao(f,h,e+2,c,l,u,d,ze(h.consts,p))}var ks=class extends Ts{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)[j].$implicit}attach(t,n){let r=n[Rt];this.needsIndexUpdate||=t!==this.length,jn(this.lContainer,n,t,Lt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,PI(this.lContainer,t)}create(t,n){let r=Ft(this.lContainer,this.templateTNode.tView.ssrId),o=Vn(this.hostLView,this.templateTNode,new Ns(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){ko(t[D],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[j].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[j].$index=t}getLView(t){return LI(this.lContainer,t)}};function YS(e){let t=w(null),n=_e();try{let r=g(),o=r[D],i=r[n],s=n+1,a=uo(r,s);if(i.liveCollection===void 0){let l=Rs(o,s);i.liveCollection=new ks(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(OI(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=Ye(),u=c.length===0;if(Z(r,l,u)){let d=n+2,p=uo(r,d);if(u){let f=Rs(o,d),h=Ft(p,f.tView.ssrId),I=Vn(r,f,void 0,{dehydratedView:h});jn(p,I,0,Lt(f,h))}else Td(p,0)}}}finally{w(t)}}function uo(e,t){return e[t]}function PI(e,t){return _n(e,t)}function LI(e,t){return xd(e,t)}function Rs(e,t){return Ks(e,t)}function uf(e,t,n,r){let o=g(),i=k(),s=F+e,a=o[O],c=i.firstCreatePass?kd(s,i,o,t,Ma,ra(),n,r):i.data[s],l=VI(i,o,c,a,t,e);o[s]=l;let u=Io(c);return Qe(c,!0),ad(a,l,c),!_a(c)&&bo()&&Ro(i,o,l,c),(Hh()===0||u)&&Qt(l,o),Bh(),u&&(So(i,o,c),ma(i,c,o)),r!==null&&ba(o,c),uf}function df(){let e=Q();oa()?ia():(e=e.parent,Qe(e,!1));let t=e;Uh(t)&&qh(),$h();let n=k();return n.firstCreatePass&&Rd(n,t),t.classesWithoutHost!=null&&rg(t)&&xs(n,t,g(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&og(t)&&xs(n,t,g(),t.stylesWithoutHost,!1),df}function FI(e,t,n,r){return uf(e,t,n,r),df(),FI}var VI=(e,t,n,r,o,i)=>(Mo(!0),id(r,o,eg()));function jI(e,t,n,r,o){let i=t.consts,s=ze(i,r),a=Xt(t,e,8,"ng-container",s);s!==null&&hs(a,s,!0);let c=ze(i,o);return ra()&&Ra(t,n,a,c,Ma),a.mergedAttrs=Pt(a.mergedAttrs,a.attrs),t.queries!==null&&t.queries.elementStart(t,a),a}function ff(e,t,n){let r=g(),o=k(),i=e+F,s=o.firstCreatePass?jI(i,o,r,t,n):o.data[i];Qe(s,!0);let a=BI(o,r,s,e);return r[i]=a,bo()&&Ro(o,r,a,s),Qt(a,r),Io(s)&&(So(o,r,s),ma(o,s,r)),n!=null&&ba(r,s),ff}function pf(){let e=Q(),t=k();return oa()?ia():(e=e.parent,Qe(e,!1)),t.firstCreatePass&&(ua(t,e),Js(e)&&t.queries.elementEnd(e)),pf}function HI(e,t,n){return ff(e,t,n),pf(),HI}var BI=(e,t,n,r)=>(Mo(!0),Fm(t[O],""));function JS(){return g()}function $I(e,t,n){let r=g(),o=Ye();if(Z(r,o,t)){let i=k(),s=gt();Kt(i,s,r,e,t,r[O],n,!0)}return $I}function UI(e,t,n){let r=g(),o=Ye();if(Z(r,o,t)){let i=k(),s=gt(),a=uu(i.data),c=ty(a,s,r);Kt(i,s,r,e,t,c,n,!0)}return UI}var nt=void 0;function qI(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var WI=["en",[["a","p"],["AM","PM"],nt],[["AM","PM"],nt,nt],[["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"]],nt,[["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"]],nt,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",nt,"{1} 'at' {0}",nt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",qI],Ni={};function KS(e){let t=GI(e),n=gl(t);if(n)return n;let r=t.split("-")[0];if(n=gl(r),n)return n;if(r==="en")return WI;throw new b(701,!1)}function gl(e){return e in Ni||(Ni[e]=Ae.ng&&Ae.ng.common&&Ae.ng.common.locales&&Ae.ng.common.locales[e]),Ni[e]}var zI=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}(zI||{});function GI(e){return e.toLowerCase().replace(/_/g,"-")}var fo="en-US";var ZI=fo;function QI(e){typeof e=="string"&&(ZI=e.toLowerCase().replace(/_/g,"-"))}function ml(e,t,n){return function r(o){if(o===Function)return n;let i=qt(e)?Me(e.index,t):t;ka(i,5);let s=t[j],a=yl(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=yl(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function yl(e,t,n,r){let o=w(null);try{return A(6,t,n),n(r)!==!1}catch(i){return YI(e,i),!1}finally{A(7,t,n),w(o)}}function YI(e,t){let n=e[At],r=n?n.get(Ze,null):null;r&&r.handleError(t)}function vl(e,t,n,r,o,i){let s=t[n],a=t[D],l=a.data[n].outputs[r],u=s[l],d=a.firstCreatePass?na(a):null,p=ta(t),f=u.subscribe(i),h=p.length;p.push(i,f),d&&d.push(o,e.index,h,-(h+1))}function JI(e,t,n,r){let o=g(),i=k(),s=Q();return hf(i,o,o[O],s,e,t,r),JI}function KI(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[$r],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function hf(e,t,n,r,o,i,s){let a=Io(r),l=e.firstCreatePass?na(e):null,u=ta(t),d=!0;if(r.type&3||s){let p=Te(r,t),f=s?s(p):p,h=u.length,I=s?N=>s(be(N[r.index])):r.index,P=null;if(!s&&a&&(P=KI(e,t,o,r.index)),P!==null){let N=P.__ngLastListenerFn__||P;N.__ngNextListenerFn__=i,P.__ngLastListenerFn__=i,d=!1}else{i=ml(r,t,i),Qg(t,f,o,i);let N=n.listen(f,o,i);u.push(i,N),l&&l.push(o,I,h,h+1)}}else i=ml(r,t,i);if(d){let p=r.outputs?.[o],f=r.hostDirectiveOutputs?.[o];if(f&&f.length)for(let h=0;h<f.length;h+=2){let I=f[h],P=f[h+1];vl(r,t,I,P,o,i)}if(p&&p.length)for(let h of p)vl(r,t,h,o,o,i)}}function XS(e=1){return Kh(e)}function XI(e,t){let n=null,r=_m(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?od(e,i,!0):km(r,i))return o}return n}function ek(e){let t=g()[re][oe];if(!t.projection){let n=e?e.length:1,r=t.projection=ph(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?XI(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function tk(e,t=0,n,r,o,i){let s=g(),a=k(),c=r?e+1:null;c!==null&&ao(s,a,c,r,o,i,null,n);let l=Xt(a,F+e,16,null,n||null);l.projection===null&&(l.projection=t),ia();let d=!s[Rt]||su();s[re][oe].projection[l.projection]===null&&c!==null?eE(s,a,c):d&&!_a(l)&&gy(a,s,l)}function eE(e,t,n){let r=F+n,o=t.data[r],i=e[r],s=Ft(i,o.tView.ssrId),a=Vn(e,o,void 0,{dehydratedView:s});jn(i,a,0,Lt(o,s))}function tE(e,t,n){return gf(e,"",t,"",n),tE}function gf(e,t,n,r,o){let i=g(),s=Va(i,t,n,r);if(s!==K){let a=k(),c=gt();Kt(a,c,i,e,s,i[O],o,!1)}return gf}function nE(e,t,n,r,o,i,s){let a=g(),c=Jd(a,t,n,r,o,i);if(c!==K){let l=k(),u=gt();Kt(l,u,a,e,c,a[O],s,!1)}return nE}function nk(e,t,n,r){Fd(e,t,n,r)}function rk(e,t,n){mv(e,t,n)}function ok(e){let t=g(),n=k(),r=aa();wo(r+1);let o=Pa(n,r);if(e.dirty&&Ph(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=jd(t,r);e.reset(i,Pu),e.notifyOnChanges()}return!0}return!1}function ik(){return Oa(g(),aa())}function sk(e,t,n,r,o){Dv(t,Fd(e,n,r,o))}function ak(e=1){wo(aa()+e)}function ck(e){let t=cu();return Eo(t,F+e)}function lk(e,t=""){let n=g(),r=k(),o=e+F,i=r.firstCreatePass?Xt(r,o,1,t,null):r.data[o],s=rE(r,n,i,t,e);n[o]=s,bo()&&Ro(r,n,s,i),Qe(i,!1)}var rE=(e,t,n,r,o)=>(Mo(!0),Pm(t[O],r));function oE(e){return mf("",e,""),oE}function mf(e,t,n){let r=g(),o=Va(r,e,t,n);return o!==K&&yf(r,_e(),o),mf}function iE(e,t,n,r,o){let i=g(),s=Jd(i,e,t,n,r,o);return s!==K&&yf(i,_e(),s),iE}function yf(e,t,n){let r=nu(t,e);Lm(e[O],r,n)}function sE(e,t,n){Lu(t)&&(t=t());let r=g(),o=Ye();if(Z(r,o,t)){let i=k(),s=gt();Kt(i,s,r,e,t,r[O],n,!1)}return sE}function uk(e,t){let n=Lu(e);return n&&e.set(t),n}function aE(e,t){let n=g(),r=k(),o=Q();return hf(r,n,n[O],o,e,t),aE}var vf={};function cE(e){let t=k(),n=g(),r=e+F,o=Xt(t,r,128,null,null);return Qe(o,!1),Xs(t,n,r,vf),cE}function dk(e){Yt("NgLet");let t=k(),n=g(),r=_e();return Xs(t,n,r,e),e}function fk(e){let t=cu(),n=Eo(t,F+e);if(n===vf)throw new b(314,!1);return n}function lE(e,t,n){let r=k();if(r.firstCreatePass){let o=he(e);As(n,r.data,r.blueprint,o,!0),As(t,r.data,r.blueprint,o,!1)}}function As(e,t,n,r,o){if(e=U(e),Array.isArray(e))for(let i=0;i<e.length;i++)As(e[i],t,n,r,o);else{let i=k(),s=g(),a=Q(),c=kt(e)?e:U(e.provide),l=Zl(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(kt(e)||!e.multi){let f=new ft(l,o,Lo),h=ki(c,t,o?u:u+p,d);h===-1?(qi(Qr(a,s),i,c),Si(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=ki(c,t,u+p,d),h=ki(c,t,u,u+p),I=f>=0&&n[f],P=h>=0&&n[h];if(o&&!P||!o&&!I){qi(Qr(a,s),i,c);let N=fE(o?dE:uE,n.length,o,r,l);!o&&P&&(n[h].providerFactory=N),Si(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(N),s.push(N)}else{let N=If(n[o?h:f],l,!o&&r);Si(i,e,f>-1?f:h,N)}!o&&r&&P&&n[h].componentProviders++}}}function Si(e,t,n,r){let o=kt(t),i=wh(t);if(o||i){let c=(i?U(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function If(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ki(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function uE(e,t,n,r,o){return Os(this.multi,[])}function dE(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Cn(r,r[D],this.providerFactory.index,o);s=c.slice(0,a),Os(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Os(i,s);return s}function Os(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function fE(e,t,n,r,o){let i=new ft(e,n,Lo);return i.multi=[],i.index=t,i.componentProviders=0,If(i,o,r&&!n),i}function pk(e,t=[]){return n=>{n.providersResolver=(r,o)=>lE(r,o?o(e):e,t)}}function hk(e,t,n){let r=ce()+e,o=g();return o[r]===K?Ne(o,r,n?t.call(n):t()):Hn(o,r)}function gk(e,t,n,r){return Ef(g(),ce(),e,t,n,r)}function mk(e,t,n,r,o){return Df(g(),ce(),e,t,n,r,o)}function yk(e,t,n,r,o,i){return pE(g(),ce(),e,t,n,r,o,i)}function vk(e,t,n,r,o,i,s){return hE(g(),ce(),e,t,n,r,o,i,s)}function Ik(e,t,n,r,o,i,s,a){let c=ce()+e,l=g(),u=jt(l,c,n,r,o,i);return Z(l,c+4,s)||u?Ne(l,c+5,a?t.call(a,n,r,o,i,s):t(n,r,o,i,s)):Hn(l,c+5)}function Ek(e,t,n,r,o,i,s,a,c){let l=ce()+e,u=g(),d=jt(u,l,n,r,o,i);return Vt(u,l+4,s,a)||d?Ne(u,l+6,c?t.call(c,n,r,o,i,s,a):t(n,r,o,i,s,a)):Hn(u,l+6)}function Dk(e,t,n,r,o,i,s,a,c,l){let u=ce()+e,d=g(),p=jt(d,u,n,r,o,i);return Wd(d,u+4,s,a,c)||p?Ne(d,u+7,l?t.call(l,n,r,o,i,s,a,c):t(n,r,o,i,s,a,c)):Hn(d,u+7)}function wk(e,t,n,r,o,i,s,a,c,l,u){let d=ce()+e,p=g(),f=jt(p,d,n,r,o,i);return jt(p,d+4,s,a,c,l)||f?Ne(p,d+8,u?t.call(u,n,r,o,i,s,a,c,l):t(n,r,o,i,s,a,c,l)):Hn(p,d+8)}function bk(e,t,n,r){return gE(g(),ce(),e,t,n,r)}function Bn(e,t){let n=e[t];return n===K?void 0:n}function Ef(e,t,n,r,o,i){let s=t+n;return Z(e,s,o)?Ne(e,s+1,i?r.call(i,o):r(o)):Bn(e,s+1)}function Df(e,t,n,r,o,i,s){let a=t+n;return Vt(e,a,o,i)?Ne(e,a+2,s?r.call(s,o,i):r(o,i)):Bn(e,a+2)}function pE(e,t,n,r,o,i,s,a){let c=t+n;return Wd(e,c,o,i,s)?Ne(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Bn(e,c+3)}function hE(e,t,n,r,o,i,s,a,c){let l=t+n;return jt(e,l,o,i,s,a)?Ne(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Bn(e,l+4)}function gE(e,t,n,r,o,i){let s=t+n,a=!1;for(let c=0;c<o.length;c++)Z(e,s++,o[c])&&(a=!0);return a?Ne(e,s,r.apply(i,o)):Bn(e,s)}function Mk(e,t){let n=k(),r,o=e+F;n.firstCreatePass?(r=mE(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=st(r.type,!0)),s,a=te(Lo);try{let c=Zr(!1),l=i();return Zr(c),Xs(n,g(),o,l),l}finally{te(a)}}function mE(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Ck(e,t,n){let r=e+F,o=g(),i=Eo(o,r);return wf(o,r)?Ef(o,ce(),t,i.transform,n,i):i.transform(n)}function xk(e,t,n,r){let o=e+F,i=g(),s=Eo(i,o);return wf(i,o)?Df(i,ce(),t,s.transform,n,r,s):s.transform(n,r)}function wf(e,t){return e[D].data[t].pure}function Tk(e,t){return Oo(e,t)}var Sr=null;function yE(e){Sr!==null&&(e.defaultEncapsulation!==Sr.defaultEncapsulation||e.preserveWhitespaces!==Sr.preserveWhitespaces)||(Sr=e)}var Ps=class{full;major;minor;patch;constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}},_k=new Ps("19.2.14"),Ls=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},Nk=(()=>{class e{compileModuleSync(n){return new so(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=$l(n),i=nd(o.declarations).reduce((s,a)=>{let c=qe(a);return c&&s.push(new pt(c)),s},[]);return new Ls(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=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vE=new S("");function IE(e,t,n){let r=new so(n);return Promise.resolve(r)}function Il(e){for(let t=e.length-1;t>=0;t--)if(e[t]!==void 0)return e[t]}var EE=(()=>{class e{zone=C(J);changeDetectionScheduler=C(Ge);applicationRef=C(Ht);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function DE({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new J(X(q({},bf()),{scheduleInRootZone:n})),[{provide:J,useFactory:e},{provide:Hr,multi:!0,useFactory:()=>{let r=C(EE,{optional:!0});return()=>r.initialize()}},{provide:Hr,multi:!0,useFactory:()=>{let r=C(wE);return()=>{r.initialize()}}},t===!0?{provide:ku,useValue:!0}:[],{provide:Ru,useValue:n??Nu}]}function bf(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var wE=(()=>{class e{subscription=new L;initialized=!1;zone=C(J);pendingTasks=C(Ln);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(()=>{J.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{J.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var bE=(()=>{class e{appRef=C(Ht);taskService=C(Ln);ngZone=C(J);zonelessEnabled=C(Su);tracing=C(xo,{optional:!0});disableScheduling=C(ku,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new L;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Jr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(C(Ru,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Kr||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Hc:Au;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Jr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Hc(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ME(){return typeof $localize<"u"&&$localize.locale||fo}var Mf=new S("",{providedIn:"root",factory:()=>C(Mf,T.Optional|T.SkipSelf)||ME()});var po=new S(""),CE=new S("");function vn(e){return!e.moduleRef}function xE(e){let t=vn(e)?e.r3Injector:e.moduleRef.injector,n=t.get(J);return n.run(()=>{vn(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ze,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),vn(e)){let i=()=>t.destroy(),s=e.platformInjector.get(po);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(po);s.add(i),e.moduleRef.onDestroy(()=>{Pr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return _E(r,n,()=>{let i=t.get(Qd);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Mf,fo);if(QI(s||fo),!t.get(CE,!0))return vn(e)?t.get(Ht):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(vn(e)){let c=t.get(Ht);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return TE(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function TE(e,t){let n=e.injector.get(Ht);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new b(-403,!1);t.push(e)}function _E(e,t,n){try{let r=n();return Gd(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Cf=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(n){this._injector=n}bootstrapModuleFactory(n,r){let o=r?.scheduleInRootZone,i=()=>Cg(r?.ngZone,X(q({},bf({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),s=r?.ignoreChangesOutsideZone,a=[DE({ngZoneFactory:i,ignoreChangesOutsideZone:s}),{provide:Ge,useExisting:bE}],c=kv(n.moduleType,this.injector,a);return xE({moduleRef:c,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){let o=Yd({},r);return IE(this.injector,o,n).then(i=>this.bootstrapModuleFactory(i,o))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new b(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let n=this._injector.get(po,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(ie(Ce))};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),wn=null,xf=new S("");function NE(e){if(wn&&!wn.get(xf,!1))throw new b(400,!1);iI(),wn=e;let t=e.get(Cf);return AE(e),t}function SE(e,t,n=[]){let r=`Platform: ${t}`,o=new S(r);return(i=[])=>{let s=Tf();if(!s||s.injector.get(xf,!1)){let a=[...n,...i,{provide:o,useValue:!0}];e?e(a):NE(kE(a,r))}return RE(o)}}function kE(e=[],t){return Ce.create({name:t,providers:[{provide:Gl,useValue:"platform"},{provide:po,useValue:new Set([()=>wn=null])},...e]})}function RE(e){let t=Tf();if(!t)throw new b(401,!1);return t}function Tf(){return wn?.get(Cf)??null}function AE(e){let t=e.get(Fg,null);Ql(e,()=>{t?.forEach(n=>n())})}function Sk(){return!1}var kk=(()=>{class e{static __NG_ELEMENT_ID__=OE}return e})();function OE(e){return PE(Q(),g(),(e&16)===16)}function PE(e,t,n){if(qt(e)&&!n){let r=Me(e.index,t);return new Nn(r,r)}else if(e.type&175){let r=t[re];return new Nn(r,t)}return null}var Fs=class{constructor(){}supports(t){return qd(t)}create(t){return new Vs(t)}},LE=(e,t)=>t,Vs=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||LE}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<El(r,o,i)?n:r,a=El(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;u<=h&&h<l&&(i[p]=f+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!qd(t))throw new b(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,Zv(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new js(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new ho),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new ho),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},js=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},Hs=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},ho=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Hs,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function El(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var Bs=class{constructor(){}supports(t){return t instanceof Map||La(t)}create(){return new $s}},$s=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||La(t)))throw new b(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Us(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},Us=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Dl(){return new FE([new Fs])}var FE=(()=>{class e{factories;static \u0275prov=V({token:e,providedIn:"root",factory:Dl});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Dl()),deps:[[e,new Vl,new Fl]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new b(901,!1)}}return e})();function wl(){return new VE([new Bs])}var VE=(()=>{class e{static \u0275prov=V({token:e,providedIn:"root",factory:wl});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||wl()),deps:[[e,new Vl,new Fl]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new b(901,!1)}}return e})();var Rk=SE(null,"core",[]),Ak=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(ie(Ht))};static \u0275mod=Lv({type:e});static \u0275inj=Qp({})}return e})();function Ok(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Pk(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Lk(e){return gi(e)}function Fk(e,t){return wr(e,t?.equal)}var qs=class{[ee];constructor(t){this[ee]=t}destroy(){this[ee].destroy()}};function jE(e,t){!t?.injector&&Qs(jE);let n=t?.injector??C(Ce),r=t?.manualCleanup!==!0?n.get(Gt):null,o,i=n.get(ga,null,{optional:!0}),s=n.get(Ge);return i!==null&&!t?.forceRoot?(o=$E(i.view,s,e),r instanceof Yr&&r._lView===i.view&&(r=null)):o=UE(e,n.get(zd),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new qs(o)}var _f=X(q({},Mt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:xn,run(){if(this.dirty=!1,this.hasRun&&!Ir(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=hn(this),n=Wr(!1);try{this.maybeCleanup(),this.fn(e)}finally{Wr(n),vr(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),HE=X(q({},_f),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){gn(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),BE=X(q({},_f),{consumerMarkedDirty(){this.view[E]|=8192,zt(this.view),this.notifier.notify(13)},destroy(){gn(this),this.onDestroyFn(),this.maybeCleanup(),this.view[ct]?.delete(this)}});function $E(e,t,n){let r=Object.create(BE);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[ct]??=new Set,e[ct].add(r),r.consumerMarkedDirty(r),r}function UE(e,t,n){let r=Object.create(HE);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(12),r}function Vk(e,t){let n=qe(e),r=t.elementInjector||yo();return new pt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function jk(e){let t=qe(e);if(!t)return null;let n=new pt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}export{L as a,Rf as b,_ as c,Zo as d,Qo as e,se as f,sn as g,rn as h,zf as i,Ee as j,Gf as k,Zf as l,et as m,en as n,tn as o,ye as p,$f as q,Qf as r,Yf as s,tt as t,Kf as u,He as v,ap as w,ke as x,ln as y,hr as z,lp as A,up as B,Xo as C,un as D,yp as E,vp as F,de as G,Ip as H,Ep as I,ei as J,ic as K,Dp as L,yc as M,dn as N,ti as O,wp as P,bp as Q,xp as R,Tp as S,_p as T,ni as U,Np as V,Sp as W,vc as X,Go as Y,ac as Z,kp as _,Rp as $,on as aa,Ap as ba,Ic as ca,Op as da,cc as ea,Pp as fa,b as ga,Ae as ha,_l as ia,V as ja,Qp as ka,KN as la,S as ma,T as na,ie as oa,C as pa,Fl as qa,Vl as ra,yh as sa,Gl as ta,We as ua,Ql as va,Qs as wa,XN as xa,eS as ya,tS as za,nS as Aa,rS as Ba,oS as Ca,mg as Da,Ce as Ea,jc as Fa,Gt as Ga,Ge as Ha,Ln as Ia,iS as Ja,Be as Ka,J as La,Ze as Ma,sS as Na,aS as Oa,Co as Pa,Ng as Qa,Sg as Ra,Qi as Sa,cS as Ta,lS as Ua,Fg as Va,uS as Wa,dS as Xa,fS as Ya,Vg as Za,pS as _a,xo as $a,Yt as ab,Wg as bb,zg as cb,Tn as db,Jt as eb,ya as fb,hS as gb,gS as hb,mS as ib,yS as jb,vS as kb,Yu as lb,hm as mb,_o as nb,IS as ob,mm as pb,ES as qb,DS as rb,ls as sb,to as tb,Po as ub,no as vb,_S as wb,Lo as xb,NS as yb,Aa as zb,kS as Ab,Sn as Bb,Sv as Cb,OS as Db,Rv as Eb,PS as Fb,Lv as Gb,LS as Hb,FS as Ib,Bv as Jb,VS as Kb,Yv as Lb,jS as Mb,Xv as Nb,eI as Ob,HS as Pb,tI as Qb,Gd as Rb,rI as Sb,BS as Tb,oI as Ub,Ht as Vb,lI as Wb,wI as Xb,bI as Yb,MI as Zb,$S as _b,US as $b,qS as ac,WS as bc,zS as cc,GS as dc,ZS as ec,QS as fc,YS as gc,uf as hc,df as ic,FI as jc,ff as kc,pf as lc,HI as mc,JS as nc,$I as oc,UI as pc,KS as qc,zI as rc,JI as sc,XS as tc,ek as uc,tk as vc,tE as wc,nE as xc,nk as yc,rk as zc,ok as Ac,ik as Bc,sk as Cc,ak as Dc,ck as Ec,lk as Fc,oE as Gc,mf as Hc,iE as Ic,sE as Jc,uk as Kc,aE as Lc,cE as Mc,dk as Nc,fk as Oc,pk as Pc,hk as Qc,gk as Rc,mk as Sc,yk as Tc,vk as Uc,Ik as Vc,Ek as Wc,Dk as Xc,wk as Yc,bk as Zc,Mk as _c,Ck as $c,xk as ad,Tk as bd,Ps as cd,_k as dd,Nk as ed,Mf as fd,SE as gd,Sk as hd,kk as id,FE as jd,VE as kd,Rk as ld,Ak as md,Ok as nd,Pk as od,Lk as pd,Fk as qd,jE as rd,Vk as sd,jk as td};
@@ -1 +0,0 @@
1
- import{a as me,b as se,c as ce}from"./chunk-LXSQIECO.js";import{a as ue}from"./chunk-JYT2OOPZ.js";import{a as de}from"./chunk-2SABH24F.js";import{a as le}from"./chunk-CXIBIPS5.js";import{a as pe}from"./chunk-4NOCCDHL.js";import"./chunk-ACIMXBIC.js";import"./chunk-ZUKHXAUV.js";import"./chunk-6ZQHMI2W.js";import"./chunk-CDNNFRZK.js";import"./chunk-3RK6DDJD.js";import{a as ae}from"./chunk-7SLPBFFW.js";import"./chunk-NB5JKHKF.js";import"./chunk-ZUFLZMHT.js";import"./chunk-YOGRCIUI.js";import"./chunk-SDUUFQUI.js";import"./chunk-JNXIAVS4.js";import"./chunk-PRVOIBMJ.js";import"./chunk-V27YSSV4.js";import"./chunk-LIQRQYKZ.js";import"./chunk-T2QY5RTH.js";import"./chunk-PQZGUDGJ.js";import"./chunk-LLXJSB37.js";import{j as ie}from"./chunk-YWRRGL7S.js";import{e as te}from"./chunk-XMUA7ACY.js";import"./chunk-K5XRGNWG.js";import"./chunk-TGMCGROM.js";import"./chunk-WAGDS532.js";import{m as re,n as oe}from"./chunk-5SXUJ5XH.js";import{s as ne}from"./chunk-3S7C3CCV.js";import"./chunk-PHCYCYXH.js";import{c as X,h as Y,m as Z,o as $,y as ee}from"./chunk-5JWYKH72.js";import"./chunk-PW42BQIY.js";import"./chunk-KESNVJB4.js";import"./chunk-GQH7OSVY.js";import{j as q,k as J,m as K,n as Q}from"./chunk-UPA7TFVG.js";import{$b as W,$c as b,Fb as F,Fc as l,Gc as S,Hc as k,Jc as f,Kc as g,Lb as y,Lc as C,Mc as z,Nc as A,Oc as j,Pc as H,Qc as R,Ra as O,Rc as U,Xb as c,_c as w,ad as G,cc as E,dc as D,fc as N,gc as B,hc as t,ic as i,ja as L,jc as _,nc as M,pa as x,pb as I,rb as o,sc as V,tc as u,v as T,ya as d,za as m}from"./chunk-VFLAHRB4.js";import"./chunk-EU2KAMEK.js";import"./chunk-66YHNWRR.js";var P=(()=>{class n{constructor(){this.httpService=x(te)}getShippedOrders(e){return this.httpService.post(ie.GetShipped,e).pipe(T(p=>p.Data||[]))}static{this.\u0275fac=function(p){return new(p||n)}}static{this.\u0275prov=L({token:n,factory:n.\u0275fac})}}return n})();var _e=()=>[],Se=n=>({"td-cell-hover":n});function fe(n,h){if(n&1&&_(0,"variants-dropdown",27),n&2){let e=u().$implicit;c("variants",e==null?null:e.Variants)}}function ge(n,h){if(n&1&&_(0,"variant-with-image",28),n&2){let e=u().$implicit;c("variant",e==null?null:e.Variants[0])}}function Ce(n,h){if(n&1&&(t(0,"span"),l(1),i()),n&2){let e=u().$implicit;o(),S(e.LogisticService==null?null:e.LogisticService.Option)}}function ve(n,h){if(n&1&&(t(0,"tr")(1,"td"),l(2),i(),t(3,"td")(4,"div",23)(5,"div",24)(6,"div"),_(7,"img",25),w(8,"channelImage"),i(),t(9,"div"),_(10,"order-link",26),i()(),t(11,"small"),l(12),w(13,"date"),i()()(),t(14,"td"),l(15),i(),t(16,"td"),y(17,fe,1,1,"variants-dropdown",27)(18,ge,1,1,"variant-with-image",28),i(),t(19,"td",29),l(20),w(21,"number"),i(),t(22,"td")(23,"span"),l(24),i(),y(25,Ce,2,1,"span"),i()()),n&2){let e=h.$implicit;o(2),S(e.Outlet),o(5),c("src",b(8,12,e==null?null:e.MarketType),I)("alt",e==null||e.Variants[0]==null?null:e.Variants[0].Name),o(3),c("order",e),o(2),k(" ",G(13,14,e==null?null:e.Created,"dd/MM/yyyy HH:mm:ss")," "),o(3),S(e.Customer),o(),W(U(19,Se,(e.Variants==null?null:e.Variants.length)>1)),o(),E((e.Variants==null?null:e.Variants.length)>1?17:18),o(3),S(b(21,17,e.Amount)),o(4),S(e.LogisticService!=null&&e.LogisticService.Name?e.LogisticService==null?null:e.LogisticService.Name:"-"),o(),E(e.LogisticService!=null&&e.LogisticService.Option&&(e.LogisticService==null?null:e.LogisticService.Option)!="Default"?25:-1)}}function we(n,h){if(n&1){let e=M();t(0,"div",13)(1,"table",15)(2,"thead",16)(3,"tr",17)(4,"th",18),l(5,"Outlet"),i(),t(6,"th",19),l(7,"Number"),i(),t(8,"th",19),l(9,"Customer"),i(),t(10,"th"),l(11,"Items"),i(),t(12,"th",20),l(13,"Amount"),i(),t(14,"th",21),l(15,"Shipping"),i()()(),t(16,"tbody"),N(17,ve,26,21,"tr",null,D),i()(),t(19,"app-custom-paginator",22),V("next",function(){d(e);let r=u();return m(r.initShippedOrders())})("previous",function(){d(e);let r=u();return m(r.initShippedOrders())}),i()()}if(n&2){let e=u(),p=j(0);o(17),B(p),o(2),c("filter",e.filter())("totaldata",p==null?null:p.length)}}function xe(n,h){n&1&&(t(0,"div",14),_(1,"app-empty-state"),i())}var Ke=(()=>{class n{constructor(){this.shippedService=x(P),this.filter=O({PageNumber:1,PageSize:100,ListChannelID:[],From:new Date,To:new Date})}ngOnInit(){this.initShippedOrders()}initShippedOrders(){this.shippedOrders$=this.shippedService.getShippedOrders(this.filter())}static{this.\u0275fac=function(p){return new(p||n)}}static{this.\u0275cmp=F({type:n,selectors:[["app-shipped"]],features:[H([P])],decls:29,vars:12,consts:[["headerTitle","Shipped","searchBoxPlaceHolder","Search Orders...",3,"onSubmit","hideSearchBox"],[1,"fw-bold","mb-2"],[3,"ngModelChange","multiple","ngModel"],[1,"mt-5"],[1,"mb-4"],["name","From",3,"dateChange","date"],["name","To",3,"dateChange","date"],[1,"fw-bold"],["type","number","name","PageNumber",1,"w-100","mt-2","form-control",3,"ngModelChange","ngModel"],["type","number","name","PageSize",1,"w-100","mt-2","form-control",3,"ngModelChange","ngModel"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-md-12"],[1,"table-responsive"],[1,"d-flex","flex-column","justify-content-center","align-items-center",2,"margin-top","26vh"],[1,"table"],[1,"sticky-top-thead"],[1,"table-light"],[2,"width","100px"],[2,"width","250px"],[1,"text-end",2,"width","150px"],[2,"width","150px"],["rowCountApi","/api/orders/shippedcount",3,"next","previous","filter","totaldata"],[1,"lh-sm"],[1,"d-flex","align-items-end","gap-2"],[2,"width","12px","padding-bottom","2.5px",3,"src","alt"],[2,"font-size","14px",3,"order"],[3,"variants"],[3,"variant"],[1,"text-end"]],template:function(p,r){if(p&1){let s=M();z(0),w(1,"async"),t(2,"mainpanel",0),V("onSubmit",function(){return d(s),m(r.initShippedOrders())}),t(3,"filters")(4,"div")(5,"label",1),l(6,"From/To"),i(),t(7,"channel-select-options",2),C("ngModelChange",function(a){return d(s),g(r.filter().ListChannelID,a)||(r.filter().ListChannelID=a),m(a)}),i()(),t(8,"div",3)(9,"label",1),l(10,"From/To"),i(),t(11,"div",4)(12,"datepicker",5),C("dateChange",function(a){return d(s),g(r.filter().From,a)||(r.filter().From=a),m(a)}),i()(),t(13,"div")(14,"datepicker",6),C("dateChange",function(a){return d(s),g(r.filter().To,a)||(r.filter().To=a),m(a)}),i()()(),t(15,"div",3)(16,"label",7),l(17,"Page Number"),i(),t(18,"input",8),C("ngModelChange",function(a){return d(s),g(r.filter().PageNumber,a)||(r.filter().PageNumber=a),m(a)}),i()(),t(19,"div",3)(20,"label",7),l(21,"Page Size"),i(),t(22,"input",9),C("ngModelChange",function(a){return d(s),g(r.filter().PageSize,a)||(r.filter().PageSize=a),m(a)}),i()()(),t(23,"content")(24,"div",10)(25,"div",11)(26,"div",12),y(27,we,20,2,"div",13)(28,xe,2,0,"div",14),i()()()()()}if(p&2){let s=A(b(1,8,r.shippedOrders$)||R(11,_e));o(2),c("hideSearchBox",!0),o(5),c("multiple",!0),f("ngModel",r.filter().ListChannelID),o(5),f("date",r.filter().From),o(2),f("date",r.filter().To),o(4),f("ngModel",r.filter().PageNumber),o(4),f("ngModel",r.filter().PageSize),o(5),E(s.length>0?27:28)}},dependencies:[Q,q,K,J,oe,re,le,ae,ee,X,$,Y,Z,me,se,ce,pe,de,ne,ue],encapsulation:2})}}return n})();export{Ke as ShippedComponent};
@@ -1 +0,0 @@
1
- import{b as c}from"./chunk-HCZDLZLY.js";import{a as l}from"./chunk-2IRI6JVT.js";import"./chunk-YWRRGL7S.js";import"./chunk-XMUA7ACY.js";import"./chunk-K5XRGNWG.js";import"./chunk-TGMCGROM.js";import{n as u}from"./chunk-5SXUJ5XH.js";import"./chunk-3S7C3CCV.js";import"./chunk-PHCYCYXH.js";import{y as s}from"./chunk-5JWYKH72.js";import"./chunk-PW42BQIY.js";import"./chunk-KESNVJB4.js";import"./chunk-GQH7OSVY.js";import{F as a,J as n,n as i}from"./chunk-UPA7TFVG.js";import{Fb as p,Gb as r,jc as d,ka as e}from"./chunk-VFLAHRB4.js";import"./chunk-EU2KAMEK.js";import"./chunk-66YHNWRR.js";var M=(()=>{class t{constructor(){}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=p({type:t,selectors:[["app-report"]],standalone:!1,decls:1,vars:0,template:function(o,C){o&1&&d(0,"router-outlet")},dependencies:[a],styles:["ul[_ngcontent-%COMP%] > li.dropdown-item[_ngcontent-%COMP%]{font-size:.6875rem!important}"]})}}return t})();var R=[{path:"",component:M,children:[{path:"",redirectTo:"order",pathMatch:"full"},{path:"order",loadChildren:()=>import("./chunk-NK7MW7P2.js").then(t=>t.OrderModule),canActivate:[l]}]}],h=(()=>{class t{static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275mod=r({type:t})}static{this.\u0275inj=e({imports:[i,n.forChild(R)]})}}return t})();var S=(()=>{class t{static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275mod=r({type:t})}static{this.\u0275inj=e({imports:[i,c,h,s,u,n]})}}return t})();export{S as ReportModule};
@@ -1 +0,0 @@
1
- import{a as se,b as ce,c as ue}from"./chunk-LXSQIECO.js";import{a as _e}from"./chunk-JYT2OOPZ.js";import{a as de}from"./chunk-2SABH24F.js";import{a as me}from"./chunk-CXIBIPS5.js";import{a as pe}from"./chunk-4NOCCDHL.js";import"./chunk-ACIMXBIC.js";import"./chunk-ZUKHXAUV.js";import"./chunk-6ZQHMI2W.js";import"./chunk-CDNNFRZK.js";import"./chunk-3RK6DDJD.js";import{a as ae}from"./chunk-7SLPBFFW.js";import"./chunk-NB5JKHKF.js";import"./chunk-ZUFLZMHT.js";import"./chunk-YOGRCIUI.js";import"./chunk-SDUUFQUI.js";import"./chunk-JNXIAVS4.js";import"./chunk-PRVOIBMJ.js";import"./chunk-V27YSSV4.js";import"./chunk-LIQRQYKZ.js";import"./chunk-T2QY5RTH.js";import"./chunk-PQZGUDGJ.js";import"./chunk-LLXJSB37.js";import{j as ne}from"./chunk-YWRRGL7S.js";import{e as ie}from"./chunk-XMUA7ACY.js";import"./chunk-K5XRGNWG.js";import"./chunk-TGMCGROM.js";import"./chunk-WAGDS532.js";import{m as le,n as oe}from"./chunk-5SXUJ5XH.js";import{s as re}from"./chunk-3S7C3CCV.js";import"./chunk-PHCYCYXH.js";import{c as Y,h as Z,m as $,o as ee,y as te}from"./chunk-5JWYKH72.js";import"./chunk-PW42BQIY.js";import"./chunk-KESNVJB4.js";import"./chunk-GQH7OSVY.js";import{j as J,k as K,m as Q,n as X}from"./chunk-UPA7TFVG.js";import{$b as W,$c as b,Fb as I,Fc as a,Gc as v,Hc as k,Jc as g,Kc as C,Lb as x,Lc as h,Mc as z,Nc as j,Oc as H,Pc as R,Qc as U,Ra as O,Rc as G,Xb as c,Z as T,_c as w,ad as q,cc as A,dc as N,fc as B,gc as D,hc as i,ic as n,ja as L,jc as f,nc as E,pa as y,pb as F,rb as l,sc as M,tc as u,v as P,ya as d,za as s}from"./chunk-VFLAHRB4.js";import"./chunk-EU2KAMEK.js";import"./chunk-66YHNWRR.js";var V=(()=>{class t{constructor(){this.httpService=y(ie)}getAllOrders(e){return this.httpService.post(ne.GetAll,e).pipe(P(m=>m.Data))}static{this.\u0275fac=function(m){return new(m||t)}}static{this.\u0275prov=L({token:t,factory:t.\u0275fac})}}return t})();var ge=()=>[],Ce=t=>({"td-cell-hover":t});function he(t,_){if(t&1&&f(0,"variants-dropdown",25),t&2){let e=u().$implicit;c("variants",e==null?null:e.Variants)}}function Se(t,_){if(t&1&&f(0,"variant-with-image",26),t&2){let e=u().$implicit;c("variant",e==null?null:e.Variants[0])}}function ve(t,_){if(t&1&&(i(0,"span"),a(1),n()),t&2){let e=u().$implicit;l(),v(e.LogisticService==null?null:e.LogisticService.Option)}}function we(t,_){if(t&1&&(i(0,"tr")(1,"td")(2,"div",21)(3,"div",22)(4,"div"),f(5,"img",23),w(6,"channelImage"),n(),i(7,"div"),f(8,"order-link",24),n()(),i(9,"small"),a(10),w(11,"date"),n()()(),i(12,"td"),a(13),n(),i(14,"td"),x(15,he,1,1,"variants-dropdown",25)(16,Se,1,1,"variant-with-image",26),n(),i(17,"td"),a(18),w(19,"number"),n(),i(20,"td")(21,"span"),a(22),n(),x(23,ve,2,1,"span"),n()()),t&2){let e=_.$implicit;l(5),c("src",b(6,11,e==null?null:e.MarketType),F)("alt",e==null||e.Variants[0]==null?null:e.Variants[0].Name),l(3),c("order",e),l(2),k(" ",q(11,13,e==null?null:e.Created,"dd/MM/yyyy HH:mm:ss")," "),l(3),v(e.Customer),l(),W(G(18,Ce,(e.Variants==null?null:e.Variants.length)>1)),l(),A((e.Variants==null?null:e.Variants.length)>1?15:16),l(3),v(b(19,16,e.Amount)),l(4),v(e.LogisticService!=null&&e.LogisticService.Name?e.LogisticService==null?null:e.LogisticService.Name:"-"),l(),A(e.LogisticService!=null&&e.LogisticService.Option&&(e.LogisticService==null?null:e.LogisticService.Option)!="Default"?23:-1)}}function ye(t,_){if(t&1){let e=E();i(0,"div",13)(1,"table",15)(2,"thead",16)(3,"tr",17)(4,"th",18),a(5,"Number"),n(),i(6,"th",18),a(7,"Customer"),n(),i(8,"th"),a(9,"Items"),n(),i(10,"th",19),a(11,"Amount"),n(),i(12,"th",19),a(13,"Shipping"),n()()(),i(14,"tbody"),B(15,we,24,20,"tr",null,N),n()(),i(17,"app-custom-paginator",20),M("next",function(){d(e);let r=u();return s(r.initAllOrders())})("previous",function(){d(e);let r=u();return s(r.initAllOrders())}),n()()}if(t&2){let e=u(),m=H(0);l(15),D(m),l(2),c("filter",e.filter())("totaldata",m==null?null:m.length)}}function xe(t,_){t&1&&(i(0,"div",14),f(1,"app-empty-state"),n())}var Xe=(()=>{class t{constructor(){this.allService=y(V),this.filter=O({PageNumber:1,PageSize:100,ListChannelID:[],From:null,To:null})}ngOnInit(){this.initAllOrders()}initAllOrders(){this.allOrders$=this.allService.getAllOrders(this.filter()).pipe(T(1))}static{this.\u0275fac=function(m){return new(m||t)}}static{this.\u0275cmp=I({type:t,selectors:[["app-all"]],features:[R([V])],decls:29,vars:12,consts:[["headerTitle","Completed","searchBoxPlaceHolder","Search Orders...",3,"onSubmit","hideSearchBox"],[1,"fw-bold","mb-2"],[3,"ngModelChange","multiple","ngModel"],[1,"mt-5"],[1,"mb-4"],["name","From",3,"dateChange","date"],["name","To",3,"dateChange","date"],[1,"fw-bold"],["type","number","name","PageNumber",1,"w-100","mt-2","form-control",3,"ngModelChange","ngModel"],["type","number","name","PageSize",1,"w-100","mt-2","form-control",3,"ngModelChange","ngModel"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-md-12"],[1,"table-responsive"],[1,"d-flex","flex-column","justify-content-center","align-items-center",2,"margin-top","26vh"],[1,"table"],[1,"sticky-top-thead"],[1,"table-light"],[2,"width","250px"],[2,"width","150px"],["rowCountApi","/api/orders/allcount",3,"next","previous","filter","totaldata"],[1,"lh-sm"],[1,"d-flex","align-items-end","gap-2"],[2,"width","14px","padding-bottom","2.5px",3,"src","alt"],[3,"order"],[3,"variants"],[3,"variant"]],template:function(m,r){if(m&1){let p=E();z(0),w(1,"async"),i(2,"mainpanel",0),M("onSubmit",function(){return d(p),s(r.initAllOrders())}),i(3,"filters")(4,"div")(5,"label",1),a(6,"From/To"),n(),i(7,"channel-select-options",2),h("ngModelChange",function(o){return d(p),C(r.filter().ListChannelID,o)||(r.filter().ListChannelID=o),s(o)}),n()(),i(8,"div",3)(9,"label",1),a(10,"From/To"),n(),i(11,"div",4)(12,"datepicker",5),h("dateChange",function(o){return d(p),C(r.filter().From,o)||(r.filter().From=o),s(o)}),n()(),i(13,"div")(14,"datepicker",6),h("dateChange",function(o){return d(p),C(r.filter().To,o)||(r.filter().To=o),s(o)}),n()()(),i(15,"div",3)(16,"label",7),a(17,"Page Number"),n(),i(18,"input",8),h("ngModelChange",function(o){return d(p),C(r.filter().PageNumber,o)||(r.filter().PageNumber=o),s(o)}),n()(),i(19,"div",3)(20,"label",7),a(21,"Page Size"),n(),i(22,"input",9),h("ngModelChange",function(o){return d(p),C(r.filter().PageSize,o)||(r.filter().PageSize=o),s(o)}),n()()(),i(23,"content")(24,"div",10)(25,"div",11)(26,"div",12),x(27,ye,18,2,"div",13)(28,xe,2,0,"div",14),n()()()()()}if(m&2){let p=j(b(1,8,r.allOrders$)||U(11,ge));l(2),c("hideSearchBox",!0),l(5),c("multiple",!0),g("ngModel",r.filter().ListChannelID),l(5),g("date",r.filter().From),l(2),g("date",r.filter().To),l(4),g("ngModel",r.filter().PageNumber),l(4),g("ngModel",r.filter().PageSize),l(5),A((p==null?null:p.length)>0?27:28)}},dependencies:[X,J,Q,K,oe,le,me,ae,te,Y,ee,Z,$,se,ce,ue,pe,de,re,_e],encapsulation:2})}}return t})();export{Xe as AllComponent};
@@ -1 +0,0 @@
1
- import{a as F}from"./chunk-CXIBIPS5.js";import{e as B}from"./chunk-XMUA7ACY.js";import"./chunk-K5XRGNWG.js";import{m as $,n as H}from"./chunk-5SXUJ5XH.js";import"./chunk-3S7C3CCV.js";import"./chunk-PHCYCYXH.js";import"./chunk-5JWYKH72.js";import"./chunk-KESNVJB4.js";import{E as I,H as M,J as R,f as w,j as y,k as b,n as T}from"./chunk-UPA7TFVG.js";import{$c as u,Fb as _,Fc as o,Hc as d,Lb as p,Xb as h,Z as v,_c as m,ad as S,cc as O,ea as E,hc as e,ic as t,jc as C,q as x,rb as a,tc as g,v as D,xb as c}from"./chunk-VFLAHRB4.js";import"./chunk-EU2KAMEK.js";import"./chunk-66YHNWRR.js";function N(n,s){if(n&1&&(e(0,"tr")(1,"td"),o(2),t(),e(3,"td"),o(4),t(),e(5,"td"),o(6),m(7,"date"),t(),e(8,"td"),o(9),m(10,"date"),t(),e(11,"td"),o(12),t()()),n&2){let i=s.$implicit;a(2),d(" ",i.Number," "),a(2),d(" ",i.Status," "),a(2),d(" ",S(7,5,i.Start,"HH:mm:ss:SSS")," "),a(3),d(" ",S(10,8,i.End,"HH:mm:ss:SSS")," "),a(3),d(" ",i.Exception," ")}}function P(n,s){if(n&1&&(e(0,"div",5)(1,"table",7)(2,"thead")(3,"tr",8)(4,"th",9),o(5,"Number"),t(),e(6,"th",10),o(7,"Status"),t(),e(8,"th",11),o(9,"Start Time"),t(),e(10,"th",11),o(11,"End Time"),t(),e(12,"th"),o(13,"Exception"),t()()(),e(14,"tbody"),p(15,N,13,11,"tr",12),m(16,"async"),t()()()),n&2){let i=g();a(15),h("ngForOf",u(16,1,i.orderDetails$))}}function L(n,s){n&1&&(e(0,"div",6),C(1,"app-empty-state"),t())}var V=(()=>{class n{constructor(i,r){this.route=i,this.httpService=r,this.orderDetails$=x([])}ngOnInit(){this.initOrderDetails()}initOrderDetails(){let i=this.route.snapshot?.queryParams;this.orderDetails$=this.httpService.post("/api/Orders/DownloadOrderLogsDetail",{ID:i.ID}).pipe(E(r=>{let l=r?.hits[0]?._source;this.headerTitle=`${l?.ChannelName} (${l?.DateRange})`}),D(r=>r?.hits[0]._source?.Detail),v(1))}static{this.\u0275fac=function(r){return new(r||n)(c(I),c(B))}}static{this.\u0275cmp=_({type:n,selectors:[["app-download-order-detail"]],decls:11,vars:7,consts:[[3,"headerTitle","description","hideSearchBox","hideSearchDropdown"],["role","button","routerLink","/menu/Order/Download_Order_Log",1,"btn","btn-secondary","btn-fill","btn-lg","me-2"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-md-12"],[1,"table-responsive"],[1,"d-flex","flex-column","justify-content-center","align-items-center",2,"margin-top","26vh"],[1,"table","table-hover"],[1,"table-light"],[2,"width","200px"],[2,"width","150px"],[2,"width","100px"],[4,"ngFor","ngForOf"]],template:function(r,l){if(r&1&&(e(0,"mainpanel",0)(1,"actions")(2,"a",1),o(3,"Back"),t()(),e(4,"content")(5,"div",2)(6,"div",3)(7,"div",4),p(8,P,17,3,"div",5),m(9,"async"),p(10,L,2,0,"div",6),t()()()()()),r&2){let f;h("headerTitle",l.headerTitle)("description",l.headerTitle)("hideSearchBox",!0)("hideSearchDropdown",!0),a(8),O(((f=u(9,5,l.orderDetails$))==null?null:f.length)>0?8:10)}},dependencies:[T,w,y,b,H,$,F,R,M],encapsulation:2})}}return n})();export{V as DownloadOrderDetailComponent};
@@ -1 +0,0 @@
1
- import{a as _}from"./chunk-634DNHPF.js";import"./chunk-XMUA7ACY.js";import"./chunk-K5XRGNWG.js";import{m as A,n as L}from"./chunk-5SXUJ5XH.js";import"./chunk-3S7C3CCV.js";import"./chunk-PHCYCYXH.js";import"./chunk-5JWYKH72.js";import"./chunk-KESNVJB4.js";import{E as R,H as b,J as M,g as I,j as g,k as x,l as D,m as E,n as C}from"./chunk-UPA7TFVG.js";import{$c as s,Fb as h,Fc as o,Gc as p,Hc as S,Lb as f,Xb as c,Z as y,_c as l,ad as v,hc as i,ic as n,rb as a,v as u,xb as m}from"./chunk-VFLAHRB4.js";import"./chunk-EU2KAMEK.js";import"./chunk-66YHNWRR.js";function P(r,B){if(r&1&&(i(0,"div",3)(1,"div",4)(2,"div",5)(3,"div",6)(4,"div",7)(5,"h5"),o(6,"General"),n()(),i(7,"div",8)(8,"div",9)(9,"div",10)(10,"div",11)(11,"label"),o(12,"Created"),n(),i(13,"div")(14,"span"),o(15),l(16,"date"),n()()()(),i(17,"div",10)(18,"div",11)(19,"label"),o(20,"Duration"),n(),i(21,"div")(22,"span"),o(23),l(24,"number"),n()()()(),i(25,"div",10)(26,"div",11)(27,"label"),o(28,"Response Code"),n(),i(29,"div")(30,"span"),o(31),n()()()()()()()()(),i(32,"div",4)(33,"div",10)(34,"div",6)(35,"div",7)(36,"h5"),o(37,"Request"),n()(),i(38,"div",8)(39,"div",12)(40,"div",13)(41,"pre"),o(42),l(43,"json"),n()()()()()(),i(44,"div",10)(45,"div",6)(46,"div",7)(47,"h5"),o(48,"Response"),n()(),i(49,"div",8)(50,"div",14)(51,"div",13)(52,"pre"),o(53),l(54,"json"),n()()()()()()()()),r&2){let e=B.ngIf;a(15),p(v(16,5,e==null?null:e._source["@timestamp"],"dd MMM yyyy HH:mm:ss")),a(8),S("",v(24,8,e==null?null:e.DurationInSecond,"1.1-1")," s"),a(8),p(e==null?null:e.respCode),a(11),p(s(43,11,e==null?null:e.req)),a(11),p(s(54,13,e==null?null:e.res))}}var $=(()=>{class r{constructor(e,t){this.inventoryAsyncServiceLog=e,this.activatedRoute=t}ngOnInit(){let e=this.activatedRoute.snapshot.queryParams;this.initInventoryLog(e?.ID)}initInventoryLog(e){this.inventoryLog$=this.inventoryAsyncServiceLog.getInventoryAsyncLogDetail(e).pipe(u(t=>{let d=JSON.parse(t.hits[0]._source?.log?.response);return t.hits[0].DurationInSecond=parseInt(d.Duration)/1e3,t.hits[0].respCode=d?.StatusCode,t.hits[0].req=JSON.parse(t.hits[0]._source?.log?.request),t.hits[0].res=d,t?.hits[0]}),y(1))}static{this.\u0275fac=function(t){return new(t||r)(m(_),m(R))}}static{this.\u0275cmp=h({type:r,selectors:[["app-inventory-async-detail"]],decls:7,vars:5,consts:[["headerTitle","Product Inventory Sync Detail",3,"hideSearchBox","hideSearchDropdown"],["role","button","routerLink","/menu/log/inventory",1,"btn","btn-secondary","btn-fill","btn-lg","me-2"],["class","container-fluid mt-3",4,"ngIf"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-12"],[1,"card"],[1,"card-header"],[1,"card-body"],[1,"row","mt-7"],[1,"col-sm-6"],[1,"info-label-group"],[1,"col-sm-12"],[1,"form-group"],[1,"col-sm-12","mt-2"]],template:function(t,d){t&1&&(i(0,"mainpanel",0)(1,"actions")(2,"a",1),o(3,"Back"),n()(),i(4,"content"),f(5,P,55,15,"div",2),l(6,"async"),n()()),t&2&&(c("hideSearchBox",!0)("hideSearchDropdown",!0),a(5),c("ngIf",s(6,3,d.inventoryLog$)))},dependencies:[C,I,g,D,E,x,L,A,M,b],encapsulation:2})}}return r})();export{$ as InventoryAsyncDetailComponent};
@@ -1 +0,0 @@
1
- import{a as ke}from"./chunk-2SABH24F.js";import{a as De}from"./chunk-KP7SEM5B.js";import{a as W}from"./chunk-XHAXYWZ7.js";import{a as Oe,b as Ve,c as Ne,d as J}from"./chunk-LHT5E52E.js";import{a as Te}from"./chunk-GJLXEA4Q.js";import{a as we}from"./chunk-7KG3DC5J.js";import{b as Ee}from"./chunk-MKVZZJMP.js";import"./chunk-ZEAT7ZWR.js";import"./chunk-I44JKLRE.js";import"./chunk-FZDXTSZF.js";import{a as Fe}from"./chunk-K7HUCVG7.js";import"./chunk-6ZQHMI2W.js";import"./chunk-CDNNFRZK.js";import"./chunk-3RK6DDJD.js";import{a as ve,b as Ie,c as ye}from"./chunk-MFZLTVCS.js";import"./chunk-4YVLPJDF.js";import"./chunk-YOGRCIUI.js";import{a as Me}from"./chunk-FFM752SB.js";import"./chunk-SDUUFQUI.js";import"./chunk-JNXIAVS4.js";import"./chunk-PRVOIBMJ.js";import"./chunk-V27YSSV4.js";import"./chunk-LIQRQYKZ.js";import"./chunk-T2QY5RTH.js";import"./chunk-PQZGUDGJ.js";import"./chunk-LLXJSB37.js";import{a as ue,l as xe}from"./chunk-YWRRGL7S.js";import{b as he,e as ge}from"./chunk-XMUA7ACY.js";import"./chunk-K5XRGNWG.js";import"./chunk-TGMCGROM.js";import"./chunk-WAGDS532.js";import{d as Pe,m as be,n as Se}from"./chunk-5SXUJ5XH.js";import{r as A,s as j}from"./chunk-3S7C3CCV.js";import"./chunk-PHCYCYXH.js";import{b as _e,h as R,m as L,y as $}from"./chunk-5JWYKH72.js";import{c as U}from"./chunk-PW42BQIY.js";import"./chunk-KESNVJB4.js";import{b as Ce,c as fe}from"./chunk-GQH7OSVY.js";import{d as se,f as k,g as me,j as pe,m as de,n as B}from"./chunk-UPA7TFVG.js";import{$c as y,Ec as z,Fb as N,Fc as p,G as K,Gc as re,Hc as f,Jc as D,Ka as ee,Kc as O,Lb as u,Lc as V,Pc as ae,Ra as te,Rc as w,Sc as le,Xb as s,Z as G,_b as ne,_c as b,ad as ce,bd as H,cc as ie,dc as M,ea as Y,fc as E,gc as T,hc as o,ic as a,jc as P,kc as S,lc as v,nc as I,pa as Q,pb as F,rb as r,sc as h,tc as m,v as q,wc as oe,xb as x,ya as g,za as C}from"./chunk-VFLAHRB4.js";import"./chunk-EU2KAMEK.js";import{a as X,b as Z}from"./chunk-66YHNWRR.js";var We=(n,c)=>({color:n,"font-weight":c});function Ke(n,c){if(n&1&&(o(0,"mat-radio-button",2),p(1),a()),n&2){let e=c.$implicit,i=c.index,t=m();ne(le(7,We,t.model==e.Key&&t.activeBold?"#0976b4":"",t.model==e.Key&&t.activeBold?"700":"")),s("disabled",t.exception==e.Value)("matTooltip",t.title.length>0?t.title[i]:"")("value",e.Key)("name",t.name),r(),f("",e.Value," ")}}var Be=(()=>{class n{constructor(){this.disabled=!1,this.modelChange=new ee,this.options=[{Key:!1,Value:"No"},{Key:!0,Value:"Yes"}],this.border=!1,this.name="",this.title=[],this.exception="",this.activeBold=""}change(e){this.modelChange.emit(e)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=N({type:n,selectors:[["lib-radio-options"]],inputs:{model:"model",disabled:"disabled",options:"options",border:"border",name:"name",title:"title",exception:"exception",activeBold:"activeBold"},outputs:{modelChange:"modelChange"},decls:2,vars:3,consts:[["color","primary",3,"ngModelChange","disabled","ngModel"],["matTooltipPosition","above","class","me-4 mt-1",3,"style","disabled","matTooltip","value","name",4,"ngFor","ngForOf"],["matTooltipPosition","above",1,"me-4","mt-1",3,"disabled","matTooltip","value","name"]],template:function(i,t){i&1&&(o(0,"mat-radio-group",0),h("ngModelChange",function(d){return t.change(d)}),u(1,Ke,2,10,"mat-radio-button",1),a()),i&2&&(s("disabled",t.disabled)("ngModel",t.model),r(),s("ngForOf",t.options))},dependencies:[B,k,ye,ve,Ie,$,R,L,j,A],styles:["html[_ngcontent-%COMP%]{--mdc-radio-state-layer-size: 36px}html[_ngcontent-%COMP%]{--mat-radio-touch-target-display: block}.mat-mdc-radio-button[_ngcontent-%COMP%] .mdc-radio[_ngcontent-%COMP%] .mdc-radio__native-control[_ngcontent-%COMP%]:enabled:checked + .mdc-radio__background[_ngcontent-%COMP%] .mdc-radio__outer-circle[_ngcontent-%COMP%]{border-color:#0976b4!important}.mat-mdc-radio-button[_ngcontent-%COMP%] .mdc-radio[_ngcontent-%COMP%] .mdc-radio__native-control[_ngcontent-%COMP%]:enabled + .mdc-radio__background[_ngcontent-%COMP%] .mdc-radio__inner-circle[_ngcontent-%COMP%]{background-color:#0976b4!important;border-color:#0976b4!important}"]})}}return n})();var Re=n=>[n],Ge=n=>({"text-decoration-line-through":n}),ze=n=>({"border-bottom":n}),He=n=>({"bg-gradient-warning":n});function Je(n,c){if(n&1){let e=I();S(0),o(1,"div")(2,"label",21),p(3,"Channel"),a(),o(4,"channel-select-options",22),V("ngModelChange",function(t){g(e);let l=m();return O(l.searchFilter.ListChannelID,t)||(l.searchFilter.ListChannelID=t),C(t)}),a()(),o(5,"div",23)(6,"label",24),p(7,"Filter by"),a(),o(8,"lib-radio-options",25),V("modelChange",function(t){g(e);let l=m();return O(l.searchFilter.filterModel,t)||(l.searchFilter.filterModel=t),C(t)}),a()(),v()}if(n&2){let e=m();r(4),s("multiple",!0),D("ngModel",e.searchFilter.ListChannelID),r(4),D("model",e.searchFilter.filterModel),s("options",e.filterTypeOptions)}}function Xe(n,c){if(n&1){let e=I();o(0,"button",27),h("click",function(){g(e);let t=m().ngIf,l=m();return C(l.onUpdateItems(t))}),P(1,"i",28),p(2," Update "),a()}}function Ze(n,c){if(n&1&&(S(0),o(1,"div",4),u(2,Xe,3,0,"button",26),a(),v()),n&2){let e=c.ngIf,i=m();r(2),s("ngIf",i.productService.hasSelectionVariant(e))}}function qe(n,c){if(n&1&&(o(0,"th",15)(1,"div",29),P(2,"img",30),o(3,"div",31),p(4),b(5,"stringLimit"),a()()()),n&2){let e=c.$implicit;r(),s("matTooltip",(e.Name==null?null:e.Name.length)>20?e.Name:""),r(),s("src",e==null?null:e.Img,F),r(2),f(" ",ce(5,3,e.Name,20)," ")}}function Ye(n,c){if(n&1){let e=I();o(0,"th")(1,"input",32),V("ngModelChange",function(t){g(e);let l=m();return O(l.checkboxState,t)||(l.checkboxState=t),C(t)}),h("ngModelChange",function(){g(e);let t=m();return C(t.onSelectAllData())}),a()()}if(n&2){let e=m();r(),D("ngModel",e.checkboxState)}}function Qe(n,c){n&1&&(o(0,"th",33)(1,"span"),p(2,"Expected"),a(),o(3,"span",34),p(4,"(POS)"),a()(),o(5,"th",33),p(6,"Channel"),a())}function et(n,c){if(n&1){let e=I();o(0,"img",47),h("click",function(t){g(e);let l=m(3).$implicit,d=m(2);return C(d.onZoomImage(t,l==null?null:l.ImageUrl))}),a()}if(n&2){let e=m(3).$implicit;oe("src",e==null?null:e.ImageUrl,F)}}function tt(n,c){n&1&&P(0,"img",48)}function nt(n,c){if(n&1&&(o(0,"small",46),p(1),a()),n&2){let e=m(3).$implicit;r(),f("(",e==null?null:e.Category,")")}}function it(n,c){if(n&1&&(S(0),o(1,"td",42),u(2,et,1,1,"img",43)(3,tt,1,0,"ng-template",null,0,H),a(),o(5,"td",44)(6,"h5",45),p(7),a(),u(8,nt,2,1,"small",46),a(),v()),n&2){let e=z(4),i=m().$index,t=m().$implicit,l=m().ngIf;r(),s("rowSpan",t==null?null:t.Variants.length)("ngClass",w(7,ze,i+1==l.length)),r(),s("ngIf",t==null?null:t.ImageUrl)("ngIfElse",e),r(3),s("rowSpan",t==null?null:t.Variants.length),r(2),re(t==null?null:t.Name),r(),ie(t!=null&&t.Category?8:-1)}}function ot(n,c){if(n&1){let e=I();o(0,"td",49)(1,"input",32),V("ngModelChange",function(t){g(e);let l=m().$implicit;return O(l.selected,t)||(l.selected=t),C(t)}),a()()}if(n&2){let e=m().$implicit;r(),D("ngModel",e.selected)}}function rt(n,c){if(n&1){let e=I();S(0),o(1,"td",51),p(2),b(3,"number"),a(),o(4,"td",52),h("click",function(){let t=g(e).$implicit,l=m(2).$implicit,d=m().$implicit,_=m(2);return C(_.openTableDialog(l,d,t))}),o(5,"div",53)(6,"div",54),p(7),b(8,"number"),a(),o(9,"a",55),h("click",function(t){return g(e),C(t==null?null:t.stopPropagation())}),P(10,"i",40),a()()(),v()}if(n&2){let e=c.$implicit;r(2),f(" ",y(3,4,e.PriceExpected)," "),r(2),s("ngClass",w(8,He,e.Price!=e.PriceExpected)),r(3),f(" ",y(8,6,e.Price)," "),r(2),s("href",e.Url,F)}}function at(n,c){n&1&&(o(0,"td",56),p(1," X "),a(),o(2,"td",56),p(3," X "),a())}function lt(n,c){if(n&1&&(S(0),u(1,rt,11,10,"ng-container",50)(2,at,4,0,"ng-template",null,1,H),v()),n&2){let e=c.$implicit,i=z(3),t=m().$implicit,l=m(3);r(),s("ngIf",l.getItemFromChannel(t,e.ID))("ngIfElse",i)}}function ct(n,c){if(n&1&&(o(0,"tr"),u(1,it,9,9,"ng-container",3),o(2,"td",35),p(3),a(),o(4,"td",36)(5,"div",37)(6,"div",38),p(7),a(),o(8,"div",31)(9,"a",39),P(10,"i",40),a()()()(),u(11,ot,2,1,"ng-template",19)(12,lt,4,2,"ng-container",41),a()),n&2){let e=c.$implicit,i=c.$index,t=m(3);r(),s("ngIf",i==0),r(2),f(" ",e==null?null:e.Model," "),r(),s("matTooltip",e.Discontinued?t.discontinuedVariantMsg:""),r(2),s("ngClass",w(8,Ge,e.Discontinued)),r(),f(" ",e==null?null:e.Code," "),r(2),s("href",t.hostName+"/menu/Products/Catalog/Variants/Info?ID="+(e==null?null:e.ID),F),r(2),s("ngxPermissionsOnly",w(10,Re,t.rolePriceEdit)),r(),s("ngForOf",t.channels())}}function st(n,c){if(n&1&&(o(0,"tbody"),E(1,ct,13,12,"tr",null,M),a()),n&2){let e=c.$implicit;r(),T(e.Variants)}}function mt(n,c){if(n&1&&(S(0),E(1,st,3,0,"tbody",null,M),v()),n&2){let e=c.ngIf;r(),T(e)}}var qt=(()=>{class n{constructor(e,i,t,l,d,_,Le){this.http=e,this.toastr=i,this.dialog=t,this.productService=l,this.authService=d,this.biggerPictureService=_,this.paginationService=Le,this.infinitePagination=Q(J),this.searchFilter=new we,this.checkboxState=!1,this.rolePriceEdit=ue.price,this.discontinuedVariantMsg="This Variant is discontinued from POS, you must Non Active manually at the seller center so that it is not sold again on the channel.",this.rowCountAPI="Inventory/GetMultipleChannelComparisonRowCount",this.channels=te([]),this.filterTypeOptions=[{Key:W.ALL,Value:"All"},{Key:W.DIFFERENCE,Value:"Difference"}],this.pageData={Title:"Price Realtime",Nav:[{Title:"Price Cache",Url:"/menu/price",Active:!1}]},this.channelOptions=this.authService.getChannels(),this.hostName=this.authService.getDomain(),this.initPagination(),this.initChannelTable()}initChannelTable(){let e=this.searchFilter.ListChannelID,i=[];U.IsEmpty(e)||e?.length==0?i=this.channelOptions:i=this.channelOptions.filter(t=>e.findIndex(l=>l==t.ID)>-1),this.channels.update(()=>i)}initPagination(){this.infinitePagination.fetchDataEndpoint="Price/GetOutletPrice",this.infinitePagination.fethRowCountEndpoint=this.rowCountAPI,this.initProduct(),this.initPageLoader()}initProduct(){this.data$=this.infinitePagination.data$.pipe(G(1))}initPageLoader(){this.loader$=this.http.post("/api/PriceLoader/LoadMultiple",{}).pipe(Y(e=>{this.searchFilter=e.Filter,this.searchFilter.filterModel=W.ALL,this.infinitePagination.reloadPagination(this.searchFilter)}),G(1))}onSelectAllData(){this.data$=this.data$.pipe(q(e=>(e.map(i=>(i.Variants&&(i.Variants=i.Variants.map(t=>(t.selected=this.checkboxState,t))),i)),e)))}onFilter(e){this.searchFilter.text=e;let i=Z(X({},this.searchFilter),{text:e,PageNumber:this.searchFilter.PageNumber,RowCount:this.searchFilter.RowCount});this.initChannelTable(),this.infinitePagination.reloadPagination(i)}updatePrice(e){let i=this.productService.selectedVariantProduct(e);if(i.length>0){let t=i.map(_=>_.ID),d={ListChannelID:this.channelOptions.filter(_=>_.selected).map(_=>_.ID),ListID:t};this.http.post("/api/Price/UpdateChannelOutletPrice",d).subscribe({next:_=>{this.resetSelectedChannel(),this.onFilter(),this.toastr.success("Successfully updated "+d.ListID.length+" items in "+d.ListChannelID.length+" channels","Success")},error:_=>{this.resetSelectedChannel()}})}}resetSelectedChannel(){this.channelOptions=this.channelOptions.map(e=>(e.selected=!1,e))}getItemFromChannel(e,i){return e.Channel.find(t=>t.ChannelID==i)}onUpdateItems(e){let i=this.productService.selectedVariantProduct(e);this.dialog.open(De,{data:{title:"Updating Price",selectedItems:i,channels:this.channelOptions},width:"400px"}).afterClosed().pipe(K(t=>U.IsNotEmpty(t))).subscribe(t=>{this.channelOptions=t,this.updatePrice(e)})}openTableDialog(e,i,t){let l=JSON.parse(JSON.stringify(e));this.dialog.open(Oe,{data:{Name:i.Name,Variant:l,ChannelID:t?.ChannelID,Table:"price",ChannelItemID:t?.ChannelItemID}}).afterClosed().pipe(K(_=>U.IsNotEmpty(_))).subscribe(_=>{this.updateProductPrice(_,t)})}updateProductPrice(e,i){let t={ID:e.ChannelID,ChannelItemID:e.ChannelItemID,ChannelVariantID:e.ChannelVariationID,Price:parseFloat(e.Price),VariantID:e.ID,SKU:e.Sku};this.http.post("/api/Price/UpdatePriceByID",t).subscribe(l=>{i.Price=t.Price;let d=this.productService.findChannelById(t.ID,this.channelOptions);this.toastr.success(`Successfully updated ${e.ItemName} (${e.VarName}) inventory in ${d.Name} to ${t.Price}`,"Success")})}openExportDialog(){this.dialog.open(Ee,{data:{title:"Export Custom Channel Price",pageNumber:this.searchFilter.PageNumber,rowCount:this.searchFilter.RowCount,filterExport:this.searchFilter,getRowCountApi:this.rowCountAPI,exportApi:"price/GetExportOutletPrice"}}).afterClosed().subscribe()}onZoomImage(e,i){this.biggerPictureService.openBiggerPicture(e,i)}static{this.\u0275fac=function(i){return new(i||n)(x(ge),x(he),x(Pe),x(Fe),x(xe),x(Me),x(Te))}}static{this.\u0275cmp=N({type:n,selectors:[["app-custom-channel-price"]],features:[ae([J])],decls:38,vars:23,consts:[["elsePic",""],["elseCol",""],["headerTitle","Price Comparison",3,"onSubmit","hideSearchBox","hideSearchDropdown","textButton"],[4,"ngIf"],[1,"d-flex"],[1,"btn","btn-outline-secondary","shadow","rounded","ms-2",3,"click"],[1,"fa-solid","fa-print","me-3"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-md-12"],[1,"table-responsive"],[1,"table"],[1,"thead-light","sticky-top-thead"],[1,"channel-column"],["colspan","5"],["scope","col","colspan","2",1,"text-center","border-bottom-0","border","text-uppercase"],["scope","col","colspan","2",1,"text-center","w-25"],["scope","col",1,"text-start","w-20"],["scope","col",1,"text-end","w-10"],[3,"ngxPermissionsOnly"],[3,"onNextPage","onLastPage","onGetRowCount","totalData","hideCount","rowCount","pageNumber","disableNextButton","goToLastPage"],[1,"fw-bold","mb-2"],[3,"ngModelChange","multiple","ngModel"],[1,"mt-5",2,"height","46px"],[1,"fw-bold","mb-2","d-block"],["name","filterModel",3,"modelChange","model","options"],["type","button","class","btn btn-success shadow rounded","data-toggle","modal",3,"click",4,"ngIf"],["type","button","data-toggle","modal",1,"btn","btn-success","shadow","rounded",3,"click"],[1,"fas","fa-chevron-circle-up"],["matTooltipPosition","above",1,"d-flex","align-items-center","justify-content-center",2,"width","180px",3,"matTooltip"],[2,"width","16px","height","16px",3,"src"],[1,"ms-2"],["type","checkbox",3,"ngModelChange","ngModel"],[1,"text-end","border-top-0","border","w-10"],[1,"ms-1"],[1,"text-start","border-bottom"],["matTooltipPosition","above",1,"text-end","border-bottom",3,"matTooltip"],[1,"d-flex","align-items-center","justify-content-end"],[3,"ngClass"],["target","_blank",3,"href"],[1,"fas","fa-solid","fa-arrow-up-right-from-square","external-link-custom"],[4,"ngFor","ngForOf"],[1,"text-center",3,"rowSpan","ngClass"],["class","border rounded w-img cursor-pointer",3,"src","click",4,"ngIf","ngIfElse"],[1,"text-start","border-bottom",2,"padding-left","0px",3,"rowSpan"],[1,"mb-0","item-name"],[1,"mt-1"],[1,"border","rounded","w-img","cursor-pointer",3,"click","src"],["src","//res.cloudinary.com/pos/image/upload/w_40/POS/Images/Icon/products_thumb.png",1,"border","rounded","w-img"],[1,"align-middle"],[4,"ngIf","ngIfElse"],[1,"text-end","border"],[1,"text-center","border","pointer","cell-hover",3,"click","ngClass"],[1,"d-flex","align-items-center","justify-content-center"],[1,"me-2"],["target","_blank",3,"click","href"],[1,"table-white","border","text-end",2,"color","red"]],template:function(i,t){i&1&&(o(0,"mainpanel",2),h("onSubmit",function(d){return t.onFilter(d)}),o(1,"filters"),u(2,Je,9,4,"ng-container",3),b(3,"async"),a(),o(4,"actions")(5,"div",4),u(6,Ze,3,1,"ng-container",3),b(7,"async"),o(8,"button",5),h("click",function(){return t.openExportDialog()}),P(9,"i",6),o(10,"span"),p(11,"Export"),a()()()(),o(12,"content")(13,"div",7)(14,"div",8)(15,"div",9)(16,"div",10)(17,"table",11)(18,"thead",12)(19,"tr",13),P(20,"th",14),E(21,qe,6,6,"th",15,M),a(),o(23,"tr")(24,"th",16)(25,"span"),p(26," Product "),a()(),o(27,"th",17),p(28,"Variant"),a(),o(29,"th",18),p(30,"SKU"),a(),u(31,Ye,2,1,"ng-template",19),E(32,Qe,7,0,null,null,M),a()(),u(34,mt,3,0,"ng-container",3),b(35,"async"),a(),o(36,"infinite-paginator",20),b(37,"async"),h("onNextPage",function(){return t.infinitePagination.onNextPage(t.searchFilter)})("onLastPage",function(){return t.infinitePagination.onLastPage(t.searchFilter)})("onGetRowCount",function(){return t.infinitePagination.getRowCount(t.searchFilter)}),a()()()()()()()),i&2&&(s("hideSearchBox",!1)("hideSearchDropdown",!1)("textButton","Search"),r(2),s("ngIf",y(3,13,t.loader$)),r(4),s("ngIf",y(7,15,t.data$)),r(15),T(t.channels()),r(10),s("ngxPermissionsOnly",w(21,Re,t.rolePriceEdit)),r(),T(t.channels()),r(2),s("ngIf",y(35,17,t.data$)),r(2),s("totalData",t.infinitePagination.totalData())("hideCount",t.infinitePagination.hideCount())("rowCount",y(37,19,t.infinitePagination.totalRowCount$))("pageNumber",t.infinitePagination.pageNumber())("disableNextButton",t.infinitePagination.disableNextButton())("goToLastPage",t.infinitePagination.isLastPage()))},dependencies:[B,se,k,me,pe,de,Se,be,$,_e,R,L,Ne,Be,j,A,Ve,fe,Ce,ke],styles:[".w-10[_ngcontent-%COMP%]{width:10%}.w-20[_ngcontent-%COMP%]{width:20%}.w-img[_ngcontent-%COMP%]{width:40px;height:40px}.item-name[_ngcontent-%COMP%]{font-weight:400;font-size:larger}.cell-hover[_ngcontent-%COMP%]:hover{background-color:#c9c9c9!important}"]})}}return n})();export{qt as CustomChannelPriceComponent};