homebridge-config-ui-x 5.0.0-beta.98 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/CHANGELOG.md +122 -5
  2. package/config.schema.json +1 -1
  3. package/dist/core/auth/auth.controller.d.ts +4 -0
  4. package/dist/core/config/config.service.d.ts +8 -0
  5. package/dist/core/config/config.service.js +2 -0
  6. package/dist/core/config/config.service.js.map +1 -1
  7. package/dist/main.js +1 -0
  8. package/dist/main.js.map +1 -1
  9. package/dist/modules/backup/backup.controller.d.ts +1 -0
  10. package/dist/modules/backup/backup.controller.js +11 -0
  11. package/dist/modules/backup/backup.controller.js.map +1 -1
  12. package/dist/modules/backup/backup.service.d.ts +1 -0
  13. package/dist/modules/backup/backup.service.js +19 -5
  14. package/dist/modules/backup/backup.service.js.map +1 -1
  15. package/dist/modules/config-editor/config-editor.service.js +2 -1
  16. package/dist/modules/config-editor/config-editor.service.js.map +1 -1
  17. package/dist/modules/platform-tools/docker/docker.service.js +8 -2
  18. package/dist/modules/platform-tools/docker/docker.service.js.map +1 -1
  19. package/dist/modules/plugins/plugins.controller.d.ts +2 -0
  20. package/dist/modules/plugins/plugins.controller.js +1 -1
  21. package/dist/modules/plugins/plugins.controller.js.map +1 -1
  22. package/dist/modules/plugins/plugins.service.d.ts +3 -0
  23. package/dist/modules/plugins/plugins.service.js +82 -48
  24. package/dist/modules/plugins/plugins.service.js.map +1 -1
  25. package/dist/modules/server/server.controller.d.ts +5 -0
  26. package/dist/modules/server/server.controller.js +25 -0
  27. package/dist/modules/server/server.controller.js.map +1 -1
  28. package/dist/modules/server/server.service.d.ts +9 -1
  29. package/dist/modules/server/server.service.js +97 -21
  30. package/dist/modules/server/server.service.js.map +1 -1
  31. package/dist/modules/status/status.gateway.d.ts +6 -0
  32. package/dist/modules/status/status.gateway.js +14 -0
  33. package/dist/modules/status/status.gateway.js.map +1 -1
  34. package/dist/modules/status/status.service.d.ts +26 -0
  35. package/dist/modules/status/status.service.js +112 -0
  36. package/dist/modules/status/status.service.js.map +1 -1
  37. package/package.json +11 -11
  38. package/public/3rdpartylicenses.txt +214 -187
  39. package/public/assets/hap-icons/{airpurifier.svg → air-purifier.svg} +11 -11
  40. package/public/assets/hap-icons/doorbell.svg +17 -0
  41. package/public/assets/hap-icons/filter-maintenance.svg +26 -0
  42. package/public/assets/hap-icons/microphone.svg +22 -0
  43. package/public/assets/hap-icons/security-system-active.svg +103 -0
  44. package/public/assets/hap-icons/{smokesensor.svg → smoke-sensor.svg} +15 -2
  45. package/public/assets/hap-icons/speaker.svg +27 -12
  46. package/public/assets/hap-icons/vacuum-off.svg +34 -0
  47. package/public/assets/hap-icons/vacuum-on.svg +73 -0
  48. package/public/chunk-2RH7XRJB.js +1 -0
  49. package/public/chunk-2V6GVJIK.js +1 -0
  50. package/public/chunk-3UCLNJIE.js +1 -0
  51. package/public/chunk-4J2HTHMW.js +1 -0
  52. package/public/chunk-4NQG4OIB.js +1 -0
  53. package/public/chunk-52HWZQJT.js +1 -0
  54. package/public/chunk-56R3JRVX.js +1 -0
  55. package/public/chunk-65A2CLMB.js +1 -0
  56. package/public/chunk-6LPAR6QB.js +1 -0
  57. package/public/chunk-6VMMFEEB.js +1 -0
  58. package/public/chunk-7RQP64IZ.js +12 -0
  59. package/public/{chunk-GMY5QOXR.js → chunk-BG5MCCBU.js} +6 -6
  60. package/public/chunk-C3HWKB2Q.js +5 -0
  61. package/public/{chunk-Q74BIJTW.js → chunk-CEVLFYVV.js} +1 -1
  62. package/public/chunk-CHYWVK3W.js +1 -0
  63. package/public/chunk-CR7NFTHI.js +4 -0
  64. package/public/{chunk-BRW7C4BZ.js → chunk-CXP6VKNZ.js} +1 -1
  65. package/public/chunk-CY3O5ACI.js +1 -0
  66. package/public/chunk-D5MSFLIQ.js +1 -0
  67. package/public/chunk-DVQU3KHF.js +1 -0
  68. package/public/chunk-EGPBTPS6.js +1 -0
  69. package/public/chunk-EI76KND2.js +2 -0
  70. package/public/chunk-EP7NNPU2.js +1 -0
  71. package/public/chunk-ESCMWFTR.js +1 -0
  72. package/public/chunk-FDBWBMB3.js +1 -0
  73. package/public/chunk-FO44GZVZ.js +5 -0
  74. package/public/chunk-FWNSHSUQ.js +1 -0
  75. package/public/chunk-G4DWZG7U.js +1 -0
  76. package/public/{chunk-2G7GNBIF.js → chunk-GEIS2BWE.js} +1 -1
  77. package/public/chunk-GPZM245P.js +1 -0
  78. package/public/chunk-H2VHR6F4.js +1 -0
  79. package/public/chunk-H5PKL3FP.js +2 -0
  80. package/public/chunk-HFVA7EOG.js +23 -0
  81. package/public/chunk-HU7QTSUZ.js +1 -0
  82. package/public/{chunk-IOWBVW62.js → chunk-HUAADM2I.js} +1 -1
  83. package/public/{chunk-WAA5KWIN.js → chunk-J7Q5BUJW.js} +1 -1
  84. package/public/chunk-KDVPFRHN.js +1 -0
  85. package/public/chunk-KOHQYRVP.js +20 -0
  86. package/public/chunk-MWGI7ZLY.js +28 -0
  87. package/public/chunk-NEZ6TZYE.js +1 -0
  88. package/public/chunk-OLDRUBZS.js +1 -0
  89. package/public/chunk-OYH4UIAH.js +1 -0
  90. package/public/chunk-Q4CZ7LVK.js +2 -0
  91. package/public/{chunk-RNHMRKPJ.js → chunk-QIOCGI3G.js} +5 -5
  92. package/public/chunk-QTTC6A7P.js +1 -0
  93. package/public/chunk-QUD3RGWL.js +1 -0
  94. package/public/{chunk-QMB5XE4Y.js → chunk-R3563DDE.js} +1 -1
  95. package/public/{chunk-OYGKO2NW.js → chunk-S42WFQ2L.js} +1 -1
  96. package/public/{chunk-UVOJ3BF7.js → chunk-THGDS273.js} +1 -1
  97. package/public/chunk-TSAWRS7P.js +8 -0
  98. package/public/chunk-U4GBERFR.js +1 -0
  99. package/public/chunk-UB4DU2JC.js +1 -0
  100. package/public/chunk-UJNEXGXC.js +1 -0
  101. package/public/chunk-ULJPS3WS.js +7 -0
  102. package/public/{chunk-2APWDSJR.js → chunk-W4PQWIYG.js} +1 -1
  103. package/public/chunk-W542IB6H.js +1 -0
  104. package/public/{chunk-UTAVUGTT.js → chunk-WDFAWIMZ.js} +7 -7
  105. package/public/chunk-WF776GWR.js +1 -0
  106. package/public/chunk-WFYBML4S.js +1 -0
  107. package/public/chunk-XFFCMC6L.js +4 -0
  108. package/public/chunk-XIYHNDRN.js +1 -0
  109. package/public/chunk-YJ2Q2RAD.js +1 -0
  110. package/public/chunk-YYDFCQK6.js +3 -0
  111. package/public/chunk-YZN5MPV3.js +1 -0
  112. package/public/chunk-ZR6LFO7Q.js +1 -0
  113. package/public/index.html +2 -2
  114. package/public/main-I6NBG3JJ.js +1 -0
  115. package/public/{styles-PKR3EGHP.css → styles-ZKWHTEN5.css} +1 -1
  116. package/scripts/upgrade-install-plugin.sh +6 -1
  117. package/public/chunk-2ACWBXKD.js +0 -23
  118. package/public/chunk-2KPQDW5Y.js +0 -1
  119. package/public/chunk-33CYNVTV.js +0 -1
  120. package/public/chunk-3XCKNGSY.js +0 -1
  121. package/public/chunk-4ONUW2YX.js +0 -1
  122. package/public/chunk-5UMALEYG.js +0 -1
  123. package/public/chunk-6FMNBEZI.js +0 -1
  124. package/public/chunk-A2GCWL2B.js +0 -1
  125. package/public/chunk-A6DQHT27.js +0 -1
  126. package/public/chunk-AEILHSZB.js +0 -8
  127. package/public/chunk-ALG7CIS3.js +0 -5
  128. package/public/chunk-AOMS2ZZA.js +0 -1
  129. package/public/chunk-BIRWL4X3.js +0 -1
  130. package/public/chunk-BMCQHGMB.js +0 -1
  131. package/public/chunk-C6LXQBT3.js +0 -1
  132. package/public/chunk-CG7LPZUJ.js +0 -1
  133. package/public/chunk-DDFZVHUO.js +0 -1
  134. package/public/chunk-DPQLWSOP.js +0 -29
  135. package/public/chunk-EMBQZR2X.js +0 -1
  136. package/public/chunk-G5RWHP3O.js +0 -1
  137. package/public/chunk-GICBHDKJ.js +0 -1
  138. package/public/chunk-H6KZQBHH.js +0 -1
  139. package/public/chunk-HVAWB5LJ.js +0 -5
  140. package/public/chunk-IJYOZ5IV.js +0 -1
  141. package/public/chunk-IOPQ6XLG.js +0 -1
  142. package/public/chunk-IZ6FAXQI.js +0 -1
  143. package/public/chunk-J533TMJM.js +0 -6
  144. package/public/chunk-K543HIWQ.js +0 -1
  145. package/public/chunk-KEADQZKG.js +0 -4
  146. package/public/chunk-L5JATRB2.js +0 -1
  147. package/public/chunk-LFLMMBSQ.js +0 -8
  148. package/public/chunk-LI25YDIE.js +0 -1
  149. package/public/chunk-MRGYH67M.js +0 -2
  150. package/public/chunk-MYR6B6HA.js +0 -1
  151. package/public/chunk-N6ZKSYU7.js +0 -1
  152. package/public/chunk-NITLIK4Z.js +0 -1
  153. package/public/chunk-NZRZWGZB.js +0 -1
  154. package/public/chunk-O5SDY7HB.js +0 -1
  155. package/public/chunk-OLHWAUXG.js +0 -1
  156. package/public/chunk-OOXGRVPC.js +0 -1
  157. package/public/chunk-P7X2NAW3.js +0 -20
  158. package/public/chunk-PLAF4BZD.js +0 -1
  159. package/public/chunk-PODF4FUD.js +0 -1
  160. package/public/chunk-PQSAMCEQ.js +0 -1
  161. package/public/chunk-PXDI7H2S.js +0 -1
  162. package/public/chunk-QAH2DTID.js +0 -1
  163. package/public/chunk-QIH36FRX.js +0 -1
  164. package/public/chunk-R33JZ54E.js +0 -1
  165. package/public/chunk-R3VPSO5X.js +0 -7
  166. package/public/chunk-R4M7DOGG.js +0 -1
  167. package/public/chunk-RQHGYVH7.js +0 -1
  168. package/public/chunk-SDPMBXWG.js +0 -1
  169. package/public/chunk-TJ2GNHP4.js +0 -1
  170. package/public/chunk-ULYM2OMP.js +0 -1
  171. package/public/chunk-UNTA76B2.js +0 -1
  172. package/public/chunk-VHTQTL2S.js +0 -1
  173. package/public/chunk-VJEUBTTK.js +0 -1
  174. package/public/chunk-VLX322GM.js +0 -1
  175. package/public/chunk-VUYAK52W.js +0 -2
  176. package/public/chunk-WPUGJVJI.js +0 -1
  177. package/public/chunk-WVVL4OBP.js +0 -1
  178. package/public/chunk-XPNC7FSV.js +0 -1
  179. package/public/chunk-XS6MELBC.js +0 -1
  180. package/public/chunk-YKZEL5PF.js +0 -1
  181. package/public/chunk-YNNM676U.js +0 -1
  182. package/public/chunk-YNZBVFGD.js +0 -1
  183. package/public/chunk-Z2FWKPUU.js +0 -1
  184. package/public/chunk-ZJQSABF2.js +0 -1
  185. package/public/main-OJD6Y5G5.js +0 -1
  186. /package/public/assets/hap-icons/{airquality.svg → air-quality-sensor.svg} +0 -0
  187. /package/public/assets/hap-icons/{co2-sensor.svg → carbon-dioxide-sensor.svg} +0 -0
  188. /package/public/assets/hap-icons/{co-sensor.svg → carbon-monoxide-sensor.svg} +0 -0
  189. /package/public/assets/hap-icons/{contactsensor-closed.svg → contact-sensor-closed.svg} +0 -0
  190. /package/public/assets/hap-icons/{contactsensor-open.svg → contact-sensor-open.svg} +0 -0
  191. /package/public/assets/hap-icons/{garagedoor.svg → garage-door.svg} +0 -0
  192. /package/public/assets/hap-icons/{humidity.svg → humidity-sensor.svg} +0 -0
  193. /package/public/assets/hap-icons/{leaksensor.svg → leak-sensor.svg} +0 -0
  194. /package/public/assets/hap-icons/{lightbulb.svg → light-bulb.svg} +0 -0
  195. /package/public/assets/hap-icons/{light.svg → light-sensor.svg} +0 -0
  196. /package/public/assets/hap-icons/{motionsensor.svg → motion-sensor.svg} +0 -0
  197. /package/public/assets/hap-icons/{occupancysensor.svg → occupancy-sensor.svg} +0 -0
  198. /package/public/assets/hap-icons/{securitysystem-off.svg → security-system-off.svg} +0 -0
  199. /package/public/assets/hap-icons/{securitysystem-active.svg → security-system-triggered.svg} +0 -0
  200. /package/public/assets/hap-icons/{statelessprogrammableswitch.svg → stateless-programmable-switch.svg} +0 -0
  201. /package/public/assets/hap-icons/{valve-waterfaucet.svg → valve-faucet.svg} +0 -0
  202. /package/public/assets/hap-icons/{valve-showerhead.svg → valve-shower-head.svg} +0 -0
  203. /package/public/assets/hap-icons/{windowcovering-closed.svg → window-covering-closed.svg} +0 -0
  204. /package/public/assets/hap-icons/{windowcovering-open.svg → window-covering-open.svg} +0 -0
  205. /package/public/{polyfills-GCAZ7JAV.js → polyfills-WE4HA5DL.js} +0 -0
