graphdb-workbench 3.1.1 → 3.2.0-TR1

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 (353) hide show
  1. package/README.md +45 -0
  2. package/dist/10142.f47cd2aec05492fce7ce.bundle.js +2 -0
  3. package/dist/10142.f47cd2aec05492fce7ce.bundle.js.map +1 -0
  4. package/dist/10406.52677950658780fd8859.bundle.js +2 -0
  5. package/dist/{10406.7fed4b667b0d2813b305.bundle.js.map → 10406.52677950658780fd8859.bundle.js.map} +1 -1
  6. package/dist/12358.2061f29dc113149946a3.bundle.js +3 -0
  7. package/dist/12358.2061f29dc113149946a3.bundle.js.map +1 -0
  8. package/dist/12396.4c26c8da50c790b0f39a.bundle.js +2 -0
  9. package/dist/12396.4c26c8da50c790b0f39a.bundle.js.map +1 -0
  10. package/dist/14874.d6973a34188c0335fa12.bundle.js +2 -0
  11. package/dist/14874.d6973a34188c0335fa12.bundle.js.map +1 -0
  12. package/dist/15535.ce8d657c04f3401b9539.bundle.js +2 -0
  13. package/dist/15535.ce8d657c04f3401b9539.bundle.js.map +1 -0
  14. package/dist/16162.8f482628d1b34d41d496.bundle.js +2 -0
  15. package/dist/16162.8f482628d1b34d41d496.bundle.js.map +1 -0
  16. package/dist/{18961.d83ba5fd0855f3cfa7d7.bundle.js → 18961.c6505525fb0491b48f8b.bundle.js} +2 -2
  17. package/dist/{18961.d83ba5fd0855f3cfa7d7.bundle.js.map → 18961.c6505525fb0491b48f8b.bundle.js.map} +1 -1
  18. package/dist/19968.fdb823f9a12e11a633ec.bundle.js +2 -0
  19. package/dist/19968.fdb823f9a12e11a633ec.bundle.js.map +1 -0
  20. package/dist/20287.c42f9d1d913c36e46931.bundle.js +2 -0
  21. package/dist/20287.c42f9d1d913c36e46931.bundle.js.map +1 -0
  22. package/dist/20694.70b6e390d6397249c72d.bundle.js.map +1 -1
  23. package/dist/21136.199caea09a1c9ad90393.bundle.js +2 -0
  24. package/dist/21136.199caea09a1c9ad90393.bundle.js.map +1 -0
  25. package/dist/21142.b690e00c8884fddb2bb3.bundle.js +2 -0
  26. package/dist/21142.b690e00c8884fddb2bb3.bundle.js.map +1 -0
  27. package/dist/21170.d5e3041241741d21080c.bundle.js +2 -0
  28. package/dist/21170.d5e3041241741d21080c.bundle.js.map +1 -0
  29. package/dist/21195.267abc9d42b711d0f17a.bundle.js +2 -0
  30. package/dist/21195.267abc9d42b711d0f17a.bundle.js.map +1 -0
  31. package/dist/25747.4e00941ec221c4d6ce8f.bundle.js +2 -0
  32. package/dist/25747.4e00941ec221c4d6ce8f.bundle.js.map +1 -0
  33. package/dist/27580.f71ebbc69dd1c7785ef3.bundle.js +2 -0
  34. package/dist/27580.f71ebbc69dd1c7785ef3.bundle.js.map +1 -0
  35. package/dist/28050.8ca1fa760c892bfc5466.bundle.js +2 -0
  36. package/dist/28050.8ca1fa760c892bfc5466.bundle.js.map +1 -0
  37. package/dist/31636.e34ccc2d6f2dec577446.bundle.js +2 -0
  38. package/dist/31636.e34ccc2d6f2dec577446.bundle.js.map +1 -0
  39. package/dist/32489.97fac2c3daa49b143d13.bundle.js +2 -0
  40. package/dist/32489.97fac2c3daa49b143d13.bundle.js.map +1 -0
  41. package/dist/32534.fb6ef715bfb44761ec63.bundle.js +2 -0
  42. package/dist/32534.fb6ef715bfb44761ec63.bundle.js.map +1 -0
  43. package/dist/34495.cfa15bda8009fa37c6ff.bundle.js +2 -0
  44. package/dist/34495.cfa15bda8009fa37c6ff.bundle.js.map +1 -0
  45. package/dist/{38360.437a12fa59878d1d43b9.bundle.js → 38360.0a90e77042876c86b279.bundle.js} +2 -2
  46. package/dist/38360.0a90e77042876c86b279.bundle.js.map +1 -0
  47. package/dist/38412.fa86361561ffa367709f.bundle.js +2 -0
  48. package/dist/38412.fa86361561ffa367709f.bundle.js.map +1 -0
  49. package/dist/38644.3a0954c798ec413a3810.bundle.js +2 -0
  50. package/dist/38644.3a0954c798ec413a3810.bundle.js.map +1 -0
  51. package/dist/38843.5ef7a063337524ce3bb2.bundle.js +2 -0
  52. package/dist/38843.5ef7a063337524ce3bb2.bundle.js.map +1 -0
  53. package/dist/39518.4199684f3273d29d9105.bundle.js +2 -0
  54. package/dist/{39518.0ee809a85c83dba1f56a.bundle.js.map → 39518.4199684f3273d29d9105.bundle.js.map} +1 -1
  55. package/dist/39539.c23e4878044d73f2505b.bundle.js +2 -0
  56. package/dist/39539.c23e4878044d73f2505b.bundle.js.map +1 -0
  57. package/dist/{39874.c2d7cab1a65e5a869e78.bundle.js → 39874.f94a5059e1ae4f4a87e9.bundle.js} +2 -2
  58. package/dist/39874.f94a5059e1ae4f4a87e9.bundle.js.map +1 -0
  59. package/dist/41453.8bb4c783da2c5077a6e9.bundle.js +2 -0
  60. package/dist/41453.8bb4c783da2c5077a6e9.bundle.js.map +1 -0
  61. package/dist/42129.f44b7b20f9cd376c6e59.bundle.js +2 -0
  62. package/dist/42129.f44b7b20f9cd376c6e59.bundle.js.map +1 -0
  63. package/dist/44444.ad66c8256bc5b653de1a.bundle.js +2 -0
  64. package/dist/44444.ad66c8256bc5b653de1a.bundle.js.map +1 -0
  65. package/dist/44874.5854c207bbe2c4f2438e.bundle.js +2 -0
  66. package/dist/44874.5854c207bbe2c4f2438e.bundle.js.map +1 -0
  67. package/dist/45149.2f77aa736bbfb13fd987.bundle.js +2 -0
  68. package/dist/45149.2f77aa736bbfb13fd987.bundle.js.map +1 -0
  69. package/dist/45758.6ceb731cbe0576149f31.bundle.js +2 -0
  70. package/dist/45758.6ceb731cbe0576149f31.bundle.js.map +1 -0
  71. package/dist/{46591.ac9d19fd699104a9ed9b.bundle.js → 46591.0b142aa76a8991a89848.bundle.js} +2 -2
  72. package/dist/46591.0b142aa76a8991a89848.bundle.js.map +1 -0
  73. package/dist/55862.1fb5abd075ba11a7e93c.bundle.js +2 -0
  74. package/dist/55862.1fb5abd075ba11a7e93c.bundle.js.map +1 -0
  75. package/dist/58306.ba9545cbaee021ebcbce.bundle.js +2 -0
  76. package/dist/58306.ba9545cbaee021ebcbce.bundle.js.map +1 -0
  77. package/dist/{60560.024578077d95b851beea.bundle.js → 60560.37740d97b418899a5d21.bundle.js} +2 -2
  78. package/dist/{60560.024578077d95b851beea.bundle.js.map → 60560.37740d97b418899a5d21.bundle.js.map} +1 -1
  79. package/dist/67232.e76f40f9d09e64ebb365.bundle.js.map +1 -1
  80. package/dist/67888.7d4966e0a22ba655f1b8.bundle.js +2 -0
  81. package/dist/67888.7d4966e0a22ba655f1b8.bundle.js.map +1 -0
  82. package/dist/72379.bac50d0011665a85b6cd.bundle.js +2 -0
  83. package/dist/72379.bac50d0011665a85b6cd.bundle.js.map +1 -0
  84. package/dist/73667.3dd4f377e7ef54fd8758.bundle.js +2 -0
  85. package/dist/73667.3dd4f377e7ef54fd8758.bundle.js.map +1 -0
  86. package/dist/73779.193df86f08e3a1d06d67.bundle.js +2 -0
  87. package/dist/73779.193df86f08e3a1d06d67.bundle.js.map +1 -0
  88. package/dist/73793.6d80d47c26ed60a587fd.bundle.js +2 -0
  89. package/dist/73793.6d80d47c26ed60a587fd.bundle.js.map +1 -0
  90. package/dist/75282.88819e851ed18720b275.bundle.js +2 -0
  91. package/dist/75282.88819e851ed18720b275.bundle.js.map +1 -0
  92. package/dist/75849.51ade15bf0074eab76f3.bundle.js +2 -0
  93. package/dist/75849.51ade15bf0074eab76f3.bundle.js.map +1 -0
  94. package/dist/78013.e32fade7ad42b64c8122.bundle.js +2 -0
  95. package/dist/78013.e32fade7ad42b64c8122.bundle.js.map +1 -0
  96. package/dist/78250.6db42146a120459280e4.bundle.js +2 -0
  97. package/dist/78250.6db42146a120459280e4.bundle.js.map +1 -0
  98. package/dist/{78681.e44a1eb1dce4a8a29f57.bundle.js → 78681.39694d37c0f75ea04df6.bundle.js} +2 -2
  99. package/dist/{78681.e44a1eb1dce4a8a29f57.bundle.js.map → 78681.39694d37c0f75ea04df6.bundle.js.map} +1 -1
  100. package/dist/79329.5a5cbfa466d1c62af915.bundle.js +2 -0
  101. package/dist/79329.5a5cbfa466d1c62af915.bundle.js.map +1 -0
  102. package/dist/82206.8ec983edcf675cfd4531.bundle.js +2 -0
  103. package/dist/82206.8ec983edcf675cfd4531.bundle.js.map +1 -0
  104. package/dist/82896.9aed45baf67510717c6f.bundle.js +2 -0
  105. package/dist/82896.9aed45baf67510717c6f.bundle.js.map +1 -0
  106. package/dist/{82926.f625cc022724426fb8fb.bundle.js → 82926.93dbf44f2bcccba34e9b.bundle.js} +2 -2
  107. package/dist/{82926.f625cc022724426fb8fb.bundle.js.map → 82926.93dbf44f2bcccba34e9b.bundle.js.map} +1 -1
  108. package/dist/85281.27b5a1eb8e7ac2cf8459.bundle.js +2 -0
  109. package/dist/85281.27b5a1eb8e7ac2cf8459.bundle.js.map +1 -0
  110. package/dist/{88206.fbbcf8ccd9460c579e87.bundle.js → 88206.28c337e2edbf17928836.bundle.js} +2 -2
  111. package/dist/88206.28c337e2edbf17928836.bundle.js.map +1 -0
  112. package/dist/9062.d9049833d076191d3e1a.bundle.js +2 -0
  113. package/dist/9062.d9049833d076191d3e1a.bundle.js.map +1 -0
  114. package/dist/99379.be6c85ef305af6667dc1.bundle.js +2 -0
  115. package/dist/99379.be6c85ef305af6667dc1.bundle.js.map +1 -0
  116. package/dist/99448.314018d0afb1af150ddf.bundle.js +2 -0
  117. package/dist/99448.314018d0afb1af150ddf.bundle.js.map +1 -0
  118. package/dist/api/error/error-base.d.ts +1 -1
  119. package/dist/api/ontotext-workbench-api.js +1 -1
  120. package/dist/api/ontotext-workbench-api.js.map +1 -1
  121. package/dist/i18n/locale-en.json +31 -0
  122. package/dist/i18n/locale-fr.json +31 -0
  123. package/dist/index.html +8 -8
  124. package/dist/js/angular/clustermanagement/templates/cluster-nodes-configuration.html +1 -1
  125. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  126. package/dist/js/angular/core/directives/dynamic-form/templates/dynamic-form.html +1 -1
  127. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  128. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  129. package/dist/js/angular/core/directives/shuttle-multiselect/templates/shuttle-multiselect.html +1 -1
  130. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
  131. package/dist/js/angular/core/templates/cookie-policy/cookie-consent.html +1 -1
  132. package/dist/js/angular/core/templates/cookie-policy/cookie-policy.html +1 -1
  133. package/dist/js/angular/core/templates/editable-content/editable-content.html +1 -1
  134. package/dist/js/angular/core/templates/markdown-content/markdown-content.html +1 -1
  135. package/dist/js/angular/core/templates/search-resource-input.html +1 -1
  136. package/dist/js/angular/graphql/templates/create-graphql-endpoint.html +4 -3
  137. package/dist/js/angular/graphql/templates/graphql-endpoint-management.html +1 -1
  138. package/dist/js/angular/graphql/templates/graphql-playground.html +1 -1
  139. package/dist/js/angular/graphql/templates/modal/endpoint-configuration-modal.html +1 -1
  140. package/dist/js/angular/graphql/templates/modal/endpoint-generation-failure-result-modal.html +1 -1
  141. package/dist/js/angular/graphql/templates/modal/import-endpoint-definition-modal.html +1 -1
  142. package/dist/js/angular/security/templates/user.html +2 -2
  143. package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
  144. package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
  145. package/dist/js/angular/ttyg/templates/chat-item-detail.html +1 -1
  146. package/dist/js/angular/ttyg/templates/chat-list.html +1 -1
  147. package/dist/js/angular/ttyg/templates/chat-panel.html +1 -1
  148. package/dist/js/angular/ttyg/templates/modal/agent-instructions-explain-modal.html +1 -1
  149. package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +2 -2
  150. package/dist/js/angular/ttyg/templates/modal/external-integration-configuration-modal.html +1 -1
  151. package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
  152. package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
  153. package/dist/legacyWorkbench.57fc12c172f6350ac4c5.js +3 -0
  154. package/dist/{legacyWorkbench.ad1d42d21ac42beabeb4.js.map → legacyWorkbench.57fc12c172f6350ac4c5.js.map} +1 -1
  155. package/dist/{main.400f2248f076a2d31d80.js → main.b9a83da68ffc43c91de0.js} +3 -3
  156. package/dist/{main.400f2248f076a2d31d80.js.map → main.b9a83da68ffc43c91de0.js.map} +1 -1
  157. package/dist/pages/aclmanagement.html +2 -2
  158. package/dist/pages/autocomplete.html +1 -1
  159. package/dist/pages/choose-repository-type.html +1 -1
  160. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  161. package/dist/pages/create-index.html +1 -1
  162. package/dist/pages/dependencies.html +1 -1
  163. package/dist/pages/domainRangeInfo.html +2 -2
  164. package/dist/pages/edit.html +1 -1
  165. package/dist/pages/explore.html +1 -1
  166. package/dist/pages/export.html +1 -1
  167. package/dist/pages/find.html +1 -1
  168. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  169. package/dist/pages/graphs-visualizations.html +7 -7
  170. package/dist/pages/guides.html +1 -1
  171. package/dist/pages/import.html +2 -2
  172. package/dist/pages/jdbc-create.html +1 -1
  173. package/dist/pages/login.html +1 -1
  174. package/dist/pages/monitor/backup-and-restore.html +1 -1
  175. package/dist/pages/monitor/queries.html +1 -1
  176. package/dist/pages/monitor/resources.html +1 -1
  177. package/dist/pages/namespaces.html +2 -2
  178. package/dist/pages/plugins.html +1 -1
  179. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  180. package/dist/pages/rdfrank.html +2 -2
  181. package/dist/pages/repositories.html +1 -1
  182. package/dist/pages/repository.html +1 -1
  183. package/dist/pages/similarity-indexes.html +1 -1
  184. package/dist/pages/sparql-editor.html +1 -1
  185. package/dist/pages/sparql-template-create.html +1 -1
  186. package/dist/pages/ux-test1.html +2 -2
  187. package/dist/pages/webapi.html +2 -2
  188. package/dist/plugins.js +1 -1
  189. package/dist/res/swagger5/css/onto-theme.css +1 -1
  190. package/dist/res/swagger5/index.html +11 -11
  191. package/dist/shared-components/cjs/onto-cookie-consent_2.cjs.entry.js +1 -1
  192. package/dist/shared-components/cjs/onto-dialog_2.cjs.entry.js +1 -1
  193. package/dist/shared-components/cjs/onto-dropdown.cjs.entry.js +1 -1
  194. package/dist/shared-components/cjs/onto-footer_6.cjs.entry.js +1 -1
  195. package/dist/shared-components/cjs/onto-language-selector_9.cjs.entry.js +1 -1
  196. package/dist/shared-components/cjs/onto-layout.cjs.entry.js +1 -1
  197. package/dist/shared-components/cjs/translate-label.cjs.entry.js +1 -1
  198. package/dist/shared-components/collection/components/dialogs/onto-cookie-policy-dialog/onto-cookie-policy-dialog.js +1 -1
  199. package/dist/shared-components/collection/components/dialogs/onto-dialog.js +1 -1
  200. package/dist/shared-components/collection/components/onto-cookie-consent/onto-cookie-consent.js +1 -1
  201. package/dist/shared-components/collection/components/onto-dropdown/onto-dropdown.js +1 -1
  202. package/dist/shared-components/collection/components/onto-footer/onto-footer.js +1 -1
  203. package/dist/shared-components/collection/components/onto-header/onto-header.js +1 -1
  204. package/dist/shared-components/collection/components/onto-language-selector/onto-language-selector.js +1 -1
  205. package/dist/shared-components/collection/components/onto-layout/onto-layout.js +1 -1
  206. package/dist/shared-components/collection/components/onto-navbar/navbar-model.js +1 -1
  207. package/dist/shared-components/collection/components/onto-navbar/navbar-service.js +1 -1
  208. package/dist/shared-components/collection/components/onto-operations-notification/onto-operations-notification.js +1 -1
  209. package/dist/shared-components/collection/components/onto-rdf-search/onto-rdf-search.js +1 -1
  210. package/dist/shared-components/collection/components/onto-repository-selector/onto-repository-selector.js +1 -1
  211. package/dist/shared-components/collection/components/onto-search-icon/onto-search-icon.js +1 -1
  212. package/dist/shared-components/collection/components/onto-search-resource-input/onto-search-resource-input.js +1 -1
  213. package/dist/shared-components/collection/components/onto-toastr/onto-toastr.js +1 -1
  214. package/dist/shared-components/collection/components/onto-toggle-switch/onto-toggle-switch.js +1 -1
  215. package/dist/shared-components/collection/components/onto-tooltip/onto-tooltip.js +1 -1
  216. package/dist/shared-components/collection/components/translate-label/translate-label.js +1 -1
  217. package/dist/shared-components/esm/onto-cookie-consent_2.entry.js +1 -1
  218. package/dist/shared-components/esm/onto-dialog_2.entry.js +1 -1
  219. package/dist/shared-components/esm/onto-dropdown.entry.js +1 -1
  220. package/dist/shared-components/esm/onto-footer_6.entry.js +1 -1
  221. package/dist/shared-components/esm/onto-language-selector_9.entry.js +1 -1
  222. package/dist/shared-components/esm/onto-layout.entry.js +1 -1
  223. package/dist/shared-components/esm/translate-label.entry.js +1 -1
  224. package/dist/shared-components/shared-components/p-17bac1e3.entry.js +1 -0
  225. package/dist/shared-components/shared-components/p-1bc2ac8e.entry.js +1 -0
  226. package/dist/shared-components/shared-components/p-2433b25f.entry.js +1 -0
  227. package/dist/shared-components/shared-components/p-25fa0ee5.entry.js +1 -0
  228. package/dist/shared-components/shared-components/{p-a4e82a3f.entry.js → p-6266be98.entry.js} +1 -1
  229. package/dist/shared-components/shared-components/{p-eed8b067.entry.js → p-91ad7f7f.entry.js} +1 -1
  230. package/dist/shared-components/shared-components/p-aef0b970.entry.js +1 -0
  231. package/dist/shared-components/shared-components/shared-components.esm.js +1 -1
  232. package/dist/shared-components/types/components/onto-dropdown/onto-dropdown.d.ts +2 -2
  233. package/dist/shared-components/types/components/onto-navbar/navbar-model.d.ts +4 -1
  234. package/dist/shared-components/types/components/onto-navbar/navbar-toggled-event.d.ts +1 -1
  235. package/dist/shared-components/types/components/onto-navbar/onto-navbar.d.ts +2 -2
  236. package/dist/shared-components/types/components/onto-test-context/onto-test-context.d.ts +23 -23
  237. package/dist/shared-components/types/components/onto-tooltip/models/onto-tooltip-configuration.d.ts +1 -2
  238. package/dist/shared-components/types/components.d.ts +4 -4
  239. package/dist/shared-components/types/models/component-event.d.ts +1 -1
  240. package/dist/shared-components/types/utils/function-utils.d.ts +1 -1
  241. package/dist/shared-components/types/utils/tooltip-util.d.ts +2 -2
  242. package/dist/workbench/workbench/workbenchApp.js +1 -1
  243. package/package.json +8 -2
  244. package/dist/10142.6a276ff32f58aa4d1b72.bundle.js +0 -2
  245. package/dist/10142.6a276ff32f58aa4d1b72.bundle.js.map +0 -1
  246. package/dist/10153.1532fddd43604bf408c3.bundle.js +0 -2
  247. package/dist/10153.1532fddd43604bf408c3.bundle.js.map +0 -1
  248. package/dist/10406.7fed4b667b0d2813b305.bundle.js +0 -2
  249. package/dist/12358.736ea9c178c92655de3a.bundle.js +0 -3
  250. package/dist/12358.736ea9c178c92655de3a.bundle.js.map +0 -1
  251. package/dist/12396.47201b3f37dcfe963353.bundle.js +0 -2
  252. package/dist/12396.47201b3f37dcfe963353.bundle.js.map +0 -1
  253. package/dist/14874.17bc671b6ff6123b9eb1.bundle.js +0 -2
  254. package/dist/14874.17bc671b6ff6123b9eb1.bundle.js.map +0 -1
  255. package/dist/15535.e3d3f8071a4cc462b5eb.bundle.js +0 -2
  256. package/dist/15535.e3d3f8071a4cc462b5eb.bundle.js.map +0 -1
  257. package/dist/16162.bc70365c3f546e70a3e9.bundle.js +0 -2
  258. package/dist/16162.bc70365c3f546e70a3e9.bundle.js.map +0 -1
  259. package/dist/20287.c3d0095a3a5f18cd0087.bundle.js +0 -2
  260. package/dist/20287.c3d0095a3a5f18cd0087.bundle.js.map +0 -1
  261. package/dist/21136.fb6d69cd9e6dd31a65b2.bundle.js +0 -2
  262. package/dist/21136.fb6d69cd9e6dd31a65b2.bundle.js.map +0 -1
  263. package/dist/21142.0589f58f1a3b49b4fcfa.bundle.js +0 -2
  264. package/dist/21142.0589f58f1a3b49b4fcfa.bundle.js.map +0 -1
  265. package/dist/21170.8126948c956555b4f9ff.bundle.js +0 -2
  266. package/dist/21170.8126948c956555b4f9ff.bundle.js.map +0 -1
  267. package/dist/21195.77df14ed68c1f286839a.bundle.js +0 -2
  268. package/dist/21195.77df14ed68c1f286839a.bundle.js.map +0 -1
  269. package/dist/25747.612b1bce6250300d137f.bundle.js +0 -2
  270. package/dist/25747.612b1bce6250300d137f.bundle.js.map +0 -1
  271. package/dist/27580.88bc1444d863327a3697.bundle.js +0 -2
  272. package/dist/27580.88bc1444d863327a3697.bundle.js.map +0 -1
  273. package/dist/28050.1359d262b2e2c497ad6d.bundle.js +0 -2
  274. package/dist/28050.1359d262b2e2c497ad6d.bundle.js.map +0 -1
  275. package/dist/31636.625df78d380dadd69c07.bundle.js +0 -2
  276. package/dist/31636.625df78d380dadd69c07.bundle.js.map +0 -1
  277. package/dist/32489.5f438460389d65300913.bundle.js +0 -2
  278. package/dist/32489.5f438460389d65300913.bundle.js.map +0 -1
  279. package/dist/32534.73081e468e918a03bd70.bundle.js +0 -2
  280. package/dist/32534.73081e468e918a03bd70.bundle.js.map +0 -1
  281. package/dist/32606.376e14770ba6e81b7159.bundle.js +0 -2
  282. package/dist/32606.376e14770ba6e81b7159.bundle.js.map +0 -1
  283. package/dist/34495.e0f8e26f32d7d8def627.bundle.js +0 -2
  284. package/dist/34495.e0f8e26f32d7d8def627.bundle.js.map +0 -1
  285. package/dist/38360.437a12fa59878d1d43b9.bundle.js.map +0 -1
  286. package/dist/38412.85b4c12f5ed5ffb6e4dd.bundle.js +0 -2
  287. package/dist/38412.85b4c12f5ed5ffb6e4dd.bundle.js.map +0 -1
  288. package/dist/38644.6e82d4276df028701834.bundle.js +0 -2
  289. package/dist/38644.6e82d4276df028701834.bundle.js.map +0 -1
  290. package/dist/38843.428e7caf2e6805840b83.bundle.js +0 -2
  291. package/dist/38843.428e7caf2e6805840b83.bundle.js.map +0 -1
  292. package/dist/39518.0ee809a85c83dba1f56a.bundle.js +0 -2
  293. package/dist/39539.2a03bf4161ee846817d3.bundle.js +0 -2
  294. package/dist/39539.2a03bf4161ee846817d3.bundle.js.map +0 -1
  295. package/dist/39874.c2d7cab1a65e5a869e78.bundle.js.map +0 -1
  296. package/dist/41453.5370acf9540ff5382268.bundle.js +0 -2
  297. package/dist/41453.5370acf9540ff5382268.bundle.js.map +0 -1
  298. package/dist/42129.02f0b477c276dceb732c.bundle.js +0 -2
  299. package/dist/42129.02f0b477c276dceb732c.bundle.js.map +0 -1
  300. package/dist/44444.57b74adca89db793b77c.bundle.js +0 -2
  301. package/dist/44444.57b74adca89db793b77c.bundle.js.map +0 -1
  302. package/dist/44874.60bab9adf89019b35654.bundle.js +0 -2
  303. package/dist/44874.60bab9adf89019b35654.bundle.js.map +0 -1
  304. package/dist/45758.4e363b98020c3460b4ff.bundle.js +0 -2
  305. package/dist/45758.4e363b98020c3460b4ff.bundle.js.map +0 -1
  306. package/dist/46591.ac9d19fd699104a9ed9b.bundle.js.map +0 -1
  307. package/dist/55862.81467f263f3c46d9d889.bundle.js +0 -2
  308. package/dist/55862.81467f263f3c46d9d889.bundle.js.map +0 -1
  309. package/dist/58163.747b20ea052b22b24bd0.bundle.js +0 -2
  310. package/dist/58163.747b20ea052b22b24bd0.bundle.js.map +0 -1
  311. package/dist/58306.0ca44cc562ab1135c44b.bundle.js +0 -2
  312. package/dist/58306.0ca44cc562ab1135c44b.bundle.js.map +0 -1
  313. package/dist/67888.cc78716f885f98366859.bundle.js +0 -2
  314. package/dist/67888.cc78716f885f98366859.bundle.js.map +0 -1
  315. package/dist/72379.4023fb8f5c0dd8f32faa.bundle.js +0 -2
  316. package/dist/72379.4023fb8f5c0dd8f32faa.bundle.js.map +0 -1
  317. package/dist/73667.6925315f2649c49bade2.bundle.js +0 -2
  318. package/dist/73667.6925315f2649c49bade2.bundle.js.map +0 -1
  319. package/dist/73779.c4608b73b63083cb3352.bundle.js +0 -2
  320. package/dist/73779.c4608b73b63083cb3352.bundle.js.map +0 -1
  321. package/dist/73793.0cd99844e3792d5beb8c.bundle.js +0 -2
  322. package/dist/73793.0cd99844e3792d5beb8c.bundle.js.map +0 -1
  323. package/dist/75282.1005c493f43b9d6dcc5a.bundle.js +0 -2
  324. package/dist/75282.1005c493f43b9d6dcc5a.bundle.js.map +0 -1
  325. package/dist/75849.39b30ee4eb2f1b35f762.bundle.js +0 -2
  326. package/dist/75849.39b30ee4eb2f1b35f762.bundle.js.map +0 -1
  327. package/dist/78250.8462f5662da1fd9ece0b.bundle.js +0 -2
  328. package/dist/78250.8462f5662da1fd9ece0b.bundle.js.map +0 -1
  329. package/dist/79329.cd81f51fd3aed8ca8359.bundle.js +0 -2
  330. package/dist/79329.cd81f51fd3aed8ca8359.bundle.js.map +0 -1
  331. package/dist/82206.b3b37c3e0cc1aa18148c.bundle.js +0 -2
  332. package/dist/82206.b3b37c3e0cc1aa18148c.bundle.js.map +0 -1
  333. package/dist/85281.049ddec87de0b8b07e79.bundle.js +0 -2
  334. package/dist/85281.049ddec87de0b8b07e79.bundle.js.map +0 -1
  335. package/dist/88206.fbbcf8ccd9460c579e87.bundle.js.map +0 -1
  336. package/dist/9062.2b577ad9fc05b48b64a3.bundle.js +0 -2
  337. package/dist/9062.2b577ad9fc05b48b64a3.bundle.js.map +0 -1
  338. package/dist/99379.d5dffb14dd46150e91f9.bundle.js +0 -2
  339. package/dist/99379.d5dffb14dd46150e91f9.bundle.js.map +0 -1
  340. package/dist/99448.98a68cbf8bf84857b615.bundle.js +0 -2
  341. package/dist/99448.98a68cbf8bf84857b615.bundle.js.map +0 -1
  342. package/dist/legacyWorkbench.ad1d42d21ac42beabeb4.js +0 -3
  343. package/dist/shared-components/shared-components/p-106d7df8.entry.js +0 -1
  344. package/dist/shared-components/shared-components/p-17ce51bb.entry.js +0 -1
  345. package/dist/shared-components/shared-components/p-306527cc.entry.js +0 -1
  346. package/dist/shared-components/shared-components/p-96e87635.entry.js +0 -1
  347. package/dist/shared-components/shared-components/p-af359495.entry.js +0 -1
  348. /package/dist/{12358.736ea9c178c92655de3a.bundle.js.LICENSE.txt → 12358.2061f29dc113149946a3.bundle.js.LICENSE.txt} +0 -0
  349. /package/dist/{legacyWorkbench.ad1d42d21ac42beabeb4.js.LICENSE.txt → legacyWorkbench.57fc12c172f6350ac4c5.js.LICENSE.txt} +0 -0
  350. /package/dist/{main.400f2248f076a2d31d80.js.LICENSE.txt → main.b9a83da68ffc43c91de0.js.LICENSE.txt} +0 -0
  351. /package/dist/shared-components/cjs/{tooltip-util-CmDLnWqH.js → tooltip-util-CnEXLMnw.js} +0 -0
  352. /package/dist/shared-components/esm/{tooltip-util-C1So-qrf.js → tooltip-util-BqOc8q8q.js} +0 -0
  353. /package/dist/shared-components/shared-components/{p-Bisudk7O.js → p-DzOPDgzQ.js} +0 -0
@@ -1 +1 @@
1
- import*as Ua from"@ontotext/workbench-api";var LB={56:(t,e,n)=>{t.exports=function(t){var e=n.nc;e&&t.setAttribute("nonce",e)}},72:t=>{var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var o={},i=[],a=0;a<t.length;a++){var c=t[a],u=r.base?c[0]+r.base:c[0],l=o[u]||0,h="".concat(u," ").concat(l);o[u]=l+1;var f=n(h),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var p=s(d,r);r.byIndex=a,e.splice(a,0,{identifier:h,updater:p,references:1})}i.push(h)}return i}function s(t,e){var n=e.domAPI(e);return n.update(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,s){var o=r(t=t||[],s=s||{});return function(t){t=t||[];for(var i=0;i<o.length;i++){var a=n(o[i]);e[a].references--}for(var c=r(t,s),u=0;u<o.length;u++){var l=n(o[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}o=c}}},113:t=>{t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},148:(t,e,n)=>{n.d(e,{A:()=>a});var r=n(564),s=n.n(r),o=n(557),i=n.n(o)()(s());i.push([t.id,"/* You can add global styles to this file, and also import other style files */",""]);const a=i},540:t=>{t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},557:t=>{t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",r=typeof e[5]<"u";return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,r,s,o){"string"==typeof t&&(t=[[null,t,void 0]]);var i={};if(r)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(i[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);r&&i[l[0]]||(typeof o<"u"&&(typeof l[5]>"u"||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),n&&(l[2]&&(l[1]="@media ".concat(l[2]," {").concat(l[1],"}")),l[2]=n),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},564:t=>{t.exports=function(t){return t[1]}},659:t=>{var e={};t.exports=function(t,n){var r=function(t){if(typeof e[t]>"u"){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch{n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},825:t=>{t.exports=function(t){if(typeof document>"u")return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(n){!function(t,e,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var s=typeof n.layer<"u";s&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,s&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&typeof btoa<"u"&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleTagTransform(r,t,e.options)}(e,t,n)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},935:()=>{const t=globalThis;function e(e){return(t.__Zone_symbol_prefix||"__zone_symbol__")+e}const n=Object.getOwnPropertyDescriptor,r=Object.defineProperty,s=Object.getPrototypeOf,o=Object.create,i=Array.prototype.slice,a="addEventListener",c="removeEventListener",u=e(a),l=e(c),h="true",f="false",d=e("");function p(t,e){return Zone.current.wrap(t,e)}function g(t,e,n,r,s){return Zone.current.scheduleMacroTask(t,e,n,r,s)}const m=e,v=typeof window<"u",y=v?window:void 0,b=v&&y||globalThis;function w(t,e){for(let n=t.length-1;n>=0;n--)"function"==typeof t[n]&&(t[n]=p(t[n],e+"_"+n));return t}function _(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}const S=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,k=!("nw"in b)&&typeof b.process<"u"&&"[object process]"===b.process.toString(),C=!k&&!S&&!(!v||!y.HTMLElement),T=typeof b.process<"u"&&"[object process]"===b.process.toString()&&!S&&!(!v||!y.HTMLElement),E={},x=m("enable_beforeunload"),I=function(t){if(!(t=t||b.event))return;let e=E[t.type];e||(e=E[t.type]=m("ON_PROPERTY"+t.type));const n=this||t.target||b,r=n[e];let s;return C&&n===y&&"error"===t.type?(s=r&&r.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===s&&t.preventDefault()):(s=r&&r.apply(this,arguments),"beforeunload"===t.type&&b[x]&&"string"==typeof s?t.returnValue=s:null!=s&&!s&&t.preventDefault()),s};function R(t,e,s){let o=n(t,e);if(!o&&s&&n(s,e)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const i=m("on"+e+"patched");if(t.hasOwnProperty(i)&&t[i])return;delete o.writable,delete o.value;const a=o.get,c=o.set,u=e.slice(2);let l=E[u];l||(l=E[u]=m("ON_PROPERTY"+u)),o.set=function(e){let n=this;!n&&t===b&&(n=b),n&&("function"==typeof n[l]&&n.removeEventListener(u,I),c?.call(n,null),n[l]=e,"function"==typeof e&&n.addEventListener(u,I,!1))},o.get=function(){let n=this;if(!n&&t===b&&(n=b),!n)return null;const r=n[l];if(r)return r;if(a){let t=a.call(this);if(t)return o.set.call(this,t),"function"==typeof n.removeAttribute&&n.removeAttribute(e),t}return null},r(t,e,o),t[i]=!0}function A(t,e,n){if(e)for(let r=0;r<e.length;r++)R(t,"on"+e[r],n);else{const e=[];for(const n in t)"on"==n.slice(0,2)&&e.push(n);for(let r=0;r<e.length;r++)R(t,e[r],n)}}const O=m("originalInstance");function P(t){const e=b[t];if(!e)return;b[m(t)]=e,b[t]=function(){const n=w(arguments,t);switch(n.length){case 0:this[O]=new e;break;case 1:this[O]=new e(n[0]);break;case 2:this[O]=new e(n[0],n[1]);break;case 3:this[O]=new e(n[0],n[1],n[2]);break;case 4:this[O]=new e(n[0],n[1],n[2],n[3]);break;default:throw new Error("Arg list too long.")}},N(b[t],e);const n=new e(function(){});let s;for(s in n)"XMLHttpRequest"===t&&"responseBlob"===s||function(e){"function"==typeof n[e]?b[t].prototype[e]=function(){return this[O][e].apply(this[O],arguments)}:r(b[t].prototype,e,{set:function(n){"function"==typeof n?(this[O][e]=p(n,t+"."+e),N(this[O][e],n)):this[O][e]=n},get:function(){return this[O][e]}})}(s);for(s in e)"prototype"!==s&&e.hasOwnProperty(s)&&(b[t][s]=e[s])}function j(t,e,r){let o=t;for(;o&&!o.hasOwnProperty(e);)o=s(o);!o&&t[e]&&(o=t);const i=m(e);let a=null;if(o&&(!(a=o[i])||!o.hasOwnProperty(i))&&(a=o[i]=o[e],_(o&&n(o,e)))){const t=r(a,i,e);o[e]=function(){return t(this,arguments)},N(o[e],a)}return a}function L(t,e,n){let r=null;function s(t){const e=t.data;return e.args[e.cbIdx]=function(){t.invoke.apply(this,arguments)},r.apply(e.target,e.args),t}r=j(t,e,t=>function(e,r){const o=n(e,r);return o.cbIdx>=0&&"function"==typeof r[o.cbIdx]?g(o.name,r[o.cbIdx],o,s):t.apply(e,r)})}function N(t,e){t[m("OriginalDelegate")]=e}let D=!1,M=!1;function z(){if(D)return M;D=!0;try{const t=y.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(M=!0)}catch{}return M}function U(t){return"function"==typeof t}function F(t){return"number"==typeof t}const V={useG:!0},H={},Z={},$=new RegExp("^"+d+"(\\w+)(true|false)$"),q=m("propagationStopped");function B(t,e){const n=(e?e(t):t)+f,r=(e?e(t):t)+h,s=d+n,o=d+r;H[t]={},H[t][f]=s,H[t][h]=o}function G(t,e,n,r){const o=r&&r.add||a,i=r&&r.rm||c,u=r&&r.listeners||"eventListeners",l=r&&r.rmAll||"removeAllListeners",p=m(o),g="."+o+":",v="prependListener",y="."+v+":",b=function(t,e,n){if(t.isRemoved)return;const r=t.callback;let s;"object"==typeof r&&r.handleEvent&&(t.callback=t=>r.handleEvent(t),t.originalDelegate=r);try{t.invoke(t,e,[n])}catch(t){s=t}const o=t.options;return o&&"object"==typeof o&&o.once&&e[i].call(e,n.type,t.originalDelegate?t.originalDelegate:t.callback,o),s};function w(n,r,s){if(!(r=r||t.event))return;const o=n||r.target||t,i=o[H[r.type][s?h:f]];if(i){const t=[];if(1===i.length){const e=b(i[0],o,r);e&&t.push(e)}else{const e=i.slice();for(let n=0;n<e.length&&(!r||!0!==r[q]);n++){const s=b(e[n],o,r);s&&t.push(s)}}if(1===t.length)throw t[0];for(let n=0;n<t.length;n++){const r=t[n];e.nativeScheduleMicroTask(()=>{throw r})}}}const _=function(t){return w(this,t,!1)},S=function(t){return w(this,t,!0)};function C(e,n){if(!e)return!1;let r=!0;n&&void 0!==n.useG&&(r=n.useG);const a=n&&n.vh;let c=!0;n&&void 0!==n.chkDup&&(c=n.chkDup);let b=!1;n&&void 0!==n.rt&&(b=n.rt);let w=e;for(;w&&!w.hasOwnProperty(o);)w=s(w);if(!w&&e[o]&&(w=e),!w||w[p])return!1;const C=n&&n.eventNameToString,T={},E=w[p]=w[o],x=w[m(i)]=w[i],I=w[m(u)]=w[u],R=w[m(l)]=w[l];let A;n&&n.prepend&&(A=w[m(n.prepend)]=w[n.prepend]);const O=r?function(t){if(!T.isExisting)return E.call(T.target,T.eventName,T.capture?S:_,T.options)}:function(t){return E.call(T.target,T.eventName,t.invoke,T.options)},P=r?function(t){if(!t.isRemoved){const e=H[t.eventName];let n;e&&(n=e[t.capture?h:f]);const r=n&&t.target[n];if(r)for(let e=0;e<r.length;e++)if(r[e]===t){r.splice(e,1),t.isRemoved=!0,t.removeAbortListener&&(t.removeAbortListener(),t.removeAbortListener=null),0===r.length&&(t.allRemoved=!0,t.target[n]=null);break}}if(t.allRemoved)return x.call(t.target,t.eventName,t.capture?S:_,t.options)}:function(t){return x.call(t.target,t.eventName,t.invoke,t.options)},j=n?.diff||function(t,e){const n=typeof e;return"function"===n&&t.callback===e||"object"===n&&t.originalDelegate===e},L=Zone[m("UNPATCHED_EVENTS")],D=t[m("PASSIVE_EVENTS")],M=function(e,s,o,i,u=!1,l=!1){return function(){const d=this||t;let p=arguments[0];n&&n.transferEventName&&(p=n.transferEventName(p));let g=arguments[1];if(!g)return e.apply(this,arguments);if(k&&"uncaughtException"===p)return e.apply(this,arguments);let m=!1;if("function"!=typeof g){if(!g.handleEvent)return e.apply(this,arguments);m=!0}if(a&&!a(e,g,d,arguments))return;const v=!!D&&-1!==D.indexOf(p),y=function(t){if("object"==typeof t&&null!==t){const e={...t};return t.signal&&(e.signal=t.signal),e}return t}(function(t,e){return e?"boolean"==typeof t?{capture:t,passive:!0}:t?"object"==typeof t&&!1!==t.passive?{...t,passive:!0}:t:{passive:!0}:t}(arguments[2],v)),b=y?.signal;if(b?.aborted)return;if(L)for(let t=0;t<L.length;t++)if(p===L[t])return v?e.call(d,p,g,y):e.apply(this,arguments);const w=!!y&&("boolean"==typeof y||y.capture),_=!(!y||"object"!=typeof y)&&y.once,S=Zone.current;let E=H[p];E||(B(p,C),E=H[p]);const x=E[w?h:f];let I,R=d[x],A=!1;if(R){if(A=!0,c)for(let t=0;t<R.length;t++)if(j(R[t],g))return}else R=d[x]=[];const O=d.constructor.name,P=Z[O];P&&(I=P[p]),I||(I=O+s+(C?C(p):p)),T.options=y,_&&(T.options.once=!1),T.target=d,T.capture=w,T.eventName=p,T.isExisting=A;const N=r?V:void 0;N&&(N.taskData=T),b&&(T.options.signal=void 0);const M=S.scheduleEventTask(I,g,N,o,i);if(b){T.options.signal=b;const t=()=>M.zone.cancelTask(M);e.call(b,"abort",t,{once:!0}),M.removeAbortListener=()=>b.removeEventListener("abort",t)}return T.target=null,N&&(N.taskData=null),_&&(T.options.once=!0),"boolean"!=typeof M.options&&(M.options=y),M.target=d,M.capture=w,M.eventName=p,m&&(M.originalDelegate=g),l?R.unshift(M):R.push(M),u?d:void 0}};return w[o]=M(E,g,O,P,b),A&&(w[v]=M(A,y,function(t){return A.call(T.target,T.eventName,t.invoke,T.options)},P,b,!0)),w[i]=function(){const e=this||t;let r=arguments[0];n&&n.transferEventName&&(r=n.transferEventName(r));const s=arguments[2],o=!!s&&("boolean"==typeof s||s.capture),i=arguments[1];if(!i)return x.apply(this,arguments);if(a&&!a(x,i,e,arguments))return;const c=H[r];let u;c&&(u=c[o?h:f]);const l=u&&e[u];if(l)for(let t=0;t<l.length;t++){const n=l[t];if(j(n,i))return l.splice(t,1),n.isRemoved=!0,0!==l.length||(n.allRemoved=!0,e[u]=null,o||"string"!=typeof r)||(e[d+"ON_PROPERTY"+r]=null),n.zone.cancelTask(n),b?e:void 0}return x.apply(this,arguments)},w[u]=function(){const e=this||t;let r=arguments[0];n&&n.transferEventName&&(r=n.transferEventName(r));const s=[],o=W(e,C?C(r):r);for(let t=0;t<o.length;t++){const e=o[t];s.push(e.originalDelegate?e.originalDelegate:e.callback)}return s},w[l]=function(){const e=this||t;let r=arguments[0];if(r){n&&n.transferEventName&&(r=n.transferEventName(r));const t=H[r];if(t){const n=e[t[f]],s=e[t[h]];if(n){const t=n.slice();for(let e=0;e<t.length;e++){const n=t[e];this[i].call(this,r,n.originalDelegate?n.originalDelegate:n.callback,n.options)}}if(s){const t=s.slice();for(let e=0;e<t.length;e++){const n=t[e];this[i].call(this,r,n.originalDelegate?n.originalDelegate:n.callback,n.options)}}}}else{const t=Object.keys(e);for(let e=0;e<t.length;e++){const n=$.exec(t[e]);let r=n&&n[1];r&&"removeListener"!==r&&this[l].call(this,r)}this[l].call(this,"removeListener")}if(b)return this},N(w[o],E),N(w[i],x),R&&N(w[l],R),I&&N(w[u],I),!0}let T=[];for(let t=0;t<n.length;t++)T[t]=C(n[t],r);return T}function W(t,e){if(!e){const n=[];for(let r in t){const s=$.exec(r);let o=s&&s[1];if(o&&(!e||o===e)){const e=t[r];if(e)for(let t=0;t<e.length;t++)n.push(e[t])}}return n}let n=H[e];n||(B(e),n=H[e]);const r=t[n[f]],s=t[n[h]];return r?s?r.concat(s):r.slice():s?s.slice():[]}function Q(t,e){const n=t.Event;n&&n.prototype&&e.patchMethod(n.prototype,"stopImmediatePropagation",t=>function(e,n){e[q]=!0,t&&t.apply(e,n)})}const K=m("zoneTask");function X(t,e,n,r){let s=null,o=null;n+=r;const i={};function a(e){const n=e.data;n.args[0]=function(){return e.invoke.apply(this,arguments)};const r=s.apply(t,n.args);return F(r)?n.handleId=r:(n.handle=r,n.isRefreshable=U(r.refresh)),e}function c(e){const{handle:n,handleId:r}=e.data;return o.call(t,n??r)}s=j(t,e+=r,n=>function(s,o){if(U(o[0])){const t={isRefreshable:!1,isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?o[1]||0:void 0,args:o},n=o[0];o[0]=function(){try{return n.apply(this,arguments)}finally{const{handle:e,handleId:n,isPeriodic:r,isRefreshable:s}=t;!r&&!s&&(n?delete i[n]:e&&(e[K]=null))}};const s=g(e,o[0],t,a,c);if(!s)return s;const{handleId:u,handle:l,isRefreshable:h,isPeriodic:f}=s.data;if(u)i[u]=s;else if(l&&(l[K]=s,h&&!f)){const t=l.refresh;l.refresh=function(){const{zone:e,state:n}=s;return"notScheduled"===n?(s._state="scheduled",e._updateTaskCount(s,1)):"running"===n&&(s._state="scheduling"),t.call(this)}}return l??u??s}return n.apply(t,o)}),o=j(t,n,e=>function(n,r){const s=r[0];let o;F(s)?(o=i[s],delete i[s]):(o=s?.[K],o?s[K]=null:o=s),o?.type?o.cancelFn&&o.zone.cancelTask(o):e.apply(t,r)})}function Y(t,e,n){if(!n||0===n.length)return e;const r=n.filter(e=>e.target===t);if(0===r.length)return e;const s=r[0].ignoreProperties;return e.filter(t=>-1===s.indexOf(t))}function J(t,e,n,r){t&&A(t,Y(t,e,n),r)}function tt(t){return Object.getOwnPropertyNames(t).filter(t=>t.startsWith("on")&&t.length>2).map(t=>t.substring(2))}function et(t,e,n,r,s){const o=Zone.__symbol__(r);if(e[o])return;const i=e[o]=e[r];e[r]=function(o,a,c){return a&&a.prototype&&s.forEach(function(e){const s=`${n}.${r}::`+e,o=a.prototype;try{if(o.hasOwnProperty(e)){const n=t.ObjectGetOwnPropertyDescriptor(o,e);n&&n.value?(n.value=t.wrapWithCurrentZone(n.value,s),t._redefineProperty(a.prototype,e,n)):o[e]&&(o[e]=t.wrapWithCurrentZone(o[e],s))}else o[e]&&(o[e]=t.wrapWithCurrentZone(o[e],s))}catch{}}),i.call(e,o,a,c)},t.attachOriginToPatched(e[r],i)}const nt=function(){const n=globalThis,r=!0===n[e("forceDuplicateZoneCheck")];if(n.Zone&&(r||"function"!=typeof n.Zone.__symbol__))throw new Error("Zone already loaded.");return n.Zone??=function(){const n=t.performance;function r(t){n&&n.mark&&n.mark(t)}function s(t,e){n&&n.measure&&n.measure(t,e)}r("Zone");let o=(()=>{class n{static __symbol__=e;static assertZonePatched(){if(t.Promise!==I.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=n.current;for(;t.parent;)t=t.parent;return t}static get current(){return A.zone}static get currentTask(){return O}static __load_patch(o,i,a=!1){if(I.hasOwnProperty(o)){const n=!0===t[e("forceDuplicateZoneCheck")];if(!a&&n)throw Error("Already loaded patch: "+o)}else if(!t["__Zone_disable_"+o]){const e="Zone:"+o;r(e),I[o]=i(t,n,R),s(e,e)}}get parent(){return this._parent}get name(){return this._name}_parent;_name;_properties;_zoneDelegate;constructor(t,e){this._parent=t,this._name=e?e.name||"unnamed":"<root>",this._properties=e&&e.properties||{},this._zoneDelegate=new a(this,this._parent&&this._parent._zoneDelegate,e)}get(t){const e=this.getZoneWith(t);if(e)return e._properties[t]}getZoneWith(t){let e=this;for(;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}}run(t,e,n,r){A={parent:A,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{A=A.parent}}runGuarded(t,e=null,n,r){A={parent:A,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{A=A.parent}}runTask(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||y).name+"; Execution: "+this.name+")");const r=t,{type:s,data:{isPeriodic:o=!1,isRefreshable:i=!1}={}}=t;if(t.state===b&&(s===x||s===E))return;const a=t.state!=S;a&&r._transitionTo(S,_);const c=O;O=r,A={parent:A,zone:this};try{s==E&&t.data&&!o&&!i&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,r,e,n)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{const e=t.state;if(e!==b&&e!==C)if(s==x||o||i&&e===w)a&&r._transitionTo(_,S,w);else{const t=r._zoneDelegates;this._updateTaskCount(r,-1),a&&r._transitionTo(b,S,b),i&&(r._zoneDelegates=t)}A=A.parent,O=c}}scheduleTask(t){if(t.zone&&t.zone!==this){let e=this;for(;e;){if(e===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);e=e.parent}}t._transitionTo(w,b);const e=[];t._zoneDelegates=e,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(e){throw t._transitionTo(C,w,b),this._zoneDelegate.handleError(this,e),e}return t._zoneDelegates===e&&this._updateTaskCount(t,1),t.state==w&&t._transitionTo(_,w),t}scheduleMicroTask(t,e,n,r){return this.scheduleTask(new c(T,t,e,n,r,void 0))}scheduleMacroTask(t,e,n,r,s){return this.scheduleTask(new c(E,t,e,n,r,s))}scheduleEventTask(t,e,n,r,s){return this.scheduleTask(new c(x,t,e,n,r,s))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||y).name+"; Execution: "+this.name+")");if(t.state===_||t.state===S){t._transitionTo(k,_,S);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(C,k),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(b,k),t.runCount=-1,t}}_updateTaskCount(t,e){const n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(let r=0;r<n.length;r++)n[r]._updateTaskCount(t.type,e)}}return n})();const i={name:"",onHasTask:(t,e,n,r)=>t.hasTask(n,r),onScheduleTask:(t,e,n,r)=>t.scheduleTask(n,r),onInvokeTask:(t,e,n,r,s,o)=>t.invokeTask(n,r,s,o),onCancelTask:(t,e,n,r)=>t.cancelTask(n,r)};class a{get zone(){return this._zone}_zone;_taskCounts={microTask:0,macroTask:0,eventTask:0};_parentDelegate;_forkDlgt;_forkZS;_forkCurrZone;_interceptDlgt;_interceptZS;_interceptCurrZone;_invokeDlgt;_invokeZS;_invokeCurrZone;_handleErrorDlgt;_handleErrorZS;_handleErrorCurrZone;_scheduleTaskDlgt;_scheduleTaskZS;_scheduleTaskCurrZone;_invokeTaskDlgt;_invokeTaskZS;_invokeTaskCurrZone;_cancelTaskDlgt;_cancelTaskZS;_cancelTaskCurrZone;_hasTaskDlgt;_hasTaskDlgtOwner;_hasTaskZS;_hasTaskCurrZone;constructor(t,e,n){this._zone=t,this._parentDelegate=e,this._forkZS=n&&(n&&n.onFork?n:e._forkZS),this._forkDlgt=n&&(n.onFork?e:e._forkDlgt),this._forkCurrZone=n&&(n.onFork?this._zone:e._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:e._interceptZS),this._interceptDlgt=n&&(n.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this._zone:e._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:e._invokeZS),this._invokeDlgt=n&&(n.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this._zone:e._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:e._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this._zone:e._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:e._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this._zone:e._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:e._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this._zone:e._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:e._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this._zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const r=n&&n.onHasTask;(r||e&&e._hasTaskZS)&&(this._hasTaskZS=r?n:i,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,n.onScheduleTask||(this._scheduleTaskZS=i,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this._zone),n.onInvokeTask||(this._invokeTaskZS=i,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this._zone),n.onCancelTask||(this._cancelTaskZS=i,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this._zone))}fork(t,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,e):new o(t,e)}intercept(t,e,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,e,n):e}invoke(t,e,n,r,s){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,e,n,r,s):e.apply(n,r)}handleError(t,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,e)}scheduleTask(t,e){let n=e;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,e),n||(n=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=T)throw new Error("Task is missing scheduleFn.");m(e)}return n}invokeTask(t,e,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,e,n,r):e.callback.apply(n,r)}cancelTask(t,e){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");n=e.cancelFn(e)}return n}hasTask(t,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,e)}catch(e){this.handleError(t,e)}}_updateTaskCount(t,e){const n=this._taskCounts,r=n[t],s=n[t]=r+e;if(s<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=s||this.hasTask(this._zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})}}class c{type;source;invoke;callback;data;scheduleFn;cancelFn;_zone=null;runCount=0;_zoneDelegates=null;_state="notScheduled";constructor(e,n,r,s,o,i){if(this.type=e,this.source=n,this.data=s,this.scheduleFn=o,this.cancelFn=i,!r)throw new Error("callback is not defined");this.callback=r;const a=this;this.invoke=e===x&&s&&s.useG?c.invokeTask:function(){return c.invokeTask.call(t,a,this,arguments)}}static invokeTask(t,e,n){t||(t=this),P++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==P&&v(),P--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(b,w)}_transitionTo(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${t}', expecting state '${e}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=t,t==b&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const u=e("setTimeout"),l=e("Promise"),h=e("then");let f,d=[],p=!1;function g(e){if(f||t[l]&&(f=t[l].resolve(0)),f){let t=f[h];t||(t=f.then),t.call(f,e)}else t[u](e,0)}function m(t){0===P&&0===d.length&&g(v),t&&d.push(t)}function v(){if(!p){for(p=!0;d.length;){const t=d;d=[];for(let e=0;e<t.length;e++){const n=t[e];try{n.zone.runTask(n,null,null)}catch(t){R.onUnhandledError(t)}}}R.microtaskDrainDone(),p=!1}}const y={name:"NO ZONE"},b="notScheduled",w="scheduling",_="scheduled",S="running",k="canceling",C="unknown",T="microTask",E="macroTask",x="eventTask",I={},R={symbol:e,currentZoneFrame:()=>A,onUnhandledError:j,microtaskDrainDone:j,scheduleMicroTask:m,showUncaughtError:()=>!o[e("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:j,patchMethod:()=>j,bindArguments:()=>[],patchThen:()=>j,patchMacroTask:()=>j,patchEventPrototype:()=>j,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>j,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>j,wrapWithCurrentZone:()=>j,filterProperties:()=>[],attachOriginToPatched:()=>j,_redefineProperty:()=>j,patchCallbacks:()=>j,nativeScheduleMicroTask:g};let A={parent:null,zone:new o(null,null)},O=null,P=0;function j(){}return s("Zone","Zone"),o}(),n.Zone}();var rt;(function(t){t.__load_patch("ZoneAwarePromise",(t,e,n)=>{const r=Object.getOwnPropertyDescriptor,s=Object.defineProperty,o=n.symbol,i=[],a=!1!==t[o("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],c=o("Promise"),u=o("then");n.onUnhandledError=t=>{if(n.showUncaughtError()){const e=t&&t.rejection;e?console.error("Unhandled Promise rejection:",e instanceof Error?e.message:e,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",e,e instanceof Error?e.stack:void 0):console.error(t)}},n.microtaskDrainDone=()=>{for(;i.length;){const t=i.shift();try{t.zone.runGuarded(()=>{throw t.throwOriginal?t.rejection:t})}catch(t){h(t)}}};const l=o("unhandledPromiseRejectionHandler");function h(t){n.onUnhandledError(t);try{const n=e[l];"function"==typeof n&&n.call(this,t)}catch{}}function f(t){return t&&"function"==typeof t.then}function d(t){return t}function p(t){return L.reject(t)}const g=o("state"),m=o("value"),v=o("finally"),y=o("parentPromiseValue"),b=o("parentPromiseState"),w=null,_=!0,S=!1;function k(t,e){return n=>{try{x(t,e,n)}catch(e){x(t,!1,e)}}}const C=function(){let t=!1;return function(e){return function(){t||(t=!0,e.apply(null,arguments))}}},T="Promise resolved with itself",E=o("currentTaskTrace");function x(t,r,o){const c=C();if(t===o)throw new TypeError(T);if(t[g]===w){let u=null;try{("object"==typeof o||"function"==typeof o)&&(u=o&&o.then)}catch(e){return c(()=>{x(t,!1,e)})(),t}if(r!==S&&o instanceof L&&o.hasOwnProperty(g)&&o.hasOwnProperty(m)&&o[g]!==w)R(o),x(t,o[g],o[m]);else if(r!==S&&"function"==typeof u)try{u.call(o,c(k(t,r)),c(k(t,!1)))}catch(e){c(()=>{x(t,!1,e)})()}else{t[g]=r;const c=t[m];if(t[m]=o,t[v]===v&&r===_&&(t[g]=t[b],t[m]=t[y]),r===S&&o instanceof Error){const t=e.currentTask&&e.currentTask.data&&e.currentTask.data.__creationTrace__;t&&s(o,E,{configurable:!0,enumerable:!1,writable:!0,value:t})}for(let e=0;e<c.length;)A(t,c[e++],c[e++],c[e++],c[e++]);if(0==c.length&&r==S){t[g]=0;let r=o;try{throw new Error("Uncaught (in promise): "+function(t){return t&&t.toString===Object.prototype.toString?(t.constructor&&t.constructor.name||"")+": "+JSON.stringify(t):t?t.toString():Object.prototype.toString.call(t)}(o)+(o&&o.stack?"\n"+o.stack:""))}catch(t){r=t}a&&(r.throwOriginal=!0),r.rejection=o,r.promise=t,r.zone=e.current,r.task=e.currentTask,i.push(r),n.scheduleMicroTask()}}}return t}const I=o("rejectionHandledHandler");function R(t){if(0===t[g]){try{const n=e[I];n&&"function"==typeof n&&n.call(this,{rejection:t[m],promise:t})}catch{}t[g]=S;for(let e=0;e<i.length;e++)t===i[e].promise&&i.splice(e,1)}}function A(t,e,n,r,s){R(t);const o=t[g],i=o?"function"==typeof r?r:d:"function"==typeof s?s:p;e.scheduleMicroTask("Promise.then",()=>{try{const r=t[m],s=!!n&&v===n[v];s&&(n[y]=r,n[b]=o);const a=e.run(i,void 0,s&&i!==p&&i!==d?[]:[r]);x(n,!0,a)}catch(t){x(n,!1,t)}},n)}const O=function(){},P=t.AggregateError;class L{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(t){return t instanceof L?t:x(new this(null),_,t)}static reject(t){return x(new this(null),S,t)}static withResolvers(){const t={};return t.promise=new L((e,n)=>{t.resolve=e,t.reject=n}),t}static any(t){if(!t||"function"!=typeof t[Symbol.iterator])return Promise.reject(new P([],"All promises were rejected"));const e=[];let n=0;try{for(let r of t)n++,e.push(L.resolve(r))}catch{return Promise.reject(new P([],"All promises were rejected"))}if(0===n)return Promise.reject(new P([],"All promises were rejected"));let r=!1;const s=[];return new L((t,o)=>{for(let i=0;i<e.length;i++)e[i].then(e=>{r||(r=!0,t(e))},t=>{s.push(t),n--,0===n&&(r=!0,o(new P(s,"All promises were rejected")))})})}static race(t){let e,n,r=new this((t,r)=>{e=t,n=r});function s(t){e(t)}function o(t){n(t)}for(let e of t)f(e)||(e=this.resolve(e)),e.then(s,o);return r}static all(t){return L.allWithCallback(t)}static allSettled(t){return(this&&this.prototype instanceof L?this:L).allWithCallback(t,{thenCallback:t=>({status:"fulfilled",value:t}),errorCallback:t=>({status:"rejected",reason:t})})}static allWithCallback(t,e){let n,r,s=new this((t,e)=>{n=t,r=e}),o=2,i=0;const a=[];for(let s of t){f(s)||(s=this.resolve(s));const t=i;try{s.then(r=>{a[t]=e?e.thenCallback(r):r,o--,0===o&&n(a)},s=>{e?(a[t]=e.errorCallback(s),o--,0===o&&n(a)):r(s)})}catch(t){r(t)}o++,i++}return o-=2,0===o&&n(a),s}constructor(t){const e=this;if(!(e instanceof L))throw new Error("Must be an instanceof Promise.");e[g]=w,e[m]=[];try{const n=C();t&&t(n(k(e,_)),n(k(e,S)))}catch(t){x(e,!1,t)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return L}then(t,n){let r=this.constructor?.[Symbol.species];(!r||"function"!=typeof r)&&(r=this.constructor||L);const s=new r(O),o=e.current;return this[g]==w?this[m].push(o,s,t,n):A(this,o,s,t,n),s}catch(t){return this.then(null,t)}finally(t){let n=this.constructor?.[Symbol.species];(!n||"function"!=typeof n)&&(n=L);const r=new n(O);r[v]=v;const s=e.current;return this[g]==w?this[m].push(s,r,t,t):A(this,s,r,t,t),r}}L.resolve=L.resolve,L.reject=L.reject,L.race=L.race,L.all=L.all;const N=t[c]=t.Promise;t.Promise=L;const D=o("thenPatched");function M(t){const e=t.prototype,n=r(e,"then");if(n&&(!1===n.writable||!n.configurable))return;const s=e.then;e[u]=s,t.prototype.then=function(t,e){return new L((t,e)=>{s.call(this,t,e)}).then(t,e)},t[D]=!0}return n.patchThen=M,N&&(M(N),j(t,"fetch",t=>function(t){return function(e,n){let r=t.apply(e,n);if(r instanceof L)return r;let s=r.constructor;return s[D]||M(s),r}}(t))),Promise[e.__symbol__("uncaughtPromiseErrors")]=i,L})})(rt=nt),function(t){t.__load_patch("toString",t=>{const e=Function.prototype.toString,n=m("OriginalDelegate"),r=m("Promise"),s=m("Error"),o=function(){if("function"==typeof this){const o=this[n];if(o)return"function"==typeof o?e.call(o):Object.prototype.toString.call(o);if(this===Promise){const n=t[r];if(n)return e.call(n)}if(this===Error){const n=t[s];if(n)return e.call(n)}}return e.call(this)};o[n]=e,Function.prototype.toString=o;const i=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":i.call(this)}})}(rt),function(t){t.__load_patch("util",(t,e,s)=>{const u=tt(t);s.patchOnProperties=A,s.patchMethod=j,s.bindArguments=w,s.patchMacroTask=L;const l=e.__symbol__("BLACK_LISTED_EVENTS"),g=e.__symbol__("UNPATCHED_EVENTS");t[g]&&(t[l]=t[g]),t[l]&&(e[l]=e[g]=t[l]),s.patchEventPrototype=Q,s.patchEventTarget=G,s.isIEOrEdge=z,s.ObjectDefineProperty=r,s.ObjectGetOwnPropertyDescriptor=n,s.ObjectCreate=o,s.ArraySlice=i,s.patchClass=P,s.wrapWithCurrentZone=p,s.filterProperties=Y,s.attachOriginToPatched=N,s._redefineProperty=Object.defineProperty,s.patchCallbacks=et,s.getGlobalObjects=()=>({globalSources:Z,zoneSymbolEventNames:H,eventNames:u,isBrowser:C,isMix:T,isNode:k,TRUE_STR:h,FALSE_STR:f,ZONE_SYMBOL_PREFIX:d,ADD_EVENT_LISTENER_STR:a,REMOVE_EVENT_LISTENER_STR:c})})}(rt),function(t){t.__load_patch("legacy",e=>{const n=e[t.__symbol__("legacyPatch")];n&&n()}),t.__load_patch("timers",t=>{const e="set",n="clear";X(t,e,n,"Timeout"),X(t,e,n,"Interval"),X(t,e,n,"Immediate")}),t.__load_patch("requestAnimationFrame",t=>{X(t,"request","cancel","AnimationFrame"),X(t,"mozRequest","mozCancel","AnimationFrame"),X(t,"webkitRequest","webkitCancel","AnimationFrame")}),t.__load_patch("blocking",(t,e)=>{const n=["alert","prompt","confirm"];for(let r=0;r<n.length;r++)j(t,n[r],(n,r,s)=>function(r,o){return e.current.run(n,t,o,s)})}),t.__load_patch("EventTarget",(t,e,n)=>{(function(t,e){e.patchEventPrototype(t,e)})(t,n),function(t,e){if(Zone[e.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:r,TRUE_STR:s,FALSE_STR:o,ZONE_SYMBOL_PREFIX:i}=e.getGlobalObjects();for(let t=0;t<n.length;t++){const e=n[t],a=i+(e+o),c=i+(e+s);r[e]={},r[e][o]=a,r[e][s]=c}const a=t.EventTarget;a&&a.prototype&&e.patchEventTarget(t,e,[a&&a.prototype])}(t,n);const r=t.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(t,n,[r.prototype])}),t.__load_patch("MutationObserver",(t,e,n)=>{P("MutationObserver"),P("WebKitMutationObserver")}),t.__load_patch("IntersectionObserver",(t,e,n)=>{P("IntersectionObserver")}),t.__load_patch("FileReader",(t,e,n)=>{P("FileReader")}),t.__load_patch("on_property",(t,e,n)=>{!function(t,e){if(k&&!T||Zone[t.symbol("patchEvents")])return;const n=e.__Zone_ignore_on_properties;let r=[];if(C){const t=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const e=[];J(t,tt(t),n&&n.concat(e),s(t))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let t=0;t<r.length;t++){const s=e[r[t]];s?.prototype&&J(s.prototype,tt(s.prototype),n)}}(n,t)}),t.__load_patch("customElements",(t,e,n)=>{!function(t,e){const{isBrowser:n,isMix:r}=e.getGlobalObjects();(n||r)&&t.customElements&&"customElements"in t&&e.patchCallbacks(e,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(t,n)}),t.__load_patch("XHR",(t,e)=>{!function(t){const c=t.XMLHttpRequest;if(!c)return;const h=c.prototype;let f=h[u],d=h[l];if(!f){const e=t.XMLHttpRequestEventTarget;if(e){const t=e.prototype;f=t[u],d=t[l]}}const p="readystatechange",v="scheduled";function y(t){const r=t.data,i=r.target;i[o]=!1,i[a]=!1;const c=i[s];f||(f=i[u],d=i[l]),c&&d.call(i,p,c);const h=i[s]=()=>{if(i.readyState===i.DONE)if(!r.aborted&&i[o]&&t.state===v){const n=i[e.__symbol__("loadfalse")];if(0!==i.status&&n&&n.length>0){const s=t.invoke;t.invoke=function(){const n=i[e.__symbol__("loadfalse")];for(let e=0;e<n.length;e++)n[e]===t&&n.splice(e,1);!r.aborted&&t.state===v&&s.call(t)},n.push(t)}else t.invoke()}else!r.aborted&&!1===i[o]&&(i[a]=!0)};return f.call(i,p,h),i[n]||(i[n]=t),C.apply(i,r.args),i[o]=!0,t}function b(){}function w(t){const e=t.data;return e.aborted=!0,T.apply(e.target,e.args)}const _=j(h,"open",()=>function(t,e){return t[r]=0==e[2],t[i]=e[1],_.apply(t,e)}),S=m("fetchTaskAborting"),k=m("fetchTaskScheduling"),C=j(h,"send",()=>function(t,n){if(!0===e.current[k]||t[r])return C.apply(t,n);{const e={target:t,url:t[i],isPeriodic:!1,args:n,aborted:!1},r=g("XMLHttpRequest.send",b,e,y,w);t&&!0===t[a]&&!e.aborted&&r.state===v&&r.invoke()}}),T=j(h,"abort",()=>function(t,r){const s=function(t){return t[n]}(t);if(s&&"string"==typeof s.type){if(null==s.cancelFn||s.data&&s.data.aborted)return;s.zone.cancelTask(s)}else if(!0===e.current[S])return T.apply(t,r)})}(t);const n=m("xhrTask"),r=m("xhrSync"),s=m("xhrListener"),o=m("xhrScheduled"),i=m("xhrURL"),a=m("xhrErrorBeforeScheduled")}),t.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function(t,e){const r=t.constructor.name;for(let s=0;s<e.length;s++){const o=e[s],i=t[o];if(i){if(!_(n(t,o)))continue;t[o]=(t=>{const e=function(){return t.apply(this,w(arguments,r+"."+o))};return N(e,t),e})(i)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),t.__load_patch("PromiseRejectionEvent",(t,e)=>{function n(e){return function(n){W(t,e).forEach(r=>{const s=t.PromiseRejectionEvent;if(s){const t=new s(e,{promise:n.promise,reason:n.rejection});r.invoke(t)}})}}t.PromiseRejectionEvent&&(e[m("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),e[m("rejectionHandledHandler")]=n("rejectionhandled"))}),t.__load_patch("queueMicrotask",(t,e,n)=>{!function(t,e){e.patchMethod(t,"queueMicrotask",t=>function(t,e){Zone.current.scheduleMicroTask("queueMicrotask",e[0])})}(t,n)})}(nt)}},CS={};function st(t){var e=CS[t];if(void 0!==e)return e.exports;var n=CS[t]={id:t,exports:{}};return LB[t](n,n.exports,st),n.exports}st.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return st.d(e,{a:e}),e},st.d=(t,e)=>{for(var n in e)st.o(e,n)&&!st.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},st.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),st.nc=void 0;var _u={};(()=>{var t=st(72),e=st.n(t),n=st(825),r=st.n(n),s=st(659),o=st.n(s),i=st(56),a=st.n(i),c=st(540),u=st.n(c),l=st(113),h=st.n(l),f=st(148),d={};d.styleTagTransform=h(),d.setAttributes=a(),d.insert=o().bind(null,"head"),d.domAPI=r(),d.insertStyleElement=u(),e()(f.A,d)})(),(()=>{let t;function e(){return t}function n(e){const n=t;return t=e,n}st.d(_u,{Nw:()=>vp,Or:()=>yp,vs:()=>bp}),st(935);const r=Symbol("NotFound");function s(t){return t===r||"ɵNotFound"===t?.name}Error;let o=null,i=!1,a=1;const c=Symbol("SIGNAL");function u(t){const e=o;return o=t,e}const l={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function h(t){if(i)throw new Error("");if(null===o)return;o.consumerOnSignalRead(t);const e=o.producersTail;if(void 0!==e&&e.producer===t)return;let n;const r=o.recomputing;if(r&&(n=void 0!==e?e.nextProducer:o.producers,void 0!==n&&n.producer===t))return o.producersTail=n,void(n.lastReadVersion=t.version);const s=t.consumersTail;if(void 0!==s&&s.consumer===o&&(!r||function(t,e){const n=e.producersTail;if(void 0!==n){let r=e.producers;do{if(r===t)return!0;if(r===n)break;r=r.nextProducer}while(void 0!==r)}return!1}(s,o)))return;const a=S(o),c={producer:t,consumer:o,nextProducer:n,prevConsumer:s,lastReadVersion:t.version,nextConsumer:void 0};o.producersTail=c,void 0!==e?e.nextProducer=c:o.producers=c,a&&w(t,c)}function f(t){if((!S(t)||t.dirty)&&(t.dirty||t.lastCleanEpoch!==a)){if(!t.producerMustRecompute(t)&&!y(t))return void m(t);t.producerRecomputeValue(t),m(t)}}function d(t){if(void 0===t.consumers)return;const e=i;i=!0;try{for(let e=t.consumers;void 0!==e;e=e.nextConsumer){const t=e.consumer;t.dirty||g(t)}}finally{i=e}}function p(){return!1!==o?.consumerAllowSignalWrites}function g(t){t.dirty=!0,d(t),t.consumerMarkedDirty?.(t)}function m(t){t.dirty=!1,t.lastCleanEpoch=a}function v(t){return t&&(t.producersTail=void 0,t.recomputing=!0),u(t)}function y(t){for(let e=t.producers;void 0!==e;e=e.nextProducer){const t=e.producer,n=e.lastReadVersion;if(n!==t.version||(f(t),n!==t.version))return!0}return!1}function b(t){if(S(t)){let e=t.producers;for(;void 0!==e;)e=_(e)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function w(t,e){const n=t.consumersTail,r=S(t);if(void 0!==n?(e.nextConsumer=n.nextConsumer,n.nextConsumer=e):(e.nextConsumer=void 0,t.consumers=e),e.prevConsumer=n,t.consumersTail=e,!r)for(let e=t.producers;void 0!==e;e=e.nextProducer)w(e.producer,e)}function _(t){const e=t.producer,n=t.nextProducer,r=t.nextConsumer,s=t.prevConsumer;if(t.nextConsumer=void 0,t.prevConsumer=void 0,void 0!==r?r.prevConsumer=s:e.consumersTail=s,void 0!==s)s.nextConsumer=r;else if(e.consumers=r,!S(e)){let t=e.producers;for(;void 0!==t;)t=_(t)}return n}function S(t){return t.consumerIsAlwaysLive||void 0!==t.consumers}let k=function(){throw new Error};function C(t){k(t)}function T(t,e){p()||C(t),t.equal(t.value,e)||(t.value=e,function(t){t.version++,a++,d(t)}(t))}const E={...l,equal:function(t,e){return Object.is(t,e)},value:void 0,kind:"signal"};function x(t){return"function"==typeof t}function I(t){const e=t(t=>{Error.call(t),t.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const R=I(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function A(t,e){if(t){const n=t.indexOf(e);0<=n&&t.splice(n,1)}}class O{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const t of e)t.remove(this);else e.remove(this);const{initialTeardown:n}=this;if(x(n))try{n()}catch(e){t=e instanceof R?e.errors:[e]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const e of r)try{L(e)}catch(e){t=t??[],e instanceof R?t=[...t,...e.errors]:t.push(e)}}if(t)throw new R(t)}}add(t){var e;if(t&&t!==this)if(this.closed)L(t);else{if(t instanceof O){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&A(e,t)}remove(t){const{_finalizers:e}=this;e&&A(e,t),t instanceof O&&t._removeParent(this)}}O.EMPTY=(()=>{const t=new O;return t.closed=!0,t})();const P=O.EMPTY;function j(t){return t instanceof O||t&&"closed"in t&&x(t.remove)&&x(t.add)&&x(t.unsubscribe)}function L(t){x(t)?t():t.unsubscribe()}const N={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},D={setTimeout(t,e,...n){const{delegate:r}=D;return r?.setTimeout?r.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){const{delegate:e}=D;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function M(t){D.setTimeout(()=>{const{onUnhandledError:e}=N;if(!e)throw t;e(t)})}function z(){}const U=F("C",void 0,void 0);function F(t,e,n){return{kind:t,value:e,error:n}}let V=null;function H(t){if(N.useDeprecatedSynchronousErrorHandling){const e=!V;if(e&&(V={errorThrown:!1,error:null}),t(),e){const{errorThrown:t,error:e}=V;if(V=null,t)throw e}}else t()}class Z extends O{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,j(t)&&t.add(this)):this.destination=K}static create(t,e,n){return new G(t,e,n)}next(t){this.isStopped?Q(F("N",t,void 0),this):this._next(t)}error(t){this.isStopped?Q(F("E",void 0,t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Q(U,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()}}}const $=Function.prototype.bind;function q(t,e){return $.call(t,e)}class B{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(t){W(t)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(t){W(t)}else W(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(t){W(t)}}}class G extends Z{constructor(t,e,n){let r;if(super(),x(t)||!t)r={next:t??void 0,error:e??void 0,complete:n??void 0};else{let e;this&&N.useDeprecatedNextContext?(e=Object.create(t),e.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&q(t.next,e),error:t.error&&q(t.error,e),complete:t.complete&&q(t.complete,e)}):r=t}this.destination=new B(r)}}function W(t){N.useDeprecatedSynchronousErrorHandling?function(t){N.useDeprecatedSynchronousErrorHandling&&V&&(V.errorThrown=!0,V.error=t)}(t):M(t)}function Q(t,e){const{onStoppedNotification:n}=N;n&&D.setTimeout(()=>n(t,e))}const K={closed:!0,next:z,error:function(t){throw t},complete:z},X="function"==typeof Symbol&&Symbol.observable||"@@observable";function Y(t){return t}function J(t){return 0===t.length?Y:1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}}let tt=(()=>{class t{constructor(t){t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const r=function(t){return t&&t instanceof Z||function(t){return t&&x(t.next)&&x(t.error)&&x(t.complete)}(t)&&j(t)}(t)?t:new G(t,e,n);return H(()=>{const{operator:t,source:e}=this;r.add(t?t.call(r,e):e?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(t){try{return this._subscribe(t)}catch(e){t.error(e)}}forEach(t,e){return new(e=et(e))((e,n)=>{const r=new G({next:e=>{try{t(e)}catch(t){n(t),r.unsubscribe()}},error:n,complete:e});this.subscribe(r)})}_subscribe(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)}[X](){return this}pipe(...t){return J(t)(this)}toPromise(t){return new(t=et(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function et(t){var e;return null!==(e=t??N.Promise)&&void 0!==e?e:Promise}const nt=I(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let rt=(()=>{class t extends tt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const e=new ot(this,this);return e.operator=t,e}_throwIfClosed(){if(this.closed)throw new nt}next(t){H(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const e of this.currentObservers)e.next(t)}})}error(t){H(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:e}=this;for(;e.length;)e.shift().error(t)}})}complete(){H(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:e,isStopped:n,observers:r}=this;return e||n?P:(this.currentObservers=null,r.push(t),new O(()=>{this.currentObservers=null,A(r,t)}))}_checkFinalizedStatuses(t){const{hasError:e,thrownError:n,isStopped:r}=this;e?t.error(n):r&&t.complete()}asObservable(){const t=new tt;return t.source=this,t}}return t.create=(t,e)=>new ot(t,e),t})();class ot extends rt{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)}error(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,n;return null!==(n=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==n?n:P}}class it extends rt{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:n}=this;if(t)throw e;return this._throwIfClosed(),n}next(t){super.next(this._value=t)}}const at="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class ct extends Error{code;constructor(t,e){super(function(t,e){return`${function(t){return`NG0${Math.abs(t)}`}(t)}${e?": "+e:""}`}(t,e)),this.code=t}}const ut=globalThis;function lt(t){for(let e in t)if(t[e]===lt)return e;throw Error("")}function ht(t){if("string"==typeof t)return t;if(Array.isArray(t))return`[${t.map(ht).join(", ")}]`;if(null==t)return""+t;const e=t.overriddenName||t.name;if(e)return`${e}`;const n=t.toString();if(null==n)return""+n;const r=n.indexOf("\n");return r>=0?n.slice(0,r):n}function ft(t,e){return t?e?`${t} ${e}`:t:e||""}const dt=lt({__forward_ref__:lt});function pt(t){return t.__forward_ref__=pt,t.toString=function(){return ht(this())},t}function gt(t){return mt(t)?t():t}function mt(t){return"function"==typeof t&&t.hasOwnProperty(dt)&&t.__forward_ref__===pt}function vt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function yt(t){return function(t,e){return t.hasOwnProperty(e)&&t[e]||null}(t,wt)}function bt(t){return t&&t.hasOwnProperty(_t)?t[_t]:null}const wt=lt({ɵprov:lt}),_t=lt({ɵinj:lt});class St{_desc;ngMetadataName="InjectionToken";ɵprov;constructor(t,e){this._desc=t,this.ɵprov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.ɵprov=vt({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function kt(t){return t&&!!t.ɵproviders}const Ct=lt({ɵcmp:lt}),Tt=lt({ɵdir:lt}),Et=lt({ɵpipe:lt}),xt=lt({ɵmod:lt}),It=lt({ɵfac:lt}),Rt=lt({__NG_ELEMENT_ID__:lt}),At=lt({__NG_ENV_ID__:lt});function Ot(t){return"string"==typeof t?t:null==t?"":String(t)}const Pt=lt({ngErrorCode:lt}),jt=lt({ngErrorMessage:lt}),Lt=lt({ngTokenPath:lt});function Nt(t,e){return Mt("",-200,e)}function Dt(t,e){throw new ct(-201,!1)}function Mt(t,e,n){const r=new ct(e,t);return r[Pt]=e,r[jt]=t,n&&(r[Lt]=n),r}let zt;function Ut(){return zt}function Ft(t){const e=zt;return zt=t,e}function Vt(t,e,n){const r=yt(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:8&n?null:void 0!==e?e:void Dt()}const Ht={},Zt="__NG_DI_FLAG__";class $t{injector;constructor(t){this.injector=t}retrieve(t,e){const n=Wt(e)||0;try{return this.injector.get(t,8&n?null:Ht,n)}catch(t){if(s(t))return t;throw t}}}function qt(t,n=0){const r=e();if(void 0===r)throw new ct(-203,!1);if(null===r)return Vt(t,void 0,n);{const e=function(t){return{optional:!!(8&t),host:!!(1&t),self:!!(2&t),skipSelf:!!(4&t)}}(n),o=r.retrieve(t,e);if(s(o)){if(e.optional)return null;throw o}return o}}function Bt(t,e=0){return(Ut()||qt)(gt(t),e)}function Gt(t,e){return Bt(t,Wt(e))}function Wt(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Qt(t){const e=[];for(let n=0;n<t.length;n++){const r=gt(t[n]);if(Array.isArray(r)){if(0===r.length)throw new ct(900,!1);let t,n=0;for(let e=0;e<r.length;e++){const s=r[e],o=Kt(s);"number"==typeof o?-1===o?t=s.token:n|=o:t=s}e.push(Bt(t,n))}else e.push(Bt(r))}return e}function Kt(t){return t[Zt]}function Xt(t,e){return t.hasOwnProperty(It)?t[It]:null}function Yt(t,e){t.forEach(t=>Array.isArray(t)?Yt(t,e):e(t))}function Jt(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function te(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}const ee={},ne=[],re=new St(""),se=new St("",-1),oe=new St("");class ie{get(t,e=Ht){if(e===Ht){const t=Mt("",-201);throw t.name="ɵNotFound",t}return e}}function ae(t){return t[xt]||null}function ce(t){return t[Ct]||null}function ue(t){return t[Tt]||null}function le(t){return t[Et]||null}function he(t){return{ɵproviders:t}}function fe(...t){return{ɵproviders:de(0,t),ɵfromNgModule:!0}}function de(t,...e){const n=[],r=new Set;let s;const o=t=>{n.push(t)};return Yt(e,t=>{const e=t;ge(e,o,[],r)&&(s||=[],s.push(e))}),void 0!==s&&pe(s,o),n}function pe(t,e){for(let n=0;n<t.length;n++){const{ngModule:r,providers:s}=t[n];me(s,t=>{e(t,r)})}}function ge(t,e,n,r){if(!(t=gt(t)))return!1;let s=null,o=bt(t);const i=!o&&ce(t);if(o||i){if(i&&!i.standalone)return!1;s=t}else{const e=t.ngModule;if(o=bt(e),!o)return!1;s=e}const a=r.has(s);if(i){if(a)return!1;if(r.add(s),i.dependencies){const t="function"==typeof i.dependencies?i.dependencies():i.dependencies;for(const s of t)ge(s,e,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let t;r.add(s);try{Yt(o.imports,s=>{ge(s,e,n,r)&&(t||=[],t.push(s))})}finally{}void 0!==t&&pe(t,e)}if(!a){const t=Xt(s)||(()=>new s);e({provide:s,useFactory:t,deps:ne},s),e({provide:oe,useValue:s,multi:!0},s),e({provide:re,useValue:()=>Bt(s),multi:!0},s)}const i=o.providers;if(null!=i&&!a){const n=t;me(i,t=>{e(t,n)})}}}return s!==t&&void 0!==t.providers}function me(t,e){for(let n of t)kt(n)&&(n=n.ɵproviders),Array.isArray(n)?me(n,e):e(n)}const ve=lt({provide:String,useValue:lt});function ye(t){return null!==t&&"object"==typeof t&&ve in t}function be(t){return"function"==typeof t}const we=new St(""),_e={},Se={};let ke;function Ce(){return void 0===ke&&(ke=new ie),ke}class Te{}class Ee extends Te{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,e,n,r){super(),this.parent=e,this.source=n,this.scopes=r,Ae(t,t=>this.processProvider(t)),this.records.set(se,Re(void 0,this)),r.has("environment")&&this.records.set(Te,Re(void 0,this));const s=this.records.get(we);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(oe,ne,{self:!0}))}retrieve(t,e){const n=Wt(e)||0;try{return this.get(t,Ht,n)}catch(t){if(s(t))return t;throw t}}destroy(){Ie(this),this._destroyed=!0;const t=u(null);try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const e of t)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),u(t)}}onDestroy(t){return Ie(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Ie(this);const e=n(this),r=Ft(void 0);try{return t()}finally{n(e),Ft(r)}}get(t,e=Ht,r){if(Ie(this),t.hasOwnProperty(At))return t[At](this);const s=Wt(r),o=n(this),i=Ft(void 0);try{if(!(4&s)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(a=t)||"object"==typeof a&&"InjectionToken"===a.ngMetadataName)&&yt(t);e=n&&this.injectableDefInScope(n)?Re(xe(t),_e):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e,s)}return(2&s?Ce():this.parent).get(t,e=8&s&&e===Ht?null:e)}catch(t){const e=function(t){return t[Pt]}(t);throw-200===e||-201===e?new ct(e,null):t}finally{Ft(i),n(o)}var a}resolveInjectorInitializers(){const t=u(null),e=n(this),r=Ft(void 0);try{const t=this.get(re,ne,{self:!0});for(const e of t)e()}finally{n(e),Ft(r),u(t)}}toString(){const t=[],e=this.records;for(const n of e.keys())t.push(ht(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){let e=be(t=gt(t))?t:gt(t&&t.provide);const n=ye(r=t)?Re(void 0,r.useValue):Re(function(t){let e;if(be(t)){const e=gt(t);return Xt(e)||xe(e)}if(ye(t))e=()=>gt(t.useValue);else if(function(t){return!(!t||!t.useFactory)}(t))e=()=>t.useFactory(...Qt(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))e=(e,n)=>Bt(gt(t.useExisting),void 0!==n&&8&n?8:void 0);else{const n=gt(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return Xt(n)||xe(n);e=()=>new n(...Qt(t.deps))}return e}(r),_e);var r;if(!be(t)&&!0===t.multi){let n=this.records.get(e);n||(n=Re(void 0,_e,!0),n.factory=()=>Qt(n.multi),this.records.set(e,n)),e=t,n.multi.push(t)}this.records.set(e,n)}hydrate(t,e,n){const r=u(null);try{if(e.value===Se)throw Nt(ht(t));return e.value===_e&&(e.value=Se,e.value=e.factory(void 0,n)),"object"==typeof e.value&&e.value&&null!==(s=e.value)&&"object"==typeof s&&"function"==typeof s.ngOnDestroy&&this._ngOnDestroyHooks.add(e.value),e.value}finally{u(r)}var s}injectableDefInScope(t){if(!t.providedIn)return!1;const e=gt(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(t){const e=this._onDestroyHooks.indexOf(t);-1!==e&&this._onDestroyHooks.splice(e,1)}}function xe(t){const e=yt(t),n=null!==e?e.factory:Xt(t);if(null!==n)return n;if(t instanceof St)throw new ct(204,!1);if(t instanceof Function)return function(t){if(t.length>0)throw new ct(204,!1);const e=function(t){return(t?.[wt]??null)||null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new ct(204,!1)}function Ie(t){if(t.destroyed)throw new ct(205,!1)}function Re(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Ae(t,e){for(const n of t)Array.isArray(n)?Ae(n,e):n&&kt(n)?Ae(n.ɵproviders,e):e(n)}function Oe(t,e){let r;t instanceof Ee?(Ie(t),r=t):r=new $t(t);const s=n(r),o=Ft(void 0);try{return e()}finally{n(s),Ft(o)}}function Pe(t){return Array.isArray(t)&&"object"==typeof t[1]}function je(t){return Array.isArray(t)&&!0===t[1]}function Le(t){return!!(4&t.flags)}function Ne(t){return t.componentOffset>-1}function De(t){return!(1&~t.flags)}function Me(t){return!!t.template}function ze(t){return!!(512&t[2])}function Ue(t){return!(256&~t[2])}function Fe(t){for(;Array.isArray(t);)t=t[0];return t}function Ve(t,e){return Fe(e[t.index])}function He(t,e){return t.data[e]}function Ze(t,e){const n=e[t];return Pe(n)?n:n[0]}function $e(t){return!(128&~t[2])}function qe(t,e){return null==e?null:t[e]}function Be(t){t[17]=0}function Ge(t){1024&t[2]||(t[2]|=1024,$e(t)&&Ke(t))}function We(t){return!!(9216&t[2]||t[24]?.dirty)}function Qe(t){t[10].changeDetectionScheduler?.notify(8),64&t[2]&&(t[2]|=1024),We(t)&&Ke(t)}function Ke(t){t[10].changeDetectionScheduler?.notify(0);let e=Ye(t);for(;null!==e&&!(8192&e[2])&&(e[2]|=8192,$e(e));)e=Ye(e)}function Xe(t,e){if(Ue(t))throw new ct(911,!1);null===t[21]&&(t[21]=[]),t[21].push(e)}function Ye(t){const e=t[3];return je(e)?e[3]:e}const Je={lFrame:_n(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let tn=!1;function en(){Je.lFrame.elementDepthCount--}function nn(t){return Je.skipHydrationRootTNode===t}function rn(){Je.skipHydrationRootTNode=null}function sn(){return Je.lFrame.lView}function on(){return Je.lFrame.tView}function an(){let t=cn();for(;null!==t&&64===t.type;)t=t.parent;return t}function cn(){return Je.lFrame.currentTNode}function un(t,e){const n=Je.lFrame;n.currentTNode=t,n.isParent=e}function ln(){return Je.lFrame.isParent}function hn(){return tn}function fn(t){const e=tn;return tn=t,e}function dn(){return Je.lFrame.bindingIndex++}function pn(t,e){const n=Je.lFrame;n.bindingIndex=n.bindingRootIndex=t,gn(e)}function gn(t){Je.lFrame.currentDirectiveIndex=t}function mn(t){Je.lFrame.currentQueryIndex=t}function vn(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[5]:null}function yn(t,e,n){if(4&n){let r=e,s=t;for(;r=r.parent,!(null!==r||1&n||(r=vn(s),null===r||(s=s[14],10&r.type))););if(null===r)return!1;e=r,t=s}const r=Je.lFrame=wn();return r.currentTNode=e,r.lView=t,!0}function bn(t){const e=wn(),n=t[1];Je.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function wn(){const t=Je.lFrame,e=null===t?null:t.child;return null===e?_n(t):e}function _n(t){const e={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:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function Sn(){const t=Je.lFrame;return Je.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const kn=Sn;function Cn(){const t=Sn();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Tn(){return Je.lFrame.selectedIndex}function En(t){Je.lFrame.selectedIndex=t}let xn=!0;function In(){return xn}function Rn(t){xn=t}function An(t,e=null,n=null,r){const s=On(t,e,n,r);return s.resolveInjectorInitializers(),s}function On(t,e=null,n=null,r,s=new Set){const o=[n||ne,fe(t)];return r=r||("object"==typeof t?void 0:ht(t)),new Ee(o,e||Ce(),r||null,s)}class Pn{static THROW_IF_NOT_FOUND=Ht;static NULL=new ie;static create(t,e){if(Array.isArray(t))return An({name:""},e,t,"");{const e=t.name??"";return An({name:e},t.parent,t.providers,e)}}static ɵprov=vt({token:Pn,providedIn:"any",factory:()=>Bt(se)});static __NG_ELEMENT_ID__=-1}const jn=new St("");let Ln=class{static __NG_ELEMENT_ID__=Dn;static __NG_ENV_ID__=t=>t};class Nn extends Ln{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Ue(this._lView)}onDestroy(t){const e=this._lView;return Xe(e,t),()=>function(t,e){if(null===t[21])return;const n=t[21].indexOf(e);-1!==n&&t[21].splice(n,1)}(e,t)}}function Dn(){return new Nn(sn())}class Mn{_console=console;handleError(t){this._console.error("ERROR",t)}}const zn=new St("",{providedIn:"root",factory:()=>{const t=Gt(Te);let e;return n=>{t.destroyed&&!e?setTimeout(()=>{throw n}):(e??=t.get(Mn),e.handleError(n))}}}),Un={provide:re,useValue:()=>{Gt(Mn)},multi:!0};function Fn(t,e){const[n,r,s]=function(t,e){const n=Object.create(E);n.value=t,void 0!==e&&(n.equal=e);const r=()=>function(t){return h(t),t.value}(n);return r[c]=n,[r,t=>T(n,t),t=>function(t,e){p()||C(t),T(t,e(t.value))}(n,t)]}(t,e?.equal),o=n;return o.set=r,o.update=s,o.asReadonly=Vn.bind(o),o}function Vn(){const t=this[c];if(void 0===t.readonlyFn){const e=()=>this();e[c]=t,t.readonlyFn=e}return t.readonlyFn}class Hn{}const Zn=new St("",{providedIn:"root",factory:()=>!1}),$n=new St(""),qn=new St("");let Bn=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new it(!1);get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new tt(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static ɵprov=vt({token:t,providedIn:"root",factory:()=>new t})}return t})();function Gn(...t){}let Wn=(()=>{class t{static ɵprov=vt({token:t,providedIn:"root",factory:()=>new Qn})}return t})();class Qn{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){const e=this.queues.get(t.zone);e.has(t)&&(e.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){const e=t.zone;this.queues.has(e)||this.queues.set(e,new Set);const n=this.queues.get(e);n.has(t)||n.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(const[e,n]of this.queues)t||=null===e?this.flushQueue(n):e.run(()=>this.flushQueue(n));t||(this.dirtyEffectCount=0)}}flushQueue(t){let e=!1;for(const n of t)n.dirty&&(this.dirtyEffectCount--,e=!0,n.run());return e}}function Kn(t,e,n,r,s,o,i){try{var a=t[o](i),c=a.value}catch(t){return void n(t)}a.done?e(c):Promise.resolve(c).then(r,s)}function Xn(t){return function(){var e=this,n=arguments;return new Promise(function(r,s){var o=t.apply(e,n);function i(t){Kn(o,r,s,i,a,"next",t)}function a(t){Kn(o,r,s,i,a,"throw",t)}i(void 0)})}}function Yn(t){return x(t?.lift)}function Jn(t){return e=>{if(Yn(e))return e.lift(function(e){try{return t(e,this)}catch(t){this.error(t)}});throw new TypeError("Unable to lift unknown Observable type")}}function tr(t,e,n,r,s){return new er(t,e,n,r,s)}class er extends Z{constructor(t,e,n,r,s,o){super(t),this.onFinalize=s,this.shouldUnsubscribe=o,this._next=e?function(n){try{e(n)}catch(e){t.error(e)}}:super._next,this._error=r?function(e){try{r(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function nr(t,e){return Jn((n,r)=>{let s=0;n.subscribe(tr(r,n=>{r.next(t.call(e,n,s++))}))})}function rr(t){return{toString:t}.toString()}const sr="__parameters__",or=function(t){return t[Zt]=-1,t.prototype[Zt]=-1,t}(function(t,e){return rr(()=>{const t=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function n(...e){if(this instanceof n)return t.apply(this,e),this;const r=new n(...e);return s.annotation=r,s;function s(t,e,n){const s=t.hasOwnProperty(sr)?t[sr]:Object.defineProperty(t,sr,{value:[]})[sr];for(;s.length<=n;)s.push(null);return(s[n]=s[n]||[]).push(r),t}}return n.prototype.ngMetadataName="Inject",n.annotationCls=n,n})}(0,t=>({token:t})));class ir{previousValue;currentValue;firstChange;constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function ar(t,e,n,r){null!==e?e.applyValueToInputSignal(e,r):t[n]=r}const cr=(()=>{const t=()=>ur;return t.ngInherit=!0,t})();function ur(t){return t.type.prototype.ngOnChanges&&(t.setInput=hr),lr}function lr(){const t=dr(this),e=t?.current;if(e){const n=t.previous;if(n===ee)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function hr(t,e,n,r,s){const o=this.declaredInputs[r],i=dr(t)||function(t,e){return t[fr]=e}(t,{previous:ee,current:null}),a=i.current||(i.current={}),c=i.previous,u=c[o];a[o]=new ir(u&&u.currentValue,n,c===ee),ar(t,e,s,n)}const fr="__ngSimpleChanges__";function dr(t){return t[fr]||null}const pr=[],gr=function(t,e=null,n){for(let r=0;r<pr.length;r++)(0,pr[r])(t,e,n)};function mr(t,e,n){br(t,e,3,n)}function vr(t,e,n,r){(3&t[2])===n&&br(t,e,n,r)}function yr(t,e){let n=t[2];(3&n)===e&&(n&=16383,n+=1,t[2]=n)}function br(t,e,n,r){const s=r??-1,o=e.length-1;let i=0;for(let a=void 0!==r?65535&t[17]:0;a<o;a++)if("number"==typeof e[a+1]){if(i=e[a],null!=r&&i>=r)break}else e[a]<0&&(t[17]+=65536),(i<s||-1==s)&&(_r(t,n,e,a),t[17]=(4294901760&t[17])+a+2),a++}function wr(t,e){gr(4,t,e);const n=u(null);try{e.call(t)}finally{u(n),gr(5,t,e)}}function _r(t,e,n,r){const s=n[r]<0,o=n[r+1],i=t[s?-n[r]:n[r]];s?t[2]>>14<t[17]>>16&&(3&t[2])===e&&(t[2]+=16384,wr(i,o)):wr(i,o)}class Sr{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,e,n,r){this.factory=t,this.name=r,this.canSeeViewProviders=e,this.injectImpl=n}}function kr(t){return 3===t||4===t||6===t}function Cr(t){return 64===t.charCodeAt(0)}function Tr(t,e){if(null!==e&&0!==e.length)if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){const s=e[r];"number"==typeof s?n=s:0===n||Er(t,n,s,0,-1===n||2===n?e[++r]:null)}}return t}function Er(t,e,n,r,s){let o=0,i=t.length;if(-1===e)i=-1;else for(;o<t.length;){const n=t[o++];if("number"==typeof n){if(n===e){i=-1;break}if(n>e){i=o-1;break}}}for(;o<t.length;){const e=t[o];if("number"==typeof e)break;if(e===n)return void(null!==s&&(t[o+1]=s));o++,null!==s&&o++}-1!==i&&(t.splice(i,0,e),o=i+1),t.splice(o++,0,n),null!==s&&t.splice(o++,0,s)}function xr(t){return-1!==t}function Ir(t){return 32767&t}function Rr(t,e){let n=function(t){return t>>16}(t),r=e;for(;n>0;)r=r[14],n--;return r}let Ar=!0;function Or(t){const e=Ar;return Ar=t,e}let Pr=0;const jr={};function Lr(t,e){const n=Dr(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,Nr(r.data,t),Nr(e,null),Nr(r.blueprint,null));const s=Mr(t,e),o=t.injectorIndex;if(xr(s)){const t=Ir(s),n=Rr(s,e),r=n[1].data;for(let s=0;s<8;s++)e[o+s]=n[t+s]|r[t+s]}return e[o+8]=s,o}function Nr(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Dr(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Mr(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,s=e;for(;null!==s;){if(r=Xr(s),null===r)return-1;if(n++,s=s[14],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function zr(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Rt)&&(r=n[Rt]),null==r&&(r=n[Rt]=Pr++);const s=255&r;e.data[t+(s>>5)]|=1<<s}(t,e,n)}function Ur(t,e,n){if(8&n||void 0!==t)return t;Dt()}function Fr(t,e,n,r){if(8&n&&void 0===r&&(r=null),!(3&n)){const s=t[9],o=Ft(void 0);try{return s?s.get(e,r,8&n):Vt(e,r,8&n)}finally{Ft(o)}}return Ur(r,0,n)}function Vr(t,e,n,r=0,s){if(null!==t){if(2048&e[2]&&!(2&r)){const s=function(t,e,n,r,s){let o=t,i=e;for(;null!==o&&null!==i&&2048&i[2]&&!ze(i);){const t=Hr(o,i,n,2|r,jr);if(t!==jr)return t;let e=o.parent;if(!e){const t=i[20];if(t){const e=t.get(n,jr,r);if(e!==jr)return e}e=Xr(i),i=i[14]}o=e}return s}(t,e,n,r,jr);if(s!==jr)return s}const s=Hr(t,e,n,r,jr);if(s!==jr)return s}return Fr(e,n,r,s)}function Hr(t,e,n,r,s){const o=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(Rt)?t[Rt]:void 0;return"number"==typeof e?e>=0?255&e:Wr:e}(n);if("function"==typeof o){if(!yn(e,t,r))return 1&r?Ur(s,0,r):Fr(e,n,r,s);try{let t;if(t=o(r),null!=t||8&r)return t;Dt()}finally{kn()}}else if("number"==typeof o){let s=null,i=Dr(t,e),a=-1,c=1&r?e[15][5]:null;for((-1===i||4&r)&&(a=-1===i?Mr(t,e):e[i+8],-1!==a&&Br(r,!1)?(s=e[1],i=Ir(a),e=Rr(a,e)):i=-1);-1!==i;){const t=e[1];if(qr(o,i,t.data)){const t=Zr(i,e,n,s,r,c);if(t!==jr)return t}a=e[i+8],-1!==a&&Br(r,e[1].data[i+8]===c)&&qr(o,i,e)?(s=t,i=Ir(a),e=Rr(a,e)):i=-1}}return s}function Zr(t,e,n,r,s,o){const i=e[1],a=i.data[t+8],c=function(t,e,n,r,s){const o=t.providerIndexes,i=e.data,a=1048575&o,c=t.directiveStart,u=o>>20,l=s?a+u:t.directiveEnd;for(let t=r?a:a+u;t<l;t++){const e=i[t];if(t<c&&n===e||t>=c&&e.type===n)return t}if(s){const t=i[c];if(t&&Me(t)&&t.type===n)return c}return null}(a,i,n,null==r?Ne(a)&&Ar:r!=i&&!!(3&a.type),1&s&&o===a);return null!==c?$r(e,i,c,a,s):jr}function $r(t,e,n,r,s){let o=t[n];const i=e.data;if(o instanceof Sr){const a=o;if(a.resolving)throw function(t){"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Ot(t)}(i[n]),Nt();const c=Or(a.canSeeViewProviders);a.resolving=!0;const u=a.injectImpl?Ft(a.injectImpl):null;yn(t,r,0);try{o=t[n]=a.factory(void 0,s,i,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:o}=e.type.prototype;if(r){const r=ur(e);(n.preOrderHooks??=[]).push(t,r),(n.preOrderCheckHooks??=[]).push(t,r)}s&&(n.preOrderHooks??=[]).push(0-t,s),o&&((n.preOrderHooks??=[]).push(t,o),(n.preOrderCheckHooks??=[]).push(t,o))}(n,i[n],e)}finally{null!==u&&Ft(u),Or(c),a.resolving=!1,kn()}}return o}function qr(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function Br(t,e){return!(2&t||1&t&&e)}class Gr{_tNode;_lView;constructor(t,e){this._tNode=t,this._lView=e}get(t,e,n){return Vr(this._tNode,this._lView,t,Wt(n),e)}}function Wr(){return new Gr(an(),sn())}function Qr(t){return rr(()=>{const e=t.prototype.constructor,n=e[It]||Kr(e),r=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==r;){const t=s[It]||Kr(s);if(t&&t!==n)return t;s=Object.getPrototypeOf(s)}return t=>new t})}function Kr(t){return mt(t)?()=>{const e=Kr(gt(t));return e&&e()}:Xt(t)}function Xr(t){const e=t[1],n=e.type;return 2===n?e.declTNode:1===n?t[5]:null}function Yr(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let r=0;for(;r<t;){const s=n[r];if(kr(s))break;if(0===s)r+=2;else if("number"==typeof s)for(r++;r<t&&"string"==typeof n[r];)r++;else{if(s===e)return n[r+1];r+=2}}}return null}(an(),t)}function Jr(){return ts(an(),sn())}function ts(t,e){return new es(Ve(t,e))}let es=class{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=Jr};function ns(t){return!(128&~t.flags)}Symbol;var rs,ss=((rs=ss||{})[rs.OnPush=0]="OnPush",rs[rs.Default=1]="Default",rs);const os=new Map;let is=0;function as(t){os.delete(t[19])}const cs="__ngContext__";function us(t,e){Pe(e)?(t[cs]=e[19],function(t){os.set(t[19],t)}(e)):t[cs]=e}function ls(t){return fs(t[12])}function hs(t){return fs(t[4])}function fs(t){for(;null!==t&&!je(t);)t=t[4];return t}let ds;const ps=new St("",{providedIn:"root",factory:()=>gs}),gs="ng",ms=new St(""),vs=new St("",{providedIn:"platform",factory:()=>"unknown"}),ys=new St("",{providedIn:"root",factory:()=>function(){if(void 0!==ds)return ds;if(typeof document<"u")return document;throw new ct(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),bs=new St("",{providedIn:"root",factory:()=>!1});function ws(t){return!(32&~t.flags)}function _s(t,e){const n=t.contentQueries;if(null!==n){const r=u(null);try{for(let r=0;r<n.length;r+=2){const s=n[r+1];if(-1!==s){const o=t.data[s];mn(n[r]),o.contentQueries(2,e[s],s)}}}finally{u(r)}}}function Ss(t,e,n){mn(0);const r=u(null);try{e(t,n)}finally{u(r)}}function ks(t,e,n){if(Le(e)){const r=u(null);try{const r=e.directiveEnd;for(let s=e.directiveStart;s<r;s++){const e=t.data[s];e.contentQueries&&e.contentQueries(1,n[s],s)}}finally{u(r)}}}var Cs=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Cs||{});let Ts;function Es(t){return function(){if(void 0===Ts&&(Ts=null,ut.trustedTypes))try{Ts=ut.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ts}()?.createScriptURL(t)||t}class xs{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${at})`}}function Is(t){return t instanceof xs?t.changingThisBreaksApplicationSecurity:t}function Rs(t,e){const n=function(t){return t instanceof xs&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${at})`)}return n===e}const As=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var Os=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Os||{});function Ps(t){const e=Ns();return e?e.sanitize(Os.URL,t)||"":Rs(t,"URL")?Is(t):function(t){return(t=String(t)).match(As)?t:"unsafe:"+t}(Ot(t))}function js(t){const e=Ns();if(e)return Es(e.sanitize(Os.RESOURCE_URL,t)||"");if(Rs(t,"ResourceURL"))return Es(Is(t));throw new ct(904,!1)}function Ls(t,e,n){return function(t,e){return"src"===e&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===e&&("base"===t||"link"===t)?js:Ps}(e,n)(t)}function Ns(){const t=sn();return t&&t[10].sanitizer}function Ds(t){return t instanceof Function?t():t}function Ms(t,e,n){let r=t.length;for(;;){const s=t.indexOf(e,n);if(-1===s)return s;if(0===s||t.charCodeAt(s-1)<=32){const n=e.length;if(s+n===r||t.charCodeAt(s+n)<=32)return s}n=s+1}}const zs="ng-template";function Us(t,e,n,r){let s=0;if(r){for(;s<e.length&&"string"==typeof e[s];s+=2)if("class"===e[s]&&-1!==Ms(e[s+1].toLowerCase(),n,0))return!0}else if(Fs(t))return!1;if(s=e.indexOf(1,s),s>-1){let t;for(;++s<e.length&&"string"==typeof(t=e[s]);)if(t.toLowerCase()===n)return!0}return!1}function Fs(t){return 4===t.type&&t.value!==zs}function Vs(t,e,n){return e===(4!==t.type||n?t.value:zs)}function Hs(t,e,n){let r=4;const s=t.attrs,o=null!==s?function(t){for(let e=0;e<t.length;e++)if(kr(t[e]))return e;return t.length}(s):0;let i=!1;for(let a=0;a<e.length;a++){const c=e[a];if("number"!=typeof c){if(!i)if(4&r){if(r=2|1&r,""!==c&&!Vs(t,c,n)||""===c&&1===e.length){if(Zs(r))return!1;i=!0}}else if(8&r){if(null===s||!Us(t,s,c,n)){if(Zs(r))return!1;i=!0}}else{const u=e[++a],l=$s(c,s,Fs(t),n);if(-1===l){if(Zs(r))return!1;i=!0;continue}if(""!==u){let t;if(t=l>o?"":s[l+1].toLowerCase(),2&r&&u!==t){if(Zs(r))return!1;i=!0}}}}else{if(!i&&!Zs(r)&&!Zs(c))return!1;if(i&&Zs(c))continue;i=!1,r=c|1&r}}return Zs(r)||i}function Zs(t){return!(1&t)}function $s(t,e,n,r){if(null===e)return-1;let s=0;if(r||!n){let n=!1;for(;s<e.length;){const r=e[s];if(r===t)return s;if(3===r||6===r)n=!0;else{if(1===r||2===r){let t=e[++s];for(;"string"==typeof t;)t=e[++s];continue}if(4===r)break;if(0===r){s+=4;continue}}s+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const r=t[n];if("number"==typeof r)return-1;if(r===e)return n;n++}return-1}(e,t)}function qs(t,e,n=!1){for(let r=0;r<e.length;r++)if(Hs(t,e[r],n))return!0;return!1}function Bs(t,e){return t?":not("+e.trim()+")":e}function Gs(t){let e=t[0],n=1,r=2,s="",o=!1;for(;n<t.length;){let i=t[n];if("string"==typeof i)if(2&r){const e=t[++n];s+="["+i+(e.length>0?'="'+e+'"':"")+"]"}else 8&r?s+="."+i:4&r&&(s+=" "+i);else""!==s&&!Zs(i)&&(e+=Bs(o,s),s=""),r=i,o=o||!Zs(r);n++}return""!==s&&(e+=Bs(o,s)),e}const Ws={};function Qs(t,e,n){return t.createElement(e,n)}function Ks(t,e,n,r,s){t.insertBefore(e,n,r,s)}function Xs(t,e,n){t.appendChild(e,n)}function Ys(t,e,n,r,s){null!==r?Ks(t,e,n,r,s):Xs(t,e,n)}function Js(t,e,n){const{mergedAttrs:r,classes:s,styles:o}=n;null!==r&&function(t,e,n){let r=0;for(;r<n.length;){const s=n[r];if("number"==typeof s){if(0!==s)break;r++;const o=n[r++],i=n[r++],a=n[r++];t.setAttribute(e,i,a,o)}else{const o=s,i=n[++r];Cr(o)?t.setProperty(e,o,i):t.setAttribute(e,o,i),r++}}}(t,e,r),null!==s&&function(t,e,n){""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n)}(t,e,s),null!==o&&function(t,e,n){t.setAttribute(e,"style",n)}(t,e,o)}function to(t,e,n,r,s,o,i,a,c,u,l){const h=26+r,f=h+s,d=function(t,e){const n=[];for(let r=0;r<e;r++)n.push(r<t?null:Ws);return n}(h,f),p="function"==typeof u?u():u;return d[1]={type:t,blueprint:d,template:n,queries:null,viewQuery:a,declTNode:e,data:d.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:f,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:"function"==typeof o?o():o,pipeRegistry:"function"==typeof i?i():i,firstChild:null,schemas:c,consts:p,incompleteFirstPass:!1,ssrId:l}}function eo(t,e,n,r,s,o,i,a,c,u,l){const h=e.blueprint.slice();return h[0]=s,h[2]=1228|r,(null!==u||t&&2048&t[2])&&(h[2]|=2048),Be(h),h[3]=h[14]=t,h[8]=n,h[10]=i||t&&t[10],h[11]=a||t&&t[11],h[9]=c||t&&t[9]||null,h[5]=o,h[19]=is++,h[6]=l,h[20]=u,h[15]=2==e.type?t[15]:h,h}function no(t){let e=16;return t.signals?e=4096:t.onPush&&(e=64),e}function ro(t,e,n,r){if(0===n)return-1;const s=e.length;for(let s=0;s<n;s++)e.push(r),t.blueprint.push(r),t.data.push(null);return s}function so(t,e){return t[12]?t[13][4]=e:t[12]=e,t[13]=e,e}function oo(t,e,n,r){if(!r)if(3&~e[2]){const r=t.preOrderHooks;null!==r&&vr(e,r,0,n)}else{const r=t.preOrderCheckHooks;null!==r&&mr(e,r,n)}En(n)}var io=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(io||{});function ao(t,e,n,r){const s=u(null);try{const[s,o,i]=t.inputs[n];let a=null;0!==(o&io.SignalBased)&&(a=e[s][c]),null!==a&&void 0!==a.transformFn?r=a.transformFn(r):null!==i&&(r=i.call(e,r)),null!==t.setInput?t.setInput(e,a,r,n,s):ar(e,a,s,r)}finally{u(s)}}var co=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(co||{});function uo(t,e){return(void 0)(t,e)}function lo(t,e,n,r,s){if(null!=r){let o,i=!1;je(r)?o=r:Pe(r)&&(i=!0,r=r[0]);const a=Fe(r);0===t&&null!==n?null==s?Xs(e,n,a):Ks(e,n,a,s||null,!0):1===t&&null!==n?Ks(e,n,a,s||null,!0):2===t?function(t,e,n){t.removeChild(null,e,n)}(e,a,i):3===t&&e.destroyNode(a),null!=o&&function(t,e,n,r,s){const o=n[7];o!==Fe(n)&&lo(e,t,r,o,s);for(let s=10;s<n.length;s++){const i=n[s];_o(i[1],i,t,e,r,o)}}(e,t,o,n,s)}}function ho(t,e){e[10].changeDetectionScheduler?.notify(9),_o(t,e,e[11],2,null,null)}function fo(t,e){const n=t[9],r=n.indexOf(e);n.splice(r,1)}function po(t,e){if(Ue(e))return;const n=e[11];n.destroyNode&&_o(t,e,n,3,null,null),function(t){let e=t[12];if(!e)return go(t[1],t);for(;e;){let n=null;if(Pe(e))n=e[12];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)Pe(e)&&go(e[1],e),e=e[3];null===e&&(e=t),Pe(e)&&go(e[1],e),n=e&&e[4]}e=n}}(e)}function go(t,e){if(Ue(e))return;const n=u(null);try{e[2]&=-129,e[2]|=256,e[24]&&b(e[24]),function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let t=0;t<n.length;t+=2){const r=e[n[t]];if(!(r instanceof Sr)){const e=n[t+1];if(Array.isArray(e))for(let t=0;t<e.length;t+=2){const n=r[e[t]],s=e[t+1];gr(4,n,s);try{s.call(n)}finally{gr(5,n,s)}}else{gr(4,r,e);try{e.call(r)}finally{gr(5,r,e)}}}}}(t,e),function(t,e){const n=t.cleanup,r=e[7];if(null!==n)for(let t=0;t<n.length-1;t+=2)if("string"==typeof n[t]){const e=n[t+3];e>=0?r[e]():r[-e].unsubscribe(),t+=2}else n[t].call(r[n[t+1]]);null!==r&&(e[7]=null);const s=e[21];if(null!==s){e[21]=null;for(let t=0;t<s.length;t++)(0,s[t])()}const o=e[23];if(null!==o){e[23]=null;for(const t of o)t.destroy()}}(t,e),1===e[1].type&&e[11].destroy();const n=e[16];if(null!==n&&je(e[3])){n!==e[3]&&fo(n,e);const r=e[18];null!==r&&r.detachView(t)}as(e)}finally{u(n)}}function mo(t,e,n,r){const s=function(t,e,n){return function(t,e,n){let r=e;for(;null!==r&&168&r.type;)r=(e=r).parent;if(null===r)return n[0];if(Ne(r)){const{encapsulation:e}=t.data[r.directiveStart+r.componentOffset];if(e===Cs.None||e===Cs.Emulated)return null}return Ve(r,n)}(t,e.parent,n)}(t,r,e),o=e[11],i=function(t,e,n){return function(t,e,n){return 40&t.type?Ve(t,n):null}(t,0,n)}(r.parent||e[5],0,e);if(null!=s)if(Array.isArray(n))for(let t=0;t<n.length;t++)Ys(o,s,n[t],i,!1);else Ys(o,s,n,i,!1)}function vo(t,e){if(null!==e){const n=e.type;if(3&n)return Ve(e,t);if(4&n)return bo(-1,t[e.index]);if(8&n){const n=e.child;if(null!==n)return vo(t,n);{const n=t[e.index];return je(n)?bo(-1,n):Fe(n)}}if(128&n)return vo(t,e.next);if(32&n)return uo(e,t)()||Fe(t[e.index]);{const n=yo(t,e);return null!==n?Array.isArray(n)?n[0]:vo(Ye(t[15]),n):vo(t,e.next)}}return null}function yo(t,e){return null!==e?t[15][5].projection[e.projection]:null}function bo(t,e){const n=10+t+1;if(n<e.length){const t=e[n],r=t[1].firstChild;if(null!==r)return vo(t,r)}return e[7]}function wo(t,e,n,r,s,o,i){for(;null!=n;){if(128===n.type){n=n.next;continue}const a=r[n.index],c=n.type;if(i&&0===e&&(a&&us(Fe(a),r),n.flags|=2),!ws(n))if(8&c)wo(t,e,n.child,r,s,o,!1),lo(e,t,s,a,o);else if(32&c){const i=uo(n,r);let c;for(;c=i();)lo(e,t,s,c,o);lo(e,t,s,a,o)}else 16&c?So(t,e,r,n,s,o):lo(e,t,s,a,o);n=i?n.projectionNext:n.next}}function _o(t,e,n,r,s,o){wo(n,r,t.firstChild,e,s,o,!1)}function So(t,e,n,r,s,o){const i=n[15],a=i[5].projection[r.projection];if(Array.isArray(a))for(let n=0;n<a.length;n++)lo(e,t,s,a[n],o);else{let n=a;const c=i[3];ns(r)&&(n.flags|=128),wo(t,e,n,c,s,o,!0)}}function ko(t,e,n,r,s){const o=Tn(),i=2&r;try{En(-1),i&&e.length>26&&oo(t,e,26,!1),gr(i?2:0,s,n),n(r,s)}finally{En(o),gr(i?3:1,s,n)}}function Co(t,e,n){(function(t,e,n){const r=n.directiveStart,s=n.directiveEnd;Ne(n)&&function(t,e,n){const r=Ve(e,t),s=function(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=to(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}(n),o=t[10].rendererFactory,i=so(t,eo(t,s,null,no(n),r,e,null,o.createRenderer(r,n),null,null,null));t[e.index]=i}(e,n,t.data[r+n.componentOffset]),t.firstCreatePass||Lr(n,e);const o=n.initialInputs;for(let i=r;i<s;i++){const s=t.data[i],a=$r(e,t,i,n);us(a,e),null!==o&&Io(0,i-r,a,s,0,o),Me(s)&&(Ze(n.index,e)[8]=$r(e,t,i,n))}})(t,e,n),!(64&~n.flags)&&function(t,e,n){const r=n.directiveStart,s=n.directiveEnd,o=n.index,i=Je.lFrame.currentDirectiveIndex;try{En(o);for(let n=r;n<s;n++){const r=t.data[n],s=e[n];gn(n),(null!==r.hostBindings||0!==r.hostVars||null!==r.hostAttrs)&&Eo(r,s)}}finally{En(-1),gn(i)}}(t,e,n)}function To(t,e,n=Ve){const r=e.localNames;if(null!==r){let s=e.index+1;for(let o=0;o<r.length;o+=2){const i=r[o+1],a=-1===i?n(e,t):t[i];t[s++]=a}}}function Eo(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function xo(t,e){const n=t.directiveRegistry;let r=null;if(n)for(let t=0;t<n.length;t++){const s=n[t];qs(e,s.selectors,!1)&&(r??=[],Me(s)?r.unshift(s):r.push(s))}return r}function Io(t,e,n,r,s,o){const i=o[e];if(null!==i)for(let t=0;t<i.length;t+=2)ao(r,n,i[t],i[t+1])}function Ro(t,e,n,r,s){const o=26+n,i=e[1],a=s(i,e,t,r,n);e[o]=a,un(t,!0);const c=2===t.type;return c?(Js(e[11],a,t),(0===Je.lFrame.elementDepthCount||De(t))&&us(a,e),Je.lFrame.elementDepthCount++):us(a,e),In()&&(!c||!ws(t))&&mo(i,e,a,t),t}function Ao(t){let e=t;return ln()?Je.lFrame.isParent=!1:(e=e.parent,un(e,!1)),e}function Oo(t,e,n,r,s){const o=t.inputs?.[r],i=t.hostDirectiveInputs?.[r];let a=!1;if(i)for(let t=0;t<i.length;t+=2){const r=i[t];ao(e.data[r],n[r],i[t+1],s),a=!0}if(o)for(const t of o)ao(e.data[t],n[t],r,s),a=!0;return a}function Po(t,e){const n=Ze(e,t),r=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(r,n),null!==n[0]&&null===n[6]&&(n[6]=null),gr(18),jo(r,n,n[8]),gr(19,n[8])}function jo(t,e,n){bn(e);try{const r=t.viewQuery;null!==r&&Ss(1,r,n);const s=t.template;null!==s&&ko(t,e,s,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),e[18]?.finishViewCreation(t),t.staticContentQueries&&_s(t,e),t.staticViewQueries&&Ss(2,t.viewQuery,n);const o=t.components;null!==o&&function(t,e){for(let n=0;n<e.length;n++)Po(t,e[n])}(e,o)}catch(e){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),e}finally{e[2]&=-5,Cn()}}function Lo(t,e){return!e||null===e.firstChild||ns(t)}function No(t,e,n,r,s=!1){for(;null!==n;){if(128===n.type){n=s?n.projectionNext:n.next;continue}const o=e[n.index];null!==o&&r.push(Fe(o)),je(o)&&Do(o,r);const i=n.type;if(8&i)No(t,e,n.child,r);else if(32&i){const t=uo(n,e);let s;for(;s=t();)r.push(s)}else if(16&i){const t=yo(e,n);if(Array.isArray(t))r.push(...t);else{const n=Ye(e[15]);No(n[1],n,t,r,!0)}}n=s?n.projectionNext:n.next}return r}function Do(t,e){for(let n=10;n<t.length;n++){const r=t[n],s=r[1].firstChild;null!==s&&No(r[1],r,s,e)}t[7]!==t[0]&&e.push(t[7])}function Mo(t){if(null!==t[25]){for(const e of t[25])e.impl.addSequence(e);t[25].length=0}}let zo=[];const Uo={...l,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{Ke(t.lView)},consumerOnSignalRead(){this.lView[24]=this}},Fo={...l,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let e=Ye(t.lView);for(;e&&!Vo(e[1]);)e=Ye(e);e&&Ge(e)},consumerOnSignalRead(){this.lView[24]=this}};function Vo(t){return 2!==t.type}function Ho(t){if(null===t[23])return;let e=!0;for(;e;){let n=!1;for(const e of t[23])e.dirty&&(n=!0,null===e.zone||Zone.current===e.zone?e.run():e.zone.run(()=>e.run()));e=n&&!!(8192&t[2])}}function Zo(t,e=0){const n=t[10].rendererFactory;n.begin?.();try{!function(t,e){const n=hn();try{fn(!0),Go(t,e);let n=0;for(;We(t);){if(100===n)throw new ct(103,!1);n++,Go(t,1)}}finally{fn(n)}}(t,e)}finally{n.end?.()}}function $o(t,e){for(let n=ls(t);null!==n;n=hs(n))for(let t=10;t<n.length;t++)Bo(n[t],e)}function qo(t,e,n){gr(18);const r=Ze(e,t);Bo(r,n),gr(19,r[8])}function Bo(t,e){$e(t)&&Go(t,e)}function Go(t,e){const n=t[1],r=t[2],s=t[24];let i=!!(0===e&&16&r);if(i||=!!(64&r&&0===e),i||=!!(1024&r),i||=!(!s?.dirty||!y(s)),i||=!1,s&&(s.dirty=!1),t[2]&=-9217,i)!function(t,e,n,r){if(Ue(e))return;const s=e[2];bn(e);let i=!0,a=null,c=null;Vo(t)?(c=function(t){return t[24]??function(t){const e=zo.pop()??Object.create(Uo);return e.lView=t,e}(t)}(e),a=v(c)):null===o?(i=!1,c=function(t){const e=t[24]??Object.create(Fo);return e.lView=t,e}(e),a=v(c)):e[24]&&(b(e[24]),e[24]=null);try{Be(e),function(t){Je.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==n&&ko(t,e,n,2,r);const o=!(3&~s);if(o){const n=t.preOrderCheckHooks;null!==n&&mr(e,n,null)}else{const n=t.preOrderHooks;null!==n&&vr(e,n,0,null),yr(e,0)}if(function(t){for(let e=ls(t);null!==e;e=hs(e)){if(!(2&e[2]))continue;const t=e[9];for(let e=0;e<t.length;e++)Ge(t[e])}}(e),Ho(e),$o(e,0),null!==t.contentQueries&&_s(t,e),o){const n=t.contentCheckHooks;null!==n&&mr(e,n)}else{const n=t.contentHooks;null!==n&&vr(e,n,1),yr(e,1)}!function(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let t=0;t<n.length;t++){const r=n[t];if(r<0)En(~r);else{const s=r,o=n[++t],i=n[++t];pn(o,s);const a=e[s];gr(24,a),i(2,a),gr(25,a)}}}finally{En(-1)}}(t,e);const i=t.components;null!==i&&Wo(e,i,0);const a=t.viewQuery;if(null!==a&&Ss(2,a,r),o){const n=t.viewCheckHooks;null!==n&&mr(e,n)}else{const n=t.viewHooks;null!==n&&vr(e,n,2),yr(e,2)}if(!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),e[22]){for(const t of e[22])t();e[22]=null}Mo(e),e[2]&=-73}catch(t){throw Ke(e),t}finally{null!==c&&(function(t,e){if(u(e),!t)return;t.recomputing=!1;const n=t.producersTail;let r=void 0!==n?n.nextProducer:t.producers;if(void 0!==r){if(S(t))do{r=_(r)}while(void 0!==r);void 0!==n?n.nextProducer=void 0:t.producers=void 0}}(c,a),i&&function(t){t.lView[24]!==t&&(t.lView=null,zo.push(t))}(c)),Cn()}}(n,t,n.template,t[8]);else if(8192&r){const e=u(null);try{Ho(t),$o(t,1);const e=n.components;null!==e&&Wo(t,e,1),Mo(t)}finally{u(e)}}}function Wo(t,e,n){for(let r=0;r<e.length;r++)qo(t,e[r],n)}function Qo(t,e){const n=hn()?64:1088;for(t[10].changeDetectionScheduler?.notify(e);t;){t[2]|=n;const e=Ye(t);if(ze(t)&&!e)return t;t=e}return null}function Ko(t,e){if(t.length<=10)return;const n=10+e,r=t[n];if(r){const s=r[16];null!==s&&s!==t&&fo(s,r),e>0&&(t[n-1][4]=r[4]);const o=te(t,10+e);!function(t,e){ho(t,e),e[0]=null,e[5]=null}(r[1],r);const i=o[18];null!==i&&i.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Xo(t,e){const n=t[9],r=e[3];(Pe(r)||e[15]!==r[3][15])&&(t[2]|=2),null===n?t[9]=[e]:n.push(e)}class Yo{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const t=this._lView,e=t[1];return No(e,t,e.firstChild,[])}constructor(t,e){this._lView=t,this._cdRefInjectingView=e}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return Ue(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(je(t)){const e=t[8],n=e?e.indexOf(this):-1;n>-1&&(Ko(t,n),te(e,n))}this._attachedToViewContainer=!1}po(this._lView[1],this._lView)}onDestroy(t){Xe(this._lView,t)}markForCheck(){Qo(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[2]&=-129}reattach(){Qe(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,Zo(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ct(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=ze(this._lView),e=this._lView[16];null!==e&&!t&&fo(e,this._lView),ho(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ct(902,!1);this._appRef=t;const e=ze(this._lView),n=this._lView[16];null!==n&&!e&&Xo(n,this._lView),Qe(this._lView)}}function Jo(t,e,n,r,s){let o=t.data[e];if(null===o)o=function(t,e,n,r,s){const o=cn(),i=ln(),a=t.data[e]=function(t,e,n,r,s,o){let i=e?e.injectorIndex:-1,a=0;return null!==Je.skipHydrationRootTNode&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:i,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:s,attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,i?o:o&&o.parent,n,e,r,s);return function(t,e,n,r){null===t.firstChild&&(t.firstChild=e),null!==n&&(r?null==n.child&&null!==e.parent&&(n.child=e):null===n.next&&(n.next=e,e.prev=n))}(t,a,o,i),a}(t,e,n,r,s),Je.lFrame.inI18n&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=r,o.attrs=s;const t=function(){const t=Je.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();o.injectorIndex=null===t?-1:t.injectorIndex}return un(o,!0),o}let ti=class{},ei=class{};class ni{resolveComponentFactory(t){throw new ct(917,!1)}}let ri=class{static NULL=new ni};class si{}let oi=class{destroyNode=null;static __NG_ELEMENT_ID__=()=>function(){const t=sn(),e=Ze(an().index,t);return(Pe(e)?e:t)[11]}()},ii=(()=>{class t{static ɵprov=vt({token:t,providedIn:"root",factory:()=>null})}return t})();const ai={};class ci{injector;parentInjector;constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,n){const r=this.injector.get(t,ai,n);return r!==ai||e===ai?r:this.parentInjector.get(t,e,n)}}function ui(t,e,n){let r=n?t.styles:null,s=n?t.classes:null,o=0;if(null!==e)for(let t=0;t<e.length;t++){const n=e[t];"number"==typeof n?o=n:1==o?s=ft(s,n):2==o&&(r=ft(r,n+": "+e[++t]+";"))}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=s:t.classesWithoutHost=s}function li(t,e=0){const n=sn();return null===n?Bt(t,e):Vr(an(),n,gt(t),e)}function hi(t,e,n){e.componentOffset=n,(t.components??=[]).push(e.index)}function fi(t,e,n,r){const s=0===t?n.inputs:n.outputs;for(const n in s)if(s.hasOwnProperty(n)){let s;s=0===t?e.inputs??={}:e.outputs??={},s[n]??=[],s[n].push(r),pi(e,n)}}function di(t,e,n,r){const s=0===t?n.inputs:n.outputs;for(const n in s)if(s.hasOwnProperty(n)){const o=s[n];let i;i=0===t?e.hostDirectiveInputs??={}:e.hostDirectiveOutputs??={},i[o]??=[],i[o].push(r,n),pi(e,o)}}function pi(t,e){"class"===e?t.flags|=8:"style"===e&&(t.flags|=16)}function gi(t,e,n){const{attrs:r,inputs:s,hostDirectiveInputs:o}=t;if(null===r||!n&&null===s||n&&null===o||Fs(t))return t.initialInputs??=[],void t.initialInputs.push(null);let i=null,a=0;for(;a<r.length;){const t=r[a];if(0!==t)if(5!==t){if("number"==typeof t)break;if(!n&&s.hasOwnProperty(t)){const n=s[t];for(const s of n)if(s===e){i??=[],i.push(t,r[a+1]);break}}else if(n&&o.hasOwnProperty(t)){const n=o[t];for(let t=0;t<n.length;t+=2)if(n[t]===e){i??=[],i.push(n[t+1],r[a+1]);break}}a+=2}else a+=2;else a+=4}t.initialInputs??=[],t.initialInputs.push(i)}function mi(t,e,n,r,s){t.data[r]=s;const o=s.factory||(s.factory=Xt(s.type)),i=new Sr(o,Me(s),li,null);t.blueprint[r]=i,n[r]=i,function(t,e,n,r,s){const o=s.hostBindings;if(o){let s=t.hostBindingOpCodes;null===s&&(s=t.hostBindingOpCodes=[]);const i=~e.index;(function(t){let e=t.length;for(;e>0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(s)!=i&&s.push(i),s.push(n,r,o)}}(t,e,r,ro(t,n,s.hostVars,Ws),s)}function vi(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;Me(e)&&(n[""]=t)}}function yi(t,e,n,r,s,o,i,a){const c=e[1],u=c.consts,l=Jo(c,t,n,r,qe(u,i));return o&&function(t,e,n,r,s){const o=null===r?null:{"":-1},i=s(t,n);if(null!==i){let r=i,s=null,a=null;for(const t of i)if(null!==t.resolveHostDirectives){[r,s,a]=t.resolveHostDirectives(i);break}!function(t,e,n,r,s,o,i){const a=r.length;let c=!1;for(let s=0;s<a;s++){const o=r[s];!c&&Me(o)&&(c=!0,hi(t,n,s)),zr(Lr(n,e),t,o.type)}!function(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}(n,t.data.length,a);for(let t=0;t<a;t++){const e=r[t];e.providersResolver&&e.providersResolver(e)}let u=!1,l=!1,h=ro(t,e,a,null);a>0&&(n.directiveToIndex=new Map);for(let c=0;c<a;c++){const a=r[c];if(n.mergedAttrs=Tr(n.mergedAttrs,a.hostAttrs),mi(t,n,e,h,a),vi(h,a,s),null!==i&&i.has(a)){const[t,e]=i.get(a);n.directiveToIndex.set(a.type,[h,t+n.directiveStart,e+n.directiveStart])}else(null===o||!o.has(a))&&n.directiveToIndex.set(a.type,h);null!==a.contentQueries&&(n.flags|=4),(null!==a.hostBindings||null!==a.hostAttrs||0!==a.hostVars)&&(n.flags|=64);const f=a.type.prototype;!u&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((t.preOrderHooks??=[]).push(n.index),u=!0),!l&&(f.ngOnChanges||f.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(n.index),l=!0),h++}!function(t,e,n){for(let r=e.directiveStart;r<e.directiveEnd;r++){const s=t.data[r];if(null!==n&&n.has(s)){const t=n.get(s);di(0,e,t,r),di(1,e,t,r),gi(e,r,!0)}else fi(0,e,s,r),fi(1,e,s,r),gi(e,r,!1)}}(t,n,o)}(t,e,n,r,o,s,a)}null!==o&&null!==r&&function(t,e,n){const r=t.localNames=[];for(let t=0;t<e.length;t+=2){const s=n[e[t+1]];if(null==s)throw new ct(-301,!1);r.push(e[t],s)}}(n,r,o)}(c,e,l,qe(u,a),s),l.mergedAttrs=Tr(l.mergedAttrs,l.attrs),null!==l.attrs&&ui(l,l.attrs,!1),null!==l.mergedAttrs&&ui(l,l.mergedAttrs,!0),null!==c.queries&&c.queries.elementStart(c,l),l}function bi(t,e){(function(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){const e=t.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:s,ngAfterViewInit:o,ngAfterViewChecked:i,ngOnDestroy:a}=e;r&&(t.contentHooks??=[]).push(-n,r),s&&((t.contentHooks??=[]).push(n,s),(t.contentCheckHooks??=[]).push(n,s)),o&&(t.viewHooks??=[]).push(-n,o),i&&((t.viewHooks??=[]).push(n,i),(t.viewCheckHooks??=[]).push(n,i)),null!=a&&(t.destroyHooks??=[]).push(n,a)}})(t,e),Le(e)&&t.queries.elementEnd(e)}function wi(t,e,n){return n!==Ws&&!Object.is(t[e],n)&&(t[e]=n,!0)}function _i(t,e,n){return function r(s){Qo(Ne(t)?Ze(t.index,e):e,5);const o=e[8];let i=Si(e,o,n,s),a=r.__ngNextListenerFn__;for(;a;)i=Si(e,o,a,s)&&i,a=a.__ngNextListenerFn__;return i}}function Si(t,e,n,r){const s=u(null);try{return gr(6,e,n),!1!==n(r)}catch(e){return function(t,e){const n=t[9];n&&n.get(zn,null)?.(e)}(t,e),!1}finally{gr(7,e,n),u(s)}}function ki(t,e,n,r,s,o,i){const a=e.firstCreatePass?function(t){return t.cleanup??=[]}(e):null,c=function(t){return t[7]??=[]}(n),u=c.length;c.push(s,o),a&&a.push(r,t,u,(u+1)*(i?-1:1))}function Ci(t,e,n,r,s,o){const i=e[1],a=e[n][i.data[n].outputs[r]].subscribe(o);ki(t.index,i,e,s,o,a,!0)}const Ti=Symbol("BINDING");class Ei extends ri{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=ce(t);return new xi(e,this.ngModule)}}class xi extends ei{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function(t){return Object.keys(t).map(e=>{const[n,r,s]=t[e],o={propName:n,templateName:e,isSignal:0!==(r&io.SignalBased)};return s&&(o.transform=s),o})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function(t){return Object.keys(t).map(e=>({propName:t[e],templateName:e}))}(this.componentDef.outputs),this.cachedOutputs}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function(t){return t.map(Gs).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!e}create(t,e,n,r,s,o){gr(22);const i=u(null);try{const i=this.componentDef,a=function(t,e,n,r){const s=t?["ng-version","20.1.4"]:function(t){const e=[],n=[];let r=1,s=2;for(;r<t.length;){let o=t[r];if("string"==typeof o)2===s?""!==o&&e.push(o,t[++r]):8===s&&n.push(o);else{if(!Zs(s))break;s=o}r++}return n.length&&e.push(1,...n),e}(e.selectors[0]);let o=null,i=null,a=0;if(n)for(const t of n)a+=t[Ti].requiredVars,t.create&&(t.targetIdx=0,(o??=[]).push(t)),t.update&&(t.targetIdx=0,(i??=[]).push(t));if(r)for(let t=0;t<r.length;t++){const e=r[t];if("function"!=typeof e)for(const n of e.bindings){a+=n[Ti].requiredVars;const e=t+1;n.create&&(n.targetIdx=e,(o??=[]).push(n)),n.update&&(n.targetIdx=e,(i??=[]).push(n))}}const c=[e];if(r)for(const t of r){const e=ue("function"==typeof t?t:t.type);c.push(e)}return to(0,null,function(t,e){return t||e?n=>{if(1&n&&t)for(const e of t)e.create();if(2&n&&e)for(const t of e)t.update()}:null}(o,i),1,a,c,null,null,null,[s],null)}(n,i,o,s),c=function(t,e,n){let r=e instanceof Te?e:e?.injector;return r&&null!==t.getStandaloneInjector&&(r=t.getStandaloneInjector(r)||r),r?new ci(n,r):n}(i,r||this.ngModule,t),u=function(t){const e=t.get(si,null);if(null===e)throw new ct(407,!1);return{rendererFactory:e,sanitizer:t.get(ii,null),changeDetectionScheduler:t.get(Hn,null),ngReflect:!1}}(c),l=u.rendererFactory.createRenderer(null,i),h=n?function(t,e,n,r){const s=r.get(bs,!1)||n===Cs.ShadowDom;return t.selectRootElement(e,s)}(l,n,i.encapsulation,c):function(t,e){const n=(t.selectors[0][0]||"div").toLowerCase();return Qs(e,n,"svg"===n?"svg":"math"===n?"math":null)}(i,l),f=o?.some(Ii)||s?.some(t=>"function"!=typeof t&&t.bindings.some(Ii)),d=eo(null,a,null,512|no(i),null,null,u,l,c,null,null);d[26]=h,bn(d);let p=null;try{const t=yi(26,d,2,"#host",()=>a.directiveRegistry,!0,0);h&&(Js(l,h,t),us(h,d)),Co(a,d,t),ks(a,t,d),bi(a,t),void 0!==e&&function(t,e,n){const r=t.projection=[];for(let t=0;t<e.length;t++){const e=n[t];r.push(null!=e&&e.length?Array.from(e):null)}}(t,this.ngContentSelectors,e),p=Ze(t.index,d),d[8]=p[8],jo(a,d,null)}catch(t){throw null!==p&&as(p),as(d),t}finally{gr(23),Cn()}return new Ri(this.componentType,d,!!f)}finally{u(i)}}}function Ii(t){const e=t[Ti].kind;return"input"===e||"twoWay"===e}class Ri extends ti{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,e,n){super(),this._rootLView=e,this._hasInputBindings=n,this._tNode=He(e[1],26),this.location=ts(this._tNode,e),this.instance=Ze(this._tNode.index,e)[8],this.hostView=this.changeDetectorRef=new Yo(e,void 0),this.componentType=t}setInput(t,e){const n=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),e))return;const r=this._rootLView;Oo(n,r[1],r,t,e),this.previousInputValues.set(t,e),Qo(Ze(n.index,r),1)}get injector(){return new Gr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}let Ai=class{static __NG_ELEMENT_ID__=Oi};function Oi(){return function(t,e){let n;const r=e[t.index];return je(r)?n=r:(n=function(t,e,n,r){return[t,!0,0,e,null,r,null,null,null,null]}(r,e,0,t),e[t.index]=n,so(e,n)),Di(n,e,t,r),new ji(n,t,e)}(an(),sn())}const Pi=Ai,ji=class extends Pi{_lContainer;_hostTNode;_hostLView;constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return ts(this._hostTNode,this._hostLView)}get injector(){return new Gr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Mr(this._hostTNode,this._hostLView);if(xr(t)){const e=Rr(t,this._hostLView),n=Ir(t);return new Gr(e[1].data[n+8],e)}return new Gr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Li(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){let r,s;"number"==typeof n?r=n:null!=n&&(r=n.index,s=n.injector);const o=t.createEmbeddedViewImpl(e||{},s,null);return this.insertImpl(o,r,Lo(this._hostTNode,null)),o}createComponent(t,e,n,r,s,o,i){const a=t&&!function(t){return"function"==typeof t}(t);let c;if(a)c=e;else{const t=e||{};c=t.index,n=t.injector,r=t.projectableNodes,s=t.environmentInjector||t.ngModuleRef,o=t.directives,i=t.bindings}const u=a?t:new xi(ce(t)),l=n||this.parentInjector;if(!s&&null==u.ngModule){const t=(a?l:this.parentInjector).get(Te,null);t&&(s=t)}ce(u.componentType??{});const h=u.create(l,r,null,s,o,i);return this.insertImpl(h.hostView,c,Lo(this._hostTNode,null)),h}insert(t,e){return this.insertImpl(t,e,!0)}insertImpl(t,e,n){const r=t._lView;if(function(t){return je(t[3])}(r)){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=r[3],n=new ji(e,e[5],e[3]);n.detach(n.indexOf(t))}}const s=this._adjustIndex(e),o=this._lContainer;return function(t,e,n,r=!0){const s=e[1];if(function(t,e,n,r){const s=10+r,o=n.length;r>0&&(n[s-1][4]=e),r<o-10?(e[4]=n[s],Jt(n,10+r,e)):(n.push(e),e[4]=null),e[3]=n;const i=e[16];null!==i&&n!==i&&Xo(i,e);const a=e[18];null!==a&&a.insertView(t),Qe(e),e[2]|=128}(s,e,t,n),r){const r=bo(n,t),o=e[11],i=o.parentNode(t[7]);null!==i&&function(t,e,n,r,s,o){r[0]=s,r[5]=e,_o(t,r,n,1,s,o)}(s,t[5],o,e,i,r)}const o=e[6];null!==o&&null!==o.firstChild&&(o.firstChild=null)}(o,r,s,n),t.attachToViewContainerRef(),Jt(Ni(o),s,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=Li(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),n=Ko(this._lContainer,e);n&&(te(Ni(this._lContainer),e),po(n[1],n))}detach(t){const e=this._adjustIndex(t,-1),n=Ko(this._lContainer,e);return n&&null!=te(Ni(this._lContainer),e)?new Yo(n):null}_adjustIndex(t,e=0){return t??this.length+e}};function Li(t){return t[8]}function Ni(t){return t[8]||(t[8]=[])}let Di=function(t,e,n,r){if(t[7])return;let s;s=8&n.type?Fe(r):function(t,e){const n=t[11],r=n.createComment(""),s=Ve(e,t),o=n.parentNode(s);return Ks(n,o,r,n.nextSibling(s),!1),r}(e,n),t[7]=s};const Mi=new Set;function zi(t){Mi.has(t)||(Mi.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}let Ui=class{},Fi=class{};class Vi extends Ui{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Ei(this);constructor(t,e,n,r=!0){super(),this.ngModuleType=t,this._parent=e;const s=ae(t);this._bootstrapComponents=Ds(s.bootstrap),this._r3Injector=On(t,e,[{provide:Ui,useValue:this},{provide:ri,useValue:this.componentFactoryResolver},...n],ht(t),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Hi extends Fi{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Vi(this.moduleType,t,[])}}class Zi extends Ui{injector;componentFactoryResolver=new Ei(this);instance=null;constructor(t){super();const e=new Ee([...t.providers,{provide:Ui,useValue:this},{provide:ri,useValue:this.componentFactoryResolver}],t.parent||Ce(),t.debugName,new Set(["environment"]));this.injector=e,t.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function $i(t,e,n=null){return new Zi({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}let qi=(()=>{class t{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const e=de(0,t.type),n=e.length>0?$i([e],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,n)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static ɵprov=vt({token:t,providedIn:"environment",factory:()=>new t(Bt(Te))})}return t})();function Bi(t){return rr(()=>{const e=Xi(t),n={...e,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===ss.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:e.standalone?t=>t.get(qi).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Cs.Emulated,styles:t.styles||ne,_:null,schemas:t.schemas||null,tView:null,id:""};e.standalone&&zi("NgStandalone"),Yi(n);const r=t.dependencies;return n.directiveDefs=Ji(r,Gi),n.pipeDefs=Ji(r,le),n.id=function(t){let e=0;const n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,"function"==typeof t.consts?"":t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(const t of n.join("|"))e=Math.imul(31,e)+t.charCodeAt(0)|0;return e+=2147483648,"c"+e}(n),n})}function Gi(t){return ce(t)||ue(t)}function Wi(t,e){if(null==t)return ee;const n={};for(const r in t)if(t.hasOwnProperty(r)){const s=t[r];let o,i,a,c;Array.isArray(s)?(a=s[0],o=s[1],i=s[2]??o,c=s[3]||null):(o=s,i=s,a=io.None,c=null),n[o]=[r,a,c],e[o]=i}return n}function Qi(t){if(null==t)return ee;const e={};for(const n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}function Ki(t){return rr(()=>{const e=Xi(t);return Yi(e),e})}function Xi(t){const e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputConfig:t.inputs||ee,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:!0===t.signals,selectors:t.selectors||ne,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:Wi(t.inputs,e),outputs:Qi(t.outputs),debugInfo:null}}function Yi(t){t.features?.forEach(e=>e(t))}function Ji(t,e){return t?()=>{const n="function"==typeof t?t():t,r=[];for(const t of n){const n=e(t);null!==n&&r.push(n)}return r}:null}var ta=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(ta||{});const ea=new St(""),na=!1,ra=class extends rt{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,(void 0!==Ut()||null!=e())&&(this.destroyRef=Gt(Ln,{optional:!0})??void 0,this.pendingTasks=Gt(Bn,{optional:!0})??void 0)}emit(t){const e=u(null);try{super.next(t)}finally{u(e)}}subscribe(t,e,n){let r=t,s=e||(()=>null),o=n;if(t&&"object"==typeof t){const e=t;r=e.next?.bind(e),s=e.error?.bind(e),o=e.complete?.bind(e)}this.__isAsync&&(s=this.wrapInTimeout(s),r&&(r=this.wrapInTimeout(r)),o&&(o=this.wrapInTimeout(o)));const i=super.subscribe({next:r,error:s,complete:o});return t instanceof O&&t.add(i),i}wrapInTimeout(t){return e=>{const n=this.pendingTasks?.add();setTimeout(()=>{try{t(e)}finally{void 0!==n&&this.pendingTasks?.remove(n)}})}}};function sa(t){let e,n;function r(){t=Gn;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==e&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),r()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{t(),r()})),()=>r()}function oa(t){return queueMicrotask(()=>t()),()=>{t=Gn}}const ia="isAngularZone",aa=ia+"_ID";let ca=0;class ua{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ra(!1);onMicrotaskEmpty=new ra(!1);onStable=new ra(!1);onError=new ra(!1);constructor(t){const{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:s=na}=t;if(typeof Zone>"u")throw new ct(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,o.scheduleInRootZone=s,function(t){const e=()=>{!function(t){function e(){sa(()=>{t.callbackScheduled=!1,fa(t),t.isCheckStableRunning=!0,ha(t),t.isCheckStableRunning=!1})}t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),fa(t))}(t)},n=ca++;t._inner=t._inner.fork({name:"angular",properties:{[ia]:!0,[aa]:n,[aa+n]:!0},onInvokeTask:(n,r,s,o,i,a)=>{if(function(t){return ma(t,"__ignore_ng_zone__")}(a))return n.invokeTask(s,o,i,a);try{return da(t),n.invokeTask(s,o,i,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&e(),pa(t)}},onInvoke:(n,r,s,o,i,a,c)=>{try{return da(t),n.invoke(s,o,i,a,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!function(t){return ma(t,"__scheduler_tick__")}(a)&&e(),pa(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,fa(t),ha(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,r,s)=>(e.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(ia)}static assertInAngularZone(){if(!ua.isInAngularZone())throw new ct(909,!1)}static assertNotInAngularZone(){if(ua.isInAngularZone())throw new ct(909,!1)}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+r,t,la,Gn,Gn);try{return s.runTask(o,e,n)}finally{s.cancelTask(o)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const la={};function ha(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function fa(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&!0===t.callbackScheduled)}function da(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function pa(t){t._nesting--,ha(t)}class ga{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ra;onMicrotaskEmpty=new ra;onStable=new ra;onError=new ra;run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}function ma(t,e){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0]?.data?.[e]}let va=(()=>{class t{impl=null;execute(){this.impl?.execute()}static ɵprov=vt({token:t,providedIn:"root",factory:()=>new t})}return t})(),ya=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"platform"})}return t})();const ba=new St("");function wa(t){return!!t&&"function"==typeof t.then}function _a(t){return!!t&&"function"==typeof t.subscribe}const Sa=new St("");let ka=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e});appInits=Gt(Sa,{optional:!0})??[];injector=Gt(Pn);constructor(){}runInitializers(){if(this.initialized)return;const t=[];for(const e of this.appInits){const n=Oe(this.injector,e);if(wa(n))t.push(n);else if(_a(n)){const e=new Promise((t,e)=>{n.subscribe({complete:t,error:e})});t.push(e)}}const e=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const Ca=new St("");let Ta=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=Gt(zn);afterRenderManager=Gt(va);zonelessEnabled=Gt(Zn);rootEffectScheduler=Gt(Wn);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new rt;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=Gt(Bn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(nr(t=>!t))}constructor(){Gt(ea,{optional:!0})}whenStable(){let t;return new Promise(e=>{t=this.isStable.subscribe({next:t=>{t&&e()}})}).finally(()=>{t.unsubscribe()})}_injector=Gt(Te);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,e){return this.bootstrapImpl(t,e)}bootstrapImpl(t,e,n=Pn.NULL){return this._injector.get(ua).run(()=>{gr(10);const r=t instanceof ei;if(!this._injector.get(ka).done)throw new ct(405,"");let s;s=r?t:this._injector.get(ri).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const o=function(t){return t.isBoundToModule}(s)?void 0:this._injector.get(Ui),i=s.create(n,[],e||s.selector,o),a=i.location.nativeElement,c=i.injector.get(ba,null);return c?.registerApplication(a),i.onDestroy(()=>{this.detachView(i.hostView),Ea(this.components,i),c?.unregisterApplication(a)}),this._loadComponent(i),gr(11,i),i})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){gr(12),null!==this.tracingSnapshot?this.tracingSnapshot.run(ta.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new ct(101,!1);const t=u(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,u(t),this.afterTick.next(),gr(13)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(si,null,{optional:!0}));let t=0;for(;0!==this.dirtyFlags&&t++<10;)gr(14),this.synchronizeOnce(),gr(15)}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let t=!1;if(7&this.dirtyFlags){const e=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:n}of this.allViews)(e||We(n))&&(Zo(n,e&&!this.zonelessEnabled?0:1),t=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}t||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:t})=>We(t))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Ea(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView);try{this.tick()}catch(t){this.internalErrorHandler(t)}this.components.push(t),this._injector.get(Ca,[]).forEach(e=>e(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Ea(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new ct(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();function Ea(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function xa(t,e,n,r){const s=sn();return wi(s,dn(),e)&&(on(),function(t,e,n,r,s,o){const i=Ve(t,e);!function(t,e,n,r,s,o,i){if(null==o)t.removeAttribute(e,s,n);else{const a=null==i?Ot(o):i(o,r||"",s);t.setAttribute(e,s,a,n)}}(e[11],i,o,t.value,n,r,s)}(function(){const t=Je.lFrame;return He(t.tView,t.selectedIndex)}(),s,t,e,n,r)),xa}function Ia(t,e,n,r,s){Oo(e,t,n,s?"class":"style",r)}function Ra(t,e,n,r){const s=sn(),o=s[1],i=t+26,a=o.firstCreatePass?yi(i,s,2,e,xo,Je.bindingsEnabled,n,r):o.data[i];if(Ro(a,s,t,e,La),De(a)){const t=s[1];Co(t,s,a),ks(t,a,s)}return null!=r&&To(s,a),Ra}function Aa(){const t=on(),e=Ao(an());return t.firstCreatePass&&bi(t,e),nn(e)&&rn(),en(),null!=e.classesWithoutHost&&function(t){return!!(8&t.flags)}(e)&&Ia(t,e,sn(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return!!(16&t.flags)}(e)&&Ia(t,e,sn(),e.stylesWithoutHost,!1),Aa}function Oa(t,e,n,r){return Ra(t,e,n,r),Aa(),Oa}function Pa(t,e,n,r){const s=sn(),o=s[1],i=t+26,a=o.firstCreatePass?function(t,e,n,r,s,o){const i=e.consts,a=Jo(e,t,2,r,qe(i,s));if(a.mergedAttrs=Tr(a.mergedAttrs,a.attrs),null!=o){const t=qe(i,o);a.localNames=[];for(let e=0;e<t.length;e+=2)a.localNames.push(t[e],-1)}return null!==a.attrs&&ui(a,a.attrs,!1),null!==a.mergedAttrs&&ui(a,a.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,a),a}(i,o,0,e,n,r):o.data[i];return Ro(a,s,t,e,La),null!=r&&To(s,a),Pa}function ja(){return nn(Ao(an()))&&rn(),en(),ja}let La=(t,e,n,r,s)=>(Rn(!0),Qs(e[11],r,Je.lFrame.currentNamespace));const Na="en-US";let Da=Na;function Ma(t,e,n){const r=sn(),s=on(),o=an();return function(t,e,n,r,s,o,i){let a=!0,c=null;if((3&r.type||i)&&(c??=_i(r,e,o),function(t,e,n,r,s,o,i,a){const c=De(t);let u=!1,l=null;if(!r&&c&&(l=function(t,e,n,r){const s=t.cleanup;if(null!=s)for(let t=0;t<s.length-1;t+=2){const o=s[t];if(o===n&&s[t+1]===r){const n=e[7],r=s[t+2];return n&&n.length>r?n[r]:null}"string"==typeof o&&(t+=2)}return null}(e,n,o,t.index)),null!==l)(l.__ngLastListenerFn__||l).__ngNextListenerFn__=i,l.__ngLastListenerFn__=i,u=!0;else{const i=Ve(t,n),c=r?r(i):i,u=s.listen(c,o,a);ki(r?e=>r(Fe(e[t.index])):t.index,e,n,o,a,u,!1)}return u}(r,t,e,i,n,s,o,c)&&(a=!1)),a){const t=r.outputs?.[s],n=r.hostDirectiveOutputs?.[s];if(n&&n.length)for(let t=0;t<n.length;t+=2){const i=n[t],a=n[t+1];c??=_i(r,e,o),Ci(r,e,i,a,s,c)}if(t&&t.length)for(const n of t)c??=_i(r,e,o),Ci(r,e,n,s,s,c)}}(s,r,r[11],o,t,e,n),Ma}function za(t,e=""){const n=sn(),r=on(),s=t+26,o=r.firstCreatePass?Jo(r,s,1,e,null):r.data[s],i=Fa(r,n,o,e,t);n[s]=i,In()&&mo(r,n,i,o),un(o,!1)}let Fa=(t,e,n,r,s)=>(Rn(!0),function(t,e){return t.createText(e)}(e[11],r));function Va(t){return Ha("",t),Va}function Ha(t,e,n){const r=sn(),s=function(t,e,n,r=""){return wi(t,dn(),n)?e+Ot(n)+r:Ws}(r,t,e,n);return s!==Ws&&function(t,e,n){const r=function(t,e){return Fe(e[t])}(e,t);!function(t,e,n){t.setValue(e,n)}(t[11],r,n)}(r,Tn(),s),Ha}class Za{ngModuleFactory;componentFactories;constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let $a=(()=>{class t{compileModuleSync(t){return new Hi(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const e=this.compileModuleSync(t),n=Ds(ae(t).declarations).reduce((t,e)=>{const n=ce(e);return n&&t.push(new xi(n)),t},[]);return new Za(e,n)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})(),qa=(()=>{class t{zone=Gt(ua);changeDetectionScheduler=Gt(Hn);applicationRef=Gt(Ta);applicationErrorHandler=Gt(zn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(t){this.applicationErrorHandler(t)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const Ba=new St("",{factory:()=>!1});function Ga({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:n}){return t??=()=>new ua({...Wa(),scheduleInRootZone:n}),[{provide:ua,useFactory:t},{provide:re,multi:!0,useFactory:()=>{const t=Gt(qa,{optional:!0});return()=>t.initialize()}},{provide:re,multi:!0,useFactory:()=>{const t=Gt(Qa);return()=>{t.initialize()}}},!0===e?{provide:$n,useValue:!0}:[],{provide:qn,useValue:n??na},{provide:zn,useFactory:()=>{const t=Gt(ua),e=Gt(Te);let n;return r=>{t.runOutsideAngular(()=>{e.destroyed&&!n?setTimeout(()=>{throw r}):(n??=e.get(Mn),n.handleError(r))})}}}]}function Wa(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}let Qa=(()=>{class t{subscription=new O;initialized=!1;zone=Gt(ua);pendingTasks=Gt(Bn);initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ua.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ua.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})(),Ka=(()=>{class t{applicationErrorHandler=Gt(zn);appRef=Gt(Ta);taskService=Gt(Bn);ngZone=Gt(ua);zonelessEnabled=Gt(Zn);tracing=Gt(ea,{optional:!0});disableScheduling=Gt($n,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new O;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(aa):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(Gt(qn,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof ga||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&5===t)return;let e=!1;switch(t){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:case 13:this.appRef.dirtyFlags|=2,e=!0;break;case 12:this.appRef.dirtyFlags|=16,e=!0;break;case 11:e=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(e))return;const n=this.useMicrotaskScheduler?oa:sa;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>n(()=>this.tick())):this.ngZone.runOutsideAngular(()=>n(()=>this.tick()))}shouldScheduleTick(t){return!(this.disableScheduling&&!t||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(aa+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(e){this.taskService.remove(t),this.applicationErrorHandler(e)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,oa(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const Xa=new St("",{providedIn:"root",factory:()=>Gt(Xa,{optional:!0,skipSelf:!0})||typeof $localize<"u"&&$localize.locale||Na}),Ya=Symbol("InputSignalNode#UNSET"),Ja={...E,transformFn:void 0,applyValueToInputSignal(t,e){T(t,e)}};function tc(t,e){const n=Object.create(Ja);function r(){if(h(n),n.value===Ya)throw new ct(-950,null);return n.value}return n.value=t,n.transformFn=e?.transform,r[c]=n,r}class ec{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Yr(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}function nc(t,e){return tc(t,e)}new St("").__NG_ELEMENT_ID__=t=>{const e=an();if(null===e)throw new ct(204,!1);if(2&e.type)return e.value;if(8&t)return null;throw new ct(204,!1)};const rc=(nc.required=function(t){return tc(Ya,t)},nc),sc=new St(""),oc=new St("");function ic(t){return!t.moduleRef}let ac=null,cc=class{static __NG_ELEMENT_ID__=uc};function uc(t){return function(t,e,n){if(Ne(t)&&!n){const n=Ze(t.index,e);return new Yo(n,n)}return 175&t.type?new Yo(e[15],e):null}(an(),sn(),!(16&~t))}function lc(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}let hc=null;function fc(){return hc}class dc{}let pc=(()=>{class t{historyGo(t){throw new Error("")}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:()=>Gt(gc),providedIn:"platform"})}return t})(),gc=(()=>{class t extends pc{_location;_history;_doc=Gt(jn);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return fc().getBaseHref(this._doc)}onPopState(t){const e=fc().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=fc().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,e,n){this._history.pushState(t,e,n)}replaceState(t,e,n){this._history.replaceState(t,e,n)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function mc(t,e){return t?e?t.endsWith("/")?e.startsWith("/")?t+e.slice(1):t+e:e.startsWith("/")?t+e:`${t}/${e}`:t:e}function vc(t){const e=t.search(/#|\?|$/);return"/"===t[e-1]?t.slice(0,e-1)+t.slice(e):t}function yc(t){return t&&"?"!==t[0]?`?${t}`:t}let bc=(()=>{class t{historyGo(t){throw new Error("")}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:()=>Gt(_c),providedIn:"root"})}return t})();const wc=new St("");let _c=(()=>{class t extends bc{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,e){super(),this._platformLocation=t,this._baseHref=e??this._platformLocation.getBaseHrefFromDOM()??Gt(jn).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return mc(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+yc(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const s=this.prepareExternalUrl(n+yc(r));this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){const s=this.prepareExternalUrl(n+yc(r));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static ɵfac=function(e){return new(e||t)(Bt(pc),Bt(wc,8))};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})(),Sc=(()=>{class t{_subject=new rt;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;const e=this._locationStrategy.getBaseHref();this._basePath=function(t){if(new RegExp("^(https?:)?//").test(t)){const[,e]=t.split(/\/\/[^\/]+/);return e}return t}(vc(kc(e))),this._locationStrategy.onPopState(t=>{this._subject.next({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+yc(e))}normalize(e){return t.stripTrailingSlash(function(t,e){if(!t||!e.startsWith(t))return e;const n=e.substring(t.length);return""===n||["/",";","?","#"].includes(n[0])?n:e}(this._basePath,kc(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._locationStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+yc(e)),n)}replaceState(t,e="",n=null){this._locationStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+yc(e)),n)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}),()=>{const e=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(e,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e??void 0,complete:n??void 0})}static normalizeQueryParams=yc;static joinWithSlash=mc;static stripTrailingSlash=vc;static ɵfac=function(e){return new(e||t)(Bt(bc))};static ɵprov=vt({token:t,factory:()=>new Sc(Bt(bc)),providedIn:"root"})}return t})();function kc(t){return t.replace(/\/index.html$/,"")}function Cc(t){return this instanceof Cc?(this.v=t,this):new Cc(t)}"function"==typeof SuppressedError&&SuppressedError;const Tc=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function Ec(t){return x(t?.then)}function xc(t){return x(t[X])}function Ic(t){return Symbol.asyncIterator&&x(t?.[Symbol.asyncIterator])}function Rc(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Ac="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function Oc(t){return x(t?.[Ac])}function Pc(t){return function(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,s=n.apply(t,e||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),i("next"),i("throw"),i("return",function(t){return function(e){return Promise.resolve(e).then(t,u)}}),r[Symbol.asyncIterator]=function(){return this},r;function i(t,e){s[t]&&(r[t]=function(e){return new Promise(function(n,r){o.push([t,e,n,r])>1||a(t,e)})},e&&(r[t]=e(r[t])))}function a(t,e){try{!function(t){t.value instanceof Cc?Promise.resolve(t.value.v).then(c,u):l(o[0][2],t)}(s[t](e))}catch(t){l(o[0][3],t)}}function c(t){a("next",t)}function u(t){a("throw",t)}function l(t,e){t(e),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const e=t.getReader();try{for(;;){const{value:t,done:n}=yield Cc(e.read());if(n)return yield Cc(void 0);yield yield Cc(t)}}finally{e.releaseLock()}})}function jc(t){return x(t?.getReader)}function Lc(t){if(t instanceof tt)return t;if(null!=t){if(xc(t))return function(t){return new tt(e=>{const n=t[X]();if(x(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if(Tc(t))return function(t){return new tt(e=>{for(let n=0;n<t.length&&!e.closed;n++)e.next(t[n]);e.complete()})}(t);if(Ec(t))return function(t){return new tt(e=>{t.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,M)})}(t);if(Ic(t))return Nc(t);if(Oc(t))return function(t){return new tt(e=>{for(const n of t)if(e.next(n),e.closed)return;e.complete()})}(t);if(jc(t))return function(t){return Nc(Pc(t))}(t)}throw Rc(t)}function Nc(t){return new tt(e=>{(function(t,e){var n,r,s,o;return function(t,e,n,r){return new(n||(n=Promise))(function(e,s){function o(t){try{a(r.next(t))}catch(t){s(t)}}function i(t){try{a(r.throw(t))}catch(t){s(t)}}function a(t){t.done?e(t.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(t.value).then(o,i)}a((r=r.apply(t,[])).next())})}(this,0,void 0,function*(){try{for(n=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,s){!function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)}(r,s,(e=t[n](e)).done,e.value)})}}}(t);!(r=yield n.next()).done;)if(e.next(r.value),e.closed)return}catch(t){s={error:t}}finally{try{r&&!r.done&&(o=n.return)&&(yield o.call(n))}finally{if(s)throw s.error}}e.complete()})})(t,e).catch(t=>e.error(t))})}function Dc(t,e,n,r=0,s=!1){const o=e.schedule(function(){n(),s?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(o),!s)return o}function Mc(t,e=0){return Jn((n,r)=>{n.subscribe(tr(r,n=>Dc(r,t,()=>r.next(n),e),()=>Dc(r,t,()=>r.complete(),e),n=>Dc(r,t,()=>r.error(n),e)))})}function zc(t,e=0){return Jn((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function Uc(t,e){if(!t)throw new Error("Iterable cannot be null");return new tt(n=>{Dc(n,e,()=>{const r=t[Symbol.asyncIterator]();Dc(n,e,()=>{r.next().then(t=>{t.done?n.complete():n.next(t.value)})},0,!0)})})}function Fc(t,e){return e?function(t,e){if(null!=t){if(xc(t))return function(t,e){return Lc(t).pipe(zc(e),Mc(e))}(t,e);if(Tc(t))return function(t,e){return new tt(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}(t,e);if(Ec(t))return function(t,e){return Lc(t).pipe(zc(e),Mc(e))}(t,e);if(Ic(t))return Uc(t,e);if(Oc(t))return function(t,e){return new tt(n=>{let r;return Dc(n,e,()=>{r=t[Ac](),Dc(n,e,()=>{let t,e;try{({value:t,done:e}=r.next())}catch(t){return void n.error(t)}e?n.complete():n.next(t)},0,!0)}),()=>x(r?.return)&&r.return()})}(t,e);if(jc(t))return function(t,e){return Uc(Pc(t),e)}(t,e)}throw Rc(t)}(t,e):Lc(t)}function Vc(t){return t&&x(t.schedule)}function Hc(t){return t[t.length-1]}function Zc(t){return x(Hc(t))?t.pop():void 0}function $c(t){return Vc(Hc(t))?t.pop():void 0}function qc(...t){return Fc(t,$c(t))}const Bc=I(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:Gc}=Array,{getPrototypeOf:Wc,prototype:Qc,keys:Kc}=Object;function Xc(t){if(1===t.length){const e=t[0];if(Gc(e))return{args:e,keys:null};if(function(t){return t&&"object"==typeof t&&Wc(t)===Qc}(e)){const t=Kc(e);return{args:t.map(t=>e[t]),keys:t}}}return{args:t,keys:null}}const{isArray:Yc}=Array;function Jc(t){return nr(e=>function(t,e){return Yc(e)?t(...e):t(e)}(t,e))}function tu(t,e){return t.reduce((t,n,r)=>(t[n]=e[r],t),{})}function eu(...t){const e=$c(t),n=Zc(t),{args:r,keys:s}=Xc(t);if(0===r.length)return Fc([],e);const o=new tt(function(t,e,n=Y){return r=>{nu(e,()=>{const{length:s}=t,o=new Array(s);let i=s,a=s;for(let c=0;c<s;c++)nu(e,()=>{const s=Fc(t[c],e);let u=!1;s.subscribe(tr(r,t=>{o[c]=t,u||(u=!0,a--),a||r.next(n(o.slice()))},()=>{--i||r.complete()}))},r)},r)}}(r,e,s?t=>tu(s,t):Y));return n?o.pipe(Jc(n)):o}function nu(t,e,n){t?Dc(n,t,e):e()}function ru(t,e,n=1/0){return x(e)?ru((n,r)=>nr((t,s)=>e(n,t,r,s))(Lc(t(n,r))),n):("number"==typeof e&&(n=e),Jn((e,r)=>function(t,e,n,r){const s=[];let o=0,i=0,a=!1;const c=()=>{a&&!s.length&&!o&&e.complete()},u=t=>o<r?l(t):s.push(t),l=t=>{o++;let a=!1;Lc(n(t,i++)).subscribe(tr(e,t=>{e.next(t)},()=>{a=!0},void 0,()=>{if(a)try{for(o--;s.length&&o<r;){const t=s.shift();l(t)}c()}catch(t){e.error(t)}}))};return t.subscribe(tr(e,u,()=>{a=!0,c()})),()=>{}}(e,r,t,n)))}function su(...t){return function(t=1/0){return ru(Y,t)}(1)(Fc(t,$c(t)))}function ou(t){return new tt(e=>{Lc(t()).subscribe(e)})}function iu(t,e){const n=x(t)?t:()=>t,r=t=>t.error(n());return new tt(e?t=>e.schedule(r,0,t):r)}const au=new tt(t=>t.complete());function cu(){return Jn((t,e)=>{let n=null;t._refCount++;const r=tr(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount)return void(n=null);const r=t._connection,s=n;n=null,r&&(!s||r===s)&&r.unsubscribe(),e.unsubscribe()});t.subscribe(r),r.closed||(n=t.connect())})}class uu extends tt{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Yn(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new O;const e=this.getSubject();t.add(this.source.subscribe(tr(e,void 0,()=>{this._teardown(),e.complete()},t=>{this._teardown(),e.error(t)},()=>this._teardown()))),t.closed&&(this._connection=null,t=O.EMPTY)}return t}refCount(){return cu()(this)}}function lu(t,e){return Jn((n,r)=>{let s=null,o=0,i=!1;const a=()=>i&&!s&&r.complete();n.subscribe(tr(r,n=>{s?.unsubscribe();let i=0;const c=o++;Lc(t(n,c)).subscribe(s=tr(r,t=>r.next(e?e(n,t,c,i++):t),()=>{s=null,a()}))},()=>{i=!0,a()}))})}function hu(t){return t<=0?()=>au:Jn((e,n)=>{let r=0;e.subscribe(tr(n,e=>{++r<=t&&(n.next(e),t<=r&&n.complete())}))})}function fu(t,e){return Jn((n,r)=>{let s=0;n.subscribe(tr(r,n=>t.call(e,n,s++)&&r.next(n)))})}function du(t){return Jn((e,n)=>{let r=!1;e.subscribe(tr(n,t=>{r=!0,n.next(t)},()=>{r||n.next(t),n.complete()}))})}function pu(t=gu){return Jn((e,n)=>{let r=!1;e.subscribe(tr(n,t=>{r=!0,n.next(t)},()=>r?n.complete():n.error(t())))})}function gu(){return new Bc}function mu(t,e){const n=arguments.length>=2;return r=>r.pipe(t?fu((e,n)=>t(e,n,r)):Y,hu(1),n?du(e):pu(()=>new Bc))}function vu(t,e){return x(e)?ru(t,e,1):ru(t,1)}function yu(t,e,n){const r=x(t)||e||n?{next:t,error:e,complete:n}:t;return r?Jn((t,e)=>{var n;null===(n=r.subscribe)||void 0===n||n.call(r);let s=!0;t.subscribe(tr(e,t=>{var n;null===(n=r.next)||void 0===n||n.call(r,t),e.next(t)},()=>{var t;s=!1,null===(t=r.complete)||void 0===t||t.call(r),e.complete()},t=>{var n;s=!1,null===(n=r.error)||void 0===n||n.call(r,t),e.error(t)},()=>{var t,e;s&&(null===(t=r.unsubscribe)||void 0===t||t.call(r)),null===(e=r.finalize)||void 0===e||e.call(r)}))}):Y}function bu(t){return Jn((e,n)=>{let r,s=null,o=!1;s=e.subscribe(tr(n,void 0,void 0,i=>{r=Lc(t(i,bu(t)(e))),s?(s.unsubscribe(),s=null,r.subscribe(n)):o=!0})),o&&(s.unsubscribe(),s=null,r.subscribe(n))})}function wu(t){return t<=0?()=>au:Jn((e,n)=>{let r=[];e.subscribe(tr(n,e=>{r.push(e),t<r.length&&r.shift()},()=>{for(const t of r)n.next(t);n.complete()},void 0,()=>{r=null}))})}function Su(t){return Jn((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}function ku(t){return Jn((e,n)=>{Lc(t).subscribe(tr(n,()=>n.complete(),z)),!n.closed&&e.subscribe(n)})}let Cu=(()=>{class t{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static ɵfac=function(e){return new(e||t)(Bt(jn))};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const Tu="primary",Eu=Symbol("RouteTitle");class xu{params;constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Iu(t){return new xu(t)}function Ru(t,e,n){const r=n.path.split("/");if(r.length>t.length||"full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;const s={};for(let e=0;e<r.length;e++){const n=r[e],o=t[e];if(":"===n[0])s[n.substring(1)]=o;else if(n!==o.path)return null}return{consumed:t.slice(0,r.length),posParams:s}}function Au(t,e){const n=t?Ou(t):void 0,r=e?Ou(e):void 0;if(!n||!r||n.length!=r.length)return!1;let s;for(let r=0;r<n.length;r++)if(s=n[r],!Pu(t[s],e[s]))return!1;return!0}function Ou(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Pu(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;const n=[...t].sort(),r=[...e].sort();return n.every((t,e)=>r[e]===t)}return t===e}function ju(t){return t.length>0?t[t.length-1]:null}function Lu(t){return function(t){return!!t&&(t instanceof tt||x(t.lift)&&x(t.subscribe))}(t)?t:wa(t)?Fc(Promise.resolve(t)):qc(t)}const Nu={exact:function t(e,n,r){if(!$u(e.segments,n.segments)||!Fu(e.segments,n.segments,r)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const s in n.children)if(!e.children[s]||!t(e.children[s],n.children[s],r))return!1;return!0},subset:zu},Du={exact:function(t,e){return Au(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>Pu(t[n],e[n]))},ignored:()=>!0};function Mu(t,e,n){return Nu[n.paths](t.root,e.root,n.matrixParams)&&Du[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function zu(t,e,n){return Uu(t,e,e.segments,n)}function Uu(t,e,n,r){if(t.segments.length>n.length){const s=t.segments.slice(0,n.length);return!(!$u(s,n)||e.hasChildren()||!Fu(s,n,r))}if(t.segments.length===n.length){if(!$u(t.segments,n)||!Fu(t.segments,n,r))return!1;for(const n in e.children)if(!t.children[n]||!zu(t.children[n],e.children[n],r))return!1;return!0}{const s=n.slice(0,t.segments.length),o=n.slice(t.segments.length);return!!($u(t.segments,s)&&Fu(t.segments,s,r)&&t.children[Tu])&&Uu(t.children[Tu],e,o,r)}}function Fu(t,e,n){return e.every((e,r)=>Du[n](t[r].parameters,e.parameters))}class Vu{root;queryParams;fragment;_queryParamMap;constructor(t=new Hu([],{}),e={},n=null){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Iu(this.queryParams),this._queryParamMap}toString(){return Gu.serialize(this)}}class Hu{segments;children;parent=null;constructor(t,e){this.segments=t,this.children=e,Object.values(e).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Wu(this)}}class Zu{path;parameters;_parameterMap;constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap??=Iu(this.parameters),this._parameterMap}toString(){return el(this)}}function $u(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}let qu=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:()=>new Bu,providedIn:"root"})}return t})();class Bu{parse(t){const e=new al(t);return new Vu(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${Qu(t.root,!0)}`,n=function(t){const e=Object.entries(t).map(([t,e])=>Array.isArray(e)?e.map(e=>`${Xu(t)}=${Xu(e)}`).join("&"):`${Xu(t)}=${Xu(e)}`).filter(t=>t);return e.length?`?${e.join("&")}`:""}(t.queryParams);return`${e}${n}${"string"==typeof t.fragment?`#${function(t){return encodeURI(t)}(t.fragment)}`:""}`}}const Gu=new Bu;function Wu(t){return t.segments.map(t=>el(t)).join("/")}function Qu(t,e){if(!t.hasChildren())return Wu(t);if(e){const e=t.children[Tu]?Qu(t.children[Tu],!1):"",n=[];return Object.entries(t.children).forEach(([t,e])=>{t!==Tu&&n.push(`${t}:${Qu(e,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return Object.entries(t.children).forEach(([t,r])=>{t===Tu&&(n=n.concat(e(r,t)))}),Object.entries(t.children).forEach(([t,r])=>{t!==Tu&&(n=n.concat(e(r,t)))}),n}(t,(e,n)=>n===Tu?[Qu(t.children[Tu],!1)]:[`${n}:${Qu(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[Tu]?`${Wu(t)}/${e[0]}`:`${Wu(t)}/(${e.join("//")})`}}function Ku(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Xu(t){return Ku(t).replace(/%3B/gi,";")}function Yu(t){return Ku(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ju(t){return decodeURIComponent(t)}function tl(t){return Ju(t.replace(/\+/g,"%20"))}function el(t){return`${Yu(t.path)}${function(t){return Object.entries(t).map(([t,e])=>`;${Yu(t)}=${Yu(e)}`).join("")}(t.parameters)}`}const nl=/^[^\/()?;#]+/;function rl(t){const e=t.match(nl);return e?e[0]:""}const sl=/^[^\/()?;=#]+/,ol=/^[^=?&#]+/,il=/^[^&#]+/;class al{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Hu([],{}):new Hu([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[Tu]=new Hu(t,e)),n}parseSegment(){const t=rl(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new ct(4009,!1);return this.capture(t),new Zu(Ju(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=function(t){const e=t.match(sl);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=rl(this.remaining);t&&(n=t,this.capture(n))}t[Ju(e)]=Ju(n)}parseQueryParam(t){const e=function(t){const e=t.match(ol);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(il);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const r=tl(e),s=tl(n);if(t.hasOwnProperty(r)){let e=t[r];Array.isArray(e)||(e=[e],t[r]=e),e.push(s)}else t[r]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=rl(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new ct(4010,!1);let s;n.indexOf(":")>-1?(s=n.slice(0,n.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=Tu);const o=this.parseChildren();e[s]=1===Object.keys(o).length?o[Tu]:new Hu([],o),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new ct(4011,!1)}}function cl(t){return t.segments.length>0?new Hu([],{[Tu]:t}):t}function ul(t){const e={};for(const[n,r]of Object.entries(t.children)){const t=ul(r);if(n===Tu&&0===t.segments.length&&t.hasChildren())for(const[n,r]of Object.entries(t.children))e[n]=r;else(t.segments.length>0||t.hasChildren())&&(e[n]=t)}return function(t){if(1===t.numberOfChildren&&t.children[Tu]){const e=t.children[Tu];return new Hu(t.segments.concat(e.segments),e.children)}return t}(new Hu(t.segments,e))}function ll(t){return t instanceof Vu}function hl(t){let e;const n=cl(function n(r){const s={};for(const t of r.children){const e=n(t);s[t.outlet]=e}const o=new Hu(r.url,s);return r===t&&(e=o),o}(t.root));return e??n}function fl(t,e,n,r){let s=t;for(;s.parent;)s=s.parent;if(0===e.length)return gl(s,s,s,n,r);const o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new vl(!0,0,t);let e=0,n=!1;const r=t.reduce((t,r,s)=>{if("object"==typeof r&&null!=r){if(r.outlets){const e={};return Object.entries(r.outlets).forEach(([t,n])=>{e[t]="string"==typeof n?n.split("/"):n}),[...t,{outlets:e}]}if(r.segmentPath)return[...t,r.segmentPath]}return"string"!=typeof r?[...t,r]:0===s?(r.split("/").forEach((r,s)=>{0==s&&"."===r||(0==s&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):[...t,r]},[]);return new vl(n,e,r)}(e);if(o.toRoot())return gl(s,s,new Hu([],{}),n,r);const i=function(t,e,n){if(t.isAbsolute)return new yl(e,!0,0);if(!n)return new yl(e,!1,NaN);if(null===n.parent)return new yl(n,!0,0);const r=dl(t.commands[0])?0:1;return function(t,e,n){let r=t,s=e,o=n;for(;o>s;){if(o-=s,r=r.parent,!r)throw new ct(4005,!1);s=r.segments.length}return new yl(r,!1,s-o)}(n,n.segments.length-1+r,t.numberOfDoubleDots)}(o,s,t),a=i.processChildren?wl(i.segmentGroup,i.index,o.commands):bl(i.segmentGroup,i.index,o.commands);return gl(s,i.segmentGroup,a,n,r)}function dl(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function pl(t){return"object"==typeof t&&null!=t&&t.outlets}function gl(t,e,n,r,s){let o,i={};r&&Object.entries(r).forEach(([t,e])=>{i[t]=Array.isArray(e)?e.map(t=>`${t}`):`${e}`}),o=t===e?n:ml(t,e,n);const a=cl(ul(o));return new Vu(a,i,s)}function ml(t,e,n){const r={};return Object.entries(t.children).forEach(([t,s])=>{r[t]=s===e?n:ml(s,e,n)}),new Hu(t.segments,r)}class vl{isAbsolute;numberOfDoubleDots;commands;constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&dl(n[0]))throw new ct(4003,!1);const r=n.find(pl);if(r&&r!==ju(n))throw new ct(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class yl{segmentGroup;processChildren;index;constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function bl(t,e,n){if(t??=new Hu([],{}),0===t.segments.length&&t.hasChildren())return wl(t,e,n);const r=function(t,e,n){let r=0,s=e;const o={match:!1,pathIndex:0,commandIndex:0};for(;s<t.segments.length;){if(r>=n.length)return o;const e=t.segments[s],i=n[r];if(pl(i))break;const a=`${i}`,c=r<n.length-1?n[r+1]:null;if(s>0&&void 0===a)break;if(a&&c&&"object"==typeof c&&void 0===c.outlets){if(!Cl(a,c,e))return o;r+=2}else{if(!Cl(a,{},e))return o;r++}s++}return{match:!0,pathIndex:s,commandIndex:r}}(t,e,n),s=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){const e=new Hu(t.segments.slice(0,r.pathIndex),{});return e.children[Tu]=new Hu(t.segments.slice(r.pathIndex),t.children),wl(e,0,s)}return r.match&&0===s.length?new Hu(t.segments,{}):r.match&&!t.hasChildren()?_l(t,e,n):r.match?wl(t,0,s):_l(t,e,n)}function wl(t,e,n){if(0===n.length)return new Hu(t.segments,{});{const r=function(t){return pl(t[0])?t[0].outlets:{[Tu]:t}}(n),s={};if(Object.keys(r).some(t=>t!==Tu)&&t.children[Tu]&&1===t.numberOfChildren&&0===t.children[Tu].segments.length){const r=wl(t.children[Tu],e,n);return new Hu(t.segments,r.children)}return Object.entries(r).forEach(([n,r])=>{"string"==typeof r&&(r=[r]),null!==r&&(s[n]=bl(t.children[n],e,r))}),Object.entries(t.children).forEach(([t,e])=>{void 0===r[t]&&(s[t]=e)}),new Hu(t.segments,s)}}function _l(t,e,n){const r=t.segments.slice(0,e);let s=0;for(;s<n.length;){const o=n[s];if(pl(o)){const t=Sl(o.outlets);return new Hu(r,t)}if(0===s&&dl(n[0])){r.push(new Zu(t.segments[e].path,kl(n[0]))),s++;continue}const i=pl(o)?o.outlets[Tu]:`${o}`,a=s<n.length-1?n[s+1]:null;i&&a&&dl(a)?(r.push(new Zu(i,kl(a))),s+=2):(r.push(new Zu(i,{})),s++)}return new Hu(r,{})}function Sl(t){const e={};return Object.entries(t).forEach(([t,n])=>{"string"==typeof n&&(n=[n]),null!==n&&(e[t]=_l(new Hu([],{}),0,n))}),e}function kl(t){const e={};return Object.entries(t).forEach(([t,n])=>e[t]=`${n}`),e}function Cl(t,e,n){return t==n.path&&Au(e,n.parameters)}const Tl="imperative";var El=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(El||{});class xl{id;url;constructor(t,e){this.id=t,this.url=e}}class Il extends xl{type=El.NavigationStart;navigationTrigger;restoredState;constructor(t,e,n="imperative",r=null){super(t,e),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Rl extends xl{urlAfterRedirects;type=El.NavigationEnd;constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Al=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t}(Al||{}),Ol=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Ol||{});class Pl extends xl{reason;code;type=El.NavigationCancel;constructor(t,e,n,r){super(t,e),this.reason=n,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class jl extends xl{reason;code;type=El.NavigationSkipped;constructor(t,e,n,r){super(t,e),this.reason=n,this.code=r}}class Ll extends xl{error;target;type=El.NavigationError;constructor(t,e,n,r){super(t,e),this.error=n,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Nl extends xl{urlAfterRedirects;state;type=El.RoutesRecognized;constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Dl extends xl{urlAfterRedirects;state;type=El.GuardsCheckStart;constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ml extends xl{urlAfterRedirects;state;shouldActivate;type=El.GuardsCheckEnd;constructor(t,e,n,r,s){super(t,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class zl extends xl{urlAfterRedirects;state;type=El.ResolveStart;constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ul extends xl{urlAfterRedirects;state;type=El.ResolveEnd;constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Fl{route;type=El.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Vl{route;type=El.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Hl{snapshot;type=El.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Zl{snapshot;type=El.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $l{snapshot;type=El.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ql{snapshot;type=El.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Bl{}class Gl{url;navigationBehaviorOptions;constructor(t,e){this.url=t,this.navigationBehaviorOptions=e}}function Wl(t){return t.outlet||Tu}function Ql(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class Kl{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Ql(this.route?.snapshot)??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new Xl(this.rootInjector)}}let Xl=(()=>{class t{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new Kl(this.rootInjector),this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}static ɵfac=function(e){return new(e||t)(Bt(Te))};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();class Yl{_root;constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=Jl(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Jl(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=th(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return th(t,this._root).map(t=>t.value)}}function Jl(t,e){if(t===e.value)return e;for(const n of e.children){const e=Jl(t,n);if(e)return e}return null}function th(t,e){if(t===e.value)return[e];for(const n of e.children){const r=th(t,n);if(r.length)return r.unshift(e),r}return[]}class eh{value;children;constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function nh(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class rh extends Yl{snapshot;constructor(t,e){super(t),this.snapshot=e,uh(this,t)}toString(){return this.snapshot.toString()}}function sh(t){const e=function(t){const e=new ah([],{},{},"",{},Tu,t,null,{});return new ch("",new eh(e,[]))}(t),n=new it([new Zu("",{})]),r=new it({}),s=new it({}),o=new it({}),i=new it(""),a=new oh(n,r,o,i,s,Tu,t,e.root);return a.snapshot=e.root,new rh(new eh(a,[]),e)}class oh{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,e,n,r,s,o,i,a){this.urlSubject=t,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=r,this.dataSubject=s,this.outlet=o,this.component=i,this._futureSnapshot=a,this.title=this.dataSubject?.pipe(nr(t=>t[Eu]))??qc(void 0),this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(nr(t=>Iu(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(nr(t=>Iu(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ih(t,e,n="emptyOnly"){let r;const{routeConfig:s}=t;return r=null===e||"always"!==n&&""!==s?.path&&(e.component||e.routeConfig?.loadComponent)?{params:{...t.params},data:{...t.data},resolve:{...t.data,...t._resolvedData??{}}}:{params:{...e.params,...t.params},data:{...e.data,...t.data},resolve:{...t.data,...e.data,...s?.data,...t._resolvedData}},s&&dh(s)&&(r.resolve[Eu]=s.title),r}class ah{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Eu]}constructor(t,e,n,r,s,o,i,a,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=o,this.component=i,this.routeConfig=a,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Iu(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Iu(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ch extends Yl{url;constructor(t,e){super(e),this.url=t,uh(this,e)}toString(){return lh(this._root)}}function uh(t,e){e.value._routerState=t,e.children.forEach(e=>uh(t,e))}function lh(t){const e=t.children.length>0?` { ${t.children.map(lh).join(", ")} } `:"";return`${t.value}${e}`}function hh(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Au(e.queryParams,n.queryParams)||t.queryParamsSubject.next(n.queryParams),e.fragment!==n.fragment&&t.fragmentSubject.next(n.fragment),Au(e.params,n.params)||t.paramsSubject.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!Au(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.urlSubject.next(n.url),Au(e.data,n.data)||t.dataSubject.next(n.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function fh(t,e){const n=Au(t.params,e.params)&&function(t,e){return $u(t,e)&&t.every((t,n)=>Au(t.parameters,e[n].parameters))}(t.url,e.url);return n&&!(!t.parent!=!e.parent)&&(!t.parent||fh(t.parent,e.parent))}function dh(t){return"string"==typeof t.title||null===t.title}const ph=new St("");let gh=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=Tu;activateEvents=new ra;deactivateEvents=new ra;attachEvents=new ra;detachEvents=new ra;routerOutletData=rc(void 0);parentContexts=Gt(Xl);location=Gt(Ai);changeDetector=Gt(cc);inputBinder=Gt(vh,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){const{firstChange:e,previousValue:n}=t.name;if(e)return;this.isTrackedInParentContexts(n)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(n)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new ct(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new ct(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new ct(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new ct(4013,!1);this._activatedRoute=t;const n=this.location,r=t.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,o=new mh(t,s,n.injector,this.routerOutletData);this.activated=n.createComponent(r,{index:n.length,injector:o,environmentInjector:e}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static ɵfac=function(e){return new(e||t)};static ɵdir=Ki({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[cr]})}return t})();class mh{route;childContexts;parent;outletData;constructor(t,e,n,r){this.route=t,this.childContexts=e,this.parent=n,this.outletData=r}get(t,e){return t===oh?this.route:t===Xl?this.childContexts:t===ph?this.outletData:this.parent.get(t,e)}}const vh=new St("");let yh=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵcmp=Bi({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(t,e){1&t&&Oa(0,"router-outlet")},dependencies:[gh],encapsulation:2})}return t})();function bh(t){const e=t.children&&t.children.map(bh),n=e?{...t,children:e}:{...t};return!n.component&&!n.loadComponent&&(e||n.loadChildren)&&n.outlet&&n.outlet!==Tu&&(n.component=yh),n}function wh(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=e.value;const s=function(t,e,n){return e.children.map(e=>{for(const r of n.children)if(t.shouldReuseRoute(e.value,r.value.snapshot))return wh(t,e,r);return wh(t,e)})}(t,e,n);return new eh(r,s)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const r=n.route;return r.value._futureSnapshot=e.value,r.children=e.children.map(e=>wh(t,e)),r}}const n=function(t){return new oh(new it(t.url),new it(t.params),new it(t.queryParams),new it(t.fragment),new it(t.data),t.outlet,t.component,t)}(e.value),r=e.children.map(e=>wh(t,e));return new eh(n,r)}}class _h{redirectTo;navigationBehaviorOptions;constructor(t,e){this.redirectTo=t,this.navigationBehaviorOptions=e}}const Sh="ngNavigationCancelingError";function kh(t,e){const{redirectTo:n,navigationBehaviorOptions:r}=ll(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,s=Ch(!1,Al.Redirect);return s.url=n,s.navigationBehaviorOptions=r,s}function Ch(t,e){const n=new Error(`NavigationCancelingError: ${t||""}`);return n[Sh]=!0,n.cancellationCode=e,n}function Th(t){return!!t&&t[Sh]}class Eh{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,e,n,r,s){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r,this.inputBindingEnabled=s}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),hh(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=nh(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]}),Object.values(r).forEach(t=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(r===s)if(r.component){const s=n.getContext(r.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,n);else s&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet),r=n&&t.value.component?n.children:e,s=nh(t);for(const t of Object.values(s))this.deactivateRouteAndItsChildren(t,r);if(n&&n.outlet){const e=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:r})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),r=n&&t.value.component?n.children:e,s=nh(t);for(const t of Object.values(s))this.deactivateRouteAndItsChildren(t,r);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(t,e,n){const r=nh(e);t.children.forEach(t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new ql(t.value.snapshot))}),t.children.length&&this.forwardEvent(new Zl(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(hh(r),r===s)if(r.component){const s=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,n);else if(r.component){const e=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const n=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),e.children.onOutletReAttached(n.contexts),e.attachRef=n.componentRef,e.route=n.route.value,e.outlet&&e.outlet.attach(n.componentRef,n.route.value),hh(n.route.value),this.activateChildRoutes(t,null,e.children)}else e.attachRef=null,e.route=r,e.outlet&&e.outlet.activateWith(r,e.injector),this.activateChildRoutes(t,null,e.children)}else this.activateChildRoutes(t,null,n)}}class xh{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Ih{component;route;constructor(t,e){this.component=t,this.route=e}}function Rh(t,e,n){const r=t._root;return Oh(r,e?e._root:null,n,[r.value])}function Ah(t,e){const n=Symbol(),r=e.get(t,n);return r===n?"function"!=typeof t||function(t){return null!==yt(t)}(t)?e.get(t):t:r}function Oh(t,e,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=nh(e);return t.children.forEach(t=>{(function(t,e,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,i=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(i&&o.routeConfig===i.routeConfig){const c=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!$u(t.url,e.url);case"pathParamsOrQueryParamsChange":return!$u(t.url,e.url)||!Au(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fh(t,e)||!Au(t.queryParams,e.queryParams);default:return!fh(t,e)}}(i,o,o.routeConfig.runGuardsAndResolvers);c?s.canActivateChecks.push(new xh(r)):(o.data=i.data,o._resolvedData=i._resolvedData),Oh(t,e,o.component?a?a.children:null:n,r,s),c&&a&&a.outlet&&a.outlet.isActivated&&s.canDeactivateChecks.push(new Ih(a.outlet.component,i))}else i&&Ph(e,a,s),s.canActivateChecks.push(new xh(r)),Oh(t,null,o.component?a?a.children:null:n,r,s)})(t,o[t.value.outlet],n,r.concat([t.value]),s),delete o[t.value.outlet]}),Object.entries(o).forEach(([t,e])=>Ph(e,n.getContext(t),s)),s}function Ph(t,e,n){const r=nh(t),s=t.value;Object.entries(r).forEach(([t,r])=>{Ph(r,s.component?e?e.children.getContext(t):null:e,n)}),n.canDeactivateChecks.push(new Ih(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}function jh(t){return"function"==typeof t}function Lh(t){return t instanceof Bc||"EmptyError"===t?.name}const Nh=Symbol("INITIAL_VALUE");function Dh(){return lu(t=>eu(t.map(t=>t.pipe(hu(1),function(...t){const e=$c(t);return Jn((n,r)=>{(e?su(t,n,e):su(t,n)).subscribe(r)})}(Nh)))).pipe(nr(t=>{for(const e of t)if(!0!==e){if(e===Nh)return Nh;if(!1===e||Mh(e))return e}return!0}),fu(t=>t!==Nh),hu(1)))}function Mh(t){return ll(t)||t instanceof _h}function zh(t){return function(...t){return J(t)}(yu(t=>{if("boolean"!=typeof t)throw kh(0,t)}),nr(t=>!0===t))}class Uh{segmentGroup;constructor(t){this.segmentGroup=t||null}}class Fh extends Error{urlTree;constructor(t){super(),this.urlTree=t}}function Vh(t){return iu(new Uh(t))}function Hh(t){return iu(new ct(4e3,!1))}class Zh{urlSerializer;urlTree;constructor(t,e){this.urlSerializer=t,this.urlTree=e}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return qc(n);if(r.numberOfChildren>1||!r.children[Tu])return Hh();r=r.children[Tu]}}applyRedirectCommands(t,e,n,r,s){return function(t,e,n){if("string"==typeof t)return qc(t);const r=t,{queryParams:s,fragment:o,routeConfig:i,url:a,outlet:c,params:u,data:l,title:h}=e;return Lu(Oe(n,()=>r({params:u,data:l,queryParams:s,fragment:o,routeConfig:i,url:a,outlet:c,title:h})))}(e,r,s).pipe(nr(e=>{if(e instanceof Vu)throw new Fh(e);const r=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),t,n);if("/"===e[0])throw new Fh(r);return r}))}applyRedirectCreateUrlTree(t,e,n,r){const s=this.createSegmentGroup(t,e.root,n,r);return new Vu(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Object.entries(t).forEach(([t,r])=>{if("string"==typeof r&&":"===r[0]){const s=r.substring(1);n[t]=e[s]}else n[t]=r}),n}createSegmentGroup(t,e,n,r){const s=this.createSegments(t,e.segments,n,r);let o={};return Object.entries(e.children).forEach(([e,s])=>{o[e]=this.createSegmentGroup(t,s,n,r)}),new Hu(s,o)}createSegments(t,e,n,r){return e.map(e=>":"===e.path[0]?this.findPosParam(t,e,r):this.findOrReturn(e,n))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new ct(4001,!1);return r}findOrReturn(t,e){let n=0;for(const r of e){if(r.path===t.path)return e.splice(n),r;n++}return t}}const $h={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function qh(t,e,n){if("**"===e.path)return function(t){return{matched:!0,parameters:t.length>0?ju(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}(n);if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{...$h}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const r=(e.matcher||Ru)(n,t,e);if(!r)return{...$h};const s={};Object.entries(r.posParams??{}).forEach(([t,e])=>{s[t]=e.path});const o=r.consumed.length>0?{...s,...r.consumed[r.consumed.length-1].parameters}:s;return{matched:!0,consumedSegments:r.consumed,remainingSegments:n.slice(r.consumed.length),parameters:o,positionalParamSegments:r.posParams??{}}}function Bh(t,e,n,r){return n.length>0&&function(t,e,n){return n.some(n=>Qh(t,e,n)&&Wl(n)!==Tu)}(t,n,r)?{segmentGroup:new Hu(e,Wh(r,new Hu(n,t.children))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>Qh(t,e,n))}(t,n,r)?{segmentGroup:new Hu(t.segments,Gh(t,n,r,t.children)),slicedSegments:n}:{segmentGroup:new Hu(t.segments,t.children),slicedSegments:n}}function Gh(t,e,n,r){const s={};for(const o of n)if(Qh(t,e,o)&&!r[Wl(o)]){const t=new Hu([],{});s[Wl(o)]=t}return{...r,...s}}function Wh(t,e){const n={};n[Tu]=e;for(const e of t)if(""===e.path&&Wl(e)!==Tu){const t=new Hu([],{});n[Wl(e)]=t}return n}function Qh(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}class Kh{}class Xh{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,e,n,r,s,o,i){this.injector=t,this.configLoader=e,this.rootComponentType=n,this.config=r,this.urlTree=s,this.paramsInheritanceStrategy=o,this.urlSerializer=i,this.applyRedirects=new Zh(this.urlSerializer,this.urlTree)}noMatchError(t){return new ct(4002,`'${t.segmentGroup}'`)}recognize(){const t=Bh(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(nr(({children:t,rootSnapshot:e})=>{const n=new eh(e,t),r=new ch("",n),s=function(t,e,n=null,r=null){return fl(hl(t),e,n,r)}(e,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,r.url=this.urlSerializer.serialize(s),{state:r,tree:s}}))}match(t){const e=new ah([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),Tu,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,Tu,e).pipe(nr(t=>({children:t,rootSnapshot:e})),bu(t=>{if(t instanceof Fh)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof Uh?this.noMatchError(t):t}))}processSegmentGroup(t,e,n,r,s){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,e,n,s):this.processSegment(t,e,n,n.segments,r,!0,s).pipe(nr(t=>t instanceof eh?[t]:[]))}processChildren(t,e,n,r){const s=[];for(const t of Object.keys(n.children))"primary"===t?s.unshift(t):s.push(t);return Fc(s).pipe(vu(s=>{const o=n.children[s],i=function(t,e){const n=t.filter(t=>Wl(t)===e);return n.push(...t.filter(t=>Wl(t)!==e)),n}(e,s);return this.processSegmentGroup(t,i,o,s,r)}),function(t,e){return Jn(function(t,e,n){return(r,s)=>{let o=n,i=e,a=0;r.subscribe(tr(s,e=>{const n=a++;i=o?t(i,e,n):(o=!0,e),s.next(i)},undefined))}}(t,e,arguments.length>=2))}((t,e)=>(t.push(...e),t)),du(null),function(t,e){const n=arguments.length>=2;return r=>r.pipe(t?fu((e,n)=>t(e,n,r)):Y,wu(1),n?du(e):pu(()=>new Bc))}(),ru(t=>{if(null===t)return Vh(n);const e=Jh(t);return function(t){t.sort((t,e)=>t.value.outlet===Tu?-1:e.value.outlet===Tu?1:t.value.outlet.localeCompare(e.value.outlet))}(e),qc(e)}))}processSegment(t,e,n,r,s,o,i){return Fc(e).pipe(vu(a=>this.processSegmentAgainstRoute(a._injector??t,e,a,n,r,s,o,i).pipe(bu(t=>{if(t instanceof Uh)return qc(null);throw t}))),mu(t=>!!t),bu(t=>{if(Lh(t))return function(t,e,n){return 0===e.length&&!t.children[n]}(n,r,s)?qc(new Kh):Vh(n);throw t}))}processSegmentAgainstRoute(t,e,n,r,s,o,i,a){return Wl(n)===o||o!==Tu&&Qh(r,s,n)?void 0===n.redirectTo?this.matchSegmentAgainstRoute(t,r,n,s,o,a):this.allowRedirects&&i?this.expandSegmentAgainstRouteUsingRedirect(t,r,e,n,s,o,a):Vh(r):Vh(r)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,s,o,i){const{matched:a,parameters:c,consumedSegments:u,positionalParamSegments:l,remainingSegments:h}=qh(e,r,s);if(!a)return Vh(e);"string"==typeof r.redirectTo&&"/"===r.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const f=new ah(s,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,tf(r),Wl(r),r.component??r._loadedComponent??null,r,ef(r)),d=ih(f,i,this.paramsInheritanceStrategy);return f.params=Object.freeze(d.params),f.data=Object.freeze(d.data),this.applyRedirects.applyRedirectCommands(u,r.redirectTo,l,f,t).pipe(lu(t=>this.applyRedirects.lineralizeSegments(r,t)),ru(r=>this.processSegment(t,n,e,r.concat(h),o,!1,i)))}matchSegmentAgainstRoute(t,e,n,r,s,o){const i=function(t,e,n,r){const s=qh(t,e,n);return s.matched?(r=function(t,e){return t.providers&&!t._injector&&(t._injector=$i(t.providers,e,`Route: ${t.path}`)),t._injector??e}(e,r),function(t,e,n){const r=e.canMatch;return r&&0!==r.length?qc(r.map(r=>{const s=Ah(r,t);return Lu(function(t){return t&&jh(t.canMatch)}(s)?s.canMatch(e,n):Oe(t,()=>s(e,n)))})).pipe(Dh(),zh()):qc(!0)}(r,e,n).pipe(nr(t=>!0===t?s:{...$h}))):qc(s)}(e,n,r,t);return"**"===n.path&&(e.children={}),i.pipe(lu(i=>i.matched?this.getChildConfig(t=n._injector??t,n,r).pipe(lu(({routes:r})=>{const a=n._loadedInjector??t,{parameters:c,consumedSegments:u,remainingSegments:l}=i,h=new ah(u,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,tf(n),Wl(n),n.component??n._loadedComponent??null,n,ef(n)),f=ih(h,o,this.paramsInheritanceStrategy);h.params=Object.freeze(f.params),h.data=Object.freeze(f.data);const{segmentGroup:d,slicedSegments:p}=Bh(e,u,l,r);if(0===p.length&&d.hasChildren())return this.processChildren(a,r,d,h).pipe(nr(t=>new eh(h,t)));if(0===r.length&&0===p.length)return qc(new eh(h,[]));const g=Wl(n)===s;return this.processSegment(a,r,d,p,g?Tu:s,!0,h).pipe(nr(t=>new eh(h,t instanceof eh?[t]:[])))})):Vh(e)))}getChildConfig(t,e,n){return e.children?qc({routes:e.children,injector:t}):e.loadChildren?void 0!==e._loadedRoutes?qc({routes:e._loadedRoutes,injector:e._loadedInjector}):function(t,e,n){const r=e.canLoad;return void 0===r||0===r.length?qc(!0):qc(r.map(r=>{const s=Ah(r,t);return Lu(function(t){return t&&jh(t.canLoad)}(s)?s.canLoad(e,n):Oe(t,()=>s(e,n)))})).pipe(Dh(),zh())}(t,e,n).pipe(ru(n=>n?this.configLoader.loadChildren(t,e).pipe(yu(t=>{e._loadedRoutes=t.routes,e._loadedInjector=t.injector})):iu(Ch(!1,Al.GuardRejected)))):qc({routes:[],injector:t})}}function Yh(t){const e=t.value.routeConfig;return e&&""===e.path}function Jh(t){const e=[],n=new Set;for(const r of t){if(!Yh(r)){e.push(r);continue}const t=e.find(t=>r.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...r.children),n.add(t)):e.push(r)}for(const t of n){const n=Jh(t.children);e.push(new eh(t.value,n))}return e.filter(t=>!n.has(t))}function tf(t){return t.data||{}}function ef(t){return t.resolve||{}}function nf(t){const e=t.children.map(t=>nf(t)).flat();return[t,...e]}function rf(t){return lu(e=>{const n=t(e);return n?Fc(n).pipe(nr(()=>e)):qc(e)})}let sf=(()=>{class t{buildTitle(t){let e,n=t.root;for(;void 0!==n;)e=this.getResolvedTitleForRoute(n)??e,n=n.children.find(t=>t.outlet===Tu);return e}getResolvedTitleForRoute(t){return t.data[Eu]}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:()=>Gt(of),providedIn:"root"})}return t})(),of=(()=>{class t extends sf{title;constructor(t){super(),this.title=t}updateTitle(t){const e=this.buildTitle(t);void 0!==e&&this.title.setTitle(e)}static ɵfac=function(e){return new(e||t)(Bt(Cu))};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const af=new St("",{providedIn:"root",factory:()=>({})}),cf=new St("");let uf=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=Gt($a);loadComponent(t,e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return qc(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const n=Lu(Oe(t,()=>e.loadComponent())).pipe(nr(lf),yu(t=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=t}),Su(()=>{this.componentLoaders.delete(e)})),r=new uu(n,()=>new rt).pipe(cu());return this.componentLoaders.set(e,r),r}loadChildren(t,e){if(this.childrenLoaders.get(e))return this.childrenLoaders.get(e);if(e._loadedRoutes)return qc({routes:e._loadedRoutes,injector:e._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(e);const n=function(t,e,n,r){return Lu(Oe(n,()=>t.loadChildren())).pipe(nr(lf),ru(t=>t instanceof Fi||Array.isArray(t)?qc(t):Fc(e.compileModuleAsync(t))),nr(e=>{let s,o;return r&&r(t),Array.isArray(e)?o=e:(s=e.create(n).injector,o=s.get(cf,[],{optional:!0,self:!0}).flat()),{routes:o.map(bh),injector:s}}))}(e,this.compiler,t,this.onLoadEndListener).pipe(Su(()=>{this.childrenLoaders.delete(e)})),r=new uu(n,()=>new rt).pipe(cu());return this.childrenLoaders.set(e,r),r}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();function lf(t){return function(t){return t&&"object"==typeof t&&"default"in t}(t)?t.default:t}let hf=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:()=>Gt(ff),providedIn:"root"})}return t})(),ff=(()=>{class t{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const df=new St(""),pf=new St("");let gf=(()=>{class t{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new rt;transitionAbortWithErrorSubject=new rt;configLoader=Gt(uf);environmentInjector=Gt(Te);destroyRef=Gt(Ln);urlSerializer=Gt(qu);rootContexts=Gt(Xl);location=Gt(Sc);inputBindingEnabled=null!==Gt(vh,{optional:!0});titleStrategy=Gt(sf);options=Gt(af,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=Gt(hf);createViewTransition=Gt(df,{optional:!0});navigationErrorHandler=Gt(pf,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>qc(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=t=>this.events.next(new Vl(t)),this.configLoader.onLoadStartListener=t=>this.events.next(new Fl(t)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(t){const e=++this.navigationId;this.transitions?.next({...t,extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:e})}setupNavigations(t){return this.transitions=new it(null),this.transitions.pipe(fu(t=>null!==t),lu(e=>{let n=!1;return qc(e).pipe(lu(n=>{if(this.navigationId>e.id)return this.cancelNavigationTransition(e,"",Al.SupersededByNewNavigation),au;this.currentTransition=e,this.currentNavigation={id:n.id,initialUrl:n.rawUrl,extractedUrl:n.extractedUrl,targetBrowserUrl:"string"==typeof n.extras.browserUrl?this.urlSerializer.parse(n.extras.browserUrl):n.extras.browserUrl,trigger:n.source,extras:n.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null,abort:()=>n.abortController.abort()};const r=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!r&&"reload"!==(n.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const t="";return this.events.next(new jl(n.id,this.urlSerializer.serialize(n.rawUrl),t,Ol.IgnoredSameUrlNavigation)),n.resolve(!1),au}if(this.urlHandlingStrategy.shouldProcessUrl(n.rawUrl))return qc(n).pipe(lu(t=>(this.events.next(new Il(t.id,this.urlSerializer.serialize(t.extractedUrl),t.source,t.restoredState)),t.id!==this.navigationId?au:Promise.resolve(t))),function(t,e,n,r,s,o){return ru(i=>function(t,e,n,r,s,o,i="emptyOnly"){return new Xh(t,e,n,r,s,i,o).recognize()}(t,e,n,r,i.extractedUrl,s,o).pipe(nr(({state:t,tree:e})=>({...i,targetSnapshot:t,urlAfterRedirects:e}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),yu(t=>{e.targetSnapshot=t.targetSnapshot,e.urlAfterRedirects=t.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:t.urlAfterRedirects};const n=new Nl(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(n)}));if(r&&this.urlHandlingStrategy.shouldProcessUrl(n.currentRawUrl)){const{id:t,extractedUrl:r,source:s,restoredState:o,extras:i}=n,a=new Il(t,this.urlSerializer.serialize(r),s,o);this.events.next(a);const c=sh(this.rootComponentType).snapshot;return this.currentTransition=e={...n,targetSnapshot:c,urlAfterRedirects:r,extras:{...i,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=r,qc(e)}{const t="";return this.events.next(new jl(n.id,this.urlSerializer.serialize(n.extractedUrl),t,Ol.IgnoredByUrlHandlingStrategy)),n.resolve(!1),au}}),yu(t=>{const e=new Dl(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(e)}),nr(t=>(this.currentTransition=e={...t,guards:Rh(t.targetSnapshot,t.currentSnapshot,this.rootContexts)},e)),function(t,e){return ru(n=>{const{targetSnapshot:r,currentSnapshot:s,guards:{canActivateChecks:o,canDeactivateChecks:i}}=n;return 0===i.length&&0===o.length?qc({...n,guardsResult:!0}):function(t,e,n,r){return Fc(t).pipe(ru(t=>function(t,e,n,r,s){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return o&&0!==o.length?qc(o.map(o=>{const i=Ql(e)??s,a=Ah(o,i);return Lu(function(t){return t&&jh(t.canDeactivate)}(a)?a.canDeactivate(t,e,n,r):Oe(i,()=>a(t,e,n,r))).pipe(mu())})).pipe(Dh()):qc(!0)}(t.component,t.route,n,e,r)),mu(t=>!0!==t,!0))}(i,r,s,t).pipe(ru(n=>n&&function(t){return"boolean"==typeof t}(n)?function(t,e,n,r){return Fc(e).pipe(vu(e=>su(function(t,e){return null!==t&&e&&e(new Hl(t)),qc(!0)}(e.route.parent,r),function(t,e){return null!==t&&e&&e(new $l(t)),qc(!0)}(e.route,r),function(t,e,n){const r=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>ou(()=>qc(e.guards.map(s=>{const o=Ql(e.node)??n,i=Ah(s,o);return Lu(function(t){return t&&jh(t.canActivateChild)}(i)?i.canActivateChild(r,t):Oe(o,()=>i(r,t))).pipe(mu())})).pipe(Dh())));return qc(s).pipe(Dh())}(t,e.path,n),function(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||0===r.length)return qc(!0);const s=r.map(r=>ou(()=>{const s=Ql(e)??n,o=Ah(r,s);return Lu(function(t){return t&&jh(t.canActivate)}(o)?o.canActivate(e,t):Oe(s,()=>o(e,t))).pipe(mu())}));return qc(s).pipe(Dh())}(t,e.route,n))),mu(t=>!0!==t,!0))}(r,o,t,e):qc(n)),nr(t=>({...n,guardsResult:t})))})}(this.environmentInjector,t=>this.events.next(t)),yu(t=>{if(e.guardsResult=t.guardsResult,t.guardsResult&&"boolean"!=typeof t.guardsResult)throw kh(0,t.guardsResult);const n=new Ml(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.events.next(n)}),fu(t=>!!t.guardsResult||(this.cancelNavigationTransition(t,"",Al.GuardRejected),!1)),rf(t=>{if(0!==t.guards.canActivateChecks.length)return qc(t).pipe(yu(t=>{const e=new zl(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(e)}),lu(t=>{let e=!1;return qc(t).pipe(function(t,e){return ru(n=>{const{targetSnapshot:r,guards:{canActivateChecks:s}}=n;if(!s.length)return qc(n);const o=new Set(s.map(t=>t.route)),i=new Set;for(const t of o)if(!i.has(t))for(const e of nf(t))i.add(e);let a=0;return Fc(i).pipe(vu(n=>o.has(n)?function(t,e,n,r){const s=t.routeConfig,o=t._resolve;return void 0!==s?.title&&!dh(s)&&(o[Eu]=s.title),ou(()=>(t.data=ih(t,t.parent,n).resolve,function(t,e,n,r){const s=Ou(t);if(0===s.length)return qc({});const o={};return Fc(s).pipe(ru(s=>function(t,e,n,r){const s=Ql(e)??r,o=Ah(t,s);return Lu(o.resolve?o.resolve(e,n):Oe(s,()=>o(e,n)))}(t[s],e,n,r).pipe(mu(),yu(t=>{if(t instanceof _h)throw kh(new Bu,t);o[s]=t}))),wu(1),nr(()=>o),bu(t=>Lh(t)?au:iu(t)))}(o,t,e,r).pipe(nr(e=>(t._resolvedData=e,t.data={...t.data,...e},null)))))}(n,r,t,e):(n.data=ih(n,n.parent,t).resolve,qc(void 0))),yu(()=>a++),wu(1),ru(t=>a===i.size?qc(n):au))})}(this.paramsInheritanceStrategy,this.environmentInjector),yu({next:()=>e=!0,complete:()=>{e||this.cancelNavigationTransition(t,"",Al.NoDataFromResolver)}}))}),yu(t=>{const e=new Ul(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(e)}))}),rf(t=>{const e=t=>{const n=[];if(t.routeConfig?.loadComponent&&!t.routeConfig._loadedComponent){const e=Ql(t)??this.environmentInjector;n.push(this.configLoader.loadComponent(e,t.routeConfig).pipe(yu(e=>{t.component=e}),nr(()=>{})))}for(const r of t.children)n.push(...e(r));return n};return eu(e(t.targetSnapshot.root)).pipe(du(null),hu(1))}),rf(()=>this.afterPreactivation()),lu(()=>{const{currentSnapshot:t,targetSnapshot:n}=e,r=this.createViewTransition?.(this.environmentInjector,t.root,n.root);return r?Fc(r).pipe(nr(()=>e)):qc(e)}),nr(n=>{const r=function(t,e,n){const r=wh(t,e._root,n?n._root:void 0);return new rh(r,e)}(t.routeReuseStrategy,n.targetSnapshot,n.currentRouterState);return this.currentTransition=e={...n,targetRouterState:r},this.currentNavigation.targetRouterState=r,e}),yu(()=>{this.events.next(new Bl)}),((t,e,n,r)=>nr(s=>(new Eh(e,s.targetRouterState,s.currentRouterState,n,r).activate(t),s)))(this.rootContexts,t.routeReuseStrategy,t=>this.events.next(t),this.inputBindingEnabled),hu(1),ku(new tt(t=>{const n=e.abortController.signal,r=()=>t.next();return n.addEventListener("abort",r),()=>n.removeEventListener("abort",r)}).pipe(fu(()=>!n&&!e.targetRouterState),yu(()=>{this.cancelNavigationTransition(e,e.abortController.signal.reason+"",Al.Aborted)}))),yu({next:t=>{n=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Rl(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects))),this.titleStrategy?.updateTitle(t.targetRouterState.snapshot),t.resolve(!0)},complete:()=>{n=!0}}),ku(this.transitionAbortWithErrorSubject.pipe(yu(t=>{throw t}))),Su(()=>{n||this.cancelNavigationTransition(e,"",Al.SupersededByNewNavigation),this.currentTransition?.id===e.id&&(this.currentNavigation=null,this.currentTransition=null)}),bu(t=>{if(this.destroyed)return e.resolve(!1),au;if(n=!0,Th(t))this.events.next(new Pl(e.id,this.urlSerializer.serialize(e.extractedUrl),t.message,t.cancellationCode)),function(t){return Th(t)&&ll(t.url)}(t)?this.events.next(new Gl(t.url,t.navigationBehaviorOptions)):e.resolve(!1);else{const n=new Ll(e.id,this.urlSerializer.serialize(e.extractedUrl),t,e.targetSnapshot??void 0);try{const r=Oe(this.environmentInjector,()=>this.navigationErrorHandler?.(n));if(!(r instanceof _h))throw this.events.next(n),t;{const{message:t,cancellationCode:n}=kh(0,r);this.events.next(new Pl(e.id,this.urlSerializer.serialize(e.extractedUrl),t,n)),this.events.next(new Gl(r.redirectTo,r.navigationBehaviorOptions))}}catch(t){this.options.resolveNavigationPromiseOnError?e.resolve(!1):e.reject(t)}}return au}))}))}cancelNavigationTransition(t,e,n){const r=new Pl(t.id,this.urlSerializer.serialize(t.extractedUrl),e,n);this.events.next(r),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),e=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return t.toString()!==e?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();function mf(t){return t!==Tl}let vf=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:()=>Gt(bf),providedIn:"root"})}return t})();class yf{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}let bf=(()=>{class t extends yf{static ɵfac=(()=>{let e;return function(n){return(e||(e=Qr(t)))(n||t)}})();static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})(),wf=(()=>{class t{urlSerializer=Gt(qu);options=Gt(af,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=Gt(Sc);urlHandlingStrategy=Gt(hf);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Vu;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:t,initialUrl:e,targetBrowserUrl:n}){const r=void 0!==t?this.urlHandlingStrategy.merge(t,e):e,s=n??r;return s instanceof Vu?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:t,finalUrl:e,initialUrl:n}){e&&t?(this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(e,n),this.routerState=t):this.rawUrlTree=n}routerState=sh(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:t}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t??this.rawUrlTree)}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:()=>Gt(_f),providedIn:"root"})}return t})(),_f=(()=>{class t extends wf{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.ɵrouterPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(e=>{"popstate"===e.type&&setTimeout(()=>{t(e.url,e.state,"popstate")})})}handleRouterEvent(t,e){t instanceof Il?this.updateStateMemento():t instanceof jl?this.commitTransition(e):t instanceof Nl?"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(e),e)):t instanceof Bl?(this.commitTransition(e),"deferred"===this.urlUpdateStrategy&&!e.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(e),e)):t instanceof Pl&&t.code!==Al.SupersededByNewNavigation&&t.code!==Al.Redirect?this.restoreHistory(e):t instanceof Ll?this.restoreHistory(e,!0):t instanceof Rl&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,{extras:e,id:n}){const{replaceUrl:r,state:s}=e;if(this.location.isCurrentPathEqualTo(t)||r){const e=this.browserPageId,r={...s,...this.generateNgRouterState(n,e)};this.location.replaceState(t,"",r)}else{const e={...s,...this.generateNgRouterState(n,this.browserPageId+1)};this.location.go(t,"",e)}}restoreHistory(t,e=!1){if("computed"===this.canceledNavigationResolution){const e=this.currentPageId-this.browserPageId;0!==e?this.location.historyGo(e):this.getCurrentUrlTree()===t.finalUrl&&0===e&&(this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(e&&this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,ɵrouterPageId:e}:{navigationId:t}}static ɵfac=(()=>{let e;return function(n){return(e||(e=Qr(t)))(n||t)}})();static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const Sf={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},kf={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Cf=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=Gt(ya);stateManager=Gt(wf);options=Gt(af,{optional:!0})||{};pendingTasks=Gt(Bn);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=Gt(gf);urlSerializer=Gt(qu);location=Gt(Sc);urlHandlingStrategy=Gt(hf);injector=Gt(Te);_events=new rt;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=Gt(vf);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=Gt(cf,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!Gt(vh,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}eventsSubscription=new O;subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe(t=>{try{const e=this.navigationTransitions.currentTransition,n=this.navigationTransitions.currentNavigation;if(null!==e&&null!==n)if(this.stateManager.handleRouterEvent(t,n),t instanceof Pl&&t.code!==Al.Redirect&&t.code!==Al.SupersededByNewNavigation)this.navigated=!0;else if(t instanceof Rl)this.navigated=!0;else if(t instanceof Gl){const n=t.navigationBehaviorOptions,r=this.urlHandlingStrategy.merge(t.url,e.currentRawUrl),s={browserUrl:e.extras.browserUrl,info:e.extras.info,skipLocationChange:e.extras.skipLocationChange,replaceUrl:e.extras.replaceUrl||"eager"===this.urlUpdateStrategy||mf(e.source),...n};this.scheduleNavigation(r,Tl,null,s,{resolve:e.resolve,reject:e.reject,promise:e.promise})}(function(t){return!(t instanceof Bl||t instanceof Gl)})(t)&&this._events.next(t)}catch(t){this.navigationTransitions.transitionAbortWithErrorSubject.next(t)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Tl,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,e,n)=>{this.navigateToSyncWithBrowser(t,n,e)})}navigateToSyncWithBrowser(t,e,n){const r={replaceUrl:!0},s=n?.navigationId?n:null;if(n){const t={...n};delete t.navigationId,delete t.ɵrouterPageId,0!==Object.keys(t).length&&(r.state=t)}const o=this.parseUrl(t);this.scheduleNavigation(o,e,s,r).catch(t=>{this.disposed||this.injector.get(zn)(t)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(bh),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,e={}){const{relativeTo:n,queryParams:r,fragment:s,queryParamsHandling:o,preserveFragment:i}=e,a=i?this.currentUrlTree.fragment:s;let c,u=null;switch(o??this.options.defaultQueryParamsHandling){case"merge":u={...this.currentUrlTree.queryParams,...r};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=r||null}null!==u&&(u=this.removeEmptyProps(u));try{c=hl(n?n.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||"/"!==t[0][0])&&(t=[]),c=this.currentUrlTree.root}return fl(c,t,u,a??null)}navigateByUrl(t,e={skipLocationChange:!1}){const n=ll(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,Tl,null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++)if(null==t[e])throw new ct(4008,!1)}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,e){let n;if(n=!0===e?{...Sf}:!1===e?{...kf}:e,ll(t))return Mu(this.currentUrlTree,t,n);const r=this.parseUrl(t);return Mu(this.currentUrlTree,r,n)}removeEmptyProps(t){return Object.entries(t).reduce((t,[e,n])=>(null!=n&&(t[e]=n),t),{})}scheduleNavigation(t,e,n,r,s){if(this.disposed)return Promise.resolve(!1);let o,i,a;s?(o=s.resolve,i=s.reject,a=s.promise):a=new Promise((t,e)=>{o=t,i=e});const c=this.pendingTasks.add();return function(t,e){t.events.pipe(fu(t=>t instanceof Rl||t instanceof Pl||t instanceof Ll||t instanceof jl),nr(t=>t instanceof Rl||t instanceof jl?0:t instanceof Pl&&(t.code===Al.Redirect||t.code===Al.SupersededByNewNavigation)?2:1),fu(t=>2!==t),hu(1)).subscribe(()=>{e()})}(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(c))}),this.navigationTransitions.handleNavigationRequest({source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:r,resolve:o,reject:i,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch(t=>Promise.reject(t))}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})(),Tf=(()=>{class t extends gc{constructor(){super(...arguments),this.skipNextPopState=!1,this.source="Window.addEventListener:popstate"}pushState(t,e,n){this.skipNextPopState=!0,super.pushState(t,e,n)}replaceState(t,e,n){this.skipNextPopState=!0,super.replaceState(t,e,n)}onPopState(t){return t=Zone.current.wrap(t,this.source),super.onPopState(e=>{this.skipNextPopState&&e.singleSpa?this.skipNextPopState=!1:t(e)})}static#t=this.ɵfac=(()=>{let e;return function(n){return(e||(e=Qr(t)))(n||t)}})();static#e=this.ɵprov=vt({token:t,factory:t.ɵfac})}return t})();const Ef={NgZone:null,bootstrapFunction:null,template:null,Router:void 0,domElementGetter:void 0,updateFunction:()=>Promise.resolve(),bootstrappedNgModuleRefOrAppRef:null};function xf(t){return If.apply(this,arguments)}function If(){return(If=Xn(function*(t){"noop"!==t.NgZone&&(t.NgZone.assertInAngularZone=()=>{},t.NgZone.assertNotInAngularZone=()=>{},t.routingEventListener=()=>{t.bootstrappedNgZone.run(()=>{})})})).apply(this,arguments)}function Rf(t,e){return Af.apply(this,arguments)}function Af(){return(Af=Xn(function*(t,e){!function(t,e){const n=function(t,e){return(e=e?.customProps??e).domElement?()=>e.domElement:e.domElementGetter?e.domElementGetter:t.domElementGetter?t.domElementGetter:function(t){return function(){const e=`single-spa-application:${t}`;let n=document.getElementById(e);return n||(n=document.createElement("div"),n.id=e,document.body.appendChild(n)),n}}(e.name)}(t,e),r=function(t,e){return t(e)}(n,e);r.innerHTML=t.template}(t,e);const n=t.bootstrapFunction(e),r=yield n,s=r.injector.get(Tf,null),o=t;if("noop"!==t.NgZone){const e=r.injector.get(t.NgZone);null!==s&&function(t,e){if(!e.NavigationStart)return;const n=t.injector.get(e.Router),r=n.events.subscribe(t=>{if(t instanceof e.NavigationStart){const t=n.getCurrentNavigation();"imperative"!==t.trigger&&(t.extras.skipLocationChange=!0,t.extras.replaceUrl=!1)}});t.onDestroy(()=>r.unsubscribe())}(r,t),o.bootstrappedNgZone=e,window.addEventListener("single-spa:routing-event",o.routingEventListener)}return o.bootstrappedNgModuleRefOrAppRef=r,r})).apply(this,arguments)}function Of(t){return Promise.resolve().then(()=>{t.routingEventListener&&window.removeEventListener("single-spa:routing-event",t.routingEventListener),t.bootstrappedNgModuleRefOrAppRef.destroy(),t.bootstrappedNgModuleRefOrAppRef=null})}const Pf={now:()=>(Pf.delegate||Date).now(),delegate:void 0};class jf extends rt{constructor(t=1/0,e=1/0,n=Pf){super(),this._bufferSize=t,this._windowTime=e,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,e)}next(t){const{isStopped:e,_buffer:n,_infiniteTimeWindow:r,_timestampProvider:s,_windowTime:o}=this;e||(n.push(t),!r&&n.push(s.now()+o)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(t),{_infiniteTimeWindow:n,_buffer:r}=this,s=r.slice();for(let e=0;e<s.length&&!t.closed;e+=n?1:2)t.next(s[e]);return this._checkFinalizedStatuses(t),e}_trimBuffer(){const{_bufferSize:t,_timestampProvider:e,_buffer:n,_infiniteTimeWindow:r}=this,s=(r?1:2)*t;if(t<1/0&&s<n.length&&n.splice(0,n.length-s),!r){const t=e.now();let r=0;for(let e=1;e<n.length&&n[e]<=t;e+=2)r=e;r&&n.splice(0,r+1)}}}const Lf=new jf(1),Nf=new St("");let Df=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,e){this._zone=e,t.forEach(t=>{t.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,e,n,r){return this._findPluginFor(e).addEventListener(t,e,n,r)}getZone(){return this._zone}_findPluginFor(t){let e=this._eventNameToPlugin.get(t);if(e)return e;if(e=this._plugins.find(e=>e.supports(t)),!e)throw new ct(5101,!1);return this._eventNameToPlugin.set(t,e),e}static ɵfac=function(e){return new(e||t)(Bt(Nf),Bt(ua))};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})();class Mf{_doc;constructor(t){this._doc=t}manager}const zf="ng-app-id";function Uf(t){for(const e of t)e.remove()}function Ff(t,e){const n=e.createElement("style");return n.textContent=t,n}function Vf(t,e){const n=e.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",t),n}let Hf=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(t,e,n,r={}){this.doc=t,this.appId=e,this.nonce=n,function(t,e,n,r){const s=t.head?.querySelectorAll(`style[${zf}="${e}"],link[${zf}="${e}"]`);if(s)for(const t of s)t.removeAttribute(zf),t instanceof HTMLLinkElement?r.set(t.href.slice(t.href.lastIndexOf("/")+1),{usage:0,elements:[t]}):t.textContent&&n.set(t.textContent,{usage:0,elements:[t]})}(t,e,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,e){for(const e of t)this.addUsage(e,this.inline,Ff);e?.forEach(t=>this.addUsage(t,this.external,Vf))}removeStyles(t,e){for(const e of t)this.removeUsage(e,this.inline);e?.forEach(t=>this.removeUsage(t,this.external))}addUsage(t,e,n){const r=e.get(t);r?r.usage++:e.set(t,{usage:1,elements:[...this.hosts].map(e=>this.addElement(e,n(t,this.doc)))})}removeUsage(t,e){const n=e.get(t);n&&(n.usage--,n.usage<=0&&(Uf(n.elements),e.delete(t)))}ngOnDestroy(){for(const[,{elements:t}]of[...this.inline,...this.external])Uf(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(const[e,{elements:n}]of this.inline)n.push(this.addElement(t,Ff(e,this.doc)));for(const[e,{elements:n}]of this.external)n.push(this.addElement(t,Vf(e,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,e){return this.nonce&&e.setAttribute("nonce",this.nonce),t.appendChild(e)}static ɵfac=function(e){return new(e||t)(Bt(jn),Bt(ps),Bt(ys,8),Bt(vs))};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})();const Zf={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},$f=/%COMP%/g,qf=new St("",{providedIn:"root",factory:()=>!0});function Bf(t,e){return e.map(e=>e.replace($f,t))}let Gf=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(t,e,n,r,s,o,i,a=null,c=null){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.removeStylesOnCompDestroy=r,this.doc=s,this.platformId=o,this.ngZone=i,this.nonce=a,this.tracingService=c,this.platformIsServer=!1,this.defaultRenderer=new Wf(t,s,i,this.platformIsServer,this.tracingService)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;const n=this.getOrCreateRenderer(t,e);return n instanceof Yf?n.applyToHost(t):n instanceof Xf&&n.applyStyles(),n}getOrCreateRenderer(t,e){const n=this.rendererByCompId;let r=n.get(e.id);if(!r){const s=this.doc,o=this.ngZone,i=this.eventManager,a=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,u=this.platformIsServer,l=this.tracingService;switch(e.encapsulation){case Cs.Emulated:r=new Yf(i,a,e,this.appId,c,s,o,u,l);break;case Cs.ShadowDom:return new Kf(i,a,t,e,s,o,this.nonce,u,l);default:r=new Xf(i,a,e,c,s,o,u,l)}n.set(e.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static ɵfac=function(e){return new(e||t)(Bt(Df),Bt(Hf),Bt(ps),Bt(qf),Bt(jn),Bt(vs),Bt(ua),Bt(ys),Bt(ea,8))};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})();class Wf{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,e,n,r,s){this.eventManager=t,this.doc=e,this.ngZone=n,this.platformIsServer=r,this.tracingService=s}destroy(){}destroyNode=null;createElement(t,e){return e?this.doc.createElementNS(Zf[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(Qf(t)?t.content:t).appendChild(e)}insertBefore(t,e,n){t&&(Qf(t)?t.content:t).insertBefore(e,n)}removeChild(t,e){e.remove()}selectRootElement(t,e){let n="string"==typeof t?this.doc.querySelector(t):t;if(!n)throw new ct(-5104,!1);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const s=Zf[r];s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=Zf[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&(co.DashCase|co.Important)?t.style.setProperty(e,n,r&co.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&co.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){null!=t&&(t[e]=n)}setValue(t,e){t.nodeValue=e}listen(t,e,n,r){if("string"==typeof t&&!(t=fc().getGlobalEventTarget(this.doc,t)))throw new ct(5102,!1);let s=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(s=this.tracingService.wrapEventListener(t,e,s)),this.eventManager.addEventListener(t,e,s,r)}decoratePreventDefault(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&e.preventDefault()}}}function Qf(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class Kf extends Wf{sharedStylesHost;hostEl;shadowRoot;constructor(t,e,n,r,s,o,i,a,c){super(t,s,o,a,c),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=Bf(r.id,u);for(const t of u){const e=document.createElement("style");i&&e.setAttribute("nonce",i),e.textContent=t,this.shadowRoot.appendChild(e)}const l=r.getExternalStyles?.();if(l)for(const t of l){const e=Vf(t,s);i&&e.setAttribute("nonce",i),this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(null,e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Xf extends Wf{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,e,n,r,s,o,i,a,c){super(t,s,o,i,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let u=n.styles;this.styles=c?Bf(c,u):u,this.styleUrls=n.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class Yf extends Xf{contentAttr;hostAttr;constructor(t,e,n,r,s,o,i,a,c){const u=r+"-"+n.id;super(t,e,n,s,o,i,a,c,u),this.contentAttr=function(t){return"_ngcontent-%COMP%".replace($f,t)}(u),this.hostAttr=function(t){return"_nghost-%COMP%".replace($f,t)}(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class Jf extends dc{supportsDOMEvents=!0;static makeCurrent(){!function(t){hc??=t}(new Jf)}onAndCancel(t,e,n,r){return t.addEventListener(e,n,r),()=>{t.removeEventListener(e,n,r)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.remove()}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=(td=td||document.head.querySelector("base"),td?td.getAttribute("href"):null);return null==e?null:function(t){return new URL(t,document.baseURI).pathname}(e)}resetBaseElement(){td=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,s]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(s)}return null}(document.cookie,t)}}let td=null,ed=(()=>{class t{build(){return new XMLHttpRequest}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})();const nd=["alt","control","meta","shift"],rd={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},sd={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};function od(t){return{appProviders:[...ad,...t?.providers??[]],platformProviders:id}}const id=[{provide:vs,useValue:"browser"},{provide:ms,useValue:function(){Jf.makeCurrent()},multi:!0},{provide:jn,useFactory:function(){return function(t){ds=t}(document),document}}],ad=[{provide:we,useValue:"root"},{provide:Mn,useFactory:function(){return new Mn}},{provide:Nf,useClass:(()=>{class t extends Mf{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n,r){return t.addEventListener(e,n,r),()=>this.removeEventListener(t,e,n,r)}removeEventListener(t,e,n,r){return t.removeEventListener(e,n,r)}static ɵfac=function(e){return new(e||t)(Bt(jn))};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})(),multi:!0,deps:[jn]},{provide:Nf,useClass:(()=>{class t extends Mf{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r,s){const o=t.parseEventName(n),i=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>fc().onAndCancel(e,o.domEventName,i,s))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const s=t._normalizeKey(n.pop());let o="",i=n.indexOf("code");if(i>-1&&(n.splice(i,1),o="code."),nd.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),o+=t+".")}),o+=s,0!=n.length||0===s.length)return null;const a={};return a.domEventName=r,a.fullKey=o,a}static matchEventFullKeyCode(t,e){let n=rd[t.key]||t.key,r="";return e.indexOf("code.")>-1&&(n=t.code,r="code."),!(null==n||!n)&&(n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),nd.forEach(e=>{e!==n&&(0,sd[e])(t)&&(r+=e+".")}),r+=n,r===e)}static eventCallback(e,n,r){return s=>{t.matchEventFullKeyCode(s,e)&&r.runGuarded(()=>n(s))}}static _normalizeKey(t){return"esc"===t?"escape":t}static ɵfac=function(e){return new(e||t)(Bt(jn))};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})(),multi:!0,deps:[jn]},Gf,Hf,Df,{provide:si,useExisting:Gf},{provide:class{},useClass:ed},[]];Error,Error;let cd=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=Fn(null);get href(){return function(t){return function(t){const e=u(null);try{return t()}finally{u(e)}}(t)}(this.reactiveHref)}set href(t){this.reactiveHref.set(t)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new rt;applicationErrorHandler=Gt(zn);options=Gt(af,{optional:!0});constructor(t,e,n,r,s,o){this.router=t,this.route=e,this.tabIndexAttribute=n,this.renderer=r,this.el=s,this.locationStrategy=o,this.reactiveHref.set(Gt(new ec("href"),{optional:!0}));const i=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===i||"area"===i||!("object"!=typeof customElements||!customElements.get(i)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(void 0!==this.subscription||!this.isAnchorElement)return;let t=this.preserveFragment;const e=t=>"merge"===t||"preserve"===t;t||=e(this.queryParamsHandling),t||=!this.queryParamsHandling&&!e(this.options?.defaultQueryParamsHandling),t&&(this.subscription=this.router.events.subscribe(t=>{t instanceof Rl&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(t){null==t?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=ll(t)||Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,e,n,r,s){const o=this.urlTree;if(null===o||this.isAnchorElement&&(0!==t||e||n||r||s||"string"==typeof this.target&&"_self"!=this.target))return!0;const i={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(o,i)?.catch(t=>{this.applicationErrorHandler(t)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const t=this.urlTree;this.reactiveHref.set(null!==t&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t))??"":null)}applyAttributeValue(t,e){const n=this.renderer,r=this.el.nativeElement;null!==e?n.setAttribute(r,t,e):n.removeAttribute(r,t)}get urlTree(){return null===this.routerLinkInput?null:ll(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static ɵfac=function(e){return new(e||t)(li(Cf),li(oh),Yr("tabindex"),li(oi),li(es),li(bc))};static ɵdir=Ki({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&Ma("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&xa("href",e.reactiveHref(),Ls)("target",e.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",lc],skipLocationChange:[2,"skipLocationChange","skipLocationChange",lc],replaceUrl:[2,"replaceUrl","replaceUrl",lc],routerLink:"routerLink"},features:[cr]})}return t})();const ud=new St("");function ld(t){return t.routerState.root}function hd(){const t=Gt(Pn);return e=>{const n=t.get(Ta);if(e!==n.components[0])return;const r=t.get(Cf),s=t.get(fd);1===t.get(dd)&&r.initialNavigation(),t.get(pd,null,{optional:!0})?.setUpPreloading(),t.get(ud,null,{optional:!0})?.init(),r.resetRootComponentType(n.componentTypes[0]),s.closed||(s.next(),s.complete(),s.unsubscribe())}}const fd=new St("",{factory:()=>new rt}),dd=new St("",{providedIn:"root",factory:()=>1}),pd=new St("");let gd=(()=>{class t{constructor(){this.title="workbench"}static#t=this.ɵfac=function(e){return new(e||t)};static#e=this.ɵcmp=Bi({type:t,selectors:[["app-root"]],decls:15,vars:0,consts:[[1,"main-container"],["routerLink","/sparql"],["routerLink","/sparql-new"],["routerLink","/new-view"]],template:function(t,e){1&t&&(Ra(0,"div",0)(1,"h1"),za(2,"Workbench - Angular18 - internal navigation"),Aa(),Ra(3,"nav")(4,"ul")(5,"li")(6,"a",1),za(7,"Sparql"),Aa()(),Ra(8,"li")(9,"a",2),za(10,"Sparql new"),Aa()(),Ra(11,"li")(12,"a",3),za(13,"New view"),Aa()()()(),Oa(14,"router-outlet"),Aa())},dependencies:[gh,cd],styles:[".main-container[_ngcontent-%COMP%]{margin-left:15rem;padding:0 2rem 3rem}"]})}return t})(),md=(()=>{class t{static#t=this.ɵfac=function(e){return new(e||t)};static#e=this.ɵcmp=Bi({type:t,selectors:[["app-sparql"]],decls:2,vars:0,template:function(t,e){1&t&&(Pa(0,"p"),za(1,"sparql works!"),ja())},encapsulation:2})}return t})(),vd=(()=>{class t{static#t=this.ɵfac=function(e){return new(e||t)};static#e=this.ɵcmp=Bi({type:t,selectors:[["app-empty-route"]],decls:0,vars:0,template:function(t,e){},encapsulation:2})}return t})();const yd=(st.d(bd={},{AuthenticationService:()=>Ua.AuthenticationService,LanguageContextService:()=>Ua.LanguageContextService,LanguageService:()=>Ua.LanguageService,RepositoryContextService:()=>Ua.RepositoryContextService,ServiceProvider:()=>Ua.ServiceProvider}),bd);var bd;function wd(...t){const e=Zc(t),{args:n,keys:r}=Xc(t),s=new tt(t=>{const{length:e}=n;if(!e)return void t.complete();const s=new Array(e);let o=e,i=e;for(let a=0;a<e;a++){let e=!1;Lc(n[a]).subscribe(tr(t,t=>{e||(e=!0,i--),s[a]=t},()=>o--,void 0,()=>{(!o||!e)&&(i||t.next(r?tu(r,s):s),t.complete())}))}});return e?s.pipe(Jc(e)):s}class _d extends O{constructor(t,e){super()}schedule(t,e=0){return this}}const Sd={setInterval(t,e,...n){const{delegate:r}=Sd;return r?.setInterval?r.setInterval(t,e,...n):setInterval(t,e,...n)},clearInterval(t){const{delegate:e}=Sd;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};class kd{constructor(t,e=kd.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,n){return new this.schedulerActionCtor(this,t).schedule(n,e)}}kd.now=Pf.now;const Cd=new class extends kd{constructor(t,e=kd.now){super(t,e),this.actions=[],this._active=!1}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let n;this._active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}(class extends _d{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){var n;if(this.closed)return this;this.state=t;const r=this.id,s=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(s,r,e)),this.pending=!0,this.delay=e,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(s,this.id,e),this}requestAsyncId(t,e,n=0){return Sd.setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!=n&&this.delay===n&&!1===this.pending)return e;null!=e&&Sd.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n,r=!1;try{this.work(t)}catch(t){r=!0,n=t||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:n}=e;this.work=this.state=this.scheduler=null,this.pending=!1,A(n,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}});function Td(t,e,...n){if(!0===e)return void t();if(!1===e)return;const r=new G({next:()=>{r.unsubscribe(),t()}});return Lc(e(...n)).subscribe(r)}class Ed{translations;constructor(t){this.translations=t}getTranslation(t){return qc(this.translations.get(t)||{})}}const xd=new St("");function Id(t,e){return t&&(Object.prototype.hasOwnProperty.call(t,e)?t[e]:e.split(".").reduce((t,e)=>t?.[e],t))}function Rd(t){return t?Array.isArray(t)?t.length:Od(t)?Object.keys(t).length:t?t.length:0:0}function Ad(t){return"string"==typeof t}function Od(t){return!!t&&"object"==typeof t&&!Array.isArray(t)}function Pd(t){return t.replace(/(?:^\w|[A-Z]|\b\w)/g,(t,e)=>0==e?t.toLowerCase():t.toUpperCase()).replace(/\s+|_|-|\//g,"")}function jd(t){return null==t}function Ld(t){return!1===jd(t)}function Nd(t){return t&&"string"==typeof t.scope}function Dd(t){const e={};return function t(n,r){if(null===n)e[r]=null;else if(Od(n))for(const[e,s]of Object.entries(n))t(s,r?`${r}.${e}`:e);else e[r]=n}(t,""),e}const Md=new St("",{providedIn:"root",factory:()=>zd}),zd={defaultLang:"en",reRenderOnLangChange:!1,prodMode:!1,failedRetries:2,fallbackLang:[],availableLangs:[],missingHandler:{logMissingKey:!0,useFallbackTranslation:!1,allowEmpty:!1},flatten:{aot:!1},interpolation:["{{","}}"],scopes:{keepCasing:!1}};function Ud(t={}){return{...zd,...t,missingHandler:{...zd.missingHandler,...t.missingHandler},flatten:{...zd.flatten,...t.flatten},scopes:{...zd.scopes,...t.scopes}}}const Fd=new St("");let Vd=(()=>{class t{config=Gt(Md,{optional:!0})??zd;get interpolationMatcher(){return function(t){const[e,n]=t.interpolation;return new RegExp(`${e}([^${e}${n}]*?)${n}`,"g")}(this.config)}transpile({value:t,params:e={},translation:n,key:r}){if(Ad(t)){let s,o=t;for(;null!==(s=this.interpolationMatcher.exec(o));){const[t,i]=s;o=o.replace(t,()=>{const t=i.trim(),s=Id(e,t);return Ld(s)?s:Ld(n[t])?this.transpile({params:e,translation:n,key:r,value:n[t]}):""})}return o}return e&&(Od(t)?t=this.handleObject({value:t,params:e,translation:n,key:r}):Array.isArray(t)&&(t=this.handleArray({value:t,params:e,translation:n,key:r}))),t}handleObject({value:t,params:e={},translation:n,key:r}){let s=t;return Object.keys(e).forEach(t=>{const o=this.transpile({value:Id(s,t),params:Id(e,t),translation:n,key:r});s=function(t,e,n){t={...t};const r=e.split("."),s=r.length-1;return r.reduce((t,e,r)=>(t[e]=r===s?n:Array.isArray(t[e])?t[e].slice():{...t[e]},t&&t[e]),t),t}(s,t,o)}),s}handleArray({value:t,...e}){return t.map(t=>this.transpile({value:t,...e}))}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})();const Hd=new St("");let Zd=(()=>{class t{handle(t,e){return e.missingHandler.logMissingKey&&!e.prodMode&&console.warn(`%c Missing translation for '${t}'`,"font-size: 12px; color: red"),t}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})();const $d=new St("");let qd=(()=>{class t{preSaveTranslation(t){return t}preSaveTranslationKey(t,e){return e}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})();const Bd=new St("");let Gd,Wd=(()=>{class t{userConfig;constructor(t){this.userConfig=t}getNextLangs(){const t=this.userConfig.fallbackLang;if(!t)throw new Error("When using the default fallback, a fallback language must be provided in the config!");return Array.isArray(t)?t:[t]}static ɵfac=function(e){return new(e||t)(Bt(Md))};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})();function Qd(t){if(!t)return"";const e=t.split("/");return e.pop(),e.join("/")}function Kd(t){return t?t.split("/").pop():""}function Xd(t,e,n="|"){if(Ad(t)){const r=t.split(n),s=r.pop();return s===e?[!0,r.toString()]:[!1,s]}return[!1,""]}function Yd(t,e){return function(t){return t&&Od(t.loader)}(t)?function(t,e){return Object.keys(t).reduce((n,r)=>(n[`${e}/${r}`]=t[r],n),{})}(t.loader,e):void 0}function Jd(t){return{scope:Qd(t)||null,langName:Kd(t)}}function tp(t){const{path:e,inlineLoader:n,mainLoader:r,data:s}=t;if(n){if(!1===function(t){return"function"==typeof t}(n[e]))throw`You're using an inline loader but didn't provide a loader for ${e}`;return n[e]().then(t=>t.default?t.default:t)}return r.getTranslation(e,s)}let ep=(()=>{class t{loader;parser;missingHandler;interceptor;fallbackStrategy;langChanges$;translations=new Map;cache=new Map;firstFallbackLang;defaultLang="";availableLangs=[];isResolvedMissingOnce=!1;lang;failedLangs=new Set;events=new rt;events$=this.events.asObservable();config;destroyRef=Gt(Ln);constructor(t,e,n,r,s,o){this.loader=t,this.parser=e,this.missingHandler=n,this.interceptor=r,this.fallbackStrategy=o,this.loader||(this.loader=new Ed(this.translations)),Gd=this,this.config=JSON.parse(JSON.stringify(s)),this.setAvailableLangs(this.config.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.config),this.setDefaultLang(this.config.defaultLang),this.lang=new it(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.events$.subscribe(t=>{"translationLoadSuccess"===t.type&&t.wasFailure&&this.setActiveLang(t.payload.langName)}),this.destroyRef.onDestroy(()=>{this.lang.complete(),this.events.complete(),this.cache.clear()})}getDefaultLang(){return this.defaultLang}setDefaultLang(t){this.defaultLang=t}getActiveLang(){return this.lang.getValue()}setActiveLang(t){return this.parser.onLangChanged?.(t),this.lang.next(t),this.events.next({type:"langChanged",payload:Jd(t)}),this}setAvailableLangs(t){this.availableLangs=t}getAvailableLangs(){return this.availableLangs}load(t,e={}){const n=this.cache.get(t);if(n)return n;let r;const s=this._isLangScoped(t);let o;s&&(o=Qd(t));const i={path:t,mainLoader:this.loader,inlineLoader:e.inlineLoader,data:s?{scope:o}:void 0};if(this.useFallbackTranslation(t)){const t=s?`${o}/${this.firstFallbackLang}`:this.firstFallbackLang,e=function({mainLoader:t,path:e,data:n,fallbackPath:r,inlineLoader:s}){return(r?[e,r]:[e]).map(e=>Fc(tp({path:e,mainLoader:t,inlineLoader:s,data:n})).pipe(nr(t=>({translation:t,lang:e}))))}({...i,fallbackPath:t});r=wd(e)}else r=Fc(tp(i));const a=r.pipe(function(t=1/0){let e;e=t&&"object"==typeof t?t:{count:t};const{count:n=1/0,delay:r,resetOnSuccess:s=!1}=e;return n<=0?Y:Jn((t,e)=>{let o,i=0;const a=()=>{let c=!1;o=t.subscribe(tr(e,t=>{s&&(i=0),e.next(t)},void 0,t=>{if(i++<n){const n=()=>{o?(o.unsubscribe(),o=null,a()):c=!0};if(null!=r){const s="number"==typeof r?function(t=0,e,n=Cd){let r=-1;return null!=e&&(Vc(e)?n=e:r=e),new tt(e=>{let s=function(t){return t instanceof Date&&!isNaN(t)}(t)?+t-n.now():t;s<0&&(s=0);let o=0;return n.schedule(function(){e.closed||(e.next(o++),0<=r?this.schedule(void 0,r):e.complete())},s)})}(r):Lc(r(t,i)),o=tr(e,()=>{o.unsubscribe(),n()},()=>{e.complete()});s.subscribe(o)}else n()}else e.error(t)})),c&&(o.unsubscribe(),o=null,a())};a()})}(this.config.failedRetries),yu(e=>{Array.isArray(e)?e.forEach(e=>{this.handleSuccess(e.lang,e.translation),e.lang!==t&&this.cache.set(e.lang,qc({}))}):this.handleSuccess(t,e)}),bu(n=>(this.config.prodMode||console.error(`Error while trying to load "${t}"`,n),this.handleFailure(t,e))),function(t,e,n){let r,s=!1;return r=1,function(t={}){const{connector:e=()=>new rt,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:s=!0}=t;return t=>{let o,i,a,c=0,u=!1,l=!1;const h=()=>{i?.unsubscribe(),i=void 0},f=()=>{h(),o=a=void 0,u=l=!1},d=()=>{const t=o;f(),t?.unsubscribe()};return Jn((t,p)=>{c++,!l&&!u&&h();const g=a=a??e();p.add(()=>{c--,0===c&&!l&&!u&&(i=Td(d,s))}),g.subscribe(p),!o&&c>0&&(o=new G({next:t=>g.next(t),error:t=>{l=!0,h(),i=Td(f,n,t),g.error(t)},complete:()=>{u=!0,h(),i=Td(f,r),g.complete()}}),Lc(t).subscribe(o))})(t)}}({connector:()=>new jf(r,e,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:s})}(),function(t){t||(t=Gt(Ln));const e=new tt(e=>{if(!t.destroyed)return t.onDestroy(e.next.bind(e));e.next()});return t=>t.pipe(ku(e))}(this.destroyRef));return this.cache.set(t,a),a}translate(t,e={},n=this.getActiveLang()){if(!t)return t;const{scope:r,resolveLang:s}=this.resolveLangAndScope(n);if(Array.isArray(t))return t.map(t=>this.translate(r?`${r}.${t}`:t,e,s));t=r?`${r}.${t}`:t;const o=this.getTranslation(s),i=o[t];return i?this.parser.transpile({value:i,params:e,translation:o,key:t}):this._handleMissingKey(t,i,e)}selectTranslate(t,e,n,r=!1){let s;const o=(n,s)=>this.load(n,s).pipe(nr(()=>r?this.translateObject(t,e,n):this.translate(t,e,n)));if(jd(n))return this.langChanges$.pipe(lu(t=>o(t)));if(Nd(n=Array.isArray(n)?n[0]:n)){const t=n;n=t.scope,s=Yd(t,t.scope)}if(this.isLang(n)||this.isScopeWithLang(n))return o(n);const i=n;return this.langChanges$.pipe(lu(t=>o(`${i}/${t}`,{inlineLoader:s})))}isScopeWithLang(t){return this.isLang(Kd(t))}translateObject(t,e={},n=this.getActiveLang()){if(Ad(t)||Array.isArray(t)){const{resolveLang:r,scope:s}=this.resolveLangAndScope(n);if(Array.isArray(t))return t.map(t=>this.translateObject(s?`${s}.${t}`:t,e,r));const o=this.getTranslation(r),i=function(t){const e={};for(const[n,r]of Object.entries(t)){const t=n.split(".");let s=e;t.forEach((e,n)=>{n===t.length-1?s[e]=r:(s[e]??={},s=s[e])})}return e}(this.getObjectByKey(o,t=s?`${s}.${t}`:t));return function(t){return 0===Rd(t)}(i)?this.translate(t,e,n):this.parser.transpile({value:i,params:e,translation:o,key:t})}const r=[];for(const[e,s]of this.getEntries(t))r.push(this.translateObject(e,s,n));return r}selectTranslateObject(t,e,n){if(Ad(t)||Array.isArray(t))return this.selectTranslate(t,e,n,!0);const[[r,s],...o]=this.getEntries(t);return this.selectTranslateObject(r,s,n).pipe(nr(t=>{const e=[t];for(const[t,r]of o)e.push(this.translateObject(t,r,n));return e}))}getTranslation(t){if(t){if(this.isLang(t))return this.translations.get(t)||{};{const{scope:e,resolveLang:n}=this.resolveLangAndScope(t),r=this.translations.get(n)||{};return this.getObjectByKey(r,e)}}return this.translations}selectTranslation(t){let e=this.langChanges$;if(t){const n=Kd(t)!==t;e=this.isLang(t)||n?qc(t):this.langChanges$.pipe(nr(e=>`${t}/${e}`))}return e.pipe(lu(t=>this.load(t).pipe(nr(()=>this.getTranslation(t)))))}setTranslation(t,e=this.getActiveLang(),n={}){const r={merge:!0,emitChange:!0,...n},s=Qd(e);let o=t;if(s){const e=this.getMappedScope(s);o=Dd({[e]:t})}const i=s?Kd(e):e,a={...r.merge&&this.getTranslation(i),...o},c=this.config.flatten.aot?a:Dd(a),u=this.interceptor.preSaveTranslation(c,i);this.translations.set(i,u),r.emitChange&&this.setActiveLang(this.getActiveLang())}setTranslationKey(t,e,n={}){const r=n.lang||this.getActiveLang(),s=this.interceptor.preSaveTranslationKey(t,e,r);this.setTranslation({[t]:s},r,{...n,merge:!0})}setFallbackLangForMissingTranslation({fallbackLang:t}){const e=Array.isArray(t)?t[0]:t;t&&this.useFallbackTranslation(e)&&(this.firstFallbackLang=e)}_handleMissingKey(t,e,n){if(this.config.missingHandler.allowEmpty&&""===e)return"";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=!0;const e=this.translate(t,n,this.firstFallbackLang);return this.isResolvedMissingOnce=!1,e}return this.missingHandler.handle(t,this.getMissingHandlerData(),n)}_isLangScoped(t){return-1===this.getAvailableLangsIds().indexOf(t)}isLang(t){return-1!==this.getAvailableLangsIds().indexOf(t)}_loadDependencies(t,e){const n=Kd(t);return this._isLangScoped(t)&&!this.isLoadedTranslation(n)?eu([this.load(n),this.load(t,{inlineLoader:e})]):this.load(t,{inlineLoader:e})}_completeScopeWithLang(t){return this._isLangScoped(t)&&!this.isLang(Kd(t))?`${t}/${this.getActiveLang()}`:t}_setScopeAlias(t,e){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[t]=e}isLoadedTranslation(t){return Rd(this.getTranslation(t))}getAvailableLangsIds(){return Ad(this.getAvailableLangs()[0])?this.getAvailableLangs():this.getAvailableLangs().map(t=>t.id)}getMissingHandlerData(){return{...this.config,activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang}}useFallbackTranslation(t){return this.config.missingHandler.useFallbackTranslation&&t!==this.firstFallbackLang}handleSuccess(t,e){this.setTranslation(e,t,{emitChange:!1}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:Jd(t)}),this.failedLangs.forEach(t=>this.cache.delete(t)),this.failedLangs.clear()}handleFailure(t,e){jd(e.failedCounter)&&(e.failedCounter=0,e.fallbackLangs||(e.fallbackLangs=this.fallbackStrategy.getNextLangs(t)));const n=t.split("/"),r=e.fallbackLangs[e.failedCounter];if(this.failedLangs.add(t),this.cache.has(r))return this.handleSuccess(r,this.getTranslation(r)),au;if(!r||r===n[n.length-1]){let t="Unable to load translation and all the fallback languages";throw n.length>1&&(t+=", did you misspelled the scope name?"),new Error(t)}let s=r;return n.length>1&&(n[n.length-1]=r,s=n.join("/")),e.failedCounter++,this.events.next({type:"translationLoadFailure",payload:Jd(t)}),this.load(s,e)}getMappedScope(t){const{scopeMapping:e={},scopes:n={keepCasing:!1}}=this.config;return e[t]||(n.keepCasing?t:Pd(t))}resolveLangAndScope(t){let e,n=t;if(this._isLangScoped(t)){const r=Kd(t),s=this.isLang(r);n=s?r:this.getActiveLang(),e=this.getMappedScope(s?Qd(t):t)}return{scope:e,resolveLang:n}}getObjectByKey(t,e){const n={},r=`${e}.`;for(const e in t)e.startsWith(r)&&(n[e.replace(r,"")]=t[e]);return n}getEntries(t){return t instanceof Map?t.entries():Object.entries(t)}static ɵfac=function(e){return new(e||t)(Bt(xd,8),Bt(Fd),Bt(Hd),Bt($d),Bt(Md),Bt(Bd))};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const np=new St(""),rp=(new St(""),new St(""));class sp{initialized=!1;resolve({inline:t,provider:e,active:n}){let r=n;if(this.initialized)return r=n,r;if(e){const[,t]=Xd(e,"static");r=t}if(t){const[,e]=Xd(t,"static");r=e}return this.initialized=!0,r}resolveLangBasedOnScope(t){return Qd(t)?Kd(t):t}resolveLangPath(t,e){return e?`${e}/${t}`:t}}class op{service;constructor(t){this.service=t}resolve(t){const{inline:e,provider:n}=t;if(e)return e;if(n){if(Nd(n)){const{scope:t,alias:e=(this.service.config.scopes.keepCasing?t:Pd(t))}=n;return this.service._setScopeAlias(t,e),t}return n}}}let ip=(()=>{class t{service;providerScope;providerLang;cdr;subscription=null;lastValue="";lastKey;path;langResolver=new sp;scopeResolver;constructor(t,e,n,r){this.service=t,this.providerScope=e,this.providerLang=n,this.cdr=r,this.scopeResolver=new op(this.service)}transform(t,e,n){if(!t)return t;const r=e?`${t}${JSON.stringify(e)}`:t;if(r===this.lastKey)return this.lastValue;this.lastKey=r,this.subscription?.unsubscribe();const s=function(t,e){const[n]=Xd(e,"static");return!n&&!!t.config.reRenderOnLangChange}(this.service,this.providerLang||n);return this.subscription=this.service.langChanges$.pipe(lu(t=>{const e=this.langResolver.resolve({inline:n,provider:this.providerLang,active:t});return Array.isArray(this.providerScope)?wd(this.providerScope.map(t=>this.resolveScope(e,t))):this.resolveScope(e,this.providerScope)}),function(t){return t?t=>t:hu(1)}(s)).subscribe(()=>this.updateValue(t,e)),this.lastValue}ngOnDestroy(){this.subscription?.unsubscribe(),this.subscription=null}updateValue(t,e){const n=this.langResolver.resolveLangBasedOnScope(this.path);this.lastValue=this.service.translate(t,e,n),this.cdr.markForCheck()}resolveScope(t,e){const n=this.scopeResolver.resolve({inline:void 0,provider:e});this.path=this.langResolver.resolveLangPath(t,n);const r=Yd(e,n);return this.service._loadDependencies(this.path,r)}static ɵfac=function(e){return new(e||t)(li(ep,16),li(rp,24),li(np,24),li(cc,16))};static ɵpipe=function(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}({name:"transloco",type:t,pure:!1})}return t})();function ap(t){return he([{provide:Fd,useClass:t,deps:[Md]}])}function cp(t){return he([{provide:Bd,useClass:t,deps:[Md]}])}function up(t){return he([{provide:Hd,useClass:t}])}function lp(t){return he([{provide:$d,useClass:t}])}new St("TRANSLOCO_TEST_LANGS - Available testing languages"),new St("TRANSLOCO_TEST_OPTIONS - Testing options");const hp=[{path:"sparql-new",component:md},{path:"new-view",component:(()=>{class t{constructor(){console.log("NewViewComponent login",yd.ServiceProvider.get(yd.AuthenticationService).login()),yd.ServiceProvider.get(yd.RepositoryContextService).onRepositoryListChanged(t=>{console.log("NewViewComponent repositories",t?.getItems())})}static#t=this.ɵfac=function(e){return new(e||t)};static#e=this.ɵcmp=Bi({type:t,selectors:[["app-new-view"]],decls:3,vars:3,template:function(t,e){1&t&&(Pa(0,"p"),za(1),function(){const t=on();let e;t.firstCreatePass?(e=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const r=e[n];if(t===r.name)return r}}("transloco",t.pipeRegistry),t.data[28]=e,e.onDestroy&&(t.destroyHooks??=[]).push(28,e.onDestroy)):e=t.data[28];const n=e.factory||(e.factory=Xt(e.type)),r=Ft(li);try{const e=Or(!1),r=n();return Or(e),function(t,e,n,r){28>=t.data.length&&(t.data[28]=null,t.blueprint[28]=null),e[28]=r}(t,sn(),0,r),r}finally{Ft(r)}}(),ja()),2&t&&(function(t=1){oo(on(),sn(),Tn()+t,!1)}(),Va(function(t,e,n){const r=t+26,s=sn(),o=function(t,e){return t[e]}(s,r);return function(t,e){return t[1].data[e].pure}(s,r)?function(t,e,n,r,s,o){const i=e+n;return wi(t,i,s)?function(t,e,n){return t[e]=n}(t,i+1,o?r.call(o,s):r(s)):function(t,e){const n=t[e];return n===Ws?void 0:n}(t,i+1)}(s,function(){const t=Je.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}(),e,o.transform,n,o):o.transform(n)}(2,1,"new-view")))},dependencies:[ip],encapsulation:2})}return t})()},{path:"**",component:vd}],fp=he([{provide:Sa,multi:!0,useValue:()=>{const t=Gt(ep),e=yd.ServiceProvider.get(yd.LanguageContextService),n=yd.ServiceProvider.get(yd.LanguageService);return new Promise(r=>{e.onLanguageBundleChanged(s=>{if(s){const r=e.getSelectedLanguage()||n.getDefaultLanguage();t.setTranslation(s,r),t.setActiveLang(r)}r()})})}}]),dp=function(t){const e=[ap(Vd),up(Zd),lp(qd),cp(Wd)];return t.config&&e.push(function(t){return he([{provide:Md,useValue:Ud(t)}])}(t.config)),t.loader&&e.push(function(t){return he([{provide:xd,useClass:t}])}(t.loader)),e}({config:{availableLangs:yd.ServiceProvider.get(yd.LanguageService).getSupportedLanguages(),defaultLang:yd.ServiceProvider.get(yd.LanguageService).getDefaultLanguage(),reRenderOnLangChange:!0,prodMode:!1}}),pp=[fp,dp],gp={providers:[{provide:Tf,deps:[[new or(jn)]]},{provide:pc,useExisting:Tf},...pp,function(t){const e=t?.ignoreChangesOutsideZone,n=t?.scheduleInRootZone,r=Ga({ngZoneFactory:()=>{const e=Wa(t);return e.scheduleInRootZone=n,e.shouldCoalesceEventChangeDetection&&zi("NgZone_CoalesceEvent"),new ua(e)},ignoreChangesOutsideZone:e,scheduleInRootZone:n});return he([{provide:Ba,useValue:!0},{provide:Zn,useValue:!1},r])}({eventCoalescing:!0}),function(t){return he([{provide:cf,multi:!0,useValue:t},[],{provide:oh,useFactory:ld,deps:[Cf]},{provide:Ca,multi:!0,useFactory:hd},[].map(t=>t.ɵproviders)])}(hp),{provide:wc,useValue:"/"}]},mp=function(t){const e={...Ef,...t};return{bootstrap:xf.bind(null,e),mount:Rf.bind(null,e),unmount:Of.bind(null,e),update:e.updateFunction}}({bootstrapFunction:t=>(Lf.next(t),function(t,e){return function(t){gr(8);try{const{rootComponent:e,appProviders:n,platformProviders:r}=t,s=function(t=[]){if(ac)return ac;const e=function(t=[],e){return Pn.create({name:e,providers:[{provide:we,useValue:"platform"},{provide:sc,useValue:new Set([()=>ac=null])},...t]})}(t);return ac=e,k=()=>{throw new ct(600,"")},function(t){const e=t.get(ms,null);Oe(t,()=>{e?.forEach(t=>t())})}(e),e}(r),o=[Ga({}),{provide:Hn,useExisting:Ka},Un,...n||[]];return function(t){const e=ic(t)?t.r3Injector:t.moduleRef.injector,n=e.get(ua);return n.run(()=>{ic(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();const r=e.get(zn);let s;if(n.runOutsideAngular(()=>{s=n.onError.subscribe({next:r})}),ic(t)){const n=()=>e.destroy(),r=t.platformInjector.get(sc);r.add(n),e.onDestroy(()=>{s.unsubscribe(),r.delete(n)})}else{const e=()=>t.moduleRef.destroy(),n=t.platformInjector.get(sc);n.add(e),t.moduleRef.onDestroy(()=>{Ea(t.allPlatformModules,t.moduleRef),s.unsubscribe(),n.delete(e)})}return function(t,e,n){try{const r=n();return wa(r)?r.catch(n=>{throw e.runOutsideAngular(()=>t(n)),n}):r}catch(n){throw e.runOutsideAngular(()=>t(n)),n}}(r,n,()=>{const n=e.get(Bn),r=n.add(),s=e.get(ka);return s.runInitializers(),s.donePromise.then(()=>{if(function(t){"string"==typeof t&&(Da=t.toLowerCase().replace(/_/g,"-"))}(e.get(Xa,Na)||Na),!e.get(oc,!0))return ic(t)?e.get(Ta):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(ic(t)){const n=e.get(Ta);return void 0!==t.rootComponent&&n.bootstrap(t.rootComponent),n}return t.moduleRef}).finally(()=>{n.remove(r)})})})}({r3Injector:new Zi({providers:o,parent:s,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:s,rootComponent:e})}catch(t){return Promise.reject(t)}finally{gr(9)}}({rootComponent:t,...od(e)})}(gd,gp)),template:"<app-root />",Router:Cf,NavigationStart:Il,NgZone:ua}),vp=mp.bootstrap,yp=mp.mount,bp=mp.unmount})();const FB=_u.Nw,jB=_u.Or,HB=_u.vs;export{FB as bootstrap,jB as mount,HB as unmount};
1
+ import*as Ua from"@ontotext/workbench-api";var LB={56:(t,e,n)=>{t.exports=function(t){var e=n.nc;e&&t.setAttribute("nonce",e)}},72:t=>{var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var o={},i=[],a=0;a<t.length;a++){var c=t[a],u=r.base?c[0]+r.base:c[0],l=o[u]||0,h="".concat(u," ").concat(l);o[u]=l+1;var f=n(h),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var p=s(d,r);r.byIndex=a,e.splice(a,0,{identifier:h,updater:p,references:1})}i.push(h)}return i}function s(t,e){var n=e.domAPI(e);return n.update(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,s){var o=r(t=t||[],s=s||{});return function(t){t=t||[];for(var i=0;i<o.length;i++){var a=n(o[i]);e[a].references--}for(var c=r(t,s),u=0;u<o.length;u++){var l=n(o[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}o=c}}},113:t=>{t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},148:(t,e,n)=>{n.d(e,{A:()=>a});var r=n(564),s=n.n(r),o=n(557),i=n.n(o)()(s());i.push([t.id,"/* You can add global styles to this file, and also import other style files */",""]);const a=i},540:t=>{t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},557:t=>{t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",r=typeof e[5]<"u";return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,r,s,o){"string"==typeof t&&(t=[[null,t,void 0]]);var i={};if(r)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(i[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);r&&i[l[0]]||(typeof o<"u"&&(typeof l[5]>"u"||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),n&&(l[2]&&(l[1]="@media ".concat(l[2]," {").concat(l[1],"}")),l[2]=n),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},564:t=>{t.exports=function(t){return t[1]}},659:t=>{var e={};t.exports=function(t,n){var r=function(t){if(typeof e[t]>"u"){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch{n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},825:t=>{t.exports=function(t){if(typeof document>"u")return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(n){!function(t,e,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var s=typeof n.layer<"u";s&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,s&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&typeof btoa<"u"&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleTagTransform(r,t,e.options)}(e,t,n)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},935:()=>{const t=globalThis;function e(e){return(t.__Zone_symbol_prefix||"__zone_symbol__")+e}const n=Object.getOwnPropertyDescriptor,r=Object.defineProperty,s=Object.getPrototypeOf,o=Object.create,i=Array.prototype.slice,a="addEventListener",c="removeEventListener",u=e(a),l=e(c),h="true",f="false",d=e("");function p(t,e){return Zone.current.wrap(t,e)}function g(t,e,n,r,s){return Zone.current.scheduleMacroTask(t,e,n,r,s)}const m=e,v=typeof window<"u",y=v?window:void 0,b=v&&y||globalThis;function w(t,e){for(let n=t.length-1;n>=0;n--)"function"==typeof t[n]&&(t[n]=p(t[n],e+"_"+n));return t}function _(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}const S=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,k=!("nw"in b)&&typeof b.process<"u"&&"[object process]"===b.process.toString(),C=!k&&!S&&!(!v||!y.HTMLElement),T=typeof b.process<"u"&&"[object process]"===b.process.toString()&&!S&&!(!v||!y.HTMLElement),E={},x=m("enable_beforeunload"),I=function(t){if(!(t=t||b.event))return;let e=E[t.type];e||(e=E[t.type]=m("ON_PROPERTY"+t.type));const n=this||t.target||b,r=n[e];let s;return C&&n===y&&"error"===t.type?(s=r&&r.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===s&&t.preventDefault()):(s=r&&r.apply(this,arguments),"beforeunload"===t.type&&b[x]&&"string"==typeof s?t.returnValue=s:null!=s&&!s&&t.preventDefault()),s};function R(t,e,s){let o=n(t,e);if(!o&&s&&n(s,e)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const i=m("on"+e+"patched");if(t.hasOwnProperty(i)&&t[i])return;delete o.writable,delete o.value;const a=o.get,c=o.set,u=e.slice(2);let l=E[u];l||(l=E[u]=m("ON_PROPERTY"+u)),o.set=function(e){let n=this;!n&&t===b&&(n=b),n&&("function"==typeof n[l]&&n.removeEventListener(u,I),c?.call(n,null),n[l]=e,"function"==typeof e&&n.addEventListener(u,I,!1))},o.get=function(){let n=this;if(!n&&t===b&&(n=b),!n)return null;const r=n[l];if(r)return r;if(a){let t=a.call(this);if(t)return o.set.call(this,t),"function"==typeof n.removeAttribute&&n.removeAttribute(e),t}return null},r(t,e,o),t[i]=!0}function A(t,e,n){if(e)for(let r=0;r<e.length;r++)R(t,"on"+e[r],n);else{const e=[];for(const n in t)"on"==n.slice(0,2)&&e.push(n);for(let r=0;r<e.length;r++)R(t,e[r],n)}}const O=m("originalInstance");function P(t){const e=b[t];if(!e)return;b[m(t)]=e,b[t]=function(){const n=w(arguments,t);switch(n.length){case 0:this[O]=new e;break;case 1:this[O]=new e(n[0]);break;case 2:this[O]=new e(n[0],n[1]);break;case 3:this[O]=new e(n[0],n[1],n[2]);break;case 4:this[O]=new e(n[0],n[1],n[2],n[3]);break;default:throw new Error("Arg list too long.")}},N(b[t],e);const n=new e(function(){});let s;for(s in n)"XMLHttpRequest"===t&&"responseBlob"===s||function(e){"function"==typeof n[e]?b[t].prototype[e]=function(){return this[O][e].apply(this[O],arguments)}:r(b[t].prototype,e,{set:function(n){"function"==typeof n?(this[O][e]=p(n,t+"."+e),N(this[O][e],n)):this[O][e]=n},get:function(){return this[O][e]}})}(s);for(s in e)"prototype"!==s&&e.hasOwnProperty(s)&&(b[t][s]=e[s])}function j(t,e,r){let o=t;for(;o&&!o.hasOwnProperty(e);)o=s(o);!o&&t[e]&&(o=t);const i=m(e);let a=null;if(o&&(!(a=o[i])||!o.hasOwnProperty(i))&&(a=o[i]=o[e],_(o&&n(o,e)))){const t=r(a,i,e);o[e]=function(){return t(this,arguments)},N(o[e],a)}return a}function L(t,e,n){let r=null;function s(t){const e=t.data;return e.args[e.cbIdx]=function(){t.invoke.apply(this,arguments)},r.apply(e.target,e.args),t}r=j(t,e,t=>function(e,r){const o=n(e,r);return o.cbIdx>=0&&"function"==typeof r[o.cbIdx]?g(o.name,r[o.cbIdx],o,s):t.apply(e,r)})}function N(t,e){t[m("OriginalDelegate")]=e}let D=!1,M=!1;function z(){if(D)return M;D=!0;try{const t=y.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(M=!0)}catch{}return M}function U(t){return"function"==typeof t}function F(t){return"number"==typeof t}const V={useG:!0},H={},Z={},$=new RegExp("^"+d+"(\\w+)(true|false)$"),q=m("propagationStopped");function B(t,e){const n=(e?e(t):t)+f,r=(e?e(t):t)+h,s=d+n,o=d+r;H[t]={},H[t][f]=s,H[t][h]=o}function G(t,e,n,r){const o=r&&r.add||a,i=r&&r.rm||c,u=r&&r.listeners||"eventListeners",l=r&&r.rmAll||"removeAllListeners",p=m(o),g="."+o+":",v="prependListener",y="."+v+":",b=function(t,e,n){if(t.isRemoved)return;const r=t.callback;let s;"object"==typeof r&&r.handleEvent&&(t.callback=t=>r.handleEvent(t),t.originalDelegate=r);try{t.invoke(t,e,[n])}catch(t){s=t}const o=t.options;return o&&"object"==typeof o&&o.once&&e[i].call(e,n.type,t.originalDelegate?t.originalDelegate:t.callback,o),s};function w(n,r,s){if(!(r=r||t.event))return;const o=n||r.target||t,i=o[H[r.type][s?h:f]];if(i){const t=[];if(1===i.length){const e=b(i[0],o,r);e&&t.push(e)}else{const e=i.slice();for(let n=0;n<e.length&&(!r||!0!==r[q]);n++){const s=b(e[n],o,r);s&&t.push(s)}}if(1===t.length)throw t[0];for(let n=0;n<t.length;n++){const r=t[n];e.nativeScheduleMicroTask(()=>{throw r})}}}const _=function(t){return w(this,t,!1)},S=function(t){return w(this,t,!0)};function C(e,n){if(!e)return!1;let r=!0;n&&void 0!==n.useG&&(r=n.useG);const a=n&&n.vh;let c=!0;n&&void 0!==n.chkDup&&(c=n.chkDup);let b=!1;n&&void 0!==n.rt&&(b=n.rt);let w=e;for(;w&&!w.hasOwnProperty(o);)w=s(w);if(!w&&e[o]&&(w=e),!w||w[p])return!1;const C=n&&n.eventNameToString,T={},E=w[p]=w[o],x=w[m(i)]=w[i],I=w[m(u)]=w[u],R=w[m(l)]=w[l];let A;n&&n.prepend&&(A=w[m(n.prepend)]=w[n.prepend]);const O=r?function(t){if(!T.isExisting)return E.call(T.target,T.eventName,T.capture?S:_,T.options)}:function(t){return E.call(T.target,T.eventName,t.invoke,T.options)},P=r?function(t){if(!t.isRemoved){const e=H[t.eventName];let n;e&&(n=e[t.capture?h:f]);const r=n&&t.target[n];if(r)for(let e=0;e<r.length;e++)if(r[e]===t){r.splice(e,1),t.isRemoved=!0,t.removeAbortListener&&(t.removeAbortListener(),t.removeAbortListener=null),0===r.length&&(t.allRemoved=!0,t.target[n]=null);break}}if(t.allRemoved)return x.call(t.target,t.eventName,t.capture?S:_,t.options)}:function(t){return x.call(t.target,t.eventName,t.invoke,t.options)},j=n?.diff||function(t,e){const n=typeof e;return"function"===n&&t.callback===e||"object"===n&&t.originalDelegate===e},L=Zone[m("UNPATCHED_EVENTS")],D=t[m("PASSIVE_EVENTS")],M=function(e,s,o,i,u=!1,l=!1){return function(){const d=this||t;let p=arguments[0];n&&n.transferEventName&&(p=n.transferEventName(p));let g=arguments[1];if(!g)return e.apply(this,arguments);if(k&&"uncaughtException"===p)return e.apply(this,arguments);let m=!1;if("function"!=typeof g){if(!g.handleEvent)return e.apply(this,arguments);m=!0}if(a&&!a(e,g,d,arguments))return;const v=!!D&&-1!==D.indexOf(p),y=function(t){if("object"==typeof t&&null!==t){const e={...t};return t.signal&&(e.signal=t.signal),e}return t}(function(t,e){return e?"boolean"==typeof t?{capture:t,passive:!0}:t?"object"==typeof t&&!1!==t.passive?{...t,passive:!0}:t:{passive:!0}:t}(arguments[2],v)),b=y?.signal;if(b?.aborted)return;if(L)for(let t=0;t<L.length;t++)if(p===L[t])return v?e.call(d,p,g,y):e.apply(this,arguments);const w=!!y&&("boolean"==typeof y||y.capture),_=!(!y||"object"!=typeof y)&&y.once,S=Zone.current;let E=H[p];E||(B(p,C),E=H[p]);const x=E[w?h:f];let I,R=d[x],A=!1;if(R){if(A=!0,c)for(let t=0;t<R.length;t++)if(j(R[t],g))return}else R=d[x]=[];const O=d.constructor.name,P=Z[O];P&&(I=P[p]),I||(I=O+s+(C?C(p):p)),T.options=y,_&&(T.options.once=!1),T.target=d,T.capture=w,T.eventName=p,T.isExisting=A;const N=r?V:void 0;N&&(N.taskData=T),b&&(T.options.signal=void 0);const M=S.scheduleEventTask(I,g,N,o,i);if(b){T.options.signal=b;const t=()=>M.zone.cancelTask(M);e.call(b,"abort",t,{once:!0}),M.removeAbortListener=()=>b.removeEventListener("abort",t)}return T.target=null,N&&(N.taskData=null),_&&(T.options.once=!0),"boolean"!=typeof M.options&&(M.options=y),M.target=d,M.capture=w,M.eventName=p,m&&(M.originalDelegate=g),l?R.unshift(M):R.push(M),u?d:void 0}};return w[o]=M(E,g,O,P,b),A&&(w[v]=M(A,y,function(t){return A.call(T.target,T.eventName,t.invoke,T.options)},P,b,!0)),w[i]=function(){const e=this||t;let r=arguments[0];n&&n.transferEventName&&(r=n.transferEventName(r));const s=arguments[2],o=!!s&&("boolean"==typeof s||s.capture),i=arguments[1];if(!i)return x.apply(this,arguments);if(a&&!a(x,i,e,arguments))return;const c=H[r];let u;c&&(u=c[o?h:f]);const l=u&&e[u];if(l)for(let t=0;t<l.length;t++){const n=l[t];if(j(n,i))return l.splice(t,1),n.isRemoved=!0,0!==l.length||(n.allRemoved=!0,e[u]=null,o||"string"!=typeof r)||(e[d+"ON_PROPERTY"+r]=null),n.zone.cancelTask(n),b?e:void 0}return x.apply(this,arguments)},w[u]=function(){const e=this||t;let r=arguments[0];n&&n.transferEventName&&(r=n.transferEventName(r));const s=[],o=W(e,C?C(r):r);for(let t=0;t<o.length;t++){const e=o[t];s.push(e.originalDelegate?e.originalDelegate:e.callback)}return s},w[l]=function(){const e=this||t;let r=arguments[0];if(r){n&&n.transferEventName&&(r=n.transferEventName(r));const t=H[r];if(t){const n=e[t[f]],s=e[t[h]];if(n){const t=n.slice();for(let e=0;e<t.length;e++){const n=t[e];this[i].call(this,r,n.originalDelegate?n.originalDelegate:n.callback,n.options)}}if(s){const t=s.slice();for(let e=0;e<t.length;e++){const n=t[e];this[i].call(this,r,n.originalDelegate?n.originalDelegate:n.callback,n.options)}}}}else{const t=Object.keys(e);for(let e=0;e<t.length;e++){const n=$.exec(t[e]);let r=n&&n[1];r&&"removeListener"!==r&&this[l].call(this,r)}this[l].call(this,"removeListener")}if(b)return this},N(w[o],E),N(w[i],x),R&&N(w[l],R),I&&N(w[u],I),!0}let T=[];for(let t=0;t<n.length;t++)T[t]=C(n[t],r);return T}function W(t,e){if(!e){const n=[];for(let r in t){const s=$.exec(r);let o=s&&s[1];if(o&&(!e||o===e)){const e=t[r];if(e)for(let t=0;t<e.length;t++)n.push(e[t])}}return n}let n=H[e];n||(B(e),n=H[e]);const r=t[n[f]],s=t[n[h]];return r?s?r.concat(s):r.slice():s?s.slice():[]}function Q(t,e){const n=t.Event;n&&n.prototype&&e.patchMethod(n.prototype,"stopImmediatePropagation",t=>function(e,n){e[q]=!0,t&&t.apply(e,n)})}const K=m("zoneTask");function X(t,e,n,r){let s=null,o=null;n+=r;const i={};function a(e){const n=e.data;n.args[0]=function(){return e.invoke.apply(this,arguments)};const r=s.apply(t,n.args);return F(r)?n.handleId=r:(n.handle=r,n.isRefreshable=U(r.refresh)),e}function c(e){const{handle:n,handleId:r}=e.data;return o.call(t,n??r)}s=j(t,e+=r,n=>function(s,o){if(U(o[0])){const t={isRefreshable:!1,isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?o[1]||0:void 0,args:o},n=o[0];o[0]=function(){try{return n.apply(this,arguments)}finally{const{handle:e,handleId:n,isPeriodic:r,isRefreshable:s}=t;!r&&!s&&(n?delete i[n]:e&&(e[K]=null))}};const s=g(e,o[0],t,a,c);if(!s)return s;const{handleId:u,handle:l,isRefreshable:h,isPeriodic:f}=s.data;if(u)i[u]=s;else if(l&&(l[K]=s,h&&!f)){const t=l.refresh;l.refresh=function(){const{zone:e,state:n}=s;return"notScheduled"===n?(s._state="scheduled",e._updateTaskCount(s,1)):"running"===n&&(s._state="scheduling"),t.call(this)}}return l??u??s}return n.apply(t,o)}),o=j(t,n,e=>function(n,r){const s=r[0];let o;F(s)?(o=i[s],delete i[s]):(o=s?.[K],o?s[K]=null:o=s),o?.type?o.cancelFn&&o.zone.cancelTask(o):e.apply(t,r)})}function Y(t,e,n){if(!n||0===n.length)return e;const r=n.filter(e=>e.target===t);if(0===r.length)return e;const s=r[0].ignoreProperties;return e.filter(t=>-1===s.indexOf(t))}function J(t,e,n,r){t&&A(t,Y(t,e,n),r)}function tt(t){return Object.getOwnPropertyNames(t).filter(t=>t.startsWith("on")&&t.length>2).map(t=>t.substring(2))}function et(t,e,n,r,s){const o=Zone.__symbol__(r);if(e[o])return;const i=e[o]=e[r];e[r]=function(o,a,c){return a&&a.prototype&&s.forEach(function(e){const s=`${n}.${r}::`+e,o=a.prototype;try{if(o.hasOwnProperty(e)){const n=t.ObjectGetOwnPropertyDescriptor(o,e);n&&n.value?(n.value=t.wrapWithCurrentZone(n.value,s),t._redefineProperty(a.prototype,e,n)):o[e]&&(o[e]=t.wrapWithCurrentZone(o[e],s))}else o[e]&&(o[e]=t.wrapWithCurrentZone(o[e],s))}catch{}}),i.call(e,o,a,c)},t.attachOriginToPatched(e[r],i)}const nt=function(){const n=globalThis,r=!0===n[e("forceDuplicateZoneCheck")];if(n.Zone&&(r||"function"!=typeof n.Zone.__symbol__))throw new Error("Zone already loaded.");return n.Zone??=function(){const n=t.performance;function r(t){n&&n.mark&&n.mark(t)}function s(t,e){n&&n.measure&&n.measure(t,e)}r("Zone");let o=(()=>{class n{static __symbol__=e;static assertZonePatched(){if(t.Promise!==I.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=n.current;for(;t.parent;)t=t.parent;return t}static get current(){return A.zone}static get currentTask(){return O}static __load_patch(o,i,a=!1){if(I.hasOwnProperty(o)){const n=!0===t[e("forceDuplicateZoneCheck")];if(!a&&n)throw Error("Already loaded patch: "+o)}else if(!t["__Zone_disable_"+o]){const e="Zone:"+o;r(e),I[o]=i(t,n,R),s(e,e)}}get parent(){return this._parent}get name(){return this._name}_parent;_name;_properties;_zoneDelegate;constructor(t,e){this._parent=t,this._name=e?e.name||"unnamed":"<root>",this._properties=e&&e.properties||{},this._zoneDelegate=new a(this,this._parent&&this._parent._zoneDelegate,e)}get(t){const e=this.getZoneWith(t);if(e)return e._properties[t]}getZoneWith(t){let e=this;for(;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}}run(t,e,n,r){A={parent:A,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{A=A.parent}}runGuarded(t,e=null,n,r){A={parent:A,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{A=A.parent}}runTask(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||y).name+"; Execution: "+this.name+")");const r=t,{type:s,data:{isPeriodic:o=!1,isRefreshable:i=!1}={}}=t;if(t.state===b&&(s===x||s===E))return;const a=t.state!=S;a&&r._transitionTo(S,_);const c=O;O=r,A={parent:A,zone:this};try{s==E&&t.data&&!o&&!i&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,r,e,n)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{const e=t.state;if(e!==b&&e!==C)if(s==x||o||i&&e===w)a&&r._transitionTo(_,S,w);else{const t=r._zoneDelegates;this._updateTaskCount(r,-1),a&&r._transitionTo(b,S,b),i&&(r._zoneDelegates=t)}A=A.parent,O=c}}scheduleTask(t){if(t.zone&&t.zone!==this){let e=this;for(;e;){if(e===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);e=e.parent}}t._transitionTo(w,b);const e=[];t._zoneDelegates=e,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(e){throw t._transitionTo(C,w,b),this._zoneDelegate.handleError(this,e),e}return t._zoneDelegates===e&&this._updateTaskCount(t,1),t.state==w&&t._transitionTo(_,w),t}scheduleMicroTask(t,e,n,r){return this.scheduleTask(new c(T,t,e,n,r,void 0))}scheduleMacroTask(t,e,n,r,s){return this.scheduleTask(new c(E,t,e,n,r,s))}scheduleEventTask(t,e,n,r,s){return this.scheduleTask(new c(x,t,e,n,r,s))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||y).name+"; Execution: "+this.name+")");if(t.state===_||t.state===S){t._transitionTo(k,_,S);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(C,k),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(b,k),t.runCount=-1,t}}_updateTaskCount(t,e){const n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(let r=0;r<n.length;r++)n[r]._updateTaskCount(t.type,e)}}return n})();const i={name:"",onHasTask:(t,e,n,r)=>t.hasTask(n,r),onScheduleTask:(t,e,n,r)=>t.scheduleTask(n,r),onInvokeTask:(t,e,n,r,s,o)=>t.invokeTask(n,r,s,o),onCancelTask:(t,e,n,r)=>t.cancelTask(n,r)};class a{get zone(){return this._zone}_zone;_taskCounts={microTask:0,macroTask:0,eventTask:0};_parentDelegate;_forkDlgt;_forkZS;_forkCurrZone;_interceptDlgt;_interceptZS;_interceptCurrZone;_invokeDlgt;_invokeZS;_invokeCurrZone;_handleErrorDlgt;_handleErrorZS;_handleErrorCurrZone;_scheduleTaskDlgt;_scheduleTaskZS;_scheduleTaskCurrZone;_invokeTaskDlgt;_invokeTaskZS;_invokeTaskCurrZone;_cancelTaskDlgt;_cancelTaskZS;_cancelTaskCurrZone;_hasTaskDlgt;_hasTaskDlgtOwner;_hasTaskZS;_hasTaskCurrZone;constructor(t,e,n){this._zone=t,this._parentDelegate=e,this._forkZS=n&&(n&&n.onFork?n:e._forkZS),this._forkDlgt=n&&(n.onFork?e:e._forkDlgt),this._forkCurrZone=n&&(n.onFork?this._zone:e._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:e._interceptZS),this._interceptDlgt=n&&(n.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this._zone:e._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:e._invokeZS),this._invokeDlgt=n&&(n.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this._zone:e._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:e._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this._zone:e._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:e._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this._zone:e._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:e._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this._zone:e._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:e._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this._zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const r=n&&n.onHasTask;(r||e&&e._hasTaskZS)&&(this._hasTaskZS=r?n:i,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,n.onScheduleTask||(this._scheduleTaskZS=i,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this._zone),n.onInvokeTask||(this._invokeTaskZS=i,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this._zone),n.onCancelTask||(this._cancelTaskZS=i,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this._zone))}fork(t,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,e):new o(t,e)}intercept(t,e,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,e,n):e}invoke(t,e,n,r,s){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,e,n,r,s):e.apply(n,r)}handleError(t,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,e)}scheduleTask(t,e){let n=e;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,e),n||(n=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=T)throw new Error("Task is missing scheduleFn.");m(e)}return n}invokeTask(t,e,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,e,n,r):e.callback.apply(n,r)}cancelTask(t,e){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");n=e.cancelFn(e)}return n}hasTask(t,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,e)}catch(e){this.handleError(t,e)}}_updateTaskCount(t,e){const n=this._taskCounts,r=n[t],s=n[t]=r+e;if(s<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=s||this.hasTask(this._zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})}}class c{type;source;invoke;callback;data;scheduleFn;cancelFn;_zone=null;runCount=0;_zoneDelegates=null;_state="notScheduled";constructor(e,n,r,s,o,i){if(this.type=e,this.source=n,this.data=s,this.scheduleFn=o,this.cancelFn=i,!r)throw new Error("callback is not defined");this.callback=r;const a=this;this.invoke=e===x&&s&&s.useG?c.invokeTask:function(){return c.invokeTask.call(t,a,this,arguments)}}static invokeTask(t,e,n){t||(t=this),P++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==P&&v(),P--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(b,w)}_transitionTo(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${t}', expecting state '${e}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=t,t==b&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const u=e("setTimeout"),l=e("Promise"),h=e("then");let f,d=[],p=!1;function g(e){if(f||t[l]&&(f=t[l].resolve(0)),f){let t=f[h];t||(t=f.then),t.call(f,e)}else t[u](e,0)}function m(t){0===P&&0===d.length&&g(v),t&&d.push(t)}function v(){if(!p){for(p=!0;d.length;){const t=d;d=[];for(let e=0;e<t.length;e++){const n=t[e];try{n.zone.runTask(n,null,null)}catch(t){R.onUnhandledError(t)}}}R.microtaskDrainDone(),p=!1}}const y={name:"NO ZONE"},b="notScheduled",w="scheduling",_="scheduled",S="running",k="canceling",C="unknown",T="microTask",E="macroTask",x="eventTask",I={},R={symbol:e,currentZoneFrame:()=>A,onUnhandledError:j,microtaskDrainDone:j,scheduleMicroTask:m,showUncaughtError:()=>!o[e("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:j,patchMethod:()=>j,bindArguments:()=>[],patchThen:()=>j,patchMacroTask:()=>j,patchEventPrototype:()=>j,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>j,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>j,wrapWithCurrentZone:()=>j,filterProperties:()=>[],attachOriginToPatched:()=>j,_redefineProperty:()=>j,patchCallbacks:()=>j,nativeScheduleMicroTask:g};let A={parent:null,zone:new o(null,null)},O=null,P=0;function j(){}return s("Zone","Zone"),o}(),n.Zone}();var rt;(function(t){t.__load_patch("ZoneAwarePromise",(t,e,n)=>{const r=Object.getOwnPropertyDescriptor,s=Object.defineProperty,o=n.symbol,i=[],a=!1!==t[o("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],c=o("Promise"),u=o("then");n.onUnhandledError=t=>{if(n.showUncaughtError()){const e=t&&t.rejection;e?console.error("Unhandled Promise rejection:",e instanceof Error?e.message:e,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",e,e instanceof Error?e.stack:void 0):console.error(t)}},n.microtaskDrainDone=()=>{for(;i.length;){const t=i.shift();try{t.zone.runGuarded(()=>{throw t.throwOriginal?t.rejection:t})}catch(t){h(t)}}};const l=o("unhandledPromiseRejectionHandler");function h(t){n.onUnhandledError(t);try{const n=e[l];"function"==typeof n&&n.call(this,t)}catch{}}function f(t){return t&&"function"==typeof t.then}function d(t){return t}function p(t){return L.reject(t)}const g=o("state"),m=o("value"),v=o("finally"),y=o("parentPromiseValue"),b=o("parentPromiseState"),w=null,_=!0,S=!1;function k(t,e){return n=>{try{x(t,e,n)}catch(e){x(t,!1,e)}}}const C=function(){let t=!1;return function(e){return function(){t||(t=!0,e.apply(null,arguments))}}},T="Promise resolved with itself",E=o("currentTaskTrace");function x(t,r,o){const c=C();if(t===o)throw new TypeError(T);if(t[g]===w){let u=null;try{("object"==typeof o||"function"==typeof o)&&(u=o&&o.then)}catch(e){return c(()=>{x(t,!1,e)})(),t}if(r!==S&&o instanceof L&&o.hasOwnProperty(g)&&o.hasOwnProperty(m)&&o[g]!==w)R(o),x(t,o[g],o[m]);else if(r!==S&&"function"==typeof u)try{u.call(o,c(k(t,r)),c(k(t,!1)))}catch(e){c(()=>{x(t,!1,e)})()}else{t[g]=r;const c=t[m];if(t[m]=o,t[v]===v&&r===_&&(t[g]=t[b],t[m]=t[y]),r===S&&o instanceof Error){const t=e.currentTask&&e.currentTask.data&&e.currentTask.data.__creationTrace__;t&&s(o,E,{configurable:!0,enumerable:!1,writable:!0,value:t})}for(let e=0;e<c.length;)A(t,c[e++],c[e++],c[e++],c[e++]);if(0==c.length&&r==S){t[g]=0;let r=o;try{throw new Error("Uncaught (in promise): "+function(t){return t&&t.toString===Object.prototype.toString?(t.constructor&&t.constructor.name||"")+": "+JSON.stringify(t):t?t.toString():Object.prototype.toString.call(t)}(o)+(o&&o.stack?"\n"+o.stack:""))}catch(t){r=t}a&&(r.throwOriginal=!0),r.rejection=o,r.promise=t,r.zone=e.current,r.task=e.currentTask,i.push(r),n.scheduleMicroTask()}}}return t}const I=o("rejectionHandledHandler");function R(t){if(0===t[g]){try{const n=e[I];n&&"function"==typeof n&&n.call(this,{rejection:t[m],promise:t})}catch{}t[g]=S;for(let e=0;e<i.length;e++)t===i[e].promise&&i.splice(e,1)}}function A(t,e,n,r,s){R(t);const o=t[g],i=o?"function"==typeof r?r:d:"function"==typeof s?s:p;e.scheduleMicroTask("Promise.then",()=>{try{const r=t[m],s=!!n&&v===n[v];s&&(n[y]=r,n[b]=o);const a=e.run(i,void 0,s&&i!==p&&i!==d?[]:[r]);x(n,!0,a)}catch(t){x(n,!1,t)}},n)}const O=function(){},P=t.AggregateError;class L{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(t){return t instanceof L?t:x(new this(null),_,t)}static reject(t){return x(new this(null),S,t)}static withResolvers(){const t={};return t.promise=new L((e,n)=>{t.resolve=e,t.reject=n}),t}static any(t){if(!t||"function"!=typeof t[Symbol.iterator])return Promise.reject(new P([],"All promises were rejected"));const e=[];let n=0;try{for(let r of t)n++,e.push(L.resolve(r))}catch{return Promise.reject(new P([],"All promises were rejected"))}if(0===n)return Promise.reject(new P([],"All promises were rejected"));let r=!1;const s=[];return new L((t,o)=>{for(let i=0;i<e.length;i++)e[i].then(e=>{r||(r=!0,t(e))},t=>{s.push(t),n--,0===n&&(r=!0,o(new P(s,"All promises were rejected")))})})}static race(t){let e,n,r=new this((t,r)=>{e=t,n=r});function s(t){e(t)}function o(t){n(t)}for(let e of t)f(e)||(e=this.resolve(e)),e.then(s,o);return r}static all(t){return L.allWithCallback(t)}static allSettled(t){return(this&&this.prototype instanceof L?this:L).allWithCallback(t,{thenCallback:t=>({status:"fulfilled",value:t}),errorCallback:t=>({status:"rejected",reason:t})})}static allWithCallback(t,e){let n,r,s=new this((t,e)=>{n=t,r=e}),o=2,i=0;const a=[];for(let s of t){f(s)||(s=this.resolve(s));const t=i;try{s.then(r=>{a[t]=e?e.thenCallback(r):r,o--,0===o&&n(a)},s=>{e?(a[t]=e.errorCallback(s),o--,0===o&&n(a)):r(s)})}catch(t){r(t)}o++,i++}return o-=2,0===o&&n(a),s}constructor(t){const e=this;if(!(e instanceof L))throw new Error("Must be an instanceof Promise.");e[g]=w,e[m]=[];try{const n=C();t&&t(n(k(e,_)),n(k(e,S)))}catch(t){x(e,!1,t)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return L}then(t,n){let r=this.constructor?.[Symbol.species];(!r||"function"!=typeof r)&&(r=this.constructor||L);const s=new r(O),o=e.current;return this[g]==w?this[m].push(o,s,t,n):A(this,o,s,t,n),s}catch(t){return this.then(null,t)}finally(t){let n=this.constructor?.[Symbol.species];(!n||"function"!=typeof n)&&(n=L);const r=new n(O);r[v]=v;const s=e.current;return this[g]==w?this[m].push(s,r,t,t):A(this,s,r,t,t),r}}L.resolve=L.resolve,L.reject=L.reject,L.race=L.race,L.all=L.all;const N=t[c]=t.Promise;t.Promise=L;const D=o("thenPatched");function M(t){const e=t.prototype,n=r(e,"then");if(n&&(!1===n.writable||!n.configurable))return;const s=e.then;e[u]=s,t.prototype.then=function(t,e){return new L((t,e)=>{s.call(this,t,e)}).then(t,e)},t[D]=!0}return n.patchThen=M,N&&(M(N),j(t,"fetch",t=>function(t){return function(e,n){let r=t.apply(e,n);if(r instanceof L)return r;let s=r.constructor;return s[D]||M(s),r}}(t))),Promise[e.__symbol__("uncaughtPromiseErrors")]=i,L})})(rt=nt),function(t){t.__load_patch("toString",t=>{const e=Function.prototype.toString,n=m("OriginalDelegate"),r=m("Promise"),s=m("Error"),o=function(){if("function"==typeof this){const o=this[n];if(o)return"function"==typeof o?e.call(o):Object.prototype.toString.call(o);if(this===Promise){const n=t[r];if(n)return e.call(n)}if(this===Error){const n=t[s];if(n)return e.call(n)}}return e.call(this)};o[n]=e,Function.prototype.toString=o;const i=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":i.call(this)}})}(rt),function(t){t.__load_patch("util",(t,e,s)=>{const u=tt(t);s.patchOnProperties=A,s.patchMethod=j,s.bindArguments=w,s.patchMacroTask=L;const l=e.__symbol__("BLACK_LISTED_EVENTS"),g=e.__symbol__("UNPATCHED_EVENTS");t[g]&&(t[l]=t[g]),t[l]&&(e[l]=e[g]=t[l]),s.patchEventPrototype=Q,s.patchEventTarget=G,s.isIEOrEdge=z,s.ObjectDefineProperty=r,s.ObjectGetOwnPropertyDescriptor=n,s.ObjectCreate=o,s.ArraySlice=i,s.patchClass=P,s.wrapWithCurrentZone=p,s.filterProperties=Y,s.attachOriginToPatched=N,s._redefineProperty=Object.defineProperty,s.patchCallbacks=et,s.getGlobalObjects=()=>({globalSources:Z,zoneSymbolEventNames:H,eventNames:u,isBrowser:C,isMix:T,isNode:k,TRUE_STR:h,FALSE_STR:f,ZONE_SYMBOL_PREFIX:d,ADD_EVENT_LISTENER_STR:a,REMOVE_EVENT_LISTENER_STR:c})})}(rt),function(t){t.__load_patch("legacy",e=>{const n=e[t.__symbol__("legacyPatch")];n&&n()}),t.__load_patch("timers",t=>{const e="set",n="clear";X(t,e,n,"Timeout"),X(t,e,n,"Interval"),X(t,e,n,"Immediate")}),t.__load_patch("requestAnimationFrame",t=>{X(t,"request","cancel","AnimationFrame"),X(t,"mozRequest","mozCancel","AnimationFrame"),X(t,"webkitRequest","webkitCancel","AnimationFrame")}),t.__load_patch("blocking",(t,e)=>{const n=["alert","prompt","confirm"];for(let r=0;r<n.length;r++)j(t,n[r],(n,r,s)=>function(r,o){return e.current.run(n,t,o,s)})}),t.__load_patch("EventTarget",(t,e,n)=>{(function(t,e){e.patchEventPrototype(t,e)})(t,n),function(t,e){if(Zone[e.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:r,TRUE_STR:s,FALSE_STR:o,ZONE_SYMBOL_PREFIX:i}=e.getGlobalObjects();for(let t=0;t<n.length;t++){const e=n[t],a=i+(e+o),c=i+(e+s);r[e]={},r[e][o]=a,r[e][s]=c}const a=t.EventTarget;a&&a.prototype&&e.patchEventTarget(t,e,[a&&a.prototype])}(t,n);const r=t.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(t,n,[r.prototype])}),t.__load_patch("MutationObserver",(t,e,n)=>{P("MutationObserver"),P("WebKitMutationObserver")}),t.__load_patch("IntersectionObserver",(t,e,n)=>{P("IntersectionObserver")}),t.__load_patch("FileReader",(t,e,n)=>{P("FileReader")}),t.__load_patch("on_property",(t,e,n)=>{!function(t,e){if(k&&!T||Zone[t.symbol("patchEvents")])return;const n=e.__Zone_ignore_on_properties;let r=[];if(C){const t=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const e=[];J(t,tt(t),n&&n.concat(e),s(t))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let t=0;t<r.length;t++){const s=e[r[t]];s?.prototype&&J(s.prototype,tt(s.prototype),n)}}(n,t)}),t.__load_patch("customElements",(t,e,n)=>{!function(t,e){const{isBrowser:n,isMix:r}=e.getGlobalObjects();(n||r)&&t.customElements&&"customElements"in t&&e.patchCallbacks(e,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(t,n)}),t.__load_patch("XHR",(t,e)=>{!function(t){const c=t.XMLHttpRequest;if(!c)return;const h=c.prototype;let f=h[u],d=h[l];if(!f){const e=t.XMLHttpRequestEventTarget;if(e){const t=e.prototype;f=t[u],d=t[l]}}const p="readystatechange",v="scheduled";function y(t){const r=t.data,i=r.target;i[o]=!1,i[a]=!1;const c=i[s];f||(f=i[u],d=i[l]),c&&d.call(i,p,c);const h=i[s]=()=>{if(i.readyState===i.DONE)if(!r.aborted&&i[o]&&t.state===v){const n=i[e.__symbol__("loadfalse")];if(0!==i.status&&n&&n.length>0){const s=t.invoke;t.invoke=function(){const n=i[e.__symbol__("loadfalse")];for(let e=0;e<n.length;e++)n[e]===t&&n.splice(e,1);!r.aborted&&t.state===v&&s.call(t)},n.push(t)}else t.invoke()}else!r.aborted&&!1===i[o]&&(i[a]=!0)};return f.call(i,p,h),i[n]||(i[n]=t),C.apply(i,r.args),i[o]=!0,t}function b(){}function w(t){const e=t.data;return e.aborted=!0,T.apply(e.target,e.args)}const _=j(h,"open",()=>function(t,e){return t[r]=0==e[2],t[i]=e[1],_.apply(t,e)}),S=m("fetchTaskAborting"),k=m("fetchTaskScheduling"),C=j(h,"send",()=>function(t,n){if(!0===e.current[k]||t[r])return C.apply(t,n);{const e={target:t,url:t[i],isPeriodic:!1,args:n,aborted:!1},r=g("XMLHttpRequest.send",b,e,y,w);t&&!0===t[a]&&!e.aborted&&r.state===v&&r.invoke()}}),T=j(h,"abort",()=>function(t,r){const s=function(t){return t[n]}(t);if(s&&"string"==typeof s.type){if(null==s.cancelFn||s.data&&s.data.aborted)return;s.zone.cancelTask(s)}else if(!0===e.current[S])return T.apply(t,r)})}(t);const n=m("xhrTask"),r=m("xhrSync"),s=m("xhrListener"),o=m("xhrScheduled"),i=m("xhrURL"),a=m("xhrErrorBeforeScheduled")}),t.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function(t,e){const r=t.constructor.name;for(let s=0;s<e.length;s++){const o=e[s],i=t[o];if(i){if(!_(n(t,o)))continue;t[o]=(t=>{const e=function(){return t.apply(this,w(arguments,r+"."+o))};return N(e,t),e})(i)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),t.__load_patch("PromiseRejectionEvent",(t,e)=>{function n(e){return function(n){W(t,e).forEach(r=>{const s=t.PromiseRejectionEvent;if(s){const t=new s(e,{promise:n.promise,reason:n.rejection});r.invoke(t)}})}}t.PromiseRejectionEvent&&(e[m("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),e[m("rejectionHandledHandler")]=n("rejectionhandled"))}),t.__load_patch("queueMicrotask",(t,e,n)=>{!function(t,e){e.patchMethod(t,"queueMicrotask",t=>function(t,e){Zone.current.scheduleMicroTask("queueMicrotask",e[0])})}(t,n)})}(nt)}},CS={};function st(t){var e=CS[t];if(void 0!==e)return e.exports;var n=CS[t]={id:t,exports:{}};return LB[t](n,n.exports,st),n.exports}st.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return st.d(e,{a:e}),e},st.d=(t,e)=>{for(var n in e)st.o(e,n)&&!st.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},st.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),st.nc=void 0;var _u={};(()=>{var t=st(72),e=st.n(t),n=st(825),r=st.n(n),s=st(659),o=st.n(s),i=st(56),a=st.n(i),c=st(540),u=st.n(c),l=st(113),h=st.n(l),f=st(148),d={};d.styleTagTransform=h(),d.setAttributes=a(),d.insert=o().bind(null,"head"),d.domAPI=r(),d.insertStyleElement=u(),e()(f.A,d)})(),(()=>{let t;function e(){return t}function n(e){const n=t;return t=e,n}st.d(_u,{Nw:()=>vp,Or:()=>yp,vs:()=>bp}),st(935);const r=Symbol("NotFound");function s(t){return t===r||"ɵNotFound"===t?.name}Error;let o=null,i=!1,a=1;const c=Symbol("SIGNAL");function u(t){const e=o;return o=t,e}const l={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function h(t){if(i)throw new Error("");if(null===o)return;o.consumerOnSignalRead(t);const e=o.producersTail;if(void 0!==e&&e.producer===t)return;let n;const r=o.recomputing;if(r&&(n=void 0!==e?e.nextProducer:o.producers,void 0!==n&&n.producer===t))return o.producersTail=n,void(n.lastReadVersion=t.version);const s=t.consumersTail;if(void 0!==s&&s.consumer===o&&(!r||function(t,e){const n=e.producersTail;if(void 0!==n){let r=e.producers;do{if(r===t)return!0;if(r===n)break;r=r.nextProducer}while(void 0!==r)}return!1}(s,o)))return;const a=S(o),c={producer:t,consumer:o,nextProducer:n,prevConsumer:s,lastReadVersion:t.version,nextConsumer:void 0};o.producersTail=c,void 0!==e?e.nextProducer=c:o.producers=c,a&&w(t,c)}function f(t){if((!S(t)||t.dirty)&&(t.dirty||t.lastCleanEpoch!==a)){if(!t.producerMustRecompute(t)&&!y(t))return void m(t);t.producerRecomputeValue(t),m(t)}}function d(t){if(void 0===t.consumers)return;const e=i;i=!0;try{for(let e=t.consumers;void 0!==e;e=e.nextConsumer){const t=e.consumer;t.dirty||g(t)}}finally{i=e}}function p(){return!1!==o?.consumerAllowSignalWrites}function g(t){t.dirty=!0,d(t),t.consumerMarkedDirty?.(t)}function m(t){t.dirty=!1,t.lastCleanEpoch=a}function v(t){return t&&(t.producersTail=void 0,t.recomputing=!0),u(t)}function y(t){for(let e=t.producers;void 0!==e;e=e.nextProducer){const t=e.producer,n=e.lastReadVersion;if(n!==t.version||(f(t),n!==t.version))return!0}return!1}function b(t){if(S(t)){let e=t.producers;for(;void 0!==e;)e=_(e)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function w(t,e){const n=t.consumersTail,r=S(t);if(void 0!==n?(e.nextConsumer=n.nextConsumer,n.nextConsumer=e):(e.nextConsumer=void 0,t.consumers=e),e.prevConsumer=n,t.consumersTail=e,!r)for(let e=t.producers;void 0!==e;e=e.nextProducer)w(e.producer,e)}function _(t){const e=t.producer,n=t.nextProducer,r=t.nextConsumer,s=t.prevConsumer;if(t.nextConsumer=void 0,t.prevConsumer=void 0,void 0!==r?r.prevConsumer=s:e.consumersTail=s,void 0!==s)s.nextConsumer=r;else if(e.consumers=r,!S(e)){let t=e.producers;for(;void 0!==t;)t=_(t)}return n}function S(t){return t.consumerIsAlwaysLive||void 0!==t.consumers}let k=function(){throw new Error};function C(t){k(t)}function T(t,e){p()||C(t),t.equal(t.value,e)||(t.value=e,function(t){t.version++,a++,d(t)}(t))}const E={...l,equal:function(t,e){return Object.is(t,e)},value:void 0,kind:"signal"};function x(t){return"function"==typeof t}function I(t){const e=t(t=>{Error.call(t),t.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const R=I(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function A(t,e){if(t){const n=t.indexOf(e);0<=n&&t.splice(n,1)}}class O{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const t of e)t.remove(this);else e.remove(this);const{initialTeardown:n}=this;if(x(n))try{n()}catch(e){t=e instanceof R?e.errors:[e]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const e of r)try{L(e)}catch(e){t=t??[],e instanceof R?t=[...t,...e.errors]:t.push(e)}}if(t)throw new R(t)}}add(t){var e;if(t&&t!==this)if(this.closed)L(t);else{if(t instanceof O){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&A(e,t)}remove(t){const{_finalizers:e}=this;e&&A(e,t),t instanceof O&&t._removeParent(this)}}O.EMPTY=(()=>{const t=new O;return t.closed=!0,t})();const P=O.EMPTY;function j(t){return t instanceof O||t&&"closed"in t&&x(t.remove)&&x(t.add)&&x(t.unsubscribe)}function L(t){x(t)?t():t.unsubscribe()}const N={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},D={setTimeout(t,e,...n){const{delegate:r}=D;return r?.setTimeout?r.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){const{delegate:e}=D;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function M(t){D.setTimeout(()=>{const{onUnhandledError:e}=N;if(!e)throw t;e(t)})}function z(){}const U=F("C",void 0,void 0);function F(t,e,n){return{kind:t,value:e,error:n}}let V=null;function H(t){if(N.useDeprecatedSynchronousErrorHandling){const e=!V;if(e&&(V={errorThrown:!1,error:null}),t(),e){const{errorThrown:t,error:e}=V;if(V=null,t)throw e}}else t()}class Z extends O{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,j(t)&&t.add(this)):this.destination=K}static create(t,e,n){return new G(t,e,n)}next(t){this.isStopped?Q(F("N",t,void 0),this):this._next(t)}error(t){this.isStopped?Q(F("E",void 0,t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Q(U,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()}}}const $=Function.prototype.bind;function q(t,e){return $.call(t,e)}class B{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(t){W(t)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(t){W(t)}else W(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(t){W(t)}}}class G extends Z{constructor(t,e,n){let r;if(super(),x(t)||!t)r={next:t??void 0,error:e??void 0,complete:n??void 0};else{let e;this&&N.useDeprecatedNextContext?(e=Object.create(t),e.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&q(t.next,e),error:t.error&&q(t.error,e),complete:t.complete&&q(t.complete,e)}):r=t}this.destination=new B(r)}}function W(t){N.useDeprecatedSynchronousErrorHandling?function(t){N.useDeprecatedSynchronousErrorHandling&&V&&(V.errorThrown=!0,V.error=t)}(t):M(t)}function Q(t,e){const{onStoppedNotification:n}=N;n&&D.setTimeout(()=>n(t,e))}const K={closed:!0,next:z,error:function(t){throw t},complete:z},X="function"==typeof Symbol&&Symbol.observable||"@@observable";function Y(t){return t}function J(t){return 0===t.length?Y:1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}}let tt=(()=>{class t{constructor(t){t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const r=function(t){return t&&t instanceof Z||function(t){return t&&x(t.next)&&x(t.error)&&x(t.complete)}(t)&&j(t)}(t)?t:new G(t,e,n);return H(()=>{const{operator:t,source:e}=this;r.add(t?t.call(r,e):e?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(t){try{return this._subscribe(t)}catch(e){t.error(e)}}forEach(t,e){return new(e=et(e))((e,n)=>{const r=new G({next:e=>{try{t(e)}catch(t){n(t),r.unsubscribe()}},error:n,complete:e});this.subscribe(r)})}_subscribe(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)}[X](){return this}pipe(...t){return J(t)(this)}toPromise(t){return new(t=et(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function et(t){var e;return null!==(e=t??N.Promise)&&void 0!==e?e:Promise}const nt=I(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let rt=(()=>{class t extends tt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const e=new ot(this,this);return e.operator=t,e}_throwIfClosed(){if(this.closed)throw new nt}next(t){H(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const e of this.currentObservers)e.next(t)}})}error(t){H(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:e}=this;for(;e.length;)e.shift().error(t)}})}complete(){H(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:e,isStopped:n,observers:r}=this;return e||n?P:(this.currentObservers=null,r.push(t),new O(()=>{this.currentObservers=null,A(r,t)}))}_checkFinalizedStatuses(t){const{hasError:e,thrownError:n,isStopped:r}=this;e?t.error(n):r&&t.complete()}asObservable(){const t=new tt;return t.source=this,t}}return t.create=(t,e)=>new ot(t,e),t})();class ot extends rt{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)}error(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,n;return null!==(n=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==n?n:P}}class it extends rt{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:n}=this;if(t)throw e;return this._throwIfClosed(),n}next(t){super.next(this._value=t)}}const at="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class ct extends Error{code;constructor(t,e){super(function(t,e){return`${function(t){return`NG0${Math.abs(t)}`}(t)}${e?": "+e:""}`}(t,e)),this.code=t}}const ut=globalThis;function lt(t){for(let e in t)if(t[e]===lt)return e;throw Error("")}function ht(t){if("string"==typeof t)return t;if(Array.isArray(t))return`[${t.map(ht).join(", ")}]`;if(null==t)return""+t;const e=t.overriddenName||t.name;if(e)return`${e}`;const n=t.toString();if(null==n)return""+n;const r=n.indexOf("\n");return r>=0?n.slice(0,r):n}function ft(t,e){return t?e?`${t} ${e}`:t:e||""}const dt=lt({__forward_ref__:lt});function pt(t){return t.__forward_ref__=pt,t.toString=function(){return ht(this())},t}function gt(t){return mt(t)?t():t}function mt(t){return"function"==typeof t&&t.hasOwnProperty(dt)&&t.__forward_ref__===pt}function vt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function yt(t){return function(t,e){return t.hasOwnProperty(e)&&t[e]||null}(t,wt)}function bt(t){return t&&t.hasOwnProperty(_t)?t[_t]:null}const wt=lt({ɵprov:lt}),_t=lt({ɵinj:lt});class St{_desc;ngMetadataName="InjectionToken";ɵprov;constructor(t,e){this._desc=t,this.ɵprov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.ɵprov=vt({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function kt(t){return t&&!!t.ɵproviders}const Ct=lt({ɵcmp:lt}),Tt=lt({ɵdir:lt}),Et=lt({ɵpipe:lt}),xt=lt({ɵmod:lt}),It=lt({ɵfac:lt}),Rt=lt({__NG_ELEMENT_ID__:lt}),At=lt({__NG_ENV_ID__:lt});function Ot(t){return"string"==typeof t?t:null==t?"":String(t)}const Pt=lt({ngErrorCode:lt}),jt=lt({ngErrorMessage:lt}),Lt=lt({ngTokenPath:lt});function Nt(t,e){return Mt("",-200,e)}function Dt(t,e){throw new ct(-201,!1)}function Mt(t,e,n){const r=new ct(e,t);return r[Pt]=e,r[jt]=t,n&&(r[Lt]=n),r}let zt;function Ut(){return zt}function Ft(t){const e=zt;return zt=t,e}function Vt(t,e,n){const r=yt(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:8&n?null:void 0!==e?e:void Dt()}const Ht={},Zt="__NG_DI_FLAG__";class $t{injector;constructor(t){this.injector=t}retrieve(t,e){const n=Wt(e)||0;try{return this.injector.get(t,8&n?null:Ht,n)}catch(t){if(s(t))return t;throw t}}}function qt(t,n=0){const r=e();if(void 0===r)throw new ct(-203,!1);if(null===r)return Vt(t,void 0,n);{const e=function(t){return{optional:!!(8&t),host:!!(1&t),self:!!(2&t),skipSelf:!!(4&t)}}(n),o=r.retrieve(t,e);if(s(o)){if(e.optional)return null;throw o}return o}}function Bt(t,e=0){return(Ut()||qt)(gt(t),e)}function Gt(t,e){return Bt(t,Wt(e))}function Wt(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Qt(t){const e=[];for(let n=0;n<t.length;n++){const r=gt(t[n]);if(Array.isArray(r)){if(0===r.length)throw new ct(900,!1);let t,n=0;for(let e=0;e<r.length;e++){const s=r[e],o=Kt(s);"number"==typeof o?-1===o?t=s.token:n|=o:t=s}e.push(Bt(t,n))}else e.push(Bt(r))}return e}function Kt(t){return t[Zt]}function Xt(t,e){return t.hasOwnProperty(It)?t[It]:null}function Yt(t,e){t.forEach(t=>Array.isArray(t)?Yt(t,e):e(t))}function Jt(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function te(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}const ee={},ne=[],re=new St(""),se=new St("",-1),oe=new St("");class ie{get(t,e=Ht){if(e===Ht){const t=Mt("",-201);throw t.name="ɵNotFound",t}return e}}function ae(t){return t[xt]||null}function ce(t){return t[Ct]||null}function ue(t){return t[Tt]||null}function le(t){return t[Et]||null}function he(t){return{ɵproviders:t}}function fe(...t){return{ɵproviders:de(0,t),ɵfromNgModule:!0}}function de(t,...e){const n=[],r=new Set;let s;const o=t=>{n.push(t)};return Yt(e,t=>{const e=t;ge(e,o,[],r)&&(s||=[],s.push(e))}),void 0!==s&&pe(s,o),n}function pe(t,e){for(let n=0;n<t.length;n++){const{ngModule:r,providers:s}=t[n];me(s,t=>{e(t,r)})}}function ge(t,e,n,r){if(!(t=gt(t)))return!1;let s=null,o=bt(t);const i=!o&&ce(t);if(o||i){if(i&&!i.standalone)return!1;s=t}else{const e=t.ngModule;if(o=bt(e),!o)return!1;s=e}const a=r.has(s);if(i){if(a)return!1;if(r.add(s),i.dependencies){const t="function"==typeof i.dependencies?i.dependencies():i.dependencies;for(const s of t)ge(s,e,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let t;r.add(s);try{Yt(o.imports,s=>{ge(s,e,n,r)&&(t||=[],t.push(s))})}finally{}void 0!==t&&pe(t,e)}if(!a){const t=Xt(s)||(()=>new s);e({provide:s,useFactory:t,deps:ne},s),e({provide:oe,useValue:s,multi:!0},s),e({provide:re,useValue:()=>Bt(s),multi:!0},s)}const i=o.providers;if(null!=i&&!a){const n=t;me(i,t=>{e(t,n)})}}}return s!==t&&void 0!==t.providers}function me(t,e){for(let n of t)kt(n)&&(n=n.ɵproviders),Array.isArray(n)?me(n,e):e(n)}const ve=lt({provide:String,useValue:lt});function ye(t){return null!==t&&"object"==typeof t&&ve in t}function be(t){return"function"==typeof t}const we=new St(""),_e={},Se={};let ke;function Ce(){return void 0===ke&&(ke=new ie),ke}class Te{}class Ee extends Te{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,e,n,r){super(),this.parent=e,this.source=n,this.scopes=r,Ae(t,t=>this.processProvider(t)),this.records.set(se,Re(void 0,this)),r.has("environment")&&this.records.set(Te,Re(void 0,this));const s=this.records.get(we);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(oe,ne,{self:!0}))}retrieve(t,e){const n=Wt(e)||0;try{return this.get(t,Ht,n)}catch(t){if(s(t))return t;throw t}}destroy(){Ie(this),this._destroyed=!0;const t=u(null);try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const e of t)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),u(t)}}onDestroy(t){return Ie(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Ie(this);const e=n(this),r=Ft(void 0);try{return t()}finally{n(e),Ft(r)}}get(t,e=Ht,r){if(Ie(this),t.hasOwnProperty(At))return t[At](this);const s=Wt(r),o=n(this),i=Ft(void 0);try{if(!(4&s)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(a=t)||"object"==typeof a&&"InjectionToken"===a.ngMetadataName)&&yt(t);e=n&&this.injectableDefInScope(n)?Re(xe(t),_e):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e,s)}return(2&s?Ce():this.parent).get(t,e=8&s&&e===Ht?null:e)}catch(t){const e=function(t){return t[Pt]}(t);throw-200===e||-201===e?new ct(e,null):t}finally{Ft(i),n(o)}var a}resolveInjectorInitializers(){const t=u(null),e=n(this),r=Ft(void 0);try{const t=this.get(re,ne,{self:!0});for(const e of t)e()}finally{n(e),Ft(r),u(t)}}toString(){const t=[],e=this.records;for(const n of e.keys())t.push(ht(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){let e=be(t=gt(t))?t:gt(t&&t.provide);const n=ye(r=t)?Re(void 0,r.useValue):Re(function(t){let e;if(be(t)){const e=gt(t);return Xt(e)||xe(e)}if(ye(t))e=()=>gt(t.useValue);else if(function(t){return!(!t||!t.useFactory)}(t))e=()=>t.useFactory(...Qt(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))e=(e,n)=>Bt(gt(t.useExisting),void 0!==n&&8&n?8:void 0);else{const n=gt(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return Xt(n)||xe(n);e=()=>new n(...Qt(t.deps))}return e}(r),_e);var r;if(!be(t)&&!0===t.multi){let n=this.records.get(e);n||(n=Re(void 0,_e,!0),n.factory=()=>Qt(n.multi),this.records.set(e,n)),e=t,n.multi.push(t)}this.records.set(e,n)}hydrate(t,e,n){const r=u(null);try{if(e.value===Se)throw Nt(ht(t));return e.value===_e&&(e.value=Se,e.value=e.factory(void 0,n)),"object"==typeof e.value&&e.value&&null!==(s=e.value)&&"object"==typeof s&&"function"==typeof s.ngOnDestroy&&this._ngOnDestroyHooks.add(e.value),e.value}finally{u(r)}var s}injectableDefInScope(t){if(!t.providedIn)return!1;const e=gt(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(t){const e=this._onDestroyHooks.indexOf(t);-1!==e&&this._onDestroyHooks.splice(e,1)}}function xe(t){const e=yt(t),n=null!==e?e.factory:Xt(t);if(null!==n)return n;if(t instanceof St)throw new ct(204,!1);if(t instanceof Function)return function(t){if(t.length>0)throw new ct(204,!1);const e=function(t){return(t?.[wt]??null)||null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new ct(204,!1)}function Ie(t){if(t.destroyed)throw new ct(205,!1)}function Re(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Ae(t,e){for(const n of t)Array.isArray(n)?Ae(n,e):n&&kt(n)?Ae(n.ɵproviders,e):e(n)}function Oe(t,e){let r;t instanceof Ee?(Ie(t),r=t):r=new $t(t);const s=n(r),o=Ft(void 0);try{return e()}finally{n(s),Ft(o)}}function Pe(t){return Array.isArray(t)&&"object"==typeof t[1]}function je(t){return Array.isArray(t)&&!0===t[1]}function Le(t){return!!(4&t.flags)}function Ne(t){return t.componentOffset>-1}function De(t){return!(1&~t.flags)}function Me(t){return!!t.template}function ze(t){return!!(512&t[2])}function Ue(t){return!(256&~t[2])}function Fe(t){for(;Array.isArray(t);)t=t[0];return t}function Ve(t,e){return Fe(e[t.index])}function He(t,e){return t.data[e]}function Ze(t,e){const n=e[t];return Pe(n)?n:n[0]}function $e(t){return!(128&~t[2])}function qe(t,e){return null==e?null:t[e]}function Be(t){t[17]=0}function Ge(t){1024&t[2]||(t[2]|=1024,$e(t)&&Ke(t))}function We(t){return!!(9216&t[2]||t[24]?.dirty)}function Qe(t){t[10].changeDetectionScheduler?.notify(8),64&t[2]&&(t[2]|=1024),We(t)&&Ke(t)}function Ke(t){t[10].changeDetectionScheduler?.notify(0);let e=Ye(t);for(;null!==e&&!(8192&e[2])&&(e[2]|=8192,$e(e));)e=Ye(e)}function Xe(t,e){if(Ue(t))throw new ct(911,!1);null===t[21]&&(t[21]=[]),t[21].push(e)}function Ye(t){const e=t[3];return je(e)?e[3]:e}const Je={lFrame:_n(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let tn=!1;function en(){Je.lFrame.elementDepthCount--}function nn(t){return Je.skipHydrationRootTNode===t}function rn(){Je.skipHydrationRootTNode=null}function sn(){return Je.lFrame.lView}function on(){return Je.lFrame.tView}function an(){let t=cn();for(;null!==t&&64===t.type;)t=t.parent;return t}function cn(){return Je.lFrame.currentTNode}function un(t,e){const n=Je.lFrame;n.currentTNode=t,n.isParent=e}function ln(){return Je.lFrame.isParent}function hn(){return tn}function fn(t){const e=tn;return tn=t,e}function dn(){return Je.lFrame.bindingIndex++}function pn(t,e){const n=Je.lFrame;n.bindingIndex=n.bindingRootIndex=t,gn(e)}function gn(t){Je.lFrame.currentDirectiveIndex=t}function mn(t){Je.lFrame.currentQueryIndex=t}function vn(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[5]:null}function yn(t,e,n){if(4&n){let r=e,s=t;for(;r=r.parent,!(null!==r||1&n||(r=vn(s),null===r||(s=s[14],10&r.type))););if(null===r)return!1;e=r,t=s}const r=Je.lFrame=wn();return r.currentTNode=e,r.lView=t,!0}function bn(t){const e=wn(),n=t[1];Je.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function wn(){const t=Je.lFrame,e=null===t?null:t.child;return null===e?_n(t):e}function _n(t){const e={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:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function Sn(){const t=Je.lFrame;return Je.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const kn=Sn;function Cn(){const t=Sn();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Tn(){return Je.lFrame.selectedIndex}function En(t){Je.lFrame.selectedIndex=t}let xn=!0;function In(){return xn}function Rn(t){xn=t}function An(t,e=null,n=null,r){const s=On(t,e,n,r);return s.resolveInjectorInitializers(),s}function On(t,e=null,n=null,r,s=new Set){const o=[n||ne,fe(t)];return r=r||("object"==typeof t?void 0:ht(t)),new Ee(o,e||Ce(),r||null,s)}class Pn{static THROW_IF_NOT_FOUND=Ht;static NULL=new ie;static create(t,e){if(Array.isArray(t))return An({name:""},e,t,"");{const e=t.name??"";return An({name:e},t.parent,t.providers,e)}}static ɵprov=vt({token:Pn,providedIn:"any",factory:()=>Bt(se)});static __NG_ELEMENT_ID__=-1}const jn=new St("");let Ln=class{static __NG_ELEMENT_ID__=Dn;static __NG_ENV_ID__=t=>t};class Nn extends Ln{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Ue(this._lView)}onDestroy(t){const e=this._lView;return Xe(e,t),()=>function(t,e){if(null===t[21])return;const n=t[21].indexOf(e);-1!==n&&t[21].splice(n,1)}(e,t)}}function Dn(){return new Nn(sn())}class Mn{_console=console;handleError(t){this._console.error("ERROR",t)}}const zn=new St("",{providedIn:"root",factory:()=>{const t=Gt(Te);let e;return n=>{t.destroyed&&!e?setTimeout(()=>{throw n}):(e??=t.get(Mn),e.handleError(n))}}}),Un={provide:re,useValue:()=>{Gt(Mn)},multi:!0};function Fn(t,e){const[n,r,s]=function(t,e){const n=Object.create(E);n.value=t,void 0!==e&&(n.equal=e);const r=()=>function(t){return h(t),t.value}(n);return r[c]=n,[r,t=>T(n,t),t=>function(t,e){p()||C(t),T(t,e(t.value))}(n,t)]}(t,e?.equal),o=n;return o.set=r,o.update=s,o.asReadonly=Vn.bind(o),o}function Vn(){const t=this[c];if(void 0===t.readonlyFn){const e=()=>this();e[c]=t,t.readonlyFn=e}return t.readonlyFn}class Hn{}const Zn=new St("",{providedIn:"root",factory:()=>!1}),$n=new St(""),qn=new St("");let Bn=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new it(!1);get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new tt(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static ɵprov=vt({token:t,providedIn:"root",factory:()=>new t})}return t})();function Gn(...t){}let Wn=(()=>{class t{static ɵprov=vt({token:t,providedIn:"root",factory:()=>new Qn})}return t})();class Qn{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){const e=this.queues.get(t.zone);e.has(t)&&(e.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){const e=t.zone;this.queues.has(e)||this.queues.set(e,new Set);const n=this.queues.get(e);n.has(t)||n.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(const[e,n]of this.queues)t||=null===e?this.flushQueue(n):e.run(()=>this.flushQueue(n));t||(this.dirtyEffectCount=0)}}flushQueue(t){let e=!1;for(const n of t)n.dirty&&(this.dirtyEffectCount--,e=!0,n.run());return e}}function Kn(t,e,n,r,s,o,i){try{var a=t[o](i),c=a.value}catch(t){return void n(t)}a.done?e(c):Promise.resolve(c).then(r,s)}function Xn(t){return function(){var e=this,n=arguments;return new Promise(function(r,s){var o=t.apply(e,n);function i(t){Kn(o,r,s,i,a,"next",t)}function a(t){Kn(o,r,s,i,a,"throw",t)}i(void 0)})}}function Yn(t){return x(t?.lift)}function Jn(t){return e=>{if(Yn(e))return e.lift(function(e){try{return t(e,this)}catch(t){this.error(t)}});throw new TypeError("Unable to lift unknown Observable type")}}function tr(t,e,n,r,s){return new er(t,e,n,r,s)}class er extends Z{constructor(t,e,n,r,s,o){super(t),this.onFinalize=s,this.shouldUnsubscribe=o,this._next=e?function(n){try{e(n)}catch(e){t.error(e)}}:super._next,this._error=r?function(e){try{r(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function nr(t,e){return Jn((n,r)=>{let s=0;n.subscribe(tr(r,n=>{r.next(t.call(e,n,s++))}))})}function rr(t){return{toString:t}.toString()}const sr="__parameters__",or=function(t){return t[Zt]=-1,t.prototype[Zt]=-1,t}(function(t,e){return rr(()=>{const t=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function n(...e){if(this instanceof n)return t.apply(this,e),this;const r=new n(...e);return s.annotation=r,s;function s(t,e,n){const s=t.hasOwnProperty(sr)?t[sr]:Object.defineProperty(t,sr,{value:[]})[sr];for(;s.length<=n;)s.push(null);return(s[n]=s[n]||[]).push(r),t}}return n.prototype.ngMetadataName="Inject",n.annotationCls=n,n})}(0,t=>({token:t})));class ir{previousValue;currentValue;firstChange;constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function ar(t,e,n,r){null!==e?e.applyValueToInputSignal(e,r):t[n]=r}const cr=(()=>{const t=()=>ur;return t.ngInherit=!0,t})();function ur(t){return t.type.prototype.ngOnChanges&&(t.setInput=hr),lr}function lr(){const t=dr(this),e=t?.current;if(e){const n=t.previous;if(n===ee)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function hr(t,e,n,r,s){const o=this.declaredInputs[r],i=dr(t)||function(t,e){return t[fr]=e}(t,{previous:ee,current:null}),a=i.current||(i.current={}),c=i.previous,u=c[o];a[o]=new ir(u&&u.currentValue,n,c===ee),ar(t,e,s,n)}const fr="__ngSimpleChanges__";function dr(t){return t[fr]||null}const pr=[],gr=function(t,e=null,n){for(let r=0;r<pr.length;r++)(0,pr[r])(t,e,n)};function mr(t,e,n){br(t,e,3,n)}function vr(t,e,n,r){(3&t[2])===n&&br(t,e,n,r)}function yr(t,e){let n=t[2];(3&n)===e&&(n&=16383,n+=1,t[2]=n)}function br(t,e,n,r){const s=r??-1,o=e.length-1;let i=0;for(let a=void 0!==r?65535&t[17]:0;a<o;a++)if("number"==typeof e[a+1]){if(i=e[a],null!=r&&i>=r)break}else e[a]<0&&(t[17]+=65536),(i<s||-1==s)&&(_r(t,n,e,a),t[17]=(4294901760&t[17])+a+2),a++}function wr(t,e){gr(4,t,e);const n=u(null);try{e.call(t)}finally{u(n),gr(5,t,e)}}function _r(t,e,n,r){const s=n[r]<0,o=n[r+1],i=t[s?-n[r]:n[r]];s?t[2]>>14<t[17]>>16&&(3&t[2])===e&&(t[2]+=16384,wr(i,o)):wr(i,o)}class Sr{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,e,n,r){this.factory=t,this.name=r,this.canSeeViewProviders=e,this.injectImpl=n}}function kr(t){return 3===t||4===t||6===t}function Cr(t){return 64===t.charCodeAt(0)}function Tr(t,e){if(null!==e&&0!==e.length)if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){const s=e[r];"number"==typeof s?n=s:0===n||Er(t,n,s,0,-1===n||2===n?e[++r]:null)}}return t}function Er(t,e,n,r,s){let o=0,i=t.length;if(-1===e)i=-1;else for(;o<t.length;){const n=t[o++];if("number"==typeof n){if(n===e){i=-1;break}if(n>e){i=o-1;break}}}for(;o<t.length;){const e=t[o];if("number"==typeof e)break;if(e===n)return void(null!==s&&(t[o+1]=s));o++,null!==s&&o++}-1!==i&&(t.splice(i,0,e),o=i+1),t.splice(o++,0,n),null!==s&&t.splice(o++,0,s)}function xr(t){return-1!==t}function Ir(t){return 32767&t}function Rr(t,e){let n=function(t){return t>>16}(t),r=e;for(;n>0;)r=r[14],n--;return r}let Ar=!0;function Or(t){const e=Ar;return Ar=t,e}let Pr=0;const jr={};function Lr(t,e){const n=Dr(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,Nr(r.data,t),Nr(e,null),Nr(r.blueprint,null));const s=Mr(t,e),o=t.injectorIndex;if(xr(s)){const t=Ir(s),n=Rr(s,e),r=n[1].data;for(let s=0;s<8;s++)e[o+s]=n[t+s]|r[t+s]}return e[o+8]=s,o}function Nr(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Dr(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Mr(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,s=e;for(;null!==s;){if(r=Xr(s),null===r)return-1;if(n++,s=s[14],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function zr(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Rt)&&(r=n[Rt]),null==r&&(r=n[Rt]=Pr++);const s=255&r;e.data[t+(s>>5)]|=1<<s}(t,e,n)}function Ur(t,e,n){if(8&n||void 0!==t)return t;Dt()}function Fr(t,e,n,r){if(8&n&&void 0===r&&(r=null),!(3&n)){const s=t[9],o=Ft(void 0);try{return s?s.get(e,r,8&n):Vt(e,r,8&n)}finally{Ft(o)}}return Ur(r,0,n)}function Vr(t,e,n,r=0,s){if(null!==t){if(2048&e[2]&&!(2&r)){const s=function(t,e,n,r,s){let o=t,i=e;for(;null!==o&&null!==i&&2048&i[2]&&!ze(i);){const t=Hr(o,i,n,2|r,jr);if(t!==jr)return t;let e=o.parent;if(!e){const t=i[20];if(t){const e=t.get(n,jr,r);if(e!==jr)return e}e=Xr(i),i=i[14]}o=e}return s}(t,e,n,r,jr);if(s!==jr)return s}const s=Hr(t,e,n,r,jr);if(s!==jr)return s}return Fr(e,n,r,s)}function Hr(t,e,n,r,s){const o=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(Rt)?t[Rt]:void 0;return"number"==typeof e?e>=0?255&e:Wr:e}(n);if("function"==typeof o){if(!yn(e,t,r))return 1&r?Ur(s,0,r):Fr(e,n,r,s);try{let t;if(t=o(r),null!=t||8&r)return t;Dt()}finally{kn()}}else if("number"==typeof o){let s=null,i=Dr(t,e),a=-1,c=1&r?e[15][5]:null;for((-1===i||4&r)&&(a=-1===i?Mr(t,e):e[i+8],-1!==a&&Br(r,!1)?(s=e[1],i=Ir(a),e=Rr(a,e)):i=-1);-1!==i;){const t=e[1];if(qr(o,i,t.data)){const t=Zr(i,e,n,s,r,c);if(t!==jr)return t}a=e[i+8],-1!==a&&Br(r,e[1].data[i+8]===c)&&qr(o,i,e)?(s=t,i=Ir(a),e=Rr(a,e)):i=-1}}return s}function Zr(t,e,n,r,s,o){const i=e[1],a=i.data[t+8],c=function(t,e,n,r,s){const o=t.providerIndexes,i=e.data,a=1048575&o,c=t.directiveStart,u=o>>20,l=s?a+u:t.directiveEnd;for(let t=r?a:a+u;t<l;t++){const e=i[t];if(t<c&&n===e||t>=c&&e.type===n)return t}if(s){const t=i[c];if(t&&Me(t)&&t.type===n)return c}return null}(a,i,n,null==r?Ne(a)&&Ar:r!=i&&!!(3&a.type),1&s&&o===a);return null!==c?$r(e,i,c,a,s):jr}function $r(t,e,n,r,s){let o=t[n];const i=e.data;if(o instanceof Sr){const a=o;if(a.resolving)throw function(t){"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Ot(t)}(i[n]),Nt();const c=Or(a.canSeeViewProviders);a.resolving=!0;const u=a.injectImpl?Ft(a.injectImpl):null;yn(t,r,0);try{o=t[n]=a.factory(void 0,s,i,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:o}=e.type.prototype;if(r){const r=ur(e);(n.preOrderHooks??=[]).push(t,r),(n.preOrderCheckHooks??=[]).push(t,r)}s&&(n.preOrderHooks??=[]).push(0-t,s),o&&((n.preOrderHooks??=[]).push(t,o),(n.preOrderCheckHooks??=[]).push(t,o))}(n,i[n],e)}finally{null!==u&&Ft(u),Or(c),a.resolving=!1,kn()}}return o}function qr(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function Br(t,e){return!(2&t||1&t&&e)}class Gr{_tNode;_lView;constructor(t,e){this._tNode=t,this._lView=e}get(t,e,n){return Vr(this._tNode,this._lView,t,Wt(n),e)}}function Wr(){return new Gr(an(),sn())}function Qr(t){return rr(()=>{const e=t.prototype.constructor,n=e[It]||Kr(e),r=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==r;){const t=s[It]||Kr(s);if(t&&t!==n)return t;s=Object.getPrototypeOf(s)}return t=>new t})}function Kr(t){return mt(t)?()=>{const e=Kr(gt(t));return e&&e()}:Xt(t)}function Xr(t){const e=t[1],n=e.type;return 2===n?e.declTNode:1===n?t[5]:null}function Yr(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let r=0;for(;r<t;){const s=n[r];if(kr(s))break;if(0===s)r+=2;else if("number"==typeof s)for(r++;r<t&&"string"==typeof n[r];)r++;else{if(s===e)return n[r+1];r+=2}}}return null}(an(),t)}function Jr(){return ts(an(),sn())}function ts(t,e){return new es(Ve(t,e))}let es=class{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=Jr};function ns(t){return!(128&~t.flags)}Symbol;var rs,ss=((rs=ss||{})[rs.OnPush=0]="OnPush",rs[rs.Default=1]="Default",rs);const os=new Map;let is=0;function as(t){os.delete(t[19])}const cs="__ngContext__";function us(t,e){Pe(e)?(t[cs]=e[19],function(t){os.set(t[19],t)}(e)):t[cs]=e}function ls(t){return fs(t[12])}function hs(t){return fs(t[4])}function fs(t){for(;null!==t&&!je(t);)t=t[4];return t}let ds;const ps=new St("",{providedIn:"root",factory:()=>gs}),gs="ng",ms=new St(""),vs=new St("",{providedIn:"platform",factory:()=>"unknown"}),ys=new St("",{providedIn:"root",factory:()=>function(){if(void 0!==ds)return ds;if(typeof document<"u")return document;throw new ct(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),bs=new St("",{providedIn:"root",factory:()=>!1});function ws(t){return!(32&~t.flags)}function _s(t,e){const n=t.contentQueries;if(null!==n){const r=u(null);try{for(let r=0;r<n.length;r+=2){const s=n[r+1];if(-1!==s){const o=t.data[s];mn(n[r]),o.contentQueries(2,e[s],s)}}}finally{u(r)}}}function Ss(t,e,n){mn(0);const r=u(null);try{e(t,n)}finally{u(r)}}function ks(t,e,n){if(Le(e)){const r=u(null);try{const r=e.directiveEnd;for(let s=e.directiveStart;s<r;s++){const e=t.data[s];e.contentQueries&&e.contentQueries(1,n[s],s)}}finally{u(r)}}}var Cs=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Cs||{});let Ts;function Es(t){return function(){if(void 0===Ts&&(Ts=null,ut.trustedTypes))try{Ts=ut.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ts}()?.createScriptURL(t)||t}class xs{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${at})`}}function Is(t){return t instanceof xs?t.changingThisBreaksApplicationSecurity:t}function Rs(t,e){const n=function(t){return t instanceof xs&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${at})`)}return n===e}const As=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var Os=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Os||{});function Ps(t){const e=Ns();return e?e.sanitize(Os.URL,t)||"":Rs(t,"URL")?Is(t):function(t){return(t=String(t)).match(As)?t:"unsafe:"+t}(Ot(t))}function js(t){const e=Ns();if(e)return Es(e.sanitize(Os.RESOURCE_URL,t)||"");if(Rs(t,"ResourceURL"))return Es(Is(t));throw new ct(904,!1)}function Ls(t,e,n){return function(t,e){return"src"===e&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===e&&("base"===t||"link"===t)?js:Ps}(e,n)(t)}function Ns(){const t=sn();return t&&t[10].sanitizer}function Ds(t){return t instanceof Function?t():t}function Ms(t,e,n){let r=t.length;for(;;){const s=t.indexOf(e,n);if(-1===s)return s;if(0===s||t.charCodeAt(s-1)<=32){const n=e.length;if(s+n===r||t.charCodeAt(s+n)<=32)return s}n=s+1}}const zs="ng-template";function Us(t,e,n,r){let s=0;if(r){for(;s<e.length&&"string"==typeof e[s];s+=2)if("class"===e[s]&&-1!==Ms(e[s+1].toLowerCase(),n,0))return!0}else if(Fs(t))return!1;if(s=e.indexOf(1,s),s>-1){let t;for(;++s<e.length&&"string"==typeof(t=e[s]);)if(t.toLowerCase()===n)return!0}return!1}function Fs(t){return 4===t.type&&t.value!==zs}function Vs(t,e,n){return e===(4!==t.type||n?t.value:zs)}function Hs(t,e,n){let r=4;const s=t.attrs,o=null!==s?function(t){for(let e=0;e<t.length;e++)if(kr(t[e]))return e;return t.length}(s):0;let i=!1;for(let a=0;a<e.length;a++){const c=e[a];if("number"!=typeof c){if(!i)if(4&r){if(r=2|1&r,""!==c&&!Vs(t,c,n)||""===c&&1===e.length){if(Zs(r))return!1;i=!0}}else if(8&r){if(null===s||!Us(t,s,c,n)){if(Zs(r))return!1;i=!0}}else{const u=e[++a],l=$s(c,s,Fs(t),n);if(-1===l){if(Zs(r))return!1;i=!0;continue}if(""!==u){let t;if(t=l>o?"":s[l+1].toLowerCase(),2&r&&u!==t){if(Zs(r))return!1;i=!0}}}}else{if(!i&&!Zs(r)&&!Zs(c))return!1;if(i&&Zs(c))continue;i=!1,r=c|1&r}}return Zs(r)||i}function Zs(t){return!(1&t)}function $s(t,e,n,r){if(null===e)return-1;let s=0;if(r||!n){let n=!1;for(;s<e.length;){const r=e[s];if(r===t)return s;if(3===r||6===r)n=!0;else{if(1===r||2===r){let t=e[++s];for(;"string"==typeof t;)t=e[++s];continue}if(4===r)break;if(0===r){s+=4;continue}}s+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const r=t[n];if("number"==typeof r)return-1;if(r===e)return n;n++}return-1}(e,t)}function qs(t,e,n=!1){for(let r=0;r<e.length;r++)if(Hs(t,e[r],n))return!0;return!1}function Bs(t,e){return t?":not("+e.trim()+")":e}function Gs(t){let e=t[0],n=1,r=2,s="",o=!1;for(;n<t.length;){let i=t[n];if("string"==typeof i)if(2&r){const e=t[++n];s+="["+i+(e.length>0?'="'+e+'"':"")+"]"}else 8&r?s+="."+i:4&r&&(s+=" "+i);else""!==s&&!Zs(i)&&(e+=Bs(o,s),s=""),r=i,o=o||!Zs(r);n++}return""!==s&&(e+=Bs(o,s)),e}const Ws={};function Qs(t,e,n){return t.createElement(e,n)}function Ks(t,e,n,r,s){t.insertBefore(e,n,r,s)}function Xs(t,e,n){t.appendChild(e,n)}function Ys(t,e,n,r,s){null!==r?Ks(t,e,n,r,s):Xs(t,e,n)}function Js(t,e,n){const{mergedAttrs:r,classes:s,styles:o}=n;null!==r&&function(t,e,n){let r=0;for(;r<n.length;){const s=n[r];if("number"==typeof s){if(0!==s)break;r++;const o=n[r++],i=n[r++],a=n[r++];t.setAttribute(e,i,a,o)}else{const o=s,i=n[++r];Cr(o)?t.setProperty(e,o,i):t.setAttribute(e,o,i),r++}}}(t,e,r),null!==s&&function(t,e,n){""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n)}(t,e,s),null!==o&&function(t,e,n){t.setAttribute(e,"style",n)}(t,e,o)}function to(t,e,n,r,s,o,i,a,c,u,l){const h=26+r,f=h+s,d=function(t,e){const n=[];for(let r=0;r<e;r++)n.push(r<t?null:Ws);return n}(h,f),p="function"==typeof u?u():u;return d[1]={type:t,blueprint:d,template:n,queries:null,viewQuery:a,declTNode:e,data:d.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:f,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:"function"==typeof o?o():o,pipeRegistry:"function"==typeof i?i():i,firstChild:null,schemas:c,consts:p,incompleteFirstPass:!1,ssrId:l}}function eo(t,e,n,r,s,o,i,a,c,u,l){const h=e.blueprint.slice();return h[0]=s,h[2]=1228|r,(null!==u||t&&2048&t[2])&&(h[2]|=2048),Be(h),h[3]=h[14]=t,h[8]=n,h[10]=i||t&&t[10],h[11]=a||t&&t[11],h[9]=c||t&&t[9]||null,h[5]=o,h[19]=is++,h[6]=l,h[20]=u,h[15]=2==e.type?t[15]:h,h}function no(t){let e=16;return t.signals?e=4096:t.onPush&&(e=64),e}function ro(t,e,n,r){if(0===n)return-1;const s=e.length;for(let s=0;s<n;s++)e.push(r),t.blueprint.push(r),t.data.push(null);return s}function so(t,e){return t[12]?t[13][4]=e:t[12]=e,t[13]=e,e}function oo(t,e,n,r){if(!r)if(3&~e[2]){const r=t.preOrderHooks;null!==r&&vr(e,r,0,n)}else{const r=t.preOrderCheckHooks;null!==r&&mr(e,r,n)}En(n)}var io=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(io||{});function ao(t,e,n,r){const s=u(null);try{const[s,o,i]=t.inputs[n];let a=null;0!==(o&io.SignalBased)&&(a=e[s][c]),null!==a&&void 0!==a.transformFn?r=a.transformFn(r):null!==i&&(r=i.call(e,r)),null!==t.setInput?t.setInput(e,a,r,n,s):ar(e,a,s,r)}finally{u(s)}}var co=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(co||{});function uo(t,e){return(void 0)(t,e)}function lo(t,e,n,r,s){if(null!=r){let o,i=!1;je(r)?o=r:Pe(r)&&(i=!0,r=r[0]);const a=Fe(r);0===t&&null!==n?null==s?Xs(e,n,a):Ks(e,n,a,s||null,!0):1===t&&null!==n?Ks(e,n,a,s||null,!0):2===t?function(t,e,n){t.removeChild(null,e,n)}(e,a,i):3===t&&e.destroyNode(a),null!=o&&function(t,e,n,r,s){const o=n[7];o!==Fe(n)&&lo(e,t,r,o,s);for(let s=10;s<n.length;s++){const i=n[s];_o(i[1],i,t,e,r,o)}}(e,t,o,n,s)}}function ho(t,e){e[10].changeDetectionScheduler?.notify(9),_o(t,e,e[11],2,null,null)}function fo(t,e){const n=t[9],r=n.indexOf(e);n.splice(r,1)}function po(t,e){if(Ue(e))return;const n=e[11];n.destroyNode&&_o(t,e,n,3,null,null),function(t){let e=t[12];if(!e)return go(t[1],t);for(;e;){let n=null;if(Pe(e))n=e[12];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)Pe(e)&&go(e[1],e),e=e[3];null===e&&(e=t),Pe(e)&&go(e[1],e),n=e&&e[4]}e=n}}(e)}function go(t,e){if(Ue(e))return;const n=u(null);try{e[2]&=-129,e[2]|=256,e[24]&&b(e[24]),function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let t=0;t<n.length;t+=2){const r=e[n[t]];if(!(r instanceof Sr)){const e=n[t+1];if(Array.isArray(e))for(let t=0;t<e.length;t+=2){const n=r[e[t]],s=e[t+1];gr(4,n,s);try{s.call(n)}finally{gr(5,n,s)}}else{gr(4,r,e);try{e.call(r)}finally{gr(5,r,e)}}}}}(t,e),function(t,e){const n=t.cleanup,r=e[7];if(null!==n)for(let t=0;t<n.length-1;t+=2)if("string"==typeof n[t]){const e=n[t+3];e>=0?r[e]():r[-e].unsubscribe(),t+=2}else n[t].call(r[n[t+1]]);null!==r&&(e[7]=null);const s=e[21];if(null!==s){e[21]=null;for(let t=0;t<s.length;t++)(0,s[t])()}const o=e[23];if(null!==o){e[23]=null;for(const t of o)t.destroy()}}(t,e),1===e[1].type&&e[11].destroy();const n=e[16];if(null!==n&&je(e[3])){n!==e[3]&&fo(n,e);const r=e[18];null!==r&&r.detachView(t)}as(e)}finally{u(n)}}function mo(t,e,n,r){const s=function(t,e,n){return function(t,e,n){let r=e;for(;null!==r&&168&r.type;)r=(e=r).parent;if(null===r)return n[0];if(Ne(r)){const{encapsulation:e}=t.data[r.directiveStart+r.componentOffset];if(e===Cs.None||e===Cs.Emulated)return null}return Ve(r,n)}(t,e.parent,n)}(t,r,e),o=e[11],i=function(t,e,n){return function(t,e,n){return 40&t.type?Ve(t,n):null}(t,0,n)}(r.parent||e[5],0,e);if(null!=s)if(Array.isArray(n))for(let t=0;t<n.length;t++)Ys(o,s,n[t],i,!1);else Ys(o,s,n,i,!1)}function vo(t,e){if(null!==e){const n=e.type;if(3&n)return Ve(e,t);if(4&n)return bo(-1,t[e.index]);if(8&n){const n=e.child;if(null!==n)return vo(t,n);{const n=t[e.index];return je(n)?bo(-1,n):Fe(n)}}if(128&n)return vo(t,e.next);if(32&n)return uo(e,t)()||Fe(t[e.index]);{const n=yo(t,e);return null!==n?Array.isArray(n)?n[0]:vo(Ye(t[15]),n):vo(t,e.next)}}return null}function yo(t,e){return null!==e?t[15][5].projection[e.projection]:null}function bo(t,e){const n=10+t+1;if(n<e.length){const t=e[n],r=t[1].firstChild;if(null!==r)return vo(t,r)}return e[7]}function wo(t,e,n,r,s,o,i){for(;null!=n;){if(128===n.type){n=n.next;continue}const a=r[n.index],c=n.type;if(i&&0===e&&(a&&us(Fe(a),r),n.flags|=2),!ws(n))if(8&c)wo(t,e,n.child,r,s,o,!1),lo(e,t,s,a,o);else if(32&c){const i=uo(n,r);let c;for(;c=i();)lo(e,t,s,c,o);lo(e,t,s,a,o)}else 16&c?So(t,e,r,n,s,o):lo(e,t,s,a,o);n=i?n.projectionNext:n.next}}function _o(t,e,n,r,s,o){wo(n,r,t.firstChild,e,s,o,!1)}function So(t,e,n,r,s,o){const i=n[15],a=i[5].projection[r.projection];if(Array.isArray(a))for(let n=0;n<a.length;n++)lo(e,t,s,a[n],o);else{let n=a;const c=i[3];ns(r)&&(n.flags|=128),wo(t,e,n,c,s,o,!0)}}function ko(t,e,n,r,s){const o=Tn(),i=2&r;try{En(-1),i&&e.length>26&&oo(t,e,26,!1),gr(i?2:0,s,n),n(r,s)}finally{En(o),gr(i?3:1,s,n)}}function Co(t,e,n){(function(t,e,n){const r=n.directiveStart,s=n.directiveEnd;Ne(n)&&function(t,e,n){const r=Ve(e,t),s=function(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=to(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}(n),o=t[10].rendererFactory,i=so(t,eo(t,s,null,no(n),r,e,null,o.createRenderer(r,n),null,null,null));t[e.index]=i}(e,n,t.data[r+n.componentOffset]),t.firstCreatePass||Lr(n,e);const o=n.initialInputs;for(let i=r;i<s;i++){const s=t.data[i],a=$r(e,t,i,n);us(a,e),null!==o&&Io(0,i-r,a,s,0,o),Me(s)&&(Ze(n.index,e)[8]=$r(e,t,i,n))}})(t,e,n),!(64&~n.flags)&&function(t,e,n){const r=n.directiveStart,s=n.directiveEnd,o=n.index,i=Je.lFrame.currentDirectiveIndex;try{En(o);for(let n=r;n<s;n++){const r=t.data[n],s=e[n];gn(n),(null!==r.hostBindings||0!==r.hostVars||null!==r.hostAttrs)&&Eo(r,s)}}finally{En(-1),gn(i)}}(t,e,n)}function To(t,e,n=Ve){const r=e.localNames;if(null!==r){let s=e.index+1;for(let o=0;o<r.length;o+=2){const i=r[o+1],a=-1===i?n(e,t):t[i];t[s++]=a}}}function Eo(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function xo(t,e){const n=t.directiveRegistry;let r=null;if(n)for(let t=0;t<n.length;t++){const s=n[t];qs(e,s.selectors,!1)&&(r??=[],Me(s)?r.unshift(s):r.push(s))}return r}function Io(t,e,n,r,s,o){const i=o[e];if(null!==i)for(let t=0;t<i.length;t+=2)ao(r,n,i[t],i[t+1])}function Ro(t,e,n,r,s){const o=26+n,i=e[1],a=s(i,e,t,r,n);e[o]=a,un(t,!0);const c=2===t.type;return c?(Js(e[11],a,t),(0===Je.lFrame.elementDepthCount||De(t))&&us(a,e),Je.lFrame.elementDepthCount++):us(a,e),In()&&(!c||!ws(t))&&mo(i,e,a,t),t}function Ao(t){let e=t;return ln()?Je.lFrame.isParent=!1:(e=e.parent,un(e,!1)),e}function Oo(t,e,n,r,s){const o=t.inputs?.[r],i=t.hostDirectiveInputs?.[r];let a=!1;if(i)for(let t=0;t<i.length;t+=2){const r=i[t];ao(e.data[r],n[r],i[t+1],s),a=!0}if(o)for(const t of o)ao(e.data[t],n[t],r,s),a=!0;return a}function Po(t,e){const n=Ze(e,t),r=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(r,n),null!==n[0]&&null===n[6]&&(n[6]=null),gr(18),jo(r,n,n[8]),gr(19,n[8])}function jo(t,e,n){bn(e);try{const r=t.viewQuery;null!==r&&Ss(1,r,n);const s=t.template;null!==s&&ko(t,e,s,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),e[18]?.finishViewCreation(t),t.staticContentQueries&&_s(t,e),t.staticViewQueries&&Ss(2,t.viewQuery,n);const o=t.components;null!==o&&function(t,e){for(let n=0;n<e.length;n++)Po(t,e[n])}(e,o)}catch(e){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),e}finally{e[2]&=-5,Cn()}}function Lo(t,e){return!e||null===e.firstChild||ns(t)}function No(t,e,n,r,s=!1){for(;null!==n;){if(128===n.type){n=s?n.projectionNext:n.next;continue}const o=e[n.index];null!==o&&r.push(Fe(o)),je(o)&&Do(o,r);const i=n.type;if(8&i)No(t,e,n.child,r);else if(32&i){const t=uo(n,e);let s;for(;s=t();)r.push(s)}else if(16&i){const t=yo(e,n);if(Array.isArray(t))r.push(...t);else{const n=Ye(e[15]);No(n[1],n,t,r,!0)}}n=s?n.projectionNext:n.next}return r}function Do(t,e){for(let n=10;n<t.length;n++){const r=t[n],s=r[1].firstChild;null!==s&&No(r[1],r,s,e)}t[7]!==t[0]&&e.push(t[7])}function Mo(t){if(null!==t[25]){for(const e of t[25])e.impl.addSequence(e);t[25].length=0}}let zo=[];const Uo={...l,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{Ke(t.lView)},consumerOnSignalRead(){this.lView[24]=this}},Fo={...l,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let e=Ye(t.lView);for(;e&&!Vo(e[1]);)e=Ye(e);e&&Ge(e)},consumerOnSignalRead(){this.lView[24]=this}};function Vo(t){return 2!==t.type}function Ho(t){if(null===t[23])return;let e=!0;for(;e;){let n=!1;for(const e of t[23])e.dirty&&(n=!0,null===e.zone||Zone.current===e.zone?e.run():e.zone.run(()=>e.run()));e=n&&!!(8192&t[2])}}function Zo(t,e=0){const n=t[10].rendererFactory;n.begin?.();try{!function(t,e){const n=hn();try{fn(!0),Go(t,e);let n=0;for(;We(t);){if(100===n)throw new ct(103,!1);n++,Go(t,1)}}finally{fn(n)}}(t,e)}finally{n.end?.()}}function $o(t,e){for(let n=ls(t);null!==n;n=hs(n))for(let t=10;t<n.length;t++)Bo(n[t],e)}function qo(t,e,n){gr(18);const r=Ze(e,t);Bo(r,n),gr(19,r[8])}function Bo(t,e){$e(t)&&Go(t,e)}function Go(t,e){const n=t[1],r=t[2],s=t[24];let i=!!(0===e&&16&r);if(i||=!!(64&r&&0===e),i||=!!(1024&r),i||=!(!s?.dirty||!y(s)),i||=!1,s&&(s.dirty=!1),t[2]&=-9217,i)!function(t,e,n,r){if(Ue(e))return;const s=e[2];bn(e);let i=!0,a=null,c=null;Vo(t)?(c=function(t){return t[24]??function(t){const e=zo.pop()??Object.create(Uo);return e.lView=t,e}(t)}(e),a=v(c)):null===o?(i=!1,c=function(t){const e=t[24]??Object.create(Fo);return e.lView=t,e}(e),a=v(c)):e[24]&&(b(e[24]),e[24]=null);try{Be(e),function(t){Je.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==n&&ko(t,e,n,2,r);const o=!(3&~s);if(o){const n=t.preOrderCheckHooks;null!==n&&mr(e,n,null)}else{const n=t.preOrderHooks;null!==n&&vr(e,n,0,null),yr(e,0)}if(function(t){for(let e=ls(t);null!==e;e=hs(e)){if(!(2&e[2]))continue;const t=e[9];for(let e=0;e<t.length;e++)Ge(t[e])}}(e),Ho(e),$o(e,0),null!==t.contentQueries&&_s(t,e),o){const n=t.contentCheckHooks;null!==n&&mr(e,n)}else{const n=t.contentHooks;null!==n&&vr(e,n,1),yr(e,1)}!function(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let t=0;t<n.length;t++){const r=n[t];if(r<0)En(~r);else{const s=r,o=n[++t],i=n[++t];pn(o,s);const a=e[s];gr(24,a),i(2,a),gr(25,a)}}}finally{En(-1)}}(t,e);const i=t.components;null!==i&&Wo(e,i,0);const a=t.viewQuery;if(null!==a&&Ss(2,a,r),o){const n=t.viewCheckHooks;null!==n&&mr(e,n)}else{const n=t.viewHooks;null!==n&&vr(e,n,2),yr(e,2)}if(!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),e[22]){for(const t of e[22])t();e[22]=null}Mo(e),e[2]&=-73}catch(t){throw Ke(e),t}finally{null!==c&&(function(t,e){if(u(e),!t)return;t.recomputing=!1;const n=t.producersTail;let r=void 0!==n?n.nextProducer:t.producers;if(void 0!==r){if(S(t))do{r=_(r)}while(void 0!==r);void 0!==n?n.nextProducer=void 0:t.producers=void 0}}(c,a),i&&function(t){t.lView[24]!==t&&(t.lView=null,zo.push(t))}(c)),Cn()}}(n,t,n.template,t[8]);else if(8192&r){const e=u(null);try{Ho(t),$o(t,1);const e=n.components;null!==e&&Wo(t,e,1),Mo(t)}finally{u(e)}}}function Wo(t,e,n){for(let r=0;r<e.length;r++)qo(t,e[r],n)}function Qo(t,e){const n=hn()?64:1088;for(t[10].changeDetectionScheduler?.notify(e);t;){t[2]|=n;const e=Ye(t);if(ze(t)&&!e)return t;t=e}return null}function Ko(t,e){if(t.length<=10)return;const n=10+e,r=t[n];if(r){const s=r[16];null!==s&&s!==t&&fo(s,r),e>0&&(t[n-1][4]=r[4]);const o=te(t,10+e);!function(t,e){ho(t,e),e[0]=null,e[5]=null}(r[1],r);const i=o[18];null!==i&&i.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Xo(t,e){const n=t[9],r=e[3];(Pe(r)||e[15]!==r[3][15])&&(t[2]|=2),null===n?t[9]=[e]:n.push(e)}class Yo{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const t=this._lView,e=t[1];return No(e,t,e.firstChild,[])}constructor(t,e){this._lView=t,this._cdRefInjectingView=e}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return Ue(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(je(t)){const e=t[8],n=e?e.indexOf(this):-1;n>-1&&(Ko(t,n),te(e,n))}this._attachedToViewContainer=!1}po(this._lView[1],this._lView)}onDestroy(t){Xe(this._lView,t)}markForCheck(){Qo(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[2]&=-129}reattach(){Qe(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,Zo(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ct(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=ze(this._lView),e=this._lView[16];null!==e&&!t&&fo(e,this._lView),ho(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ct(902,!1);this._appRef=t;const e=ze(this._lView),n=this._lView[16];null!==n&&!e&&Xo(n,this._lView),Qe(this._lView)}}function Jo(t,e,n,r,s){let o=t.data[e];if(null===o)o=function(t,e,n,r,s){const o=cn(),i=ln(),a=t.data[e]=function(t,e,n,r,s,o){let i=e?e.injectorIndex:-1,a=0;return null!==Je.skipHydrationRootTNode&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:i,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:s,attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,i?o:o&&o.parent,n,e,r,s);return function(t,e,n,r){null===t.firstChild&&(t.firstChild=e),null!==n&&(r?null==n.child&&null!==e.parent&&(n.child=e):null===n.next&&(n.next=e,e.prev=n))}(t,a,o,i),a}(t,e,n,r,s),Je.lFrame.inI18n&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=r,o.attrs=s;const t=function(){const t=Je.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();o.injectorIndex=null===t?-1:t.injectorIndex}return un(o,!0),o}let ti=class{},ei=class{};class ni{resolveComponentFactory(t){throw new ct(917,!1)}}let ri=class{static NULL=new ni};class si{}let oi=class{destroyNode=null;static __NG_ELEMENT_ID__=()=>function(){const t=sn(),e=Ze(an().index,t);return(Pe(e)?e:t)[11]}()},ii=(()=>{class t{static ɵprov=vt({token:t,providedIn:"root",factory:()=>null})}return t})();const ai={};class ci{injector;parentInjector;constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,n){const r=this.injector.get(t,ai,n);return r!==ai||e===ai?r:this.parentInjector.get(t,e,n)}}function ui(t,e,n){let r=n?t.styles:null,s=n?t.classes:null,o=0;if(null!==e)for(let t=0;t<e.length;t++){const n=e[t];"number"==typeof n?o=n:1==o?s=ft(s,n):2==o&&(r=ft(r,n+": "+e[++t]+";"))}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=s:t.classesWithoutHost=s}function li(t,e=0){const n=sn();return null===n?Bt(t,e):Vr(an(),n,gt(t),e)}function hi(t,e,n){e.componentOffset=n,(t.components??=[]).push(e.index)}function fi(t,e,n,r){const s=0===t?n.inputs:n.outputs;for(const n in s)if(s.hasOwnProperty(n)){let s;s=0===t?e.inputs??={}:e.outputs??={},s[n]??=[],s[n].push(r),pi(e,n)}}function di(t,e,n,r){const s=0===t?n.inputs:n.outputs;for(const n in s)if(s.hasOwnProperty(n)){const o=s[n];let i;i=0===t?e.hostDirectiveInputs??={}:e.hostDirectiveOutputs??={},i[o]??=[],i[o].push(r,n),pi(e,o)}}function pi(t,e){"class"===e?t.flags|=8:"style"===e&&(t.flags|=16)}function gi(t,e,n){const{attrs:r,inputs:s,hostDirectiveInputs:o}=t;if(null===r||!n&&null===s||n&&null===o||Fs(t))return t.initialInputs??=[],void t.initialInputs.push(null);let i=null,a=0;for(;a<r.length;){const t=r[a];if(0!==t)if(5!==t){if("number"==typeof t)break;if(!n&&s.hasOwnProperty(t)){const n=s[t];for(const s of n)if(s===e){i??=[],i.push(t,r[a+1]);break}}else if(n&&o.hasOwnProperty(t)){const n=o[t];for(let t=0;t<n.length;t+=2)if(n[t]===e){i??=[],i.push(n[t+1],r[a+1]);break}}a+=2}else a+=2;else a+=4}t.initialInputs??=[],t.initialInputs.push(i)}function mi(t,e,n,r,s){t.data[r]=s;const o=s.factory||(s.factory=Xt(s.type)),i=new Sr(o,Me(s),li,null);t.blueprint[r]=i,n[r]=i,function(t,e,n,r,s){const o=s.hostBindings;if(o){let s=t.hostBindingOpCodes;null===s&&(s=t.hostBindingOpCodes=[]);const i=~e.index;(function(t){let e=t.length;for(;e>0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(s)!=i&&s.push(i),s.push(n,r,o)}}(t,e,r,ro(t,n,s.hostVars,Ws),s)}function vi(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;Me(e)&&(n[""]=t)}}function yi(t,e,n,r,s,o,i,a){const c=e[1],u=c.consts,l=Jo(c,t,n,r,qe(u,i));return o&&function(t,e,n,r,s){const o=null===r?null:{"":-1},i=s(t,n);if(null!==i){let r=i,s=null,a=null;for(const t of i)if(null!==t.resolveHostDirectives){[r,s,a]=t.resolveHostDirectives(i);break}!function(t,e,n,r,s,o,i){const a=r.length;let c=!1;for(let s=0;s<a;s++){const o=r[s];!c&&Me(o)&&(c=!0,hi(t,n,s)),zr(Lr(n,e),t,o.type)}!function(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}(n,t.data.length,a);for(let t=0;t<a;t++){const e=r[t];e.providersResolver&&e.providersResolver(e)}let u=!1,l=!1,h=ro(t,e,a,null);a>0&&(n.directiveToIndex=new Map);for(let c=0;c<a;c++){const a=r[c];if(n.mergedAttrs=Tr(n.mergedAttrs,a.hostAttrs),mi(t,n,e,h,a),vi(h,a,s),null!==i&&i.has(a)){const[t,e]=i.get(a);n.directiveToIndex.set(a.type,[h,t+n.directiveStart,e+n.directiveStart])}else(null===o||!o.has(a))&&n.directiveToIndex.set(a.type,h);null!==a.contentQueries&&(n.flags|=4),(null!==a.hostBindings||null!==a.hostAttrs||0!==a.hostVars)&&(n.flags|=64);const f=a.type.prototype;!u&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((t.preOrderHooks??=[]).push(n.index),u=!0),!l&&(f.ngOnChanges||f.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(n.index),l=!0),h++}!function(t,e,n){for(let r=e.directiveStart;r<e.directiveEnd;r++){const s=t.data[r];if(null!==n&&n.has(s)){const t=n.get(s);di(0,e,t,r),di(1,e,t,r),gi(e,r,!0)}else fi(0,e,s,r),fi(1,e,s,r),gi(e,r,!1)}}(t,n,o)}(t,e,n,r,o,s,a)}null!==o&&null!==r&&function(t,e,n){const r=t.localNames=[];for(let t=0;t<e.length;t+=2){const s=n[e[t+1]];if(null==s)throw new ct(-301,!1);r.push(e[t],s)}}(n,r,o)}(c,e,l,qe(u,a),s),l.mergedAttrs=Tr(l.mergedAttrs,l.attrs),null!==l.attrs&&ui(l,l.attrs,!1),null!==l.mergedAttrs&&ui(l,l.mergedAttrs,!0),null!==c.queries&&c.queries.elementStart(c,l),l}function bi(t,e){(function(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){const e=t.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:s,ngAfterViewInit:o,ngAfterViewChecked:i,ngOnDestroy:a}=e;r&&(t.contentHooks??=[]).push(-n,r),s&&((t.contentHooks??=[]).push(n,s),(t.contentCheckHooks??=[]).push(n,s)),o&&(t.viewHooks??=[]).push(-n,o),i&&((t.viewHooks??=[]).push(n,i),(t.viewCheckHooks??=[]).push(n,i)),null!=a&&(t.destroyHooks??=[]).push(n,a)}})(t,e),Le(e)&&t.queries.elementEnd(e)}function wi(t,e,n){return n!==Ws&&!Object.is(t[e],n)&&(t[e]=n,!0)}function _i(t,e,n){return function r(s){Qo(Ne(t)?Ze(t.index,e):e,5);const o=e[8];let i=Si(e,o,n,s),a=r.__ngNextListenerFn__;for(;a;)i=Si(e,o,a,s)&&i,a=a.__ngNextListenerFn__;return i}}function Si(t,e,n,r){const s=u(null);try{return gr(6,e,n),!1!==n(r)}catch(e){return function(t,e){const n=t[9];n&&n.get(zn,null)?.(e)}(t,e),!1}finally{gr(7,e,n),u(s)}}function ki(t,e,n,r,s,o,i){const a=e.firstCreatePass?function(t){return t.cleanup??=[]}(e):null,c=function(t){return t[7]??=[]}(n),u=c.length;c.push(s,o),a&&a.push(r,t,u,(u+1)*(i?-1:1))}function Ci(t,e,n,r,s,o){const i=e[1],a=e[n][i.data[n].outputs[r]].subscribe(o);ki(t.index,i,e,s,o,a,!0)}const Ti=Symbol("BINDING");class Ei extends ri{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=ce(t);return new xi(e,this.ngModule)}}class xi extends ei{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function(t){return Object.keys(t).map(e=>{const[n,r,s]=t[e],o={propName:n,templateName:e,isSignal:0!==(r&io.SignalBased)};return s&&(o.transform=s),o})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function(t){return Object.keys(t).map(e=>({propName:t[e],templateName:e}))}(this.componentDef.outputs),this.cachedOutputs}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function(t){return t.map(Gs).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!e}create(t,e,n,r,s,o){gr(22);const i=u(null);try{const i=this.componentDef,a=function(t,e,n,r){const s=t?["ng-version","20.1.4"]:function(t){const e=[],n=[];let r=1,s=2;for(;r<t.length;){let o=t[r];if("string"==typeof o)2===s?""!==o&&e.push(o,t[++r]):8===s&&n.push(o);else{if(!Zs(s))break;s=o}r++}return n.length&&e.push(1,...n),e}(e.selectors[0]);let o=null,i=null,a=0;if(n)for(const t of n)a+=t[Ti].requiredVars,t.create&&(t.targetIdx=0,(o??=[]).push(t)),t.update&&(t.targetIdx=0,(i??=[]).push(t));if(r)for(let t=0;t<r.length;t++){const e=r[t];if("function"!=typeof e)for(const n of e.bindings){a+=n[Ti].requiredVars;const e=t+1;n.create&&(n.targetIdx=e,(o??=[]).push(n)),n.update&&(n.targetIdx=e,(i??=[]).push(n))}}const c=[e];if(r)for(const t of r){const e=ue("function"==typeof t?t:t.type);c.push(e)}return to(0,null,function(t,e){return t||e?n=>{if(1&n&&t)for(const e of t)e.create();if(2&n&&e)for(const t of e)t.update()}:null}(o,i),1,a,c,null,null,null,[s],null)}(n,i,o,s),c=function(t,e,n){let r=e instanceof Te?e:e?.injector;return r&&null!==t.getStandaloneInjector&&(r=t.getStandaloneInjector(r)||r),r?new ci(n,r):n}(i,r||this.ngModule,t),u=function(t){const e=t.get(si,null);if(null===e)throw new ct(407,!1);return{rendererFactory:e,sanitizer:t.get(ii,null),changeDetectionScheduler:t.get(Hn,null),ngReflect:!1}}(c),l=u.rendererFactory.createRenderer(null,i),h=n?function(t,e,n,r){const s=r.get(bs,!1)||n===Cs.ShadowDom;return t.selectRootElement(e,s)}(l,n,i.encapsulation,c):function(t,e){const n=(t.selectors[0][0]||"div").toLowerCase();return Qs(e,n,"svg"===n?"svg":"math"===n?"math":null)}(i,l),f=o?.some(Ii)||s?.some(t=>"function"!=typeof t&&t.bindings.some(Ii)),d=eo(null,a,null,512|no(i),null,null,u,l,c,null,null);d[26]=h,bn(d);let p=null;try{const t=yi(26,d,2,"#host",()=>a.directiveRegistry,!0,0);h&&(Js(l,h,t),us(h,d)),Co(a,d,t),ks(a,t,d),bi(a,t),void 0!==e&&function(t,e,n){const r=t.projection=[];for(let t=0;t<e.length;t++){const e=n[t];r.push(null!=e&&e.length?Array.from(e):null)}}(t,this.ngContentSelectors,e),p=Ze(t.index,d),d[8]=p[8],jo(a,d,null)}catch(t){throw null!==p&&as(p),as(d),t}finally{gr(23),Cn()}return new Ri(this.componentType,d,!!f)}finally{u(i)}}}function Ii(t){const e=t[Ti].kind;return"input"===e||"twoWay"===e}class Ri extends ti{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,e,n){super(),this._rootLView=e,this._hasInputBindings=n,this._tNode=He(e[1],26),this.location=ts(this._tNode,e),this.instance=Ze(this._tNode.index,e)[8],this.hostView=this.changeDetectorRef=new Yo(e,void 0),this.componentType=t}setInput(t,e){const n=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),e))return;const r=this._rootLView;Oo(n,r[1],r,t,e),this.previousInputValues.set(t,e),Qo(Ze(n.index,r),1)}get injector(){return new Gr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}let Ai=class{static __NG_ELEMENT_ID__=Oi};function Oi(){return function(t,e){let n;const r=e[t.index];return je(r)?n=r:(n=function(t,e,n,r){return[t,!0,0,e,null,r,null,null,null,null]}(r,e,0,t),e[t.index]=n,so(e,n)),Di(n,e,t,r),new ji(n,t,e)}(an(),sn())}const Pi=Ai,ji=class extends Pi{_lContainer;_hostTNode;_hostLView;constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return ts(this._hostTNode,this._hostLView)}get injector(){return new Gr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Mr(this._hostTNode,this._hostLView);if(xr(t)){const e=Rr(t,this._hostLView),n=Ir(t);return new Gr(e[1].data[n+8],e)}return new Gr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Li(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){let r,s;"number"==typeof n?r=n:null!=n&&(r=n.index,s=n.injector);const o=t.createEmbeddedViewImpl(e||{},s,null);return this.insertImpl(o,r,Lo(this._hostTNode,null)),o}createComponent(t,e,n,r,s,o,i){const a=t&&!function(t){return"function"==typeof t}(t);let c;if(a)c=e;else{const t=e||{};c=t.index,n=t.injector,r=t.projectableNodes,s=t.environmentInjector||t.ngModuleRef,o=t.directives,i=t.bindings}const u=a?t:new xi(ce(t)),l=n||this.parentInjector;if(!s&&null==u.ngModule){const t=(a?l:this.parentInjector).get(Te,null);t&&(s=t)}ce(u.componentType??{});const h=u.create(l,r,null,s,o,i);return this.insertImpl(h.hostView,c,Lo(this._hostTNode,null)),h}insert(t,e){return this.insertImpl(t,e,!0)}insertImpl(t,e,n){const r=t._lView;if(function(t){return je(t[3])}(r)){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=r[3],n=new ji(e,e[5],e[3]);n.detach(n.indexOf(t))}}const s=this._adjustIndex(e),o=this._lContainer;return function(t,e,n,r=!0){const s=e[1];if(function(t,e,n,r){const s=10+r,o=n.length;r>0&&(n[s-1][4]=e),r<o-10?(e[4]=n[s],Jt(n,10+r,e)):(n.push(e),e[4]=null),e[3]=n;const i=e[16];null!==i&&n!==i&&Xo(i,e);const a=e[18];null!==a&&a.insertView(t),Qe(e),e[2]|=128}(s,e,t,n),r){const r=bo(n,t),o=e[11],i=o.parentNode(t[7]);null!==i&&function(t,e,n,r,s,o){r[0]=s,r[5]=e,_o(t,r,n,1,s,o)}(s,t[5],o,e,i,r)}const o=e[6];null!==o&&null!==o.firstChild&&(o.firstChild=null)}(o,r,s,n),t.attachToViewContainerRef(),Jt(Ni(o),s,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=Li(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),n=Ko(this._lContainer,e);n&&(te(Ni(this._lContainer),e),po(n[1],n))}detach(t){const e=this._adjustIndex(t,-1),n=Ko(this._lContainer,e);return n&&null!=te(Ni(this._lContainer),e)?new Yo(n):null}_adjustIndex(t,e=0){return t??this.length+e}};function Li(t){return t[8]}function Ni(t){return t[8]||(t[8]=[])}let Di=function(t,e,n,r){if(t[7])return;let s;s=8&n.type?Fe(r):function(t,e){const n=t[11],r=n.createComment(""),s=Ve(e,t),o=n.parentNode(s);return Ks(n,o,r,n.nextSibling(s),!1),r}(e,n),t[7]=s};const Mi=new Set;function zi(t){Mi.has(t)||(Mi.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}let Ui=class{},Fi=class{};class Vi extends Ui{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Ei(this);constructor(t,e,n,r=!0){super(),this.ngModuleType=t,this._parent=e;const s=ae(t);this._bootstrapComponents=Ds(s.bootstrap),this._r3Injector=On(t,e,[{provide:Ui,useValue:this},{provide:ri,useValue:this.componentFactoryResolver},...n],ht(t),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Hi extends Fi{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Vi(this.moduleType,t,[])}}class Zi extends Ui{injector;componentFactoryResolver=new Ei(this);instance=null;constructor(t){super();const e=new Ee([...t.providers,{provide:Ui,useValue:this},{provide:ri,useValue:this.componentFactoryResolver}],t.parent||Ce(),t.debugName,new Set(["environment"]));this.injector=e,t.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function $i(t,e,n=null){return new Zi({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}let qi=(()=>{class t{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const e=de(0,t.type),n=e.length>0?$i([e],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,n)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static ɵprov=vt({token:t,providedIn:"environment",factory:()=>new t(Bt(Te))})}return t})();function Bi(t){return rr(()=>{const e=Xi(t),n={...e,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===ss.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:e.standalone?t=>t.get(qi).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Cs.Emulated,styles:t.styles||ne,_:null,schemas:t.schemas||null,tView:null,id:""};e.standalone&&zi("NgStandalone"),Yi(n);const r=t.dependencies;return n.directiveDefs=Ji(r,Gi),n.pipeDefs=Ji(r,le),n.id=function(t){let e=0;const n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,"function"==typeof t.consts?"":t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(const t of n.join("|"))e=Math.imul(31,e)+t.charCodeAt(0)|0;return e+=2147483648,"c"+e}(n),n})}function Gi(t){return ce(t)||ue(t)}function Wi(t,e){if(null==t)return ee;const n={};for(const r in t)if(t.hasOwnProperty(r)){const s=t[r];let o,i,a,c;Array.isArray(s)?(a=s[0],o=s[1],i=s[2]??o,c=s[3]||null):(o=s,i=s,a=io.None,c=null),n[o]=[r,a,c],e[o]=i}return n}function Qi(t){if(null==t)return ee;const e={};for(const n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}function Ki(t){return rr(()=>{const e=Xi(t);return Yi(e),e})}function Xi(t){const e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputConfig:t.inputs||ee,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:!0===t.signals,selectors:t.selectors||ne,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:Wi(t.inputs,e),outputs:Qi(t.outputs),debugInfo:null}}function Yi(t){t.features?.forEach(e=>e(t))}function Ji(t,e){return t?()=>{const n="function"==typeof t?t():t,r=[];for(const t of n){const n=e(t);null!==n&&r.push(n)}return r}:null}var ta=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(ta||{});const ea=new St(""),na=!1,ra=class extends rt{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,(void 0!==Ut()||null!=e())&&(this.destroyRef=Gt(Ln,{optional:!0})??void 0,this.pendingTasks=Gt(Bn,{optional:!0})??void 0)}emit(t){const e=u(null);try{super.next(t)}finally{u(e)}}subscribe(t,e,n){let r=t,s=e||(()=>null),o=n;if(t&&"object"==typeof t){const e=t;r=e.next?.bind(e),s=e.error?.bind(e),o=e.complete?.bind(e)}this.__isAsync&&(s=this.wrapInTimeout(s),r&&(r=this.wrapInTimeout(r)),o&&(o=this.wrapInTimeout(o)));const i=super.subscribe({next:r,error:s,complete:o});return t instanceof O&&t.add(i),i}wrapInTimeout(t){return e=>{const n=this.pendingTasks?.add();setTimeout(()=>{try{t(e)}finally{void 0!==n&&this.pendingTasks?.remove(n)}})}}};function sa(t){let e,n;function r(){t=Gn;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==e&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),r()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{t(),r()})),()=>r()}function oa(t){return queueMicrotask(()=>t()),()=>{t=Gn}}const ia="isAngularZone",aa=ia+"_ID";let ca=0;class ua{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ra(!1);onMicrotaskEmpty=new ra(!1);onStable=new ra(!1);onError=new ra(!1);constructor(t){const{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:s=na}=t;if(typeof Zone>"u")throw new ct(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,o.scheduleInRootZone=s,function(t){const e=()=>{!function(t){function e(){sa(()=>{t.callbackScheduled=!1,fa(t),t.isCheckStableRunning=!0,ha(t),t.isCheckStableRunning=!1})}t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),fa(t))}(t)},n=ca++;t._inner=t._inner.fork({name:"angular",properties:{[ia]:!0,[aa]:n,[aa+n]:!0},onInvokeTask:(n,r,s,o,i,a)=>{if(function(t){return ma(t,"__ignore_ng_zone__")}(a))return n.invokeTask(s,o,i,a);try{return da(t),n.invokeTask(s,o,i,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&e(),pa(t)}},onInvoke:(n,r,s,o,i,a,c)=>{try{return da(t),n.invoke(s,o,i,a,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!function(t){return ma(t,"__scheduler_tick__")}(a)&&e(),pa(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,fa(t),ha(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,r,s)=>(e.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(ia)}static assertInAngularZone(){if(!ua.isInAngularZone())throw new ct(909,!1)}static assertNotInAngularZone(){if(ua.isInAngularZone())throw new ct(909,!1)}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+r,t,la,Gn,Gn);try{return s.runTask(o,e,n)}finally{s.cancelTask(o)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const la={};function ha(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function fa(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&!0===t.callbackScheduled)}function da(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function pa(t){t._nesting--,ha(t)}class ga{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ra;onMicrotaskEmpty=new ra;onStable=new ra;onError=new ra;run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}function ma(t,e){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0]?.data?.[e]}let va=(()=>{class t{impl=null;execute(){this.impl?.execute()}static ɵprov=vt({token:t,providedIn:"root",factory:()=>new t})}return t})(),ya=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"platform"})}return t})();const ba=new St("");function wa(t){return!!t&&"function"==typeof t.then}function _a(t){return!!t&&"function"==typeof t.subscribe}const Sa=new St("");let ka=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e});appInits=Gt(Sa,{optional:!0})??[];injector=Gt(Pn);constructor(){}runInitializers(){if(this.initialized)return;const t=[];for(const e of this.appInits){const n=Oe(this.injector,e);if(wa(n))t.push(n);else if(_a(n)){const e=new Promise((t,e)=>{n.subscribe({complete:t,error:e})});t.push(e)}}const e=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const Ca=new St("");let Ta=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=Gt(zn);afterRenderManager=Gt(va);zonelessEnabled=Gt(Zn);rootEffectScheduler=Gt(Wn);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new rt;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=Gt(Bn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(nr(t=>!t))}constructor(){Gt(ea,{optional:!0})}whenStable(){let t;return new Promise(e=>{t=this.isStable.subscribe({next:t=>{t&&e()}})}).finally(()=>{t.unsubscribe()})}_injector=Gt(Te);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,e){return this.bootstrapImpl(t,e)}bootstrapImpl(t,e,n=Pn.NULL){return this._injector.get(ua).run(()=>{gr(10);const r=t instanceof ei;if(!this._injector.get(ka).done)throw new ct(405,"");let s;s=r?t:this._injector.get(ri).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const o=function(t){return t.isBoundToModule}(s)?void 0:this._injector.get(Ui),i=s.create(n,[],e||s.selector,o),a=i.location.nativeElement,c=i.injector.get(ba,null);return c?.registerApplication(a),i.onDestroy(()=>{this.detachView(i.hostView),Ea(this.components,i),c?.unregisterApplication(a)}),this._loadComponent(i),gr(11,i),i})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){gr(12),null!==this.tracingSnapshot?this.tracingSnapshot.run(ta.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new ct(101,!1);const t=u(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,u(t),this.afterTick.next(),gr(13)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(si,null,{optional:!0}));let t=0;for(;0!==this.dirtyFlags&&t++<10;)gr(14),this.synchronizeOnce(),gr(15)}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let t=!1;if(7&this.dirtyFlags){const e=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:n}of this.allViews)(e||We(n))&&(Zo(n,e&&!this.zonelessEnabled?0:1),t=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}t||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:t})=>We(t))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Ea(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView);try{this.tick()}catch(t){this.internalErrorHandler(t)}this.components.push(t),this._injector.get(Ca,[]).forEach(e=>e(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Ea(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new ct(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();function Ea(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function xa(t,e,n,r){const s=sn();return wi(s,dn(),e)&&(on(),function(t,e,n,r,s,o){const i=Ve(t,e);!function(t,e,n,r,s,o,i){if(null==o)t.removeAttribute(e,s,n);else{const a=null==i?Ot(o):i(o,r||"",s);t.setAttribute(e,s,a,n)}}(e[11],i,o,t.value,n,r,s)}(function(){const t=Je.lFrame;return He(t.tView,t.selectedIndex)}(),s,t,e,n,r)),xa}function Ia(t,e,n,r,s){Oo(e,t,n,s?"class":"style",r)}function Ra(t,e,n,r){const s=sn(),o=s[1],i=t+26,a=o.firstCreatePass?yi(i,s,2,e,xo,Je.bindingsEnabled,n,r):o.data[i];if(Ro(a,s,t,e,La),De(a)){const t=s[1];Co(t,s,a),ks(t,a,s)}return null!=r&&To(s,a),Ra}function Aa(){const t=on(),e=Ao(an());return t.firstCreatePass&&bi(t,e),nn(e)&&rn(),en(),null!=e.classesWithoutHost&&function(t){return!!(8&t.flags)}(e)&&Ia(t,e,sn(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return!!(16&t.flags)}(e)&&Ia(t,e,sn(),e.stylesWithoutHost,!1),Aa}function Oa(t,e,n,r){return Ra(t,e,n,r),Aa(),Oa}function Pa(t,e,n,r){const s=sn(),o=s[1],i=t+26,a=o.firstCreatePass?function(t,e,n,r,s,o){const i=e.consts,a=Jo(e,t,2,r,qe(i,s));if(a.mergedAttrs=Tr(a.mergedAttrs,a.attrs),null!=o){const t=qe(i,o);a.localNames=[];for(let e=0;e<t.length;e+=2)a.localNames.push(t[e],-1)}return null!==a.attrs&&ui(a,a.attrs,!1),null!==a.mergedAttrs&&ui(a,a.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,a),a}(i,o,0,e,n,r):o.data[i];return Ro(a,s,t,e,La),null!=r&&To(s,a),Pa}function ja(){return nn(Ao(an()))&&rn(),en(),ja}let La=(t,e,n,r,s)=>(Rn(!0),Qs(e[11],r,Je.lFrame.currentNamespace));const Na="en-US";let Da=Na;function Ma(t,e,n){const r=sn(),s=on(),o=an();return function(t,e,n,r,s,o,i){let a=!0,c=null;if((3&r.type||i)&&(c??=_i(r,e,o),function(t,e,n,r,s,o,i,a){const c=De(t);let u=!1,l=null;if(!r&&c&&(l=function(t,e,n,r){const s=t.cleanup;if(null!=s)for(let t=0;t<s.length-1;t+=2){const o=s[t];if(o===n&&s[t+1]===r){const n=e[7],r=s[t+2];return n&&n.length>r?n[r]:null}"string"==typeof o&&(t+=2)}return null}(e,n,o,t.index)),null!==l)(l.__ngLastListenerFn__||l).__ngNextListenerFn__=i,l.__ngLastListenerFn__=i,u=!0;else{const i=Ve(t,n),c=r?r(i):i,u=s.listen(c,o,a);ki(r?e=>r(Fe(e[t.index])):t.index,e,n,o,a,u,!1)}return u}(r,t,e,i,n,s,o,c)&&(a=!1)),a){const t=r.outputs?.[s],n=r.hostDirectiveOutputs?.[s];if(n&&n.length)for(let t=0;t<n.length;t+=2){const i=n[t],a=n[t+1];c??=_i(r,e,o),Ci(r,e,i,a,s,c)}if(t&&t.length)for(const n of t)c??=_i(r,e,o),Ci(r,e,n,s,s,c)}}(s,r,r[11],o,t,e,n),Ma}function za(t,e=""){const n=sn(),r=on(),s=t+26,o=r.firstCreatePass?Jo(r,s,1,e,null):r.data[s],i=Fa(r,n,o,e,t);n[s]=i,In()&&mo(r,n,i,o),un(o,!1)}let Fa=(t,e,n,r,s)=>(Rn(!0),function(t,e){return t.createText(e)}(e[11],r));function Va(t){return Ha("",t),Va}function Ha(t,e,n){const r=sn(),s=function(t,e,n,r=""){return wi(t,dn(),n)?e+Ot(n)+r:Ws}(r,t,e,n);return s!==Ws&&function(t,e,n){const r=function(t,e){return Fe(e[t])}(e,t);!function(t,e,n){t.setValue(e,n)}(t[11],r,n)}(r,Tn(),s),Ha}class Za{ngModuleFactory;componentFactories;constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let $a=(()=>{class t{compileModuleSync(t){return new Hi(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const e=this.compileModuleSync(t),n=Ds(ae(t).declarations).reduce((t,e)=>{const n=ce(e);return n&&t.push(new xi(n)),t},[]);return new Za(e,n)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})(),qa=(()=>{class t{zone=Gt(ua);changeDetectionScheduler=Gt(Hn);applicationRef=Gt(Ta);applicationErrorHandler=Gt(zn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(t){this.applicationErrorHandler(t)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const Ba=new St("",{factory:()=>!1});function Ga({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:n}){return t??=()=>new ua({...Wa(),scheduleInRootZone:n}),[{provide:ua,useFactory:t},{provide:re,multi:!0,useFactory:()=>{const t=Gt(qa,{optional:!0});return()=>t.initialize()}},{provide:re,multi:!0,useFactory:()=>{const t=Gt(Qa);return()=>{t.initialize()}}},!0===e?{provide:$n,useValue:!0}:[],{provide:qn,useValue:n??na},{provide:zn,useFactory:()=>{const t=Gt(ua),e=Gt(Te);let n;return r=>{t.runOutsideAngular(()=>{e.destroyed&&!n?setTimeout(()=>{throw r}):(n??=e.get(Mn),n.handleError(r))})}}}]}function Wa(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}let Qa=(()=>{class t{subscription=new O;initialized=!1;zone=Gt(ua);pendingTasks=Gt(Bn);initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ua.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ua.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})(),Ka=(()=>{class t{applicationErrorHandler=Gt(zn);appRef=Gt(Ta);taskService=Gt(Bn);ngZone=Gt(ua);zonelessEnabled=Gt(Zn);tracing=Gt(ea,{optional:!0});disableScheduling=Gt($n,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new O;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(aa):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(Gt(qn,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof ga||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&5===t)return;let e=!1;switch(t){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:case 13:this.appRef.dirtyFlags|=2,e=!0;break;case 12:this.appRef.dirtyFlags|=16,e=!0;break;case 11:e=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(e))return;const n=this.useMicrotaskScheduler?oa:sa;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>n(()=>this.tick())):this.ngZone.runOutsideAngular(()=>n(()=>this.tick()))}shouldScheduleTick(t){return!(this.disableScheduling&&!t||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(aa+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(e){this.taskService.remove(t),this.applicationErrorHandler(e)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,oa(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const Xa=new St("",{providedIn:"root",factory:()=>Gt(Xa,{optional:!0,skipSelf:!0})||typeof $localize<"u"&&$localize.locale||Na}),Ya=Symbol("InputSignalNode#UNSET"),Ja={...E,transformFn:void 0,applyValueToInputSignal(t,e){T(t,e)}};function tc(t,e){const n=Object.create(Ja);function r(){if(h(n),n.value===Ya)throw new ct(-950,null);return n.value}return n.value=t,n.transformFn=e?.transform,r[c]=n,r}class ec{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Yr(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}function nc(t,e){return tc(t,e)}new St("").__NG_ELEMENT_ID__=t=>{const e=an();if(null===e)throw new ct(204,!1);if(2&e.type)return e.value;if(8&t)return null;throw new ct(204,!1)};const rc=(nc.required=function(t){return tc(Ya,t)},nc),sc=new St(""),oc=new St("");function ic(t){return!t.moduleRef}let ac=null,cc=class{static __NG_ELEMENT_ID__=uc};function uc(t){return function(t,e,n){if(Ne(t)&&!n){const n=Ze(t.index,e);return new Yo(n,n)}return 175&t.type?new Yo(e[15],e):null}(an(),sn(),!(16&~t))}function lc(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}let hc=null;function fc(){return hc}class dc{}let pc=(()=>{class t{historyGo(t){throw new Error("")}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:()=>Gt(gc),providedIn:"platform"})}return t})(),gc=(()=>{class t extends pc{_location;_history;_doc=Gt(jn);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return fc().getBaseHref(this._doc)}onPopState(t){const e=fc().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=fc().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,e,n){this._history.pushState(t,e,n)}replaceState(t,e,n){this._history.replaceState(t,e,n)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function mc(t,e){return t?e?t.endsWith("/")?e.startsWith("/")?t+e.slice(1):t+e:e.startsWith("/")?t+e:`${t}/${e}`:t:e}function vc(t){const e=t.search(/#|\?|$/);return"/"===t[e-1]?t.slice(0,e-1)+t.slice(e):t}function yc(t){return t&&"?"!==t[0]?`?${t}`:t}let bc=(()=>{class t{historyGo(t){throw new Error("")}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:()=>Gt(_c),providedIn:"root"})}return t})();const wc=new St("");let _c=(()=>{class t extends bc{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,e){super(),this._platformLocation=t,this._baseHref=e??this._platformLocation.getBaseHrefFromDOM()??Gt(jn).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return mc(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+yc(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const s=this.prepareExternalUrl(n+yc(r));this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){const s=this.prepareExternalUrl(n+yc(r));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static ɵfac=function(e){return new(e||t)(Bt(pc),Bt(wc,8))};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})(),Sc=(()=>{class t{_subject=new rt;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;const e=this._locationStrategy.getBaseHref();this._basePath=function(t){if(new RegExp("^(https?:)?//").test(t)){const[,e]=t.split(/\/\/[^\/]+/);return e}return t}(vc(kc(e))),this._locationStrategy.onPopState(t=>{this._subject.next({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+yc(e))}normalize(e){return t.stripTrailingSlash(function(t,e){if(!t||!e.startsWith(t))return e;const n=e.substring(t.length);return""===n||["/",";","?","#"].includes(n[0])?n:e}(this._basePath,kc(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._locationStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+yc(e)),n)}replaceState(t,e="",n=null){this._locationStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+yc(e)),n)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}),()=>{const e=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(e,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e??void 0,complete:n??void 0})}static normalizeQueryParams=yc;static joinWithSlash=mc;static stripTrailingSlash=vc;static ɵfac=function(e){return new(e||t)(Bt(bc))};static ɵprov=vt({token:t,factory:()=>new Sc(Bt(bc)),providedIn:"root"})}return t})();function kc(t){return t.replace(/\/index.html$/,"")}function Cc(t){return this instanceof Cc?(this.v=t,this):new Cc(t)}"function"==typeof SuppressedError&&SuppressedError;const Tc=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function Ec(t){return x(t?.then)}function xc(t){return x(t[X])}function Ic(t){return Symbol.asyncIterator&&x(t?.[Symbol.asyncIterator])}function Rc(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Ac="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function Oc(t){return x(t?.[Ac])}function Pc(t){return function(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,s=n.apply(t,e||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),i("next"),i("throw"),i("return",function(t){return function(e){return Promise.resolve(e).then(t,u)}}),r[Symbol.asyncIterator]=function(){return this},r;function i(t,e){s[t]&&(r[t]=function(e){return new Promise(function(n,r){o.push([t,e,n,r])>1||a(t,e)})},e&&(r[t]=e(r[t])))}function a(t,e){try{!function(t){t.value instanceof Cc?Promise.resolve(t.value.v).then(c,u):l(o[0][2],t)}(s[t](e))}catch(t){l(o[0][3],t)}}function c(t){a("next",t)}function u(t){a("throw",t)}function l(t,e){t(e),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const e=t.getReader();try{for(;;){const{value:t,done:n}=yield Cc(e.read());if(n)return yield Cc(void 0);yield yield Cc(t)}}finally{e.releaseLock()}})}function jc(t){return x(t?.getReader)}function Lc(t){if(t instanceof tt)return t;if(null!=t){if(xc(t))return function(t){return new tt(e=>{const n=t[X]();if(x(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if(Tc(t))return function(t){return new tt(e=>{for(let n=0;n<t.length&&!e.closed;n++)e.next(t[n]);e.complete()})}(t);if(Ec(t))return function(t){return new tt(e=>{t.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,M)})}(t);if(Ic(t))return Nc(t);if(Oc(t))return function(t){return new tt(e=>{for(const n of t)if(e.next(n),e.closed)return;e.complete()})}(t);if(jc(t))return function(t){return Nc(Pc(t))}(t)}throw Rc(t)}function Nc(t){return new tt(e=>{(function(t,e){var n,r,s,o;return function(t,e,n,r){return new(n||(n=Promise))(function(e,s){function o(t){try{a(r.next(t))}catch(t){s(t)}}function i(t){try{a(r.throw(t))}catch(t){s(t)}}function a(t){t.done?e(t.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(t.value).then(o,i)}a((r=r.apply(t,[])).next())})}(this,0,void 0,function*(){try{for(n=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,s){!function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)}(r,s,(e=t[n](e)).done,e.value)})}}}(t);!(r=yield n.next()).done;)if(e.next(r.value),e.closed)return}catch(t){s={error:t}}finally{try{r&&!r.done&&(o=n.return)&&(yield o.call(n))}finally{if(s)throw s.error}}e.complete()})})(t,e).catch(t=>e.error(t))})}function Dc(t,e,n,r=0,s=!1){const o=e.schedule(function(){n(),s?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(o),!s)return o}function Mc(t,e=0){return Jn((n,r)=>{n.subscribe(tr(r,n=>Dc(r,t,()=>r.next(n),e),()=>Dc(r,t,()=>r.complete(),e),n=>Dc(r,t,()=>r.error(n),e)))})}function zc(t,e=0){return Jn((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function Uc(t,e){if(!t)throw new Error("Iterable cannot be null");return new tt(n=>{Dc(n,e,()=>{const r=t[Symbol.asyncIterator]();Dc(n,e,()=>{r.next().then(t=>{t.done?n.complete():n.next(t.value)})},0,!0)})})}function Fc(t,e){return e?function(t,e){if(null!=t){if(xc(t))return function(t,e){return Lc(t).pipe(zc(e),Mc(e))}(t,e);if(Tc(t))return function(t,e){return new tt(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}(t,e);if(Ec(t))return function(t,e){return Lc(t).pipe(zc(e),Mc(e))}(t,e);if(Ic(t))return Uc(t,e);if(Oc(t))return function(t,e){return new tt(n=>{let r;return Dc(n,e,()=>{r=t[Ac](),Dc(n,e,()=>{let t,e;try{({value:t,done:e}=r.next())}catch(t){return void n.error(t)}e?n.complete():n.next(t)},0,!0)}),()=>x(r?.return)&&r.return()})}(t,e);if(jc(t))return function(t,e){return Uc(Pc(t),e)}(t,e)}throw Rc(t)}(t,e):Lc(t)}function Vc(t){return t&&x(t.schedule)}function Hc(t){return t[t.length-1]}function Zc(t){return x(Hc(t))?t.pop():void 0}function $c(t){return Vc(Hc(t))?t.pop():void 0}function qc(...t){return Fc(t,$c(t))}const Bc=I(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:Gc}=Array,{getPrototypeOf:Wc,prototype:Qc,keys:Kc}=Object;function Xc(t){if(1===t.length){const e=t[0];if(Gc(e))return{args:e,keys:null};if(function(t){return t&&"object"==typeof t&&Wc(t)===Qc}(e)){const t=Kc(e);return{args:t.map(t=>e[t]),keys:t}}}return{args:t,keys:null}}const{isArray:Yc}=Array;function Jc(t){return nr(e=>function(t,e){return Yc(e)?t(...e):t(e)}(t,e))}function tu(t,e){return t.reduce((t,n,r)=>(t[n]=e[r],t),{})}function eu(...t){const e=$c(t),n=Zc(t),{args:r,keys:s}=Xc(t);if(0===r.length)return Fc([],e);const o=new tt(function(t,e,n=Y){return r=>{nu(e,()=>{const{length:s}=t,o=new Array(s);let i=s,a=s;for(let c=0;c<s;c++)nu(e,()=>{const s=Fc(t[c],e);let u=!1;s.subscribe(tr(r,t=>{o[c]=t,u||(u=!0,a--),a||r.next(n(o.slice()))},()=>{--i||r.complete()}))},r)},r)}}(r,e,s?t=>tu(s,t):Y));return n?o.pipe(Jc(n)):o}function nu(t,e,n){t?Dc(n,t,e):e()}function ru(t,e,n=1/0){return x(e)?ru((n,r)=>nr((t,s)=>e(n,t,r,s))(Lc(t(n,r))),n):("number"==typeof e&&(n=e),Jn((e,r)=>function(t,e,n,r){const s=[];let o=0,i=0,a=!1;const c=()=>{a&&!s.length&&!o&&e.complete()},u=t=>o<r?l(t):s.push(t),l=t=>{o++;let a=!1;Lc(n(t,i++)).subscribe(tr(e,t=>{e.next(t)},()=>{a=!0},void 0,()=>{if(a)try{for(o--;s.length&&o<r;){const t=s.shift();l(t)}c()}catch(t){e.error(t)}}))};return t.subscribe(tr(e,u,()=>{a=!0,c()})),()=>{}}(e,r,t,n)))}function su(...t){return function(t=1/0){return ru(Y,t)}(1)(Fc(t,$c(t)))}function ou(t){return new tt(e=>{Lc(t()).subscribe(e)})}function iu(t,e){const n=x(t)?t:()=>t,r=t=>t.error(n());return new tt(e?t=>e.schedule(r,0,t):r)}const au=new tt(t=>t.complete());function cu(){return Jn((t,e)=>{let n=null;t._refCount++;const r=tr(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount)return void(n=null);const r=t._connection,s=n;n=null,r&&(!s||r===s)&&r.unsubscribe(),e.unsubscribe()});t.subscribe(r),r.closed||(n=t.connect())})}class uu extends tt{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Yn(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new O;const e=this.getSubject();t.add(this.source.subscribe(tr(e,void 0,()=>{this._teardown(),e.complete()},t=>{this._teardown(),e.error(t)},()=>this._teardown()))),t.closed&&(this._connection=null,t=O.EMPTY)}return t}refCount(){return cu()(this)}}function lu(t,e){return Jn((n,r)=>{let s=null,o=0,i=!1;const a=()=>i&&!s&&r.complete();n.subscribe(tr(r,n=>{s?.unsubscribe();let i=0;const c=o++;Lc(t(n,c)).subscribe(s=tr(r,t=>r.next(e?e(n,t,c,i++):t),()=>{s=null,a()}))},()=>{i=!0,a()}))})}function hu(t){return t<=0?()=>au:Jn((e,n)=>{let r=0;e.subscribe(tr(n,e=>{++r<=t&&(n.next(e),t<=r&&n.complete())}))})}function fu(t,e){return Jn((n,r)=>{let s=0;n.subscribe(tr(r,n=>t.call(e,n,s++)&&r.next(n)))})}function du(t){return Jn((e,n)=>{let r=!1;e.subscribe(tr(n,t=>{r=!0,n.next(t)},()=>{r||n.next(t),n.complete()}))})}function pu(t=gu){return Jn((e,n)=>{let r=!1;e.subscribe(tr(n,t=>{r=!0,n.next(t)},()=>r?n.complete():n.error(t())))})}function gu(){return new Bc}function mu(t,e){const n=arguments.length>=2;return r=>r.pipe(t?fu((e,n)=>t(e,n,r)):Y,hu(1),n?du(e):pu(()=>new Bc))}function vu(t,e){return x(e)?ru(t,e,1):ru(t,1)}function yu(t,e,n){const r=x(t)||e||n?{next:t,error:e,complete:n}:t;return r?Jn((t,e)=>{var n;null===(n=r.subscribe)||void 0===n||n.call(r);let s=!0;t.subscribe(tr(e,t=>{var n;null===(n=r.next)||void 0===n||n.call(r,t),e.next(t)},()=>{var t;s=!1,null===(t=r.complete)||void 0===t||t.call(r),e.complete()},t=>{var n;s=!1,null===(n=r.error)||void 0===n||n.call(r,t),e.error(t)},()=>{var t,e;s&&(null===(t=r.unsubscribe)||void 0===t||t.call(r)),null===(e=r.finalize)||void 0===e||e.call(r)}))}):Y}function bu(t){return Jn((e,n)=>{let r,s=null,o=!1;s=e.subscribe(tr(n,void 0,void 0,i=>{r=Lc(t(i,bu(t)(e))),s?(s.unsubscribe(),s=null,r.subscribe(n)):o=!0})),o&&(s.unsubscribe(),s=null,r.subscribe(n))})}function wu(t){return t<=0?()=>au:Jn((e,n)=>{let r=[];e.subscribe(tr(n,e=>{r.push(e),t<r.length&&r.shift()},()=>{for(const t of r)n.next(t);n.complete()},void 0,()=>{r=null}))})}function Su(t){return Jn((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}function ku(t){return Jn((e,n)=>{Lc(t).subscribe(tr(n,()=>n.complete(),z)),!n.closed&&e.subscribe(n)})}let Cu=(()=>{class t{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static ɵfac=function(e){return new(e||t)(Bt(jn))};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const Tu="primary",Eu=Symbol("RouteTitle");class xu{params;constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Iu(t){return new xu(t)}function Ru(t,e,n){const r=n.path.split("/");if(r.length>t.length||"full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;const s={};for(let e=0;e<r.length;e++){const n=r[e],o=t[e];if(":"===n[0])s[n.substring(1)]=o;else if(n!==o.path)return null}return{consumed:t.slice(0,r.length),posParams:s}}function Au(t,e){const n=t?Ou(t):void 0,r=e?Ou(e):void 0;if(!n||!r||n.length!=r.length)return!1;let s;for(let r=0;r<n.length;r++)if(s=n[r],!Pu(t[s],e[s]))return!1;return!0}function Ou(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Pu(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;const n=[...t].sort(),r=[...e].sort();return n.every((t,e)=>r[e]===t)}return t===e}function ju(t){return t.length>0?t[t.length-1]:null}function Lu(t){return function(t){return!!t&&(t instanceof tt||x(t.lift)&&x(t.subscribe))}(t)?t:wa(t)?Fc(Promise.resolve(t)):qc(t)}const Nu={exact:function t(e,n,r){if(!$u(e.segments,n.segments)||!Fu(e.segments,n.segments,r)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const s in n.children)if(!e.children[s]||!t(e.children[s],n.children[s],r))return!1;return!0},subset:zu},Du={exact:function(t,e){return Au(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>Pu(t[n],e[n]))},ignored:()=>!0};function Mu(t,e,n){return Nu[n.paths](t.root,e.root,n.matrixParams)&&Du[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function zu(t,e,n){return Uu(t,e,e.segments,n)}function Uu(t,e,n,r){if(t.segments.length>n.length){const s=t.segments.slice(0,n.length);return!(!$u(s,n)||e.hasChildren()||!Fu(s,n,r))}if(t.segments.length===n.length){if(!$u(t.segments,n)||!Fu(t.segments,n,r))return!1;for(const n in e.children)if(!t.children[n]||!zu(t.children[n],e.children[n],r))return!1;return!0}{const s=n.slice(0,t.segments.length),o=n.slice(t.segments.length);return!!($u(t.segments,s)&&Fu(t.segments,s,r)&&t.children[Tu])&&Uu(t.children[Tu],e,o,r)}}function Fu(t,e,n){return e.every((e,r)=>Du[n](t[r].parameters,e.parameters))}class Vu{root;queryParams;fragment;_queryParamMap;constructor(t=new Hu([],{}),e={},n=null){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Iu(this.queryParams),this._queryParamMap}toString(){return Gu.serialize(this)}}class Hu{segments;children;parent=null;constructor(t,e){this.segments=t,this.children=e,Object.values(e).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Wu(this)}}class Zu{path;parameters;_parameterMap;constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap??=Iu(this.parameters),this._parameterMap}toString(){return el(this)}}function $u(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}let qu=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:()=>new Bu,providedIn:"root"})}return t})();class Bu{parse(t){const e=new al(t);return new Vu(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${Qu(t.root,!0)}`,n=function(t){const e=Object.entries(t).map(([t,e])=>Array.isArray(e)?e.map(e=>`${Xu(t)}=${Xu(e)}`).join("&"):`${Xu(t)}=${Xu(e)}`).filter(t=>t);return e.length?`?${e.join("&")}`:""}(t.queryParams);return`${e}${n}${"string"==typeof t.fragment?`#${function(t){return encodeURI(t)}(t.fragment)}`:""}`}}const Gu=new Bu;function Wu(t){return t.segments.map(t=>el(t)).join("/")}function Qu(t,e){if(!t.hasChildren())return Wu(t);if(e){const e=t.children[Tu]?Qu(t.children[Tu],!1):"",n=[];return Object.entries(t.children).forEach(([t,e])=>{t!==Tu&&n.push(`${t}:${Qu(e,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return Object.entries(t.children).forEach(([t,r])=>{t===Tu&&(n=n.concat(e(r,t)))}),Object.entries(t.children).forEach(([t,r])=>{t!==Tu&&(n=n.concat(e(r,t)))}),n}(t,(e,n)=>n===Tu?[Qu(t.children[Tu],!1)]:[`${n}:${Qu(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[Tu]?`${Wu(t)}/${e[0]}`:`${Wu(t)}/(${e.join("//")})`}}function Ku(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Xu(t){return Ku(t).replace(/%3B/gi,";")}function Yu(t){return Ku(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ju(t){return decodeURIComponent(t)}function tl(t){return Ju(t.replace(/\+/g,"%20"))}function el(t){return`${Yu(t.path)}${function(t){return Object.entries(t).map(([t,e])=>`;${Yu(t)}=${Yu(e)}`).join("")}(t.parameters)}`}const nl=/^[^\/()?;#]+/;function rl(t){const e=t.match(nl);return e?e[0]:""}const sl=/^[^\/()?;=#]+/,ol=/^[^=?&#]+/,il=/^[^&#]+/;class al{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Hu([],{}):new Hu([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[Tu]=new Hu(t,e)),n}parseSegment(){const t=rl(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new ct(4009,!1);return this.capture(t),new Zu(Ju(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=function(t){const e=t.match(sl);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=rl(this.remaining);t&&(n=t,this.capture(n))}t[Ju(e)]=Ju(n)}parseQueryParam(t){const e=function(t){const e=t.match(ol);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(il);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const r=tl(e),s=tl(n);if(t.hasOwnProperty(r)){let e=t[r];Array.isArray(e)||(e=[e],t[r]=e),e.push(s)}else t[r]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=rl(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new ct(4010,!1);let s;n.indexOf(":")>-1?(s=n.slice(0,n.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=Tu);const o=this.parseChildren();e[s]=1===Object.keys(o).length?o[Tu]:new Hu([],o),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new ct(4011,!1)}}function cl(t){return t.segments.length>0?new Hu([],{[Tu]:t}):t}function ul(t){const e={};for(const[n,r]of Object.entries(t.children)){const t=ul(r);if(n===Tu&&0===t.segments.length&&t.hasChildren())for(const[n,r]of Object.entries(t.children))e[n]=r;else(t.segments.length>0||t.hasChildren())&&(e[n]=t)}return function(t){if(1===t.numberOfChildren&&t.children[Tu]){const e=t.children[Tu];return new Hu(t.segments.concat(e.segments),e.children)}return t}(new Hu(t.segments,e))}function ll(t){return t instanceof Vu}function hl(t){let e;const n=cl(function n(r){const s={};for(const t of r.children){const e=n(t);s[t.outlet]=e}const o=new Hu(r.url,s);return r===t&&(e=o),o}(t.root));return e??n}function fl(t,e,n,r){let s=t;for(;s.parent;)s=s.parent;if(0===e.length)return gl(s,s,s,n,r);const o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new vl(!0,0,t);let e=0,n=!1;const r=t.reduce((t,r,s)=>{if("object"==typeof r&&null!=r){if(r.outlets){const e={};return Object.entries(r.outlets).forEach(([t,n])=>{e[t]="string"==typeof n?n.split("/"):n}),[...t,{outlets:e}]}if(r.segmentPath)return[...t,r.segmentPath]}return"string"!=typeof r?[...t,r]:0===s?(r.split("/").forEach((r,s)=>{0==s&&"."===r||(0==s&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):[...t,r]},[]);return new vl(n,e,r)}(e);if(o.toRoot())return gl(s,s,new Hu([],{}),n,r);const i=function(t,e,n){if(t.isAbsolute)return new yl(e,!0,0);if(!n)return new yl(e,!1,NaN);if(null===n.parent)return new yl(n,!0,0);const r=dl(t.commands[0])?0:1;return function(t,e,n){let r=t,s=e,o=n;for(;o>s;){if(o-=s,r=r.parent,!r)throw new ct(4005,!1);s=r.segments.length}return new yl(r,!1,s-o)}(n,n.segments.length-1+r,t.numberOfDoubleDots)}(o,s,t),a=i.processChildren?wl(i.segmentGroup,i.index,o.commands):bl(i.segmentGroup,i.index,o.commands);return gl(s,i.segmentGroup,a,n,r)}function dl(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function pl(t){return"object"==typeof t&&null!=t&&t.outlets}function gl(t,e,n,r,s){let o,i={};r&&Object.entries(r).forEach(([t,e])=>{i[t]=Array.isArray(e)?e.map(t=>`${t}`):`${e}`}),o=t===e?n:ml(t,e,n);const a=cl(ul(o));return new Vu(a,i,s)}function ml(t,e,n){const r={};return Object.entries(t.children).forEach(([t,s])=>{r[t]=s===e?n:ml(s,e,n)}),new Hu(t.segments,r)}class vl{isAbsolute;numberOfDoubleDots;commands;constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&dl(n[0]))throw new ct(4003,!1);const r=n.find(pl);if(r&&r!==ju(n))throw new ct(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class yl{segmentGroup;processChildren;index;constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function bl(t,e,n){if(t??=new Hu([],{}),0===t.segments.length&&t.hasChildren())return wl(t,e,n);const r=function(t,e,n){let r=0,s=e;const o={match:!1,pathIndex:0,commandIndex:0};for(;s<t.segments.length;){if(r>=n.length)return o;const e=t.segments[s],i=n[r];if(pl(i))break;const a=`${i}`,c=r<n.length-1?n[r+1]:null;if(s>0&&void 0===a)break;if(a&&c&&"object"==typeof c&&void 0===c.outlets){if(!Cl(a,c,e))return o;r+=2}else{if(!Cl(a,{},e))return o;r++}s++}return{match:!0,pathIndex:s,commandIndex:r}}(t,e,n),s=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){const e=new Hu(t.segments.slice(0,r.pathIndex),{});return e.children[Tu]=new Hu(t.segments.slice(r.pathIndex),t.children),wl(e,0,s)}return r.match&&0===s.length?new Hu(t.segments,{}):r.match&&!t.hasChildren()?_l(t,e,n):r.match?wl(t,0,s):_l(t,e,n)}function wl(t,e,n){if(0===n.length)return new Hu(t.segments,{});{const r=function(t){return pl(t[0])?t[0].outlets:{[Tu]:t}}(n),s={};if(Object.keys(r).some(t=>t!==Tu)&&t.children[Tu]&&1===t.numberOfChildren&&0===t.children[Tu].segments.length){const r=wl(t.children[Tu],e,n);return new Hu(t.segments,r.children)}return Object.entries(r).forEach(([n,r])=>{"string"==typeof r&&(r=[r]),null!==r&&(s[n]=bl(t.children[n],e,r))}),Object.entries(t.children).forEach(([t,e])=>{void 0===r[t]&&(s[t]=e)}),new Hu(t.segments,s)}}function _l(t,e,n){const r=t.segments.slice(0,e);let s=0;for(;s<n.length;){const o=n[s];if(pl(o)){const t=Sl(o.outlets);return new Hu(r,t)}if(0===s&&dl(n[0])){r.push(new Zu(t.segments[e].path,kl(n[0]))),s++;continue}const i=pl(o)?o.outlets[Tu]:`${o}`,a=s<n.length-1?n[s+1]:null;i&&a&&dl(a)?(r.push(new Zu(i,kl(a))),s+=2):(r.push(new Zu(i,{})),s++)}return new Hu(r,{})}function Sl(t){const e={};return Object.entries(t).forEach(([t,n])=>{"string"==typeof n&&(n=[n]),null!==n&&(e[t]=_l(new Hu([],{}),0,n))}),e}function kl(t){const e={};return Object.entries(t).forEach(([t,n])=>e[t]=`${n}`),e}function Cl(t,e,n){return t==n.path&&Au(e,n.parameters)}const Tl="imperative";var El=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(El||{});class xl{id;url;constructor(t,e){this.id=t,this.url=e}}class Il extends xl{type=El.NavigationStart;navigationTrigger;restoredState;constructor(t,e,n="imperative",r=null){super(t,e),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Rl extends xl{urlAfterRedirects;type=El.NavigationEnd;constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Al=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t}(Al||{}),Ol=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Ol||{});class Pl extends xl{reason;code;type=El.NavigationCancel;constructor(t,e,n,r){super(t,e),this.reason=n,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class jl extends xl{reason;code;type=El.NavigationSkipped;constructor(t,e,n,r){super(t,e),this.reason=n,this.code=r}}class Ll extends xl{error;target;type=El.NavigationError;constructor(t,e,n,r){super(t,e),this.error=n,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Nl extends xl{urlAfterRedirects;state;type=El.RoutesRecognized;constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Dl extends xl{urlAfterRedirects;state;type=El.GuardsCheckStart;constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ml extends xl{urlAfterRedirects;state;shouldActivate;type=El.GuardsCheckEnd;constructor(t,e,n,r,s){super(t,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class zl extends xl{urlAfterRedirects;state;type=El.ResolveStart;constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ul extends xl{urlAfterRedirects;state;type=El.ResolveEnd;constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Fl{route;type=El.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Vl{route;type=El.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Hl{snapshot;type=El.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Zl{snapshot;type=El.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $l{snapshot;type=El.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ql{snapshot;type=El.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Bl{}class Gl{url;navigationBehaviorOptions;constructor(t,e){this.url=t,this.navigationBehaviorOptions=e}}function Wl(t){return t.outlet||Tu}function Ql(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class Kl{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Ql(this.route?.snapshot)??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new Xl(this.rootInjector)}}let Xl=(()=>{class t{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new Kl(this.rootInjector),this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}static ɵfac=function(e){return new(e||t)(Bt(Te))};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();class Yl{_root;constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=Jl(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Jl(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=th(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return th(t,this._root).map(t=>t.value)}}function Jl(t,e){if(t===e.value)return e;for(const n of e.children){const e=Jl(t,n);if(e)return e}return null}function th(t,e){if(t===e.value)return[e];for(const n of e.children){const r=th(t,n);if(r.length)return r.unshift(e),r}return[]}class eh{value;children;constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function nh(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class rh extends Yl{snapshot;constructor(t,e){super(t),this.snapshot=e,uh(this,t)}toString(){return this.snapshot.toString()}}function sh(t){const e=function(t){const e=new ah([],{},{},"",{},Tu,t,null,{});return new ch("",new eh(e,[]))}(t),n=new it([new Zu("",{})]),r=new it({}),s=new it({}),o=new it({}),i=new it(""),a=new oh(n,r,o,i,s,Tu,t,e.root);return a.snapshot=e.root,new rh(new eh(a,[]),e)}class oh{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,e,n,r,s,o,i,a){this.urlSubject=t,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=r,this.dataSubject=s,this.outlet=o,this.component=i,this._futureSnapshot=a,this.title=this.dataSubject?.pipe(nr(t=>t[Eu]))??qc(void 0),this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(nr(t=>Iu(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(nr(t=>Iu(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ih(t,e,n="emptyOnly"){let r;const{routeConfig:s}=t;return r=null===e||"always"!==n&&""!==s?.path&&(e.component||e.routeConfig?.loadComponent)?{params:{...t.params},data:{...t.data},resolve:{...t.data,...t._resolvedData??{}}}:{params:{...e.params,...t.params},data:{...e.data,...t.data},resolve:{...t.data,...e.data,...s?.data,...t._resolvedData}},s&&dh(s)&&(r.resolve[Eu]=s.title),r}class ah{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Eu]}constructor(t,e,n,r,s,o,i,a,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=o,this.component=i,this.routeConfig=a,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Iu(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Iu(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ch extends Yl{url;constructor(t,e){super(e),this.url=t,uh(this,e)}toString(){return lh(this._root)}}function uh(t,e){e.value._routerState=t,e.children.forEach(e=>uh(t,e))}function lh(t){const e=t.children.length>0?` { ${t.children.map(lh).join(", ")} } `:"";return`${t.value}${e}`}function hh(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Au(e.queryParams,n.queryParams)||t.queryParamsSubject.next(n.queryParams),e.fragment!==n.fragment&&t.fragmentSubject.next(n.fragment),Au(e.params,n.params)||t.paramsSubject.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!Au(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.urlSubject.next(n.url),Au(e.data,n.data)||t.dataSubject.next(n.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function fh(t,e){const n=Au(t.params,e.params)&&function(t,e){return $u(t,e)&&t.every((t,n)=>Au(t.parameters,e[n].parameters))}(t.url,e.url);return n&&!(!t.parent!=!e.parent)&&(!t.parent||fh(t.parent,e.parent))}function dh(t){return"string"==typeof t.title||null===t.title}const ph=new St("");let gh=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=Tu;activateEvents=new ra;deactivateEvents=new ra;attachEvents=new ra;detachEvents=new ra;routerOutletData=rc(void 0);parentContexts=Gt(Xl);location=Gt(Ai);changeDetector=Gt(cc);inputBinder=Gt(vh,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){const{firstChange:e,previousValue:n}=t.name;if(e)return;this.isTrackedInParentContexts(n)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(n)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new ct(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new ct(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new ct(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new ct(4013,!1);this._activatedRoute=t;const n=this.location,r=t.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,o=new mh(t,s,n.injector,this.routerOutletData);this.activated=n.createComponent(r,{index:n.length,injector:o,environmentInjector:e}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static ɵfac=function(e){return new(e||t)};static ɵdir=Ki({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[cr]})}return t})();class mh{route;childContexts;parent;outletData;constructor(t,e,n,r){this.route=t,this.childContexts=e,this.parent=n,this.outletData=r}get(t,e){return t===oh?this.route:t===Xl?this.childContexts:t===ph?this.outletData:this.parent.get(t,e)}}const vh=new St("");let yh=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵcmp=Bi({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(t,e){1&t&&Oa(0,"router-outlet")},dependencies:[gh],encapsulation:2})}return t})();function bh(t){const e=t.children&&t.children.map(bh),n=e?{...t,children:e}:{...t};return!n.component&&!n.loadComponent&&(e||n.loadChildren)&&n.outlet&&n.outlet!==Tu&&(n.component=yh),n}function wh(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=e.value;const s=function(t,e,n){return e.children.map(e=>{for(const r of n.children)if(t.shouldReuseRoute(e.value,r.value.snapshot))return wh(t,e,r);return wh(t,e)})}(t,e,n);return new eh(r,s)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const r=n.route;return r.value._futureSnapshot=e.value,r.children=e.children.map(e=>wh(t,e)),r}}const n=function(t){return new oh(new it(t.url),new it(t.params),new it(t.queryParams),new it(t.fragment),new it(t.data),t.outlet,t.component,t)}(e.value),r=e.children.map(e=>wh(t,e));return new eh(n,r)}}class _h{redirectTo;navigationBehaviorOptions;constructor(t,e){this.redirectTo=t,this.navigationBehaviorOptions=e}}const Sh="ngNavigationCancelingError";function kh(t,e){const{redirectTo:n,navigationBehaviorOptions:r}=ll(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,s=Ch(!1,Al.Redirect);return s.url=n,s.navigationBehaviorOptions=r,s}function Ch(t,e){const n=new Error(`NavigationCancelingError: ${t||""}`);return n[Sh]=!0,n.cancellationCode=e,n}function Th(t){return!!t&&t[Sh]}class Eh{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,e,n,r,s){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r,this.inputBindingEnabled=s}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),hh(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=nh(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]}),Object.values(r).forEach(t=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(r===s)if(r.component){const s=n.getContext(r.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,n);else s&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet),r=n&&t.value.component?n.children:e,s=nh(t);for(const t of Object.values(s))this.deactivateRouteAndItsChildren(t,r);if(n&&n.outlet){const e=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:r})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),r=n&&t.value.component?n.children:e,s=nh(t);for(const t of Object.values(s))this.deactivateRouteAndItsChildren(t,r);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(t,e,n){const r=nh(e);t.children.forEach(t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new ql(t.value.snapshot))}),t.children.length&&this.forwardEvent(new Zl(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(hh(r),r===s)if(r.component){const s=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,n);else if(r.component){const e=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const n=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),e.children.onOutletReAttached(n.contexts),e.attachRef=n.componentRef,e.route=n.route.value,e.outlet&&e.outlet.attach(n.componentRef,n.route.value),hh(n.route.value),this.activateChildRoutes(t,null,e.children)}else e.attachRef=null,e.route=r,e.outlet&&e.outlet.activateWith(r,e.injector),this.activateChildRoutes(t,null,e.children)}else this.activateChildRoutes(t,null,n)}}class xh{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Ih{component;route;constructor(t,e){this.component=t,this.route=e}}function Rh(t,e,n){const r=t._root;return Oh(r,e?e._root:null,n,[r.value])}function Ah(t,e){const n=Symbol(),r=e.get(t,n);return r===n?"function"!=typeof t||function(t){return null!==yt(t)}(t)?e.get(t):t:r}function Oh(t,e,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=nh(e);return t.children.forEach(t=>{(function(t,e,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,i=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(i&&o.routeConfig===i.routeConfig){const c=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!$u(t.url,e.url);case"pathParamsOrQueryParamsChange":return!$u(t.url,e.url)||!Au(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fh(t,e)||!Au(t.queryParams,e.queryParams);default:return!fh(t,e)}}(i,o,o.routeConfig.runGuardsAndResolvers);c?s.canActivateChecks.push(new xh(r)):(o.data=i.data,o._resolvedData=i._resolvedData),Oh(t,e,o.component?a?a.children:null:n,r,s),c&&a&&a.outlet&&a.outlet.isActivated&&s.canDeactivateChecks.push(new Ih(a.outlet.component,i))}else i&&Ph(e,a,s),s.canActivateChecks.push(new xh(r)),Oh(t,null,o.component?a?a.children:null:n,r,s)})(t,o[t.value.outlet],n,r.concat([t.value]),s),delete o[t.value.outlet]}),Object.entries(o).forEach(([t,e])=>Ph(e,n.getContext(t),s)),s}function Ph(t,e,n){const r=nh(t),s=t.value;Object.entries(r).forEach(([t,r])=>{Ph(r,s.component?e?e.children.getContext(t):null:e,n)}),n.canDeactivateChecks.push(new Ih(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}function jh(t){return"function"==typeof t}function Lh(t){return t instanceof Bc||"EmptyError"===t?.name}const Nh=Symbol("INITIAL_VALUE");function Dh(){return lu(t=>eu(t.map(t=>t.pipe(hu(1),function(...t){const e=$c(t);return Jn((n,r)=>{(e?su(t,n,e):su(t,n)).subscribe(r)})}(Nh)))).pipe(nr(t=>{for(const e of t)if(!0!==e){if(e===Nh)return Nh;if(!1===e||Mh(e))return e}return!0}),fu(t=>t!==Nh),hu(1)))}function Mh(t){return ll(t)||t instanceof _h}function zh(t){return function(...t){return J(t)}(yu(t=>{if("boolean"!=typeof t)throw kh(0,t)}),nr(t=>!0===t))}class Uh{segmentGroup;constructor(t){this.segmentGroup=t||null}}class Fh extends Error{urlTree;constructor(t){super(),this.urlTree=t}}function Vh(t){return iu(new Uh(t))}function Hh(t){return iu(new ct(4e3,!1))}class Zh{urlSerializer;urlTree;constructor(t,e){this.urlSerializer=t,this.urlTree=e}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return qc(n);if(r.numberOfChildren>1||!r.children[Tu])return Hh();r=r.children[Tu]}}applyRedirectCommands(t,e,n,r,s){return function(t,e,n){if("string"==typeof t)return qc(t);const r=t,{queryParams:s,fragment:o,routeConfig:i,url:a,outlet:c,params:u,data:l,title:h}=e;return Lu(Oe(n,()=>r({params:u,data:l,queryParams:s,fragment:o,routeConfig:i,url:a,outlet:c,title:h})))}(e,r,s).pipe(nr(e=>{if(e instanceof Vu)throw new Fh(e);const r=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),t,n);if("/"===e[0])throw new Fh(r);return r}))}applyRedirectCreateUrlTree(t,e,n,r){const s=this.createSegmentGroup(t,e.root,n,r);return new Vu(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Object.entries(t).forEach(([t,r])=>{if("string"==typeof r&&":"===r[0]){const s=r.substring(1);n[t]=e[s]}else n[t]=r}),n}createSegmentGroup(t,e,n,r){const s=this.createSegments(t,e.segments,n,r);let o={};return Object.entries(e.children).forEach(([e,s])=>{o[e]=this.createSegmentGroup(t,s,n,r)}),new Hu(s,o)}createSegments(t,e,n,r){return e.map(e=>":"===e.path[0]?this.findPosParam(t,e,r):this.findOrReturn(e,n))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new ct(4001,!1);return r}findOrReturn(t,e){let n=0;for(const r of e){if(r.path===t.path)return e.splice(n),r;n++}return t}}const $h={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function qh(t,e,n){if("**"===e.path)return function(t){return{matched:!0,parameters:t.length>0?ju(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}(n);if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{...$h}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const r=(e.matcher||Ru)(n,t,e);if(!r)return{...$h};const s={};Object.entries(r.posParams??{}).forEach(([t,e])=>{s[t]=e.path});const o=r.consumed.length>0?{...s,...r.consumed[r.consumed.length-1].parameters}:s;return{matched:!0,consumedSegments:r.consumed,remainingSegments:n.slice(r.consumed.length),parameters:o,positionalParamSegments:r.posParams??{}}}function Bh(t,e,n,r){return n.length>0&&function(t,e,n){return n.some(n=>Qh(t,e,n)&&Wl(n)!==Tu)}(t,n,r)?{segmentGroup:new Hu(e,Wh(r,new Hu(n,t.children))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>Qh(t,e,n))}(t,n,r)?{segmentGroup:new Hu(t.segments,Gh(t,n,r,t.children)),slicedSegments:n}:{segmentGroup:new Hu(t.segments,t.children),slicedSegments:n}}function Gh(t,e,n,r){const s={};for(const o of n)if(Qh(t,e,o)&&!r[Wl(o)]){const t=new Hu([],{});s[Wl(o)]=t}return{...r,...s}}function Wh(t,e){const n={};n[Tu]=e;for(const e of t)if(""===e.path&&Wl(e)!==Tu){const t=new Hu([],{});n[Wl(e)]=t}return n}function Qh(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}class Kh{}class Xh{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,e,n,r,s,o,i){this.injector=t,this.configLoader=e,this.rootComponentType=n,this.config=r,this.urlTree=s,this.paramsInheritanceStrategy=o,this.urlSerializer=i,this.applyRedirects=new Zh(this.urlSerializer,this.urlTree)}noMatchError(t){return new ct(4002,`'${t.segmentGroup}'`)}recognize(){const t=Bh(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(nr(({children:t,rootSnapshot:e})=>{const n=new eh(e,t),r=new ch("",n),s=function(t,e,n=null,r=null){return fl(hl(t),e,n,r)}(e,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,r.url=this.urlSerializer.serialize(s),{state:r,tree:s}}))}match(t){const e=new ah([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),Tu,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,Tu,e).pipe(nr(t=>({children:t,rootSnapshot:e})),bu(t=>{if(t instanceof Fh)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof Uh?this.noMatchError(t):t}))}processSegmentGroup(t,e,n,r,s){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,e,n,s):this.processSegment(t,e,n,n.segments,r,!0,s).pipe(nr(t=>t instanceof eh?[t]:[]))}processChildren(t,e,n,r){const s=[];for(const t of Object.keys(n.children))"primary"===t?s.unshift(t):s.push(t);return Fc(s).pipe(vu(s=>{const o=n.children[s],i=function(t,e){const n=t.filter(t=>Wl(t)===e);return n.push(...t.filter(t=>Wl(t)!==e)),n}(e,s);return this.processSegmentGroup(t,i,o,s,r)}),function(t,e){return Jn(function(t,e,n){return(r,s)=>{let o=n,i=e,a=0;r.subscribe(tr(s,e=>{const n=a++;i=o?t(i,e,n):(o=!0,e),s.next(i)},undefined))}}(t,e,arguments.length>=2))}((t,e)=>(t.push(...e),t)),du(null),function(t,e){const n=arguments.length>=2;return r=>r.pipe(t?fu((e,n)=>t(e,n,r)):Y,wu(1),n?du(e):pu(()=>new Bc))}(),ru(t=>{if(null===t)return Vh(n);const e=Jh(t);return function(t){t.sort((t,e)=>t.value.outlet===Tu?-1:e.value.outlet===Tu?1:t.value.outlet.localeCompare(e.value.outlet))}(e),qc(e)}))}processSegment(t,e,n,r,s,o,i){return Fc(e).pipe(vu(a=>this.processSegmentAgainstRoute(a._injector??t,e,a,n,r,s,o,i).pipe(bu(t=>{if(t instanceof Uh)return qc(null);throw t}))),mu(t=>!!t),bu(t=>{if(Lh(t))return function(t,e,n){return 0===e.length&&!t.children[n]}(n,r,s)?qc(new Kh):Vh(n);throw t}))}processSegmentAgainstRoute(t,e,n,r,s,o,i,a){return Wl(n)===o||o!==Tu&&Qh(r,s,n)?void 0===n.redirectTo?this.matchSegmentAgainstRoute(t,r,n,s,o,a):this.allowRedirects&&i?this.expandSegmentAgainstRouteUsingRedirect(t,r,e,n,s,o,a):Vh(r):Vh(r)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,s,o,i){const{matched:a,parameters:c,consumedSegments:u,positionalParamSegments:l,remainingSegments:h}=qh(e,r,s);if(!a)return Vh(e);"string"==typeof r.redirectTo&&"/"===r.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const f=new ah(s,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,tf(r),Wl(r),r.component??r._loadedComponent??null,r,ef(r)),d=ih(f,i,this.paramsInheritanceStrategy);return f.params=Object.freeze(d.params),f.data=Object.freeze(d.data),this.applyRedirects.applyRedirectCommands(u,r.redirectTo,l,f,t).pipe(lu(t=>this.applyRedirects.lineralizeSegments(r,t)),ru(r=>this.processSegment(t,n,e,r.concat(h),o,!1,i)))}matchSegmentAgainstRoute(t,e,n,r,s,o){const i=function(t,e,n,r){const s=qh(t,e,n);return s.matched?(r=function(t,e){return t.providers&&!t._injector&&(t._injector=$i(t.providers,e,`Route: ${t.path}`)),t._injector??e}(e,r),function(t,e,n){const r=e.canMatch;return r&&0!==r.length?qc(r.map(r=>{const s=Ah(r,t);return Lu(function(t){return t&&jh(t.canMatch)}(s)?s.canMatch(e,n):Oe(t,()=>s(e,n)))})).pipe(Dh(),zh()):qc(!0)}(r,e,n).pipe(nr(t=>!0===t?s:{...$h}))):qc(s)}(e,n,r,t);return"**"===n.path&&(e.children={}),i.pipe(lu(i=>i.matched?this.getChildConfig(t=n._injector??t,n,r).pipe(lu(({routes:r})=>{const a=n._loadedInjector??t,{parameters:c,consumedSegments:u,remainingSegments:l}=i,h=new ah(u,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,tf(n),Wl(n),n.component??n._loadedComponent??null,n,ef(n)),f=ih(h,o,this.paramsInheritanceStrategy);h.params=Object.freeze(f.params),h.data=Object.freeze(f.data);const{segmentGroup:d,slicedSegments:p}=Bh(e,u,l,r);if(0===p.length&&d.hasChildren())return this.processChildren(a,r,d,h).pipe(nr(t=>new eh(h,t)));if(0===r.length&&0===p.length)return qc(new eh(h,[]));const g=Wl(n)===s;return this.processSegment(a,r,d,p,g?Tu:s,!0,h).pipe(nr(t=>new eh(h,t instanceof eh?[t]:[])))})):Vh(e)))}getChildConfig(t,e,n){return e.children?qc({routes:e.children,injector:t}):e.loadChildren?void 0!==e._loadedRoutes?qc({routes:e._loadedRoutes,injector:e._loadedInjector}):function(t,e,n){const r=e.canLoad;return void 0===r||0===r.length?qc(!0):qc(r.map(r=>{const s=Ah(r,t);return Lu(function(t){return t&&jh(t.canLoad)}(s)?s.canLoad(e,n):Oe(t,()=>s(e,n)))})).pipe(Dh(),zh())}(t,e,n).pipe(ru(n=>n?this.configLoader.loadChildren(t,e).pipe(yu(t=>{e._loadedRoutes=t.routes,e._loadedInjector=t.injector})):iu(Ch(!1,Al.GuardRejected)))):qc({routes:[],injector:t})}}function Yh(t){const e=t.value.routeConfig;return e&&""===e.path}function Jh(t){const e=[],n=new Set;for(const r of t){if(!Yh(r)){e.push(r);continue}const t=e.find(t=>r.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...r.children),n.add(t)):e.push(r)}for(const t of n){const n=Jh(t.children);e.push(new eh(t.value,n))}return e.filter(t=>!n.has(t))}function tf(t){return t.data||{}}function ef(t){return t.resolve||{}}function nf(t){const e=t.children.map(t=>nf(t)).flat();return[t,...e]}function rf(t){return lu(e=>{const n=t(e);return n?Fc(n).pipe(nr(()=>e)):qc(e)})}let sf=(()=>{class t{buildTitle(t){let e,n=t.root;for(;void 0!==n;)e=this.getResolvedTitleForRoute(n)??e,n=n.children.find(t=>t.outlet===Tu);return e}getResolvedTitleForRoute(t){return t.data[Eu]}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:()=>Gt(of),providedIn:"root"})}return t})(),of=(()=>{class t extends sf{title;constructor(t){super(),this.title=t}updateTitle(t){const e=this.buildTitle(t);void 0!==e&&this.title.setTitle(e)}static ɵfac=function(e){return new(e||t)(Bt(Cu))};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const af=new St("",{providedIn:"root",factory:()=>({})}),cf=new St("");let uf=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=Gt($a);loadComponent(t,e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return qc(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const n=Lu(Oe(t,()=>e.loadComponent())).pipe(nr(lf),yu(t=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=t}),Su(()=>{this.componentLoaders.delete(e)})),r=new uu(n,()=>new rt).pipe(cu());return this.componentLoaders.set(e,r),r}loadChildren(t,e){if(this.childrenLoaders.get(e))return this.childrenLoaders.get(e);if(e._loadedRoutes)return qc({routes:e._loadedRoutes,injector:e._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(e);const n=function(t,e,n,r){return Lu(Oe(n,()=>t.loadChildren())).pipe(nr(lf),ru(t=>t instanceof Fi||Array.isArray(t)?qc(t):Fc(e.compileModuleAsync(t))),nr(e=>{let s,o;return r&&r(t),Array.isArray(e)?o=e:(s=e.create(n).injector,o=s.get(cf,[],{optional:!0,self:!0}).flat()),{routes:o.map(bh),injector:s}}))}(e,this.compiler,t,this.onLoadEndListener).pipe(Su(()=>{this.childrenLoaders.delete(e)})),r=new uu(n,()=>new rt).pipe(cu());return this.childrenLoaders.set(e,r),r}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();function lf(t){return function(t){return t&&"object"==typeof t&&"default"in t}(t)?t.default:t}let hf=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:()=>Gt(ff),providedIn:"root"})}return t})(),ff=(()=>{class t{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const df=new St(""),pf=new St("");let gf=(()=>{class t{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new rt;transitionAbortWithErrorSubject=new rt;configLoader=Gt(uf);environmentInjector=Gt(Te);destroyRef=Gt(Ln);urlSerializer=Gt(qu);rootContexts=Gt(Xl);location=Gt(Sc);inputBindingEnabled=null!==Gt(vh,{optional:!0});titleStrategy=Gt(sf);options=Gt(af,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=Gt(hf);createViewTransition=Gt(df,{optional:!0});navigationErrorHandler=Gt(pf,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>qc(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=t=>this.events.next(new Vl(t)),this.configLoader.onLoadStartListener=t=>this.events.next(new Fl(t)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(t){const e=++this.navigationId;this.transitions?.next({...t,extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:e})}setupNavigations(t){return this.transitions=new it(null),this.transitions.pipe(fu(t=>null!==t),lu(e=>{let n=!1;return qc(e).pipe(lu(n=>{if(this.navigationId>e.id)return this.cancelNavigationTransition(e,"",Al.SupersededByNewNavigation),au;this.currentTransition=e,this.currentNavigation={id:n.id,initialUrl:n.rawUrl,extractedUrl:n.extractedUrl,targetBrowserUrl:"string"==typeof n.extras.browserUrl?this.urlSerializer.parse(n.extras.browserUrl):n.extras.browserUrl,trigger:n.source,extras:n.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null,abort:()=>n.abortController.abort()};const r=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!r&&"reload"!==(n.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const t="";return this.events.next(new jl(n.id,this.urlSerializer.serialize(n.rawUrl),t,Ol.IgnoredSameUrlNavigation)),n.resolve(!1),au}if(this.urlHandlingStrategy.shouldProcessUrl(n.rawUrl))return qc(n).pipe(lu(t=>(this.events.next(new Il(t.id,this.urlSerializer.serialize(t.extractedUrl),t.source,t.restoredState)),t.id!==this.navigationId?au:Promise.resolve(t))),function(t,e,n,r,s,o){return ru(i=>function(t,e,n,r,s,o,i="emptyOnly"){return new Xh(t,e,n,r,s,i,o).recognize()}(t,e,n,r,i.extractedUrl,s,o).pipe(nr(({state:t,tree:e})=>({...i,targetSnapshot:t,urlAfterRedirects:e}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),yu(t=>{e.targetSnapshot=t.targetSnapshot,e.urlAfterRedirects=t.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:t.urlAfterRedirects};const n=new Nl(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(n)}));if(r&&this.urlHandlingStrategy.shouldProcessUrl(n.currentRawUrl)){const{id:t,extractedUrl:r,source:s,restoredState:o,extras:i}=n,a=new Il(t,this.urlSerializer.serialize(r),s,o);this.events.next(a);const c=sh(this.rootComponentType).snapshot;return this.currentTransition=e={...n,targetSnapshot:c,urlAfterRedirects:r,extras:{...i,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=r,qc(e)}{const t="";return this.events.next(new jl(n.id,this.urlSerializer.serialize(n.extractedUrl),t,Ol.IgnoredByUrlHandlingStrategy)),n.resolve(!1),au}}),yu(t=>{const e=new Dl(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(e)}),nr(t=>(this.currentTransition=e={...t,guards:Rh(t.targetSnapshot,t.currentSnapshot,this.rootContexts)},e)),function(t,e){return ru(n=>{const{targetSnapshot:r,currentSnapshot:s,guards:{canActivateChecks:o,canDeactivateChecks:i}}=n;return 0===i.length&&0===o.length?qc({...n,guardsResult:!0}):function(t,e,n,r){return Fc(t).pipe(ru(t=>function(t,e,n,r,s){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return o&&0!==o.length?qc(o.map(o=>{const i=Ql(e)??s,a=Ah(o,i);return Lu(function(t){return t&&jh(t.canDeactivate)}(a)?a.canDeactivate(t,e,n,r):Oe(i,()=>a(t,e,n,r))).pipe(mu())})).pipe(Dh()):qc(!0)}(t.component,t.route,n,e,r)),mu(t=>!0!==t,!0))}(i,r,s,t).pipe(ru(n=>n&&function(t){return"boolean"==typeof t}(n)?function(t,e,n,r){return Fc(e).pipe(vu(e=>su(function(t,e){return null!==t&&e&&e(new Hl(t)),qc(!0)}(e.route.parent,r),function(t,e){return null!==t&&e&&e(new $l(t)),qc(!0)}(e.route,r),function(t,e,n){const r=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>ou(()=>qc(e.guards.map(s=>{const o=Ql(e.node)??n,i=Ah(s,o);return Lu(function(t){return t&&jh(t.canActivateChild)}(i)?i.canActivateChild(r,t):Oe(o,()=>i(r,t))).pipe(mu())})).pipe(Dh())));return qc(s).pipe(Dh())}(t,e.path,n),function(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||0===r.length)return qc(!0);const s=r.map(r=>ou(()=>{const s=Ql(e)??n,o=Ah(r,s);return Lu(function(t){return t&&jh(t.canActivate)}(o)?o.canActivate(e,t):Oe(s,()=>o(e,t))).pipe(mu())}));return qc(s).pipe(Dh())}(t,e.route,n))),mu(t=>!0!==t,!0))}(r,o,t,e):qc(n)),nr(t=>({...n,guardsResult:t})))})}(this.environmentInjector,t=>this.events.next(t)),yu(t=>{if(e.guardsResult=t.guardsResult,t.guardsResult&&"boolean"!=typeof t.guardsResult)throw kh(0,t.guardsResult);const n=new Ml(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.events.next(n)}),fu(t=>!!t.guardsResult||(this.cancelNavigationTransition(t,"",Al.GuardRejected),!1)),rf(t=>{if(0!==t.guards.canActivateChecks.length)return qc(t).pipe(yu(t=>{const e=new zl(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(e)}),lu(t=>{let e=!1;return qc(t).pipe(function(t,e){return ru(n=>{const{targetSnapshot:r,guards:{canActivateChecks:s}}=n;if(!s.length)return qc(n);const o=new Set(s.map(t=>t.route)),i=new Set;for(const t of o)if(!i.has(t))for(const e of nf(t))i.add(e);let a=0;return Fc(i).pipe(vu(n=>o.has(n)?function(t,e,n,r){const s=t.routeConfig,o=t._resolve;return void 0!==s?.title&&!dh(s)&&(o[Eu]=s.title),ou(()=>(t.data=ih(t,t.parent,n).resolve,function(t,e,n,r){const s=Ou(t);if(0===s.length)return qc({});const o={};return Fc(s).pipe(ru(s=>function(t,e,n,r){const s=Ql(e)??r,o=Ah(t,s);return Lu(o.resolve?o.resolve(e,n):Oe(s,()=>o(e,n)))}(t[s],e,n,r).pipe(mu(),yu(t=>{if(t instanceof _h)throw kh(new Bu,t);o[s]=t}))),wu(1),nr(()=>o),bu(t=>Lh(t)?au:iu(t)))}(o,t,e,r).pipe(nr(e=>(t._resolvedData=e,t.data={...t.data,...e},null)))))}(n,r,t,e):(n.data=ih(n,n.parent,t).resolve,qc(void 0))),yu(()=>a++),wu(1),ru(t=>a===i.size?qc(n):au))})}(this.paramsInheritanceStrategy,this.environmentInjector),yu({next:()=>e=!0,complete:()=>{e||this.cancelNavigationTransition(t,"",Al.NoDataFromResolver)}}))}),yu(t=>{const e=new Ul(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(e)}))}),rf(t=>{const e=t=>{const n=[];if(t.routeConfig?.loadComponent&&!t.routeConfig._loadedComponent){const e=Ql(t)??this.environmentInjector;n.push(this.configLoader.loadComponent(e,t.routeConfig).pipe(yu(e=>{t.component=e}),nr(()=>{})))}for(const r of t.children)n.push(...e(r));return n};return eu(e(t.targetSnapshot.root)).pipe(du(null),hu(1))}),rf(()=>this.afterPreactivation()),lu(()=>{const{currentSnapshot:t,targetSnapshot:n}=e,r=this.createViewTransition?.(this.environmentInjector,t.root,n.root);return r?Fc(r).pipe(nr(()=>e)):qc(e)}),nr(n=>{const r=function(t,e,n){const r=wh(t,e._root,n?n._root:void 0);return new rh(r,e)}(t.routeReuseStrategy,n.targetSnapshot,n.currentRouterState);return this.currentTransition=e={...n,targetRouterState:r},this.currentNavigation.targetRouterState=r,e}),yu(()=>{this.events.next(new Bl)}),((t,e,n,r)=>nr(s=>(new Eh(e,s.targetRouterState,s.currentRouterState,n,r).activate(t),s)))(this.rootContexts,t.routeReuseStrategy,t=>this.events.next(t),this.inputBindingEnabled),hu(1),ku(new tt(t=>{const n=e.abortController.signal,r=()=>t.next();return n.addEventListener("abort",r),()=>n.removeEventListener("abort",r)}).pipe(fu(()=>!n&&!e.targetRouterState),yu(()=>{this.cancelNavigationTransition(e,e.abortController.signal.reason+"",Al.Aborted)}))),yu({next:t=>{n=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Rl(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects))),this.titleStrategy?.updateTitle(t.targetRouterState.snapshot),t.resolve(!0)},complete:()=>{n=!0}}),ku(this.transitionAbortWithErrorSubject.pipe(yu(t=>{throw t}))),Su(()=>{n||this.cancelNavigationTransition(e,"",Al.SupersededByNewNavigation),this.currentTransition?.id===e.id&&(this.currentNavigation=null,this.currentTransition=null)}),bu(t=>{if(this.destroyed)return e.resolve(!1),au;if(n=!0,Th(t))this.events.next(new Pl(e.id,this.urlSerializer.serialize(e.extractedUrl),t.message,t.cancellationCode)),function(t){return Th(t)&&ll(t.url)}(t)?this.events.next(new Gl(t.url,t.navigationBehaviorOptions)):e.resolve(!1);else{const n=new Ll(e.id,this.urlSerializer.serialize(e.extractedUrl),t,e.targetSnapshot??void 0);try{const r=Oe(this.environmentInjector,()=>this.navigationErrorHandler?.(n));if(!(r instanceof _h))throw this.events.next(n),t;{const{message:t,cancellationCode:n}=kh(0,r);this.events.next(new Pl(e.id,this.urlSerializer.serialize(e.extractedUrl),t,n)),this.events.next(new Gl(r.redirectTo,r.navigationBehaviorOptions))}}catch(t){this.options.resolveNavigationPromiseOnError?e.resolve(!1):e.reject(t)}}return au}))}))}cancelNavigationTransition(t,e,n){const r=new Pl(t.id,this.urlSerializer.serialize(t.extractedUrl),e,n);this.events.next(r),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),e=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return t.toString()!==e?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();function mf(t){return t!==Tl}let vf=(()=>{class t{static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:()=>Gt(bf),providedIn:"root"})}return t})();class yf{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}let bf=(()=>{class t extends yf{static ɵfac=(()=>{let e;return function(n){return(e||(e=Qr(t)))(n||t)}})();static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})(),wf=(()=>{class t{urlSerializer=Gt(qu);options=Gt(af,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=Gt(Sc);urlHandlingStrategy=Gt(hf);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Vu;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:t,initialUrl:e,targetBrowserUrl:n}){const r=void 0!==t?this.urlHandlingStrategy.merge(t,e):e,s=n??r;return s instanceof Vu?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:t,finalUrl:e,initialUrl:n}){e&&t?(this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(e,n),this.routerState=t):this.rawUrlTree=n}routerState=sh(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:t}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t??this.rawUrlTree)}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:()=>Gt(_f),providedIn:"root"})}return t})(),_f=(()=>{class t extends wf{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.ɵrouterPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(e=>{"popstate"===e.type&&setTimeout(()=>{t(e.url,e.state,"popstate")})})}handleRouterEvent(t,e){t instanceof Il?this.updateStateMemento():t instanceof jl?this.commitTransition(e):t instanceof Nl?"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(e),e)):t instanceof Bl?(this.commitTransition(e),"deferred"===this.urlUpdateStrategy&&!e.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(e),e)):t instanceof Pl&&t.code!==Al.SupersededByNewNavigation&&t.code!==Al.Redirect?this.restoreHistory(e):t instanceof Ll?this.restoreHistory(e,!0):t instanceof Rl&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,{extras:e,id:n}){const{replaceUrl:r,state:s}=e;if(this.location.isCurrentPathEqualTo(t)||r){const e=this.browserPageId,r={...s,...this.generateNgRouterState(n,e)};this.location.replaceState(t,"",r)}else{const e={...s,...this.generateNgRouterState(n,this.browserPageId+1)};this.location.go(t,"",e)}}restoreHistory(t,e=!1){if("computed"===this.canceledNavigationResolution){const e=this.currentPageId-this.browserPageId;0!==e?this.location.historyGo(e):this.getCurrentUrlTree()===t.finalUrl&&0===e&&(this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(e&&this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,ɵrouterPageId:e}:{navigationId:t}}static ɵfac=(()=>{let e;return function(n){return(e||(e=Qr(t)))(n||t)}})();static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const Sf={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},kf={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Cf=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=Gt(ya);stateManager=Gt(wf);options=Gt(af,{optional:!0})||{};pendingTasks=Gt(Bn);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=Gt(gf);urlSerializer=Gt(qu);location=Gt(Sc);urlHandlingStrategy=Gt(hf);injector=Gt(Te);_events=new rt;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=Gt(vf);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=Gt(cf,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!Gt(vh,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}eventsSubscription=new O;subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe(t=>{try{const e=this.navigationTransitions.currentTransition,n=this.navigationTransitions.currentNavigation;if(null!==e&&null!==n)if(this.stateManager.handleRouterEvent(t,n),t instanceof Pl&&t.code!==Al.Redirect&&t.code!==Al.SupersededByNewNavigation)this.navigated=!0;else if(t instanceof Rl)this.navigated=!0;else if(t instanceof Gl){const n=t.navigationBehaviorOptions,r=this.urlHandlingStrategy.merge(t.url,e.currentRawUrl),s={browserUrl:e.extras.browserUrl,info:e.extras.info,skipLocationChange:e.extras.skipLocationChange,replaceUrl:e.extras.replaceUrl||"eager"===this.urlUpdateStrategy||mf(e.source),...n};this.scheduleNavigation(r,Tl,null,s,{resolve:e.resolve,reject:e.reject,promise:e.promise})}(function(t){return!(t instanceof Bl||t instanceof Gl)})(t)&&this._events.next(t)}catch(t){this.navigationTransitions.transitionAbortWithErrorSubject.next(t)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Tl,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,e,n)=>{this.navigateToSyncWithBrowser(t,n,e)})}navigateToSyncWithBrowser(t,e,n){const r={replaceUrl:!0},s=n?.navigationId?n:null;if(n){const t={...n};delete t.navigationId,delete t.ɵrouterPageId,0!==Object.keys(t).length&&(r.state=t)}const o=this.parseUrl(t);this.scheduleNavigation(o,e,s,r).catch(t=>{this.disposed||this.injector.get(zn)(t)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(bh),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,e={}){const{relativeTo:n,queryParams:r,fragment:s,queryParamsHandling:o,preserveFragment:i}=e,a=i?this.currentUrlTree.fragment:s;let c,u=null;switch(o??this.options.defaultQueryParamsHandling){case"merge":u={...this.currentUrlTree.queryParams,...r};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=r||null}null!==u&&(u=this.removeEmptyProps(u));try{c=hl(n?n.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||"/"!==t[0][0])&&(t=[]),c=this.currentUrlTree.root}return fl(c,t,u,a??null)}navigateByUrl(t,e={skipLocationChange:!1}){const n=ll(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,Tl,null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++)if(null==t[e])throw new ct(4008,!1)}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,e){let n;if(n=!0===e?{...Sf}:!1===e?{...kf}:e,ll(t))return Mu(this.currentUrlTree,t,n);const r=this.parseUrl(t);return Mu(this.currentUrlTree,r,n)}removeEmptyProps(t){return Object.entries(t).reduce((t,[e,n])=>(null!=n&&(t[e]=n),t),{})}scheduleNavigation(t,e,n,r,s){if(this.disposed)return Promise.resolve(!1);let o,i,a;s?(o=s.resolve,i=s.reject,a=s.promise):a=new Promise((t,e)=>{o=t,i=e});const c=this.pendingTasks.add();return function(t,e){t.events.pipe(fu(t=>t instanceof Rl||t instanceof Pl||t instanceof Ll||t instanceof jl),nr(t=>t instanceof Rl||t instanceof jl?0:t instanceof Pl&&(t.code===Al.Redirect||t.code===Al.SupersededByNewNavigation)?2:1),fu(t=>2!==t),hu(1)).subscribe(()=>{e()})}(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(c))}),this.navigationTransitions.handleNavigationRequest({source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:r,resolve:o,reject:i,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch(t=>Promise.reject(t))}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})(),Tf=(()=>{class t extends gc{constructor(){super(...arguments),this.skipNextPopState=!1,this.source="Window.addEventListener:popstate"}pushState(t,e,n){this.skipNextPopState=!0,super.pushState(t,e,n)}replaceState(t,e,n){this.skipNextPopState=!0,super.replaceState(t,e,n)}onPopState(t){return t=Zone.current.wrap(t,this.source),super.onPopState(e=>{this.skipNextPopState&&e.singleSpa?this.skipNextPopState=!1:t(e)})}static#t=this.ɵfac=(()=>{let e;return function(n){return(e||(e=Qr(t)))(n||t)}})();static#e=this.ɵprov=vt({token:t,factory:t.ɵfac})}return t})();const Ef={NgZone:null,bootstrapFunction:null,template:null,Router:void 0,domElementGetter:void 0,updateFunction:()=>Promise.resolve(),bootstrappedNgModuleRefOrAppRef:null};function xf(t){return If.apply(this,arguments)}function If(){return(If=Xn(function*(t){"noop"!==t.NgZone&&(t.NgZone.assertInAngularZone=()=>{},t.NgZone.assertNotInAngularZone=()=>{},t.routingEventListener=()=>{t.bootstrappedNgZone.run(()=>{})})})).apply(this,arguments)}function Rf(t,e){return Af.apply(this,arguments)}function Af(){return(Af=Xn(function*(t,e){!function(t,e){const n=function(t,e){return(e=e?.customProps??e).domElement?()=>e.domElement:e.domElementGetter?e.domElementGetter:t.domElementGetter?t.domElementGetter:function(t){return function(){const e=`single-spa-application:${t}`;let n=document.getElementById(e);return n||(n=document.createElement("div"),n.id=e,document.body.appendChild(n)),n}}(e.name)}(t,e),r=function(t,e){return t(e)}(n,e);r.innerHTML=t.template}(t,e);const n=t.bootstrapFunction(e),r=yield n,s=r.injector.get(Tf,null),o=t;if("noop"!==t.NgZone){const e=r.injector.get(t.NgZone);null!==s&&function(t,e){if(!e.NavigationStart)return;const n=t.injector.get(e.Router),r=n.events.subscribe(t=>{if(t instanceof e.NavigationStart){const t=n.getCurrentNavigation();"imperative"!==t.trigger&&(t.extras.skipLocationChange=!0,t.extras.replaceUrl=!1)}});t.onDestroy(()=>r.unsubscribe())}(r,t),o.bootstrappedNgZone=e,window.addEventListener("single-spa:routing-event",o.routingEventListener)}return o.bootstrappedNgModuleRefOrAppRef=r,r})).apply(this,arguments)}function Of(t){return Promise.resolve().then(()=>{t.routingEventListener&&window.removeEventListener("single-spa:routing-event",t.routingEventListener),t.bootstrappedNgModuleRefOrAppRef.destroy(),t.bootstrappedNgModuleRefOrAppRef=null})}const Pf={now:()=>(Pf.delegate||Date).now(),delegate:void 0};class jf extends rt{constructor(t=1/0,e=1/0,n=Pf){super(),this._bufferSize=t,this._windowTime=e,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,e)}next(t){const{isStopped:e,_buffer:n,_infiniteTimeWindow:r,_timestampProvider:s,_windowTime:o}=this;e||(n.push(t),!r&&n.push(s.now()+o)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(t),{_infiniteTimeWindow:n,_buffer:r}=this,s=r.slice();for(let e=0;e<s.length&&!t.closed;e+=n?1:2)t.next(s[e]);return this._checkFinalizedStatuses(t),e}_trimBuffer(){const{_bufferSize:t,_timestampProvider:e,_buffer:n,_infiniteTimeWindow:r}=this,s=(r?1:2)*t;if(t<1/0&&s<n.length&&n.splice(0,n.length-s),!r){const t=e.now();let r=0;for(let e=1;e<n.length&&n[e]<=t;e+=2)r=e;r&&n.splice(0,r+1)}}}const Lf=new jf(1),Nf=new St("");let Df=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,e){this._zone=e,t.forEach(t=>{t.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,e,n,r){return this._findPluginFor(e).addEventListener(t,e,n,r)}getZone(){return this._zone}_findPluginFor(t){let e=this._eventNameToPlugin.get(t);if(e)return e;if(e=this._plugins.find(e=>e.supports(t)),!e)throw new ct(5101,!1);return this._eventNameToPlugin.set(t,e),e}static ɵfac=function(e){return new(e||t)(Bt(Nf),Bt(ua))};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})();class Mf{_doc;constructor(t){this._doc=t}manager}const zf="ng-app-id";function Uf(t){for(const e of t)e.remove()}function Ff(t,e){const n=e.createElement("style");return n.textContent=t,n}function Vf(t,e){const n=e.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",t),n}let Hf=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(t,e,n,r={}){this.doc=t,this.appId=e,this.nonce=n,function(t,e,n,r){const s=t.head?.querySelectorAll(`style[${zf}="${e}"],link[${zf}="${e}"]`);if(s)for(const t of s)t.removeAttribute(zf),t instanceof HTMLLinkElement?r.set(t.href.slice(t.href.lastIndexOf("/")+1),{usage:0,elements:[t]}):t.textContent&&n.set(t.textContent,{usage:0,elements:[t]})}(t,e,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,e){for(const e of t)this.addUsage(e,this.inline,Ff);e?.forEach(t=>this.addUsage(t,this.external,Vf))}removeStyles(t,e){for(const e of t)this.removeUsage(e,this.inline);e?.forEach(t=>this.removeUsage(t,this.external))}addUsage(t,e,n){const r=e.get(t);r?r.usage++:e.set(t,{usage:1,elements:[...this.hosts].map(e=>this.addElement(e,n(t,this.doc)))})}removeUsage(t,e){const n=e.get(t);n&&(n.usage--,n.usage<=0&&(Uf(n.elements),e.delete(t)))}ngOnDestroy(){for(const[,{elements:t}]of[...this.inline,...this.external])Uf(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(const[e,{elements:n}]of this.inline)n.push(this.addElement(t,Ff(e,this.doc)));for(const[e,{elements:n}]of this.external)n.push(this.addElement(t,Vf(e,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,e){return this.nonce&&e.setAttribute("nonce",this.nonce),t.appendChild(e)}static ɵfac=function(e){return new(e||t)(Bt(jn),Bt(ps),Bt(ys,8),Bt(vs))};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})();const Zf={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},$f=/%COMP%/g,qf=new St("",{providedIn:"root",factory:()=>!0});function Bf(t,e){return e.map(e=>e.replace($f,t))}let Gf=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(t,e,n,r,s,o,i,a=null,c=null){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.removeStylesOnCompDestroy=r,this.doc=s,this.platformId=o,this.ngZone=i,this.nonce=a,this.tracingService=c,this.platformIsServer=!1,this.defaultRenderer=new Wf(t,s,i,this.platformIsServer,this.tracingService)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;const n=this.getOrCreateRenderer(t,e);return n instanceof Yf?n.applyToHost(t):n instanceof Xf&&n.applyStyles(),n}getOrCreateRenderer(t,e){const n=this.rendererByCompId;let r=n.get(e.id);if(!r){const s=this.doc,o=this.ngZone,i=this.eventManager,a=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,u=this.platformIsServer,l=this.tracingService;switch(e.encapsulation){case Cs.Emulated:r=new Yf(i,a,e,this.appId,c,s,o,u,l);break;case Cs.ShadowDom:return new Kf(i,a,t,e,s,o,this.nonce,u,l);default:r=new Xf(i,a,e,c,s,o,u,l)}n.set(e.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static ɵfac=function(e){return new(e||t)(Bt(Df),Bt(Hf),Bt(ps),Bt(qf),Bt(jn),Bt(vs),Bt(ua),Bt(ys),Bt(ea,8))};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})();class Wf{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,e,n,r,s){this.eventManager=t,this.doc=e,this.ngZone=n,this.platformIsServer=r,this.tracingService=s}destroy(){}destroyNode=null;createElement(t,e){return e?this.doc.createElementNS(Zf[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(Qf(t)?t.content:t).appendChild(e)}insertBefore(t,e,n){t&&(Qf(t)?t.content:t).insertBefore(e,n)}removeChild(t,e){e.remove()}selectRootElement(t,e){let n="string"==typeof t?this.doc.querySelector(t):t;if(!n)throw new ct(-5104,!1);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const s=Zf[r];s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=Zf[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&(co.DashCase|co.Important)?t.style.setProperty(e,n,r&co.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&co.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){null!=t&&(t[e]=n)}setValue(t,e){t.nodeValue=e}listen(t,e,n,r){if("string"==typeof t&&!(t=fc().getGlobalEventTarget(this.doc,t)))throw new ct(5102,!1);let s=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(s=this.tracingService.wrapEventListener(t,e,s)),this.eventManager.addEventListener(t,e,s,r)}decoratePreventDefault(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&e.preventDefault()}}}function Qf(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class Kf extends Wf{sharedStylesHost;hostEl;shadowRoot;constructor(t,e,n,r,s,o,i,a,c){super(t,s,o,a,c),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=Bf(r.id,u);for(const t of u){const e=document.createElement("style");i&&e.setAttribute("nonce",i),e.textContent=t,this.shadowRoot.appendChild(e)}const l=r.getExternalStyles?.();if(l)for(const t of l){const e=Vf(t,s);i&&e.setAttribute("nonce",i),this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(null,e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Xf extends Wf{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,e,n,r,s,o,i,a,c){super(t,s,o,i,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let u=n.styles;this.styles=c?Bf(c,u):u,this.styleUrls=n.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class Yf extends Xf{contentAttr;hostAttr;constructor(t,e,n,r,s,o,i,a,c){const u=r+"-"+n.id;super(t,e,n,s,o,i,a,c,u),this.contentAttr=function(t){return"_ngcontent-%COMP%".replace($f,t)}(u),this.hostAttr=function(t){return"_nghost-%COMP%".replace($f,t)}(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class Jf extends dc{supportsDOMEvents=!0;static makeCurrent(){!function(t){hc??=t}(new Jf)}onAndCancel(t,e,n,r){return t.addEventListener(e,n,r),()=>{t.removeEventListener(e,n,r)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.remove()}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=(td=td||document.head.querySelector("base"),td?td.getAttribute("href"):null);return null==e?null:function(t){return new URL(t,document.baseURI).pathname}(e)}resetBaseElement(){td=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,s]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(s)}return null}(document.cookie,t)}}let td=null,ed=(()=>{class t{build(){return new XMLHttpRequest}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})();const nd=["alt","control","meta","shift"],rd={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},sd={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};function od(t){return{appProviders:[...ad,...t?.providers??[]],platformProviders:id}}const id=[{provide:vs,useValue:"browser"},{provide:ms,useValue:function(){Jf.makeCurrent()},multi:!0},{provide:jn,useFactory:function(){return function(t){ds=t}(document),document}}],ad=[{provide:we,useValue:"root"},{provide:Mn,useFactory:function(){return new Mn}},{provide:Nf,useClass:(()=>{class t extends Mf{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n,r){return t.addEventListener(e,n,r),()=>this.removeEventListener(t,e,n,r)}removeEventListener(t,e,n,r){return t.removeEventListener(e,n,r)}static ɵfac=function(e){return new(e||t)(Bt(jn))};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})(),multi:!0,deps:[jn]},{provide:Nf,useClass:(()=>{class t extends Mf{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r,s){const o=t.parseEventName(n),i=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>fc().onAndCancel(e,o.domEventName,i,s))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const s=t._normalizeKey(n.pop());let o="",i=n.indexOf("code");if(i>-1&&(n.splice(i,1),o="code."),nd.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),o+=t+".")}),o+=s,0!=n.length||0===s.length)return null;const a={};return a.domEventName=r,a.fullKey=o,a}static matchEventFullKeyCode(t,e){let n=rd[t.key]||t.key,r="";return e.indexOf("code.")>-1&&(n=t.code,r="code."),!(null==n||!n)&&(n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),nd.forEach(e=>{e!==n&&(0,sd[e])(t)&&(r+=e+".")}),r+=n,r===e)}static eventCallback(e,n,r){return s=>{t.matchEventFullKeyCode(s,e)&&r.runGuarded(()=>n(s))}}static _normalizeKey(t){return"esc"===t?"escape":t}static ɵfac=function(e){return new(e||t)(Bt(jn))};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})(),multi:!0,deps:[jn]},Gf,Hf,Df,{provide:si,useExisting:Gf},{provide:class{},useClass:ed},[]];Error,Error;let cd=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=Fn(null);get href(){return function(t){return function(t){const e=u(null);try{return t()}finally{u(e)}}(t)}(this.reactiveHref)}set href(t){this.reactiveHref.set(t)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new rt;applicationErrorHandler=Gt(zn);options=Gt(af,{optional:!0});constructor(t,e,n,r,s,o){this.router=t,this.route=e,this.tabIndexAttribute=n,this.renderer=r,this.el=s,this.locationStrategy=o,this.reactiveHref.set(Gt(new ec("href"),{optional:!0}));const i=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===i||"area"===i||!("object"!=typeof customElements||!customElements.get(i)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(void 0!==this.subscription||!this.isAnchorElement)return;let t=this.preserveFragment;const e=t=>"merge"===t||"preserve"===t;t||=e(this.queryParamsHandling),t||=!this.queryParamsHandling&&!e(this.options?.defaultQueryParamsHandling),t&&(this.subscription=this.router.events.subscribe(t=>{t instanceof Rl&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(t){null==t?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=ll(t)||Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,e,n,r,s){const o=this.urlTree;if(null===o||this.isAnchorElement&&(0!==t||e||n||r||s||"string"==typeof this.target&&"_self"!=this.target))return!0;const i={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(o,i)?.catch(t=>{this.applicationErrorHandler(t)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const t=this.urlTree;this.reactiveHref.set(null!==t&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t))??"":null)}applyAttributeValue(t,e){const n=this.renderer,r=this.el.nativeElement;null!==e?n.setAttribute(r,t,e):n.removeAttribute(r,t)}get urlTree(){return null===this.routerLinkInput?null:ll(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static ɵfac=function(e){return new(e||t)(li(Cf),li(oh),Yr("tabindex"),li(oi),li(es),li(bc))};static ɵdir=Ki({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&Ma("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&xa("href",e.reactiveHref(),Ls)("target",e.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",lc],skipLocationChange:[2,"skipLocationChange","skipLocationChange",lc],replaceUrl:[2,"replaceUrl","replaceUrl",lc],routerLink:"routerLink"},features:[cr]})}return t})();const ud=new St("");function ld(t){return t.routerState.root}function hd(){const t=Gt(Pn);return e=>{const n=t.get(Ta);if(e!==n.components[0])return;const r=t.get(Cf),s=t.get(fd);1===t.get(dd)&&r.initialNavigation(),t.get(pd,null,{optional:!0})?.setUpPreloading(),t.get(ud,null,{optional:!0})?.init(),r.resetRootComponentType(n.componentTypes[0]),s.closed||(s.next(),s.complete(),s.unsubscribe())}}const fd=new St("",{factory:()=>new rt}),dd=new St("",{providedIn:"root",factory:()=>1}),pd=new St("");let gd=(()=>{class t{constructor(){this.title="workbench"}static#t=this.ɵfac=function(e){return new(e||t)};static#e=this.ɵcmp=Bi({type:t,selectors:[["app-root"]],decls:15,vars:0,consts:[[1,"main-container"],["routerLink","/sparql"],["routerLink","/sparql-new"],["routerLink","/new-view"]],template:function(t,e){1&t&&(Ra(0,"div",0)(1,"h1"),za(2,"Workbench - Angular18 - internal navigation"),Aa(),Ra(3,"nav")(4,"ul")(5,"li")(6,"a",1),za(7,"Sparql"),Aa()(),Ra(8,"li")(9,"a",2),za(10,"Sparql new"),Aa()(),Ra(11,"li")(12,"a",3),za(13,"New view"),Aa()()()(),Oa(14,"router-outlet"),Aa())},dependencies:[gh,cd],styles:[".main-container[_ngcontent-%COMP%]{margin-left:15rem;padding:0 2rem 3rem}"]})}return t})(),md=(()=>{class t{static#t=this.ɵfac=function(e){return new(e||t)};static#e=this.ɵcmp=Bi({type:t,selectors:[["app-sparql"]],decls:2,vars:0,template:function(t,e){1&t&&(Pa(0,"p"),za(1,"sparql works!"),ja())},encapsulation:2})}return t})(),vd=(()=>{class t{static#t=this.ɵfac=function(e){return new(e||t)};static#e=this.ɵcmp=Bi({type:t,selectors:[["app-empty-route"]],decls:0,vars:0,template:function(t,e){},encapsulation:2})}return t})();const yd=(st.d(bd={},{AuthenticationService:()=>Ua.AuthenticationService,LanguageContextService:()=>Ua.LanguageContextService,LanguageService:()=>Ua.LanguageService,RepositoryContextService:()=>Ua.RepositoryContextService,ServiceProvider:()=>Ua.ServiceProvider}),bd);var bd;function wd(...t){const e=Zc(t),{args:n,keys:r}=Xc(t),s=new tt(t=>{const{length:e}=n;if(!e)return void t.complete();const s=new Array(e);let o=e,i=e;for(let a=0;a<e;a++){let e=!1;Lc(n[a]).subscribe(tr(t,t=>{e||(e=!0,i--),s[a]=t},()=>o--,void 0,()=>{(!o||!e)&&(i||t.next(r?tu(r,s):s),t.complete())}))}});return e?s.pipe(Jc(e)):s}class _d extends O{constructor(t,e){super()}schedule(t,e=0){return this}}const Sd={setInterval(t,e,...n){const{delegate:r}=Sd;return r?.setInterval?r.setInterval(t,e,...n):setInterval(t,e,...n)},clearInterval(t){const{delegate:e}=Sd;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};class kd{constructor(t,e=kd.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,n){return new this.schedulerActionCtor(this,t).schedule(n,e)}}kd.now=Pf.now;const Cd=new class extends kd{constructor(t,e=kd.now){super(t,e),this.actions=[],this._active=!1}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let n;this._active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}(class extends _d{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){var n;if(this.closed)return this;this.state=t;const r=this.id,s=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(s,r,e)),this.pending=!0,this.delay=e,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(s,this.id,e),this}requestAsyncId(t,e,n=0){return Sd.setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!=n&&this.delay===n&&!1===this.pending)return e;null!=e&&Sd.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n,r=!1;try{this.work(t)}catch(t){r=!0,n=t||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:n}=e;this.work=this.state=this.scheduler=null,this.pending=!1,A(n,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}});function Td(t,e,...n){if(!0===e)return void t();if(!1===e)return;const r=new G({next:()=>{r.unsubscribe(),t()}});return Lc(e(...n)).subscribe(r)}class Ed{translations;constructor(t){this.translations=t}getTranslation(t){return qc(this.translations.get(t)||{})}}const xd=new St("");function Id(t,e){return t&&(Object.prototype.hasOwnProperty.call(t,e)?t[e]:e.split(".").reduce((t,e)=>t?.[e],t))}function Rd(t){return t?Array.isArray(t)?t.length:Od(t)?Object.keys(t).length:t?t.length:0:0}function Ad(t){return"string"==typeof t}function Od(t){return!!t&&"object"==typeof t&&!Array.isArray(t)}function Pd(t){return t.replace(/(?:^\w|[A-Z]|\b\w)/g,(t,e)=>0==e?t.toLowerCase():t.toUpperCase()).replace(/\s+|_|-|\//g,"")}function jd(t){return null==t}function Ld(t){return!1===jd(t)}function Nd(t){return t&&"string"==typeof t.scope}function Dd(t){const e={};return function t(n,r){if(null===n)e[r]=null;else if(Od(n))for(const[e,s]of Object.entries(n))t(s,r?`${r}.${e}`:e);else e[r]=n}(t,""),e}const Md=new St("",{providedIn:"root",factory:()=>zd}),zd={defaultLang:"en",reRenderOnLangChange:!1,prodMode:!1,failedRetries:2,fallbackLang:[],availableLangs:[],missingHandler:{logMissingKey:!0,useFallbackTranslation:!1,allowEmpty:!1},flatten:{aot:!1},interpolation:["{{","}}"],scopes:{keepCasing:!1}};function Ud(t={}){return{...zd,...t,missingHandler:{...zd.missingHandler,...t.missingHandler},flatten:{...zd.flatten,...t.flatten},scopes:{...zd.scopes,...t.scopes}}}const Fd=new St("");let Vd=(()=>{class t{config=Gt(Md,{optional:!0})??zd;get interpolationMatcher(){return function(t){const[e,n]=t.interpolation;return new RegExp(`${e}([^${e}${n}]*?)${n}`,"g")}(this.config)}transpile({value:t,params:e={},translation:n,key:r}){if(Ad(t)){let s,o=t;for(;null!==(s=this.interpolationMatcher.exec(o));){const[t,i]=s;o=o.replace(t,()=>{const t=i.trim(),s=Id(e,t);return Ld(s)?s:Ld(n[t])?this.transpile({params:e,translation:n,key:r,value:n[t]}):""})}return o}return e&&(Od(t)?t=this.handleObject({value:t,params:e,translation:n,key:r}):Array.isArray(t)&&(t=this.handleArray({value:t,params:e,translation:n,key:r}))),t}handleObject({value:t,params:e={},translation:n,key:r}){let s=t;return Object.keys(e).forEach(t=>{const o=this.transpile({value:Id(s,t),params:Id(e,t),translation:n,key:r});s=function(t,e,n){t={...t};const r=e.split("."),s=r.length-1;return r.reduce((t,e,r)=>(t[e]=r===s?n:Array.isArray(t[e])?t[e].slice():{...t[e]},t&&t[e]),t),t}(s,t,o)}),s}handleArray({value:t,...e}){return t.map(t=>this.transpile({value:t,...e}))}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})();const Hd=new St("");let Zd=(()=>{class t{handle(t,e){return e.missingHandler.logMissingKey&&!e.prodMode&&console.warn(`%c Missing translation for '${t}'`,"font-size: 12px; color: red"),t}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})();const $d=new St("");let qd=(()=>{class t{preSaveTranslation(t){return t}preSaveTranslationKey(t,e){return e}static ɵfac=function(e){return new(e||t)};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})();const Bd=new St("");let Gd,Wd=(()=>{class t{userConfig;constructor(t){this.userConfig=t}getNextLangs(){const t=this.userConfig.fallbackLang;if(!t)throw new Error("When using the default fallback, a fallback language must be provided in the config!");return Array.isArray(t)?t:[t]}static ɵfac=function(e){return new(e||t)(Bt(Md))};static ɵprov=vt({token:t,factory:t.ɵfac})}return t})();function Qd(t){if(!t)return"";const e=t.split("/");return e.pop(),e.join("/")}function Kd(t){return t?t.split("/").pop():""}function Xd(t,e,n="|"){if(Ad(t)){const r=t.split(n),s=r.pop();return s===e?[!0,r.toString()]:[!1,s]}return[!1,""]}function Yd(t,e){return function(t){return t&&Od(t.loader)}(t)?function(t,e){return Object.keys(t).reduce((n,r)=>(n[`${e}/${r}`]=t[r],n),{})}(t.loader,e):void 0}function Jd(t){return{scope:Qd(t)||null,langName:Kd(t)}}function tp(t){const{path:e,inlineLoader:n,mainLoader:r,data:s}=t;if(n){if(!1===function(t){return"function"==typeof t}(n[e]))throw`You're using an inline loader but didn't provide a loader for ${e}`;return n[e]().then(t=>t.default?t.default:t)}return r.getTranslation(e,s)}let ep=(()=>{class t{loader;parser;missingHandler;interceptor;fallbackStrategy;langChanges$;translations=new Map;cache=new Map;firstFallbackLang;defaultLang="";availableLangs=[];isResolvedMissingOnce=!1;lang;failedLangs=new Set;events=new rt;events$=this.events.asObservable();config;destroyRef=Gt(Ln);constructor(t,e,n,r,s,o){this.loader=t,this.parser=e,this.missingHandler=n,this.interceptor=r,this.fallbackStrategy=o,this.loader||(this.loader=new Ed(this.translations)),Gd=this,this.config=JSON.parse(JSON.stringify(s)),this.setAvailableLangs(this.config.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.config),this.setDefaultLang(this.config.defaultLang),this.lang=new it(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.events$.subscribe(t=>{"translationLoadSuccess"===t.type&&t.wasFailure&&this.setActiveLang(t.payload.langName)}),this.destroyRef.onDestroy(()=>{this.lang.complete(),this.events.complete(),this.cache.clear()})}getDefaultLang(){return this.defaultLang}setDefaultLang(t){this.defaultLang=t}getActiveLang(){return this.lang.getValue()}setActiveLang(t){return this.parser.onLangChanged?.(t),this.lang.next(t),this.events.next({type:"langChanged",payload:Jd(t)}),this}setAvailableLangs(t){this.availableLangs=t}getAvailableLangs(){return this.availableLangs}load(t,e={}){const n=this.cache.get(t);if(n)return n;let r;const s=this._isLangScoped(t);let o;s&&(o=Qd(t));const i={path:t,mainLoader:this.loader,inlineLoader:e.inlineLoader,data:s?{scope:o}:void 0};if(this.useFallbackTranslation(t)){const t=s?`${o}/${this.firstFallbackLang}`:this.firstFallbackLang,e=function({mainLoader:t,path:e,data:n,fallbackPath:r,inlineLoader:s}){return(r?[e,r]:[e]).map(e=>Fc(tp({path:e,mainLoader:t,inlineLoader:s,data:n})).pipe(nr(t=>({translation:t,lang:e}))))}({...i,fallbackPath:t});r=wd(e)}else r=Fc(tp(i));const a=r.pipe(function(t=1/0){let e;e=t&&"object"==typeof t?t:{count:t};const{count:n=1/0,delay:r,resetOnSuccess:s=!1}=e;return n<=0?Y:Jn((t,e)=>{let o,i=0;const a=()=>{let c=!1;o=t.subscribe(tr(e,t=>{s&&(i=0),e.next(t)},void 0,t=>{if(i++<n){const n=()=>{o?(o.unsubscribe(),o=null,a()):c=!0};if(null!=r){const s="number"==typeof r?function(t=0,e,n=Cd){let r=-1;return null!=e&&(Vc(e)?n=e:r=e),new tt(e=>{let s=function(t){return t instanceof Date&&!isNaN(t)}(t)?+t-n.now():t;s<0&&(s=0);let o=0;return n.schedule(function(){e.closed||(e.next(o++),0<=r?this.schedule(void 0,r):e.complete())},s)})}(r):Lc(r(t,i)),o=tr(e,()=>{o.unsubscribe(),n()},()=>{e.complete()});s.subscribe(o)}else n()}else e.error(t)})),c&&(o.unsubscribe(),o=null,a())};a()})}(this.config.failedRetries),yu(e=>{Array.isArray(e)?e.forEach(e=>{this.handleSuccess(e.lang,e.translation),e.lang!==t&&this.cache.set(e.lang,qc({}))}):this.handleSuccess(t,e)}),bu(n=>(this.config.prodMode||console.error(`Error while trying to load "${t}"`,n),this.handleFailure(t,e))),function(t,e,n){let r,s=!1;return r=1,function(t={}){const{connector:e=()=>new rt,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:s=!0}=t;return t=>{let o,i,a,c=0,u=!1,l=!1;const h=()=>{i?.unsubscribe(),i=void 0},f=()=>{h(),o=a=void 0,u=l=!1},d=()=>{const t=o;f(),t?.unsubscribe()};return Jn((t,p)=>{c++,!l&&!u&&h();const g=a=a??e();p.add(()=>{c--,0===c&&!l&&!u&&(i=Td(d,s))}),g.subscribe(p),!o&&c>0&&(o=new G({next:t=>g.next(t),error:t=>{l=!0,h(),i=Td(f,n,t),g.error(t)},complete:()=>{u=!0,h(),i=Td(f,r),g.complete()}}),Lc(t).subscribe(o))})(t)}}({connector:()=>new jf(r,e,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:s})}(),function(t){t||(t=Gt(Ln));const e=new tt(e=>{if(!t.destroyed)return t.onDestroy(e.next.bind(e));e.next()});return t=>t.pipe(ku(e))}(this.destroyRef));return this.cache.set(t,a),a}translate(t,e={},n=this.getActiveLang()){if(!t)return t;const{scope:r,resolveLang:s}=this.resolveLangAndScope(n);if(Array.isArray(t))return t.map(t=>this.translate(r?`${r}.${t}`:t,e,s));t=r?`${r}.${t}`:t;const o=this.getTranslation(s),i=o[t];return i?this.parser.transpile({value:i,params:e,translation:o,key:t}):this._handleMissingKey(t,i,e)}selectTranslate(t,e,n,r=!1){let s;const o=(n,s)=>this.load(n,s).pipe(nr(()=>r?this.translateObject(t,e,n):this.translate(t,e,n)));if(jd(n))return this.langChanges$.pipe(lu(t=>o(t)));if(Nd(n=Array.isArray(n)?n[0]:n)){const t=n;n=t.scope,s=Yd(t,t.scope)}if(this.isLang(n)||this.isScopeWithLang(n))return o(n);const i=n;return this.langChanges$.pipe(lu(t=>o(`${i}/${t}`,{inlineLoader:s})))}isScopeWithLang(t){return this.isLang(Kd(t))}translateObject(t,e={},n=this.getActiveLang()){if(Ad(t)||Array.isArray(t)){const{resolveLang:r,scope:s}=this.resolveLangAndScope(n);if(Array.isArray(t))return t.map(t=>this.translateObject(s?`${s}.${t}`:t,e,r));const o=this.getTranslation(r),i=function(t){const e={};for(const[n,r]of Object.entries(t)){const t=n.split(".");let s=e;t.forEach((e,n)=>{n===t.length-1?s[e]=r:(s[e]??={},s=s[e])})}return e}(this.getObjectByKey(o,t=s?`${s}.${t}`:t));return function(t){return 0===Rd(t)}(i)?this.translate(t,e,n):this.parser.transpile({value:i,params:e,translation:o,key:t})}const r=[];for(const[e,s]of this.getEntries(t))r.push(this.translateObject(e,s,n));return r}selectTranslateObject(t,e,n){if(Ad(t)||Array.isArray(t))return this.selectTranslate(t,e,n,!0);const[[r,s],...o]=this.getEntries(t);return this.selectTranslateObject(r,s,n).pipe(nr(t=>{const e=[t];for(const[t,r]of o)e.push(this.translateObject(t,r,n));return e}))}getTranslation(t){if(t){if(this.isLang(t))return this.translations.get(t)||{};{const{scope:e,resolveLang:n}=this.resolveLangAndScope(t),r=this.translations.get(n)||{};return this.getObjectByKey(r,e)}}return this.translations}selectTranslation(t){let e=this.langChanges$;if(t){const n=Kd(t)!==t;e=this.isLang(t)||n?qc(t):this.langChanges$.pipe(nr(e=>`${t}/${e}`))}return e.pipe(lu(t=>this.load(t).pipe(nr(()=>this.getTranslation(t)))))}setTranslation(t,e=this.getActiveLang(),n={}){const r={merge:!0,emitChange:!0,...n},s=Qd(e);let o=t;if(s){const e=this.getMappedScope(s);o=Dd({[e]:t})}const i=s?Kd(e):e,a={...r.merge&&this.getTranslation(i),...o},c=this.config.flatten.aot?a:Dd(a),u=this.interceptor.preSaveTranslation(c,i);this.translations.set(i,u),r.emitChange&&this.setActiveLang(this.getActiveLang())}setTranslationKey(t,e,n={}){const r=n.lang||this.getActiveLang(),s=this.interceptor.preSaveTranslationKey(t,e,r);this.setTranslation({[t]:s},r,{...n,merge:!0})}setFallbackLangForMissingTranslation({fallbackLang:t}){const e=Array.isArray(t)?t[0]:t;t&&this.useFallbackTranslation(e)&&(this.firstFallbackLang=e)}_handleMissingKey(t,e,n){if(this.config.missingHandler.allowEmpty&&""===e)return"";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=!0;const e=this.translate(t,n,this.firstFallbackLang);return this.isResolvedMissingOnce=!1,e}return this.missingHandler.handle(t,this.getMissingHandlerData(),n)}_isLangScoped(t){return-1===this.getAvailableLangsIds().indexOf(t)}isLang(t){return-1!==this.getAvailableLangsIds().indexOf(t)}_loadDependencies(t,e){const n=Kd(t);return this._isLangScoped(t)&&!this.isLoadedTranslation(n)?eu([this.load(n),this.load(t,{inlineLoader:e})]):this.load(t,{inlineLoader:e})}_completeScopeWithLang(t){return this._isLangScoped(t)&&!this.isLang(Kd(t))?`${t}/${this.getActiveLang()}`:t}_setScopeAlias(t,e){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[t]=e}isLoadedTranslation(t){return Rd(this.getTranslation(t))}getAvailableLangsIds(){return Ad(this.getAvailableLangs()[0])?this.getAvailableLangs():this.getAvailableLangs().map(t=>t.id)}getMissingHandlerData(){return{...this.config,activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang}}useFallbackTranslation(t){return this.config.missingHandler.useFallbackTranslation&&t!==this.firstFallbackLang}handleSuccess(t,e){this.setTranslation(e,t,{emitChange:!1}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:Jd(t)}),this.failedLangs.forEach(t=>this.cache.delete(t)),this.failedLangs.clear()}handleFailure(t,e){jd(e.failedCounter)&&(e.failedCounter=0,e.fallbackLangs||(e.fallbackLangs=this.fallbackStrategy.getNextLangs(t)));const n=t.split("/"),r=e.fallbackLangs[e.failedCounter];if(this.failedLangs.add(t),this.cache.has(r))return this.handleSuccess(r,this.getTranslation(r)),au;if(!r||r===n[n.length-1]){let t="Unable to load translation and all the fallback languages";throw n.length>1&&(t+=", did you misspelled the scope name?"),new Error(t)}let s=r;return n.length>1&&(n[n.length-1]=r,s=n.join("/")),e.failedCounter++,this.events.next({type:"translationLoadFailure",payload:Jd(t)}),this.load(s,e)}getMappedScope(t){const{scopeMapping:e={},scopes:n={keepCasing:!1}}=this.config;return e[t]||(n.keepCasing?t:Pd(t))}resolveLangAndScope(t){let e,n=t;if(this._isLangScoped(t)){const r=Kd(t),s=this.isLang(r);n=s?r:this.getActiveLang(),e=this.getMappedScope(s?Qd(t):t)}return{scope:e,resolveLang:n}}getObjectByKey(t,e){const n={},r=`${e}.`;for(const e in t)e.startsWith(r)&&(n[e.replace(r,"")]=t[e]);return n}getEntries(t){return t instanceof Map?t.entries():Object.entries(t)}static ɵfac=function(e){return new(e||t)(Bt(xd,8),Bt(Fd),Bt(Hd),Bt($d),Bt(Md),Bt(Bd))};static ɵprov=vt({token:t,factory:t.ɵfac,providedIn:"root"})}return t})();const np=new St(""),rp=(new St(""),new St(""));class sp{initialized=!1;resolve({inline:t,provider:e,active:n}){let r=n;if(this.initialized)return r=n,r;if(e){const[,t]=Xd(e,"static");r=t}if(t){const[,e]=Xd(t,"static");r=e}return this.initialized=!0,r}resolveLangBasedOnScope(t){return Qd(t)?Kd(t):t}resolveLangPath(t,e){return e?`${e}/${t}`:t}}class op{service;constructor(t){this.service=t}resolve(t){const{inline:e,provider:n}=t;if(e)return e;if(n){if(Nd(n)){const{scope:t,alias:e=(this.service.config.scopes.keepCasing?t:Pd(t))}=n;return this.service._setScopeAlias(t,e),t}return n}}}let ip=(()=>{class t{service;providerScope;providerLang;cdr;subscription=null;lastValue="";lastKey;path;langResolver=new sp;scopeResolver;constructor(t,e,n,r){this.service=t,this.providerScope=e,this.providerLang=n,this.cdr=r,this.scopeResolver=new op(this.service)}transform(t,e,n){if(!t)return t;const r=e?`${t}${JSON.stringify(e)}`:t;if(r===this.lastKey)return this.lastValue;this.lastKey=r,this.subscription?.unsubscribe();const s=function(t,e){const[n]=Xd(e,"static");return!n&&!!t.config.reRenderOnLangChange}(this.service,this.providerLang||n);return this.subscription=this.service.langChanges$.pipe(lu(t=>{const e=this.langResolver.resolve({inline:n,provider:this.providerLang,active:t});return Array.isArray(this.providerScope)?wd(this.providerScope.map(t=>this.resolveScope(e,t))):this.resolveScope(e,this.providerScope)}),function(t){return t?t=>t:hu(1)}(s)).subscribe(()=>this.updateValue(t,e)),this.lastValue}ngOnDestroy(){this.subscription?.unsubscribe(),this.subscription=null}updateValue(t,e){const n=this.langResolver.resolveLangBasedOnScope(this.path);this.lastValue=this.service.translate(t,e,n),this.cdr.markForCheck()}resolveScope(t,e){const n=this.scopeResolver.resolve({inline:void 0,provider:e});this.path=this.langResolver.resolveLangPath(t,n);const r=Yd(e,n);return this.service._loadDependencies(this.path,r)}static ɵfac=function(e){return new(e||t)(li(ep,16),li(rp,24),li(np,24),li(cc,16))};static ɵpipe=function(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}({name:"transloco",type:t,pure:!1})}return t})();function ap(t){return he([{provide:Fd,useClass:t,deps:[Md]}])}function cp(t){return he([{provide:Bd,useClass:t,deps:[Md]}])}function up(t){return he([{provide:Hd,useClass:t}])}function lp(t){return he([{provide:$d,useClass:t}])}new St("TRANSLOCO_TEST_LANGS - Available testing languages"),new St("TRANSLOCO_TEST_OPTIONS - Testing options");const hp=[{path:"sparql-new",component:md},{path:"new-view",component:(()=>{class t{constructor(){console.info("NewViewComponent login",yd.ServiceProvider.get(yd.AuthenticationService).login()),yd.ServiceProvider.get(yd.RepositoryContextService).onRepositoryListChanged(t=>{console.info("NewViewComponent repositories",t?.getItems())})}static#t=this.ɵfac=function(e){return new(e||t)};static#e=this.ɵcmp=Bi({type:t,selectors:[["app-new-view"]],decls:3,vars:3,template:function(t,e){1&t&&(Pa(0,"p"),za(1),function(){const t=on();let e;t.firstCreatePass?(e=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const r=e[n];if(t===r.name)return r}}("transloco",t.pipeRegistry),t.data[28]=e,e.onDestroy&&(t.destroyHooks??=[]).push(28,e.onDestroy)):e=t.data[28];const n=e.factory||(e.factory=Xt(e.type)),r=Ft(li);try{const e=Or(!1),r=n();return Or(e),function(t,e,n,r){28>=t.data.length&&(t.data[28]=null,t.blueprint[28]=null),e[28]=r}(t,sn(),0,r),r}finally{Ft(r)}}(),ja()),2&t&&(function(t=1){oo(on(),sn(),Tn()+t,!1)}(),Va(function(t,e,n){const r=t+26,s=sn(),o=function(t,e){return t[e]}(s,r);return function(t,e){return t[1].data[e].pure}(s,r)?function(t,e,n,r,s,o){const i=e+n;return wi(t,i,s)?function(t,e,n){return t[e]=n}(t,i+1,o?r.call(o,s):r(s)):function(t,e){const n=t[e];return n===Ws?void 0:n}(t,i+1)}(s,function(){const t=Je.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}(),e,o.transform,n,o):o.transform(n)}(2,1,"new-view")))},dependencies:[ip],encapsulation:2})}return t})()},{path:"**",component:vd}],fp=he([{provide:Sa,multi:!0,useValue:()=>{const t=Gt(ep),e=yd.ServiceProvider.get(yd.LanguageContextService),n=yd.ServiceProvider.get(yd.LanguageService);return new Promise(r=>{e.onLanguageBundleChanged(s=>{if(s){const r=e.getSelectedLanguage()||n.getDefaultLanguage();t.setTranslation(s,r),t.setActiveLang(r)}r()})})}}]),dp=function(t){const e=[ap(Vd),up(Zd),lp(qd),cp(Wd)];return t.config&&e.push(function(t){return he([{provide:Md,useValue:Ud(t)}])}(t.config)),t.loader&&e.push(function(t){return he([{provide:xd,useClass:t}])}(t.loader)),e}({config:{availableLangs:yd.ServiceProvider.get(yd.LanguageService).getSupportedLanguages(),defaultLang:yd.ServiceProvider.get(yd.LanguageService).getDefaultLanguage(),reRenderOnLangChange:!0,prodMode:!1}}),pp=[fp,dp],gp={providers:[{provide:Tf,deps:[[new or(jn)]]},{provide:pc,useExisting:Tf},...pp,function(t){const e=t?.ignoreChangesOutsideZone,n=t?.scheduleInRootZone,r=Ga({ngZoneFactory:()=>{const e=Wa(t);return e.scheduleInRootZone=n,e.shouldCoalesceEventChangeDetection&&zi("NgZone_CoalesceEvent"),new ua(e)},ignoreChangesOutsideZone:e,scheduleInRootZone:n});return he([{provide:Ba,useValue:!0},{provide:Zn,useValue:!1},r])}({eventCoalescing:!0}),function(t){return he([{provide:cf,multi:!0,useValue:t},[],{provide:oh,useFactory:ld,deps:[Cf]},{provide:Ca,multi:!0,useFactory:hd},[].map(t=>t.ɵproviders)])}(hp),{provide:wc,useValue:"/"}]},mp=function(t){const e={...Ef,...t};return{bootstrap:xf.bind(null,e),mount:Rf.bind(null,e),unmount:Of.bind(null,e),update:e.updateFunction}}({bootstrapFunction:t=>(Lf.next(t),function(t,e){return function(t){gr(8);try{const{rootComponent:e,appProviders:n,platformProviders:r}=t,s=function(t=[]){if(ac)return ac;const e=function(t=[],e){return Pn.create({name:e,providers:[{provide:we,useValue:"platform"},{provide:sc,useValue:new Set([()=>ac=null])},...t]})}(t);return ac=e,k=()=>{throw new ct(600,"")},function(t){const e=t.get(ms,null);Oe(t,()=>{e?.forEach(t=>t())})}(e),e}(r),o=[Ga({}),{provide:Hn,useExisting:Ka},Un,...n||[]];return function(t){const e=ic(t)?t.r3Injector:t.moduleRef.injector,n=e.get(ua);return n.run(()=>{ic(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();const r=e.get(zn);let s;if(n.runOutsideAngular(()=>{s=n.onError.subscribe({next:r})}),ic(t)){const n=()=>e.destroy(),r=t.platformInjector.get(sc);r.add(n),e.onDestroy(()=>{s.unsubscribe(),r.delete(n)})}else{const e=()=>t.moduleRef.destroy(),n=t.platformInjector.get(sc);n.add(e),t.moduleRef.onDestroy(()=>{Ea(t.allPlatformModules,t.moduleRef),s.unsubscribe(),n.delete(e)})}return function(t,e,n){try{const r=n();return wa(r)?r.catch(n=>{throw e.runOutsideAngular(()=>t(n)),n}):r}catch(n){throw e.runOutsideAngular(()=>t(n)),n}}(r,n,()=>{const n=e.get(Bn),r=n.add(),s=e.get(ka);return s.runInitializers(),s.donePromise.then(()=>{if(function(t){"string"==typeof t&&(Da=t.toLowerCase().replace(/_/g,"-"))}(e.get(Xa,Na)||Na),!e.get(oc,!0))return ic(t)?e.get(Ta):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(ic(t)){const n=e.get(Ta);return void 0!==t.rootComponent&&n.bootstrap(t.rootComponent),n}return t.moduleRef}).finally(()=>{n.remove(r)})})})}({r3Injector:new Zi({providers:o,parent:s,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:s,rootComponent:e})}catch(t){return Promise.reject(t)}finally{gr(9)}}({rootComponent:t,...od(e)})}(gd,gp)),template:"<app-root />",Router:Cf,NavigationStart:Il,NgZone:ua}),vp=mp.bootstrap,yp=mp.mount,bp=mp.unmount})();const FB=_u.Nw,jB=_u.Or,HB=_u.vs;export{FB as bootstrap,jB as mount,HB as unmount};