homebridge-config-ui-x 5.0.0-beta.3 → 5.0.0-beta.31

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 (282) hide show
  1. package/CHANGELOG.md +182 -8
  2. package/LICENSE +1 -1
  3. package/README.md +6 -8
  4. package/config.schema.json +38 -18
  5. package/dist/bin/fork.js +17 -7
  6. package/dist/bin/fork.js.map +1 -1
  7. package/dist/bin/hb-service.d.ts +2 -2
  8. package/dist/bin/hb-service.js +67 -56
  9. package/dist/bin/hb-service.js.map +1 -1
  10. package/dist/bin/platforms/win32.js +4 -2
  11. package/dist/bin/platforms/win32.js.map +1 -1
  12. package/dist/bin/standalone.js +18 -7
  13. package/dist/bin/standalone.js.map +1 -1
  14. package/dist/core/auth/auth.controller.d.ts +2 -0
  15. package/dist/core/auth/auth.controller.js.map +1 -1
  16. package/dist/core/auth/auth.module.js +1 -1
  17. package/dist/core/auth/auth.module.js.map +1 -1
  18. package/dist/core/auth/auth.service.js +10 -10
  19. package/dist/core/auth/auth.service.js.map +1 -1
  20. package/dist/core/config/config.service.d.ts +3 -0
  21. package/dist/core/config/config.service.js +1 -0
  22. package/dist/core/config/config.service.js.map +1 -1
  23. package/dist/core/config/config.startup.js +2 -2
  24. package/dist/core/config/config.startup.js.map +1 -1
  25. package/dist/core/homebridge-ipc/homebridge-ipc.service.js +3 -3
  26. package/dist/core/homebridge-ipc/homebridge-ipc.service.js.map +1 -1
  27. package/dist/index.js +25 -14
  28. package/dist/index.js.map +1 -1
  29. package/dist/main.js +1 -1
  30. package/dist/main.js.map +1 -1
  31. package/dist/modules/accessories/accessories.controller.js +4 -4
  32. package/dist/modules/accessories/accessories.controller.js.map +1 -1
  33. package/dist/modules/accessories/accessories.service.js +7 -6
  34. package/dist/modules/accessories/accessories.service.js.map +1 -1
  35. package/dist/modules/backup/backup.controller.js +7 -7
  36. package/dist/modules/backup/backup.controller.js.map +1 -1
  37. package/dist/modules/backup/backup.service.js +17 -17
  38. package/dist/modules/backup/backup.service.js.map +1 -1
  39. package/dist/modules/child-bridges/child-bridges.service.js +3 -3
  40. package/dist/modules/child-bridges/child-bridges.service.js.map +1 -1
  41. package/dist/modules/config-editor/config-editor.controller.d.ts +1 -1
  42. package/dist/modules/config-editor/config-editor.controller.js +7 -7
  43. package/dist/modules/config-editor/config-editor.controller.js.map +1 -1
  44. package/dist/modules/config-editor/config-editor.service.d.ts +1 -1
  45. package/dist/modules/config-editor/config-editor.service.js +6 -6
  46. package/dist/modules/config-editor/config-editor.service.js.map +1 -1
  47. package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.service.js +11 -9
  48. package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.service.js.map +1 -1
  49. package/dist/modules/log/log.service.js +3 -3
  50. package/dist/modules/log/log.service.js.map +1 -1
  51. package/dist/modules/platform-tools/docker/docker.controller.js +3 -3
  52. package/dist/modules/platform-tools/docker/docker.controller.js.map +1 -1
  53. package/dist/modules/platform-tools/docker/docker.service.js +1 -1
  54. package/dist/modules/platform-tools/docker/docker.service.js.map +1 -1
  55. package/dist/modules/platform-tools/hb-service/hb-service.controller.js +1 -1
  56. package/dist/modules/platform-tools/hb-service/hb-service.controller.js.map +1 -1
  57. package/dist/modules/platform-tools/hb-service/hb-service.service.js +6 -6
  58. package/dist/modules/platform-tools/hb-service/hb-service.service.js.map +1 -1
  59. package/dist/modules/platform-tools/linux/linux.controller.js +2 -2
  60. package/dist/modules/platform-tools/linux/linux.controller.js.map +1 -1
  61. package/dist/modules/platform-tools/linux/linux.service.js +2 -2
  62. package/dist/modules/platform-tools/linux/linux.service.js.map +1 -1
  63. package/dist/modules/platform-tools/terminal/terminal.service.js +2 -2
  64. package/dist/modules/platform-tools/terminal/terminal.service.js.map +1 -1
  65. package/dist/modules/plugins/plugins.controller.js +4 -4
  66. package/dist/modules/plugins/plugins.controller.js.map +1 -1
  67. package/dist/modules/plugins/plugins.service.d.ts +1 -0
  68. package/dist/modules/plugins/plugins.service.js +74 -35
  69. package/dist/modules/plugins/plugins.service.js.map +1 -1
  70. package/dist/modules/server/server.controller.d.ts +19 -2
  71. package/dist/modules/server/server.controller.js +84 -18
  72. package/dist/modules/server/server.controller.js.map +1 -1
  73. package/dist/modules/server/server.service.d.ts +23 -6
  74. package/dist/modules/server/server.service.js +171 -56
  75. package/dist/modules/server/server.service.js.map +1 -1
  76. package/dist/modules/status/status.controller.js +3 -3
  77. package/dist/modules/status/status.controller.js.map +1 -1
  78. package/dist/modules/status/status.service.js +4 -4
  79. package/dist/modules/status/status.service.js.map +1 -1
  80. package/dist/modules/users/users.controller.js +1 -1
  81. package/dist/modules/users/users.controller.js.map +1 -1
  82. package/dist/self-check.js +6 -6
  83. package/dist/self-check.js.map +1 -1
  84. package/package.json +31 -27
  85. package/public/3rdpartylicenses.txt +70 -44
  86. package/public/assets/hap-icons/airpurifier.svg +49 -16
  87. package/public/assets/hap-icons/airquality.svg +24 -13
  88. package/public/assets/hap-icons/contactsensor-closed.svg +35 -2
  89. package/public/assets/hap-icons/contactsensor-open.svg +80 -2
  90. package/public/assets/hap-icons/door-closed.svg +32 -2
  91. package/public/assets/hap-icons/door-open.svg +48 -2
  92. package/public/assets/hap-icons/fan-off.svg +24 -13
  93. package/public/assets/hap-icons/fan-on.svg +24 -13
  94. package/public/assets/hap-icons/garagedoor.svg +24 -13
  95. package/public/assets/hap-icons/humidity.svg +24 -13
  96. package/public/assets/hap-icons/irrigation-system.svg +47 -18
  97. package/public/assets/hap-icons/leaksensor.svg +52 -2
  98. package/public/assets/hap-icons/light.svg +47 -28
  99. package/public/assets/hap-icons/lightbulb.svg +24 -13
  100. package/public/assets/hap-icons/lock-locked.svg +24 -13
  101. package/public/assets/hap-icons/lock-unlocked.svg +24 -13
  102. package/public/assets/hap-icons/motionsensor.svg +100 -2
  103. package/public/assets/hap-icons/occupancysensor.svg +97 -2
  104. package/public/assets/hap-icons/outlet.svg +24 -13
  105. package/public/assets/hap-icons/securitysystem-active.svg +102 -2
  106. package/public/assets/hap-icons/securitysystem-off.svg +68 -2
  107. package/public/assets/hap-icons/smokesensor.svg +42 -9
  108. package/public/assets/hap-icons/speaker.svg +29 -13
  109. package/public/assets/hap-icons/statelessprogrammableswitch.svg +51 -2
  110. package/public/assets/hap-icons/switch.svg +24 -13
  111. package/public/assets/hap-icons/television.svg +15 -4
  112. package/public/assets/hap-icons/temperature.svg +24 -13
  113. package/public/assets/hap-icons/unknown.svg +24 -13
  114. package/public/assets/hap-icons/valve-generic.svg +27 -16
  115. package/public/assets/hap-icons/valve-irrigation.svg +37 -21
  116. package/public/assets/hap-icons/valve-showerhead.svg +52 -0
  117. package/public/assets/hap-icons/valve-waterfaucet.svg +21 -0
  118. package/public/assets/hap-icons/window-closed.svg +85 -2
  119. package/public/assets/hap-icons/window-open.svg +136 -2
  120. package/public/assets/hap-icons/windowcovering-closed.svg +45 -49
  121. package/public/assets/hap-icons/windowcovering-open.svg +40 -44
  122. package/public/assets/homebridge-color-round.svg +36 -1
  123. package/public/assets/homebridge-logo.svg +11 -1
  124. package/public/assets/mask-icon.svg +5 -1
  125. package/public/assets/plugin-ui-utils/ui.js +38 -19
  126. package/public/assets/plugin-ui-utils/ui.js.map +1 -1
  127. package/public/{chunk-6TCHCTXZ.js → chunk-23M23WV2.js} +1 -1
  128. package/public/chunk-27Y2SMZQ.js +1 -0
  129. package/public/{chunk-QE7DO6J3.js → chunk-474BOAR2.js} +2 -2
  130. package/public/{chunk-VOBHY2IH.js → chunk-5FGGDMPF.js} +2 -2
  131. package/public/{chunk-WNWWUCCZ.js → chunk-5KLZWFYX.js} +1 -1
  132. package/public/{chunk-ASX35H47.js → chunk-5YQD6SFF.js} +1 -1
  133. package/public/chunk-675OFXLW.js +1 -0
  134. package/public/chunk-6LLC6ASY.js +1 -0
  135. package/public/chunk-6SQJWZJ3.js +1 -0
  136. package/public/chunk-6VKXZGBQ.js +1 -0
  137. package/public/{chunk-BKUGARB4.js → chunk-7BCHGXO4.js} +1 -1
  138. package/public/chunk-7ZWVTY7M.js +1 -0
  139. package/public/chunk-A4UEYJ65.js +1 -0
  140. package/public/chunk-BMWLHPL2.js +1 -0
  141. package/public/chunk-BUJGF5XS.js +1 -0
  142. package/public/{chunk-CCUID66K.js → chunk-C2XBPNOQ.js} +1 -1
  143. package/public/chunk-CBZQXGMM.js +1 -0
  144. package/public/chunk-CKNHTRCL.js +7 -0
  145. package/public/{chunk-BFDVOBTQ.js → chunk-DI7XQKGK.js} +1 -1
  146. package/public/chunk-DMNEGPYI.js +1 -0
  147. package/public/chunk-DPQL3CFN.js +1 -0
  148. package/public/chunk-DZK7ET6B.js +1 -0
  149. package/public/chunk-E4JGXDDX.js +1 -0
  150. package/public/chunk-EEDUUZ6J.js +1 -0
  151. package/public/chunk-EIDRJ2MZ.js +1 -0
  152. package/public/chunk-EPUIY43R.js +1 -0
  153. package/public/chunk-FFAK3S6H.js +1 -0
  154. package/public/chunk-FYBGDBHS.js +5 -0
  155. package/public/chunk-G6DEXV26.js +1 -0
  156. package/public/chunk-GAOJPT7Q.js +32 -0
  157. package/public/{chunk-6PHMBMFU.js → chunk-GH44GF33.js} +1 -1
  158. package/public/chunk-GMDD67DK.js +1 -0
  159. package/public/chunk-GT23NQ6X.js +1 -0
  160. package/public/chunk-GZ6LPTUZ.js +1 -0
  161. package/public/{chunk-UG5DK2RQ.js → chunk-HA6CO5NZ.js} +2 -2
  162. package/public/chunk-HZMFFGGL.js +1 -0
  163. package/public/chunk-IBVQ5XHN.js +1 -0
  164. package/public/chunk-IFT3CY2Y.js +1 -0
  165. package/public/chunk-IN2KYSF4.js +1 -0
  166. package/public/chunk-JA6D57G2.js +1 -0
  167. package/public/{chunk-JZZQRLNW.js → chunk-JF5AT3NK.js} +1 -1
  168. package/public/chunk-JIBSE7F4.js +1 -0
  169. package/public/chunk-JN3CZQ6V.js +1 -0
  170. package/public/chunk-KKXQOKX2.js +1 -0
  171. package/public/{chunk-IW3EPSTZ.js → chunk-KTZO3WBP.js} +4 -4
  172. package/public/chunk-L2ORBCR2.js +1 -0
  173. package/public/chunk-LEBQDAR4.js +1 -0
  174. package/public/chunk-LEFLOPGL.js +1 -0
  175. package/public/chunk-LXXOSKLU.js +1 -0
  176. package/public/chunk-N4F42HDL.js +5 -0
  177. package/public/{chunk-NW6AFAD7.js → chunk-NFG4Y4PX.js} +1 -1
  178. package/public/chunk-NN4AKVX5.js +1 -0
  179. package/public/{chunk-7EUQWCP5.js → chunk-NSCP3SOQ.js} +1 -1
  180. package/public/{chunk-7L7RZCFC.js → chunk-OE2GYWRJ.js} +1 -1
  181. package/public/chunk-OOXD7YEJ.js +1 -0
  182. package/public/chunk-OURKTFZU.js +1 -0
  183. package/public/{chunk-VMXGERJT.js → chunk-PIKLHZDA.js} +8 -8
  184. package/public/chunk-QAHKBWOC.js +20 -0
  185. package/public/chunk-QRKW54YY.js +1 -0
  186. package/public/chunk-R5E5WAV5.js +1 -0
  187. package/public/chunk-REMR6QVW.js +1 -0
  188. package/public/chunk-RGOOY4ED.js +1 -0
  189. package/public/chunk-SRBTIWVO.js +1 -0
  190. package/public/{chunk-NZNNTHFQ.js → chunk-T3GI7KUT.js} +1 -1
  191. package/public/chunk-TRQOR36U.js +1 -0
  192. package/public/chunk-V6L2K2WY.js +1 -0
  193. package/public/chunk-VB5BRR2U.js +1 -0
  194. package/public/chunk-WAHQ6FKA.js +1 -0
  195. package/public/chunk-WJ3IINUA.js +1 -0
  196. package/public/chunk-WZWCA2UY.js +1 -0
  197. package/public/chunk-X5YRTZFZ.js +1 -0
  198. package/public/chunk-X6VYPTSJ.js +1 -0
  199. package/public/chunk-XADFYKJR.js +1 -0
  200. package/public/chunk-XASV7YHW.js +6 -0
  201. package/public/{chunk-WHJOLAED.js → chunk-XFK2EZ3K.js} +1 -1
  202. package/public/{chunk-EA5J2VEJ.js → chunk-XP7D2PRA.js} +1 -1
  203. package/public/{chunk-WHJSVGC7.js → chunk-XQNHUDX7.js} +1 -1
  204. package/public/chunk-YLAFYHGY.js +1 -0
  205. package/public/{chunk-QHPDGSZ6.js → chunk-YLEC7AUG.js} +1 -1
  206. package/public/chunk-YLOLF5VJ.js +1 -0
  207. package/public/chunk-Z2FKNCT7.js +1 -0
  208. package/public/chunk-Z4NHF7RI.js +1 -0
  209. package/public/index.html +2 -2
  210. package/public/main-422LQ5TU.js +1 -0
  211. package/public/media/fa-brands-400-Q3XCMWHQ.woff2 +0 -0
  212. package/public/media/{fa-brands-400-MVB2B5XM.ttf → fa-brands-400-R2XQZCET.ttf} +0 -0
  213. package/public/media/fa-regular-400-QSNYFYRT.woff2 +0 -0
  214. package/public/media/{fa-regular-400-EGQOOADX.ttf → fa-regular-400-XUOPSR7E.ttf} +0 -0
  215. package/public/media/fa-solid-900-5ZUYHGA7.woff2 +0 -0
  216. package/public/media/{fa-solid-900-ZUDIWQL5.ttf → fa-solid-900-PJNKLK6W.ttf} +0 -0
  217. package/public/styles-7Q7QNSR3.css +1 -0
  218. package/public/chunk-2OBHR63W.js +0 -1
  219. package/public/chunk-3C6WVST7.js +0 -1
  220. package/public/chunk-3IX3CLER.js +0 -1
  221. package/public/chunk-5ALXJOLQ.js +0 -1
  222. package/public/chunk-5LVGHH2N.js +0 -1
  223. package/public/chunk-7456RB3C.js +0 -1
  224. package/public/chunk-76S7LYCL.js +0 -1
  225. package/public/chunk-77A3OZ74.js +0 -1
  226. package/public/chunk-7EANS226.js +0 -1
  227. package/public/chunk-AVJ6EUEE.js +0 -1
  228. package/public/chunk-AX23H5TL.js +0 -1
  229. package/public/chunk-AZXQ73I5.js +0 -1
  230. package/public/chunk-BMXAHMY6.js +0 -1
  231. package/public/chunk-BPMSJ2VF.js +0 -1
  232. package/public/chunk-CW7Q7WEJ.js +0 -1
  233. package/public/chunk-DDXIRKVB.js +0 -1
  234. package/public/chunk-DNOJWLVY.js +0 -1
  235. package/public/chunk-DZY2Q3FG.js +0 -1
  236. package/public/chunk-FX4GQIE4.js +0 -32
  237. package/public/chunk-GVDR7ZRB.js +0 -1
  238. package/public/chunk-HSJSWZHD.js +0 -1
  239. package/public/chunk-I7ZKPCIW.js +0 -1
  240. package/public/chunk-IPZ4P5DE.js +0 -1
  241. package/public/chunk-IWYEH4T6.js +0 -1
  242. package/public/chunk-JL6S5IIU.js +0 -1
  243. package/public/chunk-KIJWUGXX.js +0 -1
  244. package/public/chunk-KO3WJGGG.js +0 -1
  245. package/public/chunk-KQJ7ONUG.js +0 -1
  246. package/public/chunk-KTDJZCFW.js +0 -1
  247. package/public/chunk-LDPCT3YF.js +0 -5
  248. package/public/chunk-MHYIZZN4.js +0 -1
  249. package/public/chunk-MOV2HTCQ.js +0 -1
  250. package/public/chunk-NF4NIS42.js +0 -1
  251. package/public/chunk-O75YP3SB.js +0 -1
  252. package/public/chunk-ODPTCLGS.js +0 -1
  253. package/public/chunk-ORPWYWCL.js +0 -5
  254. package/public/chunk-Q5URFHBE.js +0 -1
  255. package/public/chunk-QLWY5NWN.js +0 -1
  256. package/public/chunk-QRZNMAFL.js +0 -1
  257. package/public/chunk-RHB2T3FE.js +0 -1
  258. package/public/chunk-RMI35HIS.js +0 -1
  259. package/public/chunk-RO4QXVDE.js +0 -1
  260. package/public/chunk-RWZRB2OY.js +0 -1
  261. package/public/chunk-S62KH3FN.js +0 -6
  262. package/public/chunk-S6EMLS5Q.js +0 -1
  263. package/public/chunk-SVFFEV36.js +0 -1
  264. package/public/chunk-T2YVB4SI.js +0 -1
  265. package/public/chunk-TCSXGQNF.js +0 -1
  266. package/public/chunk-TXOB7R5K.js +0 -7
  267. package/public/chunk-U6ORTLYL.js +0 -1
  268. package/public/chunk-UJU3NPS7.js +0 -1
  269. package/public/chunk-UYZI56PX.js +0 -1
  270. package/public/chunk-UZU6PLTW.js +0 -1
  271. package/public/chunk-UZW3DWH4.js +0 -1
  272. package/public/chunk-WMB35VCS.js +0 -1
  273. package/public/chunk-WT2GX4NS.js +0 -1
  274. package/public/chunk-XH6GEPB6.js +0 -1
  275. package/public/chunk-ZLPCX4R4.js +0 -1
  276. package/public/chunk-ZT23DWNL.js +0 -1
  277. package/public/chunk-ZY7HKZ4P.js +0 -20
  278. package/public/main-ILTX7GFO.js +0 -1
  279. package/public/media/fa-brands-400-6U3GU5Y7.woff2 +0 -0
  280. package/public/media/fa-regular-400-R5EOMW4H.woff2 +0 -0
  281. package/public/media/fa-solid-900-W65KEJAS.woff2 +0 -0
  282. package/public/styles-GDLSHXGD.css +0 -1