@@ -0,0 +1 @@
1
+ import{a as w}from"./chunk-CEVLFYVV.js";import"./chunk-S42WFQ2L.js";import{d as $}from"./chunk-GEIS2BWE.js";import{b as S}from"./chunk-W4PQWIYG.js";import{k as E,n as y}from"./chunk-DVQU3KHF.js";import{a as g,b as _}from"./chunk-R3563DDE.js";import"./chunk-Q4CZ7LVK.js";import{Hc as m,Ib as c,Ic as l,Jb as d,Sb as r,Tb as i,Ub as f,ab as n,dc as v,la as o,mb as h,qc as a,rc as s}from"./chunk-ULJPS3WS.js";function T(t,u){if(t&1&&(r(0,"div",7),a(1),i()),t&2){let e=v();n(),s(e.error)}}function C(t,u){t&1&&(r(0,"p",9),a(1),m(2,"translate"),i(),r(3,"div",10)(4,"div",11),f(5,"i",12),i()()),t&2&&(n(),s(l(2,1,"restart.please_wait_while_server_restarts")))}function k(t,u){t&1&&(r(0,"div",8),a(1),m(2,"translate"),i()),t&2&&(n(),s(l(2,1,"platform.linux.long_time")))}var z=(()=>{class t{$api=o(y);$router=o($);$settings=o(S);$toastr=o(E);$translate=o(g);$ws=o(w);checkTimeout;checkDelay;io;resp={};timeout=!1;error=!1;ngOnInit(){this.io=this.$ws.connectToNamespace("status"),this.io.connected.subscribe(()=>{this.io.socket.emit("monitor-server-status"),this.$settings.getAppSettings().catch(()=>{})}),this.$api.put("/platform-tools/linux/restart-host",{}).subscribe({next:e=>{this.resp=e,this.checkIfServerUp()},error:e=>{console.error(e),this.error=this.$translate.instant("platform.linux.server_restart_error"),this.$toastr.error(this.$translate.instant("platform.linux.server_restart_error"),this.$translate.instant("toast.title_error"))}})}ngOnDestroy(){this.io.end(),clearTimeout(this.checkDelay),clearTimeout(this.checkTimeout)}checkIfServerUp(){this.checkDelay=setTimeout(()=>{this.io.socket.on("homebridge-status",e=>{(e.status==="up"||e.status==="pending")&&(this.$toastr.success(this.$translate.instant("platform.linux.server_restarted"),this.$translate.instant("toast.title_success")),this.$router.navigate(["/"]))})},3e4),this.checkTimeout=setTimeout(()=>{this.$toastr.warning(this.$translate.instant("platform.linux.server_taking_long_time"),this.$translate.instant("toast.title_warning"),{timeOut:1e4}),this.timeout=!0},12e4)}static \u0275fac=function(p){return new(p||t)};static \u0275cmp=h({type:t,selectors:[["ng-component"]],decls:14,vars:8,consts:[[1,"d-flex","justify-content-between"],[1,"primary-text","m-0"],[1,"my-4","align-items-center",2,"max-width","1000px","margin","auto"],[1,"w-100","text-center","primary-text","mb-5"],[1,"fas","fa-fw","fa-power-off",2,"font-size","75px"],[1,"text-center"],[1,"primary-text","mb-4"],[1,"alert","alert-error","my-4"],[1,"alert","alert-warning","my-4"],[1,"grey-text"],[1,"justify-content-center","my-4"],[1,"restart-progress-box","primary-text"],[1,"fas","fa-fw","fa-spinner","fa-spin"]],template:function(p,x){p&1&&(r(0,"div",0)(1,"h3",1),a(2),m(3,"translate"),i()(),r(4,"div",2)(5,"div",3),f(6,"i",4),i(),r(7,"div",5)(8,"h4",6),a(9),m(10,"translate"),i(),c(11,T,2,1,"div",7)(12,C,6,3),c(13,k,3,3,"div",8),i()()),p&2&&(n(2),s(l(3,4,"menu.restart.title")),n(7),s(l(10,6,"platform.linux.restarting_server")),n(2),d(x.error?11:12),n(2),d(x.timeout?13:-1))},dependencies:[_],styles:[".restart-progress-box[_ngcontent-%COMP%]{font-size:22px;font-weight:300;margin-top:15px}"]})}return t})();export{z as RestartLinuxComponent};
@@ -0,0 +1 @@
1
+ import{a as V,b as N}from"./chunk-TSAWRS7P.js";import"./chunk-BG5MCCBU.js";import{a as _}from"./chunk-CHYWVK3W.js";import{n as B,t as k}from"./chunk-C3HWKB2Q.js";import"./chunk-WFYBML4S.js";import"./chunk-CEVLFYVV.js";import"./chunk-S42WFQ2L.js";import"./chunk-W4PQWIYG.js";import{k as D,n as F}from"./chunk-DVQU3KHF.js";import{a as z,b as E}from"./chunk-R3563DDE.js";import"./chunk-Q4CZ7LVK.js";import{$a as y,Hb as b,Hc as i,Ic as r,Ob as h,Pb as s,Qb as l,Rb as p,Sc as S,_b as T,ab as m,bc as d,g as M,h as w,kc as L,la as o,lc as C,mb as $,n as v,qc as x,ra as u,rc as I,sa as f}from"./chunk-ULJPS3WS.js";var H=M(N(),1);var j=["logoutput"],X=(()=>{class c{$api=o(F);$log=o(V);$modal=o(B);$toastr=o(D);$translate=o(z);termTarget=S("logoutput");resizeEvent=new v;onWindowResize(){this.resizeEvent.next(void 0)}ngOnInit(){window.document.querySelector("body").classList.add("bg-black"),this.$log.startTerminal(this.termTarget(),{},this.resizeEvent)}ngOnDestroy(){window.document.querySelector("body").classList.remove("bg-black"),this.$log.destroyTerminal()}downloadLogFile(){let t=this.$modal.open(_,{size:"lg",backdrop:"static"});t.componentInstance.title=this.$translate.instant("logs.title_download_log_file"),t.componentInstance.message=this.$translate.instant("logs.download_warning"),t.componentInstance.confirmButtonLabel=this.$translate.instant("form.button_download"),t.componentInstance.faIconClass="fas fa-fw fa-user-secret primary-text",t.result.then(()=>{this.$api.get("/platform-tools/hb-service/log/download",{observe:"response",responseType:"blob"}).subscribe({next:e=>{(0,H.saveAs)(e.body,"homebridge.log.txt")},error:e=>w(this,null,function*(){let n;try{n=JSON.parse(yield e.error.text()).message}catch(a){console.error(a)}this.$toastr.error(n||this.$translate.instant("logs.download.error"),this.$translate.instant("toast.title_error"))})})}).catch(()=>{})}truncateLogFile(){let t=this.$modal.open(_,{size:"lg",backdrop:"static"});t.componentInstance.title=this.$translate.instant("logs.title_truncate_log_file"),t.componentInstance.message=this.$translate.instant("logs.truncate_log_warning"),t.componentInstance.confirmButtonLabel=this.$translate.instant("form.button_delete"),t.componentInstance.confirmButtonClass="btn-danger",t.componentInstance.faIconClass="fas fa-fw fa-circle-exclamation primary-text",t.result.then(()=>{this.$api.put("/platform-tools/hb-service/log/truncate",{}).subscribe({next:()=>{this.$toastr.success(this.$translate.instant("logs.log_file_truncated"),this.$translate.instant("toast.title_success")),this.$log.term.clear()},error:e=>{console.error(e),this.$toastr.error(e.error.message||this.$translate.instant("logs.truncate.error"),this.$translate.instant("toast.title_error"))}})}).catch(()=>{})}static \u0275fac=function(e){return new(e||c)};static \u0275cmp=$({type:c,selectors:[["ng-component"]],viewQuery:function(e,n){e&1&&L(n.termTarget,j,5),e&2&&C()},hostBindings:function(e,n){e&1&&d("resize",function(g){return n.onWindowResize(g)},y)},decls:17,vars:15,consts:[["logoutput",""],[1,"row","mb-3"],[1,"col-6"],[1,"primary-text","m-0"],[1,"col-6","text-end"],["container","body","placement","bottom","openDelay","150","triggers","hover",1,"btn","btn-elegant","my-0","me-2",3,"click","ngbTooltip"],[1,"fas","fa-fw","fa-download"],["container","body","placement","bottom","openDelay","150","triggers","hover",1,"btn","btn-elegant","my-0","me-0",3,"click","ngbTooltip"],[1,"fas","fa-fw","fa-trash-alt"],[1,"flex-column","d-flex","align-items-stretch","adjust-for-mobile"],["id","log-output",1,"align-self-end","w-100","h-100","mb-1"]],template:function(e,n){if(e&1){let a=T();s(0,"div",1)(1,"div",2)(2,"h3",3),x(3),i(4,"translate"),l()(),s(5,"div",4)(6,"button",5),i(7,"translate"),i(8,"translate"),d("click",function(){return u(a),f(n.downloadLogFile())}),p(9,"i",6),l(),s(10,"button",7),i(11,"translate"),i(12,"translate"),d("click",function(){return u(a),f(n.truncateLogFile())}),p(13,"i",8),l()()(),s(14,"div",9),p(15,"div",10,0),l()}e&2&&(m(3),I(r(4,5,"menu.linux.label_logs")),m(3),h("ngbTooltip",r(7,7,"form.button_download")),b("aria-label",r(8,9,"form.button_download")),m(4),h("ngbTooltip",r(11,11,"form.button_delete")),b("aria-label",r(12,13,"form.button_delete")))},dependencies:[k,E],encapsulation:2})}return c})();export{X as LogsComponent};
@@ -0,0 +1 @@
1
+ import{a as b}from"./chunk-CEVLFYVV.js";import"./chunk-S42WFQ2L.js";import{d as k}from"./chunk-GEIS2BWE.js";import{b as S}from"./chunk-W4PQWIYG.js";import{k as T,n as w}from"./chunk-DVQU3KHF.js";import{a as C,b as $}from"./chunk-R3563DDE.js";import"./chunk-Q4CZ7LVK.js";import{$b as E,Dc as g,Hc as m,Ib as d,Ic as c,Jb as f,Jc as y,Sb as r,Tb as i,Ub as l,Xa as x,ab as n,dc as h,la as o,mb as _,qc as a,rc as s}from"./chunk-ULJPS3WS.js";var I=t=>({command:t});function D(t,u){if(t&1&&(r(0,"div",7),a(1),i()),t&2){let e=h();n(),s(e.error)}}function R(t,u){t&1&&(r(0,"p",9),a(1),m(2,"translate"),i(),r(3,"div",10)(4,"div",11),l(5,"i",12),i()()),t&2&&(n(),s(c(2,1,"restart.please_wait_while_server_restarts")))}function B(t,u){if(t&1&&(r(0,"div",8)(1,"p"),a(2),m(3,"translate"),i(),l(4,"p",13),m(5,"translate"),i()),t&2){let e=h();n(2),s(c(3,2,"platform.docker.server_long_time")),n(2),E("innerHTML",y(5,4,"platform.docker.run_with_restart",g(7,I,e.command)),x)}}var U=(()=>{class t{$api=o(w);$router=o(k);$settings=o(S);$toastr=o(T);$translate=o(C);$ws=o(b);checkTimeout;checkDelay;io;resp={};timeout=!1;error=!1;command='<span class="font-monospace">--restart=always</span>';ngOnInit(){this.io=this.$ws.connectToNamespace("status"),this.io.connected.subscribe(()=>{this.io.socket.emit("monitor-server-status"),this.$settings.getAppSettings().catch(()=>{})}),this.$api.put("/platform-tools/docker/restart-container",{}).subscribe({next:e=>{this.resp=e,this.checkIfServerUp()},error:e=>{this.error=this.$translate.instant("restart.toast_server_restart_error"),console.error(e),this.$toastr.error(this.$translate.instant("restart.toast_server_restart_error"),this.$translate.instant("toast.title_error"))}})}ngOnDestroy(){this.io.end(),clearTimeout(this.checkDelay),clearTimeout(this.checkTimeout)}checkIfServerUp(){this.checkDelay=setTimeout(()=>{this.io.socket.on("homebridge-status",e=>{(e.status==="up"||e.status==="pending")&&(this.$toastr.success(this.$translate.instant("platform.docker.container_restarted"),this.$translate.instant("toast.title_success")),this.$router.navigate(["/"]))})},1e4),this.checkTimeout=setTimeout(()=>{this.$toastr.warning(this.$translate.instant("restart.toast_server_restart_timeout"),this.$translate.instant("toast.title_warning"),{timeOut:1e4}),this.timeout=!0},6e4)}static \u0275fac=function(p){return new(p||t)};static \u0275cmp=_({type:t,selectors:[["ng-component"]],decls:14,vars:8,consts:[[1,"d-flex","justify-content-between"],[1,"primary-text","m-0"],[1,"my-4","align-items-center",2,"max-width","1000px","margin","auto"],[1,"w-100","text-center","primary-text","mb-5"],[1,"fab","fa-fw","fa-docker",2,"font-size","75px"],[1,"text-center"],[1,"primary-text","mb-4"],[1,"alert","alert-error","my-4"],[1,"alert","alert-warning","my-4"],[1,"grey-text"],[1,"justify-content-center","my-4"],[1,"restart-progress-box","primary-text"],[1,"fas","fa-fw","fa-spinner","fa-spin"],[1,"grey-text","mb-0",3,"innerHTML"]],template:function(p,v){p&1&&(r(0,"div",0)(1,"h3",1),a(2),m(3,"translate"),i()(),r(4,"div",2)(5,"div",3),l(6,"i",4),i(),r(7,"div",5)(8,"h4",6),a(9),m(10,"translate"),i(),d(11,D,2,1,"div",7)(12,R,6,3),d(13,B,6,9,"div",8),i()()),p&2&&(n(2),s(c(3,4,"menu.restart.title")),n(7),s(c(10,6,"platform.docker.title_restarting")),n(2),f(v.error?11:12),n(2),f(v.timeout?13:-1))},dependencies:[$],styles:[".restart-progress-box[_ngcontent-%COMP%]{font-size:22px;font-weight:300;margin-top:15px}"]})}return t})();export{U as ContainerRestartComponent};
@@ -0,0 +1,7 @@
1
+ var Qg=Object.create;var Ur=Object.defineProperty,Kg=Object.defineProperties,Jg=Object.getOwnPropertyDescriptor,Xg=Object.getOwnPropertyDescriptors,em=Object.getOwnPropertyNames,$r=Object.getOwnPropertySymbols,tm=Object.getPrototypeOf,vs=Object.prototype.hasOwnProperty,ll=Object.prototype.propertyIsEnumerable;var ul=(e,t,n)=>t in e?Ur(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,te=(e,t)=>{for(var n in t||={})vs.call(t,n)&&ul(e,n,t[n]);if($r)for(var n of $r(t))ll.call(t,n)&&ul(e,n,t[n]);return e},ne=(e,t)=>Kg(e,Xg(t));var Db=e=>t=>{var n=e[t];if(n)return n();throw new Error("Module not found in bundle: "+t)};var Eb=(e,t)=>{var n={};for(var r in e)vs.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&$r)for(var r of $r(e))t.indexOf(r)<0&&ll.call(e,r)&&(n[r]=e[r]);return n};var Ib=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Cb=(e,t)=>{for(var n in t)Ur(e,n,{get:t[n],enumerable:!0})},nm=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of em(t))!vs.call(e,o)&&o!==n&&Ur(e,o,{get:()=>t[o],enumerable:!(r=Jg(t,o))||r.enumerable});return e};var wb=(e,t,n)=>(n=e!=null?Qg(tm(e)):{},nm(t||!e||!e.__esModule?Ur(n,"default",{value:e,enumerable:!0}):n,e));var Ds=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});function E(e){return typeof e=="function"}function on(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 zr=on(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 bt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var G=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(E(r))try{r()}catch(i){t=i instanceof zr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{dl(i)}catch(s){t=t??[],s instanceof zr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new zr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)dl(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)&&bt(n,t)}remove(t){let{_finalizers:n}=this;n&&bt(n,t),t instanceof e&&t._removeParent(this)}};G.EMPTY=(()=>{let e=new G;return e.closed=!0,e})();var Es=G.EMPTY;function Gr(e){return e instanceof G||e&&"closed"in e&&E(e.remove)&&E(e.add)&&E(e.unsubscribe)}function dl(e){E(e)?e():e.unsubscribe()}var Se={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var sn={setTimeout(e,t,...n){let{delegate:r}=sn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=sn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Wr(e){sn.setTimeout(()=>{let{onUnhandledError:t}=Se;if(t)t(e);else throw e})}function Ke(){}var fl=Is("C",void 0,void 0);function pl(e){return Is("E",void 0,e)}function hl(e){return Is("N",e,void 0)}function Is(e,t,n){return{kind:e,value:t,error:n}}var _t=null;function an(e){if(Se.useDeprecatedSynchronousErrorHandling){let t=!_t;if(t&&(_t={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=_t;if(_t=null,n)throw r}}else e()}function gl(e){Se.useDeprecatedSynchronousErrorHandling&&_t&&(_t.errorThrown=!0,_t.error=e)}var Tt=class extends G{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Gr(t)&&t.add(this)):this.destination=im}static create(t,n,r){return new Me(t,n,r)}next(t){this.isStopped?ws(hl(t),this):this._next(t)}error(t){this.isStopped?ws(pl(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ws(fl,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},rm=Function.prototype.bind;function Cs(e,t){return rm.call(e,t)}var bs=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){qr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){qr(r)}else qr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){qr(n)}}},Me=class extends Tt{constructor(t,n,r){super();let o;if(E(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Se.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Cs(t.next,i),error:t.error&&Cs(t.error,i),complete:t.complete&&Cs(t.complete,i)}):o=t}this.destination=new bs(o)}};function qr(e){Se.useDeprecatedSynchronousErrorHandling?gl(e):Wr(e)}function om(e){throw e}function ws(e,t){let{onStoppedNotification:n}=Se;n&&sn.setTimeout(()=>n(e,t))}var im={closed:!0,next:Ke,error:om,complete:Ke};var cn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ee(e){return e}function sm(...e){return _s(e)}function _s(e){return e.length===0?ee:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var T=(()=>{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=cm(n)?n:new Me(n,r,o);return an(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=ml(r),new r((o,i)=>{let s=new Me({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)}[cn](){return this}pipe(...n){return _s(n)(this)}toPromise(n){return n=ml(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 ml(e){var t;return(t=e??Se.Promise)!==null&&t!==void 0?t:Promise}function am(e){return e&&E(e.next)&&E(e.error)&&E(e.complete)}function cm(e){return e&&e instanceof Tt||am(e)&&Gr(e)}var yl=on(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var le=(()=>{class e extends T{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Zr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new yl}next(n){an(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){an(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){an(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Es:(this.currentObservers=null,i.push(n),new G(()=>{this.currentObservers=null,bt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new T;return n.source=this,n}}return e.create=(t,n)=>new Zr(t,n),e})(),Zr=class extends le{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Es}};var Ne=on(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function um(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new Me({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new Ne)}});e.subscribe(i)})}var Yr=class extends G{constructor(t,n){super()}schedule(t,n=0){return this}};var $n={setInterval(e,t,...n){let{delegate:r}=$n;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=$n;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Qr=class extends Yr{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return $n.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&$n.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,bt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Un={now(){return(Un.delegate||Date).now()},delegate:void 0};var un=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)}};un.now=Un.now;var Kr=class extends un{constructor(t,n=un.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var St=new Kr(Qr),vl=St;function Ts(e){return E(e?.lift)}function _(e){return t=>{if(Ts(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 I(e,t,n,r,o){return new Ss(e,t,n,r,o)}var Ss=class extends Tt{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 Dl(e,t=St){return _((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,r.next(u)}};function c(){let u=s+e,l=t.now();if(l<u){o=this.schedule(void 0,u-l),r.add(o);return}a()}n.subscribe(I(r,u=>{i=u,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}var Mt=new T(e=>e.complete());function ln(e){return e<=0?()=>Mt:_((t,n)=>{let r=0;t.subscribe(I(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Ms(){return _((e,t)=>{let n=null;e._refCount++;let r=I(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Ns=class extends T{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Ts(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new G;let n=this.getSubject();t.add(this.source.subscribe(I(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=G.EMPTY)}return t}refCount(){return Ms()(this)}};var zn=class extends le{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Jr=class extends le{constructor(t=1/0,n=1/0,r=Un){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};function Xr(e){return e&&E(e.schedule)}function El(e){return e[e.length-1]}function st(e){return E(El(e))?e.pop():void 0}function at(e){return Xr(El(e))?e.pop():void 0}function Cl(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function Il(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 Nt(e){return this instanceof Nt?(this.v=e,this):new Nt(e)}function wl(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(y){return new Promise(function(M,C){i.push([f,y,M,C])>1||c(f,y)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(y){p(i[0][3],y)}}function u(f){f.value instanceof Nt?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function bl(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 Il=="function"?Il(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var dn=e=>e&&typeof e.length=="number"&&typeof e!="function";function eo(e){return E(e?.then)}function to(e){return E(e[cn])}function no(e){return Symbol.asyncIterator&&E(e?.[Symbol.asyncIterator])}function ro(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 lm(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var oo=lm();function io(e){return E(e?.[oo])}function so(e){return wl(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Nt(n.read());if(o)return yield Nt(void 0);yield yield Nt(r)}}finally{n.releaseLock()}})}function ao(e){return E(e?.getReader)}function x(e){if(e instanceof T)return e;if(e!=null){if(to(e))return dm(e);if(dn(e))return fm(e);if(eo(e))return pm(e);if(no(e))return _l(e);if(io(e))return hm(e);if(ao(e))return gm(e)}throw ro(e)}function dm(e){return new T(t=>{let n=e[cn]();if(E(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function fm(e){return new T(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function pm(e){return new T(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Wr)})}function hm(e){return new T(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function _l(e){return new T(t=>{mm(e,t).catch(n=>t.error(n))})}function gm(e){return _l(so(e))}function mm(e,t){var n,r,o,i;return Cl(this,void 0,void 0,function*(){try{for(n=bl(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 de(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function co(e,t=0){return _((n,r)=>{n.subscribe(I(r,o=>de(r,e,()=>r.next(o),t),()=>de(r,e,()=>r.complete(),t),o=>de(r,e,()=>r.error(o),t)))})}function uo(e,t=0){return _((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Tl(e,t){return x(e).pipe(uo(t),co(t))}function Sl(e,t){return x(e).pipe(uo(t),co(t))}function Ml(e,t){return new T(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Nl(e,t){return new T(n=>{let r;return de(n,t,()=>{r=e[oo](),de(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>E(r?.return)&&r.return()})}function lo(e,t){if(!e)throw new Error("Iterable cannot be null");return new T(n=>{de(n,t,()=>{let r=e[Symbol.asyncIterator]();de(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function xl(e,t){return lo(so(e),t)}function Al(e,t){if(e!=null){if(to(e))return Tl(e,t);if(dn(e))return Ml(e,t);if(eo(e))return Sl(e,t);if(no(e))return lo(e,t);if(io(e))return Nl(e,t);if(ao(e))return xl(e,t)}throw ro(e)}function ct(e,t){return t?Al(e,t):x(e)}function xs(...e){let t=at(e);return ct(e,t)}function ym(e,t){let n=E(e)?e:()=>e,r=o=>o.error(n());return new T(t?o=>t.schedule(r,0,o):r)}function vm(e){return!!e&&(e instanceof T||E(e.lift)&&E(e.subscribe))}function Dm(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=!1,s;e.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?r(s):n?r(t.defaultValue):o(new Ne)}})})}function Rl(e){return e instanceof Date&&!isNaN(e)}function Je(e,t){return _((n,r)=>{let o=0;n.subscribe(I(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Em}=Array;function Im(e,t){return Em(t)?e(...t):e(t)}function fn(e){return Je(t=>Im(e,t))}var{isArray:Cm}=Array,{getPrototypeOf:wm,prototype:bm,keys:_m}=Object;function fo(e){if(e.length===1){let t=e[0];if(Cm(t))return{args:t,keys:null};if(Tm(t)){let n=_m(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Tm(e){return e&&typeof e=="object"&&wm(e)===bm}function po(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Sm(...e){let t=at(e),n=st(e),{args:r,keys:o}=fo(e);if(r.length===0)return ct([],t);let i=new T(Mm(r,t,o?s=>po(o,s):ee));return n?i.pipe(fn(n)):i}function Mm(e,t,n=ee){return r=>{Ol(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Ol(t,()=>{let u=ct(e[c],t),l=!1;u.subscribe(I(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Ol(e,t,n){e?de(n,e,t):t()}function Fl(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=y=>u<r?h(y):c.push(y),h=y=>{i&&t.next(y),u++;let M=!1;x(n(y,l++)).subscribe(I(t,C=>{o?.(C),i?f(C):t.next(C)},()=>{M=!0},void 0,()=>{if(M)try{for(u--;c.length&&u<r;){let C=c.shift();s?de(t,s,()=>h(C)):h(C)}p()}catch(C){t.error(C)}}))};return e.subscribe(I(t,f,()=>{d=!0,p()})),()=>{a?.()}}function xe(e,t,n=1/0){return E(t)?xe((r,o)=>Je((i,s)=>t(r,i,o,s))(x(e(r,o))),n):(typeof t=="number"&&(n=t),_((r,o)=>Fl(r,o,e,n)))}function As(e=1/0){return xe(ee,e)}function kl(){return As(1)}function ut(...e){return kl()(ct(e,at(e)))}function Nm(e){return new T(t=>{x(e()).subscribe(t)})}function xm(...e){let t=st(e),{args:n,keys:r}=fo(e),o=new T(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;x(n[l]).subscribe(I(i,p=>{d||(d=!0,u--),a[l]=p},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?po(r,a):a),i.complete())}))}});return t?o.pipe(fn(t)):o}var Am=["addListener","removeListener"],Rm=["addEventListener","removeEventListener"],Om=["on","off"];function Rs(e,t,n,r){if(E(n)&&(r=n,n=void 0),r)return Rs(e,t,n).pipe(fn(r));let[o,i]=Pm(e)?Rm.map(s=>a=>e[s](t,a,n)):Fm(e)?Am.map(Pl(e,t)):km(e)?Om.map(Pl(e,t)):[];if(!o&&dn(e))return xe(s=>Rs(s,t,n))(x(e));if(!o)throw new TypeError("Invalid event target");return new T(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Pl(e,t){return n=>r=>e[n](t,r)}function Fm(e){return E(e.addListener)&&E(e.removeListener)}function km(e){return E(e.on)&&E(e.off)}function Pm(e){return E(e.addEventListener)&&E(e.removeEventListener)}function Gn(e=0,t,n=vl){let r=-1;return t!=null&&(Xr(t)?n=t:r=t),new T(o=>{let i=Rl(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Lm(e=0,t=St){return e<0&&(e=0),Gn(e,e,t)}var{isArray:jm}=Array;function ho(e){return e.length===1&&jm(e[0])?e[0]:e}function xt(e,t){return _((n,r)=>{let o=0;n.subscribe(I(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Vm(...e){return e=ho(e),e.length===1?x(e[0]):new T(Bm(e))}function Bm(e){return t=>{let n=[];for(let r=0;n&&!t.closed&&r<e.length;r++)n.push(x(e[r]).subscribe(I(t,o=>{if(n){for(let i=0;i<n.length;i++)i!==r&&n[i].unsubscribe();n=null}t.next(o)})))}}function Hm(...e){let t=st(e),n=ho(e);return n.length?new T(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)x(n[s]).subscribe(I(r,a=>{if(o[s].push(a),o.every(c=>c.length)){let c=o.map(u=>u.shift());r.next(t?t(...c):c),o.some((u,l)=>!u.length&&i[l])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):Mt}function Ll(e){return _((t,n)=>{let r=null,o=!1,i;r=t.subscribe(I(n,void 0,void 0,s=>{i=x(e(s,Ll(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function jl(e,t,n,r,o){return(i,s)=>{let a=n,c=t,u=0;i.subscribe(I(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function $m(e,t){return E(t)?xe(e,t,1):xe(e,1)}function Wn(e){return _((t,n)=>{let r=!1;t.subscribe(I(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Vl(){return _((e,t)=>{e.subscribe(I(t,Ke))})}function Bl(e){return Je(()=>e)}function Os(e,t){return t?n=>ut(t.pipe(ln(1),Vl()),n.pipe(Os(e))):xe((n,r)=>x(e(n,r)).pipe(ln(1),Bl(n)))}function Um(e,t=St){let n=Gn(e,t);return Os(()=>n)}function zm(e,t=ee){return e=e??Gm,_((n,r)=>{let o,i=!0;n.subscribe(I(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Gm(e,t){return e===t}function go(e=Wm){return _((t,n)=>{let r=!1;t.subscribe(I(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Wm(){return new Ne}function qm(...e){return t=>ut(t,xs(...e))}function Zm(e){return _((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Ym(e,t){let n=arguments.length>=2;return r=>r.pipe(e?xt((o,i)=>e(o,i,r)):ee,ln(1),n?Wn(t):go(()=>new Ne))}function Fs(e){return e<=0?()=>Mt:_((t,n)=>{let r=[];t.subscribe(I(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 Qm(e,t){let n=arguments.length>=2;return r=>r.pipe(e?xt((o,i)=>e(o,i,r)):ee,Fs(1),n?Wn(t):go(()=>new Ne))}function Km(e,t){return _(jl(e,t,arguments.length>=2,!0))}function Ps(e={}){let{connector:t=()=>new le,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,l=d=!1},h=()=>{let y=s;f(),y?.unsubscribe()};return _((y,M)=>{u++,!d&&!l&&p();let C=c=c??t();M.add(()=>{u--,u===0&&!d&&!l&&(a=ks(h,o))}),C.subscribe(M),!s&&u>0&&(s=new Me({next:X=>C.next(X),error:X=>{d=!0,p(),a=ks(f,n,X),C.error(X)},complete:()=>{l=!0,p(),a=ks(f,r),C.complete()}}),x(y).subscribe(s))})(i)}}function ks(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Me({next:()=>{r.unsubscribe(),e()}});return x(t(...n)).subscribe(r)}function Jm(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Ps({connector:()=>new Jr(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Xm(e){return xt((t,n)=>e<=n)}function ey(...e){let t=at(e);return _((n,r)=>{(t?ut(e,n,t):ut(e,n)).subscribe(r)})}function Hl(e,t){return _((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(I(r,c=>{o?.unsubscribe();let u=0,l=i++;x(e(c,l)).subscribe(o=I(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function $l(e){return _((t,n)=>{x(e).subscribe(I(n,()=>n.complete(),Ke)),!n.closed&&t.subscribe(n)})}function ty(e,t,n){let r=E(e)||t||n?{next:e,error:t,complete:n}:e;return r?_((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(I(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):ee}function ny(...e){let t=st(e);return _((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)x(e[c]).subscribe(I(r,u=>{i[c]=u,!a&&!s[c]&&(s[c]=!0,(a=s.every(ee))&&(s=null))},Ke));n.subscribe(I(r,c=>{if(a){let u=[c,...i];r.next(t?t(...u):u)}}))})}var Ls;function mo(){return Ls}function je(e){let t=Ls;return Ls=e,t}var Ul=Symbol("NotFound"),qn=class extends Error{name="\u0275NotFound";constructor(t){super(t)}};function At(e){return e===Ul||e?.name==="\u0275NotFound"}function Io(e,t){return Object.is(e,t)}var Z=null,yo=!1,js=1,ry=null,Y=Symbol("SIGNAL");function w(e){let t=Z;return Z=e,t}function Co(){return Z}var Rt={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Ot(e){if(yo)throw new Error("");if(Z===null)return;Z.consumerOnSignalRead(e);let t=Z.nextProducerIndex++;if(To(Z),t<Z.producerNode.length&&Z.producerNode[t]!==e&&Yn(Z)){let n=Z.producerNode[t];_o(n,Z.producerIndexOfThis[t])}Z.producerNode[t]!==e&&(Z.producerNode[t]=e,Z.producerIndexOfThis[t]=Yn(Z)?Gl(e,Z,t):0),Z.producerLastReadVersion[t]=e.version}function zl(){js++}function wo(e){if(!(Yn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===js)){if(!e.producerMustRecompute(e)&&!Qn(e)){Eo(e);return}e.producerRecomputeValue(e),Eo(e)}}function Vs(e){if(e.liveConsumerNode===void 0)return;let t=yo;yo=!0;try{for(let n of e.liveConsumerNode)n.dirty||oy(n)}finally{yo=t}}function Bs(){return Z?.consumerAllowSignalWrites!==!1}function oy(e){e.dirty=!0,Vs(e),e.consumerMarkedDirty?.(e)}function Eo(e){e.dirty=!1,e.lastCleanEpoch=js}function Ft(e){return e&&(e.nextProducerIndex=0),w(e)}function pn(e,t){if(w(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Yn(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)_o(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Qn(e){To(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(wo(n),r!==n.version))return!0}return!1}function bo(e){if(To(e),Yn(e))for(let t=0;t<e.producerNode.length;t++)_o(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Gl(e,t,n){if(Wl(e),e.liveConsumerNode.length===0&&ql(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Gl(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function _o(e,t){if(Wl(e),e.liveConsumerNode.length===1&&ql(e))for(let r=0;r<e.producerNode.length;r++)_o(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];To(o),o.producerIndexOfThis[r]=t}}function Yn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function To(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Wl(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function ql(e){return e.producerNode!==void 0}function So(e){ry?.(e)}function Kn(e,t){let n=Object.create(iy);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(wo(n),Ot(n),n.value===Zn)throw n.error;return n.value};return r[Y]=n,So(n),r}var vo=Symbol("UNSET"),Do=Symbol("COMPUTING"),Zn=Symbol("ERRORED"),iy=ne(te({},Rt),{value:vo,dirty:!0,error:null,equal:Io,kind:"computed",producerMustRecompute(e){return e.value===vo||e.value===Do},producerRecomputeValue(e){if(e.value===Do)throw new Error("");let t=e.value;e.value=Do;let n=Ft(e),r,o=!1;try{r=e.computation(),w(null),o=t!==vo&&t!==Zn&&r!==Zn&&e.equal(t,r)}catch(i){r=Zn,e.error=i}finally{pn(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function sy(){throw new Error}var Zl=sy;function Yl(e){Zl(e)}function Hs(e){Zl=e}var ay=null;function $s(e,t){let n=Object.create(Mo);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Ql(n);return r[Y]=n,So(n),[r,s=>kt(n,s),s=>Us(n,s)]}function Ql(e){return Ot(e),e.value}function kt(e,t){Bs()||Yl(e),e.equal(e.value,t)||(e.value=t,cy(e))}function Us(e,t){Bs()||Yl(e),kt(e,t(e.value))}var Mo=ne(te({},Rt),{equal:Io,value:void 0,kind:"signal"});function cy(e){e.version++,zl(),Vs(e),ay?.(e)}function Kl(e){let t=w(null);try{return e()}finally{w(t)}}var Fo="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",v=class extends Error{code;constructor(t,n){super(ft(t,n)),this.code=t}};function uy(e){return`NG0${Math.abs(e)}`}function ft(e,t){return`${uy(e)}${t?": "+t:""}`}var He=globalThis;function j(e){for(let t in e)if(e[t]===j)return t;throw Error("")}function td(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function fe(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(fe).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 ko(e,t){return e?t?`${e} ${t}`:e:t||""}var ly=j({__forward_ref__:j});function Po(e){return e.__forward_ref__=Po,e.toString=function(){return fe(this())},e}function Q(e){return ta(e)?e():e}function ta(e){return typeof e=="function"&&e.hasOwnProperty(ly)&&e.__forward_ref__===Po}function nd(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(r==null?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function A(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function tr(e){return{providers:e.providers||[],imports:e.imports||[]}}function nr(e){return fy(e,Lo)}function dy(e){return nr(e)!==null}function fy(e,t){return e.hasOwnProperty(t)&&e[t]||null}function py(e){let t=e?.[Lo]??null;return t||null}function Gs(e){return e&&e.hasOwnProperty(xo)?e[xo]:null}var Lo=j({\u0275prov:j}),xo=j({\u0275inj:j}),N=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=A({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function na(e){return e&&!!e.\u0275providers}var ra=j({\u0275cmp:j}),oa=j({\u0275dir:j}),ia=j({\u0275pipe:j}),sa=j({\u0275mod:j}),Xn=j({\u0275fac:j}),Bt=j({__NG_ELEMENT_ID__:j}),Jl=j({__NG_ENV_ID__:j});function W(e){return typeof e=="string"?e:e==null?"":String(e)}function rd(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():W(e)}function aa(e,t){throw new v(-200,e)}function jo(e,t){throw new v(-201,!1)}var Ws;function od(){return Ws}function se(e){let t=Ws;return Ws=e,t}function ca(e,t,n){let r=nr(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;jo(e,"Injector")}var hy={},Pt=hy,qs="__NG_DI_FLAG__",Zs=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Lt(n)||0;try{return this.injector.get(t,r&8?null:Pt,r)}catch(o){if(At(o))return o;throw o}}},Ao="ngTempTokenPath",gy="ngTokenPath",my=/\n/gm,yy="\u0275",Xl="__source";function vy(e,t=0){let n=mo();if(n===void 0)throw new v(-203,!1);if(n===null)return ca(e,void 0,t);{let r=Dy(t),o=n.retrieve(e,r);if(At(o)){if(r.optional)return null;throw o}return o}}function B(e,t=0){return(od()||vy)(Q(e),t)}function g(e,t){return B(e,Lt(t))}function Lt(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Dy(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=Q(e[n]);if(Array.isArray(r)){if(r.length===0)throw new v(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=Ey(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(B(o,i))}else t.push(B(r))}return t}function ua(e,t){return e[qs]=t,e.prototype[qs]=t,e}function Ey(e){return e[qs]}function Iy(e,t,n,r){let o=e[Ao];throw t[Xl]&&o.unshift(t[Xl]),e.message=Cy(`
5
+ `+e.message,o,n,r),e[gy]=o,e[Ao]=null,e}function Cy(e,t,n,r=null){e=e&&e.charAt(0)===`
6
+ `&&e.charAt(1)==yy?e.slice(2):e;let o=fe(t);if(Array.isArray(t))o=t.map(fe).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):fe(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(my,`
7
+ `)}`}function lt(e,t){let n=e.hasOwnProperty(Xn);return n?e[Xn]:null}function id(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function sd(e){return e.flat(Number.POSITIVE_INFINITY)}function Vo(e,t){e.forEach(n=>Array.isArray(n)?Vo(n,t):t(n))}function la(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function rr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ad(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function cd(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 Bo(e,t,n){let r=gn(e,t);return r>=0?e[r|1]=n:(r=~r,cd(e,r,t,n)),r}function Ho(e,t){let n=gn(e,t);if(n>=0)return e[n|1]}function gn(e,t){return wy(e,t,1)}function wy(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 Ae={},re=[],Ht=new N(""),da=new N("",-1),fa=new N(""),er=class{get(t,n=Pt){if(n===Pt)throw new qn(`NullInjectorError: No provider for ${fe(t)}!`);return n}};function pa(e){return e[sa]||null}function $e(e){return e[ra]||null}function $o(e){return e[oa]||null}function ud(e){return e[ia]||null}function ha(e){return{\u0275providers:e}}function ld(...e){return{\u0275providers:ga(!0,e),\u0275fromNgModule:!0}}function ga(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Vo(t,s=>{let a=s;Ro(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&dd(o,i),n}function dd(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];ma(o,i=>{t(i,r)})}}function Ro(e,t,n,r){if(e=Q(e),!e)return!1;let o=null,i=Gs(e),s=!i&&$e(e);if(!i&&!s){let c=e.ngModule;if(i=Gs(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Ro(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{Vo(i.imports,l=>{Ro(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&dd(u,t)}if(!a){let u=lt(o)||(()=>new o);t({provide:o,useFactory:u,deps:re},o),t({provide:fa,useValue:o,multi:!0},o),t({provide:Ht,useValue:()=>B(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;ma(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function ma(e,t){for(let n of e)na(n)&&(n=n.\u0275providers),Array.isArray(n)?ma(n,t):t(n)}var by=j({provide:String,useValue:j});function fd(e){return e!==null&&typeof e=="object"&&by in e}function _y(e){return!!(e&&e.useExisting)}function Ty(e){return!!(e&&e.useFactory)}function jt(e){return typeof e=="function"}function pd(e){return!!e.useClass}var ya=new N(""),No={},ed={},zs;function mn(){return zs===void 0&&(zs=new er),zs}var ve=class{},Vt=class extends ve{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Ks(t,s=>this.processProvider(s)),this.records.set(da,hn(void 0,this)),o.has("environment")&&this.records.set(ve,hn(void 0,this));let i=this.records.get(ya);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(fa,re,{self:!0}))}retrieve(t,n){let r=Lt(n)||0;try{return this.get(t,Pt,r)}catch(o){if(At(o))return o;throw o}}destroy(){Jn(this),this._destroyed=!0;let t=w(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),w(t)}}onDestroy(t){return Jn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Jn(this);let n=je(this),r=se(void 0),o;try{return t()}finally{je(n),se(r)}}get(t,n=Pt,r){if(Jn(this),t.hasOwnProperty(Jl))return t[Jl](this);let o=Lt(r),i,s=je(this),a=se(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=Ay(t)&&nr(t);l&&this.injectableDefInScope(l)?u=hn(Qs(t),No):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?mn():this.parent;return n=o&8&&n===Pt?null:n,c.get(t,n)}catch(c){if(At(c)){if((c[Ao]=c[Ao]||[]).unshift(fe(t)),s)throw c;return Iy(c,t,"R3InjectorError",this.source)}else throw c}finally{se(a),je(s)}}resolveInjectorInitializers(){let t=w(null),n=je(this),r=se(void 0),o;try{let i=this.get(Ht,re,{self:!0});for(let s of i)s()}finally{je(n),se(r),w(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(fe(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Q(t);let n=jt(t)?t:Q(t&&t.provide),r=My(t);if(!jt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=hn(void 0,No,!0),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=w(null);try{return n.value===ed?aa(fe(t)):n.value===No&&(n.value=ed,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&xy(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{w(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Q(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 Qs(e){let t=nr(e),n=t!==null?t.factory:lt(e);if(n!==null)return n;if(e instanceof N)throw new v(204,!1);if(e instanceof Function)return Sy(e);throw new v(204,!1)}function Sy(e){if(e.length>0)throw new v(204,!1);let n=py(e);return n!==null?()=>n.factory(e):()=>new e}function My(e){if(fd(e))return hn(void 0,e.useValue);{let t=va(e);return hn(t,No)}}function va(e,t,n){let r;if(jt(e)){let o=Q(e);return lt(o)||Qs(o)}else if(fd(e))r=()=>Q(e.useValue);else if(Ty(e))r=()=>e.useFactory(...Ys(e.deps||[]));else if(_y(e))r=(o,i)=>B(Q(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=Q(e&&(e.useClass||e.provide));if(Ny(e))r=()=>new o(...Ys(e.deps));else return lt(o)||Qs(o)}return r}function Jn(e){if(e.destroyed)throw new v(205,!1)}function hn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ny(e){return!!e.deps}function xy(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Ay(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Ks(e,t){for(let n of e)Array.isArray(n)?Ks(n,t):n&&na(n)?Ks(n.\u0275providers,t):t(n)}function Uo(e,t){let n;e instanceof Vt?(Jn(e),n=e):n=new Zs(e);let r,o=je(n),i=se(void 0);try{return t()}finally{je(o),se(i)}}function Da(){return od()!==void 0||mo()!=null}var Ee=0,D=1,b=2,K=3,Ie=4,ae=5,$t=6,yn=7,H=8,Ut=9,Ue=10,R=11,vn=12,Ea=13,zt=14,ce=15,pt=16,Gt=17,ze=18,or=19,Ia=20,Xe=21,zo=22,Dn=23,me=24,Wt=25,k=26,Ca=1,wa=6,ht=7,ir=8,qt=9,J=10;function Ge(e){return Array.isArray(e)&&typeof e[Ca]=="object"}function Re(e){return Array.isArray(e)&&e[Ca]===!0}function ba(e){return(e.flags&4)!==0}function gt(e){return e.componentOffset>-1}function En(e){return(e.flags&1)===1}function Ce(e){return!!e.template}function In(e){return(e[b]&512)!==0}function Zt(e){return(e[b]&256)===256}var _a="svg",hd="math";function we(e){for(;Array.isArray(e);)e=e[Ee];return e}function Ta(e){for(;Array.isArray(e);){if(typeof e[Ca]=="object")return e;e=e[Ee]}return null}function Sa(e,t){return we(t[e])}function Oe(e,t){return we(t[e.index])}function sr(e,t){return e.data[t]}function Go(e,t){return e[t]}function Ma(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function be(e,t){let n=t[e];return Ge(n)?n:n[Ee]}function gd(e){return(e[b]&4)===4}function Wo(e){return(e[b]&128)===128}function md(e){return Re(e[K])}function _e(e,t){return t==null?null:e[t]}function Na(e){e[Gt]=0}function xa(e){e[b]&1024||(e[b]|=1024,Wo(e)&&Yt(e))}function yd(e,t){for(;e>0;)t=t[zt],e--;return t}function ar(e){return!!(e[b]&9216||e[me]?.dirty)}function qo(e){e[Ue].changeDetectionScheduler?.notify(8),e[b]&64&&(e[b]|=1024),ar(e)&&Yt(e)}function Yt(e){e[Ue].changeDetectionScheduler?.notify(0);let t=dt(e);for(;t!==null&&!(t[b]&8192||(t[b]|=8192,!Wo(t)));)t=dt(t)}function Aa(e,t){if(Zt(e))throw new v(911,!1);e[Xe]===null&&(e[Xe]=[]),e[Xe].push(t)}function vd(e,t){if(e[Xe]===null)return;let n=e[Xe].indexOf(t);n!==-1&&e[Xe].splice(n,1)}function dt(e){let t=e[K];return Re(t)?t[K]:t}function Ra(e){return e[yn]??=[]}function Oa(e){return e.cleanup??=[]}function Dd(e,t,n,r){let o=Ra(t);o.push(n),e.firstCreatePass&&Oa(e).push(r,o.length-1)}var S={lFrame:Ad(null),bindingsEnabled:!0,skipHydrationRootTNode:null},cr=function(e){return e[e.Off=0]="Off",e[e.Exhaustive=1]="Exhaustive",e[e.OnlyDirtyViews=2]="OnlyDirtyViews",e}(cr||{}),Ry=0,Js=!1;function Ed(){return S.lFrame.elementDepthCount}function Id(){S.lFrame.elementDepthCount++}function Fa(){S.lFrame.elementDepthCount--}function Zo(){return S.bindingsEnabled}function ka(){return S.skipHydrationRootTNode!==null}function Pa(e){return S.skipHydrationRootTNode===e}function La(){S.skipHydrationRootTNode=null}function m(){return S.lFrame.lView}function P(){return S.lFrame.tView}function Cd(e){return S.lFrame.contextLView=e,e[H]}function wd(e){return S.lFrame.contextLView=null,e}function $(){let e=ja();for(;e!==null&&e.type===64;)e=e.parent;return e}function ja(){return S.lFrame.currentTNode}function bd(){let e=S.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Cn(e,t){let n=S.lFrame;n.currentTNode=e,n.isParent=t}function Va(){return S.lFrame.isParent}function Ba(){S.lFrame.isParent=!1}function _d(){return S.lFrame.contextLView}function Ha(e){nd("Must never be called in production mode"),Ry=e}function $a(){return Js}function Yo(e){let t=Js;return Js=e,t}function mt(){let e=S.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ur(){return S.lFrame.bindingIndex}function Td(e){return S.lFrame.bindingIndex=e}function et(){return S.lFrame.bindingIndex++}function Qt(e){let t=S.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Sd(){return S.lFrame.inI18n}function Md(e,t){let n=S.lFrame;n.bindingIndex=n.bindingRootIndex=e,Qo(t)}function Nd(){return S.lFrame.currentDirectiveIndex}function Qo(e){S.lFrame.currentDirectiveIndex=e}function Ua(e){let t=S.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Ko(){return S.lFrame.currentQueryIndex}function lr(e){S.lFrame.currentQueryIndex=e}function Oy(e){let t=e[D];return t.type===2?t.declTNode:t.type===1?e[ae]:null}function za(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Oy(i),o===null||(i=i[zt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=S.lFrame=xd();return r.currentTNode=t,r.lView=e,!0}function Jo(e){let t=xd(),n=e[D];S.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function xd(){let e=S.lFrame,t=e===null?null:e.child;return t===null?Ad(e):t}function Ad(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Rd(){let e=S.lFrame;return S.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ga=Rd;function Xo(){let e=Rd();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Od(e){return(S.lFrame.contextLView=yd(e,S.lFrame.contextLView))[H]}function ye(){return S.lFrame.selectedIndex}function yt(e){S.lFrame.selectedIndex=e}function wn(){let e=S.lFrame;return sr(e.tView,e.selectedIndex)}function Fd(){S.lFrame.currentNamespace=_a}function kd(){return S.lFrame.currentNamespace}var Pd=!0;function ei(){return Pd}function dr(e){Pd=e}function Xs(e,t=null,n=null,r){let o=Wa(e,t,n,r);return o.resolveInjectorInitializers(),o}function Wa(e,t=null,n=null,r,o=new Set){let i=[n||re,ld(e)];return r=r||(typeof e=="object"?void 0:fe(e)),new Vt(i,t||mn(),r||null,o)}var De=class e{static THROW_IF_NOT_FOUND=Pt;static NULL=new er;static create(t,n){if(Array.isArray(t))return Xs({name:""},n,t,"");{let r=t.name??"";return Xs({name:r},t.parent,t.providers,r)}}static \u0275prov=A({token:e,providedIn:"any",factory:()=>B(da)});static __NG_ELEMENT_ID__=-1},Kt=new N(""),vt=(()=>{class e{static __NG_ELEMENT_ID__=Fy;static __NG_ENV_ID__=n=>n}return e})(),Oo=class extends vt{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Zt(this._lView)}onDestroy(t){let n=this._lView;return Aa(n,t),()=>vd(n,t)}};function Fy(){return new Oo(m())}var Ve=class{_console=console;handleError(t){this._console.error("ERROR",t)}},We=new N("",{providedIn:"root",factory:()=>{let e=g(ve),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(Ve),t.handleError(n))}}}),Ld={provide:Ht,useValue:()=>void g(Ve),multi:!0};function qa(e){return typeof e=="function"&&e[Y]!==void 0}function ti(e,t){let[n,r,o]=$s(e,t?.equal),i=n,s=i[Y];return i.set=r,i.update=o,i.asReadonly=ni.bind(i),i}function ni(){let e=this[Y];if(e.readonlyFn===void 0){let t=()=>this();t[Y]=e,e.readonlyFn=t}return e.readonlyFn}function Za(e){return qa(e)&&typeof e.set=="function"}var Be=class{},ri=new N("",{providedIn:"root",factory:()=>!1});var Ya=new N(""),Qa=new N("");var fr=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=ky}return e})();function ky(){return new fr(m(),$())}var Jt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new zn(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new T(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=A({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ka=(()=>{class e{internalPendingTasks=g(Jt);scheduler=g(Be);errorHandler=g(We);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=A({token:e,providedIn:"root",factory:()=>new e})}return e})();function bn(...e){}var oi=(()=>{class e{static \u0275prov=A({token:e,providedIn:"root",factory:()=>new ea})}return e})(),ea=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};function On(e){return{toString:e}.toString()}var ii="__parameters__";function $y(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Ef(e,t,n){return On(()=>{let r=$y(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(ii)?c[ii]:Object.defineProperty(c,ii,{value:[]})[ii];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var qc=ua(Ef("Optional"),8);var Zc=ua(Ef("SkipSelf"),4);function Uy(e){return typeof e=="function"}var gi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function If(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var br=(()=>{let e=()=>Cf;return e.ngInherit=!0,e})();function Cf(e){return e.type.prototype.ngOnChanges&&(e.setInput=Gy),zy}function zy(){let e=bf(this),t=e?.current;if(t){let n=e.previous;if(n===Ae)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Gy(e,t,n,r,o){let i=this.declaredInputs[r],s=bf(e)||Wy(e,{previous:Ae,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new gi(u&&u.currentValue,n,c===Ae),If(e,t,o,n)}var wf="__ngSimpleChanges__";function bf(e){return e[wf]||null}function Wy(e,t){return e[wf]=t}var jd=[];var O=function(e,t=null,n){for(let r=0;r<jd.length;r++){let o=jd[r];o(e,t,n)}};function qy(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Cf(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 _f(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function li(e,t,n){Tf(e,t,3,n)}function di(e,t,n,r){(e[b]&3)===n&&Tf(e,t,n,r)}function Ja(e,t){let n=e[b];(n&3)===t&&(n&=16383,n+=1,e[b]=n)}function Tf(e,t,n,r){let o=r!==void 0?e[Gt]&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[Gt]+=65536),(a<i||i==-1)&&(Zy(e,n,t,c),e[Gt]=(e[Gt]&4294901760)+c+2),c++}function Vd(e,t){O(4,e,t);let n=w(null);try{t.call(e)}finally{w(n),O(5,e,t)}}function Zy(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[b]>>14<e[Gt]>>16&&(e[b]&3)===t&&(e[b]+=16384,Vd(a,i)):Vd(a,i)}var Tn=-1,tn=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Yy(e){return(e.flags&8)!==0}function Qy(e){return(e.flags&16)!==0}function Ky(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];Jy(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Sf(e){return e===3||e===4||e===6}function Jy(e){return e.charCodeAt(0)===64}function Sn(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?Bd(e,n,o,null,t[++r]):Bd(e,n,o,null,null))}}return e}function Bd(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 Mf(e){return e!==Tn}function mi(e){return e&32767}function Xy(e){return e>>16}function yi(e,t){let n=Xy(e),r=t;for(;n>0;)r=r[zt],n--;return r}var cc=!0;function vi(e){let t=cc;return cc=e,t}var ev=256,Nf=ev-1,xf=5,tv=0,qe={};function nv(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Bt)&&(r=n[Bt]),r==null&&(r=n[Bt]=tv++);let o=r&Nf,i=1<<o;t.data[e+(o>>xf)]|=i}function Di(e,t){let n=Af(e,t);if(n!==-1)return n;let r=t[D];r.firstCreatePass&&(e.injectorIndex=t.length,Xa(r.data,e),Xa(t,null),Xa(r.blueprint,null));let o=Yc(e,t),i=e.injectorIndex;if(Mf(o)){let s=mi(o),a=yi(o,t),c=a[D].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Xa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Af(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=Pf(o),r===null)return Tn;if(n++,o=o[zt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Tn}function uc(e,t,n){nv(e,t,n)}function rv(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(Sf(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 Rf(e,t,n){if(n&8||e!==void 0)return e;jo(t,"NodeInjector")}function Of(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Ut],i=se(void 0);try{return o?o.get(t,r,n&8):ca(t,r,n&8)}finally{se(i)}}return Rf(r,t,n)}function Ff(e,t,n,r=0,o){if(e!==null){if(t[b]&2048&&!(r&2)){let s=cv(e,t,n,r,qe);if(s!==qe)return s}let i=kf(e,t,n,r,qe);if(i!==qe)return i}return Of(t,n,r,o)}function kf(e,t,n,r,o){let i=iv(n);if(typeof i=="function"){if(!za(t,e,r))return r&1?Rf(o,n,r):Of(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))jo(n);else return s}finally{Ga()}}else if(typeof i=="number"){let s=null,a=Af(e,t),c=Tn,u=r&1?t[ce][ae]:null;for((a===-1||r&4)&&(c=a===-1?Yc(e,t):t[a+8],c===Tn||!$d(r,!1)?a=-1:(s=t[D],a=mi(c),t=yi(c,t)));a!==-1;){let l=t[D];if(Hd(i,a,l.data)){let d=ov(a,t,n,s,r,u);if(d!==qe)return d}c=t[a+8],c!==Tn&&$d(r,t[D].data[a+8]===u)&&Hd(i,a,t)?(s=l,a=mi(c),t=yi(c,t)):a=-1}}return o}function ov(e,t,n,r,o,i){let s=t[D],a=s.data[e+8],c=r==null?gt(a)&&cc:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=fi(a,s,n,c,u);return l!==null?mr(t,s,l,a,o):qe}function fi(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:u;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&Ce(f)&&f.type===n)return c}return null}function mr(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof tn){let a=i;a.resolving&&aa(rd(s[n]));let c=vi(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?se(a.injectImpl):null,p=za(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&qy(n,s[n],t)}finally{d!==null&&se(d),vi(c),a.resolving=!1,Ga()}}return i}function iv(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Bt)?e[Bt]:void 0;return typeof t=="number"?t>=0?t&Nf:sv:t}function Hd(e,t,n){let r=1<<e;return!!(n[t+(e>>xf)]&r)}function $d(e,t){return!(e&2)&&!(e&1&&t)}var en=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Ff(this._tNode,this._lView,t,Lt(r),n)}};function sv(){return new en($(),m())}function av(e){return On(()=>{let t=e.prototype.constructor,n=t[Xn]||lc(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Xn]||lc(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function lc(e){return ta(e)?()=>{let t=lc(Q(e));return t&&t()}:lt(e)}function cv(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[b]&2048&&!In(s);){let a=kf(i,s,n,r|2,qe);if(a!==qe)return a;let c=i.parent;if(!c){let u=s[Ia];if(u){let l=u.get(n,qe,r);if(l!==qe)return l}c=Pf(s),s=s[zt]}i=c}return o}function Pf(e){let t=e[D],n=t.type;return n===2?t.declTNode:n===1?e[ae]:null}function Qc(e){return rv($(),e)}function uv(){return Fn($(),m())}function Fn(e,t){return new Ze(Oe(e,t))}var Ze=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=uv}return e})();function Lf(e){return e instanceof Ze?e.nativeElement:e}function lv(){return this._results[Symbol.iterator]()}var Ei=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new le}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=sd(t);(this._changesDetected=!id(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=lv};function jf(e){return(e.flags&128)===128}var Kc=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Kc||{}),Vf=new Map,dv=0;function fv(){return dv++}function pv(e){Vf.set(e[or],e)}function dc(e){Vf.delete(e[or])}var Ud="__ngContext__";function Mn(e,t){Ge(t)?(e[Ud]=t[or],pv(t)):e[Ud]=t}function Bf(e){return $f(e[vn])}function Hf(e){return $f(e[Ie])}function $f(e){for(;e!==null&&!Re(e);)e=e[Ie];return e}var fc;function hv(e){fc=e}function Jc(){if(fc!==void 0)return fc;if(typeof document<"u")return document;throw new v(210,!1)}var gv=new N("",{providedIn:"root",factory:()=>mv}),mv="ng",Uf=new N(""),yv=new N("",{providedIn:"platform",factory:()=>"unknown"});var vv=new N(""),Dv=new N("",{providedIn:"root",factory:()=>Jc().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Pi={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Li=new N("",{providedIn:"root",factory:()=>Pi});var Ev="h",Iv="b";var zf="r";var Gf="di";var Wf=!1,qf=new N("",{providedIn:"root",factory:()=>Wf});var Cv=(e,t,n,r)=>{};function wv(e,t,n,r){Cv(e,t,n,r)}function ji(e){return(e.flags&32)===32}var bv=()=>null;function Zf(e,t,n=!1){return bv(e,t,n)}function Yf(e,t){let n=e.contentQueries;if(n!==null){let r=w(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];lr(i),a.contentQueries(2,t[s],s)}}}finally{w(r)}}}function pc(e,t,n){lr(0);let r=w(null);try{t(e,n)}finally{w(r)}}function Xc(e,t,n){if(ba(t)){let r=w(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{w(r)}}}var Nn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Nn||{}),si;function Qf(){if(si===void 0&&(si=null,He.trustedTypes))try{si=He.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return si}function Vi(e){return Qf()?.createHTML(e)||e}function _v(e){return Qf()?.createScriptURL(e)||e}var ai;function Kf(){if(ai===void 0&&(ai=null,He.trustedTypes))try{ai=He.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ai}function zd(e){return Kf()?.createHTML(e)||e}function Gd(e){return Kf()?.createScriptURL(e)||e}var nt=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Fo})`}},hc=class extends nt{getTypeName(){return"HTML"}},gc=class extends nt{getTypeName(){return"Style"}},mc=class extends nt{getTypeName(){return"Script"}},yc=class extends nt{getTypeName(){return"URL"}},vc=class extends nt{getTypeName(){return"ResourceURL"}};function Ct(e){return e instanceof nt?e.changingThisBreaksApplicationSecurity:e}function Bi(e,t){let n=Jf(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Fo})`)}return n===t}function Jf(e){return e instanceof nt&&e.getTypeName()||null}function Tv(e){return new hc(e)}function Sv(e){return new gc(e)}function Mv(e){return new mc(e)}function Nv(e){return new yc(e)}function xv(e){return new vc(e)}function Av(e){let t=new Ec(e);return Rv()?new Dc(t):t}var Dc=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Vi(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Ec=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=Vi(t),n}};function Rv(){try{return!!new window.DOMParser().parseFromString(Vi(""),"text/html")}catch{return!1}}var Ov=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function eu(e){return e=String(e),e.match(Ov)?e:"unsafe:"+e}function rt(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function _r(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Xf=rt("area,br,col,hr,img,wbr"),ep=rt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),tp=rt("rp,rt"),Fv=_r(tp,ep),kv=_r(ep,rt("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")),Pv=_r(tp,rt("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")),Wd=_r(Xf,kv,Pv,Fv),np=rt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Lv=rt("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"),jv=rt("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"),Vv=_r(np,Lv,jv),Bv=rt("script,style,template"),Ic=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=Uv(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=$v(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=qd(t).toLowerCase();if(!Wd.hasOwnProperty(n))return this.sanitizedSomething=!0,!Bv.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(!Vv.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;np[a]&&(c=eu(c)),this.buf.push(" ",s,'="',Zd(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=qd(t).toLowerCase();Wd.hasOwnProperty(n)&&!Xf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Zd(t))}};function Hv(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function $v(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw rp(t);return t}function Uv(e){let t=e.firstChild;if(t&&Hv(e,t))throw rp(t);return t}function qd(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function rp(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var zv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Gv=/([^\#-~ |!])/g;function Zd(e){return e.replace(/&/g,"&amp;").replace(zv,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Gv,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var ci;function op(e,t){let n=null;try{ci=ci||Av(e);let r=t?String(t):"";n=ci.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=ci.getInertBodyElement(r)}while(r!==i);let a=new Ic().sanitizeChildren(Yd(n)||n);return Vi(a)}finally{if(n){let r=Yd(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Yd(e){return"content"in e&&Wv(e)?e.content:null}function Wv(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Tr=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}(Tr||{});function qv(e){let t=tu();return t?zd(t.sanitize(Tr.HTML,e)||""):Bi(e,"HTML")?zd(Ct(e)):op(Jc(),W(e))}function ip(e){let t=tu();return t?t.sanitize(Tr.URL,e)||"":Bi(e,"URL")?Ct(e):eu(W(e))}function sp(e){let t=tu();if(t)return Gd(t.sanitize(Tr.RESOURCE_URL,e)||"");if(Bi(e,"ResourceURL"))return Gd(Ct(e));throw new v(904,!1)}function Zv(e){return _v(e[0])}function Yv(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?sp:ip}function Qv(e,t,n){return Yv(t,n)(e)}function tu(){let e=m();return e&&e[Ue].sanitizer}var Kv=/^>|^->|<!--|-->|--!>|<!-$/g,Jv=/(<|>)/g,Xv="\u200B$1\u200B";function eD(e){return e.replace(Kv,t=>t.replace(Jv,Xv))}function tD(e){return e.ownerDocument.defaultView}function ap(e){return e instanceof Function?e():e}function nD(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var cp="ng-template";function rD(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&nD(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(nu(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function nu(e){return e.type===4&&e.value!==cp}function oD(e,t,n){let r=e.type===4&&!n?cp:e.value;return t===r}function iD(e,t,n){let r=4,o=e.attrs,i=o!==null?cD(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Fe(r)&&!Fe(c))return!1;if(s&&Fe(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!oD(e,c,n)||c===""&&t.length===1){if(Fe(r))return!1;s=!0}}else if(r&8){if(o===null||!rD(e,o,c,n)){if(Fe(r))return!1;s=!0}}else{let u=t[++a],l=sD(c,o,nu(e),n);if(l===-1){if(Fe(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Fe(r))return!1;s=!0}}}}return Fe(r)||s}function Fe(e){return(e&1)===0}function sD(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return uD(t,e)}function up(e,t,n=!1){for(let r=0;r<t.length;r++)if(iD(e,t[r],n))return!0;return!1}function aD(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function cD(e){for(let t=0;t<e.length;t++){let n=e[t];if(Sf(n))return t}return e.length}function uD(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 lD(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function Qd(e,t){return e?":not("+t.trim()+")":t}function dD(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Fe(s)&&(t+=Qd(i,o),o=""),r=s,i=i||!Fe(r);n++}return o!==""&&(t+=Qd(i,o)),t}function fD(e){return e.map(dD).join(",")}function pD(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!Fe(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var U={};function hD(e,t){return e.createText(t)}function gD(e,t,n){e.setValue(t,n)}function mD(e,t){return e.createComment(eD(t))}function lp(e,t,n){return e.createElement(t,n)}function Ii(e,t,n,r,o){e.insertBefore(t,n,r,o)}function dp(e,t,n){e.appendChild(t,n)}function Kd(e,t,n,r,o){r!==null?Ii(e,t,n,r,o):dp(e,t,n)}function fp(e,t,n){e.removeChild(null,t,n)}function yD(e,t,n){e.setAttribute(t,"style",n)}function vD(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function pp(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Ky(e,t,r),o!==null&&vD(e,t,o),i!==null&&yD(e,t,i)}function ru(e,t,n,r,o,i,s,a,c,u,l){let d=k+r,p=d+o,f=DD(d,p),h=typeof u=="function"?u():u;return f[D]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:l}}function DD(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:U);return n}function ED(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=ru(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ou(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[Ee]=o,d[b]=r|4|128|8|64|1024,(u!==null||e&&e[b]&2048)&&(d[b]|=2048),Na(d),d[K]=d[zt]=e,d[H]=n,d[Ue]=s||e&&e[Ue],d[R]=a||e&&e[R],d[Ut]=c||e&&e[Ut]||null,d[ae]=i,d[or]=fv(),d[$t]=l,d[Ia]=u,d[ce]=t.type==2?e[ce]:d,d}function ID(e,t,n){let r=Oe(t,e),o=ED(n),i=e[Ue].rendererFactory,s=iu(e,ou(e,o,null,hp(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function hp(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function gp(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 iu(e,t){return e[vn]?e[Ea][Ie]=t:e[vn]=t,e[Ea]=t,t}function CD(e=1){mp(P(),m(),ye()+e,!1)}function mp(e,t,n,r){if(!r)if((t[b]&3)===3){let i=e.preOrderCheckHooks;i!==null&&li(t,i,n)}else{let i=e.preOrderHooks;i!==null&&di(t,i,0,n)}yt(n)}var Hi=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Hi||{});function Cc(e,t,n,r){let o=w(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Hi.SignalBased)!==0&&(c=t[i][Y]),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):If(t,c,i,r)}finally{w(o)}}var xn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(xn||{}),wD;function su(e,t){return wD(e,t)}function _n(e,t,n,r,o){if(r!=null){let i,s=!1;Re(r)?i=r:Ge(r)&&(s=!0,r=r[Ee]);let a=we(r);e===0&&n!==null?o==null?dp(t,n,a):Ii(t,n,a,o||null,!0):e===1&&n!==null?Ii(t,n,a,o||null,!0):e===2?fp(t,a,s):e===3&&t.destroyNode(a),i!=null&&OD(t,e,i,n,o)}}function bD(e,t){yp(e,t),t[Ee]=null,t[ae]=null}function _D(e,t,n,r,o,i){r[Ee]=o,r[ae]=t,Ui(e,r,n,1,o,i)}function yp(e,t){t[Ue].changeDetectionScheduler?.notify(9),Ui(e,t,t[R],2,null,null)}function TD(e){let t=e[vn];if(!t)return ec(e[D],e);for(;t;){let n=null;if(Ge(t))n=t[vn];else{let r=t[J];r&&(n=r)}if(!n){for(;t&&!t[Ie]&&t!==e;)Ge(t)&&ec(t[D],t),t=t[K];t===null&&(t=e),Ge(t)&&ec(t[D],t),n=t&&t[Ie]}t=n}}function au(e,t){let n=e[qt],r=n.indexOf(t);n.splice(r,1)}function $i(e,t){if(Zt(t))return;let n=t[R];n.destroyNode&&Ui(e,t,n,3,null,null),TD(t)}function ec(e,t){if(Zt(t))return;let n=w(null);try{t[b]&=-129,t[b]|=256,t[me]&&bo(t[me]),MD(e,t),SD(e,t),t[D].type===1&&t[R].destroy();let r=t[pt];if(r!==null&&Re(t[K])){r!==t[K]&&au(r,t);let o=t[ze];o!==null&&o.detachView(e)}dc(t)}finally{w(n)}}function SD(e,t){let n=e.cleanup,r=t[yn];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[yn]=null);let o=t[Xe];if(o!==null){t[Xe]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Dn];if(i!==null){t[Dn]=null;for(let s of i)s.destroy()}}function MD(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)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];O(4,a,c);try{c.call(a)}finally{O(5,a,c)}}else{O(4,o,i);try{i.call(o)}finally{O(5,o,i)}}}}}function vp(e,t,n){return ND(e,t.parent,n)}function ND(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Ee];if(gt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Nn.None||o===Nn.Emulated)return null}return Oe(r,n)}function Dp(e,t,n){return AD(e,t,n)}function xD(e,t,n){return e.type&40?Oe(e,n):null}var AD=xD,Jd;function cu(e,t,n,r){let o=vp(e,r,t),i=t[R],s=r.parent||t[ae],a=Dp(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Kd(i,o,n[c],a,!1);else Kd(i,o,n,a,!1);Jd!==void 0&&Jd(i,r,t,n,o)}function pr(e,t){if(t!==null){let n=t.type;if(n&3)return Oe(t,e);if(n&4)return wc(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return pr(e,r);{let o=e[t.index];return Re(o)?wc(-1,o):we(o)}}else{if(n&128)return pr(e,t.next);if(n&32)return su(t,e)()||we(e[t.index]);{let r=Ep(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=dt(e[ce]);return pr(o,r)}else return pr(e,t.next)}}}return null}function Ep(e,t){if(t!==null){let r=e[ce][ae],o=t.projection;return r.projection[o]}return null}function wc(e,t){let n=J+e+1;if(n<t.length){let r=t[n],o=r[D].firstChild;if(o!==null)return pr(r,o)}return t[ht]}function uu(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&Mn(we(a),r),n.flags|=2),!ji(n))if(c&8)uu(e,t,n.child,r,o,i,!1),_n(t,e,o,a,i);else if(c&32){let u=su(n,r),l;for(;l=u();)_n(t,e,o,l,i);_n(t,e,o,a,i)}else c&16?Ip(e,t,r,n,o,i):_n(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Ui(e,t,n,r,o,i){uu(n,r,e.firstChild,t,o,i,!1)}function RD(e,t,n){let r=t[R],o=vp(e,n,t),i=n.parent||t[ae],s=Dp(i,n,t);Ip(r,0,t,n,o,s)}function Ip(e,t,n,r,o,i){let s=n[ce],c=s[ae].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];_n(t,e,o,l,i)}else{let u=c,l=s[K];jf(r)&&(u.flags|=128),uu(e,t,u,l,o,i,!0)}}function OD(e,t,n,r,o){let i=n[ht],s=we(n);i!==s&&_n(t,e,r,i,o);for(let a=J;a<n.length;a++){let c=n[a];Ui(c[D],c,e,t,r,i)}}function FD(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:xn.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=xn.Important),e.setStyle(n,r,o,i))}}function Cp(e,t,n,r,o){let i=ye(),s=r&2;try{yt(-1),s&&t.length>k&&mp(e,t,k,!1),O(s?2:0,o,n),n(r,o)}finally{yt(i),O(s?3:1,o,n)}}function zi(e,t,n){BD(e,t,n),(n.flags&64)===64&&HD(e,t,n)}function kn(e,t,n=Oe){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 kD(e,t,n,r){let i=r.get(qf,Wf)||n===Nn.ShadowDom,s=e.selectRootElement(t,i);return PD(s),s}function PD(e){LD(e)}var LD=()=>null;function jD(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function wp(e,t,n,r,o,i){let s=t[D];if(fu(e,s,t,n,r)){gt(e)&&VD(t,e.index);return}e.type&3&&(n=jD(n)),lu(e,t,n,r,o,i)}function lu(e,t,n,r,o,i){if(e.type&3){let s=Oe(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function VD(e,t){let n=be(t,e);n[b]&16||(n[b]|=64)}function BD(e,t,n){let r=n.directiveStart,o=n.directiveEnd;gt(n)&&ID(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Di(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=mr(t,e,s,n);if(Mn(c,t),i!==null&&GD(t,s-r,c,a,n,i),Ce(a)){let u=be(n.index,t);u[H]=mr(t,e,s,n)}}}function HD(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Nd();try{yt(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Qo(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&$D(c,u)}}finally{yt(-1),Qo(s)}}function $D(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function du(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];up(t,i.selectors,!1)&&(r??=[],Ce(i)?r.unshift(i):r.push(i))}return r}function UD(e,t,n,r,o,i){let s=Oe(e,t);zD(t[R],s,i,e.value,n,r,o)}function zD(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?W(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function GD(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];Cc(r,n,c,u)}}function Gi(e,t,n,r,o){let i=k+n,s=t[D],a=o(s,t,e,r,n);t[i]=a,Cn(e,!0);let c=e.type===2;return c?(pp(t[R],a,e),(Ed()===0||En(e))&&Mn(a,t),Id()):Mn(a,t),ei()&&(!c||!ji(e))&&cu(s,t,a,e),e}function Wi(e){let t=e;return Va()?Ba():(t=t.parent,Cn(t,!1)),t}function WD(e,t,n){return(e===null||Ce(e))&&(n=Ta(n[t.index])),n[R]}function qD(e,t){let n=e[Ut];if(!n)return;n.get(We,null)?.(t)}function fu(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let u=s[c],l=s[c+1],d=t.data[u];Cc(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];Cc(l,u,r,o),a=!0}return a}function ZD(e,t){let n=be(t,e),r=n[D];YD(r,n);let o=n[Ee];o!==null&&n[$t]===null&&(n[$t]=Zf(o,n[Ut])),O(18),pu(r,n,n[H]),O(19,n[H])}function YD(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function pu(e,t,n){Jo(t);try{let r=e.viewQuery;r!==null&&pc(1,r,n);let o=e.template;o!==null&&Cp(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[ze]?.finishViewCreation(e),e.staticContentQueries&&Yf(e,t),e.staticViewQueries&&pc(2,e.viewQuery,n);let i=e.components;i!==null&&QD(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[b]&=-5,Xo()}}function QD(e,t){for(let n=0;n<t.length;n++)ZD(e,t[n])}function Sr(e,t,n,r){let o=w(null);try{let i=t.tView,a=e[b]&4096?4096:16,c=ou(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[pt]=u;let l=e[ze];return l!==null&&(c[ze]=l.createEmbeddedView(i)),pu(i,c,n),c}finally{w(o)}}function An(e,t){return!t||t.firstChild===null||jf(e)}var Xd=!1,KD=new N("");function yr(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(we(i)),Re(i)&&bp(i,r);let s=n.type;if(s&8)yr(e,t,n.child,r);else if(s&32){let a=su(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Ep(t,n);if(Array.isArray(a))r.push(...a);else{let c=dt(t[ce]);yr(c[D],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function bp(e,t){for(let n=J;n<e.length;n++){let r=e[n],o=r[D].firstChild;o!==null&&yr(r[D],r,o,t)}e[ht]!==e[Ee]&&t.push(e[ht])}function _p(e){if(e[Wt]!==null){for(let t of e[Wt])t.impl.addSequence(t);e[Wt].length=0}}var Tp=[];function JD(e){return e[me]??XD(e)}function XD(e){let t=Tp.pop()??Object.create(tE);return t.lView=e,t}function eE(e){e.lView[me]!==e&&(e.lView=null,Tp.push(e))}var tE=ne(te({},Rt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Yt(e.lView)},consumerOnSignalRead(){this.lView[me]=this}});function nE(e){let t=e[me]??Object.create(rE);return t.lView=e,t}var rE=ne(te({},Rt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=dt(e.lView);for(;t&&!Sp(t[D]);)t=dt(t);t&&xa(t)},consumerOnSignalRead(){this.lView[me]=this}});function Sp(e){return e.type!==2}function Mp(e){if(e[Dn]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Dn])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[b]&8192)}}var oE=100;function hu(e,t=0){let r=e[Ue].rendererFactory,o=!1;o||r.begin?.();try{iE(e,t)}finally{o||r.end?.()}}function iE(e,t){let n=$a();try{Yo(!0),bc(e,t);let r=0;for(;ar(e);){if(r===oE)throw new v(103,!1);r++,bc(e,1)}}finally{Yo(n)}}function Np(e,t){Ha(t?cr.Exhaustive:cr.OnlyDirtyViews);try{hu(e)}finally{Ha(cr.Off)}}function sE(e,t,n,r){if(Zt(t))return;let o=t[b],i=!1,s=!1;Jo(t);let a=!0,c=null,u=null;i||(Sp(e)?(u=JD(t),c=Ft(u)):Co()===null?(a=!1,u=nE(t),c=Ft(u)):t[me]&&(bo(t[me]),t[me]=null));try{Na(t),Td(e.bindingStartIndex),n!==null&&Cp(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&li(t,f,null)}else{let f=e.preOrderHooks;f!==null&&di(t,f,0,null),Ja(t,0)}if(s||aE(t),Mp(t),xp(t,0),e.contentQueries!==null&&Yf(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&li(t,f)}else{let f=e.contentHooks;f!==null&&di(t,f,1),Ja(t,1)}uE(e,t);let d=e.components;d!==null&&Rp(t,d,0);let p=e.viewQuery;if(p!==null&&pc(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&li(t,f)}else{let f=e.viewHooks;f!==null&&di(t,f,2),Ja(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[zo]){for(let f of t[zo])f();t[zo]=null}i||(_p(t),t[b]&=-73)}catch(l){throw i||Yt(t),l}finally{u!==null&&(pn(u,c),a&&eE(u)),Xo()}}function xp(e,t){for(let n=Bf(e);n!==null;n=Hf(n))for(let r=J;r<n.length;r++){let o=n[r];Ap(o,t)}}function aE(e){for(let t=Bf(e);t!==null;t=Hf(t)){if(!(t[b]&2))continue;let n=t[qt];for(let r=0;r<n.length;r++){let o=n[r];xa(o)}}}function cE(e,t,n){O(18);let r=be(t,e);Ap(r,n),O(19,r[H])}function Ap(e,t){Wo(e)&&bc(e,t)}function bc(e,t){let r=e[D],o=e[b],i=e[me],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Qn(i)),s||=!1,i&&(i.dirty=!1),e[b]&=-9217,s)sE(r,e,r.template,e[H]);else if(o&8192){let a=w(null);try{Mp(e),xp(e,1);let c=r.components;c!==null&&Rp(e,c,1),_p(e)}finally{w(a)}}}function Rp(e,t,n){for(let r=0;r<t.length;r++)cE(e,t[r],n)}function uE(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)yt(~o);else{let i=o,s=n[++r],a=n[++r];Md(s,i);let c=t[i];O(24,c),a(2,c),O(25,c)}}}finally{yt(-1)}}function gu(e,t){let n=$a()?64:1088;for(e[Ue].changeDetectionScheduler?.notify(t);e;){e[b]|=n;let r=dt(e);if(In(e)&&!r)return e;e=r}return null}function Op(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Fp(e,t){let n=J+t;if(n<e.length)return e[n]}function Mr(e,t,n,r=!0){let o=t[D];if(lE(o,t,e,n),r){let s=wc(n,e),a=t[R],c=a.parentNode(e[ht]);c!==null&&_D(o,e[ae],a,t,c,s)}let i=t[$t];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function kp(e,t){let n=vr(e,t);return n!==void 0&&$i(n[D],n),n}function vr(e,t){if(e.length<=J)return;let n=J+t,r=e[n];if(r){let o=r[pt];o!==null&&o!==e&&au(o,r),t>0&&(e[n-1][Ie]=r[Ie]);let i=rr(e,J+t);bD(r[D],r);let s=i[ze];s!==null&&s.detachView(i[D]),r[K]=null,r[Ie]=null,r[b]&=-129}return r}function lE(e,t,n,r){let o=J+r,i=n.length;r>0&&(n[o-1][Ie]=t),r<i-J?(t[Ie]=n[o],la(n,J+r,t)):(n.push(t),t[Ie]=null),t[K]=n;let s=t[pt];s!==null&&n!==s&&Pp(s,t);let a=t[ze];a!==null&&a.insertView(e),qo(t),t[b]|=128}function Pp(e,t){let n=e[qt],r=t[K];if(Ge(r))e[b]|=2;else{let o=r[K][ce];t[ce]!==o&&(e[b]|=2)}n===null?e[qt]=[t]:n.push(t)}var Dt=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[D];return yr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[H]}set context(t){this._lView[H]=t}get destroyed(){return Zt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[K];if(Re(t)){let n=t[ir],r=n?n.indexOf(this):-1;r>-1&&(vr(t,r),rr(n,r))}this._attachedToViewContainer=!1}$i(this._lView[D],this._lView)}onDestroy(t){Aa(this._lView,t)}markForCheck(){gu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[b]&=-129}reattach(){qo(this._lView),this._lView[b]|=128}detectChanges(){this._lView[b]|=1024,hu(this._lView)}checkNoChanges(){return;try{this.exhaustive??=this._lView[Ut].get(KD,Xd)}catch{this.exhaustive=Xd}}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=In(this._lView),n=this._lView[pt];n!==null&&!t&&au(n,this._lView),yp(this._lView[D],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=t;let n=In(this._lView),r=this._lView[pt];r!==null&&!n&&Pp(r,this._lView),qo(this._lView)}};var Et=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=dE;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=Sr(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new Dt(i)}}return e})();function dE(){return qi($(),m())}function qi(e,t){return e.type&4?new Et(t,e,Fn(e,t)):null}function Pn(e,t,n,r,o){let i=e.data[t];if(i===null)i=fE(e,t,n,r,o),Sd()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=bd();i.injectorIndex=s===null?-1:s.injectorIndex}return Cn(i,!0),i}function fE(e,t,n,r,o){let i=ja(),s=Va(),a=s?i:i&&i.parent,c=e.data[t]=hE(e,a,n,t,r,o);return pE(e,c,i,s),c}function pE(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 hE(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return ka()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var BR=new RegExp(`^(\\d+)*(${Iv}|${Ev})*(.*)`);function gE(e){let t=e[wa]??[],r=e[K][R],o=[];for(let i of t)i.data[Gf]!==void 0?o.push(i):mE(i,r);e[wa]=o}function mE(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[zf];for(;n<o;){let i=r.nextSibling;fp(t,r,!1),r=i,n++}}}var yE=()=>null,vE=()=>null;function Ci(e,t){return yE(e,t)}function Lp(e,t,n){return vE(e,t,n)}var jp=class{},Zi=class{},_c=class{resolveComponentFactory(t){throw new v(917,!1)}},Nr=class{static NULL=new _c},Dr=class{},Ln=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>DE()}return e})();function DE(){let e=m(),t=$(),n=be(t.index,e);return(Ge(n)?n:e)[R]}var Vp=(()=>{class e{static \u0275prov=A({token:e,providedIn:"root",factory:()=>null})}return e})();var pi={},Tc=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,pi,r);return o!==pi||n===pi?o:this.parentInjector.get(t,n,r)}};function wi(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=ko(o,a);else if(i==2){let c=a,u=t[++s];r=ko(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function z(e,t=0){let n=m();if(n===null)return B(e,t);let r=$();return Ff(r,n,Q(e),t)}function EE(){let e="invalid";throw new Error(e)}function Bp(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,u=null;for(let l of s)if(l.resolveHostDirectives!==null){[a,c,u]=l.resolveHostDirectives(s);break}wE(e,t,n,a,i,c,u)}i!==null&&r!==null&&IE(n,r,i)}function IE(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new v(-301,!1);r.push(t[o],i)}}function CE(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function wE(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let p=0;p<a;p++){let f=r[p];!c&&Ce(f)&&(c=!0,CE(e,n,p)),uc(Di(n,t),e,f.type)}NE(n,e.data.length,a);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=gp(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=Sn(n.mergedAttrs,f.hostAttrs),_E(e,n,t,d,f),ME(d,f,o),s!==null&&s.has(f)){let[y,M]=s.get(f);n.directiveToIndex.set(f.type,[d,y+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;!u&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}bE(e,n,i)}function bE(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))ef(0,t,o,r),ef(1,t,o,r),nf(t,r,!1);else{let i=n.get(o);tf(0,t,i,r),tf(1,t,i,r),nf(t,r,!0)}}}function ef(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),Hp(t,i)}}function tf(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),Hp(t,s)}}function Hp(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||nu(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let u=o[c];for(let l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function _E(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=lt(o.type,!0)),s=new tn(i,Ce(o),z);e.blueprint[r]=s,n[r]=s,TE(e,t,r,gp(e,n,o.hostVars,U),o)}function TE(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;SE(s)!=a&&s.push(a),s.push(n,r,i)}}function SE(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function ME(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ce(t)&&(n[""]=e)}}function NE(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function mu(e,t,n,r,o,i,s,a){let c=t[D],u=c.consts,l=_e(u,s),d=Pn(c,e,n,r,l);return i&&Bp(c,t,d,_e(u,a),o),d.mergedAttrs=Sn(d.mergedAttrs,d.attrs),d.attrs!==null&&wi(d,d.attrs,!1),d.mergedAttrs!==null&&wi(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function yu(e,t){_f(e,t),ba(t)&&e.queries.elementEnd(t)}function $p(e,t,n,r,o,i){let s=t.consts,a=_e(s,o),c=Pn(t,e,n,r,a);if(c.mergedAttrs=Sn(c.mergedAttrs,c.attrs),i!=null){let u=_e(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&wi(c,c.attrs,!1),c.mergedAttrs!==null&&wi(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function vu(e){return Yi(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Up(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 Yi(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function xr(e,t,n){return e[t]=n}function xE(e,t){return e[t]}function ue(e,t,n){if(n===U)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Er(e,t,n,r){let o=ue(e,t,n);return ue(e,t+1,r)||o}function zp(e,t,n,r,o){let i=Er(e,t,n,r);return ue(e,t+2,o)||i}function Du(e,t,n,r,o,i){let s=Er(e,t,n,r);return Er(e,t+2,o,i)||s}function hi(e,t,n){return function r(o){let i=gt(e)?be(e.index,t):t;gu(i,5);let s=t[H],a=rf(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=rf(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function rf(e,t,n,r){let o=w(null);try{return O(6,t,n),n(r)!==!1}catch(i){return qD(e,i),!1}finally{O(7,t,n),w(o)}}function Gp(e,t,n,r,o,i,s,a){let c=En(e),u=!1,l=null;if(!r&&c&&(l=AE(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=Oe(e,n),p=r?r(d):d;wv(n,p,i,a);let f=o.listen(p,i,a),h=r?y=>r(we(y[e.index])):e.index;Wp(h,t,n,i,a,f,!1)}return u}function AE(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[yn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Wp(e,t,n,r,o,i,s){let a=t.firstCreatePass?Oa(t):null,c=Ra(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function of(e,t,n,r,o,i){let s=t[n],a=t[D],u=a.data[n].outputs[r],d=s[u].subscribe(i);Wp(e.index,a,t,o,i,d,!0)}var Sc=Symbol("BINDING");var bi=class extends Nr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=$e(t);return new It(n,this.ngModule)}};function RE(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Hi.SignalBased)!==0};return o&&(i.transform=o),i})}function OE(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function FE(e,t,n){let r=t instanceof ve?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Tc(n,r):n}function kE(e){let t=e.get(Dr,null);if(t===null)throw new v(407,!1);let n=e.get(Vp,null),r=e.get(Be,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function PE(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return lp(t,n,n==="svg"?_a:n==="math"?hd:null)}var It=class extends Zi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=RE(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=OE(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=fD(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){O(22);let a=w(null);try{let c=this.componentDef,u=LE(r,c,s,i),l=FE(c,o||this.ngModule,t),d=kE(l),p=d.rendererFactory.createRenderer(null,c),f=r?kD(p,r,c.encapsulation,l):PE(c,p),h=s?.some(sf)||i?.some(C=>typeof C!="function"&&C.bindings.some(sf)),y=ou(null,u,null,512|hp(c),null,null,d,p,l,null,Zf(f,l,!0));y[k]=f,Jo(y);let M=null;try{let C=mu(k,y,2,"#host",()=>u.directiveRegistry,!0,0);f&&(pp(p,f,C),Mn(f,y)),zi(u,y,C),Xc(u,C,y),yu(u,C),n!==void 0&&VE(C,this.ngContentSelectors,n),M=be(C.index,y),y[H]=M[H],pu(u,y,null)}catch(C){throw M!==null&&dc(M),dc(y),C}finally{O(23),Xo()}return new _i(this.componentType,y,!!h)}finally{w(a)}}};function LE(e,t,n,r){let o=e?["ng-version","20.1.0"]:pD(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[Sc].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){let d=r[l];if(typeof d!="function")for(let p of d.bindings){a+=p[Sc].requiredVars;let f=l+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,p=$o(d);c.push(p)}return ru(0,null,jE(i,s),1,a,c,null,null,null,[o],null)}function jE(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[Sc].kind;return t==="input"||t==="twoWay"}var _i=class extends jp{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=sr(n[D],k),this.location=Fn(this._tNode,n),this.instance=be(this._tNode.index,n)[H],this.hostView=this.changeDetectorRef=new Dt(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=fu(r,o[D],o,t,n);this.previousInputValues.set(t,n);let s=be(r.index,o);gu(s,1)}get injector(){return new en(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function VE(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 wt=(()=>{class e{static __NG_ELEMENT_ID__=BE}return e})();function BE(){let e=$();return Zp(e,m())}var HE=wt,qp=class extends HE{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Fn(this._hostTNode,this._hostLView)}get injector(){return new en(this._hostTNode,this._hostLView)}get parentInjector(){let t=Yc(this._hostTNode,this._hostLView);if(Mf(t)){let n=yi(t,this._hostLView),r=mi(t),o=n[D].data[r+8];return new en(o,n)}else return new en(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=af(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-J}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Ci(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,An(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!Uy(t),u;if(c)u=n;else{let M=n||{};u=M.index,r=M.injector,o=M.projectableNodes,i=M.environmentInjector||M.ngModuleRef,s=M.directives,a=M.bindings}let l=c?t:new It($e(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let C=(c?d:this.parentInjector).get(ve,null);C&&(i=C)}let p=$e(l.componentType??{}),f=Ci(this._lContainer,p?.id??null),h=f?.firstChild??null,y=l.create(d,o,h,i,s,a);return this.insertImpl(y.hostView,u,An(this._hostTNode,f)),y}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(md(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[K],u=new qp(c,c[ae],c[K]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Mr(s,o,i,r),t.attachToViewContainerRef(),la(tc(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=af(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=vr(this._lContainer,n);r&&(rr(tc(this._lContainer),n),$i(r[D],r))}detach(t){let n=this._adjustIndex(t,-1),r=vr(this._lContainer,n);return r&&rr(tc(this._lContainer),n)!=null?new Dt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function af(e){return e[ir]}function tc(e){return e[ir]||(e[ir]=[])}function Zp(e,t){let n,r=t[e.index];return Re(r)?n=r:(n=Op(r,t,null,e),t[e.index]=n,iu(t,n)),UE(n,t,e,r),new qp(n,e,t)}function $E(e,t){let n=e[R],r=n.createComment(""),o=Oe(t,e),i=n.parentNode(o);return Ii(n,i,r,n.nextSibling(o),!1),r}var UE=WE,zE=()=>!1;function GE(e,t,n){return zE(e,t,n)}function WE(e,t,n,r){if(e[ht])return;let o;n.type&8?o=we(r):o=$E(t,n),e[ht]=o}var Mc=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Nc=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++)Iu(t,n).matches!==null&&this.queries[n].setDirty()}},Ti=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=JE(t):this.predicate=t}},xc=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)}},Ac=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,qE(n,i)),this.matchTNodeWithReadOption(t,n,fi(n,t,i,!1,!1))}else r===Et?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,fi(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Ze||o===wt||o===Et&&n.type&4)this.addMatch(n.index,-2);else{let i=fi(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function qE(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 ZE(e,t){return e.type&11?Fn(e,t):e.type&4?qi(e,t):null}function YE(e,t,n,r){return n===-1?ZE(t,e):n===-2?QE(e,t,r):mr(e,e[D],n,t)}function QE(e,t,n){if(n===Ze)return Fn(t,e);if(n===Et)return qi(t,e);if(n===wt)return Zp(t,e)}function Yp(e,t,n,r){let o=t[ze].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(YE(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Rc(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Yp(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=J;d<l.length;d++){let p=l[d];p[pt]===p[K]&&Rc(p[D],p,u,r)}if(l[qt]!==null){let d=l[qt];for(let p=0;p<d.length;p++){let f=d[p];Rc(f[D],f,u,r)}}}}}return r}function Eu(e,t){return e[ze].queries[t].queryList}function Qp(e,t,n){let r=new Ei((n&4)===4);return Dd(e,t,r,r.destroy),(t[ze]??=new Nc).queries.push(new Mc(r))-1}function Kp(e,t,n){let r=P();return r.firstCreatePass&&(Jp(r,new Ti(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Qp(r,m(),t)}function KE(e,t,n,r){let o=P();if(o.firstCreatePass){let i=$();Jp(o,new Ti(t,n,r),i.index),XE(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Qp(o,m(),n)}function JE(e){return e.split(",").map(t=>t.trim())}function Jp(e,t,n){e.queries===null&&(e.queries=new xc),e.queries.track(new Ac(t,n))}function XE(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 Iu(e,t){return e.queries.getByIndex(t)}function Xp(e,t){let n=e[D],r=Iu(n,t);return r.crossesNgTemplate?Rc(n,e,t,[]):Yp(n,e,r,t)}function eh(e,t,n){let r,o=Kn(()=>{r._dirtyCounter();let i=tI(r,e);if(t&&i===void 0)throw new v(-951,!1);return i});return r=o[Y],r._dirtyCounter=ti(0),r._flatValue=void 0,o}function th(e){return eh(!0,!1,e)}function nh(e){return eh(!0,!0,e)}function eI(e,t){let n=e[Y];n._lView=m(),n._queryIndex=t,n._queryList=Eu(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function tI(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[b]&4)return t?void 0:re;let o=Eu(n,r),i=Xp(n,r);return o.reset(i,Lf),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var cf=new Set;function Ye(e){cf.has(e)||(cf.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var nn=class{},rh=class{};var Si=class extends nn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new bi(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=pa(t);this._bootstrapComponents=ap(i.bootstrap),this._r3Injector=Wa(t,n,[{provide:nn,useValue:this},{provide:Nr,useValue:this.componentFactoryResolver},...r],fe(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Mi=class extends rh{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Si(this.moduleType,t,[])}};var Ir=class extends nn{injector;componentFactoryResolver=new bi(this);instance=null;constructor(t){super();let n=new Vt([...t.providers,{provide:nn,useValue:this},{provide:Nr,useValue:this.componentFactoryResolver}],t.parent||mn(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function oh(e,t,n=null){return new Ir({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var nI=(()=>{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=ga(!1,n.type),o=r.length>0?oh([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=A({token:e,providedIn:"environment",factory:()=>new e(B(ve))})}return e})();function rI(e){return On(()=>{let t=ih(e),n=ne(te({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Kc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(nI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Nn.Emulated,styles:e.styles||re,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Ye("NgStandalone"),sh(n);let r=e.dependencies;return n.directiveDefs=uf(r,oI),n.pipeDefs=uf(r,ud),n.id=aI(n),n})}function oI(e){return $e(e)||$o(e)}function Qi(e){return On(()=>({type:e.type,bootstrap:e.bootstrap||re,declarations:e.declarations||re,imports:e.imports||re,exports:e.exports||re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function iI(e,t){if(e==null)return Ae;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=Hi.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function sI(e){if(e==null)return Ae;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function ot(e){return On(()=>{let t=ih(e);return sh(t),t})}function jn(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function ih(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Ae,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:iI(e.inputs,t),outputs:sI(e.outputs),debugInfo:null}}function sh(e){e.features?.forEach(t=>t(e))}function uf(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 aI(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function cI(e){return Object.getPrototypeOf(e.prototype).constructor}function ah(e){let t=cI(e.type),n=!0,r=[e];for(;t;){let o;if(Ce(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new v(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=nc(e.inputs),s.declaredInputs=nc(e.declaredInputs),s.outputs=nc(e.outputs);let a=o.hostBindings;a&&pI(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&dI(e,c),u&&fI(e,u),uI(e,o),td(e.outputs,o.outputs),Ce(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===ah&&(n=!1)}}t=Object.getPrototypeOf(t)}lI(r)}function uI(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 lI(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=Sn(o.hostAttrs,n=Sn(n,o.hostAttrs))}}function nc(e){return e===Ae?{}:e===re?[]:e}function dI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function fI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function pI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function hI(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=gI,n.hostDirectives=r?e.map(Oc):[e]):r?n.hostDirectives.unshift(...e.map(Oc)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function gI(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,ch(s,t,r),o.set(s,[a,t.length-1])}i===0&&Ce(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function ch(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)lf(Oc(i),t,n)}else lf(r,t,n)}function lf(e,t,n){let r=$o(e.directive);mI(r.declaredInputs,e.inputs),ch(r,t,n),n.set(r,e),t.push(r)}function Oc(e){return typeof e=="function"?{directive:Q(e),inputs:Ae,outputs:Ae}:{directive:Q(e.directive),inputs:df(e.inputs),outputs:df(e.outputs)}}function df(e){if(e===void 0||e.length===0)return Ae;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function mI(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function uh(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Sn(e.mergedAttrs,e.attrs);let l=e.tView=ru(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Cn(e,!1);let c=vI(n,t,e,r);ei()&&cu(n,t,c,e),Mn(c,t);let u=Op(c,t,c,e);t[r+k]=u,iu(t,u),GE(u,e,t)}function yI(e,t,n,r,o,i,s,a,c,u,l){let d=n+k,p;return t.firstCreatePass?(p=Pn(t,d,4,s||null,a||null),Zo()&&Bp(t,e,p,_e(t.consts,u),du),_f(t,p)):p=t.data[d],uh(p,e,t,n,r,o,i,c),En(p)&&zi(t,e,p),u!=null&&kn(e,p,l),p}function Cr(e,t,n,r,o,i,s,a,c,u,l){let d=n+k,p;if(t.firstCreatePass){if(p=Pn(t,d,4,s||null,a||null),u!=null){let f=_e(t.consts,u);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return uh(p,e,t,n,r,o,i,c),u!=null&&kn(e,p,l),p}function lh(e,t,n,r,o,i,s,a){let c=m(),u=P(),l=_e(u.consts,i);return yI(c,u,e,t,n,r,o,l,void 0,s,a),lh}var vI=DI;function DI(e,t,n,r){return dr(!0),t[R].createComment("")}var Ki=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Ki||{}),Ar=new N(""),dh=!1,Fc=class extends le{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Da()&&(this.destroyRef=g(vt,{optional:!0})??void 0,this.pendingTasks=g(Jt,{optional:!0})??void 0)}emit(t){let n=w(null);try{super.next(t)}finally{w(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof G&&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)}})}}},tt=Fc;function fh(e){let t,n;function r(){e=bn;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 ff(e){return queueMicrotask(()=>e()),()=>{e=bn}}var Cu="isAngularZone",Ni=Cu+"_ID",EI=0,oe=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new tt(!1);onMicrotaskEmpty=new tt(!1);onStable=new tt(!1);onError=new tt(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=dh}=t;if(typeof Zone>"u")throw new v(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,wI(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Cu)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new v(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,II,bn,bn);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)}},II={};function wu(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function CI(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){fh(()=>{e.callbackScheduled=!1,kc(e),e.isCheckStableRunning=!0,wu(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),kc(e)}function wI(e){let t=()=>{CI(e)},n=EI++;e._inner=e._inner.fork({name:"angular",properties:{[Cu]:!0,[Ni]:n,[Ni+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(bI(c))return r.invokeTask(i,s,a,c);try{return pf(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),hf(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return pf(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!_I(c)&&t(),hf(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,kc(e),wu(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function kc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function pf(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function hf(e){e._nesting--,wu(e)}var xi=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new tt;onMicrotaskEmpty=new tt;onStable=new tt;onError=new tt;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 bI(e){return ph(e,"__ignore_ng_zone__")}function _I(e){return ph(e,"__scheduler_tick__")}function ph(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var bu=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=A({token:e,providedIn:"root",factory:()=>new e})}return e})(),hh=[0,1,2,3],gh=(()=>{class e{ngZone=g(oe);scheduler=g(Be);errorHandler=g(Ve,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(Ar,{optional:!0})}execute(){let n=this.sequences.size>0;n&&O(16),this.executing=!0;for(let r of hh)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&O(17)}register(n){let{view:r}=n;r!==void 0?((r[Wt]??=[]).push(n),Yt(r),r[b]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Ki.AFTER_NEXT_RENDER,n):n()}static \u0275prov=A({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ai=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Wt];t&&(this.view[Wt]=t.filter(n=>n!==this))}};function TI(e,t){let n=t?.injector??g(De);return Ye("NgAfterRender"),mh(e,n,t,!1)}function SI(e,t){let n=t?.injector??g(De);return Ye("NgAfterNextRender"),mh(e,n,t,!0)}function MI(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function mh(e,t,n,r){let o=t.get(bu);o.impl??=t.get(gh);let i=t.get(Ar,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(vt):null,a=t.get(fr,null,{optional:!0}),c=new Ai(o.impl,MI(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var NI=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var yh=new N(""),vh=new N(""),xI=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(n,r,o){this._ngZone=n,this.registry=r,Da()&&(this._destroyRef=g(vt,{optional:!0})??void 0),_u||(Eh(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{oe.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(n)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static \u0275fac=function(r){return new(r||e)(B(oe),B(Dh),B(vh))};static \u0275prov=A({token:e,factory:e.\u0275fac})}return e})(),Dh=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return _u?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Eh(e){_u=e}var _u;function Ji(e){return!!e&&typeof e.then=="function"}function Tu(e){return!!e&&typeof e.subscribe=="function"}var Su=new N("");function AI(e){return ha([{provide:Su,multi:!0,useValue:e}])}var Mu=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=g(Su,{optional:!0})??[];injector=g(De);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Uo(this.injector,o);if(Ji(i))n.push(i);else if(Tu(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ih=new N("");function Ch(){Hs(()=>{let e="";throw new v(600,e)})}function wh(e){return e.isBoundToModule}var RI=10;var Vn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(We);afterRenderManager=g(bu);zonelessEnabled=g(ri);rootEffectScheduler=g(oi);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new le;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(Jt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Je(n=>!n))}constructor(){g(Ar,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=g(ve);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=De.NULL){return this._injector.get(oe).run(()=>{O(10);let s=n instanceof Zi;if(!this._injector.get(Mu).done){let h="";throw new v(405,h)}let c;s?c=n:c=this._injector.get(Nr).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=wh(c)?void 0:this._injector.get(nn),l=r||c.selector,d=c.create(o,[],l,u),p=d.location.nativeElement,f=d.injector.get(yh,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),hr(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),O(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){O(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Ki.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new v(101,!1);let n=w(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,w(n),this.afterTick.next(),O(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Dr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<RI;)O(14),this.synchronizeOnce(),O(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!ar(o))continue;let i=r&&!this.zonelessEnabled?0:1;hu(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>ar(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;hr(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(Ih,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>hr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function hr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function bh(e,t,n,r){let o=m(),i=et();if(ue(o,i,t)){let s=P(),a=wn();UD(a,o,e,t,n,r)}return bh}var Pc=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 rc(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function OI(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let u=e.at(i),l=t[i],d=rc(i,u,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let p=e.at(s),f=t[c],h=rc(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let y=n(i,u),M=n(s,p),C=n(i,l);if(Object.is(C,M)){let X=n(c,f);Object.is(X,y)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new Ri,o??=mf(e,i,s,n),Lc(e,r,i,C))e.updateValue(i,l),i++,s++;else if(o.has(C))r.set(y,e.detach(i)),s--;else{let X=e.create(i,t[i]);e.attach(i,X),i++,s++}}for(;i<=c;)gf(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=e.at(i),d=u.value,p=rc(i,l,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,u=c.next();else{r??=new Ri,o??=mf(e,i,s,n);let f=n(i,d);if(Lc(e,r,i,f))e.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,u=c.next();else{let h=n(i,l);r.set(h,e.detach(i)),s--}}}for(;!u.done;)gf(e,r,n,e.length,u.value),u=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Lc(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function gf(e,t,n,r,o){if(Lc(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function mf(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Ri=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function FI(e,t,n,r,o,i,s,a){Ye("NgControlFlow");let c=m(),u=P(),l=_e(u.consts,i);return Cr(c,u,e,t,n,r,o,l,256,s,a),Nu}function Nu(e,t,n,r,o,i,s,a){Ye("NgControlFlow");let c=m(),u=P(),l=_e(u.consts,i);return Cr(c,u,e,t,n,r,o,l,512,s,a),Nu}function kI(e,t){Ye("NgControlFlow");let n=m(),r=et(),o=n[r]!==U?n[r]:-1,i=o!==-1?Oi(n,k+o):void 0,s=0;if(ue(n,r,e)){let a=w(null);try{if(i!==void 0&&kp(i,s),e!==-1){let c=k+e,u=Oi(n,c),l=Hc(n[D],c),d=Lp(u,l,n),p=Sr(n,l,t,{dehydratedView:d});Mr(u,p,s,An(l,d))}}finally{w(a)}}else if(i!==void 0){let a=Fp(i,s);a!==void 0&&(a[H]=t)}}var jc=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-J}};function PI(e){return e}function LI(e,t){return t}var Vc=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function jI(e,t,n,r,o,i,s,a,c,u,l,d,p){Ye("NgControlFlow");let f=m(),h=P(),y=c!==void 0,M=m(),C=a?s.bind(M[ce][H]):s,X=new Vc(y,C);M[k+e]=X,Cr(f,h,e+1,t,n,r,o,_e(h.consts,i),256),y&&Cr(f,h,e+2,c,u,l,d,_e(h.consts,p),512)}var Bc=class extends Pc{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-J}at(t){return this.getLView(t)[H].$implicit}attach(t,n){let r=n[$t];this.needsIndexUpdate||=t!==this.length,Mr(this.lContainer,n,t,An(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,BI(this.lContainer,t)}create(t,n){let r=Ci(this.lContainer,this.templateTNode.tView.ssrId),o=Sr(this.hostLView,this.templateTNode,new jc(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){$i(t[D],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[H].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[H].$index=t}getLView(t){return HI(this.lContainer,t)}};function VI(e){let t=w(null),n=ye();try{let r=m(),o=r[D],i=r[n],s=n+1,a=Oi(r,s);if(i.liveCollection===void 0){let u=Hc(o,s);i.liveCollection=new Bc(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(OI(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=et(),l=c.length===0;if(ue(r,u,l)){let d=n+2,p=Oi(r,d);if(l){let f=Hc(o,d),h=Lp(p,f,r),y=Sr(r,f,void 0,{dehydratedView:h});Mr(p,y,0,An(f,h))}else o.firstUpdatePass&&gE(p),kp(p,0)}}}finally{w(t)}}function Oi(e,t){return e[t]}function BI(e,t){return vr(e,t)}function HI(e,t){return Fp(e,t)}function Hc(e,t){return sr(e,t)}function _h(e,t,n){let r=m(),o=et();if(ue(r,o,t)){let i=P(),s=wn();wp(s,r,e,t,r[R],n)}return _h}function $c(e,t,n,r,o){fu(t,e,n,o?"class":"style",r)}function xu(e,t,n,r){let o=m(),i=o[D],s=e+k,a=i.firstCreatePass?mu(s,o,2,t,du,Zo(),n,r):i.data[s];if(Gi(a,o,e,t,Mh),En(a)){let c=o[D];zi(c,o,a),Xc(c,a,o)}return r!=null&&kn(o,a),xu}function Au(){let e=P(),t=$(),n=Wi(t);return e.firstCreatePass&&yu(e,n),Pa(n)&&La(),Fa(),n.classesWithoutHost!=null&&Yy(n)&&$c(e,n,m(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Qy(n)&&$c(e,n,m(),n.stylesWithoutHost,!1),Au}function Th(e,t,n,r){return xu(e,t,n,r),Au(),Th}function Ru(e,t,n,r){let o=m(),i=o[D],s=e+k,a=i.firstCreatePass?$p(s,i,2,t,n,r):i.data[s];return Gi(a,o,e,t,Mh),r!=null&&kn(o,a),Ru}function Ou(){let e=$(),t=Wi(e);return Pa(t)&&La(),Fa(),Ou}function Sh(e,t,n,r){return Ru(e,t,n,r),Ou(),Sh}var Mh=(e,t,n,r,o)=>(dr(!0),lp(t[R],r,kd()));function Nh(e,t,n){let r=m(),o=r[D],i=e+k,s=o.firstCreatePass?mu(i,r,8,"ng-container",du,Zo(),t,n):o.data[i];if(Gi(s,r,e,"ng-container",Rh),En(s)){let a=r[D];zi(a,r,s),Xc(a,s,r)}return n!=null&&kn(r,s),Nh}function Fu(){let e=P(),t=$(),n=Wi(t);return e.firstCreatePass&&yu(e,n),Fu}function ku(e,t,n){let r=m(),o=r[D],i=e+k,s=o.firstCreatePass?$p(i,o,8,"ng-container",t,n):o.data[i];return Gi(s,r,e,"ng-container",Rh),n!=null&&kn(r,s),ku}function xh(){let e=$(),t=Wi(e);return Fu}function Ah(e,t,n){return ku(e,t,n),xh(),Ah}var Rh=(e,t,n,r,o)=>(dr(!0),mD(t[R],""));function $I(){return m()}function Oh(e,t,n){let r=m(),o=et();if(ue(r,o,t)){let i=P(),s=wn();lu(s,r,e,t,r[R],n)}return Oh}function Fh(e,t,n){let r=m(),o=et();if(ue(r,o,t)){let i=P(),s=wn(),a=Ua(i.data),c=WD(a,s,r);lu(s,r,e,t,c,n)}return Fh}var Xt=void 0;function UI(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var zI=["en",[["a","p"],["AM","PM"],Xt],[["AM","PM"],Xt,Xt],[["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"]],Xt,[["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"]],Xt,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Xt,"{1} 'at' {0}",Xt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",UI],gr={};function Pu(e,t,n){typeof t!="string"&&(n=t,t=e[V.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),gr[t]=e,n&&(gr[t][V.ExtraData]=n)}function pe(e){let t=GI(e),n=yf(t);if(n)return n;let r=t.split("-")[0];if(n=yf(r),n)return n;if(r==="en")return zI;throw new v(701,!1)}function yf(e){return e in gr||(gr[e]=He.ng&&He.ng.common&&He.ng.common.locales&&He.ng.common.locales[e]),gr[e]}var V=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(V||{});function GI(e){return e.toLowerCase().replace(/_/g,"-")}var Rr="en-US";var WI=Rr;function kh(e){typeof e=="string"&&(WI=e.toLowerCase().replace(/_/g,"-"))}function Ph(e,t,n){let r=m(),o=P(),i=$();return jh(o,r,r[R],i,e,t,n),Ph}function Lh(e,t,n){let r=m(),o=P(),i=$();return(i.type&3||n)&&Gp(i,o,r,n,r[R],e,t,hi(i,r,t)),Lh}function jh(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=hi(r,t,i),Gp(r,e,t,s,n,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let p=l[d],f=l[d+1];c??=hi(r,t,i),of(r,t,p,f,o,c)}if(u&&u.length)for(let d of u)c??=hi(r,t,i),of(r,t,d,o,o,c)}}function qI(e=1){return Od(e)}function ZI(e,t){let n=null,r=aD(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?up(e,i,!0):lD(r,i))return o}return n}function YI(e){let t=m()[ce][ae];if(!t.projection){let n=e?e.length:1,r=t.projection=ad(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?ZI(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function QI(e,t=0,n,r,o,i){let s=m(),a=P(),c=r?e+1:null;c!==null&&Cr(s,a,c,r,o,i,null,n);let u=Pn(a,k+e,16,null,n||null);u.projection===null&&(u.projection=t),Ba();let d=!s[$t]||ka();s[ce][ae].projection[u.projection]===null&&c!==null?KI(s,a,c):d&&!ji(u)&&RD(a,s,u)}function KI(e,t,n){let r=k+n,o=t.data[r],i=e[r],s=Ci(i,o.tView.ssrId),a=Sr(e,o,void 0,{dehydratedView:s});Mr(i,a,0,An(o,s))}function JI(e,t,n,r){KE(e,t,n,r)}function XI(e,t,n){Kp(e,t,n)}function eC(e){let t=m(),n=P(),r=Ko();lr(r+1);let o=Iu(n,r);if(e.dirty&&gd(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Xp(t,r);e.reset(i,Lf),e.notifyOnChanges()}return!0}return!1}function tC(){return Eu(m(),Ko())}function nC(e,t,n,r){eI(e,Kp(t,n,r))}function rC(e=1){lr(Ko()+e)}function oC(e){let t=_d();return Go(t,k+e)}function ui(e,t){return e<<17|t<<2}function rn(e){return e>>17&32767}function iC(e){return(e&2)==2}function sC(e,t){return e&131071|t<<17}function Uc(e){return e|2}function Rn(e){return(e&131068)>>2}function oc(e,t){return e&-131069|t<<2}function aC(e){return(e&1)===1}function zc(e){return e|1}function cC(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=rn(s),c=Rn(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||gn(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=rn(e[a+1]);e[r+1]=ui(p,a),p!==0&&(e[p+1]=oc(e[p+1],r)),e[a+1]=sC(e[a+1],r)}else e[r+1]=ui(a,0),a!==0&&(e[a+1]=oc(e[a+1],r)),a=r;else e[r+1]=ui(c,0),a===0?a=r:e[c+1]=oc(e[c+1],r),c=r;u&&(e[r+1]=Uc(e[r+1])),vf(e,l,r,!0),vf(e,l,r,!1),uC(t,l,e,r,i),s=ui(a,c),i?t.classBindings=s:t.styleBindings=s}function uC(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&gn(i,t)>=0&&(n[r+1]=zc(n[r+1]))}function vf(e,t,n,r){let o=e[n+1],i=t===null,s=r?rn(o):Rn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];lC(c,t)&&(a=!0,e[s+1]=r?zc(u):Uc(u)),s=r?rn(u):Rn(u)}a&&(e[n+1]=r?Uc(o):zc(o))}function lC(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?gn(e,t)>=0:!1}var ke={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function dC(e){return e.substring(ke.key,ke.keyEnd)}function fC(e){return pC(e),Vh(e,Bh(e,0,ke.textEnd))}function Vh(e,t){let n=ke.textEnd;return n===t?-1:(t=ke.keyEnd=hC(e,ke.key=t,n),Bh(e,t,n))}function pC(e){ke.key=0,ke.keyEnd=0,ke.value=0,ke.valueEnd=0,ke.textEnd=e.length}function Bh(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function hC(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Xi(e,t,n){return $h(e,t,n,!1),Xi}function Hh(e,t){return $h(e,t,null,!0),Hh}function gC(e){yC(wC,mC,e,!0)}function mC(e,t){for(let n=fC(t);n>=0;n=Vh(t,n))Bo(e,dC(t),!0)}function $h(e,t,n,r){let o=m(),i=P(),s=Qt(2);if(i.firstUpdatePass&&zh(i,e,s,r),t!==U&&ue(o,s,t)){let a=i.data[ye()];Gh(i,a,o,o[R],e,o[s+1]=_C(t,n),r,s)}}function yC(e,t,n,r){let o=P(),i=Qt(2);o.firstUpdatePass&&zh(o,null,i,r);let s=m();if(n!==U&&ue(s,i,n)){let a=o.data[ye()];if(Wh(a,r)&&!Uh(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=ko(c,n||"")),$c(o,a,s,n,r)}else bC(o,a,s,s[R],s[i+1],s[i+1]=CC(e,t,n),r,i)}}function Uh(e,t){return t>=e.expandoStartIndex}function zh(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ye()],s=Uh(e,n);Wh(i,r)&&t===null&&!s&&(t=!1),t=vC(o,i,t,r),cC(o,i,t,n,s,r)}}function vC(e,t,n,r){let o=Ua(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=ic(null,e,t,n,r),n=wr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=ic(o,e,t,n,r),i===null){let c=DC(e,t,r);c!==void 0&&Array.isArray(c)&&(c=ic(null,e,t,c[1],r),c=wr(c,t.attrs,r),EC(e,t,r,c))}else i=IC(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function DC(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Rn(r)!==0)return e[rn(r)]}function EC(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[rn(o)]=r}function IC(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=wr(r,s,n)}return wr(r,t.attrs,n)}function ic(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=wr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function wr(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]),Bo(e,s,n?!0:t[++i]))}return e===void 0?null:e}function CC(e,t,n){if(n==null||n==="")return re;let r=[],o=Ct(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function wC(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Bo(e,r,n)}function bC(e,t,n,r,o,i,s,a){o===U&&(o=re);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,h=null,y;l===d?(c+=2,u+=2,p!==f&&(h=d,y=f)):d===null||l!==null&&l<d?(c+=2,h=l):(u+=2,h=d,y=f),h!==null&&Gh(e,t,n,r,h,y,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function Gh(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=aC(u)?Df(c,t,n,o,Rn(u),s):void 0;if(!Fi(l)){Fi(i)||iC(u)&&(i=Df(c,null,n,o,a,s));let d=Sa(ye(),n);FD(r,s,d,o,i)}}function Df(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,p=n[o+1];p===U&&(p=d?re:void 0);let f=d?Ho(p,r):l===r?p:void 0;if(u&&!Fi(f)&&(f=Ho(c,r)),Fi(f)&&(a=f,s))return a;let h=e[o+1];o=s?rn(h):Rn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ho(c,r))}return a}function Fi(e){return e!==void 0}function _C(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=fe(Ct(e)))),e}function Wh(e,t){return(e.flags&(t?8:16))!==0}function TC(e,t=""){let n=m(),r=P(),o=e+k,i=r.firstCreatePass?Pn(r,o,1,t,null):r.data[o],s=SC(r,n,i,t,e);n[o]=s,ei()&&cu(r,n,s,i),Cn(i,!1)}var SC=(e,t,n,r,o)=>(dr(!0),hD(t[R],r));function qh(e,t,n,r=""){return ue(e,et(),n)?t+W(n)+r:U}function MC(e,t,n,r,o,i=""){let s=ur(),a=Er(e,s,n,o);return Qt(2),a?t+W(n)+r+W(o)+i:U}function NC(e,t,n,r,o,i,s,a=""){let c=ur(),u=zp(e,c,n,o,s);return Qt(3),u?t+W(n)+r+W(o)+i+W(s)+a:U}function xC(e,t,n,r,o,i,s,a,c,u=""){let l=ur(),d=Du(e,l,n,o,s,c);return Qt(4),d?t+W(n)+r+W(o)+i+W(s)+a+W(c)+u:U}function AC(e,t,n,r,o,i,s,a,c,u,l,d=""){let p=ur(),f=Du(e,p,n,o,s,c);return f=ue(e,p+4,l)||f,Qt(5),f?t+W(n)+r+W(o)+i+W(s)+a+W(c)+u+W(l)+d:U}function Zh(e){return Lu("",e),Zh}function Lu(e,t,n){let r=m(),o=qh(r,e,t,n);return o!==U&&Or(r,ye(),o),Lu}function Yh(e,t,n,r,o){let i=m(),s=MC(i,e,t,n,r,o);return s!==U&&Or(i,ye(),s),Yh}function Qh(e,t,n,r,o,i,s){let a=m(),c=NC(a,e,t,n,r,o,i,s);return c!==U&&Or(a,ye(),c),Qh}function Kh(e,t,n,r,o,i,s,a,c){let u=m(),l=xC(u,e,t,n,r,o,i,s,a,c);return l!==U&&Or(u,ye(),l),Kh}function Jh(e,t,n,r,o,i,s,a,c,u,l){let d=m(),p=AC(d,e,t,n,r,o,i,s,a,c,u,l);return p!==U&&Or(d,ye(),p),Jh}function Or(e,t,n){let r=Sa(t,e);gD(e[R],r,n)}function Xh(e,t,n){Za(t)&&(t=t());let r=m(),o=et();if(ue(r,o,t)){let i=P(),s=wn();wp(s,r,e,t,r[R],n)}return Xh}function RC(e,t){let n=Za(e);return n&&e.set(t),n}function eg(e,t){let n=m(),r=P(),o=$();return jh(r,n,n[R],o,e,t),eg}function OC(e,t,n=""){return qh(m(),e,t,n)}function FC(e,t,n){let r=P();if(r.firstCreatePass){let o=Ce(e);Gc(n,r.data,r.blueprint,o,!0),Gc(t,r.data,r.blueprint,o,!1)}}function Gc(e,t,n,r,o){if(e=Q(e),Array.isArray(e))for(let i=0;i<e.length;i++)Gc(e[i],t,n,r,o);else{let i=P(),s=m(),a=$(),c=jt(e)?e:Q(e.provide),u=va(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(jt(e)||!e.multi){let f=new tn(u,o,z),h=ac(c,t,o?l:l+p,d);h===-1?(uc(Di(a,s),i,c),sc(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=ac(c,t,l+p,d),h=ac(c,t,l,l+p),y=f>=0&&n[f],M=h>=0&&n[h];if(o&&!M||!o&&!y){uc(Di(a,s),i,c);let C=LC(o?PC:kC,n.length,o,r,u);!o&&M&&(n[h].providerFactory=C),sc(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(C),s.push(C)}else{let C=tg(n[o?h:f],u,!o&&r);sc(i,e,f>-1?f:h,C)}!o&&r&&M&&n[h].componentProviders++}}}function sc(e,t,n,r){let o=jt(t),i=pd(t);if(o||i){let c=(i?Q(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function tg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ac(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function kC(e,t,n,r,o){return Wc(this.multi,[])}function PC(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=mr(r,r[D],this.providerFactory.index,o);s=c.slice(0,a),Wc(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],Wc(i,s);return s}function Wc(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function LC(e,t,n,r,o){let i=new tn(e,n,z);return i.multi=[],i.index=t,i.componentProviders=0,tg(i,o,r&&!n),i}function jC(e,t=[]){return n=>{n.providersResolver=(r,o)=>FC(r,o?o(e):e,t)}}function VC(e,t,n){let r=mt()+e,o=m();return o[r]===U?xr(o,r,n?t.call(n):t()):xE(o,r)}function BC(e,t,n,r){return ng(m(),mt(),e,t,n,r)}function HC(e,t,n,r,o){return rg(m(),mt(),e,t,n,r,o)}function $C(e,t,n,r,o,i){return zC(m(),mt(),e,t,n,r,o,i)}function UC(e,t,n,r,o,i,s){return GC(m(),mt(),e,t,n,r,o,i,s)}function es(e,t){let n=e[t];return n===U?void 0:n}function ng(e,t,n,r,o,i){let s=t+n;return ue(e,s,o)?xr(e,s+1,i?r.call(i,o):r(o)):es(e,s+1)}function rg(e,t,n,r,o,i,s){let a=t+n;return Er(e,a,o,i)?xr(e,a+2,s?r.call(s,o,i):r(o,i)):es(e,a+2)}function zC(e,t,n,r,o,i,s,a){let c=t+n;return zp(e,c,o,i,s)?xr(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):es(e,c+3)}function GC(e,t,n,r,o,i,s,a,c){let u=t+n;return Du(e,u,o,i,s,a)?xr(e,u+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):es(e,u+4)}function WC(e,t){let n=P(),r,o=e+k;n.firstCreatePass?(r=qC(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=lt(r.type,!0)),s,a=se(z);try{let c=vi(!1),u=i();return vi(c),Ma(n,m(),o,u),u}finally{se(a)}}function qC(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function ZC(e,t,n){let r=e+k,o=m(),i=Go(o,r);return og(o,r)?ng(o,mt(),t,i.transform,n,i):i.transform(n)}function YC(e,t,n,r){let o=e+k,i=m(),s=Go(i,o);return og(i,o)?rg(i,mt(),t,s.transform,n,r,s):s.transform(n,r)}function og(e,t){return e[D].data[t].pure}function QC(e,t){return qi(e,t)}var ki=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},KC=(()=>{class e{compileModuleSync(n){return new Mi(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=pa(n),i=ap(o.declarations).reduce((s,a)=>{let c=$e(a);return c&&s.push(new It(c)),s},[]);return new ki(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var JC=(()=>{class e{zone=g(oe);changeDetectionScheduler=g(Be);applicationRef=g(Vn);applicationErrorHandler=g(We);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ig({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new oe(ne(te({},sg()),{scheduleInRootZone:n})),[{provide:oe,useFactory:e},{provide:Ht,multi:!0,useFactory:()=>{let r=g(JC,{optional:!0});return()=>r.initialize()}},{provide:Ht,multi:!0,useFactory:()=>{let r=g(XC);return()=>{r.initialize()}}},t===!0?{provide:Ya,useValue:!0}:[],{provide:Qa,useValue:n??dh},{provide:We,useFactory:()=>{let r=g(oe),o=g(ve),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(Ve),i.handleError(s))})}}}]}function sg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var XC=(()=>{class e{subscription=new G;initialized=!1;zone=g(oe);pendingTasks=g(Jt);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{oe.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{oe.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ag=(()=>{class e{applicationErrorHandler=g(We);appRef=g(Vn);taskService=g(Jt);ngZone=g(oe);zonelessEnabled=g(ri);tracing=g(Ar,{optional:!0});disableScheduling=g(Ya,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new G;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ni):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(Qa,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof xi||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?ff:fh;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ni+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,ff(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ew(){return typeof $localize<"u"&&$localize.locale||Rr}var Bn=new N("",{providedIn:"root",factory:()=>g(Bn,{optional:!0,skipSelf:!0})||ew()});var Fr=class{destroyed=!1;listeners=null;errorHandler=g(Ve,{optional:!0});destroyRef=g(vt);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new v(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(ft(953,!1));return}if(this.listeners===null)return;let n=w(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{w(n)}}};function ug(e){return Kl(e)}function tw(e,t){return Kn(e,t?.equal)}var cg=class{[Y];constructor(t){this[Y]=t}destroy(){this[Y].destroy()}};var rs=Symbol("InputSignalNode#UNSET"),vg=ne(te({},Mo),{transformFn:void 0,applyValueToInputSignal(e,t){kt(e,t)}});function Dg(e,t){let n=Object.create(vg);n.value=e,n.transformFn=t?.transform;function r(){if(Ot(n),n.value===rs){let o=null;throw new v(-950,o)}return n.value}return r[Y]=n,r}var lg=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Qc(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},aw=new N("");aw.__NG_ELEMENT_ID__=e=>{let t=$();if(t===null)throw new v(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new v(204,!1)};function hL(e){return new Fr}function dg(e,t){return Dg(e,t)}function cw(e){return Dg(rs,e)}var gL=(dg.required=cw,dg);function fg(e,t){return th(t)}function uw(e,t){return nh(t)}var mL=(fg.required=uw,fg);function Eg(e,t){let n=Object.create(vg),r=new Fr;n.value=e;function o(){return Ot(n),pg(n.value),n.value}return o[Y]=n,o.asReadonly=ni.bind(o),o.set=i=>{n.equal(n.value,i)||(kt(n,i),r.emit(i))},o.update=i=>{pg(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function pg(e){if(e===rs)throw new v(952,!1)}function hg(e,t){return Eg(e,t)}function lw(e){return Eg(rs,e)}var yL=(hg.required=lw,hg);var ju=new N(""),dw=new N("");function kr(e){return!e.moduleRef}function fw(e){let t=kr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(oe);return n.run(()=>{kr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(We),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),kr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(ju);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(ju);s.add(i),e.moduleRef.onDestroy(()=>{hr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return hw(r,n,()=>{let i=t.get(Mu);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Bn,Rr);if(kh(s||Rr),!t.get(dw,!0))return kr(e)?t.get(Vn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(kr(e)){let c=t.get(Vn);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return pw?.(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}var pw;function hw(e,t,n){try{let r=n();return Ji(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var ts=null;function gw(e=[],t){return De.create({name:t,providers:[{provide:ya,useValue:"platform"},{provide:ju,useValue:new Set([()=>ts=null])},...e]})}function mw(e=[]){if(ts)return ts;let t=gw(e);return ts=t,Ch(),yw(t),t}function yw(e){let t=e.get(Uf,null);Uo(e,()=>{t?.forEach(n=>n())})}var Wu=(()=>{class e{static __NG_ELEMENT_ID__=vw}return e})();function vw(e){return Dw($(),m(),(e&16)===16)}function Dw(e,t,n){if(gt(e)&&!n){let r=be(e.index,t);return new Dt(r,r)}else if(e.type&175){let r=t[ce];return new Dt(r,t)}return null}var Vu=class{constructor(){}supports(t){return vu(t)}create(t){return new Bu(t)}},Ew=(e,t)=>t,Bu=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||Ew}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<gg(r,o,i)?n:r,a=gg(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 u=a-o,l=c-o;if(u!=l){for(let p=0;p<u;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;l<=h&&h<u&&(i[p]=f+1)}let d=s.previousIndex;i[d]=l-u}}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=[]),!vu(t))throw new v(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,Up(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new Hu(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new ns),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new ns),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},Hu=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}},$u=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},ns=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new $u,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 gg(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 Uu=class{constructor(){}supports(t){return t instanceof Map||Yi(t)}create(){return new zu}},zu=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Yi(t)))throw new v(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Gu(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))}},Gu=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function mg(){return new qu([new Vu])}var qu=(()=>{class e{factories;static \u0275prov=A({token:e,providedIn:"root",factory:mg});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||mg()),deps:[[e,new Zc,new qc]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new v(901,!1)}}return e})();function yg(){return new Zu([new Uu])}var Zu=(()=>{class e{static \u0275prov=A({token:e,providedIn:"root",factory:yg});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||yg()),deps:[[e,new Zc,new qc]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new v(901,!1)}}return e})();var vL=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(B(Vn))};static \u0275mod=Qi({type:e});static \u0275inj=tr({})}return e})();function DL(e){O(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=mw(r),i=[ig({}),{provide:Be,useExisting:ag},Ld,...n||[]],s=new Ir({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return fw({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}finally{O(9)}}function Pr(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Yu(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function EL(e,t){let n=$e(e),r=t.elementInjector||mn();return new It(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function IL(e){let t=$e(e);if(!t)return null;let n=new It(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var wg=null;function os(){return wg}function Iw(e){wg??=e}var Ku=class{},Lr=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=A({token:e,factory:()=>g(bg),providedIn:"platform"})}return e})(),Cw=new N(""),bg=(()=>{class e extends Lr{_location;_history;_doc=g(Kt);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return os().getBaseHref(this._doc)}onPopState(n){let r=os().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=os().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=A({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function is(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Ig(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Pe(e){return e&&e[0]!=="?"?`?${e}`:e}var Hn=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=A({token:e,factory:()=>g(_g),providedIn:"root"})}return e})(),ss=new N(""),_g=(()=>{class e extends Hn{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(Kt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return is(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Pe(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Pe(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Pe(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(B(Lr),B(ss,8))};static \u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Tg=(()=>{class e{_subject=new le;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=_w(Ig(Cg(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Pe(r))}normalize(n){return e.stripTrailingSlash(bw(this._basePath,Cg(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Pe(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Pe(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=Pe;static joinWithSlash=is;static stripTrailingSlash=Ig;static \u0275fac=function(r){return new(r||e)(B(Hn))};static \u0275prov=A({token:e,factory:()=>ww(),providedIn:"root"})}return e})();function ww(){return new Tg(B(Hn))}function bw(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Cg(e){return e.replace(/\/index.html$/,"")}function _w(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var Tw=(()=>{class e extends Hn{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=is(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Pe(i))||this._platformLocation.pathname;this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Pe(i))||this._platformLocation.pathname;this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(B(Lr),B(ss,8))};static \u0275prov=A({token:e,factory:e.\u0275fac})}return e})();var ol=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(ol||{});var ie=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(ie||{}),F=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(F||{}),he=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(he||{}),ge={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Rg(e){return pe(e)[V.LocaleId]}function Og(e,t,n){let r=pe(e),o=[r[V.DayPeriodsFormat],r[V.DayPeriodsStandalone]],i=Te(o,t);return Te(i,n)}function Fg(e,t,n){let r=pe(e),o=[r[V.DaysFormat],r[V.DaysStandalone]],i=Te(o,t);return Te(i,n)}function kg(e,t,n){let r=pe(e),o=[r[V.MonthsFormat],r[V.MonthsStandalone]],i=Te(o,t);return Te(i,n)}function Pg(e,t){let r=pe(e)[V.Eras];return Te(r,t)}function jr(e,t){let n=pe(e);return Te(n[V.DateFormat],t)}function Vr(e,t){let n=pe(e);return Te(n[V.TimeFormat],t)}function Br(e,t){let r=pe(e)[V.DateTimeFormat];return Te(r,t)}function Qe(e,t){let n=pe(e),r=n[V.NumberSymbols][t];if(typeof r>"u"){if(t===ge.CurrencyDecimal)return n[V.NumberSymbols][ge.Decimal];if(t===ge.CurrencyGroup)return n[V.NumberSymbols][ge.Group]}return r}function Lg(e,t){return pe(e)[V.NumberFormats][t]}function jg(e){if(!e[V.ExtraData])throw new v(2303,!1)}function Vg(e){let t=pe(e);return jg(t),(t[V.ExtraData][2]||[]).map(r=>typeof r=="string"?Ju(r):[Ju(r[0]),Ju(r[1])])}function Bg(e,t,n){let r=pe(e);jg(r);let o=[r[V.ExtraData][0],r[V.ExtraData][1]],i=Te(o,t)||[];return Te(i,n)||[]}function Te(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new v(2304,!1)}function Ju(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var Sw=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,as={},Mw=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function Hg(e,t,n,r){let o=Lw(e);t=it(n,t)||t;let s=[],a;for(;t;)if(a=Mw.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=Ug(r,c),o=Pw(o,r));let u="";return s.forEach(l=>{let d=Fw(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function fs(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function it(e,t){let n=Rg(e);if(as[n]??={},as[n][t])return as[n][t];let r="";switch(t){case"shortDate":r=jr(e,he.Short);break;case"mediumDate":r=jr(e,he.Medium);break;case"longDate":r=jr(e,he.Long);break;case"fullDate":r=jr(e,he.Full);break;case"shortTime":r=Vr(e,he.Short);break;case"mediumTime":r=Vr(e,he.Medium);break;case"longTime":r=Vr(e,he.Long);break;case"fullTime":r=Vr(e,he.Full);break;case"short":let o=it(e,"shortTime"),i=it(e,"shortDate");r=cs(Br(e,he.Short),[o,i]);break;case"medium":let s=it(e,"mediumTime"),a=it(e,"mediumDate");r=cs(Br(e,he.Medium),[s,a]);break;case"long":let c=it(e,"longTime"),u=it(e,"longDate");r=cs(Br(e,he.Long),[c,u]);break;case"full":let l=it(e,"fullTime"),d=it(e,"fullDate");r=cs(Br(e,he.Full),[l,d]);break}return r&&(as[n][t]=r),r}function cs(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Le(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function Nw(e,t){return Le(e,3).substring(0,t)}function q(e,t,n=0,r=!1,o=!1){return function(i,s){let a=xw(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return Nw(a,t);let c=Qe(s,ge.MinusSign);return Le(a,t,c,r,o)}}function xw(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new v(2301,!1)}}function L(e,t,n=ie.Format,r=!1){return function(o,i){return Aw(o,i,e,t,n,r)}}function Aw(e,t,n,r,o,i){switch(n){case 2:return kg(t,o,r)[e.getMonth()];case 1:return Fg(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=Vg(t),l=Bg(t,o,r),d=u.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,y=s>=f.hours&&a>=f.minutes,M=s<h.hours||s===h.hours&&a<h.minutes;if(f.hours<h.hours){if(y&&M)return!0}else if(y||M)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return Og(t,o,r)[s<12?0:1];case 3:return Pg(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new v(2302,!1)}}function us(e){return function(t,n,r){let o=-1*r,i=Qe(n,ge.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+Le(s,2,i)+Le(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+Le(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+Le(s,2,i)+":"+Le(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+Le(s,2,i)+":"+Le(Math.abs(o%60),2,i);default:throw new v(2302,!1)}}}var Rw=0,ds=4;function Ow(e){let t=fs(e,Rw,1).getDay();return fs(e,0,1+(t<=ds?ds:ds+7)-t)}function $g(e){let t=e.getDay(),n=t===0?-3:ds-t;return fs(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Xu(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=$g(n),s=Ow(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Le(o,e,Qe(r,ge.MinusSign))}}function ls(e,t=!1){return function(n,r){let i=$g(n).getFullYear();return Le(i,e,Qe(r,ge.MinusSign),t)}}var el={};function Fw(e){if(el[e])return el[e];let t;switch(e){case"G":case"GG":case"GGG":t=L(3,F.Abbreviated);break;case"GGGG":t=L(3,F.Wide);break;case"GGGGG":t=L(3,F.Narrow);break;case"y":t=q(0,1,0,!1,!0);break;case"yy":t=q(0,2,0,!0,!0);break;case"yyy":t=q(0,3,0,!1,!0);break;case"yyyy":t=q(0,4,0,!1,!0);break;case"Y":t=ls(1);break;case"YY":t=ls(2,!0);break;case"YYY":t=ls(3);break;case"YYYY":t=ls(4);break;case"M":case"L":t=q(1,1,1);break;case"MM":case"LL":t=q(1,2,1);break;case"MMM":t=L(2,F.Abbreviated);break;case"MMMM":t=L(2,F.Wide);break;case"MMMMM":t=L(2,F.Narrow);break;case"LLL":t=L(2,F.Abbreviated,ie.Standalone);break;case"LLLL":t=L(2,F.Wide,ie.Standalone);break;case"LLLLL":t=L(2,F.Narrow,ie.Standalone);break;case"w":t=Xu(1);break;case"ww":t=Xu(2);break;case"W":t=Xu(1,!0);break;case"d":t=q(2,1);break;case"dd":t=q(2,2);break;case"c":case"cc":t=q(7,1);break;case"ccc":t=L(1,F.Abbreviated,ie.Standalone);break;case"cccc":t=L(1,F.Wide,ie.Standalone);break;case"ccccc":t=L(1,F.Narrow,ie.Standalone);break;case"cccccc":t=L(1,F.Short,ie.Standalone);break;case"E":case"EE":case"EEE":t=L(1,F.Abbreviated);break;case"EEEE":t=L(1,F.Wide);break;case"EEEEE":t=L(1,F.Narrow);break;case"EEEEEE":t=L(1,F.Short);break;case"a":case"aa":case"aaa":t=L(0,F.Abbreviated);break;case"aaaa":t=L(0,F.Wide);break;case"aaaaa":t=L(0,F.Narrow);break;case"b":case"bb":case"bbb":t=L(0,F.Abbreviated,ie.Standalone,!0);break;case"bbbb":t=L(0,F.Wide,ie.Standalone,!0);break;case"bbbbb":t=L(0,F.Narrow,ie.Standalone,!0);break;case"B":case"BB":case"BBB":t=L(0,F.Abbreviated,ie.Format,!0);break;case"BBBB":t=L(0,F.Wide,ie.Format,!0);break;case"BBBBB":t=L(0,F.Narrow,ie.Format,!0);break;case"h":t=q(3,1,-12);break;case"hh":t=q(3,2,-12);break;case"H":t=q(3,1);break;case"HH":t=q(3,2);break;case"m":t=q(4,1);break;case"mm":t=q(4,2);break;case"s":t=q(5,1);break;case"ss":t=q(5,2);break;case"S":t=q(6,1);break;case"SS":t=q(6,2);break;case"SSS":t=q(6,3);break;case"Z":case"ZZ":case"ZZZ":t=us(0);break;case"ZZZZZ":t=us(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=us(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=us(2);break;default:return null}return el[e]=t,t}function Ug(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function kw(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Pw(e,t,n){let o=e.getTimezoneOffset(),i=Ug(t,o);return kw(e,-1*(i-o))}function Lw(e){if(Sg(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return fs(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(Sw))return jw(r)}let t=new Date(e);if(!Sg(t))throw new v(2302,!1);return t}function jw(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,c,u),t}function Sg(e){return e instanceof Date&&!isNaN(e.valueOf())}var Vw=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Mg=22,ps=".",Hr="0",Bw=";",Hw=",",tl="#";function $w(e,t,n,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=Qe(n,ge.Infinity);else{let u=Gw(e);s&&(u=zw(u));let l=t.minInt,d=t.minFrac,p=t.maxFrac;if(i){let X=i.match(Vw);if(X===null)throw new v(2306,!1);let al=X[1],ys=X[3],cl=X[5];al!=null&&(l=nl(al)),ys!=null&&(d=nl(ys)),cl!=null?p=nl(cl):ys!=null&&d>p&&(p=d)}Ww(u,d,p);let f=u.digits,h=u.integerLen,y=u.exponent,M=[];for(c=f.every(X=>!X);h<l;h++)f.unshift(0);for(;h<0;h++)f.unshift(0);h>0?M=f.splice(h,f.length):(M=f,f=[0]);let C=[];for(f.length>=t.lgSize&&C.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)C.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&C.unshift(f.join("")),a=C.join(Qe(n,r)),M.length&&(a+=Qe(n,o)+M.join("")),y&&(a+=Qe(n,ge.Exponential)+"+"+y)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function zg(e,t,n){let r=Lg(t,ol.Decimal),o=Uw(r,Qe(t,ge.MinusSign));return $w(e,o,t,ge.Group,ge.Decimal,n)}function Uw(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(Bw),o=r[0],i=r[1],s=o.indexOf(ps)!==-1?o.split(ps):[o.substring(0,o.lastIndexOf(Hr)+1),o.substring(o.lastIndexOf(Hr)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(tl));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===Hr?n.minFrac=n.maxFrac=l+1:d===tl?n.maxFrac=l+1:n.posSuf+=d}let u=a.split(Hw);if(n.gSize=u[1]?u[1].length:0,n.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,i){let l=o.length-n.posPre.length-n.posSuf.length,d=i.indexOf(tl);n.negPre=i.substring(0,d).replace(/'/g,""),n.negSuf=i.slice(d+l).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function zw(e){if(e.digits[0]===0)return e;let t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(t===0?e.digits.push(0,0):t===1&&e.digits.push(0),e.integerLen+=2),e}function Gw(e){let t=Math.abs(e)+"",n=0,r,o,i,s,a;for((o=t.indexOf(ps))>-1&&(t=t.replace(ps,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===Hr;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===Hr;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>Mg&&(r=r.splice(0,Mg-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function Ww(e,t,n){if(t>n)throw new v(2307,!1);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let c=i!==0,u=t+e.integerLen,l=r.reduceRight(function(d,p,f,h){return p=p+d,h[f]=p<10?p:p-10,c&&(h[f]===0&&f>=u?h.pop():c=!1),p>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function nl(e){let t=parseInt(e);if(isNaN(t))throw new v(2305,!1);return t}var rl=/\s+/,Ng=[],qw=(()=>{class e{_ngEl;_renderer;initialClasses=Ng;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(rl):Ng}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(rl):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(rl).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(z(Ze),z(Ln))};static \u0275dir=ot({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var hs=class{$implicit;ngForOf;index;count;constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}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}},Gg=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new hs(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),xg(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);xg(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(z(wt),z(Et),z(qu))};static \u0275dir=ot({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function xg(e,t){e.context.$implicit=t.item}var Zw=(()=>{class e{_viewContainer;_context=new gs;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Ag(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Ag(n,!1),this._elseTemplateRef=n,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(n,r){return!0}static \u0275fac=function(r){return new(r||e)(z(wt),z(Et))};static \u0275dir=ot({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),gs=class{$implicit=null;ngIf=null};function Ag(e,t){if(e&&!e.createEmbeddedView)throw new v(2020,!1)}var Yw=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){let[o,i]=n.split("."),s=o.indexOf("-")===-1?void 0:xn.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(z(Ze),z(Zu),z(Ln))};static \u0275dir=ot({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),Qw=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(z(wt))};static \u0275dir=ot({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[br]})}return e})();function ms(e,t){return new v(2100,!1)}var Kw=/(?:[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,Jw=(()=>{class e{transform(n){if(n==null)return null;if(typeof n!="string")throw ms(e,n);return n.replace(Kw,r=>r[0].toUpperCase()+r.slice(1).toLowerCase())}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=jn({name:"titlecase",type:e,pure:!0})}return e})(),Xw=(()=>{class e{transform(n){if(n==null)return null;if(typeof n!="string")throw ms(e,n);return n.toUpperCase()}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=jn({name:"uppercase",type:e,pure:!0})}return e})(),eb="mediumDate",Wg=new N(""),qg=new N(""),tb=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??eb,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Hg(n,s,i||this.locale,a)}catch(s){throw ms(e,s.message)}}static \u0275fac=function(r){return new(r||e)(z(Bn,16),z(Wg,24),z(qg,24))};static \u0275pipe=jn({name:"date",type:e,pure:!0})}return e})();var nb=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!rb(n))return null;o||=this._locale;try{let i=ob(n);return zg(i,o,r)}catch(i){throw ms(e,i.message)}}static \u0275fac=function(r){return new(r||e)(z(Bn,16))};static \u0275pipe=jn({name:"number",type:e,pure:!0})}return e})();function rb(e){return!(e==null||e===""||e!==e)}function ob(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new v(2309,!1);return e}var ib=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Qi({type:e});static \u0275inj=tr({})}return e})();function sb(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var il=class{};function xj(e,t,n){return Pu(e,t,n)}var ab="browser",cb="server";function Aj(e){return e===ab}function Rj(e){return e===cb}var Oj=(()=>{class e{static \u0275prov=A({token:e,providedIn:"root",factory:()=>new sl(g(Kt),window)})}return e})(),sl=class{document;window;offset=()=>[0,0];constructor(t,n){this.document=t,this.window=n}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t,n){this.window.scrollTo(ne(te({},n),{left:t[0],top:t[1]}))}scrollToAnchor(t,n){let r=ub(this.document,t);r&&(this.scrollToElement(r,n),r.focus())}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch{console.warn(ft(2400,!1))}}scrollToElement(t,n){let r=t.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(ne(te({},n),{left:o-s[0],top:i-s[1]}))}};function ub(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var Yg=e=>e.src,lb=new N("",{providedIn:"root",factory:()=>Yg});var Zg=/^((\s*\d+w\s*(,|$)){1,})$/;var db=[1,2],fb=640;var pb=1920,hb=1080;var Fj=(()=>{class e{imageLoader=g(lb);config=gb(g(Li));renderer=g(Ln);imgElement=g(Ze).nativeElement;injector=g(De);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;decoding;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){}ngOnInit(){Ye("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");let n=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&Zg.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw")}ngOnChanges(n){if(n.ngSrc&&!n.ngSrc.isFirstChange()){let r=this._renderedSrc;this.updateSrcAndSrcset(!0)}}callImageLoader(n){let r=n;return this.loaderParams&&(r.loaderParams=this.loaderParams),this.imageLoader(r)}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 n={src:this.ngSrc};this._renderedSrc=this.callImageLoader(n)}return this._renderedSrc}getRewrittenSrcset(){let n=Zg.test(this.ngSrcset);return this.ngSrcset.split(",").filter(o=>o!=="").map(o=>{o=o.trim();let i=n?parseFloat(o):parseFloat(o)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:i})} ${o}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:n}=this.config,r=n;return this.sizes?.trim()==="100vw"&&(r=n.filter(i=>i>=fb)),r.map(i=>`${this.callImageLoader({src:this.ngSrc,width:i})} ${i}w`).join(", ")}updateSrcAndSrcset(n=!1){n&&(this._renderedSrc=null);let r=this.getRewrittenSrc();this.setHostAttribute("src",r);let o;return this.ngSrcset?o=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(o=this.getAutomaticSrcset()),o&&this.setHostAttribute("srcset",o),o}getFixedSrcset(){return db.map(r=>`${this.callImageLoader({src:this.ngSrc,width:this.width*r})} ${r}x`).join(", ")}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>pb||this.height>hb),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Yg&&!n}generatePlaceholder(n){let{placeholderResolution:r}=this.config;return n===!0?`url(${this.callImageLoader({src:this.ngSrc,width:r,isPlaceholder:!0})})`:typeof n=="string"?`url(${n})`:null}shouldBlurPlaceholder(n){return!n||!n.hasOwnProperty("blur")?!0:!!n.blur}removePlaceholderOnLoad(n){let r=()=>{let s=this.injector.get(Wu);o(),i(),this.placeholder=!1,s.markForCheck()},o=this.renderer.listen(n,"load",r),i=this.renderer.listen(n,"error",r);mb(n,r)}setHostAttribute(n,r){this.renderer.setAttribute(this.imgElement,n,r)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=ot({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(r,o){r&2&&Xi("position",o.fill?"absolute":null)("width",o.fill?"100%":null)("height",o.fill?"100%":null)("inset",o.fill?"0":null)("background-size",o.placeholder?"cover":null)("background-position",o.placeholder?"50% 50%":null)("background-repeat",o.placeholder?"no-repeat":null)("background-image",o.placeholder?o.generatePlaceholder(o.placeholder):null)("filter",o.placeholder&&o.shouldBlurPlaceholder(o.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",yb],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",Yu],height:[2,"height","height",Yu],decoding:"decoding",loading:"loading",priority:[2,"priority","priority",Pr],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",Pr],fill:[2,"fill","fill",Pr],placeholder:[2,"placeholder","placeholder",vb],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[br]})}return e})();function gb(e){let t={};return e.breakpoints&&(t.breakpoints=e.breakpoints.sort((n,r)=>n-r)),Object.assign({},Pi,e,t)}function mb(e,t){e.complete&&e.naturalWidth&&t()}function yb(e){return typeof e=="string"?e:Ct(e)}function vb(e){return typeof e=="string"&&e!=="true"&&e!=="false"&&e!==""?e:Pr(e)}export{te as a,ne as b,Db as c,Eb as d,Ib as e,Cb as f,wb as g,Ds as h,G as i,sm as j,T as k,Ms as l,Ns as m,le as n,zn as o,Mt as p,ct as q,xs as r,ym as s,vm as t,Ne as u,Dm as v,um as w,Je as x,Sm as y,xe as z,As as A,ut as B,Nm as C,xm as D,Rs as E,Gn as F,Lm as G,xt as H,Vm as I,Hm as J,Ll as K,$m as L,Dl as M,Wn as N,ln as O,Um as P,zm as Q,qm as R,Zm as S,Ym as T,Fs as U,Qm as V,Km as W,Ps as X,Jm as Y,Xm as Z,ey as _,Hl as $,$l as aa,ty as ba,ny as ca,v as da,He as ea,Po as fa,A as ga,tr as ha,dy as ia,N as ja,B as ka,g as la,ha as ma,ld as na,ya as oa,ve as pa,Uo as qa,Cd as ra,wd as sa,Fd as ta,De as ua,Kt as va,vt as wa,Ve as xa,We as ya,ti as za,Jt as Aa,Ka as Ba,br as Ca,av as Da,Qc as Ea,Ze as Fa,hv as Ga,gv as Ha,Uf as Ia,yv as Ja,vv as Ka,Dv as La,Nn as Ma,Ct as Na,Bi as Oa,Tv as Pa,Sv as Qa,Mv as Ra,Nv as Sa,xv as Ta,eu as Ua,op as Va,Tr as Wa,qv as Xa,ip as Ya,Zv as Za,Qv as _a,tD as $a,CD as ab,xn as bb,Et as cb,Nr as db,Dr as eb,Ln as fb,z as gb,EE as hb,wt as ib,Ye as jb,rh as kb,oh as lb,rI as mb,Qi as nb,ot as ob,jn as pb,ah as qb,hI as rb,lh as sb,Ar as tb,tt as ub,oe as vb,TI as wb,SI as xb,NI as yb,yh as zb,vh as Ab,xI as Bb,Dh as Cb,Ji as Db,AI as Eb,Ih as Fb,Vn as Gb,bh as Hb,FI as Ib,kI as Jb,PI as Kb,LI as Lb,jI as Mb,VI as Nb,_h as Ob,xu as Pb,Au as Qb,Th as Rb,Ru as Sb,Ou as Tb,Sh as Ub,Nh as Vb,Fu as Wb,ku as Xb,xh as Yb,Ah as Zb,$I as _b,Oh as $b,Fh as ac,Ph as bc,Lh as cc,qI as dc,YI as ec,QI as fc,JI as gc,XI as hc,eC as ic,tC as jc,nC as kc,rC as lc,oC as mc,Xi as nc,Hh as oc,gC as pc,TC as qc,Zh as rc,Lu as sc,Yh as tc,Qh as uc,Kh as vc,Jh as wc,Xh as xc,RC as yc,eg as zc,OC as Ac,jC as Bc,VC as Cc,BC as Dc,HC as Ec,$C as Fc,UC as Gc,WC as Hc,ZC as Ic,YC as Jc,QC as Kc,KC as Lc,Bn as Mc,ug as Nc,tw as Oc,lg as Pc,hL as Qc,gL as Rc,mL as Sc,yL as Tc,Wu as Uc,vL as Vc,DL as Wc,Pr as Xc,EL as Yc,IL as Zc,os as _c,Iw as $c,Ku as ad,Lr as bd,Cw as cd,Hn as dd,ss as ed,_g as fd,Tg as gd,Tw as hd,qw as id,Gg as jd,Zw as kd,Yw as ld,Qw as md,Jw as nd,Xw as od,tb as pd,nb as qd,ib as rd,sb as sd,il as td,xj as ud,ab as vd,Aj as wd,Rj as xd,Oj as yd,Fj as zd};