@whoz-oss/coday-client 0.220.0 → 0.221.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/browser/{chunk-VEJ7WOTG.js → chunk-245FSNUP.js} +1 -1
  2. package/browser/chunk-26FFFP6M.js +1 -0
  3. package/browser/chunk-2JFW66QF.js +1 -0
  4. package/browser/{chunk-ZUHPSVJI.js → chunk-2MSURPPU.js} +1 -1
  5. package/browser/{chunk-XC3I4AWV.js → chunk-32WVX5ZP.js} +1 -1
  6. package/browser/{chunk-CQMVBNBQ.js → chunk-37R4PWRM.js} +1 -1
  7. package/browser/{chunk-66JGZWOM.js → chunk-3I6ZJMCS.js} +1 -1
  8. package/browser/{chunk-SKBT6DBT.js → chunk-3ZLLFAXF.js} +1 -1
  9. package/browser/{chunk-2K6TMGVY.js → chunk-4LLQHQ72.js} +1 -1
  10. package/browser/{chunk-4OZEACGW.js → chunk-4ZQC632F.js} +1 -1
  11. package/browser/{chunk-6WEPMSFL.js → chunk-5YICJPG4.js} +1 -1
  12. package/browser/{chunk-MV2EB7ZU.js → chunk-6JGMDWHO.js} +1 -1
  13. package/browser/{chunk-2PNAJMT3.js → chunk-6L7NNQJK.js} +1 -1
  14. package/browser/{chunk-JZNKFELS.js → chunk-6QVHTXNY.js} +1 -1
  15. package/browser/chunk-6WGVBQKC.js +1 -0
  16. package/browser/{chunk-24QOKK6F.js → chunk-73TUA3JE.js} +1 -1
  17. package/browser/{chunk-BZ7URUNM.js → chunk-7EDSHFWH.js} +1 -1
  18. package/browser/{chunk-R6RFNQXI.js → chunk-7WF5A3H7.js} +1 -1
  19. package/browser/{chunk-3NQ3WSD6.js → chunk-7ZT4AOIS.js} +1 -1
  20. package/browser/{chunk-V7NUXN3R.js → chunk-A7WS3RLV.js} +1 -1
  21. package/browser/{chunk-BZD44TVX.js → chunk-AE2KD4A7.js} +1 -1
  22. package/browser/chunk-AE74H57T.js +1 -0
  23. package/browser/{chunk-NAHXPRXR.js → chunk-AEGHERYH.js} +1 -1
  24. package/browser/{chunk-OPSHMM4H.js → chunk-B46LXCLF.js} +1 -1
  25. package/browser/{chunk-GDZOBNVN.js → chunk-BCOH5IGB.js} +1 -1
  26. package/browser/{chunk-G7AYL55H.js → chunk-BLH76GUG.js} +1 -1
  27. package/browser/{chunk-SU4RJNAW.js → chunk-BOKUHMXQ.js} +1 -1
  28. package/browser/chunk-CG7JPH7I.js +1 -0
  29. package/browser/{chunk-Z6RFJ6L3.js → chunk-DDWYQORF.js} +1 -1
  30. package/browser/chunk-DJW5YEVF.js +1 -0
  31. package/browser/{chunk-UDEMKCGK.js → chunk-DVUB4DDV.js} +1 -1
  32. package/browser/{chunk-2LJ5KJSM.js → chunk-F2SDHNCX.js} +6 -6
  33. package/browser/{chunk-U5L2OULZ.js → chunk-F4DLZWDY.js} +1 -1
  34. package/browser/{chunk-KX2SBQGE.js → chunk-FLOWHF2Q.js} +1 -1
  35. package/browser/chunk-FYW22VB6.js +1 -0
  36. package/browser/{chunk-PWB3PMMP.js → chunk-GE5IABDA.js} +1 -1
  37. package/browser/chunk-GNOCAZPC.js +1 -0
  38. package/browser/{chunk-NCFBQG5D.js → chunk-H2FHPYWP.js} +1 -1
  39. package/browser/chunk-HEO22D4L.js +1 -0
  40. package/browser/{chunk-4TH4ERQY.js → chunk-I2FVKUBH.js} +1 -1
  41. package/browser/{chunk-6V56ZA7X.js → chunk-IZLOFLQI.js} +1 -1
  42. package/browser/{chunk-LN55MSDV.js → chunk-JF3TWRKD.js} +1 -1
  43. package/browser/{chunk-SO6H32XQ.js → chunk-JFRIGSWA.js} +1 -1
  44. package/browser/{chunk-OETBTCGG.js → chunk-JM5SK7RJ.js} +1 -1
  45. package/browser/{chunk-Q2AMNPUD.js → chunk-JMGIKNHE.js} +1 -1
  46. package/browser/{chunk-7EHCV7WH.js → chunk-JQYJDI3L.js} +1 -1
  47. package/browser/{chunk-G5DFEIWC.js → chunk-K5ALWDTN.js} +1 -1
  48. package/browser/chunk-KJ5SIUGY.js +5 -0
  49. package/browser/{chunk-X7C5YFTO.js → chunk-KRZMF2CT.js} +1 -1
  50. package/browser/{chunk-P6FB27NC.js → chunk-KVRSWZ37.js} +1 -1
  51. package/browser/{chunk-OB7XCFGZ.js → chunk-KYYUJJ6W.js} +1 -1
  52. package/browser/{chunk-34BTCCLM.js → chunk-L2CXQ5ZG.js} +1 -1
  53. package/browser/{chunk-SFHAQYFT.js → chunk-LQXAXQDW.js} +1 -1
  54. package/browser/{chunk-3DMSIXFU.js → chunk-LVMHNPNL.js} +1 -1
  55. package/browser/{chunk-O2R7P65K.js → chunk-MLVWHS7Q.js} +1 -1
  56. package/browser/{chunk-EBAEYY2S.js → chunk-MWPKXBXJ.js} +1 -1
  57. package/browser/{chunk-P4GNUQZT.js → chunk-MZT6I3S3.js} +1 -1
  58. package/browser/{chunk-RXRBDGVY.js → chunk-N4H6RBJP.js} +1 -1
  59. package/browser/{chunk-CGNJQWBH.js → chunk-NCHQXF4S.js} +1 -1
  60. package/browser/{chunk-J5W3AZMJ.js → chunk-NCQPF2YO.js} +1 -1
  61. package/browser/chunk-NPW3WIRW.js +1 -0
  62. package/browser/{chunk-JBI5WDPK.js → chunk-O2RHZQBE.js} +1 -1
  63. package/browser/{chunk-Z46CAQIL.js → chunk-O4EHMHGS.js} +1 -1
  64. package/browser/{chunk-RTIVYXZO.js → chunk-OK32ENYP.js} +1 -1
  65. package/browser/{chunk-PNVMTTHR.js → chunk-OWANJEQU.js} +1 -1
  66. package/browser/{chunk-C2XSJPYF.js → chunk-OX7PDXEA.js} +1 -1
  67. package/browser/{chunk-5CGB5NAW.js → chunk-PBFPI55X.js} +1 -1
  68. package/browser/{chunk-2Y5JVJQU.js → chunk-PIVEZFIL.js} +1 -1
  69. package/browser/chunk-PJ3HC56D.js +1 -0
  70. package/browser/{chunk-GF3EMWCA.js → chunk-Q2M4W42M.js} +1 -1
  71. package/browser/{chunk-HF5B4U3Q.js → chunk-QA6XH3LQ.js} +1 -1
  72. package/browser/{chunk-SA5ZJKKF.js → chunk-QHD6RKEP.js} +1 -1
  73. package/browser/{chunk-67BZXGWU.js → chunk-QINOZGE3.js} +1 -1
  74. package/browser/{chunk-CNI3G2X3.js → chunk-QV6OOSC2.js} +1 -1
  75. package/browser/{chunk-QCDV42EK.js → chunk-R7YB3V2E.js} +1 -1
  76. package/browser/{chunk-BZS55WHS.js → chunk-RX6XVTR7.js} +1 -1
  77. package/browser/{chunk-W62KNARA.js → chunk-S2AP7DX6.js} +1 -1
  78. package/browser/chunk-S5GYRWWO.js +1 -0
  79. package/browser/{chunk-OWSH6KVW.js → chunk-S5XVTDPO.js} +1 -1
  80. package/browser/{chunk-IRW4FVEN.js → chunk-SDAXOB46.js} +1 -1
  81. package/browser/chunk-SFK3JOTF.js +1 -0
  82. package/browser/{chunk-YGSTXCW4.js → chunk-UTUTCLZV.js} +1 -1
  83. package/browser/{chunk-UU7EP36X.js → chunk-VKFTA4MX.js} +1 -1
  84. package/browser/{chunk-WIYSZEOD.js → chunk-VR3I4RKJ.js} +1 -1
  85. package/browser/chunk-VURRJ77W.js +1 -0
  86. package/browser/{chunk-Q6JKTADC.js → chunk-WIVM4HFF.js} +1 -1
  87. package/browser/chunk-WO2Z5JMW.js +1 -0
  88. package/browser/{chunk-KD3BJ52V.js → chunk-WUU4G5YQ.js} +1 -1
  89. package/browser/{chunk-BJM7MKOH.js → chunk-X7WD62KI.js} +1 -1
  90. package/browser/{chunk-64F56SX7.js → chunk-XEXRIFJE.js} +1 -1
  91. package/browser/chunk-XLY3EKFY.js +1 -0
  92. package/browser/{chunk-KYHDDGML.js → chunk-YC3HFWKP.js} +1 -1
  93. package/browser/{chunk-CA4E6QDU.js → chunk-Z43UATKA.js} +1 -1
  94. package/browser/chunk-ZB3LDCY3.js +1 -0
  95. package/browser/{chunk-EGCAPAB4.js → chunk-ZKS4VKDZ.js} +1 -1
  96. package/browser/index.html +1 -1
  97. package/browser/{main-HWNV4D4D.js → main-AXQXT3DL.js} +1 -1
  98. package/package.json +1 -1
  99. package/browser/chunk-5NLXR4MK.js +0 -5
  100. package/browser/chunk-7PIT6THG.js +0 -1
  101. package/browser/chunk-7WUO5KJA.js +0 -1
  102. package/browser/chunk-APUP4V4X.js +0 -1
  103. package/browser/chunk-GDWZ2TMN.js +0 -1
  104. package/browser/chunk-JY2JVRRR.js +0 -1
  105. package/browser/chunk-K66GXZVK.js +0 -1
  106. package/browser/chunk-KNPRX3H3.js +0 -1
  107. package/browser/chunk-LC4SU6EB.js +0 -1
  108. package/browser/chunk-M3ZTJBEP.js +0 -1
  109. package/browser/chunk-NHXL5GKK.js +0 -1
  110. package/browser/chunk-OT2DXF3I.js +0 -1
