wagtail 7.2.1__py3-none-any.whl → 7.3rc1__py3-none-any.whl

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 (312) hide show
  1. wagtail/__init__.py +1 -1
  2. wagtail/actions/copy_for_translation.py +4 -2
  3. wagtail/admin/action_menu.py +4 -1
  4. wagtail/admin/api/actions/convert_alias.py +2 -2
  5. wagtail/admin/api/actions/copy.py +2 -2
  6. wagtail/admin/api/actions/copy_for_translation.py +2 -2
  7. wagtail/admin/api/actions/create_alias.py +2 -2
  8. wagtail/admin/api/actions/delete.py +1 -1
  9. wagtail/admin/api/actions/move.py +1 -1
  10. wagtail/admin/api/actions/publish.py +2 -2
  11. wagtail/admin/api/actions/revert_to_page_revision.py +2 -2
  12. wagtail/admin/api/actions/unpublish.py +1 -1
  13. wagtail/admin/api/filters.py +2 -2
  14. wagtail/admin/compare.py +22 -0
  15. wagtail/admin/forms/account.py +52 -1
  16. wagtail/admin/forms/comments.py +53 -0
  17. wagtail/admin/forms/models.py +36 -0
  18. wagtail/admin/forms/pages.py +7 -0
  19. wagtail/admin/forms/workflows.py +5 -2
  20. wagtail/admin/icons.py +4 -3
  21. wagtail/admin/locale/ar/LC_MESSAGES/django.mo +0 -0
  22. wagtail/admin/locale/ar/LC_MESSAGES/django.po +35 -0
  23. wagtail/admin/locale/en/LC_MESSAGES/django.po +262 -234
  24. wagtail/admin/locale/en/LC_MESSAGES/djangojs.po +72 -43
  25. wagtail/admin/locale/it/LC_MESSAGES/django.mo +0 -0
  26. wagtail/admin/locale/it/LC_MESSAGES/django.po +566 -6
  27. wagtail/admin/locale/it/LC_MESSAGES/djangojs.mo +0 -0
  28. wagtail/admin/locale/it/LC_MESSAGES/djangojs.po +40 -2
  29. wagtail/admin/locale/nl/LC_MESSAGES/django.mo +0 -0
  30. wagtail/admin/locale/nl/LC_MESSAGES/django.po +2 -2
  31. wagtail/admin/locale/sv/LC_MESSAGES/django.mo +0 -0
  32. wagtail/admin/locale/sv/LC_MESSAGES/django.po +330 -15
  33. wagtail/admin/locale/sv/LC_MESSAGES/djangojs.mo +0 -0
  34. wagtail/admin/locale/sv/LC_MESSAGES/djangojs.po +3 -2
  35. wagtail/admin/panels/comment_panel.py +1 -51
  36. wagtail/admin/panels/title_field_panel.py +3 -1
  37. wagtail/admin/static/wagtailadmin/css/core.css +1 -1
  38. wagtail/admin/static/wagtailadmin/js/bulk-actions.js +1 -1
  39. wagtail/admin/static/wagtailadmin/js/comments.js +1 -1
  40. wagtail/admin/static/wagtailadmin/js/core.js +1 -1
  41. wagtail/admin/static/wagtailadmin/js/core.js.LICENSE.txt +1 -1
  42. wagtail/admin/static/wagtailadmin/js/draftail.js +1 -1
  43. wagtail/admin/static/wagtailadmin/js/privacy-switch.js +1 -1
  44. wagtail/admin/static/wagtailadmin/js/sidebar.js +1 -1
  45. wagtail/admin/static/wagtailadmin/js/telepath/blocks.js +1 -1
  46. wagtail/admin/static/wagtailadmin/js/userbar.js +1 -1
  47. wagtail/admin/static/wagtailadmin/js/userbar.js.LICENSE.txt +1 -1
  48. wagtail/admin/static/wagtailadmin/js/vendor.js +1 -1
  49. wagtail/admin/static/wagtailadmin/js/wagtailadmin.js +1 -1
  50. wagtail/admin/templates/wagtailadmin/base.html +1 -1
  51. wagtail/admin/templates/wagtailadmin/generic/edit_partials.html +100 -0
  52. wagtail/admin/templates/wagtailadmin/generic/form.html +26 -5
  53. wagtail/admin/templates/wagtailadmin/generic/includes/_loaded_revision_inputs.html +3 -0
  54. wagtail/admin/templates/wagtailadmin/generic/listing_results.html +1 -17
  55. wagtail/admin/templates/wagtailadmin/pages/create.html +14 -4
  56. wagtail/admin/templates/wagtailadmin/pages/edit.html +16 -3
  57. wagtail/admin/templates/wagtailadmin/pages/edit_partials.html +31 -0
  58. wagtail/admin/templates/wagtailadmin/pages/index_results.html +1 -9
  59. wagtail/admin/templates/wagtailadmin/shared/autosave/indicator.html +36 -0
  60. wagtail/admin/templates/wagtailadmin/shared/breadcrumbs.html +1 -1
  61. wagtail/admin/templates/wagtailadmin/shared/editing_sessions/list.html +2 -2
  62. wagtail/admin/templates/wagtailadmin/shared/editing_sessions/module.html +19 -3
  63. wagtail/admin/templates/wagtailadmin/shared/headers/_actions.html +5 -0
  64. wagtail/admin/templates/wagtailadmin/shared/headers/_history_icon_link.html +2 -2
  65. wagtail/admin/templates/wagtailadmin/shared/headers/slim_header.html +8 -9
  66. wagtail/admin/templates/wagtailadmin/shared/listing/filter_partials.html +19 -0
  67. wagtail/admin/templates/wagtailadmin/shared/side_panel_toggle.html +3 -3
  68. wagtail/admin/templates/wagtailadmin/shared/side_panels/includes/side_panel.html +3 -0
  69. wagtail/admin/templates/wagtailadmin/shared/side_panels/includes/status/privacy.html +18 -6
  70. wagtail/admin/templates/wagtailadmin/shared/side_panels/includes/status/usage.html +11 -4
  71. wagtail/admin/templates/wagtailadmin/shared/side_panels/includes/status/workflow.html +22 -1
  72. wagtail/admin/templates/wagtailadmin/shared/side_panels/preview.html +1 -0
  73. wagtail/admin/templates/wagtailadmin/shared/side_panels.html +1 -2
  74. wagtail/admin/templates/wagtailadmin/shared/unsaved_changes_warning.html +20 -20
  75. wagtail/admin/templates/wagtailadmin/userbar/base.html +2 -0
  76. wagtail/admin/templates/wagtailadmin/userbar/item_accessibility.html +1 -1
  77. wagtail/admin/templatetags/wagtailadmin_tags.py +6 -14
  78. wagtail/admin/tests/pages/test_create_page.py +298 -1
  79. wagtail/admin/tests/pages/test_custom_listing.py +48 -2
  80. wagtail/admin/tests/pages/test_edit_page.py +721 -7
  81. wagtail/admin/tests/pages/test_explorer_view.py +9 -5
  82. wagtail/admin/tests/pages/test_page_search.py +15 -0
  83. wagtail/admin/tests/pages/test_revisions.py +4 -0
  84. wagtail/admin/tests/test_account_management.py +88 -2
  85. wagtail/admin/tests/test_collections_views.py +15 -15
  86. wagtail/admin/tests/test_compare.py +34 -0
  87. wagtail/admin/tests/test_editing_sessions.py +230 -8
  88. wagtail/admin/tests/test_forms.py +192 -1
  89. wagtail/admin/tests/test_icon_sprite.py +22 -2
  90. wagtail/admin/tests/test_page_chooser.py +13 -13
  91. wagtail/admin/tests/test_reports_views.py +4 -1
  92. wagtail/admin/tests/test_userbar.py +69 -5
  93. wagtail/admin/tests/test_views_generic.py +5 -5
  94. wagtail/admin/tests/test_workflows.py +14 -12
  95. wagtail/admin/tests/viewsets/test_model_viewset.py +13 -0
  96. wagtail/admin/ui/autosave.py +5 -0
  97. wagtail/admin/ui/editing_sessions.py +3 -0
  98. wagtail/admin/ui/side_panels.py +19 -20
  99. wagtail/admin/userbar.py +48 -27
  100. wagtail/admin/views/bulk_action/dispatcher.py +2 -2
  101. wagtail/admin/views/chooser.py +6 -6
  102. wagtail/admin/views/editing_sessions.py +20 -7
  103. wagtail/admin/views/generic/__init__.py +1 -0
  104. wagtail/admin/views/generic/chooser.py +5 -5
  105. wagtail/admin/views/generic/mixins.py +143 -26
  106. wagtail/admin/views/generic/models.py +157 -27
  107. wagtail/admin/views/generic/ordering.py +1 -1
  108. wagtail/admin/views/generic/preview.py +4 -4
  109. wagtail/admin/views/home.py +3 -1
  110. wagtail/admin/views/pages/create.py +77 -29
  111. wagtail/admin/views/pages/edit.py +160 -34
  112. wagtail/admin/views/pages/preview.py +4 -4
  113. wagtail/admin/views/pages/revisions.py +3 -0
  114. wagtail/admin/views/pages/search.py +4 -4
  115. wagtail/admin/views/pages/usage.py +2 -2
  116. wagtail/admin/views/tags.py +2 -2
  117. wagtail/admin/views/workflows.py +73 -54
  118. wagtail/admin/viewsets/model.py +34 -8
  119. wagtail/admin/widgets/button.py +11 -4
  120. wagtail/admin/widgets/chooser.py +6 -4
  121. wagtail/admin/widgets/slug.py +1 -1
  122. wagtail/api/v2/filters.py +27 -21
  123. wagtail/api/v2/pagination.py +4 -4
  124. wagtail/api/v2/views.py +7 -7
  125. wagtail/blocks/list_block.py +0 -8
  126. wagtail/blocks/migrations/migrate_operation.py +8 -1
  127. wagtail/blocks/stream_block.py +2 -10
  128. wagtail/blocks/struct_block.py +192 -12
  129. wagtail/compat.py +2 -2
  130. wagtail/contrib/forms/locale/en/LC_MESSAGES/django.po +1 -1
  131. wagtail/contrib/forms/locale/it/LC_MESSAGES/django.mo +0 -0
  132. wagtail/contrib/forms/locale/it/LC_MESSAGES/django.po +40 -2
  133. wagtail/contrib/frontend_cache/backends/azure.py +6 -6
  134. wagtail/contrib/frontend_cache/backends/cloudfront.py +2 -2
  135. wagtail/contrib/frontend_cache/utils.py +1 -1
  136. wagtail/contrib/redirects/forms.py +1 -1
  137. wagtail/contrib/redirects/locale/en/LC_MESSAGES/django.po +14 -14
  138. wagtail/contrib/redirects/locale/it/LC_MESSAGES/django.mo +0 -0
  139. wagtail/contrib/redirects/locale/it/LC_MESSAGES/django.po +15 -2
  140. wagtail/contrib/redirects/locale/sv/LC_MESSAGES/django.mo +0 -0
  141. wagtail/contrib/redirects/locale/sv/LC_MESSAGES/django.po +16 -3
  142. wagtail/contrib/redirects/middleware.py +11 -7
  143. wagtail/contrib/redirects/models.py +17 -1
  144. wagtail/contrib/redirects/tests/test_import_admin_views.py +3 -3
  145. wagtail/contrib/redirects/tests/test_redirects.py +56 -8
  146. wagtail/contrib/search_promotions/locale/en/LC_MESSAGES/django.po +6 -6
  147. wagtail/contrib/search_promotions/locale/it/LC_MESSAGES/django.mo +0 -0
  148. wagtail/contrib/search_promotions/locale/it/LC_MESSAGES/django.po +43 -2
  149. wagtail/contrib/search_promotions/tests.py +1 -1
  150. wagtail/contrib/search_promotions/views/settings.py +24 -25
  151. wagtail/contrib/settings/jinja2tags.py +2 -2
  152. wagtail/contrib/settings/locale/en/LC_MESSAGES/django.po +2 -2
  153. wagtail/contrib/settings/locale/it/LC_MESSAGES/django.mo +0 -0
  154. wagtail/contrib/settings/locale/it/LC_MESSAGES/django.po +6 -2
  155. wagtail/contrib/settings/locale/sv/LC_MESSAGES/django.mo +0 -0
  156. wagtail/contrib/settings/locale/sv/LC_MESSAGES/django.po +3 -2
  157. wagtail/contrib/settings/tests/generic/test_admin.py +118 -2
  158. wagtail/contrib/settings/tests/site_specific/test_admin.py +78 -15
  159. wagtail/contrib/settings/tests/site_specific/test_model.py +2 -2
  160. wagtail/contrib/settings/views.py +7 -0
  161. wagtail/contrib/simple_translation/locale/en/LC_MESSAGES/django.po +1 -1
  162. wagtail/contrib/simple_translation/locale/it/LC_MESSAGES/django.mo +0 -0
  163. wagtail/contrib/simple_translation/locale/it/LC_MESSAGES/django.po +5 -2
  164. wagtail/contrib/styleguide/locale/en/LC_MESSAGES/django.po +7 -7
  165. wagtail/contrib/styleguide/tests.py +2 -0
  166. wagtail/contrib/styleguide/views.py +4 -5
  167. wagtail/contrib/table_block/locale/ar/LC_MESSAGES/django.mo +0 -0
  168. wagtail/contrib/table_block/locale/ar/LC_MESSAGES/django.po +5 -1
  169. wagtail/contrib/table_block/locale/en/LC_MESSAGES/django.po +1 -1
  170. wagtail/contrib/table_block/locale/it/LC_MESSAGES/django.mo +0 -0
  171. wagtail/contrib/table_block/locale/it/LC_MESSAGES/django.po +5 -2
  172. wagtail/contrib/typed_table_block/blocks.py +37 -0
  173. wagtail/contrib/typed_table_block/locale/en/LC_MESSAGES/django.po +10 -10
  174. wagtail/contrib/typed_table_block/locale/sv/LC_MESSAGES/django.mo +0 -0
  175. wagtail/contrib/typed_table_block/locale/sv/LC_MESSAGES/django.po +4 -3
  176. wagtail/contrib/typed_table_block/tests.py +108 -0
  177. wagtail/coreutils.py +4 -4
  178. wagtail/documents/__init__.py +4 -4
  179. wagtail/documents/locale/en/LC_MESSAGES/django.po +15 -15
  180. wagtail/documents/locale/it/LC_MESSAGES/django.mo +0 -0
  181. wagtail/documents/locale/it/LC_MESSAGES/django.po +32 -2
  182. wagtail/documents/locale/sv/LC_MESSAGES/django.mo +0 -0
  183. wagtail/documents/locale/sv/LC_MESSAGES/django.po +32 -4
  184. wagtail/documents/models.py +1 -1
  185. wagtail/documents/tests/test_admin_views.py +19 -4
  186. wagtail/documents/tests/test_search.py +0 -2
  187. wagtail/documents/tests/test_views.py +6 -4
  188. wagtail/documents/views/bulk_actions/add_tags.py +1 -1
  189. wagtail/embeds/finders/facebook.py +3 -3
  190. wagtail/embeds/finders/instagram.py +3 -3
  191. wagtail/embeds/finders/oembed.py +7 -2
  192. wagtail/embeds/locale/en/LC_MESSAGES/django.po +1 -1
  193. wagtail/embeds/oembed_providers.py +8 -0
  194. wagtail/embeds/tests/test_embeds.py +35 -0
  195. wagtail/images/__init__.py +4 -4
  196. wagtail/images/admin_urls.py +3 -3
  197. wagtail/images/blocks.py +1 -1
  198. wagtail/images/formats.py +2 -2
  199. wagtail/images/image_operations.py +2 -2
  200. wagtail/images/locale/en/LC_MESSAGES/django.po +44 -40
  201. wagtail/images/locale/it/LC_MESSAGES/django.mo +0 -0
  202. wagtail/images/locale/it/LC_MESSAGES/django.po +50 -4
  203. wagtail/images/locale/nl/LC_MESSAGES/django.mo +0 -0
  204. wagtail/images/locale/nl/LC_MESSAGES/django.po +3 -3
  205. wagtail/images/locale/sv/LC_MESSAGES/django.mo +0 -0
  206. wagtail/images/locale/sv/LC_MESSAGES/django.po +49 -6
  207. wagtail/images/models.py +11 -10
  208. wagtail/images/templates/wagtailimages/images/index_results.html +1 -1
  209. wagtail/images/templates/wagtailimages/images/url_generator.html +17 -38
  210. wagtail/images/templates/wagtailimages/images/url_generator_output.html +28 -0
  211. wagtail/images/templatetags/wagtailimages_tags.py +4 -4
  212. wagtail/images/tests/test_admin_views.py +432 -59
  213. wagtail/images/tests/test_image_operations.py +2 -2
  214. wagtail/images/tests/test_models.py +0 -2
  215. wagtail/images/views/bulk_actions/add_tags.py +1 -1
  216. wagtail/images/views/images.py +72 -39
  217. wagtail/locale/en/LC_MESSAGES/django.po +103 -105
  218. wagtail/locale/it/LC_MESSAGES/django.mo +0 -0
  219. wagtail/locale/it/LC_MESSAGES/django.po +105 -2
  220. wagtail/locale/sv/LC_MESSAGES/django.mo +0 -0
  221. wagtail/locale/sv/LC_MESSAGES/django.po +95 -12
  222. wagtail/locales/locale/en/LC_MESSAGES/django.po +1 -1
  223. wagtail/locales/locale/it/LC_MESSAGES/django.mo +0 -0
  224. wagtail/locales/locale/it/LC_MESSAGES/django.po +13 -2
  225. wagtail/locales/locale/sv/LC_MESSAGES/django.mo +0 -0
  226. wagtail/locales/locale/sv/LC_MESSAGES/django.po +4 -3
  227. wagtail/locales/tests.py +5 -5
  228. wagtail/models/i18n.py +4 -6
  229. wagtail/models/media.py +18 -0
  230. wagtail/models/pages.py +65 -11
  231. wagtail/models/reference_index.py +15 -0
  232. wagtail/models/revisions.py +40 -12
  233. wagtail/models/workflows.py +0 -3
  234. wagtail/permission_policies/base.py +2 -2
  235. wagtail/permission_policies/collections.py +2 -2
  236. wagtail/project_template/requirements.txt +2 -2
  237. wagtail/search/locale/en/LC_MESSAGES/django.po +1 -1
  238. wagtail/signal_handlers.py +1 -0
  239. wagtail/sites/locale/en/LC_MESSAGES/django.po +1 -1
  240. wagtail/sites/locale/sv/LC_MESSAGES/django.mo +0 -0
  241. wagtail/sites/locale/sv/LC_MESSAGES/django.po +3 -2
  242. wagtail/sites/tests.py +7 -7
  243. wagtail/snippets/action_menu.py +2 -1
  244. wagtail/snippets/locale/en/LC_MESSAGES/django.po +23 -13
  245. wagtail/snippets/locale/sv/LC_MESSAGES/django.mo +0 -0
  246. wagtail/snippets/locale/sv/LC_MESSAGES/django.po +12 -1
  247. wagtail/snippets/tests/test_chooser_block.py +197 -0
  248. wagtail/snippets/tests/test_chooser_panel.py +149 -0
  249. wagtail/snippets/tests/test_chooser_views.py +375 -0
  250. wagtail/snippets/tests/test_chooser_widget.py +22 -0
  251. wagtail/snippets/tests/test_compare_revisions_view.py +167 -0
  252. wagtail/snippets/tests/test_copy_view.py +38 -0
  253. wagtail/snippets/tests/test_create_view.py +1159 -0
  254. wagtail/snippets/tests/test_delete_view.py +225 -0
  255. wagtail/snippets/tests/test_edit_view.py +2882 -0
  256. wagtail/snippets/tests/test_history_view.py +182 -0
  257. wagtail/snippets/tests/test_index_view.py +105 -0
  258. wagtail/snippets/tests/test_list_view.py +786 -0
  259. wagtail/snippets/tests/test_locking.py +28 -0
  260. wagtail/snippets/tests/test_permissions.py +167 -0
  261. wagtail/snippets/tests/test_preview.py +3 -3
  262. wagtail/snippets/tests/test_revert_view.py +343 -0
  263. wagtail/snippets/tests/test_snippet_models.py +112 -0
  264. wagtail/snippets/tests/test_unpublish_view.py +228 -0
  265. wagtail/snippets/tests/test_unschedule_view.py +151 -0
  266. wagtail/snippets/tests/test_viewset.py +38 -5
  267. wagtail/snippets/views/snippets.py +78 -30
  268. wagtail/snippets/widgets.py +2 -2
  269. wagtail/templatetags/wagtailcore_tags.py +2 -2
  270. wagtail/test/dummy_external_storage.py +1 -1
  271. wagtail/test/testapp/fixtures/test.json +22 -0
  272. wagtail/test/testapp/fixtures/test_empty.json +2 -0
  273. wagtail/test/testapp/fixtures/test_explorable_pages.json +10 -0
  274. wagtail/test/testapp/fixtures/test_specific.json +9 -0
  275. wagtail/test/testapp/migrations/0059_nopromotepage.py +25 -0
  276. wagtail/test/testapp/models.py +7 -0
  277. wagtail/test/testapp/views.py +5 -0
  278. wagtail/test/utils/page_tests.py +7 -7
  279. wagtail/test/utils/wagtail_factories/builder.py +2 -2
  280. wagtail/tests/streamfield_migrations/test_migrations.py +35 -0
  281. wagtail/tests/test_blocks.py +321 -61
  282. wagtail/tests/test_collection_model.py +12 -0
  283. wagtail/tests/test_page_model.py +190 -1
  284. wagtail/tests/test_page_privacy.py +5 -0
  285. wagtail/tests/test_reference_index.py +42 -0
  286. wagtail/tests/test_revision_model.py +118 -1
  287. wagtail/tests/test_utils.py +2 -2
  288. wagtail/users/locale/en/LC_MESSAGES/django.po +14 -14
  289. wagtail/users/locale/id_ID/LC_MESSAGES/django.mo +0 -0
  290. wagtail/users/locale/id_ID/LC_MESSAGES/django.po +6 -2
  291. wagtail/users/locale/it/LC_MESSAGES/django.mo +0 -0
  292. wagtail/users/locale/it/LC_MESSAGES/django.po +14 -2
  293. wagtail/users/locale/sv/LC_MESSAGES/django.mo +0 -0
  294. wagtail/users/locale/sv/LC_MESSAGES/django.po +48 -17
  295. wagtail/users/tests/test_admin_views.py +39 -25
  296. wagtail/users/utils.py +4 -1
  297. wagtail/users/views/groups.py +19 -5
  298. wagtail/users/wagtail_hooks.py +1 -1
  299. wagtail/utils/loading.py +2 -2
  300. wagtail-7.3rc1.data/data/AGENTS.md +21 -0
  301. wagtail-7.3rc1.data/data/CHANGELOG.txt +4941 -0
  302. wagtail-7.3rc1.data/data/CODE_OF_CONDUCT.md +71 -0
  303. wagtail-7.3rc1.data/data/CONTRIBUTORS.md +999 -0
  304. wagtail-7.3rc1.data/data/SPONSORS.md +55 -0
  305. {wagtail-7.2.1.dist-info → wagtail-7.3rc1.dist-info}/METADATA +6 -6
  306. {wagtail-7.2.1.dist-info → wagtail-7.3rc1.dist-info}/RECORD +310 -280
  307. {wagtail-7.2.1.dist-info → wagtail-7.3rc1.dist-info}/WHEEL +1 -1
  308. wagtail/images/static/wagtailimages/js/image-url-generator.js +0 -1
  309. wagtail/snippets/tests/test_snippets.py +0 -6377
  310. {wagtail-7.2.1.dist-info → wagtail-7.3rc1.dist-info}/entry_points.txt +0 -0
  311. {wagtail-7.2.1.dist-info → wagtail-7.3rc1.dist-info}/licenses/LICENSE +0 -0
  312. {wagtail-7.2.1.dist-info → wagtail-7.3rc1.dist-info}/top_level.txt +0 -0
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see core.js.LICENSE.txt */
2
- (()=>{var e,t={1669:e=>{"use strict";e.exports=jQuery},5169:(e,t,r)=>{"use strict";var n=r(2891),a=r(1003),o=r.n(a),i=r(2427),u=r.n(i),s=r(1238),l=r(5996),c=r(5556),d=r.n(c);d().shape({live:d().bool.isRequired,status:d().string.isRequired}).isRequired;var p=r(862),h=r.n(p);const f=({name:e,component:t,className:r,duration:n,children:a})=>u().createElement(h(),{component:t,transitionEnterTimeout:n,transitionLeaveTimeout:n,transitionName:`w-transition-${e}`,className:r},a);f.propTypes={name:d().oneOf(["push","pop"]).isRequired,component:d().string,className:d().string,duration:d().number,children:d().node},f.defaultProps={component:"div",children:null,className:null,duration:210};var m=r(1669),D=r.n(m);class g{constructor(e,t={},r=!0){this.opts=t;const n=D()("#"+e+"-ADD");this.formContainer=D()("#"+e+"-FORMS"),this.totalFormsInput=D()("#"+e+"-TOTAL_FORMS");const a=document.getElementById(e+"-EMPTY_FORM_TEMPLATE");if(this.emptyFormTemplate=a.innerHTML,r){if(t.onInit)for(let e=0;e<this.formCount;e+=1)t.onInit(e);n.on("click",()=>{this.addForm()})}}get formCount(){return parseInt(this.totalFormsInput.val(),10)}addForm(e={}){const t=this.formCount,r=this.emptyFormTemplate.replace(/__prefix__(.*?('|"|\\u0022))/g,t+"$1");this.formContainer.append(r),this.totalFormsInput.val(this.formCount+1),"runCallbacks"in e&&!e.runCallbacks||(this.opts.onAdd&&this.opts.onAdd(t),this.opts.onInit&&this.opts.onInit(t))}}var v=r(2898);class b extends n.Controller{static values={continue:{type:Boolean,default:!1},url:String};click(){this.element.click()}noop(){}createFormElement(){const e=document.createElement("form");e.action=this.urlValue,e.method="POST";const t=document.createElement("input");if(t.type="hidden",t.name="csrfmiddlewaretoken",t.value=v.HE.CSRF_TOKEN,e.appendChild(t),!this.continueValue){const t=document.createElement("input");t.type="hidden",t.name="next",t.value=window.location.href,e.appendChild(t)}return e}post(e){e.preventDefault(),e.stopPropagation();const t=this.createFormElement();document.body.appendChild(t),t.submit()}sendBeacon(){navigator.sendBeacon(this.urlValue,new FormData(this.createFormElement()))}reload(){window.location.reload()}forceReload(){window.addEventListener("w-unsaved:confirm",e=>{e.preventDefault()},{once:!0}),window.location.reload()}redirect(e){const t=e?.params?.url??e?.detail?.url??this.element.value;t&&window.location.assign(t)}reset(e){const t=this.element,r=t.value,{value:n=""}={value:t instanceof HTMLInputElement?t.defaultValue:"",...e?.params,...e?.detail};r!==n&&(t.value=n,this.dispatch("change",{bubbles:!0,cancelable:!1,prefix:"",target:t}))}select(){const e=this.element;e&&(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement)&&e.select()}}var y=new Map;function F(e){var t=y.get(e);t&&t.destroy()}function w(e){var t=y.get(e);t&&t.update()}var E=null;"undefined"==typeof window?((E=function(e){return e}).destroy=function(e){return e},E.update=function(e){return e}):((E=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return function(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!y.has(e)){var t,r=null,n=window.getComputedStyle(e),a=(t=e.value,function(){i({testForHeightReduction:""===t||!e.value.startsWith(t),restoreTextAlign:null}),t=e.value}),o=function(t){e.removeEventListener("autosize:destroy",o),e.removeEventListener("autosize:update",u),e.removeEventListener("input",a),window.removeEventListener("resize",u),Object.keys(t).forEach(function(r){return e.style[r]=t[r]}),y.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,textAlign:e.style.textAlign,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",o),e.addEventListener("autosize:update",u),e.addEventListener("input",a),window.addEventListener("resize",u),e.style.overflowX="hidden",e.style.wordWrap="break-word",y.set(e,{destroy:o,update:u}),u()}function i(t){var a,o,u=t.restoreTextAlign,s=void 0===u?null:u,l=t.testForHeightReduction,c=void 0===l||l,d=n.overflowY;if(0!==e.scrollHeight&&("vertical"===n.resize?e.style.resize="none":"both"===n.resize&&(e.style.resize="horizontal"),c&&(a=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push([e.parentNode,e.parentNode.scrollTop]),e=e.parentNode;return function(){return t.forEach(function(e){var t=e[0],r=e[1];t.style.scrollBehavior="auto",t.scrollTop=r,t.style.scrollBehavior=null})}}(e),e.style.height=""),o="content-box"===n.boxSizing?e.scrollHeight-(parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)):e.scrollHeight+parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth),"none"!==n.maxHeight&&o>parseFloat(n.maxHeight)?("hidden"===n.overflowY&&(e.style.overflow="scroll"),o=parseFloat(n.maxHeight)):"hidden"!==n.overflowY&&(e.style.overflow="hidden"),e.style.height=o+"px",s&&(e.style.textAlign=s),a&&a(),r!==o&&(e.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),r=o),d!==n.overflow&&!s)){var p=n.textAlign;"hidden"===n.overflow&&(e.style.textAlign="start"===p?"end":"start"),i({restoreTextAlign:p,testForHeightReduction:!0})}}function u(){i({testForHeightReduction:!0,restoreTextAlign:null})}}(e)}),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],F),e},E.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],w),e});const C=E;var x=r(8667);class A extends n.Controller{resizeObserver;resize(){C.update(this.element)}initialize(){this.resize=(0,x.s)(this.resize.bind(this),50)}connect(){C(this.element),this.resizeObserver=new ResizeObserver(this.resize),this.resizeObserver.observe(this.element)}disconnect(){this.resizeObserver?.disconnect(),C.destroy(this.element)}}class T extends n.Controller{static values={arguments:{type:Array,default:[]},data:{type:Object,default:{}}};connect(){const e=window.telepath;if(!e)throw new Error("`window.telepath` is not available.");const t=this.element,r=t.id;if(!r)throw new Error("Controlled element needs an id attribute.");const n=e.unpack(this.dataValue),a=n.render(t,r,...this.argumentsValue);a.element.id=`${r}-root`,a.element.rootBlock=a,this.dispatch("ready",{detail:{...n},cancelable:!1})}}class k extends n.Controller{static classes=["actionInactive"];static targets=["action","all","item"];lastChanged;shiftActive;connect(){this.toggle(),this.handleShiftKey=this.handleShiftKey.bind(this),document.addEventListener("keydown",this.handleShiftKey),document.addEventListener("keyup",this.handleShiftKey)}getValidTargets(e=null,t=this.itemTargets,r=`data-${this.identifier}-group-param`){const n=t.filter(({disabled:e})=>!e);if(!e)return n;const a=e.split(" ");return n.filter(e=>{const t=new Set((e.getAttribute(r)||"").split(" "));return a.some(t.has.bind(t))})}handleShiftKey(e){if(!e)return;const{shiftKey:t,type:r}=e;"keydown"===r&&t&&(this.shiftActive=!0),"keyup"===r&&this.shiftActive&&(this.shiftActive=!1)}toggle(e){const{group:t=null}={...e?.detail,...e?.params},r=this.getValidTargets(t),n=this.lastChanged;if(this.shiftActive&&n instanceof HTMLElement){this.shiftActive=!1;const t=r.findIndex(e=>e===n);if(-1===t)return;const a=r.findIndex(t=>t===e?.target),[o,i]=[t,a].sort((e,t)=>e-t);r.forEach((e,n)=>{n>=o&&n<=i&&(e.checked=!!r[t].checked,this.dispatch("change",{target:e,bubbles:!0}))})}this.lastChanged=r.find(t=>t.contains(e?.target))??null;const a=r.filter(e=>e.checked).length,o=a>0,i=a===r.length;this.getValidTargets(t,this.allTargets).forEach(e=>{e.checked=i});const u=this.actionInactiveClasses;u.length&&this.actionTargets.forEach(e=>{u.forEach(t=>{e.classList.toggle(t,!o)})})}toggleAll(e){const{force:t=null,group:r=null}={...e.detail,...e.params};this.lastChanged=null;let n=!1;if("boolean"==typeof t)n=t;else if(e.target instanceof HTMLInputElement)n=e.target.checked;else{const e=this.allTargets[0];n=!e?.checked}this.getValidTargets(r).forEach(e=>{e.checked!==n&&(e.checked=n,e.dispatchEvent(new Event("change",{bubbles:!0})))}),this.toggle(e)}disconnect(){document?.removeEventListener("keydown",this.handleShiftKey),document?.removeEventListener("keyup",this.handleShiftKey)}}const N=(...e)=>e.flat(1),B=JSON.parse('[{"LATIN_MAP:und":[["À","A"],["Á","A"],["Â","A"],["Ã","A"],["Ä","A"],["Å","A"],["Æ","AE"],["Ç","C"],["È","E"],["É","E"],["Ê","E"],["Ë","E"],["Ì","I"],["Í","I"],["Î","I"],["Ï","I"],["Ð","D"],["Ñ","N"],["Ò","O"],["Ó","O"],["Ô","O"],["Õ","O"],["Ö","O"],["Ő","O"],["Ø","O"],["Ù","U"],["Ú","U"],["Û","U"],["Ü","U"],["Ű","U"],["Ý","Y"],["Þ","TH"],["Ÿ","Y"],["ß","ss"],["à","a"],["á","a"],["â","a"],["ã","a"],["ä","a"],["å","a"],["æ","ae"],["ç","c"],["è","e"],["é","e"],["ê","e"],["ë","e"],["ì","i"],["í","i"],["î","i"],["ï","i"],["ð","d"],["ñ","n"],["ò","o"],["ó","o"],["ô","o"],["õ","o"],["ö","o"],["ő","o"],["ø","o"],["ù","u"],["ú","u"],["û","u"],["ü","u"],["ű","u"],["ý","y"],["þ","th"],["ÿ","y"]]},{"LATIN_SYMBOLS_MAP":[["©","(c)"]]},{"GREEK_MAP:el":[["α","a"],["β","b"],["γ","g"],["δ","d"],["ε","e"],["ζ","z"],["η","h"],["θ","8"],["ι","i"],["κ","k"],["λ","l"],["μ","m"],["ν","n"],["ξ","3"],["ο","o"],["π","p"],["ρ","r"],["σ","s"],["τ","t"],["υ","y"],["φ","f"],["χ","x"],["ψ","ps"],["ω","w"],["ά","a"],["έ","e"],["ί","i"],["ό","o"],["ύ","y"],["ή","h"],["ώ","w"],["ς","s"],["ϊ","i"],["ΰ","y"],["ϋ","y"],["ΐ","i"],["Α","A"],["Β","B"],["Γ","G"],["Δ","D"],["Ε","E"],["Ζ","Z"],["Η","H"],["Θ","8"],["Ι","I"],["Κ","K"],["Λ","L"],["Μ","M"],["Ν","N"],["Ξ","3"],["Ο","O"],["Π","P"],["Ρ","R"],["Σ","S"],["Τ","T"],["Υ","Y"],["Φ","F"],["Χ","X"],["Ψ","PS"],["Ω","W"],["Ά","A"],["Έ","E"],["Ί","I"],["Ό","O"],["Ύ","Y"],["Ή","H"],["Ώ","W"],["Ϊ","I"],["Ϋ","Y"]]},{"TURKISH_MAP:tr":[["ş","s"],["Ş","S"],["ı","i"],["İ","I"],["ç","c"],["Ç","C"],["ü","u"],["Ü","U"],["ö","o"],["Ö","O"],["ğ","g"],["Ğ","G"]]},{"ROMANIAN_MAP:ro":[["ă","a"],["î","i"],["ș","s"],["ț","t"],["â","a"],["Ă","A"],["Î","I"],["Ș","S"],["Ț","T"],["Â","A"]]},{"RUSSIAN_MAP:ru":[["а","a"],["б","b"],["в","v"],["г","g"],["д","d"],["е","e"],["ё","yo"],["ж","zh"],["з","z"],["и","i"],["й","j"],["к","k"],["л","l"],["м","m"],["н","n"],["о","o"],["п","p"],["р","r"],["с","s"],["т","t"],["у","u"],["ф","f"],["х","x"],["ц","c"],["ч","ch"],["ш","sh"],["щ","shh"],["ъ",""],["ы","y"],["ь",""],["э","e"],["ю","yu"],["я","ya"],["А","A"],["Б","B"],["В","V"],["Г","G"],["Д","D"],["Е","E"],["Ё","Yo"],["Ж","Zh"],["З","Z"],["И","I"],["Й","J"],["К","K"],["Л","L"],["М","M"],["Н","N"],["О","O"],["П","P"],["Р","R"],["С","S"],["Т","T"],["У","U"],["Ф","F"],["Х","X"],["Ц","C"],["Ч","Ch"],["Ш","Sh"],["Щ","Shh"],["Ъ",""],["Ы","Y"],["Ь",""],["Э","E"],["Ю","Yu"],["Я","Ya"]]},{"UKRAINIAN_MAP:uk":[["Є","Ye"],["І","I"],["Ї","Yi"],["Ґ","G"],["є","ye"],["і","i"],["ї","yi"],["ґ","g"],["Г","H"],["г","h"],["И","Y"],["и","y"],["Й","Y"],["й","i"],["Х","Kh"],["х","kh"],["Ц","Ts"],["ц","ts"],["Щ","Shch"],["щ","shch"]]},{"BELARUSIAN_MAP:be":[["а","a"],["б","b"],["в","v"],["г","g"],["д","d"],["е","je"],["ё","jo"],["ж","zh"],["з","z"],["і","i"],["й","j"],["к","k"],["л","l"],["м","m"],["н","n"],["о","o"],["п","p"],["р","r"],["с","s"],["т","t"],["у","u"],["ў","w"],["ф","f"],["х","h"],["ц","c"],["ч","ch"],["ш","sh"],["ы","y"],["ь",""],["э","e"],["ю","ju"],["я","ja"],["А","A"],["Б","B"],["В","V"],["Г","G"],["Д","D"],["Е","Je"],["Ё","Jo"],["Ж","Zh"],["З","Z"],["І","I"],["Й","J"],["К","K"],["Л","L"],["М","M"],["Н","N"],["О","O"],["П","P"],["Р","R"],["С","S"],["Т","T"],["У","U"],["Ў","W"],["Ф","F"],["Х","H"],["Ц","C"],["Ч","Ch"],["Ш","Sh"],["Ъ",""],["Ы","Y"],["Э","E"],["Ю","Ju"],["Я","Ja"]]},{"CZECH_MAP:cs":[["č","c"],["ď","d"],["ě","e"],["ň","n"],["ř","r"],["š","s"],["ť","t"],["ů","u"],["ž","z"],["Č","C"],["Ď","D"],["Ě","E"],["Ň","N"],["Ř","R"],["Š","S"],["Ť","T"],["Ů","U"],["Ž","Z"]]},{"SLOVAK_MAP:sk":[["á","a"],["ä","a"],["č","c"],["ď","d"],["é","e"],["í","i"],["ľ","l"],["ĺ","l"],["ň","n"],["ó","o"],["ô","o"],["ŕ","r"],["š","s"],["ť","t"],["ú","u"],["ý","y"],["ž","z"],["Á","a"],["Ä","A"],["Č","C"],["Ď","D"],["É","E"],["Í","I"],["Ľ","L"],["Ĺ","L"],["Ň","N"],["Ó","O"],["Ô","O"],["Ŕ","R"],["Š","S"],["Ť","T"],["Ú","U"],["Ý","Y"],["Ž","Z"]]},{"POLISH_MAP:pl":[["ą","a"],["ć","c"],["ę","e"],["ł","l"],["ń","n"],["ó","o"],["ś","s"],["ź","z"],["ż","z"],["Ą","A"],["Ć","C"],["Ę","E"],["Ł","L"],["Ń","N"],["Ó","O"],["Ś","S"],["Ź","Z"],["Ż","Z"]]},{"LATVIAN_MAP:lv":[["ā","a"],["č","c"],["ē","e"],["ģ","g"],["ī","i"],["ķ","k"],["ļ","l"],["ņ","n"],["š","s"],["ū","u"],["ž","z"],["Ā","A"],["Č","C"],["Ē","E"],["Ģ","G"],["Ī","I"],["Ķ","K"],["Ļ","L"],["Ņ","N"],["Š","S"],["Ū","U"],["Ž","Z"]]},{"ARABIC_MAP:ar":[["أ","a"],["ب","b"],["ت","t"],["ث","th"],["ج","g"],["ح","h"],["خ","kh"],["د","d"],["ذ","th"],["ر","r"],["ز","z"],["س","s"],["ش","sh"],["ص","s"],["ض","d"],["ط","t"],["ظ","th"],["ع","aa"],["غ","gh"],["ف","f"],["ق","k"],["ك","k"],["ل","l"],["م","m"],["ن","n"],["ه","h"],["و","o"],["ي","y"]]},{"LITHUANIAN_MAP:lt":[["ą","a"],["č","c"],["ę","e"],["ė","e"],["į","i"],["š","s"],["ų","u"],["ū","u"],["ž","z"],["Ą","A"],["Č","C"],["Ę","E"],["Ė","E"],["Į","I"],["Š","S"],["Ų","U"],["Ū","U"],["Ž","Z"]]},{"SERBIAN_MAP:sr":[["ђ","dj"],["ј","j"],["љ","lj"],["њ","nj"],["ћ","c"],["џ","dz"],["đ","dj"],["Ђ","Dj"],["Ј","j"],["Љ","Lj"],["Њ","Nj"],["Ћ","C"],["Џ","Dz"],["Đ","Dj"]]},{"AZERBAIJANI_MAP:az":[["ç","c"],["ə","e"],["ğ","g"],["ı","i"],["ö","o"],["ş","s"],["ü","u"],["Ç","C"],["Ə","E"],["Ğ","G"],["İ","I"],["Ö","O"],["Ş","S"],["Ü","U"]]},{"GEORGIAN_MAP:ka":[["ა","a"],["ბ","b"],["გ","g"],["დ","d"],["ე","e"],["ვ","v"],["ზ","z"],["თ","t"],["ი","i"],["კ","k"],["ლ","l"],["მ","m"],["ნ","n"],["ო","o"],["პ","p"],["ჟ","j"],["რ","r"],["ს","s"],["ტ","t"],["უ","u"],["ფ","f"],["ქ","q"],["ღ","g"],["ყ","y"],["შ","sh"],["ჩ","ch"],["ც","c"],["ძ","dz"],["წ","w"],["ჭ","ch"],["ხ","x"],["ჯ","j"],["ჰ","h"]]}]'),R={};var S;!function(e){e.Format="format",e.Identity="identity",e.Slugify="slugify",e.Urlify="urlify"}(S||(S={}));class O extends n.Controller{static values={allowUnicode:{default:!1,type:Boolean},formatters:{default:[],type:Array},locale:{default:"",type:String},trim:{default:!1,type:Boolean}};defaultRegexFlags="gu";regexCache={};undeterminedLocale="und";applyUpdate(e,t,r){this.element.value=t,this.dispatch("applied",{cancelable:!1,detail:{action:e,cleanValue:t,sourceValue:r}})}compare(e){if(!this.element.value)return!0;const t=this[e.detail?.compareAs||e.params?.compareAs||S.Slugify]({detail:{value:e.detail?.value||""}},{ignoreUpdate:!0,runFormat:!0}),r=this.compareValues(t,this.element.value);return r||e?.preventDefault(),r}compareValues(...e){return 1===new Set(e.map(e=>`${e}`)).size}identity(){const e=S.Identity,t=this.element.value;return this.applyUpdate(e,t,t),t}format(e,{ignoreUpdate:t=!1}={}){const{value:r=this.element.value}=e?.detail||{};if(!r)return"";const n=this.formattersValue.reduce((e,[t=[],r=""])=>{const[n="",a=this.defaultRegexFlags]=N(t);return e[a.includes("g")?"replaceAll":"replace"](this.getRegex(n,a),r)},this.prepareValue(r));return t||this.applyUpdate(S.Format,n,r),n}formattersValueChanged(e){if(e?.length){this.regexCache={};try{this.format({detail:{value:"__PLACEHOLDER__"}},{ignoreUpdate:!0})}catch(t){this.context.application.handleError(t,"Invalid regex pattern passed to formatters.",{formatters:[...e]})}}}getRegex(e,t){const r=[e,t].join(":");if(this.regexCache[r])return this.regexCache[r];const n=new RegExp(e,t);return this.regexCache[r]=n,n}localeValueChanged(e){e||(this.localeValue=v.HE.ACTIVE_CONTENT_LOCALE||this.undeterminedLocale)}prepareValue(e="",{runFormat:t=!1}={}){const r=this.trimValue?e.trim():e;return t?this.format({detail:{value:r}},{ignoreUpdate:!0}):r}slugify(e,{ignoreUpdate:t=!1,runFormat:r=!t}={}){const{value:n=this.element.value}=e?.detail||{},a=this.prepareValue(n,{runFormat:r});if(!a)return"";const o=((e,{allowUnicode:t=!1}={})=>{let r;const n=/^[\p{L}\p{N}_-]+$/u;return r=t?e.replace(/\s+/g,"-").toLowerCase().split("").filter(e=>n.test(e)).join(""):e.replace(/\s+/g,"-").replace(/[^A-Za-z0-9\-_]/g,"").toLowerCase(),r})(a,{allowUnicode:this.allowUnicodeValue});return t||this.applyUpdate(S.Slugify,o,n),o}urlify(e,{ignoreUpdate:t=!1,runFormat:r=!t}={}){const{value:n=this.element.value}=e?.detail||{},a=this.prepareValue(n,{runFormat:r});if(!a)return"";const o=((e,{allowUnicode:t=!1,locale:r="en",numChars:n=255}={})=>{let a=e;return t||(a=((e="")=>{if(R[e])return R[e];const[t]=e.toLowerCase().split("-"),r=Object.fromEntries(B.map(e=>Object.entries(e)).flat().map(([e,t])=>{const[,...r]=e.toLowerCase().split(":");return[r,t]}).sort(([e=[]]=[],[r=[]]=[])=>{const n=e.includes(t),a=r.includes(t);return n&&!a?-1:!n&&a?1:0}).flatMap(([,e])=>e).reverse()),n=new RegExp(Object.keys(r).join("|"),"g"),a=e=>e.replace(n,e=>r[e]);return R[t]=a,a})(r)(a)),a=a.toLowerCase(),a=t?a.replace(/[^-_\p{L}\p{N}\s]/gu,""):a.replace(/[^-\w\s]/g,""),a=a.replace(/[-\s]+/g,"-"),a=a.substring(0,n),a=a.replace(/-+$/g,""),a})(a,{allowUnicode:this.allowUnicodeValue,locale:this.localeValue})||this.slugify({detail:{value:a}},{ignoreUpdate:!0});return t||this.applyUpdate(S.Urlify,o,n),o}}class _ extends n.Controller{static targets=["value"];copy(e){const{value:t=(this.hasValueTarget?this.valueTarget.value:this.element.value||null)}={...e.detail,...e.params};t&&(this.dispatch("copy").defaultPrevented||new Promise((e,r)=>{navigator.clipboard?navigator.clipboard.writeText(t).then(e,r):r()}).then(()=>this.dispatch("copied",{detail:{clear:!0,type:"success"}})).catch(()=>this.dispatch("error",{detail:{clear:!0,type:"error"}})))}}var P=r(3476);class I extends n.Controller{static classes=["added","hide","show"];static targets=["container","template"];static values={autoClear:{default:0,type:Number},clearDelay:{default:0,type:Number},showDelay:{default:0,type:Number}};isClearing;add(e){const{clear:t=!1,text:r="",type:n=null}={...e?.detail,...e?.params};this.element.classList.add(...this.addedClasses),t&&this.clear();const a=this.getTemplateContent(n);if(!a)return;const o=a.lastElementChild;o instanceof HTMLElement&&r&&(o.textContent=r),this.containerTarget.appendChild(a),(0,x.s)(()=>{this.element.classList.remove(...this.hideClasses),this.element.classList.add(...this.showClasses),this.dispatch("added",{cancelable:!1})},this.showDelayValue||null)().then(()=>{this.autoClearValue&&(0,x.s)(()=>{this.clear()},this.autoClearValue)()})}clear(e){if(this.isClearing=!1,!e)return void(this.containerTarget.innerHTML="");const t=this.clearDelayValue||null,r=this.element;this.isClearing=!0,r.classList.remove(...this.addedClasses),r.classList.remove(...this.showClasses),r.classList.add(...this.hideClasses),(0,x.s)(P.l,t)().then(()=>{this?.isClearing&&(this.containerTarget.innerHTML="",this.dispatch("cleared",{cancelable:!1}),this.isClearing=!1)})}getTemplateContent(e){const t=e&&this.templateTargets.find(({dataset:t})=>t.type===e)||this.templateTarget,r=t.content.firstElementChild?.cloneNode(!0);return r instanceof HTMLElement?r:null}}var M=r(2833);class L extends n.Controller{static classes=["active"];static targets=["label","total"];static values={container:{default:"body",type:String},find:{default:":not([hidden]):is(.error-message,.help-critical)",type:String},labels:{default:[],type:Array},min:{default:0,type:Number},total:{default:0,type:Number}};connect(){this.count()}count(){return this.totalValue=[...document.querySelectorAll(this.containerValue||"body")].map(e=>e.querySelectorAll(this.findValue).length).reduce((e,t)=>e+t,0),this.totalValue}getLabel(e){const t=(0,M.WI)("%(num)s error","%(num)s errors",e);if(this.labelsValue.length>1){const[t,r=this.labelsValue[1],n="__total__"]=this.labelsValue;return(0,M.WI)(t,r,e).replace(n,`${e}`)}return t.replace("%(num)s",`${e}`)}minValueChanged(){this.totalValueChanged(this.count())}totalValueChanged(e){const t=this.minValue;this.hasActiveClass&&this.element.classList.toggle(this.activeClass,e>t),this.hasLabelTarget&&(this.labelTarget.textContent=e>t?this.getLabel(e):""),this.hasTotalTarget&&(this.totalTarget.textContent=e>t?`${e}`:"")}}var V=r(9104);class j extends n.Controller{static classes=["dismissed"];static values={dismissed:{default:!1,type:Boolean},id:{default:"",type:String}};toggle(e){this.element.classList.add(this.dismissedClass),this.dismissedValue=!0,this.patch(e)}patch(e){var t;this.idValue&&(t={[this.idValue]:e?.params?.value??this.dismissedValue},fetch(v.HE.ADMIN_URLS?.DISMISSIBLES,{method:"PATCH",headers:{[v.HE.CSRF_HEADER_NAME]:v.HE.CSRF_TOKEN,"Content-Type":"application/json"},body:JSON.stringify(t),mode:"same-origin"}))}}class q extends n.Controller{static targets=["count","menu","toggle"];static values={activeSubmenu:{default:"",type:String},countAttr:{default:"",type:String}};static outlets=["w-action","w-dropdown"];countTargetConnected(){this.updateCount()}connect(){this.open=this.open.bind(this)}wActionOutletConnected(e,t){t.addEventListener("click",this.open)}wActionOutletDisconnected(e,t){t.removeEventListener("click",this.open)}updateCount(){const e=document.querySelectorAll(`[${this.countAttrValue}]`).length;this.countTargets.forEach(t=>{const r=t.dataset.countName,n=r?document.querySelectorAll(`[${this.countAttrValue}=${r}]`).length:e;t.hidden=0===n,t.textContent=n.toString()})}open(e){const t=e.target?.closest("button");this.activeSubmenuValue=t.getAttribute("aria-controls")||""}close(){this.activeSubmenuValue=""}delayedClose(){setTimeout(()=>this.close(),200)}activeSubmenuValueChanged(e,t){if(t){const e=document.querySelector(`[aria-controls="${t}"]`);this.toggle(!1,e)}if(e){const t=document.querySelector(`[aria-controls="${e}"]`);this.toggle(!0,t)}}preventOutletClickaway(e){const t=e.detail.target;if(!t)return;const r=this.toggleTargets.map(e=>e.getAttribute("aria-controls")),n=t.closest("button")?.getAttribute("aria-controls")||"";r.includes(n)&&e.preventDefault()}toggle(e,t){this.hasWDropdownOutlet&&e&&this.wDropdownOutlet.show();const r=t.getAttribute("aria-controls"),n=this.element.querySelector(`#${r}`);n&&(t.setAttribute("aria-expanded",e.toString()),n.hidden=!e,this.menuTarget.hidden=e,e?n.focus():t.focus())}}var z=r(7381);const $={name:"hideOnEsc",defaultValue:!0,fn({hide:e}){function t(t){"Escape"===t.key&&e()}return{onShow(){document.addEventListener("keydown",t)},onHide(){document.removeEventListener("keydown",t)}}}};class U extends n.Controller{static values={content:String,offset:Array,placement:{default:"bottom",type:String}};static targets=["content"];tippy;connect(){this.tippy=(0,z.Ay)(this.element,this.options)}contentValueChanged(e,t){t&&t!==e&&this.tippy?.setProps(this.options)}placementValueChanged(e,t){t&&t!==e&&this.tippy?.setProps(this.options)}hide(){this.tippy?.hide()}show(){this.tippy?.show()}get options(){let e=this.contentValue;return this.hasContentTarget&&(this.contentTarget.hidden=!1,e=this.contentTarget),{content:e,placement:this.placementValue,plugins:this.plugins,...this.hasOffsetValue&&{offset:this.offsetValue}}}get plugins(){return[$]}disconnect(){this.tippy?.destroy()}}const H={name:"hideTooltipOnBreadcrumbAndCollapse",fn({hide:e}){function t(){e()}return{onShow(){document.addEventListener("w-breadcrumbs:opened",t),document.addEventListener("w-breadcrumbs:closed",t)},onHide(){document.removeEventListener("w-breadcrumbs:closed",t),document.removeEventListener("w-breadcrumbs:opened",t)}}}},W={name:"hideTooltipOnClickInside",defaultValue:!0,fn(e){const t=()=>e.hide();return{onShow(){e.popper.addEventListener("click",t)},onHide(){e.popper.removeEventListener("click",t)}}}},G={name:"rotateToggleIcon",fn(e){const t=e.reference.querySelector(".icon-arrow-down, .icon-arrow-up");return t?{onShow:()=>t.classList.add("w-rotate-180"),onHide:()=>t.classList.remove("w-rotate-180")}:{}}};class K extends n.Controller{static targets=["toggle","content"];static values={hideOnClick:{default:!1,type:Boolean},keepMounted:{default:!1,type:Boolean},offset:Array,theme:{default:"dropdown",type:String}};tippy;connect(){this.tippy=(0,z.Ay)(this.toggleTarget,this.options)}hide(){this.tippy?.hide()}show(){this.tippy?.show()}get options(){const e=this.toggleTarget.getAttribute("aria-label");let t;return this.hasContentTarget&&(this.contentTarget.hidden=!1),e&&(t=(0,z.Ay)(this.toggleTarget,{content:e,placement:"bottom",plugins:[$]})),{...this.hasContentTarget?{content:this.contentTarget}:{},trigger:"click",...this.themeOptions,interactive:!0,...this.hasOffsetValue&&{offset:this.offsetValue},getReferenceClientRect:()=>this.reference.getBoundingClientRect(),theme:this.themeValue,onCreate:e=>{if(this.keepMountedValue){const{popper:t}=e;this.element.append(t),t.hidden=!0}},onShow:e=>{if(t&&t.disable(),this.keepMountedValue){const{popper:t}=e;t.hidden=!1}},onShown:()=>{this.dispatch("shown")},onHide:()=>{this.dispatch("hide"),t&&t.enable()},onHidden:e=>{if(this.keepMountedValue){const{popper:t}=e;this.element.append(t),t.hidden=!0}}}}get themeOptions(){return{dropdown:{arrow:!0,maxWidth:350,placement:"bottom",plugins:this.plugins},popup:{arrow:!0,placement:"bottom",plugins:this.plugins,trigger:"mouseenter focus click"},drilldown:{arrow:!1,maxWidth:"none",placement:"bottom-end",hideOnClick:!1,plugins:this.plugins.concat([this.hideTooltipOnClickAway])},"dropdown-button":{arrow:!1,maxWidth:"none",placement:"bottom-start",plugins:this.plugins}}[this.themeValue]}get hideTooltipOnClickAway(){return{name:"hideTooltipOnClickAway",fn:e=>{const t=t=>{this.dispatch("clickaway",{cancelable:!0,detail:{target:t.target}}).defaultPrevented||!e.state.isShown||this.reference.contains(t.target)&&!this.toggleTarget.contains(t.target)||e.hide()};return{onShow(){document.addEventListener("click",t)},onHide(){document.removeEventListener("click",t)}}}}}get plugins(){const e=[H,$,G];return this.hideOnClickValue&&e.push(W),e}get reference(){const e=this.toggleTarget.parentElement;return"dropdown-button"===this.themeValue?e.parentElement:e}disconnect(){this.tippy&&(this.element?.append(this.tippy.popper),this.tippy.popper.hidden=!0,this.tippy.destroy())}}var Y=r(1245);class Z extends n.Controller{static values={target:String};get target(){const e=this.targetValue||this.element.getAttribute("href")||"main";return this.element.closest(e)||document.querySelector(e)}focus(){const e=this.target;e&&!this.dispatch("focus",{bubbles:!0,cancelable:!0,target:e}).defaultPrevented&&((0,Y.s)(e),this.dispatch("focused",{bubbles:!0,cancelable:!1,target:e}))}}var X=r(6032);class J extends n.Controller{static classes=["deleted"];static targets=["child","deleted","deleteInput","forms","minFormsInput","maxFormsInput","template","totalFormsInput"];static values={min:{default:0,Number},max:{default:1e3,Number},total:{default:0,Number}};elementPrefixRegex=/__prefix__(.*?['"])/g;initialize(){this.totalValue=parseInt(this.totalFormsInputTarget.value,10),this.minValue=parseInt(this.minFormsInputTarget.value,10),this.maxValue=parseInt(this.maxFormsInputTarget.value,10)}connect(){this.dispatch("ready",{cancelable:!1,detail:{minValue:this.minValue,maxValue:this.maxValue,totalValue:this.totalValue}})}add(){this.childTargets.length>=this.maxValue||this.dispatch("adding",{cancelable:!0,detail:{formIndex:this.totalValue}}).defaultPrevented||this.formsTarget.appendChild(this.newChild)}delete(e){const t=this.childTargets.find(t=>t.contains(e.target));if(!t)throw new Error(`Could not find child form target for event target: ${e.target}.`);if(this.childTargets.length<=this.minValue)return;if(this.dispatch("removing",{target:t,cancelable:!0}).defaultPrevented)return;const r=`data-${this.identifier}-target`;t.setAttribute(r,(t.getAttribute(r)?.split(" ")??[]).filter(e=>"child"!==e).concat(["deleted"]).join(" "))}childTargetConnected(e){const t=this.childTargets.length+this.deletedTargets.length;t!==this.totalValue&&(this.totalValue=t,this.dispatch("added",{target:e,cancelable:!1,detail:{formIndex:t-1}}))}childTargetDisconnected(e){const t=this.deletedClasses;e.classList.add(...t),((e,{maxDelay:t=350}={})=>new Promise(r=>{if(!t||t<=0)return void r(null);let n;const a=t=>{t&&t.target!==e||(window.clearTimeout(n),e.removeEventListener("transitionend",a),e.removeEventListener("animationend",a),r(t||null))};e.addEventListener("animationend",a),e.addEventListener("transitionend",a),n=window.setTimeout(a,t)}))(e,t.length?{}:{maxDelay:0}).then(()=>{e.setAttribute("hidden",""),this.dispatch("removed",{target:e,cancelable:!1})});const r=this.deleteInputTargets.find(t=>e.contains(t));if(!r)throw new Error(`Could not find "deleteInput" target within removed form. ${e.nodeName} with id '${e.id}'.`);"1"!==r.value&&(r.value="1",this.dispatch("change",{prefix:"",target:r,cancelable:!1}))}totalValueChanged(e,t){if(e===t||void 0===t)return;const r=this.totalFormsInputTarget;r.value!==`${e}`&&(r.value=`${e}`,this.dispatch("change",{prefix:"",target:r,cancelable:!1}))}get newChild(){const e=this.templateTarget.content.firstElementChild?.cloneNode(!0);if(!(e instanceof HTMLElement))throw new Error("Invalid template content, must be a single node.");const t=this.childTargets.length+this.deletedTargets.length,r=document.createElement("template");r.innerHTML=e.outerHTML.replace(this.elementPrefixRegex,t+"$1");const n=r.content.firstElementChild?.cloneNode(!0);return(0,X.v)(n),n}}class Q extends n.Controller{static classes=["ready","remove"];static values={delay:{default:-1,type:Number},detail:{default:{},type:Object},event:{default:"",type:String}};connect(){this.ready()}ready(){const e=this.delayValue,t={...this.detailValue};(0,x.s)(()=>!0,e<0?null:e)().then(()=>{this.element.classList.add(...this.readyClasses),this.element.classList.remove(...this.removeClasses),this.dispatch("ready",{bubbles:!0,cancelable:!0,detail:t}).defaultPrevented||(this.eventValue.split(" ").filter(Boolean).forEach(e=>{this.dispatch(e,{bubbles:!0,cancelable:!1,detail:t,prefix:""})}),this.remove())})}remove(){const e=this.element;this.constructor.classes.forEach(t=>{e.removeAttribute(`data-${this.identifier}-${t}-class`)}),Object.keys(this.constructor.values).forEach(t=>{e.removeAttribute(`data-${this.identifier}-${t}-value`)});const t=this.application.schema.controllerAttribute,r=(e.getAttribute(t)?.split(" ")??[]).filter(e=>e!==this.identifier).join(" ");r?e.setAttribute(t,r):e.removeAttribute(t)}}var ee,te=r(6411),re=r.n(te);r(9610),function(e){e.CLICK="click",e.FOCUS="focus"}(ee||(ee={}));class ne extends n.Controller{static targets=["element"];static values={action:{default:"",type:String},key:{default:"",type:String},scope:{default:"",type:String}};static get shouldLoad(){return!!v.HE.KEYBOARD_SHORTCUTS_ENABLED}initialize(){if(this.handleKey=this.handleKey.bind(this),!this.keyValue){const e=[...this.elementTargets,this.element].find(e=>e.hasAttribute("aria-keyshortcuts"))?.getAttribute("aria-keyshortcuts");e&&(this.keyValue=e)}}handleKey(e){e.preventDefault&&e.preventDefault();const t=this.elementTargets.length>0?this.elementTargets[0]:this.element;this.actionValue===ee.FOCUS?this.handleFocus(t):this.handleClick(t)}handleClick(e){e.click()}handleFocus(e){(0,Y.s)(e),e instanceof HTMLInputElement&&e.value&&e.select&&e.select()}keyValueChanged(e,t){t&&t!==e&&re().unbind(t),e&&("global"===this.scopeValue?re().bindGlobal(e,this.handleKey):re().bind(e,this.handleKey))}}class ae extends n.Controller{static localizeTimeZone(e,t){return new Intl.DateTimeFormat(document.documentElement.lang,{timeZone:e,timeZoneName:t}).formatToParts(new Date).find(e=>"timeZoneName"===e.type).value}static getTZLabel(e){return`${ae.localizeTimeZone(e,"short")} (${ae.localizeTimeZone(e,"long")})`}localizeTimeZoneOptions(e){const t=e?.target||this.element,r=e?.params?.serverTimeZone;Array.from(t.options).forEach(e=>{const t=e.value||r;if(!t)return;const n=ae.getTZLabel(t),a=e,o=(0,M.AP)("%(time_zone_option)s: %(localized_time_zone_label)s");a.textContent=o.replace("%(time_zone_option)s",a.textContent??"").replace("%(localized_time_zone_label)s",n)})}}var oe,ie=r(246);!function(e){e.Up="UP",e.Down="DOWN"}(oe||(oe={}));class ue extends n.Controller{static classes=["active","chosen","drag","ghost"];static targets=["handle","item"];static values={animation:{default:200,type:Number},container:{default:"",type:String},message:{default:"",type:String},url:String};order;sortable;constructor(e){super(e),this.order=[]}connect(){const e=this.containerValue,t=e&&this.element.querySelector(e)||this.element;this.sortable=ie.Ay.create(t,this.options),this.order=this.sortable.toArray(),this.dispatch("ready",{cancelable:!1,detail:{order:this.order}})}get options(){const e=this.identifier;return{...this.hasGhostClass?{ghostClass:this.ghostClass}:{},...this.hasChosenClass?{chosenClass:this.chosenClass}:{},...this.hasDragClass?{dragClass:this.dragClass}:{},animation:this.animationValue,dataIdAttr:`data-${e}-item-id`,draggable:`[data-${e}-target="item"]`,handle:`[data-${e}-target="handle"]`,onStart:()=>{this.element.classList.add(...this.activeClasses)},onEnd:({item:e,newIndex:t,oldIndex:r})=>{this.element.classList.remove(...this.activeClasses),r!==t&&(this.order=this.sortable.toArray(),this.submit({...this.getItemData(e),newIndex:t}))}}}getItemData(e){const t=this.identifier,r=e instanceof HTMLElement&&e.closest(`[data-${t}-target='item']`);return r?{id:r.getAttribute(`data-${t}-item-id`)||"",label:r.getAttribute(`data-${t}-item-label`)||""}:{id:"",label:""}}apply({currentTarget:e}){const{id:t,label:r}=this.getItemData(e),n=this.order.indexOf(t);this.submit({id:t,label:r,newIndex:n})}move({currentTarget:e},t){const r=this.identifier,n=e instanceof HTMLElement&&e.closest(`[data-${r}-target='item']`);if(!n)return;const a=n.getAttribute(`data-${r}-item-id`)||"",o=this.order.indexOf(a);this.order.splice(o,1),t===oe.Down?this.order.splice(o+1,0,a):t===oe.Up&&o>0?this.order.splice(o-1,0,a):this.order.splice(o,0,a),this.sortable.sort(this.order,!0)}up(e){this.move(e,oe.Up),e.currentTarget?.focus()}down(e){this.move(e,oe.Down),e.currentTarget?.focus()}submit({id:e,label:t,newIndex:r}){let n=this.urlValue.replace("999999",e);null!==r&&(n+="?position="+r);const a=(this.messageValue||"__LABEL__").replace("__LABEL__",t);fetch(n,{method:"POST",headers:{[v.HE.CSRF_HEADER_NAME]:v.HE.CSRF_TOKEN}}).then(e=>{if(!e.ok)throw new Error(`HTTP error! Status: ${e.status}`)}).then(()=>{this.dispatch("w-messages:add",{prefix:"",target:window.document,detail:{clear:!0,text:a,type:"success"},cancelable:!1})}).catch(e=>{throw e})}disconnect(){this.sortable&&this.sortable.destroy()}}var se=r(8609),le=r.n(se),ce=r(2178),de=r(1319);const pe={ar:181,zh:260,nl:228,en:238,fi:195,fr:214,de:260,he:224,it:285,ko:226,es:278,sv:218},he=(e,t,...r)=>!t||t<=0||t>=2**31?null:setInterval(e,t,...r);var fe,me,De,ge=r(2277);class ve extends n.Controller{static classes=["hasErrors","proxy","selectedSize"];static targets=["iframe","mode","newTab","size","spinner"];static values={autoUpdateInterval:{default:500,type:Number},deviceLocalStorageKey:{default:"wagtail:preview-panel-device",type:String},deviceWidthProperty:{default:"--preview-device-width",type:String},panelWidthProperty:{default:"--preview-panel-width",type:String},renderUrl:{default:"",type:String},url:{default:"",type:String}};static outlets=["w-progress"];static fallbackWidth=375..toString();static scrollRestoreTimeout=1e4;ready=!1;available=!0;formPayload="";spinnerTimeout=null;updateInterval=null;updatePromise=null;reloadPromise=null;#e=null;contentChecksPromise=null;get activeSizeInput(){return this.sizeTargets.find(e=>e.checked)||null}get renderUrl(){const e=new URL(this.renderUrlValue,window.location.href);return this.hasModeTarget&&e.searchParams.set("mode",this.modeTarget.value),e}connect(){if(!this.urlValue)throw new Error(`The preview panel controller requires the data-${this.identifier}-url-value attribute to be set`);this.resizeObserver=this.observePanelSize(),this.editForm=document.querySelector("[data-edit-form]"),this.sidePanelContainer=this.element.parentElement,this.activatePreview=this.activatePreview.bind(this),this.deactivatePreview=this.deactivatePreview.bind(this),this.setPreviewData=this.setPreviewData.bind(this),this.checkAndUpdatePreview=this.checkAndUpdatePreview.bind(this),this.runChecks=this.runChecks.bind(this),this.sidePanelContainer.addEventListener("show",this.activatePreview),this.sidePanelContainer.addEventListener("hide",this.deactivatePreview),this.setUpContentChecks(),this.restoreLastSavedPreferences()}setUpContentChecks(){this.checksSidePanel=document.querySelector('[data-side-panel="checks"]'),this.a11yRowTemplate=document.querySelector("#w-a11y-result-row-template"),this.checksPanel=document.querySelector("[data-checks-panel]"),this.axeConfig=(0,ce.$R)(document.body),this.checksToggleCounter=document.querySelector('[data-side-panel-toggle="checks"] [data-side-panel-toggle-counter]'),this.checksPanelCounter=document.querySelector('[data-side-panel="checks"] [data-a11y-result-count]'),this.checksSidePanel&&this.checksPanel&&this.a11yRowTemplate&&this.axeConfig&&this.checksToggleCounter&&this.checksPanelCounter?(this.axeConfig.context.include={fromFrames:["#w-preview-iframe"].concat(this.axeConfig.context.include)},this.axeConfig.context.exclude?.length>0&&(this.axeConfig.context.exclude={fromFrames:["#w-preview-iframe"].concat(this.axeConfig.context.exclude)}),this.contentExtractorOptions={targetElement:'main, [role="main"]'},le().configure((0,ce.ip)(this.axeConfig.spec)),le().registerPlugin(de.$),this.checksSidePanel.addEventListener("show",this.activatePreview),this.checksSidePanel.addEventListener("hide",this.deactivatePreview),window.addEventListener("message",this.runChecks),this.contentChecksEnabled=!0):this.contentChecksEnabled=!1}renderUrlValueChanged(e){e||(this.renderUrlValue=this.urlValue),this.updateNewTabLink()}autoUpdateIntervalValueChanged(){this.updateInterval?this.addInterval():this.autoUpdateIntervalValue||this.clearInterval()}restoreLastSavedPreferences(){let e=null;try{e=localStorage.getItem(this.deviceLocalStorageKeyValue)}catch(e){}const t=this.sizeTargets.find(t=>t.value===e)||this.activeSizeInput||this.sizeTargets[0];t.click(),this.applySelectedSizeClass(t.value)}activatePreview(){this.checkAndUpdatePreview(),this.addInterval()}addInterval(){this.clearInterval(),this.updateInterval=he(this.checkAndUpdatePreview,this.autoUpdateIntervalValue),this.updateInterval&&(this.setPreviewData=(0,x.s)(this.setPreviewData,this.autoUpdateIntervalValue))}clearInterval(){"restore"in this.setPreviewData&&(this.setPreviewData=this.setPreviewData.restore()),this.updateInterval&&(window.clearInterval(this.updateInterval),this.updateInterval=null)}deactivatePreview(){this.clearInterval()}setPreviewMode(){this.updateNewTabLink(),this.setPreviewDataWithAlert()}updateNewTabLink(){this.hasNewTabTarget&&(this.newTabTarget.href=this.renderUrl.toString())}togglePreviewSize(e){const t=e.target,r=t.value,n=t.dataset.deviceWidth;this.setPreviewWidth(n),this.applySelectedSizeClass(r);try{localStorage.setItem(this.deviceLocalStorageKeyValue,r)}catch(e){}}setPreviewWidth(e){let t=e;e||(t=this.activeSizeInput?.dataset.deviceWidth||ve.fallbackWidth),this.available||(t=ve.fallbackWidth),this.element.style.setProperty(this.deviceWidthPropertyValue,t)}applySelectedSizeClass(e){this.sizeTargets.forEach(t=>{t.labels?.forEach(r=>r.classList.toggle(this.selectedSizeClass,t.value===e))})}observePanelSize(){const e=new ResizeObserver(e=>this.element.style.setProperty(this.panelWidthPropertyValue,e[0].contentRect.width.toString()));return e.observe(this.element),e}async checkAndUpdatePreview(){if(!this.updatePromise&&this.hasChanges())return this.setPreviewData()}hasChanges(){const e=new URLSearchParams(new FormData(this.editForm)).toString(),t=this.formPayload!==e;return this.formPayload=e,t}setPreviewData=async()=>this.updatePromise?this.updatePromise:this.dispatch("update").defaultPrevented?void 0:(this.updatePromise=(async()=>{this.hasSpinnerTarget&&(this.spinnerTimeout=setTimeout(()=>{this.spinnerTarget.hidden=!1},2e3));try{const e=await fetch(this.urlValue,{method:"POST",body:new FormData(this.editForm)}),t=await e.json();return this.dispatch("json",{cancelable:!1,detail:{data:t}}),this.element.classList.toggle(this.hasErrorsClass,!t.is_valid),this.available=t.is_available,t.is_valid?this.reloadIframe():this.ready?this.finishUpdate():t.is_available?this.updatePromise=this.clearPreviewData().then(()=>!1):this.reloadIframe(),t.is_valid}catch(e){throw this.dispatch("error",{cancelable:!1,detail:{error:e}}),this.finishUpdate(),e}})(),this.updatePromise);async clearPreviewData(){return fetch(this.urlValue,{headers:{[v.HE.CSRF_HEADER_NAME]:v.HE.CSRF_TOKEN},method:"DELETE"}).then(e=>(this.available=!1,this.reloadIframe(),e))}reloadIframe(){if(this.reloadPromise=new Promise(e=>{this.#e=e}),this.dispatch("load").defaultPrevented)return void this.finishUpdate();const e=this.iframeTarget.cloneNode();e.removeAttribute("id");const t=this.renderUrl;t.searchParams.set("in_preview_panel","true"),e.src=t.toString(),e.classList.add(this.proxyClass),this.iframeTarget.insertAdjacentElement("afterend",e)}async replaceIframe(e){const t=this.iframeTarget.id,r=e.target;r.src&&(this.ready&&await this.restoreScrollPosition(r),this.iframeTargets.forEach(e=>{e!==r&&e.remove()}),r.id=t,r.classList.remove(this.proxyClass),this.dispatch("loaded",{cancelable:!1}),this.finishUpdate())}async restoreScrollPosition(e){const t={oldIframe:!1,newIframe:!1};try{t.oldIframe=!this.iframeTarget.contentWindow?.location.origin}catch{t.oldIframe=!0}try{t.newIframe=!e.contentWindow?.location.origin}catch{t.newIframe=!0}return t.oldIframe!==t.newIframe?Promise.resolve():t.oldIframe||t.newIframe?new Promise(t=>{const r=n=>{const a=(0,ge.j)(n);if(a)switch(a.type){case"w-preview:request-scroll":this.iframeTarget.contentWindow?.postMessage({wagtail:{type:"w-preview:get-scroll-position"}},a.origin);break;case"w-preview:set-scroll-position":e.contentWindow?.postMessage({wagtail:a},a.origin),window.removeEventListener("message",r),t()}};window.addEventListener("message",r),setTimeout(()=>{window.removeEventListener("message",r),t()},ve.scrollRestoreTimeout)}):(e.contentWindow?.scroll({top:this.iframeTarget.contentWindow?.scrollY,left:this.iframeTarget.contentWindow?.scrollX,behavior:"instant"}),Promise.resolve())}async runChecks(e){if(e&&"message"===e.type){const t=(0,ge.j)(e);if("w-userbar:axe-ready"!==t?.type)return this.contentChecksPromise}return this.contentChecksPromise&&await this.contentChecksPromise,this.contentChecksPromise=(async()=>{await this.runAccessibilityChecks(),await this.runContentChecks(),this.contentChecksPromise=null})(),this.contentChecksPromise}async runAccessibilityChecks(){const{results:e,a11yErrorsNumber:t}=await(0,ce.lc)(this.axeConfig);this.checksToggleCounter.textContent=t.toString(),this.checksToggleCounter.hidden=0===t,this.checksPanelCounter.textContent=t.toString(),this.checksPanelCounter.classList.toggle("has-errors",t>0),(0,ce.ZG)(this.checksPanel,e,this.axeConfig,this.a11yRowTemplate,()=>this.newTabTarget.click())}async runContentChecks(){const e=await this.extractContent();if(!e)return;const t=((e,t)=>{const r=new Intl.Segmenter(e,{granularity:"word"});return Array.from(r.segment(t)).reduce((e,t)=>t.isWordLike?e+1:e,0)})(e.lang,e.innerText),r=((e,t)=>{const r=e.split("-")[0],n=pe[r]||pe.en;return Math.round(t/n)})(e.lang,t),n=((e,t)=>{const r=new Intl.Segmenter(e,{granularity:"sentence"}),n=Array.from(r.segment(t)).length,a=new Intl.Segmenter(e,{granularity:"word"});let o=0,i=0;for(const{segment:e,isWordLike:r}of a.segment(t))r&&(o+=1,e.length>6&&(i+=1));return 0===n||o<10?0:o/n+i/o*100})(e.lang,e.innerText),a=(e=>e<35?(0,M.AP)("Good"):e<45?(0,M.AP)("Fair"):(0,M.AP)("Complex"))(n),o={wordCount:t,readingTime:r,lixScore:n,readabilityScore:a};this.dispatch("content",{detail:{content:e,metrics:o}}),(({wordCount:e,readingTime:t,readabilityScore:r})=>{const n=document.querySelector("[data-content-word-count]"),a=document.querySelector("[data-content-reading-time]"),o=document.querySelector("[data-content-readability-score]");n&&a&&(n.textContent=e.toString(),a.textContent=(0,M.WI)("%(num)s min","%(num)s mins",t).replace("%(num)s",`${t}`),o&&(o.textContent=r.toString()))})(o)}async extractContent(e){return this.ready||(await this.checkAndUpdatePreview(),await this.reloadPromise),(e=>new Promise(t=>{le().plugins.wagtailPreview.run("extractor","extract",e,e=>{t(e)})}))(e||this.contentExtractorOptions)}finishUpdate(){this.spinnerTimeout&&(clearTimeout(this.spinnerTimeout),this.spinnerTimeout=null),this.hasSpinnerTarget&&(this.spinnerTarget.hidden=!0),this.hasWProgressOutlet&&(this.wProgressOutlet.loadingValue=!1),this.updatePromise=null,this.setPreviewWidth(),this.ready||(this.ready=!0,this.dispatch("ready",{cancelable:!1})),this.dispatch("updated",{cancelable:!1}),this.#e?.(),this.reloadPromise=null,this.#e=null}async setPreviewDataWithAlert(){try{return await this.setPreviewData()}catch{return void window.alert((0,M.AP)("Error while sending preview data."))}}async openPreviewInNewTab(e){const t=e.currentTarget,r=await this.setPreviewDataWithAlert(),n=new URL(t.href);return n.search="",window.open(t.href,n.toString()),r}disconnect(){this.sidePanelContainer.removeEventListener("show",this.activatePreview),this.sidePanelContainer.removeEventListener("hide",this.deactivatePreview),this.contentChecksEnabled&&(window.removeEventListener("message",this.runChecks),this.checksSidePanel.removeEventListener("show",this.activatePreview),this.checksSidePanel.removeEventListener("hide",this.deactivatePreview)),this.resizeObserver.disconnect()}}class be extends n.Controller{static classes=["active"];static targets=["label"];static values={active:{default:"",type:String},duration:{default:3e4,type:Number},label:{default:"",type:String},loading:{default:!1,type:Boolean}};timer;connect(){if(this.hasLabelTarget)return;const e=this.element.querySelector("em");e&&e.setAttribute(`data-${this.identifier}-target`,"label")}activate(){const e=this.element.closest("form");e&&e.checkValidity&&!e.noValidate&&!e.checkValidity()||window.setTimeout(()=>{this.loadingValue=!0,this.timer=window.setTimeout(()=>{this.loadingValue=!1},this.durationValue)})}deactivate(){this.loadingValue=!1,this.timer&&clearTimeout(this.timer)}loadingValueChanged(e){const t=this.hasActiveClass?this.activeClass:"button-longrunning-active";this.element.classList.toggle(t,e),this.labelValue||(this.labelValue=this.hasLabelTarget?this.labelTarget.textContent:this.element.textContent),e?(this.element.setAttribute("disabled",""),this.activeValue&&this.hasLabelTarget&&(this.labelTarget.textContent=this.activeValue)):(this.element.removeAttribute("disabled"),this.labelValue&&this.hasLabelTarget&&(this.labelTarget.textContent=this.labelValue))}disconnect(){this.deactivate()}}!function(e){e.OPENED="opened",e.CLOSED="closed"}(fe||(fe={}));class ye extends n.Controller{static classes=["closed","closeIcon","opened","openedContent","openIcon"];static targets=["content","toggle"];static values={closed:{default:!1,type:Boolean},peeking:{default:!1,type:Boolean},peekTarget:{default:"",type:String},storageKey:{default:"",type:String}};cleanUpPeekListener;connect(){const e=!!this.peekTargetValue&&this.element.closest(this.peekTargetValue);if(e){const t=()=>{this.peekingValue&&this.close(),this.peekingValue=!1};e.addEventListener("mouseleave",t,{passive:!0}),this.cleanUpPeekListener=()=>{e.removeEventListener("mouseleave",t)}}if(this.storageKeyValue){const e=this.stored;"boolean"==typeof e&&e!==this.closedValue?this.closedValue=e:this.stored=this.closedValue}new Promise(e=>{setTimeout(e)}).then(()=>{this.dispatch("ready",{cancelable:!1,detail:{closed:this.closedValue}})})}closedValueChanged(e,t){if(t===e)return;const r=this.closedClasses,n=this.openedClasses,a=this.contentTargets,o=void 0===t,i=this.peekingValue,u=this.openedContentClasses,s=this.toggles;if(i||this.updateToggleIcon(e),e){if(this.dispatch("closing",{cancelable:!0}).defaultPrevented)return;s.forEach(e=>{e.setAttribute("aria-expanded","false")}),a.forEach(e=>{e.classList.remove(...u),e.hidden=!0}),this.element.classList.add(...r),this.element.classList.remove(...n),this.dispatch("closed",{cancelable:!1})}else{if(this.dispatch("opening",{cancelable:!0}).defaultPrevented)return;s.forEach(e=>{e.setAttribute("aria-expanded","true")}),a.forEach(e=>{e.classList.add(...u),e.hidden=!1}),this.element.classList.remove(...r),this.element.classList.add(...n),this.dispatch("opened",{cancelable:!1})}o||s.forEach(t=>{this.dispatch("toggled",{cancelable:!1,detail:{closed:e},target:t})})}close(){this.closedValue=!0}open(){this.closedValue=!1}peek(){this.closedValue&&(this.peekingValue=!0,this.open())}toggle(){if(this.stored=!this.peekingValue&&!this.closedValue,this.peekingValue)return this.peekingValue=!1,void this.updateToggleIcon(!1);this.closedValue=!this.closedValue}get toggles(){const e=this.contentTargets.map(e=>e.id).flatMap(e=>Array.from(document.querySelectorAll(`[aria-controls~="${e}"]`))).concat(...this.toggleTargets);return Array.from(new Set(e))}updateToggleIcon(e=!1){if(!this.hasCloseIconClass||!this.hasOpenIconClass)return;const t=this.closeIconClass,r=this.openIconClass;t!==r&&this.toggles.map(e=>{const t=e.querySelector(".icon"),r=t?.querySelector("use");return r&&t?[t,r]:[]}).filter(({length:e})=>e).forEach(([n,a])=>{e?(n.classList.remove(t),n.classList.add(r),a.setAttribute("href",`#${r}`)):(n.classList.remove(r),n.classList.add(t),a.setAttribute("href",`#${t}`))})}get localStorageKey(){const e=this.storageKeyValue;return e?["wagtail",this.identifier,e].join(":"):null}get stored(){const e=this.localStorageKey;if(e)try{const t=localStorage.getItem(e);if(null===t)return;return t===fe.CLOSED}catch(e){}}set stored(e){const t=this.localStorageKey;if(t)try{e?localStorage.setItem(t,fe.CLOSED):localStorage.setItem(t,fe.OPENED)}catch(e){}}disconnect(){this.cleanUpPeekListener?.call(this)}}!function(e){e.Enable="enable",e.Show="show"}(me||(me={})),function(e){e.All="all",e.Any="any"}(De||(De={}));class Fe extends n.Controller{static targets=["enable","show"];initialize(){this.rulesCache={},this.resolve=(0,x.s)(this.resolve.bind(this),50),this.form=this.findForm()}findForm(){const e=this.element;return e instanceof HTMLFormElement?e:"form"in e?e.form:e.closest("form")}resolve(){if(!this.hasEnableTarget&&!this.hasShowTarget)return;const e=new FormData(this.form),t=([t,r])=>{const n=e.getAll(t);return 0===r.length&&0===n.length||r.some(e=>n.includes(e))};this.enableTargets.forEach(e=>{const r=me.Enable,{match:n,rules:a}=this.parseRules(e,r),o=n===De.Any?a.some(t):a.every(t);o!==!e.disabled&&(this.dispatch("effect",{bubbles:!0,cancelable:!0,detail:{effect:r,enable:o},target:e}).defaultPrevented||(e.disabled=!o))}),this.showTargets.forEach(e=>{const r=me.Show,{match:n,rules:a}=this.parseRules(e,r),o=n===De.Any?a.some(t):a.every(t);o!==!e.hidden&&(this.dispatch("effect",{bubbles:!0,cancelable:!0,detail:{effect:r,show:o},target:e}).defaultPrevented||(e.hidden=!o))}),this.dispatch("resolved",{bubbles:!0,cancelable:!1})}parseRules(e,t=me.Enable){const r={match:De.All,rules:[]};if(!e)return r;let n=`data-${this.identifier}-${t}`,a=e.getAttribute(n);if(a||(n=`data-${this.identifier}`,a=e.getAttribute(n)),!a)return r;const o=this.rulesCache[a];if(o)return o;let i;try{i=JSON.parse(a)}catch(e){return this.context.handleError(e,`Unable to parse rule at the attribute '${n}'.`),r}const u=(Array.isArray(i)?i:Object.entries(i)).filter(Array.isArray).map(([e="",t=""]=[])=>[e,N(t).map(String)]),[,[s=De.All]=[]]=u.find(([e])=>""===e)||[];if(!Object.values(De).includes(s))return this.context.handleError(new Error(`Invalid match value: '${s}'.`),`Match value must be one of: '${Object.values(De).join("', '")}'.`),r;const l={match:s,rules:u.filter(([e])=>e)};return this.rulesCache[a]=l,l}enableTargetConnected(){this.resolve()}enableTargetDisconnected(){this.resolve()}showTargetConnected(){this.resolve()}showTargetDisconnected(){this.resolve()}}class we extends n.Controller{static values={interval:{type:Number,default:1e4},intercept:{type:Boolean,default:!1}};static outlets=["w-dialog"];static targets=["unsavedChanges","reload"];lastActionButton;initialize(){this.showConfirmationDialog=this.showConfirmationDialog.bind(this),this.confirmAction=this.confirmAction.bind(this),this.ping=this.ping.bind(this)}connect(){this.ping()}get interceptTargets(){return document?.querySelectorAll('[data-edit-form] button:is([type="submit"], [data-workflow-action-name])')}ping(){this.dispatch("ping")}intervalValueChanged(){this.addInterval()}addInterval(){this.clearInterval(),this.interval=he(this.ping,this.intervalValue)}clearInterval(){this.interval&&(window.clearInterval(this.interval),this.interval=null)}dispatchVisibilityState(){this.dispatch(document.visibilityState)}showConfirmationDialog(e){this.lastActionButton=e.target,this.interceptValue&&this.hasWDialogOutlet&&(this.lastActionButton?.closest('[data-controller="w-dialog"]')?.dispatchEvent(new Event("w-dialog:hide")),e.preventDefault(),e.stopImmediatePropagation(),this.wDialogOutlet.hasConfirmTarget&&this.lastActionButton&&(this.wDialogOutlet.confirmTarget.textContent=this.lastActionButton.textContent),this.wDialogOutlet.show())}confirmAction(){this.interceptValue=!1,this.lastActionButton?.click(),this.interceptValue=!0}wDialogOutletConnected(){this.interceptTargets.forEach(e=>{e.addEventListener("click",this.showConfirmationDialog,{capture:!0})}),this.wDialogOutlet.element.addEventListener("w-dialog:confirmed",this.confirmAction)}wDialogOutletDisconnected(){this.interceptTargets?.forEach(e=>{e.removeEventListener("click",this.showConfirmationDialog,{capture:!0})})}setUnsavedChanges(e){if(!this.hasUnsavedChangesTarget)return;const t=e.type.split(":")[1];this.unsavedChangesTarget.checked="clear"!==t,this.reloadTargets.forEach(e=>this.reloadTargetConnected(e))}reloadTargetConnected(e){this.hasUnsavedChangesTarget&&this.unsavedChangesTarget.checked&&e.dataset.dialogId?(e.removeAttribute("data-action"),e.setAttribute("data-a11y-dialog-show",e.dataset.dialogId)):(e.removeAttribute("data-a11y-dialog-show"),e.setAttribute("data-action","w-action#reload"))}get swapController(){return this.application.getControllerForElementAndIdentifier(this.element,"w-swap")}get actionController(){return this.application.getControllerForElementAndIdentifier(this.element,"w-action")}updateSessionData(e){const{detail:t}=e;if(!t||!t.data)return;const r=t.data,n=this.swapController;n&&r.ping_url&&(n.srcValue=r.ping_url);const a=this.actionController;a&&r.release_url&&(a.urlValue=r.release_url),r.other_sessions&&(this.interceptValue=r.other_sessions.some(e=>e.revision_id))}disconnect(){this.interval&&window.clearInterval(this.interval)}}class Ee extends n.Controller{submit(){const e=this.element.form;if(!e)throw new Error(`${this.identifier} controlled element must be part of a <form />`);e.requestSubmit?e.requestSubmit():e.submit()}}class Ce extends n.Controller{static defaultClearParam="p";static targets=["input"];static values={icon:{default:"",type:String},loading:{default:!1,type:Boolean},reflect:{default:!1,type:Boolean},defer:{default:!1,type:Boolean},src:{default:"",type:String},jsonPath:{default:"",type:String},target:{default:"#listing-results",type:String},wait:{default:200,type:Number}};abortController;iconElement;replaceLazy;searchLazy;submitLazy;writeDeferred;connect(){this.srcValue=this.srcValue||this.formElement.getAttribute("action")||"";const e=this.target;this.iconElement=null;const t=(this.hasInputTarget?this.inputTarget:this.element).parentElement;this.iconElement=t?.querySelector("use")||null,this.iconValue=this.iconElement?.getAttribute("href")||"",this.loadingValue=!1,this.replaceLazy=(0,x.s)(this.replace.bind(this),this.waitValue),this.searchLazy=(0,x.s)(this.search.bind(this),this.waitValue),this.submitLazy=(0,x.s)(this.submit.bind(this),this.waitValue),this.dispatch("ready",{cancelable:!1,target:e})}get target(){const e=this.targetValue,t=document.querySelector(e),r=t&&t instanceof HTMLElement,n=!!this.srcValue,a=[];if(r||a.push(`Cannot find valid target element at "${e}"`),n||a.push("Cannot find valid src URL value"),a.length)throw new Error(a.join(", "));return t}loadingValueChanged(e,t){if(this.deferValue)return;const r=void 0===t?null:this.target;e?(r?.setAttribute("aria-busy","true"),this.iconElement?.setAttribute("href","#icon-spinner")):(r?.removeAttribute("aria-busy"),this.iconElement?.setAttribute("href",this.iconValue))}search(e){const t=(e?.detail?.clear||e?.params?.clear||this.constructor.defaultClearParam).split(" "),r=this.hasInputTarget?this.inputTarget:this.element,n=r.name,a=new URLSearchParams(window.location.search),o=a.get(n)||"",i=r.value||"";if(o.trim()===i.trim())return;i?a.set(n,i):a.delete(n),t.forEach(e=>{a.delete(e)});const u="?"+a.toString(),s=this.srcValue;this.replace(s+u).then(()=>{window.history.replaceState(null,"",u)})}get formElement(){return this.hasInputTarget&&this.inputTarget.form||this.element}submit(){const e=this.formElement;let t=new FormData(e),r=this.srcValue;"GET"===e.getAttribute("method")?.toUpperCase()&&(r+="?"+new URLSearchParams(t).toString(),t=void 0),this.replace(r,t)}reflectParams(e){const t=new URL(e,window.location.href).searchParams,r=new URLSearchParams;t.forEach((e,t)=>{""===e.trim()||t.startsWith("_w_")||r.append(t,e)});const n=`?${r.toString()}`;window.history.replaceState(null,"",n)}async replace(e,t){const r=this.target,n=("string"==typeof e?e:e?.detail?.url||e?.params?.url||"")||this.srcValue;this.abortController&&this.abortController.abort(),this.abortController=new AbortController;const{signal:a}=this.abortController;if(this.loadingValue=!0,this.dispatch("begin",{cancelable:!0,detail:{requestUrl:n},target:this.target}).defaultPrevented)return Promise.resolve();const o=this.formElement.getAttribute("method")?.toUpperCase()||"GET";return fetch(n,{headers:{"x-requested-with":"XMLHttpRequest",[v.HE.CSRF_HEADER_NAME]:v.HE.CSRF_TOKEN},signal:a,method:o,body:"GET"!==o?t:void 0}).then(async e=>{if(!e.ok)throw new Error(`HTTP error! Status: ${e.status}`);if(this.jsonPathValue){let t;try{const r=await e.json();this.dispatch("json",{cancelable:!1,detail:{requestUrl:n,data:r}}),t=this.jsonPathValue.split(".").reduce((e,t)=>e[t],r)}catch{t=void 0}if("string"!=typeof t)throw new Error(`Unable to parse as JSON at path "${this.jsonPathValue}" to a string`);return t}return e.text()}).then(e=>{const t=async()=>(this.writeDeferred=void 0,r.innerHTML=e,this.reflectValue&&(this.dispatch("reflect",{cancelable:!0,detail:{requestUrl:n},target:r}).defaultPrevented||this.reflectParams(n)),this.dispatch("success",{cancelable:!1,detail:{requestUrl:n,results:e},target:r}),e),a='[aria-expanded="true"], [aria-describedby^="tippy"]',o=document.activeElement&&r.contains(document.activeElement),i=r.querySelector(a);return this.deferValue&&(o||i)?new Promise((n,u)=>{this.writeDeferred=t;const s=()=>{if(this.writeDeferred){const e=document.activeElement&&r.contains(document.activeElement),t=r.querySelector(a);if(e||t)return!1;this.writeDeferred().then(n).catch(u)}else n(e);return!0};if(o){const e=t=>{r.contains(t.relatedTarget)||s()&&r.removeEventListener("focusout",e)};r.addEventListener("focusout",e)}if(i){new MutationObserver((e,t)=>{s()&&t.disconnect()}).observe(r,{attributeFilter:["aria-expanded","aria-describedby"],subtree:!0})}}):t()}).catch(e=>{a.aborted||(this.dispatch("error",{cancelable:!1,detail:{error:e,requestUrl:n},target:r}),console.error("Error fetching %s",n,e))}).finally(()=>{a===this.abortController?.signal&&(this.loadingValue=!1)})}disconnect(){this.loadingValue=!1,this.replaceLazy?.cancel(),this.searchLazy?.cancel(),this.submitLazy?.cancel()}}class xe extends n.Controller{static values={debounce:{default:100,type:Number},delay:{default:0,type:Number},disabled:{default:!1,type:Boolean},name:{default:"",type:String},normalize:{default:!1,type:Boolean},quiet:{default:!1,type:Boolean},target:String};connect(){this.processTargetElements("start",{},!0),this.apply=(0,x.s)(this.apply.bind(this),this.debounceValue)}check({params:{bubbles:e=!1}={}}){this.processTargetElements("check",{bubbles:e},!0)}get value(){if(!this.normalizeValue)return this.element.value;const e=this.element,t=e.value||"";return"file"===e.getAttribute("type")?(t.split("\\").at(-1)||"").replace(/\.[^.]+$/,""):t}apply({params:{bubbles:e=!1,apply:t}={}}){const r=e=>{e.value=t||this.value,this.quietValue||this.dispatch("change",{cancelable:!1,prefix:"",target:e})};this.processTargetElements("apply",{bubbles:e}).forEach(e=>{this.delayValue?setTimeout(()=>{r(e)},this.delayValue):r(e)})}clear({params:{bubbles:e=!1}={}}){this.processTargetElements("clear",{bubbles:e}).forEach(e=>{setTimeout(()=>{e.setAttribute("value",""),this.quietValue||this.dispatch("change",{cancelable:!1,prefix:"",target:e})},this.delayValue)})}ping({params:{bubbles:e=!0}={}}){this.processTargetElements("ping",{bubbles:e})}processTargetElements(e,t={},r=!1){if(!r&&this.disabledValue)return[];const n=this.nameValue||"",a=[...document.querySelectorAll(this.targetValue)],o=a.filter(r=>!this.dispatch(e,{bubbles:!1,cancelable:!0,...t,detail:{element:this.element,...n?{name:n}:{},value:this.value},target:r}).defaultPrevented);return r&&(this.disabledValue=a.length>o.length),o}static afterLoad(e){const t=["wagtail:images-upload","wagtail:documents-upload"];document.addEventListener(`${e}:apply`,e=>{const{detail:{element:r,name:n="",value:a}={}}=e,o=e.target;if(!(t.includes(n)&&r&&o&&"value"in o))return;const i=r.closest("form");if(e.preventDefault(),o.value)return;const u={title:a},s=new CustomEvent(n,{bubbles:!0,cancelable:!0,detail:{data:u,filename:r.value.split("\\").at(-1),maxTitleLength:parseInt(o.getAttribute("maxLength")||"0",10)||null}}),l=i?.dispatchEvent(s);l&&(o.value=u.title)})}}var Ae=r(4072);class Te extends n.Controller{static classes=["active"];static targets=["panel","trigger"];static values={activePanelId:{default:"",type:String},useLocation:{default:!1,type:Boolean}};historyStateKey="tabs-panel-id";tabs=[];connect(){this.historyStateKey=`${this.identifier}-panel-id`,this.tabs=this.validatedTabs;const e=this.setInitialPanel();this.panelTargets.filter(({id:t})=>t!==e).forEach(e=>{e.hidden=!0}),this.dispatch("ready",{cancelable:!1,detail:{current:e}});const t=(0,x.s)(()=>{this.tabs=this.validatedTabs},10);this.panelTargetConnected=t,this.panelTargetDisconnected=t,this.triggerTargetConnected=t,this.triggerTargetDisconnected=t}activePanelIdValueChanged(e,t){const r=this.tabs;if(0===r.length)return;if(!e)return;if(e===t)return;const n=this.panelTargets,a=n.find(({id:t})=>t===e);a&&(this.triggerTargets.forEach(n=>{if(n.getAttribute("aria-controls")!==e)return n.removeAttribute("aria-selected"),void(r.includes(n)&&n.setAttribute("tabindex","-1"));n.setAttribute("aria-selected","true"),r.includes(n)&&n.setAttribute("tabindex","0"),this.dispatch("selected",{bubbles:!0,cancelable:!1,detail:{current:e,previous:t,tabs:this.element},target:n})}),Promise.resolve((async()=>{const e=this.activeClasses,r=n.find(({id:e})=>e===t);return r?(r.classList.remove(...e),await this.afterTransition(r),r.hidden=!0,e):e})()).then(async e=>{a.hidden=!1,await this.afterTransition(a),a.classList.add(...e),await this.afterTransition(a)}),t&&(this.syncLocation(),this.dispatch("changed",{bubbles:!0,cancelable:!1,detail:{current:e,previous:t,tabs:this.element},target:a})))}async afterTransition(e){const{transitionDelay:t,transitionDuration:r}=getComputedStyle(e),n=1e3*((parseFloat(r)||0)+(parseFloat(t)||0));return n<=0?e:new Promise(t=>{let r;const a=n=>{n&&n.target!==e||(window.clearTimeout(r),e.removeEventListener("transitionend",a),e.removeEventListener("animationend",a),t(e))};e.addEventListener("animationend",a,{once:!0}),e.addEventListener("transitionend",a,{once:!0}),r=window.setTimeout(a,n)})}get locationPanelId(){if(!this.useLocationValue)return null;const e=window.location.hash;if(!e)return null;const t=e.slice(1),r=document.getElementById(t)||(0,Ae.KX)();return r&&this.panelTargets.find(e=>e.contains(r))?.id||null}select(e){if(!e)return null;if("state"in e&&e.state){const t=e.state[this.historyStateKey],r=this.tabs.find(e=>e.getAttribute("aria-controls")===t);if(r)return this.select({target:r,params:{id:t,focus:!0}})}let t=e?.target instanceof HTMLElement&&e.target||null;const{focus:r=!1,id:n=""}={id:t?.getAttribute("aria-controls")||"",..."params"in e&&e.params,..."detail"in e&&e.detail};return"tab"!==t?.getAttribute("role")&&(t=this.tabs.find(e=>e.getAttribute("aria-controls")===n)||null),n?(this.activePanelIdValue=n,t&&r&&(0,Y.s)(t),n):null}selectInside(e){const t=e.currentTarget;if(!t)return;const r=this.panelTargets.find(e=>e.contains(t))?.id;r&&this.select({target:t,params:{id:r,focus:!1}})}selectFirst(e){const t=this.tabs[0];return this.select({target:t,params:{focus:Boolean(e)}})}selectLast(e){const t=this.tabs[this.tabs.length-1];return this.select({target:t,params:{focus:Boolean(e)}})}selectNext(e){const t=this.activePanelIdValue,r=this.tabs,n=r.findIndex(e=>e.getAttribute("aria-controls")===t),a=r[(n+1)%r.length];return this.select({target:a,params:{focus:Boolean(e)}})}selectPrevious(e){const t=this.activePanelIdValue,r=this.tabs,n=r.findIndex(e=>e.getAttribute("aria-controls")===t),a=r[(n-1+r.length)%r.length];return this.select({target:a,params:{focus:Boolean(e)}})}setInitialPanel(){const e=this.activePanelIdValue,t=this.locationPanelId||e||this.triggerTargets.find(e=>"true"===e.getAttribute("aria-selected"))?.getAttribute("aria-controls")||this.selectFirst();return t&&e===t?this.activePanelIdValueChanged(t,""):this.activePanelIdValue=t,t}syncLocation(){if(!this.useLocationValue)return null;const e=this.activePanelIdValue,t=this.historyStateKey;if(!window.history.state||window.history.state[t]!==e){const r={[t]:e};return window.history.pushState(r,"",`#${e}`),e}return null}get validatedTabs(){const e=this.identifier,t=this.element.querySelector('[role="tablist"]');if(!t)throw new Error("There must be an element with `role='tablist'` within the controller's scope.");const r=this.panelTargets.map(e=>{if("tabpanel"!==e.getAttribute("role"))throw new Error("Tab panel elements must have the `role='tabpanel'` attribute set",{cause:e});return e});if(!r.length)throw new Error(`Tabs must be supplied with at least one panel target using 'data-${e}-target="panel"'.`);const n=this.triggerTargets.filter(n=>{const a=`data-${e}-id-param`,o=n.getAttribute("aria-controls")||n.getAttribute("href")?.replace("#","")||n.getAttribute(a),i=r.find(({id:e})=>e===o);if(!o||!i)throw new Error(`Cannot find matching a matching panel for the trigger/tab in 'aria-controls', 'href' or '${a}'.`,{cause:n});if(n.setAttribute("aria-controls",o),!t.contains(n))return!1;if(!(i.getAttribute("aria-labelledby")||"").split(" ").includes(n.id))throw new Error("Panel targets must have a panels must be labelled by their tab.",{cause:i});if("tab"!==n.getAttribute("role"))throw new Error("Tabs must use `role=tab`.",{cause:n});return!0});if(!n.length)throw new Error(`Tabs must be supplied with at least one valid tab target using 'data-${e}-target="trigger"' within role="tablist".`);if(n.length!==r.length)throw new Error('Each tab panel must have a valid tab within the "role=tablist".');return n}}class ke extends n.Controller{static values={delay:{type:Number,default:0},options:{default:{},type:Object},url:{default:"",type:String}};autocompleteAbort=null;autocompleteLazy;tagit;initialize(){this.autocompleteLazy=(0,x.s)(this.autocomplete.bind(this),this.delayValue)}connect(){const e=this.cleanTag.bind(this),t={source:(e,t)=>{this.autocompleteLazy.cancel(),this.autocompleteLazy(e).then(t)}};D()(this.element).tagit({autocomplete:t,preprocessTag:e,...this.optionsValue})}async autocomplete({term:e}){this.autocompleteAbort&&this.autocompleteAbort.abort(),this.autocompleteAbort=new AbortController;const{signal:t}=this.autocompleteAbort;try{const r=new URL(this.urlValue,window.location.origin);r.searchParams.set("term",e);const n=await fetch(r.toString(),{headers:{Accept:"application/json"},method:"GET",signal:t}),a=await n.json();return Array.isArray(a)?a:[]}catch(t){t instanceof DOMException&&"AbortError"===t.name||this.context.application.handleError(t,"Network or API error during autocomplete request.",{term:e,url:this.urlValue})}finally{this.autocompleteAbort=null}return[]}cleanTag(e){return e&&'"'!==e[0]&&e.indexOf(" ")>-1?`"${e}"`:e}clear(){D()(this.element).tagit("removeAll")}disconnect(){this.autocompleteAbort&&(this.autocompleteAbort.abort(),this.autocompleteAbort=null)}}var Ne=r(2223);const Be={initial:1e4,long:3e3,notify:30,short:300};class Re extends n.Controller{static values={confirmation:{default:!1,type:Boolean},durations:{default:Be,type:Object},force:{default:!1,type:Boolean},hasComments:{default:!1,type:Boolean},hasEdits:{default:!1,type:Boolean},watch:{default:"edits",type:String}};initialFormData;observer;runningCheck;initialize(){this.notify=(0,x.s)(this.notify.bind(this),this.durationsValue.notify)}connect(){this.clear();const e=this.durationsValue,t=this.watchValue;t.includes("comments")&&this.watchComments(e),this.forceValue?this.hasEditsValue=!0:t.includes("edits")&&this.watchEdits(e),this.dispatch("ready",{cancelable:!1})}get formData(){const e=["comment_","comments-","csrfmiddlewaretoken","next"],t=new FormData(this.element);return JSON.stringify([...t.entries()].filter(([t])=>!e.some(e=>t.startsWith(e))),(e,t)=>t instanceof File?{name:t.name,size:t.size,type:t.type}:t)}check(){if(!this.initialFormData)return;const{long:e,short:t}=this.durationsValue;this.runningCheck&&this.runningCheck.cancel(),this.runningCheck=(0,x.s)(()=>{this.hasEditsValue=this.initialFormData!==this.formData},this.hasEditsValue?e:t),this.runningCheck()}clear(){this.hasCommentsValue=!1,this.hasEditsValue=!1}confirm(e){if(this.confirmationValue&&(this.hasCommentsValue||this.hasEditsValue)){if(this.dispatch("confirm",{cancelable:!0}).defaultPrevented)return;e.preventDefault()}}hasCommentsValueChanged(e,t){e!==t&&this.notify()}hasEditsValueChanged(e,t){e!==t&&this.notify()}getIsValidNode(e){if(!e||e.nodeType!==e.ELEMENT_NODE)return!1;const t=["input","textarea","select"];return t.includes(e.localName)||null!==e.querySelector(t.join(","))}notify(){const e=this.hasCommentsValue,t=this.hasEditsValue;if(!e&&!t)return void this.dispatch("clear",{cancelable:!1});const[r]=[t&&e&&"all",e&&"comments",t&&"edits"].filter(Boolean);this.dispatch("add",{cancelable:!1,detail:{type:r}})}submit(){this.confirmationValue=!1}watchComments({long:e,short:t}){let r;const{commentApp:n}=window.comments,a=n.selectors.selectIsDirty(n.store.getState());this.dispatch("watch-edits",{cancelable:!1,detail:{initialComments:a}}),this.hasCommentsValue=a,n.store.subscribe(()=>{r&&r.cancel(),r=(0,x.s)(()=>{this.hasCommentsValue=n.selectors.selectIsDirty(n.store.getState())},this.hasCommentsValue?e:t),r()})}watchEdits({initial:e}){const t=this.element;(0,x.s)(()=>{const e=this.formData;this.initialFormData=e,this.dispatch("watch-edits",{cancelable:!1,detail:{initialFormData:e}});const r=new MutationObserver(e=>{e.some(e=>Array.from(e.addedNodes).some(this.getIsValidNode)||Array.from(e.removedNodes).some(this.getIsValidNode))&&this.check()});r.observe(t,{attributes:!1,childList:!0,subtree:!0}),this.observer=r},e)()}disconnect(){this.runningCheck&&this.runningCheck.cancel(),this.observer&&this.observer.disconnect()}}class Se extends Error{constructor(e){super(e),this.message=`Version number '${e}' is not formatted correctly.`}}class Oe extends Error{constructor(){super(),this.message="Can only compare prerelease versions"}}class _e{static MAJOR=new _e("Major");static MINOR=new _e("Minor");static PATCH=new _e("Patch");static PRE_RELEASE_STEP=new _e("PreReleaseStep");static PRE_RELEASE_VERSION=new _e("PreReleaseVersion");constructor(e){this.name=e}}class Pe{constructor(e){const t=e.match(/^(?<major>\d+)\.{1}(?<minor>\d+)((\.{1}(?<patch>\d+))|(?<preReleaseStep>a|b|rc|\.dev){1}(?<preReleaseVersion>\d+)){0,1}$/);if(null===t)throw new Se(e);const r=t.groups;this.major=parseInt(r.major,10),this.minor=parseInt(r.minor,10),this.patch=r.patch?parseInt(r.patch,10):0,this.preReleaseStep=r.preReleaseStep?r.preReleaseStep:null,this.preReleaseVersion=r.preReleaseVersion?parseInt(r.preReleaseVersion,10):null}isPreRelease(){return null!==this.preReleaseStep}isPreReleaseStepBehind(e){if(!this.isPreRelease()||!e.isPreRelease())throw new Oe;return"a"===this.preReleaseStep&&("b"===e.preReleaseStep||"rc"===e.preReleaseStep)||"b"===this.preReleaseStep&&"rc"===e.preReleaseStep}howMuchBehind(e){if(this.major<e.major)return _e.MAJOR;if(this.major===e.major&&this.minor<e.minor)return _e.MINOR;if(this.major===e.major&&this.minor===e.minor&&!this.isPreRelease()&&!e.isPreRelease()&&this.patch<e.patch)return _e.PATCH;if(this.major===e.major&&this.minor===e.minor&&this.isPreRelease()){if(!e.isPreRelease())return _e.MINOR;if(this.isPreReleaseStepBehind(e))return _e.PRE_RELEASE_STEP;if(this.preReleaseStep===e.preReleaseStep&&this.preReleaseVersion<e.preReleaseVersion)return _e.PRE_RELEASE_VERSION}return null}}class Ie extends n.Controller{static targets=["latestVersion","link","dismiss"];static values={currentVersion:String,ltsOnly:{default:!1,type:Boolean},url:{default:"https://releases.wagtail.org/latest.txt",type:String}};connect(){this.checkVersion()}get knownVersion(){return new Pe(this.hasDismissTarget&&this.dismissTarget.getAttribute("data-w-dismissible-value-param")||this.currentVersionValue)}checkVersion(){const e=this.urlValue,t=new Pe(this.currentVersionValue),r=this.ltsOnlyValue;fetch(e,{referrerPolicy:"strict-origin-when-cross-origin"}).then(t=>{if(200!==t.status)throw Error(`Unexpected response from ${e}. Status: ${t.status}`);return t.json()}).then(e=>{let n=e;if(e&&e.lts&&r&&(n=e.lts),!n?.version)return;const a=new Pe(n.version),o=t.howMuchBehind(a);if(!o||!this.knownVersion.howMuchBehind(a))return;let i;if(i=o===_e.MAJOR||o===_e.MINOR?n.minorUrl:n.url,this.hasLatestVersionTarget){const e=[n.version,r?"(LTS)":""].join(" ").trim();this.latestVersionTarget.textContent=e}this.hasLinkTarget&&this.linkTarget.setAttribute("href",i||""),this.hasDismissTarget&&this.dismissTarget.setAttribute("data-w-dismissible-value-param",n.version),this.element.hidden=!1}).catch(t=>{console.error(`Error fetching ${e}. Error: ${t}`)})}}var Me;!function(e){e.Active="active",e.Inactive=""}(Me||(Me={}));class Le extends n.Controller{static classes=["active","inactive"];static values={delay:{type:Number,default:0},mode:{type:String,default:Me.Inactive},switchKey:{type:String,default:""}};initialize(){const e=this.delayValue;e<=0||(this.activate=(0,x.s)(this.activate.bind(this),e),this.deactivate=(0,x.s)(this.deactivate.bind(this),2*e))}activate(){this.modeValue=Me.Active}deactivate(){this.modeValue=Me.Inactive}modeValueChanged(e,t){const r=this.element,n=this.activeClasses,a=this.inactiveClasses;if(n.length+a.length&&t!==e){if(void 0===t){if(n.every(e=>r.classList.contains(e))&&(this.modeValue=Me.Active,0!==n.length))return;if(a.every(e=>r.classList.contains(e)))return void(this.modeValue=Me.Inactive)}e===Me.Active?(r.classList.add(...n),r.classList.remove(...a)):(r.classList.add(...a),r.classList.remove(...n))}}noop(){}switch(e){const{switchKey:t,...r}={switchKey:this.switchKeyValue||Me.Active,...e?.detail,...e?.params},n=t.startsWith("!"),a=n?t.slice(1):t;if(!a||!(a in r))return;const o=!!r[a]===n?Me.Inactive:Me.Active;this.modeValue=o}}const Ve=[{controllerConstructor:b,identifier:"w-action"},{controllerConstructor:A,identifier:"w-autosize"},{controllerConstructor:T,identifier:"w-block"},{controllerConstructor:k,identifier:"w-bulk"},{controllerConstructor:O,identifier:"w-clean"},{controllerConstructor:O,identifier:"w-slug"},{controllerConstructor:_,identifier:"w-clipboard"},{controllerConstructor:I,identifier:"w-clone"},{controllerConstructor:I,identifier:"w-messages"},{controllerConstructor:L,identifier:"w-count"},{controllerConstructor:V.v,identifier:"w-dialog"},{controllerConstructor:j,identifier:"w-dismissible"},{controllerConstructor:q,identifier:"w-drilldown"},{controllerConstructor:K,identifier:"w-dropdown"},{controllerConstructor:Z,identifier:"w-focus"},{controllerConstructor:J,identifier:"w-formset"},{controllerConstructor:Q,identifier:"w-init"},{controllerConstructor:ne,identifier:"w-kbd"},{controllerConstructor:ae,identifier:"w-locale"},{controllerConstructor:ue,identifier:"w-orderable"},{controllerConstructor:ve,identifier:"w-preview"},{controllerConstructor:be,identifier:"w-progress"},{controllerConstructor:ye,identifier:"w-breadcrumbs"},{controllerConstructor:ye,identifier:"w-reveal"},{controllerConstructor:Fe,identifier:"w-rules"},{controllerConstructor:we,identifier:"w-session"},{controllerConstructor:Ee,identifier:"w-submit"},{controllerConstructor:Ce,identifier:"w-swap"},{controllerConstructor:xe,identifier:"w-sync"},{controllerConstructor:Te,identifier:"w-tabs"},{controllerConstructor:ke,identifier:"w-tag"},{controllerConstructor:Ne.I,identifier:"w-teleport"},{controllerConstructor:U,identifier:"w-tooltip"},{controllerConstructor:Re,identifier:"w-unsaved"},{controllerConstructor:Ie,identifier:"w-upgrade"},{controllerConstructor:Le,identifier:"w-zone"}];class je{type;prefix;constructor(e){this.type=e.type,this.prefix=e.prefix}getPanelByName(e){return null}}const qe=(e,t=!("true"===e.getAttribute("aria-expanded")))=>{const r=document.querySelector(`#${e.getAttribute("aria-controls")}`);r&&(e.setAttribute("aria-expanded",`${t}`),t?r.removeAttribute("hidden"):"onbeforematch"in document.body?r.setAttribute("hidden","until-found"):r.setAttribute("hidden",""),e.dispatchEvent(new CustomEvent("commentAnchorVisibilityChange",{bubbles:!0})),e.dispatchEvent(new CustomEvent("wagtail:panel-toggle",{bubbles:!0,cancelable:!1,detail:{expanded:t}})))};function ze(e){const t=e.closest("[data-panel]"),r=document.querySelector(`#${e.getAttribute("aria-controls")}`);if(!r||!t||t.collapsibleInitialised)return;t.collapsibleInitialised=!0;const n=qe.bind(null,e),a=t.classList.contains("collapsed"),o=r.querySelector('[aria-invalid="true"], .error, .w-field--error'),i=a&&!o;i&&n(!1),e.addEventListener("click",n.bind(null,void 0));const u=t.querySelector("[data-panel-heading]");u&&u.addEventListener("click",n.bind(null,void 0)),r.addEventListener("beforematch",n.bind(null,!0)),e.dispatchEvent(new CustomEvent("wagtail:panel-init",{bubbles:!0,cancelable:!1,detail:{expanded:!i}}))}class $e extends g{constructor(e,t=!0){if(super(e.formsetPrefix,e,t),this.type=e.type,this.prefix=e.prefix,this.relationName=e.relationName,this.formsElt=D()("#"+e.formsetPrefix+"-FORMS"),t){this.opts.canOrder&&(this.sortable=ie.Ay.create(this.formsElt.get(0),{handle:"[data-inline-panel-child-drag]",animation:200,onEnd:this.handleDragEnd.bind(this),setData:e=>{e.setData("application/vnd.wagtail.type","inlinepanel-child")}}));for(let e=0;e<this.formCount;e+=1){const t=this.opts.emptyChildFormPrefix.replace(/__prefix__/g,e);this.initChildControls(t)}this.updateControlStates(),setTimeout(()=>{this.formsElt.get(0)?.dispatchEvent(new CustomEvent("w-formset:ready",{bubbles:!0,cancelable:!1,detail:{...e}}))})}}updateControlStates(){this.updateChildCount(),this.updateMoveButtonDisabledStates(),this.updateAddButtonState()}initChildControls(e){const t="inline_child_"+e,r="id_"+e+"-DELETE",n=D()("#"+t),a=n.find("[data-inline-panel-child-move-up]:first "),o=n.find("[data-inline-panel-child-move-down]:first ");D()("#"+r+"-button").on("click",()=>{D()("#"+r).val("1").get(0).dispatchEvent(new Event("change",{bubbles:!0})),n.addClass("deleted").slideUp(()=>{this.updateControlStates(),n.get(0).dispatchEvent(new CustomEvent("w-formset:removed",{bubbles:!0,cancelable:!1,detail:{...this.opts}}))})}),this.opts.canOrder&&(a.on("click",()=>{const t=n.find(`input[name="${e}-ORDER"]`),r=t.val(),a=n.prevAll(":not(.deleted)").first();if(!a.length)return;const o=a[0].id.replace("inline_child_",""),i=a.find(`input[name="${o}-ORDER"]`),u=i.val();this.animateSwap(n,a),n.insertBefore(a),t.val(u),i.val(r),this.updateControlStates()}),o.on("click",()=>{const t=n.find(`input[name="${e}-ORDER"]`),r=t.val(),a=n.nextAll(":not(.deleted)").first();if(!a.length)return;const o=a[0].id.replace("inline_child_",""),i=a.find(`input[name="${o}-ORDER"]`),u=i.val();this.animateSwap(n,a),n.insertAfter(a),t.val(u),i.val(r),this.updateControlStates()})),"1"===D()("#"+r).val()&&(D()("#"+t).addClass("deleted").hide(0,()=>{this.updateControlStates()}),D()("#"+t).find(".error-message").remove())}updateMoveButtonDisabledStates(){if(this.opts.canOrder){const e=this.formsElt.children(":not(.deleted)");e.each(function(t){const r=0===t,n=t===e.length-1;D()("[data-inline-panel-child-move-up]:first",this).prop("disabled",r),D()("[data-inline-panel-child-move-down]:first",this).prop("disabled",n)})}}updateChildCount(){this.formsElt.children(":not(.deleted)").each(function(e){D()("[data-inline-panel-child-count]",this).first().text(` ${e+1}`)})}getChildCount(){return D()("> [data-inline-panel-child]",this.formsElt).not(".deleted").length}updateAddButtonState(){if(this.opts.maxForms){const e=D()("#"+this.opts.formsetPrefix+"-ADD");this.getChildCount()>=this.opts.maxForms?e.prop("disabled",!0):e.prop("disabled",!1)}}animateSwap(e,t){const r=this.formsElt,n=r.children(":not(.deleted)");r.css({position:"relative",height:r.height()}),n.each(function(){D()(this).css("top",D()(this).position().top)}).css({position:"absolute",width:"100%"}),e.animate({top:t.position().top},200,()=>{r.removeAttr("style"),n.removeAttr("style")}),t.animate({top:e.position().top},200,()=>{r.removeAttr("style"),n.removeAttr("style")})}initialFocus(e){e&&e.length&&(e.attr("tabindex")||(e.attr("tabindex",-1),e.one("blur",()=>{"-1"===e.attr("tabindex")&&e.removeAttr("tabindex")})),e[0].scrollIntoView({behavior:"smooth"}),e.focus())}addForm(e={}){super.addForm({runCallbacks:!1});const t=this.formCount-1,r=this.opts.emptyChildFormPrefix.replace(/__prefix__/g,t);this.initChildControls(r),this.opts.canOrder&&D()("#id_"+r+"-ORDER").val(t+1).get(0).dispatchEvent(new Event("change",{bubbles:!0})),this.updateControlStates(),function(e=document.querySelectorAll("[data-panel-toggle]")){e.forEach(ze)}(document.querySelectorAll(`#inline_child_${r} [data-panel-toggle]`)),"runCallbacks"in e&&!e.runCallbacks||(this.opts.onAdd&&this.opts.onAdd(t),this.opts.onInit&&this.opts.onInit(t)),this.initialFocus(D()(`#inline_child_${r}-panel-content`));const n=this.formsElt.children().last().get(0);n&&n.dispatchEvent(new CustomEvent("w-formset:added",{bubbles:!0,cancelable:!1,detail:{formIndex:t,...this.opts}}))}updateOrderValues(){this.formsElt.children(":not(.deleted)").each((e,t)=>{const r=t.id.replace("inline_child_","");D()(t).find(`[name="${r}-ORDER"]`).val(e+1)})}handleDragEnd(e){const{oldIndex:t,newIndex:r}=e;t!==r&&(this.updateOrderValues(),this.updateControlStates())}getPanelByName(e){return e===this.relationName?this:null}}class Ue extends $e{constructor(e,t=!0){super(e),this.chooserWidgetFactory=window.telepath.unpack(JSON.parse(document.getElementById(`${e.formsetPrefix}-CHOOSER_WIDGET`).textContent)),t&&document.getElementById(`${e.formsetPrefix}-OPEN_MODAL`).addEventListener("click",()=>{this.chooserWidgetFactory.openModal(t=>{t.forEach(t=>{if(e.maxForms&&this.getChildCount()>=e.maxForms)return;this.addForm();const r=this.formCount-1,n=`${e.formsetPrefix}-${r}-${e.chooserFieldName}`;this.chooserWidgetFactory.getById(n).setStateFromModalData(t)})},{multiple:!0})})}updateOpenModalButtonState(){if(this.opts.maxForms){const e=document.getElementById(`${this.opts.formsetPrefix}-OPEN_MODAL`);this.getChildCount()>=this.opts.maxForms?(e.setAttribute("disabled","true"),e.setAttribute("data-force-disabled","true")):(e.removeAttribute("disabled"),e.removeAttribute("data-force-disabled"))}}updateControlStates(){super.updateControlStates(),this.updateOpenModalButtonState()}}class He extends n.Application{queryController(e){return this.getControllerForElementAndIdentifier(document.querySelector(`[${this.schema.controllerAttribute}~="${e}"]`),e)}queryControllerAll(e){return Array.from(document.querySelectorAll(`[${this.schema.controllerAttribute}~="${e}"]`)).map(t=>this.getControllerForElementAndIdentifier(t,e)).filter(Boolean)}}var We=r(4327);window.StimulusModule=n;const Ge=window.wagtail||{};Ge.app=(({debug:e=!1,definitions:t=[],root:r=document.documentElement}={})=>{const n=He.start(r);return n.debug=e,n.load(t),n})({definitions:Ve}),Ge.components={Icon:s.A,Portal:l.A},window.wagtailConfig=v.HE,window.wagtail=Ge,window.escapeHtml=We.Z,window.InlinePanel=$e,window.MultipleChooserPanel=Ue,window.telepath||(window.telepath=new(o())),window.telepath.register("wagtail.panels.Panel",je),window.telepath.register("wagtail.panels.PanelGroup",class extends je{children;constructor(e){super(e),this.children=e.children}getPanelByName(e){for(const t of this.children){const r=t.getPanelByName(e);if(r)return r}return null}}),window.telepath.register("wagtail.panels.FieldPanel",class extends je{#t;fieldName;widget;constructor(e){super(e),this.fieldName=e.fieldName,this.widget=e.widget}getBoundWidget(){if(void 0!==this.#t)return this.#t;if(this.widget.getByName){const e=document.getElementById(`${this.prefix}-wrapper`);this.#t=this.widget.getByName(this.fieldName,e||document.body)}else this.#t=null;return this.#t}getPanelByName(e){return e===this.fieldName?this:null}getErrorMessage(){const e=document.getElementById(`${this.prefix}-errors`);return e?.querySelector(".error-message")?.textContent?.trim()}setErrorMessage(e){const t=`${this.prefix}-errors`,r=document.getElementById(t);if(!r)return;const n=this.getBoundWidget()?.input;if(e){if(r.innerHTML='\n <svg class="icon icon-warning w-field__errors-icon" aria-hidden="true"><use href="#icon-warning"></use></svg>\n <p class="error-message"></p>\n ',r.querySelector(".error-message").textContent=e,n){n.setAttribute("aria-invalid","true");const e=(n.getAttribute("aria-describedby")||"").split(" ").filter(Boolean);e.includes(t)||e.push(t),n.setAttribute("aria-describedby",e.join(" "))}}else if(r.innerHTML="",n){n.removeAttribute("aria-invalid");const e=(n.getAttribute("aria-describedby")||"").split(" ").filter(e=>e!==t).join(" ");n.setAttribute("aria-describedby",e)}}}),window.telepath.register("wagtail.panels.InlinePanel",$e),window.telepath.register("wagtail.panels.MultipleChooserPanel",Ue),window.buildExpandingFormset=function(e,t={}){return new g(e,t)}},8609:function(e,t,r){var n,a;e=r.nmd(e),function o(i){var u=i,s=i.document;function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var c=c||{};function d(e){this.name="SupportError",this.cause=e.cause,this.message="`".concat(e.cause,"` - feature unsupported in your environment."),e.ruleId&&(this.ruleId=e.ruleId,this.message+=" Skipping ".concat(this.ruleId," rule.")),this.stack=(new Error).stack}c.version="4.10.3",void 0===(a=function(){return c}.apply(t,[]))||(e.exports=a),"object"===l(e)&&e.exports&&"function"==typeof o.toString&&(c.source="("+o.toString()+')(typeof window === "object" ? window : this);',e.exports=c),"function"==typeof i.getComputedStyle&&(i.axe=c),d.prototype=Object.create(Error.prototype),d.prototype.constructor=d;var p=["node"],h=["relatedNodes"],f=["node"],m=["variant"],D=["matches"],g=["chromium"],v=["noImplicit"],b=["noPresentational"],y=["precision","format","inGamut"],F=["space"],w=["algorithm"],E=["method"],C=["maxDeltaE","deltaEMethod","steps","maxSteps"],x=["node"],A=["environmentData"],T=["environmentData"],k=["environmentData"],N=["environmentData"],B=["environmentData"];function R(e,t,r){return t=O(t),function(e,t){if(t&&("object"==l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,S()?Reflect.construct(t,r||[],O(e).constructor):t.apply(e,r))}function S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(S=function(){return!!e})()}function O(e){return O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},O(e)}function _(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&P(e,t)}function P(e,t){return P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},P(e,t)}function I(e,t,r){L(e,t),t.set(e,r)}function M(e,t){L(e,t),t.add(e)}function L(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function V(e,t){return e.get(q(e,t))}function j(e,t,r){return e.set(q(e,t),r),r}function q(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function z(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.includes(r)||{}.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function $(e){return function(e){if(Array.isArray(e))return te(e)}(e)||U(e)||ee(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function U(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function H(){return H=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},H.apply(null,arguments)}function W(e,t){return K(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,i,u=[],s=!0,l=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=o.call(r)).done)&&(u.push(n.value),u.length!==t);s=!0);}catch(e){l=!0,a=e}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw a}}return u}}(e,t)||ee(e,t)||G()}function G(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function K(e){if(Array.isArray(e))return e}function Y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,J(n.key),n)}}function X(e,t,r){return t&&Z(e.prototype,t),r&&Z(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function J(e){var t=function(e){if("object"!=l(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==l(t)?t:t+""}function Q(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=ee(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){u=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(u)throw o}}}}function ee(e,t){if(e){if("string"==typeof e)return te(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?te(e,t):void 0}}function te(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}!function(e,t,o,O,L,Z,te,re,ne,ae,oe){var ie=Object.create,ue=Object.defineProperty,se=Object.getPrototypeOf,le=Object.prototype.hasOwnProperty,ce=Object.getOwnPropertyNames,de=Object.getOwnPropertyDescriptor,pe=function(e,t){return function(){return t||e((t={exports:{}}).exports,t),t.exports}},he=function(e,t){for(var r in t)ue(e,r,{get:t[r],enumerable:!0})},fe=function(e){return function(e,t,r){if(t&&"object"===l(t)||"function"==typeof t){var n,a=Q(ce(t));try{var o=function(){var a=n.value;le.call(e,a)||"default"===a||ue(e,a,{get:function(){return t[a]},enumerable:!(r=de(t,a))||r.enumerable})};for(a.s();!(n=a.n()).done;)o()}catch(e){a.e(e)}finally{a.f()}}return e}((t=ue(null!=e?ie(se(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0}),ue(t,"__esModule",{value:!0})),e);var t},me=function(e,t,r){return function(e,t,r){t in e?ue(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==l(t)?t+"":t,r),r},De=pe(function(e,t){"use strict";t.exports=function(){}}),ge=pe(function(e,t){"use strict";var r=De()();t.exports=function(e){return e!==r&&null!==e}}),ve=pe(function(e,t){"use strict";var r=ge(),n=Array.prototype.forEach,a=Object.create;t.exports=function(e){var t=a(null);return n.call(arguments,function(e){r(e)&&function(e,t){var r;for(r in e)t[r]=e[r]}(Object(e),t)}),t}}),be=pe(function(e,t){"use strict";t.exports=function(){var e=Math.sign;return"function"==typeof e&&1===e(10)&&-1===e(-20)}}),ye=pe(function(e,t){"use strict";t.exports=function(e){return e=Number(e),isNaN(e)||0===e?e:e>0?1:-1}}),Fe=pe(function(e,t){"use strict";t.exports=be()()?Math.sign:ye()}),we=pe(function(e,t){"use strict";var r=Fe(),n=Math.abs,a=Math.floor;t.exports=function(e){return isNaN(e)?0:0!==(e=Number(e))&&isFinite(e)?r(e)*a(n(e)):e}}),Ee=pe(function(e,t){"use strict";var r=we(),n=Math.max;t.exports=function(e){return n(0,r(e))}}),Ce=pe(function(e,t){"use strict";var r=Ee();t.exports=function(e,t,n){var a;return isNaN(e)?(a=t)>=0?n&&a?a-1:a:1:!1!==e&&r(e)}}),xe=pe(function(e,t){"use strict";t.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}}),Ae=pe(function(e,t){"use strict";var r=ge();t.exports=function(e){if(!r(e))throw new TypeError("Cannot use null or undefined");return e}}),Te=pe(function(e,t){"use strict";var r=xe(),n=Ae(),a=Function.prototype.bind,o=Function.prototype.call,i=Object.keys,u=Object.prototype.propertyIsEnumerable;t.exports=function(e,t){return function(s,l){var c,d=arguments[2],p=arguments[3];return s=Object(n(s)),r(l),c=i(s),p&&c.sort("function"==typeof p?a.call(p,s):void 0),"function"!=typeof e&&(e=c[e]),o.call(e,c,function(e,r){return u.call(s,e)?o.call(l,d,s[e],e,s,r):t})}}}),ke=pe(function(e,t){"use strict";t.exports=Te()("forEach")}),Ne=pe(function(){}),Be=pe(function(e,t){"use strict";t.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}}),Re=pe(function(e,t){"use strict";t.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}}),Se=pe(function(e,t){"use strict";var r=ge(),n=Object.keys;t.exports=function(e){return n(r(e)?Object(e):e)}}),Oe=pe(function(e,t){"use strict";t.exports=Re()()?Object.keys:Se()}),_e=pe(function(e,t){"use strict";var r=Oe(),n=Ae(),a=Math.max;t.exports=function(e,t){var o,i,u,s=a(arguments.length,2);for(e=Object(n(e)),u=function(r){try{e[r]=t[r]}catch(e){o||(o=e)}},i=1;i<s;++i)r(t=arguments[i]).forEach(u);if(void 0!==o)throw o;return e}}),Pe=pe(function(e,t){"use strict";t.exports=Be()()?Object.assign:_e()}),Ie=pe(function(e,t){"use strict";var r=ge(),n={function:!0,object:!0};t.exports=function(e){return r(e)&&n[l(e)]||!1}}),Me=pe(function(e,t){"use strict";var r=Pe(),n=Ie(),a=ge(),o=Error.captureStackTrace;t.exports=function(e){var i=new Error(e),u=arguments[1],s=arguments[2];return a(s)||n(u)&&(s=u,u=null),a(s)&&r(i,s),a(u)&&(i.code=u),o&&o(i,t.exports),i}}),Le=pe(function(e,t){"use strict";var r=Ae(),n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols;t.exports=function(e,t){var u,s=Object(r(t));if(e=Object(r(e)),o(s).forEach(function(r){try{n(e,r,a(t,r))}catch(e){u=e}}),"function"==typeof i&&i(s).forEach(function(r){try{n(e,r,a(t,r))}catch(e){u=e}}),void 0!==u)throw u;return e}}),Ve=pe(function(e,t){"use strict";var r,n,a,o,i,u=Ee(),s=function(e,t){return t};try{Object.defineProperty(s,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch(e){}1===s.length?(r={configurable:!0,writable:!1,enumerable:!1},n=Object.defineProperty,t.exports=function(e,t){return t=u(t),e.length===t?e:(r.value=t,n(e,"length",r))}):(o=Le(),i=[],a=function(e){var t,r=0;if(i[e])return i[e];for(t=[];e--;)t.push("a"+(++r).toString(36));return new Function("fn","return function ("+t.join(", ")+") { return fn.apply(this, arguments); };")},t.exports=function(e,t){var r;if(t=u(t),e.length===t)return e;r=a(t)(e);try{o(r,e)}catch(e){}return r})}),je=pe(function(e,t){"use strict";t.exports=function(e){return null!=e}}),qe=pe(function(e,t){"use strict";var r=je(),n={object:!0,function:!0,undefined:!0};t.exports=function(e){return!!r(e)&&hasOwnProperty.call(n,l(e))}}),ze=pe(function(e,t){"use strict";var r=qe();t.exports=function(e){if(!r(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(e){return!1}}}),$e=pe(function(e,t){"use strict";var r=ze();t.exports=function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(e){return!1}return!r(e)}}),Ue=pe(function(e,t){"use strict";var r=$e(),n=/^\s*class[\s{/}]/,a=Function.prototype.toString;t.exports=function(e){return!!r(e)&&!n.test(a.call(e))}}),He=pe(function(e,t){"use strict";var r="razdwatrzy";t.exports=function(){return"function"==typeof r.contains&&!0===r.contains("dwa")&&!1===r.contains("foo")}}),We=pe(function(e,t){"use strict";var r=String.prototype.indexOf;t.exports=function(e){return r.call(this,e,arguments[1])>-1}}),Ge=pe(function(e,t){"use strict";t.exports=He()()?String.prototype.contains:We()}),Ke=pe(function(e,t){"use strict";var r=je(),n=Ue(),a=Pe(),o=ve(),i=Ge(),u=t.exports=function(e,t){var n,u,s,l,c;return arguments.length<2||"string"!=typeof e?(l=t,t=e,e=null):l=arguments[2],r(e)?(n=i.call(e,"c"),u=i.call(e,"e"),s=i.call(e,"w")):(n=s=!0,u=!1),c={value:t,configurable:n,enumerable:u,writable:s},l?a(o(l),c):c};u.gs=function(e,t,u){var s,l,c,d;return"string"!=typeof e?(c=u,u=t,t=e,e=null):c=arguments[3],r(t)?n(t)?r(u)?n(u)||(c=u,u=void 0):u=void 0:(c=t,t=u=void 0):t=void 0,r(e)?(s=i.call(e,"c"),l=i.call(e,"e")):(s=!0,l=!1),d={get:t,set:u,configurable:s,enumerable:l},c?a(o(c),d):d}}),Ye=pe(function(e,t){"use strict";var r,n,a,o,i,u,s,c=Ke(),d=xe(),p=Function.prototype.apply,h=Function.prototype.call,f=Object.create,m=Object.defineProperty,D=Object.defineProperties,g=Object.prototype.hasOwnProperty,v={configurable:!0,enumerable:!1,writable:!0};n=function(e,t){var n,o;return d(t),o=this,r.call(this,e,n=function(){a.call(o,e,n),p.call(t,this,arguments)}),n.__eeOnceListener__=t,this},a=function(e,t){var r,n,a,o;if(d(t),!g.call(this,"__ee__"))return this;if(!(r=this.__ee__)[e])return this;if(n=r[e],"object"===l(n))for(o=0;a=n[o];++o)a!==t&&a.__eeOnceListener__!==t||(2===n.length?r[e]=n[o?0:1]:n.splice(o,1));else n!==t&&n.__eeOnceListener__!==t||delete r[e];return this},o=function(e){var t,r,n,a,o;if(g.call(this,"__ee__")&&(a=this.__ee__[e]))if("object"===l(a)){for(r=arguments.length,o=new Array(r-1),t=1;t<r;++t)o[t-1]=arguments[t];for(a=a.slice(),t=0;n=a[t];++t)p.call(n,this,o)}else switch(arguments.length){case 1:h.call(a,this);break;case 2:h.call(a,this,arguments[1]);break;case 3:h.call(a,this,arguments[1],arguments[2]);break;default:for(r=arguments.length,o=new Array(r-1),t=1;t<r;++t)o[t-1]=arguments[t];p.call(a,this,o)}},i={on:r=function(e,t){var r;return d(t),g.call(this,"__ee__")?r=this.__ee__:(r=v.value=f(null),m(this,"__ee__",v),v.value=null),r[e]?"object"===l(r[e])?r[e].push(t):r[e]=[r[e],t]:r[e]=t,this},once:n,off:a,emit:o},u={on:c(r),once:c(n),off:c(a),emit:c(o)},s=D({},u),t.exports=e=function(e){return null==e?f(s):D(Object(e),u)},e.methods=i}),Ze=pe(function(e,t){"use strict";t.exports=function(){var e,t,r=Array.from;return"function"==typeof r&&(t=r(e=["raz","dwa"]),Boolean(t&&t!==e&&"dwa"===t[1]))}}),Xe=pe(function(e,t){"use strict";t.exports=function(){return"object"===("undefined"==typeof globalThis?"undefined":l(globalThis))&&!!globalThis&&globalThis.Array===Array}}),Je=pe(function(e,t){var r=function(){if("object"===("undefined"==typeof self?"undefined":l(self))&&self)return self;if("object"===(void 0===i?"undefined":l(i))&&i)return i;throw new Error("Unable to resolve global `this`")};t.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(e){return r()}try{return __global__||r()}finally{delete Object.prototype.__global__}}()}),Qe=pe(function(e,t){"use strict";t.exports=Xe()()?globalThis:Je()}),et=pe(function(e,t){"use strict";var r=Qe(),n={object:!0,symbol:!0};t.exports=function(){var e,t=r.Symbol;if("function"!=typeof t)return!1;e=t("test symbol");try{String(e)}catch(e){return!1}return!!n[l(t.iterator)]&&!!n[l(t.toPrimitive)]&&!!n[l(t.toStringTag)]}}),tt=pe(function(e,t){"use strict";t.exports=function(e){return!!e&&("symbol"===l(e)||!!e.constructor&&"Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag])}}),rt=pe(function(e,t){"use strict";var r=tt();t.exports=function(e){if(!r(e))throw new TypeError(e+" is not a symbol");return e}}),nt=pe(function(e,t){"use strict";var r=Ke(),n=Object.create,a=Object.defineProperty,o=Object.prototype,i=n(null);t.exports=function(e){for(var t,n,u=0;i[e+(u||"")];)++u;return i[e+=u||""]=!0,a(o,t="@@"+e,r.gs(null,function(e){n||(n=!0,a(this,t,r(e)),n=!1)})),t}}),at=pe(function(e,t){"use strict";var r=Ke(),n=Qe().Symbol;t.exports=function(e){return Object.defineProperties(e,{hasInstance:r("",n&&n.hasInstance||e("hasInstance")),isConcatSpreadable:r("",n&&n.isConcatSpreadable||e("isConcatSpreadable")),iterator:r("",n&&n.iterator||e("iterator")),match:r("",n&&n.match||e("match")),replace:r("",n&&n.replace||e("replace")),search:r("",n&&n.search||e("search")),species:r("",n&&n.species||e("species")),split:r("",n&&n.split||e("split")),toPrimitive:r("",n&&n.toPrimitive||e("toPrimitive")),toStringTag:r("",n&&n.toStringTag||e("toStringTag")),unscopables:r("",n&&n.unscopables||e("unscopables"))})}}),ot=pe(function(e,t){"use strict";var r=Ke(),n=rt(),a=Object.create(null);t.exports=function(e){return Object.defineProperties(e,{for:r(function(t){return a[t]?a[t]:a[t]=e(String(t))}),keyFor:r(function(e){var t;for(t in n(e),a)if(a[t]===e)return t})})}}),it=pe(function(e,t){"use strict";var r,n,a,o=Ke(),i=rt(),u=Qe().Symbol,s=nt(),c=at(),d=ot(),p=Object.create,h=Object.defineProperties,f=Object.defineProperty;if("function"==typeof u)try{String(u()),a=!0}catch(e){}else u=null;n=function(e){if(this instanceof n)throw new TypeError("Symbol is not a constructor");return r(e)},t.exports=r=function e(t){var r;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return a?u(t):(r=p(n.prototype),t=void 0===t?"":String(t),h(r,{__description__:o("",t),__name__:o("",s(t))}))},c(r),d(r),h(n.prototype,{constructor:o(r),toString:o("",function(){return this.__name__})}),h(r.prototype,{toString:o(function(){return"Symbol ("+i(this).__description__+")"}),valueOf:o(function(){return i(this)})}),f(r.prototype,r.toPrimitive,o("",function(){var e=i(this);return"symbol"===l(e)?e:e.toString()})),f(r.prototype,r.toStringTag,o("c","Symbol")),f(n.prototype,r.toStringTag,o("c",r.prototype[r.toStringTag])),f(n.prototype,r.toPrimitive,o("c",r.prototype[r.toPrimitive]))}),ut=pe(function(e,t){"use strict";t.exports=et()()?Qe().Symbol:it()}),st=pe(function(e,t){"use strict";var r=Object.prototype.toString,n=r.call(function(){return arguments}());t.exports=function(e){return r.call(e)===n}}),lt=pe(function(e,t){"use strict";var r=Object.prototype.toString,n=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);t.exports=function(e){return"function"==typeof e&&n(r.call(e))}}),ct=pe(function(e,t){"use strict";var r=Object.prototype.toString,n=r.call("");t.exports=function(e){return"string"==typeof e||e&&"object"===l(e)&&(e instanceof String||r.call(e)===n)||!1}}),dt=pe(function(e,t){"use strict";var r=ut().iterator,n=st(),a=lt(),o=Ee(),i=xe(),u=Ae(),s=ge(),l=ct(),c=Array.isArray,d=Function.prototype.call,p={configurable:!0,enumerable:!0,writable:!0,value:null},h=Object.defineProperty;t.exports=function(e){var t,f,m,D,g,v,b,y,F,w,E=arguments[1],C=arguments[2];if(e=Object(u(e)),s(E)&&i(E),this&&this!==Array&&a(this))t=this;else{if(!E){if(n(e))return 1!==(g=e.length)?Array.apply(null,e):((D=new Array(1))[0]=e[0],D);if(c(e)){for(D=new Array(g=e.length),f=0;f<g;++f)D[f]=e[f];return D}}D=[]}if(!c(e))if(void 0!==(F=e[r])){for(b=i(F).call(e),t&&(D=new t),y=b.next(),f=0;!y.done;)w=E?d.call(E,C,y.value,f):y.value,t?(p.value=w,h(D,f,p)):D[f]=w,y=b.next(),++f;g=f}else if(l(e)){for(g=e.length,t&&(D=new t),f=0,m=0;f<g;++f)w=e[f],f+1<g&&(v=w.charCodeAt(0))>=55296&&v<=56319&&(w+=e[++f]),w=E?d.call(E,C,w,m):w,t?(p.value=w,h(D,m,p)):D[m]=w,++m;g=m}if(void 0===g)for(g=o(e.length),t&&(D=new t(g)),f=0;f<g;++f)w=E?d.call(E,C,e[f],f):e[f],t?(p.value=w,h(D,f,p)):D[f]=w;return t&&(p.value=null,D.length=g),D}}),pt=pe(function(e,t){"use strict";t.exports=Ze()()?Array.from:dt()}),ht=pe(function(e,t){"use strict";var r=pt(),n=Array.isArray;t.exports=function(e){return n(e)?e:r(e)}}),ft=pe(function(e,t){"use strict";var r,n=ht(),a=ge(),o=xe(),i=Array.prototype.slice;r=function(e){return this.map(function(t,r){return t?t(e[r]):e[r]}).concat(i.call(e,this.length))},t.exports=function(e){return(e=n(e)).forEach(function(e){a(e)&&o(e)}),r.bind(e)}}),mt=pe(function(e,t){"use strict";var r=xe();t.exports=function(e){var t;return"function"==typeof e?{set:e,get:e}:(t={get:r(e.get)},void 0!==e.set?(t.set=r(e.set),e.delete&&(t.delete=r(e.delete)),e.clear&&(t.clear=r(e.clear)),t):(t.set=t.get,t))}}),Dt=pe(function(e,t){"use strict";var r=Me(),n=Ve(),a=Ke(),o=Ye().methods,i=ft(),u=mt(),s=Function.prototype.apply,l=Function.prototype.call,c=Object.create,d=Object.defineProperties,p=o.on,h=o.emit;t.exports=function(e,t,o){var f,m,D,g,v,b,y,F,w,E,C,x,A,T,k,N=c(null);return m=!1!==t?t:isNaN(e.length)?1:e.length,o.normalizer&&(E=u(o.normalizer),D=E.get,g=E.set,v=E.delete,b=E.clear),null!=o.resolvers&&(k=i(o.resolvers)),T=D?n(function(t){var n,a,o=arguments;if(k&&(o=k(o)),null!==(n=D(o))&&hasOwnProperty.call(N,n))return C&&f.emit("get",n,o,this),N[n];if(a=1===o.length?l.call(e,this,o[0]):s.call(e,this,o),null===n){if(null!==(n=D(o)))throw r("Circular invocation","CIRCULAR_INVOCATION");n=g(o)}else if(hasOwnProperty.call(N,n))throw r("Circular invocation","CIRCULAR_INVOCATION");return N[n]=a,x&&f.emit("set",n,null,a),a},m):0===t?function(){var t;if(hasOwnProperty.call(N,"data"))return C&&f.emit("get","data",arguments,this),N.data;if(t=arguments.length?s.call(e,this,arguments):l.call(e,this),hasOwnProperty.call(N,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return N.data=t,x&&f.emit("set","data",null,t),t}:function(t){var n,a,o=arguments;if(k&&(o=k(arguments)),a=String(o[0]),hasOwnProperty.call(N,a))return C&&f.emit("get",a,o,this),N[a];if(n=1===o.length?l.call(e,this,o[0]):s.call(e,this,o),hasOwnProperty.call(N,a))throw r("Circular invocation","CIRCULAR_INVOCATION");return N[a]=n,x&&f.emit("set",a,null,n),n},f={original:e,memoized:T,profileName:o.profileName,get:function(e){return k&&(e=k(e)),D?D(e):String(e[0])},has:function(e){return hasOwnProperty.call(N,e)},delete:function(e){var t;hasOwnProperty.call(N,e)&&(v&&v(e),t=N[e],delete N[e],A&&f.emit("delete",e,t))},clear:function(){var e=N;b&&b(),N=c(null),f.emit("clear",e)},on:function(e,t){return"get"===e?C=!0:"set"===e?x=!0:"delete"===e&&(A=!0),p.call(this,e,t)},emit:h,updateEnv:function(){e=f.original}},y=D?n(function(e){var t,r=arguments;k&&(r=k(r)),null!==(t=D(r))&&f.delete(t)},m):0===t?function(){return f.delete("data")}:function(e){return k&&(e=k(arguments)[0]),f.delete(e)},F=n(function(){var e,r=arguments;return 0===t?N.data:(k&&(r=k(r)),e=D?D(r):String(r[0]),N[e])}),w=n(function(){var e,r=arguments;return 0===t?f.has("data"):(k&&(r=k(r)),null!==(e=D?D(r):String(r[0]))&&f.has(e))}),d(T,{__memoized__:a(!0),delete:a(y),clear:a(f.clear),_get:a(F),_has:a(w)}),f}}),gt=pe(function(e,t){"use strict";var r=xe(),n=ke(),a=Ne(),o=Dt(),i=Ce();t.exports=function e(t){var u,s,l;if(r(t),(u=Object(arguments[1])).async&&u.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(t,"__memoized__")&&!u.force?t:(s=i(u.length,t.length,u.async&&a.async),l=o(t,s,u),n(a,function(e,t){u[t]&&e(u[t],l,u)}),e.__profiler__&&e.__profiler__(l),l.updateEnv(),l.memoized)}}),vt=pe(function(e,t){"use strict";t.exports=function(e){var t,r,n=e.length;if(!n)return"";for(t=String(e[r=0]);--n;)t+=""+e[++r];return t}}),bt=pe(function(e,t){"use strict";t.exports=function(e){return e?function(t){for(var r=String(t[0]),n=0,a=e;--a;)r+=""+t[++n];return r}:function(){return""}}}),yt=pe(function(e,t){"use strict";t.exports=function(){var e=Number.isNaN;return"function"==typeof e&&!e({})&&e(NaN)&&!e(34)}}),Ft=pe(function(e,t){"use strict";t.exports=function(e){return e!=e}}),wt=pe(function(e,t){"use strict";t.exports=yt()()?Number.isNaN:Ft()}),Et=pe(function(e,t){"use strict";var r=wt(),n=Ee(),a=Ae(),o=Array.prototype.indexOf,i=Object.prototype.hasOwnProperty,u=Math.abs,s=Math.floor;t.exports=function(e){var t,l,c,d;if(!r(e))return o.apply(this,arguments);for(l=n(a(this).length),c=arguments[1],t=c=isNaN(c)?0:c>=0?s(c):n(this.length)-s(u(c));t<l;++t)if(i.call(this,t)&&(d=this[t],r(d)))return t;return-1}}),Ct=pe(function(e,t){"use strict";var r=Et(),n=Object.create;t.exports=function(){var e=0,t=[],a=n(null);return{get:function(e){var n,a=0,o=t,i=e.length;if(0===i)return o[i]||null;if(o=o[i]){for(;a<i-1;){if(-1===(n=r.call(o[0],e[a])))return null;o=o[1][n],++a}return-1===(n=r.call(o[0],e[a]))?null:o[1][n]||null}return null},set:function(n){var o,i=0,u=t,s=n.length;if(0===s)u[s]=++e;else{for(u[s]||(u[s]=[[],[]]),u=u[s];i<s-1;)-1===(o=r.call(u[0],n[i]))&&(o=u[0].push(n[i])-1,u[1].push([[],[]])),u=u[1][o],++i;-1===(o=r.call(u[0],n[i]))&&(o=u[0].push(n[i])-1),u[1][o]=++e}return a[e]=n,e},delete:function(e){var n,o=0,i=t,u=a[e],s=u.length,l=[];if(0===s)delete i[s];else if(i=i[s]){for(;o<s-1;){if(-1===(n=r.call(i[0],u[o])))return;l.push(i,n),i=i[1][n],++o}if(-1===(n=r.call(i[0],u[o])))return;for(e=i[1][n],i[0].splice(n,1),i[1].splice(n,1);!i[0].length&&l.length;)n=l.pop(),(i=l.pop())[0].splice(n,1),i[1].splice(n,1)}delete a[e]},clear:function(){t=[],a=n(null)}}}}),xt=pe(function(e,t){"use strict";var r=Et();t.exports=function(){var e=0,t=[],n=[];return{get:function(e){var a=r.call(t,e[0]);return-1===a?null:n[a]},set:function(r){return t.push(r[0]),n.push(++e),e},delete:function(e){var a=r.call(n,e);-1!==a&&(t.splice(a,1),n.splice(a,1))},clear:function(){t=[],n=[]}}}}),At=pe(function(e,t){"use strict";var r=Et(),n=Object.create;t.exports=function(e){var t=0,a=[[],[]],o=n(null);return{get:function(t){for(var n,o=0,i=a;o<e-1;){if(-1===(n=r.call(i[0],t[o])))return null;i=i[1][n],++o}return-1===(n=r.call(i[0],t[o]))?null:i[1][n]||null},set:function(n){for(var i,u=0,s=a;u<e-1;)-1===(i=r.call(s[0],n[u]))&&(i=s[0].push(n[u])-1,s[1].push([[],[]])),s=s[1][i],++u;return-1===(i=r.call(s[0],n[u]))&&(i=s[0].push(n[u])-1),s[1][i]=++t,o[t]=n,t},delete:function(t){for(var n,i=0,u=a,s=[],l=o[t];i<e-1;){if(-1===(n=r.call(u[0],l[i])))return;s.push(u,n),u=u[1][n],++i}if(-1!==(n=r.call(u[0],l[i]))){for(t=u[1][n],u[0].splice(n,1),u[1].splice(n,1);!u[0].length&&s.length;)n=s.pop(),(u=s.pop())[0].splice(n,1),u[1].splice(n,1);delete o[t]}},clear:function(){a=[[],[]],o=n(null)}}}}),Tt=pe(function(e,t){"use strict";var r=xe(),n=ke(),a=Function.prototype.call;t.exports=function(e,t){var o={},i=arguments[2];return r(t),n(e,function(e,r,n,u){o[r]=a.call(t,i,e,r,n,u)}),o}}),kt=pe(function(e,t){"use strict";var r=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e},n=function(e){var t,n,a=s.createTextNode(""),o=0;return new e(function(){var e;if(t)n&&(t=n.concat(t));else{if(!n)return;t=n}if(n=t,t=null,"function"==typeof n)return e=n,n=null,void e();for(a.data=o=++o%2;n;)e=n.shift(),n.length||(n=null),e()}).observe(a,{characterData:!0}),function(e){r(e),t?"function"==typeof t?t=[t,e]:t.push(e):(t=e,a.data=o=++o%2)}};t.exports=function(){if("object"===("undefined"==typeof process?"undefined":l(process))&&process&&"function"==typeof process.nextTick)return process.nextTick;if("function"==typeof queueMicrotask)return function(e){queueMicrotask(r(e))};if("object"===(void 0===s?"undefined":l(s))&&s){if("function"==typeof MutationObserver)return n(MutationObserver);if("function"==typeof WebKitMutationObserver)return n(WebKitMutationObserver)}return"function"==typeof setImmediate?function(e){setImmediate(r(e))}:"function"==typeof setTimeout||"object"===("undefined"==typeof setTimeout?"undefined":l(setTimeout))?function(e){setTimeout(r(e),0)}:null}()}),Nt=pe(function(){"use strict";var e=pt(),t=Tt(),r=Le(),n=Ve(),a=kt(),o=Array.prototype.slice,i=Function.prototype.apply,u=Object.create;Ne().async=function(s,l){var c,d,p,h=u(null),f=u(null),m=l.memoized,D=l.original;l.memoized=n(function(e){var t=arguments,r=t[t.length-1];return"function"==typeof r&&(c=r,t=o.call(t,0,-1)),m.apply(d=this,p=t)},m);try{r(l.memoized,m)}catch(e){}l.on("get",function(e){var t,r,n;if(c){if(h[e])return"function"==typeof h[e]?h[e]=[h[e],c]:h[e].push(c),void(c=null);t=c,r=d,n=p,c=d=p=null,a(function(){var a;hasOwnProperty.call(f,e)?(a=f[e],l.emit("getasync",e,n,r),i.call(t,a.context,a.args)):(c=t,d=r,p=n,m.apply(r,n))})}}),l.original=function(){var t,r,n,o;return c?(t=e(arguments),r=function t(r){var n,u,s=t.id;if(null!=s){if(delete t.id,n=h[s],delete h[s],n)return u=e(arguments),l.has(s)&&(r?l.delete(s):(f[s]={context:this,args:u},l.emit("setasync",s,"function"==typeof n?1:n.length))),"function"==typeof n?o=i.call(n,this,u):n.forEach(function(e){o=i.call(e,this,u)},this),o}else a(i.bind(t,this,arguments))},n=c,c=d=p=null,t.push(r),o=i.call(D,this,t),r.cb=n,c=r,o):i.call(D,this,arguments)},l.on("set",function(e){c?(h[e]?"function"==typeof h[e]?h[e]=[h[e],c.cb]:h[e].push(c.cb):h[e]=c.cb,delete c.cb,c.id=e,c=null):l.delete(e)}),l.on("delete",function(e){var t;hasOwnProperty.call(h,e)||f[e]&&(t=f[e],delete f[e],l.emit("deleteasync",e,o.call(t.args,1)))}),l.on("clear",function(){var e=f;f=u(null),l.emit("clearasync",t(e,function(e){return o.call(e.args,1)}))})}}),Bt=pe(function(e,t){"use strict";var r=Array.prototype.forEach,n=Object.create;t.exports=function(e){var t=n(null);return r.call(arguments,function(e){t[e]=!0}),t}}),Rt=pe(function(e,t){"use strict";t.exports=function(e){return"function"==typeof e}}),St=pe(function(e,t){"use strict";var r=Rt();t.exports=function(e){try{return e&&r(e.toString)?e.toString():String(e)}catch(e){throw new TypeError("Passed argument cannot be stringifed")}}}),Ot=pe(function(e,t){"use strict";var r=Ae(),n=St();t.exports=function(e){return n(r(e))}}),_t=pe(function(e,t){"use strict";var r=Rt();t.exports=function(e){try{return e&&r(e.toString)?e.toString():String(e)}catch(e){return"<Non-coercible to string value>"}}}),Pt=pe(function(e,t){"use strict";var r=_t(),n=/[\n\r\u2028\u2029]/g;t.exports=function(e){var t=r(e);return t.length>100&&(t=t.slice(0,99)+"…"),t.replace(n,function(e){return JSON.stringify(e).slice(1,-1)})}}),It=pe(function(e,t){function r(e){return!!e&&("object"===l(e)||"function"==typeof e)&&"function"==typeof e.then}t.exports=r,t.exports.default=r}),Mt=pe(function(){"use strict";var e=Tt(),t=Bt(),r=Ot(),n=Pt(),a=It(),o=kt(),i=Object.create,u=t("then","then:finally","done","done:finally");Ne().promise=function(t,s){var l=i(null),c=i(null),d=i(null);if(!0===t)t=null;else if(t=r(t),!u[t])throw new TypeError("'"+n(t)+"' is not valid promise mode");s.on("set",function(e,r,n){var i=!1;if(!a(n))return c[e]=n,void s.emit("setasync",e,1);l[e]=1,d[e]=n;var u=function(t){var r=l[e];if(i)throw new Error("Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)\nConsider to rely on 'then' or 'done' mode instead.");r&&(delete l[e],c[e]=t,s.emit("setasync",e,r))},p=function(){i=!0,l[e]&&(delete l[e],delete d[e],s.delete(e))},h=t;if(h||(h="then"),"then"===h){var f=function(){o(p)};"function"==typeof(n=n.then(function(e){o(u.bind(this,e))},f)).finally&&n.finally(f)}else if("done"===h){if("function"!=typeof n.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");n.done(u,p)}else if("done:finally"===h){if("function"!=typeof n.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if("function"!=typeof n.finally)throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");n.done(u),n.finally(p)}}),s.on("get",function(e,t,r){var n;if(l[e])++l[e];else{n=d[e];var i=function(){s.emit("getasync",e,t,r)};a(n)?"function"==typeof n.done?n.done(i):n.then(function(){o(i)}):i()}}),s.on("delete",function(e){if(delete d[e],l[e])delete l[e];else if(hasOwnProperty.call(c,e)){var t=c[e];delete c[e],s.emit("deleteasync",e,[t])}}),s.on("clear",function(){var t=c;c=i(null),l=i(null),d=i(null),s.emit("clearasync",e(t,function(e){return[e]}))})}}),Lt=pe(function(){"use strict";var e=xe(),t=ke(),r=Ne(),n=Function.prototype.apply;r.dispose=function(a,o,i){var u;if(e(a),i.async&&r.async||i.promise&&r.promise)return o.on("deleteasync",u=function(e,t){n.call(a,null,t)}),void o.on("clearasync",function(e){t(e,function(e,t){u(t,e)})});o.on("delete",u=function(e,t){a(t)}),o.on("clear",function(e){t(e,function(e,t){u(t,e)})})}}),Vt=pe(function(e,t){"use strict";t.exports=2147483647}),jt=pe(function(e,t){"use strict";var r=Ee(),n=Vt();t.exports=function(e){if((e=r(e))>n)throw new TypeError(e+" exceeds maximum possible timeout");return e}}),qt=pe(function(){"use strict";var e=pt(),t=ke(),r=kt(),n=It(),a=jt(),o=Ne(),i=Function.prototype,u=Math.max,s=Math.min,l=Object.create;o.maxAge=function(c,d,p){var h,f,m,D;(c=a(c))&&(h=l(null),f=p.async&&o.async||p.promise&&o.promise?"async":"",d.on("set"+f,function(e){h[e]=setTimeout(function(){d.delete(e)},c),"function"==typeof h[e].unref&&h[e].unref(),D&&(D[e]&&"nextTick"!==D[e]&&clearTimeout(D[e]),D[e]=setTimeout(function(){delete D[e]},m),"function"==typeof D[e].unref&&D[e].unref())}),d.on("delete"+f,function(e){clearTimeout(h[e]),delete h[e],D&&("nextTick"!==D[e]&&clearTimeout(D[e]),delete D[e])}),p.preFetch&&(m=!0===p.preFetch||isNaN(p.preFetch)?.333:u(s(Number(p.preFetch),1),0))&&(D={},m=(1-m)*c,d.on("get"+f,function(t,a,o){D[t]||(D[t]="nextTick",r(function(){var r;"nextTick"===D[t]&&(delete D[t],d.delete(t),p.async&&(a=e(a)).push(i),r=d.memoized.apply(o,a),p.promise&&n(r)&&("function"==typeof r.done?r.done(i,i):r.then(i,i)))}))})),d.on("clear"+f,function(){t(h,function(e){clearTimeout(e)}),h={},D&&(t(D,function(e){"nextTick"!==e&&clearTimeout(e)}),D={})}))}}),zt=pe(function(e,t){"use strict";var r=Ee(),n=Object.create,a=Object.prototype.hasOwnProperty;t.exports=function(e){var t,o=0,i=1,u=n(null),s=n(null),l=0;return e=r(e),{hit:function(r){var n=s[r],c=++l;if(u[c]=r,s[r]=c,!n){if(++o<=e)return;return r=u[i],t(r),r}if(delete u[n],i===n)for(;!a.call(u,++i););},delete:t=function(e){var t=s[e];if(t&&(delete u[t],delete s[e],--o,i===t)){if(!o)return l=0,void(i=1);for(;!a.call(u,++i););}},clear:function(){o=0,i=1,u=n(null),s=n(null),l=0}}}}),$t=pe(function(){"use strict";var e=Ee(),t=zt(),r=Ne();r.max=function(n,a,o){var i,u,s;(n=e(n))&&(u=t(n),i=o.async&&r.async||o.promise&&r.promise?"async":"",a.on("set"+i,s=function(e){void 0!==(e=u.hit(e))&&a.delete(e)}),a.on("get"+i,s),a.on("delete"+i,u.delete),a.on("clear"+i,u.clear))}}),Ut=pe(function(){"use strict";var e=Ke(),t=Ne(),r=Object.create,n=Object.defineProperties;t.refCounter=function(a,o,i){var u,s;u=r(null),s=i.async&&t.async||i.promise&&t.promise?"async":"",o.on("set"+s,function(e,t){u[e]=t||1}),o.on("get"+s,function(e){++u[e]}),o.on("delete"+s,function(e){delete u[e]}),o.on("clear"+s,function(){u={}}),n(o.memoized,{deleteRef:e(function(){var e=o.get(arguments);return null===e?null:u[e]?! --u[e]&&(o.delete(e),!0):null}),getRefCount:e(function(){var e=o.get(arguments);return null===e?0:u[e]?u[e]:0})})}}),Ht=pe(function(e,t){"use strict";var r=ve(),n=Ce(),a=gt();t.exports=function(e){var t,o=r(arguments[1]);return o.normalizer||0!==(t=o.length=n(o.length,e.length,o.async))&&(o.primitive?!1===t?o.normalizer=vt():t>1&&(o.normalizer=bt()(t)):o.normalizer=!1===t?Ct()():1===t?xt()():At()(t)),o.async&&Nt(),o.promise&&Mt(),o.dispose&&Lt(),o.maxAge&&qt(),o.max&&$t(),o.refCounter&&Ut(),a(e,o)}}),Wt=pe(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isIdentStart=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e},e.isIdent=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"-"===e||"_"===e},e.isHex=function(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"},e.escapeIdentifier=function(t){for(var r=t.length,n="",a=0;a<r;){var o=t.charAt(a);if(e.identSpecialChars[o])n+="\\"+o;else if("_"===o||"-"===o||o>="A"&&o<="Z"||o>="a"&&o<="z"||0!==a&&o>="0"&&o<="9")n+=o;else{var i=o.charCodeAt(0);if(55296==(63488&i)){var u=t.charCodeAt(a++);if(55296!=(64512&i)||56320!=(64512&u))throw Error("UCS-2(decode): illegal sequence");i=((1023&i)<<10)+(1023&u)+65536}n+="\\"+i.toString(16)+" "}a++}return n},e.escapeStr=function(t){for(var r,n=t.length,a="",o=0;o<n;){var i=t.charAt(o);'"'===i?i='\\"':"\\"===i?i="\\\\":void 0!==(r=e.strReplacementsRev[i])&&(i=r),a+=i,o++}return'"'+a+'"'},e.identSpecialChars={"!":!0,'"':!0,"#":!0,$:!0,"%":!0,"&":!0,"'":!0,"(":!0,")":!0,"*":!0,"+":!0,",":!0,".":!0,"/":!0,";":!0,"<":!0,"=":!0,">":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},e.strReplacementsRev={"\n":"\\n","\r":"\\r","\t":"\\t","\f":"\\f","\v":"\\v"},e.singleQuoteEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\","'":"'"},e.doubleQuotesEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\",'"':'"'}}),Gt=pe(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=Wt();e.parseCssSelector=function(e,r,n,a,o,i){var u=e.length,s="";function l(n,a){var o="";for(r++,s=e.charAt(r);r<u;){if(s===n)return r++,o;if("\\"===s){r++;var i=void 0;if((s=e.charAt(r))===n)o+=n;else if(void 0!==(i=a[s]))o+=i;else{if(t.isHex(s)){var l=s;for(r++,s=e.charAt(r);t.isHex(s);)l+=s,r++,s=e.charAt(r);" "===s&&(r++,s=e.charAt(r)),o+=String.fromCharCode(parseInt(l,16));continue}o+=s}}else o+=s;r++,s=e.charAt(r)}return o}function c(){var n="";for(s=e.charAt(r);r<u;){if(t.isIdent(s))n+=s;else{if("\\"!==s)return n;if(++r>=u)throw Error("Expected symbol but end of file reached.");if(s=e.charAt(r),t.identSpecialChars[s])n+=s;else{if(t.isHex(s)){var a=s;for(r++,s=e.charAt(r);t.isHex(s);)a+=s,r++,s=e.charAt(r);" "===s&&(r++,s=e.charAt(r)),n+=String.fromCharCode(parseInt(a,16));continue}n+=s}}r++,s=e.charAt(r)}return n}function d(){s=e.charAt(r);for(var t=!1;" "===s||"\t"===s||"\n"===s||"\r"===s||"\f"===s;)t=!0,r++,s=e.charAt(r);return t}function p(){var t=h();if(!t)return null;var n=t;for(s=e.charAt(r);","===s;){if(r++,d(),"selectors"!==n.type&&(n={type:"selectors",selectors:[t]}),!(t=h()))throw Error('Rule expected after ",".');n.selectors.push(t)}return n}function h(){d();var t={type:"ruleSet"},n=f();if(!n)return null;for(var a=t;n&&(n.type="rule",a.rule=n,a=n,d(),s=e.charAt(r),!(r>=u||","===s||")"===s));)if(o[s]){var i=s;if(r++,d(),!(n=f()))throw Error('Rule expected after "'+i+'".');n.nestingOperator=i}else(n=f())&&(n.nestingOperator=null);return t}function f(){for(var o=null;r<u;)if("*"===(s=e.charAt(r)))r++,(o=o||{}).tagName="*";else if(t.isIdentStart(s)||"\\"===s)(o=o||{}).tagName=c();else if("."===s)r++,((o=o||{}).classNames=o.classNames||[]).push(c());else if("#"===s)r++,(o=o||{}).id=c();else if("["===s){r++,d();var h={name:c()};if(d(),"]"===s)r++;else{var f="";if(a[s]&&(f=s,r++,s=e.charAt(r)),r>=u)throw Error('Expected "=" but end of file reached.');if("="!==s)throw Error('Expected "=" but "'+s+'" found.');h.operator=f+"=",r++,d();var m="";if(h.valueType="string",'"'===s)m=l('"',t.doubleQuotesEscapeChars);else if("'"===s)m=l("'",t.singleQuoteEscapeChars);else if(i&&"$"===s)r++,m=c(),h.valueType="substitute";else{for(;r<u&&"]"!==s;)m+=s,r++,s=e.charAt(r);m=m.trim()}if(d(),r>=u)throw Error('Expected "]" but end of file reached.');if("]"!==s)throw Error('Expected "]" but "'+s+'" found.');r++,h.value=m}((o=o||{}).attrs=o.attrs||[]).push(h)}else{if(":"!==s)break;r++;var D=c(),g={name:D};if("("===s){r++;var v="";if(d(),"selector"===n[D])g.valueType="selector",v=p();else{if(g.valueType=n[D]||"string",'"'===s)v=l('"',t.doubleQuotesEscapeChars);else if("'"===s)v=l("'",t.singleQuoteEscapeChars);else if(i&&"$"===s)r++,v=c(),g.valueType="substitute";else{for(;r<u&&")"!==s;)v+=s,r++,s=e.charAt(r);v=v.trim()}d()}if(r>=u)throw Error('Expected ")" but end of file reached.');if(")"!==s)throw Error('Expected ")" but "'+s+'" found.');r++,g.value=v}((o=o||{}).pseudos=o.pseudos||[]).push(g)}return o}return function(){var t=p();if(r<u)throw Error('Rule expected but "'+e.charAt(r)+'" found.');return t}()}}),Kt=pe(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=Wt();e.renderEntity=function e(r){var n="";switch(r.type){case"ruleSet":for(var a=r.rule,o=[];a;)a.nestingOperator&&o.push(a.nestingOperator),o.push(e(a)),a=a.rule;n=o.join(" ");break;case"selectors":n=r.selectors.map(e).join(", ");break;case"rule":r.tagName&&(n="*"===r.tagName?"*":t.escapeIdentifier(r.tagName)),r.id&&(n+="#"+t.escapeIdentifier(r.id)),r.classNames&&(n+=r.classNames.map(function(e){return"."+t.escapeIdentifier(e)}).join("")),r.attrs&&(n+=r.attrs.map(function(e){return"operator"in e?"substitute"===e.valueType?"["+t.escapeIdentifier(e.name)+e.operator+"$"+e.value+"]":"["+t.escapeIdentifier(e.name)+e.operator+t.escapeStr(e.value)+"]":"["+t.escapeIdentifier(e.name)+"]"}).join("")),r.pseudos&&(n+=r.pseudos.map(function(r){return r.valueType?"selector"===r.valueType?":"+t.escapeIdentifier(r.name)+"("+e(r.value)+")":"substitute"===r.valueType?":"+t.escapeIdentifier(r.name)+"($"+r.value+")":"numeric"===r.valueType?":"+t.escapeIdentifier(r.name)+"("+r.value+")":":"+t.escapeIdentifier(r.name)+"("+t.escapeIdentifier(r.value)+")":":"+t.escapeIdentifier(r.name)}).join(""));break;default:throw Error('Unknown entity type: "'+r.type+'".')}return n}}),Yt=pe(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=Gt(),r=Kt(),n=function(){function e(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}return e.prototype.registerSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];this.pseudos[a]="selector"}return this},e.prototype.unregisterSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];delete this.pseudos[a]}return this},e.prototype.registerNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];this.pseudos[a]="numeric"}return this},e.prototype.unregisterNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];delete this.pseudos[a]}return this},e.prototype.registerNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];this.ruleNestingOperators[a]=!0}return this},e.prototype.unregisterNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];delete this.ruleNestingOperators[a]}return this},e.prototype.registerAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];this.attrEqualityMods[a]=!0}return this},e.prototype.unregisterAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];delete this.attrEqualityMods[a]}return this},e.prototype.enableSubstitutes=function(){return this.substitutesEnabled=!0,this},e.prototype.disableSubstitutes=function(){return this.substitutesEnabled=!1,this},e.prototype.parse=function(e){return t.parseCssSelector(e,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},e.prototype.render=function(e){return r.renderEntity(e).trim()},e}();e.CssSelectorParser=n}),Zt=pe(function(e,t){var o;o=function(){"use strict";function e(e){return"function"==typeof e}var t=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},r=0,n=void 0,a=void 0,o=function(e,t){D[r]=e,D[r+1]=t,2===(r+=2)&&(a?a(g):w())},c=void 0!==i?i:void 0,d=c||{},p=d.MutationObserver||d.WebKitMutationObserver,h="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),f="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function m(){var e=setTimeout;return function(){return e(g,1)}}var D=new Array(1e3);function g(){for(var e=0;e<r;e+=2)(0,D[e])(D[e+1]),D[e]=void 0,D[e+1]=void 0;r=0}var v,b,y,F,w=void 0;function E(e,t){var r=this,n=new this.constructor(A);void 0===n[x]&&V(n);var a=r._state;if(a){var i=arguments[a-1];o(function(){return M(a,n,i,r._result)})}else P(r,n,e,t);return n}function C(e){if(e&&"object"===l(e)&&e.constructor===this)return e;var t=new this(A);return R(t,e),t}h?w=function(){return process.nextTick(g)}:p?(b=0,y=new p(g),F=s.createTextNode(""),y.observe(F,{characterData:!0}),w=function(){F.data=b=++b%2}):f?((v=new MessageChannel).port1.onmessage=g,w=function(){return v.port2.postMessage(0)}):w=void 0===c?function(){try{var e=Function("return this")().require("vertx");return void 0!==(n=e.runOnLoop||e.runOnContext)?function(){n(g)}:m()}catch(e){return m()}}():m();var x=Math.random().toString(36).substring(2);function A(){}var T=void 0,k=1,N=2;function B(t,r,n){r.constructor===t.constructor&&n===E&&r.constructor.resolve===C?function(e,t){t._state===k?O(e,t._result):t._state===N?_(e,t._result):P(t,void 0,function(t){return R(e,t)},function(t){return _(e,t)})}(t,r):void 0===n?O(t,r):e(n)?function(e,t,r){o(function(e){var n=!1,a=function(r,a){try{r.call(a,function(r){n||(n=!0,t!==r?R(e,r):O(e,r))},function(t){n||(n=!0,_(e,t))})}catch(e){return e}}(r,t,0,0,e._label);!n&&a&&(n=!0,_(e,a))},e)}(t,r,n):O(t,r)}function R(e,t){if(e===t)_(e,new TypeError("You cannot resolve a promise with itself"));else if(a=l(n=t),null===n||"object"!==a&&"function"!==a)O(e,t);else{var r=void 0;try{r=t.then}catch(t){return void _(e,t)}B(e,t,r)}var n,a}function S(e){e._onerror&&e._onerror(e._result),I(e)}function O(e,t){e._state===T&&(e._result=t,e._state=k,0!==e._subscribers.length&&o(I,e))}function _(e,t){e._state===T&&(e._state=N,e._result=t,o(S,e))}function P(e,t,r,n){var a=e._subscribers,i=a.length;e._onerror=null,a[i]=t,a[i+k]=r,a[i+N]=n,0===i&&e._state&&o(I,e)}function I(e){var t=e._subscribers,r=e._state;if(0!==t.length){for(var n=void 0,a=void 0,o=e._result,i=0;i<t.length;i+=3)n=t[i],a=t[i+r],n?M(r,n,a,o):a(o);e._subscribers.length=0}}function M(t,r,n,a){var o=e(n),i=void 0,u=void 0,s=!0;if(o){try{i=n(a)}catch(e){s=!1,u=e}if(r===i)return void _(r,new TypeError("A promises callback cannot return that same promise."))}else i=a;r._state!==T||(o&&s?R(r,i):!1===s?_(r,u):t===k?O(r,i):t===N&&_(r,i))}var L=0;function V(e){e[x]=L++,e._state=void 0,e._result=void 0,e._subscribers=[]}var j=function(){function e(e,r){this._instanceConstructor=e,this.promise=new e(A),this.promise[x]||V(this.promise),t(r)?(this.length=r.length,this._remaining=r.length,this._result=new Array(this.length),0===this.length?O(this.promise,this._result):(this.length=this.length||0,this._enumerate(r),0===this._remaining&&O(this.promise,this._result))):_(this.promise,new Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;this._state===T&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var r=this._instanceConstructor,n=r.resolve;if(n===C){var a=void 0,o=void 0,i=!1;try{a=e.then}catch(e){i=!0,o=e}if(a===E&&e._state!==T)this._settledAt(e._state,t,e._result);else if("function"!=typeof a)this._remaining--,this._result[t]=e;else if(r===q){var u=new r(A);i?_(u,o):B(u,e,a),this._willSettleAt(u,t)}else this._willSettleAt(new r(function(t){return t(e)}),t)}else this._willSettleAt(n(e),t)},e.prototype._settledAt=function(e,t,r){var n=this.promise;n._state===T&&(this._remaining--,e===N?_(n,r):this._result[t]=r),0===this._remaining&&O(n,this._result)},e.prototype._willSettleAt=function(e,t){var r=this;P(e,void 0,function(e){return r._settledAt(k,t,e)},function(e){return r._settledAt(N,t,e)})},e}(),q=function(){function t(e){this[x]=L++,this._result=this._state=void 0,this._subscribers=[],A!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(e,t){try{t(function(t){R(e,t)},function(t){_(e,t)})}catch(t){_(e,t)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(t){var r=this,n=r.constructor;return e(t)?r.then(function(e){return n.resolve(t()).then(function(){return e})},function(e){return n.resolve(t()).then(function(){throw e})}):r.then(t,t)},t}();return q.prototype.then=E,q.all=function(e){return new j(this,e).promise},q.race=function(e){var r=this;return t(e)?new r(function(t,n){for(var a=e.length,o=0;o<a;o++)r.resolve(e[o]).then(t,n)}):new r(function(e,t){return t(new TypeError("You must pass an array to race."))})},q.resolve=C,q.reject=function(e){var t=new this(A);return _(t,e),t},q._setScheduler=function(e){a=e},q._setAsap=function(e){o=e},q._asap=o,q.polyfill=function(){var e=void 0;if(void 0!==u)e=u;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var r=null;try{r=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===r&&!t.cast)return}e.Promise=q},q.Promise=q,q},"object"===l(e)&&void 0!==t?t.exports=o():void 0===(a="function"==typeof(n=o)?n.call(e,r,e,t):n)||(t.exports=a)}),Xt=pe(function(e){var t,r,n=(t=Object.prototype.toString,r=Object.prototype.hasOwnProperty,{Class:function(e){return t.call(e).replace(/^\[object *|\]$/g,"")},HasProperty:function(e,t){return t in e},HasOwnProperty:function(e,t){return r.call(e,t)},IsCallable:function(e){return"function"==typeof e},ToInt32:function(e){return 0|e},ToUint32:function(e){return e>>>0}}),a=Math.LN2,o=Math.abs,i=Math.floor,u=Math.log,s=Math.min,c=Math.pow,d=Math.round;function p(e,t,r){return e<t?t:e>r?r:e}var h,f=Object.getOwnPropertyNames||function(e){if(e!==Object(e))throw new TypeError("Object.getOwnPropertyNames called on non-object");var t,r=[];for(t in e)n.HasOwnProperty(e,t)&&r.push(t);return r};function m(e){if(f&&h){var t,r=f(e);for(t=0;t<r.length;t+=1)h(e,r[t],{value:e[r[t]],writable:!1,enumerable:!1,configurable:!1})}}function D(e,t){var r=32-t;return e<<r>>r}function g(e,t){var r=32-t;return e<<r>>>r}function v(e){return[255&e]}function b(e){return D(e[0],8)}function y(e){return[255&e]}function F(e){return g(e[0],8)}function w(e){return[(e=d(Number(e)))<0?0:e>255?255:255&e]}function E(e){return[e>>8&255,255&e]}function C(e){return D(e[0]<<8|e[1],16)}function x(e){return[e>>8&255,255&e]}function A(e){return g(e[0]<<8|e[1],16)}function T(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function k(e){return D(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function N(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function B(e){return g(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function R(e,t,r){var n,l,d,p,h,f,m,D=(1<<t-1)-1;function g(e){var t=i(e),r=e-t;return r<.5?t:r>.5||t%2?t+1:t}for(e!=e?(l=(1<<t)-1,d=c(2,r-1),n=0):e===1/0||e===-1/0?(l=(1<<t)-1,d=0,n=e<0?1:0):0===e?(l=0,d=0,n=1/e==-1/0?1:0):(n=e<0,(e=o(e))>=c(2,1-D)?(l=s(i(u(e)/a),1023),(d=g(e/c(2,l)*c(2,r)))/c(2,r)>=2&&(l+=1,d=1),l>D?(l=(1<<t)-1,d=0):(l+=D,d-=c(2,r))):(l=0,d=g(e/c(2,1-D-r)))),h=[],p=r;p;p-=1)h.push(d%2?1:0),d=i(d/2);for(p=t;p;p-=1)h.push(l%2?1:0),l=i(l/2);for(h.push(n?1:0),h.reverse(),f=h.join(""),m=[];f.length;)m.push(parseInt(f.substring(0,8),2)),f=f.substring(8);return m}function S(e,t,r){var n,a,o,i,u,s,l,d,p=[];for(n=e.length;n;n-=1)for(o=e[n-1],a=8;a;a-=1)p.push(o%2?1:0),o>>=1;return p.reverse(),i=p.join(""),u=(1<<t-1)-1,s=parseInt(i.substring(0,1),2)?-1:1,l=parseInt(i.substring(1,1+t),2),d=parseInt(i.substring(1+t),2),l===(1<<t)-1?0===d?s*(1/0):NaN:l>0?s*c(2,l-u)*(1+d/c(2,r)):0!==d?s*c(2,-(u-1))*(d/c(2,r)):s<0?-0:0}function O(e){return S(e,11,52)}function _(e){return R(e,11,52)}function P(e){return S(e,8,23)}function I(e){return R(e,8,23)}h=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{}),!0}catch(e){return!1}}()?Object.defineProperty:function(e,t,r){if(!e===Object(e))throw new TypeError("Object.defineProperty called on non-object");return n.HasProperty(r,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(e,t,r.get),n.HasProperty(r,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(e,t,r.set),n.HasProperty(r,"value")&&(e[t]=r.value),e},function(){function t(e){if((e=n.ToInt32(e))<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");var t;for(this.byteLength=e,this._bytes=[],this._bytes.length=e,t=0;t<this.byteLength;t+=1)this._bytes[t]=0;m(this)}function r(){}function a(e,a,o){var i;return i=function(e,r,a){var o,u,s,c;if(arguments.length&&"number"!=typeof arguments[0])if("object"===l(arguments[0])&&arguments[0].constructor===i)for(o=arguments[0],this.length=o.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0,s=0;s<this.length;s+=1)this._setter(s,o._getter(s));else if("object"!==l(arguments[0])||arguments[0]instanceof t||"ArrayBuffer"===n.Class(arguments[0])){if("object"!==l(arguments[0])||!(arguments[0]instanceof t||"ArrayBuffer"===n.Class(arguments[0])))throw new TypeError("Unexpected argument type(s)");if(this.buffer=e,this.byteOffset=n.ToUint32(r),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=n.ToUint32(a),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else for(u=arguments[0],this.length=n.ToUint32(u.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0,s=0;s<this.length;s+=1)c=u[s],this._setter(s,Number(c));else{if(this.length=n.ToInt32(arguments[0]),a<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0}this.constructor=i,m(this),function(e){if(h){if(e.length>1e5)throw new RangeError("Array too large for polyfill");var t;for(t=0;t<e.length;t+=1)r(t)}function r(t){h(e,t,{get:function(){return e._getter(t)},set:function(r){e._setter(t,r)},enumerable:!0,configurable:!1})}}(this)},i.prototype=new r,i.prototype.BYTES_PER_ELEMENT=e,i.prototype._pack=a,i.prototype._unpack=o,i.BYTES_PER_ELEMENT=e,i.prototype._getter=function(e){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(!((e=n.ToUint32(e))>=this.length)){for(var t=[],r=0,a=this.byteOffset+e*this.BYTES_PER_ELEMENT;r<this.BYTES_PER_ELEMENT;r+=1,a+=1)t.push(this.buffer._bytes[a]);return this._unpack(t)}},i.prototype.get=i.prototype._getter,i.prototype._setter=function(e,t){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if((e=n.ToUint32(e))<this.length){var r,a,o=this._pack(t);for(r=0,a=this.byteOffset+e*this.BYTES_PER_ELEMENT;r<this.BYTES_PER_ELEMENT;r+=1,a+=1)this.buffer._bytes[a]=o[r]}},i.prototype.set=function(e,t){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var r,a,o,i,u,s,c,d,p,h;if("object"===l(arguments[0])&&arguments[0].constructor===this.constructor){if(r=arguments[0],(o=n.ToUint32(arguments[1]))+r.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(d=this.byteOffset+o*this.BYTES_PER_ELEMENT,p=r.length*this.BYTES_PER_ELEMENT,r.buffer===this.buffer){for(h=[],u=0,s=r.byteOffset;u<p;u+=1,s+=1)h[u]=r.buffer._bytes[s];for(u=0,c=d;u<p;u+=1,c+=1)this.buffer._bytes[c]=h[u]}else for(u=0,s=r.byteOffset,c=d;u<p;u+=1,s+=1,c+=1)this.buffer._bytes[c]=r.buffer._bytes[s]}else{if("object"!==l(arguments[0])||void 0===arguments[0].length)throw new TypeError("Unexpected argument type(s)");if(a=arguments[0],i=n.ToUint32(a.length),(o=n.ToUint32(arguments[1]))+i>this.length)throw new RangeError("Offset plus length of array is out of range");for(u=0;u<i;u+=1)s=a[u],this._setter(o+u,Number(s))}},i.prototype.subarray=function(e,t){e=n.ToInt32(e),t=n.ToInt32(t),arguments.length<1&&(e=0),arguments.length<2&&(t=this.length),e<0&&(e=this.length+e),t<0&&(t=this.length+t),e=p(e,0,this.length);var r=(t=p(t,0,this.length))-e;return r<0&&(r=0),new this.constructor(this.buffer,this.byteOffset+e*this.BYTES_PER_ELEMENT,r)},i}e.ArrayBuffer=e.ArrayBuffer||t;var o=a(1,v,b),i=a(1,y,F),u=a(1,w,F),s=a(2,E,C),c=a(2,x,A),d=a(4,T,k),f=a(4,N,B),D=a(4,I,P),g=a(8,_,O);e.Int8Array=e.Int8Array||o,e.Uint8Array=e.Uint8Array||i,e.Uint8ClampedArray=e.Uint8ClampedArray||u,e.Int16Array=e.Int16Array||s,e.Uint16Array=e.Uint16Array||c,e.Int32Array=e.Int32Array||d,e.Uint32Array=e.Uint32Array||f,e.Float32Array=e.Float32Array||D,e.Float64Array=e.Float64Array||g}(),function(){function t(e,t){return n.IsCallable(e.get)?e.get(t):e[t]}var r,a=(r=new e.Uint16Array([4660]),18===t(new e.Uint8Array(r.buffer),0));function o(t,r,a){if(0===arguments.length)t=new e.ArrayBuffer(0);else if(!(t instanceof e.ArrayBuffer||"ArrayBuffer"===n.Class(t)))throw new TypeError("TypeError");if(this.buffer=t||new e.ArrayBuffer(0),this.byteOffset=n.ToUint32(r),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteLength=arguments.length<3?this.buffer.byteLength-this.byteOffset:n.ToUint32(a),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");m(this)}function i(r){return function(o,i){if((o=n.ToUint32(o))+r.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");o+=this.byteOffset;var u,s=new e.Uint8Array(this.buffer,o,r.BYTES_PER_ELEMENT),l=[];for(u=0;u<r.BYTES_PER_ELEMENT;u+=1)l.push(t(s,u));return Boolean(i)===Boolean(a)&&l.reverse(),t(new r(new e.Uint8Array(l).buffer),0)}}function u(r){return function(o,i,u){if((o=n.ToUint32(o))+r.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var s,l=new r([i]),c=new e.Uint8Array(l.buffer),d=[];for(s=0;s<r.BYTES_PER_ELEMENT;s+=1)d.push(t(c,s));Boolean(u)===Boolean(a)&&d.reverse(),new e.Uint8Array(this.buffer,o,r.BYTES_PER_ELEMENT).set(d)}}o.prototype.getUint8=i(e.Uint8Array),o.prototype.getInt8=i(e.Int8Array),o.prototype.getUint16=i(e.Uint16Array),o.prototype.getInt16=i(e.Int16Array),o.prototype.getUint32=i(e.Uint32Array),o.prototype.getInt32=i(e.Int32Array),o.prototype.getFloat32=i(e.Float32Array),o.prototype.getFloat64=i(e.Float64Array),o.prototype.setUint8=u(e.Uint8Array),o.prototype.setInt8=u(e.Int8Array),o.prototype.setUint16=u(e.Uint16Array),o.prototype.setInt16=u(e.Int16Array),o.prototype.setUint32=u(e.Uint32Array),o.prototype.setInt32=u(e.Int32Array),o.prototype.setFloat32=u(e.Float32Array),o.prototype.setFloat64=u(e.Float64Array),e.DataView=e.DataView||o}()}),Jt=pe(function(e){!function(e){"use strict";if(!e.WeakMap){var t=Object.prototype.hasOwnProperty,r=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(e){}}(),n=function(e,t,n){r?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:n}):e[t]=n};e.WeakMap=function(){function e(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id","_WeakMap_"+o()+"."+o()),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}function r(e,r){if(!a(e)||!t.call(e,"_id"))throw new TypeError(r+" method called on incompatible receiver "+l(e))}function o(){return Math.random().toString().substring(2)}return n(e.prototype,"delete",function(e){if(r(this,"delete"),!a(e))return!1;var t=e[this._id];return!(!t||t[0]!==e||(delete e[this._id],0))}),n(e.prototype,"get",function(e){if(r(this,"get"),a(e)){var t=e[this._id];return t&&t[0]===e?t[1]:void 0}}),n(e.prototype,"has",function(e){if(r(this,"has"),!a(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)}),n(e.prototype,"set",function(e,t){if(r(this,"set"),!a(e))throw new TypeError("Invalid value used as weak map key");var o=e[this._id];return o&&o[0]===e?(o[1]=t,this):(n(e,this._id,[e,t]),this)}),n(e,"_polyfill",!0),e}()}function a(e){return Object(e)===e}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:void 0!==i?i:void 0!==u?u:e)}),Qt=pe(function(e,t){"use strict";var r=function(e){return e&&e.Math===Math&&e};t.exports=r("object"==("undefined"==typeof globalThis?"undefined":l(globalThis))&&globalThis)||r("object"==(void 0===i?"undefined":l(i))&&i)||r("object"==("undefined"==typeof self?"undefined":l(self))&&self)||r("object"==(void 0===u?"undefined":l(u))&&u)||function(){return this}()||e||Function("return this")()}),er=pe(function(e,t){"use strict";t.exports=function(e){try{return!!e()}catch(e){return!0}}}),tr=pe(function(e,t){"use strict";var r=er();t.exports=!r(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})}),rr=pe(function(e,t){"use strict";var r=tr(),n=Function.prototype,a=n.apply,o=n.call;t.exports="object"==("undefined"==typeof Reflect?"undefined":l(Reflect))&&Reflect.apply||(r?o.bind(a):function(){return o.apply(a,arguments)})}),nr=pe(function(e,t){"use strict";var r=tr(),n=Function.prototype,a=n.call,o=r&&n.bind.bind(a,a);t.exports=r?o:function(e){return function(){return a.apply(e,arguments)}}}),ar=pe(function(e,t){"use strict";var r=nr(),n=r({}.toString),a=r("".slice);t.exports=function(e){return a(n(e),8,-1)}}),or=pe(function(e,t){"use strict";var r=ar(),n=nr();t.exports=function(e){if("Function"===r(e))return n(e)}}),ir=pe(function(e,t){"use strict";var r="object"==(void 0===s?"undefined":l(s))&&s.all,n=void 0===r&&void 0!==r;t.exports={all:r,IS_HTMLDDA:n}}),ur=pe(function(e,t){"use strict";var r=ir(),n=r.all;t.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}}),sr=pe(function(e,t){"use strict";var r=er();t.exports=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}),lr=pe(function(e,t){"use strict";var r=tr(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}}),cr=pe(function(e){"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:t}),dr=pe(function(e,t){"use strict";t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}}),pr=pe(function(e,t){"use strict";var r=nr(),n=er(),a=ar(),o=Object,i=r("".split);t.exports=n(function(){return!o("z").propertyIsEnumerable(0)})?function(e){return"String"===a(e)?i(e,""):o(e)}:o}),hr=pe(function(e,t){"use strict";t.exports=function(e){return null==e}}),fr=pe(function(e,t){"use strict";var r=hr(),n=TypeError;t.exports=function(e){if(r(e))throw new n("Can't call method on "+e);return e}}),mr=pe(function(e,t){"use strict";var r=pr(),n=fr();t.exports=function(e){return r(n(e))}}),Dr=pe(function(e,t){"use strict";var r=ur(),n=ir(),a=n.all;t.exports=n.IS_HTMLDDA?function(e){return"object"==l(e)?null!==e:r(e)||e===a}:function(e){return"object"==l(e)?null!==e:r(e)}}),gr=pe(function(e,t){"use strict";t.exports={}}),vr=pe(function(e,t){"use strict";var r=gr(),n=Qt(),a=ur(),o=function(e){return a(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?o(r[e])||o(n[e]):r[e]&&r[e][t]||n[e]&&n[e][t]}}),br=pe(function(e,t){"use strict";var r=nr();t.exports=r({}.isPrototypeOf)}),yr=pe(function(e,t){"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""}),Fr=pe(function(e,t){"use strict";var r,n,a=Qt(),o=yr(),i=a.process,u=a.Deno,s=i&&i.versions||u&&u.version,l=s&&s.v8;l&&(n=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(n=+r[1]),t.exports=n}),wr=pe(function(e,t){"use strict";var r=Fr(),n=er(),a=Qt().String;t.exports=!!Object.getOwnPropertySymbols&&!n(function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})}),Er=pe(function(e,t){"use strict";var r=wr();t.exports=r&&!Symbol.sham&&"symbol"==l(Symbol.iterator)}),Cr=pe(function(e,t){"use strict";var r=vr(),n=ur(),a=br(),o=Er(),i=Object;t.exports=o?function(e){return"symbol"==l(e)}:function(e){var t=r("Symbol");return n(t)&&a(t.prototype,i(e))}}),xr=pe(function(e,t){"use strict";var r=String;t.exports=function(e){try{return r(e)}catch(e){return"Object"}}}),Ar=pe(function(e,t){"use strict";var r=ur(),n=xr(),a=TypeError;t.exports=function(e){if(r(e))return e;throw new a(n(e)+" is not a function")}}),Tr=pe(function(e,t){"use strict";var r=Ar(),n=hr();t.exports=function(e,t){var a=e[t];return n(a)?void 0:r(a)}}),kr=pe(function(e,t){"use strict";var r=lr(),n=ur(),a=Dr(),o=TypeError;t.exports=function(e,t){var i,u;if("string"===t&&n(i=e.toString)&&!a(u=r(i,e)))return u;if(n(i=e.valueOf)&&!a(u=r(i,e)))return u;if("string"!==t&&n(i=e.toString)&&!a(u=r(i,e)))return u;throw new o("Can't convert object to primitive value")}}),Nr=pe(function(e,t){"use strict";t.exports=!0}),Br=pe(function(e,t){"use strict";var r=Qt(),n=Object.defineProperty;t.exports=function(e,t){try{n(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}}),Rr=pe(function(e,t){"use strict";var r=Qt(),n=Br(),a="__core-js_shared__",o=r[a]||n(a,{});t.exports=o}),Sr=pe(function(e,t){"use strict";var r=Nr(),n=Rr();(t.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"})}),Or=pe(function(e,t){"use strict";var r=fr(),n=Object;t.exports=function(e){return n(r(e))}}),_r=pe(function(e,t){"use strict";var r=nr(),n=Or(),a=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return a(n(e),t)}}),Pr=pe(function(e,t){"use strict";var r=nr(),n=0,a=Math.random(),o=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++n+a,36)}}),Ir=pe(function(e,t){"use strict";var r=Qt(),n=Sr(),a=_r(),o=Pr(),i=wr(),u=Er(),s=r.Symbol,l=n("wks"),c=u?s.for||s:s&&s.withoutSetter||o;t.exports=function(e){return a(l,e)||(l[e]=i&&a(s,e)?s[e]:c("Symbol."+e)),l[e]}}),Mr=pe(function(e,t){"use strict";var r=lr(),n=Dr(),a=Cr(),o=Tr(),i=kr(),u=Ir(),s=TypeError,l=u("toPrimitive");t.exports=function(e,t){if(!n(e)||a(e))return e;var u,c=o(e,l);if(c){if(void 0===t&&(t="default"),u=r(c,e,t),!n(u)||a(u))return u;throw new s("Can't convert object to primitive value")}return void 0===t&&(t="number"),i(e,t)}}),Lr=pe(function(e,t){"use strict";var r=Mr(),n=Cr();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}}),Vr=pe(function(e,t){"use strict";var r=Qt(),n=Dr(),a=r.document,o=n(a)&&n(a.createElement);t.exports=function(e){return o?a.createElement(e):{}}}),jr=pe(function(e,t){"use strict";var r=sr(),n=er(),a=Vr();t.exports=!r&&!n(function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a})}),qr=pe(function(e){"use strict";var t=sr(),r=lr(),n=cr(),a=dr(),o=mr(),i=Lr(),u=_r(),s=jr(),l=Object.getOwnPropertyDescriptor;e.f=t?l:function(e,t){if(e=o(e),t=i(t),s)try{return l(e,t)}catch(e){}if(u(e,t))return a(!r(n.f,e,t),e[t])}}),zr=pe(function(e,t){"use strict";var r=er(),n=ur(),a=/#|\.prototype\./,o=function(e,t){var a=u[i(e)];return a===l||a!==s&&(n(t)?r(t):!!t)},i=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},u=o.data={},s=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o}),$r=pe(function(e,t){"use strict";var r=or(),n=Ar(),a=tr(),o=r(r.bind);t.exports=function(e,t){return n(e),void 0===t?e:a?o(e,t):function(){return e.apply(t,arguments)}}}),Ur=pe(function(e,t){"use strict";var r=sr(),n=er();t.exports=r&&n(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}),Hr=pe(function(e,t){"use strict";var r=Dr(),n=String,a=TypeError;t.exports=function(e){if(r(e))return e;throw new a(n(e)+" is not an object")}}),Wr=pe(function(e){"use strict";var t=sr(),r=jr(),n=Ur(),a=Hr(),o=Lr(),i=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l="enumerable",c="configurable",d="writable";e.f=t?n?function(e,t,r){if(a(e),t=o(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&d in r&&!r[d]){var n=s(e,t);n&&n[d]&&(e[t]=r.value,r={configurable:c in r?r[c]:n[c],enumerable:l in r?r[l]:n[l],writable:!1})}return u(e,t,r)}:u:function(e,t,n){if(a(e),t=o(t),a(n),r)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new i("Accessors not supported");return"value"in n&&(e[t]=n.value),e}}),Gr=pe(function(e,t){"use strict";var r=sr(),n=Wr(),a=dr();t.exports=r?function(e,t,r){return n.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}}),Kr=pe(function(e,t){"use strict";var r=Qt(),n=rr(),a=or(),o=ur(),i=qr().f,u=zr(),s=gr(),c=$r(),d=Gr(),p=_r(),h=function(e){var t=function(r,a,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,a)}return new e(r,a,o)}return n(e,this,arguments)};return t.prototype=e.prototype,t};t.exports=function(e,t){var n,f,m,D,g,v,b,y,F,w=e.target,E=e.global,C=e.stat,x=e.proto,A=E?r:C?r[w]:(r[w]||{}).prototype,T=E?s:s[w]||d(s,w,{})[w],k=T.prototype;for(D in t)f=!(n=u(E?D:w+(C?".":"#")+D,e.forced))&&A&&p(A,D),v=T[D],f&&(b=e.dontCallGetSet?(F=i(A,D))&&F.value:A[D]),g=f&&b?b:t[D],f&&l(v)==l(g)||(y=e.bind&&f?c(g,r):e.wrap&&f?h(g):x&&o(g)?a(g):g,(e.sham||g&&g.sham||v&&v.sham)&&d(y,"sham",!0),d(T,D,y),x&&(p(s,m=w+"Prototype")||d(s,m,{}),d(s[m],D,g),e.real&&k&&(n||!k[D])&&d(k,D,g)))}}),Yr=pe(function(){"use strict";Kr()({target:"Object",stat:!0},{hasOwn:_r()})}),Zr=pe(function(e,t){"use strict";Yr();var r=gr();t.exports=r.Object.hasOwn}),Xr=pe(function(e,t){"use strict";var r=Zr();t.exports=r}),Jr=pe(function(e,t){"use strict";var r=Xr();t.exports=r}),Qr=pe(function(e,t){"use strict";var r=Sr(),n=Pr(),a=r("keys");t.exports=function(e){return a[e]||(a[e]=n(e))}}),en=pe(function(e,t){"use strict";var r=er();t.exports=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})}),tn=pe(function(e,t){"use strict";var r=_r(),n=ur(),a=Or(),o=Qr(),i=en(),u=o("IE_PROTO"),s=Object,l=s.prototype;t.exports=i?s.getPrototypeOf:function(e){var t=a(e);if(r(t,u))return t[u];var o=t.constructor;return n(o)&&t instanceof o?o.prototype:t instanceof s?l:null}}),rn=pe(function(e,t){"use strict";var r=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?n:r)(t)}}),nn=pe(function(e,t){"use strict";var r=rn();t.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}}),an=pe(function(e,t){"use strict";var r=nn(),n=Math.max,a=Math.min;t.exports=function(e,t){var o=r(e);return o<0?n(o+t,0):a(o,t)}}),on=pe(function(e,t){"use strict";var r=nn(),n=Math.min;t.exports=function(e){return e>0?n(r(e),9007199254740991):0}}),un=pe(function(e,t){"use strict";var r=on();t.exports=function(e){return r(e.length)}}),sn=pe(function(e,t){"use strict";var r=mr(),n=an(),a=un(),o=function(e){return function(t,o,i){var u,s=r(t),l=a(s),c=n(i,l);if(e&&o!=o){for(;l>c;)if((u=s[c++])!=u)return!0}else for(;l>c;c++)if((e||c in s)&&s[c]===o)return e||c||0;return!e&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}}),ln=pe(function(e,t){"use strict";t.exports={}}),cn=pe(function(e,t){"use strict";var r=nr(),n=_r(),a=mr(),o=sn().indexOf,i=ln(),u=r([].push);t.exports=function(e,t){var r,s=a(e),l=0,c=[];for(r in s)!n(i,r)&&n(s,r)&&u(c,r);for(;t.length>l;)n(s,r=t[l++])&&(~o(c,r)||u(c,r));return c}}),dn=pe(function(e,t){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),pn=pe(function(e,t){"use strict";var r=cn(),n=dn();t.exports=Object.keys||function(e){return r(e,n)}}),hn=pe(function(e,t){"use strict";var r=sr(),n=er(),a=nr(),o=tn(),i=pn(),u=mr(),s=a(cr().f),l=a([].push),c=r&&n(function(){var e=Object.create(null);return e[2]=2,!s(e,2)}),d=function(e){return function(t){for(var n,a=u(t),d=i(a),p=c&&null===o(a),h=d.length,f=0,m=[];h>f;)n=d[f++],r&&!(p?n in a:s(a,n))||l(m,e?[n,a[n]]:a[n]);return m}};t.exports={entries:d(!0),values:d(!1)}}),fn=pe(function(){"use strict";var e=Kr(),t=hn().values;e({target:"Object",stat:!0},{values:function(e){return t(e)}})}),mn=pe(function(e,t){"use strict";fn();var r=gr();t.exports=r.Object.values}),Dn=pe(function(e,t){"use strict";var r=mn();t.exports=r}),gn=pe(function(e,t){"use strict";var r=Dn();t.exports=r}),vn=pe(function(e,t){"use strict";var r={};r[Ir()("toStringTag")]="z",t.exports="[object z]"===String(r)}),bn=pe(function(e,t){"use strict";var r=vn(),n=ur(),a=ar(),o=Ir()("toStringTag"),i=Object,u="Arguments"===a(function(){return arguments}());t.exports=r?a:function(e){var t,r,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=i(e),o))?r:u?a(t):"Object"===(s=a(t))&&n(t.callee)?"Arguments":s}}),yn=pe(function(e,t){"use strict";var r=bn(),n=String;t.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return n(e)}}),Fn=pe(function(e,t){"use strict";var r=nr(),n=nn(),a=yn(),o=fr(),i=r("".charAt),u=r("".charCodeAt),s=r("".slice),l=function(e){return function(t,r){var l,c,d=a(o(t)),p=n(r),h=d.length;return p<0||p>=h?e?"":void 0:(l=u(d,p))<55296||l>56319||p+1===h||(c=u(d,p+1))<56320||c>57343?e?i(d,p):l:e?s(d,p,p+2):c-56320+(l-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}}),wn=pe(function(e,t){"use strict";var r=Qt(),n=ur(),a=r.WeakMap;t.exports=n(a)&&/native code/.test(String(a))}),En=pe(function(e,t){"use strict";var r,n,a,o,i,u=wn(),s=Qt(),l=Dr(),c=Gr(),d=_r(),p=Rr(),h=Qr(),f=ln(),m="Object already initialized",D=s.TypeError,g=s.WeakMap;u||p.state?((o=p.state||(p.state=new g)).get=o.get,o.has=o.has,o.set=o.set,r=function(e,t){if(o.has(e))throw new D(m);return t.facade=e,o.set(e,t),t},n=function(e){return o.get(e)||{}},a=function(e){return o.has(e)}):(f[i=h("state")]=!0,r=function(e,t){if(d(e,i))throw new D(m);return t.facade=e,c(e,i,t),t},n=function(e){return d(e,i)?e[i]:{}},a=function(e){return d(e,i)}),t.exports={set:r,get:n,has:a,enforce:function(e){return a(e)?n(e):r(e,{})},getterFor:function(e){return function(t){var r;if(!l(t)||(r=n(t)).type!==e)throw new D("Incompatible receiver, "+e+" required");return r}}}}),Cn=pe(function(e,t){"use strict";var r=sr(),n=_r(),a=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,i=n(a,"name"),u=i&&"something"===function(){}.name,s=i&&(!r||r&&o(a,"name").configurable);t.exports={EXISTS:i,PROPER:u,CONFIGURABLE:s}}),xn=pe(function(e){"use strict";var t=sr(),r=Ur(),n=Wr(),a=Hr(),o=mr(),i=pn();e.f=t&&!r?Object.defineProperties:function(e,t){a(e);for(var r,u=o(t),s=i(t),l=s.length,c=0;l>c;)n.f(e,r=s[c++],u[r]);return e}}),An=pe(function(e,t){"use strict";var r=vr();t.exports=r("document","documentElement")}),Tn=pe(function(e,t){"use strict";var r,n=Hr(),a=xn(),o=dn(),i=ln(),u=An(),l=Vr(),c=Qr(),d="prototype",p="script",h=c("IE_PROTO"),f=function(){},m=function(e){return"<"+p+">"+e+"</"+p+">"},D=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;g=void 0!==s?s.domain&&r?D(r):(t=l("iframe"),n="java"+p+":",t.style.display="none",u.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F):D(r);for(var a=o.length;a--;)delete g[d][o[a]];return g()};i[h]=!0,t.exports=Object.create||function(e,t){var r;return null!==e?(f[d]=n(e),r=new f,f[d]=null,r[h]=e):r=g(),void 0===t?r:a.f(r,t)}}),kn=pe(function(e,t){"use strict";var r=Gr();t.exports=function(e,t,n,a){return a&&a.enumerable?e[t]=n:r(e,t,n),e}}),Nn=pe(function(e,t){"use strict";var r,n,a,o=er(),i=ur(),u=Dr(),s=Tn(),l=tn(),c=kn(),d=Ir(),p=Nr(),h=d("iterator"),f=!1;[].keys&&("next"in(a=[].keys())?(n=l(l(a)))!==Object.prototype&&(r=n):f=!0),!u(r)||o(function(){var e={};return r[h].call(e)!==e})?r={}:p&&(r=s(r)),i(r[h])||c(r,h,function(){return this}),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}}),Bn=pe(function(e,t){"use strict";var r=vn(),n=bn();t.exports=r?{}.toString:function(){return"[object "+n(this)+"]"}}),Rn=pe(function(e,t){"use strict";var r=vn(),n=Wr().f,a=Gr(),o=_r(),i=Bn(),u=Ir()("toStringTag");t.exports=function(e,t,s,l){if(e){var c=s?e:e.prototype;o(c,u)||n(c,u,{configurable:!0,value:t}),l&&!r&&a(c,"toString",i)}}}),Sn=pe(function(e,t){"use strict";t.exports={}}),On=pe(function(e,t){"use strict";var r=Nn().IteratorPrototype,n=Tn(),a=dr(),o=Rn(),i=Sn(),u=function(){return this};t.exports=function(e,t,s,l){var c=t+" Iterator";return e.prototype=n(r,{next:a(+!l,s)}),o(e,c,!1,!0),i[c]=u,e}}),_n=pe(function(e,t){"use strict";var r=nr(),n=Ar();t.exports=function(e,t,a){try{return r(n(Object.getOwnPropertyDescriptor(e,t)[a]))}catch(e){}}}),Pn=pe(function(e,t){"use strict";var r=ur(),n=String,a=TypeError;t.exports=function(e){if("object"==l(e)||r(e))return e;throw new a("Can't set "+n(e)+" as a prototype")}}),In=pe(function(e,t){"use strict";var r=_n(),n=Hr(),a=Pn();t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,o={};try{(e=r(Object.prototype,"__proto__","set"))(o,[]),t=o instanceof Array}catch(e){}return function(r,o){return n(r),a(o),t?e(r,o):r.__proto__=o,r}}():void 0)}),Mn=pe(function(e,t){"use strict";var r=Kr(),n=lr(),a=Nr(),o=Cn(),i=ur(),u=On(),s=tn(),l=In(),c=Rn(),d=Gr(),p=kn(),h=Ir(),f=Sn(),m=Nn(),D=o.PROPER,g=o.CONFIGURABLE,v=m.IteratorPrototype,b=m.BUGGY_SAFARI_ITERATORS,y=h("iterator"),F="keys",w="values",E="entries",C=function(){return this};t.exports=function(e,t,o,h,m,x,A){u(o,t,h);var T,k,N,B=function(e){if(e===m&&P)return P;if(!b&&e&&e in O)return O[e];switch(e){case F:case w:case E:return function(){return new o(this,e)}}return function(){return new o(this)}},R=t+" Iterator",S=!1,O=e.prototype,_=O[y]||O["@@iterator"]||m&&O[m],P=!b&&_||B(m),I="Array"===t&&O.entries||_;if(I&&(T=s(I.call(new e)))!==Object.prototype&&T.next&&(a||s(T)===v||(l?l(T,v):i(T[y])||p(T,y,C)),c(T,R,!0,!0),a&&(f[R]=C)),D&&m===w&&_&&_.name!==w&&(!a&&g?d(O,"name",w):(S=!0,P=function(){return n(_,this)})),m)if(k={values:B(w),keys:x?P:B(F),entries:B(E)},A)for(N in k)(b||S||!(N in O))&&p(O,N,k[N]);else r({target:t,proto:!0,forced:b||S},k);return a&&!A||O[y]===P||p(O,y,P,{name:m}),f[t]=P,k}}),Ln=pe(function(e,t){"use strict";t.exports=function(e,t){return{value:e,done:t}}}),Vn=pe(function(){"use strict";var e=Fn().charAt,t=yn(),r=En(),n=Mn(),a=Ln(),o="String Iterator",i=r.set,u=r.getterFor(o);n(String,"String",function(e){i(this,{type:o,string:t(e),index:0})},function(){var t,r=u(this),n=r.string,o=r.index;return o>=n.length?a(void 0,!0):(t=e(n,o),r.index+=t.length,a(t,!1))})}),jn=pe(function(e,t){"use strict";var r=lr(),n=Hr(),a=Tr();t.exports=function(e,t,o){var i,u;n(e);try{if(!(i=a(e,"return"))){if("throw"===t)throw o;return o}i=r(i,e)}catch(e){u=!0,i=e}if("throw"===t)throw o;if(u)throw i;return n(i),o}}),qn=pe(function(e,t){"use strict";var r=Hr(),n=jn();t.exports=function(e,t,a,o){try{return o?t(r(a)[0],a[1]):t(a)}catch(t){n(e,"throw",t)}}}),zn=pe(function(e,t){"use strict";var r=Ir(),n=Sn(),a=r("iterator"),o=Array.prototype;t.exports=function(e){return void 0!==e&&(n.Array===e||o[a]===e)}}),$n=pe(function(e,t){"use strict";var r=nr(),n=ur(),a=Rr(),o=r(Function.toString);n(a.inspectSource)||(a.inspectSource=function(e){return o(e)}),t.exports=a.inspectSource}),Un=pe(function(e,t){"use strict";var r=nr(),n=er(),a=ur(),o=bn(),i=vr(),u=$n(),s=function(){},l=[],c=i("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=r(d.exec),h=!d.test(s),f=function(e){if(!a(e))return!1;try{return c(s,l,e),!0}catch(e){return!1}},m=function(e){if(!a(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(d,u(e))}catch(e){return!0}};m.sham=!0,t.exports=!c||n(function(){var e;return f(f.call)||!f(Object)||!f(function(){e=!0})||e})?m:f}),Hn=pe(function(e,t){"use strict";var r=Lr(),n=Wr(),a=dr();t.exports=function(e,t,o){var i=r(t);i in e?n.f(e,i,a(0,o)):e[i]=o}}),Wn=pe(function(e,t){"use strict";var r=bn(),n=Tr(),a=hr(),o=Sn(),i=Ir()("iterator");t.exports=function(e){if(!a(e))return n(e,i)||n(e,"@@iterator")||o[r(e)]}}),Gn=pe(function(e,t){"use strict";var r=lr(),n=Ar(),a=Hr(),o=xr(),i=Wn(),u=TypeError;t.exports=function(e,t){var s=arguments.length<2?i(e):t;if(n(s))return a(r(s,e));throw new u(o(e)+" is not iterable")}}),Kn=pe(function(e,t){"use strict";var r=$r(),n=lr(),a=Or(),o=qn(),i=zn(),u=Un(),s=un(),l=Hn(),c=Gn(),d=Wn(),p=Array;t.exports=function(e){var t=a(e),h=u(this),f=arguments.length,m=f>1?arguments[1]:void 0,D=void 0!==m;D&&(m=r(m,f>2?arguments[2]:void 0));var g,v,b,y,F,w,E=d(t),C=0;if(!E||this===p&&i(E))for(g=s(t),v=h?new this(g):p(g);g>C;C++)w=D?m(t[C],C):t[C],l(v,C,w);else for(F=(y=c(t,E)).next,v=h?new this:[];!(b=n(F,y)).done;C++)w=D?o(y,m,[b.value,C],!0):b.value,l(v,C,w);return v.length=C,v}}),Yn=pe(function(e,t){"use strict";var r,n,a=Ir()("iterator"),o=!1;try{r=0,(n={next:function(){return{done:!!r++}},return:function(){o=!0}})[a]=function(){return this},Array.from(n,function(){throw 2})}catch(e){}t.exports=function(e,t){try{if(!t&&!o)return!1}catch(e){return!1}var r=!1;try{var n={};n[a]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(e){}return r}}),Zn=pe(function(){"use strict";var e=Kr(),t=Kn();e({target:"Array",stat:!0,forced:!Yn()(function(e){Array.from(e)})},{from:t})}),Xn=pe(function(e,t){"use strict";Vn(),Zn();var r=gr();t.exports=r.Array.from}),Jn=pe(function(e,t){"use strict";var r=Xn();t.exports=r}),Qn=pe(function(e,t){"use strict";var r=Jn();t.exports=r}),ea=pe(function(e,t){!function(){"use strict";var n={name:"doT",version:"1.1.1",templateSettings:{evaluate:/\{\{([\s\S]+?(\}?)+)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,useParams:/(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,defineParams:/^\s*([\w$]+):([\s\S]+)/,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:!0,append:!0,selfcontained:!1,doNotSkipEncoded:!1},template:void 0,compile:void 0,log:!0};!function(){if("object"!==("undefined"==typeof globalThis?"undefined":l(globalThis)))try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch(e){i.globalThis=function(){if("undefined"!=typeof self)return self;if(void 0!==i)return i;if(void 0!==u)return u;if(void 0!==this)return this;throw new Error("Unable to locate global `this`")}()}}(),n.encodeHTMLSource=function(e){var t={"&":"&#38;","<":"&#60;",">":"&#62;",'"':"&#34;","'":"&#39;","/":"&#47;"},r=e?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(e){return e?e.toString().replace(r,function(e){return t[e]||e}):""}},void 0!==t&&t.exports?t.exports=n:void 0===(a=function(){return n}.call(e,r,e,t))||(t.exports=a);var o={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},s=/$^/;function c(e,t,r){return("string"==typeof t?t:t.toString()).replace(e.define||s,function(t,n,a,o){return 0===n.indexOf("def.")&&(n=n.substring(4)),n in r||(":"===a?(e.defineParams&&o.replace(e.defineParams,function(e,t,a){r[n]={arg:t,text:a}}),n in r||(r[n]=o)):new Function("def","def['"+n+"']="+o)(r)),""}).replace(e.use||s,function(t,n){e.useParams&&(n=n.replace(e.useParams,function(e,t,n,a){if(r[n]&&r[n].arg&&a){var o=(n+":"+a).replace(/'|\\/g,"_");return r.__exp=r.__exp||{},r.__exp[o]=r[n].text.replace(new RegExp("(^|[^\\w$])"+r[n].arg+"([^\\w$])","g"),"$1"+a+"$2"),t+"def.__exp['"+o+"']"}}));var a=new Function("def","return "+n)(r);return a?c(e,a,r):a})}function d(e){return e.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}n.template=function(e,t,r){var a,i,u=(t=t||n.templateSettings).append?o.append:o.split,l=0,p=t.use||t.define?c(t,e,r||{}):e;p=("var out='"+(t.strip?p.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):p).replace(/'|\\/g,"\\$&").replace(t.interpolate||s,function(e,t){return u.start+d(t)+u.end}).replace(t.encode||s,function(e,t){return a=!0,u.startencode+d(t)+u.end}).replace(t.conditional||s,function(e,t,r){return t?r?"';}else if("+d(r)+"){out+='":"';}else{out+='":r?"';if("+d(r)+"){out+='":"';}out+='"}).replace(t.iterate||s,function(e,t,r,n){return t?(l+=1,i=n||"i"+l,t=d(t),"';var arr"+l+"="+t+";if(arr"+l+"){var "+r+","+i+"=-1,l"+l+"=arr"+l+".length-1;while("+i+"<l"+l+"){"+r+"=arr"+l+"["+i+"+=1];out+='"):"';} } out+='"}).replace(t.evaluate||s,function(e,t){return"';"+d(t)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),a&&(t.selfcontained||!globalThis||globalThis._encodeHTML||(globalThis._encodeHTML=n.encodeHTMLSource(t.doNotSkipEncoded)),p="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+n.encodeHTMLSource.toString()+"("+(t.doNotSkipEncoded||"")+"));"+p);try{return new Function(t.varname,p)}catch(e){throw"undefined"!=typeof console&&console.log("Could not create a template function: "+p),e}},n.compile=function(e,t){return n.template(e,null,t)}}()}),ta={helpUrlBase:"https://dequeuniversity.com/rules/",gridSize:200,selectorSimilarFilterLimit:700,results:[],resultGroups:[],resultGroupMap:{},impact:Object.freeze(["minor","moderate","serious","critical"]),preload:Object.freeze({assets:["cssom","media"],timeout:1e4}),allOrigins:"<unsafe_all_origins>",sameOrigin:"<same_origin>"};[{name:"NA",value:"inapplicable",priority:0,group:"inapplicable"},{name:"PASS",value:"passed",priority:1,group:"passes"},{name:"CANTTELL",value:"cantTell",priority:2,group:"incomplete"},{name:"FAIL",value:"failed",priority:3,group:"violations"}].forEach(function(e){var t=e.name,r=e.value,n=e.priority,a=e.group;ta[t]=r,ta[t+"_PRIO"]=n,ta[t+"_GROUP"]=a,ta.results[n]=r,ta.resultGroups[n]=a,ta.resultGroupMap[r]=a}),Object.freeze(ta.results),Object.freeze(ta.resultGroups),Object.freeze(ta.resultGroupMap),Object.freeze(ta);var ra=ta,na=function(){"object"===("undefined"==typeof console?"undefined":l(console))&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},aa=/[\t\r\n\f]/g,oa=X(function e(){Y(this,e),this.parent=void 0},[{key:"props",get:function(){throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties')}},{key:"attrNames",get:function(){throw new Error('VirtualNode class must have an "attrNames" property')}},{key:"attr",value:function(){throw new Error('VirtualNode class must have an "attr" function')}},{key:"hasAttr",value:function(){throw new Error('VirtualNode class must have a "hasAttr" function')}},{key:"hasClass",value:function(e){var t=this.attr("class");if(!t)return!1;var r=" "+e+" ";return(" "+t+" ").replace(aa," ").indexOf(r)>=0}}]),ia={};he(ia,{DqElement:function(){return ao},aggregate:function(){return ua},aggregateChecks:function(){return ha},aggregateNodeResults:function(){return ma},aggregateResult:function(){return ga},areStylesSet:function(){return va},assert:function(){return ba},checkHelper:function(){return oo},clone:function(){return io},closest:function(){return Eo},collectResultsFromFrames:function(){return bi},contains:function(){return yi},convertSelector:function(){return yo},cssParser:function(){return lo},deepMerge:function(){return Fi},escapeSelector:function(){return Fa},extendMetaData:function(){return wi},filterHtmlAttrs:function(){return gm},finalizeRuleResult:function(){return fa},findBy:function(){return Di},getAllChecks:function(){return mi},getAncestry:function(){return Ya},getBaseLang:function(){return ef},getCheckMessage:function(){return cf},getCheckOption:function(){return df},getEnvironmentData:function(){return pf},getFlattenedTree:function(){return Xh},getFrameContexts:function(){return xf},getFriendlyUriEnd:function(){return xa},getNodeAttributes:function(){return Aa},getNodeFromTree:function(){return to},getPreloadConfig:function(){return dm},getRootNode:function(){return Ai},getRule:function(){return Af},getScroll:function(){return kf},getScrollState:function(){return Bf},getSelector:function(){return Wa},getSelectorData:function(){return ja},getShadowSelector:function(){return Ra},getStandards:function(){return Rf},getStyleSheetFactory:function(){return Of},getXpath:function(){return Xa},injectStyle:function(){return _f},isArrayLike:function(){return Pf},isContextObject:function(){return Lf},isContextProp:function(){return Vf},isContextSpec:function(){return Mf},isHidden:function(){return zf},isHtmlElement:function(){return $f},isLabelledFramesSelector:function(){return jf},isLabelledShadowDomSelector:function(){return qf},isNodeInContext:function(){return Uf},isShadowRoot:function(){return Ci},isValidLang:function(){return Nm},isXHTML:function(){return Ba},matchAncestry:function(){return Wf},matches:function(){return co},matchesExpression:function(){return wo},matchesSelector:function(){return Ta},memoize:function(){return Na},mergeResults:function(){return vi},nodeLookup:function(){return Kf},nodeSerializer:function(){return fi},nodeSorter:function(){return Gf},objectHasOwn:function(){return If},parseCrossOriginStylesheet:function(){return Xf},parseSameOriginStylesheet:function(){return Yf},parseStylesheet:function(){return Zf},parseTabindex:function(){return Jf},performanceTimer:function(){return Qf},pollyfillElementsFromPoint:function(){return em},preload:function(){return lm},preloadCssom:function(){return am},preloadMedia:function(){return sm},processMessage:function(){return lf},publishMetaData:function(){return pm},querySelectorAll:function(){return fm},querySelectorAllFilter:function(){return nm},queue:function(){return ko},respondable:function(){return ui},ruleShouldRun:function(){return Dm},select:function(){return bm},sendCommandToFrame:function(){return li},setScrollState:function(){return Fm},shadowSelect:function(){return wm},shadowSelectAll:function(){return Cm},shouldPreload:function(){return cm},toArray:function(){return ya},tokenList:function(){return Uh},uniqueArray:function(){return tm},uuid:function(){return Uo},validInputTypes:function(){return Am},validLangs:function(){return km}});var ua=function(e,t,r){t=t.slice(),r&&t.push(r);var n=t.map(function(t){return e.indexOf(t)}).sort();return e[n.pop()]},sa=ra.CANTTELL_PRIO,la=ra.FAIL_PRIO,ca=[];ca[ra.PASS_PRIO]=!0,ca[ra.CANTTELL_PRIO]=null,ca[ra.FAIL_PRIO]=!1;var da=["any","all","none"];function pa(e,t){return da.reduce(function(r,n){return r[n]=(e[n]||[]).map(function(e){return t(e,n)}),r},{})}var ha=function(e){var t=Object.assign({},e);pa(t,function(e,t){var r=void 0===e.result?-1:ca.indexOf(e.result);e.priority=-1!==r?r:ra.CANTTELL_PRIO,"none"===t&&(e.priority===ra.PASS_PRIO?e.priority=ra.FAIL_PRIO:e.priority===ra.FAIL_PRIO&&(e.priority=ra.PASS_PRIO))});var r={all:t.all.reduce(function(e,t){return Math.max(e,t.priority)},0),none:t.none.reduce(function(e,t){return Math.max(e,t.priority)},0),any:t.any.reduce(function(e,t){return Math.min(e,t.priority)},4)%4};t.priority=Math.max(r.all,r.none,r.any);var n=[];return da.forEach(function(e){t[e]=t[e].filter(function(n){return n.priority===t.priority&&n.priority===r[e]}),t[e].forEach(function(e){return n.push(e.impact)})}),[sa,la].includes(t.priority)?t.impact=ua(ra.impact,n):t.impact=null,pa(t,function(e){delete e.result,delete e.priority}),t.result=ra.results[t.priority],delete t.priority,t};function fa(e){var t=c._audit.rules.find(function(t){return t.id===e.id});return t&&t.impact&&e.nodes.forEach(function(e){["any","all","none"].forEach(function(r){(e[r]||[]).forEach(function(e){e.impact=t.impact})})}),Object.assign(e,ma(e.nodes)),delete e.nodes,e}var ma=function(e){var t={};if((e=e.map(function(e){if(e.any&&e.all&&e.none)return ha(e);if(Array.isArray(e.node))return fa(e);throw new TypeError("Invalid Result type")}))&&e.length){var r=e.map(function(e){return e.result});t.result=ua(ra.results,r,t.result)}else t.result="inapplicable";ra.resultGroups.forEach(function(e){return t[e]=[]}),e.forEach(function(e){var r=ra.resultGroupMap[e.result];t[r].push(e)});var n=ra.FAIL_GROUP;if(0===t[n].length&&(n=ra.CANTTELL_GROUP),t[n].length>0){var a=t[n].map(function(e){return e.impact});t.impact=ua(ra.impact,a)||null}else t.impact=null;return t};function Da(e,t,r){var n=Object.assign({},t);n.nodes=(n[r]||[]).concat(),ra.resultGroups.forEach(function(e){delete n[e]}),e[r].push(n)}var ga=function(e){var t={};return ra.resultGroups.forEach(function(e){return t[e]=[]}),e.forEach(function(e){e.error?Da(t,e,ra.CANTTELL_GROUP):e.result===ra.NA?Da(t,e,ra.NA_GROUP):ra.resultGroups.forEach(function(r){Array.isArray(e[r])&&e[r].length>0&&Da(t,e,r)})}),t},va=function e(t,r,n){var a=i.getComputedStyle(t,null);if(!a)return!1;for(var o=0;o<r.length;++o){var u=r[o];if(a.getPropertyValue(u.property)===u.value)return!0}return!(!t.parentNode||t.nodeName.toUpperCase()===n.toUpperCase())&&e(t.parentNode,r,n)},ba=function(e,t){if(!e)throw new Error(t)},ya=function(e){return Array.prototype.slice.call(e)},Fa=function(e){for(var t,r=String(e),n=r.length,a=-1,o="",i=r.charCodeAt(0);++a<n;)0!=(t=r.charCodeAt(a))?o+=t>=1&&t<=31||127==t||0==a&&t>=48&&t<=57||1==a&&t>=48&&t<=57&&45==i?"\\"+t.toString(16)+" ":0==a&&1==n&&45==t||!(t>=128||45==t||95==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122)?"\\"+r.charAt(a):r.charAt(a):o+="�";return o};function wa(e,t){return[e.substring(0,t),e.substring(t)]}function Ea(e){return e.replace(/\s+$/,"")}var Ca,xa=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e.length<=1||"data:"===e.substr(0,5)||"javascript:"===e.substr(0,11)||e.includes("?"))){var r=t.currentDomain,n=t.maxLength,a=void 0===n?25:n,o=function(e){var t=e,r="",n="",a="",o="",i="";if(e.includes("#")){var u=W(wa(e,e.indexOf("#")),2);e=u[0],i=u[1]}if(e.includes("?")){var s=W(wa(e,e.indexOf("?")),2);e=s[0],o=s[1]}if(e.includes("://")){var l=W(e.split("://"),2);r=l[0];var c=W(wa(e=l[1],e.indexOf("/")),2);n=c[0],e=c[1]}else if("//"===e.substr(0,2)){var d=W(wa(e=e.substr(2),e.indexOf("/")),2);n=d[0],e=d[1]}if("www."===n.substr(0,4)&&(n=n.substr(4)),n&&n.includes(":")){var p=W(wa(n,n.indexOf(":")),2);n=p[0],a=p[1]}return{original:t,protocol:r,domain:n,port:a,path:e,query:o,hash:i}}(e),i=o.path,u=o.domain,s=o.hash,l=i.substr(i.substr(0,i.length-2).lastIndexOf("/")+1);if(s)return l&&(l+s).length<=a?Ea(l+s):l.length<2&&s.length>2&&s.length<=a?Ea(s):void 0;if(u&&u.length<a&&i.length<=1)return Ea(u+i);if(i==="/"+l&&u&&r&&u!==r&&(u+i).length<=a)return Ea(u+i);var c=l.lastIndexOf(".");return(-1===c||c>1)&&(-1!==c||l.length>2)&&l.length<=a&&!l.match(/index(\.[a-zA-Z]{2-4})?/)&&!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return 0!==e.length&&(e.match(/[0-9]/g)||"").length>=e.length/2}(l)?Ea(l):void 0}},Aa=function(e){return e.attributes instanceof i.NamedNodeMap?e.attributes:e.cloneNode(!1).attributes},Ta=function(e,t){return Ca&&e[Ca]||(Ca=function(e){var t,r,n=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],a=n.length;for(t=0;t<a;t++)if(e[r=n[t]])return r}(e)),!!e[Ca]&&e[Ca](t)},ka=fe(Ht());c._memoizedFns=[];var Na=function(e){var t=(0,ka.default)(e);return c._memoizedFns.push(t),t},Ba=Na(function(e){return!(null==e||!e.createElement)&&"A"===e.createElement("A").localName});function Ra(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t)return"";var n=t.getRootNode&&t.getRootNode()||s;if(11!==n.nodeType)return e(t,r,n);for(var a=[];11===n.nodeType;){if(!n.host)return"";a.unshift({elm:t,doc:n}),n=(t=n.host).getRootNode()}return a.unshift({elm:t,doc:n}),a.map(function(t){return e(t.elm,r,t.doc)})}var Sa=["class","style","id","selected","checked","disabled","tabindex","aria-checked","aria-selected","aria-invalid","aria-activedescendant","aria-busy","aria-disabled","aria-expanded","aria-grabbed","aria-pressed","aria-valuenow","xmlns"],Oa=31,_a=/([\\"])/g,Pa=/(\r\n|\r|\n)/g;function Ia(e){return e.replace(_a,"\\$1").replace(Pa,"\\a ")}function Ma(e,t){var r,n=t.name;if(-1!==n.indexOf("href")||-1!==n.indexOf("src")){var a=xa(e.getAttribute(n));r=a?Fa(t.name)+'$="'+Ia(a)+'"':Fa(t.name)+'="'+Ia(e.getAttribute(n))+'"'}else r=Fa(n)+'="'+Ia(t.value)+'"';return r}function La(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function Va(e){return!Sa.includes(e.name)&&-1===e.name.indexOf(":")&&(!e.value||e.value.length<Oa)}function ja(e){for(var t={classes:{},tags:{},attributes:{}},r=(e=Array.isArray(e)?e:[e]).slice(),n=[],a=function(){var e=r.pop(),a=e.actualNode;if(a.querySelectorAll){var o=a.nodeName;t.tags[o]?t.tags[o]++:t.tags[o]=1,a.classList&&Array.from(a.classList).forEach(function(e){var r=Fa(e);t.classes[r]?t.classes[r]++:t.classes[r]=1}),a.hasAttributes()&&Array.from(Aa(a)).filter(Va).forEach(function(e){var r=Ma(a,e);r&&(t.attributes[r]?t.attributes[r]++:t.attributes[r]=1)})}for(e.children.length&&(n.push(r),r=e.children.slice());!r.length&&n.length;)r=n.pop()};r.length;)a();return t}function qa(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[];return r.find(function(r){return r!==e&&Ta(r,t)})?":nth-child("+(1+r.indexOf(e))+")":""}function za(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||s,r="#"+Fa(e.getAttribute("id")||"");return r.match(/player_uid_/)||1!==t.querySelectorAll(r).length?void 0:r}}function $a(e){var t=Ba(s);return Fa(t?e.localName:e.nodeName.toLowerCase())}function Ua(e,t){var r,n="",a=function(e,t){var r=[],n=t.classes,a=t.tags;return e.classList&&Array.from(e.classList).forEach(function(t){var o=Fa(t);n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"class"})}),r.sort(La)}(e,t),o=function(e,t){var r=[],n=t.attributes,a=t.tags;return e.hasAttributes()&&Array.from(Aa(e)).filter(Va).forEach(function(t){var o=Ma(e,t);o&&n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"attribute"})}),r.sort(La)}(e,t);return a.length&&1===a[0].count?r=[a[0]]:o.length&&1===o[0].count?(r=[o[0]],n=$a(e)):((r=a.concat(o)).sort(La),(r=r.slice(0,3)).some(function(e){return"class"===e.species})?r.sort(function(e,t){return e.species!==t.species&&"class"===e.species?-1:e.species===t.species?0:1}):n=$a(e)),n+r.reduce(function(e,t){switch(t.species){case"class":return e+"."+t.name;case"attribute":return e+"["+t.name+"]"}return e},"")}function Ha(e,t,r){if(!c._selectorData)throw new Error("Expect axe._selectorData to be set up");var n,a,o=t.toRoot,i=void 0!==o&&o;do{var u=za(e);u||(u=Ua(e,c._selectorData),u+=qa(e,u)),n=n?u+" > "+n:u,a=!a||a.length>ra.selectorSimilarFilterLimit?Ga(r,n):a.filter(function(e){return Ta(e,n)}),e=e.parentElement}while((a.length>1||i)&&e&&11!==e.nodeType);return 1===a.length?n:-1!==n.indexOf(" > ")?":root"+n.substring(n.indexOf(" > ")):":root"}var Wa=Na(function(e,t){return Ra(Ha,e,t)}),Ga=Na(function(e,t){return Array.from(e.querySelectorAll(t))});function Ka(e){var t=e.nodeName.toLowerCase(),r=e.parentElement,n=e.parentNode,a="";if("head"!==t&&"body"!==t&&(null==n?void 0:n.children.length)>1){var o=Array.prototype.indexOf.call(n.children,e)+1;a=":nth-child(".concat(o,")")}return r?Ka(r)+" > "+t+a:t+a}function Ya(e,t){return Ra(Ka,e,t)}function Za(e,t){var r,n;if(!e)return[];if(!t&&9===e.nodeType)return[{str:"html"}];if(t=t||[],e.parentNode&&e.parentNode!==e&&(t=Za(e.parentNode,t)),e.previousSibling){n=1,r=e.previousSibling;do{1===r.nodeType&&r.nodeName===e.nodeName&&n++,r=r.previousSibling}while(r);1===n&&(n=null)}else if(e.nextSibling){r=e.nextSibling;do{1===r.nodeType&&r.nodeName===e.nodeName?(n=1,r=null):(n=null,r=r.previousSibling)}while(r)}if(1===e.nodeType){var a={};a.str=e.nodeName.toLowerCase();var o=e.getAttribute&&Fa(e.getAttribute("id"));o&&1===e.ownerDocument.querySelectorAll("#"+o).length&&(a.id=e.getAttribute("id")),n>1&&(a.count=n),t.push(a)}return t}var Xa=function(e){return Za(e).reduce(function(e,t){return t.id?"/".concat(t.str,"[@id='").concat(t.id,"']"):e+"/".concat(t.str)+(t.count>0?"[".concat(t.count,"]"):"")},"")},Ja={},Qa={set:function(e,t){!function(e){ba("string"==typeof e,"key must be a string, "+l(e)+" given"),ba(""!==e,"key must not be empty")}(e),Ja[e]=t},get:function(e,t){if(function(e){ba("function"==typeof e||void 0===e,"creator must be a function or undefined, "+l(e)+" given")}(t),e in Ja)return Ja[e];if("function"==typeof t){var r=t();return ba(void 0!==r,"Cache creator function should not return undefined"),this.set(e,r),Ja[e]}},clear:function(){Ja={}}},eo=Qa,to=function(e,t){var r=t||e;return eo.get("nodeMap")?eo.get("nodeMap").get(r):null},ro="DqElm.RunOptions",no=Na(function(e,t,r){var n,a,o,u,s,l;return null!==(n=t)&&void 0!==n||(t=null),null!==(a=r)&&void 0!==a||(r={}),t||(t=null!==(s=eo.get(ro))&&void 0!==s?s:{}),this.spec=r,e instanceof oa?(this._virtualNode=e,this._element=e.actualNode):(this._element=e,this._virtualNode=to(e)),this.fromFrame=(null===(o=this.spec.selector)||void 0===o?void 0:o.length)>1,this._includeElementInJson=t.elementRef,t.absolutePaths&&(this._options={toRoot:!0}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:"number"==typeof(null===(u=this._virtualNode)||void 0===u?void 0:u.nodeIndex)&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,c._audit.noHtml||(this.source=null!==(l=this.spec.source)&&void 0!==l?l:function(e){if(null==e||!e.outerHTML)return"";var t=e.outerHTML;return t||"function"!=typeof i.XMLSerializer||(t=(new i.XMLSerializer).serializeToString(e)),function(e,t){if(t=t||300,e.length>t){var r=e.indexOf(">");e=e.substring(0,r+1)}return e}(t||"")}(this._element)),this});no.prototype={get selector(){return this.spec.selector||[Wa(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[Ya(this.element)]},get xpath(){return this.spec.xpath||[Xa(this.element)]},get element(){return this._element},toJSON:function(){var e={selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes,fromFrame:this.fromFrame};return this._includeElementInJson&&(e.element=this._element),e}},no.fromFrame=function(e,t,r){var n=no.mergeSpecs(e,r);return new no(r.element,t,n)},no.mergeSpecs=function(e,t){return H({},e,{selector:[].concat($(t.selector),$(e.selector)),ancestry:[].concat($(t.ancestry),$(e.ancestry)),xpath:[].concat($(t.xpath),$(e.xpath)),nodeIndexes:[].concat($(t.nodeIndexes),$(e.nodeIndexes)),fromFrame:!0})},no.setRunOptions=function(e){var t=e.elementRef,r=e.absolutePaths;eo.set(ro,{elementRef:t,absolutePaths:r})};var ao=no,oo=function(e,t,r,n){return{isAsync:!1,async:function(){return this.isAsync=!0,function(t){t instanceof Error==0?(e.result=t,r(e)):n(t)}},data:function(t){e.data=t},relatedNodes:function(t){i.Node&&(t=t instanceof i.Node||t instanceof oa?[t]:ya(t),e.relatedNodes=[],t.forEach(function(t){if(t instanceof oa&&(t=t.actualNode),t instanceof i.Node){var r=new ao(t);e.relatedNodes.push(r)}}))}}};function io(e){return uo(e,new Map)}function uo(e,t){var r,n;if(null===e||"object"!==l(e))return e;if(null!==(r=i)&&void 0!==r&&r.Node&&e instanceof i.Node||null!==(n=i)&&void 0!==n&&n.HTMLCollection&&e instanceof i.HTMLCollection||"nodeName"in e&&"nodeType"in e&&"ownerDocument"in e)return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){var a=[];return t.set(e,a),e.forEach(function(e){a.push(uo(e,t))}),a}var o={};for(var u in t.set(e,o),e)o[u]=uo(e[u],t);return o}var so=new(fe(Yt()).CssSelectorParser);so.registerSelectorPseudos("not"),so.registerSelectorPseudos("is"),so.registerNestingOperators(">"),so.registerAttrEqualityMods("^","$","*","~");var lo=so;function co(e,t){return yo(t).some(function(t){return wo(e,t)})}function po(e,t){return function(e,t){return 1===e.props.nodeType&&("*"===t.tag||e.props.nodeName===t.tag)}(e,t)&&function(e,t){return!t.classes||t.classes.every(function(t){return e.hasClass(t.value)})}(e,t)&&function(e,t){return!t.attributes||t.attributes.every(function(t){var r=e.attr(t.key);return null!==r&&t.test(r)})}(e,t)&&function(e,t){return!t.id||e.props.id===t.id}(e,t)&&(r=e,!((n=t).pseudos&&!n.pseudos.every(function(e){if("not"===e.name)return!e.expressions.some(function(e){return wo(r,e)});if("is"===e.name)return e.expressions.some(function(e){return wo(r,e)});throw new Error("the pseudo selector "+e.name+" has not yet been implemented")})));var r,n}var ho,fo=(ho=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,function(e){return e.replace(ho,"\\")}),mo=/\\/g;function Do(e){if(e)return e.map(function(e){var t,r,n=e.name.replace(mo,""),a=(e.value||"").replace(mo,"");switch(e.operator){case"^=":r=new RegExp("^"+fo(a));break;case"$=":r=new RegExp(fo(a)+"$");break;case"~=":r=new RegExp("(^|\\s)"+fo(a)+"(\\s|$)");break;case"|=":r=new RegExp("^"+fo(a)+"(-|$)");break;case"=":t=function(e){return a===e};break;case"*=":t=function(e){return e&&e.includes(a)};break;case"!=":t=function(e){return a!==e};break;default:t=function(e){return null!==e}}return""===a&&/^[*$^]=$/.test(e.operator)&&(t=function(){return!1}),t||(t=function(e){return e&&r.test(e)}),{key:n,value:a,type:void 0===e.value?"attrExist":"attrValue",test:t}})}function go(e){if(e)return e.map(function(e){return{value:e=e.replace(mo,""),regexp:new RegExp("(^|\\s)"+fo(e)+"(\\s|$)")}})}function vo(e){if(e)return e.map(function(e){var t;return["is","not"].includes(e.name)&&(t=bo(t=(t=e.value).selectors?t.selectors:[t])),{name:e.name,expressions:t,value:e.value}})}function bo(e){return e.map(function(e){for(var t=[],r=e.rule;r;)t.push({tag:r.tagName?r.tagName.toLowerCase():"*",combinator:r.nestingOperator?r.nestingOperator:" ",id:r.id,attributes:Do(r.attrs),classes:go(r.classNames),pseudos:vo(r.pseudos)}),r=r.rule;return t})}function yo(e){var t=lo.parse(e);return bo(t=t.selectors?t.selectors:[t])}function Fo(e,t,r,n){if(!e)return!1;for(var a=Array.isArray(t)?t[r]:t,o=po(e,a);!o&&n&&e.parent;)o=po(e=e.parent,a);if(r>0){if(!1===[" ",">"].includes(a.combinator))throw new Error("axe.utils.matchesExpression does not support the combinator: "+a.combinator);o=o&&Fo(e.parent,t,r-1," "===a.combinator)}return o}function wo(e,t,r){return Fo(e,t,t.length-1,r)}var Eo=function(e,t){for(;e;){if(co(e,t))return e;if(void 0===e.parent)throw new TypeError("Cannot resolve parent for non-DOM nodes");e=e.parent}return null};function Co(){}function xo(e){if("function"!=typeof e)throw new TypeError("Queue methods require functions as arguments")}var Ao,To,ko=function(){var e,t=[],r=0,n=0,a=Co,o=!1,i=function(t){e=t,setTimeout(function(){null!=e&&na("Uncaught error (of queue)",e)},1)},u=i;function s(e){return function(r){t[e]=r,(n-=1)||a===Co||(o=!0,a(t))}}function c(e){return a=Co,u(e),t}var d={defer:function(a){if("object"===l(a)&&a.then&&a.catch){var i=a;a=function(e,t){i.then(e).catch(t)}}if(xo(a),void 0===e){if(o)throw new Error("Queue already completed");return t.push(a),++n,function(){for(var e=t.length;r<e;r++){var n=t[r];try{n.call(null,s(r),c)}catch(e){c(e)}}}(),d}},then:function(r){if(xo(r),a!==Co)throw new Error("queue `then` already set");return e||(a=r,n||(o=!0,a(t))),d},catch:function(t){if(xo(t),u!==i)throw new Error("queue `catch` already set");return e?(t(e),e=null):u=t,d},abort:c};return d},No=i.crypto||i.msCrypto;if(!To&&No&&No.getRandomValues){var Bo=new Uint8Array(16);To=function(){return No.getRandomValues(Bo),Bo}}if(!To){var Ro=new Array(16);To=function(){for(var e,t=0;t<16;t++)3&t||(e=4294967296*Math.random()),Ro[t]=e>>>((3&t)<<3)&255;return Ro}}for(var So="function"==typeof i.Buffer?i.Buffer:Array,Oo=[],_o={},Po=0;Po<256;Po++)Oo[Po]=(Po+256).toString(16).substr(1),_o[Oo[Po]]=Po;function Io(e,t){var r=t||0,n=Oo;return n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]}var Mo=To(),Lo=[1|Mo[0],Mo[1],Mo[2],Mo[3],Mo[4],Mo[5]],Vo=16383&(Mo[6]<<8|Mo[7]),jo=0,qo=0;function zo(e,t,r){var n=t&&r||0,a=t||[],o=null!=(e=e||{}).clockseq?e.clockseq:Vo,i=null!=e.msecs?e.msecs:(new Date).getTime(),u=null!=e.nsecs?e.nsecs:qo+1,s=i-jo+(u-qo)/1e4;if(s<0&&null==e.clockseq&&(o=o+1&16383),(s<0||i>jo)&&null==e.nsecs&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");jo=i,qo=u,Vo=o;var l=(1e4*(268435455&(i+=122192928e5))+u)%4294967296;a[n++]=l>>>24&255,a[n++]=l>>>16&255,a[n++]=l>>>8&255,a[n++]=255&l;var c=i/4294967296*1e4&268435455;a[n++]=c>>>8&255,a[n++]=255&c,a[n++]=c>>>24&15|16,a[n++]=c>>>16&255,a[n++]=o>>>8|128,a[n++]=255&o;for(var d=e.node||Lo,p=0;p<6;p++)a[n+p]=d[p];return t||Io(a)}function $o(e,t,r){var n=t&&r||0;"string"==typeof e&&(t="binary"==e?new So(16):null,e=null);var a=(e=e||{}).random||(e.rng||To)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var o=0;o<16;o++)t[n+o]=a[o];return t||Io(a)}(Ao=$o).v1=zo,Ao.v4=$o,Ao.parse=function(e,t,r){var n=t&&r||0,a=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(e){a<16&&(t[n+a++]=_o[e])});a<16;)t[n+a++]=0;return t},Ao.unparse=Io,Ao.BufferClass=So,c._uuid=zo();var Uo=$o,Ho=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Wo(){var e="axeAPI",t="";return void 0!==c&&c._audit&&c._audit.application&&(e=c._audit.application),void 0!==c&&(t=c.version),e+"."+t}function Go(e){Yo(e),ba(i.parent===e,"Source of the response must be the parent window.")}function Ko(e){Yo(e),ba(e.parent===i,"Respondable target must be a frame in the current window")}function Yo(e){ba(i!==e,"Messages can not be sent to the same window.")}var Zo={},Xo=[];function Jo(){var e="".concat($o(),":").concat($o());return Xo.includes(e)?Jo():(Xo.push(e),e)}function Qo(e,t,r,n){if(r?Go(e):Ko(e),t.message instanceof Error&&!r)return c.log(t.message),!1;var a=function(e){var t=e.topic,r=e.channelId,n=e.message,a={channelId:r,topic:t,messageId:e.messageId,keepalive:!!e.keepalive,source:Wo()};return n instanceof Error?a.error={name:n.name,message:n.message,stack:n.stack}:a.payload=n,JSON.stringify(a)}(H({messageId:Jo()},t)),o=c._audit.allowedOrigins;return!(!o||!o.length||("function"==typeof n&&function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];ba(!Zo[e],"A replyHandler already exists for this message channel."),Zo[e]={replyHandler:t,sendToParent:r}}(t.channelId,n,r),o.forEach(function(t){try{e.postMessage(a,t)}catch(r){if(r instanceof e.DOMException)throw new Error('allowedOrigins value "'.concat(t,'" is not a valid origin'));throw r}}),0))}function ei(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(n,a,o){Qo(e,{channelId:t,message:n,keepalive:a},r,o)}}function ti(e,t){var r,n=e.origin,a=e.data,o=e.source;try{var u=function(e){var t,r,n,a,o;try{t=JSON.parse(e)}catch(e){return}if(null!==(u=t)&&"object"===l(u)&&"string"==typeof u.channelId&&u.source===Wo()){var u,s=t,c=s.topic,d=s.channelId,p=s.messageId,h=s.keepalive;return{topic:c,message:"object"===l(t.error)?(r=t.error,n=r.message||"Unknown error occurred",a=Ho.includes(r.name)?r.name:"Error",o=i[a]||Error,r.stack&&(n+="\n"+r.stack.replace(r.message,"")),new o(n)):t.payload,messageId:p,channelId:d,keepalive:!!h}}}(a)||{},s=u.channelId,d=u.message,p=u.messageId;if(!function(e){var t=c._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}(n)||(r=p,Xo.includes(r)||(Xo.push(r),0)))return;if(d instanceof Error&&o.parent!==i)return c.log(d),!1;try{if(u.topic){var h=ei(o,s);Go(o),t(u,h)}else!function(e,t){var r=t.channelId,n=t.message,a=t.keepalive,o=function(e){return Zo[e]}(r)||{},i=o.replyHandler,u=o.sendToParent;if(i){u?Go(e):Ko(e);var s=ei(e,r,u);!a&&r&&function(e){delete Zo[e]}(r);try{i(n,a,s)}catch(e){c.log(e),s(e,a)}}}(o,u)}catch(e){!function(e,t,r){if(!e.parent!==i)return c.log(t);try{Qo(e,{topic:null,channelId:r,message:t,messageId:Jo(),keepalive:!0},!0)}catch(e){return c.log(e)}}(o,e,s)}}catch(e){return c.log(e),!1}}var ri,ni,ai={open:function(e){if("function"==typeof i.addEventListener){var t=function(t){ti(t,e)};return i.addEventListener("message",t,!1),function(){i.removeEventListener("message",t,!1)}}},post:function(e,t,r){return"function"==typeof i.addEventListener&&Qo(e,t,!1,r)}};function oi(e){e.updateMessenger(ai)}var ii={};function ui(e,t,r,n,a){var o={topic:t,message:r,channelId:"".concat($o(),":").concat($o()),keepalive:n};return ni(e,o,a)}function si(e,t){var r=e.topic,n=e.message,a=e.keepalive,o=ii[r];if(o)try{o(n,a,t)}catch(e){c.log(e),t(e,a)}}function li(e,t,r,n){var a,o,i=e.contentWindow,u=null!==(a=null===(o=t.options)||void 0===o?void 0:o.pingWaitTime)&&void 0!==a?a:500;if(!i)return na("Frame does not have a content window",e),void r(null);if(0!==u){var s=setTimeout(function(){s=setTimeout(function(){t.debug?n(di("No response from frame",e)):r(null)},0)},u);ui(i,"axe.ping",null,void 0,function(){clearTimeout(s),ci(e,t,r,n)})}else ci(e,t,r,n)}function ci(e,t,r,n){var a,o,i=null!==(a=null===(o=t.options)||void 0===o?void 0:o.frameWaitTime)&&void 0!==a?a:6e4,u=e.contentWindow,s=setTimeout(function(){n(di("Axe in frame timed out",e))},i);ui(u,"axe.start",t,void 0,function(e){clearTimeout(s),e instanceof Error==0?r(e):n(e)})}function di(e,t){var r;return c._tree&&(r=Wa(t)),new Error(e+": "+(r||t))}ui.updateMessenger=function(e){var t=e.open,r=e.post;ba("function"==typeof t,"open callback must be a function"),ba("function"==typeof r,"post callback must be a function"),ri&&ri();var n=t(si);n?(ba("function"==typeof n,"open callback must return a cleanup function"),ri=n):ri=null,ni=r},ui.subscribe=function(e,t){ba("function"==typeof t,"Subscriber callback must be a function"),ba(!ii[e],"Topic ".concat(e," is already registered to.")),ii[e]=t},ui.isInFrame=function(){return!!(arguments.length>0&&void 0!==arguments[0]?arguments[0]:i).frameElement},oi(ui);var pi=null,hi={update:function(e){ba("object"===l(e),"serializer must be an object"),pi=e},toSpec:function(e){return hi.dqElmToSpec(new ao(e))},dqElmToSpec:function(e,t){var r;return e instanceof ao==0?e:(t&&(e=function(e,t){var r=e.fromFrame,n=t.ancestry,a=t.xpath,o=!1!==t.selectors||r;return(e=new ao(e.element,t,{source:e.source,nodeIndexes:e.nodeIndexes,selector:o?e.selector:[":root"],ancestry:n?e.ancestry:[":root"],xpath:a?e.xpath:"/"})).fromFrame=r,e}(e,t)),"function"==typeof(null===(r=pi)||void 0===r?void 0:r.toSpec)?pi.toSpec(e):e.toJSON())},mergeSpecs:function(e,t){var r;return"function"==typeof(null===(r=pi)||void 0===r?void 0:r.mergeSpecs)?pi.mergeSpecs(e,t):ao.mergeSpecs(e,t)},mapRawResults:function(e){return e.map(function(e){return H({},e,{nodes:hi.mapRawNodeResults(e.nodes)})})},mapRawNodeResults:function(e){return null==e?void 0:e.map(function(e){var t=e.node,r=z(e,p);r.node=hi.dqElmToSpec(t);for(var n=0,a=["any","all","none"];n<a.length;n++){var o=a[n];r[o]=r[o].map(function(e){var t=e.relatedNodes,r=z(e,h);return r.relatedNodes=t.map(hi.dqElmToSpec),r})}return r})}},fi=hi,mi=function(e){return[].concat(e.any||[]).concat(e.all||[]).concat(e.none||[])},Di=function(e,t,r){if(Array.isArray(e))return e.find(function(e){return null!==e&&"object"===l(e)&&Object.hasOwn(e,t)&&e[t]===r})};function gi(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Math.max(null==e?void 0:e.length,null==t?void 0:t.length),n=0;n<r;n++){var a=null==e?void 0:e[n],o=null==t?void 0:t[n];if("number"!=typeof a||isNaN(a))return 0===n?1:-1;if("number"!=typeof o||isNaN(o))return 0===n?-1:1;if(a!==o)return a-o}return 0}var vi=function(e,t){var r=[];return e.forEach(function(e){var t,n=(t=e)&&t.results?Array.isArray(t.results)?t.results.length?t.results:null:[t.results]:null;if(n&&n.length){var a=function(e){return e.frameElement?fi.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}(e);n.forEach(function(e){e.nodes&&a&&function(e,t,r){e.forEach(function(e){e.node=fi.mergeSpecs(e.node,r),mi(e).forEach(function(e){e.relatedNodes=e.relatedNodes.map(function(e){return fi.mergeSpecs(e,r)})})})}(e.nodes,0,a);var t=Di(r,"id",e.id);t?e.nodes.length&&function(e,t){for(var r,n=t[0].node,a=0;a<e.length;a++){var o=gi((r=e[a].node).nodeIndexes,n.nodeIndexes);if(o>0||0===o&&n.selector.length<r.selector.length)return void e.splice.apply(e,[a,0].concat($(t)))}e.push.apply(e,$(t))}(t.nodes,e.nodes):r.push(e)})}}),r.forEach(function(e){e.nodes&&e.nodes.sort(function(e,t){return gi(e.node.nodeIndexes,t.node.nodeIndexes)})}),r};function bi(e,t,r,n,a,o){t=H({},t,{elementRef:!1});var i=ko();e.frames.forEach(function(e){var a=e.node,o=z(e,f);i.defer(function(e,i){li(a,{options:t,command:r,parameter:n,context:o},function(t){return e(t?{results:t,frameElement:a}:null)},i)})}),i.then(function(e){a(vi(e,t))}).catch(o)}function yi(e,t){if(!e.shadowId&&!t.shadowId&&e.actualNode&&"function"==typeof e.actualNode.contains)return e.actualNode.contains(t.actualNode);do{if(e===t)return!0;if(t.nodeIndex<e.nodeIndex)return!1;t=t.parent}while(t);return!1}var Fi=function e(){for(var t={},r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return n.forEach(function(r){if(r&&"object"===l(r)&&!Array.isArray(r))for(var n=0,a=Object.keys(r);n<a.length;n++){var o=a[n];!t.hasOwnProperty(o)||"object"!==l(r[o])||Array.isArray(t[o])?t[o]=r[o]:t[o]=e(t[o],r[o])}}),t},wi=function(e,t){Object.assign(e,t),Object.keys(t).filter(function(e){return"function"==typeof t[e]}).forEach(function(r){e[r]=null;try{e[r]=t[r](e)}catch(e){}})},Ei=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"],Ci=function(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(Ei.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return!0}return!1},xi={};he(xi,{createGrid:function(){return Cu},findElmsInContext:function(){return ki},findNearbyElms:function(){return Ou},findUp:function(){return Bi},findUpVirtual:function(){return Ni},focusDisabled:function(){return ju},getComposedParent:function(){return Xi},getElementByReference:function(){return Uu},getElementCoordinates:function(){return Qi},getElementStack:function(){return Yu},getModalDialog:function(){return Pu},getOverflowHiddenAncestors:function(){return Oi},getRootNode:function(){return Ti},getScrollOffset:function(){return Ji},getTabbableElements:function(){return Zu},getTargetRects:function(){return es},getTargetSize:function(){return ts},getTextElementStack:function(){return Vl},getViewportSize:function(){return eu},getVisibleChildTextRects:function(){return Ml},hasContent:function(){return Hl},hasContentVirtual:function(){return Ul},hasLangText:function(){return Wl},idrefs:function(){return ns},insertedIntoFocusOrder:function(){return Gl},isCurrentPageLink:function(){return $u},isFocusable:function(){return Ju},isHTML5:function(){return Xl},isHiddenForEveryone:function(){return Ki},isHiddenWithCSS:function(){return Zl},isInTabOrder:function(){return Qu},isInTextBlock:function(){return rc},isInert:function(){return Iu},isModalOpen:function(){return nc},isMultiline:function(){return ac},isNativelyFocusable:function(){return Xu},isNode:function(){return oc},isOffscreen:function(){return tu},isOpaque:function(){return xh},isSkipLink:function(){return Ah},isVisible:function(){return Bh},isVisibleOnScreen:function(){return nu},isVisibleToScreenReaders:function(){return Qs},isVisualContent:function(){return ql},reduceToElementsBelowFloating:function(){return Rh},shadowElementsFromPoint:function(){return Ph},urlPropsFromAttribute:function(){return Vh},visuallyContains:function(){return Sh},visuallyOverlaps:function(){return jh},visuallySort:function(){return Hu}});var Ai=function(e){var t=e.getRootNode&&e.getRootNode()||s;return t===e&&(t=s),t},Ti=Ai,ki=function(e){var t,r=e.context,n=e.value,a=e.attr,o=e.elm,i=void 0===o?"":o,u=Fa(n);return t=9===r.nodeType||11===r.nodeType?r:Ti(r),Array.from(t.querySelectorAll(i+"["+a+"="+u+"]"))},Ni=function(e,t){var r;if(r=e.actualNode,!e.shadowId&&"function"==typeof e.actualNode.closest)return e.actualNode.closest(t)||null;do{(r=r.assignedSlot?r.assignedSlot:r.parentNode)&&11===r.nodeType&&(r=r.host)}while(r&&!Ta(r,t)&&r!==s.documentElement);return r&&Ta(r,t)?r:null},Bi=function(e,t){return Ni(to(e),t)};function Ri(e,t){return(0|e.left)<(0|t.right)&&(0|e.right)>(0|t.left)&&(0|e.top)<(0|t.bottom)&&(0|e.bottom)>(0|t.top)}var Si=Na(function(e){var t=[];return e?("hidden"===e.getComputedStylePropertyValue("overflow")&&t.push(e),t.concat(Si(e.parent))):t}),Oi=Si,_i=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Pi=/(\w+)\((\d+)/;function Ii(e){return["style","script","noscript","template"].includes(e.props.nodeName)}function Mi(e){return"area"!==e.props.nodeName&&"none"===e.getComputedStylePropertyValue("display")}function Li(e){return!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function Vi(e){return!!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&"hidden"===e.getComputedStylePropertyValue("content-visibility")}function ji(e){return"true"===e.attr("aria-hidden")}function qi(e){return"0"===e.getComputedStylePropertyValue("opacity")}function zi(e){var t=kf(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),n=parseInt(e.getComputedStylePropertyValue("width"));return!!t&&(0===r||0===n)}function $i(e){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var t=e.getComputedStylePropertyValue("position");if("fixed"===t)return!1;var r=Oi(e);if(!r.length)return!1;var n=e.boundingClientRect;return r.some(function(r){if("absolute"===t&&!function(e,t){for(var r=e.parent;r&&r!==t;){if(["relative","sticky"].includes(r.getComputedStylePropertyValue("position")))return!0;r=r.parent}return!1}(e,r)&&"static"===r.getComputedStylePropertyValue("position"))return!1;var a=r.boundingClientRect;return a.width<2||a.height<2||!Ri(n,a)})}function Ui(e){var t=e.getComputedStylePropertyValue("clip").match(_i),r=e.getComputedStylePropertyValue("clip-path").match(Pi);if(t&&5===t.length){var n=e.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],o=parseInt(r[2],10);switch(a){case"inset":return o>=50;case"circle":return 0===o}}return!1}function Hi(e,t){var r=Eo(e,"map");if(!r)return!0;var n=r.attr("name");if(!n)return!0;var a=Ai(e.actualNode);if(!a||9!==a.nodeType)return!0;var o=fm(c._tree,'img[usemap="#'.concat(Fa(n),'"]'));return!o||!o.length||o.some(function(e){return!t(e)})}function Wi(e){var t;return"details"===(null===(t=e.parent)||void 0===t?void 0:t.props.nodeName)&&(("summary"!==e.props.nodeName||e.parent.children.find(function(e){return"summary"===e.props.nodeName})!==e)&&!e.parent.hasAttr("open"))}var Gi=[Mi,Li,Vi,Wi];function Ki(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor,a=void 0!==n&&n;return e=Kf(e).vNode,r?Yi(e,a):Zi(e,a)}var Yi=Na(function(e,t){return!(!Ii(e)&&(!e.actualNode||!Gi.some(function(r){return r(e,{isAncestor:t})})&&e.actualNode.isConnected))}),Zi=Na(function(e,t){return!!Yi(e,t)||!!e.parent&&Zi(e.parent,!0)}),Xi=function e(t){if(t.assignedSlot)return e(t.assignedSlot);if(t.parentNode){var r=t.parentNode;if(1===r.nodeType)return r;if(r.host)return r.host}return null},Ji=function(e){if(!e.nodeType&&e.document&&(e=e.document),9===e.nodeType){var t=e.documentElement,r=e.body;return{left:t&&t.scrollLeft||r&&r.scrollLeft||0,top:t&&t.scrollTop||r&&r.scrollTop||0}}return{left:e.scrollLeft,top:e.scrollTop}},Qi=function(e){var t=Ji(s),r=t.left,n=t.top,a=e.getBoundingClientRect();return{top:a.top+n,right:a.right+r,bottom:a.bottom+n,left:a.left+r,width:a.right-a.left,height:a.bottom-a.top}},eu=function(e){var t=e.document,r=t.documentElement;if(e.innerWidth)return{width:e.innerWidth,height:e.innerHeight};if(r)return{width:r.clientWidth,height:r.clientHeight};var n=t.body;return{width:n.clientWidth,height:n.clientHeight}},tu=function(e){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var t=Kf(e).domNode;if(t){var r,n=s.documentElement,a=i.getComputedStyle(t),o=i.getComputedStyle(s.body||n).getPropertyValue("direction"),u=Qi(t);if(u.bottom<0&&(function(e,t){for(e=Xi(e);e&&"html"!==e.nodeName.toLowerCase();){if(e.scrollTop&&(t+=e.scrollTop)>=0)return!1;e=Xi(e)}return!0}(t,u.bottom)||"absolute"===a.position))return!0;if(0===u.left&&0===u.right)return!1;if("ltr"===o){if(u.right<=0)return!0}else if(r=Math.max(n.scrollWidth,eu(i).width),u.left>=r)return!0;return!1}},ru=[qi,zi,$i,Ui,tu];function nu(e){return e=Kf(e).vNode,au(e)}var au=Na(function(e,t){return e.actualNode&&"area"===e.props.nodeName?!Hi(e,au):!Ki(e,{skipAncestors:!0,isAncestor:t})&&(!e.actualNode||!ru.some(function(r){return r(e,{isAncestor:t})}))&&(!e.parent||au(e.parent,!0))});function ou(e,t){var r=Math.min(e.top,t.top),n=Math.max(e.right,t.right),a=Math.max(e.bottom,t.bottom),o=Math.min(e.left,t.left);return new i.DOMRect(o,r,n-o,a-r)}function iu(e,t){var r=e.x,n=e.y,a=t.top,o=t.right,i=t.bottom,u=t.left;return n>=a&&r<=o&&n<=i&&r>=u}var uu={};function su(e,t){var r=Math.max(e.left,t.left),n=Math.min(e.right,t.right),a=Math.max(e.top,t.top),o=Math.min(e.bottom,t.bottom);return r>=n||a>=o?null:new i.DOMRect(r,a,n-r,o-a)}function lu(e){var t=e.left,r=e.top,n=e.width,a=e.height;return new i.DOMPoint(t+n/2,r+a/2)}he(uu,{getBoundingRect:function(){return ou},getIntersectionRect:function(){return su},getOffset:function(){return pu},getRectCenter:function(){return lu},hasVisualOverlap:function(){return mu},isPointInRect:function(){return iu},rectHasMinimumSize:function(){return du},rectsOverlap:function(){return Ri},splitRects:function(){return Du}});var cu=.05;function du(e,t){var r=t.width,n=t.height;return r+cu>=e&&n+cu>=e}function pu(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:12,n=es(e),a=es(t);if(!n.length||!a.length)return null;var o,i=lu(n.reduce(ou)),u=1/0,s=Q(a);try{for(s.s();!(o=s.n()).done;){var l=o.value;if(iu(i,l))return 0;var c=fu(i,hu(i,l));u=Math.min(u,c)}}catch(e){s.e(e)}finally{s.f()}if(du(2*r,ts(t)))return u;var d=fu(i,lu(a.reduce(ou)))-r;return Math.max(0,Math.min(u,d))}function hu(e,t){return{x:e.x<t.left?t.left:e.x>t.right?t.right:e.x,y:e.y<t.top?t.top:e.y>t.bottom?t.bottom:e.y}}function fu(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function mu(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return!(r.left>=n.right||r.right<=n.left||r.top>=n.bottom||r.bottom<=n.top)&&Hu(e,t)>0}function Du(e,t){var r,n=[e],a=Q(t);try{var o=function(){var e=r.value;if((n=n.reduce(function(t,r){return t.concat(function(e,t){var r,n,a=e.top,o=e.left,i=e.bottom,u=e.right,s=a<t.bottom&&i>t.top,l=o<t.right&&u>t.left,c=[];if(gu(t.top,a,i)&&l&&c.push({top:a,left:o,bottom:t.top,right:u}),gu(t.right,o,u)&&s&&c.push({top:a,left:t.right,bottom:i,right:u}),gu(t.bottom,a,i)&&l&&c.push({top:t.bottom,right:u,bottom:i,left:o}),gu(t.left,o,u)&&s&&c.push({top:a,left:o,bottom:i,right:t.left}),0===c.length){if(n=t,(r=e).top>=n.top&&r.left>=n.left&&r.bottom<=n.bottom&&r.right<=n.right)return[];c.push(e)}return c.map(vu)}(r,e))},[])).length>4e3)throw new Error("splitRects: Too many rects")};for(a.s();!(r=a.n()).done;)o()}catch(e){a.e(e)}finally{a.f()}return n}var gu=function(e,t,r){return e>t&&e<r};function vu(e){return new i.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}var bu=0,yu=.1,Fu=.2,wu=.3,Eu=0;function Cu(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(eo.get("gridCreated")&&!r)return ra.gridSize;if(eo.set("gridCreated",!0),!r){var n,a=to(s.documentElement);if(a||(a=new $h(s.documentElement)),Eu=0,a._stackingOrder=[ku(bu,Eu++,null)],null!==(n=t)&&void 0!==n||(t=new Ru),Bu(t,a),kf(a.actualNode)){var o=new Ru(a);a._subGrid=o}}for(var u=s.createTreeWalker(e,i.NodeFilter.SHOW_ELEMENT,null,!1),l=r?u.nextNode():u.currentNode;l;){var d=to(l);d&&d.parent?r=d.parent:l.assignedSlot?r=to(l.assignedSlot):l.parentElement?r=to(l.parentElement):l.parentNode&&to(l.parentNode)&&(r=to(l.parentNode)),d||(d=new c.VirtualNode(l,r)),d._stackingOrder=Tu(d,r,Eu++);var p=Nu(d,r),h=p?p._subGrid:t;if(kf(d.actualNode)){var f=new Ru(d);d._subGrid=f}var m=d.boundingClientRect;0!==m.width&&0!==m.height&&nu(l)&&Bu(h,d),Ci(l)&&Cu(l.shadowRoot,h,d),l=u.nextNode()}return ra.gridSize}function xu(e,t){var r=e.getComputedStylePropertyValue("position"),n=e.getComputedStylePropertyValue("z-index");if("fixed"===r||"sticky"===r)return!0;if("auto"!==n&&"static"!==r)return!0;if("1"!==e.getComputedStylePropertyValue("opacity"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none"))return!0;var a=e.getComputedStylePropertyValue("mix-blend-mode");if(a&&"normal"!==a)return!0;var o=e.getComputedStylePropertyValue("filter");if(o&&"none"!==o)return!0;var i=e.getComputedStylePropertyValue("perspective");if(i&&"none"!==i)return!0;var u=e.getComputedStylePropertyValue("clip-path");if(u&&"none"!==u)return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none"))return!0;if("isolate"===e.getComputedStylePropertyValue("isolation"))return!0;var s=e.getComputedStylePropertyValue("will-change");if("transform"===s||"opacity"===s)return!0;if("touch"===e.getComputedStylePropertyValue("-webkit-overflow-scrolling"))return!0;var l=e.getComputedStylePropertyValue("contain");return!!["layout","paint","strict","content"].includes(l)||!("auto"===n||!Au(t))}function Au(e){if(!e)return!1;var t=e.getComputedStylePropertyValue("display");return["flex","inline-flex","grid","inline-grid"].includes(t)}function Tu(e,t,r){var n=t._stackingOrder.slice();if(xu(e,t)){var a=n.findIndex(function(e){var t=e.stackLevel;return[bu,Fu,wu].includes(t)});-1!==a&&n.splice(a,n.length-a)}var o=function(e,t){var r=function(e,t){return"static"!==e.getComputedStylePropertyValue("position")||Au(t)?e.getComputedStylePropertyValue("z-index"):"auto"}(e,t);return["auto","0"].includes(r)?"static"!==e.getComputedStylePropertyValue("position")?wu:"none"!==e.getComputedStylePropertyValue("float")?Fu:xu(e,t)?yu:null:parseInt(r)}(e,t);return null!==o&&n.push(ku(o,r,e)),n}function ku(e,t,r){return{stackLevel:e,treeOrder:t,vNode:r}}function Nu(e,t){for(var r=null,n=[e];t;){if(kf(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}n.push(t),t=to(t.actualNode.parentElement||t.actualNode.parentNode)}return n.forEach(function(e){return e._scrollRegionParent=r}),r}function Bu(e,t){var r=Oi(t);t.clientRects.forEach(function(n){var a,o=r.reduce(function(e,t){return e&&su(e,t.boundingClientRect)},n);if(o){null!==(a=t._grid)&&void 0!==a||(t._grid=e);var i=e.getGridPositionOfRect(o);e.loopGridPosition(i,function(e){e.includes(t)||e.push(t)})}})}var Ru=X(function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;Y(this,e),this.container=t,this.cells=[]},[{key:"toGridIndex",value:function(e){return Math.floor(e/ra.gridSize)}},{key:"getCellFromPoint",value:function(e){var t,r,n=e.x,a=e.y;ba(this.boundaries,"Grid does not have cells added");var o=this.toGridIndex(a),i=this.toGridIndex(n);ba(iu({y:o,x:i},this.boundaries),"Element midpoint exceeds the grid bounds");var u=null!==(t=this.cells[o-this.cells._negativeIndex])&&void 0!==t?t:[];return null!==(r=u[i-u._negativeIndex])&&void 0!==r?r:[]}},{key:"loopGridPosition",value:function(e,t){var r=e,n=r.left,a=r.right,o=r.top,i=r.bottom;this.boundaries&&(e=ou(this.boundaries,e)),this.boundaries=e,Su(this.cells,o,i,function(e,r){Su(e,n,a,function(e,n){t(e,{row:r,col:n})})})}},{key:"getGridPositionOfRect",value:function(e){var t=e.top,r=e.right,n=e.bottom,a=e.left,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t=this.toGridIndex(t-o),r=this.toGridIndex(r+o-1),n=this.toGridIndex(n+o-1),a=this.toGridIndex(a-o),new i.DOMRect(a,t,r-a,n-t)}}]);function Su(e,t,r,n){var a;if(null!==(a=e._negativeIndex)&&void 0!==a||(e._negativeIndex=0),t<e._negativeIndex){for(var o=0;o<e._negativeIndex-t;o++)e.splice(0,0,[]);e._negativeIndex=t}for(var i=t-e._negativeIndex,u=r-e._negativeIndex,s=i;s<=u;s++){var l,c;null!==(c=e[l=s])&&void 0!==c||(e[l]=[]),n(e[s],s+e._negativeIndex)}}function Ou(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(Cu(),null===(t=e._grid)||void 0===t||null===(t=t.cells)||void 0===t||!t.length)return[];var n=e.boundingClientRect,a=e._grid,o=_u(e),i=a.getGridPositionOfRect(n,r),u=[];return a.loopGridPosition(i,function(t){var r,n=Q(t);try{for(n.s();!(r=n.n()).done;){var a=r.value;a&&a!==e&&!u.includes(a)&&o===_u(a)&&u.push(a)}}catch(e){n.e(e)}finally{n.f()}}),u}var _u=Na(function(e){return!!e&&("fixed"===e.getComputedStylePropertyValue("position")||_u(e.parent))}),Pu=Na(function(){var e;if(!c._tree)return null;var t=nm(c._tree[0],"dialog[open]",function(e){var t=e.boundingClientRect;return s.elementsFromPoint(t.left+1,t.top+1).includes(e.actualNode)&&nu(e)});return t.length?t.find(function(e){var t=e.boundingClientRect;return s.elementsFromPoint(t.left-10,t.top-10).includes(e.actualNode)})||(null!==(e=t.find(function(e){var t,r=null!==(t=function(e){Cu();var t=c._tree[0]._grid,r=new i.DOMRect(0,0,i.innerWidth,i.innerHeight);if(t)for(var n=0;n<t.cells.length;n++){var a=t.cells[n];if(a)for(var o=0;o<a.length;o++){var u=a[o];if(u)for(var s=0;s<u.length;s++){var l=u[s],d=su(l.boundingClientRect,r);if("html"!==l.props.nodeName&&l!==e&&"none"!==l.getComputedStylePropertyValue("pointer-events")&&d)return{vNode:l,rect:d}}}}}(e))&&void 0!==t?t:{},n=r.vNode,a=r.rect;return!!n&&!s.elementsFromPoint(a.left+1,a.top+1).includes(n.actualNode)}))&&void 0!==e?e:null):null});function Iu(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor;return r?Mu(e,n):Lu(e,n)}var Mu=Na(function(e,t){if(e.hasAttr("inert"))return!0;if(!t&&e.actualNode){var r=Pu();if(r&&!yi(r,e))return!0}return!1}),Lu=Na(function(e,t){return!!Mu(e,t)||!!e.parent&&Lu(e.parent,!0)}),Vu=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"],ju=function(e){var t,r=Kf(e).vNode;if(t=r.props.nodeName,Vu.includes(t)&&r.hasAttr("disabled")||Iu(r))return!0;for(var n=r.parent,a=[],o=!1;n&&n.shadowId===r.shadowId&&!o&&(a.push(n),"legend"!==n.props.nodeName);){if(void 0!==n._inDisabledFieldset){o=n._inDisabledFieldset;break}"fieldset"===n.props.nodeName&&n.hasAttr("disabled")&&(o=!0),n=n.parent}return a.forEach(function(e){return e._inDisabledFieldset=o}),!!o||"area"!==r.props.nodeName&&!!r.actualNode&&Ki(r)},qu=/^\/\#/,zu=/^#[!/]/;function $u(e){var t,r=e.getAttribute("href");if(!r||"#"===r)return!1;if(qu.test(r))return!0;var n=e.hash,a=e.protocol,o=e.hostname,u=e.port,s=e.pathname;if(zu.test(n))return!1;if("#"===r.charAt(0))return!0;if("string"!=typeof(null===(t=i.location)||void 0===t?void 0:t.origin)||-1===i.location.origin.indexOf("://"))return null;var l,c=i.location.origin+i.location.pathname;return l=o?"".concat(a,"//").concat(o).concat(u?":".concat(u):""):i.location.origin,(l+=s?("/"!==s[0]?"/":"")+s:i.location.pathname)===c}var Uu=function(e,t){var r=e.getAttribute(t);if(!r)return null;if("href"===t&&!$u(e))return null;-1!==r.indexOf("#")&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var n=s.getElementById(r);return n||((n=s.getElementsByName(r)).length?n[0]:null)};function Hu(e,t){Cu();for(var r=Math.max(e._stackingOrder.length,t._stackingOrder.length),n=0;n<r;n++){if(void 0===t._stackingOrder[n])return-1;if(void 0===e._stackingOrder[n])return 1;if(t._stackingOrder[n].stackLevel>e._stackingOrder[n].stackLevel)return 1;if(t._stackingOrder[n].stackLevel<e._stackingOrder[n].stackLevel)return-1;if(t._stackingOrder[n].treeOrder!==e._stackingOrder[n].treeOrder)return t._stackingOrder[n].treeOrder-e._stackingOrder[n].treeOrder}var a=e.actualNode,o=t.actualNode;if(a.getRootNode&&a.getRootNode()!==o.getRootNode()){for(var u=[];a;)u.push({root:a.getRootNode(),node:a}),a=a.getRootNode().host;for(;o&&!u.find(function(e){return e.root===o.getRootNode()});)o=o.getRootNode().host;if((a=u.find(function(e){return e.root===o.getRootNode()}).node)===o)return e.actualNode.getRootNode()!==a.getRootNode()?-1:1}var s=i.Node,l=s.DOCUMENT_POSITION_FOLLOWING,c=s.DOCUMENT_POSITION_CONTAINS,d=s.DOCUMENT_POSITION_CONTAINED_BY,p=a.compareDocumentPosition(o),h=p&l?1:-1,f=p&c||p&d,m=Wu(e),D=Wu(t);return m===D||f?h:D-m}function Wu(e){return-1!==e.getComputedStylePropertyValue("display").indexOf("inline")?2:Gu(e)?1:0}function Gu(e){if(!e)return!1;if(void 0!==e._isFloated)return e._isFloated;if("none"!==e.getComputedStylePropertyValue("float"))return e._isFloated=!0,!0;var t=Gu(e.parent);return e._isFloated=t,t}function Ku(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=lu(t),a=e.getCellFromPoint(n)||[],o=Math.floor(n.x),i=Math.floor(n.y),u=a.filter(function(e){return e.clientRects.some(function(e){var t=e.left,r=e.top;return o<Math.floor(t+e.width)&&o>=Math.floor(t)&&i<Math.floor(r+e.height)&&i>=Math.floor(r)})}),l=e.container;return l&&(u=Ku(l._grid,l.boundingClientRect,!0).concat(u)),r||(u=u.sort(Hu).map(function(e){return e.actualNode}).concat(s.documentElement).filter(function(e,t,r){return r.indexOf(e)===t})),u}var Yu=function(e){Cu();var t=to(e),r=t._grid;return r?Ku(r,t.boundingClientRect):[]},Zu=function(e){return fm(e,"*").filter(function(e){var t=e.isFocusable,r=Jf(e.actualNode.getAttribute("tabindex"));return null!==r?t&&r>=0:t})},Xu=function(e){var t=Kf(e).vNode;if(!t||ju(t))return!1;switch(t.props.nodeName){case"a":case"area":if(t.hasAttr("href"))return!0;break;case"input":return"hidden"!==t.props.type;case"textarea":case"select":case"summary":case"button":return!0;case"details":return!fm(t,"summary").length}return!1};function Ju(e){var t=Kf(e).vNode;return!(1!==t.props.nodeType||ju(t)||!Xu(t)&&null===Jf(t.attr("tabindex")))}function Qu(e){var t=Kf(e).vNode;return 1===t.props.nodeType&&!(Jf(t.attr("tabindex"))<=-1)&&Ju(t)}var es=Na(function(e){var t=e.boundingClientRect,r=Ou(e).filter(function(t){return mu(e,t)&&"none"!==t.getComputedStylePropertyValue("pointer-events")&&!function(e,t){return yi(e,t)&&!Qu(t)}(e,t)});return r.length?Du(t,r.map(function(e){return e.boundingClientRect})):[t]}),ts=Na(function(e,t){return function(e,t){return e.reduce(function(e,r){var n=du(t,e);return n!==du(t,r)?n?e:r:e.width*e.height>r.width*r.height?e:r})}(es(e),t)}),rs={};he(rs,{accessibleText:function(){return as},accessibleTextVirtual:function(){return xl},autocomplete:function(){return Nl},formControlValue:function(){return hl},formControlValueMethods:function(){return dl},hasUnicode:function(){return El},isHumanInterpretable:function(){return kl},isIconLigature:function(){return Cl},isValidAutocomplete:function(){return Bl},label:function(){return _l},labelText:function(){return Dl},labelVirtual:function(){return Ol},nativeElementType:function(){return Pl},nativeTextAlternative:function(){return Fl},nativeTextMethods:function(){return yl},removeUnicode:function(){return Tl},sanitize:function(){return ws},subtreeText:function(){return ml},titleText:function(){return Ys},unsupported:function(){return Js},visible:function(){return Sl},visibleTextNodes:function(){return Il},visibleVirtual:function(){return tl}});var ns=function(e,t){e=e.actualNode||e;try{var r=Ti(e),n=[],a=e.getAttribute(t);if(a){a=Uh(a);for(var o=0;o<a.length;o++)n.push(r.getElementById(a[o]))}return n}catch(e){throw new TypeError("Cannot resolve id references for non-DOM nodes")}},as=function(e,t){return xl(to(e),t)},os=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Kf(e).vNode;return 1!==(null==r?void 0:r.props.nodeType)||1!==r.props.nodeType||t.inLabelledByContext||t.inControlContext||!r.attr("aria-labelledby")?"":ns(r,"aria-labelledby").filter(function(e){return e}).reduce(function(e,n){var a=as(n,H({inLabelledByContext:!0,startNode:t.startNode||r},t));return e?"".concat(e," ").concat(a):a},"")};function is(e){var t=Kf(e).vNode;return 1!==(null==t?void 0:t.props.nodeType)?"":t.attr("aria-label")||""}var us={"aria-activedescendant":{type:"idref",allowEmpty:!0},"aria-atomic":{type:"boolean",global:!0},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"]},"aria-braillelabel":{type:"string",allowEmpty:!0,global:!0},"aria-brailleroledescription":{type:"string",allowEmpty:!0,global:!0},"aria-busy":{type:"boolean",global:!0},"aria-checked":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-colcount":{type:"int",minValue:-1},"aria-colindex":{type:"int",minValue:1},"aria-colspan":{type:"int",minValue:1},"aria-controls":{type:"idrefs",allowEmpty:!0,global:!0},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],global:!0},"aria-describedby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-description":{type:"string",allowEmpty:!0,global:!0},"aria-details":{type:"idref",allowEmpty:!0,global:!0},"aria-disabled":{type:"boolean",global:!0},"aria-dropeffect":{type:"nmtokens",values:["copy","execute","link","move","none","popup"],global:!0},"aria-errormessage":{type:"idref",allowEmpty:!0,global:!0},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"idrefs",allowEmpty:!0,global:!0},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],global:!0},"aria-hidden":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-invalid":{type:"nmtoken",values:["grammar","false","spelling","true"],global:!0},"aria-keyshortcuts":{type:"string",allowEmpty:!0,global:!0},"aria-label":{type:"string",allowEmpty:!0,global:!0},"aria-labelledby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-level":{type:"int",minValue:1},"aria-live":{type:"nmtoken",values:["assertive","off","polite"],global:!0},"aria-modal":{type:"boolean"},"aria-multiline":{type:"boolean"},"aria-multiselectable":{type:"boolean"},"aria-orientation":{type:"nmtoken",values:["horizontal","undefined","vertical"]},"aria-owns":{type:"idrefs",allowEmpty:!0,global:!0},"aria-placeholder":{type:"string",allowEmpty:!0},"aria-posinset":{type:"int",minValue:1},"aria-pressed":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-readonly":{type:"boolean"},"aria-relevant":{type:"nmtokens",values:["additions","all","removals","text"],global:!0},"aria-required":{type:"boolean"},"aria-roledescription":{type:"string",allowEmpty:!0,global:!0},"aria-rowcount":{type:"int",minValue:-1},"aria-rowindex":{type:"int",minValue:1},"aria-rowspan":{type:"int",minValue:0},"aria-selected":{type:"nmtoken",values:["false","true","undefined"]},"aria-setsize":{type:"int",minValue:-1},"aria-sort":{type:"nmtoken",values:["ascending","descending","none","other"]},"aria-valuemax":{type:"decimal"},"aria-valuemin":{type:"decimal"},"aria-valuenow":{type:"decimal"},"aria-valuetext":{type:"string",allowEmpty:!0}},ss={alert:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},alertdialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["alert","dialog"],accessibleNameRequired:!0},application:{type:"landmark",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["structure"],accessibleNameRequired:!0},article:{type:"structure",allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["document"]},banner:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},blockquote:{type:"structure",superclassRole:["section"]},button:{type:"widget",allowedAttrs:["aria-expanded","aria-pressed"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},caption:{type:"structure",requiredContext:["figure","table","grid","treegrid"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},cell:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-expanded"],superclassRole:["section"],nameFromContent:!0},checkbox:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-readonly","aria-expanded","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},code:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},columnheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},combobox:{type:"widget",requiredAttrs:["aria-expanded","aria-controls"],allowedAttrs:["aria-owns","aria-autocomplete","aria-readonly","aria-required","aria-activedescendant","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},command:{type:"abstract",superclassRole:["widget"]},complementary:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},composite:{type:"abstract",superclassRole:["widget"]},contentinfo:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},comment:{type:"structure",allowedAttrs:["aria-level","aria-posinset","aria-setsize"],superclassRole:["article"]},definition:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},deletion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},dialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["window"],accessibleNameRequired:!0},directory:{type:"structure",deprecated:!0,allowedAttrs:["aria-expanded"],superclassRole:["list"],nameFromContent:!0},document:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["structure"]},emphasis:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},feed:{type:"structure",requiredOwned:["article"],allowedAttrs:["aria-expanded"],superclassRole:["list"]},figure:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},form:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},grid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-level","aria-multiselectable","aria-readonly","aria-activedescendant","aria-colcount","aria-expanded","aria-rowcount"],superclassRole:["composite","table"],accessibleNameRequired:!1},gridcell:{type:"widget",requiredContext:["row"],allowedAttrs:["aria-readonly","aria-required","aria-selected","aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan"],superclassRole:["cell","widget"],nameFromContent:!0},group:{type:"structure",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["section"]},heading:{type:"structure",requiredAttrs:["aria-level"],allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},img:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!0,childrenPresentational:!0},input:{type:"abstract",superclassRole:["widget"]},insertion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},landmark:{type:"abstract",superclassRole:["section"]},link:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},list:{type:"structure",requiredOwned:["listitem"],allowedAttrs:["aria-expanded"],superclassRole:["section"]},listbox:{type:"widget",requiredOwned:["group","option"],allowedAttrs:["aria-multiselectable","aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},listitem:{type:"structure",requiredContext:["list"],allowedAttrs:["aria-level","aria-posinset","aria-setsize","aria-expanded"],superclassRole:["section"],nameFromContent:!0},log:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},main:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},marquee:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},math:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],childrenPresentational:!0},menu:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"]},menubar:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["menu"]},menuitem:{type:"widget",requiredContext:["menu","menubar","group"],allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},menuitemcheckbox:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["checkbox","menuitem"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},menuitemradio:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["menuitemcheckbox","radio"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},meter:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},mark:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},navigation:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},none:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},note:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},option:{type:"widget",requiredContext:["group","listbox"],allowedAttrs:["aria-selected","aria-checked","aria-posinset","aria-setsize"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},paragraph:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},presentation:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},progressbar:{type:"widget",allowedAttrs:["aria-expanded","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},radio:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-posinset","aria-setsize","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},radiogroup:{type:"composite",allowedAttrs:["aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},range:{type:"abstract",superclassRole:["widget"]},region:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"],accessibleNameRequired:!1},roletype:{type:"abstract",superclassRole:[]},row:{type:"structure",requiredContext:["grid","rowgroup","table","treegrid"],requiredOwned:["cell","columnheader","gridcell","rowheader"],allowedAttrs:["aria-colindex","aria-level","aria-rowindex","aria-selected","aria-activedescendant","aria-expanded","aria-posinset","aria-setsize"],superclassRole:["group","widget"],nameFromContent:!0},rowgroup:{type:"structure",requiredContext:["grid","table","treegrid"],requiredOwned:["row"],superclassRole:["structure"],nameFromContent:!0},rowheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},scrollbar:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-controls","aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],childrenPresentational:!0},search:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},searchbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["textbox"],accessibleNameRequired:!0},section:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},sectionhead:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},select:{type:"abstract",superclassRole:["composite","group"]},separator:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-valuetext"],superclassRole:["structure","widget"],childrenPresentational:!0},slider:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-readonly","aria-required","aria-valuetext"],superclassRole:["input","range"],accessibleNameRequired:!0,childrenPresentational:!0},spinbutton:{type:"widget",allowedAttrs:["aria-valuemax","aria-valuemin","aria-readonly","aria-required","aria-activedescendant","aria-valuetext","aria-valuenow"],superclassRole:["composite","input","range"],accessibleNameRequired:!0},status:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},strong:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},structure:{type:"abstract",superclassRole:["roletype"]},subscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},superscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},switch:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-readonly","aria-required"],superclassRole:["checkbox"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},suggestion:{type:"structure",requiredOwned:["insertion","deletion"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},tab:{type:"widget",requiredContext:["tablist"],allowedAttrs:["aria-posinset","aria-selected","aria-setsize","aria-expanded"],superclassRole:["sectionhead","widget"],nameFromContent:!0,childrenPresentational:!0},table:{type:"structure",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-colcount","aria-rowcount","aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1,nameFromContent:!0},tablist:{type:"composite",requiredOwned:["tab"],allowedAttrs:["aria-level","aria-multiselectable","aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["composite"]},tabpanel:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1},term:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},text:{type:"structure",superclassRole:["section"],nameFromContent:!0},textbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["input"],accessibleNameRequired:!0},time:{type:"structure",superclassRole:["section"]},timer:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["status"]},toolbar:{type:"structure",allowedAttrs:["aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["group"],accessibleNameRequired:!0},tooltip:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},tree:{type:"composite",requiredOwned:["group","treeitem"],allowedAttrs:["aria-multiselectable","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},treegrid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-readonly","aria-required","aria-rowcount"],superclassRole:["grid","tree"],accessibleNameRequired:!1},treeitem:{type:"widget",requiredContext:["group","tree"],allowedAttrs:["aria-checked","aria-expanded","aria-level","aria-posinset","aria-selected","aria-setsize"],superclassRole:["listitem","option"],accessibleNameRequired:!0,nameFromContent:!0},widget:{type:"abstract",superclassRole:["roletype"]},window:{type:"abstract",superclassRole:["roletype"]}},ls={ariaAttrs:us,ariaRoles:H({},ss,{"doc-abstract":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-acknowledgments":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-afterword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-appendix":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-backlink":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-biblioentry":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-bibliography":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-biblioref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-chapter":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-colophon":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-conclusion":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-cover":{type:"img",allowedAttrs:["aria-expanded"],superclassRole:["img"]},"doc-credit":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-credits":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-dedication":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-endnote":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-endnotes":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-epigraph":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-epilogue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-errata":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-example":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-footnote":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-foreword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossary":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-index":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-introduction":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-noteref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-notice":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-pagebreak":{type:"separator",allowedAttrs:["aria-expanded","aria-orientation"],superclassRole:["separator"],childrenPresentational:!0},"doc-pagelist":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-part":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-preface":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-prologue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-pullquote":{type:"none",superclassRole:["none"]},"doc-qna":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-subtitle":{type:"sectionhead",allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"]},"doc-tip":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-toc":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]}},{"graphics-document":{type:"structure",superclassRole:["document"],accessibleNameRequired:!0},"graphics-object":{type:"structure",superclassRole:["group"],nameFromContent:!0},"graphics-symbol":{type:"structure",superclassRole:["img"],accessibleNameRequired:!0,childrenPresentational:!0}}),htmlElms:{a:{variant:{href:{matches:"[href]",contentTypes:["interactive","phrasing","flow"],allowedRoles:["button","checkbox","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab","treeitem","doc-backlink","doc-biblioref","doc-glossref","doc-noteref"],namingMethods:["subtreeText"]},default:{contentTypes:["phrasing","flow"],allowedRoles:!0}}},abbr:{contentTypes:["phrasing","flow"],allowedRoles:!0},address:{contentTypes:["flow"],allowedRoles:!0},area:{variant:{href:{matches:"[href]",allowedRoles:!1},default:{allowedRoles:["button","link"]}},contentTypes:["phrasing","flow"],namingMethods:["altText"]},article:{contentTypes:["sectioning","flow"],allowedRoles:["feed","presentation","none","document","application","main","region"],shadowRoot:!0},aside:{contentTypes:["sectioning","flow"],allowedRoles:["feed","note","presentation","none","region","search","doc-dedication","doc-example","doc-footnote","doc-glossary","doc-pullquote","doc-tip"]},audio:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"Audio"},b:{contentTypes:["phrasing","flow"],allowedRoles:!0},base:{allowedRoles:!1,noAriaAttrs:!0},bdi:{contentTypes:["phrasing","flow"],allowedRoles:!0},bdo:{contentTypes:["phrasing","flow"],allowedRoles:!0},blockquote:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},body:{allowedRoles:!1,shadowRoot:!0},br:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],namingMethods:["titleText","singleSpace"]},button:{contentTypes:["interactive","phrasing","flow"],allowedRoles:["checkbox","combobox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","separator","slider","switch","tab","treeitem"],namingMethods:["subtreeText"]},canvas:{allowedRoles:!0,contentTypes:["embedded","phrasing","flow"],chromiumRole:"Canvas"},caption:{allowedRoles:!1},cite:{contentTypes:["phrasing","flow"],allowedRoles:!0},code:{contentTypes:["phrasing","flow"],allowedRoles:!0},col:{allowedRoles:!1,noAriaAttrs:!0},colgroup:{allowedRoles:!1,noAriaAttrs:!0},data:{contentTypes:["phrasing","flow"],allowedRoles:!0},datalist:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0,implicitAttrs:{"aria-multiselectable":"false"}},dd:{allowedRoles:!1},del:{contentTypes:["phrasing","flow"],allowedRoles:!0},dfn:{contentTypes:["phrasing","flow"],allowedRoles:!0},details:{contentTypes:["interactive","flow"],allowedRoles:!1},dialog:{contentTypes:["flow"],allowedRoles:["alertdialog"]},div:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},dl:{contentTypes:["flow"],allowedRoles:["group","list","presentation","none"],chromiumRole:"DescriptionList"},dt:{allowedRoles:["listitem"]},em:{contentTypes:["phrasing","flow"],allowedRoles:!0},embed:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","presentation","none"],chromiumRole:"EmbeddedObject"},fieldset:{contentTypes:["flow"],allowedRoles:["none","presentation","radiogroup"],namingMethods:["fieldsetLegendText"]},figcaption:{allowedRoles:["group","none","presentation"]},figure:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["figureText","titleText"]},footer:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},form:{contentTypes:["flow"],allowedRoles:["form","search","none","presentation"]},h1:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"1"}},h2:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"2"}},h3:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"3"}},h4:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"4"}},h5:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"5"}},h6:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"6"}},head:{allowedRoles:!1,noAriaAttrs:!0},header:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},hgroup:{contentTypes:["heading","flow"],allowedRoles:!0},hr:{contentTypes:["flow"],allowedRoles:["none","presentation","doc-pagebreak"],namingMethods:["titleText","singleSpace"]},html:{allowedRoles:!1,noAriaAttrs:!0},i:{contentTypes:["phrasing","flow"],allowedRoles:!0},iframe:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","none","presentation"],chromiumRole:"Iframe"},img:{variant:{nonEmptyAlt:{matches:[{attributes:{alt:"/.+/"}},{hasAccessibleName:!0}],allowedRoles:["button","checkbox","link","math","menuitem","menuitemcheckbox","menuitemradio","meter","option","progressbar","radio","scrollbar","separator","slider","switch","tab","treeitem","doc-cover"]},usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","flow"]},default:{allowedRoles:["presentation","none"],contentTypes:["embedded","flow"]}},namingMethods:["altText"]},input:{variant:{button:{matches:{properties:{type:"button"}},allowedRoles:["checkbox","combobox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"]},buttonType:{matches:{properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},checkboxPressed:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":"/.*/"}},allowedRoles:["button","menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},checkbox:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":null}},allowedRoles:["menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},noRoles:{matches:{properties:{type:["color","date","datetime-local","file","month","number","password","range","reset","submit","time","week"]}},allowedRoles:!1},hidden:{matches:{properties:{type:"hidden"}},contentTypes:["flow"],allowedRoles:!1,noAriaAttrs:!0},image:{matches:{properties:{type:"image"}},allowedRoles:["link","menuitem","menuitemcheckbox","menuitemradio","radio","switch"],namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},radio:{matches:{properties:{type:"radio"}},allowedRoles:["menuitemradio"],implicitAttrs:{"aria-checked":"false"}},textWithList:{matches:{properties:{type:"text"},attributes:{list:"/.*/"}},allowedRoles:!1},default:{contentTypes:["interactive","flow"],allowedRoles:["combobox","searchbox","spinbutton"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText","placeholderText"]}}},ins:{contentTypes:["phrasing","flow"],allowedRoles:!0},kbd:{contentTypes:["phrasing","flow"],allowedRoles:!0},label:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,chromiumRole:"Label"},legend:{allowedRoles:!1},li:{allowedRoles:["menuitem","menuitemcheckbox","menuitemradio","option","none","presentation","radio","separator","tab","treeitem","doc-biblioentry","doc-endnote"],implicitAttrs:{"aria-setsize":"1","aria-posinset":"1"}},link:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},main:{contentTypes:["flow"],allowedRoles:!1,shadowRoot:!0},map:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},math:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!1},mark:{contentTypes:["phrasing","flow"],allowedRoles:!0},menu:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},meta:{variant:{itemprop:{matches:"[itemprop]",contentTypes:["phrasing","flow"]}},allowedRoles:!1,noAriaAttrs:!0},meter:{contentTypes:["phrasing","flow"],allowedRoles:!1,chromiumRole:"progressbar"},nav:{contentTypes:["sectioning","flow"],allowedRoles:["doc-index","doc-pagelist","doc-toc","menu","menubar","none","presentation","tablist"],shadowRoot:!0},noscript:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},object:{variant:{usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application","document","img"],chromiumRole:"PluginObject"},ol:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},optgroup:{allowedRoles:!1},option:{allowedRoles:!1,implicitAttrs:{"aria-selected":"false"}},output:{contentTypes:["phrasing","flow"],allowedRoles:!0,namingMethods:["subtreeText"]},p:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},param:{allowedRoles:!1,noAriaAttrs:!0},picture:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},pre:{contentTypes:["flow"],allowedRoles:!0},progress:{contentTypes:["phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":"0"}},q:{contentTypes:["phrasing","flow"],allowedRoles:!0},rp:{allowedRoles:!0},rt:{allowedRoles:!0},ruby:{contentTypes:["phrasing","flow"],allowedRoles:!0},s:{contentTypes:["phrasing","flow"],allowedRoles:!0},samp:{contentTypes:["phrasing","flow"],allowedRoles:!0},script:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},search:{contentTypes:["flow"],allowedRoles:["form","group","none","presentation","region","search"]},section:{contentTypes:["sectioning","flow"],allowedRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","document","feed","group","log","main","marquee","navigation","none","note","presentation","search","status","tabpanel","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-bibliography","doc-chapter","doc-colophon","doc-conclusion","doc-credit","doc-credits","doc-dedication","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-foreword","doc-glossary","doc-index","doc-introduction","doc-notice","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-toc"],shadowRoot:!0},select:{variant:{combobox:{matches:{attributes:{multiple:null,size:[null,"1"]}},allowedRoles:["menu"]},default:{allowedRoles:!1}},contentTypes:["interactive","phrasing","flow"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText"]},slot:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},small:{contentTypes:["phrasing","flow"],allowedRoles:!0},source:{allowedRoles:!1,noAriaAttrs:!0},span:{contentTypes:["phrasing","flow"],allowedRoles:!0,shadowRoot:!0},strong:{contentTypes:["phrasing","flow"],allowedRoles:!0},style:{allowedRoles:!1,noAriaAttrs:!0},svg:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!0,chromiumRole:"SVGRoot",namingMethods:["svgTitleText"]},sub:{contentTypes:["phrasing","flow"],allowedRoles:!0},summary:{allowedRoles:!1,namingMethods:["subtreeText"]},sup:{contentTypes:["phrasing","flow"],allowedRoles:!0},table:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["tableCaptionText","tableSummaryText"]},tbody:{allowedRoles:!0},template:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},textarea:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuenow":"","aria-multiline":"true"},namingMethods:["labelText","placeholderText"]},tfoot:{allowedRoles:!0},thead:{allowedRoles:!0},time:{contentTypes:["phrasing","flow"],allowedRoles:!0},title:{allowedRoles:!1,noAriaAttrs:!0},td:{allowedRoles:!0},th:{allowedRoles:!0},tr:{allowedRoles:!0},track:{allowedRoles:!1,noAriaAttrs:!0},u:{contentTypes:["phrasing","flow"],allowedRoles:!0},ul:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},var:{contentTypes:["phrasing","flow"],allowedRoles:!0},video:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"video"},wbr:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"]}},cssColors:{aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},cs=H({},ls),ds=cs,ps=function(e){var t=ds.ariaRoles[e];return!!t&&!!t.unsupported},hs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.allowAbstract,n=t.flagUnsupported,a=void 0!==n&&n,o=ds.ariaRoles[e],i=ps(e);return!(!o||a&&i||!r&&"abstract"===o.type)},fs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.fallback,n=t.abstracts,a=t.dpub;if(1!==(e=e instanceof oa?e:to(e)).props.nodeType)return null;var o=(e.attr("role")||"").trim().toLowerCase();return(r?Uh(o):[o]).find(function(e){return!(!a&&"doc-"===e.substr(0,4))&&hs(e,{allowAbstract:n})})||null},ms=function(e){return Object.keys(ds.htmlElms).filter(function(t){var r=ds.htmlElms[t];return r.contentTypes?r.contentTypes.includes(e):!!r.variant&&!(!r.variant.default||!r.variant.default.contentTypes)&&r.variant.default.contentTypes.includes(e)})},Ds=function(){return eo.get("globalAriaAttrs",function(){return Object.keys(ds.ariaAttrs).filter(function(e){return ds.ariaAttrs[e].global})})},gs=Na(function(e){for(var t=[],r=e.rows,n=0,a=r.length;n<a;n++){var o=r[n].cells;t[n]=t[n]||[];for(var i=0,u=0,s=o.length;u<s;u++)for(var l=0;l<o[u].colSpan;l++){for(var c=o[u].getAttribute("rowspan"),d=0===parseInt(c)||0===o[u].rowspan?r.length:o[u].rowSpan,p=0;p<d;p++){for(t[n+p]=t[n+p]||[];t[n+p][i];)i++;t[n+p][i]=o[u]}i++}}return t}),vs=Na(function(e,t){var r,n;for(t||(t=gs(Bi(e,"table"))),r=0;r<t.length;r++)if(t[r]&&-1!==(n=t[r].indexOf(e)))return{x:n,y:r}});function bs(e){var t=Kf(e),r=t.vNode,n=t.domNode,a=r.attr("scope"),o=r.attr("role");if(!["td","th"].includes(r.props.nodeName))throw new TypeError("Expected TD or TH element");if("columnheader"===o)return"col";if("rowheader"===o)return"row";if("col"===a||"row"===a)return a;if("th"!==r.props.nodeName)return!1;if(!r.actualNode)return"auto";var i=gs(Bi(n,"table")),u=vs(n,i);return i[u.y].every(function(e){return"TH"===e.nodeName.toUpperCase()})?"col":i.map(function(e){return e[u.x]}).every(function(e){return e&&"TH"===e.nodeName.toUpperCase()})?"row":"auto"}var ys=function(e){return-1!==["col","auto"].indexOf(bs(e))},Fs=function(e){return["row","auto"].includes(bs(e))},ws=function(e){return e?e.replace(/\r\n/g,"\n").replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""},Es=function(){return eo.get("sectioningContentSelector",function(){return ms("sectioning").map(function(e){return"".concat(e,":not([role])")}).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"})},Cs=function(){return eo.get("sectioningContentPlusMainSelector",function(){return Es()+" , main:not([role]), [role=main]"})};function xs(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).checkTitle,r=void 0!==t&&t;return!!(ws(os(e))||ws(is(e))||r&&1===(null==e?void 0:e.props.nodeType)&&ws(e.attr("title")))}var As={a:function(e){return e.hasAttr("href")?"link":null},area:function(e){return e.hasAttr("href")?"link":null},article:"article",aside:function(e){return Eo(e.parent,Es())&&!xs(e,{checkTitle:!0})?null:"complementary"},body:"document",button:"button",datalist:"listbox",dd:"definition",dfn:"term",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",footer:function(e){return Eo(e,Cs())?null:"contentinfo"},form:function(e){return xs(e)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(e){return Eo(e,Cs())?null:"banner"},hr:"separator",img:function(e){var t=e.hasAttr("alt")&&!e.attr("alt"),r=Ds().find(function(t){return e.hasAttr(t)});return!t||r||Ju(e)?"img":"presentation"},input:function(e){var t;if(e.hasAttr("list")){var r=ns(e.actualNode,"list").filter(function(e){return!!e})[0];t=r&&"datalist"===r.nodeName.toLowerCase()}switch(e.props.type){case"checkbox":return"checkbox";case"number":return"spinbutton";case"radio":return"radio";case"range":return"slider";case"search":return t?"combobox":"searchbox";case"button":case"image":case"reset":case"submit":return"button";case"text":case"tel":case"url":case"email":case"":return t?"combobox":"textbox";default:return"textbox"}},li:"listitem",main:"main",math:"math",menu:"list",meter:"meter",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",search:"search",section:function(e){return xs(e)?"region":null},select:function(e){return e.hasAttr("multiple")||parseInt(e.attr("size"))>1?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function(e){var t=Eo(e,"table"),r=fs(t);return["grid","treegrid"].includes(r)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(e){return ys(e)?"columnheader":Fs(e)?"rowheader":void 0},thead:"rowgroup",tr:"row",ul:"list"},Ts=function(e,t){var r=l(t);if(Array.isArray(t)&&void 0!==e)return t.includes(e);if("function"===r)return!!t(e);if(null!=e){if(t instanceof RegExp)return t.test(e);if(/^\/.*\/$/.test(t)){var n=t.substring(1,t.length-1);return new RegExp(n).test(e)}}return t===e},ks=function(e,t){return Ts(!!xl(e),t)},Ns=function(e,t){if("object"!==l(t)||Array.isArray(t)||t instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(t).every(function(r){return Ts(e(r),t[r])})},Bs=function(e,t){return e=Kf(e).vNode,Ns(function(t){return e.attr(t)},t)};function Rs(e,t){return!!t(e)}var Ss=function(e,t){return Ts(fs(e),t)},Os=function(e,t){return Ts(zs(e),t)},_s=function(e,t){return e=Kf(e).vNode,Ts(e.props.nodeName,t)},Ps=function(e,t){return e=Kf(e).vNode,Ns(function(t){return e.props[t]},t)},Is=function(e,t){return Ts(Gs(e),t)},Ms={hasAccessibleName:ks,attributes:Bs,condition:Rs,explicitRole:Ss,implicitRole:Os,nodeName:_s,properties:Ps,semanticRole:Is},Ls=function e(t,r){return t=Kf(t).vNode,Array.isArray(r)?r.some(function(r){return e(t,r)}):"string"==typeof r?co(t,r):Object.keys(r).every(function(e){if(!Ms[e])throw new Error('Unknown matcher type "'.concat(e,'"'));var n=Ms[e],a=r[e];return n(t,a)})},Vs=function(e,t){return Ls(e,t)};Vs.hasAccessibleName=ks,Vs.attributes=Bs,Vs.condition=Rs,Vs.explicitRole=Ss,Vs.fromDefinition=Ls,Vs.fromFunction=Ns,Vs.fromPrimative=Ts,Vs.implicitRole=Os,Vs.nodeName=_s,Vs.properties=Ps,Vs.semanticRole=Is;var js=Vs,qs=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).noMatchAccessibleName,r=void 0!==t&&t,n=ds.htmlElms[e.props.nodeName];if(!n)return{};if(!n.variant)return n;var a=n.variant,o=z(n,m);for(var i in a)if(a.hasOwnProperty(i)&&"default"!==i){for(var u=a[i],s=u.matches,l=z(u,D),c=Array.isArray(s)?s:[s],d=0;d<c.length&&r;d++)if(c[d].hasOwnProperty("hasAccessibleName"))return n;if(js(e,s))for(var p in l)l.hasOwnProperty(p)&&(o[p]=l[p])}for(var h in a.default)a.default.hasOwnProperty(h)&&void 0===o[h]&&(o[h]=a.default[h]);return o},zs=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).chromium,r=e instanceof oa?e:to(e);if(e=r.actualNode,!r)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var n=r.props.nodeName,a=As[n];return!a&&t?qs(r).chromiumRole||null:"function"==typeof a?a(r):a||null},$s={td:["tr"],th:["tr"],tr:["thead","tbody","tfoot","table"],thead:["table"],tbody:["table"],tfoot:["table"],li:["ol","ul"],dt:["dl","div"],dd:["dl","div"],div:["dl"]};function Us(e,t){var r=$s[e.props.nodeName];if(!r)return null;if(!e.parent){if(!e.actualNode)return null;throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.")}if(!r.includes(e.parent.props.nodeName))return null;var n=fs(e.parent,t);return["none","presentation"].includes(n)&&!Ws(e.parent)?n:n?null:Us(e.parent,t)}function Hs(e,t){var r=t.chromium,n=z(t,g),a=zs(e,{chromium:r});return a?Us(e,n)||a:null}function Ws(e){return Ds().some(function(t){return e.hasAttr(t)})||Ju(e)}var Gs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.noPresentational,n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.noImplicit,n=z(t,v),a=Kf(e).vNode;if(1!==a.props.nodeType)return null;var o=fs(a,n);return o?["presentation","none"].includes(o)&&Ws(a)?r?null:Hs(a,n):o:r?null:Hs(a,n)}(e,z(t,b));return r&&["presentation","none"].includes(n)?null:n},Ks=["iframe"],Ys=function(e){var t=Kf(e).vNode;return 1===t.props.nodeType&&e.hasAttr("title")?!Vs(t,Ks)&&["none","presentation"].includes(Gs(t))?"":t.attr("title"):""},Zs=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).strict;if(1!==(e=e instanceof oa?e:to(e)).props.nodeType)return!1;var r=Gs(e),n=ds.ariaRoles[r];return!(!n||!n.nameFromContent)||!t&&(!n||["presentation","none"].includes(r))},Xs=function(e){var t=e.actualNode,r=e.children;if(!r)throw new Error("getOwnedVirtual requires a virtual node");if(e.hasAttr("aria-owns")){var n=ns(t,"aria-owns").filter(function(e){return!!e}).map(function(e){return c.utils.getNodeFromTree(e)});return[].concat($(r),$(n))}return $(r)},Js={accessibleNameFromFieldValue:["progressbar"]};function Qs(e){return e=Kf(e).vNode,el(e)}var el=Na(function(e,t){return!ji(e)&&!Iu(e,{skipAncestors:!0,isAncestor:t})&&(e.actualNode&&"area"===e.props.nodeName?!Hi(e,el):!Ki(e,{skipAncestors:!0,isAncestor:t})&&(!e.parent||el(e.parent,!0)))}),tl=function e(t,r,n){var a=Kf(t).vNode,o=r?Qs:nu,i=!t.actualNode||t.actualNode&&o(t),u=a.children.map(function(t){var a=t.props,o=a.nodeType,u=a.nodeValue;if(3===o){if(u&&i)return u}else if(!n)return e(t,r)}).join("");return ws(u)},rl=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"],nl=function(e){var t=(e=e instanceof oa?e:to(e)).props.nodeName;return"textarea"===t||"input"===t&&!rl.includes((e.attr("type")||"").toLowerCase())},al=function(e){return"select"===(e=e instanceof oa?e:to(e)).props.nodeName},ol=function(e){return"textbox"===fs(e)},il=function(e){return"listbox"===fs(e)},ul=function(e){return"combobox"===fs(e)},sl=["progressbar","scrollbar","slider","spinbutton"],ll=function(e){var t=fs(e);return sl.includes(t)},cl=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],dl={nativeTextboxValue:function(e){var t=Kf(e).vNode;return nl(t)&&t.props.value||""},nativeSelectValue:function(e){var t=Kf(e).vNode;if(!al(t))return"";var r=fm(t,"option"),n=r.filter(function(e){return e.props.selected});return n.length||n.push(r[0]),n.map(function(e){return tl(e)}).join(" ")||""},ariaTextboxValue:function(e){var t=Kf(e),r=t.vNode,n=t.domNode;return ol(r)?!n||n&&!Ki(n)?tl(r,!0):n.textContent:""},ariaListboxValue:pl,ariaComboboxValue:function(e,t){var r=Kf(e).vNode;if(!ul(r))return"";var n=Xs(r).filter(function(e){return"listbox"===Gs(e)})[0];return n?pl(n,t):""},ariaRangeValue:function(e){var t=Kf(e).vNode;if(!ll(t)||!t.hasAttr("aria-valuenow"))return"";var r=+t.attr("aria-valuenow");return isNaN(r)?"0":String(r)}};function pl(e,t){var r=Kf(e).vNode;if(!il(r))return"";var n=Xs(r).filter(function(e){return"option"===Gs(e)&&"true"===e.attr("aria-selected")});return 0===n.length?"":xl(n[0],t)}var hl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.actualNode,n=Js.accessibleNameFromFieldValue||[],a=Gs(e);if(t.startNode===e||!cl.includes(a)||n.includes(a))return"";var o=Object.keys(dl).map(function(e){return dl[e]}).reduce(function(r,n){return r||n(e,t)},"");return t.debug&&na(o||"{empty-value}",r,t),o},fl=ms("phrasing").concat(["#text"]),ml=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=xl.alreadyProcessed;t.startNode=t.startNode||e;var n=t,a=n.strict,o=n.inControlContext,i=n.inLabelledByContext,u=Gs(e),s=qs(e,{noMatchAccessibleName:!0}).contentTypes;return r(e,t)||1!==e.props.nodeType||null!=s&&s.includes("embedded")||cl.includes(u)?"":t.subtreeDescendant||t.inLabelledByContext||Zs(e,{strict:a})?(a||(t=H({subtreeDescendant:!o&&!i},t)),Xs(e).reduce(function(e,r){return function(e,t,r){var n=t.props.nodeName,a=xl(t,r);return a?(fl.includes(n)||(" "!==a[0]&&(a+=" "),e&&" "!==e[e.length-1]&&(a=" "+a)),e+a):e}(e,r,t)},"")):""},Dl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=xl.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return"";t.startNode||(t.startNode=e);var n,a=H({inControlContext:!0},t),o=function(e){if(!e.attr("id"))return[];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return ki({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}(e),i=Eo(e,"label");return i?(n=[].concat($(o),[i.actualNode])).sort(Gf):n=o,n.map(function(e){return as(e,a)}).filter(function(e){return""!==e}).join(" ")},gl={submit:"Submit",image:"Submit",reset:"Reset",button:""};function vl(e,t){return t.attr(e)||""}function bl(e,t,r){var n=t.actualNode,a=[e=e.toLowerCase(),n.nodeName.toLowerCase()].join(","),o=n.querySelector(a);return o&&o.nodeName.toLowerCase()===e?as(o,r):""}var yl={valueText:function(e){return e.props.value||""},buttonDefaultText:function(e){return gl[e.props.type]||""},tableCaptionText:bl.bind(null,"caption"),figureText:bl.bind(null,"figcaption"),svgTitleText:bl.bind(null,"title"),fieldsetLegendText:bl.bind(null,"legend"),altText:vl.bind(null,"alt"),tableSummaryText:vl.bind(null,"summary"),titleText:Ys,subtreeText:ml,labelText:Dl,singleSpace:function(){return" "},placeholderText:vl.bind(null,"placeholder")};function Fl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.actualNode;if(1!==e.props.nodeType||["presentation","none"].includes(Gs(e)))return"";var n=function(e){return(qs(e,{noMatchAccessibleName:!0}).namingMethods||[]).map(function(e){return yl[e]})}(e),a=n.reduce(function(r,n){return r||n(e,t)},"");return t.debug&&c.log(a||"{empty-value}",r,t),a}var wl=function(){return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g},El=function(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations,o=!1;return r&&(o||(o=/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g.test(e))),n&&(o||(o=/[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g.test(e)||/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g.test(e)||/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g.test(e))),a&&(o||(o=/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g.test(e))),o};function Cl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,n=e.actualNode.nodeValue.trim();if(!ws(n)||El(n,{emoji:!0,nonBmp:!0}))return!1;var a=eo.get("canvasContext",function(){return s.createElement("canvas").getContext("2d",{willReadFrequently:!0})}),o=a.canvas,u=eo.get("fonts",function(){return{}}),l=i.getComputedStyle(e.parent.actualNode).getPropertyValue("font-family");u[l]||(u[l]={occurrences:0,numLigatures:0});var c=u[l];if(c.occurrences>=r){if(c.numLigatures/c.occurrences===1)return!0;if(0===c.numLigatures)return!1}c.occurrences++;var d=30,p="".concat(d,"px ").concat(l);a.font=p;var h=n.charAt(0),f=a.measureText(h).width;if(0===f)return c.numLigatures++,!0;if(f<30){var m=30/f;f*=m,p="".concat(d*=m,"px ").concat(l)}o.width=f,o.height=d,a.font=p,a.textAlign="left",a.textBaseline="top",a.fillText(h,0,0);var D=new Uint32Array(a.getImageData(0,0,f,d).data.buffer);if(!D.some(function(e){return e}))return c.numLigatures++,!0;a.clearRect(0,0,f,d),a.fillText(n,0,0);var g=new Uint32Array(a.getImageData(0,0,f,d).data.buffer),v=D.reduce(function(e,t,r){return 0===t&&0===g[r]||0!==t&&0!==g[r]?e:++e},0),b=n.split("").reduce(function(e,t){return e+a.measureText(t).width},0),y=a.measureText(n).width;return v/D.length>=t&&1-y/b>=t&&(c.numLigatures++,!0)}function xl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t=function(e,t){return t.startNode||(t=H({startNode:e},t)),1===e.props.nodeType&&t.inLabelledByContext&&void 0===t.includeHidden&&(t=H({includeHidden:!Qs(e)},t)),t}(e,t),function(e,t){return!!e&&(1===e.props.nodeType&&!t.includeHidden&&!Qs(e))}(e,t))return"";if(function(e,t){var r,n=t.ignoreIconLigature,a=t.pixelThreshold,o=null!==(r=t.occurrenceThreshold)&&void 0!==r?r:t.occuranceThreshold;return!(3!==e.props.nodeType||!n)&&Cl(e,a,o)}(e,t))return"";var r=[os,is,Fl,hl,ml,Al,Ys].reduce(function(r,n){return t.startNode===e&&(r=ws(r)),""!==r?r:n(e,t)},"");return t.debug&&c.log(r||"{empty-value}",e.actualNode,t),r}function Al(e){return 3!==e.props.nodeType?"":e.props.nodeValue}xl.alreadyProcessed=function(e,t){return t.processed=t.processed||[],!!t.processed.includes(e)||(t.processed.push(e),!1)};var Tl=function(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations;return r&&(e=e.replace(/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,"")),n&&(e=e.replace(/[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g,"").replace(/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g,"").replace(/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g,"")),a&&(e=e.replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g,"")),e},kl=function(e){return function(e){return 0===ws(e).length}(e)||function(e){return 1===e.length&&e.match(/\D/)}(e)||function(e){return["aa","abc"].includes(e.toLowerCase())}(e)||function(e){var t=Tl(e,{emoji:!0,nonBmp:!0,punctuations:!0});return!ws(t)}(e)?0:1},Nl={stateTerms:["on","off"],standaloneTerms:["name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","new-password","current-password","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo","one-time-code"],qualifiers:["home","work","mobile","fax","pager"],qualifiedTerms:["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"],locations:["billing","shipping"]},Bl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.looseTyped,n=void 0!==r&&r,a=t.stateTerms,o=void 0===a?[]:a,i=t.locations,u=void 0===i?[]:i,s=t.qualifiers,l=void 0===s?[]:s,c=t.standaloneTerms,d=void 0===c?[]:c,p=t.qualifiedTerms,h=void 0===p?[]:p,f=t.ignoredValues,m=void 0===f?[]:f;if(e=e.toLowerCase().trim(),(o=o.concat(Nl.stateTerms)).includes(e)||""===e)return!0;l=l.concat(Nl.qualifiers),u=u.concat(Nl.locations),d=d.concat(Nl.standaloneTerms),h=h.concat(Nl.qualifiedTerms);var D=e.split(/\s+/g);if("webauthn"===D[D.length-1]&&(D.pop(),0===D.length))return!1;if(!n&&(D[0].length>8&&"section-"===D[0].substr(0,8)&&D.shift(),u.includes(D[0])&&D.shift(),l.includes(D[0])&&(D.shift(),d=[]),1!==D.length))return!1;var g=D[D.length-1];return m.includes(g)?void 0:d.includes(g)||h.includes(g)},Rl=function(e){var t;return e.attr("aria-labelledby")&&(t=ns(e.actualNode,"aria-labelledby").map(function(e){var t=to(e);return t?tl(t):""}).join(" ").trim())||(t=e.attr("aria-label"))&&(t=ws(t))?t:null},Sl=function(e,t,r){return e=to(e),tl(e,t,r)},Ol=function(e){var t,r;if(r=Rl(e))return r;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var n=Fa(e.attr("id"));if(r=(t=Ti(e.actualNode).querySelector('label[for="'+n+'"]'))&&Sl(t,!0))return r}return(r=(t=Eo(e,"label"))&&tl(t,!0))||null},_l=function(e){return e=to(e),Ol(e)},Pl=[{matches:[{nodeName:"textarea"},{nodeName:"input",properties:{type:["text","password","search","tel","email","url"]}}],namingMethods:"labelText"},{matches:{nodeName:"input",properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},{matches:{nodeName:"input",properties:{type:"image"}},namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},{matches:"button",namingMethods:"subtreeText"},{matches:"fieldset",namingMethods:"fieldsetLegendText"},{matches:"OUTPUT",namingMethods:"subtreeText"},{matches:[{nodeName:"select"},{nodeName:"input",properties:{type:/^(?!text|password|search|tel|email|url|button|submit|reset)/}}],namingMethods:"labelText"},{matches:"summary",namingMethods:"subtreeText"},{matches:"figure",namingMethods:["figureText","titleText"]},{matches:"img",namingMethods:"altText"},{matches:"table",namingMethods:["tableCaptionText","tableSummaryText"]},{matches:["hr","br"],namingMethods:["titleText","singleSpace"]}],Il=function e(t){var r=nu(t),n=[];return t.children.forEach(function(t){3===t.actualNode.nodeType?r&&n.push(t):n=n.concat(e(t))}),n},Ml=Na(function(e){var t=to(e),r=t.boundingClientRect,n=[],a=Oi(t);return e.childNodes.forEach(function(e){if(3===e.nodeType&&""!==ws(e.nodeValue)){var t=function(e){var t=s.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}(e);(function(e,t){return e.some(function(e){return!iu(lu(e),t)})})(t,r)||n.push.apply(n,$(Ll(t,a)))}}),n.length?n:Ll([r],a)});function Ll(e,t){var r=[];return e.forEach(function(e){if(!(e.width<1||e.height<1)){var n=t.reduce(function(e,t){return e&&su(e,t.boundingClientRect)},e);n&&r.push(n)}}),r}var Vl=function(e){Cu();var t=to(e)._grid;return t?Ml(e).map(function(e){return Ku(t,e)}):[]},jl=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"],ql=function(e){var t=Kf(e).vNode,r=c.commons.aria.getExplicitRole(t);if(r)return-1!==jl.indexOf(r);switch(t.props.nodeName){case"img":case"iframe":case"object":case"video":case"audio":case"canvas":case"svg":case"math":case"button":case"select":case"textarea":case"keygen":case"progress":case"meter":return!0;case"input":return"hidden"!==t.props.type;default:return!1}},zl=["head","title","template","script","style","iframe","object","video","audio","noscript"];function $l(e){return!zl.includes(e.props.nodeName)&&e.children.some(function(e){var t=e.props;return 3===t.nodeType&&t.nodeValue.trim()})}var Ul=function e(t,r,n){return $l(t)||ql(t.actualNode)||!n&&!!Rl(t)||!r&&t.children.some(function(t){return 1===t.actualNode.nodeType&&e(t)})},Hl=function(e,t,r){return e=to(e),Ul(e,t,r)};function Wl(e){return!(void 0!==e.children&&!$l(e))||(1===e.props.nodeType&&ql(e)?!!c.commons.text.accessibleTextVirtual(e):e.children.some(function(e){return!e.attr("lang")&&Wl(e)&&!Ki(e)}))}var Gl=function(e){return Jf(e.getAttribute("tabindex"))>-1&&Ju(e)&&!Xu(e)};function Kl(e,t){var r=Kf(e),n=r.vNode,a=r.domNode;return n?(void 0===n._isHiddenWithCSS&&(n._isHiddenWithCSS=Yl(a,t)),n._isHiddenWithCSS):Yl(a,t)}function Yl(e,t){if(9===e.nodeType)return!1;if(11===e.nodeType&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase()))return!1;var r=i.getComputedStyle(e,null);if(!r)throw new Error("Style does not exist for the given element.");if("none"===r.getPropertyValue("display"))return!0;var n=["hidden","collapse"],a=r.getPropertyValue("visibility");if(n.includes(a)&&!t)return!0;if(n.includes(a)&&t&&n.includes(t))return!0;var o=Xi(e);return!(!o||n.includes(a))&&Kl(o,a)}var Zl=Kl,Xl=function(e){var t=e.doctype;return null!==t&&"html"===t.name&&!t.publicId&&!t.systemId},Jl=function(e){var t;(e instanceof oa||null!==(t=i)&&void 0!==t&&t.Node&&e instanceof i.Node)&&(e=c.commons.aria.getRole(e));var r=ds.ariaRoles[e];return(null==r?void 0:r.type)||null};function Ql(e,t){!1!==t(e.actualNode)&&e.children.forEach(function(e){return Ql(e,t)})}var ec=["block","list-item","table","flex","grid","inline-block"];function tc(e){var t=i.getComputedStyle(e).getPropertyValue("display");return ec.includes(t)||"table-"===t.substr(0,6)}var rc=function(e,t){if(tc(e))return!1;var r=function(e){for(var t=Xi(e);t&&!tc(t);)t=Xi(t);return to(t)}(e),n="",a="",o=0;return Ql(r,function(t){if(2===o)return!1;if(3===t.nodeType&&(n+=t.nodeValue),1===t.nodeType){var r=(t.nodeName||"").toUpperCase();if(t===e&&(o=1),["BR","HR"].includes(r))0===o?(n="",a=""):o=2;else{if("none"===t.style.display||"hidden"===t.style.overflow||!["",null,"none"].includes(t.style.float)||!["",null,"relative"].includes(t.style.position))return!1;if("widget"===Jl(t))return a+=t.textContent,!1}}}),n=ws(n),null!=t&&t.noLengthCompare?0!==n.length:(a=ws(a),n.length>a.length)},nc=function(e){var t=(e=e||{}).modalPercent||.75;if(eo.get("isModalOpen"))return eo.get("isModalOpen");if(nm(c._tree[0],"dialog, [role=dialog], [aria-modal=true]",nu).length)return eo.set("isModalOpen",!0),!0;for(var r,n=eu(i),a=n.width*t,o=n.height*t,u=(n.width-a)/2,l=(n.height-o)/2,d=[{x:u,y:l},{x:n.width-u,y:l},{x:n.width/2,y:n.height/2},{x:u,y:n.height-l},{x:n.width-u,y:n.height-l}].map(function(e){return Array.from(s.elementsFromPoint(e.x,e.y))}),p=function(){var e=d[h].find(function(e){var t=i.getComputedStyle(e);return parseInt(t.width,10)>=a&&parseInt(t.height,10)>=o&&"none"!==t.getPropertyValue("pointer-events")&&("absolute"===t.position||"fixed"===t.position)});if(e&&d.every(function(t){return t.includes(e)}))return eo.set("isModalOpen",!0),{v:!0}},h=0;h<d.length;h++)if(r=p())return r.v;eo.set("isModalOpen",void 0)};function ac(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,r=e.ownerDocument.createRange();r.setStart(e,0),r.setEnd(e,e.childNodes.length);var n,a=0,o=0,i=Q(r.getClientRects());try{for(i.s();!(n=i.n()).done;){var u=n.value;if(!(u.height<=t))if(a>u.top+t)a=Math.max(a,u.bottom);else{if(0!==o)return!0;a=u.bottom,o++}}}catch(e){i.e(e)}finally{i.f()}return!1}var oc=function(e){return e instanceof i.Node},ic="color.incompleteData",uc={set:function(e,t){if("string"!=typeof e)throw new Error("Incomplete data: key must be a string");var r=eo.get(ic,function(){return{}});return t&&(r[e]=t),r[e]},get:function(e){var t=eo.get(ic);return null==t?void 0:t[e]},clear:function(){eo.set(ic,{})}},sc=uc,lc=function(e,t){var r=e.nodeName.toUpperCase();if(["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"].includes(r))return sc.set("bgColor","imgNode"),!0;var n=(t=t||i.getComputedStyle(e)).getPropertyValue("background-image"),a="none"!==n;if(a){var o=/gradient/.test(n);sc.set("bgColor",o?"bgGradient":"bgImage")}return a},cc={};he(cc,{ArrayFrom:function(){return gh.default},Colorjs:function(){return dh},CssSelectorParser:function(){return Dc.CssSelectorParser},doT:function(){return gc.default},emojiRegexText:function(){return wl},memoize:function(){return vc.default}});var dc=fe(Zt()),pc=fe(Xt()),hc=(fe(Jt()),fe(Jr())),fc=fe(gn()),mc=fe(Qn());"hasOwn"in Object||(Object.hasOwn=hc.default),"values"in Object||(Object.values=fc.default),"Promise"in i||dc.default.polyfill(),"Uint32Array"in i||(i.Uint32Array=pc.Uint32Array),i.Uint32Array&&("some"in i.Uint32Array.prototype||Object.defineProperty(i.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in i.Uint32Array.prototype||Object.defineProperty(i.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce})),"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1;r<arguments.length;r++){var n=arguments[r];if(null!=n)for(var a in n)n.hasOwnProperty(a)&&(t[a]=n[a])}return t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,r=Object(this),n=r.length>>>0,a=arguments[1],o=0;o<n;o++)if(t=r[o],e.call(a,t,o,r))return t}}),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(e,t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var r,n=Object(this),a=n.length>>>0,o=0;o<a;o++)if(r=n[o],e.call(t,r,o,n))return o;return-1}}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e){var t=Object(this),r=parseInt(t.length,10)||0;if(0===r)return!1;var n,a,o=parseInt(arguments[1],10)||0;for(o>=0?n=o:(n=r+o)<0&&(n=0);n<r;){if(e===(a=t[n])||e!=e&&a!=a)return!0;n++}return!1}}),Array.prototype.some||Object.defineProperty(Array.prototype,"some",{value:function(e){if(null==this)throw new TypeError("Array.prototype.some called on null or undefined");if("function"!=typeof e)throw new TypeError;for(var t=Object(this),r=t.length>>>0,n=arguments.length>=2?arguments[1]:void 0,a=0;a<r;a++)if(a in t&&e.call(n,t[a],a,t))return!0;return!1}}),Array.from||(Array.from=mc.default),String.prototype.includes||(String.prototype.includes=function(e,t){return"number"!=typeof t&&(t=0),!(t+e.length>this.length)&&-1!==this.indexOf(e,t)}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,function(r,n){return Array.isArray(n)?r.push.apply(r,e.call(n,t-1)):r.push(n),r},[]):Array.prototype.slice.call(this)},writable:!0}),i.Node&&!("isConnected"in i.Node.prototype)&&Object.defineProperty(i.Node.prototype,"isConnected",{get:function(){return!(this.ownerDocument&&this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var Dc=fe(Yt()),gc=fe(ea()),vc=fe(Ht());function bc(e,t){var r=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=t.map(function(e){return[e]}));var n=t[0].length,a=t[0].map(function(e,r){return t.map(function(e){return e[r]})}),o=e.map(function(e){return a.map(function(t){var r=0;if(!Array.isArray(e)){var n,a=Q(t);try{for(a.s();!(n=a.n()).done;){var o=n.value;r+=e*o}}catch(e){a.e(e)}finally{a.f()}return r}for(var i=0;i<e.length;i++)r+=e[i]*(t[i]||0);return r})});return 1===r&&(o=o[0]),1===n?o.map(function(e){return e[0]}):o}function yc(e){return"string"===Fc(e)}function Fc(e){return(Object.prototype.toString.call(e).match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function wc(e,t){e=+e,t=+t;var r=(Math.floor(e)+"").length;if(t>r)return+e.toFixed(t-r);var n=Math.pow(10,r-t);return Math.round(e/n)*n}function Ec(e){if(e){e=e.trim();var t=/^-?[\d.]+$/,r=e.match(/^([a-z]+)\((.+?)\)$/i);if(r){var n=[];return r[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,function(e,r){/%$/.test(r)?(r=new Number(r.slice(0,-1)/100)).type="<percentage>":/deg$/.test(r)?((r=new Number(+r.slice(0,-3))).type="<angle>",r.unit="deg"):t.test(r)&&((r=new Number(r)).type="<number>"),e.startsWith("/")&&((r=r instanceof Number?r:new Number(r)).alpha=!0),n.push(r)}),{name:r[1].toLowerCase(),rawName:r[1],rawArgs:r[2],args:n}}}}function Cc(e){return e[e.length-1]}function xc(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function Ac(e,t,r){return(r-e)/(t-e)}function Tc(e,t,r){return xc(t[0],t[1],Ac(e[0],e[1],r))}function kc(e){return e.map(function(e){return e.split("|").map(function(e){var t=(e=e.trim()).match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(t){var r=new String(t[1]);return r.range=[+t[2],+t[3]],r}return e})})}var Nc=Object.freeze({__proto__:null,isString:yc,type:Fc,toPrecision:wc,parseFunction:Ec,last:Cc,interpolate:xc,interpolateInv:Ac,mapRange:Tc,parseCoordGrammar:kc,multiplyMatrices:bc}),Bc=X(function e(){Y(this,e)},[{key:"add",value:function(e,t,r){if("string"==typeof arguments[0])(Array.isArray(e)?e:[e]).forEach(function(e){this[e]=this[e]||[],t&&this[e][r?"unshift":"push"](t)},this);else for(var e in arguments[0])this.add(e,arguments[0][e],arguments[1])}},{key:"run",value:function(e,t){this[e]=this[e]||[],this[e].forEach(function(e){e.call(t&&t.context?t.context:t,t)})}}]),Rc=new Bc,Sc={gamut_mapping:"lch.c",precision:5,deltaE:"76"},Oc={D50:[.3457/.3585,1,.2958/.3585],D65:[.3127/.329,1,.3583/.329]};function _c(e){return Array.isArray(e)?e:Oc[e]}function Pc(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(e=_c(e),t=_c(t),!e||!t)throw new TypeError("Missing white point to convert ".concat(e?"":"from").concat(e||t?"":"/").concat(t?"":"to"));if(e===t)return r;var a={W1:e,W2:t,XYZ:r,options:n};if(Rc.run("chromatic-adaptation-start",a),a.M||(a.W1===Oc.D65&&a.W2===Oc.D50?a.M=[[1.0479298208405488,.022946793341019088,-.05019222954313557],[.029627815688159344,.990434484573249,-.01707382502938514],[-.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===Oc.D50&&a.W2===Oc.D65&&(a.M=[[.9554734527042182,-.023098536874261423,.0632593086610217],[-.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-.020507696433477912,1.3303659366080753]])),Rc.run("chromatic-adaptation-end",a),a.M)return bc(a.M,a.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var Ic=(e=new WeakSet,t=new WeakMap,X(function r(n){var a,o,i,u,s,l,c;Y(this,r),M(this,e),I(this,t,void 0),this.id=n.id,this.name=n.name,this.base=n.base?Ic.get(n.base):null,this.aliases=n.aliases,this.base&&(this.fromBase=n.fromBase,this.toBase=n.toBase);var d=null!==(a=n.coords)&&void 0!==a?a:this.base.coords;this.coords=d;var p=null!==(o=null!==(i=n.white)&&void 0!==i?i:this.base.white)&&void 0!==o?o:"D65";for(var h in this.white=_c(p),this.formats=null!==(u=n.formats)&&void 0!==u?u:{},this.formats){var f=this.formats[h];f.type||(f.type="function"),f.name||(f.name=h)}!n.cssId||null!==(s=this.formats.functions)&&void 0!==s&&s.color?null===(l=this.formats)||void 0===l||!l.color||null!==(c=this.formats)&&void 0!==c&&c.color.id||(this.formats.color.id=this.id):(this.formats.color={id:n.cssId},Object.defineProperty(this,"cssId",{value:n.cssId})),this.referred=n.referred,j(t,this,q(e,this,Lc).call(this).reverse()),Rc.run("colorspace-init-end",this)},[{key:"inGamut",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).epsilon,r=void 0===t?75e-6:t;if(this.isPolar)return e=this.toBase(e),this.base.inGamut(e,{epsilon:r});var n=Object.values(this.coords);return e.every(function(e,t){var a=n[t];if("angle"!==a.type&&a.range){if(Number.isNaN(e))return!0;var o=W(a.range,2),i=o[0],u=o[1];return(void 0===i||e>=i-r)&&(void 0===u||e<=u+r)}return!0})}},{key:"cssId",get:function(){var e;return(null===(e=this.formats.functions)||void 0===e||null===(e=e.color)||void 0===e?void 0:e.id)||this.id}},{key:"isPolar",get:function(){for(var e in this.coords)if("angle"===this.coords[e].type)return!0;return!1}},{key:"getFormat",value:function(t){return"object"===l(t)?t=q(e,this,Mc).call(this,t):(r="default"===t?Object.values(this.formats)[0]:this.formats[t])?r=q(e,this,Mc).call(this,r):null;var r}},{key:"to",value:function(e,r){if(1===arguments.length){var n=[e.space,e.coords];e=n[0],r=n[1]}if(this===(e=Ic.get(e)))return r;r=r.map(function(e){return Number.isNaN(e)?0:e});for(var a,o,i=V(t,this),u=V(t,e),s=0;s<i.length&&i[s]===u[s];s++)a=i[s],o=s;if(!a)throw new Error("Cannot convert between color spaces ".concat(this," and ").concat(e,": no connection space was found"));for(var l=i.length-1;l>o;l--)r=i[l].toBase(r);for(var c=o+1;c<u.length;c++)r=u[c].fromBase(r);return r}},{key:"from",value:function(e,t){if(1===arguments.length){var r=[e.space,e.coords];e=r[0],t=r[1]}return(e=Ic.get(e)).to(this,t)}},{key:"toString",value:function(){return"".concat(this.name," (").concat(this.id,")")}},{key:"getMinCoords",value:function(){var e=[];for(var t in this.coords){var r,n=this.coords[t],a=n.range||n.refRange;e.push(null!==(r=null==a?void 0:a.min)&&void 0!==r?r:0)}return e}}],[{key:"all",get:function(){return $(new Set(Object.values(Ic.registry)))}},{key:"register",value:function(e,t){if(1===arguments.length&&(e=(t=arguments[0]).id),t=this.get(t),this.registry[e]&&this.registry[e]!==t)throw new Error("Duplicate color space registration: '".concat(e,"'"));if(this.registry[e]=t,1===arguments.length&&t.aliases){var r,n=Q(t.aliases);try{for(n.s();!(r=n.n()).done;){var a=r.value;this.register(a,t)}}catch(e){n.e(e)}finally{n.f()}}return t}},{key:"get",value:function(e){if(!e||e instanceof Ic)return e;if("string"===Fc(e)){var t=Ic.registry[e.toLowerCase()];if(!t)throw new TypeError('No color space found with id = "'.concat(e,'"'));return t}for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];if(n.length)return Ic.get.apply(Ic,n);throw new TypeError("".concat(e," is not a valid color space"))}},{key:"resolveCoord",value:function(e,t){var r,n,a=Fc(e);if("string"===a)if(e.includes(".")){var o=W(e.split("."),2);r=o[0],n=o[1]}else r=void 0,n=e;else if(Array.isArray(e)){var i=W(e,2);r=i[0],n=i[1]}else r=e.space,n=e.coordId;if((r=Ic.get(r))||(r=t),!r)throw new TypeError("Cannot resolve coordinate reference ".concat(e,": No color space specified and relative references are not allowed here"));if("number"===(a=Fc(n))||"string"===a&&n>=0){var u=Object.entries(r.coords)[n];if(u)return H({space:r,id:u[0],index:n},u[1])}r=Ic.get(r);var s=n.toLowerCase(),l=0;for(var c in r.coords){var d,p=r.coords[c];if(c.toLowerCase()===s||(null===(d=p.name)||void 0===d?void 0:d.toLowerCase())===s)return H({space:r,id:c,index:l},p);l++}throw new TypeError('No "'.concat(n,'" coordinate found in ').concat(r.name,". Its coordinates are: ").concat(Object.keys(r.coords).join(", ")))}}]));function Mc(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=kc(e.coords);var t=Object.entries(this.coords).map(function(t,r){var n=W(t,2),a=(n[0],n[1]),o=e.coordGrammar[r][0],i=a.range||a.refRange,u=o.range,s="";return"<percentage>"==o?(u=[0,100],s="%"):"<angle>"==o&&(s="deg"),{fromRange:i,toRange:u,suffix:s}});e.serializeCoords=function(e,r){return e.map(function(e,n){var a=t[n],o=a.fromRange,i=a.toRange,u=a.suffix;return o&&i&&(e=Tc(o,i,e)),e=wc(e,r),u&&(e+=u),e})}}return e}function Lc(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var Vc=Ic;me(Vc,"registry",{}),me(Vc,"DEFAULT_FORMAT",{type:"functions",name:"color"});var jc=new Vc({id:"xyz-d65",name:"XYZ D65",coords:{x:{name:"X"},y:{name:"Y"},z:{name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]}),qc=function(e){function t(e){var r,n,a,o;return Y(this,t),e.coords||(e.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),e.base||(e.base=jc),e.toXYZ_M&&e.fromXYZ_M&&(null!==(a=e.toBase)&&void 0!==a||(e.toBase=function(t){var r=bc(e.toXYZ_M,t);return n.white!==n.base.white&&(r=Pc(n.white,n.base.white,r)),r}),null!==(o=e.fromBase)&&void 0!==o||(e.fromBase=function(t){return t=Pc(n.base.white,n.white,t),bc(e.fromXYZ_M,t)})),null!==(r=e.referred)&&void 0!==r||(e.referred="display"),n=R(this,t,[e])}return _(t,e),X(t)}(Vc);function zc(e){var t,r={str:null===(t=String(e))||void 0===t?void 0:t.trim()};if(Rc.run("parse-start",r),r.color)return r.color;if(r.parsed=Ec(r.str),r.parsed){var n=r.parsed.name;if("color"===n){var a,o=r.parsed.args.shift(),i=r.parsed.rawArgs.indexOf("/")>0?r.parsed.args.pop():1,u=Q(Vc.all);try{var s,l=function(){var e,t=a.value,n=t.getFormat("color");if(n&&(o===n.id||null!==(e=n.ids)&&void 0!==e&&e.includes(o))){var u=Object.keys(t.coords).length,s=Array(u).fill(0);return s.forEach(function(e,t){return s[t]=r.parsed.args[t]||0}),{v:{spaceId:t.id,coords:s,alpha:i}}}};for(u.s();!(a=u.n()).done;)if(s=l())return s.v}catch(e){u.e(e)}finally{u.f()}var c="";if(o in Vc.registry){var d,p=null===(d=Vc.registry[o].formats)||void 0===d||null===(d=d.functions)||void 0===d||null===(d=d.color)||void 0===d?void 0:d.id;p&&(c="Did you mean color(".concat(p,")?"))}throw new TypeError("Cannot parse color(".concat(o,"). ")+(c||"Missing a plugin?"))}var h,f=Q(Vc.all);try{var m,D=function(){var e=h.value,t=e.getFormat(n);if(t&&"function"===t.type){var a=1;(t.lastAlpha||Cc(r.parsed.args).alpha)&&(a=r.parsed.args.pop());var o=r.parsed.args;return t.coordGrammar&&Object.entries(e.coords).forEach(function(e,r){var a,i=W(e,2),u=i[0],s=i[1],l=t.coordGrammar[r],c=null===(a=o[r])||void 0===a?void 0:a.type;if(!(l=l.find(function(e){return e==c}))){var d=s.name||u;throw new TypeError("".concat(c," not allowed for ").concat(d," in ").concat(n,"()"))}var p=l.range;"<percentage>"===c&&(p||(p=[0,1]));var h=s.range||s.refRange;p&&h&&(o[r]=Tc(p,h,o[r]))}),{v:{spaceId:e.id,coords:o,alpha:a}}}};for(f.s();!(h=f.n()).done;)if(m=D())return m.v}catch(e){f.e(e)}finally{f.f()}}else{var g,v=Q(Vc.all);try{for(v.s();!(g=v.n()).done;){var b=g.value;for(var y in b.formats){var F=b.formats[y];if("custom"===F.type&&(!F.test||F.test(r.str))){var w,E=F.parse(r.str);if(E)return null!==(w=E.alpha)&&void 0!==w||(E.alpha=1),E}}}}catch(e){v.e(e)}finally{v.f()}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function $c(e){if(!e)throw new TypeError("Empty color reference");yc(e)&&(e=zc(e));var t=e.space||e.spaceId;return t instanceof Vc||(e.space=Vc.get(t)),void 0===e.alpha&&(e.alpha=1),e}function Uc(e,t){return(t=Vc.get(t)).from(e)}function Hc(e,t){var r=Vc.resolveCoord(t,e.space),n=r.space,a=r.index;return Uc(e,n)[a]}function Wc(e,t,r){return t=Vc.get(t),e.coords=t.to(e.space,r),e}function Gc(e,t,r){if(e=$c(e),2===arguments.length&&"object"===Fc(arguments[1])){var n=arguments[1];for(var a in n)Gc(e,a,n[a])}else{"function"==typeof r&&(r=r(Hc(e,t)));var o=Vc.resolveCoord(t,e.space),i=o.space,u=o.index,s=Uc(e,i);s[u]=r,Wc(e,i,s)}return e}var Kc=new Vc({id:"xyz-d50",name:"XYZ D50",white:"D50",base:jc,fromBase:function(e){return Pc(jc.white,"D50",e)},toBase:function(e){return Pc("D50",jc.white,e)},formats:{color:{}}}),Yc=216/24389,Zc=24/116,Xc=24389/27,Jc=Oc.D50,Qc=new Vc({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Jc,base:Kc,fromBase:function(e){var t=e.map(function(e,t){return e/Jc[t]}),r=t.map(function(e){return e>Yc?Math.cbrt(e):(Xc*e+16)/116});return[116*r[1]-16,500*(r[0]-r[1]),200*(r[1]-r[2])]},toBase:function(e){var t=[];return t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200,[t[0]>Zc?Math.pow(t[0],3):(116*t[0]-16)/Xc,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/Xc,t[2]>Zc?Math.pow(t[2],3):(116*t[2]-16)/Xc].map(function(e,t){return e*Jc[t]})},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function ed(e){return(e%360+360)%360}var td=new Vc({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:Qc,fromBase:function(e){var t,r=W(e,3),n=r[0],a=r[1],o=r[2];return t=Math.abs(a)<.02&&Math.abs(o)<.02?NaN:180*Math.atan2(o,a)/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),ed(t)]},toBase:function(e){var t=W(e,3),r=t[0],n=t[1],a=t[2];return n<0&&(n=0),isNaN(a)&&(a=0),[r,n*Math.cos(a*Math.PI/180),n*Math.sin(a*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),rd=Math.pow(25,7),nd=Math.PI,ad=180/nd,od=nd/180;function id(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.kL,a=void 0===n?1:n,o=r.kC,i=void 0===o?1:o,u=r.kH,s=void 0===u?1:u,l=W(Qc.from(e),3),c=l[0],d=l[1],p=l[2],h=td.from(Qc,[c,d,p])[1],f=W(Qc.from(t),3),m=f[0],D=f[1],g=f[2],v=td.from(Qc,[m,D,g])[1];h<0&&(h=0),v<0&&(v=0);var b=(h+v)/2,y=Math.pow(b,7),F=.5*(1-Math.sqrt(y/(y+rd))),w=(1+F)*d,E=(1+F)*D,C=Math.sqrt(Math.pow(w,2)+Math.pow(p,2)),x=Math.sqrt(Math.pow(E,2)+Math.pow(g,2)),A=0===w&&0===p?0:Math.atan2(p,w),T=0===E&&0===g?0:Math.atan2(g,E);A<0&&(A+=2*nd),T<0&&(T+=2*nd);var k,N=m-c,B=x-C,R=(T*=ad)-(A*=ad),S=A+T,O=Math.abs(R);C*x===0?k=0:O<=180?k=R:R>180?k=R-360:R<-180?k=R+360:console.log("the unthinkable has happened");var _,P=2*Math.sqrt(x*C)*Math.sin(k*od/2),I=(c+m)/2,M=(C+x)/2,L=Math.pow(M,7);_=C*x===0?S:O<=180?S/2:S<360?(S+360)/2:(S-360)/2;var V=Math.pow(I-50,2),j=1+.015*V/Math.sqrt(20+V),q=1+.045*M,z=1;z-=.17*Math.cos((_-30)*od),z+=.24*Math.cos(2*_*od),z+=.32*Math.cos((3*_+6)*od);var $=1+.015*M*(z-=.2*Math.cos((4*_-63)*od)),U=30*Math.exp(-1*Math.pow((_-275)/25,2)),H=2*Math.sqrt(L/(L+rd)),G=-1*Math.sin(2*U*od)*H,K=Math.pow(N/(a*j),2);return K+=Math.pow(B/(i*q),2),K+=Math.pow(P/(s*$),2),K+=G*(B/(i*q))*(P/(s*$)),Math.sqrt(K)}function ud(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.space,r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).epsilon,n=void 0===r?75e-6:r;e=$c(e),t=Vc.get(t);var a=e.coords;return t!==e.space&&(a=t.from(e)),t.inGamut(a,{epsilon:n})}function sd(e){return{space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function ld(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.method,n=void 0===r?Sc.gamut_mapping:r,a=t.space,o=void 0===a?e.space:a;if(yc(arguments[1])&&(o=arguments[1]),ud(e,o=Vc.get(o),{epsilon:0}))return e;var i=cd(e,o);if("clip"!==n&&!ud(e,o)){var u=ld(sd(i),{method:"clip",space:o});if(id(e,u)>2){for(var s=Vc.resolveCoord(n),l=s.space,c=s.id,d=cd(i,l),p=(s.range||s.refRange)[0],h=Hc(d,c);h-p>.01;){var f=sd(d);id(d,f=ld(f,{space:o,method:"clip"}))-2<.01?p=Hc(d,c):h=Hc(d,c),Gc(d,c,(p+h)/2)}i=cd(d,o)}else i=u}if("clip"===n||!ud(i,o,{epsilon:0})){var m=Object.values(o.coords).map(function(e){return e.range||[]});i.coords=i.coords.map(function(e,t){var r=W(m[t],2),n=r[0],a=r[1];return void 0!==n&&(e=Math.max(n,e)),void 0!==a&&(e=Math.min(e,a)),e})}return o!==e.space&&(i=cd(i,e.space)),e.coords=i.coords,e}function cd(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).inGamut;e=$c(e);var n=(t=Vc.get(t)).from(e),a={space:t,coords:n,alpha:e.alpha};return r&&(a=ld(a)),a}function dd(e){var t,r,n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=a.precision,i=void 0===o?Sc.precision:o,u=a.format,s=void 0===u?"default":u,l=a.inGamut,c=void 0===l||l,d=z(a,y),p=s;s=null!==(t=null!==(r=(e=$c(e)).space.getFormat(s))&&void 0!==r?r:e.space.getFormat("default"))&&void 0!==t?t:Vc.DEFAULT_FORMAT,c||(c=s.toGamut);var h=e.coords;if(h=h.map(function(e){return e||0}),c&&!ud(e)&&(h=ld(sd(e),!0===c?void 0:c).coords),"custom"===s.type){if(d.precision=i,!s.serialize)throw new TypeError("format ".concat(p," can only be used to parse colors, not for serialization"));n=s.serialize(h,e.alpha,d)}else{var f=s.name||"color";s.serializeCoords?h=s.serializeCoords(h,i):null!==i&&(h=h.map(function(e){return wc(e,i)}));var m=$(h);if("color"===f){var D,g=s.id||(null===(D=s.ids)||void 0===D?void 0:D[0])||e.space.id;m.unshift(g)}var v=e.alpha;null!==i&&(v=wc(v,i));var b=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(v):"";n="".concat(f,"(").concat(m.join(s.commas?", ":" ")).concat(b,")")}return n}ld.returns="color",cd.returns="color";var pd=new qc({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],fromXYZ_M:[[1.716651187971268,-.355670783776392,-.25336628137366],[-.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-.042770613257809,.942103121235474]],formats:{color:{}}}),hd=1.09929682680944,fd=.018053968510807,md=new qc({id:"rec2020",name:"REC.2020",base:pd,toBase:function(e){return e.map(function(e){return e<4.5*fd?e/4.5:Math.pow((e+hd-1)/hd,1/.45)})},fromBase:function(e){return e.map(function(e){return e>=fd?hd*Math.pow(e,.45)-(hd-1):4.5*e})},formats:{color:{}}}),Dd=new qc({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],fromXYZ_M:[[2.493496911941425,-.9313836179191239,-.40271078445071684],[-.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-.07617238926804182,.9568845240076872]]}),gd=new qc({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],fromXYZ_M:[[3.2409699419045226,-1.537383177570094,-.4986107602930034],[-.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-.20397695888897652,1.0569715142428786]],formats:{color:{}}}),vd={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[.6,50/255,.8],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,.6],lightslategrey:[119/255,136/255,.6],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[.4,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,.8],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[.4,.2,.6],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]},bd=Array(3).fill("<percentage> | <number>[0, 255]"),yd=Array(3).fill("<number>[0, 255]"),Fd=new qc({id:"srgb",name:"sRGB",base:gd,fromBase:function(e){return e.map(function(e){var t=e<0?-1:1,r=e*t;return r>.0031308?t*(1.055*Math.pow(r,1/2.4)-.055):12.92*e})},toBase:function(e){return e.map(function(e){var t=e<0?-1:1,r=e*t;return r<.04045?e/12.92:t*Math.pow((r+.055)/1.055,2.4)})},formats:{rgb:{coords:bd},rgb_number:{name:"rgb",commas:!0,coords:yd,noAlpha:!0},color:{},rgba:{coords:bd,commas:!0,lastAlpha:!0},rgba_number:{name:"rgba",commas:!0,coords:yd},hex:{type:"custom",toGamut:!0,test:function(e){return/^#([a-f0-9]{3,4}){1,2}$/i.test(e)},parse:function(e){e.length<=5&&(e=e.replace(/[a-f0-9]/gi,"$&$&"));var t=[];return e.replace(/[a-f0-9]{2}/gi,function(e){t.push(parseInt(e,16)/255)}),{spaceId:"srgb",coords:t.slice(0,3),alpha:t.slice(3)[0]}},serialize:function(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).collapse,n=void 0===r||r;t<1&&e.push(t),e=e.map(function(e){return Math.round(255*e)});var a=n&&e.every(function(e){return e%17==0});return"#"+e.map(function(e){return a?(e/17).toString(16):e.toString(16).padStart(2,"0")}).join("")}},keyword:{type:"custom",test:function(e){return/^[a-z]+$/i.test(e)},parse:function(e){var t={spaceId:"srgb",coords:null,alpha:1};if("transparent"===(e=e.toLowerCase())?(t.coords=vd.black,t.alpha=0):t.coords=vd[e],t.coords)return t}}}}),wd=new qc({id:"p3",name:"P3",base:Dd,fromBase:Fd.fromBase,toBase:Fd.toBase,formats:{color:{id:"display-p3"}}});if(Sc.display_space=Fd,"undefined"!=typeof CSS&&null!==(o=CSS)&&void 0!==o&&o.supports)for(var Ed=0,Cd=[Qc,md,wd];Ed<Cd.length;Ed++){var xd=Cd[Ed],Ad=xd.getMinCoords(),Td=dd({space:xd,coords:Ad,alpha:1});if(CSS.supports("color",Td)){Sc.display_space=xd;break}}function kd(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.space,a=void 0===n?Sc.display_space:n,o=z(r,F),i=dd(e,o);if("undefined"==typeof CSS||null!==(t=CSS)&&void 0!==t&&t.supports("color",i)||!Sc.display_space)(i=new String(i)).color=e;else{var u=cd(e,a);(i=new String(dd(u,o))).color=u}return i}function Nd(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"lab",n=(r=Vc.get(r)).from(e),a=r.from(t);return Math.sqrt(n.reduce(function(e,t,r){var n=a[r];return isNaN(t)||isNaN(n)?e:e+Math.pow(n-t,2)},0))}function Bd(e){return Hc(e,[jc,"y"])}function Rd(e,t){Gc(e,[jc,"y"],t)}var Sd=Object.freeze({__proto__:null,getLuminance:Bd,setLuminance:Rd,register:function(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return Bd(this)},set:function(e){Rd(this,e)}})}});function Od(e){return e>=.022?e:e+Math.pow(.022-e,1.414)}function _d(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}var Pd=216/24389,Id=24/116,Md=24389/27,Ld=Oc.D65,Vd=new Vc({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Ld,base:jc,fromBase:function(e){var t=e.map(function(e,t){return e/Ld[t]}),r=t.map(function(e){return e>Pd?Math.cbrt(e):(Md*e+16)/116});return[116*r[1]-16,500*(r[0]-r[1]),200*(r[1]-r[2])]},toBase:function(e){var t=[];return t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200,[t[0]>Id?Math.pow(t[0],3):(116*t[0]-16)/Md,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/Md,t[2]>Id?Math.pow(t[2],3):(116*t[2]-16)/Md].map(function(e,t){return e*Ld[t]})},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),jd=.5*Math.pow(5,.5)+.5,qd=Object.freeze({__proto__:null,contrastWCAG21:function(e,t){e=$c(e),t=$c(t);var r=Math.max(Bd(e),0),n=Math.max(Bd(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1]}return(r+.05)/(n+.05)},contrastAPCA:function(e,t){var r,n,a,o;t=$c(t),e=$c(e);var i=W((t=cd(t,"srgb")).coords,3);n=i[0],a=i[1],o=i[2];var u=.2126729*_d(n)+.7151522*_d(a)+.072175*_d(o),s=W((e=cd(e,"srgb")).coords,3);n=s[0],a=s[1],o=s[2];var l=.2126729*_d(n)+.7151522*_d(a)+.072175*_d(o),c=Od(u),d=Od(l),p=d>c;return r=Math.abs(d-c)<5e-4?0:p?1.14*(Math.pow(d,.56)-Math.pow(c,.57)):1.14*(Math.pow(d,.65)-Math.pow(c,.62)),100*(Math.abs(r)<.1?0:r>0?r-.027:r+.027)},contrastMichelson:function(e,t){e=$c(e),t=$c(t);var r=Math.max(Bd(e),0),n=Math.max(Bd(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1]}var o=r+n;return 0===o?0:(r-n)/o},contrastWeber:function(e,t){e=$c(e),t=$c(t);var r=Math.max(Bd(e),0),n=Math.max(Bd(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1]}return 0===n?5e4:(r-n)/n},contrastLstar:function(e,t){e=$c(e),t=$c(t);var r=Hc(e,[Qc,"l"]),n=Hc(t,[Qc,"l"]);return Math.abs(r-n)},contrastDeltaPhi:function(e,t){e=$c(e),t=$c(t);var r=Hc(e,[Vd,"l"]),n=Hc(t,[Vd,"l"]),a=Math.abs(Math.pow(r,jd)-Math.pow(n,jd)),o=Math.pow(a,1/jd)*Math.SQRT2-40;return o<7.5?0:o}});function zd(e){var t=W(Uc(e,jc),3),r=t[0],n=t[1],a=r+15*n+3*t[2];return[4*r/a,9*n/a]}function $d(e){var t=W(Uc(e,jc),3),r=t[0],n=t[1],a=r+n+t[2];return[r/a,n/a]}var Ud=Object.freeze({__proto__:null,uv:zd,xy:$d,register:function(e){Object.defineProperty(e.prototype,"uv",{get:function(){return zd(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return $d(this)}})}}),Hd=Math.PI/180,Wd=new Vc({id:"xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:jc,fromBase:function(e){return e.map(function(e){return Math.max(203*e,0)})},toBase:function(e){return e.map(function(e){return Math.max(e/203,0)})}}),Gd=1.15,Kd=.66,Yd=2610/Math.pow(2,14),Zd=Math.pow(2,14)/2610,Xd=3424/Math.pow(2,12),Jd=2413/Math.pow(2,7),Qd=2392/Math.pow(2,7),ep=1.7*2523/Math.pow(2,5),tp=Math.pow(2,5)/(1.7*2523),rp=-.56,np=16295499532821565e-27,ap=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],op=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],ip=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],up=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-.1386050432715393,-.05804731615611886],[.9999999999999998,-.09601924202631895,-.8118918960560388]],sp=new Vc({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.5,.5]},bz:{refRange:[-.5,.5]}},base:Wd,fromBase:function(e){var t=W(e,3),r=t[0],n=t[1],a=t[2],o=bc(ap,[Gd*r-(Gd-1)*a,Kd*n-(Kd-1)*r,a]).map(function(e){var t=Xd+Jd*Math.pow(e/1e4,Yd),r=1+Qd*Math.pow(e/1e4,Yd);return Math.pow(t/r,ep)}),i=W(bc(ip,o),3),u=i[0],s=i[1],l=i[2];return[(1+rp)*u/(1+rp*u)-np,s,l]},toBase:function(e){var t=W(e,3),r=t[0],n=t[1],a=t[2],o=bc(up,[(r+np)/(1+rp-rp*(r+np)),n,a]).map(function(e){var t=Xd-Math.pow(e,tp),r=Qd*Math.pow(e,tp)-Jd;return 1e4*Math.pow(t/r,Zd)}),i=W(bc(op,o),3),u=i[0],s=i[1],l=i[2],c=(u+(Gd-1)*l)/Gd;return[c,(s+(Kd-1)*c)/Kd,l]},formats:{color:{}}}),lp=new Vc({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,1],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:sp,fromBase:function(e){var t,r=W(e,3),n=r[0],a=r[1],o=r[2],i=2e-4;return t=Math.abs(a)<i&&Math.abs(o)<i?NaN:180*Math.atan2(o,a)/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),ed(t)]},toBase:function(e){return[e[0],e[1]*Math.cos(e[2]*Math.PI/180),e[1]*Math.sin(e[2]*Math.PI/180)]},formats:{color:{}}}),cp=.8359375,dp=2413/128,pp=18.6875,hp=2610/16384,fp=16384/2610,mp=32/2523,Dp=[[.3592,.6976,-.0358],[-.1922,1.1004,.0755],[.007,.0749,.8434]],gp=[[.5,.5,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],vp=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-.008605050147287059,-.11103437159861648],[1.0000320633910054,.56004913547279,-.3206339100541203]],bp=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-.04542175307585323],[-.04959554223893211,-.04942116118675749,1.1879959417328034]],yp=new Vc({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-.5,.5],name:"CT"},cp:{refRange:[-.5,.5],name:"CP"}},base:Wd,fromBase:function(e){return t=bc(Dp,e),r=t.map(function(e){var t=cp+dp*Math.pow(e/1e4,hp),r=1+pp*Math.pow(e/1e4,hp);return Math.pow(t/r,78.84375)}),bc(gp,r);var t,r},toBase:function(e){var t=function(e){return bc(vp,e).map(function(e){var t=Math.max(Math.pow(e,mp)-cp,0),r=dp-pp*Math.pow(e,mp);return 1e4*Math.pow(t/r,fp)})}(e);return bc(bp,t)},formats:{color:{}}}),Fp=[[.8190224432164319,.3619062562801221,-.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],wp=[[1.2268798733741557,-.5578149965554813,.28139105017721583],[-.04057576262431372,1.1122868293970594,-.07171106666151701],[-.07637294974672142,-.4214933239627914,1.5869240244272418]],Ep=[[.2104542553,.793617785,-.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-.808675766]],Cp=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-.10556134232365635,-.06385417477170591],[1.0000000546724108,-.08948418209496575,-1.2914855378640917]],xp=new Vc({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-.4,.4]},b:{refRange:[-.4,.4]}},white:"D65",base:jc,fromBase:function(e){var t=bc(Fp,e).map(function(e){return Math.cbrt(e)});return bc(Ep,t)},toBase:function(e){var t=bc(Cp,e).map(function(e){return Math.pow(e,3)});return bc(wp,t)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}}),Ap=Object.freeze({__proto__:null,deltaE76:function(e,t){return Nd(e,t,"lab")},deltaECMC:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.l,a=void 0===n?2:n,o=r.c,i=void 0===o?1:o,u=W(Qc.from(e),3),s=u[0],l=u[1],c=u[2],d=W(td.from(Qc,[s,l,c]),3),p=d[1],h=d[2],f=W(Qc.from(t),3),m=f[0],D=f[1],g=f[2],v=td.from(Qc,[m,D,g])[1];p<0&&(p=0),v<0&&(v=0);var b=s-m,y=p-v,F=l-D,w=c-g,E=Math.pow(F,2)+Math.pow(w,2)-Math.pow(y,2),C=.511;s>=16&&(C=.040975*s/(1+.01765*s));var x,A=.0638*p/(1+.0131*p)+.638;Number.isNaN(h)&&(h=0),x=h>=164&&h<=345?.56+Math.abs(.2*Math.cos((h+168)*Hd)):.36+Math.abs(.4*Math.cos((h+35)*Hd));var T=Math.pow(p,4),k=Math.sqrt(T/(T+1900)),N=A*(k*x+1-k),B=Math.pow(b/(a*C),2);return B+=Math.pow(y/(i*A),2),B+=E/Math.pow(N,2),Math.sqrt(B)},deltaE2000:id,deltaEJz:function(e,t){var r=W(lp.from(e),3),n=r[0],a=r[1],o=r[2],i=W(lp.from(t),3),u=i[0],s=i[1],l=i[2],c=n-u,d=a-s;Number.isNaN(o)&&Number.isNaN(l)?(o=0,l=0):Number.isNaN(o)?o=l:Number.isNaN(l)&&(l=o);var p=o-l,h=2*Math.sqrt(a*s)*Math.sin(p/2*(Math.PI/180));return Math.sqrt(Math.pow(c,2)+Math.pow(d,2)+Math.pow(h,2))},deltaEITP:function(e,t){var r=W(yp.from(e),3),n=r[0],a=r[1],o=r[2],i=W(yp.from(t),3),u=i[0],s=i[1],l=i[2];return 720*Math.sqrt(Math.pow(n-u,2)+.25*Math.pow(a-s,2)+Math.pow(o-l,2))},deltaEOK:function(e,t){var r=W(xp.from(e),3),n=r[0],a=r[1],o=r[2],i=W(xp.from(t),3),u=n-i[0],s=a-i[1],l=o-i[2];return Math.sqrt(Math.pow(u,2)+Math.pow(s,2)+Math.pow(l,2))}});function Tp(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};yc(r)&&(r={method:r});var n=r,a=n.method,o=void 0===a?Sc.deltaE:a,i=z(n,E);for(var u in e=$c(e),t=$c(t),Ap)if("deltae"+o.toLowerCase()===u.toLowerCase())return Ap[u](e,t,i);throw new TypeError("Unknown deltaE method: ".concat(o))}var kp=Object.freeze({__proto__:null,lighten:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25;return Gc(e,[Vc.get("oklch","lch"),"l"],function(e){return e*(1+t)})},darken:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25;return Gc(e,[Vc.get("oklch","lch"),"l"],function(e){return e*(1-t)})}});function Np(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.5,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=[$c(e),$c(t)];if(e=a[0],t=a[1],"object"===Fc(r)){var o=[.5,r];r=o[0],n=o[1]}var i=n;return Rp(e,t,{space:i.space,outputSpace:i.outputSpace,premultiplied:i.premultiplied})(r)}function Bp(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Sp(e)){n=t;var a=W((r=e).rangeArgs.colors,2);e=a[0],t=a[1]}var o=n,i=o.maxDeltaE,u=o.deltaEMethod,s=o.steps,l=void 0===s?2:s,c=o.maxSteps,d=void 0===c?1e3:c,p=z(o,C);if(!r){var h=[$c(e),$c(t)];r=Rp(e=h[0],t=h[1],p)}var f=Tp(e,t),m=i>0?Math.max(l,Math.ceil(f/i)+1):l,D=[];if(void 0!==d&&(m=Math.min(m,d)),1===m)D=[{p:.5,color:r(.5)}];else{var g=1/(m-1);D=Array.from({length:m},function(e,t){var n=t*g;return{p:n,color:r(n)}})}if(i>0)for(var v=D.reduce(function(e,t,r){if(0===r)return 0;var n=Tp(t.color,D[r-1].color,u);return Math.max(e,n)},0);v>i;){v=0;for(var b=1;b<D.length&&D.length<d;b++){var y=D[b-1],F=D[b],w=(F.p+y.p)/2,E=r(w);v=Math.max(v,Tp(E,y.color),Tp(E,F.color)),D.splice(b,0,{p:w,color:r(w)}),b++}}return D=D.map(function(e){return e.color})}function Rp(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Sp(e)){var n=e,a=t;return Rp.apply(void 0,$(n.rangeArgs.colors).concat([H({},n.rangeArgs.options,a)]))}var o=r.space,i=r.outputSpace,u=r.progression,s=r.premultiplied;e=$c(e),t=$c(t),e=sd(e),t=sd(t);var l={colors:[e,t],options:r};if(o=o?Vc.get(o):Vc.registry[Sc.interpolationSpace]||e.space,i=i?Vc.get(i):o,e=cd(e,o),t=cd(t,o),e=ld(e),t=ld(t),o.coords.h&&"angle"===o.coords.h.type){var c=r.hue=r.hue||"shorter",d=[o,"h"],p=[Hc(e,d),Hc(t,d)],h=p[0],f=p[1],m=function(e,t){if("raw"===e)return t;var r=W(t.map(ed),2),n=r[0],a=r[1],o=a-n;return"increasing"===e?o<0&&(a+=360):"decreasing"===e?o>0&&(n+=360):"longer"===e?-180<o&&o<180&&(o>0?a+=360:n+=360):"shorter"===e&&(o>180?n+=360:o<-180&&(a+=360)),[n,a]}(c,[h,f]),D=W(m,2);h=D[0],f=D[1],Gc(e,d,h),Gc(t,d,f)}return s&&(e.coords=e.coords.map(function(t){return t*e.alpha}),t.coords=t.coords.map(function(e){return e*t.alpha})),Object.assign(function(r){r=u?u(r):r;var n=e.coords.map(function(e,n){return xc(e,t.coords[n],r)}),a=xc(e.alpha,t.alpha,r),l={space:o,coords:n,alpha:a};return s&&(l.coords=l.coords.map(function(e){return e/a})),i!==o&&(l=cd(l,i)),l},{rangeArgs:l})}function Sp(e){return"function"===Fc(e)&&!!e.rangeArgs}Sc.interpolationSpace="lab";var Op=Object.freeze({__proto__:null,mix:Np,steps:Bp,range:Rp,isRange:Sp,register:function(e){e.defineFunction("mix",Np,{returns:"color"}),e.defineFunction("range",Rp,{returns:"function<color>"}),e.defineFunction("steps",Bp,{returns:"array<color>"})}}),_p=new Vc({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:Fd,fromBase:function(e){var t=Math.max.apply(Math,$(e)),r=Math.min.apply(Math,$(e)),n=W(e,3),a=n[0],o=n[1],i=n[2],u=NaN,s=0,l=(r+t)/2,c=t-r;if(0!==c){switch(s=0===l||1===l?0:(t-l)/Math.min(l,1-l),t){case a:u=(o-i)/c+(o<i?6:0);break;case o:u=(i-a)/c+2;break;case i:u=(a-o)/c+4}u*=60}return[u,100*s,100*l]},toBase:function(e){var t=W(e,3),r=t[0],n=t[1],a=t[2];function o(e){var t=(e+r/30)%12,o=n*Math.min(a,1-a);return a-o*Math.max(-1,Math.min(t-3,9-t,1))}return(r%=360)<0&&(r+=360),n/=100,a/=100,[o(0),o(8),o(4)]},formats:{hsl:{toGamut:!0,coords:["<number> | <angle>","<percentage>","<percentage>"]},hsla:{coords:["<number> | <angle>","<percentage>","<percentage>"],commas:!0,lastAlpha:!0}}}),Pp=new Vc({id:"hsv",name:"HSV",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},v:{range:[0,100],name:"Value"}},base:_p,fromBase:function(e){var t=W(e,3),r=t[0],n=t[1],a=t[2],o=(a/=100)+(n/=100)*Math.min(a,1-a);return[r,0===o?0:200*(1-a/o),100*o]},toBase:function(e){var t=W(e,3),r=t[0],n=t[1],a=t[2],o=(a/=100)*(1-(n/=100)/2);return[r,0===o||1===o?0:(a-o)/Math.min(o,1-o)*100,100*o]},formats:{color:{toGamut:!0}}}),Ip=new Vc({id:"hwb",name:"HWB",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},w:{range:[0,100],name:"Whiteness"},b:{range:[0,100],name:"Blackness"}},base:Pp,fromBase:function(e){var t=W(e,3),r=t[0],n=t[1],a=t[2];return[r,a*(100-n)/100,100-a]},toBase:function(e){var t=W(e,3),r=t[0],n=t[1],a=t[2],o=(n/=100)+(a/=100);if(o>=1)return[r,0,n/o*100];var i=1-a;return[r,100*(0===i?0:1-n/i),100*i]},formats:{hwb:{toGamut:!0,coords:["<number> | <angle>","<percentage>","<percentage>"]}}}),Mp=new qc({id:"a98rgb-linear",name:"Linear Adobe® 98 RGB compatible",white:"D65",toXYZ_M:[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],fromXYZ_M:[[2.0415879038107465,-.5650069742788596,-.34473135077832956],[-.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-.11836239223101838,1.0151749943912054]]}),Lp=new qc({id:"a98rgb",name:"Adobe® 98 RGB compatible",base:Mp,toBase:function(e){return e.map(function(e){return Math.pow(Math.abs(e),563/256)*Math.sign(e)})},fromBase:function(e){return e.map(function(e){return Math.pow(Math.abs(e),256/563)*Math.sign(e)})},formats:{color:{id:"a98-rgb"}}}),Vp=new qc({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:Kc,toXYZ_M:[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],fromXYZ_M:[[1.3457989731028281,-.25558010007997534,-.05110628506753401],[-.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]]}),jp=1/512,qp=new qc({id:"prophoto",name:"ProPhoto",base:Vp,toBase:function(e){return e.map(function(e){return e<.03125?e/16:Math.pow(e,1.8)})},fromBase:function(e){return e.map(function(e){return e>=jp?Math.pow(e,1/1.8):16*e})},formats:{color:{id:"prophoto-rgb"}}}),zp=new Vc({id:"oklch",name:"OKLCh",coords:{l:{refRange:[0,1],name:"Lightness"},c:{refRange:[0,.4],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},white:"D65",base:xp,fromBase:function(e){var t,r=W(e,3),n=r[0],a=r[1],o=r[2],i=2e-4;return t=Math.abs(a)<i&&Math.abs(o)<i?NaN:180*Math.atan2(o,a)/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),ed(t)]},toBase:function(e){var t,r,n=W(e,3),a=n[0],o=n[1],i=n[2];return isNaN(i)?(t=0,r=0):(t=o*Math.cos(i*Math.PI/180),r=o*Math.sin(i*Math.PI/180)),[a,t,r]},formats:{oklch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),$p=2610/Math.pow(2,14),Up=Math.pow(2,14)/2610,Hp=2523/Math.pow(2,5),Wp=Math.pow(2,5)/2523,Gp=3424/Math.pow(2,12),Kp=2413/Math.pow(2,7),Yp=2392/Math.pow(2,7),Zp=new qc({id:"rec2100pq",name:"REC.2100-PQ",base:pd,toBase:function(e){return e.map(function(e){return 1e4*Math.pow(Math.max(Math.pow(e,Wp)-Gp,0)/(Kp-Yp*Math.pow(e,Wp)),Up)/203})},fromBase:function(e){return e.map(function(e){var t=Math.max(203*e/1e4,0),r=Gp+Kp*Math.pow(t,$p),n=1+Yp*Math.pow(t,$p);return Math.pow(r/n,Hp)})},formats:{color:{id:"rec2100-pq"}}}),Xp=.17883277,Jp=.28466892,Qp=.55991073,eh=3.7743,th=new qc({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:pd,toBase:function(e){return e.map(function(e){return e<=.5?Math.pow(e,2)/3*eh:Math.exp((e-Qp)/Xp+Jp)/12*eh})},fromBase:function(e){return e.map(function(e){return(e/=eh)<=1/12?Math.sqrt(3*e):Xp*Math.log(12*e-Jp)+Qp})},formats:{color:{id:"rec2100-hlg"}}}),rh={};function nh(e){var t=e.id;e.toCone_M,e.fromCone_M,rh[t]=arguments[0]}function ah(e,t){var r=rh[arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Bradford"],n=W(bc(r.toCone_M,e),3),a=n[0],o=n[1],i=n[2],u=W(bc(r.toCone_M,t),3),s=bc([[u[0]/a,0,0],[0,u[1]/o,0],[0,0,u[2]/i]],r.toCone_M);return bc(r.fromCone_M,s)}Rc.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=ah(e.W1,e.W2,e.options.method))}),Rc.add("chromatic-adaptation-end",function(e){e.M||(e.M=ah(e.W1,e.W2,e.options.method))}),nh({id:"von Kries",toCone_M:[[.40024,.7076,-.08081],[-.2263,1.16532,.0457],[0,0,.91822]],fromCone_M:[[1.8599364,-1.1293816,.2198974],[.3611914,.6388125,-64e-7],[0,0,1.0890636]]}),nh({id:"Bradford",toCone_M:[[.8951,.2664,-.1614],[-.7502,1.7135,.0367],[.0389,-.0685,1.0296]],fromCone_M:[[.9869929,-.1470543,.1599627],[.4323053,.5183603,.0492912],[-.0085287,.0400428,.9684867]]}),nh({id:"CAT02",toCone_M:[[.7328,.4296,-.1624],[-.7036,1.6975,.0061],[.003,.0136,.9834]],fromCone_M:[[1.0961238,-.278869,.1827452],[.454369,.4735332,.0720978],[-.0096276,-.005698,1.0153256]]}),nh({id:"CAT16",toCone_M:[[.401288,.650173,-.051461],[-.250268,1.204414,.045854],[-.002079,.048952,.953127]],fromCone_M:[[1.862067855087233,-1.011254630531685,.1491867754444518],[.3875265432361372,.6214474419314753,-.008973985167612518],[-.01584149884933386,-.03412293802851557,1.04996443687785]]}),Object.assign(Oc,{A:[1.0985,1,.35585],C:[.98074,1,1.18232],D55:[.95682,1,.92149],D75:[.94972,1,1.22638],E:[1,1,1],F2:[.99186,1,.67393],F7:[.95041,1,1.08747],F11:[1.00962,1,.6435]}),Oc.ACES=[.32168/.33767,1,.34065/.33767];var oh=new qc({id:"acescg",name:"ACEScg",coords:{r:{range:[0,65504],name:"Red"},g:{range:[0,65504],name:"Green"},b:{range:[0,65504],name:"Blue"}},referred:"scene",white:Oc.ACES,toXYZ_M:[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-.005574649490394108,.004060733528982826,1.0103391003129971]],fromXYZ_M:[[1.6410233796943257,-.32480329418479,-.23642469523761225],[-.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-.008284441996237409,.9883948585390215]],formats:{color:{}}}),ih=Math.pow(2,-16),uh=-.35828683,sh=(Math.log2(65504)+9.72)/17.52,lh=new qc({id:"acescc",name:"ACEScc",coords:{r:{range:[uh,sh],name:"Red"},g:{range:[uh,sh],name:"Green"},b:{range:[uh,sh],name:"Blue"}},referred:"scene",base:oh,toBase:function(e){return e.map(function(e){return e<=-.3013698630136986?2*(Math.pow(2,17.52*e-9.72)-ih):e<sh?Math.pow(2,17.52*e-9.72):65504})},fromBase:function(e){return e.map(function(e){return e<=0?(Math.log2(ih)+9.72)/17.52:e<ih?(Math.log2(ih+.5*e)+9.72)/17.52:(Math.log2(e)+9.72)/17.52})},formats:{color:{}}}),ch=Object.freeze({__proto__:null,XYZ_D65:jc,XYZ_D50:Kc,XYZ_ABS_D65:Wd,Lab_D65:Vd,Lab:Qc,LCH:td,sRGB_Linear:gd,sRGB:Fd,HSL:_p,HWB:Ip,HSV:Pp,P3_Linear:Dd,P3:wd,A98RGB_Linear:Mp,A98RGB:Lp,ProPhoto_Linear:Vp,ProPhoto:qp,REC_2020_Linear:pd,REC_2020:md,OKLab:xp,OKLCH:zp,Jzazbz:sp,JzCzHz:lp,ICTCP:yp,REC_2100_PQ:Zp,REC_2100_HLG:th,ACEScg:oh,ACEScc:lh}),dh=(O=new WeakMap,X(function e(){var t,r,n,a,o=this;Y(this,e),I(this,O,void 0);for(var i=arguments.length,u=new Array(i),s=0;s<i;s++)u[s]=arguments[s];1===u.length&&(t=$c(u[0])),t?(r=t.space||t.spaceId,n=t.coords,a=t.alpha):(r=u[0],n=u[1],a=u[2]),j(O,this,Vc.get(r)),this.coords=n?n.slice():[0,0,0],this.alpha=a<1?a:1;for(var l=0;l<this.coords.length;l++)"NaN"===this.coords[l]&&(this.coords[l]=NaN);var c=function(e){Object.defineProperty(o,e,{get:function(){return o.get(e)},set:function(t){return o.set(e,t)}})};for(var d in V(O,this).coords)c(d)},[{key:"space",get:function(){return V(O,this)}},{key:"spaceId",get:function(){return V(O,this).id}},{key:"clone",value:function(){return new dh(this.space,this.coords,this.alpha)}},{key:"toJSON",value:function(){return{spaceId:this.spaceId,coords:this.coords,alpha:this.alpha}}},{key:"display",value:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=kd.apply(void 0,[this].concat(t));return n.color=new dh(n.color),n}}],[{key:"get",value:function(e){if(e instanceof dh)return e;for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return function(e,t,r){if(S())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var a=new(e.bind.apply(e,n));return r&&P(a,r.prototype),a}(dh,[e].concat(r))}},{key:"defineFunction",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,n=r.instance,a=void 0===n||n,o=r.returns,i=function(){var e=t.apply(void 0,arguments);if("color"===o)e=dh.get(e);else if("function<color>"===o){var r=e;e=function(){var e=r.apply(void 0,arguments);return dh.get(e)},Object.assign(e,r)}else"array<color>"===o&&(e=e.map(function(e){return dh.get(e)}));return e};e in dh||(dh[e]=i),a&&(dh.prototype[e]=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return i.apply(void 0,[this].concat(t))})}},{key:"defineFunctions",value:function(e){for(var t in e)dh.defineFunction(t,e[t],e[t])}},{key:"extend",value:function(e){if(e.register)e.register(dh);else for(var t in e)dh.defineFunction(t,e[t])}}]));dh.defineFunctions({get:Hc,getAll:Uc,set:Gc,setAll:Wc,to:cd,equals:function(e,t){return e=$c(e),t=$c(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every(function(e,r){return e===t.coords[r]})},inGamut:ud,toGamut:ld,distance:Nd,toString:dd}),Object.assign(dh,{util:Nc,hooks:Rc,WHITES:Oc,Space:Vc,spaces:Vc.registry,parse:zc,defaults:Sc});for(var ph=0,hh=Object.keys(ch);ph<hh.length;ph++){var fh=hh[ph];Vc.register(ch[fh])}for(var mh in Vc.registry)Dh(mh,Vc.registry[mh]);function Dh(e,t){Object.keys(t.coords),Object.values(t.coords).map(function(e){return e.name});var r=e.replace(/-/g,"_");Object.defineProperty(dh.prototype,r,{get:function(){var r=this,n=this.getAll(e);return"undefined"==typeof Proxy?n:new Proxy(n,{has:function(e,r){try{return Vc.resolveCoord([t,r]),!0}catch(e){}return Reflect.has(e,r)},get:function(e,r,n){if(r&&"symbol"!==l(r)&&!(r in e)){var a=Vc.resolveCoord([t,r]).index;if(a>=0)return e[a]}return Reflect.get(e,r,n)},set:function(n,a,o,i){if(a&&"symbol"!==l(a)&&!(a in n)||a>=0){var u=Vc.resolveCoord([t,a]).index;if(u>=0)return n[u]=o,r.setAll(e,n),!0}return Reflect.set(n,a,o,i)}})},set:function(t){this.setAll(e,t)},configurable:!0,enumerable:!0})}Rc.add("colorspace-init-end",function(e){var t;Dh(e.id,e),null===(t=e.aliases)||void 0===t||t.forEach(function(t){Dh(t,e)})}),dh.extend(Ap),dh.extend({deltaE:Tp}),dh.extend(kp),dh.extend({contrast:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};yc(r)&&(r={algorithm:r});var n=r,a=n.algorithm,o=z(n,w);if(!a){var i=Object.keys(qd).map(function(e){return e.replace(/^contrast/,"")}).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(i))}for(var u in e=$c(e),t=$c(t),qd)if("contrast"+a.toLowerCase()===u.toLowerCase())return qd[u](e,t,o);throw new TypeError("Unknown contrast algorithm: ".concat(a))}}),dh.extend(Ud),dh.extend(Sd),dh.extend(Op),dh.extend(qd);var gh=fe(Qn());gc.default.templateSettings.strip=!1;var vh=/^#[0-9a-f]{3,8}$/i,bh=/hsl\(\s*([-\d.]+)(rad|turn)/,yh=(L=new WeakMap,Z=new WeakMap,te=new WeakMap,re=new WeakMap,ne=new WeakMap,ae=new WeakMap,oe=new WeakSet,X(function e(t,r,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(Y(this,e),M(this,oe),I(this,L,void 0),I(this,Z,void 0),I(this,te,void 0),I(this,re,void 0),I(this,ne,void 0),I(this,ae,void 0),t instanceof yh){var o=t.r,i=t.g,u=t.b;return this.r=o,this.g=i,this.b=u,void(this.alpha=t.alpha)}this.red=t,this.green=r,this.blue=n,this.alpha=a},[{key:"r",get:function(){return V(L,this)},set:function(e){j(L,this,e),j(re,this,Math.round(255*Eh(e,0,1)))}},{key:"g",get:function(){return V(Z,this)},set:function(e){j(Z,this,e),j(ne,this,Math.round(255*Eh(e,0,1)))}},{key:"b",get:function(){return V(te,this)},set:function(e){j(te,this,e),j(ae,this,Math.round(255*Eh(e,0,1)))}},{key:"red",get:function(){return V(re,this)},set:function(e){j(L,this,e/255),j(re,this,Eh(e,0,255))}},{key:"green",get:function(){return V(ne,this)},set:function(e){j(Z,this,e/255),j(ne,this,Eh(e,0,255))}},{key:"blue",get:function(){return V(ae,this)},set:function(e){j(te,this,e/255),j(ae,this,Eh(e,0,255))}},{key:"toHexString",value:function(){var e=Math.round(this.red).toString(16),t=Math.round(this.green).toString(16),r=Math.round(this.blue).toString(16);return"#"+(this.red>15.5?e:"0"+e)+(this.green>15.5?t:"0"+t)+(this.blue>15.5?r:"0"+r)}},{key:"toJSON",value:function(){return{red:this.red,green:this.green,blue:this.blue,alpha:this.alpha}}},{key:"parseString",value:function(e){e=e.replace(bh,function(e,t,r){var n=t+r;switch(r){case"rad":return e.replace(n,180*t/Math.PI);case"turn":return e.replace(n,360*t)}});try{var t;"Prototype"in i&&"Version"in i.Prototype&&(t=Array.from,Array.from=gh.default);var r=new dh(e).to("srgb");t&&(Array.from=t,t=null),this.r=r.r,this.g=r.g,this.b=r.b,this.alpha=+r.alpha}catch(t){throw new Error('Unable to parse color "'.concat(e,'"'))}return this}},{key:"parseRgbString",value:function(e){this.parseString(e)}},{key:"parseHexString",value:function(e){e.match(vh)&&![6,8].includes(e.length)&&this.parseString(e)}},{key:"parseColorFnString",value:function(e){this.parseString(e)}},{key:"getRelativeLuminance",value:function(){var e=this.r,t=this.g,r=this.b;return.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))}},{key:"getLuminosity",value:function(){return.3*this.r+.59*this.g+.11*this.b}},{key:"setLuminosity",value:function(e){var t=e-this.getLuminosity();return q(oe,this,Fh).call(this,t).clip()}},{key:"getSaturation",value:function(){return Math.max(this.r,this.g,this.b)-Math.min(this.r,this.g,this.b)}},{key:"setSaturation",value:function(e){var t=new yh(this),r=W([{name:"r",value:t.r},{name:"g",value:t.g},{name:"b",value:t.b}].sort(function(e,t){return e.value-t.value}),3),n=r[0],a=r[1],o=r[2];return o.value>n.value?(a.value=(a.value-n.value)*e/(o.value-n.value),o.value=e):a.value=o.value=0,n.value=0,t[o.name]=o.value,t[n.name]=n.value,t[a.name]=a.value,t}},{key:"clip",value:function(){var e=new yh(this),t=e.getLuminosity(),r=Math.min(e.r,e.g,e.b),n=Math.max(e.r,e.g,e.b);return r<0&&(e.r=t+(e.r-t)*t/(t-r),e.g=t+(e.g-t)*t/(t-r),e.b=t+(e.b-t)*t/(t-r)),n>1&&(e.r=t+(e.r-t)*(1-t)/(n-t),e.g=t+(e.g-t)*(1-t)/(n-t),e.b=t+(e.b-t)*(1-t)/(n-t)),e}}]));function Fh(e){var t=new yh(this);return t.r+=e,t.g+=e,t.b+=e,t}var wh=yh;function Eh(e,t,r){return Math.min(Math.max(t,e),r)}var Ch=function(e){var t=new wh;if(t.parseString(e.getPropertyValue("background-color")),0!==t.alpha){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r}return t},xh=function(e){var t=i.getComputedStyle(e);return lc(e,t)||1===Ch(t).alpha};function Ah(e){if(!e.href)return!1;var t=eo.get("firstPageLink",Th);return!t||e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING}function Th(){return(i.location.origin?fm(c._tree,'a[href]:not([href^="javascript:"])').find(function(e){return!$u(e.actualNode)}):fm(c._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0])||null}var kh=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Nh=/(\w+)\((\d+)/;var Bh=function e(t,r,n){var a;if(!t)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var o=t instanceof oa?t:to(t);t=o?o.actualNode:t;var u="_isVisible"+(r?"ScreenReader":""),s=null!==(a=i.Node)&&void 0!==a?a:{},l=s.DOCUMENT_NODE,d=s.DOCUMENT_FRAGMENT_NODE,p=o?o.props.nodeType:t.nodeType,h=o?o.props.nodeName:t.nodeName.toLowerCase();if(o&&void 0!==o[u])return o[u];if(p===l)return!0;if(["style","script","noscript","template"].includes(h))return!1;if(t&&p===d&&(t=t.host),r&&"true"===(o?o.attr("aria-hidden"):t.getAttribute("aria-hidden")))return!1;if(!t){var f=o.parent,m=!0;return f&&(m=e(f,r,!0)),o&&(o[u]=m),m}var D=i.getComputedStyle(t,null);if(null===D)return!1;if("area"===h)return function(t,r,n){var a=Bi(t,"map");if(!a)return!1;var o=a.getAttribute("name");if(!o)return!1;var i=Ti(t);if(!i||9!==i.nodeType)return!1;var u=fm(c._tree,'img[usemap="#'.concat(Fa(o),'"]'));return!(!u||!u.length)&&u.some(function(t){return e(t.actualNode,r,n)})}(t,r,n);if("none"===D.getPropertyValue("display"))return!1;var g=parseInt(D.getPropertyValue("height")),v=parseInt(D.getPropertyValue("width")),b=kf(t),y=b&&0===g,F=b&&0===v,w="absolute"===D.getPropertyValue("position")&&(g<2||v<2)&&"hidden"===D.getPropertyValue("overflow");if(!r&&(function(e){var t=e.getPropertyValue("clip").match(kh),r=e.getPropertyValue("clip-path").match(Nh);if(t&&5===t.length){var n=e.getPropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],o=parseInt(r[2],10);switch(a){case"inset":return o>=50;case"circle":return 0===o}}return!1}(D)||"0"===D.getPropertyValue("opacity")||y||F||w))return!1;if(!n&&("hidden"===D.getPropertyValue("visibility")||!r&&tu(t)))return!1;var E=t.assignedSlot?t.assignedSlot:t.parentNode,C=!1;return E&&(C=e(E,r,!0)),o&&(o[u]=C),C},Rh=function(e,t){for(var r=["fixed","sticky"],n=[],a=!1,o=0;o<e.length;++o){var u=e[o];u===t&&(a=!0);var s=i.getComputedStyle(u);a||-1===r.indexOf(s.position)?n.push(u):n=[]}return n};function Sh(e,t){var r=Oh(t);do{var n=Oh(e);if(n===r||n===t)return _h(e,t);e=n}while(e);return!1}function Oh(e){for(var t=to(e).parent;t;){if(kf(t.actualNode))return t.actualNode;t=t.parent}}function _h(e,t){var r=i.getComputedStyle(t),n=r.getPropertyValue("overflow");if("inline"===r.getPropertyValue("display"))return!0;var a=Array.from(e.getClientRects()),o=t.getBoundingClientRect(),u={left:o.left,top:o.top,width:o.width,height:o.height};return(["scroll","auto"].includes(n)||t instanceof i.HTMLHtmlElement)&&(u.width=t.scrollWidth,u.height=t.scrollHeight),1===a.length&&"hidden"===n&&"nowrap"===r.getPropertyValue("white-space")&&(a[0]=u),a.some(function(e){return!(Math.ceil(e.left)<Math.floor(u.left)||Math.ceil(e.top)<Math.floor(u.top)||Math.floor(e.left+e.width)>Math.ceil(u.left+u.width)||Math.floor(e.top+e.height)>Math.ceil(u.top+u.height))})}var Ph=function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(a>999)throw new Error("Infinite loop detected");return Array.from(n.elementsFromPoint(t,r)||[]).filter(function(e){return Ti(e)===n}).reduce(function(n,o){if(Ci(o)){var i=e(t,r,o.shadowRoot,a+1);(n=n.concat(i)).length&&Sh(n[0],o)&&n.push(o)}else n.push(o);return n},[])};function Ih(e){var t={};if(!e||!e.length)return t;var r=e.substring(1).split("&");if(!r||!r.length)return t;for(var n=0;n<r.length;n++){var a=W(r[n].split("="),2),o=a[0],i=a[1],u=void 0===i?"":i;t[decodeURIComponent(o)]=decodeURIComponent(u)}return t}function Mh(e){if(!e)return"";var t=e.match(/#!?\/?/g);return t?"#"===W(t,1)[0]?"":e:""}var Lh,Vh=function(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),n=e;["A","AREA"].includes(r)&&!e.ownerSVGElement||((n=s.createElement("a")).href=e.getAttribute(t));var a,o=["https:","ftps:"].includes(n.protocol)?n.protocol.replace(/s:$/,":"):n.protocol,i=function(e){var t=e.split("/").pop();return t&&-1!==t.indexOf(".")?{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}:{pathname:e,filename:""}}(/^\//.test(n.pathname)?n.pathname:"/".concat(n.pathname)),u=i.pathname,l=i.filename;return{protocol:o,hostname:n.hostname,port:(a=n.port,["443","80"].includes(a)?"":a),pathname:/\/$/.test(u)?u:"".concat(u,"/"),search:Ih(n.search),hash:Mh(n.hash),filename:l}}},jh=function(e,t){var r=t.getBoundingClientRect(),n=r.top,a=r.left,o=n-t.scrollTop,u=n-t.scrollTop+t.scrollHeight,s=a-t.scrollLeft,l=a-t.scrollLeft+t.scrollWidth;if(e.left>l&&e.left>r.right||e.top>u&&e.top>r.bottom||e.right<s&&e.right<r.left||e.bottom<o&&e.bottom<r.top)return!1;var c=i.getComputedStyle(t);return!(e.left>r.right||e.top>r.bottom)||"scroll"===c.overflow||"auto"===c.overflow||t instanceof i.HTMLBodyElement||t instanceof i.HTMLHtmlElement},qh=0,zh=function(e){function t(e,r,n){var a;if(Y(this,t),(a=R(this,t)).shadowId=n,a.children=[],a.actualNode=e,a.parent=r,r||(qh=0),a.nodeIndex=qh++,a._isHidden=null,a._cache={},a._isXHTML=Ba(e.ownerDocument),"input"===e.nodeName.toLowerCase()){var o=e.getAttribute("type");o=a._isXHTML?o:(o||"").toLowerCase(),Am().includes(o)||(o="text"),a._type=o}return eo.get("nodeMap")&&eo.get("nodeMap").set(e,a),a}return _(t,e),X(t,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var e=this.actualNode,t=e.nodeType,r=e.nodeName,n=e.id,a=e.nodeValue;this._cache.props={nodeType:t,nodeName:this._isXHTML?r:r.toLowerCase(),id:n,type:this._type,nodeValue:a},1===t&&(this._cache.props.multiple=this.actualNode.multiple,this._cache.props.value=this.actualNode.value,this._cache.props.selected=this.actualNode.selected,this._cache.props.checked=this.actualNode.checked,this._cache.props.indeterminate=this.actualNode.indeterminate)}return this._cache.props}},{key:"attr",value:function(e){return"function"!=typeof this.actualNode.getAttribute?null:this.actualNode.getAttribute(e)}},{key:"hasAttr",value:function(e){return"function"==typeof this.actualNode.hasAttribute&&this.actualNode.hasAttribute(e)}},{key:"attrNames",get:function(){var e;return this._cache.hasOwnProperty("attrNames")||(e=this.actualNode.attributes instanceof i.NamedNodeMap?this.actualNode.attributes:this.actualNode.cloneNode(!1).attributes,this._cache.attrNames=Array.from(e).map(function(e){return e.name})),this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(e){var t="computedStyle_"+e;return this._cache.hasOwnProperty(t)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=i.getComputedStyle(this.actualNode)),this._cache[t]=this._cache.computedStyle.getPropertyValue(e)),this._cache[t]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=Ju(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=Zu(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter(function(e){return e.width>0})),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}])}(oa),$h=zh,Uh=function(e){return(e||"").trim().replace(/\s{2,}/g," ").split(" ")},Hh=" [idsMap]";function Wh(e,t,r){var n=e[0]._selectorMap;if(n){for(var a=e[0].shadowId,o=0;o<t.length;o++)if(t[o].length>1&&t[o].some(function(e){return Gh(e)}))return;var i=new Set;t.forEach(function(e){var t,r=function(e,t,r){var n=e[e.length-1],a=null,o=e.length>1||!!n.pseudos||!!n.classes;if(Gh(n))a=t["*"];else{if(n.id){var i;if(!t[Hh]||!Object.hasOwn(t[Hh],n.id)||null===(i=t[Hh][n.id])||void 0===i||!i.length)return;a=t[Hh][n.id].filter(function(e){return e.shadowId===r})}if(n.tag&&"*"!==n.tag){var u;if(null===(u=t[n.tag])||void 0===u||!u.length)return;var s=t[n.tag];a=a?Kh(s,a):s}if(n.classes){var l;if(null===(l=t["[class]"])||void 0===l||!l.length)return;var c=t["[class]"];a=a?Kh(c,a):c}if(n.attributes)for(var d=0;d<n.attributes.length;d++){var p,h=n.attributes[d];if("attrValue"===h.type&&(o=!0),null===(p=t["[".concat(h.key,"]")])||void 0===p||!p.length)return;var f=t["[".concat(h.key,"]")];a=a?Kh(f,a):f}}return{nodes:a,isComplexSelector:o}}(e,n,a);null==r||null===(t=r.nodes)||void 0===t||t.forEach(function(t){r.isComplexSelector&&!wo(t,e)||i.add(t)})});var u=[];return i.forEach(function(e){return u.push(e)}),r&&(u=u.filter(r)),u.sort(function(e,t){return e.nodeIndex-t.nodeIndex})}}function Gh(e){return"*"===e.tag&&!e.attributes&&!e.id&&!e.classes}function Kh(e,t){return e.filter(function(e){return t.includes(e)})}function Yh(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t)}function Zh(e,t){1===e.props.nodeType&&(Yh(e.props.nodeName,e,t),Yh("*",e,t),e.attrNames.forEach(function(r){"id"===r&&(t[Hh]=t[Hh]||{},Uh(e.attr(r)).forEach(function(r){Yh(r,e,t[Hh])})),Yh("[".concat(r,"]"),e,t)}))}function Xh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.documentElement,t=arguments.length>1?arguments[1]:void 0;Lh=!1;var r={};eo.set("nodeMap",new WeakMap),eo.set("selectorMap",r);var n=Qh(e,t,null);return n[0]._selectorMap=r,n[0]._hasShadowRoot=Lh,n}function Jh(e,t,r){var n=new $h(e,t,r);return Zh(n,eo.get("selectorMap")),n}function Qh(e,t,r){var n,a;function o(e,r,n){var a=Qh(r,t,n);return a&&(e=e.concat(a)),e}e.documentElement&&(e=e.documentElement);var u=e.nodeName.toLowerCase();return Ci(e)?(Lh=!0,n=Jh(e,r,t),t="a"+Math.random().toString().substring(2),a=Array.from(e.shadowRoot.childNodes),n.children=a.reduce(function(e,t){return o(e,t,n)},[]),[n]):"content"===u&&"function"==typeof e.getDistributedNodes?(a=Array.from(e.getDistributedNodes())).reduce(function(e,t){return o(e,t,r)},[]):"slot"===u&&"function"==typeof e.assignedNodes?((a=Array.from(e.assignedNodes())).length||(a=function(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}(e)),i.getComputedStyle(e),a.reduce(function(e,t){return o(e,t,r)},[])):1===e.nodeType?(n=Jh(e,r,t),a=Array.from(e.childNodes),n.children=a.reduce(function(e,t){return o(e,t,n)},[]),[n]):3===e.nodeType?[Jh(e,r)]:void 0}var ef=function(e){return e?e.trim().split("-")[0].toLowerCase():""},tf=function(e){var t={};return t.none=e.none.concat(e.all),t.any=e.any,Object.keys(t).map(function(e){if(t[e].length){var r=c._audit.data.failureSummaries[e];return r&&"function"==typeof r.failureMessage?r.failureMessage(t[e].map(function(e){return e.message||""})):void 0}}).filter(function(e){return void 0!==e}).join("\n\n")};function rf(){var e=c._audit.data.incompleteFallbackMessage;return"function"==typeof e&&(e=e()),"string"!=typeof e?"":e}var nf=ra.resultGroups;function af(e,t){var r=c.utils.aggregateResult(e);return nf.forEach(function(e){t.resultTypes&&!t.resultTypes.includes(e)&&(r[e]||[]).forEach(function(e){Array.isArray(e.nodes)&&e.nodes.length>0&&(e.nodes=[e.nodes[0]])}),r[e]=(r[e]||[]).map(function(e){return e=Object.assign({},e),Array.isArray(e.nodes)&&e.nodes.length>0&&(e.nodes=e.nodes.map(function(e){if("object"===l(e.node)){var r=of(e.node,t);Object.assign(e,r)}return delete e.result,delete e.node,function(e,t){["any","all","none"].forEach(function(r){Array.isArray(e[r])&&e[r].filter(function(e){return Array.isArray(e.relatedNodes)}).forEach(function(e){e.relatedNodes=e.relatedNodes.map(function(e){return of(e,t)})})})}(e,t),e})),nf.forEach(function(t){return delete e[t]}),delete e.pageLevel,delete e.result,e})}),r}function of(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=fi.dqElmToSpec(e,t);var r,n,a,o,i,u={};return c._audit.noHtml?u.html=null:u.html=null!==(r=e.source)&&void 0!==r?r:"Undefined",t.elementRef&&!e.fromFrame&&(u.element=null!==(n=e.element)&&void 0!==n?n:null),(!1!==t.selectors||e.fromFrame)&&(u.target=null!==(a=e.selector)&&void 0!==a?a:[":root"]),t.ancestry&&(u.ancestry=null!==(o=e.ancestry)&&void 0!==o?o:[":root"]),t.xpath&&(u.xpath=null!==(i=e.xpath)&&void 0!==i?i:["/"]),u}var uf=/\$\{\s?data\s?\}/g;function sf(e,t){if("string"==typeof t)return e.replace(uf,t);for(var r in t)if(t.hasOwnProperty(r)){var n=new RegExp("\\${\\s?data\\."+r+"\\s?}","g"),a=void 0===t[r]?"":String(t[r]);e=e.replace(n,a)}return e}var lf=function e(t,r){if(t){if(Array.isArray(r))return r.values=r.join(", "),"string"==typeof t.singular&&"string"==typeof t.plural?sf(1===r.length?t.singular:t.plural,r):sf(t,r);if("string"==typeof t)return sf(t,r);if("string"==typeof r)return sf(t[r],r);var n=t.default||rf();return r&&r.messageKey&&t[r.messageKey]&&(n=t[r.messageKey]),e(n,r)}},cf=function(e,t,r){var n=c._audit.data.checks[e];if(!n)throw new Error("Cannot get message for unknown check: ".concat(e,"."));if(!n.messages[t])throw new Error('Check "'.concat(e,'"" does not have a "').concat(t,'" message.'));return lf(n.messages[t],r)},df=function(e,t,r){var n=((r.rules&&r.rules[t]||{}).checks||{})[e.id],a=(r.checks||{})[e.id],o=e.enabled,i=e.options;return a&&(a.hasOwnProperty("enabled")&&(o=a.enabled),a.hasOwnProperty("options")&&(i=a.options)),n&&(n.hasOwnProperty("enabled")&&(o=n.enabled),n.hasOwnProperty("options")&&(i=n.options)),{enabled:o,options:i,absolutePaths:r.absolutePaths}};function pf(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t&&"object"===l(t)?t:"object"!==l(r)?{}:{testEngine:{name:"axe-core",version:c.version},testRunner:{name:c._audit.brand},testEnvironment:hf(r),timestamp:(new Date).toISOString(),url:null===(e=r.location)||void 0===e?void 0:e.href}}function hf(e){if(!e.navigator||"object"!==l(e.navigator))return{};var t,r=e.navigator,n=e.innerHeight,a=e.innerWidth,o=(t=e.screen).orientation||t.msOrientation||t.mozOrientation||{},i=o.angle,u=o.type;return{userAgent:r.userAgent,windowWidth:a,windowHeight:n,orientationAngle:i,orientationType:u}}function ff(e,t){var r=t.focusable,n=t.page;return{node:e,include:[],exclude:[],initiator:!1,focusable:r&&mf(e),size:Df(e),page:n}}function mf(e){var t=Jf(e.getAttribute("tabindex"));return null===t||t>=0}function Df(e){var t=parseInt(e.getAttribute("width"),10),r=parseInt(e.getAttribute("height"),10);if(isNaN(t)||isNaN(r)){var n=e.getBoundingClientRect();t=isNaN(t)?n.width:t,r=isNaN(r)?n.height:r}return{width:t,height:r}}function gf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[];Pf(e)||(e=[e]);for(var r=0;r<e.length;r++){var n=vf(e[r]);n&&t.push(n)}return t}function vf(e){return e instanceof i.Node?e:"string"==typeof e?[e]:(jf(e)?(function(e){Ff(Array.isArray(e.fromFrames),"fromFrames property must be an array"),Ff(e.fromFrames.every(function(e){return!If(e,"fromFrames")}),"Invalid context; fromFrames selector must be appended, rather than nested"),Ff(!If(e,"fromShadowDom"),"fromFrames and fromShadowDom cannot be used on the same object")}(e),e=e.fromFrames):qf(e)&&(e=[e]),function(e){if(Array.isArray(e)){var t,r=[],n=Q(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;if(qf(a)&&(bf(a),a=a.fromShadowDom),"string"!=typeof a&&!yf(a))return;r.push(a)}}catch(e){n.e(e)}finally{n.f()}return r}}(e))}function bf(e){Ff(Array.isArray(e.fromShadowDom),"fromShadowDom property must be an array"),Ff(e.fromShadowDom.every(function(e){return!If(e,"fromFrames")}),"shadow selector must be inside fromFrame instead"),Ff(e.fromShadowDom.every(function(e){return!If(e,"fromShadowDom")}),"fromShadowDom selector must be appended, rather than nested")}function yf(e){return Array.isArray(e)&&e.every(function(e){return"string"==typeof e})}function Ff(e,t){ba(e,"Invalid context; ".concat(t,"\nSee: https://github.com/dequelabs/axe-core/blob/master/doc/context.md"))}function wf(e,t){for(var r=[],n=0,a=e[t].length;n<a;n++){var o=e[t][n];if(o instanceof i.Node)o.documentElement instanceof i.Node?r.push(e.flatTree[0]):r.push(to(o));else if(o&&o.length)if(o.length>1)Ef(e,t,o);else{var u=Cm(o[0]);r.push.apply(r,$(u.map(function(e){return to(e)})))}}return r.filter(function(e){return e})}function Ef(e,t,r){e.frames=e.frames||[],Cm(r.shift()).forEach(function(n){var a=e.frames.find(function(e){return e.node===n});a||(a=ff(n,e),e.frames.push(a)),a[t].push(r)})}function Cf(e,t){var r,n,a,o,u,c=this;e=io(e),this.frames=[],this.page="boolean"==typeof(null===(r=e)||void 0===r?void 0:r.page)?e.page:void 0,this.initiator="boolean"!=typeof(null===(n=e)||void 0===n?void 0:n.initiator)||e.initiator,this.focusable="boolean"!=typeof(null===(a=e)||void 0===a?void 0:a.focusable)||e.focusable,this.size="object"===l(null===(o=e)||void 0===o?void 0:o.size)?e.size:{},e=function(e){if(Lf(e)){var t=" must be used inside include or exclude. It should not be on the same object.";Ff(!If(e,"fromFrames"),"fromFrames"+t),Ff(!If(e,"fromShadowDom"),"fromShadowDom"+t)}else{if(!Vf(e))return{include:[s],exclude:[]};e={include:e,exclude:[]}}var r=gf(e.include);return 0===r.length&&r.push(s),{include:r,exclude:gf(e.exclude)}}(e),this.flatTree=null!=t?t:Xh(function(e){for(var t=e.include,r=e.exclude,n=Array.from(t).concat(Array.from(r)),a=0;a<n.length;a++){var o=n[a];if(o instanceof i.Element)return o.ownerDocument.documentElement;if(o instanceof i.Document)return o.documentElement}return s.documentElement}(e)),this.exclude=e.exclude,this.include=e.include,this.include=wf(this,"include"),this.exclude=wf(this,"exclude"),bm("frame, iframe",this).forEach(function(e){Uf(e,c)&&function(e,t){Qs(t)&&!Di(e.frames,"node",t)&&e.frames.push(ff(t,e))}(c,e.actualNode)}),void 0===this.page&&(this.page=1===(u=this.include).length&&u[0].actualNode===s.documentElement,this.frames.forEach(function(e){e.page=c.page})),function(e){if(0===e.include.length&&0===e.frames.length){var t=ui.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(Gf)}function xf(e){return!1===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).iframes?[]:new Cf(e).frames.map(function(e){var t=e.node,r=z(e,x);return r.initiator=!1,{frameSelector:Ya(t),frameContext:r}})}function Af(e){var t=c._audit.rules.find(function(t){return t.id===e});if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}function Tf(e,t){var r=e.getPropertyValue(t);return["scroll","auto"].includes(r)}var kf=Na(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e.scrollWidth>e.clientWidth+t,n=e.scrollHeight>e.clientHeight+t;if(r||n){var a=i.getComputedStyle(e),o=Tf(a,"overflow-x"),u=Tf(a,"overflow-y");return r&&o||n&&u?{elm:e,top:e.scrollTop,left:e.scrollLeft}:void 0}});function Nf(e){return Array.from(e.children||e.childNodes||[]).reduce(function(e,t){var r=kf(t);return r&&e.push(r),e.concat(Nf(t))},[])}var Bf=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=e.document.documentElement;return[void 0!==e.pageXOffset?{elm:e,top:e.pageYOffset,left:e.pageXOffset}:{elm:t,top:t.scrollTop,left:t.scrollLeft}].concat(Nf(s.body))};function Rf(){return io(ds)}var Sf,Of=function(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var r=t.data,n=t.isCrossOrigin,a=void 0!==n&&n,o=t.shadowId,i=t.root,u=t.priority,s=t.isLink,l=void 0!==s&&s,c=e.createElement("style");if(l){var d=e.createTextNode('@import "'.concat(r.href,'"'));c.appendChild(d)}else c.appendChild(e.createTextNode(r));return e.head.appendChild(c),{sheet:c.sheet,isCrossOrigin:a,shadowId:o,root:i,priority:u}}},_f=function(e){if(Sf&&Sf.parentNode)return void 0===Sf.styleSheet?Sf.appendChild(s.createTextNode(e)):Sf.styleSheet.cssText+=e,Sf;if(e){var t=s.head||s.getElementsByTagName("head")[0];return(Sf=s.createElement("style")).type="text/css",void 0===Sf.styleSheet?Sf.appendChild(s.createTextNode(e)):Sf.styleSheet.cssText=e,t.appendChild(Sf),Sf}};function Pf(e){return!!e&&"object"===l(e)&&"number"==typeof e.length&&e instanceof i.Node==0}function If(e,t){return!(!e||"object"!==l(e))&&Object.prototype.hasOwnProperty.call(e,t)}function Mf(e){return Lf(e)||Vf(e)}function Lf(e){return["include","exclude"].some(function(t){return If(e,t)&&Vf(e[t])})}function Vf(e){return"string"==typeof e||e instanceof i.Node||jf(e)||qf(e)||Pf(e)}function jf(e){return If(e,"fromFrames")}function qf(e){return If(e,"fromShadowDom")}var zf=function e(t,r){var n=to(t);if(9===t.nodeType)return!1;if(11===t.nodeType&&(t=t.host),n&&null!==n._isHidden)return n._isHidden;var a=i.getComputedStyle(t,null);if(!a||!t.parentNode||"none"===a.getPropertyValue("display")||!r&&"hidden"===a.getPropertyValue("visibility")||"true"===t.getAttribute("aria-hidden"))return!0;var o=e(t.assignedSlot?t.assignedSlot:t.parentNode,!0);return n&&(n._isHidden=o),o},$f=function(e){var t,r,n=null!==(t=null===(r=e.props)||void 0===r?void 0:r.nodeName)&&void 0!==t?t:e.nodeName.toLowerCase();return"http://www.w3.org/2000/svg"!==e.namespaceURI&&!!ds.htmlElms[n]};function Uf(e,t){var r=t.include,n=void 0===r?[]:r,a=t.exclude,o=void 0===a?[]:a,i=n.filter(function(t){return yi(t,e)});if(0===i.length)return!1;var u=o.filter(function(t){return yi(t,e)});if(0===u.length)return!0;var s=Hf(i);return yi(Hf(u),s)}function Hf(e){var t,r,n=Q(e);try{for(n.s();!(r=n.n()).done;){var a=r.value;t&&yi(a,t)||(t=a)}}catch(e){n.e(e)}finally{n.f()}return t}function Wf(e,t){return e.length===t.length&&e.every(function(e,r){var n=t[r];return Array.isArray(e)?e.length===n.length&&e.every(function(e,t){return n[t]===e}):e===n})}var Gf=function(e,t){return(e=e.actualNode||e)===(t=t.actualNode||t)?0:4&e.compareDocumentPosition(t)?-1:1};function Kf(e){return e instanceof oa?{vNode:e,domNode:e.actualNode}:{vNode:to(e),domNode:e}}var Yf=function(e,t,r,n){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=Array.from(e.cssRules);if(!o)return Promise.resolve();var i=o.filter(function(e){return 3===e.type});if(!i.length)return Promise.resolve({isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId,sheet:e});var u=i.filter(function(e){return e.href}).map(function(e){return e.href}).filter(function(e){return!n.includes(e)}).map(function(e,a){var o=[].concat($(r),[a]),i=/^https?:\/\/|^\/\//i.test(e);return Xf(e,t,o,n,i)}),s=o.filter(function(e){return 3!==e.type});return s.length?(u.push(Promise.resolve(t.convertDataToStylesheet({data:s.map(function(e){return e.cssText}).join(),isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(u)):Promise.all(u)},Zf=function(e,t,r,n){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(e){try{return!(!e.cssRules&&e.href)}catch(e){return!1}}(e)?Yf(e,t,r,n,a):Xf(e.href,t,r,n,!0)},Xf=function(e,t,r,n,a){return n.push(e),new Promise(function(t,r){var n=new i.XMLHttpRequest;n.open("GET",e),n.timeout=ra.preload.timeout,n.addEventListener("error",r),n.addEventListener("timeout",r),n.addEventListener("loadend",function(e){if(e.loaded&&n.responseText)return t(n.responseText);r(n.responseText)}),n.send()}).then(function(e){var o=t.convertDataToStylesheet({data:e,isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId});return Zf(o.sheet,t,r,n,o.isCrossOrigin)})},Jf=function(e){if("string"!=typeof e)return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null},Qf=function(){function e(){if(i.performance&&i.performance)return i.performance.now()}var t=null,r=e();return{start:function(){this.mark("mark_axe_start")},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end"),this.logMeasures("axe")},auditStart:function(){this.mark("mark_audit_start")},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end"),this.logMeasures()},mark:function(e){i.performance&&void 0!==i.performance.mark&&i.performance.mark(e)},measure:function(e,t,r){i.performance&&void 0!==i.performance.measure&&i.performance.measure(e,t,r)},logMeasures:function(e){function t(e){na("Measure "+e.name+" took "+e.duration+"ms")}if(i.performance&&void 0!==i.performance.getEntriesByType)for(var r=i.performance.getEntriesByName("mark_axe_start")[0],n=i.performance.getEntriesByType("measure").filter(function(e){return e.startTime>=r.startTime}),a=0;a<n.length;++a){var o=n[a];if(o.name===e)return void t(o);t(o)}},timeElapsed:function(){return e()-r},reset:function(){t||(t=e()),r=e()}}}();function em(){if(s.elementsFromPoint)return s.elementsFromPoint;if(s.msElementsFromPoint)return s.msElementsFromPoint;var e,t=((e=s.createElement("x")).style.cssText="pointer-events:auto","auto"===e.style.pointerEvents),r=t?"pointer-events":"visibility",n=t?"none":"hidden",a=s.createElement("style");return a.innerHTML=t?"* { pointer-events: all }":"* { visibility: visible }",function(e,t){var o,i,u,l=[],c=[];for(s.head.appendChild(a);(o=s.elementFromPoint(e,t))&&-1===l.indexOf(o);)l.push(o),c.push({value:o.style.getPropertyValue(r),priority:o.style.getPropertyPriority(r)}),o.style.setProperty(r,n,"important");for(l.indexOf(s.documentElement)<l.length-1&&(l.splice(l.indexOf(s.documentElement),1),l.push(s.documentElement)),i=c.length;u=c[--i];)l[i].style.setProperty(r,u.value?u.value:"",u.priority);return s.head.removeChild(a),l}}"function"==typeof i.addEventListener&&(s.elementsFromPoint=em());var tm=function(e,t){return e.concat(t).filter(function(e,t,r){return r.indexOf(e)===t})};function rm(e,t,r,n,a){var o=a||{};return o.vNodes=e,o.vNodesIndex=0,o.anyLevel=t,o.thisLevel=r,o.parentShadowId=n,o}var nm=function(e,t,r){e=Array.isArray(e)?e:[e];var n=yo(t);return Wh(e,n,r)||function(e,t,r){for(var n=eo.get("qsa.recycledLocalVariables",function(){return[]}),a=[],o=rm(Array.isArray(e)?e:[e],t,null,e[0].shadowId,n.pop()),i=[];o.vNodesIndex<o.vNodes.length;){for(var u,s,l=o.vNodes[o.vNodesIndex++],c=null,d=null,p=((null===(u=o.anyLevel)||void 0===u?void 0:u.length)||0)+((null===(s=o.thisLevel)||void 0===s?void 0:s.length)||0),h=!1,f=0;f<p;f++){var m,D,g,v=f<((null===(m=o.anyLevel)||void 0===m?void 0:m.length)||0)?o.anyLevel[f]:o.thisLevel[f-((null===(D=o.anyLevel)||void 0===D?void 0:D.length)||0)];if((!v[0].id||l.shadowId===o.parentShadowId)&&wo(l,v[0]))if(1===v.length)h||r&&!r(l)||(i.push(l),h=!0);else{var b=v.slice(1);if(!1===[" ",">"].includes(b[0].combinator))throw new Error("axe.utils.querySelectorAll does not support the combinator: "+v[1].combinator);">"===b[0].combinator?(c=c||[]).push(b):(d=d||[]).push(b)}v[0].id&&l.shadowId!==o.parentShadowId||null===(g=o.anyLevel)||void 0===g||!g.includes(v)||(d=d||[]).push(v)}for(l.children&&l.children.length&&(a.push(o),o=rm(l.children,d,c,l.shadowId,n.pop()));o.vNodesIndex===o.vNodes.length&&a.length;)n.push(o),o=a.pop()}return i}(e,n,r)},am=function(e){var t=e.treeRoot,r=function(e){var t=[],r=nm(e,"*",function(e){return!t.includes(e.shadowId)&&(t.push(e.shadowId),!0)}).map(function(e){return{shadowId:e.shadowId,rootNode:Ai(e.actualNode)}});return tm(r,[])}(void 0===t?c._tree[0]:t);if(!r.length)return Promise.resolve();var n=s.implementation.createHTMLDocument("Dynamic document for loading cssom");return function(e,t){var r=[];return e.forEach(function(e,n){var a=e.rootNode,o=e.shadowId,i=function(e,t,r){var n;return n=11===e.nodeType&&t?function(e,t){return Array.from(e.children).filter(im).reduce(function(r,n){var a=n.nodeName.toUpperCase(),o="STYLE"===a?n.textContent:n,i=t({data:o,isLink:"LINK"===a,root:e});return i.sheet&&r.push(i.sheet),r},[])}(e,r):function(e){return Array.from(e.styleSheets).filter(function(e){return!!e.media&&um(e.media.mediaText)})}(e),function(e){var t=[];return e.filter(function(e){return!e.href||!t.includes(e.href)&&(t.push(e.href),!0)})}(n)}(a,o,t);if(!i)return Promise.all(r);var u=n+1,s={rootNode:a,shadowId:o,convertDataToStylesheet:t,rootIndex:u},l=[],c=Promise.all(i.map(function(e,t){return Zf(e,s,[u,t],l)}));r.push(c)}),Promise.all(r)}(r,Of(n)).then(function(e){return om(e)})};function om(e){return e.reduce(function(e,t){return Array.isArray(t)?e.concat(om(t)):e.concat(t)},[])}function im(e){var t=e.nodeName.toUpperCase(),r=e.getAttribute("href"),n=e.getAttribute("rel"),a="LINK"===t&&r&&n&&e.rel.toUpperCase().includes("STYLESHEET");return"STYLE"===t||a&&um(e.media)}function um(e){return!e||!e.toUpperCase().includes("PRINT")}var sm=function(e){var t=e.treeRoot,r=void 0===t?c._tree[0]:t,n=nm(r,"video[autoplay], audio[autoplay]",function(e){var t=e.actualNode;return!("none"===t.preload&&0===t.readyState&&t.networkState!==t.NETWORK_LOADING||t.hasAttribute("paused")||t.hasAttribute("muted")||(t.hasAttribute("src")?!t.getAttribute("src"):Array.from(t.getElementsByTagName("source")).filter(function(e){return!!e.getAttribute("src")}).length<=0))});return Promise.all(n.map(function(e){var t,r=e.actualNode;return t=r,new Promise(function(e){t.readyState>0&&e(t),t.addEventListener("loadedmetadata",function r(){t.removeEventListener("loadedmetadata",r),e(t)})})}))};function lm(e){var t={cssom:am,media:sm};return cm(e)?new Promise(function(r,n){var a=dm(e),o=a.assets,i=a.timeout,u=setTimeout(function(){return n(new Error("Preload assets timed out."))},i);Promise.all(o.map(function(r){return t[r](e).then(function(e){return t={},a=e,(n=J(n=r))in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t;var t,n,a})})).then(function(e){var t=e.reduce(function(e,t){return H({},e,t)},{});clearTimeout(u),r(t)}).catch(function(e){clearTimeout(u),n(e)})}):Promise.resolve()}function cm(e){return!e||void 0===e.preload||null===e.preload||("boolean"==typeof e.preload?e.preload:(t=e.preload,"object"===l(t)&&Array.isArray(t.assets)));var t}function dm(e){var t=ra.preload,r=t.assets,n=t.timeout,a={assets:r,timeout:n};if(!e.preload)return a;if("boolean"==typeof e.preload)return a;if(!e.preload.assets.every(function(e){return r.includes(e.toLowerCase())}))throw new Error("Requested assets, not supported. Supported assets are: ".concat(r.join(", "),"."));return a.assets=tm(e.preload.assets.map(function(e){return e.toLowerCase()}),[]),e.preload.timeout&&"number"==typeof e.preload.timeout&&!isNaN(e.preload.timeout)&&(a.timeout=e.preload.timeout),a}function pm(e){var t=c._audit.data.checks||{},r=c._audit.data.rules||{},n=Di(c._audit.rules,"id",e.id)||{};e.tags=io(n.tags||[]);var a=hm(t,!0,n),o=hm(t,!1,n);e.nodes.forEach(function(e){e.any.forEach(a),e.all.forEach(a),e.none.forEach(o)}),wi(e,io(r[e.id]||{}))}function hm(e,t,r){return function(n){var a=e[n.id]||{},o=a.messages||{},i=Object.assign({},a);delete i.messages,r.reviewOnFail||void 0!==n.result?i.message=n.result===t?o.pass:o.fail:("object"!==l(o.incomplete)||Array.isArray(n.data)||(i.message=function(e,t){function r(e){return e.incomplete&&e.incomplete.default?e.incomplete.default:rf()}if(!e||!e.missingData)return e&&e.messageKey?t.incomplete[e.messageKey]:r(t);try{var n=t.incomplete[e.missingData[0].reason];if(!n)throw new Error;return n}catch(n){return"string"==typeof e.missingData?t.incomplete[e.missingData]:r(t)}}(n.data,o)),i.message||(i.message=o.incomplete)),"function"!=typeof i.message&&(i.message=lf(i.message,n.data)),wi(n,i)}}var fm=function(e,t){return nm(e,t)};function mm(e,t){var r,n,a=c._audit&&c._audit.tagExclude?c._audit.tagExclude:[];return t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(r=t.include||[],r=Array.isArray(r)?r:[r],n=t.exclude||[],n=(n=Array.isArray(n)?n:[n]).concat(a.filter(function(e){return-1===r.indexOf(e)}))):(r=Array.isArray(t)?t:[t],n=a.filter(function(e){return-1===r.indexOf(e)})),!!(r.some(function(t){return-1!==e.tags.indexOf(t)})||0===r.length&&!1!==e.enabled)&&n.every(function(t){return-1===e.tags.indexOf(t)})}var Dm=function(e,t,r){var n=r.runOnly||{},a=(r.rules||{})[e.id];return!(e.pageLevel&&!t.page)&&("rule"===n.type?-1!==n.values.indexOf(e.id):a&&"boolean"==typeof a.enabled?a.enabled:"tag"===n.type&&n.values?mm(e,n.values):mm(e,[]))};function gm(e,t){if(!t)return e;var r=e.cloneNode(!1),n=Aa(r);if(1===r.nodeType){var a=r.outerHTML;r=eo.get(a,function(){return vm(r,n,e,t)})}else r=vm(r,n,e,t);return Array.from(e.childNodes).forEach(function(e){r.appendChild(gm(e,t))}),r}function vm(e,t,r,n){return t?(e=s.createElement(e.nodeName),Array.from(t).forEach(function(t){(function(e,t,r){return void 0!==r[t]&&(!0===r[t]||Ta(e,r[t]))})(r,t.name,n)||e.setAttribute(t.name,t.value)}),e):e}function bm(e,t){var r,n=[];if(c._selectCache)for(var a=0,o=c._selectCache.length;a<o;a++){var i=c._selectCache[a];if(i.selector===e)return i.result}for(var u=t.include.reduce(function(e,t){return e.length&&yi(e[e.length-1],t)||e.push(t),e},[]),s=function(e){return e.exclude&&0!==e.exclude.length?function(t){return Uf(t,e)}:null}(t),l=0;l<u.length;l++)r=u[l],n=ym(n,nm(r,e,s));return c._selectCache&&c._selectCache.push({selector:e,result:n}),n}function ym(e,t){if(0===e.length)return t;if(e.length<t.length){var r=e;e=t,t=r}for(var n=0,a=t.length;n<a;n++)e.includes(t[n])||e.push(t[n]);return e}var Fm=function(e){e.forEach(function(e){return function(e,t,r){if(e===i)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r}(e.elm,e.top,e.left)})};function wm(e){return Em(Array.isArray(e)?$(e):[e],s)}function Em(e,t){var r=e.shift(),n=r?t.querySelector(r):null;return 0===e.length?n:null!=n&&n.shadowRoot?Em(e,n.shadowRoot):null}function Cm(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,r=Array.isArray(e)?$(e):[e];return 0===e.length?[]:xm(r,t)}function xm(e,t){var r,n=K(r=e)||U(r)||ee(r)||G(),a=n[0],o=n.slice(1),i=t.querySelectorAll(a);if(0===o.length)return Array.from(i);var u,s=[],l=Q(i);try{for(l.s();!(u=l.n()).done;){var c=u.value;null!=c&&c.shadowRoot&&s.push.apply(s,$(xm(o,c.shadowRoot)))}}catch(e){l.e(e)}finally{l.f()}return s}var Am=function(){return["hidden","text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]},Tm=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],,[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,,1,,1,1,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,,,1,,1,,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,,,1,1,,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],,[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,,,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],,[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,,,,,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,,,1,,,,,1],[,,1,,,,,,,1,,,1,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],,[,1,,,,,,,,1,1,1,1,1,,1,1,,,,1,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,,1,,1,1,1,,,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,,,1],[,1,,,,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,,,,,1,,,,,1,,,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,1,1,,1,1,,1,1,1,,,1,1],[1,1,,,,,,,1,,,,,1,1,,,,,,,,,,,1],,[,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,,1,,,,,1,,,1,,,,1,,1],[,1,,,,,,,,,1]]];function km(e){e=Array.isArray(e)?e:Tm;var t=[];return e.forEach(function(e,r){var n=String.fromCharCode(r+96).replace("`","");Array.isArray(e)?t=t.concat(km(e).map(function(e){return n+e})):t.push(n)}),t}var Nm=function(e){for(var t=Tm;e.length<3;)e+="`";for(var r=0;r<=e.length-1;r++)if(!(t=t[e.charCodeAt(r)-96]))return!1;return!0},Bm=function(e){function t(e){var r,n,a,o;return Y(this,t),(r=R(this,t))._props=function(e){var t,r,n,a=null!==(t=e.nodeName)&&void 0!==t?t:Sm[e.nodeType],o=null!==(r=null!==(n=e.nodeType)&&void 0!==n?n:Rm[e.nodeName])&&void 0!==r?r:1;ba("number"==typeof o,"nodeType has to be a number, got '".concat(o,"'")),ba("string"==typeof a,"nodeName has to be a string, got '".concat(a,"'"));var i=null;"input"===(a=a.toLowerCase())&&(i=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),Am().includes(i)||(i="text"));var u=H({},e,{nodeType:o,nodeName:a});return i&&(u.type=i),delete u.attributes,Object.freeze(u)}(e),r._attrs=(n=e.attributes,a=void 0===n?{}:n,o={htmlFor:"for",className:"class"},Object.keys(a).reduce(function(e,t){var r=a[t];return ba("object"!==l(r)||null===r,"expects attributes not to be an object, '".concat(t,"' was")),void 0!==r&&(e[o[t]||t]=null!==r?String(r):null),e},{})),r}return _(t,e),X(t,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(e){var t;return null!==(t=this._attrs[e])&&void 0!==t?t:null}},{key:"hasAttr",value:function(e){return void 0!==this._attrs[e]}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}])}(oa),Rm={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},Sm={};Object.keys(Rm).forEach(function(e){Sm[Rm[e]]=e});var Om,_m=Bm,Pm=function(e,t){if(e=e||function(){},t=t||c.log,!c._audit)throw new Error("No audit configured");var r=c.utils.queue(),n=[];Object.keys(c.plugins).forEach(function(e){r.defer(function(t){var r=function(e){n.push(e),t()};try{c.plugins[e].cleanup(t,r)}catch(e){r(e)}})});var a=c.utils.getFlattenedTree(s.body);c.utils.querySelectorAll(a,"iframe, frame").forEach(function(e){r.defer(function(t,r){return c.utils.sendCommandToFrame(e.actualNode,{command:"cleanup-plugin"},t,r)})}),r.then(function(r){0===n.length?e(r):t(n)}).catch(t)},Im={};function Mm(e){return Im.hasOwnProperty(e)}function Lm(e){return"string"==typeof e&&Im[e]?Im[e]:"function"==typeof e?e:Om}var Vm={};he(Vm,{getAllCells:function(){return jm},getCellPosition:function(){return vs},getHeaders:function(){return zm},getScope:function(){return bs},isColumnHeader:function(){return ys},isDataCell:function(){return $m},isDataTable:function(){return Um},isHeader:function(){return Hm},isRowHeader:function(){return Fs},toArray:function(){return gs},toGrid:function(){return gs},traverse:function(){return Gm}});var jm=function(e){var t,r,n,a,o=[];for(t=0,n=e.rows.length;t<n;t++)for(r=0,a=e.rows[t].cells.length;r<a;r++)o.push(e.rows[t].cells[r]);return o};function qm(e,t,r){for(var n,a="row"===e?"_rowHeaders":"_colHeaders",o="row"===e?Fs:ys,i=r[t.y][t.x],u=i.colSpan-1,s=i.getAttribute("rowspan"),l=(0===parseInt(s)||0===i.rowspan?r.length:i.rowSpan)-1,d=t.y+l,p=t.x+u,h="row"===e?t.y:0,f="row"===e?0:t.x,m=[],D=d;D>=h&&!n;D--)for(var g=p;g>=f;g--){var v=r[D]?r[D][g]:void 0;if(v){var b=c.utils.getNodeFromTree(v);if(b[a]){n=b[a];break}m.push(v)}}return n=(n||[]).concat(m.filter(o)),m.forEach(function(e){c.utils.getNodeFromTree(e)[a]=n}),n}var zm=function(e,t){if(e.getAttribute("headers")){var r=ns(e,"headers");if(r.filter(function(e){return e}).length)return r}t||(t=gs(Bi(e,"table")));var n=vs(e,t),a=qm("row",n,t),o=qm("col",n,t);return[].concat(a,o).reverse()},$m=function(e){if(!e.children.length&&!e.textContent.trim())return!1;var t=e.getAttribute("role");return hs(t)?["cell","gridcell"].includes(t):"TD"===e.nodeName.toUpperCase()},Um=function(e){var t=(e.getAttribute("role")||"").toLowerCase();if(("presentation"===t||"none"===t)&&!Ju(e))return!1;if("true"===e.getAttribute("contenteditable")||Bi(e,'[contenteditable="true"]'))return!0;if("grid"===t||"treegrid"===t||"table"===t)return!0;if("landmark"===Jl(t))return!0;if("0"===e.getAttribute("datatable"))return!1;if(e.getAttribute("summary"))return!0;if(e.tHead||e.tFoot||e.caption)return!0;for(var r=0,n=e.children.length;r<n;r++)if("COLGROUP"===e.children[r].nodeName.toUpperCase())return!0;for(var a,o,u=0,s=e.rows.length,l=!1,c=0;c<s;c++)for(var d=0,p=(a=e.rows[c]).cells.length;d<p;d++){if("TH"===(o=a.cells[d]).nodeName.toUpperCase())return!0;if(l||o.offsetWidth===o.clientWidth&&o.offsetHeight===o.clientHeight||(l=!0),o.getAttribute("scope")||o.getAttribute("headers")||o.getAttribute("abbr"))return!0;if(["columnheader","rowheader"].includes((o.getAttribute("role")||"").toLowerCase()))return!0;if(1===o.children.length&&"ABBR"===o.children[0].nodeName.toUpperCase())return!0;u++}if(e.getElementsByTagName("table").length)return!1;if(s<2)return!1;var h,f,m=e.rows[Math.ceil(s/2)];if(1===m.cells.length&&1===m.cells[0].colSpan)return!1;if(m.cells.length>=5)return!0;if(l)return!0;for(var D=0;D<s;D++){if(a=e.rows[D],h&&h!==i.getComputedStyle(a).getPropertyValue("background-color"))return!0;if(h=i.getComputedStyle(a).getPropertyValue("background-color"),f&&f!==i.getComputedStyle(a).getPropertyValue("background-image"))return!0;f=i.getComputedStyle(a).getPropertyValue("background-image")}return s>=20||!(Qi(e).width>.95*eu(i).width)&&!(u<10)&&!e.querySelector("object, embed, iframe, applet")},Hm=function(e){if(ys(e)||Fs(e))return!0;if(e.getAttribute("id")){var t=Fa(e.getAttribute("id"));return!!s.querySelector('[headers~="'.concat(t,'"]'))}return!1};function Wm(e,t,r,n){var a,o=r[t.y]?r[t.y][t.x]:void 0;return o?"function"==typeof n&&!0===(a=n(o,t,r))?[o]:((a=Wm(e,{x:t.x+e.x,y:t.y+e.y},r,n)).unshift(o),a):[]}var Gm=function(e,t,r,n){if(Array.isArray(t)&&(n=r,r=t,t={x:0,y:0}),"string"==typeof e)switch(e){case"left":e={x:-1,y:0};break;case"up":e={x:0,y:-1};break;case"right":e={x:1,y:0};break;case"down":e={x:0,y:1}}return Wm(e,{x:t.x+e.x,y:t.y+e.y},r,n)},Km={};he(Km,{allowedAttr:function(){return Ym},arialabelText:function(){return is},arialabelledbyText:function(){return os},getAccessibleRefs:function(){return Jm},getElementUnallowedRoles:function(){return rD},getExplicitRole:function(){return fs},getImplicitRole:function(){return zs},getOwnedVirtual:function(){return Xs},getRole:function(){return Gs},getRoleType:function(){return Jl},getRolesByType:function(){return aD},getRolesWithNameFromContents:function(){return iD},implicitNodes:function(){return dD},implicitRole:function(){return zs},isAccessibleRef:function(){return pD},isAriaRoleAllowedOnElement:function(){return Qm},isComboboxPopup:function(){return hD},isUnsupportedRole:function(){return ps},isValidRole:function(){return hs},label:function(){return mD},labelVirtual:function(){return Rl},lookupTable:function(){return cD},namedFromContents:function(){return Zs},requiredAttr:function(){return DD},requiredContext:function(){return gD},requiredOwned:function(){return vD},validateAttr:function(){return yD},validateAttrValue:function(){return bD}});var Ym=function(e){var t=ds.ariaRoles[e],r=$(Ds());return t?(t.allowedAttrs&&r.push.apply(r,$(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,$(t.requiredAttrs)),r):r},Zm=/^idrefs?$/;function Xm(e,t,r){if(e.hasAttribute){if("LABEL"===e.nodeName.toUpperCase()&&e.hasAttribute("for")){var n=e.getAttribute("for");t.has(n)?t.get(n).push(e):t.set(n,[e])}for(var a=0;a<r.length;++a){var o=r[a],i=ws(e.getAttribute(o)||"");if(i){var u,s=Q(Uh(i));try{for(s.s();!(u=s.n()).done;){var l=u.value;t.has(l)?t.get(l).push(e):t.set(l,[e])}}catch(e){s.e(e)}finally{s.f()}}}}for(var c=0;c<e.childNodes.length;c++)1===e.childNodes[c].nodeType&&Xm(e.childNodes[c],t,r)}var Jm=function(e){var t;e=e.actualNode||e;var r=Ti(e);r=r.documentElement||r;var n=eo.get("idRefsByRoot",function(){return new Map}),a=n.get(r);return a||(a=new Map,n.set(r,a),Xm(r,a,Object.keys(ds.ariaAttrs).filter(function(e){var t=ds.ariaAttrs[e].type;return Zm.test(t)}))),null!==(t=a.get(e.id))&&void 0!==t?t:[]},Qm=function(e,t){var r=e instanceof oa?e:to(e),n=zs(r),a=qs(r);return Array.isArray(a.allowedRoles)?a.allowedRoles.includes(t):t!==n&&!!a.allowedRoles},eD=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],tD={header:"banner",footer:"contentinfo"},rD=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=Kf(e).vNode;if(!$f(r))return[];var n=r.props.nodeName,a=zs(r)||tD[n];return function(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=Uh(e.attr("role").toLowerCase());t=t.concat(r)}return t.filter(function(e){return hs(e)})}(r).filter(function(e){return!function(e,t,r,n){return!(!r||e!==n)||(!eD.includes(e)||Jl(e)===n)&&Qm(t,e)}(e,r,t,a)})},nD=function(e){return Object.keys(ds.ariaRoles).filter(function(t){return ds.ariaRoles[t].type===e})},aD=function(e){return nD(e)},oD=function(){return eo.get("ariaRolesNameFromContent",function(){return Object.keys(ds.ariaRoles).filter(function(e){return ds.ariaRoles[e].nameFromContent})})},iD=function(){return oD()},uD=function(e){return null===e},sD=function(e){return null!==e},lD={attributes:{"aria-activedescendant":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-atomic":{type:"boolean",values:["true","false"],unsupported:!1},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"],unsupported:!1},"aria-busy":{type:"boolean",values:["true","false"],unsupported:!1},"aria-checked":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-colcount":{type:"int",unsupported:!1},"aria-colindex":{type:"int",unsupported:!1},"aria-colspan":{type:"int",unsupported:!1},"aria-controls":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],unsupported:!1},"aria-describedby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-describedat":{unsupported:!0,unstandardized:!0},"aria-details":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-disabled":{type:"boolean",values:["true","false"],unsupported:!1},"aria-dropeffect":{type:"nmtokens",values:["copy","move","reference","execute","popup","none"],unsupported:!1},"aria-errormessage":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-flowto":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],unsupported:!1},"aria-hidden":{type:"boolean",values:["true","false"],unsupported:!1},"aria-invalid":{type:"nmtoken",allowEmpty:!0,values:["true","false","spelling","grammar"],unsupported:!1},"aria-keyshortcuts":{type:"string",allowEmpty:!0,unsupported:!1},"aria-label":{type:"string",allowEmpty:!0,unsupported:!1},"aria-labelledby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-level":{type:"int",unsupported:!1},"aria-live":{type:"nmtoken",values:["off","polite","assertive"],unsupported:!1},"aria-modal":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiline":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiselectable":{type:"boolean",values:["true","false"],unsupported:!1},"aria-orientation":{type:"nmtoken",values:["horizontal","vertical"],unsupported:!1},"aria-owns":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-placeholder":{type:"string",allowEmpty:!0,unsupported:!1},"aria-posinset":{type:"int",unsupported:!1},"aria-pressed":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-readonly":{type:"boolean",values:["true","false"],unsupported:!1},"aria-relevant":{type:"nmtokens",values:["additions","removals","text","all"],unsupported:!1},"aria-required":{type:"boolean",values:["true","false"],unsupported:!1},"aria-roledescription":{type:"string",allowEmpty:!0,unsupported:!1},"aria-rowcount":{type:"int",unsupported:!1},"aria-rowindex":{type:"int",unsupported:!1},"aria-rowspan":{type:"int",unsupported:!1},"aria-selected":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-setsize":{type:"int",unsupported:!1},"aria-sort":{type:"nmtoken",values:["ascending","descending","other","none"],unsupported:!1},"aria-valuemax":{type:"decimal",unsupported:!1},"aria-valuemin":{type:"decimal",unsupported:!1},"aria-valuenow":{type:"decimal",unsupported:!1},"aria-valuetext":{type:"string",unsupported:!1}},globalAttributes:["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-dropeffect","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"]};lD.role={alert:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},alertdialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["dialog","section"]},application:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage","aria-activedescendant"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","audio","embed","iframe","object","section","svg","video"]},article:{type:"structure",attributes:{allowed:["aria-expanded","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["article"],unsupported:!1},banner:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["header"],unsupported:!1,allowedElements:["section"]},button:{type:"widget",attributes:{allowed:["aria-expanded","aria-pressed","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["button",'input[type="button"]','input[type="image"]','input[type="reset"]','input[type="submit"]',"summary"],unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:sD}}]},cell:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},checkbox:{type:"widget",attributes:{allowed:["aria-checked","aria-required","aria-readonly","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="checkbox"]'],unsupported:!1,allowedElements:["button"]},columnheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},combobox:{type:"composite",attributes:{allowed:["aria-autocomplete","aria-required","aria-activedescendant","aria-orientation","aria-errormessage"],required:["aria-expanded"]},owned:{all:["listbox","tree","grid","dialog","textbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:"input",properties:{type:["text","search","tel","url","email"]}}]},command:{nameFrom:["author"],type:"abstract",unsupported:!1},complementary:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["aside"],unsupported:!1,allowedElements:["section"]},composite:{nameFrom:["author"],type:"abstract",unsupported:!1},contentinfo:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["footer"],unsupported:!1,allowedElements:["section"]},definition:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dd","dfn"],unsupported:!1},dialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dialog"],unsupported:!1,allowedElements:["section"]},directory:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["ol","ul"]},document:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["body"],unsupported:!1,allowedElements:["article","embed","iframe","object","section","svg"]},"doc-abstract":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-acknowledgments":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-afterword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-appendix":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-backlink":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:sD}}]},"doc-biblioentry":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:["doc-bibliography"],unsupported:!1,allowedElements:["li"]},"doc-bibliography":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-biblioentry"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-biblioref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:sD}}]},"doc-chapter":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-colophon":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-conclusion":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-cover":{type:"img",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-credit":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-credits":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-dedication":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-endnote":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,namefrom:["author"],context:["doc-endnotes"],unsupported:!1,allowedElements:["li"]},"doc-endnotes":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-endnote"]},namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-epigraph":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-epilogue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-errata":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-example":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-footnote":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","footer","header"]},"doc-foreword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-glossary":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:["term","definition"],namefrom:["author"],context:null,unsupported:!1,allowedElements:["dl"]},"doc-glossref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:sD}}]},"doc-index":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-introduction":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-noteref":{type:"link",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:sD}}]},"doc-notice":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pagebreak":{type:"separator",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["hr"]},"doc-pagelist":{type:"navigation",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-part":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-preface":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-prologue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pullquote":{type:"none",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-qna":{type:"section",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-subtitle":{type:"sectionhead",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["h1","h2","h3","h4","h5","h6"]}},"doc-tip":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},"doc-toc":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},feed:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["article"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","aside","section"]},figure:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["figure"],unsupported:!1},form:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["form"],unsupported:!1},grid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-colcount","aria-level","aria-multiselectable","aria-readonly","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,implicit:["table"],unsupported:!1},gridcell:{type:"widget",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-selected","aria-readonly","aria-required","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},group:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["details","optgroup"],unsupported:!1,allowedElements:["dl","figcaption","fieldset","figure","footer","header","ol","ul"]},heading:{type:"structure",attributes:{required:["aria-level"],allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["h1","h2","h3","h4","h5","h6"],unsupported:!1},img:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["img"],unsupported:!1,allowedElements:["embed","iframe","object","svg"]},input:{nameFrom:["author"],type:"abstract",unsupported:!1},landmark:{nameFrom:["author"],type:"abstract",unsupported:!1},link:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["a[href]","area[href]"],unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["image","button"]}}]},list:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{all:["listitem"]},nameFrom:["author"],context:null,implicit:["ol","ul","dl"],unsupported:!1},listbox:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-readonly","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["option"]},nameFrom:["author"],context:null,implicit:["select"],unsupported:!1,allowedElements:["ol","ul"]},listitem:{type:"structure",attributes:{allowed:["aria-level","aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["list"],implicit:["li","dt"],unsupported:!1},log:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},main:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["main"],unsupported:!1,allowedElements:["article","section"]},marquee:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},math:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["math"],unsupported:!1},menu:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,implicit:['menu[type="context"]'],unsupported:!1,allowedElements:["ol","ul"]},menubar:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},menuitem:{type:"widget",attributes:{allowed:["aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="command"]'],unsupported:!1,allowedElements:["button","li",{nodeName:"iput",properties:{type:["image","button"]}},{nodeName:"a",attributes:{href:sD}}]},menuitemcheckbox:{type:"widget",attributes:{allowed:["aria-checked","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="checkbox"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:sD}}]},menuitemradio:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button","radio"]}},{nodeName:"a",attributes:{href:sD}}]},navigation:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["nav"],unsupported:!1,allowedElements:["section"]},none:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:sD}}]},note:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},option:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-checked","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["listbox"],implicit:["option"],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","button"]}},{nodeName:"a",attributes:{href:sD}}]},presentation:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:sD}}]},progressbar:{type:"widget",attributes:{allowed:["aria-valuetext","aria-valuenow","aria-valuemax","aria-valuemin","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["progress"],unsupported:!1},radio:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-required","aria-errormessage","aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button"]}}]},radiogroup:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-required","aria-expanded","aria-readonly","aria-errormessage","aria-orientation"]},owned:{all:["radio"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["ol","ul","fieldset"]}},range:{nameFrom:["author"],type:"abstract",unsupported:!1},region:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["section[aria-label]","section[aria-labelledby]","section[title]"],unsupported:!1,allowedElements:{nodeName:["article","aside"]}},roletype:{type:"abstract",unsupported:!1},row:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-selected","aria-rowindex","aria-errormessage"]},owned:{one:["cell","columnheader","rowheader","gridcell"]},nameFrom:["author","contents"],context:["rowgroup","grid","treegrid","table"],implicit:["tr"],unsupported:!1},rowgroup:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:{all:["row"]},nameFrom:["author","contents"],context:["grid","table","treegrid"],implicit:["tbody","thead","tfoot"],unsupported:!1},rowheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},scrollbar:{type:"widget",attributes:{required:["aria-controls","aria-valuenow"],allowed:["aria-valuetext","aria-orientation","aria-errormessage","aria-valuemax","aria-valuemin"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},search:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["aside","form","section"]}},searchbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="search"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:"text"}}},section:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},sectionhead:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},select:{nameFrom:["author"],type:"abstract",unsupported:!1},separator:{type:"structure",attributes:{allowed:["aria-expanded","aria-orientation","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["hr"],unsupported:!1,allowedElements:["li"]},slider:{type:"widget",attributes:{allowed:["aria-valuetext","aria-orientation","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="range"]'],unsupported:!1},spinbutton:{type:"widget",attributes:{allowed:["aria-valuetext","aria-required","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="number"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:["text","tel"]}}},status:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["output"],unsupported:!1,allowedElements:["section"]},structure:{type:"abstract",unsupported:!1},switch:{type:"widget",attributes:{allowed:["aria-errormessage"],required:["aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:sD}}]},tab:{type:"widget",attributes:{allowed:["aria-selected","aria-expanded","aria-setsize","aria-posinset","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["tablist"],unsupported:!1,allowedElements:[{nodeName:["button","h1","h2","h3","h4","h5","h6","li"]},{nodeName:"input",properties:{type:"button"}},{nodeName:"a",attributes:{href:sD}}]},table:{type:"structure",attributes:{allowed:["aria-colcount","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author","contents"],context:null,implicit:["table"],unsupported:!1},tablist:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-errormessage"]},owned:{all:["tab"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},tabpanel:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},term:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["dt"],unsupported:!1},textbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="text"]','input[type="email"]','input[type="password"]','input[type="tel"]','input[type="url"]',"input:not([type])","textarea"],unsupported:!1},timer:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},toolbar:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['menu[type="toolbar"]'],unsupported:!1,allowedElements:["ol","ul"]},tooltip:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1},tree:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["treeitem"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},treegrid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-readonly","aria-required","aria-rowcount","aria-orientation","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,unsupported:!1},treeitem:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["group","tree"],unsupported:!1,allowedElements:["li",{nodeName:"a",attributes:{href:sD}}]},widget:{type:"abstract",unsupported:!1},window:{nameFrom:["author"],type:"abstract",unsupported:!1}},lD.implicitHtmlRole=As,lD.elementsAllowedNoRole=[{nodeName:["base","body","caption","col","colgroup","datalist","dd","details","dt","head","html","keygen","label","legend","main","map","math","meta","meter","noscript","optgroup","param","picture","progress","script","source","style","template","textarea","title","track"]},{nodeName:"area",attributes:{href:sD}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:sD}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(e){return e instanceof c.AbstractVirtualNode||(e=c.utils.getNodeFromTree(e)),Number(e.attr("size"))>1},properties:{multiple:!0}},{nodeName:["clippath","cursor","defs","desc","feblend","fecolormatrix","fecomponenttransfer","fecomposite","feconvolvematrix","fediffuselighting","fedisplacementmap","fedistantlight","fedropshadow","feflood","fefunca","fefuncb","fefuncg","fefuncr","fegaussianblur","feimage","femerge","femergenode","femorphology","feoffset","fepointlight","fespecularlighting","fespotlight","fetile","feturbulence","filter","hatch","hatchpath","lineargradient","marker","mask","meshgradient","meshpatch","meshrow","metadata","mpath","pattern","radialgradient","solidcolor","stop","switch","view"]}],lD.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:uD}},{nodeName:"img",attributes:{alt:uD}},{nodeName:["abbr","address","canvas","div","p","pre","blockquote","ins","del","output","span","table","tbody","thead","tfoot","td","em","strong","small","s","cite","q","dfn","abbr","time","code","var","samp","kbd","sub","sup","i","b","u","mark","ruby","rt","rp","bdi","bdo","br","wbr","th","tr"]}],lD.evaluateRoleForElement={A:function(e){var t=e.node,r=e.out;return"http://www.w3.org/2000/svg"===t.namespaceURI||!t.href.length||r},AREA:function(e){return!e.node.href},BUTTON:function(e){var t=e.node,r=e.role,n=e.out;return"menu"===t.getAttribute("type")?"menuitem"===r:n},IMG:function(e){var t=e.node,r=e.role,n=e.out;switch(t.alt){case null:return n;case"":return"presentation"===r||"none"===r;default:return"presentation"!==r&&"none"!==r}},INPUT:function(e){var t=e.node,r=e.role,n=e.out;switch(t.type){case"button":case"image":return n;case"checkbox":return!("button"!==r||!t.hasAttribute("aria-pressed"))||n;case"radio":return"menuitemradio"===r;case"text":return"combobox"===r||"searchbox"===r||"spinbutton"===r;case"tel":return"combobox"===r||"spinbutton"===r;case"url":case"search":case"email":return"combobox"===r;default:return!1}},LI:function(e){var t=e.node,r=e.out;return!c.utils.matchesSelector(t,"ol li, ul li")||r},MENU:function(e){return"context"!==e.node.getAttribute("type")},OPTION:function(e){var t=e.node;return!c.utils.matchesSelector(t,"select > option, datalist > option, optgroup > option")},SELECT:function(e){var t=e.node,r=e.role;return!t.multiple&&t.size<=1&&"menu"===r},SVG:function(e){var t=e.node,r=e.out;return!(!t.parentNode||"http://www.w3.org/2000/svg"!==t.parentNode.namespaceURI)||r}},lD.rolesOfType={widget:["button","checkbox","dialog","gridcell","link","log","marquee","menuitem","menuitemcheckbox","menuitemradio","option","progressbar","radio","scrollbar","searchbox","slider","spinbutton","status","switch","tab","tabpanel","textbox","timer","tooltip","tree","treeitem"]};var cD=lD,dD=function(e){var t=null,r=cD.role[e];return r&&r.implicit&&(t=io(r.implicit)),t},pD=function(e){return!!Jm(e).length};function hD(e){var t,r=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).popupRoles,n=Gs(e);if(null!==(t=r)&&void 0!==t||(r=us["aria-haspopup"].values),!r.includes(n))return!1;var a=function(e){for(;e=e.parent;)if(null!==Gs(e,{noPresentational:!0}))return e;return null}(e);if(fD(a))return!0;var o=e.props.id;if(!o)return!1;if(!e.actualNode)throw new Error("Unable to determine combobox popup without an actualNode");var i=Ai(e.actualNode).querySelectorAll('[aria-owns~="'.concat(o,'"][role~="combobox"]:not(select),\n [aria-controls~="').concat(o,'"][role~="combobox"]:not(select)'));return Array.from(i).some(fD)}var fD=function(e){return e&&"combobox"===Gs(e)},mD=function(e){return e=to(e),Rl(e)},DD=function(e){var t=ds.ariaRoles[e];return t&&Array.isArray(t.requiredAttrs)?$(t.requiredAttrs):[]},gD=function(e){var t=ds.ariaRoles[e];return t&&Array.isArray(t.requiredContext)?$(t.requiredContext):null},vD=function(e){var t=ds.ariaRoles[e];return t&&Array.isArray(t.requiredOwned)?$(t.requiredOwned):null},bD=function(e,t){var r,n,a=(e=e instanceof oa?e:to(e)).attr(t),o=ds.ariaAttrs[t];if(!o)return!0;if(o.allowEmpty&&(!a||""===a.trim()))return!0;switch(o.type){case"boolean":return["true","false"].includes(a.toLowerCase());case"nmtoken":return"string"==typeof a&&o.values.includes(a.toLowerCase());case"nmtokens":return(n=Uh(a)).reduce(function(e,t){return e&&o.values.includes(t)},0!==n.length);case"idref":try{var i=Ti(e.actualNode);return!(!a||!i.getElementById(a))}catch(e){throw new TypeError("Cannot resolve id references for partial DOM")}case"idrefs":return ns(e,t).some(function(e){return!!e});case"string":return""!==a.trim();case"decimal":return!(!(r=a.match(/^[-+]?([0-9]*)\.?([0-9]*)$/))||!r[1]&&!r[2]);case"int":var u=void 0!==o.minValue?o.minValue:-1/0;return/^[-+]?[0-9]+$/.test(a)&&parseInt(a)>=u}},yD=function(e){return!!ds.ariaAttrs[e]};function FD(e){return"caption"===e.props.nodeName}var wD={};he(wD,{getAriaRolesByType:function(){return nD},getAriaRolesSupportingNameFromContent:function(){return oD},getElementSpec:function(){return qs},getElementsByContentType:function(){return ms},getGlobalAriaAttrs:function(){return Ds},implicitHtmlRoles:function(){return As}});var ED=["alert","log","status"];function CD(e,t){var r=e.actualNode;if("button"===Gs(e)||function(e,t){var r=e.actualNode,n=Gs(e),a=(r.getAttribute("aria-live")||"").toLowerCase().trim(),o=nD("landmark");return!(!["assertive","polite"].includes(a)&&!ED.includes(n))||(!!o.includes(n)||!(!t.regionMatcher||!js(e,t.regionMatcher)))}(e,t)||["iframe","frame"].includes(e.props.nodeName)||Ah(e.actualNode)&&Uu(e.actualNode,"href")||!Qs(r)){for(var n=e;n;)n._hasRegionDescendant=!0,n=n.parent;return["iframe","frame"].includes(e.props.nodeName)?[e]:[]}return r!==s.body&&Hl(r,!0)&&!function(e){return["none","presentation"].includes(Gs(e))&&!$l(e)}(e)?[e]:e.children.filter(function(e){return 1===e.actualNode.nodeType}).map(function(e){return CD(e,t)}).reduce(function(e,t){return e.concat(t)},[])}function xD(e){switch(e){case"lighter":return 100;case"normal":return 400;case"bold":return 700;case"bolder":return 900}return e=parseInt(e),isNaN(e)?400:e}function AD(e){var t=i.getComputedStyle(function(e){for(var t=e,r=e.textContent.trim(),n=r;n===r&&void 0!==t;){var a=-1;if(0===(e=t).children.length)return e;do{a++,n=e.children[a].textContent.trim()}while(""===n&&a+1<e.children.length);t=e.children[a]}return e}(e));return{fontWeight:xD(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:"italic"===t.getPropertyValue("font-style")}}function TD(e,t,r){return r.reduce(function(r,n){return r||(!n.size||e.fontSize/n.size>t.fontSize)&&(!n.weight||e.fontWeight-n.weight>t.fontWeight)&&(!n.italic||e.isItalic&&!t.isItalic)},!1)}var kD=/[;,\s]/,ND=/^[0-9.]+$/,BD={};he(BD,{aria:function(){return Km},color:function(){return RD},dom:function(){return xi},forms:function(){return dg},matches:function(){return js},math:function(){return uu},standards:function(){return wD},table:function(){return Vm},text:function(){return rs},utils:function(){return ia}});var RD={};he(RD,{Color:function(){return wh},centerPointOfRect:function(){return SD},elementHasImage:function(){return lc},elementIsDistinct:function(){return _D},filteredRectStack:function(){return ID},flattenColors:function(){return VD},flattenShadowColors:function(){return qD},getBackgroundColor:function(){return ag},getBackgroundStack:function(){return zD},getContrast:function(){return ug},getForegroundColor:function(){return sg},getOwnBackgroundColor:function(){return Ch},getRectStack:function(){return PD},getStackingContext:function(){return QD},getStrokeColorsFromShadows:function(){return KD},getTextShadowColors:function(){return XD},hasValidContrastRatio:function(){return cg},incompleteData:function(){return sc},parseTextShadows:function(){return ZD},stackingContextToColor:function(){return eg}});var SD=function(e){if(!(e.left>i.innerWidth||e.top>i.innerHeight))return{x:Math.min(Math.ceil(e.left+e.width/2),i.innerWidth-1),y:Math.min(Math.ceil(e.top+e.height/2),i.innerHeight-1)}};function OD(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(e){return e.trim().toLowerCase()})}var _D=function(e,t){var r=i.getComputedStyle(e);if("none"!==r.getPropertyValue("background-image"))return!0;if(["border-bottom","border-top","outline"].reduce(function(e,t){var n=new wh;return n.parseString(r.getPropertyValue(t+"-color")),e||"none"!==r.getPropertyValue(t+"-style")&&parseFloat(r.getPropertyValue(t+"-width"))>0&&0!==n.alpha},!1))return!0;var n=i.getComputedStyle(t);if(OD(r)[0]!==OD(n)[0])return!0;var a=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce(function(e,t){return e||r.getPropertyValue(t)!==n.getPropertyValue(t)},!1),o=r.getPropertyValue("text-decoration");return o.split(" ").length<3&&(a=a||o!==n.getPropertyValue("text-decoration")),a},PD=function(e){var t=Yu(e),r=Vl(e);return!r||r.length<=1?[t]:r.some(function(e){return void 0===e})?null:(r.splice(0,0,t),r)},ID=function(e){var t=PD(e);if(t&&1===t.length)return t[0];if(t&&t.length>1){var r,n=t.shift();return t.forEach(function(a,o){if(0!==o){var i=t[o-1],u=t[o];r=i.every(function(e,t){return e===u[t]})||n.includes(e)}}),r?t[0]:(sc.set("bgColor","elmPartiallyObscuring"),null)}return sc.set("bgColor","outsideViewport"),null},MD=["hue","saturation","color","luminosity"],LD={normal:function(e,t){return t},multiply:function(e,t){return t*e},screen:function(e,t){return e+t-e*t},overlay:function(e,t){return this["hard-light"](t,e)},darken:function(e,t){return Math.min(e,t)},lighten:function(e,t){return Math.max(e,t)},"color-dodge":function(e,t){return 0===e?0:1===t?1:Math.min(1,e/(1-t))},"color-burn":function(e,t){return 1===e?1:0===t?0:1-Math.min(1,(1-e)/t)},"hard-light":function(e,t){return t<=.5?this.multiply(e,2*t):this.screen(e,2*t-1)},"soft-light":function(e,t){return t<=.5?e-(1-2*t)*e*(1-e):e+(2*t-1)*((e<=.25?((16*e-12)*e+4)*e:Math.sqrt(e))-e)},difference:function(e,t){return Math.abs(e-t)},exclusion:function(e,t){return e+t-2*e*t},hue:function(e,t){return t.setSaturation(e.getSaturation()).setLuminosity(e.getLuminosity())},saturation:function(e,t){return e.setSaturation(t.getSaturation()).setLuminosity(e.getLuminosity())},color:function(e,t){return t.setLuminosity(e.getLuminosity())},luminosity:function(e,t){return e.setLuminosity(t.getLuminosity())}};function VD(e,t){var r,n=function(e,t,r){if(MD.includes(r))return LD[r](e,t);var n=new wh;return["r","g","b"].forEach(function(a){n[a]=LD[r](e[a],t[a])}),n}(t,e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal"),a=jD(e.red,e.alpha,t.red,t.alpha,255*n.r),o=jD(e.green,e.alpha,t.green,t.alpha,255*n.g),i=jD(e.blue,e.alpha,t.blue,t.alpha,255*n.b),u=(r=e.alpha+t.alpha*(1-e.alpha),Math.min(Math.max(0,r),1));if(0===u)return new wh(a,o,i,u);var s=Math.round(a/u),l=Math.round(o/u),c=Math.round(i/u);return new wh(s,l,c,u)}function jD(e,t,r,n,a){return t*(1-n)*e+t*n*a+(1-t)*n*r}function qD(e,t){var r=e.alpha,n=(1-r)*t.red+r*e.red,a=(1-r)*t.green+r*e.green,o=(1-r)*t.blue+r*e.blue,i=e.alpha+t.alpha*(1-e.alpha);return new wh(n,a,o,i)}function zD(e){for(var t=Vl(e).map(function(t){return function(e){var t=e.indexOf(s.body),r=e,n=Ch(i.getComputedStyle(s.documentElement));if(t>1&&0===n.alpha&&!lc(s.documentElement)){t>1&&(r.splice(t,1),r.push(s.body));var a=r.indexOf(s.documentElement);a>0&&(r.splice(a,1),r.push(s.documentElement))}return r}(t=Rh(t,e))}),r=0;r<t.length;r++){var n=t[r];if(n[0]!==e)return sc.set("bgColor","bgOverlap"),null;if(0!==r&&!$D(n,t[0]))return sc.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function $D(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e.length!==t.length)return!1;for(var r=0;r<e.length;++r)if(e[r]!==t[r])return!1;return!0}var UD=.54,HD=.5,WD=1.5,GD=["top","right","bottom","left"];function KD(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ignoreEdgeCount,r=void 0!==t&&t,n=function(e){var t,r={},n=Q(e);try{for(n.s();!(t=n.n()).done;){var a,o=t.value,i=o.colorStr,u=o.pixels;null!==(a=r[i])&&void 0!==a||(r[i]={top:[],right:[],bottom:[],left:[]});var s=r[i],l=W(u,2),c=l[0],d=l[1];c>HD?s.right.push(c):-c>HD&&s.left.push(-c),d>HD?s.bottom.push(d):-d>HD&&s.top.push(-d)}}catch(e){n.e(e)}finally{n.f()}return r}(e),a=Object.entries(n).map(function(e){var t=W(e,2),r=t[0],n=t[1],a=GD.filter(function(e){return 0!==n[e].length}).length;return{colorStr:r,sides:n,edgeCount:a}});return!r&&a.some(function(e){var t=e.edgeCount;return t>1&&t<4})?null:a.map(YD).filter(function(e){return null!==e})}function YD(e){var t=e.colorStr,r=e.sides;if(4!==e.edgeCount)return null;var n=new wh;n.parseString(t);var a=0,o=!0;return GD.forEach(function(e){a+=r[e].length/4,o&&(o=r[e].every(function(e){return e>WD}))}),o||(n.alpha=1-Math.pow(UD,a)),n}function ZD(e){var t={pixels:[]},r=e.trim(),n=[t];if(!r)return[];for(;r;){var a=r.match(/^[a-z]+(\([^)]+\))?/i)||r.match(/^#[0-9a-f]+/i),o=r.match(/^([0-9.-]+)px/i)||r.match(/^(0)/);if(a)ba(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(a[0],"").trim(),t.colorStr=a[0];else if(o){ba(t.pixels.length<3,"Too many pixel units in text-shadow: ".concat(e)),r=r.replace(o[0],"").trim();var i=parseFloat(("."===o[1][0]?"0":"")+o[1]);t.pixels.push(i)}else{if(","!==r[0])throw new Error("Unable to process text-shadows: ".concat(r));ba(t.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},n.push(t),r=r.substr(1).trim()}}return n.forEach(function(e){var t=e.pixels;2===t.length&&t.push(0)}),n}function XD(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.minRatio,n=t.maxRatio,a=t.ignoreEdgeCount,o=[],u=i.getComputedStyle(e),s=u.getPropertyValue("text-shadow");if("none"===s)return o;var l=u.getPropertyValue("font-size"),c=parseInt(l);ba(!1===isNaN(c),"Unable to determine font-size value ".concat(l));var d,p=[],h=Q(ZD(s));try{for(h.s();!(d=h.n()).done;){var f=d.value,m=f.colorStr||u.getPropertyValue("color"),D=W(f.pixels,3),g=D[0],v=D[1],b=D[2],y=void 0===b?0:b;if(!(n&&y>=c*n))if(r&&y<c*r)p.push({colorStr:m,pixels:f.pixels});else{if(p.length>0){var F=KD(p,{ignoreEdgeCount:a});if(null===F)return null;o.push.apply(o,$(F)),p.splice(0,p.length)}var w=JD({colorStr:m,offsetX:g,offsetY:v,blurRadius:y,fontSize:c});o.push(w)}}}catch(e){h.e(e)}finally{h.f()}if(p.length>0){var E=KD(p,{ignoreEdgeCount:a});if(null===E)return null;o.push.apply(o,$(E))}return o}function JD(e){var t=e.colorStr,r=e.offsetX,n=e.offsetY,a=e.blurRadius,o=e.fontSize;if(r>a||n>a)return new wh(0,0,0,0);var i=new wh;return i.parseString(t),i.alpha*=function(e,t){return 0===e?1:.185/(e/t+.4)}(a,o),i}function QD(e,t){var r,n=to(e);if(n._stackingContext)return n._stackingContext;var a=[],o=new Map;return(t=null!==(r=t)&&void 0!==r?r:zD(e)).forEach(function(e){var t,r=to(e),n=function(e){var t=new wh;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}(r),i=r._stackingOrder.filter(function(e){return!!e.vNode});i.forEach(function(e,t){var r,n=e.vNode,u=null===(r=i[t-1])||void 0===r?void 0:r.vNode,s=ng(o,n,u);0!==t||o.get(n)||a.unshift(s),o.set(n,s)});var u=null===(t=i[i.length-1])||void 0===t?void 0:t.vNode,s=ng(o,r,u);i.length||a.unshift(s),s.bgColor=n}),n._stackingContext=a,a}function eg(e){var t;if(null===(t=e.descendants)||void 0===t||!t.length){var r=e.bgColor;return r.alpha*=e.opacity,{color:r,blendMode:e.blendMode}}var n=VD(e.descendants.reduce(tg,rg()),e.bgColor,e.descendants[0].blendMode);return n.alpha*=e.opacity,{color:n,blendMode:e.blendMode}}function tg(e,t){var r;return r=e instanceof wh?e:eg(e).color,VD(eg(t).color,r,t.blendMode)}function rg(e,t){var r,n;return{vNode:e,ancestor:t,opacity:parseFloat(null!==(r=null==e?void 0:e.getComputedStylePropertyValue("opacity"))&&void 0!==r?r:1),bgColor:new wh(0,0,0,0),blendMode:(n=null==e?void 0:e.getComputedStylePropertyValue("mix-blend-mode"),n||void 0),descendants:[]}}function ng(e,t,r){var n,a=e.get(r),o=null!==(n=e.get(t))&&void 0!==n?n:rg(t,a);return a&&r!==t&&!a.descendants.includes(o)&&a.descendants.unshift(o),o}function ag(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.1,n=to(e),a=n._cache.getBackgroundColor;if(a)return t.push.apply(t,$(a.bgElms)),sc.set("bgColor",a.incompleteData),a.bgColor;var o=function(e,t,r){var n,a,o=zD(e);if(!o)return null;var u=Ml(e),l=null!==(n=XD(e,{minRatio:r,ignoreEdgeCount:!0}))&&void 0!==n?n:[];l.length&&(l=[{color:l.reduce(qD)}]);for(var c=0;c<o.length;c++){var d=o[c],p=i.getComputedStyle(d);if(lc(d,p))return t.push(d),null;var h=Ch(p);if(0!==h.alpha){if("inline"!==p.getPropertyValue("display")&&!og(d,u))return t.push(d),sc.set("bgColor","elmPartiallyObscured"),null;if(t.push(d),1===h.alpha)break}}l=QD(e,o).map(eg).concat(l);var f=function(e,t){var r=[];if(!t){var n=s.documentElement,a=s.body,o=i.getComputedStyle(n),u=i.getComputedStyle(a),l=Ch(o),c=Ch(u),d=0!==c.alpha&&og(a,e.getBoundingClientRect());(0!==c.alpha&&0===l.alpha||d&&1!==c.alpha)&&r.unshift({color:c,blendMode:ig(u.getPropertyValue("mix-blend-mode"))}),0!==l.alpha&&(!d||d&&1!==c.alpha)&&r.unshift({color:l,blendMode:ig(o.getPropertyValue("mix-blend-mode"))})}return r}(e,o.includes(s.body));if((a=l).unshift.apply(a,$(f)),0===l.length)return new wh(255,255,255,1);var m=l.reduce(function(e,t){return VD(t.color,e.color instanceof wh?e.color:e,t.blendMode)});return VD(m.color instanceof wh?m.color:m,new wh(255,255,255,1))}(e,t,r);return n._cache.getBackgroundColor={bgColor:o,bgElms:t,incompleteData:sc.get("bgColor")},o}function og(e,t){t=Array.isArray(t)?t:[t];var r=e.getBoundingClientRect(),n=r.right,a=r.bottom,o=i.getComputedStyle(e).getPropertyValue("overflow");return(["scroll","auto"].includes(o)||e instanceof i.HTMLHtmlElement)&&(n=r.left+e.scrollWidth,a=r.top+e.scrollHeight),t.every(function(e){return e.top>=r.top&&e.bottom<=a&&e.left>=r.left&&e.right<=n})}function ig(e){return e||void 0}var ug=function(e,t){if(!t||!e)return null;t.alpha<1&&(t=VD(t,e));var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)};function sg(e,t,r){for(var n,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=i.getComputedStyle(e),u=[function(){return function(e,t){var r=t.textStrokeEmMin,n=void 0===r?0:r,a=parseFloat(e.getPropertyValue("-webkit-text-stroke-width"));if(0===a)return null;var o=e.getPropertyValue("font-size"),i=a/parseFloat(o);if(isNaN(i)||i<n)return null;var u=e.getPropertyValue("-webkit-text-stroke-color");return(new wh).parseString(u)}(o,a)},function(){return function(e){return(new wh).parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}(o)},function(){return XD(e,{minRatio:0})}],s=[],l=0,c=u;l<c.length;l++){var d=(0,c[l])();if(d&&(s=s.concat(d),1===d.alpha))break}var p=s.reduce(function(e,t){return VD(e,t)});if(null!==(n=r)&&void 0!==n||(r=ag(e,[])),null===r){var h=sc.get("bgColor");return sc.set("fgColor",h),null}var f=QD(e);return VD(function(e,t,r){for(;t;){var n;if(1===t.opacity&&t.ancestor)t=t.ancestor;else{e.alpha*=t.opacity;var a=(null===(n=t.ancestor)||void 0===n?void 0:n.descendants)||r;1!==t.opacity&&(a=a.slice(0,a.indexOf(t)));var o=a.map(eg);if(o.length){var i=o.reduce(function(e,t){return VD(t.color,e.color instanceof wh?e.color:e)},{color:new wh(0,0,0,0),blendMode:"normal"});e=VD(e,i),t=t.ancestor}else t=t.ancestor}}return e}(p,lg(f,e),f),new wh(255,255,255,1))}function lg(e,t){var r,n=Q(e);try{for(n.s();!(r=n.n()).done;){var a,o=r.value;if((null===(a=o.vNode)||void 0===a?void 0:a.actualNode)===t)return o;var i=lg(o.descendants,t);if(i)return i}}catch(e){n.e(e)}finally{n.f()}}var cg=function(e,t,r,n){var a=ug(e,t),o=n&&Math.ceil(72*r)/96<14||!n&&Math.ceil(72*r)/96<18?4.5:3;return{isValid:a>o,contrastRatio:a,expectedContrastRatio:o}},dg={};he(dg,{isAriaCombobox:function(){return ul},isAriaListbox:function(){return il},isAriaRange:function(){return ll},isAriaTextbox:function(){return ol},isDisabled:function(){return hg},isNativeSelect:function(){return al},isNativeTextbox:function(){return nl}});var pg=["fieldset","button","select","input","textarea"],hg=function e(t){var r=t._isDisabled;if("boolean"==typeof r)return r;var n=t.props.nodeName,a=t.attr("aria-disabled");return r=!(!pg.includes(n)||!t.hasAttr("disabled"))||(a?"true"===a.toLowerCase():!!t.parent&&e(t.parent)),t._isDisabled=r,r};function fg(e,t){if(!e||!t)return!1;var r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertyNames(t);return r.length===n.length&&r.every(function(r){var n=e[r],a=t[r];return l(n)===l(a)&&("object"===l(n)||"object"===l(a)?fg(n,a):n===a)})}function mg(e){var t=Gs(e),r=t&&t.includes("heading"),n=e.attr("aria-level"),a=parseInt(n,10),o=W(e.props.nodeName.match(/h(\d)/)||[],2)[1];return r?o&&!n?parseInt(o,10):isNaN(a)||a<1?o?parseInt(o,10):2:a||-1:-1}function Dg(e,t){var r,n=null===(r=t.data)||void 0===r?void 0:r.headingOrder,a=vg(t.node.ancestry,1);if(!n)return e;var o=n.map(function(e){return function(e,t){return H({},e,{ancestry:t.concat(e.ancestry)})}(e,a)}),i=function(e,t){for(;t.length;){var r=gg(e,t);if(-1!==r)return r;t=vg(t,1)}return-1}(e,a);return-1===i?e.push.apply(e,$(o)):e.splice.apply(e,[i,0].concat($(o))),e}function gg(e,t){return e.findIndex(function(e){return Wf(e.ancestry,t)})}function vg(e,t){return e.slice(0,e.length-t)}function bg(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return r.top>=n.top&&r.left>=n.left&&r.bottom<=n.bottom&&r.right<=n.right}function yg(e){return e.getComputedStylePropertyValue("pointer-events")}function Fg(e){return{width:Math.round(10*e.width)/10,height:Math.round(10*e.height)/10}}function wg(e,t){return yi(e,t)&&!Qu(t)}function Eg(e){return e.map(function(e){return e.actualNode})}function Cg(e){return Math.round(10*e)/10}function xg(e,t,r){var n=r.validRoles,a=void 0===n?[]:n,o=r.validNodeNames,i=void 0===o?[]:o,u=e.props,s=u.nodeName,l=u.nodeType,c=u.nodeValue,d=t?"div > ":"";if(3===l&&""!==c.trim())return d+"#text";if(1!==l||!Qs(e))return!1;var p=fs(e);return p?!a.includes(p)&&d+"[role=".concat(p,"]"):!i.includes(s)&&d+s}function Ag(e){return"div"===e.props.nodeName&&null===fs(e)}function Tg(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.map(function(e){return{vChild:e,nested:t}})}function kg(e){return""!==(e||"").trim()}function Ng(e){var t=Tl(e,{emoji:!0,nonBmp:!0,punctuations:!0});return ws(t)}function Bg(e){if(!e.children){if(1===e.props.nodeType)throw new Error("Cannot determine children");return[]}var t=[];return e.children.forEach(function(e){"widget"===Jl(e)&&Ju(e)?t.push(e):t.push.apply(t,$(Bg(e)))}),t}function Rg(e){var t=Jf(e.attr("tabindex"));return null!==t&&t<0}function Sg(e){if(Qu(e))return!0;if(!e.children){if(1===e.props.nodeType)throw new Error("Cannot determine children");return!1}return e.children.some(function(e){return Sg(e)})}var Og=["block","list-item","table","flex","grid","inline-block"];function _g(e){var t=i.getComputedStyle(e).getPropertyValue("display");return-1!==Og.indexOf(t)||"table-"===t.substr(0,6)}function Pg(e,t){var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}var Ig=["block","list-item","table","flex","grid","inline-block"];function Mg(e){var t=i.getComputedStyle(e).getPropertyValue("display");return-1!==Ig.indexOf(t)||"table-"===t.substr(0,6)}var Lg=Na(function(e,t){var r=i.getComputedStyle(e,t),n=function(e,t){return r.getPropertyValue(e)===t};if(n("content","none")||n("display","none")||n("visibility","hidden")||!1===n("position","absolute"))return 0;if(0===Ch(r).alpha&&n("background-image","none"))return 0;var a=Vg(r.getPropertyValue("width")),o=Vg(r.getPropertyValue("height"));return"px"!==a.unit||"px"!==o.unit?0===a.value||0===o.value?0:1/0:a.value*o.value});function Vg(e){var t=W(e.match(/^([0-9.]+)([a-z]+)$/i)||[],3),r=t[1],n=void 0===r?"":r,a=t[2],o=void 0===a?"":a;return{value:parseFloat(n),unit:o.toLowerCase()}}var jg={ARTICLE:!0,ASIDE:!0,NAV:!0,SECTION:!0},qg={alert:!0,alertdialog:!0,application:!0,article:!0,banner:!1,complementary:!0,contentinfo:!0,dialog:!0,form:!0,log:!0,main:!0,navigation:!0,region:!0,search:!1,status:!0,tabpanel:!0};function zg(e,t,r,n){var a=fs(e);if(r||(r=gD(a)),!r)return null;for(var o=r.includes("group"),i=n?e:e.parent;i;){var u=Gs(i,{noPresentational:!0});if(u){if("group"!==u||!o)return r.includes(u)?null:r;t.includes(a)&&r.push(a),r=r.filter(function(e){return"group"!==e}),i=i.parent}else i=i.parent}return r}function $g(e){var t=e.vNode;return 3===t.props.nodeType?t.props.nodeValue.trim().length>0:Ul(t,!1,!0)}var Ug=Na(function(e){if(e){var t=Gs(e,{noPresentational:!0,chromium:!0});return t?Jl(t):Ug(e.parent)}});function Hg(e){var t,r,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).invalidTableRowAttrs,a=arguments.length>2?arguments[2]:void 0,o=null!==(t=null==n||null===(r=n.filter)||void 0===r?void 0:r.call(n,function(e){return a.hasAttr(e)}))&&void 0!==t?t:[];if(0===o.length)return!0;var i=function(e){if(e.parent)return Eo(e,'table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]')}(a),u=i&&Gs(i);if(!u||"treegrid"===u)return!0;var s="row".concat(o.length>1?"Plural":"Singular");return this.data({messageKey:s,invalidAttrs:o,ownerRole:u}),!1}function Wg(e,t,r){var n,a=r.props,o=a.nodeName,i=a.type,u=(n=r.attr("aria-checked"))?(n=n.toLowerCase(),["mixed","true"].includes(n)?n:"false"):"";if("input"!==o||"checkbox"!==i||!u)return!0;var s,l=(s=r).props.indeterminate?"mixed":s.props.checked?"true":"false";return u===l||(this.data({messageKey:"checkbox",checkState:l}),!1)}var Gg={row:Hg,checkbox:Wg};function Kg(e,t,r){return"aria-required"===e&&"false"===t||!("aria-multiline"!==e||"false"!==t||!r.hasAttr("contenteditable"))}var Yg=function(e,t){try{return"svg"===t.props.nodeName||!!Eo(t,"svg")}catch(e){return!1}},Zg=[function(e,t){return Xg(t)},function(e,t){return function(e){return"area"!==e.props.nodeName}(t)},function(e,t){return!Yg(0,t)},function(e,t){return Ju(t)},function(e,t){return Qu(t)||!Jg(t)},function(e){return!rc(e,{noLengthCompare:!0})}];function Xg(e){return"widget"===Jl(e)}var Jg=Na(function e(t){return!(null==t||!t.parent)&&(!(!Xg(t.parent)||!Qu(t.parent))||e(t.parent))}),Qg=function(e,t){var r=fs(t);return!(r&&!["none","presentation"].includes(r)&&!(ss[r]||{}).accessibleNameRequired&&!Ju(t))};function ev(e){var t;if(null==e||null===(t=e.ownerDocument)||void 0===t||!t.createRange)return!0;var r=e.ownerDocument.createRange();return r.setStart(e,0),r.setEnd(e,e.childNodes.length),0===r.getClientRects().length}var tv=function(e,t,r){return r.initiator},rv={emoji:!0,nonBmp:!1,punctuations:!0};function nv(e){return!e||"true"!==e.getAttribute("aria-hidden")&&nv(Xi(e))}var av={"abstractrole-evaluate":function(e,t,r){var n=Uh(r.attr("role")).filter(function(e){return"abstract"===Jl(e)});return n.length>0&&(this.data(n),!0)},"accesskeys-after":function(e){var t={};return e.filter(function(e){if(!e.data)return!1;var r=e.data.toUpperCase();return t[r]?(t[r].relatedNodes.push(e.relatedNodes[0]),!1):(t[r]=e,e.relatedNodes=[],!0)}).map(function(e){return e.result=!!e.relatedNodes.length,e})},"accesskeys-evaluate":function(e,t,r){return Ki(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),!0},"alt-space-value-evaluate":function(e,t,r){var n=r.attr("alt");return"string"==typeof n&&/^\s+$/.test(n)},"aria-allowed-attr-evaluate":function(e,t,r){var n=[],a=Gs(r),o=Ym(a);Array.isArray(t[a])&&(o=tm(t[a].concat(o)));var i,u=Q(r.attrNames);try{for(u.s();!(i=u.n()).done;){var s=i.value;!yD(s)||o.includes(s)||Kg(s,r.attr(s),r)||n.push(s)}}catch(e){u.e(e)}finally{u.f()}return!n.length||(this.data(n.map(function(e){return e+'="'+r.attr(e)+'"'})),!(a||$f(r)||Ju(r))&&void 0)},"aria-allowed-attr-matches":function(e,t){var r=/^aria-/,n=t.attrNames;if(n.length)for(var a=0,o=n.length;a<o;a++)if(r.test(n[a]))return!0;return!1},"aria-allowed-role-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=t.allowImplicit,a=void 0===n||n,o=t.ignoredTags,i=void 0===o?[]:o,u=r.props.nodeName;if(i.map(function(e){return e.toLowerCase()}).includes(u))return!0;var s=rD(r,a);if(s.length){if(this.data(s),!Qs(r))return;return!1}return!0},"aria-allowed-role-matches":function(e,t){return null!==fs(t,{dpub:!0,fallback:!0})},"aria-busy-evaluate":function(e,t,r){return"true"===r.attr("aria-busy")},"aria-conditional-attr-evaluate":function(e,t,r){var n=Gs(r);return!Gg[n]||Gg[n].call(this,e,t,r)},"aria-conditional-checkbox-attr-evaluate":Wg,"aria-conditional-row-attr-evaluate":Hg,"aria-errormessage-evaluate":function(e,t,r){t=Array.isArray(t)?t:[];var n=r.attr("aria-errormessage"),a=r.hasAttr("aria-errormessage"),o=r.attr("aria-invalid");return!r.hasAttr("aria-invalid")||"false"===o||-1!==t.indexOf(n)||!a||(this.data(Uh(n)),function(e){if(""===e.trim())return ds.ariaAttrs["aria-errormessage"].allowEmpty;var t;try{t=e&&ns(r,"aria-errormessage")[0]}catch(t){return void this.data({messageKey:"idrefs",values:Uh(e)})}return t?Qs(t)?"alert"===t.getAttribute("role")||"assertive"===t.getAttribute("aria-live")||"polite"===t.getAttribute("aria-live")||Uh(r.attr("aria-describedby")).indexOf(e)>-1:(this.data({messageKey:"hidden",values:Uh(e)}),!1):void 0}.call(this,n))},"aria-has-attr-matches":function(e,t){var r=/^aria-/;return t.attrNames.some(function(e){return r.test(e)})},"aria-hidden-body-evaluate":function(e,t,r){return"true"!==r.attr("aria-hidden")},"aria-hidden-focus-matches":function(e){return nv(Xi(e))},"aria-label-evaluate":function(e,t,r){return!!ws(is(r))},"aria-labelledby-evaluate":function(e,t,r){try{return!!ws(os(r))}catch(e){return}},"aria-level-evaluate":function(e,t,r){var n=r.attr("aria-level");if(!(parseInt(n,10)>6))return!0},"aria-prohibited-attr-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=(null==t?void 0:t.elementsAllowedAriaLabel)||[],a=r.props.nodeName,o=Gs(r,{chromium:!0}),i=function(e,t,r,n){var a=ds.ariaRoles[t];return a?a.prohibitedAttrs||[]:t||n.includes(r)||"widget"===Ug(e)?[]:["aria-label","aria-labelledby"]}(r,o,a,n).filter(function(e){return!!r.attrNames.includes(e)&&""!==ws(r.attr(e))});if(0===i.length)return!1;var u=r.hasAttr("role")?"hasRole":"noRole";u+=i.length>1?"Plural":"Singular",this.data({role:o,nodeName:a,messageKey:u,prohibited:i});var s=ml(r,{subtreeDescendant:!0});return""===ws(s)||void 0},"aria-required-attr-evaluate":function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=fs(n),o=n.attrNames,i=DD(a);if(Array.isArray(r[a])&&(i=tm(r[a],i)),!a||!o.length||!i.length)return!0;if(function(e,t){return"separator"===t&&!Ju(e)}(n,a)||function(e,t){return"combobox"===t&&"false"===e.attr("aria-expanded")}(n,a))return!0;if("slider"===a&&null!==(t=n.attr("aria-valuetext"))&&void 0!==t&&t.trim())return!0;var u=qs(n),s=i.filter(function(e){return!n.attr(e)&&!function(e,t){var r;return void 0!==(null===(r=e.implicitAttrs)||void 0===r?void 0:r[t])}(u,e)});return!s.length||(this.data(s),!1)},"aria-required-children-evaluate":function(e,t,r){var n=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],a=fs(r,{dpub:!0}),o=vD(a);if(null===o)return!0;var i=function(e,t){for(var r,n=[],a=Xs(e),o=function(){if(3===r.props.nodeType&&n.push({vNode:r,role:null}),1!==r.props.nodeType||!Qs(r))return 1;var e=Gs(r,{noPresentational:!0}),o=function(e){return Ds().find(function(t){return e.hasAttr(t)})}(r),i=!!o||Ju(r);if(!e&&!i||["group","rowgroup"].includes(e)&&t.some(function(t){return t===e}))a.push.apply(a,$(r.children));else if(e||i){var u=o||"tabindex";n.push({role:e,attr:u,vNode:r})}};r=a.shift();)o();return n}(r,o),u=i.filter(function(e){var t=e.role;return 1===e.vNode.props.nodeType&&!o.includes(t)});return u.length?(this.relatedNodes(u.map(function(e){return e.vNode})),this.data({messageKey:"unallowed",values:u.map(function(e){return function(e,t){var r=e.props,n=r.nodeName;if(3===r.nodeType)return"#text";var a=fs(e,{dpub:!0});return a?"[role=".concat(a,"]"):t?n+"[".concat(t,"]"):n}(e.vNode,e.attr)}).filter(function(e,t,r){return r.indexOf(e)===t}).join(", ")}),!1):!!function(e,t){return t.some(function(t){var r=t.role;return r&&e.includes(r)})}(o,i)||("true"===r.attr("aria-busy")?(this.data({messageKey:"aria-busy"}),!0):(this.data(o),!(!n.includes(a)||i.some($g))&&void 0))},"aria-required-children-matches":function(e,t){var r=fs(t,{dpub:!0});return!!vD(r)},"aria-required-parent-evaluate":function(e,t,r){var n=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],a=zg(r,n);if(!a)return!0;var o=function(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var n=Fa(e.getAttribute("id"));(r=Ti(e).querySelector("[aria-owns~=".concat(n,"]")))&&t.push(r)}e=e.parentElement}return t.length?t:null}(e);if(o)for(var i=0,u=o.length;i<u;i++)if(!(a=zg(to(o[i]),n,a,!0)))return!0;return this.data(a),!1},"aria-required-parent-matches":function(e,t){var r=fs(t);return!!gD(r)},"aria-roledescription-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Gs(arguments.length>2?arguments[2]:void 0);return!!(t.supportedRoles||[]).includes(r)||!(!r||"presentation"===r||"none"===r)&&void 0},"aria-unsupported-attr-evaluate":function(e,t,r){var n=r.attrNames.filter(function(t){var r=ds.ariaAttrs[t];if(!yD(t))return!1;var n=r.unsupported;return"object"!==l(n)?!!n:!js(e,n.exceptions)});return!!n.length&&(this.data(n),!0)},"aria-valid-attr-evaluate":function(e,t,r){t=Array.isArray(t.value)?t.value:[];var n=[],a=/^aria-/;return r.attrNames.forEach(function(e){-1===t.indexOf(e)&&a.test(e)&&!yD(e)&&n.push(e)}),!n.length||(this.data(n),!1)},"aria-valid-attr-value-evaluate":function(e,t,r){t=Array.isArray(t.value)?t.value:[];var n="",a="",o=[],i=/^aria-/,u=["aria-errormessage"],s={"aria-controls":function(){var e=!1===["false",null].includes(r.attr("aria-haspopup"));return e&&(n='aria-controls="'.concat(r.attr("aria-controls"),'"'),a="controlsWithinPopup"),"false"!==r.attr("aria-expanded")&&"false"!==r.attr("aria-selected")&&!1===e},"aria-current":function(e){e||(n='aria-current="'.concat(r.attr("aria-current"),'"'),a="ariaCurrent")},"aria-owns":function(){return"false"!==r.attr("aria-expanded")},"aria-describedby":function(e){e||(n='aria-describedby="'.concat(r.attr("aria-describedby"),'"'),a=c._tree&&c._tree[0]._hasShadowRoot?"noIdShadow":"noId")},"aria-labelledby":function(e){e||(n='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),a=c._tree&&c._tree[0]._hasShadowRoot?"noIdShadow":"noId")}};return r.attrNames.forEach(function(e){if(!u.includes(e)&&!t.includes(e)&&i.test(e)){var l,c=r.attr(e);try{l=bD(r,e)}catch(t){return n="".concat(e,'="').concat(c,'"'),void(a="idrefs")}s[e]&&!s[e](l)||l||(""!==c||function(e){var t;return"string"===(null===(t=ds.ariaAttrs[e])||void 0===t?void 0:t.type)}(e)?o.push("".concat(e,'="').concat(c,'"')):(n=e,a="empty"))}}),o.length?(this.data(o),!1):!n||void this.data({messageKey:a,needsReview:n})},"attr-non-space-content-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(!t.attribute||"string"!=typeof t.attribute)throw new TypeError("attr-non-space-content requires options.attribute to be a string");if(!r.hasAttr(t.attribute))return this.data({messageKey:"noAttr"}),!1;var n=r.attr(t.attribute);return!!ws(n)||(this.data({messageKey:"emptyAttr"}),!1)},"autocomplete-appropriate-evaluate":function(e,t,r){if("input"!==r.props.nodeName)return!0;var n=["text","search","number","tel"],a=["text","search","url"],o={bday:["text","search","date"],email:["text","search","email"],username:["text","search","email"],"street-address":["text"],tel:["text","search","tel"],"tel-country-code":["text","search","tel"],"tel-national":["text","search","tel"],"tel-area-code":["text","search","tel"],"tel-local":["text","search","tel"],"tel-local-prefix":["text","search","tel"],"tel-local-suffix":["text","search","tel"],"tel-extension":["text","search","tel"],"cc-number":n,"cc-exp":["text","search","month","tel"],"cc-exp-month":n,"cc-exp-year":n,"cc-csc":n,"transaction-amount":n,"bday-day":n,"bday-month":n,"bday-year":n,"new-password":["text","search","password"],"current-password":["text","search","password"],url:a,photo:a,impp:a};"object"===l(t)&&Object.keys(t).forEach(function(e){o[e]||(o[e]=[]),o[e]=o[e].concat(t[e])});var i=r.attr("autocomplete").split(/\s+/g).map(function(e){return e.toLowerCase()}),u=i[i.length-1];if(Nl.stateTerms.includes(u))return!0;var s=o[u],c=r.hasAttr("type")?ws(r.attr("type")).toLowerCase():"text";return c=Am().includes(c)?c:"text",void 0===s?"text"===c:s.includes(c)},"autocomplete-matches":function(e,t){var r=t.attr("autocomplete");if(!r||""===ws(r))return!1;var n=t.props.nodeName;if(!1===["textarea","input","select"].includes(n))return!1;if("input"===n&&["submit","reset","button","hidden"].includes(t.props.type))return!1;var a=t.attr("aria-disabled")||"false";if(t.hasAttr("disabled")||"true"===a.toLowerCase())return!1;var o=t.attr("role"),i=Jf(t.attr("tabindex"));if(i<0&&o){var u=ds.ariaRoles[o];if(void 0===u||"widget"!==u.type)return!1}return!(i<0&&t.actualNode&&!nu(t)&&!Qs(t))},"autocomplete-valid-evaluate":function(e,t,r){var n=r.attr("autocomplete")||"";return Bl(n,t)},"avoid-inline-spacing-evaluate":function(e,t){var r=t.cssProperties.filter(function(t){if("important"===e.style.getPropertyPriority(t))return t});return!(r.length>0&&(this.data(r),1))},"braille-label-equivalent-evaluate":function(e,t,r){var n;if(!(null!==(n=r.attr("aria-braillelabel"))&&void 0!==n?n:"").trim())return!0;try{return""!==ws(xl(r))}catch(e){return}},"braille-roledescription-equivalent-evaluate":function(e,t,r){var n,a=null!==(n=r.attr("aria-brailleroledescription"))&&void 0!==n?n:"";if(""===ws(a))return!0;var o=r.attr("aria-roledescription");return"string"!=typeof o?(this.data({messageKey:"noRoleDescription"}),!1):""!==ws(o)||(this.data({messageKey:"emptyRoleDescription"}),!1)},"bypass-matches":function(e,t,r){return!tv(0,0,r)||!!e.querySelector("a[href]")},"caption-evaluate":function(e,t,r){return!fm(r,"track").some(function(e){return"captions"===(e.attr("kind")||"").toLowerCase()})&&void 0},"caption-faked-evaluate":function(e){var t=gs(e),r=t[0];return t.length<=1||r.length<=1||e.rows.length<=1||r.reduce(function(e,t,n){return e||t!==r[n+1]&&void 0!==r[n+1]},!1)},"color-contrast-evaluate":function(e,t,r){var n=t.ignoreUnicode,a=t.ignoreLength,o=t.ignorePseudo,u=t.boldValue,s=t.boldTextPt,l=t.largeTextPt,c=t.contrastRatio,d=t.shadowOutlineEmMax,p=t.pseudoSizeThreshold;if(!nu(e))return this.data({messageKey:"hidden"}),!0;var h=tl(r,!1,!0);if(n&&function(e){var t={nonBmp:!0},r=El(e,t),n=""===ws(Tl(e,t));return r&&n}(h))this.data({messageKey:"nonBmp"});else{var f=i.getComputedStyle(e),m=parseFloat(f.getPropertyValue("font-size")),D=f.getPropertyValue("font-weight"),g=parseFloat(D)>=u||"bold"===D,v=Math.ceil(72*m)/96,b=g&&v<s||!g&&v<l?c.normal:c.large,y=b.expected,F=b.minThreshold,w=b.maxThreshold,E=function(e,t){var r=t.pseudoSizeThreshold,n=void 0===r?.25:r,a=t.ignorePseudo;if(!(void 0!==a&&a)){var o=e.boundingClientRect,i=o.width*o.height*n;do{if(Lg(e.actualNode,":before")+Lg(e.actualNode,":after")>i)return e}while(e=e.parent)}}(r,{ignorePseudo:o,pseudoSizeThreshold:p});if(E)return this.data({fontSize:"".concat((72*m/96).toFixed(1),"pt (").concat(m,"px)"),fontWeight:g?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:y+":1"}),void this.relatedNodes(E.actualNode);var C=XD(e,{minRatio:.001,maxRatio:d});if(null!==C){var x=[],A=ag(e,x,d),T=sg(e,!1,A,t),k=null,N=null,B=null;if(0===C.length)k=ug(A,T);else if(T&&A){B=[].concat($(C),[A]).reduce(qD);var R=ug(A,T),S=ug(A,B),O=ug(B,T);(k=Math.max(R,S,O))!==R&&(N=S>O?"shadowOnBgColor":"fgOnShadowColor")}var _=k>y;if("number"==typeof F&&("number"!=typeof k||k<F)||"number"==typeof w&&("number"!=typeof k||k>w))return this.data({contrastRatio:k}),!0;var P,I=Math.floor(100*k)/100;null===A?P=sc.get("bgColor"):_||(P=N);var M=1===I,L=1===h.length;return M?P=sc.set("bgColor","equalRatio"):_||!L||a||(P="shortTextContent"),this.data({fgColor:T?T.toHexString():void 0,bgColor:A?A.toHexString():void 0,contrastRatio:I,fontSize:"".concat((72*m/96).toFixed(1),"pt (").concat(m,"px)"),fontWeight:g?"bold":"normal",messageKey:P,expectedContrastRatio:y+":1",shadowColor:B?B.toHexString():void 0}),null===T||null===A||M||L&&!a&&!_?(P=null,sc.clear(),void this.relatedNodes(x)):(_||this.relatedNodes(x),_)}this.data({messageKey:"complexTextShadows"})}},"color-contrast-matches":function(e,t){var r=t.props,n=r.nodeName,a=r.type;if("option"===n)return!1;if("select"===n&&!e.options.length)return!1;if("input"===n&&["hidden","range","color","checkbox","radio","image"].includes(a))return!1;if(hg(t)||Iu(t))return!1;if(["input","select","textarea"].includes(n)){var o=i.getComputedStyle(e),u=parseInt(o.getPropertyValue("text-indent"),10);if(u){var l=e.getBoundingClientRect();if(l={top:l.top,bottom:l.bottom,left:l.left+u,right:l.right+u},!jh(l,e))return!1}return!0}var c=Ni(t,"label");if("label"===n||c){var d=c||e,p=c?to(c):t;if(d.htmlFor){var h=Ti(d).getElementById(d.htmlFor),f=h&&to(h);if(f&&hg(f))return!1}var m=fm(p,'input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea')[0];if(m&&hg(m))return!1}for(var D=[],g=t;g;){if(g.props.id){var v=Jm(g).filter(function(e){return Uh(e.getAttribute("aria-labelledby")||"").includes(g.props.id)}).map(function(e){return to(e)});D.push.apply(D,$(v))}g=g.parent}if(D.length>0&&D.every(hg))return!1;if(!function(e){var t=tl(e,!1,!0);return""!==t&&""!==Tl(t,rv)&&e.children.some(function(e){return"#text"===e.props.nodeName&&!Cl(e)})}(t))return!1;for(var b=s.createRange(),y=t.children,F=0;F<y.length;F++){var w=y[F];3===w.actualNode.nodeType&&""!==ws(w.actualNode.nodeValue)&&b.selectNodeContents(w.actualNode)}var E=Array.from(b.getClientRects()),C=Oi(t);return E.some(function(t){var r=jh(t,e);if(!C.length)return r;var n=C.some(function(e){return Ri(t,e.boundingClientRect)});return r&&n})},"css-orientation-lock-evaluate":function(e,t,r,n){var a=(n||{}).cssom,o=void 0===a?void 0:a,i=(t||{}).degreeThreshold,u=void 0===i?0:i;if(o&&o.length){for(var s=!1,l=[],c=o.reduce(function(e,t){var r=t.sheet,n=t.root,a=t.shadowId||"topDocument";if(e[a]||(e[a]={root:n,rules:[]}),!r||!r.cssRules)return e;var o=Array.from(r.cssRules);return e[a].rules=e[a].rules.concat(o),e},{}),d=function(){var e=h[p],t=c[e],r=t.root,n=t.rules.filter(f);if(!n.length)return 1;n.forEach(function(e){var t=e.cssRules;Array.from(t).forEach(function(e){var t=function(e){var t=e.selectorText,r=e.style;if(!t||r.length<=0)return!1;var n=r.transform||r.webkitTransform||r.msTransform||!1;if(!n&&!r.rotate)return!1;var a=function(e){if(!e)return 0;var t=e.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!t)return 0;var r=W(t,3);return m(r[1],r[2])}(n),o=a+m("rotate",r.rotate);return!!o&&(o=Math.abs(o),!(Math.abs(o-180)%180<=u)&&Math.abs(o-90)%90<=u)}(e);if(t&&"HTML"!==e.selectorText.toUpperCase()){var n=Array.from(r.querySelectorAll(e.selectorText))||[];l=l.concat(n)}s=s||t})})},p=0,h=Object.keys(c);p<h.length;p++)d();return!s||(l.length&&this.relatedNodes(l),!1)}function f(e){var t=e.type,r=e.cssText;return 4===t&&(/orientation:\s*landscape/i.test(r)||/orientation:\s*portrait/i.test(r))}function m(e,t){switch(e){case"rotate":case"rotateZ":return D(t);case"rotate3d":var r=W(t.split(",").map(function(e){return e.trim()}),4),n=r[2],a=r[3];if(0===parseInt(n))return;return D(a);case"matrix":case"matrix3d":return function(e){var t=e.split(",");if(t.length<=6){var r=W(t,2),n=r[0],a=r[1];return g(Math.atan2(parseFloat(a),parseFloat(n)))}var o=parseFloat(t[8]),i=Math.asin(o),u=Math.cos(i);return g(Math.acos(parseFloat(t[0])/u))}(t);default:return 0}}function D(e){var t=W(e.match(/(deg|grad|rad|turn)/)||[],1)[0];if(!t)return 0;var r,n,a=parseFloat(e.replace(t,""));switch(t){case"rad":return g(a);case"grad":return n=a,(n%=400)<0&&(n+=400),Math.round(n/400*360);case"turn":return r=a,Math.round(360/(1/r));default:return parseInt(a)}}function g(e){return Math.round(e*(180/Math.PI))}},"data-table-large-matches":function(e){if(Um(e)){var t=gs(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return!1},"data-table-matches":function(e){return Um(e)},"deprecatedrole-evaluate":function(e,t,r){var n=Gs(r,{dpub:!0,fallback:!0}),a=ds.ariaRoles[n];return!(null==a||!a.deprecated||(this.data(n),0))},"dlitem-evaluate":function(e){var t=Xi(e),r=t.nodeName.toUpperCase(),n=fs(t);return"DIV"===r&&["presentation","none",null].includes(n)&&(r=(t=Xi(t)).nodeName.toUpperCase(),n=fs(t)),"DL"===r&&!(n&&!["presentation","none","list"].includes(n))},"doc-has-title-evaluate":function(){var e=s.title;return!!ws(e)},"duplicate-id-active-matches":function(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(Fa(t),'"]'),n=Array.from(Ti(e).querySelectorAll(r));return!pD(e)&&n.some(Ju)},"duplicate-id-after":function(e){var t=[];return e.filter(function(e){return-1===t.indexOf(e.data)&&(t.push(e.data),!0)})},"duplicate-id-aria-matches":function(e){return pD(e)},"duplicate-id-evaluate":function(e){var t=e.getAttribute("id").trim();if(!t)return!0;var r=Ti(e),n=Array.from(r.querySelectorAll('[id="'.concat(Fa(t),'"]'))).filter(function(t){return t!==e});return n.length&&this.relatedNodes(n),this.data(t),0===n.length},"duplicate-id-misc-matches":function(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(Fa(t),'"]'),n=Array.from(Ti(e).querySelectorAll(r));return!pD(e)&&n.every(function(e){return!Ju(e)})},"duplicate-img-label-evaluate":function(e,t,r){if(["none","presentation"].includes(Gs(r)))return!1;var n=Eo(r,t.parentSelector);if(!n)return!1;var a=tl(n,!0).toLowerCase();return""!==a&&a===xl(r).toLowerCase()},"exists-evaluate":function(){},"explicit-evaluate":function(e,t,r){var n=this;if(!r.attr("id"))return!1;if(r.actualNode){var a=Ti(r.actualNode),o=Fa(r.attr("id")),i=Array.from(a.querySelectorAll('label[for="'.concat(o,'"]')));if(this.relatedNodes(i),!i.length)return!1;try{return i.some(function(e){if(nu(e)){var t=ws(as(e,{inControlContext:!0,startNode:r}));return n.data({explicitLabel:t}),!!t}return!0})}catch(e){return}}},"fallbackrole-evaluate":function(e,t,r){var n=Uh(r.attr("role"));return!(n.length<=1)&&(!function(e,t){return!zs(e)&&2===t.length&&t.includes("none")&&t.includes("presentation")}(r,n)||void 0)},"focusable-content-evaluate":function(e,t,r){var n=r.tabbableElements;return!!n&&n.filter(function(e){return e!==r}).length>0},"focusable-disabled-evaluate":function(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return!0;var o=a.filter(function(e){return n.includes(e.props.nodeName)});return this.relatedNodes(o.map(function(e){return e.actualNode})),!(0!==o.length&&!nc())||!!o.every(function(e){var t=e.getComputedStylePropertyValue("pointer-events"),r=parseInt(e.getComputedStylePropertyValue("width")),n=parseInt(e.getComputedStylePropertyValue("height"));return e.actualNode.onfocus||(0===r||0===n)&&"none"===t})&&void 0},"focusable-element-evaluate":function(e,t,r){return!(!r.hasAttr("contenteditable")||!function e(t){var n=t.attr("contenteditable");if("true"===n||""===n)return!0;if("false"===n)return!1;var a=Eo(r.parent,"[contenteditable]");return!!a&&e(a)}(r))||Qu(r)},"focusable-modal-open-evaluate":function(e,t,r){var n=r.tabbableElements.map(function(e){return e.actualNode});return!n||!n.length||!nc()||void this.relatedNodes(n)},"focusable-no-name-evaluate":function(e,t,r){if(!Qu(r))return!1;try{return!xl(r)}catch(e){return}},"focusable-not-tabbable-evaluate":function(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return!0;var o=a.filter(function(e){return!n.includes(e.props.nodeName)});return this.relatedNodes(o.map(function(e){return e.actualNode})),!(0!==o.length&&!nc())||!!o.every(function(e){var t=e.getComputedStylePropertyValue("pointer-events"),r=parseInt(e.getComputedStylePropertyValue("width")),n=parseInt(e.getComputedStylePropertyValue("height"));return e.actualNode.onfocus||(0===r||0===n)&&"none"===t})&&void 0},"frame-focusable-content-evaluate":function(e,t,r){if(r.children)try{return!r.children.some(function(e){return Sg(e)})}catch(e){return}},"frame-focusable-content-matches":function(e,t,r){var n,a;return!r.initiator&&!r.focusable&&(null===(n=r.size)||void 0===n?void 0:n.width)*(null===(a=r.size)||void 0===a?void 0:a.height)>1},"frame-tested-after":function(e){var t={};return e.filter(function(e){if("html"!==e.node.ancestry[e.node.ancestry.length-1]){var r=e.node.ancestry.flat(1/0).join(" > ");return t[r]=e,!0}var n=e.node.ancestry.slice(0,e.node.ancestry.length-1).flat(1/0).join(" > ");return t[n]&&(t[n].result=!0),!1})},"frame-tested-evaluate":function(e,t){return!t.isViolation&&void 0},"frame-title-has-text-matches":function(e){var t=e.getAttribute("title");return!!ws(t)},"has-alt-evaluate":function(e,t,r){var n=r.props.nodeName;return!!["img","input","area"].includes(n)&&r.hasAttr("alt")},"has-descendant-after":function(e){return e.some(function(e){return!0===e.result})&&e.forEach(function(e){e.result=!0}),e},"has-descendant-evaluate":function(e,t,r){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("has-descendant requires options.selector to be a string");if(t.passForModal&&nc())return!0;var n=nm(r,t.selector,function(e){return Qs(e)});return this.relatedNodes(n.map(function(e){return e.actualNode})),n.length>0},"has-global-aria-attribute-evaluate":function(e,t,r){var n=Ds().filter(function(e){return r.hasAttr(e)});return this.data(n),n.length>0},"has-implicit-chromium-role-matches":function(e,t){return null!==zs(t,{chromium:!0})},"has-lang-evaluate":function(e,t,r){var n=void 0!==s&&Ba(s);return t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&kg(r.attr("xml:lang"))&&!kg(r.attr("lang"))&&!n?(this.data({messageKey:"noXHTML"}),!1):!!t.attributes.some(function(e){return kg(r.attr(e))})||(this.data({messageKey:"noLang"}),!1)},"has-text-content-evaluate":function(e,t,r){try{return""!==ws(ml(r))}catch(e){return}},"has-widget-role-evaluate":function(e){var t=e.getAttribute("role");if(null===t)return!1;var r=Jl(t);return"widget"===r||"composite"===r},"heading-matches":function(e,t){return"heading"===Gs(t)},"heading-order-after":function(e){var t=function(e){return(e=$(e)).sort(function(e,t){var r=e.node,n=t.node;return r.ancestry.length-n.ancestry.length}),e.reduce(Dg,[]).filter(function(e){return-1!==e.level})}(e);return e.forEach(function(e){e.result=function(e,t){var r,n,a,o,i=gg(t,e.node.ancestry),u=null!==(r=null===(n=t[i])||void 0===n?void 0:n.level)&&void 0!==r?r:-1,s=null!==(a=null===(o=t[i-1])||void 0===o?void 0:o.level)&&void 0!==a?a:-1;return 0===i||(-1!==u?u-s<=1:void 0)}(e,t)}),e},"heading-order-evaluate":function(){var e=eo.get("headingOrder");if(e)return!0;var t=nm(c._tree[0],"h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",Qs);return e=t.map(function(e){return{ancestry:[Ya(e.actualNode)],level:mg(e)}}),this.data({headingOrder:e}),eo.set("headingOrder",t),!0},"help-same-as-label-evaluate":function(e,t,r){var n=Ol(r),a=e.getAttribute("title");return!!n&&(a||(a="",e.getAttribute("aria-describedby")&&(a=ns(e,"aria-describedby").map(function(e){return e?as(e):""}).join(""))),ws(a)===ws(n))},"hidden-content-evaluate":function(e,t,r){if(!["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"].includes(e.nodeName.toUpperCase())&&Ul(r)){var n=i.getComputedStyle(e);if("none"===n.getPropertyValue("display"))return;if("hidden"===n.getPropertyValue("visibility")){var a=Xi(e),o=a&&i.getComputedStyle(a);if(!o||"hidden"!==o.getPropertyValue("visibility"))return}}return!0},"hidden-explicit-label-evaluate":function(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var n=Ti(e),a=Fa(e.getAttribute("id")),o=n.querySelector('label[for="'.concat(a,'"]'));if(o&&!Qs(o)){var i;try{i=xl(r).trim()}catch(e){return}return""===i}}return!1},"html-namespace-matches":function(e,t){return!Yg(0,t)},"html5-scope-evaluate":function(e){return!Xl(s)||"TH"===e.nodeName.toUpperCase()},"identical-links-same-purpose-after":function(e){if(e.length<2)return e;for(var t=e.filter(function(e){return void 0!==e.result}),r=[],n={},a=function(e){var a,o=t[e],i=o.data,u=i.name,s=i.urlProps;if(n[u])return 1;var l=t.filter(function(t,r){return t.data.name===u&&r!==e}),c=l.every(function(e){return fg(e.data.urlProps,s)});l.length&&!c&&(o.result=void 0),o.relatedNodes=[],(a=o.relatedNodes).push.apply(a,$(l.map(function(e){return e.relatedNodes[0]}))),n[u]=l,r.push(o)},o=0;o<t.length;o++)a(o);return r},"identical-links-same-purpose-evaluate":function(e,t,r){var n=rs.accessibleTextVirtual(r),a=rs.sanitize(rs.removeUnicode(n,{emoji:!0,nonBmp:!0,punctuations:!0})).toLowerCase();if(a){var o={name:a,urlProps:xi.urlPropsFromAttribute(e,"href")};return this.data(o),this.relatedNodes([e]),!0}},"identical-links-same-purpose-matches":function(e,t){if(!xl(t))return!1;var r=Gs(e);return!r||"link"===r},"implicit-evaluate":function(e,t,r){try{var n=Eo(r,"label");if(n){var a=ws(xl(n,{inControlContext:!0,startNode:r}));return n.actualNode&&this.relatedNodes([n.actualNode]),this.data({implicitLabel:a}),!!a}return!1}catch(e){return}},"inline-style-property-evaluate":function(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.minValue,o=t.maxValue,u=t.normalValue,s=void 0===u?0:u,l=t.noImportant,c=t.multiLineOnly;if(!l&&"important"!==e.style.getPropertyPriority(r)||c&&!ac(e))return!0;var d={};"number"==typeof a&&(d.minValue=a),"number"==typeof o&&(d.maxValue=o);var p=e.style.getPropertyValue(r);if(["inherit","unset","revert","revert-layer"].includes(p))return this.data(H({value:p},d)),!0;var h=function(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.normalValue,o=i.getComputedStyle(e),u=o.getPropertyValue(r);if("normal"===u)return a;var s=parseFloat(u);if(n)return s;var l=parseFloat(o.getPropertyValue("font-size")),c=Math.round(s/l*100)/100;return isNaN(c)?u:c}(e,{absoluteValues:n,cssProperty:r,normalValue:s});return this.data(H({value:h},d)),"number"==typeof h?("number"!=typeof a||h>=a)&&("number"!=typeof o||h<=o):void 0},"inserted-into-focus-order-matches":function(e){return Gl(e)},"internal-link-present-evaluate":function(e,t,r){return fm(r,"a[href]").some(function(e){return/^#[^/!]/.test(e.attr("href"))})},"invalid-children-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=[],a=[];if(r.children){for(var o=Tg(r.children);o.length;){var i,u=o.shift(),s=u.vChild,l=u.nested;if(t.divGroups&&!l&&Ag(s)){if(!s.children)return;var c=Tg(s.children,!0);o.push.apply(o,$(c))}else{var d=xg(s,l,t);d&&(a.includes(d)||a.push(d),1===(null==s||null===(i=s.actualNode)||void 0===i?void 0:i.nodeType)&&n.push(s.actualNode))}}return 0!==a.length&&(this.data({values:a.join(", ")}),this.relatedNodes(n),!0)}},"invalidrole-evaluate":function(e,t,r){var n=Uh(r.attr("role"));return!!n.every(function(e){return!hs(e.toLowerCase(),{allowAbstract:!0})})&&(this.data(n),!0)},"is-element-focusable-evaluate":function(e,t,r){return Ju(r)},"is-initiator-matches":tv,"is-on-screen-evaluate":function(e){return nu(e)},"is-visible-matches":function(e){return nu(e)},"is-visible-on-screen-matches":function(e,t){return nu(t)},"label-content-name-mismatch-evaluate":function(e,t,r){var n,a,o,i,u=null==t?void 0:t.pixelThreshold,s=null!==(n=null==t?void 0:t.occurrenceThreshold)&&void 0!==n?n:null==t?void 0:t.occuranceThreshold,l=as(e).toLowerCase(),c=ws(ml(r,{subtreeDescendant:!0,ignoreIconLigature:!0,pixelThreshold:u,occurrenceThreshold:s})).toLowerCase();return!c||(kl(l)<1||kl(c)<1?void 0:(a=c,o=Ng(l),i=Ng(a),!(!o||!i)&&o.includes(i)))},"label-content-name-mismatch-matches":function(e,t){var r=Gs(e);return!!(r&&nD("widget").includes(r)&&oD().includes(r)&&(ws(is(t))||ws(os(e)))&&ws(tl(t)))},"label-matches":function(e,t){if("input"!==t.props.nodeName||!1===t.hasAttr("type"))return!0;var r=t.attr("type").toLowerCase();return!1===["hidden","image","button","submit","reset"].includes(r)},"landmark-has-body-context-matches":function(e,t){return e.hasAttribute("role")||!Ni(t,"article, aside, main, nav, section")},"landmark-is-top-level-evaluate":function(e){var t=nD("landmark"),r=Xi(e),n=Gs(e);for(this.data({role:n});r;){var a=r.getAttribute("role");if(a||"FORM"===r.nodeName.toUpperCase()||(a=zs(r)),a&&t.includes(a)&&("main"!==a||"complementary"!==n))return!1;r=Xi(r)}return!0},"landmark-is-unique-after":function(e){var t=[];return e.filter(function(e){var r=t.find(function(t){return e.data.role===t.data.role&&e.data.accessibleText===t.data.accessibleText});return r?(r.result=!1,r.relatedNodes.push(e.relatedNodes[0]),!1):(t.push(e),e.relatedNodes=[],!0)})},"landmark-is-unique-evaluate":function(e,t,r){var n=Gs(e),a=xl(r);return a=a?a.toLowerCase():null,this.data({role:n,accessibleText:a}),this.relatedNodes([e]),!0},"landmark-unique-matches":function(e,t){return function(e){var t=nD("landmark"),r=Gs(e);if(!r)return!1;var n=e.props.nodeName;return"section"===n||"form"===n?!!xl(e):t.indexOf(r)>=0||"region"===r}(t)&&Qs(t)},"layout-table-matches":function(e){return!Um(e)&&!Ju(e)},"link-in-text-block-evaluate":function(e,t){var r=t.requiredContrastRatio,n=t.allowSameColor;if(Mg(e))return!1;for(var a=Xi(e);a&&1===a.nodeType&&!Mg(a);)a=Xi(a);if(a){this.relatedNodes([a]);var o=sg(e),i=sg(a),u=ag(e),s=ag(a),l=o&&i?Pg(o,i):void 0;if(l&&(l=Math.floor(100*l)/100),l&&l>=r)return!0;var c=u&&s?Pg(u,s):void 0;if(c&&(c=Math.floor(100*c)/100),c&&c>=r)return!0;if(!c){var d,p=null!==(d=sc.get("bgColor"))&&void 0!==d?d:"bgContrast";return this.data({messageKey:p}),void sc.clear()}if(l)return!(!n||1!==l||1!==c)||(1===l&&c>1?(this.data({messageKey:"bgContrast",contrastRatio:c,requiredContrastRatio:r,nodeBackgroundColor:u?u.toHexString():void 0,parentBackgroundColor:s?s.toHexString():void 0}),!1):(this.data({messageKey:"fgContrast",contrastRatio:l,requiredContrastRatio:r,nodeColor:o?o.toHexString():void 0,parentColor:i?i.toHexString():void 0}),!1))}},"link-in-text-block-matches":function(e){var t=ws(e.innerText),r=e.getAttribute("role");return(!r||"link"===r)&&!!t&&!!nu(e)&&rc(e)},"link-in-text-block-style-evaluate":function(e){if(_g(e))return!1;for(var t=Xi(e);t&&1===t.nodeType&&!_g(t);)t=Xi(t);if(t){if(this.relatedNodes([t]),_D(e,t))return!0;if(!function(e){for(var t=0,r=["before","after"];t<r.length;t++){var n=r[t];if("none"!==i.getComputedStyle(e,":".concat(n)).getPropertyValue("content"))return!0}return!1}(e))return!1;this.data({messageKey:"pseudoContent"})}},"listitem-evaluate":function(e,t,r){var n=r.parent;if(n){var a=n.props.nodeName,o=fs(n);return!!["presentation","none","list"].includes(o)||(o&&hs(o)?(this.data({messageKey:"roleNotValid"}),!1):["ul","ol","menu"].includes(a))}},"matches-definition-evaluate":function(e,t,r){return js(r,t.matcher)},"meta-refresh-evaluate":function(e,t,r){var n=t||{},a=n.minDelay,o=n.maxDelay,i=W((r.attr("content")||"").trim().split(kD),1)[0];if(!i.match(ND))return!0;var u=parseFloat(i);return this.data({redirectDelay:u}),"number"==typeof a&&u<=t.minDelay||"number"==typeof o&&u>t.maxDelay},"meta-viewport-scale-evaluate":function(e,t,r){var n=t||{},a=n.scaleMinimum,o=void 0===a?2:a,i=n.lowerBound,u=void 0!==i&&i,s=r.attr("content")||"";if(!s)return!0;var l=s.split(/[;,]/).reduce(function(e,t){var r=t.trim();if(!r)return e;var n=W(r.split("="),2),a=n[0],o=n[1];if(!a||!o)return e;var i=a.toLowerCase().trim(),u=o.toLowerCase().trim();return"maximum-scale"===i&&"yes"===u&&(u=1),"maximum-scale"===i&&parseFloat(u)<0||(e[i]=u),e},{});if(u&&l["maximum-scale"]&&parseFloat(l["maximum-scale"])<u)return!0;if(!u&&"no"===l["user-scalable"])return this.data("user-scalable=no"),!1;var c=parseFloat(l["user-scalable"]);return!u&&l["user-scalable"]&&(c||0===c)&&c>-1&&c<1?(this.data("user-scalable"),!1):!(l["maximum-scale"]&&parseFloat(l["maximum-scale"])<o&&(this.data("maximum-scale"),1))},"multiple-label-evaluate":function(e){var t=Fa(e.getAttribute("id")),r=e.parentNode,n=Ti(e);n=n.documentElement||n;var a=Array.from(n.querySelectorAll('label[for="'.concat(t,'"]')));for(a.length&&(a=a.filter(function(e){return!Ki(e)}));r;)"LABEL"===r.nodeName.toUpperCase()&&-1===a.indexOf(r)&&a.push(r),r=r.parentNode;if(this.relatedNodes(a),a.length>1){var o=a.filter(function(e){return Qs(e)});if(o.length>1)return;return!ns(e,"aria-labelledby").includes(o[0])&&void 0}return!1},"nested-interactive-matches":function(e,t){var r=Gs(t);return!!r&&!!ds.ariaRoles[r].childrenPresentational},"no-autoplay-audio-evaluate":function(e,t){var r=e.hasAttribute("controls");if(e.hasAttribute("loop"))return r;if(e.duration){var n=t.allowedDuration,a=void 0===n?3:n;return function(e){if(!e.currentSrc)return 0;var t=function(e){var t=e.match(/#t=(.*)/);if(t)return W(t,2)[1].split(",").map(function(e){return/:/.test(e)?function(e){for(var t=e.split(":"),r=0,n=1;t.length>0;)r+=n*parseInt(t.pop(),10),n*=60;return parseFloat(r)}(e):parseFloat(e)})}(e.currentSrc);return t?1===t.length?Math.abs(e.duration-t[0]):Math.abs(t[1]-t[0]):Math.abs(e.duration-(e.currentTime||0))}(e)<=a||!!r}console.warn("axe.utils.preloadMedia did not load metadata")},"no-autoplay-audio-matches":function(e){return!!e.currentSrc&&!e.hasAttribute("paused")&&!e.hasAttribute("muted")},"no-empty-role-matches":function(e,t){return!!t.hasAttr("role")&&!!t.attr("role").trim()},"no-explicit-name-required-matches":Qg,"no-focusable-content-evaluate":function(e,t,r){if(r.children)try{var n=Bg(r);if(!n.length)return!0;var a=n.filter(Rg);return a.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(a)):this.relatedNodes(n),!1}catch(e){return}},"no-implicit-explicit-label-evaluate":function(e,t,r){var n,a,o=Gs(r,{noImplicit:!0});this.data(o);try{n=ws(Dl(r)).toLowerCase(),a=ws(xl(r)).toLowerCase()}catch(e){return}return!(!a&&!n)&&!((a||!n)&&a.includes(n))&&void 0},"no-naming-method-matches":function(e,t){var r=qs(t).namingMethods;return!(r&&0!==r.length||"combobox"===fs(t)&&fm(t,'input:not([type="hidden"])').length||hD(t,{popupRoles:["listbox"]}))},"no-negative-tabindex-matches":function(e,t){var r=Jf(t.attr("tabindex"));return null===r||r>=0},"no-role-matches":function(e,t){return!t.attr("role")},"non-empty-if-present-evaluate":function(e,t,r){var n=r.props.nodeName,a=(r.attr("type")||"").toLowerCase(),o=r.attr("value");return o&&this.data({messageKey:"has-label"}),!("input"!==n||!["submit","reset"].includes(a))&&null===o},"not-html-matches":function(e,t){return"html"!==t.props.nodeName},"object-is-loaded-matches":function(e,t){return[Qg,ev].every(function(r){return r(e,t)})},"only-dlitems-evaluate":function(e,t,r){var n=["definition","term","list"],a=r.children.reduce(function(e,t){var r=t.actualNode;return"DIV"===r.nodeName.toUpperCase()&&null===Gs(r)?e.concat(t.children):e.concat(t)},[]).reduce(function(e,t){var r=t.actualNode,a=r.nodeName.toUpperCase();if(1===r.nodeType&&Qs(r)){var o=fs(r);("DT"!==a&&"DD"!==a||o)&&(n.includes(o)||e.badNodes.push(r))}else 3===r.nodeType&&""!==r.nodeValue.trim()&&(e.hasNonEmptyTextNode=!0);return e},{badNodes:[],hasNonEmptyTextNode:!1});return a.badNodes.length&&this.relatedNodes(a.badNodes),!!a.badNodes.length||a.hasNonEmptyTextNode},"only-listitems-evaluate":function(e,t,r){var n=!1,a=!1,o=!0,i=[],u=[],s=[];return r.children.forEach(function(e){var t=e.actualNode;if(3!==t.nodeType||""===t.nodeValue.trim()){if(1===t.nodeType&&Qs(t)){o=!1;var r="LI"===t.nodeName.toUpperCase(),l=Gs(e),c="listitem"===l;r||c||i.push(t),r&&!c&&(u.push(t),s.includes(l)||s.push(l)),c&&(a=!0)}}else n=!0}),n||i.length?(this.relatedNodes(i),!0):!o&&!a&&(this.relatedNodes(u),this.data({messageKey:"roleNotValid",roles:s.join(", ")}),!0)},"p-as-heading-evaluate":function(e,t,r){var n=Array.from(e.parentNode.children),a=n.indexOf(e),o=(t=t||{}).margins||[],i=n.slice(a+1).find(function(e){return"P"===e.nodeName.toUpperCase()}),u=n.slice(0,a).reverse().find(function(e){return"P"===e.nodeName.toUpperCase()}),s=AD(e),l=i?AD(i):null,c=u?AD(u):null,d=t.passLength,p=t.failLength,h=e.textContent.trim().length,f=null==i?void 0:i.textContent.trim().length;if(h>f*d)return!0;if(!l||!TD(s,l,o))return!0;var m=Ni(r,"blockquote");return!!(m&&"BLOCKQUOTE"===m.nodeName.toUpperCase()||c&&!TD(s,c,o)||h>f*p)&&void 0},"p-as-heading-matches":function(e){var t=Array.from(e.parentNode.childNodes),r=e.textContent.trim();return!(0===r.length||(r.match(/[.!?:;](?![.!?:;])/g)||[]).length>=2)&&0!==t.slice(t.indexOf(e)+1).filter(function(e){return"P"===e.nodeName.toUpperCase()&&""!==e.textContent.trim()}).length},"page-no-duplicate-after":function(e){return e.filter(function(e){return"ignored"!==e.data})},"page-no-duplicate-evaluate":function(e,t,r){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("page-no-duplicate requires options.selector to be a string");var n="page-no-duplicate;"+t.selector;if(!eo.get(n)){eo.set(n,!0);var a=nm(c._tree[0],t.selector,function(e){return Qs(e)});return"string"==typeof t.nativeScopeFilter&&(a=a.filter(function(e){return e.actualNode.hasAttribute("role")||!Ni(e,t.nativeScopeFilter)})),"string"==typeof t.role&&(a=a.filter(function(e){return Gs(e)===t.role})),this.relatedNodes(a.filter(function(e){return e!==r}).map(function(e){return e.actualNode})),a.length<=1}this.data("ignored")},"presentation-role-conflict-matches":function(e,t){return null!==zs(t,{chromiumRoles:!0})},"presentational-role-evaluate":function(e,t,r){var n=fs(r);if(["presentation","none"].includes(n)&&["iframe","frame"].includes(r.props.nodeName)&&r.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:r.props.nodeName}),!1;var a=Gs(r);if(["presentation","none"].includes(a))return this.data({role:a}),!0;if(!["presentation","none"].includes(n))return!1;var o,i=Ds().some(function(e){return r.hasAttr(e)}),u=Ju(r);return o=i&&!u?"globalAria":!i&&u?"focusable":"both",this.data({messageKey:o,role:a}),!1},"region-after":function(e){var t=e.filter(function(e){return e.data.isIframe});return e.forEach(function(e){if(!e.result&&1!==e.node.ancestry.length){var r,n=e.node.ancestry.slice(0,-1),a=Q(t);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(Wf(n,o.node.ancestry)){e.result=o.result;break}}}catch(e){a.e(e)}finally{a.f()}}}),t.forEach(function(e){e.result||(e.result=!0)}),e},"region-evaluate":function(e,t,r){return this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)}),!eo.get("regionlessNodes",function(){return function(e){return CD(c._tree[0],e).map(function(e){for(;e.parent&&!e.parent._hasRegionDescendant&&e.parent.actualNode!==s.body;)e=e.parent;return e}).filter(function(e,t,r){return r.indexOf(e)===t})}(t)}).includes(r)},"same-caption-summary-evaluate":function(e,t,r){if(void 0!==r.children){var n=r.attr("summary"),a=r.children.find(FD),o=!!a&&ws(ml(a));return!(!o||!n)&&ws(n).toLowerCase()===ws(o).toLowerCase()}},"scope-value-evaluate":function(e,t){var r=e.getAttribute("scope").toLowerCase();return-1!==t.values.indexOf(r)},"scrollable-region-focusable-matches":function(e,t){return void 0!==kf(e,13)&&!1===hD(t)&&fm(t,"*").some(function(e){return Ul(e,!0,!0)})},"skip-link-evaluate":function(e){var t=Uu(e,"href");return!!t&&(Qs(t)||void 0)},"skip-link-matches":function(e){return Ah(e)&&tu(e)},"structured-dlitems-evaluate":function(e,t,r){var n=r.children;if(!n||!n.length)return!1;for(var a,o=!1,i=!1,u=0;u<n.length;u++){if("DT"===(a=n[u].props.nodeName.toUpperCase())&&(o=!0),o&&"DD"===a)return!1;"DD"===a&&(i=!0)}return o||i},"summary-interactive-matches":function(e,t){var r,n,a,o=t.parent;return!("details"!==o.props.nodeName||(a=null===(n=(r=t).actualNode)||void 0===n?void 0:n.parentElement)&&a!==r.parent.actualNode)&&o.children.find(function(e){return"summary"===e.props.nodeName})===t},"svg-namespace-matches":Yg,"svg-non-empty-title-evaluate":function(e,t,r){if(r.children){var n=r.children.find(function(e){return"title"===e.props.nodeName});if(!n)return this.data({messageKey:"noTitle"}),!1;try{if(""===ml(n,{includeHidden:!0}).trim())return this.data({messageKey:"emptyTitle"}),!1}catch(e){return}return!0}},"tabindex-evaluate":function(e,t,r){var n=Jf(r.attr("tabindex"));return null===n||n<=0},"table-or-grid-role-matches":function(e,t){var r=Gs(t);return["treegrid","grid","table"].includes(r)},"target-offset-evaluate":function(e,t,r){var n=(null==t?void 0:t.minOffset)||24;if(du(10*n,r.boundingClientRect))return this.data({messageKey:"large",minOffset:n}),!0;var a,o=[],i=n,u=Q(Ou(r,n));try{for(u.s();!(a=u.n()).done;){var s=a.value;if("widget"===Jl(s)&&Ju(s)){var l=null;try{l=pu(r,s,n/2)}catch(e){if(e.message.startsWith("splitRects"))return void this.data({messageKey:"tooManyRects",closestOffset:0,minOffset:n});throw e}null!==l&&(.05+(l=2*Cg(l))>=n||(i=Math.min(i,l),o.push(s)))}}}catch(e){u.e(e)}finally{u.f()}return 0===o.length?(this.data({closestOffset:i,minOffset:n}),!0):(this.relatedNodes(o.map(function(e){return e.actualNode})),o.some(Qu)?(this.data({closestOffset:i,minOffset:n}),!Qu(r)&&void 0):void this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:n}))},"target-size-evaluate":function(e,t,r){var n=(null==t?void 0:t.minSize)||24,a=r.boundingClientRect;if(du(10*n,a))return this.data({messageKey:"large",minSize:n}),!0;var o=du.bind(null,n),i=Ou(r),u=function(e,t){return t.filter(function(t){return!bg(t,e)&&wg(e,t)})}(r,i),s=function(e,t){var r,n=[],a=[],o=Q(t);try{for(o.s();!(r=o.n()).done;){var i=r.value;!wg(e,i)&&mu(e,i)&&"none"!==yg(i)&&(bg(e,i)?n.push(i):a.push(i))}}catch(e){o.e(e)}finally{o.f()}return{fullyObscuringElms:n,partialObscuringElms:a}}(r,i),l=s.fullyObscuringElms,c=s.partialObscuringElms;if(u.length&&(l.length||!o(a)))return this.data({minSize:n,messageKey:"contentOverflow"}),void this.relatedNodes(Eg(u));if(l.length)return this.relatedNodes(Eg(l)),this.data({messageKey:"obscured"}),!0;var d=!Qu(r)&&void 0;if(!o(a))return this.data(H({minSize:n},Fg(a))),d;var p=c.filter(function(e){return"widget"===Jl(e)&&Ju(e)});if(!p.length)return this.data(H({minSize:n},Fg(a))),!0;var h=function(e,t){var r,n=e.boundingClientRect,a=t.map(function(e){return e.boundingClientRect});try{r=Du(n,a)}catch(e){return null}return function(e,t){return e.reduce(function(e,r){var n=du(t,e);return n!==du(t,r)?n?e:r:e.width*e.height>r.width*r.height?e:r})}(r)}(r,p);if(h){if(!o(h)){if(u.length)return this.data({minSize:n,messageKey:"contentOverflow"}),void this.relatedNodes(Eg(u));var f=p.every(Qu),m="partiallyObscured".concat(f?"":"NonTabbable");return this.data(H({messageKey:m,minSize:n},Fg(h))),this.relatedNodes(Eg(p)),f?d:void 0}return this.data(H({minSize:n},Fg(h||a))),this.relatedNodes(Eg(p)),!0}this.data({minSize:n,messageKey:"tooManyRects"})},"td-has-header-evaluate":function(e){var t=[],r=jm(e),n=gs(e);return r.forEach(function(e){Hl(e)&&$m(e)&&!mD(e)&&(zm(e,n).some(function(e){return null!==e&&!!Hl(e)})||t.push(e))}),!t.length||(this.relatedNodes(t),!1)},"td-headers-attr-evaluate":function(e){for(var t=[],r=[],n=[],a=0;a<e.rows.length;a++)for(var o=e.rows[a],i=0;i<o.cells.length;i++)t.push(o.cells[i]);var u=t.filter(function(e){return e.getAttribute("id")}).map(function(e){return e.getAttribute("id")});return t.forEach(function(e){var t=!1,a=!1;if(e.hasAttribute("headers")&&Qs(e)){var o=e.getAttribute("headers").trim();if(!o)return r.push(e);var i=Uh(o);0!==i.length&&(e.getAttribute("id")&&(t=-1!==i.indexOf(e.getAttribute("id").trim())),a=i.some(function(e){return!u.includes(e)}),(t||a)&&n.push(e))}}),n.length>0?(this.relatedNodes(n),!1):!r.length||void this.relatedNodes(r)},"th-has-data-cells-evaluate":function(e){var t=jm(e),r=this,n=[];t.forEach(function(e){var t=e.getAttribute("headers");t&&(n=n.concat(t.split(/\s+/)));var r=e.getAttribute("aria-labelledby");r&&(n=n.concat(r.split(/\s+/)))});var a=t.filter(function(e){return""!==ws(e.textContent)&&("TH"===e.nodeName.toUpperCase()||-1!==["rowheader","columnheader"].indexOf(e.getAttribute("role")))}),o=gs(e),i=!0;return a.forEach(function(e){if(!e.getAttribute("id")||!n.includes(e.getAttribute("id"))){var t=vs(e,o),a=!1;ys(e)&&(a=Gm("down",t,o).find(function(t){return!ys(t)&&zm(t,o).includes(e)})),!a&&Fs(e)&&(a=Gm("right",t,o).find(function(t){return!Fs(t)&&zm(t,o).includes(e)})),a||r.relatedNodes(e),i=i&&a}}),!!i||void 0},"title-only-evaluate":function(e,t,r){var n=Ol(r),a=Ys(r),o=r.attr("aria-describedby");return!(n||!a&&!o)},"unique-frame-title-after":function(e){var t={};return e.forEach(function(e){t[e.data]=void 0!==t[e.data]?++t[e.data]:0}),e.forEach(function(e){e.result=!!t[e.data]}),e},"unique-frame-title-evaluate":function(e,t,r){var n=ws(r.attr("title")).toLowerCase();return this.data(n),!0},"unsupportedrole-evaluate":function(e,t,r){var n=Gs(r,{dpub:!0,fallback:!0}),a=ps(n);return a&&this.data(n),a},"valid-lang-evaluate":function(e,t,r){var n=[];return t.attributes.forEach(function(e){var a=r.attr(e);if("string"==typeof a){var o=ef(a),i=t.value?!t.value.map(ef).includes(o):!Nm(o);(""!==o&&i||""!==a&&!ws(a))&&n.push(e+'="'+r.attr(e)+'"')}}),!(!n.length||"html"!==r.props.nodeName&&!Wl(r)||(this.data(n),0))},"valid-scrollable-semantics-evaluate":function(e,t){return function(e,t){var r=fs(e);return r&&(qg[r]||t.roles.includes(r))||!1}(e,t)||function(e){var t=e.nodeName.toUpperCase();return jg[t]||!1}(e)},"widget-not-inline-matches":function(e,t){return Zg.every(function(r){return r(e,t)})},"window-is-top-matches":function(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top},"xml-lang-mismatch-evaluate":function(e,t,r){return ef(r.attr("lang"))===ef(r.attr("xml:lang"))},"xml-lang-mismatch-matches":function(e){var t=ef(e.getAttribute("lang")),r=ef(e.getAttribute("xml:lang"));return Nm(t)&&Nm(r)}},ov=av,iv=function(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null};function uv(e){if("string"==typeof e){if(ov[e])return ov[e];if(/^\s*function[\s\w]*\(/.test(e))return new Function("return "+e+";")();throw new ReferenceError("Function ID does not exist in the metadata-function-map: ".concat(e))}return e}function sv(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(Array.isArray(e)||"object"!==l(e))&&(e={value:e}),e}function lv(e){e&&(this.id=e.id,this.configure(e))}lv.prototype.enabled=!0,lv.prototype.run=function(e,t,r,n,a){var o=(t=t||{}).hasOwnProperty("enabled")?t.enabled:this.enabled,i=this.getOptions(t.options);if(o){var u,s=new iv(this),l=oo(s,t,n,a);try{u=this.evaluate.call(l,e.actualNode,i,e,r)}catch(t){return e&&e.actualNode&&(t.errorNode=fi.toSpec(e)),void a(t)}l.isAsync||(s.result=u,n(s))}else n(null)},lv.prototype.runSync=function(e,t,r){var n=(t=t||{}).enabled;if(!(void 0===n?this.enabled:n))return null;var a,o=this.getOptions(t.options),i=new iv(this),u=oo(i,t);u.async=function(){throw new Error("Cannot run async check while in a synchronous run")};try{a=this.evaluate.call(u,e.actualNode,o,e,r)}catch(t){throw e&&e.actualNode&&(t.errorNode=fi.toSpec(e)),t}return i.result=a,i},lv.prototype.configure=function(e){var t=this;e.evaluate&&!ov[e.evaluate]||(this._internalCheck=!0),e.hasOwnProperty("enabled")&&(this.enabled=e.enabled),e.hasOwnProperty("options")&&(this._internalCheck?this.options=sv(e.options):this.options=e.options),["evaluate","after"].filter(function(t){return e.hasOwnProperty(t)}).forEach(function(r){return t[r]=uv(e[r])})},lv.prototype.getOptions=function(e){return this._internalCheck?Fi(this.options,sv(e||{})):e||this.options};var cv=lv,dv=function(e){this.id=e.id,this.result=ra.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[]};function pv(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(ba(ra.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact),this.excludeHidden="boolean"!=typeof e.excludeHidden||e.excludeHidden,this.enabled="boolean"!=typeof e.enabled||e.enabled,this.pageLevel="boolean"==typeof e.pageLevel&&e.pageLevel,this.reviewOnFail="boolean"==typeof e.reviewOnFail&&e.reviewOnFail,this.any=e.any||[],this.all=e.all||[],this.none=e.none||[],this.tags=e.tags||[],this.preload=!!e.preload,this.actIds=e.actIds,e.matches&&(this.matches=uv(e.matches))}function hv(e){if(e.length){var t=!1,r={};return e.forEach(function(e){var n=e.results.filter(function(e){return e});r[e.type]=n,n.length&&(t=!0)}),t?r:null}}pv.prototype.matches=function(){return!0},pv.prototype.gather=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r="mark_gather_start_"+this.id,n="mark_gather_end_"+this.id,a="mark_isVisibleToScreenReaders_start_"+this.id,o="mark_isVisibleToScreenReaders_end_"+this.id;t.performanceTimer&&Qf.mark(r);var i=bm(this.selector,e);return this.excludeHidden&&(t.performanceTimer&&Qf.mark(a),i=i.filter(function(e){return Qs(e)}),t.performanceTimer&&(Qf.mark(o),Qf.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",a,o))),t.performanceTimer&&(Qf.mark(n),Qf.measure("rule_"+this.id+"#gather",r,n)),i},pv.prototype.runChecks=function(e,t,r,n,a,o){var i=this,u=ko();this[e].forEach(function(e){var a=i._audit.checks[e.id||e],o=df(a,i.id,r);u.defer(function(e,r){a.run(t,o,n,e,r)})}),u.then(function(t){t=t.filter(function(e){return e}),a({type:e,results:t})}).catch(o)},pv.prototype.runChecksSync=function(e,t,r,n){var a=this,o=[];return this[e].forEach(function(e){var i=a._audit.checks[e.id||e],u=df(i,a.id,r);o.push(i.runSync(t,u,n))}),{type:e,results:o=o.filter(function(e){return e})}},pv.prototype.run=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0;r.performanceTimer&&this._trackPerformance();var o,i=ko(),u=new dv(this);try{o=this.gatherAndMatchNodes(e,r)}catch(e){return void a(new d({cause:e,ruleId:this.id}))}r.performanceTimer&&this._logGatherPerformance(o),o.forEach(function(n){i.defer(function(a,o){var i=ko();["any","all","none"].forEach(function(a){i.defer(function(o,i){t.runChecks(a,n,r,e,o,i)})}),i.then(function(e){var r=hv(e);r&&(r.node=new ao(n),u.nodes.push(r),t.reviewOnFail&&(["any","all"].forEach(function(e){r[e].forEach(function(e){!1===e.result&&(e.result=void 0)})}),r.none.forEach(function(e){!0===e.result&&(e.result=void 0)}))),a()}).catch(function(e){return o(e)})})}),i.then(function(){r.performanceTimer&&t._logRulePerformance(),setTimeout(function(){n(u)},0)}).catch(function(e){r.performanceTimer&&t._logRulePerformance(),a(e)})},pv.prototype.runSync=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r.performanceTimer&&this._trackPerformance();var n,a=new dv(this);try{n=this.gatherAndMatchNodes(e,r)}catch(e){throw new d({cause:e,ruleId:this.id})}return r.performanceTimer&&this._logGatherPerformance(n),n.forEach(function(n){var o=[];["any","all","none"].forEach(function(a){o.push(t.runChecksSync(a,n,r,e))});var i=hv(o);i&&(i.node=n.actualNode?new ao(n):null,a.nodes.push(i),t.reviewOnFail&&(["any","all"].forEach(function(e){i[e].forEach(function(e){!1===e.result&&(e.result=void 0)})}),i.none.forEach(function(e){!0===e.result&&(e.result=void 0)})))}),r.performanceTimer&&this._logRulePerformance(),a},pv.prototype._trackPerformance=function(){this._markStart="mark_rule_start_"+this.id,this._markEnd="mark_rule_end_"+this.id,this._markChecksStart="mark_runchecks_start_"+this.id,this._markChecksEnd="mark_runchecks_end_"+this.id},pv.prototype._logGatherPerformance=function(e){na("gather (",e.length,"):",Qf.timeElapsed()+"ms"),Qf.mark(this._markChecksStart)},pv.prototype._logRulePerformance=function(){Qf.mark(this._markChecksEnd),Qf.mark(this._markEnd),Qf.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),Qf.measure("rule_"+this.id,this._markStart,this._markEnd)},pv.prototype.gatherAndMatchNodes=function(e,t){var r=this,n="mark_matches_start_"+this.id,a="mark_matches_end_"+this.id,o=this.gather(e,t);return t.performanceTimer&&Qf.mark(n),o=o.filter(function(t){return r.matches(t.actualNode,t,e)}),t.performanceTimer&&(Qf.mark(a),Qf.measure("rule_"+this.id+"#matches",n,a)),o},pv.prototype.after=function(e,t){var r,n=this,a=mi(r=this).map(function(e){var t=r._audit.checks[e.id||e];return t&&"function"==typeof t.after?t:null}).filter(Boolean),o=this.id;return a.forEach(function(r){var a,i,u,s=(a=e.nodes,i=r.id,u=[],a.forEach(function(e){mi(e).forEach(function(t){t.id===i&&(t.node=e.node,u.push(t))})}),u),l=df(r,o,t),c=r.after(s,l.options);n.reviewOnFail&&c.forEach(function(e){var t=(n.any.includes(e.id)||n.all.includes(e.id))&&!1===e.result,r=n.none.includes(e.id)&&!0===e.result;(t||r)&&(e.result=void 0)}),s.forEach(function(e){delete e.node,-1===c.indexOf(e)&&(e.filtered=!0)})}),e.nodes=function(e){var t=["any","all","none"],r=e.nodes.filter(function(e){var r=0;return t.forEach(function(t){e[t]=e[t].filter(function(e){return!0!==e.filtered}),r+=e[t].length}),r>0});return e.pageLevel&&r.length&&(r=[r.reduce(function(e,r){if(e)return t.forEach(function(t){e[t].push.apply(e[t],r[t])}),e})]),r}(e),e},pv.prototype.configure=function(e){e.hasOwnProperty("selector")&&(this.selector=e.selector),e.hasOwnProperty("excludeHidden")&&(this.excludeHidden="boolean"!=typeof e.excludeHidden||e.excludeHidden),e.hasOwnProperty("enabled")&&(this.enabled="boolean"!=typeof e.enabled||e.enabled),e.hasOwnProperty("pageLevel")&&(this.pageLevel="boolean"==typeof e.pageLevel&&e.pageLevel),e.hasOwnProperty("reviewOnFail")&&(this.reviewOnFail="boolean"==typeof e.reviewOnFail&&e.reviewOnFail),e.hasOwnProperty("any")&&(this.any=e.any),e.hasOwnProperty("all")&&(this.all=e.all),e.hasOwnProperty("none")&&(this.none=e.none),e.hasOwnProperty("tags")&&(this.tags=e.tags),e.hasOwnProperty("actIds")&&(this.actIds=e.actIds),e.hasOwnProperty("matches")&&(this.matches=uv(e.matches)),e.impact&&(ba(ra.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact)};var fv=fe(ea()),mv=/\{\{.+?\}\}/g,Dv=X(function e(t){Y(this,e),this.lang="en",this.defaultConfig=t,this.standards=ds,this._init(),this._defaultLocale=null},[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var e={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},t=Object.keys(this.data.checks),r=0;r<t.length;r++){var n=t[r],a=this.data.checks[n].messages,o=a.pass,i=a.fail,u=a.incomplete;e.checks[n]={pass:o,fail:i,incomplete:u}}for(var s=Object.keys(this.data.rules),l=0;l<s.length;l++){var c=s[l],d=this.data.rules[c],p=d.description,h=d.help;e.rules[c]={description:p,help:h}}for(var f=Object.keys(this.data.failureSummaries),m=0;m<f.length;m++){var D=f[m],g=this.data.failureSummaries[D].failureMessage;e.failureSummaries[D]={failureMessage:g}}e.incompleteFallbackMessage=this.data.incompleteFallbackMessage,this._defaultLocale=e}}},{key:"_resetLocale",value:function(){var e=this._defaultLocale;e&&this.applyLocale(e)}},{key:"_applyCheckLocale",value:function(e){for(var t=Object.keys(e),r=0;r<t.length;r++){var n=t[r];if(!this.data.checks[n])throw new Error('Locale provided for unknown check: "'.concat(n,'"'));this.data.checks[n]=yv(this.data.checks[n],e[n])}}},{key:"_applyRuleLocale",value:function(e){for(var t=Object.keys(e),r=0;r<t.length;r++){var n=t[r];if(!this.data.rules[n])throw new Error('Locale provided for unknown rule: "'.concat(n,'"'));this.data.rules[n]=Fv(this.data.rules[n],e[n])}}},{key:"_applyFailureSummaries",value:function(e){for(var t=Object.keys(e),r=0;r<t.length;r++){var n=t[r];if(!this.data.failureSummaries[n])throw new Error('Locale provided for unknown failureMessage: "'.concat(n,'"'));this.data.failureSummaries[n]=wv(this.data.failureSummaries[n],e[n])}}},{key:"applyLocale",value:function(e){this._setDefaultLocale(),e.checks&&this._applyCheckLocale(e.checks),e.rules&&this._applyRuleLocale(e.rules),e.failureSummaries&&this._applyFailureSummaries(e.failureSummaries,"failureSummaries"),e.incompleteFallbackMessage&&(this.data.incompleteFallbackMessage=Ev(this.data.incompleteFallbackMessage,e.incompleteFallbackMessage)),e.lang&&(this.lang=e.lang)}},{key:"setAllowedOrigins",value:function(e){var t=vv();this.allowedOrigins=[];var r,n=Q(e);try{for(n.s();!(r=n.n()).done;){var a=r.value;if(a===ra.allOrigins)return void(this.allowedOrigins=["*"]);a!==ra.sameOrigin?this.allowedOrigins.push(a):t&&this.allowedOrigins.push(t)}}catch(e){n.e(e)}finally{n.f()}}},{key:"_init",value:function(){var e=function(e){var t;if(e?(t=io(e)).commons=e.commons:t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||!1,!t.allowedOrigins){var r=vv();t.allowedOrigins=r?[r]:[]}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=H({checks:{},rules:{}},t.data),t}(this.defaultConfig);this.lang=e.lang||"en",this.reporter=e.reporter,this.commands={},this.rules=[],this.checks={},this.brand="axe",this.application="axeAPI",this.tagExclude=["experimental","deprecated"],this.noHtml=e.noHtml,this.allowedOrigins=e.allowedOrigins,bv(e.rules,this,"addRule"),bv(e.checks,this,"addCheck"),this.data={},this.data.checks=e.data&&e.data.checks||{},this.data.rules=e.data&&e.data.rules||{},this.data.failureSummaries=e.data&&e.data.failureSummaries||{},this.data.incompleteFallbackMessage=e.data&&e.data.incompleteFallbackMessage||"",this._constructHelpUrls()}},{key:"registerCommand",value:function(e){this.commands[e.id]=e.callback}},{key:"addRule",value:function(e){e.metadata&&(this.data.rules[e.id]=e.metadata);var t=this.getRule(e.id);t?t.configure(e):this.rules.push(new pv(e,this))}},{key:"addCheck",value:function(e){var t=e.metadata;"object"===l(t)&&(this.data.checks[e.id]=t,"object"===l(t.messages)&&Object.keys(t.messages).filter(function(e){return t.messages.hasOwnProperty(e)&&"string"==typeof t.messages[e]}).forEach(function(e){0===t.messages[e].indexOf("function")&&(t.messages[e]=new Function("return "+t.messages[e]+";")())})),this.checks[e.id]?this.checks[e.id].configure(e):this.checks[e.id]=new cv(e)}},{key:"run",value:function(e,t,r,n){this.normalizeOptions(t),ao.setRunOptions(t),c._selectCache=[];var a=function(e,t,r){return e.reduce(function(e,n){return Dm(n,t,r)?n.preload?(e.later.push(n),e):(e.now.push(n),e):e},{now:[],later:[]})}(this.rules,e,t),o=a.now,i=a.later,u=ko();o.forEach(function(r){u.defer(Cv(r,e,t))});var s=ko();i.length&&s.defer(function(e){lm(t).then(function(t){return e(t)}).catch(function(t){console.warn("Couldn't load preload assets: ",t),e(void 0)})});var l=ko();l.defer(u),l.defer(s),l.then(function(a){var o=a.pop();if(o&&o.length){var u=o[0];u&&(e=H({},e,u))}var s=a[0];if(!i.length)return c._selectCache=void 0,void r(s.filter(function(e){return!!e}));var l=ko();i.forEach(function(r){var n=Cv(r,e,t);l.defer(n)}),l.then(function(e){c._selectCache=void 0,r(s.concat(e).filter(function(e){return!!e}))}).catch(n)}).catch(n)}},{key:"after",value:function(e,t){var r=this.rules;return e.map(function(e){var n=Di(r,"id",e.id);if(!n)throw new Error("Result for unknown rule. You may be running mismatch axe-core versions");return n.after(e,t)})}},{key:"getRule",value:function(e){return this.rules.find(function(t){return t.id===e})}},{key:"normalizeOptions",value:function(e){var t=[],r=[];if(this.rules.forEach(function(e){r.push(e.id),e.tags.forEach(function(e){t.includes(e)||t.push(e)})}),["object","string"].includes(l(e.runOnly))){if("string"==typeof e.runOnly&&(e.runOnly=[e.runOnly]),Array.isArray(e.runOnly)){var n=e.runOnly.find(function(e){return t.includes(e)}),a=e.runOnly.find(function(e){return r.includes(e)});if(n&&a)throw new Error("runOnly cannot be both rules and tags");e.runOnly=a?{type:"rule",values:e.runOnly}:{type:"tag",values:e.runOnly}}var o=e.runOnly;if(o.value&&!o.values&&(o.values=o.value,delete o.value),!Array.isArray(o.values)||0===o.values.length)throw new Error("runOnly.values must be a non-empty array");if(["rule","rules"].includes(o.type))o.type="rule",o.values.forEach(function(e){if(!r.includes(e))throw new Error("unknown rule `"+e+"` in options.runOnly")});else{if(!["tag","tags",void 0].includes(o.type))throw new Error("Unknown runOnly type '".concat(o.type,"'"));o.type="tag";var i=o.values.filter(function(e){return!t.includes(e)&&!/wcag2[1-3]a{1,3}/.test(e)});0!==i.length&&c.log("Could not find tags `"+i.join("`, `")+"`")}}return"object"===l(e.rules)&&Object.keys(e.rules).forEach(function(e){if(!r.includes(e))throw new Error("unknown rule `"+e+"` in options.rules")}),e}},{key:"setBranding",value:function(e){var t={brand:this.brand,application:this.application};"string"==typeof e&&(this.application=e),e&&e.hasOwnProperty("brand")&&e.brand&&"string"==typeof e.brand&&(this.brand=e.brand),e&&e.hasOwnProperty("application")&&e.application&&"string"==typeof e.application&&(this.application=e.application),this._constructHelpUrls(t)}},{key:"_constructHelpUrls",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=(c.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach(function(n){e.data.rules[n.id]||(e.data.rules[n.id]={});var a=e.data.rules[n.id];("string"!=typeof a.helpUrl||t&&a.helpUrl===xv(t,n.id,r))&&(a.helpUrl=xv(e,n.id,r))})}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale()}}]),gv=Dv;function vv(){return i.origin&&"null"!==i.origin?i.origin:i.location&&i.location.origin&&"null"!==i.location.origin?i.location.origin:void 0}function bv(e,t,r){var n,a;for(n=0,a=e.length;n<a;n++)t[r](e[n])}var yv=function(e,t){var r=t.pass,n=t.fail;return"string"==typeof r&&mv.test(r)&&(r=fv.default.compile(r)),"string"==typeof n&&mv.test(n)&&(n=fv.default.compile(n)),H({},e,{messages:{pass:r||e.messages.pass,fail:n||e.messages.fail,incomplete:"object"===l(e.messages.incomplete)?H({},e.messages.incomplete,t.incomplete):t.incomplete}})},Fv=function(e,t){var r=t.help,n=t.description;return"string"==typeof r&&mv.test(r)&&(r=fv.default.compile(r)),"string"==typeof n&&mv.test(n)&&(n=fv.default.compile(n)),H({},e,{help:r||e.help,description:n||e.description})},wv=function(e,t){var r=t.failureMessage;return"string"==typeof r&&mv.test(r)&&(r=fv.default.compile(r)),H({},e,{failureMessage:r||e.failureMessage})},Ev=function(e,t){return"string"==typeof t&&mv.test(t)&&(t=fv.default.compile(t)),t||e};function Cv(e,t,r){return r.performanceTimer&&Qf.mark("mark_rule_start_"+e.id),function(n,a){e.run(t,r,function(e){n(e)},function(t){if(r.debug)a(t);else{var o=Object.assign(new dv(e),{result:ra.CANTTELL,description:"An error occured while running this rule",message:t.message,stack:t.stack,error:t,errorNode:t.errorNode});n(o)}})}}function xv(e,t,r){var n=e.brand,a=e.application,o=e.lang;return ra.helpUrlBase+n+"/"+(r||c.version.substring(0,c.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(a)+(o&&"en"!==o?"&lang="+encodeURIComponent(o):"")}function Av(e){var t=i&&"Node"in i&&"NodeList"in i,r=!!s;if(!t||!r){if(!e||!e.ownerDocument)throw new Error('Required "window" or "document" globals not defined and cannot be deduced from the context. Either set the globals before running or pass in a valid Element.');r||(eo.set("globalDocumentSet",!0),s=e.ownerDocument),t||(eo.set("globalWindowSet",!0),i=s.defaultView)}}var Tv=function(){eo.get("globalDocumentSet")&&(eo.set("globalDocumentSet",!1),s=null),eo.get("globalWindowSet")&&(eo.set("globalWindowSet",!1),i=null),c._memoizedFns.forEach(function(e){return e.clear()}),eo.clear(),c._tree=void 0,c._selectorData=void 0,c._selectCache=void 0};function kv(e,t,r,n){try{e=new Cf(e),c._tree=e.flatTree,c._selectorData=ja(e.flatTree)}catch(e){return Tv(),n(e)}var a=ko(),o=c._audit;t.performanceTimer&&Qf.auditStart(),e.frames.length&&!1!==t.iframes&&a.defer(function(r,n){bi(e,t,"rules",null,r,n)}),a.defer(function(r,n){o.run(e,t,r,n)}),a.then(function(a){try{t.performanceTimer&&Qf.auditEnd();var i=vi(a.map(function(e){return{results:e}}));e.initiator&&(t.performanceTimer&&Qf.mark("auditAfterStart"),i=o.after(i,t),t.performanceTimer&&(Qf.mark("auditAfterEnd"),Qf.measure("audit.after","auditAfterStart","auditAfterEnd"),Qf.logMeasures("audit.after")),i.forEach(pm),i=i.map(fa));try{r(i,Tv)}catch(e){Tv(),na(e)}}catch(e){Tv(),n(e)}}).catch(function(e){Tv(),n(e)})}function Nv(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(e){c._audit.registerCommand(e)})}i.top!==i&&(ui.subscribe("axe.start",function(e,t,r){var n=r,a=function(e){e instanceof Error==0&&(e=new Error(e)),r(e)},o=e&&e.context||{};o.hasOwnProperty("include")&&!o.include.length&&(o.include=[s]);var i=e&&e.options||{};switch(e.command){case"rules":return kv(o,i,function(e,t){e=fi.mapRawResults(e),n(e),t()},a);case"cleanup-plugin":return Pm(n,a);default:if(c._audit&&c._audit.commands&&c._audit.commands[e.command])return c._audit.commands[e.command](e,r)}}),ui.subscribe("axe.ping",function(e,t,r){r({axe:!0})})),Nv.prototype.run=function(){return this._run.apply(this,arguments)},Nv.prototype.collect=function(){return this._collect.apply(this,arguments)},Nv.prototype.cleanup=function(e){var t=c.utils.queue(),r=this;Object.keys(this._registry).forEach(function(e){t.defer(function(t){r._registry[e].cleanup(t)})}),t.then(e)},Nv.prototype.add=function(e){this._registry[e.id]=e};function Bv(e){var t,r,n,a=W(e,3),o=a[0],i=a[1],u=a[2],d=new TypeError("axe.run arguments are invalid");if(!Mf(o)){if(void 0!==u)throw d;u=i,i=o,o=s}if("object"!==l(i)){if(void 0!==u)throw d;u=i,i={}}if("function"!=typeof u&&void 0!==u)throw d;return(i=io(i)).reporter=null!==(t=null!==(r=i.reporter)&&void 0!==r?r:null===(n=c._audit)||void 0===n?void 0:n.reporter)&&void 0!==t?t:"v1",{context:o,options:i,callback:u}}var Rv=function(){};function Sv(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(e){return fi.mergeSpecs(e,r)}):t}var Ov=function(e,t,r){if("function"==typeof t&&(r=t,t={}),!e||!Array.isArray(e))return r(e);r(e.map(function(e){for(var t=H({},e),r=0,n=["passes","violations","incomplete","inapplicable"];r<n.length;r++){var a=n[r];t[a]=fi.mapRawNodeResults(t[a])}return t}))},_v={base:{Audit:gv,CheckResult:iv,Check:cv,Context:Cf,RuleResult:dv,Rule:pv,metadataFunctionMap:ov},public:{reporters:Im},helpers:{failureSummary:tf,incompleteFallbackMessage:rf,processAggregate:af},utils:{setDefaultFrameMessenger:oi,cacheNodeSelectors:Zh,getNodesMatchingExpression:Wh,convertSelector:yo},commons:{dom:{nativelyHidden:Ii,displayHidden:Mi,visibilityHidden:Li,contentVisibiltyHidden:Vi,ariaHidden:ji,opacityHidden:qi,scrollHidden:zi,overflowHidden:$i,clipHidden:Ui,areaHidden:Hi,detailsHidden:Wi}}};c._thisWillBeDeletedDoNotUse=_v,c.constants=ra,c.log=na,c.AbstractVirtualNode=oa,c.SerialVirtualNode=_m,c.VirtualNode=$h,c._cache=eo,c.imports=cc,c.cleanup=Pm,c.configure=function(e){var t=c._audit;if(!t)throw new Error("No audit configured");if(e.axeVersion||e.ver){var r=e.axeVersion||e.ver;if(!/^\d+\.\d+\.\d+(-canary)?/.test(r))throw new Error("Invalid configured version ".concat(r));var n=W(r.split("-"),2),a=n[0],o=n[1],i=W(a.split(".").map(Number),3),u=i[0],s=i[1],l=i[2],d=W(c.version.split("-"),2),p=d[0],h=d[1],f=W(p.split(".").map(Number),3),m=f[0],D=f[1],g=f[2];if(u!==m||D<s||D===s&&g<l||u===m&&s===D&&l===g&&o&&o!==h)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(c.version))}if(e.reporter&&("function"==typeof e.reporter||Mm(e.reporter))&&(t.reporter=e.reporter),e.checks){if(!Array.isArray(e.checks))throw new TypeError("Checks property must be an array");e.checks.forEach(function(e){if(!e.id)throw new TypeError("Configured check ".concat(JSON.stringify(e)," is invalid. Checks must be an object with at least an id property"));t.addCheck(e)})}var v,b=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach(function(e){if(!e.id)throw new TypeError("Configured rule ".concat(JSON.stringify(e)," is invalid. Rules must be an object with at least an id property"));b.push(e.id),t.addRule(e)})}if(e.disableOtherRules&&t.rules.forEach(function(e){!1===b.includes(e.id)&&(e.enabled=!1)}),void 0!==e.branding?t.setBranding(e.branding):t._constructHelpUrls(),e.tagExclude&&(t.tagExclude=e.tagExclude),e.locale&&t.applyLocale(e.locale),e.standards&&(v=e.standards,Object.keys(cs).forEach(function(e){v[e]&&(cs[e]=Fi(cs[e],v[e]))})),e.noHtml&&(t.noHtml=!0),e.allowedOrigins){if(!Array.isArray(e.allowedOrigins))throw new TypeError("Allowed origins property must be an array");if(e.allowedOrigins.includes("*"))throw new Error('"*" is not allowed. Use "'.concat(ra.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins)}},c.frameMessenger=function(e){ui.updateMessenger(e)},c.getRules=function(e){var t=(e=e||[]).length?c._audit.rules.filter(function(t){return!!e.filter(function(e){return-1!==t.tags.indexOf(e)}).length}):c._audit.rules,r=c._audit.data.rules||{};return t.map(function(e){var t=r[e.id]||{};return{ruleId:e.id,description:t.description,help:t.help,helpUrl:t.helpUrl,tags:e.tags,actIds:e.actIds}})},c._load=function(e){c._audit=new gv(e)},c.plugins={},c.registerPlugin=function(e){c.plugins[e.id]=new Nv(e)},c.hasReporter=Mm,c.getReporter=Lm,c.addReporter=function(e,t,r){Im[e]=t,r&&(Om=t)},c.reset=function(){var e=c._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),Object.keys(cs).forEach(function(e){cs[e]=ls[e]})},c._runRules=kv,c.runVirtualRule=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};r.reporter=r.reporter||c._audit.reporter||"v1",c._selectorData={},t instanceof oa||(t=new _m(t));var n=Af(e);if(!n)throw new Error("unknown rule `"+e+"`");var a={initiator:!0,include:[t],exclude:[],frames:[],page:!1,focusable:!0,size:{},flatTree:[]},o=(n=Object.create(n,{excludeHidden:{value:!1}})).runSync(a,r);pm(o),fa(o);var i=ga([o]);return i.violations.forEach(function(e){return e.nodes.forEach(function(e){e.failureSummary=tf(e)})}),H({},pf(),i,{toolOptions:r})},c.run=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];Av(t[0]);var n=Bv(t),a=n.context,o=n.options,i=n.callback,u=void 0===i?Rv:i,s=function(e){var t,r,n;return"function"==typeof Promise&&e===Rv?t=new Promise(function(e,t){r=t,n=e}):(n=function(t){return e(null,t)},r=function(t){return e(t)}),{thenable:t,reject:r,resolve:n}}(u),l=s.thenable,d=s.resolve,p=s.reject;try{ba(c._audit,"No audit configured"),ba(!c._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.")}catch(e){return function(e,t){if("function"!=typeof t||t===Rv)throw e;t(e.message)}(e,u)}return c._running=!0,o.performanceTimer&&Qf.start(),c._runRules(a,o,function(e,t){var r=function(e){c._running=!1,t();try{p(e)}catch(e){c.log(e)}};try{o.performanceTimer&&Qf.mark("reporterStart"),function(e,t,r,n){var a=Lm(t.reporter)(e,t,r,n);void 0!==a&&r(a)}(e,o,function(e){o.performanceTimer&&(Qf.mark("reporterEnd"),Qf.measure("reporter","reporterStart","reporterEnd"),Qf.logMeasures("reporter"),Qf.end()),c._running=!1,t();try{d(e)}catch(e){c.log(e)}},r)}catch(e){r(e)}},function(e){o.performanceTimer&&Qf.end(),c._running=!1,u(e),p(e)}),l},c.setup=function(e){if(c._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&"object"===l(e.documentElement)&&"object"===l(e.defaultView)&&(e=e.documentElement),Av(e),c._tree=Xh(e),c._selectorData=ja(c._tree),c._tree[0]},c.teardown=Tv,c.runPartial=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=Bv(t),a=n.options,o=n.context;ba(c._audit,"Axe is not configured. Audit is missing."),ba(!c._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");var i=new Cf(o,c._tree);return c._tree=i.flatTree,c._selectorData=ja(i.flatTree),c._running=!0,a.elementRef=!1,new Promise(function(e,t){c._audit.run(i,a,e,t)}).then(function(e){e=fi.mapRawResults(e);var t,r=i.frames.map(function(e){var t=e.node;return fi.toSpec(t)});return i.initiator&&(t=pf()),c._running=!1,Tv(),{results:e,frames:r,environmentData:t}}).catch(function(e){return c._running=!1,Tv(),Promise.reject(e)})},c.finishRun=function(e){var t,r,n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a=io(a);var o=(e.find(function(e){return e.environmentData})||{}).environmentData;c._audit.normalizeOptions(a),a.reporter=null!==(t=null!==(r=a.reporter)&&void 0!==r?r:null===(n=c._audit)||void 0===n?void 0:n.reporter)&&void 0!==t?t:"v1",function(e){var t,r=[],n=Q(e);try{for(n.s();!(t=n.n()).done;){var a=t.value,o=r.shift();if(a){a.frameSpec=null!=o?o:null;var i=Sv(a);r.unshift.apply(r,$(i))}}}catch(e){n.e(e)}finally{n.f()}}(e);var i=vi(e);return(i=c._audit.after(i,a)).forEach(pm),function(e,t){return new Promise(function(r,n){Lm(t.reporter)(e,t,r,n)})}(i=i.map(fa),H({environmentData:o},a))},c.commons=BD,c.utils=ia,c.addReporter("na",function(e,t,r){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=z(n,A);r(H({},pf(a),{toolOptions:o},af(e,t)))}),c.addReporter("no-passes",function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=z(n,T);t.resultTypes=["violations"];var i=af(e,t).violations;r(H({},pf(a),{toolOptions:o,violations:i}))}),c.addReporter("rawEnv",function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=z(n,k);Ov(e,o,function(e){var t=pf(a);r({raw:e,env:t})})}),c.addReporter("raw",Ov),c.addReporter("v1",function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=z(n,N),i=af(e,t),u=function(e){e.nodes.forEach(function(e){e.failureSummary=tf(e)})};i.incomplete.forEach(u),i.violations.forEach(u),r(H({},pf(a),{toolOptions:o},i))}),c.addReporter("v2",function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=z(n,B),i=af(e,t);r(H({},pf(a),{toolOptions:o},i))},!0)}(),c._load({lang:"en",data:{rules:{accesskeys:{description:"Ensure every accesskey attribute value is unique",help:"accesskey attribute value should be unique"},"area-alt":{description:"Ensure <area> elements of image maps have alternative text",help:"Active <area> elements must have alternative text"},"aria-allowed-attr":{description:"Ensure an element's role supports its ARIA attributes",help:"Elements must only use supported ARIA attributes"},"aria-allowed-role":{description:"Ensure role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-braille-equivalent":{description:"Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent",help:"aria-braille attributes must have a non-braille equivalent"},"aria-command-name":{description:"Ensure every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-conditional-attr":{description:"Ensure ARIA attributes are used as described in the specification of the element's role",help:"ARIA attributes must be used as specified for the element's role"},"aria-deprecated-role":{description:"Ensure elements do not use deprecated roles",help:"Deprecated ARIA roles must not be used"},"aria-dialog-name":{description:"Ensure every ARIA dialog and alertdialog node has an accessible name",help:"ARIA dialog and alertdialog nodes should have an accessible name"},"aria-hidden-body":{description:'Ensure aria-hidden="true" is not present on the document body.',help:'aria-hidden="true" must not be present on the document body'},"aria-hidden-focus":{description:"Ensure aria-hidden elements are not focusable nor contain focusable elements",help:"ARIA hidden element must not be focusable or contain focusable elements"},"aria-input-field-name":{description:"Ensure every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensure every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensure every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-prohibited-attr":{description:"Ensure ARIA attributes are not prohibited for an element's role",help:"Elements must only use permitted ARIA attributes"},"aria-required-attr":{description:"Ensure elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensure elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensure elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roledescription":{description:"Ensure aria-roledescription is only used on elements with an implicit or explicit role",help:"aria-roledescription must be on elements with a semantic role"},"aria-roles":{description:"Ensure all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:'Ensure role="text" is used on elements with no focusable descendants',help:'"role=text" should have no focusable descendants'},"aria-toggle-field-name":{description:"Ensure every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensure every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensure every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensure all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensure attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensure <audio> elements have captions",help:"<audio> elements must have a captions track"},"autocomplete-valid":{description:"Ensure the autocomplete attribute is correct and suitable for the form field",help:"autocomplete attribute must be used correctly"},"avoid-inline-spacing":{description:"Ensure that text spacing set through style attributes can be adjusted with custom stylesheets",help:"Inline text spacing must be adjustable with custom stylesheets"},blink:{description:"Ensure <blink> elements are not used",help:"<blink> elements are deprecated and must not be used"},"button-name":{description:"Ensure buttons have discernible text",help:"Buttons must have discernible text"},bypass:{description:"Ensure each page has at least one mechanism for a user to bypass navigation and jump straight to the content",help:"Page must have means to bypass repeated blocks"},"color-contrast-enhanced":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds",help:"Elements must meet enhanced color contrast ratio thresholds"},"color-contrast":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",help:"Elements must meet minimum color contrast ratio thresholds"},"css-orientation-lock":{description:"Ensure content is not locked to any specific display orientation, and the content is operable in all display orientations",help:"CSS Media queries must not lock display orientation"},"definition-list":{description:"Ensure <dl> elements are structured correctly",help:"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements"},dlitem:{description:"Ensure <dt> and <dd> elements are contained by a <dl>",help:"<dt> and <dd> elements must be contained by a <dl>"},"document-title":{description:"Ensure each HTML document contains a non-empty <title> element",help:"Documents must have <title> element to aid in navigation"},"duplicate-id-active":{description:"Ensure every id attribute value of active elements is unique",help:"IDs of active elements must be unique"},"duplicate-id-aria":{description:"Ensure every id attribute value used in ARIA and in labels is unique",help:"IDs used in ARIA and labels must be unique"},"duplicate-id":{description:"Ensure every id attribute value is unique",help:"id attribute value must be unique"},"empty-heading":{description:"Ensure headings have discernible text",help:"Headings should not be empty"},"empty-table-header":{description:"Ensure table headers have discernible text",help:"Table header text should not be empty"},"focus-order-semantics":{description:"Ensure elements in the focus order have a role appropriate for interactive content",help:"Elements in the focus order should have an appropriate role"},"form-field-multiple-labels":{description:"Ensure form field does not have multiple label elements",help:"Form field must not have multiple label elements"},"frame-focusable-content":{description:"Ensure <frame> and <iframe> elements with focusable content do not have tabindex=-1",help:"Frames with focusable content must not have tabindex=-1"},"frame-tested":{description:"Ensure <iframe> and <frame> elements contain the axe-core script",help:"Frames should be tested with axe-core"},"frame-title-unique":{description:"Ensure <iframe> and <frame> elements contain a unique title attribute",help:"Frames must have a unique title attribute"},"frame-title":{description:"Ensure <iframe> and <frame> elements have an accessible name",help:"Frames must have an accessible name"},"heading-order":{description:"Ensure the order of headings is semantically correct",help:"Heading levels should only increase by one"},"hidden-content":{description:"Informs users about hidden content.",help:"Hidden content on the page should be analyzed"},"html-has-lang":{description:"Ensure every HTML document has a lang attribute",help:"<html> element must have a lang attribute"},"html-lang-valid":{description:"Ensure the lang attribute of the <html> element has a valid value",help:"<html> element must have a valid value for the lang attribute"},"html-xml-lang-mismatch":{description:"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page",help:"HTML elements with lang and xml:lang must have the same base language"},"identical-links-same-purpose":{description:"Ensure that links with the same accessible name serve a similar purpose",help:"Links with the same name must have a similar purpose"},"image-alt":{description:"Ensure <img> elements have alternative text or a role of none or presentation",help:"Images must have alternative text"},"image-redundant-alt":{description:"Ensure image alternative is not repeated as text",help:"Alternative text of images should not be repeated as text"},"input-button-name":{description:"Ensure input buttons have discernible text",help:"Input buttons must have discernible text"},"input-image-alt":{description:'Ensure <input type="image"> elements have alternative text',help:"Image buttons must have alternative text"},"label-content-name-mismatch":{description:"Ensure that elements labelled through their content must have their visible text as part of their accessible name",help:"Elements must have their visible text as part of their accessible name"},"label-title-only":{description:"Ensure that every form element has a visible label and is not solely labeled using hidden labels, or the title or aria-describedby attributes",help:"Form elements should have a visible label"},label:{description:"Ensure every form element has a label",help:"Form elements must have labels"},"landmark-banner-is-top-level":{description:"Ensure the banner landmark is at top level",help:"Banner landmark should not be contained in another landmark"},"landmark-complementary-is-top-level":{description:"Ensure the complementary landmark or aside is at top level",help:"Aside should not be contained in another landmark"},"landmark-contentinfo-is-top-level":{description:"Ensure the contentinfo landmark is at top level",help:"Contentinfo landmark should not be contained in another landmark"},"landmark-main-is-top-level":{description:"Ensure the main landmark is at top level",help:"Main landmark should not be contained in another landmark"},"landmark-no-duplicate-banner":{description:"Ensure the document has at most one banner landmark",help:"Document should not have more than one banner landmark"},"landmark-no-duplicate-contentinfo":{description:"Ensure the document has at most one contentinfo landmark",help:"Document should not have more than one contentinfo landmark"},"landmark-no-duplicate-main":{description:"Ensure the document has at most one main landmark",help:"Document should not have more than one main landmark"},"landmark-one-main":{description:"Ensure the document has a main landmark",help:"Document should have one main landmark"},"landmark-unique":{description:"Ensure landmarks are unique",help:"Landmarks should have a unique role or role/label/title (i.e. accessible name) combination"},"link-in-text-block":{description:"Ensure links are distinguished from surrounding text in a way that does not rely on color",help:"Links must be distinguishable without relying on color"},"link-name":{description:"Ensure links have discernible text",help:"Links must have discernible text"},list:{description:"Ensure that lists are structured correctly",help:"<ul> and <ol> must only directly contain <li>, <script> or <template> elements"},listitem:{description:"Ensure <li> elements are used semantically",help:"<li> elements must be contained in a <ul> or <ol>"},marquee:{description:"Ensure <marquee> elements are not used",help:"<marquee> elements are deprecated and must not be used"},"meta-refresh-no-exceptions":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh must not be used"},"meta-refresh":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh under 20 hours must not be used"},"meta-viewport-large":{description:'Ensure <meta name="viewport"> can scale a significant amount',help:"Users should be able to zoom and scale the text up to 500%"},"meta-viewport":{description:'Ensure <meta name="viewport"> does not disable text scaling and zooming',help:"Zooming and scaling must not be disabled"},"nested-interactive":{description:"Ensure interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",help:"Interactive controls must not be nested"},"no-autoplay-audio":{description:"Ensure <video> or <audio> elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio",help:"<video> or <audio> elements must not play automatically"},"object-alt":{description:"Ensure <object> elements have alternative text",help:"<object> elements must have alternative text"},"p-as-heading":{description:"Ensure bold, italic text and font-size is not used to style <p> elements as a heading",help:"Styled <p> elements must not be used as headings"},"page-has-heading-one":{description:"Ensure that the page, or at least one of its frames contains a level-one heading",help:"Page should contain a level-one heading"},"presentation-role-conflict":{description:"Elements marked as presentational should not have global ARIA or tabindex to ensure all screen readers ignore them",help:"Ensure elements marked as presentational are consistently ignored"},region:{description:"Ensure all page content is contained by landmarks",help:"All page content should be contained by landmarks"},"role-img-alt":{description:'Ensure [role="img"] elements have alternative text',help:'[role="img"] elements must have an alternative text'},"scope-attr-valid":{description:"Ensure the scope attribute is used correctly on tables",help:"scope attribute should be used correctly"},"scrollable-region-focusable":{description:"Ensure elements that have scrollable content are accessible by keyboard",help:"Scrollable region must have keyboard access"},"select-name":{description:"Ensure select element has an accessible name",help:"Select element must have an accessible name"},"server-side-image-map":{description:"Ensure that server-side image maps are not used",help:"Server-side image maps must not be used"},"skip-link":{description:"Ensure all skip links have a focusable target",help:"The skip-link target should exist and be focusable"},"summary-name":{description:"Ensure summary elements have discernible text",help:"Summary elements must have discernible text"},"svg-img-alt":{description:"Ensure <svg> elements with an img, graphics-document or graphics-symbol role have an accessible text",help:"<svg> elements with an img role must have an alternative text"},tabindex:{description:"Ensure tabindex attribute values are not greater than 0",help:"Elements should not have tabindex greater than zero"},"table-duplicate-name":{description:"Ensure the <caption> element does not contain the same text as the summary attribute",help:"Tables should not have the same summary and caption"},"table-fake-caption":{description:"Ensure that tables with a caption use the <caption> element.",help:"Data or header cells must not be used to give caption to a data table."},"target-size":{description:"Ensure touch targets have sufficient size and space",help:"All touch targets must be 24px large, or leave sufficient space"},"td-has-header":{description:"Ensure that each non-empty data cell in a <table> larger than 3 by 3 has one or more table headers",help:"Non-empty <td> elements in larger <table> must have an associated table header"},"td-headers-attr":{description:"Ensure that each cell in a table that uses the headers attribute refers only to other cells in that table",help:"Table cells that use the headers attribute must only refer to cells in the same table"},"th-has-data-cells":{description:"Ensure that <th> elements and elements with role=columnheader/rowheader have data cells they describe",help:"Table headers in a data table must refer to data cells"},"valid-lang":{description:"Ensure lang attributes have valid values",help:"lang attribute must have a valid value"},"video-caption":{description:"Ensure <video> elements have captions",help:"<video> elements must have captions"}},checks:{abstractrole:{impact:"serious",messages:{pass:"Abstract roles are not used",fail:{singular:"Abstract role cannot be directly used: ${data.values}",plural:"Abstract roles cannot be directly used: ${data.values}"}}},"aria-allowed-attr":{impact:"critical",messages:{pass:"ARIA attributes are used correctly for the defined role",fail:{singular:"ARIA attribute is not allowed: ${data.values}",plural:"ARIA attributes are not allowed: ${data.values}"},incomplete:"Check that there is no problem if the ARIA attribute is ignored on this element: ${data.values}"}},"aria-allowed-role":{impact:"minor",messages:{pass:"ARIA role is allowed for given element",fail:{singular:"ARIA role ${data.values} is not allowed for given element",plural:"ARIA roles ${data.values} are not allowed for given element"},incomplete:{singular:"ARIA role ${data.values} must be removed when the element is made visible, as it is not allowed for the element",plural:"ARIA roles ${data.values} must be removed when the element is made visible, as they are not allowed for the element"}}},"aria-busy":{impact:"serious",messages:{pass:"Element has an aria-busy attribute",fail:'Element uses aria-busy="true" while showing a loader'}},"aria-conditional-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{checkbox:'Remove aria-checked, or set it to "${data.checkState}" to match the real checkbox state',rowSingular:"This attribute is supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}",rowPlural:"These attributes are supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}"}}},"aria-errormessage":{impact:"critical",messages:{pass:"aria-errormessage exists and references elements visible to screen readers that use a supported aria-errormessage technique",fail:{singular:"aria-errormessage value `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",plural:"aria-errormessage values `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",hidden:"aria-errormessage value `${data.values}` cannot reference a hidden element"},incomplete:{singular:"Ensure aria-errormessage value `${data.values}` references an existing element",plural:"Ensure aria-errormessage values `${data.values}` reference existing elements",idrefs:"Unable to determine if aria-errormessage element exists on the page: ${data.values}"}}},"aria-hidden-body":{impact:"critical",messages:{pass:"No aria-hidden attribute is present on document body",fail:"aria-hidden=true should not be present on the document body"}},"aria-level":{impact:"serious",messages:{pass:"aria-level values are valid",incomplete:"aria-level values greater than 6 are not supported in all screenreader and browser combinations"}},"aria-prohibited-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{hasRolePlural:'${data.prohibited} attributes cannot be used with role "${data.role}".',hasRoleSingular:'${data.prohibited} attribute cannot be used with role "${data.role}".',noRolePlural:"${data.prohibited} attributes cannot be used on a ${data.nodeName} with no valid role attribute.",noRoleSingular:"${data.prohibited} attribute cannot be used on a ${data.nodeName} with no valid role attribute."},incomplete:{hasRoleSingular:'${data.prohibited} attribute is not well supported with role "${data.role}".',hasRolePlural:'${data.prohibited} attributes are not well supported with role "${data.role}".',noRoleSingular:"${data.prohibited} attribute is not well supported on a ${data.nodeName} with no valid role attribute.",noRolePlural:"${data.prohibited} attributes are not well supported on a ${data.nodeName} with no valid role attribute."}}},"aria-required-attr":{impact:"critical",messages:{pass:"All required ARIA attributes are present",fail:{singular:"Required ARIA attribute not present: ${data.values}",plural:"Required ARIA attributes not present: ${data.values}"}}},"aria-required-children":{impact:"critical",messages:{pass:{default:"Required ARIA children are present","aria-busy":"Element has an aria-busy attribute, so it is allowed to omit required children"},fail:{singular:"Required ARIA child role not present: ${data.values}",plural:"Required ARIA children role not present: ${data.values}",unallowed:"Element has children which are not allowed: ${data.values}"},incomplete:{singular:"Expecting ARIA child role to be added: ${data.values}",plural:"Expecting ARIA children role to be added: ${data.values}"}}},"aria-required-parent":{impact:"critical",messages:{pass:"Required ARIA parent role present",fail:{singular:"Required ARIA parent role not present: ${data.values}",plural:"Required ARIA parents role not present: ${data.values}"}}},"aria-roledescription":{impact:"serious",messages:{pass:"aria-roledescription used on a supported semantic role",incomplete:"Check that the aria-roledescription is announced by supported screen readers",fail:"Give the element a role that supports aria-roledescription"}},"aria-unsupported-attr":{impact:"critical",messages:{pass:"ARIA attribute is supported",fail:"ARIA attribute is not widely supported in screen readers and assistive technologies: ${data.values}"}},"aria-valid-attr-value":{impact:"critical",messages:{pass:"ARIA attribute values are valid",fail:{singular:"Invalid ARIA attribute value: ${data.values}",plural:"Invalid ARIA attribute values: ${data.values}"},incomplete:{noId:"ARIA attribute element ID does not exist on the page: ${data.needsReview}",noIdShadow:"ARIA attribute element ID does not exist on the page or is a descendant of a different shadow DOM tree: ${data.needsReview}",ariaCurrent:'ARIA attribute value is invalid and will be treated as "aria-current=true": ${data.needsReview}',idrefs:"Unable to determine if ARIA attribute element ID exists on the page: ${data.needsReview}",empty:"ARIA attribute value is ignored while empty: ${data.needsReview}",controlsWithinPopup:"Unable to determine if aria-controls referenced ID exists on the page while using aria-haspopup: ${data.needsReview}"}}},"aria-valid-attr":{impact:"critical",messages:{pass:"ARIA attribute name is valid",fail:{singular:"Invalid ARIA attribute name: ${data.values}",plural:"Invalid ARIA attribute names: ${data.values}"}}},"braille-label-equivalent":{impact:"serious",messages:{pass:"aria-braillelabel is used on an element with accessible text",fail:"aria-braillelabel is used on an element with no accessible text",incomplete:"Unable to compute accessible text"}},"braille-roledescription-equivalent":{impact:"serious",messages:{pass:"aria-brailleroledescription is used on an element with aria-roledescription",fail:{noRoleDescription:"aria-brailleroledescription is used on an element with no aria-roledescription",emptyRoleDescription:"aria-brailleroledescription is used on an element with an empty aria-roledescription"}}},deprecatedrole:{impact:"minor",messages:{pass:"ARIA role is not deprecated",fail:"The role used is deprecated: ${data}"}},fallbackrole:{impact:"serious",messages:{pass:"Only one role value used",fail:"Use only one role value, since fallback roles are not supported in older browsers",incomplete:"Use only role 'presentation' or 'none' since they are synonymous."}},"has-global-aria-attribute":{impact:"minor",messages:{pass:{singular:"Element has global ARIA attribute: ${data.values}",plural:"Element has global ARIA attributes: ${data.values}"},fail:"Element does not have global ARIA attribute"}},"has-widget-role":{impact:"minor",messages:{pass:"Element has a widget role.",fail:"Element does not have a widget role."}},invalidrole:{impact:"critical",messages:{pass:"ARIA role is valid",fail:{singular:"Role must be one of the valid ARIA roles: ${data.values}",plural:"Roles must be one of the valid ARIA roles: ${data.values}"}}},"is-element-focusable":{impact:"minor",messages:{pass:"Element is focusable.",fail:"Element is not focusable."}},"no-implicit-explicit-label":{impact:"serious",messages:{pass:"There is no mismatch between a <label> and accessible name",incomplete:"Check that the <label> does not need be part of the ARIA ${data} field's name"}},unsupportedrole:{impact:"critical",messages:{pass:"ARIA role is supported",fail:"The role used is not widely supported in screen readers and assistive technologies: ${data}"}},"valid-scrollable-semantics":{impact:"minor",messages:{pass:"Element has valid semantics for an element in the focus order.",fail:"Element has invalid semantics for an element in the focus order."}},"color-contrast-enhanced":{impact:"serious",messages:{pass:"Element has sufficient color contrast of ${data.contrastRatio}",fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element"}}},"color-contrast":{impact:"serious",messages:{pass:{default:"Element has sufficient color contrast of ${data.contrastRatio}",hidden:"Element is hidden"},fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",complexTextShadows:"Element's contrast could not be determined because it uses complex text shadows",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element"}}},"link-in-text-block-style":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text by visual styling",incomplete:{default:"Check if the link needs styling to distinguish it from nearby text",pseudoContent:"Check if the link's pseudo style is sufficient to distinguish it from the surrounding text"},fail:"The link has no styling (such as underline) to distinguish it from the surrounding text"}},"link-in-text-block":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text in some way other than by color",fail:{fgContrast:"The link has insufficient color contrast of ${data.contrastRatio}:1 with the surrounding text. (Minimum contrast is ${data.requiredContrastRatio}:1, link text: ${data.nodeColor}, surrounding text: ${data.parentColor})",bgContrast:"The link background has insufficient color contrast of ${data.contrastRatio} (Minimum contrast is ${data.requiredContrastRatio}:1, link background color: ${data.nodeBackgroundColor}, surrounding background color: ${data.parentBackgroundColor})"},incomplete:{default:"Element's foreground contrast ratio could not be determined",bgContrast:"Element's background contrast ratio could not be determined",bgImage:"Element's contrast ratio could not be determined due to a background image",bgGradient:"Element's contrast ratio could not be determined due to a background gradient",imgNode:"Element's contrast ratio could not be determined because element contains an image node",bgOverlap:"Element's contrast ratio could not be determined because of element overlap"}}},"autocomplete-appropriate":{impact:"serious",messages:{pass:"The autocomplete value is on an appropriate element",fail:"The autocomplete value is inappropriate for this type of input"}},"autocomplete-valid":{impact:"serious",messages:{pass:"the autocomplete attribute is correctly formatted",fail:"the autocomplete attribute is incorrectly formatted",incomplete:"the autocomplete attribute has a non-standard value. Check whether any standard value could be used instead."}},accesskeys:{impact:"serious",messages:{pass:"Accesskey attribute value is unique",fail:"Document has multiple elements with the same accesskey"}},"focusable-content":{impact:"serious",messages:{pass:"Element contains focusable elements",fail:"Element should have focusable content"}},"focusable-disabled":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:"Focusable content should be disabled or be removed from the DOM"}},"focusable-element":{impact:"serious",messages:{pass:"Element is focusable",fail:"Element should be focusable"}},"focusable-modal-open":{impact:"serious",messages:{pass:"No focusable elements while a modal is open",incomplete:"Check that focusable elements are not tabbable in the current state"}},"focusable-no-name":{impact:"serious",messages:{pass:"Element is not in tab order or has accessible text",fail:"Element is in tab order and does not have accessible text",incomplete:"Unable to determine if element has an accessible name"}},"focusable-not-tabbable":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:'Focusable content should have tabindex="-1" or be removed from the DOM'}},"frame-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:"Element has focusable descendants",incomplete:"Could not determine if element has descendants"}},"landmark-is-top-level":{impact:"moderate",messages:{pass:"The ${data.role} landmark is at the top level.",fail:"The ${data.role} landmark is contained in another landmark."}},"no-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:{default:"Element has focusable descendants",notHidden:'Using a negative tabindex on an element inside an interactive control does not prevent assistive technologies from focusing the element (even with aria-hidden="true")'},incomplete:"Could not determine if element has descendants"}},"page-has-heading-one":{impact:"moderate",messages:{pass:"Page has at least one level-one heading",fail:"Page must have a level-one heading"}},"page-has-main":{impact:"moderate",messages:{pass:"Document has at least one main landmark",fail:"Document does not have a main landmark"}},"page-no-duplicate-banner":{impact:"moderate",messages:{pass:"Document does not have more than one banner landmark",fail:"Document has more than one banner landmark"}},"page-no-duplicate-contentinfo":{impact:"moderate",messages:{pass:"Document does not have more than one contentinfo landmark",fail:"Document has more than one contentinfo landmark"}},"page-no-duplicate-main":{impact:"moderate",messages:{pass:"Document does not have more than one main landmark",fail:"Document has more than one main landmark"}},tabindex:{impact:"serious",messages:{pass:"Element does not have a tabindex greater than 0",fail:"Element has a tabindex greater than 0"}},"alt-space-value":{impact:"critical",messages:{pass:"Element has a valid alt attribute value",fail:"Element has an alt attribute containing only a space character, which is not ignored by all screen readers"}},"duplicate-img-label":{impact:"minor",messages:{pass:"Element does not duplicate existing text in <img> alt text",fail:"Element contains <img> element with alt text that duplicates existing text"}},"explicit-label":{impact:"critical",messages:{pass:"Element has an explicit <label>",fail:"Element does not have an explicit <label>",incomplete:"Unable to determine if form element has an explicit <label>"}},"help-same-as-label":{impact:"minor",messages:{pass:"Help text (title or aria-describedby) does not duplicate label text",fail:"Help text (title or aria-describedby) text is the same as the label text"}},"hidden-explicit-label":{impact:"critical",messages:{pass:"Form element has a visible explicit <label>",fail:"Form element has explicit <label> that is hidden",incomplete:"Unable to determine if form element has explicit <label> that is hidden"}},"implicit-label":{impact:"critical",messages:{pass:"Element has an implicit (wrapped) <label>",fail:"Element does not have an implicit (wrapped) <label>",incomplete:"Unable to determine if form element has an implicit (wrapped) <label>"}},"label-content-name-mismatch":{impact:"serious",messages:{pass:"Element contains visible text as part of it's accessible name",fail:"Text inside the element is not included in the accessible name"}},"multiple-label":{impact:"moderate",messages:{pass:"Form field does not have multiple label elements",incomplete:"Multiple label elements is not widely supported in assistive technologies. Ensure the first label contains all necessary information."}},"title-only":{impact:"serious",messages:{pass:"Form element does not solely use title attribute for its label",fail:"Only title used to generate label for form element"}},"landmark-is-unique":{impact:"moderate",messages:{pass:"Landmarks must have a unique role or role/label/title (i.e. accessible name) combination",fail:"The landmark must have a unique aria-label, aria-labelledby, or title to make landmarks distinguishable"}},"has-lang":{impact:"serious",messages:{pass:"The <html> element has a lang attribute",fail:{noXHTML:"The xml:lang attribute is not valid on HTML pages, use the lang attribute.",noLang:"The <html> element does not have a lang attribute"}}},"valid-lang":{impact:"serious",messages:{pass:"Value of lang attribute is included in the list of valid languages",fail:"Value of lang attribute not included in the list of valid languages"}},"xml-lang-mismatch":{impact:"moderate",messages:{pass:"Lang and xml:lang attributes have the same base language",fail:"Lang and xml:lang attributes do not have the same base language"}},dlitem:{impact:"serious",messages:{pass:"Description list item has a <dl> parent element",fail:"Description list item does not have a <dl> parent element"}},listitem:{impact:"serious",messages:{pass:'List item has a <ul>, <ol> or role="list" parent element',fail:{default:"List item does not have a <ul>, <ol> parent element",roleNotValid:'List item parent element has a role that is not role="list"'}}},"only-dlitems":{impact:"serious",messages:{pass:"dl element only has direct children that are allowed inside; <dt>, <dd>, or <div> elements",fail:"dl element has direct children that are not allowed: ${data.values}"}},"only-listitems":{impact:"serious",messages:{pass:"List element only has direct children that are allowed inside <li> elements",fail:"List element has direct children that are not allowed: ${data.values}"}},"structured-dlitems":{impact:"serious",messages:{pass:"When not empty, element has both <dt> and <dd> elements",fail:"When not empty, element does not have at least one <dt> element followed by at least one <dd> element"}},caption:{impact:"critical",messages:{pass:"The multimedia element has a captions track",incomplete:"Check that captions are available for the element"}},"frame-tested":{impact:"critical",messages:{pass:"The iframe was tested with axe-core",fail:"The iframe could not be tested with axe-core",incomplete:"The iframe still has to be tested with axe-core"}},"no-autoplay-audio":{impact:"moderate",messages:{pass:"<video> or <audio> does not output audio for more than allowed duration or has controls mechanism",fail:"<video> or <audio> outputs audio for more than allowed duration and does not have a controls mechanism",incomplete:"Check that the <video> or <audio> does not output audio for more than allowed duration or provides a controls mechanism"}},"css-orientation-lock":{impact:"serious",messages:{pass:"Display is operable, and orientation lock does not exist",fail:"CSS Orientation lock is applied, and makes display inoperable",incomplete:"CSS Orientation lock cannot be determined"}},"meta-viewport-large":{impact:"minor",messages:{pass:"<meta> tag does not prevent significant zooming on mobile devices",fail:"<meta> tag limits zooming on mobile devices"}},"meta-viewport":{impact:"critical",messages:{pass:"<meta> tag does not disable zooming on mobile devices",fail:"${data} on <meta> tag disables zooming on mobile devices"}},"target-offset":{impact:"serious",messages:{pass:{default:"Target has sufficient space from its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px which is at least ${data.minOffset}px.",large:"Target far exceeds the minimum size of ${data.minOffset}px."},fail:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px.",incomplete:{default:"Element with negative tabindex has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is this a target?",nonTabbableNeighbor:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"target-size":{impact:"serious",messages:{pass:{default:"Control has sufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",obscured:"Control is ignored because it is fully obscured and thus not clickable",large:"Target far exceeds the minimum size of ${data.minSize}px."},fail:{default:"Target has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",partiallyObscured:"Target has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)"},incomplete:{default:"Element with negative tabindex has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",contentOverflow:"Element size could not be accurately determined due to overflow content",partiallyObscured:"Element with negative tabindex has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",partiallyObscuredNonTabbable:"Target has insufficient size because it is partially obscured by a neighbor with negative tabindex (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"header-present":{impact:"serious",messages:{pass:"Page has a heading",fail:"Page does not have a heading"}},"heading-order":{impact:"moderate",messages:{pass:"Heading order valid",fail:"Heading order invalid",incomplete:"Unable to determine previous heading"}},"identical-links-same-purpose":{impact:"minor",messages:{pass:"There are no other links with the same name, that go to a different URL",incomplete:"Check that links have the same purpose, or are intentionally ambiguous."}},"internal-link-present":{impact:"serious",messages:{pass:"Valid skip link found",fail:"No valid skip link found"}},landmark:{impact:"serious",messages:{pass:"Page has a landmark region",fail:"Page does not have a landmark region"}},"meta-refresh-no-exceptions":{impact:"minor",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page"}},"meta-refresh":{impact:"critical",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page (less than 20 hours)"}},"p-as-heading":{impact:"serious",messages:{pass:"<p> elements are not styled as headings",fail:"Heading elements should be used instead of styled <p> elements",incomplete:"Unable to determine if <p> elements are styled as headings"}},region:{impact:"moderate",messages:{pass:"All page content is contained by landmarks",fail:"Some page content is not contained by landmarks"}},"skip-link":{impact:"moderate",messages:{pass:"Skip link target exists",incomplete:"Skip link target should become visible on activation",fail:"No skip link target"}},"unique-frame-title":{impact:"serious",messages:{pass:"Element's title attribute is unique",fail:"Element's title attribute is not unique"}},"duplicate-id-active":{impact:"serious",messages:{pass:"Document has no active elements that share the same id attribute",fail:"Document has active elements with the same id attribute: ${data}"}},"duplicate-id-aria":{impact:"critical",messages:{pass:"Document has no elements referenced with ARIA or labels that share the same id attribute",fail:"Document has multiple elements referenced with ARIA with the same id attribute: ${data}"}},"duplicate-id":{impact:"minor",messages:{pass:"Document has no static elements that share the same id attribute",fail:"Document has multiple static elements with the same id attribute: ${data}"}},"aria-label":{impact:"serious",messages:{pass:"aria-label attribute exists and is not empty",fail:"aria-label attribute does not exist or is empty"}},"aria-labelledby":{impact:"serious",messages:{pass:"aria-labelledby attribute exists and references elements that are visible to screen readers",fail:"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty",incomplete:"Ensure aria-labelledby references an existing element"}},"avoid-inline-spacing":{impact:"serious",messages:{pass:"No inline styles with '!important' that affect text spacing has been specified",fail:{singular:"Remove '!important' from inline style ${data.values}, as overriding this is not supported by most browsers",plural:"Remove '!important' from inline styles ${data.values}, as overriding this is not supported by most browsers"}}},"button-has-visible-text":{impact:"critical",messages:{pass:"Element has inner text that is visible to screen readers",fail:"Element does not have inner text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"doc-has-title":{impact:"serious",messages:{pass:"Document has a non-empty <title> element",fail:"Document does not have a non-empty <title> element"}},exists:{impact:"minor",messages:{pass:"Element does not exist",incomplete:"Element exists"}},"has-alt":{impact:"critical",messages:{pass:"Element has an alt attribute",fail:"Element does not have an alt attribute"}},"has-visible-text":{impact:"minor",messages:{pass:"Element has text that is visible to screen readers",fail:"Element does not have text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"important-letter-spacing":{impact:"serious",messages:{pass:"Letter-spacing in the style attribute is not set to !important, or meets the minimum",fail:"letter-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-line-height":{impact:"serious",messages:{pass:"line-height in the style attribute is not set to !important, or meets the minimum",fail:"line-height in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-word-spacing":{impact:"serious",messages:{pass:"word-spacing in the style attribute is not set to !important, or meets the minimum",fail:"word-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"is-on-screen":{impact:"serious",messages:{pass:"Element is not visible",fail:"Element is visible"}},"non-empty-alt":{impact:"critical",messages:{pass:"Element has a non-empty alt attribute",fail:{noAttr:"Element has no alt attribute",emptyAttr:"Element has an empty alt attribute"}}},"non-empty-if-present":{impact:"critical",messages:{pass:{default:"Element does not have a value attribute","has-label":"Element has a non-empty value attribute"},fail:"Element has a value attribute and the value attribute is empty"}},"non-empty-placeholder":{impact:"serious",messages:{pass:"Element has a placeholder attribute",fail:{noAttr:"Element has no placeholder attribute",emptyAttr:"Element has an empty placeholder attribute"}}},"non-empty-title":{impact:"serious",messages:{pass:"Element has a title attribute",fail:{noAttr:"Element has no title attribute",emptyAttr:"Element has an empty title attribute"}}},"non-empty-value":{impact:"critical",messages:{pass:"Element has a non-empty value attribute",fail:{noAttr:"Element has no value attribute",emptyAttr:"Element has an empty value attribute"}}},"presentational-role":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="${data.role}"',fail:{default:'Element\'s default semantics were not overridden with role="none" or role="presentation"',globalAria:"Element's role is not presentational because it has a global ARIA attribute",focusable:"Element's role is not presentational because it is focusable",both:"Element's role is not presentational because it has a global ARIA attribute and is focusable",iframe:'Using the "title" attribute on an ${data.nodeName} element with a presentational role behaves inconsistently between screen readers'}}},"role-none":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="none"',fail:'Element\'s default semantics were not overridden with role="none"'}},"role-presentation":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="presentation"',fail:'Element\'s default semantics were not overridden with role="presentation"'}},"svg-non-empty-title":{impact:"serious",messages:{pass:"Element has a child that is a title",fail:{noTitle:"Element has no child that is a title",emptyTitle:"Element child title is empty"},incomplete:"Unable to determine element has a child that is a title"}},"caption-faked":{impact:"serious",messages:{pass:"The first row of a table is not used as a caption",fail:"The first child of the table should be a caption instead of a table cell"}},"html5-scope":{impact:"moderate",messages:{pass:"Scope attribute is only used on table header elements (<th>)",fail:"In HTML 5, scope attributes may only be used on table header elements (<th>)"}},"same-caption-summary":{impact:"minor",messages:{pass:"Content of summary attribute and <caption> are not duplicated",fail:"Content of summary attribute and <caption> element are identical",incomplete:"Unable to determine if <table> element has a caption"}},"scope-value":{impact:"critical",messages:{pass:"Scope attribute is used correctly",fail:"The value of the scope attribute may only be 'row' or 'col'"}},"td-has-header":{impact:"critical",messages:{pass:"All non-empty data cells have table headers",fail:"Some non-empty data cells do not have table headers"}},"td-headers-attr":{impact:"serious",messages:{pass:"The headers attribute is exclusively used to refer to other cells in the table",incomplete:"The headers attribute is empty",fail:"The headers attribute is not exclusively used to refer to other cells in the table"}},"th-has-data-cells":{impact:"serious",messages:{pass:"All table header cells refer to data cells",fail:"Not all table header cells refer to data cells",incomplete:"Table data cells are missing or empty"}},"hidden-content":{impact:"minor",messages:{pass:"All content on the page has been analyzed.",fail:"There were problems analyzing the content on this page.",incomplete:"There is hidden content on the page that was not analyzed. You will need to trigger the display of this content in order to analyze it."}}},failureSummaries:{any:{failureMessage:function(e){var t="Fix any of the following:",r=e;if(r)for(var n=-1,a=r.length-1;n<a;)t+="\n "+r[n+=1].split("\n").join("\n ");return t}},none:{failureMessage:function(e){var t="Fix all of the following:",r=e;if(r)for(var n=-1,a=r.length-1;n<a;)t+="\n "+r[n+=1].split("\n").join("\n ");return t}}},incompleteFallbackMessage:"axe couldn't tell the reason. Time to break out the element inspector!"},rules:[{id:"accesskeys",impact:"serious",selector:"[accesskey]",excludeHidden:!1,tags:["cat.keyboard","best-practice"],all:[],any:[],none:["accesskeys"]},{id:"area-alt",impact:"critical",selector:"map area[href]",excludeHidden:!1,tags:["cat.text-alternatives","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT"],actIds:["c487ae"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-allowed-attr",impact:"critical",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["5c01ea"],all:[{options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-allowed-attr"}],any:[],none:["aria-unsupported-attr"]},{id:"aria-allowed-role",impact:"minor",excludeHidden:!1,selector:"[role]",matches:"aria-allowed-role-matches",tags:["cat.aria","best-practice"],all:[],any:[{options:{allowImplicit:!0,ignoredTags:[]},id:"aria-allowed-role"}],none:[]},{id:"aria-braille-equivalent",reviewOnFail:!0,impact:"serious",selector:"[aria-brailleroledescription], [aria-braillelabel]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:["braille-roledescription-equivalent","braille-label-equivalent"],any:[],none:[]},{id:"aria-command-name",impact:"serious",selector:'[role="link"], [role="button"], [role="menuitem"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT"],actIds:["97a4e1"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-conditional-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["5c01ea"],all:[{options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-conditional-attr"}],any:[],none:[]},{id:"aria-deprecated-role",impact:"minor",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["674b10"],all:[],any:[],none:["deprecatedrole"]},{id:"aria-dialog-name",impact:"serious",selector:'[role="dialog"], [role="alertdialog"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-hidden-body",impact:"critical",selector:"body",excludeHidden:!1,matches:"is-initiator-matches",tags:["cat.aria","wcag2a","wcag131","wcag412","EN-301-549","EN-9.1.3.1","EN-9.4.1.2"],all:[],any:["aria-hidden-body"],none:[]},{id:"aria-hidden-focus",impact:"serious",selector:'[aria-hidden="true"]',matches:"aria-hidden-focus-matches",excludeHidden:!1,tags:["cat.name-role-value","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2"],actIds:["6cfa84"],all:["focusable-modal-open","focusable-disabled","focusable-not-tabbable"],any:[],none:[]},{id:"aria-input-field-name",impact:"serious",selector:'[role="combobox"], [role="listbox"], [role="searchbox"], [role="slider"], [role="spinbutton"], [role="textbox"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT"],actIds:["e086e5"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-meter-name",impact:"serious",selector:'[role="meter"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-progressbar-name",impact:"serious",selector:'[role="progressbar"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-prohibited-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["5c01ea"],all:[],any:[],none:[{options:{elementsAllowedAriaLabel:["applet","input"]},id:"aria-prohibited-attr"}]},{id:"aria-required-attr",impact:"critical",selector:"[role]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["4e8ab6"],all:[],any:["aria-required-attr"],none:[]},{id:"aria-required-children",impact:"critical",selector:"[role]",matches:"aria-required-children-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1"],actIds:["bc4a75","ff89c9"],all:[],any:[{options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]},id:"aria-required-children"}],none:[]},{id:"aria-required-parent",impact:"critical",selector:"[role]",matches:"aria-required-parent-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1"],actIds:["ff89c9"],all:[],any:[{options:{ownGroupRoles:["listitem","treeitem"]},id:"aria-required-parent"}],none:[]},{id:"aria-roledescription",impact:"serious",selector:"[aria-roledescription]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","deprecated"],enabled:!1,all:[],any:[{options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]},id:"aria-roledescription"}],none:[]},{id:"aria-roles",impact:"critical",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["674b10"],all:[],any:[],none:["invalidrole","abstractrole","unsupportedrole"]},{id:"aria-text",impact:"serious",selector:"[role=text]",tags:["cat.aria","best-practice"],all:[],any:["no-focusable-content"],none:[]},{id:"aria-toggle-field-name",impact:"serious",selector:'[role="checkbox"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="radio"], [role="switch"], [role="option"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT"],actIds:["e086e5"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-tooltip-name",impact:"serious",selector:'[role="tooltip"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-treeitem-name",impact:"serious",selector:'[role="treeitem"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-valid-attr-value",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["6a7281"],all:[{options:[],id:"aria-valid-attr-value"},"aria-errormessage","aria-level"],any:[],none:[]},{id:"aria-valid-attr",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["5f99a7"],all:[],any:[{options:[],id:"aria-valid-attr"}],none:[]},{id:"audio-caption",impact:"critical",selector:"audio",enabled:!1,excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag121","EN-301-549","EN-9.1.2.1","section508","section508.22.a","deprecated"],actIds:["2eb176","afb423"],all:[],any:[],none:["caption"]},{id:"autocomplete-valid",impact:"serious",matches:"autocomplete-matches",tags:["cat.forms","wcag21aa","wcag135","EN-301-549","EN-9.1.3.5","ACT"],actIds:["73f2c2"],all:[{options:{stateTerms:["none","false","true","disabled","enabled","undefined","null"],ignoredValues:["text","pronouns","gender","message","content"]},id:"autocomplete-valid"}],any:[],none:[]},{id:"avoid-inline-spacing",impact:"serious",selector:"[style]",matches:"is-visible-on-screen-matches",tags:["cat.structure","wcag21aa","wcag1412","EN-301-549","EN-9.1.4.12","ACT"],actIds:["24afc2","9e45ec","78fd32"],all:[{options:{cssProperty:"letter-spacing",minValue:.12},id:"important-letter-spacing"},{options:{cssProperty:"word-spacing",minValue:.16},id:"important-word-spacing"},{options:{multiLineOnly:!0,cssProperty:"line-height",minValue:1.5,normalValue:1},id:"important-line-height"}],any:[],none:[]},{id:"blink",impact:"serious",selector:"blink",excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j","TTv5","TT2.b","EN-301-549","EN-9.2.2.2"],all:[],any:[],none:["is-on-screen"]},{id:"button-name",impact:"critical",selector:"button",matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT"],actIds:["97a4e1","m6b1q3"],all:[],any:["button-has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"bypass",impact:"serious",selector:"html",pageLevel:!0,matches:"bypass-matches",reviewOnFail:!0,tags:["cat.keyboard","wcag2a","wcag241","section508","section508.22.o","TTv5","TT9.a","EN-301-549","EN-9.2.4.1"],actIds:["cf77f2","047fe0","b40fd1","3e12e1","ye5d6e"],all:[],any:["internal-link-present",{options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"},id:"header-present"},{options:{selector:"main, [role=main]"},id:"landmark"}],none:[]},{id:"color-contrast-enhanced",impact:"serious",matches:"color-contrast-matches",excludeHidden:!1,enabled:!1,tags:["cat.color","wcag2aaa","wcag146","ACT"],actIds:["09o5cg"],all:[],any:[{options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03},id:"color-contrast-enhanced"}],none:[]},{id:"color-contrast",impact:"serious",matches:"color-contrast-matches",excludeHidden:!1,tags:["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","ACT"],actIds:["afw4f7","09o5cg"],all:[],any:[{options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03},id:"color-contrast"}],none:[]},{id:"css-orientation-lock",impact:"serious",selector:"html",tags:["cat.structure","wcag134","wcag21aa","EN-301-549","EN-9.1.3.4","experimental"],actIds:["b33eff"],all:[{options:{degreeThreshold:2},id:"css-orientation-lock"}],any:[],none:[],preload:!0},{id:"definition-list",impact:"serious",selector:"dl",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1"],all:[],any:[],none:["structured-dlitems",{options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:!0},id:"only-dlitems"}]},{id:"dlitem",impact:"serious",selector:"dd, dt",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1"],all:[],any:["dlitem"],none:[]},{id:"document-title",impact:"serious",selector:"html",matches:"is-initiator-matches",tags:["cat.text-alternatives","wcag2a","wcag242","TTv5","TT12.a","EN-301-549","EN-9.2.4.2","ACT"],actIds:["2779a5"],all:[],any:["doc-has-title"],none:[]},{id:"duplicate-id-active",impact:"serious",selector:"[id]",matches:"duplicate-id-active-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:!1,actIds:["3ea0c8"],all:[],any:["duplicate-id-active"],none:[]},{id:"duplicate-id-aria",impact:"critical",selector:"[id]",matches:"duplicate-id-aria-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],reviewOnFail:!0,actIds:["3ea0c8"],all:[],any:["duplicate-id-aria"],none:[]},{id:"duplicate-id",impact:"minor",selector:"[id]",matches:"duplicate-id-misc-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:!1,actIds:["3ea0c8"],all:[],any:["duplicate-id"],none:[]},{id:"empty-heading",impact:"minor",selector:'h1, h2, h3, h4, h5, h6, [role="heading"]',matches:"heading-matches",tags:["cat.name-role-value","best-practice"],actIds:["ffd0e9"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"empty-table-header",impact:"minor",selector:'th:not([role]), [role="rowheader"], [role="columnheader"]',tags:["cat.name-role-value","best-practice"],all:[],any:["has-visible-text"],none:[]},{id:"focus-order-semantics",impact:"minor",selector:"div, h1, h2, h3, h4, h5, h6, [role=heading], p, span",matches:"inserted-into-focus-order-matches",tags:["cat.keyboard","best-practice","experimental"],all:[],any:[{options:[],id:"has-widget-role"},{options:{roles:["tooltip"]},id:"valid-scrollable-semantics"}],none:[]},{id:"form-field-multiple-labels",impact:"moderate",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag332","TTv5","TT5.c","EN-301-549","EN-9.3.3.2"],all:[],any:[],none:["multiple-label"]},{id:"frame-focusable-content",impact:"serious",selector:"html",matches:"frame-focusable-content-matches",tags:["cat.keyboard","wcag2a","wcag211","TTv5","TT4.a","EN-301-549","EN-9.2.1.1"],actIds:["akn7bn"],all:[],any:["frame-focusable-content"],none:[]},{id:"frame-tested",impact:"critical",selector:"html, frame, iframe",tags:["cat.structure","best-practice","review-item"],all:[{options:{isViolation:!1},id:"frame-tested"}],any:[],none:[]},{id:"frame-title-unique",impact:"serious",selector:"frame[title], iframe[title]",matches:"frame-title-has-text-matches",tags:["cat.text-alternatives","wcag2a","wcag412","TTv5","TT12.d","EN-301-549","EN-9.4.1.2"],actIds:["4b1c6c"],all:[],any:[],none:["unique-frame-title"],reviewOnFail:!0},{id:"frame-title",impact:"serious",selector:"frame, iframe",matches:"no-negative-tabindex-matches",tags:["cat.text-alternatives","wcag2a","wcag412","section508","section508.22.i","TTv5","TT12.d","EN-301-549","EN-9.4.1.2"],actIds:["cae760"],all:[],any:[{options:{attribute:"title"},id:"non-empty-title"},"aria-label","aria-labelledby","presentational-role"],none:[]},{id:"heading-order",impact:"moderate",selector:"h1, h2, h3, h4, h5, h6, [role=heading]",matches:"heading-matches",tags:["cat.semantics","best-practice"],all:[],any:["heading-order"],none:[]},{id:"hidden-content",impact:"minor",selector:"*",excludeHidden:!1,tags:["cat.structure","best-practice","experimental","review-item"],all:[],any:["hidden-content"],none:[]},{id:"html-has-lang",impact:"serious",selector:"html",matches:"is-initiator-matches",tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT"],actIds:["b5c3f8"],all:[],any:[{options:{attributes:["lang","xml:lang"]},id:"has-lang"}],none:[]},{id:"html-lang-valid",impact:"serious",selector:'html[lang]:not([lang=""]), html[xml\\:lang]:not([xml\\:lang=""])',tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT"],actIds:["bf051a"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"html-xml-lang-mismatch",impact:"moderate",selector:"html[lang][xml\\:lang]",matches:"xml-lang-mismatch-matches",tags:["cat.language","wcag2a","wcag311","EN-301-549","EN-9.3.1.1","ACT"],actIds:["5b7ae0"],all:["xml-lang-mismatch"],any:[],none:[]},{id:"identical-links-same-purpose",impact:"minor",selector:'a[href], area[href], [role="link"]',excludeHidden:!1,enabled:!1,matches:"identical-links-same-purpose-matches",tags:["cat.semantics","wcag2aaa","wcag249"],actIds:["b20e66"],all:["identical-links-same-purpose"],any:[],none:[]},{id:"image-alt",impact:"critical",selector:"img",matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","TT7.b","EN-301-549","EN-9.1.1.1","ACT"],actIds:["23a2a8"],all:[],any:["has-alt","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["alt-space-value"]},{id:"image-redundant-alt",impact:"minor",selector:"img",tags:["cat.text-alternatives","best-practice"],all:[],any:[],none:[{options:{parentSelector:"button, [role=button], a[href], p, li, td, th"},id:"duplicate-img-label"}]},{id:"input-button-name",impact:"critical",selector:'input[type="button"], input[type="submit"], input[type="reset"]',matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT"],actIds:["97a4e1"],all:[],any:["non-empty-if-present",{options:{attribute:"value"},id:"non-empty-value"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"input-image-alt",impact:"critical",selector:'input[type="image"]',matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","wcag412","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","EN-9.4.1.2","ACT"],actIds:["59796f"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label"],none:[]},{id:"label-content-name-mismatch",impact:"serious",matches:"label-content-name-mismatch-matches",tags:["cat.semantics","wcag21a","wcag253","EN-301-549","EN-9.2.5.3","experimental"],actIds:["2ee8b8"],all:[],any:[{options:{pixelThreshold:.1,occurrenceThreshold:3},id:"label-content-name-mismatch"}],none:[]},{id:"label-title-only",impact:"serious",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","best-practice"],all:[],any:[],none:["title-only"]},{id:"label",impact:"critical",selector:"input, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},{options:{attribute:"placeholder"},id:"non-empty-placeholder"},"presentational-role"],none:["hidden-explicit-label"]},{id:"landmark-banner-is-top-level",impact:"moderate",selector:"header:not([role]), [role=banner]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-complementary-is-top-level",impact:"moderate",selector:"aside:not([role]), [role=complementary]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-contentinfo-is-top-level",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-main-is-top-level",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-no-duplicate-banner",impact:"moderate",selector:"header:not([role]), [role=banner]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"header:not([role]), [role=banner]",role:"banner"},id:"page-no-duplicate-banner"}],none:[]},{id:"landmark-no-duplicate-contentinfo",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"},id:"page-no-duplicate-contentinfo"}],none:[]},{id:"landmark-no-duplicate-main",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"main:not([role]), [role='main']"},id:"page-no-duplicate-main"}],none:[]},{id:"landmark-one-main",impact:"moderate",selector:"html",tags:["cat.semantics","best-practice"],all:[{options:{selector:"main:not([role]), [role='main']",passForModal:!0},id:"page-has-main"}],any:[],none:[]},{id:"landmark-unique",impact:"moderate",selector:"[role=banner], [role=complementary], [role=contentinfo], [role=main], [role=navigation], [role=region], [role=search], [role=form], form, footer, header, aside, main, nav, section",tags:["cat.semantics","best-practice"],matches:"landmark-unique-matches",all:[],any:["landmark-is-unique"],none:[]},{id:"link-in-text-block",impact:"serious",selector:"a[href], [role=link]",matches:"link-in-text-block-matches",excludeHidden:!1,tags:["cat.color","wcag2a","wcag141","TTv5","TT13.a","EN-301-549","EN-9.1.4.1"],all:[],any:[{options:{requiredContrastRatio:3,allowSameColor:!0},id:"link-in-text-block"},"link-in-text-block-style"],none:[]},{id:"link-name",impact:"serious",selector:"a[href]",tags:["cat.name-role-value","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT"],actIds:["c487ae"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["focusable-no-name"]},{id:"list",impact:"serious",selector:"ul, ol",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1"],all:[],any:[],none:[{options:{validRoles:["listitem"],validNodeNames:["li"]},id:"only-listitems"}]},{id:"listitem",impact:"serious",selector:"li",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1"],all:[],any:["listitem"],none:[]},{id:"marquee",impact:"serious",selector:"marquee",excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag222","TTv5","TT2.b","EN-301-549","EN-9.2.2.2"],all:[],any:[],none:["is-on-screen"]},{id:"meta-refresh-no-exceptions",impact:"minor",selector:'meta[http-equiv="refresh"][content]',excludeHidden:!1,enabled:!1,tags:["cat.time-and-media","wcag2aaa","wcag224","wcag325"],actIds:["bisz58"],all:[],any:[{options:{minDelay:72e3,maxDelay:!1},id:"meta-refresh-no-exceptions"}],none:[]},{id:"meta-refresh",impact:"critical",selector:'meta[http-equiv="refresh"][content]',excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag221","TTv5","TT8.a","EN-301-549","EN-9.2.2.1"],actIds:["bc659a","bisz58"],all:[],any:[{options:{minDelay:0,maxDelay:72e3},id:"meta-refresh"}],none:[]},{id:"meta-viewport-large",impact:"minor",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:!1,tags:["cat.sensory-and-visual-cues","best-practice"],all:[],any:[{options:{scaleMinimum:5,lowerBound:2},id:"meta-viewport-large"}],none:[]},{id:"meta-viewport",impact:"critical",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:!1,tags:["cat.sensory-and-visual-cues","wcag2aa","wcag144","EN-301-549","EN-9.1.4.4","ACT"],actIds:["b4f0c3"],all:[],any:[{options:{scaleMinimum:2},id:"meta-viewport"}],none:[]},{id:"nested-interactive",impact:"serious",matches:"nested-interactive-matches",tags:["cat.keyboard","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2"],actIds:["307n5z"],all:[],any:["no-focusable-content"],none:[]},{id:"no-autoplay-audio",impact:"moderate",excludeHidden:!1,selector:"audio[autoplay], video[autoplay]",matches:"no-autoplay-audio-matches",reviewOnFail:!0,tags:["cat.time-and-media","wcag2a","wcag142","TTv5","TT2.a","EN-301-549","EN-9.1.4.2","ACT"],actIds:["80f0bf"],preload:!0,all:[{options:{allowedDuration:3},id:"no-autoplay-audio"}],any:[],none:[]},{id:"object-alt",impact:"serious",selector:"object[data]",matches:"object-is-loaded-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","EN-301-549","EN-9.1.1.1"],actIds:["8fc3b6"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"p-as-heading",impact:"serious",selector:"p",matches:"p-as-heading-matches",tags:["cat.semantics","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","experimental"],all:[{options:{margins:[{weight:150,italic:!0},{weight:150,size:1.15},{italic:!0,size:1.15},{size:1.4}],passLength:1,failLength:.5},id:"p-as-heading"}],any:[],none:[]},{id:"page-has-heading-one",impact:"moderate",selector:"html",tags:["cat.semantics","best-practice"],all:[{options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:!0},id:"page-has-heading-one"}],any:[],none:[]},{id:"presentation-role-conflict",impact:"minor",selector:'img[alt=\'\'], [role="none"], [role="presentation"]',matches:"has-implicit-chromium-role-matches",tags:["cat.aria","best-practice","ACT"],actIds:["46ca7f"],all:[],any:[],none:["is-element-focusable","has-global-aria-attribute"]},{id:"region",impact:"moderate",selector:"body *",tags:["cat.keyboard","best-practice"],all:[],any:[{options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"},id:"region"}],none:[]},{id:"role-img-alt",impact:"serious",selector:"[role='img']:not(img, area, input, object)",matches:"html-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT"],actIds:["23a2a8"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"scope-attr-valid",impact:"moderate",selector:"td[scope], th[scope]",tags:["cat.tables","best-practice"],all:["html5-scope",{options:{values:["row","col","rowgroup","colgroup"]},id:"scope-value"}],any:[],none:[]},{id:"scrollable-region-focusable",impact:"serious",selector:"*:not(select,textarea)",matches:"scrollable-region-focusable-matches",tags:["cat.keyboard","wcag2a","wcag211","wcag213","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","EN-9.2.1.3"],actIds:["0ssw9k"],all:[],any:["focusable-content","focusable-element"],none:[]},{id:"select-name",impact:"critical",selector:"select",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["hidden-explicit-label"]},{id:"server-side-image-map",impact:"minor",selector:"img[ismap]",tags:["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f","TTv5","TT4.a","EN-301-549","EN-9.2.1.1"],all:[],any:[],none:["exists"]},{id:"skip-link",impact:"moderate",selector:'a[href^="#"], a[href^="/#"]',matches:"skip-link-matches",tags:["cat.keyboard","best-practice"],all:[],any:["skip-link"],none:[]},{id:"summary-name",impact:"serious",selector:"summary",matches:"summary-interactive-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"svg-img-alt",impact:"serious",selector:'[role="img"], [role="graphics-symbol"], svg[role="graphics-document"]',matches:"svg-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT"],actIds:["7d6734"],all:[],any:["svg-non-empty-title","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"tabindex",impact:"serious",selector:"[tabindex]",tags:["cat.keyboard","best-practice"],all:[],any:["tabindex"],none:[]},{id:"table-duplicate-name",impact:"minor",selector:"table",tags:["cat.tables","best-practice"],all:[],any:[],none:["same-caption-summary"]},{id:"table-fake-caption",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","EN-301-549","EN-9.1.3.1"],all:["caption-faked"],any:[],none:[]},{id:"target-size",impact:"serious",selector:"*",enabled:!1,matches:"widget-not-inline-matches",tags:["cat.sensory-and-visual-cues","wcag22aa","wcag258"],all:[],any:[{options:{minSize:24},id:"target-size"},{options:{minOffset:24},id:"target-offset"}],none:[]},{id:"td-has-header",impact:"critical",selector:"table",matches:"data-table-large-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1"],all:["td-has-header"],any:[],none:[]},{id:"td-headers-attr",impact:"serious",selector:"table",matches:"table-or-grid-role-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1"],actIds:["a25f45"],all:["td-headers-attr"],any:[],none:[]},{id:"th-has-data-cells",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1"],actIds:["d0f69e"],all:["th-has-data-cells"],any:[],none:[]},{id:"valid-lang",impact:"serious",selector:"[lang]:not(html), [xml\\:lang]:not(html)",tags:["cat.language","wcag2aa","wcag312","TTv5","TT11.b","EN-301-549","EN-9.3.1.2","ACT"],actIds:["de46e4"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"video-caption",impact:"critical",selector:"video",tags:["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a","TTv5","TT17.a","EN-301-549","EN-9.1.2.2"],actIds:["eac66b"],all:[],any:[],none:["caption"]}],checks:[{id:"abstractrole",evaluate:"abstractrole-evaluate"},{id:"aria-allowed-attr",evaluate:"aria-allowed-attr-evaluate",options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-allowed-role",evaluate:"aria-allowed-role-evaluate",options:{allowImplicit:!0,ignoredTags:[]}},{id:"aria-busy",evaluate:"aria-busy-evaluate",deprecated:!0},{id:"aria-conditional-attr",evaluate:"aria-conditional-attr-evaluate",options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-errormessage",evaluate:"aria-errormessage-evaluate"},{id:"aria-hidden-body",evaluate:"aria-hidden-body-evaluate"},{id:"aria-level",evaluate:"aria-level-evaluate"},{id:"aria-prohibited-attr",evaluate:"aria-prohibited-attr-evaluate",options:{elementsAllowedAriaLabel:["applet","input"]}},{id:"aria-required-attr",evaluate:"aria-required-attr-evaluate"},{id:"aria-required-children",evaluate:"aria-required-children-evaluate",options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]}},{id:"aria-required-parent",evaluate:"aria-required-parent-evaluate",options:{ownGroupRoles:["listitem","treeitem"]}},{id:"aria-roledescription",evaluate:"aria-roledescription-evaluate",options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]}},{id:"aria-unsupported-attr",evaluate:"aria-unsupported-attr-evaluate"},{id:"aria-valid-attr-value",evaluate:"aria-valid-attr-value-evaluate",options:[]},{id:"aria-valid-attr",evaluate:"aria-valid-attr-evaluate",options:[]},{id:"braille-label-equivalent",evaluate:"braille-label-equivalent-evaluate"},{id:"braille-roledescription-equivalent",evaluate:"braille-roledescription-equivalent-evaluate"},{id:"deprecatedrole",evaluate:"deprecatedrole-evaluate"},{id:"fallbackrole",evaluate:"fallbackrole-evaluate"},{id:"has-global-aria-attribute",evaluate:"has-global-aria-attribute-evaluate"},{id:"has-widget-role",evaluate:"has-widget-role-evaluate",options:[]},{id:"invalidrole",evaluate:"invalidrole-evaluate"},{id:"is-element-focusable",evaluate:"is-element-focusable-evaluate"},{id:"no-implicit-explicit-label",evaluate:"no-implicit-explicit-label-evaluate"},{id:"unsupportedrole",evaluate:"unsupportedrole-evaluate"},{id:"valid-scrollable-semantics",evaluate:"valid-scrollable-semantics-evaluate",options:{roles:["tooltip"]}},{id:"color-contrast-enhanced",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03}},{id:"color-contrast",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03}},{id:"link-in-text-block-style",evaluate:"link-in-text-block-style-evaluate"},{id:"link-in-text-block",evaluate:"link-in-text-block-evaluate",options:{requiredContrastRatio:3,allowSameColor:!0}},{id:"autocomplete-appropriate",evaluate:"autocomplete-appropriate-evaluate",deprecated:!0},{id:"autocomplete-valid",evaluate:"autocomplete-valid-evaluate",options:{stateTerms:["none","false","true","disabled","enabled","undefined","null"],ignoredValues:["text","pronouns","gender","message","content"]}},{id:"accesskeys",evaluate:"accesskeys-evaluate",after:"accesskeys-after"},{id:"focusable-content",evaluate:"focusable-content-evaluate"},{id:"focusable-disabled",evaluate:"focusable-disabled-evaluate"},{id:"focusable-element",evaluate:"focusable-element-evaluate"},{id:"focusable-modal-open",evaluate:"focusable-modal-open-evaluate"},{id:"focusable-no-name",evaluate:"focusable-no-name-evaluate"},{id:"focusable-not-tabbable",evaluate:"focusable-not-tabbable-evaluate"},{id:"frame-focusable-content",evaluate:"frame-focusable-content-evaluate"},{id:"landmark-is-top-level",evaluate:"landmark-is-top-level-evaluate"},{id:"no-focusable-content",evaluate:"no-focusable-content-evaluate"},{id:"page-has-heading-one",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:!0}},{id:"page-has-main",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"main:not([role]), [role='main']",passForModal:!0}},{id:"page-no-duplicate-banner",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"header:not([role]), [role=banner]",role:"banner"}},{id:"page-no-duplicate-contentinfo",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"}},{id:"page-no-duplicate-main",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"main:not([role]), [role='main']"}},{id:"tabindex",evaluate:"tabindex-evaluate"},{id:"alt-space-value",evaluate:"alt-space-value-evaluate"},{id:"duplicate-img-label",evaluate:"duplicate-img-label-evaluate",options:{parentSelector:"button, [role=button], a[href], p, li, td, th"}},{id:"explicit-label",evaluate:"explicit-evaluate"},{id:"help-same-as-label",evaluate:"help-same-as-label-evaluate"},{id:"hidden-explicit-label",evaluate:"hidden-explicit-label-evaluate"},{id:"implicit-label",evaluate:"implicit-evaluate"},{id:"label-content-name-mismatch",evaluate:"label-content-name-mismatch-evaluate",options:{pixelThreshold:.1,occurrenceThreshold:3}},{id:"multiple-label",evaluate:"multiple-label-evaluate"},{id:"title-only",evaluate:"title-only-evaluate"},{id:"landmark-is-unique",evaluate:"landmark-is-unique-evaluate",after:"landmark-is-unique-after"},{id:"has-lang",evaluate:"has-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"valid-lang",evaluate:"valid-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"xml-lang-mismatch",evaluate:"xml-lang-mismatch-evaluate"},{id:"dlitem",evaluate:"dlitem-evaluate"},{id:"listitem",evaluate:"listitem-evaluate"},{id:"only-dlitems",evaluate:"invalid-children-evaluate",options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:!0}},{id:"only-listitems",evaluate:"invalid-children-evaluate",options:{validRoles:["listitem"],validNodeNames:["li"]}},{id:"structured-dlitems",evaluate:"structured-dlitems-evaluate"},{id:"caption",evaluate:"caption-evaluate"},{id:"frame-tested",evaluate:"frame-tested-evaluate",after:"frame-tested-after",options:{isViolation:!1}},{id:"no-autoplay-audio",evaluate:"no-autoplay-audio-evaluate",options:{allowedDuration:3}},{id:"css-orientation-lock",evaluate:"css-orientation-lock-evaluate",options:{degreeThreshold:2}},{id:"meta-viewport-large",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:5,lowerBound:2}},{id:"meta-viewport",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:2}},{id:"target-offset",evaluate:"target-offset-evaluate",options:{minOffset:24}},{id:"target-size",evaluate:"target-size-evaluate",options:{minSize:24}},{id:"header-present",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"}},{id:"heading-order",evaluate:"heading-order-evaluate",after:"heading-order-after"},{id:"identical-links-same-purpose",evaluate:"identical-links-same-purpose-evaluate",after:"identical-links-same-purpose-after"},{id:"internal-link-present",evaluate:"internal-link-present-evaluate"},{id:"landmark",evaluate:"has-descendant-evaluate",options:{selector:"main, [role=main]"}},{id:"meta-refresh-no-exceptions",evaluate:"meta-refresh-evaluate",options:{minDelay:72e3,maxDelay:!1}},{id:"meta-refresh",evaluate:"meta-refresh-evaluate",options:{minDelay:0,maxDelay:72e3}},{id:"p-as-heading",evaluate:"p-as-heading-evaluate",options:{margins:[{weight:150,italic:!0},{weight:150,size:1.15},{italic:!0,size:1.15},{size:1.4}],passLength:1,failLength:.5}},{id:"region",evaluate:"region-evaluate",after:"region-after",options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"}},{id:"skip-link",evaluate:"skip-link-evaluate"},{id:"unique-frame-title",evaluate:"unique-frame-title-evaluate",after:"unique-frame-title-after"},{id:"duplicate-id-active",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id-aria",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"aria-label",evaluate:"aria-label-evaluate"},{id:"aria-labelledby",evaluate:"aria-labelledby-evaluate"},{id:"avoid-inline-spacing",evaluate:"avoid-inline-spacing-evaluate",options:{cssProperties:["line-height","letter-spacing","word-spacing"]}},{id:"button-has-visible-text",evaluate:"has-text-content-evaluate"},{id:"doc-has-title",evaluate:"doc-has-title-evaluate"},{id:"exists",evaluate:"exists-evaluate"},{id:"has-alt",evaluate:"has-alt-evaluate"},{id:"has-visible-text",evaluate:"has-text-content-evaluate"},{id:"important-letter-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"letter-spacing",minValue:.12}},{id:"important-line-height",evaluate:"inline-style-property-evaluate",options:{multiLineOnly:!0,cssProperty:"line-height",minValue:1.5,normalValue:1}},{id:"important-word-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"word-spacing",minValue:.16}},{id:"is-on-screen",evaluate:"is-on-screen-evaluate"},{id:"non-empty-alt",evaluate:"attr-non-space-content-evaluate",options:{attribute:"alt"}},{id:"non-empty-if-present",evaluate:"non-empty-if-present-evaluate"},{id:"non-empty-placeholder",evaluate:"attr-non-space-content-evaluate",options:{attribute:"placeholder"}},{id:"non-empty-title",evaluate:"attr-non-space-content-evaluate",options:{attribute:"title"}},{id:"non-empty-value",evaluate:"attr-non-space-content-evaluate",options:{attribute:"value"}},{id:"presentational-role",evaluate:"presentational-role-evaluate"},{id:"role-none",evaluate:"matches-definition-evaluate",deprecated:!0,options:{matcher:{attributes:{role:"none"}}}},{id:"role-presentation",evaluate:"matches-definition-evaluate",deprecated:!0,options:{matcher:{attributes:{role:"presentation"}}}},{id:"svg-non-empty-title",evaluate:"svg-non-empty-title-evaluate"},{id:"caption-faked",evaluate:"caption-faked-evaluate"},{id:"html5-scope",evaluate:"html5-scope-evaluate"},{id:"same-caption-summary",evaluate:"same-caption-summary-evaluate"},{id:"scope-value",evaluate:"scope-value-evaluate",options:{values:["row","col","rowgroup","colgroup"]}},{id:"td-has-header",evaluate:"td-has-header-evaluate"},{id:"td-headers-attr",evaluate:"td-headers-attr-evaluate"},{id:"th-has-data-cells",evaluate:"th-has-data-cells-evaluate"},{id:"hidden-content",evaluate:"hidden-content-evaluate"}]})}("object"==typeof window?window:this)}},r={};function n(e){var a=r[e];if(void 0!==a)return a.exports;var o=r[e]={id:e,loaded:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.m=t,e=[],n.O=(t,r,a,o)=>{if(!r){var i=1/0;for(c=0;c<e.length;c++){for(var[r,a,o]=e[c],u=!0,s=0;s<r.length;s++)(!1&o||i>=o)&&Object.keys(n.O).every(e=>n.O[e](r[s]))?r.splice(s--,1):(u=!1,o<i&&(i=o));if(u){e.splice(c--,1);var l=a();void 0!==l&&(t=l)}}return t}o=o||0;for(var c=e.length;c>0&&e[c-1][2]>o;c--)e[c]=e[c-1];e[c]=[r,a,o]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.j=114,(()=>{var e={114:0};n.O.j=t=>0===e[t];var t=(t,r)=>{var a,o,[i,u,s]=r,l=0;if(i.some(t=>0!==e[t])){for(a in u)n.o(u,a)&&(n.m[a]=u[a]);if(s)var c=s(n)}for(t&&t(r);l<i.length;l++)o=i[l],n.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return n.O(c)},r=globalThis.webpackChunkwagtail=globalThis.webpackChunkwagtail||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var a=n.O(void 0,[321],()=>n(5169));a=n.O(a)})();
2
+ (()=>{var e,t={1669:e=>{"use strict";e.exports=jQuery},7210:(e,t,r)=>{"use strict";var n=r(2891),a=r(1003),o=r.n(a),i=r(2427),s=r.n(i),l=r(1238),u=r(5996),c=r(5556),d=r.n(c);d().shape({live:d().bool.isRequired,status:d().string.isRequired}).isRequired;var p=r(862),h=r.n(p);const f=({name:e,component:t,className:r,duration:n,children:a})=>s().createElement(h(),{component:t,transitionEnterTimeout:n,transitionLeaveTimeout:n,transitionName:`w-transition-${e}`,className:r},a);f.propTypes={name:d().oneOf(["push","pop"]).isRequired,component:d().string,className:d().string,duration:d().number,children:d().node},f.defaultProps={component:"div",children:null,className:null,duration:210};var m=r(1669),g=r.n(m);class v{constructor(e,t={},r=!0){this.opts=t;const n=g()("#"+e+"-ADD");this.formContainer=g()("#"+e+"-FORMS"),this.totalFormsInput=g()("#"+e+"-TOTAL_FORMS");const a=document.getElementById(e+"-EMPTY_FORM_TEMPLATE");if(this.emptyFormTemplate=a.innerHTML,r){if(t.onInit)for(let e=0;e<this.formCount;e+=1)t.onInit(e);n.on("click",()=>{this.addForm()})}}get formCount(){return parseInt(this.totalFormsInput.val(),10)}addForm(e={}){const t=this.formCount,r=this.emptyFormTemplate.replace(/__prefix__(.*?('|"|\\u0022))/g,t+"$1");this.formContainer.append(r),this.totalFormsInput.val(this.formCount+1),"runCallbacks"in e&&!e.runCallbacks||(this.opts.onAdd&&this.opts.onAdd(t),this.opts.onInit&&this.opts.onInit(t))}}var b=r(2898);class y extends n.Controller{static values={continue:{type:Boolean,default:!1},url:String};click(){this.element.click()}noop(){}createFormElement(){const e=document.createElement("form");e.action=this.urlValue,e.method="POST";const t=document.createElement("input");if(t.type="hidden",t.name="csrfmiddlewaretoken",t.value=b.HE.CSRF_TOKEN,e.appendChild(t),!this.continueValue){const t=document.createElement("input");t.type="hidden",t.name="next",t.value=window.location.href,e.appendChild(t)}return e}post(e){e.preventDefault(),e.stopPropagation();const t=this.createFormElement();document.body.appendChild(t),t.submit()}sendBeacon(){navigator.sendBeacon(this.urlValue,new FormData(this.createFormElement()))}reload(){window.location.reload()}forceReload(){window.addEventListener("w-unsaved:confirm",e=>{e.preventDefault()},{once:!0}),window.location.reload()}redirect(e){const t=e?.params?.url??e?.detail?.url??this.element.value;t&&window.location.assign(t)}reset(e){const t=this.element,r=t.value,{value:n=""}={value:t instanceof HTMLInputElement?t.defaultValue:"",...e?.params,...e?.detail};r!==n&&(t.value=n,this.dispatch("change",{bubbles:!0,cancelable:!1,prefix:"",target:t}))}select(){const e=this.element;e&&(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement)&&e.select()}}var w,D,E,x=r(2833),A=r(8667);!function(e){e.INVALID_REVISION="invalid_revision",e.LOCKED="locked",e.VALIDATION_ERROR="validation_error"}(w||(w={})),function(e){e.BLOCKED_BY_HOOK="blocked_by_hook",e.INTERNAL_ERROR="internal_error"}(D||(D={})),function(e){e.NETWORK_ERROR="network_error",e.SERVER_ERROR="server_error"}(E||(E={}));class C extends Error{code;constructor(e,...t){super(...t),this.name="HydrationError",this.code=e}}class F extends n.Controller{static targets=["partials"];static values={active:{type:Boolean,default:!0},interval:{type:Number,default:500},revisionId:{type:Number,default:0},state:{type:String,default:"idle"}};initialize(){this.submit=this.submit.bind(this)}async save(e){if(!(this.activeValue&&this.element instanceof HTMLFormElement))return;const t=new FormData(this.element);this.revisionIdValue&&t.set("overwrite_revision_id",`${this.revisionIdValue}`),this.submit(this.dispatch("save",{cancelable:!0,detail:{formData:t,trigger:e}}))}submit=async({defaultPrevented:e,detail:{formData:t,trigger:r}})=>{if(e)return;const n=this.element,a={method:n.method,body:t,headers:{Accept:"application/json",[b.HE.CSRF_HEADER_NAME]:b.HE.CSRF_TOKEN}};let o=null,i=null;try{if(o=await fetch(n.action,a),i=await o.json(),!i.success)throw new Error(i.error_message||"Unknown error");if(i.revision_id&&(this.revisionIdValue=i.revision_id),i.field_updates)for(const[e,t]of Object.entries(i.field_updates)){const r=n.elements.namedItem(e);r&&(r.value=t)}i.url&&(n.action=i.url,window.history.replaceState(null,"",i.url)),i.hydrate_url&&await this.hydrate(this.dispatch("hydrate",{detail:{url:i.hydrate_url,trigger:r}})),this.hasPartialsTarget&&i.html&&(this.partialsTarget.innerHTML=i.html),requestAnimationFrame(()=>this.dispatch("success",{cancelable:!1,detail:{response:i,data:i,trigger:r}}))}catch(e){let t,n;!o||e instanceof C&&e.code===E.NETWORK_ERROR?(t=E.NETWORK_ERROR,n=(0,x.AP)("A network error occurred.")):!i||e instanceof C&&e.code===E.SERVER_ERROR||!("error_code"in i)||(s=i?.error_code,!Object.values(w).includes(s))?(t=E.SERVER_ERROR,n=(0,x.AP)("A server error occurred.")):(t=i.error_code,n=i.error_message),(t===w.INVALID_REVISION||e instanceof C)&&(this.activeValue=!1,this.dispatch("deactivated",{cancelable:!1,detail:{response:i,error:e,trigger:r}})),this.dispatch("error",{cancelable:!1,detail:{response:i,error:e,trigger:r,text:n,type:t}})}var s};async hydrate(e){const{url:t}=e.detail;return fetch(t).catch(e=>{throw new C(E.NETWORK_ERROR,"Network error during hydration.",{cause:e})}).then(e=>{if(!e.ok)throw new C(E.SERVER_ERROR,"Server error during hydration.");return e.text()}).then(e=>{this.hasPartialsTarget&&(this.partialsTarget.innerHTML=e)}).catch(e=>{throw new C(E.SERVER_ERROR,"Error during hydration.",{cause:e})})}intervalValueChanged(e){"restore"in this.submit&&(this.submit=this.submit.restore()),this.submit=(0,A.s)(this.submit,e)}updateIndicator(e){let t="";switch(e.type){case`${this.identifier}:save`:this.stateValue="saving",t=(0,x.AP)("Autosave in progress…");break;case`${this.identifier}:success`:this.stateValue="saved",t=(0,x.AP)("Changes have been autosaved.");break;case`${this.identifier}:error`:this.stateValue="paused",t=e.detail.text;break;default:this.stateValue="idle"}this.element.setAttribute("data-w-tooltip-content-value",t)}}var T=new Map;function k(e){var t=T.get(e);t&&t.destroy()}function R(e){var t=T.get(e);t&&t.update()}var N=null;"undefined"==typeof window?((N=function(e){return e}).destroy=function(e){return e},N.update=function(e){return e}):((N=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return function(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!T.has(e)){var t,r=null,n=window.getComputedStyle(e),a=(t=e.value,function(){i({testForHeightReduction:""===t||!e.value.startsWith(t),restoreTextAlign:null}),t=e.value}),o=function(t){e.removeEventListener("autosize:destroy",o),e.removeEventListener("autosize:update",s),e.removeEventListener("input",a),window.removeEventListener("resize",s),Object.keys(t).forEach(function(r){return e.style[r]=t[r]}),T.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,textAlign:e.style.textAlign,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",o),e.addEventListener("autosize:update",s),e.addEventListener("input",a),window.addEventListener("resize",s),e.style.overflowX="hidden",e.style.wordWrap="break-word",T.set(e,{destroy:o,update:s}),s()}function i(t){var a,o,s=t.restoreTextAlign,l=void 0===s?null:s,u=t.testForHeightReduction,c=void 0===u||u,d=n.overflowY;if(0!==e.scrollHeight&&("vertical"===n.resize?e.style.resize="none":"both"===n.resize&&(e.style.resize="horizontal"),c&&(a=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push([e.parentNode,e.parentNode.scrollTop]),e=e.parentNode;return function(){return t.forEach(function(e){var t=e[0],r=e[1];t.style.scrollBehavior="auto",t.scrollTop=r,t.style.scrollBehavior=null})}}(e),e.style.height=""),o="content-box"===n.boxSizing?e.scrollHeight-(parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)):e.scrollHeight+parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth),"none"!==n.maxHeight&&o>parseFloat(n.maxHeight)?("hidden"===n.overflowY&&(e.style.overflow="scroll"),o=parseFloat(n.maxHeight)):"hidden"!==n.overflowY&&(e.style.overflow="hidden"),e.style.height=o+"px",l&&(e.style.textAlign=l),a&&a(),r!==o&&(e.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),r=o),d!==n.overflow&&!l)){var p=n.textAlign;"hidden"===n.overflow&&(e.style.textAlign="start"===p?"end":"start"),i({restoreTextAlign:p,testForHeightReduction:!0})}}function s(){i({testForHeightReduction:!0,restoreTextAlign:null})}}(e)}),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],k),e},N.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],R),e});const S=N;class _ extends n.Controller{resizeObserver;resize(){S.update(this.element)}initialize(){this.resize=(0,A.s)(this.resize.bind(this),50)}connect(){S(this.element),this.resizeObserver=new ResizeObserver(this.resize),this.resizeObserver.observe(this.element)}disconnect(){this.resizeObserver?.disconnect(),S.destroy(this.element)}}class O extends n.Controller{static values={arguments:{type:Array,default:[]},data:{type:Object,default:{}}};connect(){const e=window.telepath;if(!e)throw new Error("`window.telepath` is not available.");const t=this.element,r=t.id;if(!r)throw new Error("Controlled element needs an id attribute.");const n=e.unpack(this.dataValue),a=n.render(t,r,...this.argumentsValue);a.element.id=`${r}-root`,a.element.rootBlock=a,this.dispatch("ready",{detail:{...n},cancelable:!1})}}class P extends n.Controller{static classes=["actionInactive"];static targets=["action","all","item"];lastChanged;shiftActive;connect(){this.toggle(),this.handleShiftKey=this.handleShiftKey.bind(this),document.addEventListener("keydown",this.handleShiftKey),document.addEventListener("keyup",this.handleShiftKey)}getValidTargets(e=null,t=this.itemTargets,r=`data-${this.identifier}-group-param`){const n=t.filter(({disabled:e})=>!e);if(!e)return n;const a=e.split(" ");return n.filter(e=>{const t=new Set((e.getAttribute(r)||"").split(" "));return a.some(t.has.bind(t))})}handleShiftKey(e){if(!e)return;const{shiftKey:t,type:r}=e;"keydown"===r&&t&&(this.shiftActive=!0),"keyup"===r&&this.shiftActive&&(this.shiftActive=!1)}toggle(e){const{group:t=null}={...e?.detail,...e?.params},r=this.getValidTargets(t),n=this.lastChanged;if(this.shiftActive&&n instanceof HTMLElement){this.shiftActive=!1;const t=r.findIndex(e=>e===n);if(-1===t)return;const a=r.findIndex(t=>t===e?.target),[o,i]=[t,a].sort((e,t)=>e-t);r.forEach((e,n)=>{n>=o&&n<=i&&(e.checked=!!r[t].checked,this.dispatch("change",{target:e,bubbles:!0}))})}this.lastChanged=r.find(t=>t.contains(e?.target))??null;const a=r.filter(e=>e.checked).length,o=a>0,i=a===r.length;this.getValidTargets(t,this.allTargets).forEach(e=>{e.checked=i});const s=this.actionInactiveClasses;s.length&&this.actionTargets.forEach(e=>{s.forEach(t=>{e.classList.toggle(t,!o)})})}toggleAll(e){const{force:t=null,group:r=null}={...e.detail,...e.params};this.lastChanged=null;let n=!1;if("boolean"==typeof t)n=t;else if(e.target instanceof HTMLInputElement)n=e.target.checked;else{const e=this.allTargets[0];n=!e?.checked}this.getValidTargets(r).forEach(e=>{e.checked!==n&&(e.checked=n,e.dispatchEvent(new Event("change",{bubbles:!0})))}),this.toggle(e)}disconnect(){document?.removeEventListener("keydown",this.handleShiftKey),document?.removeEventListener("keyup",this.handleShiftKey)}}const I=(...e)=>e.flat(1),M=JSON.parse('[{"LATIN_MAP:und":[["À","A"],["Á","A"],["Â","A"],["Ã","A"],["Ä","A"],["Å","A"],["Æ","AE"],["Ç","C"],["È","E"],["É","E"],["Ê","E"],["Ë","E"],["Ì","I"],["Í","I"],["Î","I"],["Ï","I"],["Ð","D"],["Ñ","N"],["Ò","O"],["Ó","O"],["Ô","O"],["Õ","O"],["Ö","O"],["Ő","O"],["Ø","O"],["Ù","U"],["Ú","U"],["Û","U"],["Ü","U"],["Ű","U"],["Ý","Y"],["Þ","TH"],["Ÿ","Y"],["ß","ss"],["à","a"],["á","a"],["â","a"],["ã","a"],["ä","a"],["å","a"],["æ","ae"],["ç","c"],["è","e"],["é","e"],["ê","e"],["ë","e"],["ì","i"],["í","i"],["î","i"],["ï","i"],["ð","d"],["ñ","n"],["ò","o"],["ó","o"],["ô","o"],["õ","o"],["ö","o"],["ő","o"],["ø","o"],["ù","u"],["ú","u"],["û","u"],["ü","u"],["ű","u"],["ý","y"],["þ","th"],["ÿ","y"]]},{"LATIN_SYMBOLS_MAP":[["©","(c)"]]},{"GREEK_MAP:el":[["α","a"],["β","b"],["γ","g"],["δ","d"],["ε","e"],["ζ","z"],["η","h"],["θ","8"],["ι","i"],["κ","k"],["λ","l"],["μ","m"],["ν","n"],["ξ","3"],["ο","o"],["π","p"],["ρ","r"],["σ","s"],["τ","t"],["υ","y"],["φ","f"],["χ","x"],["ψ","ps"],["ω","w"],["ά","a"],["έ","e"],["ί","i"],["ό","o"],["ύ","y"],["ή","h"],["ώ","w"],["ς","s"],["ϊ","i"],["ΰ","y"],["ϋ","y"],["ΐ","i"],["Α","A"],["Β","B"],["Γ","G"],["Δ","D"],["Ε","E"],["Ζ","Z"],["Η","H"],["Θ","8"],["Ι","I"],["Κ","K"],["Λ","L"],["Μ","M"],["Ν","N"],["Ξ","3"],["Ο","O"],["Π","P"],["Ρ","R"],["Σ","S"],["Τ","T"],["Υ","Y"],["Φ","F"],["Χ","X"],["Ψ","PS"],["Ω","W"],["Ά","A"],["Έ","E"],["Ί","I"],["Ό","O"],["Ύ","Y"],["Ή","H"],["Ώ","W"],["Ϊ","I"],["Ϋ","Y"]]},{"TURKISH_MAP:tr":[["ş","s"],["Ş","S"],["ı","i"],["İ","I"],["ç","c"],["Ç","C"],["ü","u"],["Ü","U"],["ö","o"],["Ö","O"],["ğ","g"],["Ğ","G"]]},{"ROMANIAN_MAP:ro":[["ă","a"],["î","i"],["ș","s"],["ț","t"],["â","a"],["Ă","A"],["Î","I"],["Ș","S"],["Ț","T"],["Â","A"]]},{"RUSSIAN_MAP:ru":[["а","a"],["б","b"],["в","v"],["г","g"],["д","d"],["е","e"],["ё","yo"],["ж","zh"],["з","z"],["и","i"],["й","j"],["к","k"],["л","l"],["м","m"],["н","n"],["о","o"],["п","p"],["р","r"],["с","s"],["т","t"],["у","u"],["ф","f"],["х","x"],["ц","c"],["ч","ch"],["ш","sh"],["щ","shh"],["ъ",""],["ы","y"],["ь",""],["э","e"],["ю","yu"],["я","ya"],["А","A"],["Б","B"],["В","V"],["Г","G"],["Д","D"],["Е","E"],["Ё","Yo"],["Ж","Zh"],["З","Z"],["И","I"],["Й","J"],["К","K"],["Л","L"],["М","M"],["Н","N"],["О","O"],["П","P"],["Р","R"],["С","S"],["Т","T"],["У","U"],["Ф","F"],["Х","X"],["Ц","C"],["Ч","Ch"],["Ш","Sh"],["Щ","Shh"],["Ъ",""],["Ы","Y"],["Ь",""],["Э","E"],["Ю","Yu"],["Я","Ya"]]},{"UKRAINIAN_MAP:uk":[["Є","Ye"],["І","I"],["Ї","Yi"],["Ґ","G"],["є","ye"],["і","i"],["ї","yi"],["ґ","g"],["Г","H"],["г","h"],["И","Y"],["и","y"],["Й","Y"],["й","i"],["Х","Kh"],["х","kh"],["Ц","Ts"],["ц","ts"],["Щ","Shch"],["щ","shch"]]},{"BELARUSIAN_MAP:be":[["а","a"],["б","b"],["в","v"],["г","g"],["д","d"],["е","je"],["ё","jo"],["ж","zh"],["з","z"],["і","i"],["й","j"],["к","k"],["л","l"],["м","m"],["н","n"],["о","o"],["п","p"],["р","r"],["с","s"],["т","t"],["у","u"],["ў","w"],["ф","f"],["х","h"],["ц","c"],["ч","ch"],["ш","sh"],["ы","y"],["ь",""],["э","e"],["ю","ju"],["я","ja"],["А","A"],["Б","B"],["В","V"],["Г","G"],["Д","D"],["Е","Je"],["Ё","Jo"],["Ж","Zh"],["З","Z"],["І","I"],["Й","J"],["К","K"],["Л","L"],["М","M"],["Н","N"],["О","O"],["П","P"],["Р","R"],["С","S"],["Т","T"],["У","U"],["Ў","W"],["Ф","F"],["Х","H"],["Ц","C"],["Ч","Ch"],["Ш","Sh"],["Ъ",""],["Ы","Y"],["Э","E"],["Ю","Ju"],["Я","Ja"]]},{"CZECH_MAP:cs":[["č","c"],["ď","d"],["ě","e"],["ň","n"],["ř","r"],["š","s"],["ť","t"],["ů","u"],["ž","z"],["Č","C"],["Ď","D"],["Ě","E"],["Ň","N"],["Ř","R"],["Š","S"],["Ť","T"],["Ů","U"],["Ž","Z"]]},{"SLOVAK_MAP:sk":[["á","a"],["ä","a"],["č","c"],["ď","d"],["é","e"],["í","i"],["ľ","l"],["ĺ","l"],["ň","n"],["ó","o"],["ô","o"],["ŕ","r"],["š","s"],["ť","t"],["ú","u"],["ý","y"],["ž","z"],["Á","a"],["Ä","A"],["Č","C"],["Ď","D"],["É","E"],["Í","I"],["Ľ","L"],["Ĺ","L"],["Ň","N"],["Ó","O"],["Ô","O"],["Ŕ","R"],["Š","S"],["Ť","T"],["Ú","U"],["Ý","Y"],["Ž","Z"]]},{"POLISH_MAP:pl":[["ą","a"],["ć","c"],["ę","e"],["ł","l"],["ń","n"],["ó","o"],["ś","s"],["ź","z"],["ż","z"],["Ą","A"],["Ć","C"],["Ę","E"],["Ł","L"],["Ń","N"],["Ó","O"],["Ś","S"],["Ź","Z"],["Ż","Z"]]},{"LATVIAN_MAP:lv":[["ā","a"],["č","c"],["ē","e"],["ģ","g"],["ī","i"],["ķ","k"],["ļ","l"],["ņ","n"],["š","s"],["ū","u"],["ž","z"],["Ā","A"],["Č","C"],["Ē","E"],["Ģ","G"],["Ī","I"],["Ķ","K"],["Ļ","L"],["Ņ","N"],["Š","S"],["Ū","U"],["Ž","Z"]]},{"ARABIC_MAP:ar":[["أ","a"],["ب","b"],["ت","t"],["ث","th"],["ج","g"],["ح","h"],["خ","kh"],["د","d"],["ذ","th"],["ر","r"],["ز","z"],["س","s"],["ش","sh"],["ص","s"],["ض","d"],["ط","t"],["ظ","th"],["ع","aa"],["غ","gh"],["ف","f"],["ق","k"],["ك","k"],["ل","l"],["م","m"],["ن","n"],["ه","h"],["و","o"],["ي","y"]]},{"LITHUANIAN_MAP:lt":[["ą","a"],["č","c"],["ę","e"],["ė","e"],["į","i"],["š","s"],["ų","u"],["ū","u"],["ž","z"],["Ą","A"],["Č","C"],["Ę","E"],["Ė","E"],["Į","I"],["Š","S"],["Ų","U"],["Ū","U"],["Ž","Z"]]},{"SERBIAN_MAP:sr":[["ђ","dj"],["ј","j"],["љ","lj"],["њ","nj"],["ћ","c"],["џ","dz"],["đ","dj"],["Ђ","Dj"],["Ј","j"],["Љ","Lj"],["Њ","Nj"],["Ћ","C"],["Џ","Dz"],["Đ","Dj"]]},{"AZERBAIJANI_MAP:az":[["ç","c"],["ə","e"],["ğ","g"],["ı","i"],["ö","o"],["ş","s"],["ü","u"],["Ç","C"],["Ə","E"],["Ğ","G"],["İ","I"],["Ö","O"],["Ş","S"],["Ü","U"]]},{"GEORGIAN_MAP:ka":[["ა","a"],["ბ","b"],["გ","g"],["დ","d"],["ე","e"],["ვ","v"],["ზ","z"],["თ","t"],["ი","i"],["კ","k"],["ლ","l"],["მ","m"],["ნ","n"],["ო","o"],["პ","p"],["ჟ","j"],["რ","r"],["ს","s"],["ტ","t"],["უ","u"],["ფ","f"],["ქ","q"],["ღ","g"],["ყ","y"],["შ","sh"],["ჩ","ch"],["ც","c"],["ძ","dz"],["წ","w"],["ჭ","ch"],["ხ","x"],["ჯ","j"],["ჰ","h"]]}]'),L={};var B;!function(e){e.Format="format",e.Identity="identity",e.Slugify="slugify",e.Urlify="urlify"}(B||(B={}));class V extends n.Controller{static values={allowUnicode:{default:!1,type:Boolean},formatters:{default:[],type:Array},locale:{default:"",type:String},trim:{default:!1,type:Boolean}};defaultRegexFlags="gu";regexCache={};undeterminedLocale="und";applyUpdate(e,t,r){this.element.value=t,this.dispatch("applied",{cancelable:!1,detail:{action:e,cleanValue:t,sourceValue:r}})}compare(e){if(!this.element.value)return!0;const t=this[e.detail?.compareAs||e.params?.compareAs||B.Slugify]({detail:{value:e.detail?.value||""}},{ignoreUpdate:!0,runFormat:!0}),r=this.compareValues(t,this.element.value);return r||e?.preventDefault(),r}compareValues(...e){return 1===new Set(e.map(e=>`${e}`)).size}identity(){const e=B.Identity,t=this.element.value;return this.applyUpdate(e,t,t),t}format(e,{ignoreUpdate:t=!1}={}){const{value:r=this.element.value}=e?.detail||{};if(!r)return"";const n=this.formattersValue.reduce((e,[t=[],r=""])=>{const[n="",a=this.defaultRegexFlags]=I(t);return e[a.includes("g")?"replaceAll":"replace"](this.getRegex(n,a),r)},this.prepareValue(r));return t||this.applyUpdate(B.Format,n,r),n}formattersValueChanged(e){if(e?.length){this.regexCache={};try{this.format({detail:{value:"__PLACEHOLDER__"}},{ignoreUpdate:!0})}catch(t){this.context.application.handleError(t,"Invalid regex pattern passed to formatters.",{formatters:[...e]})}}}getRegex(e,t){const r=[e,t].join(":");if(this.regexCache[r])return this.regexCache[r];const n=new RegExp(e,t);return this.regexCache[r]=n,n}localeValueChanged(e){e||(this.localeValue=b.HE.ACTIVE_CONTENT_LOCALE||this.undeterminedLocale)}prepareValue(e="",{runFormat:t=!1}={}){const r=this.trimValue?e.trim():e;return t?this.format({detail:{value:r}},{ignoreUpdate:!0}):r}slugify(e,{ignoreUpdate:t=!1,runFormat:r=!t}={}){const{value:n=this.element.value}=e?.detail||{},a=this.prepareValue(n,{runFormat:r});if(!a)return"";const o=((e,{allowUnicode:t=!1}={})=>{let r;const n=/^[\p{L}\p{N}_-]+$/u;return r=t?e.replace(/\s+/g,"-").toLowerCase().split("").filter(e=>n.test(e)).join(""):e.replace(/\s+/g,"-").replace(/[^A-Za-z0-9\-_]/g,"").toLowerCase(),r})(a,{allowUnicode:this.allowUnicodeValue});return t||this.applyUpdate(B.Slugify,o,n),o}urlify(e,{ignoreUpdate:t=!1,runFormat:r=!t}={}){const{value:n=this.element.value}=e?.detail||{},a=this.prepareValue(n,{runFormat:r});if(!a)return"";const o=((e,{allowUnicode:t=!1,locale:r="en",numChars:n=255}={})=>{let a=e;return t||(a=((e="")=>{if(L[e])return L[e];const[t]=e.toLowerCase().split("-"),r=Object.fromEntries(M.map(e=>Object.entries(e)).flat().map(([e,t])=>{const[,...r]=e.toLowerCase().split(":");return[r,t]}).sort(([e=[]]=[],[r=[]]=[])=>{const n=e.includes(t),a=r.includes(t);return n&&!a?-1:!n&&a?1:0}).flatMap(([,e])=>e).reverse()),n=new RegExp(Object.keys(r).join("|"),"g"),a=e=>e.replace(n,e=>r[e]);return L[t]=a,a})(r)(a)),a=a.toLowerCase(),a=t?a.replace(/[^-_\p{L}\p{N}\s]/gu,""):a.replace(/[^-\w\s]/g,""),a=a.replace(/[-\s]+/g,"-"),a=a.substring(0,n),a=a.replace(/-+$/g,""),a})(a,{allowUnicode:this.allowUnicodeValue,locale:this.localeValue})||this.slugify({detail:{value:a}},{ignoreUpdate:!0});return t||this.applyUpdate(B.Urlify,o,n),o}}class j extends n.Controller{static targets=["value"];copy(e){const{value:t=(this.hasValueTarget?this.valueTarget.value:this.element.value||null)}={...e.detail,...e.params};t&&(this.dispatch("copy").defaultPrevented||new Promise((e,r)=>{navigator.clipboard?navigator.clipboard.writeText(t).then(e,r):r()}).then(()=>this.dispatch("copied",{detail:{clear:!0,type:"success"}})).catch(()=>this.dispatch("error",{detail:{clear:!0,type:"error"}})))}}var q=r(3476);class z extends n.Controller{static classes=["added","hide","show"];static targets=["container","template"];static values={autoClear:{default:0,type:Number},clearDelay:{default:0,type:Number},showDelay:{default:0,type:Number}};isClearing;add(e){if(e?.defaultPrevented)return;const{clear:t=!1,text:r="",type:n=null}={...e?.detail,...e?.params};this.element.classList.add(...this.addedClasses),t&&this.clear();const a=this.getTemplateElement(n),o=a?.content.firstElementChild;if(!o)return;const i=o.cloneNode(!0),s=a.dataset.selector,l=s&&i.querySelector(s)||i.lastElementChild;l instanceof HTMLElement&&r&&(l.textContent=r),this.containerTarget.appendChild(i),(0,A.s)(()=>{this.element.classList.remove(...this.hideClasses),this.element.classList.add(...this.showClasses),this.dispatch("added",{cancelable:!1})},this.showDelayValue||null)().then(()=>{this.autoClearValue&&(0,A.s)(()=>{this.clear()},this.autoClearValue)()})}clear(e){if(this.isClearing=!1,!e)return void(this.containerTarget.innerHTML="");const t=this.clearDelayValue||null,r=this.element;this.isClearing=!0,r.classList.remove(...this.addedClasses),r.classList.remove(...this.showClasses),r.classList.add(...this.hideClasses),(0,A.s)(q.l,t)().then(()=>{this?.isClearing&&(this.containerTarget.innerHTML="",this.dispatch("cleared",{cancelable:!1}),this.isClearing=!1)})}getTemplateElement(e){return e&&this.templateTargets.find(({dataset:t})=>t.type===e)||this.templateTarget}}class $ extends n.Controller{static classes=["active"];static targets=["label","total"];static values={container:{default:"body",type:String},find:{default:":not([hidden]):is(.error-message,.help-critical)",type:String},labels:{default:[],type:Array},min:{default:0,type:Number},total:{default:0,type:Number}};connect(){this.count()}count(){return this.totalValue=[...document.querySelectorAll(this.containerValue||"body")].map(e=>e.querySelectorAll(this.findValue).length).reduce((e,t)=>e+t,0),this.totalValue}getLabel(e){const t=(0,x.WI)("%(num)s error","%(num)s errors",e);if(this.labelsValue.length>1){const[t,r=this.labelsValue[1],n="__total__"]=this.labelsValue;return(0,x.WI)(t,r,e).replace(n,`${e}`)}return t.replace("%(num)s",`${e}`)}minValueChanged(){this.totalValueChanged(this.count())}totalValueChanged(e){const t=this.minValue;this.hasActiveClass&&this.element.classList.toggle(this.activeClass,e>t),this.hasLabelTarget&&(this.labelTarget.textContent=e>t?this.getLabel(e):""),this.hasTotalTarget&&(this.totalTarget.textContent=e>t?`${e}`:"")}}var U=r(9104);class H extends n.Controller{static classes=["dismissed"];static values={dismissed:{default:!1,type:Boolean},id:{default:"",type:String}};toggle(e){this.element.classList.add(this.dismissedClass),this.dismissedValue=!0,this.patch(e)}patch(e){var t;this.idValue&&(t={[this.idValue]:e?.params?.value??this.dismissedValue},fetch(b.HE.ADMIN_URLS?.DISMISSIBLES,{method:"PATCH",headers:{[b.HE.CSRF_HEADER_NAME]:b.HE.CSRF_TOKEN,"Content-Type":"application/json"},body:JSON.stringify(t),mode:"same-origin"}))}}class G extends n.Controller{static targets=["count","menu","toggle"];static values={activeSubmenu:{default:"",type:String},countAttr:{default:"",type:String}};static outlets=["w-action","w-dropdown"];countTargetConnected(){this.updateCount()}connect(){this.open=this.open.bind(this)}wActionOutletConnected(e,t){t.addEventListener("click",this.open)}wActionOutletDisconnected(e,t){t.removeEventListener("click",this.open)}updateCount(){const e=document.querySelectorAll(`[${this.countAttrValue}]`).length;this.countTargets.forEach(t=>{const r=t.dataset.countName,n=r?document.querySelectorAll(`[${this.countAttrValue}=${r}]`).length:e;t.hidden=0===n,t.textContent=n.toString()})}open(e){const t=e.target?.closest("button");this.activeSubmenuValue=t.getAttribute("aria-controls")||""}close(){this.activeSubmenuValue=""}delayedClose(){setTimeout(()=>this.close(),200)}activeSubmenuValueChanged(e,t){if(t){const e=document.querySelector(`[aria-controls="${t}"]`);this.toggle(!1,e)}if(e){const t=document.querySelector(`[aria-controls="${e}"]`);this.toggle(!0,t)}}preventOutletClickaway(e){const t=e.detail.target;if(!t)return;const r=this.toggleTargets.map(e=>e.getAttribute("aria-controls")),n=t.closest("button")?.getAttribute("aria-controls")||"";r.includes(n)&&e.preventDefault()}toggle(e,t){this.hasWDropdownOutlet&&e&&this.wDropdownOutlet.show();const r=t.getAttribute("aria-controls"),n=this.element.querySelector(`#${r}`);n&&(t.setAttribute("aria-expanded",e.toString()),n.hidden=!e,this.menuTarget.hidden=e,e?n.focus():t.focus())}}var W=r(7381);const K={name:"hideOnEsc",defaultValue:!0,fn({hide:e}){function t(t){"Escape"===t.key&&e()}return{onShow(){document.addEventListener("keydown",t)},onHide(){document.removeEventListener("keydown",t)}}}};class Y extends n.Controller{static values={content:String,offset:Array,placement:{default:"bottom",type:String}};static targets=["content"];tippy;connect(){this.tippy=(0,W.Ay)(this.element,this.options)}contentValueChanged(){this.tippy?.setProps(this.options)}placementValueChanged(){this.tippy?.setProps(this.options)}hide(){this.tippy?.hide()}show(){this.tippy?.show()}get options(){let e=this.contentValue;return this.hasContentTarget&&(this.contentTarget.hidden=!1,e=this.contentTarget),{content:e,placement:this.placementValue,plugins:this.plugins,...this.hasOffsetValue&&{offset:this.offsetValue}}}get plugins(){return[K]}disconnect(){this.tippy?.destroy()}}const Z={name:"hideTooltipOnBreadcrumbAndCollapse",fn({hide:e}){function t(){e()}return{onShow(){document.addEventListener("w-breadcrumbs:opened",t),document.addEventListener("w-breadcrumbs:closed",t)},onHide(){document.removeEventListener("w-breadcrumbs:closed",t),document.removeEventListener("w-breadcrumbs:opened",t)}}}},X={name:"hideTooltipOnClickInside",defaultValue:!0,fn(e){const t=()=>e.hide();return{onShow(){e.popper.addEventListener("click",t)},onHide(){e.popper.removeEventListener("click",t)}}}},J={name:"rotateToggleIcon",fn(e){const t=e.reference.querySelector(".icon-arrow-down, .icon-arrow-up");return t?{onShow:()=>t.classList.add("w-rotate-180"),onHide:()=>t.classList.remove("w-rotate-180")}:{}}};class Q extends n.Controller{static targets=["toggle","content"];static values={hideOnClick:{default:!1,type:Boolean},keepMounted:{default:!1,type:Boolean},offset:Array,theme:{default:"dropdown",type:String}};tippy;connect(){this.tippy=(0,W.Ay)(this.toggleTarget,this.options)}hide(){this.tippy?.hide()}show(){this.tippy?.show()}get options(){const e=this.toggleTarget.getAttribute("aria-label");let t;return this.hasContentTarget&&(this.contentTarget.hidden=!1),e&&(t=(0,W.Ay)(this.toggleTarget,{content:e,placement:"bottom",plugins:[K]})),{...this.hasContentTarget?{content:this.contentTarget}:{},trigger:"click",...this.themeOptions,interactive:!0,...this.hasOffsetValue&&{offset:this.offsetValue},getReferenceClientRect:()=>this.reference.getBoundingClientRect(),theme:this.themeValue,onCreate:e=>{if(this.keepMountedValue){const{popper:t}=e;this.element.append(t),t.hidden=!0}},onShow:e=>{if(t&&t.disable(),this.keepMountedValue){const{popper:t}=e;t.hidden=!1}},onShown:()=>{this.dispatch("shown")},onHide:()=>{this.dispatch("hide"),t&&t.enable()},onHidden:e=>{if(this.keepMountedValue){const{popper:t}=e;this.element.append(t),t.hidden=!0}}}}get themeOptions(){return{dropdown:{arrow:!0,maxWidth:350,placement:"bottom",plugins:this.plugins},popup:{arrow:!0,placement:"bottom",plugins:this.plugins,trigger:"mouseenter focus click"},drilldown:{arrow:!1,maxWidth:"none",placement:"bottom-end",hideOnClick:!1,plugins:this.plugins.concat([this.hideTooltipOnClickAway])},"dropdown-button":{arrow:!1,maxWidth:"none",placement:"bottom-start",plugins:this.plugins}}[this.themeValue]}get hideTooltipOnClickAway(){return{name:"hideTooltipOnClickAway",fn:e=>{const t=t=>{this.dispatch("clickaway",{cancelable:!0,detail:{target:t.target}}).defaultPrevented||!e.state.isShown||this.reference.contains(t.target)&&!this.toggleTarget.contains(t.target)||e.hide()};return{onShow(){document.addEventListener("click",t)},onHide(){document.removeEventListener("click",t)}}}}}get plugins(){const e=[Z,K,J];return this.hideOnClickValue&&e.push(X),e}get reference(){const e=this.toggleTarget.parentElement;return"dropdown-button"===this.themeValue?e.parentElement:e}disconnect(){this.tippy&&(this.element?.append(this.tippy.popper),this.tippy.popper.hidden=!0,this.tippy.destroy())}}var ee=r(1245);class te extends n.Controller{static values={target:String};get target(){const e=this.targetValue||this.element.getAttribute("href")||"main";return this.element.closest(e)||document.querySelector(e)}focus(){const e=this.target;e&&!this.dispatch("focus",{bubbles:!0,cancelable:!0,target:e}).defaultPrevented&&((0,ee.s)(e),this.dispatch("focused",{bubbles:!0,cancelable:!1,target:e}))}}var re=r(6032);class ne extends n.Controller{static classes=["deleted"];static targets=["child","deleted","deleteInput","forms","minFormsInput","maxFormsInput","template","totalFormsInput"];static values={min:{default:0,Number},max:{default:1e3,Number},total:{default:0,Number}};elementPrefixRegex=/__prefix__(.*?['"])/g;initialize(){this.totalValue=parseInt(this.totalFormsInputTarget.value,10),this.minValue=parseInt(this.minFormsInputTarget.value,10),this.maxValue=parseInt(this.maxFormsInputTarget.value,10)}connect(){this.dispatch("ready",{cancelable:!1,detail:{minValue:this.minValue,maxValue:this.maxValue,totalValue:this.totalValue}})}add(){this.childTargets.length>=this.maxValue||this.dispatch("adding",{cancelable:!0,detail:{formIndex:this.totalValue}}).defaultPrevented||this.formsTarget.appendChild(this.newChild)}delete(e){const t=this.childTargets.find(t=>t.contains(e.target));if(!t)throw new Error(`Could not find child form target for event target: ${e.target}.`);if(this.childTargets.length<=this.minValue)return;if(this.dispatch("removing",{target:t,cancelable:!0}).defaultPrevented)return;const r=`data-${this.identifier}-target`;t.setAttribute(r,(t.getAttribute(r)?.split(" ")??[]).filter(e=>"child"!==e).concat(["deleted"]).join(" "))}childTargetConnected(e){const t=this.childTargets.length+this.deletedTargets.length;t!==this.totalValue&&(this.totalValue=t,this.dispatch("added",{target:e,cancelable:!1,detail:{formIndex:t-1}}))}childTargetDisconnected(e){const t=this.deletedClasses;e.classList.add(...t),((e,{maxDelay:t=350}={})=>new Promise(r=>{if(!t||t<=0)return void r(null);let n;const a=t=>{t&&t.target!==e||(window.clearTimeout(n),e.removeEventListener("transitionend",a),e.removeEventListener("animationend",a),r(t||null))};e.addEventListener("animationend",a),e.addEventListener("transitionend",a),n=window.setTimeout(a,t)}))(e,t.length?{}:{maxDelay:0}).then(()=>{e.setAttribute("hidden",""),this.dispatch("removed",{target:e,cancelable:!1})});const r=this.deleteInputTargets.find(t=>e.contains(t));if(!r)throw new Error(`Could not find "deleteInput" target within removed form. ${e.nodeName} with id '${e.id}'.`);"1"!==r.value&&(r.value="1",this.dispatch("change",{prefix:"",target:r,cancelable:!1}))}totalValueChanged(e,t){if(e===t||void 0===t)return;const r=this.totalFormsInputTarget;r.value!==`${e}`&&(r.value=`${e}`,this.dispatch("change",{prefix:"",target:r,cancelable:!1}))}get newChild(){const e=this.templateTarget.content.firstElementChild?.cloneNode(!0);if(!(e instanceof HTMLElement))throw new Error("Invalid template content, must be a single node.");const t=this.childTargets.length+this.deletedTargets.length,r=document.createElement("template");r.innerHTML=e.outerHTML.replace(this.elementPrefixRegex,t+"$1");const n=r.content.firstElementChild?.cloneNode(!0);return(0,re.v)(n),n}}class ae extends n.Controller{static classes=["ready","remove"];static values={delay:{default:-1,type:Number},detail:{default:{},type:Object},event:{default:"",type:String}};connect(){this.ready()}ready(){const e=this.delayValue,t={...this.detailValue};(0,A.s)(()=>!0,e<0?null:e)().then(()=>{this.element.classList.add(...this.readyClasses),this.element.classList.remove(...this.removeClasses),this.dispatch("ready",{bubbles:!0,cancelable:!0,detail:t}).defaultPrevented||(this.eventValue.split(" ").filter(Boolean).forEach(e=>{this.dispatch(e,{bubbles:!0,cancelable:!1,detail:t,prefix:""})}),this.remove())})}remove(){const e=this.element;this.constructor.classes.forEach(t=>{e.removeAttribute(`data-${this.identifier}-${t}-class`)}),Object.keys(this.constructor.values).forEach(t=>{e.removeAttribute(`data-${this.identifier}-${t}-value`)});const t=this.application.schema.controllerAttribute,r=(e.getAttribute(t)?.split(" ")??[]).filter(e=>e!==this.identifier).join(" ");r?e.setAttribute(t,r):e.removeAttribute(t)}}var oe,ie=r(6411),se=r.n(ie);r(9610),function(e){e.CLICK="click",e.FOCUS="focus"}(oe||(oe={}));class le extends n.Controller{static targets=["element"];static values={action:{default:"",type:String},key:{default:"",type:String},scope:{default:"",type:String}};static get shouldLoad(){return!!b.HE.KEYBOARD_SHORTCUTS_ENABLED}initialize(){if(this.handleKey=this.handleKey.bind(this),!this.keyValue){const e=[...this.elementTargets,this.element].find(e=>e.hasAttribute("aria-keyshortcuts"))?.getAttribute("aria-keyshortcuts");e&&(this.keyValue=e)}}handleKey(e){e.preventDefault&&e.preventDefault();const t=this.elementTargets.length>0?this.elementTargets[0]:this.element;this.actionValue===oe.FOCUS?this.handleFocus(t):this.handleClick(t)}handleClick(e){e.click()}handleFocus(e){(0,ee.s)(e),e instanceof HTMLInputElement&&e.value&&e.select&&e.select()}keyValueChanged(e,t){t&&t!==e&&se().unbind(t),e&&("global"===this.scopeValue?se().bindGlobal(e,this.handleKey):se().bind(e,this.handleKey))}}class ue extends n.Controller{static localizeTimeZone(e,t){return new Intl.DateTimeFormat(document.documentElement.lang,{timeZone:e,timeZoneName:t}).formatToParts(new Date).find(e=>"timeZoneName"===e.type).value}static getTZLabel(e){return`${ue.localizeTimeZone(e,"short")} (${ue.localizeTimeZone(e,"long")})`}localizeTimeZoneOptions(e){const t=e?.target||this.element,r=e?.params?.serverTimeZone;Array.from(t.options).forEach(e=>{const t=e.value||r;if(!t)return;const n=ue.getTZLabel(t),a=e,o=(0,x.AP)("%(time_zone_option)s: %(localized_time_zone_label)s");a.textContent=o.replace("%(time_zone_option)s",a.textContent??"").replace("%(localized_time_zone_label)s",n)})}}var ce,de=r(246);!function(e){e.Up="UP",e.Down="DOWN"}(ce||(ce={}));class pe extends n.Controller{static classes=["active","chosen","drag","ghost"];static targets=["handle","item"];static values={animation:{default:200,type:Number},container:{default:"",type:String},message:{default:"",type:String},url:String};order;sortable;constructor(e){super(e),this.order=[]}connect(){const e=this.containerValue,t=e&&this.element.querySelector(e)||this.element;this.sortable=de.Ay.create(t,this.options),this.order=this.sortable.toArray(),this.dispatch("ready",{cancelable:!1,detail:{order:this.order}})}get options(){const e=this.identifier;return{...this.hasGhostClass?{ghostClass:this.ghostClass}:{},...this.hasChosenClass?{chosenClass:this.chosenClass}:{},...this.hasDragClass?{dragClass:this.dragClass}:{},animation:this.animationValue,dataIdAttr:`data-${e}-item-id`,draggable:`[data-${e}-target="item"]`,handle:`[data-${e}-target="handle"]`,onStart:()=>{this.element.classList.add(...this.activeClasses)},onEnd:({item:e,newIndex:t,oldIndex:r})=>{this.element.classList.remove(...this.activeClasses),r!==t&&(this.order=this.sortable.toArray(),this.submit({...this.getItemData(e),newIndex:t}))}}}getItemData(e){const t=this.identifier,r=e instanceof HTMLElement&&e.closest(`[data-${t}-target='item']`);return r?{id:r.getAttribute(`data-${t}-item-id`)||"",label:r.getAttribute(`data-${t}-item-label`)||""}:{id:"",label:""}}apply({currentTarget:e}){const{id:t,label:r}=this.getItemData(e),n=this.order.indexOf(t);this.submit({id:t,label:r,newIndex:n})}move({currentTarget:e},t){const r=this.identifier,n=e instanceof HTMLElement&&e.closest(`[data-${r}-target='item']`);if(!n)return;const a=n.getAttribute(`data-${r}-item-id`)||"",o=this.order.indexOf(a);this.order.splice(o,1),t===ce.Down?this.order.splice(o+1,0,a):t===ce.Up&&o>0?this.order.splice(o-1,0,a):this.order.splice(o,0,a),this.sortable.sort(this.order,!0)}up(e){this.move(e,ce.Up),e.currentTarget?.focus()}down(e){this.move(e,ce.Down),e.currentTarget?.focus()}submit({id:e,label:t,newIndex:r}){let n=this.urlValue.replace("999999",e);null!==r&&(n+="?position="+r);const a=(this.messageValue||"__LABEL__").replace("__LABEL__",t);fetch(n,{method:"POST",headers:{[b.HE.CSRF_HEADER_NAME]:b.HE.CSRF_TOKEN}}).then(e=>{if(!e.ok)throw new Error(`HTTP error! Status: ${e.status}`)}).then(()=>{this.dispatch("w-messages:add",{prefix:"",target:window.document,detail:{clear:!0,text:a,type:"success"},cancelable:!1})}).catch(e=>{throw e})}disconnect(){this.sortable&&this.sortable.destroy()}}var he=r(8609),fe=r.n(he);const me=e=>Array.isArray(e)?e.join(" "):e,ge=(e,t)=>{if(!e||!t)return 0;const r=document.querySelector(me(e.target[0])),n=document.querySelector(me(t.target[0]));return r&&n?r.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_PRECEDING?1:-1:0},ve={"check-image-alt-text":(e,t)=>{const r=new RegExp(t.pattern,"i"),n=e.getAttribute("alt")||"";return!r.test(n)}};var be=r(1319);const ye={ar:181,zh:260,nl:228,en:238,fi:195,fr:214,de:260,he:224,it:285,ko:226,es:278,sv:218};var we,De,Ee,xe=r(2277);class Ae extends n.Controller{static classes=["hasErrors","proxy","selectedSize"];static targets=["iframe","mode","newTab","size","spinner"];static values={autoUpdateInterval:{default:500,type:Number},deviceLocalStorageKey:{default:"wagtail:preview-panel-device",type:String},deviceWidthProperty:{default:"--preview-device-width",type:String},panelWidthProperty:{default:"--preview-panel-width",type:String},renderUrl:{default:"",type:String},stale:{default:!0,type:Boolean},url:{default:"",type:String}};static outlets=["w-progress"];static fallbackWidth=375..toString();static scrollRestoreTimeout=1e4;ready=!1;available=!0;spinnerTimeout=null;updatePromise=null;reloadPromise=null;#e=null;contentChecksPromise=null;get activeSizeInput(){return this.sizeTargets.find(e=>e.checked)||null}get renderUrl(){const e=new URL(this.renderUrlValue,window.location.href);return this.hasModeTarget&&e.searchParams.set("mode",this.modeTarget.value),e}get shouldAutoUpdate(){return this.autoUpdateIntervalValue>0&&(!this.sidePanelContainer.hidden||this.checksSidePanel&&!this.checksSidePanel.hidden)}initialize(){this.checkAndUpdatePreview=this.checkAndUpdatePreview.bind(this),this.runChecks=this.runChecks.bind(this),this.setPreviewData=this.setPreviewData.bind(this)}connect(){if(!this.urlValue)throw new Error(`The preview panel controller requires the data-${this.identifier}-url-value attribute to be set`);this.resizeObserver=this.observePanelSize(),this.editForm=document.querySelector("[data-edit-form]"),this.sidePanelContainer=this.element.parentElement,this.sidePanelContainer.addEventListener("show",this.checkAndUpdatePreview),this.setUpContentChecks(),this.restoreLastSavedPreferences(),(!this.sidePanelContainer.hidden||this.checksSidePanel&&!this.checksSidePanel.hidden)&&this.checkAndUpdatePreview()}setUpContentChecks(){this.checksSidePanel=document.querySelector('[data-side-panel="checks"]'),this.a11yRowTemplate=document.querySelector("#w-a11y-result-row-template"),this.checksPanel=document.querySelector("[data-checks-panel]"),this.axeConfig=(e=>{const t=e?.querySelector("#accessibility-axe-configuration");if(!t||!t.textContent)return null;try{return JSON.parse(t.textContent)}catch(e){console.error("Error loading Axe config"),console.error(e)}return null})(document.body),this.checksToggleCounter=document.querySelector('[data-side-panel-toggle="checks"] [data-side-panel-toggle-counter]'),this.checksPanelCounter=document.querySelector('[data-side-panel="checks"] [data-a11y-result-count]'),this.checksSidePanel&&this.checksPanel&&this.a11yRowTemplate&&this.axeConfig&&this.checksToggleCounter&&this.checksPanelCounter?(this.axeConfig.context.include={fromFrames:["#w-preview-iframe"].concat(this.axeConfig.context.include)},this.axeConfig.context.exclude?.length>0&&(this.axeConfig.context.exclude={fromFrames:["#w-preview-iframe"].concat(this.axeConfig.context.exclude)}),this.contentExtractorOptions={targetElement:'main, [role="main"]'},fe().configure((e=>{const t=e?.checks?.map(e=>ve[e.id]?{...e,evaluate:ve[e.id]}:e);return{...e,checks:t}})(this.axeConfig.spec)),fe().registerPlugin(be.$),this.checksSidePanel.addEventListener("show",this.checkAndUpdatePreview),window.addEventListener("message",this.runChecks),this.contentChecksEnabled=!0):this.contentChecksEnabled=!1}renderUrlValueChanged(e){e||(this.renderUrlValue=this.urlValue),this.updateNewTabLink()}restoreLastSavedPreferences(){let e=null;try{e=localStorage.getItem(this.deviceLocalStorageKeyValue)}catch(e){}const t=this.sizeTargets.find(t=>t.value===e)||this.activeSizeInput||this.sizeTargets[0];t.click(),this.applySelectedSizeClass(t.value)}setPreviewMode(){this.updateNewTabLink(),this.setPreviewDataWithAlert()}updateNewTabLink(){this.hasNewTabTarget&&(this.newTabTarget.href=this.renderUrl.toString())}togglePreviewSize(e){const t=e.target,r=t.value,n=t.dataset.deviceWidth;this.setPreviewWidth(n),this.applySelectedSizeClass(r);try{localStorage.setItem(this.deviceLocalStorageKeyValue,r)}catch(e){}}setPreviewWidth(e){let t=e;e||(t=this.activeSizeInput?.dataset.deviceWidth||Ae.fallbackWidth),this.available||(t=Ae.fallbackWidth),this.element.style.setProperty(this.deviceWidthPropertyValue,t)}applySelectedSizeClass(e){this.sizeTargets.forEach(t=>{t.labels?.forEach(r=>r.classList.toggle(this.selectedSizeClass,t.value===e))})}observePanelSize(){const e=new ResizeObserver(e=>this.element.style.setProperty(this.panelWidthPropertyValue,e[0].contentRect.width.toString()));return e.observe(this.element),e}async checkAndUpdatePreview(){return this.staleValue?this.setPreviewData():this.updatePromise}setStale(e){this.staleValue=e?.params?.stale??!0}staleValueChanged(e){this.ready&&e&&this.shouldAutoUpdate&&this.setPreviewDataLazy()}autoUpdateIntervalValueChanged(e){this.setPreviewDataLazy=(0,A.s)(this.setPreviewData,e)}setPreviewData(){return this.updatePromise?this.updatePromise:this.dispatch("update").defaultPrevented?void 0:(this.updatePromise=(async()=>{this.hasSpinnerTarget&&(this.spinnerTimeout=setTimeout(()=>{this.spinnerTarget.hidden=!1},2e3));try{const e=await fetch(this.urlValue,{method:"POST",body:new FormData(this.editForm)}),t=await e.json();return this.dispatch("json",{cancelable:!1,detail:{data:t}}),this.element.classList.toggle(this.hasErrorsClass,!t.is_valid),this.available=t.is_available,t.is_valid?this.reloadIframe():this.ready?this.finishUpdate():t.is_available?this.updatePromise=this.clearPreviewData().then(()=>!1):this.reloadIframe(),t.is_valid}catch(e){throw this.dispatch("error",{cancelable:!1,detail:{error:e}}),this.finishUpdate(),e}})(),this.staleValue=!1,this.updatePromise)}async clearPreviewData(){return fetch(this.urlValue,{headers:{[b.HE.CSRF_HEADER_NAME]:b.HE.CSRF_TOKEN},method:"DELETE"}).then(e=>(this.available=!1,this.reloadIframe(),e))}reloadIframe(){if(this.reloadPromise=new Promise(e=>{this.#e=e}),this.dispatch("load").defaultPrevented)return void this.finishUpdate();const e=this.iframeTarget.cloneNode();e.removeAttribute("id");const t=this.renderUrl;t.searchParams.set("in_preview_panel","true"),e.src=t.toString(),e.classList.add(this.proxyClass),this.iframeTarget.insertAdjacentElement("afterend",e)}async replaceIframe(e){const t=this.iframeTarget.id,r=e.target;r.src&&(this.ready&&await this.restoreScrollPosition(r),this.iframeTargets.forEach(e=>{e!==r&&e.remove()}),r.id=t,r.classList.remove(this.proxyClass),this.dispatch("loaded",{cancelable:!1}),this.finishUpdate())}async restoreScrollPosition(e){const t={oldIframe:!1,newIframe:!1};try{t.oldIframe=!this.iframeTarget.contentWindow?.location.origin}catch{t.oldIframe=!0}try{t.newIframe=!e.contentWindow?.location.origin}catch{t.newIframe=!0}return t.oldIframe!==t.newIframe?Promise.resolve():t.oldIframe||t.newIframe?new Promise(t=>{const r=n=>{const a=(0,xe.j)(n);if(a)switch(a.type){case"w-preview:request-scroll":this.iframeTarget.contentWindow?.postMessage({wagtail:{type:"w-preview:get-scroll-position"}},a.origin);break;case"w-preview:set-scroll-position":e.contentWindow?.postMessage({wagtail:a},a.origin),window.removeEventListener("message",r),t()}};window.addEventListener("message",r),setTimeout(()=>{window.removeEventListener("message",r),t()},Ae.scrollRestoreTimeout)}):(e.contentWindow?.scroll({top:this.iframeTarget.contentWindow?.scrollY,left:this.iframeTarget.contentWindow?.scrollX,behavior:"instant"}),Promise.resolve())}async runChecks(e){if(e&&"message"===e.type){const t=(0,xe.j)(e);if("w-userbar:axe-ready"!==t?.type)return this.contentChecksPromise}return this.contentChecksPromise&&await this.contentChecksPromise,this.contentChecksPromise=(async()=>{await this.runAccessibilityChecks(),await this.runContentChecks(),this.contentChecksPromise=null})(),this.contentChecksPromise}async runAccessibilityChecks(){const{results:e,a11yErrorsNumber:t}=await(async e=>{const t=await fe().run(e.context,e.options),r=t.violations.reduce((e,t)=>e+t.nodes.length,0);return r>0&&console.error("axe.run results",t.violations),{results:t,a11yErrorsNumber:r}})(this.axeConfig);this.checksToggleCounter.textContent=t.toString(),this.checksToggleCounter.hidden=0===t,this.checksPanelCounter.textContent=t.toString(),this.checksPanelCounter.classList.toggle("has-errors",t>0),((e,t,r,n,a)=>{if(e.innerHTML="",t.violations.length){const o=t.violations.sort((e,t)=>{const r=e.nodes.sort(ge)[0],n=t.nodes.sort(ge)[0];return ge(r,n)});let i=0;o.forEach(t=>{t.nodes.forEach(o=>{e.appendChild(n.content.cloneNode(!0));const s=e.querySelectorAll("[data-a11y-result-row]")[i];i+=1;const l=s.querySelector("[data-a11y-result-name]"),u=s.querySelector("[data-a11y-result-help]");l.id=`w-a11y-result__name-${i}`;const c=r.messages[t.id],d=("string"==typeof c?c:c?.error_name)||t.help;l.textContent=d,u.textContent=c?.help_text||t.description;const p="#w-preview-iframe"===o.target[0],h=me(o.target.filter(e=>"#w-preview-iframe"!==e)),f=s.querySelector("[data-a11y-result-selector]");f.setAttribute("aria-describedby",l.id),f.addEventListener("click",a.bind(null,h)),p&&(f.querySelector("[data-a11y-result-selector-text]").textContent=h.replace(/\[data-block-key="\w{5}"\]/,""))})})}})(this.checksPanel,e,this.axeConfig,this.a11yRowTemplate,()=>this.newTabTarget.click())}async runContentChecks(){const e=await this.extractContent();if(!e)return;const t=((e,t)=>{const r=new Intl.Segmenter(e,{granularity:"word"});return Array.from(r.segment(t)).reduce((e,t)=>t.isWordLike?e+1:e,0)})(e.lang,e.innerText),r=((e,t)=>{const r=e.split("-")[0],n=ye[r]||ye.en;return Math.round(t/n)})(e.lang,t),n=((e,t)=>{const r=new Intl.Segmenter(e,{granularity:"sentence"}),n=Array.from(r.segment(t)).length,a=new Intl.Segmenter(e,{granularity:"word"});let o=0,i=0;for(const{segment:e,isWordLike:r}of a.segment(t))r&&(o+=1,e.length>6&&(i+=1));return 0===n||o<10?0:o/n+i/o*100})(e.lang,e.innerText),a=(e=>e<35?(0,x.AP)("Good"):e<45?(0,x.AP)("Fair"):(0,x.AP)("Complex"))(n),o={wordCount:t,readingTime:r,lixScore:n,readabilityScore:a};this.dispatch("content",{detail:{content:e,metrics:o}}),(({wordCount:e,readingTime:t,readabilityScore:r})=>{const n=document.querySelector("[data-content-word-count]"),a=document.querySelector("[data-content-reading-time]"),o=document.querySelector("[data-content-readability-score]");n&&a&&(n.textContent=e.toString(),a.textContent=(0,x.WI)("%(num)s min","%(num)s mins",t).replace("%(num)s",`${t}`),o&&(o.textContent=r.toString()))})(o)}async extractContent(e){return this.ready||(await this.checkAndUpdatePreview(),await this.reloadPromise),(e=>new Promise(t=>{fe().plugins.wagtailPreview.run("extractor","extract",e,e=>{t(e)})}))(e||this.contentExtractorOptions)}finishUpdate(){this.spinnerTimeout&&(clearTimeout(this.spinnerTimeout),this.spinnerTimeout=null),this.hasSpinnerTarget&&(this.spinnerTarget.hidden=!0),this.hasWProgressOutlet&&(this.wProgressOutlet.loadingValue=!1),this.updatePromise=null,this.setPreviewWidth(),this.ready||(this.ready=!0,this.dispatch("ready",{cancelable:!1})),this.dispatch("updated",{cancelable:!1}),this.#e?.(),this.reloadPromise=null,this.#e=null}async setPreviewDataWithAlert(){try{return await this.setPreviewData()}catch{return void window.alert((0,x.AP)("Error while sending preview data."))}}async openPreviewInNewTab(e){const t=e.currentTarget,r=await this.setPreviewDataWithAlert(),n=new URL(t.href);return n.search="",window.open(t.href,n.toString()),r}disconnect(){this.sidePanelContainer.removeEventListener("show",this.checkAndUpdatePreview),this.contentChecksEnabled&&(window.removeEventListener("message",this.runChecks),this.checksSidePanel.removeEventListener("show",this.checkAndUpdatePreview)),this.resizeObserver.disconnect()}}class Ce extends n.Controller{static classes=["active"];static targets=["label"];static values={active:{default:"",type:String},duration:{default:3e4,type:Number},label:{default:"",type:String},loading:{default:!1,type:Boolean}};timer;connect(){if(this.hasLabelTarget)return;const e=this.element.querySelector("em");e&&e.setAttribute(`data-${this.identifier}-target`,"label")}activate(){const e=this.element.closest("form");e&&e.checkValidity&&!e.noValidate&&!e.checkValidity()||window.setTimeout(()=>{this.loadingValue=!0,this.timer=window.setTimeout(()=>{this.loadingValue=!1},this.durationValue)})}deactivate(){this.loadingValue=!1,this.timer&&clearTimeout(this.timer)}loadingValueChanged(e){const t=this.hasActiveClass?this.activeClass:"button-longrunning-active";this.element.classList.toggle(t,e),this.labelValue||(this.labelValue=this.hasLabelTarget?this.labelTarget.textContent:this.element.textContent),e?(this.element.setAttribute("disabled",""),this.activeValue&&this.hasLabelTarget&&(this.labelTarget.textContent=this.activeValue)):(this.element.removeAttribute("disabled"),this.labelValue&&this.hasLabelTarget&&(this.labelTarget.textContent=this.labelValue))}disconnect(){this.deactivate()}}!function(e){e.OPENED="opened",e.CLOSED="closed"}(we||(we={}));class Fe extends n.Controller{static classes=["closed","closeIcon","opened","openedContent","openIcon"];static targets=["content","toggle"];static values={closed:{default:!1,type:Boolean},peeking:{default:!1,type:Boolean},peekTarget:{default:"",type:String},storageKey:{default:"",type:String}};cleanUpPeekListener;connect(){const e=!!this.peekTargetValue&&this.element.closest(this.peekTargetValue);if(e){const t=()=>{this.peekingValue&&this.close(),this.peekingValue=!1};e.addEventListener("mouseleave",t,{passive:!0}),this.cleanUpPeekListener=()=>{e.removeEventListener("mouseleave",t)}}if(this.storageKeyValue){const e=this.stored;"boolean"==typeof e&&e!==this.closedValue?this.closedValue=e:this.stored=this.closedValue}new Promise(e=>{setTimeout(e)}).then(()=>{this.dispatch("ready",{cancelable:!1,detail:{closed:this.closedValue}})})}closedValueChanged(e,t){if(t===e)return;const r=this.closedClasses,n=this.openedClasses,a=this.contentTargets,o=void 0===t,i=this.peekingValue,s=this.openedContentClasses,l=this.toggles;if(i||this.updateToggleIcon(e),e){if(this.dispatch("closing",{cancelable:!0}).defaultPrevented)return;l.forEach(e=>{e.setAttribute("aria-expanded","false")}),a.forEach(e=>{e.classList.remove(...s),e.hidden=!0}),this.element.classList.add(...r),this.element.classList.remove(...n),this.dispatch("closed",{cancelable:!1})}else{if(this.dispatch("opening",{cancelable:!0}).defaultPrevented)return;l.forEach(e=>{e.setAttribute("aria-expanded","true")}),a.forEach(e=>{e.classList.add(...s),e.hidden=!1}),this.element.classList.remove(...r),this.element.classList.add(...n),this.dispatch("opened",{cancelable:!1})}o||l.forEach(t=>{this.dispatch("toggled",{cancelable:!1,detail:{closed:e},target:t})})}close(){this.closedValue=!0}open(){this.closedValue=!1}peek(){this.closedValue&&(this.peekingValue=!0,this.open())}toggle(){if(this.stored=!this.peekingValue&&!this.closedValue,this.peekingValue)return this.peekingValue=!1,void this.updateToggleIcon(!1);this.closedValue=!this.closedValue}get toggles(){const e=this.contentTargets.map(e=>e.id).flatMap(e=>Array.from(document.querySelectorAll(`[aria-controls~="${e}"]`))).concat(...this.toggleTargets);return Array.from(new Set(e))}updateToggleIcon(e=!1){if(!this.hasCloseIconClass||!this.hasOpenIconClass)return;const t=this.closeIconClass,r=this.openIconClass;t!==r&&this.toggles.map(e=>{const t=e.querySelector(".icon"),r=t?.querySelector("use");return r&&t?[t,r]:[]}).filter(({length:e})=>e).forEach(([n,a])=>{e?(n.classList.remove(t),n.classList.add(r),a.setAttribute("href",`#${r}`)):(n.classList.remove(r),n.classList.add(t),a.setAttribute("href",`#${t}`))})}get localStorageKey(){const e=this.storageKeyValue;return e?["wagtail",this.identifier,e].join(":"):null}get stored(){const e=this.localStorageKey;if(e)try{const t=localStorage.getItem(e);if(null===t)return;return t===we.CLOSED}catch(e){}}set stored(e){const t=this.localStorageKey;if(t)try{e?localStorage.setItem(t,we.CLOSED):localStorage.setItem(t,we.OPENED)}catch(e){}}disconnect(){this.cleanUpPeekListener?.call(this)}}!function(e){e.Enable="enable",e.Show="show"}(De||(De={})),function(e){e.All="all",e.Any="any"}(Ee||(Ee={}));class Te extends n.Controller{static targets=["enable","show"];initialize(){this.rulesCache={},this.resolve=(0,A.s)(this.resolve.bind(this),50),this.form=this.findForm()}findForm(){const e=this.element;return e instanceof HTMLFormElement?e:"form"in e?e.form:e.closest("form")}resolve(){if(!this.hasEnableTarget&&!this.hasShowTarget)return;const e=new FormData(this.form),t=([t,r])=>{const n=e.getAll(t);return 0===r.length&&0===n.length||r.some(e=>n.includes(e))};this.enableTargets.forEach(e=>{const r=De.Enable,{match:n,rules:a}=this.parseRules(e,r),o=n===Ee.Any?a.some(t):a.every(t);o!==!e.disabled&&(this.dispatch("effect",{bubbles:!0,cancelable:!0,detail:{effect:r,enable:o},target:e}).defaultPrevented||(e.disabled=!o))}),this.showTargets.forEach(e=>{const r=De.Show,{match:n,rules:a}=this.parseRules(e,r),o=n===Ee.Any?a.some(t):a.every(t);o!==!e.hidden&&(this.dispatch("effect",{bubbles:!0,cancelable:!0,detail:{effect:r,show:o},target:e}).defaultPrevented||(e.hidden=!o))}),this.dispatch("resolved",{bubbles:!0,cancelable:!1})}parseRules(e,t=De.Enable){const r={match:Ee.All,rules:[]};if(!e)return r;let n=`data-${this.identifier}-${t}`,a=e.getAttribute(n);if(a||(n=`data-${this.identifier}`,a=e.getAttribute(n)),!a)return r;const o=this.rulesCache[a];if(o)return o;let i;try{i=JSON.parse(a)}catch(e){return this.context.handleError(e,`Unable to parse rule at the attribute '${n}'.`),r}const s=(Array.isArray(i)?i:Object.entries(i)).filter(Array.isArray).map(([e="",t=""]=[])=>[e,I(t).map(String)]),[,[l=Ee.All]=[]]=s.find(([e])=>""===e)||[];if(!Object.values(Ee).includes(l))return this.context.handleError(new Error(`Invalid match value: '${l}'.`),`Match value must be one of: '${Object.values(Ee).join("', '")}'.`),r;const u={match:l,rules:s.filter(([e])=>e)};return this.rulesCache[a]=u,u}enableTargetConnected(){this.resolve()}enableTargetDisconnected(){this.resolve()}showTargetConnected(){this.resolve()}showTargetDisconnected(){this.resolve()}}const ke=(e,t,...r)=>!t||t<=0||t>=2**31?null:setInterval(e,t,...r);class Re extends n.Controller{static values={interval:{type:Number,default:1e4},intercept:{type:Boolean,default:!1}};static outlets=["w-dialog"];static targets=["reload","revisionCreatedAt","revisionId","unsavedChanges"];lastActionButton;initialize(){this.showConfirmationDialog=this.showConfirmationDialog.bind(this),this.confirmAction=this.confirmAction.bind(this),this.ping=this.ping.bind(this)}connect(){this.ping()}get interceptTargets(){return document?.querySelectorAll('[data-edit-form] button:is([type="submit"], [data-workflow-action-name])')}ping(){this.dispatch("ping")}intervalValueChanged(){this.addInterval()}addInterval(){this.clearInterval(),this.interval=ke(this.ping,this.intervalValue)}clearInterval(){this.interval&&(window.clearInterval(this.interval),this.interval=null)}dispatchVisibilityState(){this.dispatch(document.visibilityState)}showConfirmationDialog(e){this.lastActionButton=e.target,this.interceptValue&&this.hasWDialogOutlet&&(this.lastActionButton?.closest('[data-controller="w-dialog"]')?.dispatchEvent(new Event("w-dialog:hide")),e.preventDefault(),e.stopImmediatePropagation(),this.wDialogOutlet.hasConfirmTarget&&this.lastActionButton&&(this.wDialogOutlet.confirmTarget.textContent=this.lastActionButton.textContent),this.wDialogOutlet.show())}confirmAction(){this.interceptValue=!1,this.lastActionButton?.click(),this.interceptValue=!0}wDialogOutletConnected(){this.interceptTargets.forEach(e=>{e.addEventListener("click",this.showConfirmationDialog,{capture:!0})}),this.wDialogOutlet.element.addEventListener("w-dialog:confirmed",this.confirmAction)}wDialogOutletDisconnected(){this.interceptTargets?.forEach(e=>{e.removeEventListener("click",this.showConfirmationDialog,{capture:!0})})}setUnsavedChanges(e){if(!this.hasUnsavedChangesTarget)return;const t=e.type.split(":")[1];this.unsavedChangesTarget.checked="clear"!==t,this.reloadTargets.forEach(e=>this.reloadTargetConnected(e))}reloadTargetConnected(e){this.hasUnsavedChangesTarget&&this.unsavedChangesTarget.checked&&e.dataset.dialogId?(e.removeAttribute("data-action"),e.setAttribute("data-a11y-dialog-show",e.dataset.dialogId)):(e.removeAttribute("data-a11y-dialog-show"),e.setAttribute("data-action","w-action#reload"))}get swapController(){return this.application.getControllerForElementAndIdentifier(this.element,"w-swap")}get actionController(){return this.application.getControllerForElementAndIdentifier(this.element,"w-action")}updateSessionData(e){const{detail:t}=e;if(!t||!t.data)return;const r=t.data,n=this.swapController;n&&"ping_url"in r&&r.ping_url&&(n.srcValue=r.ping_url);const a=this.actionController;a&&"release_url"in r&&r.release_url&&(a.urlValue=r.release_url),"revision_id"in r&&this.hasRevisionIdTarget&&(this.revisionIdTarget.value=`${r.revision_id}`),"revision_created_at"in r&&this.hasRevisionCreatedAtTarget&&(this.revisionCreatedAtTarget.value=r.revision_created_at),"other_sessions"in r&&r.other_sessions&&(this.interceptValue=r.other_sessions.some(e=>e.revision_id))}disconnect(){this.interval&&window.clearInterval(this.interval)}}class Ne extends n.Controller{submit(){const e=this.element.form;if(!e)throw new Error(`${this.identifier} controlled element must be part of a <form />`);e.requestSubmit?e.requestSubmit():e.submit()}}class Se extends Error{status;constructor(e,...t){super(`HTTP error! Status: ${e}`,...t),this.name="HTTPError",this.status=e}}class _e extends n.Controller{static defaultClearParam="p";static classes=["loading"];static targets=["input"];static values={error:{default:"",type:String},icon:{default:"",type:String},loading:{default:!1,type:Boolean},reflect:{default:!1,type:Boolean},defer:{default:!1,type:Boolean},src:{default:"",type:String},jsonPath:{default:"",type:String},messages:{default:{},type:Object},target:{default:"#listing-results",type:String},wait:{default:200,type:Number}};abortController;iconElement;replaceLazy;searchLazy;submitLazy;writeDeferred;connect(){this.srcValue=this.srcValue||this.formElement.getAttribute("action")||"";const e=this.target;this.iconElement=null;const t=(this.hasInputTarget?this.inputTarget:this.element).parentElement;this.iconElement=t?.querySelector("use")||null,this.iconValue=this.iconElement?.getAttribute("href")||"",this.loadingValue=!1,this.replaceLazy=(0,A.s)(this.replace.bind(this),this.waitValue),this.searchLazy=(0,A.s)(this.search.bind(this),this.waitValue),this.submitLazy=(0,A.s)(this.submit.bind(this),this.waitValue),this.dispatch("ready",{cancelable:!1,target:e})}get target(){const e=this.targetValue,t=document.querySelector(e),r=t&&t instanceof HTMLElement,n=!!this.srcValue,a=[];if(r||a.push(`Cannot find valid target element at "${e}"`),n||a.push("Cannot find valid src URL value"),a.length)throw new Error(a.join(", "));return t}errorValueChanged(e,t){if(e===t)return;const r=this.messagesValue,n=(e="",t=e.split(" "))=>t.reduceRight((e,t)=>e||r[t],""),a=n(e),o=n(t);a!==o&&(!o||a?this.dispatch("w-messages:add",{prefix:"",target:window.document,detail:{clear:!0,text:a,type:"error"},bubbles:!0,cancelable:!1}):this.dispatch("w-messages:clear",{prefix:"",target:window.document,bubbles:!0,cancelable:!1}))}loadingValueChanged(e,t){if(this.deferValue)return;const r=void 0===t?null:this.target;e?(r?.setAttribute("aria-busy","true"),r?.classList.add(...this.loadingClasses),this.iconElement?.setAttribute("href","#icon-spinner")):(r?.removeAttribute("aria-busy"),r?.classList.remove(...this.loadingClasses),this.iconElement?.setAttribute("href",this.iconValue))}search(e){const t=(e?.detail?.clear||e?.params?.clear||this.constructor.defaultClearParam).split(" "),r=this.hasInputTarget?this.inputTarget:this.element,n=r.name,a=new URLSearchParams(window.location.search),o=a.get(n)||"",i=r.value||"";if(o.trim()===i.trim())return;i?a.set(n,i):a.delete(n),t.forEach(e=>{a.delete(e)});const s="?"+a.toString(),l=this.srcValue;this.replace(l+s).then(()=>{window.history.replaceState(null,"",s)})}get formElement(){return this.hasInputTarget&&this.inputTarget.form||this.element}submit(){const e=this.formElement;let t=new FormData(e),r=this.srcValue;"GET"===e.getAttribute("method")?.toUpperCase()&&(r+="?"+new URLSearchParams(t).toString(),t=void 0),this.replace(r,t)}reflectParams(e){const t=new URL(e,window.location.href).searchParams,r=new URLSearchParams;t.forEach((e,t)=>{""===e.trim()||t.startsWith("_w_")||r.append(t,e)});const n=`?${r.toString()}`;window.history.replaceState(null,"",n)}async replace(e,t){const r=this.target,n=("string"==typeof e?e:e?.detail?.url||e?.params?.url||"")||this.srcValue;this.abortController&&this.abortController.abort(),this.abortController=new AbortController;const{signal:a}=this.abortController;if(this.loadingValue=!0,this.dispatch("begin",{cancelable:!0,detail:{requestUrl:n},target:this.target}).defaultPrevented)return Promise.resolve();const o=this.formElement.getAttribute("method")?.toUpperCase()||"GET";return fetch(n,{headers:{"x-requested-with":"XMLHttpRequest",[b.HE.CSRF_HEADER_NAME]:b.HE.CSRF_TOKEN},signal:a,method:o,body:"GET"!==o?t:void 0}).then(async e=>{if(!e.ok)throw new Se(e.status);if(this.errorValue="",this.jsonPathValue){let t;try{const r=await e.json();this.dispatch("json",{cancelable:!1,detail:{requestUrl:n,data:r}}),t=this.jsonPathValue.split(".").reduce((e,t)=>e[t],r)}catch{t=void 0}if("string"!=typeof t)throw new Error(`Unable to parse as JSON at path "${this.jsonPathValue}" to a string`);return t}return e.text()}).then(e=>{const t=async()=>(this.writeDeferred=void 0,r.innerHTML=e,this.reflectValue&&(this.dispatch("reflect",{cancelable:!0,detail:{requestUrl:n},target:r}).defaultPrevented||this.reflectParams(n)),this.dispatch("success",{cancelable:!1,detail:{requestUrl:n,results:e},target:r}),e),a='[aria-expanded="true"], [aria-describedby^="tippy"]',o=document.activeElement&&r.contains(document.activeElement),i=r.querySelector(a);return this.deferValue&&(o||i)?new Promise((n,s)=>{this.writeDeferred=t;const l=()=>{if(this.writeDeferred){const e=document.activeElement&&r.contains(document.activeElement),t=r.querySelector(a);if(e||t)return!1;this.writeDeferred().then(n).catch(s)}else n(e);return!0};if(o){const e=t=>{r.contains(t.relatedTarget)||l()&&r.removeEventListener("focusout",e)};r.addEventListener("focusout",e)}if(i){new MutationObserver((e,t)=>{l()&&t.disconnect()}).observe(r,{attributeFilter:["aria-expanded","aria-describedby"],subtree:!0})}}):t()}).catch(e=>{a.aborted||(this.dispatch("error",{bubbles:!0,cancelable:!0,detail:{error:e,requestUrl:n},target:r}).defaultPrevented||(this.errorValue=`error ${e?.status||""}`.trim()),console.error("Error fetching %s",n,e))}).finally(()=>{a===this.abortController?.signal&&(this.loadingValue=!1)})}disconnect(){this.loadingValue=!1,this.replaceLazy?.cancel(),this.searchLazy?.cancel(),this.submitLazy?.cancel()}}class Oe extends n.Controller{static values={debounce:{default:100,type:Number},delay:{default:0,type:Number},disabled:{default:!1,type:Boolean},name:{default:"",type:String},normalize:{default:!1,type:Boolean},quiet:{default:!1,type:Boolean},target:String};connect(){this.processTargetElements("start",{},!0),this.apply=(0,A.s)(this.apply.bind(this),this.debounceValue)}check({params:{bubbles:e=!1}={}}){this.processTargetElements("check",{bubbles:e},!0)}get value(){if(!this.normalizeValue)return this.element.value;const e=this.element,t=e.value||"";return"file"===e.getAttribute("type")?(t.split("\\").at(-1)||"").replace(/\.[^.]+$/,""):t}apply({params:{bubbles:e=!1,apply:t}={}}){const r=e=>{e.value=t||this.value,this.quietValue||this.dispatch("change",{cancelable:!1,prefix:"",target:e})};this.processTargetElements("apply",{bubbles:e}).forEach(e=>{this.delayValue?setTimeout(()=>{r(e)},this.delayValue):r(e)})}clear({params:{bubbles:e=!1}={}}){this.processTargetElements("clear",{bubbles:e}).forEach(e=>{setTimeout(()=>{e.setAttribute("value",""),this.quietValue||this.dispatch("change",{cancelable:!1,prefix:"",target:e})},this.delayValue)})}ping({params:{bubbles:e=!0}={}}){this.processTargetElements("ping",{bubbles:e})}processTargetElements(e,t={},r=!1){if(!r&&this.disabledValue)return[];const n=this.nameValue||"",a=[...document.querySelectorAll(this.targetValue)],o=a.filter(r=>!this.dispatch(e,{bubbles:!1,cancelable:!0,...t,detail:{element:this.element,...n?{name:n}:{},value:this.value},target:r}).defaultPrevented);return r&&(this.disabledValue=a.length>o.length),o}static afterLoad(e){const t=["wagtail:images-upload","wagtail:documents-upload"];document.addEventListener(`${e}:apply`,e=>{const{detail:{element:r,name:n="",value:a}={}}=e,o=e.target;if(!(t.includes(n)&&r&&o&&"value"in o))return;const i=r.closest("form");if(e.preventDefault(),o.value)return;const s={title:a},l=new CustomEvent(n,{bubbles:!0,cancelable:!0,detail:{data:s,filename:r.value.split("\\").at(-1),maxTitleLength:parseInt(o.getAttribute("maxLength")||"0",10)||null}}),u=i?.dispatchEvent(l);u&&(o.value=s.title)})}}var Pe=r(4072);class Ie extends n.Controller{static classes=["active"];static targets=["panel","trigger"];static values={activePanelId:{default:"",type:String},useLocation:{default:!1,type:Boolean}};historyStateKey="tabs-panel-id";tabs=[];connect(){this.historyStateKey=`${this.identifier}-panel-id`,this.tabs=this.validatedTabs;const e=this.setInitialPanel();this.panelTargets.filter(({id:t})=>t!==e).forEach(e=>{e.hidden=!0}),this.dispatch("ready",{cancelable:!1,detail:{current:e}});const t=(0,A.s)(()=>{this.tabs=this.validatedTabs},10);this.panelTargetConnected=t,this.panelTargetDisconnected=t,this.triggerTargetConnected=t,this.triggerTargetDisconnected=t}activePanelIdValueChanged(e,t){const r=this.tabs;if(0===r.length)return;if(!e)return;if(e===t)return;const n=this.panelTargets,a=n.find(({id:t})=>t===e);a&&(this.triggerTargets.forEach(n=>{if(n.getAttribute("aria-controls")!==e)return n.removeAttribute("aria-selected"),void(r.includes(n)&&n.setAttribute("tabindex","-1"));n.setAttribute("aria-selected","true"),r.includes(n)&&n.setAttribute("tabindex","0"),this.dispatch("selected",{bubbles:!0,cancelable:!1,detail:{current:e,previous:t,tabs:this.element},target:n})}),Promise.resolve((async()=>{const e=this.activeClasses,r=n.find(({id:e})=>e===t);return r?(r.classList.remove(...e),await this.afterTransition(r),r.hidden=!0,e):e})()).then(async e=>{a.hidden=!1,await this.afterTransition(a),a.classList.add(...e),await this.afterTransition(a)}),t&&(this.syncLocation(),this.dispatch("changed",{bubbles:!0,cancelable:!1,detail:{current:e,previous:t,tabs:this.element},target:a})))}async afterTransition(e){const{transitionDelay:t,transitionDuration:r}=getComputedStyle(e),n=1e3*((parseFloat(r)||0)+(parseFloat(t)||0));return n<=0?e:new Promise(t=>{let r;const a=n=>{n&&n.target!==e||(window.clearTimeout(r),e.removeEventListener("transitionend",a),e.removeEventListener("animationend",a),t(e))};e.addEventListener("animationend",a,{once:!0}),e.addEventListener("transitionend",a,{once:!0}),r=window.setTimeout(a,n)})}get locationPanelId(){if(!this.useLocationValue)return null;const e=window.location.hash;if(!e)return null;const t=e.slice(1),r=document.getElementById(t)||(0,Pe.KX)();return r&&this.panelTargets.find(e=>e.contains(r))?.id||null}select(e){if(!e)return null;if("state"in e&&e.state){const t=e.state[this.historyStateKey],r=this.tabs.find(e=>e.getAttribute("aria-controls")===t);if(r)return this.select({target:r,params:{id:t,focus:!0}})}let t=e?.target instanceof HTMLElement&&e.target||null;const{focus:r=!1,id:n=""}={id:t?.getAttribute("aria-controls")||"",..."params"in e&&e.params,..."detail"in e&&e.detail};return"tab"!==t?.getAttribute("role")&&(t=this.tabs.find(e=>e.getAttribute("aria-controls")===n)||null),n?(this.activePanelIdValue=n,t&&r&&(0,ee.s)(t),n):null}selectInside(e){const t=e.currentTarget;if(!t)return;const r=this.panelTargets.find(e=>e.contains(t))?.id;r&&this.select({target:t,params:{id:r,focus:!1}})}selectFirst(e){const t=this.tabs[0];return this.select({target:t,params:{focus:Boolean(e)}})}selectLast(e){const t=this.tabs[this.tabs.length-1];return this.select({target:t,params:{focus:Boolean(e)}})}selectNext(e){const t=this.activePanelIdValue,r=this.tabs,n=r.findIndex(e=>e.getAttribute("aria-controls")===t),a=r[(n+1)%r.length];return this.select({target:a,params:{focus:Boolean(e)}})}selectPrevious(e){const t=this.activePanelIdValue,r=this.tabs,n=r.findIndex(e=>e.getAttribute("aria-controls")===t),a=r[(n-1+r.length)%r.length];return this.select({target:a,params:{focus:Boolean(e)}})}setInitialPanel(){const e=this.activePanelIdValue,t=this.locationPanelId||e||this.triggerTargets.find(e=>"true"===e.getAttribute("aria-selected"))?.getAttribute("aria-controls")||this.selectFirst();return t&&e===t?this.activePanelIdValueChanged(t,""):this.activePanelIdValue=t,t}syncLocation(){if(!this.useLocationValue)return null;const e=this.activePanelIdValue,t=this.historyStateKey;if(!window.history.state||window.history.state[t]!==e){const r={[t]:e};return window.history.pushState(r,"",`#${e}`),e}return null}get validatedTabs(){const e=this.identifier,t=this.element.querySelector('[role="tablist"]');if(!t)throw new Error("There must be an element with `role='tablist'` within the controller's scope.");const r=this.panelTargets.map(e=>{if("tabpanel"!==e.getAttribute("role"))throw new Error("Tab panel elements must have the `role='tabpanel'` attribute set",{cause:e});return e});if(!r.length)throw new Error(`Tabs must be supplied with at least one panel target using 'data-${e}-target="panel"'.`);const n=this.triggerTargets.filter(n=>{const a=`data-${e}-id-param`,o=n.getAttribute("aria-controls")||n.getAttribute("href")?.replace("#","")||n.getAttribute(a),i=r.find(({id:e})=>e===o);if(!o||!i)throw new Error(`Cannot find matching a matching panel for the trigger/tab in 'aria-controls', 'href' or '${a}'.`,{cause:n});if(n.setAttribute("aria-controls",o),!t.contains(n))return!1;if(!(i.getAttribute("aria-labelledby")||"").split(" ").includes(n.id))throw new Error("Panel targets must have a panels must be labelled by their tab.",{cause:i});if("tab"!==n.getAttribute("role"))throw new Error("Tabs must use `role=tab`.",{cause:n});return!0});if(!n.length)throw new Error(`Tabs must be supplied with at least one valid tab target using 'data-${e}-target="trigger"' within role="tablist".`);if(n.length!==r.length)throw new Error('Each tab panel must have a valid tab within the "role=tablist".');return n}}class Me extends n.Controller{static values={delay:{type:Number,default:0},options:{default:{},type:Object},url:{default:"",type:String}};autocompleteAbort=null;autocompleteLazy;tagit;initialize(){this.autocompleteLazy=(0,A.s)(this.autocomplete.bind(this),this.delayValue)}connect(){const e=this.cleanTag.bind(this),t={source:(e,t)=>{this.autocompleteLazy.cancel(),this.autocompleteLazy(e).then(t)}};g()(this.element).tagit({autocomplete:t,preprocessTag:e,...this.optionsValue})}async autocomplete({term:e}){this.autocompleteAbort&&this.autocompleteAbort.abort(),this.autocompleteAbort=new AbortController;const{signal:t}=this.autocompleteAbort;try{const r=new URL(this.urlValue,window.location.origin);r.searchParams.set("term",e);const n=await fetch(r.toString(),{headers:{Accept:"application/json"},method:"GET",signal:t}),a=await n.json();return Array.isArray(a)?a:[]}catch(t){t instanceof DOMException&&"AbortError"===t.name||this.context.application.handleError(t,"Network or API error during autocomplete request.",{term:e,url:this.urlValue})}finally{this.autocompleteAbort=null}return[]}cleanTag(e){return e&&'"'!==e[0]&&e.indexOf(" ")>-1?`"${e}"`:e}clear(){g()(this.element).tagit("removeAll")}disconnect(){this.autocompleteAbort&&(this.autocompleteAbort.abort(),this.autocompleteAbort=null)}}var Le,Be=r(2223);class Ve extends n.Controller{static values={checkInterval:{default:500,type:Number},confirmation:{default:!1,type:Boolean},force:{default:!1,type:Boolean},hasComments:{default:!1,type:Boolean},hasEdits:{default:!1,type:Boolean}};static initialDelayValue=2e3;static notifyDelayValue=30;initialFormData;previousFormData;checkInterval=null;initialize(){this.check=this.check.bind(this),this.notify=this.notify.bind(this),this.setInitialFormData=this.setInitialFormData.bind(this)}connect(){this.dispatch("ready",{cancelable:!1})}get formData(){const e=new FormData(this.element);["csrfmiddlewaretoken","loaded_revision_id","loaded_revision_created_at","next"].forEach(t=>e.delete(t));for(const t of[...e.keys()])if(t.startsWith("comments-"))e.delete(t);else if(e.get(t)instanceof File){const r=e.getAll(t).flatMap(e=>[["name",e.name],["size",`${e.size}`],["type",e.type]]);e.set(t,new URLSearchParams(r).toString())}return new URLSearchParams(e).toString()}hasChanges(){if(!this.initialFormData)return!1;const e=this.formData,{commentApp:t}=window.comments||{},r=!!t?.selectors.selectIsDirty(t?.store.getState()),n=this.previousFormData!==e||r&&!this.hasCommentsValue;return this.hasEditsValue=this.forceValue||this.initialFormData!==e,this.hasCommentsValue=r,this.previousFormData=e,n}check(){this.hasChanges()&&this.notify()}checkIntervalValueChanged(e){if(this.forceValue)return void(this.hasEditsValue=!0);this.initialFormData||(0,A.s)(this.setInitialFormData,Ve.initialDelayValue)(),this.checkInterval&&clearInterval(this.checkInterval),this.checkInterval=ke(this.check,e);const t=e+Ve.notifyDelayValue;"restore"in this.notify&&(this.notify.cancel(),this.notify=this.notify.restore()),this.notify=(0,A.s)(this.notify,t)}setInitialFormData(){const e=this.formData;this.initialFormData=e,this.previousFormData=e,this.dispatch("watch-edits",{cancelable:!1,detail:{initialFormData:e}})}clear(){this.setInitialFormData(),this.hasEditsValue=!1,this.hasCommentsValue=!1,this.forceValue=!1}confirm(e){if(this.confirmationValue&&this.hasEditsValue){if(this.dispatch("confirm",{cancelable:!0}).defaultPrevented)return;e.preventDefault()}}hasEditsValueChanged(e,t){e!==t&&this.notify()}notify=()=>{this.hasEditsValue||this.hasCommentsValue?this.dispatch("add",{cancelable:!0,detail:{type:"edits"}}):this.dispatch("clear",{cancelable:!1})};submit(){this.confirmationValue=!1}disconnect(){this.checkInterval&&(clearInterval(this.checkInterval),this.checkInterval=null)}}class je extends Error{constructor(e){super(e),this.message=`Version number '${e}' is not formatted correctly.`}}class qe extends Error{constructor(){super(),this.message="Can only compare prerelease versions"}}class ze{static MAJOR=new ze("Major");static MINOR=new ze("Minor");static PATCH=new ze("Patch");static PRE_RELEASE_STEP=new ze("PreReleaseStep");static PRE_RELEASE_VERSION=new ze("PreReleaseVersion");constructor(e){this.name=e}}class $e{constructor(e){const t=e.match(/^(?<major>\d+)\.{1}(?<minor>\d+)((\.{1}(?<patch>\d+))|(?<preReleaseStep>a|b|rc|\.dev){1}(?<preReleaseVersion>\d+)){0,1}$/);if(null===t)throw new je(e);const r=t.groups;this.major=parseInt(r.major,10),this.minor=parseInt(r.minor,10),this.patch=r.patch?parseInt(r.patch,10):0,this.preReleaseStep=r.preReleaseStep?r.preReleaseStep:null,this.preReleaseVersion=r.preReleaseVersion?parseInt(r.preReleaseVersion,10):null}isPreRelease(){return null!==this.preReleaseStep}isPreReleaseStepBehind(e){if(!this.isPreRelease()||!e.isPreRelease())throw new qe;return"a"===this.preReleaseStep&&("b"===e.preReleaseStep||"rc"===e.preReleaseStep)||"b"===this.preReleaseStep&&"rc"===e.preReleaseStep}howMuchBehind(e){if(this.major<e.major)return ze.MAJOR;if(this.major===e.major&&this.minor<e.minor)return ze.MINOR;if(this.major===e.major&&this.minor===e.minor&&!this.isPreRelease()&&!e.isPreRelease()&&this.patch<e.patch)return ze.PATCH;if(this.major===e.major&&this.minor===e.minor&&this.isPreRelease()){if(!e.isPreRelease())return ze.MINOR;if(this.isPreReleaseStepBehind(e))return ze.PRE_RELEASE_STEP;if(this.preReleaseStep===e.preReleaseStep&&this.preReleaseVersion<e.preReleaseVersion)return ze.PRE_RELEASE_VERSION}return null}}class Ue extends n.Controller{static targets=["latestVersion","link","dismiss"];static values={currentVersion:String,ltsOnly:{default:!1,type:Boolean},url:{default:"https://releases.wagtail.org/latest.txt",type:String}};connect(){this.checkVersion()}get knownVersion(){return new $e(this.hasDismissTarget&&this.dismissTarget.getAttribute("data-w-dismissible-value-param")||this.currentVersionValue)}checkVersion(){const e=this.urlValue,t=new $e(this.currentVersionValue),r=this.ltsOnlyValue;fetch(e,{referrerPolicy:"strict-origin-when-cross-origin"}).then(t=>{if(200!==t.status)throw Error(`Unexpected response from ${e}. Status: ${t.status}`);return t.json()}).then(e=>{let n=e;if(e&&e.lts&&r&&(n=e.lts),!n?.version)return;const a=new $e(n.version),o=t.howMuchBehind(a);if(!o||!this.knownVersion.howMuchBehind(a))return;let i;if(i=o===ze.MAJOR||o===ze.MINOR?n.minorUrl:n.url,this.hasLatestVersionTarget){const e=[n.version,r?"(LTS)":""].join(" ").trim();this.latestVersionTarget.textContent=e}this.hasLinkTarget&&this.linkTarget.setAttribute("href",i||""),this.hasDismissTarget&&this.dismissTarget.setAttribute("data-w-dismissible-value-param",n.version),this.element.hidden=!1}).catch(t=>{console.error(`Error fetching ${e}. Error: ${t}`)})}}!function(e){e.Active="active",e.Inactive=""}(Le||(Le={}));class He extends n.Controller{static classes=["active","inactive"];static values={delay:{type:Number,default:0},mode:{type:String,default:Le.Inactive},switchKey:{type:String,default:""}};initialize(){const e=this.delayValue;e<=0||(this.activate=(0,A.s)(this.activate.bind(this),e),this.deactivate=(0,A.s)(this.deactivate.bind(this),2*e))}activate(){this.modeValue=Le.Active}deactivate(){this.modeValue=Le.Inactive}modeValueChanged(e,t){const r=this.element,n=this.activeClasses,a=this.inactiveClasses;if(n.length+a.length&&t!==e){if(void 0===t){if(n.every(e=>r.classList.contains(e))&&(this.modeValue=Le.Active,0!==n.length))return;if(a.every(e=>r.classList.contains(e)))return void(this.modeValue=Le.Inactive)}e===Le.Active?(r.classList.add(...n),r.classList.remove(...a)):(r.classList.add(...a),r.classList.remove(...n))}}noop(){}switch(e){const{switchKey:t,...r}={switchKey:this.switchKeyValue||Le.Active,...e?.detail,...e?.params},n=t.startsWith("!"),a=n?t.slice(1):t;if(!a||!(a in r))return;const o=!!r[a]===n?Le.Inactive:Le.Active;this.modeValue=o}}const Ge=[{controllerConstructor:y,identifier:"w-action"},{controllerConstructor:F,identifier:"w-autosave"},{controllerConstructor:_,identifier:"w-autosize"},{controllerConstructor:O,identifier:"w-block"},{controllerConstructor:P,identifier:"w-bulk"},{controllerConstructor:V,identifier:"w-clean"},{controllerConstructor:V,identifier:"w-slug"},{controllerConstructor:j,identifier:"w-clipboard"},{controllerConstructor:z,identifier:"w-clone"},{controllerConstructor:z,identifier:"w-messages"},{controllerConstructor:$,identifier:"w-count"},{controllerConstructor:U.v,identifier:"w-dialog"},{controllerConstructor:H,identifier:"w-dismissible"},{controllerConstructor:G,identifier:"w-drilldown"},{controllerConstructor:Q,identifier:"w-dropdown"},{controllerConstructor:te,identifier:"w-focus"},{controllerConstructor:ne,identifier:"w-formset"},{controllerConstructor:ae,identifier:"w-init"},{controllerConstructor:le,identifier:"w-kbd"},{controllerConstructor:ue,identifier:"w-locale"},{controllerConstructor:pe,identifier:"w-orderable"},{controllerConstructor:Ae,identifier:"w-preview"},{controllerConstructor:Ce,identifier:"w-progress"},{controllerConstructor:Fe,identifier:"w-breadcrumbs"},{controllerConstructor:Fe,identifier:"w-reveal"},{controllerConstructor:Te,identifier:"w-rules"},{controllerConstructor:Re,identifier:"w-session"},{controllerConstructor:Ne,identifier:"w-submit"},{controllerConstructor:_e,identifier:"w-swap"},{controllerConstructor:Oe,identifier:"w-sync"},{controllerConstructor:Ie,identifier:"w-tabs"},{controllerConstructor:Me,identifier:"w-tag"},{controllerConstructor:Be.I,identifier:"w-teleport"},{controllerConstructor:Y,identifier:"w-tooltip"},{controllerConstructor:Ve,identifier:"w-unsaved"},{controllerConstructor:Ue,identifier:"w-upgrade"},{controllerConstructor:He,identifier:"w-zone"}];class We{type;prefix;constructor(e){this.type=e.type,this.prefix=e.prefix}getPanelByName(e){return null}}const Ke=(e,t=!("true"===e.getAttribute("aria-expanded")))=>{const r=document.querySelector(`#${e.getAttribute("aria-controls")}`);r&&(e.setAttribute("aria-expanded",`${t}`),t?r.removeAttribute("hidden"):"onbeforematch"in document.body?r.setAttribute("hidden","until-found"):r.setAttribute("hidden",""),e.dispatchEvent(new CustomEvent("commentAnchorVisibilityChange",{bubbles:!0})),e.dispatchEvent(new CustomEvent("wagtail:panel-toggle",{bubbles:!0,cancelable:!1,detail:{expanded:t}})))};function Ye(e){const t=e.closest("[data-panel]"),r=document.querySelector(`#${e.getAttribute("aria-controls")}`);if(!r||!t||t.collapsibleInitialised)return;t.collapsibleInitialised=!0;const n=Ke.bind(null,e),a=t.classList.contains("collapsed"),o=r.querySelector('[aria-invalid="true"], .error, .w-field--error'),i=a&&!o;i&&n(!1),e.addEventListener("click",n.bind(null,void 0));const s=t.querySelector("[data-panel-heading]");s&&s.addEventListener("click",n.bind(null,void 0)),r.addEventListener("beforematch",n.bind(null,!0)),e.dispatchEvent(new CustomEvent("wagtail:panel-init",{bubbles:!0,cancelable:!1,detail:{expanded:!i}}))}class Ze extends v{constructor(e,t=!0){if(super(e.formsetPrefix,e,t),this.type=e.type,this.prefix=e.prefix,this.relationName=e.relationName,this.formsElt=g()("#"+e.formsetPrefix+"-FORMS"),t){this.opts.canOrder&&(this.sortable=de.Ay.create(this.formsElt.get(0),{handle:"[data-inline-panel-child-drag]",animation:200,onEnd:this.handleDragEnd.bind(this),setData:e=>{e.setData("application/vnd.wagtail.type","inlinepanel-child")}}));for(let e=0;e<this.formCount;e+=1){const t=this.opts.emptyChildFormPrefix.replace(/__prefix__/g,e);this.initChildControls(t)}this.updateControlStates(),setTimeout(()=>{this.formsElt.get(0)?.dispatchEvent(new CustomEvent("w-formset:ready",{bubbles:!0,cancelable:!1,detail:{...e}}))})}}updateControlStates(){this.updateChildCount(),this.updateMoveButtonDisabledStates(),this.updateAddButtonState()}initChildControls(e){const t="inline_child_"+e,r="id_"+e+"-DELETE",n=g()("#"+t),a=n.find("[data-inline-panel-child-move-up]:first "),o=n.find("[data-inline-panel-child-move-down]:first ");g()("#"+r+"-button").on("click",()=>{g()("#"+r).val("1").get(0).dispatchEvent(new Event("change",{bubbles:!0})),n.addClass("deleted").slideUp(()=>{this.updateControlStates(),n.get(0).dispatchEvent(new CustomEvent("w-formset:removed",{bubbles:!0,cancelable:!1,detail:{...this.opts}}))})}),this.opts.canOrder&&(a.on("click",()=>{const t=n.find(`input[name="${e}-ORDER"]`),r=t.val(),a=n.prevAll(":not(.deleted)").first();if(!a.length)return;const o=a[0].id.replace("inline_child_",""),i=a.find(`input[name="${o}-ORDER"]`),s=i.val();this.animateSwap(n,a),n.insertBefore(a),t.val(s),i.val(r),this.updateControlStates()}),o.on("click",()=>{const t=n.find(`input[name="${e}-ORDER"]`),r=t.val(),a=n.nextAll(":not(.deleted)").first();if(!a.length)return;const o=a[0].id.replace("inline_child_",""),i=a.find(`input[name="${o}-ORDER"]`),s=i.val();this.animateSwap(n,a),n.insertAfter(a),t.val(s),i.val(r),this.updateControlStates()})),"1"===g()("#"+r).val()&&(g()("#"+t).addClass("deleted").hide(0,()=>{this.updateControlStates()}),g()("#"+t).find(".error-message").remove())}updateMoveButtonDisabledStates(){if(this.opts.canOrder){const e=this.formsElt.children(":not(.deleted)");e.each(function(t){const r=0===t,n=t===e.length-1;g()("[data-inline-panel-child-move-up]:first",this).prop("disabled",r),g()("[data-inline-panel-child-move-down]:first",this).prop("disabled",n)})}}updateChildCount(){this.formsElt.children(":not(.deleted)").each(function(e){g()("[data-inline-panel-child-count]",this).first().text(` ${e+1}`)})}getChildCount(){return g()("> [data-inline-panel-child]",this.formsElt).not(".deleted").length}updateAddButtonState(){if(this.opts.maxForms){const e=g()("#"+this.opts.formsetPrefix+"-ADD");this.getChildCount()>=this.opts.maxForms?e.prop("disabled",!0):e.prop("disabled",!1)}}animateSwap(e,t){const r=this.formsElt,n=r.children(":not(.deleted)");r.css({position:"relative",height:r.height()}),n.each(function(){g()(this).css("top",g()(this).position().top)}).css({position:"absolute",width:"100%"}),e.animate({top:t.position().top},200,()=>{r.removeAttr("style"),n.removeAttr("style")}),t.animate({top:e.position().top},200,()=>{r.removeAttr("style"),n.removeAttr("style")})}initialFocus(e){e&&e.length&&(e.attr("tabindex")||(e.attr("tabindex",-1),e.one("blur",()=>{"-1"===e.attr("tabindex")&&e.removeAttr("tabindex")})),e[0].scrollIntoView({behavior:"smooth"}),e.focus())}addForm(e={}){super.addForm({runCallbacks:!1});const t=this.formCount-1,r=this.opts.emptyChildFormPrefix.replace(/__prefix__/g,t);this.initChildControls(r),this.opts.canOrder&&g()("#id_"+r+"-ORDER").val(t+1).get(0).dispatchEvent(new Event("change",{bubbles:!0})),this.updateControlStates(),function(e=document.querySelectorAll("[data-panel-toggle]")){e.forEach(Ye)}(document.querySelectorAll(`#inline_child_${r} [data-panel-toggle]`)),"runCallbacks"in e&&!e.runCallbacks||(this.opts.onAdd&&this.opts.onAdd(t),this.opts.onInit&&this.opts.onInit(t)),this.initialFocus(g()(`#inline_child_${r}-panel-content`));const n=this.formsElt.children().last().get(0);n&&n.dispatchEvent(new CustomEvent("w-formset:added",{bubbles:!0,cancelable:!1,detail:{formIndex:t,...this.opts}}))}updateOrderValues(){this.formsElt.children(":not(.deleted)").each((e,t)=>{const r=t.id.replace("inline_child_","");g()(t).find(`[name="${r}-ORDER"]`).val(e+1)})}handleDragEnd(e){const{oldIndex:t,newIndex:r}=e;t!==r&&(this.updateOrderValues(),this.updateControlStates())}getPanelByName(e){return e===this.relationName?this:null}}class Xe extends Ze{constructor(e,t=!0){super(e),this.chooserWidgetFactory=window.telepath.unpack(JSON.parse(document.getElementById(`${e.formsetPrefix}-CHOOSER_WIDGET`).textContent)),t&&document.getElementById(`${e.formsetPrefix}-OPEN_MODAL`).addEventListener("click",()=>{this.chooserWidgetFactory.openModal(t=>{t.forEach(t=>{if(e.maxForms&&this.getChildCount()>=e.maxForms)return;this.addForm();const r=this.formCount-1,n=`${e.formsetPrefix}-${r}-${e.chooserFieldName}`;this.chooserWidgetFactory.getById(n).setStateFromModalData(t)})},{multiple:!0})})}updateOpenModalButtonState(){if(this.opts.maxForms){const e=document.getElementById(`${this.opts.formsetPrefix}-OPEN_MODAL`);this.getChildCount()>=this.opts.maxForms?(e.setAttribute("disabled","true"),e.setAttribute("data-force-disabled","true")):(e.removeAttribute("disabled"),e.removeAttribute("data-force-disabled"))}}updateControlStates(){super.updateControlStates(),this.updateOpenModalButtonState()}}class Je extends n.Application{queryController(e){return this.getControllerForElementAndIdentifier(document.querySelector(`[${this.schema.controllerAttribute}~="${e}"]`),e)}queryControllerAll(e){return Array.from(document.querySelectorAll(`[${this.schema.controllerAttribute}~="${e}"]`)).map(t=>this.getControllerForElementAndIdentifier(t,e)).filter(Boolean)}}var Qe=r(4327);window.StimulusModule=n;const et=window.wagtail||{};et.app=(({debug:e=!1,definitions:t=[],root:r=document.documentElement}={})=>{const n=Je.start(r);return n.debug=e,n.load(t),n})({definitions:Ge}),et.components={Icon:l.A,Portal:u.A},window.wagtailConfig=b.HE,window.wagtail=et,window.escapeHtml=Qe.Z,window.InlinePanel=Ze,window.MultipleChooserPanel=Xe,window.telepath||(window.telepath=new(o())),window.telepath.register("wagtail.panels.Panel",We),window.telepath.register("wagtail.panels.PanelGroup",class extends We{children;constructor(e){super(e),this.children=e.children}getPanelByName(e){for(const t of this.children){const r=t.getPanelByName(e);if(r)return r}return null}}),window.telepath.register("wagtail.panels.FieldPanel",class extends We{#t;fieldName;widget;constructor(e){super(e),this.fieldName=e.fieldName,this.widget=e.widget}getBoundWidget(){if(void 0!==this.#t)return this.#t;if(this.widget.getByName){const e=document.getElementById(`${this.prefix}-wrapper`);this.#t=this.widget.getByName(this.fieldName,e||document.body)}else this.#t=null;return this.#t}getPanelByName(e){return e===this.fieldName?this:null}getErrorMessage(){const e=document.getElementById(`${this.prefix}-errors`);return e?.querySelector(".error-message")?.textContent?.trim()}setErrorMessage(e){const t=`${this.prefix}-errors`,r=document.getElementById(t);if(!r)return;const n=this.getBoundWidget()?.input;if(e){if(r.innerHTML='\n <svg class="icon icon-warning w-field__errors-icon" aria-hidden="true"><use href="#icon-warning"></use></svg>\n <p class="error-message"></p>\n ',r.querySelector(".error-message").textContent=e,n){n.setAttribute("aria-invalid","true");const e=(n.getAttribute("aria-describedby")||"").split(" ").filter(Boolean);e.includes(t)||e.push(t),n.setAttribute("aria-describedby",e.join(" "))}}else if(r.innerHTML="",n){n.removeAttribute("aria-invalid");const e=(n.getAttribute("aria-describedby")||"").split(" ").filter(e=>e!==t).join(" ");n.setAttribute("aria-describedby",e)}}}),window.telepath.register("wagtail.panels.InlinePanel",Ze),window.telepath.register("wagtail.panels.MultipleChooserPanel",Xe),window.buildExpandingFormset=function(e,t={}){return new v(e,t)}},8609:function(e,t,r){var n,a;e=r.nmd(e),function o(i){var s=i,l=i.document;function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}var c=c||{};c.version="4.11.0",void 0===(a=function(){return c}.apply(t,[]))||(e.exports=a),"object"===u(e)&&e.exports&&"function"==typeof o.toString&&(c.source="("+o.toString()+')(typeof window === "object" ? window : this);',e.exports=c),"function"==typeof i.getComputedStyle&&(i.axe=c);var d=["precision","format","inGamut"],p=["space"],h=["algorithm"],f=["method"],m=["maxDeltaE","deltaEMethod","steps","maxSteps"],g=["variant"],v=["matches"],b=["chromium"],y=["noImplicit"],w=["noPresentational"],D=["node"],E=["relatedNodes"],x=["node"],A=["node"],C=["environmentData"],F=["environmentData"],T=["environmentData"],k=["environmentData"],R=["environmentData"];function N(e){var t="function"==typeof Map?new Map:void 0;return N=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return _(e,arguments,M(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),B(r,e)},N(e)}function S(e,t,r){return(t=ee(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _(e,t,r){if(I())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var a=new(e.bind.apply(e,n));return r&&B(a,r.prototype),a}function O(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function P(e,t,r){return t=M(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,I()?Reflect.construct(t,r||[],M(e).constructor):t.apply(e,r))}function I(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(I=function(){return!!e})()}function M(e){return M=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},M(e)}function L(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&B(e,t)}function B(e,t){return B=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},B(e,t)}function V(){return V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},V.apply(null,arguments)}function j(e){return function(e){if(Array.isArray(e))return ne(e)}(e)||q(e)||re(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function q(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function z(e,t,r){U(e,t),t.set(e,r)}function $(e,t){U(e,t),t.add(e)}function U(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function H(e,t){return e.get(W(e,t))}function G(e,t,r){return e.set(W(e,t),r),r}function W(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function K(e,t){return Z(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,i,s=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){u=!0,a=e}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw a}}return s}}(e,t)||re(e,t)||Y()}function Y(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Z(e){if(Array.isArray(e))return e}function X(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ee(n.key),n)}}function Q(e,t,r){return t&&J(e.prototype,t),r&&J(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function ee(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function te(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=re(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw o}}}}function re(e,t){if(e){if("string"==typeof e)return ne(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ne(e,t):void 0}}function ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}!function(e,t,o,I,M,B,U,J,ee,ne,ae){var oe=Object.create,ie=Object.defineProperty,se=Object.getPrototypeOf,le=Object.prototype.hasOwnProperty,ue=Object.getOwnPropertyNames,ce=Object.getOwnPropertyDescriptor,de=function(e,t){return function(){return t||e((t={exports:{}}).exports,t),t.exports}},pe=function(e,t){for(var r in t)ie(e,r,{get:t[r],enumerable:!0})},he=function(e){return function(e,t,r){if(t&&"object"===u(t)||"function"==typeof t){var n,a=te(ue(t));try{var o=function(){var a=n.value;le.call(e,a)||"default"===a||ie(e,a,{get:function(){return t[a]},enumerable:!(r=ce(t,a))||r.enumerable})};for(a.s();!(n=a.n()).done;)o()}catch(e){a.e(e)}finally{a.f()}}return e}((t=ie(null!=e?oe(se(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0}),ie(t,"__esModule",{value:!0})),e);var t},fe=function(e,t,r){return function(e,t,r){t in e?ie(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==u(t)?t+"":t,r),r},me=de(function(e,t){var o;o=function(){"use strict";function e(e){return"function"==typeof e}var t=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},r=0,n=void 0,a=void 0,o=function(e,t){g[r]=e,g[r+1]=t,2===(r+=2)&&(a?a(v):E())},c=void 0!==i?i:void 0,d=c||{},p=d.MutationObserver||d.WebKitMutationObserver,h="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),f="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function m(){var e=setTimeout;return function(){return e(v,1)}}var g=new Array(1e3);function v(){for(var e=0;e<r;e+=2)(0,g[e])(g[e+1]),g[e]=void 0,g[e+1]=void 0;r=0}var b,y,w,D,E=void 0;function x(e,t){var r=this,n=new this.constructor(F);void 0===n[C]&&V(n);var a=r._state;if(a){var i=arguments[a-1];o(function(){return L(a,n,i,r._result)})}else I(r,n,e,t);return n}function A(e){if(e&&"object"===u(e)&&e.constructor===this)return e;var t=new this(F);return S(t,e),t}h?E=function(){return process.nextTick(v)}:p?(y=0,w=new p(v),D=l.createTextNode(""),w.observe(D,{characterData:!0}),E=function(){D.data=y=++y%2}):f?((b=new MessageChannel).port1.onmessage=v,E=function(){return b.port2.postMessage(0)}):E=void 0===c?function(){try{var e=Function("return this")().require("vertx");return void 0!==(n=e.runOnLoop||e.runOnContext)?function(){n(v)}:m()}catch(e){return m()}}():m();var C=Math.random().toString(36).substring(2);function F(){}var T=void 0,k=1,R=2;function N(t,r,n){r.constructor===t.constructor&&n===x&&r.constructor.resolve===A?function(e,t){t._state===k?O(e,t._result):t._state===R?P(e,t._result):I(t,void 0,function(t){return S(e,t)},function(t){return P(e,t)})}(t,r):void 0===n?O(t,r):e(n)?function(e,t,r){o(function(e){var n=!1,a=function(r,a){try{r.call(a,function(r){n||(n=!0,t!==r?S(e,r):O(e,r))},function(t){n||(n=!0,P(e,t))})}catch(e){return e}}(r,t,0,0,e._label);!n&&a&&(n=!0,P(e,a))},e)}(t,r,n):O(t,r)}function S(e,t){if(e===t)P(e,new TypeError("You cannot resolve a promise with itself"));else if(a=u(n=t),null===n||"object"!==a&&"function"!==a)O(e,t);else{var r=void 0;try{r=t.then}catch(t){return void P(e,t)}N(e,t,r)}var n,a}function _(e){e._onerror&&e._onerror(e._result),M(e)}function O(e,t){e._state===T&&(e._result=t,e._state=k,0!==e._subscribers.length&&o(M,e))}function P(e,t){e._state===T&&(e._state=R,e._result=t,o(_,e))}function I(e,t,r,n){var a=e._subscribers,i=a.length;e._onerror=null,a[i]=t,a[i+k]=r,a[i+R]=n,0===i&&e._state&&o(M,e)}function M(e){var t=e._subscribers,r=e._state;if(0!==t.length){for(var n=void 0,a=void 0,o=e._result,i=0;i<t.length;i+=3)n=t[i],a=t[i+r],n?L(r,n,a,o):a(o);e._subscribers.length=0}}function L(t,r,n,a){var o=e(n),i=void 0,s=void 0,l=!0;if(o){try{i=n(a)}catch(e){l=!1,s=e}if(r===i)return void P(r,new TypeError("A promises callback cannot return that same promise."))}else i=a;r._state!==T||(o&&l?S(r,i):!1===l?P(r,s):t===k?O(r,i):t===R&&P(r,i))}var B=0;function V(e){e[C]=B++,e._state=void 0,e._result=void 0,e._subscribers=[]}var j=function(){function e(e,r){this._instanceConstructor=e,this.promise=new e(F),this.promise[C]||V(this.promise),t(r)?(this.length=r.length,this._remaining=r.length,this._result=new Array(this.length),0===this.length?O(this.promise,this._result):(this.length=this.length||0,this._enumerate(r),0===this._remaining&&O(this.promise,this._result))):P(this.promise,new Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;this._state===T&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var r=this._instanceConstructor,n=r.resolve;if(n===A){var a=void 0,o=void 0,i=!1;try{a=e.then}catch(e){i=!0,o=e}if(a===x&&e._state!==T)this._settledAt(e._state,t,e._result);else if("function"!=typeof a)this._remaining--,this._result[t]=e;else if(r===q){var s=new r(F);i?P(s,o):N(s,e,a),this._willSettleAt(s,t)}else this._willSettleAt(new r(function(t){return t(e)}),t)}else this._willSettleAt(n(e),t)},e.prototype._settledAt=function(e,t,r){var n=this.promise;n._state===T&&(this._remaining--,e===R?P(n,r):this._result[t]=r),0===this._remaining&&O(n,this._result)},e.prototype._willSettleAt=function(e,t){var r=this;I(e,void 0,function(e){return r._settledAt(k,t,e)},function(e){return r._settledAt(R,t,e)})},e}(),q=function(){function t(e){this[C]=B++,this._result=this._state=void 0,this._subscribers=[],F!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(e,t){try{t(function(t){S(e,t)},function(t){P(e,t)})}catch(t){P(e,t)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(t){var r=this,n=r.constructor;return e(t)?r.then(function(e){return n.resolve(t()).then(function(){return e})},function(e){return n.resolve(t()).then(function(){throw e})}):r.then(t,t)},t}();return q.prototype.then=x,q.all=function(e){return new j(this,e).promise},q.race=function(e){var r=this;return t(e)?new r(function(t,n){for(var a=e.length,o=0;o<a;o++)r.resolve(e[o]).then(t,n)}):new r(function(e,t){return t(new TypeError("You must pass an array to race."))})},q.resolve=A,q.reject=function(e){var t=new this(F);return P(t,e),t},q._setScheduler=function(e){a=e},q._setAsap=function(e){o=e},q._asap=o,q.polyfill=function(){var e=void 0;if(void 0!==s)e=s;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var r=null;try{r=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===r&&!t.cast)return}e.Promise=q},q.Promise=q,q},"object"===u(e)&&void 0!==t?t.exports=o():void 0===(a="function"==typeof(n=o)?n.call(e,r,e,t):n)||(t.exports=a)}),ge=de(function(e){var t,r,n=(t=Object.prototype.toString,r=Object.prototype.hasOwnProperty,{Class:function(e){return t.call(e).replace(/^\[object *|\]$/g,"")},HasProperty:function(e,t){return t in e},HasOwnProperty:function(e,t){return r.call(e,t)},IsCallable:function(e){return"function"==typeof e},ToInt32:function(e){return 0|e},ToUint32:function(e){return e>>>0}}),a=Math.LN2,o=Math.abs,i=Math.floor,s=Math.log,l=Math.min,c=Math.pow,d=Math.round;function p(e,t,r){return e<t?t:e>r?r:e}var h,f=Object.getOwnPropertyNames||function(e){if(e!==Object(e))throw new TypeError("Object.getOwnPropertyNames called on non-object");var t,r=[];for(t in e)n.HasOwnProperty(e,t)&&r.push(t);return r};function m(e){if(f&&h){var t,r=f(e);for(t=0;t<r.length;t+=1)h(e,r[t],{value:e[r[t]],writable:!1,enumerable:!1,configurable:!1})}}function g(e,t){var r=32-t;return e<<r>>r}function v(e,t){var r=32-t;return e<<r>>>r}function b(e){return[255&e]}function y(e){return g(e[0],8)}function w(e){return[255&e]}function D(e){return v(e[0],8)}function E(e){return[(e=d(Number(e)))<0?0:e>255?255:255&e]}function x(e){return[e>>8&255,255&e]}function A(e){return g(e[0]<<8|e[1],16)}function C(e){return[e>>8&255,255&e]}function F(e){return v(e[0]<<8|e[1],16)}function T(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function k(e){return g(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function R(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function N(e){return v(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function S(e,t,r){var n,u,d,p,h,f,m,g=(1<<t-1)-1;function v(e){var t=i(e),r=e-t;return r<.5?t:r>.5||t%2?t+1:t}for(e!=e?(u=(1<<t)-1,d=c(2,r-1),n=0):e===1/0||e===-1/0?(u=(1<<t)-1,d=0,n=e<0?1:0):0===e?(u=0,d=0,n=1/e==-1/0?1:0):(n=e<0,(e=o(e))>=c(2,1-g)?(u=l(i(s(e)/a),1023),(d=v(e/c(2,u)*c(2,r)))/c(2,r)>=2&&(u+=1,d=1),u>g?(u=(1<<t)-1,d=0):(u+=g,d-=c(2,r))):(u=0,d=v(e/c(2,1-g-r)))),h=[],p=r;p;p-=1)h.push(d%2?1:0),d=i(d/2);for(p=t;p;p-=1)h.push(u%2?1:0),u=i(u/2);for(h.push(n?1:0),h.reverse(),f=h.join(""),m=[];f.length;)m.push(parseInt(f.substring(0,8),2)),f=f.substring(8);return m}function _(e,t,r){var n,a,o,i,s,l,u,d,p=[];for(n=e.length;n;n-=1)for(o=e[n-1],a=8;a;a-=1)p.push(o%2?1:0),o>>=1;return p.reverse(),i=p.join(""),s=(1<<t-1)-1,l=parseInt(i.substring(0,1),2)?-1:1,u=parseInt(i.substring(1,1+t),2),d=parseInt(i.substring(1+t),2),u===(1<<t)-1?0===d?l*(1/0):NaN:u>0?l*c(2,u-s)*(1+d/c(2,r)):0!==d?l*c(2,-(s-1))*(d/c(2,r)):l<0?-0:0}function O(e){return _(e,11,52)}function P(e){return S(e,11,52)}function I(e){return _(e,8,23)}function M(e){return S(e,8,23)}h=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{}),!0}catch(e){return!1}}()?Object.defineProperty:function(e,t,r){if(!e===Object(e))throw new TypeError("Object.defineProperty called on non-object");return n.HasProperty(r,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(e,t,r.get),n.HasProperty(r,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(e,t,r.set),n.HasProperty(r,"value")&&(e[t]=r.value),e},function(){function t(e){if((e=n.ToInt32(e))<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");var t;for(this.byteLength=e,this._bytes=[],this._bytes.length=e,t=0;t<this.byteLength;t+=1)this._bytes[t]=0;m(this)}function r(){}function a(e,a,o){var i;return i=function(e,r,a){var o,s,l,c;if(arguments.length&&"number"!=typeof arguments[0])if("object"===u(arguments[0])&&arguments[0].constructor===i)for(o=arguments[0],this.length=o.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0,l=0;l<this.length;l+=1)this._setter(l,o._getter(l));else if("object"!==u(arguments[0])||arguments[0]instanceof t||"ArrayBuffer"===n.Class(arguments[0])){if("object"!==u(arguments[0])||!(arguments[0]instanceof t||"ArrayBuffer"===n.Class(arguments[0])))throw new TypeError("Unexpected argument type(s)");if(this.buffer=e,this.byteOffset=n.ToUint32(r),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=n.ToUint32(a),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else for(s=arguments[0],this.length=n.ToUint32(s.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0,l=0;l<this.length;l+=1)c=s[l],this._setter(l,Number(c));else{if(this.length=n.ToInt32(arguments[0]),a<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0}this.constructor=i,m(this),function(e){if(h){if(e.length>1e5)throw new RangeError("Array too large for polyfill");var t;for(t=0;t<e.length;t+=1)r(t)}function r(t){h(e,t,{get:function(){return e._getter(t)},set:function(r){e._setter(t,r)},enumerable:!0,configurable:!1})}}(this)},i.prototype=new r,i.prototype.BYTES_PER_ELEMENT=e,i.prototype._pack=a,i.prototype._unpack=o,i.BYTES_PER_ELEMENT=e,i.prototype._getter=function(e){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(!((e=n.ToUint32(e))>=this.length)){for(var t=[],r=0,a=this.byteOffset+e*this.BYTES_PER_ELEMENT;r<this.BYTES_PER_ELEMENT;r+=1,a+=1)t.push(this.buffer._bytes[a]);return this._unpack(t)}},i.prototype.get=i.prototype._getter,i.prototype._setter=function(e,t){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if((e=n.ToUint32(e))<this.length){var r,a,o=this._pack(t);for(r=0,a=this.byteOffset+e*this.BYTES_PER_ELEMENT;r<this.BYTES_PER_ELEMENT;r+=1,a+=1)this.buffer._bytes[a]=o[r]}},i.prototype.set=function(e,t){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var r,a,o,i,s,l,c,d,p,h;if("object"===u(arguments[0])&&arguments[0].constructor===this.constructor){if(r=arguments[0],(o=n.ToUint32(arguments[1]))+r.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(d=this.byteOffset+o*this.BYTES_PER_ELEMENT,p=r.length*this.BYTES_PER_ELEMENT,r.buffer===this.buffer){for(h=[],s=0,l=r.byteOffset;s<p;s+=1,l+=1)h[s]=r.buffer._bytes[l];for(s=0,c=d;s<p;s+=1,c+=1)this.buffer._bytes[c]=h[s]}else for(s=0,l=r.byteOffset,c=d;s<p;s+=1,l+=1,c+=1)this.buffer._bytes[c]=r.buffer._bytes[l]}else{if("object"!==u(arguments[0])||void 0===arguments[0].length)throw new TypeError("Unexpected argument type(s)");if(a=arguments[0],i=n.ToUint32(a.length),(o=n.ToUint32(arguments[1]))+i>this.length)throw new RangeError("Offset plus length of array is out of range");for(s=0;s<i;s+=1)l=a[s],this._setter(o+s,Number(l))}},i.prototype.subarray=function(e,t){e=n.ToInt32(e),t=n.ToInt32(t),arguments.length<1&&(e=0),arguments.length<2&&(t=this.length),e<0&&(e=this.length+e),t<0&&(t=this.length+t),e=p(e,0,this.length);var r=(t=p(t,0,this.length))-e;return r<0&&(r=0),new this.constructor(this.buffer,this.byteOffset+e*this.BYTES_PER_ELEMENT,r)},i}e.ArrayBuffer=e.ArrayBuffer||t;var o=a(1,b,y),i=a(1,w,D),s=a(1,E,D),l=a(2,x,A),c=a(2,C,F),d=a(4,T,k),f=a(4,R,N),g=a(4,M,I),v=a(8,P,O);e.Int8Array=e.Int8Array||o,e.Uint8Array=e.Uint8Array||i,e.Uint8ClampedArray=e.Uint8ClampedArray||s,e.Int16Array=e.Int16Array||l,e.Uint16Array=e.Uint16Array||c,e.Int32Array=e.Int32Array||d,e.Uint32Array=e.Uint32Array||f,e.Float32Array=e.Float32Array||g,e.Float64Array=e.Float64Array||v}(),function(){function t(e,t){return n.IsCallable(e.get)?e.get(t):e[t]}var r,a=(r=new e.Uint16Array([4660]),18===t(new e.Uint8Array(r.buffer),0));function o(t,r,a){if(0===arguments.length)t=new e.ArrayBuffer(0);else if(!(t instanceof e.ArrayBuffer||"ArrayBuffer"===n.Class(t)))throw new TypeError("TypeError");if(this.buffer=t||new e.ArrayBuffer(0),this.byteOffset=n.ToUint32(r),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteLength=arguments.length<3?this.buffer.byteLength-this.byteOffset:n.ToUint32(a),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");m(this)}function i(r){return function(o,i){if((o=n.ToUint32(o))+r.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");o+=this.byteOffset;var s,l=new e.Uint8Array(this.buffer,o,r.BYTES_PER_ELEMENT),u=[];for(s=0;s<r.BYTES_PER_ELEMENT;s+=1)u.push(t(l,s));return Boolean(i)===Boolean(a)&&u.reverse(),t(new r(new e.Uint8Array(u).buffer),0)}}function s(r){return function(o,i,s){if((o=n.ToUint32(o))+r.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var l,u=new r([i]),c=new e.Uint8Array(u.buffer),d=[];for(l=0;l<r.BYTES_PER_ELEMENT;l+=1)d.push(t(c,l));Boolean(s)===Boolean(a)&&d.reverse(),new e.Uint8Array(this.buffer,o,r.BYTES_PER_ELEMENT).set(d)}}o.prototype.getUint8=i(e.Uint8Array),o.prototype.getInt8=i(e.Int8Array),o.prototype.getUint16=i(e.Uint16Array),o.prototype.getInt16=i(e.Int16Array),o.prototype.getUint32=i(e.Uint32Array),o.prototype.getInt32=i(e.Int32Array),o.prototype.getFloat32=i(e.Float32Array),o.prototype.getFloat64=i(e.Float64Array),o.prototype.setUint8=s(e.Uint8Array),o.prototype.setInt8=s(e.Int8Array),o.prototype.setUint16=s(e.Uint16Array),o.prototype.setInt16=s(e.Int16Array),o.prototype.setUint32=s(e.Uint32Array),o.prototype.setInt32=s(e.Int32Array),o.prototype.setFloat32=s(e.Float32Array),o.prototype.setFloat64=s(e.Float64Array),e.DataView=e.DataView||o}()}),ve=de(function(e){!function(e){"use strict";if(!e.WeakMap){var t=Object.prototype.hasOwnProperty,r=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(e){}}(),n=function(e,t,n){r?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:n}):e[t]=n};e.WeakMap=function(){function e(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id","_WeakMap_"+o()+"."+o()),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}function r(e,r){if(!a(e)||!t.call(e,"_id"))throw new TypeError(r+" method called on incompatible receiver "+u(e))}function o(){return Math.random().toString().substring(2)}return n(e.prototype,"delete",function(e){if(r(this,"delete"),!a(e))return!1;var t=e[this._id];return!(!t||t[0]!==e||(delete e[this._id],0))}),n(e.prototype,"get",function(e){if(r(this,"get"),a(e)){var t=e[this._id];return t&&t[0]===e?t[1]:void 0}}),n(e.prototype,"has",function(e){if(r(this,"has"),!a(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)}),n(e.prototype,"set",function(e,t){if(r(this,"set"),!a(e))throw new TypeError("Invalid value used as weak map key");var o=e[this._id];return o&&o[0]===e?(o[1]=t,this):(n(e,this._id,[e,t]),this)}),n(e,"_polyfill",!0),e}()}function a(e){return Object(e)===e}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:void 0!==i?i:void 0!==s?s:e)}),be=de(function(e,t){"use strict";var r=function(e){return e&&e.Math===Math&&e};t.exports=r("object"==("undefined"==typeof globalThis?"undefined":u(globalThis))&&globalThis)||r("object"==(void 0===i?"undefined":u(i))&&i)||r("object"==("undefined"==typeof self?"undefined":u(self))&&self)||r("object"==(void 0===s?"undefined":u(s))&&s)||r("object"==u(e)&&e)||function(){return this}()||Function("return this")()}),ye=de(function(e,t){"use strict";t.exports=function(e){try{return!!e()}catch(e){return!0}}}),we=de(function(e,t){"use strict";var r=ye();t.exports=!r(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})}),De=de(function(e,t){"use strict";var r=we(),n=Function.prototype,a=n.apply,o=n.call;t.exports="object"==("undefined"==typeof Reflect?"undefined":u(Reflect))&&Reflect.apply||(r?o.bind(a):function(){return o.apply(a,arguments)})}),Ee=de(function(e,t){"use strict";var r=we(),n=Function.prototype,a=n.call,o=r&&n.bind.bind(a,a);t.exports=r?o:function(e){return function(){return a.apply(e,arguments)}}}),xe=de(function(e,t){"use strict";var r=Ee(),n=r({}.toString),a=r("".slice);t.exports=function(e){return a(n(e),8,-1)}}),Ae=de(function(e,t){"use strict";var r=xe(),n=Ee();t.exports=function(e){if("Function"===r(e))return n(e)}}),Ce=de(function(e,t){"use strict";var r="object"==(void 0===l?"undefined":u(l))&&l.all;t.exports=void 0===r&&void 0!==r?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}}),Fe=de(function(e,t){"use strict";var r=ye();t.exports=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}),Te=de(function(e,t){"use strict";var r=we(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}}),ke=de(function(e){"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:t}),Re=de(function(e,t){"use strict";t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}}),Ne=de(function(e,t){"use strict";var r=Ee(),n=ye(),a=xe(),o=Object,i=r("".split);t.exports=n(function(){return!o("z").propertyIsEnumerable(0)})?function(e){return"String"===a(e)?i(e,""):o(e)}:o}),Se=de(function(e,t){"use strict";t.exports=function(e){return null==e}}),_e=de(function(e,t){"use strict";var r=Se(),n=TypeError;t.exports=function(e){if(r(e))throw new n("Can't call method on "+e);return e}}),Oe=de(function(e,t){"use strict";var r=Ne(),n=_e();t.exports=function(e){return r(n(e))}}),Pe=de(function(e,t){"use strict";var r=Ce();t.exports=function(e){return"object"==u(e)?null!==e:r(e)}}),Ie=de(function(e,t){"use strict";t.exports={}}),Me=de(function(e,t){"use strict";var r=Ie(),n=be(),a=Ce(),o=function(e){return a(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?o(r[e])||o(n[e]):r[e]&&r[e][t]||n[e]&&n[e][t]}}),Le=de(function(e,t){"use strict";var r=Ee();t.exports=r({}.isPrototypeOf)}),Be=de(function(e,t){"use strict";var r=be().navigator,n=r&&r.userAgent;t.exports=n?String(n):""}),Ve=de(function(e,t){"use strict";var r,n,a=be(),o=Be(),i=a.process,s=a.Deno,l=i&&i.versions||s&&s.version,u=l&&l.v8;u&&(n=(r=u.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(n=+r[1]),t.exports=n}),je=de(function(e,t){"use strict";var r=Ve(),n=ye(),a=be().String;t.exports=!!Object.getOwnPropertySymbols&&!n(function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})}),qe=de(function(e,t){"use strict";var r=je();t.exports=r&&!Symbol.sham&&"symbol"==u(Symbol.iterator)}),ze=de(function(e,t){"use strict";var r=Me(),n=Ce(),a=Le(),o=qe(),i=Object;t.exports=o?function(e){return"symbol"==u(e)}:function(e){var t=r("Symbol");return n(t)&&a(t.prototype,i(e))}}),$e=de(function(e,t){"use strict";var r=String;t.exports=function(e){try{return r(e)}catch(e){return"Object"}}}),Ue=de(function(e,t){"use strict";var r=Ce(),n=$e(),a=TypeError;t.exports=function(e){if(r(e))return e;throw new a(n(e)+" is not a function")}}),He=de(function(e,t){"use strict";var r=Ue(),n=Se();t.exports=function(e,t){var a=e[t];return n(a)?void 0:r(a)}}),Ge=de(function(e,t){"use strict";var r=Te(),n=Ce(),a=Pe(),o=TypeError;t.exports=function(e,t){var i,s;if("string"===t&&n(i=e.toString)&&!a(s=r(i,e)))return s;if(n(i=e.valueOf)&&!a(s=r(i,e)))return s;if("string"!==t&&n(i=e.toString)&&!a(s=r(i,e)))return s;throw new o("Can't convert object to primitive value")}}),We=de(function(e,t){"use strict";t.exports=!0}),Ke=de(function(e,t){"use strict";var r=be(),n=Object.defineProperty;t.exports=function(e,t){try{n(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}}),Ye=de(function(e,t){"use strict";var r=We(),n=be(),a=Ke(),o="__core-js_shared__",i=t.exports=n[o]||a(o,{});(i.versions||(i.versions=[])).push({version:"3.44.0",mode:r?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"})}),Ze=de(function(e,t){"use strict";var r=Ye();t.exports=function(e,t){return r[e]||(r[e]=t||{})}}),Xe=de(function(e,t){"use strict";var r=_e(),n=Object;t.exports=function(e){return n(r(e))}}),Je=de(function(e,t){"use strict";var r=Ee(),n=Xe(),a=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return a(n(e),t)}}),Qe=de(function(e,t){"use strict";var r=Ee(),n=0,a=Math.random(),o=r(1.1.toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++n+a,36)}}),et=de(function(e,t){"use strict";var r=be(),n=Ze(),a=Je(),o=Qe(),i=je(),s=qe(),l=r.Symbol,u=n("wks"),c=s?l.for||l:l&&l.withoutSetter||o;t.exports=function(e){return a(u,e)||(u[e]=i&&a(l,e)?l[e]:c("Symbol."+e)),u[e]}}),tt=de(function(e,t){"use strict";var r=Te(),n=Pe(),a=ze(),o=He(),i=Ge(),s=et(),l=TypeError,u=s("toPrimitive");t.exports=function(e,t){if(!n(e)||a(e))return e;var s,c=o(e,u);if(c){if(void 0===t&&(t="default"),s=r(c,e,t),!n(s)||a(s))return s;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),i(e,t)}}),rt=de(function(e,t){"use strict";var r=tt(),n=ze();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}}),nt=de(function(e,t){"use strict";var r=be(),n=Pe(),a=r.document,o=n(a)&&n(a.createElement);t.exports=function(e){return o?a.createElement(e):{}}}),at=de(function(e,t){"use strict";var r=Fe(),n=ye(),a=nt();t.exports=!r&&!n(function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a})}),ot=de(function(e){"use strict";var t=Fe(),r=Te(),n=ke(),a=Re(),o=Oe(),i=rt(),s=Je(),l=at(),u=Object.getOwnPropertyDescriptor;e.f=t?u:function(e,t){if(e=o(e),t=i(t),l)try{return u(e,t)}catch(e){}if(s(e,t))return a(!r(n.f,e,t),e[t])}}),it=de(function(e,t){"use strict";var r=ye(),n=Ce(),a=/#|\.prototype\./,o=function(e,t){var a=s[i(e)];return a===u||a!==l&&(n(t)?r(t):!!t)},i=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",u=o.POLYFILL="P";t.exports=o}),st=de(function(e,t){"use strict";var r=Ae(),n=Ue(),a=we(),o=r(r.bind);t.exports=function(e,t){return n(e),void 0===t?e:a?o(e,t):function(){return e.apply(t,arguments)}}}),lt=de(function(e,t){"use strict";var r=Fe(),n=ye();t.exports=r&&n(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}),ut=de(function(e,t){"use strict";var r=Pe(),n=String,a=TypeError;t.exports=function(e){if(r(e))return e;throw new a(n(e)+" is not an object")}}),ct=de(function(e){"use strict";var t=Fe(),r=at(),n=lt(),a=ut(),o=rt(),i=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u="enumerable",c="configurable",d="writable";e.f=t?n?function(e,t,r){if(a(e),t=o(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&d in r&&!r[d]){var n=l(e,t);n&&n[d]&&(e[t]=r.value,r={configurable:c in r?r[c]:n[c],enumerable:u in r?r[u]:n[u],writable:!1})}return s(e,t,r)}:s:function(e,t,n){if(a(e),t=o(t),a(n),r)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new i("Accessors not supported");return"value"in n&&(e[t]=n.value),e}}),dt=de(function(e,t){"use strict";var r=Fe(),n=ct(),a=Re();t.exports=r?function(e,t,r){return n.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}}),pt=de(function(e,t){"use strict";var r=be(),n=De(),a=Ae(),o=Ce(),i=ot().f,s=it(),l=Ie(),c=st(),d=dt(),p=Je();Ye();var h=function(e){var t=function(r,a,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,a)}return new e(r,a,o)}return n(e,this,arguments)};return t.prototype=e.prototype,t};t.exports=function(e,t){var n,f,m,g,v,b,y,w,D,E=e.target,x=e.global,A=e.stat,C=e.proto,F=x?r:A?r[E]:r[E]&&r[E].prototype,T=x?l:l[E]||d(l,E,{})[E],k=T.prototype;for(g in t)f=!(n=s(x?g:E+(A?".":"#")+g,e.forced))&&F&&p(F,g),b=T[g],f&&(y=e.dontCallGetSet?(D=i(F,g))&&D.value:F[g]),v=f&&y?y:t[g],(n||C||u(b)!=u(v))&&(w=e.bind&&f?c(v,r):e.wrap&&f?h(v):C&&o(v)?a(v):v,(e.sham||v&&v.sham||b&&b.sham)&&d(w,"sham",!0),d(T,g,w),C&&(p(l,m=E+"Prototype")||d(l,m,{}),d(l[m],g,v),e.real&&k&&(n||!k[g])&&d(k,g,v)))}}),ht=de(function(){"use strict";pt()({target:"Object",stat:!0},{hasOwn:Je()})}),ft=de(function(e,t){"use strict";ht();var r=Ie();t.exports=r.Object.hasOwn}),mt=de(function(e,t){"use strict";var r=ft();t.exports=r}),gt=de(function(e,t){"use strict";var r=mt();t.exports=r}),vt=de(function(e,t){"use strict";var r=Ze(),n=Qe(),a=r("keys");t.exports=function(e){return a[e]||(a[e]=n(e))}}),bt=de(function(e,t){"use strict";var r=ye();t.exports=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})}),yt=de(function(e,t){"use strict";var r=Je(),n=Ce(),a=Xe(),o=vt(),i=bt(),s=o("IE_PROTO"),l=Object,u=l.prototype;t.exports=i?l.getPrototypeOf:function(e){var t=a(e);if(r(t,s))return t[s];var o=t.constructor;return n(o)&&t instanceof o?o.prototype:t instanceof l?u:null}}),wt=de(function(e,t){"use strict";var r=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?n:r)(t)}}),Dt=de(function(e,t){"use strict";var r=wt();t.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}}),Et=de(function(e,t){"use strict";var r=Dt(),n=Math.max,a=Math.min;t.exports=function(e,t){var o=r(e);return o<0?n(o+t,0):a(o,t)}}),xt=de(function(e,t){"use strict";var r=Dt(),n=Math.min;t.exports=function(e){var t=r(e);return t>0?n(t,9007199254740991):0}}),At=de(function(e,t){"use strict";var r=xt();t.exports=function(e){return r(e.length)}}),Ct=de(function(e,t){"use strict";var r=Oe(),n=Et(),a=At(),o=function(e){return function(t,o,i){var s=r(t),l=a(s);if(0===l)return!e&&-1;var u,c=n(i,l);if(e&&o!=o){for(;l>c;)if((u=s[c++])!=u)return!0}else for(;l>c;c++)if((e||c in s)&&s[c]===o)return e||c||0;return!e&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}}),Ft=de(function(e,t){"use strict";t.exports={}}),Tt=de(function(e,t){"use strict";var r=Ee(),n=Je(),a=Oe(),o=Ct().indexOf,i=Ft(),s=r([].push);t.exports=function(e,t){var r,l=a(e),u=0,c=[];for(r in l)!n(i,r)&&n(l,r)&&s(c,r);for(;t.length>u;)n(l,r=t[u++])&&(~o(c,r)||s(c,r));return c}}),kt=de(function(e,t){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),Rt=de(function(e,t){"use strict";var r=Tt(),n=kt();t.exports=Object.keys||function(e){return r(e,n)}}),Nt=de(function(e,t){"use strict";var r=Fe(),n=ye(),a=Ee(),o=yt(),i=Rt(),s=Oe(),l=a(ke().f),u=a([].push),c=r&&n(function(){var e=Object.create(null);return e[2]=2,!l(e,2)}),d=function(e){return function(t){for(var n,a=s(t),d=i(a),p=c&&null===o(a),h=d.length,f=0,m=[];h>f;)n=d[f++],r&&!(p?n in a:l(a,n))||u(m,e?[n,a[n]]:a[n]);return m}};t.exports={entries:d(!0),values:d(!1)}}),St=de(function(){"use strict";var e=pt(),t=Nt().values;e({target:"Object",stat:!0},{values:function(e){return t(e)}})}),_t=de(function(e,t){"use strict";St();var r=Ie();t.exports=r.Object.values}),Ot=de(function(e,t){"use strict";var r=_t();t.exports=r}),Pt=de(function(e,t){"use strict";var r=Ot();t.exports=r}),It=de(function(e,t){"use strict";var r={};r[et()("toStringTag")]="z",t.exports="[object z]"===String(r)}),Mt=de(function(e,t){"use strict";var r=It(),n=Ce(),a=xe(),o=et()("toStringTag"),i=Object,s="Arguments"===a(function(){return arguments}());t.exports=r?a:function(e){var t,r,l;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=i(e),o))?r:s?a(t):"Object"===(l=a(t))&&n(t.callee)?"Arguments":l}}),Lt=de(function(e,t){"use strict";var r=Mt(),n=String;t.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return n(e)}}),Bt=de(function(e,t){"use strict";var r=Ee(),n=Dt(),a=Lt(),o=_e(),i=r("".charAt),s=r("".charCodeAt),l=r("".slice),u=function(e){return function(t,r){var u,c,d=a(o(t)),p=n(r),h=d.length;return p<0||p>=h?e?"":void 0:(u=s(d,p))<55296||u>56319||p+1===h||(c=s(d,p+1))<56320||c>57343?e?i(d,p):u:e?l(d,p,p+2):c-56320+(u-55296<<10)+65536}};t.exports={codeAt:u(!1),charAt:u(!0)}}),Vt=de(function(e,t){"use strict";var r=be(),n=Ce(),a=r.WeakMap;t.exports=n(a)&&/native code/.test(String(a))}),jt=de(function(e,t){"use strict";var r,n,a,o,i,s=Vt(),l=be(),u=Pe(),c=dt(),d=Je(),p=Ye(),h=vt(),f=Ft(),m="Object already initialized",g=l.TypeError,v=l.WeakMap;s||p.state?((o=p.state||(p.state=new v)).get=o.get,o.has=o.has,o.set=o.set,r=function(e,t){if(o.has(e))throw new g(m);return t.facade=e,o.set(e,t),t},n=function(e){return o.get(e)||{}},a=function(e){return o.has(e)}):(f[i=h("state")]=!0,r=function(e,t){if(d(e,i))throw new g(m);return t.facade=e,c(e,i,t),t},n=function(e){return d(e,i)?e[i]:{}},a=function(e){return d(e,i)}),t.exports={set:r,get:n,has:a,enforce:function(e){return a(e)?n(e):r(e,{})},getterFor:function(e){return function(t){var r;if(!u(t)||(r=n(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return r}}}}),qt=de(function(e,t){"use strict";var r=Fe(),n=Je(),a=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,i=n(a,"name"),s=i&&"something"===function(){}.name,l=i&&(!r||r&&o(a,"name").configurable);t.exports={EXISTS:i,PROPER:s,CONFIGURABLE:l}}),zt=de(function(e){"use strict";var t=Fe(),r=lt(),n=ct(),a=ut(),o=Oe(),i=Rt();e.f=t&&!r?Object.defineProperties:function(e,t){a(e);for(var r,s=o(t),l=i(t),u=l.length,c=0;u>c;)n.f(e,r=l[c++],s[r]);return e}}),$t=de(function(e,t){"use strict";var r=Me();t.exports=r("document","documentElement")}),Ut=de(function(e,t){"use strict";var r,n=ut(),a=zt(),o=kt(),i=Ft(),s=$t(),u=nt(),c=vt(),d="prototype",p="script",h=c("IE_PROTO"),f=function(){},m=function(e){return"<"+p+">"+e+"</"+p+">"},g=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;v=void 0!==l?l.domain&&r?g(r):(t=u("iframe"),n="java"+p+":",t.style.display="none",s.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F):g(r);for(var a=o.length;a--;)delete v[d][o[a]];return v()};i[h]=!0,t.exports=Object.create||function(e,t){var r;return null!==e?(f[d]=n(e),r=new f,f[d]=null,r[h]=e):r=v(),void 0===t?r:a.f(r,t)}}),Ht=de(function(e,t){"use strict";var r=dt();t.exports=function(e,t,n,a){return a&&a.enumerable?e[t]=n:r(e,t,n),e}}),Gt=de(function(e,t){"use strict";var r,n,a,o=ye(),i=Ce(),s=Pe(),l=Ut(),u=yt(),c=Ht(),d=et(),p=We(),h=d("iterator"),f=!1;[].keys&&("next"in(a=[].keys())?(n=u(u(a)))!==Object.prototype&&(r=n):f=!0),!s(r)||o(function(){var e={};return r[h].call(e)!==e})?r={}:p&&(r=l(r)),i(r[h])||c(r,h,function(){return this}),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}}),Wt=de(function(e,t){"use strict";var r=It(),n=Mt();t.exports=r?{}.toString:function(){return"[object "+n(this)+"]"}}),Kt=de(function(e,t){"use strict";var r=It(),n=ct().f,a=dt(),o=Je(),i=Wt(),s=et()("toStringTag");t.exports=function(e,t,l,u){var c=l?e:e&&e.prototype;c&&(o(c,s)||n(c,s,{configurable:!0,value:t}),u&&!r&&a(c,"toString",i))}}),Yt=de(function(e,t){"use strict";t.exports={}}),Zt=de(function(e,t){"use strict";var r=Gt().IteratorPrototype,n=Ut(),a=Re(),o=Kt(),i=Yt(),s=function(){return this};t.exports=function(e,t,l,u){var c=t+" Iterator";return e.prototype=n(r,{next:a(+!u,l)}),o(e,c,!1,!0),i[c]=s,e}}),Xt=de(function(e,t){"use strict";var r=Ee(),n=Ue();t.exports=function(e,t,a){try{return r(n(Object.getOwnPropertyDescriptor(e,t)[a]))}catch(e){}}}),Jt=de(function(e,t){"use strict";var r=Pe();t.exports=function(e){return r(e)||null===e}}),Qt=de(function(e,t){"use strict";var r=Jt(),n=String,a=TypeError;t.exports=function(e){if(r(e))return e;throw new a("Can't set "+n(e)+" as a prototype")}}),er=de(function(e,t){"use strict";var r=Xt(),n=Pe(),a=_e(),o=Qt();t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,i={};try{(e=r(Object.prototype,"__proto__","set"))(i,[]),t=i instanceof Array}catch(e){}return function(r,i){return a(r),o(i),n(r)?(t?e(r,i):r.__proto__=i,r):r}}():void 0)}),tr=de(function(e,t){"use strict";var r=pt(),n=Te(),a=We(),o=qt(),i=Ce(),s=Zt(),l=yt(),u=er(),c=Kt(),d=dt(),p=Ht(),h=et(),f=Yt(),m=Gt(),g=o.PROPER,v=o.CONFIGURABLE,b=m.IteratorPrototype,y=m.BUGGY_SAFARI_ITERATORS,w=h("iterator"),D="keys",E="values",x="entries",A=function(){return this};t.exports=function(e,t,o,h,m,C,F){s(o,t,h);var T,k,R,N=function(e){if(e===m&&I)return I;if(!y&&e&&e in O)return O[e];switch(e){case D:case E:case x:return function(){return new o(this,e)}}return function(){return new o(this)}},S=t+" Iterator",_=!1,O=e.prototype,P=O[w]||O["@@iterator"]||m&&O[m],I=!y&&P||N(m),M="Array"===t&&O.entries||P;if(M&&(T=l(M.call(new e)))!==Object.prototype&&T.next&&(a||l(T)===b||(u?u(T,b):i(T[w])||p(T,w,A)),c(T,S,!0,!0),a&&(f[S]=A)),g&&m===E&&P&&P.name!==E&&(!a&&v?d(O,"name",E):(_=!0,I=function(){return n(P,this)})),m)if(k={values:N(E),keys:C?I:N(D),entries:N(x)},F)for(R in k)(y||_||!(R in O))&&p(O,R,k[R]);else r({target:t,proto:!0,forced:y||_},k);return a&&!F||O[w]===I||p(O,w,I,{name:m}),f[t]=I,k}}),rr=de(function(e,t){"use strict";t.exports=function(e,t){return{value:e,done:t}}}),nr=de(function(){"use strict";var e=Bt().charAt,t=Lt(),r=jt(),n=tr(),a=rr(),o="String Iterator",i=r.set,s=r.getterFor(o);n(String,"String",function(e){i(this,{type:o,string:t(e),index:0})},function(){var t,r=s(this),n=r.string,o=r.index;return o>=n.length?a(void 0,!0):(t=e(n,o),r.index+=t.length,a(t,!1))})}),ar=de(function(e,t){"use strict";var r=Te(),n=ut(),a=He();t.exports=function(e,t,o){var i,s;n(e);try{if(!(i=a(e,"return"))){if("throw"===t)throw o;return o}i=r(i,e)}catch(e){s=!0,i=e}if("throw"===t)throw o;if(s)throw i;return n(i),o}}),or=de(function(e,t){"use strict";var r=ut(),n=ar();t.exports=function(e,t,a,o){try{return o?t(r(a)[0],a[1]):t(a)}catch(t){n(e,"throw",t)}}}),ir=de(function(e,t){"use strict";var r=et(),n=Yt(),a=r("iterator"),o=Array.prototype;t.exports=function(e){return void 0!==e&&(n.Array===e||o[a]===e)}}),sr=de(function(e,t){"use strict";var r=Ee(),n=Ce(),a=Ye(),o=r(Function.toString);n(a.inspectSource)||(a.inspectSource=function(e){return o(e)}),t.exports=a.inspectSource}),lr=de(function(e,t){"use strict";var r=Ee(),n=ye(),a=Ce(),o=Mt(),i=Me(),s=sr(),l=function(){},u=i("Reflect","construct"),c=/^\s*(?:class|function)\b/,d=r(c.exec),p=!c.test(l),h=function(e){if(!a(e))return!1;try{return u(l,[],e),!0}catch(e){return!1}},f=function(e){if(!a(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!d(c,s(e))}catch(e){return!0}};f.sham=!0,t.exports=!u||n(function(){var e;return h(h.call)||!h(Object)||!h(function(){e=!0})||e})?f:h}),ur=de(function(e,t){"use strict";var r=Fe(),n=ct(),a=Re();t.exports=function(e,t,o){r?n.f(e,t,a(0,o)):e[t]=o}}),cr=de(function(e,t){"use strict";var r=Mt(),n=He(),a=Se(),o=Yt(),i=et()("iterator");t.exports=function(e){if(!a(e))return n(e,i)||n(e,"@@iterator")||o[r(e)]}}),dr=de(function(e,t){"use strict";var r=Te(),n=Ue(),a=ut(),o=$e(),i=cr(),s=TypeError;t.exports=function(e,t){var l=arguments.length<2?i(e):t;if(n(l))return a(r(l,e));throw new s(o(e)+" is not iterable")}}),pr=de(function(e,t){"use strict";var r=st(),n=Te(),a=Xe(),o=or(),i=ir(),s=lr(),l=At(),u=ur(),c=dr(),d=cr(),p=Array;t.exports=function(e){var t=a(e),h=s(this),f=arguments.length,m=f>1?arguments[1]:void 0,g=void 0!==m;g&&(m=r(m,f>2?arguments[2]:void 0));var v,b,y,w,D,E,x=d(t),A=0;if(!x||this===p&&i(x))for(v=l(t),b=h?new this(v):p(v);v>A;A++)E=g?m(t[A],A):t[A],u(b,A,E);else for(b=h?new this:[],D=(w=c(t,x)).next;!(y=n(D,w)).done;A++)E=g?o(w,m,[y.value,A],!0):y.value,u(b,A,E);return b.length=A,b}}),hr=de(function(e,t){"use strict";var r,n,a=et()("iterator"),o=!1;try{r=0,(n={next:function(){return{done:!!r++}},return:function(){o=!0}})[a]=function(){return this},Array.from(n,function(){throw 2})}catch(e){}t.exports=function(e,t){try{if(!t&&!o)return!1}catch(e){return!1}var r=!1;try{var n={};n[a]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(e){}return r}}),fr=de(function(){"use strict";var e=pt(),t=pr();e({target:"Array",stat:!0,forced:!hr()(function(e){Array.from(e)})},{from:t})}),mr=de(function(e,t){"use strict";nr(),fr();var r=Ie();t.exports=r.Array.from}),gr=de(function(e,t){"use strict";var r=mr();t.exports=r}),vr=de(function(e,t){"use strict";var r=gr();t.exports=r}),br=de(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isIdentStart=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e},e.isIdent=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"-"===e||"_"===e},e.isHex=function(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"},e.escapeIdentifier=function(t){for(var r=t.length,n="",a=0;a<r;){var o=t.charAt(a);if(e.identSpecialChars[o])n+="\\"+o;else if("_"===o||"-"===o||o>="A"&&o<="Z"||o>="a"&&o<="z"||0!==a&&o>="0"&&o<="9")n+=o;else{var i=o.charCodeAt(0);if(55296==(63488&i)){var s=t.charCodeAt(a++);if(55296!=(64512&i)||56320!=(64512&s))throw Error("UCS-2(decode): illegal sequence");i=((1023&i)<<10)+(1023&s)+65536}n+="\\"+i.toString(16)+" "}a++}return n},e.escapeStr=function(t){for(var r,n=t.length,a="",o=0;o<n;){var i=t.charAt(o);'"'===i?i='\\"':"\\"===i?i="\\\\":void 0!==(r=e.strReplacementsRev[i])&&(i=r),a+=i,o++}return'"'+a+'"'},e.identSpecialChars={"!":!0,'"':!0,"#":!0,$:!0,"%":!0,"&":!0,"'":!0,"(":!0,")":!0,"*":!0,"+":!0,",":!0,".":!0,"/":!0,";":!0,"<":!0,"=":!0,">":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},e.strReplacementsRev={"\n":"\\n","\r":"\\r","\t":"\\t","\f":"\\f","\v":"\\v"},e.singleQuoteEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\","'":"'"},e.doubleQuotesEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\",'"':'"'}}),yr=de(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=br();e.parseCssSelector=function(e,r,n,a,o,i){var s=e.length,l="";function u(n,a){var o="";for(r++,l=e.charAt(r);r<s;){if(l===n)return r++,o;if("\\"===l){r++;var i=void 0;if((l=e.charAt(r))===n)o+=n;else if(void 0!==(i=a[l]))o+=i;else{if(t.isHex(l)){var u=l;for(r++,l=e.charAt(r);t.isHex(l);)u+=l,r++,l=e.charAt(r);" "===l&&(r++,l=e.charAt(r)),o+=String.fromCharCode(parseInt(u,16));continue}o+=l}}else o+=l;r++,l=e.charAt(r)}return o}function c(){var n="";for(l=e.charAt(r);r<s;){if(t.isIdent(l))n+=l;else{if("\\"!==l)return n;if(++r>=s)throw Error("Expected symbol but end of file reached.");if(l=e.charAt(r),t.identSpecialChars[l])n+=l;else{if(t.isHex(l)){var a=l;for(r++,l=e.charAt(r);t.isHex(l);)a+=l,r++,l=e.charAt(r);" "===l&&(r++,l=e.charAt(r)),n+=String.fromCharCode(parseInt(a,16));continue}n+=l}}r++,l=e.charAt(r)}return n}function d(){l=e.charAt(r);for(var t=!1;" "===l||"\t"===l||"\n"===l||"\r"===l||"\f"===l;)t=!0,r++,l=e.charAt(r);return t}function p(){var t=h();if(!t)return null;var n=t;for(l=e.charAt(r);","===l;){if(r++,d(),"selectors"!==n.type&&(n={type:"selectors",selectors:[t]}),!(t=h()))throw Error('Rule expected after ",".');n.selectors.push(t)}return n}function h(){d();var t={type:"ruleSet"},n=f();if(!n)return null;for(var a=t;n&&(n.type="rule",a.rule=n,a=n,d(),l=e.charAt(r),!(r>=s||","===l||")"===l));)if(o[l]){var i=l;if(r++,d(),!(n=f()))throw Error('Rule expected after "'+i+'".');n.nestingOperator=i}else(n=f())&&(n.nestingOperator=null);return t}function f(){for(var o=null;r<s;)if("*"===(l=e.charAt(r)))r++,(o=o||{}).tagName="*";else if(t.isIdentStart(l)||"\\"===l)(o=o||{}).tagName=c();else if("."===l)r++,((o=o||{}).classNames=o.classNames||[]).push(c());else if("#"===l)r++,(o=o||{}).id=c();else if("["===l){r++,d();var h={name:c()};if(d(),"]"===l)r++;else{var f="";if(a[l]&&(f=l,r++,l=e.charAt(r)),r>=s)throw Error('Expected "=" but end of file reached.');if("="!==l)throw Error('Expected "=" but "'+l+'" found.');h.operator=f+"=",r++,d();var m="";if(h.valueType="string",'"'===l)m=u('"',t.doubleQuotesEscapeChars);else if("'"===l)m=u("'",t.singleQuoteEscapeChars);else if(i&&"$"===l)r++,m=c(),h.valueType="substitute";else{for(;r<s&&"]"!==l;)m+=l,r++,l=e.charAt(r);m=m.trim()}if(d(),r>=s)throw Error('Expected "]" but end of file reached.');if("]"!==l)throw Error('Expected "]" but "'+l+'" found.');r++,h.value=m}((o=o||{}).attrs=o.attrs||[]).push(h)}else{if(":"!==l)break;r++;var g=c(),v={name:g};if("("===l){r++;var b="";if(d(),"selector"===n[g])v.valueType="selector",b=p();else{if(v.valueType=n[g]||"string",'"'===l)b=u('"',t.doubleQuotesEscapeChars);else if("'"===l)b=u("'",t.singleQuoteEscapeChars);else if(i&&"$"===l)r++,b=c(),v.valueType="substitute";else{for(;r<s&&")"!==l;)b+=l,r++,l=e.charAt(r);b=b.trim()}d()}if(r>=s)throw Error('Expected ")" but end of file reached.');if(")"!==l)throw Error('Expected ")" but "'+l+'" found.');r++,v.value=b}((o=o||{}).pseudos=o.pseudos||[]).push(v)}return o}return function(){var t=p();if(r<s)throw Error('Rule expected but "'+e.charAt(r)+'" found.');return t}()}}),wr=de(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=br();e.renderEntity=function e(r){var n="";switch(r.type){case"ruleSet":for(var a=r.rule,o=[];a;)a.nestingOperator&&o.push(a.nestingOperator),o.push(e(a)),a=a.rule;n=o.join(" ");break;case"selectors":n=r.selectors.map(e).join(", ");break;case"rule":r.tagName&&(n="*"===r.tagName?"*":t.escapeIdentifier(r.tagName)),r.id&&(n+="#"+t.escapeIdentifier(r.id)),r.classNames&&(n+=r.classNames.map(function(e){return"."+t.escapeIdentifier(e)}).join("")),r.attrs&&(n+=r.attrs.map(function(e){return"operator"in e?"substitute"===e.valueType?"["+t.escapeIdentifier(e.name)+e.operator+"$"+e.value+"]":"["+t.escapeIdentifier(e.name)+e.operator+t.escapeStr(e.value)+"]":"["+t.escapeIdentifier(e.name)+"]"}).join("")),r.pseudos&&(n+=r.pseudos.map(function(r){return r.valueType?"selector"===r.valueType?":"+t.escapeIdentifier(r.name)+"("+e(r.value)+")":"substitute"===r.valueType?":"+t.escapeIdentifier(r.name)+"($"+r.value+")":"numeric"===r.valueType?":"+t.escapeIdentifier(r.name)+"("+r.value+")":":"+t.escapeIdentifier(r.name)+"("+t.escapeIdentifier(r.value)+")":":"+t.escapeIdentifier(r.name)}).join(""));break;default:throw Error('Unknown entity type: "'+r.type+'".')}return n}}),Dr=de(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=yr(),r=wr(),n=function(){function e(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}return e.prototype.registerSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];this.pseudos[a]="selector"}return this},e.prototype.unregisterSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];delete this.pseudos[a]}return this},e.prototype.registerNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];this.pseudos[a]="numeric"}return this},e.prototype.unregisterNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];delete this.pseudos[a]}return this},e.prototype.registerNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];this.ruleNestingOperators[a]=!0}return this},e.prototype.unregisterNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];delete this.ruleNestingOperators[a]}return this},e.prototype.registerAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];this.attrEqualityMods[a]=!0}return this},e.prototype.unregisterAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];delete this.attrEqualityMods[a]}return this},e.prototype.enableSubstitutes=function(){return this.substitutesEnabled=!0,this},e.prototype.disableSubstitutes=function(){return this.substitutesEnabled=!1,this},e.prototype.parse=function(e){return t.parseCssSelector(e,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},e.prototype.render=function(e){return r.renderEntity(e).trim()},e}();e.CssSelectorParser=n}),Er=de(function(e,t){!function(){"use strict";var n={name:"doT",version:"1.1.1",templateSettings:{evaluate:/\{\{([\s\S]+?(\}?)+)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,useParams:/(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,defineParams:/^\s*([\w$]+):([\s\S]+)/,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:!0,append:!0,selfcontained:!1,doNotSkipEncoded:!1},template:void 0,compile:void 0,log:!0};!function(){if("object"!==("undefined"==typeof globalThis?"undefined":u(globalThis)))try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch(e){i.globalThis=function(){if("undefined"!=typeof self)return self;if(void 0!==i)return i;if(void 0!==s)return s;if(void 0!==this)return this;throw new Error("Unable to locate global `this`")}()}}(),n.encodeHTMLSource=function(e){var t={"&":"&#38;","<":"&#60;",">":"&#62;",'"':"&#34;","'":"&#39;","/":"&#47;"},r=e?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(e){return e?e.toString().replace(r,function(e){return t[e]||e}):""}},void 0!==t&&t.exports?t.exports=n:void 0===(a=function(){return n}.call(e,r,e,t))||(t.exports=a);var o={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},l=/$^/;function c(e,t,r){return("string"==typeof t?t:t.toString()).replace(e.define||l,function(t,n,a,o){return 0===n.indexOf("def.")&&(n=n.substring(4)),n in r||(":"===a?(e.defineParams&&o.replace(e.defineParams,function(e,t,a){r[n]={arg:t,text:a}}),n in r||(r[n]=o)):new Function("def","def['"+n+"']="+o)(r)),""}).replace(e.use||l,function(t,n){e.useParams&&(n=n.replace(e.useParams,function(e,t,n,a){if(r[n]&&r[n].arg&&a){var o=(n+":"+a).replace(/'|\\/g,"_");return r.__exp=r.__exp||{},r.__exp[o]=r[n].text.replace(new RegExp("(^|[^\\w$])"+r[n].arg+"([^\\w$])","g"),"$1"+a+"$2"),t+"def.__exp['"+o+"']"}}));var a=new Function("def","return "+n)(r);return a?c(e,a,r):a})}function d(e){return e.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}n.template=function(e,t,r){var a,i,s=(t=t||n.templateSettings).append?o.append:o.split,u=0,p=t.use||t.define?c(t,e,r||{}):e;p=("var out='"+(t.strip?p.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):p).replace(/'|\\/g,"\\$&").replace(t.interpolate||l,function(e,t){return s.start+d(t)+s.end}).replace(t.encode||l,function(e,t){return a=!0,s.startencode+d(t)+s.end}).replace(t.conditional||l,function(e,t,r){return t?r?"';}else if("+d(r)+"){out+='":"';}else{out+='":r?"';if("+d(r)+"){out+='":"';}out+='"}).replace(t.iterate||l,function(e,t,r,n){return t?(u+=1,i=n||"i"+u,t=d(t),"';var arr"+u+"="+t+";if(arr"+u+"){var "+r+","+i+"=-1,l"+u+"=arr"+u+".length-1;while("+i+"<l"+u+"){"+r+"=arr"+u+"["+i+"+=1];out+='"):"';} } out+='"}).replace(t.evaluate||l,function(e,t){return"';"+d(t)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),a&&(t.selfcontained||!globalThis||globalThis._encodeHTML||(globalThis._encodeHTML=n.encodeHTMLSource(t.doNotSkipEncoded)),p="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+n.encodeHTMLSource.toString()+"("+(t.doNotSkipEncoded||"")+"));"+p);try{return new Function(t.varname,p)}catch(e){throw"undefined"!=typeof console&&console.log("Could not create a template function: "+p),e}},n.compile=function(e,t){return n.template(e,null,t)}}()}),xr=de(function(e,t){"use strict";t.exports=function(){}}),Ar=de(function(e,t){"use strict";var r=xr()();t.exports=function(e){return e!==r&&null!==e}}),Cr=de(function(e,t){"use strict";var r=Ar(),n=Array.prototype.forEach,a=Object.create;t.exports=function(e){var t=a(null);return n.call(arguments,function(e){r(e)&&function(e,t){var r;for(r in e)t[r]=e[r]}(Object(e),t)}),t}}),Fr=de(function(e,t){"use strict";t.exports=function(){var e=Math.sign;return"function"==typeof e&&1===e(10)&&-1===e(-20)}}),Tr=de(function(e,t){"use strict";t.exports=function(e){return e=Number(e),isNaN(e)||0===e?e:e>0?1:-1}}),kr=de(function(e,t){"use strict";t.exports=Fr()()?Math.sign:Tr()}),Rr=de(function(e,t){"use strict";var r=kr(),n=Math.abs,a=Math.floor;t.exports=function(e){return isNaN(e)?0:0!==(e=Number(e))&&isFinite(e)?r(e)*a(n(e)):e}}),Nr=de(function(e,t){"use strict";var r=Rr(),n=Math.max;t.exports=function(e){return n(0,r(e))}}),Sr=de(function(e,t){"use strict";var r=Nr();t.exports=function(e,t,n){var a;return isNaN(e)?(a=t)>=0?n&&a?a-1:a:1:!1!==e&&r(e)}}),_r=de(function(e,t){"use strict";t.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}}),Or=de(function(e,t){"use strict";var r=Ar();t.exports=function(e){if(!r(e))throw new TypeError("Cannot use null or undefined");return e}}),Pr=de(function(e,t){"use strict";var r=_r(),n=Or(),a=Function.prototype.bind,o=Function.prototype.call,i=Object.keys,s=Object.prototype.propertyIsEnumerable;t.exports=function(e,t){return function(l,u){var c,d=arguments[2],p=arguments[3];return l=Object(n(l)),r(u),c=i(l),p&&c.sort("function"==typeof p?a.call(p,l):void 0),"function"!=typeof e&&(e=c[e]),o.call(e,c,function(e,r){return s.call(l,e)?o.call(u,d,l[e],e,l,r):t})}}}),Ir=de(function(e,t){"use strict";t.exports=Pr()("forEach")}),Mr=de(function(){}),Lr=de(function(e,t){"use strict";t.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}}),Br=de(function(e,t){"use strict";t.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}}),Vr=de(function(e,t){"use strict";var r=Ar(),n=Object.keys;t.exports=function(e){return n(r(e)?Object(e):e)}}),jr=de(function(e,t){"use strict";t.exports=Br()()?Object.keys:Vr()}),qr=de(function(e,t){"use strict";var r=jr(),n=Or(),a=Math.max;t.exports=function(e,t){var o,i,s,l=a(arguments.length,2);for(e=Object(n(e)),s=function(r){try{e[r]=t[r]}catch(e){o||(o=e)}},i=1;i<l;++i)r(t=arguments[i]).forEach(s);if(void 0!==o)throw o;return e}}),zr=de(function(e,t){"use strict";t.exports=Lr()()?Object.assign:qr()}),$r=de(function(e,t){"use strict";var r=Ar(),n={function:!0,object:!0};t.exports=function(e){return r(e)&&n[u(e)]||!1}}),Ur=de(function(e,t){"use strict";var r=zr(),n=$r(),a=Ar(),o=Error.captureStackTrace;t.exports=function(e){var i=new Error(e),s=arguments[1],l=arguments[2];return a(l)||n(s)&&(l=s,s=null),a(l)&&r(i,l),a(s)&&(i.code=s),o&&o(i,t.exports),i}}),Hr=de(function(e,t){"use strict";var r=Or(),n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols;t.exports=function(e,t){var s,l=Object(r(t));if(e=Object(r(e)),o(l).forEach(function(r){try{n(e,r,a(t,r))}catch(e){s=e}}),"function"==typeof i&&i(l).forEach(function(r){try{n(e,r,a(t,r))}catch(e){s=e}}),void 0!==s)throw s;return e}}),Gr=de(function(e,t){"use strict";var r,n,a,o,i,s=Nr(),l=function(e,t){return t};try{Object.defineProperty(l,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch(e){}1===l.length?(r={configurable:!0,writable:!1,enumerable:!1},n=Object.defineProperty,t.exports=function(e,t){return t=s(t),e.length===t?e:(r.value=t,n(e,"length",r))}):(o=Hr(),i=[],a=function(e){var t,r=0;if(i[e])return i[e];for(t=[];e--;)t.push("a"+(++r).toString(36));return new Function("fn","return function ("+t.join(", ")+") { return fn.apply(this, arguments); };")},t.exports=function(e,t){var r;if(t=s(t),e.length===t)return e;r=a(t)(e);try{o(r,e)}catch(e){}return r})}),Wr=de(function(e,t){"use strict";t.exports=function(e){return null!=e}}),Kr=de(function(e,t){"use strict";var r=Wr(),n={object:!0,function:!0,undefined:!0};t.exports=function(e){return!!r(e)&&hasOwnProperty.call(n,u(e))}}),Yr=de(function(e,t){"use strict";var r=Kr();t.exports=function(e){if(!r(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(e){return!1}}}),Zr=de(function(e,t){"use strict";var r=Yr();t.exports=function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(e){return!1}return!r(e)}}),Xr=de(function(e,t){"use strict";var r=Zr(),n=/^\s*class[\s{/}]/,a=Function.prototype.toString;t.exports=function(e){return!!r(e)&&!n.test(a.call(e))}}),Jr=de(function(e,t){"use strict";var r="razdwatrzy";t.exports=function(){return"function"==typeof r.contains&&!0===r.contains("dwa")&&!1===r.contains("foo")}}),Qr=de(function(e,t){"use strict";var r=String.prototype.indexOf;t.exports=function(e){return r.call(this,e,arguments[1])>-1}}),en=de(function(e,t){"use strict";t.exports=Jr()()?String.prototype.contains:Qr()}),tn=de(function(e,t){"use strict";var r=Wr(),n=Xr(),a=zr(),o=Cr(),i=en(),s=t.exports=function(e,t){var n,s,l,u,c;return arguments.length<2||"string"!=typeof e?(u=t,t=e,e=null):u=arguments[2],r(e)?(n=i.call(e,"c"),s=i.call(e,"e"),l=i.call(e,"w")):(n=l=!0,s=!1),c={value:t,configurable:n,enumerable:s,writable:l},u?a(o(u),c):c};s.gs=function(e,t,s){var l,u,c,d;return"string"!=typeof e?(c=s,s=t,t=e,e=null):c=arguments[3],r(t)?n(t)?r(s)?n(s)||(c=s,s=void 0):s=void 0:(c=t,t=s=void 0):t=void 0,r(e)?(l=i.call(e,"c"),u=i.call(e,"e")):(l=!0,u=!1),d={get:t,set:s,configurable:l,enumerable:u},c?a(o(c),d):d}}),rn=de(function(e,t){"use strict";var r,n,a,o,i,s,l,c=tn(),d=_r(),p=Function.prototype.apply,h=Function.prototype.call,f=Object.create,m=Object.defineProperty,g=Object.defineProperties,v=Object.prototype.hasOwnProperty,b={configurable:!0,enumerable:!1,writable:!0};n=function(e,t){var n,o;return d(t),o=this,r.call(this,e,n=function(){a.call(o,e,n),p.call(t,this,arguments)}),n.__eeOnceListener__=t,this},a=function(e,t){var r,n,a,o;if(d(t),!v.call(this,"__ee__"))return this;if(!(r=this.__ee__)[e])return this;if(n=r[e],"object"===u(n))for(o=0;a=n[o];++o)a!==t&&a.__eeOnceListener__!==t||(2===n.length?r[e]=n[o?0:1]:n.splice(o,1));else n!==t&&n.__eeOnceListener__!==t||delete r[e];return this},o=function(e){var t,r,n,a,o;if(v.call(this,"__ee__")&&(a=this.__ee__[e]))if("object"===u(a)){for(r=arguments.length,o=new Array(r-1),t=1;t<r;++t)o[t-1]=arguments[t];for(a=a.slice(),t=0;n=a[t];++t)p.call(n,this,o)}else switch(arguments.length){case 1:h.call(a,this);break;case 2:h.call(a,this,arguments[1]);break;case 3:h.call(a,this,arguments[1],arguments[2]);break;default:for(r=arguments.length,o=new Array(r-1),t=1;t<r;++t)o[t-1]=arguments[t];p.call(a,this,o)}},i={on:r=function(e,t){var r;return d(t),v.call(this,"__ee__")?r=this.__ee__:(r=b.value=f(null),m(this,"__ee__",b),b.value=null),r[e]?"object"===u(r[e])?r[e].push(t):r[e]=[r[e],t]:r[e]=t,this},once:n,off:a,emit:o},s={on:c(r),once:c(n),off:c(a),emit:c(o)},l=g({},s),t.exports=e=function(e){return null==e?f(l):g(Object(e),s)},e.methods=i}),nn=de(function(e,t){"use strict";t.exports=function(){var e,t,r=Array.from;return"function"==typeof r&&(t=r(e=["raz","dwa"]),Boolean(t&&t!==e&&"dwa"===t[1]))}}),an=de(function(e,t){"use strict";t.exports=function(){return"object"===("undefined"==typeof globalThis?"undefined":u(globalThis))&&!!globalThis&&globalThis.Array===Array}}),on=de(function(e,t){var r=function(){if("object"===("undefined"==typeof self?"undefined":u(self))&&self)return self;if("object"===(void 0===i?"undefined":u(i))&&i)return i;throw new Error("Unable to resolve global `this`")};t.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(e){return r()}try{return __global__||r()}finally{delete Object.prototype.__global__}}()}),sn=de(function(e,t){"use strict";t.exports=an()()?globalThis:on()}),ln=de(function(e,t){"use strict";var r=sn(),n={object:!0,symbol:!0};t.exports=function(){var e,t=r.Symbol;if("function"!=typeof t)return!1;e=t("test symbol");try{String(e)}catch(e){return!1}return!!n[u(t.iterator)]&&!!n[u(t.toPrimitive)]&&!!n[u(t.toStringTag)]}}),un=de(function(e,t){"use strict";t.exports=function(e){return!!e&&("symbol"===u(e)||!!e.constructor&&"Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag])}}),cn=de(function(e,t){"use strict";var r=un();t.exports=function(e){if(!r(e))throw new TypeError(e+" is not a symbol");return e}}),dn=de(function(e,t){"use strict";var r=tn(),n=Object.create,a=Object.defineProperty,o=Object.prototype,i=n(null);t.exports=function(e){for(var t,n,s=0;i[e+(s||"")];)++s;return i[e+=s||""]=!0,a(o,t="@@"+e,r.gs(null,function(e){n||(n=!0,a(this,t,r(e)),n=!1)})),t}}),pn=de(function(e,t){"use strict";var r=tn(),n=sn().Symbol;t.exports=function(e){return Object.defineProperties(e,{hasInstance:r("",n&&n.hasInstance||e("hasInstance")),isConcatSpreadable:r("",n&&n.isConcatSpreadable||e("isConcatSpreadable")),iterator:r("",n&&n.iterator||e("iterator")),match:r("",n&&n.match||e("match")),replace:r("",n&&n.replace||e("replace")),search:r("",n&&n.search||e("search")),species:r("",n&&n.species||e("species")),split:r("",n&&n.split||e("split")),toPrimitive:r("",n&&n.toPrimitive||e("toPrimitive")),toStringTag:r("",n&&n.toStringTag||e("toStringTag")),unscopables:r("",n&&n.unscopables||e("unscopables"))})}}),hn=de(function(e,t){"use strict";var r=tn(),n=cn(),a=Object.create(null);t.exports=function(e){return Object.defineProperties(e,{for:r(function(t){return a[t]?a[t]:a[t]=e(String(t))}),keyFor:r(function(e){var t;for(t in n(e),a)if(a[t]===e)return t})})}}),fn=de(function(e,t){"use strict";var r,n,a,o=tn(),i=cn(),s=sn().Symbol,l=dn(),c=pn(),d=hn(),p=Object.create,h=Object.defineProperties,f=Object.defineProperty;if("function"==typeof s)try{String(s()),a=!0}catch(e){}else s=null;n=function(e){if(this instanceof n)throw new TypeError("Symbol is not a constructor");return r(e)},t.exports=r=function e(t){var r;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return a?s(t):(r=p(n.prototype),t=void 0===t?"":String(t),h(r,{__description__:o("",t),__name__:o("",l(t))}))},c(r),d(r),h(n.prototype,{constructor:o(r),toString:o("",function(){return this.__name__})}),h(r.prototype,{toString:o(function(){return"Symbol ("+i(this).__description__+")"}),valueOf:o(function(){return i(this)})}),f(r.prototype,r.toPrimitive,o("",function(){var e=i(this);return"symbol"===u(e)?e:e.toString()})),f(r.prototype,r.toStringTag,o("c","Symbol")),f(n.prototype,r.toStringTag,o("c",r.prototype[r.toStringTag])),f(n.prototype,r.toPrimitive,o("c",r.prototype[r.toPrimitive]))}),mn=de(function(e,t){"use strict";t.exports=ln()()?sn().Symbol:fn()}),gn=de(function(e,t){"use strict";var r=Object.prototype.toString,n=r.call(function(){return arguments}());t.exports=function(e){return r.call(e)===n}}),vn=de(function(e,t){"use strict";var r=Object.prototype.toString,n=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);t.exports=function(e){return"function"==typeof e&&n(r.call(e))}}),bn=de(function(e,t){"use strict";var r=Object.prototype.toString,n=r.call("");t.exports=function(e){return"string"==typeof e||e&&"object"===u(e)&&(e instanceof String||r.call(e)===n)||!1}}),yn=de(function(e,t){"use strict";var r=mn().iterator,n=gn(),a=vn(),o=Nr(),i=_r(),s=Or(),l=Ar(),u=bn(),c=Array.isArray,d=Function.prototype.call,p={configurable:!0,enumerable:!0,writable:!0,value:null},h=Object.defineProperty;t.exports=function(e){var t,f,m,g,v,b,y,w,D,E,x=arguments[1],A=arguments[2];if(e=Object(s(e)),l(x)&&i(x),this&&this!==Array&&a(this))t=this;else{if(!x){if(n(e))return 1!==(v=e.length)?Array.apply(null,e):((g=new Array(1))[0]=e[0],g);if(c(e)){for(g=new Array(v=e.length),f=0;f<v;++f)g[f]=e[f];return g}}g=[]}if(!c(e))if(void 0!==(D=e[r])){for(y=i(D).call(e),t&&(g=new t),w=y.next(),f=0;!w.done;)E=x?d.call(x,A,w.value,f):w.value,t?(p.value=E,h(g,f,p)):g[f]=E,w=y.next(),++f;v=f}else if(u(e)){for(v=e.length,t&&(g=new t),f=0,m=0;f<v;++f)E=e[f],f+1<v&&(b=E.charCodeAt(0))>=55296&&b<=56319&&(E+=e[++f]),E=x?d.call(x,A,E,m):E,t?(p.value=E,h(g,m,p)):g[m]=E,++m;v=m}if(void 0===v)for(v=o(e.length),t&&(g=new t(v)),f=0;f<v;++f)E=x?d.call(x,A,e[f],f):e[f],t?(p.value=E,h(g,f,p)):g[f]=E;return t&&(p.value=null,g.length=v),g}}),wn=de(function(e,t){"use strict";t.exports=nn()()?Array.from:yn()}),Dn=de(function(e,t){"use strict";var r=wn(),n=Array.isArray;t.exports=function(e){return n(e)?e:r(e)}}),En=de(function(e,t){"use strict";var r,n=Dn(),a=Ar(),o=_r(),i=Array.prototype.slice;r=function(e){return this.map(function(t,r){return t?t(e[r]):e[r]}).concat(i.call(e,this.length))},t.exports=function(e){return(e=n(e)).forEach(function(e){a(e)&&o(e)}),r.bind(e)}}),xn=de(function(e,t){"use strict";var r=_r();t.exports=function(e){var t;return"function"==typeof e?{set:e,get:e}:(t={get:r(e.get)},void 0!==e.set?(t.set=r(e.set),e.delete&&(t.delete=r(e.delete)),e.clear&&(t.clear=r(e.clear)),t):(t.set=t.get,t))}}),An=de(function(e,t){"use strict";var r=Ur(),n=Gr(),a=tn(),o=rn().methods,i=En(),s=xn(),l=Function.prototype.apply,u=Function.prototype.call,c=Object.create,d=Object.defineProperties,p=o.on,h=o.emit;t.exports=function(e,t,o){var f,m,g,v,b,y,w,D,E,x,A,C,F,T,k,R=c(null);return m=!1!==t?t:isNaN(e.length)?1:e.length,o.normalizer&&(x=s(o.normalizer),g=x.get,v=x.set,b=x.delete,y=x.clear),null!=o.resolvers&&(k=i(o.resolvers)),T=g?n(function(t){var n,a,o=arguments;if(k&&(o=k(o)),null!==(n=g(o))&&hasOwnProperty.call(R,n))return A&&f.emit("get",n,o,this),R[n];if(a=1===o.length?u.call(e,this,o[0]):l.call(e,this,o),null===n){if(null!==(n=g(o)))throw r("Circular invocation","CIRCULAR_INVOCATION");n=v(o)}else if(hasOwnProperty.call(R,n))throw r("Circular invocation","CIRCULAR_INVOCATION");return R[n]=a,C&&f.emit("set",n,null,a),a},m):0===t?function(){var t;if(hasOwnProperty.call(R,"data"))return A&&f.emit("get","data",arguments,this),R.data;if(t=arguments.length?l.call(e,this,arguments):u.call(e,this),hasOwnProperty.call(R,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return R.data=t,C&&f.emit("set","data",null,t),t}:function(t){var n,a,o=arguments;if(k&&(o=k(arguments)),a=String(o[0]),hasOwnProperty.call(R,a))return A&&f.emit("get",a,o,this),R[a];if(n=1===o.length?u.call(e,this,o[0]):l.call(e,this,o),hasOwnProperty.call(R,a))throw r("Circular invocation","CIRCULAR_INVOCATION");return R[a]=n,C&&f.emit("set",a,null,n),n},f={original:e,memoized:T,profileName:o.profileName,get:function(e){return k&&(e=k(e)),g?g(e):String(e[0])},has:function(e){return hasOwnProperty.call(R,e)},delete:function(e){var t;hasOwnProperty.call(R,e)&&(b&&b(e),t=R[e],delete R[e],F&&f.emit("delete",e,t))},clear:function(){var e=R;y&&y(),R=c(null),f.emit("clear",e)},on:function(e,t){return"get"===e?A=!0:"set"===e?C=!0:"delete"===e&&(F=!0),p.call(this,e,t)},emit:h,updateEnv:function(){e=f.original}},w=g?n(function(e){var t,r=arguments;k&&(r=k(r)),null!==(t=g(r))&&f.delete(t)},m):0===t?function(){return f.delete("data")}:function(e){return k&&(e=k(arguments)[0]),f.delete(e)},D=n(function(){var e,r=arguments;return 0===t?R.data:(k&&(r=k(r)),e=g?g(r):String(r[0]),R[e])}),E=n(function(){var e,r=arguments;return 0===t?f.has("data"):(k&&(r=k(r)),null!==(e=g?g(r):String(r[0]))&&f.has(e))}),d(T,{__memoized__:a(!0),delete:a(w),clear:a(f.clear),_get:a(D),_has:a(E)}),f}}),Cn=de(function(e,t){"use strict";var r=_r(),n=Ir(),a=Mr(),o=An(),i=Sr();t.exports=function e(t){var s,l,u;if(r(t),(s=Object(arguments[1])).async&&s.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(t,"__memoized__")&&!s.force?t:(l=i(s.length,t.length,s.async&&a.async),u=o(t,l,s),n(a,function(e,t){s[t]&&e(s[t],u,s)}),e.__profiler__&&e.__profiler__(u),u.updateEnv(),u.memoized)}}),Fn=de(function(e,t){"use strict";t.exports=function(e){var t,r,n=e.length;if(!n)return"";for(t=String(e[r=0]);--n;)t+=""+e[++r];return t}}),Tn=de(function(e,t){"use strict";t.exports=function(e){return e?function(t){for(var r=String(t[0]),n=0,a=e;--a;)r+=""+t[++n];return r}:function(){return""}}}),kn=de(function(e,t){"use strict";t.exports=function(){var e=Number.isNaN;return"function"==typeof e&&!e({})&&e(NaN)&&!e(34)}}),Rn=de(function(e,t){"use strict";t.exports=function(e){return e!=e}}),Nn=de(function(e,t){"use strict";t.exports=kn()()?Number.isNaN:Rn()}),Sn=de(function(e,t){"use strict";var r=Nn(),n=Nr(),a=Or(),o=Array.prototype.indexOf,i=Object.prototype.hasOwnProperty,s=Math.abs,l=Math.floor;t.exports=function(e){var t,u,c,d;if(!r(e))return o.apply(this,arguments);for(u=n(a(this).length),c=arguments[1],t=c=isNaN(c)?0:c>=0?l(c):n(this.length)-l(s(c));t<u;++t)if(i.call(this,t)&&(d=this[t],r(d)))return t;return-1}}),_n=de(function(e,t){"use strict";var r=Sn(),n=Object.create;t.exports=function(){var e=0,t=[],a=n(null);return{get:function(e){var n,a=0,o=t,i=e.length;if(0===i)return o[i]||null;if(o=o[i]){for(;a<i-1;){if(-1===(n=r.call(o[0],e[a])))return null;o=o[1][n],++a}return-1===(n=r.call(o[0],e[a]))?null:o[1][n]||null}return null},set:function(n){var o,i=0,s=t,l=n.length;if(0===l)s[l]=++e;else{for(s[l]||(s[l]=[[],[]]),s=s[l];i<l-1;)-1===(o=r.call(s[0],n[i]))&&(o=s[0].push(n[i])-1,s[1].push([[],[]])),s=s[1][o],++i;-1===(o=r.call(s[0],n[i]))&&(o=s[0].push(n[i])-1),s[1][o]=++e}return a[e]=n,e},delete:function(e){var n,o=0,i=t,s=a[e],l=s.length,u=[];if(0===l)delete i[l];else if(i=i[l]){for(;o<l-1;){if(-1===(n=r.call(i[0],s[o])))return;u.push(i,n),i=i[1][n],++o}if(-1===(n=r.call(i[0],s[o])))return;for(e=i[1][n],i[0].splice(n,1),i[1].splice(n,1);!i[0].length&&u.length;)n=u.pop(),(i=u.pop())[0].splice(n,1),i[1].splice(n,1)}delete a[e]},clear:function(){t=[],a=n(null)}}}}),On=de(function(e,t){"use strict";var r=Sn();t.exports=function(){var e=0,t=[],n=[];return{get:function(e){var a=r.call(t,e[0]);return-1===a?null:n[a]},set:function(r){return t.push(r[0]),n.push(++e),e},delete:function(e){var a=r.call(n,e);-1!==a&&(t.splice(a,1),n.splice(a,1))},clear:function(){t=[],n=[]}}}}),Pn=de(function(e,t){"use strict";var r=Sn(),n=Object.create;t.exports=function(e){var t=0,a=[[],[]],o=n(null);return{get:function(t){for(var n,o=0,i=a;o<e-1;){if(-1===(n=r.call(i[0],t[o])))return null;i=i[1][n],++o}return-1===(n=r.call(i[0],t[o]))?null:i[1][n]||null},set:function(n){for(var i,s=0,l=a;s<e-1;)-1===(i=r.call(l[0],n[s]))&&(i=l[0].push(n[s])-1,l[1].push([[],[]])),l=l[1][i],++s;return-1===(i=r.call(l[0],n[s]))&&(i=l[0].push(n[s])-1),l[1][i]=++t,o[t]=n,t},delete:function(t){for(var n,i=0,s=a,l=[],u=o[t];i<e-1;){if(-1===(n=r.call(s[0],u[i])))return;l.push(s,n),s=s[1][n],++i}if(-1!==(n=r.call(s[0],u[i]))){for(t=s[1][n],s[0].splice(n,1),s[1].splice(n,1);!s[0].length&&l.length;)n=l.pop(),(s=l.pop())[0].splice(n,1),s[1].splice(n,1);delete o[t]}},clear:function(){a=[[],[]],o=n(null)}}}}),In=de(function(e,t){"use strict";var r=_r(),n=Ir(),a=Function.prototype.call;t.exports=function(e,t){var o={},i=arguments[2];return r(t),n(e,function(e,r,n,s){o[r]=a.call(t,i,e,r,n,s)}),o}}),Mn=de(function(e,t){"use strict";var r=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e},n=function(e){var t,n,a=l.createTextNode(""),o=0;return new e(function(){var e;if(t)n&&(t=n.concat(t));else{if(!n)return;t=n}if(n=t,t=null,"function"==typeof n)return e=n,n=null,void e();for(a.data=o=++o%2;n;)e=n.shift(),n.length||(n=null),e()}).observe(a,{characterData:!0}),function(e){r(e),t?"function"==typeof t?t=[t,e]:t.push(e):(t=e,a.data=o=++o%2)}};t.exports=function(){if("object"===("undefined"==typeof process?"undefined":u(process))&&process&&"function"==typeof process.nextTick)return process.nextTick;if("function"==typeof queueMicrotask)return function(e){queueMicrotask(r(e))};if("object"===(void 0===l?"undefined":u(l))&&l){if("function"==typeof MutationObserver)return n(MutationObserver);if("function"==typeof WebKitMutationObserver)return n(WebKitMutationObserver)}return"function"==typeof setImmediate?function(e){setImmediate(r(e))}:"function"==typeof setTimeout||"object"===("undefined"==typeof setTimeout?"undefined":u(setTimeout))?function(e){setTimeout(r(e),0)}:null}()}),Ln=de(function(){"use strict";var e=wn(),t=In(),r=Hr(),n=Gr(),a=Mn(),o=Array.prototype.slice,i=Function.prototype.apply,s=Object.create;Mr().async=function(l,u){var c,d,p,h=s(null),f=s(null),m=u.memoized,g=u.original;u.memoized=n(function(e){var t=arguments,r=t[t.length-1];return"function"==typeof r&&(c=r,t=o.call(t,0,-1)),m.apply(d=this,p=t)},m);try{r(u.memoized,m)}catch(e){}u.on("get",function(e){var t,r,n;if(c){if(h[e])return"function"==typeof h[e]?h[e]=[h[e],c]:h[e].push(c),void(c=null);t=c,r=d,n=p,c=d=p=null,a(function(){var a;hasOwnProperty.call(f,e)?(a=f[e],u.emit("getasync",e,n,r),i.call(t,a.context,a.args)):(c=t,d=r,p=n,m.apply(r,n))})}}),u.original=function(){var t,r,n,o;return c?(t=e(arguments),r=function t(r){var n,s,l=t.id;if(null!=l){if(delete t.id,n=h[l],delete h[l],n)return s=e(arguments),u.has(l)&&(r?u.delete(l):(f[l]={context:this,args:s},u.emit("setasync",l,"function"==typeof n?1:n.length))),"function"==typeof n?o=i.call(n,this,s):n.forEach(function(e){o=i.call(e,this,s)},this),o}else a(i.bind(t,this,arguments))},n=c,c=d=p=null,t.push(r),o=i.call(g,this,t),r.cb=n,c=r,o):i.call(g,this,arguments)},u.on("set",function(e){c?(h[e]?"function"==typeof h[e]?h[e]=[h[e],c.cb]:h[e].push(c.cb):h[e]=c.cb,delete c.cb,c.id=e,c=null):u.delete(e)}),u.on("delete",function(e){var t;hasOwnProperty.call(h,e)||f[e]&&(t=f[e],delete f[e],u.emit("deleteasync",e,o.call(t.args,1)))}),u.on("clear",function(){var e=f;f=s(null),u.emit("clearasync",t(e,function(e){return o.call(e.args,1)}))})}}),Bn=de(function(e,t){"use strict";var r=Array.prototype.forEach,n=Object.create;t.exports=function(e){var t=n(null);return r.call(arguments,function(e){t[e]=!0}),t}}),Vn=de(function(e,t){"use strict";t.exports=function(e){return"function"==typeof e}}),jn=de(function(e,t){"use strict";var r=Vn();t.exports=function(e){try{return e&&r(e.toString)?e.toString():String(e)}catch(e){throw new TypeError("Passed argument cannot be stringifed")}}}),qn=de(function(e,t){"use strict";var r=Or(),n=jn();t.exports=function(e){return n(r(e))}}),zn=de(function(e,t){"use strict";var r=Vn();t.exports=function(e){try{return e&&r(e.toString)?e.toString():String(e)}catch(e){return"<Non-coercible to string value>"}}}),$n=de(function(e,t){"use strict";var r=zn(),n=/[\n\r\u2028\u2029]/g;t.exports=function(e){var t=r(e);return t.length>100&&(t=t.slice(0,99)+"…"),t.replace(n,function(e){return JSON.stringify(e).slice(1,-1)})}}),Un=de(function(e,t){function r(e){return!!e&&("object"===u(e)||"function"==typeof e)&&"function"==typeof e.then}t.exports=r,t.exports.default=r}),Hn=de(function(){"use strict";var e=In(),t=Bn(),r=qn(),n=$n(),a=Un(),o=Mn(),i=Object.create,s=t("then","then:finally","done","done:finally");Mr().promise=function(t,l){var u=i(null),c=i(null),d=i(null);if(!0===t)t=null;else if(t=r(t),!s[t])throw new TypeError("'"+n(t)+"' is not valid promise mode");l.on("set",function(e,r,n){var i=!1;if(!a(n))return c[e]=n,void l.emit("setasync",e,1);u[e]=1,d[e]=n;var s=function(t){var r=u[e];if(i)throw new Error("Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)\nConsider to rely on 'then' or 'done' mode instead.");r&&(delete u[e],c[e]=t,l.emit("setasync",e,r))},p=function(){i=!0,u[e]&&(delete u[e],delete d[e],l.delete(e))},h=t;if(h||(h="then"),"then"===h){var f=function(){o(p)};"function"==typeof(n=n.then(function(e){o(s.bind(this,e))},f)).finally&&n.finally(f)}else if("done"===h){if("function"!=typeof n.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");n.done(s,p)}else if("done:finally"===h){if("function"!=typeof n.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if("function"!=typeof n.finally)throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");n.done(s),n.finally(p)}}),l.on("get",function(e,t,r){var n;if(u[e])++u[e];else{n=d[e];var i=function(){l.emit("getasync",e,t,r)};a(n)?"function"==typeof n.done?n.done(i):n.then(function(){o(i)}):i()}}),l.on("delete",function(e){if(delete d[e],u[e])delete u[e];else if(hasOwnProperty.call(c,e)){var t=c[e];delete c[e],l.emit("deleteasync",e,[t])}}),l.on("clear",function(){var t=c;c=i(null),u=i(null),d=i(null),l.emit("clearasync",e(t,function(e){return[e]}))})}}),Gn=de(function(){"use strict";var e=_r(),t=Ir(),r=Mr(),n=Function.prototype.apply;r.dispose=function(a,o,i){var s;if(e(a),i.async&&r.async||i.promise&&r.promise)return o.on("deleteasync",s=function(e,t){n.call(a,null,t)}),void o.on("clearasync",function(e){t(e,function(e,t){s(t,e)})});o.on("delete",s=function(e,t){a(t)}),o.on("clear",function(e){t(e,function(e,t){s(t,e)})})}}),Wn=de(function(e,t){"use strict";t.exports=2147483647}),Kn=de(function(e,t){"use strict";var r=Nr(),n=Wn();t.exports=function(e){if((e=r(e))>n)throw new TypeError(e+" exceeds maximum possible timeout");return e}}),Yn=de(function(){"use strict";var e=wn(),t=Ir(),r=Mn(),n=Un(),a=Kn(),o=Mr(),i=Function.prototype,s=Math.max,l=Math.min,u=Object.create;o.maxAge=function(c,d,p){var h,f,m,g;(c=a(c))&&(h=u(null),f=p.async&&o.async||p.promise&&o.promise?"async":"",d.on("set"+f,function(e){h[e]=setTimeout(function(){d.delete(e)},c),"function"==typeof h[e].unref&&h[e].unref(),g&&(g[e]&&"nextTick"!==g[e]&&clearTimeout(g[e]),g[e]=setTimeout(function(){delete g[e]},m),"function"==typeof g[e].unref&&g[e].unref())}),d.on("delete"+f,function(e){clearTimeout(h[e]),delete h[e],g&&("nextTick"!==g[e]&&clearTimeout(g[e]),delete g[e])}),p.preFetch&&(m=!0===p.preFetch||isNaN(p.preFetch)?.333:s(l(Number(p.preFetch),1),0))&&(g={},m=(1-m)*c,d.on("get"+f,function(t,a,o){g[t]||(g[t]="nextTick",r(function(){var r;"nextTick"===g[t]&&(delete g[t],d.delete(t),p.async&&(a=e(a)).push(i),r=d.memoized.apply(o,a),p.promise&&n(r)&&("function"==typeof r.done?r.done(i,i):r.then(i,i)))}))})),d.on("clear"+f,function(){t(h,function(e){clearTimeout(e)}),h={},g&&(t(g,function(e){"nextTick"!==e&&clearTimeout(e)}),g={})}))}}),Zn=de(function(e,t){"use strict";var r=Nr(),n=Object.create,a=Object.prototype.hasOwnProperty;t.exports=function(e){var t,o=0,i=1,s=n(null),l=n(null),u=0;return e=r(e),{hit:function(r){var n=l[r],c=++u;if(s[c]=r,l[r]=c,!n){if(++o<=e)return;return r=s[i],t(r),r}if(delete s[n],i===n)for(;!a.call(s,++i););},delete:t=function(e){var t=l[e];if(t&&(delete s[t],delete l[e],--o,i===t)){if(!o)return u=0,void(i=1);for(;!a.call(s,++i););}},clear:function(){o=0,i=1,s=n(null),l=n(null),u=0}}}}),Xn=de(function(){"use strict";var e=Nr(),t=Zn(),r=Mr();r.max=function(n,a,o){var i,s,l;(n=e(n))&&(s=t(n),i=o.async&&r.async||o.promise&&r.promise?"async":"",a.on("set"+i,l=function(e){void 0!==(e=s.hit(e))&&a.delete(e)}),a.on("get"+i,l),a.on("delete"+i,s.delete),a.on("clear"+i,s.clear))}}),Jn=de(function(){"use strict";var e=tn(),t=Mr(),r=Object.create,n=Object.defineProperties;t.refCounter=function(a,o,i){var s,l;s=r(null),l=i.async&&t.async||i.promise&&t.promise?"async":"",o.on("set"+l,function(e,t){s[e]=t||1}),o.on("get"+l,function(e){++s[e]}),o.on("delete"+l,function(e){delete s[e]}),o.on("clear"+l,function(){s={}}),n(o.memoized,{deleteRef:e(function(){var e=o.get(arguments);return null===e?null:s[e]?! --s[e]&&(o.delete(e),!0):null}),getRefCount:e(function(){var e=o.get(arguments);return null===e?0:s[e]?s[e]:0})})}}),Qn=de(function(e,t){"use strict";var r=Cr(),n=Sr(),a=Cn();t.exports=function(e){var t,o=r(arguments[1]);return o.normalizer||0!==(t=o.length=n(o.length,e.length,o.async))&&(o.primitive?!1===t?o.normalizer=Fn():t>1&&(o.normalizer=Tn()(t)):o.normalizer=!1===t?_n()():1===t?On()():Pn()(t)),o.async&&Ln(),o.promise&&Hn(),o.dispose&&Gn(),o.maxAge&&Yn(),o.max&&Xn(),o.refCounter&&Jn(),a(e,o)}}),ea={helpUrlBase:"https://dequeuniversity.com/rules/",gridSize:200,selectorSimilarFilterLimit:700,results:[],resultGroups:[],resultGroupMap:{},impact:Object.freeze(["minor","moderate","serious","critical"]),preload:Object.freeze({assets:["cssom","media"],timeout:1e4}),allOrigins:"<unsafe_all_origins>",sameOrigin:"<same_origin>",serializableErrorProps:Object.freeze(["message","stack","name","code","ruleId","method"])};[{name:"NA",value:"inapplicable",priority:0,group:"inapplicable"},{name:"PASS",value:"passed",priority:1,group:"passes"},{name:"CANTTELL",value:"cantTell",priority:2,group:"incomplete"},{name:"FAIL",value:"failed",priority:3,group:"violations"}].forEach(function(e){var t=e.name,r=e.value,n=e.priority,a=e.group;ea[t]=r,ea[t+"_PRIO"]=n,ea[t+"_GROUP"]=a,ea.results[n]=r,ea.resultGroups[n]=a,ea.resultGroupMap[r]=a}),Object.freeze(ea.results),Object.freeze(ea.resultGroups),Object.freeze(ea.resultGroupMap),Object.freeze(ea);var ta=ea,ra=function(){"object"===("undefined"==typeof console?"undefined":u(console))&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},na=/[\t\r\n\f]/g,aa=Q(function e(){X(this,e),this.parent=void 0},[{key:"props",get:function(){throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties')}},{key:"attrNames",get:function(){throw new Error('VirtualNode class must have an "attrNames" property')}},{key:"attr",value:function(){throw new Error('VirtualNode class must have an "attr" function')}},{key:"hasAttr",value:function(){throw new Error('VirtualNode class must have a "hasAttr" function')}},{key:"hasClass",value:function(e){var t=this.attr("class");if(!t)return!1;var r=" "+e+" ";return(" "+t+" ").replace(na," ").indexOf(r)>=0}}]),oa={};pe(oa,{DqElement:function(){return Ap},RuleError:function(){return Fm},aggregate:function(){return ia},aggregateChecks:function(){return pa},aggregateNodeResults:function(){return fa},aggregateResult:function(){return ga},areStylesSet:function(){return va},assert:function(){return ba},checkHelper:function(){return Cp},clone:function(){return Fp},closest:function(){return zp},collectResultsFromFrames:function(){return Bh},contains:function(){return Vh},convertSelector:function(){return Vp},cssParser:function(){return Rp},deepMerge:function(){return qh},escapeSelector:function(){return wa},extendMetaData:function(){return zh},filterHtmlAttrs:function(){return wm},finalizeRuleResult:function(){return ha},findBy:function(){return Ih},getAllChecks:function(){return Ph},getAncestry:function(){return nl},getBaseLang:function(){return rf},getCheckMessage:function(){return pf},getCheckOption:function(){return hf},getEnvironmentData:function(){return ff},getFlattenedTree:function(){return Jh},getFrameContexts:function(){return Tf},getFriendlyUriEnd:function(){return Aa},getNodeAttributes:function(){return Ca},getNodeFromTree:function(){return ul},getPreloadConfig:function(){return fm},getRootNode:function(){return dl},getRule:function(){return kf},getScroll:function(){return Nf},getScrollState:function(){return _f},getSelector:function(){return el},getSelectorData:function(){return Ks},getShadowSelector:function(){return Vs},getStandards:function(){return Of},getStyleSheetFactory:function(){return If},getXpath:function(){return ol},injectStyle:function(){return Mf},isArrayLike:function(){return Lf},isContextObject:function(){return jf},isContextProp:function(){return qf},isContextSpec:function(){return Vf},isHidden:function(){return Uf},isHtmlElement:function(){return Hf},isLabelledFramesSelector:function(){return zf},isLabelledShadowDomSelector:function(){return $f},isNodeInContext:function(){return Gf},isShadowRoot:function(){return Uh},isValidLang:function(){return Im},isXHTML:function(){return Bs},matchAncestry:function(){return Kf},matches:function(){return Np},matchesExpression:function(){return qp},matchesSelector:function(){return Fa},memoize:function(){return Ls},mergeResults:function(){return Lh},nodeLookup:function(){return Zf},nodeSerializer:function(){return Oh},nodeSorter:function(){return Yf},objectHasOwn:function(){return Bf},parseCrossOriginStylesheet:function(){return Qf},parseSameOriginStylesheet:function(){return Xf},parseStylesheet:function(){return Jf},parseTabindex:function(){return em},performanceTimer:function(){return rm},pollyfillElementsFromPoint:function(){return nm},preload:function(){return pm},preloadCssom:function(){return sm},preloadMedia:function(){return dm},processMessage:function(){return df},publishMetaData:function(){return mm},querySelectorAll:function(){return vm},querySelectorAllFilter:function(){return im},queue:function(){return Wp},respondable:function(){return Fh},ruleShouldRun:function(){return ym},select:function(){return Em},sendCommandToFrame:function(){return kh},serializeError:function(){return Am},setScrollState:function(){return Tm},shadowSelect:function(){return km},shadowSelectAll:function(){return Nm},shouldPreload:function(){return hm},toArray:function(){return ya},tokenList:function(){return Hh},uniqueArray:function(){return am},uuid:function(){return uh},validInputTypes:function(){return _m},validLangs:function(){return Pm}});var ia=function(e,t,r){t=t.slice(),r&&t.push(r);var n=t.map(function(t){return e.indexOf(t)}).sort();return e[n.pop()]},sa=ta.CANTTELL_PRIO,la=ta.FAIL_PRIO,ua=[];ua[ta.PASS_PRIO]=!0,ua[ta.CANTTELL_PRIO]=null,ua[ta.FAIL_PRIO]=!1;var ca=["any","all","none"];function da(e,t){return ca.reduce(function(r,n){return r[n]=(e[n]||[]).map(function(e){return t(e,n)}),r},{})}var pa=function(e){var t=Object.assign({},e);da(t,function(e,t){var r=void 0===e.result?-1:ua.indexOf(e.result);e.priority=-1!==r?r:ta.CANTTELL_PRIO,"none"===t&&(e.priority===ta.PASS_PRIO?e.priority=ta.FAIL_PRIO:e.priority===ta.FAIL_PRIO&&(e.priority=ta.PASS_PRIO))});var r={all:t.all.reduce(function(e,t){return Math.max(e,t.priority)},0),none:t.none.reduce(function(e,t){return Math.max(e,t.priority)},0),any:t.any.reduce(function(e,t){return Math.min(e,t.priority)},4)%4};t.priority=Math.max(r.all,r.none,r.any);var n=[];return ca.forEach(function(e){t[e]=t[e].filter(function(n){return n.priority===t.priority&&n.priority===r[e]}),t[e].forEach(function(e){return n.push(e.impact)})}),[sa,la].includes(t.priority)?t.impact=ia(ta.impact,n):t.impact=null,da(t,function(e){delete e.result,delete e.priority}),t.result=ta.results[t.priority],delete t.priority,t};function ha(e){var t=c._audit.rules.find(function(t){return t.id===e.id});return t&&t.impact&&e.nodes.forEach(function(e){["any","all","none"].forEach(function(r){(e[r]||[]).forEach(function(e){e.impact=t.impact})})}),Object.assign(e,fa(e.nodes)),delete e.nodes,e}var fa=function(e){var t={};if((e=e.map(function(e){if(e.any&&e.all&&e.none)return pa(e);if(Array.isArray(e.node))return ha(e);throw new TypeError("Invalid Result type")}))&&e.length){var r=e.map(function(e){return e.result});t.result=ia(ta.results,r,t.result)}else t.result="inapplicable";ta.resultGroups.forEach(function(e){return t[e]=[]}),e.forEach(function(e){var r=ta.resultGroupMap[e.result];t[r].push(e)});var n=ta.FAIL_GROUP;if(0===t[n].length&&(n=ta.CANTTELL_GROUP),t[n].length>0){var a=t[n].map(function(e){return e.impact});t.impact=ia(ta.impact,a)||null}else t.impact=null;return t};function ma(e,t,r){var n=Object.assign({},t);n.nodes=(n[r]||[]).concat(),ta.resultGroups.forEach(function(e){delete n[e]}),e[r].push(n)}var ga=function(e){var t={};return ta.resultGroups.forEach(function(e){return t[e]=[]}),e.forEach(function(e){e.error?ma(t,e,ta.CANTTELL_GROUP):e.result===ta.NA?ma(t,e,ta.NA_GROUP):ta.resultGroups.forEach(function(r){Array.isArray(e[r])&&e[r].length>0&&ma(t,e,r)})}),t},va=function e(t,r,n){var a=i.getComputedStyle(t,null);if(!a)return!1;for(var o=0;o<r.length;++o){var s=r[o];if(a.getPropertyValue(s.property)===s.value)return!0}return!(!t.parentNode||t.nodeName.toUpperCase()===n.toUpperCase())&&e(t.parentNode,r,n)},ba=function(e,t){if(!e)throw new Error(t)},ya=function(e){return Array.prototype.slice.call(e)},wa=function(e){for(var t,r=String(e),n=r.length,a=-1,o="",i=r.charCodeAt(0);++a<n;)0!=(t=r.charCodeAt(a))?o+=t>=1&&t<=31||127==t||0==a&&t>=48&&t<=57||1==a&&t>=48&&t<=57&&45==i?"\\"+t.toString(16)+" ":0==a&&1==n&&45==t||!(t>=128||45==t||95==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122)?"\\"+r.charAt(a):r.charAt(a):o+="�";return o};function Da(e,t){return[e.substring(0,t),e.substring(t)]}function Ea(e){return e.replace(/\s+$/,"")}var xa,Aa=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e.length<=1||"data:"===e.substr(0,5)||"javascript:"===e.substr(0,11)||e.includes("?"))){var r=t.currentDomain,n=t.maxLength,a=void 0===n?25:n,o=function(e){var t=e,r="",n="",a="",o="",i="";if(e.includes("#")){var s=K(Da(e,e.indexOf("#")),2);e=s[0],i=s[1]}if(e.includes("?")){var l=K(Da(e,e.indexOf("?")),2);e=l[0],o=l[1]}if(e.includes("://")){var u=K(e.split("://"),2);r=u[0];var c=K(Da(e=u[1],e.indexOf("/")),2);n=c[0],e=c[1]}else if("//"===e.substr(0,2)){var d=K(Da(e=e.substr(2),e.indexOf("/")),2);n=d[0],e=d[1]}if("www."===n.substr(0,4)&&(n=n.substr(4)),n&&n.includes(":")){var p=K(Da(n,n.indexOf(":")),2);n=p[0],a=p[1]}return{original:t,protocol:r,domain:n,port:a,path:e,query:o,hash:i}}(e),i=o.path,s=o.domain,l=o.hash,u=i.substr(i.substr(0,i.length-2).lastIndexOf("/")+1);if(l)return u&&(u+l).length<=a?Ea(u+l):u.length<2&&l.length>2&&l.length<=a?Ea(l):void 0;if(s&&s.length<a&&i.length<=1)return Ea(s+i);if(i==="/"+u&&s&&r&&s!==r&&(s+i).length<=a)return Ea(s+i);var c=u.lastIndexOf(".");return(-1===c||c>1)&&(-1!==c||u.length>2)&&u.length<=a&&!u.match(/index(\.[a-zA-Z]{2-4})?/)&&!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return 0!==e.length&&(e.match(/[0-9]/g)||"").length>=e.length/2}(u)?Ea(u):void 0}},Ca=function(e){return e.attributes instanceof i.NamedNodeMap?e.attributes:e.cloneNode(!1).attributes},Fa=function(e,t){return xa&&e[xa]||(xa=function(e){var t,r,n=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],a=n.length;for(t=0;t<a;t++)if(e[r=n[t]])return r}(e)),!!e[xa]&&e[xa](t)},Ta={};pe(Ta,{ArrayFrom:function(){return Ms.default},Colorjs:function(){return Ns},CssSelectorParser:function(){return Oa.CssSelectorParser},doT:function(){return Pa.default},emojiRegexText:function(){return Ia},memoize:function(){return Ma.default}});var ka=he(me()),Ra=he(ge()),Na=(he(ve()),he(gt())),Sa=he(Pt()),_a=he(vr());"hasOwn"in Object||(Object.hasOwn=Na.default),"values"in Object||(Object.values=Sa.default),"Promise"in i||ka.default.polyfill(),"Uint32Array"in i||(i.Uint32Array=Ra.Uint32Array),i.Uint32Array&&("some"in i.Uint32Array.prototype||Object.defineProperty(i.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in i.Uint32Array.prototype||Object.defineProperty(i.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce})),"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1;r<arguments.length;r++){var n=arguments[r];if(null!=n)for(var a in n)n.hasOwnProperty(a)&&(t[a]=n[a])}return t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,r=Object(this),n=r.length>>>0,a=arguments[1],o=0;o<n;o++)if(t=r[o],e.call(a,t,o,r))return t}}),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(e,t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var r,n=Object(this),a=n.length>>>0,o=0;o<a;o++)if(r=n[o],e.call(t,r,o,n))return o;return-1}}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e){var t=Object(this),r=parseInt(t.length,10)||0;if(0===r)return!1;var n,a,o=parseInt(arguments[1],10)||0;for(o>=0?n=o:(n=r+o)<0&&(n=0);n<r;){if(e===(a=t[n])||e!=e&&a!=a)return!0;n++}return!1}}),Array.prototype.some||Object.defineProperty(Array.prototype,"some",{value:function(e){if(null==this)throw new TypeError("Array.prototype.some called on null or undefined");if("function"!=typeof e)throw new TypeError;for(var t=Object(this),r=t.length>>>0,n=arguments.length>=2?arguments[1]:void 0,a=0;a<r;a++)if(a in t&&e.call(n,t[a],a,t))return!0;return!1}}),Array.from||(Array.from=_a.default),String.prototype.includes||(String.prototype.includes=function(e,t){return"number"!=typeof t&&(t=0),!(t+e.length>this.length)&&-1!==this.indexOf(e,t)}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,function(r,n){return Array.isArray(n)?r.push.apply(r,e.call(n,t-1)):r.push(n),r},[]):Array.prototype.slice.call(this)},writable:!0}),i.Node&&!("isConnected"in i.Node.prototype)&&Object.defineProperty(i.Node.prototype,"isConnected",{get:function(){return!(this.ownerDocument&&this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var Oa=he(Dr()),Pa=he(Er()),Ia=function(){return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g},Ma=he(Qn());function La(e,t){var r=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=t.map(function(e){return[e]}));var n=t[0].length,a=t[0].map(function(e,r){return t.map(function(e){return e[r]})}),o=e.map(function(e){return a.map(function(t){var r=0;if(!Array.isArray(e)){var n,a=te(t);try{for(a.s();!(n=a.n()).done;){var o=n.value;r+=e*o}}catch(e){a.e(e)}finally{a.f()}return r}for(var i=0;i<e.length;i++)r+=e[i]*(t[i]||0);return r})});return 1===r&&(o=o[0]),1===n?o.map(function(e){return e[0]}):o}function Ba(e){return"string"===Va(e)}function Va(e){return(Object.prototype.toString.call(e).match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function ja(e,t){e=+e,t=+t;var r=(Math.floor(e)+"").length;if(t>r)return+e.toFixed(t-r);var n=Math.pow(10,r-t);return Math.round(e/n)*n}function qa(e){if(e){e=e.trim();var t=/^-?[\d.]+$/,r=e.match(/^([a-z]+)\((.+?)\)$/i);if(r){var n=[];return r[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,function(e,r){/%$/.test(r)?(r=new Number(r.slice(0,-1)/100)).type="<percentage>":/deg$/.test(r)?((r=new Number(+r.slice(0,-3))).type="<angle>",r.unit="deg"):t.test(r)&&((r=new Number(r)).type="<number>"),e.startsWith("/")&&((r=r instanceof Number?r:new Number(r)).alpha=!0),n.push(r)}),{name:r[1].toLowerCase(),rawName:r[1],rawArgs:r[2],args:n}}}}function za(e){return e[e.length-1]}function $a(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function Ua(e,t,r){return(r-e)/(t-e)}function Ha(e,t,r){return $a(t[0],t[1],Ua(e[0],e[1],r))}function Ga(e){return e.map(function(e){return e.split("|").map(function(e){var t=(e=e.trim()).match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(t){var r=new String(t[1]);return r.range=[+t[2],+t[3]],r}return e})})}var Wa=Object.freeze({__proto__:null,isString:Ba,type:Va,toPrecision:ja,parseFunction:qa,last:za,interpolate:$a,interpolateInv:Ua,mapRange:Ha,parseCoordGrammar:Ga,multiplyMatrices:La}),Ka=Q(function e(){X(this,e)},[{key:"add",value:function(e,t,r){if("string"==typeof arguments[0])(Array.isArray(e)?e:[e]).forEach(function(e){this[e]=this[e]||[],t&&this[e][r?"unshift":"push"](t)},this);else for(var e in arguments[0])this.add(e,arguments[0][e],arguments[1])}},{key:"run",value:function(e,t){this[e]=this[e]||[],this[e].forEach(function(e){e.call(t&&t.context?t.context:t,t)})}}]),Ya=new Ka,Za={gamut_mapping:"lch.c",precision:5,deltaE:"76"},Xa={D50:[.3457/.3585,1,.2958/.3585],D65:[.3127/.329,1,.3583/.329]};function Ja(e){return Array.isArray(e)?e:Xa[e]}function Qa(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(e=Ja(e),t=Ja(t),!e||!t)throw new TypeError("Missing white point to convert ".concat(e?"":"from").concat(e||t?"":"/").concat(t?"":"to"));if(e===t)return r;var a={W1:e,W2:t,XYZ:r,options:n};if(Ya.run("chromatic-adaptation-start",a),a.M||(a.W1===Xa.D65&&a.W2===Xa.D50?a.M=[[1.0479298208405488,.022946793341019088,-.05019222954313557],[.029627815688159344,.990434484573249,-.01707382502938514],[-.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===Xa.D50&&a.W2===Xa.D65&&(a.M=[[.9554734527042182,-.023098536874261423,.0632593086610217],[-.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-.020507696433477912,1.3303659366080753]])),Ya.run("chromatic-adaptation-end",a),a.M)return La(a.M,a.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var eo=(e=new WeakSet,t=new WeakMap,Q(function r(n){var a,o,i,s,l,u,c;X(this,r),$(this,e),z(this,t,void 0),this.id=n.id,this.name=n.name,this.base=n.base?eo.get(n.base):null,this.aliases=n.aliases,this.base&&(this.fromBase=n.fromBase,this.toBase=n.toBase);var d=null!==(a=n.coords)&&void 0!==a?a:this.base.coords;this.coords=d;var p=null!==(o=null!==(i=n.white)&&void 0!==i?i:this.base.white)&&void 0!==o?o:"D65";for(var h in this.white=Ja(p),this.formats=null!==(s=n.formats)&&void 0!==s?s:{},this.formats){var f=this.formats[h];f.type||(f.type="function"),f.name||(f.name=h)}!n.cssId||null!==(l=this.formats.functions)&&void 0!==l&&l.color?null===(u=this.formats)||void 0===u||!u.color||null!==(c=this.formats)&&void 0!==c&&c.color.id||(this.formats.color.id=this.id):(this.formats.color={id:n.cssId},Object.defineProperty(this,"cssId",{value:n.cssId})),this.referred=n.referred,G(t,this,W(e,this,ro).call(this).reverse()),Ya.run("colorspace-init-end",this)},[{key:"inGamut",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).epsilon,r=void 0===t?75e-6:t;if(this.isPolar)return e=this.toBase(e),this.base.inGamut(e,{epsilon:r});var n=Object.values(this.coords);return e.every(function(e,t){var a=n[t];if("angle"!==a.type&&a.range){if(Number.isNaN(e))return!0;var o=K(a.range,2),i=o[0],s=o[1];return(void 0===i||e>=i-r)&&(void 0===s||e<=s+r)}return!0})}},{key:"cssId",get:function(){var e;return(null===(e=this.formats.functions)||void 0===e||null===(e=e.color)||void 0===e?void 0:e.id)||this.id}},{key:"isPolar",get:function(){for(var e in this.coords)if("angle"===this.coords[e].type)return!0;return!1}},{key:"getFormat",value:function(t){return"object"===u(t)?t=W(e,this,to).call(this,t):(r="default"===t?Object.values(this.formats)[0]:this.formats[t])?r=W(e,this,to).call(this,r):null;var r}},{key:"to",value:function(e,r){if(1===arguments.length){var n=[e.space,e.coords];e=n[0],r=n[1]}if(this===(e=eo.get(e)))return r;r=r.map(function(e){return Number.isNaN(e)?0:e});for(var a,o,i=H(t,this),s=H(t,e),l=0;l<i.length&&i[l]===s[l];l++)a=i[l],o=l;if(!a)throw new Error("Cannot convert between color spaces ".concat(this," and ").concat(e,": no connection space was found"));for(var u=i.length-1;u>o;u--)r=i[u].toBase(r);for(var c=o+1;c<s.length;c++)r=s[c].fromBase(r);return r}},{key:"from",value:function(e,t){if(1===arguments.length){var r=[e.space,e.coords];e=r[0],t=r[1]}return(e=eo.get(e)).to(this,t)}},{key:"toString",value:function(){return"".concat(this.name," (").concat(this.id,")")}},{key:"getMinCoords",value:function(){var e=[];for(var t in this.coords){var r,n=this.coords[t],a=n.range||n.refRange;e.push(null!==(r=null==a?void 0:a.min)&&void 0!==r?r:0)}return e}}],[{key:"all",get:function(){return j(new Set(Object.values(eo.registry)))}},{key:"register",value:function(e,t){if(1===arguments.length&&(e=(t=arguments[0]).id),t=this.get(t),this.registry[e]&&this.registry[e]!==t)throw new Error("Duplicate color space registration: '".concat(e,"'"));if(this.registry[e]=t,1===arguments.length&&t.aliases){var r,n=te(t.aliases);try{for(n.s();!(r=n.n()).done;){var a=r.value;this.register(a,t)}}catch(e){n.e(e)}finally{n.f()}}return t}},{key:"get",value:function(e){if(!e||e instanceof eo)return e;if("string"===Va(e)){var t=eo.registry[e.toLowerCase()];if(!t)throw new TypeError('No color space found with id = "'.concat(e,'"'));return t}for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];if(n.length)return eo.get.apply(eo,n);throw new TypeError("".concat(e," is not a valid color space"))}},{key:"resolveCoord",value:function(e,t){var r,n,a=Va(e);if("string"===a)if(e.includes(".")){var o=K(e.split("."),2);r=o[0],n=o[1]}else r=void 0,n=e;else if(Array.isArray(e)){var i=K(e,2);r=i[0],n=i[1]}else r=e.space,n=e.coordId;if((r=eo.get(r))||(r=t),!r)throw new TypeError("Cannot resolve coordinate reference ".concat(e,": No color space specified and relative references are not allowed here"));if("number"===(a=Va(n))||"string"===a&&n>=0){var s=Object.entries(r.coords)[n];if(s)return V({space:r,id:s[0],index:n},s[1])}r=eo.get(r);var l=n.toLowerCase(),u=0;for(var c in r.coords){var d,p=r.coords[c];if(c.toLowerCase()===l||(null===(d=p.name)||void 0===d?void 0:d.toLowerCase())===l)return V({space:r,id:c,index:u},p);u++}throw new TypeError('No "'.concat(n,'" coordinate found in ').concat(r.name,". Its coordinates are: ").concat(Object.keys(r.coords).join(", ")))}}]));function to(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=Ga(e.coords);var t=Object.entries(this.coords).map(function(t,r){var n=K(t,2),a=(n[0],n[1]),o=e.coordGrammar[r][0],i=a.range||a.refRange,s=o.range,l="";return"<percentage>"==o?(s=[0,100],l="%"):"<angle>"==o&&(l="deg"),{fromRange:i,toRange:s,suffix:l}});e.serializeCoords=function(e,r){return e.map(function(e,n){var a=t[n],o=a.fromRange,i=a.toRange,s=a.suffix;return o&&i&&(e=Ha(o,i,e)),e=ja(e,r),s&&(e+=s),e})}}return e}function ro(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var no=eo;fe(no,"registry",{}),fe(no,"DEFAULT_FORMAT",{type:"functions",name:"color"});var ao=new no({id:"xyz-d65",name:"XYZ D65",coords:{x:{name:"X"},y:{name:"Y"},z:{name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]}),oo=function(e){function t(e){var r,n,a,o;return X(this,t),e.coords||(e.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),e.base||(e.base=ao),e.toXYZ_M&&e.fromXYZ_M&&(null!==(a=e.toBase)&&void 0!==a||(e.toBase=function(t){var r=La(e.toXYZ_M,t);return n.white!==n.base.white&&(r=Qa(n.white,n.base.white,r)),r}),null!==(o=e.fromBase)&&void 0!==o||(e.fromBase=function(t){return t=Qa(n.base.white,n.white,t),La(e.fromXYZ_M,t)})),null!==(r=e.referred)&&void 0!==r||(e.referred="display"),n=P(this,t,[e])}return L(t,e),Q(t)}(no);function io(e){var t,r={str:null===(t=String(e))||void 0===t?void 0:t.trim()};if(Ya.run("parse-start",r),r.color)return r.color;if(r.parsed=qa(r.str),r.parsed){var n=r.parsed.name;if("color"===n){var a,o=r.parsed.args.shift(),i=r.parsed.rawArgs.indexOf("/")>0?r.parsed.args.pop():1,s=te(no.all);try{var l,u=function(){var e,t=a.value,n=t.getFormat("color");if(n&&(o===n.id||null!==(e=n.ids)&&void 0!==e&&e.includes(o))){var s=Object.keys(t.coords).length,l=Array(s).fill(0);return l.forEach(function(e,t){return l[t]=r.parsed.args[t]||0}),{v:{spaceId:t.id,coords:l,alpha:i}}}};for(s.s();!(a=s.n()).done;)if(l=u())return l.v}catch(e){s.e(e)}finally{s.f()}var c="";if(o in no.registry){var d,p=null===(d=no.registry[o].formats)||void 0===d||null===(d=d.functions)||void 0===d||null===(d=d.color)||void 0===d?void 0:d.id;p&&(c="Did you mean color(".concat(p,")?"))}throw new TypeError("Cannot parse color(".concat(o,"). ")+(c||"Missing a plugin?"))}var h,f=te(no.all);try{var m,g=function(){var e=h.value,t=e.getFormat(n);if(t&&"function"===t.type){var a=1;(t.lastAlpha||za(r.parsed.args).alpha)&&(a=r.parsed.args.pop());var o=r.parsed.args;return t.coordGrammar&&Object.entries(e.coords).forEach(function(e,r){var a,i=K(e,2),s=i[0],l=i[1],u=t.coordGrammar[r],c=null===(a=o[r])||void 0===a?void 0:a.type;if(!(u=u.find(function(e){return e==c}))){var d=l.name||s;throw new TypeError("".concat(c," not allowed for ").concat(d," in ").concat(n,"()"))}var p=u.range;"<percentage>"===c&&(p||(p=[0,1]));var h=l.range||l.refRange;p&&h&&(o[r]=Ha(p,h,o[r]))}),{v:{spaceId:e.id,coords:o,alpha:a}}}};for(f.s();!(h=f.n()).done;)if(m=g())return m.v}catch(e){f.e(e)}finally{f.f()}}else{var v,b=te(no.all);try{for(b.s();!(v=b.n()).done;){var y=v.value;for(var w in y.formats){var D=y.formats[w];if("custom"===D.type&&(!D.test||D.test(r.str))){var E,x=D.parse(r.str);if(x)return null!==(E=x.alpha)&&void 0!==E||(x.alpha=1),x}}}}catch(e){b.e(e)}finally{b.f()}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function so(e){if(!e)throw new TypeError("Empty color reference");Ba(e)&&(e=io(e));var t=e.space||e.spaceId;return t instanceof no||(e.space=no.get(t)),void 0===e.alpha&&(e.alpha=1),e}function lo(e,t){return(t=no.get(t)).from(e)}function uo(e,t){var r=no.resolveCoord(t,e.space),n=r.space,a=r.index;return lo(e,n)[a]}function co(e,t,r){return t=no.get(t),e.coords=t.to(e.space,r),e}function po(e,t,r){if(e=so(e),2===arguments.length&&"object"===Va(arguments[1])){var n=arguments[1];for(var a in n)po(e,a,n[a])}else{"function"==typeof r&&(r=r(uo(e,t)));var o=no.resolveCoord(t,e.space),i=o.space,s=o.index,l=lo(e,i);l[s]=r,co(e,i,l)}return e}var ho=new no({id:"xyz-d50",name:"XYZ D50",white:"D50",base:ao,fromBase:function(e){return Qa(ao.white,"D50",e)},toBase:function(e){return Qa("D50",ao.white,e)},formats:{color:{}}}),fo=216/24389,mo=24/116,go=24389/27,vo=Xa.D50,bo=new no({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:vo,base:ho,fromBase:function(e){var t=e.map(function(e,t){return e/vo[t]}),r=t.map(function(e){return e>fo?Math.cbrt(e):(go*e+16)/116});return[116*r[1]-16,500*(r[0]-r[1]),200*(r[1]-r[2])]},toBase:function(e){var t=[];return t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200,[t[0]>mo?Math.pow(t[0],3):(116*t[0]-16)/go,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/go,t[2]>mo?Math.pow(t[2],3):(116*t[2]-16)/go].map(function(e,t){return e*vo[t]})},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function yo(e){return(e%360+360)%360}var wo=new no({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:bo,fromBase:function(e){var t,r=K(e,3),n=r[0],a=r[1],o=r[2];return t=Math.abs(a)<.02&&Math.abs(o)<.02?NaN:180*Math.atan2(o,a)/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),yo(t)]},toBase:function(e){var t=K(e,3),r=t[0],n=t[1],a=t[2];return n<0&&(n=0),isNaN(a)&&(a=0),[r,n*Math.cos(a*Math.PI/180),n*Math.sin(a*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),Do=Math.pow(25,7),Eo=Math.PI,xo=180/Eo,Ao=Eo/180;function Co(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.kL,a=void 0===n?1:n,o=r.kC,i=void 0===o?1:o,s=r.kH,l=void 0===s?1:s,u=K(bo.from(e),3),c=u[0],d=u[1],p=u[2],h=wo.from(bo,[c,d,p])[1],f=K(bo.from(t),3),m=f[0],g=f[1],v=f[2],b=wo.from(bo,[m,g,v])[1];h<0&&(h=0),b<0&&(b=0);var y=(h+b)/2,w=Math.pow(y,7),D=.5*(1-Math.sqrt(w/(w+Do))),E=(1+D)*d,x=(1+D)*g,A=Math.sqrt(Math.pow(E,2)+Math.pow(p,2)),C=Math.sqrt(Math.pow(x,2)+Math.pow(v,2)),F=0===E&&0===p?0:Math.atan2(p,E),T=0===x&&0===v?0:Math.atan2(v,x);F<0&&(F+=2*Eo),T<0&&(T+=2*Eo);var k,R=m-c,N=C-A,S=(T*=xo)-(F*=xo),_=F+T,O=Math.abs(S);A*C===0?k=0:O<=180?k=S:S>180?k=S-360:S<-180?k=S+360:console.log("the unthinkable has happened");var P,I=2*Math.sqrt(C*A)*Math.sin(k*Ao/2),M=(c+m)/2,L=(A+C)/2,B=Math.pow(L,7);P=A*C===0?_:O<=180?_/2:_<360?(_+360)/2:(_-360)/2;var V=Math.pow(M-50,2),j=1+.015*V/Math.sqrt(20+V),q=1+.045*L,z=1;z-=.17*Math.cos((P-30)*Ao),z+=.24*Math.cos(2*P*Ao),z+=.32*Math.cos((3*P+6)*Ao);var $=1+.015*L*(z-=.2*Math.cos((4*P-63)*Ao)),U=30*Math.exp(-1*Math.pow((P-275)/25,2)),H=2*Math.sqrt(B/(B+Do)),G=-1*Math.sin(2*U*Ao)*H,W=Math.pow(R/(a*j),2);return W+=Math.pow(N/(i*q),2),W+=Math.pow(I/(l*$),2),W+=G*(N/(i*q))*(I/(l*$)),Math.sqrt(W)}function Fo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.space,r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).epsilon,n=void 0===r?75e-6:r;e=so(e),t=no.get(t);var a=e.coords;return t!==e.space&&(a=t.from(e)),t.inGamut(a,{epsilon:n})}function To(e){return{space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function ko(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.method,n=void 0===r?Za.gamut_mapping:r,a=t.space,o=void 0===a?e.space:a;if(Ba(arguments[1])&&(o=arguments[1]),Fo(e,o=no.get(o),{epsilon:0}))return e;var i=Ro(e,o);if("clip"!==n&&!Fo(e,o)){var s=ko(To(i),{method:"clip",space:o});if(Co(e,s)>2){for(var l=no.resolveCoord(n),u=l.space,c=l.id,d=Ro(i,u),p=(l.range||l.refRange)[0],h=uo(d,c);h-p>.01;){var f=To(d);Co(d,f=ko(f,{space:o,method:"clip"}))-2<.01?p=uo(d,c):h=uo(d,c),po(d,c,(p+h)/2)}i=Ro(d,o)}else i=s}if("clip"===n||!Fo(i,o,{epsilon:0})){var m=Object.values(o.coords).map(function(e){return e.range||[]});i.coords=i.coords.map(function(e,t){var r=K(m[t],2),n=r[0],a=r[1];return void 0!==n&&(e=Math.max(n,e)),void 0!==a&&(e=Math.min(e,a)),e})}return o!==e.space&&(i=Ro(i,e.space)),e.coords=i.coords,e}function Ro(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).inGamut;e=so(e);var n=(t=no.get(t)).from(e),a={space:t,coords:n,alpha:e.alpha};return r&&(a=ko(a)),a}function No(e){var t,r,n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=a.precision,i=void 0===o?Za.precision:o,s=a.format,l=void 0===s?"default":s,u=a.inGamut,c=void 0===u||u,p=O(a,d),h=l;l=null!==(t=null!==(r=(e=so(e)).space.getFormat(l))&&void 0!==r?r:e.space.getFormat("default"))&&void 0!==t?t:no.DEFAULT_FORMAT,c||(c=l.toGamut);var f=e.coords;if(f=f.map(function(e){return e||0}),c&&!Fo(e)&&(f=ko(To(e),!0===c?void 0:c).coords),"custom"===l.type){if(p.precision=i,!l.serialize)throw new TypeError("format ".concat(h," can only be used to parse colors, not for serialization"));n=l.serialize(f,e.alpha,p)}else{var m=l.name||"color";l.serializeCoords?f=l.serializeCoords(f,i):null!==i&&(f=f.map(function(e){return ja(e,i)}));var g=j(f);if("color"===m){var v,b=l.id||(null===(v=l.ids)||void 0===v?void 0:v[0])||e.space.id;g.unshift(b)}var y=e.alpha;null!==i&&(y=ja(y,i));var w=e.alpha<1&&!l.noAlpha?"".concat(l.commas?",":" /"," ").concat(y):"";n="".concat(m,"(").concat(g.join(l.commas?", ":" ")).concat(w,")")}return n}ko.returns="color",Ro.returns="color";var So=new oo({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],fromXYZ_M:[[1.716651187971268,-.355670783776392,-.25336628137366],[-.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-.042770613257809,.942103121235474]],formats:{color:{}}}),_o=1.09929682680944,Oo=.018053968510807,Po=new oo({id:"rec2020",name:"REC.2020",base:So,toBase:function(e){return e.map(function(e){return e<4.5*Oo?e/4.5:Math.pow((e+_o-1)/_o,1/.45)})},fromBase:function(e){return e.map(function(e){return e>=Oo?_o*Math.pow(e,.45)-(_o-1):4.5*e})},formats:{color:{}}}),Io=new oo({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],fromXYZ_M:[[2.493496911941425,-.9313836179191239,-.40271078445071684],[-.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-.07617238926804182,.9568845240076872]]}),Mo=new oo({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],fromXYZ_M:[[3.2409699419045226,-1.537383177570094,-.4986107602930034],[-.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-.20397695888897652,1.0569715142428786]],formats:{color:{}}}),Lo={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[.6,50/255,.8],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,.6],lightslategrey:[119/255,136/255,.6],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[.4,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,.8],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[.4,.2,.6],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]},Bo=Array(3).fill("<percentage> | <number>[0, 255]"),Vo=Array(3).fill("<number>[0, 255]"),jo=new oo({id:"srgb",name:"sRGB",base:Mo,fromBase:function(e){return e.map(function(e){var t=e<0?-1:1,r=e*t;return r>.0031308?t*(1.055*Math.pow(r,1/2.4)-.055):12.92*e})},toBase:function(e){return e.map(function(e){var t=e<0?-1:1,r=e*t;return r<.04045?e/12.92:t*Math.pow((r+.055)/1.055,2.4)})},formats:{rgb:{coords:Bo},rgb_number:{name:"rgb",commas:!0,coords:Vo,noAlpha:!0},color:{},rgba:{coords:Bo,commas:!0,lastAlpha:!0},rgba_number:{name:"rgba",commas:!0,coords:Vo},hex:{type:"custom",toGamut:!0,test:function(e){return/^#([a-f0-9]{3,4}){1,2}$/i.test(e)},parse:function(e){e.length<=5&&(e=e.replace(/[a-f0-9]/gi,"$&$&"));var t=[];return e.replace(/[a-f0-9]{2}/gi,function(e){t.push(parseInt(e,16)/255)}),{spaceId:"srgb",coords:t.slice(0,3),alpha:t.slice(3)[0]}},serialize:function(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).collapse,n=void 0===r||r;t<1&&e.push(t),e=e.map(function(e){return Math.round(255*e)});var a=n&&e.every(function(e){return e%17==0});return"#"+e.map(function(e){return a?(e/17).toString(16):e.toString(16).padStart(2,"0")}).join("")}},keyword:{type:"custom",test:function(e){return/^[a-z]+$/i.test(e)},parse:function(e){var t={spaceId:"srgb",coords:null,alpha:1};if("transparent"===(e=e.toLowerCase())?(t.coords=Lo.black,t.alpha=0):t.coords=Lo[e],t.coords)return t}}}}),qo=new oo({id:"p3",name:"P3",base:Io,fromBase:jo.fromBase,toBase:jo.toBase,formats:{color:{id:"display-p3"}}});if(Za.display_space=jo,"undefined"!=typeof CSS&&null!==(o=CSS)&&void 0!==o&&o.supports)for(var zo=0,$o=[bo,Po,qo];zo<$o.length;zo++){var Uo=$o[zo],Ho=Uo.getMinCoords(),Go=No({space:Uo,coords:Ho,alpha:1});if(CSS.supports("color",Go)){Za.display_space=Uo;break}}function Wo(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.space,a=void 0===n?Za.display_space:n,o=O(r,p),i=No(e,o);if("undefined"==typeof CSS||null!==(t=CSS)&&void 0!==t&&t.supports("color",i)||!Za.display_space)(i=new String(i)).color=e;else{var s=Ro(e,a);(i=new String(No(s,o))).color=s}return i}function Ko(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"lab",n=(r=no.get(r)).from(e),a=r.from(t);return Math.sqrt(n.reduce(function(e,t,r){var n=a[r];return isNaN(t)||isNaN(n)?e:e+Math.pow(n-t,2)},0))}function Yo(e){return uo(e,[ao,"y"])}function Zo(e,t){po(e,[ao,"y"],t)}var Xo=Object.freeze({__proto__:null,getLuminance:Yo,setLuminance:Zo,register:function(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return Yo(this)},set:function(e){Zo(this,e)}})}});function Jo(e){return e>=.022?e:e+Math.pow(.022-e,1.414)}function Qo(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}var ei=216/24389,ti=24/116,ri=24389/27,ni=Xa.D65,ai=new no({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:ni,base:ao,fromBase:function(e){var t=e.map(function(e,t){return e/ni[t]}),r=t.map(function(e){return e>ei?Math.cbrt(e):(ri*e+16)/116});return[116*r[1]-16,500*(r[0]-r[1]),200*(r[1]-r[2])]},toBase:function(e){var t=[];return t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200,[t[0]>ti?Math.pow(t[0],3):(116*t[0]-16)/ri,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/ri,t[2]>ti?Math.pow(t[2],3):(116*t[2]-16)/ri].map(function(e,t){return e*ni[t]})},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),oi=.5*Math.pow(5,.5)+.5,ii=Object.freeze({__proto__:null,contrastWCAG21:function(e,t){e=so(e),t=so(t);var r=Math.max(Yo(e),0),n=Math.max(Yo(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1]}return(r+.05)/(n+.05)},contrastAPCA:function(e,t){var r,n,a,o;t=so(t),e=so(e);var i=K((t=Ro(t,"srgb")).coords,3);n=i[0],a=i[1],o=i[2];var s=.2126729*Qo(n)+.7151522*Qo(a)+.072175*Qo(o),l=K((e=Ro(e,"srgb")).coords,3);n=l[0],a=l[1],o=l[2];var u=.2126729*Qo(n)+.7151522*Qo(a)+.072175*Qo(o),c=Jo(s),d=Jo(u),p=d>c;return r=Math.abs(d-c)<5e-4?0:p?1.14*(Math.pow(d,.56)-Math.pow(c,.57)):1.14*(Math.pow(d,.65)-Math.pow(c,.62)),100*(Math.abs(r)<.1?0:r>0?r-.027:r+.027)},contrastMichelson:function(e,t){e=so(e),t=so(t);var r=Math.max(Yo(e),0),n=Math.max(Yo(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1]}var o=r+n;return 0===o?0:(r-n)/o},contrastWeber:function(e,t){e=so(e),t=so(t);var r=Math.max(Yo(e),0),n=Math.max(Yo(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1]}return 0===n?5e4:(r-n)/n},contrastLstar:function(e,t){e=so(e),t=so(t);var r=uo(e,[bo,"l"]),n=uo(t,[bo,"l"]);return Math.abs(r-n)},contrastDeltaPhi:function(e,t){e=so(e),t=so(t);var r=uo(e,[ai,"l"]),n=uo(t,[ai,"l"]),a=Math.abs(Math.pow(r,oi)-Math.pow(n,oi)),o=Math.pow(a,1/oi)*Math.SQRT2-40;return o<7.5?0:o}});function si(e){var t=K(lo(e,ao),3),r=t[0],n=t[1],a=r+15*n+3*t[2];return[4*r/a,9*n/a]}function li(e){var t=K(lo(e,ao),3),r=t[0],n=t[1],a=r+n+t[2];return[r/a,n/a]}var ui=Object.freeze({__proto__:null,uv:si,xy:li,register:function(e){Object.defineProperty(e.prototype,"uv",{get:function(){return si(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return li(this)}})}}),ci=Math.PI/180,di=new no({id:"xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:ao,fromBase:function(e){return e.map(function(e){return Math.max(203*e,0)})},toBase:function(e){return e.map(function(e){return Math.max(e/203,0)})}}),pi=1.15,hi=.66,fi=2610/Math.pow(2,14),mi=Math.pow(2,14)/2610,gi=3424/Math.pow(2,12),vi=2413/Math.pow(2,7),bi=2392/Math.pow(2,7),yi=1.7*2523/Math.pow(2,5),wi=Math.pow(2,5)/(1.7*2523),Di=-.56,Ei=16295499532821565e-27,xi=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],Ai=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],Ci=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],Fi=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-.1386050432715393,-.05804731615611886],[.9999999999999998,-.09601924202631895,-.8118918960560388]],Ti=new no({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.5,.5]},bz:{refRange:[-.5,.5]}},base:di,fromBase:function(e){var t=K(e,3),r=t[0],n=t[1],a=t[2],o=La(xi,[pi*r-(pi-1)*a,hi*n-(hi-1)*r,a]).map(function(e){var t=gi+vi*Math.pow(e/1e4,fi),r=1+bi*Math.pow(e/1e4,fi);return Math.pow(t/r,yi)}),i=K(La(Ci,o),3),s=i[0],l=i[1],u=i[2];return[(1+Di)*s/(1+Di*s)-Ei,l,u]},toBase:function(e){var t=K(e,3),r=t[0],n=t[1],a=t[2],o=La(Fi,[(r+Ei)/(1+Di-Di*(r+Ei)),n,a]).map(function(e){var t=gi-Math.pow(e,wi),r=bi*Math.pow(e,wi)-vi;return 1e4*Math.pow(t/r,mi)}),i=K(La(Ai,o),3),s=i[0],l=i[1],u=i[2],c=(s+(pi-1)*u)/pi;return[c,(l+(hi-1)*c)/hi,u]},formats:{color:{}}}),ki=new no({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,1],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:Ti,fromBase:function(e){var t,r=K(e,3),n=r[0],a=r[1],o=r[2],i=2e-4;return t=Math.abs(a)<i&&Math.abs(o)<i?NaN:180*Math.atan2(o,a)/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),yo(t)]},toBase:function(e){return[e[0],e[1]*Math.cos(e[2]*Math.PI/180),e[1]*Math.sin(e[2]*Math.PI/180)]},formats:{color:{}}}),Ri=.8359375,Ni=2413/128,Si=18.6875,_i=2610/16384,Oi=16384/2610,Pi=32/2523,Ii=[[.3592,.6976,-.0358],[-.1922,1.1004,.0755],[.007,.0749,.8434]],Mi=[[.5,.5,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],Li=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-.008605050147287059,-.11103437159861648],[1.0000320633910054,.56004913547279,-.3206339100541203]],Bi=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-.04542175307585323],[-.04959554223893211,-.04942116118675749,1.1879959417328034]],Vi=new no({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-.5,.5],name:"CT"},cp:{refRange:[-.5,.5],name:"CP"}},base:di,fromBase:function(e){return t=La(Ii,e),r=t.map(function(e){var t=Ri+Ni*Math.pow(e/1e4,_i),r=1+Si*Math.pow(e/1e4,_i);return Math.pow(t/r,78.84375)}),La(Mi,r);var t,r},toBase:function(e){var t=function(e){return La(Li,e).map(function(e){var t=Math.max(Math.pow(e,Pi)-Ri,0),r=Ni-Si*Math.pow(e,Pi);return 1e4*Math.pow(t/r,Oi)})}(e);return La(Bi,t)},formats:{color:{}}}),ji=[[.8190224432164319,.3619062562801221,-.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],qi=[[1.2268798733741557,-.5578149965554813,.28139105017721583],[-.04057576262431372,1.1122868293970594,-.07171106666151701],[-.07637294974672142,-.4214933239627914,1.5869240244272418]],zi=[[.2104542553,.793617785,-.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-.808675766]],$i=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-.10556134232365635,-.06385417477170591],[1.0000000546724108,-.08948418209496575,-1.2914855378640917]],Ui=new no({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-.4,.4]},b:{refRange:[-.4,.4]}},white:"D65",base:ao,fromBase:function(e){var t=La(ji,e).map(function(e){return Math.cbrt(e)});return La(zi,t)},toBase:function(e){var t=La($i,e).map(function(e){return Math.pow(e,3)});return La(qi,t)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}}),Hi=Object.freeze({__proto__:null,deltaE76:function(e,t){return Ko(e,t,"lab")},deltaECMC:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.l,a=void 0===n?2:n,o=r.c,i=void 0===o?1:o,s=K(bo.from(e),3),l=s[0],u=s[1],c=s[2],d=K(wo.from(bo,[l,u,c]),3),p=d[1],h=d[2],f=K(bo.from(t),3),m=f[0],g=f[1],v=f[2],b=wo.from(bo,[m,g,v])[1];p<0&&(p=0),b<0&&(b=0);var y=l-m,w=p-b,D=u-g,E=c-v,x=Math.pow(D,2)+Math.pow(E,2)-Math.pow(w,2),A=.511;l>=16&&(A=.040975*l/(1+.01765*l));var C,F=.0638*p/(1+.0131*p)+.638;Number.isNaN(h)&&(h=0),C=h>=164&&h<=345?.56+Math.abs(.2*Math.cos((h+168)*ci)):.36+Math.abs(.4*Math.cos((h+35)*ci));var T=Math.pow(p,4),k=Math.sqrt(T/(T+1900)),R=F*(k*C+1-k),N=Math.pow(y/(a*A),2);return N+=Math.pow(w/(i*F),2),N+=x/Math.pow(R,2),Math.sqrt(N)},deltaE2000:Co,deltaEJz:function(e,t){var r=K(ki.from(e),3),n=r[0],a=r[1],o=r[2],i=K(ki.from(t),3),s=i[0],l=i[1],u=i[2],c=n-s,d=a-l;Number.isNaN(o)&&Number.isNaN(u)?(o=0,u=0):Number.isNaN(o)?o=u:Number.isNaN(u)&&(u=o);var p=o-u,h=2*Math.sqrt(a*l)*Math.sin(p/2*(Math.PI/180));return Math.sqrt(Math.pow(c,2)+Math.pow(d,2)+Math.pow(h,2))},deltaEITP:function(e,t){var r=K(Vi.from(e),3),n=r[0],a=r[1],o=r[2],i=K(Vi.from(t),3),s=i[0],l=i[1],u=i[2];return 720*Math.sqrt(Math.pow(n-s,2)+.25*Math.pow(a-l,2)+Math.pow(o-u,2))},deltaEOK:function(e,t){var r=K(Ui.from(e),3),n=r[0],a=r[1],o=r[2],i=K(Ui.from(t),3),s=n-i[0],l=a-i[1],u=o-i[2];return Math.sqrt(Math.pow(s,2)+Math.pow(l,2)+Math.pow(u,2))}});function Gi(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Ba(r)&&(r={method:r});var n=r,a=n.method,o=void 0===a?Za.deltaE:a,i=O(n,f);for(var s in e=so(e),t=so(t),Hi)if("deltae"+o.toLowerCase()===s.toLowerCase())return Hi[s](e,t,i);throw new TypeError("Unknown deltaE method: ".concat(o))}var Wi=Object.freeze({__proto__:null,lighten:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25;return po(e,[no.get("oklch","lch"),"l"],function(e){return e*(1+t)})},darken:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25;return po(e,[no.get("oklch","lch"),"l"],function(e){return e*(1-t)})}});function Ki(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.5,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=[so(e),so(t)];if(e=a[0],t=a[1],"object"===Va(r)){var o=[.5,r];r=o[0],n=o[1]}var i=n;return Zi(e,t,{space:i.space,outputSpace:i.outputSpace,premultiplied:i.premultiplied})(r)}function Yi(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Xi(e)){n=t;var a=K((r=e).rangeArgs.colors,2);e=a[0],t=a[1]}var o=n,i=o.maxDeltaE,s=o.deltaEMethod,l=o.steps,u=void 0===l?2:l,c=o.maxSteps,d=void 0===c?1e3:c,p=O(o,m);if(!r){var h=[so(e),so(t)];r=Zi(e=h[0],t=h[1],p)}var f=Gi(e,t),g=i>0?Math.max(u,Math.ceil(f/i)+1):u,v=[];if(void 0!==d&&(g=Math.min(g,d)),1===g)v=[{p:.5,color:r(.5)}];else{var b=1/(g-1);v=Array.from({length:g},function(e,t){var n=t*b;return{p:n,color:r(n)}})}if(i>0)for(var y=v.reduce(function(e,t,r){if(0===r)return 0;var n=Gi(t.color,v[r-1].color,s);return Math.max(e,n)},0);y>i;){y=0;for(var w=1;w<v.length&&v.length<d;w++){var D=v[w-1],E=v[w],x=(E.p+D.p)/2,A=r(x);y=Math.max(y,Gi(A,D.color),Gi(A,E.color)),v.splice(w,0,{p:x,color:r(x)}),w++}}return v=v.map(function(e){return e.color})}function Zi(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Xi(e)){var n=e,a=t;return Zi.apply(void 0,j(n.rangeArgs.colors).concat([V({},n.rangeArgs.options,a)]))}var o=r.space,i=r.outputSpace,s=r.progression,l=r.premultiplied;e=so(e),t=so(t),e=To(e),t=To(t);var u={colors:[e,t],options:r};if(o=o?no.get(o):no.registry[Za.interpolationSpace]||e.space,i=i?no.get(i):o,e=Ro(e,o),t=Ro(t,o),e=ko(e),t=ko(t),o.coords.h&&"angle"===o.coords.h.type){var c=r.hue=r.hue||"shorter",d=[o,"h"],p=[uo(e,d),uo(t,d)],h=p[0],f=p[1],m=function(e,t){if("raw"===e)return t;var r=K(t.map(yo),2),n=r[0],a=r[1],o=a-n;return"increasing"===e?o<0&&(a+=360):"decreasing"===e?o>0&&(n+=360):"longer"===e?-180<o&&o<180&&(o>0?a+=360:n+=360):"shorter"===e&&(o>180?n+=360:o<-180&&(a+=360)),[n,a]}(c,[h,f]),g=K(m,2);h=g[0],f=g[1],po(e,d,h),po(t,d,f)}return l&&(e.coords=e.coords.map(function(t){return t*e.alpha}),t.coords=t.coords.map(function(e){return e*t.alpha})),Object.assign(function(r){r=s?s(r):r;var n=e.coords.map(function(e,n){return $a(e,t.coords[n],r)}),a=$a(e.alpha,t.alpha,r),u={space:o,coords:n,alpha:a};return l&&(u.coords=u.coords.map(function(e){return e/a})),i!==o&&(u=Ro(u,i)),u},{rangeArgs:u})}function Xi(e){return"function"===Va(e)&&!!e.rangeArgs}Za.interpolationSpace="lab";var Ji=Object.freeze({__proto__:null,mix:Ki,steps:Yi,range:Zi,isRange:Xi,register:function(e){e.defineFunction("mix",Ki,{returns:"color"}),e.defineFunction("range",Zi,{returns:"function<color>"}),e.defineFunction("steps",Yi,{returns:"array<color>"})}}),Qi=new no({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:jo,fromBase:function(e){var t=Math.max.apply(Math,j(e)),r=Math.min.apply(Math,j(e)),n=K(e,3),a=n[0],o=n[1],i=n[2],s=NaN,l=0,u=(r+t)/2,c=t-r;if(0!==c){switch(l=0===u||1===u?0:(t-u)/Math.min(u,1-u),t){case a:s=(o-i)/c+(o<i?6:0);break;case o:s=(i-a)/c+2;break;case i:s=(a-o)/c+4}s*=60}return[s,100*l,100*u]},toBase:function(e){var t=K(e,3),r=t[0],n=t[1],a=t[2];function o(e){var t=(e+r/30)%12,o=n*Math.min(a,1-a);return a-o*Math.max(-1,Math.min(t-3,9-t,1))}return(r%=360)<0&&(r+=360),n/=100,a/=100,[o(0),o(8),o(4)]},formats:{hsl:{toGamut:!0,coords:["<number> | <angle>","<percentage>","<percentage>"]},hsla:{coords:["<number> | <angle>","<percentage>","<percentage>"],commas:!0,lastAlpha:!0}}}),es=new no({id:"hsv",name:"HSV",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},v:{range:[0,100],name:"Value"}},base:Qi,fromBase:function(e){var t=K(e,3),r=t[0],n=t[1],a=t[2],o=(a/=100)+(n/=100)*Math.min(a,1-a);return[r,0===o?0:200*(1-a/o),100*o]},toBase:function(e){var t=K(e,3),r=t[0],n=t[1],a=t[2],o=(a/=100)*(1-(n/=100)/2);return[r,0===o||1===o?0:(a-o)/Math.min(o,1-o)*100,100*o]},formats:{color:{toGamut:!0}}}),ts=new no({id:"hwb",name:"HWB",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},w:{range:[0,100],name:"Whiteness"},b:{range:[0,100],name:"Blackness"}},base:es,fromBase:function(e){var t=K(e,3),r=t[0],n=t[1],a=t[2];return[r,a*(100-n)/100,100-a]},toBase:function(e){var t=K(e,3),r=t[0],n=t[1],a=t[2],o=(n/=100)+(a/=100);if(o>=1)return[r,0,n/o*100];var i=1-a;return[r,100*(0===i?0:1-n/i),100*i]},formats:{hwb:{toGamut:!0,coords:["<number> | <angle>","<percentage>","<percentage>"]}}}),rs=new oo({id:"a98rgb-linear",name:"Linear Adobe® 98 RGB compatible",white:"D65",toXYZ_M:[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],fromXYZ_M:[[2.0415879038107465,-.5650069742788596,-.34473135077832956],[-.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-.11836239223101838,1.0151749943912054]]}),ns=new oo({id:"a98rgb",name:"Adobe® 98 RGB compatible",base:rs,toBase:function(e){return e.map(function(e){return Math.pow(Math.abs(e),563/256)*Math.sign(e)})},fromBase:function(e){return e.map(function(e){return Math.pow(Math.abs(e),256/563)*Math.sign(e)})},formats:{color:{id:"a98-rgb"}}}),as=new oo({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:ho,toXYZ_M:[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],fromXYZ_M:[[1.3457989731028281,-.25558010007997534,-.05110628506753401],[-.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]]}),os=1/512,is=new oo({id:"prophoto",name:"ProPhoto",base:as,toBase:function(e){return e.map(function(e){return e<.03125?e/16:Math.pow(e,1.8)})},fromBase:function(e){return e.map(function(e){return e>=os?Math.pow(e,1/1.8):16*e})},formats:{color:{id:"prophoto-rgb"}}}),ss=new no({id:"oklch",name:"OKLCh",coords:{l:{refRange:[0,1],name:"Lightness"},c:{refRange:[0,.4],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},white:"D65",base:Ui,fromBase:function(e){var t,r=K(e,3),n=r[0],a=r[1],o=r[2],i=2e-4;return t=Math.abs(a)<i&&Math.abs(o)<i?NaN:180*Math.atan2(o,a)/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),yo(t)]},toBase:function(e){var t,r,n=K(e,3),a=n[0],o=n[1],i=n[2];return isNaN(i)?(t=0,r=0):(t=o*Math.cos(i*Math.PI/180),r=o*Math.sin(i*Math.PI/180)),[a,t,r]},formats:{oklch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),ls=2610/Math.pow(2,14),us=Math.pow(2,14)/2610,cs=2523/Math.pow(2,5),ds=Math.pow(2,5)/2523,ps=3424/Math.pow(2,12),hs=2413/Math.pow(2,7),fs=2392/Math.pow(2,7),ms=new oo({id:"rec2100pq",name:"REC.2100-PQ",base:So,toBase:function(e){return e.map(function(e){return 1e4*Math.pow(Math.max(Math.pow(e,ds)-ps,0)/(hs-fs*Math.pow(e,ds)),us)/203})},fromBase:function(e){return e.map(function(e){var t=Math.max(203*e/1e4,0),r=ps+hs*Math.pow(t,ls),n=1+fs*Math.pow(t,ls);return Math.pow(r/n,cs)})},formats:{color:{id:"rec2100-pq"}}}),gs=.17883277,vs=.28466892,bs=.55991073,ys=3.7743,ws=new oo({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:So,toBase:function(e){return e.map(function(e){return e<=.5?Math.pow(e,2)/3*ys:Math.exp((e-bs)/gs+vs)/12*ys})},fromBase:function(e){return e.map(function(e){return(e/=ys)<=1/12?Math.sqrt(3*e):gs*Math.log(12*e-vs)+bs})},formats:{color:{id:"rec2100-hlg"}}}),Ds={};function Es(e){var t=e.id;e.toCone_M,e.fromCone_M,Ds[t]=arguments[0]}function xs(e,t){var r=Ds[arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Bradford"],n=K(La(r.toCone_M,e),3),a=n[0],o=n[1],i=n[2],s=K(La(r.toCone_M,t),3),l=La([[s[0]/a,0,0],[0,s[1]/o,0],[0,0,s[2]/i]],r.toCone_M);return La(r.fromCone_M,l)}Ya.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=xs(e.W1,e.W2,e.options.method))}),Ya.add("chromatic-adaptation-end",function(e){e.M||(e.M=xs(e.W1,e.W2,e.options.method))}),Es({id:"von Kries",toCone_M:[[.40024,.7076,-.08081],[-.2263,1.16532,.0457],[0,0,.91822]],fromCone_M:[[1.8599364,-1.1293816,.2198974],[.3611914,.6388125,-64e-7],[0,0,1.0890636]]}),Es({id:"Bradford",toCone_M:[[.8951,.2664,-.1614],[-.7502,1.7135,.0367],[.0389,-.0685,1.0296]],fromCone_M:[[.9869929,-.1470543,.1599627],[.4323053,.5183603,.0492912],[-.0085287,.0400428,.9684867]]}),Es({id:"CAT02",toCone_M:[[.7328,.4296,-.1624],[-.7036,1.6975,.0061],[.003,.0136,.9834]],fromCone_M:[[1.0961238,-.278869,.1827452],[.454369,.4735332,.0720978],[-.0096276,-.005698,1.0153256]]}),Es({id:"CAT16",toCone_M:[[.401288,.650173,-.051461],[-.250268,1.204414,.045854],[-.002079,.048952,.953127]],fromCone_M:[[1.862067855087233,-1.011254630531685,.1491867754444518],[.3875265432361372,.6214474419314753,-.008973985167612518],[-.01584149884933386,-.03412293802851557,1.04996443687785]]}),Object.assign(Xa,{A:[1.0985,1,.35585],C:[.98074,1,1.18232],D55:[.95682,1,.92149],D75:[.94972,1,1.22638],E:[1,1,1],F2:[.99186,1,.67393],F7:[.95041,1,1.08747],F11:[1.00962,1,.6435]}),Xa.ACES=[.32168/.33767,1,.34065/.33767];var As=new oo({id:"acescg",name:"ACEScg",coords:{r:{range:[0,65504],name:"Red"},g:{range:[0,65504],name:"Green"},b:{range:[0,65504],name:"Blue"}},referred:"scene",white:Xa.ACES,toXYZ_M:[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-.005574649490394108,.004060733528982826,1.0103391003129971]],fromXYZ_M:[[1.6410233796943257,-.32480329418479,-.23642469523761225],[-.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-.008284441996237409,.9883948585390215]],formats:{color:{}}}),Cs=Math.pow(2,-16),Fs=-.35828683,Ts=(Math.log2(65504)+9.72)/17.52,ks=new oo({id:"acescc",name:"ACEScc",coords:{r:{range:[Fs,Ts],name:"Red"},g:{range:[Fs,Ts],name:"Green"},b:{range:[Fs,Ts],name:"Blue"}},referred:"scene",base:As,toBase:function(e){return e.map(function(e){return e<=-.3013698630136986?2*(Math.pow(2,17.52*e-9.72)-Cs):e<Ts?Math.pow(2,17.52*e-9.72):65504})},fromBase:function(e){return e.map(function(e){return e<=0?(Math.log2(Cs)+9.72)/17.52:e<Cs?(Math.log2(Cs+.5*e)+9.72)/17.52:(Math.log2(e)+9.72)/17.52})},formats:{color:{}}}),Rs=Object.freeze({__proto__:null,XYZ_D65:ao,XYZ_D50:ho,XYZ_ABS_D65:di,Lab_D65:ai,Lab:bo,LCH:wo,sRGB_Linear:Mo,sRGB:jo,HSL:Qi,HWB:ts,HSV:es,P3_Linear:Io,P3:qo,A98RGB_Linear:rs,A98RGB:ns,ProPhoto_Linear:as,ProPhoto:is,REC_2020_Linear:So,REC_2020:Po,OKLab:Ui,OKLCH:ss,Jzazbz:Ti,JzCzHz:ki,ICTCP:Vi,REC_2100_PQ:ms,REC_2100_HLG:ws,ACEScg:As,ACEScc:ks}),Ns=(I=new WeakMap,Q(function e(){var t,r,n,a,o=this;X(this,e),z(this,I,void 0);for(var i=arguments.length,s=new Array(i),l=0;l<i;l++)s[l]=arguments[l];1===s.length&&(t=so(s[0])),t?(r=t.space||t.spaceId,n=t.coords,a=t.alpha):(r=s[0],n=s[1],a=s[2]),G(I,this,no.get(r)),this.coords=n?n.slice():[0,0,0],this.alpha=a<1?a:1;for(var u=0;u<this.coords.length;u++)"NaN"===this.coords[u]&&(this.coords[u]=NaN);var c=function(e){Object.defineProperty(o,e,{get:function(){return o.get(e)},set:function(t){return o.set(e,t)}})};for(var d in H(I,this).coords)c(d)},[{key:"space",get:function(){return H(I,this)}},{key:"spaceId",get:function(){return H(I,this).id}},{key:"clone",value:function(){return new Ns(this.space,this.coords,this.alpha)}},{key:"toJSON",value:function(){return{spaceId:this.spaceId,coords:this.coords,alpha:this.alpha}}},{key:"display",value:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=Wo.apply(void 0,[this].concat(t));return n.color=new Ns(n.color),n}}],[{key:"get",value:function(e){if(e instanceof Ns)return e;for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return _(Ns,[e].concat(r))}},{key:"defineFunction",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,n=r.instance,a=void 0===n||n,o=r.returns,i=function(){var e=t.apply(void 0,arguments);if("color"===o)e=Ns.get(e);else if("function<color>"===o){var r=e;e=function(){var e=r.apply(void 0,arguments);return Ns.get(e)},Object.assign(e,r)}else"array<color>"===o&&(e=e.map(function(e){return Ns.get(e)}));return e};e in Ns||(Ns[e]=i),a&&(Ns.prototype[e]=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return i.apply(void 0,[this].concat(t))})}},{key:"defineFunctions",value:function(e){for(var t in e)Ns.defineFunction(t,e[t],e[t])}},{key:"extend",value:function(e){if(e.register)e.register(Ns);else for(var t in e)Ns.defineFunction(t,e[t])}}]));Ns.defineFunctions({get:uo,getAll:lo,set:po,setAll:co,to:Ro,equals:function(e,t){return e=so(e),t=so(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every(function(e,r){return e===t.coords[r]})},inGamut:Fo,toGamut:ko,distance:Ko,toString:No}),Object.assign(Ns,{util:Wa,hooks:Ya,WHITES:Xa,Space:no,spaces:no.registry,parse:io,defaults:Za});for(var Ss=0,_s=Object.keys(Rs);Ss<_s.length;Ss++){var Os=_s[Ss];no.register(Rs[Os])}for(var Ps in no.registry)Is(Ps,no.registry[Ps]);function Is(e,t){Object.keys(t.coords),Object.values(t.coords).map(function(e){return e.name});var r=e.replace(/-/g,"_");Object.defineProperty(Ns.prototype,r,{get:function(){var r=this,n=this.getAll(e);return"undefined"==typeof Proxy?n:new Proxy(n,{has:function(e,r){try{return no.resolveCoord([t,r]),!0}catch(e){}return Reflect.has(e,r)},get:function(e,r,n){if(r&&"symbol"!==u(r)&&!(r in e)){var a=no.resolveCoord([t,r]).index;if(a>=0)return e[a]}return Reflect.get(e,r,n)},set:function(n,a,o,i){if(a&&"symbol"!==u(a)&&!(a in n)||a>=0){var s=no.resolveCoord([t,a]).index;if(s>=0)return n[s]=o,r.setAll(e,n),!0}return Reflect.set(n,a,o,i)}})},set:function(t){this.setAll(e,t)},configurable:!0,enumerable:!0})}Ya.add("colorspace-init-end",function(e){var t;Is(e.id,e),null===(t=e.aliases)||void 0===t||t.forEach(function(t){Is(t,e)})}),Ns.extend(Hi),Ns.extend({deltaE:Gi}),Ns.extend(Wi),Ns.extend({contrast:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Ba(r)&&(r={algorithm:r});var n=r,a=n.algorithm,o=O(n,h);if(!a){var i=Object.keys(ii).map(function(e){return e.replace(/^contrast/,"")}).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(i))}for(var s in e=so(e),t=so(t),ii)if("contrast"+a.toLowerCase()===s.toLowerCase())return ii[s](e,t,o);throw new TypeError("Unknown contrast algorithm: ".concat(a))}}),Ns.extend(ui),Ns.extend(Xo),Ns.extend(Ji),Ns.extend(ii);var Ms=he(vr());Pa.default.templateSettings.strip=!1,c._memoizedFns=[];var Ls=function(e){var t=(0,Ma.default)(e);return c._memoizedFns.push(t),t},Bs=Ls(function(e){return!(null==e||!e.createElement)&&"A"===e.createElement("A").localName});function Vs(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t)return"";var n=t.getRootNode&&t.getRootNode()||l;if(11!==n.nodeType)return e(t,r,n);for(var a=[];11===n.nodeType;){if(!n.host)return"";a.unshift({elm:t,doc:n}),n=(t=n.host).getRootNode()}return a.unshift({elm:t,doc:n}),a.map(function(t){return e(t.elm,r,t.doc)})}var js=["class","style","id","selected","checked","disabled","tabindex","aria-checked","aria-selected","aria-invalid","aria-activedescendant","aria-busy","aria-disabled","aria-expanded","aria-grabbed","aria-pressed","aria-valuenow","xmlns"],qs=31,zs=/([\\"])/g,$s=/(\r\n|\r|\n)/g;function Us(e){return e.replace(zs,"\\$1").replace($s,"\\a ")}function Hs(e,t){var r,n=t.name;if(-1!==n.indexOf("href")||-1!==n.indexOf("src")){var a=Aa(e.getAttribute(n));r=a?wa(t.name)+'$="'+Us(a)+'"':wa(t.name)+'="'+Us(e.getAttribute(n))+'"'}else r=wa(n)+'="'+Us(t.value)+'"';return r}function Gs(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function Ws(e){return!js.includes(e.name)&&-1===e.name.indexOf(":")&&(!e.value||e.value.length<qs)}function Ks(e){for(var t={classes:{},tags:{},attributes:{}},r=(e=Array.isArray(e)?e:[e]).slice(),n=[],a=function(){var e=r.pop(),a=e.actualNode;if(a.querySelectorAll){var o=a.nodeName;t.tags[o]?t.tags[o]++:t.tags[o]=1,a.classList&&Array.from(a.classList).forEach(function(e){var r=wa(e);t.classes[r]?t.classes[r]++:t.classes[r]=1}),a.hasAttributes()&&Array.from(Ca(a)).filter(Ws).forEach(function(e){var r=Hs(a,e);r&&(t.attributes[r]?t.attributes[r]++:t.attributes[r]=1)})}for(e.children.length&&(n.push(r),r=e.children.slice());!r.length&&n.length;)r=n.pop()};r.length;)a();return t}function Ys(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[];return r.find(function(r){return r!==e&&Fa(r,t)})?":nth-child("+(1+r.indexOf(e))+")":""}function Zs(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||l,r="#"+wa(e.getAttribute("id")||"");return r.match(/player_uid_/)||1!==t.querySelectorAll(r).length?void 0:r}}function Xs(e){var t=Bs(l);return wa(t?e.localName:e.nodeName.toLowerCase())}function Js(e,t){var r,n="",a=function(e,t){var r=[],n=t.classes,a=t.tags;return e.classList&&Array.from(e.classList).forEach(function(t){var o=wa(t);n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"class"})}),r.sort(Gs)}(e,t),o=function(e,t){var r=[],n=t.attributes,a=t.tags;return e.hasAttributes()&&Array.from(Ca(e)).filter(Ws).forEach(function(t){var o=Hs(e,t);o&&n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"attribute"})}),r.sort(Gs)}(e,t);return a.length&&1===a[0].count?r=[a[0]]:o.length&&1===o[0].count?(r=[o[0]],n=Xs(e)):((r=a.concat(o)).sort(Gs),(r=r.slice(0,3)).some(function(e){return"class"===e.species})?r.sort(function(e,t){return e.species!==t.species&&"class"===e.species?-1:e.species===t.species?0:1}):n=Xs(e)),n+r.reduce(function(e,t){switch(t.species){case"class":return e+"."+t.name;case"attribute":return e+"["+t.name+"]"}return e},"")}function Qs(e,t,r){if(!c._selectorData)throw new Error("Expect axe._selectorData to be set up");var n,a,o=t.toRoot,i=void 0!==o&&o;do{var s=Zs(e);s||(s=Js(e,c._selectorData),s+=Ys(e,s)),n=n?s+" > "+n:s,a=!a||a.length>ta.selectorSimilarFilterLimit?tl(r,n):a.filter(function(e){return Fa(e,n)}),e=e.parentElement}while((a.length>1||i)&&e&&11!==e.nodeType);return 1===a.length?n:-1!==n.indexOf(" > ")?":root"+n.substring(n.indexOf(" > ")):":root"}var el=Ls(function(e,t){return Vs(Qs,e,t)}),tl=Ls(function(e,t){return Array.from(e.querySelectorAll(t))});function rl(e){var t=e.nodeName.toLowerCase(),r=e.parentElement,n=e.parentNode,a="";if("head"!==t&&"body"!==t&&(null==n?void 0:n.children.length)>1){var o=Array.prototype.indexOf.call(n.children,e)+1;a=":nth-child(".concat(o,")")}return r?rl(r)+" > "+t+a:t+a}function nl(e,t){return Vs(rl,e,t)}function al(e,t){var r,n;if(!e)return[];if(!t&&9===e.nodeType)return[{str:"html"}];if(t=t||[],e.parentNode&&e.parentNode!==e&&(t=al(e.parentNode,t)),e.previousSibling){n=1,r=e.previousSibling;do{1===r.nodeType&&r.nodeName===e.nodeName&&n++,r=r.previousSibling}while(r);1===n&&(n=null)}else if(e.nextSibling){r=e.nextSibling;do{1===r.nodeType&&r.nodeName===e.nodeName?(n=1,r=null):(n=null,r=r.previousSibling)}while(r)}if(1===e.nodeType){var a={};a.str=e.nodeName.toLowerCase();var o=e.getAttribute&&wa(e.getAttribute("id"));o&&1===e.ownerDocument.querySelectorAll("#"+o).length&&(a.id=e.getAttribute("id")),n>1&&(a.count=n),t.push(a)}return t}var ol=function(e){return al(e).reduce(function(e,t){return t.id?"//".concat(t.str,"[@id='").concat(t.id,"']"):e+"/".concat(t.str)+(t.count>0?"[".concat(t.count,"]"):"")},"")},il={},sl={set:function(e,t){!function(e){ba("string"==typeof e,"key must be a string, "+u(e)+" given"),ba(""!==e,"key must not be empty")}(e),il[e]=t},get:function(e,t){if(function(e){ba("function"==typeof e||void 0===e,"creator must be a function or undefined, "+u(e)+" given")}(t),e in il)return il[e];if("function"==typeof t){var r=t();return ba(void 0!==r,"Cache creator function should not return undefined"),this.set(e,r),il[e]}},clear:function(){il={}}},ll=sl,ul=function(e,t){var r=t||e;return ll.get("nodeMap")?ll.get("nodeMap").get(r):null},cl={};pe(cl,{createGrid:function(){return uu},findElmsInContext:function(){return hl},findNearbyElms:function(){return yu},findUp:function(){return ml},findUpVirtual:function(){return fl},focusDisabled:function(){return Tu},getComposedParent:function(){return Ml},getElementByReference:function(){return Su},getElementCoordinates:function(){return Bl},getElementStack:function(){return Mu},getModalDialog:function(){return Eu},getNodeGrid:function(){return bu},getOverflowHiddenAncestors:function(){return bl},getRootNode:function(){return pl},getScrollOffset:function(){return Ll},getTabbableElements:function(){return Lu},getTargetRects:function(){return qu},getTargetSize:function(){return zu},getTextElementStack:function(){return Cd},getViewportSize:function(){return Vl},getVisibleChildTextRects:function(){return xd},hasContent:function(){return Sd},hasContentVirtual:function(){return Nd},hasLangText:function(){return _d},idrefs:function(){return Uu},insertedIntoFocusOrder:function(){return Od},isCurrentPageLink:function(){return Nu},isFocusable:function(){return Vu},isHTML5:function(){return Ld},isHiddenForEveryone:function(){return Ol},isHiddenWithCSS:function(){return Md},isInTabOrder:function(){return ju},isInTextBlock:function(){return zd},isInert:function(){return xu},isModalOpen:function(){return $d},isMultiline:function(){return Ud},isNativelyFocusable:function(){return Bu},isNode:function(){return Hd},isOffscreen:function(){return jl},isOpaque:function(){return np},isSkipLink:function(){return ap},isVisible:function(){return lp},isVisibleOnScreen:function(){return zl},isVisibleToScreenReaders:function(){return jc},isVisualContent:function(){return Td},reduceToElementsBelowFloating:function(){return up},shadowElementsFromPoint:function(){return hp},urlPropsFromAttribute:function(){return gp},visuallyContains:function(){return cp},visuallyOverlaps:function(){return vp},visuallySort:function(){return _u}});var dl=function(e){var t=e.getRootNode&&e.getRootNode()||l;return t===e&&(t=l),t},pl=dl,hl=function(e){var t,r=e.context,n=e.value,a=e.attr,o=e.elm,i=void 0===o?"":o,s=wa(n);return t=9===r.nodeType||11===r.nodeType?r:pl(r),Array.from(t.querySelectorAll(i+"["+a+"="+s+"]"))},fl=function(e,t){var r;if(r=e.actualNode,!e.shadowId&&"function"==typeof e.actualNode.closest)return e.actualNode.closest(t)||null;do{(r=r.assignedSlot?r.assignedSlot:r.parentNode)&&11===r.nodeType&&(r=r.host)}while(r&&!Fa(r,t)&&r!==l.documentElement);return r&&Fa(r,t)?r:null},ml=function(e,t){return fl(ul(e),t)};function gl(e,t){return(0|e.left)<(0|t.right)&&(0|e.right)>(0|t.left)&&(0|e.top)<(0|t.bottom)&&(0|e.bottom)>(0|t.top)}var vl=Ls(function(e){var t=[];return e?("hidden"===e.getComputedStylePropertyValue("overflow")&&t.push(e),t.concat(vl(e.parent))):t}),bl=vl,yl=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,wl=/(\w+)\((\d+)/;function Dl(e){return["style","script","noscript","template"].includes(e.props.nodeName)}function El(e){return"area"!==e.props.nodeName&&"none"===e.getComputedStylePropertyValue("display")}function xl(e){return!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function Al(e){return!!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&"hidden"===e.getComputedStylePropertyValue("content-visibility")}function Cl(e){return"true"===e.attr("aria-hidden")}function Fl(e){return"0"===e.getComputedStylePropertyValue("opacity")}function Tl(e){var t=Nf(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),n=parseInt(e.getComputedStylePropertyValue("width"));return!!t&&(0===r||0===n)}function kl(e){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var t=e.getComputedStylePropertyValue("position");if("fixed"===t)return!1;var r=bl(e);if(!r.length)return!1;var n=e.boundingClientRect;return r.some(function(r){if("absolute"===t&&!function(e,t){for(var r=e.parent;r&&r!==t;){if(["relative","sticky"].includes(r.getComputedStylePropertyValue("position")))return!0;r=r.parent}return!1}(e,r)&&"static"===r.getComputedStylePropertyValue("position"))return!1;var a=r.boundingClientRect;return a.width<2||a.height<2||!gl(n,a)})}function Rl(e){var t=e.getComputedStylePropertyValue("clip").match(yl),r=e.getComputedStylePropertyValue("clip-path").match(wl);if(t&&5===t.length){var n=e.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],o=parseInt(r[2],10);switch(a){case"inset":return o>=50;case"circle":return 0===o}}return!1}function Nl(e,t){var r=zp(e,"map");if(!r)return!0;var n=r.attr("name");if(!n)return!0;var a=dl(e.actualNode);if(!a||9!==a.nodeType)return!0;var o=vm(c._tree,'img[usemap="#'.concat(wa(n),'"]'));return!o||!o.length||o.some(function(e){return!t(e)})}function Sl(e){var t;return"details"===(null===(t=e.parent)||void 0===t?void 0:t.props.nodeName)&&(("summary"!==e.props.nodeName||e.parent.children.find(function(e){return"summary"===e.props.nodeName})!==e)&&!e.parent.hasAttr("open"))}var _l=[El,xl,Al,Sl];function Ol(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor,a=void 0!==n&&n;return e=Zf(e).vNode,r?Pl(e,a):Il(e,a)}var Pl=Ls(function(e,t){return!(!Dl(e)&&(!e.actualNode||!_l.some(function(r){return r(e,{isAncestor:t})})&&e.actualNode.isConnected))}),Il=Ls(function(e,t){return!!Pl(e,t)||!!e.parent&&Il(e.parent,!0)}),Ml=function e(t){if(t.assignedSlot)return e(t.assignedSlot);if(t.parentNode){var r=t.parentNode;if(1===r.nodeType)return r;if(r.host)return r.host}return null},Ll=function(e){if(!e.nodeType&&e.document&&(e=e.document),9===e.nodeType){var t=e.documentElement,r=e.body;return{left:t&&t.scrollLeft||r&&r.scrollLeft||0,top:t&&t.scrollTop||r&&r.scrollTop||0}}return{left:e.scrollLeft,top:e.scrollTop}},Bl=function(e){var t=Ll(l),r=t.left,n=t.top,a=e.getBoundingClientRect();return{top:a.top+n,right:a.right+r,bottom:a.bottom+n,left:a.left+r,width:a.right-a.left,height:a.bottom-a.top}},Vl=function(e){var t=e.document,r=t.documentElement;if(e.innerWidth)return{width:e.innerWidth,height:e.innerHeight};if(r)return{width:r.clientWidth,height:r.clientHeight};var n=t.body;return{width:n.clientWidth,height:n.clientHeight}},jl=function(e){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var t=Zf(e).domNode;if(t){var r,n=l.documentElement,a=i.getComputedStyle(t),o=i.getComputedStyle(l.body||n).getPropertyValue("direction"),s=Bl(t);if(s.bottom<0&&(function(e,t){for(e=Ml(e);e&&"html"!==e.nodeName.toLowerCase();){if(e.scrollTop&&(t+=e.scrollTop)>=0)return!1;e=Ml(e)}return!0}(t,s.bottom)||"absolute"===a.position))return!0;if(0===s.left&&0===s.right)return!1;if("ltr"===o){if(s.right<=0)return!0}else if(r=Math.max(n.scrollWidth,Vl(i).width),s.left>=r)return!0;return!1}},ql=[Fl,Tl,kl,Rl,jl];function zl(e){return e=Zf(e).vNode,$l(e)}var $l=Ls(function(e,t){return e.actualNode&&"area"===e.props.nodeName?!Nl(e,$l):!Ol(e,{skipAncestors:!0,isAncestor:t})&&(!e.actualNode||!ql.some(function(r){return r(e,{isAncestor:t})}))&&(!e.parent||$l(e.parent,!0))});function Ul(e,t){var r=Math.min(e.top,t.top),n=Math.max(e.right,t.right),a=Math.max(e.bottom,t.bottom),o=Math.min(e.left,t.left);return new i.DOMRect(o,r,n-o,a-r)}function Hl(e,t){var r=e.x,n=e.y,a=t.top,o=t.right,i=t.bottom,s=t.left;return n>=a&&r<=o&&n<=i&&r>=s}var Gl={};function Wl(e,t){var r=Math.max(e.left,t.left),n=Math.min(e.right,t.right),a=Math.max(e.top,t.top),o=Math.min(e.bottom,t.bottom);return r>=n||a>=o?null:new i.DOMRect(r,a,n-r,o-a)}function Kl(e){var t=e.left,r=e.top,n=e.width,a=e.height;return new i.DOMPoint(t+n/2,r+a/2)}pe(Gl,{getBoundingRect:function(){return Ul},getIntersectionRect:function(){return Wl},getOffset:function(){return Xl},getRectCenter:function(){return Kl},hasVisualOverlap:function(){return eu},isPointInRect:function(){return Hl},rectHasMinimumSize:function(){return Zl},rectsOverlap:function(){return gl},splitRects:function(){return tu}});var Yl=.05;function Zl(e,t){var r=t.width,n=t.height;return r+Yl>=e&&n+Yl>=e}function Xl(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:12,n=qu(e),a=qu(t);if(!n.length||!a.length)return null;var o,i=Kl(n.reduce(Ul)),s=1/0,l=te(a);try{for(l.s();!(o=l.n()).done;){var u=o.value;if(Hl(i,u))return 0;var c=Ql(i,Jl(i,u));s=Math.min(s,c)}}catch(e){l.e(e)}finally{l.f()}if(Zl(2*r,zu(t)))return s;var d=Ql(i,Kl(a.reduce(Ul)))-r;return Math.max(0,Math.min(s,d))}function Jl(e,t){return{x:e.x<t.left?t.left:e.x>t.right?t.right:e.x,y:e.y<t.top?t.top:e.y>t.bottom?t.bottom:e.y}}function Ql(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function eu(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return!(r.left>=n.right||r.right<=n.left||r.top>=n.bottom||r.bottom<=n.top)&&_u(e,t)>0}function tu(e,t){var r,n=[e],a=te(t);try{var o=function(){var e=r.value;if((n=n.reduce(function(t,r){return t.concat(function(e,t){var r,n,a=e.top,o=e.left,i=e.bottom,s=e.right,l=a<t.bottom&&i>t.top,u=o<t.right&&s>t.left,c=[];if(ru(t.top,a,i)&&u&&c.push({top:a,left:o,bottom:t.top,right:s}),ru(t.right,o,s)&&l&&c.push({top:a,left:t.right,bottom:i,right:s}),ru(t.bottom,a,i)&&u&&c.push({top:t.bottom,right:s,bottom:i,left:o}),ru(t.left,o,s)&&l&&c.push({top:a,left:o,bottom:i,right:t.left}),0===c.length){if(n=t,(r=e).top>=n.top&&r.left>=n.left&&r.bottom<=n.bottom&&r.right<=n.right)return[];c.push(e)}return c.map(nu)}(r,e))},[])).length>4e3)throw new Error("splitRects: Too many rects")};for(a.s();!(r=a.n()).done;)o()}catch(e){a.e(e)}finally{a.f()}return n}var ru=function(e,t,r){return e>t&&e<r};function nu(e){return new i.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}var au=0,ou=.1,iu=.2,su=.3,lu=0;function uu(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(ll.get("gridCreated")&&!r)return ta.gridSize;if(ll.set("gridCreated",!0),!r){var n=ul(l.documentElement);if(n||(n=new wp(l.documentElement)),lu=0,n._stackingOrder=[hu(au,lu++,null)],null!=t||(t=new gu),mu(t,n),Nf(n.actualNode)){var a=new gu(n);n._subGrid=a}}for(var o=l.createTreeWalker(e,i.NodeFilter.SHOW_ELEMENT,null,!1),s=r?o.nextNode():o.currentNode;s;){var u=ul(s);u&&u.parent?r=u.parent:s.assignedSlot?r=ul(s.assignedSlot):s.parentElement?r=ul(s.parentElement):s.parentNode&&ul(s.parentNode)&&(r=ul(s.parentNode)),u||(u=new c.VirtualNode(s,r)),u._stackingOrder=pu(u,r,lu++);var d=fu(u,r),p=d?d._subGrid:t;if(Nf(u.actualNode)){var h=new gu(u);u._subGrid=h}var f=u.boundingClientRect;0!==f.width&&0!==f.height&&zl(s)&&mu(p,u),Uh(s)&&uu(s.shadowRoot,p,u),s=o.nextNode()}return ta.gridSize}function cu(e,t){var r=e.getComputedStylePropertyValue("position"),n=e.getComputedStylePropertyValue("z-index");if("fixed"===r||"sticky"===r)return!0;if("auto"!==n&&"static"!==r)return!0;if("1"!==e.getComputedStylePropertyValue("opacity"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none"))return!0;var a=e.getComputedStylePropertyValue("mix-blend-mode");if(a&&"normal"!==a)return!0;var o=e.getComputedStylePropertyValue("filter");if(o&&"none"!==o)return!0;var i=e.getComputedStylePropertyValue("perspective");if(i&&"none"!==i)return!0;var s=e.getComputedStylePropertyValue("clip-path");if(s&&"none"!==s)return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none"))return!0;if("isolate"===e.getComputedStylePropertyValue("isolation"))return!0;var l=e.getComputedStylePropertyValue("will-change");if("transform"===l||"opacity"===l)return!0;if("touch"===e.getComputedStylePropertyValue("-webkit-overflow-scrolling"))return!0;var u=e.getComputedStylePropertyValue("contain");return!!["layout","paint","strict","content"].includes(u)||!("auto"===n||!du(t))}function du(e){if(!e)return!1;var t=e.getComputedStylePropertyValue("display");return["flex","inline-flex","grid","inline-grid"].includes(t)}function pu(e,t,r){var n=t._stackingOrder.slice();if(cu(e,t)){var a=n.findIndex(function(e){var t=e.stackLevel;return[au,iu,su].includes(t)});-1!==a&&n.splice(a,n.length-a)}var o=function(e,t){var r=function(e,t){return"static"!==e.getComputedStylePropertyValue("position")||du(t)?e.getComputedStylePropertyValue("z-index"):"auto"}(e,t);return["auto","0"].includes(r)?"static"!==e.getComputedStylePropertyValue("position")?su:"none"!==e.getComputedStylePropertyValue("float")?iu:cu(e,t)?ou:null:parseInt(r)}(e,t);return null!==o&&n.push(hu(o,r,e)),n}function hu(e,t,r){return{stackLevel:e,treeOrder:t,vNode:r}}function fu(e,t){for(var r=null,n=[e];t;){if(Nf(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}n.push(t),t=ul(t.actualNode.parentElement||t.actualNode.parentNode)}return n.forEach(function(e){return e._scrollRegionParent=r}),r}function mu(e,t){var r=bl(t);t.clientRects.forEach(function(n){var a,o=r.reduce(function(e,t){return e&&Wl(e,t.boundingClientRect)},n);if(o){null!==(a=t._grid)&&void 0!==a||(t._grid=e);var i=e.getGridPositionOfRect(o);e.loopGridPosition(i,function(e){e.includes(t)||e.push(t)})}})}var gu=Q(function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;X(this,e),this.container=t,this.cells=[]},[{key:"toGridIndex",value:function(e){return Math.floor(e/ta.gridSize)}},{key:"getCellFromPoint",value:function(e){var t,r,n=e.x,a=e.y;ba(this.boundaries,"Grid does not have cells added");var o=this.toGridIndex(a),i=this.toGridIndex(n);ba(Hl({y:o,x:i},this.boundaries),"Element midpoint exceeds the grid bounds");var s=null!==(t=this.cells[o-this.cells._negativeIndex])&&void 0!==t?t:[];return null!==(r=s[i-s._negativeIndex])&&void 0!==r?r:[]}},{key:"loopGridPosition",value:function(e,t){var r=e,n=r.left,a=r.right,o=r.top,i=r.bottom;this.boundaries&&(e=Ul(this.boundaries,e)),this.boundaries=e,vu(this.cells,o,i,function(e,r){vu(e,n,a,function(e,n){t(e,{row:r,col:n})})})}},{key:"getGridPositionOfRect",value:function(e){var t=e.top,r=e.right,n=e.bottom,a=e.left,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t=this.toGridIndex(t-o),r=this.toGridIndex(r+o-1),n=this.toGridIndex(n+o-1),a=this.toGridIndex(a-o),new i.DOMRect(a,t,r-a,n-t)}}]);function vu(e,t,r,n){var a;if(null!==(a=e._negativeIndex)&&void 0!==a||(e._negativeIndex=0),t<e._negativeIndex){for(var o=0;o<e._negativeIndex-t;o++)e.splice(0,0,[]);e._negativeIndex=t}for(var i=t-e._negativeIndex,s=r-e._negativeIndex,l=i;l<=s;l++){var u,c;null!==(c=e[u=l])&&void 0!==c||(e[u]=[]),n(e[l],l+e._negativeIndex)}}function bu(e){return uu(),Zf(e).vNode._grid}function yu(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=bu(e);if(null==n||null===(t=n.cells)||void 0===t||!t.length)return[];var a=e.boundingClientRect,o=wu(e),i=n.getGridPositionOfRect(a,r),s=[];return n.loopGridPosition(i,function(t){var r,n=te(t);try{for(n.s();!(r=n.n()).done;){var a=r.value;a&&a!==e&&!s.includes(a)&&o===wu(a)&&s.push(a)}}catch(e){n.e(e)}finally{n.f()}}),s}var wu=Ls(function(e){return!!e&&("fixed"===e.getComputedStylePropertyValue("position")||wu(e.parent))}),Du=Ls(function(){var e;if(!c._tree)return null;var t=im(c._tree[0],"dialog[open]",function(e){var t=e.boundingClientRect;return l.elementsFromPoint(t.left+1,t.top+1).includes(e.actualNode)&&zl(e)});return t.length?t.find(function(e){var t=e.boundingClientRect;return l.elementsFromPoint(t.left-10,t.top-10).includes(e.actualNode)})||(null!==(e=t.find(function(e){var t,r=null!==(t=function(e){uu();var t=c._tree[0]._grid,r=new i.DOMRect(0,0,i.innerWidth,i.innerHeight);if(t)for(var n=0;n<t.cells.length;n++){var a=t.cells[n];if(a)for(var o=0;o<a.length;o++){var s=a[o];if(s)for(var l=0;l<s.length;l++){var u=s[l],d=Wl(u.boundingClientRect,r);if("html"!==u.props.nodeName&&u!==e&&"none"!==u.getComputedStylePropertyValue("pointer-events")&&d)return{vNode:u,rect:d}}}}}(e))&&void 0!==t?t:{},n=r.vNode,a=r.rect;return!!n&&!l.elementsFromPoint(a.left+1,a.top+1).includes(n.actualNode)}))&&void 0!==e?e:null):null}),Eu=Du;function xu(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor;return r?Au(e,n):Cu(e,n)}var Au=Ls(function(e,t){if(e.hasAttr("inert"))return!0;if(!t&&e.actualNode){var r=Eu();if(r&&!Vh(r,e))return!0}return!1}),Cu=Ls(function(e,t){return!!Au(e,t)||!!e.parent&&Cu(e.parent,!0)}),Fu=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"],Tu=function(e){var t,r=Zf(e).vNode;if(t=r.props.nodeName,Fu.includes(t)&&r.hasAttr("disabled")||xu(r))return!0;for(var n=r.parent,a=[],o=!1;n&&n.shadowId===r.shadowId&&!o&&(a.push(n),"legend"!==n.props.nodeName);){if(void 0!==n._inDisabledFieldset){o=n._inDisabledFieldset;break}"fieldset"===n.props.nodeName&&n.hasAttr("disabled")&&(o=!0),n=n.parent}return a.forEach(function(e){return e._inDisabledFieldset=o}),!!o||"area"!==r.props.nodeName&&!!r.actualNode&&Ol(r)},ku=/^\/\#/,Ru=/^#[!/]/;function Nu(e){var t,r=e.getAttribute("href");if(!r||"#"===r)return!1;if(ku.test(r))return!0;var n=e.hash,a=e.protocol,o=e.hostname,s=e.port,l=e.pathname;if(Ru.test(n))return!1;if("#"===r.charAt(0))return!0;if("string"!=typeof(null===(t=i.location)||void 0===t?void 0:t.origin)||-1===i.location.origin.indexOf("://"))return null;var u,c=i.location.origin+i.location.pathname;return u=o?"".concat(a,"//").concat(o).concat(s?":".concat(s):""):i.location.origin,(u+=l?("/"!==l[0]?"/":"")+l:i.location.pathname)===c}var Su=function(e,t){var r=e.getAttribute(t);if(!r)return null;if("href"===t&&!Nu(e))return null;-1!==r.indexOf("#")&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var n=l.getElementById(r);return n||((n=l.getElementsByName(r)).length?n[0]:null)};function _u(e,t){uu();for(var r=Math.max(e._stackingOrder.length,t._stackingOrder.length),n=0;n<r;n++){if(void 0===t._stackingOrder[n])return-1;if(void 0===e._stackingOrder[n])return 1;if(t._stackingOrder[n].stackLevel>e._stackingOrder[n].stackLevel)return 1;if(t._stackingOrder[n].stackLevel<e._stackingOrder[n].stackLevel)return-1;if(t._stackingOrder[n].treeOrder!==e._stackingOrder[n].treeOrder)return t._stackingOrder[n].treeOrder-e._stackingOrder[n].treeOrder}var a=e.actualNode,o=t.actualNode;if(a.getRootNode&&a.getRootNode()!==o.getRootNode()){for(var s=[];a;)s.push({root:a.getRootNode(),node:a}),a=a.getRootNode().host;for(;o&&!s.find(function(e){return e.root===o.getRootNode()});)o=o.getRootNode().host;if((a=s.find(function(e){return e.root===o.getRootNode()}).node)===o)return e.actualNode.getRootNode()!==a.getRootNode()?-1:1}var l=i.Node,u=l.DOCUMENT_POSITION_FOLLOWING,c=l.DOCUMENT_POSITION_CONTAINS,d=l.DOCUMENT_POSITION_CONTAINED_BY,p=a.compareDocumentPosition(o),h=p&u?1:-1,f=p&c||p&d,m=Ou(e),g=Ou(t);return m===g||f?h:g-m}function Ou(e){return-1!==e.getComputedStylePropertyValue("display").indexOf("inline")?2:Pu(e)?1:0}function Pu(e){if(!e)return!1;if(void 0!==e._isFloated)return e._isFloated;if("none"!==e.getComputedStylePropertyValue("float"))return e._isFloated=!0,!0;var t=Pu(e.parent);return e._isFloated=t,t}function Iu(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=Kl(t),a=e.getCellFromPoint(n)||[],o=Math.floor(n.x),i=Math.floor(n.y),s=a.filter(function(e){return e.clientRects.some(function(e){var t=e.left,r=e.top;return o<Math.floor(t+e.width)&&o>=Math.floor(t)&&i<Math.floor(r+e.height)&&i>=Math.floor(r)})}),u=e.container;return u&&(s=Iu(u._grid,u.boundingClientRect,!0).concat(s)),r||(s=s.sort(_u).map(function(e){return e.actualNode}).concat(l.documentElement).filter(function(e,t,r){return r.indexOf(e)===t})),s}var Mu=function(e){var t=bu(e);return t?Iu(t,ul(e).boundingClientRect):[]},Lu=function(e){return vm(e,"*").filter(function(e){var t=e.isFocusable,r=em(e.actualNode.getAttribute("tabindex"));return null!==r?t&&r>=0:t})},Bu=function(e){var t=Zf(e).vNode;if(!t||Tu(t))return!1;switch(t.props.nodeName){case"a":case"area":if(t.hasAttr("href"))return!0;break;case"input":return"hidden"!==t.props.type;case"textarea":case"select":case"summary":case"button":return!0;case"details":return!vm(t,"summary").length}return!1};function Vu(e){var t=Zf(e).vNode;return!(1!==t.props.nodeType||Tu(t)||!Bu(t)&&null===em(t.attr("tabindex")))}function ju(e){var t=Zf(e).vNode;return 1===t.props.nodeType&&!(em(t.attr("tabindex"))<=-1)&&Vu(t)}var qu=Ls(function(e){var t=e.boundingClientRect,r=yu(e).filter(function(t){return eu(e,t)&&"none"!==t.getComputedStylePropertyValue("pointer-events")&&!function(e,t){return Vh(e,t)&&!ju(t)}(e,t)});return r.length?tu(t,r.map(function(e){return e.boundingClientRect})):[t]}),zu=Ls(function(e,t){return function(e,t){return e.reduce(function(e,r){var n=Zl(t,e);return n!==Zl(t,r)?n?e:r:e.width*e.height>r.width*r.height?e:r})}(qu(e),t)}),$u={};pe($u,{accessibleText:function(){return Hu},accessibleTextVirtual:function(){return dd},autocomplete:function(){return md},formControlValue:function(){return ed},formControlValueMethods:function(){return Jc},hasUnicode:function(){return ud},isHumanInterpretable:function(){return fd},isIconLigature:function(){return cd},isValidAutocomplete:function(){return gd},label:function(){return wd},labelText:function(){return nd},labelVirtual:function(){return yd},nativeElementType:function(){return Dd},nativeTextAlternative:function(){return ld},nativeTextMethods:function(){return sd},removeUnicode:function(){return hd},sanitize:function(){return uc},subtreeText:function(){return rd},titleText:function(){return Mc},unsupported:function(){return Vc},visible:function(){return bd},visibleTextNodes:function(){return Ed},visibleVirtual:function(){return zc}});var Uu=function(e,t){e=e.actualNode||e;try{var r=pl(e),n=[],a=e.getAttribute(t);if(a){a=Hh(a);for(var o=0;o<a.length;o++)n.push(r.getElementById(a[o]))}return n}catch(e){throw new TypeError("Cannot resolve id references for non-DOM nodes")}},Hu=function(e,t){return dd(ul(e),t)},Gu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Zf(e).vNode;return 1!==(null==r?void 0:r.props.nodeType)||1!==r.props.nodeType||t.inLabelledByContext||t.inControlContext||!r.attr("aria-labelledby")?"":Uu(r,"aria-labelledby").filter(function(e){return e}).reduce(function(e,n){var a=Hu(n,V({inLabelledByContext:!0,startNode:t.startNode||r},t));return e?"".concat(e," ").concat(a):a},"")};function Wu(e){var t=Zf(e).vNode;return 1!==(null==t?void 0:t.props.nodeType)?"":t.attr("aria-label")||""}var Ku={"aria-activedescendant":{type:"idref",allowEmpty:!0},"aria-atomic":{type:"boolean",global:!0},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"]},"aria-braillelabel":{type:"string",allowEmpty:!0,global:!0},"aria-brailleroledescription":{type:"string",allowEmpty:!0,global:!0},"aria-busy":{type:"boolean",global:!0},"aria-checked":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-colcount":{type:"int",minValue:-1},"aria-colindex":{type:"int",minValue:1},"aria-colspan":{type:"int",minValue:1},"aria-controls":{type:"idrefs",allowEmpty:!0,global:!0},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],global:!0},"aria-describedby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-description":{type:"string",allowEmpty:!0,global:!0},"aria-details":{type:"idref",allowEmpty:!0,global:!0},"aria-disabled":{type:"boolean",global:!0},"aria-dropeffect":{type:"nmtokens",values:["copy","execute","link","move","none","popup"],global:!0},"aria-errormessage":{type:"idref",allowEmpty:!0,global:!0},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"idrefs",allowEmpty:!0,global:!0},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],global:!0},"aria-hidden":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-invalid":{type:"nmtoken",values:["grammar","false","spelling","true"],global:!0},"aria-keyshortcuts":{type:"string",allowEmpty:!0,global:!0},"aria-label":{type:"string",allowEmpty:!0,global:!0},"aria-labelledby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-level":{type:"int",minValue:1},"aria-live":{type:"nmtoken",values:["assertive","off","polite"],global:!0},"aria-modal":{type:"boolean"},"aria-multiline":{type:"boolean"},"aria-multiselectable":{type:"boolean"},"aria-orientation":{type:"nmtoken",values:["horizontal","undefined","vertical"]},"aria-owns":{type:"idrefs",allowEmpty:!0,global:!0},"aria-placeholder":{type:"string",allowEmpty:!0},"aria-posinset":{type:"int",minValue:1},"aria-pressed":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-readonly":{type:"boolean"},"aria-relevant":{type:"nmtokens",values:["additions","all","removals","text"],global:!0},"aria-required":{type:"boolean"},"aria-roledescription":{type:"string",allowEmpty:!0,global:!0},"aria-rowcount":{type:"int",minValue:-1},"aria-rowindex":{type:"int",minValue:1},"aria-rowspan":{type:"int",minValue:0},"aria-selected":{type:"nmtoken",values:["false","true","undefined"]},"aria-setsize":{type:"int",minValue:-1},"aria-sort":{type:"nmtoken",values:["ascending","descending","none","other"]},"aria-valuemax":{type:"decimal"},"aria-valuemin":{type:"decimal"},"aria-valuenow":{type:"decimal"},"aria-valuetext":{type:"string",allowEmpty:!0}},Yu={alert:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},alertdialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["alert","dialog"],accessibleNameRequired:!0},application:{type:"landmark",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["structure"],accessibleNameRequired:!0},article:{type:"structure",allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["document"]},banner:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},blockquote:{type:"structure",superclassRole:["section"]},button:{type:"widget",allowedAttrs:["aria-expanded","aria-pressed"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},caption:{type:"structure",requiredContext:["figure","table","grid","treegrid"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},cell:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-expanded"],superclassRole:["section"],nameFromContent:!0},checkbox:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-readonly","aria-expanded","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},code:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},columnheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},combobox:{type:"widget",requiredAttrs:["aria-expanded","aria-controls"],allowedAttrs:["aria-owns","aria-autocomplete","aria-readonly","aria-required","aria-activedescendant","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},command:{type:"abstract",superclassRole:["widget"]},complementary:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},composite:{type:"abstract",superclassRole:["widget"]},contentinfo:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},comment:{type:"structure",allowedAttrs:["aria-level","aria-posinset","aria-setsize"],superclassRole:["article"]},definition:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},deletion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},dialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["window"],accessibleNameRequired:!0},directory:{type:"structure",deprecated:!0,allowedAttrs:["aria-expanded"],superclassRole:["list"],nameFromContent:!0},document:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["structure"]},emphasis:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},feed:{type:"structure",requiredOwned:["article"],allowedAttrs:["aria-expanded"],superclassRole:["list"]},figure:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},form:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},grid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-level","aria-multiselectable","aria-readonly","aria-activedescendant","aria-colcount","aria-expanded","aria-rowcount"],superclassRole:["composite","table"],accessibleNameRequired:!1},gridcell:{type:"widget",requiredContext:["row"],allowedAttrs:["aria-readonly","aria-required","aria-selected","aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan"],superclassRole:["cell","widget"],nameFromContent:!0},group:{type:"structure",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["section"]},heading:{type:"structure",requiredAttrs:["aria-level"],allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},img:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!0,childrenPresentational:!0},input:{type:"abstract",superclassRole:["widget"]},insertion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},landmark:{type:"abstract",superclassRole:["section"]},link:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},list:{type:"structure",requiredOwned:["listitem"],allowedAttrs:["aria-expanded"],superclassRole:["section"]},listbox:{type:"widget",requiredOwned:["group","option"],allowedAttrs:["aria-multiselectable","aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},listitem:{type:"structure",requiredContext:["list"],allowedAttrs:["aria-level","aria-posinset","aria-setsize","aria-expanded"],superclassRole:["section"],nameFromContent:!0},log:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},main:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},marquee:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},math:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],childrenPresentational:!0},menu:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"]},menubar:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["menu"]},menuitem:{type:"widget",requiredContext:["menu","menubar","group"],allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},menuitemcheckbox:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["checkbox","menuitem"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},menuitemradio:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["menuitemcheckbox","radio"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},meter:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},mark:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},navigation:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},none:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},note:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},option:{type:"widget",requiredContext:["group","listbox"],allowedAttrs:["aria-selected","aria-checked","aria-posinset","aria-setsize"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},paragraph:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},presentation:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},progressbar:{type:"widget",allowedAttrs:["aria-expanded","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},radio:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-posinset","aria-setsize","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},radiogroup:{type:"composite",allowedAttrs:["aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},range:{type:"abstract",superclassRole:["widget"]},region:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"],accessibleNameRequired:!1},roletype:{type:"abstract",superclassRole:[]},row:{type:"structure",requiredContext:["grid","rowgroup","table","treegrid"],requiredOwned:["cell","columnheader","gridcell","rowheader"],allowedAttrs:["aria-colindex","aria-level","aria-rowindex","aria-selected","aria-activedescendant","aria-expanded","aria-posinset","aria-setsize"],superclassRole:["group","widget"],nameFromContent:!0},rowgroup:{type:"structure",requiredContext:["grid","table","treegrid"],requiredOwned:["row"],superclassRole:["structure"],nameFromContent:!0},rowheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},scrollbar:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-controls","aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],childrenPresentational:!0},search:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},searchbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["textbox"],accessibleNameRequired:!0},section:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},sectionhead:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},select:{type:"abstract",superclassRole:["composite","group"]},separator:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-valuetext"],superclassRole:["structure","widget"],childrenPresentational:!0},slider:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-readonly","aria-required","aria-valuetext"],superclassRole:["input","range"],accessibleNameRequired:!0,childrenPresentational:!0},spinbutton:{type:"widget",allowedAttrs:["aria-valuemax","aria-valuemin","aria-readonly","aria-required","aria-activedescendant","aria-valuetext","aria-valuenow"],superclassRole:["composite","input","range"],accessibleNameRequired:!0},status:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},strong:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},structure:{type:"abstract",superclassRole:["roletype"]},subscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},superscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},switch:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-readonly","aria-required"],superclassRole:["checkbox"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},suggestion:{type:"structure",requiredOwned:["insertion","deletion"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},tab:{type:"widget",requiredContext:["tablist"],allowedAttrs:["aria-posinset","aria-selected","aria-setsize","aria-expanded"],superclassRole:["sectionhead","widget"],nameFromContent:!0,childrenPresentational:!0},table:{type:"structure",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-colcount","aria-rowcount","aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1,nameFromContent:!0},tablist:{type:"composite",requiredOwned:["tab"],allowedAttrs:["aria-level","aria-multiselectable","aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["composite"]},tabpanel:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1},term:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},text:{type:"structure",superclassRole:["section"],nameFromContent:!0},textbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["input"],accessibleNameRequired:!0},time:{type:"structure",superclassRole:["section"]},timer:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["status"]},toolbar:{type:"structure",allowedAttrs:["aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["group"],accessibleNameRequired:!0},tooltip:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},tree:{type:"composite",requiredOwned:["group","treeitem"],allowedAttrs:["aria-multiselectable","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},treegrid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-readonly","aria-required","aria-rowcount"],superclassRole:["grid","tree"],accessibleNameRequired:!1},treeitem:{type:"widget",requiredContext:["group","tree"],allowedAttrs:["aria-checked","aria-expanded","aria-level","aria-posinset","aria-selected","aria-setsize"],superclassRole:["listitem","option"],accessibleNameRequired:!0,nameFromContent:!0},widget:{type:"abstract",superclassRole:["roletype"]},window:{type:"abstract",superclassRole:["roletype"]}},Zu={ariaAttrs:Ku,ariaRoles:V({},Yu,{"doc-abstract":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-acknowledgments":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-afterword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-appendix":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-backlink":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-biblioentry":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-bibliography":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-biblioref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-chapter":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-colophon":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-conclusion":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-cover":{type:"img",allowedAttrs:["aria-expanded"],superclassRole:["img"]},"doc-credit":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-credits":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-dedication":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-endnote":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-endnotes":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-epigraph":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-epilogue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-errata":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-example":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-footnote":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-foreword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossary":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-index":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-introduction":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-noteref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-notice":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-pagebreak":{type:"separator",allowedAttrs:["aria-expanded","aria-orientation"],superclassRole:["separator"],childrenPresentational:!0},"doc-pagelist":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-part":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-preface":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-prologue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-pullquote":{type:"none",superclassRole:["none"]},"doc-qna":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-subtitle":{type:"sectionhead",allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"]},"doc-tip":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-toc":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]}},{"graphics-document":{type:"structure",superclassRole:["document"],accessibleNameRequired:!0},"graphics-object":{type:"structure",superclassRole:["group"],nameFromContent:!0},"graphics-symbol":{type:"structure",superclassRole:["img"],accessibleNameRequired:!0,childrenPresentational:!0}}),htmlElms:{a:{variant:{href:{matches:"[href]",contentTypes:["interactive","phrasing","flow"],allowedRoles:["button","checkbox","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab","treeitem","doc-backlink","doc-biblioref","doc-glossref","doc-noteref"],namingMethods:["subtreeText"]},default:{contentTypes:["phrasing","flow"],allowedRoles:!0}}},abbr:{contentTypes:["phrasing","flow"],allowedRoles:!0},address:{contentTypes:["flow"],allowedRoles:!0},area:{variant:{href:{matches:"[href]",allowedRoles:!1},default:{allowedRoles:["button","link"]}},contentTypes:["phrasing","flow"],namingMethods:["altText"]},article:{contentTypes:["sectioning","flow"],allowedRoles:["feed","presentation","none","document","application","main","region"],shadowRoot:!0},aside:{contentTypes:["sectioning","flow"],allowedRoles:["feed","note","presentation","none","region","search","doc-dedication","doc-example","doc-footnote","doc-glossary","doc-pullquote","doc-tip"]},audio:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"Audio"},b:{contentTypes:["phrasing","flow"],allowedRoles:!0},base:{allowedRoles:!1,noAriaAttrs:!0},bdi:{contentTypes:["phrasing","flow"],allowedRoles:!0},bdo:{contentTypes:["phrasing","flow"],allowedRoles:!0},blockquote:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},body:{allowedRoles:!1,shadowRoot:!0},br:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],namingMethods:["titleText","singleSpace"]},button:{contentTypes:["interactive","phrasing","flow"],allowedRoles:["checkbox","combobox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","separator","slider","switch","tab","treeitem"],namingMethods:["subtreeText"]},canvas:{allowedRoles:!0,contentTypes:["embedded","phrasing","flow"],chromiumRole:"Canvas"},caption:{allowedRoles:!1},cite:{contentTypes:["phrasing","flow"],allowedRoles:!0},code:{contentTypes:["phrasing","flow"],allowedRoles:!0},col:{allowedRoles:!1,noAriaAttrs:!0},colgroup:{allowedRoles:!1,noAriaAttrs:!0},data:{contentTypes:["phrasing","flow"],allowedRoles:!0},datalist:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0,implicitAttrs:{"aria-multiselectable":"false"}},dd:{allowedRoles:!1},del:{contentTypes:["phrasing","flow"],allowedRoles:!0},dfn:{contentTypes:["phrasing","flow"],allowedRoles:!0},details:{contentTypes:["interactive","flow"],allowedRoles:!1},dialog:{contentTypes:["flow"],allowedRoles:["alertdialog"]},div:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},dl:{contentTypes:["flow"],allowedRoles:["group","list","presentation","none"],chromiumRole:"DescriptionList"},dt:{allowedRoles:["listitem"]},em:{contentTypes:["phrasing","flow"],allowedRoles:!0},embed:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","presentation","none"],chromiumRole:"EmbeddedObject"},fieldset:{contentTypes:["flow"],allowedRoles:["none","presentation","radiogroup"],namingMethods:["fieldsetLegendText"]},figcaption:{allowedRoles:["group","none","presentation"]},figure:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["figureText","titleText"]},footer:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},form:{contentTypes:["flow"],allowedRoles:["form","search","none","presentation"]},h1:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"1"}},h2:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"2"}},h3:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"3"}},h4:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"4"}},h5:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"5"}},h6:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"6"}},head:{allowedRoles:!1,noAriaAttrs:!0},header:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},hgroup:{contentTypes:["heading","flow"],allowedRoles:!0},hr:{contentTypes:["flow"],allowedRoles:["none","presentation","doc-pagebreak"],namingMethods:["titleText","singleSpace"]},html:{allowedRoles:!1,noAriaAttrs:!0},i:{contentTypes:["phrasing","flow"],allowedRoles:!0},iframe:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","none","presentation"],chromiumRole:"Iframe"},img:{variant:{nonEmptyAlt:{matches:[{attributes:{alt:"/.+/"}},{hasAccessibleName:!0}],allowedRoles:["button","checkbox","link","math","menuitem","menuitemcheckbox","menuitemradio","meter","option","progressbar","radio","scrollbar","separator","slider","switch","tab","treeitem","doc-cover"]},usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","flow"]},default:{allowedRoles:["presentation","none"],contentTypes:["embedded","flow"]}},namingMethods:["altText"]},input:{variant:{button:{matches:{properties:{type:"button"}},allowedRoles:["checkbox","combobox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"]},buttonType:{matches:{properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},checkboxPressed:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":"/.*/"}},allowedRoles:["button","menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},checkbox:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":null}},allowedRoles:["menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},noRoles:{matches:{properties:{type:["color","date","datetime-local","file","month","number","password","range","reset","submit","time","week"]}},allowedRoles:!1},hidden:{matches:{properties:{type:"hidden"}},contentTypes:["flow"],allowedRoles:!1,noAriaAttrs:!0},image:{matches:{properties:{type:"image"}},allowedRoles:["link","menuitem","menuitemcheckbox","menuitemradio","radio","switch"],namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},radio:{matches:{properties:{type:"radio"}},allowedRoles:["menuitemradio"],implicitAttrs:{"aria-checked":"false"}},textWithList:{matches:{properties:{type:"text"},attributes:{list:"/.*/"}},allowedRoles:!1},default:{contentTypes:["interactive","flow"],allowedRoles:["combobox","searchbox","spinbutton"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText","placeholderText"]}}},ins:{contentTypes:["phrasing","flow"],allowedRoles:!0},kbd:{contentTypes:["phrasing","flow"],allowedRoles:!0},label:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,chromiumRole:"Label"},legend:{allowedRoles:!1},li:{allowedRoles:["menuitem","menuitemcheckbox","menuitemradio","option","none","presentation","radio","separator","tab","treeitem","doc-biblioentry","doc-endnote"],implicitAttrs:{"aria-setsize":"1","aria-posinset":"1"}},link:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},main:{contentTypes:["flow"],allowedRoles:!1,shadowRoot:!0},map:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},math:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!1},mark:{contentTypes:["phrasing","flow"],allowedRoles:!0},menu:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},meta:{variant:{itemprop:{matches:"[itemprop]",contentTypes:["phrasing","flow"]}},allowedRoles:!1,noAriaAttrs:!0},meter:{contentTypes:["phrasing","flow"],allowedRoles:!1,chromiumRole:"progressbar"},nav:{contentTypes:["sectioning","flow"],allowedRoles:["doc-index","doc-pagelist","doc-toc","menu","menubar","none","presentation","tablist"],shadowRoot:!0},noscript:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},object:{variant:{usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application","document","img"],chromiumRole:"PluginObject"},ol:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},optgroup:{allowedRoles:!1},option:{allowedRoles:!1,implicitAttrs:{"aria-selected":"false"}},output:{contentTypes:["phrasing","flow"],allowedRoles:!0,namingMethods:["subtreeText"]},p:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},param:{allowedRoles:!1,noAriaAttrs:!0},picture:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},pre:{contentTypes:["flow"],allowedRoles:!0},progress:{contentTypes:["phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":"0"}},q:{contentTypes:["phrasing","flow"],allowedRoles:!0},rp:{allowedRoles:!0},rt:{allowedRoles:!0},ruby:{contentTypes:["phrasing","flow"],allowedRoles:!0},s:{contentTypes:["phrasing","flow"],allowedRoles:!0},samp:{contentTypes:["phrasing","flow"],allowedRoles:!0},script:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},search:{contentTypes:["flow"],allowedRoles:["form","group","none","presentation","region","search"]},section:{contentTypes:["sectioning","flow"],allowedRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","document","feed","group","log","main","marquee","navigation","none","note","presentation","search","status","tabpanel","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-bibliography","doc-chapter","doc-colophon","doc-conclusion","doc-credit","doc-credits","doc-dedication","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-foreword","doc-glossary","doc-index","doc-introduction","doc-notice","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-toc"],shadowRoot:!0},select:{variant:{combobox:{matches:{attributes:{multiple:null,size:[null,"1"]}},allowedRoles:["menu"]},default:{allowedRoles:!1}},contentTypes:["interactive","phrasing","flow"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText"]},slot:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},small:{contentTypes:["phrasing","flow"],allowedRoles:!0},source:{allowedRoles:!1,noAriaAttrs:!0},span:{contentTypes:["phrasing","flow"],allowedRoles:!0,shadowRoot:!0},strong:{contentTypes:["phrasing","flow"],allowedRoles:!0},style:{allowedRoles:!1,noAriaAttrs:!0},svg:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!0,chromiumRole:"SVGRoot",namingMethods:["svgTitleText"]},sub:{contentTypes:["phrasing","flow"],allowedRoles:!0},summary:{allowedRoles:!1,namingMethods:["subtreeText"]},sup:{contentTypes:["phrasing","flow"],allowedRoles:!0},table:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["tableCaptionText","tableSummaryText"]},tbody:{allowedRoles:!0},template:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},textarea:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuenow":"","aria-multiline":"true"},namingMethods:["labelText","placeholderText"]},tfoot:{allowedRoles:!0},thead:{allowedRoles:!0},time:{contentTypes:["phrasing","flow"],allowedRoles:!0},title:{allowedRoles:!1,noAriaAttrs:!0},td:{allowedRoles:!0},th:{allowedRoles:!0},tr:{allowedRoles:!0},track:{allowedRoles:!1,noAriaAttrs:!0},u:{contentTypes:["phrasing","flow"],allowedRoles:!0},ul:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},var:{contentTypes:["phrasing","flow"],allowedRoles:!0},video:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"video"},wbr:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"]}},cssColors:{aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},Xu=V({},Zu),Ju=Xu,Qu=function(e){var t=Ju.ariaRoles[e];return!!t&&!!t.unsupported},ec=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.allowAbstract,n=t.flagUnsupported,a=void 0!==n&&n,o=Ju.ariaRoles[e],i=Qu(e);return!(!o||a&&i||!r&&"abstract"===o.type)},tc=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.fallback,n=t.abstracts,a=t.dpub;if(1!==(e=e instanceof aa?e:ul(e)).props.nodeType)return null;var o=(e.attr("role")||"").trim().toLowerCase();return(r?Hh(o):[o]).find(function(e){return!(!a&&"doc-"===e.substr(0,4))&&ec(e,{allowAbstract:n})})||null},rc=function(e){return Object.keys(Ju.htmlElms).filter(function(t){var r=Ju.htmlElms[t];return r.contentTypes?r.contentTypes.includes(e):!!r.variant&&!(!r.variant.default||!r.variant.default.contentTypes)&&r.variant.default.contentTypes.includes(e)})},nc=function(){return ll.get("globalAriaAttrs",function(){return Object.keys(Ju.ariaAttrs).filter(function(e){return Ju.ariaAttrs[e].global})})},ac=Ls(function(e){for(var t=[],r=e.rows,n=0,a=r.length;n<a;n++){var o=r[n].cells;t[n]=t[n]||[];for(var i=0,s=0,l=o.length;s<l;s++)for(var u=0;u<o[s].colSpan;u++){for(var c=o[s].getAttribute("rowspan"),d=0===parseInt(c)||0===o[s].rowspan?r.length:o[s].rowSpan,p=0;p<d;p++){for(t[n+p]=t[n+p]||[];t[n+p][i];)i++;t[n+p][i]=o[s]}i++}}return t}),oc=Ls(function(e,t){var r,n;for(t||(t=ac(ml(e,"table"))),r=0;r<t.length;r++)if(t[r]&&-1!==(n=t[r].indexOf(e)))return{x:n,y:r}});function ic(e){var t=Zf(e),r=t.vNode,n=t.domNode,a=r.attr("scope"),o=tc(r);if(!["td","th"].includes(r.props.nodeName))throw new TypeError("Expected TD or TH element");if("columnheader"===o)return"col";if("rowheader"===o)return"row";if("col"===a||"row"===a)return a;if("th"!==r.props.nodeName)return!1;if(!r.actualNode)return"auto";var i=ac(ml(n,"table")),s=oc(n,i);return i[s.y].every(function(e){return"TH"===e.nodeName.toUpperCase()})?"col":i.map(function(e){return e[s.x]}).every(function(e){return e&&"TH"===e.nodeName.toUpperCase()})?"row":"auto"}var sc=function(e){return-1!==["col","auto"].indexOf(ic(e))},lc=function(e){return["row","auto"].includes(ic(e))},uc=function(e){return e?e.replace(/\r\n/g,"\n").replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""},cc=function(){return ll.get("sectioningContentSelector",function(){return rc("sectioning").map(function(e){return"".concat(e,":not([role])")}).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"})},dc=function(){return ll.get("sectioningContentPlusMainSelector",function(){return cc()+" , main:not([role]), [role=main]"})};function pc(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).checkTitle,r=void 0!==t&&t;return!!(uc(Gu(e))||uc(Wu(e))||r&&1===(null==e?void 0:e.props.nodeType)&&uc(e.attr("title")))}var hc={a:function(e){return e.hasAttr("href")?"link":null},area:function(e){return e.hasAttr("href")?"link":null},article:"article",aside:function(e){return zp(e.parent,cc())&&!pc(e,{checkTitle:!0})?null:"complementary"},body:"document",button:"button",datalist:"listbox",dd:"definition",dfn:"term",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",footer:function(e){return zp(e,dc())?null:"contentinfo"},form:function(e){return pc(e)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(e){return zp(e,dc())?null:"banner"},hr:"separator",img:function(e){var t=e.hasAttr("alt")&&!e.attr("alt"),r=nc().find(function(t){return e.hasAttr(t)});return!t||r||Vu(e)?"img":"presentation"},input:function(e){var t;if(e.hasAttr("list")){var r=Uu(e.actualNode,"list").filter(function(e){return!!e})[0];t=r&&"datalist"===r.nodeName.toLowerCase()}switch(e.props.type){case"checkbox":return"checkbox";case"number":return"spinbutton";case"radio":return"radio";case"range":return"slider";case"search":return t?"combobox":"searchbox";case"button":case"image":case"reset":case"submit":return"button";case"text":case"tel":case"url":case"email":case"":return t?"combobox":"textbox";default:return"textbox"}},li:"listitem",main:"main",math:"math",menu:"list",meter:"meter",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",search:"search",section:function(e){return pc(e)?"region":null},select:function(e){return e.hasAttr("multiple")||parseInt(e.attr("size"))>1?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function(e){var t=zp(e,"table"),r=tc(t);return["grid","treegrid"].includes(r)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(e){return sc(e)?"columnheader":lc(e)?"rowheader":void 0},thead:"rowgroup",tr:"row",ul:"list"},fc=function(e,t){var r=u(t);if(Array.isArray(t)&&void 0!==e)return t.includes(e);if("function"===r)return!!t(e);if(null!=e){if(t instanceof RegExp)return t.test(e);if(/^\/.*\/$/.test(t)){var n=t.substring(1,t.length-1);return new RegExp(n).test(e)}}return t===e},mc=function(e,t){return fc(!!dd(e),t)},gc=function(e,t){if("object"!==u(t)||Array.isArray(t)||t instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(t).every(function(r){return fc(e(r),t[r])})},vc=function(e,t){return e=Zf(e).vNode,gc(function(t){return e.attr(t)},t)};function bc(e,t){return!!t(e)}var yc=function(e,t){return fc(tc(e),t)},wc=function(e,t){return fc(Rc(e),t)},Dc=function(e,t){return e=Zf(e).vNode,fc(e.props.nodeName,t)},Ec=function(e,t){return e=Zf(e).vNode,gc(function(t){return e.props[t]},t)},xc=function(e,t){return fc(Pc(e),t)},Ac={hasAccessibleName:mc,attributes:vc,condition:bc,explicitRole:yc,implicitRole:wc,nodeName:Dc,properties:Ec,semanticRole:xc},Cc=function e(t,r){return t=Zf(t).vNode,Array.isArray(r)?r.some(function(r){return e(t,r)}):"string"==typeof r?Np(t,r):Object.keys(r).every(function(e){if(!Ac[e])throw new Error('Unknown matcher type "'.concat(e,'"'));var n=Ac[e],a=r[e];return n(t,a)})},Fc=function(e,t){return Cc(e,t)};Fc.hasAccessibleName=mc,Fc.attributes=vc,Fc.condition=bc,Fc.explicitRole=yc,Fc.fromDefinition=Cc,Fc.fromFunction=gc,Fc.fromPrimative=fc,Fc.implicitRole=wc,Fc.nodeName=Dc,Fc.properties=Ec,Fc.semanticRole=xc;var Tc=Fc,kc=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).noMatchAccessibleName,r=void 0!==t&&t,n=Ju.htmlElms[e.props.nodeName];if(!n)return{};if(!n.variant)return n;var a=n.variant,o=O(n,g);for(var i in a)if(a.hasOwnProperty(i)&&"default"!==i){for(var s=a[i],l=s.matches,u=O(s,v),c=Array.isArray(l)?l:[l],d=0;d<c.length&&r;d++)if(c[d].hasOwnProperty("hasAccessibleName"))return n;if(Tc(e,l))for(var p in u)u.hasOwnProperty(p)&&(o[p]=u[p])}for(var h in a.default)a.default.hasOwnProperty(h)&&void 0===o[h]&&(o[h]=a.default[h]);return o},Rc=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).chromium,r=e instanceof aa?e:ul(e);if(e=r.actualNode,!r)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var n=r.props.nodeName,a=hc[n];return!a&&t?kc(r).chromiumRole||null:"function"==typeof a?a(r):a||null},Nc={td:["tr"],th:["tr"],tr:["thead","tbody","tfoot","table"],thead:["table"],tbody:["table"],tfoot:["table"],li:["ol","ul"],dt:["dl","div"],dd:["dl","div"],div:["dl"]};function Sc(e,t){var r=Nc[e.props.nodeName];if(!r)return null;if(!e.parent){if(!e.actualNode)return null;throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.")}if(!r.includes(e.parent.props.nodeName))return null;var n=tc(e.parent,t);return["none","presentation"].includes(n)&&!Oc(e.parent)?n:n?null:Sc(e.parent,t)}function _c(e,t){var r=t.chromium,n=O(t,b),a=Rc(e,{chromium:r});return a?Sc(e,n)||a:null}function Oc(e){return nc().some(function(t){return e.hasAttr(t)})||Vu(e)}var Pc=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.noPresentational,n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.noImplicit,n=O(t,y),a=Zf(e).vNode;if(1!==a.props.nodeType)return null;var o=tc(a,n);return o?["presentation","none"].includes(o)&&Oc(a)?r?null:_c(a,n):o:r?null:_c(a,n)}(e,O(t,w));return r&&["presentation","none"].includes(n)?null:n},Ic=["iframe"],Mc=function(e){var t=Zf(e).vNode;return 1===t.props.nodeType&&e.hasAttr("title")?!Fc(t,Ic)&&["none","presentation"].includes(Pc(t))?"":t.attr("title"):""},Lc=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).strict;if(1!==(e=e instanceof aa?e:ul(e)).props.nodeType)return!1;var r=Pc(e),n=Ju.ariaRoles[r];return!(!n||!n.nameFromContent)||!t&&(!n||["presentation","none"].includes(r))},Bc=function(e){var t=e.actualNode,r=e.children;if(!r)throw new Error("getOwnedVirtual requires a virtual node");if(e.hasAttr("aria-owns")){var n=Uu(t,"aria-owns").filter(function(e){return!!e}).map(function(e){return c.utils.getNodeFromTree(e)});return[].concat(j(r),j(n))}return j(r)},Vc={accessibleNameFromFieldValue:["progressbar"]};function jc(e){return e=Zf(e).vNode,qc(e)}var qc=Ls(function(e,t){return!Cl(e)&&!xu(e,{skipAncestors:!0,isAncestor:t})&&(e.actualNode&&"area"===e.props.nodeName?!Nl(e,qc):!Ol(e,{skipAncestors:!0,isAncestor:t})&&(!e.parent||qc(e.parent,!0)))}),zc=function e(t,r,n){var a=Zf(t).vNode,o=r?jc:zl,i=!t.actualNode||t.actualNode&&o(t),s=a.children.map(function(t){var a=t.props,o=a.nodeType,s=a.nodeValue;if(3===o){if(s&&i)return s}else if(!n)return e(t,r)}).join("");return uc(s)},$c=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"],Uc=function(e){var t=(e=e instanceof aa?e:ul(e)).props.nodeName;return"textarea"===t||"input"===t&&!$c.includes((e.attr("type")||"").toLowerCase())},Hc=function(e){return"select"===(e=e instanceof aa?e:ul(e)).props.nodeName},Gc=function(e){return"textbox"===tc(e)},Wc=function(e){return"listbox"===tc(e)},Kc=function(e){return"combobox"===tc(e)},Yc=["progressbar","scrollbar","slider","spinbutton"],Zc=function(e){var t=tc(e);return Yc.includes(t)},Xc=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],Jc={nativeTextboxValue:function(e){var t=Zf(e).vNode;return Uc(t)&&t.props.value||""},nativeSelectValue:function(e){var t=Zf(e).vNode;if(!Hc(t))return"";var r=vm(t,"option"),n=r.filter(function(e){return e.props.selected});return n.length||n.push(r[0]),n.map(function(e){return zc(e)}).join(" ")||""},ariaTextboxValue:function(e){var t=Zf(e),r=t.vNode,n=t.domNode;return Gc(r)?!n||n&&!Ol(n)?zc(r,!0):n.textContent:""},ariaListboxValue:Qc,ariaComboboxValue:function(e,t){var r=Zf(e).vNode;if(!Kc(r))return"";var n=Bc(r).filter(function(e){return"listbox"===Pc(e)})[0];return n?Qc(n,t):""},ariaRangeValue:function(e){var t=Zf(e).vNode;if(!Zc(t)||!t.hasAttr("aria-valuenow"))return"";var r=+t.attr("aria-valuenow");return isNaN(r)?"0":String(r)}};function Qc(e,t){var r=Zf(e).vNode;if(!Wc(r))return"";var n=Bc(r).filter(function(e){return"option"===Pc(e)&&"true"===e.attr("aria-selected")});return 0===n.length?"":dd(n[0],t)}var ed=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.actualNode,n=Vc.accessibleNameFromFieldValue||[],a=Pc(e);if(t.startNode===e||!Xc.includes(a)||n.includes(a))return"";var o=Object.keys(Jc).map(function(e){return Jc[e]}).reduce(function(r,n){return r||n(e,t)},"");return t.debug&&ra(o||"{empty-value}",r,t),o},td=rc("phrasing").concat(["#text"]),rd=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=dd.alreadyProcessed;t.startNode=t.startNode||e;var n=t,a=n.strict,o=n.inControlContext,i=n.inLabelledByContext,s=Pc(e),l=kc(e,{noMatchAccessibleName:!0}).contentTypes;return r(e,t)||1!==e.props.nodeType||null!=l&&l.includes("embedded")||Xc.includes(s)?"":t.subtreeDescendant||t.inLabelledByContext||Lc(e,{strict:a})?(a||(t=V({subtreeDescendant:!o&&!i},t)),Bc(e).reduce(function(e,r){return function(e,t,r){var n=t.props.nodeName,a=dd(t,r);return a?(td.includes(n)||(" "!==a[0]&&(a+=" "),e&&" "!==e[e.length-1]&&(a=" "+a)),e+a):e}(e,r,t)},"")):""},nd=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=dd.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return"";t.startNode||(t.startNode=e);var n,a=V({inControlContext:!0},t),o=function(e){if(!e.attr("id"))return[];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return hl({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}(e),i=zp(e,"label");return i?(n=[].concat(j(o),[i.actualNode])).sort(Yf):n=o,n.map(function(e){return Hu(e,a)}).filter(function(e){return""!==e}).join(" ")},ad={submit:"Submit",image:"Submit",reset:"Reset",button:""};function od(e,t){return t.attr(e)||""}function id(e,t,r){var n=t.actualNode,a=[e=e.toLowerCase(),n.nodeName.toLowerCase()].join(","),o=n.querySelector(a);return o&&o.nodeName.toLowerCase()===e?Hu(o,r):""}var sd={valueText:function(e){return e.props.value||""},buttonDefaultText:function(e){return ad[e.props.type]||""},tableCaptionText:id.bind(null,"caption"),figureText:id.bind(null,"figcaption"),svgTitleText:id.bind(null,"title"),fieldsetLegendText:id.bind(null,"legend"),altText:od.bind(null,"alt"),tableSummaryText:od.bind(null,"summary"),titleText:Mc,subtreeText:rd,labelText:nd,singleSpace:function(){return" "},placeholderText:od.bind(null,"placeholder")};function ld(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.actualNode;if(1!==e.props.nodeType||["presentation","none"].includes(Pc(e)))return"";var n=function(e){return(kc(e,{noMatchAccessibleName:!0}).namingMethods||[]).map(function(e){return sd[e]})}(e),a=n.reduce(function(r,n){return r||n(e,t)},"");return t.debug&&c.log(a||"{empty-value}",r,t),a}var ud=function(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations,o=!1;return r&&(o||(o=Ia().test(e))),n&&(o||(o=/[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g.test(e)||/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g.test(e)||/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g.test(e))),a&&(o||(o=/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g.test(e))),o};function cd(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,n=e.actualNode.nodeValue.trim();if(!uc(n)||ud(n,{emoji:!0,nonBmp:!0}))return!1;var a=ll.get("canvasContext",function(){return l.createElement("canvas").getContext("2d",{willReadFrequently:!0})}),o=a.canvas,s=ll.get("fonts",function(){return{}}),u=i.getComputedStyle(e.parent.actualNode).getPropertyValue("font-family");s[u]||(s[u]={occurrences:0,numLigatures:0});var c=s[u];if(c.occurrences>=r){if(c.numLigatures/c.occurrences===1)return!0;if(0===c.numLigatures)return!1}c.occurrences++;var d=30,p="".concat(d,"px ").concat(u);a.font=p;var h=n.charAt(0),f=a.measureText(h).width;if(0===f)return c.numLigatures++,!0;if(f<30){var m=30/f;f*=m,p="".concat(d*=m,"px ").concat(u)}o.width=f,o.height=d,a.font=p,a.textAlign="left",a.textBaseline="top",a.fillText(h,0,0);var g=new Uint32Array(a.getImageData(0,0,f,d).data.buffer);if(!g.some(function(e){return e}))return c.numLigatures++,!0;a.clearRect(0,0,f,d),a.fillText(n,0,0);var v=new Uint32Array(a.getImageData(0,0,f,d).data.buffer),b=g.reduce(function(e,t,r){return 0===t&&0===v[r]||0!==t&&0!==v[r]?e:++e},0),y=n.split("").reduce(function(e,t){return e+a.measureText(t).width},0),w=a.measureText(n).width;return b/g.length>=t&&1-w/y>=t&&(c.numLigatures++,!0)}function dd(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t=function(e,t){return t.startNode||(t=V({startNode:e},t)),1===e.props.nodeType&&t.inLabelledByContext&&void 0===t.includeHidden&&(t=V({includeHidden:!jc(e)},t)),t}(e,t),function(e,t){return!!e&&(1===e.props.nodeType&&!t.includeHidden&&!jc(e))}(e,t))return"";if(function(e,t){var r,n=t.ignoreIconLigature,a=t.pixelThreshold,o=null!==(r=t.occurrenceThreshold)&&void 0!==r?r:t.occuranceThreshold;return!(3!==e.props.nodeType||!n)&&cd(e,a,o)}(e,t))return"";var r=[Gu,Wu,ld,ed,rd,pd,Mc].reduce(function(r,n){return t.startNode===e&&(r=uc(r)),""!==r?r:n(e,t)},"");return t.debug&&c.log(r||"{empty-value}",e.actualNode,t),r}function pd(e){return 3!==e.props.nodeType?"":e.props.nodeValue}dd.alreadyProcessed=function(e,t){return t.processed=t.processed||[],!!t.processed.includes(e)||(t.processed.push(e),!1)};var hd=function(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations;return r&&(e=e.replace(Ia(),"")),n&&(e=e.replace(/[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g,"").replace(/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g,"").replace(/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g,"")),a&&(e=e.replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g,"")),e},fd=function(e){return function(e){return 0===uc(e).length}(e)||function(e){return 1===e.length&&e.match(/\D/)}(e)||function(e){return["aa","abc"].includes(e.toLowerCase())}(e)||function(e){var t=hd(e,{emoji:!0,nonBmp:!0,punctuations:!0});return!uc(t)}(e)?0:1},md={stateTerms:["on","off"],standaloneTerms:["name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","new-password","current-password","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo","one-time-code"],qualifiers:["home","work","mobile","fax","pager"],qualifiedTerms:["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"],locations:["billing","shipping"]},gd=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.looseTyped,n=void 0!==r&&r,a=t.stateTerms,o=void 0===a?[]:a,i=t.locations,s=void 0===i?[]:i,l=t.qualifiers,u=void 0===l?[]:l,c=t.standaloneTerms,d=void 0===c?[]:c,p=t.qualifiedTerms,h=void 0===p?[]:p,f=t.ignoredValues,m=void 0===f?[]:f;if(e=e.toLowerCase().trim(),(o=o.concat(md.stateTerms)).includes(e)||""===e)return!0;u=u.concat(md.qualifiers),s=s.concat(md.locations),d=d.concat(md.standaloneTerms),h=h.concat(md.qualifiedTerms);var g=e.split(/\s+/g);if("webauthn"===g[g.length-1]&&(g.pop(),0===g.length))return!1;if(!n&&(g[0].length>8&&"section-"===g[0].substr(0,8)&&g.shift(),s.includes(g[0])&&g.shift(),u.includes(g[0])&&(g.shift(),d=[]),1!==g.length))return!1;var v=g[g.length-1];return m.includes(v)?void 0:d.includes(v)||h.includes(v)},vd=function(e){var t;return e.attr("aria-labelledby")&&(t=Uu(e.actualNode,"aria-labelledby").map(function(e){var t=ul(e);return t?zc(t):""}).join(" ").trim())||(t=e.attr("aria-label"))&&(t=uc(t))?t:null},bd=function(e,t,r){return e=ul(e),zc(e,t,r)},yd=function(e){var t,r;if(r=vd(e))return r;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var n=wa(e.attr("id"));if(r=(t=pl(e.actualNode).querySelector('label[for="'+n+'"]'))&&bd(t,!0))return r}return(r=(t=zp(e,"label"))&&zc(t,!0))||null},wd=function(e){return e=ul(e),yd(e)},Dd=[{matches:[{nodeName:"textarea"},{nodeName:"input",properties:{type:["text","password","search","tel","email","url"]}}],namingMethods:"labelText"},{matches:{nodeName:"input",properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},{matches:{nodeName:"input",properties:{type:"image"}},namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},{matches:"button",namingMethods:"subtreeText"},{matches:"fieldset",namingMethods:"fieldsetLegendText"},{matches:"OUTPUT",namingMethods:"subtreeText"},{matches:[{nodeName:"select"},{nodeName:"input",properties:{type:/^(?!text|password|search|tel|email|url|button|submit|reset)/}}],namingMethods:"labelText"},{matches:"summary",namingMethods:"subtreeText"},{matches:"figure",namingMethods:["figureText","titleText"]},{matches:"img",namingMethods:"altText"},{matches:"table",namingMethods:["tableCaptionText","tableSummaryText"]},{matches:["hr","br"],namingMethods:["titleText","singleSpace"]}],Ed=function e(t){var r=zl(t),n=[];return t.children.forEach(function(t){3===t.actualNode.nodeType?r&&n.push(t):n=n.concat(e(t))}),n},xd=Ls(function(e){var t=ul(e),r=t.boundingClientRect,n=[],a=bl(t);return e.childNodes.forEach(function(e){if(3===e.nodeType&&""!==uc(e.nodeValue)){var t=function(e){var t=l.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}(e);(function(e,t){return e.some(function(e){return!Hl(Kl(e),t)})})(t,r)||n.push.apply(n,j(Ad(t,a)))}}),n.length?n:Ad([r],a)});function Ad(e,t){var r=[];return e.forEach(function(e){if(!(e.width<1||e.height<1)){var n=t.reduce(function(e,t){return e&&Wl(e,t.boundingClientRect)},e);n&&r.push(n)}}),r}var Cd=function(e){var t=bu(e);return t?xd(e).map(function(e){return Iu(t,e)}):[]},Fd=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"],Td=function(e){var t=Zf(e).vNode,r=c.commons.aria.getExplicitRole(t);if(r)return-1!==Fd.indexOf(r);switch(t.props.nodeName){case"img":case"iframe":case"object":case"video":case"audio":case"canvas":case"svg":case"math":case"button":case"select":case"textarea":case"keygen":case"progress":case"meter":return!0;case"input":return"hidden"!==t.props.type;default:return!1}},kd=["head","title","template","script","style","iframe","object","video","audio","noscript"];function Rd(e){return!kd.includes(e.props.nodeName)&&e.children.some(function(e){var t=e.props;return 3===t.nodeType&&t.nodeValue.trim()})}var Nd=function e(t,r,n){return Rd(t)||Td(t.actualNode)||!n&&!!vd(t)||!r&&t.children.some(function(t){return 1===t.actualNode.nodeType&&e(t)})},Sd=function(e,t,r){return e=ul(e),Nd(e,t,r)};function _d(e){return!(void 0!==e.children&&!Rd(e))||(1===e.props.nodeType&&Td(e)?!!c.commons.text.accessibleTextVirtual(e):e.children.some(function(e){return!e.attr("lang")&&_d(e)&&!Ol(e)}))}var Od=function(e){return em(e.getAttribute("tabindex"))>-1&&Vu(e)&&!Bu(e)};function Pd(e,t){var r=Zf(e),n=r.vNode,a=r.domNode;return n?(void 0===n._isHiddenWithCSS&&(n._isHiddenWithCSS=Id(a,t)),n._isHiddenWithCSS):Id(a,t)}function Id(e,t){if(9===e.nodeType)return!1;if(11===e.nodeType&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase()))return!1;var r=i.getComputedStyle(e,null);if(!r)throw new Error("Style does not exist for the given element.");if("none"===r.getPropertyValue("display"))return!0;var n=["hidden","collapse"],a=r.getPropertyValue("visibility");if(n.includes(a)&&!t)return!0;if(n.includes(a)&&t&&n.includes(t))return!0;var o=Ml(e);return!(!o||n.includes(a))&&Pd(o,a)}var Md=Pd,Ld=function(e){var t=e.doctype;return null!==t&&"html"===t.name&&!t.publicId&&!t.systemId},Bd=function(e){var t;(e instanceof aa||null!==(t=i)&&void 0!==t&&t.Node&&e instanceof i.Node)&&(e=c.commons.aria.getRole(e));var r=Ju.ariaRoles[e];return(null==r?void 0:r.type)||null};function Vd(e,t){!1!==t(e.actualNode)&&e.children.forEach(function(e){return Vd(e,t)})}var jd=["block","list-item","table","flex","grid","inline-block"];function qd(e){var t=i.getComputedStyle(e).getPropertyValue("display");return jd.includes(t)||"table-"===t.substr(0,6)}var zd=function(e,t){if(qd(e))return!1;var r=function(e){for(var t=Ml(e);t&&!qd(t);)t=Ml(t);return ul(t)}(e),n="",a="",o=0;return Vd(r,function(t){if(2===o)return!1;if(3===t.nodeType&&(n+=t.nodeValue),1===t.nodeType){var r=(t.nodeName||"").toUpperCase();if(t===e&&(o=1),["BR","HR"].includes(r))0===o?(n="",a=""):o=2;else{if("none"===t.style.display||"hidden"===t.style.overflow||!["",null,"none"].includes(t.style.float)||!["",null,"relative"].includes(t.style.position))return!1;if("widget"===Bd(t))return a+=t.textContent,!1}}}),n=uc(n),null!=t&&t.noLengthCompare?0!==n.length:(a=uc(a),n.length>a.length)},$d=function(e){var t=(e=e||{}).modalPercent||.75;if(ll.get("isModalOpen"))return ll.get("isModalOpen");if(im(c._tree[0],"dialog, [role=dialog], [aria-modal=true]",zl).length)return ll.set("isModalOpen",!0),!0;for(var r,n=Vl(i),a=n.width*t,o=n.height*t,s=(n.width-a)/2,u=(n.height-o)/2,d=[{x:s,y:u},{x:n.width-s,y:u},{x:n.width/2,y:n.height/2},{x:s,y:n.height-u},{x:n.width-s,y:n.height-u}].map(function(e){return Array.from(l.elementsFromPoint(e.x,e.y))}),p=function(){var e=d[h].find(function(e){var t=i.getComputedStyle(e);return parseInt(t.width,10)>=a&&parseInt(t.height,10)>=o&&"none"!==t.getPropertyValue("pointer-events")&&("absolute"===t.position||"fixed"===t.position)});if(e&&d.every(function(t){return t.includes(e)}))return ll.set("isModalOpen",!0),{v:!0}},h=0;h<d.length;h++)if(r=p())return r.v;ll.set("isModalOpen",void 0)};function Ud(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,r=e.ownerDocument.createRange();r.setStart(e,0),r.setEnd(e,e.childNodes.length);var n,a=0,o=0,i=te(r.getClientRects());try{for(i.s();!(n=i.n()).done;){var s=n.value;if(!(s.height<=t))if(a>s.top+t)a=Math.max(a,s.bottom);else{if(0!==o)return!0;a=s.bottom,o++}}}catch(e){i.e(e)}finally{i.f()}return!1}var Hd=function(e){return e instanceof i.Node},Gd="color.incompleteData",Wd={set:function(e,t){if("string"!=typeof e)throw new Error("Incomplete data: key must be a string");var r=ll.get(Gd,function(){return{}});return t&&(r[e]=t),r[e]},get:function(e){var t=ll.get(Gd);return null==t?void 0:t[e]},clear:function(){ll.set(Gd,{})}},Kd=Wd,Yd=function(e,t){var r=e.nodeName.toUpperCase();if(["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"].includes(r))return Kd.set("bgColor","imgNode"),!0;var n=(t=t||i.getComputedStyle(e)).getPropertyValue("background-image"),a="none"!==n;if(a){var o=/gradient/.test(n);Kd.set("bgColor",o?"bgGradient":"bgImage")}return a},Zd=/^#[0-9a-f]{3,8}$/i,Xd=/hsl\(\s*([-\d.]+)(rad|turn)/,Jd=(M=new WeakMap,B=new WeakMap,U=new WeakMap,J=new WeakMap,ee=new WeakMap,ne=new WeakMap,ae=new WeakSet,Q(function e(t,r,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(X(this,e),$(this,ae),z(this,M,void 0),z(this,B,void 0),z(this,U,void 0),z(this,J,void 0),z(this,ee,void 0),z(this,ne,void 0),t instanceof Jd){var o=t.r,i=t.g,s=t.b;return this.r=o,this.g=i,this.b=s,void(this.alpha=t.alpha)}this.red=t,this.green=r,this.blue=n,this.alpha=a},[{key:"r",get:function(){return H(M,this)},set:function(e){G(M,this,e),G(J,this,Math.round(255*tp(e,0,1)))}},{key:"g",get:function(){return H(B,this)},set:function(e){G(B,this,e),G(ee,this,Math.round(255*tp(e,0,1)))}},{key:"b",get:function(){return H(U,this)},set:function(e){G(U,this,e),G(ne,this,Math.round(255*tp(e,0,1)))}},{key:"red",get:function(){return H(J,this)},set:function(e){G(M,this,e/255),G(J,this,tp(e,0,255))}},{key:"green",get:function(){return H(ee,this)},set:function(e){G(B,this,e/255),G(ee,this,tp(e,0,255))}},{key:"blue",get:function(){return H(ne,this)},set:function(e){G(U,this,e/255),G(ne,this,tp(e,0,255))}},{key:"toHexString",value:function(){var e=Math.round(this.red).toString(16),t=Math.round(this.green).toString(16),r=Math.round(this.blue).toString(16);return"#"+(this.red>15.5?e:"0"+e)+(this.green>15.5?t:"0"+t)+(this.blue>15.5?r:"0"+r)}},{key:"toJSON",value:function(){return{red:this.red,green:this.green,blue:this.blue,alpha:this.alpha}}},{key:"parseString",value:function(e){e=e.replace(Xd,function(e,t,r){var n=t+r;switch(r){case"rad":return e.replace(n,180*t/Math.PI);case"turn":return e.replace(n,360*t)}});try{var t;"Prototype"in i&&"Version"in i.Prototype&&(t=Array.from,Array.from=Ms.default);var r=new Ns(e).to("srgb");t&&(Array.from=t,t=null),this.r=r.r,this.g=r.g,this.b=r.b,this.alpha=+r.alpha}catch(t){throw new Error('Unable to parse color "'.concat(e,'"'))}return this}},{key:"parseRgbString",value:function(e){this.parseString(e)}},{key:"parseHexString",value:function(e){e.match(Zd)&&![6,8].includes(e.length)&&this.parseString(e)}},{key:"parseColorFnString",value:function(e){this.parseString(e)}},{key:"getRelativeLuminance",value:function(){var e=this.r,t=this.g,r=this.b;return.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))}},{key:"getLuminosity",value:function(){return.3*this.r+.59*this.g+.11*this.b}},{key:"setLuminosity",value:function(e){var t=e-this.getLuminosity();return W(ae,this,Qd).call(this,t).clip()}},{key:"getSaturation",value:function(){return Math.max(this.r,this.g,this.b)-Math.min(this.r,this.g,this.b)}},{key:"setSaturation",value:function(e){var t=new Jd(this),r=K([{name:"r",value:t.r},{name:"g",value:t.g},{name:"b",value:t.b}].sort(function(e,t){return e.value-t.value}),3),n=r[0],a=r[1],o=r[2];return o.value>n.value?(a.value=(a.value-n.value)*e/(o.value-n.value),o.value=e):a.value=o.value=0,n.value=0,t[o.name]=o.value,t[n.name]=n.value,t[a.name]=a.value,t}},{key:"clip",value:function(){var e=new Jd(this),t=e.getLuminosity(),r=Math.min(e.r,e.g,e.b),n=Math.max(e.r,e.g,e.b);return r<0&&(e.r=t+(e.r-t)*t/(t-r),e.g=t+(e.g-t)*t/(t-r),e.b=t+(e.b-t)*t/(t-r)),n>1&&(e.r=t+(e.r-t)*(1-t)/(n-t),e.g=t+(e.g-t)*(1-t)/(n-t),e.b=t+(e.b-t)*(1-t)/(n-t)),e}}]));function Qd(e){var t=new Jd(this);return t.r+=e,t.g+=e,t.b+=e,t}var ep=Jd;function tp(e,t,r){return Math.min(Math.max(t,e),r)}var rp=function(e){var t=new ep;if(t.parseString(e.getPropertyValue("background-color")),0!==t.alpha){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r}return t},np=function(e){var t=i.getComputedStyle(e);return Yd(e,t)||1===rp(t).alpha};function ap(e){if(!e.href)return!1;var t=ll.get("firstPageLink",op);return!t||e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING}function op(){return(i.location.origin?vm(c._tree,'a[href]:not([href^="javascript:"])').find(function(e){return!Nu(e.actualNode)}):vm(c._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0])||null}var ip=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,sp=/(\w+)\((\d+)/;var lp=function e(t,r,n){var a;if(!t)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var o=t instanceof aa?t:ul(t);t=o?o.actualNode:t;var s="_isVisible"+(r?"ScreenReader":""),l=null!==(a=i.Node)&&void 0!==a?a:{},u=l.DOCUMENT_NODE,d=l.DOCUMENT_FRAGMENT_NODE,p=o?o.props.nodeType:t.nodeType,h=o?o.props.nodeName:t.nodeName.toLowerCase();if(o&&void 0!==o[s])return o[s];if(p===u)return!0;if(["style","script","noscript","template"].includes(h))return!1;if(t&&p===d&&(t=t.host),r&&"true"===(o?o.attr("aria-hidden"):t.getAttribute("aria-hidden")))return!1;if(!t){var f=o.parent,m=!0;return f&&(m=e(f,r,!0)),o&&(o[s]=m),m}var g=i.getComputedStyle(t,null);if(null===g)return!1;if("area"===h)return function(t,r,n){var a=ml(t,"map");if(!a)return!1;var o=a.getAttribute("name");if(!o)return!1;var i=pl(t);if(!i||9!==i.nodeType)return!1;var s=vm(c._tree,'img[usemap="#'.concat(wa(o),'"]'));return!(!s||!s.length)&&s.some(function(t){return e(t.actualNode,r,n)})}(t,r,n);if("none"===g.getPropertyValue("display"))return!1;var v=parseInt(g.getPropertyValue("height")),b=parseInt(g.getPropertyValue("width")),y=Nf(t),w=y&&0===v,D=y&&0===b,E="absolute"===g.getPropertyValue("position")&&(v<2||b<2)&&"hidden"===g.getPropertyValue("overflow");if(!r&&(function(e){var t=e.getPropertyValue("clip").match(ip),r=e.getPropertyValue("clip-path").match(sp);if(t&&5===t.length){var n=e.getPropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],o=parseInt(r[2],10);switch(a){case"inset":return o>=50;case"circle":return 0===o}}return!1}(g)||"0"===g.getPropertyValue("opacity")||w||D||E))return!1;if(!n&&("hidden"===g.getPropertyValue("visibility")||!r&&jl(t)))return!1;var x=t.assignedSlot?t.assignedSlot:t.parentNode,A=!1;return x&&(A=e(x,r,!0)),o&&(o[s]=A),A},up=function(e,t){for(var r=["fixed","sticky"],n=[],a=!1,o=0;o<e.length;++o){var s=e[o];s===t&&(a=!0);var l=i.getComputedStyle(s);a||-1===r.indexOf(l.position)?n.push(s):n=[]}return n};function cp(e,t){var r=dp(t);do{var n=dp(e);if(n===r||n===t)return pp(e,t);e=n}while(e);return!1}function dp(e){for(var t=ul(e).parent;t;){if(Nf(t.actualNode))return t.actualNode;t=t.parent}}function pp(e,t){var r=i.getComputedStyle(t),n=r.getPropertyValue("overflow");if("inline"===r.getPropertyValue("display"))return!0;var a=Array.from(e.getClientRects()),o=t.getBoundingClientRect(),s={left:o.left,top:o.top,width:o.width,height:o.height};return(["scroll","auto"].includes(n)||t instanceof i.HTMLHtmlElement)&&(s.width=t.scrollWidth,s.height=t.scrollHeight),1===a.length&&"hidden"===n&&"nowrap"===r.getPropertyValue("white-space")&&(a[0]=s),a.some(function(e){return!(Math.ceil(e.left)<Math.floor(s.left)||Math.ceil(e.top)<Math.floor(s.top)||Math.floor(e.left+e.width)>Math.ceil(s.left+s.width)||Math.floor(e.top+e.height)>Math.ceil(s.top+s.height))})}var hp=function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(a>999)throw new Error("Infinite loop detected");return Array.from(n.elementsFromPoint(t,r)||[]).filter(function(e){return pl(e)===n}).reduce(function(n,o){if(Uh(o)){var i=e(t,r,o.shadowRoot,a+1);(n=n.concat(i)).length&&cp(n[0],o)&&n.push(o)}else n.push(o);return n},[])};function fp(e){var t={};if(!e||!e.length)return t;var r=e.substring(1).split("&");if(!r||!r.length)return t;for(var n=0;n<r.length;n++){var a=K(r[n].split("="),2),o=a[0],i=a[1],s=void 0===i?"":i;t[decodeURIComponent(o)]=decodeURIComponent(s)}return t}function mp(e){if(!e)return"";var t=e.match(/#!?\/?/g);return t?"#"===K(t,1)[0]?"":e:""}var gp=function(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),n=e;["A","AREA"].includes(r)&&!e.ownerSVGElement||((n=l.createElement("a")).href=e.getAttribute(t));var a,o=["https:","ftps:"].includes(n.protocol)?n.protocol.replace(/s:$/,":"):n.protocol,i=function(e){var t=e.split("/").pop();return t&&-1!==t.indexOf(".")?{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}:{pathname:e,filename:""}}(/^\//.test(n.pathname)?n.pathname:"/".concat(n.pathname)),s=i.pathname,u=i.filename;return{protocol:o,hostname:n.hostname,port:(a=n.port,["443","80"].includes(a)?"":a),pathname:/\/$/.test(s)?s:"".concat(s,"/"),search:fp(n.search),hash:mp(n.hash),filename:u}}},vp=function(e,t){var r=t.getBoundingClientRect(),n=r.top,a=r.left,o=n-t.scrollTop,s=n-t.scrollTop+t.scrollHeight,l=a-t.scrollLeft,u=a-t.scrollLeft+t.scrollWidth;if(e.left>u&&e.left>r.right||e.top>s&&e.top>r.bottom||e.right<l&&e.right<r.left||e.bottom<o&&e.bottom<r.top)return!1;var c=i.getComputedStyle(t);return!(e.left>r.right||e.top>r.bottom)||"scroll"===c.overflow||"auto"===c.overflow||t instanceof i.HTMLBodyElement||t instanceof i.HTMLHtmlElement},bp=0,yp=function(e){function t(e,r,n){var a;if(X(this,t),(a=P(this,t)).shadowId=n,a.children=[],a.actualNode=e,a.parent=r,r||(bp=0),a.nodeIndex=bp++,a._isHidden=null,a._cache={},a._isXHTML=Bs(e.ownerDocument),"input"===e.nodeName.toLowerCase()){var o=e.getAttribute("type");o=a._isXHTML?o:(o||"").toLowerCase(),_m().includes(o)||(o="text"),a._type=o}return ll.get("nodeMap")&&ll.get("nodeMap").set(e,a),a}return L(t,e),Q(t,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var e=this.actualNode,t=e.nodeType,r=e.nodeName,n=e.id,a=e.nodeValue;this._cache.props={nodeType:t,nodeName:this._isXHTML?r:r.toLowerCase(),id:n,type:this._type,nodeValue:a},1===t&&(this._cache.props.multiple=this.actualNode.multiple,this._cache.props.value=this.actualNode.value,this._cache.props.selected=this.actualNode.selected,this._cache.props.checked=this.actualNode.checked,this._cache.props.indeterminate=this.actualNode.indeterminate)}return this._cache.props}},{key:"attr",value:function(e){return"function"!=typeof this.actualNode.getAttribute?null:this.actualNode.getAttribute(e)}},{key:"hasAttr",value:function(e){return"function"==typeof this.actualNode.hasAttribute&&this.actualNode.hasAttribute(e)}},{key:"attrNames",get:function(){var e;return this._cache.hasOwnProperty("attrNames")||(e=this.actualNode.attributes instanceof i.NamedNodeMap?this.actualNode.attributes:this.actualNode.cloneNode(!1).attributes,this._cache.attrNames=Array.from(e).map(function(e){return e.name})),this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(e){var t="computedStyle_"+e;return this._cache.hasOwnProperty(t)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=i.getComputedStyle(this.actualNode)),this._cache[t]=this._cache.computedStyle.getPropertyValue(e)),this._cache[t]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=Vu(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=Lu(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter(function(e){return e.width>0})),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}])}(aa),wp=yp,Dp="DqElm.RunOptions";function Ep(e){var t=e.outerHTML;return t||"function"!=typeof i.XMLSerializer||(t=(new i.XMLSerializer).serializeToString(e)),t||""}var xp=Ls(function(e,t,r){var n,a,o,i,s;return null!=t||(t=null),null!=r||(r={}),t||(t=null!==(o=ll.get(Dp))&&void 0!==o?o:{}),this.spec=r,e instanceof aa?(this._virtualNode=e,this._element=e.actualNode):(this._element=e,this._virtualNode=ul(e)),this.fromFrame=(null===(n=this.spec.selector)||void 0===n?void 0:n.length)>1,this._includeElementInJson=t.elementRef,t.absolutePaths&&(this._options={toRoot:!0}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:"number"==typeof(null===(a=this._virtualNode)||void 0===a?void 0:a.nodeIndex)&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,c._audit.noHtml||(this.source=null!==(i=this.spec.source)&&void 0!==i?i:(s=this._element)?function(e){var t=300,r=Ep(e),n=ul(e);n||(n=new wp(e));var a=n.props.nodeName;if(r.length<t)return r;var o=[],i=e.cloneNode(!1),s=Ca(i),l=Ep(i);if(l.length<t){var u,c="",d=te(s);try{for(d.s();!(u=d.n()).done;){var p=u.value,h={name:p.name,value:p.value};c+=" ".concat(h.name,'="').concat(h.value,'"')}}catch(e){d.e(e)}finally{d.f()}return"<".concat(a).concat(c,">")}var f,m="<".concat(a,">").length,g=te(s);try{for(g.s();!(f=g.n()).done;){var v=f.value,b=v.name,y=v.value;if(m>t)break;var w={name:b,value:y},D=w.name,E=w.value;D=D.length>20?D.substring(0,20)+"...":D,E=E.length>20?E.substring(0,20)+"...":E;var x="".concat(D,'="').concat(E,'"');m+=(" "+x).length,o.push(x)}}catch(e){g.e(e)}finally{g.f()}return(l="<".concat(a," ").concat(o.join(" "),">")).length>t?l=l.substring(0,t)+" ...>":o.length<s.length&&(l=l.substring(0,l.length-1)+" ...>"),l}(s):""),this});xp.prototype={get selector(){return this.spec.selector||[el(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[nl(this.element)]},get xpath(){return this.spec.xpath||[ol(this.element)]},get element(){return this._element},toJSON:function(){var e={selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes,fromFrame:this.fromFrame};return this._includeElementInJson&&(e.element=this._element),e}},xp.fromFrame=function(e,t,r){var n=xp.mergeSpecs(e,r);return new xp(r.element,t,n)},xp.mergeSpecs=function(e,t){return V({},e,{selector:[].concat(j(t.selector),j(e.selector)),ancestry:[].concat(j(t.ancestry),j(e.ancestry)),xpath:[].concat(j(t.xpath),j(e.xpath)),nodeIndexes:[].concat(j(t.nodeIndexes),j(e.nodeIndexes)),fromFrame:!0})},xp.setRunOptions=function(e){var t=e.elementRef,r=e.absolutePaths;ll.set(Dp,{elementRef:t,absolutePaths:r})};var Ap=xp,Cp=function(e,t,r,n){return{isAsync:!1,async:function(){return this.isAsync=!0,function(t){t instanceof Error==0?(e.result=t,r(e)):n(t)}},data:function(t){e.data=t},relatedNodes:function(t){i.Node&&(t=t instanceof i.Node||t instanceof aa?[t]:ya(t),e.relatedNodes=[],t.forEach(function(t){if(t instanceof aa&&(t=t.actualNode),t instanceof i.Node){var r=new Ap(t);e.relatedNodes.push(r)}}))}}};function Fp(e){return Tp(e,new Map)}function Tp(e,t){var r,n;if(null===e||"object"!==u(e))return e;if(null!==(r=i)&&void 0!==r&&r.Node&&e instanceof i.Node||null!==(n=i)&&void 0!==n&&n.HTMLCollection&&e instanceof i.HTMLCollection||"nodeName"in e&&"nodeType"in e&&"ownerDocument"in e)return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){var a=[];return t.set(e,a),e.forEach(function(e){a.push(Tp(e,t))}),a}var o={};for(var s in t.set(e,o),e)o[s]=Tp(e[s],t);return o}var kp=new Oa.CssSelectorParser;kp.registerSelectorPseudos("not"),kp.registerSelectorPseudos("is"),kp.registerNestingOperators(">"),kp.registerAttrEqualityMods("^","$","*","~");var Rp=kp;function Np(e,t){return Vp(t).some(function(t){return qp(e,t)})}function Sp(e,t){return function(e,t){return 1===e.props.nodeType&&("*"===t.tag||e.props.nodeName===t.tag)}(e,t)&&function(e,t){return!t.classes||t.classes.every(function(t){return e.hasClass(t.value)})}(e,t)&&function(e,t){return!t.attributes||t.attributes.every(function(t){var r=e.attr(t.key);return null!==r&&t.test(r)})}(e,t)&&function(e,t){return!t.id||e.props.id===t.id}(e,t)&&(r=e,!((n=t).pseudos&&!n.pseudos.every(function(e){if("not"===e.name)return!e.expressions.some(function(e){return qp(r,e)});if("is"===e.name)return e.expressions.some(function(e){return qp(r,e)});throw new Error("the pseudo selector "+e.name+" has not yet been implemented")})));var r,n}var _p,Op=(_p=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,function(e){return e.replace(_p,"\\")}),Pp=/\\/g;function Ip(e){if(e)return e.map(function(e){var t,r,n=e.name.replace(Pp,""),a=(e.value||"").replace(Pp,"");switch(e.operator){case"^=":r=new RegExp("^"+Op(a));break;case"$=":r=new RegExp(Op(a)+"$");break;case"~=":r=new RegExp("(^|\\s)"+Op(a)+"(\\s|$)");break;case"|=":r=new RegExp("^"+Op(a)+"(-|$)");break;case"=":t=function(e){return a===e};break;case"*=":t=function(e){return e&&e.includes(a)};break;case"!=":t=function(e){return a!==e};break;default:t=function(e){return null!==e}}return""===a&&/^[*$^]=$/.test(e.operator)&&(t=function(){return!1}),t||(t=function(e){return e&&r.test(e)}),{key:n,value:a,type:void 0===e.value?"attrExist":"attrValue",test:t}})}function Mp(e){if(e)return e.map(function(e){return{value:e=e.replace(Pp,""),regexp:new RegExp("(^|\\s)"+Op(e)+"(\\s|$)")}})}function Lp(e){if(e)return e.map(function(e){var t;return["is","not"].includes(e.name)&&(t=Bp(t=(t=e.value).selectors?t.selectors:[t])),{name:e.name,expressions:t,value:e.value}})}function Bp(e){return e.map(function(e){for(var t=[],r=e.rule;r;)t.push({tag:r.tagName?r.tagName.toLowerCase():"*",combinator:r.nestingOperator?r.nestingOperator:" ",id:r.id,attributes:Ip(r.attrs),classes:Mp(r.classNames),pseudos:Lp(r.pseudos)}),r=r.rule;return t})}function Vp(e){var t=Rp.parse(e);return Bp(t=t.selectors?t.selectors:[t])}function jp(e,t,r,n){if(!e)return!1;for(var a=Array.isArray(t)?t[r]:t,o=Sp(e,a);!o&&n&&e.parent;)o=Sp(e=e.parent,a);if(r>0){if(!1===[" ",">"].includes(a.combinator))throw new Error("axe.utils.matchesExpression does not support the combinator: "+a.combinator);o=o&&jp(e.parent,t,r-1," "===a.combinator)}return o}function qp(e,t,r){return jp(e,t,t.length-1,r)}var zp=function(e,t){for(;e;){if(Np(e,t))return e;if(void 0===e.parent)throw new TypeError("Cannot resolve parent for non-DOM nodes");e=e.parent}return null};function $p(){}function Up(e){if("function"!=typeof e)throw new TypeError("Queue methods require functions as arguments")}var Hp,Gp,Wp=function(){var e,t=[],r=0,n=0,a=$p,o=!1,i=function(t){e=t,setTimeout(function(){null!=e&&ra("Uncaught error (of queue)",e)},1)},s=i;function l(e){return function(r){t[e]=r,(n-=1)||a===$p||(o=!0,a(t))}}function c(e){return a=$p,s(e),t}var d={defer:function(a){if("object"===u(a)&&a.then&&a.catch){var i=a;a=function(e,t){i.then(e).catch(t)}}if(Up(a),void 0===e){if(o)throw new Error("Queue already completed");return t.push(a),++n,function(){for(var e=t.length;r<e;r++){var n=t[r];try{n.call(null,l(r),c)}catch(e){c(e)}}}(),d}},then:function(r){if(Up(r),a!==$p)throw new Error("queue `then` already set");return e||(a=r,n||(o=!0,a(t))),d},catch:function(t){if(Up(t),s!==i)throw new Error("queue `catch` already set");return e?(t(e),e=null):s=t,d},abort:c};return d},Kp=i.crypto||i.msCrypto;if(!Gp&&Kp&&Kp.getRandomValues){var Yp=new Uint8Array(16);Gp=function(){return Kp.getRandomValues(Yp),Yp}}if(!Gp){var Zp=new Array(16);Gp=function(){for(var e,t=0;t<16;t++)3&t||(e=4294967296*Math.random()),Zp[t]=e>>>((3&t)<<3)&255;return Zp}}for(var Xp="function"==typeof i.Buffer?i.Buffer:Array,Jp=[],Qp={},eh=0;eh<256;eh++)Jp[eh]=(eh+256).toString(16).substr(1),Qp[Jp[eh]]=eh;function th(e,t){var r=t||0,n=Jp;return n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]}var rh=Gp(),nh=[1|rh[0],rh[1],rh[2],rh[3],rh[4],rh[5]],ah=16383&(rh[6]<<8|rh[7]),oh=0,ih=0;function sh(e,t,r){var n=t&&r||0,a=t||[],o=null!=(e=e||{}).clockseq?e.clockseq:ah,i=null!=e.msecs?e.msecs:(new Date).getTime(),s=null!=e.nsecs?e.nsecs:ih+1,l=i-oh+(s-ih)/1e4;if(l<0&&null==e.clockseq&&(o=o+1&16383),(l<0||i>oh)&&null==e.nsecs&&(s=0),s>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");oh=i,ih=s,ah=o;var u=(1e4*(268435455&(i+=122192928e5))+s)%4294967296;a[n++]=u>>>24&255,a[n++]=u>>>16&255,a[n++]=u>>>8&255,a[n++]=255&u;var c=i/4294967296*1e4&268435455;a[n++]=c>>>8&255,a[n++]=255&c,a[n++]=c>>>24&15|16,a[n++]=c>>>16&255,a[n++]=o>>>8|128,a[n++]=255&o;for(var d=e.node||nh,p=0;p<6;p++)a[n+p]=d[p];return t||th(a)}function lh(e,t,r){var n=t&&r||0;"string"==typeof e&&(t="binary"==e?new Xp(16):null,e=null);var a=(e=e||{}).random||(e.rng||Gp)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var o=0;o<16;o++)t[n+o]=a[o];return t||th(a)}(Hp=lh).v1=sh,Hp.v4=lh,Hp.parse=function(e,t,r){var n=t&&r||0,a=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(e){a<16&&(t[n+a++]=Qp[e])});a<16;)t[n+a++]=0;return t},Hp.unparse=th,Hp.BufferClass=Xp,c._uuid=sh();var uh=lh,ch=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function dh(){var e="axeAPI",t="";return void 0!==c&&c._audit&&c._audit.application&&(e=c._audit.application),void 0!==c&&(t=c.version),e+"."+t}function ph(e){fh(e),ba(i.parent===e,"Source of the response must be the parent window.")}function hh(e){fh(e),ba(e.parent===i,"Respondable target must be a frame in the current window")}function fh(e){ba(i!==e,"Messages can not be sent to the same window.")}var mh={},gh=[];function vh(){var e="".concat(lh(),":").concat(lh());return gh.includes(e)?vh():(gh.push(e),e)}function bh(e,t,r,n){if(r?ph(e):hh(e),t.message instanceof Error&&!r)return c.log(t.message),!1;var a=function(e){var t=e.topic,r=e.channelId,n=e.message,a={channelId:r,topic:t,messageId:e.messageId,keepalive:!!e.keepalive,source:dh()};return n instanceof Error?a.error={name:n.name,message:n.message,stack:n.stack}:a.payload=n,JSON.stringify(a)}(V({messageId:vh()},t)),o=c._audit.allowedOrigins;return!(!o||!o.length||("function"==typeof n&&function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];ba(!mh[e],"A replyHandler already exists for this message channel."),mh[e]={replyHandler:t,sendToParent:r}}(t.channelId,n,r),o.forEach(function(t){try{e.postMessage(a,t)}catch(r){if(r instanceof e.DOMException)throw new Error('allowedOrigins value "'.concat(t,'" is not a valid origin'));throw r}}),0))}function yh(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(n,a,o){bh(e,{channelId:t,message:n,keepalive:a},r,o)}}function wh(e,t){var r,n=e.origin,a=e.data,o=e.source;try{var s=function(e){var t,r,n,a,o;try{t=JSON.parse(e)}catch(e){return}if(null!==(s=t)&&"object"===u(s)&&"string"==typeof s.channelId&&s.source===dh()){var s,l=t,c=l.topic,d=l.channelId,p=l.messageId,h=l.keepalive;return{topic:c,message:"object"===u(t.error)?(r=t.error,n=r.message||"Unknown error occurred",a=ch.includes(r.name)?r.name:"Error",o=i[a]||Error,r.stack&&(n+="\n"+r.stack.replace(r.message,"")),new o(n)):t.payload,messageId:p,channelId:d,keepalive:!!h}}}(a)||{},l=s.channelId,d=s.message,p=s.messageId;if(!function(e){var t=c._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}(n)||(r=p,gh.includes(r)||(gh.push(r),0)))return;if(d instanceof Error&&o.parent!==i)return c.log(d),!1;try{if(s.topic){var h=yh(o,l);ph(o),t(s,h)}else!function(e,t){var r=t.channelId,n=t.message,a=t.keepalive,o=function(e){return mh[e]}(r)||{},i=o.replyHandler,s=o.sendToParent;if(i){s?ph(e):hh(e);var l=yh(e,r,s);!a&&r&&function(e){delete mh[e]}(r);try{i(n,a,l)}catch(e){c.log(e),l(e,a)}}}(o,s)}catch(e){!function(e,t,r){if(!e.parent!==i)return c.log(t);try{bh(e,{topic:null,channelId:r,message:t,messageId:vh(),keepalive:!0},!0)}catch(e){return c.log(e)}}(o,e,l)}}catch(e){return c.log(e),!1}}var Dh,Eh,xh={open:function(e){if("function"==typeof i.addEventListener){var t=function(t){wh(t,e)};return i.addEventListener("message",t,!1),function(){i.removeEventListener("message",t,!1)}}},post:function(e,t,r){return"function"==typeof i.addEventListener&&bh(e,t,!1,r)}};function Ah(e){e.updateMessenger(xh)}var Ch={};function Fh(e,t,r,n,a){var o={topic:t,message:r,channelId:"".concat(lh(),":").concat(lh()),keepalive:n};return Eh(e,o,a)}function Th(e,t){var r=e.topic,n=e.message,a=e.keepalive,o=Ch[r];if(o)try{o(n,a,t)}catch(e){c.log(e),t(e,a)}}function kh(e,t,r,n){var a,o,i=e.contentWindow,s=null!==(a=null===(o=t.options)||void 0===o?void 0:o.pingWaitTime)&&void 0!==a?a:500;if(!i)return ra("Frame does not have a content window",e),void r(null);if(0!==s){var l=setTimeout(function(){l=setTimeout(function(){t.debug?n(Nh("No response from frame",e)):r(null)},0)},s);Fh(i,"axe.ping",null,void 0,function(){clearTimeout(l),Rh(e,t,r,n)})}else Rh(e,t,r,n)}function Rh(e,t,r,n){var a,o,i=null!==(a=null===(o=t.options)||void 0===o?void 0:o.frameWaitTime)&&void 0!==a?a:6e4,s=e.contentWindow,l=setTimeout(function(){n(Nh("Axe in frame timed out",e))},i);Fh(s,"axe.start",t,void 0,function(e){clearTimeout(l),e instanceof Error==0?r(e):n(e)})}function Nh(e,t){var r;return c._tree&&(r=el(t)),new Error(e+": "+(r||t))}Fh.updateMessenger=function(e){var t=e.open,r=e.post;ba("function"==typeof t,"open callback must be a function"),ba("function"==typeof r,"post callback must be a function"),Dh&&Dh();var n=t(Th);n?(ba("function"==typeof n,"open callback must return a cleanup function"),Dh=n):Dh=null,Eh=r},Fh.subscribe=function(e,t){ba("function"==typeof t,"Subscriber callback must be a function"),ba(!Ch[e],"Topic ".concat(e," is already registered to.")),Ch[e]=t},Fh.isInFrame=function(){return!!(arguments.length>0&&void 0!==arguments[0]?arguments[0]:i).frameElement},Ah(Fh);var Sh=null,_h={update:function(e){ba("object"===u(e),"serializer must be an object"),Sh=e},toSpec:function(e){return _h.dqElmToSpec(new Ap(e))},dqElmToSpec:function(e,t){var r;return e instanceof Ap==0?e:(t&&(e=function(e,t){var r=e.fromFrame,n=t.ancestry,a=t.xpath,o=!1!==t.selectors||r;return(e=new Ap(e.element,t,{source:e.source,nodeIndexes:e.nodeIndexes,selector:o?e.selector:[":root"],ancestry:n?e.ancestry:[":root"],xpath:a?e.xpath:"/"})).fromFrame=r,e}(e,t)),"function"==typeof(null===(r=Sh)||void 0===r?void 0:r.toSpec)?Sh.toSpec(e):e.toJSON())},mergeSpecs:function(e,t){var r;return"function"==typeof(null===(r=Sh)||void 0===r?void 0:r.mergeSpecs)?Sh.mergeSpecs(e,t):Ap.mergeSpecs(e,t)},mapRawResults:function(e){return e.map(function(e){return V({},e,{nodes:_h.mapRawNodeResults(e.nodes)})})},mapRawNodeResults:function(e){return null==e?void 0:e.map(function(e){var t=e.node,r=O(e,D);r.node=_h.dqElmToSpec(t);for(var n=0,a=["any","all","none"];n<a.length;n++){var o=a[n];r[o]=r[o].map(function(e){var t=e.relatedNodes,r=O(e,E);return r.relatedNodes=t.map(_h.dqElmToSpec),r})}return r})}},Oh=_h,Ph=function(e){return[].concat(e.any||[]).concat(e.all||[]).concat(e.none||[])},Ih=function(e,t,r){if(Array.isArray(e))return e.find(function(e){return null!==e&&"object"===u(e)&&Object.hasOwn(e,t)&&e[t]===r})};function Mh(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Math.max(null==e?void 0:e.length,null==t?void 0:t.length),n=0;n<r;n++){var a=null==e?void 0:e[n],o=null==t?void 0:t[n];if("number"!=typeof a||isNaN(a))return 0===n?1:-1;if("number"!=typeof o||isNaN(o))return 0===n?-1:1;if(a!==o)return a-o}return 0}var Lh=function(e,t){var r=[];return e.forEach(function(e){var t,n=(t=e)&&t.results?Array.isArray(t.results)?t.results.length?t.results:null:[t.results]:null;if(n&&n.length){var a=function(e){return e.frameElement?Oh.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}(e);n.forEach(function(e){e.nodes&&a&&function(e,t,r){e.forEach(function(e){e.node=Oh.mergeSpecs(e.node,r),Ph(e).forEach(function(e){e.relatedNodes=e.relatedNodes.map(function(e){return Oh.mergeSpecs(e,r)})})})}(e.nodes,0,a);var t,n=Ih(r,"id",e.id);n?(e.nodes.length&&function(e,t){for(var r,n=t[0].node,a=0;a<e.length;a++){var o=Mh((r=e[a].node).nodeIndexes,n.nodeIndexes);if(o>0||0===o&&n.selector.length<r.selector.length)return void e.splice.apply(e,[a,0].concat(j(t)))}e.push.apply(e,j(t))}(n.nodes,e.nodes),e.error&&(null!==(t=n.error)&&void 0!==t||(n.error=e.error))):r.push(e)})}}),r.forEach(function(e){e.nodes&&e.nodes.sort(function(e,t){return Mh(e.node.nodeIndexes,t.node.nodeIndexes)})}),r};function Bh(e,t,r,n,a,o){t=V({},t,{elementRef:!1});var i=Wp();e.frames.forEach(function(e){var a=e.node,o=O(e,x);i.defer(function(e,i){kh(a,{options:t,command:r,parameter:n,context:o},function(t){return e(t?{results:t,frameElement:a}:null)},i)})}),i.then(function(e){a(Lh(e,t))}).catch(o)}function Vh(e,t){if(!e.shadowId&&!t.shadowId&&e.actualNode&&"function"==typeof e.actualNode.contains)return e.actualNode.contains(t.actualNode);do{if(e===t)return!0;if(t.nodeIndex<e.nodeIndex)return!1;t=t.parent}while(t);return!1}var jh,qh=function e(){for(var t={},r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return n.forEach(function(r){if(r&&"object"===u(r)&&!Array.isArray(r))for(var n=0,a=Object.keys(r);n<a.length;n++){var o=a[n];!t.hasOwnProperty(o)||"object"!==u(r[o])||Array.isArray(t[o])?t[o]=r[o]:t[o]=e(t[o],r[o])}}),t},zh=function(e,t){Object.assign(e,t),Object.keys(t).filter(function(e){return"function"==typeof t[e]}).forEach(function(r){e[r]=null;try{e[r]=t[r](e)}catch(e){}})},$h=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"],Uh=function(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if($h.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return!0}return!1},Hh=function(e){return(e||"").trim().replace(/\s{2,}/g," ").split(" ")},Gh=" [idsMap]";function Wh(e,t,r){var n=e[0]._selectorMap;if(n){for(var a=e[0].shadowId,o=0;o<t.length;o++)if(t[o].length>1&&t[o].some(function(e){return Kh(e)}))return;var i=new Set;t.forEach(function(e){var t,r=function(e,t,r){var n=e[e.length-1],a=null,o=e.length>1||!!n.pseudos||!!n.classes;if(Kh(n))a=t["*"];else{if(n.id){var i;if(!t[Gh]||!Object.hasOwn(t[Gh],n.id)||null===(i=t[Gh][n.id])||void 0===i||!i.length)return;a=t[Gh][n.id].filter(function(e){return e.shadowId===r})}if(n.tag&&"*"!==n.tag){var s;if(null===(s=t[n.tag])||void 0===s||!s.length)return;var l=t[n.tag];a=a?Yh(l,a):l}if(n.classes){var u;if(null===(u=t["[class]"])||void 0===u||!u.length)return;var c=t["[class]"];a=a?Yh(c,a):c}if(n.attributes)for(var d=0;d<n.attributes.length;d++){var p,h=n.attributes[d];if("attrValue"===h.type&&(o=!0),null===(p=t["[".concat(h.key,"]")])||void 0===p||!p.length)return;var f=t["[".concat(h.key,"]")];a=a?Yh(f,a):f}}return{nodes:a,isComplexSelector:o}}(e,n,a);null==r||null===(t=r.nodes)||void 0===t||t.forEach(function(t){r.isComplexSelector&&!qp(t,e)||i.add(t)})});var s=[];return i.forEach(function(e){return s.push(e)}),r&&(s=s.filter(r)),s.sort(function(e,t){return e.nodeIndex-t.nodeIndex})}}function Kh(e){return"*"===e.tag&&!e.attributes&&!e.id&&!e.classes}function Yh(e,t){return e.filter(function(e){return t.includes(e)})}function Zh(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t)}function Xh(e,t){1===e.props.nodeType&&(Zh(e.props.nodeName,e,t),Zh("*",e,t),e.attrNames.forEach(function(r){"id"===r&&(t[Gh]=t[Gh]||{},Hh(e.attr(r)).forEach(function(r){Zh(r,e,t[Gh])})),Zh("[".concat(r,"]"),e,t)}))}function Jh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.documentElement,t=arguments.length>1?arguments[1]:void 0;jh=!1;var r={};ll.set("nodeMap",new WeakMap),ll.set("selectorMap",r);var n=tf(e,t,null);return n[0]._selectorMap=r,n[0]._hasShadowRoot=jh,n}function Qh(e,t,r){var n=new wp(e,t,r);return Xh(n,ll.get("selectorMap")),n}function ef(e,t,r){var n=[];return e.forEach(function(e){var a=tf(e,r,t);a&&n.push.apply(n,j(a))}),n}function tf(e,t,r){var n,a;e.documentElement&&(e=e.documentElement);var o=e.nodeName.toLowerCase();return Uh(e)?(jh=!0,n=Qh(e,r,t),t="a"+Math.random().toString().substring(2),a=Array.from(e.shadowRoot.childNodes),n.children=ef(a,n,t),[n]):"content"===o&&"function"==typeof e.getDistributedNodes?ef(a=Array.from(e.getDistributedNodes()),r,t):"slot"===o&&"function"==typeof e.assignedNodes?((a=Array.from(e.assignedNodes())).length||(a=function(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}(e)),i.getComputedStyle(e),ef(a,r,t)):e.nodeType===l.ELEMENT_NODE?(n=Qh(e,r,t),a=Array.from(e.childNodes),n.children=ef(a,n,t),[n]):e.nodeType===l.TEXT_NODE?[Qh(e,r)]:void 0}var rf=function(e){return e?e.trim().split("-")[0].toLowerCase():""},nf=function(e){var t={};return t.none=e.none.concat(e.all),t.any=e.any,Object.keys(t).map(function(e){if(t[e].length){var r=c._audit.data.failureSummaries[e];return r&&"function"==typeof r.failureMessage?r.failureMessage(t[e].map(function(e){return e.message||""})):void 0}}).filter(function(e){return void 0!==e}).join("\n\n")};function af(){var e=c._audit.data.incompleteFallbackMessage;return"function"==typeof e&&(e=e()),"string"!=typeof e?"":e}var of=ta.resultGroups;function sf(e,t){var r=c.utils.aggregateResult(e);return of.forEach(function(e){t.resultTypes&&!t.resultTypes.includes(e)&&(r[e]||[]).forEach(function(e){Array.isArray(e.nodes)&&e.nodes.length>0&&(e.nodes=[e.nodes[0]])}),r[e]=(r[e]||[]).map(function(e){return e=Object.assign({},e),Array.isArray(e.nodes)&&e.nodes.length>0&&(e.nodes=e.nodes.map(function(e){if("object"===u(e.node)){var r=lf(e.node,t);Object.assign(e,r)}return delete e.result,delete e.node,function(e,t){["any","all","none"].forEach(function(r){Array.isArray(e[r])&&e[r].filter(function(e){return Array.isArray(e.relatedNodes)}).forEach(function(e){e.relatedNodes=e.relatedNodes.map(function(e){return lf(e,t)})})})}(e,t),e})),of.forEach(function(t){return delete e[t]}),delete e.pageLevel,delete e.result,e})}),r}function lf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=Oh.dqElmToSpec(e,t);var r,n,a,o,i,s={};return c._audit.noHtml?s.html=null:s.html=null!==(r=e.source)&&void 0!==r?r:"Undefined",t.elementRef&&!e.fromFrame&&(s.element=null!==(n=e.element)&&void 0!==n?n:null),(!1!==t.selectors||e.fromFrame)&&(s.target=null!==(a=e.selector)&&void 0!==a?a:[":root"]),t.ancestry&&(s.ancestry=null!==(o=e.ancestry)&&void 0!==o?o:[":root"]),t.xpath&&(s.xpath=null!==(i=e.xpath)&&void 0!==i?i:["/"]),s}var uf=/\$\{\s?data\s?\}/g;function cf(e,t){if("string"==typeof t)return e.replace(uf,t);for(var r in t)if(t.hasOwnProperty(r)){var n=new RegExp("\\${\\s?data\\."+r+"\\s?}","g"),a=void 0===t[r]?"":String(t[r]);e=e.replace(n,a)}return e}var df=function e(t,r){if(t){if(Array.isArray(r))return r.values=r.join(", "),"string"==typeof t.singular&&"string"==typeof t.plural?cf(1===r.length?t.singular:t.plural,r):cf(t,r);if("string"==typeof t)return cf(t,r);if("string"==typeof r)return cf(t[r],r);var n=t.default||af();return r&&r.messageKey&&t[r.messageKey]&&(n=t[r.messageKey]),e(n,r)}},pf=function(e,t,r){var n=c._audit.data.checks[e];if(!n)throw new Error("Cannot get message for unknown check: ".concat(e,"."));if(!n.messages[t])throw new Error('Check "'.concat(e,'"" does not have a "').concat(t,'" message.'));return df(n.messages[t],r)},hf=function(e,t,r){var n=((r.rules&&r.rules[t]||{}).checks||{})[e.id],a=(r.checks||{})[e.id],o=e.enabled,i=e.options;return a&&(a.hasOwnProperty("enabled")&&(o=a.enabled),a.hasOwnProperty("options")&&(i=a.options)),n&&(n.hasOwnProperty("enabled")&&(o=n.enabled),n.hasOwnProperty("options")&&(i=n.options)),{enabled:o,options:i,absolutePaths:r.absolutePaths}};function ff(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t&&"object"===u(t)?t:"object"!==u(r)?{}:{testEngine:{name:"axe-core",version:c.version},testRunner:{name:c._audit.brand},testEnvironment:mf(r),timestamp:(new Date).toISOString(),url:null===(e=r.location)||void 0===e?void 0:e.href}}function mf(e){if(!e.navigator||"object"!==u(e.navigator))return{};var t,r=e.navigator,n=e.innerHeight,a=e.innerWidth,o=(t=e.screen).orientation||t.msOrientation||t.mozOrientation||{},i=o.angle,s=o.type;return{userAgent:r.userAgent,windowWidth:a,windowHeight:n,orientationAngle:i,orientationType:s}}function gf(e,t){var r=t.focusable,n=t.page;return{node:e,include:[],exclude:[],initiator:!1,focusable:r&&vf(e),size:bf(e),page:n}}function vf(e){var t=em(e.getAttribute("tabindex"));return null===t||t>=0}function bf(e){var t=parseInt(e.getAttribute("width"),10),r=parseInt(e.getAttribute("height"),10);if(isNaN(t)||isNaN(r)){var n=e.getBoundingClientRect();t=isNaN(t)?n.width:t,r=isNaN(r)?n.height:r}return{width:t,height:r}}function yf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[];Lf(e)||(e=[e]);for(var r=0;r<e.length;r++){var n=wf(e[r]);n&&t.push(n)}return t}function wf(e){return e instanceof i.Node?e:"string"==typeof e?[e]:(zf(e)?(function(e){xf(Array.isArray(e.fromFrames),"fromFrames property must be an array"),xf(e.fromFrames.every(function(e){return!Bf(e,"fromFrames")}),"Invalid context; fromFrames selector must be appended, rather than nested"),xf(!Bf(e,"fromShadowDom"),"fromFrames and fromShadowDom cannot be used on the same object")}(e),e=e.fromFrames):$f(e)&&(e=[e]),function(e){if(Array.isArray(e)){var t,r=[],n=te(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;if($f(a)&&(Df(a),a=a.fromShadowDom),"string"!=typeof a&&!Ef(a))return;r.push(a)}}catch(e){n.e(e)}finally{n.f()}return r}}(e))}function Df(e){xf(Array.isArray(e.fromShadowDom),"fromShadowDom property must be an array"),xf(e.fromShadowDom.every(function(e){return!Bf(e,"fromFrames")}),"shadow selector must be inside fromFrame instead"),xf(e.fromShadowDom.every(function(e){return!Bf(e,"fromShadowDom")}),"fromShadowDom selector must be appended, rather than nested")}function Ef(e){return Array.isArray(e)&&e.every(function(e){return"string"==typeof e})}function xf(e,t){ba(e,"Invalid context; ".concat(t,"\nSee: https://github.com/dequelabs/axe-core/blob/master/doc/context.md"))}function Af(e,t){for(var r=[],n=0,a=e[t].length;n<a;n++){var o=e[t][n];if(o instanceof i.Node)o.documentElement instanceof i.Node?r.push(e.flatTree[0]):r.push(ul(o));else if(o&&o.length)if(o.length>1)Cf(e,t,o);else{var s=Nm(o[0]);r.push.apply(r,j(s.map(function(e){return ul(e)})))}}return r.filter(function(e){return e})}function Cf(e,t,r){e.frames=e.frames||[],Nm(r.shift()).forEach(function(n){var a=e.frames.find(function(e){return e.node===n});a||(a=gf(n,e),e.frames.push(a)),a[t].push(r)})}function Ff(e,t){var r,n,a,o,s,c=this;e=Fp(e),this.frames=[],this.page="boolean"==typeof(null===(r=e)||void 0===r?void 0:r.page)?e.page:void 0,this.initiator="boolean"!=typeof(null===(n=e)||void 0===n?void 0:n.initiator)||e.initiator,this.focusable="boolean"!=typeof(null===(a=e)||void 0===a?void 0:a.focusable)||e.focusable,this.size="object"===u(null===(o=e)||void 0===o?void 0:o.size)?e.size:{},e=function(e){if(jf(e)){var t=" must be used inside include or exclude. It should not be on the same object.";xf(!Bf(e,"fromFrames"),"fromFrames"+t),xf(!Bf(e,"fromShadowDom"),"fromShadowDom"+t)}else{if(!qf(e))return{include:[l],exclude:[]};e={include:e,exclude:[]}}var r=yf(e.include);return 0===r.length&&r.push(l),{include:r,exclude:yf(e.exclude)}}(e),this.flatTree=null!=t?t:Jh(function(e){for(var t=e.include,r=e.exclude,n=Array.from(t).concat(Array.from(r)),a=0;a<n.length;a++){var o=n[a];if(o instanceof i.Element)return o.ownerDocument.documentElement;if(o instanceof i.Document)return o.documentElement}return l.documentElement}(e)),this.exclude=e.exclude,this.include=e.include,this.include=Af(this,"include"),this.exclude=Af(this,"exclude"),Em("frame, iframe",this).forEach(function(e){Gf(e,c)&&function(e,t){jc(t)&&!Ih(e.frames,"node",t)&&e.frames.push(gf(t,e))}(c,e.actualNode)}),void 0===this.page&&(this.page=1===(s=this.include).length&&s[0].actualNode===l.documentElement,this.frames.forEach(function(e){e.page=c.page})),function(e){if(0===e.include.length&&0===e.frames.length){var t=Fh.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(Yf)}function Tf(e){return!1===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).iframes?[]:new Ff(e).frames.map(function(e){var t=e.node,r=O(e,A);return r.initiator=!1,{frameSelector:nl(t),frameContext:r}})}function kf(e){var t=c._audit.rules.find(function(t){return t.id===e});if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}function Rf(e,t){var r=e.getPropertyValue(t);return["scroll","auto"].includes(r)}var Nf=Ls(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e.scrollWidth>e.clientWidth+t,n=e.scrollHeight>e.clientHeight+t;if(r||n){var a=i.getComputedStyle(e),o=Rf(a,"overflow-x"),s=Rf(a,"overflow-y");return r&&o||n&&s?{elm:e,top:e.scrollTop,left:e.scrollLeft}:void 0}});function Sf(e){return Array.from(e.children||e.childNodes||[]).reduce(function(e,t){var r=Nf(t);return r&&e.push(r),e.concat(Sf(t))},[])}var _f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=e.document.documentElement;return[void 0!==e.pageXOffset?{elm:e,top:e.pageYOffset,left:e.pageXOffset}:{elm:t,top:t.scrollTop,left:t.scrollLeft}].concat(Sf(l.body))};function Of(){return Fp(Ju)}var Pf,If=function(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var r=t.data,n=t.isCrossOrigin,a=void 0!==n&&n,o=t.shadowId,i=t.root,s=t.priority,l=t.isLink,u=void 0!==l&&l,c=e.createElement("style");if(u){var d=e.createTextNode('@import "'.concat(r.href,'"'));c.appendChild(d)}else c.appendChild(e.createTextNode(r));return e.head.appendChild(c),{sheet:c.sheet,isCrossOrigin:a,shadowId:o,root:i,priority:s}}},Mf=function(e){if(Pf&&Pf.parentNode)return void 0===Pf.styleSheet?Pf.appendChild(l.createTextNode(e)):Pf.styleSheet.cssText+=e,Pf;if(e){var t=l.head||l.getElementsByTagName("head")[0];return(Pf=l.createElement("style")).type="text/css",void 0===Pf.styleSheet?Pf.appendChild(l.createTextNode(e)):Pf.styleSheet.cssText=e,t.appendChild(Pf),Pf}};function Lf(e){return!!e&&"object"===u(e)&&"number"==typeof e.length&&e instanceof i.Node==0}function Bf(e,t){return!(!e||"object"!==u(e))&&Object.prototype.hasOwnProperty.call(e,t)}function Vf(e){return jf(e)||qf(e)}function jf(e){return["include","exclude"].some(function(t){return Bf(e,t)&&qf(e[t])})}function qf(e){return"string"==typeof e||e instanceof i.Node||zf(e)||$f(e)||Lf(e)}function zf(e){return Bf(e,"fromFrames")}function $f(e){return Bf(e,"fromShadowDom")}var Uf=function e(t,r){var n=ul(t);if(9===t.nodeType)return!1;if(11===t.nodeType&&(t=t.host),n&&null!==n._isHidden)return n._isHidden;var a=i.getComputedStyle(t,null);if(!a||!t.parentNode||"none"===a.getPropertyValue("display")||!r&&"hidden"===a.getPropertyValue("visibility")||"true"===t.getAttribute("aria-hidden"))return!0;var o=e(t.assignedSlot?t.assignedSlot:t.parentNode,!0);return n&&(n._isHidden=o),o},Hf=function(e){var t,r,n=null!==(t=null===(r=e.props)||void 0===r?void 0:r.nodeName)&&void 0!==t?t:e.nodeName.toLowerCase();return"http://www.w3.org/2000/svg"!==e.namespaceURI&&!!Ju.htmlElms[n]};function Gf(e,t){var r=t.include,n=void 0===r?[]:r,a=t.exclude,o=void 0===a?[]:a,i=n.filter(function(t){return Vh(t,e)});if(0===i.length)return!1;var s=o.filter(function(t){return Vh(t,e)});if(0===s.length)return!0;var l=Wf(i);return Vh(Wf(s),l)}function Wf(e){var t,r,n=te(e);try{for(n.s();!(r=n.n()).done;){var a=r.value;t&&Vh(a,t)||(t=a)}}catch(e){n.e(e)}finally{n.f()}return t}function Kf(e,t){return e.length===t.length&&e.every(function(e,r){var n=t[r];return Array.isArray(e)?e.length===n.length&&e.every(function(e,t){return n[t]===e}):e===n})}var Yf=function(e,t){return(e=e.actualNode||e)===(t=t.actualNode||t)?0:4&e.compareDocumentPosition(t)?-1:1};function Zf(e){return e instanceof aa?{vNode:e,domNode:e.actualNode}:{vNode:ul(e),domNode:e}}var Xf=function(e,t,r,n){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=Array.from(e.cssRules);if(!o)return Promise.resolve();var i=o.filter(function(e){return 3===e.type});if(!i.length)return Promise.resolve({isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId,sheet:e});var s=i.filter(function(e){return e.href}).map(function(e){return e.href}).filter(function(e){return!n.includes(e)}).map(function(e,a){var o=[].concat(j(r),[a]),i=/^https?:\/\/|^\/\//i.test(e);return Qf(e,t,o,n,i)}),l=o.filter(function(e){return 3!==e.type});return l.length?(s.push(Promise.resolve(t.convertDataToStylesheet({data:l.map(function(e){return e.cssText}).join(),isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(s)):Promise.all(s)},Jf=function(e,t,r,n){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(e){try{return!(!e.cssRules&&e.href)}catch(e){return!1}}(e)?Xf(e,t,r,n,a):Qf(e.href,t,r,n,!0)},Qf=function(e,t,r,n,a){return n.push(e),new Promise(function(t,r){var n=new i.XMLHttpRequest;n.open("GET",e),n.timeout=ta.preload.timeout,n.addEventListener("error",r),n.addEventListener("timeout",r),n.addEventListener("loadend",function(e){if(e.loaded&&n.responseText)return t(n.responseText);r(n.responseText)}),n.send()}).then(function(e){var o=t.convertDataToStylesheet({data:e,isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId});return Jf(o.sheet,t,r,n,o.isCrossOrigin)})},em=function(e){if("string"!=typeof e)return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null},tm=function(){function e(){if(i.performance&&i.performance)return i.performance.now()}var t=e(),r=!1;return{start:function(){this.reset(),r=!0,this.mark("mark_axe_start")},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end",!0),this.logMeasures("axe"),this.clearMark("mark_axe_start","mark_axe_end"),r=!1},auditStart:function(){r||this.reset(),this.mark("mark_audit_start")},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end",!0),this.logMeasures(),this.clearMark("mark_audit_start","mark_audit_end")},mark:function(e){var t;null!==(t=i.performance)&&void 0!==t&&t.mark&&i.performance.mark(e)},measure:function(e,t,r){var n,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null!==(n=i.performance)&&void 0!==n&&n.measure){try{i.performance.measure(e,t,r)}catch(e){this._log(e)}a||this.clearMark(t,r)}},logMeasures:function(e){var t,r,n=this,a=function(e){return Array.isArray(e)?e[e.length-1]:e},o=function(e){n._log("Measure "+e.name+" took "+e.duration+"ms")};if(null!==(t=i.performance)&&void 0!==t&&t.getEntriesByType&&null!==(r=i.performance)&&void 0!==r&&r.getEntriesByName){var s=a(i.performance.getEntriesByName("mark_axe_start"))||a(i.performance.getEntriesByName("mark_audit_start"));if(s)for(var l=i.performance.getEntriesByType("measure").filter(function(e){return e.startTime>=s.startTime}),u=0;u<l.length;++u){var c=l[u];if(c.name===e)return void o(c);e||o(c)}else this._log("Axe must be started before using performanceTimer")}},timeElapsed:function(){return e()-t},clearMark:function(){var e;if(null!==(e=i.performance)&&void 0!==e&&e.clearMarks){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];for(var a=0,o=r;a<o.length;a++){var s=o[a];i.performance.clearMarks(s)}}},reset:function(){t=e()},_log:function(e){ra(e)}}}(),rm=tm;function nm(){if(l.elementsFromPoint)return l.elementsFromPoint;if(l.msElementsFromPoint)return l.msElementsFromPoint;var e,t=((e=l.createElement("x")).style.cssText="pointer-events:auto","auto"===e.style.pointerEvents),r=t?"pointer-events":"visibility",n=t?"none":"hidden",a=l.createElement("style");return a.innerHTML=t?"* { pointer-events: all }":"* { visibility: visible }",function(e,t){var o,i,s,u=[],c=[];for(l.head.appendChild(a);(o=l.elementFromPoint(e,t))&&-1===u.indexOf(o);)u.push(o),c.push({value:o.style.getPropertyValue(r),priority:o.style.getPropertyPriority(r)}),o.style.setProperty(r,n,"important");for(u.indexOf(l.documentElement)<u.length-1&&(u.splice(u.indexOf(l.documentElement),1),u.push(l.documentElement)),i=c.length;s=c[--i];)u[i].style.setProperty(r,s.value?s.value:"",s.priority);return l.head.removeChild(a),u}}"function"==typeof i.addEventListener&&(l.elementsFromPoint=nm());var am=function(e,t){return e.concat(t).filter(function(e,t,r){return r.indexOf(e)===t})};function om(e,t,r,n,a){var o=a||{};return o.vNodes=e,o.vNodesIndex=0,o.anyLevel=t,o.thisLevel=r,o.parentShadowId=n,o}var im=function(e,t,r){e=Array.isArray(e)?e:[e];var n=Vp(t);return Wh(e,n,r)||function(e,t,r){for(var n=ll.get("qsa.recycledLocalVariables",function(){return[]}),a=[],o=om(Array.isArray(e)?e:[e],t,null,e[0].shadowId,n.pop()),i=[];o.vNodesIndex<o.vNodes.length;){for(var s,l,u=o.vNodes[o.vNodesIndex++],c=null,d=null,p=((null===(s=o.anyLevel)||void 0===s?void 0:s.length)||0)+((null===(l=o.thisLevel)||void 0===l?void 0:l.length)||0),h=!1,f=0;f<p;f++){var m,g,v,b=f<((null===(m=o.anyLevel)||void 0===m?void 0:m.length)||0)?o.anyLevel[f]:o.thisLevel[f-((null===(g=o.anyLevel)||void 0===g?void 0:g.length)||0)];if((!b[0].id||u.shadowId===o.parentShadowId)&&qp(u,b[0]))if(1===b.length)h||r&&!r(u)||(i.push(u),h=!0);else{var y=b.slice(1);if(!1===[" ",">"].includes(y[0].combinator))throw new Error("axe.utils.querySelectorAll does not support the combinator: "+b[1].combinator);">"===y[0].combinator?(c=c||[]).push(y):(d=d||[]).push(y)}b[0].id&&u.shadowId!==o.parentShadowId||null===(v=o.anyLevel)||void 0===v||!v.includes(b)||(d=d||[]).push(b)}for(u.children&&u.children.length&&(a.push(o),o=om(u.children,d,c,u.shadowId,n.pop()));o.vNodesIndex===o.vNodes.length&&a.length;)n.push(o),o=a.pop()}return i}(e,n,r)},sm=function(e){var t=e.treeRoot,r=function(e){var t=[],r=im(e,"*",function(e){return!t.includes(e.shadowId)&&(t.push(e.shadowId),!0)}).map(function(e){return{shadowId:e.shadowId,rootNode:dl(e.actualNode)}});return am(r,[])}(void 0===t?c._tree[0]:t);if(!r.length)return Promise.resolve();var n=l.implementation.createHTMLDocument("Dynamic document for loading cssom");return function(e,t){var r=[];return e.forEach(function(e,n){var a=e.rootNode,o=e.shadowId,i=function(e,t,r){var n;return n=11===e.nodeType&&t?function(e,t){return Array.from(e.children).filter(um).reduce(function(r,n){var a=n.nodeName.toUpperCase(),o="STYLE"===a?n.textContent:n,i=t({data:o,isLink:"LINK"===a,root:e});return i.sheet&&r.push(i.sheet),r},[])}(e,r):function(e){return Array.from(e.styleSheets).filter(function(e){return!!e.media&&cm(e.media.mediaText)})}(e),function(e){var t=[];return e.filter(function(e){return!e.href||!t.includes(e.href)&&(t.push(e.href),!0)})}(n)}(a,o,t);if(!i)return Promise.all(r);var s=n+1,l={rootNode:a,shadowId:o,convertDataToStylesheet:t,rootIndex:s},u=[],c=Promise.all(i.map(function(e,t){return Jf(e,l,[s,t],u)}));r.push(c)}),Promise.all(r)}(r,If(n)).then(function(e){return lm(e)})};function lm(e){return e.reduce(function(e,t){return Array.isArray(t)?e.concat(lm(t)):e.concat(t)},[])}function um(e){var t=e.nodeName.toUpperCase(),r=e.getAttribute("href"),n=e.getAttribute("rel"),a="LINK"===t&&r&&n&&e.rel.toUpperCase().includes("STYLESHEET");return"STYLE"===t||a&&cm(e.media)}function cm(e){return!e||!e.toUpperCase().includes("PRINT")}var dm=function(e){var t=e.treeRoot,r=void 0===t?c._tree[0]:t,n=im(r,"video[autoplay], audio[autoplay]",function(e){var t=e.actualNode;return!("none"===t.preload&&0===t.readyState&&t.networkState!==t.NETWORK_LOADING||t.hasAttribute("paused")||t.hasAttribute("muted")||(t.hasAttribute("src")?!t.getAttribute("src"):Array.from(t.getElementsByTagName("source")).filter(function(e){return!!e.getAttribute("src")}).length<=0))});return Promise.all(n.map(function(e){var t,r=e.actualNode;return t=r,new Promise(function(e){t.readyState>0&&e(t),t.addEventListener("loadedmetadata",function r(){t.removeEventListener("loadedmetadata",r),e(t)})})}))};function pm(e){var t={cssom:sm,media:dm};return hm(e)?new Promise(function(r,n){var a=fm(e),o=a.assets,i=a.timeout,s=setTimeout(function(){return n(new Error("Preload assets timed out."))},i);Promise.all(o.map(function(r){return t[r](e).then(function(e){return S({},r,e)})})).then(function(e){var t=e.reduce(function(e,t){return V({},e,t)},{});clearTimeout(s),r(t)}).catch(function(e){clearTimeout(s),n(e)})}):Promise.resolve()}function hm(e){return!e||void 0===e.preload||null===e.preload||("boolean"==typeof e.preload?e.preload:(t=e.preload,"object"===u(t)&&Array.isArray(t.assets)));var t}function fm(e){var t=ta.preload,r=t.assets,n=t.timeout,a={assets:r,timeout:n};if(!e.preload)return a;if("boolean"==typeof e.preload)return a;if(!e.preload.assets.every(function(e){return r.includes(e.toLowerCase())}))throw new Error("Requested assets, not supported. Supported assets are: ".concat(r.join(", "),"."));return a.assets=am(e.preload.assets.map(function(e){return e.toLowerCase()}),[]),e.preload.timeout&&"number"==typeof e.preload.timeout&&!isNaN(e.preload.timeout)&&(a.timeout=e.preload.timeout),a}function mm(e){var t=c._audit.data.checks||{},r=c._audit.data.rules||{},n=Ih(c._audit.rules,"id",e.id)||{};e.tags=Fp(n.tags||[]);var a=gm(t,!0,n),o=gm(t,!1,n);e.nodes.forEach(function(e){e.any.forEach(a),e.all.forEach(a),e.none.forEach(o)}),zh(e,Fp(r[e.id]||{}))}function gm(e,t,r){return function(n){var a=e[n.id]||{},o=a.messages||{},i=Object.assign({},a);delete i.messages,r.reviewOnFail||void 0!==n.result?i.message=n.result===t?o.pass:o.fail:("object"!==u(o.incomplete)||Array.isArray(n.data)||(i.message=function(e,t){function r(e){return e.incomplete&&e.incomplete.default?e.incomplete.default:af()}if(!e||!e.missingData)return e&&e.messageKey?t.incomplete[e.messageKey]:r(t);try{var n=t.incomplete[e.missingData[0].reason];if(!n)throw new Error;return n}catch(n){return"string"==typeof e.missingData?t.incomplete[e.missingData]:r(t)}}(n.data,o)),i.message||(i.message=o.incomplete)),"function"!=typeof i.message&&(i.message=df(i.message,n.data)),zh(n,i)}}var vm=function(e,t){return im(e,t)};function bm(e,t){var r,n,a=c._audit&&c._audit.tagExclude?c._audit.tagExclude:[];return t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(r=t.include||[],r=Array.isArray(r)?r:[r],n=t.exclude||[],n=(n=Array.isArray(n)?n:[n]).concat(a.filter(function(e){return-1===r.indexOf(e)}))):(r=Array.isArray(t)?t:[t],n=a.filter(function(e){return-1===r.indexOf(e)})),!!(r.some(function(t){return-1!==e.tags.indexOf(t)})||0===r.length&&!1!==e.enabled)&&n.every(function(t){return-1===e.tags.indexOf(t)})}var ym=function(e,t,r){var n=r.runOnly||{},a=(r.rules||{})[e.id];return!(e.pageLevel&&!t.page)&&("rule"===n.type?-1!==n.values.indexOf(e.id):a&&"boolean"==typeof a.enabled?a.enabled:"tag"===n.type&&n.values?bm(e,n.values):bm(e,[]))};function wm(e,t){if(!t)return e;var r=e.cloneNode(!1),n=Ca(r);if(1===r.nodeType){var a=r.outerHTML;r=ll.get(a,function(){return Dm(r,n,e,t)})}else r=Dm(r,n,e,t);return Array.from(e.childNodes).forEach(function(e){r.appendChild(wm(e,t))}),r}function Dm(e,t,r,n){return t?(e=l.createElement(e.nodeName),Array.from(t).forEach(function(t){(function(e,t,r){return void 0!==r[t]&&(!0===r[t]||Fa(e,r[t]))})(r,t.name,n)||e.setAttribute(t.name,t.value)}),e):e}function Em(e,t){var r,n=[];if(c._selectCache)for(var a=0,o=c._selectCache.length;a<o;a++){var i=c._selectCache[a];if(i.selector===e)return i.result}for(var s=t.include.reduce(function(e,t){return e.length&&Vh(e[e.length-1],t)||e.push(t),e},[]),l=function(e){return e.exclude&&0!==e.exclude.length?function(t){return Gf(t,e)}:null}(t),u=0;u<s.length;u++)r=s[u],n=xm(n,im(r,e,l));return c._selectCache&&c._selectCache.push({selector:e,result:n}),n}function xm(e,t){if(0===e.length)return t;if(e.length<t.length){var r=e;e=t,t=r}for(var n=0,a=t.length;n<a;n++)e.includes(t[n])||e.push(t[n]);return e}function Am(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if("object"!==u(e)||null===e)return{message:String(e)};var r,n={},a=te(ta.serializableErrorProps);try{for(a.s();!(r=a.n()).done;){var o=r.value;["string","number","boolean"].includes(u(e[o]))&&(n[o]=e[o])}}catch(e){a.e(e)}finally{a.f()}return e.cause&&(n.cause=t<10?Am(e.cause,t+1):"..."),n}var Cm=function(e){function t(e){var r,n,a=e.error,o=e.ruleId,i=e.method,s=e.errorNode;return X(this,t),(n=P(this,t)).name=null!==(r=a.name)&&void 0!==r?r:"RuleError",n.message=a.message,n.stack=a.stack,a.cause&&(n.cause=Am(a.cause)),o&&(n.ruleId=o,n.message+=" Skipping ".concat(n.ruleId," rule.")),i&&(n.method=i),s&&(n.errorNode=s),n}return L(t,e),Q(t)}(N(Error)),Fm=Cm,Tm=function(e){e.forEach(function(e){return function(e,t,r){if(e===i)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r}(e.elm,e.top,e.left)})};function km(e){return Rm(Array.isArray(e)?j(e):[e],l)}function Rm(e,t){var r=e.shift(),n=r?t.querySelector(r):null;return 0===e.length?n:null!=n&&n.shadowRoot?Rm(e,n.shadowRoot):null}function Nm(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l,r=Array.isArray(e)?j(e):[e];return 0===e.length?[]:Sm(r,t)}function Sm(e,t){var r,n=Z(r=e)||q(r)||re(r)||Y(),a=n[0],o=n.slice(1),i=t.querySelectorAll(a);if(0===o.length)return Array.from(i);var s,l=[],u=te(i);try{for(u.s();!(s=u.n()).done;){var c=s.value;null!=c&&c.shadowRoot&&l.push.apply(l,j(Sm(o,c.shadowRoot)))}}catch(e){u.e(e)}finally{u.f()}return l}var _m=function(){return["hidden","text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]},Om=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],,[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,,1,,1,1,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,,,1,,1,,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,,,1,1,,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],,[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,,,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],,[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,,,,,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,,,1,,,,,1],[,,1,,,,,,,1,,,1,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],,[,1,,,,,,,,1,1,1,1,1,,1,1,,,,1,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,,1,,1,1,1,,,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,,,1],[,1,,,,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,,,,,1,,,,,1,,,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,1,1,,1,1,,1,1,1,,,1,1],[1,1,,,,,,,1,,,,,1,1,,,,,,,,,,,1],,[,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,,1,,,,,1,,,1,,,,1,,1],[,1,,,,,,,,,1]]];function Pm(e){e=Array.isArray(e)?e:Om;var t=[];return e.forEach(function(e,r){var n=String.fromCharCode(r+96).replace("`","");Array.isArray(e)?t=t.concat(Pm(e).map(function(e){return n+e})):t.push(n)}),t}var Im=function(e){for(var t=Om;e.length<3;)e+="`";for(var r=0;r<=e.length-1;r++)if(!(t=t[e.charCodeAt(r)-96]))return!1;return!0},Mm=function(e){function t(e){var r,n,a,o;return X(this,t),(r=P(this,t))._props=function(e){var t,r,n,a=null!==(t=e.nodeName)&&void 0!==t?t:Bm[e.nodeType],o=null!==(r=null!==(n=e.nodeType)&&void 0!==n?n:Lm[e.nodeName])&&void 0!==r?r:1;ba("number"==typeof o,"nodeType has to be a number, got '".concat(o,"'")),ba("string"==typeof a,"nodeName has to be a string, got '".concat(a,"'"));var i=null;"input"===(a=a.toLowerCase())&&(i=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),_m().includes(i)||(i="text"));var s=V({},e,{nodeType:o,nodeName:a});return i&&(s.type=i),delete s.attributes,Object.freeze(s)}(e),r._attrs=(n=e.attributes,a=void 0===n?{}:n,o={htmlFor:"for",className:"class"},Object.keys(a).reduce(function(e,t){var r=a[t];return ba("object"!==u(r)||null===r,"expects attributes not to be an object, '".concat(t,"' was")),void 0!==r&&(e[o[t]||t]=null!==r?String(r):null),e},{})),r}return L(t,e),Q(t,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(e){var t;return null!==(t=this._attrs[e])&&void 0!==t?t:null}},{key:"hasAttr",value:function(e){return void 0!==this._attrs[e]}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}])}(aa),Lm={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},Bm={};Object.keys(Lm).forEach(function(e){Bm[Lm[e]]=e});var Vm,jm=Mm,qm=function(e,t){if(e=e||function(){},t=t||c.log,!c._audit)throw new Error("No audit configured");var r=c.utils.queue(),n=[];Object.keys(c.plugins).forEach(function(e){r.defer(function(t){var r=function(e){n.push(e),t()};try{c.plugins[e].cleanup(t,r)}catch(e){r(e)}})});var a=c.utils.getFlattenedTree(l.body);c.utils.querySelectorAll(a,"iframe, frame").forEach(function(e){r.defer(function(t,r){return c.utils.sendCommandToFrame(e.actualNode,{command:"cleanup-plugin"},t,r)})}),r.then(function(r){0===n.length?e(r):t(n)}).catch(t)},zm={};function $m(e){return zm.hasOwnProperty(e)}function Um(e){return"string"==typeof e&&zm[e]?zm[e]:"function"==typeof e?e:Vm}var Hm={};pe(Hm,{getAllCells:function(){return Gm},getCellPosition:function(){return oc},getHeaders:function(){return Km},getScope:function(){return ic},isColumnHeader:function(){return sc},isDataCell:function(){return Ym},isDataTable:function(){return Zm},isHeader:function(){return Xm},isRowHeader:function(){return lc},toArray:function(){return ac},toGrid:function(){return ac},traverse:function(){return Qm}});var Gm=function(e){var t,r,n,a,o=[];for(t=0,n=e.rows.length;t<n;t++)for(r=0,a=e.rows[t].cells.length;r<a;r++)o.push(e.rows[t].cells[r]);return o};function Wm(e,t,r){for(var n,a="row"===e?"_rowHeaders":"_colHeaders",o="row"===e?lc:sc,i=r[t.y][t.x],s=i.colSpan-1,l=i.getAttribute("rowspan"),u=(0===parseInt(l)||0===i.rowspan?r.length:i.rowSpan)-1,d=t.y+u,p=t.x+s,h="row"===e?t.y:0,f="row"===e?0:t.x,m=[],g=d;g>=h&&!n;g--)for(var v=p;v>=f;v--){var b=r[g]?r[g][v]:void 0;if(b){var y=c.utils.getNodeFromTree(b);if(y[a]){n=y[a];break}m.push(b)}}return n=(n||[]).concat(m.filter(o)),m.forEach(function(e){c.utils.getNodeFromTree(e)[a]=n}),n}var Km=function(e,t){if(e.getAttribute("headers")){var r=Uu(e,"headers");if(r.filter(function(e){return e}).length)return r}t||(t=ac(ml(e,"table")));var n=oc(e,t),a=Wm("row",n,t),o=Wm("col",n,t);return[].concat(a,o).reverse()},Ym=function(e){if(!e.children.length&&!e.textContent.trim())return!1;var t=tc(e);return t?["cell","gridcell"].includes(t):"TD"===e.nodeName.toUpperCase()},Zm=function(e){var t=tc(e);if(("presentation"===t||"none"===t)&&!Vu(e))return!1;if("true"===e.getAttribute("contenteditable")||ml(e,'[contenteditable="true"]'))return!0;if("grid"===t||"treegrid"===t||"table"===t)return!0;if("landmark"===Bd(t))return!0;if("0"===e.getAttribute("datatable"))return!1;if(e.getAttribute("summary"))return!0;if(e.tHead||e.tFoot||e.caption)return!0;for(var r=0,n=e.children.length;r<n;r++)if("COLGROUP"===e.children[r].nodeName.toUpperCase())return!0;for(var a,o,s=0,l=e.rows.length,u=!1,c=0;c<l;c++)for(var d=0,p=(a=e.rows[c]).cells.length;d<p;d++){if("TH"===(o=a.cells[d]).nodeName.toUpperCase())return!0;if(u||o.offsetWidth===o.clientWidth&&o.offsetHeight===o.clientHeight||(u=!0),o.getAttribute("scope")||o.getAttribute("headers")||o.getAttribute("abbr"))return!0;if(["columnheader","rowheader"].includes(tc(o)))return!0;if(1===o.children.length&&"ABBR"===o.children[0].nodeName.toUpperCase())return!0;s++}if(e.getElementsByTagName("table").length)return!1;if(l<2)return!1;var h,f,m=e.rows[Math.ceil(l/2)];if(1===m.cells.length&&1===m.cells[0].colSpan)return!1;if(m.cells.length>=5)return!0;if(u)return!0;for(var g=0;g<l;g++){if(a=e.rows[g],h&&h!==i.getComputedStyle(a).getPropertyValue("background-color"))return!0;if(h=i.getComputedStyle(a).getPropertyValue("background-color"),f&&f!==i.getComputedStyle(a).getPropertyValue("background-image"))return!0;f=i.getComputedStyle(a).getPropertyValue("background-image")}return l>=20||!(Bl(e).width>.95*Vl(i).width)&&!(s<10)&&!e.querySelector("object, embed, iframe, applet")},Xm=function(e){if(sc(e)||lc(e))return!0;if(e.getAttribute("id")){var t=wa(e.getAttribute("id"));return!!l.querySelector('[headers~="'.concat(t,'"]'))}return!1};function Jm(e,t,r,n){var a,o=r[t.y]?r[t.y][t.x]:void 0;return o?"function"==typeof n&&!0===(a=n(o,t,r))?[o]:((a=Jm(e,{x:t.x+e.x,y:t.y+e.y},r,n)).unshift(o),a):[]}var Qm=function(e,t,r,n){if(Array.isArray(t)&&(n=r,r=t,t={x:0,y:0}),"string"==typeof e)switch(e){case"left":e={x:-1,y:0};break;case"up":e={x:0,y:-1};break;case"right":e={x:1,y:0};break;case"down":e={x:0,y:1}}return Jm(e,{x:t.x+e.x,y:t.y+e.y},r,n)},eg={};pe(eg,{allowedAttr:function(){return tg},arialabelText:function(){return Wu},arialabelledbyText:function(){return Gu},getAccessibleRefs:function(){return ag},getElementUnallowedRoles:function(){return lg},getExplicitRole:function(){return tc},getImplicitRole:function(){return Rc},getOwnedVirtual:function(){return Bc},getRole:function(){return Pc},getRoleType:function(){return Bd},getRolesByType:function(){return cg},getRolesWithNameFromContents:function(){return pg},implicitNodes:function(){return vg},implicitRole:function(){return Rc},isAccessibleRef:function(){return bg},isAriaRoleAllowedOnElement:function(){return og},isComboboxPopup:function(){return yg},isUnsupportedRole:function(){return Qu},isValidRole:function(){return ec},label:function(){return Dg},labelVirtual:function(){return vd},lookupTable:function(){return gg},namedFromContents:function(){return Lc},requiredAttr:function(){return Eg},requiredContext:function(){return xg},requiredOwned:function(){return Ag},validateAttr:function(){return Fg},validateAttrValue:function(){return Cg}});var tg=function(e){var t=Ju.ariaRoles[e],r=j(nc());return t?(t.allowedAttrs&&r.push.apply(r,j(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,j(t.requiredAttrs)),r):r},rg=/^idrefs?$/;function ng(e,t,r){if(e.hasAttribute){if("LABEL"===e.nodeName.toUpperCase()&&e.hasAttribute("for")){var n=e.getAttribute("for");t.has(n)?t.get(n).push(e):t.set(n,[e])}for(var a=0;a<r.length;++a){var o=r[a],i=uc(e.getAttribute(o)||"");if(i){var s,l=te(Hh(i));try{for(l.s();!(s=l.n()).done;){var u=s.value;t.has(u)?t.get(u).push(e):t.set(u,[e])}}catch(e){l.e(e)}finally{l.f()}}}}for(var c=0;c<e.childNodes.length;c++)1===e.childNodes[c].nodeType&&ng(e.childNodes[c],t,r)}var ag=function(e){var t;e=e.actualNode||e;var r=pl(e);r=r.documentElement||r;var n=ll.get("idRefsByRoot",function(){return new Map}),a=n.get(r);return a||(a=new Map,n.set(r,a),ng(r,a,Object.keys(Ju.ariaAttrs).filter(function(e){var t=Ju.ariaAttrs[e].type;return rg.test(t)}))),null!==(t=a.get(e.id))&&void 0!==t?t:[]},og=function(e,t){var r=e instanceof aa?e:ul(e),n=Rc(r),a=kc(r);return Array.isArray(a.allowedRoles)?a.allowedRoles.includes(t):t!==n&&!!a.allowedRoles},ig=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],sg={header:"banner",footer:"contentinfo"},lg=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=Zf(e).vNode;if(!Hf(r))return[];var n=r.props.nodeName,a=Rc(r)||sg[n];return function(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=Hh(e.attr("role").toLowerCase());t=t.concat(r)}return t.filter(function(e){return ec(e)})}(r).filter(function(e){return!function(e,t,r,n){return!(!r||e!==n)||(!ig.includes(e)||Bd(e)===n)&&og(t,e)}(e,r,t,a)})},ug=function(e){return Object.keys(Ju.ariaRoles).filter(function(t){return Ju.ariaRoles[t].type===e})},cg=function(e){return ug(e)},dg=function(){return ll.get("ariaRolesNameFromContent",function(){return Object.keys(Ju.ariaRoles).filter(function(e){return Ju.ariaRoles[e].nameFromContent})})},pg=function(){return dg()},hg=function(e){return null===e},fg=function(e){return null!==e},mg={attributes:{"aria-activedescendant":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-atomic":{type:"boolean",values:["true","false"],unsupported:!1},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"],unsupported:!1},"aria-busy":{type:"boolean",values:["true","false"],unsupported:!1},"aria-checked":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-colcount":{type:"int",unsupported:!1},"aria-colindex":{type:"int",unsupported:!1},"aria-colspan":{type:"int",unsupported:!1},"aria-controls":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],unsupported:!1},"aria-describedby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-describedat":{unsupported:!0,unstandardized:!0},"aria-details":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-disabled":{type:"boolean",values:["true","false"],unsupported:!1},"aria-dropeffect":{type:"nmtokens",values:["copy","move","reference","execute","popup","none"],unsupported:!1},"aria-errormessage":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-flowto":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],unsupported:!1},"aria-hidden":{type:"boolean",values:["true","false"],unsupported:!1},"aria-invalid":{type:"nmtoken",allowEmpty:!0,values:["true","false","spelling","grammar"],unsupported:!1},"aria-keyshortcuts":{type:"string",allowEmpty:!0,unsupported:!1},"aria-label":{type:"string",allowEmpty:!0,unsupported:!1},"aria-labelledby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-level":{type:"int",unsupported:!1},"aria-live":{type:"nmtoken",values:["off","polite","assertive"],unsupported:!1},"aria-modal":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiline":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiselectable":{type:"boolean",values:["true","false"],unsupported:!1},"aria-orientation":{type:"nmtoken",values:["horizontal","vertical"],unsupported:!1},"aria-owns":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-placeholder":{type:"string",allowEmpty:!0,unsupported:!1},"aria-posinset":{type:"int",unsupported:!1},"aria-pressed":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-readonly":{type:"boolean",values:["true","false"],unsupported:!1},"aria-relevant":{type:"nmtokens",values:["additions","removals","text","all"],unsupported:!1},"aria-required":{type:"boolean",values:["true","false"],unsupported:!1},"aria-roledescription":{type:"string",allowEmpty:!0,unsupported:!1},"aria-rowcount":{type:"int",unsupported:!1},"aria-rowindex":{type:"int",unsupported:!1},"aria-rowspan":{type:"int",unsupported:!1},"aria-selected":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-setsize":{type:"int",unsupported:!1},"aria-sort":{type:"nmtoken",values:["ascending","descending","other","none"],unsupported:!1},"aria-valuemax":{type:"decimal",unsupported:!1},"aria-valuemin":{type:"decimal",unsupported:!1},"aria-valuenow":{type:"decimal",unsupported:!1},"aria-valuetext":{type:"string",unsupported:!1}},globalAttributes:["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-dropeffect","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"]};mg.role={alert:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},alertdialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["dialog","section"]},application:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage","aria-activedescendant"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","audio","embed","iframe","object","section","svg","video"]},article:{type:"structure",attributes:{allowed:["aria-expanded","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["article"],unsupported:!1},banner:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["header"],unsupported:!1,allowedElements:["section"]},button:{type:"widget",attributes:{allowed:["aria-expanded","aria-pressed","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["button",'input[type="button"]','input[type="image"]','input[type="reset"]','input[type="submit"]',"summary"],unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:fg}}]},cell:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},checkbox:{type:"widget",attributes:{allowed:["aria-checked","aria-required","aria-readonly","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="checkbox"]'],unsupported:!1,allowedElements:["button"]},columnheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},combobox:{type:"composite",attributes:{allowed:["aria-autocomplete","aria-required","aria-activedescendant","aria-orientation","aria-errormessage"],required:["aria-expanded"]},owned:{all:["listbox","tree","grid","dialog","textbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:"input",properties:{type:["text","search","tel","url","email"]}}]},command:{nameFrom:["author"],type:"abstract",unsupported:!1},complementary:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["aside"],unsupported:!1,allowedElements:["section"]},composite:{nameFrom:["author"],type:"abstract",unsupported:!1},contentinfo:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["footer"],unsupported:!1,allowedElements:["section"]},definition:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dd","dfn"],unsupported:!1},dialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dialog"],unsupported:!1,allowedElements:["section"]},directory:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["ol","ul"]},document:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["body"],unsupported:!1,allowedElements:["article","embed","iframe","object","section","svg"]},"doc-abstract":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-acknowledgments":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-afterword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-appendix":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-backlink":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:fg}}]},"doc-biblioentry":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:["doc-bibliography"],unsupported:!1,allowedElements:["li"]},"doc-bibliography":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-biblioentry"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-biblioref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:fg}}]},"doc-chapter":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-colophon":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-conclusion":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-cover":{type:"img",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-credit":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-credits":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-dedication":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-endnote":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,namefrom:["author"],context:["doc-endnotes"],unsupported:!1,allowedElements:["li"]},"doc-endnotes":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-endnote"]},namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-epigraph":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-epilogue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-errata":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-example":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-footnote":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","footer","header"]},"doc-foreword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-glossary":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:["term","definition"],namefrom:["author"],context:null,unsupported:!1,allowedElements:["dl"]},"doc-glossref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:fg}}]},"doc-index":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-introduction":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-noteref":{type:"link",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:fg}}]},"doc-notice":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pagebreak":{type:"separator",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["hr"]},"doc-pagelist":{type:"navigation",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-part":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-preface":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-prologue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pullquote":{type:"none",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-qna":{type:"section",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-subtitle":{type:"sectionhead",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["h1","h2","h3","h4","h5","h6"]}},"doc-tip":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},"doc-toc":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},feed:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["article"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","aside","section"]},figure:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["figure"],unsupported:!1},form:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["form"],unsupported:!1},grid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-colcount","aria-level","aria-multiselectable","aria-readonly","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,implicit:["table"],unsupported:!1},gridcell:{type:"widget",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-selected","aria-readonly","aria-required","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},group:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["details","optgroup"],unsupported:!1,allowedElements:["dl","figcaption","fieldset","figure","footer","header","ol","ul"]},heading:{type:"structure",attributes:{required:["aria-level"],allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["h1","h2","h3","h4","h5","h6"],unsupported:!1},img:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["img"],unsupported:!1,allowedElements:["embed","iframe","object","svg"]},input:{nameFrom:["author"],type:"abstract",unsupported:!1},landmark:{nameFrom:["author"],type:"abstract",unsupported:!1},link:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["a[href]","area[href]"],unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["image","button"]}}]},list:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{all:["listitem"]},nameFrom:["author"],context:null,implicit:["ol","ul","dl"],unsupported:!1},listbox:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-readonly","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["option"]},nameFrom:["author"],context:null,implicit:["select"],unsupported:!1,allowedElements:["ol","ul"]},listitem:{type:"structure",attributes:{allowed:["aria-level","aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["list"],implicit:["li","dt"],unsupported:!1},log:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},main:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["main"],unsupported:!1,allowedElements:["article","section"]},marquee:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},math:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["math"],unsupported:!1},menu:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,implicit:['menu[type="context"]'],unsupported:!1,allowedElements:["ol","ul"]},menubar:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},menuitem:{type:"widget",attributes:{allowed:["aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="command"]'],unsupported:!1,allowedElements:["button","li",{nodeName:"iput",properties:{type:["image","button"]}},{nodeName:"a",attributes:{href:fg}}]},menuitemcheckbox:{type:"widget",attributes:{allowed:["aria-checked","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="checkbox"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:fg}}]},menuitemradio:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button","radio"]}},{nodeName:"a",attributes:{href:fg}}]},navigation:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["nav"],unsupported:!1,allowedElements:["section"]},none:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:fg}}]},note:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},option:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-checked","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["listbox"],implicit:["option"],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","button"]}},{nodeName:"a",attributes:{href:fg}}]},presentation:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:fg}}]},progressbar:{type:"widget",attributes:{allowed:["aria-valuetext","aria-valuenow","aria-valuemax","aria-valuemin","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["progress"],unsupported:!1},radio:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-required","aria-errormessage","aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button"]}}]},radiogroup:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-required","aria-expanded","aria-readonly","aria-errormessage","aria-orientation"]},owned:{all:["radio"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["ol","ul","fieldset"]}},range:{nameFrom:["author"],type:"abstract",unsupported:!1},region:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["section[aria-label]","section[aria-labelledby]","section[title]"],unsupported:!1,allowedElements:{nodeName:["article","aside"]}},roletype:{type:"abstract",unsupported:!1},row:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-selected","aria-rowindex","aria-errormessage"]},owned:{one:["cell","columnheader","rowheader","gridcell"]},nameFrom:["author","contents"],context:["rowgroup","grid","treegrid","table"],implicit:["tr"],unsupported:!1},rowgroup:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:{all:["row"]},nameFrom:["author","contents"],context:["grid","table","treegrid"],implicit:["tbody","thead","tfoot"],unsupported:!1},rowheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},scrollbar:{type:"widget",attributes:{required:["aria-controls","aria-valuenow"],allowed:["aria-valuetext","aria-orientation","aria-errormessage","aria-valuemax","aria-valuemin"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},search:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["aside","form","section"]}},searchbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="search"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:"text"}}},section:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},sectionhead:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},select:{nameFrom:["author"],type:"abstract",unsupported:!1},separator:{type:"structure",attributes:{allowed:["aria-expanded","aria-orientation","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["hr"],unsupported:!1,allowedElements:["li"]},slider:{type:"widget",attributes:{allowed:["aria-valuetext","aria-orientation","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="range"]'],unsupported:!1},spinbutton:{type:"widget",attributes:{allowed:["aria-valuetext","aria-required","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="number"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:["text","tel"]}}},status:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["output"],unsupported:!1,allowedElements:["section"]},structure:{type:"abstract",unsupported:!1},switch:{type:"widget",attributes:{allowed:["aria-errormessage"],required:["aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:fg}}]},tab:{type:"widget",attributes:{allowed:["aria-selected","aria-expanded","aria-setsize","aria-posinset","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["tablist"],unsupported:!1,allowedElements:[{nodeName:["button","h1","h2","h3","h4","h5","h6","li"]},{nodeName:"input",properties:{type:"button"}},{nodeName:"a",attributes:{href:fg}}]},table:{type:"structure",attributes:{allowed:["aria-colcount","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author","contents"],context:null,implicit:["table"],unsupported:!1},tablist:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-errormessage"]},owned:{all:["tab"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},tabpanel:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},term:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["dt"],unsupported:!1},textbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="text"]','input[type="email"]','input[type="password"]','input[type="tel"]','input[type="url"]',"input:not([type])","textarea"],unsupported:!1},timer:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},toolbar:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['menu[type="toolbar"]'],unsupported:!1,allowedElements:["ol","ul"]},tooltip:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1},tree:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["treeitem"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},treegrid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-readonly","aria-required","aria-rowcount","aria-orientation","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,unsupported:!1},treeitem:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["group","tree"],unsupported:!1,allowedElements:["li",{nodeName:"a",attributes:{href:fg}}]},widget:{type:"abstract",unsupported:!1},window:{nameFrom:["author"],type:"abstract",unsupported:!1}},mg.implicitHtmlRole=hc,mg.elementsAllowedNoRole=[{nodeName:["base","body","caption","col","colgroup","datalist","dd","details","dt","head","html","keygen","label","legend","main","map","math","meta","meter","noscript","optgroup","param","picture","progress","script","source","style","template","textarea","title","track"]},{nodeName:"area",attributes:{href:fg}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:fg}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(e){return e instanceof c.AbstractVirtualNode||(e=c.utils.getNodeFromTree(e)),Number(e.attr("size"))>1},properties:{multiple:!0}},{nodeName:["clippath","cursor","defs","desc","feblend","fecolormatrix","fecomponenttransfer","fecomposite","feconvolvematrix","fediffuselighting","fedisplacementmap","fedistantlight","fedropshadow","feflood","fefunca","fefuncb","fefuncg","fefuncr","fegaussianblur","feimage","femerge","femergenode","femorphology","feoffset","fepointlight","fespecularlighting","fespotlight","fetile","feturbulence","filter","hatch","hatchpath","lineargradient","marker","mask","meshgradient","meshpatch","meshrow","metadata","mpath","pattern","radialgradient","solidcolor","stop","switch","view"]}],mg.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:hg}},{nodeName:"img",attributes:{alt:hg}},{nodeName:["abbr","address","canvas","div","p","pre","blockquote","ins","del","output","span","table","tbody","thead","tfoot","td","em","strong","small","s","cite","q","dfn","abbr","time","code","var","samp","kbd","sub","sup","i","b","u","mark","ruby","rt","rp","bdi","bdo","br","wbr","th","tr"]}],mg.evaluateRoleForElement={A:function(e){var t=e.node,r=e.out;return"http://www.w3.org/2000/svg"===t.namespaceURI||!t.href.length||r},AREA:function(e){return!e.node.href},BUTTON:function(e){var t=e.node,r=e.role,n=e.out;return"menu"===t.getAttribute("type")?"menuitem"===r:n},IMG:function(e){var t=e.node,r=e.role,n=e.out;switch(t.alt){case null:return n;case"":return"presentation"===r||"none"===r;default:return"presentation"!==r&&"none"!==r}},INPUT:function(e){var t=e.node,r=e.role,n=e.out;switch(t.type){case"button":case"image":return n;case"checkbox":return!("button"!==r||!t.hasAttribute("aria-pressed"))||n;case"radio":return"menuitemradio"===r;case"text":return"combobox"===r||"searchbox"===r||"spinbutton"===r;case"tel":return"combobox"===r||"spinbutton"===r;case"url":case"search":case"email":return"combobox"===r;default:return!1}},LI:function(e){var t=e.node,r=e.out;return!c.utils.matchesSelector(t,"ol li, ul li")||r},MENU:function(e){return"context"!==e.node.getAttribute("type")},OPTION:function(e){var t=e.node;return!c.utils.matchesSelector(t,"select > option, datalist > option, optgroup > option")},SELECT:function(e){var t=e.node,r=e.role;return!t.multiple&&t.size<=1&&"menu"===r},SVG:function(e){var t=e.node,r=e.out;return!(!t.parentNode||"http://www.w3.org/2000/svg"!==t.parentNode.namespaceURI)||r}},mg.rolesOfType={widget:["button","checkbox","dialog","gridcell","link","log","marquee","menuitem","menuitemcheckbox","menuitemradio","option","progressbar","radio","scrollbar","searchbox","slider","spinbutton","status","switch","tab","tabpanel","textbox","timer","tooltip","tree","treeitem"]};var gg=mg,vg=function(e){var t=null,r=gg.role[e];return r&&r.implicit&&(t=Fp(r.implicit)),t},bg=function(e){return!!ag(e).length};function yg(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).popupRoles,r=Pc(e);if(null!=t||(t=Ku["aria-haspopup"].values),!t.includes(r))return!1;var n=function(e){for(;e=e.parent;)if(null!==Pc(e,{noPresentational:!0}))return e;return null}(e);if(wg(n))return!0;var a=e.props.id;if(!a)return!1;if(!e.actualNode)throw new Error("Unable to determine combobox popup without an actualNode");var o=dl(e.actualNode).querySelectorAll('[aria-owns~="'.concat(a,'"][role~="combobox"]:not(select),\n [aria-controls~="').concat(a,'"][role~="combobox"]:not(select)'));return Array.from(o).some(wg)}var wg=function(e){return e&&"combobox"===Pc(e)},Dg=function(e){return e=ul(e),vd(e)},Eg=function(e){var t=Ju.ariaRoles[e];return t&&Array.isArray(t.requiredAttrs)?j(t.requiredAttrs):[]},xg=function(e){var t=Ju.ariaRoles[e];return t&&Array.isArray(t.requiredContext)?j(t.requiredContext):null},Ag=function(e){var t=Ju.ariaRoles[e];return t&&Array.isArray(t.requiredOwned)?j(t.requiredOwned):null},Cg=function(e,t){var r,n,a=(e=e instanceof aa?e:ul(e)).attr(t),o=Ju.ariaAttrs[t];if(!o)return!0;if(o.allowEmpty&&(!a||""===a.trim()))return!0;switch(o.type){case"boolean":return["true","false"].includes(a.toLowerCase());case"nmtoken":return"string"==typeof a&&o.values.includes(a.toLowerCase());case"nmtokens":return(n=Hh(a)).reduce(function(e,t){return e&&o.values.includes(t)},0!==n.length);case"idref":try{var i=pl(e.actualNode);return!(!a||!i.getElementById(a))}catch(e){throw new TypeError("Cannot resolve id references for partial DOM")}case"idrefs":return Uu(e,t).some(function(e){return!!e});case"string":return""!==a.trim();case"decimal":return!(!(r=a.match(/^[-+]?([0-9]*)\.?([0-9]*)$/))||!r[1]&&!r[2]);case"int":var s=void 0!==o.minValue?o.minValue:-1/0;return/^[-+]?[0-9]+$/.test(a)&&parseInt(a)>=s}},Fg=function(e){return!!Ju.ariaAttrs[e]},Tg=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],kg=Tg[0],Rg=Tg[1],Ng=Tg[2],Sg=Tg[3];function _g(e){return"caption"===e.props.nodeName}var Og={};pe(Og,{getAriaRolesByType:function(){return ug},getAriaRolesSupportingNameFromContent:function(){return dg},getElementSpec:function(){return kc},getElementsByContentType:function(){return rc},getGlobalAriaAttrs:function(){return nc},implicitHtmlRoles:function(){return hc}});var Pg=["alert","log","status"];function Ig(e,t){var r=e.actualNode;if("button"===Pc(e)||function(e,t){var r=e.actualNode,n=Pc(e),a=(r.getAttribute("aria-live")||"").toLowerCase().trim(),o=ug("landmark");return!(!["assertive","polite"].includes(a)&&!Pg.includes(n))||(!!o.includes(n)||!(!t.regionMatcher||!Tc(e,t.regionMatcher)))}(e,t)||["iframe","frame"].includes(e.props.nodeName)||ap(e.actualNode)&&Su(e.actualNode,"href")||!jc(r)){for(var n=e;n;)n._hasRegionDescendant=!0,n=n.parent;return["iframe","frame"].includes(e.props.nodeName)?[e]:[]}return r!==l.body&&Sd(r,!0)&&!function(e){return["none","presentation"].includes(Pc(e))&&!Rd(e)}(e)?[e]:e.children.filter(function(e){return 1===e.actualNode.nodeType}).map(function(e){return Ig(e,t)}).reduce(function(e,t){return e.concat(t)},[])}function Mg(e){switch(e){case"lighter":return 100;case"normal":return 400;case"bold":return 700;case"bolder":return 900}return e=parseInt(e),isNaN(e)?400:e}function Lg(e){var t=i.getComputedStyle(function(e){for(var t=e,r=e.textContent.trim(),n=r;n===r&&void 0!==t;){var a=-1;if(0===(e=t).children.length)return e;do{a++,n=e.children[a].textContent.trim()}while(""===n&&a+1<e.children.length);t=e.children[a]}return e}(e));return{fontWeight:Mg(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:"italic"===t.getPropertyValue("font-style")}}function Bg(e,t,r){return r.reduce(function(r,n){return r||(!n.size||e.fontSize/n.size>t.fontSize)&&(!n.weight||e.fontWeight-n.weight>t.fontWeight)&&(!n.italic||e.isItalic&&!t.isItalic)},!1)}var Vg=/[;,\s]/,jg=/^[0-9.]+$/,qg={};pe(qg,{aria:function(){return eg},color:function(){return zg},dom:function(){return cl},forms:function(){return Ev},matches:function(){return Tc},math:function(){return Gl},standards:function(){return Og},table:function(){return Hm},text:function(){return $u},utils:function(){return oa}});var zg={};pe(zg,{Color:function(){return ep},centerPointOfRect:function(){return $g},elementHasImage:function(){return Yd},elementIsDistinct:function(){return Hg},filteredRectStack:function(){return Wg},flattenColors:function(){return Zg},flattenShadowColors:function(){return Jg},getBackgroundColor:function(){return mv},getBackgroundStack:function(){return Qg},getContrast:function(){return bv},getForegroundColor:function(){return yv},getOwnBackgroundColor:function(){return rp},getRectStack:function(){return Gg},getStackingContext:function(){return cv},getStrokeColorsFromShadows:function(){return ov},getTextShadowColors:function(){return lv},hasValidContrastRatio:function(){return Dv},incompleteData:function(){return Kd},parseTextShadows:function(){return sv},stackingContextToColor:function(){return dv}});var $g=function(e){if(!(e.left>i.innerWidth||e.top>i.innerHeight))return{x:Math.min(Math.ceil(e.left+e.width/2),i.innerWidth-1),y:Math.min(Math.ceil(e.top+e.height/2),i.innerHeight-1)}};function Ug(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(e){return e.trim().toLowerCase()})}var Hg=function(e,t){var r=i.getComputedStyle(e);if("none"!==r.getPropertyValue("background-image"))return!0;if(["border-bottom","border-top","outline"].reduce(function(e,t){var n=new ep;return n.parseString(r.getPropertyValue(t+"-color")),e||"none"!==r.getPropertyValue(t+"-style")&&parseFloat(r.getPropertyValue(t+"-width"))>0&&0!==n.alpha},!1))return!0;var n=i.getComputedStyle(t);if(Ug(r)[0]!==Ug(n)[0])return!0;var a=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce(function(e,t){return e||r.getPropertyValue(t)!==n.getPropertyValue(t)},!1),o=r.getPropertyValue("text-decoration");return o.split(" ").length<3&&(a=a||o!==n.getPropertyValue("text-decoration")),a},Gg=function(e){var t=Mu(e),r=Cd(e);return!r||r.length<=1?[t]:r.some(function(e){return void 0===e})?null:(r.splice(0,0,t),r)},Wg=function(e){var t=Gg(e);if(t&&1===t.length)return t[0];if(t&&t.length>1){var r,n=t.shift();return t.forEach(function(a,o){if(0!==o){var i=t[o-1],s=t[o];r=i.every(function(e,t){return e===s[t]})||n.includes(e)}}),r?t[0]:(Kd.set("bgColor","elmPartiallyObscuring"),null)}return Kd.set("bgColor","outsideViewport"),null},Kg=["hue","saturation","color","luminosity"],Yg={normal:function(e,t){return t},multiply:function(e,t){return t*e},screen:function(e,t){return e+t-e*t},overlay:function(e,t){return this["hard-light"](t,e)},darken:function(e,t){return Math.min(e,t)},lighten:function(e,t){return Math.max(e,t)},"color-dodge":function(e,t){return 0===e?0:1===t?1:Math.min(1,e/(1-t))},"color-burn":function(e,t){return 1===e?1:0===t?0:1-Math.min(1,(1-e)/t)},"hard-light":function(e,t){return t<=.5?this.multiply(e,2*t):this.screen(e,2*t-1)},"soft-light":function(e,t){return t<=.5?e-(1-2*t)*e*(1-e):e+(2*t-1)*((e<=.25?((16*e-12)*e+4)*e:Math.sqrt(e))-e)},difference:function(e,t){return Math.abs(e-t)},exclusion:function(e,t){return e+t-2*e*t},hue:function(e,t){return t.setSaturation(e.getSaturation()).setLuminosity(e.getLuminosity())},saturation:function(e,t){return e.setSaturation(t.getSaturation()).setLuminosity(e.getLuminosity())},color:function(e,t){return t.setLuminosity(e.getLuminosity())},luminosity:function(e,t){return e.setLuminosity(t.getLuminosity())}};function Zg(e,t){var r,n=function(e,t,r){if(Kg.includes(r))return Yg[r](e,t);var n=new ep;return["r","g","b"].forEach(function(a){n[a]=Yg[r](e[a],t[a])}),n}(t,e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal"),a=Xg(e.red,e.alpha,t.red,t.alpha,255*n.r),o=Xg(e.green,e.alpha,t.green,t.alpha,255*n.g),i=Xg(e.blue,e.alpha,t.blue,t.alpha,255*n.b),s=(r=e.alpha+t.alpha*(1-e.alpha),Math.min(Math.max(0,r),1));if(0===s)return new ep(a,o,i,s);var l=Math.round(a/s),u=Math.round(o/s),c=Math.round(i/s);return new ep(l,u,c,s)}function Xg(e,t,r,n,a){return t*(1-n)*e+t*n*a+(1-t)*n*r}function Jg(e,t){var r=e.alpha,n=(1-r)*t.red+r*e.red,a=(1-r)*t.green+r*e.green,o=(1-r)*t.blue+r*e.blue,i=e.alpha+t.alpha*(1-e.alpha);return new ep(n,a,o,i)}function Qg(e){for(var t=Cd(e).map(function(t){return function(e){var t=e.indexOf(l.body),r=e,n=rp(i.getComputedStyle(l.documentElement));if(t>1&&0===n.alpha&&!Yd(l.documentElement)){t>1&&(r.splice(t,1),r.push(l.body));var a=r.indexOf(l.documentElement);a>0&&(r.splice(a,1),r.push(l.documentElement))}return r}(t=up(t,e))}),r=0;r<t.length;r++){var n=t[r];if(n[0]!==e)return Kd.set("bgColor","bgOverlap"),null;if(0!==r&&!ev(n,t[0]))return Kd.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function ev(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e.length!==t.length)return!1;for(var r=0;r<e.length;++r)if(e[r]!==t[r])return!1;return!0}var tv=.54,rv=.5,nv=1.5,av=["top","right","bottom","left"];function ov(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ignoreEdgeCount,r=void 0!==t&&t,n=function(e){var t,r={},n=te(e);try{for(n.s();!(t=n.n()).done;){var a,o=t.value,i=o.colorStr,s=o.pixels;null!==(a=r[i])&&void 0!==a||(r[i]={top:[],right:[],bottom:[],left:[]});var l=r[i],u=K(s,2),c=u[0],d=u[1];c>rv?l.right.push(c):-c>rv&&l.left.push(-c),d>rv?l.bottom.push(d):-d>rv&&l.top.push(-d)}}catch(e){n.e(e)}finally{n.f()}return r}(e),a=Object.entries(n).map(function(e){var t=K(e,2),r=t[0],n=t[1],a=av.filter(function(e){return 0!==n[e].length}).length;return{colorStr:r,sides:n,edgeCount:a}});return!r&&a.some(function(e){var t=e.edgeCount;return t>1&&t<4})?null:a.map(iv).filter(function(e){return null!==e})}function iv(e){var t=e.colorStr,r=e.sides;if(4!==e.edgeCount)return null;var n=new ep;n.parseString(t);var a=0,o=!0;return av.forEach(function(e){a+=r[e].length/4,o&&(o=r[e].every(function(e){return e>nv}))}),o||(n.alpha=1-Math.pow(tv,a)),n}function sv(e){var t={pixels:[]},r=e.trim(),n=[t];if(!r)return[];for(;r;){var a=r.match(/^[a-z]+(\([^)]+\))?/i)||r.match(/^#[0-9a-f]+/i),o=r.match(/^([0-9.-]+)px/i)||r.match(/^(0)/);if(a)ba(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(a[0],"").trim(),t.colorStr=a[0];else if(o){ba(t.pixels.length<3,"Too many pixel units in text-shadow: ".concat(e)),r=r.replace(o[0],"").trim();var i=parseFloat(("."===o[1][0]?"0":"")+o[1]);t.pixels.push(i)}else{if(","!==r[0])throw new Error("Unable to process text-shadows: ".concat(r));ba(t.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},n.push(t),r=r.substr(1).trim()}}return n.forEach(function(e){var t=e.pixels;2===t.length&&t.push(0)}),n}function lv(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.minRatio,n=t.maxRatio,a=t.ignoreEdgeCount,o=[],s=i.getComputedStyle(e),l=s.getPropertyValue("text-shadow");if("none"===l)return o;var u=s.getPropertyValue("font-size"),c=parseInt(u);ba(!1===isNaN(c),"Unable to determine font-size value ".concat(u));var d,p=[],h=te(sv(l));try{for(h.s();!(d=h.n()).done;){var f=d.value,m=f.colorStr||s.getPropertyValue("color"),g=K(f.pixels,3),v=g[0],b=g[1],y=g[2],w=void 0===y?0:y;if(!(n&&w>=c*n))if(r&&w<c*r)p.push({colorStr:m,pixels:f.pixels});else{if(p.length>0){var D=ov(p,{ignoreEdgeCount:a});if(null===D)return null;o.push.apply(o,j(D)),p.splice(0,p.length)}var E=uv({colorStr:m,offsetX:v,offsetY:b,blurRadius:w,fontSize:c});o.push(E)}}}catch(e){h.e(e)}finally{h.f()}if(p.length>0){var x=ov(p,{ignoreEdgeCount:a});if(null===x)return null;o.push.apply(o,j(x))}return o}function uv(e){var t=e.colorStr,r=e.offsetX,n=e.offsetY,a=e.blurRadius,o=e.fontSize;if(r>a||n>a)return new ep(0,0,0,0);var i=new ep;return i.parseString(t),i.alpha*=function(e,t){return 0===e?1:.185/(e/t+.4)}(a,o),i}function cv(e,t){var r=ul(e);if(r._stackingContext)return r._stackingContext;var n=[],a=new Map;return(t=null!=t?t:Qg(e)).forEach(function(e){var t,r=ul(e),o=function(e){var t=new ep;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}(r),i=r._stackingOrder.filter(function(e){return!!e.vNode});i.forEach(function(e,t){var r,o=e.vNode,s=null===(r=i[t-1])||void 0===r?void 0:r.vNode,l=fv(a,o,s);0!==t||a.get(o)||n.unshift(l),a.set(o,l)});var s=null===(t=i[i.length-1])||void 0===t?void 0:t.vNode,l=fv(a,r,s);i.length||n.unshift(l),l.bgColor=o}),r._stackingContext=n,n}function dv(e){var t;if(null===(t=e.descendants)||void 0===t||!t.length){var r=e.bgColor;return r.alpha*=e.opacity,{color:r,blendMode:e.blendMode}}var n=Zg(e.descendants.reduce(pv,hv()),e.bgColor,e.descendants[0].blendMode);return n.alpha*=e.opacity,{color:n,blendMode:e.blendMode}}function pv(e,t){var r;return r=e instanceof ep?e:dv(e).color,Zg(dv(t).color,r,t.blendMode)}function hv(e,t){var r,n;return{vNode:e,ancestor:t,opacity:parseFloat(null!==(r=null==e?void 0:e.getComputedStylePropertyValue("opacity"))&&void 0!==r?r:1),bgColor:new ep(0,0,0,0),blendMode:(n=null==e?void 0:e.getComputedStylePropertyValue("mix-blend-mode"),n||void 0),descendants:[]}}function fv(e,t,r){var n,a=e.get(r),o=null!==(n=e.get(t))&&void 0!==n?n:hv(t,a);return a&&r!==t&&!a.descendants.includes(o)&&a.descendants.unshift(o),o}function mv(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.1,n=ul(e),a=n._cache.getBackgroundColor;if(a)return t.push.apply(t,j(a.bgElms)),Kd.set("bgColor",a.incompleteData),a.bgColor;var o=function(e,t,r){var n,a,o=Qg(e);if(!o)return null;var s=xd(e),u=null!==(n=lv(e,{minRatio:r,ignoreEdgeCount:!0}))&&void 0!==n?n:[];u.length&&(u=[{color:u.reduce(Jg)}]);for(var c=0;c<o.length;c++){var d=o[c],p=i.getComputedStyle(d);if(Yd(d,p))return t.push(d),null;var h=rp(p);if(0!==h.alpha){if("inline"!==p.getPropertyValue("display")&&!gv(d,s))return t.push(d),Kd.set("bgColor","elmPartiallyObscured"),null;if(t.push(d),1===h.alpha)break}}u=cv(e,o).map(dv).concat(u);var f=function(e,t){var r=[];if(!t){var n=l.documentElement,a=l.body,o=i.getComputedStyle(n),s=i.getComputedStyle(a),u=rp(o),c=rp(s),d=0!==c.alpha&&gv(a,e.getBoundingClientRect());(0!==c.alpha&&0===u.alpha||d&&1!==c.alpha)&&r.unshift({color:c,blendMode:vv(s.getPropertyValue("mix-blend-mode"))}),0!==u.alpha&&(!d||d&&1!==c.alpha)&&r.unshift({color:u,blendMode:vv(o.getPropertyValue("mix-blend-mode"))})}return r}(e,o.includes(l.body));if((a=u).unshift.apply(a,j(f)),0===u.length)return new ep(255,255,255,1);var m=u.reduce(function(e,t){return Zg(t.color,e.color instanceof ep?e.color:e,t.blendMode)});return Zg(m.color instanceof ep?m.color:m,new ep(255,255,255,1))}(e,t,r);return n._cache.getBackgroundColor={bgColor:o,bgElms:t,incompleteData:Kd.get("bgColor")},o}function gv(e,t){t=Array.isArray(t)?t:[t];var r=e.getBoundingClientRect(),n=r.right,a=r.bottom,o=i.getComputedStyle(e).getPropertyValue("overflow");return(["scroll","auto"].includes(o)||e instanceof i.HTMLHtmlElement)&&(n=r.left+e.scrollWidth,a=r.top+e.scrollHeight),t.every(function(e){return e.top>=r.top&&e.bottom<=a&&e.left>=r.left&&e.right<=n})}function vv(e){return e||void 0}var bv=function(e,t){if(!t||!e)return null;t.alpha<1&&(t=Zg(t,e));var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)};function yv(e,t,r){for(var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=i.getComputedStyle(e),o=[function(){return function(e,t){var r=t.textStrokeEmMin,n=void 0===r?0:r,a=parseFloat(e.getPropertyValue("-webkit-text-stroke-width"));if(0===a)return null;var o=e.getPropertyValue("font-size"),i=a/parseFloat(o);if(isNaN(i)||i<n)return null;var s=e.getPropertyValue("-webkit-text-stroke-color");return(new ep).parseString(s)}(a,n)},function(){return function(e){return(new ep).parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}(a)},function(){return lv(e,{minRatio:0})}],s=[],l=0,u=o;l<u.length;l++){var c=(0,u[l])();if(c&&(s=s.concat(c),1===c.alpha))break}var d=s.reduce(function(e,t){return Zg(e,t)});if(null!=r||(r=mv(e,[])),null===r){var p=Kd.get("bgColor");return Kd.set("fgColor",p),null}var h=cv(e);return Zg(function(e,t,r){for(;t;){var n;if(1===t.opacity&&t.ancestor)t=t.ancestor;else{e.alpha*=t.opacity;var a=(null===(n=t.ancestor)||void 0===n?void 0:n.descendants)||r;1!==t.opacity&&(a=a.slice(0,a.indexOf(t)));var o=a.map(dv);if(o.length){var i=o.reduce(function(e,t){return Zg(t.color,e.color instanceof ep?e.color:e)},{color:new ep(0,0,0,0),blendMode:"normal"});e=Zg(e,i),t=t.ancestor}else t=t.ancestor}}return e}(d,wv(h,e),h),new ep(255,255,255,1))}function wv(e,t){var r,n=te(e);try{for(n.s();!(r=n.n()).done;){var a,o=r.value;if((null===(a=o.vNode)||void 0===a?void 0:a.actualNode)===t)return o;var i=wv(o.descendants,t);if(i)return i}}catch(e){n.e(e)}finally{n.f()}}var Dv=function(e,t,r,n){var a=bv(e,t),o=n&&Math.ceil(72*r)/96<14||!n&&Math.ceil(72*r)/96<18?4.5:3;return{isValid:a>o,contrastRatio:a,expectedContrastRatio:o}},Ev={};pe(Ev,{isAriaCombobox:function(){return Kc},isAriaListbox:function(){return Wc},isAriaRange:function(){return Zc},isAriaTextbox:function(){return Gc},isDisabled:function(){return Av},isNativeSelect:function(){return Hc},isNativeTextbox:function(){return Uc}});var xv=["fieldset","button","select","input","textarea"],Av=function e(t){var r=t._isDisabled;if("boolean"==typeof r)return r;var n=t.props.nodeName,a=t.attr("aria-disabled");return r=!(!xv.includes(n)||!t.hasAttr("disabled"))||(a?"true"===a.toLowerCase():!!t.parent&&e(t.parent)),t._isDisabled=r,r};function Cv(e,t){if(!e||!t)return!1;var r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertyNames(t);return r.length===n.length&&r.every(function(r){var n=e[r],a=t[r];return u(n)===u(a)&&("object"===u(n)||"object"===u(a)?Cv(n,a):n===a)})}function Fv(e){var t=Pc(e),r=t&&t.includes("heading"),n=e.attr("aria-level"),a=parseInt(n,10),o=K(e.props.nodeName.match(/h(\d)/)||[],2)[1];return r?o&&!n?parseInt(o,10):isNaN(a)||a<1?o?parseInt(o,10):2:a||-1:-1}function Tv(e,t){var r,n=null===(r=t.data)||void 0===r?void 0:r.headingOrder,a=Rv(t.node.ancestry,1);if(!n)return e;var o=n.map(function(e){return function(e,t){return V({},e,{ancestry:t.concat(e.ancestry)})}(e,a)}),i=function(e,t){for(;t.length;){var r=kv(e,t);if(-1!==r)return r;t=Rv(t,1)}return-1}(e,a);return-1===i?e.push.apply(e,j(o)):e.splice.apply(e,[i,0].concat(j(o))),e}function kv(e,t){return e.findIndex(function(e){return Kf(e.ancestry,t)})}function Rv(e,t){return e.slice(0,e.length-t)}function Nv(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return r.top>=n.top&&r.left>=n.left&&r.bottom<=n.bottom&&r.right<=n.right}function Sv(e){return e.getComputedStylePropertyValue("pointer-events")}function _v(e){return{width:Math.round(10*e.width)/10,height:Math.round(10*e.height)/10}}function Ov(e,t){return Vh(e,t)&&!ju(t)}function Pv(e){return e.map(function(e){return e.actualNode})}function Iv(e){return Math.round(10*e)/10}function Mv(e,t,r){var n=r.validRoles,a=void 0===n?[]:n,o=r.validNodeNames,i=void 0===o?[]:o,s=e.props,l=s.nodeName,u=s.nodeType,c=s.nodeValue,d=t?"div > ":"";if(3===u&&""!==c.trim())return d+"#text";if(1!==u||!jc(e))return!1;var p=tc(e);return p?!a.includes(p)&&d+"[role=".concat(p,"]"):!i.includes(l)&&d+l}function Lv(e){return"div"===e.props.nodeName&&null===tc(e)}function Bv(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.map(function(e){return{vChild:e,nested:t}})}function Vv(e){return""!==(e||"").trim()}function jv(e){var t=hd(e,{emoji:!0,nonBmp:!0,punctuations:!0});return uc(t)}function qv(e){if(!e.children){if(1===e.props.nodeType)throw new Error("Cannot determine children");return[]}var t=[];return e.children.forEach(function(e){"widget"===Bd(e)&&Vu(e)?t.push(e):t.push.apply(t,j(qv(e)))}),t}function zv(e){var t=em(e.attr("tabindex"));return null!==t&&t<0}function $v(e){if(ju(e))return!0;if(!e.children){if(1===e.props.nodeType)throw new Error("Cannot determine children");return!1}return e.children.some(function(e){return $v(e)})}var Uv=["block","list-item","table","flex","grid","inline-block"];function Hv(e){var t=i.getComputedStyle(e).getPropertyValue("display");return-1!==Uv.indexOf(t)||"table-"===t.substr(0,6)}function Gv(e,t){var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}var Wv=["block","list-item","table","flex","grid","inline-block"];function Kv(e){var t=i.getComputedStyle(e).getPropertyValue("display");return-1!==Wv.indexOf(t)||"table-"===t.substr(0,6)}var Yv=Ls(function(e,t){var r=i.getComputedStyle(e,t),n=function(e,t){return r.getPropertyValue(e)===t};if(n("content","none")||n("display","none")||n("visibility","hidden")||!1===n("position","absolute"))return 0;if(0===rp(r).alpha&&n("background-image","none"))return 0;var a=Zv(r.getPropertyValue("width")),o=Zv(r.getPropertyValue("height"));return"px"!==a.unit||"px"!==o.unit?0===a.value||0===o.value?0:1/0:a.value*o.value});function Zv(e){var t=K(e.match(/^([0-9.]+)([a-z]+)$/i)||[],3),r=t[1],n=void 0===r?"":r,a=t[2],o=void 0===a?"":a;return{value:parseFloat(n),unit:o.toLowerCase()}}var Xv={ARTICLE:!0,ASIDE:!0,NAV:!0,SECTION:!0},Jv={alert:!0,alertdialog:!0,application:!0,article:!0,banner:!1,complementary:!0,contentinfo:!0,dialog:!0,form:!0,log:!0,main:!0,navigation:!0,region:!0,search:!1,status:!0,tabpanel:!0};function Qv(e,t,r,n){var a=tc(e);if(r||(r=xg(a)),!r)return null;for(var o=r.includes("group"),i=n?e:e.parent;i;){var s=Pc(i,{noPresentational:!0});if(s){if("group"!==s||!o)return r.includes(s)?null:r;t.includes(a)&&r.push(a),r=r.filter(function(e){return"group"!==e}),i=i.parent}else i=i.parent}return r}function eb(e){var t=e.vNode;return 3===t.props.nodeType?t.props.nodeValue.trim().length>0:Nd(t,!1,!0)}var tb=Ls(function(e){if(e){var t=Pc(e,{noPresentational:!0,chromium:!0});return t?Bd(t):tb(e.parent)}});function rb(e){var t,r,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).invalidTableRowAttrs,a=arguments.length>2?arguments[2]:void 0,o=null!==(t=null==n||null===(r=n.filter)||void 0===r?void 0:r.call(n,function(e){return a.hasAttr(e)}))&&void 0!==t?t:[];if(0===o.length)return!0;var i=function(e){if(e.parent)return zp(e,'table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]')}(a),s=i&&Pc(i);if(!s||"treegrid"===s)return!0;var l="row".concat(o.length>1?"Plural":"Singular");return this.data({messageKey:l,invalidAttrs:o,ownerRole:s}),!1}function nb(e,t,r){var n,a=r.props,o=a.nodeName,i=a.type,s=(n=r.attr("aria-checked"))?(n=n.toLowerCase(),["mixed","true"].includes(n)?n:"false"):"";if("input"!==o||"checkbox"!==i||!s)return!0;var l,u=(l=r).props.indeterminate?"mixed":l.props.checked?"true":"false";return s===u||(this.data({messageKey:"checkbox",checkState:u}),!1)}var ab={row:rb,checkbox:nb};function ob(e,t,r){return"aria-required"===e&&"false"===t||!("aria-multiline"!==e||"false"!==t||!r.hasAttr("contenteditable"))}var ib=function(e,t){try{return"svg"===t.props.nodeName||!!zp(t,"svg")}catch(e){return!1}},sb=[function(e,t){return lb(t)},function(e,t){return function(e){return"area"!==e.props.nodeName}(t)},function(e,t){return!ib(0,t)},function(e,t){return Vu(t)},function(e,t){return ju(t)||!ub(t)},function(e){return!zd(e,{noLengthCompare:!0})}];function lb(e){return"widget"===Bd(e)}var ub=Ls(function e(t){return!(null==t||!t.parent)&&(!(!lb(t.parent)||!ju(t.parent))||e(t.parent))}),cb=function(e,t){var r=tc(t);return!(r&&!["none","presentation"].includes(r)&&!(Yu[r]||{}).accessibleNameRequired&&!Vu(t))};function db(e){var t;if(null==e||null===(t=e.ownerDocument)||void 0===t||!t.createRange)return!0;var r=e.ownerDocument.createRange();return r.setStart(e,0),r.setEnd(e,e.childNodes.length),0===r.getClientRects().length}var pb=function(e,t,r){return r.initiator},hb={emoji:!0,nonBmp:!1,punctuations:!0};function fb(e){return!e||"true"!==e.getAttribute("aria-hidden")&&fb(Ml(e))}var mb={"abstractrole-evaluate":function(e,t,r){var n=Hh(r.attr("role")).filter(function(e){return"abstract"===Bd(e)});return n.length>0&&(this.data(n),!0)},"accesskeys-after":function(e){var t={};return e.filter(function(e){if(!e.data)return!1;var r=e.data.toUpperCase();return t[r]?(t[r].relatedNodes.push(e.relatedNodes[0]),!1):(t[r]=e,e.relatedNodes=[],!0)}).map(function(e){return e.result=!!e.relatedNodes.length,e})},"accesskeys-evaluate":function(e,t,r){return Ol(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),!0},"alt-space-value-evaluate":function(e,t,r){var n=r.attr("alt");return"string"==typeof n&&/^\s+$/.test(n)},"aria-allowed-attr-evaluate":function(e,t,r){var n=[],a=Pc(r),o=tg(a);Array.isArray(t[a])&&(o=am(t[a].concat(o)));var i,s=te(r.attrNames);try{for(s.s();!(i=s.n()).done;){var l=i.value;!Fg(l)||o.includes(l)||ob(l,r.attr(l),r)||n.push(l)}}catch(e){s.e(e)}finally{s.f()}return!n.length||(this.data(n.map(function(e){return e+'="'+r.attr(e)+'"'})),!(a||Hf(r)||Vu(r))&&void 0)},"aria-allowed-attr-matches":function(e,t){var r=/^aria-/,n=t.attrNames;if(n.length)for(var a=0,o=n.length;a<o;a++)if(r.test(n[a]))return!0;return!1},"aria-allowed-role-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=t.allowImplicit,a=void 0===n||n,o=t.ignoredTags,i=void 0===o?[]:o,s=r.props.nodeName;if(i.map(function(e){return e.toLowerCase()}).includes(s))return!0;var l=lg(r,a);if(l.length){if(this.data(l),!jc(r))return;return!1}return!0},"aria-allowed-role-matches":function(e,t){return null!==tc(t,{dpub:!0,fallback:!0})},"aria-busy-evaluate":function(e,t,r){return"true"===r.attr("aria-busy")},"aria-conditional-attr-evaluate":function(e,t,r){var n=Pc(r);return!ab[n]||ab[n].call(this,e,t,r)},"aria-conditional-checkbox-attr-evaluate":nb,"aria-conditional-row-attr-evaluate":rb,"aria-errormessage-evaluate":function(e,t,r){t=Array.isArray(t)?t:[];var n=r.attr("aria-errormessage"),a=r.hasAttr("aria-errormessage"),o=r.attr("aria-invalid");return!r.hasAttr("aria-invalid")||"false"===o||-1!==t.indexOf(n)||!a||(this.data(Hh(n)),function(e){if(""===e.trim())return Ju.ariaAttrs["aria-errormessage"].allowEmpty;var t;try{t=e&&Uu(r,"aria-errormessage")[0]}catch(t){return void this.data({messageKey:"idrefs",values:Hh(e)})}return t?jc(t)?"alert"===tc(t)||"assertive"===t.getAttribute("aria-live")||"polite"===t.getAttribute("aria-live")||Hh(r.attr("aria-describedby")).indexOf(e)>-1:(this.data({messageKey:"hidden",values:Hh(e)}),!1):void 0}.call(this,n))},"aria-has-attr-matches":function(e,t){var r=/^aria-/;return t.attrNames.some(function(e){return r.test(e)})},"aria-hidden-body-evaluate":function(e,t,r){return"true"!==r.attr("aria-hidden")},"aria-hidden-focus-matches":function(e){return fb(Ml(e))},"aria-label-evaluate":function(e,t,r){return!!uc(Wu(r))},"aria-labelledby-evaluate":function(e,t,r){try{return!!uc(Gu(r))}catch(e){return}},"aria-level-evaluate":function(e,t,r){var n=r.attr("aria-level");if(!(parseInt(n,10)>6))return!0},"aria-prohibited-attr-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=(null==t?void 0:t.elementsAllowedAriaLabel)||[],a=r.props.nodeName,o=Pc(r,{chromium:!0,fallback:!0}),i=function(e,t,r,n){var a=Ju.ariaRoles[t];return a?a.prohibitedAttrs||[]:t||n.includes(r)||"widget"===tb(e)?[]:["aria-label","aria-labelledby"]}(r,o,a,n).filter(function(e){return!!r.attrNames.includes(e)&&""!==uc(r.attr(e))});if(0===i.length)return!1;var s=null!==o?"hasRole":"noRole";s+=i.length>1?"Plural":"Singular",this.data({role:o,nodeName:a,messageKey:s,prohibited:i});var l=rd(r,{subtreeDescendant:!0});return""===uc(l)||void 0},"aria-required-attr-evaluate":function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=tc(n),o=n.attrNames,i=Eg(a);if(Array.isArray(r[a])&&(i=am(r[a],i)),!a||!o.length||!i.length)return!0;if(function(e,t){return"separator"===t&&!Vu(e)}(n,a)||function(e,t){return"combobox"===t&&"false"===e.attr("aria-expanded")}(n,a))return!0;if("slider"===a&&null!==(t=n.attr("aria-valuetext"))&&void 0!==t&&t.trim())return!0;var s=kc(n),l=i.filter(function(e){return!n.attr(e)&&!function(e,t){var r;return void 0!==(null===(r=e.implicitAttrs)||void 0===r?void 0:r[t])}(s,e)});return!l.length||(this.data(l),!1)},"aria-required-children-evaluate":function(e,t,r){var n=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],a=tc(r,{dpub:!0}),o=Ag(a);if(null===o)return!0;var i=function(e,t){for(var r,n=[],a=Bc(e),o=function(){if(3===r.props.nodeType&&n.push({vNode:r,role:null}),1!==r.props.nodeType||!jc(r))return 1;var e=Pc(r,{noPresentational:!0}),o=function(e){return nc().find(function(t){return e.hasAttr(t)})}(r),i=!!o||Vu(r);if(!e&&!i||["group","rowgroup"].includes(e)&&t.some(function(t){return t===e}))a.push.apply(a,j(r.children));else if(e||i){var s=o||"tabindex";n.push({role:e,attr:s,vNode:r})}};r=a.shift();)o();return n}(r,o),s=i.filter(function(e){var t=e.role;return 1===e.vNode.props.nodeType&&!o.includes(t)});return s.length?(this.relatedNodes(s.map(function(e){return e.vNode})),this.data({messageKey:"unallowed",values:s.map(function(e){return function(e,t){var r=e.props,n=r.nodeName;if(3===r.nodeType)return"#text";var a=tc(e,{dpub:!0});return a?"[role=".concat(a,"]"):t?n+"[".concat(t,"]"):n}(e.vNode,e.attr)}).filter(function(e,t,r){return r.indexOf(e)===t}).join(", ")}),!1):!!function(e,t){return t.some(function(t){var r=t.role;return r&&e.includes(r)})}(o,i)||("true"===r.attr("aria-busy")?(this.data({messageKey:"aria-busy"}),!0):(this.data(o),!(!n.includes(a)||i.some(eb))&&void 0))},"aria-required-children-matches":function(e,t){var r=tc(t,{dpub:!0});return!!Ag(r)},"aria-required-parent-evaluate":function(e,t,r){var n=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],a=Qv(r,n);if(!a)return!0;var o=function(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var n=wa(e.getAttribute("id"));(r=pl(e).querySelector("[aria-owns~=".concat(n,"]")))&&t.push(r)}e=e.parentElement}return t.length?t:null}(e);if(o)for(var i=0,s=o.length;i<s;i++)if(!(a=Qv(ul(o[i]),n,a,!0)))return!0;return this.data(a),!1},"aria-required-parent-matches":function(e,t){var r=tc(t);return!!xg(r)},"aria-roledescription-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Pc(arguments.length>2?arguments[2]:void 0);return!!(t.supportedRoles||[]).includes(r)||!(!r||"presentation"===r||"none"===r)&&void 0},"aria-unsupported-attr-evaluate":function(e,t,r){var n=r.attrNames.filter(function(t){var r=Ju.ariaAttrs[t];if(!Fg(t))return!1;var n=r.unsupported;return"object"!==u(n)?!!n:!Tc(e,n.exceptions)});return!!n.length&&(this.data(n),!0)},"aria-valid-attr-evaluate":function(e,t,r){t=Array.isArray(t.value)?t.value:[];var n=[],a=/^aria-/;return r.attrNames.forEach(function(e){-1===t.indexOf(e)&&a.test(e)&&!Fg(e)&&n.push(e)}),!n.length||(this.data(n),!1)},"aria-valid-attr-value-evaluate":function(e,t,r){t=Array.isArray(t.value)?t.value:[];var n="",a="",o=[],i=/^aria-/,s=["aria-errormessage"],l={"aria-controls":function(){var e=!1===["false",null].includes(r.attr("aria-haspopup"));return e&&(n='aria-controls="'.concat(r.attr("aria-controls"),'"'),a="controlsWithinPopup"),"false"!==r.attr("aria-expanded")&&"false"!==r.attr("aria-selected")&&!1===e},"aria-current":function(e){e||(n='aria-current="'.concat(r.attr("aria-current"),'"'),a="ariaCurrent")},"aria-owns":function(){return"false"!==r.attr("aria-expanded")},"aria-describedby":function(e){e||(n='aria-describedby="'.concat(r.attr("aria-describedby"),'"'),a=c._tree&&c._tree[0]._hasShadowRoot?"noIdShadow":"noId")},"aria-labelledby":function(e){e||(n='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),a=c._tree&&c._tree[0]._hasShadowRoot?"noIdShadow":"noId")}};return r.attrNames.forEach(function(e){if(!s.includes(e)&&!t.includes(e)&&i.test(e)){var u,c=r.attr(e);try{u=Cg(r,e)}catch(t){return n="".concat(e,'="').concat(c,'"'),void(a="idrefs")}l[e]&&!l[e](u)||u||(""!==c||function(e){var t;return"string"===(null===(t=Ju.ariaAttrs[e])||void 0===t?void 0:t.type)}(e)?o.push("".concat(e,'="').concat(c,'"')):(n=e,a="empty"))}}),o.length?(this.data(o),!1):!n||void this.data({messageKey:a,needsReview:n})},"attr-non-space-content-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(!t.attribute||"string"!=typeof t.attribute)throw new TypeError("attr-non-space-content requires options.attribute to be a string");if(!r.hasAttr(t.attribute))return this.data({messageKey:"noAttr"}),!1;var n=r.attr(t.attribute);return!!uc(n)||(this.data({messageKey:"emptyAttr"}),!1)},"autocomplete-appropriate-evaluate":function(e,t,r){if("input"!==r.props.nodeName)return!0;var n=["text","search","number","tel"],a=["text","search","url"],o={bday:["text","search","date"],email:["text","search","email"],username:["text","search","email"],"street-address":["text"],tel:["text","search","tel"],"tel-country-code":["text","search","tel"],"tel-national":["text","search","tel"],"tel-area-code":["text","search","tel"],"tel-local":["text","search","tel"],"tel-local-prefix":["text","search","tel"],"tel-local-suffix":["text","search","tel"],"tel-extension":["text","search","tel"],"cc-number":n,"cc-exp":["text","search","month","tel"],"cc-exp-month":n,"cc-exp-year":n,"cc-csc":n,"transaction-amount":n,"bday-day":n,"bday-month":n,"bday-year":n,"new-password":["text","search","password"],"current-password":["text","search","password"],url:a,photo:a,impp:a};"object"===u(t)&&Object.keys(t).forEach(function(e){o[e]||(o[e]=[]),o[e]=o[e].concat(t[e])});var i=r.attr("autocomplete").split(/\s+/g).map(function(e){return e.toLowerCase()}),s=i[i.length-1];if(md.stateTerms.includes(s))return!0;var l=o[s],c=r.hasAttr("type")?uc(r.attr("type")).toLowerCase():"text";return c=_m().includes(c)?c:"text",void 0===l?"text"===c:l.includes(c)},"autocomplete-matches":function(e,t){var r=t.attr("autocomplete");if(!r||""===uc(r))return!1;var n=t.props.nodeName;if(!1===["textarea","input","select"].includes(n))return!1;var a=t.attr("aria-readonly")||"false";if(t.hasAttr("readonly")||"true"===a.toLowerCase())return!1;if("input"===n&&["submit","reset","button","hidden"].includes(t.props.type))return!1;var o=t.attr("aria-disabled")||"false";if(t.hasAttr("disabled")||"true"===o.toLowerCase())return!1;var i=tc(t),s=em(t.attr("tabindex"));if(s<0&&t.hasAttr("role")){var l=Ju.ariaRoles[i];if(void 0===l||"widget"!==l.type)return!1}return!(s<0&&t.actualNode&&!zl(t)&&!jc(t))},"autocomplete-valid-evaluate":function(e,t,r){var n=r.attr("autocomplete")||"";return gd(n,t)},"avoid-inline-spacing-evaluate":function(e,t){var r=t.cssProperties.filter(function(t){if("important"===e.style.getPropertyPriority(t))return t});return!(r.length>0&&(this.data(r),1))},"braille-label-equivalent-evaluate":function(e,t,r){var n;if(!(null!==(n=r.attr("aria-braillelabel"))&&void 0!==n?n:"").trim())return!0;try{return""!==uc(dd(r))}catch(e){return}},"braille-roledescription-equivalent-evaluate":function(e,t,r){var n,a=null!==(n=r.attr("aria-brailleroledescription"))&&void 0!==n?n:"";if(""===uc(a))return!0;var o=r.attr("aria-roledescription");return"string"!=typeof o?(this.data({messageKey:"noRoleDescription"}),!1):""!==uc(o)||(this.data({messageKey:"emptyRoleDescription"}),!1)},"bypass-matches":function(e,t,r){return!pb(0,0,r)||!!e.querySelector("a[href]")},"caption-evaluate":function(e,t,r){return!vm(r,"track").some(function(e){return"captions"===(e.attr("kind")||"").toLowerCase()})&&void 0},"caption-faked-evaluate":function(e){var t=ac(e),r=t[0];return t.length<=1||r.length<=1||e.rows.length<=1||r.reduce(function(e,t,n){return e||t!==r[n+1]&&void 0!==r[n+1]},!1)},"color-contrast-evaluate":function(e,t,r){var n=t.ignoreUnicode,a=t.ignoreLength,o=t.ignorePseudo,s=t.boldValue,l=t.boldTextPt,u=t.largeTextPt,c=t.contrastRatio,d=t.shadowOutlineEmMax,p=t.pseudoSizeThreshold;if(!zl(e))return this.data({messageKey:"hidden"}),!0;var h=zc(r,!1,!0);if(n&&function(e){var t={nonBmp:!0},r=ud(e,t),n=""===uc(hd(e,t));return r&&n}(h))this.data({messageKey:"nonBmp"});else{var f=i.getComputedStyle(e),m=parseFloat(f.getPropertyValue("font-size")),g=f.getPropertyValue("font-weight"),v=parseFloat(g)>=s||"bold"===g,b=Math.ceil(72*m)/96,y=v&&b<l||!v&&b<u?c.normal:c.large,w=y.expected,D=y.minThreshold,E=y.maxThreshold,x=function(e,t){var r=t.pseudoSizeThreshold,n=void 0===r?.25:r,a=t.ignorePseudo;if(!(void 0!==a&&a)){var o=e.boundingClientRect,i=o.width*o.height*n;do{if(Yv(e.actualNode,":before")+Yv(e.actualNode,":after")>i)return e}while(e=e.parent)}}(r,{ignorePseudo:o,pseudoSizeThreshold:p});if(x)return this.data({fontSize:"".concat((72*m/96).toFixed(1),"pt (").concat(m,"px)"),fontWeight:v?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:w+":1"}),void this.relatedNodes(x.actualNode);var A=lv(e,{minRatio:.001,maxRatio:d});if(null!==A){var C=[],F=mv(e,C,d),T=yv(e,!1,F,t),k=null,R=null,N=null;if(0===A.length)k=bv(F,T);else if(T&&F){N=[].concat(j(A),[F]).reduce(Jg);var S=bv(F,T),_=bv(F,N),O=bv(N,T);(k=Math.max(S,_,O))!==S&&(R=_>O?"shadowOnBgColor":"fgOnShadowColor")}var P=k>w;if("number"==typeof D&&("number"!=typeof k||k<D)||"number"==typeof E&&("number"!=typeof k||k>E))return this.data({contrastRatio:k}),!0;var I,M=Math.floor(100*k)/100;null===F?I=Kd.get("bgColor"):P||(I=R);var L=1===M,B=1===h.length;return L?I=Kd.set("bgColor","equalRatio"):P||!B||a||(I="shortTextContent"),this.data({fgColor:T?T.toHexString():void 0,bgColor:F?F.toHexString():void 0,contrastRatio:M,fontSize:"".concat((72*m/96).toFixed(1),"pt (").concat(m,"px)"),fontWeight:v?"bold":"normal",messageKey:I,expectedContrastRatio:w+":1",shadowColor:N?N.toHexString():void 0}),null===T||null===F||L||B&&!a&&!P?(I=null,Kd.clear(),void this.relatedNodes(C)):(P||this.relatedNodes(C),P)}this.data({messageKey:"complexTextShadows"})}},"color-contrast-matches":function(e,t){var r=t.props,n=r.nodeName,a=r.type;if("option"===n)return!1;if("select"===n&&!e.options.length)return!1;if("input"===n&&["hidden","range","color","checkbox","radio","image"].includes(a))return!1;if(Av(t)||xu(t))return!1;if(["input","select","textarea"].includes(n)){var o=i.getComputedStyle(e),s=parseInt(o.getPropertyValue("text-indent"),10);if(s){var u=e.getBoundingClientRect();if(u={top:u.top,bottom:u.bottom,left:u.left+s,right:u.right+s},!vp(u,e))return!1}return!0}var c=fl(t,"label");if("label"===n||c){var d=c||e,p=c?ul(c):t;if(d.htmlFor){var h=pl(d).getElementById(d.htmlFor),f=h&&ul(h);if(f&&Av(f))return!1}var m=vm(p,'input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea')[0];if(m&&Av(m))return!1}for(var g=[],v=t;v;){if(v.props.id){var b=ag(v).filter(function(e){return Hh(e.getAttribute("aria-labelledby")||"").includes(v.props.id)}).map(function(e){return ul(e)});g.push.apply(g,j(b))}v=v.parent}if(g.length>0&&g.every(Av))return!1;if(!function(e){var t=zc(e,!1,!0);return""!==t&&""!==hd(t,hb)&&e.children.some(function(e){return"#text"===e.props.nodeName&&!cd(e)})}(t))return!1;if(!parseFloat(t.getComputedStylePropertyValue("font-size")))return!1;for(var y=l.createRange(),w=t.children,D=0;D<w.length;D++){var E=w[D];3===E.actualNode.nodeType&&""!==uc(E.actualNode.nodeValue)&&y.selectNodeContents(E.actualNode)}var x=Array.from(y.getClientRects()),A=bl(t);return x.some(function(t){var r=vp(t,e);if(!A.length)return r;var n=A.some(function(e){return gl(t,e.boundingClientRect)});return r&&n})},"css-orientation-lock-evaluate":function(e,t,r,n){var a=(n||{}).cssom,o=void 0===a?void 0:a,i=(t||{}).degreeThreshold,s=void 0===i?0:i;if(o&&o.length){for(var l=!1,u=[],c=o.reduce(function(e,t){var r=t.sheet,n=t.root,a=t.shadowId||"topDocument";if(e[a]||(e[a]={root:n,rules:[]}),!r||!r.cssRules)return e;var o=Array.from(r.cssRules);return e[a].rules=e[a].rules.concat(o),e},{}),d=function(){var e=h[p],t=c[e],r=t.root,n=t.rules.filter(f);if(!n.length)return 1;n.forEach(function(e){var t=e.cssRules;Array.from(t).forEach(function(e){var t=function(e){var t=e.selectorText,r=e.style;if(!t||r.length<=0)return!1;var n=r.transform||r.webkitTransform||r.msTransform||!1;if(!n&&!r.rotate)return!1;var a=function(e){if(!e)return 0;var t=e.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!t)return 0;var r=K(t,3);return m(r[1],r[2])}(n),o=a+m("rotate",r.rotate);return!!o&&(o=Math.abs(o),!(Math.abs(o-180)%180<=s)&&Math.abs(o-90)%90<=s)}(e);if(t&&"HTML"!==e.selectorText.toUpperCase()){var n=Array.from(r.querySelectorAll(e.selectorText))||[];u=u.concat(n)}l=l||t})})},p=0,h=Object.keys(c);p<h.length;p++)d();return!l||(u.length&&this.relatedNodes(u),!1)}function f(e){var t=e.type,r=e.cssText;return 4===t&&(/orientation:\s*landscape/i.test(r)||/orientation:\s*portrait/i.test(r))}function m(e,t){switch(e){case"rotate":case"rotateZ":return g(t);case"rotate3d":var r=K(t.split(",").map(function(e){return e.trim()}),4),n=r[2],a=r[3];if(0===parseInt(n))return;return g(a);case"matrix":case"matrix3d":return function(e){var t=e.split(",");if(t.length<=6){var r=K(t,2),n=r[0],a=r[1];return v(Math.atan2(parseFloat(a),parseFloat(n)))}var o=parseFloat(t[8]),i=Math.asin(o),s=Math.cos(i);return v(Math.acos(parseFloat(t[0])/s))}(t);default:return 0}}function g(e){var t=K(e.match(/(deg|grad|rad|turn)/)||[],1)[0];if(!t)return 0;var r,n,a=parseFloat(e.replace(t,""));switch(t){case"rad":return v(a);case"grad":return n=a,(n%=400)<0&&(n+=400),Math.round(n/400*360);case"turn":return r=a,Math.round(360/(1/r));default:return parseInt(a)}}function v(e){return Math.round(e*(180/Math.PI))}},"data-table-large-matches":function(e){if(Zm(e)){var t=ac(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return!1},"data-table-matches":function(e){return Zm(e)},"deprecatedrole-evaluate":function(e,t,r){var n=Pc(r,{dpub:!0,fallback:!0}),a=Ju.ariaRoles[n];return!(null==a||!a.deprecated||(this.data(n),0))},"dlitem-evaluate":function(e){var t=Ml(e),r=t.nodeName.toUpperCase(),n=tc(t);return"DIV"===r&&["presentation","none",null].includes(n)&&(r=(t=Ml(t)).nodeName.toUpperCase(),n=tc(t)),"DL"===r&&!(n&&!["presentation","none","list"].includes(n))},"doc-has-title-evaluate":function(){var e=l.title;return!!uc(e)},"duplicate-id-active-matches":function(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(wa(t),'"]'),n=Array.from(pl(e).querySelectorAll(r));return!bg(e)&&n.some(Vu)},"duplicate-id-after":function(e){var t=[];return e.filter(function(e){return-1===t.indexOf(e.data)&&(t.push(e.data),!0)})},"duplicate-id-aria-matches":function(e){return bg(e)},"duplicate-id-evaluate":function(e){var t=e.getAttribute("id").trim();if(!t)return!0;var r=pl(e),n=Array.from(r.querySelectorAll('[id="'.concat(wa(t),'"]'))).filter(function(t){return t!==e});return n.length&&this.relatedNodes(n),this.data(t),0===n.length},"duplicate-id-misc-matches":function(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(wa(t),'"]'),n=Array.from(pl(e).querySelectorAll(r));return!bg(e)&&n.every(function(e){return!Vu(e)})},"duplicate-img-label-evaluate":function(e,t,r){if(["none","presentation"].includes(Pc(r)))return!1;var n=zp(r,t.parentSelector);if(!n)return!1;var a=zc(n,!0).toLowerCase();return""!==a&&a===dd(r).toLowerCase()},"exists-evaluate":function(){},"explicit-evaluate":function(e,t,r){var n=this;if(!r.attr("id"))return!1;if(r.actualNode){var a=pl(r.actualNode),o=wa(r.attr("id")),i=Array.from(a.querySelectorAll('label[for="'.concat(o,'"]')));if(this.relatedNodes(i),!i.length)return!1;try{return i.some(function(e){if(zl(e)){var t=uc(Hu(e,{inControlContext:!0,startNode:r}));return n.data({explicitLabel:t}),!!t}return!0})}catch(e){return}}},"fallbackrole-evaluate":function(e,t,r){var n=Hh(r.attr("role"));return!(n.length<=1)&&(!function(e,t){return!Rc(e)&&2===t.length&&t.includes("none")&&t.includes("presentation")}(r,n)||void 0)},"focusable-content-evaluate":function(e,t,r){var n=r.tabbableElements;return!!n&&n.filter(function(e){return e!==r}).length>0},"focusable-disabled-evaluate":function(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return!0;var o=a.filter(function(e){return n.includes(e.props.nodeName)});return this.relatedNodes(o.map(function(e){return e.actualNode})),!(0!==o.length&&!$d())||!!o.every(function(e){var t=e.getComputedStylePropertyValue("pointer-events"),r=parseInt(e.getComputedStylePropertyValue("width")),n=parseInt(e.getComputedStylePropertyValue("height"));return e.actualNode.onfocus||(0===r||0===n)&&"none"===t})&&void 0},"focusable-element-evaluate":function(e,t,r){return!(!r.hasAttr("contenteditable")||!function e(t){var n=t.attr("contenteditable");if("true"===n||""===n)return!0;if("false"===n)return!1;var a=zp(r.parent,"[contenteditable]");return!!a&&e(a)}(r))||ju(r)},"focusable-modal-open-evaluate":function(e,t,r){var n=r.tabbableElements.map(function(e){return e.actualNode});return!n||!n.length||!$d()||void this.relatedNodes(n)},"focusable-no-name-evaluate":function(e,t,r){if(!ju(r))return!1;try{return!dd(r)}catch(e){return}},"focusable-not-tabbable-evaluate":function(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return!0;var o=a.filter(function(e){return!n.includes(e.props.nodeName)});return this.relatedNodes(o.map(function(e){return e.actualNode})),!(0!==o.length&&!$d())||!!o.every(function(e){var t=e.getComputedStylePropertyValue("pointer-events"),r=parseInt(e.getComputedStylePropertyValue("width")),n=parseInt(e.getComputedStylePropertyValue("height"));return e.actualNode.onfocus||(0===r||0===n)&&"none"===t})&&void 0},"frame-focusable-content-evaluate":function(e,t,r){if(r.children)try{return!r.children.some(function(e){return $v(e)})}catch(e){return}},"frame-focusable-content-matches":function(e,t,r){var n,a;return!r.initiator&&!r.focusable&&(null===(n=r.size)||void 0===n?void 0:n.width)*(null===(a=r.size)||void 0===a?void 0:a.height)>1},"frame-tested-after":function(e){var t={};return e.filter(function(e){if("html"!==e.node.ancestry[e.node.ancestry.length-1]){var r=e.node.ancestry.flat(1/0).join(" > ");return t[r]=e,!0}var n=e.node.ancestry.slice(0,e.node.ancestry.length-1).flat(1/0).join(" > ");return t[n]&&(t[n].result=!0),!1})},"frame-tested-evaluate":function(e,t){return!t.isViolation&&void 0},"frame-title-has-text-matches":function(e){var t=e.getAttribute("title");return!!uc(t)},"has-alt-evaluate":function(e,t,r){var n=r.props.nodeName;return!!["img","input","area"].includes(n)&&r.hasAttr("alt")},"has-descendant-after":function(e){return e.some(function(e){return!0===e.result})&&e.forEach(function(e){e.result=!0}),e},"has-descendant-evaluate":function(e,t,r){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("has-descendant requires options.selector to be a string");if(t.passForModal&&$d())return!0;var n=im(r,t.selector,function(e){return jc(e)});return this.relatedNodes(n.map(function(e){return e.actualNode})),n.length>0},"has-global-aria-attribute-evaluate":function(e,t,r){var n=nc().filter(function(e){return r.hasAttr(e)});return this.data(n),n.length>0},"has-implicit-chromium-role-matches":function(e,t){return null!==Rc(t,{chromium:!0})},"has-lang-evaluate":function(e,t,r){var n=void 0!==l&&Bs(l);return t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&Vv(r.attr("xml:lang"))&&!Vv(r.attr("lang"))&&!n?(this.data({messageKey:"noXHTML"}),!1):!!t.attributes.some(function(e){return Vv(r.attr(e))})||(this.data({messageKey:"noLang"}),!1)},"has-text-content-evaluate":function(e,t,r){try{return""!==uc(rd(r))}catch(e){return}},"has-widget-role-evaluate":function(e,t,r){var n=tc(r);if(null===n)return!1;var a=Bd(n);return"widget"===a||"composite"===a},"heading-matches":function(e,t){return"heading"===Pc(t)},"heading-order-after":function(e){var t=function(e){return(e=j(e)).sort(function(e,t){var r=e.node,n=t.node;return r.ancestry.length-n.ancestry.length}),e.reduce(Tv,[]).filter(function(e){return-1!==e.level})}(e);return e.forEach(function(e){e.result=function(e,t){var r,n,a,o,i=kv(t,e.node.ancestry),s=null!==(r=null===(n=t[i])||void 0===n?void 0:n.level)&&void 0!==r?r:-1,l=null!==(a=null===(o=t[i-1])||void 0===o?void 0:o.level)&&void 0!==a?a:-1;return 0===i||(-1!==s?s-l<=1:void 0)}(e,t)}),e},"heading-order-evaluate":function(){var e=ll.get("headingOrder");if(e)return!0;var t=im(c._tree[0],"h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",jc);return e=t.map(function(e){return{ancestry:[nl(e.actualNode)],level:Fv(e)}}),this.data({headingOrder:e}),ll.set("headingOrder",t),!0},"help-same-as-label-evaluate":function(e,t,r){var n=yd(r),a=e.getAttribute("title");return!!n&&(a||(a="",e.getAttribute("aria-describedby")&&(a=Uu(e,"aria-describedby").map(function(e){return e?Hu(e):""}).join(""))),uc(a)===uc(n))},"hidden-content-evaluate":function(e,t,r){if(!["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"].includes(e.nodeName.toUpperCase())&&Nd(r)){var n=i.getComputedStyle(e);if("none"===n.getPropertyValue("display"))return;if("hidden"===n.getPropertyValue("visibility")){var a=Ml(e),o=a&&i.getComputedStyle(a);if(!o||"hidden"!==o.getPropertyValue("visibility"))return}}return!0},"hidden-explicit-label-evaluate":function(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var n=pl(e),a=wa(e.getAttribute("id")),o=n.querySelector('label[for="'.concat(a,'"]'));if(o&&!jc(o)){var i;try{i=dd(r).trim()}catch(e){return}return""===i}}return!1},"html-namespace-matches":function(e,t){return!ib(0,t)},"html5-scope-evaluate":function(e){return!Ld(l)||"TH"===e.nodeName.toUpperCase()},"identical-links-same-purpose-after":function(e){if(e.length<2)return e;for(var t=e.filter(function(e){return void 0!==e.result}),r=[],n={},a=function(e){var a,o=t[e],i=o.data,s=i.name,l=i.urlProps;if(n[s])return 1;var u=t.filter(function(t,r){return t.data.name===s&&r!==e}),c=u.every(function(e){return Cv(e.data.urlProps,l)});u.length&&!c&&(o.result=void 0),o.relatedNodes=[],(a=o.relatedNodes).push.apply(a,j(u.map(function(e){return e.relatedNodes[0]}))),n[s]=u,r.push(o)},o=0;o<t.length;o++)a(o);return r},"identical-links-same-purpose-evaluate":function(e,t,r){var n=$u.accessibleTextVirtual(r),a=$u.sanitize($u.removeUnicode(n,{emoji:!0,nonBmp:!0,punctuations:!0})).toLowerCase();if(a){var o={name:a,urlProps:cl.urlPropsFromAttribute(e,"href")};return this.data(o),this.relatedNodes([e]),!0}},"identical-links-same-purpose-matches":function(e,t){if(!dd(t))return!1;var r=Pc(e);return!r||"link"===r},"implicit-evaluate":function(e,t,r){try{var n=zp(r,"label");if(n){var a=uc(dd(n,{inControlContext:!0,startNode:r}));return n.actualNode&&this.relatedNodes([n.actualNode]),this.data({implicitLabel:a}),!!a}return!1}catch(e){return}},"inline-style-property-evaluate":function(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.minValue,o=t.maxValue,s=t.normalValue,l=void 0===s?0:s,u=t.noImportant,c=t.multiLineOnly;if(!u&&"important"!==e.style.getPropertyPriority(r)||c&&!Ud(e))return!0;var d={};"number"==typeof a&&(d.minValue=a),"number"==typeof o&&(d.maxValue=o);var p=e.style.getPropertyValue(r);if(["inherit","unset","revert","revert-layer"].includes(p))return this.data(V({value:p},d)),!0;var h=function(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.normalValue,o=i.getComputedStyle(e),s=o.getPropertyValue(r);if("normal"===s)return a;var l=parseFloat(s);if(n)return l;var u=parseFloat(o.getPropertyValue("font-size")),c=Math.round(l/u*100)/100;return isNaN(c)?s:c}(e,{absoluteValues:n,cssProperty:r,normalValue:l});return this.data(V({value:h},d)),"number"==typeof h?("number"!=typeof a||h>=a)&&("number"!=typeof o||h<=o):void 0},"inserted-into-focus-order-matches":function(e){return Od(e)},"internal-link-present-evaluate":function(e,t,r){return vm(r,"a[href]").some(function(e){return/^#[^/!]/.test(e.attr("href"))})},"invalid-children-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=[],a=[];if(r.children){for(var o=Bv(r.children);o.length;){var i,s=o.shift(),l=s.vChild,u=s.nested;if(t.divGroups&&!u&&Lv(l)){if(!l.children)return;var c=Bv(l.children,!0);o.push.apply(o,j(c))}else{var d=Mv(l,u,t);d&&(a.includes(d)||a.push(d),1===(null==l||null===(i=l.actualNode)||void 0===i?void 0:i.nodeType)&&n.push(l.actualNode))}}return 0!==a.length&&(this.data({values:a.join(", ")}),this.relatedNodes(n),!0)}},"invalidrole-evaluate":function(e,t,r){var n=Hh(r.attr("role"));return!!n.every(function(e){return!ec(e.toLowerCase(),{allowAbstract:!0})})&&(this.data(n),!0)},"is-element-focusable-evaluate":function(e,t,r){return Vu(r)},"is-initiator-matches":pb,"is-on-screen-evaluate":function(e){return zl(e)},"is-visible-matches":function(e){return zl(e)},"is-visible-on-screen-matches":function(e,t){return zl(t)},"label-content-name-mismatch-evaluate":function(e,t,r){var n,a,o,i,s=null==t?void 0:t.pixelThreshold,l=null!==(n=null==t?void 0:t.occurrenceThreshold)&&void 0!==n?n:null==t?void 0:t.occuranceThreshold,u=Hu(e).toLowerCase(),c=uc(rd(r,{subtreeDescendant:!0,ignoreIconLigature:!0,pixelThreshold:s,occurrenceThreshold:l})).toLowerCase();return!c||(fd(u)<1||fd(c)<1?void 0:(a=c,o=jv(u),i=jv(a),!(!o||!i)&&o.includes(i)))},"label-content-name-mismatch-matches":function(e,t){var r=Pc(e);return!!(r&&ug("widget").includes(r)&&dg().includes(r)&&(uc(Wu(t))||uc(Gu(e)))&&uc(zc(t)))},"label-matches":function(e,t){if("input"!==t.props.nodeName||!1===t.hasAttr("type"))return!0;var r=t.attr("type").toLowerCase();return!1===["hidden","image","button","submit","reset"].includes(r)},"landmark-has-body-context-matches":function(e,t){return e.hasAttribute("role")||!fl(t,"article, aside, main, nav, section")},"landmark-is-top-level-evaluate":function(e){var t=ug("landmark"),r=Ml(e),n=Pc(e);for(this.data({role:n});r;){var a=tc(r);if(a||"FORM"===r.nodeName.toUpperCase()||(a=Rc(r)),a&&t.includes(a)&&("main"!==a||"complementary"!==n))return!1;r=Ml(r)}return!0},"landmark-is-unique-after":function(e){var t=[];return e.filter(function(e){var r=t.find(function(t){return e.data.role===t.data.role&&e.data.accessibleText===t.data.accessibleText});return r?(r.result=!1,r.relatedNodes.push(e.relatedNodes[0]),!1):(t.push(e),e.relatedNodes=[],!0)})},"landmark-is-unique-evaluate":function(e,t,r){var n=Pc(e),a=dd(r);return a=a?a.toLowerCase():null,this.data({role:n,accessibleText:a}),this.relatedNodes([e]),!0},"landmark-unique-matches":function(e,t){return function(e){var t=ug("landmark"),r=Pc(e);if(!r)return!1;var n=e.props.nodeName;return"section"===n||"form"===n?!!dd(e):t.indexOf(r)>=0||"region"===r}(t)&&jc(t)},"layout-table-matches":function(e){return!Zm(e)&&!Vu(e)},"link-in-text-block-evaluate":function(e,t){var r=t.requiredContrastRatio,n=t.allowSameColor;if(Kv(e))return!1;for(var a=Ml(e);a&&1===a.nodeType&&!Kv(a);)a=Ml(a);if(a){this.relatedNodes([a]);var o=yv(e),i=yv(a),s=mv(e),l=mv(a),u=o&&i?Gv(o,i):void 0;if(u&&(u=Math.floor(100*u)/100),u&&u>=r)return!0;var c=s&&l?Gv(s,l):void 0;if(c&&(c=Math.floor(100*c)/100),c&&c>=r)return!0;if(!c){var d,p=null!==(d=Kd.get("bgColor"))&&void 0!==d?d:"bgContrast";return this.data({messageKey:p}),void Kd.clear()}if(u)return!(!n||1!==u||1!==c)||(1===u&&c>1?(this.data({messageKey:"bgContrast",contrastRatio:c,requiredContrastRatio:r,nodeBackgroundColor:s?s.toHexString():void 0,parentBackgroundColor:l?l.toHexString():void 0}),!1):(this.data({messageKey:"fgContrast",contrastRatio:u,requiredContrastRatio:r,nodeColor:o?o.toHexString():void 0,parentColor:i?i.toHexString():void 0}),!1))}},"link-in-text-block-matches":function(e){var t=uc(e.innerText),r=tc(e);return(!r||"link"===r)&&!!t&&!!zl(e)&&zd(e)},"link-in-text-block-style-evaluate":function(e){if(Hv(e))return!1;for(var t=Ml(e);t&&1===t.nodeType&&!Hv(t);)t=Ml(t);if(t){if(this.relatedNodes([t]),Hg(e,t))return!0;if(!function(e){for(var t=0,r=["before","after"];t<r.length;t++){var n=r[t];if("none"!==i.getComputedStyle(e,":".concat(n)).getPropertyValue("content"))return!0}return!1}(e))return!1;this.data({messageKey:"pseudoContent"})}},"listitem-evaluate":function(e,t,r){var n=r.parent;if(n){var a=n.props.nodeName,o=tc(n);return!!["presentation","none","list"].includes(o)||(o&&ec(o)?(this.data({messageKey:"roleNotValid"}),!1):["ul","ol","menu"].includes(a))}},"matches-definition-evaluate":function(e,t,r){return Tc(r,t.matcher)},"meta-refresh-evaluate":function(e,t,r){var n=t||{},a=n.minDelay,o=n.maxDelay,i=K((r.attr("content")||"").trim().split(Vg),1)[0];if(!i.match(jg))return!0;var s=parseFloat(i);return this.data({redirectDelay:s}),"number"==typeof a&&s<=t.minDelay||"number"==typeof o&&s>t.maxDelay},"meta-viewport-scale-evaluate":function(e,t,r){var n=t||{},a=n.scaleMinimum,o=void 0===a?2:a,i=n.lowerBound,s=void 0!==i&&i,l=r.attr("content")||"";if(!l)return!0;var u=l.split(/[;,]/).reduce(function(e,t){var r=t.trim();if(!r)return e;var n=K(r.split("="),2),a=n[0],o=n[1];if(!a||!o)return e;var i=a.toLowerCase().trim(),s=o.toLowerCase().trim();return"maximum-scale"===i&&"yes"===s&&(s=1),"maximum-scale"===i&&parseFloat(s)<0||(e[i]=s),e},{});if(s&&u["maximum-scale"]&&parseFloat(u["maximum-scale"])<s)return!0;if(!s&&"no"===u["user-scalable"])return this.data("user-scalable=no"),!1;var c=parseFloat(u["user-scalable"]);return!s&&u["user-scalable"]&&(c||0===c)&&c>-1&&c<1?(this.data("user-scalable"),!1):!(u["maximum-scale"]&&parseFloat(u["maximum-scale"])<o&&(this.data("maximum-scale"),1))},"multiple-label-evaluate":function(e){var t=wa(e.getAttribute("id")),r=e.parentNode,n=pl(e);n=n.documentElement||n;var a=Array.from(n.querySelectorAll('label[for="'.concat(t,'"]')));for(a.length&&(a=a.filter(function(e){return!Ol(e)}));r;)"LABEL"===r.nodeName.toUpperCase()&&-1===a.indexOf(r)&&a.push(r),r=r.parentNode;if(this.relatedNodes(a),a.length>1){var o=a.filter(function(e){return jc(e)});if(o.length>1)return;return!Uu(e,"aria-labelledby").includes(o[0])&&void 0}return!1},"nested-interactive-matches":function(e,t){var r=Pc(t);return!!r&&!!Ju.ariaRoles[r].childrenPresentational},"no-autoplay-audio-evaluate":function(e,t){var r=e.hasAttribute("controls");if(e.hasAttribute("loop"))return r;if(e.duration){var n=t.allowedDuration,a=void 0===n?3:n;return function(e){if(!e.currentSrc)return 0;var t=function(e){var t=e.match(/#t=(.*)/);if(t)return K(t,2)[1].split(",").map(function(e){return/:/.test(e)?function(e){for(var t=e.split(":"),r=0,n=1;t.length>0;)r+=n*parseInt(t.pop(),10),n*=60;return parseFloat(r)}(e):parseFloat(e)})}(e.currentSrc);return t?1===t.length?Math.abs(e.duration-t[0]):Math.abs(t[1]-t[0]):Math.abs(e.duration-(e.currentTime||0))}(e)<=a||!!r}console.warn("axe.utils.preloadMedia did not load metadata")},"no-autoplay-audio-matches":function(e){return!!e.currentSrc&&!e.hasAttribute("paused")&&!e.hasAttribute("muted")},"no-empty-role-matches":function(e,t){return!!t.hasAttr("role")&&!!t.attr("role").trim()},"no-explicit-name-required-matches":cb,"no-focusable-content-evaluate":function(e,t,r){if(r.children)try{var n=qv(r);if(!n.length)return!0;var a=n.filter(zv);return a.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(a)):this.relatedNodes(n),!1}catch(e){return}},"no-implicit-explicit-label-evaluate":function(e,t,r){var n,a,o=Pc(r,{noImplicit:!0});this.data(o);try{n=uc(nd(r)).toLowerCase(),a=uc(dd(r)).toLowerCase()}catch(e){return}return!(!a&&!n)&&!((a||!n)&&a.includes(n))&&void 0},"no-naming-method-matches":function(e,t){var r=kc(t).namingMethods;return!(r&&0!==r.length||"combobox"===tc(t)&&vm(t,'input:not([type="hidden"])').length||yg(t,{popupRoles:["listbox"]}))},"no-negative-tabindex-matches":function(e,t){var r=em(t.attr("tabindex"));return null===r||r>=0},"no-role-matches":function(e,t){return!t.attr("role")},"non-empty-if-present-evaluate":function(e,t,r){var n=r.props.nodeName,a=(r.attr("type")||"").toLowerCase(),o=r.attr("value");return o&&this.data({messageKey:"has-label"}),!("input"!==n||!["submit","reset"].includes(a))&&null===o},"not-html-matches":function(e,t){return"html"!==t.props.nodeName},"object-is-loaded-matches":function(e,t){return[cb,db].every(function(r){return r(e,t)})},"only-dlitems-evaluate":function(e,t,r){var n=["definition","term","list"],a=r.children.reduce(function(e,t){var r=t.actualNode;return"DIV"===r.nodeName.toUpperCase()&&null===Pc(r)?e.concat(t.children):e.concat(t)},[]).reduce(function(e,t){var r=t.actualNode,a=r.nodeName.toUpperCase();if(1===r.nodeType&&jc(r)){var o=tc(r);("DT"!==a&&"DD"!==a||o)&&(n.includes(o)||e.badNodes.push(r))}else 3===r.nodeType&&""!==r.nodeValue.trim()&&(e.hasNonEmptyTextNode=!0);return e},{badNodes:[],hasNonEmptyTextNode:!1});return a.badNodes.length&&this.relatedNodes(a.badNodes),!!a.badNodes.length||a.hasNonEmptyTextNode},"only-listitems-evaluate":function(e,t,r){var n=!1,a=!1,o=!0,i=[],s=[],l=[];return r.children.forEach(function(e){var t=e.actualNode;if(3!==t.nodeType||""===t.nodeValue.trim()){if(1===t.nodeType&&jc(t)){o=!1;var r="LI"===t.nodeName.toUpperCase(),u=Pc(e),c="listitem"===u;r||c||i.push(t),r&&!c&&(s.push(t),l.includes(u)||l.push(u)),c&&(a=!0)}}else n=!0}),n||i.length?(this.relatedNodes(i),!0):!o&&!a&&(this.relatedNodes(s),this.data({messageKey:"roleNotValid",roles:l.join(", ")}),!0)},"p-as-heading-evaluate":function(e,t,r){var n=Array.from(e.parentNode.children),a=n.indexOf(e),o=(t=t||{}).margins||[],i=n.slice(a+1).find(function(e){return"P"===e.nodeName.toUpperCase()}),s=n.slice(0,a).reverse().find(function(e){return"P"===e.nodeName.toUpperCase()}),l=Lg(e),u=i?Lg(i):null,c=s?Lg(s):null,d=t.passLength,p=t.failLength,h=e.textContent.trim().length,f=null==i?void 0:i.textContent.trim().length;if(h>f*d)return!0;if(!u||!Bg(l,u,o))return!0;var m=fl(r,"blockquote");return!!(m&&"BLOCKQUOTE"===m.nodeName.toUpperCase()||c&&!Bg(l,c,o)||h>f*p)&&void 0},"p-as-heading-matches":function(e){var t=Array.from(e.parentNode.childNodes),r=e.textContent.trim();return!(0===r.length||(r.match(/[.!?:;](?![.!?:;])/g)||[]).length>=2)&&0!==t.slice(t.indexOf(e)+1).filter(function(e){return"P"===e.nodeName.toUpperCase()&&""!==e.textContent.trim()}).length},"page-no-duplicate-after":function(e){return e.filter(function(e){return"ignored"!==e.data})},"page-no-duplicate-evaluate":function(e,t,r){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("page-no-duplicate requires options.selector to be a string");var n="page-no-duplicate;"+t.selector;if(!ll.get(n)){ll.set(n,!0);var a=im(c._tree[0],t.selector,function(e){return jc(e)});return"string"==typeof t.nativeScopeFilter&&(a=a.filter(function(e){return e.actualNode.hasAttribute("role")||!fl(e,t.nativeScopeFilter)})),"string"==typeof t.role&&(a=a.filter(function(e){return Pc(e)===t.role})),this.relatedNodes(a.filter(function(e){return e!==r}).map(function(e){return e.actualNode})),a.length<=1}this.data("ignored")},"presentation-role-conflict-matches":function(e,t){return null!==Rc(t,{chromiumRoles:!0})},"presentational-role-evaluate":function(e,t,r){var n=tc(r);if(["presentation","none"].includes(n)&&["iframe","frame"].includes(r.props.nodeName)&&r.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:r.props.nodeName}),!1;var a=Pc(r);if(["presentation","none"].includes(a))return this.data({role:a}),!0;if(!["presentation","none"].includes(n))return!1;var o,i=nc().some(function(e){return r.hasAttr(e)}),s=Vu(r);return o=i&&!s?"globalAria":!i&&s?"focusable":"both",this.data({messageKey:o,role:a}),!1},"region-after":function(e){var t=e.filter(function(e){return e.data.isIframe});return e.forEach(function(e){if(!e.result&&1!==e.node.ancestry.length){var r,n=e.node.ancestry.slice(0,-1),a=te(t);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(Kf(n,o.node.ancestry)){e.result=o.result;break}}}catch(e){a.e(e)}finally{a.f()}}}),t.forEach(function(e){e.result||(e.result=!0)}),e},"region-evaluate":function(e,t,r){return this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)}),!ll.get("regionlessNodes",function(){return function(e){return Ig(c._tree[0],e).map(function(e){for(;e.parent&&!e.parent._hasRegionDescendant&&e.parent.actualNode!==l.body;)e=e.parent;return e}).filter(function(e,t,r){return r.indexOf(e)===t})}(t)}).includes(r)},"same-caption-summary-evaluate":function(e,t,r){if(void 0!==r.children){var n=r.attr("summary"),a=r.children.find(_g),o=!!a&&uc(rd(a));return!(!o||!n)&&uc(n).toLowerCase()===uc(o).toLowerCase()}},"scope-value-evaluate":function(e,t){var r=e.getAttribute("scope").toLowerCase();return-1!==t.values.indexOf(r)},"scrollable-region-focusable-matches":function(e,t){return void 0!==Nf(e,13)&&!1===yg(t)&&vm(t,"*").some(function(e){return Nd(e,!0,!0)})},"skip-link-evaluate":function(e){var t=Su(e,"href");return!!t&&(jc(t)||void 0)},"skip-link-matches":function(e){return ap(e)&&jl(e)},"structured-dlitems-evaluate":function(e,t,r){var n=r.children;if(!n||!n.length)return!1;for(var a,o=!1,i=!1,s=0;s<n.length;s++){if("DT"===(a=n[s].props.nodeName.toUpperCase())&&(o=!0),o&&"DD"===a)return!1;"DD"===a&&(i=!0)}return o||i},"summary-interactive-matches":function(e,t){var r,n,a,o=t.parent;return!("details"!==o.props.nodeName||(a=null===(n=(r=t).actualNode)||void 0===n?void 0:n.parentElement)&&a!==r.parent.actualNode)&&o.children.find(function(e){return"summary"===e.props.nodeName})===t},"svg-namespace-matches":ib,"svg-non-empty-title-evaluate":function(e,t,r){if(r.children){var n=r.children.find(function(e){return"title"===e.props.nodeName});if(!n)return this.data({messageKey:"noTitle"}),!1;try{if(""===rd(n,{includeHidden:!0}).trim())return this.data({messageKey:"emptyTitle"}),!1}catch(e){return}return!0}},"tabindex-evaluate":function(e,t,r){var n=em(r.attr("tabindex"));return null===n||n<=0},"table-or-grid-role-matches":function(e,t){var r=Pc(t);return["treegrid","grid","table"].includes(r)},"target-offset-evaluate":function(e,t,r){var n=(null==t?void 0:t.minOffset)||24;if(Zl(10*n,r.boundingClientRect))return this.data({messageKey:"large",minOffset:n}),!0;var a,o=[],i=n,s=te(yu(r,n));try{for(s.s();!(a=s.n()).done;){var l=a.value;if("widget"===Bd(l)&&Vu(l)){var u=null;try{u=Xl(r,l,n/2)}catch(e){if(e.message.startsWith("splitRects"))return void this.data({messageKey:"tooManyRects",closestOffset:0,minOffset:n});throw e}null!==u&&(.05+(u=2*Iv(u))>=n||(i=Math.min(i,u),o.push(l)))}}}catch(e){s.e(e)}finally{s.f()}return 0===o.length?(this.data({closestOffset:i,minOffset:n}),!0):(this.relatedNodes(o.map(function(e){return e.actualNode})),o.some(ju)?(this.data({closestOffset:i,minOffset:n}),!ju(r)&&void 0):void this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:n}))},"target-size-evaluate":function(e,t,r){var n=(null==t?void 0:t.minSize)||24,a=r.boundingClientRect;if(Zl(10*n,a))return this.data({messageKey:"large",minSize:n}),!0;var o=Zl.bind(null,n),i=yu(r),s=function(e,t){return t.filter(function(t){return!Nv(t,e)&&Ov(e,t)})}(r,i),l=function(e,t){var r,n=[],a=[],o=te(t);try{for(o.s();!(r=o.n()).done;){var i=r.value;!Ov(e,i)&&eu(e,i)&&"none"!==Sv(i)&&(Nv(e,i)?n.push(i):a.push(i))}}catch(e){o.e(e)}finally{o.f()}return{fullyObscuringElms:n,partialObscuringElms:a}}(r,i),u=l.fullyObscuringElms,c=l.partialObscuringElms;if(s.length&&(u.length||!o(a)))return this.data({minSize:n,messageKey:"contentOverflow"}),void this.relatedNodes(Pv(s));if(u.length)return this.relatedNodes(Pv(u)),this.data({messageKey:"obscured"}),!0;var d=!ju(r)&&void 0;if(!o(a))return this.data(V({minSize:n},_v(a))),d;var p=c.filter(function(e){return"widget"===Bd(e)&&Vu(e)});if(!p.length)return this.data(V({minSize:n},_v(a))),!0;var h=function(e,t){var r,n=e.boundingClientRect,a=t.map(function(e){return e.boundingClientRect});try{r=tu(n,a)}catch(e){return null}return function(e,t){return e.reduce(function(e,r){var n=Zl(t,e);return n!==Zl(t,r)?n?e:r:e.width*e.height>r.width*r.height?e:r})}(r)}(r,p);if(h){if(!o(h)){if(s.length)return this.data({minSize:n,messageKey:"contentOverflow"}),void this.relatedNodes(Pv(s));var f=p.every(ju),m="partiallyObscured".concat(f?"":"NonTabbable");return this.data(V({messageKey:m,minSize:n},_v(h))),this.relatedNodes(Pv(p)),f?d:void 0}return this.data(V({minSize:n},_v(h||a))),this.relatedNodes(Pv(p)),!0}this.data({minSize:n,messageKey:"tooManyRects"})},"td-has-header-evaluate":function(e){var t=[],r=Gm(e),n=ac(e);return r.forEach(function(e){Sd(e)&&Ym(e)&&!Dg(e)&&(Km(e,n).some(function(e){return null!==e&&!!Sd(e)})||t.push(e))}),!t.length||(this.relatedNodes(t),!1)},"td-headers-attr-evaluate":function(e){for(var t=[],r={},n=0;n<e.rows.length;n++)for(var a=e.rows[n],o=0;o<a.cells.length;o++){var i=a.cells[o];t.push(i);var s=i.getAttribute("id");s&&(r[s]=Pc(i))}var l=S(S(S(S({},Ng,new Set),kg,new Set),Rg,new Set),Sg,new Set);t.forEach(function(e){if(e.hasAttribute("headers")&&jc(e)){var t=e.getAttribute("headers").trim();if(t){var n=e.getAttribute("id");Hh(t).forEach(function(t){n&&t===n?l[Ng].add(e):r[t]?["columnheader","rowheader"].includes(r[t])||l[Rg].add(e):l[kg].add(e)})}else l[Sg].add(e)}});var u,c=te(Tg);try{for(c.s();!(u=c.n()).done;){var d=u.value;if(l[d].size>0){if(this.relatedNodes(j(l[d])),d===Sg)return;return this.data({messageKey:d}),!1}}}catch(e){c.e(e)}finally{c.f()}return!0},"th-has-data-cells-evaluate":function(e){var t=Gm(e),r=this,n=[];t.forEach(function(e){var t=e.getAttribute("headers");t&&(n=n.concat(t.split(/\s+/)));var r=e.getAttribute("aria-labelledby");r&&(n=n.concat(r.split(/\s+/)))});var a=t.filter(function(e){return""!==uc(e.textContent)&&("TH"===e.nodeName.toUpperCase()||-1!==["rowheader","columnheader"].indexOf(tc(e)))}),o=ac(e),i=!0;return a.forEach(function(e){if(!e.getAttribute("id")||!n.includes(e.getAttribute("id"))){var t=oc(e,o),a=!1;sc(e)&&(a=Qm("down",t,o).find(function(t){return!sc(t)&&Km(t,o).includes(e)})),!a&&lc(e)&&(a=Qm("right",t,o).find(function(t){return!lc(t)&&Km(t,o).includes(e)})),a||r.relatedNodes(e),i=i&&a}}),!!i||void 0},"title-only-evaluate":function(e,t,r){var n=yd(r),a=Mc(r),o=r.attr("aria-describedby");return!(n||!a&&!o)},"unique-frame-title-after":function(e){var t={};return e.forEach(function(e){t[e.data]=void 0!==t[e.data]?++t[e.data]:0}),e.forEach(function(e){e.result=!!t[e.data]}),e},"unique-frame-title-evaluate":function(e,t,r){var n=uc(r.attr("title")).toLowerCase();return this.data(n),!0},"unsupportedrole-evaluate":function(e,t,r){var n=Pc(r,{dpub:!0,fallback:!0}),a=Qu(n);return a&&this.data(n),a},"valid-lang-evaluate":function(e,t,r){var n=[];return t.attributes.forEach(function(e){var a=r.attr(e);if("string"==typeof a){var o=rf(a),i=t.value?!t.value.map(rf).includes(o):!Im(o);(""!==o&&i||""!==a&&!uc(a))&&n.push(e+'="'+r.attr(e)+'"')}}),!(!n.length||"html"!==r.props.nodeName&&!_d(r)||(this.data(n),0))},"valid-scrollable-semantics-evaluate":function(e,t){return function(e,t){var r=tc(e);return r&&(Jv[r]||t.roles.includes(r))||!1}(e,t)||function(e){var t=e.nodeName.toUpperCase();return Xv[t]||!1}(e)},"widget-not-inline-matches":function(e,t){return sb.every(function(r){return r(e,t)})},"window-is-top-matches":function(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top},"xml-lang-mismatch-evaluate":function(e,t,r){return rf(r.attr("lang"))===rf(r.attr("xml:lang"))},"xml-lang-mismatch-matches":function(e){var t=rf(e.getAttribute("lang")),r=rf(e.getAttribute("xml:lang"));return Im(t)&&Im(r)}},gb=mb,vb=function(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null};function bb(e){if("string"==typeof e){if(gb[e])return gb[e];if(/^\s*function[\s\w]*\(/.test(e))return new Function("return "+e+";")();throw new ReferenceError("Function ID does not exist in the metadata-function-map: ".concat(e))}return e}function yb(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(Array.isArray(e)||"object"!==u(e))&&(e={value:e}),e}function wb(e){e&&(this.id=e.id,this.configure(e))}wb.prototype.enabled=!0,wb.prototype.run=function(e,t,r,n,a){var o=(t=t||{}).hasOwnProperty("enabled")?t.enabled:this.enabled,i=this.getOptions(t.options);if(o){var s,l=new vb(this),u=Cp(l,t,n,a);try{s=this.evaluate.call(u,e.actualNode,i,e,r)}catch(t){return e&&e.actualNode&&(t.errorNode=Oh.toSpec(e)),void a(t)}u.isAsync||(l.result=s,n(l))}else n(null)},wb.prototype.runSync=function(e,t,r){var n=(t=t||{}).enabled;if(!(void 0===n?this.enabled:n))return null;var a,o=this.getOptions(t.options),i=new vb(this),s=Cp(i,t);s.async=function(){throw new Error("Cannot run async check while in a synchronous run")};try{a=this.evaluate.call(s,e.actualNode,o,e,r)}catch(t){throw e&&e.actualNode&&(t.errorNode=Oh.toSpec(e)),t}return i.result=a,i},wb.prototype.configure=function(e){var t=this;e.evaluate&&!gb[e.evaluate]||(this._internalCheck=!0),e.hasOwnProperty("enabled")&&(this.enabled=e.enabled),e.hasOwnProperty("options")&&(this._internalCheck?this.options=yb(e.options):this.options=e.options),["evaluate","after"].filter(function(t){return e.hasOwnProperty(t)}).forEach(function(r){return t[r]=bb(e[r])})},wb.prototype.getOptions=function(e){return this._internalCheck?qh(this.options,yb(e||{})):e||this.options};var Db=wb,Eb=function(e){this.id=e.id,this.result=ta.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[]};function xb(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(ba(ta.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact),this.excludeHidden="boolean"!=typeof e.excludeHidden||e.excludeHidden,this.enabled="boolean"!=typeof e.enabled||e.enabled,this.pageLevel="boolean"==typeof e.pageLevel&&e.pageLevel,this.reviewOnFail="boolean"==typeof e.reviewOnFail&&e.reviewOnFail,this.any=e.any||[],this.all=e.all||[],this.none=e.none||[],this.tags=e.tags||[],this.preload=!!e.preload,this.actIds=e.actIds,e.matches&&(this.matches=bb(e.matches))}function Ab(e){if(e.length){var t=!1,r={};return e.forEach(function(e){var n=e.results.filter(function(e){return e});r[e.type]=n,n.length&&(t=!0)}),t?r:null}}xb.prototype.matches=function(){return!0},xb.prototype.gather=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r="mark_gather_start_"+this.id,n="mark_gather_end_"+this.id,a="mark_isVisibleToScreenReaders_start_"+this.id,o="mark_isVisibleToScreenReaders_end_"+this.id;t.performanceTimer&&rm.mark(r);var i=Em(this.selector,e);return this.excludeHidden&&(t.performanceTimer&&rm.mark(a),i=i.filter(function(e){return jc(e)}),t.performanceTimer&&(rm.mark(o),rm.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",a,o))),t.performanceTimer&&(rm.mark(n),rm.measure("rule_"+this.id+"#gather",r,n)),i},xb.prototype.runChecks=function(e,t,r,n,a,o){var i=this,s=Wp();this[e].forEach(function(e){var a=i._audit.checks[e.id||e],o=hf(a,i.id,r);s.defer(function(e,r){a.run(t,o,n,e,function(e){r(new Fm({ruleId:i.id,method:"".concat(a.id,"#evaluate"),errorNode:new Ap(t),error:e}))})})}),s.then(function(t){t=t.filter(function(e){return e}),a({type:e,results:t})}).catch(o)},xb.prototype.runChecksSync=function(e,t,r,n){var a=this,o=[];return this[e].forEach(function(e){var i=a._audit.checks[e.id||e],s=hf(i,a.id,r);o.push(i.runSync(t,s,n))}),{type:e,results:o=o.filter(function(e){return e})}},xb.prototype.run=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0;r.performanceTimer&&this._trackPerformance();var o,i=Wp(),s=new Eb(this);try{o=this.gatherAndMatchNodes(e,r)}catch(e){return void a(e)}r.performanceTimer&&this._logGatherPerformance(o),o.forEach(function(n){i.defer(function(a,o){var i=Wp();["any","all","none"].forEach(function(a){i.defer(function(o,i){t.runChecks(a,n,r,e,o,i)})}),i.then(function(e){var r=Ab(e);r&&(r.node=new Ap(n),s.nodes.push(r),t.reviewOnFail&&(["any","all"].forEach(function(e){r[e].forEach(function(e){!1===e.result&&(e.result=void 0)})}),r.none.forEach(function(e){!0===e.result&&(e.result=void 0)}))),a()}).catch(function(e){return o(e)})})}),i.then(function(){r.performanceTimer&&t._logRulePerformance(),setTimeout(function(){n(s)},0)}).catch(function(e){r.performanceTimer&&t._logRulePerformance(),a(e)})},xb.prototype.runSync=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r.performanceTimer&&this._trackPerformance();var n=new Eb(this),a=this.gatherAndMatchNodes(e,r);return r.performanceTimer&&this._logGatherPerformance(a),a.forEach(function(a){var o=[];["any","all","none"].forEach(function(n){o.push(t.runChecksSync(n,a,r,e))});var i=Ab(o);i&&(i.node=a.actualNode?new Ap(a):null,n.nodes.push(i),t.reviewOnFail&&(["any","all"].forEach(function(e){i[e].forEach(function(e){!1===e.result&&(e.result=void 0)})}),i.none.forEach(function(e){!0===e.result&&(e.result=void 0)})))}),r.performanceTimer&&this._logRulePerformance(),n},xb.prototype._trackPerformance=function(){this._markStart="mark_rule_start_"+this.id,this._markEnd="mark_rule_end_"+this.id,this._markChecksStart="mark_runchecks_start_"+this.id,this._markChecksEnd="mark_runchecks_end_"+this.id},xb.prototype._logGatherPerformance=function(e){ra("gather for ".concat(this.id," (").concat(e.length," nodes): ").concat(rm.timeElapsed(),"ms")),rm.mark(this._markChecksStart)},xb.prototype._logRulePerformance=function(){rm.mark(this._markChecksEnd),rm.mark(this._markEnd),rm.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),rm.measure("rule_"+this.id,this._markStart,this._markEnd)},xb.prototype.gatherAndMatchNodes=function(e,t){var r=this,n="mark_matches_start_"+this.id,a="mark_matches_end_"+this.id,o=this.gather(e,t);return t.performanceTimer&&rm.mark(n),o=o.filter(function(t){try{return r.matches(t.actualNode,t,e)}catch(e){throw new Fm({ruleId:r.id,method:"#matches",errorNode:new Ap(t),error:e})}}),t.performanceTimer&&(rm.mark(a),rm.measure("rule_"+this.id+"#matches",n,a)),o},xb.prototype.after=function(e,t){var r,n=this;return Ph(r=this).map(function(e){var t=r._audit.checks[e.id||e];return t&&"function"==typeof t.after?t:null}).filter(Boolean).forEach(function(r){var a,o,i,s,l=(a=e.nodes,o=r.id,i=[],a.forEach(function(e){Ph(e).forEach(function(t){t.id===o&&(t.node=e.node,i.push(t))})}),i),u=hf(r,n.id,t);try{s=r.after(l,u.options)}catch(t){var c;throw new Fm({ruleId:n.id,method:"".concat(r.id,"#after"),errorNode:null===(c=e.nodes)||void 0===c||null===(c=c[0])||void 0===c?void 0:c.node,error:t})}n.reviewOnFail&&s.forEach(function(e){var t=(n.any.includes(e.id)||n.all.includes(e.id))&&!1===e.result,r=n.none.includes(e.id)&&!0===e.result;(t||r)&&(e.result=void 0)}),l.forEach(function(e){delete e.node,-1===s.indexOf(e)&&(e.filtered=!0)})}),e.nodes=function(e){var t=["any","all","none"],r=e.nodes.filter(function(e){var r=0;return t.forEach(function(t){e[t]=e[t].filter(function(e){return!0!==e.filtered}),r+=e[t].length}),r>0});return e.pageLevel&&r.length&&(r=[r.reduce(function(e,r){if(e)return t.forEach(function(t){e[t].push.apply(e[t],r[t])}),e})]),r}(e),e},xb.prototype.configure=function(e){e.hasOwnProperty("selector")&&(this.selector=e.selector),e.hasOwnProperty("excludeHidden")&&(this.excludeHidden="boolean"!=typeof e.excludeHidden||e.excludeHidden),e.hasOwnProperty("enabled")&&(this.enabled="boolean"!=typeof e.enabled||e.enabled),e.hasOwnProperty("pageLevel")&&(this.pageLevel="boolean"==typeof e.pageLevel&&e.pageLevel),e.hasOwnProperty("reviewOnFail")&&(this.reviewOnFail="boolean"==typeof e.reviewOnFail&&e.reviewOnFail),e.hasOwnProperty("any")&&(this.any=e.any),e.hasOwnProperty("all")&&(this.all=e.all),e.hasOwnProperty("none")&&(this.none=e.none),e.hasOwnProperty("tags")&&(this.tags=e.tags),e.hasOwnProperty("actIds")&&(this.actIds=e.actIds),e.hasOwnProperty("matches")&&(this.matches=bb(e.matches)),e.impact&&(ba(ta.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact)};var Cb=/\{\{.+?\}\}/g,Fb=Q(function e(t){X(this,e),this.lang="en",this.defaultConfig=t,this.standards=Ju,this._init(),this._defaultLocale=null},[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var e={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},t=Object.keys(this.data.checks),r=0;r<t.length;r++){var n=t[r],a=this.data.checks[n].messages,o=a.pass,i=a.fail,s=a.incomplete;e.checks[n]={pass:o,fail:i,incomplete:s}}for(var l=Object.keys(this.data.rules),u=0;u<l.length;u++){var c=l[u],d=this.data.rules[c],p=d.description,h=d.help;e.rules[c]={description:p,help:h}}for(var f=Object.keys(this.data.failureSummaries),m=0;m<f.length;m++){var g=f[m],v=this.data.failureSummaries[g].failureMessage;e.failureSummaries[g]={failureMessage:v}}e.incompleteFallbackMessage=this.data.incompleteFallbackMessage,this._defaultLocale=e}}},{key:"_resetLocale",value:function(){var e=this._defaultLocale;e&&this.applyLocale(e)}},{key:"_applyCheckLocale",value:function(e){for(var t=Object.keys(e),r=0;r<t.length;r++){var n=t[r];if(!this.data.checks[n])throw new Error('Locale provided for unknown check: "'.concat(n,'"'));this.data.checks[n]=Nb(this.data.checks[n],e[n])}}},{key:"_applyRuleLocale",value:function(e){for(var t=Object.keys(e),r=0;r<t.length;r++){var n=t[r];if(!this.data.rules[n])throw new Error('Locale provided for unknown rule: "'.concat(n,'"'));this.data.rules[n]=Sb(this.data.rules[n],e[n])}}},{key:"_applyFailureSummaries",value:function(e){for(var t=Object.keys(e),r=0;r<t.length;r++){var n=t[r];if(!this.data.failureSummaries[n])throw new Error('Locale provided for unknown failureMessage: "'.concat(n,'"'));this.data.failureSummaries[n]=_b(this.data.failureSummaries[n],e[n])}}},{key:"applyLocale",value:function(e){this._setDefaultLocale(),e.checks&&this._applyCheckLocale(e.checks),e.rules&&this._applyRuleLocale(e.rules),e.failureSummaries&&this._applyFailureSummaries(e.failureSummaries,"failureSummaries"),e.incompleteFallbackMessage&&(this.data.incompleteFallbackMessage=Ob(this.data.incompleteFallbackMessage,e.incompleteFallbackMessage)),e.lang&&(this.lang=e.lang)}},{key:"setAllowedOrigins",value:function(e){var t=kb();this.allowedOrigins=[];var r,n=te(e);try{for(n.s();!(r=n.n()).done;){var a=r.value;if(a===ta.allOrigins)return void(this.allowedOrigins=["*"]);a!==ta.sameOrigin?this.allowedOrigins.push(a):t&&this.allowedOrigins.push(t)}}catch(e){n.e(e)}finally{n.f()}}},{key:"_init",value:function(){var e=function(e){var t;if(e?(t=Fp(e)).commons=e.commons:t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||!1,!t.allowedOrigins){var r=kb();t.allowedOrigins=r?[r]:[]}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=V({checks:{},rules:{}},t.data),t}(this.defaultConfig);this.lang=e.lang||"en",this.reporter=e.reporter,this.commands={},this.rules=[],this.checks={},this.brand="axe",this.application="axeAPI",this.tagExclude=["experimental","deprecated"],this.noHtml=e.noHtml,this.allowedOrigins=e.allowedOrigins,Rb(e.rules,this,"addRule"),Rb(e.checks,this,"addCheck"),this.data={},this.data.checks=e.data&&e.data.checks||{},this.data.rules=e.data&&e.data.rules||{},this.data.failureSummaries=e.data&&e.data.failureSummaries||{},this.data.incompleteFallbackMessage=e.data&&e.data.incompleteFallbackMessage||"",this._constructHelpUrls()}},{key:"registerCommand",value:function(e){this.commands[e.id]=e.callback}},{key:"addRule",value:function(e){e.metadata&&(this.data.rules[e.id]=e.metadata);var t=this.getRule(e.id);t?t.configure(e):this.rules.push(new xb(e,this))}},{key:"addCheck",value:function(e){var t=e.metadata;"object"===u(t)&&(this.data.checks[e.id]=t,"object"===u(t.messages)&&Object.keys(t.messages).filter(function(e){return t.messages.hasOwnProperty(e)&&"string"==typeof t.messages[e]}).forEach(function(e){0===t.messages[e].indexOf("function")&&(t.messages[e]=new Function("return "+t.messages[e]+";")())})),this.checks[e.id]?this.checks[e.id].configure(e):this.checks[e.id]=new Db(e)}},{key:"run",value:function(e,t,r,n){this.normalizeOptions(t),Ap.setRunOptions(t),c._selectCache=[];var a=function(e,t,r){return e.reduce(function(e,n){return ym(n,t,r)?n.preload?(e.later.push(n),e):(e.now.push(n),e):e},{now:[],later:[]})}(this.rules,e,t),o=a.now,i=a.later,s=Wp();o.forEach(function(r){s.defer(Pb(r,e,t))});var l=Wp();i.length&&l.defer(function(e){pm(t).then(function(t){return e(t)}).catch(function(t){console.warn("Couldn't load preload assets: ",t),e(void 0)})});var u=Wp();u.defer(s),u.defer(l),u.then(function(a){var o=a.pop();if(o&&o.length){var s=o[0];s&&(e=V({},e,s))}var l=a[0];if(!i.length)return c._selectCache=void 0,void r(l.filter(function(e){return!!e}));var u=Wp();i.forEach(function(r){var n=Pb(r,e,t);u.defer(n)}),u.then(function(e){c._selectCache=void 0,r(l.concat(e).filter(function(e){return!!e}))}).catch(n)}).catch(n)}},{key:"after",value:function(e,t){var r=this.rules;return e.map(function(e){if(e.error)return e;var n=Ih(r,"id",e.id);if(!n)throw new Error("Result for unknown rule. You may be running mismatch axe-core versions");try{return n.after(e,t)}catch(e){if(t.debug)throw e;return Ib(n,e)}})}},{key:"getRule",value:function(e){return this.rules.find(function(t){return t.id===e})}},{key:"normalizeOptions",value:function(e){var t=[],r=[];if(this.rules.forEach(function(e){r.push(e.id),e.tags.forEach(function(e){t.includes(e)||t.push(e)})}),["object","string"].includes(u(e.runOnly))){if("string"==typeof e.runOnly&&(e.runOnly=[e.runOnly]),Array.isArray(e.runOnly)){var n=e.runOnly.find(function(e){return t.includes(e)}),a=e.runOnly.find(function(e){return r.includes(e)});if(n&&a)throw new Error("runOnly cannot be both rules and tags");e.runOnly=a?{type:"rule",values:e.runOnly}:{type:"tag",values:e.runOnly}}var o=e.runOnly;if(o.value&&!o.values&&(o.values=o.value,delete o.value),!Array.isArray(o.values)||0===o.values.length)throw new Error("runOnly.values must be a non-empty array");if(["rule","rules"].includes(o.type))o.type="rule",o.values.forEach(function(e){if(!r.includes(e))throw new Error("unknown rule `"+e+"` in options.runOnly")});else{if(!["tag","tags",void 0].includes(o.type))throw new Error("Unknown runOnly type '".concat(o.type,"'"));o.type="tag";var i=o.values.filter(function(e){return!t.includes(e)&&!/wcag2[1-3]a{1,3}/.test(e)});0!==i.length&&c.log("Could not find tags `"+i.join("`, `")+"`")}}return"object"===u(e.rules)&&Object.keys(e.rules).forEach(function(e){if(!r.includes(e))throw new Error("unknown rule `"+e+"` in options.rules")}),e}},{key:"setBranding",value:function(e){var t={brand:this.brand,application:this.application};"string"==typeof e&&(this.application=e),e&&e.hasOwnProperty("brand")&&e.brand&&"string"==typeof e.brand&&(this.brand=e.brand),e&&e.hasOwnProperty("application")&&e.application&&"string"==typeof e.application&&(this.application=e.application),this._constructHelpUrls(t)}},{key:"_constructHelpUrls",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=(c.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach(function(n){e.data.rules[n.id]||(e.data.rules[n.id]={});var a=e.data.rules[n.id];("string"!=typeof a.helpUrl||t&&a.helpUrl===Mb(t,n.id,r))&&(a.helpUrl=Mb(e,n.id,r))})}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale()}}]),Tb=Fb;function kb(){return i.origin&&"null"!==i.origin?i.origin:i.location&&i.location.origin&&"null"!==i.location.origin?i.location.origin:void 0}function Rb(e,t,r){var n,a;for(n=0,a=e.length;n<a;n++)t[r](e[n])}var Nb=function(e,t){var r=t.pass,n=t.fail;return"string"==typeof r&&Cb.test(r)&&(r=Pa.default.compile(r)),"string"==typeof n&&Cb.test(n)&&(n=Pa.default.compile(n)),V({},e,{messages:{pass:r||e.messages.pass,fail:n||e.messages.fail,incomplete:"object"===u(e.messages.incomplete)?V({},e.messages.incomplete,t.incomplete):t.incomplete}})},Sb=function(e,t){var r=t.help,n=t.description;return"string"==typeof r&&Cb.test(r)&&(r=Pa.default.compile(r)),"string"==typeof n&&Cb.test(n)&&(n=Pa.default.compile(n)),V({},e,{help:r||e.help,description:n||e.description})},_b=function(e,t){var r=t.failureMessage;return"string"==typeof r&&Cb.test(r)&&(r=Pa.default.compile(r)),V({},e,{failureMessage:r||e.failureMessage})},Ob=function(e,t){return"string"==typeof t&&Cb.test(t)&&(t=Pa.default.compile(t)),t||e};function Pb(e,t,r){return r.performanceTimer&&rm.mark("mark_rule_start_"+e.id),function(n,a){e.run(t,r,function(e){return n(e)},function(t){r.debug?a(t):n(Ib(e,t))})}}function Ib(e,t){var r=t.errorNode,n=Am(t),a=[{id:"error-occurred",result:void 0,data:n,relatedNodes:[]}],o=r||new Ap(l.documentElement);return Object.assign(new Eb(e),{error:n,result:ta.CANTTELL,nodes:[{any:[],all:[],none:a,node:o}]})}function Mb(e,t,r){var n=e.brand,a=e.application,o=e.lang;return ta.helpUrlBase+n+"/"+(r||c.version.substring(0,c.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(a)+(o&&"en"!==o?"&lang="+encodeURIComponent(o):"")}function Lb(e){var t=i&&"Node"in i&&"NodeList"in i,r=!!l;if(!t||!r){if(!e||!e.ownerDocument)throw new Error('Required "window" or "document" globals not defined and cannot be deduced from the context. Either set the globals before running or pass in a valid Element.');r||(ll.set("globalDocumentSet",!0),l=e.ownerDocument),t||(ll.set("globalWindowSet",!0),i=l.defaultView)}}var Bb=function(){ll.get("globalDocumentSet")&&(ll.set("globalDocumentSet",!1),l=null),ll.get("globalWindowSet")&&(ll.set("globalWindowSet",!1),i=null),c._memoizedFns.forEach(function(e){return e.clear()}),ll.clear(),c._tree=void 0,c._selectorData=void 0,c._selectCache=void 0};function Vb(e,t,r,n){try{e=new Ff(e),c._tree=e.flatTree,c._selectorData=Ks(e.flatTree)}catch(e){return Bb(),n(e)}var a=Wp(),o=c._audit;t.performanceTimer&&rm.auditStart(),e.frames.length&&!1!==t.iframes&&a.defer(function(r,n){Bh(e,t,"rules",null,r,n)}),a.defer(function(r,n){o.run(e,t,r,n)}),a.then(function(a){try{t.performanceTimer&&rm.auditEnd();var i=Lh(a.map(function(e){return{results:e}}));e.initiator&&(t.performanceTimer&&rm.mark("auditAfterStart"),i=o.after(i,t),t.performanceTimer&&(rm.mark("auditAfterEnd"),rm.measure("audit.after","auditAfterStart","auditAfterEnd"),rm.logMeasures("audit.after")),i.forEach(mm),i=i.map(ha));try{r(i,Bb)}catch(e){Bb(),ra(e)}}catch(e){Bb(),n(e)}}).catch(function(e){Bb(),n(e)})}function jb(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(e){c._audit.registerCommand(e)})}i.top!==i&&(Fh.subscribe("axe.start",function(e,t,r){var n=r,a=function(e){e instanceof Error==0&&(e=new Error(e)),r(e)},o=e&&e.context||{};o.hasOwnProperty("include")&&!o.include.length&&(o.include=[l]);var i=e&&e.options||{};switch(e.command){case"rules":return Vb(o,i,function(e,t){e=Oh.mapRawResults(e),n(e),t()},a);case"cleanup-plugin":return qm(n,a);default:if(c._audit&&c._audit.commands&&c._audit.commands[e.command])return c._audit.commands[e.command](e,r)}}),Fh.subscribe("axe.ping",function(e,t,r){r({axe:!0})})),jb.prototype.run=function(){return this._run.apply(this,arguments)},jb.prototype.collect=function(){return this._collect.apply(this,arguments)},jb.prototype.cleanup=function(e){var t=c.utils.queue(),r=this;Object.keys(this._registry).forEach(function(e){t.defer(function(t){r._registry[e].cleanup(t)})}),t.then(e)},jb.prototype.add=function(e){this._registry[e.id]=e};function qb(e){var t,r,n,a=K(e,3),o=a[0],i=a[1],s=a[2],d=new TypeError("axe.run arguments are invalid");if(!Vf(o)){if(void 0!==s)throw d;s=i,i=o,o=l}if("object"!==u(i)){if(void 0!==s)throw d;s=i,i={}}if("function"!=typeof s&&void 0!==s)throw d;return(i=Fp(i)).reporter=null!==(t=null!==(r=i.reporter)&&void 0!==r?r:null===(n=c._audit)||void 0===n?void 0:n.reporter)&&void 0!==t?t:"v1",{context:o,options:i,callback:s}}var zb=function(){};function $b(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(e){return Oh.mergeSpecs(e,r)}):t}var Ub=function(e,t,r){if("function"==typeof t&&(r=t,t={}),!e||!Array.isArray(e))return r(e);r(e.map(function(e){for(var t=V({},e),r=0,n=["passes","violations","incomplete","inapplicable"];r<n.length;r++){var a=n[r];t[a]=Oh.mapRawNodeResults(t[a])}return t}))},Hb={base:{Audit:Tb,CheckResult:vb,Check:Db,Context:Ff,RuleResult:Eb,Rule:xb,metadataFunctionMap:gb},public:{reporters:zm},helpers:{failureSummary:nf,incompleteFallbackMessage:af,processAggregate:sf},utils:{setDefaultFrameMessenger:Ah,cacheNodeSelectors:Xh,getNodesMatchingExpression:Wh,convertSelector:Vp},commons:{dom:{nativelyHidden:Dl,displayHidden:El,visibilityHidden:xl,contentVisibiltyHidden:Al,ariaHidden:Cl,opacityHidden:Fl,scrollHidden:Tl,overflowHidden:kl,clipHidden:Rl,areaHidden:Nl,detailsHidden:Sl}}};c._thisWillBeDeletedDoNotUse=Hb,c.constants=ta,c.log=ra,c.AbstractVirtualNode=aa,c.SerialVirtualNode=jm,c.VirtualNode=wp,c._cache=ll,c.imports=Ta,c.cleanup=qm,c.configure=function(e){var t=c._audit;if(!t)throw new Error("No audit configured");if(e.axeVersion||e.ver){var r=e.axeVersion||e.ver;if(!/^\d+\.\d+\.\d+(-canary)?/.test(r))throw new Error("Invalid configured version ".concat(r));var n=K(r.split("-"),2),a=n[0],o=n[1],i=K(a.split(".").map(Number),3),s=i[0],l=i[1],u=i[2],d=K(c.version.split("-"),2),p=d[0],h=d[1],f=K(p.split(".").map(Number),3),m=f[0],g=f[1],v=f[2];if(s!==m||g<l||g===l&&v<u||s===m&&l===g&&u===v&&o&&o!==h)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(c.version))}if(e.reporter&&("function"==typeof e.reporter||$m(e.reporter))&&(t.reporter=e.reporter),e.checks){if(!Array.isArray(e.checks))throw new TypeError("Checks property must be an array");e.checks.forEach(function(e){if(!e.id)throw new TypeError("Configured check ".concat(JSON.stringify(e)," is invalid. Checks must be an object with at least an id property"));t.addCheck(e)})}var b,y=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach(function(e){if(!e.id)throw new TypeError("Configured rule ".concat(JSON.stringify(e)," is invalid. Rules must be an object with at least an id property"));y.push(e.id),t.addRule(e)})}if(e.disableOtherRules&&t.rules.forEach(function(e){!1===y.includes(e.id)&&(e.enabled=!1)}),void 0!==e.branding?t.setBranding(e.branding):t._constructHelpUrls(),e.tagExclude&&(t.tagExclude=e.tagExclude),e.locale&&t.applyLocale(e.locale),e.standards&&(b=e.standards,Object.keys(Xu).forEach(function(e){b[e]&&(Xu[e]=qh(Xu[e],b[e]))})),e.noHtml&&(t.noHtml=!0),e.allowedOrigins){if(!Array.isArray(e.allowedOrigins))throw new TypeError("Allowed origins property must be an array");if(e.allowedOrigins.includes("*"))throw new Error('"*" is not allowed. Use "'.concat(ta.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins)}},c.frameMessenger=function(e){Fh.updateMessenger(e)},c.getRules=function(e){var t=(e=e||[]).length?c._audit.rules.filter(function(t){return!!e.filter(function(e){return-1!==t.tags.indexOf(e)}).length}):c._audit.rules,r=c._audit.data.rules||{};return t.map(function(e){var t=r[e.id]||{};return{ruleId:e.id,description:t.description,help:t.help,helpUrl:t.helpUrl,tags:e.tags,actIds:e.actIds}})},c._load=function(e){c._audit=new Tb(e)},c.plugins={},c.registerPlugin=function(e){c.plugins[e.id]=new jb(e)},c.hasReporter=$m,c.getReporter=Um,c.addReporter=function(e,t,r){zm[e]=t,r&&(Vm=t)},c.reset=function(){var e=c._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),Object.keys(Xu).forEach(function(e){Xu[e]=Zu[e]})},c._runRules=Vb,c.runVirtualRule=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};r.reporter=r.reporter||c._audit.reporter||"v1",c._selectorData={},t instanceof aa||(t=new jm(t));var n=kf(e);if(!n)throw new Error("unknown rule `"+e+"`");var a={initiator:!0,include:[t],exclude:[],frames:[],page:!1,focusable:!0,size:{},flatTree:[]},o=(n=Object.create(n,{excludeHidden:{value:!1}})).runSync(a,r);mm(o),ha(o);var i=ga([o]);return i.violations.forEach(function(e){return e.nodes.forEach(function(e){e.failureSummary=nf(e)})}),V({},ff(),i,{toolOptions:r})},c.run=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];Lb(t[0]);var n=qb(t),a=n.context,o=n.options,i=n.callback,s=void 0===i?zb:i,l=function(e){var t,r,n;return"function"==typeof Promise&&e===zb?t=new Promise(function(e,t){r=t,n=e}):(n=function(t){return e(null,t)},r=function(t){return e(t)}),{thenable:t,reject:r,resolve:n}}(s),u=l.thenable,d=l.resolve,p=l.reject;try{ba(c._audit,"No audit configured"),ba(!c._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.")}catch(e){return function(e,t){if("function"!=typeof t||t===zb)throw e;t(e.message)}(e,s)}return c._running=!0,o.performanceTimer&&rm.start(),c._runRules(a,o,function(e,t){var r=function(e){c._running=!1,t();try{p(e)}catch(e){c.log(e)}};try{o.performanceTimer&&rm.mark("reporterStart"),function(e,t,r,n){var a=Um(t.reporter)(e,t,r,n);void 0!==a&&r(a)}(e,o,function(e){o.performanceTimer&&(rm.mark("reporterEnd"),rm.measure("reporter","reporterStart","reporterEnd"),rm.logMeasures("reporter"),rm.end()),c._running=!1,t();try{d(e)}catch(e){c.log(e)}},r)}catch(e){r(e)}},function(e){o.performanceTimer&&rm.end(),c._running=!1,s(e),p(e)}),u},c.setup=function(e){if(c._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&"object"===u(e.documentElement)&&"object"===u(e.defaultView)&&(e=e.documentElement),Lb(e),c._tree=Jh(e),c._selectorData=Ks(c._tree),c._tree[0]},c.teardown=Bb,c.runPartial=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=qb(t),a=n.options,o=n.context;ba(c._audit,"Axe is not configured. Audit is missing."),ba(!c._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");var i=new Ff(o,c._tree);return c._tree=i.flatTree,c._selectorData=Ks(i.flatTree),c._running=!0,a.elementRef=!1,new Promise(function(e,t){c._audit.run(i,a,e,t)}).then(function(e){e=Oh.mapRawResults(e);var t,r=i.frames.map(function(e){var t=e.node;return Oh.toSpec(t)});return i.initiator&&(t=ff()),c._running=!1,Bb(),{results:e,frames:r,environmentData:t}}).catch(function(e){return c._running=!1,Bb(),Promise.reject(e)})},c.finishRun=function(e){var t,r,n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a=Fp(a);var o=(e.find(function(e){return e.environmentData})||{}).environmentData;c._audit.normalizeOptions(a),a.reporter=null!==(t=null!==(r=a.reporter)&&void 0!==r?r:null===(n=c._audit)||void 0===n?void 0:n.reporter)&&void 0!==t?t:"v1",function(e){var t,r=[],n=te(e);try{for(n.s();!(t=n.n()).done;){var a=t.value,o=r.shift();if(a){a.frameSpec=null!=o?o:null;var i=$b(a);r.unshift.apply(r,j(i))}}}catch(e){n.e(e)}finally{n.f()}}(e);var i=Lh(e);return(i=c._audit.after(i,a)).forEach(mm),function(e,t){return new Promise(function(r,n){Um(t.reporter)(e,t,r,n)})}(i=i.map(ha),V({environmentData:o},a))},c.commons=qg,c.utils=oa,c.addReporter("na",function(e,t,r){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=O(n,C);r(V({},ff(a),{toolOptions:o},sf(e,t)))}),c.addReporter("no-passes",function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=O(n,F);t.resultTypes=["violations"];var i=sf(e,t).violations;r(V({},ff(a),{toolOptions:o,violations:i}))}),c.addReporter("rawEnv",function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=O(n,T);Ub(e,o,function(e){var t=ff(a);r({raw:e,env:t})})}),c.addReporter("raw",Ub),c.addReporter("v1",function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=O(n,k),i=sf(e,t),s=function(e){e.nodes.forEach(function(e){e.failureSummary=nf(e)})};i.incomplete.forEach(s),i.violations.forEach(s),r(V({},ff(a),{toolOptions:o},i))}),c.addReporter("v2",function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=O(n,R),i=sf(e,t);r(V({},ff(a),{toolOptions:o},i))},!0)}(),c._load({lang:"en",data:{rules:{accesskeys:{description:"Ensure every accesskey attribute value is unique",help:"accesskey attribute value should be unique"},"area-alt":{description:"Ensure <area> elements of image maps have alternative text",help:"Active <area> elements must have alternative text"},"aria-allowed-attr":{description:"Ensure an element's role supports its ARIA attributes",help:"Elements must only use supported ARIA attributes"},"aria-allowed-role":{description:"Ensure role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-braille-equivalent":{description:"Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent",help:"aria-braille attributes must have a non-braille equivalent"},"aria-command-name":{description:"Ensure every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-conditional-attr":{description:"Ensure ARIA attributes are used as described in the specification of the element's role",help:"ARIA attributes must be used as specified for the element's role"},"aria-deprecated-role":{description:"Ensure elements do not use deprecated roles",help:"Deprecated ARIA roles must not be used"},"aria-dialog-name":{description:"Ensure every ARIA dialog and alertdialog node has an accessible name",help:"ARIA dialog and alertdialog nodes should have an accessible name"},"aria-hidden-body":{description:'Ensure aria-hidden="true" is not present on the document body.',help:'aria-hidden="true" must not be present on the document body'},"aria-hidden-focus":{description:"Ensure aria-hidden elements are not focusable nor contain focusable elements",help:"ARIA hidden element must not be focusable or contain focusable elements"},"aria-input-field-name":{description:"Ensure every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensure every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensure every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-prohibited-attr":{description:"Ensure ARIA attributes are not prohibited for an element's role",help:"Elements must only use permitted ARIA attributes"},"aria-required-attr":{description:"Ensure elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensure elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensure elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roledescription":{description:"Ensure aria-roledescription is only used on elements with an implicit or explicit role",help:"aria-roledescription must be on elements with a semantic role"},"aria-roles":{description:"Ensure all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:'Ensure role="text" is used on elements with no focusable descendants',help:'"role=text" should have no focusable descendants'},"aria-toggle-field-name":{description:"Ensure every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensure every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensure every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensure all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensure attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensure <audio> elements have captions",help:"<audio> elements must have a captions track"},"autocomplete-valid":{description:"Ensure the autocomplete attribute is correct and suitable for the form field",help:"autocomplete attribute must be used correctly"},"avoid-inline-spacing":{description:"Ensure that text spacing set through style attributes can be adjusted with custom stylesheets",help:"Inline text spacing must be adjustable with custom stylesheets"},blink:{description:"Ensure <blink> elements are not used",help:"<blink> elements are deprecated and must not be used"},"button-name":{description:"Ensure buttons have discernible text",help:"Buttons must have discernible text"},bypass:{description:"Ensure each page has at least one mechanism for a user to bypass navigation and jump straight to the content",help:"Page must have means to bypass repeated blocks"},"color-contrast-enhanced":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds",help:"Elements must meet enhanced color contrast ratio thresholds"},"color-contrast":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",help:"Elements must meet minimum color contrast ratio thresholds"},"css-orientation-lock":{description:"Ensure content is not locked to any specific display orientation, and the content is operable in all display orientations",help:"CSS Media queries must not lock display orientation"},"definition-list":{description:"Ensure <dl> elements are structured correctly",help:"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements"},dlitem:{description:"Ensure <dt> and <dd> elements are contained by a <dl>",help:"<dt> and <dd> elements must be contained by a <dl>"},"document-title":{description:"Ensure each HTML document contains a non-empty <title> element",help:"Documents must have <title> element to aid in navigation"},"duplicate-id-active":{description:"Ensure every id attribute value of active elements is unique",help:"IDs of active elements must be unique"},"duplicate-id-aria":{description:"Ensure every id attribute value used in ARIA and in labels is unique",help:"IDs used in ARIA and labels must be unique"},"duplicate-id":{description:"Ensure every id attribute value is unique",help:"id attribute value must be unique"},"empty-heading":{description:"Ensure headings have discernible text",help:"Headings should not be empty"},"empty-table-header":{description:"Ensure table headers have discernible text",help:"Table header text should not be empty"},"focus-order-semantics":{description:"Ensure elements in the focus order have a role appropriate for interactive content",help:"Elements in the focus order should have an appropriate role"},"form-field-multiple-labels":{description:"Ensure form field does not have multiple label elements",help:"Form field must not have multiple label elements"},"frame-focusable-content":{description:"Ensure <frame> and <iframe> elements with focusable content do not have tabindex=-1",help:"Frames with focusable content must not have tabindex=-1"},"frame-tested":{description:"Ensure <iframe> and <frame> elements contain the axe-core script",help:"Frames should be tested with axe-core"},"frame-title-unique":{description:"Ensure <iframe> and <frame> elements contain a unique title attribute",help:"Frames must have a unique title attribute"},"frame-title":{description:"Ensure <iframe> and <frame> elements have an accessible name",help:"Frames must have an accessible name"},"heading-order":{description:"Ensure the order of headings is semantically correct",help:"Heading levels should only increase by one"},"hidden-content":{description:"Inform users about hidden content.",help:"Hidden content on the page should be analyzed"},"html-has-lang":{description:"Ensure every HTML document has a lang attribute",help:"<html> element must have a lang attribute"},"html-lang-valid":{description:"Ensure the lang attribute of the <html> element has a valid value",help:"<html> element must have a valid value for the lang attribute"},"html-xml-lang-mismatch":{description:"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page",help:"HTML elements with lang and xml:lang must have the same base language"},"identical-links-same-purpose":{description:"Ensure that links with the same accessible name serve a similar purpose",help:"Links with the same name must have a similar purpose"},"image-alt":{description:"Ensure <img> elements have alternative text or a role of none or presentation",help:"Images must have alternative text"},"image-redundant-alt":{description:"Ensure image alternative is not repeated as text",help:"Alternative text of images should not be repeated as text"},"input-button-name":{description:"Ensure input buttons have discernible text",help:"Input buttons must have discernible text"},"input-image-alt":{description:'Ensure <input type="image"> elements have alternative text',help:"Image buttons must have alternative text"},"label-content-name-mismatch":{description:"Ensure that elements labelled through their content must have their visible text as part of their accessible name",help:"Elements must have their visible text as part of their accessible name"},"label-title-only":{description:"Ensure that every form element has a visible label and is not solely labeled using hidden labels, or the title or aria-describedby attributes",help:"Form elements should have a visible label"},label:{description:"Ensure every form element has a label",help:"Form elements must have labels"},"landmark-banner-is-top-level":{description:"Ensure the banner landmark is at top level",help:"Banner landmark should not be contained in another landmark"},"landmark-complementary-is-top-level":{description:"Ensure the complementary landmark or aside is at top level",help:"Aside should not be contained in another landmark"},"landmark-contentinfo-is-top-level":{description:"Ensure the contentinfo landmark is at top level",help:"Contentinfo landmark should not be contained in another landmark"},"landmark-main-is-top-level":{description:"Ensure the main landmark is at top level",help:"Main landmark should not be contained in another landmark"},"landmark-no-duplicate-banner":{description:"Ensure the document has at most one banner landmark",help:"Document should not have more than one banner landmark"},"landmark-no-duplicate-contentinfo":{description:"Ensure the document has at most one contentinfo landmark",help:"Document should not have more than one contentinfo landmark"},"landmark-no-duplicate-main":{description:"Ensure the document has at most one main landmark",help:"Document should not have more than one main landmark"},"landmark-one-main":{description:"Ensure the document has a main landmark",help:"Document should have one main landmark"},"landmark-unique":{description:"Ensure landmarks are unique",help:"Landmarks should have a unique role or role/label/title (i.e. accessible name) combination"},"link-in-text-block":{description:"Ensure links are distinguished from surrounding text in a way that does not rely on color",help:"Links must be distinguishable without relying on color"},"link-name":{description:"Ensure links have discernible text",help:"Links must have discernible text"},list:{description:"Ensure that lists are structured correctly",help:"<ul> and <ol> must only directly contain <li>, <script> or <template> elements"},listitem:{description:"Ensure <li> elements are used semantically",help:"<li> elements must be contained in a <ul> or <ol>"},marquee:{description:"Ensure <marquee> elements are not used",help:"<marquee> elements are deprecated and must not be used"},"meta-refresh-no-exceptions":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh must not be used"},"meta-refresh":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh under 20 hours must not be used"},"meta-viewport-large":{description:'Ensure <meta name="viewport"> can scale a significant amount',help:"Users should be able to zoom and scale the text up to 500%"},"meta-viewport":{description:'Ensure <meta name="viewport"> does not disable text scaling and zooming',help:"Zooming and scaling must not be disabled"},"nested-interactive":{description:"Ensure interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",help:"Interactive controls must not be nested"},"no-autoplay-audio":{description:"Ensure <video> or <audio> elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio",help:"<video> or <audio> elements must not play automatically"},"object-alt":{description:"Ensure <object> elements have alternative text",help:"<object> elements must have alternative text"},"p-as-heading":{description:"Ensure bold, italic text and font-size is not used to style <p> elements as a heading",help:"Styled <p> elements must not be used as headings"},"page-has-heading-one":{description:"Ensure that the page, or at least one of its frames contains a level-one heading",help:"Page should contain a level-one heading"},"presentation-role-conflict":{description:"Ensure elements marked as presentational do not have global ARIA or tabindex so that all screen readers ignore them",help:"Elements marked as presentational should be consistently ignored"},region:{description:"Ensure all page content is contained by landmarks",help:"All page content should be contained by landmarks"},"role-img-alt":{description:'Ensure [role="img"] elements have alternative text',help:'[role="img"] elements must have alternative text'},"scope-attr-valid":{description:"Ensure the scope attribute is used correctly on tables",help:"scope attribute should be used correctly"},"scrollable-region-focusable":{description:"Ensure elements that have scrollable content are accessible by keyboard",help:"Scrollable region must have keyboard access"},"select-name":{description:"Ensure select element has an accessible name",help:"Select element must have an accessible name"},"server-side-image-map":{description:"Ensure that server-side image maps are not used",help:"Server-side image maps must not be used"},"skip-link":{description:"Ensure all skip links have a focusable target",help:"The skip-link target should exist and be focusable"},"summary-name":{description:"Ensure summary elements have discernible text",help:"Summary elements must have discernible text"},"svg-img-alt":{description:"Ensure <svg> elements with an img, graphics-document or graphics-symbol role have accessible text",help:"<svg> elements with an img role must have alternative text"},tabindex:{description:"Ensure tabindex attribute values are not greater than 0",help:"Elements should not have tabindex greater than zero"},"table-duplicate-name":{description:"Ensure the <caption> element does not contain the same text as the summary attribute",help:"Tables should not have the same summary and caption"},"table-fake-caption":{description:"Ensure that tables with a caption use the <caption> element.",help:"Data or header cells must not be used to give caption to a data table."},"target-size":{description:"Ensure touch targets have sufficient size and space",help:"All touch targets must be 24px large, or leave sufficient space"},"td-has-header":{description:"Ensure that each non-empty data cell in a <table> larger than 3 by 3 has one or more table headers",help:"Non-empty <td> elements in larger <table> must have an associated table header"},"td-headers-attr":{description:"Ensure that each cell in a table that uses the headers attribute refers only to other <th> elements in that table",help:"Table cell headers attributes must refer to other <th> elements in the same table"},"th-has-data-cells":{description:"Ensure that <th> elements and elements with role=columnheader/rowheader have data cells they describe",help:"Table headers in a data table must refer to data cells"},"valid-lang":{description:"Ensure lang attributes have valid values",help:"lang attribute must have a valid value"},"video-caption":{description:"Ensure <video> elements have captions",help:"<video> elements must have captions"}},checks:{abstractrole:{impact:"serious",messages:{pass:"Abstract roles are not used",fail:{singular:"Abstract role cannot be directly used: ${data.values}",plural:"Abstract roles cannot be directly used: ${data.values}"}}},"aria-allowed-attr":{impact:"critical",messages:{pass:"ARIA attributes are used correctly for the defined role",fail:{singular:"ARIA attribute is not allowed: ${data.values}",plural:"ARIA attributes are not allowed: ${data.values}"},incomplete:"Check that there is no problem if the ARIA attribute is ignored on this element: ${data.values}"}},"aria-allowed-role":{impact:"minor",messages:{pass:"ARIA role is allowed for given element",fail:{singular:"ARIA role ${data.values} is not allowed for given element",plural:"ARIA roles ${data.values} are not allowed for given element"},incomplete:{singular:"ARIA role ${data.values} must be removed when the element is made visible, as it is not allowed for the element",plural:"ARIA roles ${data.values} must be removed when the element is made visible, as they are not allowed for the element"}}},"aria-busy":{impact:"serious",messages:{pass:"Element has an aria-busy attribute",fail:'Element uses aria-busy="true" while showing a loader'}},"aria-conditional-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{checkbox:'Remove aria-checked, or set it to "${data.checkState}" to match the real checkbox state',rowSingular:"This attribute is supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}",rowPlural:"These attributes are supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}"}}},"aria-errormessage":{impact:"critical",messages:{pass:"aria-errormessage exists and references elements visible to screen readers that use a supported aria-errormessage technique",fail:{singular:"aria-errormessage value `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",plural:"aria-errormessage values `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",hidden:"aria-errormessage value `${data.values}` cannot reference a hidden element"},incomplete:{singular:"Ensure aria-errormessage value `${data.values}` references an existing element",plural:"Ensure aria-errormessage values `${data.values}` reference existing elements",idrefs:"Unable to determine if aria-errormessage element exists on the page: ${data.values}"}}},"aria-hidden-body":{impact:"critical",messages:{pass:"No aria-hidden attribute is present on document body",fail:"aria-hidden=true should not be present on the document body"}},"aria-level":{impact:"serious",messages:{pass:"aria-level values are valid",incomplete:"aria-level values greater than 6 are not supported in all screenreader and browser combinations"}},"aria-prohibited-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{hasRolePlural:'${data.prohibited} attributes cannot be used with role "${data.role}".',hasRoleSingular:'${data.prohibited} attribute cannot be used with role "${data.role}".',noRolePlural:"${data.prohibited} attributes cannot be used on a ${data.nodeName} with no valid role attribute.",noRoleSingular:"${data.prohibited} attribute cannot be used on a ${data.nodeName} with no valid role attribute."},incomplete:{hasRoleSingular:'${data.prohibited} attribute is not well supported with role "${data.role}".',hasRolePlural:'${data.prohibited} attributes are not well supported with role "${data.role}".',noRoleSingular:"${data.prohibited} attribute is not well supported on a ${data.nodeName} with no valid role attribute.",noRolePlural:"${data.prohibited} attributes are not well supported on a ${data.nodeName} with no valid role attribute."}}},"aria-required-attr":{impact:"critical",messages:{pass:"All required ARIA attributes are present",fail:{singular:"Required ARIA attribute not present: ${data.values}",plural:"Required ARIA attributes not present: ${data.values}"}}},"aria-required-children":{impact:"critical",messages:{pass:{default:"Required ARIA children are present","aria-busy":"Element has an aria-busy attribute, so it is allowed to omit required children"},fail:{singular:"Required ARIA child role not present: ${data.values}",plural:"Required ARIA children role not present: ${data.values}",unallowed:"Element has children which are not allowed: ${data.values}"},incomplete:{singular:"Expecting ARIA child role to be added: ${data.values}",plural:"Expecting ARIA children role to be added: ${data.values}"}}},"aria-required-parent":{impact:"critical",messages:{pass:"Required ARIA parent role present",fail:{singular:"Required ARIA parent role not present: ${data.values}",plural:"Required ARIA parents role not present: ${data.values}"}}},"aria-roledescription":{impact:"serious",messages:{pass:"aria-roledescription used on a supported semantic role",incomplete:"Check that the aria-roledescription is announced by supported screen readers",fail:"Give the element a role that supports aria-roledescription"}},"aria-unsupported-attr":{impact:"critical",messages:{pass:"ARIA attribute is supported",fail:"ARIA attribute is not widely supported in screen readers and assistive technologies: ${data.values}"}},"aria-valid-attr-value":{impact:"critical",messages:{pass:"ARIA attribute values are valid",fail:{singular:"Invalid ARIA attribute value: ${data.values}",plural:"Invalid ARIA attribute values: ${data.values}"},incomplete:{noId:"ARIA attribute element ID does not exist on the page: ${data.needsReview}",noIdShadow:"ARIA attribute element ID does not exist on the page or is a descendant of a different shadow DOM tree: ${data.needsReview}",ariaCurrent:'ARIA attribute value is invalid and will be treated as "aria-current=true": ${data.needsReview}',idrefs:"Unable to determine if ARIA attribute element ID exists on the page: ${data.needsReview}",empty:"ARIA attribute value is ignored while empty: ${data.needsReview}",controlsWithinPopup:"Unable to determine if aria-controls referenced ID exists on the page while using aria-haspopup: ${data.needsReview}"}}},"aria-valid-attr":{impact:"critical",messages:{pass:"ARIA attribute name is valid",fail:{singular:"Invalid ARIA attribute name: ${data.values}",plural:"Invalid ARIA attribute names: ${data.values}"}}},"braille-label-equivalent":{impact:"serious",messages:{pass:"aria-braillelabel is used on an element with accessible text",fail:"aria-braillelabel is used on an element with no accessible text",incomplete:"Unable to compute accessible text"}},"braille-roledescription-equivalent":{impact:"serious",messages:{pass:"aria-brailleroledescription is used on an element with aria-roledescription",fail:{noRoleDescription:"aria-brailleroledescription is used on an element with no aria-roledescription",emptyRoleDescription:"aria-brailleroledescription is used on an element with an empty aria-roledescription"}}},deprecatedrole:{impact:"minor",messages:{pass:"ARIA role is not deprecated",fail:"The role used is deprecated: ${data}"}},fallbackrole:{impact:"serious",messages:{pass:"Only one role value used",fail:"Use only one role value, since fallback roles are not supported in older browsers",incomplete:"Use only role 'presentation' or 'none' since they are synonymous."}},"has-global-aria-attribute":{impact:"minor",messages:{pass:{singular:"Element has global ARIA attribute: ${data.values}",plural:"Element has global ARIA attributes: ${data.values}"},fail:"Element does not have global ARIA attribute"}},"has-widget-role":{impact:"minor",messages:{pass:"Element has a widget role.",fail:"Element does not have a widget role."}},invalidrole:{impact:"critical",messages:{pass:"ARIA role is valid",fail:{singular:"Role must be one of the valid ARIA roles: ${data.values}",plural:"Roles must be one of the valid ARIA roles: ${data.values}"}}},"is-element-focusable":{impact:"minor",messages:{pass:"Element is focusable.",fail:"Element is not focusable."}},"no-implicit-explicit-label":{impact:"serious",messages:{pass:"There is no mismatch between a <label> and accessible name",incomplete:"Check that the <label> does not need be part of the ARIA ${data} field's name"}},unsupportedrole:{impact:"critical",messages:{pass:"ARIA role is supported",fail:"The role used is not widely supported in screen readers and assistive technologies: ${data}"}},"valid-scrollable-semantics":{impact:"minor",messages:{pass:"Element has valid semantics for an element in the focus order.",fail:"Element has invalid semantics for an element in the focus order."}},"color-contrast-enhanced":{impact:"serious",messages:{pass:"Element has sufficient color contrast of ${data.contrastRatio}",fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element"}}},"color-contrast":{impact:"serious",messages:{pass:{default:"Element has sufficient color contrast of ${data.contrastRatio}",hidden:"Element is hidden"},fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",complexTextShadows:"Element's contrast could not be determined because it uses complex text shadows",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element"}}},"link-in-text-block-style":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text by visual styling",incomplete:{default:"Check if the link needs styling to distinguish it from nearby text",pseudoContent:"Check if the link's pseudo style is sufficient to distinguish it from the surrounding text"},fail:"The link has no styling (such as underline) to distinguish it from the surrounding text"}},"link-in-text-block":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text in some way other than by color",fail:{fgContrast:"The link has insufficient color contrast of ${data.contrastRatio}:1 with the surrounding text. (Minimum contrast is ${data.requiredContrastRatio}:1, link text: ${data.nodeColor}, surrounding text: ${data.parentColor})",bgContrast:"The link background has insufficient color contrast of ${data.contrastRatio} (Minimum contrast is ${data.requiredContrastRatio}:1, link background color: ${data.nodeBackgroundColor}, surrounding background color: ${data.parentBackgroundColor})"},incomplete:{default:"Element's foreground contrast ratio could not be determined",bgContrast:"Element's background contrast ratio could not be determined",bgImage:"Element's contrast ratio could not be determined due to a background image",bgGradient:"Element's contrast ratio could not be determined due to a background gradient",imgNode:"Element's contrast ratio could not be determined because element contains an image node",bgOverlap:"Element's contrast ratio could not be determined because of element overlap"}}},"autocomplete-appropriate":{impact:"serious",messages:{pass:"The autocomplete value is on an appropriate element",fail:"The autocomplete value is inappropriate for this type of input"}},"autocomplete-valid":{impact:"serious",messages:{pass:"the autocomplete attribute is correctly formatted",fail:"the autocomplete attribute is incorrectly formatted",incomplete:"the autocomplete attribute has a non-standard value. Check whether any standard value could be used instead."}},accesskeys:{impact:"serious",messages:{pass:"Accesskey attribute value is unique",fail:"Document has multiple elements with the same accesskey"}},"focusable-content":{impact:"serious",messages:{pass:"Element contains focusable elements",fail:"Element should have focusable content"}},"focusable-disabled":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:"Focusable content should be disabled or be removed from the DOM"}},"focusable-element":{impact:"serious",messages:{pass:"Element is focusable",fail:"Element should be focusable"}},"focusable-modal-open":{impact:"serious",messages:{pass:"No focusable elements while a modal is open",incomplete:"Check that focusable elements are not tabbable in the current state"}},"focusable-no-name":{impact:"serious",messages:{pass:"Element is not in tab order or has accessible text",fail:"Element is in tab order and does not have accessible text",incomplete:"Unable to determine if element has an accessible name"}},"focusable-not-tabbable":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:'Focusable content should have tabindex="-1" or be removed from the DOM'}},"frame-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:"Element has focusable descendants",incomplete:"Could not determine if element has descendants"}},"landmark-is-top-level":{impact:"moderate",messages:{pass:"The ${data.role} landmark is at the top level.",fail:"The ${data.role} landmark is contained in another landmark."}},"no-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:{default:"Element has focusable descendants",notHidden:'Using a negative tabindex on an element inside an interactive control does not prevent assistive technologies from focusing the element (even with aria-hidden="true")'},incomplete:"Could not determine if element has descendants"}},"page-has-heading-one":{impact:"moderate",messages:{pass:"Page has at least one level-one heading",fail:"Page must have a level-one heading"}},"page-has-main":{impact:"moderate",messages:{pass:"Document has at least one main landmark",fail:"Document does not have a main landmark"}},"page-no-duplicate-banner":{impact:"moderate",messages:{pass:"Document does not have more than one banner landmark",fail:"Document has more than one banner landmark"}},"page-no-duplicate-contentinfo":{impact:"moderate",messages:{pass:"Document does not have more than one contentinfo landmark",fail:"Document has more than one contentinfo landmark"}},"page-no-duplicate-main":{impact:"moderate",messages:{pass:"Document does not have more than one main landmark",fail:"Document has more than one main landmark"}},tabindex:{impact:"serious",messages:{pass:"Element does not have a tabindex greater than 0",fail:"Element has a tabindex greater than 0"}},"alt-space-value":{impact:"critical",messages:{pass:"Element has a valid alt attribute value",fail:"Element has an alt attribute containing only a space character, which is not ignored by all screen readers"}},"duplicate-img-label":{impact:"minor",messages:{pass:"Element does not duplicate existing text in <img> alt text",fail:"Element contains <img> element with alt text that duplicates existing text"}},"explicit-label":{impact:"critical",messages:{pass:"Element has an explicit <label>",fail:"Element does not have an explicit <label>",incomplete:"Unable to determine if form element has an explicit <label>"}},"help-same-as-label":{impact:"minor",messages:{pass:"Help text (title or aria-describedby) does not duplicate label text",fail:"Help text (title or aria-describedby) text is the same as the label text"}},"hidden-explicit-label":{impact:"critical",messages:{pass:"Form element has a visible explicit <label>",fail:"Form element has explicit <label> that is hidden",incomplete:"Unable to determine if form element has explicit <label> that is hidden"}},"implicit-label":{impact:"critical",messages:{pass:"Element has an implicit (wrapped) <label>",fail:"Element does not have an implicit (wrapped) <label>",incomplete:"Unable to determine if form element has an implicit (wrapped) <label>"}},"label-content-name-mismatch":{impact:"serious",messages:{pass:"Element contains visible text as part of it's accessible name",fail:"Text inside the element is not included in the accessible name"}},"multiple-label":{impact:"moderate",messages:{pass:"Form field does not have multiple label elements",incomplete:"Multiple label elements is not widely supported in assistive technologies. Ensure the first label contains all necessary information."}},"title-only":{impact:"serious",messages:{pass:"Form element does not solely use title attribute for its label",fail:"Only title used to generate label for form element"}},"landmark-is-unique":{impact:"moderate",messages:{pass:"Landmarks must have a unique role or role/label/title (i.e. accessible name) combination",fail:"The landmark must have a unique aria-label, aria-labelledby, or title to make landmarks distinguishable"}},"has-lang":{impact:"serious",messages:{pass:"The <html> element has a lang attribute",fail:{noXHTML:"The xml:lang attribute is not valid on HTML pages, use the lang attribute.",noLang:"The <html> element does not have a lang attribute"}}},"valid-lang":{impact:"serious",messages:{pass:"Value of lang attribute is included in the list of valid languages",fail:"Value of lang attribute not included in the list of valid languages"}},"xml-lang-mismatch":{impact:"moderate",messages:{pass:"Lang and xml:lang attributes have the same base language",fail:"Lang and xml:lang attributes do not have the same base language"}},dlitem:{impact:"serious",messages:{pass:"Description list item has a <dl> parent element",fail:"Description list item does not have a <dl> parent element"}},listitem:{impact:"serious",messages:{pass:'List item has a <ul>, <ol> or role="list" parent element',fail:{default:"List item does not have a <ul>, <ol> parent element",roleNotValid:'List item parent element has a role that is not role="list"'}}},"only-dlitems":{impact:"serious",messages:{pass:"dl element only has direct children that are allowed inside; <dt>, <dd>, or <div> elements",fail:"dl element has direct children that are not allowed: ${data.values}"}},"only-listitems":{impact:"serious",messages:{pass:"List element only has direct children that are allowed inside <li> elements",fail:"List element has direct children that are not allowed: ${data.values}"}},"structured-dlitems":{impact:"serious",messages:{pass:"When not empty, element has both <dt> and <dd> elements",fail:"When not empty, element does not have at least one <dt> element followed by at least one <dd> element"}},caption:{impact:"critical",messages:{pass:"The multimedia element has a captions track",incomplete:"Check that captions are available for the element"}},"frame-tested":{impact:"critical",messages:{pass:"The iframe was tested with axe-core",fail:"The iframe could not be tested with axe-core",incomplete:"The iframe still has to be tested with axe-core"}},"no-autoplay-audio":{impact:"moderate",messages:{pass:"<video> or <audio> does not output audio for more than allowed duration or has controls mechanism",fail:"<video> or <audio> outputs audio for more than allowed duration and does not have a controls mechanism",incomplete:"Check that the <video> or <audio> does not output audio for more than allowed duration or provides a controls mechanism"}},"css-orientation-lock":{impact:"serious",messages:{pass:"Display is operable, and orientation lock does not exist",fail:"CSS Orientation lock is applied, and makes display inoperable",incomplete:"CSS Orientation lock cannot be determined"}},"meta-viewport-large":{impact:"minor",messages:{pass:"<meta> tag does not prevent significant zooming on mobile devices",fail:"<meta> tag limits zooming on mobile devices"}},"meta-viewport":{impact:"critical",messages:{pass:"<meta> tag does not disable zooming on mobile devices",fail:"${data} on <meta> tag disables zooming on mobile devices"}},"target-offset":{impact:"serious",messages:{pass:{default:"Target has sufficient space from its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px which is at least ${data.minOffset}px.",large:"Target far exceeds the minimum size of ${data.minOffset}px."},fail:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px.",incomplete:{default:"Element with negative tabindex has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is this a target?",nonTabbableNeighbor:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"target-size":{impact:"serious",messages:{pass:{default:"Control has sufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",obscured:"Control is ignored because it is fully obscured and thus not clickable",large:"Target far exceeds the minimum size of ${data.minSize}px."},fail:{default:"Target has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",partiallyObscured:"Target has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)"},incomplete:{default:"Element with negative tabindex has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",contentOverflow:"Element size could not be accurately determined due to overflow content",partiallyObscured:"Element with negative tabindex has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",partiallyObscuredNonTabbable:"Target has insufficient size because it is partially obscured by a neighbor with negative tabindex (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"header-present":{impact:"serious",messages:{pass:"Page has a heading",fail:"Page does not have a heading"}},"heading-order":{impact:"moderate",messages:{pass:"Heading order valid",fail:"Heading order invalid",incomplete:"Unable to determine previous heading"}},"identical-links-same-purpose":{impact:"minor",messages:{pass:"There are no other links with the same name, that go to a different URL",incomplete:"Check that links have the same purpose, or are intentionally ambiguous."}},"internal-link-present":{impact:"serious",messages:{pass:"Valid skip link found",fail:"No valid skip link found"}},landmark:{impact:"serious",messages:{pass:"Page has a landmark region",fail:"Page does not have a landmark region"}},"meta-refresh-no-exceptions":{impact:"minor",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page"}},"meta-refresh":{impact:"critical",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page (less than 20 hours)"}},"p-as-heading":{impact:"serious",messages:{pass:"<p> elements are not styled as headings",fail:"Heading elements should be used instead of styled <p> elements",incomplete:"Unable to determine if <p> elements are styled as headings"}},region:{impact:"moderate",messages:{pass:"All page content is contained by landmarks",fail:"Some page content is not contained by landmarks"}},"skip-link":{impact:"moderate",messages:{pass:"Skip link target exists",incomplete:"Skip link target should become visible on activation",fail:"No skip link target"}},"unique-frame-title":{impact:"serious",messages:{pass:"Element's title attribute is unique",fail:"Element's title attribute is not unique"}},"duplicate-id-active":{impact:"serious",messages:{pass:"Document has no active elements that share the same id attribute",fail:"Document has active elements with the same id attribute: ${data}"}},"duplicate-id-aria":{impact:"critical",messages:{pass:"Document has no elements referenced with ARIA or labels that share the same id attribute",fail:"Document has multiple elements referenced with ARIA with the same id attribute: ${data}"}},"duplicate-id":{impact:"minor",messages:{pass:"Document has no static elements that share the same id attribute",fail:"Document has multiple static elements with the same id attribute: ${data}"}},"aria-label":{impact:"serious",messages:{pass:"aria-label attribute exists and is not empty",fail:"aria-label attribute does not exist or is empty"}},"aria-labelledby":{impact:"serious",messages:{pass:"aria-labelledby attribute exists and references elements that are visible to screen readers",fail:"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty",incomplete:"Ensure aria-labelledby references an existing element"}},"avoid-inline-spacing":{impact:"serious",messages:{pass:"No inline styles with '!important' that affect text spacing has been specified",fail:{singular:"Remove '!important' from inline style ${data.values}, as overriding this is not supported by most browsers",plural:"Remove '!important' from inline styles ${data.values}, as overriding this is not supported by most browsers"}}},"button-has-visible-text":{impact:"critical",messages:{pass:"Element has inner text that is visible to screen readers",fail:"Element does not have inner text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"doc-has-title":{impact:"serious",messages:{pass:"Document has a non-empty <title> element",fail:"Document does not have a non-empty <title> element"}},"error-occurred":{messages:{pass:"",incomplete:"Axe encountered an error; test the page for this type of problem manually"}},exists:{impact:"minor",messages:{pass:"Element does not exist",incomplete:"Element exists"}},"has-alt":{impact:"critical",messages:{pass:"Element has an alt attribute",fail:"Element does not have an alt attribute"}},"has-visible-text":{impact:"minor",messages:{pass:"Element has text that is visible to screen readers",fail:"Element does not have text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"important-letter-spacing":{impact:"serious",messages:{pass:"Letter-spacing in the style attribute is not set to !important, or meets the minimum",fail:"letter-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-line-height":{impact:"serious",messages:{pass:"line-height in the style attribute is not set to !important, or meets the minimum",fail:"line-height in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-word-spacing":{impact:"serious",messages:{pass:"word-spacing in the style attribute is not set to !important, or meets the minimum",fail:"word-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"is-on-screen":{impact:"serious",messages:{pass:"Element is not visible",fail:"Element is visible"}},"non-empty-alt":{impact:"critical",messages:{pass:"Element has a non-empty alt attribute",fail:{noAttr:"Element has no alt attribute",emptyAttr:"Element has an empty alt attribute"}}},"non-empty-if-present":{impact:"critical",messages:{pass:{default:"Element does not have a value attribute","has-label":"Element has a non-empty value attribute"},fail:"Element has a value attribute and the value attribute is empty"}},"non-empty-placeholder":{impact:"serious",messages:{pass:"Element has a placeholder attribute",fail:{noAttr:"Element has no placeholder attribute",emptyAttr:"Element has an empty placeholder attribute"}}},"non-empty-title":{impact:"serious",messages:{pass:"Element has a title attribute",fail:{noAttr:"Element has no title attribute",emptyAttr:"Element has an empty title attribute"}}},"non-empty-value":{impact:"critical",messages:{pass:"Element has a non-empty value attribute",fail:{noAttr:"Element has no value attribute",emptyAttr:"Element has an empty value attribute"}}},"presentational-role":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="${data.role}"',fail:{default:'Element\'s default semantics were not overridden with role="none" or role="presentation"',globalAria:"Element's role is not presentational because it has a global ARIA attribute",focusable:"Element's role is not presentational because it is focusable",both:"Element's role is not presentational because it has a global ARIA attribute and is focusable",iframe:'Using the "title" attribute on an ${data.nodeName} element with a presentational role behaves inconsistently between screen readers'}}},"role-none":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="none"',fail:'Element\'s default semantics were not overridden with role="none"'}},"role-presentation":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="presentation"',fail:'Element\'s default semantics were not overridden with role="presentation"'}},"svg-non-empty-title":{impact:"serious",messages:{pass:"Element has a child that is a title",fail:{noTitle:"Element has no child that is a title",emptyTitle:"Element child title is empty"},incomplete:"Unable to determine element has a child that is a title"}},"caption-faked":{impact:"serious",messages:{pass:"The first row of a table is not used as a caption",fail:"The first child of the table should be a caption instead of a table cell"}},"html5-scope":{impact:"moderate",messages:{pass:"Scope attribute is only used on table header elements (<th>)",fail:"In HTML 5, scope attributes may only be used on table header elements (<th>)"}},"same-caption-summary":{impact:"minor",messages:{pass:"Content of summary attribute and <caption> are not duplicated",fail:"Content of summary attribute and <caption> element are identical",incomplete:"Unable to determine if <table> element has a caption"}},"scope-value":{impact:"critical",messages:{pass:"Scope attribute is used correctly",fail:"The value of the scope attribute may only be 'row' or 'col'"}},"td-has-header":{impact:"critical",messages:{pass:"All non-empty data cells have table headers",fail:"Some non-empty data cells do not have table headers"}},"td-headers-attr":{impact:"serious",messages:{pass:"The headers attribute is exclusively used to refer to other header cells in the table",incomplete:"The headers attribute is empty",fail:{"cell-header-not-in-table":"The headers attribute is not exclusively used to refer to other header cells in the table","cell-header-not-th":"The headers attribute must refer to header cells, not data cells","header-refs-self":"The element with headers attribute refers to itself"}}},"th-has-data-cells":{impact:"serious",messages:{pass:"All table header cells refer to data cells",fail:"Not all table header cells refer to data cells",incomplete:"Table data cells are missing or empty"}},"hidden-content":{impact:"minor",messages:{pass:"All content on the page has been analyzed.",fail:"There were problems analyzing the content on this page.",incomplete:"There is hidden content on the page that was not analyzed. You will need to trigger the display of this content in order to analyze it."}}},failureSummaries:{any:{failureMessage:function(e){var t="Fix any of the following:",r=e;if(r)for(var n=-1,a=r.length-1;n<a;)t+="\n "+r[n+=1].split("\n").join("\n ");return t}},none:{failureMessage:function(e){var t="Fix all of the following:",r=e;if(r)for(var n=-1,a=r.length-1;n<a;)t+="\n "+r[n+=1].split("\n").join("\n ");return t}}},incompleteFallbackMessage:"axe couldn't tell the reason. Time to break out the element inspector!"},rules:[{id:"accesskeys",impact:"serious",selector:"[accesskey]",excludeHidden:!1,tags:["cat.keyboard","best-practice"],all:[],any:[],none:["accesskeys"]},{id:"area-alt",impact:"critical",selector:"map area[href]",excludeHidden:!1,tags:["cat.text-alternatives","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.2"],actIds:["c487ae"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-allowed-attr",impact:"critical",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-allowed-attr"}],any:[],none:["aria-unsupported-attr"]},{id:"aria-allowed-role",impact:"minor",excludeHidden:!1,selector:"[role]",matches:"aria-allowed-role-matches",tags:["cat.aria","best-practice"],all:[],any:[{options:{allowImplicit:!0,ignoredTags:[]},id:"aria-allowed-role"}],none:[]},{id:"aria-braille-equivalent",reviewOnFail:!0,impact:"serious",selector:"[aria-brailleroledescription], [aria-braillelabel]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:["braille-roledescription-equivalent","braille-label-equivalent"],any:[],none:[]},{id:"aria-command-name",impact:"serious",selector:'[role="link"], [role="button"], [role="menuitem"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-conditional-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-conditional-attr"}],any:[],none:[]},{id:"aria-deprecated-role",impact:"minor",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["deprecatedrole"]},{id:"aria-dialog-name",impact:"serious",selector:'[role="dialog"], [role="alertdialog"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-hidden-body",impact:"critical",selector:"body",excludeHidden:!1,matches:"is-initiator-matches",tags:["cat.aria","wcag2a","wcag131","wcag412","EN-301-549","EN-9.1.3.1","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],all:[],any:["aria-hidden-body"],none:[]},{id:"aria-hidden-focus",impact:"serious",selector:'[aria-hidden="true"]',matches:"aria-hidden-focus-matches",excludeHidden:!1,tags:["cat.name-role-value","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["6cfa84"],all:["focusable-modal-open","focusable-disabled","focusable-not-tabbable"],any:[],none:[]},{id:"aria-input-field-name",impact:"serious",selector:'[role="combobox"], [role="listbox"], [role="searchbox"], [role="slider"], [role="spinbutton"], [role="textbox"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-meter-name",impact:"serious",selector:'[role="meter"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-progressbar-name",impact:"serious",selector:'[role="progressbar"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-prohibited-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[],any:[],none:[{options:{elementsAllowedAriaLabel:["applet","input"]},id:"aria-prohibited-attr"}]},{id:"aria-required-attr",impact:"critical",selector:"[role]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["4e8ab6"],all:[],any:["aria-required-attr"],none:[]},{id:"aria-required-children",impact:"critical",selector:"[role]",matches:"aria-required-children-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["bc4a75","ff89c9"],all:[],any:[{options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]},id:"aria-required-children"}],none:[]},{id:"aria-required-parent",impact:"critical",selector:"[role]",matches:"aria-required-parent-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["ff89c9"],all:[],any:[{options:{ownGroupRoles:["listitem","treeitem"]},id:"aria-required-parent"}],none:[]},{id:"aria-roledescription",impact:"serious",selector:"[aria-roledescription]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","deprecated"],enabled:!1,all:[],any:[{options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]},id:"aria-roledescription"}],none:[]},{id:"aria-roles",impact:"critical",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["invalidrole","abstractrole","unsupportedrole"]},{id:"aria-text",impact:"serious",selector:"[role=text]",tags:["cat.aria","best-practice"],all:[],any:["no-focusable-content"],none:[]},{id:"aria-toggle-field-name",impact:"serious",selector:'[role="checkbox"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="radio"], [role="switch"], [role="option"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-7.1.1"],actIds:["e086e5"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-tooltip-name",impact:"serious",selector:'[role="tooltip"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-treeitem-name",impact:"serious",selector:'[role="treeitem"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-valid-attr-value",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["6a7281"],all:[{options:[],id:"aria-valid-attr-value"},"aria-errormessage","aria-level"],any:[],none:[]},{id:"aria-valid-attr",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5f99a7"],all:[],any:[{options:[],id:"aria-valid-attr"}],none:[]},{id:"audio-caption",impact:"critical",selector:"audio",enabled:!1,excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag121","EN-301-549","EN-9.1.2.1","section508","section508.22.a","deprecated"],actIds:["2eb176","afb423"],all:[],any:[],none:["caption"]},{id:"autocomplete-valid",impact:"serious",matches:"autocomplete-matches",tags:["cat.forms","wcag21aa","wcag135","EN-301-549","EN-9.1.3.5","ACT","RGAAv4","RGAA-11.13.1"],actIds:["73f2c2"],all:[{options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]},id:"autocomplete-valid"}],any:[],none:[]},{id:"avoid-inline-spacing",impact:"serious",selector:"[style]",matches:"is-visible-on-screen-matches",tags:["cat.structure","wcag21aa","wcag1412","EN-301-549","EN-9.1.4.12","ACT"],actIds:["24afc2","9e45ec","78fd32"],all:[{options:{cssProperty:"letter-spacing",minValue:.12},id:"important-letter-spacing"},{options:{cssProperty:"word-spacing",minValue:.16},id:"important-word-spacing"},{options:{multiLineOnly:!0,cssProperty:"line-height",minValue:1.5,normalValue:1},id:"important-line-height"}],any:[],none:[]},{id:"blink",impact:"serious",selector:"blink",excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"button-name",impact:"critical",selector:"button",matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1","m6b1q3"],all:[],any:["button-has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"bypass",impact:"serious",selector:"html",pageLevel:!0,matches:"bypass-matches",reviewOnFail:!0,tags:["cat.keyboard","wcag2a","wcag241","section508","section508.22.o","TTv5","TT9.a","EN-301-549","EN-9.2.4.1","RGAAv4","RGAA-12.7.1"],actIds:["cf77f2","047fe0","b40fd1","3e12e1","ye5d6e"],all:[],any:["internal-link-present",{options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"},id:"header-present"},{options:{selector:"main, [role=main]"},id:"landmark"}],none:[]},{id:"color-contrast-enhanced",impact:"serious",matches:"color-contrast-matches",excludeHidden:!1,enabled:!1,tags:["cat.color","wcag2aaa","wcag146","ACT"],actIds:["09o5cg"],all:[],any:[{options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03},id:"color-contrast-enhanced"}],none:[]},{id:"color-contrast",impact:"serious",matches:"color-contrast-matches",excludeHidden:!1,tags:["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","ACT","RGAAv4","RGAA-3.2.1"],actIds:["afw4f7","09o5cg"],all:[],any:[{options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03},id:"color-contrast"}],none:[]},{id:"css-orientation-lock",impact:"serious",selector:"html",tags:["cat.structure","wcag134","wcag21aa","EN-301-549","EN-9.1.3.4","RGAAv4","RGAA-13.9.1","experimental"],actIds:["b33eff"],all:[{options:{degreeThreshold:2},id:"css-orientation-lock"}],any:[],none:[],preload:!0},{id:"definition-list",impact:"serious",selector:"dl",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:[],none:["structured-dlitems",{options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:!0},id:"only-dlitems"}]},{id:"dlitem",impact:"serious",selector:"dd, dt",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:["dlitem"],none:[]},{id:"document-title",impact:"serious",selector:"html",matches:"is-initiator-matches",tags:["cat.text-alternatives","wcag2a","wcag242","TTv5","TT12.a","EN-301-549","EN-9.2.4.2","ACT","RGAAv4","RGAA-8.5.1"],actIds:["2779a5"],all:[],any:["doc-has-title"],none:[]},{id:"duplicate-id-active",impact:"serious",selector:"[id]",matches:"duplicate-id-active-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:!1,actIds:["3ea0c8"],all:[],any:["duplicate-id-active"],none:[]},{id:"duplicate-id-aria",impact:"critical",selector:"[id]",matches:"duplicate-id-aria-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-8.2.1"],reviewOnFail:!0,actIds:["3ea0c8"],all:[],any:["duplicate-id-aria"],none:[]},{id:"duplicate-id",impact:"minor",selector:"[id]",matches:"duplicate-id-misc-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:!1,actIds:["3ea0c8"],all:[],any:["duplicate-id"],none:[]},{id:"empty-heading",impact:"minor",selector:'h1, h2, h3, h4, h5, h6, [role="heading"]',matches:"heading-matches",tags:["cat.name-role-value","best-practice"],actIds:["ffd0e9"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"empty-table-header",impact:"minor",selector:'th:not([role]), [role="rowheader"], [role="columnheader"]',tags:["cat.name-role-value","best-practice"],all:[],any:["has-visible-text"],none:[]},{id:"focus-order-semantics",impact:"minor",selector:"div, h1, h2, h3, h4, h5, h6, [role=heading], p, span",matches:"inserted-into-focus-order-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.8.1","experimental"],all:[],any:[{options:[],id:"has-widget-role"},{options:{roles:["tooltip"]},id:"valid-scrollable-semantics"}],none:[]},{id:"form-field-multiple-labels",impact:"moderate",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag332","TTv5","TT5.c","EN-301-549","EN-9.3.3.2","RGAAv4","RGAA-11.2.1"],all:[],any:[],none:["multiple-label"]},{id:"frame-focusable-content",impact:"serious",selector:"html",matches:"frame-focusable-content-matches",tags:["cat.keyboard","wcag2a","wcag211","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-7.3.2"],actIds:["akn7bn"],all:[],any:["frame-focusable-content"],none:[]},{id:"frame-tested",impact:"critical",selector:"html, frame, iframe",tags:["cat.structure","best-practice","review-item"],all:[{options:{isViolation:!1},id:"frame-tested"}],any:[],none:[]},{id:"frame-title-unique",impact:"serious",selector:"frame[title], iframe[title]",matches:"frame-title-has-text-matches",tags:["cat.text-alternatives","wcag2a","wcag412","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.2.1"],actIds:["4b1c6c"],all:[],any:[],none:["unique-frame-title"],reviewOnFail:!0},{id:"frame-title",impact:"serious",selector:"frame, iframe",matches:"no-negative-tabindex-matches",tags:["cat.text-alternatives","wcag2a","wcag412","section508","section508.22.i","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.1.1"],actIds:["cae760"],all:[],any:[{options:{attribute:"title"},id:"non-empty-title"},"aria-label","aria-labelledby","presentational-role"],none:[]},{id:"heading-order",impact:"moderate",selector:"h1, h2, h3, h4, h5, h6, [role=heading]",matches:"heading-matches",tags:["cat.semantics","best-practice"],all:[],any:["heading-order"],none:[]},{id:"hidden-content",impact:"minor",selector:"*",excludeHidden:!1,tags:["cat.structure","best-practice","experimental","review-item"],all:[],any:["hidden-content"],none:[]},{id:"html-has-lang",impact:"serious",selector:"html",matches:"is-initiator-matches",tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["b5c3f8"],all:[],any:[{options:{attributes:["lang","xml:lang"]},id:"has-lang"}],none:[]},{id:"html-lang-valid",impact:"serious",selector:'html[lang]:not([lang=""]), html[xml\\:lang]:not([xml\\:lang=""])',tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.4.1"],actIds:["bf051a"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"html-xml-lang-mismatch",impact:"moderate",selector:"html[lang][xml\\:lang]",matches:"xml-lang-mismatch-matches",tags:["cat.language","wcag2a","wcag311","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["5b7ae0"],all:["xml-lang-mismatch"],any:[],none:[]},{id:"identical-links-same-purpose",impact:"minor",selector:'a[href], area[href], [role="link"]',excludeHidden:!1,enabled:!1,matches:"identical-links-same-purpose-matches",tags:["cat.semantics","wcag2aaa","wcag249"],actIds:["b20e66"],all:["identical-links-same-purpose"],any:[],none:[]},{id:"image-alt",impact:"critical",selector:"img",matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","TT7.b","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["has-alt","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["alt-space-value"]},{id:"image-redundant-alt",impact:"minor",selector:"img",tags:["cat.text-alternatives","best-practice"],all:[],any:[],none:[{options:{parentSelector:"button, [role=button], a[href], p, li, td, th"},id:"duplicate-img-label"}]},{id:"input-button-name",impact:"critical",selector:'input[type="button"], input[type="submit"], input[type="reset"]',matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["non-empty-if-present",{options:{attribute:"value"},id:"non-empty-value"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"input-image-alt",impact:"critical",selector:'input[type="image"]',matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","wcag412","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.3"],actIds:["59796f"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label"],none:[]},{id:"label-content-name-mismatch",impact:"serious",matches:"label-content-name-mismatch-matches",tags:["cat.semantics","wcag21a","wcag253","EN-301-549","EN-9.2.5.3","RGAAv4","RGAA-6.1.5","experimental"],actIds:["2ee8b8"],all:[],any:[{options:{pixelThreshold:.1,occurrenceThreshold:3},id:"label-content-name-mismatch"}],none:[]},{id:"label-title-only",impact:"serious",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","best-practice"],all:[],any:[],none:["title-only"]},{id:"label",impact:"critical",selector:"input, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},{options:{attribute:"placeholder"},id:"non-empty-placeholder"},"presentational-role"],none:["hidden-explicit-label"]},{id:"landmark-banner-is-top-level",impact:"moderate",selector:"header:not([role]), [role=banner]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-complementary-is-top-level",impact:"moderate",selector:"aside:not([role]), [role=complementary]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-contentinfo-is-top-level",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-main-is-top-level",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-no-duplicate-banner",impact:"moderate",selector:"header:not([role]), [role=banner]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"header:not([role]), [role=banner]",role:"banner"},id:"page-no-duplicate-banner"}],none:[]},{id:"landmark-no-duplicate-contentinfo",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"},id:"page-no-duplicate-contentinfo"}],none:[]},{id:"landmark-no-duplicate-main",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"main:not([role]), [role='main']"},id:"page-no-duplicate-main"}],none:[]},{id:"landmark-one-main",impact:"moderate",selector:"html",tags:["cat.semantics","best-practice"],all:[{options:{selector:"main:not([role]), [role='main']",passForModal:!0},id:"page-has-main"}],any:[],none:[]},{id:"landmark-unique",impact:"moderate",selector:"[role=banner], [role=complementary], [role=contentinfo], [role=main], [role=navigation], [role=region], [role=search], [role=form], form, footer, header, aside, main, nav, section",tags:["cat.semantics","best-practice"],matches:"landmark-unique-matches",all:[],any:["landmark-is-unique"],none:[]},{id:"link-in-text-block",impact:"serious",selector:"a[href], [role=link]",matches:"link-in-text-block-matches",excludeHidden:!1,tags:["cat.color","wcag2a","wcag141","TTv5","TT13.a","EN-301-549","EN-9.1.4.1","RGAAv4","RGAA-10.6.1"],all:[],any:[{options:{requiredContrastRatio:3,allowSameColor:!0},id:"link-in-text-block"},"link-in-text-block-style"],none:[]},{id:"link-name",impact:"serious",selector:"a[href]",tags:["cat.name-role-value","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-6.2.1"],actIds:["c487ae"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["focusable-no-name"]},{id:"list",impact:"serious",selector:"ul, ol",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:[],none:[{options:{validRoles:["listitem"],validNodeNames:["li"]},id:"only-listitems"}]},{id:"listitem",impact:"serious",selector:"li",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:["listitem"],none:[]},{id:"marquee",impact:"serious",selector:"marquee",excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag222","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"meta-refresh-no-exceptions",impact:"minor",selector:'meta[http-equiv="refresh"][content]',excludeHidden:!1,enabled:!1,tags:["cat.time-and-media","wcag2aaa","wcag224","wcag325"],actIds:["bisz58"],all:[],any:[{options:{minDelay:72e3,maxDelay:!1},id:"meta-refresh-no-exceptions"}],none:[]},{id:"meta-refresh",impact:"critical",selector:'meta[http-equiv="refresh"][content]',excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag221","TTv5","TT8.a","EN-301-549","EN-9.2.2.1","RGAAv4","RGAA-13.1.2"],actIds:["bc659a","bisz58"],all:[],any:[{options:{minDelay:0,maxDelay:72e3},id:"meta-refresh"}],none:[]},{id:"meta-viewport-large",impact:"minor",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:!1,tags:["cat.sensory-and-visual-cues","best-practice"],all:[],any:[{options:{scaleMinimum:5,lowerBound:2},id:"meta-viewport-large"}],none:[]},{id:"meta-viewport",impact:"moderate",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:!1,tags:["cat.sensory-and-visual-cues","wcag2aa","wcag144","EN-301-549","EN-9.1.4.4","ACT","RGAAv4","RGAA-10.4.2"],actIds:["b4f0c3"],all:[],any:[{options:{scaleMinimum:2},id:"meta-viewport"}],none:[]},{id:"nested-interactive",impact:"serious",matches:"nested-interactive-matches",tags:["cat.keyboard","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["307n5z"],all:[],any:["no-focusable-content"],none:[]},{id:"no-autoplay-audio",impact:"moderate",excludeHidden:!1,selector:"audio[autoplay], video[autoplay]",matches:"no-autoplay-audio-matches",reviewOnFail:!0,tags:["cat.time-and-media","wcag2a","wcag142","TTv5","TT2.a","EN-301-549","EN-9.1.4.2","ACT","RGAAv4","RGAA-4.10.1"],actIds:["80f0bf"],preload:!0,all:[{options:{allowedDuration:3},id:"no-autoplay-audio"}],any:[],none:[]},{id:"object-alt",impact:"serious",selector:"object[data]",matches:"object-is-loaded-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-1.1.6"],actIds:["8fc3b6"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"p-as-heading",impact:"serious",selector:"p",matches:"p-as-heading-matches",tags:["cat.semantics","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.1.3","experimental"],all:[{options:{margins:[{weight:150,italic:!0},{weight:150,size:1.15},{italic:!0,size:1.15},{size:1.4}],passLength:1,failLength:.5},id:"p-as-heading"}],any:[],none:[]},{id:"page-has-heading-one",impact:"moderate",selector:"html",tags:["cat.semantics","best-practice"],all:[{options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:!0},id:"page-has-heading-one"}],any:[],none:[]},{id:"presentation-role-conflict",impact:"minor",selector:'img[alt=\'\'], [role="none"], [role="presentation"]',matches:"has-implicit-chromium-role-matches",tags:["cat.aria","best-practice","ACT"],actIds:["46ca7f"],all:[],any:[],none:["is-element-focusable","has-global-aria-attribute"]},{id:"region",impact:"moderate",selector:"body *",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-9.2.1"],all:[],any:[{options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"},id:"region"}],none:[]},{id:"role-img-alt",impact:"serious",selector:"[role='img']:not(img, area, input, object)",matches:"html-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"scope-attr-valid",impact:"moderate",selector:"td[scope], th[scope]",tags:["cat.tables","best-practice"],all:["html5-scope",{options:{values:["row","col","rowgroup","colgroup"]},id:"scope-value"}],any:[],none:[]},{id:"scrollable-region-focusable",impact:"serious",selector:"*:not(select,textarea)",matches:"scrollable-region-focusable-matches",tags:["cat.keyboard","wcag2a","wcag211","wcag213","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","EN-9.2.1.3","RGAAv4","RGAA-7.3.2"],actIds:["0ssw9k"],all:[],any:["focusable-content","focusable-element"],none:[]},{id:"select-name",impact:"critical",selector:"select",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["hidden-explicit-label"]},{id:"server-side-image-map",impact:"minor",selector:"img[ismap]",tags:["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-1.1.4"],all:[],any:[],none:["exists"]},{id:"skip-link",impact:"moderate",selector:'a[href^="#"], a[href^="/#"]',matches:"skip-link-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.7.1"],all:[],any:["skip-link"],none:[]},{id:"summary-name",impact:"serious",selector:"summary",matches:"summary-interactive-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"svg-img-alt",impact:"serious",selector:'[role="img"], [role="graphics-symbol"], svg[role="graphics-document"]',matches:"svg-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.5"],actIds:["7d6734"],all:[],any:["svg-non-empty-title","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"tabindex",impact:"serious",selector:"[tabindex]",tags:["cat.keyboard","best-practice"],all:[],any:["tabindex"],none:[]},{id:"table-duplicate-name",impact:"minor",selector:"table",tags:["cat.tables","best-practice","RGAAv4","RGAA-5.2.1"],all:[],any:[],none:["same-caption-summary"]},{id:"table-fake-caption",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.4.1"],all:["caption-faked"],any:[],none:[]},{id:"target-size",impact:"serious",selector:"*",enabled:!1,matches:"widget-not-inline-matches",tags:["cat.sensory-and-visual-cues","wcag22aa","wcag258"],all:[],any:[{options:{minSize:24},id:"target-size"},{options:{minOffset:24},id:"target-offset"}],none:[]},{id:"td-has-header",impact:"critical",selector:"table",matches:"data-table-large-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],all:["td-has-header"],any:[],none:[]},{id:"td-headers-attr",impact:"serious",selector:"table",matches:"table-or-grid-role-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],actIds:["a25f45"],all:["td-headers-attr"],any:[],none:[]},{id:"th-has-data-cells",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.1"],actIds:["d0f69e"],all:["th-has-data-cells"],any:[],none:[]},{id:"valid-lang",impact:"serious",selector:"[lang]:not(html), [xml\\:lang]:not(html)",tags:["cat.language","wcag2aa","wcag312","TTv5","TT11.b","EN-301-549","EN-9.3.1.2","ACT","RGAAv4","RGAA-8.7.1"],actIds:["de46e4"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"video-caption",impact:"critical",selector:"video",tags:["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a","TTv5","TT17.a","EN-301-549","EN-9.1.2.2","RGAAv4","RGAA-4.3.1"],actIds:["eac66b"],all:[],any:[],none:["caption"]}],checks:[{id:"abstractrole",evaluate:"abstractrole-evaluate"},{id:"aria-allowed-attr",evaluate:"aria-allowed-attr-evaluate",options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-allowed-role",evaluate:"aria-allowed-role-evaluate",options:{allowImplicit:!0,ignoredTags:[]}},{id:"aria-busy",evaluate:"aria-busy-evaluate",deprecated:!0},{id:"aria-conditional-attr",evaluate:"aria-conditional-attr-evaluate",options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-errormessage",evaluate:"aria-errormessage-evaluate"},{id:"aria-hidden-body",evaluate:"aria-hidden-body-evaluate"},{id:"aria-level",evaluate:"aria-level-evaluate"},{id:"aria-prohibited-attr",evaluate:"aria-prohibited-attr-evaluate",options:{elementsAllowedAriaLabel:["applet","input"]}},{id:"aria-required-attr",evaluate:"aria-required-attr-evaluate"},{id:"aria-required-children",evaluate:"aria-required-children-evaluate",options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]}},{id:"aria-required-parent",evaluate:"aria-required-parent-evaluate",options:{ownGroupRoles:["listitem","treeitem"]}},{id:"aria-roledescription",evaluate:"aria-roledescription-evaluate",options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]}},{id:"aria-unsupported-attr",evaluate:"aria-unsupported-attr-evaluate"},{id:"aria-valid-attr-value",evaluate:"aria-valid-attr-value-evaluate",options:[]},{id:"aria-valid-attr",evaluate:"aria-valid-attr-evaluate",options:[]},{id:"braille-label-equivalent",evaluate:"braille-label-equivalent-evaluate"},{id:"braille-roledescription-equivalent",evaluate:"braille-roledescription-equivalent-evaluate"},{id:"deprecatedrole",evaluate:"deprecatedrole-evaluate"},{id:"fallbackrole",evaluate:"fallbackrole-evaluate"},{id:"has-global-aria-attribute",evaluate:"has-global-aria-attribute-evaluate"},{id:"has-widget-role",evaluate:"has-widget-role-evaluate",options:[]},{id:"invalidrole",evaluate:"invalidrole-evaluate"},{id:"is-element-focusable",evaluate:"is-element-focusable-evaluate"},{id:"no-implicit-explicit-label",evaluate:"no-implicit-explicit-label-evaluate"},{id:"unsupportedrole",evaluate:"unsupportedrole-evaluate"},{id:"valid-scrollable-semantics",evaluate:"valid-scrollable-semantics-evaluate",options:{roles:["tooltip"]}},{id:"color-contrast-enhanced",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03}},{id:"color-contrast",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03}},{id:"link-in-text-block-style",evaluate:"link-in-text-block-style-evaluate"},{id:"link-in-text-block",evaluate:"link-in-text-block-evaluate",options:{requiredContrastRatio:3,allowSameColor:!0}},{id:"autocomplete-appropriate",evaluate:"autocomplete-appropriate-evaluate",deprecated:!0},{id:"autocomplete-valid",evaluate:"autocomplete-valid-evaluate",options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]}},{id:"accesskeys",evaluate:"accesskeys-evaluate",after:"accesskeys-after"},{id:"focusable-content",evaluate:"focusable-content-evaluate"},{id:"focusable-disabled",evaluate:"focusable-disabled-evaluate"},{id:"focusable-element",evaluate:"focusable-element-evaluate"},{id:"focusable-modal-open",evaluate:"focusable-modal-open-evaluate"},{id:"focusable-no-name",evaluate:"focusable-no-name-evaluate"},{id:"focusable-not-tabbable",evaluate:"focusable-not-tabbable-evaluate"},{id:"frame-focusable-content",evaluate:"frame-focusable-content-evaluate"},{id:"landmark-is-top-level",evaluate:"landmark-is-top-level-evaluate"},{id:"no-focusable-content",evaluate:"no-focusable-content-evaluate"},{id:"page-has-heading-one",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:!0}},{id:"page-has-main",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"main:not([role]), [role='main']",passForModal:!0}},{id:"page-no-duplicate-banner",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"header:not([role]), [role=banner]",role:"banner"}},{id:"page-no-duplicate-contentinfo",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"}},{id:"page-no-duplicate-main",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"main:not([role]), [role='main']"}},{id:"tabindex",evaluate:"tabindex-evaluate"},{id:"alt-space-value",evaluate:"alt-space-value-evaluate"},{id:"duplicate-img-label",evaluate:"duplicate-img-label-evaluate",options:{parentSelector:"button, [role=button], a[href], p, li, td, th"}},{id:"explicit-label",evaluate:"explicit-evaluate"},{id:"help-same-as-label",evaluate:"help-same-as-label-evaluate"},{id:"hidden-explicit-label",evaluate:"hidden-explicit-label-evaluate"},{id:"implicit-label",evaluate:"implicit-evaluate"},{id:"label-content-name-mismatch",evaluate:"label-content-name-mismatch-evaluate",options:{pixelThreshold:.1,occurrenceThreshold:3}},{id:"multiple-label",evaluate:"multiple-label-evaluate"},{id:"title-only",evaluate:"title-only-evaluate"},{id:"landmark-is-unique",evaluate:"landmark-is-unique-evaluate",after:"landmark-is-unique-after"},{id:"has-lang",evaluate:"has-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"valid-lang",evaluate:"valid-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"xml-lang-mismatch",evaluate:"xml-lang-mismatch-evaluate"},{id:"dlitem",evaluate:"dlitem-evaluate"},{id:"listitem",evaluate:"listitem-evaluate"},{id:"only-dlitems",evaluate:"invalid-children-evaluate",options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:!0}},{id:"only-listitems",evaluate:"invalid-children-evaluate",options:{validRoles:["listitem"],validNodeNames:["li"]}},{id:"structured-dlitems",evaluate:"structured-dlitems-evaluate"},{id:"caption",evaluate:"caption-evaluate"},{id:"frame-tested",evaluate:"frame-tested-evaluate",after:"frame-tested-after",options:{isViolation:!1}},{id:"no-autoplay-audio",evaluate:"no-autoplay-audio-evaluate",options:{allowedDuration:3}},{id:"css-orientation-lock",evaluate:"css-orientation-lock-evaluate",options:{degreeThreshold:2}},{id:"meta-viewport-large",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:5,lowerBound:2}},{id:"meta-viewport",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:2}},{id:"target-offset",evaluate:"target-offset-evaluate",options:{minOffset:24}},{id:"target-size",evaluate:"target-size-evaluate",options:{minSize:24}},{id:"header-present",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"}},{id:"heading-order",evaluate:"heading-order-evaluate",after:"heading-order-after"},{id:"identical-links-same-purpose",evaluate:"identical-links-same-purpose-evaluate",after:"identical-links-same-purpose-after"},{id:"internal-link-present",evaluate:"internal-link-present-evaluate"},{id:"landmark",evaluate:"has-descendant-evaluate",options:{selector:"main, [role=main]"}},{id:"meta-refresh-no-exceptions",evaluate:"meta-refresh-evaluate",options:{minDelay:72e3,maxDelay:!1}},{id:"meta-refresh",evaluate:"meta-refresh-evaluate",options:{minDelay:0,maxDelay:72e3}},{id:"p-as-heading",evaluate:"p-as-heading-evaluate",options:{margins:[{weight:150,italic:!0},{weight:150,size:1.15},{italic:!0,size:1.15},{size:1.4}],passLength:1,failLength:.5}},{id:"region",evaluate:"region-evaluate",after:"region-after",options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"}},{id:"skip-link",evaluate:"skip-link-evaluate"},{id:"unique-frame-title",evaluate:"unique-frame-title-evaluate",after:"unique-frame-title-after"},{id:"duplicate-id-active",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id-aria",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"aria-label",evaluate:"aria-label-evaluate"},{id:"aria-labelledby",evaluate:"aria-labelledby-evaluate"},{id:"avoid-inline-spacing",evaluate:"avoid-inline-spacing-evaluate",options:{cssProperties:["line-height","letter-spacing","word-spacing"]}},{id:"button-has-visible-text",evaluate:"has-text-content-evaluate"},{id:"doc-has-title",evaluate:"doc-has-title-evaluate"},{id:"error-occurred",evaluate:"exists-evaluate"},{id:"exists",evaluate:"exists-evaluate"},{id:"has-alt",evaluate:"has-alt-evaluate"},{id:"has-visible-text",evaluate:"has-text-content-evaluate"},{id:"important-letter-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"letter-spacing",minValue:.12}},{id:"important-line-height",evaluate:"inline-style-property-evaluate",options:{multiLineOnly:!0,cssProperty:"line-height",minValue:1.5,normalValue:1}},{id:"important-word-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"word-spacing",minValue:.16}},{id:"is-on-screen",evaluate:"is-on-screen-evaluate"},{id:"non-empty-alt",evaluate:"attr-non-space-content-evaluate",options:{attribute:"alt"}},{id:"non-empty-if-present",evaluate:"non-empty-if-present-evaluate"},{id:"non-empty-placeholder",evaluate:"attr-non-space-content-evaluate",options:{attribute:"placeholder"}},{id:"non-empty-title",evaluate:"attr-non-space-content-evaluate",options:{attribute:"title"}},{id:"non-empty-value",evaluate:"attr-non-space-content-evaluate",options:{attribute:"value"}},{id:"presentational-role",evaluate:"presentational-role-evaluate"},{id:"role-none",evaluate:"matches-definition-evaluate",deprecated:!0,options:{matcher:{attributes:{role:"none"}}}},{id:"role-presentation",evaluate:"matches-definition-evaluate",deprecated:!0,options:{matcher:{attributes:{role:"presentation"}}}},{id:"svg-non-empty-title",evaluate:"svg-non-empty-title-evaluate"},{id:"caption-faked",evaluate:"caption-faked-evaluate"},{id:"html5-scope",evaluate:"html5-scope-evaluate"},{id:"same-caption-summary",evaluate:"same-caption-summary-evaluate"},{id:"scope-value",evaluate:"scope-value-evaluate",options:{values:["row","col","rowgroup","colgroup"]}},{id:"td-has-header",evaluate:"td-has-header-evaluate"},{id:"td-headers-attr",evaluate:"td-headers-attr-evaluate"},{id:"th-has-data-cells",evaluate:"th-has-data-cells-evaluate"},{id:"hidden-content",evaluate:"hidden-content-evaluate"}]})}("object"==typeof window?window:this)}},r={};function n(e){var a=r[e];if(void 0!==a)return a.exports;var o=r[e]={id:e,loaded:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.m=t,e=[],n.O=(t,r,a,o)=>{if(!r){var i=1/0;for(c=0;c<e.length;c++){for(var[r,a,o]=e[c],s=!0,l=0;l<r.length;l++)(!1&o||i>=o)&&Object.keys(n.O).every(e=>n.O[e](r[l]))?r.splice(l--,1):(s=!1,o<i&&(i=o));if(s){e.splice(c--,1);var u=a();void 0!==u&&(t=u)}}return t}o=o||0;for(var c=e.length;c>0&&e[c-1][2]>o;c--)e[c]=e[c-1];e[c]=[r,a,o]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.j=114,(()=>{var e={114:0};n.O.j=t=>0===e[t];var t=(t,r)=>{var a,o,[i,s,l]=r,u=0;if(i.some(t=>0!==e[t])){for(a in s)n.o(s,a)&&(n.m[a]=s[a]);if(l)var c=l(n)}for(t&&t(r);u<i.length;u++)o=i[u],n.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return n.O(c)},r=globalThis.webpackChunkwagtail=globalThis.webpackChunkwagtail||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var a=n.O(void 0,[321],()=>n(7210));a=n.O(a)})();