@tilde-nlp/ngx-common 6.1.93 → 7.0.1

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 (328) hide show
  1. package/fesm2022/tilde-nlp-ngx-common.mjs +153 -146
  2. package/fesm2022/tilde-nlp-ngx-common.mjs.map +1 -1
  3. package/package.json +5 -7
  4. package/styles/tilde-theme.scss +2 -1
  5. package/web-components/3rdpartylicenses.txt +22 -22
  6. package/web-components/index.html +2 -2
  7. package/web-components/main.js +31 -14
  8. package/web-components/polyfills.js +3 -3
  9. package/web-components/prerendered-routes.json +3 -0
  10. package/web-components/styles.css +1 -1
  11. package/esm2022/lib/close-button/close-button.component.mjs +0 -53
  12. package/esm2022/lib/close-button/close-button.module.mjs +0 -37
  13. package/esm2022/lib/close-button/index.mjs +0 -3
  14. package/esm2022/lib/company-product/company-product.component.mjs +0 -34
  15. package/esm2022/lib/company-product/company-product.module.mjs +0 -23
  16. package/esm2022/lib/company-product/index.mjs +0 -3
  17. package/esm2022/lib/confirmation-modal/confirmation-modal.component.mjs +0 -78
  18. package/esm2022/lib/confirmation-modal/confirmation-modal.module.mjs +0 -22
  19. package/esm2022/lib/confirmation-modal/index.mjs +0 -6
  20. package/esm2022/lib/confirmation-modal/models/confirmation-body.model.mjs +0 -2
  21. package/esm2022/lib/confirmation-modal/models/confirmation.enum.mjs +0 -6
  22. package/esm2022/lib/confirmation-modal/services/confirmation.service.mjs +0 -25
  23. package/esm2022/lib/confirmation-modal/services/index.mjs +0 -2
  24. package/esm2022/lib/constants/error-codes.const.mjs +0 -5
  25. package/esm2022/lib/constants/index.mjs +0 -4
  26. package/esm2022/lib/constants/last-used-system-local-storage-key.const.mjs +0 -6
  27. package/esm2022/lib/constants/screen-size.const.mjs +0 -11
  28. package/esm2022/lib/core/auth/addon.model.mjs +0 -2
  29. package/esm2022/lib/core/auth/auth-subscription.model.mjs +0 -2
  30. package/esm2022/lib/core/auth/index.mjs +0 -5
  31. package/esm2022/lib/core/auth/jwt-token.model.mjs +0 -2
  32. package/esm2022/lib/core/auth/subscription-plan.enum.mjs +0 -18
  33. package/esm2022/lib/core/index.mjs +0 -4
  34. package/esm2022/lib/core/localization/index.mjs +0 -3
  35. package/esm2022/lib/core/localization/missing-translation-handler.service.mjs +0 -21
  36. package/esm2022/lib/core/localization/select-language-dialog-component/index.mjs +0 -2
  37. package/esm2022/lib/core/localization/select-language-dialog-component/select-language-dialog.component.mjs +0 -109
  38. package/esm2022/lib/core/title-strategy/custom-title-strategy.provider.mjs +0 -9
  39. package/esm2022/lib/core/title-strategy/custom-title-strategy.service.mjs +0 -41
  40. package/esm2022/lib/core/title-strategy/index.mjs +0 -3
  41. package/esm2022/lib/directives/click-outside/click-outside.directive.mjs +0 -31
  42. package/esm2022/lib/directives/click-outside/click-outside.module.mjs +0 -25
  43. package/esm2022/lib/directives/click-outside/index.mjs +0 -3
  44. package/esm2022/lib/directives/drag-and-drop/drag-and-drop.directive.mjs +0 -66
  45. package/esm2022/lib/directives/drag-and-drop/drag-and-drop.module.mjs +0 -25
  46. package/esm2022/lib/directives/drag-and-drop/index.mjs +0 -3
  47. package/esm2022/lib/directives/index.mjs +0 -4
  48. package/esm2022/lib/directives/mat-button-loading/index.mjs +0 -3
  49. package/esm2022/lib/directives/mat-button-loading/mat-button-loading.directive.mjs +0 -65
  50. package/esm2022/lib/directives/mat-button-loading/mat-button-loading.module.mjs +0 -21
  51. package/esm2022/lib/extension-dialog/components/index.mjs +0 -2
  52. package/esm2022/lib/extension-dialog/components/open-extension-dialog/open-extension-dialog.component.mjs +0 -32
  53. package/esm2022/lib/extension-dialog/extension-dialog.component.mjs +0 -231
  54. package/esm2022/lib/extension-dialog/extension-dialog.module.mjs +0 -52
  55. package/esm2022/lib/extension-dialog/icons/file-types/excel.icon.mjs +0 -22
  56. package/esm2022/lib/extension-dialog/icons/file-types/index.mjs +0 -10
  57. package/esm2022/lib/extension-dialog/icons/file-types/interchange.icon.mjs +0 -6
  58. package/esm2022/lib/extension-dialog/icons/file-types/office-other.icon.mjs +0 -6
  59. package/esm2022/lib/extension-dialog/icons/file-types/other.icon.mjs +0 -6
  60. package/esm2022/lib/extension-dialog/icons/file-types/pdf.icon.mjs +0 -12
  61. package/esm2022/lib/extension-dialog/icons/file-types/powerpoint.icon.mjs +0 -10
  62. package/esm2022/lib/extension-dialog/icons/file-types/scanned.icon.mjs +0 -6
  63. package/esm2022/lib/extension-dialog/icons/file-types/web.icon.mjs +0 -6
  64. package/esm2022/lib/extension-dialog/icons/file-types/word.icon.mjs +0 -11
  65. package/esm2022/lib/extension-dialog/icons/index.mjs +0 -2
  66. package/esm2022/lib/extension-dialog/index.mjs +0 -6
  67. package/esm2022/lib/extension-dialog/models/enums/file-categories.enum.mjs +0 -9
  68. package/esm2022/lib/extension-dialog/models/enums/file-extensions.enum.mjs +0 -36
  69. package/esm2022/lib/extension-dialog/models/enums/file-type-icons.enum.mjs +0 -13
  70. package/esm2022/lib/extension-dialog/models/enums/file-types.enum.mjs +0 -13
  71. package/esm2022/lib/extension-dialog/models/enums/index.mjs +0 -5
  72. package/esm2022/lib/extension-dialog/models/index.mjs +0 -3
  73. package/esm2022/lib/extension-dialog/models/interfaces/config.mjs +0 -2
  74. package/esm2022/lib/extension-dialog/models/interfaces/dialog-data.model.mjs +0 -2
  75. package/esm2022/lib/extension-dialog/models/interfaces/index.mjs +0 -3
  76. package/esm2022/lib/extension-dialog/services/extension-dialog.service.mjs +0 -22
  77. package/esm2022/lib/extension-dialog/services/index.mjs +0 -2
  78. package/esm2022/lib/file-upload/file-upload.component.mjs +0 -254
  79. package/esm2022/lib/file-upload/file-upload.module.mjs +0 -51
  80. package/esm2022/lib/file-upload/index.mjs +0 -4
  81. package/esm2022/lib/file-upload/models/file-upload-error-type.enum.mjs +0 -8
  82. package/esm2022/lib/file-upload/models/file-upload-error.model.mjs +0 -2
  83. package/esm2022/lib/file-upload/models/file-upload.icon.mjs +0 -2
  84. package/esm2022/lib/file-upload/models/index.mjs +0 -3
  85. package/esm2022/lib/filter-bar/filter-bar.component.mjs +0 -409
  86. package/esm2022/lib/filter-bar/filter-bar.module.mjs +0 -72
  87. package/esm2022/lib/filter-bar/index.mjs +0 -4
  88. package/esm2022/lib/filter-bar/models/filter-bar-change-event.model.mjs +0 -2
  89. package/esm2022/lib/filter-bar/models/filter-bar-filter-item.model.mjs +0 -2
  90. package/esm2022/lib/filter-bar/models/filter-bar-filter-search.model.mjs +0 -2
  91. package/esm2022/lib/filter-bar/models/filter-bar-filter-single-selection.model.mjs +0 -2
  92. package/esm2022/lib/filter-bar/models/filter-bar-filter.model.mjs +0 -2
  93. package/esm2022/lib/filter-bar/models/filter-bar-settings.model.mjs +0 -2
  94. package/esm2022/lib/filter-bar/models/index.mjs +0 -5
  95. package/esm2022/lib/footer/footer.component.mjs +0 -143
  96. package/esm2022/lib/footer/footer.module.mjs +0 -35
  97. package/esm2022/lib/footer/index.mjs +0 -3
  98. package/esm2022/lib/global-message/global-message.component.mjs +0 -51
  99. package/esm2022/lib/global-message/index.mjs +0 -2
  100. package/esm2022/lib/helpers/auth-headers.helper.mjs +0 -19
  101. package/esm2022/lib/helpers/conversion.helper.mjs +0 -11
  102. package/esm2022/lib/helpers/custom-paginator-internatioinalization.helper.mjs +0 -56
  103. package/esm2022/lib/helpers/file-extension.helper.mjs +0 -6
  104. package/esm2022/lib/helpers/file-size-label.helper.mjs +0 -27
  105. package/esm2022/lib/helpers/hash.helper.mjs +0 -14
  106. package/esm2022/lib/helpers/html-element-parse.helper.mjs +0 -15
  107. package/esm2022/lib/helpers/html.helper.mjs +0 -57
  108. package/esm2022/lib/helpers/index.mjs +0 -13
  109. package/esm2022/lib/helpers/missing-translation.helper.mjs +0 -7
  110. package/esm2022/lib/helpers/resolution.helper.mjs +0 -7
  111. package/esm2022/lib/helpers/save-file.helper.mjs +0 -14
  112. package/esm2022/lib/helpers/sort.helper.mjs +0 -73
  113. package/esm2022/lib/inline-message/index.mjs +0 -4
  114. package/esm2022/lib/inline-message/inline-message.component.mjs +0 -71
  115. package/esm2022/lib/inline-message/inline-message.module.mjs +0 -33
  116. package/esm2022/lib/inline-message/models/index.mjs +0 -4
  117. package/esm2022/lib/inline-message/models/inline-message-icon-position.enum.mjs +0 -6
  118. package/esm2022/lib/inline-message/models/inline-message-type.enum.mjs +0 -7
  119. package/esm2022/lib/inline-message/models/inline-message.model.mjs +0 -2
  120. package/esm2022/lib/llm/components/llm-rephrase/llm-rephrase.component.mjs +0 -48
  121. package/esm2022/lib/llm/components/llm-summary/llm-summary.component.mjs +0 -48
  122. package/esm2022/lib/llm/components/llm-textarea-with-actions/llm-textarea-with-actions.component.mjs +0 -337
  123. package/esm2022/lib/llm/icons/index.mjs +0 -2
  124. package/esm2022/lib/llm/icons/llm-menu.icon.mjs +0 -14
  125. package/esm2022/lib/llm/index.mjs +0 -4
  126. package/esm2022/lib/llm/llm.component.mjs +0 -122
  127. package/esm2022/lib/llm/llm.module.mjs +0 -86
  128. package/esm2022/lib/llm/models/index.mjs +0 -4
  129. package/esm2022/lib/llm/models/llm-actions.enum.mjs +0 -6
  130. package/esm2022/lib/llm/models/llm-configuration.model.mjs +0 -2
  131. package/esm2022/lib/llm/models/llm-configuration.token.mjs +0 -3
  132. package/esm2022/lib/llm/models/llm-data.model.mjs +0 -2
  133. package/esm2022/lib/llm/models/llm-writing-style.enum.mjs +0 -7
  134. package/esm2022/lib/llm/services/llm-helper.service.mjs +0 -102
  135. package/esm2022/lib/llm/shared/llm-textarea/llm-textarea.component.mjs +0 -111
  136. package/esm2022/lib/multi-functional-table/constants/disable-export-attribute-name.const.mjs +0 -2
  137. package/esm2022/lib/multi-functional-table/constants/index.mjs +0 -2
  138. package/esm2022/lib/multi-functional-table/index.mjs +0 -5
  139. package/esm2022/lib/multi-functional-table/models/batch-config.model.mjs +0 -2
  140. package/esm2022/lib/multi-functional-table/models/column-config.model.mjs +0 -2
  141. package/esm2022/lib/multi-functional-table/models/column-select-config.model.mjs +0 -2
  142. package/esm2022/lib/multi-functional-table/models/export-config.model.mjs +0 -2
  143. package/esm2022/lib/multi-functional-table/models/export-format.enum.mjs +0 -5
  144. package/esm2022/lib/multi-functional-table/models/filter-config.model.mjs +0 -2
  145. package/esm2022/lib/multi-functional-table/models/index.mjs +0 -8
  146. package/esm2022/lib/multi-functional-table/models/multi-functional-table-config.model.mjs +0 -2
  147. package/esm2022/lib/multi-functional-table/models/paginator-config.model.mjs +0 -2
  148. package/esm2022/lib/multi-functional-table/models/selected-column-local-storage-config.model.mjs +0 -2
  149. package/esm2022/lib/multi-functional-table/multi-functional-table.component.mjs +0 -691
  150. package/esm2022/lib/multi-functional-table/multi-functional-table.module.mjs +0 -93
  151. package/esm2022/lib/new-feature-dialog/index.mjs +0 -3
  152. package/esm2022/lib/new-feature-dialog/models/index.mjs +0 -2
  153. package/esm2022/lib/new-feature-dialog/models/mobile-screen-custom-position.model.mjs +0 -2
  154. package/esm2022/lib/new-feature-dialog/new-feature-dialog-wrapper/new-feature-dialog-wrapper.component.mjs +0 -105
  155. package/esm2022/lib/new-feature-dialog/new-feature-dialog-wrapper/new-feature-dialog.service.mjs +0 -37
  156. package/esm2022/lib/new-feature-dialog/new-feature-dialog.component.mjs +0 -40
  157. package/esm2022/lib/notification-message/enums/index.mjs +0 -2
  158. package/esm2022/lib/notification-message/enums/notification-message-type.enum.mjs +0 -9
  159. package/esm2022/lib/notification-message/index.mjs +0 -5
  160. package/esm2022/lib/notification-message/interfaces/index.mjs +0 -2
  161. package/esm2022/lib/notification-message/interfaces/notification-message.model.mjs +0 -2
  162. package/esm2022/lib/notification-message/notification-message.component.mjs +0 -195
  163. package/esm2022/lib/notification-message/notification-message.module.mjs +0 -49
  164. package/esm2022/lib/open-close-button/index.mjs +0 -5
  165. package/esm2022/lib/open-close-button/injection-tokens/index.mjs +0 -2
  166. package/esm2022/lib/open-close-button/injection-tokens/open-close-btn-icons.token.mjs +0 -2
  167. package/esm2022/lib/open-close-button/models/index.mjs +0 -2
  168. package/esm2022/lib/open-close-button/models/open-close-btn-icons.model.mjs +0 -2
  169. package/esm2022/lib/open-close-button/open-close-button.component.mjs +0 -114
  170. package/esm2022/lib/open-close-button/open-close-button.module.mjs +0 -22
  171. package/esm2022/lib/pipes/date-ago/date-ago.module.mjs +0 -29
  172. package/esm2022/lib/pipes/date-ago/date-ago.pipe.mjs +0 -114
  173. package/esm2022/lib/pipes/date-ago/index.mjs +0 -3
  174. package/esm2022/lib/pipes/date-ago/models/date-ago-interval.model.mjs +0 -2
  175. package/esm2022/lib/pipes/date-ago/models/date-ago-settings.model.mjs +0 -2
  176. package/esm2022/lib/pipes/date-ago/models/date-ago-settings.token.mjs +0 -2
  177. package/esm2022/lib/pipes/date-ago/models/date-ago.model.mjs +0 -2
  178. package/esm2022/lib/pipes/date-ago/models/index.mjs +0 -5
  179. package/esm2022/lib/pipes/domain-translate/domain-translate.pipe.mjs +0 -30
  180. package/esm2022/lib/pipes/domain-translate/index.mjs +0 -2
  181. package/esm2022/lib/pipes/file-size-label/enums/file-size-unit.enum.mjs +0 -8
  182. package/esm2022/lib/pipes/file-size-label/enums/index.mjs +0 -2
  183. package/esm2022/lib/pipes/file-size-label/file-size-label.pipe.mjs +0 -22
  184. package/esm2022/lib/pipes/file-size-label/index.mjs +0 -3
  185. package/esm2022/lib/pipes/filter-with-highlight/filter-with-highlight.module.mjs +0 -25
  186. package/esm2022/lib/pipes/filter-with-highlight/filter-with-highlight.pipe.mjs +0 -43
  187. package/esm2022/lib/pipes/filter-with-highlight/index.mjs +0 -3
  188. package/esm2022/lib/pipes/index.mjs +0 -13
  189. package/esm2022/lib/pipes/language-translate/index.mjs +0 -3
  190. package/esm2022/lib/pipes/language-translate/language-translate.module.mjs +0 -19
  191. package/esm2022/lib/pipes/language-translate/language-translate.pipe.mjs +0 -126
  192. package/esm2022/lib/pipes/object-length/index.mjs +0 -3
  193. package/esm2022/lib/pipes/object-length/object-length.module.mjs +0 -19
  194. package/esm2022/lib/pipes/object-length/object-length.pipe.mjs +0 -23
  195. package/esm2022/lib/pipes/sort-alphabetically/index.mjs +0 -3
  196. package/esm2022/lib/pipes/sort-alphabetically/sort-alphabetically.module.mjs +0 -19
  197. package/esm2022/lib/pipes/sort-alphabetically/sort-alphabetically.pipe.mjs +0 -21
  198. package/esm2022/lib/pipes/sort-by-number/index.mjs +0 -2
  199. package/esm2022/lib/pipes/sort-by-number/sort-by-number.pipe.mjs +0 -23
  200. package/esm2022/lib/pipes/sort-domains/index.mjs +0 -2
  201. package/esm2022/lib/pipes/sort-domains/sort-domains.pipe.mjs +0 -51
  202. package/esm2022/lib/pipes/sort-language-list/index.mjs +0 -3
  203. package/esm2022/lib/pipes/sort-language-list/models/index.mjs +0 -2
  204. package/esm2022/lib/pipes/sort-language-list/models/translated-language.model.mjs +0 -2
  205. package/esm2022/lib/pipes/sort-language-list/sort-language-list.pipe.mjs +0 -58
  206. package/esm2022/lib/pipes/sort-translations/index.mjs +0 -3
  207. package/esm2022/lib/pipes/sort-translations/sort-translations.module.mjs +0 -23
  208. package/esm2022/lib/pipes/sort-translations/sort-translations.pipe.mjs +0 -60
  209. package/esm2022/lib/pipes/sort-translations-by-property/index.mjs +0 -3
  210. package/esm2022/lib/pipes/sort-translations-by-property/sort-translations-by-property.module.mjs +0 -19
  211. package/esm2022/lib/pipes/sort-translations-by-property/sort-translations-by-property.pipe.mjs +0 -43
  212. package/esm2022/lib/plausible/index.mjs +0 -5
  213. package/esm2022/lib/plausible/models/index.mjs +0 -2
  214. package/esm2022/lib/plausible/models/plausible-event.model.mjs +0 -2
  215. package/esm2022/lib/plausible/plausible-event.directive.mjs +0 -42
  216. package/esm2022/lib/plausible/plausible.helper.mjs +0 -37
  217. package/esm2022/lib/plausible/plausible.module.mjs +0 -25
  218. package/esm2022/lib/services/alert/alert.service.mjs +0 -172
  219. package/esm2022/lib/services/alert/index.mjs +0 -4
  220. package/esm2022/lib/services/alert/injection-tokens/alert-configuration.token.mjs +0 -2
  221. package/esm2022/lib/services/alert/injection-tokens/index.mjs +0 -2
  222. package/esm2022/lib/services/alert/models/alert-configuration.model.mjs +0 -2
  223. package/esm2022/lib/services/alert/models/index.mjs +0 -2
  224. package/esm2022/lib/services/dom/dom.service.mjs +0 -21
  225. package/esm2022/lib/services/dom/index.mjs +0 -2
  226. package/esm2022/lib/services/icon/icon.service.mjs +0 -35
  227. package/esm2022/lib/services/icon/index.mjs +0 -2
  228. package/esm2022/lib/services/index.mjs +0 -7
  229. package/esm2022/lib/services/language-translate/index.mjs +0 -2
  230. package/esm2022/lib/services/language-translate/language-translate.service.mjs +0 -25
  231. package/esm2022/lib/services/notification/index.mjs +0 -3
  232. package/esm2022/lib/services/notification/models/index.mjs +0 -3
  233. package/esm2022/lib/services/notification/models/notification.model.mjs +0 -2
  234. package/esm2022/lib/services/notification/models/operations.enum.mjs +0 -6
  235. package/esm2022/lib/services/notification/notification.service.mjs +0 -35
  236. package/esm2022/lib/services/system/index.mjs +0 -2
  237. package/esm2022/lib/services/system/system.service.mjs +0 -20
  238. package/esm2022/lib/sidebar/index.mjs +0 -3
  239. package/esm2022/lib/sidebar/services/index.mjs +0 -2
  240. package/esm2022/lib/sidebar/services/sidebar.service.mjs +0 -24
  241. package/esm2022/lib/sidebar/sidebar.component.mjs +0 -30
  242. package/esm2022/lib/status-display/index.mjs +0 -4
  243. package/esm2022/lib/status-display/models/index.mjs +0 -2
  244. package/esm2022/lib/status-display/models/status-display-config.model.mjs +0 -2
  245. package/esm2022/lib/status-display/status-display.component.mjs +0 -71
  246. package/esm2022/lib/status-display/status-display.module.mjs +0 -22
  247. package/esm2022/lib/subscription/chargebee-mount.service.mjs +0 -16
  248. package/esm2022/lib/subscription/index.mjs +0 -3
  249. package/esm2022/lib/subscription/models/chargebee-settings.model.mjs +0 -2
  250. package/esm2022/lib/subscription/models/index.mjs +0 -2
  251. package/esm2022/lib/subscription/models/subscription-quota-display.model.mjs +0 -2
  252. package/esm2022/lib/subscription/models/subscription-state.enum.mjs +0 -8
  253. package/esm2022/lib/subscription/subscription.component.mjs +0 -392
  254. package/esm2022/lib/terminology/components/terminology-panel/terminology-collection-list/terminology-collection-card/terminology-collection-card.component.mjs +0 -279
  255. package/esm2022/lib/terminology/components/terminology-panel/terminology-collection-list/terminology-collection-list.component.mjs +0 -161
  256. package/esm2022/lib/terminology/components/terminology-panel/terminology-create-collection/terminology-create-collection-dialog/terminology-create-collection-dialog.component.mjs +0 -121
  257. package/esm2022/lib/terminology/components/terminology-panel/terminology-create-collection/terminology-create-collection.component.mjs +0 -72
  258. package/esm2022/lib/terminology/components/terminology-panel/terminology-panel.component.mjs +0 -151
  259. package/esm2022/lib/terminology/config/models/index.mjs +0 -2
  260. package/esm2022/lib/terminology/config/models/terminology-config.model.mjs +0 -2
  261. package/esm2022/lib/terminology/config/services/index.mjs +0 -2
  262. package/esm2022/lib/terminology/config/services/terminology-config/terminology-config.service.mjs +0 -47
  263. package/esm2022/lib/terminology/enums/combined-collection-tooltip-key.enum.mjs +0 -6
  264. package/esm2022/lib/terminology/enums/engine-term-collection-scope.enum.mjs +0 -6
  265. package/esm2022/lib/terminology/enums/engine-term-collection-source.enum.mjs +0 -6
  266. package/esm2022/lib/terminology/enums/engine-term-collection-status.enum.mjs +0 -8
  267. package/esm2022/lib/terminology/enums/engine-term-collection-sub-status.enum.mjs +0 -14
  268. package/esm2022/lib/terminology/enums/index.mjs +0 -7
  269. package/esm2022/lib/terminology/enums/mt-collection-status.enum.mjs +0 -11
  270. package/esm2022/lib/terminology/icons/collections-menu.icon.mjs +0 -18
  271. package/esm2022/lib/terminology/icons/index.mjs +0 -2
  272. package/esm2022/lib/terminology/index.mjs +0 -10
  273. package/esm2022/lib/terminology/models/active-data.model.mjs +0 -2
  274. package/esm2022/lib/terminology/models/add-engine-terms-request-params.model.mjs +0 -2
  275. package/esm2022/lib/terminology/models/combined-collection.model.mjs +0 -181
  276. package/esm2022/lib/terminology/models/default-term-collection-order-update.model.mjs +0 -2
  277. package/esm2022/lib/terminology/models/domain.model.mjs +0 -2
  278. package/esm2022/lib/terminology/models/engine-term-collection-access-scope-update.model.mjs +0 -2
  279. package/esm2022/lib/terminology/models/engine-term-collection-access-scope.model.mjs +0 -2
  280. package/esm2022/lib/terminology/models/engine-term-collection-access-update.model.mjs +0 -2
  281. package/esm2022/lib/terminology/models/engine-term-collection-access.model.mjs +0 -2
  282. package/esm2022/lib/terminology/models/engine-term-collection-list.model.mjs +0 -2
  283. package/esm2022/lib/terminology/models/engine-term-collection.model.mjs +0 -2
  284. package/esm2022/lib/terminology/models/index.mjs +0 -19
  285. package/esm2022/lib/terminology/models/lang-list-item.model.mjs +0 -2
  286. package/esm2022/lib/terminology/models/mt-collection.model.mjs +0 -2
  287. package/esm2022/lib/terminology/models/system.model.mjs +0 -2
  288. package/esm2022/lib/terminology/models/terminology-engine.model.mjs +0 -2
  289. package/esm2022/lib/terminology/models/tld-term-collection-languages.model.mjs +0 -2
  290. package/esm2022/lib/terminology/models/tld-term-collection.model.mjs +0 -2
  291. package/esm2022/lib/terminology/models/update-engine-terms-request-params.model.mjs +0 -2
  292. package/esm2022/lib/terminology/models/vendor.model.mjs +0 -2
  293. package/esm2022/lib/terminology/services/engine-term-api/engine-term-api.service.mjs +0 -48
  294. package/esm2022/lib/terminology/services/engine-term-api/index.mjs +0 -2
  295. package/esm2022/lib/terminology/services/index.mjs +0 -5
  296. package/esm2022/lib/terminology/services/system-api-v2/models/engine-deployment.model.mjs +0 -2
  297. package/esm2022/lib/terminology/services/system-api-v2/models/engine-domain-list.model.mjs +0 -2
  298. package/esm2022/lib/terminology/services/system-api-v2/models/engine-domain.model.mjs +0 -2
  299. package/esm2022/lib/terminology/services/system-api-v2/models/engine-list.model.mjs +0 -2
  300. package/esm2022/lib/terminology/services/system-api-v2/models/engine-status.enum.mjs +0 -11
  301. package/esm2022/lib/terminology/services/system-api-v2/models/engine-sub-status.enum.mjs +0 -18
  302. package/esm2022/lib/terminology/services/system-api-v2/models/engine.model.mjs +0 -2
  303. package/esm2022/lib/terminology/services/system-api-v2/models/index.mjs +0 -9
  304. package/esm2022/lib/terminology/services/system-api-v2/models/revision.model.mjs +0 -2
  305. package/esm2022/lib/terminology/services/system-api-v2/models/tilde-vendor.const.mjs +0 -2
  306. package/esm2022/lib/terminology/services/system-api-v2/models/worker-status.model.mjs +0 -2
  307. package/esm2022/lib/terminology/services/system-api-v2/system-api.service.mjs +0 -109
  308. package/esm2022/lib/terminology/services/terminology/terminology.service.mjs +0 -323
  309. package/esm2022/lib/terminology/services/terminology-api/terminology-api.service.mjs +0 -86
  310. package/esm2022/lib/terminology/services/terminology-collection/index.mjs +0 -2
  311. package/esm2022/lib/terminology/services/terminology-collection/terminology-collection.service.mjs +0 -54
  312. package/esm2022/lib/terminology/terminology.component.mjs +0 -241
  313. package/esm2022/lib/terminology/terminology.module.mjs +0 -102
  314. package/esm2022/lib/text-to-speech/index.mjs +0 -3
  315. package/esm2022/lib/text-to-speech/models/index.mjs +0 -2
  316. package/esm2022/lib/text-to-speech/models/voice.model.mjs +0 -2
  317. package/esm2022/lib/text-to-speech/services/tts-api.service.mjs +0 -18
  318. package/esm2022/lib/text-to-speech/text-to-speech.component.mjs +0 -172
  319. package/esm2022/lib/tld-loader/index.mjs +0 -3
  320. package/esm2022/lib/tld-loader/tld-loader.component.mjs +0 -16
  321. package/esm2022/lib/tld-loader/tld-loader.module.mjs +0 -21
  322. package/esm2022/lib/toast/index.mjs +0 -3
  323. package/esm2022/lib/toast/models/toast.model.mjs +0 -2
  324. package/esm2022/lib/toast/toast-service/index.mjs +0 -2
  325. package/esm2022/lib/toast/toast-service/toast-service.service.mjs +0 -42
  326. package/esm2022/lib/toast/toast.component.mjs +0 -57
  327. package/esm2022/public-api.mjs +0 -32
  328. package/esm2022/tilde-nlp-ngx-common.mjs +0 -5
@@ -1,30 +1,47 @@
1
- var b0=Object.defineProperty,cF=Object.defineProperties;var dF=Object.getOwnPropertyDescriptors;var Fc=Object.getOwnPropertySymbols;var _0=Object.prototype.hasOwnProperty,x0=Object.prototype.propertyIsEnumerable;var y0=(t,n,e)=>n in t?b0(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,x=(t,n)=>{for(var e in n||={})_0.call(n,e)&&y0(t,e,n[e]);if(Fc)for(var e of Fc(n))x0.call(n,e)&&y0(t,e,n[e]);return t},se=(t,n)=>cF(t,dF(n));var cp=(t,n)=>{var e={};for(var i in t)_0.call(t,i)&&n.indexOf(i)<0&&(e[i]=t[i]);if(t!=null&&Fc)for(var i of Fc(t))n.indexOf(i)<0&&x0.call(t,i)&&(e[i]=t[i]);return e};var f=(t,n)=>()=>(t&&(n=t(t=0)),n);var uF=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports),fF=(t,n)=>{for(var e in n)b0(t,e,{get:n[e],enumerable:!0})};var Yo=(t,n,e)=>new Promise((i,r)=>{var o=l=>{try{a(e.next(l))}catch(c){r(c)}},s=l=>{try{a(e.throw(l))}catch(c){r(c)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(o,s);a((e=e.apply(t,n)).next())});function C0(t,n){return Object.is(t,n)}function ve(t){let n=ut;return ut=t,n}function w0(){return ut}function hF(){return Oa}function hp(t){if(Oa)throw new Error("");if(ut===null)return;ut.consumerOnSignalRead(t);let n=ut.nextProducerIndex++;if(Bc(ut),n<ut.producerNode.length&&ut.producerNode[n]!==t&&Fa(ut)){let e=ut.producerNode[n];Vc(e,ut.producerIndexOfThis[n])}ut.producerNode[n]!==t&&(ut.producerNode[n]=t,ut.producerIndexOfThis[n]=Fa(ut)?M0(t,ut,n):0),ut.producerLastReadVersion[n]=t.version}function pF(){kc++}function E0(t){if(!(Fa(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===kc)){if(!t.producerMustRecompute(t)&&!Pc(t)){t.dirty=!1,t.lastCleanEpoch=kc;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=kc}}function D0(t){if(t.liveConsumerNode===void 0)return;let n=Oa;Oa=!0;try{for(let e of t.liveConsumerNode)e.dirty||S0(e)}finally{Oa=n}}function I0(){return ut?.consumerAllowSignalWrites!==!1}function S0(t){t.dirty=!0,D0(t),t.consumerMarkedDirty?.(t)}function ka(t){return t&&(t.nextProducerIndex=0),ve(t)}function Lc(t,n){if(ve(n),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Fa(t))for(let e=t.nextProducerIndex;e<t.producerNode.length;e++)Vc(t.producerNode[e],t.producerIndexOfThis[e]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Pc(t){Bc(t);for(let n=0;n<t.producerNode.length;n++){let e=t.producerNode[n],i=t.producerLastReadVersion[n];if(i!==e.version||(E0(e),i!==e.version))return!0}return!1}function jc(t){if(Bc(t),Fa(t))for(let n=0;n<t.producerNode.length;n++)Vc(t.producerNode[n],t.producerIndexOfThis[n]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function M0(t,n,e){if(A0(t),t.liveConsumerNode.length===0&&T0(t))for(let i=0;i<t.producerNode.length;i++)t.producerIndexOfThis[i]=M0(t.producerNode[i],t,i);return t.liveConsumerIndexOfThis.push(e),t.liveConsumerNode.push(n)-1}function Vc(t,n){if(A0(t),t.liveConsumerNode.length===1&&T0(t))for(let i=0;i<t.producerNode.length;i++)Vc(t.producerNode[i],t.producerIndexOfThis[i]);let e=t.liveConsumerNode.length-1;if(t.liveConsumerNode[n]=t.liveConsumerNode[e],t.liveConsumerIndexOfThis[n]=t.liveConsumerIndexOfThis[e],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,n<t.liveConsumerNode.length){let i=t.liveConsumerIndexOfThis[n],r=t.liveConsumerNode[n];Bc(r),r.producerIndexOfThis[i]=n}}function Fa(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function Bc(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function A0(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function T0(t){return t.producerNode!==void 0}function pp(t){let n=Object.create(mF);n.computation=t;let e=()=>{if(E0(n),hp(n),n.value===Nc)throw n.error;return n.value};return e[hn]=n,e}function gF(){throw new Error}function O0(){R0()}function F0(t){R0=t}function k0(t){let n=Object.create(L0);n.value=t;let e=()=>(hp(n),n.value);return e[hn]=n,e}function mp(t,n){I0()||O0(),t.equal(t.value,n)||(t.value=n,yF(t))}function N0(t,n){I0()||O0(),mp(t,n(t.value))}function yF(t){t.version++,pF(),D0(t),vF?.()}function P0(t,n,e){let i=Object.create(bF);e&&(i.consumerAllowSignalWrites=!0),i.fn=t,i.schedule=n;let r=l=>{i.cleanupFn=l};function o(l){return l.fn===null&&l.schedule===null}function s(l){o(l)||(jc(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=fp)}let a=()=>{if(i.fn===null)return;if(hF())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(i.dirty=!1,i.hasRun&&!Pc(i))return;i.hasRun=!0;let l=ka(i);try{i.cleanupFn(),i.cleanupFn=fp,i.fn(r)}finally{Lc(i,l)}};return i.ref={notify:()=>S0(i),run:a,cleanup:()=>i.cleanupFn(),destroy:()=>s(i),[hn]:i},i.ref}var ut,Oa,kc,hn,Ko,dp,up,Nc,mF,R0,vF,L0,fp,bF,j0=f(()=>{"use strict";ut=null,Oa=!1,kc=1,hn=Symbol("SIGNAL");Ko={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};dp=Symbol("UNSET"),up=Symbol("COMPUTING"),Nc=Symbol("ERRORED"),mF=se(x({},Ko),{value:dp,dirty:!0,error:null,equal:C0,producerMustRecompute(t){return t.value===dp||t.value===up},producerRecomputeValue(t){if(t.value===up)throw new Error("Detected cycle in computations.");let n=t.value;t.value=up;let e=ka(t),i;try{i=t.computation()}catch(r){i=Nc,t.error=r}finally{Lc(t,e)}if(n!==dp&&n!==Nc&&i!==Nc&&t.equal(n,i)){t.value=n;return}t.value=i,t.version++}});R0=gF;vF=null;L0=se(x({},Ko),{equal:C0,value:void 0});fp=()=>{},bF=se(x({},Ko),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:fp})});function q(t){return typeof t=="function"}var lt=f(()=>{"use strict"});function Qo(t){let e=t(i=>{Error.call(i),i.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Uc=f(()=>{"use strict"});var zc,V0=f(()=>{"use strict";Uc();zc=Qo(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:
1
+ var Ux=Object.defineProperty,PF=Object.defineProperties;var jF=Object.getOwnPropertyDescriptors;var vd=Object.getOwnPropertySymbols;var Hx=Object.prototype.hasOwnProperty,zx=Object.prototype.propertyIsEnumerable;var Bx=(t,n,e)=>n in t?Ux(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,_=(t,n)=>{for(var e in n||={})Hx.call(n,e)&&Bx(t,e,n[e]);if(vd)for(var e of vd(n))zx.call(n,e)&&Bx(t,e,n[e]);return t},ie=(t,n)=>PF(t,jF(n));var Jp=(t,n)=>{var e={};for(var i in t)Hx.call(t,i)&&n.indexOf(i)<0&&(e[i]=t[i]);if(t!=null&&vd)for(var i of vd(t))n.indexOf(i)<0&&zx.call(t,i)&&(e[i]=t[i]);return e};var f=(t,n)=>()=>(t&&(n=t(t=0)),n);var VF=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports),BF=(t,n)=>{for(var e in n)Ux(t,e,{get:n[e],enumerable:!0})};var $a=(t,n,e)=>new Promise((i,r)=>{var o=l=>{try{a(e.next(l))}catch(c){r(c)}},s=l=>{try{a(e.throw(l))}catch(c){r(c)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(o,s);a((e=e.apply(t,n)).next())});function im(t,n){return Object.is(t,n)}function fe(t){let n=lt;return lt=t,n}function om(){return lt}function Wa(t){if(bd)throw new Error("");if(lt===null)return;lt.consumerOnSignalRead(t);let n=lt.nextProducerIndex++;if(Ed(lt),n<lt.producerNode.length&&lt.producerNode[n]!==t&&Ga(lt)){let e=lt.producerNode[n];wd(e,lt.producerIndexOfThis[n])}lt.producerNode[n]!==t&&(lt.producerNode[n]=t,lt.producerIndexOfThis[n]=Ga(lt)?Gx(t,lt,n):0),lt.producerLastReadVersion[n]=t.version}function $x(){rm++}function sm(t){if(!(Ga(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===rm)){if(!t.producerMustRecompute(t)&&!xd(t)){nm(t);return}t.producerRecomputeValue(t),nm(t)}}function am(t){if(t.liveConsumerNode===void 0)return;let n=bd;bd=!0;try{for(let e of t.liveConsumerNode)e.dirty||UF(e)}finally{bd=n}}function lm(){return lt?.consumerAllowSignalWrites!==!1}function UF(t){t.dirty=!0,am(t),t.consumerMarkedDirty?.(t)}function nm(t){t.dirty=!1,t.lastCleanEpoch=rm}function qa(t){return t&&(t.nextProducerIndex=0),fe(t)}function Cd(t,n){if(fe(n),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Ga(t))for(let e=t.nextProducerIndex;e<t.producerNode.length;e++)wd(t.producerNode[e],t.producerIndexOfThis[e]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function xd(t){Ed(t);for(let n=0;n<t.producerNode.length;n++){let e=t.producerNode[n],i=t.producerLastReadVersion[n];if(i!==e.version||(sm(e),i!==e.version))return!0}return!1}function Ka(t){if(Ed(t),Ga(t))for(let n=0;n<t.producerNode.length;n++)wd(t.producerNode[n],t.producerIndexOfThis[n]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function Gx(t,n,e){if(Wx(t),t.liveConsumerNode.length===0&&qx(t))for(let i=0;i<t.producerNode.length;i++)t.producerIndexOfThis[i]=Gx(t.producerNode[i],t,i);return t.liveConsumerIndexOfThis.push(e),t.liveConsumerNode.push(n)-1}function wd(t,n){if(Wx(t),t.liveConsumerNode.length===1&&qx(t))for(let i=0;i<t.producerNode.length;i++)wd(t.producerNode[i],t.producerIndexOfThis[i]);let e=t.liveConsumerNode.length-1;if(t.liveConsumerNode[n]=t.liveConsumerNode[e],t.liveConsumerIndexOfThis[n]=t.liveConsumerIndexOfThis[e],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,n<t.liveConsumerNode.length){let i=t.liveConsumerIndexOfThis[n],r=t.liveConsumerNode[n];Ed(r),r.producerIndexOfThis[i]=n}}function Ga(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function Ed(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Wx(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function qx(t){return t.producerNode!==void 0}function Dd(t,n){let e=Object.create(HF);e.computation=t,n!==void 0&&(e.equal=n);let i=()=>{if(sm(e),Wa(e),e.value===_d)throw e.error;return e.value};return i[Ut]=e,i}function zF(){throw new Error}function Yx(t){Kx(t)}function cm(t){Kx=t}function dm(t,n){let e=Object.create(Sd);e.value=t,n!==void 0&&(e.equal=n);let i=()=>(Wa(e),e.value);return i[Ut]=e,i}function Ya(t,n){lm()||Yx(t),t.equal(t.value,n)||(t.value=n,GF(t))}function um(t,n){lm()||Yx(t),Ya(t,n(t.value))}function GF(t){t.version++,$x(),am(t),$F?.()}function fm(t){let n=fe(null);try{return t()}finally{fe(n)}}var lt,bd,rm,Ut,Zo,em,tm,_d,HF,Kx,$F,Sd,hm=f(()=>{"use strict";lt=null,bd=!1,rm=1,Ut=Symbol("SIGNAL");Zo={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};em=Symbol("UNSET"),tm=Symbol("COMPUTING"),_d=Symbol("ERRORED"),HF=ie(_({},Zo),{value:em,dirty:!0,error:null,equal:im,kind:"computed",producerMustRecompute(t){return t.value===em||t.value===tm},producerRecomputeValue(t){if(t.value===tm)throw new Error("Detected cycle in computations.");let n=t.value;t.value=tm;let e=qa(t),i,r=!1;try{i=t.computation(),fe(null),r=n!==em&&n!==_d&&i!==_d&&t.equal(n,i)}catch(o){i=_d,t.error=o}finally{Cd(t,e)}if(r){t.value=n;return}t.value=i,t.version++}});Kx=zF;$F=null;Sd=ie(_({},Zo),{equal:im,value:void 0,kind:"signal"})});function Qa(){return pm}function ui(t){let n=pm;return pm=t,n}var pm,Id,mm=f(()=>{"use strict";Id=Symbol("NotFound")});var Qx=f(()=>{"use strict";hm();});function W(t){return typeof t=="function"}var ot=f(()=>{"use strict"});function Xo(t){let e=t(i=>{Error.call(i),i.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Md=f(()=>{"use strict"});var Td,Zx=f(()=>{"use strict";Md();Td=Xo(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:
2
2
  ${e.map((i,r)=>`${r+1}) ${i.toString()}`).join(`
3
- `)}`:"",this.name="UnsubscriptionError",this.errors=e})});function Wr(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var $c=f(()=>{"use strict"});function Hc(t){return t instanceof _e||t&&"closed"in t&&q(t.remove)&&q(t.add)&&q(t.unsubscribe)}function B0(t){q(t)?t():t.unsubscribe()}var _e,gp,qr=f(()=>{"use strict";lt();V0();$c();_e=class t{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let o of e)o.remove(this);else e.remove(this);let{initialTeardown:i}=this;if(q(i))try{i()}catch(o){n=o instanceof zc?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{B0(o)}catch(s){n=n??[],s instanceof zc?n=[...n,...s.errors]:n.push(s)}}if(n)throw new zc(n)}}add(n){var e;if(n&&n!==this)if(this.closed)B0(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&Wr(e,n)}remove(n){let{_finalizers:e}=this;e&&Wr(e,n),n instanceof t&&n._removeParent(this)}};_e.EMPTY=(()=>{let t=new _e;return t.closed=!0,t})();gp=_e.EMPTY});var Sn,Na=f(()=>{"use strict";Sn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}});var Zo,vp=f(()=>{"use strict";Zo={setTimeout(t,n,...e){let{delegate:i}=Zo;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=Zo;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0}});function Gc(t){Zo.setTimeout(()=>{let{onUnhandledError:n}=Sn;if(n)n(t);else throw t})}var yp=f(()=>{"use strict";Na();vp()});function La(){}var bp=f(()=>{"use strict"});function z0(t){return _p("E",void 0,t)}function $0(t){return _p("N",t,void 0)}function _p(t,n,e){return{kind:t,value:n,error:e}}var U0,H0=f(()=>{"use strict";U0=_p("C",void 0,void 0)});function Xo(t){if(Sn.useDeprecatedSynchronousErrorHandling){let n=!Yr;if(n&&(Yr={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:i}=Yr;if(Yr=null,e)throw i}}else t()}function G0(t){Sn.useDeprecatedSynchronousErrorHandling&&Yr&&(Yr.errorThrown=!0,Yr.error=t)}var Yr,Wc=f(()=>{"use strict";Na();Yr=null});function xp(t,n){return _F.call(t,n)}function qc(t){Sn.useDeprecatedSynchronousErrorHandling?G0(t):Gc(t)}function xF(t){throw t}function Cp(t,n){let{onStoppedNotification:e}=Sn;e&&Zo.setTimeout(()=>e(t,n))}var Kr,_F,wp,fi,CF,Yc=f(()=>{"use strict";lt();qr();Na();yp();bp();H0();vp();Wc();Kr=class extends _e{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Hc(n)&&n.add(this)):this.destination=CF}static create(n,e,i){return new fi(n,e,i)}next(n){this.isStopped?Cp($0(n),this):this._next(n)}error(n){this.isStopped?Cp(z0(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Cp(U0,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},_F=Function.prototype.bind;wp=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){qc(i)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){qc(i)}else qc(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){qc(e)}}},fi=class extends Kr{constructor(n,e,i){super();let r;if(q(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&Sn.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&xp(n.next,o),error:n.error&&xp(n.error,o),complete:n.complete&&xp(n.complete,o)}):r=n}this.destination=new wp(r)}};CF={closed:!0,next:La,error:xF,complete:La}});var Jo,Kc=f(()=>{"use strict";Jo=typeof Symbol=="function"&&Symbol.observable||"@@observable"});function kt(t){return t}var Yi=f(()=>{"use strict"});function Ep(...t){return Dp(t)}function Dp(t){return t.length===0?kt:t.length===1?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}var Ip=f(()=>{"use strict";Yi()});function W0(t){var n;return(n=t??Sn.Promise)!==null&&n!==void 0?n:Promise}function wF(t){return t&&q(t.next)&&q(t.error)&&q(t.complete)}function EF(t){return t&&t instanceof Kr||wF(t)&&Hc(t)}var Z,It=f(()=>{"use strict";Yc();qr();Kc();Ip();Na();lt();Wc();Z=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,r){let o=EF(e)?e:new fi(e,i,r);return Xo(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return i=W0(i),new i((r,o)=>{let s=new fi({next:a=>{try{e(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(e){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(e)}[Jo](){return this}pipe(...e){return Dp(e)(this)}toPromise(e){return e=W0(e),new e((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return t.create=n=>new t(n),t})()});function Sp(t){return q(t?.lift)}function re(t){return n=>{if(Sp(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}var We=f(()=>{"use strict";lt()});function te(t,n,e,i,r){return new Mp(t,n,e,i,r)}var Mp,tt=f(()=>{"use strict";Yc();Mp=class extends Kr{constructor(n,e,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}}});function es(){return re((t,n)=>{let e=null;t._refCount++;let i=te(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let r=t._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}var Ap=f(()=>{"use strict";We();tt()});var Qr,q0=f(()=>{"use strict";It();qr();Ap();tt();We();Qr=class extends Z{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Sp(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new _e;let e=this.getSubject();n.add(this.source.subscribe(te(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=_e.EMPTY)}return n}refCount(){return es()(this)}}});var Y0,K0=f(()=>{"use strict";Uc();Y0=Qo(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"})});var R,Qc,Pa=f(()=>{"use strict";It();qr();K0();$c();Wc();R=(()=>{class t extends Z{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let i=new Qc(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new Y0}next(e){Xo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(e)}})}error(e){Xo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){Xo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:i,isStopped:r,observers:o}=this;return i||r?gp:(this.currentObservers=null,o.push(e),new _e(()=>{this.currentObservers=null,Wr(o,e)}))}_checkFinalizedStatuses(e){let{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){let e=new Z;return e.source=this,e}}return t.create=(n,e)=>new Qc(n,e),t})(),Qc=class extends R{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.next)===null||i===void 0||i.call(e,n)}error(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.error)===null||i===void 0||i.call(e,n)}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n)}_subscribe(n){var e,i;return(i=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&i!==void 0?i:gp}}});var it,Q0=f(()=>{"use strict";Pa();it=class extends R{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){let{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}});var ja,Tp=f(()=>{"use strict";ja={now(){return(ja.delegate||Date).now()},delegate:void 0}});var Zr,Rp=f(()=>{"use strict";Pa();Tp();Zr=class extends R{constructor(n=1/0,e=1/0,i=ja){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){let{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;e||(i.push(n),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;s<o.length&&!n.closed;s+=i?1:2)n.next(o[s]);return this._checkFinalizedStatuses(n),e}_trimBuffer(){let{_bufferSize:n,_timestampProvider:e,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*n;if(n<1/0&&o<i.length&&i.splice(0,i.length-o),!r){let s=e.now(),a=0;for(let l=1;l<i.length&&i[l]<=s;l+=2)a=l;a&&i.splice(0,a+1)}}}});var Zc,Z0=f(()=>{"use strict";qr();Zc=class extends _e{constructor(n,e){super()}schedule(n,e=0){return this}}});var Va,X0=f(()=>{"use strict";Va={setInterval(t,n,...e){let{delegate:i}=Va;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){let{delegate:n}=Va;return(n?.clearInterval||clearInterval)(t)},delegate:void 0}});var Xc,J0=f(()=>{"use strict";Z0();X0();$c();Xc=class extends Zc{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;let r=this.id,o=this.scheduler;return r!=null&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(o,this.id,e),this}requestAsyncId(n,e,i=0){return Va.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(i!=null&&this.delay===i&&this.pending===!1)return e;e!=null&&Va.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let i=this._execute(n,e);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let i=!1,r;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){let{id:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,Wr(i,this),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}}});var ts,ex=f(()=>{"use strict";Tp();ts=class t{constructor(n,e=t.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}};ts.now=ja.now});var Jc,tx=f(()=>{"use strict";ex();Jc=class extends ts{constructor(n,e=ts.now){super(n,e),this.actions=[],this._active=!1}flush(n){let{actions:e}=this;if(this._active){e.push(n);return}let i;this._active=!0;do if(i=n.execute(n.state,n.delay))break;while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}}});var Ba,nx,ed=f(()=>{"use strict";J0();tx();Ba=new Jc(Xc),nx=Ba});var Nt,Ua=f(()=>{"use strict";It();Nt=new Z(t=>t.complete())});function td(t){return t&&q(t.schedule)}var Op=f(()=>{"use strict";lt()});function Fp(t){return t[t.length-1]}function nd(t){return q(Fp(t))?t.pop():void 0}function zn(t){return td(Fp(t))?t.pop():void 0}function ix(t,n){return typeof Fp(t)=="number"?t.pop():n}var Xr=f(()=>{"use strict";lt();Op()});function ox(t,n,e,i){function r(o){return o instanceof e?o:new e(function(s){s(o)})}return new(e||(e=Promise))(function(o,s){function a(d){try{c(i.next(d))}catch(u){s(u)}}function l(d){try{c(i.throw(d))}catch(u){s(u)}}function c(d){d.done?o(d.value):r(d.value).then(a,l)}c((i=i.apply(t,n||[])).next())})}function rx(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Jr(t){return this instanceof Jr?(this.v=t,this):new Jr(t)}function sx(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e.apply(t,n||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),r[Symbol.asyncIterator]=function(){return this},r;function s(h){return function(v){return Promise.resolve(v).then(h,u)}}function a(h,v){i[h]&&(r[h]=function(b){return new Promise(function(E,S){o.push([h,b,E,S])>1||l(h,b)})},v&&(r[h]=v(r[h])))}function l(h,v){try{c(i[h](v))}catch(b){m(o[0][3],b)}}function c(h){h.value instanceof Jr?Promise.resolve(h.value.v).then(d,u):m(o[0][2],h)}function d(h){l("next",h)}function u(h){l("throw",h)}function m(h,v){h(v),o.shift(),o.length&&l(o[0][0],o[0][1])}}function ax(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof rx=="function"?rx(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=t[o]&&function(s){return new Promise(function(a,l){s=t[o](s),r(a,l,s.done,s.value)})}}function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}}var kp=f(()=>{"use strict"});var ns,id=f(()=>{"use strict";ns=t=>t&&typeof t.length=="number"&&typeof t!="function"});function rd(t){return q(t?.then)}var Np=f(()=>{"use strict";lt()});function od(t){return q(t[Jo])}var Lp=f(()=>{"use strict";Kc();lt()});function sd(t){return Symbol.asyncIterator&&q(t?.[Symbol.asyncIterator])}var Pp=f(()=>{"use strict";lt()});function ad(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}var jp=f(()=>{"use strict"});function DF(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ld,Vp=f(()=>{"use strict";ld=DF()});function cd(t){return q(t?.[ld])}var Bp=f(()=>{"use strict";Vp();lt()});function dd(t){return sx(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:i,done:r}=yield Jr(e.read());if(r)return yield Jr(void 0);yield yield Jr(i)}}finally{e.releaseLock()}})}function ud(t){return q(t?.getReader)}var fd=f(()=>{"use strict";kp();lt()});function ke(t){if(t instanceof Z)return t;if(t!=null){if(od(t))return IF(t);if(ns(t))return SF(t);if(rd(t))return MF(t);if(sd(t))return lx(t);if(cd(t))return AF(t);if(ud(t))return TF(t)}throw ad(t)}function IF(t){return new Z(n=>{let e=t[Jo]();if(q(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function SF(t){return new Z(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function MF(t){return new Z(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,Gc)})}function AF(t){return new Z(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function lx(t){return new Z(n=>{RF(t,n).catch(e=>n.error(e))})}function TF(t){return lx(dd(t))}function RF(t,n){var e,i,r,o;return ox(this,void 0,void 0,function*(){try{for(e=ax(t);i=yield e.next(),!i.done;){let s=i.value;if(n.next(s),n.closed)return}}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}n.complete()})}var Lt=f(()=>{"use strict";kp();id();Np();It();Lp();Pp();jp();Bp();fd();lt();yp();Kc()});function zt(t,n,e,i=0,r=!1){let o=n.schedule(function(){e(),r?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(o),!r)return o}var is=f(()=>{"use strict"});function hd(t,n=0){return re((e,i)=>{e.subscribe(te(i,r=>zt(i,t,()=>i.next(r),n),()=>zt(i,t,()=>i.complete(),n),r=>zt(i,t,()=>i.error(r),n)))})}var Up=f(()=>{"use strict";is();We();tt()});function pd(t,n=0){return re((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}var zp=f(()=>{"use strict";We()});function cx(t,n){return ke(t).pipe(pd(n),hd(n))}var dx=f(()=>{"use strict";Lt();Up();zp()});function ux(t,n){return ke(t).pipe(pd(n),hd(n))}var fx=f(()=>{"use strict";Lt();Up();zp()});function hx(t,n){return new Z(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}var px=f(()=>{"use strict";It()});function mx(t,n){return new Z(e=>{let i;return zt(e,n,()=>{i=t[ld](),zt(e,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){e.error(s);return}o?e.complete():e.next(r)},0,!0)}),()=>q(i?.return)&&i.return()})}var gx=f(()=>{"use strict";It();Vp();lt();is()});function md(t,n){if(!t)throw new Error("Iterable cannot be null");return new Z(e=>{zt(e,n,()=>{let i=t[Symbol.asyncIterator]();zt(e,n,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}var $p=f(()=>{"use strict";It();is()});function vx(t,n){return md(dd(t),n)}var yx=f(()=>{"use strict";$p();fd()});function bx(t,n){if(t!=null){if(od(t))return cx(t,n);if(ns(t))return hx(t,n);if(rd(t))return ux(t,n);if(sd(t))return md(t,n);if(cd(t))return mx(t,n);if(ud(t))return vx(t,n)}throw ad(t)}var _x=f(()=>{"use strict";dx();fx();px();gx();$p();Lp();Np();id();Bp();Pp();jp();fd();yx()});function Ne(t,n){return n?bx(t,n):ke(t)}var rs=f(()=>{"use strict";_x();Lt()});function O(...t){let n=zn(t);return Ne(t,n)}var xx=f(()=>{"use strict";Xr();rs()});function Ki(t,n){let e=q(t)?t:()=>t,i=r=>r.error(e());return new Z(n?r=>n.schedule(i,0,r):i)}var Cx=f(()=>{"use strict";It();lt()});function pn(t){return!!t&&(t instanceof Z||q(t.lift)&&q(t.subscribe))}var wx=f(()=>{"use strict";It();lt()});var hi,za=f(()=>{"use strict";Uc();hi=Qo(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"})});function Ex(t){return t instanceof Date&&!isNaN(t)}var Dx=f(()=>{"use strict"});function k(t,n){return re((e,i)=>{let r=0;e.subscribe(te(i,o=>{i.next(t.call(n,o,r++))}))})}var os=f(()=>{"use strict";We();tt()});function FF(t,n){return OF(n)?t(...n):t(n)}function ss(t){return k(n=>FF(t,n))}var OF,gd=f(()=>{"use strict";os();({isArray:OF}=Array)});function vd(t){if(t.length===1){let n=t[0];if(kF(n))return{args:n,keys:null};if(jF(n)){let e=PF(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}function jF(t){return t&&typeof t=="object"&&NF(t)===LF}var kF,NF,LF,PF,Hp=f(()=>{"use strict";({isArray:kF}=Array),{getPrototypeOf:NF,prototype:LF,keys:PF}=Object});function yd(t,n){return t.reduce((e,i,r)=>(e[i]=n[r],e),{})}var Gp=f(()=>{"use strict"});function eo(...t){let n=zn(t),e=nd(t),{args:i,keys:r}=vd(t);if(i.length===0)return Ne([],n);let o=new Z(VF(i,n,r?s=>yd(r,s):kt));return e?o.pipe(ss(e)):o}function VF(t,n,e=kt){return i=>{Ix(n,()=>{let{length:r}=t,o=new Array(r),s=r,a=r;for(let l=0;l<r;l++)Ix(n,()=>{let c=Ne(t[l],n),d=!1;c.subscribe(te(i,u=>{o[l]=u,d||(d=!0,a--),a||i.next(e(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}function Ix(t,n,e){t?zt(e,t,n):n()}var Sx=f(()=>{"use strict";It();Hp();rs();Yi();gd();Xr();Gp();tt();is()});function Mx(t,n,e,i,r,o,s,a){let l=[],c=0,d=0,u=!1,m=()=>{u&&!l.length&&!c&&n.complete()},h=b=>c<i?v(b):l.push(b),v=b=>{o&&n.next(b),c++;let E=!1;ke(e(b,d++)).subscribe(te(n,S=>{r?.(S),o?h(S):n.next(S)},()=>{E=!0},void 0,()=>{if(E)try{for(c--;l.length&&c<i;){let S=l.shift();s?zt(n,s,()=>v(S)):v(S)}m()}catch(S){n.error(S)}}))};return t.subscribe(te(n,h,()=>{u=!0,m()})),()=>{a?.()}}var Ax=f(()=>{"use strict";Lt();is();tt()});function He(t,n,e=1/0){return q(n)?He((i,r)=>k((o,s)=>n(i,o,r,s))(ke(t(i,r))),e):(typeof n=="number"&&(e=n),re((i,r)=>Mx(i,r,t,e)))}var as=f(()=>{"use strict";os();Lt();We();Ax();lt()});function Qi(t=1/0){return He(kt,t)}var bd=f(()=>{"use strict";as();Yi()});function Tx(){return Qi(1)}var Rx=f(()=>{"use strict";bd()});function Mn(...t){return Tx()(Ne(t,zn(t)))}var Wp=f(()=>{"use strict";Rx();Xr();rs()});function Kt(t){return new Z(n=>{ke(t()).subscribe(n)})}var Ox=f(()=>{"use strict";It();Lt()});function to(...t){let n=nd(t),{args:e,keys:i}=vd(t),r=new Z(o=>{let{length:s}=e;if(!s){o.complete();return}let a=new Array(s),l=s,c=s;for(let d=0;d<s;d++){let u=!1;ke(e[d]).subscribe(te(o,m=>{u||(u=!0,c--),a[d]=m},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(i?yd(i,a):a),o.complete())}))}});return n?r.pipe(ss(n)):r}var Fx=f(()=>{"use strict";It();Hp();Lt();Xr();tt();gd();Gp()});function pi(t,n,e,i){if(q(e)&&(i=e,e=void 0),i)return pi(t,n,e).pipe(ss(i));let[r,o]=GF(t)?UF.map(s=>a=>t[s](n,a,e)):$F(t)?BF.map(kx(t,n)):HF(t)?zF.map(kx(t,n)):[];if(!r&&ns(t))return He(s=>pi(s,n,e))(ke(t));if(!r)throw new TypeError("Invalid event target");return new Z(s=>{let a=(...l)=>s.next(1<l.length?l:l[0]);return r(a),()=>o(a)})}function kx(t,n){return e=>i=>t[e](n,i)}function $F(t){return q(t.addListener)&&q(t.removeListener)}function HF(t){return q(t.on)&&q(t.off)}function GF(t){return q(t.addEventListener)&&q(t.removeEventListener)}var BF,UF,zF,Nx=f(()=>{"use strict";Lt();It();as();id();lt();gd();BF=["addListener","removeListener"],UF=["addEventListener","removeEventListener"],zF=["on","off"]});function Lx(t=0,n,e=nx){let i=-1;return n!=null&&(td(n)?e=n:i=n),new Z(r=>{let o=Ex(t)?+t-e.now():t;o<0&&(o=0);let s=0;return e.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}var Px=f(()=>{"use strict";It();ed();Op();Dx()});function St(...t){let n=zn(t),e=ix(t,1/0),i=t;return i.length?i.length===1?ke(i[0]):Qi(e)(Ne(i,n)):Nt}var jx=f(()=>{"use strict";bd();Lt();Ua();Xr();rs()});function xe(t,n){return re((e,i)=>{let r=0;e.subscribe(te(i,o=>t.call(n,o,r++)&&i.next(o)))})}var $a=f(()=>{"use strict";We();tt()});var Vx=f(()=>{"use strict"});function Bx(t){return re((n,e)=>{let i=!1,r=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;let c=r;r=null,e.next(c)}s&&e.complete()},l=()=>{o=null,s&&e.complete()};n.subscribe(te(e,c=>{i=!0,r=c,o||ke(t(c)).subscribe(o=te(e,a,l))},()=>{s=!0,(!i||!o||o.closed)&&e.complete()}))})}var Ux=f(()=>{"use strict";We();Lt();tt()});function _d(t,n=Ba){return Bx(()=>Lx(t,n))}var zx=f(()=>{"use strict";ed();Ux();Px()});function Qt(t){return re((n,e)=>{let i=null,r=!1,o;i=n.subscribe(te(e,void 0,void 0,s=>{o=ke(t(s,Qt(t)(n))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}var qp=f(()=>{"use strict";Lt();tt();We()});function $x(t,n,e,i,r){return(o,s)=>{let a=e,l=n,c=0;o.subscribe(te(s,d=>{let u=c++;l=a?t(l,d,u):(a=!0,d),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}var Hx=f(()=>{"use strict";tt()});function An(t,n){return q(n)?He(t,n,1):He(t,1)}var Gx=f(()=>{"use strict";as();lt()});function mi(t,n=Ba){return re((e,i)=>{let r=null,o=null,s=null,a=()=>{if(r){r.unsubscribe(),r=null;let c=o;o=null,i.next(c)}};function l(){let c=s+t,d=n.now();if(d<c){r=this.schedule(void 0,c-d),i.add(r);return}a()}e.subscribe(te(i,c=>{o=c,s=n.now(),r||(r=n.schedule(l,t),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}var Yp=f(()=>{"use strict";ed();We();tt()});function Zi(t){return re((n,e)=>{let i=!1;n.subscribe(te(e,r=>{i=!0,e.next(r)},()=>{i||e.next(t),e.complete()}))})}var xd=f(()=>{"use strict";We();tt()});function Ue(t){return t<=0?()=>Nt:re((n,e)=>{let i=0;n.subscribe(te(e,r=>{++i<=t&&(e.next(r),t<=i&&e.complete())}))})}var Kp=f(()=>{"use strict";Ua();We();tt()});function Qp(t){return k(()=>t)}var Wx=f(()=>{"use strict";os()});function no(t,n=kt){return t=t??WF,re((e,i)=>{let r,o=!0;e.subscribe(te(i,s=>{let a=n(s);(o||!t(r,a))&&(o=!1,r=a,i.next(s))}))})}function WF(t,n){return t===n}var qx=f(()=>{"use strict";Yi();We();tt()});function Cd(t=qF){return re((n,e)=>{let i=!1;n.subscribe(te(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(t())))})}function qF(){return new hi}var Zp=f(()=>{"use strict";za();We();tt()});function $t(t){return re((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}var Xp=f(()=>{"use strict";We()});function $n(t,n){let e=arguments.length>=2;return i=>i.pipe(t?xe((r,o)=>t(r,o,i)):kt,Ue(1),e?Zi(n):Cd(()=>new hi))}var Yx=f(()=>{"use strict";za();$a();Kp();xd();Zp();Yi()});function ls(t){return t<=0?()=>Nt:re((n,e)=>{let i=[];n.subscribe(te(e,r=>{i.push(r),t<i.length&&i.shift()},()=>{for(let r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}var Jp=f(()=>{"use strict";Ua();We();tt()});function em(t,n){let e=arguments.length>=2;return i=>i.pipe(t?xe((r,o)=>t(r,o,i)):kt,ls(1),e?Zi(n):Cd(()=>new hi))}var Kx=f(()=>{"use strict";za();$a();Jp();Zp();xd();Yi()});function tm(t,n){return re($x(t,n,arguments.length>=2,!0))}var Qx=f(()=>{"use strict";We();Hx()});function Ha(t={}){let{connector:n=()=>new R,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return o=>{let s,a,l,c=0,d=!1,u=!1,m=()=>{a?.unsubscribe(),a=void 0},h=()=>{m(),s=l=void 0,d=u=!1},v=()=>{let b=s;h(),b?.unsubscribe()};return re((b,E)=>{c++,!u&&!d&&m();let S=l=l??n();E.add(()=>{c--,c===0&&!u&&!d&&(a=nm(v,r))}),S.subscribe(E),!s&&c>0&&(s=new fi({next:B=>S.next(B),error:B=>{u=!0,m(),a=nm(h,e,B),S.error(B)},complete:()=>{d=!0,m(),a=nm(h,i),S.complete()}}),ke(b).subscribe(s))})(o)}}function nm(t,n,...e){if(n===!0){t();return}if(n===!1)return;let i=new fi({next:()=>{i.unsubscribe(),t()}});return ke(n(...e)).subscribe(i)}var im=f(()=>{"use strict";Lt();Pa();Yc();We()});function io(t,n,e){let i,r=!1;return t&&typeof t=="object"?{bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:e}=t:i=t??1/0,Ha({connector:()=>new Zr(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}var Zx=f(()=>{"use strict";Rp();im()});function Ga(t){return xe((n,e)=>t<=e)}var Xx=f(()=>{"use strict";$a()});function Zt(...t){let n=zn(t);return re((e,i)=>{(n?Mn(t,e,n):Mn(t,e)).subscribe(i)})}var Jx=f(()=>{"use strict";Wp();Xr();We()});function qe(t,n){return re((e,i)=>{let r=null,o=0,s=!1,a=()=>s&&!r&&i.complete();e.subscribe(te(i,l=>{r?.unsubscribe();let c=0,d=o++;ke(t(l,d)).subscribe(r=te(i,u=>i.next(n?n(l,u,d,c++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}var eC=f(()=>{"use strict";Lt();We();tt()});function fe(t){return re((n,e)=>{ke(t).subscribe(te(e,()=>e.complete(),La)),!e.closed&&n.subscribe(e)})}var rm=f(()=>{"use strict";We();tt();Lt();bp()});function om(t,n=!1){return re((e,i)=>{let r=0;e.subscribe(te(i,o=>{let s=t(o,r++);(s||n)&&i.next(o),!s&&i.complete()}))})}var tC=f(()=>{"use strict";We();tt()});function Le(t,n,e){let i=q(t)||n||e?{next:t,error:n,complete:e}:t;return i?re((r,o)=>{var s;(s=i.subscribe)===null||s===void 0||s.call(i);let a=!0;r.subscribe(te(o,l=>{var c;(c=i.next)===null||c===void 0||c.call(i,l),o.next(l)},()=>{var l;a=!1,(l=i.complete)===null||l===void 0||l.call(i),o.complete()},l=>{var c;a=!1,(c=i.error)===null||c===void 0||c.call(i,l),o.error(l)},()=>{var l,c;a&&((l=i.unsubscribe)===null||l===void 0||l.call(i)),(c=i.finalize)===null||c===void 0||c.call(i)}))}):kt}var sm=f(()=>{"use strict";lt();We();tt();Yi()});var Re=f(()=>{"use strict";It();q0();Pa();Q0();Rp();qr();Ip();wx();za();Sx();Wp();Ox();Fx();rs();Nx();jx();xx();Cx();Ua();Vx();qp();Yp();Xp();os();as();rm();sm()});var ct=f(()=>{"use strict";zx();qp();Gx();Yp();xd();qx();$a();Xp();Yx();Kx();os();Wx();bd();as();Ap();Qx();im();Zx();Xx();Jx();eC();Kp();Jp();rm();tC();sm()});function cu(t,n){return`${`NG0${Math.abs(t)}`}${n?": "+n:""}`}function il(t){return{toString:t}.toString()}function YF(t){return function(...e){if(t){let i=t(...e);for(let r in i)this[r]=i[r]}}}function qC(t,n,e){return il(()=>{let i=YF(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;let s=new r(...o);return a.annotation=s,a;function a(l,c,d){let u=l.hasOwnProperty(wd)?l[wd]:Object.defineProperty(l,wd,{value:[]})[wd];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}function je(t){for(let n in t)if(t[n]===je)return n;throw Error("Could not find renamed property on target object.")}function KF(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function jt(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(jt).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let n=t.toString();if(n==null)return""+n;let e=n.indexOf(`
4
- `);return e===-1?n:n.substring(0,e)}function _m(t,n){return t==null||t===""?n===null?"":n:n==null||n===""?t:t+" "+n}function lr(t){return t.__forward_ref__=lr,t.toString=function(){return jt(this())},t}function xt(t){return YC(t)?t():t}function YC(t){return typeof t=="function"&&t.hasOwnProperty(QF)&&t.__forward_ref__===lr}function _(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function N(t){return{providers:t.providers||[],imports:t.imports||[]}}function du(t){return nC(t,QC)||nC(t,ZC)}function KC(t){return du(t)!==null}function nC(t,n){return t.hasOwnProperty(n)?t[n]:null}function ZF(t){let n=t&&(t[QC]||t[ZC]);return n||null}function iC(t){return t&&(t.hasOwnProperty(rC)||t.hasOwnProperty(XF))?t[rC]:null}function XC(t){return t&&!!t.\u0275providers}function oo(t){return typeof t=="string"?t:t==null?"":String(t)}function ik(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():oo(t)}function rk(t,n){let e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new A(-200,t)}function Rg(t,n){throw new A(-201,!1)}function JC(){return xm}function Ht(t){let n=xm;return xm=t,n}function ew(t,n,e){let i=du(t);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(e&he.Optional)return null;if(n!==void 0)return n;Rg(t,"Injector")}function ck(){return hs}function Xi(t){let n=hs;return hs=t,n}function dk(t,n=he.Default){if(hs===void 0)throw new A(-203,!1);return hs===null?ew(t,void 0,n):hs.get(t,n&he.Optional?null:void 0,n)}function g(t,n=he.Default){return(JC()||dk)(xt(t),n)}function y(t,n=he.Default){return g(t,uu(n))}function uu(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function wm(t){let n=[];for(let e=0;e<t.length;e++){let i=xt(t[e]);if(Array.isArray(i)){if(i.length===0)throw new A(900,!1);let r,o=he.Default;for(let s=0;s<i.length;s++){let a=i[s],l=uk(a);typeof l=="number"?l===-1?r=a.token:o|=l:r=a}n.push(g(r,o))}else n.push(g(i))}return n}function tw(t,n){return t[Cm]=n,t.prototype[Cm]=n,t}function uk(t){return t[Cm]}function fk(t,n,e,i){let r=t[jd];throw n[sC]&&r.unshift(n[sC]),t.message=hk(`
5
- `+t.message,r,e,i),t[sk]=r,t[jd]=null,t}function hk(t,n,e,i=null){t=t&&t.charAt(0)===`
6
- `&&t.charAt(1)==lk?t.slice(2):t;let r=jt(n);if(Array.isArray(n))r=n.map(jt).join(" -> ");else if(typeof n=="object"){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):jt(a)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${t.replace(ak,`
7
- `)}`}function so(t,n){let e=t.hasOwnProperty(Pd);return e?t[Pd]:null}function pk(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let r=t[i],o=n[i];if(e&&(r=e(r),o=e(o)),o!==r)return!1}return!0}function mk(t){return t.flat(Number.POSITIVE_INFINITY)}function Og(t,n){t.forEach(e=>Array.isArray(e)?Og(e,n):n(e))}function nw(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function Vd(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function gk(t,n){let e=[];for(let i=0;i<t;i++)e.push(n);return e}function vk(t,n,e,i){let r=t.length;if(r==n)t.push(e,i);else if(r===1)t.push(i,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>n;){let o=r-2;t[r]=t[o],r--}t[n]=e,t[n+1]=i}}function hu(t,n,e){let i=ol(t,n);return i>=0?t[i|1]=e:(i=~i,vk(t,i,n,e)),i}function am(t,n){let e=ol(t,n);if(e>=0)return t[e|1]}function ol(t,n){return yk(t,n,1)}function yk(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){let o=i+(r-i>>1),s=t[o<<e];if(n===s)return o<<e;s>n?r=o:i=o+1}return~(r<<e)}function bk(t,n,e){let i=t.length;for(;;){let r=t.indexOf(n,e);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let o=n.length;if(r+o===i||t.charCodeAt(r+o)<=32)return r}e=r+1}}function Em(t,n,e){let i=0;for(;i<e.length;){let r=e[i];if(typeof r=="number"){if(r!==0)break;i++;let o=e[i++],s=e[i++],a=e[i++];t.setAttribute(n,s,a,o)}else{let o=r,s=e[++i];_k(o)?t.setProperty(n,o,s):t.setAttribute(n,o,s),i++}}return i}function sw(t){return t===3||t===4||t===6}function _k(t){return t.charCodeAt(0)===64}function Qa(t,n){if(!(n===null||n.length===0))if(t===null||t.length===0)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){let r=n[i];typeof r=="number"?e=r:e===0||(e===-1||e===2?aC(t,e,r,null,n[++i]):aC(t,e,r,null,null))}}return t}function aC(t,n,e,i,r){let o=0,s=t.length;if(n===-1)s=-1;else for(;o<t.length;){let a=t[o++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=o-1;break}}}for(;o<t.length;){let a=t[o];if(typeof a=="number")break;if(a===e){if(i===null){r!==null&&(t[o+1]=r);return}else if(i===t[o+1]){t[o+2]=r;return}}o++,i!==null&&o++,r!==null&&o++}s!==-1&&(t.splice(s,0,n),o=s+1),t.splice(o++,0,e),i!==null&&t.splice(o++,0,i),r!==null&&t.splice(o++,0,r)}function xk(t,n,e,i){let r=0;if(i){for(;r<n.length&&typeof n[r]=="string";r+=2)if(n[r]==="class"&&bk(n[r+1].toLowerCase(),e,0)!==-1)return!0}else if(Fg(t))return!1;if(r=n.indexOf(1,r),r>-1){let o;for(;++r<n.length&&typeof(o=n[r])=="string";)if(o.toLowerCase()===e)return!0}return!1}function Fg(t){return t.type===4&&t.value!==aw}function Ck(t,n,e){let i=t.type===4&&!e?aw:t.value;return n===i}function wk(t,n,e){let i=4,r=t.attrs,o=r!==null?Ik(r):0,s=!1;for(let a=0;a<n.length;a++){let l=n[a];if(typeof l=="number"){if(!s&&!Tn(i)&&!Tn(l))return!1;if(s&&Tn(l))continue;s=!1,i=l|i&1;continue}if(!s)if(i&4){if(i=2|i&1,l!==""&&!Ck(t,l,e)||l===""&&n.length===1){if(Tn(i))return!1;s=!0}}else if(i&8){if(r===null||!xk(t,r,l,e)){if(Tn(i))return!1;s=!0}}else{let c=n[++a],d=Ek(l,r,Fg(t),e);if(d===-1){if(Tn(i))return!1;s=!0;continue}if(c!==""){let u;if(d>o?u="":u=r[d+1].toLowerCase(),i&2&&c!==u){if(Tn(i))return!1;s=!0}}}}return Tn(i)||s}function Tn(t){return(t&1)===0}function Ek(t,n,e,i){if(n===null)return-1;let r=0;if(i||!e){let o=!1;for(;r<n.length;){let s=n[r];if(s===t)return r;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=n[++r];for(;typeof a=="string";)a=n[++r];continue}else{if(s===4)break;if(s===0){r+=4;continue}}r+=o?1:2}return-1}else return Sk(n,t)}function lw(t,n,e=!1){for(let i=0;i<n.length;i++)if(wk(t,n[i],e))return!0;return!1}function Dk(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if(!(e&1))return n[e+1]}return null}function Ik(t){for(let n=0;n<t.length;n++){let e=t[n];if(sw(e))return n}return t.length}function Sk(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let i=t[e];if(typeof i=="number")return-1;if(i===n)return e;e++}return-1}function Mk(t,n){e:for(let e=0;e<n.length;e++){let i=n[e];if(t.length===i.length){for(let r=0;r<t.length;r++)if(t[r]!==i[r])continue e;return!0}}return!1}function lC(t,n){return t?":not("+n.trim()+")":n}function Ak(t){let n=t[0],e=1,i=2,r="",o=!1;for(;e<t.length;){let s=t[e];if(typeof s=="string")if(i&2){let a=t[++e];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else i&8?r+="."+s:i&4&&(r+=" "+s);else r!==""&&!Tn(s)&&(n+=lC(o,r),r=""),i=s,o=o||!Tn(i);e++}return r!==""&&(n+=lC(o,r)),n}function Tk(t){return t.map(Ak).join(",")}function Rk(t){let n=[],e=[],i=1,r=2;for(;i<t.length;){let o=t[i];if(typeof o=="string")r===2?o!==""&&n.push(o,t[++i]):r===8&&e.push(o);else{if(!Tn(r))break;r=o}i++}return{attrs:n,classes:e}}function Y(t){return il(()=>{let n=fw(t),e=se(x({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===ow.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Wn.Emulated,styles:t.styles||Pt,_:null,schemas:t.schemas||null,tView:null,id:""});hw(e);let i=t.dependencies;return e.directiveDefs=dC(i,!1),e.pipeDefs=dC(i,!0),e.id=kk(e),e})}function Ok(t){return nr(t)||kg(t)}function Fk(t){return t!==null}function L(t){return il(()=>({type:t.type,bootstrap:t.bootstrap||Pt,declarations:t.declarations||Pt,imports:t.imports||Pt,exports:t.exports||Pt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function cC(t,n){if(t==null)return gi;let e={};for(let i in t)if(t.hasOwnProperty(i)){let r=t[i],o,s,a=tr.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(e[o]=a!==tr.None?[i,a]:i,n[o]=s):e[o]=i}return e}function V(t){return il(()=>{let n=fw(t);return hw(n),n})}function Is(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function nr(t){return t[JF]||null}function kg(t){return t[ek]||null}function cw(t){return t[tk]||null}function dw(t){let n=nr(t)||kg(t)||cw(t);return n!==null?n.standalone:!1}function uw(t,n){let e=t[nk]||null;if(!e&&n===!0)throw new Error(`Type ${jt(t)} does not have '\u0275mod' property.`);return e}function fw(t){let n={};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:n,inputTransforms:null,inputConfig:t.inputs||gi,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Pt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:cC(t.inputs,n),outputs:cC(t.outputs),debugInfo:null}}function hw(t){t.features?.forEach(n=>n(t))}function dC(t,n){if(!t)return null;let e=n?cw:Ok;return()=>(typeof t=="function"?t():t).map(i=>e(i)).filter(Fk)}function kk(t){let n=0,e=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,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].join("|");for(let r of e)n=Math.imul(31,n)+r.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function sl(t){return{\u0275providers:t}}function Ng(...t){return{\u0275providers:pw(!0,t),\u0275fromNgModule:!0}}function pw(t,...n){let e=[],i=new Set,r,o=s=>{e.push(s)};return Og(n,s=>{let a=s;Dm(a,o,[],i)&&(r||=[],r.push(a))}),r!==void 0&&mw(r,o),e}function mw(t,n){for(let e=0;e<t.length;e++){let{ngModule:i,providers:r}=t[e];Lg(r,o=>{n(o,i)})}}function Dm(t,n,e,i){if(t=xt(t),!t)return!1;let r=null,o=iC(t),s=!o&&nr(t);if(!o&&!s){let l=t.ngModule;if(o=iC(l),o)r=l;else return!1}else{if(s&&!s.standalone)return!1;r=t}let a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)Dm(c,n,e,i)}}else if(o){if(o.imports!=null&&!a){i.add(r);let c;try{Og(o.imports,d=>{Dm(d,n,e,i)&&(c||=[],c.push(d))})}finally{}c!==void 0&&mw(c,n)}if(!a){let c=so(r)||(()=>new r);n({provide:r,useFactory:c,deps:Pt},r),n({provide:rw,useValue:r,multi:!0},r),n({provide:ms,useValue:()=>g(r),multi:!0},r)}let l=o.providers;if(l!=null&&!a){let c=t;Lg(l,d=>{n(d,c)})}}else return!1;return r!==t&&t.providers!==void 0}function Lg(t,n){for(let e of t)XC(e)&&(e=e.\u0275providers),Array.isArray(e)?Lg(e,n):n(e)}function gw(t){return t!==null&&typeof t=="object"&&Nk in t}function Lk(t){return!!(t&&t.useExisting)}function Pk(t){return!!(t&&t.useFactory)}function gs(t){return typeof t=="function"}function jk(t){return!!t.useClass}function Pg(){return lm===void 0&&(lm=new Bd),lm}function Im(t){let n=du(t),e=n!==null?n.factory:so(t);if(e!==null)return e;if(t instanceof C)throw new A(204,!1);if(t instanceof Function)return Bk(t);throw new A(204,!1)}function Bk(t){if(t.length>0)throw new A(204,!1);let e=ZF(t);return e!==null?()=>e.factory(t):()=>new t}function Uk(t){if(gw(t))return cs(void 0,t.useValue);{let n=vw(t);return cs(n,Td)}}function vw(t,n,e){let i;if(gs(t)){let r=xt(t);return so(r)||Im(r)}else if(gw(t))i=()=>xt(t.useValue);else if(Pk(t))i=()=>t.useFactory(...wm(t.deps||[]));else if(Lk(t))i=()=>g(xt(t.useExisting));else{let r=xt(t&&(t.useClass||t.provide));if(zk(t))i=()=>new r(...wm(t.deps));else return so(r)||Im(r)}return i}function cs(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function zk(t){return!!t.deps}function $k(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Hk(t){return typeof t=="function"||typeof t=="object"&&t instanceof C}function Sm(t,n){for(let e of t)Array.isArray(e)?Sm(e,n):e&&XC(e)?Sm(e.\u0275providers,n):n(e)}function gn(t,n){t instanceof Za&&t.assertNotDestroyed();let e,i=Xi(t),r=Ht(void 0);try{return n()}finally{Xi(i),Ht(r)}}function yw(){return JC()!==void 0||ck()!=null}function jg(t){if(!yw())throw new A(-203,!1)}function Gk(t){return typeof t=="function"}function er(t){return Array.isArray(t)&&typeof t[_w]=="object"}function xi(t){return Array.isArray(t)&&t[_w]===!0}function Vg(t){return(t.flags&4)!==0}function gu(t){return t.componentOffset>-1}function vu(t){return(t.flags&1)===1}function ir(t){return!!t.template}function Mm(t){return(t[X]&512)!==0}function xw(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}function Ve(){return Cw}function Cw(t){return t.type.prototype.ngOnChanges&&(t.setInput=qk),Wk}function Wk(){let t=Ew(this),n=t?.current;if(n){let e=t.previous;if(e===gi)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function qk(t,n,e,i,r){let o=this.declaredInputs[i],s=Ew(t)||Yk(t,{previous:gi,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new Ja(c&&c.currentValue,e,l===gi),xw(t,n,r,e)}function Ew(t){return t[ww]||null}function Yk(t,n){return t[ww]=n}function Yn(t){for(;Array.isArray(t);)t=t[_i];return t}function Iw(t,n){return Yn(n[t])}function vn(t,n){return Yn(n[t.index])}function Bg(t,n){return t.data[n]}function Ug(t,n){return t[n]}function cr(t,n){let e=n[t];return er(e)?e:e[_i]}function Qk(t){return(t[X]&4)===4}function zg(t){return(t[X]&128)===128}function Zk(t){return xi(t[Tt])}function rr(t,n){return n==null?null:t[n]}function Sw(t){t[ds]=0}function Mw(t){t[X]&1024||(t[X]|=1024,zg(t)&&bu(t))}function Xk(t,n){for(;t>0;)n=n[Ss],t--;return n}function yu(t){return!!(t[X]&9216||t[mn]?.dirty)}function Am(t){t[qn].changeDetectionScheduler?.notify(8),t[X]&64&&(t[X]|=1024),yu(t)&&bu(t)}function bu(t){t[qn].changeDetectionScheduler?.notify(0);let n=co(t);for(;n!==null&&!(n[X]&8192||(n[X]|=8192,!zg(n)));)n=co(n)}function Aw(t,n){if((t[X]&256)===256)throw new A(911,!1);t[Ji]===null&&(t[Ji]=[]),t[Ji].push(n)}function Jk(t,n){if(t[Ji]===null)return;let e=t[Ji].indexOf(n);e!==-1&&t[Ji].splice(e,1)}function co(t){let n=t[Tt];return xi(n)?n[Tt]:n}function eN(){return ce.lFrame.elementDepthCount}function tN(){ce.lFrame.elementDepthCount++}function nN(){ce.lFrame.elementDepthCount--}function Rw(){return ce.bindingsEnabled}function Ow(){return ce.skipHydrationRootTNode!==null}function iN(t){return ce.skipHydrationRootTNode===t}function rN(){ce.skipHydrationRootTNode=null}function J(){return ce.lFrame.lView}function Ze(){return ce.lFrame.tView}function ye(t){return ce.lFrame.contextLView=t,t[Mt]}function be(t){return ce.lFrame.contextLView=null,t}function wt(){let t=Fw();for(;t!==null&&t.type===64;)t=t.parent;return t}function Fw(){return ce.lFrame.currentTNode}function oN(){let t=ce.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function go(t,n){let e=ce.lFrame;e.currentTNode=t,e.isParent=n}function $g(){return ce.lFrame.isParent}function Hg(){ce.lFrame.isParent=!1}function sN(){return ce.lFrame.contextLView}function kw(){return Tw}function hC(t){Tw=t}function Ms(){let t=ce.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function aN(){return ce.lFrame.bindingIndex}function lN(t){return ce.lFrame.bindingIndex=t}function vo(){return ce.lFrame.bindingIndex++}function Gg(t){let n=ce.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function cN(){return ce.lFrame.inI18n}function dN(t,n){let e=ce.lFrame;e.bindingIndex=e.bindingRootIndex=t,Tm(n)}function uN(){return ce.lFrame.currentDirectiveIndex}function Tm(t){ce.lFrame.currentDirectiveIndex=t}function fN(t){let n=ce.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function Wg(){return ce.lFrame.currentQueryIndex}function _u(t){ce.lFrame.currentQueryIndex=t}function hN(t){let n=t[ne];return n.type===2?n.declTNode:n.type===1?t[Wt]:null}function Nw(t,n,e){if(e&he.SkipSelf){let r=n,o=t;for(;r=r.parent,r===null&&!(e&he.Host);)if(r=hN(o),r===null||(o=o[Ss],r.type&10))break;if(r===null)return!1;n=r,t=o}let i=ce.lFrame=Lw();return i.currentTNode=n,i.lView=t,!0}function qg(t){let n=Lw(),e=t[ne];ce.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function Lw(){let t=ce.lFrame,n=t===null?null:t.child;return n===null?Pw(t):n}function Pw(t){let n={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 t!==null&&(t.child=n),n}function jw(){let t=ce.lFrame;return ce.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}function Yg(){let t=jw();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 pN(t){return(ce.lFrame.contextLView=Xk(t,ce.lFrame.contextLView))[Mt]}function Ci(){return ce.lFrame.selectedIndex}function uo(t){ce.lFrame.selectedIndex=t}function xu(){let t=ce.lFrame;return Bg(t.tView,t.selectedIndex)}function al(){ce.lFrame.currentNamespace=Dw}function Bw(){mN()}function mN(){ce.lFrame.currentNamespace=null}function gN(){return ce.lFrame.currentNamespace}function Cu(){return Uw}function wu(t){Uw=t}function vN(t,n,e){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){let s=Cw(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}r&&(e.preOrderHooks??=[]).push(0-t,r),o&&((e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o))}function Eu(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){let o=t.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=o;s&&(t.contentHooks??=[]).push(-e,s),a&&((t.contentHooks??=[]).push(e,a),(t.contentCheckHooks??=[]).push(e,a)),l&&(t.viewHooks??=[]).push(-e,l),c&&((t.viewHooks??=[]).push(e,c),(t.viewCheckHooks??=[]).push(e,c)),d!=null&&(t.destroyHooks??=[]).push(e,d)}}function Od(t,n,e){zw(t,n,3,e)}function Fd(t,n,e,i){(t[X]&3)===e&&zw(t,n,e,i)}function cm(t,n){let e=t[X];(e&3)===n&&(e&=16383,e+=1,t[X]=e)}function zw(t,n,e,i){let r=i!==void 0?t[ds]&65535:0,o=i??-1,s=n.length-1,a=0;for(let l=r;l<s;l++)if(typeof n[l+1]=="number"){if(a=n[l],i!=null&&a>=i)break}else n[l]<0&&(t[ds]+=65536),(a<o||o==-1)&&(yN(t,e,n,l),t[ds]=(t[ds]&4294901760)+l+2),l++}function pC(t,n){Hn(4,t,n);let e=ve(null);try{n.call(t)}finally{ve(e),Hn(5,t,n)}}function yN(t,n,e,i){let r=e[i]<0,o=e[i+1],s=r?-e[i]:e[i],a=t[s];r?t[X]>>14<t[ds]>>16&&(t[X]&3)===n&&(t[X]+=16384,pC(a,o)):pC(a,o)}function bN(t){return t instanceof fo}function _N(t){return(t.flags&8)!==0}function xN(t){return(t.flags&16)!==0}function $w(t){return t!==ps}function Hd(t){return t&32767}function CN(t){return t>>16}function Gd(t,n){let e=CN(t),i=n;for(;e>0;)i=i[Ss],e--;return i}function Wd(t){let n=Om;return Om=t,n}function DN(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(qa)&&(i=e[qa]),i==null&&(i=e[qa]=EN++);let r=i&Hw,o=1<<r;n.data[t+(r>>Gw)]|=o}function qd(t,n){let e=Ww(t,n);if(e!==-1)return e;let i=n[ne];i.firstCreatePass&&(t.injectorIndex=n.length,um(i.data,t),um(n,null),um(i.blueprint,null));let r=Kg(t,n),o=t.injectorIndex;if($w(r)){let s=Hd(r),a=Gd(r,n),l=a[ne].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function um(t,n){t.push(0,0,0,0,0,0,0,0,n)}function Ww(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function Kg(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;r!==null;){if(i=Zw(r),i===null)return ps;if(e++,r=r[Ss],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return ps}function Fm(t,n,e){DN(t,n,e)}function IN(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let i=e.length,r=0;for(;r<i;){let o=e[r];if(sw(o))break;if(o===0)r=r+2;else if(typeof o=="number")for(r++;r<i&&typeof e[r]=="string";)r++;else{if(o===n)return e[r+1];r=r+2}}}return null}function qw(t,n,e){if(e&he.Optional||t!==void 0)return t;Rg(n,"NodeInjector")}function Yw(t,n,e,i){if(e&he.Optional&&i===void 0&&(i=null),!(e&(he.Self|he.Host))){let r=t[ys],o=Ht(void 0);try{return r?r.get(n,i,e&he.Optional):ew(n,i,e&he.Optional)}finally{Ht(o)}}return qw(i,n,e)}function Kw(t,n,e,i=he.Default,r){if(t!==null){if(n[X]&2048&&!(i&he.Self)){let s=TN(t,n,e,i,Gn);if(s!==Gn)return s}let o=Qw(t,n,e,i,Gn);if(o!==Gn)return o}return Yw(n,e,i,r)}function Qw(t,n,e,i,r){let o=MN(e);if(typeof o=="function"){if(!Nw(n,t,i))return i&he.Host?qw(r,e,i):Yw(n,e,i,r);try{let s;if(s=o(i),s==null&&!(i&he.Optional))Rg(e);else return s}finally{Vw()}}else if(typeof o=="number"){let s=null,a=Ww(t,n),l=ps,c=i&he.Host?n[Xt][Wt]:null;for((a===-1||i&he.SkipSelf)&&(l=a===-1?Kg(t,n):n[a+8],l===ps||!gC(i,!1)?a=-1:(s=n[ne],a=Hd(l),n=Gd(l,n)));a!==-1;){let d=n[ne];if(mC(o,a,d.data)){let u=SN(a,n,e,s,i,c);if(u!==Gn)return u}l=n[a+8],l!==ps&&gC(i,n[ne].data[a+8]===c)&&mC(o,a,n)?(s=d,a=Hd(l),n=Gd(l,n)):a=-1}}return r}function SN(t,n,e,i,r,o){let s=n[ne],a=s.data[t+8],l=i==null?gu(a)&&Om:i!=s&&(a.type&3)!==0,c=r&he.Host&&o===a,d=kd(a,s,e,l,c);return d!==null?ho(n,s,d,a):Gn}function kd(t,n,e,i,r){let o=t.providerIndexes,s=n.data,a=o&1048575,l=t.directiveStart,c=t.directiveEnd,d=o>>20,u=i?a:a+d,m=r?a+d:c;for(let h=u;h<m;h++){let v=s[h];if(h<l&&e===v||h>=l&&v.type===e)return h}if(r){let h=s[l];if(h&&ir(h)&&h.type===e)return l}return null}function ho(t,n,e,i){let r=t[e],o=n.data;if(bN(r)){let s=r;s.resolving&&rk(ik(o[e]));let a=Wd(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?Ht(s.injectImpl):null,d=Nw(t,i,he.Default);try{r=t[e]=s.factory(void 0,o,t,i),n.firstCreatePass&&e>=i.directiveStart&&vN(e,o[e],n)}finally{c!==null&&Ht(c),Wd(a),s.resolving=!1,Vw()}}return r}function MN(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(qa)?t[qa]:void 0;return typeof n=="number"?n>=0?n&Hw:AN:n}function mC(t,n,e){let i=1<<t;return!!(e[n+(t>>Gw)]&i)}function gC(t,n){return!(t&he.Self)&&!(t&he.Host&&n)}function AN(){return new ro(wt(),J())}function Xe(t){return il(()=>{let n=t.prototype.constructor,e=n[Pd]||km(n),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){let o=r[Pd]||km(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function km(t){return YC(t)?()=>{let n=km(xt(t));return n&&n()}:so(t)}function TN(t,n,e,i,r){let o=t,s=n;for(;o!==null&&s!==null&&s[X]&2048&&!(s[X]&512);){let a=Qw(o,s,e,i|he.Self,Gn);if(a!==Gn)return a;let l=o.parent;if(!l){let c=s[bw];if(c){let d=c.get(e,Gn,i);if(d!==Gn)return d}l=Zw(s),s=s[Ss]}o=l}return r}function Zw(t){let n=t[ne],e=n.type;return e===2?n.declTNode:e===1?t[Wt]:null}function dr(t){return IN(wt(),t)}function vC(t,n=null,e=null,i){let r=Xw(t,n,e,i);return r.resolveInjectorInitializers(),r}function Xw(t,n=null,e=null,i,r=new Set){let o=[e||Pt,Ng(t)];return i=i||(typeof t=="object"?void 0:jt(t)),new Za(o,n||Pg(),i||null,r)}function fm(t){return t[ON]}function FN(){return new Nm(J())}function Yd(...t){}function eE(t){let n,e;function i(){t=Yd;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function yC(t){return queueMicrotask(()=>t()),()=>{t=Yd}}function Zg(t){if(t._nesting==0&&!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 LN(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){eE(()=>{t.callbackScheduled=!1,Pm(t),t.isCheckStableRunning=!0,Zg(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),Pm(t)}function PN(t){let n=()=>{LN(t)},e=kN++;t._inner=t._inner.fork({name:"angular",properties:{[Qg]:!0,[Kd]:e,[Kd+e]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(jN(l))return i.invokeTask(o,s,a,l);try{return bC(t),i.invokeTask(o,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),_C(t)}},onInvoke:(i,r,o,s,a,l,c)=>{try{return bC(t),i.invoke(o,s,a,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!VN(l)&&n(),_C(t)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Pm(t),Zg(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,r,o,s)=>(i.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Pm(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function bC(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function _C(t){t._nesting--,Zg(t)}function jN(t){return tE(t,"__ignore_ng_zone__")}function VN(t){return tE(t,"__scheduler_tick__")}function tE(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}function UN(){return As(wt(),J())}function As(t,n){return new j(vn(t,n))}function nE(t){return t instanceof j?t.nativeElement:t}function zN(){return this._results[Symbol.iterator]()}function iE(t){return(t.flags&128)===128}function HN(){return $N++}function GN(t){rE.set(t[mu],t)}function Vm(t){rE.delete(t[mu])}function or(t,n){er(n)?(t[xC]=n[mu],GN(n)):t[xC]=n}function oE(t){return aE(t[Xa])}function sE(t){return aE(t[On])}function aE(t){for(;t!==null&&!xi(t);)t=t[On];return t}function lE(t){Bm=t}function cE(){if(Bm!==void 0)return Bm;if(typeof document<"u")return document;throw new A(210,!1)}function Jg(t,n,e=!1){return KN(t,n,e)}function ZN(){if(Ed===void 0&&(Ed=null,Ya.trustedTypes))try{Ed=Ya.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ed}function Iu(t){return ZN()?.createHTML(t)||t}function uE(){if(Dd===void 0&&(Dd=null,Ya.trustedTypes))try{Dd=Ya.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Dd}function CC(t){return uE()?.createHTML(t)||t}function wC(t){return uE()?.createScriptURL(t)||t}function yn(t){return t instanceof yi?t.changingThisBreaksApplicationSecurity:t}function Ei(t,n){let e=XN(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${WC})`)}return e===n}function XN(t){return t instanceof yi&&t.getTypeName()||null}function fE(t){return new Um(t)}function hE(t){return new zm(t)}function pE(t){return new $m(t)}function mE(t){return new Hm(t)}function gE(t){return new Gm(t)}function JN(t){let n=new qm(t);return eL()?new Wm(n):n}function eL(){try{return!!new window.DOMParser().parseFromString(Iu(""),"text/html")}catch{return!1}}function Su(t){return t=String(t),t.match(tL)?t:"unsafe:"+t}function Di(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function cl(...t){let n={};for(let e of t)for(let i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}function cL(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function dL(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw xE(n);return n}function uL(t){let n=t.firstChild;if(n&&cL(t,n))throw xE(n);return n}function DC(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function xE(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}function IC(t){return t.replace(/&/g,"&amp;").replace(fL,function(n){let e=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace(hL,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function ev(t,n){let e=null;try{Id=Id||JN(t);let i=n?String(n):"";e=Id.getInertBodyElement(i);let r=5,o=i;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=Id.getInertBodyElement(i)}while(i!==o);let a=new Ym().sanitizeChildren(SC(e)||e);return Iu(a)}finally{if(e){let i=SC(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function SC(t){return"content"in t&&pL(t)?t.content:null}function pL(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}function Ii(t){let n=nv();return n?CC(n.sanitize(Et.HTML,t)||""):Ei(t,"HTML")?CC(yn(t)):ev(cE(),oo(t))}function tv(t){let n=nv();return n?n.sanitize(Et.URL,t)||"":Ei(t,"URL")?yn(t):Su(oo(t))}function mL(t){let n=nv();if(n)return wC(n.sanitize(Et.RESOURCE_URL,t)||"");if(Ei(t,"ResourceURL"))return wC(yn(t));throw new A(904,!1)}function gL(t,n){return n==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||n==="href"&&(t==="base"||t==="link")?mL:tv}function CE(t,n,e){return gL(n,e)(t)}function nv(){let t=J();return t&&t[qn].sanitizer}function _L(t){return t.replace(vL,n=>n.replace(yL,bL))}function wE(t){return t instanceof Function?t():t}function EE(t){return(t??y(Me)).get(gt)==="browser"}function iv(t,n){return xL(t,n)}function us(t,n,e,i,r){if(i!=null){let o,s=!1;xi(i)?o=i:er(i)&&(s=!0,i=i[_i]);let a=Yn(i);t===0&&e!==null?r==null?AE(n,e,a):Qd(n,e,a,r||null,!0):t===1&&e!==null?Qd(n,e,a,r||null,!0):t===2?NL(n,a,s):t===3&&n.destroyNode(a),o!=null&&PL(n,t,o,e,r)}}function CL(t,n){return t.createText(n)}function wL(t,n,e){t.setValue(n,e)}function EL(t,n){return t.createComment(_L(n))}function DE(t,n,e){return t.createElement(n,e)}function DL(t,n){IE(t,n),n[_i]=null,n[Wt]=null}function IL(t,n,e,i,r,o){i[_i]=r,i[Wt]=n,Tu(t,i,e,1,r,o)}function IE(t,n){n[qn].changeDetectionScheduler?.notify(9),Tu(t,n,n[Qe],2,null,null)}function SL(t){let n=t[Xa];if(!n)return hm(t[ne],t);for(;n;){let e=null;if(er(n))e=n[Xa];else{let i=n[At];i&&(e=i)}if(!e){for(;n&&!n[On]&&n!==t;)er(n)&&hm(n[ne],n),n=n[Tt];n===null&&(n=t),er(n)&&hm(n[ne],n),e=n&&n[On]}n=e}}function ML(t,n,e,i){let r=At+i,o=e.length;i>0&&(e[r-1][On]=n),i<o-At?(n[On]=e[r],nw(e,At+i,n)):(e.push(n),n[On]=null),n[Tt]=e;let s=n[ao];s!==null&&e!==s&&SE(s,n);let a=n[vi];a!==null&&a.insertView(t),Am(n),n[X]|=128}function SE(t,n){let e=t[bs],i=n[Tt];if(er(i))t[X]|=$d.HasTransplantedViews;else{let r=i[Tt][Xt];n[Xt]!==r&&(t[X]|=$d.HasTransplantedViews)}e===null?t[bs]=[n]:e.push(n)}function rv(t,n){let e=t[bs],i=e.indexOf(n);e.splice(i,1)}function el(t,n){if(t.length<=At)return;let e=At+n,i=t[e];if(i){let r=i[ao];r!==null&&r!==t&&rv(r,i),n>0&&(t[e-1][On]=i[On]);let o=Vd(t,At+n);DL(i[ne],i);let s=o[vi];s!==null&&s.detachView(o[ne]),i[Tt]=null,i[On]=null,i[X]&=-129}return i}function Mu(t,n){if(!(n[X]&256)){let e=n[Qe];e.destroyNode&&Tu(t,n,e,3,null,null),SL(n)}}function hm(t,n){if(n[X]&256)return;let e=ve(null);try{n[X]&=-129,n[X]|=256,n[mn]&&jc(n[mn]),TL(t,n),AL(t,n),n[ne].type===1&&n[Qe].destroy();let i=n[ao];if(i!==null&&xi(n[Tt])){i!==n[Tt]&&rv(i,n);let r=n[vi];r!==null&&r.detachView(t)}Vm(n)}finally{ve(e)}}function AL(t,n){let e=t.cleanup,i=n[Ud];if(e!==null)for(let o=0;o<e.length-1;o+=2)if(typeof e[o]=="string"){let s=e[o+3];s>=0?i[s]():i[-s].unsubscribe(),o+=2}else{let s=i[e[o+1]];e[o].call(s)}i!==null&&(n[Ud]=null);let r=n[Ji];if(r!==null){n[Ji]=null;for(let o=0;o<r.length;o++){let s=r[o];s()}}}function TL(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let i=0;i<e.length;i+=2){let r=n[e[i]];if(!(r instanceof fo)){let o=e[i+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=r[o[s]],l=o[s+1];Hn(4,a,l);try{l.call(a)}finally{Hn(5,a,l)}}else{Hn(4,r,o);try{o.call(r)}finally{Hn(5,r,o)}}}}}function ME(t,n,e){return RL(t,n.parent,e)}function RL(t,n,e){let i=n;for(;i!==null&&i.type&168;)n=i,i=n.parent;if(i===null)return e[_i];{let{componentOffset:r}=i;if(r>-1){let{encapsulation:o}=t.data[i.directiveStart+r];if(o===Wn.None||o===Wn.Emulated)return null}return vn(i,e)}}function Qd(t,n,e,i,r){t.insertBefore(n,e,i,r)}function AE(t,n,e){t.appendChild(n,e)}function MC(t,n,e,i,r){i!==null?Qd(t,n,e,i,r):AE(t,n,e)}function TE(t,n){return t.parentNode(n)}function OL(t,n){return t.nextSibling(n)}function RE(t,n,e){return kL(t,n,e)}function FL(t,n,e){return t.type&40?vn(t,e):null}function Au(t,n,e,i){let r=ME(t,i,n),o=n[Qe],s=i.parent||n[Wt],a=RE(s,i,n);if(r!=null)if(Array.isArray(e))for(let l=0;l<e.length;l++)MC(o,r,e[l],a,!1);else MC(o,r,e,a,!1);AC!==void 0&&AC(o,i,n,e,r)}function Wa(t,n){if(n!==null){let e=n.type;if(e&3)return vn(n,t);if(e&4)return Km(-1,t[n.index]);if(e&8){let i=n.child;if(i!==null)return Wa(t,i);{let r=t[n.index];return xi(r)?Km(-1,r):Yn(r)}}else{if(e&128)return Wa(t,n.next);if(e&32)return iv(n,t)()||Yn(t[n.index]);{let i=OE(t,n);if(i!==null){if(Array.isArray(i))return i[0];let r=co(t[Xt]);return Wa(r,i)}else return Wa(t,n.next)}}}return null}function OE(t,n){if(n!==null){let i=t[Xt][Wt],r=n.projection;return i.projection[r]}return null}function Km(t,n){let e=At+t+1;if(e<n.length){let i=n[e],r=i[ne].firstChild;if(r!==null)return Wa(i,r)}return n[lo]}function NL(t,n,e){t.removeChild(null,n,e)}function ov(t,n,e,i,r,o,s){for(;e!=null;){if(e.type===128){e=e.next;continue}let a=i[e.index],l=e.type;if(s&&n===0&&(a&&or(Yn(a),i),e.flags|=2),(e.flags&32)!==32)if(l&8)ov(t,n,e.child,i,r,o,!1),us(n,t,r,a,o);else if(l&32){let c=iv(e,i),d;for(;d=c();)us(n,t,r,d,o);us(n,t,r,a,o)}else l&16?FE(t,n,i,e,r,o):us(n,t,r,a,o);e=s?e.projectionNext:e.next}}function Tu(t,n,e,i,r,o){ov(e,i,t.firstChild,n,r,o,!1)}function LL(t,n,e){let i=n[Qe],r=ME(t,e,n),o=e.parent||n[Wt],s=RE(o,e,n);FE(i,0,n,e,r,s)}function FE(t,n,e,i,r,o){let s=e[Xt],l=s[Wt].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];us(n,t,r,d,o)}else{let c=l,d=s[Tt];iE(i)&&(c.flags|=128),ov(t,n,c,d,r,o,!0)}}function PL(t,n,e,i,r){let o=e[lo],s=Yn(e);o!==s&&us(n,t,i,o,r);for(let a=At;a<e.length;a++){let l=e[a];Tu(l[ne],l,t,n,i,o)}}function jL(t,n,e,i,r){if(n)r?t.addClass(e,i):t.removeClass(e,i);else{let o=i.indexOf("-")===-1?void 0:bi.DashCase;r==null?t.removeStyle(e,i,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=bi.Important),t.setStyle(e,i,r,o))}}function VL(t,n,e){t.setAttribute(n,"style",e)}function kE(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function NE(t,n,e){let{mergedAttrs:i,classes:r,styles:o}=e;i!==null&&Em(t,n,i),r!==null&&kE(t,n,r),o!==null&&VL(t,n,o)}function w(t=1){LE(Ze(),J(),Ci()+t,!1)}function LE(t,n,e,i){if(!i)if((n[X]&3)===3){let o=t.preOrderCheckHooks;o!==null&&Od(n,o,e)}else{let o=t.preOrderHooks;o!==null&&Fd(n,o,0,e)}uo(e)}function p(t,n=he.Default){let e=J();if(e===null)return g(t,n);let i=wt();return Kw(i,e,xt(t),n)}function Ts(){let t="invalid";throw new Error(t)}function PE(t,n,e,i,r,o){let s=ve(null);try{let a=null;r&tr.SignalBased&&(a=n[i][hn]),a!==null&&a.transformFn!==void 0&&(o=a.transformFn(o)),r&tr.HasDecoratorInputTransform&&(o=t.inputTransforms[i].call(n,o)),t.setInput!==null?t.setInput(n,a,o,e,i):xw(n,a,i,o)}finally{ve(s)}}function BL(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let i=0;i<e.length;i++){let r=e[i];if(r<0)uo(~r);else{let o=r,s=e[++i],a=e[++i];dN(s,o);let l=n[o];a(2,l)}}}finally{uo(-1)}}function Ru(t,n,e,i,r,o,s,a,l,c,d){let u=n.blueprint.slice();return u[_i]=r,u[X]=i|4|128|8|64,(c!==null||t&&t[X]&2048)&&(u[X]|=2048),Sw(u),u[Tt]=u[Ss]=t,u[Mt]=e,u[qn]=s||t&&t[qn],u[Qe]=a||t&&t[Qe],u[ys]=l||t&&t[ys]||null,u[Wt]=o,u[mu]=HN(),u[vs]=d,u[bw]=c,u[Xt]=n.type==2?t[Xt]:u,u}function Rs(t,n,e,i,r){let o=t.data[n];if(o===null)o=UL(t,n,e,i,r),cN()&&(o.flags|=32);else if(o.type&64){o.type=e,o.value=i,o.attrs=r;let s=oN();o.injectorIndex=s===null?-1:s.injectorIndex}return go(o,!0),o}function UL(t,n,e,i,r){let o=Fw(),s=$g(),a=s?o:o&&o.parent,l=t.data[n]=qL(t,a,e,n,i,r);return t.firstChild===null&&(t.firstChild=l),o!==null&&(s?o.child==null&&l.parent!==null&&(o.child=l):o.next===null&&(o.next=l,l.prev=o)),l}function jE(t,n,e,i){if(e===0)return-1;let r=n.length;for(let o=0;o<e;o++)n.push(i),t.blueprint.push(i),t.data.push(null);return r}function VE(t,n,e,i,r){let o=Ci(),s=i&2;try{uo(-1),s&&n.length>mt&&LE(t,n,mt,!1),Hn(s?2:0,r),e(i,r)}finally{uo(o),Hn(s?3:1,r)}}function sv(t,n,e){if(Vg(n)){let i=ve(null);try{let r=n.directiveStart,o=n.directiveEnd;for(let s=r;s<o;s++){let a=t.data[s];if(a.contentQueries){let l=e[s];a.contentQueries(1,l,s)}}}finally{ve(i)}}}function av(t,n,e){Rw()&&(JL(t,n,e,vn(e,n)),(e.flags&64)===64&&zE(t,n,e))}function lv(t,n,e=vn){let i=n.localNames;if(i!==null){let r=n.index+1;for(let o=0;o<i.length;o+=2){let s=i[o+1],a=s===-1?e(n,t):t[s];t[r++]=a}}}function BE(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=cv(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function cv(t,n,e,i,r,o,s,a,l,c,d){let u=mt+i,m=u+r,h=zL(u,m),v=typeof c=="function"?c():c;return h[ne]={type:t,blueprint:h,template:e,queries:null,viewQuery:a,declTNode:n,data:h.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:m,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:v,incompleteFirstPass:!1,ssrId:d}}function zL(t,n){let e=[];for(let i=0;i<n;i++)e.push(i<t?null:nn);return e}function $L(t,n,e,i){let o=i.get(QN,dE)||e===Wn.ShadowDom,s=t.selectRootElement(n,o);return HL(s),s}function HL(t){GL(t)}function WL(t,n,e,i){let r=GE(n);r.push(e),t.firstCreatePass&&WE(t).push(i,r.length-1)}function qL(t,n,e,i,r,o){let s=n?n.injectorIndex:-1,a=0;return Ow()&&(a|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function TC(t,n,e,i,r){for(let o in n){if(!n.hasOwnProperty(o))continue;let s=n[o];if(s===void 0)continue;i??={};let a,l=tr.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(r!==null){if(!r.hasOwnProperty(o))continue;c=r[o]}t===0?RC(i,e,c,a,l):RC(i,e,c,a)}return i}function RC(t,n,e,i,r){let o;t.hasOwnProperty(e)?(o=t[e]).push(n,i):o=t[e]=[n,i],r!==void 0&&o.push(r)}function YL(t,n,e){let i=n.directiveStart,r=n.directiveEnd,o=t.data,s=n.attrs,a=[],l=null,c=null;for(let d=i;d<r;d++){let u=o[d],m=e?e.get(u):null,h=m?m.inputs:null,v=m?m.outputs:null;l=TC(0,u.inputs,d,l,h),c=TC(1,u.outputs,d,c,v);let b=l!==null&&s!==null&&!Fg(n)?d1(l,d,s):null;a.push(b)}l!==null&&(l.hasOwnProperty("class")&&(n.flags|=8),l.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=a,n.inputs=l,n.outputs=c}function KL(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function dv(t,n,e,i,r,o,s,a){let l=vn(n,e),c=n.inputs,d;!a&&c!=null&&(d=c[i])?(fv(t,e,d,i,r),gu(n)&&QL(e,n.index)):n.type&3?(i=KL(i),r=s!=null?s(r,n.value||"",i):r,o.setProperty(l,i,r)):n.type&12}function QL(t,n){let e=cr(n,t);e[X]&16||(e[X]|=64)}function uv(t,n,e,i){if(Rw()){let r=i===null?null:{"":-1},o=t1(t,e),s,a;o===null?s=a=null:[s,a]=o,s!==null&&UE(t,n,e,s,r,a),r&&n1(e,i,r)}e.mergedAttrs=Qa(e.mergedAttrs,e.attrs)}function UE(t,n,e,i,r,o){for(let c=0;c<i.length;c++)Fm(qd(e,n),t,i[c].type);r1(e,t.data.length,i.length);for(let c=0;c<i.length;c++){let d=i[c];d.providersResolver&&d.providersResolver(d)}let s=!1,a=!1,l=jE(t,n,i.length,null);for(let c=0;c<i.length;c++){let d=i[c];e.mergedAttrs=Qa(e.mergedAttrs,d.hostAttrs),o1(t,e,n,l,d),i1(l,d,r),d.contentQueries!==null&&(e.flags|=4),(d.hostBindings!==null||d.hostAttrs!==null||d.hostVars!==0)&&(e.flags|=64);let u=d.type.prototype;!s&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),s=!0),!a&&(u.ngOnChanges||u.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),a=!0),l++}YL(t,e,o)}function ZL(t,n,e,i,r){let o=r.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~n.index;XL(s)!=a&&s.push(a),s.push(e,i,o)}}function XL(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function JL(t,n,e,i){let r=e.directiveStart,o=e.directiveEnd;gu(e)&&s1(n,e,t.data[r+e.componentOffset]),t.firstCreatePass||qd(e,n),or(i,n);let s=e.initialInputs;for(let a=r;a<o;a++){let l=t.data[a],c=ho(n,t,a,e);if(or(c,n),s!==null&&c1(n,a-r,c,l,e,s),ir(l)){let d=cr(e.index,n);d[Mt]=ho(n,t,a,e)}}}function zE(t,n,e){let i=e.directiveStart,r=e.directiveEnd,o=e.index,s=uN();try{uo(o);for(let a=i;a<r;a++){let l=t.data[a],c=n[a];Tm(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&e1(l,c)}}finally{uo(-1),Tm(s)}}function e1(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function t1(t,n){let e=t.directiveRegistry,i=null,r=null;if(e)for(let o=0;o<e.length;o++){let s=e[o];if(lw(n,s.selectors,!1))if(i||(i=[]),ir(s))if(s.findHostDirectiveDefs!==null){let a=[];r=r||new Map,s.findHostDirectiveDefs(s,a,r),i.unshift(...a,s);let l=a.length;Qm(t,n,l)}else i.unshift(s),Qm(t,n,0);else r=r||new Map,s.findHostDirectiveDefs?.(s,i,r),i.push(s)}return i===null?null:[i,r]}function Qm(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function n1(t,n,e){if(n){let i=t.localNames=[];for(let r=0;r<n.length;r+=2){let o=e[n[r+1]];if(o==null)throw new A(-301,!1);i.push(n[r],o)}}}function i1(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;ir(n)&&(e[""]=t)}}function r1(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function o1(t,n,e,i,r){t.data[i]=r;let o=r.factory||(r.factory=so(r.type,!0)),s=new fo(o,ir(r),p);t.blueprint[i]=s,e[i]=s,ZL(t,n,i,jE(t,e,r.hostVars,nn),r)}function s1(t,n,e){let i=vn(n,t),r=BE(e),o=t[qn].rendererFactory,s=16;e.signals?s=4096:e.onPush&&(s=64);let a=Ou(t,Ru(t,r,null,s,i,n,null,o.createRenderer(i,e),null,null,null));t[n.index]=a}function a1(t,n,e,i,r,o){let s=vn(t,n);l1(n[Qe],s,o,t.value,e,i,r)}function l1(t,n,e,i,r,o,s){if(o==null)t.removeAttribute(n,r,e);else{let a=s==null?oo(o):s(o,i||"",r);t.setAttribute(n,r,a,e)}}function c1(t,n,e,i,r,o){let s=o[n];if(s!==null)for(let a=0;a<s.length;){let l=s[a++],c=s[a++],d=s[a++],u=s[a++];PE(i,e,l,c,d,u)}}function d1(t,n,e){let i=null,r=0;for(;r<e.length;){let o=e[r];if(o===0){r+=4;continue}else if(o===5){r+=2;continue}if(typeof o=="number")break;if(t.hasOwnProperty(o)){i===null&&(i=[]);let s=t[o];for(let a=0;a<s.length;a+=3)if(s[a]===n){i.push(o,s[a+1],s[a+2],e[r+1]);break}}r+=2}return i}function $E(t,n,e,i){return[t,!0,0,n,null,i,null,e,null,null]}function HE(t,n){let e=t.contentQueries;if(e!==null){let i=ve(null);try{for(let r=0;r<e.length;r+=2){let o=e[r],s=e[r+1];if(s!==-1){let a=t.data[s];_u(o),a.contentQueries(2,n[s],s)}}}finally{ve(i)}}}function Ou(t,n){return t[Xa]?t[uC][On]=n:t[Xa]=n,t[uC]=n,n}function Zm(t,n,e){_u(0);let i=ve(null);try{n(t,e)}finally{ve(i)}}function GE(t){return t[Ud]??=[]}function WE(t){return t.cleanup??=[]}function qE(t,n){let e=t[ys],i=e?e.get(Gt,null):null;i&&i.handleError(n)}function fv(t,n,e,i,r){for(let o=0;o<e.length;){let s=e[o++],a=e[o++],l=e[o++],c=n[s],d=t.data[s];PE(d,c,i,a,l,r)}}function YE(t,n,e){let i=Iw(n,t);wL(t[Qe],i,e)}function u1(t,n){let e=cr(n,t),i=e[ne];f1(i,e);let r=e[_i];r!==null&&e[vs]===null&&(e[vs]=Jg(r,e[ys])),hv(i,e,e[Mt])}function f1(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function hv(t,n,e){qg(n);try{let i=t.viewQuery;i!==null&&Zm(1,i,e);let r=t.template;r!==null&&VE(t,n,r,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[vi]?.finishViewCreation(t),t.staticContentQueries&&HE(t,n),t.staticViewQueries&&Zm(2,t.viewQuery,e);let o=t.components;o!==null&&h1(n,o)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[X]&=-5,Yg()}}function h1(t,n){for(let e=0;e<n.length;e++)u1(t,n[e])}function dl(t,n,e,i){let r=ve(null);try{let o=n.tView,a=t[X]&4096?4096:16,l=Ru(t,o,e,a,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),c=t[n.index];l[ao]=c;let d=t[vi];return d!==null&&(l[vi]=d.createEmbeddedView(o)),hv(o,l,e),l}finally{ve(r)}}function KE(t,n){let e=At+n;if(e<t.length)return t[e]}function xs(t,n){return!n||n.firstChild===null||iE(t)}function ul(t,n,e,i=!0){let r=n[ne];if(ML(r,n,t,e),i){let s=Km(e,t),a=n[Qe],l=TE(a,t[lo]);l!==null&&IL(r,t[Wt],a,n,l,s)}let o=n[vs];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function QE(t,n){let e=el(t,n);return e!==void 0&&Mu(e[ne],e),e}function Zd(t,n,e,i,r=!1){for(;e!==null;){if(e.type===128){e=r?e.projectionNext:e.next;continue}let o=n[e.index];o!==null&&i.push(Yn(o)),xi(o)&&p1(o,i);let s=e.type;if(s&8)Zd(t,n,e.child,i);else if(s&32){let a=iv(e,n),l;for(;l=a();)i.push(l)}else if(s&16){let a=OE(n,e);if(Array.isArray(a))i.push(...a);else{let l=co(n[Xt]);Zd(l[ne],l,a,i,!0)}}e=r?e.projectionNext:e.next}return i}function p1(t,n){for(let e=At;e<t.length;e++){let i=t[e],r=i[ne].firstChild;r!==null&&Zd(i[ne],i,r,n)}t[lo]!==t[_i]&&n.push(t[lo])}function m1(t){return t[mn]??g1(t)}function g1(t){let n=ZE.pop()??Object.create(y1);return n.lView=t,n}function v1(t){t.lView[mn]!==t&&(t.lView=null,ZE.push(t))}function b1(t){let n=t[mn]??Object.create(_1);return n.lView=t,n}function XE(t){return t.type!==2}function JE(t,n=!0,e=0){let i=t[qn],r=i.rendererFactory,o=!1;o||r.begin?.();try{C1(t,e)}catch(s){throw n&&qE(t,s),s}finally{o||(r.end?.(),i.inlineEffectRunner?.flush())}}function C1(t,n){let e=kw();try{hC(!0),Xm(t,n);let i=0;for(;yu(t);){if(i===x1)throw new A(103,!1);i++,Xm(t,1)}}finally{hC(e)}}function w1(t,n,e,i){let r=n[X];if((r&256)===256)return;let o=!1,s=!1;!o&&n[qn].inlineEffectRunner?.flush(),qg(n);let a=!0,l=null,c=null;o||(XE(t)?(c=m1(n),l=ka(c)):w0()===null?(a=!1,c=b1(n),l=ka(c)):n[mn]&&(jc(n[mn]),n[mn]=null));try{Sw(n),lN(t.bindingStartIndex),e!==null&&VE(t,n,e,2,i);let d=(r&3)===3;if(!o)if(d){let h=t.preOrderCheckHooks;h!==null&&Od(n,h,null)}else{let h=t.preOrderHooks;h!==null&&Fd(n,h,0,null),cm(n,0)}if(s||E1(n),eD(n,0),t.contentQueries!==null&&HE(t,n),!o)if(d){let h=t.contentCheckHooks;h!==null&&Od(n,h)}else{let h=t.contentHooks;h!==null&&Fd(n,h,1),cm(n,1)}BL(t,n);let u=t.components;u!==null&&nD(n,u,0);let m=t.viewQuery;if(m!==null&&Zm(2,m,i),!o)if(d){let h=t.viewCheckHooks;h!==null&&Od(n,h)}else{let h=t.viewHooks;h!==null&&Fd(n,h,2),cm(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[Rd]){for(let h of n[Rd])h();n[Rd]=null}o||(n[X]&=-73)}catch(d){throw o||bu(n),d}finally{c!==null&&(Lc(c,l),a&&v1(c)),Yg()}}function eD(t,n){for(let e=oE(t);e!==null;e=sE(e))for(let i=At;i<e.length;i++){let r=e[i];tD(r,n)}}function E1(t){for(let n=oE(t);n!==null;n=sE(n)){if(!(n[X]&$d.HasTransplantedViews))continue;let e=n[bs];for(let i=0;i<e.length;i++){let r=e[i];Mw(r)}}}function D1(t,n,e){let i=cr(n,t);tD(i,e)}function tD(t,n){zg(t)&&Xm(t,n)}function Xm(t,n){let i=t[ne],r=t[X],o=t[mn],s=!!(n===0&&r&16);if(s||=!!(r&64&&n===0),s||=!!(r&1024),s||=!!(o?.dirty&&Pc(o)),s||=!1,o&&(o.dirty=!1),t[X]&=-9217,s)w1(i,t,i.template,t[Mt]);else if(r&8192){eD(t,1);let a=i.components;a!==null&&nD(t,a,1)}}function nD(t,n,e){for(let i=0;i<n.length;i++)D1(t,n[i],e)}function pv(t,n){let e=kw()?64:1088;for(t[qn].changeDetectionScheduler?.notify(n);t;){t[X]|=e;let i=co(t);if(Mm(t)&&!i)return t;t=i}return null}function M1(){return Fu(wt(),J())}function Fu(t,n){return t.type&4?new S1(n,t,As(t,n)):null}function Cs(t,n){return A1(t,n)}function T1(t){let n=Error(`No component factory found for ${jt(t)}.`);return n[R1]=t,n}function O1(){let t=J(),n=wt(),e=cr(n.index,t);return(er(e)?e:t)[Qe]}function Jd(t,n,e){let i=e?t.styles:null,r=e?t.classes:null,o=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")o=a;else if(o==1)r=_m(r,a);else if(o==2){let l=a,c=n[++s];i=_m(i,l+": "+c+";")}}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=r:t.classesWithoutHost=r}function OC(t,n){let e=[];for(let i in t){if(!t.hasOwnProperty(i))continue;let r=t[i];if(r===void 0)continue;let o=Array.isArray(r),s=o?r[0]:r,a=o?r[1]:tr.None;n?e.push({propName:s,templateName:i,isSignal:(a&tr.SignalBased)!==0}):e.push({propName:s,templateName:i})}return e}function k1(t){let n=t.toLowerCase();return n==="svg"?Dw:n==="math"?Kk:null}function N1(t,n){let e=t[ne],i=mt;return t[i]=n,Rs(e,i,2,"#host",null)}function L1(t,n,e,i,r,o,s){let a=r[ne];P1(i,t,n,s);let l=null;n!==null&&(l=Jg(n,r[ys]));let c=o.rendererFactory.createRenderer(n,e),d=16;e.signals?d=4096:e.onPush&&(d=64);let u=Ru(r,BE(e),null,d,r[t.index],t,o,c,null,null,l);return a.firstCreatePass&&Qm(a,t,i.length-1),Ou(r,u),r[t.index]=u}function P1(t,n,e,i){for(let r of t)n.mergedAttrs=Qa(n.mergedAttrs,r.hostAttrs);n.mergedAttrs!==null&&(Jd(n,n.mergedAttrs,!0),e!==null&&NE(i,e,n))}function j1(t,n,e,i,r,o){let s=wt(),a=r[ne],l=vn(s,r);UE(a,r,s,e,null,i);for(let d=0;d<e.length;d++){let u=s.directiveStart+d,m=ho(r,a,u,s);or(m,r)}zE(a,r,s),l&&or(l,r);let c=ho(r,a,s.directiveStart+s.componentOffset,s);if(t[Mt]=r[Mt]=c,o!==null)for(let d of o)d(c,n);return sv(a,s,r),c}function V1(t,n,e,i){if(i)Em(t,e,["ng-version","18.2.13"]);else{let{attrs:r,classes:o}=Rk(n.selectors[0]);r&&Em(t,e,r),o&&o.length>0&&kE(t,e,o.join(" "))}}function B1(t,n,e){let i=t.projection=[];for(let r=0;r<n.length;r++){let o=e[r];i.push(o!=null?Array.from(o):null)}}function U1(){let t=wt();Eu(J()[ne],t)}function z1(){let t=wt();return sD(t,J())}function FC(t){return t[zd]}function pm(t){return t[zd]||(t[zd]=[])}function sD(t,n){let e,i=n[t.index];return xi(i)?e=i:(e=$E(i,n,null,t),n[t.index]=e,Ou(n,e)),G1(e,n,t,i),new oD(e,t,n)}function H1(t,n){let e=t[Qe],i=e.createComment(""),r=vn(n,t),o=TE(e,r);return Qd(e,o,i,OL(e,r),!1),i}function q1(t,n,e){return W1(t,n,e)}function Y1(t,n,e,i){if(t[lo])return;let r;e.type&8?r=Yn(i):r=H1(n,e),t[lo]=r}function K1(t,n){let e=t.localNames;if(e!==null){for(let i=0;i<e.length;i+=2)if(e[i]===n)return e[i+1]}return null}function Q1(t,n){return t.type&11?As(t,n):t.type&4?Fu(t,n):null}function Z1(t,n,e,i){return e===-1?Q1(n,t):e===-2?X1(t,n,i):ho(t,t[ne],e,n)}function X1(t,n,e){if(e===j)return As(n,t);if(e===Jt)return Fu(n,t);if(e===Rt)return sD(n,t)}function aD(t,n,e,i){let r=n[vi].queries[i];if(r.matches===null){let o=t.data,s=e.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let c=s[l];if(c<0)a.push(null);else{let d=o[c];a.push(Z1(n,d,s[l+1],e.metadata.read))}}r.matches=a}return r.matches}function sg(t,n,e,i){let r=t.queries.getByIndex(e),o=r.matches;if(o!==null){let s=aD(t,n,r,e);for(let a=0;a<o.length;a+=2){let l=o[a];if(l>0)i.push(s[a/2]);else{let c=o[a+1],d=n[-l];for(let u=At;u<d.length;u++){let m=d[u];m[ao]===m[Tt]&&sg(m[ne],m,c,i)}if(d[bs]!==null){let u=d[bs];for(let m=0;m<u.length;m++){let h=u[m];sg(h[ne],h,c,i)}}}}}return i}function gv(t,n){return t[vi].queries[n].queryList}function lD(t,n,e){let i=new _s((e&4)===4);return WL(t,n,i,i.destroy),(n[vi]??=new ig).queries.push(new ng(i))-1}function J1(t,n,e){let i=Ze();return i.firstCreatePass&&(dD(i,new tu(t,n,e),-1),(n&2)===2&&(i.staticViewQueries=!0)),lD(i,J(),n)}function cD(t,n,e,i){let r=Ze();if(r.firstCreatePass){let o=wt();dD(r,new tu(n,e,i),o.index),tP(r,t),(e&2)===2&&(r.staticContentQueries=!0)}return lD(r,J(),e)}function eP(t){return t.split(",").map(n=>n.trim())}function dD(t,n,e){t.queries===null&&(t.queries=new rg),t.queries.track(new og(n,e))}function tP(t,n){let e=t.contentQueries||(t.contentQueries=[]),i=e.length?e[e.length-1]:-1;n!==i&&e.push(t.queries.length-1,n)}function vv(t,n){return t.queries.getByIndex(n)}function uD(t,n){let e=t[ne],i=vv(e,n);return i.crossesNgTemplate?sg(e,t,n,[]):aD(e,t,i,n)}function bn(t){kC.has(t)||(kC.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function ku(t){return typeof t=="function"&&t[hn]!==void 0}function rn(t,n){bn("NgSignals");let e=k0(t),i=e[hn];return n?.equal&&(i.equal=n.equal),e.set=r=>mp(i,r),e.update=r=>N0(i,r),e.asReadonly=nP.bind(e),e}function nP(){let t=this[hn];if(t.readonlyFn===void 0){let n=()=>this();n[hn]=t,t.readonlyFn=n}return t.readonlyFn}function fD(t){return ku(t)&&typeof t.set=="function"}function hD(t,n){let e,i=pp(()=>{e._dirtyCounter();let r=sP(e,t);if(n&&r===void 0)throw new A(-951,!1);return r});return e=i[hn],e._dirtyCounter=rn(0),e._flatValue=void 0,i}function iP(){return hD(!0,!1)}function rP(){return hD(!0,!0)}function oP(t,n){let e=t[hn];e._lView=J(),e._queryIndex=n,e._queryList=gv(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(i=>i+1))}function sP(t,n){let e=t._lView,i=t._queryIndex;if(e===void 0||i===void 0||e[X]&4)return n?void 0:Pt;let r=gv(e,i),o=uD(e,i);return r.reset(o,nE),n?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue}function NC(t,n){return iP()}function aP(t,n){return rP()}function lP(t){return Object.getPrototypeOf(t.prototype).constructor}function me(t){let n=lP(t.type),e=!0,i=[t];for(;n;){let r;if(ir(t))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new A(903,!1);r=n.\u0275dir}if(r){if(e){i.push(r);let s=t;s.inputs=Sd(t.inputs),s.inputTransforms=Sd(t.inputTransforms),s.declaredInputs=Sd(t.declaredInputs),s.outputs=Sd(t.outputs);let a=r.hostBindings;a&&hP(t,a);let l=r.viewQuery,c=r.contentQueries;if(l&&uP(t,l),c&&fP(t,c),cP(t,r),KF(t.outputs,r.outputs),ir(r)&&r.data.animation){let d=t.data;d.animation=(d.animation||[]).concat(r.data.animation)}}let o=r.features;if(o)for(let s=0;s<o.length;s++){let a=o[s];a&&a.ngInherit&&a(t),a===me&&(e=!1)}}n=Object.getPrototypeOf(n)}dP(i)}function cP(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let i=n.inputs[e];if(i!==void 0&&(t.inputs[e]=i,t.declaredInputs[e]=n.declaredInputs[e],n.inputTransforms!==null)){let r=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(r))continue;t.inputTransforms??={},t.inputTransforms[r]=n.inputTransforms[r]}}}function dP(t){let n=0,e=null;for(let i=t.length-1;i>=0;i--){let r=t[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Qa(r.hostAttrs,e=Qa(e,r.hostAttrs))}}function Sd(t){return t===gi?{}:t===Pt?[]:t}function uP(t,n){let e=t.viewQuery;e?t.viewQuery=(i,r)=>{n(i,r),e(i,r)}:t.viewQuery=n}function fP(t,n){let e=t.contentQueries;e?t.contentQueries=(i,r,o)=>{n(i,r,o),e(i,r,o)}:t.contentQueries=n}function hP(t,n){let e=t.hostBindings;e?t.hostBindings=(i,r)=>{n(i,r),e(i,r)}:t.hostBindings=n}function mD(t){let n=e=>{let i=Array.isArray(t);e.hostDirectives===null?(e.findHostDirectiveDefs=gD,e.hostDirectives=i?t.map(ag):[t]):i?e.hostDirectives.unshift(...t.map(ag)):e.hostDirectives.unshift(t)};return n.ngInherit=!0,n}function gD(t,n,e){if(t.hostDirectives!==null)for(let i of t.hostDirectives)if(typeof i=="function"){let r=i();for(let o of r)LC(ag(o),n,e)}else LC(i,n,e)}function LC(t,n,e){let i=kg(t.directive);pP(i.declaredInputs,t.inputs),gD(i,n,e),e.set(i,t),n.push(i)}function ag(t){return typeof t=="function"?{directive:xt(t),inputs:gi,outputs:gi}:{directive:xt(t.directive),inputs:PC(t.inputs),outputs:PC(t.outputs)}}function PC(t){if(t===void 0||t.length===0)return gi;let n={};for(let e=0;e<t.length;e+=2)n[t[e]]=t[e+1];return n}function pP(t,n){for(let e in n)if(n.hasOwnProperty(e)){let i=n[e],r=t[e];t[i]=r}}function vt(t){let n=t.inputConfig,e={};for(let i in n)if(n.hasOwnProperty(i)){let r=n[i];Array.isArray(r)&&r[3]&&(e[i]=r[3])}t.inputTransforms=e}function Nu(t,n,e=null){return new nu({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}function vD(t){return gP(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function mP(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{let e=t[Symbol.iterator](),i;for(;!(i=e.next()).done;)n(i.value)}}function gP(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Lu(t,n,e){return t[n]=e}function vP(t,n){return t[n]}function tn(t,n,e){let i=t[n];return Object.is(i,e)?!1:(t[n]=e,!0)}function yv(t,n,e,i){let r=tn(t,n,e);return tn(t,n+1,i)||r}function yP(t,n,e,i,r){let o=yv(t,n,e,i);return tn(t,n+2,r)||o}function bP(t){return(t.flags&32)===32}function _P(t,n,e,i,r,o,s,a,l){let c=n.consts,d=Rs(n,t,4,s||null,a||null);uv(n,e,d,rr(c,l)),Eu(n,d);let u=d.tView=cv(2,d,i,r,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return n.queries!==null&&(n.queries.template(n,d),u.queries=n.queries.embeddedTView(d)),d}function iu(t,n,e,i,r,o,s,a,l,c){let d=e+mt,u=n.firstCreatePass?_P(d,n,t,i,r,o,s,a,l):n.data[d];go(u,!1);let m=xP(n,t,u,e);Cu()&&Au(n,t,m,u),or(m,t);let h=$E(m,t,m,u);return t[d]=h,Ou(t,h),q1(h,u,t),vu(u)&&av(n,t,u),l!=null&&lv(t,u,c),u}function ie(t,n,e,i,r,o,s,a){let l=J(),c=Ze(),d=rr(c.consts,o);return iu(l,c,t,n,e,i,r,d,s,a),ie}function CP(t,n,e,i){return wu(!0),n[Qe].createComment("")}function fl(t,n){!n?.injector&&jg(fl);let e=n?.injector??y(Me);return EE(e)?(bn("NgAfterRender"),bD(t,e,n,!1)):_D}function Fn(t,n){!n?.injector&&jg(Fn);let e=n?.injector??y(Me);return EE(e)?(bn("NgAfterNextRender"),bD(t,e,n,!0)):_D}function wP(t,n){if(t instanceof Function){let e=[void 0,void 0,void 0,void 0];return e[n]=t,e}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function bD(t,n,e,i){let r=n.get(yD);r.impl??=n.get(dg);let o=e?.phase??fs.MixedReadWrite,s=e?.manualCleanup!==!0?n.get(Du):null,a=new ug(r.impl,wP(t,o),i,s);return r.impl.register(a),a}function Ie(t,n,e,i){let r=J(),o=vo();if(tn(r,o,n)){let s=Ze(),a=xu();a1(a,r,t,n,e,i)}return Ie}function xD(t,n,e,i){return tn(t,vo(),e)?n+oo(e)+i:nn}function EP(t,n,e,i,r,o){let s=aN(),a=yv(t,s,e,r);return Gg(2),a?n+oo(e)+i+oo(r)+o:nn}function Md(t,n){return t<<17|n<<2}function mo(t){return t>>17&32767}function DP(t){return(t&2)==2}function IP(t,n){return t&131071|n<<17}function fg(t){return t|2}function Ds(t){return(t&131068)>>2}function mm(t,n){return t&-131069|n<<2}function SP(t){return(t&1)===1}function hg(t){return t|1}function MP(t,n,e,i,r,o){let s=o?n.classBindings:n.styleBindings,a=mo(s),l=Ds(s);t[i]=e;let c=!1,d;if(Array.isArray(e)){let u=e;d=u[1],(d===null||ol(u,d)>0)&&(c=!0)}else d=e;if(r)if(l!==0){let m=mo(t[a+1]);t[i+1]=Md(m,a),m!==0&&(t[m+1]=mm(t[m+1],i)),t[a+1]=IP(t[a+1],i)}else t[i+1]=Md(a,0),a!==0&&(t[a+1]=mm(t[a+1],i)),a=i;else t[i+1]=Md(l,0),a===0?a=i:t[l+1]=mm(t[l+1],i),l=i;c&&(t[i+1]=fg(t[i+1])),jC(t,d,i,!0),jC(t,d,i,!1),AP(n,d,t,i,o),s=Md(a,l),o?n.classBindings=s:n.styleBindings=s}function AP(t,n,e,i,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof n=="string"&&ol(o,n)>=0&&(e[i+1]=hg(e[i+1]))}function jC(t,n,e,i){let r=t[e+1],o=n===null,s=i?mo(r):Ds(r),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],c=t[s+1];TP(l,n)&&(a=!0,t[s+1]=i?hg(c):fg(c)),s=i?mo(c):Ds(c)}a&&(t[e+1]=i?fg(r):hg(r))}function TP(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?ol(t,n)>=0:!1}function RP(t){return t.substring(Rn.key,Rn.keyEnd)}function OP(t){return FP(t),CD(t,wD(t,0,Rn.textEnd))}function CD(t,n){let e=Rn.textEnd;return e===n?-1:(n=Rn.keyEnd=kP(t,Rn.key=n,e),wD(t,n,e))}function FP(t){Rn.key=0,Rn.keyEnd=0,Rn.value=0,Rn.valueEnd=0,Rn.textEnd=t.length}function wD(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function kP(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function M(t,n,e){let i=J(),r=vo();if(tn(i,r,n)){let o=Ze(),s=xu();dv(o,s,i,t,n,i[Qe],e,!1)}return M}function pg(t,n,e,i,r){let o=n.inputs,s=r?"class":"style";fv(t,e,o[s],s,i)}function bo(t,n,e){return DD(t,n,e,!1),bo}function ae(t,n){return DD(t,n,null,!0),ae}function _o(t){ID(BP,ED,t,!0)}function ED(t,n){for(let e=OP(n);e>=0;e=CD(n,e))hu(t,RP(n),!0)}function DD(t,n,e,i){let r=J(),o=Ze(),s=Gg(2);if(o.firstUpdatePass&&MD(o,t,s,i),n!==nn&&tn(r,s,n)){let a=o.data[Ci()];AD(o,a,r,r[Qe],t,r[s+1]=zP(n,e),i,s)}}function ID(t,n,e,i){let r=Ze(),o=Gg(2);r.firstUpdatePass&&MD(r,null,o,i);let s=J();if(e!==nn&&tn(s,o,e)){let a=r.data[Ci()];if(TD(a,i)&&!SD(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(e=_m(l,e||"")),pg(r,a,s,e,i)}else UP(r,a,s,s[Qe],s[o+1],s[o+1]=VP(t,n,e),i,o)}}function SD(t,n){return n>=t.expandoStartIndex}function MD(t,n,e,i){let r=t.data;if(r[e+1]===null){let o=r[Ci()],s=SD(t,e);TD(o,i)&&n===null&&!s&&(n=!1),n=NP(r,o,n,i),MP(r,o,n,e,s,i)}}function NP(t,n,e,i){let r=fN(t),o=i?n.residualClasses:n.residualStyles;if(r===null)(i?n.classBindings:n.styleBindings)===0&&(e=gm(null,t,n,e,i),e=nl(e,n.attrs,i),o=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==r)if(e=gm(r,t,n,e,i),o===null){let l=LP(t,n,i);l!==void 0&&Array.isArray(l)&&(l=gm(null,t,n,l[1],i),l=nl(l,n.attrs,i),PP(t,n,i,l))}else o=jP(t,n,i)}return o!==void 0&&(i?n.residualClasses=o:n.residualStyles=o),e}function LP(t,n,e){let i=e?n.classBindings:n.styleBindings;if(Ds(i)!==0)return t[mo(i)]}function PP(t,n,e,i){let r=e?n.classBindings:n.styleBindings;t[mo(r)]=i}function jP(t,n,e){let i,r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++){let s=t[o].hostAttrs;i=nl(i,s,e)}return nl(i,n.attrs,e)}function gm(t,n,e,i,r){let o=null,s=e.directiveEnd,a=e.directiveStylingLast;for(a===-1?a=e.directiveStart:a++;a<s&&(o=n[a],i=nl(i,o.hostAttrs,r),o!==t);)a++;return t!==null&&(e.directiveStylingLast=a),i}function nl(t,n,e){let i=e?1:2,r=-1;if(n!==null)for(let o=0;o<n.length;o++){let s=n[o];typeof s=="number"?r=s:r===i&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),hu(t,s,e?!0:n[++o]))}return t===void 0?null:t}function VP(t,n,e){if(e==null||e==="")return Pt;let i=[],r=yn(e);if(Array.isArray(r))for(let o=0;o<r.length;o++)t(i,r[o],!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&t(i,o,r[o]);else typeof r=="string"&&n(i,r);return i}function BP(t,n,e){let i=String(n);i!==""&&!i.includes(" ")&&hu(t,i,e)}function UP(t,n,e,i,r,o,s,a){r===nn&&(r=Pt);let l=0,c=0,d=0<r.length?r[0]:null,u=0<o.length?o[0]:null;for(;d!==null||u!==null;){let m=l<r.length?r[l+1]:void 0,h=c<o.length?o[c+1]:void 0,v=null,b;d===u?(l+=2,c+=2,m!==h&&(v=u,b=h)):u===null||d!==null&&d<u?(l+=2,v=d):(c+=2,v=u,b=h),v!==null&&AD(t,n,e,i,v,b,s,a),d=l<r.length?r[l]:null,u=c<o.length?o[c]:null}}function AD(t,n,e,i,r,o,s,a){if(!(n.type&3))return;let l=t.data,c=l[a+1],d=SP(c)?VC(l,n,e,r,Ds(c),s):void 0;if(!ru(d)){ru(o)||DP(c)&&(o=VC(l,null,e,r,a,s));let u=Iw(Ci(),e);jL(i,s,u,r,o)}}function VC(t,n,e,i,r,o){let s=n===null,a;for(;r>0;){let l=t[r],c=Array.isArray(l),d=c?l[1]:l,u=d===null,m=e[r+1];m===nn&&(m=u?Pt:void 0);let h=u?am(m,i):d===i?m:void 0;if(c&&!ru(h)&&(h=am(l,i)),ru(h)&&(a=h,s))return a;let v=t[r+1];r=s?mo(v):Ds(v)}if(n!==null){let l=o?n.residualClasses:n.residualStyles;l!=null&&(a=am(l,i))}return a}function ru(t){return t!==void 0}function zP(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=jt(yn(t)))),t}function TD(t,n){return(t.flags&(n?8:16))!==0}function Pu(t,n,e){let i=J(),r=xD(i,t,n,e);ID(hu,ED,r,!0)}function vm(t,n,e,i,r){return t===e&&Object.is(n,i)?1:Object.is(r(t,n),r(e,i))?-1:0}function $P(t,n,e){let i,r,o=0,s=t.length-1,a=void 0;if(Array.isArray(n)){let l=n.length-1;for(;o<=s&&o<=l;){let c=t.at(o),d=n[o],u=vm(o,c,o,d,e);if(u!==0){u<0&&t.updateValue(o,d),o++;continue}let m=t.at(s),h=n[l],v=vm(s,m,l,h,e);if(v!==0){v<0&&t.updateValue(s,h),s--,l--;continue}let b=e(o,c),E=e(s,m),S=e(o,d);if(Object.is(S,E)){let B=e(l,h);Object.is(B,b)?(t.swap(o,s),t.updateValue(s,h),l--,s--):t.move(s,o),t.updateValue(o,d),o++;continue}if(i??=new ou,r??=UC(t,o,s,e),gg(t,i,o,S))t.updateValue(o,d),o++,s++;else if(r.has(S))i.set(b,t.detach(o)),s--;else{let B=t.create(o,n[o]);t.attach(o,B),o++,s++}}for(;o<=l;)BC(t,i,e,o,n[o]),o++}else if(n!=null){let l=n[Symbol.iterator](),c=l.next();for(;!c.done&&o<=s;){let d=t.at(o),u=c.value,m=vm(o,d,o,u,e);if(m!==0)m<0&&t.updateValue(o,u),o++,c=l.next();else{i??=new ou,r??=UC(t,o,s,e);let h=e(o,u);if(gg(t,i,o,h))t.updateValue(o,u),o++,s++,c=l.next();else if(!r.has(h))t.attach(o,t.create(o,u)),o++,s++,c=l.next();else{let v=e(o,d);i.set(v,t.detach(o)),s--}}}for(;!c.done;)BC(t,i,e,t.length,c.value),c=l.next()}for(;o<=s;)t.destroy(t.detach(s--));i?.forEach(l=>{t.destroy(l)})}function gg(t,n,e,i){return n!==void 0&&n.has(i)?(t.attach(e,n.get(i)),n.delete(i),!0):!1}function BC(t,n,e,i,r){if(gg(t,n,i,e(i,r)))t.updateValue(i,r);else{let o=t.create(i,r);t.attach(i,o)}}function UC(t,n,e,i){let r=new Set;for(let o=n;o<=e;o++)r.add(i(o,t.at(o)));return r}function ot(t,n){bn("NgControlFlow");let e=J(),i=vo(),r=e[i]!==nn?e[i]:-1,o=r!==-1?su(e,mt+r):void 0,s=0;if(tn(e,i,t)){let a=ve(null);try{if(o!==void 0&&QE(o,s),t!==-1){let l=mt+t,c=su(e,l),d=_g(e[ne],l),u=Cs(c,d.tView.ssrId),m=dl(e,d,n,{dehydratedView:u});ul(c,m,s,xs(d,u))}}finally{ve(a)}}else if(o!==void 0){let a=KE(o,s);a!==void 0&&(a[Mt]=n)}}function RD(t){return t}function OD(t,n,e,i,r,o,s,a,l,c,d,u,m){bn("NgControlFlow");let h=J(),v=Ze(),b=l!==void 0,E=J(),S=a?s.bind(E[Xt][Mt]):s,B=new yg(b,S);E[mt+t]=B,iu(h,v,t+1,n,e,i,r,rr(v.consts,o)),b&&iu(h,v,t+2,l,c,d,u,rr(v.consts,m))}function FD(t){let n=ve(null),e=Ci();try{let i=J(),r=i[ne],o=i[e],s=e+1,a=su(i,s);if(o.liveCollection===void 0){let c=_g(r,s);o.liveCollection=new bg(a,i,c)}else o.liveCollection.reset();let l=o.liveCollection;if($P(l,t,o.trackByFn),l.updateIndexes(),o.hasEmptyBlock){let c=vo(),d=l.length===0;if(tn(i,c,d)){let u=e+2,m=su(i,u);if(d){let h=_g(r,u),v=Cs(m,h.tView.ssrId),b=dl(i,h,void 0,{dehydratedView:v});ul(m,b,0,xs(h,v))}else QE(m,0)}}}finally{ve(n)}}function su(t,n){return t[n]}function HP(t,n){return el(t,n)}function GP(t,n){return KE(t,n)}function _g(t,n){return Bg(t,n)}function WP(t,n,e,i,r,o){let s=n.consts,a=rr(s,r),l=Rs(n,t,2,i,a);return uv(n,e,l,rr(s,o)),l.attrs!==null&&Jd(l,l.attrs,!1),l.mergedAttrs!==null&&Jd(l,l.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,l),l}function I(t,n,e,i){let r=J(),o=Ze(),s=mt+t,a=r[Qe],l=o.firstCreatePass?WP(s,o,r,n,e,i):o.data[s],c=qP(o,r,l,a,n,t);r[s]=c;let d=vu(l);return go(l,!0),NE(a,c,l),!bP(l)&&Cu()&&Au(o,r,c,l),eN()===0&&or(c,r),tN(),d&&(av(o,r,l),sv(o,l,r)),i!==null&&lv(r,l),I}function T(){let t=wt();$g()?Hg():(t=t.parent,go(t,!1));let n=t;iN(n)&&rN(),nN();let e=Ze();return e.firstCreatePass&&(Eu(e,t),Vg(t)&&e.queries.elementEnd(t)),n.classesWithoutHost!=null&&_N(n)&&pg(e,n,J(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&xN(n)&&pg(e,n,J(),n.stylesWithoutHost,!1),T}function Q(t,n,e,i){return I(t,n,e,i),T(),Q}function YP(t,n,e,i,r){let o=n.consts,s=rr(o,i),a=Rs(n,t,8,"ng-container",s);s!==null&&Jd(a,s,!0);let l=rr(o,r);return uv(n,e,a,l),n.queries!==null&&n.queries.elementStart(n,a),a}function kD(t,n,e){let i=J(),r=Ze(),o=t+mt,s=r.firstCreatePass?YP(o,r,i,n,e):r.data[o];go(s,!0);let a=KP(r,i,s,t);return i[o]=a,Cu()&&Au(r,i,a,s),or(a,i),vu(s)&&(av(r,i,s),sv(r,s,i)),e!=null&&lv(i,s),kD}function ND(){let t=wt(),n=Ze();return $g()?Hg():(t=t.parent,go(t,!1)),n.firstCreatePass&&(Eu(n,t),Vg(t)&&n.queries.elementEnd(t)),ND}function hl(t,n,e){return kD(t,n,e),ND(),hl}function Pe(){return J()}function ur(t,n,e){let i=J(),r=vo();if(tn(i,r,n)){let o=Ze(),s=xu();dv(o,s,i,t,n,i[Qe],e,!0)}return ur}function ZP(t){typeof t=="string"&&(QP=t.toLowerCase().replace(/_/g,"-"))}function ee(t,n,e,i){let r=J(),o=Ze(),s=wt();return LD(o,r,r[Qe],s,t,n,i),ee}function JP(t,n,e,i){let r=t.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let s=r[o];if(s===e&&r[o+1]===i){let a=n[Ud],l=r[o+2];return a.length>l?a[l]:null}typeof s=="string"&&(o+=2)}return null}function LD(t,n,e,i,r,o,s){let a=vu(i),c=t.firstCreatePass&&WE(t),d=n[Mt],u=GE(n),m=!0;if(i.type&3||s){let b=vn(i,n),E=s?s(b):b,S=u.length,B=s?De=>s(Yn(De[i.index])):i.index,G=null;if(!s&&a&&(G=JP(t,n,r,i.index)),G!==null){let De=G.__ngLastListenerFn__||G;De.__ngNextListenerFn__=o,G.__ngLastListenerFn__=o,m=!1}else{o=$C(i,n,d,o),XP(b,r,o);let De=e.listen(E,r,o);u.push(o,De),c&&c.push(r,B,S,S+1)}}else o=$C(i,n,d,o);let h=i.outputs,v;if(m&&h!==null&&(v=h[r])){let b=v.length;if(b)for(let E=0;E<b;E+=2){let S=v[E],B=v[E+1],nt=n[S][B].subscribe(o),Te=u.length;u.push(o,nt),c&&c.push(r,i.index,Te,-(Te+1))}}}function zC(t,n,e,i){let r=ve(null);try{return Hn(6,n,e),e(i)!==!1}catch(o){return qE(t,o),!1}finally{Hn(7,n,e),ve(r)}}function $C(t,n,e,i){return function r(o){if(o===Function)return i;let s=t.componentOffset>-1?cr(t.index,n):n;pv(s,5);let a=zC(n,e,i,o),l=r.__ngNextListenerFn__;for(;l;)a=zC(n,e,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function H(t=1){return pN(t)}function ej(t,n){let e=null,i=Dk(t);for(let r=0;r<n.length;r++){let o=n[r];if(o==="*"){e=r;continue}if(i===null?lw(t,o,!0):Mk(i,o))return r}return e}function on(t){let n=J()[Xt][Wt];if(!n.projection){let e=t?t.length:1,i=n.projection=gk(e,null),r=i.slice(),o=n.child;for(;o!==null;){if(o.type!==128){let s=t?ej(o,t):0;s!==null&&(r[s]?r[s].projectionNext=o:i[s]=o,r[s]=o)}o=o.next}}}function Ge(t,n=0,e,i,r,o){let s=J(),a=Ze(),l=i?t+1:null;l!==null&&iu(s,a,l,i,r,o,null,e);let c=Rs(a,mt+t,16,null,e||null);c.projection===null&&(c.projection=n),Hg();let u=!s[vs]||Ow();s[Xt][Wt].projection[c.projection]===null&&l!==null?tj(s,a,l):u&&(c.flags&32)!==32&&LL(a,s,c)}function tj(t,n,e){let i=mt+e,r=n.data[i],o=t[i],s=Cs(o,r.tView.ssrId),a=dl(t,r,void 0,{dehydratedView:s});ul(o,a,0,xs(r,s))}function kn(t,n,e,i){cD(t,n,e,i)}function Be(t,n,e){J1(t,n,e)}function Ce(t){let n=J(),e=Ze(),i=Wg();_u(i+1);let r=vv(e,i);if(t.dirty&&Qk(n)===((r.metadata.flags&2)===2)){if(r.matches===null)t.reset([]);else{let o=uD(n,i);t.reset(o,nE),t.notifyOnChanges()}return!0}return!1}function we(){return gv(J(),Wg())}function PD(t,n,e,i,r){oP(n,cD(t,e,i,r))}function jD(t=1){_u(Wg()+t)}function nj(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}function qt(t){let n=sN();return Ug(n,mt+t)}function le(t,n=""){let e=J(),i=Ze(),r=t+mt,o=i.firstCreatePass?Rs(i,r,1,n,null):i.data[r],s=ij(i,e,o,n,t);e[r]=s,Cu()&&Au(i,e,s,o),go(o,!1)}function ft(t){return Je("",t,""),ft}function Je(t,n,e){let i=J(),r=xD(i,t,n,e);return r!==nn&&YE(i,Ci(),r),Je}function bv(t,n,e,i,r){let o=J(),s=EP(o,t,n,e,i,r);return s!==nn&&YE(o,Ci(),s),bv}function Os(t,n,e){fD(n)&&(n=n());let i=J(),r=vo();if(tn(i,r,n)){let o=Ze(),s=xu();dv(o,s,i,t,n,i[Qe],e,!1)}return Os}function pl(t,n){let e=fD(t);return e&&t.set(n),e}function Fs(t,n){let e=J(),i=Ze(),r=wt();return LD(i,e,e[Qe],r,t,n),Fs}function rj(t,n,e){let i=Ze();if(i.firstCreatePass){let r=ir(t);xg(e,i.data,i.blueprint,r,!0),xg(n,i.data,i.blueprint,r,!1)}}function xg(t,n,e,i,r){if(t=xt(t),Array.isArray(t))for(let o=0;o<t.length;o++)xg(t[o],n,e,i,r);else{let o=Ze(),s=J(),a=wt(),l=gs(t)?t:xt(t.provide),c=vw(t),d=a.providerIndexes&1048575,u=a.directiveStart,m=a.providerIndexes>>20;if(gs(t)||!t.multi){let h=new fo(c,r,p),v=bm(l,n,r?d:d+m,u);v===-1?(Fm(qd(a,s),o,l),ym(o,t,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(h),s.push(h)):(e[v]=h,s[v]=h)}else{let h=bm(l,n,d+m,u),v=bm(l,n,d,d+m),b=h>=0&&e[h],E=v>=0&&e[v];if(r&&!E||!r&&!b){Fm(qd(a,s),o,l);let S=aj(r?sj:oj,e.length,r,i,c);!r&&E&&(e[v].providerFactory=S),ym(o,t,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(S),s.push(S)}else{let S=VD(e[r?v:h],c,!r&&i);ym(o,t,h>-1?h:v,S)}!r&&i&&E&&e[v].componentProviders++}}}function ym(t,n,e,i){let r=gs(n),o=jk(n);if(r||o){let l=(o?xt(n.useClass):n).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&n.multi){let d=c.indexOf(e);d===-1?c.push(e,[i,l]):c[d+1].push(i,l)}else c.push(e,l)}}}function VD(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function bm(t,n,e,i){for(let r=e;r<i;r++)if(n[r]===t)return r;return-1}function oj(t,n,e,i){return Cg(this.multi,[])}function sj(t,n,e,i){let r=this.multi,o;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=ho(e,e[ne],this.providerFactory.index,i);o=a.slice(0,s),Cg(r,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],Cg(r,o);return o}function Cg(t,n){for(let e=0;e<t.length;e++){let i=t[e];n.push(i())}return n}function aj(t,n,e,i,r){let o=new fo(t,e,p);return o.multi=[],o.index=n,o.componentProviders=0,VD(o,r,i&&!e),o}function Ot(t,n=[]){return e=>{e.providersResolver=(i,r)=>rj(i,r?r(t):t,n)}}function Ee(t){bn("NgStandalone"),t.getStandaloneInjector=n=>n.get(lj).getOrCreateStandaloneInjector(t)}function ju(t,n,e){let i=Ms()+t,r=J();return r[i]===nn?Lu(r,i,e?n.call(e):n()):vP(r,i)}function BD(t,n,e,i){return $D(J(),Ms(),t,n,e,i)}function UD(t,n,e,i,r){return HD(J(),Ms(),t,n,e,i,r)}function zD(t,n,e,i,r,o){return cj(J(),Ms(),t,n,e,i,r,o)}function _v(t,n){let e=t[n];return e===nn?void 0:e}function $D(t,n,e,i,r,o){let s=n+e;return tn(t,s,r)?Lu(t,s+1,o?i.call(o,r):i(r)):_v(t,s+1)}function HD(t,n,e,i,r,o,s){let a=n+e;return yv(t,a,r,o)?Lu(t,a+2,s?i.call(s,r,o):i(r,o)):_v(t,a+2)}function cj(t,n,e,i,r,o,s,a){let l=n+e;return yP(t,l,r,o,s)?Lu(t,l+3,a?i.call(a,r,o,s):i(r,o,s)):_v(t,l+3)}function de(t,n){let e=Ze(),i,r=t+mt;e.firstCreatePass?(i=dj(n,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks??=[]).push(r,i.onDestroy)):i=e.data[r];let o=i.factory||(i.factory=so(i.type,!0)),s,a=Ht(p);try{let l=Wd(!1),c=o();return Wd(l),nj(e,J(),r,c),c}finally{Ht(a)}}function dj(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function ge(t,n,e){let i=t+mt,r=J(),o=Ug(r,i);return GD(r,i)?$D(r,Ms(),n,o.transform,e,o):o.transform(e)}function ks(t,n,e,i){let r=t+mt,o=J(),s=Ug(o,r);return GD(o,r)?HD(o,Ms(),n,s.transform,e,i,s):s.transform(e,i)}function GD(t,n){return t[ne].data[n].pure}function xo(t,n){return Fu(t,n)}function Co(t){return!!t&&typeof t.then=="function"}function qD(t){return!!t&&typeof t.subscribe=="function"}function uj(){F0(()=>{throw new A(600,!1)})}function fj(t){return t.isBoundToModule}function pj(t,n,e){try{let i=e();return Co(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}function Nd(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function mj(t,n,e,i){if(!e&&!yu(t))return;JE(t,n,e&&!i?0:1)}function vj({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:e}){return t??=()=>new F(se(x({},yj()),{scheduleInRootZone:e})),[{provide:F,useFactory:t},{provide:ms,multi:!0,useFactory:()=>{let i=y(gj,{optional:!0});return()=>i.initialize()}},{provide:ms,multi:!0,useFactory:()=>{let i=y(bj);return()=>{i.initialize()}}},n===!0?{provide:iD,useValue:!0}:[],{provide:rD,useValue:e??Jw}]}function yj(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function xj(){return typeof $localize<"u"&&$localize.locale||au}function Ad(t){return!t.moduleRef}function Cj(t){let n=Ad(t)?t.r3Injector:t.moduleRef.injector,e=n.get(F);return e.run(()=>{Ad(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(Gt,null),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:o=>{i.handleError(o)}})}),Ad(t)){let o=()=>n.destroy(),s=t.platformInjector.get(Eg);s.add(o),n.onDestroy(()=>{r.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(Eg);s.add(o),t.moduleRef.onDestroy(()=>{Nd(t.allPlatformModules,t.moduleRef),r.unsubscribe(),s.delete(o)})}return pj(i,e,()=>{let o=n.get(YD);return o.runInitializers(),o.donePromise.then(()=>{let s=n.get(zu,au);if(ZP(s||au),Ad(t)){let a=n.get(_n);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return wj(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function wj(t,n){let e=t.injector.get(_n);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>e.bootstrap(i));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new A(-403,!1);n.push(t)}function Ej(t=[],n){return Me.create({name:n,providers:[{provide:pu,useValue:"platform"},{provide:Eg,useValue:new Set([()=>Ld=null])},...t]})}function Dj(t=[]){if(Ld)return Ld;let n=Ej(t);return Ld=n,uj(),Ij(n),n}function Ij(t){t.get(Xg,null)?.forEach(e=>e())}function Sj(t){return Mj(wt(),J(),(t&16)===16)}function Mj(t,n,e){if(gu(t)&&!e){let i=cr(t.index,n);return new po(i,i)}else if(t.type&175){let i=n[Xt];return new po(i,n)}return null}function HC(t,n,e){let i=t.previousIndex;if(i===null)return i;let r=0;return e&&i<e.length&&(r=e[i]),i+n+r}function GC(){return new $u([new Dg])}function xv(t){try{let{rootComponent:n,appProviders:e,platformProviders:i}=t,r=Dj(i),o=[vj({}),{provide:ws,useExisting:_j},...e||[]],s=new nu({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1});return Cj({r3Injector:s.injector,platformInjector:r,rootComponent:n})}catch(n){return Promise.reject(n)}}function Ae(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Si(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}function Mi(t,n){bn("NgSignals");let e=pp(t);return n?.equal&&(e[hn].equal=n.equal),e}function xn(t){let n=ve(null);try{return t()}finally{ve(n)}}function Cv(t,n){bn("NgSignals"),!n?.injector&&jg(Cv);let e=n?.injector??y(Me),i=n?.manualCleanup!==!0?e.get(Du):null,r=new Tg(e.get(Tj),t,typeof Zone>"u"?null:Zone.current,i,e,n?.allowSignalWrites??!1),o=e.get(et,null,{optional:!0});return!o||!(o._lView[X]&8)?r.watcher.notify():(o._lView[Rd]??=[]).push(r.watcher.notify),r}function KD(t){let n=nr(t);if(!n)return null;let e=new Es(n);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var WC,A,wd,Ya,QF,QC,rC,ZC,XF,C,JF,ek,tk,nk,Pd,qa,oC,he,xm,ok,Ka,Cm,jd,sk,ak,lk,sC,hs,rl,fu,gi,Pt,ms,iw,rw,Bd,ow,Wn,tr,aw,Nk,pu,Td,Vk,lm,Ct,Za,_i,ne,X,Tt,On,Wt,vs,Ud,Mt,ys,qn,Qe,Xa,uC,Ss,Xt,ao,ds,vi,mu,bw,Ji,Rd,mn,mt,_w,lo,zd,bs,At,$d,Ja,ww,fC,Hn,Dw,Kk,ce,Tw,Vw,Uw,ps,fo,dm,Rm,Om,wN,Hw,Gw,EN,Gn,ro,Me,RN,ON,Jw,Du,Nm,wi,Lm,P,Qg,Kd,kN,F,NN,jm,Gt,BN,j,_s,rE,$N,xC,Bm,ll,WN,Xg,gt,rt,yo,qN,YN,KN,dE,QN,Ed,Dd,yi,Um,zm,$m,Hm,Gm,Wm,qm,tL,vE,yE,bE,nL,iL,rL,EC,_E,oL,sL,aL,lL,Ym,fL,hL,Id,Et,vL,yL,bL,bi,xL,kL,AC,nn,GL,ZE,y1,_1,x1,po,Jt,I1,S1,yY,A1,ws,mv,iD,rD,Jm,Xd,R1,eg,en,sr,Qn,F1,eu,Es,tg,Rt,$1,oD,G1,W1,ng,ig,tu,rg,og,kC,pD,ar,tl,lg,cg,nu,xP,fs,yD,dg,ug,_D,Rn,mg,ou,vg,yg,bg,qP,KP,au,QP,XP,ij,lj,Kn,Vu,WD,Bu,YD,Ns,hj,_n,wg,Uu,gj,bj,_j,zu,Eg,Ld,et,Dg,Aj,Ig,Sg,Mg,lu,$u,Tj,Rj,Ag,Tg,D=f(()=>{"use strict";j0();Re();ct();WC="https://g.co/ng/security#xss",A=class extends Error{constructor(n,e){super(cu(n,e)),this.code=n}};wd="__parameters__";Ya=globalThis;QF=je({__forward_ref__:je});QC=je({\u0275prov:je}),rC=je({\u0275inj:je}),ZC=je({ngInjectableDef:je}),XF=je({ngInjectorDef:je}),C=class{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=_({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};JF=je({\u0275cmp:je}),ek=je({\u0275dir:je}),tk=je({\u0275pipe:je}),nk=je({\u0275mod:je}),Pd=je({\u0275fac:je}),qa=je({__NG_ELEMENT_ID__:je}),oC=je({__NG_ENV_ID__:je});he=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(he||{});ok={},Ka=ok,Cm="__NG_DI_FLAG__",jd="ngTempTokenPath",sk="ngTokenPath",ak=/\n/gm,lk="\u0275",sC="__source";rl=tw(qC("Optional"),8),fu=tw(qC("SkipSelf"),4);gi={},Pt=[],ms=new C(""),iw=new C("",-1),rw=new C(""),Bd=class{get(n,e=Ka){if(e===Ka){let i=new Error(`NullInjectorError: No provider for ${jt(n)}!`);throw i.name="NullInjectorError",i}return e}},ow=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(ow||{}),Wn=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Wn||{}),tr=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(tr||{});aw="ng-template";Nk=je({provide:String,useValue:je});pu=new C(""),Td={},Vk={};Ct=class{},Za=class extends Ct{get destroyed(){return this._destroyed}constructor(n,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Sm(n,s=>this.processProvider(s)),this.records.set(iw,cs(void 0,this)),r.has("environment")&&this.records.set(Ct,cs(void 0,this));let o=this.records.get(pu);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(rw,Pt,he.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let n=ve(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ve(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();let e=Xi(this),i=Ht(void 0),r;try{return n()}finally{Xi(e),Ht(i)}}get(n,e=Ka,i=he.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(oC))return n[oC](this);i=uu(i);let r,o=Xi(this),s=Ht(void 0);try{if(!(i&he.SkipSelf)){let l=this.records.get(n);if(l===void 0){let c=Hk(n)&&du(n);c&&this.injectableDefInScope(c)?l=cs(Im(n),Td):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l)}let a=i&he.Self?Pg():this.parent;return e=i&he.Optional&&e===Ka?null:e,a.get(n,e)}catch(a){if(a.name==="NullInjectorError"){if((a[jd]=a[jd]||[]).unshift(jt(n)),o)throw a;return fk(a,n,"R3InjectorError",this.source)}else throw a}finally{Ht(s),Xi(o)}}resolveInjectorInitializers(){let n=ve(null),e=Xi(this),i=Ht(void 0),r;try{let o=this.get(ms,Pt,he.Self);for(let s of o)s()}finally{Xi(e),Ht(i),ve(n)}}toString(){let n=[],e=this.records;for(let i of e.keys())n.push(jt(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new A(205,!1)}processProvider(n){n=xt(n);let e=gs(n)?n:xt(n&&n.provide),i=Uk(n);if(!gs(n)&&n.multi===!0){let r=this.records.get(e);r||(r=cs(void 0,Td,!0),r.factory=()=>wm(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e){let i=ve(null);try{return e.value===Td&&(e.value=Vk,e.value=e.factory()),typeof e.value=="object"&&e.value&&$k(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{ve(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=xt(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};_i=0,ne=1,X=2,Tt=3,On=4,Wt=5,vs=6,Ud=7,Mt=8,ys=9,qn=10,Qe=11,Xa=12,uC=13,Ss=14,Xt=15,ao=16,ds=17,vi=18,mu=19,bw=20,Ji=21,Rd=22,mn=23,mt=25,_w=1,lo=7,zd=8,bs=9,At=10,$d=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}($d||{});Ja=class{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};Ve.ngInherit=!0;ww="__ngSimpleChanges__";fC=null,Hn=function(t,n,e){fC?.(t,n,e)},Dw="svg",Kk="math";ce={lFrame:Pw(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Tw=!1;Vw=jw;Uw=!0;ps=-1,fo=class{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}};dm={},Rm=class{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=uu(i);let r=this.injector.get(n,dm,i);return r!==dm||e===dm?r:this.parentInjector.get(n,e,i)}};Om=!0;wN=256,Hw=wN-1,Gw=5,EN=0,Gn={};ro=class{constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return Kw(this._tNode,this._lView,n,uu(i),e)}};Me=class t{static{this.THROW_IF_NOT_FOUND=Ka}static{this.NULL=new Bd}static create(n,e){if(Array.isArray(n))return vC({name:""},e,n,"");{let i=n.name??"";return vC({name:i},n.parent,n.providers,i)}}static{this.\u0275prov=_({token:t,providedIn:"any",factory:()=>g(iw)})}static{this.__NG_ELEMENT_ID__=-1}};RN=new C("");RN.__NG_ELEMENT_ID__=t=>{let n=wt();if(n===null)throw new A(204,!1);if(n.type&2)return n.value;if(t&he.Optional)return null;throw new A(204,!1)};ON="ngOriginalError";Jw=!0,Du=(()=>{class t{static{this.__NG_ELEMENT_ID__=FN}static{this.__NG_ENV_ID__=e=>e}}return t})(),Nm=class extends Du{constructor(n){super(),this._lView=n}onDestroy(n){return Aw(this._lView,n),()=>Jk(this._lView,n)}};wi=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new it(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=_({token:t,providedIn:"root",factory:()=>new t})}}return t})(),Lm=class extends R{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,yw()&&(this.destroyRef=y(Du,{optional:!0})??void 0,this.pendingTasks=y(wi,{optional:!0})??void 0)}emit(n){let e=ve(null);try{super.next(n)}finally{ve(e)}}subscribe(n,e,i){let r=n,o=e||(()=>null),s=i;if(n&&typeof n=="object"){let l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:r,error:o,complete:s});return n instanceof _e&&n.add(a),a}wrapInTimeout(n){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{n(e),i!==void 0&&this.pendingTasks?.remove(i)})}}},P=Lm;Qg="isAngularZone",Kd=Qg+"_ID",kN=0,F=class t{constructor(n){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new P(!1),this.onMicrotaskEmpty=new P(!1),this.onStable=new P(!1),this.onError=new P(!1);let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=Jw}=n;if(typeof Zone>"u")throw new A(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&i,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=o,PN(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Qg)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new A(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new A(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,r){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,NN,Yd,Yd);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}},NN={};jm=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new P,this.onMicrotaskEmpty=new P,this.onStable=new P,this.onError=new P}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,r){return n.apply(e,i)}};Gt=class{constructor(){this._console=console}handleError(n){let e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&fm(n);for(;e&&fm(e);)e=fm(e);return e||null}},BN=new C("",{providedIn:"root",factory:()=>{let t=y(F),n=y(Gt);return e=>t.runOutsideAngular(()=>n.handleError(e))}});j=(()=>{class t{constructor(e){this.nativeElement=e}static{this.__NG_ELEMENT_ID__=UN}}return t})();_s=class t{get changes(){return this._changes??=new P}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let e=t.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=zN)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;let i=mk(n);(this._changesDetected=!pk(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};rE=new Map,$N=0;xC="__ngContext__";ll=new C("",{providedIn:"root",factory:()=>WN}),WN="ng",Xg=new C(""),gt=new C("",{providedIn:"platform",factory:()=>"unknown"}),rt=new C(""),yo=new C("",{providedIn:"root",factory:()=>cE().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),qN="h",YN="b",KN=()=>null;dE=!1,QN=new C("",{providedIn:"root",factory:()=>dE});yi=class{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${WC})`}},Um=class extends yi{getTypeName(){return"HTML"}},zm=class extends yi{getTypeName(){return"Style"}},$m=class extends yi{getTypeName(){return"Script"}},Hm=class extends yi{getTypeName(){return"URL"}},Gm=class extends yi{getTypeName(){return"ResourceURL"}};Wm=class{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(Iu(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},qm=class{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=Iu(n),e}};tL=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;vE=Di("area,br,col,hr,img,wbr"),yE=Di("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),bE=Di("rp,rt"),nL=cl(bE,yE),iL=cl(yE,Di("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),rL=cl(bE,Di("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),EC=cl(vE,iL,rL,nL),_E=Di("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),oL=Di("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),sL=Di("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),aL=cl(_E,oL,sL),lL=Di("script,style,template"),Ym=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let e=n.firstChild,i=!0,r=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild){r.push(e),e=uL(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=dL(e);if(o){e=o;break}e=r.pop()}}return this.buf.join("")}startElement(n){let e=DC(n).toLowerCase();if(!EC.hasOwnProperty(e))return this.sanitizedSomething=!0,!lL.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=n.attributes;for(let r=0;r<i.length;r++){let o=i.item(r),s=o.name,a=s.toLowerCase();if(!aL.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;_E[a]&&(l=Su(l)),this.buf.push(" ",s,'="',IC(l),'"')}return this.buf.push(">"),!0}endElement(n){let e=DC(n).toLowerCase();EC.hasOwnProperty(e)&&!vE.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(IC(n))}};fL=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,hL=/([^\#-~ |!])/g;Et=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}(Et||{});vL=/^>|^->|<!--|-->|--!>|<!-$/g,yL=/(<|>)/g,bL="\u200B$1\u200B";bi=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(bi||{});kL=FL;nn={};GL=()=>null;ZE=[];y1=se(x({},Ko),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{bu(t.lView)},consumerOnSignalRead(){this.lView[mn]=this}});_1=se(x({},Ko),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let n=co(t.lView);for(;n&&!XE(n[ne]);)n=co(n);n&&Mw(n)},consumerOnSignalRead(){this.lView[mn]=this}});x1=100;po=class{get rootNodes(){let n=this._lView,e=n[ne];return Zd(e,n,e.firstChild,[])}constructor(n,e,i=!0){this._lView=n,this._cdRefInjectingView=e,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Mt]}set context(n){this._lView[Mt]=n}get destroyed(){return(this._lView[X]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[Tt];if(xi(n)){let e=n[zd],i=e?e.indexOf(this):-1;i>-1&&(el(n,i),Vd(e,i))}this._attachedToViewContainer=!1}Mu(this._lView[ne],this._lView)}onDestroy(n){Aw(this._lView,n)}markForCheck(){pv(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[X]&=-129}reattach(){Am(this._lView),this._lView[X]|=128}detectChanges(){this._lView[X]|=1024,JE(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new A(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Mm(this._lView),e=this._lView[ao];e!==null&&!n&&rv(e,this._lView),IE(this._lView[ne],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new A(902,!1);this._appRef=n;let e=Mm(this._lView),i=this._lView[ao];i!==null&&!e&&SE(i,this._lView),Am(this._lView)}},Jt=(()=>{class t{static{this.__NG_ELEMENT_ID__=M1}}return t})(),I1=Jt,S1=class extends I1{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,e){return this.createEmbeddedViewImpl(n,e)}createEmbeddedViewImpl(n,e,i){let r=dl(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:e,dehydratedView:i});return new po(r)}};yY=new RegExp(`^(\\d+)*(${YN}|${qN})*(.*)`),A1=()=>null;ws=class{},mv=new C("",{providedIn:"root",factory:()=>!1}),iD=new C(""),rD=new C(""),Jm=class{},Xd=class{};R1="ngComponent",eg=class{resolveComponentFactory(n){throw T1(n)}},en=class{static{this.NULL=new eg}},sr=class{},Qn=(()=>{class t{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>O1()}}return t})();F1=(()=>{class t{static{this.\u0275prov=_({token:t,providedIn:"root",factory:()=>null})}}return t})();eu=class extends en{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=nr(n);return new Es(e,this.ngModule)}};Es=class extends Xd{get inputs(){let n=this.componentDef,e=n.inputTransforms,i=OC(n.inputs,!0);if(e!==null)for(let r of i)e.hasOwnProperty(r.propName)&&(r.transform=e[r.propName]);return i}get outputs(){return OC(this.componentDef.outputs,!1)}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=Tk(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}create(n,e,i,r){let o=ve(null);try{r=r||this.ngModule;let s=r instanceof Ct?r:r?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Rm(n,s):n,l=a.get(sr,null);if(l===null)throw new A(407,!1);let c=a.get(F1,null),d=a.get(ws,null),u={rendererFactory:l,sanitizer:c,inlineEffectRunner:null,changeDetectionScheduler:d},m=l.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",v=i?$L(m,i,this.componentDef.encapsulation,a):DE(m,h,k1(h)),b=512;this.componentDef.signals?b|=4096:this.componentDef.onPush||(b|=16);let E=null;v!==null&&(E=Jg(v,a,!0));let S=cv(0,null,null,1,0,null,null,null,null,null,null),B=Ru(null,S,null,b,null,null,u,m,a,null,E);qg(B);let G,De,nt=null;try{let Te=this.componentDef,$e,ht=null;Te.findHostDirectiveDefs?($e=[],ht=new Map,Te.findHostDirectiveDefs(Te,$e,ht),$e.push(Te)):$e=[Te];let ui=N1(B,v);nt=L1(ui,v,Te,$e,B,u,m),De=Bg(S,mt),v&&V1(m,Te,v,i),e!==void 0&&B1(De,this.ngContentSelectors,e),G=j1(nt,Te,$e,ht,B,[U1]),hv(S,B,null)}catch(Te){throw nt!==null&&Vm(nt),Vm(B),Te}finally{Yg()}return new tg(this.componentType,G,As(De,B),B,De)}finally{ve(o)}}},tg=class extends Jm{constructor(n,e,i,r,o){super(),this.location=i,this._rootLView=r,this._tNode=o,this.previousInputValues=null,this.instance=e,this.hostView=this.changeDetectorRef=new po(r,void 0,!1),this.componentType=n}setInput(n,e){let i=this._tNode.inputs,r;if(i!==null&&(r=i[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let o=this._rootLView;fv(o[ne],o,r,n,e),this.previousInputValues.set(n,e);let s=cr(this._tNode.index,o);pv(s,1)}}get injector(){return new ro(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};Rt=(()=>{class t{static{this.__NG_ELEMENT_ID__=z1}}return t})();$1=Rt,oD=class extends $1{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return As(this._hostTNode,this._hostLView)}get injector(){return new ro(this._hostTNode,this._hostLView)}get parentInjector(){let n=Kg(this._hostTNode,this._hostLView);if($w(n)){let e=Gd(n,this._hostLView),i=Hd(n),r=e[ne].data[i+8];return new ro(r,e)}else return new ro(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=FC(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-At}createEmbeddedView(n,e,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let s=Cs(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},o,s);return this.insertImpl(a,r,xs(this._hostTNode,s)),a}createComponent(n,e,i,r,o){let s=n&&!Gk(n),a;if(s)a=e;else{let v=e||{};a=v.index,i=v.injector,r=v.projectableNodes,o=v.environmentInjector||v.ngModuleRef}let l=s?n:new Es(nr(n)),c=i||this.parentInjector;if(!o&&l.ngModule==null){let b=(s?c:this.parentInjector).get(Ct,null);b&&(o=b)}let d=nr(l.componentType??{}),u=Cs(this._lContainer,d?.id??null),m=u?.firstChild??null,h=l.create(c,r,m,o);return this.insertImpl(h.hostView,a,xs(this._hostTNode,u)),h}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let r=n._lView;if(Zk(r)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let l=r[Tt],c=new oD(l,l[Wt],l[Tt]);c.detach(c.indexOf(n))}}let o=this._adjustIndex(e),s=this._lContainer;return ul(s,r,o,i),n.attachToViewContainerRef(),nw(pm(s),o,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=FC(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=el(this._lContainer,e);i&&(Vd(pm(this._lContainer),e),Mu(i[ne],i))}detach(n){let e=this._adjustIndex(n,-1),i=el(this._lContainer,e);return i&&Vd(pm(this._lContainer),e)!=null?new po(i):null}_adjustIndex(n,e=0){return n??this.length+e}};G1=Y1,W1=()=>!1;ng=class t{constructor(n){this.queryList=n,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},ig=class t{constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let i=n.contentQueries!==null?n.contentQueries[0]:e.length,r=[];for(let o=0;o<i;o++){let s=e.getByIndex(o),a=this.queries[s.indexInDeclarationView];r.push(a.clone())}return new t(r)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)vv(n,e).matches!==null&&this.queries[e].setDirty()}},tu=class{constructor(n,e,i=null){this.flags=e,this.read=i,typeof n=="string"?this.predicate=eP(n):this.predicate=n}},rg=class t{constructor(n=[]){this.queries=n}elementStart(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,e)}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n)}embeddedTView(n){let e=null;for(let i=0;i<this.length;i++){let r=e!==null?e.length:0,o=this.getByIndex(i).embeddedTView(n,r);o&&(o.indexInDeclarationView=i,e!==null?e.push(o):e=[o])}return e!==null?new t(e):null}template(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},og=class t{constructor(n,e=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,e){this.elementStart(n,e)}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new t(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,i=n.parent;for(;i!==null&&i.type&8&&i.index!==e;)i=i.parent;return e===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(n,e){let i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){let o=i[r];this.matchTNodeWithReadOption(n,e,K1(e,o)),this.matchTNodeWithReadOption(n,e,kd(e,n,o,!1,!1))}else i===Jt?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,kd(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(i!==null){let r=this.metadata.read;if(r!==null)if(r===j||r===Rt||r===Jt&&e.type&4)this.addMatch(e.index,-2);else{let o=kd(e,n,r,!1,!1);o!==null&&this.addMatch(e.index,o)}else this.addMatch(e.index,i)}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e)}};kC=new Set;pD=(NC.required=aP,NC);ar=class{},tl=class{},lg=class extends ar{constructor(n,e,i,r=!0){super(),this.ngModuleType=n,this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new eu(this);let o=uw(n);this._bootstrapComponents=wE(o.bootstrap),this._r3Injector=Xw(n,e,[{provide:ar,useValue:this},{provide:en,useValue:this.componentFactoryResolver},...i],jt(n),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},cg=class extends tl{constructor(n){super(),this.moduleType=n}create(n){return new lg(this.moduleType,n,[])}},nu=class extends ar{constructor(n){super(),this.componentFactoryResolver=new eu(this),this.instance=null;let e=new Za([...n.providers,{provide:ar,useValue:this},{provide:en,useValue:this.componentFactoryResolver}],n.parent||Pg(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};xP=CP;fs=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(fs||{}),yD=(()=>{class t{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=_({token:t,providedIn:"root",factory:()=>new t})}}return t})(),dg=class t{constructor(){this.ngZone=y(F),this.scheduler=y(ws),this.errorHandler=y(Gt,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[fs.EarlyRead,fs.Write,fs.MixedReadWrite,fs.Read]}execute(){this.executing=!0;for(let n of t.PHASES)for(let e of this.sequences)if(!(e.erroredOrDestroyed||!e.hooks[n]))try{e.pipelinedValue=this.ngZone.runOutsideAngular(()=>e.hooks[n](e.pipelinedValue))}catch(i){e.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(6))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static{this.\u0275prov=_({token:t,providedIn:"root",factory:()=>new t})}},ug=class{constructor(n,e,i,r){this.impl=n,this.hooks=e,this.once=i,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};_D={destroy(){}};Rn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};mg=class{destroy(n){}updateValue(n,e){}swap(n,e){let i=Math.min(n,e),r=Math.max(n,e),o=this.detach(r);if(r-i>1){let s=this.detach(i);this.attach(i,o),this.attach(r,s)}else this.attach(i,o)}move(n,e){this.attach(e,this.detach(n))}};ou=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let i=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,i]of this.kvMap)if(n(i,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),n(i,e)}}};vg=class{constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-At}};yg=class{constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}};bg=class extends mg{constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-At}at(n){return this.getLView(n)[Mt].$implicit}attach(n,e){let i=e[vs];this.needsIndexUpdate||=n!==this.length,ul(this.lContainer,e,n,xs(this.templateTNode,i))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,HP(this.lContainer,n)}create(n,e){let i=Cs(this.lContainer,this.templateTNode.tView.ssrId),r=dl(this.hostLView,this.templateTNode,new vg(this.lContainer,e,n),{dehydratedView:i});return this.operationsCounter?.recordCreate(),r}destroy(n){Mu(n[ne],n),this.operationsCounter?.recordDestroy()}updateValue(n,e){this.getLView(n)[Mt].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[Mt].$index=n}getLView(n){return GP(this.lContainer,n)}};qP=(t,n,e,i,r,o)=>(wu(!0),DE(i,r,gN()));KP=(t,n,e,i)=>(wu(!0),EL(n[Qe],""));au="en-US",QP=au;XP=(t,n,e)=>{};ij=(t,n,e,i,r)=>(wu(!0),CL(n[Qe],i));lj=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=pw(!1,e.type),r=i.length>0?Nu([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=_({token:t,providedIn:"environment",factory:()=>new t(g(Ct))})}}return t})();Kn=class{constructor(n){this.full=n;let e=n.split(".");this.major=e[0],this.minor=e[1],this.patch=e.slice(2).join(".")}},Vu=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"platform"})}}return t})(),WD=new C("");Bu=new C(""),YD=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i}),this.appInits=y(Bu,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let o=r();if(Co(o))e.push(o);else if(qD(o)){let s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});e.push(s)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),e.length===0&&i(),this.initialized=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Ns=new C("");hj=10;_n=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=y(BN),this.afterRenderManager=y(yD),this.zonelessEnabled=y(mv),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new R,this.afterTick=new R,this.componentTypes=[],this.components=[],this.isStable=y(wi).hasPendingTasks.pipe(k(e=>!e)),this._injector=y(Ct)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{e.unsubscribe()})}get injector(){return this._injector}bootstrap(e,i){let r=e instanceof Xd;if(!this._injector.get(YD).done){let m=!r&&dw(e),h=!1;throw new A(405,h)}let s;r?s=e:s=this._injector.get(en).resolveComponentFactory(e),this.componentTypes.push(s.componentType);let a=fj(s)?void 0:this._injector.get(ar),l=i||s.selector,c=s.create(Me.NULL,[],l,a),d=c.location.nativeElement,u=c.injector.get(WD,null);return u?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),Nd(this.components,c),u?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new A(101,!1);let e=ve(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,ve(e),this.afterTick.next()}}synchronize(){let e=null;this._injector.destroyed||(e=this._injector.get(sr,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;this.dirtyFlags!==0&&i++<hj;)this.synchronizeOnce(e)}synchronizeOnce(e){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(i);for(let{_lView:r,notifyErrorHandler:o}of this._views)mj(r,o,i,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&7)return}else e?.begin?.(),e?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>yu(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){let i=e;Nd(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);let i=this._injector.get(Ns,[]);[...this._bootstrapListeners,...i].forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Nd(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new A(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();wg=class{constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}},Uu=(()=>{class t{compileModuleSync(e){return new cg(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let i=this.compileModuleSync(e),r=uw(e),o=wE(r.declarations).reduce((s,a)=>{let l=nr(a);return l&&s.push(new Es(l)),s},[]);return new wg(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),gj=(()=>{class t{constructor(){this.zone=y(F),this.changeDetectionScheduler=y(ws),this.applicationRef=y(_n)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();bj=(()=>{class t{constructor(){this.subscription=new _e,this.initialized=!1,this.zone=y(F),this.pendingTasks=y(wi)}initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{F.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{F.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),_j=(()=>{class t{constructor(){this.appRef=y(_n),this.taskService=y(wi),this.ngZone=y(F),this.zonelessEnabled=y(mv),this.disableScheduling=y(iD,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new _e,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Kd):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(y(rD,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,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 jm||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?yC:eE;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Kd+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(e),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,yC(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();zu=new C("",{providedIn:"root",factory:()=>y(zu,he.Optional|he.SkipSelf)||xj()}),Eg=new C("");Ld=null;et=(()=>{class t{static{this.__NG_ELEMENT_ID__=Sj}}return t})();Dg=class{constructor(){}supports(n){return vD(n)}create(n){return new Ig(n)}},Aj=(t,n)=>n,Ig=class{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||Aj}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){let s=!i||e&&e.currentIndex<HC(i,r,o)?e:i,a=HC(s,r,o),l=s.currentIndex;if(s===i)r--,i=i._nextRemoved;else if(e=e._next,s.previousIndex==null)r++;else{o||(o=[]);let c=a-r,d=l-r;if(c!=d){for(let m=0;m<c;m++){let h=m<o.length?o[m]:o[m]=0,v=h+m;d<=v&&v<c&&(o[m]=h+1)}let u=s.previousIndex;o[u]=d-c}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)n(e)}diff(n){if(n==null&&(n=[]),!vD(n))throw new A(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._itHead,i=!1,r,o,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)o=n[a],s=this._trackByFn(a,o),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,o,s,a),i=!0):(i&&(e=this._verifyReinsertion(e,o,s,a)),Object.is(e.item,o)||this._addIdentityChange(e,o)),e=e._next}else r=0,mP(n,a=>{s=this._trackByFn(r,a),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,a,s,r),i=!0):(i&&(e=this._verifyReinsertion(e,a,s,r)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,r){let o;return n===null?o=this._itTail:(o=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,r)):(n=this._linkedRecords===null?null:this._linkedRecords.get(i,r),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,r)):n=this._addAfter(new Sg(e,i),o,r)),n}_verifyReinsertion(n,e,i,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return o!==null?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let r=n._prevRemoved,o=n._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){let r=e===null?this._itHead:e._next;return n._next=r,n._prev=e,r===null?this._itTail=n:r._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new lu),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,i=n._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new lu),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},Sg=class{constructor(n,e){this.item=n,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},Mg=class{constructor(){this._head=null,this._tail=null}add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){let e=n._prevDup,i=n._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null}},lu=class{constructor(){this.map=new Map}put(n){let e=n.trackById,i=this.map.get(e);i||(i=new Mg,this.map.set(e,i)),i.add(n)}get(n,e){let i=n,r=this.map.get(i);return r?r.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};$u=(()=>{class t{static{this.\u0275prov=_({token:t,providedIn:"root",factory:GC})}constructor(e){this.factories=e}static create(e,i){if(i!=null){let r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||GC()),deps:[[t,new fu,new rl]]}}find(e){let i=this.factories.find(r=>r.supports(e));if(i!=null)return i;throw new A(901,!1)}}return t})();Tj=new C("",{providedIn:"root",factory:()=>y(Rj)}),Rj=(()=>{class t{static{this.\u0275prov=_({token:t,providedIn:"root",factory:()=>new Ag})}}return t})(),Ag=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=y(wi),this.taskId=null}scheduleEffect(n){if(this.enqueue(n),this.taskId===null){let e=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(e),this.taskId=null})}}enqueue(n){let e=n.creationZone;this.queues.has(e)||this.queues.set(e,new Set);let i=this.queues.get(e);i.has(n)||(this.queuedEffectCount++,i.add(n))}flush(){for(;this.queuedEffectCount>0;)for(let[n,e]of this.queues)n===null?this.flushQueue(e):n.run(()=>this.flushQueue(e))}flushQueue(n){for(let e of n)n.delete(e),this.queuedEffectCount--,e.run()}},Tg=class{constructor(n,e,i,r,o,s){this.scheduler=n,this.effectFn=e,this.creationZone=i,this.injector=o,this.watcher=P0(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}runEffect(n){try{this.effectFn(n)}catch(e){this.injector.get(Gt,null,{optional:!0})?.handleError(e)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}});function Oj(t){return t.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}function Fj(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}function kj(t){return typeof t=="function"}function Nj(t,n){if(!wv){let e=Element.prototype;wv=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?wv.call(t,n):!1}function Lj(t,n){return t===n||t!==t&&n!==n}function Pj(t){let n={};return t.forEach(({propName:e,templateName:i,transform:r})=>{n[Oj(i)]=[e,r]}),n}function jj(t,n){return n.get(en).resolveComponentFactory(t).inputs}function Vj(t,n){let e=t.childNodes,i=n.map(()=>[]),r=-1;n.some((o,s)=>o==="*"?(r=s,!0):!1);for(let o=0,s=e.length;o<s;++o){let a=e[o],l=Bj(a,n,r);l!==-1&&i[l].push(a)}return i}function Bj(t,n,e){let i=e;return Fj(t)&&n.some((r,o)=>r!=="*"&&Nj(t,r)?(i=o,!0):!1),i}function Sv(t,n){let e=jj(t,n.injector),i=n.strategyFactory||new Ev(t,n.injector),r=Pj(e);class o extends Iv{static{this.observedAttributes=Object.keys(r)}get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=i.create(this.injector||n.injector);e.forEach(({propName:l,transform:c})=>{if(!this.hasOwnProperty(l))return;let d=this[l];delete this[l],a.setInputValue(l,d,c)})}return this._ngElementStrategy}constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,c,d){let[u,m]=r[a];this.ngElementStrategy.setInputValue(u,c,m)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{let l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return e.forEach(({propName:s,transform:a})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),o}var Hu,wv,Uj,Ev,Dv,Iv,QD=f(()=>{"use strict";D();Re();ct();Hu={schedule(t,n){let e=setTimeout(t,n);return()=>clearTimeout(e)},scheduleBeforeRender(t){if(typeof window>"u")return Hu.schedule(t,0);if(typeof window.requestAnimationFrame>"u")return Hu.schedule(t,16);let n=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(n)}};Uj=10,Ev=class{constructor(n,e){this.componentFactory=e.get(en).resolveComponentFactory(n)}create(n){return new Dv(this.componentFactory,n)}},Dv=class{constructor(n,e){this.componentFactory=n,this.injector=e,this.eventEmitters=new Zr(1),this.events=this.eventEmitters.pipe(qe(i=>St(...i))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:i})=>i)),this.ngZone=this.injector.get(F),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=Hu.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},Uj))})}getInputValue(n){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,e,i){this.runInZone(()=>{if(i&&(e=i.call(this.componentRef?.instance,e)),this.componentRef===null){this.initialInputValues.set(n,e);return}Lj(e,this.getInputValue(n))&&!(e===void 0&&this.unchangedInputs.has(n))||(this.recordInputChange(n,e),this.unchangedInputs.delete(n),this.hasInputChanges=!0,this.componentRef.instance[n]=e,this.scheduleDetectChanges())})}initializeComponent(n){let e=Me.create({providers:[],parent:this.injector}),i=Vj(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,i,n),this.viewChangeDetectorRef=this.componentRef.injector.get(et),this.implementsOnChanges=kj(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(_n).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:n,transform:e})=>{this.initialInputValues.has(n)&&this.setInputValue(n,this.initialInputValues.get(n),e)}),this.initialInputValues.clear()}initializeOutputs(n){let e=this.componentFactory.outputs.map(({propName:i,templateName:r})=>n.instance[i].pipe(k(s=>({name:r,value:s}))));this.eventEmitters.next(e)}callNgOnChanges(n){if(!this.implementsOnChanges||this.inputChanges===null)return;let e=this.inputChanges;this.inputChanges=null,n.instance.ngOnChanges(e)}markViewForCheck(n){this.hasInputChanges&&(this.hasInputChanges=!1,n.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Hu.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(n,e){if(!this.implementsOnChanges)return;this.inputChanges===null&&(this.inputChanges={});let i=this.inputChanges[n];if(i){i.currentValue=e;return}let r=this.unchangedInputs.has(n),o=r?void 0:this.getInputValue(n);this.inputChanges[n]=new Ja(o,e,r)}detectChanges(){this.componentRef!==null&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}},Iv=class extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}});function Ti(){return nI}function iI(t){nI??=t}function kv(t,n){if(t.length==0)return n;if(n.length==0)return t;let e=0;return t.endsWith("/")&&e++,n.startsWith("/")&&e++,e==2?t+n.substring(1):e==1?t+n:t+"/"+n}function ZD(t){let n=t.match(/#|\?|$/),e=n&&n.index||t.length,i=e-(t[e-1]==="/"?1:0);return t.slice(0,i)+t.slice(e)}function Ai(t){return t&&t[0]!=="?"?"?"+t:t}function Gj(){return new Zn(g(Ri))}function Wj(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function XD(t){return t.replace(/\/index.html$/,"")}function qj(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}function Wu(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[r,o]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}function eI(t,n){t.context.$implicit=n.item}function tI(t,n){if(!!!(!n||n.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${jt(n)}'.`)}function Yj(t,n){return new A(2100,!1)}function Xn(t){return t===Lv}function Oi(t){return t===Kj}function Qj(t,n){let e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;for(;r;){let o=r.shadowRoot;if(o){let s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}r=i.nextNode()}}return null}var nI,Gu,z,Fv,rI,Hj,Ri,oI,Nv,sI,Zn,Mv,JD,fr,Av,qu,hr,Tv,Yu,aI,st,Lv,Kj,lI,Rv,Ov,Ls,pe=f(()=>{"use strict";D();D();nI=null;Gu=class{},z=new C(""),Fv=(()=>{class t{historyGo(e){throw new Error("")}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:()=>y(Hj),providedIn:"platform"})}}return t})(),rI=new C(""),Hj=(()=>{class t extends Fv{constructor(){super(),this._doc=y(z),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ti().getBaseHref(this._doc)}onPopState(e){let i=Ti().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){let i=Ti().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,r){this._history.pushState(e,i,r)}replaceState(e,i,r){this._history.replaceState(e,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:()=>new t,providedIn:"platform"})}}return t})();Ri=(()=>{class t{historyGo(e){throw new Error("")}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:()=>y(Nv),providedIn:"root"})}}return t})(),oI=new C(""),Nv=(()=>{class t extends Ri{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??y(z).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return kv(this._baseHref,e)}path(e=!1){let i=this._platformLocation.pathname+Ai(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+Ai(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+Ai(o));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static{this.\u0275fac=function(i){return new(i||t)(g(Fv),g(oI,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),sI=(()=>{class t extends Ri{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(e){let i=kv(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+Ai(o));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+Ai(o));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static{this.\u0275fac=function(i){return new(i||t)(g(Fv),g(oI,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),Zn=(()=>{class t{constructor(e){this._subject=new P,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;let i=this._locationStrategy.getBaseHref();this._basePath=qj(ZD(XD(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Ai(i))}normalize(e){return t.stripTrailingSlash(Wj(this._basePath,XD(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Ai(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Ai(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}static{this.normalizeQueryParams=Ai}static{this.joinWithSlash=kv}static{this.stripTrailingSlash=ZD}static{this.\u0275fac=function(i){return new(i||t)(g(Ri))}}static{this.\u0275prov=_({token:t,factory:()=>Gj(),providedIn:"root"})}}return t})();Mv=/\s+/,JD=[],fr=(()=>{class t{constructor(e,i){this._ngEl=e,this._renderer=i,this.initialClasses=JD,this.stateMap=new Map}set klass(e){this.initialClasses=e!=null?e.trim().split(Mv):JD}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(Mv):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){let r=this.stateMap.get(e);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(Mv).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(Qn))}}static{this.\u0275dir=V({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return t})(),Av=class{constructor(n,e,i,r){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},qu=(()=>{class t{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;if(!this._differ&&e)if(0)try{}catch{}else this._differ=this._differs.find(e).create(this.ngForTrackBy)}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let i=this._viewContainer;e.forEachOperation((r,o,s)=>{if(r.previousIndex==null)i.createEmbeddedView(this._template,new Av(r.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)i.remove(o===null?void 0:o);else if(o!==null){let a=i.get(o);i.move(a,s),eI(a,r)}});for(let r=0,o=i.length;r<o;r++){let a=i.get(r).context;a.index=r,a.count=o,a.ngForOf=this._ngForOf}e.forEachIdentityChange(r=>{let o=i.get(r.currentIndex);eI(o,r)})}static ngTemplateContextGuard(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(p(Rt),p(Jt),p($u))}}static{this.\u0275dir=V({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return t})();hr=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new Tv,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){tI("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){tI("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(p(Rt),p(Jt))}}static{this.\u0275dir=V({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return t})(),Tv=class{constructor(){this.$implicit=null,this.ngIf=null}};Yu=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(e,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static{this.\u0275fac=function(i){return new(i||t)(p(Rt))}}static{this.\u0275dir=V({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ve]})}}return t})();aI=(()=>{class t{transform(e){if(e==null)return null;if(typeof e!="string")throw Yj(t,e);return e.toUpperCase()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=Is({name:"uppercase",type:t,pure:!0,standalone:!0})}}return t})(),st=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({})}}return t})(),Lv="browser",Kj="server";lI=(()=>{class t{static{this.\u0275prov=_({token:t,providedIn:"root",factory:()=>Xn(y(gt))?new Rv(y(z),window):new Ov})}}return t})(),Rv=class{constructor(n,e){this.document=n,this.window=e,this.offset=()=>[0,0]}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){let e=Qj(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){let e=n.getBoundingClientRect(),i=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}};Ov=class{setOffset(n){}getScrollPosition(){return[0,0]}scrollToPosition(n){}scrollToAnchor(n){}setHistoryScrollRestoration(n){}},Ls=class{}});function Zj(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[s,a]=o==-1?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}function cI(t){return encodeURIComponent(t).replace(Xj,(n,e)=>Jj[e]??n)}function Ku(t){return`${t}`}function eV(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function dI(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function uI(t){return typeof Blob<"u"&&t instanceof Blob}function fI(t){return typeof FormData<"u"&&t instanceof FormData}function tV(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}function Pv(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}function hI(t){if(t.url)return t.url;let n=rV.toLocaleLowerCase();return t.headers.get(n)}function Uv(){}function sV(t){t.then(Uv,Uv)}function aV(t,n){return n(t)}function lV(t,n,e){return(i,r)=>gn(e,()=>n(i,o=>t(o,r)))}function fV(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}function yV(t,n){let e=t.url.toLowerCase();if(!y(vI)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return n(t);let i=y(Xu).getToken(),r=y(gV);return i!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,i)})),n(t)}function bV(t,n){return{\u0275kind:t,\u0275providers:n}}function bI(...t){let n=[vr,mI,pI,{provide:gl,useExisting:pI},{provide:Qu,useFactory:()=>y(oV,{optional:!0})??y(mI)},{provide:zv,useValue:yV,multi:!0},{provide:vI,useValue:!0},{provide:Xu,useClass:vV}];for(let e of t)n.push(...e.\u0275providers);return sl(n)}function _I(t){return bV(yI.Interceptors,t.map(n=>({provide:zv,useValue:n,multi:!0})))}var gl,Qu,Jn,jv,Xj,Jj,mr,Vv,ml,gr,vl,Zu,yl,pr,gI,nV,vr,iV,rV,oV,Bv,zv,cV,dV,pI,uV,mI,vI,hV,pV,mV,gV,Xu,vV,yI,bl=f(()=>{"use strict";D();D();Re();ct();pe();pe();gl=class{},Qu=class{},Jn=class t{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
8
- `).forEach(e=>{let i=e.indexOf(":");if(i>0){let r=e.slice(0,i),o=r.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,i)=>{this.setHeaderEntries(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(n.name,e);let r=(n.op==="a"?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":let o=n.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}setHeaderEntries(n,e){let i=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}},jv=class{encodeKey(n){return cI(n)}encodeValue(n){return cI(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};Xj=/%(\d[a-f0-9])/gi,Jj={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};mr=class t{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new jv,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Zj(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let i=n.fromObject[e],r=Array.isArray(i)?i.map(Ku):[Ku(i)];this.map.set(e,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(i=>{let r=n[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(Ku(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let i=this.map.get(n.param)||[],r=i.indexOf(Ku(n.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}},Vv=class{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};ml=class t{constructor(n,e,i,r){this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase();let o;if(eV(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Jn,this.context??=new Vv,!this.params)this.params=new mr,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),l=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+l+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||dI(this.body)||uI(this.body)||fI(this.body)||tV(this.body)?this.body:this.body instanceof mr?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||fI(this.body)?null:uI(this.body)?this.body.type||null:dI(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof mr?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(n={}){let e=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,o=n.transferCache??this.transferCache,s=n.body!==void 0?n.body:this.body,a=n.withCredentials??this.withCredentials,l=n.reportProgress??this.reportProgress,c=n.headers||this.headers,d=n.params||this.params,u=n.context??this.context;return n.setHeaders!==void 0&&(c=Object.keys(n.setHeaders).reduce((m,h)=>m.set(h,n.setHeaders[h]),c)),n.setParams&&(d=Object.keys(n.setParams).reduce((m,h)=>m.set(h,n.setParams[h]),d)),new t(e,i,s,{params:d,headers:c,context:u,reportProgress:l,responseType:r,withCredentials:a,transferCache:o})}},gr=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(gr||{}),vl=class{constructor(n,e=200,i="OK"){this.headers=n.headers||new Jn,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},Zu=class t extends vl{constructor(n={}){super(n),this.type=gr.ResponseHeader}clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},yl=class t extends vl{constructor(n={}){super(n),this.type=gr.Response,this.body=n.body!==void 0?n.body:null}clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},pr=class extends vl{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},gI=200,nV=204;vr=(()=>{class t{constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof ml)o=e;else{let l;r.headers instanceof Jn?l=r.headers:l=new Jn(r.headers);let c;r.params&&(r.params instanceof mr?c=r.params:c=new mr({fromObject:r.params})),o=new ml(e,i,r.body!==void 0?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}let s=O(o).pipe(An(l=>this.handler.handle(l)));if(e instanceof ml||r.observe==="events")return s;let a=s.pipe(xe(l=>l instanceof yl));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(k(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(k(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(k(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return a.pipe(k(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new mr().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,Pv(r,i))}post(e,i,r={}){return this.request("POST",e,Pv(r,i))}put(e,i,r={}){return this.request("PUT",e,Pv(r,i))}static{this.\u0275fac=function(i){return new(i||t)(g(gl))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),iV=/^\)\]\}',?\n/,rV="X-Request-URL";oV=(()=>{class t{constructor(){this.fetchImpl=y(Bv,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e)),this.ngZone=y(F)}handle(e){return new Z(i=>{let r=new AbortController;return this.doRequest(e,r.signal,i).then(Uv,o=>i.error(new pr({error:o}))),()=>r.abort()})}doRequest(e,i,r){return Yo(this,null,function*(){let o=this.createRequestInit(e),s;try{let h=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,x({signal:i},o)));sV(h),r.next({type:gr.Sent}),s=yield h}catch(h){r.error(new pr({error:h,status:h.status??0,statusText:h.statusText,url:e.urlWithParams,headers:h.headers}));return}let a=new Jn(s.headers),l=s.statusText,c=hI(s)??e.urlWithParams,d=s.status,u=null;if(e.reportProgress&&r.next(new Zu({headers:a,status:d,statusText:l,url:c})),s.body){let h=s.headers.get("content-length"),v=[],b=s.body.getReader(),E=0,S,B,G=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Yo(this,null,function*(){for(;;){let{done:nt,value:Te}=yield b.read();if(nt)break;if(v.push(Te),E+=Te.length,e.reportProgress){B=e.responseType==="text"?(B??"")+(S??=new TextDecoder).decode(Te,{stream:!0}):void 0;let $e=()=>r.next({type:gr.DownloadProgress,total:h?+h:void 0,loaded:E,partialText:B});G?G.run($e):$e()}}}));let De=this.concatChunks(v,E);try{let nt=s.headers.get("Content-Type")??"";u=this.parseBody(e,De,nt)}catch(nt){r.error(new pr({error:nt,headers:new Jn(s.headers),status:s.status,statusText:s.statusText,url:hI(s)??e.urlWithParams}));return}}d===0&&(d=u?gI:0),d>=200&&d<300?(r.next(new yl({body:u,headers:a,status:d,statusText:l,url:c})),r.complete()):r.error(new pr({error:u,headers:a,status:d,statusText:l,url:c}))})}parseBody(e,i,r){switch(e.responseType){case"json":let o=new TextDecoder().decode(i).replace(iV,"");return o===""?null:JSON.parse(o);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:r});case"arraybuffer":return i.buffer}}createRequestInit(e){let i={},r=e.withCredentials?"include":void 0;if(e.headers.forEach((o,s)=>i[o]=s.join(",")),e.headers.has("Accept")||(i.Accept="application/json, text/plain, */*"),!e.headers.has("Content-Type")){let o=e.detectContentTypeHeader();o!==null&&(i["Content-Type"]=o)}return{body:e.serializeBody(),method:e.method,headers:i,credentials:r}}concatChunks(e,i){let r=new Uint8Array(i),o=0;for(let s of e)r.set(s,o),o+=s.length;return r}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),Bv=class{};zv=new C(""),cV=new C(""),dV=new C("",{providedIn:"root",factory:()=>!0}),pI=(()=>{class t extends gl{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null,this.pendingTasks=y(wi),this.contributeToStability=y(dV)}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(zv),...this.injector.get(cV,[])]));this.chain=i.reduceRight((r,o)=>lV(r,o,this.injector),aV)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe($t(()=>this.pendingTasks.remove(i)))}else return this.chain(e,i=>this.backend.handle(i))}static{this.\u0275fac=function(i){return new(i||t)(g(Qu),g(Ct))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),uV=/^\)\]\}',?\n/;mI=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new A(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?Ne(i.\u0275loadImpl()):O(null)).pipe(qe(()=>new Z(o=>{let s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((b,E)=>s.setRequestHeader(b,E.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let b=e.detectContentTypeHeader();b!==null&&s.setRequestHeader("Content-Type",b)}if(e.responseType){let b=e.responseType.toLowerCase();s.responseType=b!=="json"?b:"text"}let a=e.serializeBody(),l=null,c=()=>{if(l!==null)return l;let b=s.statusText||"OK",E=new Jn(s.getAllResponseHeaders()),S=fV(s)||e.url;return l=new Zu({headers:E,status:s.status,statusText:b,url:S}),l},d=()=>{let{headers:b,status:E,statusText:S,url:B}=c(),G=null;E!==nV&&(G=typeof s.response>"u"?s.responseText:s.response),E===0&&(E=G?gI:0);let De=E>=200&&E<300;if(e.responseType==="json"&&typeof G=="string"){let nt=G;G=G.replace(uV,"");try{G=G!==""?JSON.parse(G):null}catch(Te){G=nt,De&&(De=!1,G={error:Te,text:G})}}De?(o.next(new yl({body:G,headers:b,status:E,statusText:S,url:B||void 0})),o.complete()):o.error(new pr({error:G,headers:b,status:E,statusText:S,url:B||void 0}))},u=b=>{let{url:E}=c(),S=new pr({error:b,status:s.status||0,statusText:s.statusText||"Unknown Error",url:E||void 0});o.error(S)},m=!1,h=b=>{m||(o.next(c()),m=!0);let E={type:gr.DownloadProgress,loaded:b.loaded};b.lengthComputable&&(E.total=b.total),e.responseType==="text"&&s.responseText&&(E.partialText=s.responseText),o.next(E)},v=b=>{let E={type:gr.UploadProgress,loaded:b.loaded};b.lengthComputable&&(E.total=b.total),o.next(E)};return s.addEventListener("load",d),s.addEventListener("error",u),s.addEventListener("timeout",u),s.addEventListener("abort",u),e.reportProgress&&(s.addEventListener("progress",h),a!==null&&s.upload&&s.upload.addEventListener("progress",v)),s.send(a),o.next({type:gr.Sent}),()=>{s.removeEventListener("error",u),s.removeEventListener("abort",u),s.removeEventListener("load",d),s.removeEventListener("timeout",u),e.reportProgress&&(s.removeEventListener("progress",h),a!==null&&s.upload&&s.upload.removeEventListener("progress",v)),s.readyState!==s.DONE&&s.abort()}})))}static{this.\u0275fac=function(i){return new(i||t)(g(Ls))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),vI=new C(""),hV="XSRF-TOKEN",pV=new C("",{providedIn:"root",factory:()=>hV}),mV="X-XSRF-TOKEN",gV=new C("",{providedIn:"root",factory:()=>mV}),Xu=class{},vV=(()=>{class t{constructor(e,i,r){this.doc=e,this.platform=i,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Wu(e,this.cookieName),this.lastCookieString=e),this.lastToken}static{this.\u0275fac=function(i){return new(i||t)(g(z),g(gt),g(pV))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})();yI=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(yI||{})});function xV(){return _l=_l||document.querySelector("base"),_l?_l.getAttribute("href"):null}function CV(t){return new URL(t,document.baseURI).pathname}function MV(t){return DV.replace(Kv,t)}function AV(t){return EV.replace(Kv,t)}function II(t,n){return n.map(e=>e.replace(Kv,t))}function xI(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}function SI(t,n){return xv(x({rootComponent:t},AI(n)))}function MI(t){return xv(AI(t))}function AI(t){return{appProviders:[...jV,...t?.providers??[]],platformProviders:PV}}function kV(){Wv.makeCurrent()}function NV(){return new Gt}function LV(){return lE(document),document}var Gv,Wv,_l,wV,qv,wI,Ju,$v,EI,Hv,Kv,DI,EV,DV,IV,SV,ef,xl,Yv,Cl,tf,TV,CI,RV,OV,FV,PV,jV,TI,wl,VV,Ps=f(()=>{"use strict";pe();D();D();Gv=class extends Gu{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Wv=class t extends Gv{static makeCurrent(){iI(new t)}onAndCancel(n,e,i){return n.addEventListener(e,i),()=>{n.removeEventListener(e,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=xV();return e==null?null:CV(e)}resetBaseElement(){_l=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Wu(document.cookie,n)}},_l=null;wV=(()=>{class t{build(){return new XMLHttpRequest}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),qv=new C(""),wI=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(r=>{r.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(o=>o.supports(e)),!i)throw new A(5101,!1);return this._eventNameToPlugin.set(e,i),i}static{this.\u0275fac=function(i){return new(i||t)(g(qv),g(F))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),Ju=class{constructor(n){this._doc=n}},$v="ng-app-id",EI=(()=>{class t{constructor(e,i,r,o={}){this.doc=e,this.appId=i,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Oi(o),this.resetHostNodes()}addStyles(e){for(let i of e)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(e){for(let i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(let i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(let i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){let i=this.styleRef;i.get(e)?.elements?.forEach(r=>r.remove()),i.delete(e)}collectServerRenderedStyles(){let e=this.doc.head?.querySelectorAll(`style[${$v}="${this.appId}"]`);if(e?.length){let i=new Map;return e.forEach(r=>{r.textContent!=null&&i.set(r.textContent,r)}),i}return null}changeUsageCount(e,i){let r=this.styleRef;if(r.has(e)){let o=r.get(e);return o.usage+=i,o.usage}return r.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){let r=this.styleNodesInDOM,o=r?.get(i);if(o?.parentNode===e)return r.delete(i),o.removeAttribute($v),o;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute($v,this.appId),e.appendChild(s),s}}addStyleToHost(e,i){let r=this.getStyleElement(e,i),o=this.styleRef,s=o.get(i)?.elements;s?s.push(r):o.set(i,{elements:[r],usage:1})}resetHostNodes(){let e=this.hostNodes;e.clear(),e.add(this.doc.head)}static{this.\u0275fac=function(i){return new(i||t)(g(z),g(ll),g(yo,8),g(gt))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),Hv={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"},Kv=/%COMP%/g,DI="%COMP%",EV=`_nghost-${DI}`,DV=`_ngcontent-${DI}`,IV=!0,SV=new C("",{providedIn:"root",factory:()=>IV});ef=(()=>{class t{constructor(e,i,r,o,s,a,l,c=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=Oi(a),this.defaultRenderer=new xl(e,s,l,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Wn.ShadowDom&&(i=se(x({},i),{encapsulation:Wn.Emulated}));let r=this.getOrCreateRenderer(e,i);return r instanceof tf?r.applyToHost(e):r instanceof Cl&&r.applyStyles(),r}getOrCreateRenderer(e,i){let r=this.rendererByCompId,o=r.get(i.id);if(!o){let s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,u=this.platformIsServer;switch(i.encapsulation){case Wn.Emulated:o=new tf(l,c,i,this.appId,d,s,a,u);break;case Wn.ShadowDom:return new Yv(l,c,e,i,s,a,this.nonce,u);default:o=new Cl(l,c,i,d,s,a,u);break}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(i){return new(i||t)(g(wI),g(EI),g(ll),g(SV),g(z),g(gt),g(F),g(yo))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),xl=class{constructor(n,e,i,r){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,e){return e?this.doc.createElementNS(Hv[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(xI(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(xI(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){e.remove()}selectRootElement(n,e){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new A(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,r){if(r){e=r+":"+e;let o=Hv[r];o?n.setAttributeNS(o,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let r=Hv[i];r?n.removeAttributeNS(r,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,r){r&(bi.DashCase|bi.Important)?n.style.setProperty(e,i,r&bi.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&bi.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n!=null&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i){if(typeof n=="string"&&(n=Ti().getGlobalEventTarget(this.doc,n),!n))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(i))}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};Yv=class extends xl{constructor(n,e,i,r,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=II(r.id,r.styles);for(let d of c){let u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Cl=class extends xl{constructor(n,e,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r,this.styles=l?II(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},tf=class extends Cl{constructor(n,e,i,r,o,s,a,l){let c=r+"-"+i.id;super(n,e,i,o,s,a,l,c),this.contentAttr=MV(c),this.hostAttr=AV(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}},TV=(()=>{class t extends Ju{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}static{this.\u0275fac=function(i){return new(i||t)(g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),CI=["alt","control","meta","shift"],RV={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},OV={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},FV=(()=>{class t extends Ju{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,r){let o=t.parseEventName(i),s=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ti().onAndCancel(e,o.domEventName,s))}static parseEventName(e){let i=e.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=t._normalizeKey(i.pop()),s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),CI.forEach(c=>{let d=i.indexOf(c);d>-1&&(i.splice(d,1),s+=c+".")}),s+=o,i.length!=0||o.length===0)return null;let l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let r=RV[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),CI.forEach(s=>{if(s!==r){let a=OV[s];a(e)&&(o+=s+".")}}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{t.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static{this.\u0275fac=function(i){return new(i||t)(g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})();PV=[{provide:gt,useValue:Lv},{provide:Xg,useValue:kV,multi:!0},{provide:z,useFactory:LV,deps:[]}],jV=[{provide:pu,useValue:"root"},{provide:Gt,useFactory:NV,deps:[]},{provide:qv,useClass:TV,multi:!0,deps:[z,F,gt]},{provide:qv,useClass:FV,multi:!0,deps:[z]},ef,EI,wI,{provide:sr,useExisting:ef},{provide:Ls,useClass:wV,deps:[]},[]],TI=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static{this.\u0275fac=function(i){return new(i||t)(g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),wl=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=g(VV),r},providedIn:"root"})}}return t})(),VV=(()=>{class t extends wl{constructor(e){super(),this._doc=e}sanitize(e,i){if(i==null)return null;switch(e){case Et.NONE:return i;case Et.HTML:return Ei(i,"HTML")?yn(i):ev(this._doc,String(i)).toString();case Et.STYLE:return Ei(i,"Style")?yn(i):i;case Et.SCRIPT:if(Ei(i,"Script"))return yn(i);throw new A(5200,!1);case Et.URL:return Ei(i,"URL")?yn(i):Su(String(i));case Et.RESOURCE_URL:if(Ei(i,"ResourceURL"))return yn(i);throw new A(5201,!1);default:throw new A(5202,!1)}}bypassSecurityTrustHtml(e){return fE(e)}bypassSecurityTrustStyle(e){return hE(e)}bypassSecurityTrustScript(e){return pE(e)}bypassSecurityTrustUrl(e){return mE(e)}bypassSecurityTrustResourceUrl(e){return gE(e)}static{this.\u0275fac=function(i){return new(i||t)(g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});function rf(t,n){if(t===n)return!0;if(t===null||n===null)return!1;if(t!==t&&n!==n)return!0;let e=typeof t,i=typeof n,r,o,s;if(e==i&&e=="object")if(Array.isArray(t)){if(!Array.isArray(n))return!1;if((r=t.length)==n.length){for(o=0;o<r;o++)if(!rf(t[o],n[o]))return!1;return!0}}else{if(Array.isArray(n))return!1;s=Object.create(null);for(o in t){if(!rf(t[o],n[o]))return!1;s[o]=!0}for(o in n)if(!(o in s)&&typeof n[o]<"u")return!1;return!0}return!1}function yr(t){return typeof t<"u"&&t!==null}function Il(t){return nf(t)&&!iy(t)}function nf(t){return typeof t=="object"}function iy(t){return Array.isArray(t)}function ry(t){return typeof t=="string"}function BV(t){return typeof t=="function"}function Zv(t,n){let e=Object.assign({},t);return nf(t)?(nf(t)&&nf(n)&&Object.keys(n).forEach(i=>{Il(n[i])?i in t?e[i]=Zv(t[i],n[i]):Object.assign(e,{[i]:n[i]}):Object.assign(e,{[i]:n[i]})}),e):Zv({},n)}function Xv(t,n){let e=n.split(".");n="";do n+=e.shift(),yr(t)&&yr(t[n])&&(Il(t[n])||iy(t[n])||!e.length)?(t=t[n],n=""):e.length?n+=".":t=void 0;while(e.length);return t}function UV(t,n,e){let i=n.split("."),r=t;for(let o=0;o<i.length;o++){let s=i[o];o===i.length-1?r[s]=e:((!r[s]||!Il(r[s]))&&(r[s]={}),r=r[s])}}var js,RI,Dl,OI,Vs,FI,Bs,kI,of,Jv,ey,ty,ny,El,ki,yt,ei,bt=f(()=>{"use strict";D();D();Re();ct();js=class{},RI=(()=>{class t extends js{getTranslation(e){return O({})}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})();static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})(),Dl=class{},OI=(()=>{class t{handle(e){return e.key}static \u0275fac=function(i){return new(i||t)};static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})();Vs=class{},FI=(()=>{class t extends Vs{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,i){if(ry(e))return this.interpolateString(e,i);if(BV(e))return this.interpolateFunction(e,i)}interpolateFunction(e,i){return e(i)}interpolateString(e,i){return i?e.replace(this.templateMatcher,(r,o)=>{let s=Xv(i,o);return yr(s)?s:r}):e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})();static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})(),Bs=class{},kI=(()=>{class t extends Bs{compile(e,i){return e}compileTranslations(e,i){return e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})();static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})(),of=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new P;onLangChange=new P;onDefaultLangChange=new P},Jv=new C("ISOALTE_TRANSLATE_SERVICE"),ey=new C("USE_DEFAULT_LANG"),ty=new C("DEFAULT_LANGUAGE"),ny=new C("USE_EXTEND"),El=t=>pn(t)?t:O(t),ki=(()=>{class t{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new P;_onLangChange=new P;_onDefaultLangChange=new P;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};lastUseLanguage=null;get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}constructor(e,i,r,o,s,a=!0,l=!1,c=!1,d){this.store=e,this.currentLoader=i,this.compiler=r,this.parser=o,this.missingTranslationHandler=s,this.useDefaultLang=a,this.isolate=l,this.extend=c,d&&this.setDefaultLang(d)}setDefaultLang(e){if(e===this.defaultLang)return;let i=this.retrieveTranslations(e);typeof i<"u"?(this.defaultLang==null&&(this.defaultLang=e),i.pipe(Ue(1)).subscribe(()=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(this.lastUseLanguage=e,e===this.currentLang)return O(this.translations[e]);this.currentLang||(this.currentLang=e);let i=this.retrieveTranslations(e);return pn(i)?(i.pipe(Ue(1)).subscribe(()=>{this.changeLang(e)}),i):(this.changeLang(e),O(this.translations[e]))}changeLang(e){e===this.lastUseLanguage&&(this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang==null&&this.changeDefaultLang(e))}retrieveTranslations(e){if(typeof this.translations[e]>"u"||this.extend)return this._translationRequests[e]=this._translationRequests[e]||this.loadAndCompileTranslations(e),this._translationRequests[e]}getTranslation(e){return this.loadAndCompileTranslations(e)}loadAndCompileTranslations(e){this.pending=!0;let i=this.currentLoader.getTranslation(e).pipe(io(1),Ue(1));return this.loadingTranslations=i.pipe(k(r=>this.compiler.compileTranslations(r,e)),io(1),Ue(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[e]=this.extend&&this.translations[e]?x(x({},r),this.translations[e]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),i}setTranslation(e,i,r=!1){let o=this.compiler.compileTranslations(i,e);(r||this.extend)&&this.translations[e]?this.translations[e]=Zv(this.translations[e],o):this.translations[e]=o,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(i=>{this.langs.indexOf(i)===-1&&this.langs.push(i)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(e,i,r){let o;if(e&&(o=this.runInterpolation(Xv(e,i),r)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation(Xv(this.translations[this.defaultLang],i),r)),o===void 0){let s={key:i,translateService:this};typeof r<"u"&&(s.interpolateParams=r),o=this.missingTranslationHandler.handle(s)}return o!==void 0?o:i}runInterpolation(e,i){if(iy(e))return e.map(r=>this.runInterpolation(r,i));if(Il(e)){let r={};for(let o in e)r[o]=this.runInterpolation(e[o],i);return r}else return this.parser.interpolate(e,i)}getParsedResult(e,i,r){if(i instanceof Array){let o={},s=!1;for(let l of i)o[l]=this.getParsedResultForKey(e,l,r),s=s||pn(o[l]);if(!s)return o;let a=i.map(l=>El(o[l]));return to(a).pipe(k(l=>{let c={};return l.forEach((d,u)=>{c[i[u]]=d}),c}))}return this.getParsedResultForKey(e,i,r)}get(e,i){if(!yr(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(An(r=>El(this.getParsedResult(r,e,i)))):El(this.getParsedResult(this.translations[this.currentLang],e,i))}getStreamOnTranslationChange(e,i){if(!yr(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return Mn(Kt(()=>this.get(e,i)),this.onTranslationChange.pipe(qe(r=>{let o=this.getParsedResult(r.translations,e,i);return El(o)})))}stream(e,i){if(!yr(e)||!e.length)throw new Error('Parameter "key" required');return Mn(Kt(()=>this.get(e,i)),this.onLangChange.pipe(qe(r=>{let o=this.getParsedResult(r.translations,e,i);return El(o)})))}instant(e,i){if(!yr(e)||e.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(this.translations[this.currentLang],e,i);return pn(r)?Array.isArray(e)?e.reduce((o,s)=>(o[s]=s,o),{}):e:r}set(e,i,r=this.currentLang){UV(this.translations[r],e,ry(i)?this.compiler.compile(i,r):this.compiler.compileTranslations(i,r)),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.loadAndCompileTranslations(e)}resetLang(e){delete this._translationRequests[e],delete this.translations[e]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let e=this.getBrowserCultureLang();return e?e.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}static \u0275fac=function(i){return new(i||t)(g(of),g(js),g(Bs),g(Vs),g(Dl),g(ey),g(Jv),g(ny),g(ty))};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),yt=(()=>{class t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,i){this.translate=e,this._ref=i}updateValue(e,i,r){let o=s=>{this.value=s!==void 0?s:e,this.lastKey=e,this._ref.markForCheck()};if(r){let s=this.translate.getParsedResult(r,e,i);pn(s)?s.subscribe(o):o(s)}this.translate.get(e,i).subscribe(o)}transform(e,...i){if(!e||!e.length)return e;if(rf(e,this.lastKey)&&rf(i,this.lastParams))return this.value;let r;if(yr(i[0])&&i.length)if(ry(i[0])&&i[0].length){let o=i[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(o)}catch(s){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else Il(i[0])&&(r=i[0]);return this.lastKey=e,this.lastParams=i,this.updateValue(e,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,r,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(i){return new(i||t)(p(ki,16),p(et,16))};static \u0275pipe=Is({name:"translate",type:t,pure:!1,standalone:!0});static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})(),ei=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:js,useClass:RI},e.compiler||{provide:Bs,useClass:kI},e.parser||{provide:Vs,useClass:FI},e.missingTranslationHandler||{provide:Dl,useClass:OI},of,{provide:Jv,useValue:e.isolate},{provide:ey,useValue:e.useDefaultLang},{provide:ny,useValue:e.extend},{provide:ty,useValue:e.defaultLanguage},ki]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:js,useClass:RI},e.compiler||{provide:Bs,useClass:kI},e.parser||{provide:Vs,useClass:FI},e.missingTranslationHandler||{provide:Dl,useClass:OI},{provide:Jv,useValue:e.isolate},{provide:ey,useValue:e.useDefaultLang},{provide:ny,useValue:e.extend},{provide:ty,useValue:e.defaultLanguage},ki]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=L({type:t});static \u0275inj=N({})}return t})()});var Us,sf=f(()=>{"use strict";D();Us=new C("web-component-auth")});var af,oy=f(()=>{"use strict";D();bt();sf();D();af=(()=>{class t{#e;#t;#n;#r;#i;get uiLanguage(){return this.#i}set uiLanguage(e){e!==this.#i&&(this.#i=e,this.#i=e,this.#c())}constructor(e){this.#e="lang",this.#t=y(ki),this.#n=y(Us),this.setLanguageFromBrowser=!1,this.defaultLanguage="en",this.#r=e}ngOnInit(){this.#s(),this.#l(this.#r),this.#o()}ngOnChanges(){this.#s(),this.#o()}ensureTypeBool(e){return e===!0||e==="true"}#l(e){for(let i in e)e[i]&&this.#t.setTranslation(i,e[i],!0)}#o(){this.#t.setDefaultLang(this.defaultLanguage),this.setLanguageFromBrowser&&this.#d(),this.uiLanguage||(this.uiLanguage=this.defaultLanguage),this.#t.use(this.uiLanguage)}#s(){this.xApiKey&&(this.#n.xApiKey=this.xApiKey),this.skipAuthUrls&&(this.#n.skipAuthUrls=typeof this.skipAuthUrls=="string"?JSON.parse(this.skipAuthUrls):this.skipAuthUrls)}#c(){this.#t.use(this.uiLanguage)}#d(){let e=this.#a();!this.uiLanguage&&e!==this.defaultLanguage&&(this.uiLanguage=e);let i=a=>{for(let l of a)if(l.type==="attributes"&&l.attributeName===this.#e){let c=this.#a();this.uiLanguage=c}},r=new MutationObserver(i),o=document.querySelector("html"),s={attributes:!0,attributeFilter:[this.#e]};r.observe(o,s)}#a(){return document.querySelector("html").getAttribute(this.#e).split("-")[0]}static{this.\u0275fac=function(i){Ts()}}static{this.\u0275dir=V({type:t,inputs:{setLanguageFromBrowser:"setLanguageFromBrowser",defaultLanguage:"defaultLanguage",skipAuthUrls:"skipAuthUrls",uiLanguage:"uiLanguage",xApiKey:"xApiKey"},features:[Ve]})}}return t})()});function HV(){let t=Ti()?Ti().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}function br(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function zI(t){return t!=null&&typeof t.length=="number"}function qV(t){return n=>{if(br(n.value)||br(t))return null;let e=parseFloat(n.value);return!isNaN(e)&&e<t?{min:{min:t,actual:n.value}}:null}}function YV(t){return n=>{if(br(n.value)||br(t))return null;let e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}function KV(t){return br(t.value)?{required:!0}:null}function QV(t){return t.value===!0?null:{required:!0}}function ZV(t){return br(t.value)||WV.test(t.value)?null:{email:!0}}function XV(t){return n=>br(n.value)||!zI(n.value)?null:n.value.length<t?{minlength:{requiredLength:t,actualLength:n.value.length}}:null}function JV(t){return n=>zI(n.value)&&n.value.length>t?{maxlength:{requiredLength:t,actualLength:n.value.length}}:null}function eB(t){if(!t)return $I;let n,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(br(i.value))return null;let r=i.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function $I(t){return null}function HI(t){return t!=null}function GI(t){return Co(t)?Ne(t):t}function WI(t){let n={};return t.forEach(e=>{n=e!=null?x(x({},n),e):n}),Object.keys(n).length===0?null:n}function qI(t,n){return n.map(e=>e(t))}function tB(t){return!t.validate}function YI(t){return t.map(n=>tB(n)?n:e=>n.validate(e))}function KI(t){if(!t)return null;let n=t.filter(HI);return n.length==0?null:function(e){return WI(qI(e,n))}}function uy(t){return t!=null?KI(YI(t)):null}function QI(t){if(!t)return null;let n=t.filter(HI);return n.length==0?null:function(e){let i=qI(e,n).map(GI);return to(i).pipe(k(WI))}}function fy(t){return t!=null?QI(YI(t)):null}function NI(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function ZI(t){return t._rawValidators}function XI(t){return t._rawAsyncValidators}function sy(t){return t?Array.isArray(t)?t:[t]:[]}function df(t,n){return Array.isArray(t)?t.includes(n):t===n}function LI(t,n){let e=sy(n);return sy(t).forEach(r=>{df(e,r)||e.push(r)}),e}function PI(t,n){return sy(n).filter(e=>!df(t,e))}function JI(t){return(_f(t)?t.validators:t)||null}function iB(t){return Array.isArray(t)?uy(t):t||null}function eS(t,n){return(_f(n)?n.asyncValidators:t)||null}function rB(t){return Array.isArray(t)?fy(t):t||null}function _f(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function oB(t,n,e){let i=t.controls;if(!(n?Object.keys(i):i).length)throw new A(1e3,"");if(!i[e])throw new A(1001,"")}function sB(t,n,e){t._forEachChild((i,r)=>{if(e[r]===void 0)throw new A(1002,"")})}function aB(t,n){return[...n.path,t]}function Ol(t,n,e=xf){hy(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),cB(t,n),uB(t,n),dB(t,n),lB(t,n)}function mf(t,n,e=!0){let i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),vf(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function gf(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function lB(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function hy(t,n){let e=ZI(t);n.validator!==null?t.setValidators(NI(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=XI(t);n.asyncValidator!==null?t.setAsyncValidators(NI(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();gf(n._rawValidators,r),gf(n._rawAsyncValidators,r)}function vf(t,n){let e=!1;if(t!==null){if(n.validator!==null){let r=ZI(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==n.validator);o.length!==r.length&&(e=!0,t.setValidators(o))}}if(n.asyncValidator!==null){let r=XI(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==n.asyncValidator);o.length!==r.length&&(e=!0,t.setAsyncValidators(o))}}}let i=()=>{};return gf(n._rawValidators,i),gf(n._rawAsyncValidators,i),e}function cB(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&tS(t,n)})}function dB(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&tS(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function tS(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function uB(t,n){let e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function nS(t,n){t==null,hy(t,n)}function fB(t,n){return vf(t,n)}function iS(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function hB(t){return Object.getPrototypeOf(t.constructor)===zV}function rS(t,n){t._syncPendingControls(),n.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function oS(t,n){if(!n)return null;Array.isArray(n);let e,i,r;return n.forEach(o=>{o.constructor===Hs?e=o:hB(o)?i=o:r=o}),r||i||e||null}function pB(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function jI(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function VI(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var UI,zV,dy,$V,GV,Hs,yf,bf,WV,cf,uf,wo,Ni,ay,nB,tQ,Gs,Sl,lf,zs,Ml,_r,ff,Tl,Rl,$s,ly,cy,hf,pf,Ws,xf,mB,Al,py,Fl,gB,vB,BI,kl,sS,yB,my,bB,gy,aS,Cf,lS,Li=f(()=>{"use strict";D();D();pe();Re();ct();UI=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static{this.\u0275fac=function(i){return new(i||t)(p(Qn),p(j))}}static{this.\u0275dir=V({type:t})}}return t})(),zV=(()=>{class t extends UI{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})()}static{this.\u0275dir=V({type:t,features:[me]})}}return t})(),dy=new C(""),$V={provide:dy,useExisting:lr(()=>Hs),multi:!0};GV=new C(""),Hs=(()=>{class t extends UI{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!HV())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static{this.\u0275fac=function(i){return new(i||t)(p(Qn),p(j),p(GV,8))}}static{this.\u0275dir=V({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){i&1&&ee("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},features:[Ot([$V]),me]})}}return t})();yf=new C(""),bf=new C(""),WV=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,cf=class{static min(n){return qV(n)}static max(n){return YV(n)}static required(n){return KV(n)}static requiredTrue(n){return QV(n)}static email(n){return ZV(n)}static minLength(n){return XV(n)}static maxLength(n){return JV(n)}static pattern(n){return eB(n)}static nullValidator(n){return $I(n)}static compose(n){return KI(n)}static composeAsync(n){return QI(n)}};uf=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=uy(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=fy(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},wo=class extends uf{get formDirective(){return null}get path(){return null}},Ni=class extends uf{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},ay=class{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},nB={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},tQ=se(x({},nB),{"[class.ng-submitted]":"isSubmitted"}),Gs=(()=>{class t extends ay{constructor(e){super(e)}static{this.\u0275fac=function(i){return new(i||t)(p(Ni,2))}}static{this.\u0275dir=V({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&ae("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[me]})}}return t})(),Sl="VALID",lf="INVALID",zs="PENDING",Ml="DISABLED",_r=class{},ff=class extends _r{constructor(n,e){super(),this.value=n,this.source=e}},Tl=class extends _r{constructor(n,e){super(),this.pristine=n,this.source=e}},Rl=class extends _r{constructor(n,e){super(),this.touched=n,this.source=e}},$s=class extends _r{constructor(n,e){super(),this.status=n,this.source=e}},ly=class extends _r{constructor(n){super(),this.source=n}},cy=class extends _r{constructor(n){super(),this.source=n}};hf=class{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=Mi(()=>this.statusReactive()),this.statusReactive=rn(void 0),this._pristine=Mi(()=>this.pristineReactive()),this.pristineReactive=rn(!0),this._touched=Mi(()=>this.touchedReactive()),this.touchedReactive=rn(!1),this._events=new R,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return xn(this.statusReactive)}set status(n){xn(()=>this.statusReactive.set(n))}get valid(){return this.status===Sl}get invalid(){return this.status===lf}get pending(){return this.status==zs}get disabled(){return this.status===Ml}get enabled(){return this.status!==Ml}get pristine(){return xn(this.pristineReactive)}set pristine(n){xn(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return xn(this.touchedReactive)}set touched(n){xn(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(LI(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(LI(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(PI(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(PI(n,this._rawAsyncValidators))}hasValidator(n){return df(this._rawValidators,n)}hasAsyncValidator(n){return df(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(se(x({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new Rl(!0,i))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),e&&n.emitEvent!==!1&&this._events.next(new Rl(!1,i))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(se(x({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new Tl(!1,i))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),e&&n.emitEvent!==!1&&this._events.next(new Tl(!0,i))}markAsPending(n={}){this.status=zs;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new $s(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(se(x({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Ml,this.errors=null,this._forEachChild(r=>{r.disable(se(x({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ff(this.value,i)),this._events.next(new $s(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(se(x({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Sl,this._forEachChild(i=>{i.enable(se(x({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(se(x({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Sl||this.status===zs)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ff(this.value,e)),this._events.next(new $s(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(se(x({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ml:Sl}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=zs,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let i=GI(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(n,e){let i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new $s(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new P,this.statusChanges=new P}_calculateStatus(){return this._allControlsDisabled()?Ml:this.errors?lf:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(zs)?zs:this._anyControlsHaveStatus(lf)?lf:Sl}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),r&&this._events.next(new Tl(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new Rl(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){_f(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=iB(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=rB(this._rawAsyncValidators)}},pf=class extends hf{constructor(n,e,i){super(JI(e),eS(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){sB(this,!0,n),Object.keys(n).forEach(i=>{oB(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(i=>{let r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,r)=>{i.reset(n?n[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}},Ws=new C("CallSetDisabledState",{providedIn:"root",factory:()=>xf}),xf="always";mB={provide:wo,useExisting:lr(()=>py)},Al=Promise.resolve(),py=(()=>{class t extends wo{get submitted(){return xn(this.submittedReactive)}constructor(e,i,r){super(),this.callSetDisabledState=r,this._submitted=Mi(()=>this.submittedReactive()),this.submittedReactive=rn(!1),this._directives=new Set,this.ngSubmit=new P,this.form=new pf({},uy(e),fy(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Al.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Ol(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Al.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Al.then(()=>{let i=this._findContainer(e.path),r=new pf({});nS(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Al.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Al.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),rS(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static{this.\u0275fac=function(i){return new(i||t)(p(yf,10),p(bf,10),p(Ws,8))}}static{this.\u0275dir=V({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&ee("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ot([mB]),me]})}}return t})();Fl=class extends hf{constructor(n=null,e,i){super(JI(e),eS(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),_f(e)&&(e.nonNullable||e.initialValueIsDefault)&&(VI(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){jI(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){jI(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){VI(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},gB=t=>t instanceof Fl,vB={provide:Ni,useExisting:lr(()=>kl)},BI=Promise.resolve(),kl=(()=>{class t extends Ni{constructor(e,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new Fl,this._registered=!1,this.name="",this.update=new P,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=oS(this,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),iS(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Ol(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){BI.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,r=i!==0&&Ae(i);BI.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?aB(e,this._parent):[e]}static{this.\u0275fac=function(i){return new(i||t)(p(wo,9),p(yf,10),p(bf,10),p(dy,10),p(et,8),p(Ws,8))}}static{this.\u0275dir=V({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ot([vB]),me,Ve]})}}return t})(),sS=new C(""),yB={provide:Ni,useExisting:lr(()=>my)},my=(()=>{class t extends Ni{set isDisabled(e){}static{this._ngModelWarningSentOnce=!1}constructor(e,i,r,o,s){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=s,this.update=new P,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=oS(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let i=e.form.previousValue;i&&mf(i,this,!1),Ol(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}iS(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&mf(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static{this.\u0275fac=function(i){return new(i||t)(p(yf,10),p(bf,10),p(dy,10),p(sS,8),p(Ws,8))}}static{this.\u0275dir=V({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Ot([yB]),me,Ve]})}}return t})(),bB={provide:wo,useExisting:lr(()=>gy)},gy=(()=>{class t extends wo{get submitted(){return xn(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}constructor(e,i,r){super(),this.callSetDisabledState=r,this._submitted=Mi(()=>this._submittedReactive()),this._submittedReactive=rn(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new P,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(vf(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let i=this.form.get(e.path);return Ol(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){mf(e.control||null,e,!1),pB(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this._submittedReactive.set(!0),rS(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new ly(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new cy(this.form))}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&(mf(i||null,e),gB(r)&&(Ol(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);nS(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&fB(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){hy(this.form,this),this._oldForm&&vf(this._oldForm,this)}_checkFormPresent(){this.form}static{this.\u0275fac=function(i){return new(i||t)(p(yf,10),p(bf,10),p(Ws,8))}}static{this.\u0275dir=V({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&ee("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ot([bB]),me,Ve]})}}return t})(),aS=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({})}}return t})(),Cf=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Ws,useValue:e.callSetDisabledState??xf}]}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[aS]})}}return t})(),lS=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:sS,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Ws,useValue:e.callSetDisabledState??xf}]}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[aS]})}}return t})()});function _B(){if(Nl==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Nl=!0}))}finally{Nl=Nl||!1}return Nl}function xr(t){return _B()?t:!!t.capture}function Df(){if(Eo==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Eo=!1,Eo;if("scrollBehavior"in document.documentElement.style)Eo=!0;else{let t=Element.prototype.scrollTo;t?Eo=!/\{\s*\[native code\]\s*\}/.test(t.toString()):Eo=!1}}return Eo}function qs(){if(typeof document!="object"||!document)return Nn.NORMAL;if(Ef==null){let t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",t.appendChild(e),document.body.appendChild(t),Ef=Nn.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,Ef=t.scrollLeft===0?Nn.NEGATED:Nn.INVERTED),t.remove()}return Ef}function xB(){if(vy==null){let t=typeof document<"u"?document.head:null;vy=!!(t&&(t.createShadowRoot||t.attachShadow))}return vy}function cS(t){if(xB()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function Ll(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function sn(t){return t.composedPath?t.composedPath()[0]:t.target}function Pl(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var yy,Oe,Nl,Nn,Ef,Eo,vy,Vt=f(()=>{"use strict";D();D();pe();try{yy=typeof Intl<"u"&&Intl.v8BreakIterator}catch{yy=!1}Oe=(()=>{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Xn(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||yy)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(i){return new(i||t)(g(gt))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();Nn=function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t}(Nn||{})});function Bt(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var wr=f(()=>{"use strict"});function Ys(t){return t!=null&&`${t}`!="false"}function Er(t,n=0){return CB(t)?Number(t):arguments.length===2?n:0}function CB(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Ks(t){return Array.isArray(t)?t:[t]}function at(t){return t==null?"":typeof t=="string"?t:`${t}px`}function Pi(t){return t instanceof j?t.nativeElement:t}var ji=f(()=>{"use strict";D()});var wB,If,by=f(()=>{"use strict";D();wB=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),If=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({providers:[wB]})}}return t})()});function DB(t,n){if(!dS.has(t))try{Do||(Do=document.createElement("style"),n&&Do.setAttribute("nonce",n),Do.setAttribute("type","text/css"),document.head.appendChild(Do)),Do.sheet&&(Do.sheet.insertRule(`@media ${t} {body{ }}`,0),dS.add(t))}catch(e){console.error(e)}}function IB(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}function uS(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}var dS,Do,EB,fS,hS=f(()=>{"use strict";D();D();ji();Re();ct();Vt();dS=new Set,EB=(()=>{class t{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):IB}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&DB(e,this._nonce),this._matchMedia(e)}static{this.\u0275fac=function(i){return new(i||t)(g(Oe),g(yo,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();fS=(()=>{class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new R}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return uS(Ks(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=uS(Ks(e)).map(s=>this._registerQuery(s).observable),o=eo(r);return o=Mn(o.pipe(Ue(1)),o.pipe(Ga(1),mi(0))),o.pipe(k(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),o={observable:new Z(s=>{let a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(Zt(i),k(({matches:s})=>({query:e,matches:s})),fe(this._destroySubject)),mql:i};return this._queries.set(e,o),o}static{this.\u0275fac=function(i){return new(i||t)(g(EB),g(F))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});function Ay(t,n,e){let i=Tf(t,n);e=e.trim(),!i.some(r=>r.trim()===e)&&(i.push(e),t.setAttribute(n,i.join(yS)))}function kf(t,n,e){let i=Tf(t,n);e=e.trim();let r=i.filter(o=>o!==e);r.length?t.setAttribute(n,r.join(yS)):t.removeAttribute(n)}function Tf(t,n){return t.getAttribute(n)?.match(/\S+/g)??[]}function _y(t,n){return typeof t=="string"?`${n||""}/${t}`:t}function pS(t,n){t.id||(t.id=`${bS}-${n}-${Cy++}`)}function UB(t){try{return t.frameElement}catch{return null}}function zB(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function $B(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function HB(t){return WB(t)&&t.type=="hidden"}function GB(t){return qB(t)&&t.hasAttribute("href")}function WB(t){return t.nodeName.toLowerCase()=="input"}function qB(t){return t.nodeName.toLowerCase()=="a"}function xS(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function mS(t){if(!xS(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function YB(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function KB(t){return HB(t)?!1:$B(t)||GB(t)||t.hasAttribute("contenteditable")||xS(t)}function QB(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}function Ty(t){return t.buttons===0||t.detail===0}function Ry(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}function t2(){return null}var yS,bS,Sf,Cy,_S,BB,wy,Ey,Rf,jl,Dy,Nf,ZB,XB,CS,Qs,JB,e2,n2,i2,wS,Af,r2,Mf,Dr,Io,gS,vS,xy,Oy,Lf,Ln=f(()=>{"use strict";pe();D();D();Vt();Vt();wr();Re();ct();by();ji();hS();yS=" ";bS="cdk-describedby-message",Sf="cdk-describedby-host",Cy=0,_S=(()=>{class t{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${Cy++}`,this._document=e,this._id=y(ll)+"-"+Cy++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;let o=_y(i,r);typeof i!="string"?(pS(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;let o=_y(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),typeof i=="string"){let s=this._messageRegistry.get(o);s&&s.referenceCount===0&&this._deleteMessageElement(o)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${Sf}="${this._id}"]`);for(let i=0;i<e.length;i++)this._removeCdkDescribedByReferenceIds(e[i]),e[i].removeAttribute(Sf);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,i){let r=this._document.createElement("div");pS(r,this._id),r.textContent=e,i&&r.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(_y(e,i),{messageElement:r,referenceCount:0})}_deleteMessageElement(e){this._messageRegistry.get(e)?.messageElement?.remove(),this._messageRegistry.delete(e)}_createMessagesContainer(){if(this._messagesContainer)return;let e="cdk-describedby-message-container",i=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let o=0;o<i.length;o++)i[o].remove();let r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(e),r.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(e){let i=Tf(e,"aria-describedby").filter(r=>r.indexOf(bS)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let r=this._messageRegistry.get(i);Ay(e,"aria-describedby",r.messageElement.id),e.setAttribute(Sf,this._id),r.referenceCount++}_removeMessageReference(e,i){let r=this._messageRegistry.get(i);r.referenceCount--,kf(e,"aria-describedby",r.messageElement.id),e.removeAttribute(Sf)}_isElementDescribedByMessage(e,i){let r=Tf(e,"aria-describedby"),o=this._messageRegistry.get(i),s=o&&o.messageElement.id;return!!s&&r.indexOf(s)!=-1}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let r=i==null?"":`${i}`.trim(),o=e.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static{this.\u0275fac=function(i){return new(i||t)(g(z),g(Oe))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();BB=200,wy=class{constructor(n,e){this._letterKeyStream=new R,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new R,this.selectedItem=this._selectedItem;let i=typeof e?.debounceInterval=="number"?e.debounceInterval:BB;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(Le(e=>this._pressedLetters.push(e)),mi(n),xe(()=>this._pressedLetters.length>0),k(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let i=1;i<this._items.length+1;i++){let r=(this._selectedItemIndex+i)%this._items.length,o=this._items[r];if(!this._skipPredicateFn?.(o)&&o.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(o);break}}this._pressedLetters=[]})}},Ey=class{constructor(n,e){this._items=n,this._activeItemIndex=-1,this._activeItem=rn(null),this._wrap=!1,this._typeaheadSubscription=_e.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=i=>i.disabled,this.tabOut=new R,this.change=new R,n instanceof _s?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):ku(n)&&(this._effectRef=Cv(()=>this._itemsChanged(n()),{injector:e}))}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new wy(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex)}onKeydown(n){let e=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o<s?o:s-1,-1);break}else return;default:(r||Bt(n,"shiftKey"))&&this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){let e=this._getItemsArray(),i=typeof n=="number"?n:e.indexOf(n),r=e[i];this._activeItem.set(r??null),this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){let e=this._getItemsArray();for(let i=1;i<=e.length;i++){let r=(this._activeItemIndex+n*i+e.length)%e.length,o=e[r];if(!this._skipPredicateFn(o)){this.setActiveItem(r);return}}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){let i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(n+=e,!i[n])return;this.setActiveItem(n)}}_getItemsArray(){return ku(this._items)?this._items():this._items instanceof _s?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);let e=this._activeItem();if(e){let i=n.indexOf(e);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i))}}},Rf=class extends Ey{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}},jl=(()=>{class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return zB(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=UB(QB(e));if(i&&(mS(i)===-1||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=mS(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!YB(e)?!1:r==="audio"?e.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,i){return KB(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}static{this.\u0275fac=function(i){return new(i||t)(g(Oe))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();Dy=class{get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}constructor(n,e,i,r,o=!1,s){this._element=n,this._checker=e,this._ngZone=i,this._document=r,this._injector=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let i=0;i<e.length;i++){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[i]):null;if(r)return r}return null}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let i=e.length-1;i>=0;i--){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?Fn(n,{injector:this._injector}):setTimeout(n)}},Nf=(()=>{class t{constructor(e,i,r){this._checker=e,this._ngZone=i,this._injector=y(Me),this._document=r}create(e,i=!1){return new Dy(e,this._checker,this._ngZone,this._document,i,this._injector)}static{this.\u0275fac=function(i){return new(i||t)(g(jl),g(F),g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();ZB=new C("cdk-input-modality-detector-options"),XB={ignoreKeys:[18,17,224,91,16]},CS=650,Qs=xr({passive:!0,capture:!0}),JB=(()=>{class t{get mostRecentModality(){return this._modality.value}constructor(e,i,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new it(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=sn(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<CS||(this._modality.next(Ty(s)?"keyboard":"mouse"),this._mostRecentTarget=sn(s))},this._onTouchstart=s=>{if(Ry(s)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=sn(s)},this._options=x(x({},XB),o),this.modalityDetected=this._modality.pipe(Ga(1)),this.modalityChanged=this.modalityDetected.pipe(no()),e.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Qs),r.addEventListener("mousedown",this._onMousedown,Qs),r.addEventListener("touchstart",this._onTouchstart,Qs)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Qs),document.removeEventListener("mousedown",this._onMousedown,Qs),document.removeEventListener("touchstart",this._onTouchstart,Qs))}static{this.\u0275fac=function(i){return new(i||t)(g(Oe),g(F),g(z),g(ZB,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),e2=new C("liveAnnouncerElement",{providedIn:"root",factory:t2});n2=new C("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),i2=0,wS=(()=>{class t{constructor(e,i,r,o){this._ngZone=i,this._defaultOptions=o,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...i){let r=this._defaultOptions,o,s;return i.length===1&&typeof i[0]=="number"?s=i[0]:[o,s]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),s==null&&r&&(s=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o<i.length;o++)i[o].remove();return r.classList.add(e),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${i2++}`,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(e){let i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<i.length;r++){let o=i[r],s=o.getAttribute("aria-owns");s?s.indexOf(e)===-1&&o.setAttribute("aria-owns",s+" "+e):o.setAttribute("aria-owns",e)}}static{this.\u0275fac=function(i){return new(i||t)(g(e2,8),g(F),g(z),g(n2,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Af=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(Af||{}),r2=new C("cdk-focus-monitor-default-options"),Mf=xr({passive:!0,capture:!0}),Dr=(()=>{class t{constructor(e,i,r,o,s){this._ngZone=e,this._platform=i,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new R,this._rootNodeFocusAndBlurListener=a=>{let l=sn(a);for(let c=l;c;c=c.parentElement)a.type==="focus"?this._onFocus(a,c):this._onBlur(a,c)},this._document=o,this._detectionMode=s?.detectionMode||Af.IMMEDIATE}monitor(e,i=!1){let r=Pi(e);if(!this._platform.isBrowser||r.nodeType!==1)return O();let o=cS(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;let a={checkChildren:i,subject:new R,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let i=Pi(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){let o=Pi(e),s=this._getDocument().activeElement;o===s?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Af.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===Af.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?CS:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,i){let r=this._elementInfo.get(i),o=sn(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){let r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Mf),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Mf)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(fe(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Mf),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Mf),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let s=0;s<o.length;s++)if(o[s].contains(i))return!0}return!1}static{this.\u0275fac=function(i){return new(i||t)(g(F),g(Oe),g(JB),g(z,8),g(r2,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Io=function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t}(Io||{}),gS="cdk-high-contrast-black-on-white",vS="cdk-high-contrast-white-on-black",xy="cdk-high-contrast-active",Oy=(()=>{class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=y(fS).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Io.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Io.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Io.BLACK_ON_WHITE}return Io.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(xy,gS,vS),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Io.BLACK_ON_WHITE?e.add(xy,gS):i===Io.WHITE_ON_BLACK&&e.add(xy,vS)}}static{this.\u0275fac=function(i){return new(i||t)(g(Oe),g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Lf=(()=>{class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}static{this.\u0275fac=function(i){return new(i||t)(g(Oy))}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[If]})}}return t})()});function s2(){return y(z)}function l2(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?a2.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var o2,a2,Ft,ni,Cn=f(()=>{"use strict";D();D();pe();o2=new C("cdk-dir-doc",{providedIn:"root",factory:s2});a2=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;Ft=(()=>{class t{constructor(e){if(this.value="ltr",this.change=new P,e){let i=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.value=l2(i||r||"ltr")}}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(i){return new(i||t)(g(o2,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ni=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({})}}return t})()});function f2(t,n){if(t&1&&Q(0,"mat-pseudo-checkbox",1),t&2){let e=H();M("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function h2(t,n){if(t&1&&Q(0,"mat-pseudo-checkbox",3),t&2){let e=H();M("disabled",e.disabled)}}function p2(t,n){if(t&1&&(I(0,"span",4),le(1),T()),t&2){let e=H();w(),Je("(",e.group.label,")")}}function m2(){return!0}function y2(t,n,e){let i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),r=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+r*r)}function NS(t,n,e){if(e.length){let i=n.toArray(),r=e.toArray(),o=0;for(let s=0;s<t+1;s++)i[s].group&&i[s].group===r[o]&&o++;return o}return 0}function LS(t,n,e,i){return t<e?t:t+n>e+i?Math.max(0,t-i+n):e}var c2,d2,u2,g2,Ye,jf,OS,wn,Ny,ES,Ly,DS,v2,IS,SS,MS,Py,FS,kS,Vy,b2,_2,By,Uy,x2,jy,Xs,zy,AS,TS,Fy,ky,RS,Pf,PS,Pn=f(()=>{"use strict";D();D();Ln();Ln();Cn();pe();Vt();Vt();ji();Re();wr();c2=["text"],d2=[[["mat-icon"]],"*"],u2=["mat-icon","*"];g2=new C("mat-sanity-checks",{providedIn:"root",factory:m2}),Ye=(()=>{class t{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return Pl()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[e]}static{this.\u0275fac=function(i){return new(i||t)(g(Oy),g(g2,8),g(z))}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[ni,ni]})}}return t})(),jf=class{constructor(n,e,i,r,o){this._defaultMatcher=n,this.ngControl=e,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=o,this.errorState=!1}updateErrorState(){let n=this.errorState,e=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=i?.isErrorState(r,e)??!1;o!==n&&(this.errorState=o,this._stateChanges.next())}},OS=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),wn=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(wn||{}),Ny=class{constructor(n,e,i,r=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=wn.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},ES=xr({passive:!0,capture:!0}),Ly=class{constructor(){this._events=new Map,this._delegateEventHandler=n=>{let e=sn(n);e&&this._events.get(n.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(n))})}}addHandler(n,e,i,r){let o=this._events.get(e);if(o){let s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,ES)})}removeHandler(n,e,i){let r=this._events.get(n);if(!r)return;let o=r.get(e);o&&(o.delete(i),o.size===0&&r.delete(e),r.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,ES)))}},DS={enterDuration:225,exitDuration:150},v2=800,IS=xr({passive:!0,capture:!0}),SS=["mousedown","touchstart"],MS=["mouseup","mouseleave","touchend","touchcancel"],Py=class t{static{this._eventManager=new Ly}constructor(n,e,i,r){this._target=n,this._ngZone=e,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Pi(i))}fadeInRipple(n,e,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=x(x({},DS),i.animation);i.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);let s=i.radius||y2(n,e,r),a=n-r.left,l=e-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${a-s}px`,d.style.top=`${l-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,i.color!=null&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),m=u.transitionProperty,h=u.transitionDuration,v=m==="none"||h==="0s"||h==="0s, 0s"||r.width===0&&r.height===0,b=new Ny(this,d,i,v);d.style.transform="scale3d(1, 1, 1)",b.state=wn.FADING_IN,i.persistent||(this._mostRecentTransientRipple=b);let E=null;return!v&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let S=()=>{E&&(E.fallbackTimer=null),clearTimeout(G),this._finishRippleTransition(b)},B=()=>this._destroyRipple(b),G=setTimeout(B,c+100);d.addEventListener("transitionend",S),d.addEventListener("transitioncancel",B),E={onTransitionEnd:S,onTransitionCancel:B,fallbackTimer:G}}),this._activeRipples.set(b,E),(v||!c)&&this._finishRippleTransition(b),b}fadeOutRipple(n){if(n.state===wn.FADING_OUT||n.state===wn.HIDDEN)return;let e=n.element,i=x(x({},DS),n.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=wn.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=Pi(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,SS.forEach(i=>{t._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{MS.forEach(e=>{this._triggerElement.addEventListener(e,this,IS)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===wn.FADING_IN?this._startFadeOutTransition(n):n.state===wn.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=wn.VISIBLE,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=wn.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=Ty(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+v2;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!Ry(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=n.changedTouches;if(e)for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{let e=n.state===wn.VISIBLE||n.config.terminateOnPointerUp&&n.state===wn.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(SS.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(MS.forEach(e=>n.removeEventListener(e,this,IS)),this._pointerUpEventsRegistered=!1))}};FS=new C("mat-ripple-global-options"),kS=(()=>{class t{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,i,r,o,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new Py(this,i,e,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:x(x(x({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,r){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,x(x({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,x(x({},this.rippleConfig),e))}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(F),p(Oe),p(FS,8),p(rt,8))}}static{this.\u0275dir=V({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){i&2&&ae("mat-ripple-unbounded",r.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}}return t})(),Vy=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[Ye,Ye]})}}return t})(),b2=(()=>{class t{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}static{this.\u0275fac=function(i){return new(i||t)(p(rt,8))}}static{this.\u0275cmp=Y({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,r){i&2&&ae("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[Ee],decls:0,vars:0,template:function(i,r){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-app-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-app-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}}return t})(),_2=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[Ye]})}}return t})(),By=new C("MAT_OPTION_PARENT_COMPONENT"),Uy=new C("MatOptgroup"),x2=0,jy=class{constructor(n,e=!1){this.source=n,this.isUserInput=e}},Xs=(()=>{class t{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=e}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(e,i,r,o){this._element=e,this._changeDetectorRef=i,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${x2++}`,this.onSelectionChange=new P,this._stateChanges=new R}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,i){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!Bt(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new jy(this,e))}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(et),p(By,8),p(Uy,8))}}static{this.\u0275cmp=Y({type:t,selectors:[["mat-option"]],viewQuery:function(i,r){if(i&1&&Be(c2,7),i&2){let o;Ce(o=we())&&(r._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,r){i&1&&ee("click",function(){return r._selectViaInteraction()})("keydown",function(s){return r._handleKeydown(s)}),i&2&&(ur("id",r.id),Ie("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),ae("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",Ae]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[vt,Ee],ngContentSelectors:u2,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,r){i&1&&(on(d2),ie(0,f2,1,2,"mat-pseudo-checkbox",1),Ge(1),I(2,"span",2,0),Ge(4,1),T(),ie(5,h2,1,1,"mat-pseudo-checkbox",3)(6,p2,2,1,"span",4),Q(7,"div",5)),i&2&&(ot(r.multiple?0:-1),w(5),ot(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),w(),ot(r.group&&r.group._inert?6:-1),w(),M("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[b2,kS],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-app-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color);outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-app-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return t})();zy=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[Vy,Ye,_2]})}}return t})(),AS={capture:!0},TS=["focus","mousedown","mouseenter","touchstart"],Fy="mat-ripple-loader-uninitialized",ky="mat-ripple-loader-class-name",RS="mat-ripple-loader-centered",Pf="mat-ripple-loader-disabled",PS=(()=>{class t{constructor(){this._document=y(z,{optional:!0}),this._animationMode=y(rt,{optional:!0}),this._globalRippleOptions=y(FS,{optional:!0}),this._platform=y(Oe),this._ngZone=y(F),this._hosts=new Map,this._onInteraction=e=>{let i=sn(e);if(i instanceof HTMLElement){let r=i.closest(`[${Fy}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}},this._ngZone.runOutsideAngular(()=>{for(let e of TS)this._document?.addEventListener(e,this._onInteraction,AS)})}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);for(let i of TS)this._document?.removeEventListener(i,this._onInteraction,AS)}configureRipple(e,i){e.setAttribute(Fy,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(ky))&&e.setAttribute(ky,i.className||""),i.centered&&e.setAttribute(RS,""),i.disabled&&e.setAttribute(Pf,"")}getRipple(e){return this._hosts.get(e)||this._createRipple(e)}setDisabled(e,i){let r=this._hosts.get(e);if(r){r.disabled=i;return}i?e.setAttribute(Pf,""):e.removeAttribute(Pf)}_createRipple(e){if(!this._document)return;let i=this._hosts.get(e);if(i)return i;e.querySelector(".mat-ripple")?.remove();let r=this._document.createElement("span");r.classList.add("mat-ripple",e.getAttribute(ky)),e.append(r);let o=new kS(new j(r),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return o._isInitialized=!0,o.trigger=e,o.centered=e.hasAttribute(RS),o.disabled=e.hasAttribute(Pf),this.attachRipple(e,o),o}attachRipple(e,i){e.removeAttribute(Fy),this._hosts.set(e,i)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.ngOnDestroy(),this._hosts.delete(e))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var C2,w2,E2,D2,I2,S2,M2,A2,jS,ii,Js,Ir,an=f(()=>{"use strict";Vt();D();D();Ln();Pn();C2=["mat-button",""],w2=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],E2=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],D2=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",I2=["mat-icon-button",""],S2=["*"],M2=new C("MAT_BUTTON_CONFIG"),A2=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],jS=(()=>{class t{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}constructor(e,i,r,o){this._elementRef=e,this._platform=i,this._ngZone=r,this._animationMode=o,this._focusMonitor=y(Dr),this._rippleLoader=y(PS),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let s=y(M2,{optional:!0}),a=e.nativeElement,l=a.classList;this.disabledInteractive=s?.disabledInteractive??!1,this.color=s?.color??null,this._rippleLoader?.configureRipple(a,{className:"mat-mdc-button-ripple"});for(let{attribute:c,mdcClasses:d}of A2)a.hasAttribute(c)&&l.add(...d)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static{this.\u0275fac=function(i){Ts()}}static{this.\u0275dir=V({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Ae],disabled:[2,"disabled","disabled",Ae],ariaDisabled:[2,"aria-disabled","ariaDisabled",Ae],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Ae]},features:[vt]})}}return t})(),ii=(()=>{class t extends jS{constructor(e,i,r,o){super(e,i,r,o)}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(Oe),p(F),p(rt,8))}}static{this.\u0275cmp=Y({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,r){i&2&&(Ie("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),_o(r.color?"mat-"+r.color:""),ae("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[me,Ee],attrs:C2,ngContentSelectors:E2,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(on(w2),Q(0,"span",0),Ge(1),I(2,"span",1),Ge(3,1),T(),Ge(4,2),Q(5,"span",2)(6,"span",3)),i&2&&ae("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 8px);height:var(--mdc-text-button-container-height);font-family:var(--mdc-text-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-app-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-filled-button-horizontal-padding, 16px);height:var(--mdc-filled-button-container-height);font-family:var(--mdc-filled-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-app-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-app-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-app-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-app-level1));height:var(--mdc-protected-button-container-height);font-family:var(--mdc-protected-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-app-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-app-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-app-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-app-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-outlined-button-horizontal-padding, 15px);height:var(--mdc-outlined-button-container-height);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-app-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-app-corner-full));border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-app-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-app-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}}return t})(),Js=(()=>{class t extends jS{constructor(e,i,r,o){super(e,i,r,o),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(Oe),p(F),p(rt,8))}}static{this.\u0275cmp=Y({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,r){i&2&&(Ie("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),_o(r.color?"mat-"+r.color:""),ae("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[me,Ee],attrs:I2,ngContentSelectors:S2,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(on(),Q(0,"span",0),Ge(1),Q(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',D2],encapsulation:2,changeDetection:0})}}return t})(),Ir=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[Ye,Vy,Ye]})}}return t})()});function R2(){if(Uf===void 0&&(Uf=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(Uf=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Uf}function Bl(t){return R2()?.createHTML(t)||t}function VS(t){return Error(`Unable to find icon with the name "${t}"`)}function O2(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function BS(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function US(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}function zf(t){return t.cloneNode(!0)}function zS(t,n){return t+":"+n}function F2(t){return!!(t.url&&t.options)}function L2(){let t=y(z),n=t?t.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}var T2,Uf,Vi,Hy,k2,N2,$S,P2,j2,ri,$f,Bi=f(()=>{"use strict";D();D();Pn();pe();Re();ct();bl();Ps();T2=["*"];Vi=class{constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}},Hy=(()=>{class t{constructor(e,i,r,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,o){return this._addSvgIconConfig(e,i,new Vi(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){let s=this._sanitizer.sanitize(Et.HTML,r);if(!s)throw US(r);let a=Bl(s);return this._addSvgIconConfig(e,i,new Vi("",a,o))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new Vi(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){let o=this._sanitizer.sanitize(Et.HTML,i);if(!o)throw US(i);let s=Bl(o);return this._addSvgIconSetConfig(e,new Vi("",s,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let i=this._sanitizer.sanitize(Et.RESOURCE_URL,e);if(!i)throw BS(e);let r=this._cachedIconsByUrl.get(i);return r?O(zf(r)):this._loadSvgIconFromConfig(new Vi(e,null)).pipe(Le(o=>this._cachedIconsByUrl.set(i,o)),k(o=>zf(o)))}getNamedSvgIcon(e,i=""){let r=zS(i,e),o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);let s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(e,s):Ki(VS(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?O(zf(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(k(i=>zf(i)))}_getSvgFromIconSetConfigs(e,i){let r=this._extractIconWithNameFromAnySet(e,i);if(r)return O(r);let o=i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(Qt(a=>{let c=`Loading icon set URL: ${this._sanitizer.sanitize(Et.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),O(null)})));return to(o).pipe(k(()=>{let s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw VS(e);return s}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){let o=i[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){let s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,e,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Le(i=>e.svgText=i),k(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?O(null):this._fetchIcon(e).pipe(Le(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){let o=e.querySelector(`[id="${i}"]`);if(!o)return null;let s=o.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,r);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),r);let a=this._svgElementFromString(Bl("<svg></svg>"));return a.appendChild(s),this._setSvgAttributes(a,r)}_svgElementFromString(e){let i=this._document.createElement("DIV");i.innerHTML=e;let r=i.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(e){let i=this._svgElementFromString(Bl("<svg></svg>")),r=e.attributes;for(let o=0;o<r.length;o++){let{name:s,value:a}=r[o];s!=="id"&&i.setAttribute(s,a)}for(let o=0;o<e.childNodes.length;o++)e.childNodes[o].nodeType===this._document.ELEMENT_NODE&&i.appendChild(e.childNodes[o].cloneNode(!0));return i}_setSvgAttributes(e,i){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),i&&i.viewBox&&e.setAttribute("viewBox",i.viewBox),e}_fetchIcon(e){let{url:i,options:r}=e,o=r?.withCredentials??!1;if(!this._httpClient)throw O2();if(i==null)throw Error(`Cannot fetch icon from URL "${i}".`);let s=this._sanitizer.sanitize(Et.RESOURCE_URL,i);if(!s)throw BS(i);let a=this._inProgressUrlFetches.get(s);if(a)return a;let l=this._httpClient.get(s,{responseType:"text",withCredentials:o}).pipe(k(c=>Bl(c)),$t(()=>this._inProgressUrlFetches.delete(s)),Ha());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(zS(e,i),r),this}_addSvgIconSetConfig(e,i){let r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){let i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;r<this._resolvers.length;r++){let o=this._resolvers[r](i,e);if(o)return F2(o)?new Vi(o.url,null,o.options):new Vi(o,null)}}static{this.\u0275fac=function(i){return new(i||t)(g(vr,8),g(wl),g(z,8),g(Gt))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();k2=new C("MAT_ICON_DEFAULT_OPTIONS"),N2=new C("mat-icon-location",{providedIn:"root",factory:L2});$S=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],P2=$S.map(t=>`[${t}]`).join(", "),j2=/^url\(['"]?#(.*?)['"]?\)$/,ri=(()=>{class t{get color(){return this._color||this._defaultColor}set color(e){this._color=e}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){let i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){let i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(e,i,r,o,s,a){this._elementRef=e,this._iconRegistry=i,this._location=o,this._errorHandler=s,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=_e.EMPTY,a&&(a.color&&(this.color=this._defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let r=e.childNodes[i];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(s=>{o.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){let i=e.querySelectorAll(P2),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<i.length;o++)$S.forEach(s=>{let a=i[o],l=a.getAttribute(s),c=l?l.match(j2):null;if(c){let d=r.get(a);d||(d=[],r.set(a,d)),d.push({name:s,value:c[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(Ue(1)).subscribe(o=>this._setSvgElement(o),o=>{let s=`Error retrieving icon ${i}:${r}! ${o.message}`;this._errorHandler.handleError(new Error(s))})}}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(Hy),dr("aria-hidden"),p(N2),p(Gt),p(k2,8))}}static{this.\u0275cmp=Y({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,r){i&2&&(Ie("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),_o(r.color?"mat-"+r.color:""),ae("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",Ae],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[vt,Ee],ngContentSelectors:T2,decls:1,vars:0,template:function(i,r){i&1&&(on(),Ge(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}}return t})(),$f=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[Ye,Ye]})}}return t})()});var HS,GS=f(()=>{"use strict";bl();D();D();HS=(()=>{class t{#e=y(vr);play(e,i){return this.#e.get(`https://services.tilde.com/service/tts?system=${i.voice}&text=${e}`,{responseType:"blob"})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});function B2(t,n){if(t&1&&(al(),I(0,"svg",11),Q(1,"circle",12),T()),t&2){let e=H();Ie("viewBox",e._viewBox()),w(),bo("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),Ie("r",e._circleRadius())}}function z2(){return{diameter:WS}}var V2,U2,WS,$2,Hf,qS,Gf=f(()=>{"use strict";D();D();pe();Pn();V2=["determinateSpinner"];U2=new C("mat-progress-spinner-default-options",{providedIn:"root",factory:z2});WS=100,$2=10,Hf=(()=>{class t{get color(){return this._color||this._defaultColor}set color(e){this._color=e}constructor(e,i,r){this._elementRef=e,this._defaultColor="primary",this._value=0,this._diameter=WS,this._noopAnimations=i==="NoopAnimations"&&!!r&&!r._forceAnimations,this.mode=e.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",r&&(r.color&&(this.color=this._defaultColor=r.color),r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_circleRadius(){return(this.diameter-$2)/2}_viewBox(){let e=this._circleRadius()*2+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(rt,8),p(U2))}}static{this.\u0275cmp=Y({type:t,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(i,r){if(i&1&&Be(V2,5),i&2){let o;Ce(o=we())&&(r._determinateCircle=o.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(i,r){i&2&&(Ie("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",r.mode==="determinate"?r.value:null)("mode",r.mode),_o("mat-"+r.color),bo("width",r.diameter,"px")("height",r.diameter,"px")("--mdc-circular-progress-size",r.diameter+"px")("--mdc-circular-progress-active-indicator-width",r.diameter+"px"),ae("_mat-animation-noopable",r._noopAnimations)("mdc-circular-progress--indeterminate",r.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",Si],diameter:[2,"diameter","diameter",Si],strokeWidth:[2,"strokeWidth","strokeWidth",Si]},exportAs:["matProgressSpinner"],standalone:!0,features:[vt,Ee],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(i,r){if(i&1&&(ie(0,B2,2,8,"ng-template",null,0,xo),I(2,"div",2,1),al(),I(4,"svg",3),Q(5,"circle",4),T()(),Bw(),I(6,"div",5)(7,"div",6)(8,"div",7),hl(9,8),T(),I(10,"div",9),hl(11,8),T(),I(12,"div",10),hl(13,8),T()()()),i&2){let o=qt(1);w(4),Ie("viewBox",r._viewBox()),w(),bo("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeDashOffset(),"px")("stroke-width",r._circleStrokeWidth(),"%"),Ie("r",r._circleRadius()),w(4),M("ngTemplateOutlet",o),w(2),M("ngTemplateOutlet",o),w(2),M("ngTemplateOutlet",o)}},dependencies:[Yu],styles:[".mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, var(--mat-app-primary))}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}"],encapsulation:2,changeDetection:0})}}return t})(),qS=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[st,Ye]})}}return t})()});var Wf,YS=f(()=>{"use strict";Re();Wf=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(n=!1,e,i=!0,r){this._multiple=n,this._emitChanges=i,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new R,e&&e.length&&(n?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,i=new Set(n);n.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(this._getConcreteValue(o,i))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){n.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(n,e){if(this.compareWith){e=e??this._selection;for(let i of e)if(this.compareWith(n,i))return i;return n}else return n}}});var W2,ta,Gy,q2,na,ea,Wy,Sr=f(()=>{"use strict";ji();D();Re();ct();Vt();Vt();pe();Cn();Cn();W2=20,ta=(()=>{class t{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new R,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=W2){return this._platform.isBrowser?new Z(i=>{this._globalSubscription||this._addGlobalListener();let r=e>0?this._scrolled.pipe(_d(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):O()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(xe(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=Pi(i),o=e.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return pi(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static{this.\u0275fac=function(i){return new(i||t)(g(F),g(Oe),g(z,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Gy=(()=>{class t{constructor(e,i,r,o){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=r,this.dir=o,this._destroyed=new R,this._elementScrolled=new Z(s=>this.ngZone.runOutsideAngular(()=>pi(this.elementRef.nativeElement,"scroll").pipe(fe(this._destroyed)).subscribe(s)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let i=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&qs()!=Nn.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),qs()==Nn.INVERTED?e.left=e.right:qs()==Nn.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;Df()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left))}measureScrollOffset(e){let i="left",r="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let s=this.dir&&this.dir.value=="rtl";return e=="start"?e=s?r:i:e=="end"&&(e=s?i:r),s&&qs()==Nn.INVERTED?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:s&&qs()==Nn.NEGATED?e==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(ta),p(F),p(Ft,8))}}static{this.\u0275dir=V({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}}return t})(),q2=20,na=(()=>{class t{constructor(e,i,r){this._platform=e,this._change=new R,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){let o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect(),s=-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,a=-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:s,left:a}}change(e=q2){return e>0?this._change.pipe(_d(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static{this.\u0275fac=function(i){return new(i||t)(g(Oe),g(F),g(z,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ea=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({})}}return t})(),Wy=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[ni,ea,ni,ea]})}}return t})()});var zl,Mr,Mo,Yy,ia,qf,$l,Ao,Hl=f(()=>{"use strict";D();D();pe();zl=class{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},Mr=class extends zl{constructor(n,e,i,r,o){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=r,this.projectableNodes=o}},Mo=class extends zl{constructor(n,e,i,r){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},Yy=class extends zl{constructor(n){super(),this.element=n instanceof j?n.nativeElement:n}},ia=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof Mr)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof Mo)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof Yy)return this._attachedPortal=n,this.attachDomPortal(n)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},qf=class extends ia{constructor(n,e,i,r,o){super(),this.outletElement=n,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(n){let i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component),r;return n.viewContainerRef?(r=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=i.create(n.injector||this._defaultInjector||Me.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=n,r}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);r!==-1&&e.remove(r)}),this._attachedPortal=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},$l=(()=>{class t extends ia{constructor(e,i,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new P,this.attachDomPortal=o=>{this._document;let s=o.element;s.parentNode;let a=this._document.createComment("dom-portal");o.setAttachedHost(this),s.parentNode.insertBefore(a,s),this._getRootNode().appendChild(s),this._attachedPortal=o,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(s,a)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),s=i.createComponent(o,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static{this.\u0275fac=function(i){return new(i||t)(p(en),p(Rt),p(z))}}static{this.\u0275dir=V({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[me]})}}return t})(),Ao=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({})}}return t})()});function Zy(t,n){return n.some(e=>{let i=t.bottom<e.top,r=t.top>e.bottom,o=t.right<e.left,s=t.left>e.right;return i||r||o||s})}function QS(t,n){return n.some(e=>{let i=t.top<e.top,r=t.bottom>e.bottom,o=t.left<e.left,s=t.right>e.right;return i||r||o||s})}function ZS(t,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,i=n;for(;i;){if(i===t)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}function To(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function JS(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(Z2);return!e||e==="px"?parseFloat(n):null}return t||null}function eM(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function X2(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}function nU(t){return()=>t.scrollStrategies.reposition()}var KS,Ky,Qy,Yf,Xy,Y2,ra,Jy,nM,K2,Q2,oa,Ui,XS,Z2,eb,tM,tb,J2,eU,dt,tU,iM,Gl,nb,iU,Ar,Tr=f(()=>{"use strict";Sr();Sr();Sr();pe();pe();D();D();ji();Vt();Vt();ct();Cn();Cn();Hl();Re();wr();KS=Df(),Ky=class{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=at(-this._previousScrollPosition.left),n.style.top=at(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,i=n.style,r=e.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),KS&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),KS&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}},Qy=class{constructor(n,e,i,r){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(xe(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Yf=class{enable(){}disable(){}attach(){}};Xy=class{constructor(n,e,i,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();Zy(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Y2=(()=>{class t{constructor(e,i,r,o){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new Yf,this.close=s=>new Qy(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new Ky(this._viewportRuler,this._document),this.reposition=s=>new Xy(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}static{this.\u0275fac=function(i){return new(i||t)(g(ta),g(na),g(F),g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ra=class{constructor(n){if(this.scrollStrategy=new Yf,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){let e=Object.keys(n);for(let i of e)n[i]!==void 0&&(this[i]=n[i])}}},Jy=class{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}},nM=(()=>{class t{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}static{this.\u0275fac=function(i){return new(i||t)(g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),K2=(()=>{class t extends nM{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=r=>{let o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){let a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static{this.\u0275fac=function(i){return new(i||t)(g(z),g(F,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Q2=(()=>{class t extends nM{constructor(e,i,r){super(e),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=sn(o)},this._clickListener=o=>{let s=sn(o),a=o.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;let l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){let d=l[c];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(ZS(d.overlayElement,s)||ZS(d.overlayElement,a))break;let u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(o)):u.next(o)}}}add(e){if(super.add(e),!this._isAttached){let i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}static{this.\u0275fac=function(i){return new(i||t)(g(z),g(Oe),g(F,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();oa=(()=>{class t{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||Pl()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}let i=this._document.createElement("div");i.classList.add(e),Pl()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}static{this.\u0275fac=function(i){return new(i||t)(g(z),g(Oe))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Ui=class{constructor(n,e,i,r,o,s,a,l,c,d=!1,u){this._portalOutlet=n,this._host=e,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._injector=u,this._backdropElement=null,this._backdropClick=new R,this._attachments=new R,this._detachments=new R,this._locationChanges=_e.EMPTY,this._backdropClickHandler=m=>this._backdropClick.next(m),this._backdropTransitionendHandler=m=>{this._disposeBackdrop(m.target)},this._keydownEvents=new R,this._outsidePointerEvents=new R,this._renders=new R,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy,this._afterRenderRef=xn(()=>fl(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Fn(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=null,n&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=x(x({},this._config),n),this._updateElementSize()}setDirection(n){this._config=se(x({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=at(this._config.width),n.height=at(this._config.height),n.minWidth=at(this._config.minWidth),n.minHeight=at(this._config.minHeight),n.maxWidth=at(this._config.maxWidth),n.maxHeight=at(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let n=this._backdropElement;if(n){if(this._animationsDisabled){this._disposeBackdrop(n);return}n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,e,i){let r=Ks(e||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let n=this._renders.pipe(fe(St(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){let n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},XS="cdk-overlay-connected-position-bounding-box",Z2=/([A-Za-z%]+)$/,eb=class{get positions(){return this._preferredPositions}constructor(n,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new R,this._resizeSubscription=_e.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(XS),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let n=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,r,a),c=this._getOverlayPoint(l,e,a),d=this._getOverlayFit(c,e,i,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(d,c,i)){o.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!s||s.overlayFit.visibleArea<d.visibleArea)&&(s={overlayFit:d,overlayPoint:c,originPoint:l,position:a,overlayRect:e})}if(o.length){let a=null,l=-1;for(let c of o){let d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,a=c)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&To(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(XS),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let r;if(i.originX=="center")r=n.left+n.width/2;else{let s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;r=i.originX=="start"?s:a}e.left<0&&(r-=e.left);let o;return i.originY=="center"?o=n.top+n.height/2:o=i.originY=="top"?n.top:n.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(n,e,i){let r;i.overlayX=="center"?r=-e.width/2:i.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let o;return i.overlayY=="center"?o=-e.height/2:o=i.overlayY=="top"?0:-e.height,{x:n.x+r,y:n.y+o}}_getOverlayFit(n,e,i,r){let o=eM(e),{x:s,y:a}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let d=0-s,u=s+o.width-i.width,m=0-a,h=a+o.height-i.height,v=this._subtractOverflows(o.width,d,u),b=this._subtractOverflows(o.height,m,h),E=v*b;return{visibleArea:E,isCompletelyWithinViewport:o.width*o.height===E,fitsInViewportVertically:b===o.height,fitsInViewportHorizontally:v==o.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){let r=i.bottom-e.y,o=i.right-e.x,s=JS(this._overlayRef.getConfig().minHeight),a=JS(this._overlayRef.getConfig().minWidth),l=n.fitsInViewportVertically||s!=null&&s<=r,c=n.fitsInViewportHorizontally||a!=null&&a<=o;return l&&c}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let r=eM(e),o=this._viewportRect,s=Math.max(n.x+r.width-o.width,0),a=Math.max(n.y+r.height-o.height,0),l=Math.max(o.top-i.top-n.y,0),c=Math.max(o.left-i.left-n.x,0),d=0,u=0;return r.width<=o.width?d=c||-s:d=n.x<this._viewportMargin?o.left-i.left-n.x:0,r.height<=o.height?u=l||-a:u=n.y<this._viewportMargin?o.top-i.top-n.y:0,this._previousPushAmount={x:d,y:u},{x:n.x+d,y:n.y+u}}_applyPosition(n,e){if(this._setTransformOrigin(n),this._setOverlayElementStyles(e,n),this._setBoundingBoxStyles(e,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){let i=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!X2(this._lastScrollVisibility,i)){let r=new Jy(n,i);this._positionChanges.next(r)}this._lastScrollVisibility=i}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),i,r=n.overlayY;n.overlayX==="center"?i="center":this._isRtl()?i=n.overlayX==="start"?"right":"left":i=n.overlayX==="start"?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(n,e){let i=this._viewportRect,r=this._isRtl(),o,s,a;if(e.overlayY==="top")s=n.y,o=i.height-s+this._viewportMargin;else if(e.overlayY==="bottom")a=i.height-n.y+this._viewportMargin*2,o=i.height-a+this._viewportMargin;else{let h=Math.min(i.bottom-n.y+i.top,n.y),v=this._lastBoundingBoxSize.height;o=h*2,s=n.y-h,o>v&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-v/2)}let l=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,c=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,d,u,m;if(c)m=i.width-n.x+this._viewportMargin*2,d=n.x-this._viewportMargin;else if(l)u=n.x,d=i.right-n.x;else{let h=Math.min(i.right-n.x+i.left,n.x),v=this._lastBoundingBoxSize.width;d=h*2,u=n.x-h,d>v&&!this._isInitialRender&&!this._growAfterOpen&&(u=n.x-v/2)}return{top:s,left:u,bottom:a,right:m,width:d,height:o}}_setBoundingBoxStyles(n,e){let i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=at(i.height),r.top=at(i.top),r.bottom=at(i.bottom),r.width=at(i.width),r.left=at(i.left),r.right=at(i.right),e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=at(o)),s&&(r.maxWidth=at(s))}this._lastBoundingBoxSize=i,To(this._boundingBox.style,r)}_resetBoundingBoxStyles(){To(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){To(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();To(i,this._getExactOverlayY(e,n,d)),To(i,this._getExactOverlayX(e,n,d))}else i.position="static";let a="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=at(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=at(s.maxWidth):o&&(i.maxWidth="")),To(this._pane.style,i)}_getExactOverlayY(n,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),n.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;r.bottom=`${s-(o.y+this._overlayRect.height)}px`}else r.top=at(o.y);return r}_getExactOverlayX(n,e,i){let r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i));let s;if(this._isRtl()?s=n.overlayX==="end"?"left":"right":s=n.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;r.right=`${a-(o.x+this._overlayRect.width)}px`}else r.left=at(o.x);return r}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:QS(n,i),isOriginOutsideView:Zy(n,i),isOverlayClipped:QS(e,i),isOverlayOutsideView:Zy(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Ks(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){let n=this._origin;if(n instanceof j)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}};tM="cdk-global-overlay-wrapper",tb=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(tM),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=(r==="100%"||r==="100vw")&&(!s||s==="100%"||s==="100vw"),c=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,u=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",h="",v="",b="";l?b="flex-start":d==="center"?(b="center",m?v=u:h=u):m?d==="left"||d==="end"?(b="flex-end",h=u):(d==="right"||d==="start")&&(b="flex-start",v=u):d==="left"||d==="start"?(b="flex-start",h=u):(d==="right"||d==="end")&&(b="flex-end",v=u),n.position=this._cssPosition,n.marginLeft=l?"0":h,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":v,e.justifyContent=b,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(tM),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},J2=(()=>{class t{constructor(e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new tb}flexibleConnectedTo(e){return new eb(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static{this.\u0275fac=function(i){return new(i||t)(g(na),g(z),g(Oe),g(oa))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),eU=0,dt=(()=>{class t{constructor(e,i,r,o,s,a,l,c,d,u,m,h){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=d,this._location=u,this._outsideClickDispatcher=m,this._animationsModuleType=h}create(e){let i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new ra(e);return s.direction=s.direction||this._directionality.value,new Ui(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Ct))}position(){return this._positionBuilder}_createPaneElement(e){let i=this._document.createElement("div");return i.id=`cdk-overlay-${eU++}`,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(_n)),new qf(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static{this.\u0275fac=function(i){return new(i||t)(g(Y2),g(oa),g(en),g(J2),g(K2),g(Me),g(F),g(z),g(Ft),g(Zn),g(Q2),g(rt,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),tU=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],iM=new C("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=y(dt);return()=>t.scrollStrategies.reposition()}}),Gl=(()=>{class t{constructor(e){this.elementRef=e}static{this.\u0275fac=function(i){return new(i||t)(p(j))}}static{this.\u0275dir=V({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}}return t})(),nb=(()=>{class t{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}constructor(e,i,r,o,s){this._overlay=e,this._dir=s,this._backdropSubscription=_e.EMPTY,this._attachSubscription=_e.EMPTY,this._detachSubscription=_e.EMPTY,this._positionSubscription=_e.EMPTY,this._disposeOnNavigation=!1,this._ngZone=y(F),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new P,this.positionChange=new P,this.attach=new P,this.detach=new P,this.overlayKeydown=new P,this.overlayOutsideClick=new P,this._templatePortal=new Mo(i,r),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=tU);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!Bt(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let r=this._getOriginElement(),o=sn(i);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new ra({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Gl?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Gl?this.origin.elementRef.nativeElement:this.origin instanceof j?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(om(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)(p(dt),p(Jt),p(Rt),p(iM),p(Ft,8))}}static{this.\u0275dir=V({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",Ae],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",Ae],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",Ae],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",Ae],push:[2,"cdkConnectedOverlayPush","push",Ae],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",Ae]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[vt,Ve]})}}return t})();iU={provide:iM,deps:[dt],useFactory:nU},Ar=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({providers:[dt,iU],imports:[ni,Ao,Wy,Wy]})}}return t})()});function ql(t,n){return{type:oe.Trigger,name:t,definitions:n,options:{}}}function Yl(t,n=null){return{type:oe.Animate,styles:n,timings:t}}function rM(t,n=null){return{type:oe.Sequence,steps:t,options:n}}function si(t){return{type:oe.Style,styles:t,offset:null}}function Kf(t,n,e){return{type:oe.State,name:t,styles:n,options:e}}function sa(t,n,e=null){return{type:oe.Transition,expr:t,animation:n,options:e}}function oM(t=null){return{type:oe.AnimateChild,options:t}}function sM(t,n,e=null){return{type:oe.Query,selector:t,animation:n,options:e}}var oe,oi,Rr,Wl,Qf,Zf=f(()=>{"use strict";oe=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(oe||{}),oi="*";Rr=class{constructor(n=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Wl=class{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let e=0,i=0,r=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){let e=n*this.totalTime;this.players.forEach(i=>{let r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){let n=this.players.reduce((e,i)=>e===null||i.totalTime>e.totalTime?i:e,null);return n!=null?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Qf="!"});function oU(t){return()=>t.scrollStrategies.reposition({scrollThrottle:cM})}function aU(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var rU,cM,dM,sU,lU,aM,lM,cU,dU,uU,fU,Or,hU,aa,Fr=f(()=>{"use strict";ct();ji();wr();D();D();pe();Vt();Vt();Ln();Ln();Cn();Tr();Tr();Hl();Re();Sr();Pn();rU=["tooltip"],cM=20,dM=new C("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=y(dt);return()=>t.scrollStrategies.reposition({scrollThrottle:cM})}});sU={provide:dM,deps:[dt],useFactory:oU};lU=new C("mat-tooltip-default-options",{providedIn:"root",factory:aU}),aM="tooltip-panel",lM=xr({passive:!0}),cU=8,dU=8,uU=24,fU=200,Or=(()=>{class t{get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=Ys(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let i=Ys(e);this._disabled!==i&&(this._disabled=i,i?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Er(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Er(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){let i=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(i)}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(e,i,r,o,s,a,l,c,d,u,m,h){this._overlay=e,this._elementRef=i,this._scrollDispatcher=r,this._viewContainerRef=o,this._ngZone=s,this._platform=a,this._ariaDescriber=l,this._focusMonitor=c,this._dir=u,this._defaultOptions=m,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=hU,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._touchstartTimeout=null,this._destroyed=new R,this._injector=y(Me),this._scrollStrategy=d,this._document=h,m&&(this._showDelay=m.showDelay,this._hideDelay=m.hideDelay,m.position&&(this.position=m.position),m.positionAtOrigin&&(this.positionAtOrigin=m.positionAtOrigin),m.touchGestures&&(this.touchGestures=m.touchGestures),m.tooltipClass&&(this.tooltipClass=m.tooltipClass)),u.change.pipe(fe(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=cU}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(fe(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{e.removeEventListener(i,r,lM)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let r=this._createOverlay(i);this._detach(),this._portal=this._portal||new Mr(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(fe(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&o._origin instanceof j)return this._overlayRef;this._detach()}let i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return r.positionChanges.pipe(fe(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${aM}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(fe(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(fe(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(fe(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&o.keyCode===27&&!Bt(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let i=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset(x(x({},r.main),o.main)),this._addOffset(x(x({},r.fallback),o.fallback))])}_addOffset(e){let i=dU,r=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-i:e.originY==="bottom"?e.offsetY=i:e.originX==="start"?e.offsetX=r?-i:i:e.originX==="end"&&(e.offsetX=r?i:-i),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"||i=="below"?r={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={originX:"start",originY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={originX:"end",originY:"center"});let{x:o,y:s}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:s}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"?r={overlayX:"center",overlayY:"bottom"}:i=="below"?r={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={overlayX:"start",overlayY:"center"});let{x:o,y:s}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),Fn(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){let{overlayY:i,originX:r,originY:o}=e,s;if(i==="center"?this._dir&&this._dir.value==="rtl"?s=r==="end"?"left":"right":s=r==="start"?"left":"right":s=i==="bottom"&&o==="top"?"above":"below",s!==this._currentPosition){let a=this._overlayRef;if(a){let l=`${this._cssClassPrefix}-${aM}-`;a.removePanelClass(l+this._currentPosition),a.addPanelClass(l+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let i;e.x!==void 0&&e.y!==void 0&&(i=e),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let i=e.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},this._defaultOptions.touchLongPressShowDelay??o)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{let r=i.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,lM)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let i=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let i=this._elementRef.nativeElement,r=i.style;(e==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(e==="on"||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}static{this.\u0275fac=function(i){return new(i||t)(p(dt),p(j),p(ta),p(Rt),p(F),p(Oe),p(_S),p(Dr),p(dM),p(Ft),p(lU,8),p(z))}}static{this.\u0275dir=V({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){i&2&&ae("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0})}}return t})(),hU=(()=>{class t{constructor(e,i,r){this._changeDetectorRef=e,this._elementRef=i,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new R,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=r==="NoopAnimations"}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>uU&&e.width>=fU}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:r),i.classList.add(e?r:o),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let s=getComputedStyle(i);(s.getPropertyValue("animation-duration")==="0s"||s.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static{this.\u0275fac=function(i){return new(i||t)(p(et),p(j),p(rt,8))}}static{this.\u0275cmp=Y({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,r){if(i&1&&Be(rU,7),i&2){let o;Ce(o=we())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,r){i&1&&ee("mouseleave",function(s){return r._handleMouseLeave(s)})},standalone:!0,features:[Ee],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,r){if(i&1){let o=Pe();I(0,"div",1,0),ee("animationend",function(a){return ye(o),be(r._handleAnimationEnd(a))}),I(2,"div",2),le(3),T()()}i&2&&(ae("mdc-tooltip--multiline",r._isMultiline),M("ngClass",r.tooltipClass),w(3),ft(r.message))},dependencies:[fr],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-app-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-app-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-app-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-app-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-app-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-app-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-app-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-app-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}}return t})(),aa=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({providers:[sU],imports:[Lf,st,Ar,Ye,Ye,ea]})}}return t})()});var rb,uM,fM=f(()=>{"use strict";D();D();Re();ct();rb=class{constructor(n){this._box=n,this._destroyed=new R,this._resizeSubject=new R,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new Z(e=>{let i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),i.unsubscribe(),this._elementObservables.delete(n)}}).pipe(xe(e=>e.some(i=>i.target===n)),io({bufferSize:1,refCount:!0}),fe(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},uM=(()=>{class t{constructor(){this._observers=new Map,this._ngZone=y(F),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,i){let r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new rb(r)),this._observers.get(r).observe(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});function EU(t,n){t&1&&Q(0,"span",21)}function DU(t,n){if(t&1&&(I(0,"label",20),Ge(1,1),ie(2,EU,1,0,"span",21),T()),t&2){let e=H(2);M("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),Ie("for",e._control.disableAutomaticLabeling?null:e._control.id),w(2),ot(!e.hideRequiredMarker&&e._control.required?2:-1)}}function IU(t,n){if(t&1&&ie(0,DU,3,5,"label",20),t&2){let e=H();ot(e._hasFloatingLabel()?0:-1)}}function SU(t,n){t&1&&Q(0,"div",7)}function MU(t,n){}function AU(t,n){if(t&1&&ie(0,MU,0,0,"ng-template",13),t&2){H(2);let e=qt(1);M("ngTemplateOutlet",e)}}function TU(t,n){if(t&1&&(I(0,"div",9),ie(1,AU,1,1,null,13),T()),t&2){let e=H();M("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),w(),ot(e._forceDisplayInfixLabel()?-1:1)}}function RU(t,n){t&1&&(I(0,"div",10,2),Ge(2,2),T())}function OU(t,n){t&1&&(I(0,"div",11,3),Ge(2,3),T())}function FU(t,n){}function kU(t,n){if(t&1&&ie(0,FU,0,0,"ng-template",13),t&2){H();let e=qt(1);M("ngTemplateOutlet",e)}}function NU(t,n){t&1&&(I(0,"div",14,4),Ge(2,4),T())}function LU(t,n){t&1&&(I(0,"div",15,5),Ge(2,5),T())}function PU(t,n){t&1&&Q(0,"div",16)}function jU(t,n){if(t&1&&(I(0,"div",18),Ge(1,6),T()),t&2){let e=H();M("@transitionMessages",e._subscriptAnimationState)}}function VU(t,n){if(t&1&&(I(0,"mat-hint",22),le(1),T()),t&2){let e=H(2);M("id",e._hintLabelId),w(),ft(e.hintLabel)}}function BU(t,n){if(t&1&&(I(0,"div",19),ie(1,VU,2,2,"mat-hint",22),Ge(2,7),Q(3,"div",23),Ge(4,8),T()),t&2){let e=H();M("@transitionMessages",e._subscriptAnimationState),w(),ot(e.hintLabel?1:-1)}}function GU(t){let n=t;if(n.offsetParent!==null)return n.scrollWidth;let e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let i=e.scrollWidth;return e.remove(),i}var pU,mU,gU,vU,yU,bU,_U,xU,CU,wU,la,UU,zU,hM,$U,HU,xM,pM,mM,Jf,gM,vM,WU,ob,sb,qU,yM,bM,YU,_M,KU,eh,th,Kl=f(()=>{"use strict";D();D();Cn();ji();Vt();pe();Re();ct();fM();Zf();by();Pn();pU=["notch"],mU=["matFormFieldNotchedOutline",""],gU=["*"],vU=["textField"],yU=["iconPrefixContainer"],bU=["textPrefixContainer"],_U=["iconSuffixContainer"],xU=["textSuffixContainer"],CU=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],wU=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];la=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=V({type:t,selectors:[["mat-label"]],standalone:!0})}}return t})(),UU=new C("MatError"),zU=0,hM=(()=>{class t{constructor(){this.align="start",this.id=`mat-mdc-hint-${zU++}`}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=V({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,r){i&2&&(ur("id",r.id),Ie("align",null),ae("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0})}}return t})(),$U=new C("MatPrefix"),HU=new C("MatSuffix"),xM=new C("FloatingLabelParent"),pM=(()=>{class t{get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(e){this._elementRef=e,this._floating=!1,this._monitorResize=!1,this._resizeObserver=y(uM),this._ngZone=y(F),this._parent=y(xM),this._resizeSubscription=new _e}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return GU(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static{this.\u0275fac=function(i){return new(i||t)(p(j))}}static{this.\u0275dir=V({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){i&2&&ae("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}}return t})();mM="mdc-line-ripple--active",Jf="mdc-line-ripple--deactivating",gM=(()=>{class t{constructor(e,i){this._elementRef=e,this._handleTransitionEnd=r=>{let o=this._elementRef.nativeElement.classList,s=o.contains(Jf);r.propertyName==="opacity"&&s&&o.remove(mM,Jf)},i.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Jf),e.add(mM)}deactivate(){this._elementRef.nativeElement.classList.add(Jf)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(F))}}static{this.\u0275dir=V({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}}return t})(),vM=(()=>{class t{constructor(e,i){this._elementRef=e,this._ngZone=i,this.open=!1}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(F))}}static{this.\u0275cmp=Y({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,r){if(i&1&&Be(pU,5),i&2){let o;Ce(o=we())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,r){i&2&&ae("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[Ee],attrs:mU,ngContentSelectors:gU,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(i,r){i&1&&(on(),Q(0,"div",1),I(1,"div",2,0),Ge(3),T(),Q(4,"div",3))},encapsulation:2,changeDetection:0})}}return t})(),WU={transitionMessages:ql("transitionMessages",[Kf("enter",si({opacity:1,transform:"translateY(0%)"})),sa("void => enter",[si({opacity:0,transform:"translateY(-5px)"}),Yl("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},ob=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=V({type:t})}}return t})(),sb=new C("MatFormField"),qU=new C("MAT_FORM_FIELD_DEFAULT_OPTIONS"),yM=0,bM="fill",YU="auto",_M="fixed",KU="translateY(-50%)",eh=(()=>{class t{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Ys(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||YU}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){let i=this._appearance,r=e||this._defaults?.appearance||bM;this._appearance=r,this._appearance==="outline"&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdate=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||_M}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||_M}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,i,r,o,s,a,l,c){this._elementRef=e,this._changeDetectorRef=i,this._dir=o,this._platform=s,this._defaults=a,this._animationMode=l,this._labelChild=pD(la),this._hideRequiredMarker=!1,this.color="primary",this._appearance=bM,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${yM++}`,this._hintLabelId=`mat-mdc-hint-${yM++}`,this._subscriptAnimationState="",this._destroyed=new R,this._isFocused=null,this._needsOutlineLabelOffsetUpdate=!1,this._previousControl=null,this._injector=y(Me),this.getLabelId=Mi(()=>this._hasFloatingLabel()?this._labelId:null),this._hasFloatingLabel=Mi(()=>!!this._labelChild()),a&&(a.appearance&&(this.appearance=a.appearance),this._hideRequiredMarker=!!a?.hideRequiredMarker,a.color&&(this.color=a.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let i=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(r+i.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=i.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._valueChanges?.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(fe(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),St(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),fl(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(fe(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let i=this._hintChildren?this._hintChildren.find(o=>o.align==="start"):null,r=this._hintChildren?this._hintChildren.find(o=>o.align==="end"):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let i=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=this._iconSuffixContainer?.nativeElement,s=this._textSuffixContainer?.nativeElement,a=i?.getBoundingClientRect().width??0,l=r?.getBoundingClientRect().width??0,c=o?.getBoundingClientRect().width??0,d=s?.getBoundingClientRect().width??0,u=this._dir.value==="rtl"?"-1":"1",m=`${a+l}px`,v=`calc(${u} * (${m} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var(
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=e})});function zr(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var Ad=f(()=>{"use strict"});function Rd(t){return t instanceof _e||t&&"closed"in t&&W(t.remove)&&W(t.add)&&W(t.unsubscribe)}function Xx(t){W(t)?t():t.unsubscribe()}var _e,gm,$r=f(()=>{"use strict";ot();Zx();Ad();_e=class t{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let o of e)o.remove(this);else e.remove(this);let{initialTeardown:i}=this;if(W(i))try{i()}catch(o){n=o instanceof Td?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{Xx(o)}catch(s){n=n??[],s instanceof Td?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Td(n)}}add(n){var e;if(n&&n!==this)if(this.closed)Xx(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&zr(e,n)}remove(n){let{_finalizers:e}=this;e&&zr(e,n),n instanceof t&&n._removeParent(this)}};_e.EMPTY=(()=>{let t=new _e;return t.closed=!0,t})();gm=_e.EMPTY});var In,Za=f(()=>{"use strict";In={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}});var Jo,ym=f(()=>{"use strict";Jo={setTimeout(t,n,...e){let{delegate:i}=Jo;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=Jo;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0}});function Od(t){Jo.setTimeout(()=>{let{onUnhandledError:n}=In;if(n)n(t);else throw t})}var vm=f(()=>{"use strict";Za();ym()});function Xa(){}var bm=f(()=>{"use strict"});function e0(t){return _m("E",void 0,t)}function t0(t){return _m("N",t,void 0)}function _m(t,n,e){return{kind:t,value:n,error:e}}var Jx,n0=f(()=>{"use strict";Jx=_m("C",void 0,void 0)});function es(t){if(In.useDeprecatedSynchronousErrorHandling){let n=!Gr;if(n&&(Gr={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:i}=Gr;if(Gr=null,e)throw i}}else t()}function i0(t){In.useDeprecatedSynchronousErrorHandling&&Gr&&(Gr.errorThrown=!0,Gr.error=t)}var Gr,kd=f(()=>{"use strict";Za();Gr=null});function Cm(t,n){return YF.call(t,n)}function Nd(t){In.useDeprecatedSynchronousErrorHandling?i0(t):Od(t)}function QF(t){throw t}function xm(t,n){let{onStoppedNotification:e}=In;e&&Jo.setTimeout(()=>e(t,n))}var Wr,YF,wm,fi,ZF,Fd=f(()=>{"use strict";ot();$r();Za();vm();bm();n0();ym();kd();Wr=class extends _e{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Rd(n)&&n.add(this)):this.destination=ZF}static create(n,e,i){return new fi(n,e,i)}next(n){this.isStopped?xm(t0(n),this):this._next(n)}error(n){this.isStopped?xm(e0(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?xm(Jx,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},YF=Function.prototype.bind;wm=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){Nd(i)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){Nd(i)}else Nd(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){Nd(e)}}},fi=class extends Wr{constructor(n,e,i){super();let r;if(W(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&In.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Cm(n.next,o),error:n.error&&Cm(n.error,o),complete:n.complete&&Cm(n.complete,o)}):r=n}this.destination=new wm(r)}};ZF={closed:!0,next:Xa,error:QF,complete:Xa}});var ts,Ld=f(()=>{"use strict";ts=typeof Symbol=="function"&&Symbol.observable||"@@observable"});function Ot(t){return t}var rr=f(()=>{"use strict"});function Em(...t){return Dm(t)}function Dm(t){return t.length===0?Ot:t.length===1?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}var Sm=f(()=>{"use strict";rr()});function r0(t){var n;return(n=t??In.Promise)!==null&&n!==void 0?n:Promise}function XF(t){return t&&W(t.next)&&W(t.error)&&W(t.complete)}function JF(t){return t&&t instanceof Wr||XF(t)&&Rd(t)}var Z,xt=f(()=>{"use strict";Fd();$r();Ld();Sm();Za();ot();kd();Z=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,r){let o=JF(e)?e:new fi(e,i,r);return es(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return i=r0(i),new i((r,o)=>{let s=new fi({next:a=>{try{e(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(e){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(e)}[ts](){return this}pipe(...e){return Dm(e)(this)}toPromise(e){return e=r0(e),new e((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return t.create=n=>new t(n),t})()});function Im(t){return W(t?.lift)}function te(t){return n=>{if(Im(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}var Ge=f(()=>{"use strict";ot()});function X(t,n,e,i,r){return new Mm(t,n,e,i,r)}var Mm,Ye=f(()=>{"use strict";Fd();Mm=class extends Wr{constructor(n,e,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}}});function ns(){return te((t,n)=>{let e=null;t._refCount++;let i=X(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let r=t._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}var Tm=f(()=>{"use strict";Ge();Ye()});var is,o0=f(()=>{"use strict";xt();$r();Tm();Ye();Ge();is=class extends Z{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Im(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new _e;let e=this.getSubject();n.add(this.source.subscribe(X(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=_e.EMPTY)}return n}refCount(){return ns()(this)}}});var s0,a0=f(()=>{"use strict";Md();s0=Xo(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"})});var T,Pd,Ja=f(()=>{"use strict";xt();$r();a0();Ad();kd();T=(()=>{class t extends Z{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let i=new Pd(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new s0}next(e){es(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(e)}})}error(e){es(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){es(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:i,isStopped:r,observers:o}=this;return i||r?gm:(this.currentObservers=null,o.push(e),new _e(()=>{this.currentObservers=null,zr(o,e)}))}_checkFinalizedStatuses(e){let{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){let e=new Z;return e.source=this,e}}return t.create=(n,e)=>new Pd(n,e),t})(),Pd=class extends T{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.next)===null||i===void 0||i.call(e,n)}error(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.error)===null||i===void 0||i.call(e,n)}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n)}_subscribe(n){var e,i;return(i=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&i!==void 0?i:gm}}});var nt,l0=f(()=>{"use strict";Ja();nt=class extends T{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){let{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}});var el,Am=f(()=>{"use strict";el={now(){return(el.delegate||Date).now()},delegate:void 0}});var qr,Rm=f(()=>{"use strict";Ja();Am();qr=class extends T{constructor(n=1/0,e=1/0,i=el){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){let{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;e||(i.push(n),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;s<o.length&&!n.closed;s+=i?1:2)n.next(o[s]);return this._checkFinalizedStatuses(n),e}_trimBuffer(){let{_bufferSize:n,_timestampProvider:e,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*n;if(n<1/0&&o<i.length&&i.splice(0,i.length-o),!r){let s=e.now(),a=0;for(let l=1;l<i.length&&i[l]<=s;l+=2)a=l;a&&i.splice(0,a+1)}}}});var jd,c0=f(()=>{"use strict";$r();jd=class extends _e{constructor(n,e){super()}schedule(n,e=0){return this}}});var tl,d0=f(()=>{"use strict";tl={setInterval(t,n,...e){let{delegate:i}=tl;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){let{delegate:n}=tl;return(n?.clearInterval||clearInterval)(t)},delegate:void 0}});var Vd,u0=f(()=>{"use strict";c0();d0();Ad();Vd=class extends jd{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;let r=this.id,o=this.scheduler;return r!=null&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(o,this.id,e),this}requestAsyncId(n,e,i=0){return tl.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(i!=null&&this.delay===i&&this.pending===!1)return e;e!=null&&tl.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let i=this._execute(n,e);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let i=!1,r;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){let{id:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,zr(i,this),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}}});var rs,f0=f(()=>{"use strict";Am();rs=class t{constructor(n,e=t.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}};rs.now=el.now});var Bd,h0=f(()=>{"use strict";f0();Bd=class extends rs{constructor(n,e=rs.now){super(n,e),this.actions=[],this._active=!1}flush(n){let{actions:e}=this;if(this._active){e.push(n);return}let i;this._active=!0;do if(i=n.execute(n.state,n.delay))break;while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}}});var nl,p0,Ud=f(()=>{"use strict";u0();h0();nl=new Bd(Vd),p0=nl});var wt,il=f(()=>{"use strict";xt();wt=new Z(t=>t.complete())});function Hd(t){return t&&W(t.schedule)}var Om=f(()=>{"use strict";ot()});function km(t){return t[t.length-1]}function zd(t){return W(km(t))?t.pop():void 0}function Gn(t){return Hd(km(t))?t.pop():void 0}function m0(t,n){return typeof km(t)=="number"?t.pop():n}var Kr=f(()=>{"use strict";ot();Om()});function y0(t,n,e,i){function r(o){return o instanceof e?o:new e(function(s){s(o)})}return new(e||(e=Promise))(function(o,s){function a(d){try{c(i.next(d))}catch(h){s(h)}}function l(d){try{c(i.throw(d))}catch(h){s(h)}}function c(d){d.done?o(d.value):r(d.value).then(a,l)}c((i=i.apply(t,n||[])).next())})}function g0(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Yr(t){return this instanceof Yr?(this.v=t,this):new Yr(t)}function v0(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e.apply(t,n||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),r[Symbol.asyncIterator]=function(){return this},r;function s(p){return function(g){return Promise.resolve(g).then(p,h)}}function a(p,g){i[p]&&(r[p]=function(y){return new Promise(function(I,R){o.push([p,y,I,R])>1||l(p,y)})},g&&(r[p]=g(r[p])))}function l(p,g){try{c(i[p](g))}catch(y){m(o[0][3],y)}}function c(p){p.value instanceof Yr?Promise.resolve(p.value.v).then(d,h):m(o[0][2],p)}function d(p){l("next",p)}function h(p){l("throw",p)}function m(p,g){p(g),o.shift(),o.length&&l(o[0][0],o[0][1])}}function b0(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof g0=="function"?g0(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=t[o]&&function(s){return new Promise(function(a,l){s=t[o](s),r(a,l,s.done,s.value)})}}function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}}var Nm=f(()=>{"use strict"});var os,$d=f(()=>{"use strict";os=t=>t&&typeof t.length=="number"&&typeof t!="function"});function Gd(t){return W(t?.then)}var Fm=f(()=>{"use strict";ot()});function Wd(t){return W(t[ts])}var Lm=f(()=>{"use strict";Ld();ot()});function qd(t){return Symbol.asyncIterator&&W(t?.[Symbol.asyncIterator])}var Pm=f(()=>{"use strict";ot()});function Kd(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}var jm=f(()=>{"use strict"});function eL(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Yd,Vm=f(()=>{"use strict";Yd=eL()});function Qd(t){return W(t?.[Yd])}var Bm=f(()=>{"use strict";Vm();ot()});function Zd(t){return v0(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:i,done:r}=yield Yr(e.read());if(r)return yield Yr(void 0);yield yield Yr(i)}}finally{e.releaseLock()}})}function Xd(t){return W(t?.getReader)}var Jd=f(()=>{"use strict";Nm();ot()});function Oe(t){if(t instanceof Z)return t;if(t!=null){if(Wd(t))return tL(t);if(os(t))return nL(t);if(Gd(t))return iL(t);if(qd(t))return _0(t);if(Qd(t))return rL(t);if(Xd(t))return oL(t)}throw Kd(t)}function tL(t){return new Z(n=>{let e=t[ts]();if(W(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function nL(t){return new Z(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function iL(t){return new Z(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,Od)})}function rL(t){return new Z(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function _0(t){return new Z(n=>{sL(t,n).catch(e=>n.error(e))})}function oL(t){return _0(Zd(t))}function sL(t,n){var e,i,r,o;return y0(this,void 0,void 0,function*(){try{for(e=b0(t);i=yield e.next(),!i.done;){let s=i.value;if(n.next(s),n.closed)return}}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}n.complete()})}var kt=f(()=>{"use strict";Nm();$d();Fm();xt();Lm();Pm();jm();Bm();Jd();ot();vm();Ld()});function Ht(t,n,e,i=0,r=!1){let o=n.schedule(function(){e(),r?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(o),!r)return o}var ss=f(()=>{"use strict"});function eu(t,n=0){return te((e,i)=>{e.subscribe(X(i,r=>Ht(i,t,()=>i.next(r),n),()=>Ht(i,t,()=>i.complete(),n),r=>Ht(i,t,()=>i.error(r),n)))})}var Um=f(()=>{"use strict";ss();Ge();Ye()});function tu(t,n=0){return te((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}var Hm=f(()=>{"use strict";Ge()});function C0(t,n){return Oe(t).pipe(tu(n),eu(n))}var x0=f(()=>{"use strict";kt();Um();Hm()});function w0(t,n){return Oe(t).pipe(tu(n),eu(n))}var E0=f(()=>{"use strict";kt();Um();Hm()});function D0(t,n){return new Z(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}var S0=f(()=>{"use strict";xt()});function I0(t,n){return new Z(e=>{let i;return Ht(e,n,()=>{i=t[Yd](),Ht(e,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){e.error(s);return}o?e.complete():e.next(r)},0,!0)}),()=>W(i?.return)&&i.return()})}var M0=f(()=>{"use strict";xt();Vm();ot();ss()});function nu(t,n){if(!t)throw new Error("Iterable cannot be null");return new Z(e=>{Ht(e,n,()=>{let i=t[Symbol.asyncIterator]();Ht(e,n,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}var zm=f(()=>{"use strict";xt();ss()});function T0(t,n){return nu(Zd(t),n)}var A0=f(()=>{"use strict";zm();Jd()});function R0(t,n){if(t!=null){if(Wd(t))return C0(t,n);if(os(t))return D0(t,n);if(Gd(t))return w0(t,n);if(qd(t))return nu(t,n);if(Qd(t))return I0(t,n);if(Xd(t))return T0(t,n)}throw Kd(t)}var O0=f(()=>{"use strict";x0();E0();S0();M0();zm();Lm();Fm();$d();Bm();Pm();jm();Jd();A0()});function Te(t,n){return n?R0(t,n):Oe(t)}var as=f(()=>{"use strict";O0();kt()});function k(...t){let n=Gn(t);return Te(t,n)}var k0=f(()=>{"use strict";Kr();as()});function or(t,n){let e=W(t)?t:()=>t,i=r=>r.error(e());return new Z(n?r=>n.schedule(i,0,r):i)}var N0=f(()=>{"use strict";xt();ot()});function Mn(t){return!!t&&(t instanceof Z||W(t.lift)&&W(t.subscribe))}var F0=f(()=>{"use strict";xt();ot()});var hi,rl=f(()=>{"use strict";Md();hi=Xo(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"})});function L0(t){return t instanceof Date&&!isNaN(t)}var P0=f(()=>{"use strict"});function j(t,n){return te((e,i)=>{let r=0;e.subscribe(X(i,o=>{i.next(t.call(n,o,r++))}))})}var ol=f(()=>{"use strict";Ge();Ye()});function lL(t,n){return aL(n)?t(...n):t(n)}function ls(t){return j(n=>lL(t,n))}var aL,iu=f(()=>{"use strict";ol();({isArray:aL}=Array)});function ru(t){if(t.length===1){let n=t[0];if(cL(n))return{args:n,keys:null};if(hL(n)){let e=fL(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}function hL(t){return t&&typeof t=="object"&&dL(t)===uL}var cL,dL,uL,fL,$m=f(()=>{"use strict";({isArray:cL}=Array),{getPrototypeOf:dL,prototype:uL,keys:fL}=Object});function ou(t,n){return t.reduce((e,i,r)=>(e[i]=n[r],e),{})}var Gm=f(()=>{"use strict"});function Qr(...t){let n=Gn(t),e=zd(t),{args:i,keys:r}=ru(t);if(i.length===0)return Te([],n);let o=new Z(pL(i,n,r?s=>ou(r,s):Ot));return e?o.pipe(ls(e)):o}function pL(t,n,e=Ot){return i=>{j0(n,()=>{let{length:r}=t,o=new Array(r),s=r,a=r;for(let l=0;l<r;l++)j0(n,()=>{let c=Te(t[l],n),d=!1;c.subscribe(X(i,h=>{o[l]=h,d||(d=!0,a--),a||i.next(e(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}function j0(t,n,e){t?Ht(e,t,n):n()}var V0=f(()=>{"use strict";xt();$m();as();rr();iu();Kr();Gm();Ye();ss()});function B0(t,n,e,i,r,o,s,a){let l=[],c=0,d=0,h=!1,m=()=>{h&&!l.length&&!c&&n.complete()},p=y=>c<i?g(y):l.push(y),g=y=>{o&&n.next(y),c++;let I=!1;Oe(e(y,d++)).subscribe(X(n,R=>{r?.(R),o?p(R):n.next(R)},()=>{I=!0},void 0,()=>{if(I)try{for(c--;l.length&&c<i;){let R=l.shift();s?Ht(n,s,()=>g(R)):g(R)}m()}catch(R){n.error(R)}}))};return t.subscribe(X(n,p,()=>{h=!0,m()})),()=>{a?.()}}var U0=f(()=>{"use strict";kt();ss();Ye()});function He(t,n,e=1/0){return W(n)?He((i,r)=>j((o,s)=>n(i,o,r,s))(Oe(t(i,r))),e):(typeof n=="number"&&(e=n),te((i,r)=>B0(i,r,t,e)))}var cs=f(()=>{"use strict";ol();kt();Ge();U0();ot()});function sr(t=1/0){return He(Ot,t)}var su=f(()=>{"use strict";cs();rr()});function H0(){return sr(1)}var z0=f(()=>{"use strict";su()});function Tn(...t){return H0()(Te(t,Gn(t)))}var Wm=f(()=>{"use strict";z0();Kr();as()});function on(t){return new Z(n=>{Oe(t()).subscribe(n)})}var $0=f(()=>{"use strict";xt();kt()});function Zr(...t){let n=zd(t),{args:e,keys:i}=ru(t),r=new Z(o=>{let{length:s}=e;if(!s){o.complete();return}let a=new Array(s),l=s,c=s;for(let d=0;d<s;d++){let h=!1;Oe(e[d]).subscribe(X(o,m=>{h||(h=!0,c--),a[d]=m},()=>l--,void 0,()=>{(!l||!h)&&(c||o.next(i?ou(i,a):a),o.complete())}))}});return n?r.pipe(ls(n)):r}var G0=f(()=>{"use strict";xt();$m();kt();Kr();Ye();iu();Gm()});function ds(t,n,e,i){if(W(e)&&(i=e,e=void 0),i)return ds(t,n,e).pipe(ls(i));let[r,o]=_L(t)?gL.map(s=>a=>t[s](n,a,e)):vL(t)?mL.map(W0(t,n)):bL(t)?yL.map(W0(t,n)):[];if(!r&&os(t))return He(s=>ds(s,n,e))(Oe(t));if(!r)throw new TypeError("Invalid event target");return new Z(s=>{let a=(...l)=>s.next(1<l.length?l:l[0]);return r(a),()=>o(a)})}function W0(t,n){return e=>i=>t[e](n,i)}function vL(t){return W(t.addListener)&&W(t.removeListener)}function bL(t){return W(t.on)&&W(t.off)}function _L(t){return W(t.addEventListener)&&W(t.removeEventListener)}var mL,gL,yL,q0=f(()=>{"use strict";kt();xt();cs();$d();ot();iu();mL=["addListener","removeListener"],gL=["addEventListener","removeEventListener"],yL=["on","off"]});function K0(t=0,n,e=p0){let i=-1;return n!=null&&(Hd(n)?e=n:i=n),new Z(r=>{let o=L0(t)?+t-e.now():t;o<0&&(o=0);let s=0;return e.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}var Y0=f(()=>{"use strict";xt();Ud();Om();P0()});function Et(...t){let n=Gn(t),e=m0(t,1/0),i=t;return i.length?i.length===1?Oe(i[0]):sr(e)(Te(i,n)):wt}var Q0=f(()=>{"use strict";su();kt();il();Kr();as()});function me(t,n){return te((e,i)=>{let r=0;e.subscribe(X(i,o=>t.call(n,o,r++)&&i.next(o)))})}var sl=f(()=>{"use strict";Ge();Ye()});var Z0=f(()=>{"use strict"});function X0(t){return te((n,e)=>{let i=!1,r=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;let c=r;r=null,e.next(c)}s&&e.complete()},l=()=>{o=null,s&&e.complete()};n.subscribe(X(e,c=>{i=!0,r=c,o||Oe(t(c)).subscribe(o=X(e,a,l))},()=>{s=!0,(!i||!o||o.closed)&&e.complete()}))})}var J0=f(()=>{"use strict";Ge();kt();Ye()});function au(t,n=nl){return X0(()=>K0(t,n))}var ew=f(()=>{"use strict";Ud();J0();Y0()});function zt(t){return te((n,e)=>{let i=null,r=!1,o;i=n.subscribe(X(e,void 0,void 0,s=>{o=Oe(t(s,zt(t)(n))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}var qm=f(()=>{"use strict";kt();Ye();Ge()});function tw(t,n,e,i,r){return(o,s)=>{let a=e,l=n,c=0;o.subscribe(X(s,d=>{let h=c++;l=a?t(l,d,h):(a=!0,d),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}var nw=f(()=>{"use strict";Ye()});function yn(t,n){return W(n)?He(t,n,1):He(t,1)}var iw=f(()=>{"use strict";cs();ot()});function pi(t,n=nl){return te((e,i)=>{let r=null,o=null,s=null,a=()=>{if(r){r.unsubscribe(),r=null;let c=o;o=null,i.next(c)}};function l(){let c=s+t,d=n.now();if(d<c){r=this.schedule(void 0,c-d),i.add(r);return}a()}e.subscribe(X(i,c=>{o=c,s=n.now(),r||(r=n.schedule(l,t),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}var Km=f(()=>{"use strict";Ud();Ge();Ye()});function ar(t){return te((n,e)=>{let i=!1;n.subscribe(X(e,r=>{i=!0,e.next(r)},()=>{i||e.next(t),e.complete()}))})}var lu=f(()=>{"use strict";Ge();Ye()});function Pe(t){return t<=0?()=>wt:te((n,e)=>{let i=0;n.subscribe(X(e,r=>{++i<=t&&(e.next(r),t<=i&&e.complete())}))})}var Ym=f(()=>{"use strict";il();Ge();Ye()});function al(t,n=Ot){return t=t??CL,te((e,i)=>{let r,o=!0;e.subscribe(X(i,s=>{let a=n(s);(o||!t(r,a))&&(o=!1,r=a,i.next(s))}))})}function CL(t,n){return t===n}var rw=f(()=>{"use strict";rr();Ge();Ye()});function cu(t=xL){return te((n,e)=>{let i=!1;n.subscribe(X(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(t())))})}function xL(){return new hi}var Qm=f(()=>{"use strict";rl();Ge();Ye()});function $t(t){return te((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}var Zm=f(()=>{"use strict";Ge()});function mi(t,n){let e=arguments.length>=2;return i=>i.pipe(t?me((r,o)=>t(r,o,i)):Ot,Pe(1),e?ar(n):cu(()=>new hi))}var ow=f(()=>{"use strict";rl();sl();Ym();lu();Qm();rr()});function us(t){return t<=0?()=>wt:te((n,e)=>{let i=[];n.subscribe(X(e,r=>{i.push(r),t<i.length&&i.shift()},()=>{for(let r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}var Xm=f(()=>{"use strict";il();Ge();Ye()});function Jm(t,n){let e=arguments.length>=2;return i=>i.pipe(t?me((r,o)=>t(r,o,i)):Ot,us(1),e?ar(n):cu(()=>new hi))}var sw=f(()=>{"use strict";rl();sl();Xm();Qm();lu();rr()});function du(){return te((t,n)=>{let e,i=!1;t.subscribe(X(n,r=>{let o=e;e=r,i&&n.next([o,r]),i=!0}))})}var aw=f(()=>{"use strict";Ge();Ye()});function eg(t,n){return te(tw(t,n,arguments.length>=2,!0))}var lw=f(()=>{"use strict";Ge();nw()});function ll(t={}){let{connector:n=()=>new T,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return o=>{let s,a,l,c=0,d=!1,h=!1,m=()=>{a?.unsubscribe(),a=void 0},p=()=>{m(),s=l=void 0,d=h=!1},g=()=>{let y=s;p(),y?.unsubscribe()};return te((y,I)=>{c++,!h&&!d&&m();let R=l=l??n();I.add(()=>{c--,c===0&&!h&&!d&&(a=tg(g,r))}),R.subscribe(I),!s&&c>0&&(s=new fi({next:ne=>R.next(ne),error:ne=>{h=!0,m(),a=tg(p,e,ne),R.error(ne)},complete:()=>{d=!0,m(),a=tg(p,i),R.complete()}}),Oe(y).subscribe(s))})(o)}}function tg(t,n,...e){if(n===!0){t();return}if(n===!1)return;let i=new fi({next:()=>{i.unsubscribe(),t()}});return Oe(n(...e)).subscribe(i)}var ng=f(()=>{"use strict";kt();Ja();Fd();Ge()});function Xr(t,n,e){let i,r=!1;return t&&typeof t=="object"?{bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:e}=t:i=t??1/0,ll({connector:()=>new qr(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}var cw=f(()=>{"use strict";Rm();ng()});function cl(t){return me((n,e)=>t<=e)}var dw=f(()=>{"use strict";sl()});function Nt(...t){let n=Gn(t);return te((e,i)=>{(n?Tn(t,e,n):Tn(t,e)).subscribe(i)})}var uw=f(()=>{"use strict";Wm();Kr();Ge()});function We(t,n){return te((e,i)=>{let r=null,o=0,s=!1,a=()=>s&&!r&&i.complete();e.subscribe(X(i,l=>{r?.unsubscribe();let c=0,d=o++;Oe(t(l,d)).subscribe(r=X(i,h=>i.next(n?n(l,h,d,c++):h),()=>{r=null,a()}))},()=>{s=!0,a()}))})}var fw=f(()=>{"use strict";kt();Ge();Ye()});function ve(t){return te((n,e)=>{Oe(t).subscribe(X(e,()=>e.complete(),Xa)),!e.closed&&n.subscribe(e)})}var ig=f(()=>{"use strict";Ge();Ye();kt();bm()});function rg(t,n=!1){return te((e,i)=>{let r=0;e.subscribe(X(i,o=>{let s=t(o,r++);(s||n)&&i.next(o),!s&&i.complete()}))})}var hw=f(()=>{"use strict";Ge();Ye()});function Ne(t,n,e){let i=W(t)||n||e?{next:t,error:n,complete:e}:t;return i?te((r,o)=>{var s;(s=i.subscribe)===null||s===void 0||s.call(i);let a=!0;r.subscribe(X(o,l=>{var c;(c=i.next)===null||c===void 0||c.call(i,l),o.next(l)},()=>{var l;a=!1,(l=i.complete)===null||l===void 0||l.call(i),o.complete()},l=>{var c;a=!1,(c=i.error)===null||c===void 0||c.call(i,l),o.error(l)},()=>{var l,c;a&&((l=i.unsubscribe)===null||l===void 0||l.call(i)),(c=i.finalize)===null||c===void 0||c.call(i)}))}):Ot}var og=f(()=>{"use strict";ot();Ge();Ye();rr()});var Se=f(()=>{"use strict";xt();o0();Ja();l0();Rm();$r();Sm();F0();rl();V0();Wm();$0();G0();as();q0();Q0();k0();N0();il();Z0();qm();Km();Zm();ol();cs();ig();og()});var Qe=f(()=>{"use strict";ew();qm();iw();Km();lu();rw();sl();Zm();ow();sw();ol();su();cs();aw();Tm();lw();ng();cw();dw();uw();fw();Ym();Xm();ig();hw();og()});function wL(t){return`NG0${Math.abs(t)}`}function Ty(t,n){return`${wL(t)}${n?": "+n:""}`}function aE(t,n){let e=Object.create(EL);e.value=t,e.transformFn=n?.transform;function i(){if(Wa(e),e.value===sE){let r=null;throw new w(-950,r)}return e.value}return i[Ut]=e,i}function Cl(t){return{toString:t}.toString()}function DL(t){return function(...e){if(t){let i=t(...e);for(let r in i)this[r]=i[r]}}}function lE(t,n,e){return Cl(()=>{let i=DL(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;let s=new r(...o);return a.annotation=s,a;function a(l,c,d){let h=l.hasOwnProperty(uu)?l[uu]:Object.defineProperty(l,uu,{value:[]})[uu];for(;h.length<=d;)h.push(null);return(h[d]=h[d]||[]).push(s),l}}return r.prototype.ngMetadataName=t,r.annotationCls=r,r})}function je(t){for(let n in t)if(t[n]===je)return n;throw Error("Could not find renamed property on target object.")}function SL(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function Wt(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(Wt).join(", ")}]`;if(t==null)return""+t;let n=t.overriddenName||t.name;if(n)return`${n}`;let e=t.toString();if(e==null)return""+e;let i=e.indexOf(`
4
+ `);return i>=0?e.slice(0,i):e}function _g(t,n){return t?n?`${t} ${n}`:t:n||""}function wi(t){return t.__forward_ref__=wi,t.toString=function(){return Wt(this())},t}function vt(t){return cE(t)?t():t}function cE(t){return typeof t=="function"&&t.hasOwnProperty(IL)&&t.__forward_ref__===wi}function v(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function N(t){return{providers:t.providers||[],imports:t.imports||[]}}function Ku(t){return pw(t,uE)||pw(t,fE)}function dE(t){return Ku(t)!==null}function pw(t,n){return t.hasOwnProperty(n)?t[n]:null}function ML(t){let n=t&&(t[uE]||t[fE]);return n||null}function mw(t){return t&&(t.hasOwnProperty(gw)||t.hasOwnProperty(TL))?t[gw]:null}function hE(t){return t&&!!t.\u0275providers}function to(t){return typeof t=="string"?t:t==null?"":String(t)}function NL(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():to(t)}function pE(t,n){throw new w(-200,t)}function Ay(t,n){throw new w(-201,!1)}function mE(){return Cg}function Gt(t){let n=Cg;return Cg=t,n}function gE(t,n,e){let i=Ku(t);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(e&ce.Optional)return null;if(n!==void 0)return n;Ay(t,"Injector")}function VL(t,n=ce.Default){if(Qa()===void 0)throw new w(-203,!1);if(Qa()===null)return gE(t,void 0,n);{let e=Qa(),i;return e instanceof wu?i=e.injector:i=e,i.get(t,n&ce.Optional?null:void 0,n)}}function D(t,n=ce.Default){return(mE()||VL)(vt(t),n)}function u(t,n=ce.Default){return D(t,Yu(n))}function Yu(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function wg(t){let n=[];for(let e=0;e<t.length;e++){let i=vt(t[e]);if(Array.isArray(i)){if(i.length===0)throw new w(900,!1);let r,o=ce.Default;for(let s=0;s<i.length;s++){let a=i[s],l=BL(a);typeof l=="number"?l===-1?r=a.token:o|=l:r=a}n.push(D(r,o))}else n.push(D(i))}return n}function yE(t,n){return t[xg]=n,t.prototype[xg]=n,t}function BL(t){return t[xg]}function UL(t,n,e,i){let r=t[Eu];throw n[vw]&&r.unshift(n[vw]),t.message=HL(`
5
+ `+t.message,r,e,i),t[LL]=r,t[Eu]=null,t}function HL(t,n,e,i=null){t=t&&t.charAt(0)===`
6
+ `&&t.charAt(1)==jL?t.slice(2):t;let r=Wt(n);if(Array.isArray(n))r=n.map(Wt).join(" -> ");else if(typeof n=="object"){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):Wt(a)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${t.replace(PL,`
7
+ `)}`}function no(t,n){let e=t.hasOwnProperty(xu);return e?t[xu]:null}function zL(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let r=t[i],o=n[i];if(e&&(r=e(r),o=e(o)),o!==r)return!1}return!0}function $L(t){return t.flat(Number.POSITIVE_INFINITY)}function Ry(t,n){t.forEach(e=>Array.isArray(e)?Ry(e,n):n(e))}function bE(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function Du(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function GL(t,n){let e=[];for(let i=0;i<t;i++)e.push(n);return e}function WL(t,n,e,i){let r=t.length;if(r==n)t.push(e,i);else if(r===1)t.push(i,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>n;){let o=r-2;t[r]=t[o],r--}t[n]=e,t[n+1]=i}}function Zu(t,n,e){let i=xl(t,n);return i>=0?t[i|1]=e:(i=~i,WL(t,i,n,e)),i}function sg(t,n){let e=xl(t,n);if(e>=0)return t[e|1]}function xl(t,n){return qL(t,n,1)}function qL(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){let o=i+(r-i>>1),s=t[o<<e];if(n===s)return o<<e;s>n?r=o:i=o+1}return~(r<<e)}function xE(t,n){let e=t[kL]||null;if(!e&&n===!0)throw new Error(`Type ${Wt(t)} does not have '\u0275mod' property.`);return e}function dr(t){return t[AL]||null}function wE(t){return t[RL]||null}function KL(t){return t[OL]||null}function wl(t){return{\u0275providers:t}}function Oy(...t){return{\u0275providers:EE(!0,t),\u0275fromNgModule:!0}}function EE(t,...n){let e=[],i=new Set,r,o=s=>{e.push(s)};return Ry(n,s=>{let a=s;Eg(a,o,[],i)&&(r||=[],r.push(a))}),r!==void 0&&DE(r,o),e}function DE(t,n){for(let e=0;e<t.length;e++){let{ngModule:i,providers:r}=t[e];ky(r,o=>{n(o,i)})}}function Eg(t,n,e,i){if(t=vt(t),!t)return!1;let r=null,o=mw(t),s=!o&&dr(t);if(!o&&!s){let l=t.ngModule;if(o=mw(l),o)r=l;else return!1}else{if(s&&!s.standalone)return!1;r=t}let a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)Eg(c,n,e,i)}}else if(o){if(o.imports!=null&&!a){i.add(r);let c;try{Ry(o.imports,d=>{Eg(d,n,e,i)&&(c||=[],c.push(d))})}finally{}c!==void 0&&DE(c,n)}if(!a){let c=no(r)||(()=>new r);n({provide:r,useFactory:c,deps:Ft},r),n({provide:CE,useValue:r,multi:!0},r),n({provide:bs,useValue:()=>D(r),multi:!0},r)}let l=o.providers;if(l!=null&&!a){let c=t;ky(l,d=>{n(d,c)})}}else return!1;return r!==t&&t.providers!==void 0}function ky(t,n){for(let e of t)hE(e)&&(e=e.\u0275providers),Array.isArray(e)?ky(e,n):n(e)}function SE(t){return t!==null&&typeof t=="object"&&YL in t}function QL(t){return!!(t&&t.useExisting)}function ZL(t){return!!(t&&t.useFactory)}function _s(t){return typeof t=="function"}function XL(t){return!!t.useClass}function Ju(){return ag===void 0&&(ag=new Su),ag}function Dg(t){let n=Ku(t),e=n!==null?n.factory:no(t);if(e!==null)return e;if(t instanceof C)throw new w(204,!1);if(t instanceof Function)return JL(t);throw new w(204,!1)}function JL(t){if(t.length>0)throw new w(204,!1);let e=ML(t);return e!==null?()=>e.factory(t):()=>new t}function eP(t){if(SE(t))return fs(void 0,t.useValue);{let n=IE(t);return fs(n,gu)}}function IE(t,n,e){let i;if(_s(t)){let r=vt(t);return no(r)||Dg(r)}else if(SE(t))i=()=>vt(t.useValue);else if(ZL(t))i=()=>t.useFactory(...wg(t.deps||[]));else if(QL(t))i=(r,o)=>D(vt(t.useExisting),o!==void 0&&o&ce.Optional?ce.Optional:void 0);else{let r=vt(t&&(t.useClass||t.provide));if(tP(t))i=()=>new r(...wg(t.deps));else return no(r)||Dg(r)}return i}function ul(t){if(t.destroyed)throw new w(205,!1)}function fs(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function tP(t){return!!t.deps}function nP(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function iP(t){return typeof t=="function"||typeof t=="object"&&t instanceof C}function Sg(t,n){for(let e of t)Array.isArray(e)?Sg(e,n):e&&hE(e)?Sg(e.\u0275providers,n):n(e)}function Kt(t,n){let e;t instanceof pl?(ul(t),e=t):e=new wu(t);let i,r=ui(e),o=Gt(void 0);try{return n()}finally{ui(r),Gt(o)}}function ME(){return mE()!==void 0||Qa()!=null}function Ny(t){if(!ME())throw new w(-203,!1)}function rP(t){return typeof t=="function"}function cr(t){return Array.isArray(t)&&typeof t[AE]=="object"}function Di(t){return Array.isArray(t)&&t[AE]===!0}function Fy(t){return(t.flags&4)!==0}function Rs(t){return t.componentOffset>-1}function tf(t){return(t.flags&1)===1}function Kn(t){return!!t.template}function Tu(t){return(t[J]&512)!==0}function Os(t){return(t[J]&256)===256}function RE(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}function OE(t){return t.type.prototype.ngOnChanges&&(t.setInput=sP),oP}function oP(){let t=NE(this),n=t?.current;if(n){let e=t.previous;if(e===qn)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function sP(t,n,e,i,r){let o=this.declaredInputs[i],s=NE(t)||aP(t,{previous:qn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new Ig(c&&c.currentValue,e,l===qn),RE(t,n,r,e)}function NE(t){return t[kE]||null}function aP(t,n){return t[kE]=n}function Yn(t){for(;Array.isArray(t);)t=t[Ei];return t}function LE(t,n){return Yn(n[t])}function Xn(t,n){return Yn(n[t.index])}function Ly(t,n){return t.data[n]}function Py(t,n){return t[n]}function PE(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}function Qn(t,n){let e=n[t];return cr(e)?e:e[Ei]}function cP(t){return(t[J]&4)===4}function jy(t){return(t[J]&128)===128}function dP(t){return Di(t[St])}function ur(t,n){return n==null?null:t[n]}function jE(t){t[hs]=0}function Vy(t){t[J]&1024||(t[J]|=1024,jy(t)&&ks(t))}function uP(t,n){for(;t>0;)n=n[As],t--;return n}function El(t){return!!(t[J]&9216||t[vn]?.dirty)}function Mg(t){t[gi].changeDetectionScheduler?.notify(8),t[J]&64&&(t[J]|=1024),El(t)&&ks(t)}function ks(t){t[gi].changeDetectionScheduler?.notify(0);let n=so(t);for(;n!==null&&!(n[J]&8192||(n[J]|=8192,!jy(n)));)n=so(n)}function VE(t,n){if(Os(t))throw new w(911,!1);t[lr]===null&&(t[lr]=[]),t[lr].push(n)}function fP(t,n){if(t[lr]===null)return;let e=t[lr].indexOf(n);e!==-1&&t[lr].splice(e,1)}function so(t){let n=t[St];return Di(n)?n[St]:n}function By(t){return t[Iu]??=[]}function Uy(t){return t.cleanup??=[]}function hP(t,n,e,i){let r=By(n);r.push(e),t.firstCreatePass&&Uy(t).push(i,r.length-1)}function pP(){return ae.lFrame.elementDepthCount}function mP(){ae.lFrame.elementDepthCount++}function gP(){ae.lFrame.elementDepthCount--}function Hy(){return ae.bindingsEnabled}function BE(){return ae.skipHydrationRootTNode!==null}function yP(t){return ae.skipHydrationRootTNode===t}function vP(){ae.skipHydrationRootTNode=null}function Y(){return ae.lFrame.lView}function qe(){return ae.lFrame.tView}function Ce(t){return ae.lFrame.contextLView=t,t[ct]}function xe(t){return ae.lFrame.contextLView=null,t}function It(){let t=UE();for(;t!==null&&t.type===64;)t=t.parent;return t}function UE(){return ae.lFrame.currentTNode}function bP(){let t=ae.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function fr(t,n){let e=ae.lFrame;e.currentTNode=t,e.isParent=n}function zy(){return ae.lFrame.isParent}function $y(){ae.lFrame.isParent=!1}function _P(){return ae.lFrame.contextLView}function HE(){return Tg}function Au(t){let n=Tg;return Tg=t,n}function Ns(){let t=ae.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function CP(){return ae.lFrame.bindingIndex}function xP(t){return ae.lFrame.bindingIndex=t}function fo(){return ae.lFrame.bindingIndex++}function Gy(t){let n=ae.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function wP(){return ae.lFrame.inI18n}function EP(t,n){let e=ae.lFrame;e.bindingIndex=e.bindingRootIndex=t,Ag(n)}function DP(){return ae.lFrame.currentDirectiveIndex}function Ag(t){ae.lFrame.currentDirectiveIndex=t}function SP(t){let n=ae.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function Wy(){return ae.lFrame.currentQueryIndex}function nf(t){ae.lFrame.currentQueryIndex=t}function IP(t){let n=t[oe];return n.type===2?n.declTNode:n.type===1?t[Yt]:null}function zE(t,n,e){if(e&ce.SkipSelf){let r=n,o=t;for(;r=r.parent,r===null&&!(e&ce.Host);)if(r=IP(o),r===null||(o=o[As],r.type&10))break;if(r===null)return!1;n=r,t=o}let i=ae.lFrame=$E();return i.currentTNode=n,i.lView=t,!0}function qy(t){let n=$E(),e=t[oe];ae.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function $E(){let t=ae.lFrame,n=t===null?null:t.child;return n===null?GE(t):n}function GE(t){let n={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 t!==null&&(t.child=n),n}function WE(){let t=ae.lFrame;return ae.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}function Ky(){let t=WE();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 MP(t){return(ae.lFrame.contextLView=uP(t,ae.lFrame.contextLView))[ct]}function Si(){return ae.lFrame.selectedIndex}function ao(t){ae.lFrame.selectedIndex=t}function rf(){let t=ae.lFrame;return Ly(t.tView,t.selectedIndex)}function Dl(){ae.lFrame.currentNamespace=FE}function KE(){TP()}function TP(){ae.lFrame.currentNamespace=null}function AP(){return ae.lFrame.currentNamespace}function of(){return YE}function sf(t){YE=t}function RP(t,n,e){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){let s=OE(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}r&&(e.preOrderHooks??=[]).push(0-t,r),o&&((e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o))}function Yy(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){let o=t.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=o;s&&(t.contentHooks??=[]).push(-e,s),a&&((t.contentHooks??=[]).push(e,a),(t.contentCheckHooks??=[]).push(e,a)),l&&(t.viewHooks??=[]).push(-e,l),c&&((t.viewHooks??=[]).push(e,c),(t.viewCheckHooks??=[]).push(e,c)),d!=null&&(t.destroyHooks??=[]).push(e,d)}}function yu(t,n,e){QE(t,n,3,e)}function vu(t,n,e,i){(t[J]&3)===e&&QE(t,n,e,i)}function cg(t,n){let e=t[J];(e&3)===n&&(e&=16383,e+=1,t[J]=e)}function QE(t,n,e,i){let r=i!==void 0?t[hs]&65535:0,o=i??-1,s=n.length-1,a=0;for(let l=r;l<s;l++)if(typeof n[l+1]=="number"){if(a=n[l],i!=null&&a>=i)break}else n[l]<0&&(t[hs]+=65536),(a<o||o==-1)&&(OP(t,e,n,l),t[hs]=(t[hs]&4294901760)+l+2),l++}function xw(t,n){Fe(4,t,n);let e=fe(null);try{n.call(t)}finally{fe(e),Fe(5,t,n)}}function OP(t,n,e,i){let r=e[i]<0,o=e[i+1],s=r?-e[i]:e[i],a=t[s];r?t[J]>>14<t[hs]>>16&&(t[J]&3)===n&&(t[J]+=16384,xw(a,o)):xw(a,o)}function kP(t){return(t.flags&8)!==0}function NP(t){return(t.flags&16)!==0}function FP(t,n,e){let i=0;for(;i<e.length;){let r=e[i];if(typeof r=="number"){if(r!==0)break;i++;let o=e[i++],s=e[i++],a=e[i++];t.setAttribute(n,s,a,o)}else{let o=r,s=e[++i];LP(o)?t.setProperty(n,o,s):t.setAttribute(n,o,s),i++}}return i}function ZE(t){return t===3||t===4||t===6}function LP(t){return t.charCodeAt(0)===64}function Es(t,n){if(!(n===null||n.length===0))if(t===null||t.length===0)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){let r=n[i];typeof r=="number"?e=r:e===0||(e===-1||e===2?ww(t,e,r,null,n[++i]):ww(t,e,r,null,null))}}return t}function ww(t,n,e,i,r){let o=0,s=t.length;if(n===-1)s=-1;else for(;o<t.length;){let a=t[o++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=o-1;break}}}for(;o<t.length;){let a=t[o];if(typeof a=="number")break;if(a===e){r!==null&&(t[o+1]=r);return}o++,r!==null&&o++}s!==-1&&(t.splice(s,0,n),o=s+1),t.splice(o++,0,e),r!==null&&t.splice(o++,0,r)}function XE(t){return t!==ys}function Ru(t){return t&32767}function PP(t){return t>>16}function Ou(t,n){let e=PP(t),i=n;for(;e>0;)i=i[As],e--;return i}function ku(t){let n=Rg;return Rg=t,n}function BP(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(hl)&&(i=e[hl]),i==null&&(i=e[hl]=VP++);let r=i&JE,o=1<<r;n.data[t+(r>>eD)]|=o}function Nu(t,n){let e=tD(t,n);if(e!==-1)return e;let i=n[oe];i.firstCreatePass&&(t.injectorIndex=n.length,dg(i.data,t),dg(n,null),dg(i.blueprint,null));let r=Qy(t,n),o=t.injectorIndex;if(XE(r)){let s=Ru(r),a=Ou(r,n),l=a[oe].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function dg(t,n){t.push(0,0,0,0,0,0,0,0,n)}function tD(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function Qy(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;r!==null;){if(i=sD(r),i===null)return ys;if(e++,r=r[As],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return ys}function Og(t,n,e){BP(t,n,e)}function UP(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let i=e.length,r=0;for(;r<i;){let o=e[r];if(ZE(o))break;if(o===0)r=r+2;else if(typeof o=="number")for(r++;r<i&&typeof e[r]=="string";)r++;else{if(o===n)return e[r+1];r=r+2}}}return null}function nD(t,n,e){if(e&ce.Optional||t!==void 0)return t;Ay(n,"NodeInjector")}function iD(t,n,e,i){if(e&ce.Optional&&i===void 0&&(i=null),(e&(ce.Self|ce.Host))===0){let r=t[xs],o=Gt(void 0);try{return r?r.get(n,i,e&ce.Optional):gE(n,i,e&ce.Optional)}finally{Gt(o)}}return nD(i,n,e)}function rD(t,n,e,i=ce.Default,r){if(t!==null){if(n[J]&2048&&!(i&ce.Self)){let s=GP(t,n,e,i,Wn);if(s!==Wn)return s}let o=oD(t,n,e,i,Wn);if(o!==Wn)return o}return iD(n,e,i,r)}function oD(t,n,e,i,r){let o=zP(e);if(typeof o=="function"){if(!zE(n,t,i))return i&ce.Host?nD(r,e,i):iD(n,e,i,r);try{let s;if(s=o(i),s==null&&!(i&ce.Optional))Ay(e);else return s}finally{qE()}}else if(typeof o=="number"){let s=null,a=tD(t,n),l=ys,c=i&ce.Host?n[sn][Yt]:null;for((a===-1||i&ce.SkipSelf)&&(l=a===-1?Qy(t,n):n[a+8],l===ys||!Dw(i,!1)?a=-1:(s=n[oe],a=Ru(l),n=Ou(l,n)));a!==-1;){let d=n[oe];if(Ew(o,a,d.data)){let h=HP(a,n,e,s,i,c);if(h!==Wn)return h}l=n[a+8],l!==ys&&Dw(i,n[oe].data[a+8]===c)&&Ew(o,a,n)?(s=d,a=Ru(l),n=Ou(l,n)):a=-1}}return r}function HP(t,n,e,i,r,o){let s=n[oe],a=s.data[t+8],l=i==null?Rs(a)&&Rg:i!=s&&(a.type&3)!==0,c=r&ce.Host&&o===a,d=bu(a,s,e,l,c);return d!==null?gl(n,s,d,a,r):Wn}function bu(t,n,e,i,r){let o=t.providerIndexes,s=n.data,a=o&1048575,l=t.directiveStart,c=t.directiveEnd,d=o>>20,h=i?a:a+d,m=r?a+d:c;for(let p=h;p<m;p++){let g=s[p];if(p<l&&e===g||p>=l&&g.type===e)return p}if(r){let p=s[l];if(p&&Kn(p)&&p.type===e)return l}return null}function gl(t,n,e,i,r){let o=t[e],s=n.data;if(o instanceof lo){let a=o;a.resolving&&pE(NL(s[e]));let l=ku(a.canSeeViewProviders);a.resolving=!0;let c,d=a.injectImpl?Gt(a.injectImpl):null,h=zE(t,i,ce.Default);try{o=t[e]=a.factory(void 0,r,s,t,i),n.firstCreatePass&&e>=i.directiveStart&&RP(e,s[e],n)}finally{d!==null&&Gt(d),ku(l),a.resolving=!1,qE()}}return o}function zP(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(hl)?t[hl]:void 0;return typeof n=="number"?n>=0?n&JE:$P:n}function Ew(t,n,e){let i=1<<t;return!!(e[n+(t>>eD)]&i)}function Dw(t,n){return!(t&ce.Self)&&!(t&ce.Host&&n)}function $P(){return new eo(It(),Y())}function Ae(t){return Cl(()=>{let n=t.prototype.constructor,e=n[xu]||kg(n),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){let o=r[xu]||kg(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function kg(t){return cE(t)?()=>{let n=kg(vt(t));return n&&n()}:no(t)}function GP(t,n,e,i,r){let o=t,s=n;for(;o!==null&&s!==null&&s[J]&2048&&!Tu(s);){let a=oD(o,s,e,i|ce.Self,Wn);if(a!==Wn)return a;let l=o.parent;if(!l){let c=s[TE];if(c){let d=c.get(e,Wn,i);if(d!==Wn)return d}l=sD(s),s=s[As]}o=l}return r}function sD(t){let n=t[oe],e=n.type;return e===2?n.declTNode:e===1?t[Yt]:null}function af(t){return UP(It(),t)}function Sw(t,n=null,e=null,i){let r=aD(t,n,e,i);return r.resolveInjectorInitializers(),r}function aD(t,n=null,e=null,i,r=new Set){let o=[e||Ft,Oy(t)];return i=i||(typeof t=="object"?void 0:Wt(t)),new pl(o,n||Ju(),i||null,r)}function qP(){return new Fu(Y())}function yl(...t){}function uD(t){let n,e;function i(){t=yl;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function Iw(t){return queueMicrotask(()=>t()),()=>{t=yl}}function Jy(t){if(t._nesting==0&&!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 QP(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){uD(()=>{t.callbackScheduled=!1,Fg(t),t.isCheckStableRunning=!0,Jy(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),Fg(t)}function ZP(t){let n=()=>{QP(t)},e=KP++;t._inner=t._inner.fork({name:"angular",properties:{[Xy]:!0,[Lu]:e,[Lu+e]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(XP(l))return i.invokeTask(o,s,a,l);try{return Mw(t),i.invokeTask(o,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),Tw(t)}},onInvoke:(i,r,o,s,a,l,c)=>{try{return Mw(t),i.invoke(o,s,a,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!JP(l)&&n(),Tw(t)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Fg(t),Jy(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,r,o,s)=>(i.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Fg(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Mw(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Tw(t){t._nesting--,Jy(t)}function XP(t){return fD(t,"__ignore_ng_zone__")}function JP(t){return fD(t,"__scheduler_tick__")}function fD(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}function Aw(t,n){return aE(t,n)}function t1(t){return aE(sE,t)}function n1(){return Fs(It(),Y())}function Fs(t,n){return new B(Xn(t,n))}function pD(t){return t instanceof B?t.nativeElement:t}function Ls(t){return typeof t=="function"&&t[Ut]!==void 0}function cn(t,n){let e=dm(t,n?.equal),i=e[Ut];return e.set=r=>Ya(i,r),e.update=r=>um(i,r),e.asReadonly=i1.bind(e),e}function i1(){let t=this[Ut];if(t.readonlyFn===void 0){let n=()=>this();n[Ut]=t,t.readonlyFn=n}return t.readonlyFn}function mD(t){return Ls(t)&&typeof t.set=="function"}function r1(){return this._results[Symbol.iterator]()}function gD(t){return(t.flags&128)===128}function s1(){return o1++}function a1(t){vD.set(t[ef],t)}function Pg(t){vD.delete(t[ef])}function Ps(t,n){cr(n)?(t[Rw]=n[ef],a1(n)):t[Rw]=n}function bD(t){return CD(t[ml])}function _D(t){return CD(t[On])}function CD(t){for(;t!==null&&!Di(t);)t=t[On];return t}function xD(t){jg=t}function wD(){if(jg!==void 0)return jg;if(typeof document<"u")return document;throw new w(210,!1)}function Jn(t){Ow.has(t)||(Ow.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function f1(){return new nv(Y(),It())}function Sl(t,n){!n?.injector&&Ny(Sl);let e=n?.injector??u(he);return Jn("NgAfterRender"),SD(t,e,n,!1)}function dn(t,n){!n?.injector&&Ny(dn);let e=n?.injector??u(he);return Jn("NgAfterNextRender"),SD(t,e,n,!0)}function m1(t,n){if(t instanceof Function){let e=[void 0,void 0,void 0,void 0];return e[n]=t,e}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function SD(t,n,e,i){let r=n.get(DD);r.impl??=n.get(p1);let o=n.get(js,null,{optional:!0}),s=e?.phase??ps.MixedReadWrite,a=e?.manualCleanup!==!0?n.get(ho):null,l=n.get(nv,null,{optional:!0}),c=new Vg(r.impl,m1(t,s),l?.view,i,a,o?.snapshot(null));return r.impl.register(c),c}function y1(t,n,e,i){g1(t,n,e,i)}function ID(t,n,e=!1){return v1(t,n,e)}function MD(t,n){let e=t.contentQueries;if(e!==null){let i=fe(null);try{for(let r=0;r<e.length;r+=2){let o=e[r],s=e[r+1];if(s!==-1){let a=t.data[s];nf(o),a.contentQueries(2,n[s],s)}}}finally{fe(i)}}}function Bg(t,n,e){nf(0);let i=fe(null);try{n(t,e)}finally{fe(i)}}function iv(t,n,e){if(Fy(n)){let i=fe(null);try{let r=n.directiveStart,o=n.directiveEnd;for(let s=r;s<o;s++){let a=t.data[s];if(a.contentQueries){let l=e[s];a.contentQueries(1,l,s)}}}finally{fe(i)}}}function b1(){if(fu===void 0&&(fu=null,vs.trustedTypes))try{fu=vs.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return fu}function lf(t){return b1()?.createHTML(t)||t}function TD(){if(hu===void 0&&(hu=null,vs.trustedTypes))try{hu=vs.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return hu}function kw(t){return TD()?.createHTML(t)||t}function Nw(t){return TD()?.createScriptURL(t)||t}function bn(t){return t instanceof bi?t.changingThisBreaksApplicationSecurity:t}function Ii(t,n){let e=_1(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${oE})`)}return e===n}function _1(t){return t instanceof bi&&t.getTypeName()||null}function AD(t){return new Ug(t)}function RD(t){return new Hg(t)}function OD(t){return new zg(t)}function kD(t){return new $g(t)}function ND(t){return new Gg(t)}function C1(t){let n=new qg(t);return x1()?new Wg(n):n}function x1(){try{return!!new window.DOMParser().parseFromString(lf(""),"text/html")}catch{return!1}}function cf(t){return t=String(t),t.match(w1)?t:"unsafe:"+t}function Mi(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function Il(...t){let n={};for(let e of t)for(let i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}function R1(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function O1(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw VD(n);return n}function k1(t){let n=t.firstChild;if(n&&R1(t,n))throw VD(n);return n}function Lw(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function VD(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}function Pw(t){return t.replace(/&/g,"&amp;").replace(N1,function(n){let e=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace(F1,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function rv(t,n){let e=null;try{pu=pu||C1(t);let i=n?String(n):"";e=pu.getInertBodyElement(i);let r=5,o=i;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=pu.getInertBodyElement(i)}while(i!==o);let a=new Kg().sanitizeChildren(jw(e)||e);return lf(a)}finally{if(e){let i=jw(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function jw(t){return"content"in t&&L1(t)?t.content:null}function L1(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}function Ti(t){let n=sv();return n?kw(n.sanitize(bt.HTML,t)||""):Ii(t,"HTML")?kw(bn(t)):rv(wD(),to(t))}function ov(t){let n=sv();return n?n.sanitize(bt.URL,t)||"":Ii(t,"URL")?bn(t):cf(to(t))}function P1(t){let n=sv();if(n)return Nw(n.sanitize(bt.RESOURCE_URL,t)||"");if(Ii(t,"ResourceURL"))return Nw(bn(t));throw new w(904,!1)}function j1(t,n){return n==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||n==="href"&&(t==="base"||t==="link")?P1:ov}function BD(t,n,e){return j1(n,e)(t)}function sv(){let t=Y();return t&&t[gi].sanitizer}function H1(t){return t.replace(V1,n=>n.replace(B1,U1))}function UD(t){return t instanceof Function?t():t}function z1(t,n,e){let i=t.length;for(;;){let r=t.indexOf(n,e);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let o=n.length;if(r+o===i||t.charCodeAt(r+o)<=32)return r}e=r+1}}function $1(t,n,e,i){let r=0;if(i){for(;r<n.length&&typeof n[r]=="string";r+=2)if(n[r]==="class"&&z1(n[r+1].toLowerCase(),e,0)!==-1)return!0}else if(av(t))return!1;if(r=n.indexOf(1,r),r>-1){let o;for(;++r<n.length&&typeof(o=n[r])=="string";)if(o.toLowerCase()===e)return!0}return!1}function av(t){return t.type===4&&t.value!==HD}function G1(t,n,e){let i=t.type===4&&!e?HD:t.value;return n===i}function W1(t,n,e){let i=4,r=t.attrs,o=r!==null?Y1(r):0,s=!1;for(let a=0;a<n.length;a++){let l=n[a];if(typeof l=="number"){if(!s&&!An(i)&&!An(l))return!1;if(s&&An(l))continue;s=!1,i=l|i&1;continue}if(!s)if(i&4){if(i=2|i&1,l!==""&&!G1(t,l,e)||l===""&&n.length===1){if(An(i))return!1;s=!0}}else if(i&8){if(r===null||!$1(t,r,l,e)){if(An(i))return!1;s=!0}}else{let c=n[++a],d=q1(l,r,av(t),e);if(d===-1){if(An(i))return!1;s=!0;continue}if(c!==""){let h;if(d>o?h="":h=r[d+1].toLowerCase(),i&2&&c!==h){if(An(i))return!1;s=!0}}}}return An(i)||s}function An(t){return(t&1)===0}function q1(t,n,e,i){if(n===null)return-1;let r=0;if(i||!e){let o=!1;for(;r<n.length;){let s=n[r];if(s===t)return r;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=n[++r];for(;typeof a=="string";)a=n[++r];continue}else{if(s===4)break;if(s===0){r+=4;continue}}r+=o?1:2}return-1}else return Q1(n,t)}function zD(t,n,e=!1){for(let i=0;i<n.length;i++)if(W1(t,n[i],e))return!0;return!1}function K1(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if((e&1)===0)return n[e+1]}return null}function Y1(t){for(let n=0;n<t.length;n++){let e=t[n];if(ZE(e))return n}return t.length}function Q1(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let i=t[e];if(typeof i=="number")return-1;if(i===n)return e;e++}return-1}function Z1(t,n){e:for(let e=0;e<n.length;e++){let i=n[e];if(t.length===i.length){for(let r=0;r<t.length;r++)if(t[r]!==i[r])continue e;return!0}}return!1}function Vw(t,n){return t?":not("+n.trim()+")":n}function X1(t){let n=t[0],e=1,i=2,r="",o=!1;for(;e<t.length;){let s=t[e];if(typeof s=="string")if(i&2){let a=t[++e];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else i&8?r+="."+s:i&4&&(r+=" "+s);else r!==""&&!An(s)&&(n+=Vw(o,r),r=""),i=s,o=o||!An(i);e++}return r!==""&&(n+=Vw(o,r)),n}function J1(t){return t.map(X1).join(",")}function ej(t){let n=[],e=[],i=1,r=2;for(;i<t.length;){let o=t[i];if(typeof o=="string")r===2?o!==""&&n.push(o,t[++i]):r===8&&e.push(o);else{if(!An(r))break;r=o}i++}return e.length&&n.push(1,...e),n}function tj(t,n){return t.createText(n)}function nj(t,n,e){t.setValue(n,e)}function ij(t,n){return t.createComment(H1(n))}function $D(t,n,e){return t.createElement(n,e)}function Pu(t,n,e,i,r){t.insertBefore(n,e,i,r)}function GD(t,n,e){t.appendChild(n,e)}function Bw(t,n,e,i,r){i!==null?Pu(t,n,e,i,r):GD(t,n,e)}function rj(t,n,e){t.removeChild(null,n,e)}function oj(t,n,e){t.setAttribute(n,"style",e)}function sj(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function WD(t,n,e){let{mergedAttrs:i,classes:r,styles:o}=e;i!==null&&FP(t,n,i),r!==null&&sj(t,n,r),o!==null&&oj(t,n,o)}function lv(t,n,e,i,r,o,s,a,l,c,d){let h=st+i,m=h+r,p=aj(h,m),g=typeof c=="function"?c():c;return p[oe]={type:t,blueprint:p,template:e,queries:null,viewQuery:a,declTNode:n,data:p.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:m,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:g,incompleteFirstPass:!1,ssrId:d}}function aj(t,n){let e=[];for(let i=0;i<n;i++)e.push(i<t?null:un);return e}function lj(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=lv(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function cv(t,n,e,i,r,o,s,a,l,c,d){let h=n.blueprint.slice();return h[Ei]=r,h[J]=i|4|128|8|64|1024,(c!==null||t&&t[J]&2048)&&(h[J]|=2048),jE(h),h[St]=h[As]=t,h[ct]=e,h[gi]=s||t&&t[gi],h[Ze]=a||t&&t[Ze],h[xs]=l||t&&t[xs]||null,h[Yt]=o,h[ef]=s1(),h[Cs]=d,h[TE]=c,h[sn]=n.type==2?t[sn]:h,h}function cj(t,n,e){let i=Xn(n,t),r=lj(e),o=t[gi].rendererFactory,s=dv(t,cv(t,r,null,qD(e),i,n,null,o.createRenderer(i,e),null,null,null));return t[n.index]=s}function qD(t){let n=16;return t.signals?n=4096:t.onPush&&(n=64),n}function KD(t,n,e,i){if(e===0)return-1;let r=n.length;for(let o=0;o<e;o++)n.push(i),t.blueprint.push(i),t.data.push(null);return r}function dv(t,n){return t[ml]?t[_w][On]=n:t[ml]=n,t[_w]=n,n}function x(t=1){YD(qe(),Y(),Si()+t,!1)}function YD(t,n,e,i){if(!i)if((n[J]&3)===3){let o=t.preOrderCheckHooks;o!==null&&yu(n,o,e)}else{let o=t.preOrderHooks;o!==null&&vu(n,o,0,e)}ao(e)}function Yg(t,n,e,i){let r=fe(null);try{let[o,s,a]=t.inputs[e],l=null;(s&df.SignalBased)!==0&&(l=n[o][Ut]),l!==null&&l.transformFn!==void 0?i=l.transformFn(i):a!==null&&(i=a.call(n,i)),t.setInput!==null?t.setInput(n,l,i,e,o):RE(n,l,o,i)}finally{fe(r)}}function QD(t,n,e,i,r){let o=Si(),s=i&2;try{ao(-1),s&&n.length>st&&YD(t,n,st,!1),Fe(s?2:0,r),e(i,r)}finally{ao(o),Fe(s?3:1,r)}}function uf(t,n,e){mj(t,n,e),(e.flags&64)===64&&gj(t,n,e)}function uv(t,n,e=Xn){let i=n.localNames;if(i!==null){let r=n.index+1;for(let o=0;o<i.length;o+=2){let s=i[o+1],a=s===-1?e(n,t):t[s];t[r++]=a}}}function dj(t,n,e,i){let o=i.get(u1,ED)||e===Zn.ShadowDom,s=t.selectRootElement(n,o);return uj(s),s}function uj(t){fj(t)}function hj(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function fv(t,n,e,i,r,o,s,a){if(!a&&pv(n,t,e,i,r)){Rs(n)&&pj(e,n.index);return}if(n.type&3){let l=Xn(n,e);i=hj(i),r=s!=null?s(r,n.value||"",i):r,o.setProperty(l,i,r)}else n.type&12}function pj(t,n){let e=Qn(n,t);e[J]&16||(e[J]|=64)}function mj(t,n,e){let i=e.directiveStart,r=e.directiveEnd;Rs(e)&&cj(n,e,t.data[i+e.componentOffset]),t.firstCreatePass||Nu(e,n);let o=e.initialInputs;for(let s=i;s<r;s++){let a=t.data[s],l=gl(n,t,s,e);if(Ps(l,n),o!==null&&_j(n,s-i,l,a,e,o),Kn(a)){let c=Qn(e.index,n);c[ct]=gl(n,t,s,e)}}}function gj(t,n,e){let i=e.directiveStart,r=e.directiveEnd,o=e.index,s=DP();try{ao(o);for(let a=i;a<r;a++){let l=t.data[a],c=n[a];Ag(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&yj(l,c)}}finally{ao(-1),Ag(s)}}function yj(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function hv(t,n){let e=t.directiveRegistry,i=null;if(e)for(let r=0;r<e.length;r++){let o=e[r];zD(n,o.selectors,!1)&&(i??=[],Kn(o)?i.unshift(o):i.push(o))}return i}function vj(t,n,e,i,r,o){let s=Xn(t,n);bj(n[Ze],s,o,t.value,e,i,r)}function bj(t,n,e,i,r,o,s){if(o==null)t.removeAttribute(n,r,e);else{let a=s==null?to(o):s(o,i||"",r);t.setAttribute(n,r,a,e)}}function _j(t,n,e,i,r,o){let s=o[n];if(s!==null)for(let a=0;a<s.length;a+=2){let l=s[a],c=s[a+1];Yg(i,e,l,c)}}function Cj(t,n){let e=t[xs],i=e?e.get(Lt,null):null;i&&i.handleError(n)}function pv(t,n,e,i,r){let o=t.inputs?.[i],s=t.hostDirectiveInputs?.[i],a=!1;if(s)for(let l=0;l<s.length;l+=2){let c=s[l],d=s[l+1],h=n.data[c];Yg(h,e[c],d,r),a=!0}if(o)for(let l of o){let c=e[l],d=n.data[l];Yg(d,c,i,r),a=!0}return a}function xj(t,n){let e=Qn(n,t),i=e[oe];wj(i,e);let r=e[Ei];r!==null&&e[Cs]===null&&(e[Cs]=ID(r,e[xs])),Fe(18),mv(i,e,e[ct]),Fe(19,e[ct])}function wj(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function mv(t,n,e){qy(n);try{let i=t.viewQuery;i!==null&&Bg(1,i,e);let r=t.template;r!==null&&QD(t,n,r,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[yi]?.finishViewCreation(t),t.staticContentQueries&&MD(t,n),t.staticViewQueries&&Bg(2,t.viewQuery,e);let o=t.components;o!==null&&Ej(n,o)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[J]&=-5,Ky()}}function Ej(t,n){for(let e=0;e<n.length;e++)xj(t,n[e])}function Ml(t,n,e,i){let r=fe(null);try{let o=n.tView,a=t[J]&4096?4096:16,l=cv(t,o,e,a,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),c=t[n.index];l[io]=c;let d=t[yi];return d!==null&&(l[yi]=d.createEmbeddedView(o)),mv(o,l,e),l}finally{fe(r)}}function Is(t,n){return!n||n.firstChild===null||gD(t)}function gv(t,n){return Dj(t,n)}function yv(t){return(t.flags&32)===32}function ms(t,n,e,i,r){if(i!=null){let o,s=!1;Di(i)?o=i:cr(i)&&(s=!0,i=i[Ei]);let a=Yn(i);t===0&&e!==null?r==null?GD(n,e,a):Pu(n,e,a,r||null,!0):t===1&&e!==null?Pu(n,e,a,r||null,!0):t===2?rj(n,a,s):t===3&&n.destroyNode(a),o!=null&&Fj(n,t,o,e,r)}}function Sj(t,n){ZD(t,n),n[Ei]=null,n[Yt]=null}function Ij(t,n,e,i,r,o){i[Ei]=r,i[Yt]=n,pf(t,i,e,1,r,o)}function ZD(t,n){n[gi].changeDetectionScheduler?.notify(9),pf(t,n,n[Ze],2,null,null)}function Mj(t){let n=t[ml];if(!n)return ug(t[oe],t);for(;n;){let e=null;if(cr(n))e=n[ml];else{let i=n[Dt];i&&(e=i)}if(!e){for(;n&&!n[On]&&n!==t;)cr(n)&&ug(n[oe],n),n=n[St];n===null&&(n=t),cr(n)&&ug(n[oe],n),e=n&&n[On]}n=e}}function vv(t,n){let e=t[ws],i=e.indexOf(n);e.splice(i,1)}function ff(t,n){if(Os(n))return;let e=n[Ze];e.destroyNode&&pf(t,n,e,3,null,null),Mj(n)}function ug(t,n){if(Os(n))return;let e=fe(null);try{n[J]&=-129,n[J]|=256,n[vn]&&Ka(n[vn]),Aj(t,n),Tj(t,n),n[oe].type===1&&n[Ze].destroy();let i=n[io];if(i!==null&&Di(n[St])){i!==n[St]&&vv(i,n);let r=n[yi];r!==null&&r.detachView(t)}Pg(n)}finally{fe(e)}}function Tj(t,n){let e=t.cleanup,i=n[Iu];if(e!==null)for(let s=0;s<e.length-1;s+=2)if(typeof e[s]=="string"){let a=e[s+3];a>=0?i[a]():i[-a].unsubscribe(),s+=2}else{let a=i[e[s+1]];e[s].call(a)}i!==null&&(n[Iu]=null);let r=n[lr];if(r!==null){n[lr]=null;for(let s=0;s<r.length;s++){let a=r[s];a()}}let o=n[ro];if(o!==null){n[ro]=null;for(let s of o)s.destroy()}}function Aj(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let i=0;i<e.length;i+=2){let r=n[e[i]];if(!(r instanceof lo)){let o=e[i+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=r[o[s]],l=o[s+1];Fe(4,a,l);try{l.call(a)}finally{Fe(5,a,l)}}else{Fe(4,r,o);try{o.call(r)}finally{Fe(5,r,o)}}}}}function XD(t,n,e){return Rj(t,n.parent,e)}function Rj(t,n,e){let i=n;for(;i!==null&&i.type&168;)n=i,i=n.parent;if(i===null)return e[Ei];if(Rs(i)){let{encapsulation:r}=t.data[i.directiveStart+i.componentOffset];if(r===Zn.None||r===Zn.Emulated)return null}return Xn(i,e)}function JD(t,n,e){return kj(t,n,e)}function Oj(t,n,e){return t.type&40?Xn(t,e):null}function hf(t,n,e,i){let r=XD(t,i,n),o=n[Ze],s=i.parent||n[Yt],a=JD(s,i,n);if(r!=null)if(Array.isArray(e))for(let l=0;l<e.length;l++)Bw(o,r,e[l],a,!1);else Bw(o,r,e,a,!1);Uw!==void 0&&Uw(o,i,n,e,r)}function fl(t,n){if(n!==null){let e=n.type;if(e&3)return Xn(n,t);if(e&4)return Qg(-1,t[n.index]);if(e&8){let i=n.child;if(i!==null)return fl(t,i);{let r=t[n.index];return Di(r)?Qg(-1,r):Yn(r)}}else{if(e&128)return fl(t,n.next);if(e&32)return gv(n,t)()||Yn(t[n.index]);{let i=eS(t,n);if(i!==null){if(Array.isArray(i))return i[0];let r=so(t[sn]);return fl(r,i)}else return fl(t,n.next)}}}return null}function eS(t,n){if(n!==null){let i=t[sn][Yt],r=n.projection;return i.projection[r]}return null}function Qg(t,n){let e=Dt+t+1;if(e<n.length){let i=n[e],r=i[oe].firstChild;if(r!==null)return fl(i,r)}return n[oo]}function bv(t,n,e,i,r,o,s){for(;e!=null;){if(e.type===128){e=e.next;continue}let a=i[e.index],l=e.type;if(s&&n===0&&(a&&Ps(Yn(a),i),e.flags|=2),!yv(e))if(l&8)bv(t,n,e.child,i,r,o,!1),ms(n,t,r,a,o);else if(l&32){let c=gv(e,i),d;for(;d=c();)ms(n,t,r,d,o);ms(n,t,r,a,o)}else l&16?tS(t,n,i,e,r,o):ms(n,t,r,a,o);e=s?e.projectionNext:e.next}}function pf(t,n,e,i,r,o){bv(e,i,t.firstChild,n,r,o,!1)}function Nj(t,n,e){let i=n[Ze],r=XD(t,e,n),o=e.parent||n[Yt],s=JD(o,e,n);tS(i,0,n,e,r,s)}function tS(t,n,e,i,r,o){let s=e[sn],l=s[Yt].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];ms(n,t,r,d,o)}else{let c=l,d=s[St];gD(i)&&(c.flags|=128),bv(t,n,c,d,r,o,!0)}}function Fj(t,n,e,i,r){let o=e[oo],s=Yn(e);o!==s&&ms(n,t,i,o,r);for(let a=Dt;a<e.length;a++){let l=e[a];pf(l[oe],l,t,n,i,o)}}function Lj(t,n,e,i,r){if(n)r?t.addClass(e,i):t.removeClass(e,i);else{let o=i.indexOf("-")===-1?void 0:_i.DashCase;r==null?t.removeStyle(e,i,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=_i.Important),t.setStyle(e,i,r,o))}}function ju(t,n,e,i,r=!1){for(;e!==null;){if(e.type===128){e=r?e.projectionNext:e.next;continue}let o=n[e.index];o!==null&&i.push(Yn(o)),Di(o)&&Pj(o,i);let s=e.type;if(s&8)ju(t,n,e.child,i);else if(s&32){let a=gv(e,n),l;for(;l=a();)i.push(l)}else if(s&16){let a=eS(n,e);if(Array.isArray(a))i.push(...a);else{let l=so(n[sn]);ju(l[oe],l,a,i,!0)}}e=r?e.projectionNext:e.next}return i}function Pj(t,n){for(let e=Dt;e<t.length;e++){let i=t[e],r=i[oe].firstChild;r!==null&&ju(i[oe],i,r,n)}t[oo]!==t[Ei]&&n.push(t[oo])}function nS(t){if(t[gs]!==null){for(let n of t[gs])n.impl.addSequence(n);t[gs].length=0}}function jj(t){return t[vn]??Vj(t)}function Vj(t){let n=iS.pop()??Object.create(Uj);return n.lView=t,n}function Bj(t){t.lView[vn]!==t&&(t.lView=null,iS.push(t))}function Hj(t){let n=t[vn]??Object.create(zj);return n.lView=t,n}function rS(t){return t.type!==2}function oS(t){if(t[ro]===null)return;let n=!0;for(;n;){let e=!1;for(let i of t[ro])i.dirty&&(e=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));n=e&&!!(t[J]&8192)}}function sS(t,n=!0,e=0){let r=t[gi].rendererFactory,o=!1;o||r.begin?.();try{Gj(t,e)}catch(s){throw n&&Cj(t,s),s}finally{o||r.end?.()}}function Gj(t,n){let e=HE();try{Au(!0),Zg(t,n);let i=0;for(;El(t);){if(i===$j)throw new w(103,!1);i++,Zg(t,1)}}finally{Au(e)}}function Wj(t,n,e,i){if(Os(n))return;let r=n[J],o=!1,s=!1;qy(n);let a=!0,l=null,c=null;o||(rS(t)?(c=jj(n),l=qa(c)):om()===null?(a=!1,c=Hj(n),l=qa(c)):n[vn]&&(Ka(n[vn]),n[vn]=null));try{jE(n),xP(t.bindingStartIndex),e!==null&&QD(t,n,e,2,i);let d=(r&3)===3;if(!o)if(d){let p=t.preOrderCheckHooks;p!==null&&yu(n,p,null)}else{let p=t.preOrderHooks;p!==null&&vu(n,p,0,null),cg(n,0)}if(s||qj(n),oS(n),aS(n,0),t.contentQueries!==null&&MD(t,n),!o)if(d){let p=t.contentCheckHooks;p!==null&&yu(n,p)}else{let p=t.contentHooks;p!==null&&vu(n,p,1),cg(n,1)}Yj(t,n);let h=t.components;h!==null&&cS(n,h,0);let m=t.viewQuery;if(m!==null&&Bg(2,m,i),!o)if(d){let p=t.viewCheckHooks;p!==null&&yu(n,p)}else{let p=t.viewHooks;p!==null&&vu(n,p,2),cg(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[lg]){for(let p of n[lg])p();n[lg]=null}o||(nS(n),n[J]&=-73)}catch(d){throw o||ks(n),d}finally{c!==null&&(Cd(c,l),a&&Bj(c)),Ky()}}function aS(t,n){for(let e=bD(t);e!==null;e=_D(e))for(let i=Dt;i<e.length;i++){let r=e[i];lS(r,n)}}function qj(t){for(let n=bD(t);n!==null;n=_D(n)){if(!(n[J]&2))continue;let e=n[ws];for(let i=0;i<e.length;i++){let r=e[i];Vy(r)}}}function Kj(t,n,e){Fe(18);let i=Qn(n,t);lS(i,e),Fe(19,i[ct])}function lS(t,n){jy(t)&&Zg(t,n)}function Zg(t,n){let i=t[oe],r=t[J],o=t[vn],s=!!(n===0&&r&16);if(s||=!!(r&64&&n===0),s||=!!(r&1024),s||=!!(o?.dirty&&xd(o)),s||=!1,o&&(o.dirty=!1),t[J]&=-9217,s)Wj(i,t,i.template,t[ct]);else if(r&8192){oS(t),aS(t,1);let a=i.components;a!==null&&cS(t,a,1),nS(t)}}function cS(t,n,e){for(let i=0;i<n.length;i++)Kj(t,n[i],e)}function Yj(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let i=0;i<e.length;i++){let r=e[i];if(r<0)ao(~r);else{let o=r,s=e[++i],a=e[++i];EP(s,o);let l=n[o];Fe(24,l),a(2,l),Fe(25,l)}}}finally{ao(-1)}}function _v(t,n){let e=HE()?64:1088;for(t[gi].changeDetectionScheduler?.notify(n);t;){t[J]|=e;let i=so(t);if(Tu(t)&&!i)return t;t=i}return null}function dS(t,n,e,i){return[t,!0,0,n,null,i,null,e,null,null]}function uS(t,n){let e=Dt+n;if(e<t.length)return t[e]}function Tl(t,n,e,i=!0){let r=n[oe];if(Qj(r,n,t,e),i){let s=Qg(e,t),a=n[Ze],l=a.parentNode(t[oo]);l!==null&&Ij(r,t[Yt],a,n,l,s)}let o=n[Cs];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function fS(t,n){let e=vl(t,n);return e!==void 0&&ff(e[oe],e),e}function vl(t,n){if(t.length<=Dt)return;let e=Dt+n,i=t[e];if(i){let r=i[io];r!==null&&r!==t&&vv(r,i),n>0&&(t[e-1][On]=i[On]);let o=Du(t,Dt+n);Sj(i[oe],i);let s=o[yi];s!==null&&s.detachView(o[oe]),i[St]=null,i[On]=null,i[J]&=-129}return i}function Qj(t,n,e,i){let r=Dt+i,o=e.length;i>0&&(e[r-1][On]=n),i<o-Dt?(n[On]=e[r],bE(e,Dt+i,n)):(e.push(n),n[On]=null),n[St]=e;let s=n[io];s!==null&&e!==s&&hS(s,n);let a=n[yi];a!==null&&a.insertView(t),Mg(n),n[J]|=128}function hS(t,n){let e=t[ws],i=n[St];if(cr(i))t[J]|=2;else{let r=i[St][sn];n[sn]!==r&&(t[J]|=2)}e===null?t[ws]=[n]:e.push(n)}function pS(t){return El(t._lView)||!!(t._lView[J]&64)}function mS(t){Vy(t._cdRefInjectingView||t._lView)}function Jj(){return mf(It(),Y())}function mf(t,n){return t.type&4?new Xj(n,t,Fs(t,n)):null}function Vs(t,n,e,i,r){let o=t.data[n];if(o===null)o=eV(t,n,e,i,r),wP()&&(o.flags|=32);else if(o.type&64){o.type=e,o.value=i,o.attrs=r;let s=bP();o.injectorIndex=s===null?-1:s.injectorIndex}return fr(o,!0),o}function eV(t,n,e,i,r){let o=UE(),s=zy(),a=s?o:o&&o.parent,l=t.data[n]=nV(t,a,e,n,i,r);return tV(t,l,o,s),l}function tV(t,n,e,i){t.firstChild===null&&(t.firstChild=n),e!==null&&(i?e.child==null&&n.parent!==null&&(e.child=n):e.next===null&&(e.next=n,n.prev=e))}function nV(t,n,e,i,r,o){let s=n?n.injectorIndex:-1,a=0;return BE()&&(a|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,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:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Ms(t,n){return iV(t,n)}function oV(){let t=Y(),n=It(),e=Qn(n.index,t);return(cr(e)?e:t)[Ze]}function ey(t,n,e){let i=e?t.styles:null,r=e?t.classes:null,o=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")o=a;else if(o==1)r=_g(r,a);else if(o==2){let l=a,c=n[++s];i=_g(i,l+": "+c+";")}}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=r:t.classesWithoutHost=r}function A(t,n=ce.Default){let e=Y();if(e===null)return D(t,n);let i=It();return rD(i,e,vt(t),n)}function gf(){let t="invalid";throw new Error(t)}function Cv(t,n,e,i,r){let o=i===null?null:{"":-1},s=r(t,e);if(s!==null){let a,l=null,c=null,d=lV(s);d===null?a=s:[a,l,c]=d,uV(t,n,e,a,o,l,c)}o!==null&&i!==null&&aV(e,i,o)}function aV(t,n,e){let i=t.localNames=[];for(let r=0;r<n.length;r+=2){let o=e[n[r+1]];if(o==null)throw new w(-301,!1);i.push(n[r],o)}}function lV(t){let n=null,e=!1;for(let s=0;s<t.length;s++){let a=t[s];if(s===0&&Kn(a)&&(n=a),a.findHostDirectiveDefs!==null){e=!0;break}}if(!e)return null;let i=null,r=null,o=null;for(let s of t)s.findHostDirectiveDefs!==null&&(i??=[],r??=new Map,o??=new Map,cV(s,i,o,r)),s===n&&(i??=[],i.push(s));return i!==null?(i.push(...n===null?t:t.slice(1)),[i,r,o]):null}function cV(t,n,e,i){let r=n.length;t.findHostDirectiveDefs(t,n,i),e.set(t,[r,n.length-1])}function dV(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function uV(t,n,e,i,r,o,s){let a=i.length,l=!1;for(let m=0;m<a;m++){let p=i[m];!l&&Kn(p)&&(l=!0,dV(t,e,m)),Og(Nu(e,n),t,p.type)}yV(e,t.data.length,a);for(let m=0;m<a;m++){let p=i[m];p.providersResolver&&p.providersResolver(p)}let c=!1,d=!1,h=KD(t,n,a,null);a>0&&(e.directiveToIndex=new Map);for(let m=0;m<a;m++){let p=i[m];if(e.mergedAttrs=Es(e.mergedAttrs,p.hostAttrs),hV(t,e,n,h,p),gV(h,p,r),s!==null&&s.has(p)){let[y,I]=s.get(p);e.directiveToIndex.set(p.type,[h,y+e.directiveStart,I+e.directiveStart])}else(o===null||!o.has(p))&&e.directiveToIndex.set(p.type,h);p.contentQueries!==null&&(e.flags|=4),(p.hostBindings!==null||p.hostAttrs!==null||p.hostVars!==0)&&(e.flags|=64);let g=p.type.prototype;!c&&(g.ngOnChanges||g.ngOnInit||g.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),c=!0),!d&&(g.ngOnChanges||g.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),d=!0),h++}fV(t,e,o)}function fV(t,n,e){for(let i=n.directiveStart;i<n.directiveEnd;i++){let r=t.data[i];if(e===null||!e.has(r))Hw(0,n,r,i),Hw(1,n,r,i),$w(n,i,!1);else{let o=e.get(r);zw(0,n,o,i),zw(1,n,o,i),$w(n,i,!0)}}}function Hw(t,n,e,i){let r=t===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let s;t===0?s=n.inputs??={}:s=n.outputs??={},s[o]??=[],s[o].push(i),yS(n,o)}}function zw(t,n,e,i){let r=t===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let s=r[o],a;t===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(i,o),yS(n,s)}}function yS(t,n){n==="class"?t.flags|=8:n==="style"&&(t.flags|=16)}function $w(t,n,e){let{attrs:i,inputs:r,hostDirectiveInputs:o}=t;if(i===null||!e&&r===null||e&&o===null||av(t)){t.initialInputs??=[],t.initialInputs.push(null);return}let s=null,a=0;for(;a<i.length;){let l=i[a];if(l===0){a+=4;continue}else if(l===5){a+=2;continue}else if(typeof l=="number")break;if(!e&&r.hasOwnProperty(l)){let c=r[l];for(let d of c)if(d===n){s??=[],s.push(l,i[a+1]);break}}else if(e&&o.hasOwnProperty(l)){let c=o[l];for(let d=0;d<c.length;d+=2)if(c[d]===n){s??=[],s.push(c[d+1],i[a+1]);break}}a+=2}t.initialInputs??=[],t.initialInputs.push(s)}function hV(t,n,e,i,r){t.data[i]=r;let o=r.factory||(r.factory=no(r.type,!0)),s=new lo(o,Kn(r),A);t.blueprint[i]=s,e[i]=s,pV(t,n,i,KD(t,e,r.hostVars,un),r)}function pV(t,n,e,i,r){let o=r.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~n.index;mV(s)!=a&&s.push(a),s.push(e,i,o)}}function mV(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function gV(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;Kn(n)&&(e[""]=t)}}function yV(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function vS(t,n,e,i,r,o,s,a){let l=n.consts,c=ur(l,s),d=Vs(n,t,2,i,c);return o&&Cv(n,e,d,ur(l,a),r),d.mergedAttrs=Es(d.mergedAttrs,d.attrs),d.attrs!==null&&ey(d,d.attrs,!1),d.mergedAttrs!==null&&ey(d,d.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,d),d}function bS(t,n){Yy(t,n),Fy(n)&&t.queries.elementEnd(n)}function vV(t){return Object.keys(t).map(n=>{let[e,i,r]=t[n],o={propName:e,templateName:n,isSignal:(i&df.SignalBased)!==0};return r&&(o.transform=r),o})}function bV(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}))}function _V(t,n,e){let i=n instanceof et?n:n?.injector;return i&&t.getStandaloneInjector!==null&&(i=t.getStandaloneInjector(i)||i),i?new Jg(e,i):e}function CV(t){let n=t.get(dt,null);if(n===null)throw new w(407,!1);let e=t.get(sV,null),i=t.get(vi,null);return{rendererFactory:n,sanitizer:e,changeDetectionScheduler:i}}function xV(t,n){let e=(t.selectors[0][0]||"div").toLowerCase();return $D(n,e,e==="svg"?FE:e==="math"?lP:null)}function wV(t,n,e){let i=t.projection=[];for(let r=0;r<n.length;r++){let o=e[r];i.push(o!=null&&o.length?Array.from(o):null)}}function EV(){let t=It();return CS(t,Y())}function Gw(t){return t[Mu]}function hg(t){return t[Mu]||(t[Mu]=[])}function CS(t,n){let e,i=n[t.index];return Di(i)?e=i:(e=dS(i,n,null,t),n[t.index]=e,dv(n,e)),IV(e,n,t,i),new _S(e,t,n)}function SV(t,n){let e=t[Ze],i=e.createComment(""),r=Xn(n,t),o=e.parentNode(r);return Pu(e,o,i,e.nextSibling(r),!1),i}function TV(t,n,e){return MV(t,n,e)}function AV(t,n,e,i){if(t[oo])return;let r;e.type&8?r=Yn(i):r=SV(n,e),t[oo]=r}function RV(t,n){let e=t.localNames;if(e!==null){for(let i=0;i<e.length;i+=2)if(e[i]===n)return e[i+1]}return null}function OV(t,n){return t.type&11?Fs(t,n):t.type&4?mf(t,n):null}function kV(t,n,e,i){return e===-1?OV(n,t):e===-2?NV(t,n,i):gl(t,t[oe],e,n)}function NV(t,n,e){if(e===B)return Fs(n,t);if(e===an)return mf(n,t);if(e===Mt)return CS(n,t)}function xS(t,n,e,i){let r=n[yi].queries[i];if(r.matches===null){let o=t.data,s=e.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let c=s[l];if(c<0)a.push(null);else{let d=o[c];a.push(kV(n,d,s[l+1],e.metadata.read))}}r.matches=a}return r.matches}function sy(t,n,e,i){let r=t.queries.getByIndex(e),o=r.matches;if(o!==null){let s=xS(t,n,r,e);for(let a=0;a<o.length;a+=2){let l=o[a];if(l>0)i.push(s[a/2]);else{let c=o[a+1],d=n[-l];for(let h=Dt;h<d.length;h++){let m=d[h];m[io]===m[St]&&sy(m[oe],m,c,i)}if(d[ws]!==null){let h=d[ws];for(let m=0;m<h.length;m++){let p=h[m];sy(p[oe],p,c,i)}}}}}return i}function xv(t,n){return t[yi].queries[n].queryList}function wS(t,n,e){let i=new Ss((e&4)===4);return hP(t,n,i,i.destroy),(n[yi]??=new iy).queries.push(new ny(i))-1}function FV(t,n,e){let i=qe();return i.firstCreatePass&&(DS(i,new Bu(t,n,e),-1),(n&2)===2&&(i.staticViewQueries=!0)),wS(i,Y(),n)}function ES(t,n,e,i){let r=qe();if(r.firstCreatePass){let o=It();DS(r,new Bu(n,e,i),o.index),PV(r,t),(e&2)===2&&(r.staticContentQueries=!0)}return wS(r,Y(),e)}function LV(t){return t.split(",").map(n=>n.trim())}function DS(t,n,e){t.queries===null&&(t.queries=new ry),t.queries.track(new oy(n,e))}function PV(t,n){let e=t.contentQueries||(t.contentQueries=[]),i=e.length?e[e.length-1]:-1;n!==i&&e.push(t.queries.length-1,n)}function wv(t,n){return t.queries.getByIndex(n)}function SS(t,n){let e=t[oe],i=wv(e,n);return i.crossesNgTemplate?sy(e,t,n,[]):xS(e,t,i,n)}function IS(t,n,e){let i,r=Dd(()=>{i._dirtyCounter();let o=UV(i,t);if(n&&o===void 0)throw new w(-951,!1);return o});return i=r[Ut],i._dirtyCounter=cn(0),i._flatValue=void 0,r}function jV(t){return IS(!0,!1,t)}function VV(t){return IS(!0,!0,t)}function BV(t,n){let e=t[Ut];e._lView=Y(),e._queryIndex=n,e._queryList=xv(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(i=>i+1))}function UV(t,n){let e=t._lView,i=t._queryIndex;if(e===void 0||i===void 0||e[J]&4)return n?void 0:Ft;let r=xv(e,i),o=SS(e,i);return r.reset(o,pD),n?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue}function Ww(t,n){return jV(n)}function HV(t,n){return VV(n)}function Al(t,n,e=null){return new Uu({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}function U(t){return Cl(()=>{let n=TS(t),e=ie(_({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===yD.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?r=>r.get(zV).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Zn.Emulated,styles:t.styles||Ft,_:null,schemas:t.schemas||null,tView:null,id:""});n.standalone&&Jn("NgStandalone"),AS(e);let i=t.dependencies;return e.directiveDefs=qw(i,!1),e.pipeDefs=qw(i,!0),e.id=KV(e),e})}function $V(t){return dr(t)||wE(t)}function GV(t){return t!==null}function F(t){return Cl(()=>({type:t.type,bootstrap:t.bootstrap||Ft,declarations:t.declarations||Ft,imports:t.imports||Ft,exports:t.exports||Ft,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function WV(t,n){if(t==null)return qn;let e={};for(let i in t)if(t.hasOwnProperty(i)){let r=t[i],o,s,a,l;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o,l=r[3]||null):(o=r,s=r,a=df.None,l=null),e[o]=[i,a,l],n[o]=s}return e}function qV(t){if(t==null)return qn;let n={};for(let e in t)t.hasOwnProperty(e)&&(n[t[e]]=e);return n}function P(t){return Cl(()=>{let n=TS(t);return AS(n),n})}function Bs(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function TS(t){let n={};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:n,inputConfig:t.inputs||qn,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Ft,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:WV(t.inputs,n),outputs:qV(t.outputs),debugInfo:null}}function AS(t){t.features?.forEach(n=>n(t))}function qw(t,n){if(!t)return null;let e=n?KL:$V;return()=>(typeof t=="function"?t():t).map(i=>e(i)).filter(GV)}function KV(t){let n=0,e=typeof t.consts=="function"?"":t.consts,i=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,e,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(let o of i.join("|"))n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function YV(t){return Object.getPrototypeOf(t.prototype).constructor}function ge(t){let n=YV(t.type),e=!0,i=[t];for(;n;){let r;if(Kn(t))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new w(903,!1);r=n.\u0275dir}if(r){if(e){i.push(r);let s=t;s.inputs=pg(t.inputs),s.declaredInputs=pg(t.declaredInputs),s.outputs=pg(t.outputs);let a=r.hostBindings;a&&eB(t,a);let l=r.viewQuery,c=r.contentQueries;if(l&&XV(t,l),c&&JV(t,c),QV(t,r),SL(t.outputs,r.outputs),Kn(r)&&r.data.animation){let d=t.data;d.animation=(d.animation||[]).concat(r.data.animation)}}let o=r.features;if(o)for(let s=0;s<o.length;s++){let a=o[s];a&&a.ngInherit&&a(t),a===ge&&(e=!1)}}n=Object.getPrototypeOf(n)}ZV(i)}function QV(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let i=n.inputs[e];i!==void 0&&(t.inputs[e]=i,t.declaredInputs[e]=n.declaredInputs[e])}}function ZV(t){let n=0,e=null;for(let i=t.length-1;i>=0;i--){let r=t[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Es(r.hostAttrs,e=Es(e,r.hostAttrs))}}function pg(t){return t===qn?{}:t===Ft?[]:t}function XV(t,n){let e=t.viewQuery;e?t.viewQuery=(i,r)=>{n(i,r),e(i,r)}:t.viewQuery=n}function JV(t,n){let e=t.contentQueries;e?t.contentQueries=(i,r,o)=>{n(i,r,o),e(i,r,o)}:t.contentQueries=n}function eB(t,n){let e=t.hostBindings;e?t.hostBindings=(i,r)=>{n(i,r),e(i,r)}:t.hostBindings=n}function RS(t){let n=e=>{let i=Array.isArray(t);e.hostDirectives===null?(e.findHostDirectiveDefs=OS,e.hostDirectives=i?t.map(cy):[t]):i?e.hostDirectives.unshift(...t.map(cy)):e.hostDirectives.unshift(t)};return n.ngInherit=!0,n}function OS(t,n,e){if(t.hostDirectives!==null)for(let i of t.hostDirectives)if(typeof i=="function"){let r=i();for(let o of r)Kw(cy(o),n,e)}else Kw(i,n,e)}function Kw(t,n,e){let i=wE(t.directive);tB(i.declaredInputs,t.inputs),OS(i,n,e),e.set(i,t),n.push(i)}function cy(t){return typeof t=="function"?{directive:vt(t),inputs:qn,outputs:qn}:{directive:vt(t.directive),inputs:Yw(t.inputs),outputs:Yw(t.outputs)}}function Yw(t){if(t===void 0||t.length===0)return qn;let n={};for(let e=0;e<t.length;e+=2)n[t[e]]=t[e+1];return n}function tB(t,n){for(let e in n)if(n.hasOwnProperty(e)){let i=n[e],r=t[e];t[i]=r}}function kS(t){return iB(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function nB(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{let e=t[Symbol.iterator](),i;for(;!(i=e.next()).done;)n(i.value)}}function iB(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function yf(t,n,e){return t[n]=e}function rB(t,n){return t[n]}function ln(t,n,e){let i=t[n];return Object.is(i,e)?!1:(t[n]=e,!0)}function Dv(t,n,e,i){let r=ln(t,n,e);return ln(t,n+1,i)||r}function oB(t,n,e,i,r){let o=Dv(t,n,e,i);return ln(t,n+2,r)||o}function sB(t,n,e,i,r,o,s,a,l){let c=n.consts,d=Vs(n,t,4,s||null,a||null);Hy()&&Cv(n,e,d,ur(c,l),hv),d.mergedAttrs=Es(d.mergedAttrs,d.attrs),Yy(n,d);let h=d.tView=lv(2,d,i,r,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return n.queries!==null&&(n.queries.template(n,d),h.queries=n.queries.embeddedTView(d)),d}function Hu(t,n,e,i,r,o,s,a,l,c){let d=e+st,h=n.firstCreatePass?sB(d,n,t,i,r,o,s,a,l):n.data[d];fr(h,!1);let m=aB(n,t,h,e);of()&&hf(n,t,m,h),Ps(m,t);let p=dS(m,t,m,h);return t[d]=p,dv(t,p),TV(p,h,t),tf(h)&&uf(n,t,h),l!=null&&uv(t,h,c),h}function re(t,n,e,i,r,o,s,a){let l=Y(),c=qe(),d=ur(c.consts,o);return Hu(l,c,t,n,e,i,r,d,s,a),re}function lB(t,n,e,i){return sf(!0),n[Ze].createComment("")}function yo(t){return!!t&&typeof t.then=="function"}function LS(t){return!!t&&typeof t.subscribe=="function"}function Iv(t){return wl([{provide:PS,multi:!0,useValue:t}])}function cB(){cm(()=>{throw new w(600,!1)})}function dB(t){return t.isBoundToModule}function _u(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function fB(t,n,e,i){if(!e&&!El(t))return;sS(t,n,e&&!i?0:1)}function we(t,n,e,i){let r=Y(),o=fo();if(ln(r,o,n)){let s=qe(),a=rf();vj(a,r,t,n,e,i)}return we}function VS(t,n,e,i){return ln(t,fo(),e)?n+to(e)+i:un}function hB(t,n,e,i,r,o){let s=CP(),a=Dv(t,s,e,r);return Gy(2),a?n+to(e)+i+to(r)+o:un}function mu(t,n){return t<<17|n<<2}function uo(t){return t>>17&32767}function pB(t){return(t&2)==2}function mB(t,n){return t&131071|n<<17}function uy(t){return t|2}function Ts(t){return(t&131068)>>2}function mg(t,n){return t&-131069|n<<2}function gB(t){return(t&1)===1}function fy(t){return t|1}function yB(t,n,e,i,r,o){let s=o?n.classBindings:n.styleBindings,a=uo(s),l=Ts(s);t[i]=e;let c=!1,d;if(Array.isArray(e)){let h=e;d=h[1],(d===null||xl(h,d)>0)&&(c=!0)}else d=e;if(r)if(l!==0){let m=uo(t[a+1]);t[i+1]=mu(m,a),m!==0&&(t[m+1]=mg(t[m+1],i)),t[a+1]=mB(t[a+1],i)}else t[i+1]=mu(a,0),a!==0&&(t[a+1]=mg(t[a+1],i)),a=i;else t[i+1]=mu(l,0),a===0?a=i:t[l+1]=mg(t[l+1],i),l=i;c&&(t[i+1]=uy(t[i+1])),Qw(t,d,i,!0),Qw(t,d,i,!1),vB(n,d,t,i,o),s=mu(a,l),o?n.classBindings=s:n.styleBindings=s}function vB(t,n,e,i,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof n=="string"&&xl(o,n)>=0&&(e[i+1]=fy(e[i+1]))}function Qw(t,n,e,i){let r=t[e+1],o=n===null,s=i?uo(r):Ts(r),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],c=t[s+1];bB(l,n)&&(a=!0,t[s+1]=i?fy(c):uy(c)),s=i?uo(c):Ts(c)}a&&(t[e+1]=i?uy(r):fy(r))}function bB(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?xl(t,n)>=0:!1}function _B(t){return t.substring(Rn.key,Rn.keyEnd)}function CB(t){return xB(t),BS(t,US(t,0,Rn.textEnd))}function BS(t,n){let e=Rn.textEnd;return e===n?-1:(n=Rn.keyEnd=wB(t,Rn.key=n,e),US(t,n,e))}function xB(t){Rn.key=0,Rn.keyEnd=0,Rn.value=0,Rn.valueEnd=0,Rn.textEnd=t.length}function US(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function wB(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function S(t,n,e){let i=Y(),r=fo();if(ln(i,r,n)){let o=qe(),s=rf();fv(o,s,i,t,n,i[Ze],e,!1)}return S}function hy(t,n,e,i,r){pv(n,t,e,r?"class":"style",i)}function Us(t,n,e){return zS(t,n,e,!1),Us}function Q(t,n){return zS(t,n,null,!0),Q}function pr(t){$S(TB,HS,t,!0)}function HS(t,n){for(let e=CB(n);e>=0;e=BS(n,e))Zu(t,_B(n),!0)}function zS(t,n,e,i){let r=Y(),o=qe(),s=Gy(2);if(o.firstUpdatePass&&WS(o,t,s,i),n!==un&&ln(r,s,n)){let a=o.data[Si()];qS(o,a,r,r[Ze],t,r[s+1]=RB(n,e),i,s)}}function $S(t,n,e,i){let r=qe(),o=Gy(2);r.firstUpdatePass&&WS(r,null,o,i);let s=Y();if(e!==un&&ln(s,o,e)){let a=r.data[Si()];if(KS(a,i)&&!GS(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(e=_g(l,e||"")),hy(r,a,s,e,i)}else AB(r,a,s,s[Ze],s[o+1],s[o+1]=MB(t,n,e),i,o)}}function GS(t,n){return n>=t.expandoStartIndex}function WS(t,n,e,i){let r=t.data;if(r[e+1]===null){let o=r[Si()],s=GS(t,e);KS(o,i)&&n===null&&!s&&(n=!1),n=EB(r,o,n,i),yB(r,o,n,e,s,i)}}function EB(t,n,e,i){let r=SP(t),o=i?n.residualClasses:n.residualStyles;if(r===null)(i?n.classBindings:n.styleBindings)===0&&(e=gg(null,t,n,e,i),e=_l(e,n.attrs,i),o=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==r)if(e=gg(r,t,n,e,i),o===null){let l=DB(t,n,i);l!==void 0&&Array.isArray(l)&&(l=gg(null,t,n,l[1],i),l=_l(l,n.attrs,i),SB(t,n,i,l))}else o=IB(t,n,i)}return o!==void 0&&(i?n.residualClasses=o:n.residualStyles=o),e}function DB(t,n,e){let i=e?n.classBindings:n.styleBindings;if(Ts(i)!==0)return t[uo(i)]}function SB(t,n,e,i){let r=e?n.classBindings:n.styleBindings;t[uo(r)]=i}function IB(t,n,e){let i,r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++){let s=t[o].hostAttrs;i=_l(i,s,e)}return _l(i,n.attrs,e)}function gg(t,n,e,i,r){let o=null,s=e.directiveEnd,a=e.directiveStylingLast;for(a===-1?a=e.directiveStart:a++;a<s&&(o=n[a],i=_l(i,o.hostAttrs,r),o!==t);)a++;return t!==null&&(e.directiveStylingLast=a),i}function _l(t,n,e){let i=e?1:2,r=-1;if(n!==null)for(let o=0;o<n.length;o++){let s=n[o];typeof s=="number"?r=s:r===i&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),Zu(t,s,e?!0:n[++o]))}return t===void 0?null:t}function MB(t,n,e){if(e==null||e==="")return Ft;let i=[],r=bn(e);if(Array.isArray(r))for(let o=0;o<r.length;o++)t(i,r[o],!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&t(i,o,r[o]);else typeof r=="string"&&n(i,r);return i}function TB(t,n,e){let i=String(n);i!==""&&!i.includes(" ")&&Zu(t,i,e)}function AB(t,n,e,i,r,o,s,a){r===un&&(r=Ft);let l=0,c=0,d=0<r.length?r[0]:null,h=0<o.length?o[0]:null;for(;d!==null||h!==null;){let m=l<r.length?r[l+1]:void 0,p=c<o.length?o[c+1]:void 0,g=null,y;d===h?(l+=2,c+=2,m!==p&&(g=h,y=p)):h===null||d!==null&&d<h?(l+=2,g=d):(c+=2,g=h,y=p),g!==null&&qS(t,n,e,i,g,y,s,a),d=l<r.length?r[l]:null,h=c<o.length?o[c]:null}}function qS(t,n,e,i,r,o,s,a){if(!(n.type&3))return;let l=t.data,c=l[a+1],d=gB(c)?Zw(l,n,e,r,Ts(c),s):void 0;if(!zu(d)){zu(o)||pB(c)&&(o=Zw(l,null,e,r,a,s));let h=LE(Si(),e);Lj(i,s,h,r,o)}}function Zw(t,n,e,i,r,o){let s=n===null,a;for(;r>0;){let l=t[r],c=Array.isArray(l),d=c?l[1]:l,h=d===null,m=e[r+1];m===un&&(m=h?Ft:void 0);let p=h?sg(m,i):d===i?m:void 0;if(c&&!zu(p)&&(p=sg(l,i)),zu(p)&&(a=p,s))return a;let g=t[r+1];r=s?uo(g):Ts(g)}if(n!==null){let l=o?n.residualClasses:n.residualStyles;l!=null&&(a=sg(l,i))}return a}function zu(t){return t!==void 0}function RB(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=Wt(bn(t)))),t}function KS(t,n){return(t.flags&(n?8:16))!==0}function vf(t,n,e){let i=Y(),r=VS(i,t,n,e);$S(Zu,HS,r,!0)}function yg(t,n,e,i,r){return t===e&&Object.is(n,i)?1:Object.is(r(t,n),r(e,i))?-1:0}function OB(t,n,e){let i,r,o=0,s=t.length-1,a=void 0;if(Array.isArray(n)){let l=n.length-1;for(;o<=s&&o<=l;){let c=t.at(o),d=n[o],h=yg(o,c,o,d,e);if(h!==0){h<0&&t.updateValue(o,d),o++;continue}let m=t.at(s),p=n[l],g=yg(s,m,l,p,e);if(g!==0){g<0&&t.updateValue(s,p),s--,l--;continue}let y=e(o,c),I=e(s,m),R=e(o,d);if(Object.is(R,I)){let ne=e(l,p);Object.is(ne,y)?(t.swap(o,s),t.updateValue(s,p),l--,s--):t.move(s,o),t.updateValue(o,d),o++;continue}if(i??=new $u,r??=Jw(t,o,s,e),my(t,i,o,R))t.updateValue(o,d),o++,s++;else if(r.has(R))i.set(y,t.detach(o)),s--;else{let ne=t.create(o,n[o]);t.attach(o,ne),o++,s++}}for(;o<=l;)Xw(t,i,e,o,n[o]),o++}else if(n!=null){let l=n[Symbol.iterator](),c=l.next();for(;!c.done&&o<=s;){let d=t.at(o),h=c.value,m=yg(o,d,o,h,e);if(m!==0)m<0&&t.updateValue(o,h),o++,c=l.next();else{i??=new $u,r??=Jw(t,o,s,e);let p=e(o,h);if(my(t,i,o,p))t.updateValue(o,h),o++,s++,c=l.next();else if(!r.has(p))t.attach(o,t.create(o,h)),o++,s++,c=l.next();else{let g=e(o,d);i.set(g,t.detach(o)),s--}}}for(;!c.done;)Xw(t,i,e,t.length,c.value),c=l.next()}for(;o<=s;)t.destroy(t.detach(s--));i?.forEach(l=>{t.destroy(l)})}function my(t,n,e,i){return n!==void 0&&n.has(i)?(t.attach(e,n.get(i)),n.delete(i),!0):!1}function Xw(t,n,e,i,r){if(my(t,n,i,e(i,r)))t.updateValue(i,r);else{let o=t.create(i,r);t.attach(i,o)}}function Jw(t,n,e,i){let r=new Set;for(let o=n;o<=e;o++)r.add(i(o,t.at(o)));return r}function it(t,n){Jn("NgControlFlow");let e=Y(),i=fo(),r=e[i]!==un?e[i]:-1,o=r!==-1?Gu(e,st+r):void 0,s=0;if(ln(e,i,t)){let a=fe(null);try{if(o!==void 0&&fS(o,s),t!==-1){let l=st+t,c=Gu(e,l),d=by(e[oe],l),h=Ms(c,d.tView.ssrId),m=Ml(e,d,n,{dehydratedView:h});Tl(c,m,s,Is(d,h))}}finally{fe(a)}}else if(o!==void 0){let a=uS(o,s);a!==void 0&&(a[ct]=n)}}function YS(t){return t}function QS(t,n,e,i,r,o,s,a,l,c,d,h,m){Jn("NgControlFlow");let p=Y(),g=qe(),y=l!==void 0,I=Y(),R=a?s.bind(I[sn][ct]):s,ne=new yy(y,R);I[st+t]=ne,Hu(p,g,t+1,n,e,i,r,ur(g.consts,o)),y&&Hu(p,g,t+2,l,c,d,h,ur(g.consts,m))}function ZS(t){let n=fe(null),e=Si();try{let i=Y(),r=i[oe],o=i[e],s=e+1,a=Gu(i,s);if(o.liveCollection===void 0){let c=by(r,s);o.liveCollection=new vy(a,i,c)}else o.liveCollection.reset();let l=o.liveCollection;if(OB(l,t,o.trackByFn),l.updateIndexes(),o.hasEmptyBlock){let c=fo(),d=l.length===0;if(ln(i,c,d)){let h=e+2,m=Gu(i,h);if(d){let p=by(r,h),g=Ms(m,p.tView.ssrId),y=Ml(i,p,void 0,{dehydratedView:g});Tl(m,y,0,Is(p,g))}else fS(m,0)}}}finally{fe(n)}}function Gu(t,n){return t[n]}function kB(t,n){return vl(t,n)}function NB(t,n){return uS(t,n)}function by(t,n){return Ly(t,n)}function E(t,n,e,i){let r=Y(),o=qe(),s=st+t,a=r[Ze],l=o.firstCreatePass?vS(s,o,r,n,hv,Hy(),e,i):o.data[s],c=FB(o,r,l,a,n,t);r[s]=c;let d=tf(l);return fr(l,!0),WD(a,c,l),!yv(l)&&of()&&hf(o,r,c,l),(pP()===0||d)&&Ps(c,r),mP(),d&&(uf(o,r,l),iv(o,l,r)),i!==null&&uv(r,l),E}function M(){let t=It();zy()?$y():(t=t.parent,fr(t,!1));let n=t;yP(n)&&vP(),gP();let e=qe();return e.firstCreatePass&&bS(e,n),n.classesWithoutHost!=null&&kP(n)&&hy(e,n,Y(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&NP(n)&&hy(e,n,Y(),n.stylesWithoutHost,!1),M}function q(t,n,e,i){return E(t,n,e,i),M(),q}function LB(t,n,e,i,r){let o=n.consts,s=ur(o,i),a=Vs(n,t,8,"ng-container",s);s!==null&&ey(a,s,!0);let l=ur(o,r);return Hy()&&Cv(n,e,a,l,hv),a.mergedAttrs=Es(a.mergedAttrs,a.attrs),n.queries!==null&&n.queries.elementStart(n,a),a}function XS(t,n,e){let i=Y(),r=qe(),o=t+st,s=r.firstCreatePass?LB(o,r,i,n,e):r.data[o];fr(s,!0);let a=PB(r,i,s,t);return i[o]=a,of()&&hf(r,i,a,s),Ps(a,i),tf(s)&&(uf(r,i,s),iv(r,s,i)),e!=null&&uv(i,s),XS}function JS(){let t=It(),n=qe();return zy()?$y():(t=t.parent,fr(t,!1)),n.firstCreatePass&&(Yy(n,t),Fy(t)&&n.queries.elementEnd(t)),JS}function Ol(t,n,e){return XS(t,n,e),JS(),Ol}function ke(){return Y()}function mr(t,n,e){let i=Y(),r=fo();if(ln(i,r,n)){let o=qe(),s=rf();fv(o,s,i,t,n,i[Ze],e,!0)}return mr}function VB(t){typeof t=="string"&&(jB=t.toLowerCase().replace(/_/g,"-"))}function eE(t,n,e){return function i(r){if(r===Function)return e;let o=Rs(t)?Qn(t.index,n):n;_v(o,5);let s=n[ct],a=tE(n,s,e,r),l=i.__ngNextListenerFn__;for(;l;)a=tE(n,s,l,r)&&a,l=l.__ngNextListenerFn__;return a}}function tE(t,n,e,i){let r=fe(null);try{return Fe(6,n,e),e(i)!==!1}catch(o){return BB(t,o),!1}finally{Fe(7,n,e),fe(r)}}function BB(t,n){let e=t[xs],i=e?e.get(Lt,null):null;i&&i.handleError(n)}function nE(t,n,e,i,r,o){let s=n[e],a=n[oe],c=a.data[e].outputs[i],d=s[c],h=a.firstCreatePass?Uy(a):null,m=By(n),p=d.subscribe(o),g=m.length;m.push(o,p),h&&h.push(r,t.index,g,-(g+1))}function ee(t,n,e,i){let r=Y(),o=qe(),s=It();return eI(o,r,r[Ze],s,t,n,i),ee}function UB(t,n,e,i){let r=t.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let s=r[o];if(s===e&&r[o+1]===i){let a=n[Iu],l=r[o+2];return a.length>l?a[l]:null}typeof s=="string"&&(o+=2)}return null}function eI(t,n,e,i,r,o,s){let a=tf(i),c=t.firstCreatePass?Uy(t):null,d=By(n),h=!0;if(i.type&3||s){let m=Xn(i,n),p=s?s(m):m,g=d.length,y=s?R=>s(Yn(R[i.index])):i.index,I=null;if(!s&&a&&(I=UB(t,n,r,i.index)),I!==null){let R=I.__ngLastListenerFn__||I;R.__ngNextListenerFn__=o,I.__ngLastListenerFn__=o,h=!1}else{o=eE(i,n,o),y1(n,p,r,o);let R=e.listen(p,r,o);d.push(o,R),c&&c.push(r,y,g,g+1)}}else o=eE(i,n,o);if(h){let m=i.outputs?.[r],p=i.hostDirectiveOutputs?.[r];if(p&&p.length)for(let g=0;g<p.length;g+=2){let y=p[g],I=p[g+1];nE(i,n,y,I,r,o)}if(m&&m.length)for(let g of m)nE(i,n,g,r,r,o)}}function G(t=1){return MP(t)}function HB(t,n){let e=null,i=K1(t);for(let r=0;r<n.length;r++){let o=n[r];if(o==="*"){e=r;continue}if(i===null?zD(t,o,!0):Z1(i,o))return r}return e}function Zt(t){let n=Y()[sn][Yt];if(!n.projection){let e=t?t.length:1,i=n.projection=GL(e,null),r=i.slice(),o=n.child;for(;o!==null;){if(o.type!==128){let s=t?HB(o,t):0;s!==null&&(r[s]?r[s].projectionNext=o:i[s]=o,r[s]=o)}o=o.next}}}function ze(t,n=0,e,i,r,o){let s=Y(),a=qe(),l=i?t+1:null;l!==null&&Hu(s,a,l,i,r,o,null,e);let c=Vs(a,st+t,16,null,e||null);c.projection===null&&(c.projection=n),$y();let h=!s[Cs]||BE();s[sn][Yt].projection[c.projection]===null&&l!==null?zB(s,a,l):h&&!yv(c)&&Nj(a,s,c)}function zB(t,n,e){let i=st+e,r=n.data[i],o=t[i],s=Ms(o,r.tView.ssrId),a=Ml(t,r,void 0,{dehydratedView:s});Tl(o,a,0,Is(r,s))}function kn(t,n,e,i){ES(t,n,e,i)}function Be(t,n,e){FV(t,n,e)}function Ee(t){let n=Y(),e=qe(),i=Wy();nf(i+1);let r=wv(e,i);if(t.dirty&&cP(n)===((r.metadata.flags&2)===2)){if(r.matches===null)t.reset([]);else{let o=SS(n,i);t.reset(o,pD),t.notifyOnChanges()}return!0}return!1}function De(){return xv(Y(),Wy())}function tI(t,n,e,i,r){BV(n,ES(t,e,i,r))}function nI(t=1){nf(Wy()+t)}function Xt(t){let n=_P();return Py(n,st+t)}function se(t,n=""){let e=Y(),i=qe(),r=t+st,o=i.firstCreatePass?Vs(i,r,1,n,null):i.data[r],s=$B(i,e,o,n,t);e[r]=s,of()&&hf(i,e,s,o),fr(o,!1)}function ft(t){return Je("",t,""),ft}function Je(t,n,e){let i=Y(),r=VS(i,t,n,e);return r!==un&&iI(i,Si(),r),Je}function Mv(t,n,e,i,r){let o=Y(),s=hB(o,t,n,e,i,r);return s!==un&&iI(o,Si(),s),Mv}function iI(t,n,e){let i=LE(n,t);nj(t[Ze],i,e)}function Hs(t,n,e){mD(n)&&(n=n());let i=Y(),r=fo();if(ln(i,r,n)){let o=qe(),s=rf();fv(o,s,i,t,n,i[Ze],e,!1)}return Hs}function kl(t,n){let e=mD(t);return e&&t.set(n),e}function zs(t,n){let e=Y(),i=qe(),r=It();return eI(i,e,e[Ze],r,t,n),zs}function Tv(t){let n=qe(),e=Y(),i=t+st,r=Vs(n,i,128,null,null);return fr(r,!1),PE(n,e,i,GB),Tv}function WB(t,n,e){let i=qe();if(i.firstCreatePass){let r=Kn(t);_y(e,i.data,i.blueprint,r,!0),_y(n,i.data,i.blueprint,r,!1)}}function _y(t,n,e,i,r){if(t=vt(t),Array.isArray(t))for(let o=0;o<t.length;o++)_y(t[o],n,e,i,r);else{let o=qe(),s=Y(),a=It(),l=_s(t)?t:vt(t.provide),c=IE(t),d=a.providerIndexes&1048575,h=a.directiveStart,m=a.providerIndexes>>20;if(_s(t)||!t.multi){let p=new lo(c,r,A),g=bg(l,n,r?d:d+m,h);g===-1?(Og(Nu(a,s),o,l),vg(o,t,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(p),s.push(p)):(e[g]=p,s[g]=p)}else{let p=bg(l,n,d+m,h),g=bg(l,n,d,d+m),y=p>=0&&e[p],I=g>=0&&e[g];if(r&&!I||!r&&!y){Og(Nu(a,s),o,l);let R=YB(r?KB:qB,e.length,r,i,c);!r&&I&&(e[g].providerFactory=R),vg(o,t,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(R),s.push(R)}else{let R=rI(e[r?g:p],c,!r&&i);vg(o,t,p>-1?p:g,R)}!r&&i&&I&&e[g].componentProviders++}}}function vg(t,n,e,i){let r=_s(n),o=XL(n);if(r||o){let l=(o?vt(n.useClass):n).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&n.multi){let d=c.indexOf(e);d===-1?c.push(e,[i,l]):c[d+1].push(i,l)}else c.push(e,l)}}}function rI(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function bg(t,n,e,i){for(let r=e;r<i;r++)if(n[r]===t)return r;return-1}function qB(t,n,e,i,r){return Cy(this.multi,[])}function KB(t,n,e,i,r){let o=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,l=gl(i,i[oe],this.providerFactory.index,r);s=l.slice(0,a),Cy(o,s);for(let c=a;c<l.length;c++)s.push(l[c])}else s=[],Cy(o,s);return s}function Cy(t,n){for(let e=0;e<t.length;e++){let i=t[e];n.push(i())}return n}function YB(t,n,e,i,r){let o=new lo(t,e,A);return o.multi=[],o.index=n,o.componentProviders=0,rI(o,r,i&&!e),o}function Tt(t,n=[]){return e=>{e.providersResolver=(i,r)=>WB(i,r?r(t):t,n)}}function bf(t,n,e){let i=Ns()+t,r=Y();return r[i]===un?yf(r,i,e?n.call(e):n()):rB(r,i)}function oI(t,n,e,i){return lI(Y(),Ns(),t,n,e,i)}function sI(t,n,e,i,r){return cI(Y(),Ns(),t,n,e,i,r)}function aI(t,n,e,i,r,o){return QB(Y(),Ns(),t,n,e,i,r,o)}function Av(t,n){let e=t[n];return e===un?void 0:e}function lI(t,n,e,i,r,o){let s=n+e;return ln(t,s,r)?yf(t,s+1,o?i.call(o,r):i(r)):Av(t,s+1)}function cI(t,n,e,i,r,o,s){let a=n+e;return Dv(t,a,r,o)?yf(t,a+2,s?i.call(s,r,o):i(r,o)):Av(t,a+2)}function QB(t,n,e,i,r,o,s,a){let l=n+e;return oB(t,l,r,o,s)?yf(t,l+3,a?i.call(a,r,o,s):i(r,o,s)):Av(t,l+3)}function le(t,n){let e=qe(),i,r=t+st;e.firstCreatePass?(i=ZB(n,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks??=[]).push(r,i.onDestroy)):i=e.data[r];let o=i.factory||(i.factory=no(i.type,!0)),s,a=Gt(A);try{let l=ku(!1),c=o();return ku(l),PE(e,Y(),r,c),c}finally{Gt(a)}}function ZB(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function be(t,n,e){let i=t+st,r=Y(),o=Py(r,i);return dI(r,i)?lI(r,Ns(),n,o.transform,e,o):o.transform(e)}function $s(t,n,e,i){let r=t+st,o=Y(),s=Py(o,r);return dI(o,r)?cI(o,Ns(),n,s.transform,e,i,s):s.transform(e,i)}function dI(t,n){return t[oe].data[n].pure}function vo(t,n){return mf(t,n)}function JB({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:e}){return t??=()=>new L(ie(_({},e2()),{scheduleInRootZone:e})),[{provide:L,useFactory:t},{provide:bs,multi:!0,useFactory:()=>{let i=u(XB,{optional:!0});return()=>i.initialize()}},{provide:bs,multi:!0,useFactory:()=>{let i=u(t2);return()=>{i.initialize()}}},n===!0?{provide:cD,useValue:!0}:[],{provide:dD,useValue:e??lD}]}function e2(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function i2(){return typeof $localize<"u"&&$localize.locale||Wu}function dl(t){return!t.moduleRef}function o2(t){let n=dl(t)?t.r3Injector:t.moduleRef.injector,e=n.get(L);return e.run(()=>{dl(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(Lt,null),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:o=>{i.handleError(o)}})}),dl(t)){let o=()=>n.destroy(),s=t.platformInjector.get(wy);s.add(o),n.onDestroy(()=>{r.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(wy);s.add(o),t.moduleRef.onDestroy(()=>{_u(t.allPlatformModules,t.moduleRef),r.unsubscribe(),s.delete(o)})}return a2(i,e,()=>{let o=n.get(jS);return o.runInitializers(),o.donePromise.then(()=>{let s=n.get(Ov,Wu);if(VB(s||Wu),!n.get(r2,!0))return dl(t)?n.get(qt):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(dl(t)){let l=n.get(qt);return t.rootComponent!==void 0&&l.bootstrap(t.rootComponent),l}else return s2(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function s2(t,n){let e=t.injector.get(qt);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>e.bootstrap(i));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new w(-403,!1);n.push(t)}function a2(t,n,e){try{let i=e();return yo(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}function l2(t=[],n){return he.create({name:n,providers:[{provide:Xu,useValue:"platform"},{provide:wy,useValue:new Set([()=>Cu=null])},...t]})}function c2(t=[]){if(Cu)return Cu;let n=l2(t);return Cu=n,cB(),d2(n),n}function d2(t){let n=t.get(ev,null);Kt(t,()=>{n?.forEach(e=>e())})}function u2(t){return f2(It(),Y(),(t&16)===16)}function f2(t,n,e){if(Rs(t)&&!e){let i=Qn(t.index,n);return new bl(i,i)}else if(t.type&175){let i=n[sn];return new bl(i,n)}return null}function iE(t,n,e){let i=t.previousIndex;if(i===null)return i;let r=0;return e&&i<e.length&&(r=e[i]),i+n+r}function rE(){return new _f([new Ey])}function kv(t){Fe(8);try{let{rootComponent:n,appProviders:e,platformProviders:i}=t,r=c2(i),o=[JB({}),{provide:vi,useExisting:n2},...e||[]],s=new Uu({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1});return o2({r3Injector:s.injector,platformInjector:r,rootComponent:n})}catch(n){return Promise.reject(n)}finally{Fe(9)}}function Me(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Ai(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}function _n(t){return fm(t)}function Ri(t,n){return Dd(t,n?.equal)}function Nv(t,n){!n?.injector&&Ny(Nv);let e=n?.injector??u(he),i=n?.manualCleanup!==!0?e.get(ho):null,r,o=e.get(nv,null,{optional:!0}),s=e.get(vi);return o!==null&&!n?.forceRoot?(r=g2(o.view,s,t),i instanceof Fu&&i._lView===o.view&&(i=null)):r=y2(t,e.get(FS),s),r.injector=e,i!==null&&(r.onDestroyFn=i.onDestroy(()=>r.destroy())),new My(r)}function g2(t,n,e){let i=Object.create(m2);return i.view=t,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=n,i.fn=e,t[ro]??=new Set,t[ro].add(i),i.consumerMarkedDirty(i),i}function y2(t,n,e){let i=Object.create(p2);return i.fn=t,i.scheduler=n,i.notifier=e,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.schedule(i),i.notifier.notify(12),i}function Cf(t,n){let e=dr(t),i=n.elementInjector||Ju();return new co(e).create(i,n.projectableNodes,n.hostElement,n.environmentInjector)}function hI(t){let n=dr(t);if(!n)return null;let e=new co(n);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var oE,w,sE,EL,uu,vs,IL,uE,gw,fE,TL,C,AL,RL,OL,kL,xu,hl,yw,ce,Cg,FL,Jr,xg,wu,Eu,LL,PL,jL,vw,Qu,vE,qn,Ft,bs,_E,CE,Su,YL,Xu,gu,bw,ag,et,pl,Ei,oe,J,St,On,Yt,Cs,Iu,ct,xs,gi,Ze,ml,_w,As,sn,io,hs,yi,ef,TE,lr,lg,ro,vn,gs,st,AE,oo,Mu,ws,Dt,Ig,Ve,kE,Cw,Fe,FE,lP,ae,Tg,qE,YE,ys,lo,Rg,jP,JE,eD,VP,Wn,eo,he,Ds,WP,lD,ho,Fu,vi,Zy,cD,dD,hr,Ng,z,Xy,Lu,KP,L,YP,Lg,Lt,e1,hD,B,Ss,yD,vD,o1,Rw,jg,po,l1,ev,Qt,Xe,mo,c1,d1,ED,u1,tv,js,Ow,nv,ps,DD,h1,p1,Vg,g1,v1,Zn,fu,hu,bi,Ug,Hg,zg,$g,Gg,Wg,qg,w1,FD,LD,PD,E1,D1,S1,Fw,jD,I1,M1,T1,A1,Kg,N1,F1,pu,bt,V1,B1,U1,HD,un,df,fj,Dj,_i,kj,Uw,iS,Uj,zj,$j,bl,an,Zj,Xj,F7,iV,rV,gS,Xg,go,dt,ut,sV,fg,Jg,Vu,co,ty,Mt,DV,_S,IV,MV,ny,iy,Bu,ry,oy,MS,Ci,Ev,ay,ly,Uu,zV,aB,Sv,NS,FS,dy,PS,jS,Rl,uB,qt,Rn,py,$u,gy,yy,vy,FB,PB,Wu,jB,$B,GB,xi,Rv,xy,uI,XB,t2,n2,Ov,wy,r2,Cu,at,Ey,h2,Dy,Sy,Iy,qu,_f,My,fI,p2,m2,b=f(()=>{"use strict";hm();mm();Qx();mm();Se();Qe();oE="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",w=class extends Error{code;constructor(n,e){super(Ty(n,e)),this.code=n}};sE=Symbol("InputSignalNode#UNSET"),EL=ie(_({},Sd),{transformFn:void 0,applyValueToInputSignal(t,n){Ya(t,n)}});uu="__parameters__";vs=globalThis;IL=je({__forward_ref__:je});uE=je({\u0275prov:je}),gw=je({\u0275inj:je}),fE=je({ngInjectableDef:je}),TL=je({ngInjectorDef:je}),C=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,e){this._desc=n,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=v({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};AL=je({\u0275cmp:je}),RL=je({\u0275dir:je}),OL=je({\u0275pipe:je}),kL=je({\u0275mod:je}),xu=je({\u0275fac:je}),hl=je({__NG_ELEMENT_ID__:je}),yw=je({__NG_ENV_ID__:je});ce=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(ce||{});FL={},Jr=FL,xg="__NG_DI_FLAG__",wu=class{injector;constructor(n){this.injector=n}retrieve(n,e){let i=e;return this.injector.get(n,i.optional?Id:Jr,i)}},Eu="ngTempTokenPath",LL="ngTokenPath",PL=/\n/gm,jL="\u0275",vw="__source";Qu=yE(lE("Optional"),8),vE=yE(lE("SkipSelf"),4);qn={},Ft=[],bs=new C(""),_E=new C("",-1),CE=new C(""),Su=class{get(n,e=Jr){if(e===Jr){let i=new Error(`NullInjectorError: No provider for ${Wt(n)}!`);throw i.name="NullInjectorError",i}return e}};YL=je({provide:String,useValue:je});Xu=new C(""),gu={},bw={};et=class{},pl=class extends et{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,Sg(n,s=>this.processProvider(s)),this.records.set(_E,fs(void 0,this)),r.has("environment")&&this.records.set(et,fs(void 0,this));let o=this.records.get(Xu);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(CE,Ft,ce.Self))}retrieve(n,e){let i=e;return this.get(n,i.optional?Id:Jr,i)}destroy(){ul(this),this._destroyed=!0;let n=fe(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),fe(n)}}onDestroy(n){return ul(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){ul(this);let e=ui(this),i=Gt(void 0),r;try{return n()}finally{ui(e),Gt(i)}}get(n,e=Jr,i=ce.Default){if(ul(this),n.hasOwnProperty(yw))return n[yw](this);i=Yu(i);let r,o=ui(this),s=Gt(void 0);try{if(!(i&ce.SkipSelf)){let l=this.records.get(n);if(l===void 0){let c=iP(n)&&Ku(n);c&&this.injectableDefInScope(c)?l=fs(Dg(n),gu):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l,i)}let a=i&ce.Self?Ju():this.parent;return e=i&ce.Optional&&e===Jr?null:e,a.get(n,e)}catch(a){if(a.name==="NullInjectorError"){if((a[Eu]=a[Eu]||[]).unshift(Wt(n)),o)throw a;return UL(a,n,"R3InjectorError",this.source)}else throw a}finally{Gt(s),ui(o)}}resolveInjectorInitializers(){let n=fe(null),e=ui(this),i=Gt(void 0),r;try{let o=this.get(bs,Ft,ce.Self);for(let s of o)s()}finally{ui(e),Gt(i),fe(n)}}toString(){let n=[],e=this.records;for(let i of e.keys())n.push(Wt(i));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=vt(n);let e=_s(n)?n:vt(n&&n.provide),i=eP(n);if(!_s(n)&&n.multi===!0){let r=this.records.get(e);r||(r=fs(void 0,gu,!0),r.factory=()=>wg(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e,i){let r=fe(null);try{return e.value===bw?pE(Wt(n)):e.value===gu&&(e.value=bw,e.value=e.factory(void 0,i)),typeof e.value=="object"&&e.value&&nP(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{fe(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=vt(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};Ei=0,oe=1,J=2,St=3,On=4,Yt=5,Cs=6,Iu=7,ct=8,xs=9,gi=10,Ze=11,ml=12,_w=13,As=14,sn=15,io=16,hs=17,yi=18,ef=19,TE=20,lr=21,lg=22,ro=23,vn=24,gs=25,st=26,AE=1,oo=7,Mu=8,ws=9,Dt=10;Ig=class{previousValue;currentValue;firstChange;constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};Ve=(()=>{let t=()=>OE;return t.ngInherit=!0,t})();kE="__ngSimpleChanges__";Cw=null,Fe=function(t,n=null,e){Cw?.(t,n,e)},FE="svg",lP="math";ae={lFrame:GE(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Tg=!1;qE=WE;YE=!0;ys=-1,lo=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,e,i){this.factory=n,this.canSeeViewProviders=e,this.injectImpl=i}};Rg=!0;jP=256,JE=jP-1,eD=5,VP=0,Wn={};eo=class{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return rD(this._tNode,this._lView,n,Yu(i),e)}};he=class t{static THROW_IF_NOT_FOUND=Jr;static NULL=new Su;static create(n,e){if(Array.isArray(n))return Sw({name:""},e,n,"");{let i=n.name??"";return Sw({name:i},n.parent,n.providers,i)}}static \u0275prov=v({token:t,providedIn:"any",factory:()=>D(_E)});static __NG_ELEMENT_ID__=-1};Ds=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>af(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},WP=new C("");WP.__NG_ELEMENT_ID__=t=>{let n=It();if(n===null)throw new w(204,!1);if(n.type&2)return n.value;if(t&ce.Optional)return null;throw new w(204,!1)};lD=!1,ho=(()=>{class t{static __NG_ELEMENT_ID__=qP;static __NG_ENV_ID__=e=>e}return t})(),Fu=class extends ho{_lView;constructor(n){super(),this._lView=n}onDestroy(n){let e=this._lView;return Os(e)?(n(),()=>{}):(VE(e,n),()=>fP(e,n))}};vi=class{},Zy=new C("",{providedIn:"root",factory:()=>!1}),cD=new C(""),dD=new C(""),hr=(()=>{class t{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new nt(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=v({token:t,providedIn:"root",factory:()=>new t})}return t})(),Ng=class extends T{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,ME()&&(this.destroyRef=u(ho,{optional:!0})??void 0,this.pendingTasks=u(hr,{optional:!0})??void 0)}emit(n){let e=fe(null);try{super.next(n)}finally{fe(e)}}subscribe(n,e,i){let r=n,o=e||(()=>null),s=i;if(n&&typeof n=="object"){let l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:r,error:o,complete:s});return n instanceof _e&&n.add(a),a}wrapInTimeout(n){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{try{n(e)}finally{i!==void 0&&this.pendingTasks?.remove(i)}})}}},z=Ng;Xy="isAngularZone",Lu=Xy+"_ID",KP=0,L=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new z(!1);onMicrotaskEmpty=new z(!1);onStable=new z(!1);onError=new z(!1);constructor(n){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=lD}=n;if(typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&i,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=o,ZP(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Xy)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new w(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,r){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,YP,yl,yl);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}},YP={};Lg=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new z;onMicrotaskEmpty=new z;onStable=new z;onError=new z;run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,r){return n.apply(e,i)}};Lt=class{_console=console;handleError(n){this._console.error("ERROR",n)}},e1=new C("",{providedIn:"root",factory:()=>{let t=u(L),n=u(Lt);return e=>t.runOutsideAngular(()=>n.handleError(e))}});hD=(Aw.required=t1,Aw);B=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=n1}return t})();Ss=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new T}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;let i=$L(n);(this._changesDetected=!zL(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=r1};yD=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(yD||{}),vD=new Map,o1=0;Rw="__ngContext__";po=new C("",{providedIn:"root",factory:()=>l1}),l1="ng",ev=new C(""),Qt=new C("",{providedIn:"platform",factory:()=>"unknown"}),Xe=new C(""),mo=new C("",{providedIn:"root",factory:()=>wD().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),c1="h",d1="b",ED=!1,u1=new C("",{providedIn:"root",factory:()=>ED}),tv=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(tv||{}),js=new C(""),Ow=new Set;nv=(()=>{class t{view;node;constructor(e,i){this.view=e,this.node=i}static __NG_ELEMENT_ID__=f1}return t})();ps=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(ps||{}),DD=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=v({token:t,providedIn:"root",factory:()=>new t})}return t})(),h1=[ps.EarlyRead,ps.Write,ps.MixedReadWrite,ps.Read],p1=(()=>{class t{ngZone=u(L);scheduler=u(vi);errorHandler=u(Lt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){u(js,{optional:!0})}execute(){let e=this.sequences.size>0;e&&Fe(16),this.executing=!0;for(let i of h1)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[i]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=r.hooks[i];return o(r.pipelinedValue)},r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(let i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&Fe(17)}register(e){let{view:i}=e;i!==void 0?((i[gs]??=[]).push(e),ks(i),i[J]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,i){return i?i.run(tv.AFTER_NEXT_RENDER,e):e()}static \u0275prov=v({token:t,providedIn:"root",factory:()=>new t})}return t})(),Vg=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,e,i,r,o,s=null){this.impl=n,this.hooks=e,this.view=i,this.once=r,this.snapshot=s,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[gs];n&&(this.view[gs]=n.filter(e=>e!==this))}};g1=(t,n,e,i)=>{};v1=()=>null;Zn=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Zn||{});bi=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${oE})`}},Ug=class extends bi{getTypeName(){return"HTML"}},Hg=class extends bi{getTypeName(){return"Style"}},zg=class extends bi{getTypeName(){return"Script"}},$g=class extends bi{getTypeName(){return"URL"}},Gg=class extends bi{getTypeName(){return"ResourceURL"}};Wg=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(lf(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},qg=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=lf(n),e}};w1=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;FD=Mi("area,br,col,hr,img,wbr"),LD=Mi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),PD=Mi("rp,rt"),E1=Il(PD,LD),D1=Il(LD,Mi("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),S1=Il(PD,Mi("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Fw=Il(FD,D1,S1,E1),jD=Mi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),I1=Mi("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),M1=Mi("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),T1=Il(jD,I1,M1),A1=Mi("script,style,template"),Kg=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let e=n.firstChild,i=!0,r=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild){r.push(e),e=k1(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=O1(e);if(o){e=o;break}e=r.pop()}}return this.buf.join("")}startElement(n){let e=Lw(n).toLowerCase();if(!Fw.hasOwnProperty(e))return this.sanitizedSomething=!0,!A1.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=n.attributes;for(let r=0;r<i.length;r++){let o=i.item(r),s=o.name,a=s.toLowerCase();if(!T1.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;jD[a]&&(l=cf(l)),this.buf.push(" ",s,'="',Pw(l),'"')}return this.buf.push(">"),!0}endElement(n){let e=Lw(n).toLowerCase();Fw.hasOwnProperty(e)&&!FD.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(Pw(n))}};N1=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,F1=/([^\#-~ |!])/g;bt=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}(bt||{});V1=/^>|^->|<!--|-->|--!>|<!-$/g,B1=/(<|>)/g,U1="\u200B$1\u200B";HD="ng-template";un={};df=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(df||{});fj=()=>null;_i=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(_i||{});kj=Oj;iS=[];Uj=ie(_({},Zo),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{ks(t.lView)},consumerOnSignalRead(){this.lView[vn]=this}});zj=ie(_({},Zo),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=so(t.lView);for(;n&&!rS(n[oe]);)n=so(n);n&&Vy(n)},consumerOnSignalRead(){this.lView[vn]=this}});$j=100;bl=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let n=this._lView,e=n[oe];return ju(e,n,e.firstChild,[])}constructor(n,e,i=!0){this._lView=n,this._cdRefInjectingView=e,this.notifyErrorHandler=i}get context(){return this._lView[ct]}set context(n){this._lView[ct]=n}get destroyed(){return Os(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[St];if(Di(n)){let e=n[Mu],i=e?e.indexOf(this):-1;i>-1&&(vl(n,i),Du(e,i))}this._attachedToViewContainer=!1}ff(this._lView[oe],this._lView)}onDestroy(n){VE(this._lView,n)}markForCheck(){_v(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[J]&=-129}reattach(){Mg(this._lView),this._lView[J]|=128}detectChanges(){this._lView[J]|=1024,sS(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Tu(this._lView),e=this._lView[io];e!==null&&!n&&vv(e,this._lView),ZD(this._lView[oe],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=n;let e=Tu(this._lView),i=this._lView[io];i!==null&&!e&&hS(i,this._lView),Mg(this._lView)}};an=(()=>{class t{static __NG_ELEMENT_ID__=Jj}return t})(),Zj=an,Xj=class extends Zj{_declarationLView;_declarationTContainer;elementRef;constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,e){return this.createEmbeddedViewImpl(n,e)}createEmbeddedViewImpl(n,e,i){let r=Ml(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:e,dehydratedView:i});return new bl(r)}};F7=new RegExp(`^(\\d+)*(${d1}|${c1})*(.*)`),iV=()=>null;rV=class{},gS=class{},Xg=class{resolveComponentFactory(n){throw Error(`No component factory found for ${Wt(n)}.`)}},go=class{static NULL=new Xg},dt=class{},ut=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>oV()}return t})();sV=(()=>{class t{static \u0275prov=v({token:t,providedIn:"root",factory:()=>null})}return t})(),fg={},Jg=class{injector;parentInjector;constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=Yu(i);let r=this.injector.get(n,fg,i);return r!==fg||e===fg?r:this.parentInjector.get(n,e,i)}};Vu=class extends go{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=dr(n);return new co(e,this.ngModule)}};co=class extends gS{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=vV(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=bV(this.componentDef.outputs),this.cachedOutputs}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=J1(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!e}create(n,e,i,r){Fe(22);let o=fe(null);try{let s=this.componentDef,a=i?["ng-version","19.2.14"]:ej(this.componentDef.selectors[0]),l=lv(0,null,null,1,0,null,null,null,null,[a],null),c=_V(s,r||this.ngModule,n),d=CV(c),h=d.rendererFactory.createRenderer(null,s),m=i?dj(h,i,s.encapsulation,c):xV(s,h),p=cv(null,l,null,512|qD(s),null,null,d,h,c,null,ID(m,c,!0));p[st]=m,qy(p);let g=null;try{let y=vS(st,l,p,"#host",()=>[this.componentDef],!0,0);m&&(WD(h,m,y),Ps(m,p)),uf(l,p,y),iv(l,y,p),bS(l,y),e!==void 0&&wV(y,this.ngContentSelectors,e),g=Qn(y.index,p),p[ct]=g[ct],mv(l,p,null)}catch(y){throw g!==null&&Pg(g),Pg(p),y}finally{Fe(23),Ky()}return new ty(this.componentType,p)}finally{fe(o)}}},ty=class extends rV{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,e){super(),this._rootLView=e,this._tNode=Ly(e[oe],st),this.location=Fs(this._tNode,e),this.instance=Qn(this._tNode.index,e)[ct],this.hostView=this.changeDetectorRef=new bl(e,void 0,!1),this.componentType=n}setInput(n,e){let i=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let r=this._rootLView,o=pv(i,r[oe],r,n,e);this.previousInputValues.set(n,e);let s=Qn(i.index,r);_v(s,1)}get injector(){return new eo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};Mt=(()=>{class t{static __NG_ELEMENT_ID__=EV}return t})();DV=Mt,_S=class extends DV{_lContainer;_hostTNode;_hostLView;constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return Fs(this._hostTNode,this._hostLView)}get injector(){return new eo(this._hostTNode,this._hostLView)}get parentInjector(){let n=Qy(this._hostTNode,this._hostLView);if(XE(n)){let e=Ou(n,this._hostLView),i=Ru(n),r=e[oe].data[i+8];return new eo(r,e)}else return new eo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=Gw(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-Dt}createEmbeddedView(n,e,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let s=Ms(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},o,s);return this.insertImpl(a,r,Is(this._hostTNode,s)),a}createComponent(n,e,i,r,o){let s=n&&!rP(n),a;if(s)a=e;else{let g=e||{};a=g.index,i=g.injector,r=g.projectableNodes,o=g.environmentInjector||g.ngModuleRef}let l=s?n:new co(dr(n)),c=i||this.parentInjector;if(!o&&l.ngModule==null){let y=(s?c:this.parentInjector).get(et,null);y&&(o=y)}let d=dr(l.componentType??{}),h=Ms(this._lContainer,d?.id??null),m=h?.firstChild??null,p=l.create(c,r,m,o);return this.insertImpl(p.hostView,a,Is(this._hostTNode,h)),p}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let r=n._lView;if(dP(r)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let l=r[St],c=new _S(l,l[Yt],l[St]);c.detach(c.indexOf(n))}}let o=this._adjustIndex(e),s=this._lContainer;return Tl(s,r,o,i),n.attachToViewContainerRef(),bE(hg(s),o,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=Gw(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=vl(this._lContainer,e);i&&(Du(hg(this._lContainer),e),ff(i[oe],i))}detach(n){let e=this._adjustIndex(n,-1),i=vl(this._lContainer,e);return i&&Du(hg(this._lContainer),e)!=null?new bl(i):null}_adjustIndex(n,e=0){return n??this.length+e}};IV=AV,MV=()=>!1;ny=class t{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},iy=class t{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let i=n.contentQueries!==null?n.contentQueries[0]:e.length,r=[];for(let o=0;o<i;o++){let s=e.getByIndex(o),a=this.queries[s.indexInDeclarationView];r.push(a.clone())}return new t(r)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)wv(n,e).matches!==null&&this.queries[e].setDirty()}},Bu=class{flags;read;predicate;constructor(n,e,i=null){this.flags=e,this.read=i,typeof n=="string"?this.predicate=LV(n):this.predicate=n}},ry=class t{queries;constructor(n=[]){this.queries=n}elementStart(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,e)}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n)}embeddedTView(n){let e=null;for(let i=0;i<this.length;i++){let r=e!==null?e.length:0,o=this.getByIndex(i).embeddedTView(n,r);o&&(o.indexInDeclarationView=i,e!==null?e.push(o):e=[o])}return e!==null?new t(e):null}template(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},oy=class t{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,e=-1){this.metadata=n,this._declarationNodeIndex=e}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,e){this.elementStart(n,e)}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new t(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,i=n.parent;for(;i!==null&&i.type&8&&i.index!==e;)i=i.parent;return e===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(n,e){let i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){let o=i[r];this.matchTNodeWithReadOption(n,e,RV(e,o)),this.matchTNodeWithReadOption(n,e,bu(e,n,o,!1,!1))}else i===an?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,bu(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(i!==null){let r=this.metadata.read;if(r!==null)if(r===B||r===Mt||r===an&&e.type&4)this.addMatch(e.index,-2);else{let o=bu(e,n,r,!1,!1);o!==null&&this.addMatch(e.index,o)}else this.addMatch(e.index,i)}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e)}};MS=(Ww.required=HV,Ww),Ci=class{},Ev=class{},ay=class extends Ci{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Vu(this);constructor(n,e,i,r=!0){super(),this.ngModuleType=n,this._parent=e;let o=xE(n);this._bootstrapComponents=UD(o.bootstrap),this._r3Injector=aD(n,e,[{provide:Ci,useValue:this},{provide:go,useValue:this.componentFactoryResolver},...i],Wt(n),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},ly=class extends Ev{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new ay(this.moduleType,n,[])}},Uu=class extends Ci{injector;componentFactoryResolver=new Vu(this);instance=null;constructor(n){super();let e=new pl([...n.providers,{provide:Ci,useValue:this},{provide:go,useValue:this.componentFactoryResolver}],n.parent||Ju(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};zV=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=EE(!1,e.type),r=i.length>0?Al([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=v({token:t,providedIn:"environment",factory:()=>new t(D(et))})}return t})();aB=lB;Sv=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();NS=new C(""),FS=(()=>{class t{static \u0275prov=v({token:t,providedIn:"root",factory:()=>new dy})}return t})(),dy=class{queuedEffectCount=0;queues=new Map;schedule(n){this.enqueue(n)}remove(n){let e=n.zone,i=this.queues.get(e);i.has(n)&&(i.delete(n),this.queuedEffectCount--)}enqueue(n){let e=n.zone;this.queues.has(e)||this.queues.set(e,new Set);let i=this.queues.get(e);i.has(n)||(this.queuedEffectCount++,i.add(n))}flush(){for(;this.queuedEffectCount>0;)for(let[n,e]of this.queues)n===null?this.flushQueue(e):n.run(()=>this.flushQueue(e))}flushQueue(n){for(let e of n)n.delete(e),this.queuedEffectCount--,e.run()}};PS=new C("");jS=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i});appInits=u(PS,{optional:!0})??[];injector=u(he);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let o=Kt(this.injector,r);if(yo(o))e.push(o);else if(LS(o)){let s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});e.push(s)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),e.length===0&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Rl=new C("");uB=10,qt=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=u(e1);afterRenderManager=u(DD);zonelessEnabled=u(Zy);rootEffectScheduler=u(FS);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new T;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=u(hr).hasPendingTasks.pipe(j(e=>!e));constructor(){u(js,{optional:!0})}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{e.unsubscribe()})}_injector=u(et);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,i){return this.bootstrapImpl(e,i)}bootstrapImpl(e,i,r=he.NULL){Fe(10);let o=e instanceof gS;if(!this._injector.get(jS).done){let p="";throw new w(405,p)}let a;o?a=e:a=this._injector.get(go).resolveComponentFactory(e),this.componentTypes.push(a.componentType);let l=dB(a)?void 0:this._injector.get(Ci),c=i||a.selector,d=a.create(r,[],c,l),h=d.location.nativeElement,m=d.injector.get(NS,null);return m?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),_u(this.components,d),m?.unregisterApplication(h)}),this._loadComponent(d),Fe(11,d),d}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Fe(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(tv.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new w(101,!1);let e=fe(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,fe(e),this.afterTick.next(),Fe(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(dt,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++<uB;)Fe(14),this.synchronizeOnce(),Fe(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let e=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:i,notifyErrorHandler:r}of this.allViews)fB(i,r,e,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>El(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){let i=e;_u(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Rl,[]).forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>_u(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new w(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();Rn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};py=class{destroy(n){}updateValue(n,e){}swap(n,e){let i=Math.min(n,e),r=Math.max(n,e),o=this.detach(r);if(r-i>1){let s=this.detach(i);this.attach(i,o),this.attach(r,s)}else this.attach(i,o)}move(n,e){this.attach(e,this.detach(n))}};$u=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let i=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,i]of this.kvMap)if(n(i,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),n(i,e)}}};gy=class{lContainer;$implicit;$index;constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-Dt}};yy=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}};vy=class extends py{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i}get length(){return this.lContainer.length-Dt}at(n){return this.getLView(n)[ct].$implicit}attach(n,e){let i=e[Cs];this.needsIndexUpdate||=n!==this.length,Tl(this.lContainer,e,n,Is(this.templateTNode,i))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,kB(this.lContainer,n)}create(n,e){let i=Ms(this.lContainer,this.templateTNode.tView.ssrId),r=Ml(this.hostLView,this.templateTNode,new gy(this.lContainer,e,n),{dehydratedView:i});return this.operationsCounter?.recordCreate(),r}destroy(n){ff(n[oe],n),this.operationsCounter?.recordDestroy()}updateValue(n,e){this.getLView(n)[ct].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[ct].$index=n}getLView(n){return NB(this.lContainer,n)}};FB=(t,n,e,i,r,o)=>(sf(!0),$D(i,r,AP()));PB=(t,n,e,i)=>(sf(!0),ij(n[Ze],""));Wu="en-US",jB=Wu;$B=(t,n,e,i,r)=>(sf(!0),tj(n[Ze],i));GB={};xi=class{full;major;minor;patch;constructor(n){this.full=n;let e=n.split(".");this.major=e[0],this.minor=e[1],this.patch=e.slice(2).join(".")}},Rv=new xi("19.2.14"),xy=class{ngModuleFactory;componentFactories;constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}},uI=(()=>{class t{compileModuleSync(e){return new ly(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let i=this.compileModuleSync(e),r=xE(e),o=UD(r.declarations).reduce((s,a)=>{let l=dr(a);return l&&s.push(new co(l)),s},[]);return new xy(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),XB=(()=>{class t{zone=u(L);changeDetectionScheduler=u(vi);applicationRef=u(qt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();t2=(()=>{class t{subscription=new _e;initialized=!1;zone=u(L);pendingTasks=u(hr);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{L.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{L.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),n2=(()=>{class t{appRef=u(qt);taskService=u(hr);ngZone=u(L);zonelessEnabled=u(Zy);tracing=u(js,{optional:!0});disableScheduling=u(cD,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new _e;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Lu):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(u(dD,{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 Lg||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;let i=!1;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,i=!0;break}case 12:{this.appRef.dirtyFlags|=16,i=!0;break}case 13:{this.appRef.dirtyFlags|=2,i=!0;break}case 11:{i=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(i))return;let r=this.useMicrotaskScheduler?Iw:uD;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(e){return!(this.disableScheduling&&!e||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Lu+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(e),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Iw(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();Ov=new C("",{providedIn:"root",factory:()=>u(Ov,ce.Optional|ce.SkipSelf)||i2()}),wy=new C(""),r2=new C("");Cu=null;at=(()=>{class t{static __NG_ELEMENT_ID__=u2}return t})();Ey=class{constructor(){}supports(n){return kS(n)}create(n){return new Dy(n)}},h2=(t,n)=>n,Dy=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||h2}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){let s=!i||e&&e.currentIndex<iE(i,r,o)?e:i,a=iE(s,r,o),l=s.currentIndex;if(s===i)r--,i=i._nextRemoved;else if(e=e._next,s.previousIndex==null)r++;else{o||(o=[]);let c=a-r,d=l-r;if(c!=d){for(let m=0;m<c;m++){let p=m<o.length?o[m]:o[m]=0,g=p+m;d<=g&&g<c&&(o[m]=p+1)}let h=s.previousIndex;o[h]=d-c}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)n(e)}diff(n){if(n==null&&(n=[]),!kS(n))throw new w(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._itHead,i=!1,r,o,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)o=n[a],s=this._trackByFn(a,o),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,o,s,a),i=!0):(i&&(e=this._verifyReinsertion(e,o,s,a)),Object.is(e.item,o)||this._addIdentityChange(e,o)),e=e._next}else r=0,nB(n,a=>{s=this._trackByFn(r,a),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,a,s,r),i=!0):(i&&(e=this._verifyReinsertion(e,a,s,r)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,r){let o;return n===null?o=this._itTail:(o=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,r)):(n=this._linkedRecords===null?null:this._linkedRecords.get(i,r),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,r)):n=this._addAfter(new Sy(e,i),o,r)),n}_verifyReinsertion(n,e,i,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return o!==null?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let r=n._prevRemoved,o=n._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){let r=e===null?this._itHead:e._next;return n._next=r,n._prev=e,r===null?this._itTail=n:r._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new qu),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,i=n._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new qu),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},Sy=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,e){this.item=n,this.trackById=e}},Iy=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){let e=n._prevDup,i=n._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null}},qu=class{map=new Map;put(n){let e=n.trackById,i=this.map.get(e);i||(i=new Iy,this.map.set(e,i)),i.add(n)}get(n,e){let i=n,r=this.map.get(i);return r?r.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};_f=(()=>{class t{factories;static \u0275prov=v({token:t,providedIn:"root",factory:rE});constructor(e){this.factories=e}static create(e,i){if(i!=null){let r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||rE()),deps:[[t,new vE,new Qu]]}}find(e){let i=this.factories.find(r=>r.supports(e));if(i!=null)return i;throw new w(901,!1)}}return t})();My=class{[Ut];constructor(n){this[Ut]=n}destroy(){this[Ut].destroy()}};fI=ie(_({},Zo),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:yl,run(){if(this.dirty=!1,this.hasRun&&!xd(this))return;this.hasRun=!0;let t=i=>(this.cleanupFns??=[]).push(i),n=qa(this),e=Au(!1);try{this.maybeCleanup(),this.fn(t)}finally{Au(e),Cd(this,n)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),p2=ie(_({},fI),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Ka(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),m2=ie(_({},fI),{consumerMarkedDirty(){this.view[J]|=8192,ks(this.view),this.notifier.notify(13)},destroy(){Ka(this),this.onDestroyFn(),this.maybeCleanup(),this.view[ro]?.delete(this)}});});function b2(t){return t.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}function _2(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}function C2(t,n){if(!Fv){let e=Element.prototype;Fv=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?Fv.call(t,n):!1}function x2(t){let n={};return t.forEach(({propName:e,templateName:i,transform:r})=>{n[b2(i)]=[e,r]}),n}function w2(t,n){return n.get(go).resolveComponentFactory(t).inputs}function E2(t,n){let e=t.childNodes,i=n.map(()=>[]),r=-1;n.some((o,s)=>o==="*"?(r=s,!0):!1);for(let o=0,s=e.length;o<s;++o){let a=e[o],l=D2(a,n,r);l!==-1&&i[l].push(a)}return i}function D2(t,n,e){let i=e;return _2(t)&&n.some((r,o)=>r!=="*"&&C2(t,r)?(i=o,!0):!1),i}function Vv(t,n){let e=w2(t,n.injector),i=n.strategyFactory||new Lv(t,n.injector),r=x2(e);class o extends jv{injector;static observedAttributes=Object.keys(r);get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=i.create(this.injector||n.injector);e.forEach(({propName:l,transform:c})=>{if(!this.hasOwnProperty(l))return;let d=this[l];delete this[l],a.setInputValue(l,d,c)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,c,d){let[h,m]=r[a];this.ngElementStrategy.setInputValue(h,c,m)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{let l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return e.forEach(({propName:s,transform:a})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),o}var v2,Fv,S2,Lv,Pv,jv,pI=f(()=>{"use strict";b();Se();Qe();v2={schedule(t,n){let e=setTimeout(t,n);return()=>clearTimeout(e)}};S2=10,Lv=class{componentFactory;inputMap=new Map;constructor(n,e){this.componentFactory=e.get(go).resolveComponentFactory(n);for(let i of this.componentFactory.inputs)this.inputMap.set(i.propName,i.templateName)}create(n){return new Pv(this.componentFactory,n,this.inputMap)}},Pv=class{componentFactory;injector;inputMap;eventEmitters=new qr(1);events=this.eventEmitters.pipe(We(n=>Et(...n)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(n,e,i){this.componentFactory=n,this.injector=e,this.inputMap=i,this.ngZone=this.injector.get(L),this.appRef=this.injector.get(qt),this.cdScheduler=e.get(vi),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=v2.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},S2))})}getInputValue(n){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,e){if(this.componentRef===null){this.initialInputValues.set(n,e);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(n)??n,e),pS(this.componentRef.hostView)&&(mS(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(n){let e=he.create({providers:[],parent:this.injector}),i=E2(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,i,n),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[n,e]of this.initialInputValues)this.setInputValue(n,e);this.initialInputValues.clear()}initializeOutputs(n){let e=this.componentFactory.outputs.map(({propName:i,templateName:r})=>{let o=n.instance[i];return new Z(s=>{let a=o.subscribe(l=>s.next({name:r,value:l}));return()=>a.unsubscribe()})});this.eventEmitters.next(e)}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}},jv=class extends HTMLElement{ngElementEventsSubscription=null}});var H,xf=f(()=>{"use strict";b();H=new C("")});function Cn(){return yI}function Bv(t){yI??=t}function wf(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function mI(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function Nn(t){return t&&t[0]!=="?"?`?${t}`:t}function I2(){return new ei(D(Fn))}function M2(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function gI(t){return t.replace(/\/index.html$/,"")}function T2(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var yI,Nl,Fl,Uv,vI,Fn,Ef,Df,ei,Hv=f(()=>{"use strict";b();b();Se();xf();yI=null;Nl=class{},Fl=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:()=>u(vI),providedIn:"platform"})}return t})(),Uv=new C(""),vI=(()=>{class t extends Fl{_location;_history;_doc=u(H);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Cn().getBaseHref(this._doc)}onPopState(e){let i=Cn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){let i=Cn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,r){this._history.pushState(e,i,r)}replaceState(e,i,r){this._history.replaceState(e,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:()=>new t,providedIn:"platform"})}return t})();Fn=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:()=>u(Df),providedIn:"root"})}return t})(),Ef=new C(""),Df=(()=>{class t extends Fn{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??u(H).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return wf(this._baseHref,e)}path(e=!1){let i=this._platformLocation.pathname+Nn(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+Nn(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+Nn(o));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||t)(D(Fl),D(Ef,8))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ei=(()=>{class t{_subject=new T;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let i=this._locationStrategy.getBaseHref();this._basePath=T2(mI(gI(i))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Nn(i))}normalize(e){return t.stripTrailingSlash(M2(this._basePath,gI(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Nn(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Nn(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i??void 0,complete:r??void 0})}static normalizeQueryParams=Nn;static joinWithSlash=wf;static stripTrailingSlash=mI;static \u0275fac=function(i){return new(i||t)(D(Fn))};static \u0275prov=v({token:t,factory:()=>I2(),providedIn:"root"})}return t})()});function _I(t,n){t.context.$implicit=n.item}function CI(t,n){if(t&&!t.createEmbeddedView)throw new w(2020,!1)}function R2(t,n){return new w(2100,!1)}var $v,zv,bI,Oi,Sf,Gs,ki,If,Ll,Gv,Jt,xI=f(()=>{"use strict";b();b();Hv();$v=(()=>{class t extends Fn{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(e){let i=wf(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+Nn(o))||this._platformLocation.pathname;this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+Nn(o))||this._platformLocation.pathname;this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||t)(D(Fl),D(Ef,8))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),zv=/\s+/,bI=[],Oi=(()=>{class t{_ngEl;_renderer;initialClasses=bI;rawClass;stateMap=new Map;constructor(e,i){this._ngEl=e,this._renderer=i}set klass(e){this.initialClasses=e!=null?e.trim().split(zv):bI}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(zv):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){let r=this.stateMap.get(e);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(zv).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||t)(A(B),A(ut))};static \u0275dir=P({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})(),Sf=class{$implicit;ngForOf;index;count;constructor(n,e,i,r){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Gs=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let i=this._viewContainer;e.forEachOperation((r,o,s)=>{if(r.previousIndex==null)i.createEmbeddedView(this._template,new Sf(r.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)i.remove(o===null?void 0:o);else if(o!==null){let a=i.get(o);i.move(a,s),_I(a,r)}});for(let r=0,o=i.length;r<o;r++){let a=i.get(r).context;a.index=r,a.count=o,a.ngForOf=this._ngForOf}e.forEachIdentityChange(r=>{let o=i.get(r.currentIndex);_I(o,r)})}static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||t)(A(Mt),A(an),A(_f))};static \u0275dir=P({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();ki=(()=>{class t{_viewContainer;_context=new If;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,i){this._viewContainer=e,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){CI(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){CI(e,!1),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||t)(A(Mt),A(an))};static \u0275dir=P({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),If=class{$implicit=null;ngIf=null};Ll=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(e,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||t)(A(Mt))};static \u0275dir=P({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ve]})}return t})();Gv=(()=>{class t{transform(e){if(e==null)return null;if(typeof e!="string")throw R2(t,e);return e.toUpperCase()}static \u0275fac=function(i){return new(i||t)};static \u0275pipe=Bs({name:"uppercase",type:t,pure:!0})}return t})(),Jt=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({})}return t})()});function Pl(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[r,o]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}function ti(t){return t===Mf}function Ni(t){return t===wI}var Mf,wI,bo,Tf=f(()=>{"use strict";Mf="browser",wI="server";bo=class{}});function O2(t,n){let e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;for(;r;){let o=r.shadowRoot;if(o){let s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}r=i.nextNode()}}return null}var DI,Wv,pe=f(()=>{"use strict";xI();b();Tf();Tf();xf();Hv();DI=(()=>{class t{static \u0275prov=v({token:t,providedIn:"root",factory:()=>new Wv(u(H),window)})}return t})(),Wv=class{document;window;offset=()=>[0,0];constructor(n,e){this.document=n,this.window=e}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){let e=O2(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){let e=n.getBoundingClientRect(),i=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}}});function SI(t){for(let n of t)n.remove()}function II(t,n){let e=n.createElement("style");return e.textContent=t,e}function k2(t,n,e,i){let r=t.head?.querySelectorAll(`style[${Af}="${n}"],link[${Af}="${n}"]`);if(r)for(let o of r)o.removeAttribute(Af),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function Kv(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}function j2(t){return F2.replace(Xv,t)}function V2(t){return N2.replace(Xv,t)}function AI(t,n){return n.map(e=>e.replace(Xv,t))}function MI(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Of,Qv,jl,Af,Zv,qv,Xv,TI,N2,F2,L2,P2,Ul,Vl,Yv,Bl,Rf,Jv=f(()=>{"use strict";pe();b();b();Of=new C(""),Qv=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,i){this._zone=i,e.forEach(r=>{r.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,r,o){return this._findPluginFor(i).addEventListener(e,i,r,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(o=>o.supports(e)),!i)throw new w(5101,!1);return this._eventNameToPlugin.set(e,i),i}static \u0275fac=function(i){return new(i||t)(D(Of),D(L))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),jl=class{_doc;constructor(n){this._doc=n}manager},Af="ng-app-id";Zv=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,i,r,o={}){this.doc=e,this.appId=i,this.nonce=r,this.isServer=Ni(o),k2(e,i,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,i){for(let r of e)this.addUsage(r,this.inline,II);i?.forEach(r=>this.addUsage(r,this.external,Kv))}removeStyles(e,i){for(let r of e)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,i,r){let o=i.get(e);o?o.usage++:i.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,r(e,this.doc)))})}removeUsage(e,i){let r=i.get(e);r&&(r.usage--,r.usage<=0&&(SI(r.elements),i.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])SI(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(e,II(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(e,Kv(i,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,i){return this.nonce&&i.setAttribute("nonce",this.nonce),this.isServer&&i.setAttribute(Af,this.appId),e.appendChild(i)}static \u0275fac=function(i){return new(i||t)(D(H),D(po),D(mo,8),D(Qt))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),qv={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"},Xv=/%COMP%/g,TI="%COMP%",N2=`_nghost-${TI}`,F2=`_ngcontent-${TI}`,L2=!0,P2=new C("",{providedIn:"root",factory:()=>L2});Ul=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,i,r,o,s,a,l,c=null,d=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.tracingService=d,this.platformIsServer=Ni(a),this.defaultRenderer=new Vl(e,s,l,this.platformIsServer,this.tracingService)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Zn.ShadowDom&&(i=ie(_({},i),{encapsulation:Zn.Emulated}));let r=this.getOrCreateRenderer(e,i);return r instanceof Rf?r.applyToHost(e):r instanceof Bl&&r.applyStyles(),r}getOrCreateRenderer(e,i){let r=this.rendererByCompId,o=r.get(i.id);if(!o){let s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer,m=this.tracingService;switch(i.encapsulation){case Zn.Emulated:o=new Rf(l,c,i,this.appId,d,s,a,h,m);break;case Zn.ShadowDom:return new Yv(l,c,e,i,s,a,this.nonce,h,m);default:o=new Bl(l,c,i,d,s,a,h,m);break}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(i){return new(i||t)(D(Qv),D(Zv),D(po),D(P2),D(H),D(Qt),D(L),D(mo),D(js,8))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Vl=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,i,r,o){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(qv[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(MI(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(MI(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){e.remove()}selectRootElement(n,e){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new w(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,r){if(r){e=r+":"+e;let o=qv[r];o?n.setAttributeNS(o,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let r=qv[i];r?n.removeAttributeNS(r,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,r){r&(_i.DashCase|_i.Important)?n.style.setProperty(e,i,r&_i.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&_i.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n!=null&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i,r){if(typeof n=="string"&&(n=Cn().getGlobalEventTarget(this.doc,n),!n))throw new w(5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,e,o)),this.eventManager.addEventListener(n,e,o,r)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};Yv=class extends Vl{sharedStylesHost;hostEl;shadowRoot;constructor(n,e,i,r,o,s,a,l,c){super(n,o,s,l,c),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=r.styles;d=AI(r.id,d);for(let m of d){let p=document.createElement("style");a&&p.setAttribute("nonce",a),p.textContent=m,this.shadowRoot.appendChild(p)}let h=r.getExternalStyles?.();if(h)for(let m of h){let p=Kv(m,o);a&&p.setAttribute("nonce",a),this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Bl=class extends Vl{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,i,r,o,s,a,l,c){super(n,o,s,a,l),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let d=i.styles;this.styles=c?AI(c,d):d,this.styleUrls=i.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Rf=class extends Bl{contentAttr;hostAttr;constructor(n,e,i,r,o,s,a,l,c){let d=r+"-"+i.id;super(n,e,i,o,s,a,l,c,d),this.contentAttr=j2(d),this.hostAttr=V2(d)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}}});function B2(){return Hl=Hl||document.head.querySelector("base"),Hl?Hl.getAttribute("href"):null}function U2(t){return new URL(t,document.baseURI).pathname}function eb(t,n){return kv(_({rootComponent:t},NI(n)))}function tb(t){return kv(NI(t))}function NI(t){return{appProviders:[...Y2,...t?.providers??[]],platformProviders:K2}}function G2(){kf.makeCurrent()}function W2(){return new Lt}function q2(){return xD(document),document}var kf,Hl,H2,OI,RI,z2,$2,kI,K2,Y2,FI=f(()=>{"use strict";pe();b();b();Jv();kf=class t extends Nl{supportsDOMEvents=!0;static makeCurrent(){Bv(new t)}onAndCancel(n,e,i,r){return n.addEventListener(e,i,r),()=>{n.removeEventListener(e,i,r)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=B2();return e==null?null:U2(e)}resetBaseElement(){Hl=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Pl(document.cookie,n)}},Hl=null;H2=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),OI=(()=>{class t extends jl{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r,o){return e.addEventListener(i,r,o),()=>this.removeEventListener(e,i,r,o)}removeEventListener(e,i,r,o){return e.removeEventListener(i,r,o)}static \u0275fac=function(i){return new(i||t)(D(H))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),RI=["alt","control","meta","shift"],z2={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},$2={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},kI=(()=>{class t extends jl{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,r,o){let s=t.parseEventName(i),a=t.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Cn().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let i=e.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=t._normalizeKey(i.pop()),s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),RI.forEach(c=>{let d=i.indexOf(c);d>-1&&(i.splice(d,1),s+=c+".")}),s+=o,i.length!=0||o.length===0)return null;let l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let r=z2[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),RI.forEach(s=>{if(s!==r){let a=$2[s];a(e)&&(o+=s+".")}}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{t.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(i){return new(i||t)(D(H))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();K2=[{provide:Qt,useValue:Mf},{provide:ev,useValue:G2,multi:!0},{provide:H,useFactory:q2}],Y2=[{provide:Xu,useValue:"root"},{provide:Lt,useFactory:W2},{provide:Of,useClass:OI,multi:!0,deps:[H]},{provide:Of,useClass:kI,multi:!0,deps:[H]},Ul,Zv,Qv,{provide:dt,useExisting:Ul},{provide:bo,useClass:H2},[]]});function Q2(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[s,a]=o==-1?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}function LI(t){return encodeURIComponent(t).replace(Z2,(n,e)=>X2[e]??n)}function Nf(t){return`${t}`}function J2(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function PI(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function jI(t){return typeof Blob<"u"&&t instanceof Blob}function VI(t){return typeof FormData<"u"&&t instanceof FormData}function eU(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}function nb(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}function oU(t,n){return n(t)}function sU(t,n,e){return(i,r)=>Kt(e,()=>n(i,o=>t(o,r)))}function cU(t){return"responseURL"in t&&t.responseURL?t.responseURL:lU.test(t.getAllResponseHeaders())?t.getResponseHeader(HI):null}function mU(t,n){let e=t.url.toLowerCase();if(!u(qI)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return n(t);let i=u(Wl).getToken(),r=u(hU);return i!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,i)})),n(t)}function gU(t,n){return{\u0275kind:t,\u0275providers:n}}function sb(...t){let n=[Pi,ib,jf,{provide:Ks,useExisting:jf},{provide:zl,useFactory:()=>u(rU,{optional:!0})??u(ib)},{provide:rb,useValue:mU,multi:!0},{provide:qI,useValue:!0},{provide:Wl,useClass:pU}];for(let e of t)n.push(...e.\u0275providers);return wl(n)}function ab(t){return gU(ob.Interceptors,t.map(n=>({provide:rb,useValue:n,multi:!0})))}var Ks,zl,Li,Ff,Z2,X2,Fi,Lf,BI,UI,HI,zI,$I,tU,qs,_o,Ys,Pf,$l,Gl,nU,iU,Pi,rU,rb,GI,WI,jf,aU,lU,ib,qI,dU,uU,fU,hU,Wl,pU,ob,lb=f(()=>{"use strict";b();b();Qe();Se();Tf();xf();Ks=class{},zl=class{},Li=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
8
+ `).forEach(e=>{let i=e.indexOf(":");if(i>0){let r=e.slice(0,i),o=e.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,i)=>{this.addHeaderEntry(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(n.name,e);let r=(n.op==="a"?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":let o=n.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(n,e){let i=n.toLowerCase();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(e):this.headers.set(i,[e])}setHeaderEntries(n,e){let i=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}},Ff=class{encodeKey(n){return LI(n)}encodeValue(n){return LI(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};Z2=/%(\d[a-f0-9])/gi,X2={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};Fi=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Ff,n.fromString){if(n.fromObject)throw new w(2805,!1);this.map=Q2(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let i=n.fromObject[e],r=Array.isArray(i)?i.map(Nf):[Nf(i)];this.map.set(e,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(i=>{let r=n[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(Nf(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let i=this.map.get(n.param)||[],r=i.indexOf(Nf(n.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}},Lf=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};BI="Content-Type",UI="Accept",HI="X-Request-URL",zI="text/plain",$I="application/json",tU=`${$I}, ${zI}, */*`,qs=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(n,e,i,r){this.url=e,this.method=n.toUpperCase();let o;if(J2(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Li,this.context??=new Lf,!this.params)this.params=new Fi,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),l=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+l+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||PI(this.body)||jI(this.body)||VI(this.body)||eU(this.body)?this.body:this.body instanceof Fi?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||VI(this.body)?null:jI(this.body)?this.body.type||null:PI(this.body)?null:typeof this.body=="string"?zI:this.body instanceof Fi?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?$I:null}clone(n={}){let e=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,o=n.transferCache??this.transferCache,s=n.body!==void 0?n.body:this.body,a=n.withCredentials??this.withCredentials,l=n.reportProgress??this.reportProgress,c=n.headers||this.headers,d=n.params||this.params,h=n.context??this.context;return n.setHeaders!==void 0&&(c=Object.keys(n.setHeaders).reduce((m,p)=>m.set(p,n.setHeaders[p]),c)),n.setParams&&(d=Object.keys(n.setParams).reduce((m,p)=>m.set(p,n.setParams[p]),d)),new t(e,i,s,{params:d,headers:c,context:h,reportProgress:l,responseType:r,withCredentials:a,transferCache:o})}},_o=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(_o||{}),Ys=class{headers;status;statusText;url;ok;type;constructor(n,e=200,i="OK"){this.headers=n.headers||new Li,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},Pf=class t extends Ys{constructor(n={}){super(n)}type=_o.ResponseHeader;clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},$l=class t extends Ys{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=_o.Response;clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Gl=class extends Ys{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},nU=200,iU=204;Pi=(()=>{class t{handler;constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof qs)o=e;else{let l;r.headers instanceof Li?l=r.headers:l=new Li(r.headers);let c;r.params&&(r.params instanceof Fi?c=r.params:c=new Fi({fromObject:r.params})),o=new qs(e,i,r.body!==void 0?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}let s=k(o).pipe(yn(l=>this.handler.handle(l)));if(e instanceof qs||r.observe==="events")return s;let a=s.pipe(me(l=>l instanceof $l));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(j(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new w(2806,!1);return l.body}));case"blob":return a.pipe(j(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new w(2807,!1);return l.body}));case"text":return a.pipe(j(l=>{if(l.body!==null&&typeof l.body!="string")throw new w(2808,!1);return l.body}));case"json":default:return a.pipe(j(l=>l.body))}case"response":return a;default:throw new w(2809,!1)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new Fi().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,nb(r,i))}post(e,i,r={}){return this.request("POST",e,nb(r,i))}put(e,i,r={}){return this.request("PUT",e,nb(r,i))}static \u0275fac=function(i){return new(i||t)(D(Ks))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),rU=new C("");rb=new C(""),GI=new C(""),WI=new C("",{providedIn:"root",factory:()=>!0}),jf=(()=>{class t extends Ks{backend;injector;chain=null;pendingTasks=u(hr);contributeToStability=u(WI);constructor(e,i){super(),this.backend=e,this.injector=i}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(rb),...this.injector.get(GI,[])]));this.chain=i.reduceRight((r,o)=>sU(r,o,this.injector),oU)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe($t(()=>this.pendingTasks.remove(i)))}else return this.chain(e,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||t)(D(zl),D(et))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),aU=/^\)\]\}',?\n/,lU=RegExp(`^${HI}:`,"m");ib=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new w(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?Te(i.\u0275loadImpl()):k(null)).pipe(We(()=>new Z(o=>{let s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((y,I)=>s.setRequestHeader(y,I.join(","))),e.headers.has(UI)||s.setRequestHeader(UI,tU),!e.headers.has(BI)){let y=e.detectContentTypeHeader();y!==null&&s.setRequestHeader(BI,y)}if(e.responseType){let y=e.responseType.toLowerCase();s.responseType=y!=="json"?y:"text"}let a=e.serializeBody(),l=null,c=()=>{if(l!==null)return l;let y=s.statusText||"OK",I=new Li(s.getAllResponseHeaders()),R=cU(s)||e.url;return l=new Pf({headers:I,status:s.status,statusText:y,url:R}),l},d=()=>{let{headers:y,status:I,statusText:R,url:ne}=c(),ue=null;I!==iU&&(ue=typeof s.response>"u"?s.responseText:s.response),I===0&&(I=ue?nU:0);let tt=I>=200&&I<300;if(e.responseType==="json"&&typeof ue=="string"){let nr=ue;ue=ue.replace(aU,"");try{ue=ue!==""?JSON.parse(ue):null}catch(mn){ue=nr,tt&&(tt=!1,ue={error:mn,text:ue})}}tt?(o.next(new $l({body:ue,headers:y,status:I,statusText:R,url:ne||void 0})),o.complete()):o.error(new Gl({error:ue,headers:y,status:I,statusText:R,url:ne||void 0}))},h=y=>{let{url:I}=c(),R=new Gl({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:I||void 0});o.error(R)},m=!1,p=y=>{m||(o.next(c()),m=!0);let I={type:_o.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(I.total=y.total),e.responseType==="text"&&s.responseText&&(I.partialText=s.responseText),o.next(I)},g=y=>{let I={type:_o.UploadProgress,loaded:y.loaded};y.lengthComputable&&(I.total=y.total),o.next(I)};return s.addEventListener("load",d),s.addEventListener("error",h),s.addEventListener("timeout",h),s.addEventListener("abort",h),e.reportProgress&&(s.addEventListener("progress",p),a!==null&&s.upload&&s.upload.addEventListener("progress",g)),s.send(a),o.next({type:_o.Sent}),()=>{s.removeEventListener("error",h),s.removeEventListener("abort",h),s.removeEventListener("load",d),s.removeEventListener("timeout",h),e.reportProgress&&(s.removeEventListener("progress",p),a!==null&&s.upload&&s.upload.removeEventListener("progress",g)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(i){return new(i||t)(D(bo))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),qI=new C(""),dU="XSRF-TOKEN",uU=new C("",{providedIn:"root",factory:()=>dU}),fU="X-XSRF-TOKEN",hU=new C("",{providedIn:"root",factory:()=>fU}),Wl=class{},pU=(()=>{class t{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,i){this.doc=e,this.cookieName=i}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Pl(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(i){return new(i||t)(D(H),D(uU))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();ob=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(ob||{})});var ql=f(()=>{"use strict";lb();lb();});var KI,Kl,vU,Yl=f(()=>{"use strict";FI();pe();b();b();KI=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(i){return new(i||t)(D(H))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Kl=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=D(vU),r},providedIn:"root"})}return t})(),vU=(()=>{class t extends Kl{_doc;constructor(e){super(),this._doc=e}sanitize(e,i){if(i==null)return null;switch(e){case bt.NONE:return i;case bt.HTML:return Ii(i,"HTML")?bn(i):rv(this._doc,String(i)).toString();case bt.STYLE:return Ii(i,"Style")?bn(i):i;case bt.SCRIPT:if(Ii(i,"Script"))return bn(i);throw new w(5200,!1);case bt.URL:return Ii(i,"URL")?bn(i):cf(String(i));case bt.RESOURCE_URL:if(Ii(i,"ResourceURL"))return bn(i);throw new w(5201,!1);default:throw new w(5202,!1)}}bypassSecurityTrustHtml(e){return AD(e)}bypassSecurityTrustStyle(e){return RD(e)}bypassSecurityTrustScript(e){return OD(e)}bypassSecurityTrustUrl(e){return kD(e)}bypassSecurityTrustResourceUrl(e){return ND(e)}static \u0275fac=function(i){return new(i||t)(D(H))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});function Vf(t,n){if(t===n)return!0;if(t===null||n===null)return!1;if(t!==t&&n!==n)return!0;let e=typeof t,i=typeof n,r;if(e==i&&e=="object")if(Array.isArray(t)){if(!Array.isArray(n))return!1;if((r=t.length)==n.length){for(let o=0;o<r;o++)if(!Vf(t[o],n[o]))return!1;return!0}}else{if(Array.isArray(n))return!1;if(ji(t)&&ji(n)){let o=Object.create(null);for(let s in t){if(!Vf(t[s],n[s]))return!1;o[s]=!0}for(let s in n)if(!(s in o)&&typeof n[s]<"u")return!1;return!0}}return!1}function gr(t){return typeof t<"u"&&t!==null}function YI(t){return t!==void 0}function ji(t){return Zl(t)&&!Co(t)&&t!==null}function Zl(t){return typeof t=="object"&&t!==null}function Co(t){return Array.isArray(t)}function Bf(t){return typeof t=="string"}function xU(t){return typeof t=="function"}function Uf(t){if(Co(t))return t.map(n=>Uf(n));if(ji(t)){let n={};return Object.keys(t).forEach(e=>{n[e]=Uf(t[e])}),n}else return t}function fb(t,n){if(!Zl(t))return Uf(n);let e=Uf(t);return Zl(e)&&Zl(n)&&Object.keys(n).forEach(i=>{ji(n[i])?i in t?e[i]=fb(t[i],n[i]):Object.assign(e,{[i]:n[i]}):Object.assign(e,{[i]:n[i]})}),e}function ZI(t,n){let e=n.split(".");n="";do{n+=e.shift();let i=!e.length;if(gr(t)){if(ji(t)&&YI(t[n])&&(ji(t[n])||Co(t[n])||i)){t=t[n],n="";continue}if(Co(t)){let r=parseInt(n,10);if(YI(t[r])&&(ji(t[r])||Co(t[r])||i)){t=t[r],n="";continue}}}if(i){t=void 0;continue}n+="."}while(e.length);return t}function wU(t,n,e){return fb(t,EU(n,e))}function EU(t,n){return t.split(".").reduceRight((e,i)=>({[i]:e}),n)}function SU(t){return{provide:Zs,useClass:t}}function IU(t){return{provide:Qs,useClass:t}}function MU(t){return{provide:Xs,useClass:t}}function TU(t){return{provide:Xl,useClass:t}}function QI(t={},n){let e=[];t.loader&&e.push(t.loader),t.compiler&&e.push(t.compiler),t.parser&&e.push(t.parser),t.missingTranslationHandler&&e.push(t.missingTranslationHandler),n&&e.push(db),(t.useDefaultLang||t.defaultLanguage)&&(console.warn("The `useDefaultLang` and `defaultLanguage` options are deprecated. Please use `fallbackLang` instead."),t.useDefaultLang===!0&&t.defaultLanguage&&(t.fallbackLang=t.defaultLanguage));let i={fallbackLang:t.fallbackLang??null,lang:t.lang,extend:t.extend??!1};return e.push({provide:ub,useValue:i}),e.push({provide:Vi,useClass:Vi,deps:[db,Zs,Qs,Xs,Xl,ub]}),e}var Xl,bU,Qs,_U,Zs,CU,Xs,DU,db,ub,Ql,Vi,pt,ni,mt=f(()=>{"use strict";b();b();Se();Qe();Xl=class{},bU=(()=>{class t{handle(e){return e.key}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Qs=class{},_U=(()=>{class t extends Qs{compile(e,i){return e}compileTranslations(e,i){return e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Zs=class{},CU=(()=>{class t extends Zs{getTranslation(e){return k({})}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();Xs=class{},DU=(()=>{class t extends Xs{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,i){if(Bf(e))return this.interpolateString(e,i);if(xU(e))return this.interpolateFunction(e,i)}interpolateFunction(e,i){return e(i)}interpolateString(e,i){return i?e.replace(this.templateMatcher,(r,o)=>{let s=this.getInterpolationReplacement(i,o);return s!==void 0?s:r}):e}getInterpolationReplacement(e,i){return this.formatValue(ZI(e,i))}formatValue(e){if(Bf(e))return e;if(typeof e=="number"||typeof e=="boolean")return e.toString();if(e===null)return"null";if(Co(e))return e.join(", ");if(Zl(e))return typeof e.toString=="function"&&e.toString!==Object.prototype.toString?e.toString():JSON.stringify(e)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),db=(()=>{class t{_onTranslationChange=new T;_onLangChange=new T;_onFallbackLangChange=new T;fallbackLang=null;currentLang;translations={};languages=[];getTranslations(e){return this.translations[e]}setTranslations(e,i,r){this.translations[e]=r&&this.hasTranslationFor(e)?fb(this.translations[e],i):i,this.addLanguages([e]),this._onTranslationChange.next({lang:e,translations:this.getTranslations(e)})}getLanguages(){return this.languages}getCurrentLang(){return this.currentLang}getFallbackLang(){return this.fallbackLang}setFallbackLang(e,i=!0){this.fallbackLang=e,i&&this._onFallbackLangChange.next({lang:e,translations:this.translations[e]})}setCurrentLang(e,i=!0){this.currentLang=e,i&&this._onLangChange.next({lang:e,translations:this.translations[e]})}get onTranslationChange(){return this._onTranslationChange.asObservable()}get onLangChange(){return this._onLangChange.asObservable()}get onFallbackLangChange(){return this._onFallbackLangChange.asObservable()}addLanguages(e){this.languages=Array.from(new Set([...this.languages,...e]))}hasTranslationFor(e){return typeof this.translations[e]<"u"}deleteTranslations(e){delete this.translations[e]}getTranslation(e){let i=this.getValue(this.currentLang,e);return i===void 0&&this.fallbackLang!=null&&this.fallbackLang!==this.currentLang&&(i=this.getValue(this.fallbackLang,e)),i}getValue(e,i){return ZI(this.getTranslations(e),i)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),ub=new C("TRANSLATE_CONFIG"),Ql=t=>Mn(t)?t:k(t),Vi=(()=>{class t{loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;currentLoader=u(Zs);compiler=u(Qs);parser=u(Xs);missingTranslationHandler=u(Xl);store=u(db);extend=!1;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onFallbackLangChange(){return this.store.onFallbackLangChange}get onDefaultLangChange(){return this.store.onFallbackLangChange}constructor(){let e=_({extend:!1,fallbackLang:null},u(ub,{optional:!0}));e.lang&&this.use(e.lang),e.fallbackLang&&this.setFallbackLang(e.fallbackLang),e.extend&&(this.extend=!0)}setFallbackLang(e){this.getFallbackLang()||this.store.setFallbackLang(e,!1);let i=this.loadOrExtendLanguage(e);return Mn(i)?(i.pipe(Pe(1)).subscribe({next:()=>{this.store.setFallbackLang(e)},error:()=>{}}),i):(this.store.setFallbackLang(e),k(this.store.getTranslations(e)))}use(e){this.lastUseLanguage=e,this.getCurrentLang()||this.store.setCurrentLang(e,!1);let i=this.loadOrExtendLanguage(e);return Mn(i)?(i.pipe(Pe(1)).subscribe({next:()=>{this.changeLang(e)},error:()=>{}}),i):(this.changeLang(e),k(this.store.getTranslations(e)))}loadOrExtendLanguage(e){if(!this.store.hasTranslationFor(e)||this.extend)return this._translationRequests[e]=this._translationRequests[e]||this.loadAndCompileTranslations(e),this._translationRequests[e]}changeLang(e){e===this.lastUseLanguage&&this.store.setCurrentLang(e)}getCurrentLang(){return this.store.getCurrentLang()}loadAndCompileTranslations(e){this.pending=!0;let i=this.currentLoader.getTranslation(e).pipe(Xr(1),Pe(1));return this.loadingTranslations=i.pipe(j(r=>this.compiler.compileTranslations(r,e)),Xr(1),Pe(1)),this.loadingTranslations.subscribe({next:r=>{this.store.setTranslations(e,r,this.extend),this.pending=!1},error:r=>{this.pending=!1}}),i}setTranslation(e,i,r=!1){let o=this.compiler.compileTranslations(i,e);this.store.setTranslations(e,o,r||this.extend)}getLangs(){return this.store.getLanguages()}addLangs(e){this.store.addLanguages(e)}getParsedResultForKey(e,i){let r=this.getTextToInterpolate(e);if(gr(r))return this.runInterpolation(r,i);let o=this.missingTranslationHandler.handle(_({key:e,translateService:this},i!==void 0&&{interpolateParams:i}));return o!==void 0?o:e}getFallbackLang(){return this.store.getFallbackLang()}getTextToInterpolate(e){return this.store.getTranslation(e)}runInterpolation(e,i){if(gr(e))return Co(e)?this.runInterpolationOnArray(e,i):ji(e)?this.runInterpolationOnDict(e,i):this.parser.interpolate(e,i)}runInterpolationOnArray(e,i){return e.map(r=>this.runInterpolation(r,i))}runInterpolationOnDict(e,i){let r={};for(let o in e){let s=this.runInterpolation(e[o],i);s!==void 0&&(r[o]=s)}return r}getParsedResult(e,i){return e instanceof Array?this.getParsedResultForArray(e,i):this.getParsedResultForKey(e,i)}getParsedResultForArray(e,i){let r={},o=!1;for(let a of e)r[a]=this.getParsedResultForKey(a,i),o=o||Mn(r[a]);if(!o)return r;let s=e.map(a=>Ql(r[a]));return Zr(s).pipe(j(a=>{let l={};return a.forEach((c,d)=>{l[e[d]]=c}),l}))}get(e,i){if(!gr(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(yn(()=>Ql(this.getParsedResult(e,i)))):Ql(this.getParsedResult(e,i))}getStreamOnTranslationChange(e,i){if(!gr(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return Tn(on(()=>this.get(e,i)),this.onTranslationChange.pipe(We(()=>{let r=this.getParsedResult(e,i);return Ql(r)})))}stream(e,i){if(!gr(e)||!e.length)throw new Error('Parameter "key" required');return Tn(on(()=>this.get(e,i)),this.onLangChange.pipe(We(()=>{let r=this.getParsedResult(e,i);return Ql(r)})))}instant(e,i){if(!gr(e)||e.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(e,i);return Mn(r)?Array.isArray(e)?e.reduce((o,s)=>(o[s]=s,o),{}):e:r}set(e,i,r=this.getCurrentLang()){this.store.setTranslations(r,wU(this.store.getTranslations(r),e,Bf(i)?this.compiler.compile(i,r):this.compiler.compileTranslations(i,r)),!1)}reloadLang(e){return this.resetLang(e),this.loadAndCompileTranslations(e)}resetLang(e){delete this._translationRequests[e],this.store.deleteTranslations(e)}static getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let e=this.getBrowserCultureLang();return e?e.split(/[-_]/)[0]:void 0}static getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}getBrowserLang(){return t.getBrowserLang()}getBrowserCultureLang(){return t.getBrowserCultureLang()}get defaultLang(){return this.getFallbackLang()}get currentLang(){return this.store.getCurrentLang()}get langs(){return this.store.getLanguages()}setDefaultLang(e){return this.setFallbackLang(e)}getDefaultLang(){return this.getFallbackLang()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),pt=(()=>{class t{translate=u(Vi);_ref=u(at);value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onFallbackLangChange;updateValue(e,i,r){let o=s=>{this.value=s!==void 0?s:e,this.lastKey=e,this._ref.markForCheck()};if(r){let s=this.translate.getParsedResult(e,i);Mn(s)?s.subscribe(o):o(s)}this.translate.get(e,i).subscribe(o)}transform(e,...i){if(!e||!e.length)return e;if(Vf(e,this.lastKey)&&Vf(i,this.lastParams))return this.value;let r;if(gr(i[0])&&i.length)if(Bf(i[0])&&i[0].length){let o=i[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(o)}catch(s){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else ji(i[0])&&(r=i[0]);return this.lastKey=e,this.lastParams=i,this.updateValue(e,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{(this.lastKey&&o.lang===this.translate.getCurrentLang()||o.lang===this.translate.getFallbackLang())&&(this.lastKey=null,this.updateValue(e,r,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r,o.translations))})),this.onFallbackLangChange||(this.onFallbackLangChange=this.translate.onFallbackLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onFallbackLangChange<"u"&&(this.onFallbackLangChange.unsubscribe(),this.onFallbackLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(i){return new(i||t)};static \u0275pipe=Bs({name:"translate",type:t,pure:!1});static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();ni=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[...QI(_({compiler:IU(_U),parser:MU(DU),loader:SU(CU),missingTranslationHandler:TU(bU)},e),!0)]}}static forChild(e={}){return{ngModule:t,providers:[...QI(e,e.isolate??!1)]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({})}return t})()});var Js,Hf=f(()=>{"use strict";b();Js=new C("web-component-auth")});var zf,hb=f(()=>{"use strict";b();mt();Hf();b();zf=(()=>{class t{#e;#t;#n;#r;#i;get uiLanguage(){return this.#i}set uiLanguage(e){e!==this.#i&&(this.#i=e,this.#i=e,this.#c())}constructor(e){this.#e="lang",this.#t=u(Vi),this.#n=u(Js),this.setLanguageFromBrowser=!1,this.defaultLanguage="en",this.#r=e}ngOnInit(){this.#s(),this.#l(this.#r),this.#o()}ngOnChanges(){this.#s(),this.#o()}ensureTypeBool(e){return e===!0||e==="true"}#l(e){for(let i in e)e[i]&&this.#t.setTranslation(i,e[i],!0)}#o(){this.#t.setDefaultLang(this.defaultLanguage),this.setLanguageFromBrowser&&this.#d(),this.uiLanguage||(this.uiLanguage=this.defaultLanguage),this.#t.use(this.uiLanguage)}#s(){this.xApiKey&&(this.#n.xApiKey=this.xApiKey),this.skipAuthUrls&&(this.#n.skipAuthUrls=typeof this.skipAuthUrls=="string"?JSON.parse(this.skipAuthUrls):this.skipAuthUrls)}#c(){this.#t.use(this.uiLanguage)}#d(){let e=this.#a();!this.uiLanguage&&e!==this.defaultLanguage&&(this.uiLanguage=e);let i=a=>{for(let l of a)if(l.type==="attributes"&&l.attributeName===this.#e){let c=this.#a();this.uiLanguage=c}},r=new MutationObserver(i),o=document.querySelector("html"),s={attributes:!0,attributeFilter:[this.#e]};r.observe(o,s)}#a(){return document.querySelector("html").getAttribute(this.#e).split("-")[0]}static{this.\u0275fac=function(i){gf()}}static{this.\u0275dir=P({type:t,inputs:{setLanguageFromBrowser:"setLanguageFromBrowser",defaultLanguage:"defaultLanguage",skipAuthUrls:"skipAuthUrls",uiLanguage:"uiLanguage",xApiKey:"xApiKey"},features:[Ve]})}}return t})()});function OU(){let t=Cn()?Cn().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}function yb(t){return t==null||vb(t)===0}function vb(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}function FU(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e<t?{min:{min:t,actual:n.value}}:null}}function LU(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}function PU(t){return yb(t.value)?{required:!0}:null}function jU(t){return t.value===!0?null:{required:!0}}function VU(t){return yb(t.value)||NU.test(t.value)?null:{email:!0}}function BU(t){return n=>{let e=n.value?.length??vb(n.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null}}function UU(t){return n=>{let e=n.value?.length??vb(n.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function HU(t){if(!t)return oM;let n,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(yb(i.value))return null;let r=i.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function oM(t){return null}function sM(t){return t!=null}function aM(t){return yo(t)?Te(t):t}function lM(t){let n={};return t.forEach(e=>{n=e!=null?_(_({},n),e):n}),Object.keys(n).length===0?null:n}function cM(t,n){return n.map(e=>e(t))}function zU(t){return!t.validate}function dM(t){return t.map(n=>zU(n)?n:e=>n.validate(e))}function uM(t){if(!t)return null;let n=t.filter(sM);return n.length==0?null:function(e){return lM(cM(e,n))}}function bb(t){return t!=null?uM(dM(t)):null}function fM(t){if(!t)return null;let n=t.filter(sM);return n.length==0?null:function(e){let i=cM(e,n).map(aM);return Zr(i).pipe(j(lM))}}function _b(t){return t!=null?fM(dM(t)):null}function XI(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function hM(t){return t._rawValidators}function pM(t){return t._rawAsyncValidators}function pb(t){return t?Array.isArray(t)?t:[t]:[]}function Wf(t,n){return Array.isArray(t)?t.includes(n):t===n}function JI(t,n){let e=pb(n);return pb(t).forEach(r=>{Wf(e,r)||e.push(r)}),e}function eM(t,n){return pb(n).filter(e=>!Wf(t,e))}function mM(t){return(rh(t)?t.validators:t)||null}function GU(t){return Array.isArray(t)?bb(t):t||null}function gM(t,n){return(rh(n)?n.asyncValidators:t)||null}function WU(t){return Array.isArray(t)?_b(t):t||null}function rh(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function qU(t,n,e){let i=t.controls;if(!(n?Object.keys(i):i).length)throw new w(1e3,"");if(!i[e])throw new w(1001,"")}function KU(t,n,e){t._forEachChild((i,r)=>{if(e[r]===void 0)throw new w(1002,"")})}function YU(t,n){return[...n.path,t]}function rc(t,n,e=oh){Cb(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),ZU(t,n),JU(t,n),XU(t,n),QU(t,n)}function Jf(t,n,e=!0){let i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),th(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function eh(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function QU(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function Cb(t,n){let e=hM(t);n.validator!==null?t.setValidators(XI(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=pM(t);n.asyncValidator!==null?t.setAsyncValidators(XI(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();eh(n._rawValidators,r),eh(n._rawAsyncValidators,r)}function th(t,n){let e=!1;if(t!==null){if(n.validator!==null){let r=hM(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==n.validator);o.length!==r.length&&(e=!0,t.setValidators(o))}}if(n.asyncValidator!==null){let r=pM(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==n.asyncValidator);o.length!==r.length&&(e=!0,t.setAsyncValidators(o))}}}let i=()=>{};return eh(n._rawValidators,i),eh(n._rawAsyncValidators,i),e}function ZU(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&yM(t,n)})}function XU(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&yM(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function yM(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function JU(t,n){let e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function vM(t,n){t==null,Cb(t,n)}function eH(t,n){return th(t,n)}function bM(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function tH(t){return Object.getPrototypeOf(t.constructor)===AU}function _M(t,n){t._syncPendingControls(),n.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function CM(t,n){if(!n)return null;Array.isArray(n);let e,i,r;return n.forEach(o=>{o.constructor===na?e=o:tH(o)?i=o:r=o}),r||i||e||null}function nH(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function tM(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function nM(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var rM,AU,gb,RU,kU,na,nh,ih,NU,Gf,qf,xo,Bi,mb,$U,OJ,ia,Jl,$f,ea,ec,yr,Kf,nc,ic,ta,Yf,Qf,Zf,Xf,ra,oh,iH,tc,xb,oc,rH,oH,iM,sc,xM,sH,wb,aH,Eb,wM,sh,EM,vr=f(()=>{"use strict";b();b();pe();Se();Qe();rM=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,i){this._renderer=e,this._elementRef=i}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(i){return new(i||t)(A(ut),A(B))};static \u0275dir=P({type:t})}return t})(),AU=(()=>{class t extends rM{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})();static \u0275dir=P({type:t,features:[ge]})}return t})(),gb=new C(""),RU={provide:gb,useExisting:wi(()=>na),multi:!0};kU=new C(""),na=(()=>{class t extends rM{_compositionMode;_composing=!1;constructor(e,i,r){super(e,i),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!OU())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(i){return new(i||t)(A(ut),A(B),A(kU,8))};static \u0275dir=P({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){i&1&&ee("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},standalone:!1,features:[Tt([RU]),ge]})}return t})();nh=new C(""),ih=new C(""),NU=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Gf=class{static min(n){return FU(n)}static max(n){return LU(n)}static required(n){return PU(n)}static requiredTrue(n){return jU(n)}static email(n){return VU(n)}static minLength(n){return BU(n)}static maxLength(n){return UU(n)}static pattern(n){return HU(n)}static nullValidator(n){return oM()}static compose(n){return uM(n)}static composeAsync(n){return fM(n)}};qf=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=bb(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=_b(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},xo=class extends qf{name;get formDirective(){return null}get path(){return null}},Bi=class extends qf{_parent=null;name=null;valueAccessor=null},mb=class{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},$U={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},OJ=ie(_({},$U),{"[class.ng-submitted]":"isSubmitted"}),ia=(()=>{class t extends mb{constructor(e){super(e)}static \u0275fac=function(i){return new(i||t)(A(Bi,2))};static \u0275dir=P({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&Q("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[ge]})}return t})(),Jl="VALID",$f="INVALID",ea="PENDING",ec="DISABLED",yr=class{},Kf=class extends yr{value;source;constructor(n,e){super(),this.value=n,this.source=e}},nc=class extends yr{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},ic=class extends yr{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},ta=class extends yr{status;source;constructor(n,e){super(),this.status=n,this.source=e}},Yf=class extends yr{source;constructor(n){super(),this.source=n}},Qf=class extends yr{source;constructor(n){super(),this.source=n}};Zf=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,e){this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return _n(this.statusReactive)}set status(n){_n(()=>this.statusReactive.set(n))}_status=Ri(()=>this.statusReactive());statusReactive=cn(void 0);get valid(){return this.status===Jl}get invalid(){return this.status===$f}get pending(){return this.status==ea}get disabled(){return this.status===ec}get enabled(){return this.status!==ec}errors;get pristine(){return _n(this.pristineReactive)}set pristine(n){_n(()=>this.pristineReactive.set(n))}_pristine=Ri(()=>this.pristineReactive());pristineReactive=cn(!0);get dirty(){return!this.pristine}get touched(){return _n(this.touchedReactive)}set touched(n){_n(()=>this.touchedReactive.set(n))}_touched=Ri(()=>this.touchedReactive());touchedReactive=cn(!1);get untouched(){return!this.touched}_events=new T;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(JI(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(JI(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(eM(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(eM(n,this._rawAsyncValidators))}hasValidator(n){return Wf(this._rawValidators,n)}hasAsyncValidator(n){return Wf(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(ie(_({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new ic(!0,i))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),e&&n.emitEvent!==!1&&this._events.next(new ic(!1,i))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(ie(_({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new nc(!1,i))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),e&&n.emitEvent!==!1&&this._events.next(new nc(!0,i))}markAsPending(n={}){this.status=ea;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ta(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(ie(_({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=ec,this.errors=null,this._forEachChild(r=>{r.disable(ie(_({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Kf(this.value,i)),this._events.next(new ta(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ie(_({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Jl,this._forEachChild(i=>{i.enable(ie(_({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(ie(_({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Jl||this.status===ea)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Kf(this.value,e)),this._events.next(new ta(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(ie(_({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ec:Jl}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=ea,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let i=aM(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(n,e){let i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new ta(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new z,this.statusChanges=new z}_calculateStatus(){return this._allControlsDisabled()?ec:this.errors?$f:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ea)?ea:this._anyControlsHaveStatus($f)?$f:Jl}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),r&&this._events.next(new nc(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new ic(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){rh(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=GU(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=WU(this._rawAsyncValidators)}},Xf=class extends Zf{constructor(n,e,i){super(mM(e),gM(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){KU(this,!0,n),Object.keys(n).forEach(i=>{qU(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(i=>{let r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,r)=>{i.reset(n?n[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}},ra=new C("",{providedIn:"root",factory:()=>oh}),oh="always";iH={provide:xo,useExisting:wi(()=>xb)},tc=Promise.resolve(),xb=(()=>{class t extends xo{callSetDisabledState;get submitted(){return _n(this.submittedReactive)}_submitted=Ri(()=>this.submittedReactive());submittedReactive=cn(!1);_directives=new Set;form;ngSubmit=new z;options;constructor(e,i,r){super(),this.callSetDisabledState=r,this.form=new Xf({},bb(e),_b(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){tc.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),rc(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){tc.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){tc.then(()=>{let i=this._findContainer(e.path),r=new Xf({});vM(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){tc.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){tc.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),_M(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new Yf(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1),this.form._events.next(new Qf(this.form))}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(i){return new(i||t)(A(nh,10),A(ih,10),A(ra,8))};static \u0275dir=P({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&ee("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Tt([iH]),ge]})}return t})();oc=class extends Zf{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,i){super(mM(e),gM(i,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),rh(e)&&(e.nonNullable||e.initialValueIsDefault)&&(nM(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){tM(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){tM(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){nM(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},rH=t=>t instanceof oc,oH={provide:Bi,useExisting:wi(()=>sc)},iM=Promise.resolve(),sc=(()=>{class t extends Bi{_changeDetectorRef;callSetDisabledState;control=new oc;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new z;constructor(e,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=CM(this,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),bM(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){rc(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){iM.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,r=i!==0&&Me(i);iM.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?YU(e,this._parent):[e]}static \u0275fac=function(i){return new(i||t)(A(xo,9),A(nh,10),A(ih,10),A(gb,10),A(at,8),A(ra,8))};static \u0275dir=P({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[Tt([oH]),ge,Ve]})}return t})(),xM=new C(""),sH={provide:Bi,useExisting:wi(()=>wb)},wb=(()=>{class t extends Bi{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new z;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,i,r,o,s){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=s,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=CM(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let i=e.form.previousValue;i&&Jf(i,this,!1),rc(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}bM(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Jf(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(i){return new(i||t)(A(nh,10),A(ih,10),A(gb,10),A(xM,8),A(ra,8))};static \u0275dir=P({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[Tt([sH]),ge,Ve]})}return t})(),aH={provide:xo,useExisting:wi(()=>Eb)},Eb=(()=>{class t extends xo{callSetDisabledState;get submitted(){return _n(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Ri(()=>this._submittedReactive());_submittedReactive=cn(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new z;constructor(e,i,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(th(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let i=this.form.get(e.path);return rc(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){Jf(e.control||null,e,!1),nH(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this._submittedReactive.set(!0),_M(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Yf(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new Qf(this.form))}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&(Jf(i||null,e),rH(r)&&(rc(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);vM(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&eH(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Cb(this.form,this),this._oldForm&&th(this._oldForm,this)}static \u0275fac=function(i){return new(i||t)(A(nh,10),A(ih,10),A(ra,8))};static \u0275dir=P({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&ee("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Tt([aH]),ge,Ve]})}return t})(),wM=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({})}return t})(),sh=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:ra,useValue:e.callSetDisabledState??oh}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({imports:[wM]})}return t})(),EM=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:xM,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:ra,useValue:e.callSetDisabledState??oh}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({imports:[wM]})}return t})()});function ac(t){return t.buttons===0||t.detail===0}function lc(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var Sb=f(()=>{"use strict"});function DM(){if(Ib==null){let t=typeof document<"u"?document.head:null;Ib=!!(t&&(t.createShadowRoot||t.attachShadow))}return Ib}function Mb(t){if(DM()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function cc(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function Pt(t){return t.composedPath?t.composedPath()[0]:t.target}var Ib,dc=f(()=>{"use strict"});function xn(t,n,e,i,r){let o=parseInt(Rv.major),s=parseInt(Rv.minor);return o>19||o===19&&s>0||o===0&&s===0?t.listen(n,e,i,r):(n.addEventListener(e,i,r),()=>{n.removeEventListener(e,i,r)})}var ah=f(()=>{"use strict";b()});var Tb,Le,Ui=f(()=>{"use strict";b();b();pe();try{Tb=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Tb=!1}Le=(()=>{class t{_platformId=u(Qt);isBrowser=this._platformId?ti(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||Tb)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});function SM(){if(uc==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>uc=!0}))}finally{uc=uc||!1}return uc}function br(t){return SM()?t:!!t.capture}var uc,Ab=f(()=>{"use strict"});function _r(t,n=0){return IM(t)?Number(t):arguments.length===2?n:0}function IM(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function ri(t){return t instanceof B?t.nativeElement:t}var lh=f(()=>{"use strict";b()});var MM,TM,AM,Rb,RM,fc,OM,ch,wo,Ob=f(()=>{"use strict";b();b();Se();Qe();pe();Sb();dc();ah();Ui();Ab();lh();MM=new C("cdk-input-modality-detector-options"),TM={ignoreKeys:[18,17,224,91,16]},AM=650,Rb={passive:!0,capture:!0},RM=(()=>{class t{_platform=u(Le);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new nt(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(i=>i===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Pt(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<AM||(this._modality.next(ac(e)?"keyboard":"mouse"),this._mostRecentTarget=Pt(e))};_onTouchstart=e=>{if(lc(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Pt(e)};constructor(){let e=u(L),i=u(H),r=u(MM,{optional:!0});if(this._options=_(_({},TM),r),this.modalityDetected=this._modality.pipe(cl(1)),this.modalityChanged=this.modalityDetected.pipe(al()),this._platform.isBrowser){let o=u(dt).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[xn(o,i,"keydown",this._onKeydown,Rb),xn(o,i,"mousedown",this._onMousedown,Rb),xn(o,i,"touchstart",this._onTouchstart,Rb)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),fc=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(fc||{}),OM=new C("cdk-focus-monitor-default-options"),ch=br({passive:!0,capture:!0}),wo=(()=>{class t{_ngZone=u(L);_platform=u(Le);_inputModalityDetector=u(RM);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=u(H,{optional:!0});_stopInputModalityDetector=new T;constructor(){let e=u(OM,{optional:!0});this._detectionMode=e?.detectionMode||fc.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let i=Pt(e);for(let r=i;r;r=r.parentElement)e.type==="focus"?this._onFocus(e,r):this._onBlur(e,r)};monitor(e,i=!1){let r=ri(e);if(!this._platform.isBrowser||r.nodeType!==1)return k();let o=Mb(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;let a={checkChildren:i,subject:new T,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let i=ri(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){let o=ri(e),s=this._getDocument().activeElement;o===s?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===fc.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===fc.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?AM:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,i){let r=this._elementInfo.get(i),o=Pt(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){let r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,ch),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,ch)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ve(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ch),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ch),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let s=0;s<o.length;s++)if(o[s].contains(i))return!0}return!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var dh,en,hc=f(()=>{"use strict";b();b();dh=new WeakMap,en=(()=>{class t{_appRef;_injector=u(he);_environmentInjector=u(et);load(e){let i=this._appRef=this._appRef||this._injector.get(qt),r=dh.get(i);r||(r={loaders:new Set,refs:[]},dh.set(i,r),i.onDestroy(()=>{dh.get(i)?.refs.forEach(o=>o.destroy()),dh.delete(i)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(Cf(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var oa,sa=f(()=>{"use strict";hc();b();oa=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(i,r){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
9
+ `],encapsulation:2,changeDetection:0})}return t})()});function aa(t){return Array.isArray(t)?t:[t]}var kb=f(()=>{"use strict"});function cH(t,n){if(!kM.has(t))try{Eo||(Eo=document.createElement("style"),n&&Eo.setAttribute("nonce",n),Eo.setAttribute("type","text/css"),document.head.appendChild(Eo)),Eo.sheet&&(Eo.sheet.insertRule(`@media ${t} {body{ }}`,0),kM.add(t))}catch(e){console.error(e)}}function dH(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}function NM(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}var kM,Eo,lH,FM,LM=f(()=>{"use strict";b();b();Se();Qe();Ui();kb();kM=new Set,lH=(()=>{class t{_platform=u(Le);_nonce=u(mo,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):dH}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&cH(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();FM=(()=>{class t{_mediaMatcher=u(lH);_zone=u(L);_queries=new Map;_destroySubject=new T;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return NM(aa(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=NM(aa(e)).map(s=>this._registerQuery(s).observable),o=Qr(r);return o=Tn(o.pipe(Pe(1)),o.pipe(cl(1),pi(0))),o.pipe(j(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),o={observable:new Z(s=>{let a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(Nt(i),j(({matches:s})=>({query:e,matches:s})),ve(this._destroySubject)),mql:i};return this._queries.set(e,o),o}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var uH,uh,Nb=f(()=>{"use strict";b();uH=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),uh=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({providers:[uH]})}return t})()});function fH(t){try{return t.frameElement}catch{return null}}function hH(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function pH(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function mH(t){return yH(t)&&t.type=="hidden"}function gH(t){return vH(t)&&t.hasAttribute("href")}function yH(t){return t.nodeName.toLowerCase()=="input"}function vH(t){return t.nodeName.toLowerCase()=="a"}function BM(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function PM(t){if(!BM(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function bH(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function _H(t){return mH(t)?!1:pH(t)||gH(t)||t.hasAttribute("contenteditable")||BM(t)}function CH(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}function HM(){return null}var Pb,Lb,jb,UM,zM,xH,Vb,Cr,jM,VM,Fb,fh,pc,Bb=f(()=>{"use strict";b();b();pe();Ui();hc();sa();LM();Nb();Pb=(()=>{class t{_platform=u(Le);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return hH(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=fH(CH(e));if(i&&(PM(i)===-1||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=PM(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!bH(e)?!1:r==="audio"?e.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,i){return _H(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();Lb=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_enabled=!0;constructor(n,e,i,r,o=!1,s){this._element=n,this._checker=e,this._ngZone=i,this._document=r,this._injector=s,o||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let i=0;i<e.length;i++){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[i]):null;if(r)return r}return null}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let i=e.length-1;i>=0;i--){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?dn(n,{injector:this._injector}):setTimeout(n)}},jb=(()=>{class t{_checker=u(Pb);_ngZone=u(L);_document=u(H);_injector=u(he);constructor(){u(en).load(oa)}create(e,i=!1){return new Lb(e,this._checker,this._ngZone,this._document,i,this._injector)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),UM=new C("liveAnnouncerElement",{providedIn:"root",factory:HM});zM=new C("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),xH=0,Vb=(()=>{class t{_ngZone=u(L);_defaultOptions=u(zM,{optional:!0});_liveElement;_document=u(H);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=u(UM,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...i){let r=this._defaultOptions,o,s;return i.length===1&&typeof i[0]=="number"?s=i[0]:[o,s]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),s==null&&r&&(s=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o<i.length;o++)i[o].remove();return r.classList.add(e),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${xH++}`,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(e){let i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<i.length;r++){let o=i[r],s=o.getAttribute("aria-owns");s?s.indexOf(e)===-1&&o.setAttribute("aria-owns",s+" "+e):o.setAttribute("aria-owns",e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Cr=function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t}(Cr||{}),jM="cdk-high-contrast-black-on-white",VM="cdk-high-contrast-white-on-black",Fb="cdk-high-contrast-active",fh=(()=>{class t{_platform=u(Le);_hasCheckedHighContrastMode;_document=u(H);_breakpointSubscription;constructor(){this._breakpointSubscription=u(FM).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Cr.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Cr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Cr.BLACK_ON_WHITE}return Cr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Fb,jM,VM),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Cr.BLACK_ON_WHITE?e.add(Fb,jM):i===Cr.WHITE_ON_BLACK&&e.add(Fb,VM)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),pc=(()=>{class t{constructor(){u(fh)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({imports:[uh]})}return t})()});var Ub,jt,hh=f(()=>{"use strict";b();b();Ub={},jt=(()=>{class t{_appId=u(po);getId(e){return this._appId!=="ng"&&(e+=this._appId),Ub.hasOwnProperty(e)||(Ub[e]=0),`${e}${Ub[e]++}`}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var wH,ph,GM=f(()=>{"use strict";Se();Qe();wH=200,ph=class{_letterKeyStream=new T;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new T;selectedItem=this._selectedItem;constructor(n,e){let i=typeof e?.debounceInterval=="number"?e.debounceInterval:wH;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(Ne(e=>this._pressedLetters.push(e)),pi(n),me(()=>this._pressedLetters.length>0),j(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let i=1;i<this._items.length+1;i++){let r=(this._selectedItemIndex+i)%this._items.length,o=this._items[r];if(!this._skipPredicateFn?.(o)&&o.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(o);break}}this._pressedLetters=[]})}}});function At(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var xr=f(()=>{"use strict"});var mh,KM=f(()=>{"use strict";b();Se();GM();xr();mh=class{_items;_activeItemIndex=-1;_activeItem=cn(null);_wrap=!1;_typeaheadSubscription=_e.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=n=>n.disabled;constructor(n,e){this._items=n,n instanceof Ss?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):Ls(n)&&(this._effectRef=Nv(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new T;change=new T;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new ph(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex)}onKeydown(n){let e=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o<s?o:s-1,-1);break}else return;default:(r||At(n,"shiftKey"))&&this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){let e=this._getItemsArray(),i=typeof n=="number"?n:e.indexOf(n),r=e[i];this._activeItem.set(r??null),this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){let e=this._getItemsArray();for(let i=1;i<=e.length;i++){let r=(this._activeItemIndex+n*i+e.length)%e.length,o=e[r];if(!this._skipPredicateFn(o)){this.setActiveItem(r);return}}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){let i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(n+=e,!i[n])return;this.setActiveItem(n)}}_getItemsArray(){return Ls(this._items)?this._items():this._items instanceof Ss?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);let e=this._activeItem();if(e){let i=n.indexOf(e);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i))}}}});var mc,YM=f(()=>{"use strict";KM();mc=class extends mh{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}}});function Wb(t,n,e){let i=yh(t,n);e=e.trim(),!i.some(r=>r.trim()===e)&&(i.push(e),t.setAttribute(n,i.join(ZM)))}function vh(t,n,e){let i=yh(t,n);e=e.trim();let r=i.filter(o=>o!==e);r.length?t.setAttribute(n,r.join(ZM)):t.removeAttribute(n)}function yh(t,n){return t.getAttribute(n)?.match(/\S+/g)??[]}function $b(t,n){return typeof t=="string"?`${n||""}/${t}`:t}function QM(t,n){t.id||(t.id=`${XM}-${n}-${Gb++}`)}var ZM,XM,gh,Gb,JM,Hi=f(()=>{"use strict";Ob();Bb();hh();pe();b();b();Ui();hc();sa();YM();Sb();ZM=" ";XM="cdk-describedby-message",gh="cdk-describedby-host",Gb=0,JM=(()=>{class t{_platform=u(Le);_document=u(H);_messageRegistry=new Map;_messagesContainer=null;_id=`${Gb++}`;constructor(){u(en).load(oa),this._id=u(po)+"-"+Gb++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;let o=$b(i,r);typeof i!="string"?(QM(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;let o=$b(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),typeof i=="string"){let s=this._messageRegistry.get(o);s&&s.referenceCount===0&&this._deleteMessageElement(o)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${gh}="${this._id}"]`);for(let i=0;i<e.length;i++)this._removeCdkDescribedByReferenceIds(e[i]),e[i].removeAttribute(gh);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,i){let r=this._document.createElement("div");QM(r,this._id),r.textContent=e,i&&r.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set($b(e,i),{messageElement:r,referenceCount:0})}_deleteMessageElement(e){this._messageRegistry.get(e)?.messageElement?.remove(),this._messageRegistry.delete(e)}_createMessagesContainer(){if(this._messagesContainer)return;let e="cdk-describedby-message-container",i=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let o=0;o<i.length;o++)i[o].remove();let r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(e),r.classList.add("cdk-visually-hidden"),this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(e){let i=yh(e,"aria-describedby").filter(r=>r.indexOf(XM)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let r=this._messageRegistry.get(i);Wb(e,"aria-describedby",r.messageElement.id),e.setAttribute(gh,this._id),r.referenceCount++}_removeMessageReference(e,i){let r=this._messageRegistry.get(i);r.referenceCount--,vh(e,"aria-describedby",r.messageElement.id),e.removeAttribute(gh)}_isElementDescribedByMessage(e,i){let r=yh(e,"aria-describedby"),o=this._messageRegistry.get(i),s=o&&o.messageElement.id;return!!s&&r.indexOf(s)!=-1}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let r=i==null?"":`${i}`.trim(),o=e.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});function _h(){if(Do==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Do=!1,Do;if("scrollBehavior"in document.documentElement.style)Do=!0;else{let t=Element.prototype.scrollTo;t?Do=!/\{\s*\[native code\]\s*\}/.test(t.toString()):Do=!1}}return Do}function la(){if(typeof document!="object"||!document)return Ln.NORMAL;if(bh==null){let t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",t.appendChild(e),document.body.appendChild(t),bh=Ln.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,bh=t.scrollLeft===0?Ln.NEGATED:Ln.INVERTED),t.remove()}return bh}var Ln,bh,Do,qb=f(()=>{"use strict";Ln=function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t}(Ln||{})});function Kb(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var eT=f(()=>{"use strict"});var gc=f(()=>{"use strict";Ui();Ab();dc();ah()});function ca(t){return t!=null&&`${t}`!="false"}var tT=f(()=>{"use strict"});function rt(t){return t==null?"":typeof t=="string"?t:`${t}px`}var nT=f(()=>{"use strict"});var yc=f(()=>{"use strict";tT();lh()});function SH(t,n,e){let i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),r=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+r*r)}var wn,Yb,iT,Qb,vc,EH,rT,oT,sT,DH,bc,Zb,aT,Xb=f(()=>{"use strict";gc();b();b();Hi();yc();sa();wn=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(wn||{}),Yb=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=wn.HIDDEN;constructor(n,e,i,r=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r}fadeOut(){this._renderer.fadeOutRipple(this)}},iT=br({passive:!0,capture:!0}),Qb=class{_events=new Map;addHandler(n,e,i,r){let o=this._events.get(e);if(o){let s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,iT)})}removeHandler(n,e,i){let r=this._events.get(n);if(!r)return;let o=r.get(e);o&&(o.delete(i),o.size===0&&r.delete(e),r.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,iT)))}_delegateEventHandler=n=>{let e=Pt(n);e&&this._events.get(n.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(n))})}},vc={enterDuration:225,exitDuration:150},EH=800,rT=br({passive:!0,capture:!0}),oT=["mousedown","touchstart"],sT=["mouseup","mouseleave","touchend","touchcancel"],DH=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}
10
+ `],encapsulation:2,changeDetection:0})}return t})(),bc=class t{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new Qb;constructor(n,e,i,r,o){this._target=n,this._ngZone=e,this._platform=r,r.isBrowser&&(this._containerElement=ri(i)),o&&o.get(en).load(DH)}fadeInRipple(n,e,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=_(_({},vc),i.animation);i.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);let s=i.radius||SH(n,e,r),a=n-r.left,l=e-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${a-s}px`,d.style.top=`${l-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,i.color!=null&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let h=window.getComputedStyle(d),m=h.transitionProperty,p=h.transitionDuration,g=m==="none"||p==="0s"||p==="0s, 0s"||r.width===0&&r.height===0,y=new Yb(this,d,i,g);d.style.transform="scale3d(1, 1, 1)",y.state=wn.FADING_IN,i.persistent||(this._mostRecentTransientRipple=y);let I=null;return!g&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let R=()=>{I&&(I.fallbackTimer=null),clearTimeout(ue),this._finishRippleTransition(y)},ne=()=>this._destroyRipple(y),ue=setTimeout(ne,c+100);d.addEventListener("transitionend",R),d.addEventListener("transitioncancel",ne),I={onTransitionEnd:R,onTransitionCancel:ne,fallbackTimer:ue}}),this._activeRipples.set(y,I),(g||!c)&&this._finishRippleTransition(y),y}fadeOutRipple(n){if(n.state===wn.FADING_OUT||n.state===wn.HIDDEN)return;let e=n.element,i=_(_({},vc),n.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=wn.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=ri(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,oT.forEach(i=>{t._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{sT.forEach(e=>{this._triggerElement.addEventListener(e,this,rT)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===wn.FADING_IN?this._startFadeOutTransition(n):n.state===wn.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=wn.VISIBLE,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=wn.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=ac(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+EH;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!lc(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=n.changedTouches;if(e)for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{let e=n.state===wn.VISIBLE||n.config.terminateOnPointerUp&&n.state===wn.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(oT.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(sT.forEach(e=>n.removeEventListener(e,this,rT)),this._pointerUpEventsRegistered=!1))}};Zb=new C("mat-ripple-global-options"),aT=(()=>{class t{_elementRef=u(B);_animationMode=u(Xe,{optional:!0});color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=u(L),i=u(Le),r=u(Zb,{optional:!0}),o=u(he);this._globalOptions=r||{},this._rippleRenderer=new bc(this,e,this._elementRef,i,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:_(_(_({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,r){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,_(_({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,_(_({},this.rippleConfig),e))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){i&2&&Q("mat-ripple-unbounded",r.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return t})()});var IH,MH,Jb,e_,lT,Ch,cT,dT=f(()=>{"use strict";pe();b();b();gc();Xb();IH={capture:!0},MH=["focus","mousedown","mouseenter","touchstart"],Jb="mat-ripple-loader-uninitialized",e_="mat-ripple-loader-class-name",lT="mat-ripple-loader-centered",Ch="mat-ripple-loader-disabled",cT=(()=>{class t{_document=u(H);_animationMode=u(Xe,{optional:!0});_globalRippleOptions=u(Zb,{optional:!0});_platform=u(Le);_ngZone=u(L);_injector=u(he);_eventCleanups;_hosts=new Map;constructor(){let e=u(dt).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>MH.map(i=>xn(e,this._document,i,this._onInteraction,IH)))}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);this._eventCleanups.forEach(i=>i())}configureRipple(e,i){e.setAttribute(Jb,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(e_))&&e.setAttribute(e_,i.className||""),i.centered&&e.setAttribute(lT,""),i.disabled&&e.setAttribute(Ch,"")}setDisabled(e,i){let r=this._hosts.get(e);r?(r.target.rippleDisabled=i,!i&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(e))):i?e.setAttribute(Ch,""):e.removeAttribute(Ch)}_onInteraction=e=>{let i=Pt(e);if(i instanceof HTMLElement){let r=i.closest(`[${Jb}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let i=this._document.createElement("span");i.classList.add("mat-ripple",e.getAttribute(e_)),e.append(i);let r=this._animationMode==="NoopAnimations",o=this._globalRippleOptions,s=r?0:o?.animation?.enterDuration??vc.enterDuration,a=r?0:o?.animation?.exitDuration??vc.exitDuration,l={rippleDisabled:r||o?.disabled||e.hasAttribute(Ch),rippleConfig:{centered:e.hasAttribute(lT),terminateOnPointerUp:o?.terminateOnPointerUp,animation:{enterDuration:s,exitDuration:a}}},c=new bc(l,this._ngZone,i,this._platform,this._injector),d=!l.rippleDisabled;d&&c.setupTriggerEvents(e),this._hosts.set(e,{target:l,renderer:c,hasSetUpEvents:d}),e.removeAttribute(Jb)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var xh,t_=f(()=>{"use strict";b();xh=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,r){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
11
+ `],encapsulation:2,changeDetection:0})}return t})()});var TH,AH,RH,OH,n_,So,uT=f(()=>{"use strict";b();b();Hi();sa();dT();t_();TH=["mat-icon-button",""],AH=["*"],RH=new C("MAT_BUTTON_CONFIG"),OH=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],n_=(()=>{class t{_elementRef=u(B);_ngZone=u(L);_animationMode=u(Xe,{optional:!0});_focusMonitor=u(wo);_rippleLoader=u(cT);_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;constructor(){u(en).load(xh);let e=u(RH,{optional:!0}),i=this._elementRef.nativeElement,r=i.classList;this.disabledInteractive=e?.disabledInteractive??!1,this.color=e?.color??null,this._rippleLoader?.configureRipple(i,{className:"mat-mdc-button-ripple"});for(let{attribute:o,mdcClasses:s}of OH)i.hasAttribute(o)&&r.add(...s)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Me],disabled:[2,"disabled","disabled",Me],ariaDisabled:[2,"aria-disabled","ariaDisabled",Me],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Me]}})}return t})(),So=(()=>{class t extends n_{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,r){i&2&&(we("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),pr(r.color?"mat-"+r.color:""),Q("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[ge],attrs:TH,ngContentSelectors:AH,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(Zt(),q(0,"span",0),ze(1),q(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}
12
+ `,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
13
+ `],encapsulation:2,changeDetection:0})}return t})()});function NH(){return u(H)}function fT(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?FH.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var kH,FH,_t,_c=f(()=>{"use strict";b();b();pe();kH=new C("cdk-dir-doc",{providedIn:"root",factory:NH});FH=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;_t=(()=>{class t{value="ltr";change=new z;constructor(){let e=u(kH,{optional:!0});if(e){let i=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.value=fT(i||r||"ltr")}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var oi,zi=f(()=>{"use strict";_c();b();oi=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({})}return t})()});var Ue,Pn=f(()=>{"use strict";Hi();zi();b();b();Ue=(()=>{class t{constructor(){u(fh)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({imports:[oi,oi]})}return t})()});var wh,i_=f(()=>{"use strict";b();Pn();wh=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({imports:[Ue,Ue]})}return t})()});var PH,jH,VH,si,wr,fn=f(()=>{"use strict";uT();b();i_();Pn();PH=["mat-button",""],jH=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],VH=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],si=(()=>{class t extends n_{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})();static \u0275cmp=U({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,r){i&2&&(we("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),pr(r.color?"mat-"+r.color:""),Q("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[ge],attrs:PH,ngContentSelectors:VH,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(Zt(jH),q(0,"span",0),ze(1),E(2,"span",1),ze(3,1),M(),ze(4,2),q(5,"span",2)(6,"span",3)),i&2&&Q("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[`.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
14
+ `,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
15
+ `],encapsulation:2,changeDetection:0})}return t})(),wr=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({imports:[Ue,wh,Ue]})}return t})()});function BH(){if(Eh===void 0&&(Eh=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(Eh=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Eh}function Cc(t){return BH()?.createHTML(t)||t}function hT(t){return Error(`Unable to find icon with the name "${t}"`)}function UH(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function pT(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function mT(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}function Dh(t){return t.cloneNode(!0)}function gT(t,n){return t+":"+n}function HH(t){return!!(t.url&&t.options)}var Eh,$i,Sh,yT=f(()=>{"use strict";pe();ql();b();b();Yl();Se();Qe();$i=class{url;svgText;options;svgElement;constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}},Sh=(()=>{class t{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,i,r,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,o){return this._addSvgIconConfig(e,i,new $i(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){let s=this._sanitizer.sanitize(bt.HTML,r);if(!s)throw mT(r);let a=Cc(s);return this._addSvgIconConfig(e,i,new $i("",a,o))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new $i(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){let o=this._sanitizer.sanitize(bt.HTML,i);if(!o)throw mT(i);let s=Cc(o);return this._addSvgIconSetConfig(e,new $i("",s,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let i=this._sanitizer.sanitize(bt.RESOURCE_URL,e);if(!i)throw pT(e);let r=this._cachedIconsByUrl.get(i);return r?k(Dh(r)):this._loadSvgIconFromConfig(new $i(e,null)).pipe(Ne(o=>this._cachedIconsByUrl.set(i,o)),j(o=>Dh(o)))}getNamedSvgIcon(e,i=""){let r=gT(i,e),o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);let s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(e,s):or(hT(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?k(Dh(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(j(i=>Dh(i)))}_getSvgFromIconSetConfigs(e,i){let r=this._extractIconWithNameFromAnySet(e,i);if(r)return k(r);let o=i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(zt(a=>{let c=`Loading icon set URL: ${this._sanitizer.sanitize(bt.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),k(null)})));return Zr(o).pipe(j(()=>{let s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw hT(e);return s}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){let o=i[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){let s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,e,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Ne(i=>e.svgText=i),j(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?k(null):this._fetchIcon(e).pipe(Ne(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){let o=e.querySelector(`[id="${i}"]`);if(!o)return null;let s=o.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,r);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),r);let a=this._svgElementFromString(Cc("<svg></svg>"));return a.appendChild(s),this._setSvgAttributes(a,r)}_svgElementFromString(e){let i=this._document.createElement("DIV");i.innerHTML=e;let r=i.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(e){let i=this._svgElementFromString(Cc("<svg></svg>")),r=e.attributes;for(let o=0;o<r.length;o++){let{name:s,value:a}=r[o];s!=="id"&&i.setAttribute(s,a)}for(let o=0;o<e.childNodes.length;o++)e.childNodes[o].nodeType===this._document.ELEMENT_NODE&&i.appendChild(e.childNodes[o].cloneNode(!0));return i}_setSvgAttributes(e,i){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),i&&i.viewBox&&e.setAttribute("viewBox",i.viewBox),e}_fetchIcon(e){let{url:i,options:r}=e,o=r?.withCredentials??!1;if(!this._httpClient)throw UH();if(i==null)throw Error(`Cannot fetch icon from URL "${i}".`);let s=this._sanitizer.sanitize(bt.RESOURCE_URL,i);if(!s)throw pT(i);let a=this._inProgressUrlFetches.get(s);if(a)return a;let l=this._httpClient.get(s,{responseType:"text",withCredentials:o}).pipe(j(c=>Cc(c)),$t(()=>this._inProgressUrlFetches.delete(s)),ll());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(gT(e,i),r),this}_addSvgIconSetConfig(e,i){let r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){let i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;r<this._resolvers.length;r++){let o=this._resolvers[r](i,e);if(o)return HH(o)?new $i(o.url,null,o.options):new $i(o,null)}}static \u0275fac=function(i){return new(i||t)(D(Pi,8),D(Kl),D(H,8),D(Lt))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});function WH(){let t=u(H),n=t?t.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}var zH,$H,GH,vT,qH,KH,ai,Ih,Gi=f(()=>{"use strict";b();b();pe();Se();Qe();yT();Pn();zH=["*"],$H=new C("MAT_ICON_DEFAULT_OPTIONS"),GH=new C("mat-icon-location",{providedIn:"root",factory:WH});vT=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],qH=vT.map(t=>`[${t}]`).join(", "),KH=/^url\(['"]?#(.*?)['"]?\)$/,ai=(()=>{class t{_elementRef=u(B);_iconRegistry=u(Sh);_location=u(GH);_errorHandler=u(Lt);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=_e.EMPTY;constructor(){let e=u(new Ds("aria-hidden"),{optional:!0}),i=u($H,{optional:!0});i&&(i.color&&(this.color=this._defaultColor=i.color),i.fontSet&&(this.fontSet=i.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let r=e.childNodes[i];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(s=>{o.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){let i=e.querySelectorAll(qH),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<i.length;o++)vT.forEach(s=>{let a=i[o],l=a.getAttribute(s),c=l?l.match(KH):null;if(c){let d=r.get(a);d||(d=[],r.set(a,d)),d.push({name:s,value:c[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(Pe(1)).subscribe(o=>this._setSvgElement(o),o=>{let s=`Error retrieving icon ${i}:${r}! ${o.message}`;this._errorHandler.handleError(new Error(s))})}}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,r){i&2&&(we("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),pr(r.color?"mat-"+r.color:""),Q("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",Me],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:zH,decls:1,vars:0,template:function(i,r){i&1&&(Zt(),ze(0))},styles:[`mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}
16
+ `],encapsulation:2,changeDetection:0})}return t})(),Ih=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({imports:[Ue,Ue]})}return t})()});var bT,_T=f(()=>{"use strict";ql();b();b();bT=(()=>{class t{#e=u(Pi);play(e,i){return this.#e.get(`https://services.tilde.com/service/tts?system=${i.voice}&text=${e}`,{responseType:"blob"})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});function QH(t,n){if(t&1&&(Dl(),E(0,"svg",11),q(1,"circle",12),M()),t&2){let e=G();we("viewBox",e._viewBox()),x(),Us("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),we("r",e._circleRadius())}}function XH(){return{diameter:CT}}var YH,ZH,CT,JH,Mh,xT,Th=f(()=>{"use strict";b();b();pe();Pn();YH=["determinateSpinner"];ZH=new C("mat-progress-spinner-default-options",{providedIn:"root",factory:XH});CT=100,JH=10,Mh=(()=>{class t{_elementRef=u(B);_noopAnimations;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;_defaultColor="primary";_determinateCircle;constructor(){let e=u(Xe,{optional:!0}),i=u(ZH);this._noopAnimations=e==="NoopAnimations"&&!!i&&!i._forceAnimations,this.mode=this._elementRef.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",i&&(i.color&&(this.color=this._defaultColor=i.color),i.diameter&&(this.diameter=i.diameter),i.strokeWidth&&(this.strokeWidth=i.strokeWidth))}mode;get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}_value=0;get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}_diameter=CT;get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_strokeWidth;_circleRadius(){return(this.diameter-JH)/2}_viewBox(){let e=this._circleRadius()*2+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(i,r){if(i&1&&Be(YH,5),i&2){let o;Ee(o=De())&&(r._determinateCircle=o.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(i,r){i&2&&(we("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",r.mode==="determinate"?r.value:null)("mode",r.mode),pr("mat-"+r.color),Us("width",r.diameter,"px")("height",r.diameter,"px")("--mdc-circular-progress-size",r.diameter+"px")("--mdc-circular-progress-active-indicator-width",r.diameter+"px"),Q("_mat-animation-noopable",r._noopAnimations)("mdc-circular-progress--indeterminate",r.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",Ai],diameter:[2,"diameter","diameter",Ai],strokeWidth:[2,"strokeWidth","strokeWidth",Ai]},exportAs:["matProgressSpinner"],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(i,r){if(i&1&&(re(0,QH,2,8,"ng-template",null,0,vo),E(2,"div",2,1),Dl(),E(4,"svg",3),q(5,"circle",4),M()(),KE(),E(6,"div",5)(7,"div",6)(8,"div",7),Ol(9,8),M(),E(10,"div",9),Ol(11,8),M(),E(12,"div",10),Ol(13,8),M()()()),i&2){let o=Xt(1);x(4),we("viewBox",r._viewBox()),x(),Us("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeDashOffset(),"px")("stroke-width",r._circleStrokeWidth(),"%"),we("r",r._circleRadius()),x(4),S("ngTemplateOutlet",o),x(2),S("ngTemplateOutlet",o),x(2),S("ngTemplateOutlet",o)}},dependencies:[Ll],styles:[`.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width, 4px)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, var(--mat-sys-primary))}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}
17
+ `],encapsulation:2,changeDetection:0})}return t})(),xT=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({imports:[Ue]})}return t})()});var nz,da,r_,iz,ua,Mo,o_,fa=f(()=>{"use strict";b();b();Se();Qe();lh();Ui();_c();qb();zi();pe();nz=20,da=(()=>{class t{_ngZone=u(L);_platform=u(Le);_renderer=u(dt).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new T;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=nz){return this._platform.isBrowser?new Z(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=e>0?this._scrolled.pipe(au(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):k()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(me(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_scrollableContainsElement(e,i){let r=ri(i),o=e.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),r_=(()=>{class t{elementRef=u(B);scrollDispatcher=u(da);ngZone=u(L);dir=u(_t,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new T;_renderer=u(ut);_cleanupScroll;_elementScrolled=new T;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let i=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&la()!=Ln.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),la()==Ln.INVERTED?e.left=e.right:la()==Ln.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;_h()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left))}measureScrollOffset(e){let i="left",r="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let s=this.dir&&this.dir.value=="rtl";return e=="start"?e=s?r:i:e=="end"&&(e=s?i:r),s&&la()==Ln.INVERTED?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:s&&la()==Ln.NEGATED?e==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return t})(),iz=20,ua=(()=>{class t{_platform=u(Le);_listeners;_viewportSize;_change=new T;_document=u(H,{optional:!0});constructor(){let e=u(L),i=u(dt).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let r=o=>this._change.next(o);this._listeners=[i.listen("window","resize",r),i.listen("window","orientationchange",r)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect(),s=-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,a=-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:s,left:a}}change(e=iz){return e>0?this._change.pipe(au(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Mo=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({})}return t})(),o_=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({imports:[oi,Mo,oi,Mo]})}return t})()});var ha,Wi,Er,Ah,To,wc,pa,Dr,Rh=f(()=>{"use strict";b();b();pe();ha=class{_attachedHost;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},Wi=class extends ha{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(n,e,i,r,o){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.projectableNodes=o}},Er=class extends ha{templateRef;viewContainerRef;context;injector;constructor(n,e,i,r){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},Ah=class extends ha{element;constructor(n){super(),this.element=n instanceof B?n.nativeElement:n}},To=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof Wi)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof Er)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof Ah)return this._attachedPortal=n,this.attachDomPortal(n)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},wc=class extends To{outletElement;_appRef;_defaultInjector;_document;constructor(n,e,i,r,o){super(),this.outletElement=n,this._appRef=i,this._defaultInjector=r,this._document=o}attachComponentPortal(n){let e;if(n.viewContainerRef){let i=n.injector||n.viewContainerRef.injector,r=i.get(Ci,null,{optional:!0})||void 0;e=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:i,ngModuleRef:r,projectableNodes:n.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else{let i=this._appRef,r=n.injector||this._defaultInjector||he.NULL,o=r.get(et,i.injector);e=Cf(n.component,{elementInjector:r,environmentInjector:o,projectableNodes:n.projectableNodes||void 0}),i.attachView(e.hostView),this.setDisposeFn(()=>{i.viewCount>0&&i.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=n,e}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);r!==-1&&e.remove(r)}),this._attachedPortal=n,i}attachDomPortal=n=>{let e=n.element;e.parentNode;let i=this._document.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=n,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},pa=(()=>{class t extends To{_moduleRef=u(Ci,{optional:!0});_document=u(H);_viewContainerRef=u(Mt);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new z;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,r=i.createComponent(e.component,{index:i.length,injector:e.injector||i.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return i!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachDomPortal=e=>{let i=e.element;i.parentNode;let r=this._document.createComment("dom-portal");e.setAttachedHost(this),i.parentNode.insertBefore(r,i),this._getRootNode().appendChild(i),this._attachedPortal=e,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(i,r)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[ge]})}return t})(),Dr=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({})}return t})()});function s_(t,n){return n.some(e=>{let i=t.bottom<e.top,r=t.top>e.bottom,o=t.right<e.left,s=t.left>e.right;return i||r||o||s})}function ET(t,n){return n.some(e=>{let i=t.top<e.top,r=t.bottom>e.bottom,o=t.left<e.left,s=t.right>e.right;return i||r||o||s})}function DT(t,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,i=n;for(;i;){if(i===t)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}function Ao(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function IT(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(oz);return!e||e==="px"?parseFloat(n):null}return t||null}function MT(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function sz(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}function lz(t){return()=>t.scrollStrategies.reposition()}var wT,Oh,kh,Ec,Nh,AT,Ro,Fh,RT,OT,kT,NT,jh,a_,Oo,ST,oz,Lh,TT,Ph,FT,gt,az,LT,ma,Vh,cz,qi,l_=f(()=>{"use strict";b();b();pe();Ui();ah();dc();eT();hc();Se();Qe();nT();kb();fa();qb();Rh();_c();hh();xr();zi();wT=_h(),Oh=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,e){this._viewportRuler=n,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=rt(-this._previousScrollPosition.left),n.style.top=rt(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,i=n.style,r=e.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),wT&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),wT&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}},kh=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,e,i,r){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=r}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(me(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}},Ec=class{enable(){}disable(){}attach(){}};Nh=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,e,i,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=r}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();s_(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},AT=(()=>{class t{_scrollDispatcher=u(da);_viewportRuler=u(ua);_ngZone=u(L);_document=u(H);constructor(){}noop=()=>new Ec;close=e=>new kh(this._scrollDispatcher,this._ngZone,this._viewportRuler,e);block=()=>new Oh(this._viewportRuler,this._document);reposition=e=>new Nh(this._scrollDispatcher,this._viewportRuler,this._ngZone,e);static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ro=class{positionStrategy;scrollStrategy=new Ec;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(n){if(n){let e=Object.keys(n);for(let i of e)n[i]!==void 0&&(this[i]=n[i])}}},Fh=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}},RT=(()=>{class t{_attachedOverlays=[];_document=u(H);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),OT=(()=>{class t extends RT{_ngZone=u(L);_renderer=u(dt).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let i=this._attachedOverlays;for(let r=i.length-1;r>-1;r--)if(i[r]._keydownEvents.observers.length>0){this._ngZone.run(()=>i[r]._keydownEvents.next(e));break}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),kT=(()=>{class t extends RT{_platform=u(Le);_ngZone=u(L);_renderer=u(dt).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){let i=this._document.body,r={capture:!0};this._cleanups=this._ngZone.runOutsideAngular(()=>[xn(this._renderer,i,"pointerdown",this._pointerDownListener,r),xn(this._renderer,i,"click",this._clickListener,r),xn(this._renderer,i,"auxclick",this._clickListener,r),xn(this._renderer,i,"contextmenu",this._clickListener,r)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=Pt(e)};_clickListener=e=>{let i=Pt(e),r=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let o=this._attachedOverlays.slice();for(let s=o.length-1;s>-1;s--){let a=o[s];if(a._outsidePointerEvents.observers.length<1||!a.hasAttached())continue;if(DT(a.overlayElement,i)||DT(a.overlayElement,r))break;let l=a._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(e)):l.next(e)}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();NT=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
18
+ `],encapsulation:2,changeDetection:0})}return t})(),jh=(()=>{class t{_platform=u(Le);_containerElement;_document=u(H);_styleLoader=u(en);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||Kb()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}let i=this._document.createElement("div");i.classList.add(e),Kb()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(NT)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),a_=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(n,e,i,r){this._renderer=e,this._ngZone=i,this.element=n.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",r)}detach(){this._ngZone.runOutsideAngular(()=>{let n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}},Oo=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new T;_attachments=new T;_detachments=new T;_positionStrategy;_scrollStrategy;_locationChanges=_e.EMPTY;_backdropRef=null;_previousHostParent;_keydownEvents=new T;_outsidePointerEvents=new T;_renders=new T;_afterRenderRef;_afterNextRenderRef;constructor(n,e,i,r,o,s,a,l,c,d=!1,h,m){this._portalOutlet=n,this._host=e,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._injector=h,this._renderer=m,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy,this._afterRenderRef=_n(()=>Sl(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=dn(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,n&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=_(_({},this._config),n),this._updateElementSize()}setDirection(n){this._config=ie(_({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=rt(this._config.width),n.height=rt(this._config.height),n.minWidth=rt(this._config.minWidth),n.minHeight=rt(this._config.minHeight),n.maxWidth=rt(this._config.maxWidth),n.maxHeight=rt(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new a_(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,e,i){let r=aa(e||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let n=this._renders.pipe(ve(Et(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){let n=this._scrollStrategy;n?.disable(),n?.detach?.()}},ST="cdk-overlay-connected-position-bounding-box",oz=/([A-Za-z%]+)$/,Lh=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new T;_resizeSubscription=_e.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(ST),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let n=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,r,a),c=this._getOverlayPoint(l,e,a),d=this._getOverlayFit(c,e,i,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(d,c,i)){o.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!s||s.overlayFit.visibleArea<d.visibleArea)&&(s={overlayFit:d,overlayPoint:c,originPoint:l,position:a,overlayRect:e})}if(o.length){let a=null,l=-1;for(let c of o){let d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,a=c)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ao(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(ST),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let r;if(i.originX=="center")r=n.left+n.width/2;else{let s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;r=i.originX=="start"?s:a}e.left<0&&(r-=e.left);let o;return i.originY=="center"?o=n.top+n.height/2:o=i.originY=="top"?n.top:n.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(n,e,i){let r;i.overlayX=="center"?r=-e.width/2:i.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let o;return i.overlayY=="center"?o=-e.height/2:o=i.overlayY=="top"?0:-e.height,{x:n.x+r,y:n.y+o}}_getOverlayFit(n,e,i,r){let o=MT(e),{x:s,y:a}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let d=0-s,h=s+o.width-i.width,m=0-a,p=a+o.height-i.height,g=this._subtractOverflows(o.width,d,h),y=this._subtractOverflows(o.height,m,p),I=g*y;return{visibleArea:I,isCompletelyWithinViewport:o.width*o.height===I,fitsInViewportVertically:y===o.height,fitsInViewportHorizontally:g==o.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){let r=i.bottom-e.y,o=i.right-e.x,s=IT(this._overlayRef.getConfig().minHeight),a=IT(this._overlayRef.getConfig().minWidth),l=n.fitsInViewportVertically||s!=null&&s<=r,c=n.fitsInViewportHorizontally||a!=null&&a<=o;return l&&c}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let r=MT(e),o=this._viewportRect,s=Math.max(n.x+r.width-o.width,0),a=Math.max(n.y+r.height-o.height,0),l=Math.max(o.top-i.top-n.y,0),c=Math.max(o.left-i.left-n.x,0),d=0,h=0;return r.width<=o.width?d=c||-s:d=n.x<this._viewportMargin?o.left-i.left-n.x:0,r.height<=o.height?h=l||-a:h=n.y<this._viewportMargin?o.top-i.top-n.y:0,this._previousPushAmount={x:d,y:h},{x:n.x+d,y:n.y+h}}_applyPosition(n,e){if(this._setTransformOrigin(n),this._setOverlayElementStyles(e,n),this._setBoundingBoxStyles(e,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){let i=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!sz(this._lastScrollVisibility,i)){let r=new Fh(n,i);this._positionChanges.next(r)}this._lastScrollVisibility=i}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),i,r=n.overlayY;n.overlayX==="center"?i="center":this._isRtl()?i=n.overlayX==="start"?"right":"left":i=n.overlayX==="start"?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(n,e){let i=this._viewportRect,r=this._isRtl(),o,s,a;if(e.overlayY==="top")s=n.y,o=i.height-s+this._viewportMargin;else if(e.overlayY==="bottom")a=i.height-n.y+this._viewportMargin*2,o=i.height-a+this._viewportMargin;else{let p=Math.min(i.bottom-n.y+i.top,n.y),g=this._lastBoundingBoxSize.height;o=p*2,s=n.y-p,o>g&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-g/2)}let l=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,c=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,d,h,m;if(c)m=i.width-n.x+this._viewportMargin*2,d=n.x-this._viewportMargin;else if(l)h=n.x,d=i.right-n.x;else{let p=Math.min(i.right-n.x+i.left,n.x),g=this._lastBoundingBoxSize.width;d=p*2,h=n.x-p,d>g&&!this._isInitialRender&&!this._growAfterOpen&&(h=n.x-g/2)}return{top:s,left:h,bottom:a,right:m,width:d,height:o}}_setBoundingBoxStyles(n,e){let i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=rt(i.height),r.top=rt(i.top),r.bottom=rt(i.bottom),r.width=rt(i.width),r.left=rt(i.left),r.right=rt(i.right),e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=rt(o)),s&&(r.maxWidth=rt(s))}this._lastBoundingBoxSize=i,Ao(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Ao(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ao(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();Ao(i,this._getExactOverlayY(e,n,d)),Ao(i,this._getExactOverlayX(e,n,d))}else i.position="static";let a="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=rt(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=rt(s.maxWidth):o&&(i.maxWidth="")),Ao(this._pane.style,i)}_getExactOverlayY(n,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),n.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;r.bottom=`${s-(o.y+this._overlayRect.height)}px`}else r.top=rt(o.y);return r}_getExactOverlayX(n,e,i){let r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i));let s;if(this._isRtl()?s=n.overlayX==="end"?"left":"right":s=n.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;r.right=`${a-(o.x+this._overlayRect.width)}px`}else r.left=rt(o.x);return r}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ET(n,i),isOriginOutsideView:s_(n,i),isOverlayClipped:ET(e,i),isOverlayOutsideView:s_(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&aa(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){let n=this._origin;if(n instanceof B)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}};TT="cdk-global-overlay-wrapper",Ph=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(TT),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=(r==="100%"||r==="100vw")&&(!s||s==="100%"||s==="100vw"),c=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,h=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",p="",g="",y="";l?y="flex-start":d==="center"?(y="center",m?g=h:p=h):m?d==="left"||d==="end"?(y="flex-end",p=h):(d==="right"||d==="start")&&(y="flex-start",g=h):d==="left"||d==="start"?(y="flex-start",p=h):(d==="right"||d==="end")&&(y="flex-end",g=h),n.position=this._cssPosition,n.marginLeft=l?"0":p,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":g,e.justifyContent=y,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(TT),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},FT=(()=>{class t{_viewportRuler=u(ua);_document=u(H);_platform=u(Le);_overlayContainer=u(jh);constructor(){}global(){return new Ph}flexibleConnectedTo(e){return new Lh(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),gt=(()=>{class t{scrollStrategies=u(AT);_overlayContainer=u(jh);_positionBuilder=u(FT);_keyboardDispatcher=u(OT);_injector=u(he);_ngZone=u(L);_document=u(H);_directionality=u(_t);_location=u(ei);_outsideClickDispatcher=u(kT);_animationsModuleType=u(Xe,{optional:!0});_idGenerator=u(jt);_renderer=u(dt).createRenderer(null,null);_appRef;_styleLoader=u(en);constructor(){}create(e){this._styleLoader.load(NT);let i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new Ro(e);return s.direction=s.direction||this._directionality.value,new Oo(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(et),this._renderer)}position(){return this._positionBuilder}_createPaneElement(e){let i=this._document.createElement("div");return i.id=this._idGenerator.getId("cdk-overlay-"),i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(qt)),new wc(e,null,this._appRef,this._injector,this._document)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),az=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],LT=new C("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(gt);return()=>t.scrollStrategies.reposition()}}),ma=(()=>{class t{elementRef=u(B);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),Vh=(()=>{class t{_overlay=u(gt);_dir=u(_t,{optional:!0});_overlayRef;_templatePortal;_backdropSubscription=_e.EMPTY;_attachSubscription=_e.EMPTY;_detachSubscription=_e.EMPTY;_positionSubscription=_e.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=u(LT);_disposeOnNavigation=!1;_ngZone=u(L);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}backdropClick=new z;positionChange=new z;attach=new z;detach=new z;overlayKeydown=new z;overlayOutsideClick=new z;constructor(){let e=u(an),i=u(Mt);this._templatePortal=new Er(e,i),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=az);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!At(i)&&(i.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let r=this._getOriginElement(),o=Pt(i);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new Ro({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof ma?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof ma?this.origin.elementRef.nativeElement:this.origin instanceof B?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(rg(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",Me],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",Me],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",Me],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",Me],push:[2,"cdkConnectedOverlayPush","push",Me],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",Me]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Ve]})}return t})();cz={provide:LT,deps:[gt],useFactory:lz},qi=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({providers:[gt,cz],imports:[oi,Dr,o_,o_]})}return t})()});var Bh=f(()=>{"use strict";l_();fa()});var c_=f(()=>{"use strict";Rh()});function VT(t){return()=>t.scrollStrategies.reposition({scrollThrottle:d_})}function UT(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var dz,d_,u_,BT,HT,PT,jT,uz,fz,hz,pz,Ki,zT,No,$T=f(()=>{"use strict";b();b();Hi();Bh();fa();Qe();yc();xr();pe();gc();zi();c_();Se();Pn();dz=["tooltip"],d_=20,u_=new C("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(gt);return()=>t.scrollStrategies.reposition({scrollThrottle:d_})}});BT={provide:u_,deps:[gt],useFactory:VT};HT=new C("mat-tooltip-default-options",{providedIn:"root",factory:UT}),PT="tooltip-panel",jT=br({passive:!0}),uz=8,fz=8,hz=24,pz=200,Ki=(()=>{class t{_elementRef=u(B);_ngZone=u(L);_platform=u(Le);_ariaDescriber=u(JM);_focusMonitor=u(wo);_dir=u(_t);_injector=u(he);_viewContainerRef=u(Mt);_defaultOptions=u(HT,{optional:!0});_overlayRef;_tooltipInstance;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=zT;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;_dirSubscribed=!1;get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=ca(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let i=ca(e);this._disabled!==i&&(this._disabled=i,i?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=_r(e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=_r(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(e){let i=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(i)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_touchstartTimeout=null;_destroyed=new T;_isDestroyed=!1;constructor(){let e=this._defaultOptions;e&&(this._showDelay=e.showDelay,this._hideDelay=e.hideDelay,e.position&&(this.position=e.position),e.positionAtOrigin&&(this.positionAtOrigin=e.positionAtOrigin),e.touchGestures&&(this.touchGestures=e.touchGestures),e.tooltipClass&&(this.tooltipClass=e.tooltipClass)),this._viewportMargin=uz}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(ve(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{e.removeEventListener(i,r,jT)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let r=this._createOverlay(i);this._detach(),this._portal=this._portal||new Wi(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(ve(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let s=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&s._origin instanceof B)return this._overlayRef;this._detach()}let i=this._injector.get(da).getAncestorScrollContainers(this._elementRef),r=this._injector.get(gt),o=r.position().flexibleConnectedTo(this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(ve(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=r.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${PT}`,scrollStrategy:this._injector.get(u_)()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(ve(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(ve(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(ve(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&s.keyCode===27&&!At(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(ve(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let i=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset(_(_({},r.main),o.main)),this._addOffset(_(_({},r.fallback),o.fallback))])}_addOffset(e){let i=fz,r=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-i:e.originY==="bottom"?e.offsetY=i:e.originX==="start"?e.offsetX=r?-i:i:e.originX==="end"&&(e.offsetX=r?i:-i),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"||i=="below"?r={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={originX:"start",originY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={originX:"end",originY:"center"});let{x:o,y:s}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:s}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"?r={overlayX:"center",overlayY:"bottom"}:i=="below"?r={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={overlayX:"start",overlayY:"center"});let{x:o,y:s}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),dn(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){let{overlayY:i,originX:r,originY:o}=e,s;if(i==="center"?this._dir&&this._dir.value==="rtl"?s=r==="end"?"left":"right":s=r==="start"?"left":"right":s=i==="bottom"&&o==="top"?"above":"below",s!==this._currentPosition){let a=this._overlayRef;if(a){let l=`${this._cssClassPrefix}-${PT}-`;a.removePanelClass(l+this._currentPosition),a.addPanelClass(l+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let i;e.x!==void 0&&e.y!==void 0&&(i=e),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let i=e.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},this._defaultOptions?.touchLongPressShowDelay??o)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{let r=i.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,jT)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let i=this._injector.get(H).elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let i=this._elementRef.nativeElement,r=i.style;(e==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(e==="on"||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._isDestroyed||dn({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){i&2&&Q("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return t})(),zT=(()=>{class t{_changeDetectorRef=u(at);_elementRef=u(B);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled;_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new T;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){let e=u(Xe,{optional:!0});this._animationsDisabled=e==="NoopAnimations"}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>hz&&e.width>=pz}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:r),i.classList.add(e?r:o),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let s=getComputedStyle(i);(s.getPropertyValue("animation-duration")==="0s"||s.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,r){if(i&1&&Be(dz,7),i&2){let o;Ee(o=De())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,r){i&1&&ee("mouseleave",function(s){return r._handleMouseLeave(s)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,r){if(i&1){let o=ke();E(0,"div",1,0),ee("animationend",function(a){return Ce(o),xe(r._handleAnimationEnd(a))}),E(2,"div",2),se(3),M()()}i&2&&(Q("mdc-tooltip--multiline",r._isMultiline),S("ngClass",r.tooltipClass),x(3),ft(r.message))},dependencies:[Oi],styles:[`.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel{line-height:normal}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}
19
+ `],encapsulation:2,changeDetection:0})}return t})(),No=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({providers:[BT],imports:[pc,qi,Ue,Ue,Mo]})}return t})()});var Sr=f(()=>{"use strict";$T()});var GT,WT=f(()=>{"use strict";b();b();GT=(()=>{class t{_animationMode=u(Xe,{optional:!0});state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,r){i&2&&Q("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(i,r){},styles:[`.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}
20
+ `],encapsulation:2,changeDetection:0})}return t})()});function vz(t,n){if(t&1&&q(0,"mat-pseudo-checkbox",1),t&2){let e=G();S("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function bz(t,n){if(t&1&&q(0,"mat-pseudo-checkbox",3),t&2){let e=G();S("disabled",e.disabled)}}function _z(t,n){if(t&1&&(E(0,"span",4),se(1),M()),t&2){let e=G();x(),Je("(",e.group.label,")")}}function qT(t,n,e){if(e.length){let i=n.toArray(),r=e.toArray(),o=0;for(let s=0;s<t+1;s++)i[s].group&&i[s].group===r[o]&&o++;return o}return 0}function KT(t,n,e,i){return t<e?t:t+n>e+i?Math.max(0,t-i+n):e}var mz,gz,yz,h_,p_,f_,Fo,m_=f(()=>{"use strict";Hi();xr();b();b();Se();Xb();WT();t_();sa();mz=["text"],gz=[[["mat-icon"]],"*"],yz=["mat-icon","*"];h_=new C("MAT_OPTION_PARENT_COMPONENT"),p_=new C("MatOptgroup"),f_=class{source;isUserInput;constructor(n,e=!1){this.source=n,this.isUserInput=e}},Fo=(()=>{class t{_element=u(B);_changeDetectorRef=u(at);_parent=u(h_,{optional:!0});group=u(p_,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_disabled=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=u(jt).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=e}get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new z;_text;_stateChanges=new T;constructor(){let e=u(en);e.load(xh),e.load(oa),this._signalDisableRipple=!!this._parent&&Ls(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,i){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!At(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new f_(this,e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["mat-option"]],viewQuery:function(i,r){if(i&1&&Be(mz,7),i&2){let o;Ee(o=De())&&(r._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,r){i&1&&ee("click",function(){return r._selectViaInteraction()})("keydown",function(s){return r._handleKeydown(s)}),i&2&&(mr("id",r.id),we("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),Q("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",Me]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:yz,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,r){i&1&&(Zt(gz),re(0,vz,1,2,"mat-pseudo-checkbox",1),ze(1),E(2,"span",2,0),ze(4,1),M(),re(5,bz,1,1,"mat-pseudo-checkbox",3)(6,_z,2,1,"span",4),q(7,"div",5)),i&2&&(it(r.multiple?0:-1),x(5),it(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),x(),it(r.group&&r.group._inert?6:-1),x(),S("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[GT,aT],styles:[`.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}
21
+ `],encapsulation:2,changeDetection:0})}return t})()});var g_,YT,QT=f(()=>{"use strict";b();b();Se();Qe();g_=class{_box;_destroyed=new T;_resizeSubject=new T;_resizeObserver;_elementObservables=new Map;constructor(n){this._box=n,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new Z(e=>{let i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),i.unsubscribe(),this._elementObservables.delete(n)}}).pipe(me(e=>e.some(i=>i.target===n)),Xr({bufferSize:1,refCount:!0}),ve(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},YT=(()=>{class t{_cleanupErrorListener;_observers=new Map;_ngZone=u(L);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,i){let r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new g_(r)),this._observers.get(r).observe(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});function Rz(t,n){t&1&&q(0,"span",20)}function Oz(t,n){if(t&1&&(E(0,"label",19),ze(1,1),re(2,Rz,1,0,"span",20),M()),t&2){let e=G(2);S("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),we("for",e._control.disableAutomaticLabeling?null:e._control.id),x(2),it(!e.hideRequiredMarker&&e._control.required?2:-1)}}function kz(t,n){if(t&1&&re(0,Oz,3,5,"label",19),t&2){let e=G();it(e._hasFloatingLabel()?0:-1)}}function Nz(t,n){t&1&&q(0,"div",7)}function Fz(t,n){}function Lz(t,n){if(t&1&&re(0,Fz,0,0,"ng-template",13),t&2){G(2);let e=Xt(1);S("ngTemplateOutlet",e)}}function Pz(t,n){if(t&1&&(E(0,"div",9),re(1,Lz,1,1,null,13),M()),t&2){let e=G();S("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),x(),it(e._forceDisplayInfixLabel()?-1:1)}}function jz(t,n){t&1&&(E(0,"div",10,2),ze(2,2),M())}function Vz(t,n){t&1&&(E(0,"div",11,3),ze(2,3),M())}function Bz(t,n){}function Uz(t,n){if(t&1&&re(0,Bz,0,0,"ng-template",13),t&2){G();let e=Xt(1);S("ngTemplateOutlet",e)}}function Hz(t,n){t&1&&(E(0,"div",14,4),ze(2,4),M())}function zz(t,n){t&1&&(E(0,"div",15,5),ze(2,5),M())}function $z(t,n){t&1&&q(0,"div",16)}function Gz(t,n){t&1&&ze(0,6)}function Wz(t,n){if(t&1&&(E(0,"mat-hint",21),se(1),M()),t&2){let e=G(2);S("id",e._hintLabelId),x(),ft(e.hintLabel)}}function qz(t,n){if(t&1&&(re(0,Wz,2,2,"mat-hint",21),ze(1,7),q(2,"div",22),ze(3,8)),t&2){let e=G();it(e.hintLabel?0:-1)}}function Kz(t){let n=t;if(n.offsetParent!==null)return n.scrollWidth;let e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let i=e.scrollWidth;return e.remove(),i}var Cz,xz,wz,Ez,Dz,Sz,Iz,Mz,Tz,Az,Lo,iA,y_,rA,oA,sA,ZT,XT,$h,JT,eA,Gh,Wh,aA,tA,Yz,nA,Qz,Dc,v_=f(()=>{"use strict";zi();yc();gc();pe();b();b();Hi();Se();Qe();QT();Cz=["notch"],xz=["matFormFieldNotchedOutline",""],wz=["*"],Ez=["textField"],Dz=["iconPrefixContainer"],Sz=["textPrefixContainer"],Iz=["iconSuffixContainer"],Mz=["textSuffixContainer"],Tz=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Az=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];Lo=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["mat-label"]]})}return t})(),iA=new C("MatError"),y_=(()=>{class t{align="start";id=u(jt).getId("mat-mdc-hint-");static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,r){i&2&&(mr("id",r.id),we("align",null),Q("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"}})}return t})(),rA=new C("MatPrefix"),oA=new C("MatSuffix"),sA=new C("FloatingLabelParent"),ZT=(()=>{class t{_elementRef=u(B);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=u(YT);_ngZone=u(L);_parent=u(sA);_resizeSubscription=new _e;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Kz(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){i&2&&Q("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return t})();XT="mdc-line-ripple--active",$h="mdc-line-ripple--deactivating",JT=(()=>{class t{_elementRef=u(B);_cleanupTransitionEnd;constructor(){let e=u(L),i=u(ut);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=i.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove($h),e.add(XT)}deactivate(){this._elementRef.nativeElement.classList.add($h)}_handleTransitionEnd=e=>{let i=this._elementRef.nativeElement.classList,r=i.contains($h);e.propertyName==="opacity"&&r&&i.remove(XT,$h)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return t})(),eA=(()=>{class t{_elementRef=u(B);_ngZone=u(L);open=!1;_notch;constructor(){}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,r){if(i&1&&Be(Cz,5),i&2){let o;Ee(o=De())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,r){i&2&&Q("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:xz,ngContentSelectors:wz,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(i,r){i&1&&(Zt(),q(0,"div",1),E(1,"div",2,0),ze(3),M(),q(4,"div",3))},encapsulation:2,changeDetection:0})}return t})(),Gh=(()=>{class t{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t})}return t})(),Wh=new C("MatFormField"),aA=new C("MAT_FORM_FIELD_DEFAULT_OPTIONS"),tA="fill",Yz="auto",nA="fixed",Qz="translateY(-50%)",Dc=(()=>{class t{_elementRef=u(B);_changeDetectorRef=u(at);_dir=u(_t);_platform=u(Le);_idGenerator=u(jt);_ngZone=u(L);_injector=u(he);_defaults=u(aA,{optional:!0});_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=MS(Lo);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=ca(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||Yz}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearance}set appearance(e){let i=this._appearance,r=e||this._defaults?.appearance||tA;this._appearance=r,this._appearance==="outline"&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdate=!0)}_appearance=tA;get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||nA}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||nA}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new T;_isFocused=null;_explicitFormFieldControl;_needsOutlineLabelOffsetUpdate=!1;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_animationsDisabled;constructor(){let e=this._defaults;e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),this._animationsDisabled=u(Xe,{optional:!0})==="NoopAnimations"}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=Ri(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let i=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(r+i.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=i.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=i.stateChanges.pipe(Nt([void 0,void 0]),j(()=>[i.errorState,i.userAriaDescribedBy]),du(),me(([[o,s],[a,l]])=>o!==a||s!==l)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(ve(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Et(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),Sl(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(ve(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=Ri(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let i=this._hintChildren?this._hintChildren.find(o=>o.align==="start"):null,r=this._hintChildren?this._hintChildren.find(o=>o.align==="end"):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let i=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=this._iconSuffixContainer?.nativeElement,s=this._textSuffixContainer?.nativeElement,a=i?.getBoundingClientRect().width??0,l=r?.getBoundingClientRect().width??0,c=o?.getBoundingClientRect().width??0,d=s?.getBoundingClientRect().width??0,h=this._dir.value==="rtl"?"-1":"1",m=`${a+l}px`,g=`calc(${h} * (${m} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var(
9
22
  --mat-mdc-form-field-label-transform,
10
- ${KU} translateX(${v})
11
- )`;let b=a+l+c+d;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${b}px)`)}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(et),p(F),p(Ft),p(Oe),p(qU,8),p(rt,8),p(z))}}static{this.\u0275cmp=Y({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,r,o){if(i&1&&(PD(o,r._labelChild,la,5),kn(o,ob,5),kn(o,$U,5),kn(o,HU,5),kn(o,UU,5),kn(o,hM,5)),i&2){jD();let s;Ce(s=we())&&(r._formFieldControl=s.first),Ce(s=we())&&(r._prefixChildren=s),Ce(s=we())&&(r._suffixChildren=s),Ce(s=we())&&(r._errorChildren=s),Ce(s=we())&&(r._hintChildren=s)}},viewQuery:function(i,r){if(i&1&&(Be(vU,5),Be(yU,5),Be(bU,5),Be(_U,5),Be(xU,5),Be(pM,5),Be(vM,5),Be(gM,5)),i&2){let o;Ce(o=we())&&(r._textField=o.first),Ce(o=we())&&(r._iconPrefixContainer=o.first),Ce(o=we())&&(r._textPrefixContainer=o.first),Ce(o=we())&&(r._iconSuffixContainer=o.first),Ce(o=we())&&(r._textSuffixContainer=o.first),Ce(o=we())&&(r._floatingLabel=o.first),Ce(o=we())&&(r._notchedOutline=o.first),Ce(o=we())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,r){i&2&&ae("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-no-animations",r._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-focused",r._control.focused)("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[Ot([{provide:sb,useExisting:t},{provide:xM,useExisting:t}]),Ee],ngContentSelectors:wU,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,r){if(i&1){let o=Pe();on(CU),ie(0,IU,1,1,"ng-template",null,0,xo),I(2,"div",6,1),ee("click",function(a){return ye(o),be(r._control.onContainerClick(a))}),ie(4,SU,1,0,"div",7),I(5,"div",8),ie(6,TU,2,2,"div",9)(7,RU,3,0,"div",10)(8,OU,3,0,"div",11),I(9,"div",12),ie(10,kU,1,1,null,13),Ge(11),T(),ie(12,NU,3,0,"div",14)(13,LU,3,0,"div",15),T(),ie(14,PU,1,0,"div",16),T(),I(15,"div",17),ie(16,jU,2,1,"div",18)(17,BU,5,2,"div",19),T()}if(i&2){let o;w(2),ae("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),w(2),ot(!r._hasOutline()&&!r._control.disabled?4:-1),w(2),ot(r._hasOutline()?6:-1),w(),ot(r._hasIconPrefix?7:-1),w(),ot(r._hasTextPrefix?8:-1),w(2),ot(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),w(2),ot(r._hasTextSuffix?12:-1),w(),ot(r._hasIconSuffix?13:-1),w(),ot(r._hasOutline()?-1:14),w(),ae("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic"),w(),ot((o=r._getDisplayedMessages())==="error"?16:o==="hint"?17:-1)}},dependencies:[pM,vM,Yu,gM,hM],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--disabled .cdk-high-contrast-active .mdc-text-field__input{background-color:Window}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-app-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.cdk-high-contrast-active .mdc-text-field--disabled .mdc-floating-label{z-index:1}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-app-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-app-outline));border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-app-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-app-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-app-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-app-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-app-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-app-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-app-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-app-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-app-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-app-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-app-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-app-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-app-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-app-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-app-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-app-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-app-body-large-weight))}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-app-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-app-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-app-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[WU.transitionMessages]},changeDetection:0})}}return t})(),th=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[Ye,st,If,Ye]})}}return t})()});function ez(t,n){if(t&1&&(I(0,"span",4),le(1),T()),t&2){let e=H();w(),ft(e.placeholder)}}function tz(t,n){t&1&&Ge(0)}function nz(t,n){if(t&1&&(I(0,"span",11),le(1),T()),t&2){let e=H(2);w(),ft(e.triggerValue)}}function iz(t,n){if(t&1&&(I(0,"span",5),ie(1,tz,1,0)(2,nz,2,1,"span",11),T()),t&2){let e=H();w(),ot(e.customTrigger?1:2)}}function rz(t,n){if(t&1){let e=Pe();I(0,"div",12,1),ee("@transformPanel.done",function(r){ye(e);let o=H();return be(o._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){ye(e);let o=H();return be(o._handleKeydown(r))}),Ge(2,1),T()}if(t&2){let e=H();Pu("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),M("ngClass",e.panelClass)("@transformPanel","showing"),Ie("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}function sz(t){return()=>t.scrollStrategies.reposition()}var QU,ZU,XU,JU,oz,wM,EM,az,lz,cz,ab,nh,ih,Ql=f(()=>{"use strict";Tr();pe();D();D();Pn();Pn();Kl();Sr();Sr();Ln();Ln();Cn();YS();wr();Li();Li();Re();ct();Zf();QU=["trigger"],ZU=["panel"],XU=[[["mat-select-trigger"]],"*"],JU=["mat-select-trigger","*"];oz={transformPanelWrap:ql("transformPanelWrap",[sa("* => void",sM("@transformPanel",[oM()],{optional:!0}))]),transformPanel:ql("transformPanel",[Kf("void",si({opacity:0,transform:"scale(1, 0.8)"})),sa("void => showing",Yl("120ms cubic-bezier(0, 0, 0.2, 1)",si({opacity:1,transform:"scale(1, 1)"}))),sa("* => void",Yl("100ms linear",si({opacity:0})))])},wM=0,EM=new C("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=y(dt);return()=>t.scrollStrategies.reposition()}});az=new C("MAT_SELECT_CONFIG"),lz={provide:EM,deps:[dt],useFactory:sz},cz=new C("MatSelectTrigger"),ab=class{constructor(n,e){this.source=n,this.value=e}},nh=(()=>{class t{_scrollOptionIntoView(e){let i=this.options.toArray()[e];if(i){let r=this.panel.nativeElement,o=NS(e,this.options,this.optionGroups),s=i._getHostElement();e===0&&o===1?r.scrollTop=0:r.scrollTop=LS(s.offsetTop,s.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new ab(this,e)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(cf.required)??!1}set required(e){this._required=e,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,i,r,o,s,a,l,c,d,u,m,h,v,b){this._viewportRuler=e,this._changeDetectorRef=i,this._elementRef=s,this._dir=a,this._parentFormField=d,this.ngControl=u,this._liveAnnouncer=v,this._defaultOptions=b,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(E,S)=>E===S,this._uid=`mat-select-${wM++}`,this._triggerAriaLabelledBy=null,this._destroy=new R,this.stateChanges=new R,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${wM++}`,this._panelDoneAnimatingStream=new R,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new R,this.optionSelectionChanges=Kt(()=>{let E=this.options;return E?E.changes.pipe(Zt(E),qe(()=>St(...E.map(S=>S.onSelectionChange)))):this._initialized.pipe(qe(()=>this.optionSelectionChanges))}),this.openedChange=new P,this._openedStream=this.openedChange.pipe(xe(E=>E),k(()=>{})),this._closedStream=this.openedChange.pipe(xe(E=>!E),k(()=>{})),this.selectionChange=new P,this.valueChange=new P,this._trackedModal=null,this._skipPredicate=E=>this.panelOpen?!1:E.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),b?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=b.typeaheadDebounceInterval),this._errorStateTracker=new jf(o,u,c,l,this.stateChanges),this._scrollStrategyFactory=h,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(m)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Wf(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(no(),fe(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(fe(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(fe(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Zt(null),fe(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){let r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(this._previousControl!==void 0&&i.disabled!==null&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=`${this.id}-panel`;this._trackedModal&&kf(this._trackedModal,"aria-owns",i),Ay(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;kf(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let i=e.keyCode,r=i===40||i===38||i===37||i===39,o=i===13||i===32,s=this._keyManager;if(!s.isTyping()&&o&&!Bt(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){let a=this.selected;s.onKeydown(e);let l=this.selected;l&&a!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){let i=this._keyManager,r=e.keyCode,o=r===40||r===38,s=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(!s&&(r===13||r===32)&&i.activeItem&&!Bt(e))e.preventDefault(),i.activeItem._selectViaInteraction();else if(!s&&this._multiple&&r===65&&e.ctrlKey){e.preventDefault();let a=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(a?l.select():l.deselect())})}else{let a=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==a&&i.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Ue(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{let i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return r.value!=null&&this._compareWith(r.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof Gl?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Rf(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=St(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(fe(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),St(...this.options.map(i=>i._stateChanges)).pipe(fe(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){let r=this._selectionModel.isSelected(e);e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i;this.multiple?i=this.selected.map(r=>r.value):i=this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let i=0;i<this.options.length;i++)if(!this.options.get(i).disabled){e=i;break}this._keyManager.setActiveItem(e)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),i=e?e+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static{this.\u0275fac=function(i){return new(i||t)(p(na),p(et),p(F),p(OS),p(j),p(Ft,8),p(py,8),p(gy,8),p(sb,8),p(Ni,10),dr("tabindex"),p(EM),p(wS),p(az,8))}}static{this.\u0275cmp=Y({type:t,selectors:[["mat-select"]],contentQueries:function(i,r,o){if(i&1&&(kn(o,cz,5),kn(o,Xs,5),kn(o,Uy,5)),i&2){let s;Ce(s=we())&&(r.customTrigger=s.first),Ce(s=we())&&(r.options=s),Ce(s=we())&&(r.optionGroups=s)}},viewQuery:function(i,r){if(i&1&&(Be(QU,5),Be(ZU,5),Be(nb,5)),i&2){let o;Ce(o=we())&&(r.trigger=o.first),Ce(o=we())&&(r.panel=o.first),Ce(o=we())&&(r._overlayDir=o.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(i,r){i&1&&ee("keydown",function(s){return r._handleKeydown(s)})("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()}),i&2&&(Ie("id",r.id)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r.panelOpen?r.id+"-panel":null)("aria-expanded",r.panelOpen)("aria-label",r.ariaLabel||null)("aria-required",r.required.toString())("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState)("aria-activedescendant",r._getAriaActiveDescendant()),ae("mat-mdc-select-disabled",r.disabled)("mat-mdc-select-invalid",r.errorState)("mat-mdc-select-required",r.required)("mat-mdc-select-empty",r.empty)("mat-mdc-select-multiple",r.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",Ae],disableRipple:[2,"disableRipple","disableRipple",Ae],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Si(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Ae],placeholder:"placeholder",required:[2,"required","required",Ae],multiple:[2,"multiple","multiple",Ae],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",Ae],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",Si],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[Ot([{provide:ob,useExisting:t},{provide:By,useExisting:t}]),vt,Ve,Ee],ngContentSelectors:JU,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(i,r){if(i&1){let o=Pe();on(XU),I(0,"div",2,0),ee("click",function(){return ye(o),be(r.open())}),I(3,"div",3),ie(4,ez,2,1,"span",4)(5,iz,3,1,"span",5),T(),I(6,"div",6)(7,"div",7),al(),I(8,"svg",8),Q(9,"path",9),T()()()(),ie(10,rz,3,9,"ng-template",10),ee("backdropClick",function(){return ye(o),be(r.close())})("attach",function(){return ye(o),be(r._onAttached())})("detach",function(){return ye(o),be(r.close())})}if(i&2){let o=qt(1);w(3),Ie("id",r._valueId),w(),ot(r.empty?4:5),w(6),M("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||o)("cdkConnectedOverlayOpen",r.panelOpen)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)}},dependencies:[Gl,nb,fr],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-app-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-app-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-app-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-app-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-app-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-app-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color, var(--mat-app-surface-container))}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-app-on-surface-variant))}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[oz.transformPanel]},changeDetection:0})}}return t})(),ih=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({providers:[lz],imports:[st,Ar,zy,Ye,ea,th,zy,Ye]})}}return t})()});function cb(t){for(let n in t){let e=t[n]??"";switch(n){case"display":e==="flex"?t.display=["-webkit-flex","flex"]:e==="inline-flex"?t.display=["-webkit-inline-flex","inline-flex"]:t.display=e;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":t["-webkit-"+n]=e;break;case"flex-direction":t["-webkit-flex-direction"]=e,t["flex-direction"]=e;break;case"order":t.order=t["-webkit-"+n]=isNaN(+e)?"0":e;break}}return t}function rh(t){let[n,e,i]=IM(t);return uz(n,e,i)}function IM(t){t=t?.toLowerCase()??"";let[n,e,i]=t.split(" ");return Zl.find(r=>r===n)||(n=Zl[0]),e===lb&&(e=i!==lb?i:"",i=lb),[n,dz(e),!!i]}function Xl(t){let[n]=IM(t);return n.indexOf("row")>-1}function dz(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap";break}return t}function uz(t,n=null,e=!1){return{display:e?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":n||null}}function jn(t,...n){if(t==null)throw TypeError("Cannot convert undefined or null to object");for(let e of n)if(e!=null)for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}var lb,Zl,db=f(()=>{"use strict";lb="inline",Zl=["row","column","row-reverse","column-reverse"];});function fz(t,n){return()=>{if(Xn(n)){let e=Array.from(t.querySelectorAll(`[class*=${SM}]`)),i=/\bflex-layout-.+?\b/g;e.forEach(r=>{r.classList.contains(`${SM}ssr`)&&r.parentNode?r.parentNode.removeChild(r):r.className.replace(i,"")})}}}function jM(t,n){return t=t?.clone()??new Oo,n&&(t.mqAlias=n.alias,t.mediaQuery=n.mediaQuery,t.suffix=n.suffix,t.priority=n.priority),t}function mz(t,n){return VM(t)[n]??""}function gz(t,n,e){n=n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();let i=VM(t);i[n]=e??"",vz(t,i)}function vz(t,n){let e="";for(let i in n)n[i]&&(e+=`${i}:${n[i]};`);t.setAttribute("style",e)}function VM(t){let n={},e=t.getAttribute("style");if(e){let i=e.split(/;+/g);for(let r=0;r<i.length;r++){let o=i[r].trim();if(o.length>0){let s=o.indexOf(":");if(s===-1)throw new Error(`Invalid CSS style: ${o}`);let a=o.substr(0,s).trim();n[a]=o.substr(s+1).trim()}}}return n}function Jl(t,n){let e=t&&t.priority||0;return(n&&n.priority||0)-e}function yz(t,n){let e=t.priority||0,i=n.priority||0;return e-i}function _z(t,n,e){let i=t.filter(r=>!MM[r]);if(i.length>0){let r=i.join(", ");try{let o=n.createElement("style");if(o.setAttribute("type","text/css"),e&&o.setAttribute("nonce",e),!o.styleSheet){let s=`
23
+ ${Qz} translateX(${g})
24
+ )`;let y=a+l+c+d;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${y}px)`)}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,r,o){if(i&1&&(tI(o,r._labelChild,Lo,5),kn(o,Gh,5),kn(o,rA,5),kn(o,oA,5),kn(o,iA,5),kn(o,y_,5)),i&2){nI();let s;Ee(s=De())&&(r._formFieldControl=s.first),Ee(s=De())&&(r._prefixChildren=s),Ee(s=De())&&(r._suffixChildren=s),Ee(s=De())&&(r._errorChildren=s),Ee(s=De())&&(r._hintChildren=s)}},viewQuery:function(i,r){if(i&1&&(Be(Ez,5),Be(Dz,5),Be(Sz,5),Be(Iz,5),Be(Mz,5),Be(ZT,5),Be(eA,5),Be(JT,5)),i&2){let o;Ee(o=De())&&(r._textField=o.first),Ee(o=De())&&(r._iconPrefixContainer=o.first),Ee(o=De())&&(r._textPrefixContainer=o.first),Ee(o=De())&&(r._iconSuffixContainer=o.first),Ee(o=De())&&(r._textSuffixContainer=o.first),Ee(o=De())&&(r._floatingLabel=o.first),Ee(o=De())&&(r._notchedOutline=o.first),Ee(o=De())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:40,hostBindings:function(i,r){i&2&&Q("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-focused",r._control.focused)("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Tt([{provide:Wh,useExisting:t},{provide:sA,useExisting:t}])],ngContentSelectors:Az,decls:20,vars:25,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["aria-atomic","true","aria-live","polite"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,r){if(i&1){let o=ke();Zt(Tz),re(0,kz,1,1,"ng-template",null,0,vo),E(2,"div",6,1),ee("click",function(a){return Ce(o),xe(r._control.onContainerClick(a))}),re(4,Nz,1,0,"div",7),E(5,"div",8),re(6,Pz,2,2,"div",9)(7,jz,3,0,"div",10)(8,Vz,3,0,"div",11),E(9,"div",12),re(10,Uz,1,1,null,13),ze(11),M(),re(12,Hz,3,0,"div",14)(13,zz,3,0,"div",15),M(),re(14,$z,1,0,"div",16),M(),E(15,"div",17),Tv(16),E(17,"div",18),re(18,Gz,1,0)(19,qz,4,1),M()()}if(i&2){let o;x(2),Q("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),x(2),it(!r._hasOutline()&&!r._control.disabled?4:-1),x(2),it(r._hasOutline()?6:-1),x(),it(r._hasIconPrefix?7:-1),x(),it(r._hasTextPrefix?8:-1),x(2),it(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),x(2),it(r._hasTextSuffix?12:-1),x(),it(r._hasIconSuffix?13:-1),x(),it(r._hasOutline()?-1:14),x(),Q("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic");let s=r._getSubscriptMessageType();x(2),Q("mat-mdc-form-field-error-wrapper",s==="error")("mat-mdc-form-field-hint-wrapper",s==="hint"),x(),it((o=s)==="error"?18:o==="hint"?19:-1)}},dependencies:[ZT,eA,Ll,JT,y_],styles:[`.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-sys-outline));border-width:var(--mdc-outlined-text-field-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}
25
+ `],encapsulation:2,changeDetection:0})}return t})()});var Sc,lA=f(()=>{"use strict";Se();Sc=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new T;constructor(n=!1,e,i=!0,r){this._multiple=n,this._emitChanges=i,this.compareWith=r,e&&e.length&&(n?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,i=new Set(n.map(o=>this._getConcreteValue(o)));n.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(this._getConcreteValue(o,i))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){n.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(n,e){if(this.compareWith){e=e??this._selection;for(let i of e)if(this.compareWith(n,i))return i;return n}else return n}}});var cA=f(()=>{"use strict";lA()});var dA,uA=f(()=>{"use strict";b();dA=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var qh,fA=f(()=>{"use strict";qh=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(n,e,i,r,o){this._defaultMatcher=n,this.ngControl=e,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=o}updateErrorState(){let n=this.errorState,e=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=i?.isErrorState(r,e)??!1;o!==n&&(this.errorState=o,this._stateChanges.next())}}});var hA,pA=f(()=>{"use strict";b();Pn();hA=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({imports:[Ue]})}return t})()});var b_,mA=f(()=>{"use strict";b();i_();Pn();pA();b_=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({imports:[wh,Ue,hA]})}return t})()});var Ic,__=f(()=>{"use strict";Nb();b();Pn();Ic=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({imports:[Ue,uh,Ue]})}return t})()});function t$(t,n){if(t&1&&(E(0,"span",4),se(1),M()),t&2){let e=G();x(),ft(e.placeholder)}}function n$(t,n){t&1&&ze(0)}function i$(t,n){if(t&1&&(E(0,"span",11),se(1),M()),t&2){let e=G(2);x(),ft(e.triggerValue)}}function r$(t,n){if(t&1&&(E(0,"span",5),re(1,n$,1,0)(2,i$,2,1,"span",11),M()),t&2){let e=G();x(),it(e.customTrigger?1:2)}}function o$(t,n){if(t&1){let e=ke();E(0,"div",12,1),ee("keydown",function(r){Ce(e);let o=G();return xe(o._handleKeydown(r))}),ze(2,1),M()}if(t&2){let e=G();vf("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),Q("mat-select-panel-animations-enabled",!e._animationsDisabled),S("ngClass",e.panelClass),we("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}function gA(t){return()=>t.scrollStrategies.reposition()}var Zz,Xz,Jz,e$,C_,yA,vA,bA,Kh,Mc,Tc,_A=f(()=>{"use strict";Bh();b();b();fa();Hi();zi();cA();xr();vr();Se();Qe();pe();v_();m_();uA();fA();mA();Pn();__();Zz=["trigger"],Xz=["panel"],Jz=[[["mat-select-trigger"]],"*"],e$=["mat-select-trigger","*"];C_=new C("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(gt);return()=>t.scrollStrategies.reposition()}});yA=new C("MAT_SELECT_CONFIG"),vA={provide:C_,deps:[gt],useFactory:gA},bA=new C("MatSelectTrigger"),Kh=class{source;value;constructor(n,e){this.source=n,this.value=e}},Mc=(()=>{class t{_viewportRuler=u(ua);_changeDetectorRef=u(at);_elementRef=u(B);_dir=u(_t,{optional:!0});_idGenerator=u(jt);_renderer=u(ut);_parentFormField=u(Wh,{optional:!0});ngControl=u(Bi,{self:!0,optional:!0});_liveAnnouncer=u(Vb);_defaultOptions=u(yA,{optional:!0});_animationsDisabled=u(Xe,{optional:!0})==="NoopAnimations";_initialized=new T;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let i=this.options.toArray()[e];if(i){let r=this.panel.nativeElement,o=qT(e,this.options,this.optionGroups),s=i._getHostElement();e===0&&o===1?r.scrollTop=0:r.scrollTop=KT(s.offsetTop,s.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new Kh(this,e)}_scrollStrategyFactory=u(C_);_panelOpen=!1;_compareWith=(e,i)=>e===i;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new T;_errorStateTracker;stateChanges=new T;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;disableRipple=!1;tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(Gf.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=on(()=>{let e=this.options;return e?e.changes.pipe(Nt(e),We(()=>Et(...e.map(i=>i.onSelectionChange)))):this._initialized.pipe(We(()=>this.optionSelectionChanges))});openedChange=new z;_openedStream=this.openedChange.pipe(me(e=>e),j(()=>{}));_closedStream=this.openedChange.pipe(me(e=>!e),j(()=>{}));selectionChange=new z;valueChange=new z;constructor(){let e=u(dA),i=u(xb,{optional:!0}),r=u(Eb,{optional:!0}),o=u(new Ds("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new qh(e,this.ngControl,r,i,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=o==null?0:parseInt(o)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Sc(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(ve(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(ve(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Nt(null),ve(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){let r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(this._previousControl!==void 0&&i.disabled!==null&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe(Pe(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=`${this.id}-panel`;this._trackedModal&&vh(this._trackedModal,"aria-owns",i),Wb(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;vh(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel){this._detachOverlay();return}this._cleanupDetach?.(),this._cleanupDetach=()=>{i(),clearTimeout(r),this._cleanupDetach=void 0};let e=this.panel.nativeElement,i=this._renderer.listen(e,"animationend",o=>{o.animationName==="_mat-select-exit"&&(this._cleanupDetach?.(),this._detachOverlay())}),r=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);e.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let i=e.keyCode,r=i===40||i===38||i===37||i===39,o=i===13||i===32,s=this._keyManager;if(!s.isTyping()&&o&&!At(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){let a=this.selected;s.onKeydown(e);let l=this.selected;l&&a!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){let i=this._keyManager,r=e.keyCode,o=r===40||r===38,s=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(!s&&(r===13||r===32)&&i.activeItem&&!At(e))e.preventDefault(),i.activeItem._selectViaInteraction();else if(!s&&this._multiple&&r===65&&e.ctrlKey){e.preventDefault();let a=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(a?l.select():l.deselect())})}else{let a=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==a&&i.activeItem._selectViaInteraction()}}_handleOverlayKeydown(e){e.keyCode===27&&!At(e)&&(e.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{let i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return(r.value!=null||this.canSelectNullableOptions)&&this._compareWith(r.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof ma?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new mc(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=Et(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(ve(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Et(...this.options.map(i=>i._stateChanges)).pipe(ve(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){let r=this._selectionModel.isSelected(e);!this.canSelectNullableOptions&&e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i;this.multiple?i=this.selected.map(r=>r.value):i=this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let i=0;i<this.options.length;i++)if(!this.options.get(i).disabled){e=i;break}this._keyManager.setActiveItem(e)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,i=e?e+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e||(e=this._valueId),e}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["mat-select"]],contentQueries:function(i,r,o){if(i&1&&(kn(o,bA,5),kn(o,Fo,5),kn(o,p_,5)),i&2){let s;Ee(s=De())&&(r.customTrigger=s.first),Ee(s=De())&&(r.options=s),Ee(s=De())&&(r.optionGroups=s)}},viewQuery:function(i,r){if(i&1&&(Be(Zz,5),Be(Xz,5),Be(Vh,5)),i&2){let o;Ee(o=De())&&(r.trigger=o.first),Ee(o=De())&&(r.panel=o.first),Ee(o=De())&&(r._overlayDir=o.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(i,r){i&1&&ee("keydown",function(s){return r._handleKeydown(s)})("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()}),i&2&&(we("id",r.id)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r.panelOpen?r.id+"-panel":null)("aria-expanded",r.panelOpen)("aria-label",r.ariaLabel||null)("aria-required",r.required.toString())("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState)("aria-activedescendant",r._getAriaActiveDescendant()),Q("mat-mdc-select-disabled",r.disabled)("mat-mdc-select-invalid",r.errorState)("mat-mdc-select-required",r.required)("mat-mdc-select-empty",r.empty)("mat-mdc-select-multiple",r.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",Me],disableRipple:[2,"disableRipple","disableRipple",Me],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Ai(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Me],placeholder:"placeholder",required:[2,"required","required",Me],multiple:[2,"multiple","multiple",Me],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",Me],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",Ai],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",Me]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[Tt([{provide:Gh,useExisting:t},{provide:h_,useExisting:t}]),Ve],ngContentSelectors:e$,decls:11,vars:9,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(i,r){if(i&1){let o=ke();Zt(Jz),E(0,"div",2,0),ee("click",function(){return Ce(o),xe(r.open())}),E(3,"div",3),re(4,t$,2,1,"span",4)(5,r$,3,1,"span",5),M(),E(6,"div",6)(7,"div",7),Dl(),E(8,"svg",8),q(9,"path",9),M()()()(),re(10,o$,3,10,"ng-template",10),ee("detach",function(){return Ce(o),xe(r.close())})("backdropClick",function(){return Ce(o),xe(r.close())})("overlayKeydown",function(a){return Ce(o),xe(r._handleOverlayKeydown(a))})}if(i&2){let o=Xt(1);x(3),we("id",r._valueId),x(),it(r.empty?4:5),x(6),S("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||o)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[ma,Vh,Oi],styles:[`@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}
26
+ `],encapsulation:2,changeDetection:0})}return t})(),Tc=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({providers:[vA],imports:[qi,b_,Ue,Mo,Ic,b_,Ue]})}return t})()});var Ac=f(()=>{"use strict";m_();_A()});var Yh=f(()=>{"use strict";v_();__()});function w_(t){for(let n in t){let e=t[n]??"";switch(n){case"display":e==="flex"?t.display=["-webkit-flex","flex"]:e==="inline-flex"?t.display=["-webkit-inline-flex","inline-flex"]:t.display=e;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":t["-webkit-"+n]=e;break;case"flex-direction":t["-webkit-flex-direction"]=e,t["flex-direction"]=e;break;case"order":t.order=t["-webkit-"+n]=isNaN(+e)?"0":e;break}}return t}function Qh(t){let[n,e,i]=wA(t);return a$(n,e,i)}function wA(t){t=t?.toLowerCase()??"";let[n,e,i]=t.split(" ");return Rc.find(r=>r===n)||(n=Rc[0]),e===x_&&(e=i!==x_?i:"",i=x_),[n,s$(e),!!i]}function Oc(t){let[n]=wA(t);return n.indexOf("row")>-1}function s$(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap";break}return t}function a$(t,n=null,e=!1){return{display:e?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":n||null}}function jn(t,...n){if(t==null)throw TypeError("Cannot convert undefined or null to object");for(let e of n)if(e!=null)for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}var x_,Rc,E_=f(()=>{"use strict";x_="inline",Rc=["row","column","row-reverse","column-reverse"];});function l$(t,n){return()=>{if(ti(n)){let e=Array.from(t.querySelectorAll(`[class*=${EA}]`)),i=/\bflex-layout-.+?\b/g;e.forEach(r=>{r.classList.contains(`${EA}ssr`)&&r.parentNode?r.parentNode.removeChild(r):r.className.replace(i,"")})}}}function FA(t,n){return t=t?.clone()??new Po,n&&(t.mqAlias=n.alias,t.mediaQuery=n.mediaQuery,t.suffix=n.suffix,t.priority=n.priority),t}function u$(t,n){return LA(t)[n]??""}function f$(t,n,e){n=n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();let i=LA(t);i[n]=e??"",h$(t,i)}function h$(t,n){let e="";for(let i in n)n[i]&&(e+=`${i}:${n[i]};`);t.setAttribute("style",e)}function LA(t){let n={},e=t.getAttribute("style");if(e){let i=e.split(/;+/g);for(let r=0;r<i.length;r++){let o=i[r].trim();if(o.length>0){let s=o.indexOf(":");if(s===-1)throw new Error(`Invalid CSS style: ${o}`);let a=o.substr(0,s).trim();n[a]=o.substr(s+1).trim()}}}return n}function kc(t,n){let e=t&&t.priority||0;return(n&&n.priority||0)-e}function p$(t,n){let e=t.priority||0,i=n.priority||0;return e-i}function g$(t,n,e){let i=t.filter(r=>!DA[r]);if(i.length>0){let r=i.join(", ");try{let o=n.createElement("style");if(o.setAttribute("type","text/css"),e&&o.setAttribute("nonce",e),!o.styleSheet){let s=`
12
27
  /*
13
28
  @ngbracket/ngx-layout - workaround for possible browser quirk with mediaQuery listeners
14
29
  see http://bit.ly/2sd4HMP
15
30
  */
16
31
  @media ${r} {.fx-query-test{ }}
17
- `;o.appendChild(n.createTextNode(s))}n.head.appendChild(o),i.forEach(s=>MM[s]=o)}catch(o){console.error(o)}}}function xz(t){let n=new EventTarget;return n.matches=t==="all"||t==="",n.media=t,n.addListener=()=>{},n.removeListener=()=>{},n.addEventListener=()=>{},n.dispatchEvent=()=>!1,n.onchange=null,n}function Cz(t,n){return n&&!!window.matchMedia("all").addListener?window.matchMedia(t):xz(t)}function Ez(t){let n=t.length>0?t.charAt(0):"",e=t.length>1?t.slice(1):"";return n.toUpperCase()+e}function Dz(t){return t.replace(wz,"|").split("|").map(Ez).join("")}function Iz(t){return t.forEach(n=>{n.suffix||(n.suffix=Dz(n.alias),n.overlapping=!!n.overlapping)}),t}function Sz(t,n=[]){let e={};return t.forEach(i=>{e[i.alias]=i}),n.forEach(i=>{e[i.alias]?jn(e[i.alias],i):e[i.alias]=i}),Iz(Object.keys(e).map(i=>e[i]))}function Fz(t){return t?.mediaQuery.startsWith(ca)??!1}function NM(t,n,e,i){if(i!==void 0){let r=t.get(n)??new Map;r.set(e,i),t.set(n,r)}}function fb(t,n="1",e="1"){let i=[n,e,t],r=t.indexOf("calc");if(r>0){i[2]=LM(t.substring(r).trim());let o=t.substr(0,r).trim().split(" ");o.length==2&&(i[0]=o[0],i[1]=o[1])}else if(r==0)i[2]=LM(t.trim());else{let o=t.split(" ");i=o.length===3?o:[n,e,t]}return i}function LM(t){return t.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}function ah(t,n){if(n===void 0)return t;let e=i=>{let r=+i.slice(0,-PM.length);return t.endsWith(PM)&&!isNaN(r)?`${r*n.value}${n.unit}`:t};return t.includes(" ")?t.split(" ").map(e).join(" "):e(t)}var hz,SM,da,Oo,pz,oh,En,ec,sh,ai,$i,bz,MM,wz,Mz,AM,TM,RM,OM,FM,kM,zi,Az,Tz,BM,ca,Rz,Oz,ub,kr,Nr,PM,Lr=f(()=>{"use strict";D();D();pe();Re();db();ct();hz={provide:Ns,useFactory:fz,deps:[z,gt],multi:!0},SM="flex-layout-";da=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({providers:[hz]})}}return t})(),Oo=class t{constructor(n=!1,e="all",i="",r="",o=0){this.matches=n,this.mediaQuery=e,this.mqAlias=i,this.suffix=r,this.priority=o,this.property=""}clone(){return new t(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}};pz=(()=>{class t{constructor(){this.stylesheet=new Map}addStyleToElement(e,i,r){let o=this.stylesheet.get(e);o?o.set(i,r):this.stylesheet.set(e,new Map([[i,r]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,i){let r=this.stylesheet.get(e),o="";if(r){let s=r.get(i);(typeof s=="number"||typeof s=="string")&&(o=s+"")}return o}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();oh={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},En=new C("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>oh});ec=new C("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1});sh=new C("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});ai=class{constructor(){this.shouldCache=!0}sideEffect(n,e,i){}};$i=(()=>{class t{constructor(e,i,r,o){this._serverStylesheet=e,this._serverModuleLoaded=i,this._platformId=r,this.layoutConfig=o}applyStyleToElement(e,i,r=null){let o={};typeof i=="string"&&(o[i]=r,i=o),o=this.layoutConfig.disableVendorPrefixes?i:cb(i),this._applyMultiValueStyleToElement(o,e)}applyStyleToElements(e,i=[]){let r=this.layoutConfig.disableVendorPrefixes?e:cb(e);i.forEach(o=>{this._applyMultiValueStyleToElement(r,o)})}getFlowDirection(e){let i="flex-direction",r=this.lookupStyle(e,i),o=this.lookupInlineStyle(e,i)||Oi(this._platformId)&&this._serverModuleLoaded?r:"";return[r||"row",o]}hasWrap(e){return this.lookupStyle(e,"flex-wrap")==="wrap"}lookupAttributeValue(e,i){return e.getAttribute(i)??""}lookupInlineStyle(e,i){return Xn(this._platformId)?e.style.getPropertyValue(i):mz(e,i)}lookupStyle(e,i,r=!1){let o="";return e&&((o=this.lookupInlineStyle(e,i))||(Xn(this._platformId)?r||(o=getComputedStyle(e).getPropertyValue(i)):this._serverModuleLoaded&&(o=this._serverStylesheet.getStyleForElement(e,i)))),o?o.trim():""}_applyMultiValueStyleToElement(e,i){Object.keys(e).sort().forEach(r=>{let o=e[r],s=Array.isArray(o)?o:[o];s.sort();for(let a of s)a=a?a+"":"",Xn(this._platformId)||!this._serverModuleLoaded?Xn(this._platformId)?i.style.setProperty(r,a):gz(i,r,a):this._serverStylesheet.addStyleToElement(i,r,a)})}static{this.\u0275fac=function(i){return new(i||t)(g(pz),g(ec),g(gt),g(En))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();bz=(()=>{class t{constructor(e,i,r,o){this._zone=e,this._platformId=i,this._document=r,this._nonce=o,this.source=new it(new Oo(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){let e=[];return this.registry.forEach((i,r)=>{i.matches&&e.push(r)}),e}isActive(e){return this.registry.get(e)?.matches??this.registerQuery(e).some(r=>r.matches)}observe(e,i=!1){if(e&&e.length){let r=this._observable$.pipe(xe(s=>i?e.indexOf(s.mediaQuery)>-1:!0)),o=new Z(s=>{let a=this.registerQuery(e);if(a.length){let l=a.pop();a.forEach(c=>{s.next(c)}),this.source.next(l)}s.complete()});return St(o,r)}return this._observable$}registerQuery(e){let i=Array.isArray(e)?e:[e],r=[];return _z(i,this._document,this._nonce),i.forEach(o=>{let s=l=>{this._zone.run(()=>this.source.next(new Oo(l.matches,o)))},a=this.registry.get(o);a||(a=this.buildMQL(o),a.addListener(s),this.pendingRemoveListenerFns.push(()=>a.removeListener(s)),this.registry.set(o,a)),a.matches&&r.push(new Oo(!0,o))}),r}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return Cz(e,Xn(this._platformId))}static{this.\u0275fac=function(i){return new(i||t)(g(F),g(gt),g(z),g(yo,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),MM={};wz=/(\.|-|_)/g;Mz=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}];AM="(orientation: portrait) and (max-width: 599.98px)",TM="(orientation: landscape) and (max-width: 959.98px)",RM="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",OM="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",FM="(orientation: portrait) and (min-width: 840px)",kM="(orientation: landscape) and (min-width: 1280px)",zi={HANDSET:`${AM}, ${TM}`,TABLET:`${RM} , ${OM}`,WEB:`${FM}, ${kM} `,HANDSET_PORTRAIT:`${AM}`,TABLET_PORTRAIT:`${RM} `,WEB_PORTRAIT:`${FM}`,HANDSET_LANDSCAPE:`${TM}`,TABLET_LANDSCAPE:`${OM}`,WEB_LANDSCAPE:`${kM}`},Az=[{alias:"handset",priority:2e3,mediaQuery:zi.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:zi.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:zi.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:zi.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:zi.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:zi.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:zi.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:zi.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:zi.WEB_PORTRAIT,overlapping:!0}];Tz=new C("Token (@ngbracket/ngx-layout) Breakpoints",{providedIn:"root",factory:()=>{let t=y(sh),n=y(En),e=[].concat.apply([],(t||[]).map(r=>Array.isArray(r)?r:[r])),i=(n.disableDefaultBps?[]:Mz).concat(n.addOrientationBps?Az:[]);return Sz(i,e)}});BM=(()=>{class t{constructor(e){this.findByMap=new Map,this.items=[...e].sort(yz)}findByAlias(e){return e?this.findWithPredicate(e,i=>i.alias===e):null}findByQuery(e){return this.findWithPredicate(e,i=>i.mediaQuery===e)}get overlappings(){return this.items.filter(e=>e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>e?.suffix??"")}findWithPredicate(e,i){let r=this.findByMap.get(e);return r||(r=this.items.find(i)??null,this.findByMap.set(e,r)),r??null}static{this.\u0275fac=function(i){return new(i||t)(g(Tz))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();ca="print",Rz={alias:ca,mediaQuery:ca,priority:1e3},Oz=(()=>{class t{constructor(e,i,r){this.breakpoints=e,this.layoutConfig=i,this._document=r,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new ub,this.deactivations=[]}withPrintQuery(e){return[...e,ca]}isPrintEvent(e){return e.mediaQuery.startsWith(ca)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>e!==null)}getEventBreakpoints({mediaQuery:e}){let i=this.breakpoints.findByQuery(e);return(i?[...this.printBreakPoints,i]:this.printBreakPoints).sort(Jl)}updateEvent(e){let i=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(i=this.getEventBreakpoints(e)[0],e.mediaQuery=i?.mediaQuery??""),jM(e,i)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;let i=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new Oo(!0,ca))),e.updateStyles())},r=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",i),this._document.defaultView.addEventListener("afterprint",r),this.beforePrintEventListeners.push(i),this.afterPrintEventListeners.push(r)}interceptEvents(e){return i=>{if(this.isPrintEvent(i)){i.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(i)),e.updateStyles()):!i.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(e),e.updateStyles());return}this.collectActivations(e,i)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,i){this.isPrinting=!0,this.formerActivations=e.activatedBreakpoints,e.activatedBreakpoints=this.queue.addPrintBreakpoints(i)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(e,i){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent){this.deactivations=[];return}if(!i.matches){let r=this.breakpoints.findByQuery(i.mediaQuery);if(r){let o=this.formerActivations&&this.formerActivations.includes(r),s=!this.formerActivations&&e.activatedBreakpoints.includes(r);(o||s)&&(this.deactivations.push(r),this.deactivations.sort(Jl))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e)))}static{this.\u0275fac=function(i){return new(i||t)(g(BM),g(En),g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ub=class{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(n){return n.push(Rz),n.sort(Jl),n.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(n){n&&this.printBreakpoints.find(i=>i.mediaQuery===n.mediaQuery)===void 0&&(this.printBreakpoints=Fz(n)?[n,...this.printBreakpoints]:[...this.printBreakpoints,n])}clear(){this.printBreakpoints=[]}};kr=(()=>{class t{get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(e){this._activatedBreakpoints=[...e]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(e){this._useFallbacks=e}constructor(e,i,r){this.matchMedia=e,this.breakpoints=i,this.hook=r,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new R,this.observeActivations()}onMediaChange(e){let i=this.findByQuery(e.mediaQuery);if(i){e=jM(e,i);let r=this.activatedBreakpoints.indexOf(i);e.matches&&r===-1?(this._activatedBreakpoints.push(i),this._activatedBreakpoints.sort(Jl),this.updateStyles()):!e.matches&&r!==-1&&(this._activatedBreakpoints.splice(r,1),this._activatedBreakpoints.sort(Jl),this.updateStyles())}}init(e,i,r,o,s=[]){NM(this.updateMap,e,i,r),NM(this.clearMap,e,i,o),this.buildElementKeyMap(e,i),this.watchExtraTriggers(e,i,s)}getValue(e,i,r){let o=this.elementMap.get(e);if(o){let s=r!==void 0?o.get(r):this.getActivatedValues(o,i);if(s)return s.get(i)}}hasValue(e,i){let r=this.elementMap.get(e);if(r){let o=this.getActivatedValues(r,i);if(o)return o.get(i)!==void 0||!1}return!1}setValue(e,i,r,o){let s=this.elementMap.get(e);if(!s)s=new Map().set(o,new Map().set(i,r)),this.elementMap.set(e,s);else{let l=(s.get(o)??new Map).set(i,r);s.set(o,l),this.elementMap.set(e,s)}let a=this.getValue(e,i);a!==void 0&&this.updateElement(e,i,a)}trackValue(e,i){return this.subject.asObservable().pipe(xe(r=>r.element===e&&r.key===i))}updateStyles(){this.elementMap.forEach((e,i)=>{let r=new Set(this.elementKeyMap.get(i)),o=this.getActivatedValues(e);o&&o.forEach((s,a)=>{this.updateElement(i,a,s),r.delete(a)}),r.forEach(s=>{if(o=this.getActivatedValues(e,s),o){let a=o.get(s);this.updateElement(i,s,a)}else this.clearElement(i,s)})})}clearElement(e,i){let r=this.clearMap.get(e);if(r){let o=r.get(i);o&&(o(),this.subject.next({element:e,key:i,value:""}))}}updateElement(e,i,r){let o=this.updateMap.get(e);if(o){let s=o.get(i);s&&(s(r),this.subject.next({element:e,key:i,value:r}))}}releaseElement(e){let i=this.watcherMap.get(e);i&&(i.forEach(o=>o.unsubscribe()),this.watcherMap.delete(e));let r=this.elementMap.get(e);r&&(r.forEach((o,s)=>r.delete(s)),this.elementMap.delete(e))}triggerUpdate(e,i){let r=this.elementMap.get(e);if(r){let o=this.getActivatedValues(r,i);o&&(i?this.updateElement(e,i,o.get(i)):o.forEach((s,a)=>this.updateElement(e,a,s)))}}buildElementKeyMap(e,i){let r=this.elementKeyMap.get(e);r||(r=new Set,this.elementKeyMap.set(e,r)),r.add(i)}watchExtraTriggers(e,i,r){if(r&&r.length){let o=this.watcherMap.get(e);if(o||(o=new Map,this.watcherMap.set(e,o)),!o.get(i)){let a=St(...r).subscribe(()=>{let l=this.getValue(e,i);this.updateElement(e,i,l)});o.set(i,a)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,i){for(let o=0;o<this.activatedBreakpoints.length;o++){let s=this.activatedBreakpoints[o],a=e.get(s.alias);if(a&&(i===void 0||a.has(i)&&a.get(i)!=null))return a}if(!this._useFallbacks)return;let r=e.get("");return i===void 0||r&&r.has(i)?r:void 0}observeActivations(){let e=this.breakpoints.items.map(i=>i.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe(Le(this.hook.interceptEvents(this)),xe(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}static{this.\u0275fac=function(i){return new(i||t)(g(bz),g(BM),g(Oz))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();Nr=(()=>{class t{get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}constructor(e,i,r,o){this.elementRef=e,this.styleBuilder=i,this.styler=r,this.marshal=o,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new R,this.styleCache=new Map}ngOnChanges(e){Object.keys(e).forEach(i=>{if(this.inputs.indexOf(i)!==-1){let r=i.split(".").slice(1).join("."),o=e[i].currentValue;this.setValue(o,r)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,i){let r=this.styleBuilder,o=r.shouldCache,s=this.styleCache.get(e);(!s||!o)&&(s=r.buildStyles(e,i),o&&this.styleCache.set(e,s)),this.mru=x({},s),this.applyStyleToElement(s),r.sideEffect(e,s,i)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,i=!1){if(e){let[r,o]=this.styler.getFlowDirection(e);if(!o&&i){let s=rh(r),a=[e];this.styler.applyStyleToElements(s,a)}return r.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,i,r=this.nativeElement){this.styler.applyStyleToElement(r,e,i)}setValue(e,i){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,i)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(ai),p($i),p(kr))}}static{this.\u0275dir=V({type:t,features:[Ve]})}}return t})();PM="x";});var Nz,Lz,ua,hb,fa=f(()=>{"use strict";D();Lr();Lr();pe();pe();Nz=(()=>{class t extends Nr{set klass(e){this.ngClassInstance.klass=e,this.setValue(e,"")}constructor(e,i,r,o,s){super(e,null,i,r),this.ngClassInstance=s,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new fr(e,o)),this.init(),this.setValue("","")}updateWithValue(e){this.ngClassInstance.ngClass=e,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}static{this.\u0275fac=function(i){return new(i||t)(p(j),p($i),p(kr),p(Qn),p(fr,10))}}static{this.\u0275dir=V({type:t,inputs:{klass:[0,"class","klass"]},features:[me]})}}return t})(),Lz=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"],ua=(()=>{class t extends Nz{constructor(){super(...arguments),this.inputs=Lz}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})()}static{this.\u0275dir=V({type:t,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[me]})}}return t})();hb=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[da]})}}return t})();});function l$(t,n){let[e,i]=t.split(" "),r=i??e,o="0px",s=r,a="0px";return n==="rtl"?a=e:o=e,{padding:`0px ${o} ${s} ${a}`}}function c$(t,n){let[e,i]=t.split(" "),r=i??e,o=c=>`-${c}`,s="0px",a=o(r),l="0px";return n==="rtl"?l=o(e):s=o(e),{margin:`0px ${s} ${a} ${l}`}}function qM(t,n){switch(n){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":return t==="rtl"?"margin-left":"margin-right";case"row-reverse":return t==="rtl"?"margin-right":"margin-left";default:return t==="rtl"?"margin-left":"margin-right"}}function d$(t,n){let e=qM(n.directionality,n.layout),i=x({},GM);return i[e]=t,i}var Pz,jz,Vz,$M,Bz,Uz,zz,$z,Hz,Gz,Wz,HM,qz,Yz,Kz,Qz,Zz,Xz,Jz,e$,GM,t$,n$,i$,WM,r$,o$,s$,a$,lh,u$,f$,h$,YM,zM,mb,ch=f(()=>{"use strict";Cn();Cn();D();Lr();Lr();db();ct();Re();Pz=(()=>{class t extends ai{constructor(e){super(),this.layoutConfig=e}buildStyles(e,i){let[r,o,...s]=e.split(" "),a=s.join(" "),l=i.direction.indexOf("column")>-1?"column":"row",c=Xl(l)?"max-width":"max-height",d=Xl(l)?"min-width":"min-height",u=String(a).indexOf("calc")>-1,m=u||a==="auto",h=String(a).indexOf("%")>-1&&!u,v=String(a).indexOf("px")>-1||String(a).indexOf("rem")>-1||String(a).indexOf("em")>-1||String(a).indexOf("vw")>-1||String(a).indexOf("vh")>-1,b=u||v;r=r=="0"?0:r,o=o=="0"?0:o;let E=!r&&!o,S={},B={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(a||""){case"":let G=this.layoutConfig.useColumnBasisZero!==!1;a=l==="row"?"0%":G?"0.000000001px":"auto";break;case"initial":case"nogrow":r=0,a="auto";break;case"grow":a="100%";break;case"noshrink":o=0,a="auto";break;case"auto":break;case"none":r=0,o=0,a="auto";break;default:!b&&!h&&!isNaN(a)&&(a=a+"%"),a==="0%"&&(b=!0),a==="0px"&&(a="0%"),u?S=jn(B,{"flex-grow":r,"flex-shrink":o,"flex-basis":b?a:"100%"}):S=jn(B,{flex:`${r} ${o} ${b?a:"100%"}`});break}return S.flex||S["flex-grow"]||(u?S=jn(B,{"flex-grow":r,"flex-shrink":o,"flex-basis":a}):S=jn(B,{flex:`${r} ${o} ${a}`})),a!=="0%"&&a!=="0px"&&a!=="0.000000001px"&&a!=="auto"&&(S[d]=E||b&&r?a:null,S[c]=E||!m&&o?a:null),!S[d]&&!S[c]?u?S=jn(B,{"flex-grow":r,"flex-shrink":o,"flex-basis":a}):S=jn(B,{flex:`${r} ${o} ${a}`}):i.hasWrap&&(S[u?"flex-basis":"flex"]=S[c]?u?S[c]:`${r} ${o} ${S[c]}`:u?S[d]:`${r} ${o} ${S[d]}`),jn(S,{"box-sizing":"border-box"})}static{this.\u0275fac=function(i){return new(i||t)(g(En))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),jz=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"],Vz=(()=>{class t extends Nr{get shrink(){return this.flexShrink}set shrink(e){this.flexShrink=e||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(e){this.flexGrow=e||"1",this.triggerReflow()}constructor(e,i,r,o,s){super(e,o,i,s),this.layoutConfig=r,this.marshal=s,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe(fe(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(fe(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(e){let r=e.value.split(" ");this.direction=r[0],this.wrap=r[1]!==void 0&&r[1]==="wrap",this.triggerUpdate()}updateWithValue(e){let i=this.layoutConfig.addFlexToParent!==!1;this.direction===void 0&&(this.direction=this.getFlexFlowDirection(this.parentElement,i)),this.wrap===void 0&&(this.wrap=this.hasWrap(this.parentElement));let r=this.direction,o=r.startsWith("row"),s=this.wrap;o&&s?this.styleCache=zz:o&&!s?this.styleCache=Bz:!o&&s?this.styleCache=$z:!o&&!s&&(this.styleCache=Uz);let a=String(e).replace(";",""),l=fb(a,this.flexGrow,this.flexShrink);this.addStyles(l.join(" "),{direction:r,hasWrap:s})}triggerReflow(){let e=this.activatedValue;if(e!==void 0){let i=fb(e+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,i.join(" "))}}static{this.\u0275fac=function(i){return new(i||t)(p(j),p($i),p(En),p(Pz),p(kr))}}static{this.\u0275dir=V({type:t,inputs:{shrink:[0,"fxShrink","shrink"],grow:[0,"fxGrow","grow"]},features:[me]})}}return t})(),$M=(()=>{class t extends Vz{constructor(){super(...arguments),this.inputs=jz}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})()}static{this.\u0275dir=V({type:t,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[me]})}}return t})(),Bz=new Map,Uz=new Map,zz=new Map,$z=new Map;Hz=(()=>{class t extends ai{buildStyles(e,i){let r={},[o,s]=e.split(" ");switch(o){case"center":r["justify-content"]="center";break;case"space-around":r["justify-content"]="space-around";break;case"space-between":r["justify-content"]="space-between";break;case"space-evenly":r["justify-content"]="space-evenly";break;case"end":case"flex-end":r["justify-content"]="flex-end";break;case"start":case"flex-start":default:r["justify-content"]="flex-start";break}switch(s){case"start":case"flex-start":r["align-items"]=r["align-content"]="flex-start";break;case"center":r["align-items"]=r["align-content"]="center";break;case"end":case"flex-end":r["align-items"]=r["align-content"]="flex-end";break;case"space-between":r["align-content"]="space-between",r["align-items"]="stretch";break;case"space-around":r["align-content"]="space-around",r["align-items"]="stretch";break;case"baseline":r["align-content"]="stretch",r["align-items"]="baseline";break;case"stretch":default:r["align-items"]=r["align-content"]="stretch";break}return jn(r,{display:i.inline?"inline-flex":"flex","flex-direction":i.layout,"box-sizing":"border-box","max-width":s==="stretch"?Xl(i.layout)?null:"100%":null,"max-height":s==="stretch"&&Xl(i.layout)?"100%":null})}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})()}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Gz=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"],Wz=(()=>{class t extends Nr{constructor(e,i,r,o){super(e,r,i,o),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(fe(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(e){let i=this.layout||"row",r=this.inline;i==="row"&&r?this.styleCache=Zz:i==="row"&&!r?this.styleCache=qz:i==="row-reverse"&&r?this.styleCache=Jz:i==="row-reverse"&&!r?this.styleCache=Kz:i==="column"&&r?this.styleCache=Xz:i==="column"&&!r?this.styleCache=Yz:i==="column-reverse"&&r?this.styleCache=e$:i==="column-reverse"&&!r&&(this.styleCache=Qz),this.addStyles(e,{layout:i,inline:r})}onLayoutChange(e){let i=e.value.split(" ");this.layout=i[0],this.inline=e.value.includes("inline"),Zl.find(r=>r===this.layout)||(this.layout="row"),this.triggerUpdate()}static{this.\u0275fac=function(i){return new(i||t)(p(j),p($i),p(Hz),p(kr))}}static{this.\u0275dir=V({type:t,features:[me]})}}return t})(),HM=(()=>{class t extends Wz{constructor(){super(...arguments),this.inputs=Gz}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})()}static{this.\u0275dir=V({type:t,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[me]})}}return t})(),qz=new Map,Yz=new Map,Kz=new Map,Qz=new Map,Zz=new Map,Xz=new Map,Jz=new Map,e$=new Map,GM={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null},t$=(()=>{class t extends ai{constructor(e,i){super(),this._styler=e,this._config=i}buildStyles(e,i){return e.endsWith(lh)?(e=e.slice(0,e.indexOf(lh)),e=ah(e,this._config.multiplier),c$(e,i.directionality)):{}}sideEffect(e,i,r){let o=r.items;if(e.endsWith(lh)){e=e.slice(0,e.indexOf(lh)),e=ah(e,this._config.multiplier);let s=l$(e,r.directionality);this._styler.applyStyleToElements(s,r.items)}else{e=ah(e,this._config.multiplier),e=this.addFallbackUnit(e);let s=o.pop(),a=d$(e,r);this._styler.applyStyleToElements(a,o),this._styler.applyStyleToElements(GM,[s])}}addFallbackUnit(e){return isNaN(+e)?e:`${e}${this._config.defaultUnit}`}static{this.\u0275fac=function(i){return new(i||t)(g($i),g(En))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),n$=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"],i$=(()=>{class t extends Nr{get childrenNodes(){let e=this.nativeElement.children,i=[];for(let r=e.length;r--;)i[r]=e[r];return i}constructor(e,i,r,o,s,a){super(e,s,o,a),this.zone=i,this.directionality=r,this.styleUtils=o,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=new R;let l=[this.directionality.change,this.observerSubject.asObservable()];this.init(l),this.marshal.trackValue(this.nativeElement,"layout").pipe(fe(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(e){let r=e.value.split(" ")[0];Zl.find(o=>o===r)||(r="row"),this.layout&&this.layout!==r&&this.clearStyles(),this.layout=r,this.triggerUpdate()}updateWithValue(e){let i=this.childrenNodes.filter(r=>r.nodeType===1&&this.willDisplay(r)).sort((r,o)=>{let s=+this.styler.lookupStyle(r,"order"),a=+this.styler.lookupStyle(o,"order");return isNaN(s)||isNaN(a)||s===a?0:s>a?1:-1});if(i.length>0){let r=this.directionality.value,o=this.layout;o==="row"&&r==="rtl"?this.styleCache=r$:o==="row"&&r!=="rtl"?this.styleCache=s$:o==="column"&&r==="rtl"?this.styleCache=o$:o==="column"&&r!=="rtl"&&(this.styleCache=a$),this.addStyles(e,{directionality:r,items:i,layout:o})}}clearStyles(){let e=Object.keys(this.mru).length>0,i=e?"padding":qM(this.directionality.value,this.layout);e&&super.clearStyles(),this.styleUtils.applyStyleToElements({[i]:""},this.childrenNodes)}willDisplay(e){let i=this.marshal.getValue(e,"show-hide");return i===!0||i===void 0&&this.styleUtils.lookupStyle(e,"display")!=="none"}buildChildObservable(){this.zone.runOutsideAngular(()=>{typeof MutationObserver<"u"&&(this.observer=new MutationObserver(e=>{let i=r=>r.addedNodes&&r.addedNodes.length>0||r.removedNodes&&r.removedNodes.length>0;e.some(i)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(F),p(Ft),p($i),p(t$),p(kr))}}static{this.\u0275dir=V({type:t,features:[me]})}}return t})(),WM=(()=>{class t extends i${constructor(){super(...arguments),this.inputs=n$}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})()}static{this.\u0275dir=V({type:t,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},features:[me]})}}return t})(),r$=new Map,o$=new Map,s$=new Map,a$=new Map,lh=" grid";u$=(()=>{class t extends ai{buildStyles(e,{display:i}){let r=rh(e);return se(x({},r),{display:i==="none"?i:r.display})}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})()}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),f$=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"],h$=(()=>{class t extends Nr{constructor(e,i,r,o,s){super(e,r,i,o),this._config=s,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(e){let r=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=zM.get(r)??new Map,zM.set(r,this.styleCache),this.currentValue!==e&&(this.addStyles(e,{display:r}),this.currentValue=e)}static{this.\u0275fac=function(i){return new(i||t)(p(j),p($i),p(u$),p(kr),p(En))}}static{this.\u0275dir=V({type:t,features:[me]})}}return t})(),YM=(()=>{class t extends h${constructor(){super(...arguments),this.inputs=f$}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})()}static{this.\u0275dir=V({type:t,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[me]})}}return t})(),zM=new Map;mb=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[da,ni]})}}return t})();});var gb,vb=f(()=>{"use strict";D();Lr();gb=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[da]})}}return t})();});var ha,Nee,dh=f(()=>{"use strict";Lr();Lr();fa();fa();ch();ch();vb();vb();pe();D();D();ha=(()=>{class t{static withConfig(e,i=[]){return{ngModule:t,providers:e.serverLoaded?[{provide:En,useValue:x(x({},oh),e)},{provide:sh,useValue:i,multi:!0},{provide:ec,useValue:!0}]:[{provide:En,useValue:x(x({},oh),e)},{provide:sh,useValue:i,multi:!0}]}}constructor(e,i){Oi(i)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static{this.\u0275fac=function(i){return new(i||t)(g(ec),g(gt))}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[mb,hb,gb,mb,hb,gb]})}}return t})();Nee=new Kn("18.0.0");});function m$(t,n){if(t&1&&(I(0,"mat-option",12),le(1),T()),t&2){let e=n.$implicit;M("value",e),w(),Je(" ",e.voiceName," ")}}function g$(t,n){if(t&1&&(I(0,"mat-icon"),le(1),T()),t&2){let e=H();w(),Je(" ",e.isPlaying?"stop":"volume_up"," ")}}function v$(t,n){t&1&&Q(0,"mat-spinner",13),t&2&&M("diameter",15)}var KM,QM=f(()=>{"use strict";pe();D();Li();an();Bi();GS();Re();Gf();Fr();Ql();Kl();dh();bt();D();pe();Li();Fr();Kl();Ql();Pn();fa();bt();KM=(()=>{class t{constructor(){this.maxCharLength=1e3,this.#e=y(HS)}get hasOverflow(){let e=document.querySelector("textarea");return e?.clientHeight<e?.scrollHeight}#e;ngOnInit(){this.selected=this.voices[0]}togglePlay(){if(this.isPlaying){this.stop();return}this.isLoading=!0;let e=this.text.length>this.maxCharLength?this.text.substring(0,this.maxCharLength):this.text;if(this.audio&&e===this.previousText&&this.selected.voice===this.previousVoice){this.audio.play(),this.isPlaying=!0,this.isLoading=!1;return}this.#e.play(e,this.selected).pipe($t(()=>{this.isLoading=!1})).subscribe({next:i=>{this.previousText=e,this.previousVoice=this.selected.voice;let r=URL.createObjectURL(i);this.audio=new Audio(r),this.audio.play(),this.isPlaying=!0,this.audio.onended=()=>{URL.revokeObjectURL(r),this.isPlaying=!1}}})}stop(){this.audio&&(this.audio.pause(),this.audio.currentTime=0,this.isPlaying=!1)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["lib-text-to-speech"]],inputs:{maxCharLength:"maxCharLength",voices:"voices"},standalone:!0,features:[Ee],decls:19,vars:23,consts:[[1,"text-to-speech-wrapper",3,"ngClass.lt-md"],["appearance","outline","color","accent"],[3,"valueChange","value"],[3,"value",4,"ngFor","ngForOf"],[1,"text-to-speech-textarea-wrapper"],[1,"text-to-speech-textarea",3,"ngModelChange","ngModel","placeholder"],[1,"text-to-speech-characters"],[1,"text-to-speech-actions"],[3,"matTooltip"],["mat-icon-button","",3,"click","matTooltip","disabled"],[4,"ngIf"],[3,"diameter",4,"ngIf"],[3,"value"],[3,"diameter"]],template:function(i,r){if(i&1&&(I(0,"div",0)(1,"mat-form-field",1)(2,"mat-label"),le(3),de(4,"translate"),T(),I(5,"mat-select",2),Fs("valueChange",function(s){return pl(r.selected,s)||(r.selected=s),s}),ie(6,m$,2,2,"mat-option",3),T()(),I(7,"div",4)(8,"textarea",5),de(9,"translate"),Fs("ngModelChange",function(s){return pl(r.text,s)||(r.text=s),s}),T(),I(10,"div",6),le(11),T()(),I(12,"div",7)(13,"div",8),de(14,"translate"),I(15,"button",9),de(16,"translate"),ee("click",function(){return r.togglePlay()}),ie(17,g$,2,1,"mat-icon",10)(18,v$,1,1,"mat-spinner",11),T()()()()),i&2){let o;M("ngClass.lt-md","mobile"),w(3),ft(ge(4,15,"selectVoice")),w(2),Os("value",r.selected),w(),M("ngForOf",r.voices),w(2),Os("ngModel",r.text),M("placeholder",ge(9,17,"placeholder")),w(2),ae("text-overflow",r.hasOverflow),w(),bv(" ",(o=r.text==null?null:r.text.length)!==null&&o!==void 0?o:0,"/",r.maxCharLength," "),w(2),M("matTooltip",r.text?"":ge(14,19,"playDisabled")),w(2),M("matTooltip",ge(16,21,r.isPlaying?"stop":"play"))("disabled",!r.text||r.isLoading),w(2),M("ngIf",!r.isLoading),w(),M("ngIf",r.isLoading)}},dependencies:[st,qu,hr,Js,ri,Cf,Hs,Gs,kl,Hf,aa,Or,th,eh,la,ih,nh,Xs,ha,ua,ei,yt],styles:[".text-to-speech-wrapper[_ngcontent-%COMP%]{margin-top:5px;position:relative;display:flex;flex-direction:column;align-items:center}.text-to-speech-wrapper[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{max-width:900px!important;width:100%}.text-to-speech-textarea-wrapper[_ngcontent-%COMP%], .text-to-speech-textarea[_ngcontent-%COMP%]{position:relative;width:100%;max-width:900px}.text-to-speech-textarea-wrapper[_ngcontent-%COMP%]{border:1px solid var(--base-70);padding:5px;border-radius:8px;box-shadow:0 0 16px #0000001a}.text-to-speech-textarea[_ngcontent-%COMP%]{margin:15px 0;padding:0 10px;min-height:120px;resize:none;outline:none;border:none}.text-to-speech-actions[_ngcontent-%COMP%]{position:absolute;bottom:-20px}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:flex;justify-content:center;color:var(--base-100)!important;background-color:var(--accent)}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{background-color:var(--base-70)}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%]{scale:1.2}.text-to-speech-characters[_ngcontent-%COMP%]{position:absolute;right:10px;bottom:0;margin:5px;font-size:13px;color:var(--base-65)}.text-overflow[_ngcontent-%COMP%]{right:30px}.mobile[_ngcontent-%COMP%] .text-overflow[_ngcontent-%COMP%]{right:15px}"]})}}return t})()});var ZM=f(()=>{"use strict"});var XM=f(()=>{"use strict";ZM()});var JM=f(()=>{"use strict";QM();XM()});var eA,tA=f(()=>{"use strict";eA={en:{selectVoice:"Demo voices (currently only for Latvian language)",placeholder:'Enter text to listen to a demonstration of the text-to-speech technology. Remember, this service can only be used in accordance with its terms of use (see the "Frequently asked questions" section). It is not permitted to use this service for texts that contain offensive, indecent, defamatory, misleading, hateful, or discriminatory statements. Violation of the terms of use may result in liability as stipulated by the laws of the Republic of Latvia. A maximum of 1000 characters will be spoken.',playDisabled:"Enter text to play",play:"Play",stop:"Stop"},lv:{selectVoice:"Demo balsis (\u0161obr\u012Bd tikai Latvie\u0161u valod\u0101)",placeholder:"Ievadi tekstu, lai noklaus\u012Btos balss sint\u0113zes tehnolo\u0123ijas demonstr\u0101ciju. Atceries, ka \u0161o pakalpojumu var lietot tikai atbilsto\u0161i t\u0101 lieto\u0161anas noteikumiem (skat\u012Bt sada\u013Cu \u201CBie\u017E\u0101k uzdotie jaut\u0101jumi\u201D)! To nav at\u013Cauts izmantot tekstiem, kas satur aizskaro\u0161us, nepiekl\u0101j\u012Bgus, apmelojo\u0161us, maldino\u0161us, naidu vai diskrimin\u0101ciju veicino\u0161us apgalvojumus. Par lieto\u0161anas noteikumu p\u0101rk\u0101pumu var iest\u0101ties LR likumos noteikt\u0101 atbild\u012Bba. Tiks izrun\u0101ti ne vair\u0101k k\u0101 1000 simboli.",playDisabled:"Ievadi tekstu, lai atska\u0146ot to",play:"Atska\u0146ot",stop:"Apst\u0101din\u0101t",voice:"Balss {{nth}}"}}});var uh,yb=f(()=>{"use strict";oy();JM();tA();D();uh=(()=>{class t extends af{set voices(e){this._voices=typeof e=="string"?JSON.parse(e):e}set maxCharLength(e){this._maxCharLength=+e}get voices(){return this._voices}get maxCharLength(){return this._maxCharLength}constructor(){super(eA),this._maxCharLength=500}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["app-text-to-speech"]],inputs:{voices:"voices",maxCharLength:"maxCharLength"},standalone:!0,features:[me,Ee],decls:1,vars:2,consts:[[3,"voices","maxCharLength"]],template:function(i,r){i&1&&Q(0,"lib-text-to-speech",0),i&2&&M("voices",r.voices)("maxCharLength",r.maxCharLength)},dependencies:[KM]})}}return t})()});var Ut,fh=f(()=>{"use strict";Ut=function(t){return t.SUMMARY="SUMMARY",t.REPHRASE="REPHRASE",t}(Ut||{})});function y$(t,n){}function bb(t,n){let e=t.length;for(;e--;)n(t[e])}var Fo,_b,tc,b$,_$,x$,C$,xb,nA,iA=f(()=>{"use strict";Ln();Ln();Tr();Tr();Vt();Hl();pe();D();D();wr();Re();Cn();ct();Fo=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}},_b=(()=>{class t extends ia{constructor(e,i,r,o,s,a,l,c){super(),this._elementRef=e,this._focusTrapFactory=i,this._config=o,this._interactivityChecker=s,this._ngZone=a,this._overlayRef=l,this._focusMonitor=c,this._platform=y(Oe),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=y(et),this._injector=y(Me),this._isDestroyed=!1,this.attachDomPortal=d=>{this._portalOutlet.hasAttached();let u=this._portalOutlet.attachDomPortal(d);return this._contentAttached(),u},this._document=r,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let i=this._ariaLabelledByQueue.indexOf(e);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_trapFocus(){this._isDestroyed||Fn(()=>{let e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement()||this._focusDialogContainer();break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,i=null;if(typeof e=="string"?i=this._document.querySelector(e):typeof e=="boolean"?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&typeof i.focus=="function"){let r=Ll(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let e=this._elementRef.nativeElement,i=Ll();return e===i||e.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Ll()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(Nf),p(z,8),p(Fo),p(jl),p(F),p(Ui),p(Dr))}}static{this.\u0275cmp=Y({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,r){if(i&1&&Be($l,7),i&2){let o;Ce(o=we())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,r){i&2&&Ie("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},standalone:!0,features:[me,Ee],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,r){i&1&&ie(0,y$,0,0,"ng-template",0)},dependencies:[$l],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}}return t})(),tc=class{constructor(n,e){this.overlayRef=n,this.config=e,this.closed=new R,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{i.keyCode===27&&!this.disableClose&&!Bt(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=n.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(n,e){if(this.containerInstance){let i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}},b$=new C("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=y(dt);return()=>t.scrollStrategies.block()}}),_$=new C("DialogData"),x$=new C("DefaultDialogConfig"),C$=0,xb=(()=>{class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,i,r,o,s,a){this._overlay=e,this._injector=i,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new R,this._afterOpenedAtThisLevel=new R,this._ariaHiddenElements=new Map,this.afterAllClosed=Kt(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Zt(void 0))),this._scrollStrategy=a}open(e,i){let r=this._defaultOptions||new Fo;i=x(x({},r),i),i.id=i.id||`cdk-dialog-${C$++}`,i.id&&this.getDialogById(i.id);let o=this._getOverlayConfig(i),s=this._overlay.create(o),a=new tc(s,i),l=this._attachContainer(s,a,i);return a.containerInstance=l,this._attachDialogContent(e,a,l,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){bb(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){bb(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),bb(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let i=new ra({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,r){let o=r.injector||r.viewContainerRef?.injector,s=[{provide:Fo,useValue:r},{provide:tc,useValue:i},{provide:Ui,useValue:e}],a;r.container?typeof r.container=="function"?a=r.container:(a=r.container.type,s.push(...r.container.providers(r))):a=_b;let l=new Mr(a,r.viewContainerRef,Me.create({parent:o||this._injector,providers:s}),r.componentFactoryResolver);return e.attach(l).instance}_attachDialogContent(e,i,r,o){if(e instanceof Jt){let s=this._createInjector(o,i,r,void 0),a={$implicit:o.data,dialogRef:i};o.templateContext&&(a=x(x({},a),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),r.attachTemplatePortal(new Mo(e,null,a,s))}else{let s=this._createInjector(o,i,r,this._injector),a=r.attachComponentPortal(new Mr(e,o.viewContainerRef,s,o.componentFactoryResolver));i.componentRef=a,i.componentInstance=a.instance}}_createInjector(e,i,r,o){let s=e.injector||e.viewContainerRef?.injector,a=[{provide:_$,useValue:e.data},{provide:tc,useValue:i}];return e.providers&&(typeof e.providers=="function"?a.push(...e.providers(i,e,r)):a.push(...e.providers)),e.direction&&(!s||!s.get(Ft,null,{optional:!0}))&&a.push({provide:Ft,useValue:{value:e.direction,change:O()}}),Me.create({parent:s||o,providers:a})}_removeOpenDialog(e,i){let r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,s)=>{o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let e=this._overlayContainer.getContainerElement();if(e.parentElement){let i=e.parentElement.children;for(let r=i.length-1;r>-1;r--){let o=i[r];o!==e&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static{this.\u0275fac=function(i){return new(i||t)(g(dt),g(Me),g(x$,8),g(t,12),g(oa),g(b$))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();nA=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({providers:[xb],imports:[Ar,Ao,Lf,Ao]})}}return t})()});function w$(t,n){}function aA(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?Er(t.substring(0,t.length-2)):t.endsWith("s")?Er(t.substring(0,t.length-1))*1e3:t==="0"?0:null}function lA(t,n,e){return t._closeInteractionType=n,t.close(e)}function dA(t,n){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(i=>i.id===e.id):null}var nc,Cb,rA,oA,E$,D$,I$,sA,hh,ic,rc,S$,M$,A$,ko,T$,ph,cA,mh,gh,vh,pa,Pr=f(()=>{"use strict";Tr();Tr();pe();pe();D();D();Ln();iA();ji();Hl();Re();ct();wr();Sr();Pn();nc=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}},Cb="mdc-dialog--open",rA="mdc-dialog--opening",oA="mdc-dialog--closing",E$=150,D$=75,I$=(()=>{class t extends _b{constructor(e,i,r,o,s,a,l,c,d){super(e,i,r,o,s,a,l,d),this._animationMode=c,this._animationStateChanged=new P,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?aA(this._config.enterAnimationDuration)??E$:0,this._exitAnimationDuration=this._animationsEnabled?aA(this._config.exitAnimationDuration)??D$:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(sA,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(rA,Cb)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Cb),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Cb),this._animationsEnabled?(this._hostElement.style.setProperty(sA,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(oA)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(rA,oA)}_waitForAnimationToComplete(e,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let i=super.attachComponentPortal(e);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(Nf),p(z,8),p(nc),p(jl),p(F),p(Ui),p(rt,8),p(Dr))}}static{this.\u0275cmp=Y({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,r){i&2&&(ur("id",r._config.id),Ie("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),ae("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},standalone:!0,features:[me,Ee],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,r){i&1&&(I(0,"div",0)(1,"div",1),ie(2,w$,0,0,"ng-template",2),T()())},dependencies:[$l],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12));border-radius:var(--mdc-dialog-container-shape, var(--mat-app-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-app-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-app-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-app-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-app-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-app-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-app-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-app-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-app-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-app-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-app-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-app-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-app-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.cdk-high-contrast-active .mat-mdc-dialog-actions{border-top-color:CanvasText}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}'],encapsulation:2})}}return t})(),sA="--mat-dialog-transition-duration";hh=function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t}(hh||{}),ic=class{constructor(n,e,i){this._ref=n,this._containerInstance=i,this._afterOpened=new R,this._beforeClosed=new R,this._state=hh.OPEN,this.disableClose=e.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),i._animationStateChanged.pipe(xe(r=>r.state==="opened"),Ue(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(xe(r=>r.state==="closed"),Ue(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),St(this.backdropClick(),this.keydownEvents().pipe(xe(r=>r.keyCode===27&&!this.disableClose&&!Bt(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),lA(this,r.type==="keydown"?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(xe(e=>e.state==="closing"),Ue(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=hh.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=hh.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};rc=new C("MatMdcDialogData"),S$=new C("mat-mdc-dialog-default-options"),M$=new C("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=y(dt);return()=>t.scrollStrategies.block()}}),A$=0,ko=(()=>{class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,i,r,o,s,a,l,c){this._overlay=e,this._defaultOptions=o,this._scrollStrategy=s,this._parentDialog=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new R,this._afterOpenedAtThisLevel=new R,this.dialogConfigClass=nc,this.afterAllClosed=Kt(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Zt(void 0))),this._dialog=i.get(xb),this._dialogRefConstructor=ic,this._dialogContainerType=I$,this._dialogDataToken=rc}open(e,i){let r;i=x(x({},this._defaultOptions||new nc),i),i.id=i.id||`mat-mdc-dialog-${A$++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(e,se(x({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:Fo,useValue:i}]},templateContext:()=>({dialogRef:r}),providers:(s,a,l)=>(r=new this._dialogRefConstructor(s,i,l),r.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=o.componentRef,r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(r);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}static{this.\u0275fac=function(i){return new(i||t)(g(dt),g(Me),g(Zn,8),g(S$,8),g(M$),g(t,12),g(oa),g(rt,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),T$=0,ph=(()=>{class t{constructor(e,i,r){this.dialogRef=e,this._elementRef=i,this._dialog=r,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=dA(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){lA(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static{this.\u0275fac=function(i){return new(i||t)(p(ic,8),p(j),p(ko))}}static{this.\u0275dir=V({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,r){i&1&&ee("click",function(s){return r._onButtonClick(s)}),i&2&&Ie("aria-label",r.ariaLabel||null)("type",r.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[Ve]})}}return t})(),cA=(()=>{class t{constructor(e,i,r){this._dialogRef=e,this._elementRef=i,this._dialog=r}ngOnInit(){this._dialogRef||(this._dialogRef=dA(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static{this.\u0275fac=function(i){return new(i||t)(p(ic,8),p(j),p(ko))}}static{this.\u0275dir=V({type:t,standalone:!0})}}return t})(),mh=(()=>{class t extends cA{constructor(){super(...arguments),this.id=`mat-mdc-dialog-title-${T$++}`}_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})()}static{this.\u0275dir=V({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,r){i&2&&ur("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[me]})}}return t})(),gh=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=V({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0,features:[mD([Gy])]})}}return t})(),vh=(()=>{class t extends cA{_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})()}static{this.\u0275dir=V({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(i,r){i&2&&ae("mat-mdc-dialog-actions-align-start",r.align==="start")("mat-mdc-dialog-actions-align-center",r.align==="center")("mat-mdc-dialog-actions-align-end",r.align==="end")},inputs:{align:"align"},standalone:!0,features:[me]})}}return t})();pa=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({providers:[ko],imports:[nA,Ar,Ao,Ye,Ye]})}}return t})()});var oc,yh,Eb,bh,ma,uA,ze,fA,No=f(()=>{"use strict";bl();D();D();Re();oc=new C("ngx-tld-services Api service configuration."),yh=class{#e;constructor(n){this.http=y(vr),this.#e=y(oc);let e=n(this.#e);if(!e)throw new Error(`${Object.getPrototypeOf(this).constructor.name} is created, but no service configuration defined in 'SERVICE_CONFIGURATION_TOKEN'. Config: ${JSON.stringify(this.#e)}`);this.configuration=e,this.sharedServiceConfiguration=this.#e.sharedConfiguration}},Eb=function(t){return t.Event="Event",t.General="General",t.Meeting="Meeting",t.TranscriptEditor="TranscriptEditor",t.TranscriptCleanup="TranscriptCleanup",t}(Eb||{}),bh=function(t){return t.Event="Event",t.General="General",t.Meeting="Meeting",t.MeetingBrief="MeetingBrief",t.Brief="Brief",t}(bh||{}),ma=class{static xAppIdHeader(n){return{"X-App-Id":n}}},uA=(()=>{class t extends yh{#e=y(vr);constructor(){super(e=>e.llmService)}rephrase(e){let i=ma.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return this.#e.post(`${this.configuration.url}/rewrite`,e,{responseType:"text",headers:i})}summarize(e){let i=ma.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return this.#e.post(`${this.configuration.url}/summarize/`,e,{responseType:"text",headers:i})}customPrompt(e){let i=ma.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return this.#e.post(`${this.configuration.url}/custom-prompt/`,e,{responseType:"text",headers:i})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ze=function(t){return t.TRANSLATION_FILES="FileTranslationFiles",t.ASR_FILE_LENGTH_SECONDS="AsrFileLengthSeconds",t.ASR_FILE_SIZE_KB="AsrFileSizeKb",t.ONLINE_ASR_USED_SECONDS="OnlineAsrUsedSeconds",t.TRANSLATION_CHARACTERS="TranslationCharacters",t.TRANSLATION_DOCUMENTS="TranslationDocuments",t.LLM_CHARACTER_COUNT="LlmCharacterCount",t.LLM_REQUESTS="LlmRequests",t.TTS_CHARACTERS="TtsCharacters",t.ANONYMISE_WORDS="AnonymiseWords",t.ANONYMISE_DOCUMENTS="AnonymiseDocuments",t[t.LEGACY_TRANSLATION_FILES=0]="LEGACY_TRANSLATION_FILES",t[t.LEGACY_ASR_FILE_LENGTH_SECONDS=1]="LEGACY_ASR_FILE_LENGTH_SECONDS",t[t.LEGACY_ASR_FILE_SIZE_KB=2]="LEGACY_ASR_FILE_SIZE_KB",t[t.LEGACY_ONLINE_ASR_USED_SECONDS=3]="LEGACY_ONLINE_ASR_USED_SECONDS",t[t.LEGACY_TRANSLATION_CHARACTERS=4]="LEGACY_TRANSLATION_CHARACTERS",t[t.LEGACY_TRANSLATION_DOCUMENTS=5]="LEGACY_TRANSLATION_DOCUMENTS",t[t.LEGACY_LLM_CHARACTER_COUNT=6]="LEGACY_LLM_CHARACTER_COUNT",t[t.LEGACY_LLM_REQUESTS=7]="LEGACY_LLM_REQUESTS",t[t.LEGACY_TTS_CHARACTERS=8]="LEGACY_TTS_CHARACTERS",t[t.LEGACY_ANONYMISE_WORDS=9]="LEGACY_ANONYMISE_WORDS",t[t.LEGACY_ANONYMISE_DOCUMENTS=10]="LEGACY_ANONYMISE_DOCUMENTS",t}(ze||{}),fA=(()=>{class t extends yh{constructor(){super(e=>e.quotaService),this.legacyQuotaTypeMap={[ze.LEGACY_TRANSLATION_FILES]:ze.TRANSLATION_FILES,[ze.LEGACY_ASR_FILE_LENGTH_SECONDS]:ze.ASR_FILE_LENGTH_SECONDS,[ze.LEGACY_ASR_FILE_SIZE_KB]:ze.ASR_FILE_SIZE_KB,[ze.LEGACY_ONLINE_ASR_USED_SECONDS]:ze.ONLINE_ASR_USED_SECONDS,[ze.LEGACY_TRANSLATION_CHARACTERS]:ze.TRANSLATION_CHARACTERS,[ze.LEGACY_TRANSLATION_DOCUMENTS]:ze.TRANSLATION_DOCUMENTS,[ze.LEGACY_LLM_CHARACTER_COUNT]:ze.LLM_CHARACTER_COUNT,[ze.LEGACY_LLM_REQUESTS]:ze.LLM_REQUESTS,[ze.LEGACY_TTS_CHARACTERS]:ze.TTS_CHARACTERS,[ze.LEGACY_ANONYMISE_WORDS]:ze.ANONYMISE_WORDS,[ze.LEGACY_ANONYMISE_DOCUMENTS]:ze.ANONYMISE_DOCUMENTS}}getQuotaUsage(){let e=ma.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return this.http.get(this.configuration.url,{headers:e}).pipe(k(i=>(i.usage.forEach(r=>{this.legacyQuotaTypeMap[r.quotaType]&&(r.quotaType=this.legacyQuotaTypeMap[r.quotaType])}),i)))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var pA,mA=f(()=>{"use strict";pA={SMALL:600,MEDIUM:960,LARGE:1280,XLARGE:1920}});var gA=f(()=>{"use strict"});var Db,vA=f(()=>{"use strict";Db=function(t){return t[t.TIMEOUT=504]="TIMEOUT",t}(Db||{})});var Ib=f(()=>{"use strict";mA();gA();vA()});var yA,bA=f(()=>{"use strict";D();Bi();Ps();yA=(()=>{class t{constructor(e,i){this.iconRegistry=e,this.sanitizer=i}registerIcons(e){for(let i in e)this.iconRegistry.addSvgIconLiteral(i.toLowerCase(),this.sanitizer.bypassSecurityTrustHtml(e[i]))}registerIconFromUrl(e,i){this.iconRegistry.addSvgIcon(e,this.sanitizer.bypassSecurityTrustResourceUrl(i))}addSvgIconSet(e,i){i?this.iconRegistry.addSvgIconSetInNamespace(i,this.sanitizer.bypassSecurityTrustResourceUrl(e)):this.iconRegistry.addSvgIconSet(this.sanitizer.bypassSecurityTrustResourceUrl(e))}static{this.\u0275fac=function(i){return new(i||t)(g(Hy),g(wl))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var _A=f(()=>{"use strict";bA()});var R$,O$,xA,CA=f(()=>{"use strict";D();R$=typeof localStorage<"u"?localStorage:null,O$=typeof window<"u"?window:null,xA=(()=>{class t{get window(){return O$}get localStorage(){return R$}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var wA=f(()=>{"use strict";CA()});function xa(t){return new Rb(t)}function F$(t,n,e){let i=e.path.split("/");if(i.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||i.length<t.length))return null;let r={};for(let o=0;o<i.length;o++){let s=i[o],a=t[o];if(s[0]===":")r[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,i.length),posParams:r}}function k$(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!li(t[e],n[e]))return!1;return!0}function li(t,n){let e=t?Ob(t):void 0,i=n?Ob(n):void 0;if(!e||!i||e.length!=i.length)return!1;let r;for(let o=0;o<e.length;o++)if(r=e[o],!kA(t[r],n[r]))return!1;return!0}function Ob(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function kA(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),i=[...n].sort();return e.every((r,o)=>i[o]===r)}else return t===n}function NA(t){return t.length>0?t[t.length-1]:null}function Br(t){return pn(t)?t:Co(t)?Ne(Promise.resolve(t)):O(t)}function EA(t,n,e){return N$[e.paths](t.root,n.root,e.matrixParams)&&LA[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function L$(t,n){return li(t,n)}function PA(t,n,e){if(!Po(t.segments,n.segments)||!Ch(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let i in n.children)if(!t.children[i]||!PA(t.children[i],n.children[i],e))return!1;return!0}function P$(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>kA(t[e],n[e]))}function jA(t,n,e){return VA(t,n,n.segments,e)}function VA(t,n,e,i){if(t.segments.length>e.length){let r=t.segments.slice(0,e.length);return!(!Po(r,e)||n.hasChildren()||!Ch(r,e,i))}else if(t.segments.length===e.length){if(!Po(t.segments,e)||!Ch(t.segments,e,i))return!1;for(let r in n.children)if(!t.children[r]||!jA(t.children[r],n.children[r],i))return!1;return!0}else{let r=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!Po(t.segments,r)||!Ch(t.segments,r,i)||!t.children[ue]?!1:VA(t.children[ue],n,o,i)}}function Ch(t,n,e){return n.every((i,r)=>LA[e](t[r].parameters,i.parameters))}function j$(t,n){return Po(t,n)&&t.every((e,i)=>li(e.parameters,n[i].parameters))}function Po(t,n){return t.length!==n.length?!1:t.every((e,i)=>e.path===n[i].path)}function V$(t,n){let e=[];return Object.entries(t.children).forEach(([i,r])=>{i===ue&&(e=e.concat(n(r,i)))}),Object.entries(t.children).forEach(([i,r])=>{i!==ue&&(e=e.concat(n(r,i)))}),e}function wh(t){return t.segments.map(n=>UA(n)).join("/")}function sc(t,n){if(!t.hasChildren())return wh(t);if(n){let e=t.children[ue]?sc(t.children[ue],!1):"",i=[];return Object.entries(t.children).forEach(([r,o])=>{r!==ue&&i.push(`${r}:${sc(o,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}else{let e=V$(t,(i,r)=>r===ue?[sc(t.children[ue],!1)]:[`${r}:${sc(i,!1)}`]);return Object.keys(t.children).length===1&&t.children[ue]!=null?`${wh(t)}/${e[0]}`:`${wh(t)}/(${e.join("//")})`}}function BA(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function _h(t){return BA(t).replace(/%3B/gi,";")}function U$(t){return encodeURI(t)}function Fb(t){return BA(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Eh(t){return decodeURIComponent(t)}function DA(t){return Eh(t.replace(/\+/g,"%20"))}function UA(t){return`${Fb(t.path)}${z$(t.parameters)}`}function z$(t){return Object.entries(t).map(([n,e])=>`;${Fb(n)}=${Fb(e)}`).join("")}function $$(t){let n=Object.entries(t).map(([e,i])=>Array.isArray(i)?i.map(r=>`${_h(e)}=${_h(r)}`).join("&"):`${_h(e)}=${_h(i)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}function Sb(t){let n=t.match(H$);return n?n[0]:""}function W$(t){let n=t.match(G$);return n?n[0]:""}function Y$(t){let n=t.match(q$);return n?n[0]:""}function Q$(t){let n=t.match(K$);return n?n[0]:""}function zA(t){return t.segments.length>0?new Fe([],{[ue]:t}):t}function $A(t){let n={};for(let[i,r]of Object.entries(t.children)){let o=$A(r);if(i===ue&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[i]=o)}let e=new Fe(t.segments,n);return Z$(e)}function Z$(t){if(t.numberOfChildren===1&&t.children[ue]){let n=t.children[ue];return new Fe(t.segments.concat(n.segments),n.children)}return t}function jo(t){return t instanceof Gi}function X$(t,n,e=null,i=null){let r=HA(t);return GA(r,n,e,i)}function HA(t){let n;function e(o){let s={};for(let l of o.children){let c=e(l);s[l.outlet]=c}let a=new Fe(o.url,s);return o===t&&(n=a),a}let i=e(t.root),r=zA(i);return n??r}function GA(t,n,e,i){let r=t;for(;r.parent;)r=r.parent;if(n.length===0)return Mb(r,r,r,e,i);let o=J$(n);if(o.toRoot())return Mb(r,r,new Fe([],{}),e,i);let s=eH(o,r,t),a=s.processChildren?cc(s.segmentGroup,s.index,o.commands):qA(s.segmentGroup,s.index,o.commands);return Mb(r,s.segmentGroup,a,e,i)}function Dh(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function fc(t){return typeof t=="object"&&t!=null&&t.outlets}function Mb(t,n,e,i,r){let o={};i&&Object.entries(i).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`});let s;t===n?s=e:s=WA(t,n,e);let a=zA($A(s));return new Gi(a,o,r)}function WA(t,n,e){let i={};return Object.entries(t.children).forEach(([r,o])=>{o===n?i[r]=e:i[r]=WA(o,n,e)}),new Fe(t.segments,i)}function J$(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Ih(!0,0,t);let n=0,e=!1,i=t.reduce((r,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return typeof o!="string"?[...r,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?e=!0:a===".."?n++:a!=""&&r.push(a))}),r):[...r,o]},[]);return new Ih(e,n,i)}function eH(t,n,e){if(t.isAbsolute)return new ya(n,!0,0);if(!e)return new ya(n,!1,NaN);if(e.parent===null)return new ya(e,!0,0);let i=Dh(t.commands[0])?0:1,r=e.segments.length-1+i;return tH(e,r,t.numberOfDoubleDots)}function tH(t,n,e){let i=t,r=n,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new A(4005,!1);r=i.segments.length}return new ya(i,!1,r-o)}function nH(t){return fc(t[0])?t[0].outlets:{[ue]:t}}function qA(t,n,e){if(t??=new Fe([],{}),t.segments.length===0&&t.hasChildren())return cc(t,n,e);let i=iH(t,n,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){let o=new Fe(t.segments.slice(0,i.pathIndex),{});return o.children[ue]=new Fe(t.segments.slice(i.pathIndex),t.children),cc(o,0,r)}else return i.match&&r.length===0?new Fe(t.segments,{}):i.match&&!t.hasChildren()?Nb(t,n,e):i.match?cc(t,0,r):Nb(t,n,e)}function cc(t,n,e){if(e.length===0)return new Fe(t.segments,{});{let i=nH(e),r={};if(Object.keys(i).some(o=>o!==ue)&&t.children[ue]&&t.numberOfChildren===1&&t.children[ue].segments.length===0){let o=cc(t.children[ue],n,e);return new Fe(t.segments,o.children)}return Object.entries(i).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(r[o]=qA(t.children[o],n,s))}),Object.entries(t.children).forEach(([o,s])=>{i[o]===void 0&&(r[o]=s)}),new Fe(t.segments,r)}}function iH(t,n,e){let i=0,r=n,o={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(i>=e.length)return o;let s=t.segments[r],a=e[i];if(fc(a))break;let l=`${a}`,c=i<e.length-1?e[i+1]:null;if(r>0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!SA(l,c,s))return o;i+=2}else{if(!SA(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}function Nb(t,n,e){let i=t.segments.slice(0,n),r=0;for(;r<e.length;){let o=e[r];if(fc(o)){let l=rH(o.outlets);return new Fe(i,l)}if(r===0&&Dh(e[0])){let l=t.segments[n];i.push(new Lo(l.path,IA(e[0]))),r++;continue}let s=fc(o)?o.outlets[ue]:`${o}`,a=r<e.length-1?e[r+1]:null;s&&a&&Dh(a)?(i.push(new Lo(s,IA(a))),r+=2):(i.push(new Lo(s,{})),r++)}return new Fe(i,{})}function rH(t){let n={};return Object.entries(t).forEach(([e,i])=>{typeof i=="string"&&(i=[i]),i!==null&&(n[e]=Nb(new Fe([],{}),0,i))}),n}function IA(t){let n={};return Object.entries(t).forEach(([e,i])=>n[e]=`${i}`),n}function SA(t,n,e){return t==e.path&&li(n,e.parameters)}function oH(t,n){return t.providers&&!t._injector&&(t._injector=Nu(t.providers,n,`Route: ${t.path}`)),t._injector??n}function Vn(t){return t.outlet||ue}function sH(t,n){let e=t.filter(i=>Vn(i)===n);return e.push(...t.filter(i=>Vn(i)!==n)),e}function xc(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){let e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}function qb(t,n){if(t===n.value)return n;for(let e of n.children){let i=qb(t,e);if(i)return i}return null}function Yb(t,n){if(t===n.value)return[n];for(let e of n.children){let i=Yb(t,e);if(i.length)return i.unshift(n),i}return[]}function va(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}function YA(t){let n=aH(t),e=new it([new Lo("",{})]),i=new it({}),r=new it({}),o=new it({}),s=new it(""),a=new Vo(e,i,o,s,r,ue,t,n.root);return a.snapshot=n.root,new Rh(new ln(a,[]),n)}function aH(t){let n={},e={},i={},r="",o=new ba([],n,i,r,e,ue,t,null,{});return new Fh("",new ln(o,[]))}function Oh(t,n,e="emptyOnly"){let i,{routeConfig:r}=t;return n!==null&&(e==="always"||r?.path===""||!n.component&&!n.routeConfig?.loadComponent)?i={params:x(x({},n.params),t.params),data:x(x({},n.data),t.data),resolve:x(x(x(x({},t.data),n.data),r?.data),t._resolvedData)}:i={params:x({},t.params),data:x({},t.data),resolve:x(x({},t.data),t._resolvedData??{})},r&&QA(r)&&(i.resolve[bc]=r.title),i}function i_(t,n){n.value._routerState=t,n.children.forEach(e=>i_(t,e))}function KA(t){let n=t.children.length>0?` { ${t.children.map(KA).join(", ")} } `:"";return`${t.value}${n}`}function Ab(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,li(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),li(n.params,e.params)||t.paramsSubject.next(e.params),k$(n.url,e.url)||t.urlSubject.next(e.url),li(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Kb(t,n){let e=li(t.params,n.params)&&j$(t.url,n.url),i=!t.parent!=!n.parent;return e&&!i&&(!t.parent||Kb(t.parent,n.parent))}function QA(t){return typeof t.title=="string"||t.title===null}function cH(t,n,e){let i=mc(t,n._root,e?e._root:void 0);return new Rh(i,n)}function mc(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=n.value;let r=dH(t,n,e);return new ln(i,r)}else{if(t.shouldAttach(n.value)){let o=t.retrieve(n.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>mc(t,a)),s}}let i=uH(n.value),r=n.children.map(o=>mc(t,o));return new ln(i,r)}}function dH(t,n,e){return n.children.map(i=>{for(let r of e.children)if(t.shouldReuseRoute(i.value,r.value.snapshot))return mc(t,i,r);return mc(t,i)})}function uH(t){return new Vo(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)}function kh(t,n){let{redirectTo:e,navigationBehaviorOptions:i}=jo(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=XA(!1,cn.Redirect);return r.url=e,r.navigationBehaviorOptions=i,r}function XA(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[ZA]=!0,e.cancellationCode=n,e}function fH(t){return JA(t)&&jo(t.url)}function JA(t){return!!t&&t[ZA]}function pH(t,n,e){let i=t._root,r=n?n._root:null;return ac(i,r,e,[i.value])}function mH(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function Ia(t,n){let e=Symbol(),i=n.get(t,e);return i===e?typeof t=="function"&&!KC(t)?t:n.get(t):i}function ac(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=va(n);return t.children.forEach(s=>{gH(s,o[s.value.outlet],e,i.concat([s.value]),r),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>uc(a,e.getContext(s),r)),r}function gH(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=vH(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Nh(i)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?ac(t,n,a?a.children:null,i,r):ac(t,n,e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new _a(a.outlet.component,s))}else s&&uc(n,a,r),r.canActivateChecks.push(new Nh(i)),o.component?ac(t,null,a?a.children:null,i,r):ac(t,null,e,i,r);return r}function vH(t,n,e){if(typeof e=="function")return e(t,n);switch(e){case"pathParamsChange":return!Po(t.url,n.url);case"pathParamsOrQueryParamsChange":return!Po(t.url,n.url)||!li(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Kb(t,n)||!li(t.queryParams,n.queryParams);case"paramsChange":default:return!Kb(t,n)}}function uc(t,n,e){let i=va(t),r=t.value;Object.entries(i).forEach(([o,s])=>{r.component?n?uc(s,n.children.getContext(o),e):uc(s,null,e):uc(s,n,e)}),r.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new _a(n.outlet.component,r)):e.canDeactivateChecks.push(new _a(null,r)):e.canDeactivateChecks.push(new _a(null,r))}function wc(t){return typeof t=="function"}function yH(t){return typeof t=="boolean"}function bH(t){return t&&wc(t.canLoad)}function _H(t){return t&&wc(t.canActivate)}function xH(t){return t&&wc(t.canActivateChild)}function CH(t){return t&&wc(t.canDeactivate)}function wH(t){return t&&wc(t.canMatch)}function eT(t){return t instanceof hi||t?.name==="EmptyError"}function Da(){return qe(t=>eo(t.map(n=>n.pipe(Ue(1),Zt(xh)))).pipe(k(n=>{for(let e of n)if(e!==!0){if(e===xh)return xh;if(e===!1||EH(e))return e}return!0}),xe(n=>n!==xh),Ue(1)))}function EH(t){return jo(t)||t instanceof gc}function DH(t,n){return He(e=>{let{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?O(se(x({},e),{guardsResult:!0})):IH(s,i,r,t).pipe(He(a=>a&&yH(a)?SH(i,o,t,n):O(a)),k(a=>se(x({},e),{guardsResult:a})))})}function IH(t,n,e,i){return Ne(t).pipe(He(r=>OH(r.component,r.route,e,n,i)),$n(r=>r!==!0,!0))}function SH(t,n,e,i){return Ne(n).pipe(An(r=>Mn(AH(r.route.parent,i),MH(r.route,i),RH(t,r.path,e),TH(t,r.route,e))),$n(r=>r!==!0,!0))}function MH(t,n){return t!==null&&n&&n(new Hb(t)),O(!0)}function AH(t,n){return t!==null&&n&&n(new zb(t)),O(!0)}function TH(t,n,e){let i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||i.length===0)return O(!0);let r=i.map(o=>Kt(()=>{let s=xc(n)??e,a=Ia(o,s),l=_H(a)?a.canActivate(n,t):gn(s,()=>a(n,t));return Br(l).pipe($n())}));return O(r).pipe(Da())}function RH(t,n,e){let i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>mH(s)).filter(s=>s!==null).map(s=>Kt(()=>{let a=s.guards.map(l=>{let c=xc(s.node)??e,d=Ia(l,c),u=xH(d)?d.canActivateChild(i,t):gn(c,()=>d(i,t));return Br(u).pipe($n())});return O(a).pipe(Da())}));return O(o).pipe(Da())}function OH(t,n,e,i,r){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return O(!0);let s=o.map(a=>{let l=xc(n)??r,c=Ia(a,l),d=CH(c)?c.canDeactivate(t,n,e,i):gn(l,()=>c(t,n,e,i));return Br(d).pipe($n())});return O(s).pipe(Da())}function FH(t,n,e,i){let r=n.canLoad;if(r===void 0||r.length===0)return O(!0);let o=r.map(s=>{let a=Ia(s,t),l=bH(a)?a.canLoad(n,e):gn(t,()=>a(n,e));return Br(l)});return O(o).pipe(Da(),tT(i))}function tT(t){return Ep(Le(n=>{if(typeof n!="boolean")throw kh(t,n)}),k(n=>n===!0))}function kH(t,n,e,i){let r=n.canMatch;if(!r||r.length===0)return O(!0);let o=r.map(s=>{let a=Ia(s,t),l=wH(a)?a.canMatch(n,e):gn(t,()=>a(n,e));return Br(l)});return O(o).pipe(Da(),tT(i))}function ga(t){return Ki(new vc(t))}function NH(t){return Ki(new A(4e3,!1))}function LH(t){return Ki(XA(!1,cn.GuardRejected))}function PH(t,n,e,i,r){let o=nT(t,n,e);return o.matched?(i=oH(n,i),kH(i,n,e,r).pipe(k(s=>s===!0?o:x({},Jb)))):O(o)}function nT(t,n,e){if(n.path==="**")return jH(e);if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?x({},Jb):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let r=(n.matcher||F$)(e,t,n);if(!r)return x({},Jb);let o={};Object.entries(r.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=r.consumed.length>0?x(x({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function jH(t){return{matched:!0,parameters:t.length>0?NA(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function AA(t,n,e,i){return e.length>0&&UH(t,e,i)?{segmentGroup:new Fe(n,BH(i,new Fe(e,t.children))),slicedSegments:[]}:e.length===0&&zH(t,e,i)?{segmentGroup:new Fe(t.segments,VH(t,e,i,t.children)),slicedSegments:e}:{segmentGroup:new Fe(t.segments,t.children),slicedSegments:e}}function VH(t,n,e,i){let r={};for(let o of e)if(Vh(t,n,o)&&!i[Vn(o)]){let s=new Fe([],{});r[Vn(o)]=s}return x(x({},i),r)}function BH(t,n){let e={};e[ue]=n;for(let i of t)if(i.path===""&&Vn(i)!==ue){let r=new Fe([],{});e[Vn(i)]=r}return e}function UH(t,n,e){return e.some(i=>Vh(t,n,i)&&Vn(i)!==ue)}function zH(t,n,e){return e.some(i=>Vh(t,n,i))}function Vh(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function $H(t,n,e){return n.length===0&&!t.children[e]}function HH(t,n,e,i,r,o,s="emptyOnly"){return new t_(t,n,e,i,r,s,o).recognize()}function WH(t){t.sort((n,e)=>n.value.outlet===ue?-1:e.value.outlet===ue?1:n.value.outlet.localeCompare(e.value.outlet))}function qH(t){let n=t.value.routeConfig;return n&&n.path===""}function iT(t){let n=[],e=new Set;for(let i of t){if(!qH(i)){n.push(i);continue}let r=n.find(o=>i.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...i.children),e.add(r)):n.push(i)}for(let i of e){let r=iT(i.children);n.push(new ln(i.value,r))}return n.filter(i=>!e.has(i))}function TA(t){return t.data||{}}function RA(t){return t.resolve||{}}function YH(t,n,e,i,r,o){return He(s=>HH(t,n,e,i,s.extractedUrl,r,o).pipe(k(({state:a,tree:l})=>se(x({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function KH(t,n){return He(e=>{let{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return O(e);let o=new Set(r.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let c of rT(l))s.add(c);let a=0;return Ne(s).pipe(An(l=>o.has(l)?QH(l,i,t,n):(l.data=Oh(l,l.parent,t).resolve,O(void 0))),Le(()=>a++),ls(1),He(l=>a===s.size?O(e):Nt))})}function rT(t){let n=t.children.map(e=>rT(e)).flat();return[t,...n]}function QH(t,n,e,i){let r=t.routeConfig,o=t._resolve;return r?.title!==void 0&&!QA(r)&&(o[bc]=r.title),ZH(o,t,n,i).pipe(k(s=>(t._resolvedData=s,t.data=Oh(t,t.parent,e).resolve,null)))}function ZH(t,n,e,i){let r=Ob(t);if(r.length===0)return O({});let o={};return Ne(r).pipe(He(s=>XH(t[s],n,e,i).pipe($n(),Le(a=>{if(a instanceof gc)throw kh(new Ca,a);o[s]=a}))),ls(1),Qp(o),Qt(s=>eT(s)?Nt:Ki(s)))}function XH(t,n,e,i){let r=xc(n)??i,o=Ia(t,r),s=o.resolve?o.resolve(n,e):gn(r,()=>o(n,e));return Br(s)}function Tb(t){return qe(n=>{let e=t(n);return e?Ne(e).pipe(k(()=>n)):O(n)})}function r_(t){let n=t.children&&t.children.map(r_),e=n?se(x({},t),{children:n}):x({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==ue&&(e.component=e3),e}function t3(t,n,e,i){return Br(t.loadChildren()).pipe(k(sT),He(r=>r instanceof tl||Array.isArray(r)?O(r):Ne(n.compileModuleAsync(r))),k(r=>{i&&i(t);let o,s,a=!1;return Array.isArray(r)?(s=r,a=!0):(o=r.create(e).injector,s=o.get(Lh,[],{optional:!0,self:!0}).flat()),{routes:s.map(r_),injector:o}}))}function n3(t){return t&&typeof t=="object"&&"default"in t}function sT(t){return n3(t)?t.default:t}function r3(t,n,e){let i=t.get(lT),r=t.get(z);return t.get(F).runOutsideAngular(()=>{if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=r.startViewTransition(()=>(o(),o3(t))),{onViewTransitionCreated:l}=i;return l&&gn(t,()=>l({transition:a,from:n,to:e})),s})}function o3(t){return new Promise(n=>{Fn({read:()=>setTimeout(n)},{injector:t})})}function a3(t){return t!==dc}function dT(t,n){t.events.pipe(xe(e=>e instanceof ci||e instanceof Hi||e instanceof hc||e instanceof jr),k(e=>e instanceof ci||e instanceof jr?lc.COMPLETE:(e instanceof Hi?e.code===cn.Redirect||e.code===cn.SupersededByNewNavigation:!1)?lc.REDIRECTING:lc.FAILED),xe(e=>e!==lc.REDIRECTING),Ue(1)).subscribe(()=>{n()})}function u3(t){throw t}function p3(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new A(4008,!1)}function m3(t){return!(t instanceof pc)&&!(t instanceof Ea)}function y3(t){return t.routerState.root}function Dc(t,n){return{\u0275kind:t,\u0275providers:n}}function b3(){let t=y(Me);return n=>{let e=t.get(_n);if(n!==e.components[0])return;let i=t.get(Vr),r=t.get(hT);t.get(l_)===1&&i.initialNavigation(),t.get(pT,null,he.Optional)?.setUpPreloading(),t.get(fT,null,he.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}function _3(){return Dc(2,[{provide:l_,useValue:0},{provide:Bu,multi:!0,deps:[Me],useFactory:n=>{let e=n.get(rI,Promise.resolve());return()=>e.then(()=>new Promise(i=>{let r=n.get(Vr),o=n.get(hT);dT(r,()=>{i(!0)}),n.get(a_).afterPreactivation=()=>(i(!0),o.closed?O(void 0):o),r.initialNavigation()}))}}])}function x3(){return Dc(3,[{provide:Bu,multi:!0,useFactory:()=>{let n=y(Vr);return()=>{n.setUpLocationChangeListener()}}},{provide:l_,useValue:2}])}function C3(t){return Dc(0,[{provide:pT,useExisting:g3},{provide:Ph,useExisting:t}])}function w3(){return Dc(8,[MA,{provide:jh,useExisting:MA}])}function E3(t){let n=[{provide:aT,useValue:r3},{provide:lT,useValue:x({skipNextTransition:!!t?.skipInitialTransition},t)}];return Dc(9,n)}function I3(){return{provide:fT,useFactory:()=>{let t=y(lI),n=y(F),e=y(Ec),i=y(a_),r=y(_c);return e.scrollOffset&&t.setOffset(e.scrollOffset),new v3(r,i,t,n,e)}}}function S3(){return{provide:Ri,useClass:sI}}function M3(){return{provide:Ri,useClass:Nv}}function A3(t){return"guarded"}function T3(t){return[t.initialNavigation==="disabled"?x3().\u0275providers:[],t.initialNavigation==="enabledBlocking"?_3().\u0275providers:[]]}function R3(){return[{provide:FA,useFactory:b3},{provide:Ns,multi:!0,useExisting:FA}]}var ue,bc,Rb,N$,LA,Gi,Fe,Lo,_c,Ca,B$,H$,G$,q$,K$,kb,Ih,ya,dc,_t,Dn,wa,ci,cn,Sh,Hi,jr,hc,Mh,Lb,Pb,jb,Vb,Bb,Ub,zb,$b,Hb,Gb,Ah,pc,Ea,Wb,Cc,Th,ln,Rh,Vo,ba,Fh,lH,Qb,jh,MA,gc,ZA,hH,Zb,Nh,_a,xh,vc,yc,Xb,Jb,e_,GH,t_,oT,JH,Ec,e3,Lh,o_,s_,i3,aT,lT,s3,a_,l3,n_,c3,cT,d3,lc,f3,h3,Vr,uT,Ph,g3,fT,v3,hT,l_,pT,OA,D3,mT,FA,c_=f(()=>{"use strict";D();D();Re();pe();pe();ct();Ps();ue="primary",bc=Symbol("RouteTitle"),Rb=class{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};N$={exact:PA,subset:jA},LA={exact:L$,subset:P$,ignored:()=>!0};Gi=class{constructor(n=new Fe([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap??=xa(this.queryParams),this._queryParamMap}toString(){return B$.serialize(this)}},Fe=class{constructor(n,e){this.segments=n,this.children=e,this.parent=null,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return wh(this)}},Lo=class{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=xa(this.parameters),this._parameterMap}toString(){return UA(this)}};_c=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:()=>new Ca,providedIn:"root"})}}return t})(),Ca=class{parse(n){let e=new kb(n);return new Gi(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${sc(n.root,!0)}`,i=$$(n.queryParams),r=typeof n.fragment=="string"?`#${U$(n.fragment)}`:"";return`${e}${i}${r}`}},B$=new Ca;H$=/^[^\/()?;#]+/;G$=/^[^\/()?;=#]+/;q$=/^[^=?&#]+/;K$=/^[^&#]+/;kb=class{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Fe([],{}):new Fe([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[ue]=new Fe(n,e)),i}parseSegment(){let n=Sb(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new A(4009,!1);return this.capture(n),new Lo(Eh(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=W$(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let r=Sb(this.remaining);r&&(i=r,this.capture(i))}n[Eh(e)]=Eh(i)}parseQueryParam(n){let e=Y$(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let s=Q$(this.remaining);s&&(i=s,this.capture(i))}let r=DA(e),o=DA(i);if(n.hasOwnProperty(r)){let s=n[r];Array.isArray(s)||(s=[s],n[r]=s),s.push(o)}else n[r]=o}parseParens(n){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=Sb(this.remaining),r=this.remaining[i.length];if(r!=="/"&&r!==")"&&r!==";")throw new A(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=ue);let s=this.parseChildren();e[o]=Object.keys(s).length===1?s[ue]:new Fe([],s),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new A(4011,!1)}};Ih=class{constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&Dh(i[0]))throw new A(4003,!1);let r=i.find(fc);if(r&&r!==NA(i))throw new A(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};ya=class{constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}};dc="imperative",_t=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}(_t||{}),Dn=class{constructor(n,e){this.id=n,this.url=e}},wa=class extends Dn{constructor(n,e,i="imperative",r=null){super(n,e),this.type=_t.NavigationStart,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},ci=class extends Dn{constructor(n,e,i){super(n,e),this.urlAfterRedirects=i,this.type=_t.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},cn=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(cn||{}),Sh=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Sh||{}),Hi=class extends Dn{constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r,this.type=_t.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},jr=class extends Dn{constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r,this.type=_t.NavigationSkipped}},hc=class extends Dn{constructor(n,e,i,r){super(n,e),this.error=i,this.target=r,this.type=_t.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Mh=class extends Dn{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=_t.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Lb=class extends Dn{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=_t.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Pb=class extends Dn{constructor(n,e,i,r,o){super(n,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o,this.type=_t.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},jb=class extends Dn{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=_t.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Vb=class extends Dn{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=_t.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Bb=class{constructor(n){this.route=n,this.type=_t.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Ub=class{constructor(n){this.route=n,this.type=_t.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},zb=class{constructor(n){this.snapshot=n,this.type=_t.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},$b=class{constructor(n){this.snapshot=n,this.type=_t.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Hb=class{constructor(n){this.snapshot=n,this.type=_t.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Gb=class{constructor(n){this.snapshot=n,this.type=_t.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ah=class{constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i,this.type=_t.Scroll}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},pc=class{},Ea=class{constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};Wb=class{get injector(){return xc(this.route?.snapshot)??this.rootInjector}set injector(n){}constructor(n){this.rootInjector=n,this.outlet=null,this.route=null,this.children=new Cc(this.rootInjector),this.attachRef=null}},Cc=(()=>{class t{constructor(e){this.rootInjector=e,this.contexts=new Map}onChildOutletCreated(e,i){let r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new Wb(this.rootInjector),this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static{this.\u0275fac=function(i){return new(i||t)(g(Ct))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Th=class{constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=qb(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){let e=qb(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=Yb(n,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return Yb(n,this._root).map(e=>e.value)}};ln=class{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};Rh=class extends Th{constructor(n,e){super(n),this.snapshot=e,i_(this,n)}toString(){return this.snapshot.toString()}};Vo=class{constructor(n,e,i,r,o,s,a,l){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(k(c=>c[bc]))??O(void 0),this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(k(n=>xa(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(k(n=>xa(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};ba=class{get title(){return this.data?.[bc]}constructor(n,e,i,r,o,s,a,l,c){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,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??=xa(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=xa(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(i=>i.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},Fh=class extends Th{constructor(n,e){super(e),this.url=n,i_(this,e)}toString(){return KA(this._root)}};lH=(()=>{class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=ue,this.activateEvents=new P,this.deactivateEvents=new P,this.attachEvents=new P,this.detachEvents=new P,this.parentContexts=y(Cc),this.location=y(Rt),this.changeDetector=y(et),this.inputBinder=y(jh,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new A(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new A(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new A(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new A(4013,!1);this._activatedRoute=e;let r=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new Qb(e,a,r.injector);this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=V({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Ve]})}}return t})(),Qb=class t{__ngOutletInjector(n){return new t(this.route,this.childContexts,n)}constructor(n,e,i){this.route=n,this.childContexts=e,this.parent=i}get(n,e){return n===Vo?this.route:n===Cc?this.childContexts:this.parent.get(n,e)}},jh=new C(""),MA=(()=>{class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:i}=e,r=eo([i.queryParams,i.params,i.data]).pipe(qe(([o,s,a],l)=>(a=x(x(x({},o),s),a),l===0?O(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(e);return}let s=KD(i.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(e,r)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})();gc=class{constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},ZA="ngNavigationCancelingError";hH=(t,n,e,i)=>k(r=>(new Zb(n,r.targetRouterState,r.currentRouterState,e,i).activate(t),r)),Zb=class{constructor(n,e,i,r,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(n){let e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),Ab(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){let r=va(e);n.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(n,e,i){let r=n.value,o=e?e.value:null;if(r===o)if(r.component){let s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=va(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);if(i&&i.outlet){let s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=va(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,e,i){let r=va(e);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new Gb(o.value.snapshot))}),n.children.length&&this.forwardEvent(new $b(n.value.snapshot))}activateRoutes(n,e,i){let r=n.value,o=e?e.value:null;if(Ab(r),r===o)if(r.component){let s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,i);else if(r.component){let s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Ab(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=r,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,i)}},Nh=class{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},_a=class{constructor(n,e){this.component=n,this.route=e}};xh=Symbol("INITIAL_VALUE");vc=class{constructor(n){this.segmentGroup=n||null}},yc=class extends Error{constructor(n){super(),this.urlTree=n}};Xb=class{constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),r.numberOfChildren===0)return O(i);if(r.numberOfChildren>1||!r.children[ue])return NH(`${n.redirectTo}`);r=r.children[ue]}}applyRedirectCommands(n,e,i,r,o){if(typeof e!="string"){let a=e,{queryParams:l,fragment:c,routeConfig:d,url:u,outlet:m,params:h,data:v,title:b}=r,E=gn(o,()=>a({params:h,data:v,queryParams:l,fragment:c,routeConfig:d,url:u,outlet:m,title:b}));if(E instanceof Gi)throw new yc(E);e=E}let s=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i);if(e[0]==="/")throw new yc(s);return s}applyRedirectCreateUrlTree(n,e,i,r){let o=this.createSegmentGroup(n,e.root,i,r);return new Gi(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let i={};return Object.entries(n).forEach(([r,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);i[r]=e[a]}else i[r]=o}),i}createSegmentGroup(n,e,i,r){let o=this.createSegments(n,e.segments,i,r),s={};return Object.entries(e.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,i,r)}),new Fe(o,s)}createSegments(n,e,i,r){return e.map(o=>o.path[0]===":"?this.findPosParam(n,o,r):this.findOrReturn(o,i))}findPosParam(n,e,i){let r=i[e.path.substring(1)];if(!r)throw new A(4001,!1);return r}findOrReturn(n,e){let i=0;for(let r of e){if(r.path===n.path)return e.splice(i),r;i++}return n}},Jb={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};e_=class{};GH=31,t_=class{constructor(n,e,i,r,o,s,a){this.injector=n,this.configLoader=e,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Xb(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(n){return new A(4002,`'${n.segmentGroup}'`)}recognize(){let n=AA(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(k(({children:e,rootSnapshot:i})=>{let r=new ln(i,e),o=new Fh("",r),s=X$(i,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(n){let e=new ba([],Object.freeze({}),Object.freeze(x({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),ue,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,ue,e).pipe(k(i=>({children:i,rootSnapshot:e})),Qt(i=>{if(i instanceof yc)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof vc?this.noMatchError(i):i}))}processSegmentGroup(n,e,i,r,o){return i.segments.length===0&&i.hasChildren()?this.processChildren(n,e,i,o):this.processSegment(n,e,i,i.segments,r,!0,o).pipe(k(s=>s instanceof ln?[s]:[]))}processChildren(n,e,i,r){let o=[];for(let s of Object.keys(i.children))s==="primary"?o.unshift(s):o.push(s);return Ne(o).pipe(An(s=>{let a=i.children[s],l=sH(e,s);return this.processSegmentGroup(n,l,a,s,r)}),tm((s,a)=>(s.push(...a),s)),Zi(null),em(),He(s=>{if(s===null)return ga(i);let a=iT(s);return WH(a),O(a)}))}processSegment(n,e,i,r,o,s,a){return Ne(e).pipe(An(l=>this.processSegmentAgainstRoute(l._injector??n,e,l,i,r,o,s,a).pipe(Qt(c=>{if(c instanceof vc)return O(null);throw c}))),$n(l=>!!l),Qt(l=>{if(eT(l))return $H(i,r,o)?O(new e_):ga(i);throw l}))}processSegmentAgainstRoute(n,e,i,r,o,s,a,l){return Vn(i)!==s&&(s===ue||!Vh(r,o,i))?ga(r):i.redirectTo===void 0?this.matchSegmentAgainstRoute(n,r,i,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,r,e,i,o,s,l):ga(r)}expandSegmentAgainstRouteUsingRedirect(n,e,i,r,o,s,a){let{matched:l,parameters:c,consumedSegments:d,positionalParamSegments:u,remainingSegments:m}=nT(e,r,o);if(!l)return ga(e);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>GH&&(this.allowRedirects=!1));let h=new ba(o,c,Object.freeze(x({},this.urlTree.queryParams)),this.urlTree.fragment,TA(r),Vn(r),r.component??r._loadedComponent??null,r,RA(r)),v=Oh(h,a,this.paramsInheritanceStrategy);h.params=Object.freeze(v.params),h.data=Object.freeze(v.data);let b=this.applyRedirects.applyRedirectCommands(d,r.redirectTo,u,h,n);return this.applyRedirects.lineralizeSegments(r,b).pipe(He(E=>this.processSegment(n,i,e,E.concat(m),s,!1,a)))}matchSegmentAgainstRoute(n,e,i,r,o,s){let a=PH(e,i,r,n,this.urlSerializer);return i.path==="**"&&(e.children={}),a.pipe(qe(l=>l.matched?(n=i._injector??n,this.getChildConfig(n,i,r).pipe(qe(({routes:c})=>{let d=i._loadedInjector??n,{parameters:u,consumedSegments:m,remainingSegments:h}=l,v=new ba(m,u,Object.freeze(x({},this.urlTree.queryParams)),this.urlTree.fragment,TA(i),Vn(i),i.component??i._loadedComponent??null,i,RA(i)),b=Oh(v,s,this.paramsInheritanceStrategy);v.params=Object.freeze(b.params),v.data=Object.freeze(b.data);let{segmentGroup:E,slicedSegments:S}=AA(e,m,h,c);if(S.length===0&&E.hasChildren())return this.processChildren(d,c,E,v).pipe(k(G=>new ln(v,G)));if(c.length===0&&S.length===0)return O(new ln(v,[]));let B=Vn(i)===o;return this.processSegment(d,c,E,S,B?ue:o,!0,v).pipe(k(G=>new ln(v,G instanceof ln?[G]:[])))}))):ga(e)))}getChildConfig(n,e,i){return e.children?O({routes:e.children,injector:n}):e.loadChildren?e._loadedRoutes!==void 0?O({routes:e._loadedRoutes,injector:e._loadedInjector}):FH(n,e,i,this.urlSerializer).pipe(He(r=>r?this.configLoader.loadChildren(n,e).pipe(Le(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):LH(e))):O({routes:[],injector:n})}};oT=(()=>{class t{buildTitle(e){let i,r=e.root;for(;r!==void 0;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===ue);return i}getResolvedTitleForRoute(e){return e.data[bc]}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:()=>y(JH),providedIn:"root"})}}return t})(),JH=(()=>{class t extends oT{constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}static{this.\u0275fac=function(i){return new(i||t)(g(TI))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Ec=new C("",{providedIn:"root",factory:()=>({})}),e3=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["ng-component"]],standalone:!0,features:[Ee],decls:1,vars:0,template:function(i,r){i&1&&Q(0,"router-outlet")},dependencies:[lH],encapsulation:2})}}return t})();Lh=new C(""),o_=(()=>{class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=y(Uu)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return O(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let i=Br(e.loadComponent()).pipe(k(sT),Le(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),$t(()=>{this.componentLoaders.delete(e)})),r=new Qr(i,()=>new R).pipe(es());return this.componentLoaders.set(e,r),r}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return O({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let o=t3(i,this.compiler,e,this.onLoadEndListener).pipe($t(()=>{this.childrenLoaders.delete(i)})),s=new Qr(o,()=>new R).pipe(es());return this.childrenLoaders.set(i,s),s}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();s_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:()=>y(i3),providedIn:"root"})}}return t})(),i3=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),aT=new C(""),lT=new C("");s3=new C(""),a_=(()=>{class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new R,this.transitionAbortSubject=new R,this.configLoader=y(o_),this.environmentInjector=y(Ct),this.urlSerializer=y(_c),this.rootContexts=y(Cc),this.location=y(Zn),this.inputBindingEnabled=y(jh,{optional:!0})!==null,this.titleStrategy=y(oT),this.options=y(Ec,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=y(s_),this.createViewTransition=y(aT,{optional:!0}),this.navigationErrorHandler=y(s3,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>O(void 0),this.rootComponentType=null;let e=r=>this.events.next(new Bb(r)),i=r=>this.events.next(new Ub(r));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;this.transitions?.next(se(x(x({},this.transitions.value),e),{id:i}))}setupNavigations(e,i,r){return this.transitions=new it({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:dc,restoredState:null,currentSnapshot:r.snapshot,targetSnapshot:null,currentRouterState:r,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(xe(o=>o.id!==0),k(o=>se(x({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),qe(o=>{let s=!1,a=!1;return O(o).pipe(qe(l=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",cn.SupersededByNewNavigation),Nt;this.currentTransition=o,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:typeof l.extras.browserUrl=="string"?this.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?se(x({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let c=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=l.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!c&&d!=="reload"){let u="";return this.events.next(new jr(l.id,this.urlSerializer.serialize(l.rawUrl),u,Sh.IgnoredSameUrlNavigation)),l.resolve(!1),Nt}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return O(l).pipe(qe(u=>{let m=this.transitions?.getValue();return this.events.next(new wa(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),m!==this.transitions?.getValue()?Nt:Promise.resolve(u)}),YH(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),Le(u=>{o.targetSnapshot=u.targetSnapshot,o.urlAfterRedirects=u.urlAfterRedirects,this.currentNavigation=se(x({},this.currentNavigation),{finalUrl:u.urlAfterRedirects});let m=new Mh(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(m)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:u,extractedUrl:m,source:h,restoredState:v,extras:b}=l,E=new wa(u,this.urlSerializer.serialize(m),h,v);this.events.next(E);let S=YA(this.rootComponentType).snapshot;return this.currentTransition=o=se(x({},l),{targetSnapshot:S,urlAfterRedirects:m,extras:se(x({},b),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=m,O(o)}else{let u="";return this.events.next(new jr(l.id,this.urlSerializer.serialize(l.extractedUrl),u,Sh.IgnoredByUrlHandlingStrategy)),l.resolve(!1),Nt}}),Le(l=>{let c=new Lb(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),k(l=>(this.currentTransition=o=se(x({},l),{guards:pH(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),o)),DH(this.environmentInjector,l=>this.events.next(l)),Le(l=>{if(o.guardsResult=l.guardsResult,l.guardsResult&&typeof l.guardsResult!="boolean")throw kh(this.urlSerializer,l.guardsResult);let c=new Pb(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),xe(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",cn.GuardRejected),!1)),Tb(l=>{if(l.guards.canActivateChecks.length)return O(l).pipe(Le(c=>{let d=new jb(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}),qe(c=>{let d=!1;return O(c).pipe(KH(this.paramsInheritanceStrategy,this.environmentInjector),Le({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(c,"",cn.NoDataFromResolver)}}))}),Le(c=>{let d=new Vb(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}))}),Tb(l=>{let c=d=>{let u=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(d.routeConfig).pipe(Le(m=>{d.component=m}),k(()=>{})));for(let m of d.children)u.push(...c(m));return u};return eo(c(l.targetSnapshot.root)).pipe(Zi(null),Ue(1))}),Tb(()=>this.afterPreactivation()),qe(()=>{let{currentSnapshot:l,targetSnapshot:c}=o,d=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return d?Ne(d).pipe(k(()=>o)):O(o)}),k(l=>{let c=cH(e.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=o=se(x({},l),{targetRouterState:c}),this.currentNavigation.targetRouterState=c,o}),Le(()=>{this.events.next(new pc)}),hH(this.rootContexts,e.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),Ue(1),Le({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ci(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),fe(this.transitionAbortSubject.pipe(Le(l=>{throw l}))),$t(()=>{!s&&!a&&this.cancelNavigationTransition(o,"",cn.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),Qt(l=>{if(a=!0,JA(l))this.events.next(new Hi(o.id,this.urlSerializer.serialize(o.extractedUrl),l.message,l.cancellationCode)),fH(l)?this.events.next(new Ea(l.url,l.navigationBehaviorOptions)):o.resolve(!1);else{let c=new hc(o.id,this.urlSerializer.serialize(o.extractedUrl),l,o.targetSnapshot??void 0);try{let d=gn(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(d instanceof gc){let{message:u,cancellationCode:m}=kh(this.urlSerializer,d);this.events.next(new Hi(o.id,this.urlSerializer.serialize(o.extractedUrl),u,m)),this.events.next(new Ea(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(c);let u=e.errorHandler(l);o.resolve(!!u)}}catch(d){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(d)}}return Nt}))}))}cancelNavigationTransition(e,i,r){let o=new Hi(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();l3=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:()=>y(c3),providedIn:"root"})}}return t})(),n_=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}},c3=(()=>{class t extends n_{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})()}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),cT=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:()=>y(d3),providedIn:"root"})}}return t})(),d3=(()=>{class t extends cT{constructor(){super(...arguments),this.location=y(Zn),this.urlSerializer=y(_c),this.options=y(Ec,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=y(s_),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Gi,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=YA(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&e(i.url,i.state)})}handleRouterEvent(e,i){if(e instanceof wa)this.stateMemento=this.createStateMemento();else if(e instanceof jr)this.rawUrlTree=i.initialUrl;else if(e instanceof Mh){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let r=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(i.targetBrowserUrl??r,i)}}else e instanceof pc?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(i.targetBrowserUrl??this.rawUrlTree,i)):e instanceof Hi&&(e.code===cn.GuardRejected||e.code===cn.NoDataFromResolver)?this.restoreHistory(i):e instanceof hc?this.restoreHistory(i,!0):e instanceof ci&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,i){let r=e instanceof Gi?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl){let o=this.browserPageId,s=x(x({},i.extras.state),this.generateNgRouterState(i.id,o));this.location.replaceState(r,"",s)}else{let o=x(x({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(r,"",o)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,o=this.currentPageId-r;o!==0?this.location.historyGo(o):this.currentUrlTree===e.finalUrl&&o===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})()}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),lc=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(lc||{});f3={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},h3={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Vr=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=y(Vu),this.stateManager=y(cT),this.options=y(Ec,{optional:!0})||{},this.pendingTasks=y(wi),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=y(a_),this.urlSerializer=y(_c),this.location=y(Zn),this.urlHandlingStrategy=y(s_),this._events=new R,this.errorHandler=this.options.errorHandler||u3,this.navigated=!1,this.routeReuseStrategy=y(l3),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=y(Lh,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!y(jh,{optional:!0}),this.eventsSubscription=new _e,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let r=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(r!==null&&o!==null){if(this.stateManager.handleRouterEvent(i,o),i instanceof Hi&&i.code!==cn.Redirect&&i.code!==cn.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof ci)this.navigated=!0;else if(i instanceof Ea){let s=i.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),l=x({browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||a3(r.source)},s);this.scheduleNavigation(a,dc,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}m3(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortSubject.next(r)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),dc,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",i)},0)})}navigateToSyncWithBrowser(e,i,r){let o={replaceUrl:!0},s=r?.navigationId?r:null;if(r){let l=x({},r);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(o.state=l)}let a=this.parseUrl(e);this.scheduleNavigation(a,i,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(r_),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){let{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:s,d=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":d=x(x({},this.currentUrlTree.queryParams),o);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}d!==null&&(d=this.removeEmptyProps(d));let u;try{let m=r?r.snapshot:this.routerState.snapshot.root;u=HA(m)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),u=this.currentUrlTree.root}return GA(u,e,d,c??null)}navigateByUrl(e,i={skipLocationChange:!1}){let r=jo(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,dc,null,i)}navigate(e,i={skipLocationChange:!1}){return p3(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,i){let r;if(i===!0?r=x({},f3):i===!1?r=x({},h3):r=i,jo(e))return EA(this.currentUrlTree,e,r);let o=this.parseUrl(e);return EA(this.currentUrlTree,o,r)}removeEmptyProps(e){return Object.entries(e).reduce((i,[r,o])=>(o!=null&&(i[r]=o),i),{})}scheduleNavigation(e,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((u,m)=>{a=u,l=m});let d=this.pendingTasks.add();return dT(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(u=>Promise.reject(u))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();uT=(()=>{class t{constructor(e,i,r,o,s,a){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=s,this.locationStrategy=a,this.href=null,this.onChanges=new R,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=e.events.subscribe(c=>{c instanceof ci&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(jo(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,i,r,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||i||r||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,l),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let i=this.href===null?null:CE(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(e,i){let r=this.renderer,o=this.el.nativeElement;i!==null?r.setAttribute(o,e,i):r.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:jo(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(i){return new(i||t)(p(Vr),p(Vo),dr("tabindex"),p(Qn),p(j),p(Ri))}}static{this.\u0275dir=V({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,r){i&1&&ee("click",function(s){return r.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),i&2&&Ie("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Ae],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Ae],replaceUrl:[2,"replaceUrl","replaceUrl",Ae],routerLink:"routerLink"},standalone:!0,features:[vt,Ve]})}}return t})(),Ph=class{},g3=(()=>{class t{constructor(e,i,r,o,s){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(xe(e=>e instanceof ci),An(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){let r=[];for(let o of i){o.providers&&!o._injector&&(o._injector=Nu(o.providers,e,`Route: ${o.path}`));let s=o._injector??e,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&r.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&r.push(this.processRoutes(a,o.children??o._loadedRoutes))}return Ne(r).pipe(Qi())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;i.loadChildren&&i.canLoad===void 0?r=this.loader.loadChildren(e,i):r=O(null);let o=r.pipe(He(s=>s===null?O(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));if(i.loadComponent&&!i._loadedComponent){let s=this.loader.loadComponent(i);return Ne([o,s]).pipe(Qi())}else return o})}static{this.\u0275fac=function(i){return new(i||t)(g(Vr),g(Uu),g(Ct),g(Ph),g(o_))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),fT=new C(""),v3=(()=>{class t{constructor(e,i,r,o,s={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=r,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof wa?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ci?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof jr&&e.code===Sh.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Ah&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ah(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(i){Ts()}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})();hT=new C("",{factory:()=>new R}),l_=new C("",{providedIn:"root",factory:()=>1});pT=new C("");OA=new C("ROUTER_FORROOT_GUARD"),D3=[Zn,{provide:_c,useClass:Ca},Vr,Cc,{provide:Vo,useFactory:y3,deps:[Vr]},o_,[]],mT=(()=>{class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[D3,[],{provide:Lh,multi:!0,useValue:e},{provide:OA,useFactory:A3,deps:[[Vr,new rl,new fu]]},{provide:Ec,useValue:i||{}},i?.useHash?S3():M3(),I3(),i?.preloadingStrategy?C3(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?T3(i):[],i?.bindToComponentInputs?w3().\u0275providers:[],i?.enableViewTransitions?E3().\u0275providers:[],R3()]}}static forChild(e){return{ngModule:t,providers:[{provide:Lh,multi:!0,useValue:e}]}}static{this.\u0275fac=function(i){return new(i||t)(g(OA,8))}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({})}}return t})();FA=new C("")});var F3,gT,d_=f(()=>{"use strict";D();D();an();Fr();bt();F3=["clearButton"],gT=(()=>{class t{constructor(){this.tldClick=new P,this.ariaCode="CLOSE_BUTTON"}clicked(){this.tldClick.emit(null)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["tld-close-button"]],viewQuery:function(i,r){if(i&1&&Be(F3,5),i&2){let o;Ce(o=we())&&(r.clearButton=o.first)}},inputs:{ariaCode:"ariaCode",disabled:"disabled",tooltip:"tooltip"},outputs:{tldClick:"tldClick"},decls:6,vars:7,consts:[["clearButton",""],["mat-icon-button","",3,"click","matTooltip","disabled"],[1,"material-icons"]],template:function(i,r){if(i&1){let o=Pe();I(0,"button",1,0),de(2,"translate"),de(3,"translate"),ee("click",function(){return ye(o),be(r.clicked())}),I(4,"span",2),le(5," close "),T()()}i&2&&(M("matTooltip",ge(2,3,r.tooltip))("disabled",r.disabled),Ie("aria-label",ge(3,5,"ARIA_LABELS."+r.ariaCode)))},dependencies:[Js,Or,yt],encapsulation:2})}}return t})()});var vT,yT=f(()=>{"use strict";pe();d_();an();bt();Fr();D();vT=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[st,Ir,ei,aa]})}}return t})()});function L3(t,n){if(t&1&&(Q(0,"p",10),de(1,"translate")),t&2){let e=H();M("innerHtml",ks(1,1,e.message.title,e.message.localizationParams),Ii)}}function P3(t,n){if(t&1&&(Q(0,"span",12),de(1,"translate")),t&2){let e=H(2);M("innerHtml",ks(1,1,e.message.support,e.message.localizationParams),Ii)}}function j3(t,n){if(t&1&&(I(0,"p",11),Q(1,"span",12),de(2,"translate"),ie(3,P3,2,4,"span",13),T()),t&2){let e=H();w(),M("innerHtml",ks(2,2,e.message.body,e.message.localizationParams),Ii),w(2),M("ngIf",e.message.support)}}function V3(t,n){if(t&1&&(I(0,"mat-icon"),le(1),T()),t&2){let e=H(2);w(),ft(e.message.callbackButtonIcon)}}function B3(t,n){if(t&1){let e=Pe();I(0,"button",14),ee("click",function(){ye(e);let r=H();return be(r.message==null?null:r.message.callbackButtonClick())}),ie(1,V3,2,1,"mat-icon",15),le(2),de(3,"translate"),T()}if(t&2){let e=H();w(),M("ngIf",e.message.callbackButtonIcon),w(),Je(" ",ge(3,2,e.message.callbackButtonText)," ")}}function U3(t,n){if(t&1){let e=Pe();I(0,"tld-close-button",16),ee("tldClick",function(){ye(e);let r=H();return be(r.closeClick())}),T()}if(t&2){let e=H();ae("no-top-margin",!e.message.title||!e.message.body)}}function z3(t,n){if(t&1){let e=Pe();I(0,"button",21),ee("click",function(){ye(e);let r=H(2);return be(r.buttonClick())}),le(1),de(2,"translate"),T()}if(t&2){let e=H(2);w(),Je("",ge(2,1,e.message.buttonText)," ")}}function $3(t,n){if(t&1){let e=Pe();I(0,"a",22),ee("click",function(){ye(e);let r=H(2);return be(r.linkClick())}),le(1),de(2,"translate"),T()}if(t&2){let e=H(2);Ie("href",e.message.linkHref,tv),w(),ft(ge(2,2,e.message.linkText))}}function H3(t,n){if(t&1){let e=Pe();I(0,"a",23),ee("click",function(){ye(e);let r=H(2);return be(r.linkClick())}),le(1),de(2,"translate"),T()}if(t&2){let e=H(2);M("routerLink",BD(4,N3,e.message.routerLink)),w(),ft(ge(2,2,e.message.linkText))}}function G3(t,n){if(t&1&&(I(0,"div",17),ie(1,z3,3,3,"button",18)(2,$3,3,4,"a",19)(3,H3,3,6,"a",20),T()),t&2){let e=H();w(),M("ngIf",e.message.buttonText),w(),M("ngIf",e.message.linkHref&&e.message.linkText),w(),M("ngIf",e.message.routerLink&&e.message.linkText)}}var N3,bT,Bh=f(()=>{"use strict";D();D();pe();ch();fa();d_();an();c_();Bi();bt();N3=t=>[t];bT=(()=>{class t{constructor(){this.buttonClicked=new P,this.closeClicked=new P,this.linkClicked=new P,this.iconNames={BASIC:"info",INFO:"info",ERROR:"error",SUCCESS:"check_circle",WARNING:"info"}}ngOnInit(){this.className=this.message.type.toLocaleLowerCase()}buttonClick(){this.buttonClicked.next(null)}closeClick(){this.closeClicked.next(null)}linkClick(){this.linkClicked.next(null)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["lib-tld-notification-message"]],inputs:{message:"message",inline:"inline"},outputs:{buttonClicked:"buttonClicked",closeClicked:"closeClicked",linkClicked:"linkClicked"},decls:12,vars:13,consts:[["fxLayout","row","fxLayoutAlign","start start","aria-live","polite","fxLayout","row",1,"notification-message-container","tld-default-border",3,"ngClass.lt-md"],[1,"material-icons-outlined","message-icon"],["fxFlex","",1,"items-container"],["fxLayout","row"],["fxFlex","",1,"text-container"],["class","message-title",3,"innerHtml",4,"ngIf"],["class","message-body",4,"ngIf"],["color","accent","mat-stroked-button","","class","callback-button",3,"click",4,"ngIf"],["class","close-button",3,"no-top-margin","tldClick",4,"ngIf"],["fxLayout","row","fxLayoutGap","16px","fxLayoutAlign","start center",4,"ngIf"],[1,"message-title",3,"innerHtml"],[1,"message-body"],[3,"innerHtml"],[3,"innerHtml",4,"ngIf"],["color","accent","mat-stroked-button","",1,"callback-button",3,"click"],[4,"ngIf"],[1,"close-button",3,"tldClick"],["fxLayout","row","fxLayoutGap","16px","fxLayoutAlign","start center"],["class","message-action-button","color","accent","mat-flat-button","",3,"click",4,"ngIf"],["class","message-action-link",3,"click",4,"ngIf"],["class","message-action-link",3,"routerLink","click",4,"ngIf"],["color","accent","mat-flat-button","",1,"message-action-button",3,"click"],[1,"message-action-link",3,"click"],[1,"message-action-link",3,"click","routerLink"]],template:function(i,r){i&1&&(I(0,"div")(1,"div",0)(2,"span",1),le(3),T(),I(4,"div",2)(5,"div",3)(6,"div",4),ie(7,L3,2,4,"p",5)(8,j3,4,5,"p",6),T(),ie(9,B3,4,4,"button",7)(10,U3,1,2,"tld-close-button",8),T(),ie(11,G3,4,3,"div",9),T()()()),i&2&&(Pu("notification-message ",r.className,""),w(),ae("inline",r.inline),M("ngClass.lt-md","mobile"),Ie("id",r.message.id),w(2),Je(" ",r.iconNames[r.message.type]," "),w(4),M("ngIf",r.message.title),w(),M("ngIf",r.message.body),w(),M("ngIf",r.message.callbackButtonText),w(),M("ngIf",!r.message.hideClose&&!r.message.callbackButtonText),w(),M("ngIf",r.message.buttonText||r.message.linkHref||r.message.routerLink))},dependencies:[hr,YM,WM,HM,$M,ua,gT,ii,uT,ri,yt],styles:["[_nghost-%COMP%]{display:inline-block;width:100%}.close-button[_ngcontent-%COMP%]{position:absolute;top:.2em!important;right:.2em!important}.no-top-margin[_ngcontent-%COMP%]{top:0}.text-container[_ngcontent-%COMP%]{margin-right:45px}.notification-message[_ngcontent-%COMP%]{position:relative}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--base-100)}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--base-40)}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--info-light)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{color:var(--info-dark)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--info-primary)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{color:var(--info-dark)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--error-light)}.notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--error-dark)}.notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--warning-light)}.notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--warning-dark)}.notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--success-light)}.notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--success-dark)}.notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{border-radius:4px}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]:has(.message-title + .message-body)[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%]{font-weight:600}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%]{padding:.6em .4em!important;border-radius:0}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%]{margin-left:.4em!important}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]{margin-top:.2em!important}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%] + .message-body[_ngcontent-%COMP%]{margin-top:0!important}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]:first-child{line-height:1.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%]{margin:0;font-size:16px;line-height:24px}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .message-body[_ngcontent-%COMP%]{margin:0}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline){padding:1em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .items-container[_ngcontent-%COMP%]{margin-left:1em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .message-title[_ngcontent-%COMP%]{font-size:1.25em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .message-body[_ngcontent-%COMP%]{line-height:1.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%]{padding:.75em 1em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%]{margin-left:.75em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]{margin-top:.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%] + .message-body[_ngcontent-%COMP%]{margin-top:.2em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%]{font-size:1em}"]})}}return t})()});var _T,xT=f(()=>{"use strict";pe();dh();an();c_();bt();yT();Bh();Bi();D();_T=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[st,ha,vT,Ir,ei,mT,$f]})}}return t})()});var Bo,u_=f(()=>{"use strict";Bo=function(t){return t.BASIC="BASIC",t.INFO="INFO",t.WARNING="WARNING",t.SUCCESS="SUCCESS",t.ERROR="ERROR",t}(Bo||{})});var CT=f(()=>{"use strict";u_()});var wT=f(()=>{"use strict"});var ET=f(()=>{"use strict";wT()});var f_=f(()=>{"use strict";xT();Bh();CT();ET()});var h_=f(()=>{"use strict"});var DT=f(()=>{"use strict";f_();h_()});var IT=f(()=>{"use strict"});var ST=f(()=>{"use strict";IT()});var MT=f(()=>{"use strict";h_()});var AT=f(()=>{"use strict";DT();ST();MT()});var TT=f(()=>{"use strict"});var RT=f(()=>{"use strict"});var OT=f(()=>{"use strict"});var FT=f(()=>{"use strict"});var kT=f(()=>{"use strict"});var NT=f(()=>{"use strict"});var LT=f(()=>{"use strict"});var PT=f(()=>{"use strict"});var Uo,jT=f(()=>{"use strict";Ib();Uo=class{static isMobileRes(){return window.innerWidth<pA.SMALL}}});var p_=f(()=>{"use strict"});var VT=f(()=>{"use strict";Ur();p_()});var BT=f(()=>{"use strict";p_()});var m_=f(()=>{"use strict";VT();BT()});var UT=f(()=>{"use strict";m_()});var zT=f(()=>{"use strict"});var $T=f(()=>{"use strict"});var Ur=f(()=>{"use strict";TT();RT();OT();FT();kT();NT();LT();PT();jT();UT();zT();$T()});var HT=f(()=>{"use strict"});var GT=f(()=>{"use strict"});var WT=f(()=>{"use strict"});var qT=f(()=>{"use strict"});var YT=f(()=>{"use strict"});var KT=f(()=>{"use strict"});var QT=f(()=>{"use strict"});var ZT=f(()=>{"use strict"});var XT=f(()=>{"use strict";HT();GT();WT();qT();YT();KT();QT();ZT()});var JT=f(()=>{"use strict"});var eR=f(()=>{"use strict"});var tR=f(()=>{"use strict";eR()});var nR=f(()=>{"use strict";Ur();XT();JT();tR()});var iR=f(()=>{"use strict";nR()});var rR=f(()=>{"use strict";iR()});var g_=f(()=>{"use strict"});var oR=f(()=>{"use strict";g_()});var sR=f(()=>{"use strict";oR();g_()});var v_=f(()=>{"use strict"});var aR=f(()=>{"use strict";v_()});var lR=f(()=>{"use strict";aR();v_()});var y_=f(()=>{"use strict"});var cR=f(()=>{"use strict";y_()});var dR=f(()=>{"use strict";cR();y_()});var uR,b_=f(()=>{"use strict";D();bt();uR=(()=>{class t{constructor(e){this.translate=e,this.languagesLocalizationKey="LANGUAGES",this.translationCache=new Map,this.localeSameRegions={nb:["no"],et:["ee"],sl:["si"],sv:["se"],uk:["ua"],en:["gb","us"]},this.translations={en:{mt:"Maltese"},lv:{mt:"Maltie\u0161u"},lt:{mt:"Maltie\u010Di\u0173"},et:{mt:"Malta"}},this.translate.onLangChange.subscribe(()=>{this.translationCache.clear(),this.lastUiLanguage=this.translate.currentLang}),this.lastUiLanguage=this.translate.currentLang}transform(e,i=!1){if(!e)return"";this.lastUiLanguage!==this.translate.currentLang&&(this.translationCache.clear(),this.lastUiLanguage=this.translate.currentLang);let r=`${e}:${i}`;if(this.translationCache.has(r))return this.translationCache.get(r);let o=this.getLanguageFromLanguageCode(e),a=this.isLanguageCodeSameAsRegion(e)?o:e,l=this.getTranslation(a,i);return this.translationCache.set(r,l),l}getTranslation(e,i){let o=this.translate.instant(this.languagesLocalizationKey)[e.toUpperCase().replace("-","_")]??this.getLanguageTranslationFromLanguageCode(this.translate.currentLang,e);return i&&(o=o.split("(")[0].trim()),o}getLanguageTranslationFromLanguageCode(e,i){let r=new Intl.DisplayNames([e],{type:"language"}),o=new Intl.DisplayNames([e],{type:"region"}),s,a=this.getLanguageFromLanguageCode(i),l=this.getRegionFromLanguageCode(i);try{let c=r.of(a),d=o.of(l);s=`${c} (${d})`}catch{try{s=r.of(i)}catch{return s=this.translations[e]?.[a]??i,s}}return this.capitalizeFirstLetter(s)}isLanguageCodeSameAsRegion(e){let[i,r,o]=e.split("-");return(i===r?.toLowerCase()||this.localeSameRegions[i]?.includes(r?.toLowerCase()))&&!o}getRegionFromLanguageCode(e){let[i,r,o]=e.split("-");return(o?`${r}-${o}`:`${r}`).toUpperCase()}getLanguageFromLanguageCode(e){return e.split("-")[0].toLowerCase()}capitalizeFirstLetter(e){return e.charAt(0).toUpperCase()+e.slice(1)}static{this.\u0275fac=function(i){return new(i||t)(p(ki,16))}}static{this.\u0275pipe=Is({name:"languageTranslate",type:t,pure:!1,standalone:!0})}}return t})()});var fR=f(()=>{"use strict";b_()});var hR=f(()=>{"use strict";fR();b_()});var pR=f(()=>{"use strict"});var mR=f(()=>{"use strict"});var gR=f(()=>{"use strict"});var vR=f(()=>{"use strict"});var yR=f(()=>{"use strict";pR();mR();gR();vR()});var __=f(()=>{"use strict";yR()});var bR=f(()=>{"use strict";__()});var _R=f(()=>{"use strict";bR();__()});var x_=f(()=>{"use strict"});var xR=f(()=>{"use strict";x_()});var CR=f(()=>{"use strict";xR();x_()});var wR=f(()=>{"use strict";Ur()});var ER=f(()=>{"use strict";wR()});var C_=f(()=>{"use strict";Ur()});var DR=f(()=>{"use strict";C_()});var IR=f(()=>{"use strict";DR();C_()});var SR=f(()=>{"use strict"});var MR=f(()=>{"use strict";SR()});var AR=f(()=>{"use strict";E_()});var TR=f(()=>{"use strict";MR();AR()});var RR=f(()=>{"use strict";Ur()});var OR=f(()=>{"use strict";RR()});var FR=f(()=>{"use strict";Ur()});var kR=f(()=>{"use strict";FR()});var NR=f(()=>{"use strict";sR();lR();dR();hR();_R();CR();ER();IR();TR();m_();OR();kR()});var w_,LR=f(()=>{"use strict";NR();D();bt();w_=(()=>{class t{constructor(e){this.translateService=e}getLanguageCodeTranslation(e,i=!1){return new uR(this.translateService).transform(e,i)}removeRegionFromLanguageCode(e){return e.split("-")[0]}static{this.\u0275fac=function(i){return new(i||t)(g(ki))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var E_=f(()=>{"use strict";LR()});var D_=f(()=>{"use strict"});var PR=f(()=>{"use strict";D_()});var jR=f(()=>{"use strict"});var VR=f(()=>{"use strict";jR();D_()});var BR=f(()=>{"use strict";PR();VR()});var I_=f(()=>{"use strict";_A();wA();AT();rR();E_();BR()});var zr,S_=f(()=>{"use strict";I_();zr=class{static addPlausible(n){let i=new xA().window;if(!i||!n)return;let r="https://plausible.io/js/plausible.js",o=document.createElement("script");o.src=r,o.setAttribute("data-domain",n),document.head.append(o),i.plausible=i.plausible||((...s)=>{(i.plausible.q=i.plausible.q||[]).push(s)})}static customEvent(n,e){let i=window;i?.plausible&&i.plausible(n,{props:e})}}});var M_=f(()=>{"use strict";S_()});var UR=f(()=>{"use strict";M_()});var zR=f(()=>{"use strict"});var $R=f(()=>{"use strict";zR()});var HR=f(()=>{"use strict";S_();M_();UR();$R()});var Uh,GR=f(()=>{"use strict";Uh=function(t){return t.GENERAL="General",t.PROFESSIONAL="Professional",t.ACADEMIC="Academic",t}(Uh||{})});var Sa,WR=f(()=>{"use strict";D();Sa=new C("LLM_CONFIGURATION_TOKEN")});var qR=f(()=>{"use strict"});var Ma=f(()=>{"use strict";WR();qR();fh()});var YR,KR=f(()=>{"use strict";D();No();Re();u_();Ma();D();No();YR=(()=>{class t{constructor(e){this.quotaService=e,this.llmConfiguration=y(Sa),this.trialRequestCount=15,this.LLMQuotaLocalStorageKey="LLM_QUOTA"}getRemainingQuota(e){return this.llmConfiguration.useLocalQuota?O(this.setQuotaLocalStorageUsage(e)):this.quotaService.getQuotaUsage().pipe(k(i=>{let r=i.usage.find(o=>o.quotaType===ze.LLM_REQUESTS||o.quotaType===ze.LEGACY_LLM_REQUESTS);return r?r.quotaRemaining:this.setQuotaLocalStorageUsage(e)}),Qt(()=>O(this.setQuotaLocalStorageUsage(e))))}getExceededLimitMessage(e){return{type:Bo.WARNING,body:"ERRORS.MAX_CHAR_LENGTH",localizationParams:{maxCharLength:this.llmConfiguration.maxCharLength,totalSymbols:e}}}getReachedQuotaMessage(){return{type:Bo.ERROR,body:"LLM.ERRORS.QUOTA_LIMIT_REACHED",localizationParams:{subscriptionUrl:this.llmConfiguration.subscriptionUrl}}}getDefaultErrorMessage(){return{type:Bo.ERROR,body:"LLM.ERRORS.DEFAULT",localizationParams:{supportEmail:this.llmConfiguration.supportEmail}}}getRequestTimeoutMessage(e){return{type:Bo.ERROR,body:`LLM.ERRORS.${e}_REQUEST_TIMEOUT`,localizationParams:{supportEmail:this.llmConfiguration.supportEmail}}}setQuotaLocalStorageUsage(e){let i=localStorage.getItem(this.LLMQuotaLocalStorageKey),r=new Date,o={remainingQuota:this.trialRequestCount,lastUsedAt:r};if(i){o=JSON.parse(i);let a=new Date(o.lastUsedAt);(a.getDate()!==r.getDate()||a.getMonth()!==r.getMonth()||a.getFullYear()!==r.getFullYear())&&(o.remainingQuota=this.trialRequestCount),e&&(o.remainingQuota-=1)}return o.lastUsedAt=r,localStorage.setItem(this.LLMQuotaLocalStorageKey,JSON.stringify(o)),o.remainingQuota}static{this.\u0275fac=function(i){return new(i||t)(g(fA))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var A_,QR,ZR,T_=f(()=>{"use strict";pe();D();A_=class{constructor(n,e){this._document=e;let i=this._textarea=this._document.createElement("textarea"),r=i.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",i.setAttribute("aria-hidden","true"),i.value=n,i.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(i)}copy(){let n=this._textarea,e=!1;try{if(n){let i=this._document.activeElement;n.select(),n.setSelectionRange(0,n.value.length),e=this._document.execCommand("copy"),i&&i.focus()}}catch{}return e}destroy(){let n=this._textarea;n&&(n.remove(),this._textarea=void 0)}},QR=(()=>{class t{constructor(e){this._document=e}copy(e){let i=this.beginCopy(e),r=i.copy();return i.destroy(),r}beginCopy(e){return new A_(e,this._document)}static{this.\u0275fac=function(i){return new(i||t)(g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ZR=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({})}}return t})()});var tG,XR,R_=f(()=>{"use strict";D();Li();Re();D();T_();an();Bi();Li();Fr();fa();bt();tG=["textarea"],XR=(()=>{class t{constructor(e){this.clipboard=e,this.textEditEvent=new P,this.dislikeEvent=new P,this.copyEvent=new P,this.destroy=new R}ngOnInit(){this.textareaControl=new Fl(this.text)}ngAfterViewInit(){pi(this.textarea.nativeElement,"keyup").pipe(Le(e=>{e.ctrlKey&&e.key==="c"&&this.copyEvent.emit()}),mi(300),fe(this.destroy)).subscribe(()=>{this.textEditEvent.emit(this.textareaControl.value)})}ngOnChanges(e){e&&e.disabled&&(this.disabled?this.textareaControl?.disable():this.textareaControl?.enable()),e&&e.text&&(this.textareaControl=new Fl(this.text))}dislike(){this.dislikeEvent.emit()}copy(){this.clipboard.copy(this.textareaControl.value),this.copyEvent.emit()}ngOnDestroy(){this.destroy.next(null),this.destroy.complete()}static{this.\u0275fac=function(i){return new(i||t)(p(QR))}}static{this.\u0275cmp=Y({type:t,selectors:[["lib-llm-textarea"]],viewQuery:function(i,r){if(i&1&&Be(tG,5),i&2){let o;Ce(o=we())&&(r.textarea=o.first)}},inputs:{text:"text",disabled:"disabled",actionButtonsDisabled:"actionButtonsDisabled"},outputs:{textEditEvent:"textEditEvent",dislikeEvent:"dislikeEvent",copyEvent:"copyEvent"},features:[Ve],decls:18,vars:13,consts:[["textarea",""],[1,"llm-wrapper",3,"ngClass.gt-lg"],[1,"llm-textarea-wrapper"],[1,"llm-textarea",3,"formControl"],[1,"llm-textarea-actions"],[1,"material-icons-outlined","llm-eu-data-tooltip",3,"matTooltip"],["mat-icon-button","",3,"click","matTooltip","disabled"],[1,"material-icons-outlined","copy"],["mat-icon-button","",3,"click","disabled","matTooltip"],[1,"material-icons-outlined","dislike"]],template:function(i,r){if(i&1){let o=Pe();I(0,"div",1)(1,"div",2)(2,"textarea",3,0),le(4," "),T(),I(5,"div",4)(6,"mat-icon",5),de(7,"translate"),le(8," gpp_maybe "),T(),I(9,"div")(10,"button",6),de(11,"translate"),ee("click",function(){return ye(o),be(r.dislike())}),I(12,"mat-icon",7),le(13," thumb_down "),T()(),I(14,"button",8),de(15,"translate"),ee("click",function(){return ye(o),be(r.copy())}),I(16,"mat-icon",9),le(17," content_copy "),T()()()()()()}i&2&&(M("ngClass.gt-lg","desktop"),w(2),M("formControl",r.textareaControl),w(4),M("matTooltip",ge(7,7,"LLM.EU_DATA_TOOLTIP")),w(4),M("matTooltip",ge(11,9,"TOOLTIPS.DISLIKE"))("disabled",r.actionButtonsDisabled||!r.textareaControl.value),w(4),M("disabled",r.actionButtonsDisabled||!r.textareaControl.value)("matTooltip",ge(15,11,"TOOLTIPS.COPY")))},dependencies:[Js,ri,Hs,Gs,my,Or,ua,yt],styles:[".llm-wrapper[_ngcontent-%COMP%]{position:relative;border:1px solid var(--base-65);border-radius:8px;overflow-y:auto}.llm-textarea-wrapper[_ngcontent-%COMP%]{position:relative}.llm-textarea[_ngcontent-%COMP%]{min-width:100%;min-height:310px;padding:8px 16px;resize:none;background:none;border-radius:8px;margin-bottom:46px}.desktop[_ngcontent-%COMP%] .llm-textarea[_ngcontent-%COMP%]{min-height:490px}.llm-textarea-actions[_ngcontent-%COMP%]{position:absolute;display:flex;justify-content:space-between;align-items:center;width:100%;bottom:4px}.llm-eu-data-tooltip[_ngcontent-%COMP%]{margin-left:16px}"]})}}return t})()});function rG(t,n){if(t&1){let e=Pe();I(0,"lib-tld-notification-message",15),ee("closeClicked",function(){let r=ye(e).$implicit,o=H();return be(o.closeMessage(r))}),T()}if(t&2){let e=n.$implicit;M("message",e)}}function oG(t,n){if(t&1&&(I(0,"mat-option",18),le(1),de(2,"uppercase"),de(3,"translate"),T()),t&2){let e=n.$implicit;M("value",e),w(),Je(" ",ge(3,4,"LLM.USE_CASE."+ge(2,2,e))," ")}}function sG(t,n){if(t&1){let e=Pe();I(0,"mat-form-field",16)(1,"mat-label"),le(2),de(3,"translate"),T(),I(4,"mat-select",17),Fs("ngModelChange",function(r){ye(e);let o=H();return pl(o.selectedUseCase,r)||(o.selectedUseCase=r),be(r)}),OD(5,oG,4,6,"mat-option",18,RD),T()()}if(t&2){let e=H();w(2),ft(ge(3,3,"LLM.USE_CASES_LABEL")),w(2),M("disabled",e.isLoading),Os("ngModel",e.selectedUseCase),w(),FD(e.useCases)}}function aG(t,n){if(t&1&&(Q(0,"div",19),de(1,"translate")),t&2){let e=H();M("innerHTML",ks(1,1,e.localizationKey+"LIMIT",UD(4,iG,e.quotaLeft,e.subscriptionUrl)),Ii)}}function lG(t,n){if(t&1){let e=Pe();I(0,"button",20),ee("click",function(){ye(e);let r=H();return be(r.cancel())}),le(1),de(2,"translate"),T()}if(t&2){let e=H();w(),Je(" ",ge(2,1,e.localizationKey+"CANCEL")," ")}}function cG(t,n){if(t&1&&(I(0,"button",21),le(1),de(2,"translate"),T()),t&2){let e=H();M("mat-dialog-close",null),w(),Je(" ",ge(2,2,e.localizationKey+"CLOSE")," ")}}function dG(t,n){if(t&1&&(I(0,"span"),le(1),de(2,"translate"),T()),t&2){let e=H();w(),Je(" ",ge(2,1,e.isSummarized?"LLM.SUMMARY_MODAL.REGENERATE":"LLM.SUMMARY_MODAL.ACTION")," ")}}function uG(t,n){if(t&1&&(le(0),de(1,"translate")),t&2){let e=H();Je(" ",ge(1,1,e.localizationKey+"ACTION")," ")}}function fG(t,n){t&1&&Q(0,"mat-spinner",22),t&2&&M("diameter",20)}var iG,JR,O_=f(()=>{"use strict";Pr();No();Re();Ib();HR();fh();GR();D();No();KR();pe();an();Pr();Li();Kl();Ql();Pn();Bh();Gf();R_();bt();iG=(t,n)=>({limit:t,subscriptionUrl:n});JR=(()=>{class t{get isDisabled(){return this.isLoading||!this.initialText||this.quotaLeft<1}constructor(e,i,r){this.llmService=e,this.llmHelperService=i,this.data=r,this.selectedWritingStyle=Uh.GENERAL,this.editedText="",this.manuallyEditedText="",this.savedRephrasings=[],this.llmActions=Ut,this.writingStyles=Object.values(Uh),this.useCases=[],this.messages=[],this.showUseCase=!1}ngOnInit(){this.setInitialText(),this.llmActionType===Ut.REPHRASE?(this.useCases=this.data.rephraseUseCases??Object.values(Eb),this.selectedUseCase=this.useCases[0]):this.llmActionType===Ut.SUMMARY&&(this.useCases=this.data.summaryUseCases??Object.values(bh),this.selectedUseCase=bh.General),this.showUseCase=this.llmActionType===Ut.REPHRASE&&this.data.showUseCaseRephrase||this.llmActionType===Ut.SUMMARY&&this.data.showUseCaseSummary}closeMessage(e){let i=this.messages?.findIndex(r=>JSON.stringify(r)===JSON.stringify(e));(i||i===0)&&this.messages.splice(i,1)}checkRephrasedTextSaves(e){e.value!==this.selectedWritingStyle&&(this.previousWritingStyle=this.selectedWritingStyle,this.selectedWritingStyle=e.value);let i=this.savedRephrasings.find(o=>o.style===this.selectedWritingStyle),r=this.savedRephrasings.find(o=>o.style===this.previousWritingStyle);r?r.text=this.editedText!==""?this.editedText:this.initialText:this.savedRephrasings.push({style:this.previousWritingStyle,text:this.editedText!==""?this.editedText:this.initialText}),this.editedText=i?.text??this.initialText,this.manuallyEditedText="",this.checkTextLimit()}getEditedText(){this.isLoading=!0,this.llmActionType===Ut.REPHRASE?this.writingStylePlausibleEvent():this.summaryPlausibleEvent(),this.subscription=this.getRequest()}cancel(){this.subscription.unsubscribe()}textEditEvent(e){this.manuallyEditedText=e,this.initialText=e,this.editedText="",this.checkTextLimit()}copyPlausibleEvent(){zr.customEvent(this.llmActionType.toLowerCase(),{action:"copy"})}dislikePlausibleEvent(){zr.customEvent(this.llmActionType.toLowerCase(),{action:"dislike"})}setInitialText(){this.data.text.subscribe(e=>{this.initialText=e,this.llmActionType=this.data.action,this.localizationKey=`LLM.${this.llmActionType}_MODAL.`,this.subscriptionUrl=this.llmHelperService.llmConfiguration.subscriptionUrl,this.maxCharLength=this.llmHelperService.llmConfiguration.maxCharLength,this.refreshQuota()})}checkTextLimit(){let e=this.maxCharLength,i=[this.initialText,this.manuallyEditedText,this.editedText],r=this.editedText&&!this.manuallyEditedText?this.editedText:i.reduce((o,s)=>o.length>s.length?o:s);if(r.length>e){this.exceededLimitMessage&&this.closeMessage(this.exceededLimitMessage),this.exceededLimitMessage=this.llmHelperService.getExceededLimitMessage(r.length),this.messages.push(this.exceededLimitMessage);return}this.closeMessage(this.exceededLimitMessage)}writingStylePlausibleEvent(){zr.customEvent(this.llmActionType.toLowerCase(),{writingStyle:this.selectedWritingStyle})}summaryPlausibleEvent(){zr.customEvent(this.llmActionType.toLowerCase(),{action:"summary"})}refreshQuota(e){this.llmHelperService.getRemainingQuota(e).subscribe(i=>{this.quotaLeft=i,this.setQuotaMessage()})}setQuotaMessage(){this.quotaLeft<=this.llmHelperService.trialRequestCount&&(this.remainingQuotaMessageVisible=!0),this.quotaLeft<1&&(this.reachedQuotaMessage=this.llmHelperService.getReachedQuotaMessage(),this.messages.push(this.reachedQuotaMessage))}getRequest(){let e=this.manuallyEditedText!==""?this.manuallyEditedText:this.initialText;return e.length>this.maxCharLength&&(e=e.substring(0,this.maxCharLength)),(this.llmActionType===Ut.REPHRASE?this.llmService.rephrase({text:e,language:this.data.language,style:this.selectedWritingStyle,useCase:this.selectedUseCase}):this.llmService.summarize({text:e,language:this.data.language,useCase:this.selectedUseCase})).pipe($t(()=>this.isLoading=!1)).subscribe(this.getRequestCallback())}getRequestCallback(){return{next:e=>{this.llmActionType===this.llmActions.SUMMARY&&(this.isSummarized=!0),this.editedText=e,this.manuallyEditedText="",this.defaultErrorMessage=this.llmHelperService.getDefaultErrorMessage(),this.closeMessage(this.defaultErrorMessage),this.closeMessage(this.requestTimeoutMessage),this.isEdited=!0,this.refreshQuota(!0),this.checkTextLimit()},error:e=>{if(e.status===Db.TIMEOUT){this.requestTimeoutMessage=this.llmHelperService.getRequestTimeoutMessage(this.llmActionType),this.messages.push(this.requestTimeoutMessage);return}this.messages.push(this.defaultErrorMessage)}}}static{this.\u0275fac=function(i){return new(i||t)(p(uA),p(YR),p(rc))}}static{this.\u0275cmp=Y({type:t,selectors:[["lib-llm-textarea-with-actions"]],decls:20,vars:22,consts:[["closeButton",""],["rephraseAction",""],["mat-dialog-title",""],["mat-dialog-content",""],[3,"innerHTML"],[3,"message","closeClicked",4,"ngFor","ngForOf"],["color","accent","class","w-full llm-writing-style-select","appearance","outline",4,"ngIf"],[3,"textEditEvent","copyEvent","dislikeEvent","text","disabled","actionButtonsDisabled"],["mat-dialog-actions","",1,"llm-actions-wrapper"],["class","quota-left-message",3,"innerHTML",4,"ngIf"],[1,"llm-actions"],["mat-button","","color","accent",3,"click",4,"ngIf","ngIfElse"],["mat-flat-button","","color","accent",3,"click","disabled"],[4,"ngIf","ngIfElse"],["color","primary-accent-darker",3,"diameter",4,"ngIf"],[3,"closeClicked","message"],["color","accent","appearance","outline",1,"w-full","llm-writing-style-select"],[3,"ngModelChange","disabled","ngModel"],[3,"value"],[1,"quota-left-message",3,"innerHTML"],["mat-button","","color","accent",3,"click"],["mat-button","","color","accent",3,"mat-dialog-close"],["color","primary-accent-darker",3,"diameter"]],template:function(i,r){if(i&1){let o=Pe();I(0,"h1",2),le(1),de(2,"translate"),T(),I(3,"div",3),Q(4,"p",4),de(5,"translate"),ie(6,rG,1,1,"lib-tld-notification-message",5)(7,sG,7,5,"mat-form-field",6),I(8,"lib-llm-textarea",7),ee("textEditEvent",function(a){return ye(o),be(r.textEditEvent(a))})("copyEvent",function(){return ye(o),be(r.copyPlausibleEvent())})("dislikeEvent",function(){return ye(o),be(r.dislikePlausibleEvent())}),T()(),I(9,"div",8),ie(10,aG,2,7,"div",9),I(11,"div",10),ie(12,lG,3,3,"button",11)(13,cG,3,4,"ng-template",null,0,xo),I(15,"button",12),ee("click",function(){return ye(o),be(r.getEditedText())}),ie(16,dG,3,3,"span",13)(17,uG,2,3,"ng-template",null,1,xo)(19,fG,1,1,"mat-spinner",14),T()()()}if(i&2){let o=qt(14),s=qt(18);w(),ft(ge(2,18,r.localizationKey+"TITLE")),w(3),M("innerHTML",ge(5,20,r.localizationKey+"DESCRIPTION"),Ii),w(2),M("ngForOf",r.messages),w(),M("ngIf",r.showUseCase),w(),ae("rephrase",r.llmActionType===r.llmActions.REPHRASE),M("text",r.editedText!==""?r.editedText:r.initialText)("disabled",r.isLoading||!r.quotaLeft)("actionButtonsDisabled",!r.isEdited),w(2),M("ngIf",r.remainingQuotaMessageVisible),w(),ae("w-full",!r.remainingQuotaMessageVisible),w(),M("ngIf",r.isLoading)("ngIfElse",o),w(3),M("disabled",r.isDisabled),w(),M("ngIf",r.llmActionType===r.llmActions.SUMMARY)("ngIfElse",s),w(3),M("ngIf",r.isLoading)}},dependencies:[qu,hr,ii,ph,mh,vh,gh,Gs,kl,eh,la,nh,Xs,bT,Hf,XR,aI,yt],styles:[".info-icon[_ngcontent-%COMP%]{font-size:1rem;margin-left:5px}[_nghost-%COMP%] .message-body{margin:0 2.25rem 0 0!important;font-size:14px}[_nghost-%COMP%] .notification-message-container{margin:0 0 16px;padding:.9em 1em!important;align-items:center!important}[_nghost-%COMP%] .text-container{margin-right:0!important}[_nghost-%COMP%] tld-close-button{top:1px!important} .multiline-tooltip{white-space:pre;min-width:fit-content} .multiline-tooltip .mdc-tooltip__surface{max-width:none!important}[_nghost-%COMP%] .llm-textarea{min-height:240px!important}[_nghost-%COMP%] .rephrase .llm-textarea{min-height:100px!important}[_nghost-%COMP%] .desktop .llm-textarea{min-height:460px!important}[_nghost-%COMP%] .rephrase .desktop .llm-textarea{min-height:330px!important}.llm-writing-style-select[_ngcontent-%COMP%]{margin-top:1.25rem}.llm-writing-style[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:.25rem}.llm-actions-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin:0 1rem .5rem}.llm-actions[_ngcontent-%COMP%]{display:flex;justify-content:end}.w-full[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .mdc-button__label{display:flex!important;align-items:center!important}mat-spinner[_ngcontent-%COMP%]{margin-left:.5rem}.quota-left-message[_ngcontent-%COMP%]{margin-bottom:12px}"]})}}return t})()});var hG,pG,eO=f(()=>{"use strict";hG=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
32
+ `;o.appendChild(n.createTextNode(s))}n.head.appendChild(o),i.forEach(s=>DA[s]=o)}catch(o){console.error(o)}}}function y$(t){let n=new EventTarget;return n.matches=t==="all"||t==="",n.media=t,n.addListener=()=>{},n.removeListener=()=>{},n.addEventListener=()=>{},n.dispatchEvent=()=>!1,n.onchange=null,n}function v$(t,n){return n&&!!window.matchMedia("all").addListener?window.matchMedia(t):y$(t)}function _$(t){let n=t.length>0?t.charAt(0):"",e=t.length>1?t.slice(1):"";return n.toUpperCase()+e}function C$(t){return t.replace(b$,"|").split("|").map(_$).join("")}function x$(t){return t.forEach(n=>{n.suffix||(n.suffix=C$(n.alias),n.overlapping=!!n.overlapping)}),t}function w$(t,n=[]){let e={};return t.forEach(i=>{e[i.alias]=i}),n.forEach(i=>{e[i.alias]?jn(e[i.alias],i):e[i.alias]=i}),x$(Object.keys(e).map(i=>e[i]))}function T$(t){return t?.mediaQuery.startsWith(ga)??!1}function OA(t,n,e,i){if(i!==void 0){let r=t.get(n)??new Map;r.set(e,i),t.set(n,r)}}function S_(t,n="1",e="1"){let i=[n,e,t],r=t.indexOf("calc");if(r>0){i[2]=kA(t.substring(r).trim());let o=t.substr(0,r).trim().split(" ");o.length==2&&(i[0]=o[0],i[1]=o[1])}else if(r==0)i[2]=kA(t.trim());else{let o=t.split(" ");i=o.length===3?o:[n,e,t]}return i}function kA(t){return t.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}function Jh(t,n){if(n===void 0)return t;let e=i=>{let r=+i.slice(0,-NA.length);return t.endsWith(NA)&&!isNaN(r)?`${r*n.value}${n.unit}`:t};return t.includes(" ")?t.split(" ").map(e).join(" "):e(t)}var c$,EA,ya,Po,d$,Zh,En,Nc,Xh,li,Qi,m$,DA,b$,E$,SA,IA,MA,TA,AA,RA,Yi,D$,S$,PA,ga,I$,M$,D_,Ir,Mr,NA,Tr=f(()=>{"use strict";b();b();pe();Se();E_();Qe();c$={provide:Rl,useFactory:l$,deps:[H,Qt],multi:!0},EA="flex-layout-";ya=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=F({type:t})}static{this.\u0275inj=N({providers:[c$]})}}return t})(),Po=class t{constructor(n=!1,e="all",i="",r="",o=0){this.matches=n,this.mediaQuery=e,this.mqAlias=i,this.suffix=r,this.priority=o,this.property=""}clone(){return new t(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}};d$=(()=>{class t{constructor(){this.stylesheet=new Map}addStyleToElement(e,i,r){let o=this.stylesheet.get(e);o?o.set(i,r):this.stylesheet.set(e,new Map([[i,r]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,i){let r=this.stylesheet.get(e),o="";if(r){let s=r.get(i);(typeof s=="number"||typeof s=="string")&&(o=s+"")}return o}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();Zh={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},En=new C("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>Zh});Nc=new C("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1});Xh=new C("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});li=class{constructor(){this.shouldCache=!0}sideEffect(n,e,i){}};Qi=(()=>{class t{constructor(e,i,r,o){this._serverStylesheet=e,this._serverModuleLoaded=i,this._platformId=r,this.layoutConfig=o}applyStyleToElement(e,i,r=null){let o={};typeof i=="string"&&(o[i]=r,i=o),o=this.layoutConfig.disableVendorPrefixes?i:w_(i),this._applyMultiValueStyleToElement(o,e)}applyStyleToElements(e,i=[]){let r=this.layoutConfig.disableVendorPrefixes?e:w_(e);i.forEach(o=>{this._applyMultiValueStyleToElement(r,o)})}getFlowDirection(e){let i="flex-direction",r=this.lookupStyle(e,i),o=this.lookupInlineStyle(e,i)||Ni(this._platformId)&&this._serverModuleLoaded?r:"";return[r||"row",o]}hasWrap(e){return this.lookupStyle(e,"flex-wrap")==="wrap"}lookupAttributeValue(e,i){return e.getAttribute(i)??""}lookupInlineStyle(e,i){return ti(this._platformId)?e.style.getPropertyValue(i):u$(e,i)}lookupStyle(e,i,r=!1){let o="";return e&&((o=this.lookupInlineStyle(e,i))||(ti(this._platformId)?r||(o=getComputedStyle(e).getPropertyValue(i)):this._serverModuleLoaded&&(o=this._serverStylesheet.getStyleForElement(e,i)))),o?o.trim():""}_applyMultiValueStyleToElement(e,i){Object.keys(e).sort().forEach(r=>{let o=e[r],s=Array.isArray(o)?o:[o];s.sort();for(let a of s)a=a?a+"":"",ti(this._platformId)||!this._serverModuleLoaded?ti(this._platformId)?i.style.setProperty(r,a):f$(i,r,a):this._serverStylesheet.addStyleToElement(i,r,a)})}static{this.\u0275fac=function(i){return new(i||t)(D(d$),D(Nc),D(Qt),D(En))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();m$=(()=>{class t{constructor(e,i,r,o){this._zone=e,this._platformId=i,this._document=r,this._nonce=o,this.source=new nt(new Po(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){let e=[];return this.registry.forEach((i,r)=>{i.matches&&e.push(r)}),e}isActive(e){return this.registry.get(e)?.matches??this.registerQuery(e).some(r=>r.matches)}observe(e,i=!1){if(e&&e.length){let r=this._observable$.pipe(me(s=>i?e.indexOf(s.mediaQuery)>-1:!0)),o=new Z(s=>{let a=this.registerQuery(e);if(a.length){let l=a.pop();a.forEach(c=>{s.next(c)}),this.source.next(l)}s.complete()});return Et(o,r)}return this._observable$}registerQuery(e){let i=Array.isArray(e)?e:[e],r=[];return g$(i,this._document,this._nonce),i.forEach(o=>{let s=l=>{this._zone.run(()=>this.source.next(new Po(l.matches,o)))},a=this.registry.get(o);a||(a=this.buildMQL(o),a.addListener(s),this.pendingRemoveListenerFns.push(()=>a.removeListener(s)),this.registry.set(o,a)),a.matches&&r.push(new Po(!0,o))}),r}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return v$(e,ti(this._platformId))}static{this.\u0275fac=function(i){return new(i||t)(D(L),D(Qt),D(H),D(mo,8))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),DA={};b$=/(\.|-|_)/g;E$=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}];SA="(orientation: portrait) and (max-width: 599.98px)",IA="(orientation: landscape) and (max-width: 959.98px)",MA="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",TA="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",AA="(orientation: portrait) and (min-width: 840px)",RA="(orientation: landscape) and (min-width: 1280px)",Yi={HANDSET:`${SA}, ${IA}`,TABLET:`${MA} , ${TA}`,WEB:`${AA}, ${RA} `,HANDSET_PORTRAIT:`${SA}`,TABLET_PORTRAIT:`${MA} `,WEB_PORTRAIT:`${AA}`,HANDSET_LANDSCAPE:`${IA}`,TABLET_LANDSCAPE:`${TA}`,WEB_LANDSCAPE:`${RA}`},D$=[{alias:"handset",priority:2e3,mediaQuery:Yi.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Yi.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Yi.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Yi.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Yi.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Yi.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Yi.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Yi.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Yi.WEB_PORTRAIT,overlapping:!0}];S$=new C("Token (@ngbracket/ngx-layout) Breakpoints",{providedIn:"root",factory:()=>{let t=u(Xh),n=u(En),e=[].concat.apply([],(t||[]).map(r=>Array.isArray(r)?r:[r])),i=(n.disableDefaultBps?[]:E$).concat(n.addOrientationBps?D$:[]);return w$(i,e)}});PA=(()=>{class t{constructor(e){this.findByMap=new Map,this.items=[...e].sort(p$)}findByAlias(e){return e?this.findWithPredicate(e,i=>i.alias===e):null}findByQuery(e){return this.findWithPredicate(e,i=>i.mediaQuery===e)}get overlappings(){return this.items.filter(e=>e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>e?.suffix??"")}findWithPredicate(e,i){let r=this.findByMap.get(e);return r||(r=this.items.find(i)??null,this.findByMap.set(e,r)),r??null}static{this.\u0275fac=function(i){return new(i||t)(D(S$))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();ga="print",I$={alias:ga,mediaQuery:ga,priority:1e3},M$=(()=>{class t{constructor(e,i,r){this.breakpoints=e,this.layoutConfig=i,this._document=r,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new D_,this.deactivations=[]}withPrintQuery(e){return[...e,ga]}isPrintEvent(e){return e.mediaQuery.startsWith(ga)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>e!==null)}getEventBreakpoints({mediaQuery:e}){let i=this.breakpoints.findByQuery(e);return(i?[...this.printBreakPoints,i]:this.printBreakPoints).sort(kc)}updateEvent(e){let i=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(i=this.getEventBreakpoints(e)[0],e.mediaQuery=i?.mediaQuery??""),FA(e,i)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;let i=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new Po(!0,ga))),e.updateStyles())},r=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",i),this._document.defaultView.addEventListener("afterprint",r),this.beforePrintEventListeners.push(i),this.afterPrintEventListeners.push(r)}interceptEvents(e){return i=>{if(this.isPrintEvent(i)){i.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(i)),e.updateStyles()):!i.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(e),e.updateStyles());return}this.collectActivations(e,i)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,i){this.isPrinting=!0,this.formerActivations=e.activatedBreakpoints,e.activatedBreakpoints=this.queue.addPrintBreakpoints(i)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(e,i){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent){this.deactivations=[];return}if(!i.matches){let r=this.breakpoints.findByQuery(i.mediaQuery);if(r){let o=this.formerActivations&&this.formerActivations.includes(r),s=!this.formerActivations&&e.activatedBreakpoints.includes(r);(o||s)&&(this.deactivations.push(r),this.deactivations.sort(kc))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e)))}static{this.\u0275fac=function(i){return new(i||t)(D(PA),D(En),D(H))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),D_=class{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(n){return n.push(I$),n.sort(kc),n.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(n){n&&this.printBreakpoints.find(i=>i.mediaQuery===n.mediaQuery)===void 0&&(this.printBreakpoints=T$(n)?[n,...this.printBreakpoints]:[...this.printBreakpoints,n])}clear(){this.printBreakpoints=[]}};Ir=(()=>{class t{get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(e){this._activatedBreakpoints=[...e]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(e){this._useFallbacks=e}constructor(e,i,r){this.matchMedia=e,this.breakpoints=i,this.hook=r,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new T,this.observeActivations()}onMediaChange(e){let i=this.findByQuery(e.mediaQuery);if(i){e=FA(e,i);let r=this.activatedBreakpoints.indexOf(i);e.matches&&r===-1?(this._activatedBreakpoints.push(i),this._activatedBreakpoints.sort(kc),this.updateStyles()):!e.matches&&r!==-1&&(this._activatedBreakpoints.splice(r,1),this._activatedBreakpoints.sort(kc),this.updateStyles())}}init(e,i,r,o,s=[]){OA(this.updateMap,e,i,r),OA(this.clearMap,e,i,o),this.buildElementKeyMap(e,i),this.watchExtraTriggers(e,i,s)}getValue(e,i,r){let o=this.elementMap.get(e);if(o){let s=r!==void 0?o.get(r):this.getActivatedValues(o,i);if(s)return s.get(i)}}hasValue(e,i){let r=this.elementMap.get(e);if(r){let o=this.getActivatedValues(r,i);if(o)return o.get(i)!==void 0||!1}return!1}setValue(e,i,r,o){let s=this.elementMap.get(e);if(!s)s=new Map().set(o,new Map().set(i,r)),this.elementMap.set(e,s);else{let l=(s.get(o)??new Map).set(i,r);s.set(o,l),this.elementMap.set(e,s)}let a=this.getValue(e,i);a!==void 0&&this.updateElement(e,i,a)}trackValue(e,i){return this.subject.asObservable().pipe(me(r=>r.element===e&&r.key===i))}updateStyles(){this.elementMap.forEach((e,i)=>{let r=new Set(this.elementKeyMap.get(i)),o=this.getActivatedValues(e);o&&o.forEach((s,a)=>{this.updateElement(i,a,s),r.delete(a)}),r.forEach(s=>{if(o=this.getActivatedValues(e,s),o){let a=o.get(s);this.updateElement(i,s,a)}else this.clearElement(i,s)})})}clearElement(e,i){let r=this.clearMap.get(e);if(r){let o=r.get(i);o&&(o(),this.subject.next({element:e,key:i,value:""}))}}updateElement(e,i,r){let o=this.updateMap.get(e);if(o){let s=o.get(i);s&&(s(r),this.subject.next({element:e,key:i,value:r}))}}releaseElement(e){let i=this.watcherMap.get(e);i&&(i.forEach(o=>o.unsubscribe()),this.watcherMap.delete(e));let r=this.elementMap.get(e);r&&(r.forEach((o,s)=>r.delete(s)),this.elementMap.delete(e))}triggerUpdate(e,i){let r=this.elementMap.get(e);if(r){let o=this.getActivatedValues(r,i);o&&(i?this.updateElement(e,i,o.get(i)):o.forEach((s,a)=>this.updateElement(e,a,s)))}}buildElementKeyMap(e,i){let r=this.elementKeyMap.get(e);r||(r=new Set,this.elementKeyMap.set(e,r)),r.add(i)}watchExtraTriggers(e,i,r){if(r&&r.length){let o=this.watcherMap.get(e);if(o||(o=new Map,this.watcherMap.set(e,o)),!o.get(i)){let a=Et(...r).subscribe(()=>{let l=this.getValue(e,i);this.updateElement(e,i,l)});o.set(i,a)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,i){for(let o=0;o<this.activatedBreakpoints.length;o++){let s=this.activatedBreakpoints[o],a=e.get(s.alias);if(a&&(i===void 0||a.has(i)&&a.get(i)!=null))return a}if(!this._useFallbacks)return;let r=e.get("");return i===void 0||r&&r.has(i)?r:void 0}observeActivations(){let e=this.breakpoints.items.map(i=>i.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe(Ne(this.hook.interceptEvents(this)),me(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}static{this.\u0275fac=function(i){return new(i||t)(D(m$),D(PA),D(M$))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();Mr=(()=>{class t{get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}constructor(e,i,r,o){this.elementRef=e,this.styleBuilder=i,this.styler=r,this.marshal=o,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new T,this.styleCache=new Map}ngOnChanges(e){Object.keys(e).forEach(i=>{if(this.inputs.indexOf(i)!==-1){let r=i.split(".").slice(1).join("."),o=e[i].currentValue;this.setValue(o,r)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,i){let r=this.styleBuilder,o=r.shouldCache,s=this.styleCache.get(e);(!s||!o)&&(s=r.buildStyles(e,i),o&&this.styleCache.set(e,s)),this.mru=_({},s),this.applyStyleToElement(s),r.sideEffect(e,s,i)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,i=!1){if(e){let[r,o]=this.styler.getFlowDirection(e);if(!o&&i){let s=Qh(r),a=[e];this.styler.applyStyleToElements(s,a)}return r.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,i,r=this.nativeElement){this.styler.applyStyleToElement(r,e,i)}setValue(e,i){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,i)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}static{this.\u0275fac=function(i){return new(i||t)(A(B),A(li),A(Qi),A(Ir))}}static{this.\u0275dir=P({type:t,features:[Ve]})}}return t})();NA="x";});var A$,R$,va,I_,ba=f(()=>{"use strict";b();Tr();Tr();pe();pe();A$=(()=>{class t extends Mr{set klass(e){this.ngClassInstance.klass=e,this.setValue(e,"")}constructor(e,i,r,o,s){super(e,null,i,r),this.ngClassInstance=s,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new Oi(e,o)),this.init(),this.setValue("","")}updateWithValue(e){this.ngClassInstance.ngClass=e,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}static{this.\u0275fac=function(i){return new(i||t)(A(B),A(Qi),A(Ir),A(ut),A(Oi,10))}}static{this.\u0275dir=P({type:t,inputs:{klass:[0,"class","klass"]},features:[ge]})}}return t})(),R$=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"],va=(()=>{class t extends A${constructor(){super(...arguments),this.inputs=R$}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=P({type:t,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[ge]})}}return t})();I_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=F({type:t})}static{this.\u0275inj=N({imports:[ya]})}}return t})();});function iG(t,n){let[e,i]=t.split(" "),r=i??e,o="0px",s=r,a="0px";return n==="rtl"?a=e:o=e,{padding:`0px ${o} ${s} ${a}`}}function rG(t,n){let[e,i]=t.split(" "),r=i??e,o=c=>`-${c}`,s="0px",a=o(r),l="0px";return n==="rtl"?l=o(e):s=o(e),{margin:`0px ${s} ${a} ${l}`}}function $A(t,n){switch(n){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":return t==="rtl"?"margin-left":"margin-right";case"row-reverse":return t==="rtl"?"margin-right":"margin-left";default:return t==="rtl"?"margin-left":"margin-right"}}function oG(t,n){let e=$A(n.directionality,n.layout),i=_({},HA);return i[e]=t,i}var O$,k$,N$,BA,F$,L$,P$,j$,V$,B$,U$,UA,H$,z$,$$,G$,W$,q$,K$,Y$,HA,Q$,Z$,X$,zA,J$,eG,tG,nG,ep,sG,aG,lG,GA,VA,T_,tp=f(()=>{"use strict";zi();zi();b();Tr();Tr();E_();Qe();Se();O$=(()=>{class t extends li{constructor(e){super(),this.layoutConfig=e}buildStyles(e,i){let[r,o,...s]=e.split(" "),a=s.join(" "),l=i.direction.indexOf("column")>-1?"column":"row",c=Oc(l)?"max-width":"max-height",d=Oc(l)?"min-width":"min-height",h=String(a).indexOf("calc")>-1,m=h||a==="auto",p=String(a).indexOf("%")>-1&&!h,g=String(a).indexOf("px")>-1||String(a).indexOf("rem")>-1||String(a).indexOf("em")>-1||String(a).indexOf("vw")>-1||String(a).indexOf("vh")>-1,y=h||g;r=r=="0"?0:r,o=o=="0"?0:o;let I=!r&&!o,R={},ne={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(a||""){case"":let ue=this.layoutConfig.useColumnBasisZero!==!1;a=l==="row"?"0%":ue?"0.000000001px":"auto";break;case"initial":case"nogrow":r=0,a="auto";break;case"grow":a="100%";break;case"noshrink":o=0,a="auto";break;case"auto":break;case"none":r=0,o=0,a="auto";break;default:!y&&!p&&!isNaN(a)&&(a=a+"%"),a==="0%"&&(y=!0),a==="0px"&&(a="0%"),h?R=jn(ne,{"flex-grow":r,"flex-shrink":o,"flex-basis":y?a:"100%"}):R=jn(ne,{flex:`${r} ${o} ${y?a:"100%"}`});break}return R.flex||R["flex-grow"]||(h?R=jn(ne,{"flex-grow":r,"flex-shrink":o,"flex-basis":a}):R=jn(ne,{flex:`${r} ${o} ${a}`})),a!=="0%"&&a!=="0px"&&a!=="0.000000001px"&&a!=="auto"&&(R[d]=I||y&&r?a:null,R[c]=I||!m&&o?a:null),!R[d]&&!R[c]?h?R=jn(ne,{"flex-grow":r,"flex-shrink":o,"flex-basis":a}):R=jn(ne,{flex:`${r} ${o} ${a}`}):i.hasWrap&&(R[h?"flex-basis":"flex"]=R[c]?h?R[c]:`${r} ${o} ${R[c]}`:h?R[d]:`${r} ${o} ${R[d]}`),jn(R,{"box-sizing":"border-box"})}static{this.\u0275fac=function(i){return new(i||t)(D(En))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),k$=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"],N$=(()=>{class t extends Mr{get shrink(){return this.flexShrink}set shrink(e){this.flexShrink=e||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(e){this.flexGrow=e||"1",this.triggerReflow()}constructor(e,i,r,o,s){super(e,o,i,s),this.layoutConfig=r,this.marshal=s,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe(ve(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(ve(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(e){let r=e.value.split(" ");this.direction=r[0],this.wrap=r[1]!==void 0&&r[1]==="wrap",this.triggerUpdate()}updateWithValue(e){let i=this.layoutConfig.addFlexToParent!==!1;this.direction===void 0&&(this.direction=this.getFlexFlowDirection(this.parentElement,i)),this.wrap===void 0&&(this.wrap=this.hasWrap(this.parentElement));let r=this.direction,o=r.startsWith("row"),s=this.wrap;o&&s?this.styleCache=P$:o&&!s?this.styleCache=F$:!o&&s?this.styleCache=j$:!o&&!s&&(this.styleCache=L$);let a=String(e).replace(";",""),l=S_(a,this.flexGrow,this.flexShrink);this.addStyles(l.join(" "),{direction:r,hasWrap:s})}triggerReflow(){let e=this.activatedValue;if(e!==void 0){let i=S_(e+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,i.join(" "))}}static{this.\u0275fac=function(i){return new(i||t)(A(B),A(Qi),A(En),A(O$),A(Ir))}}static{this.\u0275dir=P({type:t,inputs:{shrink:[0,"fxShrink","shrink"],grow:[0,"fxGrow","grow"]},features:[ge]})}}return t})(),BA=(()=>{class t extends N${constructor(){super(...arguments),this.inputs=k$}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=P({type:t,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[ge]})}}return t})(),F$=new Map,L$=new Map,P$=new Map,j$=new Map;V$=(()=>{class t extends li{buildStyles(e,i){let r={},[o,s]=e.split(" ");switch(o){case"center":r["justify-content"]="center";break;case"space-around":r["justify-content"]="space-around";break;case"space-between":r["justify-content"]="space-between";break;case"space-evenly":r["justify-content"]="space-evenly";break;case"end":case"flex-end":r["justify-content"]="flex-end";break;case"start":case"flex-start":default:r["justify-content"]="flex-start";break}switch(s){case"start":case"flex-start":r["align-items"]=r["align-content"]="flex-start";break;case"center":r["align-items"]=r["align-content"]="center";break;case"end":case"flex-end":r["align-items"]=r["align-content"]="flex-end";break;case"space-between":r["align-content"]="space-between",r["align-items"]="stretch";break;case"space-around":r["align-content"]="space-around",r["align-items"]="stretch";break;case"baseline":r["align-content"]="stretch",r["align-items"]="baseline";break;case"stretch":default:r["align-items"]=r["align-content"]="stretch";break}return jn(r,{display:i.inline?"inline-flex":"flex","flex-direction":i.layout,"box-sizing":"border-box","max-width":s==="stretch"?Oc(i.layout)?null:"100%":null,"max-height":s==="stretch"&&Oc(i.layout)?"100%":null})}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),B$=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"],U$=(()=>{class t extends Mr{constructor(e,i,r,o){super(e,r,i,o),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(ve(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(e){let i=this.layout||"row",r=this.inline;i==="row"&&r?this.styleCache=W$:i==="row"&&!r?this.styleCache=H$:i==="row-reverse"&&r?this.styleCache=K$:i==="row-reverse"&&!r?this.styleCache=$$:i==="column"&&r?this.styleCache=q$:i==="column"&&!r?this.styleCache=z$:i==="column-reverse"&&r?this.styleCache=Y$:i==="column-reverse"&&!r&&(this.styleCache=G$),this.addStyles(e,{layout:i,inline:r})}onLayoutChange(e){let i=e.value.split(" ");this.layout=i[0],this.inline=e.value.includes("inline"),Rc.find(r=>r===this.layout)||(this.layout="row"),this.triggerUpdate()}static{this.\u0275fac=function(i){return new(i||t)(A(B),A(Qi),A(V$),A(Ir))}}static{this.\u0275dir=P({type:t,features:[ge]})}}return t})(),UA=(()=>{class t extends U${constructor(){super(...arguments),this.inputs=B$}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=P({type:t,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[ge]})}}return t})(),H$=new Map,z$=new Map,$$=new Map,G$=new Map,W$=new Map,q$=new Map,K$=new Map,Y$=new Map,HA={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null},Q$=(()=>{class t extends li{constructor(e,i){super(),this._styler=e,this._config=i}buildStyles(e,i){return e.endsWith(ep)?(e=e.slice(0,e.indexOf(ep)),e=Jh(e,this._config.multiplier),rG(e,i.directionality)):{}}sideEffect(e,i,r){let o=r.items;if(e.endsWith(ep)){e=e.slice(0,e.indexOf(ep)),e=Jh(e,this._config.multiplier);let s=iG(e,r.directionality);this._styler.applyStyleToElements(s,r.items)}else{e=Jh(e,this._config.multiplier),e=this.addFallbackUnit(e);let s=o.pop(),a=oG(e,r);this._styler.applyStyleToElements(a,o),this._styler.applyStyleToElements(HA,[s])}}addFallbackUnit(e){return isNaN(+e)?e:`${e}${this._config.defaultUnit}`}static{this.\u0275fac=function(i){return new(i||t)(D(Qi),D(En))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Z$=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"],X$=(()=>{class t extends Mr{get childrenNodes(){let e=this.nativeElement.children,i=[];for(let r=e.length;r--;)i[r]=e[r];return i}constructor(e,i,r,o,s,a){super(e,s,o,a),this.zone=i,this.directionality=r,this.styleUtils=o,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=new T;let l=[this.directionality.change,this.observerSubject.asObservable()];this.init(l),this.marshal.trackValue(this.nativeElement,"layout").pipe(ve(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(e){let r=e.value.split(" ")[0];Rc.find(o=>o===r)||(r="row"),this.layout&&this.layout!==r&&this.clearStyles(),this.layout=r,this.triggerUpdate()}updateWithValue(e){let i=this.childrenNodes.filter(r=>r.nodeType===1&&this.willDisplay(r)).sort((r,o)=>{let s=+this.styler.lookupStyle(r,"order"),a=+this.styler.lookupStyle(o,"order");return isNaN(s)||isNaN(a)||s===a?0:s>a?1:-1});if(i.length>0){let r=this.directionality.value,o=this.layout;o==="row"&&r==="rtl"?this.styleCache=J$:o==="row"&&r!=="rtl"?this.styleCache=tG:o==="column"&&r==="rtl"?this.styleCache=eG:o==="column"&&r!=="rtl"&&(this.styleCache=nG),this.addStyles(e,{directionality:r,items:i,layout:o})}}clearStyles(){let e=Object.keys(this.mru).length>0,i=e?"padding":$A(this.directionality.value,this.layout);e&&super.clearStyles(),this.styleUtils.applyStyleToElements({[i]:""},this.childrenNodes)}willDisplay(e){let i=this.marshal.getValue(e,"show-hide");return i===!0||i===void 0&&this.styleUtils.lookupStyle(e,"display")!=="none"}buildChildObservable(){this.zone.runOutsideAngular(()=>{typeof MutationObserver<"u"&&(this.observer=new MutationObserver(e=>{let i=r=>r.addedNodes&&r.addedNodes.length>0||r.removedNodes&&r.removedNodes.length>0;e.some(i)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}static{this.\u0275fac=function(i){return new(i||t)(A(B),A(L),A(_t),A(Qi),A(Q$),A(Ir))}}static{this.\u0275dir=P({type:t,features:[ge]})}}return t})(),zA=(()=>{class t extends X${constructor(){super(...arguments),this.inputs=Z$}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=P({type:t,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},features:[ge]})}}return t})(),J$=new Map,eG=new Map,tG=new Map,nG=new Map,ep=" grid";sG=(()=>{class t extends li{buildStyles(e,{display:i}){let r=Qh(e);return ie(_({},r),{display:i==="none"?i:r.display})}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),aG=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"],lG=(()=>{class t extends Mr{constructor(e,i,r,o,s){super(e,r,i,o),this._config=s,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(e){let r=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=VA.get(r)??new Map,VA.set(r,this.styleCache),this.currentValue!==e&&(this.addStyles(e,{display:r}),this.currentValue=e)}static{this.\u0275fac=function(i){return new(i||t)(A(B),A(Qi),A(sG),A(Ir),A(En))}}static{this.\u0275dir=P({type:t,features:[ge]})}}return t})(),GA=(()=>{class t extends lG{constructor(){super(...arguments),this.inputs=aG}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=P({type:t,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[ge]})}}return t})(),VA=new Map;T_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=F({type:t})}static{this.\u0275inj=N({imports:[ya,oi]})}}return t})();});var A_,R_=f(()=>{"use strict";b();Tr();A_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=F({type:t})}static{this.\u0275inj=N({imports:[ya]})}}return t})();});var _a,Dae,np=f(()=>{"use strict";Tr();Tr();ba();ba();tp();tp();R_();R_();pe();b();b();_a=(()=>{class t{static withConfig(e,i=[]){return{ngModule:t,providers:e.serverLoaded?[{provide:En,useValue:_(_({},Zh),e)},{provide:Xh,useValue:i,multi:!0},{provide:Nc,useValue:!0}]:[{provide:En,useValue:_(_({},Zh),e)},{provide:Xh,useValue:i,multi:!0}]}}constructor(e,i){Ni(i)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static{this.\u0275fac=function(i){return new(i||t)(D(Nc),D(Qt))}}static{this.\u0275mod=F({type:t})}static{this.\u0275inj=N({imports:[T_,I_,A_,T_,I_,A_]})}}return t})();Dae=new xi("19.0.0");});function dG(t,n){if(t&1&&(E(0,"mat-option",12),se(1),M()),t&2){let e=n.$implicit;S("value",e),x(),Je(" ",e.voiceName," ")}}function uG(t,n){if(t&1&&(E(0,"mat-icon"),se(1),M()),t&2){let e=G();x(),Je(" ",e.isPlaying?"stop":"volume_up"," ")}}function fG(t,n){t&1&&q(0,"mat-spinner",13),t&2&&S("diameter",15)}var WA,qA=f(()=>{"use strict";pe();b();vr();fn();Gi();_T();Se();Th();Sr();Ac();Yh();np();mt();b();pe();vr();Sr();Yh();Ac();ba();mt();WA=(()=>{class t{constructor(){this.maxCharLength=1e3,this.#e=u(bT)}get hasOverflow(){let e=document.querySelector("textarea");return e?.clientHeight<e?.scrollHeight}#e;ngOnInit(){this.selected=this.voices[0]}togglePlay(){if(this.isPlaying){this.stop();return}this.isLoading=!0;let e=this.text.length>this.maxCharLength?this.text.substring(0,this.maxCharLength):this.text;if(this.audio&&e===this.previousText&&this.selected.voice===this.previousVoice){this.audio.play(),this.isPlaying=!0,this.isLoading=!1;return}this.#e.play(e,this.selected).pipe($t(()=>{this.isLoading=!1})).subscribe({next:i=>{this.previousText=e,this.previousVoice=this.selected.voice;let r=URL.createObjectURL(i);this.audio=new Audio(r),this.audio.play(),this.isPlaying=!0,this.audio.onended=()=>{URL.revokeObjectURL(r),this.isPlaying=!1}}})}stop(){this.audio&&(this.audio.pause(),this.audio.currentTime=0,this.isPlaying=!1)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=U({type:t,selectors:[["lib-text-to-speech"]],inputs:{maxCharLength:"maxCharLength",voices:"voices"},decls:19,vars:23,consts:[[1,"text-to-speech-wrapper",3,"ngClass.lt-md"],["appearance","outline","color","accent"],[3,"valueChange","value"],[3,"value",4,"ngFor","ngForOf"],[1,"text-to-speech-textarea-wrapper"],[1,"text-to-speech-textarea",3,"ngModelChange","ngModel","placeholder"],[1,"text-to-speech-characters"],[1,"text-to-speech-actions"],[3,"matTooltip"],["mat-icon-button","",3,"click","matTooltip","disabled"],[4,"ngIf"],[3,"diameter",4,"ngIf"],[3,"value"],[3,"diameter"]],template:function(i,r){if(i&1&&(E(0,"div",0)(1,"mat-form-field",1)(2,"mat-label"),se(3),le(4,"translate"),M(),E(5,"mat-select",2),zs("valueChange",function(s){return kl(r.selected,s)||(r.selected=s),s}),re(6,dG,2,2,"mat-option",3),M()(),E(7,"div",4)(8,"textarea",5),le(9,"translate"),zs("ngModelChange",function(s){return kl(r.text,s)||(r.text=s),s}),M(),E(10,"div",6),se(11),M()(),E(12,"div",7)(13,"div",8),le(14,"translate"),E(15,"button",9),le(16,"translate"),ee("click",function(){return r.togglePlay()}),re(17,uG,2,1,"mat-icon",10)(18,fG,1,1,"mat-spinner",11),M()()()()),i&2){let o;S("ngClass.lt-md","mobile"),x(3),ft(be(4,15,"selectVoice")),x(2),Hs("value",r.selected),x(),S("ngForOf",r.voices),x(2),Hs("ngModel",r.text),S("placeholder",be(9,17,"placeholder")),x(2),Q("text-overflow",r.hasOverflow),x(),Mv(" ",(o=r.text==null?null:r.text.length)!==null&&o!==void 0?o:0,"/",r.maxCharLength," "),x(2),S("matTooltip",r.text?"":be(14,19,"playDisabled")),x(2),S("matTooltip",be(16,21,r.isPlaying?"stop":"play"))("disabled",!r.text||r.isLoading),x(2),S("ngIf",!r.isLoading),x(),S("ngIf",r.isLoading)}},dependencies:[Jt,Gs,ki,So,ai,sh,na,ia,sc,Mh,No,Ki,Ic,Dc,Lo,Tc,Mc,Fo,_a,va,ni,pt],styles:[".text-to-speech-wrapper[_ngcontent-%COMP%]{margin-top:5px;position:relative;display:flex;flex-direction:column;align-items:center}.text-to-speech-wrapper[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{max-width:900px!important;width:100%}.text-to-speech-textarea-wrapper[_ngcontent-%COMP%], .text-to-speech-textarea[_ngcontent-%COMP%]{position:relative;width:100%;max-width:900px}.text-to-speech-textarea-wrapper[_ngcontent-%COMP%]{border:1px solid var(--base-70);padding:5px;border-radius:8px;box-shadow:0 0 16px #0000001a}.text-to-speech-textarea[_ngcontent-%COMP%]{margin:15px 0;padding:0 10px;min-height:120px;resize:none;outline:none;border:none}.text-to-speech-actions[_ngcontent-%COMP%]{position:absolute;bottom:-20px}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:flex;justify-content:center;color:var(--base-100)!important;background-color:var(--accent)}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{background-color:var(--base-70)}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%]{scale:1.2}.text-to-speech-characters[_ngcontent-%COMP%]{position:absolute;right:10px;bottom:0;margin:5px;font-size:13px;color:var(--base-65)}.text-overflow[_ngcontent-%COMP%]{right:30px}.mobile[_ngcontent-%COMP%] .text-overflow[_ngcontent-%COMP%]{right:15px}"]})}}return t})()});var KA=f(()=>{"use strict"});var YA=f(()=>{"use strict";KA()});var QA=f(()=>{"use strict";qA();YA()});var ZA,XA=f(()=>{"use strict";ZA={en:{selectVoice:"Demo voices (currently only for Latvian language)",placeholder:'Enter text to listen to a demonstration of the text-to-speech technology. Remember, this service can only be used in accordance with its terms of use (see the "Frequently asked questions" section). It is not permitted to use this service for texts that contain offensive, indecent, defamatory, misleading, hateful, or discriminatory statements. Violation of the terms of use may result in liability as stipulated by the laws of the Republic of Latvia. A maximum of 1000 characters will be spoken.',playDisabled:"Enter text to play",play:"Play",stop:"Stop"},lv:{selectVoice:"Demo balsis (\u0161obr\u012Bd tikai Latvie\u0161u valod\u0101)",placeholder:"Ievadi tekstu, lai noklaus\u012Btos balss sint\u0113zes tehnolo\u0123ijas demonstr\u0101ciju. Atceries, ka \u0161o pakalpojumu var lietot tikai atbilsto\u0161i t\u0101 lieto\u0161anas noteikumiem (skat\u012Bt sada\u013Cu \u201CBie\u017E\u0101k uzdotie jaut\u0101jumi\u201D)! To nav at\u013Cauts izmantot tekstiem, kas satur aizskaro\u0161us, nepiekl\u0101j\u012Bgus, apmelojo\u0161us, maldino\u0161us, naidu vai diskrimin\u0101ciju veicino\u0161us apgalvojumus. Par lieto\u0161anas noteikumu p\u0101rk\u0101pumu var iest\u0101ties LR likumos noteikt\u0101 atbild\u012Bba. Tiks izrun\u0101ti ne vair\u0101k k\u0101 1000 simboli.",playDisabled:"Ievadi tekstu, lai atska\u0146ot to",play:"Atska\u0146ot",stop:"Apst\u0101din\u0101t",voice:"Balss {{nth}}"}}});var ip,O_=f(()=>{"use strict";hb();QA();XA();b();ip=(()=>{class t extends zf{set voices(e){this._voices=typeof e=="string"?JSON.parse(e):e}set maxCharLength(e){this._maxCharLength=+e}get voices(){return this._voices}get maxCharLength(){return this._maxCharLength}constructor(){super(ZA),this._maxCharLength=500}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=U({type:t,selectors:[["app-text-to-speech"]],inputs:{voices:"voices",maxCharLength:"maxCharLength"},features:[ge],decls:1,vars:2,consts:[[3,"voices","maxCharLength"]],template:function(i,r){i&1&&q(0,"lib-text-to-speech",0),i&2&&S("voices",r.voices)("maxCharLength",r.maxCharLength)},dependencies:[WA],encapsulation:2})}}return t})()});var Vt,rp=f(()=>{"use strict";Vt=function(t){return t.SUMMARY="SUMMARY",t.REPHRASE="REPHRASE",t}(Vt||{})});function hG(t,n){}function k_(t,n){let e=t.length;for(;e--;)n(t[e])}var Ar,N_,Fc,pG,mG,gG,F_,JA,eR=f(()=>{"use strict";pe();b();b();Se();Rh();Bb();l_();Ob();Ui();dc();xr();Qe();hh();_c();Ar=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;componentFactoryResolver;providers;container;templateContext},N_=(()=>{class t extends To{_elementRef=u(B);_focusTrapFactory=u(jb);_config;_interactivityChecker=u(Pb);_ngZone=u(L);_overlayRef=u(Oo);_focusMonitor=u(wo);_renderer=u(ut);_changeDetectorRef=u(at);_injector=u(he);_platform=u(Le);_document=u(H,{optional:!0});_portalOutlet;_focusTrapped=new T;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=u(Ar,{optional:!0})||new Ar,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let i=this._ariaLabelledByQueue.indexOf(e);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}attachDomPortal=e=>{this._portalOutlet.hasAttached();let i=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),i};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{o(),s(),e.removeAttribute("tabindex")},o=this._renderer.listen(e,"blur",r),s=this._renderer.listen(e,"mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_trapFocus(e){this._isDestroyed||dn(()=>{let i=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||i.focus(e);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,i=null;if(typeof e=="string"?i=this._document.querySelector(e):typeof e=="boolean"?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&typeof i.focus=="function"){let r=cc(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(e){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus(e)}_containsFocus(){let e=this._elementRef.nativeElement,i=cc();return e===i||e.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=cc()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,r){if(i&1&&Be(pa,7),i&2){let o;Ee(o=De())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,r){i&2&&we("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},features:[ge],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,r){i&1&&re(0,hG,0,0,"ng-template",0)},dependencies:[pa],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}
33
+ `],encapsulation:2})}return t})(),Fc=class{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new T;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(n,e){this.overlayRef=n,this.config=e,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{i.keyCode===27&&!this.disableClose&&!At(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=n.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(n,e){if(this.containerInstance){let i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}},pG=new C("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=u(gt);return()=>t.scrollStrategies.block()}}),mG=new C("DialogData"),gG=new C("DefaultDialogConfig"),F_=(()=>{class t{_overlay=u(gt);_injector=u(he);_defaultOptions=u(gG,{optional:!0});_parentDialog=u(t,{optional:!0,skipSelf:!0});_overlayContainer=u(jh);_idGenerator=u(jt);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new T;_afterOpenedAtThisLevel=new T;_ariaHiddenElements=new Map;_scrollStrategy=u(pG);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=on(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Nt(void 0)));constructor(){}open(e,i){let r=this._defaultOptions||new Ar;i=_(_({},r),i),i.id=i.id||this._idGenerator.getId("cdk-dialog-"),i.id&&this.getDialogById(i.id);let o=this._getOverlayConfig(i),s=this._overlay.create(o),a=new Fc(s,i),l=this._attachContainer(s,a,i);if(a.containerInstance=l,!this.openDialogs.length){let c=this._overlayContainer.getContainerElement();l._focusTrapped?l._focusTrapped.pipe(Pe(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(c)}):this._hideNonDialogContentFromAssistiveTechnology(c)}return this._attachDialogContent(e,a,l,i),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){k_(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){k_(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),k_(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let i=new Ro({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,r){let o=r.injector||r.viewContainerRef?.injector,s=[{provide:Ar,useValue:r},{provide:Fc,useValue:i},{provide:Oo,useValue:e}],a;r.container?typeof r.container=="function"?a=r.container:(a=r.container.type,s.push(...r.container.providers(r))):a=N_;let l=new Wi(a,r.viewContainerRef,he.create({parent:o||this._injector,providers:s}));return e.attach(l).instance}_attachDialogContent(e,i,r,o){if(e instanceof an){let s=this._createInjector(o,i,r,void 0),a={$implicit:o.data,dialogRef:i};o.templateContext&&(a=_(_({},a),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),r.attachTemplatePortal(new Er(e,null,a,s))}else{let s=this._createInjector(o,i,r,this._injector),a=r.attachComponentPortal(new Wi(e,o.viewContainerRef,s));i.componentRef=a,i.componentInstance=a.instance}}_createInjector(e,i,r,o){let s=e.injector||e.viewContainerRef?.injector,a=[{provide:mG,useValue:e.data},{provide:Fc,useValue:i}];return e.providers&&(typeof e.providers=="function"?a.push(...e.providers(i,e,r)):a.push(...e.providers)),e.direction&&(!s||!s.get(_t,null,{optional:!0}))&&a.push({provide:_t,useValue:{value:e.direction,change:k()}}),he.create({parent:s||o,providers:a})}_removeOpenDialog(e,i){let r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,s)=>{o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let i=e.parentElement.children;for(let r=i.length-1;r>-1;r--){let o=i[r];o!==e&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();JA=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({providers:[F_],imports:[qi,Dr,pc,Dr]})}return t})()});function yG(t,n){}function rR(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?_r(t.substring(0,t.length-2)):t.endsWith("s")?_r(t.substring(0,t.length-1))*1e3:t==="0"?0:null}function P_(t,n,e){return t._closeInteractionType=n,t.close(e)}function cR(t,n){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(i=>i.id===e.id):null}var Pc,L_,tR,nR,vG,bG,oR,iR,Lc,Ca,xa,sR,aR,Rr,jc,lR,Vc,Bc,Uc,jo,dR=f(()=>{"use strict";eR();Bh();c_();b();b();yc();Se();Qe();xr();Hi();fa();Pn();Pc=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;componentFactoryResolver;enterAnimationDuration;exitAnimationDuration},L_="mdc-dialog--open",tR="mdc-dialog--opening",nR="mdc-dialog--closing",vG=150,bG=75,oR=(()=>{class t extends N_{_animationMode=u(Xe,{optional:!0});_animationStateChanged=new z;_animationsEnabled=this._animationMode!=="NoopAnimations";_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?rR(this._config.enterAnimationDuration)??vG:0;_exitAnimationDuration=this._animationsEnabled?rR(this._config.exitAnimationDuration)??bG:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(iR,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(tR,L_)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(L_),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(L_),this._animationsEnabled?(this._hostElement.style.setProperty(iR,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(nR)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(tR,nR)}_waitForAnimationToComplete(e,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let i=super.attachComponentPortal(e);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})();static \u0275cmp=U({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,r){i&2&&(mr("id",r._config.id),we("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),Q("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},features:[ge],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,r){i&1&&(E(0,"div",0)(1,"div",1),re(2,yG,0,0,"ng-template",2),M()())},dependencies:[pa],styles:[`.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mdc-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}
34
+ `],encapsulation:2})}return t})(),iR="--mat-dialog-transition-duration";Lc=function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t}(Lc||{}),Ca=class{_ref;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new T;_beforeClosed=new T;_result;_closeFallbackTimeout;_state=Lc.OPEN;_closeInteractionType;constructor(n,e,i){this._ref=n,this._containerInstance=i,this.disableClose=e.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),i._animationStateChanged.pipe(me(r=>r.state==="opened"),Pe(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(me(r=>r.state==="closed"),Pe(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Et(this.backdropClick(),this.keydownEvents().pipe(me(r=>r.keyCode===27&&!this.disableClose&&!At(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),P_(this,r.type==="keydown"?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(me(e=>e.state==="closing"),Pe(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=Lc.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=Lc.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};xa=new C("MatMdcDialogData"),sR=new C("mat-mdc-dialog-default-options"),aR=new C("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(gt);return()=>t.scrollStrategies.block()}}),Rr=(()=>{class t{_overlay=u(gt);_defaultOptions=u(sR,{optional:!0});_scrollStrategy=u(aR);_parentDialog=u(t,{optional:!0,skipSelf:!0});_idGenerator=u(jt);_dialog=u(F_);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new T;_afterOpenedAtThisLevel=new T;dialogConfigClass=Pc;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=on(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Nt(void 0)));constructor(){this._dialogRefConstructor=Ca,this._dialogContainerType=oR,this._dialogDataToken=xa}open(e,i){let r;i=_(_({},this._defaultOptions||new Pc),i),i.id=i.id||this._idGenerator.getId("mat-mdc-dialog-"),i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(e,ie(_({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:Ar,useValue:i}]},templateContext:()=>({dialogRef:r}),providers:(s,a,l)=>(r=new this._dialogRefConstructor(s,i,l),r.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=o.componentRef,r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(r);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),jc=(()=>{class t{dialogRef=u(Ca,{optional:!0});_elementRef=u(B);_dialog=u(Rr);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=cR(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){P_(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,r){i&1&&ee("click",function(s){return r._onButtonClick(s)}),i&2&&we("aria-label",r.ariaLabel||null)("type",r.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Ve]})}return t})(),lR=(()=>{class t{_dialogRef=u(Ca,{optional:!0});_elementRef=u(B);_dialog=u(Rr);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=cR(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t})}return t})(),Vc=(()=>{class t extends lR{id=u(jt).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})();static \u0275dir=P({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,r){i&2&&mr("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[ge]})}return t})(),Bc=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[RS([r_])]})}return t})(),Uc=(()=>{class t extends lR{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})();static \u0275dir=P({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(i,r){i&2&&Q("mat-mdc-dialog-actions-align-start",r.align==="start")("mat-mdc-dialog-actions-align-center",r.align==="center")("mat-mdc-dialog-actions-align-end",r.align==="end")},inputs:{align:"align"},features:[ge]})}return t})();jo=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({providers:[Rr],imports:[JA,qi,Dr,Ue,Ue]})}return t})()});var Or=f(()=>{"use strict";dR()});var Hc,op,V_,sp,wa,uR,$e,fR,Vo=f(()=>{"use strict";ql();b();b();Se();Hc=new C("ngx-tld-services Api service configuration."),op=class{#e;constructor(n){this.http=u(Pi),this.#e=u(Hc);let e=n(this.#e);if(!e)throw new Error(`${Object.getPrototypeOf(this).constructor.name} is created, but no service configuration defined in 'SERVICE_CONFIGURATION_TOKEN'. Config: ${JSON.stringify(this.#e)}`);this.configuration=e,this.sharedServiceConfiguration=this.#e.sharedConfiguration}},V_=function(t){return t.Event="Event",t.General="General",t.Meeting="Meeting",t.TranscriptEditor="TranscriptEditor",t.TranscriptCleanup="TranscriptCleanup",t}(V_||{}),sp=function(t){return t.Event="Event",t.General="General",t.Meeting="Meeting",t.MeetingBrief="MeetingBrief",t.Brief="Brief",t}(sp||{}),wa=class{static xAppIdHeader(n){return{"X-App-Id":n}}},uR=(()=>{class t extends op{#e=u(Pi);constructor(){super(e=>e.llmService)}rephrase(e){let i=wa.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return this.#e.post(`${this.configuration.url}/rewrite`,e,{responseType:"text",headers:i})}summarize(e){let i=wa.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return this.#e.post(`${this.configuration.url}/summarize/`,e,{responseType:"text",headers:i})}customPrompt(e){let i=wa.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return this.#e.post(`${this.configuration.url}/custom-prompt/`,e,{responseType:"text",headers:i})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),$e=function(t){return t.TRANSLATION_FILES="FileTranslationFiles",t.ASR_FILE_LENGTH_SECONDS="AsrFileLengthSeconds",t.ASR_FILE_SIZE_KB="AsrFileSizeKb",t.ONLINE_ASR_USED_SECONDS="OnlineAsrUsedSeconds",t.TRANSLATION_CHARACTERS="TranslationCharacters",t.TRANSLATION_DOCUMENTS="TranslationDocuments",t.LLM_CHARACTER_COUNT="LlmCharacterCount",t.LLM_REQUESTS="LlmRequests",t.TTS_CHARACTERS="TtsCharacters",t.ANONYMISE_WORDS="AnonymiseWords",t.ANONYMISE_DOCUMENTS="AnonymiseDocuments",t[t.LEGACY_TRANSLATION_FILES=0]="LEGACY_TRANSLATION_FILES",t[t.LEGACY_ASR_FILE_LENGTH_SECONDS=1]="LEGACY_ASR_FILE_LENGTH_SECONDS",t[t.LEGACY_ASR_FILE_SIZE_KB=2]="LEGACY_ASR_FILE_SIZE_KB",t[t.LEGACY_ONLINE_ASR_USED_SECONDS=3]="LEGACY_ONLINE_ASR_USED_SECONDS",t[t.LEGACY_TRANSLATION_CHARACTERS=4]="LEGACY_TRANSLATION_CHARACTERS",t[t.LEGACY_TRANSLATION_DOCUMENTS=5]="LEGACY_TRANSLATION_DOCUMENTS",t[t.LEGACY_LLM_CHARACTER_COUNT=6]="LEGACY_LLM_CHARACTER_COUNT",t[t.LEGACY_LLM_REQUESTS=7]="LEGACY_LLM_REQUESTS",t[t.LEGACY_TTS_CHARACTERS=8]="LEGACY_TTS_CHARACTERS",t[t.LEGACY_ANONYMISE_WORDS=9]="LEGACY_ANONYMISE_WORDS",t[t.LEGACY_ANONYMISE_DOCUMENTS=10]="LEGACY_ANONYMISE_DOCUMENTS",t}($e||{}),fR=(()=>{class t extends op{constructor(){super(e=>e.quotaService),this.legacyQuotaTypeMap={[$e.LEGACY_TRANSLATION_FILES]:$e.TRANSLATION_FILES,[$e.LEGACY_ASR_FILE_LENGTH_SECONDS]:$e.ASR_FILE_LENGTH_SECONDS,[$e.LEGACY_ASR_FILE_SIZE_KB]:$e.ASR_FILE_SIZE_KB,[$e.LEGACY_ONLINE_ASR_USED_SECONDS]:$e.ONLINE_ASR_USED_SECONDS,[$e.LEGACY_TRANSLATION_CHARACTERS]:$e.TRANSLATION_CHARACTERS,[$e.LEGACY_TRANSLATION_DOCUMENTS]:$e.TRANSLATION_DOCUMENTS,[$e.LEGACY_LLM_CHARACTER_COUNT]:$e.LLM_CHARACTER_COUNT,[$e.LEGACY_LLM_REQUESTS]:$e.LLM_REQUESTS,[$e.LEGACY_TTS_CHARACTERS]:$e.TTS_CHARACTERS,[$e.LEGACY_ANONYMISE_WORDS]:$e.ANONYMISE_WORDS,[$e.LEGACY_ANONYMISE_DOCUMENTS]:$e.ANONYMISE_DOCUMENTS}}getQuotaUsage(){let e=wa.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return this.http.get(this.configuration.url,{headers:e}).pipe(j(i=>(i.usage.forEach(r=>{this.legacyQuotaTypeMap[r.quotaType]&&(r.quotaType=this.legacyQuotaTypeMap[r.quotaType])}),i)))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var pR,mR=f(()=>{"use strict";pR={SMALL:600,MEDIUM:960,LARGE:1280,XLARGE:1920}});var gR=f(()=>{"use strict"});var B_,yR=f(()=>{"use strict";B_=function(t){return t[t.TIMEOUT=504]="TIMEOUT",t}(B_||{})});var U_=f(()=>{"use strict";mR();gR();yR()});var vR,bR=f(()=>{"use strict";b();Gi();Yl();vR=(()=>{class t{constructor(e,i){this.iconRegistry=e,this.sanitizer=i}registerIcons(e){for(let i in e)this.iconRegistry.addSvgIconLiteral(i.toLowerCase(),this.sanitizer.bypassSecurityTrustHtml(e[i]))}registerIconFromUrl(e,i){this.iconRegistry.addSvgIcon(e,this.sanitizer.bypassSecurityTrustResourceUrl(i))}addSvgIconSet(e,i){i?this.iconRegistry.addSvgIconSetInNamespace(i,this.sanitizer.bypassSecurityTrustResourceUrl(e)):this.iconRegistry.addSvgIconSet(this.sanitizer.bypassSecurityTrustResourceUrl(e))}static{this.\u0275fac=function(i){return new(i||t)(D(Sh),D(Kl))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var _R=f(()=>{"use strict";bR()});var _G,CG,CR,xR=f(()=>{"use strict";b();_G=typeof localStorage<"u"?localStorage:null,CG=typeof window<"u"?window:null,CR=(()=>{class t{get window(){return CG}get localStorage(){return _G}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var wR=f(()=>{"use strict";xR()});function Ta(t){return new W_(t)}function xG(t,n,e){let i=e.path.split("/");if(i.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||i.length<t.length))return null;let r={};for(let o=0;o<i.length;o++){let s=i[o],a=t[o];if(s[0]===":")r[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,i.length),posParams:r}}function wG(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!ci(t[e],n[e]))return!1;return!0}function ci(t,n){let e=t?q_(t):void 0,i=n?q_(n):void 0;if(!e||!i||e.length!=i.length)return!1;let r;for(let o=0;o<e.length;o++)if(r=e[o],!RR(t[r],n[r]))return!1;return!0}function q_(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function RR(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),i=[...n].sort();return e.every((r,o)=>i[o]===r)}else return t===n}function OR(t){return t.length>0?t[t.length-1]:null}function Fr(t){return Mn(t)?t:yo(t)?Te(Promise.resolve(t)):k(t)}function ER(t,n,e){return EG[e.paths](t.root,n.root,e.matrixParams)&&kR[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function DG(t,n){return ci(t,n)}function NR(t,n,e){if(!Uo(t.segments,n.segments)||!cp(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let i in n.children)if(!t.children[i]||!NR(t.children[i],n.children[i],e))return!1;return!0}function SG(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>RR(t[e],n[e]))}function FR(t,n,e){return LR(t,n,n.segments,e)}function LR(t,n,e,i){if(t.segments.length>e.length){let r=t.segments.slice(0,e.length);return!(!Uo(r,e)||n.hasChildren()||!cp(r,e,i))}else if(t.segments.length===e.length){if(!Uo(t.segments,e)||!cp(t.segments,e,i))return!1;for(let r in n.children)if(!t.children[r]||!FR(t.children[r],n.children[r],i))return!1;return!0}else{let r=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!Uo(t.segments,r)||!cp(t.segments,r,i)||!t.children[de]?!1:LR(t.children[de],n,o,i)}}function cp(t,n,e){return n.every((i,r)=>kR[e](t[r].parameters,i.parameters))}function IG(t,n){return Uo(t,n)&&t.every((e,i)=>ci(e.parameters,n[i].parameters))}function Uo(t,n){return t.length!==n.length?!1:t.every((e,i)=>e.path===n[i].path)}function MG(t,n){let e=[];return Object.entries(t.children).forEach(([i,r])=>{i===de&&(e=e.concat(n(r,i)))}),Object.entries(t.children).forEach(([i,r])=>{i!==de&&(e=e.concat(n(r,i)))}),e}function dp(t){return t.segments.map(n=>jR(n)).join("/")}function zc(t,n){if(!t.hasChildren())return dp(t);if(n){let e=t.children[de]?zc(t.children[de],!1):"",i=[];return Object.entries(t.children).forEach(([r,o])=>{r!==de&&i.push(`${r}:${zc(o,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}else{let e=MG(t,(i,r)=>r===de?[zc(t.children[de],!1)]:[`${r}:${zc(i,!1)}`]);return Object.keys(t.children).length===1&&t.children[de]!=null?`${dp(t)}/${e[0]}`:`${dp(t)}/(${e.join("//")})`}}function PR(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ap(t){return PR(t).replace(/%3B/gi,";")}function AG(t){return encodeURI(t)}function K_(t){return PR(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function up(t){return decodeURIComponent(t)}function DR(t){return up(t.replace(/\+/g,"%20"))}function jR(t){return`${K_(t.path)}${RG(t.parameters)}`}function RG(t){return Object.entries(t).map(([n,e])=>`;${K_(n)}=${K_(e)}`).join("")}function OG(t){let n=Object.entries(t).map(([e,i])=>Array.isArray(i)?i.map(r=>`${ap(e)}=${ap(r)}`).join("&"):`${ap(e)}=${ap(i)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}function H_(t){let n=t.match(kG);return n?n[0]:""}function FG(t){let n=t.match(NG);return n?n[0]:""}function PG(t){let n=t.match(LG);return n?n[0]:""}function VG(t){let n=t.match(jG);return n?n[0]:""}function VR(t){return t.segments.length>0?new Re([],{[de]:t}):t}function BR(t){let n={};for(let[i,r]of Object.entries(t.children)){let o=BR(r);if(i===de&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[i]=o)}let e=new Re(t.segments,n);return BG(e)}function BG(t){if(t.numberOfChildren===1&&t.children[de]){let n=t.children[de];return new Re(t.segments.concat(n.segments),n.children)}return t}function kr(t){return t instanceof Xi}function UG(t,n,e=null,i=null){let r=UR(t);return HR(r,n,e,i)}function UR(t){let n;function e(o){let s={};for(let l of o.children){let c=e(l);s[l.outlet]=c}let a=new Re(o.url,s);return o===t&&(n=a),a}let i=e(t.root),r=VR(i);return n??r}function HR(t,n,e,i){let r=t;for(;r.parent;)r=r.parent;if(n.length===0)return z_(r,r,r,e,i);let o=HG(n);if(o.toRoot())return z_(r,r,new Re([],{}),e,i);let s=zG(o,r,t),a=s.processChildren?Gc(s.segmentGroup,s.index,o.commands):$R(s.segmentGroup,s.index,o.commands);return z_(r,s.segmentGroup,a,e,i)}function hp(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function qc(t){return typeof t=="object"&&t!=null&&t.outlets}function z_(t,n,e,i,r){let o={};i&&Object.entries(i).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`});let s;t===n?s=e:s=zR(t,n,e);let a=VR(BR(s));return new Xi(a,o,r)}function zR(t,n,e){let i={};return Object.entries(t.children).forEach(([r,o])=>{o===n?i[r]=e:i[r]=zR(o,n,e)}),new Re(t.segments,i)}function HG(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new pp(!0,0,t);let n=0,e=!1,i=t.reduce((r,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return typeof o!="string"?[...r,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?e=!0:a===".."?n++:a!=""&&r.push(a))}),r):[...r,o]},[]);return new pp(e,n,i)}function zG(t,n,e){if(t.isAbsolute)return new Sa(n,!0,0);if(!e)return new Sa(n,!1,NaN);if(e.parent===null)return new Sa(e,!0,0);let i=hp(t.commands[0])?0:1,r=e.segments.length-1+i;return $G(e,r,t.numberOfDoubleDots)}function $G(t,n,e){let i=t,r=n,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new w(4005,!1);r=i.segments.length}return new Sa(i,!1,r-o)}function GG(t){return qc(t[0])?t[0].outlets:{[de]:t}}function $R(t,n,e){if(t??=new Re([],{}),t.segments.length===0&&t.hasChildren())return Gc(t,n,e);let i=WG(t,n,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){let o=new Re(t.segments.slice(0,i.pathIndex),{});return o.children[de]=new Re(t.segments.slice(i.pathIndex),t.children),Gc(o,0,r)}else return i.match&&r.length===0?new Re(t.segments,{}):i.match&&!t.hasChildren()?Q_(t,n,e):i.match?Gc(t,0,r):Q_(t,n,e)}function Gc(t,n,e){if(e.length===0)return new Re(t.segments,{});{let i=GG(e),r={};if(Object.keys(i).some(o=>o!==de)&&t.children[de]&&t.numberOfChildren===1&&t.children[de].segments.length===0){let o=Gc(t.children[de],n,e);return new Re(t.segments,o.children)}return Object.entries(i).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(r[o]=$R(t.children[o],n,s))}),Object.entries(t.children).forEach(([o,s])=>{i[o]===void 0&&(r[o]=s)}),new Re(t.segments,r)}}function WG(t,n,e){let i=0,r=n,o={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(i>=e.length)return o;let s=t.segments[r],a=e[i];if(qc(a))break;let l=`${a}`,c=i<e.length-1?e[i+1]:null;if(r>0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!IR(l,c,s))return o;i+=2}else{if(!IR(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}function Q_(t,n,e){let i=t.segments.slice(0,n),r=0;for(;r<e.length;){let o=e[r];if(qc(o)){let l=qG(o.outlets);return new Re(i,l)}if(r===0&&hp(e[0])){let l=t.segments[n];i.push(new Bo(l.path,SR(e[0]))),r++;continue}let s=qc(o)?o.outlets[de]:`${o}`,a=r<e.length-1?e[r+1]:null;s&&a&&hp(a)?(i.push(new Bo(s,SR(a))),r+=2):(i.push(new Bo(s,{})),r++)}return new Re(i,{})}function qG(t){let n={};return Object.entries(t).forEach(([e,i])=>{typeof i=="string"&&(i=[i]),i!==null&&(n[e]=Q_(new Re([],{}),0,i))}),n}function SR(t){let n={};return Object.entries(t).forEach(([e,i])=>n[e]=`${i}`),n}function IR(t,n,e){return t==e.path&&ci(n,e.parameters)}function KG(t,n){return t.providers&&!t._injector&&(t._injector=Al(t.providers,n,`Route: ${t.path}`)),t._injector??n}function Vn(t){return t.outlet||de}function YG(t,n){let e=t.filter(i=>Vn(i)===n);return e.push(...t.filter(i=>Vn(i)!==n)),e}function id(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){let e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}function lC(t,n){if(t===n.value)return n;for(let e of n.children){let i=lC(t,e);if(i)return i}return null}function cC(t,n){if(t===n.value)return[n];for(let e of n.children){let i=cC(t,e);if(i.length)return i.unshift(n),i}return[]}function Da(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}function GR(t){let n=QG(t),e=new nt([new Bo("",{})]),i=new nt({}),r=new nt({}),o=new nt({}),s=new nt(""),a=new Nr(e,i,o,s,r,de,t,n.root);return a.snapshot=n.root,new yp(new hn(a,[]),n)}function QG(t){let n={},e={},i={},r="",o=new Ia([],n,i,r,e,de,t,null,{});return new bp("",new hn(o,[]))}function vp(t,n,e="emptyOnly"){let i,{routeConfig:r}=t;return n!==null&&(e==="always"||r?.path===""||!n.component&&!n.routeConfig?.loadComponent)?i={params:_(_({},n.params),t.params),data:_(_({},n.data),t.data),resolve:_(_(_(_({},t.data),n.data),r?.data),t._resolvedData)}:i={params:_({},t.params),data:_({},t.data),resolve:_(_({},t.data),t._resolvedData??{})},r&&qR(r)&&(i.resolve[nd]=r.title),i}function vC(t,n){n.value._routerState=t,n.children.forEach(e=>vC(t,e))}function WR(t){let n=t.children.length>0?` { ${t.children.map(WR).join(", ")} } `:"";return`${t.value}${n}`}function $_(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,ci(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),ci(n.params,e.params)||t.paramsSubject.next(e.params),wG(n.url,e.url)||t.urlSubject.next(e.url),ci(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function dC(t,n){let e=ci(t.params,n.params)&&IG(t.url,n.url),i=!t.parent!=!n.parent;return e&&!i&&(!t.parent||dC(t.parent,n.parent))}function qR(t){return typeof t.title=="string"||t.title===null}function _C(t){let n=t.children&&t.children.map(_C),e=n?ie(_({},t),{children:n}):_({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==de&&(e.component=YR),e}function XG(t,n,e){let i=Xc(t,n._root,e?e._root:void 0);return new yp(i,n)}function Xc(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=n.value;let r=JG(t,n,e);return new hn(i,r)}else{if(t.shouldAttach(n.value)){let o=t.retrieve(n.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Xc(t,a)),s}}let i=e3(n.value),r=n.children.map(o=>Xc(t,o));return new hn(i,r)}}function JG(t,n,e){return n.children.map(i=>{for(let r of e.children)if(t.shouldReuseRoute(i.value,r.value.snapshot))return Xc(t,i,r);return Xc(t,i)})}function e3(t){return new Nr(new nt(t.url),new nt(t.params),new nt(t.queryParams),new nt(t.fragment),new nt(t.data),t.outlet,t.component,t)}function _p(t,n){let{redirectTo:e,navigationBehaviorOptions:i}=kr(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=ZR(!1,pn.Redirect);return r.url=e,r.navigationBehaviorOptions=i,r}function ZR(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[QR]=!0,e.cancellationCode=n,e}function t3(t){return XR(t)&&kr(t.url)}function XR(t){return!!t&&t[QR]}function i3(t,n,e){let i=t._root,r=n?n._root:null;return $c(i,r,e,[i.value])}function r3(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function Na(t,n){let e=Symbol(),i=n.get(t,e);return i===e?typeof t=="function"&&!dE(t)?t:n.get(t):i}function $c(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=Da(n);return t.children.forEach(s=>{o3(s,o[s.value.outlet],e,i.concat([s.value]),r),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Wc(a,e.getContext(s),r)),r}function o3(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=s3(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Cp(i)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?$c(t,n,a?a.children:null,i,r):$c(t,n,e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Ma(a.outlet.component,s))}else s&&Wc(n,a,r),r.canActivateChecks.push(new Cp(i)),o.component?$c(t,null,a?a.children:null,i,r):$c(t,null,e,i,r);return r}function s3(t,n,e){if(typeof e=="function")return e(t,n);switch(e){case"pathParamsChange":return!Uo(t.url,n.url);case"pathParamsOrQueryParamsChange":return!Uo(t.url,n.url)||!ci(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!dC(t,n)||!ci(t.queryParams,n.queryParams);case"paramsChange":default:return!dC(t,n)}}function Wc(t,n,e){let i=Da(t),r=t.value;Object.entries(i).forEach(([o,s])=>{r.component?n?Wc(s,n.children.getContext(o),e):Wc(s,null,e):Wc(s,n,e)}),r.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new Ma(n.outlet.component,r)):e.canDeactivateChecks.push(new Ma(null,r)):e.canDeactivateChecks.push(new Ma(null,r))}function od(t){return typeof t=="function"}function a3(t){return typeof t=="boolean"}function l3(t){return t&&od(t.canLoad)}function c3(t){return t&&od(t.canActivate)}function d3(t){return t&&od(t.canActivateChild)}function u3(t){return t&&od(t.canDeactivate)}function f3(t){return t&&od(t.canMatch)}function JR(t){return t instanceof hi||t?.name==="EmptyError"}function Ra(){return We(t=>Qr(t.map(n=>n.pipe(Pe(1),Nt(lp)))).pipe(j(n=>{for(let e of n)if(e!==!0){if(e===lp)return lp;if(e===!1||h3(e))return e}return!0}),me(n=>n!==lp),Pe(1)))}function h3(t){return kr(t)||t instanceof Jc}function p3(t,n){return He(e=>{let{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?k(ie(_({},e),{guardsResult:!0})):m3(s,i,r,t).pipe(He(a=>a&&a3(a)?g3(i,o,t,n):k(a)),j(a=>ie(_({},e),{guardsResult:a})))})}function m3(t,n,e,i){return Te(t).pipe(He(r=>C3(r.component,r.route,e,n,i)),mi(r=>r!==!0,!0))}function g3(t,n,e,i){return Te(n).pipe(yn(r=>Tn(v3(r.route.parent,i),y3(r.route,i),_3(t,r.path,e),b3(t,r.route,e))),mi(r=>r!==!0,!0))}function y3(t,n){return t!==null&&n&&n(new oC(t)),k(!0)}function v3(t,n){return t!==null&&n&&n(new iC(t)),k(!0)}function b3(t,n,e){let i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||i.length===0)return k(!0);let r=i.map(o=>on(()=>{let s=id(n)??e,a=Na(o,s),l=c3(a)?a.canActivate(n,t):Kt(s,()=>a(n,t));return Fr(l).pipe(mi())}));return k(r).pipe(Ra())}function _3(t,n,e){let i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>r3(s)).filter(s=>s!==null).map(s=>on(()=>{let a=s.guards.map(l=>{let c=id(s.node)??e,d=Na(l,c),h=d3(d)?d.canActivateChild(i,t):Kt(c,()=>d(i,t));return Fr(h).pipe(mi())});return k(a).pipe(Ra())}));return k(o).pipe(Ra())}function C3(t,n,e,i,r){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return k(!0);let s=o.map(a=>{let l=id(n)??r,c=Na(a,l),d=u3(c)?c.canDeactivate(t,n,e,i):Kt(l,()=>c(t,n,e,i));return Fr(d).pipe(mi())});return k(s).pipe(Ra())}function x3(t,n,e,i){let r=n.canLoad;if(r===void 0||r.length===0)return k(!0);let o=r.map(s=>{let a=Na(s,t),l=l3(a)?a.canLoad(n,e):Kt(t,()=>a(n,e));return Fr(l)});return k(o).pipe(Ra(),eO(i))}function eO(t){return Em(Ne(n=>{if(typeof n!="boolean")throw _p(t,n)}),j(n=>n===!0))}function w3(t,n,e,i){let r=n.canMatch;if(!r||r.length===0)return k(!0);let o=r.map(s=>{let a=Na(s,t),l=f3(a)?a.canMatch(n,e):Kt(t,()=>a(n,e));return Fr(l)});return k(o).pipe(Ra(),eO(i))}function Ea(t){return or(new ed(t))}function E3(t){return or(new w(4e3,!1))}function D3(t){return or(ZR(!1,pn.GuardRejected))}function S3(t,n,e,i,r){let o=tO(t,n,e);return o.matched?(i=KG(n,i),w3(i,n,e,r).pipe(j(s=>s===!0?o:_({},pC)))):k(o)}function tO(t,n,e){if(n.path==="**")return I3(e);if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?_({},pC):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let r=(n.matcher||xG)(e,t,n);if(!r)return _({},pC);let o={};Object.entries(r.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=r.consumed.length>0?_(_({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function I3(t){return{matched:!0,parameters:t.length>0?OR(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function MR(t,n,e,i){return e.length>0&&A3(t,e,i)?{segmentGroup:new Re(n,T3(i,new Re(e,t.children))),slicedSegments:[]}:e.length===0&&R3(t,e,i)?{segmentGroup:new Re(t.segments,M3(t,e,i,t.children)),slicedSegments:e}:{segmentGroup:new Re(t.segments,t.children),slicedSegments:e}}function M3(t,n,e,i){let r={};for(let o of e)if(xp(t,n,o)&&!i[Vn(o)]){let s=new Re([],{});r[Vn(o)]=s}return _(_({},i),r)}function T3(t,n){let e={};e[de]=n;for(let i of t)if(i.path===""&&Vn(i)!==de){let r=new Re([],{});e[Vn(i)]=r}return e}function A3(t,n,e){return e.some(i=>xp(t,n,i)&&Vn(i)!==de)}function R3(t,n,e){return e.some(i=>xp(t,n,i))}function xp(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function O3(t,n,e){return n.length===0&&!t.children[e]}function k3(t,n,e,i,r,o,s="emptyOnly"){return new gC(t,n,e,i,r,s,o).recognize()}function F3(t){t.sort((n,e)=>n.value.outlet===de?-1:e.value.outlet===de?1:n.value.outlet.localeCompare(e.value.outlet))}function L3(t){let n=t.value.routeConfig;return n&&n.path===""}function nO(t){let n=[],e=new Set;for(let i of t){if(!L3(i)){n.push(i);continue}let r=n.find(o=>i.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...i.children),e.add(r)):n.push(i)}for(let i of e){let r=nO(i.children);n.push(new hn(i.value,r))}return n.filter(i=>!e.has(i))}function TR(t){return t.data||{}}function AR(t){return t.resolve||{}}function P3(t,n,e,i,r,o){return He(s=>k3(t,n,e,i,s.extractedUrl,r,o).pipe(j(({state:a,tree:l})=>ie(_({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function j3(t,n){return He(e=>{let{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return k(e);let o=new Set(r.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let c of iO(l))s.add(c);let a=0;return Te(s).pipe(yn(l=>o.has(l)?V3(l,i,t,n):(l.data=vp(l,l.parent,t).resolve,k(void 0))),Ne(()=>a++),us(1),He(l=>a===s.size?k(e):wt))})}function iO(t){let n=t.children.map(e=>iO(e)).flat();return[t,...n]}function V3(t,n,e,i){let r=t.routeConfig,o=t._resolve;return r?.title!==void 0&&!qR(r)&&(o[nd]=r.title),B3(o,t,n,i).pipe(j(s=>(t._resolvedData=s,t.data=vp(t,t.parent,e).resolve,null)))}function B3(t,n,e,i){let r=q_(t);if(r.length===0)return k({});let o={};return Te(r).pipe(He(s=>U3(t[s],n,e,i).pipe(mi(),Ne(a=>{if(a instanceof Jc)throw _p(new Ho,a);o[s]=a}))),us(1),j(()=>o),zt(s=>JR(s)?wt:or(s)))}function U3(t,n,e,i){let r=id(n)??i,o=Na(t,r),s=o.resolve?o.resolve(n,e):Kt(r,()=>o(n,e));return Fr(s)}function G_(t){return We(n=>{let e=t(n);return e?Te(e).pipe(j(()=>n)):k(n)})}function z3(t,n,e,i){return Fr(t.loadChildren()).pipe(j(oO),He(r=>r instanceof Ev||Array.isArray(r)?k(r):Te(n.compileModuleAsync(r))),j(r=>{i&&i(t);let o,s,a=!1;return Array.isArray(r)?(s=r,a=!0):(o=r.create(e).injector,s=o.get(sd,[],{optional:!0,self:!0}).flat()),{routes:s.map(_C),injector:o}}))}function $3(t){return t&&typeof t=="object"&&"default"in t}function oO(t){return $3(t)?t.default:t}function sO(t,n,e){let i=t.get(wC),r=t.get(H);return t.get(L).runOutsideAngular(()=>{if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=r.startViewTransition(()=>(o(),W3(t))),{onViewTransitionCreated:l}=i;return l&&Kt(t,()=>l({transition:a,from:n,to:e})),s})}function W3(t){return new Promise(n=>{dn({read:()=>setTimeout(n)},{injector:t})})}function q3(t){return t!==fp}function DC(t,n){t.events.pipe(me(e=>e instanceof Bn||e instanceof Zi||e instanceof Yc||e instanceof Ji),j(e=>e instanceof Bn||e instanceof Ji?0:(e instanceof Zi?e.code===pn.Redirect||e.code===pn.SupersededByNewNavigation:!1)?2:1),me(e=>e!==2),Pe(1)).subscribe(()=>{n()})}function J3(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new w(4008,!1)}function e8(t){return!(t instanceof Zc)&&!(t instanceof Aa)}var de,nd,W_,EG,kR,Xi,Re,Bo,Oa,Ho,TG,kG,NG,LG,jG,Y_,pp,Sa,fp,yt,Dn,zo,Bn,pn,Kc,Zi,Ji,Yc,mp,Z_,X_,J_,eC,tC,nC,iC,rC,oC,sC,Qc,Zc,Aa,aC,ka,gp,hn,yp,Nr,Ia,bp,ZG,KR,uC,rd,bC,YR,Jc,QR,n3,fC,Cp,Ma,lp,ed,td,hC,pC,mC,N3,gC,rO,H3,Fa,sd,wp,CC,G3,xC,wC,EC,Ep,K3,yC,Y3,aO,Q3,Z3,X3,Lr,lO=f(()=>{"use strict";pe();b();b();Se();Qe();Yl();de="primary",nd=Symbol("RouteTitle"),W_=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};EG={exact:NR,subset:FR},kR={exact:DG,subset:SG,ignored:()=>!0};Xi=class{root;queryParams;fragment;_queryParamMap;constructor(n=new Re([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap??=Ta(this.queryParams),this._queryParamMap}toString(){return TG.serialize(this)}},Re=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return dp(this)}},Bo=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=Ta(this.parameters),this._parameterMap}toString(){return jR(this)}};Oa=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:()=>new Ho,providedIn:"root"})}return t})(),Ho=class{parse(n){let e=new Y_(n);return new Xi(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${zc(n.root,!0)}`,i=OG(n.queryParams),r=typeof n.fragment=="string"?`#${AG(n.fragment)}`:"";return`${e}${i}${r}`}},TG=new Ho;kG=/^[^\/()?;#]+/;NG=/^[^\/()?;=#]+/;LG=/^[^=?&#]+/;jG=/^[^&#]+/;Y_=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Re([],{}):new Re([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[de]=new Re(n,e)),i}parseSegment(){let n=H_(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new w(4009,!1);return this.capture(n),new Bo(up(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=FG(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let r=H_(this.remaining);r&&(i=r,this.capture(i))}n[up(e)]=up(i)}parseQueryParam(n){let e=PG(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let s=VG(this.remaining);s&&(i=s,this.capture(i))}let r=DR(e),o=DR(i);if(n.hasOwnProperty(r)){let s=n[r];Array.isArray(s)||(s=[s],n[r]=s),s.push(o)}else n[r]=o}parseParens(n){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=H_(this.remaining),r=this.remaining[i.length];if(r!=="/"&&r!==")"&&r!==";")throw new w(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=de);let s=this.parseChildren();e[o]=Object.keys(s).length===1?s[de]:new Re([],s),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new w(4011,!1)}};pp=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&hp(i[0]))throw new w(4003,!1);let r=i.find(qc);if(r&&r!==OR(i))throw new w(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};Sa=class{segmentGroup;processChildren;index;constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}};fp="imperative",yt=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}(yt||{}),Dn=class{id;url;constructor(n,e){this.id=n,this.url=e}},zo=class extends Dn{type=yt.NavigationStart;navigationTrigger;restoredState;constructor(n,e,i="imperative",r=null){super(n,e),this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Bn=class extends Dn{urlAfterRedirects;type=yt.NavigationEnd;constructor(n,e,i){super(n,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},pn=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(pn||{}),Kc=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Kc||{}),Zi=class extends Dn{reason;code;type=yt.NavigationCancel;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Ji=class extends Dn{reason;code;type=yt.NavigationSkipped;constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r}},Yc=class extends Dn{error;target;type=yt.NavigationError;constructor(n,e,i,r){super(n,e),this.error=i,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},mp=class extends Dn{urlAfterRedirects;state;type=yt.RoutesRecognized;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Z_=class extends Dn{urlAfterRedirects;state;type=yt.GuardsCheckStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},X_=class extends Dn{urlAfterRedirects;state;shouldActivate;type=yt.GuardsCheckEnd;constructor(n,e,i,r,o){super(n,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},J_=class extends Dn{urlAfterRedirects;state;type=yt.ResolveStart;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},eC=class extends Dn{urlAfterRedirects;state;type=yt.ResolveEnd;constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},tC=class{route;type=yt.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},nC=class{route;type=yt.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},iC=class{snapshot;type=yt.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},rC=class{snapshot;type=yt.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},oC=class{snapshot;type=yt.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},sC=class{snapshot;type=yt.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Qc=class{routerEvent;position;anchor;type=yt.Scroll;constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},Zc=class{},Aa=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};aC=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return id(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new ka(this.rootInjector)}},ka=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,i){let r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new aC(this.rootInjector),this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(i){return new(i||t)(D(et))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),gp=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=lC(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){let e=lC(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=cC(n,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return cC(n,this._root).map(e=>e.value)}};hn=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};yp=class extends gp{snapshot;constructor(n,e){super(n),this.snapshot=e,vC(this,n)}toString(){return this.snapshot.toString()}};Nr=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,i,r,o,s,a,l){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(j(c=>c[nd]))??k(void 0),this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(j(n=>Ta(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(j(n=>Ta(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};Ia=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[nd]}constructor(n,e,i,r,o,s,a,l,c){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,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??=Ta(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ta(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(i=>i.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},bp=class extends gp{url;constructor(n,e){super(e),this.url=n,vC(this,e)}toString(){return WR(this._root)}};ZG=new C(""),KR=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=de;activateEvents=new z;deactivateEvents=new z;attachEvents=new z;detachEvents=new z;routerOutletData=hD(void 0);parentContexts=u(ka);location=u(Mt);changeDetector=u(at);inputBinder=u(rd,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new w(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new w(4013,!1);this._activatedRoute=e;let r=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new uC(e,a,r.injector,this.routerOutletData);this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=P({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Ve]})}return t})(),uC=class{route;childContexts;parent;outletData;constructor(n,e,i,r){this.route=n,this.childContexts=e,this.parent=i,this.outletData=r}get(n,e){return n===Nr?this.route:n===ka?this.childContexts:n===ZG?this.outletData:this.parent.get(n,e)}},rd=new C(""),bC=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:i}=e,r=Qr([i.queryParams,i.params,i.data]).pipe(We(([o,s,a],l)=>(a=_(_(_({},o),s),a),l===0?k(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(e);return}let s=hI(i.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(e,r)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),YR=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=U({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(i,r){i&1&&q(0,"router-outlet")},dependencies:[KR],encapsulation:2})}return t})();Jc=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},QR="ngNavigationCancelingError";n3=(t,n,e,i)=>j(r=>(new fC(n,r.targetRouterState,r.currentRouterState,e,i).activate(t),r)),fC=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,i,r,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(n){let e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),$_(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){let r=Da(e);n.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(n,e,i){let r=n.value,o=e?e.value:null;if(r===o)if(r.component){let s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=Da(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);if(i&&i.outlet){let s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=Da(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,e,i){let r=Da(e);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new sC(o.value.snapshot))}),n.children.length&&this.forwardEvent(new rC(n.value.snapshot))}activateRoutes(n,e,i){let r=n.value,o=e?e.value:null;if($_(r),r===o)if(r.component){let s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,i);else if(r.component){let s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),$_(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=r,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,i)}},Cp=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Ma=class{component;route;constructor(n,e){this.component=n,this.route=e}};lp=Symbol("INITIAL_VALUE");ed=class{segmentGroup;constructor(n){this.segmentGroup=n||null}},td=class extends Error{urlTree;constructor(n){super(),this.urlTree=n}};hC=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),r.numberOfChildren===0)return k(i);if(r.numberOfChildren>1||!r.children[de])return E3(`${n.redirectTo}`);r=r.children[de]}}applyRedirectCommands(n,e,i,r,o){if(typeof e!="string"){let a=e,{queryParams:l,fragment:c,routeConfig:d,url:h,outlet:m,params:p,data:g,title:y}=r,I=Kt(o,()=>a({params:p,data:g,queryParams:l,fragment:c,routeConfig:d,url:h,outlet:m,title:y}));if(I instanceof Xi)throw new td(I);e=I}let s=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i);if(e[0]==="/")throw new td(s);return s}applyRedirectCreateUrlTree(n,e,i,r){let o=this.createSegmentGroup(n,e.root,i,r);return new Xi(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let i={};return Object.entries(n).forEach(([r,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);i[r]=e[a]}else i[r]=o}),i}createSegmentGroup(n,e,i,r){let o=this.createSegments(n,e.segments,i,r),s={};return Object.entries(e.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,i,r)}),new Re(o,s)}createSegments(n,e,i,r){return e.map(o=>o.path[0]===":"?this.findPosParam(n,o,r):this.findOrReturn(o,i))}findPosParam(n,e,i){let r=i[e.path.substring(1)];if(!r)throw new w(4001,!1);return r}findOrReturn(n,e){let i=0;for(let r of e){if(r.path===n.path)return e.splice(i),r;i++}return n}},pC={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};mC=class{};N3=31,gC=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,i,r,o,s,a){this.injector=n,this.configLoader=e,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new hC(this.urlSerializer,this.urlTree)}noMatchError(n){return new w(4002,`'${n.segmentGroup}'`)}recognize(){let n=MR(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(j(({children:e,rootSnapshot:i})=>{let r=new hn(i,e),o=new bp("",r),s=UG(i,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(n){let e=new Ia([],Object.freeze({}),Object.freeze(_({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),de,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,de,e).pipe(j(i=>({children:i,rootSnapshot:e})),zt(i=>{if(i instanceof td)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof ed?this.noMatchError(i):i}))}processSegmentGroup(n,e,i,r,o){return i.segments.length===0&&i.hasChildren()?this.processChildren(n,e,i,o):this.processSegment(n,e,i,i.segments,r,!0,o).pipe(j(s=>s instanceof hn?[s]:[]))}processChildren(n,e,i,r){let o=[];for(let s of Object.keys(i.children))s==="primary"?o.unshift(s):o.push(s);return Te(o).pipe(yn(s=>{let a=i.children[s],l=YG(e,s);return this.processSegmentGroup(n,l,a,s,r)}),eg((s,a)=>(s.push(...a),s)),ar(null),Jm(),He(s=>{if(s===null)return Ea(i);let a=nO(s);return F3(a),k(a)}))}processSegment(n,e,i,r,o,s,a){return Te(e).pipe(yn(l=>this.processSegmentAgainstRoute(l._injector??n,e,l,i,r,o,s,a).pipe(zt(c=>{if(c instanceof ed)return k(null);throw c}))),mi(l=>!!l),zt(l=>{if(JR(l))return O3(i,r,o)?k(new mC):Ea(i);throw l}))}processSegmentAgainstRoute(n,e,i,r,o,s,a,l){return Vn(i)!==s&&(s===de||!xp(r,o,i))?Ea(r):i.redirectTo===void 0?this.matchSegmentAgainstRoute(n,r,i,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,r,e,i,o,s,l):Ea(r)}expandSegmentAgainstRouteUsingRedirect(n,e,i,r,o,s,a){let{matched:l,parameters:c,consumedSegments:d,positionalParamSegments:h,remainingSegments:m}=tO(e,r,o);if(!l)return Ea(e);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>N3&&(this.allowRedirects=!1));let p=new Ia(o,c,Object.freeze(_({},this.urlTree.queryParams)),this.urlTree.fragment,TR(r),Vn(r),r.component??r._loadedComponent??null,r,AR(r)),g=vp(p,a,this.paramsInheritanceStrategy);p.params=Object.freeze(g.params),p.data=Object.freeze(g.data);let y=this.applyRedirects.applyRedirectCommands(d,r.redirectTo,h,p,n);return this.applyRedirects.lineralizeSegments(r,y).pipe(He(I=>this.processSegment(n,i,e,I.concat(m),s,!1,a)))}matchSegmentAgainstRoute(n,e,i,r,o,s){let a=S3(e,i,r,n,this.urlSerializer);return i.path==="**"&&(e.children={}),a.pipe(We(l=>l.matched?(n=i._injector??n,this.getChildConfig(n,i,r).pipe(We(({routes:c})=>{let d=i._loadedInjector??n,{parameters:h,consumedSegments:m,remainingSegments:p}=l,g=new Ia(m,h,Object.freeze(_({},this.urlTree.queryParams)),this.urlTree.fragment,TR(i),Vn(i),i.component??i._loadedComponent??null,i,AR(i)),y=vp(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(y.params),g.data=Object.freeze(y.data);let{segmentGroup:I,slicedSegments:R}=MR(e,m,p,c);if(R.length===0&&I.hasChildren())return this.processChildren(d,c,I,g).pipe(j(ue=>new hn(g,ue)));if(c.length===0&&R.length===0)return k(new hn(g,[]));let ne=Vn(i)===o;return this.processSegment(d,c,I,R,ne?de:o,!0,g).pipe(j(ue=>new hn(g,ue instanceof hn?[ue]:[])))}))):Ea(e)))}getChildConfig(n,e,i){return e.children?k({routes:e.children,injector:n}):e.loadChildren?e._loadedRoutes!==void 0?k({routes:e._loadedRoutes,injector:e._loadedInjector}):x3(n,e,i,this.urlSerializer).pipe(He(r=>r?this.configLoader.loadChildren(n,e).pipe(Ne(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):D3(e))):k({routes:[],injector:n})}};rO=(()=>{class t{buildTitle(e){let i,r=e.root;for(;r!==void 0;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===de);return i}getResolvedTitleForRoute(e){return e.data[nd]}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:()=>u(H3),providedIn:"root"})}return t})(),H3=(()=>{class t extends rO{title;constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}static \u0275fac=function(i){return new(i||t)(D(KI))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Fa=new C("",{providedIn:"root",factory:()=>({})}),sd=new C(""),wp=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=u(uI);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return k(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let i=Fr(e.loadComponent()).pipe(j(oO),Ne(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),$t(()=>{this.componentLoaders.delete(e)})),r=new is(i,()=>new T).pipe(ns());return this.componentLoaders.set(e,r),r}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return k({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let o=z3(i,this.compiler,e,this.onLoadEndListener).pipe($t(()=>{this.childrenLoaders.delete(i)})),s=new is(o,()=>new T).pipe(ns());return this.childrenLoaders.set(i,s),s}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();CC=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:()=>u(G3),providedIn:"root"})}return t})(),G3=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),xC=new C(""),wC=new C("");EC=new C(""),Ep=(()=>{class t{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new T;transitionAbortSubject=new T;configLoader=u(wp);environmentInjector=u(et);destroyRef=u(ho);urlSerializer=u(Oa);rootContexts=u(ka);location=u(ei);inputBindingEnabled=u(rd,{optional:!0})!==null;titleStrategy=u(rO);options=u(Fa,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=u(CC);createViewTransition=u(xC,{optional:!0});navigationErrorHandler=u(EC,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>k(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=r=>this.events.next(new tC(r)),i=r=>this.events.next(new nC(r));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;this.transitions?.next(ie(_({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:i}))}setupNavigations(e){return this.transitions=new nt(null),this.transitions.pipe(me(i=>i!==null),We(i=>{let r=!1,o=!1;return k(i).pipe(We(s=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",pn.SupersededByNewNavigation),wt;this.currentTransition=i,this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,targetBrowserUrl:typeof s.extras.browserUrl=="string"?this.urlSerializer.parse(s.extras.browserUrl):s.extras.browserUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?ie(_({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let a=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=s.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!a&&l!=="reload"){let c="";return this.events.next(new Ji(s.id,this.urlSerializer.serialize(s.rawUrl),c,Kc.IgnoredSameUrlNavigation)),s.resolve(!1),wt}if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return k(s).pipe(We(c=>(this.events.next(new zo(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?wt:Promise.resolve(c))),P3(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),Ne(c=>{i.targetSnapshot=c.targetSnapshot,i.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation=ie(_({},this.currentNavigation),{finalUrl:c.urlAfterRedirects});let d=new mp(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}));if(a&&this.urlHandlingStrategy.shouldProcessUrl(s.currentRawUrl)){let{id:c,extractedUrl:d,source:h,restoredState:m,extras:p}=s,g=new zo(c,this.urlSerializer.serialize(d),h,m);this.events.next(g);let y=GR(this.rootComponentType).snapshot;return this.currentTransition=i=ie(_({},s),{targetSnapshot:y,urlAfterRedirects:d,extras:ie(_({},p),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=d,k(i)}else{let c="";return this.events.next(new Ji(s.id,this.urlSerializer.serialize(s.extractedUrl),c,Kc.IgnoredByUrlHandlingStrategy)),s.resolve(!1),wt}}),Ne(s=>{let a=new Z_(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),j(s=>(this.currentTransition=i=ie(_({},s),{guards:i3(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),i)),p3(this.environmentInjector,s=>this.events.next(s)),Ne(s=>{if(i.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw _p(this.urlSerializer,s.guardsResult);let a=new X_(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),me(s=>s.guardsResult?!0:(this.cancelNavigationTransition(s,"",pn.GuardRejected),!1)),G_(s=>{if(s.guards.canActivateChecks.length!==0)return k(s).pipe(Ne(a=>{let l=new J_(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),We(a=>{let l=!1;return k(a).pipe(j3(this.paramsInheritanceStrategy,this.environmentInjector),Ne({next:()=>l=!0,complete:()=>{l||this.cancelNavigationTransition(a,"",pn.NoDataFromResolver)}}))}),Ne(a=>{let l=new eC(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}))}),G_(s=>{let a=l=>{let c=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(l.routeConfig).pipe(Ne(d=>{l.component=d}),j(()=>{})));for(let d of l.children)c.push(...a(d));return c};return Qr(a(s.targetSnapshot.root)).pipe(ar(null),Pe(1))}),G_(()=>this.afterPreactivation()),We(()=>{let{currentSnapshot:s,targetSnapshot:a}=i,l=this.createViewTransition?.(this.environmentInjector,s.root,a.root);return l?Te(l).pipe(j(()=>i)):k(i)}),j(s=>{let a=XG(e.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return this.currentTransition=i=ie(_({},s),{targetRouterState:a}),this.currentNavigation.targetRouterState=a,i}),Ne(()=>{this.events.next(new Zc)}),n3(this.rootContexts,e.routeReuseStrategy,s=>this.events.next(s),this.inputBindingEnabled),Pe(1),Ne({next:s=>{r=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Bn(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{r=!0}}),ve(this.transitionAbortSubject.pipe(Ne(s=>{throw s}))),$t(()=>{!r&&!o&&this.cancelNavigationTransition(i,"",pn.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation=null,this.currentTransition=null)}),zt(s=>{if(this.destroyed)return i.resolve(!1),wt;if(o=!0,XR(s))this.events.next(new Zi(i.id,this.urlSerializer.serialize(i.extractedUrl),s.message,s.cancellationCode)),t3(s)?this.events.next(new Aa(s.url,s.navigationBehaviorOptions)):i.resolve(!1);else{let a=new Yc(i.id,this.urlSerializer.serialize(i.extractedUrl),s,i.targetSnapshot??void 0);try{let l=Kt(this.environmentInjector,()=>this.navigationErrorHandler?.(a));if(l instanceof Jc){let{message:c,cancellationCode:d}=_p(this.urlSerializer,l);this.events.next(new Zi(i.id,this.urlSerializer.serialize(i.extractedUrl),c,d)),this.events.next(new Aa(l.redirectTo,l.navigationBehaviorOptions))}else throw this.events.next(a),s}catch(l){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(l)}}return wt}))}))}cancelNavigationTransition(e,i,r){let o=new Zi(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();K3=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:()=>u(Y3),providedIn:"root"})}return t})(),yC=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}},Y3=(()=>{class t extends yC{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),aO=(()=>{class t{urlSerializer=u(Oa);options=u(Fa,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=u(ei);urlHandlingStrategy=u(CC);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Xi;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:i,targetBrowserUrl:r}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,i):i,s=r??o;return s instanceof Xi?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:e,finalUrl:i,initialUrl:r}){i&&e?(this.currentUrlTree=i,this.rawUrlTree=this.urlHandlingStrategy.merge(i,r),this.routerState=e):this.rawUrlTree=r}routerState=GR(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:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:()=>u(Q3),providedIn:"root"})}return t})(),Q3=(()=>{class t extends aO{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&setTimeout(()=>{e(i.url,i.state,"popstate")})})}handleRouterEvent(e,i){e instanceof zo?this.updateStateMemento():e instanceof Ji?this.commitTransition(i):e instanceof mp?this.urlUpdateStrategy==="eager"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof Zc?(this.commitTransition(i),this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof Zi&&(e.code===pn.GuardRejected||e.code===pn.NoDataFromResolver)?this.restoreHistory(i):e instanceof Yc?this.restoreHistory(i,!0):e instanceof Bn&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:i,id:r}){let{replaceUrl:o,state:s}=i;if(this.location.isCurrentPathEqualTo(e)||o){let a=this.browserPageId,l=_(_({},s),this.generateNgRouterState(r,a));this.location.replaceState(e,"",l)}else{let a=_(_({},s),this.generateNgRouterState(r,this.browserPageId+1));this.location.go(e,"",a)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,o=this.currentPageId-r;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();Z3={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},X3={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Lr=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=u(Sv);stateManager=u(aO);options=u(Fa,{optional:!0})||{};pendingTasks=u(hr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=u(Ep);urlSerializer=u(Oa);location=u(ei);urlHandlingStrategy=u(CC);_events=new T;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=u(K3);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=u(sd,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!u(rd,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new _e;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let r=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(r!==null&&o!==null){if(this.stateManager.handleRouterEvent(i,o),i instanceof Zi&&i.code!==pn.Redirect&&i.code!==pn.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Bn)this.navigated=!0;else if(i instanceof Aa){let s=i.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),l=_({browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||q3(r.source)},s);this.scheduleNavigation(a,fp,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}e8(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortSubject.next(r)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),fp,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i,r)=>{this.navigateToSyncWithBrowser(e,r,i)})}navigateToSyncWithBrowser(e,i,r){let o={replaceUrl:!0},s=r?.navigationId?r:null;if(r){let l=_({},r);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(o.state=l)}let a=this.parseUrl(e);this.scheduleNavigation(a,i,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(_C),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(e,i={}){let{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:s,d=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":d=_(_({},this.currentUrlTree.queryParams),o);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}d!==null&&(d=this.removeEmptyProps(d));let h;try{let m=r?r.snapshot:this.routerState.snapshot.root;h=UR(m)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),h=this.currentUrlTree.root}return HR(h,e,d,c??null)}navigateByUrl(e,i={skipLocationChange:!1}){let r=kr(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,fp,null,i)}navigate(e,i={skipLocationChange:!1}){return J3(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,i){let r;if(i===!0?r=_({},Z3):i===!1?r=_({},X3):r=i,kr(e))return ER(this.currentUrlTree,e,r);let o=this.parseUrl(e);return ER(this.currentUrlTree,o,r)}removeEmptyProps(e){return Object.entries(e).reduce((i,[r,o])=>(o!=null&&(i[r]=o),i),{})}scheduleNavigation(e,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((h,m)=>{a=h,l=m});let d=this.pendingTasks.add();return DC(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(h=>Promise.reject(h))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});function n8(t){return t.routerState.root}function ld(t,n){return{\u0275kind:t,\u0275providers:n}}function i8(){let t=u(he);return n=>{let e=t.get(qt);if(n!==e.components[0])return;let i=t.get(Lr),r=t.get(uO);t.get(IC)===1&&i.initialNavigation(),t.get(pO,null,ce.Optional)?.setUpPreloading(),t.get(dO,null,ce.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}function fO(){let t=[{provide:IC,useValue:0},Iv(()=>{let n=u(he);return n.get(Uv,Promise.resolve()).then(()=>new Promise(i=>{let r=n.get(Lr),o=n.get(uO);DC(r,()=>{i(!0)}),n.get(Ep).afterPreactivation=()=>(i(!0),o.closed?k(void 0):o),r.initialNavigation()}))})];return ld(2,t)}function hO(){let t=[Iv(()=>{u(Lr).setUpLocationChangeListener()}),{provide:IC,useValue:2}];return ld(3,t)}function mO(t){return ld(0,[{provide:pO,useExisting:cO},{provide:ad,useExisting:t}])}function gO(){return ld(8,[bC,{provide:rd,useExisting:bC}])}function yO(t){Jn("NgRouterViewTransitions");let n=[{provide:xC,useValue:sO},{provide:wC,useValue:_({skipNextTransition:!!t?.skipInitialTransition},t)}];return ld(9,n)}function r8(){return{provide:dO,useFactory:()=>{let t=u(DI),n=u(L),e=u(Fa),i=u(Ep),r=u(Oa);return e.scrollOffset&&t.setOffset(e.scrollOffset),new t8(r,i,t,n,e)}}}function o8(){return{provide:Fn,useClass:$v}}function s8(){return{provide:Fn,useClass:Df}}function a8(t){return[t.initialNavigation==="disabled"?hO().\u0275providers:[],t.initialNavigation==="enabledBlocking"?fO().\u0275providers:[]]}function l8(){return[{provide:SC,useFactory:i8},{provide:Rl,multi:!0,useExisting:SC}]}var Dp,ad,cO,dO,t8,uO,IC,pO,vO,MC,SC,bO=f(()=>{"use strict";pe();pe();b();b();lO();Se();Qe();Dp=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new T;constructor(e,i,r,o,s,a){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=s,this.locationStrategy=a;let l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=e.events.subscribe(c=>{c instanceof Bn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(kr(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,i,r,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||i||r||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,l),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let i=this.href===null?null:BD(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(e,i){let r=this.renderer,o=this.el.nativeElement;i!==null?r.setAttribute(o,e,i):r.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:kr(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(i){return new(i||t)(A(Lr),A(Nr),af("tabindex"),A(ut),A(B),A(Fn))};static \u0275dir=P({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,r){i&1&&ee("click",function(s){return r.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),i&2&&we("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Me],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Me],replaceUrl:[2,"replaceUrl","replaceUrl",Me],routerLink:"routerLink"},features:[Ve]})}return t})(),ad=class{},cO=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,i,r,o){this.router=e,this.injector=i,this.preloadingStrategy=r,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(me(e=>e instanceof Bn),yn(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){let r=[];for(let o of i){o.providers&&!o._injector&&(o._injector=Al(o.providers,e,`Route: ${o.path}`));let s=o._injector??e,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&r.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&r.push(this.processRoutes(a,o.children??o._loadedRoutes))}return Te(r).pipe(sr())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;i.loadChildren&&i.canLoad===void 0?r=this.loader.loadChildren(e,i):r=k(null);let o=r.pipe(He(s=>s===null?k(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));if(i.loadComponent&&!i._loadedComponent){let s=this.loader.loadComponent(i);return Te([o,s]).pipe(sr())}else return o})}static \u0275fac=function(i){return new(i||t)(D(Lr),D(et),D(ad),D(wp))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),dO=new C(""),t8=(()=>{class t{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(e,i,r,o,s={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=r,this.zone=o,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof zo?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Bn?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof Ji&&e.code===Kc.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Qc&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Qc(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(i){gf()};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();uO=new C("",{factory:()=>new T}),IC=new C("",{providedIn:"root",factory:()=>1});pO=new C("");vO=[ei,{provide:Oa,useClass:Ho},Lr,ka,{provide:Nr,useFactory:n8,deps:[Lr]},wp,[]],MC=(()=>{class t{constructor(){}static forRoot(e,i){return{ngModule:t,providers:[vO,[],{provide:sd,multi:!0,useValue:e},[],i?.errorHandler?{provide:EC,useValue:i.errorHandler}:[],{provide:Fa,useValue:i||{}},i?.useHash?o8():s8(),r8(),i?.preloadingStrategy?mO(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?a8(i):[],i?.bindToComponentInputs?gO().\u0275providers:[],i?.enableViewTransitions?yO().\u0275providers:[],l8()]}}static forChild(e){return{ngModule:t,providers:[{provide:sd,multi:!0,useValue:e}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({})}return t})();SC=new C("")});var TC=f(()=>{"use strict";bO();});var d8,_O,AC=f(()=>{"use strict";b();b();fn();Sr();mt();d8=["clearButton"],_O=(()=>{class t{constructor(){this.tldClick=new z,this.ariaCode="CLOSE_BUTTON"}clicked(){this.tldClick.emit(null)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=U({type:t,selectors:[["tld-close-button"]],viewQuery:function(i,r){if(i&1&&Be(d8,5),i&2){let o;Ee(o=De())&&(r.clearButton=o.first)}},inputs:{ariaCode:"ariaCode",disabled:"disabled",tooltip:"tooltip"},outputs:{tldClick:"tldClick"},standalone:!1,decls:6,vars:7,consts:[["clearButton",""],["mat-icon-button","",3,"click","matTooltip","disabled"],[1,"material-icons"]],template:function(i,r){if(i&1){let o=ke();E(0,"button",1,0),le(2,"translate"),le(3,"translate"),ee("click",function(){return Ce(o),xe(r.clicked())}),E(4,"span",2),se(5," close "),M()()}i&2&&(S("matTooltip",be(2,3,r.tooltip))("disabled",r.disabled),we("aria-label",be(3,5,"ARIA_LABELS."+r.ariaCode)))},dependencies:[So,Ki,pt],encapsulation:2})}}return t})()});var CO,xO=f(()=>{"use strict";pe();AC();fn();mt();Sr();b();CO=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=F({type:t})}static{this.\u0275inj=N({imports:[Jt,wr,ni,No]})}}return t})()});function h8(t,n){if(t&1&&(q(0,"p",10),le(1,"translate")),t&2){let e=G();S("innerHtml",$s(1,1,e.message.title,e.message.localizationParams),Ti)}}function p8(t,n){if(t&1&&(q(0,"span",12),le(1,"translate")),t&2){let e=G(2);S("innerHtml",$s(1,1,e.message.support,e.message.localizationParams),Ti)}}function m8(t,n){if(t&1&&(E(0,"p",11),q(1,"span",12),le(2,"translate"),re(3,p8,2,4,"span",13),M()),t&2){let e=G();x(),S("innerHtml",$s(2,2,e.message.body,e.message.localizationParams),Ti),x(2),S("ngIf",e.message.support)}}function g8(t,n){if(t&1&&(E(0,"mat-icon"),se(1),M()),t&2){let e=G(2);x(),ft(e.message.callbackButtonIcon)}}function y8(t,n){if(t&1){let e=ke();E(0,"button",14),ee("click",function(){Ce(e);let r=G();return xe(r.message==null?null:r.message.callbackButtonClick())}),re(1,g8,2,1,"mat-icon",15),se(2),le(3,"translate"),M()}if(t&2){let e=G();x(),S("ngIf",e.message.callbackButtonIcon),x(),Je(" ",be(3,2,e.message.callbackButtonText)," ")}}function v8(t,n){if(t&1){let e=ke();E(0,"tld-close-button",16),ee("tldClick",function(){Ce(e);let r=G();return xe(r.closeClick())}),M()}if(t&2){let e=G();Q("no-top-margin",!e.message.title||!e.message.body)}}function b8(t,n){if(t&1){let e=ke();E(0,"button",21),ee("click",function(){Ce(e);let r=G(2);return xe(r.buttonClick())}),se(1),le(2,"translate"),M()}if(t&2){let e=G(2);x(),Je("",be(2,1,e.message.buttonText)," ")}}function _8(t,n){if(t&1){let e=ke();E(0,"a",22),ee("click",function(){Ce(e);let r=G(2);return xe(r.linkClick())}),se(1),le(2,"translate"),M()}if(t&2){let e=G(2);we("href",e.message.linkHref,ov),x(),ft(be(2,2,e.message.linkText))}}function C8(t,n){if(t&1){let e=ke();E(0,"a",23),ee("click",function(){Ce(e);let r=G(2);return xe(r.linkClick())}),se(1),le(2,"translate"),M()}if(t&2){let e=G(2);S("routerLink",oI(4,f8,e.message.routerLink)),x(),ft(be(2,2,e.message.linkText))}}function x8(t,n){if(t&1&&(E(0,"div",17),re(1,b8,3,3,"button",18)(2,_8,3,4,"a",19)(3,C8,3,6,"a",20),M()),t&2){let e=G();x(),S("ngIf",e.message.buttonText),x(),S("ngIf",e.message.linkHref&&e.message.linkText),x(),S("ngIf",e.message.routerLink&&e.message.linkText)}}var f8,wO,Sp=f(()=>{"use strict";b();b();pe();tp();ba();AC();fn();TC();Gi();mt();f8=t=>[t];wO=(()=>{class t{constructor(){this.buttonClicked=new z,this.closeClicked=new z,this.linkClicked=new z,this.iconNames={BASIC:"info",INFO:"info",ERROR:"error",SUCCESS:"check_circle",WARNING:"info"}}ngOnInit(){this.className=this.message.type.toLocaleLowerCase()}buttonClick(){this.buttonClicked.next(null)}closeClick(){this.closeClicked.next(null)}linkClick(){this.linkClicked.next(null)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=U({type:t,selectors:[["lib-tld-notification-message"]],inputs:{message:"message",inline:"inline"},outputs:{buttonClicked:"buttonClicked",closeClicked:"closeClicked",linkClicked:"linkClicked"},standalone:!1,decls:12,vars:13,consts:[["fxLayout","row","fxLayoutAlign","start start","aria-live","polite","fxLayout","row",1,"notification-message-container","tld-default-border",3,"ngClass.lt-md"],[1,"material-icons-outlined","message-icon"],["fxFlex","",1,"items-container"],["fxLayout","row"],["fxFlex","",1,"text-container"],["class","message-title",3,"innerHtml",4,"ngIf"],["class","message-body",4,"ngIf"],["color","accent","mat-stroked-button","","class","callback-button",3,"click",4,"ngIf"],["class","close-button",3,"no-top-margin","tldClick",4,"ngIf"],["fxLayout","row","fxLayoutGap","16px","fxLayoutAlign","start center",4,"ngIf"],[1,"message-title",3,"innerHtml"],[1,"message-body"],[3,"innerHtml"],[3,"innerHtml",4,"ngIf"],["color","accent","mat-stroked-button","",1,"callback-button",3,"click"],[4,"ngIf"],[1,"close-button",3,"tldClick"],["fxLayout","row","fxLayoutGap","16px","fxLayoutAlign","start center"],["class","message-action-button","color","accent","mat-flat-button","",3,"click",4,"ngIf"],["class","message-action-link",3,"click",4,"ngIf"],["class","message-action-link",3,"routerLink","click",4,"ngIf"],["color","accent","mat-flat-button","",1,"message-action-button",3,"click"],[1,"message-action-link",3,"click"],[1,"message-action-link",3,"click","routerLink"]],template:function(i,r){i&1&&(E(0,"div")(1,"div",0)(2,"span",1),se(3),M(),E(4,"div",2)(5,"div",3)(6,"div",4),re(7,h8,2,4,"p",5)(8,m8,4,5,"p",6),M(),re(9,y8,4,4,"button",7)(10,v8,1,2,"tld-close-button",8),M(),re(11,x8,4,3,"div",9),M()()()),i&2&&(vf("notification-message ",r.className,""),x(),Q("inline",r.inline),S("ngClass.lt-md","mobile"),we("id",r.message.id),x(2),Je(" ",r.iconNames[r.message.type]," "),x(4),S("ngIf",r.message.title),x(),S("ngIf",r.message.body),x(),S("ngIf",r.message.callbackButtonText),x(),S("ngIf",!r.message.hideClose&&!r.message.callbackButtonText),x(),S("ngIf",r.message.buttonText||r.message.linkHref||r.message.routerLink))},dependencies:[ki,GA,zA,UA,BA,va,_O,si,Dp,ai,pt],styles:["[_nghost-%COMP%]{display:inline-block;width:100%}.close-button[_ngcontent-%COMP%]{position:absolute;top:.2em!important;right:.2em!important}.no-top-margin[_ngcontent-%COMP%]{top:0}.text-container[_ngcontent-%COMP%]{margin-right:45px}.notification-message[_ngcontent-%COMP%]{position:relative}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--base-100)}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--base-40)}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--info-light)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{color:var(--info-dark)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--info-primary)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{color:var(--info-dark)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--error-light)}.notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--error-dark)}.notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--warning-light)}.notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--warning-dark)}.notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--success-light)}.notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--success-dark)}.notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{border-radius:4px}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]:has(.message-title+.message-body) .message-title[_ngcontent-%COMP%]{font-weight:600}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%]{padding:.6em .4em!important;border-radius:0}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%]{margin-left:.4em!important}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]{margin-top:.2em!important}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%] + .message-body[_ngcontent-%COMP%]{margin-top:0!important}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]:first-child{line-height:1.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%]{margin:0;font-size:16px;line-height:24px}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .message-body[_ngcontent-%COMP%]{margin:0}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline){padding:1em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .items-container[_ngcontent-%COMP%]{margin-left:1em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .message-title[_ngcontent-%COMP%]{font-size:1.25em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .message-body[_ngcontent-%COMP%]{line-height:1.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%]{padding:.75em 1em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%]{margin-left:.75em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]{margin-top:.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%] + .message-body[_ngcontent-%COMP%]{margin-top:.2em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%]{font-size:1em}"]})}}return t})()});var EO,DO=f(()=>{"use strict";pe();np();fn();TC();mt();xO();Sp();Gi();b();EO=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=F({type:t})}static{this.\u0275inj=N({imports:[Jt,_a,CO,wr,ni,MC,Ih]})}}return t})()});var $o,RC=f(()=>{"use strict";$o=function(t){return t.BASIC="BASIC",t.INFO="INFO",t.WARNING="WARNING",t.SUCCESS="SUCCESS",t.ERROR="ERROR",t}($o||{})});var SO=f(()=>{"use strict";RC()});var IO=f(()=>{"use strict"});var MO=f(()=>{"use strict";IO()});var OC=f(()=>{"use strict";DO();Sp();SO();MO()});var kC=f(()=>{"use strict"});var TO=f(()=>{"use strict";OC();kC()});var AO=f(()=>{"use strict"});var RO=f(()=>{"use strict";AO()});var OO=f(()=>{"use strict";kC()});var kO=f(()=>{"use strict";TO();RO();OO()});var NO=f(()=>{"use strict"});var FO=f(()=>{"use strict"});var LO=f(()=>{"use strict"});var PO=f(()=>{"use strict"});var jO=f(()=>{"use strict"});var VO=f(()=>{"use strict"});var BO=f(()=>{"use strict"});var UO=f(()=>{"use strict"});var Go,HO=f(()=>{"use strict";U_();Go=class{static isMobileRes(){return window.innerWidth<pR.SMALL}}});var NC=f(()=>{"use strict"});var zO=f(()=>{"use strict";Pr();NC()});var $O=f(()=>{"use strict";NC()});var FC=f(()=>{"use strict";zO();$O()});var GO=f(()=>{"use strict";FC()});var WO=f(()=>{"use strict"});var qO=f(()=>{"use strict"});var Pr=f(()=>{"use strict";NO();FO();LO();PO();jO();VO();BO();UO();HO();GO();WO();qO()});var KO=f(()=>{"use strict"});var YO=f(()=>{"use strict"});var QO=f(()=>{"use strict"});var ZO=f(()=>{"use strict"});var XO=f(()=>{"use strict"});var JO=f(()=>{"use strict"});var ek=f(()=>{"use strict"});var tk=f(()=>{"use strict"});var nk=f(()=>{"use strict";KO();YO();QO();ZO();XO();JO();ek();tk()});var ik=f(()=>{"use strict"});var rk=f(()=>{"use strict"});var ok=f(()=>{"use strict";rk()});var sk=f(()=>{"use strict";Pr();nk();ik();ok()});var ak=f(()=>{"use strict";sk()});var lk=f(()=>{"use strict";ak()});var LC=f(()=>{"use strict"});var ck=f(()=>{"use strict";LC()});var dk=f(()=>{"use strict";ck();LC()});var PC=f(()=>{"use strict"});var uk=f(()=>{"use strict";PC()});var fk=f(()=>{"use strict";uk();PC()});var jC=f(()=>{"use strict"});var hk=f(()=>{"use strict";jC()});var pk=f(()=>{"use strict";hk();jC()});var mk,VC=f(()=>{"use strict";b();mt();mk=(()=>{class t{constructor(e){this.translate=e,this.languagesLocalizationKey="LANGUAGES",this.translationCache=new Map,this.localeSameRegions={nb:["no"],et:["ee"],sl:["si"],sv:["se"],uk:["ua"],en:["gb","us"]},this.translations={en:{mt:"Maltese"},lv:{mt:"Maltie\u0161u"},lt:{mt:"Maltie\u010Di\u0173"},et:{mt:"Malta"}},this.translate.onLangChange.subscribe(()=>{this.translationCache.clear(),this.lastUiLanguage=this.translate.currentLang}),this.lastUiLanguage=this.translate.currentLang}transform(e,i=!1){if(!e)return"";this.lastUiLanguage!==this.translate.currentLang&&(this.translationCache.clear(),this.lastUiLanguage=this.translate.currentLang);let r=`${e}:${i}`;if(this.translationCache.has(r))return this.translationCache.get(r);let o=this.getLanguageFromLanguageCode(e),a=this.isLanguageCodeSameAsRegion(e)?o:e,l=this.getTranslation(a,i);return this.translationCache.set(r,l),l}getTranslation(e,i){let o=this.translate.instant(this.languagesLocalizationKey)[e.toUpperCase().replace("-","_")]??this.getLanguageTranslationFromLanguageCode(this.translate.currentLang,e);return i&&(o=o.split("(")[0].trim()),o}getLanguageTranslationFromLanguageCode(e,i){let r=new Intl.DisplayNames([e],{type:"language"}),o=new Intl.DisplayNames([e],{type:"region"}),s,a=this.getLanguageFromLanguageCode(i),l=this.getRegionFromLanguageCode(i);try{let c=r.of(a),d=o.of(l);s=`${c} (${d})`}catch{try{s=r.of(i)}catch{return s=this.translations[e]?.[a]??i,s}}return this.capitalizeFirstLetter(s)}isLanguageCodeSameAsRegion(e){let[i,r,o]=e.split("-");return(i===r?.toLowerCase()||this.localeSameRegions[i]?.includes(r?.toLowerCase()))&&!o}getRegionFromLanguageCode(e){let[i,r,o]=e.split("-");return(o?`${r}-${o}`:`${r}`).toUpperCase()}getLanguageFromLanguageCode(e){return e.split("-")[0].toLowerCase()}capitalizeFirstLetter(e){return e.charAt(0).toUpperCase()+e.slice(1)}static{this.\u0275fac=function(i){return new(i||t)(A(Vi,16))}}static{this.\u0275pipe=Bs({name:"languageTranslate",type:t,pure:!1})}}return t})()});var gk=f(()=>{"use strict";VC()});var yk=f(()=>{"use strict";gk();VC()});var vk=f(()=>{"use strict"});var bk=f(()=>{"use strict"});var _k=f(()=>{"use strict"});var Ck=f(()=>{"use strict"});var xk=f(()=>{"use strict";vk();bk();_k();Ck()});var BC=f(()=>{"use strict";xk()});var wk=f(()=>{"use strict";BC()});var Ek=f(()=>{"use strict";wk();BC()});var UC=f(()=>{"use strict"});var Dk=f(()=>{"use strict";UC()});var Sk=f(()=>{"use strict";Dk();UC()});var Ik=f(()=>{"use strict";Pr()});var Mk=f(()=>{"use strict";Ik()});var HC=f(()=>{"use strict";Pr()});var Tk=f(()=>{"use strict";HC()});var Ak=f(()=>{"use strict";Tk();HC()});var Rk=f(()=>{"use strict"});var Ok=f(()=>{"use strict";Rk()});var kk=f(()=>{"use strict";$C()});var Nk=f(()=>{"use strict";Ok();kk()});var Fk=f(()=>{"use strict";Pr()});var Lk=f(()=>{"use strict";Fk()});var Pk=f(()=>{"use strict";Pr()});var jk=f(()=>{"use strict";Pk()});var Vk=f(()=>{"use strict";dk();fk();pk();yk();Ek();Sk();Mk();Ak();Nk();FC();Lk();jk()});var zC,Bk=f(()=>{"use strict";Vk();b();mt();zC=(()=>{class t{constructor(e){this.translateService=e}getLanguageCodeTranslation(e,i=!1){return new mk(this.translateService).transform(e,i)}removeRegionFromLanguageCode(e){return e.split("-")[0]}static{this.\u0275fac=function(i){return new(i||t)(D(Vi))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var $C=f(()=>{"use strict";Bk()});var GC=f(()=>{"use strict"});var Uk=f(()=>{"use strict";GC()});var Hk=f(()=>{"use strict"});var zk=f(()=>{"use strict";Hk();GC()});var $k=f(()=>{"use strict";Uk();zk()});var WC=f(()=>{"use strict";_R();wR();kO();lk();$C();$k()});var jr,qC=f(()=>{"use strict";WC();jr=class{static addPlausible(n){let i=new CR().window;if(!i||!n)return;let r="https://plausible.io/js/plausible.js",o=document.createElement("script");o.src=r,o.setAttribute("data-domain",n),document.head.append(o),i.plausible=i.plausible||((...s)=>{(i.plausible.q=i.plausible.q||[]).push(s)})}static customEvent(n,e){let i=window;i?.plausible&&i.plausible(n,{props:e})}}});var KC=f(()=>{"use strict";qC()});var Gk=f(()=>{"use strict";KC()});var Wk=f(()=>{"use strict"});var qk=f(()=>{"use strict";Wk()});var Kk=f(()=>{"use strict";qC();KC();Gk();qk()});var Ip,Yk=f(()=>{"use strict";Ip=function(t){return t.GENERAL="General",t.PROFESSIONAL="Professional",t.ACADEMIC="Academic",t}(Ip||{})});var La,Qk=f(()=>{"use strict";b();La=new C("LLM_CONFIGURATION_TOKEN")});var Zk=f(()=>{"use strict"});var Pa=f(()=>{"use strict";Qk();Zk();rp()});var Xk,Jk=f(()=>{"use strict";b();Vo();Se();RC();Pa();b();Vo();Xk=(()=>{class t{constructor(e){this.quotaService=e,this.llmConfiguration=u(La),this.trialRequestCount=15,this.LLMQuotaLocalStorageKey="LLM_QUOTA"}getRemainingQuota(e){return this.llmConfiguration.useLocalQuota?k(this.setQuotaLocalStorageUsage(e)):this.quotaService.getQuotaUsage().pipe(j(i=>{let r=i.usage.find(o=>o.quotaType===$e.LLM_REQUESTS||o.quotaType===$e.LEGACY_LLM_REQUESTS);return r?r.quotaRemaining:this.setQuotaLocalStorageUsage(e)}),zt(()=>k(this.setQuotaLocalStorageUsage(e))))}getExceededLimitMessage(e){return{type:$o.WARNING,body:"ERRORS.MAX_CHAR_LENGTH",localizationParams:{maxCharLength:this.llmConfiguration.maxCharLength,totalSymbols:e}}}getReachedQuotaMessage(){return{type:$o.ERROR,body:"LLM.ERRORS.QUOTA_LIMIT_REACHED",localizationParams:{subscriptionUrl:this.llmConfiguration.subscriptionUrl}}}getDefaultErrorMessage(){return{type:$o.ERROR,body:"LLM.ERRORS.DEFAULT",localizationParams:{supportEmail:this.llmConfiguration.supportEmail}}}getRequestTimeoutMessage(e){return{type:$o.ERROR,body:`LLM.ERRORS.${e}_REQUEST_TIMEOUT`,localizationParams:{supportEmail:this.llmConfiguration.supportEmail}}}setQuotaLocalStorageUsage(e){let i=localStorage.getItem(this.LLMQuotaLocalStorageKey),r=new Date,o={remainingQuota:this.trialRequestCount,lastUsedAt:r};if(i){o=JSON.parse(i);let a=new Date(o.lastUsedAt);(a.getDate()!==r.getDate()||a.getMonth()!==r.getMonth()||a.getFullYear()!==r.getFullYear())&&(o.remainingQuota=this.trialRequestCount),e&&(o.remainingQuota-=1)}return o.lastUsedAt=r,localStorage.setItem(this.LLMQuotaLocalStorageKey,JSON.stringify(o)),o.remainingQuota}static{this.\u0275fac=function(i){return new(i||t)(D(fR))}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var YC,eN,tN,QC=f(()=>{"use strict";pe();b();b();YC=class{_document;_textarea;constructor(n,e){this._document=e;let i=this._textarea=this._document.createElement("textarea"),r=i.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",i.setAttribute("aria-hidden","true"),i.value=n,i.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(i)}copy(){let n=this._textarea,e=!1;try{if(n){let i=this._document.activeElement;n.select(),n.setSelectionRange(0,n.value.length),e=this._document.execCommand("copy"),i&&i.focus()}}catch{}return e}destroy(){let n=this._textarea;n&&(n.remove(),this._textarea=void 0)}},eN=(()=>{class t{_document=u(H);constructor(){}copy(e){let i=this.beginCopy(e),r=i.copy();return i.destroy(),r}beginCopy(e){return new YC(e,this._document)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),tN=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=F({type:t});static \u0275inj=N({})}return t})()});var O8,nN,ZC=f(()=>{"use strict";b();vr();Se();b();QC();fn();Gi();vr();Sr();ba();mt();O8=["textarea"],nN=(()=>{class t{constructor(e){this.clipboard=e,this.textEditEvent=new z,this.dislikeEvent=new z,this.copyEvent=new z,this.destroy=new T}ngOnInit(){this.textareaControl=new oc(this.text)}ngAfterViewInit(){ds(this.textarea.nativeElement,"keyup").pipe(Ne(e=>{e.ctrlKey&&e.key==="c"&&this.copyEvent.emit()}),pi(300),ve(this.destroy)).subscribe(()=>{this.textEditEvent.emit(this.textareaControl.value)})}ngOnChanges(e){e&&e.disabled&&(this.disabled?this.textareaControl?.disable():this.textareaControl?.enable()),e&&e.text&&(this.textareaControl=new oc(this.text))}dislike(){this.dislikeEvent.emit()}copy(){this.clipboard.copy(this.textareaControl.value),this.copyEvent.emit()}ngOnDestroy(){this.destroy.next(null),this.destroy.complete()}static{this.\u0275fac=function(i){return new(i||t)(A(eN))}}static{this.\u0275cmp=U({type:t,selectors:[["lib-llm-textarea"]],viewQuery:function(i,r){if(i&1&&Be(O8,5),i&2){let o;Ee(o=De())&&(r.textarea=o.first)}},inputs:{text:"text",disabled:"disabled",actionButtonsDisabled:"actionButtonsDisabled"},outputs:{textEditEvent:"textEditEvent",dislikeEvent:"dislikeEvent",copyEvent:"copyEvent"},standalone:!1,features:[Ve],decls:18,vars:13,consts:[["textarea",""],[1,"llm-wrapper",3,"ngClass.gt-lg"],[1,"llm-textarea-wrapper"],[1,"llm-textarea",3,"formControl"],[1,"llm-textarea-actions"],[1,"material-icons-outlined","llm-eu-data-tooltip",3,"matTooltip"],["mat-icon-button","",3,"click","matTooltip","disabled"],[1,"material-icons-outlined","copy"],["mat-icon-button","",3,"click","disabled","matTooltip"],[1,"material-icons-outlined","dislike"]],template:function(i,r){if(i&1){let o=ke();E(0,"div",1)(1,"div",2)(2,"textarea",3,0),se(4," "),M(),E(5,"div",4)(6,"mat-icon",5),le(7,"translate"),se(8," gpp_maybe "),M(),E(9,"div")(10,"button",6),le(11,"translate"),ee("click",function(){return Ce(o),xe(r.dislike())}),E(12,"mat-icon",7),se(13," thumb_down "),M()(),E(14,"button",8),le(15,"translate"),ee("click",function(){return Ce(o),xe(r.copy())}),E(16,"mat-icon",9),se(17," content_copy "),M()()()()()()}i&2&&(S("ngClass.gt-lg","desktop"),x(2),S("formControl",r.textareaControl),x(4),S("matTooltip",be(7,7,"LLM.EU_DATA_TOOLTIP")),x(4),S("matTooltip",be(11,9,"TOOLTIPS.DISLIKE"))("disabled",r.actionButtonsDisabled||!r.textareaControl.value),x(4),S("disabled",r.actionButtonsDisabled||!r.textareaControl.value)("matTooltip",be(15,11,"TOOLTIPS.COPY")))},dependencies:[So,ai,na,ia,wb,Ki,va,pt],styles:[".llm-wrapper[_ngcontent-%COMP%]{position:relative;border:1px solid var(--base-65);border-radius:8px;overflow-y:auto}.llm-textarea-wrapper[_ngcontent-%COMP%]{position:relative}.llm-textarea[_ngcontent-%COMP%]{min-width:100%;min-height:310px;padding:8px 16px;resize:none;background:none;border-radius:8px;margin-bottom:46px}.desktop[_ngcontent-%COMP%] .llm-textarea[_ngcontent-%COMP%]{min-height:490px}.llm-textarea-actions[_ngcontent-%COMP%]{position:absolute;display:flex;justify-content:space-between;align-items:center;width:100%;bottom:4px}.llm-eu-data-tooltip[_ngcontent-%COMP%]{margin-left:16px}"]})}}return t})()});function F8(t,n){if(t&1){let e=ke();E(0,"lib-tld-notification-message",15),ee("closeClicked",function(){let r=Ce(e).$implicit,o=G();return xe(o.closeMessage(r))}),M()}if(t&2){let e=n.$implicit;S("message",e)}}function L8(t,n){if(t&1&&(E(0,"mat-option",18),se(1),le(2,"uppercase"),le(3,"translate"),M()),t&2){let e=n.$implicit;S("value",e),x(),Je(" ",be(3,4,"LLM.USE_CASE."+be(2,2,e))," ")}}function P8(t,n){if(t&1){let e=ke();E(0,"mat-form-field",16)(1,"mat-label"),se(2),le(3,"translate"),M(),E(4,"mat-select",17),zs("ngModelChange",function(r){Ce(e);let o=G();return kl(o.selectedUseCase,r)||(o.selectedUseCase=r),xe(r)}),QS(5,L8,4,6,"mat-option",18,YS),M()()}if(t&2){let e=G();x(2),ft(be(3,3,"LLM.USE_CASES_LABEL")),x(2),S("disabled",e.isLoading),Hs("ngModel",e.selectedUseCase),x(),ZS(e.useCases)}}function j8(t,n){if(t&1&&(q(0,"div",19),le(1,"translate")),t&2){let e=G();S("innerHTML",$s(1,1,e.localizationKey+"LIMIT",sI(4,N8,e.quotaLeft,e.subscriptionUrl)),Ti)}}function V8(t,n){if(t&1){let e=ke();E(0,"button",20),ee("click",function(){Ce(e);let r=G();return xe(r.cancel())}),se(1),le(2,"translate"),M()}if(t&2){let e=G();x(),Je(" ",be(2,1,e.localizationKey+"CANCEL")," ")}}function B8(t,n){if(t&1&&(E(0,"button",21),se(1),le(2,"translate"),M()),t&2){let e=G();S("mat-dialog-close",null),x(),Je(" ",be(2,2,e.localizationKey+"CLOSE")," ")}}function U8(t,n){if(t&1&&(E(0,"span"),se(1),le(2,"translate"),M()),t&2){let e=G();x(),Je(" ",be(2,1,e.isSummarized?"LLM.SUMMARY_MODAL.REGENERATE":"LLM.SUMMARY_MODAL.ACTION")," ")}}function H8(t,n){if(t&1&&(se(0),le(1,"translate")),t&2){let e=G();Je(" ",be(1,1,e.localizationKey+"ACTION")," ")}}function z8(t,n){t&1&&q(0,"mat-spinner",22),t&2&&S("diameter",20)}var N8,iN,XC=f(()=>{"use strict";Or();Vo();Se();U_();Kk();rp();Yk();b();Vo();Jk();pe();fn();Or();vr();Yh();Ac();Sp();Th();ZC();mt();N8=(t,n)=>({limit:t,subscriptionUrl:n});iN=(()=>{class t{get isDisabled(){return this.isLoading||!this.initialText||this.quotaLeft<1}constructor(e,i,r){this.llmService=e,this.llmHelperService=i,this.data=r,this.selectedWritingStyle=Ip.GENERAL,this.editedText="",this.manuallyEditedText="",this.savedRephrasings=[],this.llmActions=Vt,this.writingStyles=Object.values(Ip),this.useCases=[],this.messages=[],this.showUseCase=!1}ngOnInit(){this.setInitialText(),this.llmActionType===Vt.REPHRASE?(this.useCases=this.data.rephraseUseCases??Object.values(V_),this.selectedUseCase=this.useCases[0]):this.llmActionType===Vt.SUMMARY&&(this.useCases=this.data.summaryUseCases??Object.values(sp),this.selectedUseCase=sp.General),this.showUseCase=this.llmActionType===Vt.REPHRASE&&this.data.showUseCaseRephrase||this.llmActionType===Vt.SUMMARY&&this.data.showUseCaseSummary}closeMessage(e){let i=this.messages?.findIndex(r=>JSON.stringify(r)===JSON.stringify(e));(i||i===0)&&this.messages.splice(i,1)}checkRephrasedTextSaves(e){e.value!==this.selectedWritingStyle&&(this.previousWritingStyle=this.selectedWritingStyle,this.selectedWritingStyle=e.value);let i=this.savedRephrasings.find(o=>o.style===this.selectedWritingStyle),r=this.savedRephrasings.find(o=>o.style===this.previousWritingStyle);r?r.text=this.editedText!==""?this.editedText:this.initialText:this.savedRephrasings.push({style:this.previousWritingStyle,text:this.editedText!==""?this.editedText:this.initialText}),this.editedText=i?.text??this.initialText,this.manuallyEditedText="",this.checkTextLimit()}getEditedText(){this.isLoading=!0,this.llmActionType===Vt.REPHRASE?this.writingStylePlausibleEvent():this.summaryPlausibleEvent(),this.subscription=this.getRequest()}cancel(){this.subscription.unsubscribe()}textEditEvent(e){this.manuallyEditedText=e,this.initialText=e,this.editedText="",this.checkTextLimit()}copyPlausibleEvent(){jr.customEvent(this.llmActionType.toLowerCase(),{action:"copy"})}dislikePlausibleEvent(){jr.customEvent(this.llmActionType.toLowerCase(),{action:"dislike"})}setInitialText(){this.data.text.subscribe(e=>{this.initialText=e,this.llmActionType=this.data.action,this.localizationKey=`LLM.${this.llmActionType}_MODAL.`,this.subscriptionUrl=this.llmHelperService.llmConfiguration.subscriptionUrl,this.maxCharLength=this.llmHelperService.llmConfiguration.maxCharLength,this.refreshQuota()})}checkTextLimit(){let e=this.maxCharLength,i=[this.initialText,this.manuallyEditedText,this.editedText],r=this.editedText&&!this.manuallyEditedText?this.editedText:i.reduce((o,s)=>o.length>s.length?o:s);if(r.length>e){this.exceededLimitMessage&&this.closeMessage(this.exceededLimitMessage),this.exceededLimitMessage=this.llmHelperService.getExceededLimitMessage(r.length),this.messages.push(this.exceededLimitMessage);return}this.closeMessage(this.exceededLimitMessage)}writingStylePlausibleEvent(){jr.customEvent(this.llmActionType.toLowerCase(),{writingStyle:this.selectedWritingStyle})}summaryPlausibleEvent(){jr.customEvent(this.llmActionType.toLowerCase(),{action:"summary"})}refreshQuota(e){this.llmHelperService.getRemainingQuota(e).subscribe(i=>{this.quotaLeft=i,this.setQuotaMessage()})}setQuotaMessage(){this.quotaLeft<=this.llmHelperService.trialRequestCount&&(this.remainingQuotaMessageVisible=!0),this.quotaLeft<1&&(this.reachedQuotaMessage=this.llmHelperService.getReachedQuotaMessage(),this.messages.push(this.reachedQuotaMessage))}getRequest(){let e=this.manuallyEditedText!==""?this.manuallyEditedText:this.initialText;return e.length>this.maxCharLength&&(e=e.substring(0,this.maxCharLength)),(this.llmActionType===Vt.REPHRASE?this.llmService.rephrase({text:e,language:this.data.language,style:this.selectedWritingStyle,useCase:this.selectedUseCase}):this.llmService.summarize({text:e,language:this.data.language,useCase:this.selectedUseCase})).pipe($t(()=>this.isLoading=!1)).subscribe(this.getRequestCallback())}getRequestCallback(){return{next:e=>{this.llmActionType===this.llmActions.SUMMARY&&(this.isSummarized=!0),this.editedText=e,this.manuallyEditedText="",this.defaultErrorMessage=this.llmHelperService.getDefaultErrorMessage(),this.closeMessage(this.defaultErrorMessage),this.closeMessage(this.requestTimeoutMessage),this.isEdited=!0,this.refreshQuota(!0),this.checkTextLimit()},error:e=>{if(e.status===B_.TIMEOUT){this.requestTimeoutMessage=this.llmHelperService.getRequestTimeoutMessage(this.llmActionType),this.messages.push(this.requestTimeoutMessage);return}this.messages.push(this.defaultErrorMessage)}}}static{this.\u0275fac=function(i){return new(i||t)(A(uR),A(Xk),A(xa))}}static{this.\u0275cmp=U({type:t,selectors:[["lib-llm-textarea-with-actions"]],standalone:!1,decls:20,vars:22,consts:[["closeButton",""],["rephraseAction",""],["mat-dialog-title",""],["mat-dialog-content",""],[3,"innerHTML"],[3,"message","closeClicked",4,"ngFor","ngForOf"],["color","accent","class","w-full llm-writing-style-select","appearance","outline",4,"ngIf"],[3,"textEditEvent","copyEvent","dislikeEvent","text","disabled","actionButtonsDisabled"],["mat-dialog-actions","",1,"llm-actions-wrapper"],["class","quota-left-message",3,"innerHTML",4,"ngIf"],[1,"llm-actions"],["mat-button","","color","accent",3,"click",4,"ngIf","ngIfElse"],["mat-flat-button","","color","accent",3,"click","disabled"],[4,"ngIf","ngIfElse"],["color","primary-accent-darker",3,"diameter",4,"ngIf"],[3,"closeClicked","message"],["color","accent","appearance","outline",1,"w-full","llm-writing-style-select"],[3,"ngModelChange","disabled","ngModel"],[3,"value"],[1,"quota-left-message",3,"innerHTML"],["mat-button","","color","accent",3,"click"],["mat-button","","color","accent",3,"mat-dialog-close"],["color","primary-accent-darker",3,"diameter"]],template:function(i,r){if(i&1){let o=ke();E(0,"h1",2),se(1),le(2,"translate"),M(),E(3,"div",3),q(4,"p",4),le(5,"translate"),re(6,F8,1,1,"lib-tld-notification-message",5)(7,P8,7,5,"mat-form-field",6),E(8,"lib-llm-textarea",7),ee("textEditEvent",function(a){return Ce(o),xe(r.textEditEvent(a))})("copyEvent",function(){return Ce(o),xe(r.copyPlausibleEvent())})("dislikeEvent",function(){return Ce(o),xe(r.dislikePlausibleEvent())}),M()(),E(9,"div",8),re(10,j8,2,7,"div",9),E(11,"div",10),re(12,V8,3,3,"button",11)(13,B8,3,4,"ng-template",null,0,vo),E(15,"button",12),ee("click",function(){return Ce(o),xe(r.getEditedText())}),re(16,U8,3,3,"span",13)(17,H8,2,3,"ng-template",null,1,vo)(19,z8,1,1,"mat-spinner",14),M()()()}if(i&2){let o=Xt(14),s=Xt(18);x(),ft(be(2,18,r.localizationKey+"TITLE")),x(3),S("innerHTML",be(5,20,r.localizationKey+"DESCRIPTION"),Ti),x(2),S("ngForOf",r.messages),x(),S("ngIf",r.showUseCase),x(),Q("rephrase",r.llmActionType===r.llmActions.REPHRASE),S("text",r.editedText!==""?r.editedText:r.initialText)("disabled",r.isLoading||!r.quotaLeft)("actionButtonsDisabled",!r.isEdited),x(2),S("ngIf",r.remainingQuotaMessageVisible),x(),Q("w-full",!r.remainingQuotaMessageVisible),x(),S("ngIf",r.isLoading)("ngIfElse",o),x(3),S("disabled",r.isDisabled),x(),S("ngIf",r.llmActionType===r.llmActions.SUMMARY)("ngIfElse",s),x(3),S("ngIf",r.isLoading)}},dependencies:[Gs,ki,si,jc,Vc,Uc,Bc,ia,sc,Dc,Lo,Mc,Fo,wO,Mh,nN,Gv,pt],styles:[".info-icon[_ngcontent-%COMP%]{font-size:1rem;margin-left:5px}[_nghost-%COMP%] .message-body{margin:0 2.25rem 0 0!important;font-size:14px}[_nghost-%COMP%] .notification-message-container{margin:0 0 16px;padding:.9em 1em!important;align-items:center!important}[_nghost-%COMP%] .text-container{margin-right:0!important}[_nghost-%COMP%] tld-close-button{top:1px!important} .multiline-tooltip{white-space:pre;min-width:fit-content} .multiline-tooltip .mdc-tooltip__surface{max-width:none!important}[_nghost-%COMP%] .llm-textarea{min-height:240px!important}[_nghost-%COMP%] .rephrase .llm-textarea{min-height:100px!important}[_nghost-%COMP%] .desktop .llm-textarea{min-height:460px!important}[_nghost-%COMP%] .rephrase .desktop .llm-textarea{min-height:330px!important}.llm-writing-style-select[_ngcontent-%COMP%]{margin-top:1.25rem}.llm-writing-style[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:.25rem}.llm-actions-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin:0 1rem .5rem}.llm-actions[_ngcontent-%COMP%]{display:flex;justify-content:end}.w-full[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .mdc-button__label{display:flex!important;align-items:center!important}mat-spinner[_ngcontent-%COMP%]{margin-left:.5rem}.quota-left-message[_ngcontent-%COMP%]{margin-bottom:12px}"]})}}return t})()});var $8,G8,rN=f(()=>{"use strict";$8=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
18
35
  <path d="M4 5H18.6286V6.82857H4V5ZM4 10.4857H18.6286V8.65714H4V10.4857ZM4 14.1429H10.4V12.3143H4V14.1429ZM4 17.8H10.4V15.9714H4V17.8Z" fill="currentColor"/>
19
36
  <path d="M17.4005 13.3093C17.0801 12.5922 16.0622 12.5922 15.7418 13.3093L15.1052 14.7341L13.6804 15.3707C12.9633 15.6911 12.9633 16.709 13.6804 17.0294L15.1052 17.666L15.7418 19.0908C16.0622 19.8079 17.0801 19.8079 17.4005 19.0908L18.0371 17.666L19.4619 17.0294C20.179 16.709 20.179 15.6911 19.4619 15.3707L18.0371 14.7341L17.4005 13.3093Z" fill="currentColor"/>
20
37
  <path d="M13.5612 12.0546C13.4438 11.7917 13.0705 11.7917 12.953 12.0546L12.7196 12.577L12.1972 12.8105C11.9343 12.9279 11.9343 13.3012 12.1972 13.4187L12.7196 13.6521L12.953 14.1745C13.0705 14.4374 13.4438 14.4374 13.5612 14.1745L13.7947 13.6521L14.3171 13.4187C14.58 13.3012 14.58 12.9279 14.3171 12.8105L13.7947 12.577L13.5612 12.0546Z" fill="currentColor"/>
21
38
  </svg>
22
- `,pG=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
39
+ `,G8=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
23
40
  <path fill-rule="evenodd" clip-rule="evenodd" d="M19.879 4.16166L21.229 5.51166C22.019 6.29166 22.019 7.56166 21.229 8.34166L7.99897 21.5717H3.81897V17.3917L14.219 6.98166L17.049 4.16166C17.829 3.38166 19.099 3.38166 19.879 4.16166ZM5.81897 19.5717L7.22897 19.6317L17.049 9.80166L15.639 8.39166L5.81897 18.2117V19.5717Z" fill="currentColor"/>
24
41
  <path d="M19.5181 19.798L18.8644 21.261C18.6793 21.6752 18.0913 21.6752 17.9062 21.261L17.2526 19.798C17.1471 19.5621 16.9584 19.3734 16.7225 19.268L15.2595 18.6143C14.8453 18.4292 14.8453 17.8412 15.2595 17.6561L16.7225 17.0024C16.9584 16.897 17.1471 16.7083 17.2526 16.4724L17.9062 15.0094C18.0913 14.5952 18.6793 14.5952 18.8644 15.0094L19.5181 16.4724C19.6235 16.7083 19.8122 16.897 20.0481 17.0024L21.5111 17.6561C21.9253 17.8412 21.9253 18.4292 21.5111 18.6143L20.0481 19.268C19.8122 19.3734 19.6235 19.5621 19.5181 19.798Z" stroke="#474D53"/>
25
42
  <path d="M9.88502 3.56437C9.75242 3.26761 9.33117 3.26761 9.19857 3.56437L8.93512 4.15399L8.3455 4.41744C8.04874 4.55003 8.04874 4.97129 8.3455 5.10389L8.93512 5.36733L9.19857 5.95696C9.33117 6.25372 9.75242 6.25372 9.88502 5.95696L10.1485 5.36733L10.7381 5.10389C11.0349 4.97129 11.0349 4.55003 10.7381 4.41744L10.1485 4.15399L9.88502 3.56437Z" fill="currentColor"/>
26
43
  <path d="M6.50947 5.80395C6.31057 5.35881 5.67869 5.35881 5.4798 5.80395L5.08462 6.68839L4.20019 7.08356C3.75505 7.28245 3.75505 7.91434 4.20019 8.11323L5.08462 8.5084L5.4798 9.39284C5.67869 9.83798 6.31057 9.83798 6.50947 9.39284L6.90464 8.5084L7.78907 8.11323C8.23421 7.91434 8.23421 7.28245 7.78907 7.08356L6.90464 6.68839L6.50947 5.80395Z" fill="currentColor"/>
27
44
  </svg>
28
- `});var F_={};fF(F_,{REPHRASE:()=>pG,SUMMARIZE:()=>hG});var tO=f(()=>{"use strict";eO()});var nO,iO=f(()=>{"use strict";D();an();Pr();bt();D();Pr();an();nO=(()=>{class t{constructor(){this.data=y(rc)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["lib-new-feature-dialog"]],standalone:!0,features:[Ee],decls:10,vars:9,consts:[["mat-dialog-title",""],[1,"description",3,"innerHTML"],["mat-button","","mat-dialog-close","","color","accent"]],template:function(i,r){i&1&&(I(0,"h2",0),le(1),de(2,"translate"),T(),I(3,"mat-dialog-content"),Q(4,"p",1),de(5,"translate"),T(),I(6,"mat-dialog-actions")(7,"button",2),le(8),de(9,"translate"),T()()),i&2&&(w(),ft(ge(2,3,r.data.title)),w(3),M("innerHTML",ge(5,5,r.data.description),Ii),w(4),Je(" ",ge(9,7,r.data.close)," "))},dependencies:[pa,ph,mh,vh,gh,Ir,ii,yt],styles:["[_nghost-%COMP%] {display:inline-block;padding:12px 16px}[_nghost-%COMP%] .mat-mdc-dialog-title, [_nghost-%COMP%] mat-dialog-actions, [_nghost-%COMP%] mat-dialog-content{padding:0!important;margin:0!important}"]})}}return t})()});var rO,oO=f(()=>{"use strict";D();D();rO=(()=>{class t{constructor(){this.current=rn(void 0),this.queue=[]}requestOpenFeature(e){this.queue.includes(e)||(this.queue.push(e),this.current()||this.showNextFeature())}showNextFeature(){if(this.queue.length===0)return;let e=this.queue.shift();e&&(this.current.set(e),e.showFeatureDialog())}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var Aa,zh=f(()=>{"use strict";D();Pr();pe();iO();Ur();oO();Re();D();Aa=(()=>{class t{constructor(){this.timeout=0,this.maxWidth=320,this.#e=y(ko),this.#t=y(rO),this.#n=new R,this.featureActive=rn(!1),this.isFeatureSeen=!1}#e;#t;#n;ngOnInit(){setTimeout(()=>{this.setFeatureStatus()},this.timeout)}ngOnDestroy(){this.#n.next(null),this.#n.complete()}showFeatureDialog(){let e=document.querySelector(`.${this.featureClassName}`);e&&(Uo.isMobileRes()&&this.mobileScreenCustomPosition?.autoScroll&&e.scrollIntoView({behavior:"smooth",block:"center"}),setTimeout(()=>{this.featureActive.set(!0);let i=e.getBoundingClientRect();this.dialogRef=this.#e.open(nO,{data:{title:this.titleLocalizationKey,description:this.descriptionLocalizationKey,close:this.closeLocalizationKey,featureLocalStorageKey:this.featureLocalStorageKey},position:{left:`${Uo.isMobileRes()&&this.mobileScreenCustomPosition?.left?this.mobileScreenCustomPosition.left:i.left-this.maxWidth+"px"}`,top:`${Uo.isMobileRes()&&this.mobileScreenCustomPosition?.top?this.mobileScreenCustomPosition.top:i.top+45+"px"}`},maxWidth:`${this.maxWidth}px`}),this.dialogRef.afterClosed().subscribe(()=>{this.setFeatureSeen(),this.#t.current.set(void 0),this.#t.showNextFeature()})},Uo.isMobileRes()&&this.mobileScreenCustomPosition?.autoScroll?500:0))}setFeatureStatus(){this.isFeatureSeen=!!this.featureLocalStorageKey&&!!localStorage.getItem(this.featureLocalStorageKey),this.isFeatureSeen||this.#t.requestOpenFeature(this)}setFeatureSeen(){this.featureActive.set(!1),this.isFeatureSeen=!0,this.featureLocalStorageKey&&localStorage.setItem(this.featureLocalStorageKey,"true")}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["lib-new-feature-dialog-wrapper"]],inputs:{titleLocalizationKey:"titleLocalizationKey",descriptionLocalizationKey:"descriptionLocalizationKey",closeLocalizationKey:"closeLocalizationKey",featureClassName:"featureClassName",featureLocalStorageKey:"featureLocalStorageKey",timeout:"timeout",maxWidth:"maxWidth",mobileScreenCustomPosition:"mobileScreenCustomPosition"},standalone:!0,features:[Ee],decls:0,vars:0,template:function(i,r){},dependencies:[st,pa],encapsulation:2})}}return t})()});var aO,k_=f(()=>{"use strict";D();Ma();D();an();Bi();zh();bt();aO=(()=>{class t{constructor(){this.openModalEvent=new P}openModal(){this.openModalEvent.emit(Ut.SUMMARY)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["lib-llm-summary"]],inputs:{isTextSummarizable:"isTextSummarizable",newFeatureLocalStorageKey:"newFeatureLocalStorageKey"},outputs:{openModalEvent:"openModalEvent"},decls:6,vars:12,consts:[["summarizeFeature",""],["mat-stroked-button","","color","accent",1,"llm-summary",3,"click","disabled"],[3,"svgIcon"],[3,"titleLocalizationKey","descriptionLocalizationKey","closeLocalizationKey","featureClassName","featureLocalStorageKey"]],template:function(i,r){if(i&1){let o=Pe();I(0,"button",1),ee("click",function(){return ye(o),be(r.openModal())}),Q(1,"mat-icon",2),le(2),de(3,"translate"),T(),Q(4,"lib-new-feature-dialog-wrapper",3,0)}if(i&2){let o=qt(5);ae("summarize-feature-active",o==null?null:o.featureActive()),M("disabled",!r.isTextSummarizable),w(),M("svgIcon","summarize"),w(),Je(" ",ge(3,10,"LLM.SUMMARY"),`
29
- `),w(2),M("titleLocalizationKey","LLM.SUMMARY_NEW_FEATURE.TITLE")("descriptionLocalizationKey","LLM.SUMMARY_NEW_FEATURE.DESCRIPTION")("closeLocalizationKey","LLM.SUMMARY_NEW_FEATURE.CLOSE")("featureClassName","llm-summary")("featureLocalStorageKey","summary"+r.newFeatureLocalStorageKey)}},dependencies:[ii,ri,Aa,yt],styles:[".summarize-feature-active{z-index:1001!important;background-color:#fff!important}"]})}}return t})()});var lO,N_=f(()=>{"use strict";D();Ma();D();an();Bi();zh();bt();lO=(()=>{class t{constructor(){this.openModalEvent=new P}openModal(){this.openModalEvent.emit(Ut.REPHRASE)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["lib-llm-rephrase"]],inputs:{isTargetLanguageRephrasable:"isTargetLanguageRephrasable",newFeatureLocalStorageKey:"newFeatureLocalStorageKey"},outputs:{openModalEvent:"openModalEvent"},decls:6,vars:13,consts:[["rephraseFeature",""],["mat-stroked-button","","color","accent",1,"llm-rephrase",3,"click","disabled"],[3,"svgIcon"],[3,"titleLocalizationKey","descriptionLocalizationKey","closeLocalizationKey","featureClassName","featureLocalStorageKey","maxWidth"]],template:function(i,r){if(i&1){let o=Pe();I(0,"button",1),ee("click",function(){return ye(o),be(r.openModal())}),Q(1,"mat-icon",2),le(2),de(3,"translate"),T(),Q(4,"lib-new-feature-dialog-wrapper",3,0)}if(i&2){let o=qt(5);ae("rephrase-feature-active",o==null?null:o.featureActive()),M("disabled",!r.isTargetLanguageRephrasable),w(),M("svgIcon","rephrase"),w(),Je(" ",ge(3,11,"LLM.REPHRASE"),`
30
- `),w(2),M("titleLocalizationKey","LLM.REPHRASE_NEW_FEATURE.TITLE")("descriptionLocalizationKey","LLM.REPHRASE_NEW_FEATURE.DESCRIPTION")("closeLocalizationKey","LLM.REPHRASE_NEW_FEATURE.CLOSE")("featureClassName","llm-rephrase")("featureLocalStorageKey","rephrase"+r.newFeatureLocalStorageKey)("maxWidth",400)}},dependencies:[ii,ri,Aa,yt],styles:[".rephrase-feature-active{z-index:1001!important;background-color:#fff!important}"]})}}return t})()});function vG(t,n){if(t&1){let e=Pe();I(0,"div",2),de(1,"translate"),I(2,"lib-llm-summary",3),ee("openModalEvent",function(r){ye(e);let o=H();return be(o.openLLMModal(r))}),T()()}if(t&2){let e=H();M("matTooltipPosition","left")("matTooltip",e.isTextSummarizable?"":ge(1,4,"LLM.MENU_SUMMARY_DISABLED_TOOLTIP")),w(2),M("isTextSummarizable",!!e.isTextSummarizable)("newFeatureLocalStorageKey",e.newFeatureLocalStorageKey)}}function yG(t,n){if(t&1){let e=Pe();I(0,"div",2),de(1,"translate"),I(2,"lib-llm-rephrase",4),ee("openModalEvent",function(r){ye(e);let o=H();return be(o.openLLMModal(r))}),T()()}if(t&2){let e=H();M("matTooltipPosition","left")("matTooltip",e.isTargetLanguageRephrasable?"":ge(1,4,"LLM.MENU_REPHRASE_DISABLED_TOOLTIP")),w(2),M("isTargetLanguageRephrasable",!!e.isTargetLanguageRephrasable)("newFeatureLocalStorageKey",e.newFeatureLocalStorageKey)}}var cO,$h=f(()=>{"use strict";D();fh();O_();tO();Re();D();Pr();I_();pe();Fr();k_();N_();bt();cO=(()=>{class t{get isTextSummarizable(){return this.text}get isTargetLanguageRephrasable(){return!this.rephrasableLanguagesCodeList||this.language&&this.rephrasableLanguagesCodeList.includes(this.languageService.removeRegionFromLanguageCode(this.language))}constructor(e,i,r){this.dialog=e,this.iconService=i,this.languageService=r,this.summaryEnabled=!0,this.rephraseEnabled=!0,this.showUseCaseSummary=!1,this.showUseCaseRephrase=!1,this.menuTriggerClick=new P,this.llmAction=Ut,this.iconService.registerIcons(F_)}openLLMModal(e){let i;!this.text||typeof this.text=="string"?i=O(this.text??""):i=this.text;let r={text:i,language:this.language,action:e,showUseCaseSummary:this.showUseCaseSummary,showUseCaseRephrase:this.showUseCaseRephrase,summaryUseCases:this.summaryUseCases,rephraseUseCases:this.rephraseUseCases};this.dialog.open(JR,{panelClass:"responsive-dialog",maxWidth:"800px",width:"100%",data:r})}static{this.\u0275fac=function(i){return new(i||t)(p(ko),p(yA),p(w_))}}static{this.\u0275cmp=Y({type:t,selectors:[["lib-llm"]],inputs:{text:"text",language:"language",rephrasableLanguagesCodeList:"rephrasableLanguagesCodeList",summaryEnabled:"summaryEnabled",rephraseEnabled:"rephraseEnabled",showUseCaseSummary:"showUseCaseSummary",showUseCaseRephrase:"showUseCaseRephrase",newFeatureLocalStorageKey:"newFeatureLocalStorageKey",rephraseUseCases:"rephraseUseCases",summaryUseCases:"summaryUseCases"},outputs:{menuTriggerClick:"menuTriggerClick"},decls:3,vars:2,consts:[[1,"llm-wrapper"],[3,"matTooltipPosition","matTooltip",4,"ngIf"],[3,"matTooltipPosition","matTooltip"],[3,"openModalEvent","isTextSummarizable","newFeatureLocalStorageKey"],[3,"openModalEvent","isTargetLanguageRephrasable","newFeatureLocalStorageKey"]],template:function(i,r){i&1&&(I(0,"div",0),ie(1,vG,3,6,"div",1)(2,yG,3,6,"div",1),T()),i&2&&(w(),M("ngIf",r.summaryEnabled),w(),M("ngIf",r.rephraseEnabled))},dependencies:[hr,Or,aO,lO,yt],styles:[".llm-wrapper[_ngcontent-%COMP%]{display:flex;gap:8px}"]})}}return t})()});var dO=f(()=>{"use strict"});var uO=f(()=>{"use strict";dO()});var fO=f(()=>{"use strict";zh();uO()});var hO,pO=f(()=>{"use strict";pe();$h();an();Bi();bt();Pr();T_();Li();R_();Ql();f_();Fr();dh();Gf();O_();fO();N_();k_();D();hO=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[st,Ir,$f,ei,pa,ZR,Cf,lS,ih,_T,aa,ha,qS,Aa]})}}return t})()});var mO=f(()=>{"use strict";$h();pO();Ma()});var gO,vO=f(()=>{"use strict";gO={en:{TOOLTIPS:{COPY:"Copy to clipboard",DISLIKE:"Dislike"},LLM:{USE_CASES_LABEL:"Use case",SUMMARY:"Summarize",REPHRASE:"Rephrasing turns raw speech into smooth, readable text \u2013 fast.",MENU_TOOLTIP:"Rephrase or summarize",MENU_DISABLED_TOOLTIP:"Summary and rephrase functions are not available",MENU_SUMMARY_DISABLED_TOOLTIP:"Summary available for texts that contain at least 100 characters",MENU_REPHRASE_DISABLED_TOOLTIP:"Rephrase is not available in selected language",UNSUPPORTED_MENU_DISABLED_TOOLTIP:"Feature unavailable",EU_DATA_TOOLTIP:"We utilise the Azure OpenAI Service, the entered data is securely processed on servers located within the EU",REPHRASE_MODAL:{TITLE:"Rephrase",DESCRIPTION:"Rephrase text into a specified writing style, adapting the language and tone to match a given target style or voice.",CLOSE:"Close",CANCEL:"Cancel",ACTION:"Rephrase",LIMIT:"Rephrases left today: <span class='text-m-semi-bold'>{{limit}}</span>. Need more? <a href='{{subscriptionUrl}}' target='_blank'>Get a subscription</a>"},SUMMARY_MODAL:{TITLE:"Summary",DESCRIPTION:"Quickly condense lengthy texts into clear summaries using our advanced LLM feature.",CANCEL:"Cancel",CLOSE:"Close",ACTION:"Create summary",REGENERATE:"Re-generate",LIMIT:"Summaries left today: <span class='text-m-semi-bold'>{{limit}}</span>. Need more? <a href='{{subscriptionUrl}}' target='_blank'>Get a subscription</a>"},ERRORS:{QUOTA_LIMIT_REACHED:"You have reached your quota limit. Need more? <a href='{{subscriptionUrl}}' target='_blank'>Get a subscription</a>",DEFAULT:"It seems like we had problem, please <bold>repeat</bold> action, if it doesn't work, contact our <a href='mailto:{{supportEmail}}' target='_blank'>support team</a>."},USE_CASE:{MEETING:"Meeting notes (detailed)",MEETINGBRIEF:"Meeting (overview)",EVENT:"Conference",GENERAL:"General",BRIEF:"Brief",TRANSCRIPTEDITOR:"Professional",TRANSCRIPTCLEANUP:"Cleanup"}},ERRORS:{MAX_CHAR_LENGTH:"Only {{maxCharLength}}/{{totalSymbols}} characters will be rephrased/summarized."}},et:{TOOLTIPS:{COPY:"Kopeerige l\xF5ikelauale",DISLIKE:"Ei meeldi"},LLM:{USE_CASES_LABEL:"Kasuta juhtumit",SUMMARY:"Tee kokkuv\xF5te",MENU_TOOLTIP:"S\xF5nasta \xFCmber v\xF5i tee kokkuv\xF5te",MENU_DISABLED_TOOLTIP:"Kokkuv\xF5tte tegemise ja \xFCmbers\xF5nastamise funktsioonid ei ole saadaval",MENU_SUMMARY_DISABLED_TOOLTIP:"Kokkuv\xF5tet saab teha tekstidele, milles on rohkem kui 100 t\xE4hem\xE4rki",MENU_REPHRASE_DISABLED_TOOLTIP:"\xDCmbers\xF5nastamine ei ole valitud keeles saadaval",UNSUPPORTED_MENU_DISABLED_TOOLTIP:"Funktsioon ei ole saadaval",TITLE:"S\xF5nasta \xFCmber",REPHRASE:"T\xF5lke \xFCmbers\xF5nastamine",EU_DATA_TOOLTIP:"Kasutame Azure OpenAI teenust, sisestatud andmeid t\xF6\xF6deldakse turvaliselt EL-is asuvates serverites",REPHRASE_MODAL:{TITLE:"T\xF5lke \xFCmbers\xF5nastamine",DESCRIPTION:"S\xF5nastage tekst \xFCmber kindlaksm\xE4\xE4ratud kirjastiili, kohandades keelt ja tooni vastavalt sihtstiilile v\xF5i -h\xE4\xE4lele.",CLOSE:"Sulge",CANCEL:"Loobu",ACTION:"\xDCmbers\xF5nastamine",REPHRASING:"\xDCmbers\xF5nastamine...",LIMIT:"T\xE4na j\xE4etud \xFCmbers\xF5nastused: <span class='text-m-semi-bold'>{{limit}}</span>. Lisateave <a href='{{subscriptionUrl}}' target='_blank'>Hankige tellimus</a>"},SUMMARY_MODAL:{TITLE:"Kokkuv\xF5te",DESCRIPTION:"Tehke pikad tekstid kiiresti selgeteks kokkuv\xF5teteks, kasutades meie t\xE4iustatud LLM-funktsiooni.",CANCEL:"Loobu",CLOSE:"Sulge",ACTION:"Kokkuv\xF5tte loomine",REGENERATE:"Uuesti loomine",LIMIT:"T\xE4na j\xE4etud \xFCmbers\xF5nastused <span class='text-m-semi-bold'>{{limit}}</span>. Lisateave <a href='{{subscriptionUrl}}' target='_blank'>Uuendage tellimust</a>"},USE_CASE:{MEETING:"Koosoleku m\xE4rkmed (\xFCksikasjalikud)",MEETINGBRIEF:"Koosolek (\xFClevaade)",EVENT:"Konverents",GENERAL:"\xDCldine",BRIEF:"L\xFChike",TRANSCRIPTEDITOR:"Professionaalne",TRANSCRIPTCLEANUP:"Puhastus"},ERRORS:{QUOTA_LIMIT:"Olete saavutanud oma limiidi. Lisateave <a href='{{subscriptionUrl}}' target='_blank'>Uuendage tellimust</a>",QUOTA_LIMIT_REACHED:"Olete saavutanud oma limiidi. Lisateave <a href='{{subscriptionUrl}}' target='_blank'>Uuendage tellimust</a>",DEFAULT:"N\xE4ib, et meil on probleem, palun <bold>korrake</bold> tegevust. Kui see ei \xF5nnestu, v\xF5tke \xFChendust meie<a href='mailto:{{supportEmail}}' target='_blank'>tugimeeskonnaga</a>."}},ERRORS:{MAX_CHAR_LENGTH:"\xDCmber s\xF5nastatakse/summeeritakse ainult {{maxCharLength}}/{{totalSymbols}} m\xE4rki."}},lt:{TOOLTIPS:{COPY:"Kopijuoti \u012F main\u0173 srit\u012F",DISLIKE:"Nepatinka"},LLM:{SUMMARY:"Kurti santrauk\u0105",USE_CASES_LABEL:"Naudoti atvej\u012F",MENU_TOOLTIP:"Performuluoti arba kurti santrauk\u0105",MENU_DISABLED_TOOLTIP:"Santraukos ir performulavimo funkcij\u0173 n\u0117ra",MENU_SUMMARY_DISABLED_TOOLTIP:"Santrauka galima, jei tekst\u0105 sudaro bent 100 simboli\u0173",MENU_REPHRASE_DISABLED_TOOLTIP:"Pasirinkta kalba performuluoti negalima",UNSUPPORTED_MENU_DISABLED_TOOLTIP:"Funkcija nepasiekiama",TITLE:"Performuluoti",REPHRASE:"Perfrazuoti vertim\u0105",EU_DATA_TOOLTIP:"Naudojame Azure OpenAI paslaug\u0105, \u012Fvesti duomenys saugiai apdorojami ES esan\u010Diuose serveriuose",REPHRASE_MODAL:{TITLE:"Perfrazuoti vertim\u0105",DESCRIPTION:"Perfrazuoti tekst\u0105 nurodytu ra\u0161ymo stiliumi pritaikant kalb\u0105 ir ton\u0105 prie tikslinio stiliaus ar tipo.",CLOSE:"U\u017Edaryti",CANCEL:"At\u0161aukti",ACTION:"Perfrazuoti",REPHRASING:"Perfrazuojama...",LIMIT:"\u0160iandien lik\u0119 perfrazavimai: <span class='text-m-semi-bold'>{{limit}}</span>. Reikia daugiau? <a href='{{subscriptionUrl}}' target='_blank'>Gaukite prenumerat\u0105</a>"},SUMMARY_MODAL:{DESCRIPTION:"Greitai sutrumpinti ilgus tekstus \u012F ai\u0161kias santraukas naudojant LLM funkcij\u0105.",CANCEL:"At\u0161aukti",CLOSE:"U\u017Edaryti",ACTION:"Kurti santrauk\u0105",REGENERATE:"Generuoti i\u0161 naujo",LIMIT:"\u0160iandien likusios santraukos: <span class='text-m-semi-bold'>{{limit}}</span>. Reikia daugiau? <a href='{{subscriptionUrl}}' target='_blank'>Gaukite prenumerat\u0105</a>",TITLE:"Santrauka"},USE_CASE:{MEETING:"Susitikimo u\u017Era\u0161ai (i\u0161sam\u016Bs)",MEETINGBRIEF:"Susitikimas (ap\u017Evalga)",EVENT:"Konferencija",GENERAL:"Bendrasis",BRIEF:"Trumpas",TRANSCRIPTEDITOR:"Profesionalus",TRANSCRIPTCLEANUP:"Valymas"},ERRORS:{QUOTA_LIMIT:"Pasiek\u0117te savo kiekio limit\u0105. Reikia daugiau? <a href='{{subscriptionUrl}}' target='_blank'>Gaukite prenumerat\u0105</a>",QUOTA_LIMIT_REACHED:"Pasiek\u0117te savo kiekio limit\u0105. Reikia daugiau? <a href='{{subscriptionUrl}}' target='_blank'>Gaukite prenumerat\u0105</a>",DEFAULT:"Atrodo, kilo problema. <bold>Pakartokite</bold> veiksm\u0105, o jei tai nepadeda, susisiekite su m\u016Bs\u0173 <a href='mailto:{{supportEmail}}' target='_blank'>palaikymo komanda</a>."}},ERRORS:{MAX_CHAR_LENGTH:"Bus performuluoti/apibendrinti tik {{maxCharLength}}/{{totalSymbols}} simboliai."}},lv:{TOOLTIPS:{COPY:"Kop\u0113t starpliktuv\u0113",DISLIKE:"Nepat\u012Bk"},LLM:{SUMMARY:"Apkopot",USE_CASES_LABEL:"Lieto\u0161anas nol\u016Bks",MENU_TOOLTIP:"P\u0101rfr\u0101z\u0113t vai Apkopot",MENU_DISABLED_TOOLTIP:"Funkcijas p\u0101rfr\u0101z\u0113t vai apkopot nav pieejamas",MENU_SUMMARY_DISABLED_TOOLTIP:"Apokopot iesp\u0113jams tikai tekstus gar\u0101kus par 100 z\u012Bm\u0113m",MENU_REPHRASE_DISABLED_TOOLTIP:"Izv\u0113l\u0113taj\u0101 valod\u0101 nav pieejama p\u0101rfr\u0101z\u0113\u0161anas funkcija",UNSUPPORTED_MENU_DISABLED_TOOLTIP:"Funkcija nav pieejama",EU_DATA_TOOLTIP:"M\u0113s izmantojam Azure OpenAI pakalpojumu, ievad\u012Btie dati tiek dro\u0161i apstr\u0101d\u0101ti serveros, kas atrodas ES",TITLE:"P\u0101rfr\u0101z\u0113\u0161ana",REPHRASE:"P\u0101rfr\u0101z\u0113t",REPHRASE_MODAL:{TITLE:"Tulkojuma p\u0101rfr\u0101z\u0113\u0161ana",DESCRIPTION:"P\u0101rfr\u0101z\u0113jiet tekstu nor\u0101d\u012Btaj\u0101 rakst\u012Bbas stil\u0101, piel\u0101gojot valodu un toni, lai tas atbilstu nor\u0101d\u012Btajam m\u0113r\u0137a stilam vai v\u0113st\u012Bjumam.",CLOSE:"Aizv\u0113rt",CANCEL:"Atcelt",ACTION:"P\u0101rfr\u0101z\u0113t",REPHRASING:"P\u0101rfr\u0101z\u0113\u0161ana...",LIMIT:"\u0160odien atliku\u0161\u0101s p\u0101rfr\u0101z\u0113\u0161anas darb\u012Bbas: <span class='text-m-semi-bold'>{{limit}}</span>. Vai nepiecie\u0161ams vair\u0101k? <a href='{{subscriptionUrl}}' target='_blank'>Ieg\u016Bstiet abonementu</a>"},SUMMARY_MODAL:{TITLE:"Kopsavilkums",DESCRIPTION:"\u0100tri apkopojiet garus tekstus skaidros kopsavilkumos, izmantojot m\u016Bsu moderno LLM funkciju.",CANCEL:"Atcelt",CLOSE:"Aizv\u0113rt",ACTION:"Izveidot kopsavilkumu",REGENERATE:"\u0122ener\u0113t atk\u0101rtoti",LIMIT:"\u0160odien atliku\u0161\u0101s kopsavilkuma darb\u012Bbas: <span class='text-m-semi-bold'>{{limit}}</span>. Vai nepiecie\u0161ams vair\u0101k? <a href='{{subscriptionUrl}}' target='_blank'>Ieg\u016Bstiet abonementu</a>"},USE_CASE:{MEETING:"San\u0101ksmes piez\u012Bmes (detaliz\u0113tas)",MEETINGBRIEF:"San\u0101ksme (p\u0101rskats)",EVENT:"Konference",GENERAL:"Visp\u0101r\u012Bgs",BRIEF:"\u012Ass",TRANSCRIPTEDITOR:"Profesion\u0101ls",TRANSCRIPTCLEANUP:"T\u012Br\u012B\u0161ana"},ERRORS:{QUOTA_LIMIT:"Esat sasniedzis j\u016Bsu kvotas ierobe\u017Eojumu. Vai nepiecie\u0161ams vair\u0101k? <a href='{{subscriptionUrl}}' target='_blank'>Ieg\u016Bstiet abonementu</a>",QUOTA_LIMIT_REACHED:"Esat sasniedzis j\u016Bsu kvotas ierobe\u017Eojumu. Vai nepiecie\u0161ams vair\u0101k? <a href='{{subscriptionUrl}}' target='_blank'>Ieg\u016Bstiet abonementu</a>",DEFAULT:"\u0160\u0137iet, mums rad\u0101s probl\u0113ma. L\u016Bdzu, <bold>atk\u0101rtojiet</bold> darb\u012Bbu. Ja tas nepal\u012Bdz, sazinieties ar m\u016Bsu <a href='mailto:{{supportEmail}}' target='_blank'>atbalsta komandu</a>."}},ERRORS:{MAX_CHAR_LENGTH:"Tikai {{maxCharLength}}/{{totalSymbols}} rakstz\u012Bmes tiks p\u0101rfraz\u0113tas/apkopotas."}}}});var Hh,L_=f(()=>{"use strict";D();mO();oy();vO();No();D();$h();Hh=(()=>{class t extends af{#e;#t;get showUseCaseSummary(){return this._showUseCaseSummary}set showUseCaseSummary(e){this._showUseCaseSummary=this.ensureTypeBool(e)}get showUseCaseRephrase(){return this._showUseCaseRephrase}set showUseCaseRephrase(e){this._showUseCaseRephrase=this.ensureTypeBool(e)}constructor(){super(gO),this.#e=y(Sa),this.#t=y(oc),this.supportEmail="support@tilde.com",this.maxCharLength=1e5,this._showUseCaseSummary=!1,this._showUseCaseRephrase=!1}ngOnInit(){super.ngOnInit(),this.#n()}ngOnChanges(){super.ngOnChanges(),this.#n()}#n(){this.#r(),this.#i()}#r(){this.serviceUrl&&(this.#t.llmService.url=this.serviceUrl),this.subscriptionUrl&&(this.#e.subscriptionUrl=this.subscriptionUrl),this.supportEmail&&(this.#e.supportEmail=this.supportEmail),this.appId&&(this.#t.sharedConfiguration.xAppId=this.appId),this.maxCharLength&&(this.#e.maxCharLength=this.maxCharLength),this.useLocalQuota!==void 0&&(this.#e.useLocalQuota=this.ensureTypeBool(this.useLocalQuota))}#i(){this.quotaServiceUrl&&(this.#t.quotaService.url=this.quotaServiceUrl)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["app-llm"]],inputs:{serviceUrl:"serviceUrl",subscriptionUrl:"subscriptionUrl",supportEmail:"supportEmail",appId:"appId",maxCharLength:"maxCharLength",text:"text",language:"language",useLocalQuota:"useLocalQuota",quotaServiceUrl:"quotaServiceUrl",showUseCaseSummary:"showUseCaseSummary",showUseCaseRephrase:"showUseCaseRephrase"},standalone:!0,features:[me,Ve,Ee],decls:1,vars:4,consts:[[3,"language","text","showUseCaseSummary","showUseCaseRephrase"]],template:function(i,r){i&1&&Q(0,"lib-llm",0),i&2&&M("language",r.language)("text",r.text)("showUseCaseSummary",r.showUseCaseSummary)("showUseCaseRephrase",r.showUseCaseRephrase)},dependencies:[hO,cO]})}}return t})()});var _G,xG,CG,wG,yO,bO=f(()=>{"use strict";pe();yb();L_();D();_G=()=>({voice:"lv-LV-male",voiceName:"Austris"}),xG=()=>({voice:"lv-LV-female",voiceName:"Marta"}),CG=()=>({voice:"lv-LV-sandra",voiceName:"Sandra"}),wG=(t,n,e)=>[t,n,e],yO=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["app-root"]],standalone:!0,features:[Ot([]),Ee],decls:2,vars:12,consts:[["language","lv","text","This is shor text to be summarized or rephrased. I just want to test if it is working or not. Just to make sure. Please change this text.",3,"showUseCaseSummary","showUseCaseRephrase","useLocalQuota"],["xApiKey","f9e79feb-997c-4f85-bd9d-d0c9a626c8a0",3,"voices","maxCharLength"]],template:function(i,r){i&1&&Q(0,"app-llm",0)(1,"app-text-to-speech",1),i&2&&(M("showUseCaseSummary",!1)("showUseCaseRephrase",!1)("useLocalQuota",!1),w(),M("voices",zD(8,wG,ju(5,_G),ju(6,xG),ju(7,CG)))("maxCharLength",500))},dependencies:[st,uh,Hh],encapsulation:2})}}return t})()});var _O,xO=f(()=>{"use strict";_O={production:!0}});function CO(t){return new A(3e3,!1)}function EG(){return new A(3100,!1)}function DG(){return new A(3101,!1)}function IG(t){return new A(3001,!1)}function SG(t){return new A(3003,!1)}function MG(t){return new A(3004,!1)}function AG(t,n){return new A(3005,!1)}function TG(){return new A(3006,!1)}function RG(){return new A(3007,!1)}function OG(t,n){return new A(3008,!1)}function FG(t){return new A(3002,!1)}function kG(t,n,e,i,r){return new A(3010,!1)}function NG(){return new A(3011,!1)}function LG(){return new A(3012,!1)}function PG(){return new A(3200,!1)}function jG(){return new A(3202,!1)}function VG(){return new A(3013,!1)}function BG(t){return new A(3014,!1)}function UG(t){return new A(3015,!1)}function zG(t){return new A(3016,!1)}function $G(t,n){return new A(3404,!1)}function HG(t){return new A(3502,!1)}function GG(t){return new A(3503,!1)}function WG(){return new A(3300,!1)}function qG(t){return new A(3504,!1)}function YG(t){return new A(3301,!1)}function KG(t,n){return new A(3302,!1)}function QG(t){return new A(3303,!1)}function ZG(t,n){return new A(3400,!1)}function XG(t){return new A(3401,!1)}function JG(t){return new A(3402,!1)}function e8(t,n){return new A(3505,!1)}function $r(t){switch(t.length){case 0:return new Rr;case 1:return t[0];default:return new Wl(t)}}function LO(t,n,e=new Map,i=new Map){let r=[],o=[],s=-1,a=null;if(n.forEach(l=>{let c=l.get("offset"),d=c==s,u=d&&a||new Map;l.forEach((m,h)=>{let v=h,b=m;if(h!=="offset")switch(v=t.normalizePropertyName(v,r),b){case Qf:b=e.get(h);break;case oi:b=i.get(h);break;default:b=t.normalizeStyleValue(h,v,b,r);break}u.set(v,b)}),d||o.push(u),a=u,s=c}),r.length)throw HG(r);return o}function o0(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&P_(e,"start",t)));break;case"done":t.onDone(()=>i(e&&P_(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&P_(e,"destroy",t)));break}}function P_(t,n,e){let i=e.totalTime,r=!!e.disabled,o=s0(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,i??t.totalTime,r),s=t._data;return s!=null&&(o._data=s),o}function s0(t,n,e,i,r="",o=0,s){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function un(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function wO(t){let n=t.indexOf(":"),e=t.substring(1,n),i=t.slice(n+1);return[e,i]}function a0(t){let n=t.parentNode||t.host||null;return n===t8?null:n}function n8(t){return t.substring(1,6)=="ebkit"}function i8(t){zo||(zo=r8()||{},EO=zo.style?"WebkitAppearance"in zo.style:!1);let n=!0;return zo.style&&!n8(t)&&(n=t in zo.style,!n&&EO&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in zo.style)),n}function r8(){return typeof document<"u"?document.body:null}function PO(t,n){for(;n;){if(n===t)return!0;n=a0(n)}return!1}function jO(t,n,e){if(e)return Array.from(t.querySelectorAll(n));let i=t.querySelector(n);return i?[i]:[]}function Wi(t){if(typeof t=="number")return t;let n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:G_(parseFloat(n[1]),n[2])}function G_(t,n){switch(n){case"s":return t*o8;default:return t}}function Zh(t,n,e){return t.hasOwnProperty("duration")?t:a8(t,n,e)}function a8(t,n,e){let i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,o=0,s="";if(typeof t=="string"){let a=t.match(i);if(a===null)return n.push(CO(t)),{duration:0,delay:0,easing:""};r=G_(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(o=G_(parseFloat(l),a[4]));let c=a[5];c&&(s=c)}else r=t;if(!e){let a=!1,l=n.length;r<0&&(n.push(EG()),a=!0),o<0&&(n.push(DG()),a=!0),a&&n.splice(l,0,CO(t))}return{duration:r,delay:o,easing:s}}function l8(t){return t.length?t[0]instanceof Map?t:t.map(n=>new Map(Object.entries(n))):[]}function di(t,n,e){n.forEach((i,r)=>{let o=c0(r);e&&!e.has(r)&&e.set(r,t.style[o]),t.style[o]=i})}function Ho(t,n){n.forEach((e,i)=>{let r=c0(i);t.style[r]=""})}function Ic(t){return Array.isArray(t)?t.length==1?t[0]:rM(t):t}function c8(t,n,e){let i=n.params||{},r=UO(t);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(IG(o))})}function UO(t){let n=[];if(typeof t=="string"){let e;for(;e=W_.exec(t);)n.push(e[1]);W_.lastIndex=0}return n}function Mc(t,n,e){let i=`${t}`,r=i.replace(W_,(o,s)=>{let a=n[s];return a==null&&(e.push(SG(s)),a=""),a.toString()});return r==i?t:r}function c0(t){return t.replace(d8,(...n)=>n[1].toUpperCase())}function u8(t,n){return t===0||n===0}function f8(t,n,e){if(e.size&&n.length){let i=n[0],r=[];if(e.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;o<n.length;o++){let s=n[o];r.forEach(a=>s.set(a,d0(t,a)))}}return n}function dn(t,n,e){switch(n.type){case oe.Trigger:return t.visitTrigger(n,e);case oe.State:return t.visitState(n,e);case oe.Transition:return t.visitTransition(n,e);case oe.Sequence:return t.visitSequence(n,e);case oe.Group:return t.visitGroup(n,e);case oe.Animate:return t.visitAnimate(n,e);case oe.Keyframes:return t.visitKeyframes(n,e);case oe.Style:return t.visitStyle(n,e);case oe.Reference:return t.visitReference(n,e);case oe.AnimateChild:return t.visitAnimateChild(n,e);case oe.AnimateRef:return t.visitAnimateRef(n,e);case oe.Query:return t.visitQuery(n,e);case oe.Stagger:return t.visitStagger(n,e);default:throw MG(n.type)}}function d0(t,n){return window.getComputedStyle(t)[n]}function p8(t,n){let e=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(i=>m8(i,e,n)):e.push(t),e}function m8(t,n,e){if(t[0]==":"){let l=g8(t,e);if(typeof l=="function"){n.push(l);return}t=l}let i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return e.push(UG(t)),n;let r=i[1],o=i[2],s=i[3];n.push(IO(r,s));let a=r==Jh&&s==Jh;o[0]=="<"&&!a&&n.push(IO(s,r))}function g8(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i)<parseFloat(e);default:return n.push(zG(t)),"* => *"}}function IO(t,n){let e=Wh.has(t)||qh.has(t),i=Wh.has(n)||qh.has(n);return(r,o)=>{let s=t==Jh||t==r,a=n==Jh||n==o;return!s&&e&&typeof r=="boolean"&&(s=r?Wh.has(t):qh.has(t)),!a&&i&&typeof o=="boolean"&&(a=o?Wh.has(n):qh.has(n)),s&&a}}function $O(t,n,e,i){return new q_(t).build(n,e,i)}function y8(t){let n=!!t.split(/\s*,\s*/).find(e=>e==zO);return n&&(t=t.replace(v8,"")),t=t.replace(/@\*/g,Qh).replace(/@\w+/g,e=>Qh+"-"+e.slice(1)).replace(/:animating/g,H_),[t,n]}function b8(t){return t?x({},t):null}function _8(t){if(typeof t=="string")return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){let i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}function x8(t,n){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=Zh(t,n).duration;return j_(o,0,"")}let e=t;if(e.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=j_(0,0,"");return o.dynamic=!0,o.strValue=e,o}let r=Zh(e,n);return j_(r.duration,r.delay,r.easing)}function $o(t){return t?(t=x({},t),t.params&&(t.params=b8(t.params))):t={},t}function j_(t,n,e){return{duration:t,delay:n,easing:e}}function u0(t,n,e,i,r,o,s=null,a=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}function HO(t,n,e,i,r,o=new Map,s=new Map,a,l,c=[]){return new K_().buildKeyframes(t,n,e,i,r,o,s,a,l,c)}function MO(t,n=3){let e=Math.pow(10,n-1);return Math.round(t*e)/e}function S8(t,n){let e=new Map,i;return t.forEach(r=>{if(r==="*"){i??=n.keys();for(let o of i)e.set(o,oi)}else for(let[o,s]of r)e.set(o,s)}),e}function AO(t,n,e,i,r,o,s,a,l,c,d,u,m){return{type:0,element:t,triggerName:n,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:m}}function M8(t,n,e,i,r){return t.some(o=>o(n,e,i,r))}function GO(t,n){let e=x({},n);return Object.entries(t).forEach(([i,r])=>{r!=null&&(e[i]=r)}),e}function A8(t,n,e){return new J_(t,n,e)}function T8(t,n,e){let i=[(s,a)=>!0],r={type:oe.Sequence,steps:[],options:null},o={type:oe.Transition,animation:r,matchers:i,options:null,queryCount:0,depCount:0};return new np(t,o,n)}function TO(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}function j8(t,n,e){let i=t.get(n);if(i){if(i.length){let r=i.indexOf(e);i.splice(r,1)}i.length==0&&t.delete(n)}return i}function V8(t){return t??null}function Yh(t){return t&&t.nodeType===1}function B8(t){return t=="start"||t=="done"}function OO(t,n){let e=t.style.display;return t.style.display=n??"none",e}function FO(t,n,e,i,r){let o=[];e.forEach(l=>o.push(OO(l)));let s=[];i.forEach((l,c)=>{let d=new Map;l.forEach(u=>{let m=n.computeStyle(c,u,r);d.set(u,m),(!m||m.length==0)&&(c[Bn]=P8,s.push(c))}),t.set(c,d)});let a=0;return e.forEach(l=>OO(l,o[a++])),s}function kO(t,n){let e=new Map;if(t.forEach(a=>e.set(a,[])),n.length==0)return e;let i=1,r=new Set(n),o=new Map;function s(a){if(!a)return i;let l=o.get(a);if(l)return l;let c=a.parentNode;return e.has(c)?l=c:r.has(c)?l=i:l=s(c),o.set(a,l),l}return n.forEach(a=>{let l=s(a);l!==i&&e.get(l).push(a)}),e}function In(t,n){t.classList?.add(n)}function Ta(t,n){t.classList?.remove(n)}function U8(t,n,e){$r(e).onDone(()=>t.processLeaveNode(n))}function z8(t){let n=[];return qO(t,n),n}function qO(t,n){for(let e=0;e<t.length;e++){let i=t[e];i instanceof Wl?qO(i.players,n):n.push(i)}}function $8(t,n){let e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let r=0;r<e.length;r++){let o=e[r];if(!n.hasOwnProperty(o)||t[o]!==n[o])return!1}return!0}function NO(t,n,e){let i=e.get(t);if(!i)return!1;let r=n.get(t);return r?i.forEach(o=>r.add(o)):n.set(t,i),e.delete(t),!0}function H8(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=z_(n[0]),n.length>1&&(i=z_(n[n.length-1]))):n instanceof Map&&(e=z_(n)),e||i?new i0(t,e,i):null}function z_(t){let n=null;return t.forEach((e,i)=>{G8(i)&&(n=n||new Map,n.set(i,e))}),n}function G8(t){return t==="display"||t==="position"}function W8(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function q8(t){let n=t.indexOf("."),e=t.substring(0,n),i=t.slice(n+1);return[e,i]}var t8,zo,EO,l0,Go,Wo,o8,VO,s8,BO,$_,Gh,Qh,DO,H_,W_,d8,h8,Xh,Jh,Wh,qh,zO,v8,SO,q_,Y_,Ac,C8,w8,E8,D8,I8,K_,ep,Q_,tp,Z_,V_,np,X_,J_,R8,e0,RO,O8,B_,F8,k8,N8,L8,WO,P8,Bn,Tc,Sc,U_,t0,n0,Rc,Ra,i0,ip,rp,Kh,YO,op,r0,sp,f0=f(()=>{"use strict";Zf();D();D();t8=typeof document>"u"?null:document.documentElement;zo=null,EO=!1;l0=(()=>{class t{validateStyleProperty(e){return i8(e)}containsElement(e,i){return PO(e,i)}getParentElement(e){return a0(e)}query(e,i,r){return jO(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],l){return new Rr(r,o)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),Go=class{static{this.NOOP=new l0}},Wo=class{},o8=1e3,VO="{{",s8="}}",BO="ng-enter",$_="ng-leave",Gh="ng-trigger",Qh=".ng-trigger",DO="ng-animating",H_=".ng-animating";W_=new RegExp(`${VO}\\s*(.+?)\\s*${s8}`,"g");d8=/-+([a-z0-9])/g;h8=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Xh=class extends Wo{normalizePropertyName(n,e){return c0(n)}normalizeStyleValue(n,e,i,r){let o="",s=i.toString().trim();if(h8.has(e)&&i!==0&&i!=="0")if(typeof i=="number")o="px";else{let a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&r.push(AG(n,i))}return s+o}},Jh="*";Wh=new Set(["true","1"]),qh=new Set(["false","0"]);zO=":self",v8=new RegExp(`s*${zO}s*,?`,"g");SO="",q_=class{constructor(n){this._driver=n}build(n,e,i){let r=new Y_(e);return this._resetContextStyleTimingState(r),dn(this,Ic(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector=SO,n.collectedStyles=new Map,n.collectedStyles.set(SO,new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,r=e.depCount=0,o=[],s=[];return n.name.charAt(0)=="@"&&e.errors.push(TG()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),a.type==oe.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,e))}),l.name=c}else if(a.type==oe.Transition){let l=this.visitTransition(a,e);i+=l.queryCount,r+=l.depCount,s.push(l)}else e.errors.push(RG())}),{type:oe.Trigger,name:n.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(n,e){let i=this.visitStyle(n.styles,e),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){let o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{UO(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&e.errors.push(OG(n.name,[...o.values()]))}return{type:oe.State,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;let i=dn(this,Ic(n.animation),e),r=p8(n.expr,e.errors);return{type:oe.Transition,matchers:r,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:$o(n.options)}}visitSequence(n,e){return{type:oe.Sequence,steps:n.steps.map(i=>dn(this,i,e)),options:$o(n.options)}}visitGroup(n,e){let i=e.currentTime,r=0,o=n.steps.map(s=>{e.currentTime=i;let a=dn(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:oe.Group,steps:o,options:$o(n.options)}}visitAnimate(n,e){let i=x8(n.timings,e.errors);e.currentAnimateTimings=i;let r,o=n.styles?n.styles:si({});if(o.type==oe.Keyframes)r=this.visitKeyframes(o,e);else{let s=n.styles,a=!1;if(!s){a=!0;let c={};i.easing&&(c.easing=i.easing),s=si(c)}e.currentTime+=i.duration+i.delay;let l=this.visitStyle(s,e);l.isEmptyStep=a,r=l}return e.currentAnimateTimings=null,{type:oe.Animate,timings:i,style:r,options:null}}visitStyle(n,e){let i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){let i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of r)typeof a=="string"?a===oi?i.push(a):e.errors.push(FG(a)):i.push(new Map(Object.entries(a)));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let l of a.values())if(l.toString().indexOf(VO)>=0){o=!0;break}}}),{type:oe.Style,styles:i,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,e){let i=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=e.collectedStyles.get(e.currentQuerySelector),d=c.get(l),u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(e.errors.push(kG(l,d.startTime,d.endTime,o,r)),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),e.options&&c8(a,e.options,e.errors)})})}visitKeyframes(n,e){let i={type:oe.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(NG()),i;let r=1,o=0,s=[],a=!1,l=!1,c=0,d=n.steps.map(S=>{let B=this._makeStyleAst(S,e),G=B.offset!=null?B.offset:_8(B.styles),De=0;return G!=null&&(o++,De=B.offset=G),l=l||De<0||De>1,a=a||De<c,c=De,s.push(De),B});l&&e.errors.push(LG()),a&&e.errors.push(PG());let u=n.steps.length,m=0;o>0&&o<u?e.errors.push(jG()):o==0&&(m=r/(u-1));let h=u-1,v=e.currentTime,b=e.currentAnimateTimings,E=b.duration;return d.forEach((S,B)=>{let G=m>0?B==h?1:m*B:s[B],De=G*E;e.currentTime=v+b.delay+De,b.duration=De,this._validateStyleAst(S,e),S.offset=G,i.styles.push(S)}),i}visitReference(n,e){return{type:oe.Reference,animation:dn(this,Ic(n.animation),e),options:$o(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:oe.AnimateChild,options:$o(n.options)}}visitAnimateRef(n,e){return{type:oe.AnimateRef,animation:this.visitReference(n.animation,e),options:$o(n.options)}}visitQuery(n,e){let i=e.currentQuerySelector,r=n.options||{};e.queryCount++,e.currentQuery=n;let[o,s]=y8(n.selector);e.currentQuerySelector=i.length?i+" "+o:o,un(e.collectedStyles,e.currentQuerySelector,new Map);let a=dn(this,Ic(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:oe.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:$o(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(VG());let i=n.timings==="full"?{duration:0,delay:0,easing:"full"}:Zh(n.timings,e.errors,!0);return{type:oe.Stagger,animation:dn(this,Ic(n.animation),e),timings:i,options:null}}};Y_=class{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};Ac=class{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}},C8=1,w8=":enter",E8=new RegExp(w8,"g"),D8=":leave",I8=new RegExp(D8,"g");K_=class{buildKeyframes(n,e,i,r,o,s,a,l,c,d=[]){c=c||new Ac;let u=new Q_(n,e,c,r,o,d,[]);u.options=l;let m=l.delay?Wi(l.delay):0;u.currentTimeline.delayNextStep(m),u.currentTimeline.setStyles([s],null,u.errors,l),dn(this,i,u);let h=u.timelines.filter(v=>v.containsAnimation());if(h.length&&a.size){let v;for(let b=h.length-1;b>=0;b--){let E=h[b];if(E.element===e){v=E;break}}v&&!v.allowOnlyTimelineStyles()&&v.setStyles([a],null,u.errors,l)}return h.length?h.map(v=>v.buildKeyframes()):[u0(e,[],[],[],0,m,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){let i=e.subInstructions.get(e.element);if(i){let r=e.createSubContext(n.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=n}visitAnimateRef(n,e){let i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,i),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,i){for(let r of n){let o=r?.delay;if(o){let s=typeof o=="number"?o:Wi(Mc(o,r?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,e,i){let o=e.currentTimeline.currentTime,s=i.duration!=null?Wi(i.duration):null,a=i.delay!=null?Wi(i.delay):null;return s!==0&&n.forEach(l=>{let c=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(n,e){e.updateOptions(n.options,!0),dn(this,n.animation,e),e.previousNode=n}visitSequence(n,e){let i=e.subContextCount,r=e,o=n.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),o.delay!=null)){r.previousNode.type==oe.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=ep);let s=Wi(o.delay);r.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>dn(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){let i=[],r=e.currentTimeline.currentTime,o=n.options&&n.options.delay?Wi(n.options.delay):0;n.steps.forEach(s=>{let a=e.createSubContext(n.options);o&&a.delayNextStep(o),dn(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(r),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){let i=n.strValue,r=e.params?Mc(i,e.params,e.errors):i;return Zh(r,e.errors)}else return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){let i=e.currentAnimateTimings=this._visitTiming(n.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());let o=n.style;o.type==oe.Keyframes?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){let i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();let o=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){let i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,n.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+o),e.previousNode=n}visitQuery(n,e){let i=e.currentTimeline.currentTime,r=n.options||{},o=r.delay?Wi(r.delay):0;o&&(e.previousNode.type===oe.Style||i==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ep);let s=i,a=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{e.currentQueryIndex=d;let u=e.createSubContext(n.options,c);o&&u.delayNextStep(o),c===e.element&&(l=u.currentTimeline),dn(this,n.animation,u),u.currentTimeline.applyStylesToKeyframe();let m=u.currentTimeline.currentTime;s=Math.max(s,m)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){let i=e.parentContext,r=e.currentTimeline,o=n.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1),l=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime;break}let d=e.currentTimeline;l&&d.delayNextStep(l);let u=d.currentTime;dn(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}},ep={},Q_=class t{constructor(n,e,i,r,o,s,a,l){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ep,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new tp(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;let i=n,r=this.options;i.duration!=null&&(r.duration=Wi(i.duration)),i.delay!=null&&(r.delay=Wi(i.delay));let o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=Mc(o[a],s,this.errors))})}}_copyOptions(){let n={};if(this.options){let e=this.options.params;if(e){let i=n.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return n}createSubContext(n=null,e,i){let r=e||this.element,o=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=ep,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){let r={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new Z_(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,r,o,s){let a=[];if(r&&a.push(this.element),n.length>0){n=n.replace(E8,"."+this._enterClassName),n=n.replace(I8,"."+this._leaveClassName);let l=i!=1,c=this._driver.query(this.element,n,l);i!==0&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&a.length==0&&s.push(BG(e)),a}},tp=class t{constructor(n,e,i,r){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new t(this._driver,n,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=C8,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||oi),this._currentKeyframe.set(e,oi);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,r){e&&this._previousKeyframe.set("easing",e);let o=r&&r.params||{},s=S8(n,this._globalTimelineStyles);for(let[a,l]of s){let c=Mc(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??oi),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{let r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let n=new Set,e=new Set,i=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((d,u)=>{d===Qf?n.add(u):d===oi&&e.add(u)}),i||c.set("offset",l/this.duration),r.push(c)});let o=[...n.values()],s=[...e.values()];if(i){let a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return u0(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}},Z_=class extends tp{constructor(n,e,i,r,o,s,a=!1){super(n,e,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){let o=[],s=i+e,a=e/s,l=new Map(n[0]);l.set("offset",0),o.push(l);let c=new Map(n[0]);c.set("offset",MO(a)),o.push(c);let d=n.length-1;for(let u=1;u<=d;u++){let m=new Map(n[u]),h=m.get("offset"),v=e+h*i;m.set("offset",MO(v/s)),o.push(m)}i=s,e=0,r="",n=o}return u0(this.element,n,this.preStyleProps,this.postStyleProps,i,e,r,!0)}};V_={},np=class{constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,r){return M8(this.ast.matchers,n,e,i,r)}buildStyles(n,e,i){let r=this._stateStyles.get("*");return n!==void 0&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(e,i):new Map}build(n,e,i,r,o,s,a,l,c,d){let u=[],m=this.ast.options&&this.ast.options.params||V_,h=a&&a.params||V_,v=this.buildStyles(i,h,u),b=l&&l.params||V_,E=this.buildStyles(r,b,u),S=new Set,B=new Map,G=new Map,De=r==="void",nt={params:GO(b,m),delay:this.ast.options?.delay},Te=d?[]:HO(n,e,this.ast.animation,o,s,v,E,nt,c,u),$e=0;return Te.forEach(ht=>{$e=Math.max(ht.duration+ht.delay,$e)}),u.length?AO(e,this._triggerName,i,r,De,v,E,[],[],B,G,$e,u):(Te.forEach(ht=>{let ui=ht.element,qo=un(B,ui,new Set);ht.preStyleProps.forEach(Hr=>qo.add(Hr));let p0=un(G,ui,new Set);ht.postStyleProps.forEach(Hr=>p0.add(Hr)),ui!==e&&S.add(ui)}),AO(e,this._triggerName,i,r,De,v,E,Te,[...S.values()],B,G,$e))}};X_=class{constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){let i=new Map,r=GO(n,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=Mc(s,r,e));let l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(a,s)})}),i}};J_=class{constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{let o=r.options&&r.options.params||{};this.states.set(r.name,new X_(r.style,o,i))}),TO(this.states,"true","1"),TO(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new np(n,r,this.states))}),this.fallbackTransition=T8(n,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,r){return this.transitionFactories.find(s=>s.match(n,e,i,r))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}};R8=new Ac,e0=class{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,e){let i=[],r=[],o=$O(this._driver,e,i,r);if(i.length)throw GG(i);r.length&&void 0,this._animations.set(n,o)}_buildPlayer(n,e,i){let r=n.element,o=LO(this._normalizer,n.keyframes,e,i);return this._driver.animate(r,o,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){let r=[],o=this._animations.get(n),s,a=new Map;if(o?(s=HO(this._driver,e,o,BO,$_,new Map,new Map,i,R8,r),s.forEach(d=>{let u=un(a,d.element,new Map);d.postStyleProps.forEach(m=>u.set(m,null))})):(r.push(WG()),s=[]),r.length)throw qG(r);a.forEach((d,u)=>{d.forEach((m,h)=>{d.set(h,this._driver.computeStyle(u,h,oi))})});let l=s.map(d=>{let u=a.get(d.element);return this._buildPlayer(d,new Map,u)}),c=$r(l);return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){let e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);let i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){let e=this._playersById.get(n);if(!e)throw YG(n);return e}listen(n,e,i,r){let o=s0(e,"","","");return o0(this._getPlayer(n),i,o,r),()=>{}}command(n,e,i,r){if(i=="register"){this.register(n,r[0]);return}if(i=="create"){let s=r[0]||{};this.create(n,e,s);return}let o=this._getPlayer(n);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(n);break}}},RO="ng-animate-queued",O8=".ng-animate-queued",B_="ng-animate-disabled",F8=".ng-animate-disabled",k8="ng-star-inserted",N8=".ng-star-inserted",L8=[],WO={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},P8={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Bn="__ng_removed",Tc=class{get params(){return this.options.params}constructor(n,e=""){this.namespaceId=e;let i=n&&n.hasOwnProperty("value"),r=i?n.value:n;if(this.value=V8(r),i){let o=n,{value:s}=o,a=cp(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){let e=n.params;if(e){let i=this.options.params;Object.keys(e).forEach(r=>{i[r]==null&&(i[r]=e[r])})}}},Sc="void",U_=new Tc(Sc),t0=class{constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,In(e,this._hostClassName)}listen(n,e,i,r){if(!this._triggers.has(e))throw KG(i,e);if(i==null||i.length==0)throw QG(e);if(!B8(i))throw ZG(i,e);let o=un(this._elementListeners,n,[]),s={name:e,phase:i,callback:r};o.push(s);let a=un(this._engine.statesByElement,n,new Map);return a.has(e)||(In(n,Gh),In(n,Gh+"-"+e),a.set(e,U_)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(n,e){return this._triggers.has(n)?!1:(this._triggers.set(n,e),!0)}_getTrigger(n){let e=this._triggers.get(n);if(!e)throw XG(n);return e}trigger(n,e,i,r=!0){let o=this._getTrigger(e),s=new Rc(this.id,e,n),a=this._engine.statesByElement.get(n);a||(In(n,Gh),In(n,Gh+"-"+e),this._engine.statesByElement.set(n,a=new Map));let l=a.get(e),c=new Tc(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=U_),!(c.value===Sc)&&l.value===c.value){if(!$8(l.params,c.params)){let b=[],E=o.matchStyles(l.value,l.params,b),S=o.matchStyles(c.value,c.params,b);b.length?this._engine.reportError(b):this._engine.afterFlush(()=>{Ho(n,E),di(n,S)})}return}let m=un(this._engine.playersByElement,n,[]);m.forEach(b=>{b.namespaceId==this.id&&b.triggerName==e&&b.queued&&b.destroy()});let h=o.matchTransition(l.value,c.value,n,c.params),v=!1;if(!h){if(!r)return;h=o.fallbackTransition,v=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:h,fromState:l,toState:c,player:s,isFallbackTransition:v}),v||(In(n,RO),s.onStart(()=>{Ta(n,RO)})),s.onDone(()=>{let b=this.players.indexOf(s);b>=0&&this.players.splice(b,1);let E=this._engine.playersByElement.get(n);if(E){let S=E.indexOf(s);S>=0&&E.splice(S,1)}}),this.players.push(s),m.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);let e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){let i=this._engine.driver.query(n,Qh,!0);i.forEach(r=>{if(r[Bn])return;let o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(n,e,i,r){let o=this._engine.statesByElement.get(n),s=new Map;if(o){let a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){let d=this.trigger(n,c,Sc,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,s),i&&$r(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){let e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(e&&i){let r=new Set;e.forEach(o=>{let s=o.name;if(r.has(s))return;r.add(s);let l=this._triggers.get(s).fallbackTransition,c=i.get(s)||U_,d=new Tc(Sc),u=new Rc(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(n,e){let i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let r=!1;if(i.totalAnimations){let o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)r=!0;else{let s=n;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,e);else{let o=n[Bn];(!o||o===WO)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){In(n,this._hostClassName)}drainQueuedTransitions(n){let e=[];return this._queue.forEach(i=>{let r=i.player;if(r.destroyed)return;let o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){let l=s0(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,o0(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{let o=i.transition.ast.depCount,s=r.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}},n0=class{_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}constructor(n,e,i){this.bodyNode=n,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,o)=>{}}get queuedPlayers(){let n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){let i=new t0(n,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,e){let i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){let l=r.get(a);if(l){let c=i.indexOf(l);i.splice(c+1,0,n),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(n)}else i.push(n);return r.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let r=this._namespaceLookup[n];r&&r.register(e,i)&&this.totalAnimations++}destroy(n,e){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);let r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(e),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){let e=new Set,i=this.statesByElement.get(n);if(i){for(let r of i.values())if(r.namespaceId){let o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}}return e}trigger(n,e,i,r){if(Yh(e)){let o=this._fetchNamespace(n);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(n,e,i,r){if(!Yh(e))return;let o=e[Bn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){let s=this._fetchNamespace(n);s&&s.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),In(n,B_)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Ta(n,B_))}removeNode(n,e,i){if(Yh(e)){let r=n?this._fetchNamespace(n):null;r?r.removeNode(e,i):this.markElementAsRemoved(n,e,!1,i);let o=this.namespacesByHostElement.get(e);o&&o.id!==n&&o.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(n,e,i,r,o){this.collectedLeaveElements.push(e),e[Bn]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,e,i,r,o){return Yh(e)?this._fetchNamespace(n).listen(e,i,r,o):()=>{}}_buildInstruction(n,e,i,r,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,e,o)}destroyInnerAnimations(n){let e=this.driver.query(n,Qh,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(n,H_,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){let e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){let e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return $r(this.players).onDone(()=>n());n()})}processLeaveNode(n){let e=n[Bn];if(e&&e.setForRemoval){if(n[Bn]=WO,e.namespaceId){this.destroyInnerAnimations(n);let i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(B_)&&this.markElementAsDisabled(n,!1),this.driver.query(n,F8,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++){let r=this.collectedEnterElements[i];In(r,k8)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let i=[];try{e=this._flushAnimations(i,n)}finally{for(let r=0;r<i.length;r++)i[r]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++){let r=this.collectedLeaveElements[i];this.processLeaveNode(r)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],e.length?$r(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw JG(n)}_flushAnimations(n,e){let i=new Ac,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(U=>{d.add(U);let W=this.driver.query(U,O8,!0);for(let K=0;K<W.length;K++)d.add(W[K])});let u=this.bodyNode,m=Array.from(this.statesByElement.keys()),h=kO(m,this.collectedEnterElements),v=new Map,b=0;h.forEach((U,W)=>{let K=BO+b++;v.set(W,K),U.forEach(Se=>In(Se,K))});let E=[],S=new Set,B=new Set;for(let U=0;U<this.collectedLeaveElements.length;U++){let W=this.collectedLeaveElements[U],K=W[Bn];K&&K.setForRemoval&&(E.push(W),S.add(W),K.hasAnimation?this.driver.query(W,N8,!0).forEach(Se=>S.add(Se)):B.add(W))}let G=new Map,De=kO(m,Array.from(S));De.forEach((U,W)=>{let K=$_+b++;G.set(W,K),U.forEach(Se=>In(Se,K))}),n.push(()=>{h.forEach((U,W)=>{let K=v.get(W);U.forEach(Se=>Ta(Se,K))}),De.forEach((U,W)=>{let K=G.get(W);U.forEach(Se=>Ta(Se,K))}),E.forEach(U=>{this.processLeaveNode(U)})});let nt=[],Te=[];for(let U=this._namespaceList.length-1;U>=0;U--)this._namespaceList[U].drainQueuedTransitions(e).forEach(K=>{let Se=K.player,pt=K.element;if(nt.push(Se),this.collectedEnterElements.length){let Dt=pt[Bn];if(Dt&&Dt.setForMove){if(Dt.previousTriggersValues&&Dt.previousTriggersValues.has(K.triggerName)){let Gr=Dt.previousTriggersValues.get(K.triggerName),fn=this.statesByElement.get(K.element);if(fn&&fn.has(K.triggerName)){let Oc=fn.get(K.triggerName);Oc.value=Gr,fn.set(K.triggerName,Oc)}}Se.destroy();return}}let Un=!u||!this.driver.containsElement(u,pt),Yt=G.get(pt),qi=v.get(pt),Ke=this._buildInstruction(K,i,qi,Yt,Un);if(Ke.errors&&Ke.errors.length){Te.push(Ke);return}if(Un){Se.onStart(()=>Ho(pt,Ke.fromStyles)),Se.onDestroy(()=>di(pt,Ke.toStyles)),r.push(Se);return}if(K.isFallbackTransition){Se.onStart(()=>Ho(pt,Ke.fromStyles)),Se.onDestroy(()=>di(pt,Ke.toStyles)),r.push(Se);return}let v0=[];Ke.timelines.forEach(Dt=>{Dt.stretchStartingKeyframe=!0,this.disabledNodes.has(Dt.element)||v0.push(Dt)}),Ke.timelines=v0,i.append(pt,Ke.timelines);let lF={instruction:Ke,player:Se,element:pt};s.push(lF),Ke.queriedElements.forEach(Dt=>un(a,Dt,[]).push(Se)),Ke.preStyleProps.forEach((Dt,Gr)=>{if(Dt.size){let fn=l.get(Gr);fn||l.set(Gr,fn=new Set),Dt.forEach((Oc,lp)=>fn.add(lp))}}),Ke.postStyleProps.forEach((Dt,Gr)=>{let fn=c.get(Gr);fn||c.set(Gr,fn=new Set),Dt.forEach((Oc,lp)=>fn.add(lp))})});if(Te.length){let U=[];Te.forEach(W=>{U.push(e8(W.triggerName,W.errors))}),nt.forEach(W=>W.destroy()),this.reportError(U)}let $e=new Map,ht=new Map;s.forEach(U=>{let W=U.element;i.has(W)&&(ht.set(W,W),this._beforeAnimationBuild(U.player.namespaceId,U.instruction,$e))}),r.forEach(U=>{let W=U.element;this._getPreviousPlayers(W,!1,U.namespaceId,U.triggerName,null).forEach(Se=>{un($e,W,[]).push(Se),Se.destroy()})});let ui=E.filter(U=>NO(U,l,c)),qo=new Map;FO(qo,this.driver,B,c,oi).forEach(U=>{NO(U,l,c)&&ui.push(U)});let Hr=new Map;h.forEach((U,W)=>{FO(Hr,this.driver,new Set(U),l,Qf)}),ui.forEach(U=>{let W=qo.get(U),K=Hr.get(U);qo.set(U,new Map([...W?.entries()??[],...K?.entries()??[]]))});let ap=[],m0=[],g0={};s.forEach(U=>{let{element:W,player:K,instruction:Se}=U;if(i.has(W)){if(d.has(W)){K.onDestroy(()=>di(W,Se.toStyles)),K.disabled=!0,K.overrideTotalTime(Se.totalTime),r.push(K);return}let pt=g0;if(ht.size>1){let Yt=W,qi=[];for(;Yt=Yt.parentNode;){let Ke=ht.get(Yt);if(Ke){pt=Ke;break}qi.push(Yt)}qi.forEach(Ke=>ht.set(Ke,pt))}let Un=this._buildAnimation(K.namespaceId,Se,$e,o,Hr,qo);if(K.setRealPlayer(Un),pt===g0)ap.push(K);else{let Yt=this.playersByElement.get(pt);Yt&&Yt.length&&(K.parentPlayer=$r(Yt)),r.push(K)}}else Ho(W,Se.fromStyles),K.onDestroy(()=>di(W,Se.toStyles)),m0.push(K),d.has(W)&&r.push(K)}),m0.forEach(U=>{let W=o.get(U.element);if(W&&W.length){let K=$r(W);U.setRealPlayer(K)}}),r.forEach(U=>{U.parentPlayer?U.syncPlayerEvents(U.parentPlayer):U.destroy()});for(let U=0;U<E.length;U++){let W=E[U],K=W[Bn];if(Ta(W,$_),K&&K.hasAnimation)continue;let Se=[];if(a.size){let Un=a.get(W);Un&&Un.length&&Se.push(...Un);let Yt=this.driver.query(W,H_,!0);for(let qi=0;qi<Yt.length;qi++){let Ke=a.get(Yt[qi]);Ke&&Ke.length&&Se.push(...Ke)}}let pt=Se.filter(Un=>!Un.destroyed);pt.length?U8(this,W,pt):this.processLeaveNode(W)}return E.length=0,ap.forEach(U=>{this.players.push(U),U.onDone(()=>{U.destroy();let W=this.players.indexOf(U);this.players.splice(W,1)}),U.play()}),ap}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,r,o){let s=[];if(e){let a=this.playersByQueriedElement.get(n);a&&(s=a)}else{let a=this.playersByElement.get(n);if(a){let l=!o||o==Sc;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(n,e,i){let r=e.triggerName,o=e.element,s=e.isRemovalTransition?void 0:n,a=e.isRemovalTransition?void 0:r;for(let l of e.timelines){let c=l.element,d=c!==o,u=un(i,c,[]);this._getPreviousPlayers(c,d,s,a,e.toState).forEach(h=>{let v=h.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),h.destroy(),u.push(h)})}Ho(o,e.fromStyles)}_buildAnimation(n,e,i,r,o,s){let a=e.triggerName,l=e.element,c=[],d=new Set,u=new Set,m=e.timelines.map(v=>{let b=v.element;d.add(b);let E=b[Bn];if(E&&E.removedBeforeQueried)return new Rr(v.duration,v.delay);let S=b!==l,B=z8((i.get(b)||L8).map($e=>$e.getRealPlayer())).filter($e=>{let ht=$e;return ht.element?ht.element===b:!1}),G=o.get(b),De=s.get(b),nt=LO(this._normalizer,v.keyframes,G,De),Te=this._buildPlayer(v,nt,B);if(v.subTimeline&&r&&u.add(b),S){let $e=new Rc(n,a,b);$e.setRealPlayer(Te),c.push($e)}return Te});c.forEach(v=>{un(this.playersByQueriedElement,v.element,[]).push(v),v.onDone(()=>j8(this.playersByQueriedElement,v.element,v))}),d.forEach(v=>In(v,DO));let h=$r(m);return h.onDestroy(()=>{d.forEach(v=>Ta(v,DO)),di(l,e.toStyles)}),u.forEach(v=>{un(r,v,[]).push(h)}),h}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new Rr(n.duration,n.delay)}},Rc=class{constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i,this._player=new Rr,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>o0(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){let e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){un(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){let e=this._player;e.triggerCallback&&e.triggerCallback(n)}};Ra=class{constructor(n,e,i){this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new n0(n.body,e,i),this._timelineEngine=new e0(n.body,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(n,e,i,r,o){let s=n+"-"+r,a=this._triggerCache[s];if(!a){let l=[],c=[],d=$O(this._driver,o,l,c);if(l.length)throw $G(r,l);c.length&&void 0,a=A8(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,r,a)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,r){this._transitionEngine.insertNode(n,e,i,r)}onRemove(n,e,i){this._transitionEngine.removeNode(n,e,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,r){if(i.charAt(0)=="@"){let[o,s]=wO(i),a=r;this._timelineEngine.command(o,e,s,a)}else this._transitionEngine.trigger(n,e,i,r)}listen(n,e,i,r,o){if(i.charAt(0)=="@"){let[s,a]=wO(i);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(n,e,i,r,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}};i0=class t{static{this.initialStylesByElement=new WeakMap}constructor(n,e,i){this._element=n,this._startStyles=e,this._endStyles=i,this._state=0;let r=t.initialStylesByElement.get(n);r||t.initialStylesByElement.set(n,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&di(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(di(this._element,this._initialStyles),this._endStyles&&(di(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Ho(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ho(this._element,this._endStyles),this._endStyles=null),di(this._element,this._initialStyles),this._state=3)}};ip=class{constructor(n,e,i,r){this.element=n,this.keyframes=e,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map;let e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",e)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){let e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){return n.animate(this._convertKeyframesToObject(e),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{r!=="offset"&&n.set(r,this._finished?i:d0(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){let e=n==="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},rp=class{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,e){return PO(n,e)}getParentElement(n){return a0(n)}query(n,e,i){return jO(n,e,i)}computeStyle(n,e,i){return d0(n,e)}animate(n,e,i,r,o,s=[]){let a=r==0?"both":"forwards",l={duration:i,delay:r,fill:a};o&&(l.easing=o);let c=new Map,d=s.filter(h=>h instanceof ip);u8(i,r)&&d.forEach(h=>{h.currentSnapshot.forEach((v,b)=>c.set(b,v))});let u=l8(e).map(h=>new Map(h));u=f8(n,u,c);let m=H8(n,u);return new ip(n,u,l,m)}},Kh="@",YO="@.disabled",op=class{constructor(n,e,i,r){this.namespaceId=n,this.delegate=e,this.engine=i,this._onDestroy=r,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,r=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,r)}removeChild(n,e,i){this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,r){this.delegate.setAttribute(n,e,i,r)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,r){this.delegate.setStyle(n,e,i,r)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){e.charAt(0)==Kh&&e==YO?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i){return this.delegate.listen(n,e,i)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}},r0=class extends op{constructor(n,e,i,r,o){super(e,i,r,o),this.factory=n,this.namespaceId=e}setProperty(n,e,i){e.charAt(0)==Kh?e.charAt(1)=="."&&e==YO?(i=i===void 0?!0:!!i,this.disableAnimations(n,i)):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i){if(e.charAt(0)==Kh){let r=W8(n),o=e.slice(1),s="";return o.charAt(0)!=Kh&&([o,s]=q8(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,i,a)})}return this.delegate.listen(n,e,i)}};sp=class{constructor(n,e,i){this.delegate=n,this.engine=e,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,e.onRemovalComplete=(r,o)=>{o?.removeChild(null,r)}}createRenderer(n,e){let i="",r=this.delegate.createRenderer(n,e);if(!n||!e?.data?.animation){let c=this._rendererCache,d=c.get(r);if(!d){let u=()=>c.delete(r);d=new op(i,r,this.engine,u),c.set(r,d)}return d}let o=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,n);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,n,c.name,c)};return e.data.animation.forEach(a),new r0(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,e,i){if(n>=0&&n<this._microtaskId){this._zone.run(()=>e(i));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),r.push([e,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}});function Q8(){return new Xh}function Z8(t,n,e){return new sp(t,n,e)}function QO(){return bn("NgEagerAnimations"),[...X8]}var K8,KO,X8,yce,ZO=f(()=>{"use strict";D();D();Ps();f0();f0();pe();K8=(()=>{class t extends Ra{constructor(e,i,r){super(e,i,r)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(i){return new(i||t)(g(z),g(Go),g(Wo))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})();KO=[{provide:Wo,useFactory:Q8},{provide:Ra,useClass:K8},{provide:sr,useFactory:Z8,deps:[ef,Ra,F]}],X8=[{provide:Go,useFactory:()=>new rp},{provide:rt,useValue:"BrowserAnimations"},...KO],yce=[{provide:Go,useClass:l0},{provide:rt,useValue:"NoopAnimations"},...KO]});var XO,JO=f(()=>{"use strict";Ma();XO=()=>({provide:Sa,useFactory:()=>({supportEmail:"",maxCharLength:1e4,subscriptionUrl:"",useLocalQuota:!0})})});var eF,tF=f(()=>{"use strict";sf();eF=()=>({provide:Us,useValue:{}})});var nF,iF=f(()=>{"use strict";D();sf();Re();nF=(t,n)=>{let e=y(Us),i=window;if(e.skipAuthUrls?.find(r=>t.url.includes(r)))return n(t);if(i.getTildeWebComponentAuthToken){let r=i.getTildeWebComponentAuthToken;return Ne(r()).pipe(He(o=>{let s=t.clone({setHeaders:{Authorization:`Bearer ${o}`}});return n(s)}))}if(e.xApiKey){let r=t.clone({setHeaders:{"X-Api-Key":`${e.xApiKey}`}});return n(r)}return n(t)}});var rF,oF=f(()=>{"use strict";No();rF=()=>{let t="https://services.tilde.com/service";return{provide:oc,useFactory:()=>({sharedConfiguration:{xAppId:""},quotaService:{url:`${t}/quota/usage`},llmService:{url:`${t}/language-assistant`}})}}});var h0,sF=f(()=>{"use strict";bl();D();ZO();bt();JO();tF();iF();oF();h0={providers:[bI(_I([nF])),QO(),Ng(ei.forRoot()),XO(),rF(),eF()]}});var J8=uF(aF=>{QD();Ps();bO();L_();xO();sF();yb();Yo(aF,null,function*(){let t=yield MI(h0),n=Sv(uh,{injector:t.injector}),e=Sv(Hh,{injector:t.injector});customElements.define("tilde-text-to-speech",n),customElements.define("tilde-llm",e)});_O.production||SI(yO,h0).catch(t=>console.error(t))});export default J8();
45
+ `});var JC={};BF(JC,{REPHRASE:()=>G8,SUMMARIZE:()=>$8});var oN=f(()=>{"use strict";rN()});var sN,aN=f(()=>{"use strict";b();fn();Or();mt();b();Or();fn();sN=(()=>{class t{constructor(){this.data=u(xa)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=U({type:t,selectors:[["lib-new-feature-dialog"]],decls:10,vars:9,consts:[["mat-dialog-title",""],[1,"description",3,"innerHTML"],["mat-button","","mat-dialog-close","","color","accent"]],template:function(i,r){i&1&&(E(0,"h2",0),se(1),le(2,"translate"),M(),E(3,"mat-dialog-content"),q(4,"p",1),le(5,"translate"),M(),E(6,"mat-dialog-actions")(7,"button",2),se(8),le(9,"translate"),M()()),i&2&&(x(),ft(be(2,3,r.data.title)),x(3),S("innerHTML",be(5,5,r.data.description),Ti),x(4),Je(" ",be(9,7,r.data.close)," "))},dependencies:[jo,jc,Vc,Uc,Bc,wr,si,pt],styles:["[_nghost-%COMP%] {display:inline-block;padding:12px 16px}[_nghost-%COMP%] .mat-mdc-dialog-title, [_nghost-%COMP%] mat-dialog-actions, [_nghost-%COMP%] mat-dialog-content{padding:0!important;margin:0!important}"]})}}return t})()});var lN,cN=f(()=>{"use strict";b();b();lN=(()=>{class t{constructor(){this.current=cn(void 0),this.queue=[]}requestOpenFeature(e){this.queue.includes(e)||(this.queue.push(e),this.current()||this.showNextFeature())}showNextFeature(){if(this.queue.length===0)return;let e=this.queue.shift();e&&(this.current.set(e),e.showFeatureDialog())}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var ja,Mp=f(()=>{"use strict";b();Or();pe();aN();Pr();cN();Se();b();ja=(()=>{class t{constructor(){this.timeout=0,this.maxWidth=320,this.#e=u(Rr),this.#t=u(lN),this.#n=new T,this.featureActive=cn(!1),this.isFeatureSeen=!1}#e;#t;#n;ngOnInit(){setTimeout(()=>{this.setFeatureStatus()},this.timeout)}ngOnDestroy(){this.#n.next(null),this.#n.complete()}showFeatureDialog(){let e=document.querySelector(`.${this.featureClassName}`);e&&(Go.isMobileRes()&&this.mobileScreenCustomPosition?.autoScroll&&e.scrollIntoView({behavior:"smooth",block:"center"}),setTimeout(()=>{this.featureActive.set(!0);let i=e.getBoundingClientRect();this.dialogRef=this.#e.open(sN,{data:{title:this.titleLocalizationKey,description:this.descriptionLocalizationKey,close:this.closeLocalizationKey,featureLocalStorageKey:this.featureLocalStorageKey},position:{left:`${Go.isMobileRes()&&this.mobileScreenCustomPosition?.left?this.mobileScreenCustomPosition.left:i.left-this.maxWidth+"px"}`,top:`${Go.isMobileRes()&&this.mobileScreenCustomPosition?.top?this.mobileScreenCustomPosition.top:i.top+45+"px"}`},maxWidth:`${this.maxWidth}px`}),this.dialogRef.afterClosed().subscribe(()=>{this.setFeatureSeen(),this.#t.current.set(void 0),this.#t.showNextFeature()})},Go.isMobileRes()&&this.mobileScreenCustomPosition?.autoScroll?500:0))}setFeatureStatus(){this.isFeatureSeen=!!this.featureLocalStorageKey&&!!localStorage.getItem(this.featureLocalStorageKey),this.isFeatureSeen||this.#t.requestOpenFeature(this)}setFeatureSeen(){this.featureActive.set(!1),this.isFeatureSeen=!0,this.featureLocalStorageKey&&localStorage.setItem(this.featureLocalStorageKey,"true")}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=U({type:t,selectors:[["lib-new-feature-dialog-wrapper"]],inputs:{titleLocalizationKey:"titleLocalizationKey",descriptionLocalizationKey:"descriptionLocalizationKey",closeLocalizationKey:"closeLocalizationKey",featureClassName:"featureClassName",featureLocalStorageKey:"featureLocalStorageKey",timeout:"timeout",maxWidth:"maxWidth",mobileScreenCustomPosition:"mobileScreenCustomPosition"},decls:0,vars:0,template:function(i,r){},dependencies:[Jt,jo],encapsulation:2})}}return t})()});var uN,ex=f(()=>{"use strict";b();Pa();b();fn();Gi();Mp();mt();uN=(()=>{class t{constructor(){this.openModalEvent=new z}openModal(){this.openModalEvent.emit(Vt.SUMMARY)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=U({type:t,selectors:[["lib-llm-summary"]],inputs:{isTextSummarizable:"isTextSummarizable",newFeatureLocalStorageKey:"newFeatureLocalStorageKey"},outputs:{openModalEvent:"openModalEvent"},standalone:!1,decls:6,vars:12,consts:[["summarizeFeature",""],["mat-stroked-button","","color","accent",1,"llm-summary",3,"click","disabled"],[3,"svgIcon"],[3,"titleLocalizationKey","descriptionLocalizationKey","closeLocalizationKey","featureClassName","featureLocalStorageKey"]],template:function(i,r){if(i&1){let o=ke();E(0,"button",1),ee("click",function(){return Ce(o),xe(r.openModal())}),q(1,"mat-icon",2),se(2),le(3,"translate"),M(),q(4,"lib-new-feature-dialog-wrapper",3,0)}if(i&2){let o=Xt(5);Q("summarize-feature-active",o==null?null:o.featureActive()),S("disabled",!r.isTextSummarizable),x(),S("svgIcon","summarize"),x(),Je(" ",be(3,10,"LLM.SUMMARY"),`
46
+ `),x(2),S("titleLocalizationKey","LLM.SUMMARY_NEW_FEATURE.TITLE")("descriptionLocalizationKey","LLM.SUMMARY_NEW_FEATURE.DESCRIPTION")("closeLocalizationKey","LLM.SUMMARY_NEW_FEATURE.CLOSE")("featureClassName","llm-summary")("featureLocalStorageKey","summary"+r.newFeatureLocalStorageKey)}},dependencies:[si,ai,ja,pt],styles:[".summarize-feature-active{z-index:1001!important;background-color:#fff!important}"]})}}return t})()});var fN,tx=f(()=>{"use strict";b();Pa();b();fn();Gi();Mp();mt();fN=(()=>{class t{constructor(){this.openModalEvent=new z}openModal(){this.openModalEvent.emit(Vt.REPHRASE)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=U({type:t,selectors:[["lib-llm-rephrase"]],inputs:{isTargetLanguageRephrasable:"isTargetLanguageRephrasable",newFeatureLocalStorageKey:"newFeatureLocalStorageKey"},outputs:{openModalEvent:"openModalEvent"},standalone:!1,decls:6,vars:13,consts:[["rephraseFeature",""],["mat-stroked-button","","color","accent",1,"llm-rephrase",3,"click","disabled"],[3,"svgIcon"],[3,"titleLocalizationKey","descriptionLocalizationKey","closeLocalizationKey","featureClassName","featureLocalStorageKey","maxWidth"]],template:function(i,r){if(i&1){let o=ke();E(0,"button",1),ee("click",function(){return Ce(o),xe(r.openModal())}),q(1,"mat-icon",2),se(2),le(3,"translate"),M(),q(4,"lib-new-feature-dialog-wrapper",3,0)}if(i&2){let o=Xt(5);Q("rephrase-feature-active",o==null?null:o.featureActive()),S("disabled",!r.isTargetLanguageRephrasable),x(),S("svgIcon","rephrase"),x(),Je(" ",be(3,11,"LLM.REPHRASE"),`
47
+ `),x(2),S("titleLocalizationKey","LLM.REPHRASE_NEW_FEATURE.TITLE")("descriptionLocalizationKey","LLM.REPHRASE_NEW_FEATURE.DESCRIPTION")("closeLocalizationKey","LLM.REPHRASE_NEW_FEATURE.CLOSE")("featureClassName","llm-rephrase")("featureLocalStorageKey","rephrase"+r.newFeatureLocalStorageKey)("maxWidth",400)}},dependencies:[si,ai,ja,pt],styles:[".rephrase-feature-active{z-index:1001!important;background-color:#fff!important}"]})}}return t})()});function K8(t,n){if(t&1){let e=ke();E(0,"div",2),le(1,"translate"),E(2,"lib-llm-summary",3),ee("openModalEvent",function(r){Ce(e);let o=G();return xe(o.openLLMModal(r))}),M()()}if(t&2){let e=G();S("matTooltipPosition","left")("matTooltip",e.isTextSummarizable?"":be(1,4,"LLM.MENU_SUMMARY_DISABLED_TOOLTIP")),x(2),S("isTextSummarizable",!!e.isTextSummarizable)("newFeatureLocalStorageKey",e.newFeatureLocalStorageKey)}}function Y8(t,n){if(t&1){let e=ke();E(0,"div",2),le(1,"translate"),E(2,"lib-llm-rephrase",4),ee("openModalEvent",function(r){Ce(e);let o=G();return xe(o.openLLMModal(r))}),M()()}if(t&2){let e=G();S("matTooltipPosition","left")("matTooltip",e.isTargetLanguageRephrasable?"":be(1,4,"LLM.MENU_REPHRASE_DISABLED_TOOLTIP")),x(2),S("isTargetLanguageRephrasable",!!e.isTargetLanguageRephrasable)("newFeatureLocalStorageKey",e.newFeatureLocalStorageKey)}}var hN,Tp=f(()=>{"use strict";b();rp();XC();oN();Se();b();Or();WC();pe();Sr();ex();tx();mt();hN=(()=>{class t{get isTextSummarizable(){return this.text}get isTargetLanguageRephrasable(){return!this.rephrasableLanguagesCodeList||this.language&&this.rephrasableLanguagesCodeList.includes(this.languageService.removeRegionFromLanguageCode(this.language))}constructor(e,i,r){this.dialog=e,this.iconService=i,this.languageService=r,this.summaryEnabled=!0,this.rephraseEnabled=!0,this.showUseCaseSummary=!1,this.showUseCaseRephrase=!1,this.menuTriggerClick=new z,this.llmAction=Vt,this.iconService.registerIcons(JC)}openLLMModal(e){let i;!this.text||typeof this.text=="string"?i=k(this.text??""):i=this.text;let r={text:i,language:this.language,action:e,showUseCaseSummary:this.showUseCaseSummary,showUseCaseRephrase:this.showUseCaseRephrase,summaryUseCases:this.summaryUseCases,rephraseUseCases:this.rephraseUseCases};this.dialog.open(iN,{panelClass:"responsive-dialog",maxWidth:"800px",width:"100%",data:r})}static{this.\u0275fac=function(i){return new(i||t)(A(Rr),A(vR),A(zC))}}static{this.\u0275cmp=U({type:t,selectors:[["lib-llm"]],inputs:{text:"text",language:"language",rephrasableLanguagesCodeList:"rephrasableLanguagesCodeList",summaryEnabled:"summaryEnabled",rephraseEnabled:"rephraseEnabled",showUseCaseSummary:"showUseCaseSummary",showUseCaseRephrase:"showUseCaseRephrase",newFeatureLocalStorageKey:"newFeatureLocalStorageKey",rephraseUseCases:"rephraseUseCases",summaryUseCases:"summaryUseCases"},outputs:{menuTriggerClick:"menuTriggerClick"},standalone:!1,decls:3,vars:2,consts:[[1,"llm-wrapper"],[3,"matTooltipPosition","matTooltip",4,"ngIf"],[3,"matTooltipPosition","matTooltip"],[3,"openModalEvent","isTextSummarizable","newFeatureLocalStorageKey"],[3,"openModalEvent","isTargetLanguageRephrasable","newFeatureLocalStorageKey"]],template:function(i,r){i&1&&(E(0,"div",0),re(1,K8,3,6,"div",1)(2,Y8,3,6,"div",1),M()),i&2&&(x(),S("ngIf",r.summaryEnabled),x(),S("ngIf",r.rephraseEnabled))},dependencies:[ki,Ki,uN,fN,pt],styles:[".llm-wrapper[_ngcontent-%COMP%]{display:flex;gap:8px}"]})}}return t})()});var pN=f(()=>{"use strict"});var mN=f(()=>{"use strict";pN()});var gN=f(()=>{"use strict";Mp();mN()});var yN,vN=f(()=>{"use strict";pe();Tp();fn();Gi();mt();Or();QC();vr();ZC();Ac();OC();Sr();np();Th();XC();gN();tx();ex();b();yN=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=F({type:t})}static{this.\u0275inj=N({imports:[Jt,wr,Ih,ni,jo,tN,sh,EM,Tc,EO,No,_a,xT,ja]})}}return t})()});var bN=f(()=>{"use strict";Tp();vN();Pa()});var _N,CN=f(()=>{"use strict";_N={en:{TOOLTIPS:{COPY:"Copy to clipboard",DISLIKE:"Dislike"},LLM:{USE_CASES_LABEL:"Use case",SUMMARY:"Summarize",REPHRASE:"Rephrasing turns raw speech into smooth, readable text \u2013 fast.",MENU_TOOLTIP:"Rephrase or summarize",MENU_DISABLED_TOOLTIP:"Summary and rephrase functions are not available",MENU_SUMMARY_DISABLED_TOOLTIP:"Summary available for texts that contain at least 100 characters",MENU_REPHRASE_DISABLED_TOOLTIP:"Rephrase is not available in selected language",UNSUPPORTED_MENU_DISABLED_TOOLTIP:"Feature unavailable",EU_DATA_TOOLTIP:"We utilise the Azure OpenAI Service, the entered data is securely processed on servers located within the EU",REPHRASE_MODAL:{TITLE:"Rephrase",DESCRIPTION:"Rephrase text into a specified writing style, adapting the language and tone to match a given target style or voice.",CLOSE:"Close",CANCEL:"Cancel",ACTION:"Rephrase",LIMIT:"Rephrases left today: <span class='text-m-semi-bold'>{{limit}}</span>. Need more? <a href='{{subscriptionUrl}}' target='_blank'>Get a subscription</a>"},SUMMARY_MODAL:{TITLE:"Summary",DESCRIPTION:"Quickly condense lengthy texts into clear summaries using our advanced LLM feature.",CANCEL:"Cancel",CLOSE:"Close",ACTION:"Create summary",REGENERATE:"Re-generate",LIMIT:"Summaries left today: <span class='text-m-semi-bold'>{{limit}}</span>. Need more? <a href='{{subscriptionUrl}}' target='_blank'>Get a subscription</a>"},ERRORS:{QUOTA_LIMIT_REACHED:"You have reached your quota limit. Need more? <a href='{{subscriptionUrl}}' target='_blank'>Get a subscription</a>",DEFAULT:"It seems like we had problem, please <bold>repeat</bold> action, if it doesn't work, contact our <a href='mailto:{{supportEmail}}' target='_blank'>support team</a>."},USE_CASE:{MEETING:"Meeting notes (detailed)",MEETINGBRIEF:"Meeting (overview)",EVENT:"Conference",GENERAL:"General",BRIEF:"Brief",TRANSCRIPTEDITOR:"Professional",TRANSCRIPTCLEANUP:"Cleanup"}},ERRORS:{MAX_CHAR_LENGTH:"Only {{maxCharLength}}/{{totalSymbols}} characters will be rephrased/summarized."}},et:{TOOLTIPS:{COPY:"Kopeerige l\xF5ikelauale",DISLIKE:"Ei meeldi"},LLM:{USE_CASES_LABEL:"Kasuta juhtumit",SUMMARY:"Tee kokkuv\xF5te",MENU_TOOLTIP:"S\xF5nasta \xFCmber v\xF5i tee kokkuv\xF5te",MENU_DISABLED_TOOLTIP:"Kokkuv\xF5tte tegemise ja \xFCmbers\xF5nastamise funktsioonid ei ole saadaval",MENU_SUMMARY_DISABLED_TOOLTIP:"Kokkuv\xF5tet saab teha tekstidele, milles on rohkem kui 100 t\xE4hem\xE4rki",MENU_REPHRASE_DISABLED_TOOLTIP:"\xDCmbers\xF5nastamine ei ole valitud keeles saadaval",UNSUPPORTED_MENU_DISABLED_TOOLTIP:"Funktsioon ei ole saadaval",TITLE:"S\xF5nasta \xFCmber",REPHRASE:"T\xF5lke \xFCmbers\xF5nastamine",EU_DATA_TOOLTIP:"Kasutame Azure OpenAI teenust, sisestatud andmeid t\xF6\xF6deldakse turvaliselt EL-is asuvates serverites",REPHRASE_MODAL:{TITLE:"T\xF5lke \xFCmbers\xF5nastamine",DESCRIPTION:"S\xF5nastage tekst \xFCmber kindlaksm\xE4\xE4ratud kirjastiili, kohandades keelt ja tooni vastavalt sihtstiilile v\xF5i -h\xE4\xE4lele.",CLOSE:"Sulge",CANCEL:"Loobu",ACTION:"\xDCmbers\xF5nastamine",REPHRASING:"\xDCmbers\xF5nastamine...",LIMIT:"T\xE4na j\xE4etud \xFCmbers\xF5nastused: <span class='text-m-semi-bold'>{{limit}}</span>. Lisateave <a href='{{subscriptionUrl}}' target='_blank'>Hankige tellimus</a>"},SUMMARY_MODAL:{TITLE:"Kokkuv\xF5te",DESCRIPTION:"Tehke pikad tekstid kiiresti selgeteks kokkuv\xF5teteks, kasutades meie t\xE4iustatud LLM-funktsiooni.",CANCEL:"Loobu",CLOSE:"Sulge",ACTION:"Kokkuv\xF5tte loomine",REGENERATE:"Uuesti loomine",LIMIT:"T\xE4na j\xE4etud \xFCmbers\xF5nastused <span class='text-m-semi-bold'>{{limit}}</span>. Lisateave <a href='{{subscriptionUrl}}' target='_blank'>Uuendage tellimust</a>"},USE_CASE:{MEETING:"Koosoleku m\xE4rkmed (\xFCksikasjalikud)",MEETINGBRIEF:"Koosolek (\xFClevaade)",EVENT:"Konverents",GENERAL:"\xDCldine",BRIEF:"L\xFChike",TRANSCRIPTEDITOR:"Professionaalne",TRANSCRIPTCLEANUP:"Puhastus"},ERRORS:{QUOTA_LIMIT:"Olete saavutanud oma limiidi. Lisateave <a href='{{subscriptionUrl}}' target='_blank'>Uuendage tellimust</a>",QUOTA_LIMIT_REACHED:"Olete saavutanud oma limiidi. Lisateave <a href='{{subscriptionUrl}}' target='_blank'>Uuendage tellimust</a>",DEFAULT:"N\xE4ib, et meil on probleem, palun <bold>korrake</bold> tegevust. Kui see ei \xF5nnestu, v\xF5tke \xFChendust meie<a href='mailto:{{supportEmail}}' target='_blank'>tugimeeskonnaga</a>."}},ERRORS:{MAX_CHAR_LENGTH:"\xDCmber s\xF5nastatakse/summeeritakse ainult {{maxCharLength}}/{{totalSymbols}} m\xE4rki."}},lt:{TOOLTIPS:{COPY:"Kopijuoti \u012F main\u0173 srit\u012F",DISLIKE:"Nepatinka"},LLM:{SUMMARY:"Kurti santrauk\u0105",USE_CASES_LABEL:"Naudoti atvej\u012F",MENU_TOOLTIP:"Performuluoti arba kurti santrauk\u0105",MENU_DISABLED_TOOLTIP:"Santraukos ir performulavimo funkcij\u0173 n\u0117ra",MENU_SUMMARY_DISABLED_TOOLTIP:"Santrauka galima, jei tekst\u0105 sudaro bent 100 simboli\u0173",MENU_REPHRASE_DISABLED_TOOLTIP:"Pasirinkta kalba performuluoti negalima",UNSUPPORTED_MENU_DISABLED_TOOLTIP:"Funkcija nepasiekiama",TITLE:"Performuluoti",REPHRASE:"Perfrazuoti vertim\u0105",EU_DATA_TOOLTIP:"Naudojame Azure OpenAI paslaug\u0105, \u012Fvesti duomenys saugiai apdorojami ES esan\u010Diuose serveriuose",REPHRASE_MODAL:{TITLE:"Perfrazuoti vertim\u0105",DESCRIPTION:"Perfrazuoti tekst\u0105 nurodytu ra\u0161ymo stiliumi pritaikant kalb\u0105 ir ton\u0105 prie tikslinio stiliaus ar tipo.",CLOSE:"U\u017Edaryti",CANCEL:"At\u0161aukti",ACTION:"Perfrazuoti",REPHRASING:"Perfrazuojama...",LIMIT:"\u0160iandien lik\u0119 perfrazavimai: <span class='text-m-semi-bold'>{{limit}}</span>. Reikia daugiau? <a href='{{subscriptionUrl}}' target='_blank'>Gaukite prenumerat\u0105</a>"},SUMMARY_MODAL:{DESCRIPTION:"Greitai sutrumpinti ilgus tekstus \u012F ai\u0161kias santraukas naudojant LLM funkcij\u0105.",CANCEL:"At\u0161aukti",CLOSE:"U\u017Edaryti",ACTION:"Kurti santrauk\u0105",REGENERATE:"Generuoti i\u0161 naujo",LIMIT:"\u0160iandien likusios santraukos: <span class='text-m-semi-bold'>{{limit}}</span>. Reikia daugiau? <a href='{{subscriptionUrl}}' target='_blank'>Gaukite prenumerat\u0105</a>",TITLE:"Santrauka"},USE_CASE:{MEETING:"Susitikimo u\u017Era\u0161ai (i\u0161sam\u016Bs)",MEETINGBRIEF:"Susitikimas (ap\u017Evalga)",EVENT:"Konferencija",GENERAL:"Bendrasis",BRIEF:"Trumpas",TRANSCRIPTEDITOR:"Profesionalus",TRANSCRIPTCLEANUP:"Valymas"},ERRORS:{QUOTA_LIMIT:"Pasiek\u0117te savo kiekio limit\u0105. Reikia daugiau? <a href='{{subscriptionUrl}}' target='_blank'>Gaukite prenumerat\u0105</a>",QUOTA_LIMIT_REACHED:"Pasiek\u0117te savo kiekio limit\u0105. Reikia daugiau? <a href='{{subscriptionUrl}}' target='_blank'>Gaukite prenumerat\u0105</a>",DEFAULT:"Atrodo, kilo problema. <bold>Pakartokite</bold> veiksm\u0105, o jei tai nepadeda, susisiekite su m\u016Bs\u0173 <a href='mailto:{{supportEmail}}' target='_blank'>palaikymo komanda</a>."}},ERRORS:{MAX_CHAR_LENGTH:"Bus performuluoti/apibendrinti tik {{maxCharLength}}/{{totalSymbols}} simboliai."}},lv:{TOOLTIPS:{COPY:"Kop\u0113t starpliktuv\u0113",DISLIKE:"Nepat\u012Bk"},LLM:{SUMMARY:"Apkopot",USE_CASES_LABEL:"Lieto\u0161anas nol\u016Bks",MENU_TOOLTIP:"P\u0101rfr\u0101z\u0113t vai Apkopot",MENU_DISABLED_TOOLTIP:"Funkcijas p\u0101rfr\u0101z\u0113t vai apkopot nav pieejamas",MENU_SUMMARY_DISABLED_TOOLTIP:"Apokopot iesp\u0113jams tikai tekstus gar\u0101kus par 100 z\u012Bm\u0113m",MENU_REPHRASE_DISABLED_TOOLTIP:"Izv\u0113l\u0113taj\u0101 valod\u0101 nav pieejama p\u0101rfr\u0101z\u0113\u0161anas funkcija",UNSUPPORTED_MENU_DISABLED_TOOLTIP:"Funkcija nav pieejama",EU_DATA_TOOLTIP:"M\u0113s izmantojam Azure OpenAI pakalpojumu, ievad\u012Btie dati tiek dro\u0161i apstr\u0101d\u0101ti serveros, kas atrodas ES",TITLE:"P\u0101rfr\u0101z\u0113\u0161ana",REPHRASE:"P\u0101rfr\u0101z\u0113t",REPHRASE_MODAL:{TITLE:"Tulkojuma p\u0101rfr\u0101z\u0113\u0161ana",DESCRIPTION:"P\u0101rfr\u0101z\u0113jiet tekstu nor\u0101d\u012Btaj\u0101 rakst\u012Bbas stil\u0101, piel\u0101gojot valodu un toni, lai tas atbilstu nor\u0101d\u012Btajam m\u0113r\u0137a stilam vai v\u0113st\u012Bjumam.",CLOSE:"Aizv\u0113rt",CANCEL:"Atcelt",ACTION:"P\u0101rfr\u0101z\u0113t",REPHRASING:"P\u0101rfr\u0101z\u0113\u0161ana...",LIMIT:"\u0160odien atliku\u0161\u0101s p\u0101rfr\u0101z\u0113\u0161anas darb\u012Bbas: <span class='text-m-semi-bold'>{{limit}}</span>. Vai nepiecie\u0161ams vair\u0101k? <a href='{{subscriptionUrl}}' target='_blank'>Ieg\u016Bstiet abonementu</a>"},SUMMARY_MODAL:{TITLE:"Kopsavilkums",DESCRIPTION:"\u0100tri apkopojiet garus tekstus skaidros kopsavilkumos, izmantojot m\u016Bsu moderno LLM funkciju.",CANCEL:"Atcelt",CLOSE:"Aizv\u0113rt",ACTION:"Izveidot kopsavilkumu",REGENERATE:"\u0122ener\u0113t atk\u0101rtoti",LIMIT:"\u0160odien atliku\u0161\u0101s kopsavilkuma darb\u012Bbas: <span class='text-m-semi-bold'>{{limit}}</span>. Vai nepiecie\u0161ams vair\u0101k? <a href='{{subscriptionUrl}}' target='_blank'>Ieg\u016Bstiet abonementu</a>"},USE_CASE:{MEETING:"San\u0101ksmes piez\u012Bmes (detaliz\u0113tas)",MEETINGBRIEF:"San\u0101ksme (p\u0101rskats)",EVENT:"Konference",GENERAL:"Visp\u0101r\u012Bgs",BRIEF:"\u012Ass",TRANSCRIPTEDITOR:"Profesion\u0101ls",TRANSCRIPTCLEANUP:"T\u012Br\u012B\u0161ana"},ERRORS:{QUOTA_LIMIT:"Esat sasniedzis j\u016Bsu kvotas ierobe\u017Eojumu. Vai nepiecie\u0161ams vair\u0101k? <a href='{{subscriptionUrl}}' target='_blank'>Ieg\u016Bstiet abonementu</a>",QUOTA_LIMIT_REACHED:"Esat sasniedzis j\u016Bsu kvotas ierobe\u017Eojumu. Vai nepiecie\u0161ams vair\u0101k? <a href='{{subscriptionUrl}}' target='_blank'>Ieg\u016Bstiet abonementu</a>",DEFAULT:"\u0160\u0137iet, mums rad\u0101s probl\u0113ma. L\u016Bdzu, <bold>atk\u0101rtojiet</bold> darb\u012Bbu. Ja tas nepal\u012Bdz, sazinieties ar m\u016Bsu <a href='mailto:{{supportEmail}}' target='_blank'>atbalsta komandu</a>."}},ERRORS:{MAX_CHAR_LENGTH:"Tikai {{maxCharLength}}/{{totalSymbols}} rakstz\u012Bmes tiks p\u0101rfraz\u0113tas/apkopotas."}}}});var Ap,nx=f(()=>{"use strict";b();bN();hb();CN();Vo();b();Tp();Ap=(()=>{class t extends zf{#e;#t;get showUseCaseSummary(){return this._showUseCaseSummary}set showUseCaseSummary(e){this._showUseCaseSummary=this.ensureTypeBool(e)}get showUseCaseRephrase(){return this._showUseCaseRephrase}set showUseCaseRephrase(e){this._showUseCaseRephrase=this.ensureTypeBool(e)}constructor(){super(_N),this.#e=u(La),this.#t=u(Hc),this.supportEmail="support@tilde.com",this.maxCharLength=1e5,this._showUseCaseSummary=!1,this._showUseCaseRephrase=!1}ngOnInit(){super.ngOnInit(),this.#n()}ngOnChanges(){super.ngOnChanges(),this.#n()}#n(){this.#r(),this.#i()}#r(){this.serviceUrl&&(this.#t.llmService.url=this.serviceUrl),this.subscriptionUrl&&(this.#e.subscriptionUrl=this.subscriptionUrl),this.supportEmail&&(this.#e.supportEmail=this.supportEmail),this.appId&&(this.#t.sharedConfiguration.xAppId=this.appId),this.maxCharLength&&(this.#e.maxCharLength=this.maxCharLength),this.useLocalQuota!==void 0&&(this.#e.useLocalQuota=this.ensureTypeBool(this.useLocalQuota))}#i(){this.quotaServiceUrl&&(this.#t.quotaService.url=this.quotaServiceUrl)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=U({type:t,selectors:[["app-llm"]],inputs:{serviceUrl:"serviceUrl",subscriptionUrl:"subscriptionUrl",supportEmail:"supportEmail",appId:"appId",maxCharLength:"maxCharLength",text:"text",language:"language",useLocalQuota:"useLocalQuota",quotaServiceUrl:"quotaServiceUrl",showUseCaseSummary:"showUseCaseSummary",showUseCaseRephrase:"showUseCaseRephrase"},features:[ge,Ve],decls:1,vars:4,consts:[[3,"language","text","showUseCaseSummary","showUseCaseRephrase"]],template:function(i,r){i&1&&q(0,"lib-llm",0),i&2&&S("language",r.language)("text",r.text)("showUseCaseSummary",r.showUseCaseSummary)("showUseCaseRephrase",r.showUseCaseRephrase)},dependencies:[yN,hN],encapsulation:2})}}return t})()});var Z8,X8,J8,e4,xN,wN=f(()=>{"use strict";pe();O_();nx();b();Z8=()=>({voice:"lv-LV-male",voiceName:"Austris"}),X8=()=>({voice:"lv-LV-female",voiceName:"Marta"}),J8=()=>({voice:"lv-LV-sandra",voiceName:"Sandra"}),e4=(t,n,e)=>[t,n,e],xN=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=U({type:t,selectors:[["app-root"]],features:[Tt([])],decls:2,vars:12,consts:[["language","lv","text","This is shor text to be summarized or rephrased. I just want to test if it is working or not. Just to make sure. Please change this text.",3,"showUseCaseSummary","showUseCaseRephrase","useLocalQuota"],["xApiKey","f9e79feb-997c-4f85-bd9d-d0c9a626c8a0",3,"voices","maxCharLength"]],template:function(i,r){i&1&&q(0,"app-llm",0)(1,"app-text-to-speech",1),i&2&&(S("showUseCaseSummary",!1)("showUseCaseRephrase",!1)("useLocalQuota",!1),x(),S("voices",aI(8,e4,bf(5,Z8),bf(6,X8),bf(7,J8)))("maxCharLength",500))},dependencies:[Jt,ip,Ap],encapsulation:2})}}return t})()});var EN,DN=f(()=>{"use strict";EN={production:!0}});function SN(t,n=null){return{type:ye.Sequence,steps:t,options:n}}function ix(t){return{type:ye.Style,styles:t,offset:null}}var ye,Un,er,Va,cd,rx=f(()=>{"use strict";ye=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(ye||{}),Un="*";er=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(n=0,e=0){this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Va=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(n){this.players=n;let e=0,i=0,r=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){let e=n*this.totalTime;this.players.forEach(i=>{let r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){let n=this.players.reduce((e,i)=>e===null||i.totalTime>e.totalTime?i:e,null);return n!=null?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},cd="!"});function IN(t){return new w(3e3,!1)}function t4(){return new w(3100,!1)}function n4(){return new w(3101,!1)}function i4(t){return new w(3001,!1)}function r4(t){return new w(3003,!1)}function o4(t){return new w(3004,!1)}function TN(t,n){return new w(3005,!1)}function AN(){return new w(3006,!1)}function RN(){return new w(3007,!1)}function ON(t,n){return new w(3008,!1)}function kN(t){return new w(3002,!1)}function NN(t,n,e,i,r){return new w(3010,!1)}function FN(){return new w(3011,!1)}function LN(){return new w(3012,!1)}function PN(){return new w(3200,!1)}function jN(){return new w(3202,!1)}function VN(){return new w(3013,!1)}function BN(t){return new w(3014,!1)}function UN(t){return new w(3015,!1)}function HN(t){return new w(3016,!1)}function zN(t,n){return new w(3404,!1)}function s4(t){return new w(3502,!1)}function $N(t){return new w(3503,!1)}function GN(){return new w(3300,!1)}function WN(t){return new w(3504,!1)}function qN(t){return new w(3301,!1)}function KN(t,n){return new w(3302,!1)}function YN(t){return new w(3303,!1)}function QN(t,n){return new w(3400,!1)}function ZN(t){return new w(3401,!1)}function XN(t){return new w(3402,!1)}function JN(t,n){return new w(3505,!1)}function tr(t){switch(t.length){case 0:return new er;case 1:return t[0];default:return new Va(t)}}function lx(t,n,e=new Map,i=new Map){let r=[],o=[],s=-1,a=null;if(n.forEach(l=>{let c=l.get("offset"),d=c==s,h=d&&a||new Map;l.forEach((m,p)=>{let g=p,y=m;if(p!=="offset")switch(g=t.normalizePropertyName(g,r),y){case cd:y=e.get(p);break;case Un:y=i.get(p);break;default:y=t.normalizeStyleValue(p,g,y,r);break}h.set(g,y)}),d||o.push(h),a=h,s=c}),r.length)throw s4(r);return o}function Rp(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&ox(e,"start",t)));break;case"done":t.onDone(()=>i(e&&ox(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&ox(e,"destroy",t)));break}}function ox(t,n,e){let i=e.totalTime,r=!!e.disabled,o=Op(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,i??t.totalTime,r),s=t._data;return s!=null&&(o._data=s),o}function Op(t,n,e,i,r="",o=0,s){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function tn(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function cx(t){let n=t.indexOf(":"),e=t.substring(1,n),i=t.slice(n+1);return[e,i]}function kp(t){let n=t.parentNode||t.host||null;return n===a4?null:n}function l4(t){return t.substring(1,6)=="ebkit"}function eF(t){Wo||(Wo=c4()||{},MN=Wo.style?"WebkitAppearance"in Wo.style:!1);let n=!0;return Wo.style&&!l4(t)&&(n=t in Wo.style,!n&&MN&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Wo.style)),n}function c4(){return typeof document<"u"?document.body:null}function dx(t,n){for(;n;){if(n===t)return!0;n=kp(n)}return!1}function ux(t,n,e){if(e)return Array.from(t.querySelectorAll(n));let i=t.querySelector(n);return i?[i]:[]}function di(t){if(typeof t=="number")return t;let n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:sx(parseFloat(n[1]),n[2])}function sx(t,n){switch(n){case"s":return t*d4;default:return t}}function fd(t,n,e){return t.hasOwnProperty("duration")?t:f4(t,n,e)}function f4(t,n,e){let i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,o=0,s="";if(typeof t=="string"){let a=t.match(i);if(a===null)return n.push(IN(t)),{duration:0,delay:0,easing:""};r=sx(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(o=sx(parseFloat(l),a[4]));let c=a[5];c&&(s=c)}else r=t;if(!e){let a=!1,l=n.length;r<0&&(n.push(t4()),a=!0),o<0&&(n.push(n4()),a=!0),a&&n.splice(l,0,IN(t))}return{duration:r,delay:o,easing:s}}function tF(t){return t.length?t[0]instanceof Map?t:t.map(n=>new Map(Object.entries(n))):[]}function Hn(t,n,e){n.forEach((i,r)=>{let o=Lp(r);e&&!e.has(r)&&e.set(r,t.style[o]),t.style[o]=i})}function Vr(t,n){n.forEach((e,i)=>{let r=Lp(i);t.style[r]=""})}function Ba(t){return Array.isArray(t)?t.length==1?t[0]:SN(t):t}function nF(t,n,e){let i=n.params||{},r=mx(t);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(i4(o))})}function mx(t){let n=[];if(typeof t=="string"){let e;for(;e=ax.exec(t);)n.push(e[1]);ax.lastIndex=0}return n}function Ua(t,n,e){let i=`${t}`,r=i.replace(ax,(o,s)=>{let a=n[s];return a==null&&(e.push(r4(s)),a=""),a.toString()});return r==i?t:r}function Lp(t){return t.replace(h4,(...n)=>n[1].toUpperCase())}function iF(t,n){return t===0||n===0}function rF(t,n,e){if(e.size&&n.length){let i=n[0],r=[];if(e.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;o<n.length;o++){let s=n[o];r.forEach(a=>s.set(a,Pp(t,a)))}}return n}function nn(t,n,e){switch(n.type){case ye.Trigger:return t.visitTrigger(n,e);case ye.State:return t.visitState(n,e);case ye.Transition:return t.visitTransition(n,e);case ye.Sequence:return t.visitSequence(n,e);case ye.Group:return t.visitGroup(n,e);case ye.Animate:return t.visitAnimate(n,e);case ye.Keyframes:return t.visitKeyframes(n,e);case ye.Style:return t.visitStyle(n,e);case ye.Reference:return t.visitReference(n,e);case ye.AnimateChild:return t.visitAnimateChild(n,e);case ye.AnimateRef:return t.visitAnimateRef(n,e);case ye.Query:return t.visitQuery(n,e);case ye.Stagger:return t.visitStagger(n,e);default:throw o4(n.type)}}function Pp(t,n){return window.getComputedStyle(t)[n]}var a4,Wo,MN,d4,fx,u4,hx,Np,dd,ud,px,Fp,ax,h4,oF=f(()=>{"use strict";rx();b();a4=typeof document>"u"?null:document.documentElement;Wo=null,MN=!1;d4=1e3,fx="{{",u4="}}",hx="ng-enter",Np="ng-leave",dd="ng-trigger",ud=".ng-trigger",px="ng-animating",Fp=".ng-animating";ax=new RegExp(`${fx}\\s*(.+?)\\s*${u4}`,"g");h4=/-+([a-z0-9])/g});function m4(t,n){let e=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(i=>g4(i,e,n)):e.push(t),e}function g4(t,n,e){if(t[0]==":"){let l=y4(t,e);if(typeof l=="function"){n.push(l);return}t=l}let i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return e.push(UN(t)),n;let r=i[1],o=i[2],s=i[3];n.push(sF(r,s));let a=r==zp&&s==zp;o[0]=="<"&&!a&&n.push(sF(s,r))}function y4(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i)<parseFloat(e);default:return n.push(HN(t)),"* => *"}}function sF(t,n){let e=jp.has(t)||Vp.has(t),i=jp.has(n)||Vp.has(n);return(r,o)=>{let s=t==zp||t==r,a=n==zp||n==o;return!s&&e&&typeof r=="boolean"&&(s=r?jp.has(t):Vp.has(t)),!a&&i&&typeof o=="boolean"&&(a=o?jp.has(n):Vp.has(n)),s&&a}}function yF(t,n,e,i){return new Cx(t).build(n,e,i)}function b4(t){let n=!!t.split(/\s*,\s*/).find(e=>e==gF);return n&&(t=t.replace(v4,"")),t=t.replace(/@\*/g,ud).replace(/@\w+/g,e=>ud+"-"+e.slice(1)).replace(/:animating/g,Fp),[t,n]}function _4(t){return t?_({},t):null}function C4(t){if(typeof t=="string")return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){let i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}function x4(t,n){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=fd(t,n).duration;return gx(o,0,"")}let e=t;if(e.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=gx(0,0,"");return o.dynamic=!0,o.strValue=e,o}let r=fd(e,n);return gx(r.duration,r.delay,r.easing)}function qo(t){return t?(t=_({},t),t.params&&(t.params=_4(t.params))):t={},t}function gx(t,n,e){return{duration:t,delay:n,easing:e}}function kx(t,n,e,i,r,o,s=null,a=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}function vF(t,n,e,i,r,o=new Map,s=new Map,a,l,c=[]){return new wx().buildKeyframes(t,n,e,i,r,o,s,a,l,c)}function lF(t,n=3){let e=Math.pow(10,n-1);return Math.round(t*e)/e}function M4(t,n){let e=new Map,i;return t.forEach(r=>{if(r==="*"){i??=n.keys();for(let o of i)e.set(o,Un)}else for(let[o,s]of r)e.set(o,s)}),e}function cF(t,n,e,i,r,o,s,a,l,c,d,h,m){return{type:0,element:t,triggerName:n,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:h,errors:m}}function T4(t,n,e,i,r){return t.some(o=>o(n,e,i,r))}function bF(t,n){let e=_({},n);return Object.entries(t).forEach(([i,r])=>{r!=null&&(e[i]=r)}),e}function A4(t,n,e){return new Ix(t,n,e)}function R4(t,n,e){let i=[(s,a)=>!0],r={type:ye.Sequence,steps:[],options:null},o={type:ye.Transition,animation:r,matchers:i,options:null,queryCount:0,depCount:0};return new Wp(t,o,n)}function dF(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}function V4(t,n,e){let i=t.get(n);if(i){if(i.length){let r=i.indexOf(e);i.splice(r,1)}i.length==0&&t.delete(n)}return i}function B4(t){return t??null}function Bp(t){return t&&t.nodeType===1}function U4(t){return t=="start"||t=="done"}function fF(t,n){let e=t.style.display;return t.style.display=n??"none",e}function hF(t,n,e,i,r){let o=[];e.forEach(l=>o.push(fF(l)));let s=[];i.forEach((l,c)=>{let d=new Map;l.forEach(h=>{let m=n.computeStyle(c,h,r);d.set(h,m),(!m||m.length==0)&&(c[zn]=j4,s.push(c))}),t.set(c,d)});let a=0;return e.forEach(l=>fF(l,o[a++])),s}function pF(t,n){let e=new Map;if(t.forEach(a=>e.set(a,[])),n.length==0)return e;let i=1,r=new Set(n),o=new Map;function s(a){if(!a)return i;let l=o.get(a);if(l)return l;let c=a.parentNode;return e.has(c)?l=c:r.has(c)?l=i:l=s(c),o.set(a,l),l}return n.forEach(a=>{let l=s(a);l!==i&&e.get(l).push(a)}),e}function Sn(t,n){t.classList?.add(n)}function Ha(t,n){t.classList?.remove(n)}function H4(t,n,e){tr(e).onDone(()=>t.processLeaveNode(n))}function z4(t){let n=[];return CF(t,n),n}function CF(t,n){for(let e=0;e<t.length;e++){let i=t[e];i instanceof Va?CF(i.players,n):n.push(i)}}function $4(t,n){let e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let r=0;r<e.length;r++){let o=e[r];if(!n.hasOwnProperty(o)||t[o]!==n[o])return!1}return!0}function mF(t,n,e){let i=e.get(t);if(!i)return!1;let r=n.get(t);return r?i.forEach(o=>r.add(o)):n.set(t,i),e.delete(t),!0}function G4(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=_x(n[0]),n.length>1&&(i=_x(n[n.length-1]))):n instanceof Map&&(e=_x(n)),e||i?new W4(t,e,i):null}function _x(t){let n=null;return t.forEach((e,i)=>{q4(i)&&(n=n||new Map,n.set(i,e))}),n}function q4(t){return t==="display"||t==="position"}function K4(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function Y4(t){let n=t.indexOf("."),e=t.substring(0,n),i=t.slice(n+1);return[e,i]}var Ox,Ko,Yo,p4,Hp,zp,jp,Vp,gF,v4,aF,Cx,xx,pd,w4,E4,D4,S4,I4,wx,$p,Ex,Gp,Dx,yx,Wp,Sx,Ix,O4,Mx,uF,k4,vx,N4,F4,L4,P4,_F,j4,zn,md,hd,bx,Tx,Ax,gd,za,W4,qp,Kp,Up,xF,Yp,Rx,Qp,Nx=f(()=>{"use strict";b();oF();rx();Ox=(()=>{class t{validateStyleProperty(e){return eF(e)}containsElement(e,i){return dx(e,i)}getParentElement(e){return kp(e)}query(e,i,r){return ux(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],l){return new er(r,o)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Ko=class{static NOOP=new Ox},Yo=class{},p4=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Hp=class extends Yo{normalizePropertyName(n,e){return Lp(n)}normalizeStyleValue(n,e,i,r){let o="",s=i.toString().trim();if(p4.has(e)&&i!==0&&i!=="0")if(typeof i=="number")o="px";else{let a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&r.push(TN(n,i))}return s+o}},zp="*";jp=new Set(["true","1"]),Vp=new Set(["false","0"]);gF=":self",v4=new RegExp(`s*${gF}s*,?`,"g");aF="",Cx=class{_driver;constructor(n){this._driver=n}build(n,e,i){let r=new xx(e);return this._resetContextStyleTimingState(r),nn(this,Ba(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector=aF,n.collectedStyles=new Map,n.collectedStyles.set(aF,new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,r=e.depCount=0,o=[],s=[];return n.name.charAt(0)=="@"&&e.errors.push(AN()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),a.type==ye.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,e))}),l.name=c}else if(a.type==ye.Transition){let l=this.visitTransition(a,e);i+=l.queryCount,r+=l.depCount,s.push(l)}else e.errors.push(RN())}),{type:ye.Trigger,name:n.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(n,e){let i=this.visitStyle(n.styles,e),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){let o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{mx(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&e.errors.push(ON(n.name,[...o.values()]))}return{type:ye.State,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;let i=nn(this,Ba(n.animation),e),r=m4(n.expr,e.errors);return{type:ye.Transition,matchers:r,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:qo(n.options)}}visitSequence(n,e){return{type:ye.Sequence,steps:n.steps.map(i=>nn(this,i,e)),options:qo(n.options)}}visitGroup(n,e){let i=e.currentTime,r=0,o=n.steps.map(s=>{e.currentTime=i;let a=nn(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:ye.Group,steps:o,options:qo(n.options)}}visitAnimate(n,e){let i=x4(n.timings,e.errors);e.currentAnimateTimings=i;let r,o=n.styles?n.styles:ix({});if(o.type==ye.Keyframes)r=this.visitKeyframes(o,e);else{let s=n.styles,a=!1;if(!s){a=!0;let c={};i.easing&&(c.easing=i.easing),s=ix(c)}e.currentTime+=i.duration+i.delay;let l=this.visitStyle(s,e);l.isEmptyStep=a,r=l}return e.currentAnimateTimings=null,{type:ye.Animate,timings:i,style:r,options:null}}visitStyle(n,e){let i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){let i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of r)typeof a=="string"?a===Un?i.push(a):e.errors.push(kN(a)):i.push(new Map(Object.entries(a)));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let l of a.values())if(l.toString().indexOf(fx)>=0){o=!0;break}}}),{type:ye.Style,styles:i,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,e){let i=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=e.collectedStyles.get(e.currentQuerySelector),d=c.get(l),h=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(e.errors.push(NN(l,d.startTime,d.endTime,o,r)),h=!1),o=d.startTime),h&&c.set(l,{startTime:o,endTime:r}),e.options&&nF(a,e.options,e.errors)})})}visitKeyframes(n,e){let i={type:ye.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(FN()),i;let r=1,o=0,s=[],a=!1,l=!1,c=0,d=n.steps.map(R=>{let ne=this._makeStyleAst(R,e),ue=ne.offset!=null?ne.offset:C4(ne.styles),tt=0;return ue!=null&&(o++,tt=ne.offset=ue),l=l||tt<0||tt>1,a=a||tt<c,c=tt,s.push(tt),ne});l&&e.errors.push(LN()),a&&e.errors.push(PN());let h=n.steps.length,m=0;o>0&&o<h?e.errors.push(jN()):o==0&&(m=r/(h-1));let p=h-1,g=e.currentTime,y=e.currentAnimateTimings,I=y.duration;return d.forEach((R,ne)=>{let ue=m>0?ne==p?1:m*ne:s[ne],tt=ue*I;e.currentTime=g+y.delay+tt,y.duration=tt,this._validateStyleAst(R,e),R.offset=ue,i.styles.push(R)}),i}visitReference(n,e){return{type:ye.Reference,animation:nn(this,Ba(n.animation),e),options:qo(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:ye.AnimateChild,options:qo(n.options)}}visitAnimateRef(n,e){return{type:ye.AnimateRef,animation:this.visitReference(n.animation,e),options:qo(n.options)}}visitQuery(n,e){let i=e.currentQuerySelector,r=n.options||{};e.queryCount++,e.currentQuery=n;let[o,s]=b4(n.selector);e.currentQuerySelector=i.length?i+" "+o:o,tn(e.collectedStyles,e.currentQuerySelector,new Map);let a=nn(this,Ba(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:ye.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:qo(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(VN());let i=n.timings==="full"?{duration:0,delay:0,easing:"full"}:fd(n.timings,e.errors,!0);return{type:ye.Stagger,animation:nn(this,Ba(n.animation),e),timings:i,options:null}}};xx=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(n){this.errors=n}};pd=class{_map=new Map;get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}},w4=1,E4=":enter",D4=new RegExp(E4,"g"),S4=":leave",I4=new RegExp(S4,"g");wx=class{buildKeyframes(n,e,i,r,o,s,a,l,c,d=[]){c=c||new pd;let h=new Ex(n,e,c,r,o,d,[]);h.options=l;let m=l.delay?di(l.delay):0;h.currentTimeline.delayNextStep(m),h.currentTimeline.setStyles([s],null,h.errors,l),nn(this,i,h);let p=h.timelines.filter(g=>g.containsAnimation());if(p.length&&a.size){let g;for(let y=p.length-1;y>=0;y--){let I=p[y];if(I.element===e){g=I;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([a],null,h.errors,l)}return p.length?p.map(g=>g.buildKeyframes()):[kx(e,[],[],[],0,m,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){let i=e.subInstructions.get(e.element);if(i){let r=e.createSubContext(n.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=n}visitAnimateRef(n,e){let i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,i),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,i){for(let r of n){let o=r?.delay;if(o){let s=typeof o=="number"?o:di(Ua(o,r?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,e,i){let o=e.currentTimeline.currentTime,s=i.duration!=null?di(i.duration):null,a=i.delay!=null?di(i.delay):null;return s!==0&&n.forEach(l=>{let c=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(n,e){e.updateOptions(n.options,!0),nn(this,n.animation,e),e.previousNode=n}visitSequence(n,e){let i=e.subContextCount,r=e,o=n.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),o.delay!=null)){r.previousNode.type==ye.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=$p);let s=di(o.delay);r.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>nn(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){let i=[],r=e.currentTimeline.currentTime,o=n.options&&n.options.delay?di(n.options.delay):0;n.steps.forEach(s=>{let a=e.createSubContext(n.options);o&&a.delayNextStep(o),nn(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(r),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){let i=n.strValue,r=e.params?Ua(i,e.params,e.errors):i;return fd(r,e.errors)}else return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){let i=e.currentAnimateTimings=this._visitTiming(n.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());let o=n.style;o.type==ye.Keyframes?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){let i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();let o=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){let i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,n.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+o),e.previousNode=n}visitQuery(n,e){let i=e.currentTimeline.currentTime,r=n.options||{},o=r.delay?di(r.delay):0;o&&(e.previousNode.type===ye.Style||i==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=$p);let s=i,a=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{e.currentQueryIndex=d;let h=e.createSubContext(n.options,c);o&&h.delayNextStep(o),c===e.element&&(l=h.currentTimeline),nn(this,n.animation,h),h.currentTimeline.applyStylesToKeyframe();let m=h.currentTimeline.currentTime;s=Math.max(s,m)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){let i=e.parentContext,r=e.currentTimeline,o=n.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1),l=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime;break}let d=e.currentTimeline;l&&d.delayNextStep(l);let h=d.currentTime;nn(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=r.currentTime-h+(r.startTime-i.currentTimeline.startTime)}},$p={},Ex=class t{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=$p;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(n,e,i,r,o,s,a,l){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.currentTimeline=l||new Gp(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;let i=n,r=this.options;i.duration!=null&&(r.duration=di(i.duration)),i.delay!=null&&(r.delay=di(i.delay));let o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=Ua(o[a],s,this.errors))})}}_copyOptions(){let n={};if(this.options){let e=this.options.params;if(e){let i=n.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return n}createSubContext(n=null,e,i){let r=e||this.element,o=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=$p,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){let r={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new Dx(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,r,o,s){let a=[];if(r&&a.push(this.element),n.length>0){n=n.replace(D4,"."+this._enterClassName),n=n.replace(I4,"."+this._leaveClassName);let l=i!=1,c=this._driver.query(this.element,n,l);i!==0&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&a.length==0&&s.push(BN(e)),a}},Gp=class t{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(n,e,i,r){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new t(this._driver,n,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=w4,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||Un),this._currentKeyframe.set(e,Un);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,r){e&&this._previousKeyframe.set("easing",e);let o=r&&r.params||{},s=M4(n,this._globalTimelineStyles);for(let[a,l]of s){let c=Ua(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Un),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{let r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let n=new Set,e=new Set,i=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((d,h)=>{d===cd?n.add(h):d===Un&&e.add(h)}),i||c.set("offset",l/this.duration),r.push(c)});let o=[...n.values()],s=[...e.values()];if(i){let a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return kx(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}},Dx=class extends Gp{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(n,e,i,r,o,s,a=!1){super(n,e,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){let o=[],s=i+e,a=e/s,l=new Map(n[0]);l.set("offset",0),o.push(l);let c=new Map(n[0]);c.set("offset",lF(a)),o.push(c);let d=n.length-1;for(let h=1;h<=d;h++){let m=new Map(n[h]),p=m.get("offset"),g=e+p*i;m.set("offset",lF(g/s)),o.push(m)}i=s,e=0,r="",n=o}return kx(this.element,n,this.preStyleProps,this.postStyleProps,i,e,r,!0)}};yx={},Wp=class{_triggerName;ast;_stateStyles;constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,r){return T4(this.ast.matchers,n,e,i,r)}buildStyles(n,e,i){let r=this._stateStyles.get("*");return n!==void 0&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(e,i):new Map}build(n,e,i,r,o,s,a,l,c,d){let h=[],m=this.ast.options&&this.ast.options.params||yx,p=a&&a.params||yx,g=this.buildStyles(i,p,h),y=l&&l.params||yx,I=this.buildStyles(r,y,h),R=new Set,ne=new Map,ue=new Map,tt=r==="void",nr={params:bF(y,m),delay:this.ast.options?.delay},mn=d?[]:vF(n,e,this.ast.animation,o,s,g,I,nr,c,h),Rt=0;return mn.forEach(Bt=>{Rt=Math.max(Bt.duration+Bt.delay,Rt)}),h.length?cF(e,this._triggerName,i,r,tt,g,I,[],[],ne,ue,Rt,h):(mn.forEach(Bt=>{let Br=Bt.element,Qo=tn(ne,Br,new Set);Bt.preStyleProps.forEach(Ur=>Qo.add(Ur));let Lx=tn(ue,Br,new Set);Bt.postStyleProps.forEach(Ur=>Lx.add(Ur)),Br!==e&&R.add(Br)}),cF(e,this._triggerName,i,r,tt,g,I,mn,[...R.values()],ne,ue,Rt))}};Sx=class{styles;defaultParams;normalizer;constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){let i=new Map,r=bF(n,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=Ua(s,r,e));let l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(a,s)})}),i}};Ix=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,e.states.forEach(r=>{let o=r.options&&r.options.params||{};this.states.set(r.name,new Sx(r.style,o,i))}),dF(this.states,"true","1"),dF(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new Wp(n,r,this.states))}),this.fallbackTransition=R4(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,r){return this.transitionFactories.find(s=>s.match(n,e,i,r))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}};O4=new pd,Mx=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i}register(n,e){let i=[],r=[],o=yF(this._driver,e,i,r);if(i.length)throw $N(i);this._animations.set(n,o)}_buildPlayer(n,e,i){let r=n.element,o=lx(this._normalizer,n.keyframes,e,i);return this._driver.animate(r,o,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){let r=[],o=this._animations.get(n),s,a=new Map;if(o?(s=vF(this._driver,e,o,hx,Np,new Map,new Map,i,O4,r),s.forEach(d=>{let h=tn(a,d.element,new Map);d.postStyleProps.forEach(m=>h.set(m,null))})):(r.push(GN()),s=[]),r.length)throw WN(r);a.forEach((d,h)=>{d.forEach((m,p)=>{d.set(p,this._driver.computeStyle(h,p,Un))})});let l=s.map(d=>{let h=a.get(d.element);return this._buildPlayer(d,new Map,h)}),c=tr(l);return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){let e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);let i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){let e=this._playersById.get(n);if(!e)throw qN(n);return e}listen(n,e,i,r){let o=Op(e,"","","");return Rp(this._getPlayer(n),i,o,r),()=>{}}command(n,e,i,r){if(i=="register"){this.register(n,r[0]);return}if(i=="create"){let s=r[0]||{};this.create(n,e,s);return}let o=this._getPlayer(n);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(n);break}}},uF="ng-animate-queued",k4=".ng-animate-queued",vx="ng-animate-disabled",N4=".ng-animate-disabled",F4="ng-star-inserted",L4=".ng-star-inserted",P4=[],_F={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},j4={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},zn="__ng_removed",md=class{namespaceId;value;options;get params(){return this.options.params}constructor(n,e=""){this.namespaceId=e;let i=n&&n.hasOwnProperty("value"),r=i?n.value:n;if(this.value=B4(r),i){let o=n,{value:s}=o,a=Jp(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){let e=n.params;if(e){let i=this.options.params;Object.keys(e).forEach(r=>{i[r]==null&&(i[r]=e[r])})}}},hd="void",bx=new md(hd),Tx=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this._hostClassName="ng-tns-"+n,Sn(e,this._hostClassName)}listen(n,e,i,r){if(!this._triggers.has(e))throw KN(i,e);if(i==null||i.length==0)throw YN(e);if(!U4(i))throw QN(i,e);let o=tn(this._elementListeners,n,[]),s={name:e,phase:i,callback:r};o.push(s);let a=tn(this._engine.statesByElement,n,new Map);return a.has(e)||(Sn(n,dd),Sn(n,dd+"-"+e),a.set(e,bx)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(n,e){return this._triggers.has(n)?!1:(this._triggers.set(n,e),!0)}_getTrigger(n){let e=this._triggers.get(n);if(!e)throw ZN(n);return e}trigger(n,e,i,r=!0){let o=this._getTrigger(e),s=new gd(this.id,e,n),a=this._engine.statesByElement.get(n);a||(Sn(n,dd),Sn(n,dd+"-"+e),this._engine.statesByElement.set(n,a=new Map));let l=a.get(e),c=new md(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=bx),!(c.value===hd)&&l.value===c.value){if(!$4(l.params,c.params)){let y=[],I=o.matchStyles(l.value,l.params,y),R=o.matchStyles(c.value,c.params,y);y.length?this._engine.reportError(y):this._engine.afterFlush(()=>{Vr(n,I),Hn(n,R)})}return}let m=tn(this._engine.playersByElement,n,[]);m.forEach(y=>{y.namespaceId==this.id&&y.triggerName==e&&y.queued&&y.destroy()});let p=o.matchTransition(l.value,c.value,n,c.params),g=!1;if(!p){if(!r)return;p=o.fallbackTransition,g=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:p,fromState:l,toState:c,player:s,isFallbackTransition:g}),g||(Sn(n,uF),s.onStart(()=>{Ha(n,uF)})),s.onDone(()=>{let y=this.players.indexOf(s);y>=0&&this.players.splice(y,1);let I=this._engine.playersByElement.get(n);if(I){let R=I.indexOf(s);R>=0&&I.splice(R,1)}}),this.players.push(s),m.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);let e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){let i=this._engine.driver.query(n,ud,!0);i.forEach(r=>{if(r[zn])return;let o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(n,e,i,r){let o=this._engine.statesByElement.get(n),s=new Map;if(o){let a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){let d=this.trigger(n,c,hd,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,s),i&&tr(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){let e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(e&&i){let r=new Set;e.forEach(o=>{let s=o.name;if(r.has(s))return;r.add(s);let l=this._triggers.get(s).fallbackTransition,c=i.get(s)||bx,d=new md(hd),h=new gd(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:c,toState:d,player:h,isFallbackTransition:!0})})}}removeNode(n,e){let i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let r=!1;if(i.totalAnimations){let o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)r=!0;else{let s=n;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,e);else{let o=n[zn];(!o||o===_F)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){Sn(n,this._hostClassName)}drainQueuedTransitions(n){let e=[];return this._queue.forEach(i=>{let r=i.player;if(r.destroyed)return;let o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){let l=Op(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,Rp(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{let o=i.transition.ast.depCount,s=r.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}},Ax=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(n,e)=>{};_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}constructor(n,e,i){this.bodyNode=n,this.driver=e,this._normalizer=i}get queuedPlayers(){let n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){let i=new Tx(n,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,e){let i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){let l=r.get(a);if(l){let c=i.indexOf(l);i.splice(c+1,0,n),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(n)}else i.push(n);return r.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let r=this._namespaceLookup[n];r&&r.register(e,i)&&this.totalAnimations++}destroy(n,e){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);let r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(e),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){let e=new Set,i=this.statesByElement.get(n);if(i){for(let r of i.values())if(r.namespaceId){let o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}}return e}trigger(n,e,i,r){if(Bp(e)){let o=this._fetchNamespace(n);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(n,e,i,r){if(!Bp(e))return;let o=e[zn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){let s=this._fetchNamespace(n);s&&s.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Sn(n,vx)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Ha(n,vx))}removeNode(n,e,i){if(Bp(e)){let r=n?this._fetchNamespace(n):null;r?r.removeNode(e,i):this.markElementAsRemoved(n,e,!1,i);let o=this.namespacesByHostElement.get(e);o&&o.id!==n&&o.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(n,e,i,r,o){this.collectedLeaveElements.push(e),e[zn]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,e,i,r,o){return Bp(e)?this._fetchNamespace(n).listen(e,i,r,o):()=>{}}_buildInstruction(n,e,i,r,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,e,o)}destroyInnerAnimations(n){let e=this.driver.query(n,ud,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(n,Fp,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){let e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){let e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return tr(this.players).onDone(()=>n());n()})}processLeaveNode(n){let e=n[zn];if(e&&e.setForRemoval){if(n[zn]=_F,e.namespaceId){this.destroyInnerAnimations(n);let i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(vx)&&this.markElementAsDisabled(n,!1),this.driver.query(n,N4,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++){let r=this.collectedEnterElements[i];Sn(r,F4)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let i=[];try{e=this._flushAnimations(i,n)}finally{for(let r=0;r<i.length;r++)i[r]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++){let r=this.collectedLeaveElements[i];this.processLeaveNode(r)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],e.length?tr(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw XN(n)}_flushAnimations(n,e){let i=new pd,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(V=>{d.add(V);let $=this.driver.query(V,k4,!0);for(let K=0;K<$.length;K++)d.add($[K])});let h=this.bodyNode,m=Array.from(this.statesByElement.keys()),p=pF(m,this.collectedEnterElements),g=new Map,y=0;p.forEach((V,$)=>{let K=hx+y++;g.set($,K),V.forEach(Ie=>Sn(Ie,K))});let I=[],R=new Set,ne=new Set;for(let V=0;V<this.collectedLeaveElements.length;V++){let $=this.collectedLeaveElements[V],K=$[zn];K&&K.setForRemoval&&(I.push($),R.add($),K.hasAnimation?this.driver.query($,L4,!0).forEach(Ie=>R.add(Ie)):ne.add($))}let ue=new Map,tt=pF(m,Array.from(R));tt.forEach((V,$)=>{let K=Np+y++;ue.set($,K),V.forEach(Ie=>Sn(Ie,K))}),n.push(()=>{p.forEach((V,$)=>{let K=g.get($);V.forEach(Ie=>Ha(Ie,K))}),tt.forEach((V,$)=>{let K=ue.get($);V.forEach(Ie=>Ha(Ie,K))}),I.forEach(V=>{this.processLeaveNode(V)})});let nr=[],mn=[];for(let V=this._namespaceList.length-1;V>=0;V--)this._namespaceList[V].drainQueuedTransitions(e).forEach(K=>{let Ie=K.player,ht=K.element;if(nr.push(Ie),this.collectedEnterElements.length){let Ct=ht[zn];if(Ct&&Ct.setForMove){if(Ct.previousTriggersValues&&Ct.previousTriggersValues.has(K.triggerName)){let Hr=Ct.previousTriggersValues.get(K.triggerName),gn=this.statesByElement.get(K.element);if(gn&&gn.has(K.triggerName)){let yd=gn.get(K.triggerName);yd.value=Hr,gn.set(K.triggerName,yd)}}Ie.destroy();return}}let $n=!h||!this.driver.containsElement(h,ht),rn=ue.get(ht),ir=g.get(ht),Ke=this._buildInstruction(K,i,ir,rn,$n);if(Ke.errors&&Ke.errors.length){mn.push(Ke);return}if($n){Ie.onStart(()=>Vr(ht,Ke.fromStyles)),Ie.onDestroy(()=>Hn(ht,Ke.toStyles)),r.push(Ie);return}if(K.isFallbackTransition){Ie.onStart(()=>Vr(ht,Ke.fromStyles)),Ie.onDestroy(()=>Hn(ht,Ke.toStyles)),r.push(Ie);return}let Vx=[];Ke.timelines.forEach(Ct=>{Ct.stretchStartingKeyframe=!0,this.disabledNodes.has(Ct.element)||Vx.push(Ct)}),Ke.timelines=Vx,i.append(ht,Ke.timelines);let LF={instruction:Ke,player:Ie,element:ht};s.push(LF),Ke.queriedElements.forEach(Ct=>tn(a,Ct,[]).push(Ie)),Ke.preStyleProps.forEach((Ct,Hr)=>{if(Ct.size){let gn=l.get(Hr);gn||l.set(Hr,gn=new Set),Ct.forEach((yd,Xp)=>gn.add(Xp))}}),Ke.postStyleProps.forEach((Ct,Hr)=>{let gn=c.get(Hr);gn||c.set(Hr,gn=new Set),Ct.forEach((yd,Xp)=>gn.add(Xp))})});if(mn.length){let V=[];mn.forEach($=>{V.push(JN($.triggerName,$.errors))}),nr.forEach($=>$.destroy()),this.reportError(V)}let Rt=new Map,Bt=new Map;s.forEach(V=>{let $=V.element;i.has($)&&(Bt.set($,$),this._beforeAnimationBuild(V.player.namespaceId,V.instruction,Rt))}),r.forEach(V=>{let $=V.element;this._getPreviousPlayers($,!1,V.namespaceId,V.triggerName,null).forEach(Ie=>{tn(Rt,$,[]).push(Ie),Ie.destroy()})});let Br=I.filter(V=>mF(V,l,c)),Qo=new Map;hF(Qo,this.driver,ne,c,Un).forEach(V=>{mF(V,l,c)&&Br.push(V)});let Ur=new Map;p.forEach((V,$)=>{hF(Ur,this.driver,new Set(V),l,cd)}),Br.forEach(V=>{let $=Qo.get(V),K=Ur.get(V);Qo.set(V,new Map([...$?.entries()??[],...K?.entries()??[]]))});let Zp=[],Px=[],jx={};s.forEach(V=>{let{element:$,player:K,instruction:Ie}=V;if(i.has($)){if(d.has($)){K.onDestroy(()=>Hn($,Ie.toStyles)),K.disabled=!0,K.overrideTotalTime(Ie.totalTime),r.push(K);return}let ht=jx;if(Bt.size>1){let rn=$,ir=[];for(;rn=rn.parentNode;){let Ke=Bt.get(rn);if(Ke){ht=Ke;break}ir.push(rn)}ir.forEach(Ke=>Bt.set(Ke,ht))}let $n=this._buildAnimation(K.namespaceId,Ie,Rt,o,Ur,Qo);if(K.setRealPlayer($n),ht===jx)Zp.push(K);else{let rn=this.playersByElement.get(ht);rn&&rn.length&&(K.parentPlayer=tr(rn)),r.push(K)}}else Vr($,Ie.fromStyles),K.onDestroy(()=>Hn($,Ie.toStyles)),Px.push(K),d.has($)&&r.push(K)}),Px.forEach(V=>{let $=o.get(V.element);if($&&$.length){let K=tr($);V.setRealPlayer(K)}}),r.forEach(V=>{V.parentPlayer?V.syncPlayerEvents(V.parentPlayer):V.destroy()});for(let V=0;V<I.length;V++){let $=I[V],K=$[zn];if(Ha($,Np),K&&K.hasAnimation)continue;let Ie=[];if(a.size){let $n=a.get($);$n&&$n.length&&Ie.push(...$n);let rn=this.driver.query($,Fp,!0);for(let ir=0;ir<rn.length;ir++){let Ke=a.get(rn[ir]);Ke&&Ke.length&&Ie.push(...Ke)}}let ht=Ie.filter($n=>!$n.destroyed);ht.length?H4(this,$,ht):this.processLeaveNode($)}return I.length=0,Zp.forEach(V=>{this.players.push(V),V.onDone(()=>{V.destroy();let $=this.players.indexOf(V);this.players.splice($,1)}),V.play()}),Zp}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,r,o){let s=[];if(e){let a=this.playersByQueriedElement.get(n);a&&(s=a)}else{let a=this.playersByElement.get(n);if(a){let l=!o||o==hd;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(n,e,i){let r=e.triggerName,o=e.element,s=e.isRemovalTransition?void 0:n,a=e.isRemovalTransition?void 0:r;for(let l of e.timelines){let c=l.element,d=c!==o,h=tn(i,c,[]);this._getPreviousPlayers(c,d,s,a,e.toState).forEach(p=>{let g=p.getRealPlayer();g.beforeDestroy&&g.beforeDestroy(),p.destroy(),h.push(p)})}Vr(o,e.fromStyles)}_buildAnimation(n,e,i,r,o,s){let a=e.triggerName,l=e.element,c=[],d=new Set,h=new Set,m=e.timelines.map(g=>{let y=g.element;d.add(y);let I=y[zn];if(I&&I.removedBeforeQueried)return new er(g.duration,g.delay);let R=y!==l,ne=z4((i.get(y)||P4).map(Rt=>Rt.getRealPlayer())).filter(Rt=>{let Bt=Rt;return Bt.element?Bt.element===y:!1}),ue=o.get(y),tt=s.get(y),nr=lx(this._normalizer,g.keyframes,ue,tt),mn=this._buildPlayer(g,nr,ne);if(g.subTimeline&&r&&h.add(y),R){let Rt=new gd(n,a,y);Rt.setRealPlayer(mn),c.push(Rt)}return mn});c.forEach(g=>{tn(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>V4(this.playersByQueriedElement,g.element,g))}),d.forEach(g=>Sn(g,px));let p=tr(m);return p.onDestroy(()=>{d.forEach(g=>Ha(g,px)),Hn(l,e.toStyles)}),h.forEach(g=>{tn(r,g,[]).push(p)}),p}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new er(n.duration,n.delay)}},gd=class{namespaceId;triggerName;element;_player=new er;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>Rp(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){let e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){tn(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){let e=this._player;e.triggerCallback&&e.triggerCallback(n)}};za=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(n,e)=>{};constructor(n,e,i){this._driver=e,this._normalizer=i,this._transitionEngine=new Ax(n.body,e,i),this._timelineEngine=new Mx(n.body,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(n,e,i,r,o){let s=n+"-"+r,a=this._triggerCache[s];if(!a){let l=[],c=[],d=yF(this._driver,o,l,c);if(l.length)throw zN(r,l);a=A4(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,r,a)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,r){this._transitionEngine.insertNode(n,e,i,r)}onRemove(n,e,i){this._transitionEngine.removeNode(n,e,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,r){if(i.charAt(0)=="@"){let[o,s]=cx(i),a=r;this._timelineEngine.command(o,e,s,a)}else this._transitionEngine.trigger(n,e,i,r)}listen(n,e,i,r,o){if(i.charAt(0)=="@"){let[s,a]=cx(i);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(n,e,i,r,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}};W4=(()=>{class t{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r;let o=t.initialStylesByElement.get(e);o||t.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Hn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Hn(this._element,this._initialStyles),this._endStyles&&(Hn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Vr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Vr(this._element,this._endStyles),this._endStyles=null),Hn(this._element,this._initialStyles),this._state=3)}}return t})();qp=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(n,e,i,r){this.element=n,this.keyframes=e,this.options=i,this._specialStyles=r,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map;let e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",e)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){let e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){return n.animate(this._convertKeyframesToObject(e),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{r!=="offset"&&n.set(r,this._finished?i:Pp(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){let e=n==="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Kp=class{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,e){return dx(n,e)}getParentElement(n){return kp(n)}query(n,e,i){return ux(n,e,i)}computeStyle(n,e,i){return Pp(n,e)}animate(n,e,i,r,o,s=[]){let a=r==0?"both":"forwards",l={duration:i,delay:r,fill:a};o&&(l.easing=o);let c=new Map,d=s.filter(p=>p instanceof qp);iF(i,r)&&d.forEach(p=>{p.currentSnapshot.forEach((g,y)=>c.set(y,g))});let h=tF(e).map(p=>new Map(p));h=rF(n,h,c);let m=G4(n,h);return new qp(n,h,l,m)}},Up="@",xF="@.disabled",Yp=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(n,e,i,r){this.namespaceId=n,this.delegate=e,this.engine=i,this._onDestroy=r}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,r=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,r)}removeChild(n,e,i){this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,r){this.delegate.setAttribute(n,e,i,r)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,r){this.delegate.setStyle(n,e,i,r)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){e.charAt(0)==Up&&e==xF?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i,r){return this.delegate.listen(n,e,i,r)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}},Rx=class extends Yp{factory;constructor(n,e,i,r,o){super(e,i,r,o),this.factory=n,this.namespaceId=e}setProperty(n,e,i){e.charAt(0)==Up?e.charAt(1)=="."&&e==xF?(i=i===void 0?!0:!!i,this.disableAnimations(n,i)):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i,r){if(e.charAt(0)==Up){let o=K4(n),s=e.slice(1),a="";return s.charAt(0)!=Up&&([s,a]=Y4(s)),this.engine.listen(this.namespaceId,o,s,a,l=>{let c=l._data||-1;this.factory.scheduleListenerCallback(c,i,l)})}return this.delegate.listen(n,e,i,r)}};Qp=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(n,e,i){this.delegate=n,this.engine=e,this._zone=i,e.onRemovalComplete=(r,o)=>{o?.removeChild(null,r)}}createRenderer(n,e){let i="",r=this.delegate.createRenderer(n,e);if(!n||!e?.data?.animation){let c=this._rendererCache,d=c.get(r);if(!d){let h=()=>c.delete(r);d=new Yp(i,r,this.engine,h),c.set(r,d)}return d}let o=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,n);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,n,c.name,c)};return e.data.animation.forEach(a),new Rx(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,e,i){if(n>=0&&n<this._microtaskId){this._zone.run(()=>e(i));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),r.push([e,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(n){this.engine.flush(),this.delegate.componentReplaced?.(n)}}});function X4(){return new Hp}function J4(t,n,e){return new Qp(t,n,e)}function EF(){return Jn("NgEagerAnimations"),[...eW]}var Z4,wF,Kge,eW,DF=f(()=>{"use strict";b();b();Nx();Nx();pe();Jv();Z4=(()=>{class t extends za{constructor(e,i,r){super(e,i,r)}ngOnDestroy(){this.flush()}static \u0275fac=function(i){return new(i||t)(D(H),D(Ko),D(Yo))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();wF=[{provide:Yo,useFactory:X4},{provide:za,useClass:Z4},{provide:dt,useFactory:J4,deps:[Ul,za,L]}],Kge=[{provide:Ko,useClass:Ox},{provide:Xe,useValue:"NoopAnimations"},...wF],eW=[{provide:Ko,useFactory:()=>new Kp},{provide:Xe,useFactory:()=>"BrowserAnimations"},...wF]});var SF,IF=f(()=>{"use strict";Pa();SF=()=>({provide:La,useFactory:()=>({supportEmail:"",maxCharLength:1e4,subscriptionUrl:"",useLocalQuota:!0})})});var MF,TF=f(()=>{"use strict";Hf();MF=()=>({provide:Js,useValue:{}})});var AF,RF=f(()=>{"use strict";b();Hf();Se();AF=(t,n)=>{let e=u(Js),i=window;if(e.skipAuthUrls?.find(r=>t.url.includes(r)))return n(t);if(i.getTildeWebComponentAuthToken){let r=i.getTildeWebComponentAuthToken;return Te(r()).pipe(He(o=>{let s=t.clone({setHeaders:{Authorization:`Bearer ${o}`}});return n(s)}))}if(e.xApiKey){let r=t.clone({setHeaders:{"X-Api-Key":`${e.xApiKey}`}});return n(r)}return n(t)}});var OF,kF=f(()=>{"use strict";Vo();OF=()=>{let t="https://services.tilde.com/service";return{provide:Hc,useFactory:()=>({sharedConfiguration:{xAppId:""},quotaService:{url:`${t}/quota/usage`},llmService:{url:`${t}/language-assistant`}})}}});var Fx,NF=f(()=>{"use strict";ql();b();DF();mt();IF();TF();RF();kF();Fx={providers:[sb(ab([AF])),EF(),Oy(ni.forRoot()),SF(),OF(),MF()]}});var tW=VF(FF=>{pI();Yl();wN();nx();DN();NF();O_();$a(null,null,function*(){let t=yield tb(Fx),n=Vv(ip,{injector:t.injector}),e=Vv(Ap,{injector:t.injector});customElements.define("tilde-text-to-speech",n),customElements.define("tilde-llm",e)});EN.production||eb(xN,Fx).catch(t=>console.error(t))});export default tW();