@@ -0,0 +1,5 @@
1
+ var Km=Object.defineProperty,Jm=Object.defineProperties;var Xm=Object.getOwnPropertyDescriptors;var bo=Object.getOwnPropertySymbols;var jl=Object.prototype.hasOwnProperty,Bl=Object.prototype.propertyIsEnumerable;var Ll=(e,t,n)=>t in e?Km(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,B=(e,t)=>{for(var n in t||={})jl.call(t,n)&&Ll(e,n,t[n]);if(bo)for(var n of bo(t))Bl.call(t,n)&&Ll(e,n,t[n]);return e},$=(e,t)=>Jm(e,Xm(t));var ey=(e,t)=>{var n={};for(var r in e)jl.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&bo)for(var r of bo(e))t.indexOf(r)<0&&Bl.call(e,r)&&(n[r]=e[r]);return n};var Sn=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});function N(e){return typeof e=="function"}function Mt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var To=Mt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
+ ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Zt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var J=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(N(r))try{r()}catch(i){t=i instanceof To?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Vl(i)}catch(s){t=t??[],s instanceof To?t=[...t,...s.errors]:t.push(s)}}if(t)throw new To(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Vl(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Zt(n,t)}remove(t){let{_finalizers:n}=this;n&&Zt(n,t),t instanceof e&&t._removeParent(this)}};J.EMPTY=(()=>{let e=new J;return e.closed=!0,e})();var Ys=J.EMPTY;function _o(e){return e instanceof J||e&&"closed"in e&&N(e.remove)&&N(e.add)&&N(e.unsubscribe)}function Vl(e){N(e)?e():e.unsubscribe()}var ke={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Nn={setTimeout(e,t,...n){let{delegate:r}=Nn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Nn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Mo(e){Nn.setTimeout(()=>{let{onUnhandledError:t}=ke;if(t)t(e);else throw e})}function Yt(){}var Hl=Qs("C",void 0,void 0);function Ul(e){return Qs("E",void 0,e)}function $l(e){return Qs("N",e,void 0)}function Qs(e,t,n){return{kind:e,value:t,error:n}}var Qt=null;function An(e){if(ke.useDeprecatedSynchronousErrorHandling){let t=!Qt;if(t&&(Qt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Qt;if(Qt=null,n)throw r}}else e()}function zl(e){ke.useDeprecatedSynchronousErrorHandling&&Qt&&(Qt.errorThrown=!0,Qt.error=e)}var Kt=class extends J{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,_o(t)&&t.add(this)):this.destination=ry}static create(t,n,r){return new Fe(t,n,r)}next(t){this.isStopped?Js($l(t),this):this._next(t)}error(t){this.isStopped?Js(Ul(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Js(Hl,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},ty=Function.prototype.bind;function Ks(e,t){return ty.call(e,t)}var Xs=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){So(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){So(r)}else So(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){So(n)}}},Fe=class extends Kt{constructor(t,n,r){super();let o;if(N(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ke.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Ks(t.next,i),error:t.error&&Ks(t.error,i),complete:t.complete&&Ks(t.complete,i)}):o=t}this.destination=new Xs(o)}};function So(e){ke.useDeprecatedSynchronousErrorHandling?zl(e):Mo(e)}function ny(e){throw e}function Js(e,t){let{onStoppedNotification:n}=ke;n&&Nn.setTimeout(()=>n(e,t))}var ry={closed:!0,next:Yt,error:ny,complete:Yt};var xn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Ie(e){return e}function oy(...e){return ea(e)}function ea(e){return e.length===0?Ie:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var x=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=sy(n)?n:new Fe(n,r,o);return An(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Gl(r),new r((o,i)=>{let s=new Fe({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[xn](){return this}pipe(...n){return ea(n)(this)}toPromise(n){return n=Gl(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Gl(e){var t;return(t=e??ke.Promise)!==null&&t!==void 0?t:Promise}function iy(e){return e&&N(e.next)&&N(e.error)&&N(e.complete)}function sy(e){return e&&e instanceof Kt||iy(e)&&_o(e)}var Wl=Mt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var le=(()=>{class e extends x{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new No(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Wl}next(n){An(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){An(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){An(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Ys:(this.currentObservers=null,i.push(n),new J(()=>{this.currentObservers=null,Zt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new x;return n.source=this,n}}return e.create=(t,n)=>new No(t,n),e})(),No=class extends le{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:Ys}};var mr=class extends le{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};function Ao(e){return e&&N(e.schedule)}function ta(e){return e[e.length-1]}function xo(e){return N(ta(e))?e.pop():void 0}function Qe(e){return Ao(ta(e))?e.pop():void 0}function ql(e,t){return typeof ta(e)=="number"?e.pop():t}function Yl(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function Zl(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Jt(e){return this instanceof Jt?(this.v=e,this):new Jt(e)}function Ql(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(I){return new Promise(function(y,v){i.push([f,I,y,v])>1||c(f,I)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(I){p(i[0][3],I)}}function u(f){f.value instanceof Jt?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Kl(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Zl=="function"?Zl(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var Ro=e=>e&&typeof e.length=="number"&&typeof e!="function";function Oo(e){return N(e?.then)}function ko(e){return N(e[xn])}function Fo(e){return Symbol.asyncIterator&&N(e?.[Symbol.asyncIterator])}function Po(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function ay(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Lo=ay();function jo(e){return N(e?.[Lo])}function Bo(e){return Ql(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Jt(n.read());if(o)return yield Jt(void 0);yield yield Jt(r)}}finally{n.releaseLock()}})}function Vo(e){return N(e?.getReader)}function O(e){if(e instanceof x)return e;if(e!=null){if(ko(e))return cy(e);if(Ro(e))return uy(e);if(Oo(e))return ly(e);if(Fo(e))return Jl(e);if(jo(e))return dy(e);if(Vo(e))return fy(e)}throw Po(e)}function cy(e){return new x(t=>{let n=e[xn]();if(N(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function uy(e){return new x(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function ly(e){return new x(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Mo)})}function dy(e){return new x(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Jl(e){return new x(t=>{py(e,t).catch(n=>t.error(n))})}function fy(e){return Jl(Bo(e))}function py(e,t){var n,r,o,i;return Yl(this,void 0,void 0,function*(){try{for(n=Kl(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function re(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function hy(e){return N(e?.lift)}function M(e){return t=>{if(hy(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function S(e,t,n,r,o){return new na(e,t,n,r,o)}var na=class extends Kt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function Ho(e,t=0){return M((n,r)=>{n.subscribe(S(r,o=>re(r,e,()=>r.next(o),t),()=>re(r,e,()=>r.complete(),t),o=>re(r,e,()=>r.error(o),t)))})}function Uo(e,t=0){return M((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Xl(e,t){return O(e).pipe(Uo(t),Ho(t))}function ed(e,t){return O(e).pipe(Uo(t),Ho(t))}function td(e,t){return new x(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function nd(e,t){return new x(n=>{let r;return re(n,t,()=>{r=e[Lo](),re(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>N(r?.return)&&r.return()})}function $o(e,t){if(!e)throw new Error("Iterable cannot be null");return new x(n=>{re(n,t,()=>{let r=e[Symbol.asyncIterator]();re(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function rd(e,t){return $o(Bo(e),t)}function od(e,t){if(e!=null){if(ko(e))return Xl(e,t);if(Ro(e))return td(e,t);if(Oo(e))return ed(e,t);if(Fo(e))return $o(e,t);if(jo(e))return nd(e,t);if(Vo(e))return rd(e,t)}throw Po(e)}function Ke(e,t){return t?od(e,t):O(e)}function zo(...e){let t=Qe(e);return Ke(e,t)}function de(e,t){return M((n,r)=>{let o=0;n.subscribe(S(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:gy}=Array,{getPrototypeOf:my,prototype:yy,keys:vy}=Object;function Go(e){if(e.length===1){let t=e[0];if(gy(t))return{args:t,keys:null};if(Dy(t)){let n=vy(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Dy(e){return e&&typeof e=="object"&&my(e)===yy}var{isArray:Ey}=Array;function Iy(e,t){return Ey(t)?e(...t):e(t)}function Wo(e){return de(t=>Iy(e,t))}function qo(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function wy(...e){let t=Qe(e),n=xo(e),{args:r,keys:o}=Go(e);if(r.length===0)return Ke([],t);let i=new x(Cy(r,t,o?s=>qo(o,s):Ie));return n?i.pipe(Wo(n)):i}function Cy(e,t,n=Ie){return r=>{id(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)id(t,()=>{let u=Ke(e[c],t),l=!1;u.subscribe(S(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function id(e,t,n){e?re(n,e,t):t()}function by(...e){let t=xo(e),{args:n,keys:r}=Go(e),o=new x(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;O(n[l]).subscribe(S(i,p=>{d||(d=!0,u--),a[l]=p},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?qo(r,a):a),i.complete())}))}});return t?o.pipe(Wo(t)):o}function St(e,t){return M((n,r)=>{let o=0;n.subscribe(S(r,i=>e.call(t,i,o++)&&r.next(i)))})}function ra(e){return M((t,n)=>{let r=null,o=!1,i;r=t.subscribe(S(n,void 0,void 0,s=>{i=O(e(s,ra(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}var Zo=class extends J{constructor(t,n){super()}schedule(t,n=0){return this}};var yr={setInterval(e,t,...n){let{delegate:r}=yr;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=yr;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Yo=class extends Zo{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return yr.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&&yr.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Zt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var vr={now(){return(vr.delegate||Date).now()},delegate:void 0};var Rn=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Rn.now=vr.now;var Qo=class extends Rn{constructor(t,n=Rn.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var at=new Qo(Yo),sd=at;function ad(e,t=at){return M((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,r.next(u)}};function c(){let u=s+e,l=t.now();if(l<u){o=this.schedule(void 0,u-l),r.add(o);return}a()}n.subscribe(S(r,u=>{i=u,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function cd(e){return St((t,n)=>e<=n)}function Ko(e,t){return M((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(S(r,c=>{o?.unsubscribe();let u=0,l=i++;O(e(c,l)).subscribe(o=S(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ty(e){return M((t,n)=>{O(e).subscribe(S(n,()=>n.complete(),Yt)),!n.closed&&t.subscribe(n)})}var Dr=class extends le{constructor(t=1/0,n=1/0,r=vr){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var Xt=new x(e=>e.complete());function _y(e,t){let n=N(e)?e:()=>e,r=o=>o.error(n());return new x(t?o=>t.schedule(r,0,o):r)}function My(e){return!!e&&(e instanceof x||N(e.lift)&&N(e.subscribe))}var ct=Mt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Sy(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=!1,s;e.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?r(s):n?r(t.defaultValue):o(new ct)}})})}function Ny(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new Fe({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new ct)}});e.subscribe(i)})}function Jo(e){return e instanceof Date&&!isNaN(e)}var Ay=Mt(e=>function(n=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n});function xy(e,t){let{first:n,each:r,with:o=Ry,scheduler:i=t??at,meta:s=null}=Jo(e)?{first:e}:typeof e=="number"?{each:e}:e;if(n==null&&r==null)throw new TypeError("No timeout provided.");return M((a,c)=>{let u,l,d=null,p=0,f=h=>{l=re(c,i,()=>{try{u.unsubscribe(),O(o({meta:s,lastValue:d,seen:p})).subscribe(c)}catch(I){c.error(I)}},h)};u=a.subscribe(S(c,h=>{l?.unsubscribe(),p++,c.next(d=h),r>0&&f(r)},void 0,void 0,()=>{l?.closed||l?.unsubscribe(),d=null})),!p&&f(n!=null?typeof n=="number"?n:+n-i.now():r)})}function Ry(e){throw new Ay(e)}function ud(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=I=>u<r?h(I):c.push(I),h=I=>{i&&t.next(I),u++;let y=!1;O(n(I,l++)).subscribe(S(t,v=>{o?.(v),i?f(v):t.next(v)},()=>{y=!0},void 0,()=>{if(y)try{for(u--;c.length&&u<r;){let v=c.shift();s?re(t,s,()=>h(v)):h(v)}p()}catch(v){t.error(v)}}))};return e.subscribe(S(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ut(e,t,n=1/0){return N(t)?ut((r,o)=>de((i,s)=>t(r,i,o,s))(O(e(r,o))),n):(typeof t=="number"&&(n=t),M((r,o)=>ud(r,o,e,n)))}function Er(e=1/0){return ut(Ie,e)}function ld(){return Er(1)}function On(...e){return ld()(Ke(e,Qe(e)))}function Oy(e){return new x(t=>{O(e()).subscribe(t)})}function Xo(e=0,t,n=sd){let r=-1;return t!=null&&(Ao(t)?n=t:r=t),new x(o=>{let i=Jo(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function ky(...e){let t=Qe(e),n=ql(e,1/0),r=e;return r.length?r.length===1?O(r[0]):Er(n)(Ke(r,t)):Xt}function dd(e){return M((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let u=o;o=null,n.next(u)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(S(n,u=>{r=!0,o=u,i||O(e(u)).subscribe(i=S(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Fy(e,t=at){return dd(()=>Xo(e,t))}function oa(e,t){return N(t)?ut(e,t,1):ut(e,1)}function fd(e){return M((t,n)=>{let r=!1;t.subscribe(S(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function en(e){return e<=0?()=>Xt:M((t,n)=>{let r=0;t.subscribe(S(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function pd(){return M((e,t)=>{e.subscribe(S(t,Yt))})}function ia(e){return de(()=>e)}function sa(e,t){return t?n=>On(t.pipe(en(1),pd()),n.pipe(sa(e))):ut((n,r)=>O(e(n,r)).pipe(en(1),ia(n)))}function Py(e,t=at){let n=Xo(e,t);return sa(()=>n)}function hd(e,t=Ie){return e=e??Ly,M((n,r)=>{let o,i=!0;n.subscribe(S(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Ly(e,t){return e===t}function gd(e=jy){return M((t,n)=>{let r=!1;t.subscribe(S(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function jy(){return new ct}function aa(e){return M((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function md(e,t){let n=arguments.length>=2;return r=>r.pipe(e?St((o,i)=>e(o,i,r)):Ie,en(1),n?fd(t):gd(()=>new ct))}function By(e){return e<=0?()=>Xt:M((t,n)=>{let r=[];t.subscribe(S(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Vy(){return M((e,t)=>{let n,r=!1;e.subscribe(S(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function ua(e={}){let{connector:t=()=>new le,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,l=d=!1},h=()=>{let I=s;f(),I?.unsubscribe()};return M((I,y)=>{u++,!d&&!l&&p();let v=c=c??t();y.add(()=>{u--,u===0&&!d&&!l&&(a=ca(h,o))}),v.subscribe(y),!s&&u>0&&(s=new Fe({next:P=>v.next(P),error:P=>{d=!0,p(),a=ca(f,n,P),v.error(P)},complete:()=>{l=!0,p(),a=ca(f,r),v.complete()}}),O(I).subscribe(s))})(i)}}function ca(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Fe({next:()=>{r.unsubscribe(),e()}});return O(t(...n)).subscribe(r)}function yd(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,ua({connector:()=>new Dr(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function vd(...e){let t=Qe(e);return M((n,r)=>{(t?On(e,n,t):On(e,n)).subscribe(r)})}function Hy(e,t=!1){return M((n,r)=>{let o=0;n.subscribe(S(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function Dd(e,t,n){let r=N(e)||t||n?{next:e,error:t,complete:n}:e;return r?M((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(S(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):Ie}var oe=null,ei=!1,la=1,Uy=null,W=Symbol("SIGNAL");function E(e){let t=oe;return oe=e,t}function ti(){return oe}var Nt={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function lt(e){if(ei)throw new Error("");if(oe===null)return;oe.consumerOnSignalRead(e);let t=oe.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=oe.recomputing;if(r&&(n=t!==void 0?t.nextProducer:oe.producers,n!==void 0&&n.producer===e)){oe.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===oe&&(!r||zy(o,oe)))return;let i=Pn(oe),s={producer:e,consumer:oe,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};oe.producersTail=s,t!==void 0?t.nextProducer=s:oe.producers=s,i&&Cd(e,s)}function Ed(){la++}function rn(e){if(!(Pn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===la)){if(!e.producerMustRecompute(e)&&!Fn(e)){kn(e);return}e.producerRecomputeValue(e),kn(e)}}function da(e){if(e.consumers===void 0)return;let t=ei;ei=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||$y(r)}}finally{ei=t}}function fa(){return oe?.consumerAllowSignalWrites!==!1}function $y(e){e.dirty=!0,da(e),e.consumerMarkedDirty?.(e)}function kn(e){e.dirty=!1,e.lastCleanEpoch=la}function dt(e){return e&&Id(e),E(e)}function Id(e){e.producersTail=void 0,e.recomputing=!0}function At(e,t){E(t),e&&wd(e)}function wd(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Pn(e))do n=pa(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Fn(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(rn(n),r!==n.version))return!0}return!1}function xt(e){if(Pn(e)){let t=e.producers;for(;t!==void 0;)t=pa(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Cd(e,t){let n=e.consumersTail,r=Pn(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)Cd(o.producer,o)}function pa(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!Pn(t)){let i=t.producers;for(;i!==void 0;)i=pa(i)}return n}function Pn(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Ir(e){Uy?.(e)}function zy(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function wr(e,t){return Object.is(e,t)}function Cr(e,t){let n=Object.create(Gy);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(rn(n),lt(n),n.value===Je)throw n.error;return n.value};return r[W]=n,Ir(n),r}var tn=Symbol("UNSET"),nn=Symbol("COMPUTING"),Je=Symbol("ERRORED"),Gy=$(B({},Nt),{value:tn,dirty:!0,error:null,equal:wr,kind:"computed",producerMustRecompute(e){return e.value===tn||e.value===nn},producerRecomputeValue(e){if(e.value===nn)throw new Error("");let t=e.value;e.value=nn;let n=dt(e),r,o=!1;try{r=e.computation(),E(null),o=t!==tn&&t!==Je&&r!==Je&&e.equal(t,r)}catch(i){r=Je,e.error=i}finally{At(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Wy(){throw new Error}var bd=Wy;function Td(e){bd(e)}function ha(e){bd=e}var qy=null;function ga(e,t){let n=Object.create(br);n.value=e,t!==void 0&&(n.equal=t);let r=()=>_d(n);return r[W]=n,Ir(n),[r,s=>Rt(n,s),s=>ni(n,s)]}function _d(e){return lt(e),e.value}function Rt(e,t){fa()||Td(e),e.equal(e.value,t)||(e.value=t,Zy(e))}function ni(e,t){fa()||Td(e),Rt(e,t(e.value))}var br=$(B({},Nt),{equal:wr,value:void 0,kind:"signal"});function Zy(e){e.version++,Ed(),da(e),qy?.(e)}var ma=$(B({},Nt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function ya(e){if(e.dirty=!1,e.version>0&&!Fn(e))return;e.version++;let t=dt(e);try{e.cleanup(),e.fn()}finally{At(e,t)}}var va;function ri(){return va}function Xe(e){let t=va;return va=e,t}var Md=Symbol("NotFound");function Ln(e){return e===Md||e?.name==="\u0275NotFound"}function Da(e,t,n){let r=Object.create(Yy);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(rn(r),lt(r),r.value===Je)throw r.error;return r.value};return i[W]=r,Ir(r),i}function Sd(e,t){rn(e),Rt(e,t),kn(e)}function Nd(e,t){if(rn(e),e.value===Je)throw e.error;ni(e,t),kn(e)}var Yy=$(B({},Nt),{value:tn,dirty:!0,error:null,equal:wr,kind:"linkedSignal",producerMustRecompute(e){return e.value===tn||e.value===nn},producerRecomputeValue(e){if(e.value===nn)throw new Error("");let t=e.value;e.value=nn;let n=dt(e),r,o=!1;try{let i=e.source(),s=t!==tn&&t!==Je,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,E(null),o=s&&r!==Je&&e.equal(t,r)}catch(i){r=Je,e.error=i}finally{At(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Ad(e){let t=E(null);try{return e()}finally{E(t)}}var li="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",m=class extends Error{code;constructor(t,n){super(et(t,n)),this.code=t}};function Qy(e){return`NG0${Math.abs(e)}`}function et(e,t){return`${Qy(e)}${t?": "+t:""}`}var _e=globalThis;function k(e){for(let t in e)if(e[t]===k)return t;throw Error("")}function Fd(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function xr(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(xr).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
4
+ `);return r>=0?n.slice(0,r):n}function di(e,t){return e?t?`${e} ${t}`:e:t||""}var Ky=k({__forward_ref__:k});function fi(e){return e.__forward_ref__=fi,e}function X(e){return Ra(e)?e():e}function Ra(e){return typeof e=="function"&&e.hasOwnProperty(Ky)&&e.__forward_ref__===fi}function T(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function un(e){return{providers:e.providers||[],imports:e.imports||[]}}function Rr(e){return Xy(e,pi)}function Jy(e){return Rr(e)!==null}function Xy(e,t){return e.hasOwnProperty(t)&&e[t]||null}function ev(e){let t=e?.[pi]??null;return t||null}function Ia(e){return e&&e.hasOwnProperty(ii)?e[ii]:null}var pi=k({\u0275prov:k}),ii=k({\u0275inj:k}),C=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=T({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Oa(e){return e&&!!e.\u0275providers}var ka=k({\u0275cmp:k}),Fa=k({\u0275dir:k}),Pa=k({\u0275pipe:k}),La=k({\u0275mod:k}),_r=k({\u0275fac:k}),ln=k({__NG_ELEMENT_ID__:k}),xd=k({__NG_ENV_ID__:k});function ja(e){return gi(e,"@NgModule"),e[La]||null}function tt(e){return gi(e,"@Component"),e[ka]||null}function hi(e){return gi(e,"@Directive"),e[Fa]||null}function Pd(e){return gi(e,"@Pipe"),e[Pa]||null}function gi(e,t){if(e==null)throw new m(-919,!1)}function ae(e){return typeof e=="string"?e:e==null?"":String(e)}var Ld=k({ngErrorCode:k}),tv=k({ngErrorMessage:k}),nv=k({ngTokenPath:k});function Ba(e,t){return jd("",-200,t)}function mi(e,t){throw new m(-201,!1)}function jd(e,t,n){let r=new m(t,e);return r[Ld]=t,r[tv]=e,n&&(r[nv]=n),r}function rv(e){return e[Ld]}var wa;function Bd(){return wa}function fe(e){let t=wa;return wa=e,t}function Va(e,t,n){let r=Rr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;mi(e,"")}var ov={},on=ov,iv="__NG_DI_FLAG__",Ca=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=sn(n)||0;try{return this.injector.get(t,r&8?null:on,r)}catch(o){if(Ln(o))return o;throw o}}};function sv(e,t=0){let n=ri();if(n===void 0)throw new m(-203,!1);if(n===null)return Va(e,void 0,t);{let r=av(t),o=n.retrieve(e,r);if(Ln(o)){if(r.optional)return null;throw o}return o}}function b(e,t=0){return(Bd()||sv)(X(e),t)}function g(e,t){return b(e,sn(t))}function sn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function av(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function ba(e){let t=[];for(let n=0;n<e.length;n++){let r=X(e[n]);if(Array.isArray(r)){if(r.length===0)throw new m(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=cv(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(b(o,i))}else t.push(b(r))}return t}function cv(e){return e[iv]}function Ot(e,t){let n=e.hasOwnProperty(_r);return n?e[_r]:null}function Vd(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function Hd(e){return e.flat(Number.POSITIVE_INFINITY)}function yi(e,t){e.forEach(n=>Array.isArray(n)?yi(n,t):t(n))}function Ha(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Or(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ud(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function $d(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function vi(e,t,n){let r=Bn(e,t);return r>=0?e[r|1]=n:(r=~r,$d(e,r,t,n)),r}function Di(e,t){let n=Bn(e,t);if(n>=0)return e[n|1]}function Bn(e,t){return uv(e,t,1)}function uv(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 Le={},ie=[],ht=new C(""),Ua=new C("",-1),$a=new C(""),Mr=class{get(t,n=on){if(n===on){let o=jd("",-201);throw o.name="\u0275NotFound",o}return n}};function gt(e){return{\u0275providers:e}}function zd(e){return gt([{provide:ht,multi:!0,useValue:e}])}function Gd(...e){return{\u0275providers:za(!0,e),\u0275fromNgModule:!0}}function za(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return yi(t,s=>{let a=s;si(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Wd(o,i),n}function Wd(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Ga(o,i=>{t(i,r)})}}function si(e,t,n,r){if(e=X(e),!e)return!1;let o=null,i=Ia(e),s=!i&&tt(e);if(!i&&!s){let c=e.ngModule;if(i=Ia(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)si(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;yi(i.imports,l=>{si(l,t,n,r)&&(u||=[],u.push(l))}),u!==void 0&&Wd(u,t)}if(!a){let u=Ot(o)||(()=>new o);t({provide:o,useFactory:u,deps:ie},o),t({provide:$a,useValue:o,multi:!0},o),t({provide:ht,useValue:()=>b(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Ga(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Ga(e,t){for(let n of e)Oa(n)&&(n=n.\u0275providers),Array.isArray(n)?Ga(n,t):t(n)}var lv=k({provide:String,useValue:k});function qd(e){return e!==null&&typeof e=="object"&&lv in e}function dv(e){return!!(e&&e.useExisting)}function fv(e){return!!(e&&e.useFactory)}function an(e){return typeof e=="function"}function Zd(e){return!!e.useClass}var kr=new C(""),oi={},Rd={},Ea;function Vn(){return Ea===void 0&&(Ea=new Mr),Ea}var pe=class{},cn=class extends pe{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,_a(t,s=>this.processProvider(s)),this.records.set(Ua,jn(void 0,this)),o.has("environment")&&this.records.set(pe,jn(void 0,this));let i=this.records.get(kr);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get($a,ie,{self:!0}))}retrieve(t,n){let r=sn(n)||0;try{return this.get(t,on,r)}catch(o){if(Ln(o))return o;throw o}}destroy(){Tr(this),this._destroyed=!0;let t=E(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),E(t)}}onDestroy(t){return Tr(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Tr(this);let n=Xe(this),r=fe(void 0),o;try{return t()}finally{Xe(n),fe(r)}}get(t,n=on,r){if(Tr(this),t.hasOwnProperty(xd))return t[xd](this);let o=sn(r),i,s=Xe(this),a=fe(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=yv(t)&&Rr(t);l&&this.injectableDefInScope(l)?u=jn(Ta(t),oi):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?Vn():this.parent;return n=o&8&&n===on?null:n,c.get(t,n)}catch(c){let u=rv(c);throw u===-200||u===-201?new m(u,null):c}finally{fe(a),Xe(s)}}resolveInjectorInitializers(){let t=E(null),n=Xe(this),r=fe(void 0),o;try{let i=this.get(ht,ie,{self:!0});for(let s of i)s()}finally{Xe(n),fe(r),E(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=X(t);let n=an(t)?t:X(t&&t.provide),r=hv(t);if(!an(t)&&t.multi===!0){let o=this.records.get(n);o||(o=jn(void 0,oi,!0),o.factory=()=>ba(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=E(null);try{if(n.value===Rd)throw Ba("");return n.value===oi&&(n.value=Rd,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&mv(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{E(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=X(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Ta(e){let t=Rr(e),n=t!==null?t.factory:Ot(e);if(n!==null)return n;if(e instanceof C)throw new m(-204,!1);if(e instanceof Function)return pv(e);throw new m(-204,!1)}function pv(e){if(e.length>0)throw new m(-204,!1);let n=ev(e);return n!==null?()=>n.factory(e):()=>new e}function hv(e){if(qd(e))return jn(void 0,e.useValue);{let t=Wa(e);return jn(t,oi)}}function Wa(e,t,n){let r;if(an(e)){let o=X(e);return Ot(o)||Ta(o)}else if(qd(e))r=()=>X(e.useValue);else if(fv(e))r=()=>e.useFactory(...ba(e.deps||[]));else if(dv(e))r=(o,i)=>b(X(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=X(e&&(e.useClass||e.provide));if(gv(e))r=()=>new o(...ba(e.deps));else return Ot(o)||Ta(o)}return r}function Tr(e){if(e.destroyed)throw new m(-205,!1)}function jn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function gv(e){return!!e.deps}function mv(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function yv(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function _a(e,t){for(let n of e)Array.isArray(n)?_a(n,t):n&&Oa(n)?_a(n.\u0275providers,t):t(n)}function Hn(e,t){let n;e instanceof cn?(Tr(e),n=e):n=new Ca(e);let r,o=Xe(n),i=fe(void 0);try{return t()}finally{Xe(o),fe(i)}}function Yd(){return Bd()!==void 0||ri()!=null}var je=0,w=1,_=2,ee=3,Me=4,he=5,dn=6,Un=7,q=8,mt=9,Be=10,L=11,$n=12,qa=13,fn=14,ce=15,Pt=16,pn=17,nt=18,yt=19,Za=20,pt=21,Ei=22,kt=23,we=24,hn=25,Lt=26,V=27,Qd=1,Ya=6,jt=7,Fr=8,gn=9,Z=10;function vt(e){return Array.isArray(e)&&typeof e[Qd]=="object"}function Ve(e){return Array.isArray(e)&&e[Qd]===!0}function Qa(e){return(e.flags&4)!==0}function Dt(e){return e.componentOffset>-1}function zn(e){return(e.flags&1)===1}function He(e){return!!e.template}function Gn(e){return(e[_]&512)!==0}function mn(e){return(e[_]&256)===256}var Ka="svg",Kd="math";function Se(e){for(;Array.isArray(e);)e=e[je];return e}function Ja(e,t){return Se(t[e])}function Ue(e,t){return Se(t[e.index])}function Ii(e,t){return e.data[t]}function Pr(e,t){return e[t]}function Xa(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Ne(e,t){let n=t[e];return vt(n)?n:n[je]}function Jd(e){return(e[_]&4)===4}function wi(e){return(e[_]&128)===128}function Xd(e){return Ve(e[ee])}function Ce(e,t){return t==null?null:e[t]}function ec(e){e[pn]=0}function tc(e){e[_]&1024||(e[_]|=1024,wi(e)&&yn(e))}function ef(e,t){for(;e>0;)t=t[fn],e--;return t}function Lr(e){return!!(e[_]&9216||e[we]?.dirty)}function Ci(e){e[Be].changeDetectionScheduler?.notify(8),e[_]&64&&(e[_]|=1024),Lr(e)&&yn(e)}function yn(e){e[Be].changeDetectionScheduler?.notify(0);let t=Ft(e);for(;t!==null&&!(t[_]&8192||(t[_]|=8192,!wi(t)));)t=Ft(t)}function nc(e,t){if(mn(e))throw new m(911,!1);e[pt]===null&&(e[pt]=[]),e[pt].push(t)}function tf(e,t){if(e[pt]===null)return;let n=e[pt].indexOf(t);n!==-1&&e[pt].splice(n,1)}function Ft(e){let t=e[ee];return Ve(t)?t[ee]:t}function rc(e){return e[Un]??=[]}function oc(e){return e.cleanup??=[]}function nf(e,t,n,r){let o=rc(t);o.push(n),e.firstCreatePass&&oc(e).push(r,o.length-1)}var A={lFrame:mf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ma=!1;function rf(){return A.lFrame.elementDepthCount}function of(){A.lFrame.elementDepthCount++}function ic(){A.lFrame.elementDepthCount--}function bi(){return A.bindingsEnabled}function sc(){return A.skipHydrationRootTNode!==null}function ac(e){return A.skipHydrationRootTNode===e}function cc(){A.skipHydrationRootTNode=null}function D(){return A.lFrame.lView}function H(){return A.lFrame.tView}function sf(e){return A.lFrame.contextLView=e,e[q]}function af(e){return A.lFrame.contextLView=null,e}function te(){let e=uc();for(;e!==null&&e.type===64;)e=e.parent;return e}function uc(){return A.lFrame.currentTNode}function cf(){let e=A.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Wn(e,t){let n=A.lFrame;n.currentTNode=e,n.isParent=t}function lc(){return A.lFrame.isParent}function dc(){A.lFrame.isParent=!1}function uf(){return A.lFrame.contextLView}function fc(){return Ma}function Sr(e){let t=Ma;return Ma=e,t}function vn(){let e=A.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ti(){return A.lFrame.bindingIndex}function lf(e){return A.lFrame.bindingIndex=e}function Bt(){return A.lFrame.bindingIndex++}function qn(e){let t=A.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function df(){return A.lFrame.inI18n}function ff(e,t){let n=A.lFrame;n.bindingIndex=n.bindingRootIndex=e,_i(t)}function pf(){return A.lFrame.currentDirectiveIndex}function _i(e){A.lFrame.currentDirectiveIndex=e}function hf(e){let t=A.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Mi(){return A.lFrame.currentQueryIndex}function jr(e){A.lFrame.currentQueryIndex=e}function vv(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[he]:null}function pc(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=vv(i),o===null||(i=i[fn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=A.lFrame=gf();return r.currentTNode=t,r.lView=e,!0}function Si(e){let t=gf(),n=e[w];A.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function gf(){let e=A.lFrame,t=e===null?null:e.child;return t===null?mf(e):t}function mf(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function yf(){let e=A.lFrame;return A.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var hc=yf;function Ni(){let e=yf();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function vf(e){return(A.lFrame.contextLView=ef(e,A.lFrame.contextLView))[q]}function Ae(){return A.lFrame.selectedIndex}function Vt(e){A.lFrame.selectedIndex=e}function Br(){let e=A.lFrame;return Ii(e.tView,e.selectedIndex)}function Df(){A.lFrame.currentNamespace=Ka}function Ef(){Dv()}function Dv(){A.lFrame.currentNamespace=null}function If(){return A.lFrame.currentNamespace}var wf=!0;function Ai(){return wf}function Vr(e){wf=e}function Sa(e,t=null,n=null,r){let o=gc(e,t,n,r);return o.resolveInjectorInitializers(),o}function gc(e,t=null,n=null,r,o=new Set){let i=[n||ie,Gd(e)],s;return new cn(i,t||Vn(),s||null,o)}var se=class e{static THROW_IF_NOT_FOUND=on;static NULL=new Mr;static create(t,n){if(Array.isArray(t))return Sa({name:""},n,t,"");{let r=t.name??"";return Sa({name:r},t.parent,t.providers,r)}}static \u0275prov=T({token:e,providedIn:"any",factory:()=>b(Ua)});static __NG_ELEMENT_ID__=-1},z=new C(""),xe=(()=>{class e{static __NG_ELEMENT_ID__=Ev;static __NG_ENV_ID__=n=>n}return e})(),ai=class extends xe{_lView;constructor(t){super(),this._lView=t}get destroyed(){return mn(this._lView)}onDestroy(t){let n=this._lView;return nc(n,t),()=>tf(n,t)}};function Ev(){return new ai(D())}var mc=!1,Cf=new C(""),Ht=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new mr(!1);debugTaskTracker=g(Cf,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new x(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=T({token:e,providedIn:"root",factory:()=>new e})}return e})(),Na=class extends le{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Yd()&&(this.destroyRef=g(xe,{optional:!0})??void 0,this.pendingTasks=g(Ht,{optional:!0})??void 0)}emit(t){let n=E(null);try{super.next(t)}finally{E(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof J&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},ft=Na;function ci(...e){}function yc(e){let t,n;function r(){e=ci;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch(o){}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function bf(e){return queueMicrotask(()=>e()),()=>{e=ci}}var vc="isAngularZone",Nr=vc+"_ID",Iv=0,Q=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ft(!1);onMicrotaskEmpty=new ft(!1);onStable=new ft(!1);onError=new ft(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=mc}=t;if(typeof Zone>"u")throw new m(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,bv(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(vc)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new m(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new m(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,wv,ci,ci);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},wv={};function Dc(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 Cv(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){yc(()=>{e.callbackScheduled=!1,Aa(e),e.isCheckStableRunning=!0,Dc(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Aa(e)}function bv(e){let t=()=>{Cv(e)},n=Iv++;e._inner=e._inner.fork({name:"angular",properties:{[vc]:!0,[Nr]:n,[Nr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Tv(c))return r.invokeTask(i,s,a,c);try{return Od(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),kd(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Od(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!_v(c)&&t(),kd(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Aa(e),Dc(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 Aa(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Od(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function kd(e){e._nesting--,Dc(e)}var Ar=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ft;onMicrotaskEmpty=new ft;onStable=new ft;onError=new ft;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function Tv(e){return Tf(e,"__ignore_ng_zone__")}function _v(e){return Tf(e,"__scheduler_tick__")}function Tf(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Te=class{_console=console;handleError(t){this._console.error("ERROR",t)}},$e=new C("",{factory:()=>{let e=g(Q),t=g(pe),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(Te),n.handleError(r))})}}}),_f={provide:ht,useValue:()=>{let e=g(Te,{optional:!0})},multi:!0},Mv=new C("",{factory:()=>{let e=g(z).defaultView;if(!e)return;let t=g($e),n=i=>{t(i.reason),i.preventDefault()},r=i=>{i.error?t(i.error):t(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",n),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),g(xe).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function Sv(){return gt([zd(()=>{g(Mv)})])}function xi(e,t){let[n,r,o]=ga(e,t?.equal),i=n,s=i[W];return i.set=r,i.update=o,i.asReadonly=Hr.bind(i),i}function Hr(){let e=this[W];if(e.readonlyFn===void 0){let t=()=>this();t[W]=e,e.readonlyFn=t}return e.readonlyFn}var Zn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Nv}return e})();function Nv(){return new Zn(D(),te())}var Pe=class{},Yn=new C("",{factory:()=>!0});var Ri=new C(""),Ur=(()=>{class e{internalPendingTasks=g(Ht);scheduler=g(Pe);errorHandler=g($e);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=T({token:e,providedIn:"root",factory:()=>new e})}return e})(),Oi=(()=>{class e{static \u0275prov=T({token:e,providedIn:"root",factory:()=>new xa})}return e})(),xa=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}},ui=class{[W];constructor(t){this[W]=t}destroy(){this[W].destroy()}};function Mf(e,t){let n=t?.injector??g(se),r=t?.manualCleanup!==!0?n.get(xe):null,o,i=n.get(Zn,null,{optional:!0}),s=n.get(Pe);return i!==null?(o=Rv(i.view,s,e),r instanceof ai&&r._lView===i.view&&(r=null)):o=Ov(e,n.get(Oi),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new ui(o)}var Sf=$(B({},ma),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Sr(!1);try{ya(this)}finally{Sr(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=E(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],E(e)}}}),Av=$(B({},Sf),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(xt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),xv=$(B({},Sf),{consumerMarkedDirty(){this.view[_]|=8192,yn(this.view),this.notifier.notify(13)},destroy(){if(xt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[kt]?.delete(this)}});function Rv(e,t,n){let r=Object.create(xv);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Nf(r,n),e[kt]??=new Set,e[kt].add(r),r.consumerMarkedDirty(r),r}function Ov(e,t,n){let r=Object.create(Av);return r.fn=Nf(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Nf(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function eo(e){return{toString:e}.toString()}function Vv(e){return typeof e=="function"}function dp(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var $i=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},gu=(()=>{let e=()=>fp;return e.ngInherit=!0,e})();function fp(e){return e.type.prototype.ngOnChanges&&(e.setInput=Uv),Hv}function Hv(){let e=hp(this),t=e?.current;if(t){let n=e.previous;if(n===Le)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Uv(e,t,n,r,o){let i=this.declaredInputs[r],s=hp(e)||$v(e,{previous:Le,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new $i(u&&u.currentValue,n,c===Le),dp(e,t,o,n)}var pp="__ngSimpleChanges__";function hp(e){return e[pp]||null}function $v(e,t){return e[pp]=t}var Af=[];var F=function(e,t=null,n){for(let r=0;r<Af.length;r++){let o=Af[r];o(e,t,n)}},R=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(R||{});function zv(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=fp(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function gp(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function ji(e,t,n){mp(e,t,3,n)}function Bi(e,t,n,r){(e[_]&3)===n&&mp(e,t,n,r)}function Ec(e,t){let n=e[_];(n&3)===t&&(n&=16383,n+=1,e[_]=n)}function mp(e,t,n,r){let o=r!==void 0?e[pn]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[pn]+=65536),(a<i||i==-1)&&(Gv(e,n,t,c),e[pn]=(e[pn]&4294901760)+c+2),c++}function xf(e,t){F(R.LifecycleHookStart,e,t);let n=E(null);try{t.call(e)}finally{E(n),F(R.LifecycleHookEnd,e,t)}}function Gv(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[_]>>14<e[pn]>>16&&(e[_]&3)===t&&(e[_]+=16384,xf(a,i)):xf(a,i)}var Kn=-1,En=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function Wv(e){return(e.flags&8)!==0}function qv(e){return(e.flags&16)!==0}function Zv(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];Yv(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function yp(e){return e===3||e===4||e===6}function Yv(e){return e.charCodeAt(0)===64}function Jn(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Rf(e,n,o,null,t[++r]):Rf(e,n,o,null,null))}}return e}function Rf(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function vp(e){return e!==Kn}function zi(e){return e&32767}function Qv(e){return e>>16}function Gi(e,t){let n=Qv(e),r=t;for(;n>0;)r=r[fn],n--;return r}var xc=!0;function Wi(e){let t=xc;return xc=e,t}var Kv=256,Dp=Kv-1,Ep=5,Jv=0,rt={};function Xv(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(ln)&&(r=n[ln]),r==null&&(r=n[ln]=Jv++);let o=r&Dp,i=1<<o;t.data[e+(o>>Ep)]|=i}function qi(e,t){let n=Ip(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,Ic(r.data,e),Ic(t,null),Ic(r.blueprint,null));let o=mu(e,t),i=e.injectorIndex;if(vp(o)){let s=zi(o),a=Gi(o,t),c=a[w].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Ic(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ip(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function mu(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Mp(o),r===null)return Kn;if(n++,o=o[fn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Kn}function Rc(e,t,n){Xv(e,t,n)}function eD(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(yp(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function wp(e,t,n){if(n&8||e!==void 0)return e;mi(t,"NodeInjector")}function Cp(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[mt],i=fe(void 0);try{return o?o.get(t,r,n&8):Va(t,r,n&8)}finally{fe(i)}}return wp(r,t,n)}function bp(e,t,n,r=0,o){if(e!==null){if(t[_]&2048&&!(r&2)){let s=oD(e,t,n,r,rt);if(s!==rt)return s}let i=Tp(e,t,n,r,rt);if(i!==rt)return i}return Cp(t,n,r,o)}function Tp(e,t,n,r,o){let i=nD(n);if(typeof i=="function"){if(!pc(t,e,r))return r&1?wp(o,n,r):Cp(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))mi(n);else return s}finally{hc()}}else if(typeof i=="number"){let s=null,a=Ip(e,t),c=Kn,u=r&1?t[ce][he]:null;for((a===-1||r&4)&&(c=a===-1?mu(e,t):t[a+8],c===Kn||!kf(r,!1)?a=-1:(s=t[w],a=zi(c),t=Gi(c,t)));a!==-1;){let l=t[w];if(Of(i,a,l.data)){let d=tD(a,t,n,s,r,u);if(d!==rt)return d}c=t[a+8],c!==Kn&&kf(r,t[w].data[a+8]===u)&&Of(i,a,t)?(s=l,a=zi(c),t=Gi(c,t)):a=-1}}return o}function tD(e,t,n,r,o,i){let s=t[w],a=s.data[e+8],c=r==null?Dt(a)&&xc:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=Vi(a,s,n,c,u);return l!==null?qr(t,s,l,a,o):rt}function Vi(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:u;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&He(f)&&f.type===n)return c}return null}function qr(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof En){let a=i;if(a.resolving)throw Ba("");let c=Wi(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?fe(a.injectImpl):null,p=pc(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&zv(n,s[n],t)}finally{d!==null&&fe(d),Wi(c),a.resolving=!1,hc()}}return i}function nD(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(ln)?e[ln]:void 0;return typeof t=="number"?t>=0?t&Dp:rD:t}function Of(e,t,n){let r=1<<e;return!!(n[t+(e>>Ep)]&r)}function kf(e,t){return!(e&2)&&!(e&1&&t)}var Dn=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return bp(this._tNode,this._lView,t,sn(r),n)}};function rD(){return new Dn(te(),D())}function _p(e){return eo(()=>{let t=e.prototype.constructor,n=t[_r]||Oc(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[_r]||Oc(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Oc(e){return Ra(e)?()=>{let t=Oc(X(e));return t&&t()}:Ot(e)}function oD(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[_]&2048&&!Gn(s);){let a=Tp(i,s,n,r|2,rt);if(a!==rt)return a;let c=i.parent;if(!c){let u=s[Za];if(u){let l=u.get(n,rt,r&-5);if(l!==rt)return l}c=Mp(s),s=s[fn]}i=c}return o}function Mp(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[he]:null}function yu(e){return eD(te(),e)}function iD(){return or(te(),D())}function or(e,t){return new zt(Ue(e,t))}var zt=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=iD}return e})();function Sp(e){return e instanceof zt?e.nativeElement:e}function sD(){return this._results[Symbol.iterator]()}var Zi=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 le}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Hd(t);(this._changesDetected=!Vd(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=sD};function Np(e){return(e.flags&128)===128}var vu=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(vu||{}),Ap=new Map,aD=0;function cD(){return aD++}function uD(e){Ap.set(e[yt],e)}function kc(e){Ap.delete(e[yt])}var Ff="__ngContext__";function Xn(e,t){vt(t)?(e[Ff]=t[yt],uD(t)):e[Ff]=t}function xp(e){return Op(e[$n])}function Rp(e){return Op(e[Me])}function Op(e){for(;e!==null&&!Ve(e);)e=e[Me];return e}var Fc;function Du(e){Fc=e}function kp(){if(Fc!==void 0)return Fc;if(typeof document<"u")return document;throw new m(210,!1)}var cs=new C("",{factory:()=>lD}),lD="ng";var us=new C(""),to=new C("",{providedIn:"platform",factory:()=>"unknown"}),dD=new C(""),ls=new C("",{factory:()=>g(z).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Fp="r";var Pp="di";var Lp=!1,jp=new C("",{factory:()=>Lp});var Bp=new C("");var fD=(e,t,n,r)=>{};function pD(e,t,n,r){fD(e,t,n,r)}function ds(e){return(e.flags&32)===32}var hD=()=>null;function Vp(e,t,n=!1){return hD(e,t,n)}function Hp(e,t){let n=e.contentQueries;if(n!==null){let r=E(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];jr(i),a.contentQueries(2,t[s],s)}}}finally{E(r)}}}function Pc(e,t,n){jr(0);let r=E(null);try{t(e,n)}finally{E(r)}}function Eu(e,t,n){if(Qa(t)){let r=E(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{E(r)}}}var We=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(We||{});var ki;function gD(){if(ki===void 0&&(ki=null,_e.trustedTypes))try{ki=_e.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return ki}function fs(e){return gD()?.createHTML(e)||e}var Fi;function Up(){if(Fi===void 0&&(Fi=null,_e.trustedTypes))try{Fi=_e.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Fi}function Pf(e){return Up()?.createHTML(e)||e}function Lf(e){return Up()?.createScriptURL(e)||e}var Et=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${li})`}},Lc=class extends Et{getTypeName(){return"HTML"}},jc=class extends Et{getTypeName(){return"Style"}},Bc=class extends Et{getTypeName(){return"Script"}},Vc=class extends Et{getTypeName(){return"URL"}},Hc=class extends Et{getTypeName(){return"ResourceURL"}};function be(e){return e instanceof Et?e.changingThisBreaksApplicationSecurity:e}function it(e,t){let n=$p(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${li})`)}return n===t}function $p(e){return e instanceof Et&&e.getTypeName()||null}function Iu(e){return new Lc(e)}function wu(e){return new jc(e)}function Cu(e){return new Bc(e)}function bu(e){return new Vc(e)}function Tu(e){return new Hc(e)}function mD(e){let t=new $c(e);return yD()?new Uc(t):t}var Uc=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(fs(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}},$c=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=fs(t),n}};function yD(){try{return!!new window.DOMParser().parseFromString(fs(""),"text/html")}catch(e){return!1}}var vD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function no(e){return e=String(e),e.match(vD)?e:"unsafe:"+e}function It(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function ro(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var zp=It("area,br,col,hr,img,wbr"),Gp=It("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Wp=It("rp,rt"),DD=ro(Wp,Gp),ED=ro(Gp,It("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ID=ro(Wp,It("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),jf=ro(zp,ED,ID,DD),qp=It("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),wD=It("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),CD=It("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),bD=ro(qp,wD,CD),TD=It("script,style,template");var zc=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=SD(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=MD(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Bf(t).toLowerCase();if(!jf.hasOwnProperty(n))return this.sanitizedSomething=!0,!TD.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(!bD.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;qp[a]&&(c=no(c)),this.buf.push(" ",s,'="',Vf(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Bf(t).toLowerCase();jf.hasOwnProperty(n)&&!zp.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Vf(t))}};function _D(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function MD(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Zp(t);return t}function SD(e){let t=e.firstChild;if(t&&_D(e,t))throw Zp(t);return t}function Bf(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Zp(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var ND=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,AD=/([^\#-~ |!])/g;function Vf(e){return e.replace(/&/g,"&amp;").replace(ND,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(AD,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Pi;function ps(e,t){let n=null;try{Pi=Pi||mD(e);let r=t?String(t):"";n=Pi.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=Pi.getInertBodyElement(r)}while(r!==i);let a=new zc().sanitizeChildren(Hf(n)||n);return fs(a)}finally{if(n){let r=Hf(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Hf(e){return"content"in e&&xD(e)?e.content:null}function xD(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var RD=/^>|^->|<!--|-->|--!>|<!-$/g,OD=/(<|>)/g,kD="\u200B$1\u200B";function FD(e){return e.replace(RD,t=>t.replace(OD,kD))}function PD(e,t){return e.createText(t)}function LD(e,t,n){e.setValue(t,n)}function jD(e,t){return e.createComment(FD(t))}function Yp(e,t,n){return e.createElement(t,n)}function Yi(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Qp(e,t,n){e.appendChild(t,n)}function Uf(e,t,n,r,o){r!==null?Yi(e,t,n,r,o):Qp(e,t,n)}function Kp(e,t,n,r){e.removeChild(null,t,n,r)}function BD(e,t,n){e.setAttribute(t,"style",n)}function VD(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Jp(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Zv(e,t,r),o!==null&&VD(e,t,o),i!==null&&BD(e,t,i)}var Re=(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})(Re||{});function HD(e){let t=_u();return t?Pf(t.sanitize(Re.HTML,e)||""):it(e,"HTML")?Pf(be(e)):ps(kp(),ae(e))}function Xp(e){let t=_u();return t?t.sanitize(Re.URL,e)||"":it(e,"URL")?be(e):no(ae(e))}function eh(e){let t=_u();if(t)return Lf(t.sanitize(Re.RESOURCE_URL,e)||"");if(it(e,"ResourceURL"))return Lf(be(e));throw new m(904,!1)}var UD=new Set(["embed","frame","iframe","media","script"]),$D=new Set(["base","link","script"]);function zD(e,t){return t==="src"&&UD.has(e)||t==="href"&&$D.has(e)||t==="xlink:href"&&e==="script"?eh:Xp}function GD(e,t,n){return zD(t,n)(e)}function _u(){let e=D();return e&&e[Be].sanitizer}function WD(e){return e.ownerDocument}function th(e){return e instanceof Function?e():e}function qD(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var nh="ng-template";function ZD(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&qD(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Mu(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 Mu(e){return e.type===4&&e.value!==nh}function YD(e,t,n){let r=e.type===4&&!n?nh:e.value;return t===r}function QD(e,t,n){let r=4,o=e.attrs,i=o!==null?XD(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!ze(r)&&!ze(c))return!1;if(s&&ze(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!YD(e,c,n)||c===""&&t.length===1){if(ze(r))return!1;s=!0}}else if(r&8){if(o===null||!ZD(e,o,c,n)){if(ze(r))return!1;s=!0}}else{let u=t[++a],l=KD(c,o,Mu(e),n);if(l===-1){if(ze(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(ze(r))return!1;s=!0}}}}return ze(r)||s}function ze(e){return(e&1)===0}function KD(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 eE(t,e)}function rh(e,t,n=!1){for(let r=0;r<t.length;r++)if(QD(e,t[r],n))return!0;return!1}function JD(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function XD(e){for(let t=0;t<e.length;t++){let n=e[t];if(yp(n))return t}return e.length}function eE(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 tE(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function $f(e,t){return e?":not("+t.trim()+")":t}function nE(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ze(s)&&(t+=$f(i,o),o=""),r=s,i=i||!ze(r);n++}return o!==""&&(t+=$f(i,o)),t}function rE(e){return e.map(nE).join(",")}function oE(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!ze(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var ne={};function Su(e,t,n,r,o,i,s,a,c,u,l){let d=V+r,p=d+o,f=iE(d,p),h=typeof u=="function"?u():u;return f[w]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:l}}function iE(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:ne);return n}function sE(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Su(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Nu(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[je]=o,d[_]=r|4|128|8|64|1024,(u!==null||e&&e[_]&2048)&&(d[_]|=2048),ec(d),d[ee]=d[fn]=e,d[q]=n,d[Be]=s||e&&e[Be],d[L]=a||e&&e[L],d[mt]=c||e&&e[mt]||null,d[he]=i,d[yt]=cD(),d[dn]=l,d[Za]=u,d[ce]=t.type==2?e[ce]:d,d}function aE(e,t,n){let r=Ue(t,e),o=sE(n),i=e[Be].rendererFactory,s=Au(e,Nu(e,o,null,oh(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function oh(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function ih(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Au(e,t){return e[$n]?e[qa][Me]=t:e[$n]=t,e[qa]=t,t}function cE(e=1){sh(H(),D(),Ae()+e,!1)}function sh(e,t,n,r){if(!r)if((t[_]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ji(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Bi(t,i,0,n)}Vt(n)}var hs=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(hs||{});function Gc(e,t,n,r){let o=E(null);try{let[i,s,a]=e.inputs[n],c=null;(s&hs.SignalBased)!==0&&(c=t[i][W]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):dp(t,c,i,r)}finally{E(o)}}var ot=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(ot||{}),uE;function xu(e,t){return uE(e,t)}var BO=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Wc=new WeakMap,zr=new WeakSet;function lE(e,t){let n=Wc.get(e);if(!n||n.length===0)return;let r=t.parentNode,o=t.previousSibling;for(let i=n.length-1;i>=0;i--){let s=n[i],a=s.parentNode;s===t?(n.splice(i,1),zr.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(n.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function dE(e,t){let n=Wc.get(e);n?n.includes(t)||n.push(t):Wc.set(e,[t])}var In=new Set,gs=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(gs||{}),qe=new C(""),zf=new Set;function wt(e){zf.has(e)||(zf.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var ms=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=T({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ru=[0,1,2,3],Ou=(()=>{class e{ngZone=g(Q);scheduler=g(Pe);errorHandler=g(Te,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(qe,{optional:!0})}execute(){let n=this.sequences.size>0;n&&F(R.AfterRenderHooksStart),this.executing=!0;for(let r of Ru)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&F(R.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[hn]??=[]).push(n),yn(r),r[_]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(gs.AFTER_NEXT_RENDER,n):n()}static \u0275prov=T({token:e,providedIn:"root",factory:()=>new e})}return e})(),Zr=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[hn];t&&(this.view[hn]=t.filter(n=>n!==this))}};function fE(e,t){let n=t?.injector??g(se);return wt("NgAfterNextRender"),hE(e,n,t,!0)}function pE(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function hE(e,t,n,r){let o=t.get(ms);o.impl??=t.get(Ou);let i=t.get(qe,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(xe):null,a=t.get(Zn,null,{optional:!0}),c=new Zr(o.impl,pE(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var ah=new C("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:g(pe)})});function ch(e,t,n){let r=e.get(ah);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function gE(e,t){let n=e.get(ah);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function mE(e,t){for(let[n,r]of t)ch(e,r.animateFns)}function Gf(e,t,n,r){let o=e?.[Lt]?.enter;t!==null&&o&&o.has(n.index)&&mE(r,o)}function Qn(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;Ve(o)?c=o:vt(o)&&(u=!0,o=o[je]);let l=Se(o);e===0&&r!==null?(Gf(a,r,i,n),s==null?Qp(t,r,l):Yi(t,r,l,s||null,!0)):e===1&&r!==null?(Gf(a,r,i,n),Yi(t,r,l,s||null,!0),lE(i,l)):e===2?(a?.[Lt]?.leave?.has(i.index)&&dE(i,l),zr.delete(l),Wf(a,i,n,d=>{if(zr.has(l)){zr.delete(l);return}Kp(t,l,u,d)})):e===3&&(zr.delete(l),Wf(a,i,n,()=>{t.destroyNode(l)})),c!=null&&ME(t,e,n,c,i,r,s)}}function yE(e,t){uh(e,t),t[je]=null,t[he]=null}function vE(e,t,n,r,o,i){r[je]=o,r[he]=t,vs(e,r,n,1,o,i)}function uh(e,t){t[Be].changeDetectionScheduler?.notify(9),vs(e,t,t[L],2,null,null)}function DE(e){let t=e[$n];if(!t)return wc(e[w],e);for(;t;){let n=null;if(vt(t))n=t[$n];else{let r=t[Z];r&&(n=r)}if(!n){for(;t&&!t[Me]&&t!==e;)vt(t)&&wc(t[w],t),t=t[ee];t===null&&(t=e),vt(t)&&wc(t[w],t),n=t&&t[Me]}t=n}}function ku(e,t){let n=e[gn],r=n.indexOf(t);n.splice(r,1)}function ys(e,t){if(mn(t))return;let n=t[L];n.destroyNode&&vs(e,t,n,3,null,null),DE(t)}function wc(e,t){if(mn(t))return;let n=E(null);try{t[_]&=-129,t[_]|=256,t[we]&&xt(t[we]),wE(e,t),IE(e,t),t[w].type===1&&t[L].destroy();let r=t[Pt];if(r!==null&&Ve(t[ee])){r!==t[ee]&&ku(r,t);let o=t[nt];o!==null&&o.detachView(e)}kc(t)}finally{E(n)}}function Wf(e,t,n,r){let o=e?.[Lt];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&In.add(e[yt]),ch(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let u=s.animateFns[c],{promise:l}=u();a.push(l)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),EE(e,r)}else e&&In.delete(e[yt]),r(!1)},o)}function EE(e,t){let n=e[Lt]?.running;if(n){n.then(()=>{e[Lt].running=void 0,In.delete(e[yt]),t(!0)});return}t(!1)}function IE(e,t){let n=e.cleanup,r=t[Un];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Un]=null);let o=t[pt];if(o!==null){t[pt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[kt];if(i!==null){t[kt]=null;for(let s of i)s.destroy()}}function wE(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof En)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];F(R.LifecycleHookStart,a,c);try{c.call(a)}finally{F(R.LifecycleHookEnd,a,c)}}else{F(R.LifecycleHookStart,o,i);try{i.call(o)}finally{F(R.LifecycleHookEnd,o,i)}}}}}function lh(e,t,n){return CE(e,t.parent,n)}function CE(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[je];if(Dt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===We.None||o===We.Emulated)return null}return Ue(r,n)}function dh(e,t,n){return TE(e,t,n)}function bE(e,t,n){return e.type&40?Ue(e,n):null}var TE=bE,qf;function Fu(e,t,n,r){let o=lh(e,r,t),i=t[L],s=r.parent||t[he],a=dh(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Uf(i,o,n[c],a,!1);else Uf(i,o,n,a,!1);qf!==void 0&&qf(i,r,t,n,o)}function Gr(e,t){if(t!==null){let n=t.type;if(n&3)return Ue(t,e);if(n&4)return qc(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Gr(e,r);{let o=e[t.index];return Ve(o)?qc(-1,o):Se(o)}}else{if(n&128)return Gr(e,t.next);if(n&32)return xu(t,e)()||Se(e[t.index]);{let r=fh(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Ft(e[ce]);return Gr(o,r)}else return Gr(e,t.next)}}}return null}function fh(e,t){if(t!==null){let r=e[ce][he],o=t.projection;return r.projection[o]}return null}function qc(e,t){let n=Z+e+1;if(n<t.length){let r=t[n],o=r[w].firstChild;if(o!==null)return Gr(r,o)}return t[jt]}function Pu(e,t,n,r,o,i,s){for(;n!=null;){let a=r[mt];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&Xn(Se(c),r),n.flags|=2),!ds(n))if(u&8)Pu(e,t,n.child,r,o,i,!1),Qn(t,e,a,o,c,n,i,r);else if(u&32){let l=xu(n,r),d;for(;d=l();)Qn(t,e,a,o,d,n,i,r);Qn(t,e,a,o,c,n,i,r)}else u&16?ph(e,t,r,n,o,i):Qn(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function vs(e,t,n,r,o,i){Pu(n,r,e.firstChild,t,o,i,!1)}function _E(e,t,n){let r=t[L],o=lh(e,n,t),i=n.parent||t[he],s=dh(i,n,t);ph(r,0,t,n,o,s)}function ph(e,t,n,r,o,i){let s=n[ce],c=s[he].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Qn(t,e,n[mt],o,l,r,i,n)}else{let u=c,l=s[ee];Np(r)&&(u.flags|=128),Pu(e,t,u,l,o,i,!0)}}function ME(e,t,n,r,o,i,s){let a=r[jt],c=Se(r);a!==c&&Qn(t,e,n,i,a,o,s);for(let u=Z;u<r.length;u++){let l=r[u];vs(l[w],l,e,t,i,a)}}function SE(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:ot.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ot.Important),e.setStyle(n,r,o,i))}}function hh(e,t,n,r,o){let i=Ae(),s=r&2;try{Vt(-1),s&&t.length>V&&sh(e,t,V,!1);let a=s?R.TemplateUpdateStart:R.TemplateCreateStart;F(a,o,n),n(r,o)}finally{Vt(i);let a=s?R.TemplateUpdateEnd:R.TemplateCreateEnd;F(a,o,n)}}function Ds(e,t,n){kE(e,t,n),(n.flags&64)===64&&FE(e,t,n)}function oo(e,t,n=Ue){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 NE(e,t,n,r){let i=r.get(jp,Lp)||n===We.ShadowDom||n===We.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return AE(s),s}function AE(e){xE(e)}var xE=()=>null;function RE(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function gh(e,t,n,r,o,i){let s=t[w];if(Vu(e,s,t,n,r)){Dt(e)&&OE(t,e.index);return}e.type&3&&(n=RE(n)),mh(e,t,n,r,o,i)}function mh(e,t,n,r,o,i){if(e.type&3){let s=Ue(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function OE(e,t){let n=Ne(t,e);n[_]&16||(n[_]|=64)}function kE(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Dt(n)&&aE(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||qi(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=qr(t,e,s,n);if(Xn(c,t),i!==null&&BE(t,s-r,c,a,n,i),He(a)){let u=Ne(n.index,t);u[q]=qr(t,e,s,n)}}}function FE(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=pf();try{Vt(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];_i(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&PE(c,u)}}finally{Vt(-1),_i(s)}}function PE(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Lu(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];rh(t,i.selectors,!1)&&(r??=[],He(i)?r.unshift(i):r.push(i))}return r}function LE(e,t,n,r,o,i){let s=Ue(e,t);jE(t[L],s,i,e.value,n,r,o)}function jE(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?ae(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function BE(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];Gc(r,n,c,u)}}function ju(e,t,n,r,o){let i=V+n,s=t[w],a=o(s,t,e,r,n);t[i]=a,Wn(e,!0);let c=e.type===2;return c?(Jp(t[L],a,e),(rf()===0||zn(e))&&Xn(a,t),of()):Xn(a,t),Ai()&&(!c||!ds(e))&&Fu(s,t,a,e),e}function Bu(e){let t=e;return lc()?dc():(t=t.parent,Wn(t,!1)),t}function VE(e,t){let n=e[mt];if(!n)return;let r;try{r=n.get($e,null)}catch(o){r=null}r?.(t)}function Vu(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let u=s[c],l=s[c+1],d=t.data[u];Gc(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];Gc(l,u,r,o),a=!0}return a}function HE(e,t){let n=Ne(t,e),r=n[w];UE(r,n);let o=n[je];o!==null&&n[dn]===null&&(n[dn]=Vp(o,n[mt])),F(R.ComponentStart);try{Hu(r,n,n[q])}finally{F(R.ComponentEnd,n[q])}}function UE(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Hu(e,t,n){Si(t);try{let r=e.viewQuery;r!==null&&Pc(1,r,n);let o=e.template;o!==null&&hh(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[nt]?.finishViewCreation(e),e.staticContentQueries&&Hp(e,t),e.staticViewQueries&&Pc(2,e.viewQuery,n);let i=e.components;i!==null&&$E(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[_]&=-5,Ni()}}function $E(e,t){for(let n=0;n<t.length;n++)HE(e,t[n])}function io(e,t,n,r){let o=E(null);try{let i=t.tView,a=e[_]&4096?4096:16,c=Nu(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[Pt]=u;let l=e[nt];return l!==null&&(c[nt]=l.createEmbeddedView(i)),Hu(i,c,n),c}finally{E(o)}}function er(e,t){return!t||t.firstChild===null||Np(e)}function Yr(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(Se(i)),Ve(i)&&yh(i,r);let s=n.type;if(s&8)Yr(e,t,n.child,r);else if(s&32){let a=xu(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=fh(t,n);if(Array.isArray(a))r.push(...a);else{let c=Ft(t[ce]);Yr(c[w],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function yh(e,t){for(let n=Z;n<e.length;n++){let r=e[n],o=r[w].firstChild;o!==null&&Yr(r[w],r,o,t)}e[jt]!==e[je]&&t.push(e[jt])}function vh(e){if(e[hn]!==null){for(let t of e[hn])t.impl.addSequence(t);e[hn].length=0}}var Dh=[];function zE(e){return e[we]??GE(e)}function GE(e){let t=Dh.pop()??Object.create(qE);return t.lView=e,t}function WE(e){e.lView[we]!==e&&(e.lView=null,Dh.push(e))}var qE=$(B({},Nt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{yn(e.lView)},consumerOnSignalRead(){this.lView[we]=this}});function ZE(e){let t=e[we]??Object.create(YE);return t.lView=e,t}var YE=$(B({},Nt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Ft(e.lView);for(;t&&!Eh(t[w]);)t=Ft(t);t&&tc(t)},consumerOnSignalRead(){this.lView[we]=this}});function Eh(e){return e.type!==2}function Ih(e){if(e[kt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[kt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[_]&8192)}}var QE=100;function wh(e,t=0){let r=e[Be].rendererFactory,o=!1;o||r.begin?.();try{KE(e,t)}finally{o||r.end?.()}}function KE(e,t){let n=fc();try{Sr(!0),Zc(e,t);let r=0;for(;Lr(e);){if(r===QE)throw new m(103,!1);r++,Zc(e,1)}}finally{Sr(n)}}function JE(e,t,n,r){if(mn(t))return;let o=t[_],i=!1,s=!1;Si(t);let a=!0,c=null,u=null;i||(Eh(e)?(u=zE(t),c=dt(u)):ti()===null?(a=!1,u=ZE(t),c=dt(u)):t[we]&&(xt(t[we]),t[we]=null));try{ec(t),lf(e.bindingStartIndex),n!==null&&hh(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&ji(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Bi(t,f,0,null),Ec(t,0)}if(s||XE(t),Ih(t),Ch(t,0),e.contentQueries!==null&&Hp(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&ji(t,f)}else{let f=e.contentHooks;f!==null&&Bi(t,f,1),Ec(t,1)}tI(e,t);let d=e.components;d!==null&&Th(t,d,0);let p=e.viewQuery;if(p!==null&&Pc(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&ji(t,f)}else{let f=e.viewHooks;f!==null&&Bi(t,f,2),Ec(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ei]){for(let f of t[Ei])f();t[Ei]=null}i||(vh(t),t[_]&=-73)}catch(l){throw i||yn(t),l}finally{u!==null&&(At(u,c),a&&WE(u)),Ni()}}function Ch(e,t){for(let n=xp(e);n!==null;n=Rp(n))for(let r=Z;r<n.length;r++){let o=n[r];bh(o,t)}}function XE(e){for(let t=xp(e);t!==null;t=Rp(t)){if(!(t[_]&2))continue;let n=t[gn];for(let r=0;r<n.length;r++){let o=n[r];tc(o)}}}function eI(e,t,n){F(R.ComponentStart);let r=Ne(t,e);try{bh(r,n)}finally{F(R.ComponentEnd,r[q])}}function bh(e,t){wi(e)&&Zc(e,t)}function Zc(e,t){let r=e[w],o=e[_],i=e[we],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Fn(i)),s||=!1,i&&(i.dirty=!1),e[_]&=-9217,s)JE(r,e,r.template,e[q]);else if(o&8192){let a=E(null);try{Ih(e),Ch(e,1);let c=r.components;c!==null&&Th(e,c,1),vh(e)}finally{E(a)}}}function Th(e,t,n){for(let r=0;r<t.length;r++)eI(e,t[r],n)}function tI(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Vt(~o);else{let i=o,s=n[++r],a=n[++r];ff(s,i);let c=t[i];F(R.HostBindingsUpdateStart,c);try{a(2,c)}finally{F(R.HostBindingsUpdateEnd,c)}}}}finally{Vt(-1)}}function Uu(e,t){let n=fc()?64:1088;for(e[Be].changeDetectionScheduler?.notify(t);e;){e[_]|=n;let r=Ft(e);if(Gn(e)&&!r)return e;e=r}return null}function _h(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Mh(e,t){let n=Z+t;if(n<e.length)return e[n]}function so(e,t,n,r=!0){let o=t[w];if(nI(o,t,e,n),r){let s=qc(n,e),a=t[L],c=a.parentNode(e[jt]);c!==null&&vE(o,e[he],a,t,c,s)}let i=t[dn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Sh(e,t){let n=Qr(e,t);return n!==void 0&&ys(n[w],n),n}function Qr(e,t){if(e.length<=Z)return;let n=Z+t,r=e[n];if(r){let o=r[Pt];o!==null&&o!==e&&ku(o,r),t>0&&(e[n-1][Me]=r[Me]);let i=Or(e,Z+t);yE(r[w],r);let s=i[nt];s!==null&&s.detachView(i[w]),r[ee]=null,r[Me]=null,r[_]&=-129}return r}function nI(e,t,n,r){let o=Z+r,i=n.length;r>0&&(n[o-1][Me]=t),r<i-Z?(t[Me]=n[o],Ha(n,Z+r,t)):(n.push(t),t[Me]=null),t[ee]=n;let s=t[Pt];s!==null&&n!==s&&Nh(s,t);let a=t[nt];a!==null&&a.insertView(e),Ci(t),t[_]|=128}function Nh(e,t){let n=e[gn],r=t[ee];if(vt(r))e[_]|=2;else{let o=r[ee][ce];t[ce]!==o&&(e[_]|=2)}n===null?e[gn]=[t]:n.push(t)}var Ut=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[w];return Yr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[q]}set context(t){this._lView[q]=t}get destroyed(){return mn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[ee];if(Ve(t)){let n=t[Fr],r=n?n.indexOf(this):-1;r>-1&&(Qr(t,r),Or(n,r))}this._attachedToViewContainer=!1}ys(this._lView[w],this._lView)}onDestroy(t){nc(this._lView,t)}markForCheck(){Uu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_]&=-129}reattach(){Ci(this._lView),this._lView[_]|=128}detectChanges(){this._lView[_]|=1024,wh(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new m(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Gn(this._lView),n=this._lView[Pt];n!==null&&!t&&ku(n,this._lView),uh(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new m(902,!1);this._appRef=t;let n=Gn(this._lView),r=this._lView[Pt];r!==null&&!n&&Nh(r,this._lView),Ci(this._lView)}};var tr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=rI;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=io(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new Ut(i)}}return e})();function rI(){return Es(te(),D())}function Es(e,t){return e.type&4?new tr(t,e,or(e,t)):null}function ir(e,t,n,r,o){let i=e.data[t];if(i===null)i=oI(e,t,n,r,o),df()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=cf();i.injectorIndex=s===null?-1:s.injectorIndex}return Wn(i,!0),i}function oI(e,t,n,r,o){let i=uc(),s=lc(),a=s?i:i&&i.parent,c=e.data[t]=sI(e,a,n,t,r,o);return iI(e,c,i,s),c}function iI(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 sI(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return sc()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function aI(e){let t=e[Ya]??[],r=e[ee][L],o=[];for(let i of t)i.data[Pp]!==void 0?o.push(i):cI(i,r);e[Ya]=o}function cI(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Fp];for(;n<o;){let i=r.nextSibling;Kp(t,r,!1),r=i,n++}}}var uI=()=>null,lI=()=>null;function Qi(e,t){return uI(e,t)}function Ah(e,t,n){return lI(e,t,n)}var xh=class{},Is=class{},Yc=class{resolveComponentFactory(t){throw new m(917,!1)}},ao=class{static NULL=new Yc},wn=class{},ws=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>dI()}return e})();function dI(){let e=D(),t=te(),n=Ne(t.index,e);return(vt(n)?n:e)[L]}var Rh=(()=>{class e{static \u0275prov=T({token:e,providedIn:"root",factory:()=>null})}return e})();var Hi={},Qc=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Hi,r);return o!==Hi||n===Hi?o:this.parentInjector.get(t,n,r)}};function Ki(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=di(o,a);else if(i==2){let c=a,u=t[++s];r=di(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function me(e,t=0){let n=D();if(n===null)return b(e,t);let r=te();return bp(r,n,X(e),t)}function fI(){let e="invalid";throw new Error(e)}function Oh(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,u=null;for(let l of s)if(l.resolveHostDirectives!==null){[a,c,u]=l.resolveHostDirectives(s);break}gI(e,t,n,a,i,c,u)}i!==null&&r!==null&&pI(n,r,i)}function pI(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new m(-301,!1);r.push(t[o],i)}}function hI(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function gI(e,t,n,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&He(f)&&(c=f,hI(e,n,p)),Rc(qi(n,t),e,f.type)}II(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=ih(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=Jn(n.mergedAttrs,f.hostAttrs),yI(e,n,t,d,f),EI(d,f,o),s!==null&&s.has(f)){let[I,y]=s.get(f);n.directiveToIndex.set(f.type,[d,I+n.directiveStart,y+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!u&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}mI(e,n,i)}function mI(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Zf(0,t,o,r),Zf(1,t,o,r),Qf(t,r,!1);else{let i=n.get(o);Yf(0,t,i,r),Yf(1,t,i,r),Qf(t,r,!0)}}}function Zf(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),kh(t,i)}}function Yf(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),kh(t,s)}}function kh(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Qf(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Mu(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let u=o[c];for(let l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function yI(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Ot(o.type,!0)),s=new En(i,He(o),me,null);e.blueprint[r]=s,n[r]=s,vI(e,t,r,ih(e,n,o.hostVars,ne),o)}function vI(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;DI(s)!=a&&s.push(a),s.push(n,r,i)}}function DI(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function EI(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 II(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function $u(e,t,n,r,o,i,s,a){let c=t[w],u=c.consts,l=Ce(u,s),d=ir(c,e,n,r,l);return i&&Oh(c,t,d,Ce(u,a),o),d.mergedAttrs=Jn(d.mergedAttrs,d.attrs),d.attrs!==null&&Ki(d,d.attrs,!1),d.mergedAttrs!==null&&Ki(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function zu(e,t){gp(e,t),Qa(t)&&e.queries.elementEnd(t)}function wI(e,t,n,r,o,i){let s=t.consts,a=Ce(s,o),c=ir(t,e,n,r,a);if(c.mergedAttrs=Jn(c.mergedAttrs,c.attrs),i!=null){let u=Ce(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&Ki(c,c.attrs,!1),c.mergedAttrs!==null&&Ki(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Cs(e,t,n){return e[t]=n}function CI(e,t){return e[t]}function ge(e,t,n){if(n===ne)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Kr(e,t,n,r){let o=ge(e,t,n);return ge(e,t+1,r)||o}function bI(e,t,n,r,o){let i=Kr(e,t,n,r);return ge(e,t+2,o)||i}function Fh(e,t,n,r,o,i){let s=Kr(e,t,n,r);return Kr(e,t+2,o,i)||s}function Ui(e,t,n){return function r(o){let i=Dt(e)?Ne(e.index,t):t;Uu(i,5);let s=t[q],a=Kf(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Kf(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Kf(e,t,n,r){let o=E(null);try{return F(R.OutputStart,t,n),n(r)!==!1}catch(i){return VE(e,i),!1}finally{F(R.OutputEnd,t,n),E(o)}}function Ph(e,t,n,r,o,i,s,a){let c=zn(e),u=!1,l=null;if(!r&&c&&(l=_I(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=Ue(e,n),p=r?r(d):d;pD(n,p,i,a);let f=o.listen(p,i,a);if(!TI(i)){let h=r?I=>r(Se(I[e.index])):e.index;Lh(h,t,n,i,a,f,!1)}}return u}function TI(e){return e.startsWith("animation")||e.startsWith("transition")}function _I(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Un],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Lh(e,t,n,r,o,i,s){let a=t.firstCreatePass?oc(t):null,c=rc(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function Jf(e,t,n,r,o,i){let s=t[n],a=t[w],u=a.data[n].outputs[r],d=s[u].subscribe(i);Lh(e.index,a,t,o,i,d,!0)}var Kc=Symbol("BINDING");function jh(e){return e.debugInfo?.className||e.type.name||null}var Ji=class extends ao{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=tt(t);return new $t(n,this.ngModule)}};function MI(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&hs.SignalBased)!==0};return o&&(i.transform=o),i})}function SI(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function NI(e,t,n){let r=t instanceof pe?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Qc(n,r):n}function AI(e){let t=e.get(wn,null);if(t===null)throw new m(407,!1);let n=e.get(Rh,null),r=e.get(Pe,null),o=e.get(qe,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function xI(e,t){let n=Bh(e);return Yp(t,n,n==="svg"?Ka:n==="math"?Kd:null)}function Bh(e){return(e.selectors[0][0]||"div").toLowerCase()}var $t=class extends Is{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=MI(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=SI(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=rE(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){F(R.DynamicComponentStart);let a=E(null);try{let c=this.componentDef,u=NI(c,o||this.ngModule,t),l=AI(u),d=l.tracingService;return d&&d.componentCreate?d.componentCreate(jh(c),()=>this.createComponentRef(l,u,n,r,i,s)):this.createComponentRef(l,u,n,r,i,s)}finally{E(a)}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=RI(o,a,s,i),u=t.rendererFactory.createRenderer(null,a),l=o?NE(u,o,a.encapsulation,n):xI(a,u),d=s?.some(Xf)||i?.some(h=>typeof h!="function"&&h.bindings.some(Xf)),p=Nu(null,c,null,512|oh(a),null,null,t,u,n,null,Vp(l,n,!0));p[V]=l,Si(p);let f=null;try{let h=$u(V,p,2,"#host",()=>c.directiveRegistry,!0,0);Jp(u,l,h),Xn(l,p),Ds(c,p,h),Eu(c,h,p),zu(c,h),r!==void 0&&kI(h,this.ngContentSelectors,r),f=Ne(h.index,p),p[q]=f[q],Hu(c,p,null)}catch(h){throw f!==null&&kc(f),kc(p),h}finally{F(R.DynamicComponentEnd),Ni()}return new Xi(this.componentType,p,!!d)}};function RI(e,t,n,r){let o=e?["ng-version","21.2.6"]:oE(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[Kc].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){let d=r[l];if(typeof d!="function")for(let p of d.bindings){a+=p[Kc].requiredVars;let f=l+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,p=hi(d);c.push(p)}return Su(0,null,OI(i,s),1,a,c,null,null,null,[o],null)}function OI(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Xf(e){let t=e[Kc].kind;return t==="input"||t==="twoWay"}var Xi=class extends xh{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Ii(n[w],V),this.location=or(this._tNode,n),this.instance=Ne(this._tNode.index,n)[q],this.hostView=this.changeDetectorRef=new Ut(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Vu(r,o[w],o,t,n);this.previousInputValues.set(t,n);let s=Ne(r.index,o);Uu(s,1)}get injector(){return new Dn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function kI(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 sr=(()=>{class e{static __NG_ELEMENT_ID__=FI}return e})();function FI(){let e=te();return Vh(e,D())}var Jc=class e extends sr{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return or(this._hostTNode,this._hostLView)}get injector(){return new Dn(this._hostTNode,this._hostLView)}get parentInjector(){let t=mu(this._hostTNode,this._hostLView);if(vp(t)){let n=Gi(t,this._hostLView),r=zi(t),o=n[w].data[r+8];return new Dn(o,n)}else return new Dn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=ep(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Z}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Qi(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,er(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!Vv(t),u;if(c)u=n;else{let y=n||{};u=y.index,r=y.injector,o=y.projectableNodes,i=y.environmentInjector||y.ngModuleRef,s=y.directives,a=y.bindings}let l=c?t:new $t(tt(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let v=(c?d:this.parentInjector).get(pe,null);v&&(i=v)}let p=tt(l.componentType??{}),f=Qi(this._lContainer,p?.id??null),h=f?.firstChild??null,I=l.create(d,o,h,i,s,a);return this.insertImpl(I.hostView,u,er(this._hostTNode,f)),I}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Xd(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[ee],u=new e(c,c[he],c[ee]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return so(s,o,i,r),t.attachToViewContainerRef(),Ha(Cc(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=ep(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Qr(this._lContainer,n);r&&(Or(Cc(this._lContainer),n),ys(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=Qr(this._lContainer,n);return r&&Or(Cc(this._lContainer),n)!=null?new Ut(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function ep(e){return e[Fr]}function Cc(e){return e[Fr]||(e[Fr]=[])}function Vh(e,t){let n,r=t[e.index];return Ve(r)?n=r:(n=_h(r,t,null,e),t[e.index]=n,Au(t,n)),LI(n,t,e,r),new Jc(n,e,t)}function PI(e,t){let n=e[L],r=n.createComment(""),o=Ue(t,e),i=n.parentNode(o);return Yi(n,i,r,n.nextSibling(o),!1),r}var LI=VI,jI=()=>!1;function BI(e,t,n){return jI(e,t,n)}function VI(e,t,n,r){if(e[jt])return;let o;n.type&8?o=Se(r):o=PI(t,n),e[jt]=o}var Xc=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},eu=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++)Wu(t,n).matches!==null&&this.queries[n].setDirty()}},es=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=GI(t):this.predicate=t}},tu=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)}},nu=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,HI(n,i)),this.matchTNodeWithReadOption(t,n,Vi(n,t,i,!1,!1))}else r===tr?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Vi(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===zt||o===sr||o===tr&&n.type&4)this.addMatch(n.index,-2);else{let i=Vi(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 HI(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 UI(e,t){return e.type&11?or(e,t):e.type&4?Es(e,t):null}function $I(e,t,n,r){return n===-1?UI(t,e):n===-2?zI(e,t,r):qr(e,e[w],n,t)}function zI(e,t,n){if(n===zt)return or(t,e);if(n===tr)return Es(t,e);if(n===sr)return Vh(t,e)}function Hh(e,t,n,r){let o=t[nt].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push($I(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function ru(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Hh(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=Z;d<l.length;d++){let p=l[d];p[Pt]===p[ee]&&ru(p[w],p,u,r)}if(l[gn]!==null){let d=l[gn];for(let p=0;p<d.length;p++){let f=d[p];ru(f[w],f,u,r)}}}}}return r}function Gu(e,t){return e[nt].queries[t].queryList}function Uh(e,t,n){let r=new Zi((n&4)===4);return nf(e,t,r,r.destroy),(t[nt]??=new eu).queries.push(new Xc(r))-1}function $h(e,t,n){let r=H();return r.firstCreatePass&&(Gh(r,new es(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Uh(r,D(),t)}function zh(e,t,n,r){let o=H();if(o.firstCreatePass){let i=te();Gh(o,new es(t,n,r),i.index),WI(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Uh(o,D(),n)}function GI(e){return e.split(",").map(t=>t.trim())}function Gh(e,t,n){e.queries===null&&(e.queries=new tu),e.queries.track(new nu(t,n))}function WI(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 Wu(e,t){return e.queries.getByIndex(t)}function Wh(e,t){let n=e[w],r=Wu(n,t);return r.crossesNgTemplate?ru(n,e,t,[]):Hh(n,e,r,t)}function qh(e,t,n){let r,o=Cr(()=>{r._dirtyCounter();let i=qI(r,e);if(t&&i===void 0)throw new m(-951,!1);return i});return r=o[W],r._dirtyCounter=xi(0),r._flatValue=void 0,o}function qu(e){return qh(!0,!1,e)}function Zu(e){return qh(!0,!0,e)}function Zh(e,t){let n=e[W];n._lView=D(),n._queryIndex=t,n._queryList=Gu(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function qI(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[_]&4)return t?void 0:ie;let o=Gu(n,r),i=Wh(n,r);return o.reset(i,Sp),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var Cn=class{},Yh=class{};var ts=class extends Cn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Ji(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=ja(t);this._bootstrapComponents=th(i.bootstrap),this._r3Injector=gc(t,n,[{provide:Cn,useValue:this},{provide:ao,useValue:this.componentFactoryResolver},...r],xr(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)}},ns=class extends Yh{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new ts(this.moduleType,t,[])}};var Jr=class extends Cn{injector;componentFactoryResolver=new Ji(this);instance=null;constructor(t){super();let n=new cn([...t.providers,{provide:Cn,useValue:this},{provide:ao,useValue:this.componentFactoryResolver}],t.parent||Vn(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Qh(e,t,n=null){return new Jr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var ZI=(()=>{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=za(!1,n.type),o=r.length>0?Qh([r],this._injector,""):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=T({token:e,providedIn:"environment",factory:()=>new e(b(pe))})}return e})();function YI(e){return eo(()=>{let t=Kh(e),n=$(B({},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(ZI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||We.Emulated,styles:e.styles||ie,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&wt("NgStandalone"),Jh(n);let r=e.dependencies;return n.directiveDefs=tp(r,QI),n.pipeDefs=tp(r,Pd),n.id=XI(n),n})}function QI(e){return tt(e)||hi(e)}function ar(e){return eo(()=>({type:e.type,bootstrap:e.bootstrap||ie,declarations:e.declarations||ie,imports:e.imports||ie,exports:e.exports||ie,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function KI(e,t){if(e==null)return Le;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=hs.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function JI(e){if(e==null)return Le;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function bs(e){return eo(()=>{let t=Kh(e);return Jh(t),t})}function cr(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 Kh(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Le,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ie,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:KI(e.inputs,t),outputs:JI(e.outputs),debugInfo:null}}function Jh(e){e.features?.forEach(t=>t(e))}function tp(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function XI(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 ew(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=tw,n.hostDirectives=r?e.map(ou):[e]):r?n.hostDirectives.unshift(...e.map(ou)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function tw(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,Xh(s,t,r),o.set(s,[a,t.length-1])}i===0&&He(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function Xh(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)np(ou(i),t,n)}else np(r,t,n)}function np(e,t,n){let r=hi(e.directive);nw(r.declaredInputs,e.inputs),Xh(r,t,n),n.set(r,e),t.push(r)}function ou(e){return typeof e=="function"?{directive:X(e),inputs:Le,outputs:Le}:{directive:X(e.directive),inputs:rp(e.inputs),outputs:rp(e.outputs)}}function rp(e){if(e===void 0||e.length===0)return Le;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function nw(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function rw(e){return Object.getPrototypeOf(e.prototype).constructor}function eg(e){let t=rw(e.type),n=!0,r=[e];for(;t;){let o;if(He(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new m(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=bc(e.inputs),s.declaredInputs=bc(e.declaredInputs),s.outputs=bc(e.outputs);let a=o.hostBindings;a&&cw(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&sw(e,c),u&&aw(e,u),ow(e,o),Fd(e.outputs,o.outputs),He(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===eg&&(n=!1)}}t=Object.getPrototypeOf(t)}iw(r)}function ow(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 iw(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=Jn(o.hostAttrs,n=Jn(n,o.hostAttrs))}}function bc(e){return e===Le?{}:e===ie?[]:e}function sw(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function aw(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function cw(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function tg(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Jn(e.mergedAttrs,e.attrs);let l=e.tView=Su(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Wn(e,!1);let c=lw(n,t,e,r);Ai()&&Fu(n,t,c,e),Xn(c,t);let u=_h(c,t,c,e);t[r+V]=u,Au(t,u),BI(u,e,t)}function uw(e,t,n,r,o,i,s,a,c,u,l){let d=n+V,p;return t.firstCreatePass?(p=ir(t,d,4,s||null,a||null),bi()&&Oh(t,e,p,Ce(t.consts,u),Lu),gp(t,p)):p=t.data[d],tg(p,e,t,n,r,o,i,c),zn(p)&&Ds(t,e,p),u!=null&&oo(e,p,l),p}function nr(e,t,n,r,o,i,s,a,c,u,l){let d=n+V,p;if(t.firstCreatePass){if(p=ir(t,d,4,s||null,a||null),u!=null){let f=Ce(t.consts,u);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return tg(p,e,t,n,r,o,i,c),u!=null&&oo(e,p,l),p}function ng(e,t,n,r,o,i,s,a){let c=D(),u=H(),l=Ce(u.consts,i);return uw(c,u,e,t,n,r,o,l,void 0,s,a),ng}function rg(e,t,n,r,o,i,s,a){let c=D(),u=H(),l=Ce(u.consts,i);return nr(c,u,e,t,n,r,o,l,void 0,s,a),rg}var lw=dw;function dw(e,t,n,r){return Vr(!0),t[L].createComment("")}var og=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Yu(e){return typeof e=="function"&&e[W]!==void 0}function Qu(e){return Yu(e)&&typeof e.set=="function"}var Ku=new C("");function co(e){return!!e&&typeof e.then=="function"}function Ts(e){return!!e&&typeof e.subscribe=="function"}var Ju=new C("");function fw(e){return gt([{provide:Ju,multi:!0,useValue:e}])}var Xu=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=g(Ju,{optional:!0})??[];injector=g(se);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Hn(this.injector,o);if(co(i))n.push(i);else if(Ts(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ig=new C("");function sg(){ha(()=>{let e="";throw new m(600,e)})}function ag(e){return e.isBoundToModule}var pw=10;var ur=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g($e);afterRenderManager=g(ms);zonelessEnabled=g(Yn);rootEffectScheduler=g(Oi);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new le;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(Ht);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(de(n=>!n))}constructor(){g(qe,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=g(pe);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=se.NULL){return this._injector.get(Q).run(()=>{F(R.BootstrapComponentStart);let s=n instanceof Is;if(!this._injector.get(Xu).done){let h="";throw new m(405,h)}let c;s?c=n:c=this._injector.get(ao).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=ag(c)?void 0:this._injector.get(Cn),l=r||c.selector,d=c.create(o,[],l,u),p=d.location.nativeElement,f=d.injector.get(Ku,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),Wr(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),F(R.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){F(R.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(gs.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw F(R.ChangeDetectionEnd),new m(101,!1);let n=E(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,E(n),this.afterTick.next(),F(R.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(wn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<pw;){F(R.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{F(R.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Lr(o))continue;let i=r&&!this.zonelessEnabled?0:1;wh(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Lr(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Wr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(ig,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Wr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new m(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Wr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function cg(e,t,n,r){let o=D(),i=Bt();if(ge(o,i,t)){let s=H(),a=Br();LE(a,o,e,t,n,r)}return cg}function hw(){return D()[ce][q]}var iu=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 Tc(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function gw(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){E(r);let u=t.length-1;for(E(null);s<=a&&s<=u;){let l=e.at(s),d=t[s],p=Tc(s,l,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[u],I=Tc(a,f,u,h,n);if(I!==0){I<0&&e.updateValue(a,h),a--,u--;continue}let y=n(s,l),v=n(a,f),P=n(s,d);if(Object.is(P,v)){let Ee=n(u,h);Object.is(Ee,y)?(e.swap(s,a),e.updateValue(a,h),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new rs,i??=ip(e,s,a,n),su(e,o,s,P))e.updateValue(s,d),s++,a++;else if(i.has(P))o.set(y,e.detach(s)),a--;else{let Ee=e.create(s,t[s]);e.attach(s,Ee),s++,a++}}for(;s<=u;)op(e,o,n,s,t[s]),s++}else if(t!=null){E(r);let u=t[Symbol.iterator]();E(null);let l=u.next();for(;!l.done&&s<=a;){let d=e.at(s),p=l.value,f=Tc(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,l=u.next();else{o??=new rs,i??=ip(e,s,a,n);let h=n(s,p);if(su(e,o,s,h))e.updateValue(s,p),s++,a++,l=u.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,l=u.next();else{let I=n(s,d);o.set(I,e.detach(s)),a--}}}for(;!l.done;)op(e,o,n,e.length,l.value),l=u.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(u=>{e.destroy(u)})}function su(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function op(e,t,n,r,o){if(su(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function ip(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var rs=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 mw(e,t,n,r,o,i,s,a){wt("NgControlFlow");let c=D(),u=H(),l=Ce(u.consts,i);return nr(c,u,e,t,n,r,o,l,256,s,a),el}function el(e,t,n,r,o,i,s,a){wt("NgControlFlow");let c=D(),u=H(),l=Ce(u.consts,i);return nr(c,u,e,t,n,r,o,l,512,s,a),el}function yw(e,t){wt("NgControlFlow");let n=D(),r=Bt(),o=n[r]!==ne?n[r]:-1,i=o!==-1?os(n,V+o):void 0,s=0;if(ge(n,r,e)){let a=E(null);try{if(i!==void 0&&Sh(i,s),e!==-1){let c=V+e,u=os(n,c),l=lu(n[w],c),d=Ah(u,l,n),p=io(n,l,t,{dehydratedView:d});so(u,p,s,er(l,d))}}finally{E(a)}}else if(i!==void 0){let a=Mh(i,s);a!==void 0&&(a[q]=t)}}var au=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 vw(e){return e}function Dw(e,t){return t}var cu=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function Ew(e,t,n,r,o,i,s,a,c,u,l,d,p){wt("NgControlFlow");let f=D(),h=H(),I=c!==void 0,y=D(),v=a?s.bind(y[ce][q]):s,P=new cu(I,v);y[V+e]=P,nr(f,h,e+1,t,n,r,o,Ce(h.consts,i),256),I&&nr(f,h,e+2,c,u,l,d,Ce(h.consts,p),512)}var uu=class extends iu{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-Z}at(t){return this.getLView(t)[q].$implicit}attach(t,n){let r=n[dn];this.needsIndexUpdate||=t!==this.length,so(this.lContainer,n,t,er(this.templateTNode,r)),ww(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Cw(this.lContainer,t),bw(this.lContainer,t)}create(t,n){let r=Qi(this.lContainer,this.templateTNode.tView.ssrId);return io(this.hostLView,this.templateTNode,new au(this.lContainer,n,t),{dehydratedView:r})}destroy(t){ys(t[w],t)}updateValue(t,n){this.getLView(t)[q].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[q].$index=t}getLView(t){return Tw(this.lContainer,t)}};function Iw(e){let t=E(null),n=Ae();try{let r=D(),o=r[w],i=r[n],s=n+1,a=os(r,s);if(i.liveCollection===void 0){let u=lu(o,s);i.liveCollection=new uu(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(gw(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let u=Bt(),l=c.length===0;if(ge(r,u,l)){let d=n+2,p=os(r,d);if(l){let f=lu(o,d),h=Ah(p,f,r),I=io(r,f,void 0,{dehydratedView:h});so(p,I,0,er(f,h))}else o.firstUpdatePass&&aI(p),Sh(p,0)}}}finally{E(t)}}function os(e,t){return e[t]}function ww(e,t){if(e.length<=Z)return;let n=Z+t,r=e[n],o=r?r[Lt]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[mt];gE(i,o),In.delete(r[yt]),o.detachedLeaveAnimationFns=void 0}}function Cw(e,t){if(e.length<=Z)return;let n=Z+t,r=e[n],o=r?r[Lt]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function bw(e,t){return Qr(e,t)}function Tw(e,t){return Mh(e,t)}function lu(e,t){return Ii(e,t)}function ug(e,t,n){let r=D(),o=Bt();if(ge(r,o,t)){let i=H(),s=Br();gh(s,r,e,t,r[L],n)}return ug}function du(e,t,n,r,o){Vu(t,e,n,o?"class":"style",r)}function is(e,t,n,r){let o=D(),i=o[w],s=e+V,a=i.firstCreatePass?$u(s,o,2,t,Lu,bi(),n,r):i.data[s];if(Dt(a)){let c=o[Be].tracingService;if(c&&c.componentCreate){let u=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(jh(u),()=>(sp(e,t,o,a,r),is))}}return sp(e,t,o,a,r),is}function sp(e,t,n,r,o){if(ju(r,n,e,t,fg),zn(r)){let i=n[w];Ds(i,n,r),Eu(i,r,n)}o!=null&&oo(n,r)}function tl(){let e=H(),t=te(),n=Bu(t);return e.firstCreatePass&&zu(e,n),ac(n)&&cc(),ic(),n.classesWithoutHost!=null&&Wv(n)&&du(e,n,D(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&qv(n)&&du(e,n,D(),n.stylesWithoutHost,!1),tl}function lg(e,t,n,r){return is(e,t,n,r),tl(),lg}function nl(e,t,n,r){let o=D(),i=o[w],s=e+V,a=i.firstCreatePass?wI(s,i,2,t,n,r):i.data[s];return ju(a,o,e,t,fg),r!=null&&oo(o,a),nl}function rl(){let e=te(),t=Bu(e);return ac(t)&&cc(),ic(),rl}function dg(e,t,n,r){return nl(e,t,n,r),rl(),dg}var fg=(e,t,n,r,o)=>(Vr(!0),Yp(t[L],r,If()));function ol(e,t,n){let r=D(),o=r[w],i=e+V,s=o.firstCreatePass?$u(i,r,8,"ng-container",Lu,bi(),t,n):o.data[i];if(ju(s,r,e,"ng-container",_w),zn(s)){let a=r[w];Ds(a,r,s),Eu(a,s,r)}return n!=null&&oo(r,s),ol}function il(){let e=H(),t=te(),n=Bu(t);return e.firstCreatePass&&zu(e,n),il}function pg(e,t,n){return ol(e,t,n),il(),pg}var _w=(e,t,n,r,o)=>(Vr(!0),jD(t[L],""));function Mw(){return D()}function hg(e,t,n){let r=D(),o=Bt();if(ge(r,o,t)){let i=H(),s=Br();mh(s,r,e,t,r[L],n)}return hg}var $r=void 0;function Sw(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var Nw=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],$r,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],$r,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",$r,$r,$r],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",Sw],_c={};function ye(e){let t=Aw(e),n=ap(t);if(n)return n;let r=t.split("-")[0];if(n=ap(r),n)return n;if(r==="en")return Nw;throw new m(701,!1)}function ap(e){return e in _c||(_c[e]=_e.ng&&_e.ng.common&&_e.ng.common.locales&&_e.ng.common.locales[e]),_c[e]}var Y=(function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e})(Y||{});function Aw(e){return e.toLowerCase().replace(/_/g,"-")}var uo="en-US";var xw=uo;function gg(e){typeof e=="string"&&(xw=e.toLowerCase().replace(/_/g,"-"))}function mg(e,t,n){let r=D(),o=H(),i=te();return vg(o,r,r[L],i,e,t,n),mg}function yg(e,t,n){let r=D(),o=H(),i=te();return(i.type&3||n)&&Ph(i,o,r,n,r[L],e,t,Ui(i,r,t)),yg}function vg(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Ui(r,t,i),Ph(r,e,t,s,n,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let p=l[d],f=l[d+1];c??=Ui(r,t,i),Jf(r,t,p,f,o,c)}if(u&&u.length)for(let d of u)c??=Ui(r,t,i),Jf(r,t,d,o,o,c)}}function Rw(e=1){return vf(e)}function Ow(e,t){let n=null,r=JD(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?rh(e,i,!0):tE(r,i))return o}return n}function kw(e){let t=D()[ce][he];if(!t.projection){let n=e?e.length:1,r=t.projection=Ud(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?Ow(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function Fw(e,t=0,n,r,o,i){let s=D(),a=H(),c=r?e+1:null;c!==null&&nr(s,a,c,r,o,i,null,n);let u=ir(a,V+e,16,null,n||null);u.projection===null&&(u.projection=t),dc();let d=!s[dn]||sc();s[ce][he].projection[u.projection]===null&&c!==null?Pw(s,a,c):d&&!ds(u)&&_E(a,s,u)}function Pw(e,t,n){let r=V+n,o=t.data[r],i=e[r],s=Qi(i,o.tView.ssrId),a=io(e,o,void 0,{dehydratedView:s});so(i,a,0,er(o,s))}function Dg(e,t,n,r){return zh(e,t,n,r),Dg}function Eg(e,t,n){return $h(e,t,n),Eg}function Lw(e){let t=D(),n=H(),r=Mi();jr(r+1);let o=Wu(n,r);if(e.dirty&&Jd(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Wh(t,r);e.reset(i,Sp),e.notifyOnChanges()}return!0}return!1}function jw(){return Gu(D(),Mi())}function Ig(e,t,n,r,o){return Zh(t,zh(e,n,r,o)),Ig}function wg(e,t,n,r){return Zh(e,$h(t,n,r)),wg}function Bw(e=1){jr(Mi()+e)}function Vw(e){let t=uf();return Pr(t,V+e)}function Li(e,t){return e<<17|t<<2}function bn(e){return e>>17&32767}function Hw(e){return(e&2)==2}function Uw(e,t){return e&131071|t<<17}function fu(e){return e|2}function rr(e){return(e&131068)>>2}function Mc(e,t){return e&-131069|t<<2}function $w(e){return(e&1)===1}function pu(e){return e|1}function zw(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=bn(s),c=rr(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Bn(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=bn(e[a+1]);e[r+1]=Li(p,a),p!==0&&(e[p+1]=Mc(e[p+1],r)),e[a+1]=Uw(e[a+1],r)}else e[r+1]=Li(a,0),a!==0&&(e[a+1]=Mc(e[a+1],r)),a=r;else e[r+1]=Li(c,0),a===0?a=r:e[c+1]=Mc(e[c+1],r),c=r;u&&(e[r+1]=fu(e[r+1])),cp(e,l,r,!0),cp(e,l,r,!1),Gw(t,l,e,r,i),s=Li(a,c),i?t.classBindings=s:t.styleBindings=s}function Gw(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Bn(i,t)>=0&&(n[r+1]=pu(n[r+1]))}function cp(e,t,n,r){let o=e[n+1],i=t===null,s=r?bn(o):rr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];Ww(c,t)&&(a=!0,e[s+1]=r?pu(u):fu(u)),s=r?bn(u):rr(u)}a&&(e[n+1]=r?fu(o):pu(o))}function Ww(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Bn(e,t)>=0:!1}var Ge={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function qw(e){return e.substring(Ge.key,Ge.keyEnd)}function Zw(e){return Yw(e),Cg(e,bg(e,0,Ge.textEnd))}function Cg(e,t){let n=Ge.textEnd;return n===t?-1:(t=Ge.keyEnd=Qw(e,Ge.key=t,n),bg(e,t,n))}function Yw(e){Ge.key=0,Ge.keyEnd=0,Ge.value=0,Ge.valueEnd=0,Ge.textEnd=e.length}function bg(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Qw(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Tg(e,t,n){return Mg(e,t,n,!1),Tg}function _g(e,t){return Mg(e,t,null,!0),_g}function Kw(e){Xw(iC,Jw,e,!0)}function Jw(e,t){for(let n=Zw(t);n>=0;n=Cg(t,n))vi(e,qw(t),!0)}function Mg(e,t,n,r){let o=D(),i=H(),s=qn(2);if(i.firstUpdatePass&&Ng(i,e,s,r),t!==ne&&ge(o,s,t)){let a=i.data[Ae()];Ag(i,a,o,o[L],e,o[s+1]=aC(t,n),r,s)}}function Xw(e,t,n,r){let o=H(),i=qn(2);o.firstUpdatePass&&Ng(o,null,i,r);let s=D();if(n!==ne&&ge(s,i,n)){let a=o.data[Ae()];if(xg(a,r)&&!Sg(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=di(c,n||"")),du(o,a,s,n,r)}else sC(o,a,s,s[L],s[i+1],s[i+1]=oC(e,t,n),r,i)}}function Sg(e,t){return t>=e.expandoStartIndex}function Ng(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Ae()],s=Sg(e,n);xg(i,r)&&t===null&&!s&&(t=!1),t=eC(o,i,t,r),zw(o,i,t,n,s,r)}}function eC(e,t,n,r){let o=hf(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Sc(null,e,t,n,r),n=Xr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Sc(o,e,t,n,r),i===null){let c=tC(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Sc(null,e,t,c[1],r),c=Xr(c,t.attrs,r),nC(e,t,r,c))}else i=rC(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function tC(e,t,n){let r=n?t.classBindings:t.styleBindings;if(rr(r)!==0)return e[bn(r)]}function nC(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[bn(o)]=r}function rC(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Xr(r,s,n)}return Xr(r,t.attrs,n)}function Sc(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Xr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Xr(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),vi(e,s,n?!0:t[++i]))}return e===void 0?null:e}function oC(e,t,n){if(n==null||n==="")return ie;let r=[],o=be(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function iC(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&vi(e,r,n)}function sC(e,t,n,r,o,i,s,a){o===ne&&(o=ie);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,h=null,I;l===d?(c+=2,u+=2,p!==f&&(h=d,I=f)):d===null||l!==null&&l<d?(c+=2,h=l):(u+=2,h=d,I=f),h!==null&&Ag(e,t,n,r,h,I,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function Ag(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=$w(u)?up(c,t,n,o,rr(u),s):void 0;if(!ss(l)){ss(i)||Hw(u)&&(i=up(c,null,n,o,a,s));let d=Ja(Ae(),n);SE(r,s,d,o,i)}}function up(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,p=n[o+1];p===ne&&(p=d?ie:void 0);let f=d?Di(p,r):l===r?p:void 0;if(u&&!ss(f)&&(f=Di(c,r)),ss(f)&&(a=f,s))return a;let h=e[o+1];o=s?bn(h):rr(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Di(c,r))}return a}function ss(e){return e!==void 0}function aC(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=xr(be(e)))),e}function xg(e,t){return(e.flags&(t?8:16))!==0}function cC(e,t=""){let n=D(),r=H(),o=e+V,i=r.firstCreatePass?ir(r,o,1,t,null):r.data[o],s=uC(r,n,i,t);n[o]=s,Ai()&&Fu(r,n,s,i),Wn(i,!1)}var uC=(e,t,n,r)=>(Vr(!0),PD(t[L],r));function Rg(e,t,n,r=""){return ge(e,Bt(),n)?t+ae(n)+r:ne}function lC(e,t,n,r,o,i=""){let s=Ti(),a=Kr(e,s,n,o);return qn(2),a?t+ae(n)+r+ae(o)+i:ne}function dC(e,t,n,r,o,i,s,a,c,u=""){let l=Ti(),d=Fh(e,l,n,o,s,c);return qn(4),d?t+ae(n)+r+ae(o)+i+ae(s)+a+ae(c)+u:ne}function fC(e,t,n,r,o,i,s,a,c,u,l,d=""){let p=Ti(),f=Fh(e,p,n,o,s,c);return f=ge(e,p+4,l)||f,qn(5),f?t+ae(n)+r+ae(o)+i+ae(s)+a+ae(c)+u+ae(l)+d:ne}function Og(e){return sl("",e),Og}function sl(e,t,n){let r=D(),o=Rg(r,e,t,n);return o!==ne&&_s(r,Ae(),o),sl}function kg(e,t,n,r,o){let i=D(),s=lC(i,e,t,n,r,o);return s!==ne&&_s(i,Ae(),s),kg}function Fg(e,t,n,r,o,i,s,a,c){let u=D(),l=dC(u,e,t,n,r,o,i,s,a,c);return l!==ne&&_s(u,Ae(),l),Fg}function Pg(e,t,n,r,o,i,s,a,c,u,l){let d=D(),p=fC(d,e,t,n,r,o,i,s,a,c,u,l);return p!==ne&&_s(d,Ae(),p),Pg}function _s(e,t,n){let r=Ja(t,e);LD(e[L],r,n)}function Lg(e,t,n){Qu(t)&&(t=t());let r=D(),o=Bt();if(ge(r,o,t)){let i=H(),s=Br();gh(s,r,e,t,r[L],n)}return Lg}function pC(e,t){let n=Qu(e);return n&&e.set(t),n}function jg(e,t){let n=D(),r=H(),o=te();return vg(r,n,n[L],o,e,t),jg}function hC(e,t,n=""){return Rg(D(),e,t,n)}function lp(e,t,n){let r=H();r.firstCreatePass&&Bg(t,r.data,r.blueprint,He(e),n)}function Bg(e,t,n,r,o){if(e=X(e),Array.isArray(e))for(let i=0;i<e.length;i++)Bg(e[i],t,n,r,o);else{let i=H(),s=D(),a=te(),c=an(e)?e:X(e.provide),u=Wa(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(an(e)||!e.multi){let f=new En(u,o,me,null),h=Ac(c,t,o?l:l+p,d);h===-1?(Rc(qi(a,s),i,c),Nc(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=Ac(c,t,l+p,d),h=Ac(c,t,l,l+p),I=f>=0&&n[f],y=h>=0&&n[h];if(o&&!y||!o&&!I){Rc(qi(a,s),i,c);let v=yC(o?mC:gC,n.length,o,r,u,e);!o&&y&&(n[h].providerFactory=v),Nc(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(v),s.push(v)}else{let v=Vg(n[o?h:f],u,!o&&r);Nc(i,e,f>-1?f:h,v)}!o&&r&&y&&n[h].componentProviders++}}}function Nc(e,t,n,r){let o=an(t),i=Zd(t);if(o||i){let c=(i?X(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function Vg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ac(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function gC(e,t,n,r,o){return hu(this.multi,[])}function mC(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=qr(r,r[w],this.providerFactory.index,o);s=c.slice(0,a),hu(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],hu(i,s);return s}function hu(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function yC(e,t,n,r,o,i){let s=new En(e,n,me,null);return s.multi=[],s.index=t,s.componentProviders=0,Vg(s,o,r&&!n),s}function vC(e,t){return n=>{n.providersResolver=(r,o)=>lp(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>lp(r,o?o(t):t,!0))}}function DC(e,t){let n=vn()+e,r=D();return r[n]===ne?Cs(r,n,t()):CI(r,n)}function EC(e,t,n){return Hg(D(),vn(),e,t,n)}function IC(e,t,n,r){return Ug(D(),vn(),e,t,n,r)}function al(e,t){let n=e[t];return n===ne?void 0:n}function Hg(e,t,n,r,o,i){let s=t+n;return ge(e,s,o)?Cs(e,s+1,i?r.call(i,o):r(o)):al(e,s+1)}function Ug(e,t,n,r,o,i,s){let a=t+n;return Kr(e,a,o,i)?Cs(e,a+2,s?r.call(s,o,i):r(o,i)):al(e,a+2)}function wC(e,t,n,r,o,i,s,a){let c=t+n;return bI(e,c,o,i,s)?Cs(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):al(e,c+3)}function CC(e,t){let n=H(),r,o=e+V;n.firstCreatePass?(r=bC(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=Ot(r.type,!0)),s,a=fe(me);try{let c=Wi(!1),u=i();return Wi(c),Xa(n,D(),o,u),u}finally{fe(a)}}function bC(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function TC(e,t,n){let r=e+V,o=D(),i=Pr(o,r);return cl(o,r)?Hg(o,vn(),t,i.transform,n,i):i.transform(n)}function _C(e,t,n,r){let o=e+V,i=D(),s=Pr(i,o);return cl(i,o)?Ug(i,vn(),t,s.transform,n,r,s):s.transform(n,r)}function MC(e,t,n,r,o){let i=e+V,s=D(),a=Pr(s,i);return cl(s,i)?wC(s,vn(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function cl(e,t){return e[w].data[t].pure}function SC(e,t){return Es(e,t)}var as=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},NC=(()=>{class e{compileModuleSync(n){return new ns(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=ja(n),i=th(o.declarations).reduce((s,a)=>{let c=tt(a);return c&&s.push(new $t(c)),s},[]);return new as(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var $g=(()=>{class e{applicationErrorHandler=g($e);appRef=g(ur);taskService=g(Ht);ngZone=g(Q);zonelessEnabled=g(Yn);tracing=g(qe,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new J;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Nr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(Ri,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?bf:yc;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Nr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function zg(){return[{provide:Pe,useExisting:$g},{provide:Q,useClass:Ar},{provide:Yn,useValue:!0}]}function AC(){return typeof $localize<"u"&&$localize.locale||uo}var lr=new C("",{factory:()=>g(lr,{optional:!0,skipSelf:!0})||AC()});var lo=class{destroyed=!1;listeners=null;errorHandler=g(Te,{optional:!0});destroyRef=g(xe);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new m(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(et(953,!1));return}if(this.listeners===null)return;let n=E(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{E(n)}}};function Ms(e){return Ad(e)}function xC(e,t){return Cr(e,t?.equal)}var RC=e=>e;function OC(e,t){if(typeof e=="function"){let n=Da(e,RC,t?.equal);return Gg(n,t?.debugName)}else{let n=Da(e.source,e.computation,e.equal);return Gg(n,e.debugName)}}function Gg(e,t){let n=e[W],r=e;return r.set=o=>Sd(n,o),r.update=o=>Nd(n,o),r.asReadonly=Hr.bind(e),r}var Ns=Symbol("InputSignalNode#UNSET"),em=$(B({},br),{transformFn:void 0,applyValueToInputSignal(e,t){Rt(e,t)}});function tm(e,t){let n=Object.create(em);n.value=e,n.transformFn=t?.transform;function r(){if(lt(n),n.value===Ns){let o=null;throw new m(-950,o)}return n.value}return r[W]=n,r}var Wg=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>yu(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function _j(e){return new lo}function qg(e,t){return tm(e,t)}function zC(e){return tm(Ns,e)}var Mj=(qg.required=zC,qg);function Zg(e,t){return qu(t)}function GC(e,t){return Zu(t)}var Sj=(Zg.required=GC,Zg);function Yg(e,t){return qu(t)}function WC(e,t){return Zu(t)}var Nj=(Yg.required=WC,Yg);function nm(e,t){let n=Object.create(em),r=new lo;n.value=e;function o(){return lt(n),Qg(n.value),n.value}return o[W]=n,o.asReadonly=Hr.bind(o),o.set=i=>{n.equal(n.value,i)||(Rt(n,i),r.emit(i))},o.update=i=>{Qg(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Qg(e){if(e===Ns)throw new m(952,!1)}function Kg(e,t){return nm(e,t)}function qC(e){return nm(Ns,e)}var Aj=(Kg.required=qC,Kg);var ZC=(()=>{class e{zone=g(Q);changeDetectionScheduler=g(Pe);applicationRef=g(ur);applicationErrorHandler=g($e);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),YC=new C("",{factory:()=>!1});function QC({ngZoneFactory:e,scheduleInRootZone:t}){return e??=()=>new Q($(B({},rm()),{scheduleInRootZone:t})),[{provide:Yn,useValue:!1},{provide:Q,useFactory:e},{provide:ht,multi:!0,useFactory:()=>{let n=g(ZC,{optional:!0});return()=>n.initialize()}},{provide:ht,multi:!0,useFactory:()=>{let n=g(KC);return()=>{n.initialize()}}},{provide:Ri,useValue:t??mc}]}function xj(e){let t=e?.scheduleInRootZone,n=QC({ngZoneFactory:()=>{let r=rm(e);return r.scheduleInRootZone=t,r.shouldCoalesceEventChangeDetection&&wt("NgZone_CoalesceEvent"),new Q(r)},scheduleInRootZone:t});return gt([{provide:YC,useValue:!0},n])}function rm(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var KC=(()=>{class e{subscription=new J;initialized=!1;zone=g(Q);pendingTasks=g(Ht);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Q.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Q.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ll=new C(""),JC=new C("");function fo(e){return!e.moduleRef}function XC(e){let t=fo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Q);return n.run(()=>{fo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get($e),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),fo(e)){let i=()=>t.destroy(),s=e.platformInjector.get(ll);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(ll);s.add(i),e.moduleRef.onDestroy(()=>{Wr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return tb(r,n,()=>{let i=t.get(Ht),s=i.add(),a=t.get(Xu);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(lr,uo);if(gg(c||uo),!t.get(JC,!0))return fo(e)?t.get(ur):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(fo(e)){let l=t.get(ur);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return eb?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var eb;function tb(e,t,n){try{let r=n();return co(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Ss=null;function nb(e=[],t){return se.create({name:t,providers:[{provide:kr,useValue:"platform"},{provide:ll,useValue:new Set([()=>Ss=null])},...e]})}function rb(e=[]){if(Ss)return Ss;let t=nb(e);return Ss=t,sg(),ob(t),t}function ob(e){let t=e.get(us,null);Hn(e,()=>{t?.forEach(n=>n())})}function Rj(){return!1}var ib=1e4;var Oj=ib-1e3;var fl=(()=>{class e{static __NG_ELEMENT_ID__=sb}return e})();function sb(e){return ab(te(),D(),(e&16)===16)}function ab(e,t,n){if(Dt(e)&&!n){let r=Ne(e.index,t);return new Ut(r,r)}else if(e.type&175){let r=t[ce];return new Ut(r,t)}return null}function om(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;F(R.BootstrapApplicationStart);try{let i=o?.injector??rb(r),s=[zg(),_f,...n||[]],a=new Jr({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return XC({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{F(R.BootstrapApplicationEnd)}}function cb(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function ub(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var ul=Symbol("NOT_SET"),im=new Set,lb=$(B({},br),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:ul,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==ul&&!Fn(this))return this.signal;try{for(let o of this.cleanup??im)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=dt(this),r;try{r=this.userFn.apply(null,t)}finally{At(this,n)}return(this.value===ul||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),dl=class extends Zr{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(xe),s),this.scheduler=o;for(let a of Ru){let c=n[a];if(c===void 0)continue;let u=Object.create(lb);u.sequence=this,u.phase=a,u.userFn=c,u.dirty=!0,u.signal=()=>(lt(u),u.value),u.signal[W]=u,u.registerCleanupFn=l=>(u.cleanup??=new Set).add(l),this.nodes[a]=u,this.hooks[a]=l=>u.phaseFn(l)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??im)n()}finally{xt(t)}}};function kj(e,t){let n=t?.injector??g(se),r=n.get(Pe),o=n.get(ms),i=n.get(qe,null,{optional:!0});o.impl??=n.get(Ou);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(Zn,null,{optional:!0}),c=new dl(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function Fj(e,t){let n=tt(e),r=t.elementInjector||Vn();return new $t(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function Pj(e){let t=tt(e);if(!t)return null;let n=new $t(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var sm=null;function Ct(){return sm}function pl(e){sm??=e}var po=class{},Gt=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:()=>g(am),providedIn:"platform"})}return e})(),db=new C(""),am=(()=>{class e extends Gt{_location;_history;_doc=g(z);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ct().getBaseHref(this._doc)}onPopState(n){let r=Ct().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Ct().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function As(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function cm(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Ze(e){return e&&e[0]!=="?"?`?${e}`:e}var dr=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:()=>g(lm),providedIn:"root"})}return e})(),xs=new C(""),lm=(()=>{class e extends dr{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(z).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return As(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Ze(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Ze(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Ze(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(b(Gt),b(xs,8))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var dm=(()=>{class e{_subject=new le;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=hb(cm(um(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Ze(r))}normalize(n){return e.stripTrailingSlash(pb(this._basePath,um(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ze(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ze(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=Ze;static joinWithSlash=As;static stripTrailingSlash=cm;static \u0275fac=function(r){return new(r||e)(b(dr))};static \u0275prov=T({token:e,factory:()=>fb(),providedIn:"root"})}return e})();function fb(){return new dm(b(dr))}function pb(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function um(e){return e.replace(/\/index.html$/,"")}function hb(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var gb=(()=>{class e extends dr{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=As(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Ze(i))||this._platformLocation.pathname;this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Ze(i))||this._platformLocation.pathname;this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(b(Gt),b(xs,8))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})();var wl=(function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e})(wl||{});var ue=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(ue||{}),j=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(j||{}),ve=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(ve||{}),De={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function gm(e){return ye(e)[Y.LocaleId]}function mm(e,t,n){let r=ye(e),o=[r[Y.DayPeriodsFormat],r[Y.DayPeriodsStandalone]],i=Oe(o,t);return Oe(i,n)}function ym(e,t,n){let r=ye(e),o=[r[Y.DaysFormat],r[Y.DaysStandalone]],i=Oe(o,t);return Oe(i,n)}function vm(e,t,n){let r=ye(e),o=[r[Y.MonthsFormat],r[Y.MonthsStandalone]],i=Oe(o,t);return Oe(i,n)}function Dm(e,t){let r=ye(e)[Y.Eras];return Oe(r,t)}function ho(e,t){let n=ye(e);return Oe(n[Y.DateFormat],t)}function go(e,t){let n=ye(e);return Oe(n[Y.TimeFormat],t)}function mo(e,t){let r=ye(e)[Y.DateTimeFormat];return Oe(r,t)}function st(e,t){let n=ye(e),r=n[Y.NumberSymbols][t];if(typeof r>"u"){if(t===De.CurrencyDecimal)return n[Y.NumberSymbols][De.Decimal];if(t===De.CurrencyGroup)return n[Y.NumberSymbols][De.Group]}return r}function Em(e,t){return ye(e)[Y.NumberFormats][t]}function Im(e){if(!e[Y.ExtraData])throw new m(2303,!1)}function wm(e){let t=ye(e);return Im(t),(t[Y.ExtraData][2]||[]).map(r=>typeof r=="string"?hl(r):[hl(r[0]),hl(r[1])])}function Cm(e,t,n){let r=ye(e);Im(r);let o=[r[Y.ExtraData][0],r[Y.ExtraData][1]],i=Oe(o,t)||[];return Oe(i,n)||[]}function Oe(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new m(2304,!1)}function hl(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var mb=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Rs={},yb=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function bm(e,t,n,r){let o=_b(e);t=bt(n,t)||t;let s=[],a;for(;t;)if(a=yb.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=_m(r,c),o=Tb(o,r));let u="";return s.forEach(l=>{let d=Cb(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Ls(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function bt(e,t){let n=gm(e);if(Rs[n]??={},Rs[n][t])return Rs[n][t];let r="";switch(t){case"shortDate":r=ho(e,ve.Short);break;case"mediumDate":r=ho(e,ve.Medium);break;case"longDate":r=ho(e,ve.Long);break;case"fullDate":r=ho(e,ve.Full);break;case"shortTime":r=go(e,ve.Short);break;case"mediumTime":r=go(e,ve.Medium);break;case"longTime":r=go(e,ve.Long);break;case"fullTime":r=go(e,ve.Full);break;case"short":let o=bt(e,"shortTime"),i=bt(e,"shortDate");r=Os(mo(e,ve.Short),[o,i]);break;case"medium":let s=bt(e,"mediumTime"),a=bt(e,"mediumDate");r=Os(mo(e,ve.Medium),[s,a]);break;case"long":let c=bt(e,"longTime"),u=bt(e,"longDate");r=Os(mo(e,ve.Long),[c,u]);break;case"full":let l=bt(e,"fullTime"),d=bt(e,"fullDate");r=Os(mo(e,ve.Full),[l,d]);break}return r&&(Rs[n][t]=r),r}function Os(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Ye(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function vb(e,t){return Ye(e,3).substring(0,t)}function K(e,t,n=0,r=!1,o=!1){return function(i,s){let a=Db(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return vb(a,t);let c=st(s,De.MinusSign);return Ye(a,t,c,r,o)}}function Db(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new m(2301,!1)}}function U(e,t,n=ue.Format,r=!1){return function(o,i){return Eb(o,i,e,t,n,r)}}function Eb(e,t,n,r,o,i){switch(n){case 2:return vm(t,o,r)[e.getMonth()];case 1:return ym(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=wm(t),l=Cm(t,o,r),d=u.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,I=s>=f.hours&&a>=f.minutes,y=s<h.hours||s===h.hours&&a<h.minutes;if(f.hours<h.hours){if(I&&y)return!0}else if(I||y)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return mm(t,o,r)[s<12?0:1];case 3:return Dm(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new m(2302,!1)}}function ks(e){return function(t,n,r){let o=-1*r,i=st(n,De.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+Ye(s,2,i)+Ye(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+Ye(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+Ye(s,2,i)+":"+Ye(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+Ye(s,2,i)+":"+Ye(Math.abs(o%60),2,i);default:throw new m(2310,!1)}}}var Ib=0,Ps=4;function wb(e){let t=Ls(e,Ib,1).getDay();return Ls(e,0,1+(t<=Ps?Ps:Ps+7)-t)}function Tm(e){let t=e.getDay(),n=t===0?-3:Ps-t;return Ls(e.getFullYear(),e.getMonth(),e.getDate()+n)}function gl(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=Tm(n),s=wb(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Ye(o,e,st(r,De.MinusSign))}}function Fs(e,t=!1){return function(n,r){let i=Tm(n).getFullYear();return Ye(i,e,st(r,De.MinusSign),t)}}var ml={};function Cb(e){if(ml[e])return ml[e];let t;switch(e){case"G":case"GG":case"GGG":t=U(3,j.Abbreviated);break;case"GGGG":t=U(3,j.Wide);break;case"GGGGG":t=U(3,j.Narrow);break;case"y":t=K(0,1,0,!1,!0);break;case"yy":t=K(0,2,0,!0,!0);break;case"yyy":t=K(0,3,0,!1,!0);break;case"yyyy":t=K(0,4,0,!1,!0);break;case"Y":t=Fs(1);break;case"YY":t=Fs(2,!0);break;case"YYY":t=Fs(3);break;case"YYYY":t=Fs(4);break;case"M":case"L":t=K(1,1,1);break;case"MM":case"LL":t=K(1,2,1);break;case"MMM":t=U(2,j.Abbreviated);break;case"MMMM":t=U(2,j.Wide);break;case"MMMMM":t=U(2,j.Narrow);break;case"LLL":t=U(2,j.Abbreviated,ue.Standalone);break;case"LLLL":t=U(2,j.Wide,ue.Standalone);break;case"LLLLL":t=U(2,j.Narrow,ue.Standalone);break;case"w":t=gl(1);break;case"ww":t=gl(2);break;case"W":t=gl(1,!0);break;case"d":t=K(2,1);break;case"dd":t=K(2,2);break;case"c":case"cc":t=K(7,1);break;case"ccc":t=U(1,j.Abbreviated,ue.Standalone);break;case"cccc":t=U(1,j.Wide,ue.Standalone);break;case"ccccc":t=U(1,j.Narrow,ue.Standalone);break;case"cccccc":t=U(1,j.Short,ue.Standalone);break;case"E":case"EE":case"EEE":t=U(1,j.Abbreviated);break;case"EEEE":t=U(1,j.Wide);break;case"EEEEE":t=U(1,j.Narrow);break;case"EEEEEE":t=U(1,j.Short);break;case"a":case"aa":case"aaa":t=U(0,j.Abbreviated);break;case"aaaa":t=U(0,j.Wide);break;case"aaaaa":t=U(0,j.Narrow);break;case"b":case"bb":case"bbb":t=U(0,j.Abbreviated,ue.Standalone,!0);break;case"bbbb":t=U(0,j.Wide,ue.Standalone,!0);break;case"bbbbb":t=U(0,j.Narrow,ue.Standalone,!0);break;case"B":case"BB":case"BBB":t=U(0,j.Abbreviated,ue.Format,!0);break;case"BBBB":t=U(0,j.Wide,ue.Format,!0);break;case"BBBBB":t=U(0,j.Narrow,ue.Format,!0);break;case"h":t=K(3,1,-12);break;case"hh":t=K(3,2,-12);break;case"H":t=K(3,1);break;case"HH":t=K(3,2);break;case"m":t=K(4,1);break;case"mm":t=K(4,2);break;case"s":t=K(5,1);break;case"ss":t=K(5,2);break;case"S":t=K(6,1);break;case"SS":t=K(6,2);break;case"SSS":t=K(6,3);break;case"Z":case"ZZ":case"ZZZ":t=ks(0);break;case"ZZZZZ":t=ks(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=ks(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=ks(2);break;default:return null}return ml[e]=t,t}function _m(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function bb(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Tb(e,t,n){let o=e.getTimezoneOffset(),i=_m(t,o);return bb(e,-1*(i-o))}function _b(e){if(fm(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return Ls(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(mb))return Mb(r)}let t=new Date(e);if(!fm(t))throw new m(2311,!1);return t}function Mb(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,c,u),t}function fm(e){return e instanceof Date&&!isNaN(e.valueOf())}var Sb=/^(\d+)?\.((\d+)(-(\d+))?)?$/,pm=22,js=".",yo="0",Nb=";",Ab=",",yl="#";function xb(e,t,n,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=st(n,De.Infinity);else{let u=kb(e);s&&(u=Ob(u));let l=t.minInt,d=t.minFrac,p=t.maxFrac;if(i){let P=i.match(Sb);if(P===null)throw new m(2306,!1);let Ee=P[1],G=P[3],_t=P[5];Ee!=null&&(l=vl(Ee)),G!=null&&(d=vl(G)),_t!=null?p=vl(_t):G!=null&&d>p&&(p=d)}Fb(u,d,p);let f=u.digits,h=u.integerLen,I=u.exponent,y=[];for(c=f.every(P=>!P);h<l;h++)f.unshift(0);for(;h<0;h++)f.unshift(0);h>0?y=f.splice(h,f.length):(y=f,f=[0]);let v=[];for(f.length>=t.lgSize&&v.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)v.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&v.unshift(f.join("")),a=v.join(st(n,r)),y.length&&(a+=st(n,o)+y.join("")),I&&(a+=st(n,De.Exponential)+"+"+I)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function Mm(e,t,n){let r=Em(t,wl.Decimal),o=Rb(r,st(t,De.MinusSign));return xb(e,o,t,De.Group,De.Decimal,n)}function Rb(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(Nb),o=r[0],i=r[1],s=o.indexOf(js)!==-1?o.split(js):[o.substring(0,o.lastIndexOf(yo)+1),o.substring(o.lastIndexOf(yo)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(yl));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===yo?n.minFrac=n.maxFrac=l+1:d===yl?n.maxFrac=l+1:n.posSuf+=d}let u=a.split(Ab);if(n.gSize=u[1]?u[1].length:0,n.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,i){let l=o.length-n.posPre.length-n.posSuf.length,d=i.indexOf(yl);n.negPre=i.substring(0,d).replace(/'/g,""),n.negSuf=i.slice(d+l).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function Ob(e){if(e.digits[0]===0)return e;let t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(t===0?e.digits.push(0,0):t===1&&e.digits.push(0),e.integerLen+=2),e}function kb(e){let t=Math.abs(e)+"",n=0,r,o,i,s,a;for((o=t.indexOf(js))>-1&&(t=t.replace(js,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===yo;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===yo;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>pm&&(r=r.splice(0,pm-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function Fb(e,t,n){if(t>n)throw new m(2307,!1);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let c=i!==0,u=t+e.integerLen,l=r.reduceRight(function(d,p,f,h){return p=p+d,h[f]=p<10?p:p-10,c&&(h[f]===0&&f>=u?h.pop():c=!1),p>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function vl(e){let t=parseInt(e);if(isNaN(t))throw new m(2305,!1);return t}var Dl=/\s+/,hm=[],Pb=(()=>{class e{_ngEl;_renderer;initialClasses=hm;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(Dl):hm}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Dl):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(Dl).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(me(zt),me(ws))};static \u0275dir=bs({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var Lb=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=g(se);constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(me(sr))};static \u0275dir=bs({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[gu]})}return e})();function Cl(e,t){return new m(2100,!1)}var El=class{createSubscription(t,n,r){return Ms(()=>t.subscribe({next:n,error:r}))}dispose(t){Ms(()=>t.unsubscribe())}},Il=class{createSubscription(t,n,r){return t.then(o=>n?.(o),o=>r?.(o)),{unsubscribe:()=>{n=null,r=null}}}dispose(t){t.unsubscribe()}},jb=new Il,Bb=new El,Vb=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=g($e);constructor(n){this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r),r=>this.applicationErrorHandler(r))}_selectStrategy(n){if(co(n))return jb;if(Ts(n))return Bb;throw Cl(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||e)(me(fl,16))};static \u0275pipe=cr({name:"async",type:e,pure:!1})}return e})();var Hb="mediumDate",Sm=new C(""),Nm=new C(""),Ub=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??Hb,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return bm(n,s,i||this.locale,a)}catch(s){throw Cl(e,s.message)}}static \u0275fac=function(r){return new(r||e)(me(lr,16),me(Sm,24),me(Nm,24))};static \u0275pipe=cr({name:"date",type:e,pure:!0})}return e})();var $b=(()=>{class e{transform(n){return JSON.stringify(n,null,2)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=cr({name:"json",type:e,pure:!1})}return e})();var zb=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!Gb(n))return null;o||=this._locale;try{let i=Wb(n);return Mm(i,o,r)}catch(i){throw Cl(e,i.message)}}static \u0275fac=function(r){return new(r||e)(me(lr,16))};static \u0275pipe=cr({name:"number",type:e,pure:!0})}return e})();function Gb(e){return!(e==null||e===""||e!==e)}function Wb(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new m(2309,!1);return e}var Am=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=ar({type:e});static \u0275inj=un({})}return e})();function vo(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var _n=class{};var Tl="browser";function rV(e){return e===Tl}var oV=(()=>{class e{static \u0275prov=T({token:e,providedIn:"root",factory:()=>new bl(g(z),window)})}return e})(),bl=class{document;window;offset=()=>[0,0];constructor(t,n){this.document=t,this.window=n}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t,n){this.window.scrollTo($(B({},n),{left:t[0],top:t[1]}))}scrollToAnchor(t,n){let r=Zb(this.document,t);r&&(this.scrollToElement(r,n),r.focus())}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch(n){console.warn(et(2400,!1))}}scrollToElement(t,n){let r=t.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo($(B({},n),{left:o-s[0],top:i-s[1]}))}};function Zb(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var Do=class{_doc;constructor(t){this._doc=t}manager},Bs=(()=>{class e extends Do{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(b(z))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),Us=new C(""),Nl=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});let o=n.filter(s=>!(s instanceof Bs));this._plugins=o.slice().reverse();let i=n.find(s=>s instanceof Bs);i&&this._plugins.push(i)}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new m(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(b(Us),b(Q))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),_l="ng-app-id";function xm(e){for(let t of e)t.remove()}function Rm(e,t){let n=t.createElement("style");return n.textContent=e,n}function Yb(e,t,n,r){let o=e.head?.querySelectorAll(`style[${_l}="${t}"],link[${_l}="${t}"]`);if(o)for(let i of o)i.removeAttribute(_l),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}function Sl(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Al=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,Yb(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,Rm);r?.forEach(o=>this.addUsage(o,this.external,Sl))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(xm(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])xm(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,Rm(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,Sl(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(b(z),b(cs),b(ls,8),b(to))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),Ml={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},xl=/%COMP%/g;var km="%COMP%",Qb=`_nghost-${km}`,Kb=`_ngcontent-${km}`,Jb=!0,Xb=new C("",{factory:()=>Jb});function eT(e){return Kb.replace(xl,e)}function tT(e){return Qb.replace(xl,e)}function Fm(e,t){return t.map(n=>n.replace(xl,e))}var Rl=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(n,r,o,i,s,a,c=null,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=u,this.defaultRenderer=new Eo(n,s,a,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof Hs?o.applyToHost(n):o instanceof Io&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case We.Emulated:i=new Hs(c,u,r,this.appId,l,s,a,d);break;case We.ShadowDom:return new Vs(c,n,r,s,a,this.nonce,d,u);case We.ExperimentalIsolatedShadowDom:return new Vs(c,n,r,s,a,this.nonce,d);default:i=new Io(c,u,r,l,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(b(Nl),b(Al),b(cs),b(Xb),b(z),b(Q),b(ls),b(qe,8))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),Eo=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Ml[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Om(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Om(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new m(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=Ml[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Ml[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(ot.DashCase|ot.Important)?t.style.setProperty(n,r,o&ot.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&ot.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t=="string"&&(t=Ct().getGlobalEventTarget(this.doc,t),!t))throw new m(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function Om(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Vs=class extends Eo{hostEl;sharedStylesHost;shadowRoot;constructor(t,n,r,o,i,s,a,c){super(t,o,i,a),this.hostEl=n,this.sharedStylesHost=c,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=Fm(r.id,u);for(let d of u){let p=document.createElement("style");s&&p.setAttribute("nonce",s),p.textContent=d,this.shadowRoot.appendChild(p)}let l=r.getExternalStyles?.();if(l)for(let d of l){let p=Sl(d,o);s&&p.setAttribute("nonce",s),this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},Io=class extends Eo{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let u=r.styles;this.styles=c?Fm(c,u):u,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&In.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Hs=class extends Io{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=eT(u),this.hostAttr=tT(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}};var $s=class e extends po{supportsDOMEvents=!0;static makeCurrent(){pl(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=nT();return n==null?null:rT(n)}resetBaseElement(){wo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return vo(document.cookie,t)}},wo=null;function nT(){return wo=wo||document.head.querySelector("base"),wo?wo.getAttribute("href"):null}function rT(e){return new URL(e,document.baseURI).pathname}var oT=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),Pm=["alt","control","meta","shift"],iT={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},sT={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Lm=(()=>{class e extends Do{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ct().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Pm.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=iT[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Pm.forEach(s=>{if(s!==o){let a=sT[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(b(z))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})();function aT(e,t,n){return Sn(this,null,function*(){let r=B({rootComponent:e},cT(t,n));return om(r)})}function cT(e,t){return{platformRef:t?.platformRef,appProviders:[...pT,...e?.providers??[]],platformProviders:fT}}function uT(){$s.makeCurrent()}function lT(){return new Te}function dT(){return Du(document),document}var fT=[{provide:to,useValue:Tl},{provide:us,useValue:uT,multi:!0},{provide:z,useFactory:dT}];var pT=[{provide:kr,useValue:"root"},{provide:Te,useFactory:lT},{provide:Us,useClass:Bs,multi:!0},{provide:Us,useClass:Lm,multi:!0},Rl,Al,Nl,{provide:wn,useExisting:Rl},{provide:_n,useClass:oT},[]];var Wt=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
5
+ `).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Gs=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}},Ws=class{encodeKey(t){return jm(t)}encodeValue(t){return jm(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function hT(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var gT=/%(\d[a-f0-9])/gi,mT={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function jm(e){return encodeURIComponent(e).replace(gT,(t,n)=>mT[n]??t)}function zs(e){return`${e}`}var Tt=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new Ws,t.fromString){if(t.fromObject)throw new m(2805,!1);this.map=hT(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(zs):[zs(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(zs(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(zs(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};function yT(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Bm(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Vm(e){return typeof Blob<"u"&&e instanceof Blob}function Hm(e){return typeof FormData<"u"&&e instanceof FormData}function vT(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Um="Content-Type",$m="Accept",zm="text/plain",Gm="application/json",DT=`${Gm}, ${zm}, */*`,fr=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(yT(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new m(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new Wt,this.context??=new Gs,!this.params)this.params=new Tt,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Bm(this.body)||Vm(this.body)||Hm(this.body)||vT(this.body)?this.body:this.body instanceof Tt?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Hm(this.body)?null:Vm(this.body)?this.body.type||null:Bm(this.body)?null:typeof this.body=="string"?zm:this.body instanceof Tt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Gm:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,u=t.redirect||this.redirect,l=t.credentials||this.credentials,d=t.referrer||this.referrer,p=t.integrity||this.integrity,f=t.referrerPolicy||this.referrerPolicy,h=t.transferCache??this.transferCache,I=t.timeout??this.timeout,y=t.body!==void 0?t.body:this.body,v=t.withCredentials??this.withCredentials,P=t.reportProgress??this.reportProgress,Ee=t.headers||this.headers,G=t.params||this.params,_t=t.context??this.context;return t.setHeaders!==void 0&&(Ee=Object.keys(t.setHeaders).reduce((gr,qt)=>gr.set(qt,t.setHeaders[qt]),Ee)),t.setParams&&(G=Object.keys(t.setParams).reduce((gr,qt)=>gr.set(qt,t.setParams[qt]),G)),new e(n,r,y,{params:G,headers:Ee,context:_t,reportProgress:P,responseType:o,withCredentials:v,transferCache:h,keepalive:i,cache:a,priority:s,timeout:I,mode:c,redirect:u,credentials:l,referrer:d,integrity:p,referrerPolicy:f})}},Mn=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(Mn||{}),hr=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r="OK"){this.headers=t.headers||new Wt,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.responseType=t.responseType,this.ok=this.status>=200&&this.status<300}},qs=class e extends hr{constructor(t={}){super(t)}type=Mn.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Co=class e extends hr{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=Mn.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected,responseType:t.responseType??this.responseType})}},pr=class extends hr{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},ET=200,IT=204;var wT=new C("");var CT=/^\)\]\}',?\n/;var kl=(()=>{class e{xhrFactory;tracingService=g(qe,{optional:!0});constructor(n){this.xhrFactory=n}maybePropagateTrace(n){return this.tracingService?.propagate?this.tracingService.propagate(n):n}handle(n){if(n.method==="JSONP")throw new m(-2800,!1);let r=this.xhrFactory;return zo(null).pipe(Ko(()=>new x(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((y,v)=>s.setRequestHeader(y,v.join(","))),n.headers.has($m)||s.setRequestHeader($m,DT),!n.headers.has(Um)){let y=n.detectContentTypeHeader();y!==null&&s.setRequestHeader(Um,y)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let y=n.responseType.toLowerCase();s.responseType=y!=="json"?y:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let y=s.statusText||"OK",v=new Wt(s.getAllResponseHeaders()),P=s.responseURL||n.url;return c=new qs({headers:v,status:s.status,statusText:y,url:P}),c},l=this.maybePropagateTrace(()=>{let{headers:y,status:v,statusText:P,url:Ee}=u(),G=null;v!==IT&&(G=typeof s.response>"u"?s.responseText:s.response),v===0&&(v=G?ET:0);let _t=v>=200&&v<300;if(n.responseType==="json"&&typeof G=="string"){let gr=G;G=G.replace(CT,"");try{G=G!==""?JSON.parse(G):null}catch(qt){G=gr,_t&&(_t=!1,G={error:qt,text:G})}}_t?(i.next(new Co({body:G,headers:y,status:v,statusText:P,url:Ee||void 0})),i.complete()):i.error(new pr({error:G,headers:y,status:v,statusText:P,url:Ee||void 0}))}),d=this.maybePropagateTrace(y=>{let{url:v}=u(),P=new pr({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:v||void 0});i.error(P)}),p=d;n.timeout&&(p=this.maybePropagateTrace(y=>{let{url:v}=u(),P=new pr({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:v||void 0});i.error(P)}));let f=!1,h=this.maybePropagateTrace(y=>{f||(i.next(u()),f=!0);let v={type:Mn.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(v.total=y.total),n.responseType==="text"&&s.responseText&&(v.partialText=s.responseText),i.next(v)}),I=this.maybePropagateTrace(y=>{let v={type:Mn.UploadProgress,loaded:y.loaded};y.lengthComputable&&(v.total=y.total),i.next(v)});return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",p),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),a!==null&&s.upload&&s.upload.addEventListener("progress",I)),s.send(a),i.next({type:Mn.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",p),n.reportProgress&&(s.removeEventListener("progress",h),a!==null&&s.upload&&s.upload.removeEventListener("progress",I)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(b(_n))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function bT(e,t){return t(e)}function TT(e,t,n){return(r,o)=>Hn(n,()=>t(r,i=>e(i,o)))}var Wm=new C("",{factory:()=>[]}),qm=new C(""),Zm=new C("",{factory:()=>!0});var Fl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=b(kl),o},providedIn:"root"})}return e})();var Zs=(()=>{class e{backend;injector;chain=null;pendingTasks=g(Ur);contributeToStability=g(Zm);constructor(n,r){this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Wm),...this.injector.get(qm,[])]));this.chain=r.reduceRight((o,i)=>TT(o,i,this.injector),bT)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(aa(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(b(Fl),b(pe))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Pl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=b(Zs),o},providedIn:"root"})}return e})();function Ol(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}var Ym=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof fr)i=n;else{let c;o.headers instanceof Wt?c=o.headers:c=new Wt(o.headers);let u;o.params&&(o.params instanceof Tt?u=o.params:u=new Tt({fromObject:o.params})),i=new fr(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=zo(i).pipe(oa(c=>this.handler.handle(c)));if(n instanceof fr||o.observe==="events")return s;let a=s.pipe(St(c=>c instanceof Co));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(de(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new m(2806,!1);return c.body}));case"blob":return a.pipe(de(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new m(2807,!1);return c.body}));case"text":return a.pipe(de(c=>{if(c.body!==null&&typeof c.body!="string")throw new m(2808,!1);return c.body}));default:return a.pipe(de(c=>c.body))}case"response":return a;default:throw new m(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new Tt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Ol(o,r))}post(n,r,o={}){return this.request("POST",n,Ol(o,r))}put(n,r,o={}){return this.request("PUT",n,Ol(o,r))}static \u0275fac=function(r){return new(r||e)(b(Pl))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var _T=new C("",{factory:()=>!0}),MT="XSRF-TOKEN",ST=new C("",{factory:()=>MT}),NT="X-XSRF-TOKEN",AT=new C("",{factory:()=>NT}),xT=(()=>{class e{cookieName=g(ST);doc=g(z);lastCookieString="";lastToken=null;parseCount=0;getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=vo(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Qm=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=b(xT),o},providedIn:"root"})}return e})();function RT(e,t){if(!g(_T)||e.method==="GET"||e.method==="HEAD")return t(e);try{let o=g(Gt).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return t(e)}catch(o){return t(e)}let n=g(Qm).getToken(),r=g(AT);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}function OT(...e){let t=[Ym,Zs,{provide:Pl,useExisting:Zs},{provide:Fl,useFactory:()=>g(wT,{optional:!0})??g(kl)},{provide:Wm,useValue:RT,multi:!0}];for(let n of e)t.push(...n.\u0275providers);return gt(t)}var M2=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(r){return new(r||e)(b(z))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var kT=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=b(FT),o},providedIn:"root"})}return e})(),FT=(()=>{class e extends kT{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case Re.NONE:return r;case Re.HTML:return it(r,"HTML")?be(r):ps(this._doc,String(r)).toString();case Re.STYLE:return it(r,"Style")?be(r):r;case Re.SCRIPT:if(it(r,"Script"))return be(r);throw new m(5200,!1);case Re.URL:return it(r,"URL")?be(r):no(String(r));case Re.RESOURCE_URL:if(it(r,"ResourceURL"))return be(r);throw new m(5201,!1);default:throw new m(5202,!1)}}bypassSecurityTrustHtml(n){return Iu(n)}bypassSecurityTrustStyle(n){return wu(n)}bypassSecurityTrustScript(n){return Cu(n)}bypassSecurityTrustUrl(n){return bu(n)}bypassSecurityTrustResourceUrl(n){return Tu(n)}static \u0275fac=function(r){return new(r||e)(b(z))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();export{B as a,$ as b,ey as c,Sn as d,J as e,oy as f,x as g,le as h,mr as i,Dr as j,Xt as k,Ke as l,zo as m,_y as n,My as o,ct as p,Sy as q,Ny as r,xy as s,de as t,wy as u,ut as v,Er as w,On as x,Oy as y,by as z,ky as A,St as B,Fy as C,ra as D,oa as E,ad as F,en as G,ia as H,Py as I,hd as J,aa as K,md as L,By as M,Vy as N,ua as O,yd as P,cd as Q,vd as R,Ko as S,Ty as T,Hy as U,Dd as V,m as W,et as X,fi as Y,T as Z,un as _,Jy as $,C as aa,b as ba,g as ca,gt as da,pe as ea,Hn as fa,sf as ga,af as ha,Df as ia,Ef as ja,se as ka,z as la,xe as ma,Ht as na,ft as oa,Q as pa,Te as qa,$e as ra,Sv as sa,xi as ta,Mf as ua,gu as va,_p as wa,yu as xa,zt as ya,Zi as za,cs as Aa,to as Ba,dD as Ca,ls as Da,Bp as Ea,Re as Fa,HD as Ga,Xp as Ha,GD as Ia,WD as Ja,cE as Ka,wt as La,fE as Ma,tr as Na,wn as Oa,ws as Pa,me as Qa,fI as Ra,sr as Sa,Cn as Ta,Yh as Ua,Qh as Va,YI as Wa,ar as Xa,bs as Ya,cr as Za,ew as _a,eg as $a,ng as ab,rg as bb,og as cb,Yu as db,co as eb,Ju as fb,fw as gb,ig as hb,ur as ib,cg as jb,hw as kb,mw as lb,yw as mb,vw as nb,Dw as ob,Ew as pb,Iw as qb,ug as rb,is as sb,tl as tb,lg as ub,nl as vb,rl as wb,dg as xb,ol as yb,il as zb,pg as Ab,Mw as Bb,hg as Cb,mg as Db,yg as Eb,Rw as Fb,kw as Gb,Fw as Hb,Dg as Ib,Eg as Jb,Lw as Kb,jw as Lb,Ig as Mb,wg as Nb,Bw as Ob,Vw as Pb,Tg as Qb,_g as Rb,Kw as Sb,cC as Tb,Og as Ub,sl as Vb,kg as Wb,Fg as Xb,Pg as Yb,Lg as Zb,pC as _b,jg as $b,hC as ac,vC as bc,DC as cc,EC as dc,IC as ec,CC as fc,TC as gc,_C as hc,MC as ic,SC as jc,NC as kc,Ms as lc,xC as mc,OC as nc,Wg as oc,_j as pc,Mj as qc,Sj as rc,Nj as sc,Aj as tc,xj as uc,Rj as vc,fl as wc,cb as xc,ub as yc,kj as zc,Fj as Ac,Pj as Bc,Ct as Cc,db as Dc,dr as Ec,lm as Fc,dm as Gc,gb as Hc,Pb as Ic,Lb as Jc,Vb as Kc,Ub as Lc,$b as Mc,zb as Nc,Am as Oc,rV as Pc,oV as Qc,Rl as Rc,aT as Sc,Wt as Tc,Gs as Uc,Tt as Vc,Ym as Wc,OT as Xc,M2 as Yc,kT as Zc};
@@ -1 +1 @@
1
- import{a as y}from"./chunk-U5L2OULZ.js";import{a as v}from"./chunk-R6RFNQXI.js";import{g as h,p as b}from"./chunk-GDZOBNVN.js";import{D as g,P as m,S as d,V as a,Z as u,ca as p,i as C,m as o,t as I,u as l}from"./chunk-5NLXR4MK.js";var O="none",N="me",S=class f{nsController=p(h);exportService=p(b);userState=p(v);refresh$=new C(void 0);namespaceId$=new C(null);vm$=l([this.namespaceId$,this.refresh$]).pipe(d(([e])=>{let n=this.loadPlatformConfigs().pipe(g(()=>o([]))),t=this.loadUserConfigs("global").pipe(g(()=>o([])));return e?l([n,this.loadNamespaceConfigs(e).pipe(g(()=>o([]))),this.loadUserConfigs(e).pipe(g(()=>o([]))),t]).pipe(I(([i,r,c,s])=>({platform:i,namespace:r,userOnNs:c,userGlobal:s}))):l([n,t]).pipe(I(([i,r])=>({platform:i,namespace:[],userOnNs:[],userGlobal:r})))}),m({bufferSize:1,refCount:!0}));setNamespace(e){this.namespaceId$.value!==e&&this.namespaceId$.next(e)}refresh(){this.refresh$.next()}loadPlatformConfigs(){return this.nsController.listIntegrationConfig()}loadUserConfigs(e){let n=e==="global"?O:e;return this.nsController.listIntegrationConfig(n,N)}userGlobal$=y(this.refresh$,()=>this.loadUserConfigs("global"),[]);loadNamespaceConfigs(e){return e?this.nsController.listIntegrationConfig(e):o([])}getById(e,n){return this.nsController.getByIdIntegrationConfig(e)}create(e,n,t){let r=this.userState.currentUser()?.id;if((n==="userOnNs"||n==="userGlobal")&&!r)throw new Error(`Cannot create ${n} config before UserStateService.loadMe() resolves \u2014 call loadMe() at app init`);if(n==="platform"){let s={name:e.name,integrationType:e.integrationType,description:e.description,parameters:e.parameters};return this.nsController.createIntegrationConfig(s).pipe(a(()=>this.refresh()))}if(n==="namespace"){if(!t)throw new Error("Cannot create namespace-scoped config without a namespaceId");let s={name:e.name,integrationType:e.integrationType,description:e.description,namespaceId:t,parameters:e.parameters};return this.nsController.createIntegrationConfig(s).pipe(a(()=>this.refresh()))}if(n==="userOnNs"&&!t)throw new Error("Cannot create userOnNs config without a namespaceId");let c={name:e.name,integrationType:e.integrationType,description:e.description,userId:r,namespaceId:n==="userOnNs"?t:void 0,parameters:e.parameters};return this.nsController.createIntegrationConfig(c).pipe(a(()=>this.refresh()))}update(e,n,t,i){let r={name:n.name,integrationType:n.integrationType,description:n.description,userId:i.userId,namespaceId:i.namespaceId,parameters:n.parameters};return this.nsController.updateIntegrationConfig(e,r).pipe(a(()=>this.refresh()))}delete(e,n){return this.nsController.deleteIntegrationConfig(e).pipe(a(()=>this.refresh()))}exportAsYaml(e){return this.exportService.exportAsYaml(e)}static \u0275fac=function(n){return new(n||f)};static \u0275prov=u({token:f,factory:f.\u0275fac,providedIn:"root"})};export{S as a};
1
+ import{a as y}from"./chunk-F4DLZWDY.js";import{a as v}from"./chunk-7WF5A3H7.js";import{g as h,q as b}from"./chunk-BCOH5IGB.js";import{D as g,P as m,S as d,V as a,Z as u,ca as p,i as C,m as o,t as I,u as l}from"./chunk-KJ5SIUGY.js";var O="none",N="me",S=class f{nsController=p(h);exportService=p(b);userState=p(v);refresh$=new C(void 0);namespaceId$=new C(null);vm$=l([this.namespaceId$,this.refresh$]).pipe(d(([e])=>{let n=this.loadPlatformConfigs().pipe(g(()=>o([]))),t=this.loadUserConfigs("global").pipe(g(()=>o([])));return e?l([n,this.loadNamespaceConfigs(e).pipe(g(()=>o([]))),this.loadUserConfigs(e).pipe(g(()=>o([]))),t]).pipe(I(([i,r,c,s])=>({platform:i,namespace:r,userOnNs:c,userGlobal:s}))):l([n,t]).pipe(I(([i,r])=>({platform:i,namespace:[],userOnNs:[],userGlobal:r})))}),m({bufferSize:1,refCount:!0}));setNamespace(e){this.namespaceId$.value!==e&&this.namespaceId$.next(e)}refresh(){this.refresh$.next()}loadPlatformConfigs(){return this.nsController.listIntegrationConfig()}loadUserConfigs(e){let n=e==="global"?O:e;return this.nsController.listIntegrationConfig(n,N)}userGlobal$=y(this.refresh$,()=>this.loadUserConfigs("global"),[]);loadNamespaceConfigs(e){return e?this.nsController.listIntegrationConfig(e):o([])}getById(e,n){return this.nsController.getByIdIntegrationConfig(e)}create(e,n,t){let r=this.userState.currentUser()?.id;if((n==="userOnNs"||n==="userGlobal")&&!r)throw new Error(`Cannot create ${n} config before UserStateService.loadMe() resolves \u2014 call loadMe() at app init`);if(n==="platform"){let s={name:e.name,integrationType:e.integrationType,description:e.description,parameters:e.parameters};return this.nsController.createIntegrationConfig(s).pipe(a(()=>this.refresh()))}if(n==="namespace"){if(!t)throw new Error("Cannot create namespace-scoped config without a namespaceId");let s={name:e.name,integrationType:e.integrationType,description:e.description,namespaceId:t,parameters:e.parameters};return this.nsController.createIntegrationConfig(s).pipe(a(()=>this.refresh()))}if(n==="userOnNs"&&!t)throw new Error("Cannot create userOnNs config without a namespaceId");let c={name:e.name,integrationType:e.integrationType,description:e.description,userId:r,namespaceId:n==="userOnNs"?t:void 0,parameters:e.parameters};return this.nsController.createIntegrationConfig(c).pipe(a(()=>this.refresh()))}update(e,n,t,i){let r={name:n.name,integrationType:n.integrationType,description:n.description,userId:i.userId,namespaceId:i.namespaceId,parameters:n.parameters};return this.nsController.updateIntegrationConfig(e,r).pipe(a(()=>this.refresh()))}delete(e,n){return this.nsController.deleteIntegrationConfig(e).pipe(a(()=>this.refresh()))}exportAsYaml(e){return this.exportService.exportAsYaml(e)}static \u0275fac=function(n){return new(n||f)};static \u0275prov=u({token:f,factory:f.\u0275fac,providedIn:"root"})};export{S as a};