@duplicati/ngclient 0.0.229 → 0.0.231

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 (144) hide show
  1. package/assets/dest-icons/googleworkspace.png +0 -0
  2. package/assets/sh.woff2 +0 -0
  3. package/chunk--kVw-BwM.js +1 -0
  4. package/chunk-5Ay2I6OJ.js +2 -0
  5. package/chunk-6bHATzM2.js +1 -0
  6. package/{chunk-BZYVgHEz.js → chunk-7qu0Yols.js} +1 -1
  7. package/{chunk-CfoJuTJX.js → chunk-B1FMMTzB.js} +1 -1
  8. package/{chunk-D4UZC_u0.js → chunk-B6VmpM-T.js} +1 -1
  9. package/chunk-B7vxwDBG.js +1 -0
  10. package/chunk-BAVJD-p4.js +1 -0
  11. package/chunk-BC2-YuwH.js +14 -0
  12. package/{chunk-DaIpTiYw.js → chunk-BFfFD-XE.js} +1 -1
  13. package/chunk-BHERv_y8.js +1 -0
  14. package/chunk-BIAFFPb6.js +1 -0
  15. package/{chunk-BcpsSgKo.js → chunk-BRJ93eei.js} +1 -1
  16. package/{chunk-SycscfJp.js → chunk-BYJ0fSUP.js} +1 -1
  17. package/chunk-B_iekvt6.js +1 -0
  18. package/chunk-Baizh2Dx.js +1 -0
  19. package/{chunk-MvQwR7nW.js → chunk-Bcxzhjj8.js} +1 -1
  20. package/{chunk-JA7rUsYF.js → chunk-Bfak-Gjv.js} +1 -1
  21. package/{chunk-DV2SIgNN.js → chunk-Bgx4dtaL.js} +1 -1
  22. package/chunk-BhGD1_v8.js +2 -0
  23. package/{chunk-2OH1SKyQ.js → chunk-BhPCHFyT.js} +1 -1
  24. package/{chunk-BjkwnDTL.js → chunk-Bj1ToKwz.js} +2 -2
  25. package/{chunk-DDVdXEVe.js → chunk-BjSSXg5V.js} +1 -1
  26. package/chunk-BlfsmSZO.js +4 -0
  27. package/chunk-Bnu5Zyue.js +1 -0
  28. package/{chunk-C2bnZ62D.js → chunk-C1BwGQgo.js} +2 -2
  29. package/{chunk-Bc4gFy5W.js → chunk-C2H72Zk8.js} +2 -2
  30. package/{chunk-DJbAxHpK.js → chunk-C3KPTLNN.js} +1 -1
  31. package/{chunk-BAZ5npJw.js → chunk-C5p3bQwH.js} +1 -1
  32. package/{chunk-Cs0rlpWi.js → chunk-C6beMvkJ.js} +2 -2
  33. package/chunk-CAgfvBGI.js +2 -0
  34. package/{chunk-dScOwyAU.js → chunk-CDEvMQA2.js} +1 -1
  35. package/{chunk-COgNe44h.js → chunk-CI8lsvKT.js} +1 -1
  36. package/chunk-CP3edE1P.js +1 -0
  37. package/{chunk-D48AStVy.js → chunk-CQv4eyEK.js} +1 -1
  38. package/chunk-CTwvkMrj.js +2 -0
  39. package/chunk-CmexLvf7.js +2 -0
  40. package/chunk-Cng2PWKw.js +2 -0
  41. package/chunk-CqwyTVd3.js +1 -0
  42. package/{chunk-B-fklW6A.js → chunk-Crs56mDy.js} +2 -2
  43. package/{chunk-DiZeSQXj.js → chunk-CwKxis_6.js} +1 -1
  44. package/{chunk-DMJycFPC.js → chunk-CxjTj8X0.js} +1 -1
  45. package/chunk-CzJ3-6Pu.js +1 -0
  46. package/chunk-D2MSuPzM.js +2 -0
  47. package/{chunk-CMmgPgiU.js → chunk-D2aWqPl_.js} +1 -1
  48. package/{chunk-C9EdrQe6.js → chunk-D3SUPUQT.js} +3 -3
  49. package/{chunk-D28lTX0k.js → chunk-D3d-eReU.js} +1 -1
  50. package/chunk-D5031IDL.js +3 -0
  51. package/{chunk-B2fqvpov.js → chunk-D7AP6g7S.js} +1 -1
  52. package/chunk-D9O-afXN.js +1 -0
  53. package/chunk-DA5X-TzJ.js +1 -0
  54. package/chunk-DAM-4k69.js +2 -0
  55. package/chunk-DH6L3nQP.js +2 -0
  56. package/chunk-DH6iiZWc.js +3 -0
  57. package/{chunk-BZqhgAZ-.js → chunk-DKacf9Tj.js} +1 -1
  58. package/{chunk-GVxWY6X-.js → chunk-DKwqdnLJ.js} +1 -1
  59. package/{chunk-C_JveZJH.js → chunk-DNUCXG8E.js} +1 -1
  60. package/chunk-DPpQ_8VM.js +1 -0
  61. package/chunk-Da2vs6ff.js +1 -0
  62. package/chunk-DfcHtA-G.js +1 -0
  63. package/chunk-DlTsXgG2.js +2 -0
  64. package/{chunk-Byb051F6.js → chunk-DlqfMbsZ.js} +1 -1
  65. package/chunk-DoYGADYB.js +1 -0
  66. package/{chunk-CRU3lYvk.js → chunk-DuHXCtrV.js} +1 -1
  67. package/{chunk-CBdr-6_u.js → chunk-DuTbfCdT.js} +2 -2
  68. package/{chunk-DP9SoPGV.js → chunk-EwTTC1EW.js} +1 -1
  69. package/{chunk-CdKfNiwm.js → chunk-JMkz2RrF.js} +1 -1
  70. package/chunk-PGDvGDW-.js +1 -0
  71. package/{chunk-DQW8lSiz.js → chunk-PONAC1Ya.js} +1 -1
  72. package/chunk-RqvNv7T_.js +2 -0
  73. package/{chunk-CA-ER0DL.js → chunk-SycSMD-r.js} +2 -2
  74. package/chunk-U0VOUPLl.js +1 -0
  75. package/chunk-Z5fN6CGR.js +1 -0
  76. package/chunk-d4cdVCUg.js +2 -0
  77. package/{chunk-D1wHRltX.js → chunk-dCFVYHva.js} +1 -1
  78. package/{chunk-0sb5_LpD.js → chunk-gaP3Sx_C.js} +1 -1
  79. package/chunk-mnaJWx8D.js +1 -0
  80. package/chunk-oTpkLrqH.js +1 -0
  81. package/chunk-tpJJunhQ.js +1 -0
  82. package/index.html +1 -1
  83. package/locale/dayjs/ko.js +45 -0
  84. package/locale/dayjs/tr.js +39 -0
  85. package/locale/messages.de.json +168 -12
  86. package/locale/messages.de_CH.json +162 -6
  87. package/locale/messages.de_DE.json +162 -6
  88. package/locale/messages.en.json +66 -1
  89. package/locale/messages.fr.json +175 -8
  90. package/locale/messages.fr_CA.json +175 -8
  91. package/locale/messages.fr_FR.json +175 -8
  92. package/locale/messages.it.json +174 -7
  93. package/locale/messages.it_IT.json +173 -6
  94. package/locale/messages.ja.json +198 -15
  95. package/locale/messages.ja_JP.json +198 -15
  96. package/locale/messages.json +66 -1
  97. package/locale/messages.ko.json +776 -0
  98. package/locale/messages.nl_BE.json +174 -7
  99. package/locale/messages.nl_NL.json +174 -7
  100. package/locale/messages.tr.json +943 -0
  101. package/locale/messages.zh_HK.json +152 -8
  102. package/main-QLXVXD6E.js +16 -0
  103. package/package.json +1 -1
  104. package/chunk-A5DpxPOI.js +0 -1
  105. package/chunk-B12Syddi.js +0 -2
  106. package/chunk-B3yuN2OH.js +0 -1
  107. package/chunk-B6vxBiK4.js +0 -2
  108. package/chunk-B9zNFJSv.js +0 -1
  109. package/chunk-BDXLL1lt.js +0 -1
  110. package/chunk-BFH9sFEg.js +0 -1
  111. package/chunk-BIeNnIyg.js +0 -1
  112. package/chunk-BJ6LKfIL.js +0 -2
  113. package/chunk-BYHopERA.js +0 -2
  114. package/chunk-Bf1diO1u.js +0 -2
  115. package/chunk-BoCnrrB4.js +0 -1
  116. package/chunk-BtzP4vdU.js +0 -2
  117. package/chunk-C11i_gv7.js +0 -1
  118. package/chunk-C1t4wbdG.js +0 -1
  119. package/chunk-CByrJpDb.js +0 -1
  120. package/chunk-CI78bAye.js +0 -2
  121. package/chunk-CQ8rm_d9.js +0 -3
  122. package/chunk-CUxq_s_t.js +0 -14
  123. package/chunk-CXEImxhE.js +0 -1
  124. package/chunk-CgYrHQGO.js +0 -1
  125. package/chunk-CwB_t7g-.js +0 -2
  126. package/chunk-D0u1cyeL.js +0 -1
  127. package/chunk-D2XTQURr.js +0 -2
  128. package/chunk-DC8QqmzV.js +0 -2
  129. package/chunk-DDo7wKQT.js +0 -3
  130. package/chunk-DQwpGI_E.js +0 -2
  131. package/chunk-DVgkAgur.js +0 -2
  132. package/chunk-DVlpMN2Q.js +0 -1
  133. package/chunk-D_A6A07f.js +0 -1
  134. package/chunk-D_JCqKo8.js +0 -1
  135. package/chunk-Drc5kcUX.js +0 -1
  136. package/chunk-M21GJPzH.js +0 -4
  137. package/chunk-ObToq7vh.js +0 -1
  138. package/chunk-RKTSBnYB.js +0 -1
  139. package/chunk-SKxVK_pD.js +0 -1
  140. package/chunk-bgWe6t7y.js +0 -1
  141. package/chunk-cLFxUFjv.js +0 -1
  142. package/chunk-w_Hs_Uxi.js +0 -1
  143. package/chunk-wyer8fjS.js +0 -1
  144. package/main-PXGZLKMN.js +0 -16
package/main-PXGZLKMN.js DELETED
@@ -1,16 +0,0 @@
1
- var i=Object.defineProperty,j$7=Object.defineProperties;var k$9=Object.getOwnPropertyDescriptors;var e$1=Object.getOwnPropertySymbols;var g$6=Object.prototype.hasOwnProperty,h$5=Object.prototype.propertyIsEnumerable;var f$4=(a,b,c)=>b in a?i(a,b,{enumerable:true,configurable:true,writable:true,value:c}):a[b]=c,l$3=(a,b)=>{for(var c in b||={})g$6.call(b,c)&&f$4(a,c,b[c]);if(e$1)for(var c of e$1(b))h$5.call(b,c)&&f$4(a,c,b[c]);return a},m$6=(a,b)=>j$7(a,k$9(b));var n=(a,b)=>{var c={};for(var d in a)g$6.call(a,d)&&b.indexOf(d)<0&&(c[d]=a[d]);if(a!=null&&e$1)for(var d of e$1(a))b.indexOf(d)<0&&h$5.call(a,d)&&(c[d]=a[d]);return c};var ne$5=null,uo$1=false,At$3=1,H$6=Symbol("SIGNAL");function E$3(e){let t=ne$5;return ne$5=e,t}function fo$1(){return ne$5}var Ge$5={version:0,lastCleanEpoch:0,dirty:false,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:false,consumerAllowSignalWrites:false,consumerIsAlwaysLive:false,kind:"unknown",producerMustRecompute:()=>false,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function lt$2(e){if(uo$1)throw new Error("");if(ne$5===null)return;ne$5.consumerOnSignalRead(e);let t=ne$5.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=ne$5.recomputing;if(r&&(n=t!==void 0?t.nextProducer:ne$5.producers,n!==void 0&&n.producer===e)){ne$5.producersTail=n,n.lastReadVersion=e.version,n.knownValidAtEpoch=At$3;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ne$5&&(!r||o.knownValidAtEpoch===At$3))return;let i=hn$2(ne$5),s={producer:e,consumer:ne$5,nextProducer:n,prevConsumer:void 0,knownValidAtEpoch:At$3,lastReadVersion:e.version,nextConsumer:void 0};ne$5.producersTail=s,t!==void 0?t.nextProducer=s:ne$5.producers=s,i&&yu(e,s);}function pu(){At$3++;}function Ot$3(e){if(!(hn$2(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===At$3)){if(!e.producerMustRecompute(e)&&!pn$1(e)){fn$1(e);return}e.producerRecomputeValue(e),fn$1(e);}}function Ds(e){if(e.consumers===void 0)return;let t=uo$1;uo$1=true;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||hu(r);}}finally{uo$1=t;}}function ws(){return ne$5?.consumerAllowSignalWrites!==false}function hu(e){e.dirty=true,Ds(e),e.consumerMarkedDirty?.(e);}function fn$1(e){e.dirty=false,e.lastCleanEpoch=At$3;}function ze$5(e){return e&&gu(e),E$3(e)}function gu(e){if(e.producersTail?.knownValidAtEpoch===At$3){let t=e.producers;for(;t!==void 0;)t.knownValidAtEpoch=null,t=t.nextProducer;}e.producersTail=void 0,e.recomputing=true;}function ut$2(e,t){E$3(t),e&&mu(e);}function mu(e){e.recomputing=false;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(hn$2(e))do n=Ts(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0;}}function pn$1(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Ot$3(n),r!==n.version))return true}return false}function dt$2(e){if(hn$2(e)){let t=e.producers;for(;t!==void 0;)t=Ts(t);}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0;}function yu(e,t){let n=e.consumersTail,r=hn$2(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)yu(o.producer,o);}function Ts(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,!hn$2(t)){let i=t.producers;for(;i!==void 0;)i=Ts(i);}return n}function hn$2(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Kn$1(e,t){return Object.is(e,t)}function Jn$1(e,t){let n=Object.create(Lm);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Ot$3(n),lt$2(n),n.value===Se$5)throw n.error;return n.value};return r[H$6]=n,r}var Rt$3=Symbol("UNSET"),kt$2=Symbol("COMPUTING"),Se$5=Symbol("ERRORED"),Lm=m$6(l$3({},Ge$5),{value:Rt$3,dirty:true,error:null,equal:Kn$1,kind:"computed",producerMustRecompute(e){return e.value===Rt$3||e.value===kt$2},producerRecomputeValue(e){if(e.value===kt$2)throw new Error("");let t=e.value;e.value=kt$2;let n=ze$5(e),r,o=false;try{r=e.computation(),E$3(null),o=t!==Rt$3&&t!==Se$5&&r!==Se$5&&e.equal(t,r);}catch(i){r=Se$5,e.error=i;}finally{ut$2(e,n);}if(o){e.value=t;return}e.value=r,e.version++;}});function Fm(){throw new Error}var vu=Fm;function Iu(e){vu(e);}function Cs(e){vu=e;}function bs(e,t){let n=Object.create(ho$1);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Eu(n);return r[H$6]=n,[r,s=>ft$2(n,s),s=>po$1(n,s)]}function Eu(e){return lt$2(e),e.value}function ft$2(e,t){ws()||Iu(e),e.equal(e.value,t)||(e.value=t,Vm(e));}function po$1(e,t){ws()||Iu(e),ft$2(e,t(e.value));}var ho$1=m$6(l$3({},Ge$5),{equal:Kn$1,value:void 0,kind:"signal"});function Vm(e){e.version++,pu(),Ds(e);}var _s=m$6(l$3({},Ge$5),{consumerIsAlwaysLive:true,consumerAllowSignalWrites:true,dirty:true,kind:"effect"});function Ms(e){if(e.dirty=false,e.version>0&&!pn$1(e))return;e.version++;let t=ze$5(e);try{e.cleanup(),e.fn();}finally{ut$2(e,t);}}function go$1(e,t,n){let r=Object.create(Hm);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(Ot$3(r),lt$2(r),r.value===Se$5)throw r.error;return r.value};return i[H$6]=r,i}function Ns(e,t){Ot$3(e),ft$2(e,t),fn$1(e);}function Ss(e,t){if(Ot$3(e),e.value===Se$5)throw e.error;po$1(e,t),fn$1(e);}var Hm=m$6(l$3({},Ge$5),{value:Rt$3,dirty:true,error:null,equal:Kn$1,kind:"linkedSignal",producerMustRecompute(e){return e.value===Rt$3||e.value===kt$2},producerRecomputeValue(e){if(e.value===kt$2)throw new Error("");let t=e.value;e.value=kt$2;let n=ze$5(e),r,o=false;try{let i=e.source(),s=t!==Rt$3&&t!==Se$5,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,E$3(null),o=s&&r!==Se$5&&e.equal(t,r);}catch(i){r=Se$5,e.error=i;}finally{ut$2(e,n);}if(o){e.value=t;return}e.value=r,e.version++;}});function xs(e){let t=E$3(null);try{return e()}finally{E$3(t);}}function C$2(e){return typeof e=="function"}function gn$2(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 mo$1=gn$2(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 Pt$2(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1);}}var Z$3=class e{constructor(t){this.initialTeardown=t,this.closed=false,this._parentage=null,this._finalizers=null;}unsubscribe(){let t;if(!this.closed){this.closed=true;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(C$2(r))try{r();}catch(i){t=i instanceof mo$1?i.errors:[i];}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Du(i);}catch(s){t=t??[],s instanceof mo$1?t=[...t,...s.errors]:t.push(s);}}if(t)throw new mo$1(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Du(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)&&Pt$2(n,t);}remove(t){let{_finalizers:n}=this;n&&Pt$2(n,t),t instanceof e&&t._removeParent(this);}};Z$3.EMPTY=(()=>{let e=new Z$3;return e.closed=true,e})();var As=Z$3.EMPTY;function yo$1(e){return e instanceof Z$3||e&&"closed"in e&&C$2(e.remove)&&C$2(e.add)&&C$2(e.unsubscribe)}function Du(e){C$2(e)?e():e.unsubscribe();}var De$6={Promise:void 0};var mn$1={setTimeout(e,t,...n){return setTimeout(e,t,...n)},clearTimeout(e){return (clearTimeout)(e)},delegate:void 0};function vo$1(e){mn$1.setTimeout(()=>{throw e});}function Xn$1(){}function yn$1(e){e();}var Ft$2=class Ft extends Z$3{constructor(t){super(),this.isStopped=false,t?(this.destination=t,yo$1(t)&&t.add(this)):this.destination=Um;}static create(t,n,r){return new we$4(t,n,r)}next(t){this.isStopped?Os():this._next(t);}error(t){this.isStopped?Os():(this.isStopped=true,this._error(t));}complete(){this.isStopped?Os():(this.isStopped=true,this._complete());}unsubscribe(){this.closed||(this.isStopped=true,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();}}};var Ps=class{constructor(t){this.partialObserver=t;}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t);}catch(r){Io$1(r);}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t);}catch(r){Io$1(r);}else Io$1(t);}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete();}catch(n){Io$1(n);}}},we$4=class we extends Ft$2{constructor(t,n,r){super();let o;if(C$2(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else {o=t;}this.destination=new Ps(o);}};function Io$1(e){vo$1(e);}function $m(e){throw e}function Os(e,t){}var Um={closed:true,next:Xn$1,error:$m,complete:Xn$1};var vn$2=typeof Symbol=="function"&&Symbol.observable||"@@observable";function re$4(e){return e}function Wm(...e){return Ls(e)}function Ls(e){return e.length===0?re$4:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var S$7=(()=>{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=Gm(n)?n:new we$4(n,r,o);return yn$1(()=>{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=_u(r),new r((o,i)=>{let s=new we$4({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)}[vn$2](){return this}pipe(...n){return Ls(n)(this)}toPromise(n){return n=_u(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 _u(e){var t;return (t=e??De$6.Promise)!==null&&t!==void 0?t:Promise}function qm(e){return e&&C$2(e.next)&&C$2(e.error)&&C$2(e.complete)}function Gm(e){return e&&e instanceof Ft$2||qm(e)&&yo$1(e)}var Mu=gn$2(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed";});var fe$5=(()=>{class e extends S$7{constructor(){super(),this.closed=false,this.currentObservers=null,this.observers=[],this.isStopped=false,this.hasError=false,this.thrownError=null;}lift(n){let r=new Eo$1(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Mu}next(n){yn$1(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n);}});}error(n){yn$1(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=true,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n);}});}complete(){yn$1(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=true;let{observers:n}=this;for(;n.length;)n.shift().complete();}});}unsubscribe(){this.isStopped=this.closed=true,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?As:(this.currentObservers=null,i.push(n),new Z$3(()=>{this.currentObservers=null,Pt$2(i,n);}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete();}asObservable(){let n=new S$7;return n.source=this,n}}return e.create=(t,n)=>new Eo$1(t,n),e})(),Eo$1=class Eo extends fe$5{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:As}};function Do$1(e){return e&&C$2(e.schedule)}function Fs(e){return e[e.length-1]}function In$2(e){return C$2(Fs(e))?e.pop():void 0}function xe$6(e){return Do$1(Fs(e))?e.pop():void 0}function Nu(e,t){return typeof Fs(e)=="number"?e.pop():t}function xu(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i);})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u));}catch(d){s(d);}}function c(u){try{l(r.throw(u));}catch(d){s(d);}}function l(u){u.done?i(u.value):o(u.value).then(a,c);}l((r=r.apply(e,[])).next());})}function Su(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$3(e){return this instanceof jt$3?(this.v=e,this):new jt$3(e)}function Au(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(g){return new Promise(function(m,v){i.push([f,g,m,v])>1||c(f,g);})},h&&(o[f]=h(o[f])));}function c(f,h){try{l(r[f](h));}catch(g){p(i[0][3],g);}}function l(f){f.value instanceof jt$3?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f);}function u(f){c("next",f);}function d(f){c("throw",f);}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1]);}}function Ru(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 Su=="function"?Su(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value);})};}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a});},s);}}var wo$1=e=>e&&typeof e.length=="number"&&typeof e!="function";function To$1(e){return C$2(e?.then)}function Co$1(e){return C$2(e[vn$2])}function bo$1(e){return Symbol.asyncIterator&&C$2(e?.[Symbol.asyncIterator])}function _o$1(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 zm(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Mo$1=zm();function No$1(e){return C$2(e?.[Mo$1])}function So$1(e){return Au(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield jt$3(n.read());if(o)return yield jt$3(void 0);yield yield jt$3(r);}}finally{n.releaseLock();}})}function xo$1(e){return C$2(e?.getReader)}function F$5(e){if(e instanceof S$7)return e;if(e!=null){if(Co$1(e))return Qm(e);if(wo$1(e))return Zm(e);if(To$1(e))return Ym(e);if(bo$1(e))return ku(e);if(No$1(e))return Km(e);if(xo$1(e))return Jm(e)}throw _o$1(e)}function Qm(e){return new S$7(t=>{let n=e[vn$2]();if(C$2(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Zm(e){return new S$7(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete();})}function Ym(e){return new S$7(t=>{e.then(n=>{t.closed||(t.next(n),t.complete());},n=>t.error(n)).then(null,vo$1);})}function Km(e){return new S$7(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete();})}function ku(e){return new S$7(t=>{Xm(e,t).catch(n=>t.error(n));})}function Jm(e){return ku(So$1(e))}function Xm(e,t){var n,r,o,i;return xu(this,void 0,void 0,function*(){try{for(n=Ru(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 se$4(e,t,n,r=0,o=false){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe();},r);if(e.add(i),!o)return i}function ey(e){return C$2(e?.lift)}function M$5(e){return t=>{if(ey(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 _$3(e,t,n,r,o){return new js(e,t,n,r,o)}var js=class extends Ft$2{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 Ao(e,t=0){return M$5((n,r)=>{n.subscribe(_$3(r,o=>se$4(r,e,()=>r.next(o),t),()=>se$4(r,e,()=>r.complete(),t),o=>se$4(r,e,()=>r.error(o),t)));})}function Ro$1(e,t=0){return M$5((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t));})}function Ou(e,t){return F$5(e).pipe(Ro$1(t),Ao(t))}function Pu(e,t){return F$5(e).pipe(Ro$1(t),Ao(t))}function Lu(e,t){return new S$7(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule());})})}function Fu(e,t){return new S$7(n=>{let r;return se$4(n,t,()=>{r=e[Mo$1](),se$4(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,true);}),()=>C$2(r?.return)&&r.return()})}function ko(e,t){if(!e)throw new Error("Iterable cannot be null");return new S$7(n=>{se$4(n,t,()=>{let r=e[Symbol.asyncIterator]();se$4(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value);});},0,true);});})}function ju(e,t){return ko(So$1(e),t)}function Vu(e,t){if(e!=null){if(Co$1(e))return Ou(e,t);if(wo$1(e))return Lu(e,t);if(To$1(e))return Pu(e,t);if(bo$1(e))return ko(e,t);if(No$1(e))return Fu(e,t);if(xo$1(e))return ju(e,t)}throw _o$1(e)}function Ae$5(e,t){return t?Vu(e,t):F$5(e)}function ty(...e){let t=xe$6(e);return Ae$5(e,t)}function pt$2(e,t){return M$5((n,r)=>{let o=0;n.subscribe(_$3(r,i=>{r.next(e.call(t,i,o++));}));})}function Vs(e){return M$5((t,n)=>{let r=null,o=!1,i;r=t.subscribe(_$3(n,void 0,void 0,s=>{i=F$5(e(s,Vs(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0;})),o&&(r.unsubscribe(),r=null,i.subscribe(n));})}var Oo$1=class Oo extends Z$3{constructor(t,n){super();}schedule(t,n=0){return this}};var er$1={setInterval(e,t,...n){let{delegate:r}=er$1;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){return (clearInterval)(e)},delegate:void 0};var Po$1=class Po extends Oo$1{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=false;}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=true,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 er$1.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===false)return n;n!=null&&er$1.clearInterval(n);}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=false;let r=this._execute(t,n);if(r)return r;this.pending===false&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null));}_execute(t,n){let r=false,o;try{this.work(t);}catch(i){r=true,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=false,Pt$2(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe();}}};var tr$1={now(){return (tr$1.delegate||Date).now()},delegate:void 0};var En$1=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)}};En$1.now=tr$1.now;var Lo$1=class Lo extends En$1{constructor(t,n=En$1.now){super(t,n),this.actions=[],this._active=false;}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=true;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=false,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Hs=new Lo$1(Po$1),Hu=Hs;function ny(e,t=Hs){return M$5((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l);}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a();}n.subscribe(_$3(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o));},()=>{a(),r.complete();},void 0,()=>{i=o=null;}));})}var Qe$3=new S$7(e=>e.complete());function Fo(e){return e<=0?()=>Qe$3:M$5((t,n)=>{let r=0;t.subscribe(_$3(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete());}));})}function ry(e,t=re$4){return e=e??oy,M$5((n,r)=>{let o,i=!0;n.subscribe(_$3(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s));}));})}function oy(e,t){return e===t}function Bu(e){return M$5((t,n)=>{try{t.subscribe(n);}finally{n.add(e);}})}function $u(e,t){return M$5((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(_$3(r,c=>{o?.unsubscribe();let l=0,u=i++;F$5(e(c,u)).subscribe(o=_$3(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a();}));},()=>{s=!0,a();}));})}function Uu(e){return M$5((t,n)=>{F$5(e).subscribe(_$3(n,()=>n.complete(),Xn$1)),!n.closed&&t.subscribe(n);})}var nr$1=class nr extends fe$5{constructor(t){super(),this._value=t;}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return !n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t);}};var rr$1=class rr extends fe$5{constructor(t=1/0,n=1/0,r=tr$1){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=true,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n);}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t);}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1);}}};function iy(e,t){let n=C$2(e)?e:()=>e,r=o=>o.error(n());return new S$7(r)}function sy(e){return !!e&&(e instanceof S$7||C$2(e.lift)&&C$2(e.subscribe))}var Vt$2=gn$2(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence";});function ay(e,t){return new Promise((r,o)=>{let i=new we$4({next:s=>{r(s),i.unsubscribe();},error:o,complete:()=>{o(new Vt$2);}});e.subscribe(i);})}function Wu(e){return e instanceof Date&&!isNaN(e)}var{isArray:cy}=Array;function ly(e,t){return cy(t)?e(...t):e(t)}function jo$1(e){return pt$2(t=>ly(e,t))}var{isArray:uy}=Array,{getPrototypeOf:dy,prototype:fy,keys:py}=Object;function Vo(e){if(e.length===1){let t=e[0];if(uy(t))return {args:t,keys:null};if(hy(t)){let n=py(t);return {args:n.map(r=>t[r]),keys:n}}}return {args:e,keys:null}}function hy(e){return e&&typeof e=="object"&&dy(e)===fy}function Ho(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function gy(...e){let t=xe$6(e),n=In$2(e),{args:r,keys:o}=Vo(e);if(r.length===0)return Ae$5([],t);let i=new S$7(my(r,t,o?s=>Ho(o,s):re$4));return n?i.pipe(jo$1(n)):i}function my(e,t,n=re$4){return r=>{qu(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)qu(t,()=>{let l=Ae$5(e[c],t),u=false;l.subscribe(_$3(r,d=>{i[c]=d,u||(u=true,a--),a||r.next(n(i.slice()));},()=>{--s||r.complete();}));},r);},r);}}function qu(e,t,n){e?se$4(n,e,t):t();}function Gu(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=false,p=()=>{d&&!c.length&&!l&&t.complete();},f=g=>l<r?h(g):c.push(g),h=g=>{l++;let m=false;F$5(n(g,u++)).subscribe(_$3(t,v=>{t.next(v);},()=>{m=true;},void 0,()=>{if(m)try{for(l--;c.length&&l<r;){let v=c.shift();s?se$4(t,s,()=>h(v)):h(v);}p();}catch(v){t.error(v);}}));};return e.subscribe(_$3(t,f,()=>{d=true,p();})),()=>{}}function Ht$3(e,t,n=1/0){return C$2(t)?Ht$3((r,o)=>pt$2((i,s)=>t(r,i,o,s))(F$5(e(r,o))),n):(typeof t=="number"&&(n=t),M$5((r,o)=>Gu(r,o,e,n)))}function or$1(e=1/0){return Ht$3(re$4,e)}function zu(){return or$1(1)}function Bo(...e){return zu()(Ae$5(e,xe$6(e)))}function yy(e){return new S$7(t=>{F$5(e()).subscribe(t);})}function vy(...e){let t=In$2(e),{args:n,keys:r}=Vo(e),o=new S$7(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=false;F$5(n[u]).subscribe(_$3(i,p=>{d||(d=true,l--),a[u]=p;},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Ho(r,a):a),i.complete());}));}});return t?o.pipe(jo$1(t)):o}function Bs(e=0,t,n=Hu){return new S$7(o=>{let i=Wu(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),o.complete());},i)})}function Iy(...e){let t=xe$6(e),n=Nu(e,1/0),r=e;return r.length?r.length===1?F$5(r[0]):or$1(n)(Ae$5(r,t)):Qe$3}var{isArray:Ey}=Array;function Qu(e){return e.length===1&&Ey(e[0])?e[0]:e}function $s(e,t){return M$5((n,r)=>{let o=0;n.subscribe(_$3(r,i=>e.call(t,i,o++)&&r.next(i)));})}function Dy(...e){let t=In$2(e),n=Qu(e);return n.length?new S$7(r=>{let o=n.map(()=>[]),i=n.map(()=>false);r.add(()=>{o=i=null;});for(let s=0;!r.closed&&s<n.length;s++)F$5(n[s]).subscribe(_$3(r,a=>{if(o[s].push(a),o.every(c=>c.length)){let c=o.map(l=>l.shift());r.next(t?t(...c):c),o.some((l,u)=>!l.length&&i[u])&&r.complete();}},()=>{i[s]=true,!o[s].length&&r.complete();}));return ()=>{o=i=null;}}):Qe$3}function wy(e,t){return C$2(t)?Ht$3(e,t,1):Ht$3(e,1)}function Zu(e){return M$5((t,n)=>{let r=!1;t.subscribe(_$3(n,o=>{r=!0,n.next(o);},()=>{r||n.next(e),n.complete();}));})}function Yu(e=Ty){return M$5((t,n)=>{let r=!1;t.subscribe(_$3(n,o=>{r=!0,n.next(o);},()=>r?n.complete():n.error(e())));})}function Ty(){return new Vt$2}function Cy(e,t){let n=arguments.length>=2;return r=>r.pipe(e?$s((o,i)=>e(o,i,r)):re$4,Fo(1),n?Zu(t):Yu(()=>new Vt$2))}function by(e){return e<=0?()=>Qe$3:M$5((t,n)=>{let r=[];t.subscribe(_$3(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 _y(e=1/0){let t;e&&typeof e=="object"?t=e:t={count:e};let{count:n=1/0,delay:r,resetOnSuccess:o=false}=t;return n<=0?re$4:M$5((i,s)=>{let a=0,c,l=()=>{let u=!1;c=i.subscribe(_$3(s,d=>{o&&(a=0),s.next(d);},void 0,d=>{if(a++<n){let p=()=>{c?(c.unsubscribe(),c=null,l()):u=!0;};if(r!=null){let f=typeof r=="number"?Bs(r):F$5(r(d,a)),h=_$3(s,()=>{h.unsubscribe(),p();},()=>{s.complete();});f.subscribe(h);}else p();}else s.error(d);})),u&&(c.unsubscribe(),c=null,l());};l();})}function Ku(e={}){let{connector:t=()=>new fe$5,resetOnError:n=true,resetOnComplete:r=true,resetOnRefCountZero:o=true}=e;return i=>{let s,a,c,l=0,u=false,d=false,p=()=>{a?.unsubscribe(),a=void 0;},f=()=>{p(),s=c=void 0,u=d=false;},h=()=>{let g=s;f(),g?.unsubscribe();};return M$5((g,m)=>{l++,!d&&!u&&p();let v=c=c??t();m.add(()=>{l--,l===0&&!d&&!u&&(a=Us(h,o));}),v.subscribe(m),!s&&l>0&&(s=new we$4({next:R=>v.next(R),error:R=>{d=!0,p(),a=Us(f,n,R),v.error(R);},complete:()=>{u=!0,p(),a=Us(f,r),v.complete();}}),F$5(g).subscribe(s));})(i)}}function Us(e,t,...n){if(t===true){e();return}if(t===false)return;let r=new we$4({next:()=>{r.unsubscribe(),e();}});return F$5(t(...n)).subscribe(r)}function My(e,t,n){let r,o=false;return r=e,Ku({connector:()=>new rr$1(r,t,n),resetOnError:true,resetOnComplete:false,resetOnRefCountZero:o})}function Ny(...e){let t=xe$6(e);return M$5((n,r)=>{(t?Bo(e,n,t):Bo(e,n)).subscribe(r);})}function Ju(e,t,n){let r=C$2(e)||t||n?{next:e,error:t,complete:n}:e;return r?M$5((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(_$3(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c);},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete();},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c);},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r);}));}):re$4}var Ws;function $o(){return Ws}function Re$5(e){let t=Ws;return Ws=e,t}var Xu=Symbol("NotFound");function Dn$2(e){return e===Xu||e?.name==="\u0275NotFound"}var Gs=class{full;major;minor;patch;constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".");}};var Zo="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",D$7=class D extends Error{code;constructor(t,n){super(ur$1(t,n)),this.code=t;}};function Sy(e){return `NG0${Math.abs(e)}`}function ur$1(e,t){return `${Sy(e)}${t?": "+t:""}`}function L$5(e){for(let t in e)if(e[t]===L$5)return t;throw Error("")}function od(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n]);}function dr$1(e){if(typeof e=="string")return e;if(Array.isArray(e))return `[${e.map(dr$1).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 Yo(e,t){return e?t?`${e} ${t}`:e:t||""}var xy=L$5({__forward_ref__:L$5});function Ko(e){return e.__forward_ref__=Ko,e}function Y$3(e){return oa(e)?e():e}function oa(e){return typeof e=="function"&&e.hasOwnProperty(xy)&&e.__forward_ref__===Ko}function id(e,t,n){e!=t&&sd(n,e,t,"==");}function sd(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(` [Expected=> ${n} ${r} ${t} <=Actual]`))}function ee$4(e){return {token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ad(e){return {providers:e.providers||[],imports:e.imports||[]}}function fr$1(e){return Ry(e,Jo)}function Ay(e){return fr$1(e)!==null}function Ry(e,t){return e.hasOwnProperty(t)&&e[t]||null}function ky(e){let t=e?.[Jo]??null;return t||null}function zs(e){return e&&e.hasOwnProperty(Wo)?e[Wo]:null}var Jo=L$5({\u0275prov:L$5}),Wo=L$5({\u0275inj:L$5}),x$6=class x{_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=ee$4({token:this,providedIn:n.providedIn||"root",factory:n.factory}));}get multi(){return this}toString(){return `InjectionToken ${this._desc}`}};function ia(e){return e&&!!e.\u0275providers}var sa=L$5({\u0275cmp:L$5}),aa=L$5({\u0275dir:L$5}),ca=L$5({\u0275pipe:L$5}),la=L$5({\u0275mod:L$5}),sr$1=L$5({\u0275fac:L$5}),qt$2=L$5({__NG_ELEMENT_ID__:L$5}),ed=L$5({__NG_ENV_ID__:L$5});function cd(e){return ei$2(e),e[la]||null}function Pe$6(e){return ei$2(e),e[sa]||null}function Xo(e){return ei$2(e),e[aa]||null}function ua(e){return ei$2(e),e[ca]||null}function ei$2(e,t){if(e==null)throw new D$7(-919,false)}function he$4(e){return typeof e=="string"?e:e==null?"":String(e)}var ld=L$5({ngErrorCode:L$5}),Oy=L$5({ngErrorMessage:L$5});L$5({ngTokenPath:L$5});function da(e,t){return ud("",-200)}function ti$2(e,t){throw new D$7(-201,false)}function ud(e,t,n){let r=new D$7(t,e);return r[ld]=t,r[Oy]=e,r}function Ly(e){return e[ld]}var Qs;function dd(){return Qs}function oe$4(e){let t=Qs;return Qs=e,t}function fa(e,t,n){let r=fr$1(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;ti$2();}var Le$6=globalThis;var Fy={},Bt$2=Fy,jy="__NG_DI_FLAG__",Zs=class{injector;constructor(t){this.injector=t;}retrieve(t,n){let r=$t$2(n)||0;try{return this.injector.get(t,r&8?null:Bt$2,r)}catch(o){if(Dn$2(o))return o;throw o}}};function Vy(e,t=0){let n=$o();if(n===void 0)throw new D$7(-203,false);if(n===null)return fa(e,void 0,t);{let r=Hy(t),o=n.retrieve(e,r);if(Dn$2(o)){if(r.optional)return null;throw o}return o}}function ke$4(e,t=0){return (dd()||Vy)(Y$3(e),t)}function T$6(e,t){return ke$4(e,$t$2(t))}function $t$2(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Hy(e){return {optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Ys(e){let t=[];for(let n=0;n<e.length;n++){let r=Y$3(e[n]);if(Array.isArray(r)){if(r.length===0)throw new D$7(900,false);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=By(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a;}t.push(ke$4(o,i));}else t.push(ke$4(r));}return t}function By(e){return e[jy]}function ht$2(e,t){let n=e.hasOwnProperty(sr$1);return n?e[sr$1]:null}function fd(e,t,n){if(e.length!==t.length)return false;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 false}return true}function pd(e){return e.flat(Number.POSITIVE_INFINITY)}function ni$2(e,t){e.forEach(n=>Array.isArray(n)?ni$2(n,t):t(n));}function pa(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n);}function pr$1(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function hd(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function gd(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 hr$1(e,t,n){let r=Cn$1(e,t);return r>=0?e[r|1]=n:(r=~r,gd(e,r,t,n)),r}function ri$1(e,t){let n=Cn$1(e,t);if(n>=0)return e[n|1]}function Cn$1(e,t){return $y(e,t,1)}function $y(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 mt$2={},K$3=[],gr$1=new x$6(""),mr=new x$6("",-1),ha=new x$6(""),Tn$2=class Tn{get(t,n=Bt$2){if(n===Bt$2){let o=ud("",-201);throw o.name="\u0275NotFound",o}return n}};function ga(e){return {\u0275providers:e}}function md(...e){return {\u0275providers:oi$1(true,e),\u0275fromNgModule:true}}function oi$1(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s);};return ni$2(t,s=>{let a=s;qo(a,i,[],r)&&(o||=[],o.push(a));}),o!==void 0&&yd(o,i),n}function yd(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];ma(o,i=>{t(i,r);});}}function qo(e,t,n,r){if(e=Y$3(e),!e)return false;let o=null,i=zs(e),s=!i&&Pe$6(e);if(!i&&!s){let c=e.ngModule;if(i=zs(c),i)o=c;else return false}else {if(s&&!s.standalone)return false;o=e;}let a=r.has(o);if(s){if(a)return false;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)qo(l,t,n,r);}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;ni$2(i.imports,u=>{qo(u,t,n,r)&&(l||=[],l.push(u));}),l!==void 0&&yd(l,t);}if(!a){let l=ht$2(o)||(()=>new o);t({provide:o,useFactory:l,deps:K$3},o),t({provide:ha,useValue:o,multi:true},o),t({provide:gr$1,useValue:()=>ke$4(o),multi:true},o);}let c=i.providers;if(c!=null&&!a){let l=e;ma(c,u=>{t(u,l);});}}else return false;return o!==e&&e.providers!==void 0}function ma(e,t){for(let n of e)ia(n)&&(n=n.\u0275providers),Array.isArray(n)?ma(n,t):t(n);}var Uy=L$5({provide:String,useValue:L$5});function vd(e){return e!==null&&typeof e=="object"&&Uy in e}function Wy(e){return !!(e&&e.useExisting)}function qy(e){return !!(e&&e.useFactory)}function Ut$2(e){return typeof e=="function"}function Id(e){return !!e.useClass}var ya$1=new x$6(""),Uo$1={},td={},qs;function bn$2(){return qs===void 0&&(qs=new Tn$2),qs}var pe$5=class pe{},Wt$3=class Wt extends pe$5{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=false;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Js(t,s=>this.processProvider(s)),this.records.set(mr,wn$2(void 0,this)),o.has("environment")&&this.records.set(pe$5,wn$2(void 0,this));let i=this.records.get(ya$1);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ha,K$3,{self:true}));}retrieve(t,n){let r=$t$2(n)||0;try{return this.get(t,Bt$2,r)}catch(o){if(Dn$2(o))return o;throw o}}destroy(){ir$1(this),this._destroyed=true;let t=E$3(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$3(t);}}onDestroy(t){return ir$1(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){ir$1(this);let n=Re$5(this),r=oe$4(void 0);try{return t()}finally{Re$5(n),oe$4(r);}}get(t,n=Bt$2,r){if(ir$1(this),t.hasOwnProperty(ed))return t[ed](this);let o=$t$2(r),s=Re$5(this),a=oe$4(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=Yy(t)&&fr$1(t);u&&this.injectableDefInScope(u)?l=wn$2(Ks(t),Uo$1):l=null,this.records.set(t,l);}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?bn$2():this.parent;return n=o&8&&n===Bt$2?null:n,c.get(t,n)}catch(c){let l=Ly(c);throw l===-200||l===-201?new D$7(l,null):c}finally{oe$4(a),Re$5(s);}}resolveInjectorInitializers(){let t=E$3(null),n=Re$5(this),r=oe$4(void 0);try{let i=this.get(gr$1,K$3,{self:!0});for(let s of i)s();}finally{Re$5(n),oe$4(r),E$3(t);}}toString(){return "R3Injector[...]"}processProvider(t){t=Y$3(t);let n=Ut$2(t)?t:Y$3(t&&t.provide),r=zy(t);if(!Ut$2(t)&&t.multi===true){let o=this.records.get(n);o||(o=wn$2(void 0,Uo$1,true),o.factory=()=>Ys(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$3(null);try{if(n.value===td)throw da("");return n.value===Uo$1&&(n.value=td,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Zy(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{E$3(o);}}injectableDefInScope(t){if(!t.providedIn)return false;let n=Y$3(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 Ks(e){let t=fr$1(e),n=t!==null?t.factory:ht$2(e);if(n!==null)return n;if(e instanceof x$6)throw new D$7(-204,false);if(e instanceof Function)return Gy(e);throw new D$7(-204,false)}function Gy(e){if(e.length>0)throw new D$7(-204,false);let n=ky(e);return n!==null?()=>n.factory(e):()=>new e}function zy(e){if(vd(e))return wn$2(void 0,e.useValue);{let t=va(e);return wn$2(t,Uo$1)}}function va(e,t,n){let r;if(Ut$2(e)){let o=Y$3(e);return ht$2(o)||Ks(o)}else if(vd(e))r=()=>Y$3(e.useValue);else if(qy(e))r=()=>e.useFactory(...Ys(e.deps||[]));else if(Wy(e))r=(o,i)=>ke$4(Y$3(e.useExisting),i!==void 0&&i&8?8:void 0);else {let o=Y$3(e&&(e.useClass||e.provide));if(Qy(e))r=()=>new o(...Ys(e.deps));else return ht$2(o)||Ks(o)}return r}function ir$1(e){if(e.destroyed)throw new D$7(-205,false)}function wn$2(e,t,n=false){return {factory:e,value:t,multi:n?[]:void 0}}function Qy(e){return !!e.deps}function Zy(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Yy(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Js(e,t){for(let n of e)Array.isArray(n)?Js(n,t):n&&ia(n)?Js(n.\u0275providers,t):t(n);}function ii$1(e,t){let n;e instanceof Wt$3?(ir$1(e),n=e):n=new Zs(e);let o=Re$5(n),i=oe$4(void 0);try{return t()}finally{Re$5(o),oe$4(i);}}function Ed(){return dd()!==void 0||$o()!=null}var Ce$5=0,I$2=1,w$6=2,U$5=3,ve$4=4,J$6=5,Gt$2=6,_n$2=7,B$4=8,ie$2=9,be$6=10,N$9=11,Mn$2=12,Ia=13,yt$2=14,te$4=15,vt$3=16,zt$3=17,Fe$6=18,je$6=19,Ea=20,Ye$3=21,si$2=22,gt$2=23,ge$4=24,Qt$2=25,Ve$6=26,k$8=27,Dd=1,It$4=6,Et$3=7,yr=8,Zt$2=9,j$6=10;function et$1(e){return Array.isArray(e)&&typeof e[Dd]=="object"}function Ie$3(e){return Array.isArray(e)&&e[Dd]===true}function Da(e){return (e.flags&4)!==0}function tt$1(e){return e.componentOffset>-1}function Nn$2(e){return (e.flags&1)===1}function He$6(e){return !!e.template}function Sn$2(e){return (e[w$6]&512)!==0}function Dt$2(e){return (e[w$6]&256)===256}var wa="svg",wd="math";function ae$5(e){for(;Array.isArray(e);)e=e[Ce$5];return e}function vr(e,t){return ae$5(t[e])}function ce$5(e,t){return ae$5(t[e.index])}function xn$2(e,t){return e.data[t]}function An$1(e,t){return e[t]}function Ir(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r;}function Ee$5(e,t){let n=t[e];return et$1(n)?n:n[Ce$5]}function Td(e){return (e[w$6]&4)===4}function ai$1(e){return (e[w$6]&128)===128}function Cd(e){return Ie$3(e[U$5])}function le$4(e,t){return t==null?null:e[t]}function Ta(e){e[zt$3]=0;}function ci$2(e){e[w$6]&1024||(e[w$6]|=1024,ai$1(e)&&Yt$3(e));}function bd(e,t){for(;e>0;)t=t[yt$2],e--;return t}function Er(e){return !!(e[w$6]&9216||e[ge$4]?.dirty)}function li$1(e){e[be$6].changeDetectionScheduler?.notify(8),e[w$6]&64&&(e[w$6]|=1024),Er(e)&&Yt$3(e);}function Yt$3(e){e[be$6].changeDetectionScheduler?.notify(0);let t=Ke$4(e);for(;t!==null&&!(t[w$6]&8192||(t[w$6]|=8192,!ai$1(t)));)t=Ke$4(t);}function Dr(e,t){if(Dt$2(e))throw new D$7(911,false);e[Ye$3]===null&&(e[Ye$3]=[]),e[Ye$3].push(t);}function Ca(e,t){if(e[Ye$3]===null)return;let n=e[Ye$3].indexOf(t);n!==-1&&e[Ye$3].splice(n,1);}function Ke$4(e){let t=e[U$5];return Ie$3(t)?t[U$5]:t}function ba(e){return e[_n$2]??=[]}function _a(e){return e.cleanup??=[]}function _d(e,t,n,r){let o=ba(t);o.push(n),e.firstCreatePass&&_a(e).push(r,o.length-1);}var b$4={lFrame:Fd(null),bindingsEnabled:true,skipHydrationRootTNode:null};var Xs=false;function Md(){return b$4.lFrame.elementDepthCount}function Nd(){b$4.lFrame.elementDepthCount++;}function Ma(){b$4.lFrame.elementDepthCount--;}function ui$2(){return b$4.bindingsEnabled}function Na(){return b$4.skipHydrationRootTNode!==null}function Sa(e){return b$4.skipHydrationRootTNode===e}function xa(){b$4.skipHydrationRootTNode=null;}function y$7(){return b$4.lFrame.lView}function O$4(){return b$4.lFrame.tView}function Sd(e){return b$4.lFrame.contextLView=e,e[B$4]}function xd(e){return b$4.lFrame.contextLView=null,e}function W$5(){let e=Aa();for(;e!==null&&e.type===64;)e=e.parent;return e}function Aa(){return b$4.lFrame.currentTNode}function Rn$2(){let e=b$4.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Be$6(e,t){let n=b$4.lFrame;n.currentTNode=e,n.isParent=t;}function Ra(){return b$4.lFrame.isParent}function ka(){b$4.lFrame.isParent=false;}function Oa(){return b$4.lFrame.contextLView}function Pa(){return Xs}function ar$1(e){let t=Xs;return Xs=e,t}function nt$1(){let e=b$4.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function di$2(){return b$4.lFrame.bindingIndex}function Ad(e){return b$4.lFrame.bindingIndex=e}function _e$4(){return b$4.lFrame.bindingIndex++}function wr(e){let t=b$4.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Rd(){return b$4.lFrame.inI18n}function La(e){b$4.lFrame.inI18n=e;}function kd(e,t){let n=b$4.lFrame;n.bindingIndex=n.bindingRootIndex=e,fi$1(t);}function Od(){return b$4.lFrame.currentDirectiveIndex}function fi$1(e){b$4.lFrame.currentDirectiveIndex=e;}function Pd(e){let t=b$4.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function pi$2(){return b$4.lFrame.currentQueryIndex}function Tr$1(e){b$4.lFrame.currentQueryIndex=e;}function Ky(e){let t=e[I$2];return t.type===2?t.declTNode:t.type===1?e[J$6]:null}function Fa(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Ky(i),o===null||(i=i[yt$2],o.type&10))break;if(o===null)return false;t=o,e=i;}let r=b$4.lFrame=Ld();return r.currentTNode=t,r.lView=e,true}function hi$2(e){let t=Ld(),n=e[I$2];b$4.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=false;}function Ld(){let e=b$4.lFrame,t=e===null?null:e.child;return t===null?Fd(e):t}function Fd(e){let t={currentTNode:null,isParent:true,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:false};return e!==null&&(e.child=t),t}function jd(){let e=b$4.lFrame;return b$4.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var ja=jd;function gi$2(){let e=jd();e.isParent=true,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 Vd(e){return (b$4.lFrame.contextLView=bd(e,b$4.lFrame.contextLView))[B$4]}function ue$6(){return b$4.lFrame.selectedIndex}function $e$6(e){b$4.lFrame.selectedIndex=e;}function wt$3(){let e=b$4.lFrame;return xn$2(e.tView,e.selectedIndex)}function Hd(){b$4.lFrame.currentNamespace=wa;}function Bd(){Jy();}function Jy(){b$4.lFrame.currentNamespace=null;}function Va(){return b$4.lFrame.currentNamespace}var $d=true;function Cr(){return $d}function kn$2(e){$d=e;}function Ud(){let e,t;return {promise:new Promise((r,o)=>{e=r,t=o;}),resolve:e,reject:t}}function ea(e,t=null,n=null,r){let o=Ha(e,t,n);return o.resolveInjectorInitializers(),o}function Ha(e,t=null,n=null,r,o=new Set){let i=[n||K$3,md(e)];return new Wt$3(i,t||bn$2(),null,o)}var Te$4=class e{static THROW_IF_NOT_FOUND=Bt$2;static NULL=new Tn$2;static create(t,n){if(Array.isArray(t))return ea({name:""},n,t);{let r=t.name??"";return ea({name:r},t.parent,t.providers)}}static \u0275prov=ee$4({token:e,providedIn:"any",factory:()=>ke$4(mr)});static __NG_ELEMENT_ID__=-1},br=new x$6(""),rt$1=(()=>{class e{static __NG_ELEMENT_ID__=Xy;static __NG_ENV_ID__=n=>n}return e})(),Go=class extends rt$1{_lView;constructor(t){super(),this._lView=t;}get destroyed(){return Dt$2(this._lView)}onDestroy(t){let n=this._lView;return Dr(n,t),()=>Ca(n,t)}};function Xy(){return new Go(y$7())}var Wd=false,qd=new x$6(""),Kt$2=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=false;pendingTask=new nr$1(false);debugTaskTracker=T$6(qd,{optional:true});get hasPendingTasks(){return this.destroyed?false:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new S$7(n=>{n.next(false),n.complete();}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(true);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(false);}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(false),this.destroyed=true,this.pendingTask.unsubscribe();}static \u0275prov=ee$4({token:e,providedIn:"root",factory:()=>new e})}return e})(),ta=class extends fe$5{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=false){super(),this.__isAsync=t,Ed()&&(this.destroyRef=T$6(rt$1,{optional:true})??void 0,this.pendingTasks=T$6(Kt$2,{optional:true})??void 0);}emit(t){let n=E$3(null);try{super.next(t);}finally{E$3(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 Z$3&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n);}finally{r!==void 0&&this.pendingTasks?.remove(r);}});}}},Ze$3=ta;function zo(...e){}function Ba(e){let t,n;function r(){e=zo;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t);}catch{}}return t=setTimeout(()=>{e(),r();}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r();})),()=>r()}function Gd(e){return queueMicrotask(()=>e()),()=>{e=zo;}}var $a="isAngularZone",cr$1=$a+"_ID",ev=0,Oe$5=class e{hasPendingMacrotasks=false;hasPendingMicrotasks=false;isStable=true;onUnstable=new Ze$3(false);onMicrotaskEmpty=new Ze$3(false);onStable=new Ze$3(false);onError=new Ze$3(false);constructor(t){let{enableLongStackTrace:n=false,shouldCoalesceEventChangeDetection:r=false,shouldCoalesceRunChangeDetection:o=false,scheduleInRootZone:i=Wd}=t;if(typeof Zone>"u")throw new D$7(908,false);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=false,s.scheduleInRootZone=i,rv(s);}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get($a)===true}static assertInAngularZone(){if(!e.isInAngularZone())throw new D$7(909,false)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new D$7(909,false)}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,tv,zo,zo);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)}},tv={};function Ua(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=true;}}}function nv(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=true;function t(){Ba(()=>{e.callbackScheduled=false,na(e),e.isCheckStableRunning=true,Ua(e),e.isCheckStableRunning=false;});}e.scheduleInRootZone?Zone.root.run(()=>{t();}):e._outer.run(()=>{t();}),na(e);}function rv(e){let t=()=>{nv(e);},n=ev++;e._inner=e._inner.fork({name:"angular",properties:{[$a]:true,[cr$1]:n,[cr$1+n]:true},onInvokeTask:(r,o,i,s,a,c)=>{if(ov(c))return r.invokeTask(i,s,a,c);try{return nd(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),rd(e);}},onInvoke:(r,o,i,s,a,c,l)=>{try{return nd(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!iv(c)&&t(),rd(e);}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,na(e),Ua(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask));},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),false)});}function na(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===true?e.hasPendingMicrotasks=true:e.hasPendingMicrotasks=false;}function nd(e){e._nesting++,e.isStable&&(e.isStable=false,e.onUnstable.emit(null));}function rd(e){e._nesting--,Ua(e);}var lr$1=class lr{hasPendingMicrotasks=false;hasPendingMacrotasks=false;isStable=true;onUnstable=new Ze$3;onMicrotaskEmpty=new Ze$3;onStable=new Ze$3;onError=new Ze$3;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 ov(e){return zd(e,"__ignore_ng_zone__")}function iv(e){return zd(e,"__scheduler_tick__")}function zd(e,t){return !Array.isArray(e)||e.length!==1?false:e[0]?.data?.[t]===true}var Je$4=class Je{_console=console;handleError(t){this._console.error("ERROR",t);}},Jt$3=new x$6("",{factory:()=>{let e=T$6(Oe$5),t=T$6(pe$5),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(Je$4),n.handleError(r));});}}}),Qd={provide:gr$1,useValue:()=>{T$6(Je$4,{optional:true});},multi:true};function Ue$7(e,t){let [n,r,o]=bs(e,t?.equal),i=n;i[H$6];return i.set=r,i.update=o,i.asReadonly=On$2.bind(i),i}function On$2(){let e=this[H$6];if(e.readonlyFn===void 0){let t=()=>this();t[H$6]=e,e.readonlyFn=t;}return e.readonlyFn}var Wa=new x$6("",{factory:()=>sv}),sv="ng";var Zd=new x$6(""),av=new x$6("",{providedIn:"platform",factory:()=>"unknown"});var cv=new x$6("",{factory:()=>T$6(br).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Yd={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:false,disableImageLazyLoadWarning:false},lv=new x$6("",{factory:()=>Yd});var mi$1=(()=>{class e{static \u0275prov=ee$4({token:e,providedIn:"root",factory:()=>{let n=new e;return n.store=Kd(T$6(br),T$6(Wa)),n}});store={};onSerializeCallbacks={};get(n,r){return this.store[n]!==void 0?this.store[n]:r}set(n,r){this.store[n]=r;}remove(n){delete this.store[n];}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(n,r){this.onSerializeCallbacks[n]=r;}toJson(){for(let n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]();}catch(r){console.warn("Exception in onSerialize callback: ",r);}return JSON.stringify(this.store).replace(/</g,"\\u003C").replace(/\//g,"\\u002F")}}return e})();function Kd(e,t){let n=e.getElementById(t+"-state");if(n?.tagName==="SCRIPT"&&n.textContent)try{return JSON.parse(n.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+t,r);}return {}}var _r=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r;}static __NG_ELEMENT_ID__=uv}return e})();function uv(){return new _r(y$7(),W$5())}var Xe$3=class Xe{},Mr=new x$6("",{factory:()=>true});var qa=new x$6(""),yi$1=(()=>{class e{static \u0275prov=ee$4({token:e,providedIn:"root",factory:()=>new ra})}return e})(),ra=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=false;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=false;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=true,r.run());return n}},Qo=class{[H$6];constructor(t){this[H$6]=t;}destroy(){this[H$6].destroy();}};function Ga(e,t){let n=t?.injector??T$6(Te$4),r=t?.manualCleanup!==true?n.get(rt$1):null,o,i=n.get(_r,null,{optional:true}),s=n.get(Xe$3);return i!==null?(o=pv(i.view,s,e),r instanceof Go&&r._lView===i.view&&(r=null)):o=hv(e,n.get(yi$1),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Qo(o)}var Jd=m$6(l$3({},_s),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=ar$1(false);try{Ms(this);}finally{ar$1(e);}},cleanup(){if(!this.cleanupFns?.length)return;let e=E$3(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()();}finally{this.cleanupFns=[],E$3(e);}}}),dv=m$6(l$3({},Jd),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12);},destroy(){if(dt$2(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this);}}),fv=m$6(l$3({},Jd),{consumerMarkedDirty(){this.view[w$6]|=8192,Yt$3(this.view),this.notifier.notify(13);},destroy(){if(dt$2(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[gt$2]?.delete(this);}});function pv(e,t,n){let r=Object.create(fv);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Xd(r,n),e[gt$2]??=new Set,e[gt$2].add(r),r.consumerMarkedDirty(r),r}function hv(e,t,n){let r=Object.create(dv);return r.fn=Xd(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 Xd(e,t){return ()=>{t(n=>(e.cleanupFns??=[]).push(n));}}function Nr(e){return typeof e=="function"&&e[H$6]!==void 0}function vi$1(e){return Nr(e)&&typeof e.set=="function"}var Sr=(()=>{class e{internalPendingTasks=T$6(Kt$2);scheduler=T$6(Xe$3);errorHandler=T$6(Jt$3);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();try{n().catch(this.errorHandler).finally(r);}catch(o){this.errorHandler(o),r();}}static \u0275prov=ee$4({token:e,providedIn:"root",factory:()=>new e})}return e})();function Yr$1(e){return {toString:e}.toString()}var A$4=(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})(A$4||{}),xi$2=class xi{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r;}isFirstChange(){return this.firstChange}};function Xf(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r;}var ep=null,Cv=(()=>{ep=ef;let e=()=>ef;return e.ngInherit=true,e})();function bv(){return ep}function ef(e){return e.type.prototype.ngOnChanges&&(e.setInput=Mv),_v}function _v(){let e=tp(this),t=e?.current;if(t){let n=e.previous;if(n===mt$2)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t);}}function Mv(e,t,n,r,o){let i=this.declaredInputs[r],s=tp(e)||Nv(e,{previous:mt$2,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new xi$2(l&&l.currentValue,n,c===mt$2),Xf(e,t,o,n);}var sc="__ngSimpleChanges__";function tp(e){return Object.hasOwn(e,sc)&&e[sc]||null}function Nv(e,t){return e[sc]=t}var tf=[];var P$3=function(e,t=null,n){for(let r=0;r<tf.length;r++){let o=tf[r];o(e,t,n);}};function Sv(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=bv()(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 np(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u);}}function Ci$1(e,t,n){rp(e,t,3,n);}function bi$1(e,t,n,r){(e[w$6]&3)===n&&rp(e,t,n,r);}function za(e,t){let n=e[w$6];(n&3)===t&&(n&=16383,n+=1,e[w$6]=n);}function rp(e,t,n,r){let o=r!==void 0?e[zt$3]&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[zt$3]+=65536),(a<i||i==-1)&&(xv(e,n,t,c),e[zt$3]=(e[zt$3]&4294901760)+c+2),c++;}function nf(e,t){P$3(A$4.LifecycleHookStart,e,t);let n=E$3(null);try{t.call(e);}finally{E$3(n),P$3(A$4.LifecycleHookEnd,e,t);}}function xv(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[w$6]>>14<e[zt$3]>>16&&(e[w$6]&3)===t&&(e[w$6]+=16384,nf(a,i)):nf(a,i);}var Ln$2=-1,tn$2=class tn{factory;name;injectImpl;resolving=false;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r;}};function Av(e){return (e.flags&8)!==0}function Rv(e){return (e.flags&16)!==0}function kv(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];Ov(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++;}}return r}function op(e){return e===3||e===4||e===6}function Ov(e){return e.charCodeAt(0)===64}function Fn$1(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 ip(e){return e!==Ln$2}function Ai$2(e){return e&32767}function Pv(e){return e>>16}function Ri$1(e,t){let n=Pv(e),r=t;for(;n>0;)r=r[yt$2],n--;return r}var ac=true;function ki$2(e){let t=ac;return ac=e,t}var Lv=256,sp=Lv-1,ap=5,Fv=0,We$5={};function jv(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(qt$2)&&(r=n[qt$2]),r==null&&(r=n[qt$2]=Fv++);let o=r&sp,i=1<<o;t.data[e+(o>>ap)]|=i;}function Oi$1(e,t){let n=cp(e,t);if(n!==-1)return n;let r=t[I$2];r.firstCreatePass&&(e.injectorIndex=t.length,Qa(r.data,e),Qa(t,null),Qa(r.blueprint,null));let o=Yc(e,t),i=e.injectorIndex;if(ip(o)){let s=Ai$2(o),a=Ri$1(o,t),c=a[I$2].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l];}return t[i+8]=o,i}function Qa(e,t){e.push(0,0,0,0,0,0,0,0,t);}function cp(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Yc(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=pp(o),r===null)return Ln$2;if(n++,o=o[yt$2],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Ln$2}function cc(e,t,n){jv(e,t,n);}function Vv(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(op(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 lp(e,t,n){if(n&8||e!==void 0)return e;ti$2();}function up(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[ie$2],i=oe$4(void 0);try{return o?o.get(t,r,n&8):fa(t,r,n&8)}finally{oe$4(i);}}return lp(r,t,n)}function dp(e,t,n,r=0,o){if(e!==null){if(t[w$6]&2048&&!(r&2)){let s=Wv(e,t,n,r,We$5);if(s!==We$5)return s}let i=fp(e,t,n,r,We$5);if(i!==We$5)return i}return up(t,n,r,o)}function fp(e,t,n,r,o){let i=Bv(n);if(typeof i=="function"){if(!Fa(t,e,r))return r&1?lp(o,n,r):up(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))ti$2(n);else return s}finally{ja();}}else if(typeof i=="number"){let s=null,a=cp(e,t),c=Ln$2,l=r&1?t[te$4][J$6]:null;for((a===-1||r&4)&&(c=a===-1?Yc(e,t):t[a+8],c===Ln$2||!sf(r,false)?a=-1:(s=t[I$2],a=Ai$2(c),t=Ri$1(c,t)));a!==-1;){let u=t[I$2];if(of(i,a,u.data)){let d=Hv(a,t,n,s,r,l);if(d!==We$5)return d}c=t[a+8],c!==Ln$2&&sf(r,t[I$2].data[a+8]===l)&&of(i,a,t)?(s=u,a=Ai$2(c),t=Ri$1(c,t)):a=-1;}}return o}function Hv(e,t,n,r,o,i){let s=t[I$2],a=s.data[e+8],c=r==null?tt$1(a)&&ac:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=_i$1(a,s,n,c,l);return u!==null?Vr(t,s,u,a,o):We$5}function _i$1(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&He$6(f)&&f.type===n)return c}return null}function Vr(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof tn$2){let a=i;if(a.resolving)throw da();let c=ki$2(a.canSeeViewProviders);a.resolving=true;s[n].type||s[n];let d=a.injectImpl?oe$4(a.injectImpl):null;Fa(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Sv(n,s[n],t);}finally{d!==null&&oe$4(d),ki$2(c),a.resolving=false,ja();}}return i}function Bv(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(qt$2)?e[qt$2]:void 0;return typeof t=="number"?t>=0?t&sp:$v:t}function of(e,t,n){let r=1<<e;return !!(n[t+(e>>ap)]&r)}function sf(e,t){return !(e&2)&&!(e&1&&t)}var bt$3=class bt{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n;}get(t,n,r){return dp(this._tNode,this._lView,t,$t$2(r),n)}};function $v(){return new bt$3(W$5(),y$7())}function Uv(e){return Yr$1(()=>{let t=e.prototype.constructor,n=t[sr$1]||lc(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[sr$1]||lc(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o);}return i=>new i})}function lc(e){return oa(e)?()=>{let t=lc(Y$3(e));return t&&t()}:ht$2(e)}function Wv(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[w$6]&2048&&!Sn$2(s);){let a=fp(i,s,n,r|2,We$5);if(a!==We$5)return a;let c=i.parent;if(!c){let l=s[Ea];if(l){let u=l.get(n,We$5,r&-5);if(u!==We$5)return u}c=pp(s),s=s[yt$2];}i=c;}return o}function pp(e){let t=e[I$2],n=t.type;return n===2?t.declTNode:n===1?e[J$6]:null}function hp(e){return Vv(W$5(),e)}function Kr(e){return {token:e.token,providedIn:e.autoProvided===false?null:"root",factory:e.factory,value:void 0}}function qv(){return $n$2(W$5(),y$7())}function $n$2(e,t){return new Jr$1(ce$5(e,t))}var Jr$1=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n;}static __NG_ELEMENT_ID__=qv}return e})();function gp(e){return e instanceof Jr$1?e.nativeElement:e}function Gv(){return this._results[Symbol.iterator]()}var Pi$2=class Pi{_emitDistinctChangesOnly;dirty=true;_onDirty=void 0;_results=[];_changesDetected=false;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new fe$5}constructor(t=false){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=false;let r=pd(t);(this._changesDetected=!fd(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=true,this._onDirty?.();}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe());}[Symbol.iterator]=Gv};function mp(e){return (e.flags&128)===128}var Kc=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Kc||{}),yp=new Map,zv=0;function Qv(){return zv++}function Zv(e){yp.set(e[je$6],e);}function uc(e){yp.delete(e[je$6]);}var af="__ngContext__";function _t$3(e,t){et$1(t)?(e[af]=t[je$6],Zv(t)):e[af]=t;}function vp(e){return Ep(e[Mn$2])}function Ip(e){return Ep(e[ve$4])}function Ep(e){for(;e!==null&&!Ie$3(e);)e=e[ve$4];return e}var dc;function Yv(e){dc=e;}function Ki$1(){if(dc!==void 0)return dc;if(typeof document<"u")return document;throw new D$7(210,false)}var Dp="r";var Jc="di",Xc="s";var wp=false,Tp=new x$6("",{factory:()=>wp});var Cp=new x$6("");var cf=new WeakMap;function Kv(e,t){if(e==null||typeof e!="object")return;let n=cf.get(e);n||(n=new WeakSet,cf.set(e,n)),n.add(t);}var bp=new x$6("");function Ji$1(e){return (e.flags&32)===32}var eI=()=>null;function _p(e,t,n=false){return eI()}function el(e){return e.get(Cp,false,{optional:true})}function Mp(e,t){let n=e.contentQueries;if(n!==null){let r=E$3(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];Tr$1(i),a.contentQueries(2,t[s],s);}}}finally{E$3(r);}}}function fc(e,t,n){Tr$1(0);let r=E$3(null);try{t(e,n);}finally{E$3(r);}}function tl(e,t,n){if(Da(t)){let r=E$3(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$3(r);}}}var nn$2=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(nn$2||{});var Ii$1;function tI(){if(Ii$1===void 0&&(Ii$1=null,Le$6.trustedTypes))try{Ii$1=Le$6.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e});}catch{}return Ii$1}function Xr$1(e){return tI()?.createHTML(e)||e}var Ei$1;function nl(){if(Ei$1===void 0&&(Ei$1=null,Le$6.trustedTypes))try{Ei$1=Le$6.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e});}catch{}return Ei$1}function lf(e){return nl()?.createHTML(e)||e}function uf(e){return nl()?.createScript(e)||e}function df(e){return nl()?.createScriptURL(e)||e}var it$1=class it{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t;}toString(){return `SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Zo})`}},pc=class extends it$1{getTypeName(){return "HTML"}},hc=class extends it$1{getTypeName(){return "Style"}},gc=class extends it$1{getTypeName(){return "Script"}},mc=class extends it$1{getTypeName(){return "URL"}},yc=class extends it$1{getTypeName(){return "ResourceURL"}};function st$2(e){return e instanceof it$1?e.changingThisBreaksApplicationSecurity:e}function Un$2(e,t){let n=Np(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return true;throw new Error(`Required a safe ${t}, got a ${n} (see ${Zo})`)}return n===t}function Np(e){return e instanceof it$1&&e.getTypeName()||null}function nI(e){return new pc(e)}function rI(e){return new hc(e)}function oI(e){return new gc(e)}function iI(e){return new mc(e)}function sI(e){return new yc(e)}function Sp(e){let t=new Ic(e);return aI()?new vc(t):t}var vc=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t;}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Xr$1(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Ic=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=Xr$1(t),n}};function aI(){try{return !!new window.DOMParser().parseFromString(Xr$1(""),"text/html")}catch{return false}}var cI=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Xi$1(e){return e=String(e),e.match(cI)?e:"unsafe:"+e}function at$2(e){let t={};for(let n of e.split(","))t[n]=true;return t}function eo$1(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=true);return t}var xp=at$2("area,br,col,hr,img,wbr"),Ap=at$2("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Rp=at$2("rp,rt"),lI=eo$1(Rp,Ap),uI=eo$1(Ap,at$2("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")),dI=eo$1(Rp,at$2("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")),Ec=eo$1(xp,uI,dI,lI),kp=at$2("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),fI=at$2("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"),pI=at$2("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"),Dc=eo$1(kp,fI,pI),hI=at$2("script,style,template"),wc=class{sanitizedSomething=false;buf=[];sanitizeChildren(t){let n=t.firstChild,r=true,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=true,r&&n.firstChild){o.push(n),n=yI(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=mI(n);if(i){n=i;break}n=o.pop();}}return this.buf.join("")}startElement(t){let n=ff(t).toLowerCase();if(!Ec.hasOwnProperty(n))return this.sanitizedSomething=true,!hI.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(!Dc.hasOwnProperty(a)){this.sanitizedSomething=true;continue}let c=i.value;kp[a]&&(c=Xi$1(c)),this.buf.push(" ",s,'="',pf(c),'"');}return this.buf.push(">"),true}endElement(t){let n=ff(t).toLowerCase();Ec.hasOwnProperty(n)&&!xp.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"));}chars(t){this.buf.push(pf(t));}};function gI(e,t){return (e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function mI(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Op(t);return t}function yI(e){let t=e.firstChild;if(t&&gI(e,t))throw Op(t);return t}function ff(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Op(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var vI=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,II=/([^\#-~ |!])/g;function pf(e){return e.replace(/&/g,"&amp;").replace(vI,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return "&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(II,function(t){return "&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Di$1;function Pp(e,t){let n=null;try{Di$1=Di$1||Sp(e);let r=t?String(t):"";n=Di$1.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=Di$1.getInertBodyElement(r);}while(r!==i);let a=new wc().sanitizeChildren(Tc(n)||n);return Xr$1(a)}finally{if(n){let r=Tc(n)||n;for(;r.firstChild;)r.firstChild.remove();}}}function Tc(e){return "content"in e&&EI(e)?e.content:null}function EI(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var DI=/^>|^->|<!--|-->|--!>|<!-$/g,wI=/(<|>)/g,TI="\u200B$1\u200B";function CI(e){return e.replace(DI,t=>t.replace(wI,TI))}function Lp(e,t){return e.createText(t)}function Fp(e,t,n){e.setValue(t,n);}function jp(e,t){return e.createComment(CI(t))}function rl(e,t,n){return e.createElement(t,n)}function rn$1(e,t,n,r,o){e.insertBefore(t,n,r,o);}function Vp(e,t,n){e.appendChild(t,n);}function hf(e,t,n,r,o){r!==null?rn$1(e,t,n,r,o):Vp(e,t,n);}function es(e,t,n,r){e.removeChild(null,t,n,r);}function bI(e,t,n){e.setAttribute(t,"style",n);}function _I(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n);}function Hp(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&kv(e,t,r),o!==null&&_I(e,t,o),i!==null&&bI(e,t,i);}function MI(e){let t=y$7();e.src="",e.srcdoc=Xr$1(""),es(t[N$9],e);}var V$9=(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[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(V$9||{}),Ar,gf="svg",NI="math",Bp="",mf="*",Cc=()=>Object.create(null);function SI(){return Ar||(Ar=Cc(),Tt$3(V$9.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),Tt$3(V$9.STYLE,void 0,[["*",["style"]]]),Tt$3(V$9.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),Tt$3(V$9.URL,NI,[["*",["href","xlink:href"]]]),Tt$3(V$9.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),Tt$3(V$9.URL,gf,[["a",["href","xlink:href"]]]),Tt$3(V$9.ATTRIBUTE_NO_BINDING,gf,[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),Tt$3(V$9.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority","credentialless"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority","credentialless"]]]),Ar)}function Tt$3(e,t,n){let r=t??Bp;for(let[o,i]of n){let s=o.toLowerCase();for(let a of i){let c=a.toLowerCase(),l=Ar[c]??=Cc(),u=l[r]??=Cc();u[s]=e;}}}function yf(e,t,n){let o=SI()[t.toLowerCase()];if(!o)return V$9.NONE;let i=e.toLowerCase(),s;if(n){let a=o[n];a&&(s=a[i]??a[mf]);}if(s===void 0){let a=o[Bp];a&&(s=a[i]??a[mf]);}return s??V$9.NONE}function $p(e){let t=to$1();return t?lf(t.sanitize(V$9.HTML,e)||""):Un$2(e,"HTML")?lf(st$2(e)):Pp(Ki$1(),he$4(e))}function Up(e){let t=to$1();return t?t.sanitize(V$9.STYLE,e)||"":Un$2(e,"Style")?st$2(e):he$4(e)}function Wp(e){let t=to$1();return t?t.sanitize(V$9.URL,e)||"":Un$2(e,"URL")?st$2(e):Xi$1(he$4(e))}function ol(e){let t=to$1();if(t)return df(t.sanitize(V$9.RESOURCE_URL,e)||"");if(Un$2(e,"ResourceURL"))return df(st$2(e));throw new D$7(904,false)}function qp(e){let t=to$1();if(t)return uf(t.sanitize(V$9.SCRIPT,e)||"");if(Un$2(e,"Script"))return uf(st$2(e));throw new D$7(905,false)}var xI={embed:{src:true},frame:{src:true},iframe:{src:true},media:{src:true},base:{href:true},link:{href:true},object:{data:true,codebase:true}};function AI(e,t){return xI[e.toLowerCase()]?.[t.toLowerCase()]===true?ol:Wp}function RI(e,t,n){return AI(t,n)(e)}function to$1(){let e=y$7();return e&&e[be$6].sanitizer}var wi$2=new Set(["href","xlink:href"]),kI=["attributeName","attributename"],OI={iframe:{sandbox:true,allow:true,allowfullscreen:true,referrerpolicy:true,csp:true,fetchpriority:true,credentialless:true},":svg:animate":{attributename:true,to:wi$2,values:wi$2,from:wi$2},":svg:set":{attributename:true,to:wi$2},":svg:animatemotion":{attributename:true},":svg:animatetransform":{attributename:true}};function Gp(e,t,n){let r=t.toLowerCase(),o=n.toLowerCase(),s=ue$6()===-1?null:wt$3();if(s&&s.type!==2)return e;let a=r[0]!==":"&&s?.namespace?`:${s.namespace}:${r}`:r,c=OI[a]?.[o];if(!c)return e;let l=y$7();if(s&&r==="iframe"){let p=ce$5(s,l);MI(p);}t[0]===":"?t.split(":").pop():t;if(typeof c!="boolean"){if(!s)throw new D$7(-910,false);let p=ce$5(s,l);if(PI(p,c))throw new D$7(-910,false);return e}let d=false;throw new D$7(-910,d)}function PI(e,t){for(let n of kI){let r=e.getAttribute(n);if(r!==null&&t.has(r.toLowerCase()))return r}return null}function LI(e){return e.ownerDocument.defaultView}function FI(e){return e.ownerDocument}function jI(e){return e instanceof Function?e():e}function VI(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 zp="ng-template";function HI(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&VI(t[o+1].toLowerCase(),n,0)!==-1)return true}else if(il(e))return false;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return true}return false}function il(e){return e.type===4&&e.value!==zp}function BI(e,t,n){let r=e.type===4&&!n?zp:e.value;return t===r}function $I(e,t,n){let r=4,o=e.attrs,i=o!==null?qI(o):0,s=false;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Me$4(r)&&!Me$4(c))return false;if(s&&Me$4(c))continue;s=false,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!BI(e,c,n)||c===""&&t.length===1){if(Me$4(r))return false;s=true;}}else if(r&8){if(o===null||!HI(e,o,c,n)){if(Me$4(r))return false;s=true;}}else {let l=t[++a],u=UI(c,o,il(e),n);if(u===-1){if(Me$4(r))return false;s=true;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Me$4(r))return false;s=true;}}}}return Me$4(r)||s}function Me$4(e){return (e&1)===0}function UI(e,t,n,r){if(t===null)return -1;let o=0;if(r||!n){let i=false;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=true;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 GI(t,e)}function Qp(e,t,n=false){for(let r=0;r<t.length;r++)if($I(e,t[r],n))return true;return false}function WI(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function qI(e){for(let t=0;t<e.length;t++){let n=e[t];if(op(n))return t}return e.length}function GI(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 zI(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 true}}return false}function vf(e,t){return e?":not("+t.trim()+")":t}function QI(e){let t=e[0],n=1,r=2,o="",i=false;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!==""&&!Me$4(s)&&(t+=vf(i,o),o=""),r=s,i=i||!Me$4(r);n++;}return o!==""&&(t+=vf(i,o)),t}function ZI(e){return e.map(QI).join(",")}function YI(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(!Me$4(o))break;o=i;}r++;}return n.length&&t.push(1,...n),t}var G$7={},Li$1=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Li$1||{}),bc;function sl(e,t){return bc(e,t)}function KI(e){bc===void 0&&(bc=e());}typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var _c=new WeakMap;function Zp(e){return e?e[yt$2]??e:null}var Rr$1=new WeakSet;function JI(e,t,n){let r=_c.get(e);if(!r||r.length===0)return;let o=t.parentNode,i=t.previousSibling,s=Zp(n);for(let a=r.length-1;a>=0;a--){let{el:c,declarationView:l}=r[a],u=c.parentNode;c===t?(r.splice(a,1),Rr$1.add(c),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:true}}))):i&&c===i?(r.splice(a,1),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:true}})),c.parentNode?.removeChild(c)):u&&o&&u!==o&&(s===null||l===null||s===l)&&(r.splice(a,1),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:true}})),c.parentNode?.removeChild(c));}}function XI(e,t,n){let r=Zp(n),o=_c.get(e);o?o.some(i=>i.el===t)||o.push({el:t,declarationView:r}):_c.set(e,[{el:t,declarationView:r}]);}var jn$2=new Set,ts=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(ts||{}),Wn$1=new x$6(""),If=new Set;function Ne$6(e){If.has(e)||(If.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}));}var al=(()=>{class e{impl=null;execute(){this.impl?.execute();}static \u0275prov=ee$4({token:e,providedIn:"root",factory:()=>new e})}return e})(),Yp=[0,1,2,3],Kp=(()=>{class e{ngZone=T$6(Oe$5);scheduler=T$6(Xe$3);errorHandler=T$6(Je$4,{optional:true});sequences=new Set;deferredRegistrations=new Set;executing=false;constructor(){T$6(Wn$1,{optional:true});}execute(){let n=this.sequences.size>0;n&&P$3(A$4.AfterRenderHooksStart),this.executing=true;for(let r of Yp)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=true,this.errorHandler?.handleError(i);}this.executing=false;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&&P$3(A$4.AfterRenderHooksEnd);}register(n){let{view:r}=n;r!==void 0?((r[Qt$2]??=[]).push(n),Yt$3(r),r[w$6]|=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=true,n.pipelinedValue=void 0,n.once=true):(this.sequences.delete(n),this.deferredRegistrations.delete(n));}maybeTrace(n,r){return r?r.run(ts.AFTER_NEXT_RENDER,n):n()}static \u0275prov=ee$4({token:e,providedIn:"root",factory:()=>new e})}return e})(),Fi$2=class Fi{impl;hooks;view;once;snapshot;erroredOrDestroyed=false;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=false,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null;}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Qt$2];t&&(this.view[Qt$2]=t.filter(n=>n!==this));}};function eE(e,t){let n=t?.injector??T$6(Te$4);return Ne$6("NgAfterNextRender"),nE(e,n,t,true)}function tE(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function nE(e,t,n,r){let o=t.get(al);o.impl??=t.get(Kp);let i=t.get(Wn$1,null,{optional:true}),s=n?.manualCleanup!==true?t.get(rt$1):null,a=t.get(_r,null,{optional:true}),c=new Fi$2(o.impl,tE(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var cl=new x$6("",{factory:()=>{let e=T$6(pe$5),t=new Set;return e.onDestroy(()=>t.clear()),{queue:t,isScheduled:false,scheduler:null,injector:e}}});function Jp(e,t,n){let r=e.get(cl);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 rE(e,t){let n=e.get(cl);if(Array.isArray(t))for(let r of t)n.queue.delete(r);else n.queue.delete(t);}function oE(e,t){let n=e.get(cl);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0;}}function iE(e,t){for(let[n,r]of t)Jp(e,r.animateFns);}function Ef(e,t,n,r){let o=e?.[Ve$6]?.enter;t!==null&&o&&o.has(n.index)&&iE(r,o);}function Df(e,t,n,r){try{n.get(mr);}catch{return r(false)}let o=e?.[Ve$6];o?.enter?.has(t.index)&&rE(n,o.enter.get(t.index).animateFns);let i=sE(e,t,o);if(i.size===0){let s=false;if(e){let a=[];ns(e,t,a),s=a.length>0;}if(!s)return r(false)}e&&jn$2.add(e[je$6]),Jp(n,()=>aE(e,t,o||void 0,i,r),o||void 0);}function sE(e,t,n){let r=new Map,o=n?.leave;if(o&&o.has(t.index)&&r.set(t.index,o.get(t.index)),e&&o)for(let[i,s]of o){if(r.has(i))continue;let c=e[I$2].data[i].parent;for(;c;){if(c===t){r.set(i,s);break}c=c.parent;}}return r}function aE(e,t,n,r,o){let i=[];if(n&&n.leave)for(let[s]of r){if(!n.leave.has(s))continue;let a=n.leave.get(s);for(let c of a.animateFns){let{promise:l}=c();i.push(l);}n.detachedLeaveAnimationFns=void 0;}if(e&&ns(e,t,i),i.length>0){let s=n||e?.[Ve$6];if(s){let a=s.running;a&&i.push(a),s.running=Promise.allSettled(i),lE(e,s.running,o);}else Promise.allSettled(i).then(()=>{e&&jn$2.delete(e[je$6]),o(true);});}else e&&jn$2.delete(e[je$6]),o(false);}function ns(e,t,n){if(t.type&12){let o=e[t.index];if(Ie$3(o))for(let i=j$6;i<o.length;i++){let s=o[i];s[I$2].type===2&&cE(s,n);}}let r=t.child;for(;r;)ns(e,r,n),r=r.next;}function cE(e,t){let n=e[Ve$6];if(n&&n.leave)for(let o of n.leave.values())for(let i of o.animateFns){let{promise:s}=i();t.push(s);}let r=e[I$2].firstChild;for(;r;)ns(e,r,t),r=r.next;}function lE(e,t,n){t.then(()=>{e[Ve$6]?.running===t&&(e[Ve$6].running=void 0,jn$2.delete(e[je$6])),n(true);});}function Pn$2(e,t,n,r,o,i,s,a){if(o!=null){let c,l=false;Ie$3(o)?c=o:et$1(o)&&(l=true,o=o[Ce$5]);let u=ae$5(o);e===0&&r!==null?(Ef(a,r,i,n),s==null?Vp(t,r,u):rn$1(t,r,u,s||null,true)):e===1&&r!==null?(Ef(a,r,i,n),rn$1(t,r,u,s||null,true),JI(i,u,a)):e===2?(a?.[Ve$6]?.leave?.has(i.index)&&XI(i,u,a),Rr$1.delete(u),Df(a,i,n,d=>{if(Rr$1.has(u)){Rr$1.delete(u);return}es(t,u,l,d);})):e===3&&(Rr$1.delete(u),Df(a,i,n,()=>{t.destroyNode(u);})),c!=null&&mE(t,e,n,c,i,r,s);}}function uE(e,t){Xp(e,t),t[Ce$5]=null,t[J$6]=null;}function dE(e,t,n,r,o,i){r[Ce$5]=o,r[J$6]=t,os(e,r,n,1,o,i);}function Xp(e,t){t[be$6].changeDetectionScheduler?.notify(9),os(e,t,t[N$9],2,null,null);}function fE(e){let t=e[Mn$2];if(!t)return Za(e[I$2],e);for(;t;){let n=null;if(et$1(t))n=t[Mn$2];else {let r=t[j$6];r&&(n=r);}if(!n){for(;t&&!t[ve$4]&&t!==e;)et$1(t)&&Za(t[I$2],t),t=t[U$5];t===null&&(t=e),et$1(t)&&Za(t[I$2],t),n=t&&t[ve$4];}t=n;}}function ll(e,t){let n=e[Zt$2],r=n.indexOf(t);n.splice(r,1);}function rs(e,t){if(Dt$2(t))return;let n=t[N$9];n.destroyNode&&os(e,t,n,3,null,null),fE(t);}function Za(e,t){if(Dt$2(t))return;let n=E$3(null);try{t[w$6]&=-129,t[w$6]|=256,t[ge$4]&&dt$2(t[ge$4]),hE(e,t),pE(e,t),t[I$2].type===1&&t[N$9].destroy();let r=t[vt$3];if(r!==null&&Ie$3(t[U$5])){r!==t[U$5]&&ll(r,t);let o=t[Fe$6];o!==null&&o.detachView(e);}uc(t);}finally{E$3(n);}}function pE(e,t){let n=e.cleanup,r=t[_n$2];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[_n$2]=null);let o=t[Ye$3];if(o!==null){t[Ye$3]=null;for(let s=0;s<o.length;s++){let a=o[s];a();}}let i=t[gt$2];if(i!==null){t[gt$2]=null;for(let s of i)s.destroy();}}function hE(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 tn$2)){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];P$3(A$4.LifecycleHookStart,a,c);try{c.call(a);}finally{P$3(A$4.LifecycleHookEnd,a,c);}}else {P$3(A$4.LifecycleHookStart,o,i);try{i.call(o);}finally{P$3(A$4.LifecycleHookEnd,o,i);}}}}}function eh(e,t,n){return th(e,t.parent,n)}function th(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Ce$5];if(tt$1(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===nn$2.None||o===nn$2.Emulated)return null}return ce$5(r,n)}function nh(e,t,n){return oh(e,t,n)}function rh(e,t,n){return e.type&40?ce$5(e,n):null}var oh=rh,Mc;function ih(e,t){oh=e,Mc=t;}function ul(e,t,n,r){let o=eh(e,r,t),i=t[N$9],s=r.parent||t[J$6],a=nh(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)hf(i,o,n[c],a,false);else hf(i,o,n,a,false);Mc!==void 0&&Mc(i,r,t,n,o);}function kr(e,t){if(t!==null){let n=t.type;if(n&3)return ce$5(t,e);if(n&4)return Nc(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return kr(e,r);{let o=e[t.index];return Ie$3(o)?Nc(-1,o):ae$5(o)}}else {if(n&128)return kr(e,t.next);if(n&32)return sl(t,e)()||ae$5(e[t.index]);{let r=sh(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Ke$4(e[te$4]);return kr(o,r)}else return kr(e,t.next)}}}return null}function sh(e,t){if(t!==null){let r=e[te$4][J$6],o=t.projection;return r.projection[o]}return null}function Nc(e,t){let n=j$6+e+1;if(n<t.length){let r=t[n],o=r[I$2].firstChild;if(o!==null)return kr(r,o)}return t[Et$3]}function dl(e,t,n,r,o,i,s){for(;n!=null;){let a=r[ie$2];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&_t$3(ae$5(c),r),n.flags|=2),!Ji$1(n))if(l&8)dl(e,t,n.child,r,o,i,false),Pn$2(t,e,a,o,c,n,i,r);else if(l&32){let u=sl(n,r),d;for(;d=u();)Pn$2(t,e,a,o,d,n,i,r);Pn$2(t,e,a,o,c,n,i,r);}else l&16?ah(e,t,r,n,o,i):Pn$2(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next;}}function os(e,t,n,r,o,i){dl(n,r,e.firstChild,t,o,i,false);}function gE(e,t,n){let r=t[N$9],o=eh(e,n,t),i=n.parent||t[J$6],s=nh(i,n,t);ah(r,0,t,n,o,s);}function ah(e,t,n,r,o,i){let s=n[te$4],c=s[J$6].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Pn$2(t,e,n[ie$2],o,u,r,i,n);}else {let l=c,u=s[U$5];mp(r)&&(l.flags|=128),dl(e,t,l,u,o,i,true);}}function mE(e,t,n,r,o,i,s){let a=r[Et$3],c=ae$5(r);a!==c&&Pn$2(t,e,n,i,a,o,s);for(let l=j$6;l<r.length;l++){let u=r[l];os(u[I$2],u,e,t,i,a);}}function yE(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else {let i=r.indexOf("-")===-1?void 0:Li$1.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Li$1.Important),e.setStyle(n,r,o,i));}}function fl(e,t,n,r,o,i,s,a,c,l,u){let d=k$8+r,p=d+o,f=vE(d,p),h=typeof l=="function"?l():l;return f[I$2]={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:true,firstUpdatePass:true,staticViewQueries:false,staticContentQueries:false,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:false,ssrId:u}}function vE(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:G$7);return n}function IE(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=fl(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function pl(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[Ce$5]=o,d[w$6]=r|4|128|8|64|1024,(l!==null||e&&e[w$6]&2048)&&(d[w$6]|=2048),Ta(d),d[U$5]=d[yt$2]=e,d[B$4]=n,d[be$6]=s||e&&e[be$6],d[N$9]=a||e&&e[N$9],d[ie$2]=c||e&&e[ie$2]||null,d[J$6]=i,d[je$6]=Qv(),d[Gt$2]=u,d[Ea]=l,d[te$4]=t.type==2?e[te$4]:d,d}function EE(e,t,n){let r=ce$5(t,e),o=IE(n),i=e[be$6].rendererFactory,s=hl(e,pl(e,o,null,ch(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function ch(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function no$1(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 hl(e,t){return e[Mn$2]?e[Ia][ve$4]=t:e[Mn$2]=t,e[Ia]=t,t}function DE(e=1){lh(O$4(),y$7(),ue$6()+e);}function lh(e,t,n,r){if((t[w$6]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Ci$1(t,i,n);}else {let i=e.preOrderHooks;i!==null&&bi$1(t,i,0,n);}$e$6(n);}var is=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(is||{});function on$1(e,t,n,r){let o=E$3(null);try{let[i,s,a]=e.inputs[n],c=null;(s&is.SignalBased)!==0&&(c=t[i][H$6]),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):Xf(t,c,i,r);}finally{E$3(o);}}function uh(e,t,n,r,o){let i=ue$6(),s=r&2;try{$e$6(-1),s&&t.length>k$8&&lh(e,t,k$8,!1);let a=s?A$4.TemplateUpdateStart:A$4.TemplateCreateStart;P$3(a,o,n),n(r,o);}finally{$e$6(i);let a=s?A$4.TemplateUpdateEnd:A$4.TemplateCreateEnd;P$3(a,o,n);}}function ss(e,t,n){ME(e,t,n),(n.flags&64)===64&&NE(e,t,n);}function ro$1(e,t,n=ce$5){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 wE(e,t,n,r){let i=r.get(Tp,wp)||n===nn$2.ShadowDom||n===nn$2.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);if(s.tagName.toLowerCase()==="script")throw new D$7(905,false);return s}function bE(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function gl(e,t,n,r,o,i){let s=t[I$2];if(Dl(e,s,t,n,r)){tt$1(e)&&_E(t,e.index);return}e.type&3&&(n=bE(n)),dh(e,t,n,r,o,i);}function dh(e,t,n,r,o,i){if(e.type&3){let s=ce$5(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r);}else e.type&12;}function _E(e,t){let n=Ee$5(t,e);n[w$6]&16||(n[w$6]|=64);}function ME(e,t,n){let r=n.directiveStart,o=n.directiveEnd;tt$1(n)&&EE(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Oi$1(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Vr(t,e,s,n);if(_t$3(c,t),i!==null&&AE(t,s-r,c,a,n,i),He$6(a)){let l=Ee$5(n.index,t);l[B$4]=Vr(t,e,s,n);}}}function NE(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Od();try{$e$6(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];fi$1(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&SE(c,l);}}finally{$e$6(-1),fi$1(s);}}function SE(e,t){e.hostBindings!==null&&e.hostBindings(1,t);}function ml(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Qp(t,i.selectors,false)&&(r??=[],He$6(i)?r.unshift(i):r.push(i));}return r}function xE(e,t,n,r,o,i){let s=ce$5(e,t);yl(t[N$9],s,i,e.value,n,r,o);}function yl(e,t,n,r,o,i,s){if(i==null)s?.(i,r||"",o),e.removeAttribute(t,o,n);else {let a=s==null?he$4(i):s(i,r||"",o);e.setAttribute(t,o,a,n);}}function AE(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];on$1(r,n,c,l);}}function vl(e,t,n,r,o){let i=k$8+n,s=t[I$2],a=o(s,t,e,r,n);t[i]=a,Be$6(e,true);let c=e.type===2;return c?(Hp(t[N$9],a,e),(Md()===0||Nn$2(e))&&_t$3(a,t),Nd()):_t$3(a,t),Cr()&&(!c||!Ji$1(e))&&ul(s,t,a,e),e}function Il(e){let t=e;return Ra()?ka():(t=t.parent,Be$6(t,false)),t}function El(e,t){let n=e[ie$2];if(!n)return;let r;try{r=n.get(Jt$3,null);}catch{r=null;}r?.(t);}function Dl(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=false;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];on$1(d,n[l],u,o),a=true;}if(i)for(let c of i){let l=n[c],u=t.data[c];on$1(u,l,r,o),a=true;}return a}function RE(e,t,n,r,o,i){let s=null,a=null,c=null,l=false,u=e.directiveToIndex.get(r.type);if(typeof u=="number"?s=u:[s,a,c]=u,a!==null&&c!==null&&e.hostDirectiveInputs?.hasOwnProperty(o)){let d=e.hostDirectiveInputs[o];for(let p=0;p<d.length;p+=2){let f=d[p];if(f>=a&&f<=c){let h=t.data[f],g=d[p+1];on$1(h,n[f],g,i),l=true;}else if(f>c)break}}return s!==null&&r.inputs.hasOwnProperty(o)&&(on$1(r,n[s],o,i),l=true),l}function kE(e,t){let n=Ee$5(t,e),r=n[I$2];OE(r,n);let o=n[Ce$5];o!==null&&n[Gt$2]===null&&(n[Gt$2]=_p(o,n[ie$2])),P$3(A$4.ComponentStart);try{wl(r,n,n[B$4]);}finally{P$3(A$4.ComponentEnd,n[B$4]);}}function OE(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n]);}function wl(e,t,n){hi$2(t);try{let r=e.viewQuery;r!==null&&fc(1,r,n);let o=e.template;o!==null&&uh(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Fe$6]?.finishViewCreation(e),e.staticContentQueries&&Mp(e,t),e.staticViewQueries&&fc(2,e.viewQuery,n);let i=e.components;i!==null&&PE(t,i);}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=true,e.firstCreatePass=false),r}finally{t[w$6]&=-5,gi$2();}}function PE(e,t){for(let n=0;n<t.length;n++)kE(e,t[n]);}function qn$1(e,t,n,r){let o=E$3(null);try{let i=t.tView,a=e[w$6]&4096?4096:16,c=pl(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[vt$3]=l;let u=e[Fe$6];return u!==null&&(c[Fe$6]=u.createEmbeddedView(i)),wl(i,c,n),c}finally{E$3(o);}}function sn$2(e,t){return !t||t.firstChild===null||mp(e)}function Hr(e,t,n,r,o=false){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(ae$5(i)),Ie$3(i)&&fh(i,r);let s=n.type;if(s&8)Hr(e,t,n.child,r);else if(s&32){let a=sl(n,t),c;for(;c=a();)r.push(c);}else if(s&16){let a=sh(t,n);if(Array.isArray(a))r.push(...a);else {let c=Ke$4(t[te$4]);Hr(c[I$2],c,a,r,true);}}n=o?n.projectionNext:n.next;}return r}function fh(e,t){for(let n=j$6;n<e.length;n++){let r=e[n],o=r[I$2].firstChild;o!==null&&Hr(r[I$2],r,o,t);}e[Et$3]!==e[Ce$5]&&t.push(e[Et$3]);}function ph(e){if(e[Qt$2]!==null){for(let t of e[Qt$2])t.impl.addSequence(t);e[Qt$2].length=0;}}var hh=[];function LE(e){return e[ge$4]??FE(e)}function FE(e){let t=hh.pop()??Object.create(VE);return t.lView=e,t}function jE(e){e.lView[ge$4]!==e&&(e.lView=null,hh.push(e));}var VE=m$6(l$3({},Ge$5),{consumerIsAlwaysLive:true,kind:"template",consumerMarkedDirty:e=>{Yt$3(e.lView);},consumerOnSignalRead(){this.lView[ge$4]=this;}});function HE(e){let t=e[ge$4]??Object.create(BE);return t.lView=e,t}var BE=m$6(l$3({},Ge$5),{consumerIsAlwaysLive:true,kind:"template",consumerMarkedDirty:e=>{let t=Ke$4(e.lView);for(;t&&!gh(t[I$2]);)t=Ke$4(t);t&&ci$2(t);},consumerOnSignalRead(){this.lView[ge$4]=this;}});function gh(e){return e.type!==2}function mh(e){if(e[gt$2]===null)return;let t=true;for(;t;){let n=false;for(let r of e[gt$2])r.dirty&&(n=true,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[w$6]&8192);}}var $E=100;function yh(e,t=0){let r=e[be$6].rendererFactory;r.begin?.();try{UE(e,t);}finally{r.end?.();}}function UE(e,t){let n=Pa();try{ar$1(!0),Sc(e,t);let r=0;for(;Er(e);){if(r===$E)throw new D$7(103,!1);r++,Sc(e,1);}}finally{ar$1(n);}}function WE(e,t,n,r){if(Dt$2(t))return;let o=t[w$6],i=false,s=false;hi$2(t);let a=true,c=null,l=null;(gh(e)?(l=LE(t),c=ze$5(l)):fo$1()===null?(a=false,l=HE(t),c=ze$5(l)):t[ge$4]&&(dt$2(t[ge$4]),t[ge$4]=null));try{Ta(t),Ad(e.bindingStartIndex),n!==null&&uh(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Ci$1(t,f,null);}else {let f=e.preOrderHooks;f!==null&&bi$1(t,f,0,null),za(t,0);}if(s||qE(t),mh(t),vh(t,0),e.contentQueries!==null&&Mp(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Ci$1(t,f);}else {let f=e.contentHooks;f!==null&&bi$1(t,f,1),za(t,1);}zE(e,t);let d=e.components;d!==null&&Eh(t,d,0);let p=e.viewQuery;if(p!==null&&fc(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Ci$1(t,f);}else {let f=e.viewHooks;f!==null&&bi$1(t,f,2),za(t,2);}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[si$2]){for(let f of t[si$2])f();t[si$2]=null;}i||(ph(t),t[w$6]&=-73);}catch(u){throw Yt$3(t),u}finally{l!==null&&(ut$2(l,c),a&&jE(l)),gi$2();}}function vh(e,t){for(let n=vp(e);n!==null;n=Ip(n))for(let r=j$6;r<n.length;r++){let o=n[r];Ih(o,t);}}function qE(e){for(let t=vp(e);t!==null;t=Ip(t)){if(!(t[w$6]&2))continue;let n=t[Zt$2];for(let r=0;r<n.length;r++){let o=n[r];ci$2(o);}}}function GE(e,t,n){P$3(A$4.ComponentStart);let r=Ee$5(t,e);try{Ih(r,n);}finally{P$3(A$4.ComponentEnd,r[B$4]);}}function Ih(e,t){ai$1(e)&&Sc(e,t);}function Sc(e,t){let r=e[I$2],o=e[w$6],i=e[ge$4],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&pn$1(i)),s||=false,i&&(i.dirty=false),e[w$6]&=-9217,s)WE(r,e,r.template,e[B$4]);else if(o&8192){let a=E$3(null);try{mh(e),vh(e,1);let c=r.components;c!==null&&Eh(e,c,1),ph(e);}finally{E$3(a);}}}function Eh(e,t,n){for(let r=0;r<t.length;r++)GE(e,t[r],n);}function zE(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)$e$6(~o);else {let i=o,s=n[++r],a=n[++r];kd(s,i);let c=t[i];P$3(A$4.HostBindingsUpdateStart,c);try{a(2,c);}finally{P$3(A$4.HostBindingsUpdateEnd,c);}}}}finally{$e$6(-1);}}function Tl(e,t){let n=Pa()?64:1088;for(e[be$6].changeDetectionScheduler?.notify(t);e;){e[w$6]|=n;let r=Ke$4(e);if(Sn$2(e)&&!r)return e;e=r;}return null}function Dh(e,t,n,r){return [e,true,0,t,null,r,null,n,null,null]}function wh(e,t){let n=j$6+t;if(n<e.length)return e[n]}function Gn$2(e,t,n,r=true){let o=t[I$2];if(QE(o,t,e,n),r){let s=Nc(n,e),a=t[N$9],c=a.parentNode(e[Et$3]);c!==null&&dE(o,e[J$6],a,t,c,s);}let i=t[Gt$2];i!==null&&i.firstChild!==null&&(i.firstChild=null);}function Cl(e,t){let n=Br(e,t);return n!==void 0&&rs(n[I$2],n),n}function Br(e,t){if(e.length<=j$6)return;let n=j$6+t,r=e[n];if(r){let o=r[vt$3];o!==null&&o!==e&&ll(o,r),t>0&&(e[n-1][ve$4]=r[ve$4]);let i=pr$1(e,j$6+t);uE(r[I$2],r);let s=i[Fe$6];s!==null&&s.detachView(i[I$2]),r[U$5]=null,r[ve$4]=null,r[w$6]&=-129;}return r}function QE(e,t,n,r){let o=j$6+r,i=n.length;r>0&&(n[o-1][ve$4]=t),r<i-j$6?(t[ve$4]=n[o],pa(n,j$6+r,t)):(n.push(t),t[ve$4]=null),t[U$5]=n;let s=t[vt$3];s!==null&&n!==s&&Th(s,t);let a=t[Fe$6];a!==null&&a.insertView(e),li$1(t),t[w$6]|=128;}function Th(e,t){let n=e[Zt$2],r=t[U$5];if(et$1(r))e[w$6]|=2;else {let o=r[U$5][te$4];t[te$4]!==o&&(e[w$6]|=2);}n===null?e[Zt$2]=[t]:n.push(t);}var Mt$3=class Mt{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=false;exhaustive;get rootNodes(){let t=this._lView,n=t[I$2];return Hr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n;}get context(){return this._lView[B$4]}set context(t){this._lView[B$4]=t;}get destroyed(){return Dt$2(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[U$5];if(Ie$3(t)){let n=t[yr],r=n?n.indexOf(this):-1;r>-1&&(Br(t,r),pr$1(n,r));}this._attachedToViewContainer=false;}rs(this._lView[I$2],this._lView);}onDestroy(t){Dr(this._lView,t);}markForCheck(){Tl(this._cdRefInjectingView||this._lView,4);}detach(){this._lView[w$6]&=-129;}reattach(){li$1(this._lView),this._lView[w$6]|=128;}detectChanges(){this._lView[w$6]|=1024,yh(this._lView);}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D$7(902,false);this._attachedToViewContainer=true;}detachFromAppRef(){this._appRef=null;let t=Sn$2(this._lView),n=this._lView[vt$3];n!==null&&!t&&ll(n,this._lView),Xp(this._lView[I$2],this._lView);}attachToAppRef(t){if(this._attachedToViewContainer)throw new D$7(902,false);this._appRef=t;let n=Sn$2(this._lView),r=this._lView[vt$3];r!==null&&!n&&Th(r,this._lView),li$1(this._lView);}};var $r=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=ZE;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=qn$1(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new Mt$3(i)}}return e})();function ZE(){return as(W$5(),y$7())}function as(e,t){return e.type&4?new $r(t,e,$n$2(e,t)):null}function Ch(e,t,n){let r=t.insertBeforeIndex,o=Array.isArray(r)?r[0]:r;return o===null?rh(e,t,n):ae$5(n[o])}function bh(e,t,n,r,o){let i=t.insertBeforeIndex;if(Array.isArray(i)){let s=r,a=null;if(t.type&3||(a=s,s=o),s!==null&&t.componentOffset===-1)for(let c=1;c<i.length;c++){let l=n[i[c]];rn$1(e,s,l,a,false);}}}function un$1(e,t,n,r,o){let i=e.data[t];if(i===null)i=bl(e,t,n,r,o),Rd()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Rn$2();i.injectorIndex=s===null?-1:s.injectorIndex;}return Be$6(i,true),i}function bl(e,t,n,r,o){let i=Aa(),s=Ra(),a=s?i:i&&i.parent,c=e.data[t]=KE(e,a,n,t,r,o);return YE(e,c,i,s),c}function YE(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 KE(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Na()&&(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,namespace:Va(),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 _h(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){let r=e[n];Mh(r)||JE(r,t)&&XE(r)===null&&eD(r,t.index);}}function Mh(e){return !(e.type&64)}function JE(e,t){return Mh(t)||e.index>t.index}function XE(e){let t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function eD(e,t){let n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(ih(Ch,bh),e.insertBeforeIndex=t);}function Or$1(e,t){let n=e.data[t];return n===null||typeof n=="string"?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function tD(e,t,n){let r=e.data[t];r===null?e.data[t]=n:r.value=n;}function nD(e,t){let n=e.insertBeforeIndex;n===null?(ih(Ch,bh),n=e.insertBeforeIndex=[null,t]):(id(Array.isArray(n),true,"Expecting array here"),n.push(t));}function rD(e,t,n){let r=bl(e,n,64,null,null);return _h(t,r),r}function cs(e,t){let n=t[e.currentCaseLViewIndex];return n===null?n:n<0?~n:n}function oD(e){return e>>>17}function iD(e){return (e&131070)>>>1}function sD(e,t,n){return e|t<<17|n<<1}function aD(e){return e===-1}function Nh(e,t,n){e.index=0;let r=cs(t,n);r!==null?e.removes=t.remove[r]:e.removes=K$3;}function xc(e){if(e.index<e.removes.length){let t=e.removes[e.index++];if(t>0)return e.lView[t];{e.stack.push(e.index,e.removes);let n=~t,r=e.lView[I$2].data[n];return Nh(e,r,e.lView),xc(e)}}else return e.stack.length===0?(e.lView=void 0,null):(e.removes=e.stack.pop(),e.index=e.stack.pop(),xc(e))}function cD(){let e={stack:[],index:-1};function t(n,r){for(e.lView=r;e.stack.length;)e.stack.pop();return Nh(e,n.value,r),xc.bind(null,e)}return t}function fD(e,t,n){}function pD(e){let t=e[It$4]??[],r=e[U$5][N$9],o=[];for(let i of t)i.data[Jc]!==void 0?o.push(i):hD(i,r);e[It$4]=o;}function hD(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Dp];for(;n<o;){let i=r.nextSibling;es(t,r,false),r=i,n++;}}}var gD=()=>null,mD=()=>null;function ji$2(e,t){return gD()}function Sh(e,t,n){return mD()}var xh=class{},Ur=class{},yD=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>vD()}return e})();function vD(){let e=y$7(),t=W$5(),n=Ee$5(t.index,e);return (et$1(n)?n:e)[N$9]}var Ah=(()=>{class e{static \u0275prov=ee$4({token:e,providedIn:"root",factory:()=>null})}return e})();function Rh(e){return e.debugInfo?.className||e.type.name||null}var Mi$1={},Xt$2=class Xt{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n;}get(t,n,r){let o=this.injector.get(t,Mi$1,r);return o!==Mi$1||n===Mi$1?o:this.parentInjector.get(t,n,r)}};function _l(e){return ls(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:false}function kh(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else {let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value);}}function ls(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function zn$2(e,t,n){return e[t]=n}function Oh(e,t){return e[t]}function X$5(e,t,n){if(n===G$7)return false;let r=e[t];return Object.is(r,n)?false:(e[t]=n,true)}function Wr(e,t,n,r){let o=X$5(e,t,n);return X$5(e,t+1,r)||o}function Ph(e,t,n,r,o){let i=Wr(e,t,n,r);return X$5(e,t+2,o)||i}function Lh(e,t,n,r,o,i){let s=Wr(e,t,n,r);return Wr(e,t+2,o,i)||s}function en$2(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&Kv(o,i);let s=tt$1(e)?Ee$5(e.index,t):t;Tl(s,5);let a=t[B$4],c=wf(t,a,n,o),l=r.__ngNextListenerFn__;for(;l;)c=wf(t,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function wf(e,t,n,r){let o=E$3(null);try{return P$3(A$4.OutputStart,t,n),n(r)!==!1}catch(i){return El(e,i),false}finally{P$3(A$4.OutputEnd,t,n),E$3(o);}}function Ml(e,t,n,r,o,i,s,a){let c=Nn$2(e),l=false,u=null;if(!r&&c&&(u=ED(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=true;}else {let d=ce$5(e,n),p=r?r(d):d;r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!ID(i)){let h=r?g=>r(ae$5(g[e.index])):e.index;Fh(h,t,n,i,a,f,false);}}return l}function ID(e){return e.startsWith("animation")||e.startsWith("transition")}function ED(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[_n$2],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2);}return null}function Fh(e,t,n,r,o,i,s){let a=t.firstCreatePass?_a(t):null,c=ba(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1));}function Tf(e,t,n,r,o){let i=null,s=null,a=null,c=false,l=e.directiveToIndex.get(n.type);if(typeof l=="number"?i=l:[i,s,a]=l,s!==null&&a!==null&&e.hostDirectiveOutputs?.hasOwnProperty(r)){let u=e.hostDirectiveOutputs[r];for(let d=0;d<u.length;d+=2){let p=u[d];if(p>=s&&p<=a)c=true,Vi$1(e,t,p,u[d+1],r,o);else if(p>a)break}}return n.outputs.hasOwnProperty(r)&&(c=true,Vi$1(e,t,i,r,r,o)),c}function Vi$1(e,t,n,r,o,i){let s=t[n],a=t[I$2],l=a.data[n].outputs[r],d=s[l].subscribe(i);Fh(e.index,a,t,o,i,d,true);}function DD(){wD();}function wD(){let e=y$7(),t=O$4(),n=W$5();if(t.firstCreatePass&&bD(t,n),n.controlDirectiveIndex===-1)return;Ne$6("NgSignalForms");let r=e[n.controlDirectiveIndex];t.data[n.controlDirectiveIndex].controlDef.create(r,new Hi$1(e,t,n));}function TD(){CD();}function CD(){let e=y$7(),t=O$4(),n=wt$3();if(n.controlDirectiveIndex===-1)return;let r=t.data[n.controlDirectiveIndex].controlDef,o=e[n.controlDirectiveIndex];r.update(o,new Hi$1(e,t,n));}var Hi$1=class Hi{lView;tView;tNode;hasPassThrough;constructor(t,n,r){this.lView=t,this.tView=n,this.tNode=r,this.hasPassThrough=!!(r.flags&4096);}get customControl(){return this.tNode.customControlIndex!==-1?this.lView[this.tNode.customControlIndex]:void 0}get nativeElement(){return ce$5(this.tNode,this.lView)}get descriptor(){return `<${this.tNode.value}>`}listenToCustomControlOutput(t,n){let r=this.tView.data[this.tNode.customControlIndex];Tf(this.tNode,this.lView,r,t,en$2(this.tNode,this.lView,n));}listenToCustomControlModel(t){let n=this.tNode.flags&1024?"valueChange":"checkedChange",r=this.tView.data[this.tNode.customControlIndex];Tf(this.tNode,this.lView,r,n,en$2(this.tNode,this.lView,t));}listenToDom(t,n){Ml(this.tNode,this.tView,this.lView,void 0,this.lView[N$9],t,n,en$2(this.tNode,this.lView,n));}setInputOnDirectives(t,n){let r=this.tNode.inputs?.[t],o=this.tNode.hostDirectiveInputs?.[t];if(!r&&!o)return false;let i=false;if(r)for(let s of r){if(s===this.tNode.controlDirectiveIndex)continue;let a=this.tView.data[s],c=this.lView[s];on$1(a,c,t,n),i=true;}if(o)for(let s=0;s<o.length;s+=2){let a=o[s];if(a===this.tNode.controlDirectiveIndex)continue;let c=o[s+1],l=this.tView.data[a],u=this.lView[a];on$1(l,u,c,n),i=true;}return i}setCustomControlModelInput(t){let n=this.tView.data[this.tNode.customControlIndex],r=this.tNode.flags&1024?"value":"checked";RE(this.tNode,this.tView,this.lView,n,r,t);}customControlHasInput(t){if(this.tNode.customControlIndex===-1)return false;let n=this.tView.data[this.tNode.customControlIndex];return (n.signalFormsInputPresence??=this._buildCustomControlInputCache(n))[t]===true}_buildCustomControlInputCache(t){let n={};for(let r in t.inputs)n[r]=true;if(t.hostDirectives!==null){let r=[...t.hostDirectives];for(;r.length>0;){let o=r.shift();if(typeof o!="function"){for(let s in o.inputs)n[o.inputs[s]]=true;let i=Cf(o.directive);i!==null&&r.push(...i);continue}for(let i of o()){if(typeof i=="function")continue;if(i.inputs)for(let a=0;a<i.inputs.length;a+=2){let c=i.inputs[a+1]||i.inputs[a];n[c]=true;}let s=Cf(i.directive);s!==null&&r.push(...s);}}}return n}};function Cf(e){return typeof e=="function"&&"\u0275dir"in e?e.\u0275dir.hostDirectives??null:null}function bD(e,t,n){for(let o=t.directiveStart;o<t.directiveEnd;o++)if(e.data[o].controlDef){t.controlDirectiveIndex=o;break}if(t.controlDirectiveIndex===-1)return;let r=e.data[t.controlDirectiveIndex].controlDef;if(r.passThroughInput&&(t.inputs?.[r.passThroughInput]?.length??0)>1){t.flags|=4096;return}_D(e,t);}function _D(e,t){for(let n=t.directiveStart;n<t.directiveEnd;n++){let r=e.data[n];if(!(t.directiveToIndex&&!t.directiveToIndex.has(r.type))){if(bf(r,"value")){t.flags|=1024,t.customControlIndex=n;return}if(bf(r,"checked")){t.flags|=2048,t.customControlIndex=n;return}}}if(t.hostDirectiveInputs!==null&&t.hostDirectiveOutputs!==null&&t.directiveToIndex!==null){let n=(r,o)=>{let i=t.hostDirectiveInputs[r],s=t.hostDirectiveOutputs[r+"Change"];if(!i||!s)return false;for(let a=0;a<i.length;a+=2){let c=i[a];for(let l=0;l<s.length;l+=2){let u=s[l];if(c===u)for(let d of t.directiveToIndex.values()){if(!Array.isArray(d))continue;let[p,f,h]=d;if(c>=f&&c<=h)return t.flags|=o,t.customControlIndex=p,true}}}return false};if(n("value",1024)||n("checked",2048))return}}function bf(e,t){return MD(e,t)&&ND(e,t+"Change")}function MD(e,t){return t in e.inputs}function ND(e,t){return t in e.outputs}var Ac=Symbol("BINDING");var jh=new x$6("");function Bi$2(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=Yo(o,a);else if(i==2){let c=a,l=t[++s];r=Yo(r,c+": "+l+";");}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o;}function oo$1(e,t=0){let n=y$7();if(n===null)return ke$4(e,t);let r=W$5();return dp(r,n,Y$3(e),t)}function SD(){let e="invalid";throw new Error(e)}function Vh(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}RD(e,t,n,a,i,c,l);}i!==null&&r!==null&&xD(n,r,i);}function xD(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 D$7(-301,false);r.push(t[o],i);}}function AD(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index);}function RD(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$6(f)&&(c=f,AD(e,n,p)),cc(Oi$1(n,t),e,f.type);}jD(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 l=false,u=false,d=no$1(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=Fn$1(n.mergedAttrs,f.hostAttrs),OD(e,n,t,d,f),FD(d,f,o),s!==null&&s.has(f)){let[g,m]=s.get(f);n.directiveToIndex.set(f.type,[d,g+n.directiveStart,m+n.directiveStart]);}else (i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=true),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=true),d++;}kD(e,n,i);}function kD(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))_f(0,t,o,r),_f(1,t,o,r),Nf(t,r,false);else {let i=n.get(o);Mf(0,t,i,r),Mf(1,t,i,r),Nf(t,r,true);}}}function _f(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),Hh(t,i);}}function Mf(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),Hh(t,s);}}function Hh(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16);}function Nf(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||il(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2;}e.initialInputs??=[],e.initialInputs.push(s);}function OD(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=ht$2(o.type)),s=new tn$2(i,He$6(o),oo$1,null);e.blueprint[r]=s,n[r]=s,PD(e,t,r,no$1(e,n,o.hostVars,G$7),o);}function PD(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;LD(s)!=a&&s.push(a),s.push(n,r,i);}}function LD(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function FD(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;He$6(t)&&(n[""]=e);}}function jD(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t;}function Nl(e,t,n,r,o,i,s,a){let c=t[I$2],l=c.consts,u=le$4(l,s),d=un$1(c,e,n,r,u);return Vh(c,t,d,le$4(l,a),o),d.mergedAttrs=Fn$1(d.mergedAttrs,d.attrs),d.attrs!==null&&Bi$2(d,d.attrs,false),d.mergedAttrs!==null&&Bi$2(d,d.mergedAttrs,true),c.queries!==null&&c.queries.elementStart(c,d),d}function Sl(e,t){np(e,t),Da(t)&&e.queries.elementEnd(t);}function VD(e,t,n,r,o,i){let s=t.consts,a=le$4(s,o),c=un$1(t,e,n,r,a);if(c.mergedAttrs=Fn$1(c.mergedAttrs,c.attrs),i!=null){let l=le$4(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1);}return c.attrs!==null&&Bi$2(c,c.attrs,false),c.mergedAttrs!==null&&Bi$2(c,c.mergedAttrs,true),t.queries!==null&&t.queries.elementStart(t,c),c}var Bh=typeof ShadowRoot<"u",HD=typeof Document<"u";function BD(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&is.SignalBased)!==0};return o&&(i.transform=o),i})}function $D(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function UD(e,t,n){let r=t instanceof pe$5?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Xt$2(n,r):n}function WD(e){let t=e.get(Ur,null);if(t===null)throw new D$7(407,false);let n=e.get(Ah,null),r=e.get(Xe$3,null),o=e.get(Wn$1,null,{optional:true});return {rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:false,tracingService:o}}function qD(e,t){let n=$h(e);return rl(t,n,n==="svg"?wa:n==="math"?wd:null)}function $h(e){return (e.selectors[0][0]||"div").toLowerCase()}var an$2=class an{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=BD(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=$D(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=ZI(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n;}create(t,n,r,o,i,s){P$3(A$4.DynamicComponentStart);let a=E$3(null);try{let c=this.componentDef,l=UD(c,o||this.ngModule,t),u=WD(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(Rh(c),()=>this.createComponentRef(u,l,n,r,i,s)):this.createComponentRef(u,l,n,r,i,s)}finally{E$3(a);}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=GD(o,a,s,i),l=t.rendererFactory.createRenderer(null,a),u=o?wE(l,o,a.encapsulation,n):qD(a,l),d=n.get(jh,null),p=zD(u,()=>n.get(br,null)??Ki$1());d&&d.addHost(p);let f=s?.some(Sf)||i?.some(m=>typeof m!="function"&&m.bindings.some(Sf)),h=pl(null,c,null,512|ch(a),null,null,t,l,n,null,_p(u,n,true));d&&Bh&&p instanceof ShadowRoot&&Dr(h,()=>{d.removeHost(p);}),h[k$8]=u,hi$2(h);let g=null;try{let m=Nl(k$8,h,2,"#host",()=>c.directiveRegistry,!0,0);Hp(l,u,m),_t$3(u,h),ss(c,h,m),tl(c,m,h),Sl(c,m),r!==void 0&&ZD(m,this.ngContentSelectors,r),g=Ee$5(m.index,h),h[B$4]=g[B$4],wl(c,h,null);}catch(m){throw g!==null&&uc(g),uc(h),m}finally{P$3(A$4.DynamicComponentEnd),gi$2();}return new $i$2(this.componentType,h,!!f)}};function GD(e,t,n,r){let o=e?["ng-version","22.0.4"]:YI(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[Ac].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[Ac].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p));}}let c=[t];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=Xo(d);c.push(p);}return fl(0,null,QD(i,s),1,a,c,null,null,null,[o],null)}function zD(e,t){let n=e.getRootNode?.();return HD&&n instanceof Document?n.head:n&&Bh&&n instanceof ShadowRoot?n:t().head}function QD(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 Sf(e){let t=e[Ac].kind;return t==="input"||t==="twoWay"}var $i$2=class $i 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=xn$2(n[I$2],k$8),this.location=$n$2(this._tNode,n),this.instance=Ee$5(this._tNode.index,n)[B$4],this.hostView=this.changeDetectorRef=new Mt$3(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;Dl(r,o[I$2],o,t,n);this.previousInputValues.set(t,n);let s=Ee$5(r.index,o);Tl(s,1);}get injector(){return new bt$3(this._tNode,this._rootLView)}destroy(){this.hostView.destroy();}onDestroy(t){this.hostView.onDestroy(t);}};function ZD(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 us=(()=>{class e{static __NG_ELEMENT_ID__=YD}return e})();function YD(){let e=W$5();return Uh(e,y$7())}var Rc=class e extends us{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r;}get element(){return $n$2(this._hostTNode,this._hostLView)}get injector(){return new bt$3(this._hostTNode,this._hostLView)}get parentInjector(){let t=Yc(this._hostTNode,this._hostLView);if(ip(t)){let n=Ri$1(t,this._hostLView),r=Ai$2(t),o=n[I$2].data[r+8];return new bt$3(o,n)}else return new bt$3(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1);}get(t){let n=xf(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-j$6}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=ji$2(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,sn$2(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c,l=n||{};c=l.index,r=l.injector,o=l.projectableNodes,i=l.environmentInjector||l.ngModuleRef,s=l.directives,a=l.bindings;let u=new an$2(Pe$6(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let v=this.parentInjector.get(pe$5,null);v&&(i=v);}let p=Pe$6(u.componentType??{}),f=ji$2(this._lContainer,p?.id??null),h=null,g=u.create(d,o,h,i,s,a);return this.insertImpl(g.hostView,c,sn$2(this._hostTNode,f)),g}insert(t,n){return this.insertImpl(t,n,true)}insertImpl(t,n,r){let o=t._lView;if(Cd(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else {let c=o[U$5],l=new e(c,c[J$6],c[U$5]);l.detach(l.indexOf(t));}}let i=this._adjustIndex(n),s=this._lContainer;return Gn$2(s,o,i,r),t.attachToViewContainerRef(),pa(Ya(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=xf(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Br(this._lContainer,n);r&&(pr$1(Ya(this._lContainer),n),rs(r[I$2],r));}detach(t){let n=this._adjustIndex(t,-1),r=Br(this._lContainer,n);return r&&pr$1(Ya(this._lContainer),n)!=null?new Mt$3(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function xf(e){return e[yr]}function Ya(e){return e[yr]||(e[yr]=[])}function Uh(e,t){let n,r=t[e.index];return Ie$3(r)?n=r:(n=Dh(r,t,null,e),t[e.index]=n,hl(t,n)),JD(n,t,e,r),new Rc(n,e,t)}function KD(e,t){let n=e[N$9],r=n.createComment(""),o=ce$5(t,e),i=n.parentNode(o);return rn$1(n,i,r,n.nextSibling(o),false),r}var JD=ew;function ew(e,t,n,r){if(e[Et$3])return;let o;n.type&8?o=ae$5(r):o=KD(t,n),e[Et$3]=o;}var kc=class e{queryList;matches=null;constructor(t){this.queryList=t;}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty();}},Oc=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++)Al(t,n).matches!==null&&this.queries[n].setDirty();}},Ui$2=class Ui{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=sw(t):this.predicate=t;}},Pc=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);}},Lc=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=false;_declarationNodeIndex;_appliesToNextNode=true;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=false);}template(t,n){this.elementStart(t,n);}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=true,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,tw(n,i)),this.matchTNodeWithReadOption(t,n,_i$1(n,t,i,false,false));}else r===$r?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,_i$1(n,t,r,false,false));}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Jr$1||o===us||o===$r&&n.type&4)this.addMatch(n.index,-2);else {let i=_i$1(n,t,o,false,false);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 tw(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 nw(e,t){return e.type&11?$n$2(e,t):e.type&4?as(e,t):null}function rw(e,t,n,r){return n===-1?nw(t,e):n===-2?ow(e,t,r):Vr(e,e[I$2],n,t)}function ow(e,t,n){if(n===Jr$1)return $n$2(t,e);if(n===$r)return as(t,e);if(n===us)return Uh(t,e)}function qh(e,t,n,r){let o=t[Fe$6].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else {let u=i[l];a.push(rw(t,u,s[c+1],n.metadata.read));}}o.matches=a;}return o.matches}function Fc(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=qh(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else {let l=i[a+1],u=t[-c];for(let d=j$6;d<u.length;d++){let p=u[d];p[vt$3]===p[U$5]&&Fc(p[I$2],p,l,r);}if(u[Zt$2]!==null){let d=u[Zt$2];for(let p=0;p<d.length;p++){let f=d[p];Fc(f[I$2],f,l,r);}}}}}return r}function xl(e,t){return e[Fe$6].queries[t].queryList}function Gh(e,t,n){let r=new Pi$2((n&4)===4);return _d(e,t,r,r.destroy),(t[Fe$6]??=new Oc).queries.push(new kc(r))-1}function iw(e,t,n){let r=O$4();return r.firstCreatePass&&(Qh(r,new Ui$2(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=true)),Gh(r,y$7(),t)}function zh(e,t,n,r){let o=O$4();if(o.firstCreatePass){let i=W$5();Qh(o,new Ui$2(t,n,r),i.index),aw(o,e),(n&2)===2&&(o.staticContentQueries=true);}return Gh(o,y$7(),n)}function sw(e){return e.split(",").map(t=>t.trim())}function Qh(e,t,n){e.queries===null&&(e.queries=new Pc),e.queries.track(new Lc(t,n));}function aw(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 Al(e,t){return e.queries.getByIndex(t)}function Zh(e,t){let n=e[I$2],r=Al(n,t);return r.crossesNgTemplate?Fc(n,e,t,[]):qh(n,e,r,t)}function Rl(e,t,n){let r,o=Jn$1(()=>{r._dirtyCounter();let i=cw(r,e);if(t&&i===void 0)throw new D$7(-951,false);return i});return r=o[H$6],r._dirtyCounter=Ue$7(0),r._flatValue=void 0,o}function kl(e){return Rl(true,false)}function Ol(e){return Rl(true,true)}function Yh(e){return Rl(false,false)}function Kh(e,t){let n=e[H$6];n._lView=y$7(),n._queryIndex=t,n._queryList=xl(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1));}function cw(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[w$6]&4)return t?void 0:K$3;let o=xl(n,r),i=Zh(n,r);return o.reset(i,gp),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function Pl(e){return !!e&&typeof e.then=="function"}function Jh(e){return !!e&&typeof e.subscribe=="function"}var Vn$2=class Vn{},Xh=class{};function lw(e,t){return new qr(e,t??null,[])}var qr=class extends Vn$2{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(t,n,r,o=true){super(),this.ngModuleType=t,this._parent=n;let i=cd(t);this._bootstrapComponents=jI(i.bootstrap),this._r3Injector=Ha(t,n,[{provide:Vn$2,useValue:this},...r],dr$1(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);}},Wi$1=class Wi extends Xh{moduleType;constructor(t){super(),this.moduleType=t;}create(t){return new qr(this.moduleType,t,[])}};var Gr=class extends Vn$2{injector;instance=null;constructor(t){super();let n=new Wt$3([...t.providers,{provide:Vn$2,useValue:this}],t.parent||bn$2(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers();}destroy(){this.injector.destroy();}onDestroy(t){this.injector.onDestroy(t);}};function Ll(e,t,n=null){return new Gr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:true}).injector}var uw=(()=>{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=oi$1(false,n.type),o=r.length>0?Ll([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=ee$4({token:e,providedIn:"environment",factory:()=>new e(ke$4(pe$5))})}return e})();function dw(e){return Yr$1(()=>{let t=eg(e),n=m$6(l$3({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection!==Kc.Eager,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(uw).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??false,data:e.data||{},encapsulation:e.encapsulation||nn$2.Emulated,styles:e.styles||K$3,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Ne$6("NgStandalone"),tg(n);let r=e.dependencies;return n.directiveDefs=Af(r,fw),n.pipeDefs=Af(r,ua),n.id=vw(n),n})}function fw(e){return Pe$6(e)||Xo(e)}function pw(e){return Yr$1(()=>({type:e.type,bootstrap:e.bootstrap||K$3,declarations:e.declarations||K$3,imports:e.imports||K$3,exports:e.exports||K$3,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function hw(e,t){if(e==null)return mt$2;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=is.None,c=null),n[i]=[r,a,c],t[i]=s;}return n}function gw(e){if(e==null)return mt$2;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function mw(e){return Yr$1(()=>{let t=eg(e);return tg(t),t})}function yw(e){return {type:e.type,name:e.name,factory:null,pure:e.pure!==false,standalone:e.standalone??true,onDestroy:e.type.prototype.ngOnDestroy||null}}function eg(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||mt$2,exportAs:e.exportAs||null,standalone:e.standalone??true,signals:e.signals===true,selectors:e.selectors||K$3,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:hw(e.inputs,t),outputs:gw(e.outputs),debugInfo:null}}function tg(e){e.features?.forEach(t=>t(e));}function Af(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 vw(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}var ng=new x$6("");var Fl=(()=>{class e{resolve;reject;initialized=false;done=false;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r;});appInits=T$6(ng,{optional:true})??[];injector=T$6(Te$4);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=ii$1(this.injector,o);if(Pl(i))n.push(i);else if(Jh(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c});});n.push(s);}}let r=()=>{this.done=true,this.resolve();};Promise.all(n).then(()=>{r();}).catch(o=>{this.reject(o);}),n.length===0&&r(),this.initialized=true;}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Kr({token:e,factory:e.\u0275fac})}return e})();function Iw(e){return t=>{t.controlDef={create:(n,r)=>{n?.\u0275ngControlCreate(r);},update:(n,r)=>{n?.\u0275ngControlUpdate?.(r);},passThroughInput:e};}}function Ew(e){return Object.getPrototypeOf(e.prototype).constructor}function rg(e){let t=Ew(e.type),n=true,r=[e];for(;t;){let o;if(He$6(e))o=t.\u0275cmp||t.\u0275dir;else {if(t.\u0275cmp)throw new D$7(903,false);o=t.\u0275dir;}if(o){if(n){r.push(o);let s=e;s.inputs=Ka(e.inputs),s.declaredInputs=Ka(e.declaredInputs),s.outputs=Ka(e.outputs);let a=o.hostBindings;a&&bw(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&Tw(e,c),l&&Cw(e,l),Dw(e,o),od(e.outputs,o.outputs),He$6(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation);}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===rg&&(n=false);}}t=Object.getPrototypeOf(t);}ww(r);}function Dw(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 ww(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=Fn$1(o.hostAttrs,n=Fn$1(n,o.hostAttrs));}}function Ka(e){return e===mt$2?{}:e===K$3?[]:e}function Tw(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o);}:e.viewQuery=t;}function Cw(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i);}:e.contentQueries=t;}function bw(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o);}:e.hostBindings=t;}function og(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Fn$1(e.mergedAttrs,e.attrs);let u=e.tView=fl(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e));}a&&(e.flags|=a),Be$6(e,false);let c=Mw(n,t);Cr()&&ul(n,t,c,e),_t$3(c,t);let l=Dh(c,t,c,e);t[r+k$8]=l,hl(t,l);}function _w(e,t,n,r,o,i,s,a,c,l,u){let d=n+k$8,p;return t.firstCreatePass?(p=un$1(t,d,4,s||null,a||null),Vh(t,e,p,le$4(t.consts,l),ml),np(t,p)):p=t.data[d],og(p,e,t,n,r,o,i,c),Nn$2(p)&&ss(t,e,p),l!=null&&ro$1(e,p,u),p}function cn$1(e,t,n,r,o,i,s,a,c,l,u){let d=n+k$8,p;if(t.firstCreatePass){if(p=un$1(t,d,4,s||null,a||null),l!=null){let f=le$4(t.consts,l);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1);}}else p=t.data[d];return og(p,e,t,n,r,o,i,c),l!=null&&ro$1(e,p,u),p}function ig(e,t,n,r,o,i,s,a){let c=y$7(),l=O$4(),u=le$4(l.consts,i);return _w(c,l,e,t,n,r,o,u,void 0,s,a),ig}function sg(e,t,n,r,o,i,s,a){let c=y$7(),l=O$4(),u=le$4(l.consts,i);return cn$1(c,l,e,t,n,r,o,u,void 0,s,a),sg}var Mw=Nw;function Nw(e,t,n,r){return kn$2(true),t[N$9].createComment("")}var de$5=(function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e})(de$5||{}),Rf=0,Sw=1,$$5=(function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e})($$5||{}),qi$1=(function(e){return e[e.Initial=-1]="Initial",e})(qi$1||{}),xw=0,io$1=1;var Aw=4,Rw=5,kw=6,Ow=7,Ja=8,Pw=9,jl=(function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e})(jl||{});function Lw(e,t,n){let r=cg(e);t[r]===null&&(t[r]=[]),t[r].push(n);}function Ni$2(e,t){let n=cg(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null;}}function ag(e){Ni$2(1,e),Ni$2(0,e),Ni$2(2,e);}function cg(e){let t=Aw;return e===1?t=Rw:e===2&&(t=Pw),t}function ds(e){return e+1}function Qn$1(e,t){e[I$2];let r=ds(t.index);return e[r]}function Fw(e,t,n){e[I$2];let o=ds(t);e[o]=n;}function Zn$1(e,t){let n=ds(t.index);return e.data[n]}function jw(e,t,n){let r=ds(t);e.data[r]=n;}function Vw(e,t,n){let r=t[I$2],o=Zn$1(r,n);switch(e){case $$5.Complete:return o.primaryTmplIndex;case $$5.Loading:return o.loadingTmplIndex;case $$5.Error:return o.errorTmplIndex;case $$5.Placeholder:return o.placeholderTmplIndex;default:return null}}function kf(e,t){return t===$$5.Placeholder?e.placeholderBlockConfig?.[Rf]??null:t===$$5.Loading?e.loadingBlockConfig?.[Rf]??null:null}function Hw(e){return e.loadingBlockConfig?.[Sw]??null}function Of(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function Bw(e,t){let n=t.primaryTmplIndex+k$8;return xn$2(e,n)}var $w=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?Ll(o,r,i):null;this.cachedInjectors.set(n,s);}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy();}finally{this.cachedInjectors.clear();}}static \u0275prov=ee$4({token:e,providedIn:"environment",factory:()=>new e})}return e})();var lg=new x$6("");function Xa(e,t,n){return e.get($w).getOrCreateInjector(t,e,n,"")}function Uw(e,t,n){if(e instanceof Xt$2){let o=e.injector,i=e.parentInjector,s=Xa(i,t,n);return new Xt$2(o,s)}let r=e.get(pe$5);if(r!==e){let o=Xa(r,t,n);return new Xt$2(e,o)}return Xa(e,t,n)}function Ct$2(e,t,n,r=false){let o=n[U$5],i=o[I$2];if(Dt$2(o))return;let s=Qn$1(o,t),a=s[io$1],c=s[Ow];if(!(c!==null&&e<c)&&Pf(a,e)&&Pf(s[xw]??-1,e)){let l=Zn$1(i,t),d=!r&&true&&(Hw(l)!==null||kf(l,$$5.Loading)!==null||kf(l,$$5.Placeholder))?zw:qw;try{d(e,s,n,t,o);}catch(p){El(o,p);}}}function Ww(e,t){let n=e[It$4]?.findIndex(o=>o.data[Xc]===t[io$1])??-1;return {dehydratedView:n>-1?e[It$4][n]:null,dehydratedViewIx:n}}function qw(e,t,n,r,o){P$3(A$4.DeferBlockStateStart);let i=Vw(e,o,r);if(i!==null){t[io$1]=e;let s=o[I$2],a=i+k$8,c=xn$2(s,a),l=0;Cl(n,l);let u;if(e===$$5.Complete){let h=Zn$1(s,r),g=h.providers;g&&g.length>0&&(u=Uw(o[ie$2],h,g));}let{dehydratedView:d,dehydratedViewIx:p}=Ww(n,t),f=qn$1(o,c,null,{injector:u,dehydratedView:d});if(Gn$2(n,f,l,sn$2(c,d)),ci$2(f),p>-1&&n[It$4]?.splice(p,1),(e===$$5.Complete||e===$$5.Error)&&Array.isArray(t[Ja])){for(let h of t[Ja])h();t[Ja]=null;}}P$3(A$4.DeferBlockStateEnd);}function Pf(e,t){return e<t}function Gw(e,t){let n=e[t.index];Ct$2($$5.Placeholder,t,n);}function Lf(e,t,n){e.loadingPromise.then(()=>{e.loadingState===de$5.COMPLETE?Ct$2($$5.Complete,t,n):e.loadingState===de$5.FAILED&&Ct$2($$5.Error,t,n);});}var zw=null;function Qw(e,t){return t[ie$2].get(lg,null,{optional:true})?.behavior!==jl.Manual}var Zw=(()=>{class e{log(n){console.log(n);}warn(n){console.warn(n);}static \u0275fac=function(r){return new(r||e)};static \u0275prov=ee$4({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var ug=new x$6("");var dg=new x$6("");function fg(){Cs(()=>{let e="";throw new D$7(600,e)});}var Yw=10;var fs=(()=>{class e{_runningTick=false;_destroyed=false;_destroyListeners=[];_views=[];internalErrorHandler=T$6(Jt$3);afterRenderManager=T$6(al);zonelessEnabled=T$6(Mr);rootEffectScheduler=T$6(yi$1);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=false;afterTick=new fe$5;get allViews(){return [...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=T$6(Kt$2);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(pt$2(n=>!n))}constructor(){T$6(Wn$1,{optional:true});}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r();}});}).finally(()=>{n.unsubscribe();})}_injector=T$6(pe$5);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Te$4.NULL){return this._injector.get(Oe$5).run(()=>{if(P$3(A$4.BootstrapComponentStart),!this._injector.get(Fl).done){let v="";throw new D$7(405,v)}let a=Pe$6(n),c=this._injector.get(Vn$2),l=new an$2(a,c);this.componentTypes.push(n);let{hostElement:u,directives:d,bindings:p}=Kw(r),f=u||l.selector,h=l.create(o,[],f,c.injector,d,p),g=h.location.nativeElement,m=h.injector.get(ug,null);return m?.registerApplication(g),h.onDestroy(()=>{this.detachView(h.hostView),Pr(this.components,h),m?.unregisterApplication(g);}),this._loadComponent(h),P$3(A$4.BootstrapComponentEnd,h),h})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick();}_tick(){P$3(A$4.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(ts.CHANGE_DETECTION,this.tickImpl):this.tickImpl();}tickImpl=()=>{if(this._runningTick)throw P$3(A$4.ChangeDetectionEnd),new D$7(101,false);let n=E$3(null);try{this._runningTick=!0,this.synchronize();}finally{this._runningTick=false,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,E$3(n),this.afterTick.next(),P$3(A$4.ChangeDetectionEnd);}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Ur,null,{optional:true}));let n=0;for(;this.dirtyFlags!==0&&n++<Yw;){P$3(A$4.ChangeDetectionSyncStart);try{this.synchronizeOnce();}finally{P$3(A$4.ChangeDetectionSyncEnd);}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=false;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Er(o))continue;let i=r&&!this.zonelessEnabled?0:1;yh(o,i),n=true;}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})=>Er(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8;}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this);}detachView(n){let r=n;Pr(this._views,r),r.detachFromAppRef();}_loadComponent(n){this.attachView(n.hostView);try{this.tick();}catch(o){this.internalErrorHandler(o);}this.components.push(n),this._injector.get(dg,[]).forEach(o=>o(n));}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy());}finally{this._destroyed=true,this._views=[],this._destroyListeners=[];}}onDestroy(n){return this._destroyListeners.push(n),()=>Pr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new D$7(406,false);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=Kr({token:e,factory:e.\u0275fac})}return e})();function Kw(e){return e===void 0||typeof e=="string"||e instanceof Element?{hostElement:e}:e}function Pr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1);}function pg(e,t,n){let r=t[ie$2],o=t[I$2];if(e.loadingState!==de$5.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=Qn$1(t,n),s=Bw(o,e);e.loadingState=de$5.IN_PROGRESS,Ni$2(1,i);let a=e.dependencyResolverFn,c=r.get(Sr).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(l=>{let u=false,p=[],f=[];for(let h=0;h<l.length;h++){let g=l[h];if(g.status==="fulfilled"){let m=g.value,v=Pe$6(m)||Xo(m);if(v)p.push(v);else {let R=ua(m);R&&f.push(R);}}else {u=true,g.reason instanceof Error?g.reason:new Error(String(g.reason));break}}if(u){if(e.loadingState=de$5.FAILED,e.errorTmplIndex===null){let g="",m=new D$7(-750,g);El(t,m);}}else {e.loadingState=de$5.COMPLETE;let h=s.tView;if(p.length>0){h.directiveRegistry=Of(h.directiveRegistry,p);let g=p.map(v=>v.type),m=oi$1(false,...g);e.providers=m;}f.length>0&&(h.pipeRegistry=Of(h.pipeRegistry,f));}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c();})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=de$5.COMPLETE,c();}),e.loadingPromise)}function Jw(e,t,n){let r=t[I$2],o=t[n.index];if(!Qw(e,t))return;let i=Qn$1(t,n),s=Zn$1(r,n);switch(ag(i),s.loadingState){case de$5.NOT_STARTED:Ct$2($$5.Loading,n,o),pg(s,t,n),s.loadingState===de$5.IN_PROGRESS&&Lf(s,n,o);break;case de$5.IN_PROGRESS:Ct$2($$5.Loading,n,o),Lf(s,n,o);break;case de$5.COMPLETE:Ct$2($$5.Complete,n,o);break;case de$5.FAILED:Ct$2($$5.Error,n,o);break;}}function Xw(e,t,n){return Ff(t,n)}function eT(e){return e!=null&&(e&1)===1}function Ff(e,t){let n=e[ie$2],r=Zn$1(e[I$2],t),o=el(n),i=eT(r.flags),a=Qn$1(e,t)[kw]!==null;return !(i&&a&&o)}function tT(e,t,n,r,o,i,s,a,c,l){let u=y$7(),d=O$4(),p=e+k$8,f=cn$1(u,d,e,null,0,0),h=u[ie$2],g=el(h);if(d.firstCreatePass){Ne$6("NgDefer");let qe={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:de$5.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:0};jw(d,p,qe);}let m=u[p];let v=null,R=null;if(m[It$4]?.length>0){let qe=m[It$4][0].data;R=qe[Jc]??null,v=qe[Xc];}let ye=[null,qi$1.Initial,null,null,null,null,R,v,null,null];Fw(u,p,ye);let ct=null;R!==null&&g&&(ct=h.get(bp),ct.add(R,{lView:u,tNode:f,lContainer:m}));let St=()=>{ag(ye),R!==null&&ct?.cleanup([R]);};Lw(0,ye,()=>Ca(u,St)),Dr(u,St);}function nT(e){let t=y$7(),n=wt$3();if(!Xw(0,t,n))return;let r=_e$4();if(X$5(t,r,e)){let o=E$3(null);try{let i=!!e,a=Qn$1(t,n)[io$1];i===!1&&a===qi$1.Initial?Gw(t,n):i===!0&&(a===qi$1.Initial||a===$$5.Placeholder)&&Jw(0,t,n);}finally{E$3(o);}}}function hg(e,t,n,r){let o=y$7(),i=_e$4();if(X$5(o,i,t)){O$4();let a=wt$3();xE(a,o,e,t,n,r);}return hg}var jc=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 ec(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function rT(e,t,n,r){let o,i,s=0,a=e.length-1;if(Array.isArray(t)){E$3(r);let l=t.length-1;for(E$3(null);s<=a&&s<=l;){let u=e.at(s),d=t[s],p=ec(s,u,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[l],g=ec(a,f,l,h,n);if(g!==0){g<0&&e.updateValue(a,h),a--,l--;continue}let m=n(s,u),v=n(a,f),R=n(s,d);if(Object.is(R,v)){let ye=n(l,h);Object.is(ye,m)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Gi$1,i??=Vf(e,s,a,n),Vc(e,o,s,R))e.updateValue(s,d),s++,a++;else if(i.has(R))o.set(m,e.detach(s)),a--;else {let ye=e.create(s,t[s]);e.attach(s,ye),s++,a++;}}for(;s<=l;)jf(e,o,n,s,t[s]),s++;}else if(t!=null){E$3(r);let l=t[Symbol.iterator]();E$3(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),p=u.value,f=ec(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,u=l.next();else {o??=new Gi$1,i??=Vf(e,s,a,n);let h=n(s,p);if(Vc(e,o,s,h))e.updateValue(s,p),s++,a++,u=l.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,u=l.next();else {let g=n(s,d);o.set(g,e.detach(s)),a--;}}}for(;!u.done;)jf(e,o,n,e.length,u.value),u=l.next();}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l);});}function Vc(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),true):false}function jf(e,t,n,r,o){if(Vc(e,t,r,n(r,o)))e.updateValue(r,o);else {let i=e.create(r,o);e.attach(r,i);}}function Vf(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 Gi$1=class Gi{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return false;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),true}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 oT(e,t,n,r,o,i,s,a){Ne$6("NgControlFlow");let c=y$7(),l=O$4(),u=le$4(l.consts,i);return cn$1(c,l,e,t,n,r,o,u,256,s,a),Vl}function Vl(e,t,n,r,o,i,s,a){Ne$6("NgControlFlow");let c=y$7(),l=O$4(),u=le$4(l.consts,i);return cn$1(c,l,e,t,n,r,o,u,512,s,a),Vl}function iT(e,t){Ne$6("NgControlFlow");let n=y$7(),r=_e$4(),o=n[r]!==G$7?n[r]:-1,i=o!==-1?zi$1(n,k$8+o):void 0,s=0;if(X$5(n,r,e)){let a=E$3(null);try{if(i!==void 0&&Cl(i,s),e!==-1){let c=k$8+e,l=zi$1(n,c),u=Uc(n[I$2],c),d=Sh(l,u,n),p=qn$1(n,u,t,{dehydratedView:d});Gn$2(l,p,s,sn$2(u,d));}}finally{E$3(a);}}else if(i!==void 0){let a=wh(i,s);a!==void 0&&(a[B$4]=t);}}var Hc=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r;}get $count(){return this.lContainer.length-j$6}};function sT(e){return e}function aT(e,t){return t}var Bc=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r;}};function cT(e,t,n,r,o,i,s,a,c,l,u,d,p){Ne$6("NgControlFlow");let f=y$7(),h=O$4(),g=c!==void 0,m=y$7(),v=a?s.bind(m[te$4][B$4]):s,R=new Bc(g,v);m[k$8+e]=R,cn$1(f,h,e+1,t,n,r,o,le$4(h.consts,i),256),g&&cn$1(f,h,e+2,c,l,u,d,le$4(h.consts,p),512);}var $c=class extends jc{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=false;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r;}get length(){return this.lContainer.length-j$6}at(t){return this.getLView(t)[B$4].$implicit}attach(t,n){let r=n[Gt$2];this.needsIndexUpdate||=t!==this.length,Gn$2(this.lContainer,n,t,sn$2(this.templateTNode,r)),uT(this.lContainer,t);}detach(t){return this.needsIndexUpdate||=t!==this.length-1,dT(this.lContainer,t),fT(this.lContainer,t)}create(t,n){let r=ji$2(this.lContainer,this.templateTNode.tView.ssrId);return qn$1(this.hostLView,this.templateTNode,new Hc(this.lContainer,n,t),{dehydratedView:r})}destroy(t){rs(t[I$2],t);}updateValue(t,n){this.getLView(t)[B$4].$implicit=n;}reset(){this.needsIndexUpdate=false;}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[B$4].$index=t;}getLView(t){return pT(this.lContainer,t)}};function lT(e){let t=E$3(null),n=ue$6();try{let r=y$7(),o=r[I$2],i=r[n],s=n+1,a=zi$1(r,s);if(i.liveCollection===void 0){let l=Uc(o,s);i.liveCollection=new $c(a,r,l);}else i.liveCollection.reset();let c=i.liveCollection;if(rT(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let l=_e$4(),u=c.length===0;if(X$5(r,l,u)){let d=n+2,p=zi$1(r,d);if(u){let f=Uc(o,d),h=Sh(p,f,r),g=qn$1(r,f,void 0,{dehydratedView:h});Gn$2(p,g,0,sn$2(f,h));}else o.firstUpdatePass&&pD(p),Cl(p,0);}}}finally{E$3(t);}}function zi$1(e,t){return e[t]}function uT(e,t){if(e.length<=j$6)return;let n=j$6+t,r=e[n],o=r?r[Ve$6]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[ie$2];oE(i,o),jn$2.delete(r[je$6]),o.detachedLeaveAnimationFns=void 0;}}function dT(e,t){if(e.length<=j$6)return;let n=j$6+t,r=e[n],o=r?r[Ve$6]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[]);}function fT(e,t){return Br(e,t)}function pT(e,t){return wh(e,t)}function Uc(e,t){return xn$2(e,t)}function gg(e,t,n){let r=y$7(),o=_e$4();if(X$5(r,o,t)){O$4();let s=wt$3();gl(s,r,e,t,r[N$9],n);}return gg}function Wc(e,t,n,r,o){Dl(t,e,n,o?"class":"style",r);}function Qi$1(e,t,n,r){let o=y$7(),i=o[I$2],s=e+k$8,a=i.firstCreatePass?Nl(s,o,2,t,ml,ui$2(),n,r):i.data[s];if(tt$1(a)){let c=o[be$6].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(Rh(l),()=>(Hf(e,t,o,a,r),Qi$1))}}return Hf(e,t,o,a,r),Qi$1}function Hf(e,t,n,r,o){if(vl(r,n,e,t,vg),Nn$2(r)){let i=n[I$2];ss(i,n,r),tl(i,r,n);}o!=null&&ro$1(n,r);}function Hl(){let e=O$4(),t=W$5(),n=Il(t);return e.firstCreatePass&&Sl(e,n),Sa(n)&&xa(),Ma(),n.classesWithoutHost!=null&&Av(n)&&Wc(e,n,y$7(),n.classesWithoutHost,true),n.stylesWithoutHost!=null&&Rv(n)&&Wc(e,n,y$7(),n.stylesWithoutHost,false),Hl}function mg(e,t,n,r){return Qi$1(e,t,n,r),Hl(),mg}function Bl(e,t,n,r){let o=y$7(),i=o[I$2],s=e+k$8,a=i.firstCreatePass?VD(s,i,2,t,n,r):i.data[s];return vl(a,o,e,t,vg),r!=null&&ro$1(o,a),Bl}function $l(){let e=W$5(),t=Il(e);return Sa(t)&&xa(),Ma(),$l}function yg(e,t,n,r){return Bl(e,t,n,r),$l(),yg}var vg=(e,t,n,r,o)=>(kn$2(true),rl(t[N$9],r,Va()));function Ul(e,t,n){let r=y$7(),o=r[I$2],i=e+k$8,s=o.firstCreatePass?Nl(i,r,8,"ng-container",ml,ui$2(),t,n):o.data[i];if(vl(s,r,e,"ng-container",hT),Nn$2(s)){let a=r[I$2];ss(a,r,s),tl(a,s,r);}return n!=null&&ro$1(r,s),Ul}function Wl(){let e=O$4(),t=W$5(),n=Il(t);return e.firstCreatePass&&Sl(e,n),Wl}function Ig(e,t,n){return Ul(e,t,n),Wl(),Ig}var hT=(e,t,n,r,o)=>(kn$2(true),jp(t[N$9],""));function gT(){return y$7()}function Eg(e,t,n){let r=y$7(),o=_e$4();if(X$5(r,o,t)){O$4();let s=wt$3();dh(s,r,e,t,r[N$9],n);}return Eg}var xr=void 0;function mT(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var yT=["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"]],xr,[["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"]],xr,[["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}",xr,xr,xr],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",mT],Lr=Object.create(null);function vT(e,t,n){typeof t!="string"&&(n=t,t=e[zr.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Lr[t]=e,n&&(Lr[t][zr.ExtraData]=n);}function ql(e){let t=ET(e),n=Bf(t);if(n)return n;let r=t.split("-")[0];if(n=Bf(r),n)return n;if(r==="en")return yT;throw new D$7(701,false)}function Dg(e){return ql(e)[zr.PluralCase]}function Bf(e){if(!(e in Lr)){let t=Le$6.ng&&Le$6.ng.common&&Le$6.ng.common.locales&&Le$6.ng.common.locales[e];return t!==void 0&&(Lr[e]=t),t}return Lr[e]}var zr={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,Currencies:18,PluralCase:20,ExtraData:21};function ET(e){return e.toLowerCase().replace(/_/g,"-")}var DT=["zero","one","two","few","many"];function wT(e,t){let n=Dg(t)(parseInt(e,10)),r=DT[n];return r!==void 0?r:"other"}var so$1="en-US",TT="USD",wg={marker:"element"},Tg={marker:"ICU"},ot$2=(function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e})(ot$2||{}),Cg=so$1;function bg(e){typeof e=="string"&&(Cg=e.toLowerCase().replace(/_/g,"-"));}function CT(){return Cg}var Qr=0,Fr=0;function bT(e){e&&(Qr=Qr|1<<Math.min(Fr,31)),Fr++;}function _T(e,t,n){try{if(Fr>0){let r=e.data[n],o=Array.isArray(r)?r:r.update,i=di$2()-Fr-1;Mg(e,t,o,i,Qr);}}finally{Qr=0,Fr=0;}}function MT(e,t,n){let r=e[N$9];switch(n){case Node.COMMENT_NODE:return jp(r,t);case Node.TEXT_NODE:return Lp(r,t);case Node.ELEMENT_NODE:return rl(r,t,null)}}var Si$2=(e,t,n,r)=>(kn$2(true),MT(e,n,r));function NT(e,t,n,r){let o=e[N$9];for(let i=0;i<t.length;i++){let s=t[i++],a=t[i],c=(s&ot$2.COMMENT)===ot$2.COMMENT,l=(s&ot$2.APPEND_EAGERLY)===ot$2.APPEND_EAGERLY,u=s>>>ot$2.SHIFT,d=e[u],p=false;d===null&&(d=e[u]=Si$2(e,u,a,c?Node.COMMENT_NODE:Node.TEXT_NODE),p=Cr()),l&&n!==null&&p&&rn$1(o,n,d,r,false);}}function _g(e,t,n,r){let o=n[N$9],i=null,s;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="string"){let l=t[++a];n[l]===null&&(n[l]=Si$2(n,l,c,Node.TEXT_NODE));}else if(typeof c=="number")switch(c&1){case 0:let l=oD(c);i===null&&(i=l,s=o.parentNode(r));let u,d;if(l===i?(u=r,d=s):(u=null,d=ae$5(n[l])),d!==null){let g=iD(c),m=n[g];rn$1(o,d,m,u,false);let v=Or$1(e,g);if(v!==null&&typeof v=="object"){let R=cs(v,n);R!==null&&_g(e,v.create[R],n,n[v.anchorIdx]);}}break;case 1:let p=c>>>1,f=t[++a],h=t[++a];yl(o,vr(p,n),null,null,f,h,null);break;}else switch(c){case Tg:let l=t[++a],u=t[++a];if(n[u]===null){let f=n[u]=Si$2(n,u,l,Node.COMMENT_NODE);_t$3(f,n);}break;case wg:let d=t[++a],p=t[++a];if(n[p]===null){let f=n[p]=Si$2(n,p,d,Node.ELEMENT_NODE);_t$3(f,n);}break;}}}function Mg(e,t,n,r,o){for(let i=0;i<n.length;i++){let s=n[i],a=n[++i];if(s&o){let c="";for(let l=i+1;l<=i+a;l++){let u=n[l];if(typeof u=="string")c+=u;else if(typeof u=="number")if(u<0)c+=he$4(t[r-u]);else {let d=u>>>2;switch(u&3){case 1:let p=n[++l],f=n[++l],h=e.data[d];if(typeof h=="string")yl(t[N$9],t[d],null,h,p,c,f);else {let m=ue$6();$e$6(d);try{gl(h,t,p,c,t[N$9],f);}finally{$e$6(m);}}break;case 0:let g=t[d];g!==null&&Fp(t[N$9],g,c);break;case 2:ST(e,Or$1(e,d),t,c);break;case 3:$f(e,Or$1(e,d),r,t);break}}}}else {let c=n[i+1];if(c>0&&(c&3)===3){let l=c>>>2,u=Or$1(e,l);t[u.currentCaseLViewIndex]<0&&$f(e,u,r,t);}}i+=a;}}function $f(e,t,n,r){let o=r[t.currentCaseLViewIndex];if(o!==null){let i=Qr;o<0&&(o=r[t.currentCaseLViewIndex]=~o,i=-1),Mg(e,r,t.update[o],n,i);}}function ST(e,t,n,r){let o=xT(t,r);if(cs(t,n)!==o&&(Ng(e,t,n),n[t.currentCaseLViewIndex]=o===null?null:~o,o!==null)){let s=n[t.anchorIdx];s&&_g(e,t.create[o],n,s),fD(n,t.anchorIdx);}}function Ng(e,t,n){let r=cs(t,n);if(r!==null){let o=t.remove[r];for(let i=0;i<o.length;i++){let s=o[i];if(s>0){let a=vr(s,n);a!==null&&es(n[N$9],a);}else Ng(e,Or$1(e,~s),n);}}}function xT(e,t){let n=e.cases.indexOf(t);if(n===-1)switch(e.type){case 1:{let r=wT(t,CT());n=e.cases.indexOf(r),n===-1&&r!=="other"&&(n=e.cases.indexOf("other"));break}case 0:{n=e.cases.indexOf("other");break}}return n===-1?null:n}var Zi$1=/�(\d+):?\d*�/gi;var AT=/�(\d+)�/,Sg=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,jr="\uFFFD",RT=/�\/?\*(\d+:\d+)�/gi,kT=/�(\/?[#*]\d+):?\d*�/gi,OT=/\uE500/g;function PT(e){return e.replace(OT," ")}function LT(e,t,n,r,o,i){let s=Rn$2(),a=[],c=[],l=[[]],u=[[]];o=jT(o,i);let d=PT(o).split(kT);for(let p=0;p<d.length;p++){let f=d[p];if((p&1)===0){let h=Gc(f);for(let g=0;g<h.length;g++){let m=h[g];if((g&1)===0){let v=m;v!==""&&FT(u[0],e,s,l[0],a,c,n,v);}else {let v=m;if(typeof v!="object")throw new Error(`Unable to parse ICU expression in "${o}" message.`);let ye=xg(e,s,l[0],n,a,"",true).index;Rg(u[0],e,n,c,t,v,ye);}}}else {let h=f.charCodeAt(0)===47,g=f.charCodeAt(h?1:0),m=k$8+Number.parseInt(f.substring(h?2:1));if(h)l.shift(),u.shift(),Be$6(Rn$2(),false);else {let v=rD(e,l[0],m);l.unshift([]),Be$6(v,true);let R={kind:2,index:m,children:[],type:g===35?0:1};u[0].push(R),u.unshift(R.children);}}}e.data[r]={create:a,update:c,ast:u[0],parentTNodeIndex:t};}function xg(e,t,n,r,o,i,s){let a=no$1(e,r,1,null),c=a<<ot$2.SHIFT,l=Rn$2();t===l&&(l=null),l===null&&(c|=ot$2.APPEND_EAGERLY),s&&(c|=ot$2.COMMENT,KI(cD)),o.push(c,i===null?"":i);let u=bl(e,a,s?32:1,i===null?"":i,null);_h(n,u);let d=u.index;return Be$6(u,false),l!==null&&t!==l&&nD(l,d),u}function FT(e,t,n,r,o,i,s,a){let c=a.match(Zi$1),u=xg(t,n,r,s,o,c?null:a,false).index;c&&qc(i,a,u,null,0,null),e.push({kind:0,index:u});}function qc(e,t,n,r,o,i){let s=e.length,a=s+1;e.push(null,null);let c=s+2,l=t.split(Zi$1),u=0;for(let d=0;d<l.length;d++){let p=l[d];if(d&1){let f=o+parseInt(p,10);e.push(-1-f),u=u|Ag(f);}else p!==""&&e.push(p);}return e.push(n<<2|(r?1:0)),r&&e.push(r,i),e[s]=u,e[a]=e.length-c,u}function Ag(e){return 1<<Math.min(e,31)}function Uf(e){let t,n="",r=0,o=false,i;for(;(t=RT.exec(e))!==null;)o?t[0]===`${jr}/*${i}${jr}`&&(r=t.index,o=false):(n+=e.substring(r,t.index+t[0].length),i=t[1],o=true);return n+=e.slice(r),n}function jT(e,t){if(aD(t))return Uf(e);{let n=e.indexOf(`:${t}${jr}`)+2+t.toString().length,r=e.search(new RegExp(`${jr}\\/\\*\\d+:${t}${jr}`));return Uf(e.substring(n,r))}}function Rg(e,t,n,r,o,i,s){let a=0,c={type:i.type,currentCaseLViewIndex:no$1(t,n,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};$T(r,i,s),tD(t,s,c);let l=i.values,u=[];for(let d=0;d<l.length;d++){let p=l[d],f=[];for(let g=0;g<p.length;g++){let m=p[g];if(typeof m!="string"){let v=f.push(m)-1;p[g]=`<!--\uFFFD${v}\uFFFD-->`;}}let h=[];u.push(h),a=HT(h,t,c,n,r,o,i.cases[d],p.join(""),f)|a;}a&&UT(r,a,s),e.push({kind:3,index:s,cases:u,currentCaseLViewIndex:c.currentCaseLViewIndex});}function VT(e){let t=[],n=[],r=1,o=0;e=e.replace(Sg,function(s,a,c){return c==="select"?r=0:r=1,o=parseInt(a.slice(1),10),""});let i=Gc(e);for(let s=0;s<i.length;){let a=i[s++].trim();r===1&&(a=a.replace(/\s*(?:=)?(\w+)\s*/,"$1")),a.length&&t.push(a);let c=Gc(i[s++]);t.length>n.length&&n.push(c);}return {type:r,mainBinding:o,cases:t,values:n}}function Gc(e){if(!e)return [];let t=0,n=[],r=[],o=/[{}]/g;o.lastIndex=0;let i;for(;i=o.exec(e);){let a=i.index;if(i[0]=="}"){if(n.pop(),n.length==0){let c=e.substring(t,a);Sg.test(c)?r.push(VT(c)):r.push(c),t=a+1;}}else {if(n.length==0){let c=e.substring(t,a);r.push(c),t=a+1;}n.push("{");}}let s=e.substring(t);return r.push(s),r}function HT(e,t,n,r,o,i,s,a,c){let l=[],u=[],d=[];n.cases.push(s),n.create.push(l),n.remove.push(u),n.update.push(d);let f=Sp(Ki$1()).getInertBodyElement(a),h=Tc(f)||f;return h?kg(e,t,n,r,o,l,u,d,h,i,c,0):0}function kg(e,t,n,r,o,i,s,a,c,l,u,d){let p=0,f=c.firstChild;for(;f;){let h=no$1(t,r,1,null);switch(f.nodeType){case Node.ELEMENT_NODE:let g=f,m=g.tagName.toLowerCase();if(Ec.hasOwnProperty(m)){tc(i,wg,m,l,h),t.data[h]=m;let ct=g.attributes;for(let qe=0;qe<ct.length;qe++){let xt=ct.item(qe),lo=xt.name.toLowerCase(),km=!!xt.value.match(Zi$1),du=g.namespaceURI,fu=du==="http://www.w3.org/2000/svg"?`:svg:${m}`:du==="http://www.w3.org/1998/Math/MathML"?`:math:${m}`:m;if(km)Dc.hasOwnProperty(lo)&&qc(a,xt.value,h,xt.name,0,Gf(lo,fu));else if(Dc[lo]){let Om=xt.value;Gf(lo,fu)?qf(i,h,xt.name,"unsafe:blocked"):qf(i,h,xt.name,Om);}}let St={kind:1,index:h,children:[]};e.push(St),p=kg(St.children,t,n,r,o,i,s,a,f,h,u,d+1)|p,Wf(s,h,d);}break;case Node.TEXT_NODE:let v=f.textContent||"",R=v.match(Zi$1);tc(i,null,R?"":v,l,h),Wf(s,h,d),R&&(p=qc(a,v,h,null,0,null)|p),e.push({kind:0,index:h});break;case Node.COMMENT_NODE:let ye=AT.exec(f.textContent||"");if(ye){let ct=parseInt(ye[1],10),St=u[ct];tc(i,Tg,"",l,h),Rg(e,t,r,o,l,St,h),BT(s,h,d);}break}f=f.nextSibling;}return p}function Wf(e,t,n){n===0&&e.push(t);}function BT(e,t,n){n===0&&(e.push(~t),e.push(t));}function $T(e,t,n){e.push(Ag(t.mainBinding),2,-1-t.mainBinding,n<<2|2);}function UT(e,t,n){e.push(t,1,n<<2|3);}function tc(e,t,n,r,o){t!==null&&e.push(t),e.push(n,o,sD(0,r,o));}function qf(e,t,n,r){e.push(t<<1|1,n,r);}function WT(e,t=true){if(e[0]!=":")return [null,e];let n=e.indexOf(":",1);if(n===-1){if(t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return [null,e]}return [e.slice(1,n),e.slice(n+1)]}function Gf(e,t){let n;if(t){let[r,o]=WT(t,false);n=yf(o,e,r);}else n=yf("*",e);switch(n){case V$9.HTML:return $p;case V$9.STYLE:return Up;case V$9.SCRIPT:return qp;case V$9.URL:return Xi$1;case V$9.RESOURCE_URL:return ol;case V$9.ATTRIBUTE_NO_BINDING:return Gp;default:return null}}var zf=0,qT=/\[(�.+?�?)\]/,GT=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,zT=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,QT=/{([A-Z0-9_]+)}/g,ZT=/�I18N_EXP_(ICU(_\d+)?)�/g,YT=/\/\*/,KT=/\d+\:(\d+)/;function JT(e,t={}){let n=e;if(qT.test(e)){let r={},o=[zf];n=n.replace(GT,(i,s,a)=>{let c=s||a,l=r[c]||[];if(l.length||(c.split("|").forEach(g=>{let m=g.match(KT),v=m?parseInt(m[1],10):zf,R=YT.test(g);l.push([v,R,g]);}),r[c]=l),!l.length)throw new Error(`i18n postprocess: unmatched placeholder - ${c}`);let u=o[o.length-1],d=0;for(let g=0;g<l.length;g++)if(l[g][0]===u){d=g;break}let[p,f,h]=l[d];return f?o.pop():u!==p&&o.push(p),l.splice(d,1),h});}return Object.keys(t).length&&(n=n.replace(zT,(r,o,i,s,a,c)=>t.hasOwnProperty(i)?`${o}${t[i]}${c}`:r),n=n.replace(QT,(r,o)=>t.hasOwnProperty(o)?t[o]:r),n=n.replace(ZT,(r,o)=>{if(t.hasOwnProperty(o)){let i=t[o];if(!i.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${o}`);return i.shift()}return r})),n}function Og(e,t,n=-1){let r=O$4(),o=y$7(),i=k$8+e,s=le$4(r.consts,t),a=Rn$2();if(r.firstCreatePass&&LT(r,a===null?0:a.index,o,i,s,n),r.type===2){let p=o[te$4];p[w$6]|=32;}else o[w$6]|=32;let c=r.data[i],l=a===o[J$6]?null:a,u=th(r,l,o),d=a&&a.type&8?o[a.index]:null;NT(o,c.create,u,d),La(true);}function Pg(){La(false);}function XT(e,t,n){Og(e,t,n),Pg();}function Lg(e){let t=y$7();return bT(X$5(t,_e$4(),e)),Lg}function eC(e){_T(O$4(),y$7(),e+k$8);}function tC(e,t={}){return JT(e,t)}function Fg(e,t,n){let r=y$7(),o=O$4(),i=W$5();return Vg(o,r,r[N$9],i,e,t,n),Fg}function jg(e,t,n){let r=y$7(),o=O$4(),i=W$5();return (i.type&3||n)&&Ml(i,o,r,n,r[N$9],e,t,en$2(i,r,t)),jg}function Vg(e,t,n,r,o,i,s){let a=true,c=null;if((r.type&3||s)&&(c??=en$2(r,t,i),Ml(r,e,t,s,n,o,i,c)&&(a=false)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],f=u[d+1];c??=en$2(r,t,i),Vi$1(r,t,p,f,o,c);}if(l&&l.length)for(let d of l)c??=en$2(r,t,i),Vi$1(r,t,d,o,o,c);}}function nC(e=1){return Vd(e)}function rC(e,t){let n=null,r=WI(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Qp(e,i,true):zI(r,i))return o}return n}function oC(e){let t=y$7()[te$4][J$6];if(!t.projection){let n=e?e.length:1,r=t.projection=hd(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?rC(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i);}i=i.next;}}}function iC(e,t=0,n,r,o,i){let s=y$7(),a=O$4(),c=r?e+1:null;c!==null&&cn$1(s,a,c,r,o,i,null,n);let l=un$1(a,k$8+e,16,null,n||null);l.projection===null&&(l.projection=t),ka();let d=!s[Gt$2]||Na();s[te$4][J$6].projection[l.projection]===null&&c!==null?sC(s,a,c):d&&!Ji$1(l)&&gE(a,s,l);}function sC(e,t,n){let r=k$8+n,o=t.data[r],i=e[r],s=ji$2(i,o.tView.ssrId),a=qn$1(e,o,void 0,{dehydratedView:s});Gn$2(i,a,0,sn$2(o,s));}function Hg(e,t,n,r){return zh(e,t,n,r),Hg}function aC(e){let t=y$7(),n=O$4(),r=pi$2();Tr$1(r+1);let o=Al(n,r);if(e.dirty&&Td(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else {let i=Zh(t,r);e.reset(i,gp),e.notifyOnChanges();}return true}return false}function cC(){return xl(y$7(),pi$2())}function Bg(e,t,n,r,o){return Kh(t,zh(e,n,r,o)),Bg}function $g(e,t,n,r){return Kh(e,iw(t,n,r)),$g}function lC(e=1){Tr$1(pi$2()+e);}function uC(e){let t=Oa();return An$1(t,k$8+e)}function Ti$1(e,t){return e<<17|t<<2}function ln$1(e){return e>>17&32767}function dC(e){return (e&2)==2}function fC(e,t){return e&131071|t<<17}function zc(e){return e|2}function Hn$2(e){return (e&131068)>>2}function nc(e,t){return e&-131069|t<<2}function pC(e){return (e&1)===1}function Qc(e){return e|1}function hC(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=ln$1(s),c=Hn$2(s);e[r]=n;let l=false,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Cn$1(d,u)>0)&&(l=true);}else u=n;if(o)if(c!==0){let p=ln$1(e[a+1]);e[r+1]=Ti$1(p,a),p!==0&&(e[p+1]=nc(e[p+1],r)),e[a+1]=fC(e[a+1],r);}else e[r+1]=Ti$1(a,0),a!==0&&(e[a+1]=nc(e[a+1],r)),a=r;else e[r+1]=Ti$1(c,0),a===0?a=r:e[c+1]=nc(e[c+1],r),c=r;l&&(e[r+1]=zc(e[r+1])),Qf(e,u,r,true),Qf(e,u,r,false),gC(t,u,e,r,i),s=Ti$1(a,c),i?t.classBindings=s:t.styleBindings=s;}function gC(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Cn$1(i,t)>=0&&(n[r+1]=Qc(n[r+1]));}function Qf(e,t,n,r){let o=e[n+1],i=t===null,s=r?ln$1(o):Hn$2(o),a=false;for(;s!==0&&(a===false||i);){let c=e[s],l=e[s+1];mC(c,t)&&(a=true,e[s+1]=r?Qc(l):zc(l)),s=r?ln$1(l):Hn$2(l);}a&&(e[n+1]=r?zc(o):Qc(o));}function mC(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?true:Array.isArray(e)&&typeof t=="string"?Cn$1(e,t)>=0:false}var q$7={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ug(e){return e.substring(q$7.key,q$7.keyEnd)}function yC(e){return e.substring(q$7.value,q$7.valueEnd)}function vC(e){return Gg(e),Wg(e,Bn$2(e,0,q$7.textEnd))}function Wg(e,t){let n=q$7.textEnd;return n===t?-1:(t=q$7.keyEnd=EC(e,q$7.key=t,n),Bn$2(e,t,n))}function IC(e){return Gg(e),qg(e,Bn$2(e,0,q$7.textEnd))}function qg(e,t){let n=q$7.textEnd,r=q$7.key=Bn$2(e,t,n);return n===r?-1:(r=q$7.keyEnd=DC(e,r,n),r=Zf(e,r,n),r=q$7.value=Bn$2(e,r,n),r=q$7.valueEnd=wC(e,r,n),Zf(e,r,n))}function Gg(e){q$7.key=0,q$7.keyEnd=0,q$7.value=0,q$7.valueEnd=0,q$7.textEnd=e.length;}function Bn$2(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function EC(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function DC(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Zf(e,t,n,r){return t=Bn$2(e,t,n),t<n&&t++,t}function wC(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=Yf(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Yf(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33;}return a}function Yf(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s;}throw new Error}function zg(e,t,n){return Zg(e,t,n,false),zg}function Qg(e,t){return Zg(e,t,null,true),Qg}function TC(e){Yg(Xg,CC,e,false);}function CC(e,t){for(let n=IC(t);n>=0;n=qg(t,n))Xg(e,Ug(t),yC(t));}function bC(e){Yg(RC,_C,e,true);}function _C(e,t){for(let n=vC(t);n>=0;n=Wg(t,n))hr$1(e,Ug(t),true);}function Zg(e,t,n,r){let o=y$7(),i=O$4(),s=wr(2);if(i.firstUpdatePass&&Jg(i,e,s,r),t!==G$7&&X$5(o,s,t)){let a=i.data[ue$6()];em(i,a,o,o[N$9],e,o[s+1]=OC(t,n),r,s);}}function Yg(e,t,n,r){let o=O$4(),i=wr(2);o.firstUpdatePass&&Jg(o,null,i,r);let s=y$7();if(n!==G$7&&X$5(s,i,n)){let a=o.data[ue$6()];if(tm(a,r)&&!Kg(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Yo(c,n||"")),Wc(o,a,s,n,r);}else kC(o,a,s,s[N$9],s[i+1],s[i+1]=AC(e,t,n),r,i);}}function Kg(e,t){return t>=e.expandoStartIndex}function Jg(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ue$6()],s=Kg(e,n);tm(i,r)&&t===null&&!s&&(t=false),t=MC(o,i,t,r),hC(o,i,t,n,s,r);}}function MC(e,t,n,r){let o=Pd(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=rc(null,e,t,n,r),n=Zr$1(n,t.attrs,r),i=null);else {let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=rc(o,e,t,n,r),i===null){let c=NC(e,t,r);c!==void 0&&Array.isArray(c)&&(c=rc(null,e,t,c[1],r),c=Zr$1(c,t.attrs,r),SC(e,t,r,c));}else i=xC(e,t,r);}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function NC(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Hn$2(r)!==0)return e[ln$1(r)]}function SC(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[ln$1(o)]=r;}function xC(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Zr$1(r,s,n);}return Zr$1(r,t.attrs,n)}function rc(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=Zr$1(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Zr$1(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]),hr$1(e,s,n?true:t[++i]));}return e===void 0?null:e}function AC(e,t,n){if(n==null||n==="")return K$3;let r=[],o=st$2(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],true);else if(o instanceof Set)for(let i of o)e(r,i,true);else if(typeof o=="object")for(let i in o)Object.hasOwn(o,i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function Xg(e,t,n){hr$1(e,t,st$2(n));}function RC(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&hr$1(e,r,n);}function kC(e,t,n,r,o,i,s,a){o===G$7&&(o=K$3);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,g;u===d?(c+=2,l+=2,p!==f&&(h=d,g=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,g=f),h!==null&&em(e,t,n,r,h,g,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null;}}function em(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=pC(l)?Kf(c,t,n,o,Hn$2(l),s):void 0;if(!Yi$1(u)){Yi$1(i)||dC(l)&&(i=Kf(c,null,n,o,a,s));let d=vr(ue$6(),n);yE(r,s,d,o,i);}}function Kf(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===G$7&&(p=d?K$3:void 0);let f=d?ri$1(p,r):u===r?p:void 0;if(l&&!Yi$1(f)&&(f=ri$1(c,r)),Yi$1(f)&&(a=f,s))return a;let h=e[o+1];o=s?ln$1(h):Hn$2(h);}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=ri$1(c,r));}return a}function Yi$1(e){return e!==void 0}function OC(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=dr$1(st$2(e)))),e}function tm(e,t){return (e.flags&(t?8:16))!==0}function PC(e,t=""){let n=y$7(),r=O$4(),o=e+k$8,i=r.firstCreatePass?un$1(r,o,1,t,null):r.data[o],s=LC(r,n,i,t);n[o]=s,Cr()&&ul(r,n,s,i),Be$6(i,false);}var LC=(e,t,n,r)=>(kn$2(true),Lp(t[N$9],r));function FC(e,t,n,r=""){return X$5(e,_e$4(),n)?t+he$4(n)+r:G$7}function jC(e,t,n,r,o,i=""){let s=di$2(),a=Wr(e,s,n,o);return wr(2),a?t+he$4(n)+r+he$4(o)+i:G$7}function VC(e,t,n,r,o,i,s,a=""){let c=di$2(),l=Ph(e,c,n,o,s);return wr(3),l?t+he$4(n)+r+he$4(o)+i+he$4(s)+a:G$7}function nm(e){return Gl("",e),nm}function Gl(e,t,n){let r=y$7(),o=FC(r,e,t,n);return o!==G$7&&zl(r,ue$6(),o),Gl}function rm(e,t,n,r,o){let i=y$7(),s=jC(i,e,t,n,r,o);return s!==G$7&&zl(i,ue$6(),s),rm}function om(e,t,n,r,o,i,s){let a=y$7(),c=VC(a,e,t,n,r,o,i,s);return c!==G$7&&zl(a,ue$6(),c),om}function zl(e,t,n){let r=vr(t,e);Fp(e[N$9],r,n);}function im(e,t,n){vi$1(t)&&(t=t());let r=y$7(),o=_e$4();if(X$5(r,o,t)){O$4();let s=wt$3();gl(s,r,e,t,r[N$9],n);}return im}function HC(e,t){let n=vi$1(e);return n&&e.set(t),n}function sm(e,t){let n=y$7(),r=O$4(),o=W$5();return Vg(r,n,n[N$9],o,e,t),sm}var am={};function cm(e){Ne$6("NgLet");let t=O$4(),n=y$7(),r=e+k$8,o=un$1(t,r,128,null,null);return Be$6(o,false),Ir(t,n,r,am),cm}function BC(e){let t=O$4(),n=y$7(),r=ue$6();return Ir(t,n,r,e),e}function $C(e){let t=Oa(),n=An$1(t,k$8+e);if(n===am)throw new D$7(314,false);return n}function UC(e){return X$5(y$7(),_e$4(),e)?he$4(e):G$7}function Jf(e,t,n){let r=O$4();r.firstCreatePass&&lm(t,r.data,r.blueprint,He$6(e),n);}function lm(e,t,n,r,o){if(e=Y$3(e),Array.isArray(e))for(let i=0;i<e.length;i++)lm(e[i],t,n,r,o);else {let i=O$4(),s=y$7(),a=W$5(),c=Ut$2(e)?e:Y$3(e.provide),l=va(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Ut$2(e)||!e.multi){let f=new tn$2(l,o,oo$1,null),h=ic(c,t,u+p,d);h===-1?(cc(Oi$1(a,s),i,c),oc(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,n.push(f),s.push(f)):(n[h]=f,s[h]=f);}else {let f=ic(c,t,u+p,d),h=ic(c,t,u,u+p),g=f>=0&&n[f],m=h>=0&&n[h];if(!g){cc(Oi$1(a,s),i,c);let v=GC(WC,n.length,o,r,l);m&&(n[h].providerFactory=v),oc(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,n.push(v),s.push(v);}else {let v=um(n[f],l,r);oc(i,e,f>-1?f:h,v);}r&&m&&n[h].componentProviders++;}}}function oc(e,t,n,r){let o=Ut$2(t),i=Id(t);if(o||i){let c=(i?Y$3(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c);}else l.push(n,c);}}}function um(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ic(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return -1}function WC(e,t,n,r,o){return Zc(this.multi,[])}function Zc(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r());}return t}function GC(e,t,n,r,o,i){let s=new tn$2(e,n,oo$1,null);return s.multi=[],s.index=t,s.componentProviders=0,um(s,o,r&&!n),s}function zC(e,t){return n=>{n.providersResolver=(r,o)=>Jf(r,o?o(e):e,false);}}function QC(e,t){let n=nt$1()+e,r=y$7();return r[n]===G$7?zn$2(r,n,t()):Oh(r,n)}function ZC(e,t,n){return dm(y$7(),nt$1(),e,t,n)}function YC(e,t,n,r){return fm(y$7(),nt$1(),e,t,n,r)}function KC(e,t,n,r,o,i,s){return eb(y$7(),nt$1(),e,t,n,r,o,i)}function JC(e,t,n,r,o,i,s){let a=nt$1()+e,c=y$7(),l=Lh(c,a,n,r,o,i);return X$5(c,a+4,s)||l?zn$2(c,a+5,t(n,r,o,i,s)):Oh(c,a+5)}function ps(e,t){let n=e[t];return n===G$7?void 0:n}function dm(e,t,n,r,o,i){let s=t+n;return X$5(e,s,o)?zn$2(e,s+1,i?r.call(i,o):r(o)):ps(e,s+1)}function fm(e,t,n,r,o,i,s){let a=t+n;return Wr(e,a,o,i)?zn$2(e,a+2,s?r.call(s,o,i):r(o,i)):ps(e,a+2)}function XC(e,t,n,r,o,i,s,a){let c=t+n;return Ph(e,c,o,i,s)?zn$2(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):ps(e,c+3)}function eb(e,t,n,r,o,i,s,a,c){let l=t+n;return Lh(e,l,o,i,s,a)?zn$2(e,l+4,r(o,i,s,a)):ps(e,l+4)}function tb(e,t){let n=O$4(),r,o=e+k$8;n.firstCreatePass?(r=nb(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=ht$2(r.type)),a=oe$4(oo$1);try{let c=ki$2(!1),l=i();return ki$2(c),Ir(n,y$7(),o,l),l}finally{oe$4(a);}}function nb(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function rb(e,t,n){let r=e+k$8,o=y$7(),i=An$1(o,r);return Ql(o,r)?dm(o,nt$1(),t,i.transform,n,i):i.transform(n)}function ob(e,t,n,r){let o=e+k$8,i=y$7(),s=An$1(i,o);return Ql(i,o)?fm(i,nt$1(),t,s.transform,n,r,s):s.transform(n,r)}function ib(e,t,n,r,o){let i=e+k$8,s=y$7(),a=An$1(s,i);return Ql(s,i)?XC(s,nt$1(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function Ql(e,t){return e[I$2].data[t].pure}function sb(e,t){return as(e,t)}var pm=(()=>{class e{applicationErrorHandler=T$6(Jt$3);appRef=T$6(fs);taskService=T$6(Kt$2);ngZone=T$6(Oe$5);zonelessEnabled=T$6(Mr);tracing=T$6(Wn$1,{optional:true});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:true}}];subscriptions=new Z$3;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(cr$1):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(T$6(qa,{optional:true})??false);cancelScheduledCallback=null;useMicrotaskScheduler=false;runningTick=false;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=true,queueMicrotask(()=>{this.useMicrotaskScheduler=false,this.taskService.remove(n);});});}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:case 2:{this.appRef.dirtyFlags|=2;break}case 3: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?Gd:Ba;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(cr$1+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=false,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=Kr({token:e,factory:e.\u0275fac})}return e})();function ab(){return Ne$6("NgZoneless"),ga([...Zl(),[]])}function Zl(){return [{provide:Xe$3,useExisting:pm},{provide:Oe$5,useClass:lr$1},{provide:Mr,useValue:true}]}var cb=(()=>{class e{compileModuleSync(n){return new Wi$1(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Kr({token:e,factory:e.\u0275fac})}return e})();function lb(){return typeof $localize<"u"&&$localize.locale||so$1}var Yl=new x$6("",{factory:()=>T$6(Yl,{optional:true,skipSelf:true})||lb()}),ub=new x$6("",{factory:()=>TT});var ao$1=class ao{destroyed=false;listeners=null;errorHandler=T$6(Je$4,{optional:true});isEmitting=false;hasNullListeners=false;destroyRef=T$6(rt$1);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=true,this.listeners=null;});}subscribe(t){if(this.destroyed)throw new D$7(953,false);return (this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?this.listeners.indexOf(t):-1;n>-1&&(this.isEmitting?(this.hasNullListeners=true,this.listeners[n]=null):this.listeners.splice(n,1));}}}emit(t){if(this.destroyed){console.warn(ur$1(953,false));return}if(this.listeners===null)return;this.isEmitting=true;let n=E$3(null);try{for(let r of this.listeners)try{r!==null&&r(t);}catch(o){this.errorHandler?.handleError(o);}}finally{this.hasNullListeners&&(this.hasNullListeners=false,this.listeners&&db(this.listeners)),E$3(n),this.isEmitting=false;}}};function db(e){let t=e.length-1;for(;t>-1;)e[t]===null&&e.splice(t,1),t--;}var mm=new x$6("");function Nt$3(e,t){return Jn$1(e,t?.equal)}function me$5(e){return xs(e)}var hs=class extends Error{dependency;constructor(t){super("Dependency error",{cause:t.error()}),this.name="ResourceDependencyError",this.dependency=t;}},dn$2=class e extends Error{_brand;constructor(t){super(t);}static IDLE=new e("IDLE");static LOADING=new e("LOADING")},fb=e=>e;function Kl(e,t){if(typeof e=="function"){let n=go$1(e,fb,t?.equal);return hm(n)}else {let n=go$1(e.source,e.computation,e.equal);return hm(n,e.debugName)}}function hm(e,t){let n=e[H$6],r=e;return r.set=o=>Ns(n,o),r.update=o=>Ss(n,o),r.asReadonly=On$2.bind(e),r}function pb(e){let t=e.request,n=e.params??t??(()=>null);return new gs(n,gb(e),e.defaultValue,e.equal?hb(e.equal):void 0,e.debugName,e.injector??T$6(Te$4),e.id)}var Jl=class{value;isLoading;constructor(t,n){this.value=t,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=On$2,this.isLoading=Nt$3(()=>this.status()==="loading"||this.status()==="reloading",void 0);}isError=Nt$3(()=>this.status()==="error");update(t){this.set(t(me$5(this.value)));}isValueDefined=Nt$3(()=>this.isError()?false:this.value()!==void 0);_snapshot;get snapshot(){return this._snapshot??=Nt$3(()=>{let t=this.status();return t==="error"?{status:"error",error:this.error()}:{status:t,value:this.value()}})}hasValue(){return this.isValueDefined()}asReadonly(){return this}},gs=class extends Jl{loaderFn;equal;debugName;transferCacheKey;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=false;unregisterOnDestroy;status;error;transferState;constructor(t,n,r,o,i,s,a,c){if(Im())throw Em();super(Nt$3(()=>{let u=this.state().stream?.();if(!u||this.state().status==="loading"&&this.error())return r;if(!Xl(u))throw new ys(this.error());return u.value},{equal:o}),i),this.loaderFn=n,this.equal=o,this.debugName=i,this.transferCacheKey=a;let l=s.get(mm,void 0,{optional:true})??{isActive:false};this.transferState=s.get(mi$1,void 0,{optional:true})??void 0,this.extRequest=Kl(()=>{try{return tu(!0),{request:t(vb),reload:0}}catch(u){return nu(u),u===dn$2.IDLE?{status:"idle",reload:0}:u===dn$2.LOADING?{status:"loading",reload:0}:{error:u,reload:0}}finally{tu(false);}},void 0),this.state=Kl({source:this.extRequest,computation:(u,d)=>{let{request:p,status:f,error:h}=u,g;if(h)f="resolved",g=Ue$7({error:ms(h)},void 0);else if(!f)if(d)f=p===void 0?"idle":"loading",d.value.extRequest.request===p&&(g=d.value.stream);else {let m=this.transferState,v=this.transferCacheKey;l.isActive&&v&&m&&p!==void 0&&m.hasKey(v)&&(g=Ue$7({value:m.get(v,r)},void 0)),g||(g=c?.(u.request)),c=void 0,f=p===void 0?"idle":g?"resolved":"loading";}return {extRequest:u,status:f,previousStatus:d?gm(d.value):"idle",stream:g}}}),this.effectRef=Ga(this.loadEffect.bind(this),{injector:s,manualCleanup:true}),this.pendingTasks=s.get(Sr),this.unregisterOnDestroy=s.get(rt$1).onDestroy(()=>this.destroy()),this.status=Nt$3(()=>gm(this.state()),void 0),this.error=Nt$3(()=>{let u=this.state().stream?.();return u&&!Xl(u)?u.error:void 0},void 0);}set(t){if(this.destroyed)return;let n=me$5(this.error),r=me$5(this.state);if(!n){let o=me$5(this.value);if(r.status==="local"&&(this.equal?this.equal(o,t):o===t))return}this.state.set({extRequest:r.extRequest,status:"local",previousStatus:"local",stream:Ue$7({value:t},void 0)}),this.abortInProgressLoad();}reload(){let{status:t}=me$5(this.state);return t==="idle"||t==="loading"?false:(this.extRequest.update(({request:n,reload:r})=>({request:n,reload:r+1})),true)}destroy(){this.destroyed=true,this.unregisterOnDestroy(),this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:"idle",previousStatus:"idle",stream:void 0});}async loadEffect(){let t=this.extRequest(),{status:n,previousStatus:r}=me$5(this.state);if(t.request===void 0)return;if(n!=="loading")return;this.abortInProgressLoad();let o=this.resolvePendingTask=this.pendingTasks.add(),{signal:i}=this.pendingController=new AbortController;try{let s=me$5(()=>this.loaderFn({params:t.request,abortSignal:i,previous:{status:r}})),a=()=>i.aborted||me$5(this.extRequest)!==t;if(Nr(s)){if(a())return;this.state.set({extRequest:t,status:"resolved",previousStatus:"resolved",stream:s});let c=me$5(s);}else {let c=await s;if(a())return;this.state.set({extRequest:t,status:"resolved",previousStatus:"resolved",stream:c});let l=c?me$5(c):void 0;}}catch(s){if(nu(s),i.aborted||me$5(this.extRequest)!==t)return;this.state.set({extRequest:t,status:"resolved",previousStatus:"error",stream:Ue$7({error:ms(s)},void 0)});}finally{o?.(),o=void 0;}}abortInProgressLoad(){me$5(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0;}};function hb(e){return (t,n)=>t===void 0||n===void 0?t===n:e(t,n)}function gb(e){return mb(e)?e.stream:async t=>{try{return Ue$7({value:await e.loader(t)},void 0)}catch(n){return Ue$7({error:ms(n)},void 0)}}}function mb(e){return !!e.stream}function gm(e){switch(e.status){case "loading":return e.extRequest.reload===0?"loading":"reloading";case "resolved":return Xl(e.stream())?"resolved":"error";default:return e.status}}function Xl(e){return e.error===void 0}function ms(e){return yb(e)?e:new eu(e)}function yb(e){return e instanceof Error||typeof e=="object"&&typeof e.name=="string"&&typeof e.message=="string"}var ys=class extends Error{constructor(t){super(t.message,{cause:t});}},eu=class extends Error{constructor(t){super(String(t),{cause:t});}};function ym(e){switch(e.status()){case "idle":throw dn$2.IDLE;case "error":throw new hs(e);case "loading":case "reloading":throw dn$2.LOADING}return e.value()}var vb={chain:ym},vm=false;function Im(){return vm}function tu(e){vm=e;}function Em(){return new D$7(992,false)}function nu(e){if(e instanceof D$7&&e.code===992)throw e}var Es=Symbol("InputSignalNode#UNSET"),xm=m$6(l$3({},ho$1),{transformFn:void 0,applyValueToInputSignal(e,t){ft$2(e,t);}});function Am(e,t){let n=Object.create(xm);n.value=e,n.transformFn=t?.transform;function r(){if(lt$2(n),n.value===Es){let o=null;throw new D$7(-950,o)}return n.value}return r[H$6]=n,r}var Dm=class{attributeName;constructor(t){this.attributeName=t;}__NG_ELEMENT_ID__=()=>hp(this.attributeName);toString(){return `HostAttributeToken ${this.attributeName}`}};function p1(e){return Ib(e)?e.default:e}function Ib(e){return e&&typeof e=="object"&&"default"in e}function h1(e){return new ao$1}function wm(e,t){return Am(e,t)}function Eb(e){return Am(Es,e)}var g1=(wm.required=Eb,wm);function Rm(e,t){let n=Object.create(xm),r=new ao$1;n.value=e;function o(){return lt$2(n),Tm(n.value),n.value}return o[H$6]=n,o.asReadonly=On$2.bind(o),o.set=i=>{n.equal(n.value,i)||(ft$2(n,i),r.emit(i));},o.update=i=>{Tm(n.value),o.set(i(n.value));},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Tm(e){if(e===Es)throw new D$7(952,false)}function Cm(e,t){return Rm(e)}function Db(e){return Rm(Es)}var m1=(Cm.required=Db,Cm);function bm(e,t){return kl()}function wb(e,t){return Ol()}var y1=(bm.required=wb,bm);function v1(e,t){return Yh()}function _m(e,t){return kl()}function Tb(e,t){return Ol()}var I1=(_m.required=Tb,_m);var ru=class{supports(t){return _l(t)}create(t){return new ou(t)}},bb=(e,t)=>t,ou=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||bb;}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n);}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<Mm(r,o,i)?n:r,a=Mm(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else {i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;u<=h&&h<l&&(i[p]=f+1);}let d=s.previousIndex;i[d]=u-l;}}a!==c&&t(s,a,c);}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n);}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n);}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n);}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n);}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n);}diff(t){if(t==null&&(t=[]),!_l(t))throw new D$7(900,false);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=false,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=true):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next;}else o=0,kh(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=true):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++;}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null;}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new iu(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n;}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null);}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Is),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Is),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},iu=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n;}},su=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t);}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Is=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new su,this.map.set(n,r)),r.add(t);}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear();}};function Mm(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var au=class{supports(t){return t instanceof Map||ls(t)}create(){return new cu}},cu=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n);}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n);}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n);}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n);}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n);}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||ls(t)))throw new D$7(900,false);return this.check(t)?this:null}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else {let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i);}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null;}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new lu(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null;}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t));}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t);}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t);}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r));}},lu=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t;}};function Nm(){return new _b([new ru])}var _b=(()=>{class e{factories;static \u0275prov=ee$4({token:e,providedIn:"root",factory:Nm});constructor(n){this.factories=n;}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o);}return new e(n)}static extend(n){return {provide:e,useFactory:()=>{let r=T$6(e,{optional:true,skipSelf:true});return e.create(n,r||Nm())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new D$7(901,false)}}return e})();function Sm(){return new Mb([new au])}var Mb=(()=>{class e{static \u0275prov=ee$4({token:e,providedIn:"root",factory:Sm});factories;constructor(n){this.factories=n;}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o);}return new e(n)}static extend(n){return {provide:e,useFactory:()=>{let r=T$6(e,{optional:true,skipSelf:true});return e.create(n,r||Sm())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new D$7(901,false)}}return e})(),D1=(()=>{class e{static __NG_ELEMENT_ID__=Nb}return e})();function Nb(e){return Sb(W$5(),y$7(),(e&16)===16)}function Sb(e,t,n){if(tt$1(e)&&!n){let r=Ee$5(e.index,t);return new Mt$3(r,r)}else if(e.type&175){let r=t[te$4];return new Mt$3(r,t)}return null}var uu=new x$6(""),xb=new x$6("");function co$1(e){return !e.moduleRef}function Ab(e){let t=co$1(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Oe$5);return n.run(()=>{co$1(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Jt$3),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r});}),co$1(e)){let i=()=>t.destroy(),s=e.platformInjector.get(uu);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i);});}else {let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(uu);s.add(i),e.moduleRef.onDestroy(()=>{Pr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i);});}return kb(r,n,()=>{let i=t.get(Kt$2),s=i.add(),a=t.get(Fl);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Yl,so$1);if(bg(c||so$1),!t.get(xb,!0))return co$1(e)?t.get(fs):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(co$1(e)){let u=t.get(fs);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return Rb?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s);})})})}var Rb;function kb(e,t,n){try{let r=n();return Pl(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var vs=null;function Ob(e=[],t){return Te$4.create({name:t,providers:[{provide:ya$1,useValue:"platform"},{provide:uu,useValue:new Set([()=>vs=null])},...e]})}function Pb(e=[]){if(vs)return vs;let t=Ob(e);return vs=t,fg(),Lb(t),t}function Lb(e){let t=e.get(Zd,null);ii$1(e,()=>{t?.forEach(n=>n());});}function w1(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;P$3(A$4.BootstrapApplicationStart);try{let i=o?.injector??Pb(r),s=[Zl(),Qd,...n||[]],a=new Gr({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return Ab({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{P$3(A$4.BootstrapApplicationEnd);}}function T1(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function C1(e,t=NaN){return !isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function b1(e,t){let n=Pe$6(e),r=t.elementInjector||bn$2();return new an$2(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function _1(e){let t=Pe$6(e);if(!t)return null;let n=new an$2(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}}}
5
- var u$2=null;function s$1(){return u$2}function _$2(t){u$2??=t;}var f$3=class f{},g$5=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(o){return new(o||t)};static \u0275prov=ee$4({token:t,factory:()=>T$6(y$6),providedIn:"platform"})}return t})();new x$6("");var y$6=(()=>{class t extends g$5{_location;_history;_doc=T$6(br);constructor(){super(),this._location=window.location,this._history=window.history;}getBaseHrefFromDOM(){return s$1().getBaseHref(this._doc)}onPopState(e){let o=s$1().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",e,false),()=>o.removeEventListener("popstate",e)}onHashChange(e){let o=s$1().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",e,false),()=>o.removeEventListener("hashchange",e)}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(e){this._location.pathname=e;}pushState(e,o,n){this._history.pushState(e,o,n);}replaceState(e,o,n){this._history.replaceState(e,o,n);}forward(){this._history.forward();}back(){this._history.back();}historyGo(e=0){this._history.go(e);}getState(){return this._history.state}static \u0275fac=function(o){return new(o||t)};static \u0275prov=ee$4({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function k$7(t,i){i=encodeURIComponent(i);for(let e of t.split(";")){let o=e.indexOf("="),[n,p]=o==-1?[e,""]:[e.slice(0,o),e.slice(o+1)];if(n.trim()===i)return decodeURIComponent(p)}return null}var m$5=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(o){return new(o||t)};static \u0275prov=Kr({token:t,factory:t.\u0275fac})}return t})();(()=>{class t{static \u0275fac=function(o){return new(o||t)};static \u0275prov=ee$4({token:t,factory:function(o){let n=null;return o?n=new(o||t):n=ke$4(m$5),n},providedIn:"root"})}return t})();function ue$5(e,i){return e?i?e.endsWith("/")?i.startsWith("/")?e+i.slice(1):e+i:i.startsWith("/")?e+i:`${e}/${i}`:e:i}function Et$2(e){let i=e.search(/#|\?|$/);return e[i-1]==="/"?e.slice(0,i-1)+e.slice(i):e}function L$4(e){return e&&e[0]!=="?"?`?${e}`:e}var U$4=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=ee$4({token:e,factory:()=>T$6(de$4),providedIn:"root"})}return e})(),ce$4=new x$6(""),de$4=(()=>{class e extends U$4{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,n){super(),this._platformLocation=t,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??T$6(br).location?.origin??"";}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()();}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t));}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return ue$5(this._baseHref,t)}path(t=false){let n=this._platformLocation.pathname+L$4(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${n}${r}`:n}pushState(t,n,r,s){let o=this.prepareExternalUrl(r+L$4(s));this._platformLocation.pushState(t,n,o);}replaceState(t,n,r,s){let o=this.prepareExternalUrl(r+L$4(s));this._platformLocation.replaceState(t,n,o);}forward(){this._platformLocation.forward();}back(){this._platformLocation.back();}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t);}static \u0275fac=function(n){return new(n||e)(ke$4(g$5),ke$4(ce$4,8))};static \u0275prov=ee$4({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();(()=>{class e extends de$4{prepareExternalUrl(t){let n=At$2(t);return n.endsWith("/")&&n.length>1&&(t=n.slice(0,-1)+t.slice(n.length)),super.prepareExternalUrl(t)}static \u0275fac=(()=>{let t;return function(r){return (t||(t=Uv(e)))(r||e)}})();static \u0275prov=ee$4({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();(()=>{class e extends de$4{prepareExternalUrl(t){let n=At$2(t);return n.endsWith("/")||(t=n+"/"+t.slice(n.length)),super.prepareExternalUrl(t)}static \u0275fac=(()=>{let t;return function(r){return (t||(t=Uv(e)))(r||e)}})();static \u0275prov=ee$4({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function At$2(e){let i=e.search(/[?#]/),t=i>-1?i:e.length;return e.slice(0,t)}var Ne$5=(()=>{class e{_subject=new fe$5;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let n=this._locationStrategy.getBaseHref();this._basePath=Dn$1(Et$2(wt$2(n))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(true),pop:true,state:r.state,type:r.type});});}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[];}path(t=false){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,n=""){return this.path()==this.normalize(t+L$4(n))}normalize(t){return e.stripTrailingSlash(gn$1(this._basePath,wt$2(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,n="",r=null){this._locationStrategy.pushState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+L$4(n)),r);}replaceState(t,n="",r=null){this._locationStrategy.replaceState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+L$4(n)),r);}forward(){this._locationStrategy.forward();}back(){this._locationStrategy.back();}historyGo(t=0){this._locationStrategy.historyGo?.(t);}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state);}),()=>{let n=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null);}}_notifyUrlChangeListeners(t="",n){this._urlChangeListeners.forEach(r=>r(t,n));}subscribe(t,n,r){return this._subject.subscribe({next:t,error:n??void 0,complete:r??void 0})}static normalizeQueryParams=L$4;static joinWithSlash=ue$5;static stripTrailingSlash=Et$2;static \u0275fac=function(n){return new(n||e)(ke$4(U$4))};static \u0275prov=ee$4({token:e,factory:()=>hn$1(),providedIn:"root"})}return e})();function hn$1(){return new Ne$5(ke$4(U$4))}function gn$1(e,i){if(!e||!i.startsWith(e))return i;let t=i.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:i}function wt$2(e){return e.replace(/\/index\.html$/,"")}function Dn$1(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}(()=>{class e extends U$4{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,n){super(),this._platformLocation=t,n!=null&&(this._baseHref=n);}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()();}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t));}getBaseHref(){return this._baseHref}path(t=false){let n=this._platformLocation.hash??"#";return n.length>0?n.substring(1):n}prepareExternalUrl(t){let n=ue$5(this._baseHref,t);return n.length>0?"#"+n:n}pushState(t,n,r,s){let o=this.prepareExternalUrl(r+L$4(s))||this._platformLocation.pathname;this._platformLocation.pushState(t,n,o);}replaceState(t,n,r,s){let o=this.prepareExternalUrl(r+L$4(s))||this._platformLocation.pathname;this._platformLocation.replaceState(t,n,o);}forward(){this._platformLocation.forward();}back(){this._platformLocation.back();}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t);}static \u0275fac=function(n){return new(n||e)(ke$4(g$5),ke$4(ce$4,8))};static \u0275prov=ee$4({token:e,factory:e.\u0275fac})}return e})();var Tt$2={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KGS:[void 0,"\u20C0"],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XCG:["Cg."],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},ne$4=(function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e})(ne$4||{}),j$5=(function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e})(j$5||{}),A$3=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(A$3||{}),d$3=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(d$3||{}),I$1=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(I$1||{}),m$4={Decimal:0,Group:1,PercentSign:3,MinusSign:5,Exponential:6,Infinity:9,CurrencyDecimal:12,CurrencyGroup:13},Rt$2=(function(e){return e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday",e})(Rt$2||{});function Ot$2(e){return ql(e)[zr.LocaleId]}function Pt$1(e,i,t){let n=ql(e),r=[n[zr.DayPeriodsFormat],n[zr.DayPeriodsStandalone]],s=T$5(r,i);return T$5(s,t)}function Bt$1(e,i,t){let n=ql(e),r=[n[zr.DaysFormat],n[zr.DaysStandalone]],s=T$5(r,i);return T$5(s,t)}function Nt$2(e,i,t){let n=ql(e),r=[n[zr.MonthsFormat],n[zr.MonthsStandalone]],s=T$5(r,i);return T$5(s,t)}function kt$1(e,i){let n=ql(e)[zr.Eras];return T$5(n,i)}function q$6(e,i){let t=ql(e);return T$5(t[zr.DateFormat],i)}function J$5(e,i){let t=ql(e);return T$5(t[zr.TimeFormat],i)}function Q$5(e,i){let n=ql(e)[zr.DateTimeFormat];return T$5(n,i)}function M$4(e,i){let t=ql(e),n=t[zr.NumberSymbols][i];if(typeof n>"u"){if(i===m$4.CurrencyDecimal)return t[zr.NumberSymbols][m$4.Decimal];if(i===m$4.CurrencyGroup)return t[zr.NumberSymbols][m$4.Group]}return n}function Fe$5(e,i){return ql(e)[zr.NumberFormats][i]}function wn$1(e){return ql(e)[zr.Currencies]}var xt$1=Dg;function $t$1(e){if(!e[zr.ExtraData])throw new D$7(2303,false)}function Ut$1(e){let i=ql(e);return $t$1(i),(i[zr.ExtraData][2]||[]).map(n=>typeof n=="string"?ke$3(n):[ke$3(n[0]),ke$3(n[1])])}function jt$2(e,i,t){let n=ql(e);$t$1(n);let r=[n[zr.ExtraData][0],n[zr.ExtraData][1]],s=T$5(r,i)||[];return T$5(s,t)||[]}function T$5(e,i){for(let t=i;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new D$7(2304,false)}function ke$3(e){let[i,t]=e.split(":");return {hours:+i,minutes:+t}}function zt$2(e,i,t="en"){let n=wn$1(t)[e]||Tt$2[e]||[],r=n[1];return i==="narrow"&&typeof r=="string"?r:n[0]||e}var Sn$1=2;function Vt$1(e){let i,t=Tt$2[e];return t&&(i=t[2]),typeof i=="number"?i:Sn$1}var _n$1=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,le$3={},vn$1=/((?:[^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]*)/,bn$1=256;function Gt$1(e,i,t,n){let r=kn$1(e);In$1(i),i=B$3(t,i)||i;let o=[],a;for(;i;)if(a=vn$1.exec(i),a){o=o.concat(a.slice(1));let h=o.pop();if(!h)break;i=h;}else {o.push(i);break}let D=r.getTimezoneOffset();n&&(D=Wt$2(n,D),r=Nn$1(r,n));let g="";return o.forEach(h=>{let u=Pn$1(h);g+=u?u(r,t,D):h==="''"?"'":h.replace(/(^'|'$)/g,"").replace(/''/g,"'");}),g}function In$1(e){if(e.length>bn$1)throw new D$7(2300,false)}function pe$4(e,i,t){let n=new Date(0);return n.setFullYear(e,i,t),n.setHours(0,0,0),n}function B$3(e,i){let t=Ot$2(e);if(le$3[t]??={},le$3[t][i])return le$3[t][i];let n="";switch(i){case "shortDate":n=q$6(e,I$1.Short);break;case "mediumDate":n=q$6(e,I$1.Medium);break;case "longDate":n=q$6(e,I$1.Long);break;case "fullDate":n=q$6(e,I$1.Full);break;case "shortTime":n=J$5(e,I$1.Short);break;case "mediumTime":n=J$5(e,I$1.Medium);break;case "longTime":n=J$5(e,I$1.Long);break;case "fullTime":n=J$5(e,I$1.Full);break;case "short":let r=B$3(e,"shortTime"),s=B$3(e,"shortDate");n=fe$4(Q$5(e,I$1.Short),[r,s]);break;case "medium":let o=B$3(e,"mediumTime"),a=B$3(e,"mediumDate");n=fe$4(Q$5(e,I$1.Medium),[o,a]);break;case "long":let D=B$3(e,"longTime"),g=B$3(e,"longDate");n=fe$4(Q$5(e,I$1.Long),[D,g]);break;case "full":let h=B$3(e,"fullTime"),u=B$3(e,"fullDate");n=fe$4(Q$5(e,I$1.Full),[h,u]);break}return n&&(le$3[t][i]=n),n}function fe$4(e,i){return i&&(e=e.replace(/\{([^}]+)}/g,function(t,n){return Object.hasOwn(i,n)?i[n]:t})),e}function R$2(e,i,t="-",n,r){let s="";(e<0||r&&e<=0)&&(r?e=-e+1:(e=-e,s=t));let o=String(e);for(;o.length<i;)o="0"+o;return n&&(o=o.slice(o.length-i)),s+o}function Ln$1(e,i){return R$2(e,3).substring(0,i)}function y$5(e,i,t=0,n=false,r=false){return function(s,o){let a=Mn$1(e,s);if((t>0||a>-t)&&(a+=t),e===3)a===0&&t===-12&&(a=12);else if(e===6)return Ln$1(a,i);let D=M$4(o,m$4.MinusSign);return R$2(a,i,D,n,r)}}function Mn$1(e,i){switch(e){case 0:return i.getFullYear();case 1:return i.getMonth();case 2:return i.getDate();case 3:return i.getHours();case 4:return i.getMinutes();case 5:return i.getSeconds();case 6:return i.getMilliseconds();case 7:return i.getDay();default:throw new D$7(2301,false)}}function f$2(e,i,t=A$3.Format,n=false){return function(r,s){return Tn$1(r,s,e,i,t,n)}}function Tn$1(e,i,t,n,r,s){switch(t){case 2:return Nt$2(i,r,n)[e.getMonth()];case 1:return Bt$1(i,r,n)[e.getDay()];case 0:let o=e.getHours(),a=e.getMinutes();if(s){let g=Ut$1(i),h=jt$2(i,r,n),u=g.findIndex(w=>{if(Array.isArray(w)){let[p,S]=w,G=o>=p.hours&&a>=p.minutes,x=o<S.hours||o===S.hours&&a<S.minutes;if(p.hours<S.hours){if(G&&x)return true}else if(G||x)return true}else if(w.hours===o&&w.minutes===a)return true;return false});if(u!==-1)return h[u]}return Pt$1(i,r,n)[o<12?0:1];case 3:return kt$1(i,n)[e.getFullYear()<=0?0:1];default:throw new D$7(2302,false)}}function he$3(e){return function(i,t,n){let r=-1*n,s=M$4(t,m$4.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case 0:return (r>=0?"+":"")+R$2(o,2,s)+R$2(Math.abs(r%60),2,s);case 1:return "GMT"+(r>=0?"+":"")+R$2(o,1,s);case 2:return "GMT"+(r>=0?"+":"")+R$2(o,2,s)+":"+R$2(Math.abs(r%60),2,s);case 3:return n===0?"Z":(r>=0?"+":"")+R$2(o,2,s)+":"+R$2(Math.abs(r%60),2,s);default:throw new D$7(2310,false)}}}var Rn$1=0,De$5=4;function On$1(e){let i=pe$4(e,Rn$1,1).getDay();return pe$4(e,0,1+(i<=De$5?De$5:De$5+7)-i)}function Ht$2(e){let i=e.getDay(),t=i===0?-3:De$5-i;return pe$4(e.getFullYear(),e.getMonth(),e.getDate()+t)}function xe$5(e,i=false){return function(t,n){let r;if(i){let s=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,o=t.getDate();r=1+Math.floor((o+s)/7);}else {let s=Ht$2(t),o=On$1(s.getFullYear()),a=s.getTime()-o.getTime();r=1+Math.round(a/6048e5);}return R$2(r,e,M$4(n,m$4.MinusSign))}}function ge$3(e,i=false){return function(t,n){let s=Ht$2(t).getFullYear();return R$2(s,e,M$4(n,m$4.MinusSign),i)}}var $e$5={};function Pn$1(e){if($e$5[e])return $e$5[e];let i;switch(e){case "G":case "GG":case "GGG":i=f$2(3,d$3.Abbreviated);break;case "GGGG":i=f$2(3,d$3.Wide);break;case "GGGGG":i=f$2(3,d$3.Narrow);break;case "y":i=y$5(0,1,0,false,true);break;case "yy":i=y$5(0,2,0,true,true);break;case "yyy":i=y$5(0,3,0,false,true);break;case "yyyy":i=y$5(0,4,0,false,true);break;case "Y":i=ge$3(1);break;case "YY":i=ge$3(2,true);break;case "YYY":i=ge$3(3);break;case "YYYY":i=ge$3(4);break;case "M":case "L":i=y$5(1,1,1);break;case "MM":case "LL":i=y$5(1,2,1);break;case "MMM":i=f$2(2,d$3.Abbreviated);break;case "MMMM":i=f$2(2,d$3.Wide);break;case "MMMMM":i=f$2(2,d$3.Narrow);break;case "LLL":i=f$2(2,d$3.Abbreviated,A$3.Standalone);break;case "LLLL":i=f$2(2,d$3.Wide,A$3.Standalone);break;case "LLLLL":i=f$2(2,d$3.Narrow,A$3.Standalone);break;case "w":i=xe$5(1);break;case "ww":i=xe$5(2);break;case "W":i=xe$5(1,true);break;case "d":i=y$5(2,1);break;case "dd":i=y$5(2,2);break;case "c":case "cc":i=y$5(7,1);break;case "ccc":i=f$2(1,d$3.Abbreviated,A$3.Standalone);break;case "cccc":i=f$2(1,d$3.Wide,A$3.Standalone);break;case "ccccc":i=f$2(1,d$3.Narrow,A$3.Standalone);break;case "cccccc":i=f$2(1,d$3.Short,A$3.Standalone);break;case "E":case "EE":case "EEE":i=f$2(1,d$3.Abbreviated);break;case "EEEE":i=f$2(1,d$3.Wide);break;case "EEEEE":i=f$2(1,d$3.Narrow);break;case "EEEEEE":i=f$2(1,d$3.Short);break;case "a":case "aa":case "aaa":i=f$2(0,d$3.Abbreviated);break;case "aaaa":i=f$2(0,d$3.Wide);break;case "aaaaa":i=f$2(0,d$3.Narrow);break;case "b":case "bb":case "bbb":i=f$2(0,d$3.Abbreviated,A$3.Standalone,true);break;case "bbbb":i=f$2(0,d$3.Wide,A$3.Standalone,true);break;case "bbbbb":i=f$2(0,d$3.Narrow,A$3.Standalone,true);break;case "B":case "BB":case "BBB":i=f$2(0,d$3.Abbreviated,A$3.Format,true);break;case "BBBB":i=f$2(0,d$3.Wide,A$3.Format,true);break;case "BBBBB":i=f$2(0,d$3.Narrow,A$3.Format,true);break;case "h":i=y$5(3,1,-12);break;case "hh":i=y$5(3,2,-12);break;case "H":i=y$5(3,1);break;case "HH":i=y$5(3,2);break;case "m":i=y$5(4,1);break;case "mm":i=y$5(4,2);break;case "s":i=y$5(5,1);break;case "ss":i=y$5(5,2);break;case "S":i=y$5(6,1);break;case "SS":i=y$5(6,2);break;case "SSS":i=y$5(6,3);break;case "Z":case "ZZ":case "ZZZ":i=he$3(0);break;case "ZZZZZ":i=he$3(3);break;case "O":case "OO":case "OOO":case "z":case "zz":case "zzz":i=he$3(1);break;case "OOOO":case "ZZZZ":case "zzzz":i=he$3(2);break;default:return null}return $e$5[e]=i,i}function Wt$2(e,i){e=e.replace(/:/g,"");let t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?i:t}function Bn$1(e,i){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+i),e}function Nn$1(e,i,t){let r=e.getTimezoneOffset(),s=Wt$2(i,r);return Bn$1(e,-1*(s-r))}function kn$1(e){if(St$2(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[r,s=1,o=1]=e.split("-").map(a=>+a);return pe$4(r,s-1,o)}let t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(_n$1))return xn$1(n)}let i=new Date(e);if(!St$2(i))throw new D$7(2311,false);return i}function xn$1(e){let i=new Date(0),t=0,n=0,r=e[8]?i.setUTCFullYear:i.setFullYear,s=e[8]?i.setUTCHours:i.setHours;e[9]&&(t=Number(e[9]+e[10]),n=Number(e[9]+e[11])),r.call(i,Number(e[1]),Number(e[2])-1,Number(e[3]));let o=Number(e[4]||0)-t,a=Number(e[5]||0)-n,D=Number(e[6]||0),g=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return s.call(i,o,a,D,g),i}function St$2(e){return e instanceof Date&&!isNaN(e.valueOf())}var $n$1=/^(\d+)?\.((\d+)(-(\d+))?)?$/,_t$2=22,me$4=".",ee$3="0",Un$1=";",jn$1=",",Ue$6="#",vt$2="\xA4",zn$1="%";function He$5(e,i,t,n,r,s,o=false){let a="",D=false;if(!isFinite(e))a=M$4(t,m$4.Infinity);else {let g=Gn$1(e);o&&(g=Vn$1(g));let h=i.minInt,u=i.minFrac,w=i.maxFrac;if(s){let z=s.match($n$1);if(z===null)throw new D$7(2306,false);let Qe=z[1],_e=z[3],et=z[5];Qe!=null&&(h=je$5(Qe)),_e!=null&&(u=je$5(_e)),et!=null?w=je$5(et):_e!=null&&u>w&&(w=u);let ve=100;if(h>ve||u>ve||w>ve)throw new D$7(2306,false)}Hn$1(g,u,w);let p=g.digits,S=g.integerLen,G=g.exponent,x=[];for(D=p.every(z=>!z);S<h;S++)p.unshift(0);for(;S<0;S++)p.unshift(0);S>0?x=p.splice(S,p.length):(x=p,p=[0]);let ie=[];for(p.length>=i.lgSize&&ie.unshift(p.splice(-i.lgSize,p.length).join(""));p.length>i.gSize;)ie.unshift(p.splice(-i.gSize,p.length).join(""));p.length&&ie.unshift(p.join("")),a=ie.join(M$4(t,n)),x.length&&(a+=M$4(t,r)+x.join("")),G&&(a+=M$4(t,m$4.Exponential)+"+"+G);}return e<0&&!D?a=i.negPre+a+i.negSuf:a=i.posPre+a+i.posSuf,a}function Zt$1(e,i,t,n,r){let s=Fe$5(i,ne$4.Currency),o=We$4(s,M$4(i,m$4.MinusSign));return o.minFrac=Vt$1(n),o.maxFrac=o.minFrac,He$5(e,o,i,m$4.CurrencyGroup,m$4.CurrencyDecimal,r).replace(vt$2,t).replace(vt$2,"").trim()}function Yt$2(e,i,t){let n=Fe$5(i,ne$4.Percent),r=We$4(n,M$4(i,m$4.MinusSign));return He$5(e,r,i,m$4.Group,m$4.Decimal,t,true).replace(new RegExp(zn$1,"g"),M$4(i,m$4.PercentSign))}function Kt$1(e,i,t){let n=Fe$5(i,ne$4.Decimal),r=We$4(n,M$4(i,m$4.MinusSign));return He$5(e,r,i,m$4.Group,m$4.Decimal,t)}function We$4(e,i="-"){let t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=e.split(Un$1),r=n[0],s=n[1],o=r.indexOf(me$4)!==-1?r.split(me$4):[r.substring(0,r.lastIndexOf(ee$3)+1),r.substring(r.lastIndexOf(ee$3)+1)],a=o[0],D=o[1]||"";t.posPre=a.substring(0,a.indexOf(Ue$6));for(let h=0;h<D.length;h++){let u=D.charAt(h);u===ee$3?t.minFrac=t.maxFrac=h+1:u===Ue$6?t.maxFrac=h+1:t.posSuf+=u;}let g=a.split(jn$1);if(t.gSize=g[1]?g[1].length:0,t.lgSize=g[2]||g[1]?(g[2]||g[1]).length:0,s){let h=r.length-t.posPre.length-t.posSuf.length,u=s.indexOf(Ue$6);t.negPre=s.substring(0,u).replace(/'/g,""),t.negSuf=s.slice(u+h).replace(/'/g,"");}else t.negPre=i+t.posPre,t.negSuf=t.posSuf;return t}function Vn$1(e){if(e.digits[0]===0)return e;let i=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(i===0?e.digits.push(0,0):i===1&&e.digits.push(0),e.integerLen+=2),e}function Gn$1(e){let i=Math.abs(e)+"",t=0,n,r,s,o,a;for((r=i.indexOf(me$4))>-1&&(i=i.replace(me$4,"")),(s=i.search(/e/i))>0?(r<0&&(r=s),r+=+i.slice(s+1),i=i.substring(0,s)):r<0&&(r=i.length),s=0;i.charAt(s)===ee$3;s++);if(s===(a=i.length))n=[0],r=1;else {for(a--;i.charAt(a)===ee$3;)a--;for(r-=s,n=[],o=0;s<=a;s++,o++)n[o]=Number(i.charAt(s));}return r>_t$2&&(n=n.splice(0,_t$2-1),t=r-1,r=1),{digits:n,exponent:t,integerLen:r}}function Hn$1(e,i,t){if(i>t)throw new D$7(2307,false);let n=e.digits,r=n.length-e.integerLen,s=Math.min(Math.max(i,r),t),o=s+e.integerLen,a=n[o];if(o>0){n.splice(Math.max(e.integerLen,o));for(let u=o;u<n.length;u++)n[u]=0;}else {r=Math.max(0,r),e.integerLen=1,n.length=Math.max(1,o=s+1),n[0]=0;for(let u=1;u<o;u++)n[u]=0;}if(a>=5)if(o-1<0){for(let u=0;u>o;u--)n.unshift(0),e.integerLen++;n.unshift(1),e.integerLen++;}else n[o-1]++;for(;r<Math.max(0,s);r++)n.push(0);let D=s!==0,g=i+e.integerLen,h=n.reduceRight(function(u,w,p,S){return w=w+u,S[p]=w<10?w:w-10,D&&(S[p]===0&&p>=g?S.pop():D=false),w>=10?1:0},0);h&&(n.unshift(h),e.integerLen++);}function je$5(e){let i=parseInt(e);if(isNaN(i))throw new D$7(2305,false);return i}var Ee$4=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=Kr({token:e,factory:()=>new qt$1(T$6(Yl))})}return e})();function Xt$1(e,i,t,n){let r=`=${e}`;if(i.indexOf(r)>-1||(r=t.getPluralCategory(e,n),i.indexOf(r)>-1))return r;if(i.indexOf("other")>-1)return "other";throw new D$7(2308,false)}var qt$1=(()=>{class e extends Ee$4{locale;constructor(t){super(),this.locale=t;}getPluralCategory(t,n){switch(xt$1(n||this.locale)(t)){case j$5.Zero:return "zero";case j$5.One:return "one";case j$5.Two:return "two";case j$5.Few:return "few";case j$5.Many:return "many";default:return "other"}}static \u0275fac=function(n){return new(n||e)(ke$4(Yl))};static \u0275prov=ee$4({token:e,factory:e.\u0275fac})}return e})(),ze$4=/\s+/,bt$2=[];(()=>{class e{_ngEl;_renderer;initialClasses=bt$2;rawClass;stateMap=new Map;constructor(t,n){this._ngEl=t,this._renderer=n;}set klass(t){this.initialClasses=t!=null?t.trim().split(ze$4):bt$2;}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(ze$4):t;}ngDoCheck(){for(let n of this.initialClasses)this._updateState(n,true);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let n of t)this._updateState(n,true);else if(t!=null)for(let n of Object.keys(t))this._updateState(n,!!t[n]);this._applyStateDiff();}_updateState(t,n){let r=this.stateMap.get(t);r!==void 0?(r.enabled!==n&&(r.changed=true,r.enabled=n),r.touched=true):this.stateMap.set(t,{enabled:n,changed:true,touched:true});}_applyStateDiff(){for(let t of this.stateMap){let n=t[0],r=t[1];r.changed?(this._toggleClass(n,r.enabled),r.changed=false):r.touched||(r.enabled&&this._toggleClass(n,false),this.stateMap.delete(n)),r.touched=false;}}_toggleClass(t,n){t=t.trim(),t.length>0&&t.split(ze$4).forEach(r=>{n?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r);});}static \u0275fac=function(n){return new(n||e)(oo$1(Jr$1),oo$1(yD))};static \u0275dir=mw({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();(()=>{class e{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletEnvironmentInjector;ngComponentOutletContent;ngComponentOutletNgModule;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(t){this._viewContainerRef=t;}_needToReCreateNgModuleInstance(t){return t.ngComponentOutletNgModule!==void 0}_needToReCreateComponentInstance(t){return t.ngComponentOutlet!==void 0||t.ngComponentOutletContent!==void 0||t.ngComponentOutletInjector!==void 0||t.ngComponentOutletEnvironmentInjector!==void 0||this._needToReCreateNgModuleInstance(t)}ngOnChanges(t){if(this._needToReCreateComponentInstance(t)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let n=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(t)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=lw(this.ngComponentOutletNgModule,Yn(n)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:n,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent,environmentInjector:this.ngComponentOutletEnvironmentInjector});}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let t of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(t,true);this._applyInputStateDiff(this._componentRef);}}ngOnDestroy(){this._moduleRef?.destroy();}_applyInputStateDiff(t){for(let[n,r]of this._inputsUsed)r?(t.setInput(n,this.ngComponentOutletInputs[n]),this._inputsUsed.set(n,false)):(t.setInput(n,void 0),this._inputsUsed.delete(n));}static \u0275fac=function(n){return new(n||e)(oo$1(us))};static \u0275dir=mw({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletEnvironmentInjector:"ngComponentOutletEnvironmentInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule"},exportAs:["ngComponentOutlet"],features:[Cv]})}return e})();function Yn(e){return e.get(Vn$2).injector}var Ce$4=class Ce{$implicit;ngForOf;index;count;constructor(i,t,n,r){this.$implicit=i,this.ngForOf=t,this.index=n,this.count=r;}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return !this.even}},Jt$2=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=true;}set ngForTrackBy(t){this._trackByFn=t;}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=true;_differ=null;_trackByFn;constructor(t,n,r){this._viewContainer=t,this._template=n,this._differs=r;}set ngForTemplate(t){t&&(this._template=t);}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=false;let t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy));}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t);}}_applyChanges(t){let n=this._viewContainer;t.forEachOperation((r,s,o)=>{if(r.previousIndex==null)n.createEmbeddedView(this._template,new Ce$4(r.item,this._ngForOf,-1,-1),o===null?void 0:o);else if(o==null)n.remove(s===null?void 0:s);else if(s!==null){let a=n.get(s);n.move(a,o),It$3(a,r);}});for(let r=0,s=n.length;r<s;r++){let a=n.get(r).context;a.index=r,a.count=s,a.ngForOf=this._ngForOf;}t.forEachIdentityChange(r=>{let s=n.get(r.currentIndex);It$3(s,r);});}static ngTemplateContextGuard(t,n){return true}static \u0275fac=function(n){return new(n||e)(oo$1(us),oo$1($r),oo$1(_b))};static \u0275dir=mw({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function It$3(e,i){e.context.$implicit=i.item;}var Kn=(()=>{class e{_viewContainer;_context=new ye$4;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,n){this._viewContainer=t,this._thenTemplateRef=n;}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView();}set ngIfThen(t){Lt$1(t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView();}set ngIfElse(t){Lt$1(t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView();}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)));}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,n){return true}static \u0275fac=function(n){return new(n||e)(oo$1(us),oo$1($r))};static \u0275dir=mw({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),ye$4=class ye{$implicit=null;ngIf=null};function Lt$1(e,i){if(e&&!e.createEmbeddedView)throw new D$7(2020,false)}var te$3=class te{_viewContainerRef;_templateRef;_created=false;constructor(i,t){this._viewContainerRef=i,this._templateRef=t;}create(){this._created=true,this._viewContainerRef.createEmbeddedView(this._templateRef);}destroy(){this._created=false,this._viewContainerRef.clear();}enforceState(i){i&&!this._created?this.create():!i&&this._created&&this.destroy();}},Ze$2=(()=>{class e{_defaultViews=[];_defaultUsed=false;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=false;_ngSwitch;set ngSwitch(t){this._ngSwitch=t,this._caseCount===0&&this._updateDefaultCases(true);}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews.push(t);}_matchCase(t){let n=t===this._ngSwitch;return this._lastCasesMatched||=n,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=false),n}_updateDefaultCases(t){if(this._defaultViews.length>0&&t!==this._defaultUsed){this._defaultUsed=t;for(let n of this._defaultViews)n.enforceState(t);}}static \u0275fac=function(n){return new(n||e)};static \u0275dir=mw({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return e})();(()=>{class e{ngSwitch;_view;ngSwitchCase;constructor(t,n,r){this.ngSwitch=r,r._addCase(),this._view=new te$3(t,n);}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));}static \u0275fac=function(n){return new(n||e)(oo$1(us),oo$1($r),oo$1(Ze$2,9))};static \u0275dir=mw({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return e})();(()=>{class e{constructor(t,n,r){r._addDefault(new te$3(t,n));}static \u0275fac=function(n){return new(n||e)(oo$1(us),oo$1($r),oo$1(Ze$2,9))};static \u0275dir=mw({type:e,selectors:[["","ngSwitchDefault",""]]})}return e})();var Qt$1=(()=>{class e{_localization;_activeView;_caseViews={};constructor(t){this._localization=t;}set ngPlural(t){this._updateView(t);}addCase(t,n){this._caseViews[t]=n;}_updateView(t){this._clearViews();let n=Object.keys(this._caseViews),r=Xt$1(t,n,this._localization);this._activateView(this._caseViews[r]);}_clearViews(){this._activeView&&this._activeView.destroy();}_activateView(t){t&&(this._activeView=t,this._activeView.create());}static \u0275fac=function(n){return new(n||e)(oo$1(Ee$4))};static \u0275dir=mw({type:e,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}})}return e})();(()=>{class e{value;constructor(t,n,r,s){this.value=t;let o=!isNaN(Number(t));s.addCase(o?`=${t}`:t,new te$3(r,n));}static \u0275fac=function(n){return new(n||e)(hp("ngPluralCase"),oo$1($r),oo$1(us),oo$1(Qt$1,1))};static \u0275dir=mw({type:e,selectors:[["","ngPluralCase",""]]})}return e})();(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,n,r){this._ngEl=t,this._differs=n,this._renderer=r;}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create());}ngDoCheck(){if(this._differ){let t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t);}}_setStyle(t,n){let[r,s]=t.split("."),o=r.indexOf("-")===-1?void 0:Li$1.DashCase;n!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,s?`${n}${s}`:n,o):this._renderer.removeStyle(this._ngEl.nativeElement,r,o);}_applyChanges(t){t.forEachRemovedItem(n=>this._setStyle(n.key,null)),t.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),t.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue));}static \u0275fac=function(n){return new(n||e)(oo$1(Jr$1),oo$1(Mb),oo$1(yD))};static \u0275dir=mw({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})();var ei$1=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=T$6(Te$4);constructor(t){this._viewContainerRef=t;}ngOnChanges(t){if(this._shouldRecreateView(t)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this._getInjector()});}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(t){return !!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,n,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,r):false,get:(t,n,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,r)}})}static \u0275fac=function(n){return new(n||e)(oo$1(us))};static \u0275dir=mw({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Cv]})}return e})();function N$8(e,i){return new D$7(2100,false)}var Ve$5=class Ve{createSubscription(i,t,n){return me$5(()=>i.subscribe({next:t,error:n}))}dispose(i){me$5(()=>i.unsubscribe());}},Ge$4=class Ge{createSubscription(i,t,n){return i.then(r=>t?.(r),r=>n?.(r)),{unsubscribe:()=>{t=null,n=null;}}}dispose(i){i.unsubscribe();}},ti$1=new Ge$4,ni$1=new Ve$5;(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=true;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=T$6(Jt$3);constructor(t){this._ref=t;}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null;}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t);}finally{this.markForCheckOnValueUpdate=true;}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,n=>this._updateLatestValue(t,n),n=>this.applicationErrorHandler(n));}_selectStrategy(t){if(Pl(t))return ti$1;if(Jh(t))return ni$1;throw N$8()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null;}_updateLatestValue(t,n){t===this._obj&&(this._latestValue=n,this.markForCheckOnValueUpdate&&this._ref?.markForCheck());}static \u0275fac=function(n){return new(n||e)(oo$1(D1,16))};static \u0275pipe=yw({name:"async",type:e,pure:false})}return e})();(()=>{class e{transform(t){return t==null?null:(Ye$2(e,t),t.toLowerCase())}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=yw({name:"lowercase",type:e,pure:true})}return e})();var si$1=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;(()=>{class e{transform(t){return t==null?null:(Ye$2(e,t),t.replace(si$1,n=>n[0].toUpperCase()+n.slice(1).toLowerCase()))}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=yw({name:"titlecase",type:e,pure:true})}return e})();(()=>{class e{transform(t){return t==null?null:(Ye$2(e,t),t.toUpperCase())}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=yw({name:"uppercase",type:e,pure:true})}return e})();function Ye$2(e,i){if(typeof i!="string")throw N$8()}var ui$1="mediumDate",en$1=new x$6(""),tn$1=new x$6(""),ci$1=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(t,n,r){this.locale=t,this.defaultTimezone=n,this.defaultOptions=r;}transform(t,n,r,s){if(t==null||t===""||t!==t)return null;try{let o=n??this.defaultOptions?.dateFormat??ui$1,a=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Gt$1(t,o,s||this.locale,a)}catch(o){throw N$8(e,o.message)}}static \u0275fac=function(n){return new(n||e)(oo$1(Yl,16),oo$1(en$1,24),oo$1(tn$1,24))};static \u0275pipe=yw({name:"date",type:e,pure:true})}return e})(),di$1=/#/g;(()=>{class e{_localization;constructor(t){this._localization=t;}transform(t,n,r){if(t==null)return "";if(typeof n!="object"||n===null)throw N$8();let s=Xt$1(t,Object.keys(n),this._localization,r);return n[s].replace(di$1,t.toString())}static \u0275fac=function(n){return new(n||e)(oo$1(Ee$4,16))};static \u0275pipe=yw({name:"i18nPlural",type:e,pure:true})}return e})();(()=>{class e{transform(t,n){if(t==null)return "";if(typeof n!="object"||typeof t!="string")throw N$8();return n.hasOwnProperty(t)?n[t]:n.hasOwnProperty("other")?n.other:""}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=yw({name:"i18nSelect",type:e,pure:true})}return e})();var hi$1=(()=>{class e{transform(t){return JSON.stringify(t,null,2)}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=yw({name:"json",type:e,pure:false})}return e})();function gi$1(e,i){return {key:e,value:i}}(()=>{class e{differs;constructor(t){this.differs=t;}differ;keyValues=[];compareFn=Mt$2;transform(t,n=Mt$2){if(!t||!(t instanceof Map)&&typeof t!="object")return null;this.differ??=this.differs.find(t).create();let r=this.differ.diff(t),s=n!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(o=>{this.keyValues.push(gi$1(o.key,o.currentValue));})),(r||s)&&(n&&this.keyValues.sort(n),this.compareFn=n),this.keyValues}static \u0275fac=function(n){return new(n||e)(oo$1(Mb,16))};static \u0275pipe=yw({name:"keyvalue",type:e,pure:false})}return e})();function Mt$2(e,i){let t=e.key,n=i.key;if(t===n)return 0;if(t==null)return 1;if(n==null)return -1;if(typeof t=="string"&&typeof n=="string")return t<n?-1:1;if(typeof t=="number"&&typeof n=="number")return t-n;if(typeof t=="boolean"&&typeof n=="boolean")return t<n?-1:1;let r=String(t),s=String(n);return r==s?0:r<s?-1:1}var pi$1=(()=>{class e{_locale;constructor(t){this._locale=t;}transform(t,n,r){if(!Ke$3(t))return null;r||=this._locale;try{let s=Xe$2(t);return Kt$1(s,r,n)}catch(s){throw N$8(e,s.message)}}static \u0275fac=function(n){return new(n||e)(oo$1(Yl,16))};static \u0275pipe=yw({name:"number",type:e,pure:true})}return e})();(()=>{class e{_locale;constructor(t){this._locale=t;}transform(t,n,r){if(!Ke$3(t))return null;r||=this._locale;try{let s=Xe$2(t);return Yt$2(s,r,n)}catch(s){throw N$8(e,s.message)}}static \u0275fac=function(n){return new(n||e)(oo$1(Yl,16))};static \u0275pipe=yw({name:"percent",type:e,pure:true})}return e})();(()=>{class e{_locale;_defaultCurrencyCode;constructor(t,n="USD"){this._locale=t,this._defaultCurrencyCode=n;}transform(t,n=this._defaultCurrencyCode,r="symbol",s,o){if(!Ke$3(t))return null;o||=this._locale,typeof r=="boolean"&&(r=r?"symbol":"code");let a=n||this._defaultCurrencyCode;r!=="code"&&(r==="symbol"||r==="symbol-narrow"?a=zt$2(a,r==="symbol"?"wide":"narrow",o):a=r);try{let D=Xe$2(t);return Zt$1(D,o,a,n,s)}catch(D){throw N$8(e,D.message)}}static \u0275fac=function(n){return new(n||e)(oo$1(Yl,16),oo$1(ub,16))};static \u0275pipe=yw({name:"currency",type:e,pure:true})}return e})();function Ke$3(e){return !(e==null||e===""||e!==e)}function Xe$2(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new D$7(2309,false);return e}(()=>{class e{transform(t,n,r){if(t==null)return null;if(!(typeof t=="string"||Array.isArray(t)))throw N$8();return t.slice(n,r)}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=yw({name:"slice",type:e,pure:false})}return e})();var Fi$1=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=pw({type:e});static \u0275inj=ad({})}return e})();new x$6("",{factory:()=>typeof window<"u"&&typeof window.NavigationPrecommitController<"u"});var nn$1=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=ee$4({token:e,factory:()=>window.navigation,providedIn:"platform"})}return e})();(()=>{class e extends Ne$5{navigation=T$6(nn$1);destroyRef=T$6(rt$1);constructor(){super(T$6(U$4)),this.registerNavigationListeners();}registerNavigationListeners(){let t=()=>{this._notifyUrlChangeListeners(this.path(true),this.getState());};this.navigation.addEventListener("currententrychange",t),this.destroyRef.onDestroy(()=>{this.navigation.removeEventListener("currententrychange",t);});}getState(){return this.navigation.currentEntry?.getState()}replaceState(t,n="",r=null){let s=this.prepareExternalUrl(t+L$4(n));this.navigation.navigate(s,{state:r,history:"replace"});}go(t,n="",r=null){let s=this.prepareExternalUrl(t+L$4(n));this.navigation.navigate(s,{state:r,history:"push"});}back(){this.navigation.back();}forward(){this.navigation.forward();}onUrlChange(t){return this._urlChangeListeners.push(t),()=>{let n=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(n,1);}}static \u0275fac=function(n){return new(n||e)};static \u0275prov=ee$4({token:e,factory:e.\u0275fac})}return e})();function Tr(e,i,t){return vT(e,i,t)}var wi$1="browser",Ai$1="server";function Rr(e){return e===wi$1}function Or(e){return e===Ai$1}new Gs("22.0.4");(()=>{class e{static \u0275prov=ee$4({token:e,providedIn:"root",factory:()=>new qe$3(T$6(br),window)})}return e})();var qe$3=class qe{document;window;offset=()=>[0,0];constructor(i,t){this.document=i,this.window=t;}setOffset(i){Array.isArray(i)?this.offset=()=>i:this.offset=i;}getScrollPosition(){return [this.window.scrollX,this.window.scrollY]}scrollToPosition(i,t){this.window.scrollTo(m$6(l$3({},t),{left:i[0],top:i[1]}));}scrollToAnchor(i,t){let n=Si$1(this.document,i);n&&(this.scrollToElement(n,t),n.focus({preventScroll:true}));}setHistoryScrollRestoration(i){try{this.window.history.scrollRestoration=i;}catch{console.warn(ur$1(2400,false));}}scrollToElement(i,t){let n=i.getBoundingClientRect(),r=n.left+this.window.pageXOffset,s=n.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(m$6(l$3({},t),{left:r-o[0],top:s-o[1]}));}};function Si$1(e,i){let t=e.getElementById(i)||e.getElementsByName(i)[0];if(t)return t;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),r=n.currentNode;for(;r;){let s=r.shadowRoot;if(s){let o=s.getElementById(i)||s.querySelector(`[name="${CSS.escape(i)}"]`);if(o)return o}r=n.nextNode();}}return null}function sn$1(e){return e.replace(/\\/g,"\\\\").replace(/[\n\r\f\0]/g,"").replace(/"/g,'\\"')}var dn$1=e=>e.src,Je$3=new x$6("",{factory:()=>dn$1});new x$6("");var an$1=/^((\s*\d+w\s*(,|$)){1,})$/;var Pi$1=[1,2],Bi$1=640;var Ni$1=1920,ki$1=1080;(()=>{class e{imageLoader=T$6(Je$3);config=xi$1(T$6(lv));renderer=T$6(yD);imgElement=T$6(Jr$1).nativeElement;injector=T$6(Te$4);destroyRef=T$6(rt$1);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;decoding;loading;priority=false;loaderParams;disableOptimizedSrcset=false;fill=false;placeholder;placeholderConfig;src;srcset;constructor(){this.destroyRef.onDestroy(()=>{this.renderer.removeAttribute(this.imgElement,"loading");});}ngOnInit(){Ne$6("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes();}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("decoding",this.getDecoding()),this.setHostAttribute("ng-img","true");this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&an$1.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw");}ngOnChanges(t){if(t.ngSrc&&!t.ngSrc.isFirstChange()){this._renderedSrc;this.updateSrcAndSrcset(true);}}getAspectRatio(){return this.width&&this.height&&this.height!==0?this.width/this.height:null}callImageLoader(t){let n=t;this.loaderParams&&(n.loaderParams=this.loaderParams);let r=this.getAspectRatio();return r!==null&&n.width&&(n.height=Math.round(n.width/r)),this.imageLoader(n)}getLoadingBehavior(){return !this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getDecoding(){return this.priority?"sync":this.decoding??"auto"}getRewrittenSrc(){if(!this._renderedSrc){let t={src:this.ngSrc};this._renderedSrc=this.callImageLoader(t);}return this._renderedSrc}getRewrittenSrcset(){let t=an$1.test(this.ngSrcset);return this.ngSrcset.split(",").filter(r=>r!=="").map(r=>{r=r.trim();let s=t?parseFloat(r):parseFloat(r)*this.width;return `${this.callImageLoader({src:this.ngSrc,width:s})} ${r}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:t}=this.config,n=t;return this.sizes?.trim()==="100vw"&&(n=t.filter(s=>s>=Bi$1)),n.map(s=>`${this.callImageLoader({src:this.ngSrc,width:s})} ${s}w`).join(", ")}updateSrcAndSrcset(t=false){t&&(this._renderedSrc=null);let n=this.getRewrittenSrc();this.setHostAttribute("src",n);let r;return this.ngSrcset?r=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(r=this.getAutomaticSrcset()),r&&this.setHostAttribute("srcset",r),r}getFixedSrcset(){return Pi$1.map(n=>`${this.callImageLoader({src:this.ngSrc,width:this.width*n})} ${n}x`).join(", ")}shouldGenerateAutomaticSrcset(){let t=false;return this.sizes||(t=this.width>Ni$1||this.height>ki$1),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==dn$1&&!t}generatePlaceholder(t){let{placeholderResolution:n}=this.config;return t===true?`url("${sn$1(this.callImageLoader({src:this.ngSrc,width:n,isPlaceholder:true}))}")`:typeof t=="string"?`url("${sn$1(t)}")`:null}shouldBlurPlaceholder(t){return !t||!t.hasOwnProperty("blur")?true:!!t.blur}removePlaceholderOnLoad(t){let n=()=>{let o=this.injector.get(D1);r(),s(),this.placeholder=false,o.markForCheck();},r=this.renderer.listen(t,"load",n),s=this.renderer.listen(t,"error",n);this.destroyRef.onDestroy(()=>{r(),s();}),$i$1(t,n);}setHostAttribute(t,n){this.renderer.setAttribute(this.imgElement,t,n);}static \u0275fac=function(n){return new(n||e)};static \u0275dir=mw({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(n,r){n&2&&zg("position",r.fill?"absolute":null)("width",r.fill?"100%":null)("height",r.fill?"100%":null)("inset",r.fill?"0":null)("background-size",r.placeholder?"cover":null)("background-position",r.placeholder?"50% 50%":null)("background-repeat",r.placeholder?"no-repeat":null)("background-image",r.placeholder?r.generatePlaceholder(r.placeholder):null)("filter",r.placeholder&&r.shouldBlurPlaceholder(r.placeholderConfig)?"blur(15px)":null);},inputs:{ngSrc:[2,"ngSrc","ngSrc",Ui$1],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",C1],height:[2,"height","height",C1],decoding:"decoding",loading:"loading",priority:[2,"priority","priority",T1],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",T1],fill:[2,"fill","fill",T1],placeholder:[2,"placeholder","placeholder",ji$1],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[Cv]})}return e})();function xi$1(e){let i={};return e.breakpoints&&(i.breakpoints=e.breakpoints.sort((t,n)=>t-n)),Object.assign({},Yd,e,i)}function $i$1(e,i){e.complete&&e.naturalWidth&&i();}function Ui$1(e){return typeof e=="string"?e:st$2(e)}function ji$1(e){return typeof e=="string"&&e!=="true"&&e!=="false"&&e!==""?e:T1(e)}
6
- var b$3;function T$4(e){b$3??=new TextEncoder;let u=b$3.encode(e),t=new DataView(u.buffer,u.byteOffset,u.byteLength),r=B$2(t,u.length,0),n=B$2(t,u.length,102072);return r==0&&(n==0||n==1)&&(r=r^319790063,n=n^-1801410264),BigInt.asUintN(32,BigInt(r))<<BigInt(32)|BigInt.asUintN(32,BigInt(n))}function te$2(e,u=""){let t=T$4(e);return u&&(t=BigInt.asUintN(64,t<<BigInt(1))|t>>BigInt(63)&BigInt(1),t+=T$4(u)),BigInt.asUintN(63,t).toString()}function B$2(e,u,t){let r=2654435769,n=2654435769,a=0,l=u-12;for(;a<=l;a+=12){r+=e.getUint32(a,true),n+=e.getUint32(a+4,true),t+=e.getUint32(a+8,true);let o=C$1(r,n,t);r=o[0],n=o[1],t=o[2];}let s=u-a;return t+=u,s>=4?(r+=e.getUint32(a,true),a+=4,s>=8?(n+=e.getUint32(a,true),a+=4,s>=9&&(t+=e.getUint8(a++)<<8),s>=10&&(t+=e.getUint8(a++)<<16),s===11&&(t+=e.getUint8(a++)<<24)):(s>=5&&(n+=e.getUint8(a++)),s>=6&&(n+=e.getUint8(a++)<<8),s===7&&(n+=e.getUint8(a++)<<16))):(s>=1&&(r+=e.getUint8(a++)),s>=2&&(r+=e.getUint8(a++)<<8),s===3&&(r+=e.getUint8(a++)<<16)),C$1(r,n,t)[2]}function C$1(e,u,t){return e-=u,e-=t,e^=t>>>13,u-=t,u-=e,u^=e<<8,t-=e,t-=u,t^=u>>>13,e-=u,e-=t,e^=t>>>12,u-=t,u-=e,u^=e<<16,t-=e,t-=u,t^=u>>>5,e-=u,e-=t,e^=t>>>3,u-=t,u-=e,u^=e<<10,t-=e,t-=u,t^=u>>>15,[e,u,t]}function y$4(e,u,t,r,n=[]){let a={},l={},s={},o=ue$4(e[0],e.raw[0]),M=[o.text],$=[],p=o.text;for(let i=1;i<e.length;i++){let{messagePart:P,placeholderName:m=ne$3(i),associatedMessageId:R}=re$3(e[i],e.raw[i]);p+=`{$${m}}${P}`,u!==void 0&&(a[m]=u[i-1],l[m]=n[i-1]),$.push(m),R!==void 0&&(s[m]=R),M.push(P);}let A=o.customId||te$2(p,o.meaning||""),ee=o.legacyIds?o.legacyIds.filter(i=>i!==A):[];return {id:A,legacyIds:ee,substitutions:a,substitutionLocations:l,text:p,customId:o.customId,meaning:o.meaning||"",description:o.description||"",messageParts:M,messagePartLocations:r,placeholderNames:$,associatedMessageIds:s,location:t}}function ue$4(e,u){let{text:t,block:r}=F$4(e,u);if(r===void 0)return {text:t};{let[n,...a]=r.split("\u241F"),[l,s]=n.split("@@",2),[o,M]=l.split("|",2);return M===void 0&&(M=o,o=void 0),M===""&&(M=void 0),{text:t,meaning:o,description:M,customId:s,legacyIds:a}}}function re$3(e,u){let{text:t,block:r}=F$4(e,u);if(r===void 0)return {messagePart:t};{let[n,a]=r.split("@@");return {messagePart:t,placeholderName:n,associatedMessageId:a}}}function F$4(e,u){if(u.charAt(0)!==":")return {text:e};{let t=ae$4(e,u);return {block:e.substring(1,t),text:e.substring(t+1)}}}function ne$3(e){return e===1?"PH":`PH_${e-1}`}function ae$4(e,u){for(let t=1,r=1;t<e.length;t++,r++)if(u[r]==="\\")r++;else if(e[t]===":")return t;throw new Error(`Unterminated $localize metadata block in "${u}".`)}var D$6=class D extends Error{parsedMessage;type="MissingTranslationError";constructor(u){super(`No translation found for ${U$3(u)}.`),this.parsedMessage=u;}};function se$3(e,u,t){let r=y$4(u,t),n=e[r.id];if(r.legacyIds!==void 0)for(let a=0;a<r.legacyIds.length&&n===void 0;a++)n=e[r.legacyIds[a]];if(n===void 0)throw new D$6(r);return [n.messageParts,n.placeholderNames.map(a=>{if(r.substitutions.hasOwnProperty(a))return r.substitutions[a];throw new Error(`There is a placeholder name mismatch with the translation provided for the message ${U$3(r)}.
7
- The translation contains a placeholder with name ${a}, which does not exist in the message.`)})]}function ie$1(e){let u=e.split(/{\$([^}]*)}/),t=[u[0]],r=[];for(let a=1;a<u.length-1;a+=2)r.push(u[a]),t.push(`${u[a+1]}`);let n=t.map(a=>a.charAt(0)===":"?"\\"+a:a);return {text:e,messageParts:le$2(t,n),placeholderNames:r}}function le$2(e,u){return Object.defineProperty(e,"raw",{value:u}),e}function U$3(e){let u=e.meaning&&` - "${e.meaning}"`,t=e.legacyIds&&e.legacyIds.length>0?` [${e.legacyIds.map(r=>`"${r}"`).join(", ")}]`:"";return `"${e.id}"${t} ("${e.text}"${u})`}function L$3(e){$localize.translate||($localize.translate=Me$3),$localize.TRANSLATIONS||($localize.TRANSLATIONS={}),Object.keys(e).forEach(u=>{$localize.TRANSLATIONS[u]=ie$1(e[u]);});}function Me$3(e,u){try{return se$3($localize.TRANSLATIONS,e,u)}catch(t){return console.warn(t.message),[e,u]}}function me$3(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:t===Math.floor(t)&&t>=2&&t<=4&&r===0?3:r!==0?4:5}var J$4=["cs",[["dop.","odp."]],void 0,[["N","P","\xDA","S","\u010C","P","S"],["ne","po","\xFAt","st","\u010Dt","p\xE1","so"],["ned\u011Ble","pond\u011Bl\xED","\xFAter\xFD","st\u0159eda","\u010Dtvrtek","p\xE1tek","sobota"],["ne","po","\xFAt","st","\u010Dt","p\xE1","so"]],void 0,[["1","2","3","4","5","6","7","8","9","10","11","12"],["led","\xFAno","b\u0159e","dub","kv\u011B","\u010Dvn","\u010Dvc","srp","z\xE1\u0159","\u0159\xEDj","lis","pro"],["ledna","\xFAnora","b\u0159ezna","dubna","kv\u011Btna","\u010Dervna","\u010Dervence","srpna","z\xE1\u0159\xED","\u0159\xEDjna","listopadu","prosince"]],[["1","2","3","4","5","6","7","8","9","10","11","12"],["led","\xFAno","b\u0159e","dub","kv\u011B","\u010Dvn","\u010Dvc","srp","z\xE1\u0159","\u0159\xEDj","lis","pro"],["leden","\xFAnor","b\u0159ezen","duben","kv\u011Bten","\u010Derven","\u010Dervenec","srpen","z\xE1\u0159\xED","\u0159\xEDjen","listopad","prosinec"]],[["p\u0159.n.l.","n.l."],["p\u0159. n. l.","n. l."],["p\u0159ed na\u0161\xEDm letopo\u010Dtem","na\u0161eho letopo\u010Dtu"]],1,[6,0],["dd.MM.yy","d. M. y","d. MMMM y","EEEE d. MMMM y"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss, zzzz"],["{1} {0}",void 0,void 0,void 0],[",","\xA0",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"CZK","K\u010D","\u010Desk\xE1 koruna",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],CSK:["K\u010Ds"],CZK:["K\u010D"],ILS:[void 0,"\u20AA"],INR:[void 0,"\u20B9"],JPY:["JP\xA5","\xA5"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],RUR:[void 0,"\u0440."],TWD:["NT$"],USD:["US$","$"],VND:[void 0,"\u20AB"],XEU:["ECU"],XXX:[]},"ltr",me$3];function de$3(e){let u=e,t=Math.floor(Math.abs(e)),r=parseInt(e.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;return u===1||r!==0&&(t===0||t===1)?1:5}var K$2=["da",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","O","T","F","L"],["s\xF8n.","man.","tirs.","ons.","tors.","fre.","l\xF8r."],["s\xF8ndag","mandag","tirsdag","onsdag","torsdag","fredag","l\xF8rdag"],["s\xF8.","ma.","ti.","on.","to.","fr.","l\xF8."]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","feb.","mar.","apr.","maj","jun.","jul.","aug.","sep.","okt.","nov.","dec."],["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"]],void 0,[["fKr","eKr"],["f.Kr.","e.Kr."],["f\xF8r Kristus","efter Kristus"]],1,[6,0],["dd.MM.y","d. MMM y","d. MMMM y","EEEE 'den' d. MMMM y"],["HH.mm","HH.mm.ss","HH.mm.ss z","HH.mm.ss zzzz"],["{1} {0}",void 0,void 0,void 0],[",",".",";","%","+","-","E","\xD7","\u2030","\u221E","NaN","."],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"DKK","kr.","dansk krone",{AUD:["AU$","$"],BYN:[void 0,"Br."],DKK:["kr."],ISK:[void 0,"kr."],JPY:["JP\xA5","\xA5"],NOK:[void 0,"kr."],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],SEK:[void 0,"kr."],THB:["\u0E3F"],TWD:["NT$"],USD:["US$","$"]},"ltr",de$3];function ce$3(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var E$2=["de",[["AM","PM"]],void 0,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","M\xE4rz","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","M\xE4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."]],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,void 0,void 0],[",",".",";","%","+","-","E","\xB7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","Euro",{ATS:["\xF6S"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],BYN:[void 0,"\u0440."],CUC:[void 0,"Cub$"],DEM:["DM"],FKP:[void 0,"Fl\xA3"],GHS:[void 0,"\u20B5"],GNF:[void 0,"F.G."],KMF:[void 0,"FC"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],RUR:[void 0,"\u0440."],RWF:[void 0,"F.Rw"],SYP:[void 0,"SYP"],THB:["\u0E3F"],TWD:["NT$"],XXX:[],ZMW:[void 0,"K"]},"ltr",ce$3];function fe$3(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var k$6=["de-CH",[["AM","PM"]],void 0,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So","Mo","Di","Mi","Do","Fr","Sa"]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So","Mo","Di","Mi","Do","Fr","Sa"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","M\xE4rz","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","M\xE4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."]],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,void 0,void 0],[".","\u2019",";","%","+","-","E","\xB7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4\xA0#,##0.00;\xA4-#,##0.00","#E0"],"CHF",void 0,"Schweizer Franken",{ATS:["\xF6S"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],BYN:[void 0,"\u0440."],CUC:[void 0,"Cub$"],DEM:["DM"],EUR:[],FKP:[void 0,"Fl\xA3"],GHS:[void 0,"\u20B5"],GNF:[void 0,"F.G."],KMF:[void 0,"FC"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],RUR:[void 0,"\u0440."],RWF:[void 0,"F.Rw"],SYP:[void 0,"SYP"],THB:["\u0E3F"],TWD:["NT$"],XXX:[],ZMW:[void 0,"K"]},"ltr",fe$3];function pe$3(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var I=["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"]],void 0,[["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"]],void 0,[["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}",void 0,void 0,void 0],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",pe$3];function Se$4(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var O$3=["en-GB",[["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"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sept","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],void 0,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE, d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,void 0,void 0],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"GBP","\xA3","British Pound",{JPY:["JP\xA5","\xA5"],USD:["US$","$"]},"ltr",Se$4];function De$4(e){let u=e,t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length,n=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return u===1?1:n===0&&t!==0&&t%1e6===0&&r===0||!(n>=0&&n<=5)?4:5}var z$6=["es",[["a.\u202Fm.","p.\u202Fm."],void 0,["a.\xA0m.","p.\xA0m."]],void 0,[["D","L","M","X","J","V","S"],["dom","lun","mar","mi\xE9","jue","vie","s\xE1b"],["domingo","lunes","martes","mi\xE9rcoles","jueves","viernes","s\xE1bado"],["DO","LU","MA","MI","JU","VI","SA"]],void 0,[["E","F","M","A","M","J","J","A","S","O","N","D"],["ene","feb","mar","abr","may","jun","jul","ago","sept","oct","nov","dic"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]],void 0,[["a. C.","d. C."],void 0,["antes de Cristo","despu\xE9s de Cristo"]],1,[6,0],["d/M/yy","d MMM y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss (zzzz)"],["{1}, {0}",void 0,void 0,void 0],[",",".",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","euro",{AUD:[void 0,"$"],BRL:[void 0,"R$"],BYN:[void 0,"\u0440."],CAD:[void 0,"$"],CNY:[void 0,"\xA5"],EGP:[void 0,"EGP"],ESP:["\u20A7"],GBP:[void 0,"\xA3"],HKD:[void 0,"$"],ILS:[void 0,"\u20AA"],INR:[void 0,"\u20B9"],JPY:[void 0,"\xA5"],KRW:[void 0,"\u20A9"],MXN:[void 0,"$"],NZD:[void 0,"$"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],THB:["\u0E3F"],TWD:[void 0,"NT$"],USD:["US$","$"],XAF:[],XCD:[void 0,"$"],XOF:[]},"ltr",De$4];var j$4=[[["\u5348\u591C","\u65E9\u4E0A","\u4E0A\u5348","\u4E2D\u5348","\u4E0B\u5348","\u665A\u4E0A","\u51CC\u6668"],void 0,["\u5348\u591C","\u6E05\u6668","\u4E0A\u5348","\u4E2D\u5348","\u4E0B\u5348","\u665A\u4E0A","\u51CC\u6668"]],[["\u5348\u591C","\u65E9\u4E0A","\u4E0A\u5348","\u4E2D\u5348","\u4E0B\u5348","\u665A\u4E0A","\u51CC\u6668"],void 0,void 0],["00:00",["05:00","08:00"],["08:00","12:00"],["12:00","13:00"],["13:00","19:00"],["19:00","24:00"],["00:00","05:00"]]];var v$5=[[["\u5348\u591C","\u6E05\u6668","\u4E0A\u5348","\u4E2D\u5348","\u4E0B\u5348","\u665A\u4E0A","\u51CC\u6668"],void 0,void 0],void 0,["00:00",["05:00","08:00"],["08:00","12:00"],["12:00","13:00"],["13:00","19:00"],["19:00","24:00"],["00:00","05:00"]]];function Ee$3(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var G$6=["fi",[["ap.","ip."]],void 0,[["S","M","T","K","T","P","L"],["su","ma","ti","ke","to","pe","la"],["sunnuntai","maanantaina","tiistaina","keskiviikkona","torstaina","perjantaina","lauantaina"],["su","ma","ti","ke","to","pe","la"]],[["S","M","T","K","T","P","L"],["su","ma","ti","ke","to","pe","la"],["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"],["su","ma","ti","ke","to","pe","la"]],[["T","H","M","H","T","K","H","E","S","L","M","J"],["tammi","helmi","maalis","huhti","touko","kes\xE4","hein\xE4","elo","syys","loka","marras","joulu"],["tammikuuta","helmikuuta","maaliskuuta","huhtikuuta","toukokuuta","kes\xE4kuuta","hein\xE4kuuta","elokuuta","syyskuuta","lokakuuta","marraskuuta","joulukuuta"]],[["T","H","M","H","T","K","H","E","S","L","M","J"],["tammi","helmi","maalis","huhti","touko","kes\xE4","hein\xE4","elo","syys","loka","marras","joulu"],["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kes\xE4kuu","hein\xE4kuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"]],[["eKr","jKr"],["eKr.","jKr."],["ennen Kristuksen syntym\xE4\xE4","j\xE4lkeen Kristuksen syntym\xE4n"]],1,[6,0],["d.M.y",void 0,"d. MMMM y","cccc d. MMMM y"],["H.mm","H.mm.ss","H.mm.ss z","H.mm.ss zzzz"],["{1} {0}",void 0,void 0,void 0],[",","\xA0",";","%","+","\u2212","E","\xD7","\u2030","\u221E","ep\xE4luku","."],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","euro",{AOA:[void 0,"AOA"],ARS:[void 0,"ARS"],AUD:[],BAM:[void 0,"BAM"],BBD:[void 0,"BBD"],BDT:[void 0,"BDT"],BMD:[void 0,"BMD"],BND:[void 0,"BND"],BOB:[void 0,"BOB"],BRL:[],BSD:[void 0,"BSD"],BWP:[void 0,"BWP"],BZD:[void 0,"BZD"],CAD:[],CLP:[void 0,"CLP"],CNY:[],COP:[void 0,"COP"],CRC:[void 0,"CRC"],CUC:[void 0,"CUC"],CUP:[void 0,"CUP"],CZK:[void 0,"CZK"],DKK:[void 0,"DKK"],DOP:[void 0,"DOP"],EGP:[void 0,"EGP"],ESP:[void 0,"ESP"],FIM:["mk"],FJD:[void 0,"FJD"],FKP:[void 0,"FKP"],GEL:[void 0,"GEL"],GIP:[void 0,"GIP"],GNF:[void 0,"GNF"],GTQ:[void 0,"GTQ"],GYD:[void 0,"GYD"],HKD:[],HNL:[void 0,"HNL"],HRK:[void 0,"HRK"],HUF:[void 0,"HUF"],IDR:[void 0,"IDR"],ILS:[],INR:[],ISK:[void 0,"ISK"],JMD:[void 0,"JMD"],KHR:[void 0,"KHR"],KMF:[void 0,"KMF"],KPW:[void 0,"KPW"],KRW:[],KYD:[void 0,"KYD"],KZT:[void 0,"KZT"],LAK:[void 0,"LAK"],LBP:[void 0,"LBP"],LKR:[void 0,"LKR"],LRD:[void 0,"LRD"],LTL:[void 0,"LTL"],LVL:[void 0,"LVL"],MGA:[void 0,"MGA"],MMK:[void 0,"MMK"],MNT:[void 0,"MNT"],MUR:[void 0,"MUR"],MXN:[],MYR:[void 0,"MYR"],NAD:[void 0,"NAD"],NGN:[void 0,"NGN"],NIO:[void 0,"NIO"],NOK:[void 0,"NOK"],NPR:[void 0,"NPR"],NZD:[],PHP:[],PKR:[void 0,"PKR"],PLN:[void 0,"PLN"],PYG:[void 0,"PYG"],RON:[void 0,"RON"],RWF:[void 0,"RWF"],SBD:[void 0,"SBD"],SEK:[void 0,"SEK"],SGD:[void 0,"SGD"],SHP:[void 0,"SHP"],SRD:[void 0,"SRD"],SSP:[void 0,"SSP"],STN:[void 0,"STD"],SYP:[void 0,"SYP"],THB:[void 0,"THB"],TOP:[void 0,"TOP"],TRY:[void 0,"TRY"],TTD:[void 0,"TTD"],TWD:[],UAH:[void 0,"UAH"],UYU:[void 0,"UYU"],VEF:[void 0,"VEF"],VND:[],XCD:[],XPF:[],XXX:[],ZAR:[void 0,"ZAR"],ZMW:[void 0,"ZMW"]},"ltr",Ee$3];function ze$3(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length,n=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return t===0||t===1?1:n===0&&t!==0&&t%1e6===0&&r===0||!(n>=0&&n<=5)?4:5}var H$5=["fr",[["AM","PM"]],void 0,[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","f\xE9vr.","mars","avr.","mai","juin","juil.","ao\xFBt","sept.","oct.","nov.","d\xE9c."],["janvier","f\xE9vrier","mars","avril","mai","juin","juillet","ao\xFBt","septembre","octobre","novembre","d\xE9cembre"]],void 0,[["av. J.-C.","ap. J.-C."],void 0,["avant J\xE9sus-Christ","apr\xE8s J\xE9sus-Christ"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}","{1}, {0}",void 0,void 0],[",","\u202F",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","euro",{ARS:["$AR","$"],AUD:["$AU","$"],BEF:["FB"],BMD:["$BM","$"],BND:["$BN","$"],BYN:[void 0,"\u0440."],BZD:["$BZ","$"],CAD:["$CA","$"],CLP:["$CL","$"],CNY:[void 0,"\xA5"],COP:["$CO","$"],CYP:["\xA3CY"],EGP:[void 0,"\xA3E"],FJD:["$FJ","$"],FKP:["\xA3FK","\xA3"],FRF:["F"],GBP:["\xA3GB","\xA3"],GIP:["\xA3GI","\xA3"],HKD:[void 0,"$"],IEP:["\xA3IE"],ILP:["\xA3IL"],ITL:["\u20A4IT"],JPY:[void 0,"\xA5"],KMF:[void 0,"FC"],LBP:["\xA3LB","\xA3L"],MTP:["\xA3MT"],MXN:["$MX","$"],NAD:["$NA","$"],NIO:[void 0,"$C"],NZD:["$NZ","$"],PHP:[void 0,"\u20B1"],RHD:["$RH"],RON:[void 0,"L"],RWF:[void 0,"FR"],SBD:["$SB","$"],SGD:["$SG","$"],SRD:["$SR","$"],TOP:[void 0,"$T"],TTD:["$TT","$"],TWD:[void 0,"NT$"],USD:["$US","$"],UYU:["$UY","$"],WST:["$WS"],XCD:[void 0,"$"],XPF:["FCFP"],ZMW:[void 0,"Kw"]},"ltr",ze$3];function He$4(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length,n=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return t===0||t===1?1:n===0&&t!==0&&t%1e6===0&&r===0||!(n>=0&&n<=5)?4:5}var Y$2=["fr-CA",[["a","p"],["a.m.","p.m."]],[["a.m.","p.m."]],[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","f\xE9vr.","mars","avr.","mai","juin","juill.","ao\xFBt","sept.","oct.","nov.","d\xE9c."],["janvier","f\xE9vrier","mars","avril","mai","juin","juillet","ao\xFBt","septembre","octobre","novembre","d\xE9cembre"]],void 0,[["av. J.-C.","ap. J.-C."],void 0,["avant J\xE9sus-Christ","apr\xE8s J\xE9sus-Christ"]],0,[6,0],["y-MM-dd","d MMM y","d MMMM y","EEEE d MMMM y"],["HH 'h' mm","HH 'h' mm 'min' ss 's'","HH 'h' mm 'min' ss 's' z","HH 'h' mm 'min' ss 's' zzzz"],["{1} {0}","{1}, {0}",void 0,void 0],[",","\xA0",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"CAD","$","dollar canadien",{AUD:["$\xA0AU","$"],BEF:["FB"],BYN:[void 0,"Br"],CAD:["$"],CYP:["\xA3CY"],EGP:[void 0,"\xA3E"],FRF:["F"],GEL:[void 0,"GEL"],HKD:["$\xA0HK","$"],IEP:["\xA3IE"],ILP:["\xA3IL"],ILS:[void 0,"\u20AA"],INR:[void 0,"\u20B9"],ITL:["\u20A4IT"],KRW:[void 0,"\u20A9"],LBP:[void 0,"\xA3L"],MTP:["\xA3MT"],MXN:[void 0,"$"],NZD:["$\xA0NZ","$"],PHP:[void 0,"\u20B1"],RHD:["$RH"],RON:[void 0,"L"],RWF:[void 0,"FR"],SGD:["$\xA0SG","$"],TOP:[void 0,"$T"],TWD:[void 0,"NT$"],USD:["$\xA0US","$"],VND:[void 0,"\u20AB"],XAF:[],XCD:[void 0,"$"],XOF:[],XPF:[]},"ltr",He$4];function he$2(e){return e===1?1:5}var X$4=["hu",[["de.","du."]],void 0,[["V","H","K","Sz","Cs","P","Sz"],["V","H","K","Sze","Cs","P","Szo"],["vas\xE1rnap","h\xE9tf\u0151","kedd","szerda","cs\xFCt\xF6rt\xF6k","p\xE9ntek","szombat"],["V","H","K","Sze","Cs","P","Szo"]],void 0,[["J","F","M","\xC1","M","J","J","A","Sz","O","N","D"],["jan.","febr.","m\xE1rc.","\xE1pr.","m\xE1j.","j\xFAn.","j\xFAl.","aug.","szept.","okt.","nov.","dec."],["janu\xE1r","febru\xE1r","m\xE1rcius","\xE1prilis","m\xE1jus","j\xFAnius","j\xFAlius","augusztus","szeptember","okt\xF3ber","november","december"]],void 0,[["ie.","isz."],["i. e.","i. sz."],["Krisztus el\u0151tt","id\u0151sz\xE1m\xEDt\xE1sunk szerint"]],1,[6,0],["y. MM. dd.","y. MMM d.","y. MMMM d.","y. MMMM d., EEEE"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss zzzz"],["{1} {0}",void 0,void 0,void 0],[",","\xA0",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xA0\xA4","#E0"],"HUF","Ft","magyar forint",{AUD:[void 0,"$"],BRL:[void 0,"R$"],BYN:[void 0,"\u0440."],CAD:[void 0,"$"],CNY:[void 0,"\xA5"],EUR:[void 0,"\u20AC"],GBP:[void 0,"\xA3"],HKD:[void 0,"$"],HUF:["Ft"],ILS:[void 0,"\u20AA"],INR:[void 0,"\u20B9"],KRW:[void 0,"\u20A9"],MXN:[void 0,"$"],NZD:[void 0,"$"],PHP:[void 0,"\u20B1"],TWD:[void 0,"NT$"],USD:[void 0,"$"],VND:[void 0,"\u20AB"],XCD:[void 0,"$"]},"ltr",he$2];function ge$2(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length,n=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return t===1&&r===0?1:n===0&&t!==0&&t%1e6===0&&r===0||!(n>=0&&n<=5)?4:5}var h$4=["it",[["m.","p."],["AM","PM"]],void 0,[["D","L","M","M","G","V","S"],["dom","lun","mar","mer","gio","ven","sab"],["domenica","luned\xEC","marted\xEC","mercoled\xEC","gioved\xEC","venerd\xEC","sabato"],["dom","lun","mar","mer","gio","ven","sab"]],void 0,[["G","F","M","A","M","G","L","A","S","O","N","D"],["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]],void 0,[["aC","dC"],["a.C.","d.C."],["avanti Cristo","dopo Cristo"]],1,[6,0],["dd/MM/yy","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,"{1} {0}",void 0],[",",".",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","euro",{BRL:[void 0,"R$"],BYN:[void 0,"Br"],EGP:[void 0,"\xA3E"],HKD:[void 0,"$"],INR:[void 0,"\u20B9"],JPY:[void 0,"\xA5"],KRW:[void 0,"\u20A9"],MXN:[void 0,"$"],NOK:[void 0,"NKr"],THB:["\u0E3F"],TWD:[void 0,"NT$"],USD:[void 0,"$"],VND:[void 0,"\u20AB"]},"ltr",ge$2];function Ne$4(e){return 5}var W$4=["ja",[["\u5348\u524D","\u5348\u5F8C"]],void 0,[["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"],void 0,["\u65E5\u66DC\u65E5","\u6708\u66DC\u65E5","\u706B\u66DC\u65E5","\u6C34\u66DC\u65E5","\u6728\u66DC\u65E5","\u91D1\u66DC\u65E5","\u571F\u66DC\u65E5"],["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"]],void 0,[["1","2","3","4","5","6","7","8","9","10","11","12"],["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"]],void 0,[["BC","AD"],["\u7D00\u5143\u524D","\u897F\u66A6"]],0,[6,0],["y/MM/dd",void 0,"y\u5E74M\u6708d\u65E5","y\u5E74M\u6708d\u65E5EEEE"],["H:mm","H:mm:ss","H:mm:ss z","H\u6642mm\u5206ss\u79D2 zzzz"],["{1} {0}",void 0,void 0,void 0],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"JPY","\uFFE5","\u65E5\u672C\u5186",{BYN:[void 0,"\u0440."],CNY:["\u5143","\uFFE5"],JPY:["\uFFE5"],PHP:[void 0,"\u20B1"],RON:[void 0,"\u30EC\u30A4"],XXX:[]},"ltr",Ne$4];function $e$4(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var x$5=["nl",[["a.m.","p.m."]],void 0,[["Z","M","D","W","D","V","Z"],["zo","ma","di","wo","do","vr","za"],["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],["zo","ma","di","wo","do","vr","za"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]],void 0,[["v.C.","n.C."],["v.Chr.","n.Chr."],["voor Christus","na Christus"]],1,[6,0],["dd-MM-y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,void 0,void 0],[",",".",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4\xA0#,##0.00;\xA4\xA0-#,##0.00","#E0"],"EUR","\u20AC","Euro",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],CAD:["C$","$"],FJD:["FJ$","$"],JPY:["JP\xA5","\xA5"],PHP:[void 0,"\u20B1"],RUR:[void 0,"\u0440."],SBD:["SI$","$"],THB:["\u0E3F"],TWD:["NT$"],USD:["US$","$"],XCG:["Cg.","Cg"],XPF:[],XXX:[]},"ltr",$e$4];function Ae$4(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var w$5=["nl-BE",[["a.m.","p.m."]],void 0,[["Z","M","D","W","D","V","Z"],["zo","ma","di","wo","do","vr","za"],["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],["zo","ma","di","wo","do","vr","za"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]],void 0,[["v.C.","n.C."],["v.Chr.","n.Chr."],["voor Christus","na Christus"]],1,[6,0],["d/MM/y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,void 0,void 0],[",",".",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4\xA0#,##0.00;\xA4\xA0-#,##0.00","#E0"],"EUR","\u20AC","Euro",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],CAD:["C$","$"],FJD:["FJ$","$"],JPY:["JP\xA5","\xA5"],PHP:[void 0,"\u20B1"],RUR:[void 0,"\u0440."],SBD:["SI$","$"],THB:["\u0E3F"],TWD:["NT$"],USD:["US$","$"],XCG:["Cg.","Cg"],XPF:[],XXX:[]},"ltr",Ae$4];function Pe$5(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:r===0&&t%10===Math.floor(t%10)&&t%10>=2&&t%10<=4&&!(t%100>=12&&t%100<=14)?3:r===0&&t!==1&&t%10===Math.floor(t%10)&&t%10>=0&&t%10<=1||r===0&&t%10===Math.floor(t%10)&&t%10>=5&&t%10<=9||r===0&&t%100===Math.floor(t%100)&&t%100>=12&&t%100<=14?4:5}var Z$2=["pl",[["a","p"],["AM","PM"]],void 0,[["n","p","w","\u015B","c","p","s"],["niedz.","pon.","wt.","\u015Br.","czw.","pt.","sob."],["niedziela","poniedzia\u0142ek","wtorek","\u015Broda","czwartek","pi\u0105tek","sobota"],["nie","pon","wto","\u015Bro","czw","pi\u0105","sob"]],[["N","P","W","\u015A","C","P","S"],["niedz.","pon.","wt.","\u015Br.","czw.","pt.","sob."],["niedziela","poniedzia\u0142ek","wtorek","\u015Broda","czwartek","pi\u0105tek","sobota"],["nie","pon","wto","\u015Bro","czw","pi\u0105","sob"]],[["s","l","m","k","m","c","l","s","w","p","l","g"],["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","pa\u017A","lis","gru"],["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","wrze\u015Bnia","pa\u017Adziernika","listopada","grudnia"]],[["S","L","M","K","M","C","L","S","W","P","L","G"],["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","pa\u017A","lis","gru"],["stycze\u0144","luty","marzec","kwiecie\u0144","maj","czerwiec","lipiec","sierpie\u0144","wrzesie\u0144","pa\u017Adziernik","listopad","grudzie\u0144"]],[["p.n.e.","n.e."],void 0,["przed nasz\u0105 er\u0105","naszej ery"]],1,[6,0],["d.MM.y","d MMM y","d MMMM y","EEEE, d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,"{1} {0}",void 0],[",","\xA0",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xA0\xA4","#E0"],"PLN","z\u0142","z\u0142oty polski",{AUD:[void 0,"$"],CAD:[void 0,"$"],CNY:[void 0,"\xA5"],GBP:[void 0,"\xA3"],HKD:[void 0,"$"],ILS:[void 0,"\u20AA"],INR:[void 0,"\u20B9"],JPY:[void 0,"\xA5"],KRW:[void 0,"\u20A9"],MXN:[void 0,"$"],NZD:[void 0,"$"],PHP:[void 0,"\u20B1"],PLN:["z\u0142"],RON:[void 0,"lej"],TWD:[void 0,"NT$"],USD:[void 0,"$"],VND:[void 0,"\u20AB"]},"ltr",Pe$5];function Re$4(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length,n=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return t===Math.floor(t)&&t>=0&&t<=1?1:n===0&&t!==0&&t%1e6===0&&r===0||!(n>=0&&n<=5)?4:5}var g$4=["pt",[["AM","PM"]],void 0,[["D","S","T","Q","Q","S","S"],["dom.","seg.","ter.","qua.","qui.","sex.","s\xE1b."],["domingo","segunda-feira","ter\xE7a-feira","quarta-feira","quinta-feira","sexta-feira","s\xE1bado"],["dom.","seg.","ter.","qua.","qui.","sex.","s\xE1b."]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","fev.","mar.","abr.","mai.","jun.","jul.","ago.","set.","out.","nov.","dez."],["janeiro","fevereiro","mar\xE7o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]],void 0,[["a.C.","d.C."],void 0,["antes de Cristo","depois de Cristo"]],0,[6,0],["dd/MM/y","d 'de' MMM 'de' y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",void 0,void 0,void 0],[",",".",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4\xA0#,##0.00","#E0"],"BRL","R$","Real brasileiro",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],JPY:["JP\xA5","\xA5"],PHP:[void 0,"\u20B1"],PTE:["Esc."],RON:[void 0,"L"],SYP:[void 0,"S\xA3"],THB:["\u0E3F"],TWD:["NT$"],USD:["US$","$"]},"ltr",Re$4];function be$5(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return r===0&&t%10===1&&t%100!==11?1:r===0&&t%10===Math.floor(t%10)&&t%10>=2&&t%10<=4&&!(t%100>=12&&t%100<=14)?3:r===0&&t%10===0||r===0&&t%10===Math.floor(t%10)&&t%10>=5&&t%10<=9||r===0&&t%100===Math.floor(t%100)&&t%100>=11&&t%100<=14?4:5}var _$1=["ru",[["AM","PM"]],void 0,[["\u0412","\u041F","\u0412","\u0421","\u0427","\u041F","\u0421"],["\u0432\u0441","\u043F\u043D","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043F\u0442","\u0441\u0431"],["\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435","\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A","\u0432\u0442\u043E\u0440\u043D\u0438\u043A","\u0441\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0435\u0440\u0433","\u043F\u044F\u0442\u043D\u0438\u0446\u0430","\u0441\u0443\u0431\u0431\u043E\u0442\u0430"],["\u0432\u0441","\u043F\u043D","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043F\u0442","\u0441\u0431"]],void 0,[["\u042F","\u0424","\u041C","\u0410","\u041C","\u0418","\u0418","\u0410","\u0421","\u041E","\u041D","\u0414"],["\u044F\u043D\u0432.","\u0444\u0435\u0432\u0440.","\u043C\u0430\u0440.","\u0430\u043F\u0440.","\u043C\u0430\u044F","\u0438\u044E\u043D.","\u0438\u044E\u043B.","\u0430\u0432\u0433.","\u0441\u0435\u043D\u0442.","\u043E\u043A\u0442.","\u043D\u043E\u044F\u0431.","\u0434\u0435\u043A."],["\u044F\u043D\u0432\u0430\u0440\u044F","\u0444\u0435\u0432\u0440\u0430\u043B\u044F","\u043C\u0430\u0440\u0442\u0430","\u0430\u043F\u0440\u0435\u043B\u044F","\u043C\u0430\u044F","\u0438\u044E\u043D\u044F","\u0438\u044E\u043B\u044F","\u0430\u0432\u0433\u0443\u0441\u0442\u0430","\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F","\u043E\u043A\u0442\u044F\u0431\u0440\u044F","\u043D\u043E\u044F\u0431\u0440\u044F","\u0434\u0435\u043A\u0430\u0431\u0440\u044F"]],[["\u042F","\u0424","\u041C","\u0410","\u041C","\u0418","\u0418","\u0410","\u0421","\u041E","\u041D","\u0414"],["\u044F\u043D\u0432.","\u0444\u0435\u0432\u0440.","\u043C\u0430\u0440\u0442","\u0430\u043F\u0440.","\u043C\u0430\u0439","\u0438\u044E\u043D\u044C","\u0438\u044E\u043B\u044C","\u0430\u0432\u0433.","\u0441\u0435\u043D\u0442.","\u043E\u043A\u0442.","\u043D\u043E\u044F\u0431.","\u0434\u0435\u043A."],["\u044F\u043D\u0432\u0430\u0440\u044C","\u0444\u0435\u0432\u0440\u0430\u043B\u044C","\u043C\u0430\u0440\u0442","\u0430\u043F\u0440\u0435\u043B\u044C","\u043C\u0430\u0439","\u0438\u044E\u043D\u044C","\u0438\u044E\u043B\u044C","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C","\u043E\u043A\u0442\u044F\u0431\u0440\u044C","\u043D\u043E\u044F\u0431\u0440\u044C","\u0434\u0435\u043A\u0430\u0431\u0440\u044C"]],[["\u0434\u043E \u043D.\u044D.","\u043D.\u044D."],["\u0434\u043E \u043D. \u044D.","\u043D. \u044D."],["\u0434\u043E \u0420\u043E\u0436\u0434\u0435\u0441\u0442\u0432\u0430 \u0425\u0440\u0438\u0441\u0442\u043E\u0432\u0430","\u043E\u0442 \u0420\u043E\u0436\u0434\u0435\u0441\u0442\u0432\u0430 \u0425\u0440\u0438\u0441\u0442\u043E\u0432\u0430"]],1,[6,0],["dd.MM.y","d MMM y\u202F'\u0433'.","d MMMM y\u202F'\u0433'.","EEEE, d MMMM y\u202F'\u0433'."],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,void 0,void 0],[",","\xA0",";","%","+","-","E","\xD7","\u2030","\u221E","\u043D\u0435\xA0\u0447\u0438\u0441\u043B\u043E",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"RUB","\u20BD","\u0440\u043E\u0441\u0441\u0438\u0439\u0441\u043A\u0438\u0439 \u0440\u0443\u0431\u043B\u044C",{BYN:[void 0,"\u0440."],GEL:[void 0,"\u10DA"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],RUB:["\u20BD"],RUR:["\u0440."],THB:["\u0E3F"],TMT:["\u0422\u041C\u0422"],TWD:["NT$"],UAH:["\u20B4"],XXX:["XXXX"]},"ltr",be$5];function Te$3(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length,n=parseInt(e.toString().replace(/^[^.]*\.?/,""),10)||0;return r===0&&t%10===1&&t%100!==11||n%10===1&&n%100!==11?1:r===0&&t%10===Math.floor(t%10)&&t%10>=2&&t%10<=4&&!(t%100>=12&&t%100<=14)||n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?3:5}var V$8=["sr",[["AM","PM"]],void 0,[["\u043D","\u043F","\u0443","\u0441","\u0447","\u043F","\u0441"],["\u043D\u0435\u0434","\u043F\u043E\u043D","\u0443\u0442\u043E","\u0441\u0440\u0435","\u0447\u0435\u0442","\u043F\u0435\u0442","\u0441\u0443\u0431"],["\u043D\u0435\u0434\u0435\u0459\u0430","\u043F\u043E\u043D\u0435\u0434\u0435\u0459\u0430\u043A","\u0443\u0442\u043E\u0440\u0430\u043A","\u0441\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043A","\u043F\u0435\u0442\u0430\u043A","\u0441\u0443\u0431\u043E\u0442\u0430"],["\u043D\u0435","\u043F\u043E","\u0443\u0442","\u0441\u0440","\u0447\u0435","\u043F\u0435","\u0441\u0443"]],void 0,[["\u0458","\u0444","\u043C","\u0430","\u043C","\u0458","\u0458","\u0430","\u0441","\u043E","\u043D","\u0434"],["\u0458\u0430\u043D","\u0444\u0435\u0431","\u043C\u0430\u0440","\u0430\u043F\u0440","\u043C\u0430\u0458","\u0458\u0443\u043D","\u0458\u0443\u043B","\u0430\u0432\u0433","\u0441\u0435\u043F","\u043E\u043A\u0442","\u043D\u043E\u0432","\u0434\u0435\u0446"],["\u0458\u0430\u043D\u0443\u0430\u0440","\u0444\u0435\u0431\u0440\u0443\u0430\u0440","\u043C\u0430\u0440\u0442","\u0430\u043F\u0440\u0438\u043B","\u043C\u0430\u0458","\u0458\u0443\u043D","\u0458\u0443\u043B","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043F\u0442\u0435\u043C\u0431\u0430\u0440","\u043E\u043A\u0442\u043E\u0431\u0430\u0440","\u043D\u043E\u0432\u0435\u043C\u0431\u0430\u0440","\u0434\u0435\u0446\u0435\u043C\u0431\u0430\u0440"]],void 0,[["\u043F.\u043D.\u0435.","\u043D.\u0435."],["\u043F. \u043D. \u0435.","\u043D. \u0435."],["\u043F\u0440\u0435 \u043D\u043E\u0432\u0435 \u0435\u0440\u0435","\u043D\u043E\u0432\u0435 \u0435\u0440\u0435"]],1,[6,0],["d. M. y.",void 0,"d. MMMM y.","EEEE, d. MMMM y."],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",void 0,void 0,void 0],[",",".",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xA0\xA4","#E0"],"RSD",void 0,"\u0441\u0440\u043F\u0441\u043A\u0438 \u0434\u0438\u043D\u0430\u0440",{AUD:[void 0,"$"],BAM:["\u041A\u041C","KM"],BYN:[void 0,"\u0440."],GEL:[void 0,"\u10DA"],KRW:[void 0,"\u20A9"],NZD:[void 0,"$"],PHP:[void 0,"\u20B1"],TWD:["NT$"],USD:["US$","$"],VND:[void 0,"\u20AB"]},"ltr",Te$3];function Be$5(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var q$5=["sv",[["fm","em"]],[["fm","em"],void 0,["f\xF6rmiddag","eftermiddag"]],[["S","M","T","O","T","F","L"],["s\xF6n","m\xE5n","tis","ons","tors","fre","l\xF6r"],["s\xF6ndag","m\xE5ndag","tisdag","onsdag","torsdag","fredag","l\xF6rdag"],["s\xF6","m\xE5","ti","on","to","fr","l\xF6"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","feb.","mars","apr.","maj","juni","juli","aug.","sep.","okt.","nov.","dec."],["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"]],void 0,[["f.Kr.","e.Kr."],void 0,["f\xF6re Kristus","efter Kristus"]],1,[6,0],["y-MM-dd","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",void 0,void 0,void 0],[",","\xA0",";","%","+","\u2212","\xD710^","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"SEK","kr","svensk krona",{AUD:[void 0,"$"],BBD:["Bds$","$"],BMD:["BM$","$"],BRL:["BR$","R$"],BSD:["BS$","$"],BYN:[void 0,"\u0440."],BZD:["BZ$","$"],CNY:[void 0,"\xA5"],DKK:["Dkr","kr"],DOP:["RD$","$"],EEK:["Ekr"],EGP:["EG\xA3","E\xA3"],ESP:[void 0,"ESP"],GBP:[void 0,"\xA3"],HKD:[void 0,"$"],IEP:["IE\xA3"],INR:[void 0,"\u20B9"],ISK:["Ikr","kr"],JMD:["JM$","$"],JPY:[void 0,"\xA5"],KRW:[void 0,"\u20A9"],NOK:["Nkr","kr"],NZD:[void 0,"$"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],SEK:["kr"],TWD:[void 0,"NT$"],USD:["US$","$"],VND:[void 0,"\u20AB"]},"ltr",Be$5];function Ce$3(e){return 5}var d$2=["zh-Hans",[["\u4E0A\u5348","\u4E0B\u5348"]],void 0,[["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"],["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"]],void 0,[["1","2","3","4","5","6","7","8","9","10","11","12"],["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]],void 0,[["\u516C\u5143\u524D","\u516C\u5143"]],1,[6,0],["y/M/d","y\u5E74M\u6708d\u65E5",void 0,"y\u5E74M\u6708d\u65E5EEEE"],["HH:mm","HH:mm:ss","z HH:mm:ss","zzzz HH:mm:ss"],["{1} {0}",void 0,void 0,void 0],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"CNY","\xA5","\u4EBA\u6C11\u5E01",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],CNY:["\xA5"],ILR:["ILS"],JPY:["JP\xA5","\xA5"],PHP:[void 0,"\u20B1"],RUR:[void 0,"\u0440."],TWD:["NT$"],USD:["US$","$"],XXX:[]},"ltr",Ce$3];function ye$3(e){return 5}var N$7=["zh-Hant",[["\u4E0A\u5348","\u4E0B\u5348"]],void 0,[["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],["\u9031\u65E5","\u9031\u4E00","\u9031\u4E8C","\u9031\u4E09","\u9031\u56DB","\u9031\u4E94","\u9031\u516D"],["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]],void 0,[["1","2","3","4","5","6","7","8","9","10","11","12"],["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"]],void 0,[["\u897F\u5143\u524D","\u897F\u5143"]],0,[6,0],["y/M/d","y\u5E74M\u6708d\u65E5",void 0,"y\u5E74M\u6708d\u65E5 EEEE"],["Bh:mm","Bh:mm:ss","Bh:mm:ss [z]","Bh:mm:ss [zzzz]"],["{1} {0}",void 0,void 0,void 0],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","\u975E\u6578\u503C",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"TWD","$","\u65B0\u53F0\u5E63",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],KRW:["\uFFE6","\u20A9"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],RUR:[void 0,"\u0440."],TWD:["$"],USD:["US$","$"],XXX:[]},"ltr",ye$3];function Fe$4(e){return 5}var Q$4=["zh-Hant-HK",[["\u4E0A\u5348","\u4E0B\u5348"]],void 0,[["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],["\u9031\u65E5","\u9031\u4E00","\u9031\u4E8C","\u9031\u4E09","\u9031\u56DB","\u9031\u4E94","\u9031\u516D"],["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]],void 0,[["1","2","3","4","5","6","7","8","9","10","11","12"],["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"]],void 0,[["\u516C\u5143\u524D","\u516C\u5143"]],0,[6,0],["d/M/y","y\u5E74M\u6708d\u65E5",void 0,"y\u5E74M\u6708d\u65E5EEEE"],["ah:mm","ah:mm:ss","ah:mm:ss [z]","ah:mm:ss [zzzz]"],["{1} {0}",void 0,void 0,void 0],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","\u975E\u6578\u503C",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"HKD","HK$","\u6E2F\u5143",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],RUR:[void 0,"\u0440."],USD:["US$","$"],XXX:[]},"ltr",Fe$4];var Ue$5={en:I,"en-GB":O$3,nl:x$5,fr:H$5,de:E$2,cs:J$4,da:K$2,es:z$6,fi:G$6,hu:X$4,it:h$4,ja:W$4,pl:Z$2,pt:g$4,"pt-BR":g$4,ru:_$1,sr:V$8,sv:q$5,"zh-CN":d$2,"zh-TW":N$7,"zh-Hans":d$2,"zh-Hant":N$7,"de-CH":k$6,"fr-CA":Y$2,"nl-BE":w$5,"zh-HK":Q$4,"de-DE":E$2,"fr-FR":H$5,"it-IT":h$4,"es-AR":z$6,zh:d$2},Le$5={"zh-Hans":j$4,"zh-Hant":v$5},c$2="en-US",It$2=[{value:"en",label:"English (en-US)"},{value:"en-GB",label:"English (en-GB)"},{value:"cs",label:"Czech (cs)"},{value:"da",label:"Danish (da)"},{value:"de",label:"German (de)"},{value:"es",label:"Spanish (es)"},{value:"fi",label:"Finnish (fi)"},{value:"fr",label:"French (fr)"},{value:"hu",label:"Hungarian (hu)"},{value:"it",label:"Italian (it)"},{value:"ja-JP",label:"Japanese (ja-JP)"},{value:"nl-NL",label:"Dutch (nl-NL)"},{value:"pl",label:"Polish (pl)"},{value:"pt-BR",label:"Portuguese (pt-BR)"},{value:"pt",label:"Portuguese (pt)"},{value:"ru",label:"Russian (ru)"},{value:"sr-RS",label:"Serbian (sr-RS)"},{value:"sv-SE",label:"Swedish (sv-SE)"},{value:"zh-CN",label:"Chinese (zh-CN)"},{value:"zh-TW",label:"Chinese (zh-TW)"},{value:"de-CH",label:"German (de-CH)"},{value:"de-DE",label:"German (de-DE)"},{value:"es-AR",label:"Spanish (es-AR)"},{value:"fr-CA",label:"French (fr-CA)"},{value:"fr-FR",label:"French (fr-FR)"},{value:"it-IT",label:"Italian (it-IT)"},{value:"ja",label:"Japanese (ja)"},{value:"nl-BE",label:"Dutch (nl-BE)"},{value:"zh-Hant",label:"Chinese (zh-Hant)"},{value:"zh",label:"Chinese (zh)"},{value:"zh-HK",label:"Chinese (zh-HK)"}],f$1={en:"en","en-US":"en","en-GB":"en-GB","en-AU":"en","en-CA":"en",cs:"cs","cs-CZ":"cs",da:"da","da-DK":"da",de:"de","de-DE":"de-DE","de-AT":"de","de-CH":"de-CH",es:"es","es-ES":"es","es-MX":"es","es-AR":"es-AR",fi:"fi","fi-FI":"fi",fr:"fr","fr-FR":"fr-FR","fr-CA":"fr-CA",hu:"hu","hu-HU":"hu",it:"it","it-IT":"it-IT",ja:"ja","ja-JP":"ja",nl:"nl-NL","nl-NL":"nl-NL","nl-BE":"nl-BE",pl:"pl","pl-PL":"pl",pt:"pt","pt-BR":"pt-BR","pt-PT":"pt",ru:"ru","ru-RU":"ru",sr:"sr-RS","sr-RS":"sr-RS",sv:"sv-SE","sv-SE":"sv-SE","sv-FI":"sv-SE",zh:"zh","zh-CN":"zh","zh-SG":"zh","zh-TW":"zh-TW","zh-HK":"zh-HK","zh-Hans":"zh","zh-Hant":"zh-Hant"},Je$2={"ja-JP":"ja","nl-NL":"nl","sr-RS":"sr","sv-SE":"sv","zh-CN":"zh-Hans","zh-TW":"zh-Hant","zh-HK":"zh-Hant"},Ke$2=Array.from(new Set(Object.values(f$1)));function Ot$1(e){return e?f$1[e]??"en":"en"}function jt$1(){let e=localStorage.getItem("v1:duplicati:locale")||c$2,u=Ke$2.find(o=>o===e)??c$2,t=f$1[u]??f$1[u.split("-")[0]]??c$2;if(u===c$2)return u;let r=Je$2[t]??t,n=Ue$5[r],a=Le$5[r];n&&(Tr(n,r,a),r!==t&&Tr(n,t,a));let l=t=="zh-Hant"?"zh-Hant":t.replace(/-/g,"_"),s=u==="en"?"":"."+l;return fetch(`locale/messages${s}.json`).then(o=>o.json()).then(o=>{L$3(o.translations),$localize.locale=u;}),u}function x$4(){return window.crypto&&typeof window.crypto.randomUUID=="function"?window.crypto.randomUUID():t$1()}function e(){if(window.crypto&&window.crypto.getRandomValues){let n=new Uint8Array(1);return window.crypto.getRandomValues(n),n[0]}else if(window.msCrypto&&window.msCrypto.getRandomValues){let n=new Uint8Array(1);return window.msCrypto.getRandomValues(n),n[0]}else return Math.floor(Math.random()*256)}function t$1(){return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){let o=Math.random()*16|0;return (n==="x"?o:o&3|8).toString(16)})}var y$3=class r{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(e){e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
8
- `).forEach(t=>{let n=t.indexOf(":");if(n>0){let o=t.slice(0,n),s=t.slice(n+1).trim();this.addHeaderEntry(o,s);}});}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((t,n)=>{this.addHeaderEntry(n,t);})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([t,n])=>{this.setHeaderEntries(t,n);});}:this.headers=new Map;}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e);}init(){this.lazyInit&&(this.lazyInit instanceof r?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null));}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t));});}clone(e){let t=new r;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof r?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){let t=e.name.toLowerCase();switch(e.op){case "a":case "s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,t);let o=(e.op==="a"?this.headers.get(t):void 0)||[];o.push(...n),this.headers.set(t,o);break;case "d":let s=e.value;if(!s)this.headers.delete(t),this.normalizedNames.delete(t);else {let i=this.headers.get(t);if(!i)return;i=i.filter(c=>s.indexOf(c)===-1),i.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,i);}break}}addHeaderEntry(e,t){let n=e.toLowerCase();this.maybeSetNormalizedName(e,n),this.headers.has(n)?this.headers.get(n).push(t):this.headers.set(n,[t]);}setHeaderEntries(e,t){let n=(Array.isArray(t)?t:[t]).map(s=>s.toString()),o=e.toLowerCase();this.headers.set(o,n),this.maybeSetNormalizedName(e,o);}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)));}};var z$5=class z{map=new Map;set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}},J$3=class J{encodeKey(e){return Te$2(e)}encodeValue(e){return Te$2(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function Ie$2(r,e){let t=new Map;return r.length>0&&r.replace(/^\?/,"").split("&").forEach(o=>{let s=o.indexOf("="),[i,c]=s==-1?[e.decodeKey(o),""]:[e.decodeKey(o.slice(0,s)),e.decodeValue(o.slice(s+1))],a=t.get(i)||[];a.push(c),t.set(i,a);}),t}var ke$2=/%(\d[a-f0-9])/gi,Se$3={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Te$2(r){return encodeURIComponent(r).replace(ke$2,(e,t)=>Se$3[t]??e)}function X$3(r){return `${r}`}var p$1=class r{map;encoder;updates=null;cloneFrom=null;constructor(e={}){if(this.encoder=e.encoder||new J$3,e.fromString){if(e.fromObject)throw new D$7(2805,false);this.map=Ie$2(e.fromString,this.encoder);}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{let n=e.fromObject[t],o=Array.isArray(n)?n.map(X$3):[X$3(n)];this.map.set(t,o);})):this.map=null;}has(e){return this.init(),this.map.has(e)}get(e){this.init();let t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){let t=[];return Object.keys(e).forEach(n=>{let o=e[n];Array.isArray(o)?o.forEach(s=>{t.push({param:n,value:s,op:"a"});}):t.push({param:n,value:o,op:"a"});}),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let t=this.encoder.encodeKey(e);return this.map.get(e).map(n=>t+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let t=new r({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case "a":case "s":let t=(e.op==="a"?this.map.get(e.param):void 0)||[];t.push(X$3(e.value)),this.map.set(e.param,t);break;case "d":if(e.value!==void 0){let n=this.map.get(e.param)||[],o=n.indexOf(X$3(e.value));o!==-1&&n.splice(o,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param);}else {this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null);}};function Fe$3(r){switch(r){case "DELETE":case "GET":case "HEAD":case "OPTIONS":case "JSONP":return false;default:return true}}function ve$3(r){return typeof ArrayBuffer<"u"&&r instanceof ArrayBuffer}function be$4(r){return typeof Blob<"u"&&r instanceof Blob}function we$3(r){return typeof FormData<"u"&&r instanceof FormData}function Ue$4(r){return typeof URLSearchParams<"u"&&r instanceof URLSearchParams}var Q$3="Content-Type",Ee$2="Accept",Pe$4="text/plain",xe$4="application/json",Ce$2=`${xe$4}, ${Pe$4}, */*`,M$3=class r{url;body=null;headers;context;reportProgress=false;reportUploadProgress=false;reportDownloadProgress=false;withCredentials=false;credentials;keepalive=false;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(e,t,n,o){this.url=t,this.method=e.toUpperCase();let s;if(Fe$3(this.method)||o?(this.body=n!==void 0?n:null,s=o):s=n,s){if(this.reportProgress=!!s.reportProgress,this.reportUploadProgress=!!s.reportUploadProgress,this.reportDownloadProgress=!!s.reportDownloadProgress,this.withCredentials=!!s.withCredentials,this.keepalive=!!s.keepalive,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params),s.priority&&(this.priority=s.priority),s.cache&&(this.cache=s.cache),s.credentials&&(this.credentials=s.credentials),typeof s.timeout=="number"){if(s.timeout<1||!Number.isInteger(s.timeout))throw new D$7(2822,"");this.timeout=s.timeout;}s.mode&&(this.mode=s.mode),s.redirect&&(this.redirect=s.redirect),s.integrity&&(this.integrity=s.integrity),s.referrer!==void 0&&(this.referrer=s.referrer),s.referrerPolicy&&(this.referrerPolicy=s.referrerPolicy),this.transferCache=s.transferCache;}if(this.headers??=new y$3,this.context??=new z$5,!this.params)this.params=new p$1,this.urlWithParams=t;else {let i=this.params.toString();if(i.length===0)this.urlWithParams=t;else {let c=t,a="",l=t.indexOf("#");l!==-1&&(a=t.substring(l),c=t.substring(0,l));let u=c.indexOf("?"),g=u===-1?"?":u<c.length-1?"&":"";this.urlWithParams=c+g+i+a;}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||ve$3(this.body)||be$4(this.body)||we$3(this.body)||Ue$4(this.body)?this.body:this.body instanceof p$1?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||we$3(this.body)?null:be$4(this.body)?this.body.type||null:ve$3(this.body)?null:typeof this.body=="string"?Pe$4:this.body instanceof p$1?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?xe$4:null}clone(e={}){let t=e.method||this.method,n=e.url||this.url,o=e.responseType||this.responseType,s=e.keepalive??this.keepalive,i=e.priority||this.priority,c=e.cache||this.cache,a=e.mode||this.mode,l=e.redirect||this.redirect,u=e.credentials||this.credentials,g=e.referrer??this.referrer,F=e.integrity||this.integrity,Y=e.referrerPolicy||this.referrerPolicy,U=e.transferCache??this.transferCache,C=e.timeout??this.timeout,h=e.body!==void 0?e.body:this.body,E=e.withCredentials??this.withCredentials,L=e.reportProgress??this.reportProgress,_=e.reportUploadProgress??this.reportUploadProgress,R=e.reportDownloadProgress??this.reportDownloadProgress,A=e.headers||this.headers,T=e.params||this.params,j=e.context??this.context;return e.setHeaders!==void 0&&(A=Object.keys(e.setHeaders).reduce((P,v)=>P.set(v,e.setHeaders[v]),A)),e.setParams&&(T=Object.keys(e.setParams).reduce((P,v)=>P.set(v,e.setParams[v]),T)),new r(t,n,h,{params:T,headers:A,context:j,reportProgress:L,reportUploadProgress:_,reportDownloadProgress:R,responseType:o,withCredentials:E,transferCache:U,keepalive:s,cache:c,priority:i,timeout:C,mode:a,redirect:l,credentials:u,referrer:g,integrity:F,referrerPolicy:Y})}},N$6=(function(r){return r[r.Sent=0]="Sent",r[r.UploadProgress=1]="UploadProgress",r[r.ResponseHeader=2]="ResponseHeader",r[r.DownloadProgress=3]="DownloadProgress",r[r.Response=4]="Response",r[r.User=5]="User",r})(N$6||{}),O$2=class O{headers;status;statusText;url;ok;type;redirected;responseType;constructor(e,t=200,n="OK"){this.headers=e.headers||new y$3,this.status=e.status!==void 0?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.redirected=e.redirected,this.responseType=e.responseType,this.ok=this.status>=200&&this.status<300;}},V$7=class r extends O$2{constructor(e={}){super(e);}type=N$6.ResponseHeader;clone(e={}){return new r({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},S$6=class r extends O$2{body;constructor(e={}){super(e),this.body=e.body!==void 0?e.body:null;}type=N$6.Response;clone(e={}){return new r({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0,redirected:e.redirected??this.redirected,responseType:e.responseType??this.responseType})}},w$4=class w extends O$2{name="HttpErrorResponse";message;error;ok=false;constructor(e){super(e,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null;}},Le$4=200;var je$4=/^\)\]\}',?\n/,Me$2=new x$6("",{factory:()=>null}),D$5=(()=>{class r{fetchImpl=T$6(ee$2,{optional:true})?.fetch??((...t)=>globalThis.fetch(...t));ngZone=T$6(Oe$5);destroyRef=T$6(rt$1);maxResponseSize=T$6(Me$2);handle(t){return new S$7(n=>{let o=new AbortController;this.doRequest(t,o.signal,n).then(te$1,i=>n.error(new w$4({error:i})));let s;return t.timeout&&(s=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{o.signal.aborted||o.abort(new DOMException("signal timed out","TimeoutError"));},t.timeout))),()=>{s!==void 0&&clearTimeout(s),o.abort();}})}async doRequest(t,n,o){let s=this.createRequestInit(t),i;try{let h=this.ngZone.runOutsideAngular(()=>this.fetchImpl(t.urlWithParams,l$3({signal:n},s)));Be$4(h),o.next({type:N$6.Sent}),i=await h;}catch(h){o.error(new w$4({error:h,status:h.status??0,statusText:h.statusText,url:t.urlWithParams,headers:h.headers}));return}let c=new y$3(i.headers),a=i.statusText,l=i.url||t.urlWithParams,u=i.status,g=null,F=t.reportProgress||t.reportDownloadProgress;if(F&&o.next(new V$7({headers:c,status:u,statusText:a,url:l})),i.body){let h=i.headers.get("content-length"),E=h!==null?Number(h):NaN;this.maxResponseSize!==null&&Number.isFinite(E)&&E>this.maxResponseSize&&Re$3(this.maxResponseSize);let L=[],_=i.body.getReader(),R=0,A,T,j=typeof Zone<"u"&&Zone.current,P=false;if(await this.ngZone.runOutsideAngular(async()=>{for(;;){if(this.destroyRef.destroyed){await _.cancel(),P=true;break}let{done:I,value:Z}=await _.read();if(I)break;if(L.push(Z),R+=Z.length,this.maxResponseSize!==null&&R>this.maxResponseSize&&(await _.cancel(),Re$3(this.maxResponseSize)),F){T=t.responseType==="text"?(T??"")+(A??=new TextDecoder).decode(Z,{stream:true}):void 0;let oe=()=>o.next({type:N$6.DownloadProgress,total:Number.isFinite(E)?E:void 0,loaded:R,partialText:T});j?j.run(oe):oe();}}}),P){o.complete();return}let v=this.concatChunks(L,R);try{let I=i.headers.get(Q$3)??"";g=this.parseBody(t,v,I,u);}catch(I){o.error(new w$4({error:I,headers:new y$3(i.headers),status:i.status,statusText:i.statusText,url:i.url||t.urlWithParams}));return}}u===0&&(u=g?Le$4:0);let Y=u>=200&&u<300,U=i.redirected,C=i.type;Y?(o.next(new S$6({body:g,headers:c,status:u,statusText:a,url:l,redirected:U,responseType:C})),o.complete()):o.error(new w$4({error:g,headers:c,status:u,statusText:a,url:l,redirected:U,responseType:C}));}parseBody(t,n,o,s){switch(t.responseType){case "json":let i=new TextDecoder().decode(n).replace(je$4,"");if(i==="")return null;try{return JSON.parse(i)}catch(c){if(s<200||s>=300)return i;throw c}case "text":return new TextDecoder().decode(n);case "blob":return new Blob([n],{type:o});case "arraybuffer":return n.buffer}}createRequestInit(t){if(t.reportUploadProgress)throw new D$7(2824,false);let n={},o;if(o=t.credentials,t.withCredentials&&(o="include"),t.headers.forEach((s,i)=>n[s]=i.join(",")),t.headers.has(Ee$2)||(n[Ee$2]=Ce$2),!t.headers.has(Q$3)){let s=t.detectContentTypeHeader();s!==null&&(n[Q$3]=s);}return {body:t.serializeBody(),method:t.method,headers:n,credentials:o,keepalive:t.keepalive,cache:t.cache,priority:t.priority,mode:t.mode,redirect:t.redirect,referrer:t.referrer,integrity:t.integrity,referrerPolicy:t.referrerPolicy}}concatChunks(t,n){let o=new Uint8Array(n),s=0;for(let i of t)o.set(i,s),s+=i.length;return o}static \u0275fac=function(n){return new(n||r)};static \u0275prov=Kr({token:r,factory:r.\u0275fac})}return r})(),ee$2=class ee{};function te$1(){}function Be$4(r){r.then(te$1,te$1);}function Re$3(r){throw new D$7(-2825,false)}function Xe$1(r,e){return e(r)}function ze$2(r,e,t){return (n,o)=>ii$1(t,()=>e(n,s=>r(s,o)))}var re$2=new x$6("",{factory:()=>[]}),Ne$3=new x$6(""),Oe$4=new x$6("",{factory:()=>true});var G$5=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275prov=ee$4({token:r,factory:function(n){let o=null;return n?o=new(n||r):o=ke$4(D$5),o},providedIn:"root"})}return r})();var $$4=(()=>{class r{backend;injector;chain=null;pendingTasks=T$6(Sr);contributeToStability=T$6(Oe$4);constructor(t,n){this.backend=t,this.injector=n;}handle(t){if(this.chain===null){let n=Array.from(new Set([...this.injector.get(re$2),...this.injector.get(Ne$3,[])]));this.chain=n.reduceRight((o,s)=>ze$2(o,s,this.injector),Xe$1);}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(Bu(n))}else return this.chain(t,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||r)(ke$4(G$5),ke$4(pe$5))};static \u0275prov=ee$4({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),ne$2=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275prov=ee$4({token:r,factory:function(n){let o=null;return n?o=new(n||r):o=ke$4($$4),o},providedIn:"root"})}return r})();function H$4(r,e){return l$3({body:e},r)}var De$3=(()=>{class r{handler;constructor(t){this.handler=t;}request(t,n,o={}){let s;if(t instanceof M$3)s=t;else {let a;o.headers instanceof y$3?a=o.headers:a=new y$3(o.headers);let l;o.params&&(o.params instanceof p$1?l=o.params:l=new p$1({fromObject:o.params})),s=new M$3(t,n,o.body!==void 0?o.body:null,{headers:a,context:o.context,params:l,reportProgress:o.reportProgress,reportUploadProgress:o.reportUploadProgress,reportDownloadProgress:o.reportDownloadProgress,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 i=ty(s).pipe(wy(a=>this.handler.handle(a)));if(t instanceof M$3||o.observe==="events")return i;let c=i.pipe($s(a=>a instanceof S$6));switch(o.observe||"body"){case "body":switch(s.responseType){case "arraybuffer":return c.pipe(pt$2(a=>{if(a.body!==null&&!(a.body instanceof ArrayBuffer))throw new D$7(2806,false);return a.body}));case "blob":return c.pipe(pt$2(a=>{if(a.body!==null&&!(a.body instanceof Blob))throw new D$7(2807,false);return a.body}));case "text":return c.pipe(pt$2(a=>{if(a.body!==null&&typeof a.body!="string")throw new D$7(2808,false);return a.body}));default:return c.pipe(pt$2(a=>a.body))}case "response":return c;default:throw new D$7(2809,false)}}delete(t,n={}){return this.request("DELETE",t,n)}get(t,n={}){return this.request("GET",t,n)}head(t,n={}){return this.request("HEAD",t,n)}jsonp(t,n){return this.request("JSONP",t,{params:new p$1().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,n={}){return this.request("OPTIONS",t,n)}patch(t,n,o={}){return this.request("PATCH",t,H$4(o,n))}post(t,n,o={}){return this.request("POST",t,H$4(o,n))}put(t,n,o={}){return this.request("PUT",t,H$4(o,n))}static \u0275fac=function(n){return new(n||r)(ke$4(ne$2))};static \u0275prov=ee$4({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var Je$1=new x$6("",{factory:()=>true}),Ve$4="XSRF-TOKEN",$e$3=new x$6("",{factory:()=>Ve$4}),Ge$3="X-XSRF-TOKEN",We$3=new x$6("",{factory:()=>Ge$3}),Ye$1=(()=>{class r{cookieName=T$6($e$3);doc=T$6(br);lastCookieString="";lastToken=null;parseCount=0;getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=k$7(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(n){return new(n||r)};static \u0275prov=Kr({token:r,factory:r.\u0275fac})}return r})(),_e$3=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275prov=ee$4({token:r,factory:function(n){let o=null;return n?o=new(n||r):o=ke$4(Ye$1),o},providedIn:"root"})}return r})();function Ze$1(r,e){if(!T$6(Je$1)||r.method==="GET"||r.method==="HEAD")return e(r);try{let o=T$6(g$5).href,{origin:s}=new URL(o),{origin:i}=new URL(r.url,s);if(s!==i)return e(r)}catch{return e(r)}let t=T$6(_e$3).getToken(),n=T$6(We$3);return t!=null&&!r.headers.has(n)&&(r=r.clone({headers:r.headers.set(n,t)})),e(r)}var W$3=(function(r){return r[r.Interceptors=0]="Interceptors",r[r.LegacyInterceptors=1]="LegacyInterceptors",r[r.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",r[r.NoXsrfProtection=3]="NoXsrfProtection",r[r.JsonpSupport=4]="JsonpSupport",r[r.RequestsMadeViaParent=5]="RequestsMadeViaParent",r[r.Fetch=6]="Fetch",r[r.Xhr=7]="Xhr",r})(W$3||{});function Ae$3(r,e){return {\u0275kind:r,\u0275providers:e}}function Ke$1(...r){let e=[De$3,D$5,$$4,{provide:ne$2,useExisting:$$4},{provide:G$5,useFactory:()=>T$6(D$5)},{provide:re$2,useValue:Ze$1,multi:true}];for(let t of r)e.push(...t.\u0275providers);return ga(e)}function qe$2(r){return Ae$3(W$3.Interceptors,r.map(e=>({provide:re$2,useValue:e,multi:true})))}function Qe$2(){return Ae$3(W$3.Fetch,[D$5,{provide:G$5,useExisting:D$5}])}var g$3=class g{_fns;constructor(){this._fns=[];}eject(e){let p=this._fns.indexOf(e);p!==-1&&(this._fns=[...this._fns.slice(0,p),...this._fns.slice(p+1)]);}use(e){this._fns=[...this._fns,e];}},t={BASE:"",HEADERS:void 0,PASSWORD:void 0,TOKEN:void 0,USERNAME:void 0,VERSION:"1",WITH_CREDENTIALS:false,interceptors:{response:new g$3}};var d$1=class d extends Error{url;status;statusText;body;request;constructor(e,p,r){super(r),this.name="ApiError",this.url=p.url,this.status=p.status,this.statusText=p.statusText,this.body=p.body,this.request=e;}};var h$3=i=>typeof i=="string",v$4=i=>h$3(i)&&i!=="",T$3=i=>i instanceof Blob,S$5=i=>i instanceof FormData,L$2=i=>{try{return btoa(i)}catch{return Buffer.from(i).toString("base64")}},x$3=i=>{let e=[],p=(a,n)=>{e.push(`${encodeURIComponent(a)}=${encodeURIComponent(String(n))}`);},r=(a,n)=>{n!=null&&(n instanceof Date?p(a,n.toISOString()):Array.isArray(n)?n.forEach(o=>r(a,o)):typeof n=="object"?Object.entries(n).forEach(([o,u])=>r(`${a}[${o}]`,u)):p(a,n));};return Object.entries(i).forEach(([a,n])=>r(a,n)),e.length?`?${e.join("&")}`:""},j$3=(i,e)=>{let p=encodeURI,r=e.url.replace("{api-version}",i.VERSION).replace(/{(.*?)}/g,(n,o)=>e.path?.hasOwnProperty(o)?p(String(e.path[o])):n),a=i.BASE+r;return e.query?a+x$3(e.query):a},w$3=i=>{if(i.formData){let e=new FormData,p=(r,a)=>{h$3(a)||T$3(a)?e.append(r,a):e.append(r,JSON.stringify(a));};return Object.entries(i.formData).filter(([,r])=>r!=null).forEach(([r,a])=>{Array.isArray(a)?a.forEach(n=>p(r,n)):p(r,a);}),e}},V$6=async(i,e)=>typeof e=="function"?e(i):e,U$2=(i,e)=>vy({token:V$6(e,i.TOKEN),username:V$6(e,i.USERNAME),password:V$6(e,i.PASSWORD),additionalHeaders:V$6(e,i.HEADERS)}).pipe(pt$2(({token:p,username:r,password:a,additionalHeaders:n})=>{let o=Object.entries(l$3(l$3({Accept:"application/json"},n),e.headers)).filter(([,u])=>u!=null).reduce((u,[B,b])=>m$6(l$3({},u),{[B]:String(b)}),{});if(v$4(p)&&(o.Authorization=`Bearer ${p}`),v$4(r)&&v$4(a)){let u=L$2(`${r}:${a}`);o.Authorization=`Basic ${u}`;}return e.body!==void 0&&(e.mediaType?o["Content-Type"]=e.mediaType:T$3(e.body)?o["Content-Type"]=e.body.type||"application/octet-stream":h$3(e.body)?o["Content-Type"]="text/plain":S$5(e.body)||(o["Content-Type"]="application/json")),new y$3(o)})),H$3=i=>{if(i.body)return i.mediaType?.includes("application/json")||i.mediaType?.includes("+json")?JSON.stringify(i.body):h$3(i.body)||T$3(i.body)||S$5(i.body)?i.body:JSON.stringify(i.body)},N$5=(i,e,p,r,a,n,o)=>p.request(e.method,r,{headers:o,body:a??n,withCredentials:i.WITH_CREDENTIALS,observe:"response"}),M$2=(i,e)=>{if(e){let p=i.headers.get(e);if(h$3(p))return p}},z$4=i=>{if(i.status!==204&&i.body!==null)return i.body},W$2=(i,e)=>{let r=l$3({400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"Im a teapot",421:"Misdirected Request",422:"Unprocessable Content",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",510:"Not Extended",511:"Network Authentication Required"},i.errors)[e.status];if(r)throw new d$1(i,e,r);if(!e.ok){let a=e.status??"unknown",n=e.statusText??"unknown",o=(()=>{try{return JSON.stringify(e.body,null,2)}catch{return}})();throw new d$1(i,e,`Generic Error: status: ${a}; status text: ${n}; body: ${o}`)}},s=(i,e,p)=>{let r=j$3(i,p),a=w$3(p),n=H$3(p);return U$2(i,p).pipe($u(o=>N$5(i,p,e,r,n,a,o)),$u(async o=>{for(let F of i.interceptors.response._fns)o=await F(o);let u=z$4(o),B=M$2(o,p.responseHeader),b=u;return p.responseTransformer&&o.ok&&(b=await p.responseTransformer(u)),{url:r,ok:o.ok,status:o.status,statusText:o.statusText,body:B??b}}),Vs(o=>o.status?ty({url:r,ok:o.ok,status:o.status,statusText:o.statusText,body:o.error??o.statusText}):iy(()=>o)),pt$2(o=>(W$2(p,o),o.body)),Vs(o=>iy(()=>o)))};var G$4=class i{constructor(e){this.http=e;}http;getApiV1Commandline(){return s(t,this.http,{method:"GET",url:"/api/v1/commandline"})}static \u0275fac=function(p){return new(p||i)(ke$4(De$3))};static \u0275prov=ee$4({token:i,factory:i.\u0275fac,providedIn:"root"})},E$1=class i{constructor(e){this.http=e;}http;getApiV2ConnectionStrings(){return s(t,this.http,{method:"GET",url:"/api/v2/connection-strings"})}postApiV2ConnectionStrings(e){return s(t,this.http,{method:"POST",url:"/api/v2/connection-strings",body:e.requestBody,mediaType:"application/json"})}getApiV2ConnectionStringById(e){return s(t,this.http,{method:"GET",url:"/api/v2/connection-string/{id}",path:{id:e.id}})}putApiV2ConnectionStringById(e){return s(t,this.http,{method:"PUT",url:"/api/v2/connection-string/{id}",path:{id:e.id},body:e.requestBody,mediaType:"application/json"})}deleteApiV2ConnectionStringById(e){return s(t,this.http,{method:"DELETE",url:"/api/v2/connection-string/{id}",path:{id:e.id}})}postApiV2ConnectionStringByIdUpdateBackups(e){return s(t,this.http,{method:"POST",url:"/api/v2/connection-string/{id}/update-backups",path:{id:e.id},body:e.requestBody,mediaType:"application/json"})}static \u0275fac=function(p){return new(p||i)(ke$4(De$3))};static \u0275prov=ee$4({token:i,factory:i.\u0275fac,providedIn:"root"})},C=class i{constructor(e){this.http=e;}http;postApiV1Commandline(e){return s(t,this.http,{method:"POST",url:"/api/v1/commandline",body:e.requestBody,mediaType:"application/json"})}getApiV1Acknowledgements(){return s(t,this.http,{method:"GET",url:"/api/v1/acknowledgements"})}postApiV1AuthRefresh(e={}){return s(t,this.http,{method:"POST",url:"/api/v1/auth/refresh",body:e.requestBody,mediaType:"application/json"})}postApiV1AuthSignin(e){return s(t,this.http,{method:"POST",url:"/api/v1/auth/signin",body:e.requestBody,mediaType:"application/json"})}postApiV1AuthLogin(e){return s(t,this.http,{method:"POST",url:"/api/v1/auth/login",body:e.requestBody,mediaType:"application/json"})}postApiV1AuthIssuesignintoken(e){return s(t,this.http,{method:"POST",url:"/api/v1/auth/issuesignintoken",body:e.requestBody,mediaType:"application/json"})}postApiV1AuthRefreshLogout(e={}){return s(t,this.http,{method:"POST",url:"/api/v1/auth/refresh/logout",body:e.requestBody,mediaType:"application/json"})}postApiV1AuthIssuetokenByOperation(e){return s(t,this.http,{method:"POST",url:"/api/v1/auth/issuetoken/{operation}",path:{operation:e.operation}})}postApiV1AuthIssueForeverToken(){return s(t,this.http,{method:"POST",url:"/api/v1/auth/issue-forever-token"})}postApiV1AuthStatus(){return s(t,this.http,{method:"POST",url:"/api/v1/auth/status"})}getApiV1Backupdefaults(){return s(t,this.http,{method:"GET",url:"/api/v1/backupdefaults"})}getApiV1Backups(e={}){return s(t,this.http,{method:"GET",url:"/api/v1/backups",query:{orderBy:e.orderBy}})}postApiV1Backups(e){return s(t,this.http,{method:"POST",url:"/api/v1/backups",query:{temporary:e.temporary,existingdb:e.existingdb},body:e.requestBody,mediaType:"application/json"})}postApiV1BackupsImport(e){return s(t,this.http,{method:"POST",url:"/api/v1/backups/import",body:e.requestBody,mediaType:"application/json"})}getApiV1BugreportByReportid(e){return s(t,this.http,{method:"GET",url:"/api/v1/bugreport/{reportid}",path:{reportid:e.reportid},query:{token:e.token}})}getApiV1Changelog(e={}){return s(t,this.http,{method:"GET",url:"/api/v1/changelog",query:{"from-update":e.fromUpdate}})}getApiV1CommandlineByRunid(e){return s(t,this.http,{method:"GET",url:"/api/v1/commandline/{runid}",path:{runid:e.runid},query:{offset:e.offset,pagesize:e.pagesize}})}postApiV1CommandlineByRunidAbort(e){return s(t,this.http,{method:"POST",url:"/api/v1/commandline/{runid}/abort",path:{runid:e.runid}})}postApiV1Filesystem(e){return s(t,this.http,{method:"POST",url:"/api/v1/filesystem",query:{onlyFolders:e.onlyFolders,showHidden:e.showHidden},body:e.requestBody,mediaType:"application/json"})}postApiV1FilesystemValidate(e){return s(t,this.http,{method:"POST",url:"/api/v1/filesystem/validate",body:e.requestBody,mediaType:"application/json"})}getApiV1Folderstatus(){return s(t,this.http,{method:"GET",url:"/api/v1/folderstatus"})}getApiV1FolderstatusByPath(e){return s(t,this.http,{method:"GET",url:"/api/v1/folderstatus/{path}",path:{path:e.path}})}getApiV1Licenses(){return s(t,this.http,{method:"GET",url:"/api/v1/licenses"})}getApiV1LogdataPoll(e){return s(t,this.http,{method:"GET",url:"/api/v1/logdata/poll",query:{level:e.level,id:e.id,pagesize:e.pagesize}})}getApiV1LogdataLog(e={}){return s(t,this.http,{method:"GET",url:"/api/v1/logdata/log",query:{offset:e.offset,pagesize:e.pagesize}})}getApiV1LogdataCrashlog(){return s(t,this.http,{method:"GET",url:"/api/v1/logdata/crashlog"})}getApiV1NotificationById(e){return s(t,this.http,{method:"GET",url:"/api/v1/notification/{id}",path:{id:e.id}})}deleteApiV1NotificationById(e){return s(t,this.http,{method:"DELETE",url:"/api/v1/notification/{id}",path:{id:e.id}})}getApiV1Notifications(){return s(t,this.http,{method:"GET",url:"/api/v1/notifications"})}getApiV1Progressstate(){return s(t,this.http,{method:"GET",url:"/api/v1/progressstate"})}getApiV1RemotecontrolStatus(){return s(t,this.http,{method:"GET",url:"/api/v1/remotecontrol/status"})}postApiV1RemoteoperationDbpath(e){return s(t,this.http,{method:"POST",url:"/api/v1/remoteoperation/dbpath",body:e.requestBody,mediaType:"application/json"})}postApiV1RemoteoperationTest(e){return s(t,this.http,{method:"POST",url:"/api/v1/remoteoperation/test",query:{autocreate:e.autocreate,readOnlyTest:e.readOnlyTest,type:e.type},body:e.requestBody,mediaType:"application/json"})}postApiV1RemoteoperationCreate(e){return s(t,this.http,{method:"POST",url:"/api/v1/remoteoperation/create",body:e.requestBody,mediaType:"application/json"})}getApiV1Serversettings(){return s(t,this.http,{method:"GET",url:"/api/v1/serversettings"})}patchApiV1Serversettings(e){return s(t,this.http,{method:"PATCH",url:"/api/v1/serversettings",body:e.requestBody,mediaType:"application/json"})}getApiV1ServersettingByKey(e){return s(t,this.http,{method:"GET",url:"/api/v1/serversetting/{key}",path:{key:e.key}})}putApiV1ServersettingByKey(e){return s(t,this.http,{method:"PUT",url:"/api/v1/serversetting/{key}",path:{key:e.key},body:e.requestBody,mediaType:"application/json"})}getApiV1Serverstate(e={}){return s(t,this.http,{method:"GET",url:"/api/v1/serverstate",query:{lastEventId:e.lastEventId,longpoll:e.longpoll,duration:e.duration}})}postApiV1ServerstatePause(e={}){return s(t,this.http,{method:"POST",url:"/api/v1/serverstate/pause",query:{duration:e.duration,pauseTransfers:e.pauseTransfers}})}postApiV1ServerstateResume(){return s(t,this.http,{method:"POST",url:"/api/v1/serverstate/resume"})}getApiV1Systeminfo(){return s(t,this.http,{method:"GET",url:"/api/v1/systeminfo"})}getApiV1SysteminfoFiltergroups(){return s(t,this.http,{method:"GET",url:"/api/v1/systeminfo/filtergroups"})}getApiV1Tasks(){return s(t,this.http,{method:"GET",url:"/api/v1/tasks"})}getApiV1TaskByTaskid(e){return s(t,this.http,{method:"GET",url:"/api/v1/task/{taskid}",path:{taskid:e.taskid}})}postApiV1TaskByTaskidStop(e){return s(t,this.http,{method:"POST",url:"/api/v1/task/{taskid}/stop",path:{taskid:e.taskid}})}postApiV1TaskByTaskidAbort(e){return s(t,this.http,{method:"POST",url:"/api/v1/task/{taskid}/abort",path:{taskid:e.taskid}})}getApiV1Uisettings(){return s(t,this.http,{method:"GET",url:"/api/v1/uisettings"})}postApiV1Uisettings(e){return s(t,this.http,{method:"POST",url:"/api/v1/uisettings",body:e.requestBody,mediaType:"application/json"})}getApiV1UisettingsByScheme(e){return s(t,this.http,{method:"GET",url:"/api/v1/uisettings/{scheme}",path:{scheme:e.scheme}})}patchApiV1UisettingsByScheme(e){return s(t,this.http,{method:"PATCH",url:"/api/v1/uisettings/{scheme}",path:{scheme:e.scheme},body:e.requestBody,mediaType:"application/json"})}postApiV1UpdatesCheck(){return s(t,this.http,{method:"POST",url:"/api/v1/updates/check"})}postApiV1WebmoduleByModulekey(e){return s(t,this.http,{method:"POST",url:"/api/v1/webmodule/{modulekey}",path:{modulekey:e.modulekey},body:e.requestBody,mediaType:"application/json"})}getApiV1BackupById(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}",path:{id:e.id}})}putApiV1BackupById(e){return s(t,this.http,{method:"PUT",url:"/api/v1/backup/{id}",path:{id:e.id},body:e.requestBody,mediaType:"application/json"})}deleteApiV1BackupById(e){return s(t,this.http,{method:"DELETE",url:"/api/v1/backup/{id}",path:{id:e.id},query:{"delete-remote-files":e.deleteRemoteFiles,"delete-local-db":e.deleteLocalDb,force:e.force}})}getApiV1BackupByIdFiles(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}/files",path:{id:e.id},query:{filter:e.filter,time:e.time,"all-versions":e.allVersions,"prefix-only":e.prefixOnly,"folder-contents":e.folderContents}})}getApiV1BackupByIdLog(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}/log",path:{id:e.id},query:{offset:e.offset,pagesize:e.pagesize}})}getApiV1BackupByIdRemotelog(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}/remotelog",path:{id:e.id},query:{offset:e.offset,pagesize:e.pagesize}})}getApiV1BackupByIdFilesets(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}/filesets",path:{id:e.id},query:{"include-metadata":e.includeMetadata,"from-remote-only":e.fromRemoteOnly}})}getApiV1BackupByIdExportArgsonly(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}/export-argsonly",path:{id:e.id},query:{"export-passwords":e.exportPasswords,passphrase:e.passphrase}})}getApiV1BackupByIdExportCmdline(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}/export-cmdline",path:{id:e.id},query:{"export-passwords":e.exportPasswords,passphrase:e.passphrase}})}getApiV1BackupByIdExport(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}/export",path:{id:e.id},query:{"export-passwords":e.exportPasswords,passphrase:e.passphrase,token:e.token}})}getApiV1BackupByIdIsdbusedelsewhere(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}/isdbusedelsewhere",path:{id:e.id}})}getApiV1BackupByIdIsactive(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}/isactive",path:{id:e.id}})}postApiV1BackupByIdDeletedb(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/deletedb",path:{id:e.id}})}postApiV1BackupByIdMovedb(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/movedb",path:{id:e.id},body:e.requestBody,mediaType:"application/json"})}postApiV1BackupByIdUpdatedb(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/updatedb",path:{id:e.id},body:e.requestBody,mediaType:"application/json"})}postApiV1BackupByIdRestore(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/restore",path:{id:e.id},body:e.requestBody,mediaType:"application/json"})}postApiV1BackupByIdCreatereport(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/createreport",path:{id:e.id}})}postApiV1BackupByIdRepair(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/repair",path:{id:e.id},body:e.requestBody,mediaType:"application/json"})}postApiV1BackupByIdRepairupdate(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/repairupdate",path:{id:e.id},body:e.requestBody,mediaType:"application/json"})}postApiV1BackupByIdVacuum(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/vacuum",path:{id:e.id}})}postApiV1BackupByIdVerify(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/verify",path:{id:e.id}})}postApiV1BackupByIdCompact(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/compact",path:{id:e.id}})}postApiV1BackupByIdStart(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/start",path:{id:e.id},query:{skipQueue:e.skipQueue}})}postApiV1BackupByIdRun(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/run",path:{id:e.id},query:{skipQueue:e.skipQueue}})}postApiV1BackupByIdReportRemoteSize(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/report-remote-size",path:{id:e.id}})}postApiV1BackupByIdCopytotemp(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/copytotemp",path:{id:e.id}})}postApiV1BackupByIdRestoreTaskConfig(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/restore-task-config",path:{id:e.id}})}postApiV1BackupByIdImportfromtemp(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/importfromtemp",body:e.requestBody,mediaType:"application/json"})}postApiV1RemotecontrolEnable(){return s(t,this.http,{method:"POST",url:"/api/v1/remotecontrol/enable"})}postApiV1RemotecontrolDisable(){return s(t,this.http,{method:"POST",url:"/api/v1/remotecontrol/disable"})}deleteApiV1RemotecontrolRegistration(){return s(t,this.http,{method:"DELETE",url:"/api/v1/remotecontrol/registration"})}postApiV1RemotecontrolRegister(e){return s(t,this.http,{method:"POST",url:"/api/v1/remotecontrol/register",body:e.requestBody,mediaType:"application/json"})}deleteApiV1RemotecontrolRegister(){return s(t,this.http,{method:"DELETE",url:"/api/v1/remotecontrol/register"})}postApiV1RemotecontrolRegisterWait(){return s(t,this.http,{method:"POST",url:"/api/v1/remotecontrol/register/wait"})}postApiV2DestinationList(e){return s(t,this.http,{method:"POST",url:"/api/v2/destination/list",body:e.requestBody,mediaType:"application/json"})}postApiV2SystemTempDiskSpace(e){return s(t,this.http,{method:"POST",url:"/api/v2/system/temp-disk-space",body:e.requestBody,mediaType:"application/json"})}postApiV2FilesystemTestFilter(e){return s(t,this.http,{method:"POST",url:"/api/v2/filesystem/test-filter",body:e.requestBody,mediaType:"application/json"})}postApiV2BackupListBrokenFiles(e){return s(t,this.http,{method:"POST",url:"/api/v2/backup/list-broken-files",body:e.requestBody,mediaType:"application/json"})}postApiV2BackupPurgeBrokenFiles(e){return s(t,this.http,{method:"POST",url:"/api/v2/backup/purge-broken-files",body:e.requestBody,mediaType:"application/json"})}postApiV2BackupDeleteVersions(e){return s(t,this.http,{method:"POST",url:"/api/v2/backup/delete-versions",body:e.requestBody,mediaType:"application/json"})}postApiV2BackupListFilesets(e){return s(t,this.http,{method:"POST",url:"/api/v2/backup/list-filesets",body:e.requestBody,mediaType:"application/json"})}postApiV2BackupListFolder(e){return s(t,this.http,{method:"POST",url:"/api/v2/backup/list-folder",body:e.requestBody,mediaType:"application/json"})}postApiV2BackupListVersions(e){return s(t,this.http,{method:"POST",url:"/api/v2/backup/list-versions",body:e.requestBody,mediaType:"application/json"})}postApiV2BackupSearch(e){return s(t,this.http,{method:"POST",url:"/api/v2/backup/search",body:e.requestBody,mediaType:"application/json"})}postApiV2DestinationTest(e){return s(t,this.http,{method:"POST",url:"/api/v2/destination/test",body:e.requestBody,mediaType:"application/json"})}static \u0275fac=function(p){return new(p||i)(ke$4(De$3))};static \u0275prov=ee$4({token:i,factory:i.\u0275fac,providedIn:"root"})},q$4=class i{constructor(e){this.http=e;}http;getApiV1Webmodules(){return s(t,this.http,{method:"GET",url:"/api/v1/webmodules"})}static \u0275fac=function(p){return new(p||i)(ke$4(De$3))};static \u0275prov=ee$4({token:i,factory:i.\u0275fac,providedIn:"root"})};var m$3=class a{#s=T$6(C);isLoaded=Ue$7(false);systemInfo=Ue$7(null);filterGroups=Ue$7(null);backendModules=Nt$3(()=>this.systemInfo()?.BackendModules??[]);sourceProviderModules=Nt$3(()=>this.systemInfo()?.SourceProviderModules??[]);restoreDestinationProviderModules=Nt$3(()=>this.systemInfo()?.RestoreDestinationProviderModules??[]);allOptionsGrouped=Nt$3(()=>{let e={displayName:"Default",options:[...this.systemInfo()?.Options??[],...this.systemInfo()?.ServerOnlyOptions??[]].map(o=>this.#n(o,this.systemInfo()))??[]},n=this.systemInfo()?.GenericModules?.map(o=>({displayName:o.DisplayName??o.Key,options:o.Options?.map(this.#e)??[]}))??[],i=this.systemInfo()?.CompressionModules?.map(o=>({displayName:o.DisplayName??o.Key,options:o.Options?.map(this.#e)??[]}))??[],t=this.systemInfo()?.EncryptionModules?.map(o=>({displayName:o.DisplayName??o.Key,options:o.Options?.map(this.#e)??[]}))??[];return [e,...n,...i,...t]});allOptions=Nt$3(()=>this.allOptionsGrouped().reduce((e,n)=>[...e,...n.options],[]));hasWebSocket=Nt$3(()=>(this.systemInfo()?.APIExtensions??[]).includes("v1:websocket"));hasV2ListOperations=Nt$3(()=>{let e=this.systemInfo()?.APIExtensions??[];return e.includes("v2:backup:list-filesets")&&e.includes("v2:backup:list-folder")});hasV2DeleteVersions=Nt$3(()=>(this.systemInfo()?.APIExtensions??[]).includes("v2:backup:delete-versions"));hasV2BrokenFiles=Nt$3(()=>{let e=this.systemInfo()?.APIExtensions??[];return e.includes("v2:backup:list-broken-files")&&e.includes("v2:backup:purge-broken-files")});hasV2TestOperations=Nt$3(()=>(this.systemInfo()?.APIExtensions??[]).includes("v2:destination:test"));hasV2ListBackendOperations=Nt$3(()=>(this.systemInfo()?.APIExtensions??[]).includes("v2:destination:list"));hasV2FilterOperations=Nt$3(()=>(this.systemInfo()?.APIExtensions??[]).includes("v2:filesystem:test-filter"));hasRestoreControlFilesOperation=Nt$3(()=>(this.systemInfo()?.APIExtensions??[]).includes("v1:backup:restorecontrolfiles"));hasProgressSubscribeOption=Nt$3(()=>(this.systemInfo()?.APIExtensions??[]).includes("v1:subscribe:progress"));hasTaskSubscribeOption=Nt$3(()=>(this.systemInfo()?.APIExtensions??[]).includes("v1:subscribe:taskqueue"));hasTaskCompletedOption=Nt$3(()=>(this.systemInfo()?.APIExtensions??[]).includes("v1:subscribe:taskcompleted"));hasBackupListSubscribeOption=Nt$3(()=>(this.systemInfo()?.APIExtensions??[]).includes("v1:subscribe:backuplist"));hasWebSocketAuth=Nt$3(()=>(this.systemInfo()?.APIExtensions??[]).includes("v1:websocket:authenticate"));hasWsRemoteControl=Nt$3(()=>(this.systemInfo()?.APIExtensions??[]).includes("v1:subscribe:remotecontrol"));hasWsNotifications=Nt$3(()=>(this.systemInfo()?.APIExtensions??[]).includes("v1:subscribe:notifications"));hasIpcController=Nt$3(()=>(this.systemInfo()?.APIExtensions??[]).includes("v1:ipc:controller"));hasSyncMode=Nt$3(()=>(this.systemInfo()?.APIExtensions??[]).includes("v1:backup:sync-mode"));defaultOAuthUrl=Nt$3(()=>{let e=this.systemInfo()?.DefaultOAuthURL??"https://duplicati-oauth-handler.appspot.com/";return e.endsWith("/refresh")?e.slice(0,-8):e});defaultOAuthUrlV2=Nt$3(()=>{let e=this.systemInfo()?.DefaultOAuthURLv2??"https://oauth-service.duplicati.com/";return e.endsWith("/refresh")?e.slice(0,-8):e});resolveShorthandPath(e){if(!e.startsWith("%")||!e.endsWith("%"))return e;let n=this.systemInfo()?.SpecialFolders;return n?n.find(t=>t.ID?.startsWith(e))?.Path??e:e}preload(e=false){let n=this.#s.getApiV1Systeminfo().pipe(Ju(i=>{this.systemInfo.set(i);}),Bu(()=>this.isLoaded.set(true)));if(e)return n;n.subscribe();}preloadFilterGroups(e=false){let n=this.#s.getApiV1SysteminfoFiltergroups().pipe(Ju(i=>{this.filterGroups.set(i);}),Bu(()=>this.isLoaded.set(true)));if(e)return n;n.subscribe();}#n(e,n){if(e.Name==="encryption-module"){let i=n?.EncryptionModules?.map(t=>t.Key).filter(t=>t).map(t=>t);if(i&&i.length>0)return {name:e.Name,type:"Enumeration",shortDescription:e.ShortDescription??void 0,longDescription:e.LongDescription??void 0,deprecatedDescription:e.Deprecated??false?e.DeprecationMessage??void 0:void 0,options:i,defaultValue:e.DefaultValue}}if(e.Name==="compression-module"){let i=n?.CompressionModules?.map(t=>t.Key).filter(t=>t).map(t=>t);if(i&&i.length>0)return {name:e.Name,type:"Enumeration",shortDescription:e.ShortDescription??void 0,longDescription:e.LongDescription??void 0,deprecatedDescription:e.Deprecated??false?e.DeprecationMessage??void 0:void 0,options:i,defaultValue:e.DefaultValue}}return this.#e(e)}#e(e){return {name:e.Name,type:e.Type,shortDescription:e.ShortDescription??void 0,longDescription:e.LongDescription??void 0,deprecatedDescription:e.Deprecated??false?e.DeprecationMessage??void 0:void 0,options:e.ValidValues,defaultValue:e.DefaultValue}}static \u0275fac=function(n){return new(n||a)};static \u0275prov=ee$4({token:a,factory:a.\u0275fac,providedIn:"root"})};
9
- function T$2(o,l){let n=o.split("+").map(c=>c.trim().toLowerCase()),t=false,e=false,a=false,s=false,r=n[n.length-1]||"";for(let c=0;c<n.length-1;c++){let u=n[c];u==="ctrlorcmd"?l?e=true:t=true:u==="ctrl"?t=true:u==="meta"||u==="cmd"?e=true:u==="alt"||u==="option"?a=true:u==="shift"&&(s=true);}let i,d;return r.startsWith("key")||r.startsWith("digit")?d=r:r==="enter"?i="enter":r==="esc"||r==="escape"?i="escape":r==="space"?i=" ":r==="tab"?i="tab":r==="backspace"?i="backspace":r==="delete"?i="delete":r==="up"||r==="arrowup"?i="arrowup":r==="down"||r==="arrowdown"?i="arrowdown":r==="left"||r==="arrowleft"?i="arrowleft":r==="right"||r==="arrowright"?i="arrowright":r==="home"?i="home":r==="end"?i="end":r==="pageup"?i="pageup":r==="pagedown"?i="pagedown":i=r,{ctrlKey:t,metaKey:e,altKey:a,shiftKey:s,key:i,code:d}}function x$2(o,l){return o.ctrlKey!==l.ctrlKey||o.metaKey!==l.metaKey||o.altKey!==l.altKey||o.shiftKey!==l.shiftKey?false:l.code?o.code.toLowerCase()===l.code:l.key?l.key===" "?o.key===" "||o.key==="Spacebar":o.key.toLowerCase()===l.key:false}function H$2(o,l){let n=o.split("+").map(e=>e.trim()),t=[];for(let e=0;e<n.length;e++){let a=n[e],s=a.toLowerCase();if(e<n.length-1)s==="ctrlorcmd"?t.push(l?"\u2318":"Ctrl"):s==="ctrl"?t.push(l?"\u2303":"Ctrl"):s==="meta"||s==="cmd"?t.push(l?"\u2318":"Win"):s==="alt"||s==="option"?t.push(l?"\u2325":"Alt"):s==="shift"&&t.push(l?"\u21E7":"Shift");else if(s.startsWith("key"))t.push(a.substring(3).toUpperCase());else if(s.startsWith("digit"))t.push(a.substring(5));else {let r=a.charAt(0).toUpperCase()+a.slice(1);t.push(r);}}return l?t.join(""):t.join("+")}var K$1=new x$6("SHIP_A11Y_KEYBINDINGS_OVERRIDE"),j$2=new x$6("SHIP_A11Y_KEYBINDINGS_DISABLED",{providedIn:"root",factory:()=>false}),V$5={"datepicker.prev-month":"PageUp","datepicker.next-month":"PageDown","datepicker.prev-year":"Shift+PageUp","datepicker.next-year":"Shift+PageDown","datepicker.month-start":"Home","datepicker.month-end":"End","datepicker.day-next":"ArrowRight","datepicker.day-prev":"ArrowLeft","datepicker.week-next":"ArrowDown","datepicker.week-prev":"ArrowUp","selection-group.next":"ArrowRight, ArrowDown","selection-group.prev":"ArrowLeft, ArrowUp","selection-group.select":"Enter, space","select.next":"ArrowDown","select.prev":"ArrowUp","select.select":"Enter, space","select.close":"Escape","menu.next":"ArrowDown","menu.prev":"ArrowUp","menu.open-submenu":"ArrowRight","menu.close-submenu":"ArrowLeft","menu.select":"Enter, space","spotlight.next":"ArrowDown","spotlight.prev":"ArrowUp","spotlight.open":"ctrlOrCmd+k","dialog.close":"Escape","popover.close":"Escape","toggle-card.toggle":"Enter, space","checkbox.toggle":"Enter, space","toggle.toggle":"Enter, space","radio.select":"Enter, space","table.sort":"Enter, space","table.column-resize-decrease":"Shift+ArrowLeft","table.column-resize-increase":"Shift+ArrowRight","grid.focus-up":"ArrowUp","grid.focus-down":"ArrowDown","grid.focus-left":"ArrowLeft","grid.focus-right":"ArrowRight","grid.focus-first":"Home","grid.focus-last":"End","blueprint.cancel":"Escape","editor-toolbar.next":"ArrowRight, ArrowDown","editor-toolbar.prev":"ArrowLeft, ArrowUp","editor-toolbar.home":"Home","editor-toolbar.end":"End","editor.bold":"ctrlOrCmd+b","editor.italic":"ctrlOrCmd+i","editor.underline":"ctrlOrCmd+u","editor.strike":"ctrlOrCmd+Shift+x","editor.code":"ctrlOrCmd+e","editor.link":"ctrlOrCmd+k","editor.undo":"ctrlOrCmd+z","editor.redo":"ctrlOrCmd+y, ctrlOrCmd+Shift+z","editor.paragraph":"ctrlOrCmd+Alt+Digit0","editor.heading1":"ctrlOrCmd+Alt+Digit1","editor.heading2":"ctrlOrCmd+Alt+Digit2","editor.heading3":"ctrlOrCmd+Alt+Digit3","editor.bulletList":"ctrlOrCmd+Shift+Digit8","editor.orderedList":"ctrlOrCmd+Shift+Digit7","editor.blockquote":"ctrlOrCmd+Shift+Digit9","editor.codeBlock":"ctrlOrCmd+Shift+c","editor.horizontalRule":"ctrlOrCmd+Shift+-","editor.removeFormat":"ctrlOrCmd+\\","editor.alignLeft":"ctrlOrCmd+Shift+l","editor.alignCenter":"ctrlOrCmd+Shift+e","editor.alignRight":"ctrlOrCmd+Shift+r"},N$4=(()=>{class o{#e;#i;#r;#t;#s;#n;get isMac(){return Rr(this.#e)?navigator.userAgent.toLowerCase().includes("mac"):false}constructor(){this.#e=T$6(av),this.#i=T$6(K$1,{optional:true}),this.#r=T$6(j$2,{optional:true}),this.#t=new Map,this.#s=new Map,this.#n=0,this.isPaused=Ue$7(false),this.isDisabled=Ue$7(this.#r??false),this.registerDefaults(V$5),this.#i&&this.registerOverrides(this.#i);}pause(){this.#n++,this.isPaused.set(true);}resume(){this.#n=Math.max(0,this.#n-1),this.#n===0&&this.isPaused.set(false);}registerDefaults(n){for(let[t,e]of Object.entries(n))this.#s.set(t,e),this.#t.has(t)||this.#t.set(t,e);}registerOverrides(n){for(let[t,e]of Object.entries(n))this.#t.set(t,e);}getShortcut(n){return this.#t.get(n)}getDefaultShortcut(n){return this.#s.get(n)}getDisplayShortcut(n){let t=this.getShortcut(n);if(t)return t.split(",").map(e=>H$2(e.trim(),this.isMac)).join(", ")}matches(n,t){if(this.isDisabled())return false;let e=this.getShortcut(t);return e?e.split(",").some(a=>{let s=T$2(a.trim(),this.isMac);return x$2(n,s)}):false}static{this.\u0275fac=function(t){return new(t||o)};}static{this.\u0275prov=ee$4({token:o,factory:o.\u0275fac,providedIn:"root"});}}return o})();function re$1(o=null){let l=o??T$6(Jr$1).nativeElement;if(!l)return Ue$7("");let n=Ue$7(l.className);if(typeof MutationObserver>"u")return n.asReadonly();let t=T$6(rt$1),e=new MutationObserver(a=>{for(let s of a)if(s.type==="attributes"&&s.attributeName==="class"){let r=s.target;n.set(r.className);}});return e.observe(l,{attributes:true,attributeFilter:["class"]}),t.onDestroy(()=>e.disconnect()),n.asReadonly()}function B$1(o,l={childList:true}){let n=T$6(Jr$1).nativeElement,t=T$6(rt$1),e=Ue$7([]),a=()=>{e.set(Array.from(n.querySelectorAll(o)));};if(a(),typeof MutationObserver>"u")return e.asReadonly();let s=new MutationObserver(r=>{r.some(d=>d.type==="childList")&&a();});return s.observe(n,l),t.onDestroy(()=>s.disconnect()),e.asReadonly()}function U$1(o,l){let n=Ue$7(null),t=l.map(i=>i.toUpperCase()),e=T$6(Te$4),a=e.get(rt$1);if(Or(e.get(av))||typeof MutationObserver>"u")return n.asReadonly();if(t.find(i=>o.nativeElement.querySelector(i)))return n.set(new Jr$1(o.nativeElement.querySelector(l[0]))),n.asReadonly();let r=new MutationObserver(i=>{for(let d of i)if(d.addedNodes){for(let c of Array.from(d.addedNodes))if(c.nodeType===Node.ELEMENT_NODE&&t.includes(c.nodeName)){n.set(new Jr$1(c)),r.disconnect();return}}});return r.observe(o.nativeElement,{childList:true,subtree:true}),a.onDestroy(()=>r.disconnect()),n.asReadonly()}function oe$3(o,l){let n=T$6(Te$4),t=n.get(rt$1),e=Ue$7([]),a=null,s=null,r=(d,c)=>{s&&s.disconnect();let u=Array.from(d.nativeElement.querySelectorAll(c.join(",")));e.set(u),typeof MutationObserver<"u"&&(s=new MutationObserver(v=>{queueMicrotask(()=>{let b=Array.from(d.nativeElement.querySelectorAll(c.join(",")));e.set(b);});}),s.observe(d.nativeElement,{childList:true,subtree:true})),t.onDestroy(()=>i());};a=Ga(()=>{let d=typeof o=="function"&&Nr(o)?o():o,c=typeof l=="function"?l():l;d&&c?.length>0?r(d,c):(e.set([]),s&&(s.disconnect(),s=null));},{injector:n});function i(){a&&a.destroy(),s&&s.disconnect();}return {signal:e.asReadonly(),destroy:i}}function ae$3(o,l=["input","textarea"]){let n=o||U$1(T$6(Jr$1),l),t=Ue$7(void 0),e=T$6(Te$4),a=e.get(rt$1),s=Ue$7(null);Ga(i=>{let d=n();if(!d)return;let c=d.nativeElement;c&&(F$3(c),s.set(c),t.set(c.value??""),i(()=>{s.set(null);}));},{injector:e});let r=null;return Ga(()=>{let i=s();if(!i)return;r&&(r(),r=null);let d=u=>{t.set(u.detail.value);},c=u=>{t.set(u.target.value);};i.addEventListener("input",c),i.addEventListener("inputValueChanged",d),t.set(i.value),r=()=>{i.removeEventListener("input",c),i.removeEventListener("inputValueChanged",d);},a.onDestroy(()=>{r&&r();});},{injector:e}),Ga(()=>{let i=s();if(!i)return;let d=t();d&&(i.value=d,i.dispatchEvent(new Event("input")));},{injector:e}),t}function F$3(o){return Object.defineProperty(o,"value",{configurable:true,get(){return Object.getOwnPropertyDescriptor(Object.getPrototypeOf(o),"value").get.call(this)},set(l){Object.getOwnPropertyDescriptor(Object.getPrototypeOf(o),"value").set.call(this,l);let t=new CustomEvent("inputValueChanged",{bubbles:true,cancelable:true,detail:{value:l}});return this.dispatchEvent(t),l}}),o}function le$1(){return Date.now().toString(36)+Math.random().toString(36).substring(2)}var G$3=new x$6("Ship UI Config");function ce$2(o,l){let n=T$6(G$3,{optional:true});return Nt$3(()=>{let t=n?.[o],e=l.variant?.();e||(e=t?.variant),!e&&o==="alert"&&n?.alertVariant&&(e=n.alertVariant),!e&&o==="card"&&n?.cardType&&(e=n.cardType),!e&&o==="table"&&n?.tableType&&(e=n.tableType);let a=l.color?.()||t?.color;e||(e="base");let s=l.size?.()||t?.size,r=(l.sharp?.()??t?.sharp)||false,i=(l.dynamic?.()??t?.dynamic)||false,d=(l.readonly?.()??t?.readonly)||false,c=(l.alwaysShow?.()??t?.alwaysShow)||false,u=[];return a&&u.push(a),e&&(["a","b","c","d"].includes(e)?u.push(`type-${e}`):u.push(e)),s&&u.push(s),r&&u.push("sharp"),i&&u.push("dynamic"),d&&u.push("readonly"),c&&u.push("always-show"),u.join(" ")})}var ue$3=(()=>{class o{#e;constructor(n,t,e){this.hostElement=T$6(Jr$1).nativeElement,this.#e=T$6(N$4),this.value=m1(null),this.closable=g1(false,{transform:T1}),this.manualActivation=g1(false,{transform:T1}),this.itemSelector=n,this.activeClass=t,this.options=e,this.options?.hostRole&&this.hostElement.setAttribute("role",this.options.hostRole),this.items=B$1(this.itemSelector,{childList:true,subtree:true,attributes:true}),Ga(()=>{let a=this.value(),s=this.activeClass,r=this.items(),i=this.options?.activeAttribute||(this.options?.itemRole==="tab"||this.options?.itemRole==="option"?"aria-selected":this.options?.itemRole==="radio"?"aria-checked":"aria-pressed"),d=false;r.forEach(c=>{let u=c.getAttribute("value");u===null&&!c.hasAttribute("value")||(u===String(a)||u===""&&(a===null||a===""))&&(d=true);}),r.forEach(c=>{this.options?.itemRole&&!c.hasAttribute("role")&&c.setAttribute("role",this.options.itemRole);let u=c.getAttribute("value"),v=u!==null||c.hasAttribute("value"),b=false;v?b=u===String(a)||u===""&&(a===null||a===""):b=c.classList.contains(s),b?(v&&c.classList.add(s),c.setAttribute(i,"true"),c.setAttribute("tabindex","0")):(v&&c.classList.remove(s),c.setAttribute(i,"false"),d||!v?c.setAttribute("tabindex","-1"):c.removeAttribute("tabindex"));});});}onClick(n){let t=n;if(!t||!t.closest)return;let e=t.closest(this.itemSelector);if(e&&this.hostElement.contains(e)&&e.hasAttribute("value")){let a=e.getAttribute("value");this.closable()&&String(this.value())===String(a)?this.value.set(null):this.value.set(a);}}onKeyDown(n){let t=n.target;if(this.#e.matches(n,"selection-group.select")){let i=t?.closest?.(this.itemSelector);if(i&&this.hostElement.contains(i)&&i.hasAttribute("value")){(n.key===" "||n.key==="Spacebar")&&n.preventDefault();let c=i.getAttribute("value");this.closable()&&String(this.value())===String(c)?this.value.set(null):this.value.set(c);}return}let e=this.items().filter(i=>i.hasAttribute("value"));if(!e.length)return;let a=e.findIndex(i=>i===document.activeElement||i.contains(document.activeElement));a===-1&&(a=e.findIndex(i=>i.classList.contains(this.activeClass))),a===-1&&(a=0);let s=a;if(this.#e.matches(n,"selection-group.next"))s=a>=e.length-1?0:a+1;else if(this.#e.matches(n,"selection-group.prev"))s=a<=0?e.length-1:a-1;else return;n.preventDefault();let r=e[s];if(r){if(!this.manualActivation()){let i=r.getAttribute("value");this.value.set(i);}r.focus();}}static{this.\u0275fac=function(t){SD();};}static{this.\u0275dir=mw({type:o,hostBindings:function(t,e){t&1&&Fg("click",function(s){return e.onClick(s.target)})("keydown",function(s){return e.onKeyDown(s)});},inputs:{value:[1,"value"],closable:[1,"closable"],manualActivation:[1,"manualActivation"]},outputs:{value:"valueChange"}});}}return o})();var oe$2=["dialogRef"],ae$2=["*"];function se$2(t,Z){if(t&1){let i=gT();Bl(0,"div",5),jg("click",function(){Sd(i);let o=nC(2);return xd(o.isOpen.set(false))}),$l();}}function ne$1(t,Z){if(t&1&&(Bl(0,"dialog",2,0)(2,"div",3),iC(3),$l(),oT(4,se$2,1,0,"div",4),$l()),t&2){let i=nC(),e=$C(0);bC(e.class),zg("width",e.width??"")("max-width",e.maxWidth??"")("max-height",e.maxHeight??"")("height",e.height??""),DE(4),iT(i.defaultOptionMerge().closeOnOutsideClick?4:-1);}}var le={class:"default",width:void 0,maxWidth:void 0,height:void 0,maxHeight:void 0,closeOnButton:true,closeOnEsc:true,closeOnOutsideClick:true},de$2=(()=>{class t{constructor(){this.#i=T$6(br),this.#t=T$6(G$3,{optional:true}),this.#e=T$6(N$4),this.dialogRef=y1("dialogRef"),this.isOpen=m1(false),this.options=g1(),this.closed=h1(),this.defaultOptionMerge=Nt$3(()=>l$3(m$6(l$3({},le),{class:this.#t?.dialogType??"default"}),this.options())),this.abortController=null,this.isOpenEffect=Ga(()=>{let i=this.dialogRef()?.nativeElement;if(i)if(this.abortController&&this.abortController.abort(),this.abortController=new AbortController,this.isOpen()){i.showModal();let e=this.#e.getShortcut("dialog.close");e&&i.setAttribute("aria-keyshortcuts",this.#e.getDisplayShortcut("dialog.close")||e),i.addEventListener("close",()=>{this.isOpen.set(false),this.closed.emit();},{signal:this.abortController?.signal}),this.#i.addEventListener("keydown",o=>{this.#e.matches(o,"dialog.close")&&(this.defaultOptionMerge().closeOnEsc?this.isOpen.set(false):o.preventDefault());},{signal:this.abortController?.signal});}else i.close(),queueMicrotask(()=>this.closed.emit());});}#i;#t;#e;ngOnDestroy(){this.abortController?.abort();}static{this.\u0275fac=function(e){return new(e||t)};}static{this.\u0275cmp=dw({type:t,selectors:[["sh-dialog"]],viewQuery:function(e,o){e&1&&$g(o.dialogRef,oe$2,5),e&2&&lC();},inputs:{isOpen:[1,"isOpen"],options:[1,"options"]},outputs:{isOpen:"isOpenChange",closed:"closed"},ngContentSelectors:ae$2,decls:2,vars:2,consts:[["dialogRef",""],["shDialog","",3,"class","width","max-width","max-height","height"],["shDialog",""],[1,"content"],[1,"closeable-overlay"],[1,"closeable-overlay",3,"click"]],template:function(e,o){e&1&&(oC(),cm(0),oT(1,ne$1,5,11,"dialog",1)),e&2&&(BC(o.defaultOptionMerge()),DE(),iT(o.isOpen()?1:-1));},styles:[`dialog[shDialog]{--dialog-p: 1rem;--dialog-g: .5rem;--dialog-bg: var(--base-1);--dialog-s: var(--shape-2);--dialog-inner-s: var(--shape-2);border:var(--border-10);background:transparent;border-radius:var(--dialog-s);box-shadow:var(--box-shadow-40);color:var(--base-8);font:var(--paragraph-30);padding:0;margin:auto;z-index:0;display:flex;flex-direction:column}dialog[shDialog]:focus-visible{outline:none}dialog[shDialog].type-b{--dialog-s: 1.625rem;--dialog-inner-s: 1.25rem;background:var(--base-3);padding:.5rem;outline:var(--border-10);outline-offset:-1px;overflow:hidden}dialog[shDialog].type-b::backdrop{background:rgb(from var(--base-1) r g b/30%);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}dialog[shDialog].type-b>.content{border:1px solid rgb(from var(--base-4) r g b/70%)}dialog[shDialog].type-c::backdrop{background:rgb(from var(--base-1) r g b/30%);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}dialog[shDialog]>.content{position:relative;border-radius:var(--dialog-inner-s);background-color:var(--dialog-bg);z-index:2;max-width:initial;overflow:auto}dialog[shDialog] .closeable-overlay{position:fixed;inset:0;opacity:0;z-index:1}dialog[shDialog]:focus{outline:none}dialog[shDialog] .dialog-content{position:relative;z-index:2}dialog[shDialog] .dialog-backdrop{position:fixed;inset:0;opacity:0;z-index:1}dialog[shDialog] [header],dialog[shDialog] [content],dialog[shDialog] [footer]{width:100%}dialog[shDialog] [header]{display:grid;grid-template-areas:"title actions" "description actions";grid-template-columns:1fr min-content;padding:var(--dialog-p);gap:var(--dialog-g)}dialog[shDialog] [header] h1,dialog[shDialog] [header] h2,dialog[shDialog] [header] h3,dialog[shDialog] [header] h4,dialog[shDialog] [header] [title]{grid-area:title;font:var(--title-20)}dialog[shDialog] [header] p,dialog[shDialog] [header] [description]{grid-area:description;font:var(--paragraph-30)}dialog[shDialog] [header] button,dialog[shDialog] [header] [actions]{grid-area:actions}dialog[shDialog] [header].sticky{background-color:var(--dialog-bg);border-bottom:var(--border-10);box-shadow:var(--box-shadow-35);position:sticky;top:0;z-index:100}dialog[shDialog] [content]{padding:0 var(--dialog-p)}dialog[shDialog] [content]:not(:has(~[footer])){padding-bottom:var(--dialog-p)}dialog[shDialog] [footer]{display:flex;align-items:center;justify-content:flex-end;padding:var(--dialog-p);gap:var(--dialog-g)}dialog[shDialog] [footer].sticky{background-color:var(--dialog-bg);border-top:var(--border-10);box-shadow:var(--box-shadow-35);position:sticky;bottom:0;z-index:100}
10
- `],encapsulation:2});}}return t})(),be$3=(()=>{class t{constructor(){this.#i=T$6(br),this.#t=this.#i.querySelector("body"),this.#e=T$6(fs),this.compRef=null,this.insertedCompRef=null,this.insertedTemplateRef=null,this.closedFieldSub=null,this.compClosedSub=null;}#i;#t;#e;open(i,e){let o=this.#e.injector,ee=this.#a(),l=false,a,w=e||{},{data:r,closed:y}=w,ie=n(w,["data","closed"]);this.compRef&&this.#o(true);let te=this;function c(s=void 0){te.#o(),!l&&(l=true,a&&a instanceof ao$1&&a.emit(s),y?.(s));}let h=[];if(i instanceof $r)this.insertedTemplateRef=i.createEmbeddedView({$implicit:r,close:s=>c(s)}),h=[this.insertedTemplateRef.rootNodes];else {this.insertedCompRef=b1(i,{environmentInjector:o}),h=[[this.insertedCompRef.location.nativeElement]];let s=this.insertedCompRef.instance,x=s.data;if(a=s.closed,r){if(Nr(x))this.insertedCompRef.setInput("data",r);else if(!Nr(x))throw new Error("data is not an input signal on the passed component")}a&&a instanceof ao$1&&(this.closedFieldSub=a.subscribe(k=>{this.#o(),!l&&(l=true,y?.(k),(this.compRef?.instance.closed).emit(k));}));}return this.compRef=b1(de$2,{hostElement:ee,environmentInjector:o,projectableNodes:h}),this.insertedCompRef&&(this.#e.attachView(this.insertedCompRef.hostView),this.insertedCompRef.changeDetectorRef.detectChanges()),this.insertedTemplateRef&&(this.#e.attachView(this.insertedTemplateRef),this.insertedTemplateRef.detectChanges()),this.#e.attachView(this.compRef.hostView),this.compRef.changeDetectorRef.detectChanges(),this.compRef.instance.isOpen.set(true),this.compRef.setInput("options",ie),this.compClosedSub=this.compRef.instance.closed.subscribe(()=>c()),{component:this.insertedCompRef?.instance,close:c,closed:this.compRef.instance.closed}}#a(){let i=this.#i.createElement("sh-dialog-ref");return i.id="sh-dialog-ref",this.#i.getElementById("sh-dialog-ref")||this.#t?.append(i),this.#i.getElementById("sh-dialog-ref")}#o(i=false){let e=this;i||queueMicrotask(()=>o());function o(){e.insertedCompRef&&(e.#e.detachView(e.insertedCompRef.hostView),e.closedFieldSub?.unsubscribe(),e.insertedCompRef.destroy(),e.insertedCompRef=null),e.insertedTemplateRef&&(e.#e.detachView(e.insertedTemplateRef),e.insertedTemplateRef.destroy(),e.insertedTemplateRef=null),e.compRef&&(e.#e.detachView(e.compRef.hostView),e.compClosedSub?.unsubscribe(),e.compRef.destroy());}}ngOnDestroy(){this.#o(true);}static{this.\u0275fac=function(e){return new(e||t)};}static{this.\u0275prov=ee$4({token:t,factory:t.\u0275fac,providedIn:"root"});}}return t})();var w$2=class w{_doc;constructor(n){this._doc=n;}manager},b$2=(()=>{class o extends w$2{constructor(e){super(e);}supports(e){return true}addEventListener(e,t,r,s){return e.addEventListener(t,r,s),()=>this.removeEventListener(e,t,r,s)}removeEventListener(e,t,r,s){return e.removeEventListener(t,r,s)}static \u0275fac=function(t){return new(t||o)(ke$4(br))};static \u0275prov=ee$4({token:o,factory:o.\u0275fac})}return o})(),H$1=new x$6(""),z$3=(()=>{class o{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,t){this._zone=t,e.forEach(i=>{i.manager=this;});let r=e.filter(i=>!(i instanceof b$2));this._plugins=r.slice().reverse();let s=e.find(i=>i instanceof b$2);s&&this._plugins.push(s);}addEventListener(e,t,r,s){return this._findPluginFor(t).addEventListener(e,t,r,s)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(s=>s.supports(e)),!t)throw new D$7(-5101,false);return this._eventNameToPlugin.set(e,t),t}static \u0275fac=function(t){return new(t||o)(ke$4(H$1),ke$4(Oe$5))};static \u0275prov=ee$4({token:o,factory:o.\u0275fac})}return o})(),j$1="ng-app-id";function pe$2(o){for(let n of o)n.remove();}function he$1(o,n){let e=n.createElement("style");return e.textContent=o,e}function Te$1(o,n,e,t){let r=o.head?.querySelectorAll(`style[${j$1}="${n}"],link[${j$1}="${n}"]`);if(!r||r.length===0)return false;for(let s of r)s.removeAttribute(j$1),s instanceof HTMLLinkElement?t.set(s.href.slice(s.href.lastIndexOf("/")+1),{usage:0,elements:[s]}):s.textContent&&e.set(s.textContent,{usage:0,elements:[s]});return true}function F$2(o,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",o),e}var $$3=(()=>{class o{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,t,r,s={}){this.doc=e,this.appId=t,this.nonce=r,Te$1(e,t,this.inline,this.external)&&this.hosts.add(e.head);}addStyles(e,t){for(let r of e)this.addUsage(r,this.inline,he$1);t?.forEach(r=>this.addUsage(r,this.external,F$2));}removeStyles(e,t){for(let r of e)this.removeUsage(r,this.inline);t?.forEach(r=>this.removeUsage(r,this.external));}addUsage(e,t,r){let s=t.get(e);s?s.usage++:t.set(e,{usage:1,elements:[...this.hosts].map(i=>this.addElement(i,r(e,this.doc)))});}removeUsage(e,t){let r=t.get(e);r&&(r.usage--,r.usage<=0&&(pe$2(r.elements),t.delete(e)));}ngOnDestroy(){for(let[,{elements:e}]of [...this.inline,...this.external])pe$2(e);this.hosts.clear();}addHost(e){if(!this.hosts.has(e)){this.hosts.add(e);for(let[t,{elements:r}]of this.inline)r.push(this.addElement(e,he$1(t,this.doc)));for(let[t,{elements:r}]of this.external)r.push(this.addElement(e,F$2(t,this.doc)));}}removeHost(e){this.hosts.delete(e);for(let t of [...this.inline.values(),...this.external.values()]){let r=[];for(let s of t.elements)s.parentNode===e?s.remove():r.push(s);t.elements=r;}}addElement(e,t){return this.nonce&&t.setAttribute("nonce",this.nonce),e.appendChild(t)}static \u0275fac=function(t){return new(t||o)(ke$4(br),ke$4(Wa),ke$4(cv,8),ke$4(av))};static \u0275prov=ee$4({token:o,factory:o.\u0275fac})}return o})(),V$4={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"},G$2=/%COMP%/g;var ye$2="%COMP%",_e$2=`_nghost-${ye$2}`,we$2=`_ngcontent-${ye$2}`,Me$1=true,Re$2=new x$6("",{factory:()=>Me$1});function De$2(o){return we$2.replace(G$2,o)}function Ae$2(o){return _e$2.replace(G$2,o)}function Ee$1(o,n){return n.map(e=>e.replace(G$2,o))}var Y$1=(()=>{class o{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,t,r,s,i,c,d=null,l=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=r,this.removeStylesOnCompDestroy=s,this.doc=i,this.ngZone=c,this.nonce=d,this.tracingService=l,this.defaultRenderer=new M$1(e,i,c,this.tracingService);}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;let r=this.getOrCreateRenderer(e,t);return r instanceof L$1?r.applyToHost(e):r instanceof R$1&&r.applyStyles(),r}getOrCreateRenderer(e,t){let r=this.rendererByCompId,s=r.get(t.id);if(!s){let i=this.doc,c=this.ngZone,d=this.eventManager,l=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,h=this.tracingService;switch(t.encapsulation){case nn$2.Emulated:s=new L$1(d,l,t,this.appId,p,i,c,h);break;case nn$2.ShadowDom:return new N$3(d,e,t,i,c,this.nonce,h,l);case nn$2.ExperimentalIsolatedShadowDom:return new N$3(d,e,t,i,c,this.nonce,h);default:s=new R$1(d,l,t,p,i,c,h);break}r.set(t.id,s);}return s}ngOnDestroy(){this.rendererByCompId.clear();}componentReplaced(e){this.rendererByCompId.delete(e);}static \u0275fac=function(t){return new(t||o)(ke$4(z$3),ke$4(jh),ke$4(Wa),ke$4(Re$2),ke$4(br),ke$4(Oe$5),ke$4(cv),ke$4(Wn$1,8))};static \u0275prov=ee$4({token:o,factory:o.\u0275fac})}return o})(),M$1=class M{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=true;constructor(n,e,t,r){this.eventManager=n,this.doc=e,this.ngZone=t,this.tracingService=r;}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(V$4[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(me$2(n)?n.content:n).appendChild(e);}insertBefore(n,e,t){n&&(me$2(n)?n.content:n).insertBefore(e,t);}removeChild(n,e){e.remove();}selectRootElement(n,e){let t=typeof n=="string"?this.doc.querySelector(n):n;if(!t)throw new D$7(-5104,false);return e||(t.textContent=""),t}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,t,r){if(r){e=r+":"+e;let s=V$4[r];s?n.setAttributeNS(s,e,t):n.setAttribute(e,t);}else n.setAttribute(e,t);}removeAttribute(n,e,t){if(t){let r=V$4[t];r?n.removeAttributeNS(r,e):n.removeAttribute(`${t}:${e}`);}else n.removeAttribute(e);}addClass(n,e){n.classList.add(e);}removeClass(n,e){n.classList.remove(e);}setStyle(n,e,t,r){r&(Li$1.DashCase|Li$1.Important)?n.style.setProperty(e,t,r&Li$1.Important?"important":""):n.style[e]=t;}removeStyle(n,e,t){t&Li$1.DashCase?n.style.removeProperty(e):n.style[e]="";}setProperty(n,e,t){n!=null&&(n[e]=t);}setValue(n,e){n.nodeValue=e;}listen(n,e,t,r){if(typeof n=="string"&&(n=s$1().getGlobalEventTarget(this.doc,n),!n))throw new D$7(-5102,false);let s=this.decoratePreventDefault(t);return this.tracingService?.wrapEventListener&&(s=this.tracingService.wrapEventListener(n,e,s)),this.eventManager.addEventListener(n,e,s,r)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;n(e)===false&&e.preventDefault();}}};function me$2(o){return o.tagName==="TEMPLATE"&&o.content!==void 0}var N$3=class N extends M$1{hostEl;sharedStylesHost;shadowRoot;constructor(n,e,t,r,s,i,c,d){super(n,r,s,c),this.hostEl=e,this.sharedStylesHost=d,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=t.styles;l=Ee$1(t.id,l);for(let h of l){let y=document.createElement("style");i&&y.setAttribute("nonce",i),y.textContent=h,this.shadowRoot.appendChild(y);}let p=t.getExternalStyles?.();if(p)for(let h of p){let y=F$2(h,r);i&&y.setAttribute("nonce",i),this.shadowRoot.appendChild(y);}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,t){return super.insertBefore(this.nodeOrShadowRoot(n),e,t)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot);}},R$1=class R extends M$1{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,t,r,s,i,c,d){super(n,s,i,c),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let l=t.styles;this.styles=d?Ee$1(d,l):l,this.styleUrls=t.getExternalStyles?.(d);}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls);}destroy(){this.removeStylesOnCompDestroy&&jn$2.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls);}},L$1=class L extends R$1{contentAttr;hostAttr;constructor(n,e,t,r,s,i,c,d){let l=r+"-"+t.id;super(n,e,t,s,i,c,d,l),this.contentAttr=De$2(l),this.hostAttr=Ae$2(l);}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"");}createElement(n,e){let t=super.createElement(n,e);return super.setAttribute(t,this.contentAttr,""),t}};var P$2=class o extends f$3{supportsDOMEvents=true;static makeCurrent(){_$2(new o);}onAndCancel(n,e,t,r){return n.addEventListener(e,t,r),()=>{n.removeEventListener(e,t,r);}}dispatchEvent(n,e){n.dispatchEvent(e);}remove(n){n.remove();}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=Ie$1();return e==null?null:Oe$3(e)}resetBaseElement(){D$4=null;}getUserAgent(){return window.navigator.userAgent}getCookie(n){return k$7(document.cookie,n)}},D$4=null;function Ie$1(){return D$4=D$4||document.head.querySelector("base"),D$4?D$4.getAttribute("href"):null}function Oe$3(o){return new URL(o,document.baseURI).pathname}var ve$2=["alt","control","meta","shift"],be$2={"\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"},Ne$2={alt:o=>o.altKey,control:o=>o.ctrlKey,meta:o=>o.metaKey,shift:o=>o.shiftKey},Se$2=(()=>{class o extends w$2{constructor(e){super(e);}supports(e){return o.parseEventName(e)!=null}addEventListener(e,t,r,s){let i=o.parseEventName(t),c=o.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>s$1().onAndCancel(e,i.domEventName,c,s))}static parseEventName(e){let t=e.toLowerCase().split("."),r=t.shift();if(t.length===0||!(r==="keydown"||r==="keyup"))return null;let s=o._normalizeKey(t.pop()),i="",c=t.indexOf("code");if(c>-1&&(t.splice(c,1),i="code."),ve$2.forEach(l=>{let p=t.indexOf(l);p>-1&&(t.splice(p,1),i+=l+".");}),i+=s,t.length!=0||s.length===0)return null;let d={};return d.domEventName=r,d.fullKey=i,d}static matchEventFullKeyCode(e,t){let r=be$2[e.key]||e.key,s="";return t.indexOf("code.")>-1&&(r=e.code,s="code."),r==null||!r?false:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),ve$2.forEach(i=>{if(i!==r){let c=Ne$2[i];c(e)&&(s+=i+".");}}),s+=r,s===t)}static eventCallback(e,t,r){return s=>{o.matchEventFullKeyCode(s,e)&&r.runGuarded(()=>t(s));}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(t){return new(t||o)(ke$4(br))};static \u0275prov=ee$4({token:o,factory:o.\u0275fac})}return o})();async function Le$3(o,n,e){let t=l$3({rootComponent:o},He$3(n,e));return w1(t)}function He$3(o,n){return {platformRef:n?.platformRef,appProviders:[...Be$3,...o?.providers??[]],platformProviders:xe$3}}function Pe$3(){P$2.makeCurrent();}function ke$1(){return new Je$4}function Ue$3(){return Yv(document),document}var xe$3=[{provide:av,useValue:wi$1},{provide:Zd,useValue:Pe$3,multi:true},{provide:br,useFactory:Ue$3}];var Be$3=[{provide:ya$1,useValue:"root"},{provide:Je$4,useFactory:ke$1},{provide:H$1,useClass:b$2,multi:true},{provide:H$1,useClass:Se$2,multi:true},Y$1,{provide:jh,useClass:$$3},{provide:$$3,useExisting:jh},z$3,{provide:Ur,useExisting:Y$1},[]];var zt$1=(()=>{class o{_doc;constructor(e){this._doc=e;}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||"";}static \u0275fac=function(t){return new(t||o)(ke$4(br))};static \u0275prov=ee$4({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var je$3=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275prov=ee$4({token:o,factory:function(t){let r=null;return t?r=new(t||o):r=ke$4(Ve$3),r},providedIn:"root"})}return o})(),Ve$3=(()=>{class o extends je$3{_doc=T$6(br);sanitize(e,t){if(t==null)return null;switch(e){case V$9.NONE:return t;case V$9.HTML:return Un$2(t,"HTML")?st$2(t):Pp(this._doc,String(t)).toString();case V$9.STYLE:return Un$2(t,"Style")?st$2(t):t;case V$9.SCRIPT:if(Un$2(t,"Script"))return st$2(t);throw new D$7(5200,false);case V$9.URL:return Un$2(t,"URL")?st$2(t):Xi$1(String(t));case V$9.RESOURCE_URL:if(Un$2(t,"ResourceURL"))return st$2(t);throw new D$7(5201,false);default:throw new D$7(5202,false)}}bypassSecurityTrustHtml(e){return nI(e)}bypassSecurityTrustStyle(e){return rI(e)}bypassSecurityTrustScript(e){return oI(e)}bypassSecurityTrustUrl(e){return iI(e)}bypassSecurityTrustResourceUrl(e){return sI(e)}static \u0275fac=function(t){return new(t||o)};static \u0275prov=Kr({token:o,factory:o.\u0275fac})}return o})();
11
- var p="primary",Be$2=Symbol("RouteTitle"),Vt=class{params;constructor(n){this.params=n||{};}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return []}get keys(){return Object.keys(this.params)}};function ae$1(t){return new Vt(t)}function Ht$1(t,n,e){for(let r=0;r<t.length;r++){let i=t[r],o=n[r];if(i[0]===":")e[i.substring(1)]=o;else if(i!==o.path)return false}return true}function nn(t,n,e){let r=e.path.split("/"),i=r.indexOf("**");if(i===-1){if(r.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||r.length<t.length))return null;let s={},u=t.slice(0,r.length);return Ht$1(r,u,s)?{consumed:u,posParams:s}:null}if(i!==r.lastIndexOf("**"))return null;let o=r.slice(0,i),a=r.slice(i+1);if(o.length+a.length>t.length||e.pathMatch==="full"&&n.hasChildren()&&e.path!=="**")return null;let c={};return !Ht$1(o,t.slice(0,o.length),c)||!Ht$1(a,t.slice(t.length-a.length),c)?null:{consumed:t,posParams:c}}function lt$1(t){return new Promise((n,e)=>{t.pipe(Cy()).subscribe({next:r=>n(r),error:r=>e(r)});})}function Zn(t,n){if(t.length!==n.length)return false;for(let e=0;e<t.length;++e)if(!q$3(t[e],n[e]))return false;return true}function q$3(t,n){let e=t?Gt(t):void 0,r=n?Gt(n):void 0;if(!e||!r||e.length!=r.length)return false;let i;for(let o=0;o<e.length;o++)if(i=e[o],!on(t[i],n[i]))return false;return true}function Gt(t){return [...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function on(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return false;let e=[...t].sort(),r=[...n].sort();return e.every((i,o)=>r[o]===i)}else return t===n}function Jn(t){return t.length>0?t[t.length-1]:null}function ue$2(t){return sy(t)?t:Pl(t)?Ae$5(Promise.resolve(t)):ty(t)}function an(t){return sy(t)?lt$1(t):Promise.resolve(t)}var Xn={exact:cn,subset:un},sn={exact:ei,subset:ti,ignored:()=>true},ar={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Le$2={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function sr(t,n,e){let r=t instanceof E?t:n.parseUrl(t);return Nt$3(()=>Wt$1(n.lastSuccessfulNavigation()?.finalUrl??new E,r,l$3(l$3({},Le$2),e)))}function Wt$1(t,n,e){return Xn[e.paths](t.root,n.root,e.matrixParams)&&sn[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function ei(t,n){return q$3(t,n)}function cn(t,n,e){if(!oe$1(t.segments,n.segments)||!st$1(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return false;for(let r in n.children)if(!t.children[r]||!cn(t.children[r],n.children[r],e))return false;return true}function ti(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>on(t[e],n[e]))}function un(t,n,e){return ln(t,n,n.segments,e)}function ln(t,n,e,r){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return !(!oe$1(i,e)||n.hasChildren()||!st$1(i,e,r))}else if(t.segments.length===e.length){if(!oe$1(t.segments,e)||!st$1(t.segments,e,r))return false;for(let i in n.children)if(!t.children[i]||!un(t.children[i],n.children[i],r))return false;return true}else {let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return !oe$1(t.segments,i)||!st$1(t.segments,i,r)||!t.children[p]?false:ln(t.children[p],n,o,r)}}function st$1(t,n,e){return n.every((r,i)=>sn[e](t[i].parameters,r.parameters))}var E=class{root;queryParams;fragment;_queryParamMap;constructor(n=new m$2([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r;}get queryParamMap(){return this._queryParamMap??=ae$1(this.queryParams),this._queryParamMap}toString(){return ii.serialize(this)}},m$2=class m{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(r=>r.parent=this);}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ct$1(this)}},Z$1=class Z{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e;}get parameterMap(){return this._parameterMap??=ae$1(this.parameters),this._parameterMap}toString(){return dn(this)}};function ri(t,n){return oe$1(t,n)&&t.every((e,r)=>q$3(e.parameters,n[r].parameters))}function oe$1(t,n){return t.length!==n.length?false:t.every((e,r)=>e.path===n[r].path)}function ni(t,n){let e=[];return Object.entries(t.children).forEach(([r,i])=>{r===p&&(e=e.concat(n(i,r)));}),Object.entries(t.children).forEach(([r,i])=>{r!==p&&(e=e.concat(n(i,r)));}),e}var Se$1=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=Kr({token:t,factory:()=>new J$2})}return t})(),J$2=class J{parse(n){let e=new Kt(n);return new E(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${De$1(n.root,true)}`,r=si(n.queryParams),i=typeof n.fragment=="string"?`#${oi(n.fragment)}`:"";return `${e}${r}${i}`}},ii=new J$2;function ct$1(t){return t.segments.map(n=>dn(n)).join("/")}function De$1(t,n){if(!t.hasChildren())return ct$1(t);if(n){let e=t.children[p]?De$1(t.children[p],false):"",r=[];return Object.entries(t.children).forEach(([i,o])=>{i!==p&&r.push(`${i}:${De$1(o,false)}`);}),r.length>0?`${e}(${r.join("//")})`:e}else {let e=ni(t,(r,i)=>i===p?[De$1(t.children[p],false)]:[`${i}:${De$1(r,false)}`]);return Object.keys(t.children).length===1&&t.children[p]!=null?`${ct$1(t)}/${e[0]}`:`${ct$1(t)}/(${e.join("//")})`}}function hn(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ot$1(t){return hn(t).replace(/%3B/gi,";")}function oi(t){return encodeURI(t)}function Qt(t){return hn(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ut$1(t){return decodeURIComponent(t)}function Yr(t){return ut$1(t.replace(/\+/g,"%20"))}function dn(t){return `${Qt(t.path)}${ai(t.parameters)}`}function ai(t){return Object.entries(t).map(([n,e])=>`;${Qt(n)}=${Qt(e)}`).join("")}function si(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(i=>`${ot$1(e)}=${ot$1(i)}`).join("&"):`${ot$1(e)}=${ot$1(r)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var ci=/^[^\/()?;#]+/;function Ft$1(t){let n=t.match(ci);return n?n[0]:""}var ui=/^[^\/()?;=#]+/;function li(t){let n=t.match(ui);return n?n[0]:""}var hi=/^[^=?&#]+/;function di(t){let n=t.match(hi);return n?n[0]:""}var fi=/^[^&#]+/;function pi(t){let n=t.match(fi);return n?n[0]:""}var Kt=class{url;remaining;constructor(n){this.url=n,this.remaining=n;}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new m$2([],{}):new m$2([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(n=0){if(n>50)throw new D$7(4010,false);if(this.remaining==="")return {};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(true,n));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(false,n)),(e.length>0||Object.keys(r).length>0)&&(i[p]=new m$2(e,r)),i}parseSegment(){let n=Ft$1(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new D$7(4009,false);return this.capture(n),new Z$1(ut$1(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=li(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let i=Ft$1(this.remaining);i&&(r=i,this.capture(r));}n[ut$1(e)]=ut$1(r);}parseQueryParam(n){let e=di(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let a=pi(this.remaining);a&&(r=a,this.capture(r));}let i=Yr(e),o=Yr(r);if(n.hasOwnProperty(i)){let a=n[i];Array.isArray(a)||(a=[a],n[i]=a),a.push(o);}else n[i]=o;}parseParens(n,e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=Ft$1(this.remaining),o=this.remaining[i.length];if(o!=="/"&&o!==")"&&o!==";")throw new D$7(4010,false);let a;i.indexOf(":")>-1?(a=i.slice(0,i.indexOf(":")),this.capture(a),this.capture(":")):n&&(a=p);let c=this.parseChildren(e+1);r[a??p]=Object.keys(c).length===1&&c[p]?c[p]:new m$2([],c),this.consumeOptional("//");}return r}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),true):false}capture(n){if(!this.consumeOptional(n))throw new D$7(4011,false)}};function fn(t){return t.segments.length>0?new m$2([],{[p]:t}):t}function pn(t){let n={};for(let[r,i]of Object.entries(t.children)){let o=pn(i);if(r===p&&o.segments.length===0&&o.hasChildren())for(let[a,c]of Object.entries(o.children))n[a]=c;else (o.segments.length>0||o.hasChildren())&&(n[r]=o);}let e=new m$2(t.segments,n);return gi(e)}function gi(t){if(t.numberOfChildren===1&&t.children[p]){let n=t.children[p];return new m$2(t.segments.concat(n.segments),n.children)}return t}function X$2(t){return t instanceof E}function gn(t,n,e=null,r=null,i=new J$2){let o=vn(t);return mn(o,n,e,r,i)}function vn(t){let n;function e(o){let a={};for(let s of o.children){let u=e(s);a[s.outlet]=u;}let c=new m$2(o.url,a);return o===t&&(n=c),c}let r=e(t.root),i=fn(r);return n??i}function mn(t,n,e,r,i){let o=t;for(;o.parent;)o=o.parent;if(n.length===0)return qt(o,o,o,e,r,i);let a=vi(n);if(a.toRoot())return qt(o,o,new m$2([],{}),e,r,i);let c=mi(a,o,t),s=c.processChildren?Ue$2(c.segmentGroup,c.index,a.commands):Rn(c.segmentGroup,c.index,a.commands);return qt(o,c.segmentGroup,s,e,r,i)}function ht$1(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function xe$2(t){return typeof t=="object"&&t!=null&&t.outlets}function Zr(t,n,e){t||="\u0275";let r=new E;return r.queryParams={[t]:n},e.parse(e.serialize(r)).queryParams[t]}function qt(t,n,e,r,i,o){let a={};for(let[u,h]of Object.entries(r??{}))a[u]=Array.isArray(h)?h.map(v=>Zr(u,v,o)):Zr(u,h,o);let c;t===n?c=e:c=yn(t,n,e);let s=fn(pn(c));return new E(s,a,i)}function yn(t,n,e){let r={};return Object.entries(t.children).forEach(([i,o])=>{o===n?r[i]=e:r[i]=yn(o,n,e);}),new m$2(t.segments,r)}var dt$1=class dt{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&ht$1(r[0]))throw new D$7(4003,false);let i=r.find(xe$2);if(i&&i!==Jn(r))throw new D$7(4004,false)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function vi(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new dt$1(true,0,t);let n=0,e=false,r=t.reduce((i,o,a)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let c={};return Object.entries(o.outlets).forEach(([s,u])=>{c[s]=typeof u=="string"?u.split("/"):u;}),[...i,{outlets:c}]}if(o.segmentPath)return [...i,o.segmentPath]}return typeof o!="string"?[...i,o]:a===0?(o.split("/").forEach((c,s)=>{s==0&&c==="."||(s==0&&c===""?e=true:c===".."?n++:c!=""&&i.push(c));}),i):[...i,o]},[]);return new dt$1(e,n,r)}var fe$2=class fe{segmentGroup;processChildren;index;constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r;}};function mi(t,n,e){if(t.isAbsolute)return new fe$2(n,true,0);if(!e)return new fe$2(n,false,NaN);if(e.parent===null)return new fe$2(e,true,0);let r=ht$1(t.commands[0])?0:1,i=e.segments.length-1+r;return yi(e,i,t.numberOfDoubleDots)}function yi(t,n,e){let r=t,i=n,o=e;for(;o>i;){if(o-=i,r=r.parent,!r)throw new D$7(4005,false);i=r.segments.length;}return new fe$2(r,false,i-o)}function Ri(t){return xe$2(t[0])?t[0].outlets:{[p]:t}}function Rn(t,n,e){if(t??=new m$2([],{}),t.segments.length===0&&t.hasChildren())return Ue$2(t,n,e);let r=Si(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){let o=new m$2(t.segments.slice(0,r.pathIndex),{});return o.children[p]=new m$2(t.segments.slice(r.pathIndex),t.children),Ue$2(o,0,i)}else return r.match&&i.length===0?new m$2(t.segments,{}):r.match&&!t.hasChildren()?Yt$1(t,n,e):r.match?Ue$2(t,0,i):Yt$1(t,n,e)}function Ue$2(t,n,e){if(e.length===0)return new m$2(t.segments,{});{let r=Ri(e),i={};if(Object.keys(r).some(o=>o!==p)&&t.children[p]&&t.numberOfChildren===1&&t.children[p].segments.length===0){let o=Ue$2(t.children[p],n,e);return new m$2(t.segments,o.children)}return Object.entries(r).forEach(([o,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(i[o]=Rn(t.children[o],n,a));}),Object.entries(t.children).forEach(([o,a])=>{r[o]===void 0&&(i[o]=a);}),new m$2(t.segments,i)}}function Si(t,n,e){let r=0,i=n,o={match:false,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=e.length)return o;let a=t.segments[i],c=e[r];if(xe$2(c))break;let s=`${c}`,u=r<e.length-1?e[r+1]:null;if(i>0&&s===void 0)break;if(s&&u&&typeof u=="object"&&u.outlets===void 0){if(!Xr(s,u,a))return o;r+=2;}else {if(!Xr(s,{},a))return o;r++;}i++;}return {match:true,pathIndex:i,commandIndex:r}}function Yt$1(t,n,e){let r=t.segments.slice(0,n),i=0;for(;i<e.length;){let o=e[i];if(xe$2(o)){let s=Ci(o.outlets);return new m$2(r,s)}if(i===0&&ht$1(e[0])){let s=t.segments[n];r.push(new Z$1(s.path,Jr(e[0]))),i++;continue}let a=xe$2(o)?o.outlets[p]:`${o}`,c=i<e.length-1?e[i+1]:null;a&&c&&ht$1(c)?(r.push(new Z$1(a,Jr(c))),i+=2):(r.push(new Z$1(a,{})),i++);}return new m$2(r,{})}function Ci(t){let n={};return Object.entries(t).forEach(([e,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[e]=Yt$1(new m$2([],{}),0,r));}),n}function Jr(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function Xr(t,n,e){return t==e.path&&q$3(n,e.parameters)}var Oe$2="imperative",S$4=(function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t})(S$4||{}),_=class{id;url;constructor(n,e){this.id=n,this.url=e;}},se$1=class se extends _{type=S$4.NavigationStart;navigationTrigger;restoredState;constructor(n,e,r="imperative",i=null){super(n,e),this.navigationTrigger=r,this.restoredState=i;}toString(){return `NavigationStart(id: ${this.id}, url: '${this.url}')`}},k$5=class k extends _{urlAfterRedirects;type=S$4.NavigationEnd;constructor(n,e,r){super(n,e),this.urlAfterRedirects=r;}toString(){return `NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},b$1=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t})(b$1||{}),je$2=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(je$2||{}),j=class extends _{reason;code;type=S$4.NavigationCancel;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i;}toString(){return `NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function Sn(t){return t instanceof j&&(t.code===b$1.Redirect||t.code===b$1.SupersededByNewNavigation)}var G$1=class G extends _{reason;code;type=S$4.NavigationSkipped;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i;}},ce$1=class ce extends _{error;target;type=S$4.NavigationError;constructor(n,e,r,i){super(n,e),this.error=r,this.target=i;}toString(){return `NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},ke=class extends _{urlAfterRedirects;state;type=S$4.RoutesRecognized;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i;}toString(){return `RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ft$1=class ft extends _{urlAfterRedirects;state;type=S$4.GuardsCheckStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i;}toString(){return `GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},pt$1=class pt extends _{urlAfterRedirects;state;shouldActivate;type=S$4.GuardsCheckEnd;constructor(n,e,r,i,o){super(n,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o;}toString(){return `GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},gt$1=class gt extends _{urlAfterRedirects;state;type=S$4.ResolveStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i;}toString(){return `ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},vt$1=class vt extends _{urlAfterRedirects;state;type=S$4.ResolveEnd;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i;}toString(){return `ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},mt$1=class mt{route;type=S$4.RouteConfigLoadStart;constructor(n){this.route=n;}toString(){return `RouteConfigLoadStart(path: ${this.route.path})`}},yt$1=class yt{route;type=S$4.RouteConfigLoadEnd;constructor(n){this.route=n;}toString(){return `RouteConfigLoadEnd(path: ${this.route.path})`}},Rt$1=class Rt{snapshot;type=S$4.ChildActivationStart;constructor(n){this.snapshot=n;}toString(){return `ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},St$1=class St{snapshot;type=S$4.ChildActivationEnd;constructor(n){this.snapshot=n;}toString(){return `ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ct$1=class Ct{snapshot;type=S$4.ActivationStart;constructor(n){this.snapshot=n;}toString(){return `ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},wt$1=class wt{snapshot;type=S$4.ActivationEnd;constructor(n){this.snapshot=n;}toString(){return `ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var ge$1=class ge{},$e$2=class $e{},ve$1=class ve{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e;}};function wi(t){return !(t instanceof ge$1)&&!(t instanceof ve$1)&&!(t instanceof $e$2)}var bt$1=class bt{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new Ce$1(this.rootInjector);}},Ce$1=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e;}onChildOutletCreated(e,r){let i=this.getOrCreateContext(e);i.outlet=r,this.contexts.set(e,i);}onChildOutletDestroyed(e){let r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null);}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e;}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new bt$1(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(r){return new(r||t)(ke$4(pe$5))};static \u0275prov=ee$4({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),It$1=class It{_root;constructor(n){this._root=n;}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=Zt(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=Zt(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=Jt$1(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return Jt$1(n,this._root).map(e=>e.value)}};function Zt(t,n){if(t===n.value)return n;for(let e of n.children){let r=Zt(t,e);if(r)return r}return null}function Jt$1(t,n){if(t===n.value)return [n];for(let e of n.children){let r=Jt$1(t,e);if(r.length)return r.unshift(n),r}return []}var D$3=class D{value;children;constructor(n,e){this.value=n,this.children=e;}toString(){return `TreeNode(${this.value})`}};function de$1(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var ze$1=class ze extends It$1{snapshot;constructor(n,e){super(n),this.snapshot=e,ur(this,n);}toString(){return this.snapshot.toString()}};function Cn(t,n){let e=bi(t,n),r=new nr$1([new Z$1("",{})]),i=new nr$1({}),o=new nr$1({}),a=new nr$1({}),c=new nr$1(""),s=new W$1(r,i,a,c,o,p,t,e.root);return s.snapshot=e.root,new ze$1(new D$3(s,[]),e)}function bi(t,n){let e={},r={},i={},a=new me$1([],e,i,"",r,p,t,null,{},n);return new He$2("",new D$3(a,[]))}var W$1=class W{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;_localInjector;constructor(n,e,r,i,o,a,c,s){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=a,this.component=c,this._futureSnapshot=s,this.title=this.dataSubject?.pipe(pt$2(u=>u[Be$2]))??ty(void 0),this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o;}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(pt$2(n=>ae$1(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(pt$2(n=>ae$1(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}},Ii="always";function cr(t,n,e){let r,{routeConfig:i}=t;return n!==null&&(e==="always"||i?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:l$3(l$3({},n.params),t.params),data:l$3(l$3({},n.data),t.data),resolve:l$3(l$3(l$3(l$3({},t.data),n.data),i?.data),t._resolvedData)}:r={params:l$3({},t.params),data:l$3({},t.data),resolve:l$3(l$3({},t.data),t._resolvedData??{})},i&&bn(i)&&(r.resolve[Be$2]=i.title),r}var me$1=class me{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[Be$2]}constructor(n,e,r,i,o,a,c,s,u,h){this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=a,this.component=c,this.routeConfig=s,this._resolve=u,this._environmentInjector=h;}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ae$1(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ae$1(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return `Route(url:'${n}', path:'${e}')`}},He$2=class He extends It$1{url;constructor(n,e){super(e),this.url=n,ur(this,e);}toString(){return wn(this._root)}};function ur(t,n){n.value._routerState=t,n.children.forEach(e=>ur(t,e));}function wn(t){let n=t.children.length>0?` { ${t.children.map(wn).join(", ")} } `:"";return `${t.value}${n}`}function Bt(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,q$3(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),q$3(n.params,e.params)||t.paramsSubject.next(e.params),Zn(n.url,e.url)||t.urlSubject.next(e.url),q$3(n.data,e.data)||t.dataSubject.next(e.data);}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data);}function Xt(t,n){let e=q$3(t.params,n.params)&&ri(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||Xt(t.parent,n.parent))}function bn(t){return typeof t.title=="string"||t.title===null}var In=new x$6(""),lr=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=p;activateEvents=new Ze$3;deactivateEvents=new Ze$3;attachEvents=new Ze$3;detachEvents=new Ze$3;routerOutletData=g1();parentContexts=T$6(Ce$1);location=T$6(us);changeDetector=T$6(D1);inputBinder=T$6(Ve$2,{optional:true});supportsBindingToComponentInputs=true;ngOnChanges(e){if(e.name){let{firstChange:r,previousValue:i}=e.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName();}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this);}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName();}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector));}get isActivated(){return !!this.activated}get component(){if(!this.activated)throw new D$7(4012,false);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new D$7(4012,false);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new D$7(4012,false);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance);}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e);}}activateWith(e,r){if(this.isActivated)throw new D$7(4013,false);this._activatedRoute=e;let i=this.location,a=e.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,s=new er(e,c,i.injector,this.routerOutletData);this.activated=i.createComponent(a,{index:i.length,injector:s,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance);}static \u0275fac=function(r){return new(r||t)};static \u0275dir=mw({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Cv]})}return t})(),er=class{route;childContexts;parent;outletData;constructor(n,e,r,i){this.route=n,this.childContexts=e,this.parent=r,this.outletData=i;}get(n,e){return n===W$1?this.route:n===Ce$1?this.childContexts:n===In?this.outletData:this.parent.get(n,e)}},Ve$2=new x$6(""),An=(()=>{class t{options;outletDataSubscriptions=new Map;outletSeenKeys=new Map;constructor(e){this.options=e,this.options.queryParams??=true;}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e);}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e),this.outletSeenKeys.delete(e);}subscribeToRouteData(e){let{activatedRoute:r}=e,i=gy([this.options.queryParams?r.queryParams:ty({}),r.params,r.data]).pipe($u(([o,a,c],s)=>(c=l$3(l$3(l$3({},o),a),c),s===0?ty(c):Promise.resolve(c)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(e);return}let a=_1(r.component);if(!a){this.unsubscribeFromRouteData(e);return}let c=this.outletSeenKeys.get(e);c||(c=new Set,this.outletSeenKeys.set(e,c));for(let u of Object.keys(o))c.add(u);let s=this.options.unmatchedInputBehavior??"alwaysUndefined";for(let{templateName:u}of a.inputs){let h=o[u];(h!==void 0||s==="alwaysUndefined"||c.has(u))&&e.activatedComponentRef.setInput(u,h);}});this.outletDataSubscriptions.set(e,i);}static \u0275fac=function(r){SD();};static \u0275prov=ee$4({token:t,factory:t.\u0275fac})}return t})(),hr=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=dw({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,i){r&1&&mg(0,"router-outlet");},dependencies:[lr],encapsulation:2,changeDetection:1})}return t})();function dr(t){let n=t.children&&t.children.map(dr),e=n?m$6(l$3({},t),{children:n}):l$3({},t);return !e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==p&&(e.component=hr),e}function Ai(t,n,e){let r=new Set,i=Fe$2(t,n._root,e?e._root:void 0,r);return {newlyCreatedRoutes:r,state:new ze$1(i,n)}}function Fe$2(t,n,e,r){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=n.value;let o=Ei(t,n,e,r);return new D$3(i,o)}else {if(t.shouldAttach(n.value)){let a=t.retrieve(n.value);if(a!==null){let c=a.route;return c.value._futureSnapshot=n.value,c.children=n.children.map(s=>Fe$2(t,s,void 0,r)),c}}let i=Ti(n.value);r.add(i);let o=n.children.map(a=>Fe$2(t,a,void 0,r));return new D$3(i,o)}}function Ei(t,n,e,r){return n.children.map(i=>{for(let o of e.children)if(t.shouldReuseRoute(i.value,o.value.snapshot))return Fe$2(t,i,o,r);return Fe$2(t,i,void 0,r)})}function Ti(t){return new W$1(new nr$1(t.url),new nr$1(t.params),new nr$1(t.queryParams),new nr$1(t.fragment),new nr$1(t.data),t.outlet,t.component,t)}var ye$1=class ye{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e;}},En="ngNavigationCancelingError";function At$1(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=X$2(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=Tn(false,b$1.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function Tn(t,n){let e=new Error(`NavigationCancelingError: ${""}`);return e[En]=true,e.cancellationCode=n,e}function Ni(t){return Nn(t)&&X$2(t.url)}function Nn(t){return !!t&&t[En]}var tr=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,r,i,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o;}activate(n){let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,n),Bt(this.futureState.root),this.activateChildRoutes(e,r,n);}deactivateChildRoutes(n,e,r){let i=de$1(e);n.children.forEach(o=>{let a=o.value.outlet;this.deactivateRoutes(o,i[a],r),delete i[a];}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r);});}deactivateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(i===o)if(i.component){let a=r.getContext(i.outlet);a&&this.deactivateChildRoutes(n,e,a.children);}else this.deactivateChildRoutes(n,e,r);else o&&this.deactivateRouteAndItsChildren(e,r);}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e);}detachAndStoreRouteSubtree(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=de$1(n);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,i);if(r&&r.outlet){let a=r.outlet.detach(),c=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:a,route:n,contexts:c});}}deactivateRouteAndOutlet(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=de$1(n);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null),n.value._localInjector?.destroy();}activateChildRoutes(n,e,r){let i=de$1(e);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new wt$1(o.value.snapshot));}),n.children.length&&this.forwardEvent(new St$1(n.value.snapshot));}activateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(Bt(i),i===o)if(i.component){let a=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,e,a.children);}else this.activateChildRoutes(n,e,r);else if(i.component){let a=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let c=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),a.children.onOutletReAttached(c.contexts),a.attachRef=c.componentRef,a.route=c.route.value,a.outlet&&a.outlet.attach(c.componentRef,c.route.value),Bt(c.route.value),this.activateChildRoutes(n,null,a.children);}else a.attachRef=null,a.route=i,a.outlet&&a.outlet.activateWith(i,a.injector),this.activateChildRoutes(n,null,a.children);}else this.activateChildRoutes(n,null,r);}},Et$1=class Et{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1];}},pe$1=class pe{component;route;constructor(n,e){this.component=n,this.route=e;}};function Mi(t,n,e){let r=t._root,i=n?n._root:null;return _e$1(r,i,e,[r.value])}function Di(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return !n||n.length===0?null:{node:t,guards:n}}function we$1(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t=="function"&&!Ay(t)?t:n.get(t):r}function _e$1(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=de$1(n);return t.children.forEach(a=>{_i(a,o[a.value.outlet],e,r.concat([a.value]),i),delete o[a.value.outlet];}),Object.entries(o).forEach(([a,c])=>Pe$2(c,e.getContext(a),i)),i}function _i(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,a=n?n.value:null,c=e?e.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){let s=Ui(a,o,o.routeConfig.runGuardsAndResolvers);s?i.canActivateChecks.push(new Et$1(r)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?_e$1(t,n,c?c.children:null,r,i):_e$1(t,n,e,r,i),s&&c&&c.outlet&&c.outlet.isActivated&&i.canDeactivateChecks.push(new pe$1(c.outlet.component,a));}else a&&Pe$2(n,c,i),i.canActivateChecks.push(new Et$1(r)),o.component?_e$1(t,null,c?c.children:null,r,i):_e$1(t,null,e,r,i);return i}function Ui(t,n,e){if(typeof e=="function")return ii$1(n._environmentInjector,()=>e(t,n));switch(e){case "pathParamsChange":return !oe$1(t.url,n.url);case "pathParamsOrQueryParamsChange":return !oe$1(t.url,n.url)||!q$3(t.queryParams,n.queryParams);case "always":return true;case "paramsOrQueryParamsChange":return !Xt(t,n)||!q$3(t.queryParams,n.queryParams);default:return !Xt(t,n)}}function Pe$2(t,n,e){let r=de$1(t),i=t.value;Object.entries(r).forEach(([o,a])=>{i.component?n?Pe$2(a,n.children.getContext(o),e):Pe$2(a,null,e):Pe$2(a,n,e);}),i.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new pe$1(n.outlet.component,i)):e.canDeactivateChecks.push(new pe$1(null,i)):e.canDeactivateChecks.push(new pe$1(null,i));}function Ge$2(t){return typeof t=="function"}function Oi(t){return typeof t=="boolean"}function Pi(t){return t&&Ge$2(t.canLoad)}function Li(t){return t&&Ge$2(t.canActivate)}function xi(t){return t&&Ge$2(t.canActivateChild)}function ji(t){return t&&Ge$2(t.canDeactivate)}function ki(t){return t&&Ge$2(t.canMatch)}function Mn(t){return t instanceof Vt$2||t?.name==="EmptyError"}var at$1=Symbol("INITIAL_VALUE");function Re$1(){return $u(t=>gy(t.map(n=>n.pipe(Fo(1),Ny(at$1)))).pipe(pt$2(n=>{for(let e of n)if(e!==true){if(e===at$1)return at$1;if(e===false||$i(e))return e}return true}),$s(n=>n!==at$1),Fo(1)))}function $i(t){return X$2(t)||t instanceof ye$1}function Dn(t){return t.aborted?ty(void 0).pipe(Fo(1)):new S$7(n=>{let e=()=>{n.next(),n.complete();};return t.addEventListener("abort",e),()=>t.removeEventListener("abort",e)})}function _n(t){return Uu(Dn(t))}function zi(t){return Ht$3(n=>{let{targetSnapshot:e,currentSnapshot:r,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return o.length===0&&i.length===0?ty(m$6(l$3({},n),{guardsResult:true})):Hi(o,e,r).pipe(Ht$3(a=>a&&Oi(a)?Fi(e,i,t):ty(a)),pt$2(a=>m$6(l$3({},n),{guardsResult:a})))})}function Hi(t,n,e){return Ae$5(t).pipe(Ht$3(r=>Wi(r.component,r.route,e,n)),Cy(r=>r!==true,true))}function Fi(t,n,e){return Ae$5(n).pipe(wy(r=>Bo(Bi(r.route.parent,e),qi(r.route,e),Gi(t,r.path),Vi(t,r.route))),Cy(r=>r!==true,true))}function qi(t,n){return t!==null&&n&&n(new Ct$1(t)),ty(true)}function Bi(t,n){return t!==null&&n&&n(new Rt$1(t)),ty(true)}function Vi(t,n){let e=n.routeConfig?n.routeConfig.canActivate:null;if(!e||e.length===0)return ty(true);let r=e.map(i=>yy(()=>{let o=n._environmentInjector,a=we$1(i,o),c=Li(a)?a.canActivate(n,t):ii$1(o,()=>a(n,t));return ue$2(c).pipe(Cy())}));return ty(r).pipe(Re$1())}function Gi(t,n){let e=n[n.length-1],i=n.slice(0,n.length-1).reverse().map(o=>Di(o)).filter(o=>o!==null).map(o=>yy(()=>{let a=o.guards.map(c=>{let s=o.node._environmentInjector,u=we$1(c,s),h=xi(u)?u.canActivateChild(e,t):ii$1(s,()=>u(e,t));return ue$2(h).pipe(Cy())});return ty(a).pipe(Re$1())}));return ty(i).pipe(Re$1())}function Wi(t,n,e,r){let i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!i||i.length===0)return ty(true);let o=i.map(a=>{let c=n._environmentInjector,s=we$1(a,c),u=ji(s)?s.canDeactivate(t,n,e,r):ii$1(c,()=>s(t,n,e,r));return ue$2(u).pipe(Cy())});return ty(o).pipe(Re$1())}function Qi(t,n,e,r,i){let o=n.canLoad;if(o===void 0||o.length===0)return ty(true);let a=o.map(c=>{let s=we$1(c,t),u=Pi(s)?s.canLoad(n,e):ii$1(t,()=>s(n,e)),h=ue$2(u);return i?h.pipe(_n(i)):h});return ty(a).pipe(Re$1(),Un(r))}function Un(t){return Wm(Ju(n=>{if(typeof n!="boolean")throw At$1(t,n)}),pt$2(n=>n===true))}function Ki(t,n,e,r,i,o){let a=n.canMatch;if(!a||a.length===0)return ty(true);let c=a.map(s=>{let u=we$1(s,t),h=ki(u)?u.canMatch(n,e,i):ii$1(t,()=>u(n,e,i));return ue$2(h).pipe(_n(o))});return ty(c).pipe(Re$1(),Un(r))}var V$3=class t extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,t.prototype);}},qe$1=class t extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,t.prototype);}};function Yi(t){throw new D$7(4e3,false)}function Zi(t){throw Tn(false,b$1.GuardRejected)}var rr=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e;}async lineralizeSegments(n,e){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return r;if(i.numberOfChildren>1||!i.children[p])throw Yi(`${n.redirectTo}`);i=i.children[p];}}async applyRedirectCommands(n,e,r,i,o){let a=await Ji(e,i,o);if(a instanceof E)throw new qe$1(a);let c=this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),n,r);if(a[0]==="/")throw new qe$1(c);return c}applyRedirectCreateUrlTree(n,e,r,i){let o=this.createSegmentGroup(n,e.root,r,i);return new E(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let r={};return Object.entries(n).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let c=o.substring(1);r[i]=e[c];}else r[i]=o;}),r}createSegmentGroup(n,e,r,i){let o=this.createSegments(n,e.segments,r,i),a={};return Object.entries(e.children).forEach(([c,s])=>{a[c]=this.createSegmentGroup(n,s,r,i);}),new m$2(o,a)}createSegments(n,e,r,i){return e.map(o=>o.path[0]===":"?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,e,r){let i=r[e.path.substring(1)];if(!i)throw new D$7(4001,false);return i}findOrReturn(n,e){let r=0;for(let i of e){if(i.path===n.path)return e.splice(r),i;r++;}return n}};function Ji(t,n,e){if(typeof t=="string")return Promise.resolve(t);let r=t;return lt$1(ue$2(ii$1(e,()=>r(n))))}function Xi(t,n){return t.providers&&!t._injector&&(t._injector=Ll(t.providers,n,`Route: ${t.path}`)),t._injector??n}function z$2(t){return t.outlet||p}function eo(t,n){let e=t.filter(r=>z$2(r)===n);return e.push(...t.filter(r=>z$2(r)!==n)),e}var nr={matched:false,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function On(t){return {routeConfig:t.routeConfig,url:t.url,params:t.params,queryParams:t.queryParams,fragment:t.fragment,data:t.data,outlet:t.outlet,title:t.title,paramMap:t.paramMap,queryParamMap:t.queryParamMap}}function to(t,n,e,r,i,o,a){let c=Pn(t,n,e);if(!c.matched)return ty(c);let s=On(o(c));return r=Xi(n,r),Ki(r,n,e,i,s,a).pipe(pt$2(u=>u===true?c:l$3({},nr)))}function Pn(t,n,e){if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?l$3({},nr):{matched:true,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(n.matcher||nn)(e,t,n);if(!i)return l$3({},nr);let o={};Object.entries(i.posParams??{}).forEach(([c,s])=>{o[c]=s.path;});let a=i.consumed.length>0?l$3(l$3({},o),i.consumed[i.consumed.length-1].parameters):o;return {matched:true,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:a,positionalParamSegments:i.posParams??{}}}function en(t,n,e,r,i){return e.length>0&&io(t,e,r,i)?{segmentGroup:new m$2(n,no(r,new m$2(e,t.children))),slicedSegments:[]}:e.length===0&&oo(t,e,r)?{segmentGroup:new m$2(t.segments,ro(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new m$2(t.segments,t.children),slicedSegments:e}}function ro(t,n,e,r){let i={};for(let o of e)if(Nt$1(t,n,o)&&!r[z$2(o)]){let a=new m$2([],{});i[z$2(o)]=a;}return l$3(l$3({},r),i)}function no(t,n){let e={};e[p]=n;for(let r of t)if(r.path===""&&z$2(r)!==p){let i=new m$2([],{});e[z$2(r)]=i;}return e}function io(t,n,e,r){return e.some(i=>!Nt$1(t,n,i)||!(z$2(i)!==p)?false:!(r!==void 0&&z$2(i)===r))}function oo(t,n,e){return e.some(r=>Nt$1(t,n,r))}function Nt$1(t,n,e){return (t.hasChildren()||n.length>0)&&e.pathMatch==="full"?false:e.path===""}function ao(t,n,e){return n.length===0&&!t.children[e]}var ir=class{};async function so(t,n,e,r,i,o,a,c){return new or(t,n,e,r,i,a,o,c).recognize()}var co=31,or=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=true;constructor(n,e,r,i,o,a,c,s){this.injector=n,this.configLoader=e,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=c,this.abortSignal=s,this.applyRedirects=new rr(this.urlSerializer,this.urlTree);}noMatchError(n){return new D$7(4002,`'${n.segmentGroup}'`)}async recognize(){let n=en(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:r}=await this.match(n),i=new D$3(r,e),o=new He$2("",i),a=gn(r,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),{state:o,tree:a}}async match(n){let e=new me$1([],Object.freeze({}),Object.freeze(l$3({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),p,this.rootComponentType,null,{},this.injector);try{return {children:await this.processSegmentGroup(this.injector,this.config,n,p,e),rootSnapshot:e}}catch(r){if(r instanceof qe$1)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof V$3?this.noMatchError(r):r}}async processSegmentGroup(n,e,r,i,o){if(r.segments.length===0&&r.hasChildren())return this.processChildren(n,e,r,o);let a=await this.processSegment(n,e,r,r.segments,i,true,o);return a instanceof D$3?[a]:[]}async processChildren(n,e,r,i){let o=[];for(let s of Object.keys(r.children))s==="primary"?o.unshift(s):o.push(s);let a=[];for(let s of o){let u=r.children[s],h=eo(e,s),v=await this.processSegmentGroup(n,h,u,s,i);a.push(...v);}let c=Ln(a);return uo(c),c}async processSegment(n,e,r,i,o,a,c){for(let s of e)try{return await this.processSegmentAgainstRoute(s._injector??n,e,s,r,i,o,a,c)}catch(u){if(u instanceof V$3||Mn(u))continue;throw u}if(ao(r,i,o))return new ir;throw new V$3(r)}async processSegmentAgainstRoute(n,e,r,i,o,a,c,s){if(z$2(r)!==a&&(a===p||!Nt$1(i,o,r)))throw new V$3(i);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,i,r,o,a,s);if(this.allowRedirects&&c)return this.expandSegmentAgainstRouteUsingRedirect(n,i,e,r,o,a,s);throw new V$3(i)}async expandSegmentAgainstRouteUsingRedirect(n,e,r,i,o,a,c){let{matched:s,parameters:u,consumedSegments:h,positionalParamSegments:v,remainingSegments:g}=Pn(e,i,o);if(!s)throw new V$3(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>co&&(this.allowRedirects=false));let T=this.createSnapshot(n,i,o,u,c);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let $=await this.applyRedirects.applyRedirectCommands(h,i.redirectTo,v,On(T),n),te=await this.applyRedirects.lineralizeSegments(i,$);return this.processSegment(n,r,e,te.concat(g),a,false,c)}createSnapshot(n,e,r,i,o){let a=new me$1(r,i,Object.freeze(l$3({},this.urlTree.queryParams)),this.urlTree.fragment,ho(e),z$2(e),e.component??e._loadedComponent??null,e,fo(e),n),c=cr(a,o,this.paramsInheritanceStrategy);return a.params=Object.freeze(c.params),a.data=Object.freeze(c.data),a}async matchSegmentAgainstRoute(n,e,r,i,o,a){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let c=re=>this.createSnapshot(n,r,re.consumedSegments,re.parameters,a),s=await lt$1(to(e,r,i,n,this.urlSerializer,c,this.abortSignal));if(r.path==="**"&&(e.children={}),!s?.matched)throw new V$3(e);n=r._injector??n;let{routes:u}=await this.getChildConfig(n,r,i),h=r._loadedInjector??n,{parameters:v,consumedSegments:g,remainingSegments:T}=s,$=this.createSnapshot(n,r,g,v,a),{segmentGroup:te,slicedSegments:Ie}=en(e,g,T,u,o);if(Ie.length===0&&te.hasChildren()){let re=await this.processChildren(h,u,te,$);return new D$3($,re)}if(u.length===0&&Ie.length===0)return new D$3($,[]);let Ut=z$2(r)===o,Ke=await this.processSegment(h,u,te,Ie,Ut?p:o,true,$);return new D$3($,Ke instanceof D$3?[Ke]:[])}async getChildConfig(n,e,r){if(e.children)return {routes:e.children,injector:n};if(e.loadChildren){if(e._loadedRoutes!==void 0){let o=e._loadedNgModuleFactory;return o&&!e._loadedInjector&&(e._loadedInjector=o.create(n).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(await lt$1(Qi(n,e,r,this.urlSerializer,this.abortSignal))){let o=await this.configLoader.loadChildren(n,e);return e._loadedRoutes=o.routes,e._loadedInjector=o.injector,e._loadedNgModuleFactory=o.factory,o}throw Zi()}return {routes:[],injector:n}}};function uo(t){t.sort((n,e)=>n.value.outlet===p?-1:e.value.outlet===p?1:n.value.outlet.localeCompare(e.value.outlet));}function lo(t){let n=t.value.routeConfig;return n&&n.path===""}function Ln(t){let n=[],e=new Set;for(let r of t){if(!lo(r)){n.push(r);continue}let i=n.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),e.add(i)):n.push(r);}for(let r of e){let i=Ln(r.children);n.push(new D$3(r.value,i));}return n.filter(r=>!e.has(r))}function ho(t){return t.data||{}}function fo(t){return t.resolve||{}}function po(t,n,e,r,i,o,a){return Ht$3(async c=>{let{state:s,tree:u}=await so(t,n,e,r,c.extractedUrl,i,o,a);return m$6(l$3({},c),{targetSnapshot:s,urlAfterRedirects:u})})}function go(t){return Ht$3(n=>{let{targetSnapshot:e,guards:{canActivateChecks:r}}=n;if(!r.length)return ty(n);let i=new Set(r.map(c=>c.route)),o=new Set;for(let c of i)if(!o.has(c))for(let s of xn(c))o.add(s);let a=0;return Ae$5(o).pipe(wy(c=>i.has(c)?vo(c,e,t):(c.data=cr(c,c.parent,t).resolve,ty(void 0))),Ju(()=>a++),by(1),Ht$3(c=>a===o.size?ty(n):Qe$3))})}function xn(t){let n=t.children.map(e=>xn(e)).flat();return [t,...n]}function vo(t,n,e){let r=t.routeConfig,i=t._resolve;return r?.title!==void 0&&!bn(r)&&(i[Be$2]=r.title),yy(()=>(t.data=cr(t,t.parent,e).resolve,mo(i,t,n).pipe(pt$2(o=>(t._resolvedData=o,t.data=l$3(l$3({},t.data),o),null)))))}function mo(t,n,e){let r=Gt(t);if(r.length===0)return ty({});let i={};return Ae$5(r).pipe(Ht$3(o=>yo(t[o],n,e).pipe(Cy(),Ju(a=>{if(a instanceof ye$1)throw At$1(new J$2,a);i[o]=a;}))),by(1),pt$2(()=>i),Vs(o=>Mn(o)?Qe$3:iy(o)))}function yo(t,n,e){let r=n._environmentInjector,i=we$1(t,r),o=i.resolve?i.resolve(n,e):ii$1(r,()=>i(n,e));return ue$2(o)}function tn(t){return $u(n=>{let e=t(n);return e?Ae$5(e).pipe(pt$2(()=>n)):ty(n)})}var fr=(()=>{class t{buildTitle(e){let r,i=e.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===p);return r}getResolvedTitleForRoute(e){return e.data[Be$2]}static \u0275fac=function(r){return new(r||t)};static \u0275prov=Kr({token:t,factory:()=>T$6(jn)})}return t})(),jn=(()=>{class t extends fr{title;constructor(e){super(),this.title=e;}updateTitle(e){let r=this.buildTitle(e);r!==void 0&&this.title.setTitle(r);}static \u0275fac=function(r){return new(r||t)(ke$4(zt$1))};static \u0275prov=ee$4({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),be$1=new x$6("",{factory:()=>({})}),We$2=new x$6(""),pr=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=T$6(cb);async loadComponent(e,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let i=(async()=>{try{let o=await an(ii$1(e,()=>r.loadComponent())),a=await $n(p1(o));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=a,a}finally{this.componentLoaders.delete(r);}})();return this.componentLoaders.set(r,i),i}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=(async()=>{try{let o=await kn(r,this.compiler,e,this.onLoadEndListener);return r._loadedRoutes=o.routes,r._loadedInjector=o.injector,r._loadedNgModuleFactory=o.factory,o}finally{this.childrenLoaders.delete(r);}})();return this.childrenLoaders.set(r,i),i}static \u0275fac=function(r){return new(r||t)};static \u0275prov=Kr({token:t,factory:t.\u0275fac})}return t})();async function kn(t,n,e,r){let i=await an(ii$1(e,()=>t.loadChildren())),o=await $n(p1(i)),a;o instanceof Xh||Array.isArray(o)?a=o:a=await n.compileModuleAsync(o),r&&r(t);let c,s,h;return Array.isArray(a)?(s=a,true):(c=a.create(e).injector,h=a,s=c.get(We$2,[],{optional:true,self:true}).flat()),{routes:s.map(dr),injector:c,factory:h}}async function $n(t){return t}var Mt$1=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=Kr({token:t,factory:()=>T$6(Ro)})}return t})(),Ro=(()=>{class t{shouldProcessUrl(e){return true}extract(e){return e}merge(e,r){return e}static \u0275fac=function(r){return new(r||t)};static \u0275prov=Kr({token:t,factory:t.\u0275fac})}return t})(),zn=new x$6("");var Hn=new x$6(""),So=()=>{},Fn=new x$6(""),qn=(()=>{class t{currentNavigation=Ue$7(null,{equal:()=>false});currentTransition=null;lastSuccessfulNavigation=Ue$7(null);events=new fe$5;transitionAbortWithErrorSubject=new fe$5;configLoader=T$6(pr);environmentInjector=T$6(pe$5);destroyRef=T$6(rt$1);urlSerializer=T$6(Se$1);rootContexts=T$6(Ce$1);location=T$6(Ne$5);inputBindingEnabled=T$6(Ve$2,{optional:true})!==null;titleStrategy=T$6(fr);options=T$6(be$1,{optional:true})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||Ii;urlHandlingStrategy=T$6(Mt$1);createViewTransition=T$6(zn,{optional:true});navigationErrorHandler=T$6(Fn,{optional:true});activatedRouteInjectorFeature=T$6(Hn,{optional:true});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>ty(void 0);rootComponentType=null;destroyed=false;constructor(){let e=i=>this.events.next(new mt$1(i)),r=i=>this.events.next(new yt$1(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=true;});}complete(){this.transitions?.complete();}handleNavigationRequest(e){let r=++this.navigationId;me$5(()=>{this.transitions?.next(m$6(l$3({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}));});}setupNavigations(e){return this.transitions=new nr$1(null),this.transitions.pipe($s(r=>r!==null),$u(r=>{let i=true,o=false,a=new AbortController,c=()=>!o&&this.currentTransition?.id===r.id;return ty(r).pipe($u(s=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",b$1.SupersededByNewNavigation),Qe$3;this.currentTransition=r;let u=this.lastSuccessfulNavigation();this.currentNavigation.set({id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,targetBrowserUrl:typeof s.extras.browserUrl=="string"?this.urlSerializer.parse(s.extras.browserUrl):s.extras.browserUrl,trigger:s.source,extras:s.extras,previousNavigation:u?m$6(l$3({},u),{previousNavigation:null}):null,abort:()=>a.abort(),routesRecognizeHandler:s.routesRecognizeHandler,beforeActivateHandler:s.beforeActivateHandler});let h=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),v=s.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!h&&v!=="reload")return this.events.next(new G$1(s.id,this.urlSerializer.serialize(s.rawUrl),"",je$2.IgnoredSameUrlNavigation)),s.resolve(false),Qe$3;if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return ty(s).pipe($u(g=>(this.events.next(new se$1(g.id,this.urlSerializer.serialize(g.extractedUrl),g.source,g.restoredState)),g.id!==this.navigationId?Qe$3:Promise.resolve(g))),po(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,a.signal),Ju(g=>{r.targetSnapshot=g.targetSnapshot,r.urlAfterRedirects=g.urlAfterRedirects,this.currentNavigation.update(T=>(T.finalUrl=g.urlAfterRedirects,T)),this.events.next(new $e$2);}),$u(g=>Ae$5(r.routesRecognizeHandler.deferredHandle??ty(void 0)).pipe(pt$2(()=>g))),Ju(()=>{let g=new ke(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(g);}));if(h&&this.urlHandlingStrategy.shouldProcessUrl(s.currentRawUrl)){let{id:g,extractedUrl:T,source:$,restoredState:te,extras:Ie}=s,Ut=new se$1(g,this.urlSerializer.serialize(T),$,te);this.events.next(Ut);let Ke=Cn(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=m$6(l$3({},s),{targetSnapshot:Ke,urlAfterRedirects:T,extras:m$6(l$3({},Ie),{skipLocationChange:false,replaceUrl:false})}),this.currentNavigation.update(re=>(re.finalUrl=T,re)),ty(r)}else return this.events.next(new G$1(s.id,this.urlSerializer.serialize(s.extractedUrl),"",je$2.IgnoredByUrlHandlingStrategy)),s.resolve(false),Qe$3}),pt$2(s=>{let u=new ft$1(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);return this.events.next(u),this.currentTransition=r=m$6(l$3({},s),{guards:Mi(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),r}),zi(s=>this.events.next(s)),$u(s=>{if(r.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw At$1(this.urlSerializer,s.guardsResult);let u=new pt$1(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);if(this.events.next(u),!c())return Qe$3;if(!s.guardsResult)return this.cancelNavigationTransition(s,"",b$1.GuardRejected),Qe$3;if(s.guards.canActivateChecks.length===0)return ty(s);let h=new gt$1(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);if(this.events.next(h),!c())return Qe$3;let v=false;return ty(s).pipe(go(this.paramsInheritanceStrategy),Ju({next:()=>{v=true;let g=new vt$1(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(g);},complete:()=>{v||this.cancelNavigationTransition(s,"",b$1.NoDataFromResolver);}}))}),tn(s=>{let u=v=>{let g=[];if(v.routeConfig?._loadedComponent)v.component=v.routeConfig?._loadedComponent;else if(v.routeConfig?.loadComponent){let T=v._environmentInjector;g.push(this.configLoader.loadComponent(T,v.routeConfig).then($=>{v.component=$;}));}for(let T of v.children)g.push(...u(T));return g},h=u(s.targetSnapshot.root);return h.length===0?ty(s):Ae$5(Promise.all(h).then(()=>s))}),$u(s=>{let{newlyCreatedRoutes:u,state:h}=Ai(e.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return this.currentTransition=r=s=m$6(l$3({},s),{targetRouterState:h,newlyCreatedRoutes:u}),this.currentNavigation.update(v=>(v.targetRouterState=h,v)),ty(s)}),this.activatedRouteInjectorFeature?.operator()??(s=>s),tn(()=>this.afterPreactivation()),$u(()=>{let{currentSnapshot:s,targetSnapshot:u}=r,h=this.createViewTransition?.(this.environmentInjector,s.root,u.root);return h?Ae$5(h).pipe(pt$2(()=>r)):ty(r)}),Fo(1),$u(s=>{i=false,this.events.next(new ge$1);let u=r.beforeActivateHandler.deferredHandle;return u?Ae$5(u.then(()=>s)):ty(s)}),Ju(s=>{new tr(e.routeReuseStrategy,r.targetRouterState,r.currentRouterState,u=>this.events.next(u),this.inputBindingEnabled).activate(this.rootContexts),s.newlyCreatedRoutes?.clear(),c()&&(o=true,this.currentNavigation.update(u=>(u.abort=So,u)),this.lastSuccessfulNavigation.set(me$5(this.currentNavigation)),this.events.next(new k$5(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(true));}),Uu(Dn(a.signal).pipe($s(()=>!o&&i),Ju(()=>{this.cancelNavigationTransition(r,a.signal.reason+"",b$1.Aborted);}))),Ju({complete:()=>{o=true;}}),Uu(this.transitionAbortWithErrorSubject.pipe(Ju(s=>{throw s}))),Bu(()=>{a.abort(),o||this.cancelNavigationTransition(r,"",b$1.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null);}),Vs(s=>{if(o=true,rn(r),this.destroyed)return r.resolve(false),Qe$3;if(Nn(s))this.events.next(new j(r.id,this.urlSerializer.serialize(r.extractedUrl),s.message,s.cancellationCode)),Ni(s)?this.events.next(new ve$1(s.url,s.navigationBehaviorOptions)):r.resolve(false);else {let u=new ce$1(r.id,this.urlSerializer.serialize(r.extractedUrl),s,r.targetSnapshot??void 0);try{let h=ii$1(this.environmentInjector,()=>this.navigationErrorHandler?.(u));if(h instanceof ye$1){let{message:v,cancellationCode:g}=At$1(this.urlSerializer,h);this.events.next(new j(r.id,this.urlSerializer.serialize(r.extractedUrl),v,g)),this.events.next(new ve$1(h.redirectTo,h.navigationBehaviorOptions));}else throw this.events.next(u),s}catch(h){this.options.resolveNavigationPromiseOnError?r.resolve(false):r.reject(h);}}return Qe$3}))}))}cancelNavigationTransition(e,r,i){rn(e);let o=new j(e.id,this.urlSerializer.serialize(e.extractedUrl),r,i);this.events.next(o),e.resolve(false);}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(true))),r=me$5(this.currentNavigation),i=r?.targetBrowserUrl??r?.extractedUrl;return e.toString()!==i?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||t)};static \u0275prov=Kr({token:t,factory:t.\u0275fac})}return t})();function Co(t){return t!==Oe$2}function rn(t){if(t.newlyCreatedRoutes)for(let n of t.newlyCreatedRoutes)n._localInjector?.destroy();}var Bn=new x$6("");var Vn=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=Kr({token:t,factory:()=>T$6(wo)})}return t})(),Tt$1=class Tt{shouldDetach(n){return false}store(n,e){}shouldAttach(n){return false}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}shouldDestroyInjector(n){return true}},wo=(()=>{class t extends Tt$1{static \u0275fac=function(r){return new(r||t)};static \u0275prov=Kr({token:t,factory:t.\u0275fac})}return t})(),Dt$1=(()=>{class t{urlSerializer=T$6(Se$1);options=T$6(be$1,{optional:true})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=T$6(Ne$5);urlHandlingStrategy=T$6(Mt$1);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new E;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:r,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,r):r,a=i??o;return a instanceof E?this.urlSerializer.serialize(a):a}routerUrlState(e){return e?.targetBrowserUrl===void 0||e?.finalUrl===void 0?{}:{\u0275routerUrl:this.urlSerializer.serialize(e.finalUrl)}}commitTransition({targetRouterState:e,finalUrl:r,initialUrl:i}){r&&e?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,i),this.routerState=e):this.rawUrlTree=i;}routerState=Cn(null,T$6(pe$5));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento();}createStateMemento(){return {rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=Kr({token:t,factory:()=>T$6(bo)})}return t})(),bo=(()=>{class t extends Dt$1{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{e(r.url,r.state,"popstate",{replaceUrl:true});});})}handleRouterEvent(e,r){e instanceof se$1?this.updateStateMemento():e instanceof G$1?this.commitTransition(r):e instanceof ke?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof ge$1?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof j&&!Sn(e)?this.restoreHistory(r):e instanceof ce$1?this.restoreHistory(r,true):e instanceof k$5&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId);}setBrowserUrl(e,r){let{extras:i,id:o}=r,{replaceUrl:a,state:c}=i;if(this.location.isCurrentPathEqualTo(e)||a){let s=this.browserPageId,u=l$3(l$3({},c),this.generateNgRouterState(o,s,r));this.location.replaceState(e,"",u);}else {let s=l$3(l$3({},c),this.generateNgRouterState(o,this.browserPageId+1,r));this.location.go(e,"",s);}}restoreHistory(e,r=false){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree());}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree());}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree);}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId));}generateNgRouterState(e,r,i){return this.canceledNavigationResolution==="computed"?l$3({navigationId:e,\u0275routerPageId:r},this.routerUrlState(i)):l$3({navigationId:e},this.routerUrlState(i))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=Kr({token:t,factory:t.\u0275fac})}return t})();function gr(t,n){t.events.pipe($s(e=>e instanceof k$5||e instanceof j||e instanceof ce$1||e instanceof G$1),pt$2(e=>e instanceof k$5||e instanceof G$1?0:(e instanceof j?e.code===b$1.Redirect||e.code===b$1.SupersededByNewNavigation:false)?2:1),$s(e=>e!==2),Fo(1)).subscribe(()=>{n();});}var ee$1=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=false;nonRouterCurrentEntryChangeSubscription;console=T$6(Zw);stateManager=T$6(Dt$1);options=T$6(be$1,{optional:true})||{};pendingTasks=T$6(Kt$2);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=T$6(qn);urlSerializer=T$6(Se$1);location=T$6(Ne$5);urlHandlingStrategy=T$6(Mt$1);injector=T$6(pe$5);_events=new fe$5;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=false;routeReuseStrategy=T$6(Vn);injectorCleanup=T$6(Bn,{optional:true});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=T$6(We$2,{optional:true})?.flat()??[];componentInputBindingEnabled=!!T$6(Ve$2,{optional:true});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents();}eventsSubscription=new Z$3;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=me$5(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof j&&r.code!==b$1.Redirect&&r.code!==b$1.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof k$5)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof ve$1){let a=r.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),s=l$3({scroll:i.extras.scroll,browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Co(i.source)},a);this.scheduleNavigation(c,Oe$2,null,s,{resolve:i.resolve,reject:i.reject,promise:i.promise});}}wi(r)&&this._events.next(r);}catch(i){this.navigationTransitions.transitionAbortWithErrorSubject.next(i);}});this.eventsSubscription.add(e);}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e;}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(true),Oe$2,this.stateManager.restoredState(),{replaceUrl:true});}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r,i,o)=>{this.navigateToSyncWithBrowser(e,i,r,o);});}navigateToSyncWithBrowser(e,r,i,o){let a=i?.navigationId?i:null,c=i?.\u0275routerUrl??e;if(i?.\u0275routerUrl&&(o=m$6(l$3({},o),{browserUrl:e})),i){let u=l$3({},i);delete u.navigationId,delete u.\u0275routerPageId,delete u.\u0275routerUrl,Object.keys(u).length!==0&&(o.state=u);}let s=this.parseUrl(c);this.scheduleNavigation(s,r,a,o).catch(u=>{this.disposed||this.injector.get(Jt$3)(u);});}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return me$5(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(dr),this.navigated=false;}ngOnDestroy(){this.dispose();}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=true,this.eventsSubscription.unsubscribe();}createUrlTree(e,r={}){let{relativeTo:i,queryParams:o,fragment:a,queryParamsHandling:c,preserveFragment:s}=r,u=s?this.currentUrlTree.fragment:a,h=null;switch(c??this.options.defaultQueryParamsHandling){case "merge":h=l$3(l$3({},this.currentUrlTree.queryParams),o);break;case "preserve":h=this.currentUrlTree.queryParams;break;default:h=o||null;}h!==null&&(h=this.removeEmptyProps(h));let v;try{let g=i?i.snapshot:this.routerState.snapshot.root;v=vn(g);}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),v=this.currentUrlTree.root;}return mn(v,e,h,u??null,this.urlSerializer)}navigateByUrl(e,r={skipLocationChange:false}){let i=X$2(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Oe$2,null,r)}navigate(e,r={skipLocationChange:false}){return Io(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.console.warn(ur$1(4018,false)),this.urlSerializer.parse("/")}}isActive(e,r){let i;if(r===true?i=l$3({},ar):r===false?i=l$3({},Le$2):i=l$3(l$3({},Le$2),r),X$2(e))return Wt$1(this.currentUrlTree,e,i);let o=this.parseUrl(e);return Wt$1(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}scheduleNavigation(e,r,i,o,a){if(this.disposed)return Promise.resolve(false);let c,s,u;a?(c=a.resolve,s=a.reject,u=a.promise):u=new Promise((v,g)=>{c=v,s=g;});let h=this.pendingTasks.add();return gr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(h));}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:c,reject:s,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(Promise.reject.bind(Promise))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=Kr({token:t,factory:t.\u0275fac})}return t})();function Io(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new D$7(4008,false)}var Eo=(()=>{class t{router=T$6(ee$1);stateManager=T$6(Dt$1);fragment=Ue$7("");queryParams=Ue$7({});path=Ue$7("");serializer=T$6(Se$1);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof k$5&&this.updateState();});}updateState(){let{fragment:e,root:r,queryParams:i}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(i),this.path.set(this.serializer.serialize(new E(r)));}static \u0275fac=function(r){return new(r||t)};static \u0275prov=Kr({token:t,factory:t.\u0275fac})}return t})(),_t$1=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=T$6(new Dm("href"),{optional:true});reactiveHref=Kl(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return me$5(this.reactiveHref)}set href(e){this.reactiveHref.set(e);}set target(e){this._target.set(e);}get target(){return me$5(this._target)}_target=Ue$7(void 0);set queryParams(e){this._queryParams.set(e);}get queryParams(){return me$5(this._queryParams)}_queryParams=Ue$7(void 0,{equal:()=>false});set fragment(e){this._fragment.set(e);}get fragment(){return me$5(this._fragment)}_fragment=Ue$7(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e);}get queryParamsHandling(){return me$5(this._queryParamsHandling)}_queryParamsHandling=Ue$7(void 0);set state(e){this._state.set(e);}get state(){return me$5(this._state)}_state=Ue$7(void 0,{equal:()=>false});set info(e){this._info.set(e);}get info(){return me$5(this._info)}_info=Ue$7(void 0,{equal:()=>false});set relativeTo(e){this._relativeTo.set(e);}get relativeTo(){return me$5(this._relativeTo)}_relativeTo=Ue$7(void 0);set preserveFragment(e){this._preserveFragment.set(e);}get preserveFragment(){return me$5(this._preserveFragment)}_preserveFragment=Ue$7(false);set skipLocationChange(e){this._skipLocationChange.set(e);}get skipLocationChange(){return me$5(this._skipLocationChange)}_skipLocationChange=Ue$7(false);set replaceUrl(e){this._replaceUrl.set(e);}get replaceUrl(){return me$5(this._replaceUrl)}_replaceUrl=Ue$7(false);browserUrl=g1(void 0);isAnchorElement;onChanges=new fe$5;applicationErrorHandler=T$6(Jt$3);options=T$6(be$1,{optional:true});reactiveRouterState=T$6(Eo);constructor(e,r,i,o,a,c){this.router=e,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=a,this.locationStrategy=c;let s=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=s==="a"||s==="area"||!!(typeof customElements=="object"&&customElements.get(s)?.observedAttributes?.includes?.("href"));}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e);}ngOnChanges(e){this.onChanges.next(this);}routerLinkInput=Ue$7(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(X$2(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl("0"));}onClick(e,r,i,o,a){let c=this._urlTree();if(c===null||this.isAnchorElement&&(e!==0||r||i||o||a||typeof this.target=="string"&&this.target!="_self"))return true;let s=this.browserUrl(),u=l$3({skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info},s!==void 0&&{browserUrl:s});return this.router.navigateByUrl(c,u)?.catch(h=>{this.applicationErrorHandler(h);}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(e,r){let i=this.renderer,o=this.el.nativeElement;r!==null?i.setAttribute(o,e,r):i.removeAttribute(o,e);}_urlTree=Nt$3(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let e=i=>i==="preserve"||i==="merge";(e(this._queryParamsHandling())||e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let r=this.routerLinkInput();return r===null||!this.router.createUrlTree?null:X$2(r)?r:this.router.createUrlTree(r,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(e,r)=>this.computeHref(e)===this.computeHref(r)});get urlTree(){return me$5(this._urlTree)}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null}static \u0275fac=function(r){return new(r||t)(oo$1(ee$1),oo$1(W$1),hp("tabindex"),oo$1(yD),oo$1(Jr$1),oo$1(U$4))};static \u0275dir=mw({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,i){r&1&&Fg("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),r&2&&hg("href",i.reactiveHref(),RI)("target",i._target());},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",T1],skipLocationChange:[2,"skipLocationChange","skipLocationChange",T1],replaceUrl:[2,"replaceUrl","replaceUrl",T1],browserUrl:[1,"browserUrl"],routerLink:"routerLink"},features:[Cv]})}return t})(),To=(()=>{class t{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=false;get isActive(){return this._isActive}routerLinkActiveOptions={exact:false};ariaCurrentWhenActive;isActiveChange=new Ze$3;link=T$6(_t$1,{optional:true});constructor(e,r,i,o){this.router=e,this.element=r,this.renderer=i,this.cdr=o,this.routerEventsSubscription=e.events.subscribe(a=>{a instanceof k$5&&this.update();});}ngAfterContentInit(){ty(this.links.changes,ty(null)).pipe(or$1()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges();});}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=Ae$5(e).pipe(or$1()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update();});}set routerLinkActive(e){let r=Array.isArray(e)?e:e.split(" ");this.classes=r.filter(i=>!!i);}ngOnChanges(e){this.update();}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe();}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(r=>{e?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r);}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e));});}isLinkActive(e){let r=No(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact??false?l$3({},ar):l$3({},Le$2);return i=>{let o=i.urlTree;return o?me$5(sr(o,e,r)):false}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(r){return new(r||t)(oo$1(ee$1),oo$1(Jr$1),oo$1(yD),oo$1(D1))};static \u0275dir=mw({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(r,i,o){if(r&1&&Hg(o,_t$1,5),r&2){let a;aC(a=cC())&&(i.links=a);}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Cv]})}return t})();function No(t){let n=t;return !!(n.paths||n.matrixParams||n.queryParams||n.fragment)}var Qe$1=class Qe{},Mo=(()=>{class t{preload(e,r){return r().pipe(Vs(()=>ty(null)))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=Kr({token:t,factory:t.\u0275fac})}return t})();var Gn=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,r,i,o){this.router=e,this.injector=r,this.preloadingStrategy=i,this.loader=o;}setUpPreloading(){this.subscription=this.router.events.pipe($s(e=>e instanceof k$5),wy(()=>this.preload())).subscribe(()=>{});}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe();}processRoutes(e,r){let i=[];for(let o of r){o.providers&&!o._injector&&(o._injector=Ll(o.providers,e,""));let a=o._injector??e;o._loadedNgModuleFactory&&!o._loadedInjector&&(o._loadedInjector=o._loadedNgModuleFactory.create(a).injector);let c=o._loadedInjector??a;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(a,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(c,o.children??o._loadedRoutes));}return Ae$5(i).pipe(or$1())}preloadConfig(e,r){return this.preloadingStrategy.preload(r,()=>{if(e.destroyed)return ty(null);let i;r.loadChildren&&r.canLoad===void 0?i=Ae$5(this.loader.loadChildren(e,r)):i=ty(null);let o=i.pipe(Ht$3(a=>a===null?ty(void 0):(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,r._loadedNgModuleFactory=a.factory,this.processRoutes(a.injector??e,a.routes))));if(r.loadComponent&&!r._loadedComponent){let a=this.loader.loadComponent(e,r);return Ae$5([o,a]).pipe(or$1())}else return o})}static \u0275fac=function(r){return new(r||t)(ke$4(ee$1),ke$4(pe$5),ke$4(Qe$1),ke$4(pr))};static \u0275prov=ee$4({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Do=new x$6("");function _o(t,...n){return ga([{provide:We$2,multi:true,useValue:t},{provide:W$1,useFactory:Uo},{provide:dg,multi:true,useFactory:Oo},n.map(e=>e.\u0275providers)])}function Uo(){return T$6(ee$1).routerState.root}function Wn(t,n){return {\u0275kind:t,\u0275providers:n}}function Oo(){let t=T$6(Te$4);return n=>{let e=t.get(fs);if(n!==e.components[0])return;let r=t.get(ee$1),i=t.get(Po);t.get(Lo)===1&&r.initialNavigation(),t.get(Qn,null,{optional:true})?.setUpPreloading(),t.get(Do,null,{optional:true})?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe());}}var Po=new x$6("",{factory:()=>new fe$5}),Lo=new x$6("",{factory:()=>1});var Qn=new x$6("");function xo(t){return Wn(0,[{provide:Qn,useExisting:Gn},{provide:Qe$1,useExisting:t}])}function jo(t={}){return Wn(8,[{provide:Ve$2,useFactory:()=>new An(t)}])}
12
- var h$2=class r{platformId=T$6(av);STORAGE_VERSION="v1";APP_NAME="duplicati";PERSISTED_PREFIX="persist:";getItemParsed(e,t=false){return Or(this.platformId)?null:JSON.parse(localStorage.getItem(`${this.STORAGE_VERSION}:${t?this.PERSISTED_PREFIX:""}${this.APP_NAME}:${e}`)??"null")}setItemParsed(e,t,o=false){if(!Or(this.platformId))return localStorage.setItem(`${this.STORAGE_VERSION}:${o?this.PERSISTED_PREFIX:""}${this.APP_NAME}:${e}`,JSON.stringify(t))}get length(){return Rr(this.platformId)?localStorage.length:0}getItem(e){return Or(this.platformId)?null:localStorage.getItem(`${this.STORAGE_VERSION}:${this.APP_NAME}:${e}`)??null}setItem(e,t){if(!Or(this.platformId))return localStorage.setItem(`${this.STORAGE_VERSION}:${this.APP_NAME}:${e}`,t)}removeItem(e){Or(this.platformId)||(localStorage.removeItem(`${this.STORAGE_VERSION}:${this.APP_NAME}:${e}`),localStorage.removeItem(`${this.STORAGE_VERSION}:${this.PERSISTED_PREFIX}${this.APP_NAME}:${e}`));}clearAllNotCurrentVersion(){if(!Or(this.platformId))for(var e in localStorage)!e.startsWith(this.STORAGE_VERSION)&&e.includes(this.APP_NAME)&&localStorage.removeItem(e);}clearAll(){Or(this.platformId)||localStorage.clear();}clear(){if(!Or(this.platformId))for(var e in localStorage)e.includes(this.APP_NAME)&&!e.includes(this.PERSISTED_PREFIX)&&localStorage.removeItem(e);}key(e){return Or(this.platformId)?null:localStorage.key(e)}static \u0275fac=function(t){return new(t||r)};static \u0275prov=ee$4({token:r,factory:r.\u0275fac})};function V$2(){try{let r=document.querySelector('meta[name="duplicati-proxy-config"]');if(r){let e=(r.getAttribute("content")||"").trim();if(e&&e.startsWith("/"))return e}}catch(r){console.warn("Failed to read proxy configuration from meta tag:",r);}return null}function L(){try{let r=document.querySelector('meta[name="duplicati-enable-iframe-hosting"]');if(r){let e=(r.getAttribute("content")||"").trim();if(e&&e.length>0)return e.toLowerCase()!=="true"}}catch(r){console.warn("Failed to read disable relay support configuration from meta tag:",r);}return true}function $$2(){try{let r=document.querySelector('meta[name="duplicati-xsrf-config"]');if(r){let e=(r.getAttribute("data-header-name")||"").trim(),t=(r.getAttribute("data-query-name")||"").trim();if(e&&t&&e.length>0&&t.length>0){let n=new URLSearchParams(window.location.search).get(t);if(n)return {headerName:e,queryName:t,headerValue:n}}}}catch(r){console.warn("Failed to read XSRF configuration from meta tags:",r);}return null}function x$1(){let r=$$2();return r?`${r.queryName}=${encodeURIComponent(r.headerValue)}`:null}function X$1(){let r=V$2();if(r&&r.length>0){let t$1=r;t$1.startsWith("/")||(t$1=`/${t$1}`),t$1.endsWith("/")&&(t$1=t$1.slice(0,-1)),t.BASE=t$1;}else t.BASE="";let e=$$2();e&&(t.HEADERS={[e.headerName]:e.headerValue});}var g$2=class r{#i=T$6(h$2);#o=Ue$7(null);#t=window.self!==window.top&&L();#r=Ue$7(this.#t);relayIsEnabled=this.#r.asReadonly();config=this.#o.asReadonly();configLoaded=this.#t?new rr$1:null;isLoading=Ue$7(this.#t);parentIframeListner=null;parentOrigin="*";fetchConfig(){this.#s(),this.#t&&(this.#r.set(true),this.parentIframeListner=new AbortController,this.#e("connected"),window.addEventListener("message",e=>{if(e.data.startsWith("access:")){let t=e.data.replace("access:",""),o=JSON.parse(t);if(!o?.accessToken||!o?.clientId||!o?.machineServerUrl){this.#e("error:invalid-config"),this.#r.set(false);return}if(typeof o.clientId!="string"){this.#e("error:invalid-config"),this.#r.set(false);return}if(typeof o.accessToken!="string"){this.#e("error:invalid-config"),this.#r.set(false);return}if(typeof o.machineServerUrl!="string"){this.#e("error:invalid-config"),this.#r.set(false);return}let n=this.#i.getItem("locale")??"en-US",I=o.locale??"en-US";n!==I&&(this.#i.setItem("locale",I),window.location.reload()),this.#o.set(o),this.configLoaded?.next(true),this.isLoading.set(false),this.#e("handshake-complete");}},{signal:this.parentIframeListner.signal}));}#e(e){window.parent.postMessage(e,"*");}#s(){this.parentIframeListner&&(this.parentIframeListner.abort(),this.parentIframeListner=null);}setConfig(e){this.#o.set(e);}clearConfig(){this.#o.set(null);}static \u0275fac=function(t){return new(t||r)};static \u0275prov=ee$4({token:r,factory:r.\u0275fac,providedIn:"root"})};var D$2="PROXY_AUTHED_FAKE_TOKEN",d="refreshNonce",S$3="v1:persist:duplicati:refreshNonce",M=class r{#i=T$6(ee$1);#o=T$6(De$3);#t=T$6(C);#r=T$6(g$2);#e=Ue$7(null);#s=Ue$7(false);#a=Ue$7(false);#l=Ue$7(x$1());xsrfQueryParam=this.#l.asReadonly();token=this.#e.asReadonly();isLoggingOut=this.#s.asReadonly();setRefreshNonce(e,t){if(!e){sessionStorage.removeItem(d);return}t?localStorage.setItem(S$3,e||""):sessionStorage.setItem(d,e||"");}getRefreshNonceBody(){let e=sessionStorage.getItem(d),t=localStorage.getItem(S$3),o=e||t;return {requestBody:o?{requestBody:{Nonce:o}}:void 0,local:o===t}}login(e,t){return this.#t.postApiV1AuthLogin({requestBody:{Password:e,RememberMe:t}}).pipe(Fo(1),Ju(o=>{o.AccessToken?(this.#e.set(o.AccessToken),this.setRefreshNonce(o.RefreshNonce,t)):this.#e.set(null);}))}#n=null;refreshToken(){if(this.#r.relayIsEnabled())return this.#e.set(D$2),new S$7(o=>{o.next({AccessToken:D$2}),o.complete();});if(this.#a())return this.#t.postApiV1AuthIssuetokenByOperation({operation:"websocket"}).pipe(Fo(1),Ju(o=>{o.Token&&this.#e.set(o.Token);}),pt$2(o=>({AccessToken:o.Token})));if(this.#n)return this.#n;let{requestBody:e,local:t}=this.getRefreshNonceBody();return this.#n=this.#t.postApiV1AuthRefresh(e).pipe(Fo(1),Ju(o=>{o.AccessToken&&(this.#e.set(o.AccessToken),this.setRefreshNonce(o.RefreshNonce,t));}),Bu(()=>{this.#n=null;}),My(1)),this.#n}checkProxyAuthed(){let e=new y$3(l$3({"custom-proxy-check":"true"},t.HEADERS??{})),t$1=t.BASE||"";return this.#o.post(`${t$1}/api/v1/auth/status`,null,{headers:e}).pipe(pt$2(o=>{let n=o;return n?.authorized&&n?.socketToken?(this.#e.set(n.socketToken),this.#a.set(true),true):false}),Vs(()=>ty(false)))}logout(){this.#s.set(true);let{requestBody:e,local:t}=this.getRefreshNonceBody();sessionStorage.removeItem(d),t&&localStorage.removeItem(S$3),this.#t.postApiV1AuthRefreshLogout(e).pipe(Fo(1),Bu(()=>{this.#s.set(false),this.#e.set(null),this.#i.navigate(["/login"]);})).subscribe();}static \u0275fac=function(t){return new(t||r)};static \u0275prov=ee$4({token:r,factory:r.\u0275fac,providedIn:"root"})};var S$2=class r{reconnectTimer=Ue$7(5e3);countdown=Ue$7(0);connectTimerEffect=Ga(()=>{let e=this.reconnectTimer();this.countdown.set(e/1e3);});interval=setInterval(()=>{if(this.countdown()<=1){this.countdown.set(this.reconnectTimer()/1e3);return}this.countdown.set(this.countdown()-1);},1e3);ngOnDestroy(){clearInterval(this.interval);}static \u0275fac=function(t){return new(t||r)};static \u0275cmp=dw({type:r,selectors:[["app-disconnected-dialog"]],decls:8,vars:4,consts:()=>{let e;e=$localize`Reconnecting...`;let t;return t=$localize` The connection to the server is lost, attempting again in ${"\uFFFD#6\uFFFD"}:START_TAG_STRONG:0:${"\uFFFD0\uFFFD"}:INTERPOLATION:${"\uFFFD/#6\uFFFD"}:CLOSE_TAG_STRONG:`,[e,t,["header",""],["content",""]]},template:function(t,s){t&1&&(Bl(0,"header",2)(1,"h3"),XT(2,0),$l()(),Bl(3,"div",3)(4,"p"),Og(5,1),yg(6,"strong"),tb(7,"number"),Pg(),$l()()),t&2&&(DE(7),Lg(ob(7,1,s.countdown(),"2.0-0")),eC(5));},dependencies:[pi$1],styles:["[_nghost-%COMP%]{display:block;padding:1rem}"]})};var l$2=false,q$2=5e3,T$1=class r{#e=T$6(M);#i=T$6(m$3);dialog=T$6(be$3);#t=null;#o=Ue$7("disconnected");#n=Ue$7(null);#l=Ue$7(null);#u=Ue$7(null);#s=Ue$7(null);#r=Ue$7(null);#d=Ue$7(null);#c=Ue$7(null);#h=void 0;#a=false;#p=Ue$7({legacystatus:true});shouldConnect=Ue$7(true);connectionStatus=this.#o.asReadonly();serverState=this.#n.asReadonly();serverProgress=this.#l.asReadonly();serverSettings=this.#u.asReadonly();subscriptions=this.#p.asReadonly();serverTaskQueue=this.#s.asReadonly();backupListState=this.#r.asReadonly();notificationState=this.#d.asReadonly();remoteControlState=this.#c.asReadonly();#f=null;taskCompleted=new S$7(e=>{this.#f=e;});#m=0;#S=null;start(){this.shouldConnect.set(true),this.#b();}#b(){this.#S&&(clearTimeout(this.#S),this.#S=null);let e=this.#e.token();if(!e){console.error("No access token available");return}let t$1=window.location.protocol==="https:"?"wss:":"ws:",s=window.location.port?`:${window.location.port}`:"";window.location.port==="4200"&&(s=":8200");let u=window.location.hostname,g=t.BASE||"",f=this.#e.xsrfQueryParam(),B=this.#i.hasWebSocketAuth()?`${t$1}//${u}${s}${g}/notifications${f?`?${f}`:""}`:`${t$1}//${u}${s}${g}/notifications?token=${e}${f?`&${f}`:""}`;this.#o.set("connecting"),this.#t=new WebSocket(B),this.#t.onopen=()=>{this.#i.hasWebSocketAuth()?(this.#o.set("authenticating"),this.#t?.send(JSON.stringify({Version:1,Token:e,Action:"auth"}))):this.#g();},this.#t.onmessage=d=>{if(this.#o()==="authenticating")try{let i=JSON.parse(d.data);if(i.Success){l$2&&console.log("WebSocket authentication successful"),this.#g();return}else if(i?.Type==="legacystatus")l$2&&console.log("WebSocket authentication successful"),this.#g();else {console.error("WebSocket authentication failed:",i.Message),this.#o.set("disconnected"),this.#a=!0,this.#e.refreshToken().subscribe({next:()=>{this.reconnect(),this.#a=!1;},error:o=>{this.#a=!1,console.error("Error refreshing token after WebSocket auth failed",o);}});return}}catch(i){console.error("Error parsing WebSocket authentication reply",i),this.#o.set("disconnected");return}try{let i=JSON.parse(d.data),a=i?.Type;if(a==="legacystatus"||a==null)l$2&&console.log("Received legacy status update:",i),this.#n.set(i);else if(a==="reply"){let o=i;o.Success||console.error("WebSocket reply error:",o.Message);}else if(a==="progress"){let o=i;l$2&&console.log("Received progress update:",o.Data),this.#l.set(o.Data);}else if(a==="serversettings"){let o=i;l$2&&console.log("Received server settings update:",o.Data),this.#u.set(o.Data);}else if(a==="taskqueue"){let o=i;l$2&&console.log("Received task update:",o.Data),this.#s.set(o.Data);}else if(a==="taskcompleted"){let o=i;l$2&&console.log("Received task completed:",o.Data),this.#f?.next(o.Data);}else if(a==="backuplist"){let o=i;l$2&&console.log("Received backup list update:",o.Data),this.#r.set(o.Data);}else if(a==="notifications"){let o=i;l$2&&console.log("Received notification update:",o.Data),this.#d.set(o.Data);}else if(a==="remotecontrol"){let o=i;l$2&&console.log("Received remote control update:",o.Data),this.#c.set(o.Data);}else console.warn("Unknown WebSocket message type:",a);}catch(i){console.error("Error parsing WebSocket message",i);}},this.#t.onclose=d=>{if(this.#o.set("disconnected"),d.code===4401){this.#a=true,this.#e.refreshToken().subscribe({next:()=>{this.reconnect(),this.#a=false;},error:i=>{console.error("Error refreshing token",i),this.#a=false,this.shouldConnect()&&this.#v();}});return}this.shouldConnect()&&!this.#a&&this.#v();},this.#t.onerror=d=>{console.error("WebSocket error",d),this.#o.set("disconnected");};}#g(){this.#o.set("connected"),this.#a=false;let e=this.#p();Object.keys(e).length>0&&Object.entries(e).forEach(([t,s])=>{s!=null&&this.sendSubscribeRequest(t,s);}),this.#h&&(this.#h.close(),this.#h=void 0);}#v(){this.#h||(this.#h=this.dialog.open(S$2,{closeOnButton:false,closeOnEsc:false,closeOnOutsideClick:false}),this.#h.component.reconnectTimer.set(q$2)),this.#S&&clearTimeout(this.#S),this.#S=setTimeout(()=>this.#b(),q$2);}stop(){this.shouldConnect.set(false),this.#t?.close();}reconnect(){this.#t&&(this.#t.onclose=null,this.#t.onerror=null,this.#t.close()),this.start();}reconnectIfNeeded(){this.#t?.readyState!==WebSocket.OPEN&&this.reconnect();}sendSubscribeRequest(e,t){this.#t?.send(JSON.stringify({Version:1,Id:`req-${++this.#m}`,Action:"sub",Service:e,Data:t||null}));}subscribe(e,t=void 0){let s=this.#p(),u=s[e];(!u||JSON.stringify(u)!==JSON.stringify(t||true))&&(s[e]=t||true,this.#p.set(s),this.#o()=="connected"&&this.sendSubscribeRequest(e,t));}unsubscribe(e){let t=this.#p();t[e]&&(delete t[e],this.#p.set(t),this.#o()=="connected"&&this.#t?.send(JSON.stringify({Version:1,Id:`req-${++this.#m}`,Action:"unsub",Service:e})));}static \u0275fac=function(t){return new(t||r)};static \u0275prov=ee$4({token:r,factory:r.\u0275fac,providedIn:"root"})};var k$4=class r{dialog=T$6(be$3);#e=T$6(C);#i=Ue$7("disconnected");#t=Ue$7(null);#o=Ue$7(-1);#n=Ue$7(0);#l=Ue$7(false);#u=new fe$5;connectionStatus=this.#i.asReadonly();serverState=this.#t.asReadonly();#s=void 0;duration=T$6(g$2).relayIsEnabled()?"94s":"299s";start(){this.#l.set(true),this.#u=new fe$5,this.#r();}stop(){this.#u.next(),this.#u.complete(),this.#l.set(false);}reconnect(){this.stop(),this.start();}reconnectIfNeeded(){this.#l()||this.reconnect();}#r(){this.#i.set("connecting"),this.#e.getApiV1Serverstate({lastEventId:this.#o(),longpoll:this.#o()>=0,duration:this.duration}).pipe(Uu(this.#u)).subscribe({next:e=>{e&&this.#d(e),this.#c();},error:e=>{this.#n.set(this.#n()+1),this.#n()>3&&this.#i.set("disconnected"),this.#s||(this.#s=this.dialog.open(S$2,{closeOnButton:false,closeOnEsc:false,closeOnOutsideClick:false})),this.#s.component.reconnectTimer.set(5e3),setTimeout(()=>{this.#r();},5e3);}});}#d(e){this.#i.set("connected"),this.#t.set(e),this.#o.set(e.LastEventID??-1),this.#n.set(0),this.#s&&(this.#s.close(),this.#s=void 0);}#c(){this.#l()&&this.#r();}static \u0275fac=function(t){return new(t||r)};static \u0275prov=ee$4({token:r,factory:r.\u0275fac,providedIn:"root"})};var J$1=10,Q$2=class r{#e=T$6(T$1);#i=T$6(k$4);#t=T$6(C);#o=T$6(m$3);#n=Ue$7("longpoll");#l=Ue$7(false);#u=Nt$3(()=>this.#o.hasTaskCompletedOption()&&this.#n()==="websocket");#s={};#r=null;#d=false;#c=[];constructor(){this.#e.subscribe("taskcompleted"),this.#e.taskCompleted.subscribe(e=>{if(this.#c.unshift(e),this.#c.length>J$1&&this.#c.pop(),!e.ID)return;let t=this.#s[e.ID];t&&(t.forEach(s=>{s.next(e),s.complete();}),delete this.#s[e.ID]);});}connectionStatus=Nt$3(()=>this.#n()==="websocket"?this.#e.connectionStatus():this.#i.connectionStatus());isConnectionMethodSet=this.#l.asReadonly();serverState=Nt$3(()=>this.#n()==="websocket"?this.#e.serverState():this.#i.serverState());progressState=this.#e.serverProgress;taskQueueState=this.#e.serverTaskQueue;activeTaskQueueState=Nt$3(()=>this.#n()==="websocket"?this.#e.serverTaskQueue()?.map(t=>t.ID).filter(t=>t)??[]:(this.#i.serverState()?.SchedulerQueueIds??[]).map(t=>t.Item1).filter(t=>t));backupListState=Nt$3(()=>this.#e.backupListState());setConnectionMethod(e){e==="websocket"?(this.#e.reconnectIfNeeded(),this.#i.stop()):(this.#i.reconnectIfNeeded(),this.#e.stop()),this.#n.set(e),this.#l.set(true);}getConnectionMethod(){return this.#n()}subscribe(e,t=null){this.#e.subscribe(e,t);}unsubscribe(e){this.#e.unsubscribe(e);}waitForTaskToComplete(e){return new S$7(t=>{let s=this.#c.find(u=>u.ID===e);if(s){t.next(s),t.complete();return}this.#s[e]=this.#s[e]||[],this.#s[e].push(t),this.#h();})}#h(){this.#d||this.#u()||(this.#d=true,this.#a());}#a(){let e=Object.keys(this.#s).map(s=>parseInt(s,10));if(e.length===0){this.#p();return}let t=Math.min(...e);this.#t.getApiV1TaskByTaskid({taskid:t}).subscribe({next:s=>{s.TaskFinished!=null&&(this.#c.unshift(s),this.#c.length>J$1&&this.#c.pop(),this.#s[t].forEach(g=>{g.next(s),g.complete();}),delete this.#s[t]);},complete:()=>{this.#r=window.setTimeout(()=>{this.#a();},1e3);},error:s=>{this.#r=window.setTimeout(()=>{this.#a();},3e3);}});}#p(){this.#r!==null&&(clearTimeout(this.#r),this.#r=null),this.#d=false;}static \u0275fac=function(t){return new(t||r)};static \u0275prov=ee$4({token:r,factory:r.\u0275fac,providedIn:"root"})};
13
- function u$1(...a){let e=Ue$7(...a);return Object.defineProperty(e,"value",{get:e.asReadonly(),set:e.set.bind(e)})}function A$2(a,e,o=false,s){let l=T$6(h$2);e=l.getItemParsed(a,o)??e;let n=u$1(e),r=n[H$6];function g(t){t==null?l.removeItem(a):l.setItemParsed(a,t,o);}return n.set=t=>{g(t),ft$2(r,t);},n.update=t=>{let T=t(n());g(T),ft$2(r,T);},n}var y$2="backupListOrderBy",v$3="backupListShowActualTimes",D$1=[{value:"id",label:$localize`Backup ID`},{value:"name",label:$localize`Backup name`},{value:"lastrun",label:$localize`Last run time`},{value:"nextrun",label:$localize`Next run time`},{value:"schedule",label:$localize`Is scheduled`},{value:"backend",label:$localize`Destination type`},{value:"sourcesize",label:$localize`Source size`},{value:"destinationsize",label:$localize`Destination size`},{value:"duration",label:$localize`Duration`},{value:"-id",label:$localize`Backup ID (descending)`},{value:"-name",label:$localize`Backup name (descending)`},{value:"-lastrun",label:$localize`Last run time (descending)`},{value:"-nextrun",label:$localize`Next run time (descending)`},{value:"-schedule",label:$localize`Is scheduled (descending)`},{value:"-backend",label:$localize`Destination type (descending)`},{value:"-sourcesize",label:$localize`Source size (descending)`},{value:"-destinationsize",label:$localize`Destination size (descending)`},{value:"-duration",label:$localize`Duration (descending)`}],g$1=class l{#s=T$6(C);#o=T$6(m$3);#e=T$6(Q$2);#u=null;#t=Ue$7([]);#a=Ue$7([]);#l=Ue$7(false);#n=Ue$7(null);#p=Ue$7(null);#c=A$2(v$3,"relative");#i=A$2(y$2,"id");orderByOptions=Ue$7(D$1);orderBy=this.#i.asReadonly();backups=this.#a.asReadonly();timeType=this.#c.asReadonly();backupsLoading=this.#l.asReadonly();startingBackup=this.#n.asReadonly();deletingBackup=this.#p.asReadonly();draftBackups=this.#t.asReadonly();#r=Nt$3(()=>this.#o.hasBackupListSubscribeOption()&&this.#e.getConnectionMethod()==="websocket");#d=Ga(()=>{let e=this.#e.backupListState();e&&this.#a.set(e);});addDraftBackup(e){let t=x$4();return this.#t.set([...this.#t(),{id:t,data:e}]),t}setOrderBy(e){this.#i.set(e),this.#e.isConnectionMethodSet()&&(this.#r()?this.#e.subscribe("backuplist",e):this.getBackups(true));}setTimeType(e){this.#c.set(e);}removeDraftBackupById(e){this.#t.set(this.#t().filter(t=>t.id!==e));}getBackupById(e){return this.#a().find(t=>t.Backup?.ID===e)??null}getBackups(e=false){if(!this.#e.isConnectionMethodSet())return;if(this.#r()){this.#e.subscribe("backuplist",this.#i());return}let t=this.#u,n=Date.now(),h=t&&n-t<900*1e3;t&&n-t<100||!e&&h&&this.#a().length||(this.#u=n,this.#l.set(true),this.#s.getApiV1Backups({orderBy:this.#i()}).pipe(Fo(1),Ju(f=>this.#a.set(f)),Bu(()=>this.#l.set(false))).subscribe());}startBackup(e){this.#n.set(e),this.#s.postApiV1BackupByIdStart({id:e}).pipe(Fo(1),Ju(()=>this.getBackups(true)),Bu(()=>this.#n.set(null))).subscribe();}deleteBackup(e){return this.#s.deleteApiV1BackupById(e).pipe(Fo(1))}static \u0275fac=function(t){return new(t||l)};static \u0275prov=ee$4({token:l,factory:l.\u0275fac,providedIn:"root"})};var m$1=class o{decimalPipe=T$6(pi$1);transform(t,e=false,i=false){if(i&&t===0)return e?"0 Bytes":"0B";if(!t||t===0||(typeof t=="string"&&(t=parseInt(t)),isNaN(t)))return "";let a=this.#t(),n=a?["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"]:["Bytes","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],r=Math.floor(Math.log(t)/Math.log(a?1e3:1024));r=Math.min(r,n.length-1);let c=t/Math.pow(a?1e3:1024,r),s=this.decimalPipe.transform(c,"1.0-2");return s?`${s} ${e?n[r]:n[r].replace("Bytes","B")}`:""}#t(){if(navigator.userAgentData?.platform.toLowerCase().includes("mac"))return true;let t=["mac","macintosh","os x","apple"],e=((navigator.userAgent||navigator.platform||navigator.vendor)??"").toLowerCase();return e?t.some(i=>e.includes(i)):false}static \u0275fac=function(e){return new(e||o)};static \u0275pipe=yw({name:"bytes",type:o,pure:true})};var u=["*"],v$2=(()=>{class e{constructor(){this.color=g1(null),this.variant=g1(null),this.size=g1(null),this.readonly=g1(false),this.noBg=g1(false,{transform:T1}),this.hostClasses=ce$2("button",{color:this.color,variant:this.variant,size:this.size,readonly:this.readonly});}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=dw({type:e,selectors:[["","shButton",""]],hostAttrs:[1,"sh-sheet-h"],hostVars:4,hostBindings:function(n,o){n&2&&(bC(o.hostClasses()),Qg("no-bg",o.noBg()));},inputs:{color:[1,"color"],variant:[1,"variant"],size:[1,"size"],readonly:[1,"readonly"],noBg:[1,"noBg"]},ngContentSelectors:u,decls:1,vars:0,template:function(n,o){n&1&&(oC(),iC(0));},styles:[`[shButton]{--btn-h: 2.5rem;--btn-mw: 2.5rem;--btn-f: var(--paragraph-20);--btn-a-opacity: .05;--btn-bs: var(--ship-button-shadow, none);display:inline-flex;align-items:center;justify-content:center;gap:.6875rem;position:relative;padding:0 .75rem;transition:color 80ms linear;min-width:var(--btn-mw);cursor:pointer;outline:none;line-height:inherit;-webkit-user-select:none;user-select:none;appearance:none;overflow:visible;vertical-align:middle;text-decoration:none;height:var(--btn-h);box-shadow:var(--btn-bs);font:var(--btn-f);transition:transform .25s ease-in;transform:scale(1)}[shButton]:before{content:"";position:absolute;inset:0;background:radial-gradient(#000 30%,#0000);opacity:0;transition:opacity 175ms linear}[shButton]:active{transform:scale(.98)}[shButton]:active:before{opacity:var(--btn-a-opacity)}[shButton].raised,[shButton].flat{--btn-a-opacity: .1}[shButton] sh-icon{rotate:var(--btn-ir);transition:rotate 125ms ease-in-out}[shButton] sh-icon:first-child{margin-left:-.1875rem}[shButton] sh-icon:last-child{margin-right:-.1875rem}[shButton].rotated-icon sh-icon{--btn-ir: 180deg}[shButton].small{--btn-h: 2rem;--btn-mw: 2rem;--btn-f: var(--paragraph-30);padding:0 .5rem;gap:.3125rem}[shButton].small sh-icon{font-size:1rem}[shButton].small sh-icon:first-child{margin-left:-.0625rem}[shButton].small sh-icon:last-child{margin-right:-.0625rem}[shButton].xsmall{--btn-h: 1.5rem;--btn-mw: 1.5rem;--btn-f: var(--paragraph-40);padding:0 .5rem;gap:.25rem}[shButton].xsmall sh-icon{font-size:.75rem}[shButton].xsmall sh-icon:first-child{margin-left:-.1875rem}[shButton].xsmall sh-icon:last-child{margin-right:-.1875rem}[shButton].no-bg{--sheet-bg: transparent;background:transparent}[shButton].no-bg.simple{--sheet-bc: transparent}[shButton][disabled]{opacity:.5;pointer-events:none;-webkit-user-select:none;user-select:none}[shButton][readonly],[shButton].readonly{pointer-events:none;-webkit-user-select:none;user-select:none}[shButton][disabled]:active,[shButton][readonly]:active{transform:scale(1)}
14
- `],encapsulation:2});}}return e})();function v$1(e,a){if(e&1&&(Qi$1(0,"p"),PC(1),Hl()),e&2){let t=nC();DE(),nm(t._data().message);}}function S$1(e,a){if(e&1){let t=gT();Qi$1(0,"button",5),Fg("click",function(){Sd(t);let p=nC();return xd(p.close("cancel"))}),PC(1),Hl();}if(e&2){let t=nC();DE(),nm(t._data().cancelText);}}function k$3(e,a){if(e&1){let t=gT();Qi$1(0,"button",6),Fg("click",function(){Sd(t);let p=nC();return xd(p.close("confirm"))}),PC(1),Hl();}if(e&2){let t=nC();DE(),nm(t._data().confirmText);}}var w$1={title:$localize`Are you sure?`,confirmText:void 0,cancelText:$localize`Cancel`},h$1=class e{data=g1();_data=Nt$3(()=>l$3(l$3({},w$1),this.data()));closed=h1();close(a="confirm"){this.closed.emit(a==="confirm");}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=dw({type:e,selectors:[["app-confirm-dialog"]],inputs:{data:[1,"data"]},outputs:{closed:"closed"},decls:8,vars:4,consts:[["header",""],["content",""],["footer",""],["shButton","",1,""],["shButton","",1,"raised","primary"],["shButton","",1,"",3,"click"],["shButton","",1,"raised","primary",3,"click"]],template:function(t,c){t&1&&(Qi$1(0,"header",0)(1,"h3"),PC(2),Hl()(),Qi$1(3,"div",1),oT(4,v$1,2,1,"p"),Hl(),Qi$1(5,"footer",2),oT(6,S$1,2,1,"button",3),oT(7,k$3,2,1,"button",4),Hl()),t&2&&(DE(2),nm(c._data().title),DE(2),iT(c._data().message?4:-1),DE(2),iT(c._data().cancelText?6:-1),DE(),iT(c._data().confirmText?7:-1));},dependencies:[v$2],styles:["[_nghost-%COMP%]{display:block}"]})};var h={Starting_Operation:$localize`Starting operation …`,Backup_Begin:$localize`Starting backup …`,Backup_PreBackupVerify:$localize`Verifying backend data …`,Backup_PostBackupTest:$localize`Verifying remote data …`,Backup_PreviousBackupFinalize:$localize`Completing previous backup …`,Backup_ProcessingFiles:$localize`Processing files to backup …`,Backup_Finalize:$localize`Completing backup …`,Backup_WaitForUpload:$localize`Waiting for upload to finish …`,Backup_Delete:$localize`Deleting unwanted files …`,Backup_Compact:$localize`Compacting remote data …`,Backup_VerificationUpload:$localize`Uploading verification file …`,Backup_PostBackupVerify:$localize`Verifying backend data …`,Backup_Lock:$localize`Locking remote data …`,Backup_Complete:$localize`Backup complete!`,Backup_RemoteSynchronization:$localize`Synchronizing secondary destination(s) …`,Restore_Begin:$localize`Starting restore …`,Restore_RecreateDatabase:$localize`Rebuilding local database …`,Restore_PreRestoreVerify:$localize`Verifying remote data …`,Restore_CreateFileList:$localize`Building list of files to restore …`,Restore_CreateTargetFolders:$localize`Creating target folders …`,Restore_ScanForExistingFiles:$localize`Scanning existing files …`,Restore_ScanForLocalBlocks:$localize`Scanning for local blocks …`,Restore_PatchWithLocalBlocks:$localize`Patching files with local blocks …`,Restore_Download:$localize`Downloading files …`,Restore_PatchWithRemoteFiles:$localize`Patching files with remote data …`,Restore_VerifyRestoredFiles:$localize`Verifying restored files …`,Restore_Finaluze:$localize`Finalizing restore …`,Restore_Complete:$localize`Restore complete!`,Recreate_Begin:$localize`Starting database recreate …`,Recreate_Delete:$localize`Deleting old database …`,Recreate_Create:$localize`Creating new database …`,Recreate_Download:$localize`Downloading files …`,Recreate_Process:$localize`Processing files …`,Recreate_Complete:$localize`Database recreate complete!`,Verify_Begin:$localize`Starting verification …`,Verify_Download:$localize`Downloading files …`,Verify_Process:$localize`Processing files …`,Verify_Complete:$localize`Verification complete!`,BugReport_Begin:$localize`Starting bug report …`,BugReport_Gathering:$localize`Gathering information …`,BugReport_Complete:$localize`Bug report complete!`,List_Begin:$localize`Starting list …`,List_Download:$localize`Downloading files …`,List_Process:$localize`Processing files …`,List_Complete:$localize`List complete!`,Delete_Begin:$localize`Starting delete …`,Delete_Download:$localize`Downloading files …`,Delete_Process:$localize`Processing files …`,Delete_Complete:$localize`Delete complete!`,Compact_Begin:$localize`Starting compact …`,Compact_Download:$localize`Downloading files …`,Compact_Process:$localize`Processing files …`,Compact_Complete:$localize`Compact complete!`,Restore_DownloadingRemoteFiles:$localize`Downloading files …`,Restore_PostRestoreVerify:$localize`Verifying restored files …`,Recreate_Running:$localize`Recreating database …`,Vacuum_Running:$localize`Vacuuming database …`,Repair_Running:$localize`Repairing database …`,Verify_Running:$localize`Verifying files …`,BugReport_Running:$localize`Creating bug report …`,Delete_Listing:$localize`Listing remote files …`,Delete_Deleting:$localize`Deleting remote files …`,PurgeFiles_Begin:$localize`Listing remote files for purge …`,PurgeFiles_Process:$localize`Purging files …`,PurgeFiles_Compact:$localize`Compacting remote data …`,PurgeFiles_Complete:$localize`Purging files complete!`,ReadLockInfo_Running:$localize`Reading lock info …`,Sync_Begin:$localize`Starting sync …`,Sync_CountingFiles:$localize`Counting files to sync …`,Sync_ProcessingFiles:$localize`Processing files to sync …`,Sync_WaitForUpload:$localize`Waiting for upload to finish …`,Sync_Complete:$localize`Sync complete!`,Error:$localize`Error!`};var y$1=class p{#i=T$6(m$1);#o=T$6(C);#t=T$6(g$1);#e=T$6(Q$2);#c=T$6(be$3);#g=T$6(m$3);#l=Ue$7(false);#a=Ue$7(null);statusData=this.#a.asReadonly();lastState=null;serverState=Nt$3(()=>{let e=this.#e.serverState();return e?(e.ProposedSchedule=e.ProposedSchedule?.map(i=>m$6(l$3({},i),{backup:i.Item1?this.#t.getBackupById(i.Item1):null}))??null,this.lastState=e,e):this.lastState});hasProgressOnWebsocket=Nt$3(()=>this.#g.hasProgressSubscribeOption()&&this.#e.getConnectionMethod()==="websocket");clientIsRunning=Nt$3(()=>this.serverState()?.ProgramState==="Running");runningBackupId=Nt$3(()=>{let e=this.statusData();return !!(this.serverState()?.ActiveTask&&e?.task?.Status&&e?.task?.Status!=="Completed")?e?.BackupID??null:null});isResuming=Ue$7(false);isFetching=this.#l.asReadonly();connectionStatus=this.#e.connectionStatus;pollingInterval;#h=Ga(()=>{let e=this.#e.serverState();e?.ActiveTask||this.#t.getBackups(true),this.hasProgressOnWebsocket()&&(this.#e.subscribe("progress"),this.#e.subscribe("taskqueue")),e?.ActiveTask&&this.pollingInterval===void 0?this.startPollingProgress():e?.ActiveTask||this.stopPollingProgress();});#m=Ga(()=>{let e=this.#e.progressState(),i=this.#e.taskQueueState();if(e){let o=i?.find(t=>t.ID===e.TaskID)??null;this.#r(m$6(l$3({},e),{task:o}));}});setConnectionMethod(e){this.#e.setConnectionMethod(e);}startPollingProgress(){this.hasProgressOnWebsocket()?this.#e.subscribe("progress"):this.pollingInterval=setInterval(()=>{this.#s();},1e3);}stopPollingProgress(){clearInterval(this.pollingInterval);}fetchProgressState(){this.#s();}pauseResume(){return this.isResuming.set(true),this.#o.postApiV1ServerstateResume().pipe(Bu(()=>this.isResuming.set(false)))}resumeDialogCheck(e){if(!this.clientIsRunning()){this.#c.open(h$1,{data:{title:$localize`Server paused`,message:$localize`Server is currently paused. Do you want to resume now?`,confirmText:$localize`Resume`,cancelText:$localize`No, I'll resume later`},closed:i=>{i&&this.pauseResume().subscribe({next:()=>{e();}});}});return}e();}#s(){this.#l.set(true),this.#o.getApiV1Progressstate().pipe($u(e=>{let i=e.TaskID??null;return i===null?ty(e):this.#o.getApiV1TaskByTaskid({taskid:i}).pipe(pt$2(o=>m$6(l$3({},e),{task:o??null})))}),Bu(()=>this.#l.set(false))).subscribe({next:e=>{this.#r(e),this.serverState()?.ActiveTask==null&&this.stopPollingProgress();},error:e=>{e.status===404&&this.stopPollingProgress();}});}#r(e){let i=e.TaskID??null,o=e.BackupID??null;i!==null&&o!==null&&(e.backup=this.#t.getBackupById(o)),this.#a.set(m$6(l$3({},e),{progress:this.#p(e),statusText:this.#d(e),fileStatusText:this.#f(e),fileCountProgressText:this.#u(e),actionText:e.backup?.Backup?.Name??$localize`Running task`}));}#p(e){let i=-1;if(e.task&&e)if(e.Phase==="Backup_ProcessingFiles"||e.Phase==="Restore_DownloadingRemoteFiles"||e.Phase==="Sync_ProcessingFiles")if(e.StillCounting)i=0;else {let o=e.CurrentFilecomplete?0:e.CurrentFileoffset;e.TotalFileCount-e.ProcessedFileCount;e.TotalFileSize-e.ProcessedFileSize-o;i=(e.ProcessedFileSize+o)/e.TotalFileSize,e.ProcessedFileCount===0?i=0:i>=.9&&(i=.9);}else e.Phase==="Sync_CountingFiles"?i=0:e.Phase==="Backup_Finalize"||e.Phase==="Backup_WaitForUpload"||e.Phase==="Sync_WaitForUpload"?i=.9:e.Phase==="Backup_Delete"||e.Phase==="Backup_Compact"?i=.95:e.Phase==="Backup_VerificationUpload"||e.Phase==="Backup_PostBackupVerify"?i=.98:e.Phase==="Backup_Complete"||e.Phase==="Sync_Complete"?i=1:e.Phase==="Backup_RemoteSynchronization"?i=e.OverallProgress>0?e.OverallProgress:0:e.OverallProgress>0&&(i=e.OverallProgress);return i}#n(e){let i=(e.ActiveTransfers??[]).map(t=>t.BackendSpeed).reduce((t,l)=>(t??0)+(l??0),0)??-1,o=i<=0?e.BackendSpeed:i;return (o??-1)<0?"":` at ${this.#i.transform(o)}/s`}#f(e){let i=(["Backup_WaitForUpload","Backup_ProcessingFiles","Sync_WaitForUpload","Sync_ProcessingFiles"].includes(e.Phase)?e?.BackendFileProgress:e.CurrentFileoffset)??0,o=(["Backup_WaitForUpload","Backup_ProcessingFiles","Sync_WaitForUpload","Sync_ProcessingFiles"].includes(e.Phase)?e?.BackendFileSize:e.CurrentFilesize)??0;if(!e.CurrentFilename)return "";let t=e.CurrentFilename.length>42?"..."+e.CurrentFilename.slice(-42):e.CurrentFilename,l=(i/o*100).toFixed(1);return $localize`${t} | File processed: ${this.#i.transform(i)}/${this.#i.transform(o)} - ${l}%`}#u(e){return $localize`Files processed ${e.ProcessedFileCount}/${e.TotalFileCount}`}#d(e){let i="Running \u2026";if(e.task&&e){if(i=e.Phase?h[e.Phase]??e.Phase:"Running \u2026",e.TotalFileCount===0)return i;if(e.Phase==="Backup_ProcessingFiles"||e.Phase==="Restore_DownloadingRemoteFiles"||e.Phase==="Sync_ProcessingFiles"||e.Phase==="Sync_CountingFiles")if(e.StillCounting||e.Phase==="Sync_CountingFiles")i=`Counting (${e.TotalFileCount} files found, ${this.#i.transform(e.TotalFileSize)})`;else {let o=e.CurrentFilecomplete?0:e.CurrentFileoffset,t=e.TotalFileCount-e.ProcessedFileCount,l=e.TotalFileSize-e.ProcessedFileSize-o,f=e.Phase==="Restore_DownloadingRemoteFiles"?"Restoring: ":"",a=this.#n(e);(e.Phase==="Backup_ProcessingFiles"||e.Phase==="Sync_ProcessingFiles")&&t===0?i=`Completing upload ${a}`:e.BackendIsBlocking??false?i=`Waiting for transfers ${a}`:i=`${f}${t} files (${this.#i.transform(l)}) to go ${a}`;}else if(e.Phase==="Backup_WaitForUpload"||e.Phase==="Sync_WaitForUpload"){let o=this.#n(e);o!==""&&(i=`Waiting for upload to finish ${o}`);}else if(e.Phase==="Backup_RemoteSynchronization"){let o=e.RemoteSyncDestinationCount??0,t=e.RemoteSyncDestinationIndex??0,l=o>1?` (${t}/${o})`:"";if(e.TotalFileCount>0){let f=e.TotalFileCount-e.ProcessedFileCount,a=e.TotalFileSize-e.ProcessedFileSize,b=this.#n(e);i=`Synchronizing secondary destination${l}: ${f} files (${this.#i.transform(a)}) to go ${b}`;}else l&&(i=`${h[e.Phase]}`.replace("\u2026",`${l} \u2026`));}}return i}static \u0275fac=function(i){return new(i||p)};static \u0275prov=ee$4({token:p,factory:p.\u0275fac,providedIn:"root"})};var l$1=class r{#e=T$6(C);#o=T$6(y$1);#s=T$6(Q$2);#a=T$6(m$3);#n=T$6(T$1);serverState=this.#o.serverState;serverStateEffect=Ga(()=>{let t=this.#o.serverState();t?.LastNotificationUpdateID&&this.updateLastNotificationEventId(t?.LastNotificationUpdateID);});#r=-1;#t=Ue$7([]);#i=Ue$7([]);notifications=this.#t.asReadonly();pendingRefresh=false;constructor(){this.#n.subscribe("notifications");}init(){this.notifications().length===0&&this.getNotifications();}notificationsEffect=Ga(()=>{let t=this.#n.notificationState();t&&this.#t.set(t);});pendingRefreshEffect=Ga(()=>{this.#s.isConnectionMethodSet()&&this.pendingRefresh&&(this.pendingRefresh=false,this.getNotifications());});#c=Nt$3(()=>{let t=this.#s.getConnectionMethod()==="websocket",i=this.#a.hasWsRemoteControl();return t&&i});updateLastNotificationEventId(t){this.#r!==t&&(this.#r=t,this.getNotifications());}getNotifications(){if(!this.#c()){if(!this.#s.isConnectionMethodSet()){this.pendingRefresh=true;return}this.#e.getApiV1Notifications().pipe(Fo(1),Ju(t=>this.#t.set(t))).subscribe();}}getNofication(t){this.#e.getApiV1NotificationById({id:t}).pipe(Fo(1)).subscribe();}deleteNotification(t){let i=this.#t(),e=i[t];this.#i.set(i),i.splice(t,1),this.#t.set(i),this.#e.deleteApiV1NotificationById({id:e.ID}).pipe(Fo(1)).subscribe({error:()=>{this.#t.set(this.#i()),this.#i.set([]);}});}deleteAllNotifications(){let t=this.#t();this.#i.set(t),this.#t.set([]);let i=t.map(e=>this.#e.deleteApiV1NotificationById({id:e.ID}).pipe(Vs(()=>ty(e))));vy(i).pipe(Fo(1)).subscribe({next:e=>{let D=e.filter(a=>a!=null&&"ID"in a);this.#t.set(D),this.#i.set([]);},error:()=>{this.#t.set(this.#i()),this.#i.set([]);}});}static \u0275fac=function(i){return new(i||r)};static \u0275prov=ee$4({token:r,factory:r.\u0275fac,providedIn:"root"})};var He$1=60,ge=He$1*60,$e$1=ge*24,Ct=$e$1*7,H=1e3,z$1=He$1*H,F$1=ge*H,J=$e$1*H,te=Ct*H,V$1="millisecond",b="second",O$1="minute",A$1="hour",D="day",R="week",v="month",re="quarter",S="year",x="date",Te="YYYY-MM-DDTHH:mm:ssZ",ue$1="Invalid Date",we=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ae=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;var ne={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return "["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}};var Me=function(e,t,r){var a=String(e);return !a||a.length>=t?e:""+Array(t+1-a.length).join(r)+e},bt=function(e){var t=-e.utcOffset(),r=Math.abs(t),a=Math.floor(r/60),s=r%60;return (t<=0?"+":"-")+Me(a,2,"0")+":"+Me(s,2,"0")},Ot=function n(e,t){if(e.date()<t.date())return -n(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),a=e.clone().add(r,v),s=t-a<0,i=e.clone().add(r+(s?-1:1),v);return +(-(r+(t-a)/(s?a-i:i-a))||0)},At=function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},Nt=function(e){var t={M:v,y:S,w:R,d:D,D:x,h:A$1,m:O$1,s:b,ms:V$1,Q:re};return t[e]||String(e||"").toLowerCase().replace(/s$/,"")},Et=function(e){return e===void 0},je$1={s:Me,z:bt,m:Ot,a:At,p:Nt,u:Et};var Z="en",U={};U[Z]=ne;var Ce="$isDayjsObject",he=function(e){return e instanceof ie||!!(e&&e[Ce])},se=function n(e,t,r){var a;if(!e)return Z;if(typeof e=="string"){var s=e.toLowerCase();U[s]&&(a=s),t&&(U[s]=t,a=s);var i=e.split("-");if(!a&&i.length>1)return n(i[0])}else {var _=e.name;U[_]=e,a=_;}return !r&&a&&(Z=a),a||!r&&Z},c$1=function(e,t){if(he(e))return e.clone();var r=typeof t=="object"?t:{};return r.date=e,r.args=arguments,new ie(r)},It=function(e,t){return c$1(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})},l=je$1;l.l=se;l.i=he;l.w=It;var zt=function(e){var t=e.date,r=e.utc;if(t===null)return new Date(NaN);if(l.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t=="string"&&!/Z$/i.test(t)){var a=t.match(we);if(a){var s=a[2]-1||0,i=(a[7]||"0").substring(0,3);return r?new Date(Date.UTC(a[1],s,a[3]||1,a[4]||0,a[5]||0,a[6]||0,i)):new Date(a[1],s,a[3]||1,a[4]||0,a[5]||0,a[6]||0,i)}}return new Date(t)},ie=(function(){function n(t){this.$L=se(t.locale,null,true),this.parse(t),this.$x=this.$x||t.x||{},this[Ce]=true;}var e=n.prototype;return e.parse=function(r){this.$d=zt(r),this.init();},e.init=function(){var r=this.$d;this.$y=r.getFullYear(),this.$M=r.getMonth(),this.$D=r.getDate(),this.$W=r.getDay(),this.$H=r.getHours(),this.$m=r.getMinutes(),this.$s=r.getSeconds(),this.$ms=r.getMilliseconds();},e.$utils=function(){return l},e.isValid=function(){return this.$d.toString()!==ue$1},e.isSame=function(r,a){var s=c$1(r);return this.startOf(a)<=s&&s<=this.endOf(a)},e.isAfter=function(r,a){return c$1(r)<this.startOf(a)},e.isBefore=function(r,a){return this.endOf(a)<c$1(r)},e.$g=function(r,a,s){return l.u(r)?this[a]:this.set(s,r)},e.unix=function(){return Math.floor(this.valueOf()/1e3)},e.valueOf=function(){return this.$d.getTime()},e.startOf=function(r,a){var s=this,i=l.u(a)?true:a,_=l.p(r),d=function(C,Y){var h=l.w(s.$u?Date.UTC(s.$y,Y,C):new Date(s.$y,Y,C),s);return i?h:h.endOf(D)},m=function(C,Y){var h=[0,0,0,0],L=[23,59,59,999];return l.w(s.toDate()[C].apply(s.toDate("s"),(i?h:L).slice(Y)),s)},u=this.$W,f=this.$M,M=this.$D,p="set"+(this.$u?"UTC":"");switch(_){case S:return i?d(1,0):d(31,11);case v:return i?d(1,f):d(0,f+1);case R:{var y=this.$locale().weekStart||0,E=(u<y?u+7:u)-y;return d(i?M-E:M+(6-E),f)}case D:case x:return m(p+"Hours",0);case A$1:return m(p+"Minutes",1);case O$1:return m(p+"Seconds",2);case b:return m(p+"Milliseconds",3);default:return this.clone()}},e.endOf=function(r){return this.startOf(r,false)},e.$set=function(r,a){var s,i=l.p(r),_="set"+(this.$u?"UTC":""),d=(s={},s[D]=_+"Date",s[x]=_+"Date",s[v]=_+"Month",s[S]=_+"FullYear",s[A$1]=_+"Hours",s[O$1]=_+"Minutes",s[b]=_+"Seconds",s[V$1]=_+"Milliseconds",s)[i],m=i===D?this.$D+(a-this.$W):a;if(i===v||i===S){var u=this.clone().set(x,1);u.$d[d](m),u.init(),this.$d=u.set(x,Math.min(this.$D,u.daysInMonth())).$d;}else d&&this.$d[d](m);return this.init(),this},e.set=function(r,a){return this.clone().$set(r,a)},e.get=function(r){return this[l.p(r)]()},e.add=function(r,a){var s=this,i;r=Number(r);var _=l.p(a),d=function(M){var p=c$1(s);return l.w(p.date(p.date()+Math.round(M*r)),s)};if(_===v)return this.set(v,this.$M+r);if(_===S)return this.set(S,this.$y+r);if(_===D)return d(1);if(_===R)return d(7);var m=(i={},i[O$1]=z$1,i[A$1]=F$1,i[b]=H,i)[_]||1,u=this.$d.getTime()+r*m;return l.w(u,this)},e.subtract=function(r,a){return this.add(r*-1,a)},e.format=function(r){var a=this,s=this.$locale();if(!this.isValid())return s.invalidDate||ue$1;var i=r||Te,_=l.z(this),d=this.$H,m=this.$m,u=this.$M,f=s.weekdays,M=s.months,p=s.meridiem,y=function(h,L,I,B){return h&&(h[L]||h(a,i))||I[L].slice(0,B)},E=function(h){return l.s(d%12||12,h,"0")},j=p||function(Y,h,L){var I=Y<12?"AM":"PM";return L?I.toLowerCase():I},C=function(h){switch(h){case "YY":return String(a.$y).slice(-2);case "YYYY":return l.s(a.$y,4,"0");case "M":return u+1;case "MM":return l.s(u+1,2,"0");case "MMM":return y(s.monthsShort,u,M,3);case "MMMM":return y(M,u);case "D":return a.$D;case "DD":return l.s(a.$D,2,"0");case "d":return String(a.$W);case "dd":return y(s.weekdaysMin,a.$W,f,2);case "ddd":return y(s.weekdaysShort,a.$W,f,3);case "dddd":return f[a.$W];case "H":return String(d);case "HH":return l.s(d,2,"0");case "h":return E(1);case "hh":return E(2);case "a":return j(d,m,true);case "A":return j(d,m,false);case "m":return String(m);case "mm":return l.s(m,2,"0");case "s":return String(a.$s);case "ss":return l.s(a.$s,2,"0");case "SSS":return l.s(a.$ms,3,"0");case "Z":return _;}return null};return i.replace(ae,function(Y,h){return h||C(Y)||_.replace(":","")})},e.utcOffset=function(){return -Math.round(this.$d.getTimezoneOffset()/15)*15},e.diff=function(r,a,s){var i=this,_=l.p(a),d=c$1(r),m=(d.utcOffset()-this.utcOffset())*z$1,u=this-d,f=function(){return l.m(i,d)},M;switch(_){case S:M=f()/12;break;case v:M=f();break;case re:M=f()/3;break;case R:M=(u-m)/te;break;case D:M=(u-m)/J;break;case A$1:M=u/F$1;break;case O$1:M=u/z$1;break;case b:M=u/H;break;default:M=u;break}return s?M:l.a(M)},e.daysInMonth=function(){return this.endOf(v).$D},e.$locale=function(){return U[this.$L]},e.locale=function(r,a){if(!r)return this.$L;var s=this.clone(),i=se(r,a,true);return i&&(s.$L=i),s},e.clone=function(){return l.w(this.$d,this)},e.toDate=function(){return new Date(this.valueOf())},e.toJSON=function(){return this.isValid()?this.toISOString():null},e.toISOString=function(){return this.$d.toISOString()},e.toString=function(){return this.$d.toUTCString()},n})(),be=ie.prototype;c$1.prototype=be;[["$ms",V$1],["$s",b],["$m",O$1],["$H",A$1],["$W",D],["$M",v],["$y",S],["$D",x]].forEach(function(n){be[n[1]]=function(e){return this.$g(e,n[0],n[1])};});c$1.extend=function(n,e){return n.$i||(n(e,ie,c$1),n.$i=true),c$1};c$1.locale=se;c$1.isDayjs=he;c$1.unix=function(n){return c$1(n*1e3)};c$1.en=U[Z];c$1.Ls=U;c$1.p={};var o=c$1;var oe=J*365,ce=oe/12,xt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,X={years:oe,months:ce,days:J,hours:F$1,minutes:z$1,seconds:H,milliseconds:1,weeks:te},_e=function(e){return e instanceof Ee},Ae$1,N$2,K=function(e,t,r){return new Ee(e,r,t.$l)},Q$1=function(e){return N$2.p(e)+"s"},Ne$1=function(e){return e<0},W=function(e){return Ne$1(e)?Math.ceil(e):Math.floor(e)},Ft=function(e){return Math.abs(e)},P$1=function(e,t){return e?Ne$1(e)?{negative:true,format:""+Ft(e)+t}:{negative:false,format:""+e+t}:{negative:false,format:""}},Ee=(function(){function n(t,r,a){var s=this;if(this.$d={},this.$l=a,t===void 0&&(this.$ms=0,this.parseFromMilliseconds()),r)return K(t*X[Q$1(r)],this);if(typeof t=="number")return this.$ms=t,this.parseFromMilliseconds(),this;if(typeof t=="object")return Object.keys(t).forEach(function(m){s.$d[Q$1(m)]=t[m];}),this.calMilliseconds(),this;if(typeof t=="string"){var i=t.match(xt);if(i){var _=i.slice(2),d=_.map(function(m){return m!=null?Number(m):0});return this.$d.years=d[0],this.$d.months=d[1],this.$d.weeks=d[2],this.$d.days=d[3],this.$d.hours=d[4],this.$d.minutes=d[5],this.$d.seconds=d[6],this.calMilliseconds(),this}}return this}var e=n.prototype;return e.calMilliseconds=function(){var r=this;this.$ms=Object.keys(this.$d).reduce(function(a,s){return a+(r.$d[s]||0)*X[s]},0);},e.parseFromMilliseconds=function(){var r=this.$ms;this.$d.years=W(r/oe),r%=oe,this.$d.months=W(r/ce),r%=ce,this.$d.days=W(r/J),r%=J,this.$d.hours=W(r/F$1),r%=F$1,this.$d.minutes=W(r/z$1),r%=z$1,this.$d.seconds=W(r/H),r%=H,this.$d.milliseconds=r;},e.toISOString=function(){var r=P$1(this.$d.years,"Y"),a=P$1(this.$d.months,"M"),s=+this.$d.days||0;this.$d.weeks&&(s+=this.$d.weeks*7);var i=P$1(s,"D"),_=P$1(this.$d.hours,"H"),d=P$1(this.$d.minutes,"M"),m=this.$d.seconds||0;this.$d.milliseconds&&(m+=this.$d.milliseconds/1e3,m=Math.round(m*1e3)/1e3);var u=P$1(m,"S"),f=r.negative||a.negative||i.negative||_.negative||d.negative||u.negative,M=_.format||d.format||u.format?"T":"",p=f?"-":"",y=p+"P"+r.format+a.format+i.format+M+_.format+d.format+u.format;return y==="P"||y==="-P"?"P0D":y},e.toJSON=function(){return this.toISOString()},e.format=function(r){var a=r||"YYYY-MM-DDTHH:mm:ss",s={Y:this.$d.years,YY:N$2.s(this.$d.years,2,"0"),YYYY:N$2.s(this.$d.years,4,"0"),M:this.$d.months,MM:N$2.s(this.$d.months,2,"0"),D:this.$d.days,DD:N$2.s(this.$d.days,2,"0"),H:this.$d.hours,HH:N$2.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:N$2.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:N$2.s(this.$d.seconds,2,"0"),SSS:N$2.s(this.$d.milliseconds,3,"0")};return a.replace(ae,function(i,_){return _||String(s[i])})},e.as=function(r){return this.$ms/X[Q$1(r)]},e.get=function(r){var a=this.$ms,s=Q$1(r);return s==="milliseconds"?a%=1e3:s==="weeks"?a=W(a/X[s]):a=this.$d[s],a||0},e.add=function(r,a,s){var i;return a?i=r*X[Q$1(a)]:_e(r)?i=r.$ms:i=K(r,this).$ms,K(this.$ms+i*(s?-1:1),this)},e.subtract=function(r,a){return this.add(r,a,true)},e.locale=function(r){var a=this.clone();return a.$l=r,a},e.clone=function(){return K(this.$ms,this)},e.humanize=function(r){return Ae$1().add(this.$ms,"ms").locale(this.$l).fromNow(!r)},e.valueOf=function(){return this.asMilliseconds()},e.milliseconds=function(){return this.get("milliseconds")},e.asMilliseconds=function(){return this.as("milliseconds")},e.seconds=function(){return this.get("seconds")},e.asSeconds=function(){return this.as("seconds")},e.minutes=function(){return this.get("minutes")},e.asMinutes=function(){return this.as("minutes")},e.hours=function(){return this.get("hours")},e.asHours=function(){return this.as("hours")},e.days=function(){return this.get("days")},e.asDays=function(){return this.as("days")},e.weeks=function(){return this.get("weeks")},e.asWeeks=function(){return this.as("weeks")},e.months=function(){return this.get("months")},e.asMonths=function(){return this.as("months")},e.years=function(){return this.get("years")},e.asYears=function(){return this.as("years")},n})(),Oe$1=function(e,t,r){return e.add(t.years()*r,"y").add(t.months()*r,"M").add(t.days()*r,"d").add(t.hours()*r,"h").add(t.minutes()*r,"m").add(t.seconds()*r,"s").add(t.milliseconds()*r,"ms")},Ie=(function(n,e,t){Ae$1=t,N$2=t().$utils(),t.duration=function(s,i){var _=t.locale();return K(s,{$l:_},i)},t.isDuration=_e;var r=e.prototype.add,a=e.prototype.subtract;e.prototype.add=function(s,i){return _e(s)?Oe$1(this,s,1):r.bind(this)(s,i)},e.prototype.subtract=function(s,i){return _e(s)?Oe$1(this,s,-1):a.bind(this)(s,i)};});var ze=(function(n,e,t){n=n||{};var r=e.prototype,a={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};t.en.relativeTime=a,r.fromToBase=function(_,d,m,u,f){for(var M=m.$locale().relativeTime||a,p=n.thresholds||[{l:"s",r:44,d:b},{l:"m",r:89},{l:"mm",r:44,d:O$1},{l:"h",r:89},{l:"hh",r:21,d:A$1},{l:"d",r:35},{l:"dd",r:25,d:D},{l:"M",r:45},{l:"MM",r:10,d:v},{l:"y",r:17},{l:"yy",d:S}],y=p.length,E,j,C,Y=0;Y<y;Y+=1){var h=p[Y];h.d&&(E=u?t(_).diff(m,h.d,true):m.diff(_,h.d,true));var L=(n.rounding||Math.round)(Math.abs(E));if(C=E>0,L<=h.r||!h.r){L<=1&&Y>0&&(h=p[Y-1]);var I=M[h.l];f&&(L=f(""+L)),typeof I=="string"?j=I.replace("%d",L):j=I(L,d,h.l,C);break}}if(d)return j;var B=C?M.future:M.past;return typeof B=="function"?B(j):B.replace("%s",j)};function s(_,d,m,u){return r.fromToBase(_,d,m,u)}r.to=function(_,d){return s(_,d,this,true)},r.from=function(_,d){return s(_,d,this)};var i=function(d){return d.$u?t.utc():t()};r.toNow=function(_){return this.to(i(this),_)},r.fromNow=function(_){return this.from(i(this),_)};});function ee(n){return n>1&&n<5&&~~(n/10)!==1}function g(n,e,t,r){var a=n+" ";switch(t){case "s":return e||r?"p\xE1r sekund":"p\xE1r sekundami";case "m":return e?"minuta":r?"minutu":"minutou";case "mm":return e||r?a+(ee(n)?"minuty":"minut"):a+"minutami";case "h":return e?"hodina":r?"hodinu":"hodinou";case "hh":return e||r?a+(ee(n)?"hodiny":"hodin"):a+"hodinami";case "d":return e||r?"den":"dnem";case "dd":return e||r?a+(ee(n)?"dny":"dn\xED"):a+"dny";case "M":return e||r?"m\u011Bs\xEDc":"m\u011Bs\xEDcem";case "MM":return e||r?a+(ee(n)?"m\u011Bs\xEDce":"m\u011Bs\xEDc\u016F"):a+"m\u011Bs\xEDci";case "y":return e||r?"rok":"rokem";case "yy":return e||r?a+(ee(n)?"roky":"let"):a+"lety"}}var xe$1={name:"cs",weekdays:"ned\u011Ble_pond\u011Bl\xED_\xFAter\xFD_st\u0159eda_\u010Dtvrtek_p\xE1tek_sobota".split("_"),weekdaysShort:"ne_po_\xFAt_st_\u010Dt_p\xE1_so".split("_"),weekdaysMin:"ne_po_\xFAt_st_\u010Dt_p\xE1_so".split("_"),months:"leden_\xFAnor_b\u0159ezen_duben_kv\u011Bten_\u010Derven_\u010Dervenec_srpen_z\xE1\u0159\xED_\u0159\xEDjen_listopad_prosinec".split("_"),monthsShort:"led_\xFAno_b\u0159e_dub_kv\u011B_\u010Dvn_\u010Dvc_srp_z\xE1\u0159_\u0159\xEDj_lis_pro".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g}};o.locale(xe$1,null,true);var Fe$1=xe$1;var Je={name:"da",weekdays:"s\xF8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xF8rdag".split("_"),weekdaysShort:"s\xF8n._man._tirs._ons._tors._fre._l\xF8r.".split("_"),weekdaysMin:"s\xF8._ma._ti._on._to._fr._l\xF8.".split("_"),months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xE5 sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xE5ned",MM:"%d m\xE5neder",y:"et \xE5r",yy:"%d \xE5r"}};o.locale(Je,null,true);var Ue$1=Je;var Jt={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function $$1(n,e,t){var r=Jt[t];return Array.isArray(r)&&(r=r[e?0:1]),r.replace("%d",n)}var We$1={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_M\xE4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xE4rz_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:$$1,m:$$1,mm:$$1,h:$$1,hh:$$1,d:$$1,dd:$$1,M:$$1,MM:$$1,y:$$1,yy:$$1}};o.locale(We$1,null,true);var fe$1=We$1;var Ut={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function T(n,e,t){var r=Ut[t];return Array.isArray(r)&&(r=r[e?0:1]),r.replace("%d",n)}var Re={name:"de-ch",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_M\xE4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xE4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:T,m:T,mm:T,h:T,hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T}};o.locale(Re,null,true);var Pe$1=Re;var Ge$1={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return "["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}};o.locale(Ge$1,null,true);var qe=Ge$1;var Be$1={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_mi\xE9rcoles_jueves_viernes_s\xE1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xE9._jue._vie._s\xE1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xE1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xEDa",dd:"%d d\xEDas",M:"un mes",MM:"%d meses",y:"un a\xF1o",yy:"%d a\xF1os"},ordinal:function(e){return e+"\xBA"}};o.locale(Be$1,null,true);var Ye=Be$1;function w(n,e,t,r){var a={s:"muutama sekunti",m:"minuutti",mm:"%d minuuttia",h:"tunti",hh:"%d tuntia",d:"p\xE4iv\xE4",dd:"%d p\xE4iv\xE4\xE4",M:"kuukausi",MM:"%d kuukautta",y:"vuosi",yy:"%d vuotta",numbers:"nolla_yksi_kaksi_kolme_nelj\xE4_viisi_kuusi_seitsem\xE4n_kahdeksan_yhdeks\xE4n".split("_")},s={s:"muutaman sekunnin",m:"minuutin",mm:"%d minuutin",h:"tunnin",hh:"%d tunnin",d:"p\xE4iv\xE4n",dd:"%d p\xE4iv\xE4n",M:"kuukauden",MM:"%d kuukauden",y:"vuoden",yy:"%d vuoden",numbers:"nollan_yhden_kahden_kolmen_nelj\xE4n_viiden_kuuden_seitsem\xE4n_kahdeksan_yhdeks\xE4n".split("_")},i=r&&!e?s:a,_=i[t];return n<10?_.replace("%d",i.numbers[n]):_.replace("%d",n)}var Ve$1={name:"fi",weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xE4kuu_hein\xE4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xE4_hein\xE4_elo_syys_loka_marras_joulu".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,relativeTime:{future:"%s p\xE4\xE4st\xE4",past:"%s sitten",s:w,m:w,mm:w,h:w,hh:w,d:w,dd:w,M:w,MM:w,y:w,yy:w},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM[ta] YYYY",LLL:"D. MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, D. MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [klo] HH.mm",llll:"ddd, D. MMM YYYY, [klo] HH.mm"}};o.locale(Ve$1,null,true);var Ze=Ve$1;var Xe={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_f\xE9vrier_mars_avril_mai_juin_juillet_ao\xFBt_septembre_octobre_novembre_d\xE9cembre".split("_"),monthsShort:"janv._f\xE9vr._mars_avr._mai_juin_juil._ao\xFBt_sept._oct._nov._d\xE9c.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){var t=e===1?"er":"";return ""+e+t}};o.locale(Xe,null,true);var pe=Xe;var Qe={name:"fr-ca",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_f\xE9vrier_mars_avril_mai_juin_juillet_ao\xFBt_septembre_octobre_novembre_d\xE9cembre".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._f\xE9vr._mars_avr._mai_juin_juil._ao\xFBt_sept._oct._nov._d\xE9c.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};o.locale(Qe,null,true);var Ke=Qe;var et={name:"hu",weekdays:"vas\xE1rnap_h\xE9tf\u0151_kedd_szerda_cs\xFCt\xF6rt\xF6k_p\xE9ntek_szombat".split("_"),weekdaysShort:"vas_h\xE9t_kedd_sze_cs\xFCt_p\xE9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"janu\xE1r_febru\xE1r_m\xE1rcius_\xE1prilis_m\xE1jus_j\xFAnius_j\xFAlius_augusztus_szeptember_okt\xF3ber_november_december".split("_"),monthsShort:"jan_feb_m\xE1rc_\xE1pr_m\xE1j_j\xFAn_j\xFAl_aug_szept_okt_nov_dec".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"%s m\xFAlva",past:"%s",s:function(e,t,r,a){return "n\xE9h\xE1ny m\xE1sodperc"+(a||t?"":"e")},m:function(e,t,r,a){return "egy perc"+(a||t?"":"e")},mm:function(e,t,r,a){return e+" perc"+(a||t?"":"e")},h:function(e,t,r,a){return "egy "+(a||t?"\xF3ra":"\xF3r\xE1ja")},hh:function(e,t,r,a){return e+" "+(a||t?"\xF3ra":"\xF3r\xE1ja")},d:function(e,t,r,a){return "egy "+(a||t?"nap":"napja")},dd:function(e,t,r,a){return e+" "+(a||t?"nap":"napja")},M:function(e,t,r,a){return "egy "+(a||t?"h\xF3nap":"h\xF3napja")},MM:function(e,t,r,a){return e+" "+(a||t?"h\xF3nap":"h\xF3napja")},y:function(e,t,r,a){return "egy "+(a||t?"\xE9v":"\xE9ve")},yy:function(e,t,r,a){return e+" "+(a||t?"\xE9v":"\xE9ve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};o.locale(et,null,true);var tt=et;var rt={name:"it",weekdays:"domenica_luned\xEC_marted\xEC_mercoled\xEC_gioved\xEC_venerd\xEC_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(e){return e+"\xBA"}};o.locale(rt,null,true);var ve=rt;var at={name:"ja",weekdays:"\u65E5\u66DC\u65E5_\u6708\u66DC\u65E5_\u706B\u66DC\u65E5_\u6C34\u66DC\u65E5_\u6728\u66DC\u65E5_\u91D1\u66DC\u65E5_\u571F\u66DC\u65E5".split("_"),weekdaysShort:"\u65E5_\u6708_\u706B_\u6C34_\u6728_\u91D1_\u571F".split("_"),weekdaysMin:"\u65E5_\u6708_\u706B_\u6C34_\u6728_\u91D1_\u571F".split("_"),months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(e){return e+"\u65E5"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5 HH:mm",LLLL:"YYYY\u5E74M\u6708D\u65E5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5(ddd) HH:mm"},meridiem:function(e){return e<12?"\u5348\u524D":"\u5348\u5F8C"},relativeTime:{future:"%s\u5F8C",past:"%s\u524D",s:"\u6570\u79D2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65E5",dd:"%d\u65E5",M:"1\u30F6\u6708",MM:"%d\u30F6\u6708",y:"1\u5E74",yy:"%d\u5E74"}};o.locale(at,null,true);var nt=at;var st={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(e){return "["+e+(e===1||e===8||e>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};o.locale(st,null,true);var it=st;var _t={name:"nl-be",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),weekStart:1,weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"\xE9\xE9n minuut",mm:"%d minuten",h:"\xE9\xE9n uur",hh:"%d uur",d:"\xE9\xE9n dag",dd:"%d dagen",M:"\xE9\xE9n maand",MM:"%d maanden",y:"\xE9\xE9n jaar",yy:"%d jaar"}};o.locale(_t,null,true);var ot=_t;function de(n){return n%10<5&&n%10>1&&~~(n/10)%10!==1}function G(n,e,t){var r=n+" ";switch(t){case "m":return e?"minuta":"minut\u0119";case "mm":return r+(de(n)?"minuty":"minut");case "h":return e?"godzina":"godzin\u0119";case "hh":return r+(de(n)?"godziny":"godzin");case "MM":return r+(de(n)?"miesi\u0105ce":"miesi\u0119cy");case "yy":return r+(de(n)?"lata":"lat")}}var dt="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015Bnia_pa\u017Adziernika_listopada_grudnia".split("_"),mt="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017Adziernik_listopad_grudzie\u0144".split("_"),Wt=/D MMMM/,ye=function(e,t){return Wt.test(t)?dt[e.month()]:mt[e.month()]};ye.s=mt;ye.f=dt;var ut={name:"pl",weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015Broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015Br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015Ar_Cz_Pt_So".split("_"),months:ye,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017A_lis_gru".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:G,mm:G,h:G,hh:G,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:G,y:"rok",yy:G},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};o.locale(ut,null,true);var lt=ut;var Mt={name:"pt",weekdays:"domingo_segunda-feira_ter\xE7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xE1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2\xAA_3\xAA_4\xAA_5\xAA_6\xAA_Sa".split("_"),months:"janeiro_fevereiro_mar\xE7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"\xBA"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xE0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xE0s] HH:mm"},relativeTime:{future:"em %s",past:"h\xE1 %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xEAs",MM:"%d meses",y:"um ano",yy:"%d anos"}};o.locale(Mt,null,true);var ht=Mt;var ct="\u044F\u043D\u0432\u0430\u0440\u044F_\u0444\u0435\u0432\u0440\u0430\u043B\u044F_\u043C\u0430\u0440\u0442\u0430_\u0430\u043F\u0440\u0435\u043B\u044F_\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F_\u043E\u043A\u0442\u044F\u0431\u0440\u044F_\u043D\u043E\u044F\u0431\u0440\u044F_\u0434\u0435\u043A\u0430\u0431\u0440\u044F".split("_"),ft="\u044F\u043D\u0432\u0430\u0440\u044C_\u0444\u0435\u0432\u0440\u0430\u043B\u044C_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440\u0435\u043B\u044C_\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C_\u043E\u043A\u0442\u044F\u0431\u0440\u044C_\u043D\u043E\u044F\u0431\u0440\u044C_\u0434\u0435\u043A\u0430\u0431\u0440\u044C".split("_"),Yt="\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440._\u0430\u043F\u0440._\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_"),pt="\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440\u0442_\u0430\u043F\u0440._\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_"),vt=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function Rt(n,e){var t=n.split("_");return e%10===1&&e%100!==11?t[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?t[1]:t[2]}function q$1(n,e,t){var r={mm:e?"\u043C\u0438\u043D\u0443\u0442\u0430_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442":"\u043C\u0438\u043D\u0443\u0442\u0443_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043E\u0432",dd:"\u0434\u0435\u043D\u044C_\u0434\u043D\u044F_\u0434\u043D\u0435\u0439",MM:"\u043C\u0435\u0441\u044F\u0446_\u043C\u0435\u0441\u044F\u0446\u0430_\u043C\u0435\u0441\u044F\u0446\u0435\u0432",yy:"\u0433\u043E\u0434_\u0433\u043E\u0434\u0430_\u043B\u0435\u0442"};return t==="m"?e?"\u043C\u0438\u043D\u0443\u0442\u0430":"\u043C\u0438\u043D\u0443\u0442\u0443":n+" "+Rt(r[t],+n)}var Le$1=function(e,t){return vt.test(t)?ct[e.month()]:ft[e.month()]};Le$1.s=ft;Le$1.f=ct;var De=function(e,t){return vt.test(t)?Yt[e.month()]:pt[e.month()]};De.s=pt;De.f=Yt;var yt={name:"ru",weekdays:"\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043F\u044F\u0442\u043D\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043E\u0442\u0430".split("_"),weekdaysShort:"\u0432\u0441\u043A_\u043F\u043D\u0434_\u0432\u0442\u0440_\u0441\u0440\u0434_\u0447\u0442\u0432_\u043F\u0442\u043D_\u0441\u0431\u0442".split("_"),weekdaysMin:"\u0432\u0441_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_"),months:Le$1,monthsShort:De,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043D\u0430\u0437\u0430\u0434",s:"\u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0441\u0435\u043A\u0443\u043D\u0434",m:q$1,mm:q$1,h:"\u0447\u0430\u0441",hh:q$1,d:"\u0434\u0435\u043D\u044C",dd:q$1,M:"\u043C\u0435\u0441\u044F\u0446",MM:q$1,y:"\u0433\u043E\u0434",yy:q$1},ordinal:function(e){return e},meridiem:function(e){return e<4?"\u043D\u043E\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043D\u044F":"\u0432\u0435\u0447\u0435\u0440\u0430"}};o.locale(yt,null,true);var Lt=yt;var k$2={words:{m:["jedan minut","jednog minuta"],mm:["%d minut","%d minuta","%d minuta"],h:["jedan sat","jednog sata"],hh:["%d sat","%d sata","%d sati"],d:["jedan dan","jednog dana"],dd:["%d dan","%d dana","%d dana"],M:["jedan mesec","jednog meseca"],MM:["%d mesec","%d meseca","%d meseci"],y:["jednu godinu","jedne godine"],yy:["%d godinu","%d godine","%d godina"]},correctGrammarCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10===1?t[0]:t[1]:t[2]},relativeTimeFormatter:function(e,t,r,a){var s=k$2.words[r];if(r.length===1)return r==="y"&&t?"jedna godina":a||t?s[0]:s[1];var i=k$2.correctGrammarCase(e,s);return r==="yy"&&t&&i==="%d godinu"?e+" godina":i.replace("%d",e)}},Dt={name:"sr",weekdays:"Nedelja_Ponedeljak_Utorak_Sreda_\u010Cetvrtak_Petak_Subota".split("_"),weekdaysShort:"Ned._Pon._Uto._Sre._\u010Cet._Pet._Sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010De_pe_su".split("_"),months:"Januar_Februar_Mart_April_Maj_Jun_Jul_Avgust_Septembar_Oktobar_Novembar_Decembar".split("_"),monthsShort:"Jan._Feb._Mar._Apr._Maj_Jun_Jul_Avg._Sep._Okt._Nov._Dec.".split("_"),weekStart:1,relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:k$2.relativeTimeFormatter,mm:k$2.relativeTimeFormatter,h:k$2.relativeTimeFormatter,hh:k$2.relativeTimeFormatter,d:k$2.relativeTimeFormatter,dd:k$2.relativeTimeFormatter,M:k$2.relativeTimeFormatter,MM:k$2.relativeTimeFormatter,y:k$2.relativeTimeFormatter,yy:k$2.relativeTimeFormatter},ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};o.locale(Dt,null,true);var St=Dt;var kt={name:"sv",weekdays:"s\xF6ndag_m\xE5ndag_tisdag_onsdag_torsdag_fredag_l\xF6rdag".split("_"),weekdaysShort:"s\xF6n_m\xE5n_tis_ons_tor_fre_l\xF6r".split("_"),weekdaysMin:"s\xF6_m\xE5_ti_on_to_fr_l\xF6".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){var t=e%10,r=t===1||t===2?"a":"e";return "["+e+r+"]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},relativeTime:{future:"om %s",past:"f\xF6r %s sedan",s:"n\xE5gra sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xE5nad",MM:"%d m\xE5nader",y:"ett \xE5r",yy:"%d \xE5r"}};o.locale(kt,null,true);var Ht=kt;var gt={name:"zh-cn",weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(e,t){return t==="W"?e+"\u5468":e+"\u65E5"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5Ah\u70B9mm\u5206",LLLL:"YYYY\u5E74M\u6708D\u65E5ddddAh\u70B9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},relativeTime:{future:"%s\u5185",past:"%s\u524D",s:"\u51E0\u79D2",m:"1 \u5206\u949F",mm:"%d \u5206\u949F",h:"1 \u5C0F\u65F6",hh:"%d \u5C0F\u65F6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4E2A\u6708",MM:"%d \u4E2A\u6708",y:"1 \u5E74",yy:"%d \u5E74"},meridiem:function(e,t){var r=e*100+t;return r<600?"\u51CC\u6668":r<900?"\u65E9\u4E0A":r<1100?"\u4E0A\u5348":r<1300?"\u4E2D\u5348":r<1800?"\u4E0B\u5348":"\u665A\u4E0A"}};o.locale(gt,null,true);var $t=gt;var Tt={name:"zh-hk",months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u9031\u65E5_\u9031\u4E00_\u9031\u4E8C_\u9031\u4E09_\u9031\u56DB_\u9031\u4E94_\u9031\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),ordinal:function(e,t){return t==="W"?e+"\u9031":e+"\u65E5"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5 HH:mm",LLLL:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},relativeTime:{future:"%s\u5167",past:"%s\u524D",s:"\u5E7E\u79D2",m:"\u4E00\u5206\u9418",mm:"%d \u5206\u9418",h:"\u4E00\u5C0F\u6642",hh:"%d \u5C0F\u6642",d:"\u4E00\u5929",dd:"%d \u5929",M:"\u4E00\u500B\u6708",MM:"%d \u500B\u6708",y:"\u4E00\u5E74",yy:"%d \u5E74"},meridiem:function(e,t){var r=e*100+t;return r<600?"\u51CC\u6668":r<900?"\u65E9\u4E0A":r<1100?"\u4E0A\u5348":r<1300?"\u4E2D\u5348":r<1800?"\u4E0B\u5348":"\u665A\u4E0A"}};o.locale(Tt,null,true);var wt=Tt;var jt={name:"zh-tw",weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u9031\u65E5_\u9031\u4E00_\u9031\u4E8C_\u9031\u4E09_\u9031\u56DB_\u9031\u4E94_\u9031\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(e,t){return t==="W"?e+"\u9031":e+"\u65E5"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5 HH:mm",LLLL:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},relativeTime:{future:"%s\u5167",past:"%s\u524D",s:"\u5E7E\u79D2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5C0F\u6642",hh:"%d \u5C0F\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500B\u6708",MM:"%d \u500B\u6708",y:"1 \u5E74",yy:"%d \u5E74"},meridiem:function(e,t){var r=e*100+t;return r<600?"\u51CC\u6668":r<900?"\u65E9\u4E0A":r<1100?"\u4E0A\u5348":r<1300?"\u4E2D\u5348":r<1800?"\u4E0B\u5348":"\u665A\u4E0A"}};o.locale(jt,null,true);var Se=jt;var me={"en-us":ne,"en-gb":qe,cs:Fe$1,da:Ue$1,de:fe$1,es:Ye,fi:Ze,fr:pe,hu:tt,it:ve,ja:nt,nl:it,pl:lt,pt:ht,ru:Lt,sr:St,sv:Ht,zh:$t,"zh-tw":Se,"de-ch":Pe$1,"de-de":fe$1,"es-ar":Ye,"fr-ca":Ke,"fr-fr":pe,"it-it":ve,"nl-be":ot,"zh-hant":Se,"zh-hk":wt};var Pt=new x$6("Dayjs"),ya={provide:Pt,useFactory:()=>{let n=(localStorage.getItem("v1:duplicati:locale")??"en-us").toLowerCase().trim(),e=me[n]??me[n.split("-")[0]]??me["en-us"];return o.extend(ze),o.extend(Ie),o.locale(e),o}};var c=class s{#n=T$6(Pt);transform(r,t=false,...d){if(!r)return "";let n=/^\s*(?:(\d+)\.)?(\d{1,2}):(\d{2}):(\d{2})(?:\.\d+)?\s*$/.exec(r);if(!n)return "";let e=parseInt(n[1]??"0",10),i=parseInt(n[2],10),o=parseInt(n[3],10),a=parseInt(n[4],10);return t?`${e?`${e}d `:""}${i}h ${o}m ${a}s`:this.#n.duration({days:e,hours:i,minutes:o,seconds:a}).humanize()}static \u0275fac=function(t){return new(t||s)};static \u0275pipe=yw({name:"durationFormat",type:s,pure:true})};var m=class n{#t=T$6(Pt);#r=T$6(ci$1);convertTimestamp(t){let r=/^(\d{4})(\d{2})(\d{2})T(\d{2})(\d{2})(\d{2})Z$/.exec(t);if(r){let[a,p,f,c,d,u,h]=r;return `${p}-${f}-${c}T${d}:${u}:${h}Z`}return t}transform(t,r=false,...a){return t?r?this.#r.transform(t,"short"):(this.#t.locale(),typeof t=="string"&&(t=this.convertTimestamp(t)),this.#t(t).fromNow()):"N/A"}static \u0275fac=function(r){return new(r||n)};static \u0275pipe=yw({name:"relativeTime",type:n,pure:true})};var y=["*"],z=["bold","thin","light","fill","duotone"],N$1=(()=>{class s{constructor(){this.#e=T$6(Jr$1),this.#i=T$6(yD),this.#n=T$6(G$3,{optional:true}),this.#o=T$6(br),this.#s=T$6(av),this.color=g1(null),this.size=g1(null),this.isUnfocused=Ue$7(Rr(this.#s)?!this.#o.hasFocus():false),this.hostClasses=ce$2("icon",{color:this.color,size:this.size}),this.customHostClasses=Nt$3(()=>{let i=this.hostClasses(),e=this.#n?.icon,n=[i];return !e?.disableUnfocus&&this.isUnfocused()&&n.push("unfocused"),n.filter(Boolean).join(" ")});}#e;#i;#n;#o;#s;onWindowBlur(){this.isUnfocused.set(true);}onWindowFocus(){this.isUnfocused.set(false);}ngAfterContentInit(){let i=this.#e.nativeElement.textContent?.trim();if(!i)return;let e=i.split("-").at(-1);e&&z.includes(e)&&this.#i.addClass(this.#e.nativeElement,e);}static{this.\u0275fac=function(e){return new(e||s)};}static{this.\u0275cmp=dw({type:s,selectors:[["sh-icon"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,n){e&1&&Fg("blur",function(){return n.onWindowBlur()},LI)("focus",function(){return n.onWindowFocus()},LI),e&2&&bC(n.customHostClasses());},inputs:{color:[1,"color"],size:[1,"size"]},ngContentSelectors:y,decls:1,vars:0,template:function(e,n){e&1&&(oC(),iC(0));},styles:[`sh-icon{--icon-c: inherit;font-size:1.25rem;line-height:1em;width:1em;height:1em;min-width:1em;min-height:1em;max-width:1em;max-height:1em;text-align:left;overflow:hidden;display:inline-block;color:var(--icon-c);transition:color .15s ease-out}sh-icon.primary{--icon-c: var(--primary-8)}sh-icon.accent{--icon-c: var(--accent-8)}sh-icon.warn{--icon-c: var(--warn-8)}sh-icon.error{--icon-c: var(--error-8)}sh-icon.success{--icon-c: var(--success-8)}sh-icon.unfocused{--icon-c: var(--base-8)}sh-icon.large{font-size:2rem}sh-icon.small{font-size:1rem}sh-icon.inherit{font-size:inherit}
15
- `],encapsulation:2});}}return s})();var k$1=[[["","icon",""]],[["sh-icon"]],[["","title",""]],"*",[["button"]],[["","actions",""]],[["","content",""]],[["p"]]],q=["[icon]","sh-icon","[title]","*","button","[actions]","[content]","p"];function B(e,l){e&1&&(Qi$1(0,"sh-icon",3),PC(1,"info"),Hl());}function F(e,l){e&1&&(Qi$1(0,"sh-icon",3),PC(1,"info"),Hl());}function P(e,l){e&1&&(Qi$1(0,"sh-icon",3),PC(1,"warning"),Hl());}function Y(e,l){e&1&&(Qi$1(0,"sh-icon",3),PC(1,"warning-octagon"),Hl());}function $(e,l){e&1&&(Qi$1(0,"sh-icon",3),PC(1,"check-circle"),Hl());}function V(e,l){e&1&&(Qi$1(0,"sh-icon",3),PC(1,"question"),Hl());}function Q(e,l){if(e&1){let t=gT();Qi$1(0,"sh-icon",8),Fg("click",function(){Sd(t);let i=nC();return xd(i.removeAlert())}),PC(1,"plus"),Hl();}}var ue=(()=>{class e{constructor(){this.color=g1(null),this.variant=g1(null),this.hostClasses=ce$2("alert",{color:this.color,variant:this.variant}),this._el=T$6(Jr$1),this.alertService=g1(null),this.id=g1(null);}removeAlert(){this.id()&&this.alertService()&&this.alertService()?.removeAlert(this.id());}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=dw({type:e,selectors:[["sh-alert"]],hostAttrs:[1,"sh-sheet"],hostVars:3,hostBindings:function(n,i){n&2&&(hg("role",i.color()==="warn"||i.color()==="error"?"alert":"status"),bC(i.hostClasses()));},inputs:{color:[1,"color"],variant:[1,"variant"],alertService:[1,"alertService"],id:[1,"id"]},ngContentSelectors:q,decls:22,vars:4,consts:[["ref",""],[1,"alert"],[1,"icon"],[1,"state-icon"],[1,"title"],[1,"close-icon"],[1,"actions"],[1,"content"],[1,"close-icon",3,"click"]],template:function(n,i){if(n&1&&(oC(k$1),Qi$1(0,"div",1)(1,"div",2,0),iC(3),iC(4,1),Hl(),Qi$1(5,"div",2),oT(6,B,2,0,"sh-icon",3)(7,F,2,0,"sh-icon",3)(8,P,2,0,"sh-icon",3)(9,Y,2,0,"sh-icon",3)(10,$,2,0,"sh-icon",3)(11,V,2,0,"sh-icon",3),Hl(),Qi$1(12,"div",4),iC(13,2),iC(14,3),Hl(),oT(15,Q,2,0,"sh-icon",5),Qi$1(16,"div",6),iC(17,4),iC(18,5),Hl(),Qi$1(19,"div",7),iC(20,6),iC(21,7),Hl()()),n&2){let c=uC(2);DE(),zg("display",c.children.length?"block":"none");let d=i.hostClasses();DE(5),iT(d.includes("primary")?6:d.includes("accent")?7:d.includes("warn")?8:d.includes("error")?9:d.includes("success")?10:11),DE(9),iT(i.id()?15:-1);}},dependencies:[N$1],styles:[`sh-alert{--alert-ad: .4s;--alert-bs: var(--box-shadow-10);--alert-p: .5rem;max-height:18.75rem;padding-top:0;padding-bottom:0;margin-bottom:0;opacity:1;overflow:hidden;display:block;transition:max-height var(--alert-ad) ease-in-out,transform var(--alert-ad) ease-in-out,opacity var(--alert-ad) ease-in-out,margin-bottom var(--alert-ad) ease-in-out,padding-top var(--alert-ad) ease-in-out,padding-bottom var(--alert-ad) ease-in-out;transform:translateY(0);box-shadow:var(--alert-bs)}sh-alert.simple .content>*{color:var(--sheet-c);opacity:.7}sh-alert.flat,sh-alert.raised{--sheet-c: #fff}sh-alert.flat .content>*,sh-alert.raised .content>*{color:var(--sheet-c);opacity:.8}sh-alert .alert{display:grid;grid-template-columns:auto 1fr 1fr;grid-template-rows:auto auto;grid-template-areas:"stateIcon title closeIcon" ". content .";padding:var(--alert-p);align-items:flex-start;gap:.25rem .5rem}sh-alert .alert .close-icon{display:none}sh-alert .alert:has(.actions:empty){grid-template-columns:auto 1fr;grid-template-areas:"stateIcon title" ". content"}sh-alert .alert:has(.actions:empty) .actions{display:none}sh-alert .alert:has(.actions:empty) .close-icon{display:block}sh-alert .alert:has(.content:empty){grid-template-rows:auto;grid-template-areas:"stateIcon title closeIcon"}sh-alert .alert:has(.actions:empty):has(.content:empty){grid-template-columns:auto 1fr;grid-template-areas:"stateIcon title"}sh-alert .actions{grid-area:closeIcon;display:flex;align-items:center;justify-content:flex-end;gap:.25rem}sh-alert .icon{grid-area:stateIcon;height:1.25rem;width:1.25rem;display:flex;align-items:center;justify-content:center}sh-alert .icon:first-of-type:not(:empty)+.icon{display:none}sh-alert [icon],sh-alert .state-icon{color:var(--alert-state-ic)}sh-alert .close-icon{grid-area:closeIcon;color:var(--alert-close-ic);transform:rotate(45deg);transform-origin:center}sh-alert .title{grid-area:title;padding-top:.125rem;font-weight:500}sh-alert .content{grid-area:content}sh-alert .content:empty{display:none}sh-alert.is-hidden{max-height:0;padding-top:0;padding-bottom:0;opacity:0;margin-bottom:0;overflow:hidden;transform:translateY(-40px)}sh-alert.is-hidden:before{opacity:0}sh-alert.animate-in{transition:none;max-height:0;margin-bottom:0;padding-top:0;padding-bottom:0;opacity:0;overflow:hidden;transform:translateY(0)}sh-alert.animate-in:before{opacity:0}sh-alert.animate-out{max-height:0;padding:0;opacity:0;overflow:hidden;transform:translateY(-40px)}sh-alert.animate-out:before{opacity:0}sh-alert:has([content]) .alert{--alert-p: .75rem}
16
- `],encapsulation:2});}}return e})();var fe=(()=>{class e{constructor(){this.alertHistory=Ue$7([]),this.alertHistoryIsOpen=Ue$7(false),this.alertHistoryIsHidden=Ue$7(true);}error(t){this.addAlert({type:"error",title:t??"An error occured"});}success(t){this.addAlert({type:"success",title:t});}question(t){this.addAlert({type:"question",title:t});}warning(t){this.addAlert({type:"warn",title:t});}info(t){this.addAlert({type:"primary",title:t});}addAlert(t){let n=le$1();this.alertHistory.update(i=>[m$6(l$3({},t),{isOpen:true,animateIn:true,animateOut:false,id:n}),...i]),setTimeout(()=>{this.alertHistory.update(i=>i.map(c=>m$6(l$3({},c),{animateIn:c.id===n?false:c.animateIn})));},40),setTimeout(()=>{this.hideAlert(n);},2500);}removeAlert(t){this.alertHistory.update(n=>n.map(i=>m$6(l$3({},i),{animateOut:i.id===t?false:i.animateOut}))),setTimeout(()=>{this.alertHistory.update(n=>n.filter(i=>i.id!==t));},300);}hideAlert(t){this.alertHistory.update(n=>n.map(i=>m$6(l$3({},i),{isOpen:i.id===t?false:i.isOpen})));}setHidden(t){this.alertHistoryIsHidden.set(t);}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275prov=ee$4({token:e,factory:e.\u0275fac,providedIn:"root"});}}return e})();var k=class e{#e=T$6(h$2);#d=T$6(g$2);ngOnInit(){X$1(),this.#d.fetchConfig(),this.#e.clearAllNotCurrentVersion();}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=dw({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(t,n){t&1&&mg(0,"router-outlet");},dependencies:[lr],encapsulation:2})};var Ae={production:true,baseUrl:"/api",machineServerUrl:"${WS_URL}",defaultTimeout:3e4};var f=new x$6("ENVIRONMENT");var A=class e{#e=T$6(q$4);isLoaded=Ue$7(false);webmodules=Ue$7(null);preload(o=false){let t=this.#e.getApiV1Webmodules().pipe(Ju(n=>this.webmodules.set(n)),Bu(()=>this.isLoaded.set(true)));if(o)return t;t.subscribe();}static \u0275fac=function(t){return new(t||e)};static \u0275prov=ee$4({token:e,factory:e.\u0275fac,providedIn:"root"})};var Ue=()=>{let e=T$6(M);return e.token()?true:e.checkProxyAuthed().pipe($u(o=>o?ty(true):e.refreshToken().pipe(pt$2(()=>true))))},je=()=>{let e=T$6(g$2);T$6(y$1);let t=T$6(Te$4),n=e.relayIsEnabled()?"longpoll":"websocket",i=[t.get(m$3).preload(true),t.get(m$3).preloadFilterGroups(true),t.get(A).preload(true)];return e.configLoaded===null?Dy(i).pipe(pt$2(()=>n)):e.configLoaded?.pipe($u(()=>Dy(i)))},Fe=()=>true,Ne={path:"connect/:typeParam",loadComponent:()=>import('./chunk-DDVdXEVe.js')},We=()=>{let e=T$6(h$2);return !e.getItem("locale")&&navigator.language&&e.setItem("locale",navigator.language),true},Oe=[{path:"",children:[{path:"login",canActivate:[],loadComponent:()=>import('./chunk-D2XTQURr.js')},{path:"logout",loadComponent:()=>import('./chunk-C11i_gv7.js')},{path:"",canActivate:[Ue],children:[{path:"",canActivate:[je,Fe,We],children:[{path:"welcome",loadComponent:()=>import('./chunk-BoCnrrB4.js'),children:[{path:"",redirectTo:"select",pathMatch:"full"},{path:"select",loadComponent:()=>import('./chunk-ObToq7vh.js')},Ne]},{path:"",loadComponent:()=>import('./chunk-DDo7wKQT.js'),children:[{path:"",loadComponent:()=>import('./chunk-CXEImxhE.js')},Ne,{path:"destinations",loadComponent:()=>import('./chunk-BJ6LKfIL.js')},{path:"add-backup",loadComponent:()=>import('./chunk-GVxWY6X-.js')},{path:"backup/:id/export",loadComponent:()=>import('./chunk-DVlpMN2Q.js')},{path:"backup/import",loadComponent:()=>import('./chunk-BjkwnDTL.js')},{path:"backup/import-destination",loadComponent:()=>import('./chunk-C1t4wbdG.js'),loadChildren:()=>import('./chunk-D0u1cyeL.js')},{path:"backup-draft/:id",loadComponent:()=>import('./chunk-BDXLL1lt.js'),loadChildren:()=>import('./chunk-CgYrHQGO.js')},{path:"backup/:id",loadComponent:()=>import('./chunk-BDXLL1lt.js'),loadChildren:()=>import('./chunk-CgYrHQGO.js')},{path:"backup/:id/log",loadComponent:()=>import('./chunk-CdKfNiwm.js')},{path:"backup/:id/database",loadComponent:()=>import('./chunk-2OH1SKyQ.js')},{path:"backup/:id/commandline",loadComponent:()=>import('./chunk-Bc4gFy5W.js')},{path:"backup/:id/commandline/:runId",loadComponent:()=>import('./chunk-BIeNnIyg.js')},{path:"backup/:id/delete",loadComponent:()=>import('./chunk-bgWe6t7y.js')},{path:"backup/:id/delete-versions",loadComponent:()=>import('./chunk-BFH9sFEg.js')},{path:"backup/:id/broken-files",loadComponent:()=>import('./chunk-DP9SoPGV.js')},{path:"restore",children:[{path:"",loadComponent:()=>import('./chunk-cLFxUFjv.js')},{path:"from-config",loadComponent:()=>import('./chunk-Byb051F6.js')}]},{path:"restore-from-files",loadComponent:()=>import('./chunk-D_A6A07f.js'),loadChildren:()=>import('./chunk-A5DpxPOI.js')},{path:"restore-draft/:id",loadComponent:()=>import('./chunk-D_A6A07f.js'),loadChildren:()=>import('./chunk-A5DpxPOI.js')},{path:"restore/:id",loadComponent:()=>import('./chunk-D_A6A07f.js'),loadChildren:()=>import('./chunk-A5DpxPOI.js')},{path:"status",loadComponent:()=>import('./chunk-C_JveZJH.js')},{path:"settings",loadComponent:()=>import('./chunk-M21GJPzH.js')},{path:"about",loadComponent:()=>import('./chunk-CRU3lYvk.js'),children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",loadComponent:()=>import('./chunk-wyer8fjS.js')},{path:"changelog",loadComponent:()=>import('./chunk-C2bnZ62D.js')},{path:"libraries",loadComponent:()=>import('./chunk-DQwpGI_E.js')},{path:"system-info",loadComponent:()=>import('./chunk-B3yuN2OH.js')},{path:"server-settings",loadComponent:()=>import('./chunk-BZYVgHEz.js')},{path:"logs",loadChildren:()=>import('./chunk-RKTSBnYB.js')},{path:"crashlogs",loadComponent:()=>import('./chunk-Cs0rlpWi.js')}]}]}]}]}]}];var xe=(e,o)=>{let t$1=T$6(M),n=T$6(ee$1),i=T$6(h$2),p=T$6(f),m=i.getItem("locale"),a=T$6(fe),g=Ot$1(m),r=t.BASE||"",l=e.url===`${r}/api/v1/auth/login`,u=e.url===`${r}/api/v1/auth/logout`,S=e.url===`${r}/api/v1/auth/refresh`,y=e.url===`${r}/api/v1/progressstate`,x=e.url===`${r}/api/v1/remoteoperation/test`,M$1=e.url===`${r}/api/v1/filesystem/validate`,De=e.url.startsWith(`${r}/api/v2/`),L=t$1.token(),U=e,j=e.headers.has("custom-proxy-check")||L===D$2;if(L&&e.url.startsWith(r+p.baseUrl)&&!j){let c=e.headers.set("Authorization",`Bearer ${L}`);m&&m!=="en-US"&&(c=c.set("X-Ui-Language",g)),U=e.clone({headers:c});}return o(U).pipe(pt$2(c=>{if(c.type===4&&c.status===200&&De){let b=c.body;if(b?.Success===false)throw {status:200,message:b?.Error??"Unknown error",error:{Error:b?.Error??"Unknown error"},requestBody:b}}return c}),Vs(c=>{let b=c.error?.Error||`Error Code: ${c.status}, Message: ${c.message}`;if(!j){let R=true;if((y&&c.status===404||x||M$1)&&(R=false),S&&c.status===401&&(R=false,t$1.logout(),n.navigate(["/logout"])),!l&&!S&&!u&&c.status===401)return R=false,t$1.refreshToken().pipe($u(()=>o(e.clone({headers:e.headers.set("Authorization",`Bearer ${t$1.token()}`)}))));R&&a.error(b);}return iy(()=>({error:c,message:b}))}))};var N=class e{#e=T$6(br);showError(o){let t=this.#e.querySelector("body > .loading");if(!t)return;t.classList.add("has-error"),t.innerHTML="";let n=this.#e.createElement("div");n.classList.add("loading-title"),n.textContent="Unable to connect";let i=this.#e.createElement("div");i.classList.add("loading-error"),i.textContent=o||"Unknown error";let p=this.#e.createElement("button");p.type="button",p.classList.add("retry-button"),p.textContent="Retry",p.addEventListener("click",()=>{this.#e.defaultView?.location.reload();}),t.append(n,i,p);}static \u0275fac=function(t){return new(t||e)};static \u0275prov=ee$4({token:e,factory:e.\u0275fac,providedIn:"root"})};var $e="1.0.0",Le=`portal-proxy-client-${x$4()}`,Ge=1,O=class e{#e=1e3;#d=T$6(f);#u=T$6(N);#o=Ue$7("disconnected");#h=Ue$7(this.#e);#a=Ue$7(false);#n=Ue$7(false);#p=Ue$7(null);#l=Ue$7(null);#s=false;isConnectedToMachineServer=this.#n.asReadonly();wsState=this.#o.asReadonly();#c=[];#r={};#t=null;#f=new TextDecoder("utf-8");#m=null;#y=Ga(()=>{let o=this.#a(),t=this.#h(),n=this.#p(),i=this.#l();if(!n||!i||!o||!t||t<this.#e){this.#m&&window.clearInterval(this.#m);return}this.#m=window.setInterval(()=>{this.connectToMachineServer(n,i);},t);});#i(o){this.#s||(this.#s=true,this.#u.showError(o||"Unable to connect to the server."));}#g(){this.#s||(this.#s=true);}utf8Atob(o){let t=Uint8Array.from(atob(o),i=>i.charCodeAt(0)),n=this.#f.decode(t);return n?JSON.parse(n):null}connectToMachineServer(o,t,n){let i=n?.reconnect??false,p=this.wsState();(p==="disconnected"||p==="error"||i)&&(this.#t?.close(),this.#t=null),!this.#t&&(this.#s=false,this.#t=new WebSocket(t),this.#o.set("connecting"),this.#t.onopen=()=>{this.#o.set("connect"),this.#n.set(true),this.#a.set(false),this.#p.set(null),this.#l.set(null);},this.#t.onclose=()=>{this.#o.set("disconnected"),this.#n.set(false),this.#p.set(o),this.#l.set(t),this.#a.set(true);},this.#t.onerror=()=>{this.#o.set("error");},this.#t.onmessage=m=>{let a=JSON.parse(m.data);if(this.wsState()==="connect"){if(a.type!=="welcome"){this.disconnectFromMachineServer(`Unexpected message type, expected 'welcome' but got '${a.type}'`);return}let r={token:o,publicKey:"",clientVersion:$e,protocolVersion:Ge},l=this.createResponse(a,"authportal",r);this.#o.set("welcome"),this.#t?.send(l);}else if(this.wsState()==="welcome"){if(a.type!=="authportal"){this.disconnectFromMachineServer(`Unexpected message type, expected 'authportal' but got '${a.type}'`);return}var g=JSON.parse(a.payload??"");if(g.accepted===false){this.#i("Authentication failed"),this.disconnectFromMachineServer("Authentication failed");return}for(this.#o.set("authenticated"),this.#n.set(true);this.#c.length>0;){let r=this.#c.pop();r&&this.#r[r.messageId]&&this.activateCommand(r);}}else if(this.wsState()==="authenticated"){if(a.type!=="command"){console.warn(`Unexpected message type, expected 'command' but got '${a.type}'`);return}let r=this.#r[a.messageId];if(r){if(a.errorMessage)this.#i(a.errorMessage),r.reject(a.errorMessage);else {let l=JSON.parse(a.payload??"");l.statusCode>=400?this.#i(l.body||`Initial request failed with status code ${l.statusCode}`):this.#g(),l.body=l?.body==null?null:this.utf8Atob(l.body),r.resolve(l);}delete this.#r[a.messageId],window.clearTimeout(r.timer);}}});}disconnectFromMachineServer(o=null){o&&console.error(o),this.#t?.close(),this.#t=null,this.#o.set("disconnected"),this.#n.set(false);}createResponse(o,t,n){let i={from:Le,to:o.from,type:t,messageId:o.messageId,payload:JSON.stringify(n)};return JSON.stringify(i)}sendCommand(o,t,n,i,p,m,a,g=5e3){return (this.wsState()==="disconnected"||this.wsState()==="error")&&this.connectToMachineServer(o,n),new Promise((r,l)=>{let u=x$4(),y={from:Le,to:t,type:"command",messageId:u,payload:JSON.stringify({method:i,path:p,body:m,headers:a})},x={resolve:r,reject:l,timer:window.setTimeout(()=>{let M=this.#r[u];M&&(delete this.#r[u],this.#i("The request timed out before receiving a response."),M.reject("Timeout"));},g)};this.#r[u]=x,this.#n()?this.activateCommand(y):this.#c.push(y);})}activateCommand(o){this.#t?.send(JSON.stringify(o));}static \u0275fac=function(t){return new(t||e)};static \u0275prov=ee$4({token:e,factory:e.\u0275fac,providedIn:"root"})};function Be(e){if(typeof e!="string")return null;let t=new TextEncoder().encode(e);return window.btoa(String.fromCharCode(...t))}function Pe(e,o,t){let n=e.relayconfigState.config();if(n===null)return t(o);let i=Be(o.body),p={};o.headers.keys().forEach(r=>{p[r]=o.headers.get(r)??"";});let m=o.headers.get("timeout"),a=m!==null?parseInt(m):e.defaultTimeout;o.url.startsWith("/api/v1/serverstate")&&o.url.includes("longpoll=true")&&(a=1e3*99);let g=e.relayWebsocket.sendCommand(n.accessToken,n.clientId,n.machineServerUrl,o.method,o.url,i,p,a);return new S$7(r=>{g.then(l=>{let u=new y$3;p!=null&&Object.keys(p).forEach(y=>{u.set(y,p[y]);});let S=new S$6({body:l.body,status:l.statusCode,statusText:"OK",headers:u});r.next(S),r.complete();}).catch(l=>{r.error(new w$4({error:l??"Unknown error",status:0,statusText:l??"Unknown error"}));});})}var He=(e,o)=>{let t={relayconfigState:T$6(g$2),defaultTimeout:T$6(f).defaultTimeout,relayWebsocket:T$6(O)},n=t.relayconfigState.config();if(t.relayconfigState.configLoaded!==null&&n===null){let i=new fe$5;return t.relayconfigState.configLoaded.subscribe(p=>{p&&Pe(t,e,o).subscribe(i);}),i}return Pe(t,e,o)};var Ve={providers:[ab(),_o(Oe,jo(),xo(Mo)),Ke$1(Qe$2(),qe$2([He,xe])),h$2,{provide:f,useValue:Ae},{provide:Yl,useValue:jt$1()},{provide:G$3,useValue:{alertVariant:"simple"}},l$1,y$1,ya,pi$1,m$1,ci$1,m,c]};Le$3(k,Ve);export{$g as $,A$2 as A,y1 as B,Bu as C,DE as D,nm as E,Fg as F,Ga as G,Hl as H,Qg as I,JC as J,lC as K,oC as L,M,Nt$3 as N,Og as O,Pg as P,Qi$1 as Q,Bl as R,Sd as S,T$6 as T,Ue$7 as U,yg as V,$l as W,XT as X,iC as Y,lr as Z,_t$1 as _,T$1 as a,Vs as a$,de$2 as a0,cT as a1,lT as a2,QC as a3,aT as a4,g$1 as a5,be$3 as a6,l$1 as a7,To as a8,UC as a9,y$3 as aA,rm as aB,hg as aC,zC as aD,Fo as aE,YC as aF,pt$2 as aG,m$1 as aH,c as aI,ci$1 as aJ,pb as aK,hi$1 as aL,tb as aM,ob as aN,om as aO,Ul as aP,Wl as aQ,rb as aR,ib as aS,ay as aT,ny as aU,ry as aV,G$4 as aW,y$1 as aX,x$4 as aY,ee$4 as aZ,ZC as a_,Gl as aa,C as ab,h1 as ac,br as ad,Jr$1 as ae,m1 as af,zg as ag,fe as ah,m$6 as ai,l$3 as aj,cm as ak,BC as al,ii$1 as am,jg as an,$C as ao,sT as ap,Eg as aq,Wp as ar,Hd as as,h$1 as at,Lg as au,eC as av,W$1 as aw,De$3 as ax,$u as ay,t as az,g1 as b,oe$3 as b$,ty as b0,m as b1,sg as b2,tT as b3,nT as b4,mw as b5,k$5 as b6,ue$3 as b7,ce$2 as b8,rg as b9,oo$1 as bA,yD as bB,Uv as bC,Ze$3 as bD,Te$4 as bE,Cv as bF,Iw as bG,D1 as bH,fe$5 as bI,vy as bJ,s$1 as bK,Z$3 as bL,T1 as bM,Ko as bN,D$7 as bO,Pl as bP,Ae$5 as bQ,Ud as bR,ms as bS,rr$1 as bT,B$1 as bU,re$1 as bV,us as bW,pe$5 as bX,$r as bY,ei$1 as bZ,Ig as b_,h as ba,Fi$1 as bb,Jt$2 as bc,Kn as bd,pi$1 as be,ig as bf,Q$2 as bg,Bd as bh,bs as bi,H$6 as bj,ft$2 as bk,po$1 as bl,h$2 as bm,It$2 as bn,av as bo,Rr as bp,je$3 as bq,x$6 as br,$p as bs,eE as bt,N$4 as bu,le$1 as bv,TC as bw,Kr as bx,pw as by,ad as bz,me$5 as c,J$5 as c$,ae$3 as c0,e as c1,uC as c2,Bs as c3,sb as c4,v1 as c5,I1 as c6,Bg as c7,LI as c8,FI as c9,Qt$1 as cA,Ze$2 as cB,ne$4 as cC,m$4 as cD,de$4 as cE,g$5 as cF,nn$1 as cG,j$5 as cH,d$3 as cI,Rt$2 as cJ,Zt$1 as cK,Gt$1 as cL,Kt$1 as cM,Yt$2 as cN,zt$2 as cO,q$6 as cP,Q$5 as cQ,Bt$1 as cR,Pt$1 as cS,kt$1 as cT,Ut$1 as cU,jt$2 as cV,Ot$2 as cW,Nt$2 as cX,Fe$5 as cY,M$4 as cZ,xt$1 as c_,E$1 as ca,Iy as cb,Ju as cc,go$1 as cd,Ns as ce,Ss as cf,S$7 as cg,Nr as ch,KC as ci,Uu as cj,iy as ck,_y as cl,ce$4 as cm,y$6 as cn,tn$1 as co,en$1 as cp,A$3 as cq,I$1 as cr,lv as cs,Je$3 as ct,Ne$5 as cu,U$4 as cv,Ce$4 as cw,ye$4 as cx,qt$1 as cy,Ee$4 as cz,dw as d,Vt$1 as d0,Or as d1,Tr as d2,f$3 as d3,wi$1 as d4,Ai$1 as d5,L$4 as d6,k$7 as d7,_$2 as d8,ee$1 as e,N$1 as f,g$2 as g,bC as h,iT as i,mg as j,gT as k,HC as l,m$3 as m,nC as n,oT as o,DD as p,PC as q,rt$1 as r,sm as s,tC as t,ue as u,v$2 as v,im as w,xd as x,TD as y,gg as z};