@@ -1,7 +0,0 @@
1
- var Cp=Object.create;var tr=Object.defineProperty,bp=Object.defineProperties,_p=Object.getOwnPropertyDescriptor,Mp=Object.getOwnPropertyDescriptors,Sp=Object.getOwnPropertyNames,er=Object.getOwnPropertySymbols,Tp=Object.getPrototypeOf,ui=Object.prototype.hasOwnProperty,Cu=Object.prototype.propertyIsEnumerable;var wu=(e,t,n)=>t in e?tr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ne=(e,t)=>{for(var n in t||(t={}))ui.call(t,n)&&wu(e,n,t[n]);if(er)for(var n of er(t))Cu.call(t,n)&&wu(e,n,t[n]);return e},Ae=(e,t)=>bp(e,Mp(t));var sw=e=>t=>{var n=e[t];if(n)return n();throw new Error("Module not found in bundle: "+t)};var aw=(e,t)=>{var n={};for(var r in e)ui.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&er)for(var r of er(e))t.indexOf(r)<0&&Cu.call(e,r)&&(n[r]=e[r]);return n};var uw=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),cw=(e,t)=>{for(var n in t)tr(e,n,{get:t[n],enumerable:!0})},xp=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Sp(t))!ui.call(e,o)&&o!==n&&tr(e,o,{get:()=>t[o],enumerable:!(r=_p(t,o))||r.enumerable});return e};var lw=(e,t,n)=>(n=e!=null?Cp(Tp(e)):{},xp(t||!e||!e.__esModule?tr(n,"default",{value:e,enumerable:!0}):n,e));var bu=(e,t,n)=>new Promise((r,o)=>{var i=u=>{try{a(n.next(u))}catch(c){o(c)}},s=u=>{try{a(n.throw(u))}catch(c){o(c)}},a=u=>u.done?r(u.value):Promise.resolve(u.value).then(i,s);a((n=n.apply(e,t)).next())});function m(e){return typeof e=="function"}function zt(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 nr=zt(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 It(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var z=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(m(r))try{r()}catch(i){t=i instanceof nr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{_u(i)}catch(s){t=t!=null?t:[],s instanceof nr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new nr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)_u(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)&&It(n,t)}remove(t){let{_finalizers:n}=this;n&&It(n,t),t instanceof e&&t._removeParent(this)}};z.EMPTY=(()=>{let e=new z;return e.closed=!0,e})();var ci=z.EMPTY;function rr(e){return e instanceof z||e&&"closed"in e&&m(e.remove)&&m(e.add)&&m(e.unsubscribe)}function _u(e){m(e)?e():e.unsubscribe()}var Ee={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Gt={setTimeout(e,t,...n){let{delegate:r}=Gt;return r!=null&&r.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Gt;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function or(e){Gt.setTimeout(()=>{let{onUnhandledError:t}=Ee;if(t)t(e);else throw e})}function Be(){}var Mu=li("C",void 0,void 0);function Su(e){return li("E",void 0,e)}function Tu(e){return li("N",e,void 0)}function li(e,t,n){return{kind:e,value:t,error:n}}var wt=null;function qt(e){if(Ee.useDeprecatedSynchronousErrorHandling){let t=!wt;if(t&&(wt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=wt;if(wt=null,n)throw r}}else e()}function xu(e){Ee.useDeprecatedSynchronousErrorHandling&&wt&&(wt.errorThrown=!0,wt.error=e)}var Ct=class extends z{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,rr(t)&&t.add(this)):this.destination=Op}static create(t,n,r){return new Ie(t,n,r)}next(t){this.isStopped?fi(Tu(t),this):this._next(t)}error(t){this.isStopped?fi(Su(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?fi(Mu,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()}}},Np=Function.prototype.bind;function di(e,t){return Np.call(e,t)}var pi=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ir(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ir(r)}else ir(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ir(n)}}},Ie=class extends Ct{constructor(t,n,r){super();let o;if(m(t)||!t)o={next:t!=null?t:void 0,error:n!=null?n:void 0,complete:r!=null?r:void 0};else{let i;this&&Ee.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&di(t.next,i),error:t.error&&di(t.error,i),complete:t.complete&&di(t.complete,i)}):o=t}this.destination=new pi(o)}};function ir(e){Ee.useDeprecatedSynchronousErrorHandling?xu(e):or(e)}function Ap(e){throw e}function fi(e,t){let{onStoppedNotification:n}=Ee;n&&Gt.setTimeout(()=>n(e,t))}var Op={closed:!0,next:Be,error:Ap,complete:Be};var Wt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Y(e){return e}function Rp(...e){return hi(e)}function hi(e){return e.length===0?Y:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var M=(()=>{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=kp(n)?n:new Ie(n,r,o);return qt(()=>{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=Nu(r),new r((o,i)=>{let s=new Ie({next:a=>{try{n(a)}catch(u){i(u),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)}[Wt](){return this}pipe(...n){return hi(n)(this)}toPromise(n){return n=Nu(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 Nu(e){var t;return(t=e!=null?e:Ee.Promise)!==null&&t!==void 0?t:Promise}function Fp(e){return e&&m(e.next)&&m(e.error)&&m(e.complete)}function kp(e){return e&&e instanceof Ct||Fp(e)&&rr(e)}var Au=zt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ae=(()=>{class e extends M{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new sr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Au}next(n){qt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){qt(()=>{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(){qt(()=>{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?ci:(this.currentObservers=null,i.push(n),new z(()=>{this.currentObservers=null,It(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new M;return n.source=this,n}}return e.create=(t,n)=>new sr(t,n),e})(),sr=class extends ae{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:ci}};var we=zt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Pp(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new Ie({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new we)}});e.subscribe(i)})}var ar=class extends z{constructor(t,n){super()}schedule(t,n=0){return this}};var En={setInterval(e,t,...n){let{delegate:r}=En;return r!=null&&r.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=En;return((t==null?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0};var ur=class extends ar{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 En.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&&En.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,It(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var In={now(){return(In.delegate||Date).now()},delegate:void 0};var Zt=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)}};Zt.now=In.now;var cr=class extends Zt{constructor(t,n=Zt.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 bt=new cr(ur),Ou=bt;function gi(e){return m(e==null?void 0:e.lift)}function b(e){return t=>{if(gi(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 D(e,t,n,r,o){return new mi(e,t,n,r,o)}var mi=class extends Ct{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}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 Ru(e,t=bt){return b((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,r.next(c)}};function u(){let c=s+e,l=t.now();if(l<c){o=this.schedule(void 0,c-l),r.add(o);return}a()}n.subscribe(D(r,c=>{i=c,s=t.now(),o||(o=t.schedule(u,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}var _t=new M(e=>e.complete());function Yt(e){return e<=0?()=>_t:b((t,n)=>{let r=0;t.subscribe(D(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function yi(){return b((e,t)=>{let n=null;e._refCount++;let r=D(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 vi=class extends M{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,gi(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==null||t.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new z;let n=this.getSubject();t.add(this.source.subscribe(D(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=z.EMPTY)}return t}refCount(){return yi()(this)}};var wn=class extends ae{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 lr=class extends ae{constructor(t=1/0,n=1/0,r=In){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 u=1;u<r.length&&r[u]<=s;u+=2)a=u;a&&r.splice(0,a+1)}}};function dr(e){return e&&m(e.schedule)}function Fu(e){return e[e.length-1]}function ot(e){return m(Fu(e))?e.pop():void 0}function it(e){return dr(Fu(e))?e.pop():void 0}function Pu(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{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function ku(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 Mt(e){return this instanceof Mt?(this.v=e,this):new Mt(e)}function Lu(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(g){return new Promise(function(C,v){i.push([f,g,C,v])>1||u(f,g)})},h&&(o[f]=h(o[f])))}function u(f,h){try{c(r[f](h))}catch(g){p(i[0][3],g)}}function c(f){f.value instanceof Mt?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){u("next",f)}function d(f){u("throw",f)}function p(f,h){f(h),i.shift(),i.length&&u(i[0][0],i[0][1])}}function ju(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 ku=="function"?ku(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,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var Qt=e=>e&&typeof e.length=="number"&&typeof e!="function";function fr(e){return m(e==null?void 0:e.then)}function pr(e){return m(e[Wt])}function hr(e){return Symbol.asyncIterator&&m(e==null?void 0:e[Symbol.asyncIterator])}function gr(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 Lp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var mr=Lp();function yr(e){return m(e==null?void 0:e[mr])}function vr(e){return Lu(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Mt(n.read());if(o)return yield Mt(void 0);yield yield Mt(r)}}finally{n.releaseLock()}})}function Dr(e){return m(e==null?void 0:e.getReader)}function N(e){if(e instanceof M)return e;if(e!=null){if(pr(e))return jp(e);if(Qt(e))return Vp(e);if(fr(e))return Bp(e);if(hr(e))return Vu(e);if(yr(e))return Hp(e);if(Dr(e))return $p(e)}throw gr(e)}function jp(e){return new M(t=>{let n=e[Wt]();if(m(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Vp(e){return new M(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Bp(e){return new M(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,or)})}function Hp(e){return new M(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Vu(e){return new M(t=>{Up(e,t).catch(n=>t.error(n))})}function $p(e){return Vu(vr(e))}function Up(e,t){var n,r,o,i;return Pu(this,void 0,void 0,function*(){try{for(n=ju(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 ue(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 Er(e,t=0){return b((n,r)=>{n.subscribe(D(r,o=>ue(r,e,()=>r.next(o),t),()=>ue(r,e,()=>r.complete(),t),o=>ue(r,e,()=>r.error(o),t)))})}function Ir(e,t=0){return b((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Bu(e,t){return N(e).pipe(Ir(t),Er(t))}function Hu(e,t){return N(e).pipe(Ir(t),Er(t))}function $u(e,t){return new M(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Uu(e,t){return new M(n=>{let r;return ue(n,t,()=>{r=e[mr](),ue(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)}),()=>m(r==null?void 0:r.return)&&r.return()})}function wr(e,t){if(!e)throw new Error("Iterable cannot be null");return new M(n=>{ue(n,t,()=>{let r=e[Symbol.asyncIterator]();ue(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function zu(e,t){return wr(vr(e),t)}function Gu(e,t){if(e!=null){if(pr(e))return Bu(e,t);if(Qt(e))return $u(e,t);if(fr(e))return Hu(e,t);if(hr(e))return wr(e,t);if(yr(e))return Uu(e,t);if(Dr(e))return zu(e,t)}throw gr(e)}function st(e,t){return t?Gu(e,t):N(e)}function Di(...e){let t=it(e);return st(e,t)}function zp(e,t){let n=m(e)?e:()=>e,r=o=>o.error(n());return new M(t?o=>t.schedule(r,0,o):r)}function Gp(e){return!!e&&(e instanceof M||m(e.lift)&&m(e.subscribe))}function qp(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 we)}})})}function qu(e){return e instanceof Date&&!isNaN(e)}function He(e,t){return b((n,r)=>{let o=0;n.subscribe(D(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Wp}=Array;function Zp(e,t){return Wp(t)?e(...t):e(t)}function Kt(e){return He(t=>Zp(e,t))}var{isArray:Yp}=Array,{getPrototypeOf:Qp,prototype:Kp,keys:Jp}=Object;function Cr(e){if(e.length===1){let t=e[0];if(Yp(t))return{args:t,keys:null};if(Xp(t)){let n=Jp(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Xp(e){return e&&typeof e=="object"&&Qp(e)===Kp}function br(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function eh(...e){let t=it(e),n=ot(e),{args:r,keys:o}=Cr(e);if(r.length===0)return st([],t);let i=new M(th(r,t,o?s=>br(o,s):Y));return n?i.pipe(Kt(n)):i}function th(e,t,n=Y){return r=>{Wu(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u<o;u++)Wu(t,()=>{let c=st(e[u],t),l=!1;c.subscribe(D(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Wu(e,t,n){e?ue(n,e,t):t()}function Zu(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,p=()=>{d&&!u.length&&!c&&t.complete()},f=g=>c<r?h(g):u.push(g),h=g=>{i&&t.next(g),c++;let C=!1;N(n(g,l++)).subscribe(D(t,v=>{o==null||o(v),i?f(v):t.next(v)},()=>{C=!0},void 0,()=>{if(C)try{for(c--;u.length&&c<r;){let v=u.shift();s?ue(t,s,()=>h(v)):h(v)}p()}catch(v){t.error(v)}}))};return e.subscribe(D(t,f,()=>{d=!0,p()})),()=>{a==null||a()}}function Ce(e,t,n=1/0){return m(t)?Ce((r,o)=>He((i,s)=>t(r,i,o,s))(N(e(r,o))),n):(typeof t=="number"&&(n=t),b((r,o)=>Zu(r,o,e,n)))}function Ei(e=1/0){return Ce(Y,e)}function Yu(){return Ei(1)}function at(...e){return Yu()(st(e,it(e)))}function nh(e){return new M(t=>{N(e()).subscribe(t)})}function rh(...e){let t=ot(e),{args:n,keys:r}=Cr(e),o=new M(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l<s;l++){let d=!1;N(n[l]).subscribe(D(i,p=>{d||(d=!0,c--),a[l]=p},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?br(r,a):a),i.complete())}))}});return t?o.pipe(Kt(t)):o}var oh=["addListener","removeListener"],ih=["addEventListener","removeEventListener"],sh=["on","off"];function Ii(e,t,n,r){if(m(n)&&(r=n,n=void 0),r)return Ii(e,t,n).pipe(Kt(r));let[o,i]=ch(e)?ih.map(s=>a=>e[s](t,a,n)):ah(e)?oh.map(Qu(e,t)):uh(e)?sh.map(Qu(e,t)):[];if(!o&&Qt(e))return Ce(s=>Ii(s,t,n))(N(e));if(!o)throw new TypeError("Invalid event target");return new M(s=>{let a=(...u)=>s.next(1<u.length?u:u[0]);return o(a),()=>i(a)})}function Qu(e,t){return n=>r=>e[n](t,r)}function ah(e){return m(e.addListener)&&m(e.removeListener)}function uh(e){return m(e.on)&&m(e.off)}function ch(e){return m(e.addEventListener)&&m(e.removeEventListener)}function Cn(e=0,t,n=Ou){let r=-1;return t!=null&&(dr(t)?n=t:r=t),new M(o=>{let i=qu(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 lh(e=0,t=bt){return e<0&&(e=0),Cn(e,e,t)}var{isArray:dh}=Array;function _r(e){return e.length===1&&dh(e[0])?e[0]:e}function St(e,t){return b((n,r)=>{let o=0;n.subscribe(D(r,i=>e.call(t,i,o++)&&r.next(i)))})}function fh(...e){return e=_r(e),e.length===1?N(e[0]):new M(ph(e))}function ph(e){return t=>{let n=[];for(let r=0;n&&!t.closed&&r<e.length;r++)n.push(N(e[r]).subscribe(D(t,o=>{if(n){for(let i=0;i<n.length;i++)i!==r&&n[i].unsubscribe();n=null}t.next(o)})))}}function hh(...e){let t=ot(e),n=_r(e);return n.length?new M(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)N(n[s]).subscribe(D(r,a=>{if(o[s].push(a),o.every(u=>u.length)){let u=o.map(c=>c.shift());r.next(t?t(...u):u),o.some((c,l)=>!c.length&&i[l])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):_t}function Ku(e){return b((t,n)=>{let r=null,o=!1,i;r=t.subscribe(D(n,void 0,void 0,s=>{i=N(e(s,Ku(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Ju(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(D(s,l=>{let d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function gh(e,t){return m(t)?Ce(e,t,1):Ce(e,1)}function bn(e){return b((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Xu(){return b((e,t)=>{e.subscribe(D(t,Be))})}function wi(e){return He(()=>e)}function Ci(e,t){return t?n=>at(t.pipe(Yt(1),Xu()),n.pipe(Ci(e))):Ce((n,r)=>N(e(n,r)).pipe(Yt(1),wi(n)))}function mh(e,t=bt){let n=Cn(e,t);return Ci(()=>n)}function yh(e,t=Y){return e=e!=null?e:vh,b((n,r)=>{let o,i=!0;n.subscribe(D(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function vh(e,t){return e===t}function Mr(e=Dh){return b((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Dh(){return new we}function Eh(...e){return t=>at(t,Di(...e))}function Ih(e){return b((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function ec(e,t){let n=arguments.length>=2;return r=>r.pipe(e?St((o,i)=>e(o,i,r)):Y,Yt(1),n?bn(t):Mr(()=>new we))}function bi(e){return e<=0?()=>_t:b((t,n)=>{let r=[];t.subscribe(D(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 wh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?St((o,i)=>e(o,i,r)):Y,bi(1),n?bn(t):Mr(()=>new we))}function Ch(e,t){return b(Ju(e,t,arguments.length>=2,!0))}function Mi(e={}){let{connector:t=()=>new ae,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1,p=()=>{a==null||a.unsubscribe(),a=void 0},f=()=>{p(),s=u=void 0,l=d=!1},h=()=>{let g=s;f(),g==null||g.unsubscribe()};return b((g,C)=>{c++,!d&&!l&&p();let v=u=u!=null?u:t();C.add(()=>{c--,c===0&&!d&&!l&&(a=_i(h,o))}),v.subscribe(C),!s&&c>0&&(s=new Ie({next:k=>v.next(k),error:k=>{d=!0,p(),a=_i(f,n,k),v.error(k)},complete:()=>{l=!0,p(),a=_i(f,r),v.complete()}}),N(g).subscribe(s))})(i)}}function _i(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Ie({next:()=>{r.unsubscribe(),e()}});return N(t(...n)).subscribe(r)}function bh(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!=null?e:1/0,Mi({connector:()=>new lr(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function _h(e){return St((t,n)=>e<=n)}function Mh(...e){let t=it(e);return b((n,r)=>{(t?at(e,n,t):at(e,n)).subscribe(r)})}function tc(e,t){return b((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(D(r,u=>{o==null||o.unsubscribe();let c=0,l=i++;N(e(u,l)).subscribe(o=D(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function nc(e){return b((t,n)=>{N(e).subscribe(D(n,()=>n.complete(),Be)),!n.closed&&t.subscribe(n)})}function Sh(e,t,n){let r=m(e)||t||n?{next:e,error:t,complete:n}:e;return r?b((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(D(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):Y}function Th(...e){let t=ot(e);return b((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let u=0;u<o;u++)N(e[u]).subscribe(D(r,c=>{i[u]=c,!a&&!s[u]&&(s[u]=!0,(a=s.every(Y))&&(s=null))},Be));n.subscribe(D(r,u=>{if(a){let c=[u,...i];r.next(t?t(...c):c)}}))})}function Ai(e,t){return Object.is(e,t)}var U=null,Sr=!1,Oi=1,ne=Symbol("SIGNAL");function T(e){let t=U;return U=e,t}function rc(){return U}var Mn={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,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function xr(e){if(Sr)throw new Error("");if(U===null)return;U.consumerOnSignalRead(e);let t=U.nextProducerIndex++;if(Or(U),t<U.producerNode.length&&U.producerNode[t]!==e&&_n(U)){let n=U.producerNode[t];Ar(n,U.producerIndexOfThis[t])}U.producerNode[t]!==e&&(U.producerNode[t]=e,U.producerIndexOfThis[t]=_n(U)?sc(e,U,t):0),U.producerLastReadVersion[t]=e.version}function xh(){Oi++}function Ri(e){if(!(_n(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Oi)){if(!e.producerMustRecompute(e)&&!ki(e)){Ni(e);return}e.producerRecomputeValue(e),Ni(e)}}function oc(e){if(e.liveConsumerNode===void 0)return;let t=Sr;Sr=!0;try{for(let n of e.liveConsumerNode)n.dirty||Nh(n)}finally{Sr=t}}function ic(){return(U==null?void 0:U.consumerAllowSignalWrites)!==!1}function Nh(e){var t;e.dirty=!0,oc(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function Ni(e){e.dirty=!1,e.lastCleanEpoch=Oi}function Nr(e){return e&&(e.nextProducerIndex=0),T(e)}function Fi(e,t){if(T(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(_n(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Ar(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ki(e){Or(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Ri(n),r!==n.version))return!0}return!1}function Pi(e){if(Or(e),_n(e))for(let t=0;t<e.producerNode.length;t++)Ar(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 sc(e,t,n){if(ac(e),e.liveConsumerNode.length===0&&uc(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=sc(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Ar(e,t){if(ac(e),e.liveConsumerNode.length===1&&uc(e))for(let r=0;r<e.producerNode.length;r++)Ar(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];Or(o),o.producerIndexOfThis[r]=t}}function _n(e){var t,n;return e.consumerIsAlwaysLive||((n=(t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)!=null?n:0)>0}function Or(e){var t,n,r;(t=e.producerNode)!=null||(e.producerNode=[]),(n=e.producerIndexOfThis)!=null||(e.producerIndexOfThis=[]),(r=e.producerLastReadVersion)!=null||(e.producerLastReadVersion=[])}function ac(e){var t,n;(t=e.liveConsumerNode)!=null||(e.liveConsumerNode=[]),(n=e.liveConsumerIndexOfThis)!=null||(e.liveConsumerIndexOfThis=[])}function uc(e){return e.producerNode!==void 0}function Li(e){let t=Object.create(Ah);t.computation=e;let n=()=>{if(Ri(t),xr(t),t.value===Tr)throw t.error;return t.value};return n[ne]=t,n}var Si=Symbol("UNSET"),Ti=Symbol("COMPUTING"),Tr=Symbol("ERRORED"),Ah=Ae(Ne({},Mn),{value:Si,dirty:!0,error:null,equal:Ai,producerMustRecompute(e){return e.value===Si||e.value===Ti},producerRecomputeValue(e){if(e.value===Ti)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Ti;let n=Nr(e),r;try{r=e.computation()}catch(o){r=Tr,e.error=o}finally{Fi(e,n)}if(t!==Si&&t!==Tr&&r!==Tr&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function Oh(){throw new Error}var cc=Oh;function lc(){cc()}function dc(e){cc=e}var xi=null;function fc(e){let t=Object.create(ji);t.value=e;let n=()=>(xr(t),t.value);return n[ne]=t,n}function Rr(e,t){ic()||lc(),e.equal(e.value,t)||(e.value=t,Rh(e))}function pc(e,t){ic()||lc(),Rr(e,t(e.value))}var ji=Ae(Ne({},Mn),{equal:Ai,value:void 0});function Rh(e){e.version++,xh(),oc(e),xi==null||xi()}var ul="https://g.co/ng/security#xss",S=class extends Error{code;constructor(t,n){super(cl(t,n)),this.code=t}};function cl(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var ll=Symbol("InputSignalNode#UNSET"),Fh=Ae(Ne({},ji),{transformFn:void 0,applyValueToInputSignal(e,t){Rr(e,t)}});function dl(e,t){let n=Object.create(Fh);n.value=e,n.transformFn=t==null?void 0:t.transform;function r(){if(xr(n),n.value===ll)throw new S(-950,!1);return n.value}return r[ne]=n,r}function Hn(e){return{toString:e}.toString()}var Fr="__parameters__";function kh(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function fl(e,t,n){return Hn(()=>{let r=kh(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(u,c,l){let d=u.hasOwnProperty(Fr)?u[Fr]:Object.defineProperty(u,Fr,{value:[]})[Fr];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var ct=globalThis;function P(e){for(let t in e)if(e[t]===P)return t;throw Error("Could not find renamed property on target object.")}function Ph(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function oe(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(oe).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
4
- `);return n===-1?t:t.substring(0,n)}function Ji(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Lh=P({__forward_ref__:P});function pl(e){return e.__forward_ref__=pl,e.toString=function(){return oe(this())},e}function Q(e){return hl(e)?e():e}function hl(e){return typeof e=="function"&&e.hasOwnProperty(Lh)&&e.__forward_ref__===pl}function F(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ha(e){return{providers:e.providers||[],imports:e.imports||[]}}function wo(e){return hc(e,gl)||hc(e,ml)}function sx(e){return wo(e)!==null}function hc(e,t){return e.hasOwnProperty(t)?e[t]:null}function jh(e){let t=e&&(e[gl]||e[ml]);return t||null}function gc(e){return e&&(e.hasOwnProperty(mc)||e.hasOwnProperty(Vh))?e[mc]:null}var gl=P({\u0275prov:P}),mc=P({\u0275inj:P}),ml=P({ngInjectableDef:P}),Vh=P({ngInjectorDef:P}),A=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=F({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function yl(e){return e&&!!e.\u0275providers}var Bh=P({\u0275cmp:P}),Hh=P({\u0275dir:P}),$h=P({\u0275pipe:P}),Uh=P({\u0275mod:P}),Wr=P({\u0275fac:P}),xn=P({__NG_ELEMENT_ID__:P}),yc=P({__NG_ENV_ID__:P});function Fe(e){return typeof e=="string"?e:e==null?"":String(e)}function zh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Fe(e)}function Gh(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,e)}function ga(e,t){throw new S(-201,!1)}var x=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(x||{}),Xi;function vl(){return Xi}function ce(e){let t=Xi;return Xi=e,t}function Dl(e,t,n){let r=wo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&x.Optional)return null;if(t!==void 0)return t;ga(e,"Injector")}var qh={},On=qh,es="__NG_DI_FLAG__",Zr="ngTempTokenPath",Wh="ngTokenPath",Zh=/\n/gm,Yh="\u0275",vc="__source",nn;function Qh(){return nn}function ut(e){let t=nn;return nn=e,t}function Kh(e,t=x.Default){if(nn===void 0)throw new S(-203,!1);return nn===null?Dl(e,void 0,t):nn.get(e,t&x.Optional?null:void 0,t)}function G(e,t=x.Default){return(vl()||Kh)(Q(e),t)}function I(e,t=x.Default){return G(e,Co(t))}function Co(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ts(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 S(900,!1);let o,i=x.Default;for(let s=0;s<r.length;s++){let a=r[s],u=Jh(a);typeof u=="number"?u===-1?o=a.token:i|=u:o=a}t.push(G(o,i))}else t.push(G(r))}return t}function El(e,t){return e[es]=t,e.prototype[es]=t,e}function Jh(e){return e[es]}function Xh(e,t,n,r){let o=e[Zr];throw t[vc]&&o.unshift(t[vc]),e.message=eg(`
5
- `+e.message,o,n,r),e[Wh]=o,e[Zr]=null,e}function eg(e,t,n,r=null){e=e&&e.charAt(0)===`
6
- `&&e.charAt(1)==Yh?e.slice(2):e;let o=oe(t);if(Array.isArray(t))o=t.map(oe).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):oe(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Zh,`
7
- `)}`}var Il=El(fl("Optional"),8);var wl=El(fl("SkipSelf"),4);function Nt(e,t){let n=e.hasOwnProperty(Wr);return n?e[Wr]:null}function tg(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 ng(e){return e.flat(Number.POSITIVE_INFINITY)}function ma(e,t){e.forEach(n=>Array.isArray(n)?ma(n,t):t(n))}function Cl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Yr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function rg(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function og(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=$n(e,t);return r>=0?e[r|1]=n:(r=~r,og(e,r,t,n)),r}function Vi(e,t){let n=$n(e,t);if(n>=0)return e[n|1]}function $n(e,t){return ig(e,t,1)}function ig(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 $e={},re=[],Qr=new A(""),bl=new A("",-1),_l=new A(""),Kr=class{get(t,n=On){if(n===On){let r=new Error(`NullInjectorError: No provider for ${oe(t)}!`);throw r.name="NullInjectorError",r}return n}};function Ml(e,t){let n=e[Uh]||null;if(!n&&t===!0)throw new Error(`Type ${oe(e)} does not have '\u0275mod' property.`);return n}function Ue(e){return e[Bh]||null}function ya(e){return e[Hh]||null}function Sl(e){return e[$h]||null}function sg(e){let t=Ue(e)||ya(e)||Sl(e);return t!==null?t.standalone:!1}function ax(e){return{\u0275providers:e}}function ag(...e){return{\u0275providers:Tl(!0,e),\u0275fromNgModule:!0}}function Tl(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return ma(t,s=>{let a=s;ns(a,i,[],r)&&(o||(o=[]),o.push(a))}),o!==void 0&&xl(o,i),n}function xl(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];va(o,i=>{t(i,r)})}}function ns(e,t,n,r){if(e=Q(e),!e)return!1;let o=null,i=gc(e),s=!i&&Ue(e);if(!i&&!s){let u=e.ngModule;if(i=gc(u),i)o=u;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 u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)ns(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{ma(i.imports,l=>{ns(l,t,n,r)&&(c||(c=[]),c.push(l))})}finally{}c!==void 0&&xl(c,t)}if(!a){let c=Nt(o)||(()=>new o);t({provide:o,useFactory:c,deps:re},o),t({provide:_l,useValue:o,multi:!0},o),t({provide:Qr,useValue:()=>G(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;va(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function va(e,t){for(let n of e)yl(n)&&(n=n.\u0275providers),Array.isArray(n)?va(n,t):t(n)}var ug=P({provide:String,useValue:P});function Nl(e){return e!==null&&typeof e=="object"&&ug in e}function cg(e){return!!(e&&e.useExisting)}function lg(e){return!!(e&&e.useFactory)}function sn(e){return typeof e=="function"}function dg(e){return!!e.useClass}var Al=new A(""),Hr={},fg={},Bi;function _o(){return Bi===void 0&&(Bi=new Kr),Bi}var pt=class{},Rn=class extends pt{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,os(t,s=>this.processProvider(s)),this.records.set(bl,Jt(void 0,this)),o.has("environment")&&this.records.set(pt,Jt(void 0,this));let i=this.records.get(Al);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(_l,re,x.Self))}destroy(){Sn(this),this._destroyed=!0;let t=T(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(),T(t)}}onDestroy(t){return Sn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Sn(this);let n=ut(this),r=ce(void 0),o;try{return t()}finally{ut(n),ce(r)}}get(t,n=On,r=x.Default){if(Sn(this),t.hasOwnProperty(yc))return t[yc](this);r=Co(r);let o,i=ut(this),s=ce(void 0);try{if(!(r&x.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=yg(t)&&wo(t);c&&this.injectableDefInScope(c)?u=Jt(rs(t),Hr):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&x.Self?_o():this.parent;return n=r&x.Optional&&n===On?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Zr]=a[Zr]||[]).unshift(oe(t)),i)throw a;return Xh(a,t,"R3InjectorError",this.source)}else throw a}finally{ce(s),ut(i)}}resolveInjectorInitializers(){let t=T(null),n=ut(this),r=ce(void 0),o;try{let i=this.get(Qr,re,x.Self);for(let s of i)s()}finally{ut(n),ce(r),T(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(oe(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Q(t);let n=sn(t)?t:Q(t&&t.provide),r=hg(t);if(!sn(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Jt(void 0,Hr,!0),o.factory=()=>ts(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=T(null);try{return n.value===Hr&&(n.value=fg,n.value=n.factory()),typeof n.value=="object"&&n.value&&mg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{T(r)}}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 rs(e){let t=wo(e),n=t!==null?t.factory:Nt(e);if(n!==null)return n;if(e instanceof A)throw new S(204,!1);if(e instanceof Function)return pg(e);throw new S(204,!1)}function pg(e){if(e.length>0)throw new S(204,!1);let n=jh(e);return n!==null?()=>n.factory(e):()=>new e}function hg(e){if(Nl(e))return Jt(void 0,e.useValue);{let t=Ol(e);return Jt(t,Hr)}}function Ol(e,t,n){let r;if(sn(e)){let o=Q(e);return Nt(o)||rs(o)}else if(Nl(e))r=()=>Q(e.useValue);else if(lg(e))r=()=>e.useFactory(...ts(e.deps||[]));else if(cg(e))r=()=>G(Q(e.useExisting));else{let o=Q(e&&(e.useClass||e.provide));if(gg(e))r=()=>new o(...ts(e.deps));else return Nt(o)||rs(o)}return r}function Sn(e){if(e.destroyed)throw new S(205,!1)}function Jt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function gg(e){return!!e.deps}function mg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function yg(e){return typeof e=="function"||typeof e=="object"&&e instanceof A}function os(e,t){for(let n of e)Array.isArray(n)?os(n,t):n&&yl(n)?os(n.\u0275providers,t):t(n)}function Rl(e,t){e instanceof Rn&&Sn(e);let n,r=ut(e),o=ce(void 0);try{return t()}finally{ut(r),ce(o)}}function Fl(){return vl()!==void 0||Qh()!=null}function kl(e){if(!Fl())throw new S(-203,!1)}function vg(e){return typeof e=="function"}var Pe=0,w=1,E=2,te=3,Me=4,de=5,an=6,rn=7,J=8,un=9,ze=10,B=11,Fn=12,Dc=13,mn=14,he=15,At=16,Xt=17,Se=18,Mo=19,Pl=20,dt=21,Hi=22,Jr=23,pe=24,Z=25,Da=1;var Ot=7,Xr=8,cn=9,X=10,eo=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(eo||{});function ft(e){return Array.isArray(e)&&typeof e[Da]=="object"}function Ye(e){return Array.isArray(e)&&e[Da]===!0}function Ea(e){return(e.flags&4)!==0}function So(e){return e.componentOffset>-1}function To(e){return(e.flags&1)===1}function Ge(e){return!!e.template}function is(e){return(e[E]&512)!==0}var ss=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Ll(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Ia=(()=>{let e=()=>jl;return e.ngInherit=!0,e})();function jl(e){return e.type.prototype.ngOnChanges&&(e.setInput=Eg),Dg}function Dg(){let e=Bl(this),t=e==null?void 0:e.current;if(t){let n=e.previous;if(n===$e)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Eg(e,t,n,r,o){let i=this.declaredInputs[r],s=Bl(e)||Ig(e,{previous:$e,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new ss(c&&c.currentValue,n,u===$e),Ll(e,t,o,n)}var Vl="__ngSimpleChanges__";function Bl(e){return e[Vl]||null}function Ig(e,t){return e[Vl]=t}var Ec=null;var Oe=function(e,t,n){Ec!=null&&Ec(e,t,n)},Hl="svg",wg="math";function ke(e){for(;Array.isArray(e);)e=e[Pe];return e}function Cg(e){for(;Array.isArray(e);){if(typeof e[Da]=="object")return e;e=e[Pe]}return null}function $l(e,t){return ke(t[e])}function ve(e,t){return ke(t[e.index])}function wa(e,t){return e.data[t]}function Ca(e,t){return e[t]}function vt(e,t){let n=t[e];return ft(n)?n:n[Pe]}function bg(e){return(e[E]&4)===4}function ba(e){return(e[E]&128)===128}function _g(e){return Ye(e[te])}function ht(e,t){return t==null?null:e[t]}function Ul(e){e[Xt]=0}function _a(e){e[E]&1024||(e[E]|=1024,ba(e)&&No(e))}function Mg(e,t){for(;e>0;)t=t[mn],e--;return t}function xo(e){var t;return!!(e[E]&9216||(t=e[pe])!=null&&t.dirty)}function as(e){var t;(t=e[ze].changeDetectionScheduler)==null||t.notify(9),e[E]&64&&(e[E]|=1024),xo(e)&&No(e)}function No(e){var n;(n=e[ze].changeDetectionScheduler)==null||n.notify(0);let t=Rt(e);for(;t!==null&&!(t[E]&8192||(t[E]|=8192,!ba(t)));)t=Rt(t)}function zl(e,t){if((e[E]&256)===256)throw new S(911,!1);e[dt]===null&&(e[dt]=[]),e[dt].push(t)}function Sg(e,t){if(e[dt]===null)return;let n=e[dt].indexOf(t);n!==-1&&e[dt].splice(n,1)}function Rt(e){let t=e[te];return Ye(t)?t[te]:t}var _={lFrame:Xl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var us=!1;function Tg(){return _.lFrame.elementDepthCount}function xg(){_.lFrame.elementDepthCount++}function Ng(){_.lFrame.elementDepthCount--}function Gl(){return _.bindingsEnabled}function ql(){return _.skipHydrationRootTNode!==null}function Ag(e){return _.skipHydrationRootTNode===e}function Og(){_.skipHydrationRootTNode=null}function y(){return _.lFrame.lView}function $(){return _.lFrame.tView}function ux(e){return _.lFrame.contextLView=e,e[J]}function cx(e){return _.lFrame.contextLView=null,e}function K(){let e=Wl();for(;e!==null&&e.type===64;)e=e.parent;return e}function Wl(){return _.lFrame.currentTNode}function Rg(){let e=_.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Bt(e,t){let n=_.lFrame;n.currentTNode=e,n.isParent=t}function Ma(){return _.lFrame.isParent}function Sa(){_.lFrame.isParent=!1}function Fg(){return _.lFrame.contextLView}function Zl(){return us}function Ic(e){let t=us;return us=e,t}function Ht(){let e=_.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Yl(){return _.lFrame.bindingIndex}function kg(e){return _.lFrame.bindingIndex=e}function Dt(){return _.lFrame.bindingIndex++}function Ao(e){let t=_.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Pg(){return _.lFrame.inI18n}function Lg(e,t){let n=_.lFrame;n.bindingIndex=n.bindingRootIndex=e,cs(t)}function jg(){return _.lFrame.currentDirectiveIndex}function cs(e){_.lFrame.currentDirectiveIndex=e}function Ql(e){let t=_.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Ta(){return _.lFrame.currentQueryIndex}function Oo(e){_.lFrame.currentQueryIndex=e}function Vg(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[de]:null}function Kl(e,t,n){if(n&x.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&x.Host);)if(o=Vg(i),o===null||(i=i[mn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=_.lFrame=Jl();return r.currentTNode=t,r.lView=e,!0}function xa(e){let t=Jl(),n=e[w];_.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Jl(){let e=_.lFrame,t=e===null?null:e.child;return t===null?Xl(e):t}function Xl(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 ed(){let e=_.lFrame;return _.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var td=ed;function Na(){let e=ed();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 Bg(e){return(_.lFrame.contextLView=Mg(e,_.lFrame.contextLView))[J]}function Le(){return _.lFrame.selectedIndex}function Ft(e){_.lFrame.selectedIndex=e}function Un(){let e=_.lFrame;return wa(e.tView,e.selectedIndex)}function lx(){_.lFrame.currentNamespace=Hl}function Hg(){return _.lFrame.currentNamespace}var nd=!0;function Ro(){return nd}function Fo(e){nd=e}function $g(e,t,n){var s,a,u,c,l;let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let d=jl(t);((s=n.preOrderHooks)!=null?s:n.preOrderHooks=[]).push(e,d),((a=n.preOrderCheckHooks)!=null?a:n.preOrderCheckHooks=[]).push(e,d)}o&&((u=n.preOrderHooks)!=null?u:n.preOrderHooks=[]).push(0-e,o),i&&(((c=n.preOrderHooks)!=null?c:n.preOrderHooks=[]).push(e,i),((l=n.preOrderCheckHooks)!=null?l:n.preOrderCheckHooks=[]).push(e,i))}function ko(e,t){var n,r,o,i,s,a,u;for(let c=t.directiveStart,l=t.directiveEnd;c<l;c++){let p=e.data[c].type.prototype,{ngAfterContentInit:f,ngAfterContentChecked:h,ngAfterViewInit:g,ngAfterViewChecked:C,ngOnDestroy:v}=p;f&&((n=e.contentHooks)!=null?n:e.contentHooks=[]).push(-c,f),h&&(((r=e.contentHooks)!=null?r:e.contentHooks=[]).push(c,h),((o=e.contentCheckHooks)!=null?o:e.contentCheckHooks=[]).push(c,h)),g&&((i=e.viewHooks)!=null?i:e.viewHooks=[]).push(-c,g),C&&(((s=e.viewHooks)!=null?s:e.viewHooks=[]).push(c,C),((a=e.viewCheckHooks)!=null?a:e.viewCheckHooks=[]).push(c,C)),v!=null&&((u=e.destroyHooks)!=null?u:e.destroyHooks=[]).push(c,v)}}function $r(e,t,n){rd(e,t,3,n)}function Ur(e,t,n,r){(e[E]&3)===n&&rd(e,t,n,r)}function $i(e,t){let n=e[E];(n&3)===t&&(n&=16383,n+=1,e[E]=n)}function rd(e,t,n,r){let o=r!==void 0?e[Xt]&65535:0,i=r!=null?r:-1,s=t.length-1,a=0;for(let u=o;u<s;u++)if(typeof t[u+1]=="number"){if(a=t[u],r!=null&&a>=r)break}else t[u]<0&&(e[Xt]+=65536),(a<i||i==-1)&&(Ug(e,n,t,u),e[Xt]=(e[Xt]&4294901760)+u+2),u++}function wc(e,t){Oe(4,e,t);let n=T(null);try{t.call(e)}finally{T(n),Oe(5,e,t)}}function Ug(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[E]>>14<e[Xt]>>16&&(e[E]&3)===t&&(e[E]+=16384,wc(a,i)):wc(a,i)}var on=-1,kt=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function zg(e){return e instanceof kt}function Gg(e){return(e.flags&8)!==0}function qg(e){return(e.flags&16)!==0}function ls(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];Wg(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function od(e){return e===3||e===4||e===6}function Wg(e){return e.charCodeAt(0)===64}function kn(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Cc(e,n,o,null,t[++r]):Cc(e,n,o,null,null))}}return e}function Cc(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){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var Ui={},ds=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Co(r);let o=this.injector.get(t,Ui,r);return o!==Ui||n===Ui?o:this.parentInjector.get(t,n,r)}};function id(e){return e!==on}function to(e){return e&32767}function Zg(e){return e>>16}function no(e,t){let n=Zg(e),r=t;for(;n>0;)r=r[mn],n--;return r}var fs=!0;function ro(e){let t=fs;return fs=e,t}var Yg=256,sd=Yg-1,ad=5,Qg=0,Re={};function Kg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(xn)&&(r=n[xn]),r==null&&(r=n[xn]=Qg++);let o=r&sd,i=1<<o;t.data[e+(o>>ad)]|=i}function oo(e,t){let n=ud(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,zi(r.data,e),zi(t,null),zi(r.blueprint,null));let o=Aa(e,t),i=e.injectorIndex;if(id(o)){let s=to(o),a=no(o,t),u=a[w].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function zi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ud(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Aa(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=pd(o),r===null)return on;if(n++,o=o[mn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return on}function ps(e,t,n){Kg(e,t,n)}function Jg(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(od(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 cd(e,t,n){if(n&x.Optional||e!==void 0)return e;ga(t,"NodeInjector")}function ld(e,t,n,r){if(n&x.Optional&&r===void 0&&(r=null),!(n&(x.Self|x.Host))){let o=e[un],i=ce(void 0);try{return o?o.get(t,r,n&x.Optional):Dl(t,r,n&x.Optional)}finally{ce(i)}}return cd(r,t,n)}function dd(e,t,n,r=x.Default,o){if(e!==null){if(t[E]&2048&&!(r&x.Self)){let s=nm(e,t,n,r,Re);if(s!==Re)return s}let i=fd(e,t,n,r,Re);if(i!==Re)return i}return ld(t,n,r,o)}function fd(e,t,n,r,o){let i=em(n);if(typeof i=="function"){if(!Kl(t,e,r))return r&x.Host?cd(o,n,r):ld(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&x.Optional))ga(n);else return s}finally{td()}}else if(typeof i=="number"){let s=null,a=ud(e,t),u=on,c=r&x.Host?t[he][de]:null;for((a===-1||r&x.SkipSelf)&&(u=a===-1?Aa(e,t):t[a+8],u===on||!_c(r,!1)?a=-1:(s=t[w],a=to(u),t=no(u,t)));a!==-1;){let l=t[w];if(bc(i,a,l.data)){let d=Xg(a,t,n,s,r,c);if(d!==Re)return d}u=t[a+8],u!==on&&_c(r,t[w].data[a+8]===c)&&bc(i,a,t)?(s=l,a=to(u),t=no(u,t)):a=-1}}return o}function Xg(e,t,n,r,o,i){let s=t[w],a=s.data[e+8],u=r==null?So(a)&&fs:r!=s&&(a.type&3)!==0,c=o&x.Host&&i===a,l=zr(a,s,n,u,c);return l!==null?Pt(t,s,l,a):Re}function zr(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,u=e.directiveStart,c=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:c;for(let f=d;f<p;f++){let h=s[f];if(f<u&&n===h||f>=u&&h.type===n)return f}if(o){let f=s[u];if(f&&Ge(f)&&f.type===n)return u}return null}function Pt(e,t,n,r){let o=e[n],i=t.data;if(zg(o)){let s=o;s.resolving&&Gh(zh(i[n]));let a=ro(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?ce(s.injectImpl):null,l=Kl(e,r,x.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&$g(n,i[n],t)}finally{c!==null&&ce(c),ro(a),s.resolving=!1,td()}}return o}function em(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(xn)?e[xn]:void 0;return typeof t=="number"?t>=0?t&sd:tm:t}function bc(e,t,n){let r=1<<e;return!!(n[t+(e>>ad)]&r)}function _c(e,t){return!(e&x.Self)&&!(e&x.Host&&t)}var xt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return dd(this._tNode,this._lView,t,Co(r),n)}};function tm(){return new xt(K(),y())}function dx(e){return Hn(()=>{let t=e.prototype.constructor,n=t[Wr]||hs(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Wr]||hs(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function hs(e){return hl(e)?()=>{let t=hs(Q(e));return t&&t()}:Nt(e)}function nm(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[E]&2048&&!(s[E]&512);){let a=fd(i,s,n,r|x.Self,Re);if(a!==Re)return a;let u=i.parent;if(!u){let c=s[Pl];if(c){let l=c.get(n,Re,r);if(l!==Re)return l}u=pd(s),s=s[mn]}i=u}return o}function pd(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[de]:null}function rm(e){return Jg(K(),e)}function Mc(e,t=null,n=null,r){let o=hd(e,t,n,r);return o.resolveInjectorInitializers(),o}function hd(e,t=null,n=null,r,o=new Set){let i=[n||re,ag(e)];return r=r||(typeof e=="object"?void 0:oe(e)),new Rn(i,t||_o(),r||null,o)}var qe=class e{static THROW_IF_NOT_FOUND=On;static NULL=new Kr;static create(t,n){var r;if(Array.isArray(t))return Mc({name:""},n,t,"");{let o=(r=t.name)!=null?r:"";return Mc({name:o},t.parent,t.providers,o)}}static \u0275prov=F({token:e,providedIn:"any",factory:()=>G(bl)});static __NG_ELEMENT_ID__=-1};var om=new A("");om.__NG_ELEMENT_ID__=e=>{let t=K();if(t===null)throw new S(204,!1);if(t.type&2)return t.value;if(e&x.Optional)return null;throw new S(204,!1)};var gd=!1,Oa=(()=>{class e{static __NG_ELEMENT_ID__=im;static __NG_ENV_ID__=n=>n}return e})(),gs=class extends Oa{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return zl(this._lView,t),()=>Sg(this._lView,t)}};function im(){return new gs(y())}var ln=class{},md=new A("",{providedIn:"root",factory:()=>!1});var yd=new A(""),vd=new A(""),Po=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new wn(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})();var ms=class extends ae{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){var n,r;super(),this.__isAsync=t,Fl()&&(this.destroyRef=(n=I(Oa,{optional:!0}))!=null?n:void 0,this.pendingTasks=(r=I(Po,{optional:!0}))!=null?r:void 0)}emit(t){let n=T(null);try{super.next(t)}finally{T(n)}}subscribe(t,n,r){var u,c,l;let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let d=t;o=(u=d.next)==null?void 0:u.bind(d),i=(c=d.error)==null?void 0:c.bind(d),s=(l=d.complete)==null?void 0:l.bind(d)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof z&&t.add(a),a}wrapInTimeout(t){return n=>{var o;let r=(o=this.pendingTasks)==null?void 0:o.add();setTimeout(()=>{var i;t(n),r!==void 0&&((i=this.pendingTasks)==null||i.remove(r))})}}},lt=ms;function io(...e){}function Dd(e){let t,n;function r(){e=io;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 Sc(e){return queueMicrotask(()=>e()),()=>{e=io}}var Ra="isAngularZone",so=Ra+"_ID",sm=0,ee=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new lt(!1);onMicrotaskEmpty=new lt(!1);onStable=new lt(!1);onError=new lt(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=gd}=t;if(typeof Zone>"u")throw new S(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,cm(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ra)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new S(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,am,io,io);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)}},am={};function Fa(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 um(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Dd(()=>{e.callbackScheduled=!1,ys(e),e.isCheckStableRunning=!0,Fa(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),ys(e)}function cm(e){let t=()=>{um(e)},n=sm++;e._inner=e._inner.fork({name:"angular",properties:{[Ra]:!0,[so]:n,[so+n]:!0},onInvokeTask:(r,o,i,s,a,u)=>{if(lm(u))return r.invokeTask(i,s,a,u);try{return Tc(e),r.invokeTask(i,s,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),xc(e)}},onInvoke:(r,o,i,s,a,u,c)=>{try{return Tc(e),r.invoke(i,s,a,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!dm(u)&&t(),xc(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,ys(e),Fa(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 ys(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Tc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function xc(e){e._nesting--,Fa(e)}var vs=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new lt;onMicrotaskEmpty=new lt;onStable=new lt;onError=new lt;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 lm(e){return Ed(e,"__ignore_ng_zone__")}function dm(e){return Ed(e,"__scheduler_tick__")}function Ed(e,t){var n,r;return!Array.isArray(e)||e.length!==1?!1:((r=(n=e[0])==null?void 0:n.data)==null?void 0:r[t])===!0}var dn=class{_console=console;handleError(t){this._console.error("ERROR",t)}},fm=new A("",{providedIn:"root",factory:()=>{let e=I(ee),t=I(dn);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function Nc(e,t){return dl(e,t)}function pm(e){return dl(ll,e)}var fx=(Nc.required=pm,Nc);function hm(){return yn(K(),y())}function yn(e,t){return new Qe(ve(e,t))}var Qe=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=hm}return e})();function Id(e){return e instanceof Qe?e.nativeElement:e}function gm(){return this._results[Symbol.iterator]()}var Ds=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){var t;return(t=this._changes)!=null?t:this._changes=new ae}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=ng(t);(this._changesDetected=!tg(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(){var t;this.dirty=!0,(t=this._onDirty)==null||t.call(this)}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=gm};function wd(e){return(e.flags&128)===128}var Cd=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Cd||{}),bd=new Map,mm=0;function ym(){return mm++}function vm(e){bd.set(e[Mo],e)}function Es(e){bd.delete(e[Mo])}var Ac="__ngContext__";function gt(e,t){ft(t)?(e[Ac]=t[Mo],vm(t)):e[Ac]=t}function _d(e){return Sd(e[Fn])}function Md(e){return Sd(e[Me])}function Sd(e){for(;e!==null&&!Ye(e);)e=e[Me];return e}var Is;function px(e){Is=e}function Td(){if(Is!==void 0)return Is;if(typeof document<"u")return document;throw new S(210,!1)}var hx=new A("",{providedIn:"root",factory:()=>Dm}),Dm="ng",Em=new A(""),ka=new A("",{providedIn:"platform",factory:()=>"unknown"});var gx=new A(""),mx=new A("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=Td().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),Pa={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},xd=new A("",{providedIn:"root",factory:()=>Pa});var Im="h",wm="b";var Nd=!1,Cm=new A("",{providedIn:"root",factory:()=>Nd});var Oc=new Set;function Ke(e){var t;Oc.has(e)||(Oc.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}var en=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(en||{}),Ad=(()=>{class e{impl=null;execute(){var n;(n=this.impl)==null||n.execute()}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),bm=[en.EarlyRead,en.Write,en.MixedReadWrite,en.Read],_m=(()=>{class e{ngZone=I(ee);scheduler=I(ln);errorHandler=I(dn,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;execute(){var n;this.executing=!0;for(let r of bm)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>o.hooks[r](o.pipelinedValue))}catch(i){o.erroredOrDestroyed=!0,(n=this.errorHandler)==null||n.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(8),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(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))}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),ws=class{impl;hooks;once;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o){this.impl=t,this.hooks=n,this.once=r,this.unregisterOnDestroy=o==null?void 0:o.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){var t;this.impl.unregister(this),(t=this.unregisterOnDestroy)==null||t.call(this)}};function Mm(e,t){var r;!(t!=null&&t.injector)&&kl(Mm);let n=(r=t==null?void 0:t.injector)!=null?r:I(qe);return Ke("NgAfterRender"),Od(e,n,t,!1)}function Sm(e,t){var r;!(t!=null&&t.injector)&&kl(Sm);let n=(r=t==null?void 0:t.injector)!=null?r:I(qe);return Ke("NgAfterNextRender"),Od(e,n,t,!0)}function Tm(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Od(e,t,n,r){var u,c;let o=t.get(Ad);(u=o.impl)!=null||(o.impl=t.get(_m));let i=(c=n==null?void 0:n.phase)!=null?c:en.MixedReadWrite,s=(n==null?void 0:n.manualCleanup)!==!0?t.get(Oa):null,a=new ws(o.impl,Tm(e,i),r,s);return o.impl.register(a),a}var xm=()=>null;function La(e,t,n=!1){return xm(e,t,n)}var Pn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Pn||{}),kr;function Nm(){if(kr===void 0&&(kr=null,ct.trustedTypes))try{kr=ct.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return kr}function Lo(e){var t;return((t=Nm())==null?void 0:t.createHTML(e))||e}var Pr;function Rd(){if(Pr===void 0&&(Pr=null,ct.trustedTypes))try{Pr=ct.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Pr}function Rc(e){var t;return((t=Rd())==null?void 0:t.createHTML(e))||e}function Fc(e){var t;return((t=Rd())==null?void 0:t.createScriptURL(e))||e}var We=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ul})`}},Cs=class extends We{getTypeName(){return"HTML"}},bs=class extends We{getTypeName(){return"Style"}},_s=class extends We{getTypeName(){return"Script"}},Ms=class extends We{getTypeName(){return"URL"}},Ss=class extends We{getTypeName(){return"ResourceURL"}};function $t(e){return e instanceof We?e.changingThisBreaksApplicationSecurity:e}function ja(e,t){let n=Am(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${ul})`)}return n===t}function Am(e){return e instanceof We&&e.getTypeName()||null}function yx(e){return new Cs(e)}function vx(e){return new bs(e)}function Dx(e){return new _s(e)}function Ex(e){return new Ms(e)}function Ix(e){return new Ss(e)}function Om(e){let t=new xs(e);return Rm()?new Ts(t):t}var Ts=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){var n;t="<body><remove></remove>"+t;try{let r=new window.DOMParser().parseFromString(Lo(t),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(t):((n=r.firstChild)==null||n.remove(),r)}catch{return null}}},xs=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=Lo(t),n}};function Rm(){try{return!!new window.DOMParser().parseFromString(Lo(""),"text/html")}catch{return!1}}var Fm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Fd(e){return e=String(e),e.match(Fm)?e:"unsafe:"+e}function Je(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function zn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var kd=Je("area,br,col,hr,img,wbr"),Pd=Je("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ld=Je("rp,rt"),km=zn(Ld,Pd),Pm=zn(Pd,Je("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")),Lm=zn(Ld,Je("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")),kc=zn(kd,Pm,Lm,km),jd=Je("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),jm=Je("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"),Vm=Je("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"),Bm=zn(jd,jm,Vm),Hm=Je("script,style,template"),Ns=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=zm(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Um(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Pc(t).toLowerCase();if(!kc.hasOwnProperty(n))return this.sanitizedSomething=!0,!Hm.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(!Bm.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let u=i.value;jd[a]&&(u=Fd(u)),this.buf.push(" ",s,'="',Lc(u),'"')}return this.buf.push(">"),!0}endElement(t){let n=Pc(t).toLowerCase();kc.hasOwnProperty(n)&&!kd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Lc(t))}};function $m(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Um(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Vd(t);return t}function zm(e){let t=e.firstChild;if(t&&$m(e,t))throw Vd(t);return t}function Pc(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Vd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Gm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qm=/([^\#-~ |!])/g;function Lc(e){return e.replace(/&/g,"&amp;").replace(Gm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(qm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Lr;function Wm(e,t){let n=null;try{Lr=Lr||Om(e);let r=t?String(t):"";n=Lr.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=Lr.getInertBodyElement(r)}while(r!==i);let a=new Ns().sanitizeChildren(jc(n)||n);return Lo(a)}finally{if(n){let r=jc(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function jc(e){return"content"in e&&Zm(e)?e.content:null}function Zm(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var jo=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}(jo||{});function wx(e){let t=Va();return t?Rc(t.sanitize(jo.HTML,e)||""):ja(e,"HTML")?Rc($t(e)):Wm(Td(),Fe(e))}function Ym(e){let t=Va();return t?t.sanitize(jo.URL,e)||"":ja(e,"URL")?$t(e):Fd(Fe(e))}function Qm(e){let t=Va();if(t)return Fc(t.sanitize(jo.RESOURCE_URL,e)||"");if(ja(e,"ResourceURL"))return Fc($t(e));throw new S(904,!1)}function Km(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Qm:Ym}function Cx(e,t,n){return Km(t,n)(e)}function Va(){let e=y();return e&&e[ze].sanitizer}var Jm=/^>|^->|<!--|-->|--!>|<!-$/g,Xm=/(<|>)/g,ey="\u200B$1\u200B";function ty(e){return e.replace(Jm,t=>t.replace(Xm,ey))}function bx(e){return e.ownerDocument.defaultView}function Bd(e){return e instanceof Function?e():e}var mt=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(mt||{}),Ln=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ln||{}),ny;function Ba(e,t){return ny(e,t)}function tn(e,t,n,r,o){if(r!=null){let i,s=!1;Ye(r)?i=r:ft(r)&&(s=!0,r=r[Pe]);let a=ke(r);e===0&&n!==null?o==null?Gd(t,n,a):ao(t,n,a,o||null,!0):e===1&&n!==null?ao(t,n,a,o||null,!0):e===2?my(t,a,s):e===3&&t.destroyNode(a),i!=null&&vy(t,e,i,n,o)}}function ry(e,t){return e.createText(t)}function oy(e,t,n){e.setValue(t,n)}function iy(e,t){return e.createComment(ty(t))}function Hd(e,t,n){return e.createElement(t,n)}function sy(e,t){$d(e,t),t[Pe]=null,t[de]=null}function ay(e,t,n,r,o,i){r[Pe]=o,r[de]=t,Ho(e,r,n,1,o,i)}function $d(e,t){var n;(n=t[ze].changeDetectionScheduler)==null||n.notify(10),Ho(e,t,t[B],2,null,null)}function uy(e){let t=e[Fn];if(!t)return Gi(e[w],e);for(;t;){let n=null;if(ft(t))n=t[Fn];else{let r=t[X];r&&(n=r)}if(!n){for(;t&&!t[Me]&&t!==e;)ft(t)&&Gi(t[w],t),t=t[te];t===null&&(t=e),ft(t)&&Gi(t[w],t),n=t&&t[Me]}t=n}}function cy(e,t,n,r){let o=X+r,i=n.length;r>0&&(n[o-1][Me]=t),r<i-X?(t[Me]=n[o],Cl(n,X+r,t)):(n.push(t),t[Me]=null),t[te]=n;let s=t[At];s!==null&&n!==s&&Ud(s,t);let a=t[Se];a!==null&&a.insertView(e),as(t),t[E]|=128}function Ud(e,t){let n=e[cn],r=t[te];if(ft(r))e[E]|=eo.HasTransplantedViews;else{let o=r[te][he];t[he]!==o&&(e[E]|=eo.HasTransplantedViews)}n===null?e[cn]=[t]:n.push(t)}function Ha(e,t){let n=e[cn],r=n.indexOf(t);n.splice(r,1)}function jn(e,t){if(e.length<=X)return;let n=X+t,r=e[n];if(r){let o=r[At];o!==null&&o!==e&&Ha(o,r),t>0&&(e[n-1][Me]=r[Me]);let i=Yr(e,X+t);sy(r[w],r);let s=i[Se];s!==null&&s.detachView(i[w]),r[te]=null,r[Me]=null,r[E]&=-129}return r}function Vo(e,t){if(!(t[E]&256)){let n=t[B];n.destroyNode&&Ho(e,t,n,3,null,null),uy(t)}}function Gi(e,t){if(t[E]&256)return;let n=T(null);try{t[E]&=-129,t[E]|=256,t[pe]&&Pi(t[pe]),dy(e,t),ly(e,t),t[w].type===1&&t[B].destroy();let r=t[At];if(r!==null&&Ye(t[te])){r!==t[te]&&Ha(r,t);let o=t[Se];o!==null&&o.detachView(e)}Es(t)}finally{T(n)}}function ly(e,t){let n=e.cleanup,r=t[rn];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[rn]=null);let o=t[dt];if(o!==null){t[dt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Jr];if(i!==null){t[Jr]=null;for(let s of i)s.destroy()}}function dy(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof kt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],u=i[s+1];Oe(4,a,u);try{u.call(a)}finally{Oe(5,a,u)}}else{Oe(4,o,i);try{i.call(o)}finally{Oe(5,o,i)}}}}}function zd(e,t,n){return fy(e,t.parent,n)}function fy(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Pe];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Pn.None||i===Pn.Emulated)return null}return ve(r,n)}}function ao(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Gd(e,t,n){e.appendChild(t,n)}function Vc(e,t,n,r,o){r!==null?ao(e,t,n,r,o):Gd(e,t,n)}function qd(e,t){return e.parentNode(t)}function py(e,t){return e.nextSibling(t)}function Wd(e,t,n){return gy(e,t,n)}function hy(e,t,n){return e.type&40?ve(e,n):null}var gy=hy,Bc;function Bo(e,t,n,r){let o=zd(e,r,t),i=t[B],s=r.parent||t[de],a=Wd(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;u<n.length;u++)Vc(i,o,n[u],a,!1);else Vc(i,o,n,a,!1);Bc!==void 0&&Bc(i,r,t,n,o)}function Tn(e,t){if(t!==null){let n=t.type;if(n&3)return ve(t,e);if(n&4)return As(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Tn(e,r);{let o=e[t.index];return Ye(o)?As(-1,o):ke(o)}}else{if(n&128)return Tn(e,t.next);if(n&32)return Ba(t,e)()||ke(e[t.index]);{let r=Zd(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Rt(e[he]);return Tn(o,r)}else return Tn(e,t.next)}}}return null}function Zd(e,t){if(t!==null){let r=e[he][de],o=t.projection;return r.projection[o]}return null}function As(e,t){let n=X+e+1;if(n<t.length){let r=t[n],o=r[w].firstChild;if(o!==null)return Tn(r,o)}return t[Ot]}function my(e,t,n){e.removeChild(null,t,n)}function $a(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],u=n.type;if(s&&t===0&&(a&&gt(ke(a),r),n.flags|=2),(n.flags&32)!==32)if(u&8)$a(e,t,n.child,r,o,i,!1),tn(t,e,o,a,i);else if(u&32){let c=Ba(n,r),l;for(;l=c();)tn(t,e,o,l,i);tn(t,e,o,a,i)}else u&16?Yd(e,t,r,n,o,i):tn(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Ho(e,t,n,r,o,i){$a(n,r,e.firstChild,t,o,i,!1)}function yy(e,t,n){let r=t[B],o=zd(e,n,t),i=n.parent||t[de],s=Wd(i,n,t);Yd(r,0,t,n,o,s)}function Yd(e,t,n,r,o,i){let s=n[he],u=s[de].projection[r.projection];if(Array.isArray(u))for(let c=0;c<u.length;c++){let l=u[c];tn(t,e,o,l,i)}else{let c=u,l=s[te];wd(r)&&(c.flags|=128),$a(e,t,c,l,o,i,!0)}}function vy(e,t,n,r,o){let i=n[Ot],s=ke(n);i!==s&&tn(t,e,r,i,o);for(let a=X;a<n.length;a++){let u=n[a];Ho(u[w],u,e,t,r,i)}}function Dy(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Ln.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Ln.Important),e.setStyle(n,r,o,i))}}function Ey(e,t,n){e.setAttribute(t,"style",n)}function Qd(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Kd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&ls(e,t,r),o!==null&&Qd(e,t,o),i!==null&&Ey(e,t,i)}function Iy(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 Jd="ng-template";function wy(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Iy(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Ua(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 Ua(e){return e.type===4&&e.value!==Jd}function Cy(e,t,n){let r=e.type===4&&!n?Jd:e.value;return t===r}function by(e,t,n){let r=4,o=e.attrs,i=o!==null?Sy(o):0,s=!1;for(let a=0;a<t.length;a++){let u=t[a];if(typeof u=="number"){if(!s&&!be(r)&&!be(u))return!1;if(s&&be(u))continue;s=!1,r=u|r&1;continue}if(!s)if(r&4){if(r=2|r&1,u!==""&&!Cy(e,u,n)||u===""&&t.length===1){if(be(r))return!1;s=!0}}else if(r&8){if(o===null||!wy(e,o,u,n)){if(be(r))return!1;s=!0}}else{let c=t[++a],l=_y(u,o,Ua(e),n);if(l===-1){if(be(r))return!1;s=!0;continue}if(c!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(be(r))return!1;s=!0}}}}return be(r)||s}function be(e){return(e&1)===0}function _y(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 Ty(t,e)}function Xd(e,t,n=!1){for(let r=0;r<t.length;r++)if(by(e,t[r],n))return!0;return!1}function My(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function Sy(e){for(let t=0;t<e.length;t++){let n=e[t];if(od(n))return t}return e.length}function Ty(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 xy(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 Hc(e,t){return e?":not("+t.trim()+")":t}function Ny(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!==""&&!be(s)&&(t+=Hc(i,o),o=""),r=s,i=i||!be(r);n++}return o!==""&&(t+=Hc(i,o)),t}function Ay(e){return e.map(Ny).join(",")}function Oy(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(!be(o))break;o=i}r++}return{attrs:t,classes:n}}var ie={};function _x(e=1){ef($(),y(),Le()+e,!1)}function ef(e,t,n,r){if(!r)if((t[E]&3)===3){let i=e.preOrderCheckHooks;i!==null&&$r(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Ur(t,i,0,n)}Ft(n)}function j(e,t=x.Default){let n=y();if(n===null)return G(e,t);let r=K();return dd(r,n,Q(e),t)}function Mx(){let e="invalid";throw new Error(e)}function tf(e,t,n,r,o,i){let s=T(null);try{let a=null;o&mt.SignalBased&&(a=t[r][ne]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&mt.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):Ll(t,a,r,i)}finally{T(s)}}function Ry(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)Ft(~o);else{let i=o,s=n[++r],a=n[++r];Lg(s,i);let u=t[i];a(2,u)}}}finally{Ft(-1)}}function $o(e,t,n,r,o,i,s,a,u,c,l){let d=t.blueprint.slice();return d[Pe]=o,d[E]=r|4|128|8|64|1024,(c!==null||e&&e[E]&2048)&&(d[E]|=2048),Ul(d),d[te]=d[mn]=e,d[J]=n,d[ze]=s||e&&e[ze],d[B]=a||e&&e[B],d[un]=u||e&&e[un]||null,d[de]=i,d[Mo]=ym(),d[an]=l,d[Pl]=c,d[he]=t.type==2?e[he]:d,d}function vn(e,t,n,r,o){let i=e.data[t];if(i===null)i=Fy(e,t,n,r,o),Pg()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Rg();i.injectorIndex=s===null?-1:s.injectorIndex}return Bt(i,!0),i}function Fy(e,t,n,r,o){let i=Wl(),s=Ma(),a=s?i:i&&i.parent,u=e.data[t]=By(e,a,n,t,r,o);return e.firstChild===null&&(e.firstChild=u),i!==null&&(s?i.child==null&&u.parent!==null&&(i.child=u):i.next===null&&(i.next=u,u.prev=i)),u}function nf(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 rf(e,t,n,r,o){let i=Le(),s=r&2;try{Ft(-1),s&&t.length>Z&&ef(e,t,Z,!1),Oe(s?2:0,o),n(r,o)}finally{Ft(i),Oe(s?3:1,o)}}function za(e,t,n){if(Ea(t)){let r=T(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 u=n[s];a.contentQueries(1,u,s)}}}finally{T(r)}}}function Ga(e,t,n){Gl()&&(qy(e,t,n,ve(n,t)),(n.flags&64)===64&&af(e,t,n))}function qa(e,t,n=ve){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 of(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Wa(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Wa(e,t,n,r,o,i,s,a,u,c,l){let d=Z+r,p=d+o,f=ky(d,p),h=typeof c=="function"?c():c;return f[w]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:u,consts:h,incompleteFirstPass:!1,ssrId:l}}function ky(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:ie);return n}function Py(e,t,n,r){let i=r.get(Cm,Nd)||n===Pn.ShadowDom,s=e.selectRootElement(t,i);return Ly(s),s}function Ly(e){jy(e)}var jy=()=>null;function Vy(e,t,n,r){let o=df(t);o.push(n),e.firstCreatePass&&ff(e).push(r,o.length-1)}function By(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return ql()&&(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:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function $c(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r!=null||(r={});let a,u=mt.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?Uc(r,n,c,a,u):Uc(r,n,c,a)}return r}function Uc(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function Hy(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l<o;l++){let d=i[l],p=n?n.get(d):null,f=p?p.inputs:null,h=p?p.outputs:null;u=$c(0,d.inputs,l,u,f),c=$c(1,d.outputs,l,c,h);let g=u!==null&&s!==null&&!Ua(t)?rv(u,l,s):null;a.push(g)}u!==null&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=u,t.outputs=c}function $y(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Uo(e,t,n,r,o,i,s,a){let u=ve(t,n),c=t.inputs,l;!a&&c!=null&&(l=c[r])?(Ya(e,n,l,r,o),So(t)&&Uy(n,t.index)):t.type&3?(r=$y(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(u,r,o)):t.type&12}function Uy(e,t){let n=vt(t,e);n[E]&16||(n[E]|=64)}function Za(e,t,n,r){if(Gl()){let o=r===null?null:{"":-1},i=Zy(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&sf(e,t,n,s,o,a),o&&Yy(n,r,o)}n.mergedAttrs=kn(n.mergedAttrs,n.attrs)}function sf(e,t,n,r,o,i){var c,l;for(let d=0;d<r.length;d++)ps(oo(n,t),e,r[d].type);Ky(n,e.data.length,r.length);for(let d=0;d<r.length;d++){let p=r[d];p.providersResolver&&p.providersResolver(p)}let s=!1,a=!1,u=nf(e,t,r.length,null);for(let d=0;d<r.length;d++){let p=r[d];n.mergedAttrs=kn(n.mergedAttrs,p.hostAttrs),Jy(e,n,t,u,p),Qy(u,p,o),p.contentQueries!==null&&(n.flags|=4),(p.hostBindings!==null||p.hostAttrs!==null||p.hostVars!==0)&&(n.flags|=64);let f=p.type.prototype;!s&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&(((c=e.preOrderHooks)!=null?c:e.preOrderHooks=[]).push(n.index),s=!0),!a&&(f.ngOnChanges||f.ngDoCheck)&&(((l=e.preOrderCheckHooks)!=null?l:e.preOrderCheckHooks=[]).push(n.index),a=!0),u++}Hy(e,n,i)}function zy(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Gy(s)!=a&&s.push(a),s.push(n,r,i)}}function Gy(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function qy(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;So(n)&&Xy(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||oo(n,t),gt(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let u=e.data[a],c=Pt(t,e,a,n);if(gt(c,t),s!==null&&nv(t,a-o,c,u,n,s),Ge(u)){let l=vt(n.index,t);l[J]=Pt(t,e,a,n)}}}function af(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=jg();try{Ft(i);for(let a=r;a<o;a++){let u=e.data[a],c=t[a];cs(a),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&Wy(u,c)}}finally{Ft(-1),cs(s)}}function Wy(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Zy(e,t){var i;let n=e.directiveRegistry,r=null,o=null;if(n)for(let s=0;s<n.length;s++){let a=n[s];if(Xd(t,a.selectors,!1))if(r||(r=[]),Ge(a))if(a.findHostDirectiveDefs!==null){let u=[];o=o||new Map,a.findHostDirectiveDefs(a,u,o),r.unshift(...u,a);let c=u.length;Os(e,t,c)}else r.unshift(a),Os(e,t,0);else o=o||new Map,(i=a.findHostDirectiveDefs)==null||i.call(a,a,r,o),r.push(a)}return r===null?null:[r,o]}function Os(e,t,n){var r;t.componentOffset=n,((r=e.components)!=null?r:e.components=[]).push(t.index)}function Yy(e,t,n){if(t){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new S(-301,!1);r.push(t[o],i)}}}function Qy(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ge(t)&&(n[""]=e)}}function Ky(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Jy(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Nt(o.type,!0)),s=new kt(i,Ge(o),j);e.blueprint[r]=s,n[r]=s,zy(e,t,r,nf(e,n,o.hostVars,ie),o)}function uf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Xy(e,t,n){let r=ve(t,e),o=of(n),i=e[ze].rendererFactory,s=zo(e,$o(e,o,null,uf(n),r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=s}function ev(e,t,n,r,o,i){let s=ve(e,t);tv(t[B],s,i,e.value,n,r,o)}function tv(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Fe(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function nv(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let u=s[a++],c=s[a++],l=s[a++],d=s[a++];tf(r,n,u,c,l,d)}}function rv(e,t,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){r===null&&(r=[]);let s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(i,s[a+1],s[a+2],n[o+1]);break}}o+=2}return r}function cf(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function lf(e,t){let n=e.contentQueries;if(n!==null){let r=T(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];Oo(i),a.contentQueries(2,t[s],s)}}}finally{T(r)}}}function zo(e,t){return e[Fn]?e[Dc][Me]=t:e[Fn]=t,e[Dc]=t,t}function Rs(e,t,n){Oo(0);let r=T(null);try{t(e,n)}finally{T(r)}}function df(e){var t;return(t=e[rn])!=null?t:e[rn]=[]}function ff(e){var t;return(t=e.cleanup)!=null?t:e.cleanup=[]}function ov(e,t,n){return(e===null||Ge(e))&&(n=Cg(n[t.index])),n[B]}function pf(e,t){let n=e[un],r=n?n.get(dn,null):null;r&&r.handleError(t)}function Ya(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],u=n[i++],c=t[s],l=e.data[s];tf(l,c,r,a,u,o)}}function Qa(e,t,n){let r=$l(t,e);oy(e[B],r,n)}function iv(e,t){let n=vt(t,e),r=n[w];sv(r,n);let o=n[Pe];o!==null&&n[an]===null&&(n[an]=La(o,n[un])),Ka(r,n,n[J])}function sv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ka(e,t,n){var r;xa(t);try{let o=e.viewQuery;o!==null&&Rs(1,o,n);let i=e.template;i!==null&&rf(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),(r=t[Se])==null||r.finishViewCreation(e),e.staticContentQueries&&lf(e,t),e.staticViewQueries&&Rs(2,e.viewQuery,n);let s=e.components;s!==null&&av(t,s)}catch(o){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),o}finally{t[E]&=-5,Na()}}function av(e,t){for(let n=0;n<t.length;n++)iv(e,t[n])}function Gn(e,t,n,r){var i,s,a;let o=T(null);try{let u=t.tView,l=e[E]&4096?4096:16,d=$o(e,u,n,l,null,t,null,null,(i=r==null?void 0:r.injector)!=null?i:null,(s=r==null?void 0:r.embeddedViewInjector)!=null?s:null,(a=r==null?void 0:r.dehydratedView)!=null?a:null),p=e[t.index];d[At]=p;let f=e[Se];return f!==null&&(d[Se]=f.createEmbeddedView(u)),Ka(u,d,n),d}finally{T(o)}}function hf(e,t){let n=X+t;if(n<e.length)return e[n]}function fn(e,t){return!t||t.firstChild===null||wd(e)}function qn(e,t,n,r=!0){let o=t[w];if(cy(o,t,e,n),r){let s=As(n,e),a=t[B],u=qd(a,e[Ot]);u!==null&&ay(o,e[de],a,t,u,s)}let i=t[an];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function gf(e,t){let n=jn(e,t);return n!==void 0&&Vo(n[w],n),n}function uo(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(ke(i)),Ye(i)&&uv(i,r);let s=n.type;if(s&8)uo(e,t,n.child,r);else if(s&32){let a=Ba(n,t),u;for(;u=a();)r.push(u)}else if(s&16){let a=Zd(t,n);if(Array.isArray(a))r.push(...a);else{let u=Rt(t[he]);uo(u[w],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function uv(e,t){for(let n=X;n<e.length;n++){let r=e[n],o=r[w].firstChild;o!==null&&uo(r[w],r,o,t)}e[Ot]!==e[Pe]&&t.push(e[Ot])}var mf=[];function cv(e){var t;return(t=e[pe])!=null?t:lv(e)}function lv(e){var n;let t=(n=mf.pop())!=null?n:Object.create(fv);return t.lView=e,t}function dv(e){e.lView[pe]!==e&&(e.lView=null,mf.push(e))}var fv=Ae(Ne({},Mn),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{No(e.lView)},consumerOnSignalRead(){this.lView[pe]=this}});function pv(e){var n;let t=(n=e[pe])!=null?n:Object.create(hv);return t.lView=e,t}var hv=Ae(Ne({},Mn),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Rt(e.lView);for(;t&&!yf(t[w]);)t=Rt(t);t&&_a(t)},consumerOnSignalRead(){this.lView[pe]=this}});function yf(e){return e.type!==2}function vf(e){if(e[Jr]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Jr])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[E]&8192)}}var gv=100;function Df(e,t=!0,n=0){var s,a;let o=e[ze].rendererFactory,i=!1;i||(s=o.begin)==null||s.call(o);try{mv(e,n)}catch(u){throw t&&pf(e,u),u}finally{i||(a=o.end)==null||a.call(o)}}function mv(e,t){let n=Zl();try{Ic(!0),Fs(e,t);let r=0;for(;xo(e);){if(r===gv)throw new S(103,!1);r++,Fs(e,1)}}finally{Ic(n)}}function yv(e,t,n,r){let o=t[E];if((o&256)===256)return;let i=!1,s=!1;xa(t);let a=!0,u=null,c=null;i||(yf(e)?(c=cv(t),u=Nr(c)):rc()===null?(a=!1,c=pv(t),u=Nr(c)):t[pe]&&(Pi(t[pe]),t[pe]=null));try{Ul(t),kg(e.bindingStartIndex),n!==null&&rf(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&$r(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Ur(t,f,0,null),$i(t,0)}if(s||vv(t),vf(t),Ef(t,0),e.contentQueries!==null&&lf(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&$r(t,f)}else{let f=e.contentHooks;f!==null&&Ur(t,f,1),$i(t,1)}Ry(e,t);let d=e.components;d!==null&&wf(t,d,0);let p=e.viewQuery;if(p!==null&&Rs(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&$r(t,f)}else{let f=e.viewHooks;f!==null&&Ur(t,f,2),$i(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Hi]){for(let f of t[Hi])f();t[Hi]=null}i||(t[E]&=-73)}catch(l){throw i||No(t),l}finally{c!==null&&(Fi(c,u),a&&dv(c)),Na()}}function Ef(e,t){for(let n=_d(e);n!==null;n=Md(n))for(let r=X;r<n.length;r++){let o=n[r];If(o,t)}}function vv(e){for(let t=_d(e);t!==null;t=Md(t)){if(!(t[E]&eo.HasTransplantedViews))continue;let n=t[cn];for(let r=0;r<n.length;r++){let o=n[r];_a(o)}}}function Dv(e,t,n){let r=vt(t,e);If(r,n)}function If(e,t){ba(e)&&Fs(e,t)}function Fs(e,t){let r=e[w],o=e[E],i=e[pe],s=!!(t===0&&o&16);if(s||(s=!!(o&64&&t===0)),s||(s=!!(o&1024)),s||(s=!!(i!=null&&i.dirty&&ki(i))),s||(s=!1),i&&(i.dirty=!1),e[E]&=-9217,s)yv(r,e,r.template,e[J]);else if(o&8192){vf(e),Ef(e,1);let a=r.components;a!==null&&wf(e,a,1)}}function wf(e,t,n){for(let r=0;r<t.length;r++)Dv(e,t[r],n)}function Ja(e,t){var r;let n=Zl()?64:1088;for((r=e[ze].changeDetectionScheduler)==null||r.notify(t);e;){e[E]|=n;let o=Rt(e);if(is(e)&&!o)return e;e=o}return null}var Lt=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[w];return uo(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[J]}get dirty(){var t;return!!(this._lView[E]&9280)||!!((t=this._lView[pe])!=null&&t.dirty)}set context(t){this._lView[J]=t}get destroyed(){return(this._lView[E]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[te];if(Ye(t)){let n=t[Xr],r=n?n.indexOf(this):-1;r>-1&&(jn(t,r),Yr(n,r))}this._attachedToViewContainer=!1}Vo(this._lView[w],this._lView)}onDestroy(t){zl(this._lView,t)}markForCheck(){Ja(this._cdRefInjectingView||this._lView,4)}markForRefresh(){_a(this._cdRefInjectingView||this._lView)}detach(){this._lView[E]&=-129}reattach(){as(this._lView),this._lView[E]|=128}detectChanges(){this._lView[E]|=1024,Df(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=is(this._lView),n=this._lView[At];n!==null&&!t&&Ha(n,this._lView),$d(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=t;let n=is(this._lView),r=this._lView[At];r!==null&&!n&&Ud(r,this._lView),as(this._lView)}},Ze=(()=>{class e{static __NG_ELEMENT_ID__=wv}return e})(),Ev=Ze,Iv=class extends Ev{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){var t;return((t=this._declarationTContainer.tView)==null?void 0:t.ssrId)||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=Gn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Lt(o)}};function wv(){return Go(K(),y())}function Go(e,t){return e.type&4?new Iv(t,e,yn(e,t)):null}var ks=class{resolveComponentFactory(t){throw Error(`No component factory found for ${oe(t)}.`)}},pn=class{static NULL=new ks},yt=class{},Ps=class{},Ls=class{},co=class{},lo=class{},Wn=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Cv()}return e})();function Cv(){let e=y(),t=K(),n=vt(t.index,e);return(ft(n)?n:e)[B]}var bv=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>null})}return e})();function fo(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=Ji(o,a);else if(i==2){let u=a,c=t[++s];r=Ji(r,u+": "+c+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var po=class extends pn{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Ue(t);return new jt(n,this.ngModule)}};function zc(e,t){let n=[];for(let r in e){if(!e.hasOwnProperty(r))continue;let o=e[r];if(o===void 0)continue;let i=Array.isArray(o),s=i?o[0]:o,a=i?o[1]:mt.None;t?n.push({propName:s,templateName:r,isSignal:(a&mt.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function _v(e){let t=e.toLowerCase();return t==="svg"?Hl:t==="math"?wg:null}var jt=class extends co{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){let t=this.componentDef,n=t.inputTransforms,r=zc(t.inputs,!0);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return zc(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Ay(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=T(null);try{o=o||this.ngModule;let a=o instanceof pt?o:o==null?void 0:o.injector;a&&this.componentDef.getStandaloneInjector!==null&&(a=this.componentDef.getStandaloneInjector(a)||a);let u=a?new ds(t,a):t,c=u.get(lo,null);if(c===null)throw new S(407,!1);let l=u.get(bv,null),d=u.get(ln,null),p={rendererFactory:c,sanitizer:l,changeDetectionScheduler:d},f=c.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",g=r?Py(f,r,this.componentDef.encapsulation,u):Hd(f,h,_v(h)),C=512;this.componentDef.signals?C|=4096:this.componentDef.onPush||(C|=16);let v=null;g!==null&&(v=La(g,u,!0));let k=Wa(0,null,null,1,0,null,null,null,null,null,null),W=$o(null,k,null,C,null,null,p,f,u,null,v);xa(W);let fe,Ve,Et=null;try{let xe=this.componentDef,Ut,ai=null;xe.findHostDirectiveDefs?(Ut=[],ai=new Map,xe.findHostDirectiveDefs(xe,Ut,ai),Ut.push(xe)):Ut=[xe];let wp=Mv(W,g);Et=Sv(wp,g,xe,Ut,W,p,f),Ve=wa(k,Z),g&&Nv(f,xe,g,r),n!==void 0&&Av(Ve,this.ngContentSelectors,n),fe=xv(Et,xe,Ut,ai,W,[Ov]),Ka(k,W,null)}catch(xe){throw Et!==null&&Es(Et),Es(W),xe}finally{Na()}return new js(this.componentType,fe,yn(Ve,W),W,Ve)}finally{T(i)}}},js=class extends Ls{location;_rootLView;_tNode;instance;hostView;changeDetectorRef;componentType;previousInputValues=null;constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new Lt(o,void 0,!1),this.componentType=t}setInput(t,n){var i;let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if((i=this.previousInputValues)!=null||(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let s=this._rootLView;Ya(s[w],s,o,t,n),this.previousInputValues.set(t,n);let a=vt(this._tNode.index,s);Ja(a,1)}}get injector(){return new xt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Mv(e,t){let n=e[w],r=Z;return e[r]=t,vn(n,r,2,"#host",null)}function Sv(e,t,n,r,o,i,s){let a=o[w];Tv(r,e,t,s);let u=null;t!==null&&(u=La(t,o[un]));let c=i.rendererFactory.createRenderer(t,n),l=$o(o,of(n),null,uf(n),o[e.index],e,i,c,null,null,u);return a.firstCreatePass&&Os(a,e,r.length-1),zo(o,l),o[e.index]=l}function Tv(e,t,n,r){for(let o of e)t.mergedAttrs=kn(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(fo(t,t.mergedAttrs,!0),n!==null&&Kd(r,n,t))}function xv(e,t,n,r,o,i){let s=K(),a=o[w],u=ve(s,o);sf(a,o,s,n,null,r);for(let l=0;l<n.length;l++){let d=s.directiveStart+l,p=Pt(o,a,d,s);gt(p,o)}af(a,o,s),u&&gt(u,o);let c=Pt(o,a,s.directiveStart+s.componentOffset,s);if(e[J]=o[J]=c,i!==null)for(let l of i)l(c,t);return za(a,s,o),c}function Nv(e,t,n,r){if(r)ls(e,n,["ng-version","19.0.0"]);else{let{attrs:o,classes:i}=Oy(t.selectors[0]);o&&ls(e,n,o),i&&i.length>0&&Qd(e,n,i.join(" "))}}function Av(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)}}function Ov(){let e=K();ko(y()[w],e)}var Vs=class extends yt{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new po(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Ml(t);this._bootstrapComponents=Bd(i.bootstrap),this._r3Injector=hd(t,n,[{provide:yt,useValue:this},{provide:pn,useValue:this.componentFactoryResolver},...r],oe(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)}},Bs=class extends Ps{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Vs(this.moduleType,t,[])}};var ho=class extends yt{injector;componentFactoryResolver=new po(this);instance=null;constructor(t){super();let n=new Rn([...t.providers,{provide:yt,useValue:this},{provide:pn,useValue:this.componentFactoryResolver}],t.parent||_o(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Rv(e,t,n=null){return new ho({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Fv=(()=>{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=Tl(!1,n.type),o=r.length>0?Rv([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=F({token:e,providedIn:"environment",factory:()=>new e(G(pt))})}return e})();function Tx(e){return Hn(()=>{var o;let t=Cf(e),n=Ae(Ne({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Cd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?i=>i.get(Fv).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:(o=e.signals)!=null?o:!1,data:e.data||{},encapsulation:e.encapsulation||Pn.Emulated,styles:e.styles||re,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Ke("NgStandalone"),bf(n);let r=e.dependencies;return n.directiveDefs=qc(r,!1),n.pipeDefs=qc(r,!0),n.id=Lv(n),n})}function kv(e){return Ue(e)||ya(e)}function Pv(e){return e!==null}function Xa(e){return Hn(()=>({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 Gc(e,t){var r;if(e==null)return $e;let n={};for(let o in e)if(e.hasOwnProperty(o)){let i=e[o],s,a,u=mt.None;Array.isArray(i)?(u=i[0],s=i[1],a=(r=i[2])!=null?r:s):(s=i,a=i),t?(n[s]=u!==mt.None?[o,u]:o,t[s]=a):n[s]=o}return n}function je(e){return Hn(()=>{let t=Cf(e);return bf(t),t})}function Zn(e){var t;return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:(t=e.standalone)!=null?t:!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Cf(e){var n;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,inputTransforms:null,inputConfig:e.inputs||$e,exportAs:e.exportAs||null,standalone:(n=e.standalone)!=null?n:!0,signals:e.signals===!0,selectors:e.selectors||re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Gc(e.inputs,t),outputs:Gc(e.outputs),debugInfo:null}}function bf(e){var t;(t=e.features)==null||t.forEach(n=>n(e))}function qc(e,t){if(!e)return null;let n=t?Sl:kv;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Pv)}function Lv(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,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].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}var xx=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function jv(e){return typeof e=="function"&&e[ne]!==void 0}var Vv=new A(""),Bv=new A(""),Nx=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(n,r,o){this._ngZone=n,this.registry=r,Nn||($v(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ee.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}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)(G(ee),G(Hv),G(Bv))};static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})(),Hv=(()=>{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){var o;return(o=Nn==null?void 0:Nn.findTestabilityInTree(this,n,r))!=null?o:null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function $v(e){Nn=e}var Nn;function eu(e){return!!e&&typeof e.then=="function"}function _f(e){return!!e&&typeof e.subscribe=="function"}var Uv=new A("");var Mf=(()=>{var t;class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o});appInits=(t=I(Uv,{optional:!0}))!=null?t:[];injector=I(qe);constructor(){}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=Rl(this.injector,i);if(eu(s))r.push(s);else if(_f(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}static \u0275fac=function(o){return new(o||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),zv=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>new Hs})}return e})(),Hs=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},Gv=new A("");function qv(){dc(()=>{throw new S(600,!1)})}function Wv(e){return e.isBoundToModule}var Zv=10;function Yv(e,t,n){try{let r=n();return eu(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Yn=(()=>{class e{_bootstrapListeners=[];_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=I(fm);afterRenderManager=I(Ad);zonelessEnabled=I(md);rootEffectScheduler=I(zv);dirtyFlags=0;deferredDirtyFlags=0;externalTestViews=new Set;afterTick=new ae;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=I(Po).hasPendingTasks.pipe(He(n=>!n));whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=I(pt);get injector(){return this._injector}bootstrap(n,r){let o=n instanceof co;if(!this._injector.get(Mf).done){let p=!o&&sg(n),f=!1;throw new S(405,f)}let s;o?s=n:s=this._injector.get(pn).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=Wv(s)?void 0:this._injector.get(yt),u=r||s.selector,c=s.create(qe.NULL,[],u,a),l=c.location.nativeElement,d=c.injector.get(Vv,null);return d==null||d.registerApplication(l),c.onDestroy(()=>{this.detachView(c.hostView),Gr(this.components,c),d==null||d.unregisterApplication(l)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new S(101,!1);let n=T(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,T(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(lo,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++<Zv;)this.synchronizeOnce(n)}synchronizeOnce(n){var r,o;if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:s,notifyErrorHandler:a}of this.allViews)Qv(s,a,i,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else(r=n==null?void 0:n.begin)==null||r.call(n),(o=n==null?void 0:n.end)==null||o.call(n);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>xo(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;Gr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(Gv,[]);[...this._bootstrapListeners,...r].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._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Gr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new S(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Gr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Qv(e,t,n,r){if(!n&&!xo(e))return;Df(e,t,n&&!r?0:1)}var Ax=new RegExp(`^(\\d+)*(${wm}|${Im})*(.*)`);var Kv=()=>null;function hn(e,t){return Kv(e,t)}var Xe=(()=>{class e{static __NG_ELEMENT_ID__=Jv}return e})();function Jv(){let e=K();return Tf(e,y())}var Xv=Xe,Sf=class extends Xv{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return yn(this._hostTNode,this._hostLView)}get injector(){return new xt(this._hostTNode,this._hostLView)}get parentInjector(){let t=Aa(this._hostTNode,this._hostLView);if(id(t)){let n=no(t,this._hostLView),r=to(t),o=n[w].data[r+8];return new xt(o,n)}else return new xt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Wc(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-X}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=hn(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,fn(this._hostTNode,s)),a}createComponent(t,n,r,o,i){var h,g,C;let s=t&&!vg(t),a;if(s)a=n;else{let v=n||{};a=v.index,r=v.injector,o=v.projectableNodes,i=v.environmentInjector||v.ngModuleRef}let u=s?t:new jt(Ue(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let k=(s?c:this.parentInjector).get(pt,null);k&&(i=k)}let l=Ue((h=u.componentType)!=null?h:{}),d=hn(this._lContainer,(g=l==null?void 0:l.id)!=null?g:null),p=(C=d==null?void 0:d.firstChild)!=null?C:null,f=u.create(c,o,p,i);return this.insertImpl(f.hostView,a,fn(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(_g(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[te],c=new Sf(u,u[de],u[te]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return qn(s,o,i,r),t.attachToViewContainerRef(),Cl(qi(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Wc(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=jn(this._lContainer,n);r&&(Yr(qi(this._lContainer),n),Vo(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=jn(this._lContainer,n);return r&&Yr(qi(this._lContainer),n)!=null?new Lt(r):null}_adjustIndex(t,n=0){return t==null?this.length+n:t}};function Wc(e){return e[Xr]}function qi(e){return e[Xr]||(e[Xr]=[])}function Tf(e,t){let n,r=t[e.index];return Ye(r)?n=r:(n=cf(r,t,null,e),t[e.index]=n,zo(t,n)),tD(n,t,e,r),new Sf(n,e,t)}function eD(e,t){let n=e[B],r=n.createComment(""),o=ve(t,e),i=qd(n,o);return ao(n,i,r,py(n,o),!1),r}var tD=oD,nD=()=>!1;function rD(e,t,n){return nD(e,t,n)}function oD(e,t,n,r){if(e[Ot])return;let o;n.type&8?o=ke(r):o=eD(t,n),e[Ot]=o}var $s=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Us=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++)nu(t,n).matches!==null&&this.queries[n].setDirty()}},go=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=lD(t):this.predicate=t}},zs=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)}},Gs=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,iD(n,i)),this.matchTNodeWithReadOption(t,n,zr(n,t,i,!1,!1))}else r===Ze?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,zr(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Qe||o===Xe||o===Ze&&n.type&4)this.addMatch(n.index,-2);else{let i=zr(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 iD(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 sD(e,t){return e.type&11?yn(e,t):e.type&4?Go(e,t):null}function aD(e,t,n,r){return n===-1?sD(t,e):n===-2?uD(e,t,r):Pt(e,e[w],n,t)}function uD(e,t,n){if(n===Qe)return yn(t,e);if(n===Ze)return Go(t,e);if(n===Xe)return Tf(t,e)}function xf(e,t,n,r){let o=t[Se].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let u=0;s!==null&&u<s.length;u+=2){let c=s[u];if(c<0)a.push(null);else{let l=i[c];a.push(aD(t,l,s[u+1],n.metadata.read))}}o.matches=a}return o.matches}function qs(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=xf(e,t,o,n);for(let a=0;a<i.length;a+=2){let u=i[a];if(u>0)r.push(s[a/2]);else{let c=i[a+1],l=t[-u];for(let d=X;d<l.length;d++){let p=l[d];p[At]===p[te]&&qs(p[w],p,c,r)}if(l[cn]!==null){let d=l[cn];for(let p=0;p<d.length;p++){let f=d[p];qs(f[w],f,c,r)}}}}}return r}function tu(e,t){return e[Se].queries[t].queryList}function Nf(e,t,n){var i;let r=new Ds((n&4)===4);return Vy(e,t,r,r.destroy),((i=t[Se])!=null?i:t[Se]=new Us).queries.push(new $s(r))-1}function Af(e,t,n){let r=$();return r.firstCreatePass&&(Of(r,new go(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Nf(r,y(),t)}function cD(e,t,n,r){let o=$();if(o.firstCreatePass){let i=K();Of(o,new go(t,n,r),i.index),dD(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Nf(o,y(),n)}function lD(e){return e.split(",").map(t=>t.trim())}function Of(e,t,n){e.queries===null&&(e.queries=new zs),e.queries.track(new Gs(t,n))}function dD(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 nu(e,t){return e.queries.getByIndex(t)}function Rf(e,t){let n=e[w],r=nu(n,t);return r.crossesNgTemplate?qs(n,e,t,[]):xf(n,e,r,t)}function fD(e,t){Ke("NgSignals");let n=fc(e),r=n[ne];return t!=null&&t.equal&&(r.equal=t.equal),n.set=o=>Rr(r,o),n.update=o=>pc(r,o),n.asReadonly=pD.bind(n),n}function pD(){let e=this[ne];if(e.readonlyFn===void 0){let t=()=>this();t[ne]=e,e.readonlyFn=t}return e.readonlyFn}function Ff(e){return jv(e)&&typeof e.set=="function"}function kf(e,t,n){let r,o=Li(()=>{r._dirtyCounter();let i=yD(r,e);if(t&&i===void 0)throw new S(-951,!1);return i});return r=o[ne],r._dirtyCounter=fD(0),r._flatValue=void 0,o}function hD(e){return kf(!0,!1,e)}function gD(e){return kf(!0,!0,e)}function mD(e,t){let n=e[ne];n._lView=y(),n._queryIndex=t,n._queryList=tu(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function yD(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[E]&4)return t?void 0:re;let o=tu(n,r),i=Rf(n,r);return o.reset(i,Id),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function Zc(e,t){return hD(t)}function vD(e,t){return gD(t)}var Rx=(Zc.required=vD,Zc);function DD(e){return Object.getPrototypeOf(e.prototype).constructor}function ED(e){let t=DD(e.type),n=!0,r=[e];for(;t;){let o;if(Ge(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new S(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=jr(e.inputs),s.inputTransforms=jr(e.inputTransforms),s.declaredInputs=jr(e.declaredInputs),s.outputs=jr(e.outputs);let a=o.hostBindings;a&&_D(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&CD(e,u),c&&bD(e,c),ID(e,o),Ph(e.outputs,o.outputs),Ge(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===ED&&(n=!1)}}t=Object.getPrototypeOf(t)}wD(r)}function ID(e,t){var n;for(let r in t.inputs){if(!t.inputs.hasOwnProperty(r)||e.inputs.hasOwnProperty(r))continue;let o=t.inputs[r];if(o!==void 0&&(e.inputs[r]=o,e.declaredInputs[r]=t.declaredInputs[r],t.inputTransforms!==null)){let i=Array.isArray(o)?o[0]:o;if(!t.inputTransforms.hasOwnProperty(i))continue;(n=e.inputTransforms)!=null||(e.inputTransforms={}),e.inputTransforms[i]=t.inputTransforms[i]}}}function wD(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=kn(o.hostAttrs,n=kn(n,o.hostAttrs))}}function jr(e){return e===$e?{}:e===re?[]:e}function CD(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function bD(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function _D(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Fx(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=Pf,n.hostDirectives=r?e.map(Ws):[e]):r?n.hostDirectives.unshift(...e.map(Ws)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Pf(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)Yc(Ws(i),t,n)}else Yc(r,t,n)}function Yc(e,t,n){let r=ya(e.directive);MD(r.declaredInputs,e.inputs),Pf(r,t,n),n.set(r,e),t.push(r)}function Ws(e){return typeof e=="function"?{directive:Q(e),inputs:$e,outputs:$e}:{directive:Q(e.directive),inputs:Qc(e.inputs),outputs:Qc(e.outputs)}}function Qc(e){if(e===void 0||e.length===0)return $e;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function MD(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function Lf(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}function jf(e){return ru(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function SD(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 ru(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Qn(e,t,n){return e[t]=n}function TD(e,t){return e[t]}function le(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Vn(e,t,n,r){let o=le(e,t,n);return le(e,t+1,r)||o}function Vf(e,t,n,r,o){let i=Vn(e,t,n,r);return le(e,t+2,o)||i}function xD(e,t,n,r,o,i){let s=Vn(e,t,n,r);return Vn(e,t+2,o,i)||s}function ND(e){return(e.flags&32)===32}function AD(e,t,n,r,o,i,s,a,u){let c=t.consts,l=vn(t,e,4,s||null,a||null);Za(t,n,l,ht(c,u)),ko(t,l);let d=l.tView=Wa(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function mo(e,t,n,r,o,i,s,a,u,c){let l=n+Z,d=t.firstCreatePass?AD(l,t,e,r,o,i,s,a,u):t.data[l];Bt(d,!1);let p=RD(t,e,d,n);Ro()&&Bo(t,e,p,d),gt(p,e);let f=cf(p,e,p,d);return e[l]=f,zo(e,f),rD(f,d,e),To(d)&&Ga(t,e,d),u!=null&&qa(e,d,c),d}function OD(e,t,n,r,o,i,s,a){let u=y(),c=$(),l=ht(c.consts,i);return mo(u,c,e,t,n,r,o,l,s,a),OD}var RD=FD;function FD(e,t,n,r){return Fo(!0),t[B].createComment("")}function kD(e,t,n,r){let o=y(),i=Dt();if(le(o,i,t)){let s=$(),a=Un();ev(a,o,e,t,n,r)}return kD}function Bf(e,t,n,r){return le(e,Dt(),n)?t+Fe(n)+r:ie}function PD(e,t,n,r,o,i){let s=Yl(),a=Vn(e,s,n,o);return Ao(2),a?t+Fe(n)+r+Fe(o)+i:ie}function LD(e,t,n,r,o,i,s,a){let u=Yl(),c=Vf(e,u,n,o,s);return Ao(3),c?t+Fe(n)+r+Fe(o)+i+Fe(s)+a:ie}function Vr(e,t){return e<<17|t<<2}function Vt(e){return e>>17&32767}function jD(e){return(e&2)==2}function VD(e,t){return e&131071|t<<17}function Zs(e){return e|2}function gn(e){return(e&131068)>>2}function Wi(e,t){return e&-131069|t<<2}function BD(e){return(e&1)===1}function Ys(e){return e|1}function HD(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Vt(s),u=gn(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||$n(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let p=Vt(e[a+1]);e[r+1]=Vr(p,a),p!==0&&(e[p+1]=Wi(e[p+1],r)),e[a+1]=VD(e[a+1],r)}else e[r+1]=Vr(a,0),a!==0&&(e[a+1]=Wi(e[a+1],r)),a=r;else e[r+1]=Vr(u,0),a===0?a=r:e[u+1]=Wi(e[u+1],r),u=r;c&&(e[r+1]=Zs(e[r+1])),Kc(e,l,r,!0),Kc(e,l,r,!1),$D(t,l,e,r,i),s=Vr(a,u),i?t.classBindings=s:t.styleBindings=s}function $D(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&$n(i,t)>=0&&(n[r+1]=Ys(n[r+1]))}function Kc(e,t,n,r){let o=e[n+1],i=t===null,s=r?Vt(o):gn(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];UD(u,t)&&(a=!0,e[s+1]=r?Ys(c):Zs(c)),s=r?Vt(c):gn(c)}a&&(e[n+1]=r?Zs(o):Ys(o))}function UD(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?$n(e,t)>=0:!1}var _e={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function zD(e){return e.substring(_e.key,_e.keyEnd)}function GD(e){return qD(e),Hf(e,$f(e,0,_e.textEnd))}function Hf(e,t){let n=_e.textEnd;return n===t?-1:(t=_e.keyEnd=WD(e,_e.key=t,n),$f(e,t,n))}function qD(e){_e.key=0,_e.keyEnd=0,_e.value=0,_e.valueEnd=0,_e.textEnd=e.length}function $f(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function WD(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function ZD(e,t,n){let r=y(),o=Dt();if(le(r,o,t)){let i=$(),s=Un();Uo(i,s,r,e,t,r[B],n,!1)}return ZD}function Qs(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Ya(e,n,i[s],s,r)}function ou(e,t,n){return zf(e,t,n,!1),ou}function YD(e,t){return zf(e,t,null,!0),YD}function kx(e){Gf(tE,Uf,e,!0)}function Uf(e,t){for(let n=GD(t);n>=0;n=Hf(t,n))bo(e,zD(t),!0)}function zf(e,t,n,r){let o=y(),i=$(),s=Ao(2);if(i.firstUpdatePass&&Wf(i,e,s,r),t!==ie&&le(o,s,t)){let a=i.data[Le()];Zf(i,a,o,o[B],e,o[s+1]=rE(t,n),r,s)}}function Gf(e,t,n,r){let o=$(),i=Ao(2);o.firstUpdatePass&&Wf(o,null,i,r);let s=y();if(n!==ie&&le(s,i,n)){let a=o.data[Le()];if(Yf(a,r)&&!qf(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=Ji(u,n||"")),Qs(o,a,s,n,r)}else nE(o,a,s,s[B],s[i+1],s[i+1]=eE(e,t,n),r,i)}}function qf(e,t){return t>=e.expandoStartIndex}function Wf(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Le()],s=qf(e,n);Yf(i,r)&&t===null&&!s&&(t=!1),t=QD(o,i,t,r),HD(o,i,t,n,s,r)}}function QD(e,t,n,r){let o=Ql(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Zi(null,e,t,n,r),n=Bn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Zi(o,e,t,n,r),i===null){let u=KD(e,t,r);u!==void 0&&Array.isArray(u)&&(u=Zi(null,e,t,u[1],r),u=Bn(u,t.attrs,r),JD(e,t,r,u))}else i=XD(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function KD(e,t,n){let r=n?t.classBindings:t.styleBindings;if(gn(r)!==0)return e[Vt(r)]}function JD(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Vt(o)]=r}function XD(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Bn(r,s,n)}return Bn(r,t.attrs,n)}function Zi(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=Bn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Bn(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 eE(e,t,n){if(n==null||n==="")return re;let r=[],o=$t(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 tE(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&bo(e,r,n)}function nE(e,t,n,r,o,i,s,a){o===ie&&(o=re);let u=0,c=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=u<o.length?o[u+1]:void 0,f=c<i.length?i[c+1]:void 0,h=null,g;l===d?(u+=2,c+=2,p!==f&&(h=d,g=f)):d===null||l!==null&&l<d?(u+=2,h=l):(c+=2,h=d,g=f),h!==null&&Zf(e,t,n,r,h,g,s,a),l=u<o.length?o[u]:null,d=c<i.length?i[c]:null}}function Zf(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let u=e.data,c=u[a+1],l=BD(c)?Jc(u,t,n,o,gn(c),s):void 0;if(!yo(l)){yo(i)||jD(c)&&(i=Jc(u,null,n,o,a,s));let d=$l(Le(),n);Dy(r,s,d,o,i)}}function Jc(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,p=n[o+1];p===ie&&(p=d?re:void 0);let f=d?Vi(p,r):l===r?p:void 0;if(c&&!yo(f)&&(f=Vi(u,r)),yo(f)&&(a=f,s))return a;let h=e[o+1];o=s?Vt(h):gn(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=Vi(u,r))}return a}function yo(e){return e!==void 0}function rE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=oe($t(e)))),e}function Yf(e,t){return(e.flags&(t?8:16))!==0}function Px(e,t,n){let r=y(),o=Bf(r,e,t,n);Gf(bo,Uf,o,!0)}var Ks=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 Yi(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function oE(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let u=t.length-1;for(;i<=s&&i<=u;){let c=e.at(i),l=t[i],d=Yi(i,c,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let p=e.at(s),f=t[u],h=Yi(s,p,u,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,u--;continue}let g=n(i,c),C=n(s,p),v=n(i,l);if(Object.is(v,C)){let k=n(u,f);Object.is(k,g)?(e.swap(i,s),e.updateValue(s,f),u--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r!=null||(r=new vo),o!=null||(o=el(e,i,s,n)),Js(e,r,i,v))e.updateValue(i,l),i++,s++;else if(o.has(v))r.set(g,e.detach(i)),s--;else{let k=e.create(i,t[i]);e.attach(i,k),i++,s++}}for(;i<=u;)Xc(e,r,n,i,t[i]),i++}else if(t!=null){let u=t[Symbol.iterator](),c=u.next();for(;!c.done&&i<=s;){let l=e.at(i),d=c.value,p=Yi(i,l,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,c=u.next();else{r!=null||(r=new vo),o!=null||(o=el(e,i,s,n));let f=n(i,d);if(Js(e,r,i,f))e.updateValue(i,d),i++,s++,c=u.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,c=u.next();else{let h=n(i,l);r.set(h,e.detach(i)),s--}}}for(;!c.done;)Xc(e,r,n,e.length,c.value),c=u.next()}for(;i<=s;)e.destroy(e.detach(s--));r==null||r.forEach(u=>{e.destroy(u)})}function Js(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Xc(e,t,n,r,o){if(Js(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function el(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 vo=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 Lx(e,t){Ke("NgControlFlow");let n=y(),r=Dt(),o=n[r]!==ie?n[r]:-1,i=o!==-1?Do(n,Z+o):void 0,s=0;if(le(n,r,e)){let a=T(null);try{if(i!==void 0&&gf(i,s),e!==-1){let u=Z+e,c=Do(n,u),l=na(n[w],u),d=hn(c,l.tView.ssrId),p=Gn(n,l,t,{dehydratedView:d});qn(c,p,s,fn(l,d))}}finally{T(a)}}else if(i!==void 0){let a=hf(i,s);a!==void 0&&(a[J]=t)}}var Xs=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-X}};function jx(e){return e}function Vx(e,t){return t}var ea=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function Bx(e,t,n,r,o,i,s,a,u,c,l,d,p){Ke("NgControlFlow");let f=y(),h=$(),g=u!==void 0,C=y(),v=a?s.bind(C[he][J]):s,k=new ea(g,v);C[Z+e]=k,mo(f,h,e+1,t,n,r,o,ht(h.consts,i)),g&&mo(f,h,e+2,u,c,l,d,ht(h.consts,p))}var ta=class extends Ks{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-X}at(t){return this.getLView(t)[J].$implicit}attach(t,n){let r=n[an];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),qn(this.lContainer,n,t,fn(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),iE(this.lContainer,t)}create(t,n){var i;let r=hn(this.lContainer,this.templateTNode.tView.ssrId),o=Gn(this.hostLView,this.templateTNode,new Xs(this.lContainer,n,t),{dehydratedView:r});return(i=this.operationsCounter)==null||i.recordCreate(),o}destroy(t){var n;Vo(t[w],t),(n=this.operationsCounter)==null||n.recordDestroy()}updateValue(t,n){this.getLView(t)[J].$implicit=n}reset(){var t;this.needsIndexUpdate=!1,(t=this.operationsCounter)==null||t.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[J].$index=t}getLView(t){return sE(this.lContainer,t)}};function Hx(e){let t=T(null),n=Le();try{let o=y(),i=o[w],s=o[n],a=n+1,u=Do(o,a);if(s.liveCollection===void 0){let l=na(i,a);s.liveCollection=new ta(u,o,l)}else s.liveCollection.reset();let c=s.liveCollection;if(oE(c,e,s.trackByFn),c.updateIndexes(),s.hasEmptyBlock){let l=Dt(),d=c.length===0;if(le(o,l,d)){let p=n+2,f=Do(o,p);if(d){let h=na(i,p),g=hn(f,h.tView.ssrId),C=Gn(o,h,void 0,{dehydratedView:g});qn(f,C,0,fn(h,g))}else gf(f,0)}}}finally{T(t)}}function Do(e,t){return e[t]}function iE(e,t){return jn(e,t)}function sE(e,t){return hf(e,t)}function na(e,t){return wa(e,t)}function aE(e,t,n,r,o,i){let s=t.consts,a=ht(s,o),u=vn(t,e,2,r,a);return Za(t,n,u,ht(s,i)),u.attrs!==null&&fo(u,u.attrs,!1),u.mergedAttrs!==null&&fo(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function Qf(e,t,n,r){let o=y(),i=$(),s=Z+e,a=o[B],u=i.firstCreatePass?aE(s,i,o,t,n,r):i.data[s],c=cE(i,o,u,a,t,e);o[s]=c;let l=To(u);return Bt(u,!0),Kd(a,c,u),!ND(u)&&Ro()&&Bo(i,o,c,u),Tg()===0&&gt(c,o),xg(),l&&(Ga(i,o,u),za(i,u,o)),r!==null&&qa(o,u),Qf}function Kf(){let e=K();Ma()?Sa():(e=e.parent,Bt(e,!1));let t=e;Ag(t)&&Og(),Ng();let n=$();return n.firstCreatePass&&(ko(n,e),Ea(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&Gg(t)&&Qs(n,t,y(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&qg(t)&&Qs(n,t,y(),t.stylesWithoutHost,!1),Kf}function uE(e,t,n,r){return Qf(e,t,n,r),Kf(),uE}var cE=(e,t,n,r,o,i)=>(Fo(!0),Hd(r,o,Hg()));function lE(e,t,n,r,o){let i=t.consts,s=ht(i,r),a=vn(t,e,8,"ng-container",s);s!==null&&fo(a,s,!0);let u=ht(i,o);return Za(t,n,a,u),t.queries!==null&&t.queries.elementStart(t,a),a}function dE(e,t,n){let r=y(),o=$(),i=e+Z,s=o.firstCreatePass?lE(i,o,r,t,n):o.data[i];Bt(s,!0);let a=pE(o,r,s,e);return r[i]=a,Ro()&&Bo(o,r,a,s),gt(a,r),To(s)&&(Ga(o,r,s),za(o,s,r)),n!=null&&qa(r,s),dE}function fE(){let e=K(),t=$();return Ma()?Sa():(e=e.parent,Bt(e,!1)),t.firstCreatePass&&(ko(t,e),Ea(e)&&t.queries.elementEnd(e)),fE}var pE=(e,t,n,r)=>(Fo(!0),iy(t[B],""));function $x(){return y()}function hE(e,t,n){let r=y(),o=Dt();if(le(r,o,t)){let i=$(),s=Un();Uo(i,s,r,e,t,r[B],n,!0)}return hE}function gE(e,t,n){let r=y(),o=Dt();if(le(r,o,t)){let i=$(),s=Un(),a=Ql(i.data),u=ov(a,s,r);Uo(i,s,r,e,t,u,n,!0)}return gE}var Tt=void 0;function mE(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var yE=["en",[["a","p"],["AM","PM"],Tt],[["AM","PM"],Tt,Tt],[["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"]],Tt,[["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"]],Tt,[["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}",Tt,"{1} 'at' {0}",Tt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",mE],An={};function Jf(e,t,n){typeof t!="string"&&(n=t,t=e[H.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),An[t]=e,n&&(An[t][H.ExtraData]=n)}function ge(e){let t=vE(e),n=tl(t);if(n)return n;let r=t.split("-")[0];if(n=tl(r),n)return n;if(r==="en")return yE;throw new S(701,!1)}function tl(e){return e in An||(An[e]=ct.ng&&ct.ng.common&&ct.ng.common.locales&&ct.ng.common.locales[e]),An[e]}var H=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}(H||{});function vE(e){return e.toLowerCase().replace(/_/g,"-")}var Eo="en-US";var DE=Eo;function EE(e){typeof e=="string"&&(DE=e.toLowerCase().replace(/_/g,"-"))}var IE=(e,t,n)=>{};function wE(e,t,n,r){let o=y(),i=$(),s=K();return Xf(i,o,o[B],s,e,t,r),wE}function CE(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[rn],u=o[i+2];return a.length>u?a[u]:null}typeof s=="string"&&(i+=2)}return null}function Xf(e,t,n,r,o,i,s){let a=To(r),c=e.firstCreatePass&&ff(e),l=t[J],d=df(t),p=!0;if(r.type&3||s){let g=ve(r,t),C=s?s(g):g,v=d.length,k=s?fe=>s(ke(fe[r.index])):r.index,W=null;if(!s&&a&&(W=CE(e,t,o,r.index)),W!==null){let fe=W.__ngLastListenerFn__||W;fe.__ngNextListenerFn__=i,W.__ngLastListenerFn__=i,p=!1}else{i=rl(r,t,l,i),IE(g,o,i);let fe=n.listen(C,o,i);d.push(i,fe),c&&c.push(o,k,v,v+1)}}else i=rl(r,t,l,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let g=h.length;if(g)for(let C=0;C<g;C+=2){let v=h[C],k=h[C+1],Ve=t[v][k].subscribe(i),Et=d.length;d.push(i,Ve),c&&c.push(o,r.index,Et,-(Et+1))}}}function nl(e,t,n,r){let o=T(null);try{return Oe(6,t,n),n(r)!==!1}catch(i){return pf(e,i),!1}finally{Oe(7,t,n),T(o)}}function rl(e,t,n,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?vt(e.index,t):t;Ja(s,5);let a=nl(t,n,r,i),u=o.__ngNextListenerFn__;for(;u;)a=nl(t,n,u,i)&&a,u=u.__ngNextListenerFn__;return a}}function Ux(e=1){return Bg(e)}function bE(e,t){let n=null,r=My(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Xd(e,i,!0):xy(r,i))return o}return n}function zx(e){let t=y()[he][de];if(!t.projection){let n=e?e.length:1,r=t.projection=rg(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?bE(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function Gx(e,t=0,n,r,o,i){let s=y(),a=$(),u=r?e+1:null;u!==null&&mo(s,a,u,r,o,i,null,n);let c=vn(a,Z+e,16,null,n||null);c.projection===null&&(c.projection=t),Sa();let d=!s[an]||ql();s[he][de].projection[c.projection]===null&&u!==null?_E(s,a,u):d&&(c.flags&32)!==32&&yy(a,s,c)}function _E(e,t,n){let r=Z+n,o=t.data[r],i=e[r],s=hn(i,o.tView.ssrId),a=Gn(e,o,void 0,{dehydratedView:s});qn(i,a,0,fn(o,s))}function qx(e,t,n,r){cD(e,t,n,r)}function Wx(e,t,n){Af(e,t,n)}function Zx(e){let t=y(),n=$(),r=Ta();Oo(r+1);let o=nu(n,r);if(e.dirty&&bg(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Rf(t,r);e.reset(i,Id),e.notifyOnChanges()}return!0}return!1}function Yx(){return tu(y(),Ta())}function Qx(e,t,n,r){mD(e,Af(t,n,r))}function Kx(e=1){Oo(Ta()+e)}function ME(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Jx(e){let t=Fg();return Ca(t,Z+e)}function Xx(e,t=""){let n=y(),r=$(),o=e+Z,i=r.firstCreatePass?vn(r,o,1,t,null):r.data[o],s=SE(r,n,i,t,e);n[o]=s,Ro()&&Bo(r,n,s,i),Bt(i,!1)}var SE=(e,t,n,r,o)=>(Fo(!0),ry(t[B],r));function TE(e){return ep("",e,""),TE}function ep(e,t,n){let r=y(),o=Bf(r,e,t,n);return o!==ie&&Qa(r,Le(),o),ep}function xE(e,t,n,r,o){let i=y(),s=PD(i,e,t,n,r,o);return s!==ie&&Qa(i,Le(),s),xE}function NE(e,t,n,r,o,i,s){let a=y(),u=LD(a,e,t,n,r,o,i,s);return u!==ie&&Qa(a,Le(),u),NE}function AE(e,t,n){Ff(t)&&(t=t());let r=y(),o=Dt();if(le(r,o,t)){let i=$(),s=Un();Uo(i,s,r,e,t,r[B],n,!1)}return AE}function eN(e,t){let n=Ff(e);return n&&e.set(t),n}function OE(e,t){let n=y(),r=$(),o=K();return Xf(r,n,n[B],o,e,t),OE}function RE(e,t,n){let r=$();if(r.firstCreatePass){let o=Ge(e);ra(n,r.data,r.blueprint,o,!0),ra(t,r.data,r.blueprint,o,!1)}}function ra(e,t,n,r,o){if(e=Q(e),Array.isArray(e))for(let i=0;i<e.length;i++)ra(e[i],t,n,r,o);else{let i=$(),s=y(),a=K(),u=sn(e)?e:Q(e.provide),c=Ol(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(sn(e)||!e.multi){let f=new kt(c,o,j),h=Ki(u,t,o?l:l+p,d);h===-1?(ps(oo(a,s),i,u),Qi(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Ki(u,t,l+p,d),h=Ki(u,t,l,l+p),g=f>=0&&n[f],C=h>=0&&n[h];if(o&&!C||!o&&!g){ps(oo(a,s),i,u);let v=PE(o?kE:FE,n.length,o,r,c);!o&&C&&(n[h].providerFactory=v),Qi(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(v),s.push(v)}else{let v=tp(n[o?h:f],c,!o&&r);Qi(i,e,f>-1?f:h,v)}!o&&r&&C&&n[h].componentProviders++}}}function Qi(e,t,n,r){let o=sn(t),i=dg(t);if(o||i){let u=(i?Q(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function tp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ki(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function FE(e,t,n,r){return oa(this.multi,[])}function kE(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Pt(n,n[w],this.providerFactory.index,r);i=a.slice(0,s),oa(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],oa(o,i);return i}function oa(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function PE(e,t,n,r,o){let i=new kt(e,n,j);return i.multi=[],i.index=t,i.componentProviders=0,tp(i,o,r&&!n),i}function tN(e,t=[]){return n=>{n.providersResolver=(r,o)=>RE(r,o?o(e):e,t)}}function nN(e,t,n){let r=Ht()+e,o=y();return o[r]===ie?Qn(o,r,n?t.call(n):t()):TD(o,r)}function rN(e,t,n,r){return np(y(),Ht(),e,t,n,r)}function oN(e,t,n,r,o){return rp(y(),Ht(),e,t,n,r,o)}function iN(e,t,n,r,o,i){return LE(y(),Ht(),e,t,n,r,o,i)}function sN(e,t,n,r,o,i,s){return jE(y(),Ht(),e,t,n,r,o,i,s)}function qo(e,t){let n=e[t];return n===ie?void 0:n}function np(e,t,n,r,o,i){let s=t+n;return le(e,s,o)?Qn(e,s+1,i?r.call(i,o):r(o)):qo(e,s+1)}function rp(e,t,n,r,o,i,s){let a=t+n;return Vn(e,a,o,i)?Qn(e,a+2,s?r.call(s,o,i):r(o,i)):qo(e,a+2)}function LE(e,t,n,r,o,i,s,a){let u=t+n;return Vf(e,u,o,i,s)?Qn(e,u+3,a?r.call(a,o,i,s):r(o,i,s)):qo(e,u+3)}function jE(e,t,n,r,o,i,s,a,u){let c=t+n;return xD(e,c,o,i,s,a)?Qn(e,c+4,u?r.call(u,o,i,s,a):r(o,i,s,a)):qo(e,c+4)}function aN(e,t){var u;let n=$(),r,o=e+Z;n.firstCreatePass?(r=VE(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&((u=n.destroyHooks)!=null?u:n.destroyHooks=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=Nt(r.type,!0)),s,a=ce(j);try{let c=ro(!1),l=i();return ro(c),ME(n,y(),o,l),l}finally{ce(a)}}function VE(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function uN(e,t,n){let r=e+Z,o=y(),i=Ca(o,r);return op(o,r)?np(o,Ht(),t,i.transform,n,i):i.transform(n)}function cN(e,t,n,r){let o=e+Z,i=y(),s=Ca(i,o);return op(i,o)?rp(i,Ht(),t,s.transform,n,r,s):s.transform(n,r)}function op(e,t){return e[w].data[t].pure}function lN(e,t){return Go(e,t)}var ia=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},dN=(()=>{class e{compileModuleSync(n){return new Bs(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Ml(n),i=Bd(o.declarations).reduce((s,a)=>{let u=Ue(a);return u&&s.push(new jt(u)),s},[]);return new ia(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=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var BE=(()=>{class e{zone=I(ee);changeDetectionScheduler=I(ln);applicationRef=I(Yn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var n;(n=this._onMicrotaskEmptySubscription)==null||n.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function HE({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e!=null||(e=()=>new ee(Ae(Ne({},$E()),{scheduleInRootZone:n}))),[{provide:ee,useFactory:e},{provide:Qr,multi:!0,useFactory:()=>{let r=I(BE,{optional:!0});return()=>r.initialize()}},{provide:Qr,multi:!0,useFactory:()=>{let r=I(UE);return()=>{r.initialize()}}},t===!0?{provide:yd,useValue:!0}:[],{provide:vd,useValue:n!=null?n:gd}]}function $E(e){var t,n;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(t=e==null?void 0:e.eventCoalescing)!=null?t:!1,shouldCoalesceRunChangeDetection:(n=e==null?void 0:e.runCoalescing)!=null?n:!1}}var UE=(()=>{class e{subscription=new z;initialized=!1;zone=I(ee);pendingTasks=I(Po);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(()=>{ee.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ee.assertInAngularZone(),n!=null||(n=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var zE=(()=>{var t,n,r;class e{appRef=I(Yn);taskService=I(Po);ngZone=I(ee);zonelessEnabled=I(md);disableScheduling=(t=I(yd,{optional:!0}))!=null?t:!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new z;angularZoneId=this.zoneIsDefined?(n=this.ngZone._inner)==null?void 0:n.get(so):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&((r=I(vd,{optional:!0}))!=null?r:!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.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof vs||!this.zoneIsDefined))}notify(i){if(!this.zonelessEnabled&&i===5)return;let s=!1;switch(i){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,s=!0;break}case 13:{this.appRef.dirtyFlags|=16,s=!0;break}case 14:{this.appRef.dirtyFlags|=2,s=!0;break}case 12:{s=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick(s))return;let a=this.useMicrotaskScheduler?Sc:Dd;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>a(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>a(()=>this.tick()))}shouldScheduleTick(i){return!(this.disableScheduling&&!i||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(so+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 i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(s){throw this.taskService.remove(i),s}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Sc(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var i;if(this.runningTick=!1,(i=this.cancelScheduledCallback)==null||i.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let s=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(s)}}static \u0275fac=function(s){return new(s||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function GE(){return typeof $localize<"u"&&$localize.locale||Eo}var Kn=new A("",{providedIn:"root",factory:()=>I(Kn,x.Optional|x.SkipSelf)||GE()});var sa=new A("");function Br(e){return!e.moduleRef}function qE(e){let t=Br(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ee);return n.run(()=>{Br(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(dn,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Br(e)){let i=()=>t.destroy(),s=e.platformInjector.get(sa);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(sa);s.add(i),e.moduleRef.onDestroy(()=>{Gr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Yv(r,n,()=>{let i=t.get(Mf);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Kn,Eo);if(EE(s||Eo),Br(e)){let a=t.get(Yn);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return WE(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function WE(e,t){let n=e.injector.get(Yn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new S(-403,!1);t.push(e)}var qr=null;function ZE(e=[],t){return qe.create({name:t,providers:[{provide:Al,useValue:"platform"},{provide:sa,useValue:new Set([()=>qr=null])},...e]})}function YE(e=[]){if(qr)return qr;let t=ZE(e);return qr=t,qv(),QE(t),t}function QE(e){let t=e.get(Em,null);Rl(e,()=>{t==null||t.forEach(n=>n())})}var iu=(()=>{class e{static __NG_ELEMENT_ID__=KE}return e})();function KE(e){return JE(K(),y(),(e&16)===16)}function JE(e,t,n){if(So(e)&&!n){let r=vt(e.index,t);return new Lt(r,r)}else if(e.type&175){let r=t[he];return new Lt(r,t)}return null}var aa=class{constructor(){}supports(t){return jf(t)}create(t){return new ua(t)}},XE=(e,t)=>t,ua=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||XE}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<ol(r,o,i)?n:r,a=ol(s,o,i),u=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let c=a-o,l=u-o;if(c!=l){for(let p=0;p<c;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;l<=h&&h<c&&(i[p]=f+1)}let d=s.previousIndex;i[d]=l-c}}a!==u&&t(s,a,u)}}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=[]),!jf(t))throw new S(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,SD(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 ca(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 Io),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 Io),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}},ca=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}},la=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}},Io=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new la,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 ol(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 da=class{constructor(){}supports(t){return t instanceof Map||ru(t)}create(){return new fa}},fa=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||ru(t)))throw new S(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 pa(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))}},pa=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function il(){return new su([new aa])}var su=(()=>{class e{factories;static \u0275prov=F({token:e,providedIn:"root",factory:il});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||il()),deps:[[e,new wl,new Il]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new S(901,!1)}}return e})();function sl(){return new au([new da])}var au=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:sl});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||sl()),deps:[[e,new wl,new Il]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new S(901,!1)}}return e})();var fN=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(G(Yn))};static \u0275mod=Xa({type:e});static \u0275inj=ha({})}return e})();function pN(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=YE(r),i=[HE({}),{provide:ln,useExisting:zE},...n||[]],s=new ho({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return qE({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}function Jn(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function uu(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function hN(e,t){Ke("NgSignals");let n=Li(e);return t!=null&&t.equal&&(n[ne].equal=t.equal),n}function eI(e){let t=T(null);try{return e()}finally{T(t)}}var al=class{[ne];constructor(t){this[ne]=t}destroy(){this[ne].destroy()}};function gN(e,t){let n=Ue(e),r=t.elementInjector||_o();return new jt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function mN(e){let t=Ue(e);if(!t)return null;let n=new jt(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 Xo=null;function cu(){return Xo}function PN(e){Xo!=null||(Xo=e)}var ip=class{};var oi=new A(""),Eu=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:()=>I(nI),providedIn:"platform"})}return e})(),LN=new A(""),nI=(()=>{class e extends Eu{_location;_history;_doc=I(oi);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return cu().getBaseHref(this._doc)}onPopState(n){let r=cu().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=cu().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=F({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Iu(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function sp(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function tt(e){return e&&e[0]!=="?"?"?"+e:e}var ii=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:()=>I(rI),providedIn:"root"})}return e})(),gp=new A(""),rI=(()=>{class e extends ii{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){var o,i,s;super(),this._platformLocation=n,this._baseHref=(s=(i=r!=null?r:this._platformLocation.getBaseHrefFromDOM())!=null?i:(o=I(oi).location)==null?void 0:o.origin)!=null?s:""}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 Iu(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+tt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+tt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+tt(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){var r,o;(o=(r=this._platformLocation).historyGo)==null||o.call(r,n)}static \u0275fac=function(r){return new(r||e)(G(Eu),G(gp,8))};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),jN=(()=>{class e extends ii{_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){var o;let r=(o=this._platformLocation.hash)!=null?o:"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=Iu(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+tt(i));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+tt(i));s.length==0&&(s=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){var r,o;(o=(r=this._platformLocation).historyGo)==null||o.call(r,n)}static \u0275fac=function(r){return new(r||e)(G(Eu),G(gp,8))};static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})(),oI=(()=>{class e{_subject=new ae;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=aI(sp(ap(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){var n;(n=this._urlChangeSubscription)==null||n.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+tt(r))}normalize(n){return e.stripTrailingSlash(sI(this._basePath,ap(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+tt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+tt(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){var r,o;(o=(r=this._locationStrategy).historyGo)==null||o.call(r,n)}onUrlChange(n){var r;return this._urlChangeListeners.push(n),(r=this._urlChangeSubscription)!=null||(this._urlChangeSubscription=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)})),()=>{var i;let o=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&((i=this._urlChangeSubscription)==null||i.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!=null?r:void 0,complete:o!=null?o:void 0})}static normalizeQueryParams=tt;static joinWithSlash=Iu;static stripTrailingSlash=sp;static \u0275fac=function(r){return new(r||e)(G(ii))};static \u0275prov=F({token:e,factory:()=>iI(),providedIn:"root"})}return e})();function iI(){return new oI(G(ii))}function sI(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function ap(e){return e.replace(/\/index.html$/,"")}function aI(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var mp=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(mp||{});var se=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(se||{}),L=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(L||{}),me=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(me||{}),ye={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 uI(e){return ge(e)[H.LocaleId]}function cI(e,t,n){let r=ge(e),o=[r[H.DayPeriodsFormat],r[H.DayPeriodsStandalone]],i=De(o,t);return De(i,n)}function lI(e,t,n){let r=ge(e),o=[r[H.DaysFormat],r[H.DaysStandalone]],i=De(o,t);return De(i,n)}function dI(e,t,n){let r=ge(e),o=[r[H.MonthsFormat],r[H.MonthsStandalone]],i=De(o,t);return De(i,n)}function fI(e,t){let r=ge(e)[H.Eras];return De(r,t)}function Wo(e,t){let n=ge(e);return De(n[H.DateFormat],t)}function Zo(e,t){let n=ge(e);return De(n[H.TimeFormat],t)}function Yo(e,t){let r=ge(e)[H.DateTimeFormat];return De(r,t)}function nt(e,t){let n=ge(e),r=n[H.NumberSymbols][t];if(typeof r>"u"){if(t===ye.CurrencyDecimal)return n[H.NumberSymbols][ye.Decimal];if(t===ye.CurrencyGroup)return n[H.NumberSymbols][ye.Group]}return r}function pI(e,t){return ge(e)[H.NumberFormats][t]}function yp(e){if(!e[H.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[H.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function hI(e){let t=ge(e);return yp(t),(t[H.ExtraData][2]||[]).map(r=>typeof r=="string"?lu(r):[lu(r[0]),lu(r[1])])}function gI(e,t,n){let r=ge(e);yp(r);let o=[r[H.ExtraData][0],r[H.ExtraData][1]],i=De(o,t)||[];return De(i,n)||[]}function De(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function lu(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var mI=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Dn={},yI=/((?:[^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]*)/,rt=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(rt||{}),R=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(R||{}),O=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(O||{});function vI(e,t,n,r){let o=SI(e);t=et(n,t)||t;let s=[],a;for(;t;)if(a=yI.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let u=o.getTimezoneOffset();r&&(u=Dp(r,u),o=MI(o,r,!0));let c="";return s.forEach(l=>{let d=bI(l);c+=d?d(o,n,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function ti(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function et(e,t){var o;let n=uI(e);if((o=Dn[n])!=null||(Dn[n]={}),Dn[n][t])return Dn[n][t];let r="";switch(t){case"shortDate":r=Wo(e,me.Short);break;case"mediumDate":r=Wo(e,me.Medium);break;case"longDate":r=Wo(e,me.Long);break;case"fullDate":r=Wo(e,me.Full);break;case"shortTime":r=Zo(e,me.Short);break;case"mediumTime":r=Zo(e,me.Medium);break;case"longTime":r=Zo(e,me.Long);break;case"fullTime":r=Zo(e,me.Full);break;case"short":let i=et(e,"shortTime"),s=et(e,"shortDate");r=Qo(Yo(e,me.Short),[i,s]);break;case"medium":let a=et(e,"mediumTime"),u=et(e,"mediumDate");r=Qo(Yo(e,me.Medium),[a,u]);break;case"long":let c=et(e,"longTime"),l=et(e,"longDate");r=Qo(Yo(e,me.Long),[c,l]);break;case"full":let d=et(e,"fullTime"),p=et(e,"fullDate");r=Qo(Yo(e,me.Full),[d,p]);break}return r&&(Dn[n][t]=r),r}function Qo(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Te(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 DI(e,t){return Te(e,3).substring(0,t)}function q(e,t,n=0,r=!1,o=!1){return function(i,s){let a=EI(e,i);if((n>0||a>-n)&&(a+=n),e===R.Hours)a===0&&n===-12&&(a=12);else if(e===R.FractionalSeconds)return DI(a,t);let u=nt(s,ye.MinusSign);return Te(a,t,u,r,o)}}function EI(e,t){switch(e){case R.FullYear:return t.getFullYear();case R.Month:return t.getMonth();case R.Date:return t.getDate();case R.Hours:return t.getHours();case R.Minutes:return t.getMinutes();case R.Seconds:return t.getSeconds();case R.FractionalSeconds:return t.getMilliseconds();case R.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function V(e,t,n=se.Format,r=!1){return function(o,i){return II(o,i,e,t,n,r)}}function II(e,t,n,r,o,i){switch(n){case O.Months:return dI(t,o,r)[e.getMonth()];case O.Days:return lI(t,o,r)[e.getDay()];case O.DayPeriods:let s=e.getHours(),a=e.getMinutes();if(i){let c=hI(t),l=gI(t,o,r),d=c.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,g=s>=f.hours&&a>=f.minutes,C=s<h.hours||s===h.hours&&a<h.minutes;if(f.hours<h.hours){if(g&&C)return!0}else if(g||C)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return cI(t,o,r)[s<12?0:1];case O.Eras:return fI(t,r)[e.getFullYear()<=0?0:1];default:let u=n;throw new Error(`unexpected translation type ${u}`)}}function Ko(e){return function(t,n,r){let o=-1*r,i=nt(n,ye.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case rt.Short:return(o>=0?"+":"")+Te(s,2,i)+Te(Math.abs(o%60),2,i);case rt.ShortGMT:return"GMT"+(o>=0?"+":"")+Te(s,1,i);case rt.Long:return"GMT"+(o>=0?"+":"")+Te(s,2,i)+":"+Te(Math.abs(o%60),2,i);case rt.Extended:return r===0?"Z":(o>=0?"+":"")+Te(s,2,i)+":"+Te(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var wI=0,ei=4;function CI(e){let t=ti(e,wI,1).getDay();return ti(e,0,1+(t<=ei?ei:ei+7)-t)}function vp(e){let t=e.getDay(),n=t===0?-3:ei-t;return ti(e.getFullYear(),e.getMonth(),e.getDate()+n)}function du(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=vp(n),s=CI(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Te(o,e,nt(r,ye.MinusSign))}}function Jo(e,t=!1){return function(n,r){let i=vp(n).getFullYear();return Te(i,e,nt(r,ye.MinusSign),t)}}var fu={};function bI(e){if(fu[e])return fu[e];let t;switch(e){case"G":case"GG":case"GGG":t=V(O.Eras,L.Abbreviated);break;case"GGGG":t=V(O.Eras,L.Wide);break;case"GGGGG":t=V(O.Eras,L.Narrow);break;case"y":t=q(R.FullYear,1,0,!1,!0);break;case"yy":t=q(R.FullYear,2,0,!0,!0);break;case"yyy":t=q(R.FullYear,3,0,!1,!0);break;case"yyyy":t=q(R.FullYear,4,0,!1,!0);break;case"Y":t=Jo(1);break;case"YY":t=Jo(2,!0);break;case"YYY":t=Jo(3);break;case"YYYY":t=Jo(4);break;case"M":case"L":t=q(R.Month,1,1);break;case"MM":case"LL":t=q(R.Month,2,1);break;case"MMM":t=V(O.Months,L.Abbreviated);break;case"MMMM":t=V(O.Months,L.Wide);break;case"MMMMM":t=V(O.Months,L.Narrow);break;case"LLL":t=V(O.Months,L.Abbreviated,se.Standalone);break;case"LLLL":t=V(O.Months,L.Wide,se.Standalone);break;case"LLLLL":t=V(O.Months,L.Narrow,se.Standalone);break;case"w":t=du(1);break;case"ww":t=du(2);break;case"W":t=du(1,!0);break;case"d":t=q(R.Date,1);break;case"dd":t=q(R.Date,2);break;case"c":case"cc":t=q(R.Day,1);break;case"ccc":t=V(O.Days,L.Abbreviated,se.Standalone);break;case"cccc":t=V(O.Days,L.Wide,se.Standalone);break;case"ccccc":t=V(O.Days,L.Narrow,se.Standalone);break;case"cccccc":t=V(O.Days,L.Short,se.Standalone);break;case"E":case"EE":case"EEE":t=V(O.Days,L.Abbreviated);break;case"EEEE":t=V(O.Days,L.Wide);break;case"EEEEE":t=V(O.Days,L.Narrow);break;case"EEEEEE":t=V(O.Days,L.Short);break;case"a":case"aa":case"aaa":t=V(O.DayPeriods,L.Abbreviated);break;case"aaaa":t=V(O.DayPeriods,L.Wide);break;case"aaaaa":t=V(O.DayPeriods,L.Narrow);break;case"b":case"bb":case"bbb":t=V(O.DayPeriods,L.Abbreviated,se.Standalone,!0);break;case"bbbb":t=V(O.DayPeriods,L.Wide,se.Standalone,!0);break;case"bbbbb":t=V(O.DayPeriods,L.Narrow,se.Standalone,!0);break;case"B":case"BB":case"BBB":t=V(O.DayPeriods,L.Abbreviated,se.Format,!0);break;case"BBBB":t=V(O.DayPeriods,L.Wide,se.Format,!0);break;case"BBBBB":t=V(O.DayPeriods,L.Narrow,se.Format,!0);break;case"h":t=q(R.Hours,1,-12);break;case"hh":t=q(R.Hours,2,-12);break;case"H":t=q(R.Hours,1);break;case"HH":t=q(R.Hours,2);break;case"m":t=q(R.Minutes,1);break;case"mm":t=q(R.Minutes,2);break;case"s":t=q(R.Seconds,1);break;case"ss":t=q(R.Seconds,2);break;case"S":t=q(R.FractionalSeconds,1);break;case"SS":t=q(R.FractionalSeconds,2);break;case"SSS":t=q(R.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Ko(rt.Short);break;case"ZZZZZ":t=Ko(rt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Ko(rt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Ko(rt.Long);break;default:return null}return fu[e]=t,t}function Dp(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function _I(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function MI(e,t,n){let r=n?-1:1,o=e.getTimezoneOffset(),i=Dp(t,o);return _I(e,r*(i-o))}function SI(e){if(up(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 ti(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(mI))return TI(r)}let t=new Date(e);if(!up(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function TI(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,u=Number(e[6]||0),c=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,u,c),t}function up(e){return e instanceof Date&&!isNaN(e.valueOf())}var xI=/^(\d+)?\.((\d+)(-(\d+))?)?$/,cp=22,ni=".",Xn="0",NI=";",AI=",",pu="#";function OI(e,t,n,r,o,i,s=!1){let a="",u=!1;if(!isFinite(e))a=nt(n,ye.Infinity);else{let c=PI(e);s&&(c=kI(c));let l=t.minInt,d=t.minFrac,p=t.maxFrac;if(i){let k=i.match(xI);if(k===null)throw new Error(`${i} is not a valid digit info`);let W=k[1],fe=k[3],Ve=k[5];W!=null&&(l=hu(W)),fe!=null&&(d=hu(fe)),Ve!=null?p=hu(Ve):fe!=null&&d>p&&(p=d)}LI(c,d,p);let f=c.digits,h=c.integerLen,g=c.exponent,C=[];for(u=f.every(k=>!k);h<l;h++)f.unshift(0);for(;h<0;h++)f.unshift(0);h>0?C=f.splice(h,f.length):(C=f,f=[0]);let v=[];for(f.length>=t.lgSize&&v.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)v.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&v.unshift(f.join("")),a=v.join(nt(n,r)),C.length&&(a+=nt(n,o)+C.join("")),g&&(a+=nt(n,ye.Exponential)+"+"+g)}return e<0&&!u?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function RI(e,t,n){let r=pI(t,mp.Decimal),o=FI(r,nt(t,ye.MinusSign));return OI(e,o,t,ye.Group,ye.Decimal,n)}function FI(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(NI),o=r[0],i=r[1],s=o.indexOf(ni)!==-1?o.split(ni):[o.substring(0,o.lastIndexOf(Xn)+1),o.substring(o.lastIndexOf(Xn)+1)],a=s[0],u=s[1]||"";n.posPre=a.substring(0,a.indexOf(pu));for(let l=0;l<u.length;l++){let d=u.charAt(l);d===Xn?n.minFrac=n.maxFrac=l+1:d===pu?n.maxFrac=l+1:n.posSuf+=d}let c=a.split(AI);if(n.gSize=c[1]?c[1].length:0,n.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,i){let l=o.length-n.posPre.length-n.posSuf.length,d=i.indexOf(pu);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 kI(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 PI(e){let t=Math.abs(e)+"",n=0,r,o,i,s,a;for((o=t.indexOf(ni))>-1&&(t=t.replace(ni,"")),(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)===Xn;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===Xn;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>cp&&(r=r.splice(0,cp-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function LI(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);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 u=i!==0,c=t+e.integerLen,l=r.reduceRight(function(d,p,f,h){return p=p+d,h[f]=p<10?p:p-10,u&&(h[f]===0&&f>=c?h.pop():u=!1),p>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function hu(e){let t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}function VN(e,t,n){return Jf(e,t,n)}function BN(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 gu=/\s+/,lp=[],HN=(()=>{class e{_ngEl;_renderer;initialClasses=lp;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(gu):lp}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(gu):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(gu).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)(j(Qe),j(Wn))};static \u0275dir=je({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var mu=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}},$N=(()=>{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;if(!this._differ&&n)if(0)try{}catch{}else 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 mu(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),dp(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);dp(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(j(Xe),j(Ze),j(su))};static \u0275dir=je({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function dp(e,t){e.context.$implicit=t.item}var UN=(()=>{class e{_viewContainer;_context=new yu;_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){fp("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){fp("ngIfElse",n),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)(j(Xe),j(Ze))};static \u0275dir=je({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),yu=class{$implicit=null;ngIf=null};function fp(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${oe(t)}'.`)}var ri=class{_viewContainerRef;_templateRef;_created=!1;constructor(t,n){this._viewContainerRef=t,this._templateRef=n}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}},Ep=(()=>{class e{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(n){this._ngSwitch=n,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){let r=n===this._ngSwitch;return this._lastCasesMatched||(this._lastCasesMatched=r),this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(let r of this._defaultViews)r.enforceState(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275dir=je({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return e})(),zN=(()=>{class e{ngSwitch;_view;ngSwitchCase;constructor(n,r,o){this.ngSwitch=o,o._addCase(),this._view=new ri(n,r)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(r){return new(r||e)(j(Xe),j(Ze),j(Ep,9))};static \u0275dir=je({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return e})(),GN=(()=>{class e{constructor(n,r,o){o._addDefault(new ri(n,r))}static \u0275fac=function(r){return new(r||e)(j(Xe),j(Ze),j(Ep,9))};static \u0275dir=je({type:e,selectors:[["","ngSwitchDefault",""]]})}return e})();var qN=(()=>{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:Ln.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)(j(Qe),j(au),j(Wn))};static \u0275dir=je({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),WN=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){var r;if(this._shouldRecreateView(n)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,i,{injector:(r=this.ngTemplateOutletInjector)!=null?r: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)(j(Xe))};static \u0275dir=je({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ia]})}return e})();function si(e,t){return new S(2100,!1)}var jI=/(?:[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,ZN=(()=>{class e{transform(n){if(n==null)return null;if(typeof n!="string")throw si(e,n);return n.replace(jI,r=>r[0].toUpperCase()+r.slice(1).toLowerCase())}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=Zn({name:"titlecase",type:e,pure:!0})}return e})(),YN=(()=>{class e{transform(n){if(n==null)return null;if(typeof n!="string")throw si(e,n);return n.toUpperCase()}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=Zn({name:"uppercase",type:e,pure:!0})}return e})(),VI="mediumDate",BI=new A(""),HI=new A(""),QN=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){var s,a,u,c,l;if(n==null||n===""||n!==n)return null;try{let d=(a=r!=null?r:(s=this.defaultOptions)==null?void 0:s.dateFormat)!=null?a:VI,p=(l=(c=o!=null?o:(u=this.defaultOptions)==null?void 0:u.timezone)!=null?c:this.defaultTimezone)!=null?l:void 0;return vI(n,d,i||this.locale,p)}catch(d){throw si(e,d.message)}}static \u0275fac=function(r){return new(r||e)(j(Kn,16),j(BI,24),j(HI,24))};static \u0275pipe=Zn({name:"date",type:e,pure:!0})}return e})();var KN=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!$I(n))return null;o||(o=this._locale);try{let i=UI(n);return RI(i,o,r)}catch(i){throw si(e,i.message)}}static \u0275fac=function(r){return new(r||e)(j(Kn,16))};static \u0275pipe=Zn({name:"number",type:e,pure:!0})}return e})();function $I(e){return!(e==null||e===""||e!==e)}function UI(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new Error(`${e} is not a number`);return e}var JN=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Xa({type:e});static \u0275inj=ha({})}return e})(),zI="browser",GI="server";function qI(e){return e===zI}function WI(e){return e===GI}var XN=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>qI(I(ka))?new vu(I(oi),window):new Du})}return e})(),vu=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){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){let n=ZI(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){let n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}};function ZI(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 Du=class{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}},pp=class{};var Ip=e=>e.src,YI=new A("",{providedIn:"root",factory:()=>Ip});var QI=new A("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),KI=(()=>{class e{preloadedImages=I(QI);document=I(oi);createPreloadLinkTag(n,r,o,i){if(this.preloadedImages.has(r))return;this.preloadedImages.add(r);let s=n.createElement("link");n.setAttribute(s,"as","image"),n.setAttribute(s,"href",r),n.setAttribute(s,"rel","preload"),n.setAttribute(s,"fetchpriority","high"),i&&n.setAttribute(s,"imageSizes",i),o&&n.setAttribute(s,"imageSrcset",o),n.appendChild(this.document.head,s)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var hp=/^((\s*\d+w\s*(,|$)){1,})$/;var JI=[1,2],XI=640;var ew=1920,tw=1080;var eA=(()=>{class e{imageLoader=I(YI);config=nw(I(xd));renderer=I(Wn);imgElement=I(Qe).nativeElement;injector=I(qe);isServer=WI(I(ka));preloadLinkCreator=I(KI);lcpObserver=null;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;ngOnInit(){Ke("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||(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("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&&hp.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw"),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),n,this.sizes)}ngOnChanges(n){if(n.ngSrc&&!n.ngSrc.isFirstChange()){let o=this._renderedSrc;this.updateSrcAndSrcset(!0);let i=this._renderedSrc;this.lcpObserver!==null&&o&&i&&o!==i&&this.injector.get(ee).runOutsideAngular(()=>{var a;(a=this.lcpObserver)==null||a.updateImage(o,i)})}}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"}getRewrittenSrc(){if(!this._renderedSrc){let n={src:this.ngSrc};this._renderedSrc=this.callImageLoader(n)}return this._renderedSrc}getRewrittenSrcset(){let n=hp.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(){var i;let{breakpoints:n}=this.config,r=n;return((i=this.sizes)==null?void 0:i.trim())==="100vw"&&(r=n.filter(s=>s>=XI)),r.map(s=>`${this.callImageLoader({src:this.ngSrc,width:s})} ${s}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 JI.map(r=>`${this.callImageLoader({src:this.ngSrc,width:this.width*r})} ${r}x`).join(", ")}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>ew||this.height>tw),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Ip&&!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(iu);o(),i(),this.placeholder=!1,s.markForCheck()},o=this.renderer.listen(n,"load",r),i=this.renderer.listen(n,"error",r);rw(n,r)}ngOnDestroy(){}setHostAttribute(n,r){this.renderer.setAttribute(this.imgElement,n,r)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=je({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(r,o){r&2&&ou("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",ow],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",uu],height:[2,"height","height",uu],loading:"loading",priority:[2,"priority","priority",Jn],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",Jn],fill:[2,"fill","fill",Jn],placeholder:[2,"placeholder","placeholder",iw],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[Lf,Ia]})}return e})();function nw(e){let t={};return e.breakpoints&&(t.breakpoints=e.breakpoints.sort((n,r)=>n-r)),Object.assign({},Pa,e,t)}function rw(e,t){e.complete&&e.naturalWidth&&t()}function ow(e){return typeof e=="string"?e:$t(e)}function iw(e){return typeof e=="string"&&e!=="true"&&e!=="false"&&e!==""?e:Jn(e)}export{Ne as a,Ae as b,sw as c,aw as d,uw as e,cw as f,lw as g,bu as h,z as i,Rp as j,M as k,yi as l,vi as m,ae as n,wn as o,_t as p,st as q,Di as r,zp as s,Gp as t,we as u,qp as v,Pp as w,He as x,eh as y,Ce as z,Ei as A,at as B,nh as C,rh as D,Ii as E,Cn as F,lh as G,St as H,fh as I,hh as J,Ku as K,gh as L,Ru as M,bn as N,Yt as O,wi as P,mh as Q,yh as R,Eh as S,Ih as T,ec as U,bi as V,wh as W,Ch as X,Mi as Y,bh as Z,_h as _,Mh as $,tc as aa,nc as ba,Sh as ca,Th as da,S as ea,ct as fa,pl as ga,F as ha,ha as ia,sx as ja,A as ka,x as la,G as ma,I as na,Il as oa,wl as pa,ax as qa,ag as ra,Al as sa,pt as ta,Rl as ua,kl as va,Ia as wa,ux as xa,cx as ya,lx as za,dx as Aa,rm as Ba,qe as Ca,Oa as Da,Po as Ea,lt as Fa,ee as Ga,dn as Ha,fx as Ia,Qe as Ja,px as Ka,hx as La,Em as Ma,ka as Na,gx as Oa,mx as Pa,Ke as Qa,en as Ra,Mm as Sa,Sm as Ta,Pn as Ua,$t as Va,ja as Wa,yx as Xa,vx as Ya,Dx as Za,Ex as _a,Ix as $a,Fd as ab,Wm as bb,jo as cb,wx as db,Ym as eb,Cx as fb,bx as gb,Ln as hb,_x as ib,j as jb,Mx as kb,Ze as lb,pn as mb,Ps as nb,lo as ob,Wn as pb,Rv as qb,Tx as rb,Xa as sb,je as tb,Zn as ub,xx as vb,Vv as wb,Bv as xb,Nx as yb,Hv as zb,eu as Ab,Uv as Bb,Gv as Cb,Yn as Db,Xe as Eb,fD as Fb,Rx as Gb,ED as Hb,Fx as Ib,Lf as Jb,OD as Kb,kD as Lb,ZD as Mb,ou as Nb,YD as Ob,kx as Pb,Px as Qb,Lx as Rb,jx as Sb,Vx as Tb,Bx as Ub,Hx as Vb,Qf as Wb,Kf as Xb,uE as Yb,dE as Zb,fE as _b,$x as $b,hE as ac,gE as bc,wE as cc,Ux as dc,zx as ec,Gx as fc,qx as gc,Wx as hc,Zx as ic,Yx as jc,Qx as kc,Kx as lc,Jx as mc,Xx as nc,TE as oc,ep as pc,xE as qc,NE as rc,AE as sc,eN as tc,OE as uc,tN as vc,nN as wc,rN as xc,oN as yc,iN as zc,sN as Ac,aN as Bc,uN as Cc,cN as Dc,lN as Ec,dN as Fc,Kn as Gc,iu as Hc,fN as Ic,pN as Jc,Jn as Kc,hN as Lc,eI as Mc,gN as Nc,mN as Oc,cu as Pc,PN as Qc,ip as Rc,oi as Sc,Eu as Tc,LN as Uc,ii as Vc,gp as Wc,rI as Xc,jN as Yc,oI as Zc,VN as _c,BN as $c,HN as ad,$N as bd,UN as cd,Ep as dd,zN as ed,GN as fd,qN as gd,WN as hd,ZN as id,YN as jd,QN as kd,KN as ld,JN as md,zI as nd,qI as od,WI as pd,XN as qd,pp as rd,eA as sd};
@@ -1 +0,0 @@
1
- import{a as w}from"./chunk-6PHMBMFU.js";import{d as T}from"./chunk-NZNNTHFQ.js";import{b as S}from"./chunk-SVFFEV36.js";import{b as _,j as y}from"./chunk-CW7Q7WEJ.js";import{a as g,b as $}from"./chunk-3IX3CLER.js";import{Bc as m,Cc as p,Kb as h,Rb as l,Wb as r,Xb as n,Yb as f,dc as v,ib as i,na as a,nc as s,oc as o,rb as x}from"./chunk-TXOB7R5K.js";function C(t,u){t&1&&(r(0,"p",7),s(1),m(2,"translate"),n()),t&2&&(i(),o(p(2,1,"restart.please_wait_while_server_restarts")))}function k(t,u){if(t&1&&(r(0,"div",8),s(1),n()),t&2){let e=v();i(),o(e.error)}}function b(t,u){t&1&&(r(0,"div",9)(1,"div",10),f(2,"i",11),n()())}function E(t,u){t&1&&(r(0,"div")(1,"div",12),s(2),m(3,"translate"),n()()),t&2&&(i(2),o(p(3,1,"platform.linux.long_time")))}var A=(()=>{class t{$api=a(_);$router=a(T);$settings=a(S);$toastr=a(y);$translate=a(g);$ws=a(w);checkTimeout;checkDelay;resp={};timeout=!1;error=!1;io;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"))}})}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)}ngOnDestroy(){this.io.end(),clearTimeout(this.checkDelay),clearTimeout(this.checkTimeout)}static \u0275fac=function(c){return new(c||t)};static \u0275cmp=x({type:t,selectors:[["ng-component"]],decls:15,vars:10,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,"grey-text"],[1,"alert","alert-error","my-4"],[1,"justify-content-center","my-4"],[1,"restart-progress-box","primary-text"],[1,"fas","fa-fw","fa-spinner","fa-spin"],[1,"alert","alert-warning","my-4"]],template:function(c,d){c&1&&(r(0,"div",0)(1,"h3",1),s(2),m(3,"translate"),n()(),r(4,"div",2)(5,"div",3),f(6,"i",4),n(),r(7,"div",5)(8,"h4",6),s(9),m(10,"translate"),n(),h(11,C,3,3,"p",7)(12,k,2,1,"div",8)(13,b,3,0,"div",9)(14,E,4,3,"div"),n()()),c&2&&(i(2),o(p(3,6,"menu.restart.title")),i(7),o(p(10,8,"platform.linux.restarting_server")),i(2),l(d.error?-1:11),i(),l(d.error?12:-1),i(),l(d.error?-1:13),i(),l(d.timeout?14:-1))},dependencies:[$],styles:[".restart-progress-box[_ngcontent-%COMP%]{font-size:22px;margin-top:15px}"]})}return t})();export{A as a};
@@ -1 +0,0 @@
1
- import{a}from"./chunk-S6EMLS5Q.js";import"./chunk-LDPCT3YF.js";import"./chunk-CCUID66K.js";import"./chunk-BKUGARB4.js";import"./chunk-6PHMBMFU.js";import"./chunk-BFDVOBTQ.js";import"./chunk-SVFFEV36.js";import"./chunk-CW7Q7WEJ.js";import"./chunk-UG5DK2RQ.js";import"./chunk-3IX3CLER.js";import"./chunk-TXOB7R5K.js";export{a as TerminalComponent};
@@ -1 +0,0 @@
1
- import"./chunk-U6ORTLYL.js";import"./chunk-DZY2Q3FG.js";import"./chunk-6PHMBMFU.js";import{g as n}from"./chunk-NZNNTHFQ.js";import"./chunk-BFDVOBTQ.js";import"./chunk-SVFFEV36.js";import"./chunk-CW7Q7WEJ.js";import"./chunk-UG5DK2RQ.js";import{c as m}from"./chunk-3IX3CLER.js";import{ia as t,md as i,sb as r}from"./chunk-TXOB7R5K.js";var d=[{path:"",redirectTo:"/",pathMatch:"full"},{path:"restart-server",loadComponent:()=>import("./chunk-KIJWUGXX.js").then(o=>o.RestartLinuxComponent)},{path:"shutdown-server",loadComponent:()=>import("./chunk-JL6S5IIU.js").then(o=>o.ShutdownLinuxComponent)}],u=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[n.forChild(d),n]})}return o})();var g=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[i,m.forChild(),u]})}return o})();export{g as LinuxModule};
@@ -1 +0,0 @@
1
- import{a as l,b as a,c as d,d as u,e as g,f as C,g as M}from"./chunk-76S7LYCL.js";import{a as p}from"./chunk-NF4NIS42.js";import"./chunk-77A3OZ74.js";import"./chunk-FX4GQIE4.js";import"./chunk-VMXGERJT.js";import"./chunk-7EUQWCP5.js";import"./chunk-WNWWUCCZ.js";import"./chunk-7L7RZCFC.js";import"./chunk-CCUID66K.js";import"./chunk-QE7DO6J3.js";import"./chunk-BKUGARB4.js";import"./chunk-WHJOLAED.js";import"./chunk-JZZQRLNW.js";import"./chunk-KQJ7ONUG.js";import{q as c}from"./chunk-ORPWYWCL.js";import{y as s,z as f}from"./chunk-QHPDGSZ6.js";import"./chunk-6PHMBMFU.js";import{g as m}from"./chunk-NZNNTHFQ.js";import"./chunk-BFDVOBTQ.js";import"./chunk-SVFFEV36.js";import"./chunk-CW7Q7WEJ.js";import"./chunk-UG5DK2RQ.js";import{c as n}from"./chunk-3IX3CLER.js";import{ia as t,md as i,sb as e}from"./chunk-TXOB7R5K.js";var N=[{path:"",loadComponent:()=>import("./chunk-DDXIRKVB.js").then(o=>o.SettingsComponent),canActivate:[p]}],R=(()=>{class o{static \u0275fac=function(r){return new(r||o)};static \u0275mod=e({type:o});static \u0275inj=t({imports:[m.forChild(N),m]})}return o})();var J=(()=>{class o{static \u0275fac=function(r){return new(r||o)};static \u0275mod=e({type:o});static \u0275inj=t({imports:[i,s,f,n,c,R,M,g,C,l,d,a,u]})}return o})();export{J as SettingsModule};
@@ -1 +0,0 @@
1
- import{a as f,b as l}from"./chunk-3C6WVST7.js";import{a as d}from"./chunk-MOV2HTCQ.js";import{f as p}from"./chunk-Q5URFHBE.js";import"./chunk-WNWWUCCZ.js";import"./chunk-JZZQRLNW.js";import{q as c}from"./chunk-ORPWYWCL.js";import{y as n}from"./chunk-QHPDGSZ6.js";import"./chunk-6PHMBMFU.js";import{g as i}from"./chunk-NZNNTHFQ.js";import"./chunk-BFDVOBTQ.js";import"./chunk-SVFFEV36.js";import"./chunk-CW7Q7WEJ.js";import"./chunk-UG5DK2RQ.js";import{c as s}from"./chunk-3IX3CLER.js";import{ia as r,md as m,sb as e}from"./chunk-TXOB7R5K.js";var g=[{path:"",loadComponent:()=>import("./chunk-ODPTCLGS.js").then(o=>o.AccessoriesComponent)}],u=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=e({type:o});static \u0275inj=r({imports:[i.forChild(g),i]})}return o})();var H=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=e({type:o});static \u0275inj=r({imports:[m,n,c,p,s.forChild(),d,u,l,f]})}return o})();export{H as AccessoriesModule};