@ncino/web-components 8.0.1 → 8.1.0-preview.9

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 (254) hide show
  1. package/dist/_slds/icons/svg/symbols-rtl.svg +1 -1
  2. package/dist/_slds/icons/svg/symbols.svg +1 -1
  3. package/dist/_slds/icons/symbols-rtl.svg +1 -1
  4. package/dist/_slds/icons/symbols.svg +1 -1
  5. package/dist/_virtual/index5.js +1 -1
  6. package/dist/_virtual/index6.js +1 -1
  7. package/dist/_virtual/index_html.js +1 -1
  8. package/dist/_virtual/index_react.js +1 -1
  9. package/dist/assets/node_modules/.pnpm/ckeditor5@46.1.1/node_modules/ckeditor5/dist/ckeditor5.css +1 -4
  10. package/dist/components/accordion/gator/base/accordion.gator.js +1 -1
  11. package/dist/components/accordion/gator/group/accordion-group.gator.js +1 -1
  12. package/dist/components/alert/gator/base/alert.gator.js +1 -1
  13. package/dist/components/alert/gator/subtitle/alert-subtitle.gator.js +1 -1
  14. package/dist/components/alert/gator/title/alert-title.gator.js +1 -1
  15. package/dist/components/avatar/gator/avatar.gator.js +1 -1
  16. package/dist/components/badge/gator/badge.gator.js +1 -1
  17. package/dist/components/banner/gator/banner.gator.js +1 -1
  18. package/dist/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.js +10 -4
  19. package/dist/components/button/gator/button.gator.js +1 -1
  20. package/dist/components/button-card/gator/button-card.gator.js +1 -1
  21. package/dist/components/card/card.js +1 -1
  22. package/dist/components/card/gator/base/card.gator.js +1 -1
  23. package/dist/components/card/gator/content/card-content.gator.js +1 -1
  24. package/dist/components/card/gator/footer/card-footer.gator.js +1 -1
  25. package/dist/components/card/gator/header/card-header.gator.js +1 -1
  26. package/dist/components/checkbox/checkbox.gator.js +1 -1
  27. package/dist/components/chip/gator/chip.gator.js +1 -1
  28. package/dist/components/date-picker/base/gator/datepicker.gator.js +1 -1
  29. package/dist/components/date-picker/year-month-selector/year-month-selector.gator.js +1 -1
  30. package/dist/components/display-card/gator/display-card.gator.js +1 -1
  31. package/dist/components/divider/gator/divider.gator.js +1 -1
  32. package/dist/components/fab/gator/fab.gator.js +1 -1
  33. package/dist/components/icon-button/gator/icon-button.gator.js +1 -1
  34. package/dist/components/illustration/gator/illustration.gator.js +1 -1
  35. package/dist/components/image-card/gator/image-card.gator.js +25 -20
  36. package/dist/components/input/base/input-base.gator.js +1 -1
  37. package/dist/components/input/gator/dropdown/input-dropdown.gator.js +5 -1
  38. package/dist/components/input/gator/help-text/help-text.gator.js +1 -1
  39. package/dist/components/input/gator/input-phone/input-phone.gator.js +3 -1
  40. package/dist/components/loading-spinner/gator/loading-spinner.gator.js +1 -1
  41. package/dist/components/menu/base/gator/menu.gator.js +1 -1
  42. package/dist/components/modal/gator/modal.gator.js +54 -50
  43. package/dist/components/page-header/gator/page-header.gator.js +3 -3
  44. package/dist/components/panel/gator/panel.storybook-test.js +1 -1
  45. package/dist/components/popover/gator/popover.gator.js +1 -1
  46. package/dist/components/progress-bar/gator/progress-bar.gator.js +18 -12
  47. package/dist/components/progress-ring/gator/progress-ring.gator.js +1 -1
  48. package/dist/components/selection-box/selection-box.gator.js +1 -1
  49. package/dist/components/selector/gator/selector.gator.js +1 -1
  50. package/dist/components/skeleton-loader/gator/skeleton-loader.gator.js +1 -1
  51. package/dist/components/switch/gator/switch.gator.js +1 -1
  52. package/dist/components/table/gator/table.gator.js +1 -1
  53. package/dist/components/tabs/gator/tabset/tabset.gator.js +1 -1
  54. package/dist/components/text-detail/gator/text-detail.gator.js +1 -1
  55. package/dist/components/text-link/gator/text-link.gator.js +1 -1
  56. package/dist/components/toast/gator/base/toast.gator.js +1 -1
  57. package/dist/components/toast/gator/subtitle/toast-subtitle.gator.js +1 -1
  58. package/dist/components/toast/gator/title/toast-title.gator.js +1 -1
  59. package/dist/components/toast-container/gator/toast-container.gator.js +1 -1
  60. package/dist/components/toaster/gator/toaster.gator.js +1 -1
  61. package/dist/components/tooltip/gator/tooltip.gator.js +1 -1
  62. package/dist/design-tokens.source.json +1 -1
  63. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-alignment@46.1.1/node_modules/@ckeditor/ckeditor5-alignment/dist/index.js +1 -4
  64. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-autoformat@46.1.1/node_modules/@ckeditor/ckeditor5-autoformat/dist/index.js +1 -7
  65. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-autosave@46.1.1/node_modules/@ckeditor/ckeditor5-autosave/dist/index.js +1 -4
  66. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-basic-styles@46.1.1/node_modules/@ckeditor/ckeditor5-basic-styles/dist/index.js +1 -4
  67. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-block-quote@46.1.1/node_modules/@ckeditor/ckeditor5-block-quote/dist/index.js +1 -4
  68. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-clipboard@46.1.1/node_modules/@ckeditor/ckeditor5-clipboard/dist/index.js +2 -14
  69. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-cloud-services@46.1.1/node_modules/@ckeditor/ckeditor5-cloud-services/dist/index.js +1 -4
  70. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-code-block@46.1.1/node_modules/@ckeditor/ckeditor5-code-block/dist/index.js +1 -4
  71. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-core@46.1.1/node_modules/@ckeditor/ckeditor5-core/dist/index.js +1 -4
  72. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-editor-classic@46.1.1/node_modules/@ckeditor/ckeditor5-editor-classic/dist/index.js +1 -4
  73. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-engine@46.1.1/node_modules/@ckeditor/ckeditor5-engine/dist/index.js +2 -29
  74. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-enter@46.1.1/node_modules/@ckeditor/ckeditor5-enter/dist/index.js +1 -7
  75. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-essentials@46.1.1/node_modules/@ckeditor/ckeditor5-essentials/dist/index.js +1 -4
  76. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-find-and-replace@46.1.1/node_modules/@ckeditor/ckeditor5-find-and-replace/dist/index.js +2 -5
  77. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-font@46.1.1/node_modules/@ckeditor/ckeditor5-font/dist/index.js +1 -7
  78. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-heading@46.1.1/node_modules/@ckeditor/ckeditor5-heading/dist/index.js +1 -7
  79. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-highlight@46.1.1/node_modules/@ckeditor/ckeditor5-highlight/dist/index.js +1 -4
  80. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-horizontal-line@46.1.1/node_modules/@ckeditor/ckeditor5-horizontal-line/dist/index.js +1 -4
  81. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-html-embed@46.1.1/node_modules/@ckeditor/ckeditor5-html-embed/dist/index.js +1 -4
  82. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-html-support@46.1.1/node_modules/@ckeditor/ckeditor5-html-support/dist/index.js +1 -10
  83. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-icons@46.1.1/node_modules/@ckeditor/ckeditor5-icons/dist/index.js +1 -4
  84. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-image@46.1.1/node_modules/@ckeditor/ckeditor5-image/dist/index.js +1 -10
  85. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-indent@46.1.1/node_modules/@ckeditor/ckeditor5-indent/dist/index.js +1 -10
  86. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-language@46.1.1/node_modules/@ckeditor/ckeditor5-language/dist/index.js +1 -4
  87. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-link@46.1.1/node_modules/@ckeditor/ckeditor5-link/dist/index.js +1 -4
  88. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-list@46.1.1/node_modules/@ckeditor/ckeditor5-list/dist/index.js +1 -13
  89. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-markdown-gfm@46.1.1/node_modules/@ckeditor/ckeditor5-markdown-gfm/dist/index.js +2 -5
  90. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-media-embed@46.1.1/node_modules/@ckeditor/ckeditor5-media-embed/dist/index.js +1 -7
  91. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-mention@46.1.1/node_modules/@ckeditor/ckeditor5-mention/dist/index.js +1 -4
  92. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-page-break@46.1.1/node_modules/@ckeditor/ckeditor5-page-break/dist/index.js +1 -4
  93. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-paragraph@46.1.1/node_modules/@ckeditor/ckeditor5-paragraph/dist/index.js +1 -4
  94. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-paste-from-office@46.1.1/node_modules/@ckeditor/ckeditor5-paste-from-office/dist/index.js +1 -31
  95. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-remove-format@46.1.1/node_modules/@ckeditor/ckeditor5-remove-format/dist/index.js +1 -4
  96. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-select-all@46.1.1/node_modules/@ckeditor/ckeditor5-select-all/dist/index.js +1 -4
  97. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-show-blocks@46.1.1/node_modules/@ckeditor/ckeditor5-show-blocks/dist/index.js +1 -4
  98. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-source-editing@46.1.1/node_modules/@ckeditor/ckeditor5-source-editing/dist/index.js +1 -4
  99. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-special-characters@46.1.1/node_modules/@ckeditor/ckeditor5-special-characters/dist/index.js +1 -4
  100. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-style@46.1.1/node_modules/@ckeditor/ckeditor5-style/dist/index.js +1 -4
  101. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-table@46.1.1/node_modules/@ckeditor/ckeditor5-table/dist/index.js +1 -16
  102. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-typing@46.1.1/node_modules/@ckeditor/ckeditor5-typing/dist/index.js +1 -13
  103. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-ui@46.1.1/node_modules/@ckeditor/ckeditor5-ui/dist/index.js +1 -25
  104. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-undo@46.1.1/node_modules/@ckeditor/ckeditor5-undo/dist/index.js +1 -4
  105. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-upload@46.1.1/node_modules/@ckeditor/ckeditor5-upload/dist/index.js +1 -4
  106. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-utils@46.1.1/node_modules/@ckeditor/ckeditor5-utils/dist/index.js +3 -108
  107. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-watchdog@46.1.1/node_modules/@ckeditor/ckeditor5-watchdog/dist/index.js +1 -10
  108. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-widget@46.1.1/node_modules/@ckeditor/ckeditor5-widget/dist/index.js +1 -4
  109. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.9/node_modules/@figma/code-connect/package.json.js +1 -0
  110. package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/runtime.js +1 -5
  111. package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/default-msg.js +1 -5
  112. package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/deferred.js +1 -5
  113. package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/fnv1a64.js +1 -5
  114. package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/locale-status-event.js +1 -5
  115. package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/localized-controller.js +1 -5
  116. package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/localized-decorator.js +1 -5
  117. package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/str-tag.js +1 -5
  118. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js +1 -5
  119. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js +1 -5
  120. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js +1 -5
  121. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/state.js +1 -5
  122. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js +1 -5
  123. package/dist/node_modules/.pnpm/@vitest_pretty-format@3.2.4/node_modules/@vitest/pretty-format/dist/index.js +1 -17
  124. package/dist/node_modules/.pnpm/@vitest_snapshot@3.2.4/node_modules/@vitest/snapshot/dist/index.js +1 -7
  125. package/dist/node_modules/.pnpm/ansi-styles@4.3.0/node_modules/ansi-styles/index.js +1 -1
  126. package/dist/node_modules/.pnpm/axe-core@4.11.0/node_modules/axe-core/axe.js +1 -11
  127. package/dist/node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js +1 -6
  128. package/dist/node_modules/.pnpm/chai@5.2.0/node_modules/chai/chai.js +1 -217
  129. package/dist/node_modules/.pnpm/color-convert@3.1.3/node_modules/color-convert/conversions.js +1 -0
  130. package/dist/node_modules/.pnpm/color-convert@3.1.3/node_modules/color-convert/index.js +1 -0
  131. package/dist/node_modules/.pnpm/color-convert@3.1.3/node_modules/color-convert/route.js +1 -0
  132. package/dist/node_modules/.pnpm/color-string@2.1.4/node_modules/color-string/index.js +1 -0
  133. package/dist/node_modules/.pnpm/{color@5.0.2 → color@5.0.3}/node_modules/color/index.js +1 -1
  134. package/dist/node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js +1 -1
  135. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.26/node_modules/libphonenumber-js/metadata.min.json.js +1 -0
  136. package/dist/node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js +1 -5
  137. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/async-directive.js +1 -5
  138. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directive-helpers.js +1 -5
  139. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directive.js +1 -5
  140. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/class-map.js +1 -5
  141. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/if-defined.js +1 -5
  142. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/live.js +1 -5
  143. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/ref.js +1 -5
  144. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/repeat.js +1 -5
  145. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/unsafe-html.js +1 -5
  146. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js +1 -5
  147. package/dist/node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react.production.js +1 -9
  148. package/dist/node_modules/.pnpm/safe-buffer@5.1.2/node_modules/safe-buffer/index.js +1 -0
  149. package/dist/node_modules/.pnpm/storybook@10.0.8_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.10.0_typescript@5_e2791259526ede65857ac65f52302a74/node_modules/storybook/dist/_browser-chunks/chunk-JVSKG4YS.js +48 -0
  150. package/dist/node_modules/.pnpm/storybook@10.0.8_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.10.0_typescript@5_e2791259526ede65857ac65f52302a74/node_modules/storybook/dist/_browser-chunks/chunk-MM7DTO55.js +1 -0
  151. package/dist/node_modules/.pnpm/storybook@10.0.8_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.10.0_typescript@5_e2791259526ede65857ac65f52302a74/node_modules/storybook/dist/_browser-chunks/chunk-OPCDBBL3.js +6 -0
  152. package/dist/node_modules/.pnpm/storybook@10.0.8_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.10.0_typescript@5_e2791259526ede65857ac65f52302a74/node_modules/storybook/dist/_browser-chunks/chunk-SN4J4IQ3.js +1 -0
  153. package/dist/node_modules/.pnpm/storybook@10.0.8_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.10.0_typescript@5_e2791259526ede65857ac65f52302a74/node_modules/storybook/dist/_browser-chunks/chunk-VUAFL5XK.js +1 -0
  154. package/dist/node_modules/.pnpm/storybook@10.0.8_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.10.0_typescript@5_e2791259526ede65857ac65f52302a74/node_modules/storybook/dist/client-logger/index.js +1 -0
  155. package/dist/node_modules/.pnpm/storybook@10.0.8_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.10.0_typescript@5_e2791259526ede65857ac65f52302a74/node_modules/storybook/dist/core-events/index.js +1 -0
  156. package/dist/node_modules/.pnpm/storybook@10.0.8_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.10.0_typescript@5_e2791259526ede65857ac65f52302a74/node_modules/storybook/dist/instrumenter/index.js +1 -0
  157. package/dist/node_modules/.pnpm/storybook@10.0.8_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.10.0_typescript@5_e2791259526ede65857ac65f52302a74/node_modules/storybook/dist/test/index.js +152 -0
  158. package/dist/node_modules/.pnpm/{string_decoder@1.3.0 → string_decoder@1.1.1}/node_modules/string_decoder/lib/string_decoder.js +1 -1
  159. package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/index.js +1 -1
  160. package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/body.js +1 -1
  161. package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fileapi/util.js +1 -1
  162. package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/websocket/frame.js +1 -1
  163. package/dist/packages/web-components/src/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.scss.js +1 -1
  164. package/dist/packages/web-components/src/components/image-card/gator/image-card.gator.scss.js +1 -1
  165. package/dist/packages/web-components/src/components/input/gator/dropdown/input-dropdown.gator.scss.js +1 -1
  166. package/dist/packages/web-components/src/components/modal/gator/modal.gator.scss.js +1 -1
  167. package/dist/packages/web-components/src/components/progress-bar/gator/progress-bar.gator.scss.js +1 -1
  168. package/dist/packages/web-components/src/components/text-link/gator/text-link.gator.scss.js +1 -1
  169. package/dist/packages/web-components/src/index.slds.scss.js +1 -1
  170. package/dist/types/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.d.ts +3 -5
  171. package/dist/types/components/image-card/gator/image-card.gator.d.ts +5 -0
  172. package/dist/types/components/modal/gator/modal.gator.d.ts +16 -3
  173. package/dist/types/components/page-header/gator/page-header.gator.d.ts +0 -1
  174. package/dist/types/components/progress-bar/gator/progress-bar.gator.d.ts +8 -0
  175. package/dist/types/generated/locale-codes.d.ts +10 -0
  176. package/dist/types/generated/locales/es-419.d.ts +6 -1
  177. package/dist/types/generated/locales/fr-CA.d.ts +6 -1
  178. package/dist/types/generated/locales/zh-Hans.d.ts +6 -1
  179. package/dist/utils/brand-color-utils.js +1 -1
  180. package/dist/utils/components/ngc-component.js +1 -1
  181. package/dist/utils/vitest-a11y-utils.js +1 -1
  182. package/package.json +21 -21
  183. package/web-types.json +30 -15
  184. package/dist/generated/locale-codes.d.js +0 -1
  185. package/dist/generated/locales/es-419.d.js +0 -1
  186. package/dist/generated/locales/fr-CA.d.js +0 -1
  187. package/dist/generated/locales/zh-Hans.d.js +0 -1
  188. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.7/node_modules/@figma/code-connect/package.json.js +0 -1
  189. package/dist/node_modules/.pnpm/color-string@2.0.1/node_modules/color-string/index.js +0 -1
  190. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.24/node_modules/libphonenumber-js/metadata.min.json.js +0 -1
  191. package/dist/node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.js +0 -1
  192. package/dist/node_modules/.pnpm/storybook@9.1.13_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.10.0_typescript@5.9.3___lkgkjokudzf76cn2onqpg4zpmy/node_modules/storybook/dist/client-logger/index.js +0 -1
  193. package/dist/node_modules/.pnpm/storybook@9.1.13_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.10.0_typescript@5.9.3___lkgkjokudzf76cn2onqpg4zpmy/node_modules/storybook/dist/core-events/index.js +0 -1
  194. package/dist/node_modules/.pnpm/storybook@9.1.13_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.10.0_typescript@5.9.3___lkgkjokudzf76cn2onqpg4zpmy/node_modules/storybook/dist/instrumenter/index.js +0 -48
  195. package/dist/node_modules/.pnpm/storybook@9.1.13_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.10.0_typescript@5.9.3___lkgkjokudzf76cn2onqpg4zpmy/node_modules/storybook/dist/test/index.js +0 -217
  196. /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/client/external.js +0 -0
  197. /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/client/figma_client.js +0 -0
  198. /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/common/fetch.js +0 -0
  199. /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/common/logging.js +0 -0
  200. /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/common/updates.js +0 -0
  201. /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/connect/external_types.js +0 -0
  202. /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/connect/figma_rest_api.js +0 -0
  203. /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/connect/helpers.js +0 -0
  204. /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/connect/index_common.js +0 -0
  205. /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/html/external.js +0 -0
  206. /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/html/index_html.js +0 -0
  207. /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/html/template_literal.js +0 -0
  208. /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/react/external.js +0 -0
  209. /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.7 → @figma_code-connect@1.3.9}/node_modules/@figma/code-connect/dist/react/index_react.js +0 -0
  210. /package/dist/node_modules/.pnpm/{@vitest_browser@3.2.4_msw@2.7.3_@types_node@24.10.0_typescript@5.9.3__playwright@1.56.1_vite@_goyfjr2bjpgz2pt2645hrgmcse → @vitest_browser@3.2.4_msw@2.7.3_@types_node@24.10.0_typescript@5.9.3__playwright@1.56.1_fa5be4b0345b48b65ec4b7072214c2b3}/node_modules/@vitest/browser/context.js +0 -0
  211. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/ParseError.js +0 -0
  212. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/PhoneNumber.js +0 -0
  213. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/constants.js +0 -0
  214. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/format.js +0 -0
  215. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/RFC3966.js +0 -0
  216. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js +0 -0
  217. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js +0 -0
  218. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js +0 -0
  219. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.js +0 -0
  220. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +0 -0
  221. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +0 -0
  222. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js +0 -0
  223. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js +0 -0
  224. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +0 -0
  225. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js +0 -0
  226. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +0 -0
  227. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +0 -0
  228. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +0 -0
  229. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.js +0 -0
  230. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +0 -0
  231. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.js +0 -0
  232. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/isObject.js +0 -0
  233. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.js +0 -0
  234. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js +0 -0
  235. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/parseDigits.js +0 -0
  236. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.js +0 -0
  237. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/isPossible.js +0 -0
  238. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/isValid.js +0 -0
  239. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/metadata.js +0 -0
  240. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/normalizeArguments.js +0 -0
  241. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/parse.js +0 -0
  242. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +0 -0
  243. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/parsePhoneNumber.js +0 -0
  244. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js +0 -0
  245. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +0 -0
  246. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/tools/semver-compare.js +0 -0
  247. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/min/exports/parsePhoneNumber.js +0 -0
  248. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/min/exports/withMetadataArgument.js +0 -0
  249. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.10.0_@vitest_browser@3.2.4_@vitest_ui@3.2.4_j_d4zn5pd34wsgn4wvyuyhrqqcse → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.10.0_@vitest_browser@3.2.4_@vitest_ui@3_10880c0a9445bba638204ee93166eaed}/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js +0 -0
  250. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.10.0_@vitest_browser@3.2.4_@vitest_ui@3.2.4_j_d4zn5pd34wsgn4wvyuyhrqqcse → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.10.0_@vitest_browser@3.2.4_@vitest_ui@3_10880c0a9445bba638204ee93166eaed}/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js +0 -0
  251. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.10.0_@vitest_browser@3.2.4_@vitest_ui@3.2.4_j_d4zn5pd34wsgn4wvyuyhrqqcse → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.10.0_@vitest_browser@3.2.4_@vitest_ui@3_10880c0a9445bba638204ee93166eaed}/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js +0 -0
  252. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.10.0_@vitest_browser@3.2.4_@vitest_ui@3.2.4_j_d4zn5pd34wsgn4wvyuyhrqqcse → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.10.0_@vitest_browser@3.2.4_@vitest_ui@3_10880c0a9445bba638204ee93166eaed}/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js +0 -0
  253. /package/dist/packages/{web-components/src/tokens/primitive.tokens.scss.js → styles/src/gator/tokens/primitive.tokens.css.js} +0 -0
  254. /package/dist/packages/{web-components/src/tokens/semantic.tokens.scss.js → styles/src/gator/tokens/semantic.tokens.css.js} +0 -0
@@ -0,0 +1,152 @@
1
+ import{require_picocolors_browser as Du}from"../_browser-chunks/chunk-VUAFL5XK.js";import{getDefaultExportFromCjs as ky,s as _e,stringify as Et,printDiffOrStringify as By,diff as Jr,getType as Dy,isObject as hn,processError as Ly,noop as $y,assertTypes as Je}from"../_browser-chunks/chunk-JVSKG4YS.js";import{dedent as Fy}from"../_browser-chunks/chunk-OPCDBBL3.js";import{__name as o,__toESM as Oe,__commonJS as S,__export as ga}from"../_browser-chunks/chunk-MM7DTO55.js";import{instrument as Ea}from"../instrumenter/index.js";import{once as Vy}from"../client-logger/index.js";var mi={},Hy=S({"../node_modules/min-indent/index.js"(e,t){t.exports=r=>{const n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((i,a)=>Math.min(i,a.length),1/0):0}}}),Uy=S({"../node_modules/strip-indent/index.js"(e,t){var r=Hy();t.exports=n=>{const i=r(n);if(i===0)return n;const a=new RegExp(`^[ \\t]{${i}}`,"gm");return n.replace(a,"")}}}),zy=S({"../node_modules/indent-string/index.js"(e,t){t.exports=(r,n=1,i)=>{if(i={indent:" ",includeEmptyLines:!1,...i},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof i.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof i.indent}\``);if(n===0)return r;const a=i.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(a,i.indent.repeat(n))}}}),Lu=S({"../node_modules/redent/index.js"(e,t){var r=Uy(),n=zy();t.exports=(i,a=0,s)=>n(r(i),a,s)}}),Wy=S({"../node_modules/aria-query/lib/util/iteratorProxy.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var r=this,n=0,i={"@@iterator":o(function(){return i},"iterator"),next:o(function(){if(n<r.length){var s=r[n];return n=n+1,{done:!1,value:s}}else return{done:!0}},"next")};return i}o(t,"iteratorProxy"),e.default=t}}),Xr=S({"../node_modules/aria-query/lib/util/iterationDecorator.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var t=r(Wy());function r(a){return a&&a.__esModule?a:{default:a}}o(r,"_interopRequireDefault");function n(a){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},n(a)}o(n,"_typeof");function i(a,s){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(a,Symbol.iterator,{value:t.default.bind(s)}),a}o(i,"iterationDecorator")}}),Gy=S({"../node_modules/aria-query/lib/ariaPropsMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Xr());function r(f){return f&&f.__esModule?f:{default:f}}o(r,"_interopRequireDefault");function n(f,p){return d(f)||l(f,p)||a(f,p)||i()}o(n,"_slicedToArray");function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}o(i,"_nonIterableRest");function a(f,p){if(f){if(typeof f=="string")return s(f,p);var m={}.toString.call(f).slice(8,-1);return m==="Object"&&f.constructor&&(m=f.constructor.name),m==="Map"||m==="Set"?Array.from(f):m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m)?s(f,p):void 0}}o(a,"_unsupportedIterableToArray");function s(f,p){(p==null||p>f.length)&&(p=f.length);for(var m=0,b=Array(p);m<p;m++)b[m]=f[m];return b}o(s,"_arrayLikeToArray");function l(f,p){var m=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(m!=null){var b,_,w,h,C=[],q=!0,j=!1;try{if(w=(m=m.call(f)).next,p===0){if(Object(m)!==m)return;q=!1}else for(;!(q=(b=w.call(m)).done)&&(C.push(b.value),C.length!==p);q=!0);}catch(M){j=!0,_=M}finally{try{if(!q&&m.return!=null&&(h=m.return(),Object(h)!==h))return}finally{if(j)throw _}}return C}}o(l,"_iterableToArrayLimit");function d(f){if(Array.isArray(f))return f}o(d,"_arrayWithHoles");var u=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],c={entries:o(function(){return u},"entries"),forEach:o(function(p){for(var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,b=0,_=u;b<_.length;b++){var w=n(_[b],2),h=w[0],C=w[1];p.call(m,C,h,u)}},"forEach"),get:o(function(p){var m=u.filter(function(b){return b[0]===p})[0];return m&&m[1]},"get"),has:o(function(p){return!!c.get(p)},"has"),keys:o(function(){return u.map(function(p){var m=n(p,1),b=m[0];return b})},"keys"),values:o(function(){return u.map(function(p){var m=n(p,2),b=m[1];return b})},"values")};e.default=(0,t.default)(c,c.entries())}}),Ky=S({"../node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Xr());function r(f){return f&&f.__esModule?f:{default:f}}o(r,"_interopRequireDefault");function n(f,p){return d(f)||l(f,p)||a(f,p)||i()}o(n,"_slicedToArray");function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}o(i,"_nonIterableRest");function a(f,p){if(f){if(typeof f=="string")return s(f,p);var m={}.toString.call(f).slice(8,-1);return m==="Object"&&f.constructor&&(m=f.constructor.name),m==="Map"||m==="Set"?Array.from(f):m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m)?s(f,p):void 0}}o(a,"_unsupportedIterableToArray");function s(f,p){(p==null||p>f.length)&&(p=f.length);for(var m=0,b=Array(p);m<p;m++)b[m]=f[m];return b}o(s,"_arrayLikeToArray");function l(f,p){var m=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(m!=null){var b,_,w,h,C=[],q=!0,j=!1;try{if(w=(m=m.call(f)).next,p===0){if(Object(m)!==m)return;q=!1}else for(;!(q=(b=w.call(m)).done)&&(C.push(b.value),C.length!==p);q=!0);}catch(M){j=!0,_=M}finally{try{if(!q&&m.return!=null&&(h=m.return(),Object(h)!==h))return}finally{if(j)throw _}}return C}}o(l,"_iterableToArrayLimit");function d(f){if(Array.isArray(f))return f}o(d,"_arrayWithHoles");var u=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],c={entries:o(function(){return u},"entries"),forEach:o(function(p){for(var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,b=0,_=u;b<_.length;b++){var w=n(_[b],2),h=w[0],C=w[1];p.call(m,C,h,u)}},"forEach"),get:o(function(p){var m=u.filter(function(b){return b[0]===p})[0];return m&&m[1]},"get"),has:o(function(p){return!!c.get(p)},"has"),keys:o(function(){return u.map(function(p){var m=n(p,1),b=m[0];return b})},"keys"),values:o(function(){return u.map(function(p){var m=n(p,2),b=m[1];return b})},"values")};e.default=(0,t.default)(c,c.entries())}}),Jy=S({"../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),Xy=S({"../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),Yy=S({"../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),Qy=S({"../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Zy=S({"../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),ev=S({"../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}}),tv=S({"../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),rv=S({"../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),nv=S({"../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]};e.default=t}}),ov=S({"../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),iv=S({"../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),av=S({"../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),sv=S({"../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=m(Jy()),r=m(Xy()),n=m(Yy()),i=m(Qy()),a=m(Zy()),s=m(ev()),l=m(tv()),d=m(rv()),u=m(nv()),c=m(ov()),f=m(iv()),p=m(av());function m(_){return _&&_.__esModule?_:{default:_}}o(m,"_interopRequireDefault");var b=[["command",t.default],["composite",r.default],["input",n.default],["landmark",i.default],["range",a.default],["roletype",s.default],["section",l.default],["sectionhead",d.default],["select",u.default],["structure",c.default],["widget",f.default],["window",p.default]];e.default=b}}),lv=S({"../node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),uv=S({"../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]};e.default=t}}),cv=S({"../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),dv=S({"../node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}}),fv=S({"../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),pv=S({"../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),mv=S({"../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),hv=S({"../node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),bv=S({"../node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),yv=S({"../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}}),vv=S({"../node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),gv=S({"../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}}),Ev=S({"../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]};e.default=t}}),wv=S({"../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element","scoped to the main element"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),_v=S({"../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Cv=S({"../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Rv=S({"../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Tv=S({"../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};e.default=t}}),Pv=S({"../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}}),qv=S({"../node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),Sv=S({"../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),xv=S({"../node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}}),Av=S({"../node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Ov=S({"../node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Mv=S({"../node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),Iv=S({"../node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};e.default=t}}),Nv=S({"../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]};e.default=t}}),jv=S({"../node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),kv=S({"../node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]};e.default=t}}),Bv=S({"../node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Dv=S({"../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Lv=S({"../node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),$v=S({"../node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Fv=S({"../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),Vv=S({"../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Hv=S({"../node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Uv=S({"../node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),zv=S({"../node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Wv=S({"../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Gv=S({"../node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Kv=S({"../node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),Jv=S({"../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]};e.default=t}}),Xv=S({"../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),Yv=S({"../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]};e.default=t}}),Qv=S({"../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};e.default=t}}),Zv=S({"../node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};e.default=t}}),eg=S({"../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),tg=S({"../node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}}),rg=S({"../node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),ng=S({"../node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]};e.default=t}}),og=S({"../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),ig=S({"../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),ag=S({"../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}}),sg=S({"../node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}}),lg=S({"../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),ug=S({"../node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),cg=S({"../node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]};e.default=t}}),dg=S({"../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),fg=S({"../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}}),pg=S({"../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}}),mg=S({"../node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),hg=S({"../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};e.default=t}}),bg=S({"../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),yg=S({"../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}}),vg=S({"../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}}),gg=S({"../node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Eg=S({"../node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),wg=S({"../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),_g=S({"../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Cg=S({"../node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]};e.default=t}}),Rg=S({"../node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]};e.default=t}}),Tg=S({"../node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Pg=S({"../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]};e.default=t}}),qg=S({"../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Sg=S({"../node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),xg=S({"../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};e.default=t}}),Ag=S({"../node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Og=S({"../node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};e.default=t}}),Mg=S({"../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}}),Ig=S({"../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Ng=S({"../node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),jg=S({"../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]};e.default=t}}),kg=S({"../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]};e.default=t}}),Bg=S({"../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=B(lv()),r=B(uv()),n=B(cv()),i=B(dv()),a=B(fv()),s=B(pv()),l=B(mv()),d=B(hv()),u=B(bv()),c=B(yv()),f=B(vv()),p=B(gv()),m=B(Ev()),b=B(wv()),_=B(_v()),w=B(Cv()),h=B(Rv()),C=B(Tv()),q=B(Pv()),j=B(qv()),M=B(Sv()),T=B(xv()),R=B(Av()),y=B(Ov()),v=B(Mv()),N=B(Iv()),x=B(Nv()),k=B(jv()),D=B(kv()),I=B(Bv()),V=B(Dv()),L=B(Lv()),Q=B($v()),H=B(Fv()),ae=B(Vv()),Ne=B(Hv()),Ct=B(Uv()),Ge=B(zv()),je=B(Wv()),ke=B(Gv()),at=B(Kv()),F=B(Jv()),st=B(Xv()),be=B(Yv()),yr=B(Qv()),si=B(Zv()),O=B(eg()),$=B(tg()),W=B(rg()),te=B(ng()),Z=B(og()),ue=B(ig()),pe=B(ag()),me=B(sg()),Ke=B(lg()),sy=B(ug()),ly=B(cg()),uy=B(dg()),cy=B(fg()),dy=B(pg()),fy=B(mg()),py=B(hg()),my=B(bg()),hy=B(yg()),by=B(vg()),yy=B(gg()),vy=B(Eg()),gy=B(wg()),Ey=B(_g()),wy=B(Cg()),_y=B(Rg()),Cy=B(Tg()),Ry=B(Pg()),Ty=B(qg()),Py=B(Sg()),qy=B(xg()),Sy=B(Ag()),xy=B(Og()),Ay=B(Mg()),Oy=B(Ig()),My=B(Ng()),Iy=B(jg()),Ny=B(kg());function B(mn){return mn&&mn.__esModule?mn:{default:mn}}o(B,"_interopRequireDefault");var jy=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",i.default],["banner",a.default],["blockquote",s.default],["button",l.default],["caption",d.default],["cell",u.default],["checkbox",c.default],["code",f.default],["columnheader",p.default],["combobox",m.default],["complementary",b.default],["contentinfo",_.default],["definition",w.default],["deletion",h.default],["dialog",C.default],["directory",q.default],["document",j.default],["emphasis",M.default],["feed",T.default],["figure",R.default],["form",y.default],["generic",v.default],["grid",N.default],["gridcell",x.default],["group",k.default],["heading",D.default],["img",I.default],["insertion",V.default],["link",L.default],["list",Q.default],["listbox",H.default],["listitem",ae.default],["log",Ne.default],["main",Ct.default],["mark",Ge.default],["marquee",je.default],["math",ke.default],["menu",at.default],["menubar",F.default],["menuitem",st.default],["menuitemcheckbox",be.default],["menuitemradio",yr.default],["meter",si.default],["navigation",O.default],["none",$.default],["note",W.default],["option",te.default],["paragraph",Z.default],["presentation",ue.default],["progressbar",pe.default],["radio",me.default],["radiogroup",Ke.default],["region",sy.default],["row",ly.default],["rowgroup",uy.default],["rowheader",cy.default],["scrollbar",dy.default],["search",fy.default],["searchbox",py.default],["separator",my.default],["slider",hy.default],["spinbutton",by.default],["status",yy.default],["strong",vy.default],["subscript",gy.default],["superscript",Ey.default],["switch",wy.default],["tab",_y.default],["table",Cy.default],["tablist",Ry.default],["tabpanel",Ty.default],["term",Py.default],["textbox",qy.default],["time",Sy.default],["timer",xy.default],["toolbar",Ay.default],["tooltip",Oy.default],["tree",My.default],["treegrid",Iy.default],["treeitem",Ny.default]];e.default=jy}}),Dg=S({"../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Lg=S({"../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),$g=S({"../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Fg=S({"../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Vg=S({"../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),Hg=S({"../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}}),Ug=S({"../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),zg=S({"../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),Wg=S({"../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Gg=S({"../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Kg=S({"../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Jg=S({"../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}}),Xg=S({"../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Yg=S({"../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Qg=S({"../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Zg=S({"../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}}),eE=S({"../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),tE=S({"../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),rE=S({"../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),nE=S({"../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),oE=S({"../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),iE=S({"../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),aE=S({"../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),sE=S({"../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),lE=S({"../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),uE=S({"../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),cE=S({"../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),dE=S({"../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),fE=S({"../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}}),pE=S({"../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]};e.default=t}}),mE=S({"../node_modules/aria-query/lib/etc/roles/dpub/docPagefooterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),hE=S({"../node_modules/aria-query/lib/etc/roles/dpub/docPageheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),bE=S({"../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),yE=S({"../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),vE=S({"../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),gE=S({"../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),EE=S({"../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]};e.default=t}}),wE=S({"../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),_E=S({"../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};e.default=t}}),CE=S({"../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}}),RE=S({"../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),TE=S({"../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=F(Dg()),r=F(Lg()),n=F($g()),i=F(Fg()),a=F(Vg()),s=F(Hg()),l=F(Ug()),d=F(zg()),u=F(Wg()),c=F(Gg()),f=F(Kg()),p=F(Jg()),m=F(Xg()),b=F(Yg()),_=F(Qg()),w=F(Zg()),h=F(eE()),C=F(tE()),q=F(rE()),j=F(nE()),M=F(oE()),T=F(iE()),R=F(aE()),y=F(sE()),v=F(lE()),N=F(uE()),x=F(cE()),k=F(dE()),D=F(fE()),I=F(pE()),V=F(mE()),L=F(hE()),Q=F(bE()),H=F(yE()),ae=F(vE()),Ne=F(gE()),Ct=F(EE()),Ge=F(wE()),je=F(_E()),ke=F(CE()),at=F(RE());function F(be){return be&&be.__esModule?be:{default:be}}o(F,"_interopRequireDefault");var st=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",i.default],["doc-backlink",a.default],["doc-biblioentry",s.default],["doc-bibliography",l.default],["doc-biblioref",d.default],["doc-chapter",u.default],["doc-colophon",c.default],["doc-conclusion",f.default],["doc-cover",p.default],["doc-credit",m.default],["doc-credits",b.default],["doc-dedication",_.default],["doc-endnote",w.default],["doc-endnotes",h.default],["doc-epigraph",C.default],["doc-epilogue",q.default],["doc-errata",j.default],["doc-example",M.default],["doc-footnote",T.default],["doc-foreword",R.default],["doc-glossary",y.default],["doc-glossref",v.default],["doc-index",N.default],["doc-introduction",x.default],["doc-noteref",k.default],["doc-notice",D.default],["doc-pagebreak",I.default],["doc-pagefooter",V.default],["doc-pageheader",L.default],["doc-pagelist",Q.default],["doc-part",H.default],["doc-preface",ae.default],["doc-prologue",Ne.default],["doc-pullquote",Ct.default],["doc-qna",Ge.default],["doc-subtitle",je.default],["doc-tip",ke.default],["doc-toc",at.default]];e.default=st}}),PE=S({"../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}}),qE=S({"../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}}),SE=S({"../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}}),xE=S({"../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(PE()),r=i(qE()),n=i(SE());function i(s){return s&&s.__esModule?s:{default:s}}o(i,"_interopRequireDefault");var a=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=a}}),wa=S({"../node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=s(sv()),r=s(Bg()),n=s(TE()),i=s(xE()),a=s(Xr());function s(w){return w&&w.__esModule?w:{default:w}}o(s,"_interopRequireDefault");function l(w,h){var C=typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(!C){if(Array.isArray(w)||(C=c(w))||h&&w&&typeof w.length=="number"){C&&(w=C);var q=0,j=o(function(){},"F");return{s:j,n:o(function(){return q>=w.length?{done:!0}:{done:!1,value:w[q++]}},"n"),e:o(function(v){throw v},"e"),f:j}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
4
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var M,T=!0,R=!1;return{s:o(function(){C=C.call(w)},"s"),n:o(function(){var v=C.next();return T=v.done,v},"n"),e:o(function(v){R=!0,M=v},"e"),f:o(function(){try{T||C.return==null||C.return()}finally{if(R)throw M}},"f")}}o(l,"_createForOfIteratorHelper");function d(w,h){return m(w)||p(w,h)||c(w,h)||u()}o(d,"_slicedToArray");function u(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
5
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}o(u,"_nonIterableRest");function c(w,h){if(w){if(typeof w=="string")return f(w,h);var C={}.toString.call(w).slice(8,-1);return C==="Object"&&w.constructor&&(C=w.constructor.name),C==="Map"||C==="Set"?Array.from(w):C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C)?f(w,h):void 0}}o(c,"_unsupportedIterableToArray");function f(w,h){(h==null||h>w.length)&&(h=w.length);for(var C=0,q=Array(h);C<h;C++)q[C]=w[C];return q}o(f,"_arrayLikeToArray");function p(w,h){var C=w==null?null:typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(C!=null){var q,j,M,T,R=[],y=!0,v=!1;try{if(M=(C=C.call(w)).next,h===0){if(Object(C)!==C)return;y=!1}else for(;!(y=(q=M.call(C)).done)&&(R.push(q.value),R.length!==h);y=!0);}catch(N){v=!0,j=N}finally{try{if(!y&&C.return!=null&&(T=C.return(),Object(T)!==T))return}finally{if(v)throw j}}return R}}o(p,"_iterableToArrayLimit");function m(w){if(Array.isArray(w))return w}o(m,"_arrayWithHoles");var b=[].concat(t.default,r.default,n.default,i.default);b.forEach(function(w){var h=d(w,2),C=h[1],q=l(C.superClass),j;try{for(q.s();!(j=q.n()).done;){var M=j.value,T=l(M),R;try{var y=o(function(){var N=R.value,x=b.filter(function(L){var Q=d(L,1),H=Q[0];return H===N})[0];if(x)for(var k=x[1],D=0,I=Object.keys(k.props);D<I.length;D++){var V=I[D];Object.prototype.hasOwnProperty.call(C.props,V)||(C.props[V]=k.props[V])}},"_loop");for(T.s();!(R=T.n()).done;)y()}catch(v){T.e(v)}finally{T.f()}}}catch(v){q.e(v)}finally{q.f()}});var _={entries:o(function(){return b},"entries"),forEach:o(function(h){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,q=l(b),j;try{for(q.s();!(j=q.n()).done;){var M=d(j.value,2),T=M[0],R=M[1];h.call(C,R,T,b)}}catch(y){q.e(y)}finally{q.f()}},"forEach"),get:o(function(h){var C=b.filter(function(q){return q[0]===h})[0];return C&&C[1]},"get"),has:o(function(h){return!!_.get(h)},"has"),keys:o(function(){return b.map(function(h){var C=d(h,1),q=C[0];return q})},"keys"),values:o(function(){return b.map(function(h){var C=d(h,2),q=C[1];return q})},"values")};e.default=(0,a.default)(_,_.entries())}}),AE=S({"../node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Xr()),r=n(wa());function n(T){return T&&T.__esModule?T:{default:T}}o(n,"_interopRequireDefault");function i(T,R){return u(T)||d(T,R)||s(T,R)||a()}o(i,"_slicedToArray");function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}o(a,"_nonIterableRest");function s(T,R){if(T){if(typeof T=="string")return l(T,R);var y={}.toString.call(T).slice(8,-1);return y==="Object"&&T.constructor&&(y=T.constructor.name),y==="Map"||y==="Set"?Array.from(T):y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y)?l(T,R):void 0}}o(s,"_unsupportedIterableToArray");function l(T,R){(R==null||R>T.length)&&(R=T.length);for(var y=0,v=Array(R);y<R;y++)v[y]=T[y];return v}o(l,"_arrayLikeToArray");function d(T,R){var y=T==null?null:typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(y!=null){var v,N,x,k,D=[],I=!0,V=!1;try{if(x=(y=y.call(T)).next,R===0){if(Object(y)!==y)return;I=!1}else for(;!(I=(v=x.call(y)).done)&&(D.push(v.value),D.length!==R);I=!0);}catch(L){V=!0,N=L}finally{try{if(!I&&y.return!=null&&(k=y.return(),Object(k)!==k))return}finally{if(V)throw N}}return D}}o(d,"_iterableToArrayLimit");function u(T){if(Array.isArray(T))return T}o(u,"_arrayWithHoles");var c=[],f=r.default.keys();for(h=0;h<f.length;h++)if(p=f[h],m=r.default.get(p),m)for(b=[].concat(m.baseConcepts,m.relatedConcepts),_=o(function(){var R=b[w];if(R.module==="HTML"){var y=R.concept;if(y){var v=c.filter(function(D){return q(D[0],y)})[0],N;v?N=v[1]:N=[];for(var x=!0,k=0;k<N.length;k++)if(N[k]===p){x=!1;break}x&&N.push(p),v||c.push([y,N])}}},"_loop"),w=0;w<b.length;w++)_();var p,m,b,_,w,h,C={entries:o(function(){return c},"entries"),forEach:o(function(R){for(var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,v=0,N=c;v<N.length;v++){var x=i(N[v],2),k=x[0],D=x[1];R.call(y,D,k,c)}},"forEach"),get:o(function(R){var y=c.filter(function(v){return R.name===v[0].name&&M(R.attributes,v[0].attributes)})[0];return y&&y[1]},"get"),has:o(function(R){return!!C.get(R)},"has"),keys:o(function(){return c.map(function(R){var y=i(R,1),v=y[0];return v})},"keys"),values:o(function(){return c.map(function(R){var y=i(R,2),v=y[1];return v})},"values")};function q(T,R){return T.name===R.name&&j(T.constraints,R.constraints)&&M(T.attributes,R.attributes)}o(q,"ariaRoleRelationConceptEquals");function j(T,R){if(T===void 0&&R!==void 0||T!==void 0&&R===void 0)return!1;if(T!==void 0&&R!==void 0){if(T.length!==R.length)return!1;for(var y=0;y<T.length;y++)if(T[y]!==R[y])return!1}return!0}o(j,"ariaRoleRelationConstraintsEquals");function M(T,R){if(T===void 0&&R!==void 0||T!==void 0&&R===void 0)return!1;if(T!==void 0&&R!==void 0){if(T.length!==R.length)return!1;for(var y=0;y<T.length;y++){if(T[y].name!==R[y].name||T[y].value!==R[y].value||T[y].constraints===void 0&&R[y].constraints!==void 0||T[y].constraints!==void 0&&R[y].constraints===void 0)return!1;if(T[y].constraints!==void 0&&R[y].constraints!==void 0){if(T[y].constraints.length!==R[y].constraints.length)return!1;for(var v=0;v<T[y].constraints.length;v++)if(T[y].constraints[v]!==R[y].constraints[v])return!1}}}return!0}o(M,"ariaRoleRelationConceptAttributeEquals"),e.default=(0,t.default)(C,C.entries())}}),OE=S({"../node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Xr()),r=n(wa());function n(M){return M&&M.__esModule?M:{default:M}}o(n,"_interopRequireDefault");function i(M,T){return u(M)||d(M,T)||s(M,T)||a()}o(i,"_slicedToArray");function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
7
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}o(a,"_nonIterableRest");function s(M,T){if(M){if(typeof M=="string")return l(M,T);var R={}.toString.call(M).slice(8,-1);return R==="Object"&&M.constructor&&(R=M.constructor.name),R==="Map"||R==="Set"?Array.from(M):R==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(R)?l(M,T):void 0}}o(s,"_unsupportedIterableToArray");function l(M,T){(T==null||T>M.length)&&(T=M.length);for(var R=0,y=Array(T);R<T;R++)y[R]=M[R];return y}o(l,"_arrayLikeToArray");function d(M,T){var R=M==null?null:typeof Symbol<"u"&&M[Symbol.iterator]||M["@@iterator"];if(R!=null){var y,v,N,x,k=[],D=!0,I=!1;try{if(N=(R=R.call(M)).next,T===0){if(Object(R)!==R)return;D=!1}else for(;!(D=(y=N.call(R)).done)&&(k.push(y.value),k.length!==T);D=!0);}catch(V){I=!0,v=V}finally{try{if(!D&&R.return!=null&&(x=R.return(),Object(x)!==x))return}finally{if(I)throw v}}return k}}o(d,"_iterableToArrayLimit");function u(M){if(Array.isArray(M))return M}o(u,"_arrayWithHoles");var c=[],f=r.default.keys();for(q=0;q<f.length;q++)if(p=f[q],m=r.default.get(p),b=[],m){for(_=[].concat(m.baseConcepts,m.relatedConcepts),C=0;C<_.length;C++)w=_[C],w.module==="HTML"&&(h=w.concept,h!=null&&b.push(h));b.length>0&&c.push([p,b])}var p,m,b,_,w,h,C,q,j={entries:o(function(){return c},"entries"),forEach:o(function(T){for(var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,y=0,v=c;y<v.length;y++){var N=i(v[y],2),x=N[0],k=N[1];T.call(R,k,x,c)}},"forEach"),get:o(function(T){var R=c.filter(function(y){return y[0]===T})[0];return R&&R[1]},"get"),has:o(function(T){return!!j.get(T)},"has"),keys:o(function(){return c.map(function(T){var R=i(T,1),y=R[0];return y})},"keys"),values:o(function(){return c.map(function(T){var R=i(T,2),y=R[1];return y})},"values")};e.default=(0,t.default)(j,j.entries())}}),_a=S({"../node_modules/aria-query/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=s(Gy()),r=s(Ky()),n=s(wa()),i=s(AE()),a=s(OE());function s(l){return l&&l.__esModule?l:{default:l}}o(s,"_interopRequireDefault"),e.aria=t.default,e.dom=r.default,e.roles=n.default,e.elementRoles=i.default,e.roleElements=a.default}}),$u=S({"../node_modules/css.escape/css.escape.js"(e,t){(function(r,n){typeof e=="object"?t.exports=n(r):typeof define=="function"&&define.amd?define([],n.bind(r,r)):n(r)})(typeof global<"u"?global:e,function(r){if(r.CSS&&r.CSS.escape)return r.CSS.escape;var n=o(function(i){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var a=String(i),s=a.length,l=-1,d,u="",c=a.charCodeAt(0);++l<s;){if(d=a.charCodeAt(l),d==0){u+="�";continue}if(d>=1&&d<=31||d==127||l==0&&d>=48&&d<=57||l==1&&d>=48&&d<=57&&c==45){u+="\\"+d.toString(16)+" ";continue}if(l==0&&s==1&&d==45){u+="\\"+a.charAt(l);continue}if(d>=128||d==45||d==95||d>=48&&d<=57||d>=65&&d<=90||d>=97&&d<=122){u+=a.charAt(l);continue}u+="\\"+a.charAt(l)}return u},"cssEscape");return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}}),Fu=S({"../node_modules/pretty-format/node_modules/ansi-styles/index.js"(e,t){var r=10,n=o((s=0)=>l=>`\x1B[${38+s};5;${l}m`,"wrapAnsi256"),i=o((s=0)=>(l,d,u)=>`\x1B[${38+s};2;${l};${d};${u}m`,"wrapAnsi16m");function a(){const s=new Map,l={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};l.color.gray=l.color.blackBright,l.bgColor.bgGray=l.bgColor.bgBlackBright,l.color.grey=l.color.blackBright,l.bgColor.bgGrey=l.bgColor.bgBlackBright;for(const[d,u]of Object.entries(l)){for(const[c,f]of Object.entries(u))l[c]={open:`\x1B[${f[0]}m`,close:`\x1B[${f[1]}m`},u[c]=l[c],s.set(f[0],f[1]);Object.defineProperty(l,d,{value:u,enumerable:!1})}return Object.defineProperty(l,"codes",{value:s,enumerable:!1}),l.color.close="\x1B[39m",l.bgColor.close="\x1B[49m",l.color.ansi256=n(),l.color.ansi16m=i(),l.bgColor.ansi256=n(r),l.bgColor.ansi16m=i(r),Object.defineProperties(l,{rgbToAnsi256:{value:o((d,u,c)=>d===u&&u===c?d<8?16:d>248?231:Math.round((d-8)/247*24)+232:16+36*Math.round(d/255*5)+6*Math.round(u/255*5)+Math.round(c/255*5),"value"),enumerable:!1},hexToRgb:{value:o(d=>{const u=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(d.toString(16));if(!u)return[0,0,0];let{colorString:c}=u.groups;c.length===3&&(c=c.split("").map(p=>p+p).join(""));const f=Number.parseInt(c,16);return[f>>16&255,f>>8&255,f&255]},"value"),enumerable:!1},hexToAnsi256:{value:o(d=>l.rgbToAnsi256(...l.hexToRgb(d)),"value"),enumerable:!1}}),l}o(a,"assembleStyles"),Object.defineProperty(t,"exports",{enumerable:!0,get:a})}}),ao=S({"../node_modules/pretty-format/build/collections.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=i,e.printObjectProperties=a;var t=o((s,l)=>{const d=Object.keys(s).sort(l);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(s).forEach(u=>{Object.getOwnPropertyDescriptor(s,u).enumerable&&d.push(u)}),d},"getKeysOfEnumerableProperties");function r(s,l,d,u,c,f,p=": "){let m="",b=s.next();if(!b.done){m+=l.spacingOuter;const _=d+l.indent;for(;!b.done;){const w=f(b.value[0],l,_,u,c),h=f(b.value[1],l,_,u,c);m+=_+w+p+h,b=s.next(),b.done?l.min||(m+=","):m+=","+l.spacingInner}m+=l.spacingOuter+d}return m}o(r,"printIteratorEntries");function n(s,l,d,u,c,f){let p="",m=s.next();if(!m.done){p+=l.spacingOuter;const b=d+l.indent;for(;!m.done;)p+=b+f(m.value,l,b,u,c),m=s.next(),m.done?l.min||(p+=","):p+=","+l.spacingInner;p+=l.spacingOuter+d}return p}o(n,"printIteratorValues");function i(s,l,d,u,c,f){let p="";if(s.length){p+=l.spacingOuter;const m=d+l.indent;for(let b=0;b<s.length;b++)p+=m,b in s&&(p+=f(s[b],l,m,u,c)),b<s.length-1?p+=","+l.spacingInner:l.min||(p+=",");p+=l.spacingOuter+d}return p}o(i,"printListItems");function a(s,l,d,u,c,f){let p="";const m=t(s,l.compareKeys);if(m.length){p+=l.spacingOuter;const b=d+l.indent;for(let _=0;_<m.length;_++){const w=m[_],h=f(w,l,b,u,c),C=f(s[w],l,b,u,c);p+=b+h+": "+C,_<m.length-1?p+=","+l.spacingInner:l.min||(p+=",")}p+=l.spacingOuter+d}return p}o(a,"printObjectProperties")}}),ME=S({"../node_modules/pretty-format/build/plugins/AsymmetricMatcher.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ao(),r=(function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),n=r["jest-symbol-do-not-touch"]||r.Symbol,i=typeof n=="function"&&n.for?n.for("jest.asymmetricMatcher"):1267621,a=" ",s=o((c,f,p,m,b,_)=>{const w=c.toString();return w==="ArrayContaining"||w==="ArrayNotContaining"?++m>f.maxDepth?"["+w+"]":w+a+"["+(0,t.printListItems)(c.sample,f,p,m,b,_)+"]":w==="ObjectContaining"||w==="ObjectNotContaining"?++m>f.maxDepth?"["+w+"]":w+a+"{"+(0,t.printObjectProperties)(c.sample,f,p,m,b,_)+"}":w==="StringMatching"||w==="StringNotMatching"||w==="StringContaining"||w==="StringNotContaining"?w+a+_(c.sample,f,p,m,b):c.toAsymmetricMatcher()},"serialize");e.serialize=s;var l=o(c=>c&&c.$$typeof===i,"test");e.test=l;var d={serialize:s,test:l},u=d;e.default=u}}),IE=S({"../node_modules/pretty-format/node_modules/ansi-regex/index.js"(e,t){t.exports=({onlyFirst:r=!1}={})=>{const n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(n,r?void 0:"g")}}}),NE=S({"../node_modules/pretty-format/build/plugins/ConvertAnsi.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(IE()),r=n(Fu());function n(u){return u&&u.__esModule?u:{default:u}}o(n,"_interopRequireDefault");var i=o(u=>u.replace((0,t.default)(),c=>{switch(c){case r.default.red.close:case r.default.green.close:case r.default.cyan.close:case r.default.gray.close:case r.default.white.close:case r.default.yellow.close:case r.default.bgRed.close:case r.default.bgGreen.close:case r.default.bgYellow.close:case r.default.inverse.close:case r.default.dim.close:case r.default.bold.close:case r.default.reset.open:case r.default.reset.close:return"</>";case r.default.red.open:return"<red>";case r.default.green.open:return"<green>";case r.default.cyan.open:return"<cyan>";case r.default.gray.open:return"<gray>";case r.default.white.open:return"<white>";case r.default.yellow.open:return"<yellow>";case r.default.bgRed.open:return"<bgRed>";case r.default.bgGreen.open:return"<bgGreen>";case r.default.bgYellow.open:return"<bgYellow>";case r.default.inverse.open:return"<inverse>";case r.default.dim.open:return"<dim>";case r.default.bold.open:return"<bold>";default:return""}}),"toHumanReadableAnsi"),a=o(u=>typeof u=="string"&&!!u.match((0,t.default)()),"test");e.test=a;var s=o((u,c,f,p,m,b)=>b(i(u),c,f,p,m),"serialize");e.serialize=s;var l={serialize:s,test:a},d=l;e.default=d}}),jE=S({"../node_modules/pretty-format/build/plugins/DOMCollection.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ao(),r=" ",n=["DOMStringMap","NamedNodeMap"],i=/^(HTML\w*Collection|NodeList)$/,a=o(f=>n.indexOf(f)!==-1||i.test(f),"testName"),s=o(f=>f&&f.constructor&&!!f.constructor.name&&a(f.constructor.name),"test");e.test=s;var l=o(f=>f.constructor.name==="NamedNodeMap","isNamedNodeMap"),d=o((f,p,m,b,_,w)=>{const h=f.constructor.name;return++b>p.maxDepth?"["+h+"]":(p.min?"":h+r)+(n.indexOf(h)!==-1?"{"+(0,t.printObjectProperties)(l(f)?Array.from(f).reduce((C,q)=>(C[q.name]=q.value,C),{}):{...f},p,m,b,_,w)+"}":"["+(0,t.printListItems)(Array.from(f),p,m,b,_,w)+"]")},"serialize");e.serialize=d;var u={serialize:d,test:s},c=u;e.default=c}}),kE=S({"../node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"&lt;").replace(/>/g,"&gt;")}o(t,"escapeHTML")}}),Ca=S({"../node_modules/pretty-format/build/plugins/lib/markup.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(kE());function r(u){return u&&u.__esModule?u:{default:u}}o(r,"_interopRequireDefault");var n=o((u,c,f,p,m,b,_)=>{const w=p+f.indent,h=f.colors;return u.map(C=>{const q=c[C];let j=_(q,f,w,m,b);return typeof q!="string"&&(j.indexOf(`
8
+ `)!==-1&&(j=f.spacingOuter+w+j+f.spacingOuter+p),j="{"+j+"}"),f.spacingInner+p+h.prop.open+C+h.prop.close+"="+h.value.open+j+h.value.close}).join("")},"printProps");e.printProps=n;var i=o((u,c,f,p,m,b)=>u.map(_=>c.spacingOuter+f+(typeof _=="string"?a(_,c):b(_,c,f,p,m))).join(""),"printChildren");e.printChildren=i;var a=o((u,c)=>{const f=c.colors.content;return f.open+(0,t.default)(u)+f.close},"printText");e.printText=a;var s=o((u,c)=>{const f=c.colors.comment;return f.open+"<!--"+(0,t.default)(u)+"-->"+f.close},"printComment");e.printComment=s;var l=o((u,c,f,p,m)=>{const b=p.colors.tag;return b.open+"<"+u+(c&&b.close+c+p.spacingOuter+m+b.open)+(f?">"+b.close+f+p.spacingOuter+m+b.open+"</"+u:(c&&!p.min?"":" ")+"/")+">"+b.close},"printElement");e.printElement=l;var d=o((u,c)=>{const f=c.colors.tag;return f.open+"<"+u+f.close+" …"+f.open+" />"+f.close},"printElementAsLeaf");e.printElementAsLeaf=d}}),BE=S({"../node_modules/pretty-format/build/plugins/DOMElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Ca(),r=1,n=3,i=8,a=11,s=/^((HTML|SVG)\w*)?Element$/,l=o(w=>{try{return typeof w.hasAttribute=="function"&&w.hasAttribute("is")}catch{return!1}},"testHasAttribute"),d=o(w=>{const h=w.constructor.name,{nodeType:C,tagName:q}=w,j=typeof q=="string"&&q.includes("-")||l(w);return C===r&&(s.test(h)||j)||C===n&&h==="Text"||C===i&&h==="Comment"||C===a&&h==="DocumentFragment"},"testNode"),u=o(w=>{var h;return(w==null||(h=w.constructor)===null||h===void 0?void 0:h.name)&&d(w)},"test");e.test=u;function c(w){return w.nodeType===n}o(c,"nodeIsText");function f(w){return w.nodeType===i}o(f,"nodeIsComment");function p(w){return w.nodeType===a}o(p,"nodeIsFragment");var m=o((w,h,C,q,j,M)=>{if(c(w))return(0,t.printText)(w.data,h);if(f(w))return(0,t.printComment)(w.data,h);const T=p(w)?"DocumentFragment":w.tagName.toLowerCase();return++q>h.maxDepth?(0,t.printElementAsLeaf)(T,h):(0,t.printElement)(T,(0,t.printProps)(p(w)?[]:Array.from(w.attributes).map(R=>R.name).sort(),p(w)?{}:Array.from(w.attributes).reduce((R,y)=>(R[y.name]=y.value,R),{}),h,C+h.indent,q,j,M),(0,t.printChildren)(Array.prototype.slice.call(w.childNodes||w.children),h,C+h.indent,q,j,M),h,C)},"serialize");e.serialize=m;var b={serialize:m,test:u},_=b;e.default=_}}),DE=S({"../node_modules/pretty-format/build/plugins/Immutable.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ao(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",i="@@__IMMUTABLE_KEYED__@@",a="@@__IMMUTABLE_MAP__@@",s="@@__IMMUTABLE_ORDERED__@@",l="@@__IMMUTABLE_RECORD__@@",d="@@__IMMUTABLE_SEQ__@@",u="@@__IMMUTABLE_SET__@@",c="@@__IMMUTABLE_STACK__@@",f=o(y=>"Immutable."+y,"getImmutableName"),p=o(y=>"["+y+"]","printAsLeaf"),m=" ",b="…",_=o((y,v,N,x,k,D,I)=>++x>v.maxDepth?p(f(I)):f(I)+m+"{"+(0,t.printIteratorEntries)(y.entries(),v,N,x,k,D)+"}","printImmutableEntries");function w(y){let v=0;return{next(){if(v<y._keys.length){const N=y._keys[v++];return{done:!1,value:[N,y.get(N)]}}return{done:!0,value:void 0}}}}o(w,"getRecordEntries");var h=o((y,v,N,x,k,D)=>{const I=f(y._name||"Record");return++x>v.maxDepth?p(I):I+m+"{"+(0,t.printIteratorEntries)(w(y),v,N,x,k,D)+"}"},"printImmutableRecord"),C=o((y,v,N,x,k,D)=>{const I=f("Seq");return++x>v.maxDepth?p(I):y[i]?I+m+"{"+(y._iter||y._object?(0,t.printIteratorEntries)(y.entries(),v,N,x,k,D):b)+"}":I+m+"["+(y._iter||y._array||y._collection||y._iterable?(0,t.printIteratorValues)(y.values(),v,N,x,k,D):b)+"]"},"printImmutableSeq"),q=o((y,v,N,x,k,D,I)=>++x>v.maxDepth?p(f(I)):f(I)+m+"["+(0,t.printIteratorValues)(y.values(),v,N,x,k,D)+"]","printImmutableValues"),j=o((y,v,N,x,k,D)=>y[a]?_(y,v,N,x,k,D,y[s]?"OrderedMap":"Map"):y[n]?q(y,v,N,x,k,D,"List"):y[u]?q(y,v,N,x,k,D,y[s]?"OrderedSet":"Set"):y[c]?q(y,v,N,x,k,D,"Stack"):y[d]?C(y,v,N,x,k,D):h(y,v,N,x,k,D),"serialize");e.serialize=j;var M=o(y=>y&&(y[r]===!0||y[l]===!0),"test");e.test=M;var T={serialize:j,test:M},R=T;e.default=R}}),LE=S({"../node_modules/pretty-format/node_modules/react-is/cjs/react-is.production.min.js"(e){var t=60103,r=60106,n=60107,i=60108,a=60114,s=60109,l=60110,d=60112,u=60113,c=60120,f=60115,p=60116,m=60121,b=60122,_=60117,w=60129,h=60131;typeof Symbol=="function"&&Symbol.for&&(C=Symbol.for,t=C("react.element"),r=C("react.portal"),n=C("react.fragment"),i=C("react.strict_mode"),a=C("react.profiler"),s=C("react.provider"),l=C("react.context"),d=C("react.forward_ref"),u=C("react.suspense"),c=C("react.suspense_list"),f=C("react.memo"),p=C("react.lazy"),m=C("react.block"),b=C("react.server.block"),_=C("react.fundamental"),w=C("react.debug_trace_mode"),h=C("react.legacy_hidden"));var C;function q(I){if(typeof I=="object"&&I!==null){var V=I.$$typeof;switch(V){case t:switch(I=I.type,I){case n:case a:case i:case u:case c:return I;default:switch(I=I&&I.$$typeof,I){case l:case d:case p:case f:case s:return I;default:return V}}case r:return V}}}o(q,"y");var j=s,M=t,T=d,R=n,y=p,v=f,N=r,x=a,k=i,D=u;e.ContextConsumer=l,e.ContextProvider=j,e.Element=M,e.ForwardRef=T,e.Fragment=R,e.Lazy=y,e.Memo=v,e.Portal=N,e.Profiler=x,e.StrictMode=k,e.Suspense=D,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(I){return q(I)===l},e.isContextProvider=function(I){return q(I)===s},e.isElement=function(I){return typeof I=="object"&&I!==null&&I.$$typeof===t},e.isForwardRef=function(I){return q(I)===d},e.isFragment=function(I){return q(I)===n},e.isLazy=function(I){return q(I)===p},e.isMemo=function(I){return q(I)===f},e.isPortal=function(I){return q(I)===r},e.isProfiler=function(I){return q(I)===a},e.isStrictMode=function(I){return q(I)===i},e.isSuspense=function(I){return q(I)===u},e.isValidElementType=function(I){return typeof I=="string"||typeof I=="function"||I===n||I===a||I===w||I===i||I===u||I===c||I===h||typeof I=="object"&&I!==null&&(I.$$typeof===p||I.$$typeof===f||I.$$typeof===s||I.$$typeof===l||I.$$typeof===d||I.$$typeof===_||I.$$typeof===m||I[0]===b)},e.typeOf=q}}),$E=S({"../node_modules/pretty-format/node_modules/react-is/index.js"(e,t){t.exports=LE()}}),FE=S({"../node_modules/pretty-format/build/plugins/ReactElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=i($E()),r=Ca();function n(p){if(typeof WeakMap!="function")return null;var m=new WeakMap,b=new WeakMap;return(n=o(function(_){return _?b:m},"_getRequireWildcardCache"))(p)}o(n,"_getRequireWildcardCache");function i(p,m){if(!m&&p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var b=n(m);if(b&&b.has(p))return b.get(p);var _={},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in p)if(h!=="default"&&Object.prototype.hasOwnProperty.call(p,h)){var C=w?Object.getOwnPropertyDescriptor(p,h):null;C&&(C.get||C.set)?Object.defineProperty(_,h,C):_[h]=p[h]}return _.default=p,b&&b.set(p,_),_}o(i,"_interopRequireWildcard");var a=o((p,m=[])=>(Array.isArray(p)?p.forEach(b=>{a(b,m)}):p!=null&&p!==!1&&m.push(p),m),"getChildren"),s=o(p=>{const m=p.type;if(typeof m=="string")return m;if(typeof m=="function")return m.displayName||m.name||"Unknown";if(t.isFragment(p))return"React.Fragment";if(t.isSuspense(p))return"React.Suspense";if(typeof m=="object"&&m!==null){if(t.isContextProvider(p))return"Context.Provider";if(t.isContextConsumer(p))return"Context.Consumer";if(t.isForwardRef(p)){if(m.displayName)return m.displayName;const b=m.render.displayName||m.render.name||"";return b!==""?"ForwardRef("+b+")":"ForwardRef"}if(t.isMemo(p)){const b=m.displayName||m.type.displayName||m.type.name||"";return b!==""?"Memo("+b+")":"Memo"}}return"UNDEFINED"},"getType"),l=o(p=>{const{props:m}=p;return Object.keys(m).filter(b=>b!=="children"&&m[b]!==void 0).sort()},"getPropKeys"),d=o((p,m,b,_,w,h)=>++_>m.maxDepth?(0,r.printElementAsLeaf)(s(p),m):(0,r.printElement)(s(p),(0,r.printProps)(l(p),p.props,m,b+m.indent,_,w,h),(0,r.printChildren)(a(p.props.children),m,b+m.indent,_,w,h),m,b),"serialize");e.serialize=d;var u=o(p=>p!=null&&t.isElement(p),"test");e.test=u;var c={serialize:d,test:u},f=c;e.default=f}}),VE=S({"../node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Ca(),r=(function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),n=r["jest-symbol-do-not-touch"]||r.Symbol,i=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,a=o(c=>{const{props:f}=c;return f?Object.keys(f).filter(p=>f[p]!==void 0).sort():[]},"getPropKeys"),s=o((c,f,p,m,b,_)=>++m>f.maxDepth?(0,t.printElementAsLeaf)(c.type,f):(0,t.printElement)(c.type,c.props?(0,t.printProps)(a(c),c.props,f,p+f.indent,m,b,_):"",c.children?(0,t.printChildren)(c.children,f,p+f.indent,m,b,_):"",f,p),"serialize");e.serialize=s;var l=o(c=>c&&c.$$typeof===i,"test");e.test=l;var d={serialize:s,test:l},u=d;e.default=u}}),HE=S({"../node_modules/pretty-format/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=be,e.plugins=void 0;var t=c(Fu()),r=ao(),n=c(ME()),i=c(NE()),a=c(jE()),s=c(BE()),l=c(DE()),d=c(FE()),u=c(VE());function c(O){return O&&O.__esModule?O:{default:O}}o(c,"_interopRequireDefault");var f=Object.prototype.toString,p=Date.prototype.toISOString,m=Error.prototype.toString,b=RegExp.prototype.toString,_=o(O=>typeof O.constructor=="function"&&O.constructor.name||"Object","getConstructorName"),w=o(O=>typeof window<"u"&&O===window,"isWindow"),h=/^Symbol\((.*)\)(.*)$/,C=/\n/gi,q=class extends Error{constructor($,W){super($),this.stack=W,this.name=this.constructor.name}};o(q,"PrettyFormatPluginError");var j=q;function M(O){return O==="[object Array]"||O==="[object ArrayBuffer]"||O==="[object DataView]"||O==="[object Float32Array]"||O==="[object Float64Array]"||O==="[object Int8Array]"||O==="[object Int16Array]"||O==="[object Int32Array]"||O==="[object Uint8Array]"||O==="[object Uint8ClampedArray]"||O==="[object Uint16Array]"||O==="[object Uint32Array]"}o(M,"isToStringedArrayType");function T(O){return Object.is(O,-0)?"-0":String(O)}o(T,"printNumber");function R(O){return`${O}n`}o(R,"printBigInt");function y(O,$){return $?"[Function "+(O.name||"anonymous")+"]":"[Function]"}o(y,"printFunction");function v(O){return String(O).replace(h,"Symbol($1)")}o(v,"printSymbol");function N(O){return"["+m.call(O)+"]"}o(N,"printError");function x(O,$,W,te){if(O===!0||O===!1)return""+O;if(O===void 0)return"undefined";if(O===null)return"null";const Z=typeof O;if(Z==="number")return T(O);if(Z==="bigint")return R(O);if(Z==="string")return te?'"'+O.replace(/"|\\/g,"\\$&")+'"':'"'+O+'"';if(Z==="function")return y(O,$);if(Z==="symbol")return v(O);const ue=f.call(O);return ue==="[object WeakMap]"?"WeakMap {}":ue==="[object WeakSet]"?"WeakSet {}":ue==="[object Function]"||ue==="[object GeneratorFunction]"?y(O,$):ue==="[object Symbol]"?v(O):ue==="[object Date]"?isNaN(+O)?"Date { NaN }":p.call(O):ue==="[object Error]"?N(O):ue==="[object RegExp]"?W?b.call(O).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):b.call(O):O instanceof Error?N(O):null}o(x,"printBasicValue");function k(O,$,W,te,Z,ue){if(Z.indexOf(O)!==-1)return"[Circular]";Z=Z.slice(),Z.push(O);const pe=++te>$.maxDepth,me=$.min;if($.callToJSON&&!pe&&O.toJSON&&typeof O.toJSON=="function"&&!ue)return L(O.toJSON(),$,W,te,Z,!0);const Ke=f.call(O);return Ke==="[object Arguments]"?pe?"[Arguments]":(me?"":"Arguments ")+"["+(0,r.printListItems)(O,$,W,te,Z,L)+"]":M(Ke)?pe?"["+O.constructor.name+"]":(me||!$.printBasicPrototype&&O.constructor.name==="Array"?"":O.constructor.name+" ")+"["+(0,r.printListItems)(O,$,W,te,Z,L)+"]":Ke==="[object Map]"?pe?"[Map]":"Map {"+(0,r.printIteratorEntries)(O.entries(),$,W,te,Z,L," => ")+"}":Ke==="[object Set]"?pe?"[Set]":"Set {"+(0,r.printIteratorValues)(O.values(),$,W,te,Z,L)+"}":pe||w(O)?"["+_(O)+"]":(me||!$.printBasicPrototype&&_(O)==="Object"?"":_(O)+" ")+"{"+(0,r.printObjectProperties)(O,$,W,te,Z,L)+"}"}o(k,"printComplexValue");function D(O){return O.serialize!=null}o(D,"isNewPlugin");function I(O,$,W,te,Z,ue){let pe;try{pe=D(O)?O.serialize($,W,te,Z,ue,L):O.print($,me=>L(me,W,te,Z,ue),me=>{const Ke=te+W.indent;return Ke+me.replace(C,`
9
+ `+Ke)},{edgeSpacing:W.spacingOuter,min:W.min,spacing:W.spacingInner},W.colors)}catch(me){throw new j(me.message,me.stack)}if(typeof pe!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof pe}".`);return pe}o(I,"printPlugin");function V(O,$){for(let W=0;W<O.length;W++)try{if(O[W].test($))return O[W]}catch(te){throw new j(te.message,te.stack)}return null}o(V,"findPlugin");function L(O,$,W,te,Z,ue){const pe=V($.plugins,O);if(pe!==null)return I(pe,O,$,W,te,Z);const me=x(O,$.printFunctionName,$.escapeRegex,$.escapeString);return me!==null?me:k(O,$,W,te,Z,ue)}o(L,"printer");var Q={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},H=Object.keys(Q),ae={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:Q};e.DEFAULT_OPTIONS=ae;function Ne(O){if(Object.keys(O).forEach($=>{if(!ae.hasOwnProperty($))throw new Error(`pretty-format: Unknown option "${$}".`)}),O.min&&O.indent!==void 0&&O.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(O.theme!==void 0){if(O.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof O.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof O.theme}".`)}}o(Ne,"validateOptions");var Ct=o(O=>H.reduce(($,W)=>{const te=O.theme&&O.theme[W]!==void 0?O.theme[W]:Q[W],Z=te&&t.default[te];if(Z&&typeof Z.close=="string"&&typeof Z.open=="string")$[W]=Z;else throw new Error(`pretty-format: Option "theme" has a key "${W}" whose value "${te}" is undefined in ansi-styles.`);return $},Object.create(null)),"getColorsHighlight"),Ge=o(()=>H.reduce((O,$)=>(O[$]={close:"",open:""},O),Object.create(null)),"getColorsEmpty"),je=o(O=>O&&O.printFunctionName!==void 0?O.printFunctionName:ae.printFunctionName,"getPrintFunctionName"),ke=o(O=>O&&O.escapeRegex!==void 0?O.escapeRegex:ae.escapeRegex,"getEscapeRegex"),at=o(O=>O&&O.escapeString!==void 0?O.escapeString:ae.escapeString,"getEscapeString"),F=o(O=>{var $;return{callToJSON:O&&O.callToJSON!==void 0?O.callToJSON:ae.callToJSON,colors:O&&O.highlight?Ct(O):Ge(),compareKeys:O&&typeof O.compareKeys=="function"?O.compareKeys:ae.compareKeys,escapeRegex:ke(O),escapeString:at(O),indent:O&&O.min?"":st(O&&O.indent!==void 0?O.indent:ae.indent),maxDepth:O&&O.maxDepth!==void 0?O.maxDepth:ae.maxDepth,min:O&&O.min!==void 0?O.min:ae.min,plugins:O&&O.plugins!==void 0?O.plugins:ae.plugins,printBasicPrototype:($=O?.printBasicPrototype)!==null&&$!==void 0?$:!0,printFunctionName:je(O),spacingInner:O&&O.min?" ":`
10
+ `,spacingOuter:O&&O.min?"":`
11
+ `}},"getConfig");function st(O){return new Array(O+1).join(" ")}o(st,"createIndent");function be(O,$){if($&&(Ne($),$.plugins)){const te=V($.plugins,O);if(te!==null)return I(te,O,F($),"",0,[])}const W=x(O,je($),ke($),at($));return W!==null?W:k(O,F($),"",0,[])}o(be,"format");var yr={AsymmetricMatcher:n.default,ConvertAnsi:i.default,DOMCollection:a.default,DOMElement:s.default,Immutable:l.default,ReactElement:d.default,ReactTestComponent:u.default};e.plugins=yr;var si=be;e.default=si}}),UE=S({"../node_modules/lz-string/libs/lz-string.js"(e,t){var r=(function(){var n=String.fromCharCode,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",s={};function l(u,c){if(!s[u]){s[u]={};for(var f=0;f<u.length;f++)s[u][u.charAt(f)]=f}return s[u][c]}o(l,"getBaseValue");var d={compressToBase64:o(function(u){if(u==null)return"";var c=d._compress(u,6,function(f){return i.charAt(f)});switch(c.length%4){default:case 0:return c;case 1:return c+"===";case 2:return c+"==";case 3:return c+"="}},"compressToBase64"),decompressFromBase64:o(function(u){return u==null?"":u==""?null:d._decompress(u.length,32,function(c){return l(i,u.charAt(c))})},"decompressFromBase64"),compressToUTF16:o(function(u){return u==null?"":d._compress(u,15,function(c){return n(c+32)})+" "},"compressToUTF16"),decompressFromUTF16:o(function(u){return u==null?"":u==""?null:d._decompress(u.length,16384,function(c){return u.charCodeAt(c)-32})},"decompressFromUTF16"),compressToUint8Array:o(function(u){for(var c=d.compress(u),f=new Uint8Array(c.length*2),p=0,m=c.length;p<m;p++){var b=c.charCodeAt(p);f[p*2]=b>>>8,f[p*2+1]=b%256}return f},"compressToUint8Array"),decompressFromUint8Array:o(function(u){if(u==null)return d.decompress(u);for(var c=new Array(u.length/2),f=0,p=c.length;f<p;f++)c[f]=u[f*2]*256+u[f*2+1];var m=[];return c.forEach(function(b){m.push(n(b))}),d.decompress(m.join(""))},"decompressFromUint8Array"),compressToEncodedURIComponent:o(function(u){return u==null?"":d._compress(u,6,function(c){return a.charAt(c)})},"compressToEncodedURIComponent"),decompressFromEncodedURIComponent:o(function(u){return u==null?"":u==""?null:(u=u.replace(/ /g,"+"),d._decompress(u.length,32,function(c){return l(a,u.charAt(c))}))},"decompressFromEncodedURIComponent"),compress:o(function(u){return d._compress(u,16,function(c){return n(c)})},"compress"),_compress:o(function(u,c,f){if(u==null)return"";var p,m,b={},_={},w="",h="",C="",q=2,j=3,M=2,T=[],R=0,y=0,v;for(v=0;v<u.length;v+=1)if(w=u.charAt(v),Object.prototype.hasOwnProperty.call(b,w)||(b[w]=j++,_[w]=!0),h=C+w,Object.prototype.hasOwnProperty.call(b,h))C=h;else{if(Object.prototype.hasOwnProperty.call(_,C)){if(C.charCodeAt(0)<256){for(p=0;p<M;p++)R=R<<1,y==c-1?(y=0,T.push(f(R)),R=0):y++;for(m=C.charCodeAt(0),p=0;p<8;p++)R=R<<1|m&1,y==c-1?(y=0,T.push(f(R)),R=0):y++,m=m>>1}else{for(m=1,p=0;p<M;p++)R=R<<1|m,y==c-1?(y=0,T.push(f(R)),R=0):y++,m=0;for(m=C.charCodeAt(0),p=0;p<16;p++)R=R<<1|m&1,y==c-1?(y=0,T.push(f(R)),R=0):y++,m=m>>1}q--,q==0&&(q=Math.pow(2,M),M++),delete _[C]}else for(m=b[C],p=0;p<M;p++)R=R<<1|m&1,y==c-1?(y=0,T.push(f(R)),R=0):y++,m=m>>1;q--,q==0&&(q=Math.pow(2,M),M++),b[h]=j++,C=String(w)}if(C!==""){if(Object.prototype.hasOwnProperty.call(_,C)){if(C.charCodeAt(0)<256){for(p=0;p<M;p++)R=R<<1,y==c-1?(y=0,T.push(f(R)),R=0):y++;for(m=C.charCodeAt(0),p=0;p<8;p++)R=R<<1|m&1,y==c-1?(y=0,T.push(f(R)),R=0):y++,m=m>>1}else{for(m=1,p=0;p<M;p++)R=R<<1|m,y==c-1?(y=0,T.push(f(R)),R=0):y++,m=0;for(m=C.charCodeAt(0),p=0;p<16;p++)R=R<<1|m&1,y==c-1?(y=0,T.push(f(R)),R=0):y++,m=m>>1}q--,q==0&&(q=Math.pow(2,M),M++),delete _[C]}else for(m=b[C],p=0;p<M;p++)R=R<<1|m&1,y==c-1?(y=0,T.push(f(R)),R=0):y++,m=m>>1;q--,q==0&&(q=Math.pow(2,M),M++)}for(m=2,p=0;p<M;p++)R=R<<1|m&1,y==c-1?(y=0,T.push(f(R)),R=0):y++,m=m>>1;for(;;)if(R=R<<1,y==c-1){T.push(f(R));break}else y++;return T.join("")},"_compress"),decompress:o(function(u){return u==null?"":u==""?null:d._decompress(u.length,32768,function(c){return u.charCodeAt(c)})},"decompress"),_decompress:o(function(u,c,f){var p=[],m=4,b=4,_=3,w="",h=[],C,q,j,M,T,R,y,v={val:f(0),position:c,index:1};for(C=0;C<3;C+=1)p[C]=C;for(j=0,T=Math.pow(2,2),R=1;R!=T;)M=v.val&v.position,v.position>>=1,v.position==0&&(v.position=c,v.val=f(v.index++)),j|=(M>0?1:0)*R,R<<=1;switch(j){case 0:for(j=0,T=Math.pow(2,8),R=1;R!=T;)M=v.val&v.position,v.position>>=1,v.position==0&&(v.position=c,v.val=f(v.index++)),j|=(M>0?1:0)*R,R<<=1;y=n(j);break;case 1:for(j=0,T=Math.pow(2,16),R=1;R!=T;)M=v.val&v.position,v.position>>=1,v.position==0&&(v.position=c,v.val=f(v.index++)),j|=(M>0?1:0)*R,R<<=1;y=n(j);break;case 2:return""}for(p[3]=y,q=y,h.push(y);;){if(v.index>u)return"";for(j=0,T=Math.pow(2,_),R=1;R!=T;)M=v.val&v.position,v.position>>=1,v.position==0&&(v.position=c,v.val=f(v.index++)),j|=(M>0?1:0)*R,R<<=1;switch(y=j){case 0:for(j=0,T=Math.pow(2,8),R=1;R!=T;)M=v.val&v.position,v.position>>=1,v.position==0&&(v.position=c,v.val=f(v.index++)),j|=(M>0?1:0)*R,R<<=1;p[b++]=n(j),y=b-1,m--;break;case 1:for(j=0,T=Math.pow(2,16),R=1;R!=T;)M=v.val&v.position,v.position>>=1,v.position==0&&(v.position=c,v.val=f(v.index++)),j|=(M>0?1:0)*R,R<<=1;p[b++]=n(j),y=b-1,m--;break;case 2:return h.join("")}if(m==0&&(m=Math.pow(2,_),_++),p[y])w=p[y];else if(y===b)w=q+q.charAt(0);else return null;h.push(w),p[b++]=q+w.charAt(0),m--,q=w,m==0&&(m=Math.pow(2,_),_++)}},"_decompress")};return d})();typeof define=="function"&&define.amd?define(function(){return r}):typeof t<"u"&&t!=null?t.exports=r:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return r})}}),Vu=Object.defineProperty,A=o((e,t)=>Vu(e,"name",{value:t,configurable:!0}),"__name"),Ra=o((e,t)=>{for(var r in t)Vu(e,r,{get:t[r],enumerable:!0})},"__export"),Le={};Ra(Le,{addChainableMethod:o(()=>go,"addChainableMethod"),addLengthGuard:o(()=>cr,"addLengthGuard"),addMethod:o(()=>bo,"addMethod"),addProperty:o(()=>ho,"addProperty"),checkError:o(()=>ge,"checkError"),compareByInspect:o(()=>Br,"compareByInspect"),eql:o(()=>Uu,"eql"),expectTypes:o(()=>Oa,"expectTypes"),flag:o(()=>U,"flag"),getActual:o(()=>Qr,"getActual"),getMessage:o(()=>uo,"getMessage"),getName:o(()=>en,"getName"),getOperator:o(()=>Co,"getOperator"),getOwnEnumerableProperties:o(()=>_o,"getOwnEnumerableProperties"),getOwnEnumerablePropertySymbols:o(()=>wo,"getOwnEnumerablePropertySymbols"),getPathInfo:o(()=>mo,"getPathInfo"),hasProperty:o(()=>Zr,"hasProperty"),inspect:o(()=>J,"inspect"),isNaN:o(()=>$n,"isNaN"),isNumeric:o(()=>le,"isNumeric"),isProxyEnabled:o(()=>ur,"isProxyEnabled"),isRegExp:o(()=>Dr,"isRegExp"),objDisplay:o(()=>ft,"objDisplay"),overwriteChainableMethod:o(()=>Eo,"overwriteChainableMethod"),overwriteMethod:o(()=>vo,"overwriteMethod"),overwriteProperty:o(()=>yo,"overwriteProperty"),proxify:o(()=>Bt,"proxify"),test:o(()=>so,"test"),transferFlags:o(()=>xe,"transferFlags"),type:o(()=>ee,"type")});var ge={};Ra(ge,{compatibleConstructor:o(()=>qa,"compatibleConstructor"),compatibleInstance:o(()=>Pa,"compatibleInstance"),compatibleMessage:o(()=>Sa,"compatibleMessage"),getConstructorName:o(()=>xa,"getConstructorName"),getMessage:o(()=>Aa,"getMessage")});function Yr(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}o(Yr,"isErrorInstance");A(Yr,"isErrorInstance");function Ta(e){return Object.prototype.toString.call(e)==="[object RegExp]"}o(Ta,"isRegExp");A(Ta,"isRegExp");function Pa(e,t){return Yr(t)&&e===t}o(Pa,"compatibleInstance");A(Pa,"compatibleInstance");function qa(e,t){return Yr(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}o(qa,"compatibleConstructor");A(qa,"compatibleConstructor");function Sa(e,t){const r=typeof e=="string"?e:e.message;return Ta(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}o(Sa,"compatibleMessage");A(Sa,"compatibleMessage");function xa(e){let t=e;return Yr(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}o(xa,"getConstructorName");A(xa,"getConstructorName");function Aa(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}o(Aa,"getMessage");A(Aa,"getMessage");function U(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}o(U,"flag");A(U,"flag");function so(e,t){let r=U(e,"negate"),n=t[0];return r?!n:n}o(so,"test");A(so,"test");function ee(e){if(typeof e>"u")return"undefined";if(e===null)return"null";const t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}o(ee,"type");A(ee,"type");var zE="captureStackTrace"in Error,vr,Y=(vr=class extends Error{message;get name(){return"AssertionError"}get ok(){return!1}constructor(e="Unspecified AssertionError",t,r){super(e),this.message=e,zE&&Error.captureStackTrace(this,r||vr);for(const n in t)n in this||(this[n]=t[n])}toJSON(e){return{...this,name:this.name,message:this.message,ok:!1,stack:e!==!1?this.stack:void 0}}},o(vr,"_AssertionError"),A(vr,"AssertionError"),vr);function Oa(e,t){let r=U(e,"message"),n=U(e,"ssfi");r=r?r+": ":"",e=U(e,"object"),t=t.map(function(s){return s.toLowerCase()}),t.sort();let i=t.map(function(s,l){let d=~["a","e","i","o","u"].indexOf(s.charAt(0))?"an":"a";return(t.length>1&&l===t.length-1?"or ":"")+d+" "+s}).join(", "),a=ee(e).toLowerCase();if(!t.some(function(s){return a===s}))throw new Y(r+"object tested must be "+i+", but "+a+" given",void 0,n)}o(Oa,"expectTypes");A(Oa,"expectTypes");function Qr(e,t){return t.length>4?t[4]:e._obj}o(Qr,"getActual");A(Qr,"getActual");var ou={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},WE={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},Xt="…";function Ma(e,t){const r=ou[WE[t]]||ou[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}o(Ma,"colorise");A(Ma,"colorise");function Ia({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:i=!1,maxArrayLength:a=1/0,breakLength:s=1/0,seen:l=[],truncate:d=1/0,stylize:u=String}={},c){const f={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!i,maxArrayLength:Number(a),breakLength:Number(s),truncate:Number(d),seen:l,inspect:c,stylize:u};return f.colors&&(f.stylize=Ma),f}o(Ia,"normaliseOptions");A(Ia,"normaliseOptions");function Na(e){return e>="\uD800"&&e<="\uDBFF"}o(Na,"isHighSurrogate");A(Na,"isHighSurrogate");function Ue(e,t,r=Xt){e=String(e);const n=r.length,i=e.length;if(n>t&&i>n)return r;if(i>t&&i>n){let a=t-n;return a>0&&Na(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}o(Ue,"truncate");A(Ue,"truncate");function Ce(e,t,r,n=", "){r=r||t.inspect;const i=e.length;if(i===0)return"";const a=t.truncate;let s="",l="",d="";for(let u=0;u<i;u+=1){const c=u+1===e.length,f=u+2===e.length;d=`${Xt}(${e.length-u})`;const p=e[u];t.truncate=a-s.length-(c?0:n.length);const m=l||r(p,t)+(c?"":n),b=s.length+m.length,_=b+d.length;if(c&&b>a&&s.length+d.length<=a||!c&&!f&&_>a||(l=c?"":r(e[u+1],t)+(f?"":n),!c&&f&&_>a&&b+l.length>a))break;if(s+=m,!c&&!f&&b+l.length>=a){d=`${Xt}(${e.length-u-1})`;break}d=""}return`${s}${d}`}o(Ce,"inspectList");A(Ce,"inspectList");function ja(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}o(ja,"quoteComplexKey");A(ja,"quoteComplexKey");function xt([e,t],r){return r.truncate-=2,typeof e=="string"?e=ja(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}o(xt,"inspectProperty");A(xt,"inspectProperty");function ka(e,t){const r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;const n=Ce(e,t);t.truncate-=n.length;let i="";return r.length&&(i=Ce(r.map(a=>[a,e[a]]),t,xt)),`[ ${n}${i?`, ${i}`:""} ]`}o(ka,"inspectArray");A(ka,"inspectArray");var GE=A(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function Ae(e,t){const r=GE(e);t.truncate-=r.length+4;const n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let i="";for(let s=0;s<e.length;s++){const l=`${t.stylize(Ue(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=l.length,e[s]!==e.length&&t.truncate<=3){i+=`${Xt}(${e.length-e[s]+1})`;break}i+=l}let a="";return n.length&&(a=Ce(n.map(s=>[s,e[s]]),t,xt)),`${r}[ ${i}${a?`, ${a}`:""} ]`}o(Ae,"inspectTypedArray");A(Ae,"inspectTypedArray");function Ba(e,t){const r=e.toJSON();if(r===null)return"Invalid Date";const n=r.split("T"),i=n[0];return t.stylize(`${i}T${Ue(n[1],t.truncate-i.length-1)}`,"date")}o(Ba,"inspectDate");A(Ba,"inspectDate");function Pn(e,t){const r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Ue(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}o(Pn,"inspectFunction");A(Pn,"inspectFunction");function Da([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}o(Da,"inspectMapEntry");A(Da,"inspectMapEntry");function La(e){const t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}o(La,"mapToEntries");A(La,"mapToEntries");function $a(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${Ce(La(e),t,Da)} }`)}o($a,"inspectMap");A($a,"inspectMap");var KE=Number.isNaN||(e=>e!==e);function qn(e,t){return KE(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(Ue(String(e),t.truncate),"number")}o(qn,"inspectNumber");A(qn,"inspectNumber");function Sn(e,t){let r=Ue(e.toString(),t.truncate-1);return r!==Xt&&(r+="n"),t.stylize(r,"bigint")}o(Sn,"inspectBigInt");A(Sn,"inspectBigInt");function Fa(e,t){const r=e.toString().split("/")[2],n=t.truncate-(2+r.length),i=e.source;return t.stylize(`/${Ue(i,n)}/${r}`,"regexp")}o(Fa,"inspectRegExp");A(Fa,"inspectRegExp");function Va(e){const t=[];return e.forEach(r=>{t.push(r)}),t}o(Va,"arrayFromSet");A(Va,"arrayFromSet");function Ha(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Ce(Va(e),t)} }`)}o(Ha,"inspectSet");A(Ha,"inspectSet");var iu=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),JE={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},XE=16;function Ua(e){return JE[e]||`\\u${`0000${e.charCodeAt(0).toString(XE)}`.slice(-4)}`}o(Ua,"escape");A(Ua,"escape");function xn(e,t){return iu.test(e)&&(e=e.replace(iu,Ua)),t.stylize(`'${Ue(e,t.truncate-2)}'`,"string")}o(xn,"inspectString");A(xn,"inspectString");function An(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}o(An,"inspectSymbol");A(An,"inspectSymbol");var YE=A(()=>"Promise{…}","getPromiseValue"),QE=YE;function zt(e,t){const r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);const i=Ce(r.map(l=>[l,e[l]]),t,xt),a=Ce(n.map(l=>[l,e[l]]),t,xt);t.seen.pop();let s="";return i&&a&&(s=", "),`{ ${i}${s}${a} }`}o(zt,"inspectObject");A(zt,"inspectObject");var li=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function za(e,t){let r="";return li&&li in e&&(r=e[li]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${zt(e,t)}`}o(za,"inspectClass");A(za,"inspectClass");function Wa(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Ce(e,t)} ]`)}o(Wa,"inspectArguments");A(Wa,"inspectArguments");var ZE=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function Ga(e,t){const r=Object.getOwnPropertyNames(e).filter(s=>ZE.indexOf(s)===-1),n=e.name;t.truncate-=n.length;let i="";if(typeof e.message=="string"?i=Ue(e.message,t.truncate):r.unshift("message"),i=i?`: ${i}`:"",t.truncate-=i.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);const a=Ce(r.map(s=>[s,e[s]]),t,xt);return`${n}${i}${a?` { ${a} }`:""}`}o(Ga,"inspectObject2");A(Ga,"inspectObject");function Ka([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}o(Ka,"inspectAttribute");A(Ka,"inspectAttribute");function Nr(e,t){return Ce(e,t,Ja,`
12
+ `)}o(Nr,"inspectNodeCollection");A(Nr,"inspectNodeCollection");function Ja(e,t){switch(e.nodeType){case 1:return lo(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}o(Ja,"inspectNode");A(Ja,"inspectNode");function lo(e,t){const r=e.getAttributeNames(),n=e.tagName.toLowerCase(),i=t.stylize(`<${n}`,"special"),a=t.stylize(">","special"),s=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=Ce(r.map(c=>[c,e.getAttribute(c)]),t,Ka," ")),t.truncate-=l.length;const d=t.truncate;let u=Nr(e.children,t);return u&&u.length>d&&(u=`${Xt}(${e.children.length})`),`${i}${l}${a}${u}${s}`}o(lo,"inspectHTML");A(lo,"inspectHTML");var ew=typeof Symbol=="function"&&typeof Symbol.for=="function",ui=ew?Symbol.for("chai/inspect"):"@@chai/inspect",ci=Symbol.for("nodejs.util.inspect.custom"),au=new WeakMap,su={},lu={undefined:A((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:A((e,t)=>t.stylize("null","null"),"null"),boolean:A((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:A((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:qn,Number:qn,bigint:Sn,BigInt:Sn,string:xn,String:xn,function:Pn,Function:Pn,symbol:An,Symbol:An,Array:ka,Date:Ba,Map:$a,Set:Ha,RegExp:Fa,Promise:QE,WeakSet:A((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:A((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:Wa,Int8Array:Ae,Uint8Array:Ae,Uint8ClampedArray:Ae,Int16Array:Ae,Uint16Array:Ae,Int32Array:Ae,Uint32Array:Ae,Float32Array:Ae,Float64Array:Ae,Generator:A(()=>"","Generator"),DataView:A(()=>"","DataView"),ArrayBuffer:A(()=>"","ArrayBuffer"),Error:Ga,HTMLCollection:Nr,NodeList:Nr},tw=A((e,t,r)=>ui in e&&typeof e[ui]=="function"?e[ui](t):ci in e&&typeof e[ci]=="function"?e[ci](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&au.has(e.constructor)?au.get(e.constructor)(e,t):su[r]?su[r](e,t):"","inspectCustom"),rw=Object.prototype.toString;function jr(e,t={}){const r=Ia(t,jr),{customInspect:n}=r;let i=e===null?"null":typeof e;if(i==="object"&&(i=rw.call(e).slice(8,-1)),i in lu)return lu[i](e,r);if(n&&e){const s=tw(e,r,i);if(s)return typeof s=="string"?s:jr(s,r)}const a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?zt(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?lo(e,r):"constructor"in e?e.constructor!==Object?za(e,r):zt(e,r):e===Object(e)?zt(e,r):r.stylize(String(e),i)}o(jr,"inspect");A(jr,"inspect");var he={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function J(e,t,r,n){let i={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:he.truncateThreshold?he.truncateThreshold:1/0};return jr(e,i)}o(J,"inspect2");A(J,"inspect");function ft(e){let t=J(e),r=Object.prototype.toString.call(e);if(he.truncateThreshold&&t.length>=he.truncateThreshold){if(r==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(r==="[object Array]")return"[ Array("+e.length+") ]";if(r==="[object Object]"){let n=Object.keys(e);return"{ Object ("+(n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", "))+") }"}else return t}else return t}o(ft,"objDisplay");A(ft,"objDisplay");function uo(e,t){let r=U(e,"negate"),n=U(e,"object"),i=t[3],a=Qr(e,t),s=r?t[2]:t[1],l=U(e,"message");return typeof s=="function"&&(s=s()),s=s||"",s=s.replace(/#\{this\}/g,function(){return ft(n)}).replace(/#\{act\}/g,function(){return ft(a)}).replace(/#\{exp\}/g,function(){return ft(i)}),l?l+": "+s:s}o(uo,"getMessage2");A(uo,"getMessage");function xe(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(let i in n)(r||i!=="object"&&i!=="ssfi"&&i!=="lockSsfi"&&i!="message")&&(t.__flags[i]=n[i])}o(xe,"transferFlags");A(xe,"transferFlags");function On(e){if(typeof e>"u")return"undefined";if(e===null)return"null";const t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}o(On,"type2");A(On,"type");function co(){this._key="chai/deep-eql__"+Math.random()+Date.now()}o(co,"FakeMap");A(co,"FakeMap");co.prototype={get:A(o(function(t){return t[this._key]},"get"),"get"),set:A(o(function(t,r){Object.isExtensible(t)&&Object.defineProperty(t,this._key,{value:r,configurable:!0})},"set"),"set")};var Hu=typeof WeakMap=="function"?WeakMap:co;function Mn(e,t,r){if(!r||bt(e)||bt(t))return null;var n=r.get(e);if(n){var i=n.get(t);if(typeof i=="boolean")return i}return null}o(Mn,"memoizeCompare");A(Mn,"memoizeCompare");function Ft(e,t,r,n){if(!(!r||bt(e)||bt(t))){var i=r.get(e);i?i.set(t,n):(i=new Hu,i.set(t,n),r.set(e,i))}}o(Ft,"memoizeSet");A(Ft,"memoizeSet");var Uu=lr;function lr(e,t,r){if(r&&r.comparator)return In(e,t,r);var n=fo(e,t);return n!==null?n:In(e,t,r)}o(lr,"deepEqual");A(lr,"deepEqual");function fo(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:bt(e)||bt(t)?!1:null}o(fo,"simpleEqual");A(fo,"simpleEqual");function In(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new Hu;var n=r&&r.comparator,i=Mn(e,t,r.memoize);if(i!==null)return i;var a=Mn(t,e,r.memoize);if(a!==null)return a;if(n){var s=n(e,t);if(s===!1||s===!0)return Ft(e,t,r.memoize,s),s;var l=fo(e,t);if(l!==null)return l}var d=On(e);if(d!==On(t))return Ft(e,t,r.memoize,!1),!1;Ft(e,t,r.memoize,!0);var u=Xa(e,t,d,r);return Ft(e,t,r.memoize,u),u}o(In,"extensiveDeepEqual");A(In,"extensiveDeepEqual");function Xa(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return lr(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return po(e,t,["name","message","code"],n);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return tt(e,t,n);case"RegExp":return Ya(e,t);case"Generator":return Qa(e,t,n);case"DataView":return tt(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return tt(new Uint8Array(e),new Uint8Array(t),n);case"Set":return Nn(e,t,n);case"Map":return Nn(e,t,n);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return e.equals(t);case"Temporal.Duration":return e.total("nanoseconds")===t.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return e.toString()===t.toString();default:return es(e,t,n)}}o(Xa,"extensiveDeepEqualByType");A(Xa,"extensiveDeepEqualByType");function Ya(e,t){return e.toString()===t.toString()}o(Ya,"regexpEqual");A(Ya,"regexpEqual");function Nn(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var n=[],i=[];return e.forEach(A(o(function(s,l){n.push([s,l])},"gatherEntries"),"gatherEntries")),t.forEach(A(o(function(s,l){i.push([s,l])},"gatherEntries"),"gatherEntries")),tt(n.sort(),i.sort(),r)}o(Nn,"entriesEqual");A(Nn,"entriesEqual");function tt(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var i=-1;++i<n;)if(lr(e[i],t[i],r)===!1)return!1;return!0}o(tt,"iterableEqual");A(tt,"iterableEqual");function Qa(e,t,r){return tt(kr(e),kr(t),r)}o(Qa,"generatorEqual");A(Qa,"generatorEqual");function Za(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}o(Za,"hasIteratorFunction");A(Za,"hasIteratorFunction");function jn(e){if(Za(e))try{return kr(e[Symbol.iterator]())}catch{return[]}return[]}o(jn,"getIteratorEntries");A(jn,"getIteratorEntries");function kr(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}o(kr,"getGeneratorEntries");A(kr,"getGeneratorEntries");function kn(e){var t=[];for(var r in e)t.push(r);return t}o(kn,"getEnumerableKeys");A(kn,"getEnumerableKeys");function Bn(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var i=r[n];Object.getOwnPropertyDescriptor(e,i).enumerable&&t.push(i)}return t}o(Bn,"getEnumerableSymbols");A(Bn,"getEnumerableSymbols");function po(e,t,r,n){var i=r.length;if(i===0)return!0;for(var a=0;a<i;a+=1)if(lr(e[r[a]],t[r[a]],n)===!1)return!1;return!0}o(po,"keysEqual");A(po,"keysEqual");function es(e,t,r){var n=kn(e),i=kn(t),a=Bn(e),s=Bn(t);if(n=n.concat(a),i=i.concat(s),n.length&&n.length===i.length)return tt(Dn(n).sort(),Dn(i).sort())===!1?!1:po(e,t,n,r);var l=jn(e),d=jn(t);return l.length&&l.length===d.length?(l.sort(),d.sort(),tt(l,d,r)):n.length===0&&l.length===0&&i.length===0&&d.length===0}o(es,"objectEqual");A(es,"objectEqual");function bt(e){return e===null||typeof e!="object"}o(bt,"isPrimitive");A(bt,"isPrimitive");function Dn(e){return e.map(A(o(function(r){return typeof r=="symbol"?r.toString():r},"mapSymbol"),"mapSymbol"))}o(Dn,"mapSymbols");A(Dn,"mapSymbols");function Zr(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}o(Zr,"hasProperty");A(Zr,"hasProperty");function ts(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(n=>{if(n==="constructor"||n==="__proto__"||n==="prototype")return{};const a=/^\[(\d+)\]$/.exec(n);let s=null;return a?s={i:parseFloat(a[1])}:s={p:n.replace(/\\([.[\]])/g,"$1")},s})}o(ts,"parsePath");A(ts,"parsePath");function Ln(e,t,r){let n=e,i=null;r=typeof r>"u"?t.length:r;for(let a=0;a<r;a++){const s=t[a];n&&(typeof s.p>"u"?n=n[s.i]:n=n[s.p],a===r-1&&(i=n))}return i}o(Ln,"internalGetPathValue");A(Ln,"internalGetPathValue");function mo(e,t){const r=ts(t),n=r[r.length-1],i={parent:r.length>1?Ln(e,r,r.length-1):e,name:n.p||n.i,value:Ln(e,r)};return i.exists=Zr(i.parent,i.name),i}o(mo,"getPathInfo");A(mo,"getPathInfo");var gr,E=(gr=class{__flags={};constructor(e,t,r,n){return U(this,"ssfi",r||gr),U(this,"lockSsfi",n),U(this,"object",e),U(this,"message",t),U(this,"eql",he.deepEqual||Uu),Bt(this)}static get includeStack(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),he.includeStack}static set includeStack(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),he.includeStack=e}static get showDiff(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),he.showDiff}static set showDiff(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),he.showDiff=e}static addProperty(e,t){ho(this.prototype,e,t)}static addMethod(e,t){bo(this.prototype,e,t)}static addChainableMethod(e,t,r){go(this.prototype,e,t,r)}static overwriteProperty(e,t){yo(this.prototype,e,t)}static overwriteMethod(e,t){vo(this.prototype,e,t)}static overwriteChainableMethod(e,t,r){Eo(this.prototype,e,t,r)}assert(e,t,r,n,i,a){const s=so(this,arguments);if(a!==!1&&(a=!0),n===void 0&&i===void 0&&(a=!1),he.showDiff!==!0&&(a=!1),!s){t=uo(this,arguments);const d={actual:Qr(this,arguments),expected:n,showDiff:a},u=Co(this,arguments);throw u&&(d.operator=u),new Y(t,d,he.includeStack?this.assert:U(this,"ssfi"))}}get _obj(){return U(this,"object")}set _obj(e){U(this,"object",e)}},o(gr,"_Assertion"),A(gr,"Assertion"),gr);function ur(){return he.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}o(ur,"isProxyEnabled");A(ur,"isProxyEnabled");function ho(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:A(o(function n(){!ur()&&!U(this,"lockSsfi")&&U(this,"ssfi",n);let i=r.call(this);if(i!==void 0)return i;let a=new E;return xe(this,a),a},"propertyGetter"),"propertyGetter"),configurable:!0})}o(ho,"addProperty");A(ho,"addProperty");var nw=Object.getOwnPropertyDescriptor(function(){},"length");function cr(e,t,r){return nw.configurable&&Object.defineProperty(e,"length",{get:A(function(){throw Error(r?"Invalid Chai property: "+t+'.length. Due to a compatibility issue, "length" cannot directly follow "'+t+'". Use "'+t+'.lengthOf" instead.':"Invalid Chai property: "+t+'.length. See docs for proper usage of "'+t+'".')},"get")}),e}o(cr,"addLengthGuard");A(cr,"addLengthGuard");function rs(e){let t=Object.getOwnPropertyNames(e);function r(i){t.indexOf(i)===-1&&t.push(i)}o(r,"addProperty2"),A(r,"addProperty");let n=Object.getPrototypeOf(e);for(;n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}o(rs,"getProperties");A(rs,"getProperties");var uu=["__flags","__methods","_obj","assert"];function Bt(e,t){return ur()?new Proxy(e,{get:A(o(function r(n,i){if(typeof i=="string"&&he.proxyExcludedKeys.indexOf(i)===-1&&!Reflect.has(n,i)){if(t)throw Error("Invalid Chai property: "+t+"."+i+'. See docs for proper usage of "'+t+'".');let a=null,s=4;throw rs(n).forEach(function(l){if(!Object.prototype.hasOwnProperty(l)&&uu.indexOf(l)===-1){let d=ns(i,l,s);d<s&&(a=l,s=d)}}),Error(a!==null?"Invalid Chai property: "+i+'. Did you mean "'+a+'"?':"Invalid Chai property: "+i)}return uu.indexOf(i)===-1&&!U(n,"lockSsfi")&&U(n,"ssfi",r),Reflect.get(n,i)},"proxyGetter"),"proxyGetter")}):e}o(Bt,"proxify");A(Bt,"proxify");function ns(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;let n=[];for(let i=0;i<=e.length;i++)n[i]=Array(t.length+1).fill(0),n[i][0]=i;for(let i=0;i<t.length;i++)n[0][i]=i;for(let i=1;i<=e.length;i++){let a=e.charCodeAt(i-1);for(let s=1;s<=t.length;s++){if(Math.abs(i-s)>=r){n[i][s]=r;continue}n[i][s]=Math.min(n[i-1][s]+1,n[i][s-1]+1,n[i-1][s-1]+(a===t.charCodeAt(s-1)?0:1))}}return n[e.length][t.length]}o(ns,"stringDistanceCapped");A(ns,"stringDistanceCapped");function bo(e,t,r){let n=A(function(){U(this,"lockSsfi")||U(this,"ssfi",n);let i=r.apply(this,arguments);if(i!==void 0)return i;let a=new E;return xe(this,a),a},"methodWrapper");cr(n,t,!1),e[t]=Bt(n,t)}o(bo,"addMethod");A(bo,"addMethod");function yo(e,t,r){let n=Object.getOwnPropertyDescriptor(e,t),i=A(function(){},"_super");n&&typeof n.get=="function"&&(i=n.get),Object.defineProperty(e,t,{get:A(o(function a(){!ur()&&!U(this,"lockSsfi")&&U(this,"ssfi",a);let s=U(this,"lockSsfi");U(this,"lockSsfi",!0);let l=r(i).call(this);if(U(this,"lockSsfi",s),l!==void 0)return l;let d=new E;return xe(this,d),d},"overwritingPropertyGetter"),"overwritingPropertyGetter"),configurable:!0})}o(yo,"overwriteProperty");A(yo,"overwriteProperty");function vo(e,t,r){let n=e[t],i=A(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(i=n);let a=A(function(){U(this,"lockSsfi")||U(this,"ssfi",a);let s=U(this,"lockSsfi");U(this,"lockSsfi",!0);let l=r(i).apply(this,arguments);if(U(this,"lockSsfi",s),l!==void 0)return l;let d=new E;return xe(this,d),d},"overwritingMethodWrapper");cr(a,t,!1),e[t]=Bt(a,t)}o(vo,"overwriteMethod");A(vo,"overwriteMethod");var ow=typeof Object.setPrototypeOf=="function",cu=A(function(){},"testFn"),iw=Object.getOwnPropertyNames(cu).filter(function(e){let t=Object.getOwnPropertyDescriptor(cu,e);return typeof t!="object"?!0:!t.configurable}),aw=Function.prototype.call,sw=Function.prototype.apply;function go(e,t,r,n){typeof n!="function"&&(n=A(function(){},"chainingBehavior"));let i={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=i,Object.defineProperty(e,t,{get:A(o(function(){i.chainingBehavior.call(this);let s=A(function(){U(this,"lockSsfi")||U(this,"ssfi",s);let l=i.method.apply(this,arguments);if(l!==void 0)return l;let d=new E;return xe(this,d),d},"chainableMethodWrapper");if(cr(s,t,!0),ow){let l=Object.create(this);l.call=aw,l.apply=sw,Object.setPrototypeOf(s,l)}else Object.getOwnPropertyNames(e).forEach(function(d){if(iw.indexOf(d)!==-1)return;let u=Object.getOwnPropertyDescriptor(e,d);Object.defineProperty(s,d,u)});return xe(this,s),Bt(s)},"chainableMethodGetter"),"chainableMethodGetter"),configurable:!0})}o(go,"addChainableMethod");A(go,"addChainableMethod");function Eo(e,t,r,n){let i=e.__methods[t],a=i.chainingBehavior;i.chainingBehavior=A(o(function(){let d=n(a).call(this);if(d!==void 0)return d;let u=new E;return xe(this,u),u},"overwritingChainableMethodGetter"),"overwritingChainableMethodGetter");let s=i.method;i.method=A(o(function(){let d=r(s).apply(this,arguments);if(d!==void 0)return d;let u=new E;return xe(this,u),u},"overwritingChainableMethodWrapper"),"overwritingChainableMethodWrapper")}o(Eo,"overwriteChainableMethod");A(Eo,"overwriteChainableMethod");function Br(e,t){return J(e)<J(t)?-1:1}o(Br,"compareByInspect");A(Br,"compareByInspect");function wo(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}o(wo,"getOwnEnumerablePropertySymbols");A(wo,"getOwnEnumerablePropertySymbols");function _o(e){return Object.keys(e).concat(wo(e))}o(_o,"getOwnEnumerableProperties");A(_o,"getOwnEnumerableProperties");var $n=Number.isNaN;function os(e){let t=ee(e);return["Array","Object","Function"].indexOf(t)!==-1}o(os,"isObjectType");A(os,"isObjectType");function Co(e,t){let r=U(e,"operator"),n=U(e,"negate"),i=t[3],a=n?t[2]:t[1];if(r)return r;if(typeof a=="function"&&(a=a()),a=a||"",!a||/\shave\s/.test(a))return;let s=os(i);return/\snot\s/.test(a)?s?"notDeepStrictEqual":"notStrictEqual":s?"deepStrictEqual":"strictEqual"}o(Co,"getOperator");A(Co,"getOperator");function en(e){return e.name}o(en,"getName");A(en,"getName");function Dr(e){return Object.prototype.toString.call(e)==="[object RegExp]"}o(Dr,"isRegExp2");A(Dr,"isRegExp");function le(e){return["Number","BigInt"].includes(ee(e))}o(le,"isNumeric");A(le,"isNumeric");var{flag:P}=Le;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){E.addProperty(e)});E.addProperty("not",function(){P(this,"negate",!0)});E.addProperty("deep",function(){P(this,"deep",!0)});E.addProperty("nested",function(){P(this,"nested",!0)});E.addProperty("own",function(){P(this,"own",!0)});E.addProperty("ordered",function(){P(this,"ordered",!0)});E.addProperty("any",function(){P(this,"any",!0),P(this,"all",!1)});E.addProperty("all",function(){P(this,"all",!0),P(this,"any",!1)});var du={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function Ro(e,t){t&&P(this,"message",t),e=e.toLowerCase();let r=P(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";const i=ee(r).toLowerCase();du.function.includes(e)?this.assert(du[e].includes(i),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===i,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}o(Ro,"an");A(Ro,"an");E.addChainableMethod("an",Ro);E.addChainableMethod("a",Ro);function is(e,t){return $n(e)&&$n(t)||e===t}o(is,"SameValueZero");A(is,"SameValueZero");function dr(){P(this,"contains",!0)}o(dr,"includeChainingBehavior");A(dr,"includeChainingBehavior");function fr(e,t){t&&P(this,"message",t);let r=P(this,"object"),n=ee(r).toLowerCase(),i=P(this,"message"),a=P(this,"negate"),s=P(this,"ssfi"),l=P(this,"deep"),d=l?"deep ":"",u=l?P(this,"eql"):is;i=i?i+": ":"";let c=!1;switch(n){case"string":c=r.indexOf(e)!==-1;break;case"weakset":if(l)throw new Y(i+"unable to use .deep.include with WeakSet",void 0,s);c=r.has(e);break;case"map":r.forEach(function(f){c=c||u(f,e)});break;case"set":l?r.forEach(function(f){c=c||u(f,e)}):c=r.has(e);break;case"array":l?c=r.some(function(f){return u(f,e)}):c=r.indexOf(e)!==-1;break;default:{if(e!==Object(e))throw new Y(i+"the given combination of arguments ("+n+" and "+ee(e).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+ee(e).toLowerCase(),void 0,s);let f=Object.keys(e),p=null,m=0;if(f.forEach(function(b){let _=new E(r);if(xe(this,_,!0),P(_,"lockSsfi",!0),!a||f.length===1){_.property(b,e[b]);return}try{_.property(b,e[b])}catch(w){if(!ge.compatibleConstructor(w,Y))throw w;p===null&&(p=w),m++}},this),a&&f.length>1&&m===f.length)throw p;return}}this.assert(c,"expected #{this} to "+d+"include "+J(e),"expected #{this} to not "+d+"include "+J(e))}o(fr,"include");A(fr,"include");E.addChainableMethod("include",fr,dr);E.addChainableMethod("contain",fr,dr);E.addChainableMethod("contains",fr,dr);E.addChainableMethod("includes",fr,dr);E.addProperty("ok",function(){this.assert(P(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});E.addProperty("true",function(){this.assert(P(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!P(this,"negate"))});E.addProperty("numeric",function(){const e=P(this,"object");this.assert(["Number","BigInt"].includes(ee(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!P(this,"negate"))});E.addProperty("callable",function(){const e=P(this,"object"),t=P(this,"ssfi"),r=P(this,"message"),n=r?`${r}: `:"",i=P(this,"negate"),a=i?`${n}expected ${J(e)} not to be a callable function`:`${n}expected ${J(e)} to be a callable function`,s=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(ee(e));if(s&&i||!s&&!i)throw new Y(a,void 0,t)});E.addProperty("false",function(){this.assert(P(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!P(this,"negate"))});E.addProperty("null",function(){this.assert(P(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});E.addProperty("undefined",function(){this.assert(P(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});E.addProperty("NaN",function(){this.assert($n(P(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function To(){let e=P(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}o(To,"assertExist");A(To,"assertExist");E.addProperty("exist",To);E.addProperty("exists",To);E.addProperty("empty",function(){let e=P(this,"object"),t=P(this,"ssfi"),r=P(this,"message"),n;switch(r=r?r+": ":"",ee(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new Y(r+".empty was passed a weak collection",void 0,t);case"function":{const i=r+".empty was passed a function "+en(e);throw new Y(i.trim(),void 0,t)}default:if(e!==Object(e))throw new Y(r+".empty was passed non-string primitive "+J(e),void 0,t);n=Object.keys(e).length}this.assert(n===0,"expected #{this} to be empty","expected #{this} not to be empty")});function Po(){let e=P(this,"object"),t=ee(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}o(Po,"checkArguments");A(Po,"checkArguments");E.addProperty("arguments",Po);E.addProperty("Arguments",Po);function tn(e,t){t&&P(this,"message",t);let r=P(this,"object");if(P(this,"deep")){let n=P(this,"lockSsfi");P(this,"lockSsfi",!0),this.eql(e),P(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}o(tn,"assertEqual");A(tn,"assertEqual");E.addMethod("equal",tn);E.addMethod("equals",tn);E.addMethod("eq",tn);function qo(e,t){t&&P(this,"message",t);let r=P(this,"eql");this.assert(r(e,P(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}o(qo,"assertEql");A(qo,"assertEql");E.addMethod("eql",qo);E.addMethod("eqls",qo);function rn(e,t){t&&P(this,"message",t);let r=P(this,"object"),n=P(this,"doLength"),i=P(this,"message"),a=i?i+": ":"",s=P(this,"ssfi"),l=ee(r).toLowerCase(),d=ee(e).toLowerCase();if(n&&l!=="map"&&l!=="set"&&new E(r,i,s,!0).to.have.property("length"),!n&&l==="date"&&d!=="date")throw new Y(a+"the argument to above must be a date",void 0,s);if(!le(e)&&(n||le(r)))throw new Y(a+"the argument to above must be a number",void 0,s);if(!n&&l!=="date"&&!le(r)){let u=l==="string"?"'"+r+"'":r;throw new Y(a+"expected "+u+" to be a number or a date",void 0,s)}if(n){let u="length",c;l==="map"||l==="set"?(u="size",c=r.size):c=r.length,this.assert(c>e,"expected #{this} to have a "+u+" above #{exp} but got #{act}","expected #{this} to not have a "+u+" above #{exp}",e,c)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}o(rn,"assertAbove");A(rn,"assertAbove");E.addMethod("above",rn);E.addMethod("gt",rn);E.addMethod("greaterThan",rn);function nn(e,t){t&&P(this,"message",t);let r=P(this,"object"),n=P(this,"doLength"),i=P(this,"message"),a=i?i+": ":"",s=P(this,"ssfi"),l=ee(r).toLowerCase(),d=ee(e).toLowerCase(),u,c=!0;if(n&&l!=="map"&&l!=="set"&&new E(r,i,s,!0).to.have.property("length"),!n&&l==="date"&&d!=="date")u=a+"the argument to least must be a date";else if(!le(e)&&(n||le(r)))u=a+"the argument to least must be a number";else if(!n&&l!=="date"&&!le(r)){let f=l==="string"?"'"+r+"'":r;u=a+"expected "+f+" to be a number or a date"}else c=!1;if(c)throw new Y(u,void 0,s);if(n){let f="length",p;l==="map"||l==="set"?(f="size",p=r.size):p=r.length,this.assert(p>=e,"expected #{this} to have a "+f+" at least #{exp} but got #{act}","expected #{this} to have a "+f+" below #{exp}",e,p)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}o(nn,"assertLeast");A(nn,"assertLeast");E.addMethod("least",nn);E.addMethod("gte",nn);E.addMethod("greaterThanOrEqual",nn);function on(e,t){t&&P(this,"message",t);let r=P(this,"object"),n=P(this,"doLength"),i=P(this,"message"),a=i?i+": ":"",s=P(this,"ssfi"),l=ee(r).toLowerCase(),d=ee(e).toLowerCase(),u,c=!0;if(n&&l!=="map"&&l!=="set"&&new E(r,i,s,!0).to.have.property("length"),!n&&l==="date"&&d!=="date")u=a+"the argument to below must be a date";else if(!le(e)&&(n||le(r)))u=a+"the argument to below must be a number";else if(!n&&l!=="date"&&!le(r)){let f=l==="string"?"'"+r+"'":r;u=a+"expected "+f+" to be a number or a date"}else c=!1;if(c)throw new Y(u,void 0,s);if(n){let f="length",p;l==="map"||l==="set"?(f="size",p=r.size):p=r.length,this.assert(p<e,"expected #{this} to have a "+f+" below #{exp} but got #{act}","expected #{this} to not have a "+f+" below #{exp}",e,p)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}o(on,"assertBelow");A(on,"assertBelow");E.addMethod("below",on);E.addMethod("lt",on);E.addMethod("lessThan",on);function an(e,t){t&&P(this,"message",t);let r=P(this,"object"),n=P(this,"doLength"),i=P(this,"message"),a=i?i+": ":"",s=P(this,"ssfi"),l=ee(r).toLowerCase(),d=ee(e).toLowerCase(),u,c=!0;if(n&&l!=="map"&&l!=="set"&&new E(r,i,s,!0).to.have.property("length"),!n&&l==="date"&&d!=="date")u=a+"the argument to most must be a date";else if(!le(e)&&(n||le(r)))u=a+"the argument to most must be a number";else if(!n&&l!=="date"&&!le(r)){let f=l==="string"?"'"+r+"'":r;u=a+"expected "+f+" to be a number or a date"}else c=!1;if(c)throw new Y(u,void 0,s);if(n){let f="length",p;l==="map"||l==="set"?(f="size",p=r.size):p=r.length,this.assert(p<=e,"expected #{this} to have a "+f+" at most #{exp} but got #{act}","expected #{this} to have a "+f+" above #{exp}",e,p)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}o(an,"assertMost");A(an,"assertMost");E.addMethod("most",an);E.addMethod("lte",an);E.addMethod("lessThanOrEqual",an);E.addMethod("within",function(e,t,r){r&&P(this,"message",r);let n=P(this,"object"),i=P(this,"doLength"),a=P(this,"message"),s=a?a+": ":"",l=P(this,"ssfi"),d=ee(n).toLowerCase(),u=ee(e).toLowerCase(),c=ee(t).toLowerCase(),f,p=!0,m=u==="date"&&c==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(i&&d!=="map"&&d!=="set"&&new E(n,a,l,!0).to.have.property("length"),!i&&d==="date"&&(u!=="date"||c!=="date"))f=s+"the arguments to within must be dates";else if((!le(e)||!le(t))&&(i||le(n)))f=s+"the arguments to within must be numbers";else if(!i&&d!=="date"&&!le(n)){let b=d==="string"?"'"+n+"'":n;f=s+"expected "+b+" to be a number or a date"}else p=!1;if(p)throw new Y(f,void 0,l);if(i){let b="length",_;d==="map"||d==="set"?(b="size",_=n.size):_=n.length,this.assert(_>=e&&_<=t,"expected #{this} to have a "+b+" within "+m,"expected #{this} to not have a "+b+" within "+m)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+m,"expected #{this} to not be within "+m)});function So(e,t){t&&P(this,"message",t);let r=P(this,"object"),n=P(this,"ssfi"),i=P(this,"message"),a;try{a=r instanceof e}catch(l){throw l instanceof TypeError?(i=i?i+": ":"",new Y(i+"The instanceof assertion needs a constructor but "+ee(e)+" was given.",void 0,n)):l}let s=en(e);s==null&&(s="an unnamed constructor"),this.assert(a,"expected #{this} to be an instance of "+s,"expected #{this} to not be an instance of "+s)}o(So,"assertInstanceOf");A(So,"assertInstanceOf");E.addMethod("instanceof",So);E.addMethod("instanceOf",So);function xo(e,t,r){r&&P(this,"message",r);let n=P(this,"nested"),i=P(this,"own"),a=P(this,"message"),s=P(this,"object"),l=P(this,"ssfi"),d=typeof e;if(a=a?a+": ":"",n){if(d!=="string")throw new Y(a+"the argument to property must be a string when using nested syntax",void 0,l)}else if(d!=="string"&&d!=="number"&&d!=="symbol")throw new Y(a+"the argument to property must be a string, number, or symbol",void 0,l);if(n&&i)throw new Y(a+'The "nested" and "own" flags cannot be combined.',void 0,l);if(s==null)throw new Y(a+"Target cannot be null or undefined.",void 0,l);let u=P(this,"deep"),c=P(this,"negate"),f=n?mo(s,e):null,p=n?f.value:s[e],m=u?P(this,"eql"):(w,h)=>w===h,b="";u&&(b+="deep "),i&&(b+="own "),n&&(b+="nested "),b+="property ";let _;i?_=Object.prototype.hasOwnProperty.call(s,e):n?_=f.exists:_=Zr(s,e),(!c||arguments.length===1)&&this.assert(_,"expected #{this} to have "+b+J(e),"expected #{this} to not have "+b+J(e)),arguments.length>1&&this.assert(_&&m(t,p),"expected #{this} to have "+b+J(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+b+J(e)+" of #{act}",t,p),P(this,"object",p)}o(xo,"assertProperty");A(xo,"assertProperty");E.addMethod("property",xo);function Ao(e,t,r){P(this,"own",!0),xo.apply(this,arguments)}o(Ao,"assertOwnProperty");A(Ao,"assertOwnProperty");E.addMethod("ownProperty",Ao);E.addMethod("haveOwnProperty",Ao);function Oo(e,t,r){typeof t=="string"&&(r=t,t=null),r&&P(this,"message",r);let n=P(this,"object"),i=Object.getOwnPropertyDescriptor(Object(n),e),a=P(this,"eql");i&&t?this.assert(a(t,i),"expected the own property descriptor for "+J(e)+" on #{this} to match "+J(t)+", got "+J(i),"expected the own property descriptor for "+J(e)+" on #{this} to not match "+J(t),t,i,!0):this.assert(i,"expected #{this} to have an own property descriptor for "+J(e),"expected #{this} to not have an own property descriptor for "+J(e)),P(this,"object",i)}o(Oo,"assertOwnPropertyDescriptor");A(Oo,"assertOwnPropertyDescriptor");E.addMethod("ownPropertyDescriptor",Oo);E.addMethod("haveOwnPropertyDescriptor",Oo);function Mo(){P(this,"doLength",!0)}o(Mo,"assertLengthChain");A(Mo,"assertLengthChain");function Io(e,t){t&&P(this,"message",t);let r=P(this,"object"),n=ee(r).toLowerCase(),i=P(this,"message"),a=P(this,"ssfi"),s="length",l;switch(n){case"map":case"set":s="size",l=r.size;break;default:new E(r,i,a,!0).to.have.property("length"),l=r.length}this.assert(l==e,"expected #{this} to have a "+s+" of #{exp} but got #{act}","expected #{this} to not have a "+s+" of #{act}",e,l)}o(Io,"assertLength");A(Io,"assertLength");E.addChainableMethod("length",Io,Mo);E.addChainableMethod("lengthOf",Io,Mo);function No(e,t){t&&P(this,"message",t);let r=P(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}o(No,"assertMatch");A(No,"assertMatch");E.addMethod("match",No);E.addMethod("matches",No);E.addMethod("string",function(e,t){t&&P(this,"message",t);let r=P(this,"object"),n=P(this,"message"),i=P(this,"ssfi");new E(r,n,i,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+J(e),"expected #{this} to not contain "+J(e))});function jo(e){let t=P(this,"object"),r=ee(t),n=ee(e),i=P(this,"ssfi"),a=P(this,"deep"),s,l="",d,u=!0,c=P(this,"message");c=c?c+": ":"";let f=c+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(r==="Map"||r==="Set")l=a?"deeply ":"",d=[],t.forEach(function(h,C){d.push(C)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(d=_o(t),n){case"Array":if(arguments.length>1)throw new Y(f,void 0,i);break;case"Object":if(arguments.length>1)throw new Y(f,void 0,i);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(h){return typeof h=="symbol"?h:String(h)})}if(!e.length)throw new Y(c+"keys required",void 0,i);let p=e.length,m=P(this,"any"),b=P(this,"all"),_=e,w=a?P(this,"eql"):(h,C)=>h===C;if(!m&&!b&&(b=!0),m&&(u=_.some(function(h){return d.some(function(C){return w(h,C)})})),b&&(u=_.every(function(h){return d.some(function(C){return w(h,C)})}),P(this,"contains")||(u=u&&e.length==d.length)),p>1){e=e.map(function(C){return J(C)});let h=e.pop();b&&(s=e.join(", ")+", and "+h),m&&(s=e.join(", ")+", or "+h)}else s=J(e[0]);s=(p>1?"keys ":"key ")+s,s=(P(this,"contains")?"contain ":"have ")+s,this.assert(u,"expected #{this} to "+l+s,"expected #{this} to not "+l+s,_.slice(0).sort(Br),d.sort(Br),!0)}o(jo,"assertKeys");A(jo,"assertKeys");E.addMethod("keys",jo);E.addMethod("key",jo);function sn(e,t,r){r&&P(this,"message",r);let n=P(this,"object"),i=P(this,"ssfi"),a=P(this,"message"),s=P(this,"negate")||!1;new E(n,a,i,!0).is.a("function"),(Dr(e)||typeof e=="string")&&(t=e,e=null);let l,d=!1;try{n()}catch(m){d=!0,l=m}let u=e===void 0&&t===void 0,c=!!(e&&t),f=!1,p=!1;if(u||!u&&!s){let m="an error";e instanceof Error?m="#{exp}":e&&(m=ge.getConstructorName(e));let b=l;if(l instanceof Error)b=l.toString();else if(typeof l=="string")b=l;else if(l&&(typeof l=="object"||typeof l=="function"))try{b=ge.getConstructorName(l)}catch{}this.assert(d,"expected #{this} to throw "+m,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),b)}if(e&&l&&(e instanceof Error&&ge.compatibleInstance(l,e)===s&&(c&&s?f=!0:this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l&&!s?" but #{act} was thrown":""),e.toString(),l.toString())),ge.compatibleConstructor(l,e)===s&&(c&&s?f=!0:this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&ge.getConstructorName(e),l instanceof Error?l.toString():l&&ge.getConstructorName(l)))),l&&t!==void 0&&t!==null){let m="including";Dr(t)&&(m="matching"),ge.compatibleMessage(l,t)===s&&(c&&s?p=!0:this.assert(s,"expected #{this} to throw error "+m+" #{exp} but got #{act}","expected #{this} to throw error not "+m+" #{exp}",t,ge.getMessage(l)))}f&&p&&this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&ge.getConstructorName(e),l instanceof Error?l.toString():l&&ge.getConstructorName(l)),P(this,"object",l)}o(sn,"assertThrows");A(sn,"assertThrows");E.addMethod("throw",sn);E.addMethod("throws",sn);E.addMethod("Throw",sn);function ko(e,t){t&&P(this,"message",t);let r=P(this,"object"),n=P(this,"itself"),i=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof i=="function","expected #{this} to respond to "+J(e),"expected #{this} to not respond to "+J(e))}o(ko,"respondTo");A(ko,"respondTo");E.addMethod("respondTo",ko);E.addMethod("respondsTo",ko);E.addProperty("itself",function(){P(this,"itself",!0)});function Bo(e,t){t&&P(this,"message",t);let r=P(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+ft(e),"expected #{this} to not satisfy"+ft(e),!P(this,"negate"),n)}o(Bo,"satisfy");A(Bo,"satisfy");E.addMethod("satisfy",Bo);E.addMethod("satisfies",Bo);function Do(e,t,r){r&&P(this,"message",r);let n=P(this,"object"),i=P(this,"message"),a=P(this,"ssfi");new E(n,i,a,!0).is.numeric;let s="A `delta` value is required for `closeTo`";if(t==null)throw new Y(i?`${i}: ${s}`:s,void 0,a);if(new E(t,i,a,!0).is.numeric,s="A `expected` value is required for `closeTo`",e==null)throw new Y(i?`${i}: ${s}`:s,void 0,a);new E(e,i,a,!0).is.numeric;const l=A(u=>u<0n?-u:u,"abs"),d=A(u=>parseFloat(parseFloat(u).toPrecision(12)),"strip");this.assert(d(l(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}o(Do,"closeTo");A(Do,"closeTo");E.addMethod("closeTo",Do);E.addMethod("approximately",Do);function as(e,t,r,n,i){let a=Array.from(t),s=Array.from(e);if(!n){if(s.length!==a.length)return!1;a=a.slice()}return s.every(function(l,d){if(i)return r?r(l,a[d]):l===a[d];if(!r){let u=a.indexOf(l);return u===-1?!1:(n||a.splice(u,1),!0)}return a.some(function(u,c){return r(l,u)?(n||a.splice(c,1),!0):!1})})}o(as,"isSubsetOf");A(as,"isSubsetOf");E.addMethod("members",function(e,t){t&&P(this,"message",t);let r=P(this,"object"),n=P(this,"message"),i=P(this,"ssfi");new E(r,n,i,!0).to.be.iterable,new E(e,n,i,!0).to.be.iterable;let a=P(this,"contains"),s=P(this,"ordered"),l,d,u;a?(l=s?"an ordered superset":"a superset",d="expected #{this} to be "+l+" of #{exp}",u="expected #{this} to not be "+l+" of #{exp}"):(l=s?"ordered members":"members",d="expected #{this} to have the same "+l+" as #{exp}",u="expected #{this} to not have the same "+l+" as #{exp}");let c=P(this,"deep")?P(this,"eql"):void 0;this.assert(as(e,r,c,a,s),d,u,e,r,!0)});E.addProperty("iterable",function(e){e&&P(this,"message",e);let t=P(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function ss(e,t){t&&P(this,"message",t);let r=P(this,"object"),n=P(this,"message"),i=P(this,"ssfi"),a=P(this,"contains"),s=P(this,"deep"),l=P(this,"eql");new E(e,n,i,!0).to.be.an("array"),a?this.assert(e.some(function(d){return r.indexOf(d)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):s?this.assert(e.some(function(d){return l(r,d)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,r):this.assert(e.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,r)}o(ss,"oneOf");A(ss,"oneOf");E.addMethod("oneOf",ss);function Lo(e,t,r){r&&P(this,"message",r);let n=P(this,"object"),i=P(this,"message"),a=P(this,"ssfi");new E(n,i,a,!0).is.a("function");let s;t?(new E(e,i,a,!0).to.have.property(t),s=e[t]):(new E(e,i,a,!0).is.a("function"),s=e()),n();let l=t==null?e():e[t],d=t==null?s:"."+t;P(this,"deltaMsgObj",d),P(this,"initialDeltaValue",s),P(this,"finalDeltaValue",l),P(this,"deltaBehavior","change"),P(this,"realDelta",l!==s),this.assert(s!==l,"expected "+d+" to change","expected "+d+" to not change")}o(Lo,"assertChanges");A(Lo,"assertChanges");E.addMethod("change",Lo);E.addMethod("changes",Lo);function $o(e,t,r){r&&P(this,"message",r);let n=P(this,"object"),i=P(this,"message"),a=P(this,"ssfi");new E(n,i,a,!0).is.a("function");let s;t?(new E(e,i,a,!0).to.have.property(t),s=e[t]):(new E(e,i,a,!0).is.a("function"),s=e()),new E(s,i,a,!0).is.a("number"),n();let l=t==null?e():e[t],d=t==null?s:"."+t;P(this,"deltaMsgObj",d),P(this,"initialDeltaValue",s),P(this,"finalDeltaValue",l),P(this,"deltaBehavior","increase"),P(this,"realDelta",l-s),this.assert(l-s>0,"expected "+d+" to increase","expected "+d+" to not increase")}o($o,"assertIncreases");A($o,"assertIncreases");E.addMethod("increase",$o);E.addMethod("increases",$o);function Fo(e,t,r){r&&P(this,"message",r);let n=P(this,"object"),i=P(this,"message"),a=P(this,"ssfi");new E(n,i,a,!0).is.a("function");let s;t?(new E(e,i,a,!0).to.have.property(t),s=e[t]):(new E(e,i,a,!0).is.a("function"),s=e()),new E(s,i,a,!0).is.a("number"),n();let l=t==null?e():e[t],d=t==null?s:"."+t;P(this,"deltaMsgObj",d),P(this,"initialDeltaValue",s),P(this,"finalDeltaValue",l),P(this,"deltaBehavior","decrease"),P(this,"realDelta",s-l),this.assert(l-s<0,"expected "+d+" to decrease","expected "+d+" to not decrease")}o(Fo,"assertDecreases");A(Fo,"assertDecreases");E.addMethod("decrease",Fo);E.addMethod("decreases",Fo);function ls(e,t){t&&P(this,"message",t);let r=P(this,"deltaMsgObj"),n=P(this,"initialDeltaValue"),i=P(this,"finalDeltaValue"),a=P(this,"deltaBehavior"),s=P(this,"realDelta"),l;a==="change"?l=Math.abs(i-n)===Math.abs(e):l=s===Math.abs(e),this.assert(l,"expected "+r+" to "+a+" by "+e,"expected "+r+" to not "+a+" by "+e)}o(ls,"assertDelta");A(ls,"assertDelta");E.addMethod("by",ls);E.addProperty("extensible",function(){let e=P(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});E.addProperty("sealed",function(){let e=P(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});E.addProperty("frozen",function(){let e=P(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});E.addProperty("finite",function(e){let t=P(this,"object");this.assert(typeof t=="number"&&isFinite(t),"expected #{this} to be a finite number","expected #{this} to not be a finite number")});function Lr(e,t){return e===t?!0:typeof t!=typeof e?!1:typeof e!="object"||e===null?e===t:t?Array.isArray(e)?Array.isArray(t)?e.every(function(r){return t.some(function(n){return Lr(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){let n=e[r],i=t[r];return typeof n=="object"&&n!==null&&i!==null?Lr(n,i):typeof n=="function"?n(i):i===n}):!1}o(Lr,"compareSubset");A(Lr,"compareSubset");E.addMethod("containSubset",function(e){const t=U(this,"object"),r=he.showDiff;this.assert(Lr(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function pt(e,t){return new E(e,t)}o(pt,"expect");A(pt,"expect");pt.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new Y(r,{actual:e,expected:t,operator:n},pt.fail)};var zu={};Ra(zu,{Should:o(()=>uw,"Should"),should:o(()=>lw,"should")});function Vo(){function e(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new E(this.valueOf(),null,e):new E(this,null,e)}o(e,"shouldGetter"),A(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}o(t,"shouldSetter"),A(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});let r={};return r.fail=function(n,i,a,s){throw arguments.length<2&&(a=n,n=void 0),a=a||"should.fail()",new Y(a,{actual:n,expected:i,operator:s},r.fail)},r.equal=function(n,i,a){new E(n,a).to.equal(i)},r.Throw=function(n,i,a,s){new E(n,s).to.Throw(i,a)},r.exist=function(n,i){new E(n,i).to.exist},r.not={},r.not.equal=function(n,i,a){new E(n,a).to.not.equal(i)},r.not.Throw=function(n,i,a,s){new E(n,s).to.not.Throw(i,a)},r.not.exist=function(n,i){new E(n,i).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}o(Vo,"loadShould");A(Vo,"loadShould");var lw=Vo,uw=Vo;function g(e,t){new E(null,null,g,!0).assert(e,t,"[ negation message unavailable ]")}o(g,"assert");A(g,"assert");g.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new Y(r,{actual:e,expected:t,operator:n},g.fail)};g.isOk=function(e,t){new E(e,t,g.isOk,!0).is.ok};g.isNotOk=function(e,t){new E(e,t,g.isNotOk,!0).is.not.ok};g.equal=function(e,t,r){let n=new E(e,r,g.equal,!0);n.assert(t==U(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};g.notEqual=function(e,t,r){let n=new E(e,r,g.notEqual,!0);n.assert(t!=U(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};g.strictEqual=function(e,t,r){new E(e,r,g.strictEqual,!0).to.equal(t)};g.notStrictEqual=function(e,t,r){new E(e,r,g.notStrictEqual,!0).to.not.equal(t)};g.deepEqual=g.deepStrictEqual=function(e,t,r){new E(e,r,g.deepEqual,!0).to.eql(t)};g.notDeepEqual=function(e,t,r){new E(e,r,g.notDeepEqual,!0).to.not.eql(t)};g.isAbove=function(e,t,r){new E(e,r,g.isAbove,!0).to.be.above(t)};g.isAtLeast=function(e,t,r){new E(e,r,g.isAtLeast,!0).to.be.least(t)};g.isBelow=function(e,t,r){new E(e,r,g.isBelow,!0).to.be.below(t)};g.isAtMost=function(e,t,r){new E(e,r,g.isAtMost,!0).to.be.most(t)};g.isTrue=function(e,t){new E(e,t,g.isTrue,!0).is.true};g.isNotTrue=function(e,t){new E(e,t,g.isNotTrue,!0).to.not.equal(!0)};g.isFalse=function(e,t){new E(e,t,g.isFalse,!0).is.false};g.isNotFalse=function(e,t){new E(e,t,g.isNotFalse,!0).to.not.equal(!1)};g.isNull=function(e,t){new E(e,t,g.isNull,!0).to.equal(null)};g.isNotNull=function(e,t){new E(e,t,g.isNotNull,!0).to.not.equal(null)};g.isNaN=function(e,t){new E(e,t,g.isNaN,!0).to.be.NaN};g.isNotNaN=function(e,t){new E(e,t,g.isNotNaN,!0).not.to.be.NaN};g.exists=function(e,t){new E(e,t,g.exists,!0).to.exist};g.notExists=function(e,t){new E(e,t,g.notExists,!0).to.not.exist};g.isUndefined=function(e,t){new E(e,t,g.isUndefined,!0).to.equal(void 0)};g.isDefined=function(e,t){new E(e,t,g.isDefined,!0).to.not.equal(void 0)};g.isCallable=function(e,t){new E(e,t,g.isCallable,!0).is.callable};g.isNotCallable=function(e,t){new E(e,t,g.isNotCallable,!0).is.not.callable};g.isObject=function(e,t){new E(e,t,g.isObject,!0).to.be.a("object")};g.isNotObject=function(e,t){new E(e,t,g.isNotObject,!0).to.not.be.a("object")};g.isArray=function(e,t){new E(e,t,g.isArray,!0).to.be.an("array")};g.isNotArray=function(e,t){new E(e,t,g.isNotArray,!0).to.not.be.an("array")};g.isString=function(e,t){new E(e,t,g.isString,!0).to.be.a("string")};g.isNotString=function(e,t){new E(e,t,g.isNotString,!0).to.not.be.a("string")};g.isNumber=function(e,t){new E(e,t,g.isNumber,!0).to.be.a("number")};g.isNotNumber=function(e,t){new E(e,t,g.isNotNumber,!0).to.not.be.a("number")};g.isNumeric=function(e,t){new E(e,t,g.isNumeric,!0).is.numeric};g.isNotNumeric=function(e,t){new E(e,t,g.isNotNumeric,!0).is.not.numeric};g.isFinite=function(e,t){new E(e,t,g.isFinite,!0).to.be.finite};g.isBoolean=function(e,t){new E(e,t,g.isBoolean,!0).to.be.a("boolean")};g.isNotBoolean=function(e,t){new E(e,t,g.isNotBoolean,!0).to.not.be.a("boolean")};g.typeOf=function(e,t,r){new E(e,r,g.typeOf,!0).to.be.a(t)};g.notTypeOf=function(e,t,r){new E(e,r,g.notTypeOf,!0).to.not.be.a(t)};g.instanceOf=function(e,t,r){new E(e,r,g.instanceOf,!0).to.be.instanceOf(t)};g.notInstanceOf=function(e,t,r){new E(e,r,g.notInstanceOf,!0).to.not.be.instanceOf(t)};g.include=function(e,t,r){new E(e,r,g.include,!0).include(t)};g.notInclude=function(e,t,r){new E(e,r,g.notInclude,!0).not.include(t)};g.deepInclude=function(e,t,r){new E(e,r,g.deepInclude,!0).deep.include(t)};g.notDeepInclude=function(e,t,r){new E(e,r,g.notDeepInclude,!0).not.deep.include(t)};g.nestedInclude=function(e,t,r){new E(e,r,g.nestedInclude,!0).nested.include(t)};g.notNestedInclude=function(e,t,r){new E(e,r,g.notNestedInclude,!0).not.nested.include(t)};g.deepNestedInclude=function(e,t,r){new E(e,r,g.deepNestedInclude,!0).deep.nested.include(t)};g.notDeepNestedInclude=function(e,t,r){new E(e,r,g.notDeepNestedInclude,!0).not.deep.nested.include(t)};g.ownInclude=function(e,t,r){new E(e,r,g.ownInclude,!0).own.include(t)};g.notOwnInclude=function(e,t,r){new E(e,r,g.notOwnInclude,!0).not.own.include(t)};g.deepOwnInclude=function(e,t,r){new E(e,r,g.deepOwnInclude,!0).deep.own.include(t)};g.notDeepOwnInclude=function(e,t,r){new E(e,r,g.notDeepOwnInclude,!0).not.deep.own.include(t)};g.match=function(e,t,r){new E(e,r,g.match,!0).to.match(t)};g.notMatch=function(e,t,r){new E(e,r,g.notMatch,!0).to.not.match(t)};g.property=function(e,t,r){new E(e,r,g.property,!0).to.have.property(t)};g.notProperty=function(e,t,r){new E(e,r,g.notProperty,!0).to.not.have.property(t)};g.propertyVal=function(e,t,r,n){new E(e,n,g.propertyVal,!0).to.have.property(t,r)};g.notPropertyVal=function(e,t,r,n){new E(e,n,g.notPropertyVal,!0).to.not.have.property(t,r)};g.deepPropertyVal=function(e,t,r,n){new E(e,n,g.deepPropertyVal,!0).to.have.deep.property(t,r)};g.notDeepPropertyVal=function(e,t,r,n){new E(e,n,g.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};g.ownProperty=function(e,t,r){new E(e,r,g.ownProperty,!0).to.have.own.property(t)};g.notOwnProperty=function(e,t,r){new E(e,r,g.notOwnProperty,!0).to.not.have.own.property(t)};g.ownPropertyVal=function(e,t,r,n){new E(e,n,g.ownPropertyVal,!0).to.have.own.property(t,r)};g.notOwnPropertyVal=function(e,t,r,n){new E(e,n,g.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};g.deepOwnPropertyVal=function(e,t,r,n){new E(e,n,g.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};g.notDeepOwnPropertyVal=function(e,t,r,n){new E(e,n,g.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};g.nestedProperty=function(e,t,r){new E(e,r,g.nestedProperty,!0).to.have.nested.property(t)};g.notNestedProperty=function(e,t,r){new E(e,r,g.notNestedProperty,!0).to.not.have.nested.property(t)};g.nestedPropertyVal=function(e,t,r,n){new E(e,n,g.nestedPropertyVal,!0).to.have.nested.property(t,r)};g.notNestedPropertyVal=function(e,t,r,n){new E(e,n,g.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};g.deepNestedPropertyVal=function(e,t,r,n){new E(e,n,g.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};g.notDeepNestedPropertyVal=function(e,t,r,n){new E(e,n,g.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};g.lengthOf=function(e,t,r){new E(e,r,g.lengthOf,!0).to.have.lengthOf(t)};g.hasAnyKeys=function(e,t,r){new E(e,r,g.hasAnyKeys,!0).to.have.any.keys(t)};g.hasAllKeys=function(e,t,r){new E(e,r,g.hasAllKeys,!0).to.have.all.keys(t)};g.containsAllKeys=function(e,t,r){new E(e,r,g.containsAllKeys,!0).to.contain.all.keys(t)};g.doesNotHaveAnyKeys=function(e,t,r){new E(e,r,g.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};g.doesNotHaveAllKeys=function(e,t,r){new E(e,r,g.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};g.hasAnyDeepKeys=function(e,t,r){new E(e,r,g.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};g.hasAllDeepKeys=function(e,t,r){new E(e,r,g.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};g.containsAllDeepKeys=function(e,t,r){new E(e,r,g.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};g.doesNotHaveAnyDeepKeys=function(e,t,r){new E(e,r,g.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};g.doesNotHaveAllDeepKeys=function(e,t,r){new E(e,r,g.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};g.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);let i=new E(e,n,g.throws,!0).to.throw(t,r);return U(i,"object")};g.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new E(e,n,g.doesNotThrow,!0).to.not.throw(t,r)};g.operator=function(e,t,r,n){let i;switch(t){case"==":i=e==r;break;case"===":i=e===r;break;case">":i=e>r;break;case">=":i=e>=r;break;case"<":i=e<r;break;case"<=":i=e<=r;break;case"!=":i=e!=r;break;case"!==":i=e!==r;break;default:throw n=n&&n+": ",new Y(n+'Invalid operator "'+t+'"',void 0,g.operator)}let a=new E(i,n,g.operator,!0);a.assert(U(a,"object")===!0,"expected "+J(e)+" to be "+t+" "+J(r),"expected "+J(e)+" to not be "+t+" "+J(r))};g.closeTo=function(e,t,r,n){new E(e,n,g.closeTo,!0).to.be.closeTo(t,r)};g.approximately=function(e,t,r,n){new E(e,n,g.approximately,!0).to.be.approximately(t,r)};g.sameMembers=function(e,t,r){new E(e,r,g.sameMembers,!0).to.have.same.members(t)};g.notSameMembers=function(e,t,r){new E(e,r,g.notSameMembers,!0).to.not.have.same.members(t)};g.sameDeepMembers=function(e,t,r){new E(e,r,g.sameDeepMembers,!0).to.have.same.deep.members(t)};g.notSameDeepMembers=function(e,t,r){new E(e,r,g.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};g.sameOrderedMembers=function(e,t,r){new E(e,r,g.sameOrderedMembers,!0).to.have.same.ordered.members(t)};g.notSameOrderedMembers=function(e,t,r){new E(e,r,g.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};g.sameDeepOrderedMembers=function(e,t,r){new E(e,r,g.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};g.notSameDeepOrderedMembers=function(e,t,r){new E(e,r,g.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};g.includeMembers=function(e,t,r){new E(e,r,g.includeMembers,!0).to.include.members(t)};g.notIncludeMembers=function(e,t,r){new E(e,r,g.notIncludeMembers,!0).to.not.include.members(t)};g.includeDeepMembers=function(e,t,r){new E(e,r,g.includeDeepMembers,!0).to.include.deep.members(t)};g.notIncludeDeepMembers=function(e,t,r){new E(e,r,g.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};g.includeOrderedMembers=function(e,t,r){new E(e,r,g.includeOrderedMembers,!0).to.include.ordered.members(t)};g.notIncludeOrderedMembers=function(e,t,r){new E(e,r,g.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};g.includeDeepOrderedMembers=function(e,t,r){new E(e,r,g.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};g.notIncludeDeepOrderedMembers=function(e,t,r){new E(e,r,g.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};g.oneOf=function(e,t,r){new E(e,r,g.oneOf,!0).to.be.oneOf(t)};g.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${J(e)} to be an iterable`:`expected ${J(e)} to be an iterable`,new Y(t,void 0,g.isIterable)};g.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new E(e,n,g.changes,!0).to.change(t,r)};g.changesBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);new E(e,i,g.changesBy,!0).to.change(t,r).by(n)};g.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new E(e,n,g.doesNotChange,!0).to.not.change(t,r)};g.changesButNotBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);new E(e,i,g.changesButNotBy,!0).to.change(t,r).but.not.by(n)};g.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new E(e,n,g.increases,!0).to.increase(t,r)};g.increasesBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);new E(e,i,g.increasesBy,!0).to.increase(t,r).by(n)};g.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new E(e,n,g.doesNotIncrease,!0).to.not.increase(t,r)};g.increasesButNotBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);new E(e,i,g.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};g.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new E(e,n,g.decreases,!0).to.decrease(t,r)};g.decreasesBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);new E(e,i,g.decreasesBy,!0).to.decrease(t,r).by(n)};g.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new E(e,n,g.doesNotDecrease,!0).to.not.decrease(t,r)};g.doesNotDecreaseBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);return new E(e,i,g.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};g.decreasesButNotBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);new E(e,i,g.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};g.ifError=function(e){if(e)throw e};g.isExtensible=function(e,t){new E(e,t,g.isExtensible,!0).to.be.extensible};g.isNotExtensible=function(e,t){new E(e,t,g.isNotExtensible,!0).to.not.be.extensible};g.isSealed=function(e,t){new E(e,t,g.isSealed,!0).to.be.sealed};g.isNotSealed=function(e,t){new E(e,t,g.isNotSealed,!0).to.not.be.sealed};g.isFrozen=function(e,t){new E(e,t,g.isFrozen,!0).to.be.frozen};g.isNotFrozen=function(e,t){new E(e,t,g.isNotFrozen,!0).to.not.be.frozen};g.isEmpty=function(e,t){new E(e,t,g.isEmpty,!0).to.be.empty};g.isNotEmpty=function(e,t){new E(e,t,g.isNotEmpty,!0).to.not.be.empty};g.containsSubset=function(e,t,r){new E(e,r).to.containSubset(t)};g.doesNotContainSubset=function(e,t,r){new E(e,r).to.not.containSubset(t)};var cw=[["isOk","ok"],["isNotOk","notOk"],["throws","throw"],["throws","Throw"],["isExtensible","extensible"],["isNotExtensible","notExtensible"],["isSealed","sealed"],["isNotSealed","notSealed"],["isFrozen","frozen"],["isNotFrozen","notFrozen"],["isEmpty","empty"],["isNotEmpty","notEmpty"],["isCallable","isFunction"],["isNotCallable","isNotFunction"],["containsSubset","containSubset"]];for(const[e,t]of cw)g[t]=g[e];var fu=[];function Pt(e){const t={use:Pt,AssertionError:Y,util:Le,config:he,expect:pt,assert:g,Assertion:E,...zu};return~fu.indexOf(e)||(e(t,Le),fu.push(e)),t}o(Pt,"use");A(Pt,"use");var Wu={};ga(Wu,{toAppearAfter:()=>Rd,toAppearBefore:()=>Kn,toBeChecked:()=>Hs,toBeDisabled:()=>js,toBeEmpty:()=>Es,toBeEmptyDOMElement:()=>ws,toBeEnabled:()=>ks,toBeInTheDOM:()=>Vn,toBeInTheDocument:()=>gs,toBeInvalid:()=>Ls,toBePartiallyChecked:()=>zs,toBePartiallyPressed:()=>Xs,toBePressed:()=>Js,toBeRequired:()=>Bs,toBeValid:()=>$s,toBeVisible:()=>As,toContainElement:()=>Hn,toContainHTML:()=>_s,toHaveAccessibleDescription:()=>Un,toHaveAccessibleErrorMessage:()=>Rs,toHaveAccessibleName:()=>Wn,toHaveAttribute:()=>Ts,toHaveClass:()=>Ps,toHaveDescription:()=>Ws,toHaveDisplayValue:()=>Vs,toHaveErrorMessage:()=>Gs,toHaveFocus:()=>qs,toHaveFormValues:()=>Ss,toHaveRole:()=>zn,toHaveSelection:()=>Ks,toHaveStyle:()=>Gn,toHaveTextContent:()=>Cs,toHaveValue:()=>Fs});var pu=Oe(Lu(),1),Gu=class extends Error{reason;filename;line;column;source;constructor(t,r,n,i,a){super(`${t}:${n}:${i}: ${r}`),this.reason=r,this.filename=t,this.line=n,this.column=i,this.source=a}};o(Gu,"t");var dw=Gu,Ku=class{start;end;source;constructor(t,r,n){this.start=t,this.end=r,this.source=n}};o(Ku,"e");var fw=Ku,se;(function(e){e.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.startingStyle="starting-style",e.supports="supports"})(se||(se={}));var mu=o((e,t,r)=>{let n=r,i=1e4;do{const a=t.map(d=>e.indexOf(d,n));a.push(e.indexOf("\\",n));const s=a.filter(d=>d!==-1);if(s.length===0)return-1;const l=Math.min(...s);if(e[l]!=="\\")return l;n=l+2,i--}while(i>0);throw new Error("Too many escaping")},"s"),hi=o((e,t,r)=>{let n=r,i=1e4;do{const a=t.map(d=>e.indexOf(d,n));a.push(e.indexOf("(",n)),a.push(e.indexOf('"',n)),a.push(e.indexOf("'",n)),a.push(e.indexOf("\\",n));const s=a.filter(d=>d!==-1);if(s.length===0)return-1;const l=Math.min(...s);switch(e[l]){case"\\":n=l+2;break;case"(":{const d=hi(e,[")"],l+1);if(d===-1)return-1;n=d+1}break;case'"':{const d=mu(e,['"'],l+1);if(d===-1)return-1;n=d+1}break;case"'":{const d=mu(e,["'"],l+1);if(d===-1)return-1;n=d+1}break;default:return l}i--}while(i>0);throw new Error("Too many escaping")},"n"),di=/\/\*[^]*?(?:\*\/|$)/g;function ve(e){return e?e.trim():""}o(ve,"o");function Fn(e,t){const r=e&&typeof e.type=="string",n=r?e:t;for(const i in e){const a=e[i];Array.isArray(a)?a.forEach(s=>{Fn(s,n)}):a&&typeof a=="object"&&Fn(a,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}o(Fn,"c");var pw=o((e,t)=>{t=t||{};let r=1,n=1;function i(){const y={line:r,column:n};return v=>(v.position=new fw(y,{line:r,column:n},t?.source||""),f(),v)}o(i,"u");const a=[];function s(y){const v=new dw(t?.source||"",y,r,n,e);if(!t?.silent)throw v;a.push(v)}o(s,"l");function l(){const y=/^{\s*/.exec(e);return!!y&&(c(y),!0)}o(l,"f");function d(){const y=/^}/.exec(e);return!!y&&(c(y),!0)}o(d,"d");function u(){let y;const v=[];for(f(),p(v);e.length&&e.charAt(0)!=="}"&&(y=T()||R(),y);)v.push(y),p(v);return v}o(u,"y");function c(y){const v=y[0];return(function(N){const x=N.match(/\n/g);x&&(r+=x.length);const k=N.lastIndexOf(`
13
+ `);n=~k?N.length-k:n+N.length})(v),e=e.slice(v.length),y}o(c,"g");function f(){const y=/^\s*/.exec(e);y&&c(y)}o(f,"$");function p(y){y=y||[];let v=m();for(;v;)y.push(v),v=m();return y}o(p,"x");function m(){const y=i();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;const v=/^\/\*[^]*?\*\//.exec(e);return v?(c(v),y({type:se.comment,comment:v[0].slice(2,-2)})):s("End of comment missing")}o(m,"V");function b(){const y=/^([^{]+)/.exec(e);if(y)return c(y),((v,N)=>{const x=[];let k=0;for(;k<v.length;){const D=hi(v,N,k);if(D===-1)return x.push(v.substring(k)),x;x.push(v.substring(k,D)),k=D+1}return x})(ve(y[0]).replace(di,""),[","]).map(v=>ve(v))}o(b,"k");function _(){const y=i(),v=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/.exec(e);if(!v)return;c(v);const N=ve(v[0]),x=/^:\s*/.exec(e);if(!x)return s("property missing ':'");c(x);let k="";const D=hi(e,[";","}"]);D!==-1&&(k=e.substring(0,D),c([k]),k=ve(k).replace(di,""));const I=y({type:se.declaration,property:N.replace(di,""),value:k}),V=/^[;\s]*/.exec(e);return V&&c(V),I}o(_,"v");function w(){const y=[];if(!l())return s("missing '{'");p(y);let v=_();for(;v;)y.push(v),p(y),v=_();return d()?y:s("missing '}'")}o(w,"w");function h(){const y=[],v=i();let N=/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/.exec(e);for(;N;){const x=c(N);y.push(x[1]);const k=/^,\s*/.exec(e);k&&c(k),N=/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/.exec(e)}if(y.length)return v({type:se.keyframe,values:y,declarations:w()||[]})}o(h,"b");const C=M("import"),q=M("charset"),j=M("namespace");function M(y){const v=new RegExp("^@"+y+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return()=>{const N=i(),x=v.exec(e);if(!x)return;const k=c(x),D={type:y};return D[y]=k[1].trim(),N(D)}}o(M,"M");function T(){if(e[0]==="@")return(function(){const y=i(),v=/^@([-\w]+)?keyframes\s*/.exec(e);if(!v)return;const N=c(v)[1],x=/^([-\w]+)\s*/.exec(e);if(!x)return s("@keyframes missing name");const k=c(x)[1];if(!l())return s("@keyframes missing '{'");let D=p(),I=h();for(;I;)D.push(I),D=D.concat(p()),I=h();return d()?y({type:se.keyframes,name:k,vendor:N,keyframes:D}):s("@keyframes missing '}'")})()||(function(){const y=i(),v=/^@media *([^{]+)/.exec(e);if(!v)return;const N=ve(c(v)[1]);if(!l())return s("@media missing '{'");const x=p().concat(u());return d()?y({type:se.media,media:N,rules:x}):s("@media missing '}'")})()||(function(){const y=i(),v=/^@custom-media\s+(--\S+)\s+([^{;\s][^{;]*);/.exec(e);if(!v)return;const N=c(v);return y({type:se.customMedia,name:ve(N[1]),media:ve(N[2])})})()||(function(){const y=i(),v=/^@supports *([^{]+)/.exec(e);if(!v)return;const N=ve(c(v)[1]);if(!l())return s("@supports missing '{'");const x=p().concat(u());return d()?y({type:se.supports,supports:N,rules:x}):s("@supports missing '}'")})()||C()||q()||j()||(function(){const y=i(),v=/^@([-\w]+)?document *([^{]+)/.exec(e);if(!v)return;const N=c(v),x=ve(N[1]),k=ve(N[2]);if(!l())return s("@document missing '{'");const D=p().concat(u());return d()?y({type:se.document,document:k,vendor:x,rules:D}):s("@document missing '}'")})()||(function(){const y=i(),v=/^@page */.exec(e);if(!v)return;c(v);const N=b()||[];if(!l())return s("@page missing '{'");let x=p(),k=_();for(;k;)x.push(k),x=x.concat(p()),k=_();return d()?y({type:se.page,selectors:N,declarations:x}):s("@page missing '}'")})()||(function(){const y=i(),v=/^@host\s*/.exec(e);if(!v)return;if(c(v),!l())return s("@host missing '{'");const N=p().concat(u());return d()?y({type:se.host,rules:N}):s("@host missing '}'")})()||(function(){const y=i(),v=/^@font-face\s*/.exec(e);if(!v)return;if(c(v),!l())return s("@font-face missing '{'");let N=p(),x=_();for(;x;)N.push(x),N=N.concat(p()),x=_();return d()?y({type:se.fontFace,declarations:N}):s("@font-face missing '}'")})()||(function(){const y=i(),v=/^@container *([^{]+)/.exec(e);if(!v)return;const N=ve(c(v)[1]);if(!l())return s("@container missing '{'");const x=p().concat(u());return d()?y({type:se.container,container:N,rules:x}):s("@container missing '}'")})()||(function(){const y=i(),v=/^@starting-style\s*/.exec(e);if(!v)return;if(c(v),!l())return s("@starting-style missing '{'");const N=p().concat(u());return d()?y({type:se.startingStyle,rules:N}):s("@starting-style missing '}'")})()||(function(){const y=i(),v=/^@layer *([^{;@]+)/.exec(e);if(!v)return;const N=ve(c(v)[1]);if(!l()){const k=/^[;\s]*/.exec(e);return k&&c(k),y({type:se.layer,layer:N})}const x=p().concat(u());return d()?y({type:se.layer,layer:N,rules:x}):s("@layer missing '}'")})()}o(T,"A");function R(){const y=i(),v=b();return v?(p(),y({type:se.rule,selectors:v,declarations:w()||[]})):s("selector missing")}return o(R,"S"),Fn((function(){const y=u();return{type:se.stylesheet,stylesheet:{source:t?.source,rules:y,parsingErrors:a}}})())},"m"),mw=Object.prototype.toString;function bi(e){return typeof e=="function"||mw.call(e)==="[object Function]"}o(bi,"isCallable");function Ju(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}o(Ju,"toInteger");var hw=Math.pow(2,53)-1;function Xu(e){var t=Ju(e);return Math.min(Math.max(t,0),hw)}o(Xu,"toLength");function Pe(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!bi(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var i=Xu(n.length),a=bi(r)?Object(new r(i)):new Array(i),s=0,l;s<i;)l=n[s],t?a[s]=t(l,s):a[s]=l,s+=1;return a.length=i,a}o(Pe,"arrayFrom");function Yt(e){"@babel/helpers - typeof";return Yt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yt(e)}o(Yt,"_typeof");function Yu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}o(Yu,"_classCallCheck");function yi(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,us(n.key),n)}}o(yi,"_defineProperties");function Qu(e,t,r){return t&&yi(e.prototype,t),r&&yi(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}o(Qu,"_createClass");function Zu(e,t,r){return t=us(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}o(Zu,"_defineProperty");function us(e){var t=ec(e,"string");return Yt(t)==="symbol"?t:String(t)}o(us,"_toPropertyKey");function ec(e,t){if(Yt(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Yt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}o(ec,"_toPrimitive");var bw=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Yu(this,e),Zu(this,"items",void 0),this.items=t}return o(e,"SetLike"),Qu(e,[{key:"add",value:o(function(r){return this.has(r)===!1&&this.items.push(r),this},"add")},{key:"clear",value:o(function(){this.items=[]},"clear")},{key:"delete",value:o(function(r){var n=this.items.length;return this.items=this.items.filter(function(i){return i!==r}),n!==this.items.length},"_delete")},{key:"forEach",value:o(function(r){var n=this;this.items.forEach(function(i){r(i,i,n)})},"forEach")},{key:"has",value:o(function(r){return this.items.indexOf(r)!==-1},"has")},{key:"size",get:o(function(){return this.items.length},"get")}]),e})(),yw=typeof Set>"u"?Set:bw;function ce(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}o(ce,"getLocalName");var vw={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},gw={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),none:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function tc(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-description","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=gw[t])!==null&&n!==void 0&&n.has(r))})}o(tc,"hasGlobalAriaAttributes");function cs(e,t){return tc(e,t)}o(cs,"ignorePresentationalRole");function rc(e){var t=oc(e);if(t===null||vi.indexOf(t)!==-1){var r=nc(e);if(vi.indexOf(t||"")===-1||cs(e,r||""))return r}return t}o(rc,"getRole");function nc(e){var t=vw[ce(e)];if(t!==void 0)return t;switch(ce(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!cs(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}o(nc,"getImplicitRole");function oc(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}o(oc,"getExplicitRole");var vi=["presentation","none"];function re(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}o(re,"isElement");function ds(e){return re(e)&&ce(e)==="caption"}o(ds,"isHTMLTableCaptionElement");function qr(e){return re(e)&&ce(e)==="input"}o(qr,"isHTMLInputElement");function ic(e){return re(e)&&ce(e)==="optgroup"}o(ic,"isHTMLOptGroupElement");function ac(e){return re(e)&&ce(e)==="select"}o(ac,"isHTMLSelectElement");function sc(e){return re(e)&&ce(e)==="table"}o(sc,"isHTMLTableElement");function lc(e){return re(e)&&ce(e)==="textarea"}o(lc,"isHTMLTextAreaElement");function uc(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}o(uc,"safeWindow");function cc(e){return re(e)&&ce(e)==="fieldset"}o(cc,"isHTMLFieldSetElement");function dc(e){return re(e)&&ce(e)==="legend"}o(dc,"isHTMLLegendElement");function fc(e){return re(e)&&ce(e)==="slot"}o(fc,"isHTMLSlotElement");function pc(e){return re(e)&&e.ownerSVGElement!==void 0}o(pc,"isSVGElement");function mc(e){return re(e)&&ce(e)==="svg"}o(mc,"isSVGSVGElement");function hc(e){return pc(e)&&ce(e)==="title"}o(hc,"isSVGTitleElement");function $r(e,t){if(re(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(i){return n.getElementById(i)}).filter(function(i){return i!==null})}return[]}o($r,"queryIdRefs");function $e(e,t){return re(e)?t.indexOf(rc(e))!==-1:!1}o($e,"hasAnyConcreteRoles");function bc(e){return e.trim().replace(/\s\s+/g," ")}o(bc,"asFlatString");function yc(e,t){if(!re(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}o(yc,"isHidden");function vc(e){return $e(e,["button","combobox","listbox","textbox"])||fs(e,"range")}o(vc,"isControl");function fs(e,t){if(!re(e))return!1;switch(t){case"range":return $e(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}o(fs,"hasAbstractRole");function gi(e,t){var r=Pe(e.querySelectorAll(t));return $r(e,"aria-owns").forEach(function(n){r.push.apply(r,Pe(n.querySelectorAll(t)))}),r}o(gi,"querySelectorAllSubtree");function gc(e){return ac(e)?e.selectedOptions||gi(e,"[selected]"):gi(e,'[aria-selected="true"]')}o(gc,"querySelectedOptions");function Ec(e){return $e(e,vi)}o(Ec,"isMarkedPresentational");function wc(e){return ds(e)}o(wc,"isNativeHostLanguageTextAlternativeElement");function _c(e){return $e(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}o(_c,"allowsNameFromContent");function Cc(e){return!1}o(Cc,"isDescendantOfNativeHostLanguageTextAlternativeElement");function Rc(e){return qr(e)||lc(e)?e.value:e.textContent||""}o(Rc,"getValueOfTextbox");function Ei(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}o(Ei,"getTextualContent");function ps(e){var t=ce(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}o(ps,"isLabelableElement");function ms(e){if(ps(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&re(r)){var n=ms(r);n!==null&&(t=n)}}),t}o(ms,"findLabelableElement");function Tc(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):ms(e)}o(Tc,"getControlOfLabel");function Pc(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Pe(t);if(!ps(e))return null;var r=e.ownerDocument;return Pe(r.querySelectorAll("label")).filter(function(n){return Tc(n)===e})}o(Pc,"getLabels");function qc(e){var t=e.assignedNodes();return t.length===0?Pe(e.childNodes):t}o(qc,"getSlotContents");function hs(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new yw,n=uc(e),i=t.compute,a=i===void 0?"name":i,s=t.computedStyleSupportsPseudoElements,l=s===void 0?t.getComputedStyle!==void 0:s,d=t.getComputedStyle,u=d===void 0?n.getComputedStyle.bind(n):d,c=t.hidden,f=c===void 0?!1:c;function p(h,C){var q="";if(re(h)&&l){var j=u(h,"::before"),M=Ei(j);q="".concat(M," ").concat(q)}var T=fc(h)?qc(h):Pe(h.childNodes).concat($r(h,"aria-owns"));if(T.forEach(function(v){var N=w(v,{isEmbeddedInLabel:C.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),x=re(v)?u(v).getPropertyValue("display"):"inline",k=x!=="inline"?" ":"";q+="".concat(k).concat(N).concat(k)}),re(h)&&l){var R=u(h,"::after"),y=Ei(R);q="".concat(q," ").concat(y)}return q.trim()}o(p,"computeMiscTextAlternative");function m(h,C){var q=h.getAttributeNode(C);return q!==null&&!r.has(q)&&q.value.trim()!==""?(r.add(q),q.value):null}o(m,"useAttribute");function b(h){return re(h)?m(h,"title"):null}o(b,"computeTooltipAttributeValue");function _(h){if(!re(h))return null;if(cc(h)){r.add(h);for(var C=Pe(h.childNodes),q=0;q<C.length;q+=1){var j=C[q];if(dc(j))return w(j,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(sc(h)){r.add(h);for(var M=Pe(h.childNodes),T=0;T<M.length;T+=1){var R=M[T];if(ds(R))return w(R,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(mc(h)){r.add(h);for(var y=Pe(h.childNodes),v=0;v<y.length;v+=1){var N=y[v];if(hc(N))return N.textContent}return null}else if(ce(h)==="img"||ce(h)==="area"){var x=m(h,"alt");if(x!==null)return x}else if(ic(h)){var k=m(h,"label");if(k!==null)return k}if(qr(h)&&(h.type==="button"||h.type==="submit"||h.type==="reset")){var D=m(h,"value");if(D!==null)return D;if(h.type==="submit")return"Submit";if(h.type==="reset")return"Reset"}var I=Pc(h);if(I!==null&&I.length!==0)return r.add(h),Pe(I).map(function(H){return w(H,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(H){return H.length>0}).join(" ");if(qr(h)&&h.type==="image"){var V=m(h,"alt");if(V!==null)return V;var L=m(h,"title");return L!==null?L:"Submit Query"}if($e(h,["button"])){var Q=p(h,{isEmbeddedInLabel:!1});if(Q!=="")return Q}return null}o(_,"computeElementTextAlternative");function w(h,C){if(r.has(h))return"";if(!f&&yc(h,u)&&!C.isReferenced)return r.add(h),"";var q=re(h)?h.getAttributeNode("aria-labelledby"):null,j=q!==null&&!r.has(q)?$r(h,"aria-labelledby"):[];if(a==="name"&&!C.isReferenced&&j.length>0)return r.add(q),j.map(function(x){return w(x,{isEmbeddedInLabel:C.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var M=C.recursion&&vc(h)&&a==="name";if(!M){var T=(re(h)&&h.getAttribute("aria-label")||"").trim();if(T!==""&&a==="name")return r.add(h),T;if(!Ec(h)){var R=_(h);if(R!==null)return r.add(h),R}}if($e(h,["menu"]))return r.add(h),"";if(M||C.isEmbeddedInLabel||C.isReferenced){if($e(h,["combobox","listbox"])){r.add(h);var y=gc(h);return y.length===0?qr(h)?h.value:"":Pe(y).map(function(x){return w(x,{isEmbeddedInLabel:C.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(fs(h,"range"))return r.add(h),h.hasAttribute("aria-valuetext")?h.getAttribute("aria-valuetext"):h.hasAttribute("aria-valuenow")?h.getAttribute("aria-valuenow"):h.getAttribute("value")||"";if($e(h,["textbox"]))return r.add(h),Rc(h)}if(_c(h)||re(h)&&C.isReferenced||wc(h)||Cc()){var v=p(h,{isEmbeddedInLabel:C.isEmbeddedInLabel});if(v!=="")return r.add(h),v}if(h.nodeType===h.TEXT_NODE)return r.add(h),h.textContent||"";if(C.recursion)return r.add(h),p(h,{isEmbeddedInLabel:C.isEmbeddedInLabel});var N=b(h);return N!==null?(r.add(h),N):(r.add(h),"")}return o(w,"computeTextAlternative"),bc(w(e,{isEmbeddedInLabel:!1,isReferenced:a==="description",recursion:!1}))}o(hs,"computeTextAlternative");function Qt(e){"@babel/helpers - typeof";return Qt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qt(e)}o(Qt,"_typeof");function wi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}o(wi,"ownKeys");function _i(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?wi(Object(r),!0).forEach(function(n){Sc(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wi(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}o(_i,"_objectSpread");function Sc(e,t,r){return t=xc(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}o(Sc,"_defineProperty");function xc(e){var t=Ac(e,"string");return Qt(t)==="symbol"?t:String(t)}o(xc,"_toPropertyKey");function Ac(e,t){if(Qt(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Qt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}o(Ac,"_toPrimitive");function Oc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=$r(e,"aria-describedby").map(function(a){return hs(a,_i(_i({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var i=e.getAttribute("title");r=i===null?"":i}return r}o(Oc,"computeAccessibleDescription");function Mc(e){return $e(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}o(Mc,"prohibitsNaming");function Ic(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Mc(e)?"":hs(e,t)}o(Ic,"computeAccessibleName");var bs=Oe(_a(),1),Ew=Oe(Du(),1),ww=Oe($u(),1),Nc=class extends Error{constructor(t,r,n,i){super(),Error.captureStackTrace&&Error.captureStackTrace(this,n);let a="";try{a=i.utils.printWithType("Received",r,i.utils.printReceived)}catch{}this.message=[i.utils.matcherHint(`${i.isNot?".not":""}.${n.name}`,"received",""),"",`${i.utils.RECEIVED_COLOR("received")} value must ${t}.`,a].join(`
14
+ `)}};o(Nc,"GenericTypeError");var jc=Nc,kc=class extends jc{constructor(...t){super("be an HTMLElement or an SVGElement",...t)}};o(kc,"HtmlElementTypeError");var hu=kc,Bc=class extends jc{constructor(...t){super("be a Node",...t)}};o(Bc,"NodeTypeError");var bu=Bc;function ys(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}o(ys,"checkHasWindow");function Dc(e,...t){ys(e,bu,...t);const r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new bu(e,...t)}o(Dc,"checkNode");function K(e,...t){ys(e,hu,...t);const r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new hu(e,...t)}o(K,"checkHtmlElement");var Lc=class extends Error{constructor(t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r),this.message=[t.message,"",n.utils.RECEIVED_COLOR("Failing css:"),n.utils.RECEIVED_COLOR(`${t.css}`)].join(`
15
+ `)}};o(Lc,"InvalidCSSError");var _w=Lc;function $c(e,...t){const r=pw(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){const{reason:i,line:a}=r.parsingErrors[0];throw new _w({css:e,message:`Syntax error parsing expected css: ${i} on line: ${a}`},...t)}return r.rules[0].declarations.filter(i=>i.type==="declaration").reduce((i,{property:a,value:s})=>Object.assign(i,{[a]:s}),{})}o($c,"parseCSS");function Ci(e,t){return typeof t=="string"?t:e.utils.stringify(t)}o(Ci,"display");function ie(e,t,r,n,i,a){return[`${t}
16
+ `,`${r}:
17
+ ${e.utils.EXPECTED_COLOR((0,pu.default)(Ci(e,n),2))}`,`${i}:
18
+ ${e.utils.RECEIVED_COLOR((0,pu.default)(Ci(e,a),2))}`].join(`
19
+ `)}o(ie,"getMessage");function Fc(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}o(Fc,"matches");function ln(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}o(ln,"deprecate");function un(e){return e.replace(/\s+/g," ").trim()}o(un,"normalize");function rt(e){return e.tagName&&e.tagName.toLowerCase()}o(rt,"getTag");function Vc({multiple:e,options:t}){const r=[...t].filter(n=>n.selected);if(e)return[...r].map(n=>n.value);if(r.length!==0)return r[0].value}o(Vc,"getSelectValue");function Hc(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}o(Hc,"getInputValue");var Cw=["meter","progressbar","slider","spinbutton"];function Uc(e){if(Cw.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}o(Uc,"getAccessibleValue");function vs(e){if(e)switch(e.tagName.toLowerCase()){case"input":return Hc(e);case"select":return Vc(e);default:return e.value??Uc(e)}}o(vs,"getSingleElementValue");function zc(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}o(zc,"toSentence");function Ho(e,t){return Array.isArray(e)&&Array.isArray(t)?[...new Set(e)].every(r=>new Set(t).has(r)):e===t}o(Ho,"compareAsSet");function Vn(e,t){return ln("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&K(e,Vn,this),t&&K(t,Vn,this),{pass:t?t.contains(e):!!e,message:o(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(`
20
+ `),"message")}}o(Vn,"toBeInTheDOM");function gs(e){(e!==null||!this.isNot)&&K(e,gs,this);const t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=o(()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,"errorFound"),n=o(()=>"element could not be found in the document","errorNotFound");return{pass:t,message:o(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(`
21
+ `),"message")}}o(gs,"toBeInTheDocument");function Es(e){return ln("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),K(e,Es,this),{pass:e.innerHTML==="",message:o(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
22
+ `),"message")}}o(Es,"toBeEmpty");function ws(e){return K(e,ws,this),{pass:Wc(e),message:o(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
23
+ `),"message")}}o(ws,"toBeEmptyDOMElement");function Wc(e){return[...e.childNodes].filter(r=>r.nodeType!==8).length===0}o(Wc,"isEmptyElement");function Hn(e,t){return K(e,Hn,this),t!==null&&K(t,Hn,this),{pass:e.contains(t),message:o(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainElement`,"element","element"),"",this.utils.RECEIVED_COLOR(`${this.utils.stringify(e.cloneNode(!1))} ${this.isNot?"contains:":"does not contain:"} ${this.utils.stringify(t&&t.cloneNode(!1))}
24
+ `)].join(`
25
+ `),"message")}}o(Hn,"toContainElement");function Gc(e,t){const r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}o(Gc,"getNormalizedHtml");function _s(e,t){if(K(e,_s,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(Gc(e,t)),message:o(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(`
26
+ `),"message")}}o(_s,"toContainHTML");function Cs(e,t,r={normalizeWhitespace:!0}){Dc(e,Cs,this);const n=r.normalizeWhitespace?un(e.textContent):e.textContent.replace(/\u00a0/g," "),i=n!==""&&t==="";return{pass:!i&&Fc(n,t),message:o(()=>{const a=this.isNot?"not to":"to";return ie(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),i?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${a} have text content`,t,"Received",n)},"message")}}o(Cs,"toHaveTextContent");function Un(e,t){K(e,Un,this);const r=Oc(e),n=arguments.length===1;let i=!1;return n?i=r!=="":i=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:i,message:o(()=>{const a=this.isNot?"not to":"to";return ie(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Un.name}`,"element",""),`Expected element ${a} have accessible description`,t,"Received",r)},"message")}}o(Un,"toHaveAccessibleDescription");var Er="aria-invalid",Rw=["false"];function Rs(e,t){K(e,Rs,this);const r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",i=e.getAttribute("aria-errormessage");if(!!i&&/\s+/.test(i))return{pass:!1,message:o(()=>ie(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${i}"`),"message")};const s=e.getAttribute(Er);if(!e.hasAttribute(Er)||Rw.includes(s))return{pass:!1,message:o(()=>ie(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${Er}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${Er}="${e.getAttribute(Er)}`:null),"message")};const d=un(e.ownerDocument.getElementById(i)?.textContent??"");return{pass:t===void 0?!!d:t instanceof RegExp?t.test(d):this.equals(d,t),message:o(()=>ie(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",d),"message")}}o(Rs,"toHaveAccessibleErrorMessage");var Tw=Xc(bs.elementRoles);function zn(e,t){K(e,zn,this);const r=Kc(e);return{pass:r.some(i=>i===t),message:o(()=>{const i=this.isNot?"not to":"to";return ie(this,this.utils.matcherHint(`${this.isNot?".not":""}.${zn.name}`,"element",""),`Expected element ${i} have role`,t,"Received",r.join(", "))},"message")}}o(zn,"toHaveRole");function Kc(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):Jc(e)}o(Kc,"getExplicitOrImplicitRoles");function Jc(e){for(const{match:t,roles:r}of Tw)if(t(e))return[...r];return[]}o(Jc,"getImplicitAriaRoles");function Xc(e){function t({name:s,attributes:l}){return`${s}${l.map(({name:d,value:u,constraints:c=[]})=>c.indexOf("undefined")!==-1?`:not([${d}])`:u?`[${d}="${u}"]`:`[${d}]`).join("")}`}o(t,"makeElementSelector");function r({attributes:s=[]}){return s.length}o(r,"getSelectorSpecificity");function n({specificity:s},{specificity:l}){return l-s}o(n,"bySelectorSpecificity");function i(s){let{attributes:l=[]}=s;const d=l.findIndex(c=>c.value&&c.name==="type"&&c.value==="text");d>=0&&(l=[...l.slice(0,d),...l.slice(d+1)]);const u=t({...s,attributes:l});return c=>d>=0&&c.type!=="text"?!1:c.matches(u)}o(i,"match");let a=[];for(const[s,l]of e.entries())a=[...a,{match:i(s),roles:Array.from(l),specificity:r(s)}];return a.sort(n)}o(Xc,"buildElementRoleList");function Wn(e,t){K(e,Wn,this);const r=Ic(e),n=arguments.length===1;let i=!1;return n?i=r!=="":i=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:i,message:o(()=>{const a=this.isNot?"not to":"to";return ie(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Wn.name}`,"element",""),`Expected element ${a} have accessible name`,t,"Received",r)},"message")}}o(Wn,"toHaveAccessibleName");function Ri(e,t,r){return r===void 0?t:`${t}=${e(r)}`}o(Ri,"printAttribute");function Yc(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}o(Yc,"getAttributeComment");function Ts(e,t,r){K(e,Ts,this);const n=r!==void 0,i=e.hasAttribute(t),a=e.getAttribute(t);return{pass:n?i&&this.equals(a,r):i,message:o(()=>{const s=this.isNot?"not to":"to",l=i?Ri(this.utils.stringify,t,a):null,d=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:Yc(this.utils.stringify,t,r)});return ie(this,d,`Expected the element ${s} have attribute`,Ri(this.utils.stringify,t,r),"Received",l)},"message")}}o(Ts,"toHaveAttribute");function Qc(e){const t=e.pop();let r,n;return typeof t=="object"&&!(t instanceof RegExp)?(r=e,n=t):(r=e.concat(t),n={exact:!1}),{expectedClassNames:r,options:n}}o(Qc,"getExpectedClassNamesAndOptions");function Ti(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}o(Ti,"splitClassNames");function Pi(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}o(Pi,"isSubset$1");function Ps(e,...t){K(e,Ps,this);const{expectedClassNames:r,options:n}=Qc(t),i=Ti(e.getAttribute("class")),a=r.reduce((l,d)=>l.concat(typeof d=="string"||!d?Ti(d):d),[]),s=a.some(l=>l instanceof RegExp);if(n.exact&&s)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:Pi(a,i)&&a.length===i.length,message:o(()=>{const l=this.isNot?"not to":"to";return ie(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(a.join(" "))),`Expected the element ${l} have EXACTLY defined classes`,a.join(" "),"Received",i.join(" "))},"message")}:a.length>0?{pass:Pi(a,i),message:o(()=>{const l=this.isNot?"not to":"to";return ie(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(a.join(" "))),`Expected the element ${l} have class`,a.join(" "),"Received",i.join(" "))},"message")}:{pass:this.isNot?i.length>0:!1,message:o(()=>this.isNot?ie(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",i.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(`
27
+ `),"message")}}o(Ps,"toHaveClass");function Zc(e,t){const r={},n=e.createElement("div");return Object.keys(t).forEach(i=>{n.style[i]=t[i],r[i]=n.style[i]}),r}o(Zc,"getStyleDeclaration");function ed(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{const i=r.startsWith("--"),a=[r];return i||a.push(r.toLowerCase()),a.some(s=>t[s]===n||t.getPropertyValue(s)===n)})}o(ed,"isSubset");function qi(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
28
+ `)}o(qi,"printoutStyles");function td(e,t,r){const n=Array.from(r).filter(a=>t[a]!==void 0).reduce((a,s)=>Object.assign(a,{[s]:r.getPropertyValue(s)}),{});return e(qi(t),qi(n)).replace(`${Ew.default.red("+ Received")}
29
+ `,"")}o(td,"expectedDiff");function Gn(e,t){K(e,Gn,this);const r=typeof t=="object"?t:$c(t,Gn,this),{getComputedStyle:n}=e.ownerDocument.defaultView,i=Zc(e.ownerDocument,r),a=n(e);return{pass:ed(i,a),message:o(()=>{const s=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(s,"element",""),td(this.utils.diff,i,a)].join(`
30
+
31
+ `)},"message")}}o(Gn,"toHaveStyle");function qs(e){return K(e,qs,this),{pass:e.ownerDocument.activeElement===e,message:o(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toHaveFocus`,"element",""),"",...this.isNot?["Received element is focused:",` ${this.utils.printReceived(e)}`]:["Expected element with focus:",` ${this.utils.printExpected(e)}`,"Received element with focus:",` ${this.utils.printReceived(e.ownerDocument.activeElement)}`]].join(`
32
+ `),"message")}}o(qs,"toHaveFocus");function rd(e){const t=[...new Set(e.map(r=>r.type))];if(t.length!==1)throw new Error("Multiple form elements with the same name must be of the same type");switch(t[0]){case"radio":{const r=e.find(n=>n.checked);return r?r.value:void 0}case"checkbox":return e.filter(r=>r.checked).map(r=>r.value);default:return e.map(r=>r.value)}}o(rd,"getMultiElementValue");function nd(e,t){const r=[...e.querySelectorAll(`[name="${(0,ww.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return vs(r[0]);default:return rd(r)}}o(nd,"getFormValue");function od(e){return/\[\]$/.test(e)?e.slice(0,-2):e}o(od,"getPureName");function id(e){return Array.from(e.elements).map(r=>r.name).reduce((r,n)=>({...r,[od(n)]:nd(e,n)}),{})}o(id,"getAllFormValues");function Ss(e,t){if(K(e,Ss,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");const r=id(e);return{pass:Object.entries(t).every(([n,i])=>Ho(r[n],i)),message:o(()=>{const n=this.isNot?"not to":"to",i=`${this.isNot?".not":""}.toHaveFormValues`,a=Object.keys(r).filter(s=>t.hasOwnProperty(s)).reduce((s,l)=>({...s,[l]:r[l]}),{});return[this.utils.matcherHint(i,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,a)].join(`
33
+
34
+ `)},"message")}}o(Ss,"toHaveFormValues");function ad(e){const{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:i}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&i!=="0"&&i!==0}o(ad,"isStyleVisible");function sd(e,t){let r;return t?r=e.nodeName==="DETAILS"&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0:r=e.nodeName==="DETAILS"?e.hasAttribute("open"):!0,!e.hasAttribute("hidden")&&r}o(sd,"isAttributeVisible");function xs(e,t){return ad(e)&&sd(e,t)&&(!e.parentElement||xs(e.parentElement,e))}o(xs,"isElementVisible");function As(e){K(e,As,this);const t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&xs(e);return{pass:r,message:o(()=>{const n=r?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeVisible`,"element",""),"",`Received element ${n} visible${t?"":" (element is not in the document)"}:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
35
+ `)},"message")}}o(As,"toBeVisible");var Pw=["fieldset","input","select","optgroup","option","button","textarea"];function ld(e,t){return rt(e)==="legend"&&rt(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>rt(r)==="legend"))}o(ld,"isFirstLegendChildOfFieldset");function ud(e,t){return Ms(t)&&!ld(e,t)}o(ud,"isElementDisabledByParent");function cd(e){return e.includes("-")}o(cd,"isCustomElement");function Os(e){const t=rt(e);return Pw.includes(t)||cd(t)}o(Os,"canElementBeDisabled");function Ms(e){return Os(e)&&e.hasAttribute("disabled")}o(Ms,"isElementDisabled");function Is(e){const t=e.parentElement;return!!t&&(ud(e,t)||Is(t))}o(Is,"isAncestorDisabled");function Ns(e){return Os(e)&&(Ms(e)||Is(e))}o(Ns,"isElementOrAncestorDisabled");function js(e){K(e,js,this);const t=Ns(e);return{pass:t,message:o(()=>{const r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeDisabled`,"element",""),"",`Received element ${r} disabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
36
+ `)},"message")}}o(js,"toBeDisabled");function ks(e){K(e,ks,this);const t=!Ns(e);return{pass:t,message:o(()=>{const r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEnabled`,"element",""),"",`Received element ${r} enabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
37
+ `)},"message")}}o(ks,"toBeEnabled");var qw=["select","textarea"],Sw=["input","select","textarea"],xw=["color","hidden","range","submit","image","reset"],Aw=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function dd(e){return qw.includes(rt(e))&&e.hasAttribute("required")}o(dd,"isRequiredOnFormTagsExceptInput");function fd(e){return rt(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!xw.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}o(fd,"isRequiredOnSupportedInput");function pd(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(Sw.includes(rt(e))||e.hasAttribute("role")&&Aw.includes(e.getAttribute("role")))}o(pd,"isElementRequiredByARIA");function Bs(e){K(e,Bs,this);const t=dd(e)||fd(e)||pd(e);return{pass:t,message:o(()=>{const r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeRequired`,"element",""),"",`Received element ${r} required:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
38
+ `)},"message")}}o(Bs,"toBeRequired");var Ow=["form","input","select","textarea"];function md(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}o(md,"isElementHavingAriaInvalid");function hd(e){return Ow.includes(rt(e))}o(hd,"isSupportsValidityMethod");function Ds(e){const t=md(e);return hd(e)?t||!e.checkValidity():t}o(Ds,"isElementInvalid");function Ls(e){K(e,Ls,this);const t=Ds(e);return{pass:t,message:o(()=>{const r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInvalid`,"element",""),"",`Received element ${r} currently invalid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
39
+ `)},"message")}}o(Ls,"toBeInvalid");function $s(e){K(e,$s,this);const t=!Ds(e);return{pass:t,message:o(()=>{const r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeValid`,"element",""),"",`Received element ${r} currently valid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
40
+ `)},"message")}}o($s,"toBeValid");function Fs(e,t){if(K(e,Fs,this),e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type))throw new Error("input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead");const r=vs(e),n=t!==void 0;let i=t,a=r;return t==r&&t!==r&&(i=`${t} (${typeof t})`,a=`${r} (${typeof r})`),{pass:n?Ho(r,t):!!r,message:o(()=>{const s=this.isNot?"not to":"to",l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return ie(this,l,`Expected the element ${s} have value`,n?i:"(any)","Received",a)},"message")}}o(Fs,"toHaveValue");function Vs(e,t){K(e,Vs,this);const r=e.tagName.toLowerCase();if(!["select","input","textarea"].includes(r))throw new Error(".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.");if(r==="input"&&["radio","checkbox"].includes(e.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type="${e.type}"], try with another matcher instead.`);const n=bd(r,e),i=yd(t),a=i.filter(d=>n.some(u=>d instanceof RegExp?d.test(u):this.equals(u,String(d)))).length,s=a===n.length,l=a===i.length;return{pass:s&&l,message:o(()=>ie(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n),"message")}}o(Vs,"toHaveDisplayValue");function bd(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}o(bd,"getValues");function yd(e){return e instanceof Array?e:[e]}o(yd,"getExpectedValues");function Hs(e){K(e,Hs,this);const t=o(()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),"isValidInput"),r=o(()=>Us(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked")),"isValidAriaElement");if(!t()&&!r())return{pass:!1,message:o(()=>`only inputs with type="checkbox" or type="radio" or elements with ${vd()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`,"message")};const n=o(()=>t()?e.checked:e.getAttribute("aria-checked")==="true","isChecked");return{pass:n(),message:o(()=>{const i=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${i} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
41
+ `)},"message")}}o(Hs,"toBeChecked");function vd(){return zc(gd().map(e=>`role="${e}"`),{lastWordConnector:" or "})}o(vd,"supportedRolesSentence");function gd(){return bs.roles.keys().filter(Us)}o(gd,"supportedRoles");function Us(e){return bs.roles.get(e)?.props["aria-checked"]!==void 0}o(Us,"roleSupportsChecked");function zs(e){K(e,zs,this);const t=o(()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox","isValidInput"),r=o(()=>e.getAttribute("role")==="checkbox","isValidAriaElement");if(!t()&&!r())return{pass:!1,message:o(()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead',"message")};const n=o(()=>{const i=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||i},"isPartiallyChecked");return{pass:n(),message:o(()=>{const i=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${i} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
42
+ `)},"message")}}o(zs,"toBePartiallyChecked");function Ws(e,t){ln("toHaveDescription","Please use toHaveAccessibleDescription."),K(e,Ws,this);const r=t!==void 0,i=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean);let a="";if(i.length>0){const s=e.ownerDocument,l=i.map(d=>s.getElementById(d)).filter(Boolean);a=un(l.map(d=>d.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(a):this.equals(a,t):!!a,message:o(()=>{const s=this.isNot?"not to":"to";return ie(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${s} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(a))},"message")}}o(Ws,"toHaveDescription");function Gs(e,t){if(ln("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),K(e,Gs,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){const s=this.isNot?".not":"";return{pass:!1,message:o(()=>ie(this,this.utils.matcherHint(`${s}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",e.hasAttribute("aria-invalid")?`aria-invalid="${e.getAttribute("aria-invalid")}"`:this.utils.printReceived("")),"message")}}const r=t!==void 0,i=(e.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean);let a="";if(i.length>0){const s=e.ownerDocument,l=i.map(d=>s.getElementById(d)).filter(Boolean);a=un(l.map(d=>d.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(a):this.equals(a,t):!!a,message:o(()=>{const s=this.isNot?"not to":"to";return ie(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${s} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(a))},"message")}}o(Gs,"toHaveErrorMessage");function Ed(e){const t=e.ownerDocument.getSelection();if(["input","textarea"].includes(e.tagName.toLowerCase()))return["radio","checkbox"].includes(e.type)?"":e.value.toString().substring(e.selectionStart,e.selectionEnd);if(t.anchorNode===null||t.focusNode===null)return"";const r=t.getRangeAt(0),n=e.ownerDocument.createRange();if(t.containsNode(e,!1))n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n);else if(!(e.contains(t.anchorNode)&&e.contains(t.focusNode))){const a=e===r.startContainer||e.contains(r.startContainer),s=e===r.endContainer||e.contains(r.endContainer);t.removeAllRanges(),(a||s)&&(n.selectNodeContents(e),a&&n.setStart(r.startContainer,r.startOffset),s&&n.setEnd(r.endContainer,r.endOffset),t.addRange(n))}const i=t.toString();return t.removeAllRanges(),t.addRange(r),i}o(Ed,"getSelection");function Ks(e,t){K(e,Ks,this);const r=t!==void 0;if(r&&typeof t!="string")throw new Error("expected selection must be a string or undefined");const n=Ed(e);return{pass:r?Ho(n,t):!!n,message:o(()=>{const i=this.isNot?"not to":"to",a=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveSelection`,"element",t);return ie(this,a,`Expected the element ${i} have selection`,r?t:"(any)","Received",n)},"message")}}o(Ks,"toHaveSelection");function Js(e){K(e,Js,this);const t=(e.getAttribute("role")||"").split(" ").map(s=>s.trim()),r=e.tagName.toLowerCase()==="button"||e.tagName.toLowerCase()==="input"&&e.type==="button"||t.includes("button"),n=e.getAttribute("aria-pressed");return!r||!(n==="true"||n==="false")?{pass:!1,message:o(()=>'Only button or input with type="button" or element with role="button" and a valid aria-pressed attribute can be used with .toBePressed()',"message")}:{pass:r&&n==="true",message:o(()=>{const s=this.utils.matcherHint(`${this.isNot?".not":""}.toBePressed`,"element","");return ie(this,s,"Expected element to have",`aria-pressed="${this.isNot?"false":"true"}"`,"Received",`aria-pressed="${n}"`)},"message")}}o(Js,"toBePressed");function Xs(e){K(e,Xs,this);const t=(e.getAttribute("role")||"").split(" ").map(s=>s.trim()),r=e.tagName.toLowerCase()==="button"||e.tagName.toLowerCase()==="input"&&e.type==="button"||t.includes("button"),n=e.getAttribute("aria-pressed");return!r||!(n==="true"||n==="false"||n==="mixed")?{pass:!1,message:o(()=>'Only button or input with type="button" or element with role="button" and a valid aria-pressed attribute can be used with .toBePartiallyPressed()',"message")}:{pass:r&&n==="mixed",message:o(()=>{const s=this.isNot?"not to":"to",l=this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyPressed`,"element","");return ie(this,l,`Expected element ${s} have`,'aria-pressed="mixed"',"Received",`aria-pressed="${n}"`)},"message")}}o(Xs,"toBePartiallyPressed");var Mw=1,wd=2,_d=4,Iw=8,Nw=16,jw=32,yu={[Mw]:"Node.DOCUMENT_POSITION_DISCONNECTED",[wd]:"Node.DOCUMENT_POSITION_PRECEDING",[_d]:"Node.DOCUMENT_POSITION_FOLLOWING",[Iw]:"Node.DOCUMENT_POSITION_CONTAINS",[Nw]:"Node.DOCUMENT_POSITION_CONTAINED_BY",[jw]:"Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC"};function Cd(e){return e in yu?`${yu[e]} (${e})`:`Unknown document position (${e})`}o(Cd,"makeDocumentPositionErrorString");function Ys(e,t){return function(r,n){K(r,Kn,this),K(n,Kn,this);const i=r.compareDocumentPosition(n);return{pass:i===t,message:o(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.${e}`,"element","secondElement"),"",`Received: ${Cd(i)}`].join(`
43
+ `),"message")}}}o(Ys,"checkToAppear");function Kn(e,t){return Ys("toAppearBefore",_d).apply(this,[e,t])}o(Kn,"toAppearBefore");function Rd(e,t){return Ys("toAppearAfter",wd).apply(this,[e,t])}o(Rd,"toAppearAfter");Oe(Lu(),1);Oe(_a(),1);Oe(Du(),1);Oe($u(),1);var fi,vu;function Td(){if(vu)return fi;vu=1;var e,t,r,n,i,a,s,l,d,u,c,f,p,m,b,_,w,h,C;return p=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu,f=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,e=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu,b=/(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y,c=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y,_=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y,C=/[\t\v\f\ufeff\p{Zs}]+/yu,l=/\r?\n|[\r\u2028\u2029]/y,d=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y,m=/\/\/.*/y,r=/[<>.:={}]|\/(?![\/*])/y,t=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu,n=/(['"])(?:(?!\1)[^])*(\1)?/y,i=/[^<>{}]+/y,h=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,w=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,a=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,s=/^(?:return|throw|yield)$/,u=RegExp(l.source),fi=o(function*(q,{jsx:j=!1}={}){var M,T,R,y,v,N,x,k,D,I,V,L,Q,H;for({length:N}=q,y=0,v="",H=[{tag:"JS"}],M=[],V=0,L=!1;y<N;){switch(k=H[H.length-1],k.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(q[y]==="/"&&(h.test(v)||a.test(v))&&(p.lastIndex=y,x=p.exec(q))){y=p.lastIndex,v=x[0],L=!0,yield{type:"RegularExpressionLiteral",value:x[0],closed:x[1]!==void 0&&x[1]!=="\\"};continue}if(f.lastIndex=y,x=f.exec(q)){switch(Q=x[0],D=f.lastIndex,I=Q,Q){case"(":v==="?NonExpressionParenKeyword"&&H.push({tag:"JSNonExpressionParen",nesting:V}),V++,L=!1;break;case")":V--,L=!0,k.tag==="JSNonExpressionParen"&&V===k.nesting&&(H.pop(),I="?NonExpressionParenEnd",L=!1);break;case"{":f.lastIndex=0,R=!w.test(v)&&(h.test(v)||a.test(v)),M.push(R),L=!1;break;case"}":switch(k.tag){case"InterpolationInTemplate":if(M.length===k.nesting){_.lastIndex=y,x=_.exec(q),y=_.lastIndex,v=x[0],x[1]==="${"?(v="?InterpolationInTemplate",L=!1,yield{type:"TemplateMiddle",value:x[0]}):(H.pop(),L=!0,yield{type:"TemplateTail",value:x[0],closed:x[1]==="`"});continue}break;case"InterpolationInJSX":if(M.length===k.nesting){H.pop(),y+=1,v="}",yield{type:"JSXPunctuator",value:"}"};continue}}L=M.pop(),I=L?"?ExpressionBraceEnd":"}";break;case"]":L=!0;break;case"++":case"--":I=L?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(j&&(h.test(v)||a.test(v))){H.push({tag:"JSXTag"}),y+=1,v="<",yield{type:"JSXPunctuator",value:Q};continue}L=!1;break;default:L=!1}y=D,v=I,yield{type:"Punctuator",value:Q};continue}if(e.lastIndex=y,x=e.exec(q)){switch(y=e.lastIndex,I=x[0],x[0]){case"for":case"if":case"while":case"with":v!=="."&&v!=="?."&&(I="?NonExpressionParenKeyword")}v=I,L=!a.test(x[0]),yield{type:x[1]==="#"?"PrivateIdentifier":"IdentifierName",value:x[0]};continue}if(b.lastIndex=y,x=b.exec(q)){y=b.lastIndex,v=x[0],L=!0,yield{type:"StringLiteral",value:x[0],closed:x[2]!==void 0};continue}if(c.lastIndex=y,x=c.exec(q)){y=c.lastIndex,v=x[0],L=!0,yield{type:"NumericLiteral",value:x[0]};continue}if(_.lastIndex=y,x=_.exec(q)){y=_.lastIndex,v=x[0],x[1]==="${"?(v="?InterpolationInTemplate",H.push({tag:"InterpolationInTemplate",nesting:M.length}),L=!1,yield{type:"TemplateHead",value:x[0]}):(L=!0,yield{type:"NoSubstitutionTemplate",value:x[0],closed:x[1]==="`"});continue}break;case"JSXTag":case"JSXTagEnd":if(r.lastIndex=y,x=r.exec(q)){switch(y=r.lastIndex,I=x[0],x[0]){case"<":H.push({tag:"JSXTag"});break;case">":H.pop(),v==="/"||k.tag==="JSXTagEnd"?(I="?JSX",L=!0):H.push({tag:"JSXChildren"});break;case"{":H.push({tag:"InterpolationInJSX",nesting:M.length}),I="?InterpolationInJSX",L=!1;break;case"/":v==="<"&&(H.pop(),H[H.length-1].tag==="JSXChildren"&&H.pop(),H.push({tag:"JSXTagEnd"}))}v=I,yield{type:"JSXPunctuator",value:x[0]};continue}if(t.lastIndex=y,x=t.exec(q)){y=t.lastIndex,v=x[0],yield{type:"JSXIdentifier",value:x[0]};continue}if(n.lastIndex=y,x=n.exec(q)){y=n.lastIndex,v=x[0],yield{type:"JSXString",value:x[0],closed:x[2]!==void 0};continue}break;case"JSXChildren":if(i.lastIndex=y,x=i.exec(q)){y=i.lastIndex,v=x[0],yield{type:"JSXText",value:x[0]};continue}switch(q[y]){case"<":H.push({tag:"JSXTag"}),y++,v="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":H.push({tag:"InterpolationInJSX",nesting:M.length}),y++,v="?InterpolationInJSX",L=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if(C.lastIndex=y,x=C.exec(q)){y=C.lastIndex,yield{type:"WhiteSpace",value:x[0]};continue}if(l.lastIndex=y,x=l.exec(q)){y=l.lastIndex,L=!1,s.test(v)&&(v="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:x[0]};continue}if(d.lastIndex=y,x=d.exec(q)){y=d.lastIndex,u.test(x[0])&&(L=!1,s.test(v)&&(v="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:x[0],closed:x[1]!==void 0};continue}if(m.lastIndex=y,x=m.exec(q)){y=m.lastIndex,L=!1,yield{type:"SingleLineComment",value:x[0]};continue}T=String.fromCodePoint(q.codePointAt(y)),y+=T.length,v=T,L=!1,yield{type:k.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:T}}},"jsTokens_1"),fi}o(Td,"requireJsTokens");var kw=Td();ky(kw);var Pd={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"]};new Set(Pd.keyword);new Set(Pd.strict);function Sr(e,t){if(!e)throw new Error(t)}o(Sr,"S");function Rt(e,t){return typeof t===e}o(Rt,"f");function qd(e){return e instanceof Promise}o(qd,"w");function Zt(e,t,r){Object.defineProperty(e,t,r)}o(Zt,"u");function qt(e,t,r){Zt(e,t,{value:r,configurable:!0,writable:!0})}o(qt,"l");var mt=Symbol.for("tinyspy:spy"),Bw=new Set,Dw=o(e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},"h"),Lw=o(e=>(Zt(e,mt,{value:{reset:o(()=>Dw(e[mt]),"reset")}}),e[mt]),"k"),Si=o(e=>e[mt]||Lw(e),"T");function Sd(e){Sr(Rt("function",e)||Rt("undefined",e),"cannot spy on a non-function value");let t=o(function(...n){let i=Si(t);i.called=!0,i.callCount++,i.calls.push(n);let a=i.next.shift();if(a){i.results.push(a);let[c,f]=a;if(c==="ok")return f;throw f}let s,l="ok",d=i.results.length;if(i.impl)try{new.target?s=Reflect.construct(i.impl,n,new.target):s=i.impl.apply(this,n),l="ok"}catch(c){throw s=c,l="error",i.results.push([l,c]),c}let u=[l,s];return qd(s)&&s.then(c=>i.resolves[d]=["ok",c],c=>i.resolves[d]=["error",c]),i.results.push(u),s},"t");qt(t,"_isMockFunction",!0),qt(t,"length",e?e.length:0),qt(t,"name",e&&e.name||"spy");let r=Si(t);return r.reset(),r.impl=e,t}o(Sd,"R");function xd(e){return!!e&&e._isMockFunction===!0}o(xd,"v");var Ad=o((e,t)=>{let r=Object.getOwnPropertyDescriptor(e,t);if(r)return[e,r];let n=Object.getPrototypeOf(e);for(;n!==null;){let i=Object.getOwnPropertyDescriptor(n,t);if(i)return[n,i];n=Object.getPrototypeOf(n)}},"b"),gu=o((e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)},"P");function Qs(e,t,r){Sr(!Rt("undefined",e),"spyOn could not find an object to spy upon"),Sr(Rt("object",e)||Rt("function",e),"cannot spyOn on a primitive value");let[n,i]=(()=>{if(!Rt("object",t))return[t,"value"];if("getter"in t&&"setter"in t)throw new Error("cannot spy on both getter and setter");if("getter"in t)return[t.getter,"get"];if("setter"in t)return[t.setter,"set"];throw new Error("specify getter or setter to spy on")})(),[a,s]=Ad(e,n)||[];Sr(s||n in e,`${String(n)} does not exist`);let l=!1;i==="value"&&s&&!s.value&&s.get&&(i="get",l=!0,r=s.get());let d;s?d=s[i]:i!=="value"?d=o(()=>e[n],"p"):d=e[n],d&&Id(d)&&(d=d[mt].getOriginal());let u=o(m=>{let{value:b,..._}=s||{configurable:!0,writable:!0};i!=="value"&&delete _.writable,_[i]=m,Zt(e,n,_)},"g"),c=o(()=>{a!==e?Reflect.deleteProperty(e,n):s&&!d?Zt(e,n,s):u(d)},"a");r||(r=d);let f=Md(Sd(r),r);i==="value"&&gu(f,d);let p=f[mt];return qt(p,"restore",c),qt(p,"getOriginal",()=>l?d():d),qt(p,"willCall",m=>(p.impl=m,f)),u(l?()=>(gu(f,r),f):f),Bw.add(f),f}o(Qs,"M");var $w=new Set(["length","name","prototype"]);function Od(e){let t=new Set,r={};for(;e&&e!==Object.prototype&&e!==Function.prototype;){let n=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(let i of n)r[i]||$w.has(i)||(t.add(i),r[i]=Object.getOwnPropertyDescriptor(e,i));e=Object.getPrototypeOf(e)}return{properties:t,descriptors:r}}o(Od,"D");function Md(e,t){if(!t||mt in t)return e;let{properties:r,descriptors:n}=Od(t);for(let i of r){let a=n[i];Ad(e,i)||Zt(e,i,a)}return e}o(Md,"E");function Id(e){return xd(e)&&"getOriginal"in e[mt]}o(Id,"j");var Uo=new Set;function xr(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}o(xr,"isMockFunction");function Fw(e,t,r){const i=r?{[{get:"getter",set:"setter"}[r]]:t}:t;let a;const s=Nd(e,t),l=s&&s[r||"value"];xr(l)&&(a=l.mock._state());try{const d=Qs(e,i),u=Zs(d);return a&&u.mock._state(a),u}catch(d){throw d instanceof TypeError&&Symbol.toStringTag&&e[Symbol.toStringTag]==="Module"&&(d.message.includes("Cannot redefine property")||d.message.includes("Cannot replace module namespace")||d.message.includes("can't redefine non-configurable property"))?new TypeError(`Cannot spy on export "${String(i)}". Module namespace is not configurable in ESM. See: https://vitest.dev/guide/browser/#limitations`,{cause:d}):d}}o(Fw,"spyOn");var Vw=0;function Zs(e){const t=e;let r,n=[],i=!1,a=[],s=[],l=[];const d=Si(e),u={get calls(){return d.calls},get contexts(){return s},get instances(){return a},get invocationCallOrder(){return l},get results(){return d.results.map(([m,b])=>({type:m==="error"?"throw":"return",value:b}))},get settledResults(){return d.resolves.map(([m,b])=>({type:m==="error"?"rejected":"fulfilled",value:b}))},get lastCall(){return d.calls[d.calls.length-1]},_state(m){return m&&(r=m.implementation,n=m.onceImplementations,i=m.implementationChangedTemporarily),{implementation:r,onceImplementations:n,implementationChangedTemporarily:i}}};function c(...m){return a.push(this),s.push(this),l.push(++Vw),(i?r:n.shift()||r||d.getOriginal()||(()=>{})).apply(this,m)}o(c,"mockCall");let f=t.name;t.getMockName=()=>f||"vi.fn()",t.mockName=m=>(f=m,t),t.mockClear=()=>(d.reset(),a=[],s=[],l=[],t),t.mockReset=()=>(t.mockClear(),r=void 0,n=[],t),t.mockRestore=()=>(t.mockReset(),d.restore(),t),Symbol.dispose&&(t[Symbol.dispose]=()=>t.mockRestore()),t.getMockImplementation=()=>i?r:n.at(0)||r,t.mockImplementation=m=>(r=m,d.willCall(c),t),t.mockImplementationOnce=m=>(n.push(m),t);function p(m,b){const _=r;r=m,d.willCall(c),i=!0;const w=o(()=>{r=_,i=!1},"reset"),h=b();return typeof h=="object"&&h&&typeof h.then=="function"?h.then(()=>(w(),t)):(w(),t)}return o(p,"withImplementation"),t.withImplementation=p,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=m=>t.mockImplementation(()=>m),t.mockReturnValueOnce=m=>t.mockImplementationOnce(()=>m),t.mockResolvedValue=m=>t.mockImplementation(()=>Promise.resolve(m)),t.mockResolvedValueOnce=m=>t.mockImplementationOnce(()=>Promise.resolve(m)),t.mockRejectedValue=m=>t.mockImplementation(()=>Promise.reject(m)),t.mockRejectedValueOnce=m=>t.mockImplementationOnce(()=>Promise.reject(m)),Object.defineProperty(t,"mock",{get:o(()=>u,"get")}),d.willCall(c),Uo.add(t),t}o(Zs,"enhanceSpy");function xi(e){const t=Zs(Qs({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}o(xi,"fn");function Nd(e,t){const r=Object.getOwnPropertyDescriptor(e,t);if(r)return r;let n=Object.getPrototypeOf(e);for(;n!==null;){const i=Object.getOwnPropertyDescriptor(n,t);if(i)return i;n=Object.getPrototypeOf(n)}}o(Nd,"getDescriptor");var Fr=Symbol.for("matchers-object"),Vr=Symbol.for("$$jest-matchers-object-storybook"),el=Symbol.for("expect-global"),Ai=Symbol.for("asymmetric-matchers-object"),Hw={toSatisfy(e,t,r){const{printReceived:n,printExpected:i,matcherHint:a}=this.utils,s=t(e);return{pass:s,message:o(()=>s?`${a(".not.toSatisfy","received","")}
44
+
45
+ Expected value to not satisfy:
46
+ ${r||i(t)}
47
+ Received:
48
+ ${n(e)}`:`${a(".toSatisfy","received","")}
49
+
50
+ Expected value to satisfy:
51
+ ${r||i(t)}
52
+
53
+ Received:
54
+ ${n(e)}`,"message")}},toBeOneOf(e,t){const{equals:r,customTesters:n}=this,{printReceived:i,printExpected:a,matcherHint:s}=this.utils;if(!Array.isArray(t))throw new TypeError(`You must provide an array to ${s(".toBeOneOf")}, not '${typeof t}'.`);const l=t.length===0||t.some(d=>r(d,e,n));return{pass:l,message:o(()=>l?`${s(".not.toBeOneOf","received","")}
55
+
56
+ Expected value to not be one of:
57
+ ${a(t)}
58
+ Received:
59
+ ${i(e)}`:`${s(".toBeOneOf","received","")}
60
+
61
+ Expected value to be one of:
62
+ ${a(t)}
63
+
64
+ Received:
65
+ ${i(e)}`,"message")}}},Jn=_e.green,tl=_e.red,Uw=_e.inverse,zw=_e.bold,lt=_e.dim;function jd(e,t="received",r="expected",n={}){const{comment:i="",isDirectExpectCall:a=!1,isNot:s=!1,promise:l="",secondArgument:d="",expectedColor:u=Jn,receivedColor:c=tl,secondArgumentColor:f=Jn}=n;let p="",m="expect";return!a&&t!==""&&(p+=lt(`${m}(`)+c(t),m=")"),l!==""&&(p+=lt(`${m}.`)+l,m=""),s&&(p+=`${lt(`${m}.`)}not`,m=""),e.includes(".")?m+=e:(p+=lt(`${m}.`)+e,m=""),r===""?m+="()":(p+=lt(`${m}(`)+u(r),d&&(p+=lt(", ")+f(d)),m=")"),i!==""&&(m+=` // ${i}`),m!==""&&(p+=lt(m)),p}o(jd,"matcherHint");var Ww="·";function rl(e){return e.replace(/\s+$/gm,t=>Ww.repeat(t.length))}o(rl,"replaceTrailingSpaces");function kd(e){return tl(rl(Et(e)))}o(kd,"printReceived");function Bd(e){return Jn(rl(Et(e)))}o(Bd,"printExpected");function nl(){return{EXPECTED_COLOR:Jn,RECEIVED_COLOR:tl,INVERTED_COLOR:Uw,BOLD_WEIGHT:zw,DIM_COLOR:lt,diff:Jr,matcherHint:jd,printReceived:kd,printExpected:Bd,printDiffOrStringify:By,printWithType:Dd}}o(nl,"getMatcherUtils");function Dd(e,t,r){const n=Dy(t),i=n!=="null"&&n!=="undefined"?`${e} has type: ${n}
66
+ `:"",a=`${e} has value: ${r(t)}`;return i+a}o(Dd,"printWithType");function zo(){return globalThis[Vr].customEqualityTesters}o(zo,"getCustomEqualityTesters");function X(e,t,r,n){return r=r||[],Wt(e,t,[],[],r,n?ol:Fd)}o(X,"equals");function Oi(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&Se("Function",e.asymmetricMatch)}o(Oi,"isAsymmetric");function Ld(e,t){const r=Oi(e),n=Oi(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}o(Ld,"asymmetricMatch");function Wt(e,t,r,n,i,a){let s=!0;const l=Ld(e,t);if(l!==void 0)return l;const d={equals:X};for(let b=0;b<i.length;b++){const _=i[b].call(d,e,t,i);if(_!==void 0)return _}if(typeof URL=="function"&&e instanceof URL&&t instanceof URL)return e.href===t.href;if(Object.is(e,t))return!0;if(e===null||t===null)return e===t;const u=Object.prototype.toString.call(e);if(u!==Object.prototype.toString.call(t))return!1;switch(u){case"[object Boolean]":case"[object String]":case"[object Number]":return typeof e!=typeof t?!1:typeof e!="object"&&typeof t!="object"?Object.is(e,t):Object.is(e.valueOf(),t.valueOf());case"[object Date]":{const b=+e,_=+t;return b===_||Number.isNaN(b)&&Number.isNaN(_)}case"[object RegExp]":return e.source===t.source&&e.flags===t.flags;case"[object Temporal.Instant]":case"[object Temporal.ZonedDateTime]":case"[object Temporal.PlainDateTime]":case"[object Temporal.PlainDate]":case"[object Temporal.PlainTime]":case"[object Temporal.PlainYearMonth]":case"[object Temporal.PlainMonthDay]":return e.equals(t);case"[object Temporal.Duration]":return e.toString()===t.toString()}if(typeof e!="object"||typeof t!="object")return!1;if(Ii(e)&&Ii(t))return e.isEqualNode(t);let c=r.length;for(;c--;){if(r[c]===e)return n[c]===t;if(n[c]===t)return!1}if(r.push(e),n.push(t),u==="[object Array]"&&e.length!==t.length)return!1;if(e instanceof Error&&t instanceof Error)try{return $d(e,t,r,n,i,a)}finally{r.pop(),n.pop()}const f=Mi(e,a);let p,m=f.length;if(Mi(t,a).length!==m)return!1;for(;m--;)if(p=f[m],s=a(t,p)&&Wt(e[p],t[p],r,n,i,a),!s)return!1;return r.pop(),n.pop(),s}o(Wt,"eq");function $d(e,t,r,n,i,a){let s=Object.getPrototypeOf(e)===Object.getPrototypeOf(t)&&e.name===t.name&&e.message===t.message;return typeof t.cause<"u"&&s&&(s=Wt(e.cause,t.cause,r,n,i,a)),e instanceof AggregateError&&t instanceof AggregateError&&s&&(s=Wt(e.errors,t.errors,r,n,i,a)),s&&(s=Wt({...e},{...t},r,n,i,a)),s}o($d,"isErrorEqual");function Mi(e,t){const r=[];for(const n in e)t(e,n)&&r.push(n);return r.concat(Object.getOwnPropertySymbols(e).filter(n=>Object.getOwnPropertyDescriptor(e,n).enumerable))}o(Mi,"keys");function Fd(e,t){return ol(e,t)&&e[t]!==void 0}o(Fd,"hasDefinedKey");function ol(e,t){return Object.prototype.hasOwnProperty.call(e,t)}o(ol,"hasKey");function Se(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}o(Se,"isA");function Ii(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"&&"nodeName"in e&&typeof e.nodeName=="string"&&"isEqualNode"in e&&typeof e.isEqualNode=="function"}o(Ii,"isDomNode");var Vd="@@__IMMUTABLE_KEYED__@@",Hd="@@__IMMUTABLE_SET__@@",Gw="@@__IMMUTABLE_LIST__@@",Wo="@@__IMMUTABLE_ORDERED__@@",Kw="@@__IMMUTABLE_RECORD__@@";function Ud(e){return!!(e&&e[Vd]&&!e[Wo])}o(Ud,"isImmutableUnorderedKeyed");function zd(e){return!!(e&&e[Hd]&&!e[Wo])}o(zd,"isImmutableUnorderedSet");function cn(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}o(cn,"isObjectLiteral");function Wd(e){return!!(e&&cn(e)&&e[Gw])}o(Wd,"isImmutableList");function Gd(e){return!!(e&&cn(e)&&e[Vd]&&e[Wo])}o(Gd,"isImmutableOrderedKeyed");function Kd(e){return!!(e&&cn(e)&&e[Hd]&&e[Wo])}o(Kd,"isImmutableOrderedSet");function Jd(e){return!!(e&&cn(e)&&e[Kw])}o(Jd,"isImmutableRecord");var Xd=Symbol.iterator;function Ni(e){return!!(e!=null&&e[Xd])}o(Ni,"hasIterator");function we(e,t,r=[],n=[],i=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!Ni(e)||!Ni(t))return;if(e.constructor!==t.constructor)return!1;let a=n.length;for(;a--;)if(n[a]===e)return i[a]===t;n.push(e),i.push(t);const s=[...r.filter(u=>u!==we),l];function l(u,c){return we(u,c,[...r],[...n],[...i])}if(o(l,"iterableEqualityWithStack"),e.size!==void 0){if(e.size!==t.size)return!1;if(Se("Set",e)||zd(e)){let u=!0;for(const c of e)if(!t.has(c)){let f=!1;for(const p of t)X(c,p,s)===!0&&(f=!0);if(f===!1){u=!1;break}}return n.pop(),i.pop(),u}else if(Se("Map",e)||Ud(e)){let u=!0;for(const c of e)if(!t.has(c[0])||!X(c[1],t.get(c[0]),s)){let f=!1;for(const p of t){const m=X(c[0],p[0],s);let b=!1;m===!0&&(b=X(c[1],p[1],s)),b===!0&&(f=!0)}if(f===!1){u=!1;break}}return n.pop(),i.pop(),u}}const d=t[Xd]();for(const u of e){const c=d.next();if(c.done||!X(u,c.value,s))return!1}if(!d.next().done)return!1;if(!Wd(e)&&!Gd(e)&&!Kd(e)&&!Jd(e)){const u=Object.entries(e),c=Object.entries(t);if(!X(u,c,s))return!1}return n.pop(),i.pop(),!0}o(we,"iterableEquality");function Go(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||Go(Object.getPrototypeOf(e),t)}o(Go,"hasPropertyInObject");function Yd(e){return hn(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}o(Yd,"isObjectWithKeys");function pr(e,t,r=[]){const n=r.filter(a=>a!==pr),i=o((a=new WeakMap)=>(s,l)=>{if(Yd(l))return Object.keys(l).every(d=>{if(l[d]!=null&&typeof l[d]=="object"){if(a.has(l[d]))return X(s[d],l[d],n);a.set(l[d],!0)}const u=s!=null&&Go(s,d)&&X(s[d],l[d],[...n,i(a)]);return a.delete(l[d]),u})},"subsetEqualityWithContext");return i()(e,t)}o(pr,"subsetEquality");function ji(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}o(ji,"typeEquality");function ki(e,t){let r=e,n=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),n=new DataView(t)}catch{return}}if(r.byteLength!==n.byteLength)return!1;for(let i=0;i<r.byteLength;i++)if(r.getUint8(i)!==n.getUint8(i))return!1;return!0}o(ki,"arrayBufferEquality");function Xn(e,t,r=[]){if(!Array.isArray(e)||!Array.isArray(t))return;const n=Object.keys(e),i=Object.keys(t),a=r.filter(s=>s!==Xn);return X(e,t,a,!0)&&X(n,i)}o(Xn,"sparseArrayEquality");function Qd(e,t="#{this}",r="#{exp}"){const n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n}
67
+
68
+ If it should pass with deep equality, replace "toBe" with "${e}"
69
+
70
+ Expected: ${t}
71
+ Received: serializes to the same string
72
+ `:n}o(Qd,"generateToBeMessage");function Zd(e,t){return`${t} ${e}${t===1?"":"s"}`}o(Zd,"pluralize");function bn(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))===null||r===void 0?void 0:r.enumerable})]}o(bn,"getObjectKeys");function ef(e,t,r){let n=0;const i=o((a=new WeakMap)=>(s,l)=>{if(Array.isArray(s)){if(Array.isArray(l)&&l.length===s.length)return l.map((d,u)=>i(a)(s[u],d))}else{if(s instanceof Date)return s;if(hn(s)&&hn(l)){if(X(s,l,[...r,we,pr]))return l;const d={};a.set(s,d),typeof s.constructor=="function"&&typeof s.constructor.name=="string"&&Object.defineProperty(d,"constructor",{enumerable:!1,value:s.constructor});for(const u of bn(s))Go(l,u)?d[u]=a.has(s[u])?a.get(s[u]):i(a)(s[u],l[u]):a.has(s[u])||(n+=1,hn(s[u])&&(n+=bn(s[u]).length),i(a)(s[u],l[u]));if(bn(d).length>0)return d}}return s},"getObjectSubsetWithContext");return{subset:i()(e,t),stripped:n}}o(ef,"getObjectSubset");if(!Object.prototype.hasOwnProperty.call(globalThis,Fr)){const e=new WeakMap;Object.defineProperty(globalThis,Fr,{get:o(()=>e,"get")})}if(!Object.prototype.hasOwnProperty.call(globalThis,Vr)){const e=Object.create(null),t=[];Object.defineProperty(globalThis,Vr,{configurable:!0,get:o(()=>({state:globalThis[Fr].get(globalThis[el]),matchers:e,customEqualityTesters:t}),"get")})}if(!Object.prototype.hasOwnProperty.call(globalThis,Ai)){const e=Object.create(null);Object.defineProperty(globalThis,Ai,{get:o(()=>e,"get")})}function Hr(e){return globalThis[Fr].get(e)}o(Hr,"getState");function yn(e,t){const r=globalThis[Fr],n=r.get(t)||{},i=Object.defineProperties(n,{...Object.getOwnPropertyDescriptors(n),...Object.getOwnPropertyDescriptors(e)});r.set(t,i)}o(yn,"setState");var tf=class{$$typeof=Symbol.for("jest.asymmetricMatcher");constructor(t,r=!1){this.sample=t,this.inverse=r}getMatcherContext(t){return{...Hr(t||globalThis[el]),equals:X,isNot:this.inverse,customTesters:zo(),utils:{...nl(),diff:Jr,stringify:Et,iterableEquality:we,subsetEquality:pr}}}};o(tf,"AsymmetricMatcher");var ot=tf;ot.prototype[Symbol.for("chai/inspect")]=function(e){const t=Et(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`};var rf=class extends ot{constructor(t,r=!1){if(!Se("String",t))throw new Error("Expected is not a string");super(t,r)}asymmetricMatch(t){const r=Se("String",t)&&t.includes(this.sample);return this.inverse?!r:r}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}};o(rf,"StringContaining");var Eu=rf,nf=class extends ot{asymmetricMatch(t){return t!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}};o(nf,"Anything");var Jw=nf,of=class extends ot{constructor(t,r=!1){super(t,r)}getPrototype(t){return Object.getPrototypeOf?Object.getPrototypeOf(t):t.constructor.prototype===t?null:t.constructor.prototype}hasProperty(t,r){return t?Object.prototype.hasOwnProperty.call(t,r)?!0:this.hasProperty(this.getPrototype(t),r):!1}asymmetricMatch(t){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let r=!0;const n=this.getMatcherContext();for(const i in this.sample)if(!this.hasProperty(t,i)||!X(this.sample[i],t[i],n.customTesters)){r=!1;break}return this.inverse?!r:r}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}};o(of,"ObjectContaining");var wu=of,af=class extends ot{constructor(t,r=!1){super(t,r)}asymmetricMatch(t){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);const r=this.getMatcherContext(),n=this.sample.length===0||Array.isArray(t)&&this.sample.every(i=>t.some(a=>X(i,a,r.customTesters)));return this.inverse?!n:n}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}};o(af,"ArrayContaining");var _u=af,sf=class extends ot{constructor(t){if(typeof t>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(t)}fnNameFor(t){if(t.name)return t.name;const n=Function.prototype.toString.call(t).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return n?n[1]:"<anonymous>"}asymmetricMatch(t){return this.sample===String?typeof t=="string"||t instanceof String:this.sample===Number?typeof t=="number"||t instanceof Number:this.sample===Function?typeof t=="function"||typeof t=="function":this.sample===Boolean?typeof t=="boolean"||t instanceof Boolean:this.sample===BigInt?typeof t=="bigint"||t instanceof BigInt:this.sample===Symbol?typeof t=="symbol"||t instanceof Symbol:this.sample===Object?typeof t=="object":t instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}};o(sf,"Any");var Xw=sf,lf=class extends ot{constructor(t,r=!1){if(!Se("String",t)&&!Se("RegExp",t))throw new Error("Expected is not a String or a RegExp");super(new RegExp(t),r)}asymmetricMatch(t){const r=Se("String",t)&&this.sample.test(t);return this.inverse?!r:r}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}};o(lf,"StringMatching");var Cu=lf,uf=class extends ot{precision;constructor(t,r=2,n=!1){if(!Se("Number",t))throw new Error("Expected is not a Number");if(!Se("Number",r))throw new Error("Precision is not a Number");super(t),this.inverse=n,this.precision=r}asymmetricMatch(t){if(!Se("Number",t))return!1;let r=!1;return t===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||t===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?r=!0:r=Math.abs(this.sample-t)<10**-this.precision/2,this.inverse?!r:r}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${Zd("digit",this.precision)})`].join(" ")}};o(uf,"CloseTo");var Ru=uf,Yw=o((e,t)=>{t.addMethod(e.expect,"anything",()=>new Jw),t.addMethod(e.expect,"any",r=>new Xw(r)),t.addMethod(e.expect,"stringContaining",r=>new Eu(r)),t.addMethod(e.expect,"objectContaining",r=>new wu(r)),t.addMethod(e.expect,"arrayContaining",r=>new _u(r)),t.addMethod(e.expect,"stringMatching",r=>new Cu(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new Ru(r,n)),e.expect.not={stringContaining:o(r=>new Eu(r,!0),"stringContaining"),objectContaining:o(r=>new wu(r,!0),"objectContaining"),arrayContaining:o(r=>new _u(r,!0),"arrayContaining"),stringMatching:o(r=>new Cu(r,!0),"stringMatching"),closeTo:o((r,n)=>new Ru(r,n,!0),"closeTo")}},"JestAsymmetricMatchers");function Bi(e,t,r){const n=e.flag(t,"negate")?"not.":"",i=`${e.flag(t,"_name")}(${r?"expected":""})`,a=e.flag(t,"promise");return`expect(actual)${a?`.${a}`:""}.${n}${i}`}o(Bi,"createAssertionMessage");function Di(e,t,r,n){const i=e;if(i&&t instanceof Promise){t=t.finally(()=>{if(!i.promises)return;const s=i.promises.indexOf(t);s!==-1&&i.promises.splice(s,1)}),i.promises||(i.promises=[]),i.promises.push(t);let a=!1;return i.onFinished??(i.onFinished=[]),i.onFinished.push(()=>{if(!a){var s;const d=(((s=globalThis.__vitest_worker__)===null||s===void 0?void 0:s.onFilterStackTrace)||(u=>u||""))(n.stack);console.warn([`Promise returned by \`${r}\` was not awaited. `,"Vitest currently auto-awaits hanging assertions at the end of the test, but this will cause the test to fail in Vitest 3. ",`Please remember to await the assertion.
73
+ `,d].join(""))}}),{then(s,l){return a=!0,t.then(s,l)},catch(s){return t.catch(s)},finally(s){return t.finally(s)},[Symbol.toStringTag]:"Promise"}}return t}o(Di,"recordAsyncExpect");function Li(e,t){var r;e.result||(e.result={state:"fail"}),e.result.state="fail",(r=e.result).errors||(r.errors=[]),e.result.errors.push(Ly(t))}o(Li,"handleTestError");function il(e,t,r){return function(...n){if(t!=="withTest"&&e.flag(this,"_name",t),!e.flag(this,"soft"))return r.apply(this,n);const i=e.flag(this,"vitest-test");if(!i)throw new Error("expect.soft() can only be used inside a test");try{const a=r.apply(this,n);return a&&typeof a=="object"&&typeof a.then=="function"?a.then($y,s=>{Li(i,s)}):a}catch(a){Li(i,a)}}}o(il,"wrapAssertion");var Qw=o((e,t)=>{const{AssertionError:r}=e,n=zo();function i(u,c){const f=o(p=>{const m=il(t,p,c);t.addMethod(e.Assertion.prototype,p,m),t.addMethod(globalThis[Vr].matchers,p,m)},"addMethod");Array.isArray(u)?u.forEach(p=>f(p)):f(u)}o(i,"def"),["throw","throws","Throw"].forEach(u=>{t.overwriteMethod(e.Assertion.prototype,u,c=>function(...f){const p=t.flag(this,"promise"),m=t.flag(this,"object"),b=t.flag(this,"negate");if(p==="rejects")t.flag(this,"object",()=>{throw m});else if(p==="resolves"&&typeof m!="function"){if(b)return;{const _=t.flag(this,"message")||"expected promise to throw an error, but it didn't",w={showDiff:!1};throw new r(_,w,t.flag(this,"ssfi"))}}c.apply(this,f)})}),i("withTest",function(u){return t.flag(this,"vitest-test",u),this}),i("toEqual",function(u){const c=t.flag(this,"object"),f=X(c,u,[...n,we]);return this.assert(f,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",u,c)}),i("toStrictEqual",function(u){const c=t.flag(this,"object"),f=X(c,u,[...n,we,ji,Xn,ki],!0);return this.assert(f,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",u,c)}),i("toBe",function(u){const c=this._obj,f=Object.is(c,u);let p="";return f||(X(c,u,[...n,we,ji,Xn,ki],!0)?p="toStrictEqual":X(c,u,[...n,we])&&(p="toEqual")),this.assert(f,Qd(p),"expected #{this} not to be #{exp} // Object.is equality",u,c)}),i("toMatchObject",function(u){const c=this._obj,f=X(c,u,[...n,we,pr]),p=t.flag(this,"negate"),{subset:m,stripped:b}=ef(c,u,n);if(f&&p||!f&&!p){const _=t.getMessage(this,[f,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",u,m,!1]),w=b===0?_:`${_}
74
+ (${b} matching ${b===1?"property":"properties"} omitted from actual)`;throw new r(w,{showDiff:!0,expected:u,actual:m})}}),i("toMatch",function(u){const c=this._obj;if(typeof c!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof c}`);return this.assert(typeof u=="string"?c.includes(u):c.match(u),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",u,c)}),i("toContain",function(u){const c=this._obj;if(typeof Node<"u"&&c instanceof Node){if(!(u instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof u}`);return this.assert(c.contains(u),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",u,c)}if(typeof DOMTokenList<"u"&&c instanceof DOMTokenList){Je(u,"class name",["string"]);const p=t.flag(this,"negate")?c.value.replace(u,"").trim():`${c.value} ${u}`;return this.assert(c.contains(u),`expected "${c.value}" to contain "${u}"`,`expected "${c.value}" not to contain "${u}"`,p,c.value)}return typeof c=="string"&&typeof u=="string"?this.assert(c.includes(u),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",u,c):(c!=null&&typeof c!="string"&&t.flag(this,"object",Array.from(c)),this.contain(u))}),i("toContainEqual",function(u){const c=t.flag(this,"object"),f=Array.from(c).findIndex(p=>X(p,u,n));this.assert(f!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",u)}),i("toBeTruthy",function(){const u=t.flag(this,"object");this.assert(!!u,"expected #{this} to be truthy","expected #{this} to not be truthy",!0,u)}),i("toBeFalsy",function(){const u=t.flag(this,"object");this.assert(!u,"expected #{this} to be falsy","expected #{this} to not be falsy",!1,u)}),i("toBeGreaterThan",function(u){const c=this._obj;return Je(c,"actual",["number","bigint"]),Je(u,"expected",["number","bigint"]),this.assert(c>u,`expected ${c} to be greater than ${u}`,`expected ${c} to be not greater than ${u}`,u,c,!1)}),i("toBeGreaterThanOrEqual",function(u){const c=this._obj;return Je(c,"actual",["number","bigint"]),Je(u,"expected",["number","bigint"]),this.assert(c>=u,`expected ${c} to be greater than or equal to ${u}`,`expected ${c} to be not greater than or equal to ${u}`,u,c,!1)}),i("toBeLessThan",function(u){const c=this._obj;return Je(c,"actual",["number","bigint"]),Je(u,"expected",["number","bigint"]),this.assert(c<u,`expected ${c} to be less than ${u}`,`expected ${c} to be not less than ${u}`,u,c,!1)}),i("toBeLessThanOrEqual",function(u){const c=this._obj;return Je(c,"actual",["number","bigint"]),Je(u,"expected",["number","bigint"]),this.assert(c<=u,`expected ${c} to be less than or equal to ${u}`,`expected ${c} to be not less than or equal to ${u}`,u,c,!1)}),i("toBeNaN",function(){const u=t.flag(this,"object");this.assert(Number.isNaN(u),"expected #{this} to be NaN","expected #{this} not to be NaN",Number.NaN,u)}),i("toBeUndefined",function(){const u=t.flag(this,"object");this.assert(u===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined",void 0,u)}),i("toBeNull",function(){const u=t.flag(this,"object");this.assert(u===null,"expected #{this} to be null","expected #{this} not to be null",null,u)}),i("toBeDefined",function(){const u=t.flag(this,"object");this.assert(typeof u<"u","expected #{this} to be defined","expected #{this} to be undefined",u)}),i("toBeTypeOf",function(u){const c=typeof this._obj,f=u===c;return this.assert(f,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",u,c)}),i("toBeInstanceOf",function(u){return this.instanceOf(u)}),i("toHaveLength",function(u){return this.have.length(u)}),i("toHaveProperty",function(...u){Array.isArray(u[0])&&(u[0]=u[0].map(C=>String(C).replace(/([.[\]])/g,"\\$1")).join("."));const c=this._obj,[f,p]=u,m=o(()=>Object.prototype.hasOwnProperty.call(c,f)?{value:c[f],exists:!0}:t.getPathInfo(c,f),"getValue"),{value:b,exists:_}=m(),w=_&&(u.length===1||X(p,b,n)),h=u.length===1?"":` with value ${t.objDisplay(p)}`;return this.assert(w,`expected #{this} to have property "${f}"${h}`,`expected #{this} to not have property "${f}"${h}`,p,_?b:void 0)}),i("toBeCloseTo",function(u,c=2){const f=this._obj;let p=!1,m=0,b=0;return u===Number.POSITIVE_INFINITY&&f===Number.POSITIVE_INFINITY||u===Number.NEGATIVE_INFINITY&&f===Number.NEGATIVE_INFINITY?p=!0:(m=10**-c/2,b=Math.abs(f-u),p=b<m),this.assert(p,`expected #{this} to be close to #{exp}, received difference is ${b}, but expected ${m}`,`expected #{this} to not be close to #{exp}, received difference is ${b}, but expected ${m}`,u,f,!1)});function a(u){if(!xr(u._obj))throw new TypeError(`${t.inspect(u._obj)} is not a spy or a call to a spy!`)}o(a,"assertIsMock");function s(u){return a(u),u._obj}o(s,"getSpy"),i(["toHaveBeenCalledTimes","toBeCalledTimes"],function(u){const c=s(this),f=c.getMockName(),p=c.mock.calls.length;return this.assert(p===u,`expected "${f}" to be called #{exp} times, but got ${p} times`,`expected "${f}" to not be called #{exp} times`,u,p,!1)}),i("toHaveBeenCalledOnce",function(){const u=s(this),c=u.getMockName(),f=u.mock.calls.length;return this.assert(f===1,`expected "${c}" to be called once, but got ${f} times`,`expected "${c}" to not be called once`,1,f,!1)}),i(["toHaveBeenCalled","toBeCalled"],function(){const u=s(this),c=u.getMockName(),f=u.mock.calls.length,p=f>0,m=t.flag(this,"negate");let b=t.getMessage(this,[p,`expected "${c}" to be called at least once`,`expected "${c}" to not be called at all, but actually been called ${f} times`,!0,p]);if(p&&m&&(b=vn(u,b)),p&&m||!p&&!m)throw new r(b)});function l(u,c){return u.length===c.length&&u.every((f,p)=>X(f,c[p],[...n,we]))}o(l,"equalsArgumentArray"),i(["toHaveBeenCalledWith","toBeCalledWith"],function(...u){const c=s(this),f=c.getMockName(),p=c.mock.calls.some(_=>l(_,u)),m=t.flag(this,"negate"),b=t.getMessage(this,[p,`expected "${f}" to be called with arguments: #{exp}`,`expected "${f}" to not be called with arguments: #{exp}`,u]);if(p&&m||!p&&!m)throw new r(vn(c,b,u))}),i("toHaveBeenCalledExactlyOnceWith",function(...u){const c=s(this),f=c.getMockName(),p=c.mock.calls.length,b=c.mock.calls.some(h=>l(h,u))&&p===1,_=t.flag(this,"negate"),w=t.getMessage(this,[b,`expected "${f}" to be called once with arguments: #{exp}`,`expected "${f}" to not be called once with arguments: #{exp}`,u]);if(b&&_||!b&&!_)throw new r(vn(c,w,u))}),i(["toHaveBeenNthCalledWith","nthCalledWith"],function(u,...c){const f=s(this),p=f.getMockName(),m=f.mock.calls[u-1],b=f.mock.calls.length,_=u<=b;this.assert(m&&l(m,c),`expected ${Gt(u)} "${p}" call to have been called with #{exp}${_?"":`, but called only ${b} times`}`,`expected ${Gt(u)} "${p}" call to not have been called with #{exp}`,c,m,_)}),i(["toHaveBeenLastCalledWith","lastCalledWith"],function(...u){const c=s(this),f=c.getMockName(),p=c.mock.calls[c.mock.calls.length-1];this.assert(p&&l(p,u),`expected last "${f}" call to have been called with #{exp}`,`expected last "${f}" call to not have been called with #{exp}`,u,p)});function d(u,c,f){const p=u.mock.invocationCallOrder,m=c.mock.invocationCallOrder;return p.length===0?!f:m.length===0?!1:p[0]<m[0]}o(d,"isSpyCalledBeforeAnotherSpy"),i(["toHaveBeenCalledBefore"],function(u,c=!0){const f=s(this);if(!xr(u))throw new TypeError(`${t.inspect(u)} is not a spy or a call to a spy`);this.assert(d(f,u,c),`expected "${f.getMockName()}" to have been called before "${u.getMockName()}"`,`expected "${f.getMockName()}" to not have been called before "${u.getMockName()}"`,u,f)}),i(["toHaveBeenCalledAfter"],function(u,c=!0){const f=s(this);if(!xr(u))throw new TypeError(`${t.inspect(u)} is not a spy or a call to a spy`);this.assert(d(u,f,c),`expected "${f.getMockName()}" to have been called after "${u.getMockName()}"`,`expected "${f.getMockName()}" to not have been called after "${u.getMockName()}"`,u,f)}),i(["toThrow","toThrowError"],function(u){if(typeof u=="string"||typeof u>"u"||u instanceof RegExp)return this.throws(u===""?/^$/:u);const c=this._obj,f=t.flag(this,"promise"),p=t.flag(this,"negate");let m=null;if(f==="rejects")m=c;else if(f==="resolves"&&typeof c!="function"){if(p)return;{const b=t.flag(this,"message")||"expected promise to throw an error, but it didn't",_={showDiff:!1};throw new r(b,_,t.flag(this,"ssfi"))}}else{let b=!1;try{c()}catch(_){b=!0,m=_}if(!b&&!p){const _=t.flag(this,"message")||"expected function to throw an error, but it didn't",w={showDiff:!1};throw new r(_,w,t.flag(this,"ssfi"))}}if(typeof u=="function"){const b=u.name||u.prototype.constructor.name;return this.assert(m&&m instanceof u,`expected error to be instance of ${b}`,`expected error not to be instance of ${b}`,u,m)}if(u instanceof Error){const b=X(m,u,[...n,we]);return this.assert(b,"expected a thrown error to be #{exp}","expected a thrown error not to be #{exp}",u,m)}if(typeof u=="object"&&"asymmetricMatch"in u&&typeof u.asymmetricMatch=="function"){const b=u;return this.assert(m&&b.asymmetricMatch(m),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",b,m)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof u}"`)}),[{name:"toHaveResolved",condition:o(u=>u.mock.settledResults.length>0&&u.mock.settledResults.some(({type:c})=>c==="fulfilled"),"condition"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:o(u=>u.mock.calls.length>0&&u.mock.results.some(({type:c})=>c!=="throw"),"condition"),action:"called"}].forEach(({name:u,condition:c,action:f})=>{i(u,function(){const p=s(this),m=p.getMockName(),b=c(p);this.assert(b,`expected "${m}" to be successfully ${f} at least once`,`expected "${m}" to not be successfully ${f}`,b,!b,!1)})}),[{name:"toHaveResolvedTimes",condition:o((u,c)=>u.mock.settledResults.reduce((f,{type:p})=>p==="fulfilled"?++f:f,0)===c,"condition"),action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:o((u,c)=>u.mock.results.reduce((f,{type:p})=>p==="throw"?f:++f,0)===c,"condition"),action:"called"}].forEach(({name:u,condition:c,action:f})=>{i(u,function(p){const m=s(this),b=m.getMockName(),_=c(m,p);this.assert(_,`expected "${b}" to be successfully ${f} ${p} times`,`expected "${b}" to not be successfully ${f} ${p} times`,`expected resolved times: ${p}`,`received resolved times: ${_}`,!1)})}),[{name:"toHaveResolvedWith",condition:o((u,c)=>u.mock.settledResults.some(({type:f,value:p})=>f==="fulfilled"&&X(c,p)),"condition"),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:o((u,c)=>u.mock.results.some(({type:f,value:p})=>f==="return"&&X(c,p)),"condition"),action:"return"}].forEach(({name:u,condition:c,action:f})=>{i(u,function(p){const m=s(this),b=c(m,p),_=t.flag(this,"negate");if(b&&_||!b&&!_){const w=m.getMockName(),h=t.getMessage(this,[b,`expected "${w}" to ${f} with: #{exp} at least once`,`expected "${w}" to not ${f} with: #{exp}`,p]),C=f==="return"?m.mock.results:m.mock.settledResults;throw new r(cf(m,C,h,p))}})}),[{name:"toHaveLastResolvedWith",condition:o((u,c)=>{const f=u.mock.settledResults[u.mock.settledResults.length-1];return f&&f.type==="fulfilled"&&X(f.value,c)},"condition"),action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:o((u,c)=>{const f=u.mock.results[u.mock.results.length-1];return f&&f.type==="return"&&X(f.value,c)},"condition"),action:"return"}].forEach(({name:u,condition:c,action:f})=>{i(u,function(p){const m=s(this),b=f==="return"?m.mock.results:m.mock.settledResults,_=b[b.length-1],w=m.getMockName();this.assert(c(m,p),`expected last "${w}" call to ${f} #{exp}`,`expected last "${w}" call to not ${f} #{exp}`,p,_?.value)})}),[{name:"toHaveNthResolvedWith",condition:o((u,c,f)=>{const p=u.mock.settledResults[c-1];return p&&p.type==="fulfilled"&&X(p.value,f)},"condition"),action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:o((u,c,f)=>{const p=u.mock.results[c-1];return p&&p.type==="return"&&X(p.value,f)},"condition"),action:"return"}].forEach(({name:u,condition:c,action:f})=>{i(u,function(p,m){const b=s(this),_=b.getMockName(),h=(f==="return"?b.mock.results:b.mock.settledResults)[p-1],C=`${Gt(p)} call`;this.assert(c(b,p,m),`expected ${C} "${_}" call to ${f} #{exp}`,`expected ${C} "${_}" call to not ${f} #{exp}`,m,h?.value)})}),i("withContext",function(u){for(const c in u)t.flag(this,c,u[c]);return this}),t.addProperty(e.Assertion.prototype,"resolves",o(function(){const c=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",c);const f=t.flag(this,"vitest-test"),p=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof p?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof p}'.`);const m=new Proxy(this,{get:o((b,_,w)=>{const h=Reflect.get(b,_,w);return typeof h!="function"?h instanceof e.Assertion?m:h:(...C)=>{t.flag(this,"_name",_);const q=p.then(j=>(t.flag(this,"object",j),h.call(this,...C)),j=>{const M=new r(`promise rejected "${t.inspect(j)}" instead of resolving`,{showDiff:!1});throw M.cause=j,M.stack=c.stack.replace(c.message,M.message),M});return Di(f,q,Bi(t,this,!!C.length),c)}},"get")});return m},"__VITEST_RESOLVES__")),t.addProperty(e.Assertion.prototype,"rejects",o(function(){const c=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",c);const f=t.flag(this,"vitest-test"),p=t.flag(this,"object"),m=typeof p=="function"?p():p;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof m?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof m}'.`);const b=new Proxy(this,{get:o((_,w,h)=>{const C=Reflect.get(_,w,h);return typeof C!="function"?C instanceof e.Assertion?b:C:(...q)=>{t.flag(this,"_name",w);const j=m.then(M=>{const T=new r(`promise resolved "${t.inspect(M)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:M});throw T.stack=c.stack.replace(c.message,T.message),T},M=>(t.flag(this,"object",M),C.call(this,...q)));return Di(f,j,Bi(t,this,!!q.length),c)}},"get")});return b},"__VITEST_REJECTS__"))},"JestChaiExpect");function Gt(e){const t=e%10,r=e%100;return t===1&&r!==11?`${e}st`:t===2&&r!==12?`${e}nd`:t===3&&r!==13?`${e}rd`:`${e}th`}o(Gt,"ordinalOf");function vn(e,t,r){return e.mock.calls.length&&(t+=_e.gray(`
75
+
76
+ Received:
77
+
78
+ ${e.mock.calls.map((n,i)=>{let a=_e.bold(` ${Gt(i+1)} ${e.getMockName()} call:
79
+
80
+ `);return r?a+=Jr(r,n,{omitAnnotationLines:!0}):a+=Et(n).split(`
81
+ `).map(s=>` ${s}`).join(`
82
+ `),a+=`
83
+ `,a}).join(`
84
+ `)}`)),t+=_e.gray(`
85
+
86
+ Number of calls: ${_e.bold(e.mock.calls.length)}
87
+ `),t}o(vn,"formatCalls");function cf(e,t,r,n){return t.length&&(r+=_e.gray(`
88
+
89
+ Received:
90
+
91
+ ${t.map((i,a)=>{let s=_e.bold(` ${Gt(a+1)} ${e.getMockName()} call return:
92
+
93
+ `);return n?s+=Jr(n,i.value,{omitAnnotationLines:!0}):s+=Et(i).split(`
94
+ `).map(l=>` ${l}`).join(`
95
+ `),s+=`
96
+ `,s}).join(`
97
+ `)}`)),r+=_e.gray(`
98
+
99
+ Number of calls: ${_e.bold(e.mock.calls.length)}
100
+ `),r}o(cf,"formatReturns");function df(e,t){const r=e._obj,n=Le.flag(e,"negate"),i=Le.flag(e,"promise")||"",a={...nl(),diff:Jr,stringify:Et,iterableEquality:we,subsetEquality:pr};return{state:{...Hr(t),customTesters:zo(),isNot:n,utils:a,promise:i,equals:X,suppressedErrors:[],soft:Le.flag(e,"soft"),poll:Le.flag(e,"poll")},isNot:n,obj:r}}o(df,"getMatcherState");var ff=class extends Error{constructor(t,r,n){super(t),this.actual=r,this.expected=n}};o(ff,"JestExtendError");var Tu=ff;function pf(e,t,r){return(n,i)=>{Object.entries(r).forEach(([a,s])=>{function l(...p){const{state:m,isNot:b,obj:_}=df(this,t),w=s.call(m,_,...p);if(w&&typeof w=="object"&&typeof w.then=="function")return w.then(({pass:T,message:R,actual:y,expected:v})=>{if(T&&b||!T&&!b)throw new Tu(R(),y,v)});const{pass:h,message:C,actual:q,expected:j}=w;if(h&&b||!h&&!b)throw new Tu(C(),q,j)}o(l,"expectWrapper");const d=il(i,a,l);i.addMethod(globalThis[Vr].matchers,a,d),i.addMethod(e.Assertion.prototype,a,d);const u=class extends ot{constructor(m=!1,...b){super(b,m)}asymmetricMatch(m){const{pass:b}=s.call(this.getMatcherContext(t),m,...this.sample);return this.inverse?!b:b}toString(){return`${this.inverse?"not.":""}${a}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(m=>Et(m)).join(", ")}>`}};o(u,"CustomMatcher");let c=u;const f=o((...p)=>new c(!1,...p),"customMatcher");Object.defineProperty(t,a,{configurable:!0,enumerable:!0,value:f,writable:!0}),Object.defineProperty(t.not,a,{configurable:!0,enumerable:!0,value:o((...p)=>new c(!0,...p),"value"),writable:!0}),Object.defineProperty(globalThis[Ai],a,{configurable:!0,enumerable:!0,value:f,writable:!0})})}}o(pf,"JestExtendPlugin");var Zw=o((e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{Pt(pf(e,r,n))})},"JestExtend");function mf(){Pt(Zw),Pt(Qw),Pt(Yw);const e=o((n,i)=>{const{assertionCalls:a}=Hr(e);return yn({assertionCalls:a+1,soft:!1},e),pt(n,i)},"expect");Object.assign(e,pt),e.getState=()=>Hr(e),e.setState=n=>yn(n,e),e.extend=n=>pt.extend(e,n),e.soft=(...n)=>{const i=e(...n);return e.setState({soft:!0}),i},e.extend(Hw),e.unreachable=n=>{g.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){const i=o(()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`),"errorGen");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(i(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:i})}o(t,"assertions");function r(){const n=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(n,r),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:n})}return o(r,"hasAssertions"),yn({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),Le.addMethod(e,"assertions",t),Le.addMethod(e,"hasAssertions",r),e.extend(Wu),e}o(mf,"createExpect");var hf=mf();Object.defineProperty(globalThis,el,{value:hf,writable:!0,configurable:!0});function bf(e,t,r){Object.defineProperty(e,t,r)}o(bf,"f");var gn=Symbol.for("tinyspy:spy"),e_=o(e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},"P"),t_=o(e=>(bf(e,gn,{value:{reset:o(()=>e_(e[gn]),"reset")}}),e[gn]),"K"),r_=o(e=>e[gn]||t_(e),"T"),$i=new Set;function n_(e){return $i.add(e),()=>void $i.delete(e)}o(n_,"onMockCall");function o_(e){const t=e?xi(e):xi();return yf(t)}o(o_,"fn");function yf(e){const t=Fi(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>Fi(r(n)),t}o(yf,"reactiveMock");function Fi(e){const t=r_(e),r=t.impl;return t.willCall(function(...n){return $i.forEach(i=>i(e,n)),r?.apply(this,n)}),e}o(Fi,"listenWhenCalled");function i_(){Uo.forEach(e=>e.mockClear())}o(i_,"clearAllMocks");function a_(){Uo.forEach(e=>e.mockReset())}o(a_,"resetAllMocks");function s_(){Uo.forEach(e=>e.mockRestore())}o(s_,"restoreAllMocks");function l_(e,t={}){return e}o(l_,"mocked");var vf={};ga(vf,{buildQueries:()=>We,configure:()=>bp,createEvent:()=>Or,findAllByAltText:()=>cm,findAllByDisplayValue:()=>om,findAllByLabelText:()=>Bp,findAllByPlaceholderText:()=>Wp,findAllByRole:()=>Rm,findAllByTestId:()=>Am,findAllByText:()=>Qp,findAllByTitle:()=>bm,findByAltText:()=>dm,findByDisplayValue:()=>im,findByLabelText:()=>Dp,findByPlaceholderText:()=>Gp,findByRole:()=>Tm,findByTestId:()=>Om,findByText:()=>Zp,findByTitle:()=>ym,fireEvent:()=>nr,getAllByAltText:()=>lm,getAllByDisplayValue:()=>rm,getAllByLabelText:()=>Lp,getAllByPlaceholderText:()=>Up,getAllByRole:()=>_m,getAllByTestId:()=>Sm,getAllByText:()=>Xp,getAllByTitle:()=>mm,getByAltText:()=>um,getByDisplayValue:()=>nm,getByLabelText:()=>$p,getByPlaceholderText:()=>zp,getByRole:()=>Cm,getByTestId:()=>xm,getByText:()=>Yp,getByTitle:()=>hm,getConfig:()=>G,getDefaultNormalizer:()=>Xo,getElementError:()=>fn,getMultipleElementsFoundError:()=>pn,getNodeText:()=>mr,getQueriesForElement:()=>Zn,getRoles:()=>Tl,getSuggestedQuery:()=>zr,isInaccessible:()=>dn,logDOM:()=>Ki,logRoles:()=>O_,makeFindQuery:()=>Ot,makeGetAllQuery:()=>Zo,makeSingleQuery:()=>At,prettyDOM:()=>rr,prettyFormat:()=>al,queries:()=>Qn,queryAllByAltText:()=>am,queryAllByAttribute:()=>_t,queryAllByDisplayValue:()=>em,queryAllByLabelText:()=>Fp,queryAllByPlaceholderText:()=>Vp,queryAllByRole:()=>Em,queryAllByTestId:()=>Pm,queryAllByText:()=>Kp,queryAllByTitle:()=>fm,queryByAltText:()=>sm,queryByAttribute:()=>ql,queryByDisplayValue:()=>tm,queryByLabelText:()=>jp,queryByPlaceholderText:()=>Hp,queryByRole:()=>wm,queryByTestId:()=>qm,queryByText:()=>Jp,queryByTitle:()=>pm,queryHelpers:()=>M_,screen:()=>Q_,waitFor:()=>Qo,waitForElementToBeRemoved:()=>Im,within:()=>Zn,wrapAllByQueryWithSuggestion:()=>ye,wrapSingleQueryWithSuggestion:()=>ht});var al=Oe(HE()),u_=Object.prototype.toString;function Vi(e){return typeof e=="function"||u_.call(e)==="[object Function]"}o(Vi,"isCallable");function gf(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}o(gf,"toInteger");var c_=Math.pow(2,53)-1;function Ef(e){var t=gf(e);return Math.min(Math.max(t,0),c_)}o(Ef,"toLength");function qe(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!Vi(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var i=Ef(n.length),a=Vi(r)?Object(new r(i)):new Array(i),s=0,l;s<i;)l=n[s],t?a[s]=t(l,s):a[s]=l,s+=1;return a.length=i,a}o(qe,"arrayFrom");function er(e){"@babel/helpers - typeof";return er=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},er(e)}o(er,"_typeof");function wf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}o(wf,"_classCallCheck");function Hi(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,sl(n.key),n)}}o(Hi,"_defineProperties");function _f(e,t,r){return t&&Hi(e.prototype,t),r&&Hi(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}o(_f,"_createClass");function Cf(e,t,r){return t=sl(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}o(Cf,"_defineProperty");function sl(e){var t=Rf(e,"string");return er(t)==="symbol"?t:String(t)}o(sl,"_toPropertyKey");function Rf(e,t){if(er(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(er(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}o(Rf,"_toPrimitive");var d_=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];wf(this,e),Cf(this,"items",void 0),this.items=t}return o(e,"SetLike"),_f(e,[{key:"add",value:o(function(r){return this.has(r)===!1&&this.items.push(r),this},"add")},{key:"clear",value:o(function(){this.items=[]},"clear")},{key:"delete",value:o(function(r){var n=this.items.length;return this.items=this.items.filter(function(i){return i!==r}),n!==this.items.length},"_delete")},{key:"forEach",value:o(function(r){var n=this;this.items.forEach(function(i){r(i,i,n)})},"forEach")},{key:"has",value:o(function(r){return this.items.indexOf(r)!==-1},"has")},{key:"size",get:o(function(){return this.items.length},"get")}]),e})(),f_=typeof Set>"u"?Set:d_;function de(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}o(de,"getLocalName");var p_={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},m_={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function Tf(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=m_[t])!==null&&n!==void 0&&n.has(r))})}o(Tf,"hasGlobalAriaAttributes");function ll(e,t){return Tf(e,t)}o(ll,"ignorePresentationalRole");function Pf(e){var t=Sf(e);if(t===null||t==="presentation"){var r=qf(e);if(t!=="presentation"||ll(e,r||""))return r}return t}o(Pf,"getRole");function qf(e){var t=p_[de(e)];if(t!==void 0)return t;switch(de(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!ll(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}o(qf,"getImplicitRole");function Sf(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}o(Sf,"getExplicitRole");function ne(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}o(ne,"isElement");function ul(e){return ne(e)&&de(e)==="caption"}o(ul,"isHTMLTableCaptionElement");function Ar(e){return ne(e)&&de(e)==="input"}o(Ar,"isHTMLInputElement");function xf(e){return ne(e)&&de(e)==="optgroup"}o(xf,"isHTMLOptGroupElement");function Af(e){return ne(e)&&de(e)==="select"}o(Af,"isHTMLSelectElement");function Of(e){return ne(e)&&de(e)==="table"}o(Of,"isHTMLTableElement");function Mf(e){return ne(e)&&de(e)==="textarea"}o(Mf,"isHTMLTextAreaElement");function If(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}o(If,"safeWindow");function Nf(e){return ne(e)&&de(e)==="fieldset"}o(Nf,"isHTMLFieldSetElement");function jf(e){return ne(e)&&de(e)==="legend"}o(jf,"isHTMLLegendElement");function kf(e){return ne(e)&&de(e)==="slot"}o(kf,"isHTMLSlotElement");function Bf(e){return ne(e)&&e.ownerSVGElement!==void 0}o(Bf,"isSVGElement");function Df(e){return ne(e)&&de(e)==="svg"}o(Df,"isSVGSVGElement");function Lf(e){return Bf(e)&&de(e)==="title"}o(Lf,"isSVGTitleElement");function Ur(e,t){if(ne(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(i){return n.getElementById(i)}).filter(function(i){return i!==null})}return[]}o(Ur,"queryIdRefs");function Fe(e,t){return ne(e)?t.indexOf(Pf(e))!==-1:!1}o(Fe,"hasAnyConcreteRoles");function $f(e){return e.trim().replace(/\s\s+/g," ")}o($f,"asFlatString");function Ff(e,t){if(!ne(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}o(Ff,"isHidden");function Vf(e){return Fe(e,["button","combobox","listbox","textbox"])||cl(e,"range")}o(Vf,"isControl");function cl(e,t){if(!ne(e))return!1;switch(t){case"range":return Fe(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}o(cl,"hasAbstractRole");function Ui(e,t){var r=qe(e.querySelectorAll(t));return Ur(e,"aria-owns").forEach(function(n){r.push.apply(r,qe(n.querySelectorAll(t)))}),r}o(Ui,"querySelectorAllSubtree");function Hf(e){return Af(e)?e.selectedOptions||Ui(e,"[selected]"):Ui(e,'[aria-selected="true"]')}o(Hf,"querySelectedOptions");function Uf(e){return Fe(e,["none","presentation"])}o(Uf,"isMarkedPresentational");function zf(e){return ul(e)}o(zf,"isNativeHostLanguageTextAlternativeElement");function Wf(e){return Fe(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}o(Wf,"allowsNameFromContent");function Gf(e){return!1}o(Gf,"isDescendantOfNativeHostLanguageTextAlternativeElement");function Kf(e){return Ar(e)||Mf(e)?e.value:e.textContent||""}o(Kf,"getValueOfTextbox");function zi(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}o(zi,"getTextualContent");function dl(e){var t=de(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}o(dl,"isLabelableElement");function fl(e){if(dl(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&ne(r)){var n=fl(r);n!==null&&(t=n)}}),t}o(fl,"findLabelableElement");function Jf(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):fl(e)}o(Jf,"getControlOfLabel");function Xf(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return qe(t);if(!dl(e))return null;var r=e.ownerDocument;return qe(r.querySelectorAll("label")).filter(function(n){return Jf(n)===e})}o(Xf,"getLabels");function Yf(e){var t=e.assignedNodes();return t.length===0?qe(e.childNodes):t}o(Yf,"getSlotContents");function pl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new f_,n=If(e),i=t.compute,a=i===void 0?"name":i,s=t.computedStyleSupportsPseudoElements,l=s===void 0?t.getComputedStyle!==void 0:s,d=t.getComputedStyle,u=d===void 0?n.getComputedStyle.bind(n):d,c=t.hidden,f=c===void 0?!1:c;function p(h,C){var q="";if(ne(h)&&l){var j=u(h,"::before"),M=zi(j);q="".concat(M," ").concat(q)}var T=kf(h)?Yf(h):qe(h.childNodes).concat(Ur(h,"aria-owns"));if(T.forEach(function(v){var N=w(v,{isEmbeddedInLabel:C.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),x=ne(v)?u(v).getPropertyValue("display"):"inline",k=x!=="inline"?" ":"";q+="".concat(k).concat(N).concat(k)}),ne(h)&&l){var R=u(h,"::after"),y=zi(R);q="".concat(q," ").concat(y)}return q.trim()}o(p,"computeMiscTextAlternative");function m(h,C){var q=h.getAttributeNode(C);return q!==null&&!r.has(q)&&q.value.trim()!==""?(r.add(q),q.value):null}o(m,"useAttribute");function b(h){return ne(h)?m(h,"title"):null}o(b,"computeTooltipAttributeValue");function _(h){if(!ne(h))return null;if(Nf(h)){r.add(h);for(var C=qe(h.childNodes),q=0;q<C.length;q+=1){var j=C[q];if(jf(j))return w(j,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Of(h)){r.add(h);for(var M=qe(h.childNodes),T=0;T<M.length;T+=1){var R=M[T];if(ul(R))return w(R,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Df(h)){r.add(h);for(var y=qe(h.childNodes),v=0;v<y.length;v+=1){var N=y[v];if(Lf(N))return N.textContent}return null}else if(de(h)==="img"||de(h)==="area"){var x=m(h,"alt");if(x!==null)return x}else if(xf(h)){var k=m(h,"label");if(k!==null)return k}if(Ar(h)&&(h.type==="button"||h.type==="submit"||h.type==="reset")){var D=m(h,"value");if(D!==null)return D;if(h.type==="submit")return"Submit";if(h.type==="reset")return"Reset"}var I=Xf(h);if(I!==null&&I.length!==0)return r.add(h),qe(I).map(function(H){return w(H,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(H){return H.length>0}).join(" ");if(Ar(h)&&h.type==="image"){var V=m(h,"alt");if(V!==null)return V;var L=m(h,"title");return L!==null?L:"Submit Query"}if(Fe(h,["button"])){var Q=p(h,{isEmbeddedInLabel:!1});if(Q!=="")return Q}return null}o(_,"computeElementTextAlternative");function w(h,C){if(r.has(h))return"";if(!f&&Ff(h,u)&&!C.isReferenced)return r.add(h),"";var q=ne(h)?h.getAttributeNode("aria-labelledby"):null,j=q!==null&&!r.has(q)?Ur(h,"aria-labelledby"):[];if(a==="name"&&!C.isReferenced&&j.length>0)return r.add(q),j.map(function(x){return w(x,{isEmbeddedInLabel:C.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var M=C.recursion&&Vf(h)&&a==="name";if(!M){var T=(ne(h)&&h.getAttribute("aria-label")||"").trim();if(T!==""&&a==="name")return r.add(h),T;if(!Uf(h)){var R=_(h);if(R!==null)return r.add(h),R}}if(Fe(h,["menu"]))return r.add(h),"";if(M||C.isEmbeddedInLabel||C.isReferenced){if(Fe(h,["combobox","listbox"])){r.add(h);var y=Hf(h);return y.length===0?Ar(h)?h.value:"":qe(y).map(function(x){return w(x,{isEmbeddedInLabel:C.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(cl(h,"range"))return r.add(h),h.hasAttribute("aria-valuetext")?h.getAttribute("aria-valuetext"):h.hasAttribute("aria-valuenow")?h.getAttribute("aria-valuenow"):h.getAttribute("value")||"";if(Fe(h,["textbox"]))return r.add(h),Kf(h)}if(Wf(h)||ne(h)&&C.isReferenced||zf(h)||Gf()){var v=p(h,{isEmbeddedInLabel:C.isEmbeddedInLabel});if(v!=="")return r.add(h),v}if(h.nodeType===h.TEXT_NODE)return r.add(h),h.textContent||"";if(C.recursion)return r.add(h),p(h,{isEmbeddedInLabel:C.isEmbeddedInLabel});var N=b(h);return N!==null?(r.add(h),N):(r.add(h),"")}return o(w,"computeTextAlternative"),$f(w(e,{isEmbeddedInLabel:!1,isReferenced:a==="description",recursion:!1}))}o(pl,"computeTextAlternative");function tr(e){"@babel/helpers - typeof";return tr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tr(e)}o(tr,"_typeof");function Wi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}o(Wi,"ownKeys");function Gi(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Wi(Object(r),!0).forEach(function(n){Qf(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wi(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}o(Gi,"_objectSpread");function Qf(e,t,r){return t=Zf(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}o(Qf,"_defineProperty");function Zf(e){var t=ep(e,"string");return tr(t)==="symbol"?t:String(t)}o(Zf,"_toPropertyKey");function ep(e,t){if(tr(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(tr(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}o(ep,"_toPrimitive");function ml(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Ur(e,"aria-describedby").map(function(i){return pl(i,Gi(Gi({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}o(ml,"computeAccessibleDescription");function tp(e){return Fe(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}o(tp,"prohibitsNaming");function Ko(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return tp(e)?"":pl(e,t)}o(Ko,"computeAccessibleName");var Te=Oe(_a()),h_=Oe(UE());function hl(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}o(hl,"escapeHTML");var b_=o((e,t,r,n,i,a,s)=>{const l=n+r.indent,d=r.colors;return e.map(u=>{const c=t[u];let f=s(c,r,l,i,a);return typeof c!="string"&&(f.indexOf(`
101
+ `)!==-1&&(f=r.spacingOuter+l+f+r.spacingOuter+n),f="{"+f+"}"),r.spacingInner+n+d.prop.open+u+d.prop.close+"="+d.value.open+f+d.value.close}).join("")},"printProps"),y_=3,v_=o((e,t,r,n,i,a)=>e.map(s=>{const l=typeof s=="string"?rp(s,t):a(s,t,r,n,i);return l===""&&typeof s=="object"&&s!==null&&s.nodeType!==y_?"":t.spacingOuter+r+l}).join(""),"printChildren"),rp=o((e,t)=>{const r=t.colors.content;return r.open+hl(e)+r.close},"printText"),g_=o((e,t)=>{const r=t.colors.comment;return r.open+"<!--"+hl(e)+"-->"+r.close},"printComment"),E_=o((e,t,r,n,i)=>{const a=n.colors.tag;return a.open+"<"+e+(t&&a.close+t+n.spacingOuter+i+a.open)+(r?">"+a.close+r+n.spacingOuter+i+a.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+a.close},"printElement"),w_=o((e,t)=>{const r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},"printElementAsLeaf"),__=1,np=3,op=8,ip=11,C_=/^((HTML|SVG)\w*)?Element$/,ap=o(e=>{const{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},"isCustomElement"),R_=o(e=>{const t=e.constructor.name,{nodeType:r}=e;return r===__&&(C_.test(t)||ap(e))||r===np&&t==="Text"||r===op&&t==="Comment"||r===ip&&t==="DocumentFragment"},"testNode");function sp(e){return e.nodeType===np}o(sp,"nodeIsText");function lp(e){return e.nodeType===op}o(lp,"nodeIsComment");function En(e){return e.nodeType===ip}o(En,"nodeIsFragment");function up(e){return{test:o(t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||ap(t))&&R_(t)},"test"),serialize:o((t,r,n,i,a,s)=>{if(sp(t))return rp(t.data,r);if(lp(t))return g_(t.data,r);const l=En(t)?"DocumentFragment":t.tagName.toLowerCase();return++i>r.maxDepth?w_(l,r):E_(l,b_(En(t)?[]:Array.from(t.attributes).map(d=>d.name).sort(),En(t)?{}:Array.from(t.attributes).reduce((d,u)=>(d[u.name]=u.value,d),{}),r,n+r.indent,i,a,s),v_(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,i,a,s),r,n)},"serialize")}}o(up,"createDOMElementFilter");var cp=null,bl=null,yl=null;try{const e=module&&module.require;bl=e.call(module,"fs").readFileSync,yl=e.call(module,"@babel/code-frame").codeFrameColumns,cp=e.call(module,"picocolors")}catch{}function dp(e){const t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),i=n.split(":"),[a,s,l]=[i[0],parseInt(i[1],10),parseInt(i[2],10)];let d="";try{d=bl(a,"utf-8")}catch{return""}const u=yl(d,{start:{line:s,column:l}},{highlightCode:!0,linesBelow:0});return cp.dim(n)+`
102
+ `+u+`
103
+ `}o(dp,"getCodeFrame");function fp(){if(!bl||!yl)return"";const t=new Error().stack.split(`
104
+ `).slice(1).find(r=>!r.includes("node_modules/"));return dp(t)}o(fp,"getUserCodeFrame");var pp=3;function wn(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}o(wn,"jestFakeTimersAreEnabled");function Jo(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}o(Jo,"getDocument");function vl(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}o(vl,"getWindowFromNode");function ze(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}o(t,"getTypeName")}o(ze,"checkContainerType");var T_=o(()=>{if(typeof process>"u")return!1;let e;try{var t;const r=(t=mi)==null?void 0:t.COLORS;r&&(e=JSON.parse(r))}catch{}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},"shouldHighlight"),{DOMCollection:P_}=al.plugins,q_=1,S_=8;function mp(e){return e.nodeType!==S_&&(e.nodeType!==q_||!e.matches(G().defaultIgnore))}o(mp,"filterCommentsAndDefaultIgnoreTagsTags");function rr(e,t,r){if(r===void 0&&(r={}),e||(e=Jo().body),typeof t!="number"&&(t=typeof process<"u"&&typeof mi<"u"&&mi.DEBUG_PRINT_LIMIT||7e3),t===0)return"";e.documentElement&&(e=e.documentElement);let n=typeof e;if(n==="object"?n=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+n);const{filterNode:i=mp,...a}=r,s=al.format(e,{plugins:[up(i),P_],printFunctionName:!1,highlight:T_(),...a});return t!==void 0&&e.outerHTML.length>t?s.slice(0,t)+"...":s}o(rr,"prettyDOM");var Ki=o(function(){const e=fp();console.log(e?rr(...arguments)+`
105
+
106
+ `+e:rr(...arguments))},"logDOM"),St={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:o(e=>e(),"asyncWrapper"),unstable_advanceTimersWrapper:o(e=>e(),"unstable_advanceTimersWrapper"),eventWrapper:o(e=>e(),"eventWrapper"),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){const r=rr(t),n=new Error([e,"Ignored nodes: comments, "+St.defaultIgnore+`
107
+ `+r].filter(Boolean).join(`
108
+
109
+ `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function hp(e){try{return St._disableExpensiveErrorDiagnostics=!0,e()}finally{St._disableExpensiveErrorDiagnostics=!1}}o(hp,"runWithExpensiveErrorDiagnosticsDisabled");function bp(e){typeof e=="function"&&(e=e(St)),St={...St,...e}}o(bp,"configure");function G(){return St}o(G,"getConfig");var x_=["button","meter","output","progress","select","textarea","input"];function gl(e){return x_.includes(e.nodeName.toLowerCase())?"":e.nodeType===pp?e.textContent:Array.from(e.childNodes).map(t=>gl(t)).join("")}o(gl,"getTextContent");function Yn(e){let t;return e.tagName.toLowerCase()==="label"?t=gl(e):t=e.value||e.textContent,t}o(Yn,"getLabelContent");function El(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!yp(e))return[];const r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}o(El,"getRealLabels");function yp(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}o(yp,"isLabelable");function wl(e,t,r){let{selector:n="*"}=r===void 0?{}:r;const i=t.getAttribute("aria-labelledby"),a=i?i.split(" "):[];return a.length?a.map(s=>{const l=e.querySelector('[id="'+s+'"]');return l?{content:Yn(l),formControl:null}:{content:"",formControl:null}}):Array.from(El(t)).map(s=>{const l=Yn(s),u=Array.from(s.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(c=>c.matches(n))[0];return{content:l,formControl:u}})}o(wl,"getLabels");function _l(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}o(_l,"assertNotNullOrUndefined");function Dt(e,t,r,n){if(typeof e!="string")return!1;_l(r);const i=n(e);return typeof r=="string"||typeof r=="number"?i.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(i,t):Cl(r,i)}o(Dt,"fuzzyMatches");function Ve(e,t,r,n){if(typeof e!="string")return!1;_l(r);const i=n(e);return r instanceof Function?r(i,t):r instanceof RegExp?Cl(r,i):i===String(r)}o(Ve,"matches");function Xo(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let i=n;return i=t?i.trim():i,i=r?i.replace(/\s+/g," "):i,i}}o(Xo,"getDefaultNormalizer");function wt(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return Xo({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}o(wt,"makeNormalizer");function Cl(e,t){const r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}o(Cl,"matchRegExp");function mr(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===pp&&!!t.textContent).map(t=>t.textContent).join("")}o(mr,"getNodeText");var A_=vp(Te.elementRoles);function Rl(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}o(Rl,"isSubtreeInaccessible");function dn(e,t){t===void 0&&(t={});const{isSubtreeInaccessible:r=Rl}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let i=e;for(;i;){if(r(i))return!0;i=i.parentElement}return!1}o(dn,"isInaccessible");function Yo(e){for(const{match:t,roles:r}of A_)if(t(e))return[...r];return[]}o(Yo,"getImplicitAriaRoles");function vp(e){function t(s){let{name:l,attributes:d}=s;return""+l+d.map(u=>{let{name:c,value:f,constraints:p=[]}=u;const m=p.indexOf("undefined")!==-1,b=p.indexOf("set")!==-1;return typeof f<"u"?"["+c+'="'+f+'"]':m?":not(["+c+"])":b?"["+c+"]:not(["+c+'=""])':"["+c+"]"}).join("")}o(t,"makeElementSelector");function r(s){let{attributes:l=[]}=s;return l.length}o(r,"getSelectorSpecificity");function n(s,l){let{specificity:d}=s,{specificity:u}=l;return u-d}o(n,"bySelectorSpecificity");function i(s){let{attributes:l=[]}=s;const d=l.findIndex(c=>c.value&&c.name==="type"&&c.value==="text");d>=0&&(l=[...l.slice(0,d),...l.slice(d+1)]);const u=t({...s,attributes:l});return c=>d>=0&&c.type!=="text"?!1:c.matches(u)}o(i,"match");let a=[];for(const[s,l]of e.entries())a=[...a,{match:i(s),roles:Array.from(l),specificity:r(s)}];return a.sort(n)}o(vp,"buildElementRoleList");function Tl(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(i){return[i,...Array.from(i.children).reduce((a,s)=>[...a,...n(s)],[])]}return o(n,"flattenDOM"),n(e).filter(i=>r===!1?dn(i)===!1:!0).reduce((i,a)=>{let s=[];return a.hasAttribute("role")?s=a.getAttribute("role").split(" ").slice(0,1):s=Yo(a),s.reduce((l,d)=>Array.isArray(l[d])?{...l,[d]:[...l[d],a]}:{...l,[d]:[a]},i)},{})}o(Tl,"getRoles");function Pl(e,t){let{hidden:r,includeDescription:n}=t;const i=Tl(e,{hidden:r});return Object.entries(i).filter(a=>{let[s]=a;return s!=="generic"}).map(a=>{let[s,l]=a;const d="-".repeat(50),u=l.map(c=>{const f='Name "'+Ko(c,{computedStyleSupportsPseudoElements:G().computedStyleSupportsPseudoElements})+`":
110
+ `,p=rr(c.cloneNode(!1));if(n){const m='Description "'+ml(c,{computedStyleSupportsPseudoElements:G().computedStyleSupportsPseudoElements})+`":
111
+ `;return""+f+m+p}return""+f+p}).join(`
112
+
113
+ `);return s+`:
114
+
115
+ `+u+`
116
+
117
+ `+d}).join(`
118
+ `)}o(Pl,"prettyRoles");var O_=o(function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(Pl(e,{hidden:r}))},"logRoles");function gp(e){return e.tagName==="OPTION"?e.selected:hr(e,"aria-selected")}o(gp,"computeAriaSelected");function Ep(e){return e.getAttribute("aria-busy")==="true"}o(Ep,"computeAriaBusy");function wp(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:hr(e,"aria-checked")}o(wp,"computeAriaChecked");function _p(e){return hr(e,"aria-pressed")}o(_p,"computeAriaPressed");function Cp(e){var t,r;return(t=(r=hr(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}o(Cp,"computeAriaCurrent");function Rp(e){return hr(e,"aria-expanded")}o(Rp,"computeAriaExpanded");function hr(e,t){const r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}o(hr,"checkBooleanAttribute");function Tp(e){const t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}o(Tp,"computeHeadingLevel");function Pp(e){const t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}o(Pp,"computeAriaValueNow");function qp(e){const t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}o(qp,"computeAriaValueMax");function Sp(e){const t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}o(Sp,"computeAriaValueMin");function xp(e){const t=e.getAttribute("aria-valuetext");return t===null?void 0:t}o(xp,"computeAriaValueText");var Pu=Xo();function Ap(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}o(Ap,"escapeRegExp");function Ji(e){return new RegExp(Ap(e.toLowerCase()),"i")}o(Ji,"getRegExpMatcher");function Xe(e,t,r,n){let{variant:i,name:a}=n,s="";const l={},d=[["Role","TestId"].includes(e)?r:Ji(r)];a&&(l.name=Ji(a)),e==="Role"&&dn(t)&&(l.hidden=!0,s=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
119
+ If you are using the aria-hidden prop, make sure this is the right choice for your case.
120
+ `),Object.keys(l).length>0&&d.push(l);const u=i+"By"+e;return{queryName:e,queryMethod:u,queryArgs:d,variant:i,warning:s,toString(){s&&console.warn(s);let[c,f]=d;return c=typeof c=="string"?"'"+c+"'":c,f=f?", { "+Object.entries(f).map(p=>{let[m,b]=p;return m+": "+b}).join(", ")+" }":"",u+"("+c+f+")"}}}o(Xe,"makeSuggestion");function Ye(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}o(Ye,"canSuggest");function zr(e,t,r){var n,i;if(t===void 0&&(t="get"),e.matches(G().defaultIgnore))return;const a=(n=e.getAttribute("role"))!=null?n:(i=Yo(e))==null?void 0:i[0];if(a!=="generic"&&Ye("Role",r,a))return Xe("Role",e,a,{variant:t,name:Ko(e,{computedStyleSupportsPseudoElements:G().computedStyleSupportsPseudoElements})});const s=wl(document,e).map(p=>p.content).join(" ");if(Ye("LabelText",r,s))return Xe("LabelText",e,s,{variant:t});const l=e.getAttribute("placeholder");if(Ye("PlaceholderText",r,l))return Xe("PlaceholderText",e,l,{variant:t});const d=Pu(mr(e));if(Ye("Text",r,d))return Xe("Text",e,d,{variant:t});if(Ye("DisplayValue",r,e.value))return Xe("DisplayValue",e,Pu(e.value),{variant:t});const u=e.getAttribute("alt");if(Ye("AltText",r,u))return Xe("AltText",e,u,{variant:t});const c=e.getAttribute("title");if(Ye("Title",r,c))return Xe("Title",e,c,{variant:t});const f=e.getAttribute(G().testIdAttribute);if(Ye("TestId",r,f))return Xe("TestId",e,f,{variant:t})}o(zr,"getSuggestedQuery");function wr(e,t){e.stack=t.stack.replace(t.message,e.message)}o(wr,"copyStackTrace");function Op(e,t){let{container:r=Jo(),timeout:n=G().asyncUtilTimeout,showOriginalStackTrace:i=G().showOriginalStackTrace,stackTraceError:a,interval:s=50,onTimeout:l=o(u=>(Object.defineProperty(u,"message",{value:G().getElementError(u.message,r).message}),u),"onTimeout"),mutationObserverOptions:d={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(u,c)=>{let f,p,m,b=!1,_="idle";const w=setTimeout(M,n),h=wn();if(h){const{unstable_advanceTimersWrapper:T}=G();for(j();!b;){if(!wn()){const R=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");i||wr(R,a),c(R);return}if(await T(async()=>{jest.advanceTimersByTime(s)}),b)break;j()}}else{try{ze(r)}catch(R){c(R);return}p=setInterval(q,s);const{MutationObserver:T}=vl(r);m=new T(q),m.observe(r,d),j()}function C(T,R){b=!0,clearTimeout(w),h||(clearInterval(p),m.disconnect()),T?c(T):u(R)}o(C,"onDone");function q(){if(wn()){const T=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return i||wr(T,a),c(T)}else return j()}o(q,"checkRealTimersCallback");function j(){if(_!=="pending")try{const T=hp(e);typeof T?.then=="function"?(_="pending",T.then(R=>{_="resolved",C(null,R)},R=>{_="rejected",f=R})):C(null,T)}catch(T){f=T}}o(j,"checkCallback");function M(){let T;f?(T=f,!i&&T.name==="TestingLibraryElementError"&&wr(T,a)):(T=new Error("Timed out in waitFor."),i||wr(T,a)),C(l(T),null)}o(M,"handleTimeout")})}o(Op,"waitFor");function Qo(e,t){const r=new Error("STACK_TRACE_MESSAGE");return G().asyncWrapper(()=>Op(e,{stackTraceError:r,...t}))}o(Qo,"waitForWrapper");function fn(e,t){return G().getElementError(e,t)}o(fn,"getElementError");function pn(e,t){return fn(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}o(pn,"getMultipleElementsFoundError");function _t(e,t,r,n){let{exact:i=!0,collapseWhitespace:a,trim:s,normalizer:l}=n===void 0?{}:n;const d=i?Ve:Dt,u=wt({collapseWhitespace:a,trim:s,normalizer:l});return Array.from(t.querySelectorAll("["+e+"]")).filter(c=>d(c.getAttribute(e),c,r,u))}o(_t,"queryAllByAttribute");function ql(e,t,r,n){const i=_t(e,t,r,n);if(i.length>1)throw pn("Found multiple elements by ["+e+"="+r+"]",t);return i[0]||null}o(ql,"queryByAttribute");function At(e,t){return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];const s=e(r,...i);if(s.length>1){const l=s.map(d=>fn(null,d).message).join(`
121
+
122
+ `);throw pn(t(r,...i)+`
123
+
124
+ Here are the matching elements:
125
+
126
+ `+l,r)}return s[0]||null}}o(At,"makeSingleQuery");function Sl(e,t){return G().getElementError(`A better query is available, try this:
127
+ `+e.toString()+`
128
+ `,t)}o(Sl,"getSuggestionError");function Zo(e,t){return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];const s=e(r,...i);if(!s.length)throw G().getElementError(t(r,...i),r);return s}}o(Zo,"makeGetAllQuery");function Ot(e){return(t,r,n,i)=>Qo(()=>e(t,r,n),{container:t,...i})}o(Ot,"makeFindQuery");var ht=o((e,t,r)=>function(n){for(var i=arguments.length,a=new Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];const l=e(n,...a),[{suggest:d=G().throwSuggestions}={}]=a.slice(-1);if(l&&d){const u=zr(l,r);if(u&&!t.endsWith(u.queryName))throw Sl(u.toString(),n)}return l},"wrapSingleQueryWithSuggestion"),ye=o((e,t,r)=>function(n){for(var i=arguments.length,a=new Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];const l=e(n,...a),[{suggest:d=G().throwSuggestions}={}]=a.slice(-1);if(l.length&&d){const u=[...new Set(l.map(c=>{var f;return(f=zr(c,r))==null?void 0:f.toString()}))];if(u.length===1&&!t.endsWith(zr(l[0],r).queryName))throw Sl(u[0],n)}return l},"wrapAllByQueryWithSuggestion");function We(e,t,r){const n=ht(At(e,t),e.name,"query"),i=Zo(e,r),a=At(i,t),s=ht(a,e.name,"get"),l=ye(i,e.name.replace("query","get"),"getAll"),d=Ot(ye(i,e.name,"findAll")),u=Ot(ht(a,e.name,"find"));return[n,l,s,d,u]}o(We,"buildQueries");var M_=Object.freeze({__proto__:null,getElementError:fn,wrapAllByQueryWithSuggestion:ye,wrapSingleQueryWithSuggestion:ht,getMultipleElementsFoundError:pn,queryAllByAttribute:_t,queryByAttribute:ql,makeSingleQuery:At,makeGetAllQuery:Zo,makeFindQuery:Ot,buildQueries:We});function Mp(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Yn(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}o(Mp,"queryAllLabels");var I_=o(function(e,t,r){let{exact:n=!0,trim:i,collapseWhitespace:a,normalizer:s}=r===void 0?{}:r;const l=n?Ve:Dt,d=wt({collapseWhitespace:a,trim:i,normalizer:s});return Mp(e).filter(c=>{let{node:f,textToMatch:p}=c;return l(p,f,t,d)}).map(c=>{let{node:f}=c;return f})},"queryAllLabelsByText"),Wr=o(function(e,t,r){let{selector:n="*",exact:i=!0,collapseWhitespace:a,trim:s,normalizer:l}=r===void 0?{}:r;ze(e);const d=i?Ve:Dt,u=wt({collapseWhitespace:a,trim:s,normalizer:l}),c=Array.from(e.querySelectorAll("*")).filter(f=>El(f).length||f.hasAttribute("aria-labelledby")).reduce((f,p)=>{const m=wl(e,p,{selector:n});m.filter(_=>!!_.formControl).forEach(_=>{d(_.content,_.formControl,t,u)&&_.formControl&&f.push(_.formControl)});const b=m.filter(_=>!!_.content).map(_=>_.content);return d(b.join(" "),p,t,u)&&f.push(p),b.length>1&&b.forEach((_,w)=>{d(_,p,t,u)&&f.push(p);const h=[...b];h.splice(w,1),h.length>1&&d(h.join(" "),p,t,u)&&f.push(p)}),f},[]).concat(_t("aria-label",e,t,{exact:i,normalizer:u}));return Array.from(new Set(c)).filter(f=>f.matches(n))},"queryAllByLabelText"),Mt=o(function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];const a=Wr(e,t,...n);if(!a.length){const s=I_(e,t,...n);if(s.length){const l=s.map(d=>Ip(e,d)).filter(d=>!!d);throw l.length?G().getElementError(l.map(d=>"Found a label with the text of: "+t+", however the element associated with this label (<"+d+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+d+" />, you can use aria-label or aria-labelledby instead.").join(`
129
+
130
+ `),e):G().getElementError("Found a label with the text of: "+t+`, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,e)}else throw G().getElementError("Unable to find a label with the text of: "+t,e)}return a},"getAllByLabelText");function Ip(e,t){const r=t.getAttribute("for");if(!r)return null;const n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}o(Ip,"getTagNameOfElementAssociatedWithLabelViaFor");var Np=o((e,t)=>"Found multiple elements with the text of: "+t,"getMultipleError$7"),jp=ht(At(Wr,Np),Wr.name,"query"),kp=At(Mt,Np),Bp=Ot(ye(Mt,Mt.name,"findAll")),Dp=Ot(ht(kp,Mt.name,"find")),Lp=ye(Mt,Mt.name,"getAll"),$p=ht(kp,Mt.name,"get"),Fp=ye(Wr,Wr.name,"queryAll"),Xi=o(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return ze(t[0]),_t("placeholder",...t)},"queryAllByPlaceholderText"),N_=o((e,t)=>"Found multiple elements with the placeholder text of: "+t,"getMultipleError$6"),j_=o((e,t)=>"Unable to find an element with the placeholder text of: "+t,"getMissingError$6"),Vp=ye(Xi,Xi.name,"queryAll"),[Hp,Up,zp,Wp,Gp]=We(Xi,N_,j_),Yi=o(function(e,t,r){let{selector:n="*",exact:i=!0,collapseWhitespace:a,trim:s,ignore:l=G().defaultIgnore,normalizer:d}=r===void 0?{}:r;ze(e);const u=i?Ve:Dt,c=wt({collapseWhitespace:a,trim:s,normalizer:d});let f=[];return typeof e.matches=="function"&&e.matches(n)&&(f=[e]),[...f,...Array.from(e.querySelectorAll(n))].filter(p=>!l||!p.matches(l)).filter(p=>u(mr(p),p,t,c))},"queryAllByText"),k_=o((e,t)=>"Found multiple elements with the text: "+t,"getMultipleError$5"),B_=o(function(e,t,r){r===void 0&&(r={});const{collapseWhitespace:n,trim:i,normalizer:a,selector:s}=r,d=wt({collapseWhitespace:n,trim:i,normalizer:a})(t.toString()),u=d!==t.toString(),c=(s??"*")!=="*";return"Unable to find an element with the text: "+(u?d+" (normalized from '"+t+"')":t)+(c?", which matches selector '"+s+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},"getMissingError$5"),Kp=ye(Yi,Yi.name,"queryAll"),[Jp,Xp,Yp,Qp,Zp]=We(Yi,k_,B_),Qi=o(function(e,t,r){let{exact:n=!0,collapseWhitespace:i,trim:a,normalizer:s}=r===void 0?{}:r;ze(e);const l=n?Ve:Dt,d=wt({collapseWhitespace:i,trim:a,normalizer:s});return Array.from(e.querySelectorAll("input,textarea,select")).filter(u=>u.tagName==="SELECT"?Array.from(u.options).filter(f=>f.selected).some(f=>l(mr(f),f,t,d)):l(u.value,u,t,d))},"queryAllByDisplayValue"),D_=o((e,t)=>"Found multiple elements with the display value: "+t+".","getMultipleError$4"),L_=o((e,t)=>"Unable to find an element with the display value: "+t+".","getMissingError$4"),em=ye(Qi,Qi.name,"queryAll"),[tm,rm,nm,om,im]=We(Qi,D_,L_),$_=/^(img|input|area|.+-.+)$/i,Zi=o(function(e,t,r){return r===void 0&&(r={}),ze(e),_t("alt",e,t,r).filter(n=>$_.test(n.tagName))},"queryAllByAltText"),F_=o((e,t)=>"Found multiple elements with the alt text: "+t,"getMultipleError$3"),V_=o((e,t)=>"Unable to find an element with the alt text: "+t,"getMissingError$3"),am=ye(Zi,Zi.name,"queryAll"),[sm,lm,um,cm,dm]=We(Zi,F_,V_),H_=o(e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},"isSvgTitle"),ea=o(function(e,t,r){let{exact:n=!0,collapseWhitespace:i,trim:a,normalizer:s}=r===void 0?{}:r;ze(e);const l=n?Ve:Dt,d=wt({collapseWhitespace:i,trim:a,normalizer:s});return Array.from(e.querySelectorAll("[title], svg > title")).filter(u=>l(u.getAttribute("title"),u,t,d)||H_(u)&&l(mr(u),u,t,d))},"queryAllByTitle"),U_=o((e,t)=>"Found multiple elements with the title: "+t+".","getMultipleError$2"),z_=o((e,t)=>"Unable to find an element with the title: "+t+".","getMissingError$2"),fm=ye(ea,ea.name,"queryAll"),[pm,mm,hm,bm,ym]=We(ea,U_,z_),ta=o(function(e,t,r){let{hidden:n=G().defaultHidden,name:i,description:a,queryFallbacks:s=!1,selected:l,busy:d,checked:u,pressed:c,current:f,level:p,expanded:m,value:{now:b,min:_,max:w,text:h}={}}=r===void 0?{}:r;if(ze(e),l!==void 0){var C;if(((C=Te.roles.get(t))==null?void 0:C.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(d!==void 0){var q;if(((q=Te.roles.get(t))==null?void 0:q.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(u!==void 0){var j;if(((j=Te.roles.get(t))==null?void 0:j.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(c!==void 0){var M;if(((M=Te.roles.get(t))==null?void 0:M.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(f!==void 0){var T;if(((T=Te.roles.get(t))==null?void 0:T.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(p!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(b!==void 0){var R;if(((R=Te.roles.get(t))==null?void 0:R.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(w!==void 0){var y;if(((y=Te.roles.get(t))==null?void 0:y.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(_!==void 0){var v;if(((v=Te.roles.get(t))==null?void 0:v.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(h!==void 0){var N;if(((N=Te.roles.get(t))==null?void 0:N.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(m!==void 0){var x;if(((x=Te.roles.get(t))==null?void 0:x.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}const k=new WeakMap;function D(I){return k.has(I)||k.set(I,Rl(I)),k.get(I)}return o(D,"cachedIsSubtreeInaccessible"),Array.from(e.querySelectorAll(vm(t))).filter(I=>{if(I.hasAttribute("role")){const Q=I.getAttribute("role");if(s)return Q.split(" ").filter(Boolean).some(ae=>ae===t);const[H]=Q.split(" ");return H===t}return Yo(I).some(Q=>Q===t)}).filter(I=>{if(l!==void 0)return l===gp(I);if(d!==void 0)return d===Ep(I);if(u!==void 0)return u===wp(I);if(c!==void 0)return c===_p(I);if(f!==void 0)return f===Cp(I);if(m!==void 0)return m===Rp(I);if(p!==void 0)return p===Tp(I);if(b!==void 0||w!==void 0||_!==void 0||h!==void 0){let L=!0;if(b!==void 0&&L&&(L=b===Pp(I)),w!==void 0&&L&&(L=w===qp(I)),_!==void 0&&L&&(L=_===Sp(I)),h!==void 0){var V;L&&(L=Ve((V=xp(I))!=null?V:null,I,h,Q=>Q))}return L}return!0}).filter(I=>i===void 0?!0:Ve(Ko(I,{computedStyleSupportsPseudoElements:G().computedStyleSupportsPseudoElements}),I,i,V=>V)).filter(I=>a===void 0?!0:Ve(ml(I,{computedStyleSupportsPseudoElements:G().computedStyleSupportsPseudoElements}),I,a,V=>V)).filter(I=>n===!1?dn(I,{isSubtreeInaccessible:D})===!1:!0)},"queryAllByRole");function vm(e){var t;const r='*[role~="'+e+'"]',n=(t=Te.roleElements.get(e))!=null?t:new Set,i=new Set(Array.from(n).map(a=>{let{name:s}=a;return s}));return[r].concat(Array.from(i)).join(",")}o(vm,"makeRoleSelector");var gm=o(e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},"getNameHint"),W_=o(function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+gm(n)},"getMultipleError$1"),G_=o(function(e,t,r){let{hidden:n=G().defaultHidden,name:i,description:a}=r===void 0?{}:r;if(G()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+gm(i);let s="";Array.from(e.children).forEach(c=>{s+=Pl(c,{hidden:n,includeDescription:a!==void 0})});let l;s.length===0?n===!1?l="There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":l="There are no available roles.":l=(`
131
+ Here are the `+(n===!1?"accessible":"available")+` roles:
132
+
133
+ `+s.replace(/\n/g,`
134
+ `).replace(/\n\s\s\n/g,`
135
+
136
+ `)+`
137
+ `).trim();let d="";i===void 0?d="":typeof i=="string"?d=' and name "'+i+'"':d=" and name `"+i+"`";let u="";return a===void 0?u="":typeof a=="string"?u=' and description "'+a+'"':u=" and description `"+a+"`",(`
138
+ Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+d+u+`
139
+
140
+ `+l).trim()},"getMissingError$1"),Em=ye(ta,ta.name,"queryAll"),[wm,_m,Cm,Rm,Tm]=We(ta,W_,G_),xl=o(()=>G().testIdAttribute,"getTestIdAttribute"),ra=o(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return ze(t[0]),_t(xl(),...t)},"queryAllByTestId"),K_=o((e,t)=>"Found multiple elements by: ["+xl()+'="'+t+'"]',"getMultipleError"),J_=o((e,t)=>"Unable to find an element by: ["+xl()+'="'+t+'"]',"getMissingError"),Pm=ye(ra,ra.name,"queryAll"),[qm,Sm,xm,Am,Om]=We(ra,K_,J_),Qn=Object.freeze({__proto__:null,queryAllByLabelText:Fp,queryByLabelText:jp,getAllByLabelText:Lp,getByLabelText:$p,findAllByLabelText:Bp,findByLabelText:Dp,queryByPlaceholderText:Hp,queryAllByPlaceholderText:Vp,getByPlaceholderText:zp,getAllByPlaceholderText:Up,findAllByPlaceholderText:Wp,findByPlaceholderText:Gp,queryByText:Jp,queryAllByText:Kp,getByText:Yp,getAllByText:Xp,findAllByText:Qp,findByText:Zp,queryByDisplayValue:tm,queryAllByDisplayValue:em,getByDisplayValue:nm,getAllByDisplayValue:rm,findAllByDisplayValue:om,findByDisplayValue:im,queryByAltText:sm,queryAllByAltText:am,getByAltText:um,getAllByAltText:lm,findAllByAltText:cm,findByAltText:dm,queryByTitle:pm,queryAllByTitle:fm,getByTitle:hm,getAllByTitle:mm,findAllByTitle:bm,findByTitle:ym,queryByRole:wm,queryAllByRole:Em,getAllByRole:_m,getByRole:Cm,findAllByRole:Rm,findByRole:Tm,queryByTestId:qm,queryAllByTestId:Pm,getByTestId:xm,getAllByTestId:Sm,findAllByTestId:Am,findByTestId:Om});function Zn(e,t,r){return t===void 0&&(t=Qn),r===void 0&&(r={}),Object.keys(t).reduce((n,i)=>{const a=t[i];return n[i]=a.bind(null,e),n},r)}o(Zn,"getQueriesForElement");var Mm=o(e=>!e||Array.isArray(e)&&!e.length,"isRemoved");function na(e){if(Mm(e))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}o(na,"initialCheck");async function Im(e,t){const r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){na(e);const i=(Array.isArray(e)?e:[e]).map(a=>{let s=a.parentElement;if(s===null)return()=>null;for(;s.parentElement;)s=s.parentElement;return()=>s.contains(a)?a:null});e=o(()=>i.map(a=>a()).filter(Boolean),"callback")}return na(e()),Qo(()=>{let n;try{n=e()}catch(i){if(i.name==="TestingLibraryElementError")return;throw i}if(!Mm(n))throw r},t)}o(Im,"waitForElementToBeRemoved");var qu={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},pageHide:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},pageShow:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}}},Su={doubleClick:"dblClick"};function nr(e,t){return G().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}o(nr,"fireEvent");function Or(e,t,r,n){let{EventType:i="Event",defaultInit:a={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');const s={...a,...r},{target:{value:l,files:d,...u}={}}=s;l!==void 0&&Nm(t,l),d!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:d}),Object.assign(t,u);const c=vl(t),f=c[i]||c.Event;let p;if(typeof f=="function")p=new f(e,s);else{p=c.document.createEvent(i);const{bubbles:b,cancelable:_,detail:w,...h}=s;p.initEvent(e,b,_,w),Object.keys(h).forEach(C=>{p[C]=h[C]})}return["dataTransfer","clipboardData"].forEach(b=>{const _=s[b];typeof _=="object"&&(typeof c.DataTransfer=="function"?Object.defineProperty(p,b,{value:Object.getOwnPropertyNames(_).reduce((w,h)=>(Object.defineProperty(w,h,{value:_[h]}),w),new c.DataTransfer)}):Object.defineProperty(p,b,{value:_}))}),p}o(Or,"createEvent");Object.keys(qu).forEach(e=>{const{EventType:t,defaultInit:r}=qu[e],n=e.toLowerCase();Or[e]=(i,a)=>Or(n,i,a,{EventType:t,defaultInit:r}),nr[e]=(i,a)=>nr(i,Or[e](i,a))});function Nm(e,t){const{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:i}=Object.getOwnPropertyDescriptor(n,"value")||{};if(i&&r!==i)i.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}o(Nm,"setNativeValue");Object.keys(Su).forEach(e=>{const t=Su[e];nr[e]=function(){return nr[t](...arguments)}});function jm(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
141
+ `)}o(jm,"unindent");function km(e){return h_.default.compressToEncodedURIComponent(jm(e))}o(km,"encode");function Bm(e){return"https://testing-playground.com/#markup="+km(e)}o(Bm,"getPlaygroundUrl");var X_=o((e,t,r)=>Array.isArray(e)?e.forEach(n=>Ki(n,t,r)):Ki(e,t,r),"debug"),Y_=o(function(e){if(e===void 0&&(e=Jo().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}const t=Bm(e.innerHTML);return console.log(`Open this URL in your browser
142
+
143
+ `+t),t},"logTestingPlaygroundURL"),xu={debug:X_,logTestingPlaygroundURL:Y_},Q_=typeof document<"u"&&document.body?Zn(document.body,Qn,xu):Object.keys(Qn).reduce((e,t)=>(e[t]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},e),xu);function z(e,t,r){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:r?Object.entries(r).every(([n,i])=>e[n]===i):!0}o(z,"isElementType");function Re(e){var t;if(Dm(e)&&e.defaultView)return e.defaultView;if(!((t=e.ownerDocument)===null||t===void 0)&&t.defaultView)return e.ownerDocument.defaultView;throw new Error(`Could not determine window of node. Node was ${Lm(e)}`)}o(Re,"getWindow");function Dm(e){return e.nodeType===9}o(Dm,"isDocument");function Lm(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}o(Lm,"describe");function Al(e,t){return new Promise((r,n)=>{const i=new t;i.onerror=n,i.onabort=n,i.onload=()=>{r(String(i.result))},i.readAsText(e)})}o(Al,"readBlobText");function ei(e,t){const r={...t,length:t.length,item:o(n=>r[n],"item"),[Symbol.iterator]:o(function*(){for(let i=0;i<r.length;i++)yield r[i]},"nextFile")};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}o(ei,"createFileList");function Ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}o(Ze,"_define_property");var $m=class{getAsFile(){return this.file}getAsString(t){typeof this.data=="string"&&t(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(t,r){Ze(this,"kind",void 0),Ze(this,"type",void 0),Ze(this,"file",null),Ze(this,"data",void 0),typeof t=="string"?(this.kind="string",this.type=String(r),this.data=t):(this.kind="file",this.type=t.type,this.file=t)}};o($m,"DataTransferItemStub");var Fm=$m,Vm=class extends Array{add(...t){const r=new Fm(t[0],t[1]);return this.push(r),r}clear(){this.splice(0,this.length)}remove(t){this.splice(t,1)}};o(Vm,"DataTransferItemListStub");var Z_=Vm;function _r(e,t){const[r,n]=e.split("/"),i=!n||n==="*";return a=>t?a.type===(i?r:e):i?a.type.startsWith(`${r}/`):a.type===r}o(_r,"getTypeMatcher");function Hm(e){var t;return new(t=class{getData(r){var n;const i=(n=this.items.find(_r(r,!0)))!==null&&n!==void 0?n:this.items.find(_r(r,!1));let a="";return i?.getAsString(s=>{a=s}),a}setData(r,n){const i=this.items.findIndex(_r(r,!0)),a=new Fm(n,r);i>=0?this.items.splice(i,1,a):this.items.push(a)}clearData(r){if(r){const n=this.items.findIndex(_r(r,!0));n>=0&&this.items.remove(n)}else this.items.clear()}get types(){const r=[];return this.files.length&&r.push("Files"),this.items.forEach(n=>r.push(n.type)),Object.freeze(r),r}setDragImage(){}constructor(){Ze(this,"dropEffect","none"),Ze(this,"effectAllowed","uninitialized"),Ze(this,"items",new Z_),Ze(this,"files",ei(e,[]))}},o(t,"DataTransferStub"),t)}o(Hm,"createDataTransferStub");function ti(e,t=[]){const r=typeof e.DataTransfer>"u"?Hm(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:o(()=>ei(e,t),"get")}),r}o(ti,"createDataTransfer");async function Um(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}o(Um,"getBlobFromDataTransferItem");function Ol(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}o(Ol,"_define_property");function Ml(e,...t){var r;const n=Object.fromEntries(t.map(i=>[typeof i=="string"?"text/plain":i.type,Promise.resolve(i)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(n):new(r=class{get types(){return Array.from(Object.keys(this.data))}async getType(i){const a=await this.data[i];if(!a)throw new Error(`${i} is not one of the available MIME types on this item.`);return a instanceof e.Blob?a:new e.Blob([a],{type:i})}constructor(i){Ol(this,"data",void 0),this.data=i}},o(r,"ClipboardItem"),r)(n)}o(Ml,"createClipboardItem");var or=Symbol("Manage ClipboardSub");function oa(e,t){var r;return Object.assign(new(r=class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let n="";for(const i of this.items){const a=i.types.includes("text/plain")?"text/plain":i.types.find(s=>s.startsWith("text/"));a&&(n+=await i.getType(a).then(s=>Al(s,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[Ml(e,n)]}constructor(...n){super(...n),Ol(this,"items",[])}},o(r,"Clipboard"),r),{[or]:t})}o(oa,"createClipboardStub");function ri(e){return!!e?.[or]}o(ri,"isClipboardStub");function zm(e){if(ri(e.navigator.clipboard))return e.navigator.clipboard[or];const t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard");let r;const n={resetClipboardStub:o(()=>{r=oa(e,n)},"resetClipboardStub"),detachClipboardStub:o(()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})},"detachClipboardStub")};return r=oa(e,n),Object.defineProperty(e.navigator,"clipboard",{get:o(()=>r,"get"),configurable:!0}),r[or]}o(zm,"attachClipboardStubToView");function Wm(e){ri(e.navigator.clipboard)&&e.navigator.clipboard[or].resetClipboardStub()}o(Wm,"resetClipboardStubOnView");function Gm(e){ri(e.navigator.clipboard)&&e.navigator.clipboard[or].detachClipboardStub()}o(Gm,"detachClipboardStubFromView");async function Km(e){const t=e.defaultView,r=t?.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");const i=ti(t);for(const a of n)for(const s of a.types)i.setData(s,await a.getType(s).then(l=>Al(l,t.FileReader)));return i}o(Km,"readDataTransferFromClipboard");async function Il(e,t){const r=Re(e),n=r.navigator.clipboard,i=[];for(let s=0;s<t.items.length;s++){const l=t.items[s],d=await Um(r,l);i.push(Ml(r,d))}if(!(n&&await n.write(i).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}o(Il,"writeDataTransferToClipboard");var eo=globalThis;typeof eo.afterEach=="function"&&eo.afterEach(()=>{typeof globalThis.window<"u"&&Wm(globalThis.window)});typeof eo.afterAll=="function"&&eo.afterAll(()=>{typeof globalThis.window<"u"&&Gm(globalThis.window)});var Jm=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])"].join(", ");function ni(e){return e.matches(Jm)}o(ni,"isFocusable");function Xm(e){return new e.constructor(e.type,e)}o(Xm,"cloneEvent");function He(e){for(let r=e;r;r=r.parentElement)if(z(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(z(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}o(He,"isDisabled");function br(e){const t=e.activeElement;return t?.shadowRoot?br(t.shadowRoot):He(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}o(br,"getActiveElement");function _n(e){var t;return(t=br(e))!==null&&t!==void 0?t:e.body}o(_n,"getActiveElementOrBody");function Ym(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}o(Ym,"findClosest");function yt(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}o(yt,"isContentEditable");function ir(e){const t=Qm(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}o(ir,"getContentEditable");function Qm(e){return e.nodeType===1?e:e.parentElement}o(Qm,"getElement");var Zm=(function(e){return e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio",e})(Zm||{});function Nl(e){return z(e,"button")||z(e,"input")&&e.type in Zm}o(Nl,"isClickableInput");function It(e){return jl(e)&&!e.readOnly||yt(e)}o(It,"isEditable");var eh=(function(e){return e.text="text",e.date="date",e["datetime-local"]="datetime-local",e.email="email",e.month="month",e.number="number",e.password="password",e.search="search",e.tel="tel",e.time="time",e.url="url",e.week="week",e})(eh||{});function jl(e){return z(e,"textarea")||z(e,"input")&&e.type in eh}o(jl,"isEditableInputOrTextArea");function Me(e){return kl(e)&&jl(e)}o(Me,"hasOwnSelection");function th(e){return kl(e)&&Nl(e)}o(th,"hasNoSelection");function kl(e){return e.nodeType===1}o(kl,"isElement");function rh(e){const t=e.ownerDocument.getSelection();if(t?.focusNode&&Me(e)){const n=ir(t.focusNode);if(n){if(!t.isCollapsed){var r;const i=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(i,0,i,0)}}else t.setBaseAndExtent(e,0,e,0)}}o(rh,"updateSelectionOnFocus");function Nt(e,t){return G().eventWrapper(e)}o(Nt,"wrapEvent");function nt(e){const t=Ym(e,ni),r=br(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(Nt(t?()=>t.focus():()=>r?.blur()),rh(t??e.ownerDocument.body))}o(nt,"focusElement");function nh(e){!ni(e)||!(br(e.ownerDocument)===e)||Nt(()=>e.blur())}o(nh,"blurElement");var vt={};vt.click=(e,t,r)=>{const n=t.closest("button,input,label,select,textarea"),i=n&&z(n,"label")&&n.control;if(i&&i!==t)return()=>{ni(i)&&(nt(i),r.dispatchEvent(i,Xm(e)))};if(z(t,"input",{type:"file"}))return()=>{nh(t),t.dispatchEvent(new(Re(t)).Event("fileDialog")),nt(t)}};var ar=Symbol("Displayed value in UI"),et=Symbol("Displayed selection in UI"),to=Symbol("Initial value to compare on blur");function oh(e){return typeof e=="object"&&ar in e}o(oh,"isUIValue");function ih(e){return!!e&&typeof e=="object"&&et in e}o(ih,"isUISelectionStart");function ah(e,t){e[to]===void 0&&(e[to]=e.value),e[ar]=t,e.value=Object.assign(new String(t),{[ar]:!0})}o(ah,"setUIValue");function Ie(e){return e[ar]===void 0?e.value:String(e[ar])}o(Ie,"getUIValue");function oi(e){e[ar]=void 0}o(oi,"setUIValueClean");function Bl(e){e[to]=void 0}o(Bl,"clearInitialValue");function sh(e){return e[to]}o(sh,"getInitialValue");function lh(e,t){e[et]=t}o(lh,"setUISelectionRaw");function Lt(e,{focusOffset:t,anchorOffset:r=t},n="replace"){const i=Ie(e).length,a=o(f=>Math.max(0,Math.min(i,f)),"sanitizeOffset"),s=n==="replace"||e[et]===void 0?a(r):e[et].anchorOffset,l=a(t),d=Math.min(s,l),u=Math.max(s,l);if(e[et]={anchorOffset:s,focusOffset:l},e.selectionStart===d&&e.selectionEnd===u)return;const c=Object.assign(new Number(d),{[et]:!0});try{e.setSelectionRange(c,u)}catch{}}o(Lt,"setUISelection");function sr(e){var t,r,n;const i=(n=e[et])!==null&&n!==void 0?n:{anchorOffset:(t=e.selectionStart)!==null&&t!==void 0?t:0,focusOffset:(r=e.selectionEnd)!==null&&r!==void 0?r:0};return{...i,startOffset:Math.min(i.anchorOffset,i.focusOffset),endOffset:Math.max(i.anchorOffset,i.focusOffset)}}o(sr,"getUISelection");function uh(e){return!!e[et]}o(uh,"hasUISelection");function Mr(e){e[et]=void 0}o(Mr,"setUISelectionClean");var ro=globalThis.parseInt;function ch(e){const t=e.replace(/\D/g,"");if(t.length<2)return e;const r=ro(t[0],10),n=ro(t[1],10);if(r>=3||r===2&&n>=4){let i;return r>=3?i=1:i=2,ia(t,i)}return e.length===2?e:ia(t,2)}o(ch,"buildTimeValue");function ia(e,t){const r=e.slice(0,t),n=Math.min(ro(r,10),23),i=e.slice(t),a=ro(i,10),s=Math.min(a,59);return`${n.toString().padStart(2,"0")}:${s.toString().padStart(2,"0")}`}o(ia,"build");function Dl(e,t){const r=e.cloneNode();return r.value=t,r.value===t}o(Dl,"isValidDateOrTimeValue");var dh=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(dh||{});function fh(e){var t;const r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}o(fh,"getMaxLength");function ph(e){return z(e,"textarea")||z(e,"input")&&e.type in dh}o(ph,"supportsMaxLength");function Ll(e,t,r,n){if(Ir(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};const i=aa(e,t,r);if(i){if(Ir(i))return{node:i,offset:r>0?Math.min(1,i.nodeValue.length):Math.max(i.nodeValue.length-1,0)};if(z(i,"br")){const a=aa(i,void 0,r);return a?Ir(a)?{node:a,offset:r>0?0:a.nodeValue.length}:r<0&&z(a,"br")?{node:i.parentNode,offset:Cr(i)}:{node:a.parentNode,offset:Cr(a)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:i.parentNode,offset:Cr(i)}:void 0}else return{node:i.parentNode,offset:Cr(i)+(r>0?1:0)}}}o(Ll,"getNextCursorPosition");function aa(e,t,r){const n=Number(t)+(r<0?-1:0);return t!==void 0&&ii(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),hh(e,r===1?"next":"previous",mh)}o(aa,"getNextCharacterContentNode");function mh(e){if(Ir(e))return!0;if(ii(e)){if(z(e,["input","textarea"]))return e.type!=="hidden";if(z(e,"br"))return!0}return!1}o(mh,"isTreatedAsCharacterContent");function Cr(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}o(Cr,"getOffset");function ii(e){return e.nodeType===1}o(ii,"isElement");function Ir(e){return e.nodeType===3}o(Ir,"isTextNode");function hh(e,t,r){for(;;){var n;const i=e[`${t}Sibling`];if(i){if(e=bh(i,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!ii(e.parentNode)||!yt(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}o(hh,"walkNodes");function bh(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}o(bh,"getDescendant");var Gr=Symbol("Track programmatic changes for React workaround");function yh(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&Re(e).REACT_VERSION===17}o(yh,"isReact17Element");function vh(e){yh(e)&&(e[Gr]={previousValue:String(e.value),tracked:[]})}o(vh,"startTrackValue");function gh(e,t){var r,n;(n=e[Gr])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[Gr]||(oi(e),Lt(e,{focusOffset:t.length}))}o(gh,"trackOrSetValue");function Eh(e,t){var r;const n=e[Gr];if(e[Gr]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;const i=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;i||oi(e),uh(e)&&Lt(e,{focusOffset:i?t:e.value.length})}o(Eh,"commitValueAfterInput");function $l(e){const t=wh(e);if(t&&Me(t))return{type:"input",selection:sr(t)};const r=t?.ownerDocument.getSelection();return{type:ir(e)&&r?.anchorNode&&ir(r.anchorNode)?"contenteditable":"default",selection:r}}o($l,"getTargetTypeAndSelection");function wh(e){return e.nodeType===1?e:e.parentElement}o(wh,"getElement");function _h(e){const t=$l(e);if(t.type==="input")return t.selection;if(t.type==="contenteditable"){var r;return(r=t.selection)===null||r===void 0?void 0:r.getRangeAt(0)}}o(_h,"getInputRange");function gt({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var i,a;if($l(e).type==="input")return Lt(e,{anchorOffset:n,focusOffset:t});(a=r.ownerDocument)===null||a===void 0||(i=a.getSelection())===null||i===void 0||i.setBaseAndExtent(r,n,e,t)}o(gt,"setSelection");function Fl(e){return z(e,"input")&&["date","time"].includes(e.type)}o(Fl,"isDateOrTime");function jt(e,t,r,n="insertText"){const i=_h(t);i&&(!Fl(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in i?Ch(e,t,i,r,n):Rh(e,t,i,r,n)))}o(jt,"input");function Ch(e,t,r,n,i){let a=!1;if(!r.collapsed)a=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(i)){const s=Ll(r.startContainer,r.startOffset,i==="deleteContentBackward"?-1:1,i);if(s){a=!0;const l=r.cloneRange();l.comparePoint(s.node,s.offset)<0?l.setStart(s.node,s.offset):l.setEnd(s.node,s.offset),l.deleteContents()}}if(n)if(r.endContainer.nodeType===3){const s=r.endOffset;r.endContainer.insertData(s,n),r.setStart(r.endContainer,s+n.length),r.setEnd(r.endContainer,s+n.length)}else{const s=t.ownerDocument.createTextNode(n);r.insertNode(s),r.setStart(s,n.length),r.setEnd(s,n.length)}(a||n)&&e.dispatchUIEvent(t,"input",{inputType:i})}o(Ch,"editContenteditable");function Rh(e,t,r,n,i){let a=n;if(ph(t)){const u=fh(t);if(u!==void 0&&n.length>0){const c=u-t.value.length;if(c>0)a=n.substring(0,c);else return}}const{newValue:s,newOffset:l,oldValue:d}=Th(a,t,r,i);s===d&&l===r.startOffset&&l===r.endOffset||z(t,"input",{type:"number"})&&!Ph(s)||(ah(t,s),gt({focusNode:t,anchorOffset:l,focusOffset:l}),Fl(t)?Dl(t,s)&&(sa(e,t,l,{}),e.dispatchUIEvent(t,"change"),Bl(t)):sa(e,t,l,{data:n,inputType:i}))}o(Rh,"editInputElement");function Th(e,t,{startOffset:r,endOffset:n},i){const a=Ie(t),s=Math.max(0,r===n&&i==="deleteContentBackward"?r-1:r),l=a.substring(0,s),d=Math.min(a.length,r===n&&i==="deleteContentForward"?r+1:n),u=a.substring(d,a.length);let c=`${l}${e}${u}`,f=s+e.length;if(z(t,"input",{type:"time"})){const p=ch(c);p!==""&&Dl(t,p)&&(c=p,f=p.length)}return{oldValue:a,newValue:c,newOffset:f}}o(Th,"calculateNewValue");function sa(e,t,r,n){e.dispatchUIEvent(t,"input",n),Eh(t,r)}o(sa,"commitInput");function Ph(e){var t,r;const n=e.split("e",2);return!(/[^\d.\-e]/.test(e)||Number((t=e.match(/-/g))===null||t===void 0?void 0:t.length)>2||Number((r=e.match(/\./g))===null||r===void 0?void 0:r.length)>1||n[1]&&!/^-?\d*$/.test(n[1]))}o(Ph,"isValidNumberInput");vt.cut=(e,t,r)=>()=>{It(t)&&jt(r,t,"","deleteByCut")};function qh(e){return e?yt(e)?e.textContent:Ie(e):null}o(qh,"getValueOrTextContent");function Sh(e){const t=Re(e);for(let r=e;r?.ownerDocument;r=r.parentElement){const{display:n,visibility:i}=t.getComputedStyle(r);if(n==="none"||i==="hidden")return!1}return!0}o(Sh,"isVisible");function xh(e,t){const r=e.ownerDocument,n=r.querySelectorAll(Jm),i=Array.from(n).filter(d=>d===e||!(Number(d.getAttribute("tabindex"))<0||He(d)));Number(e.getAttribute("tabindex"))>=0&&i.sort((d,u)=>{const c=Number(d.getAttribute("tabindex")),f=Number(u.getAttribute("tabindex"));return c===f?0:c===0?1:f===0?-1:c-f});const a={};let s=[r.body];const l=z(e,"input",{type:"radio"})?e.name:void 0;i.forEach(d=>{const u=d;if(z(u,"input",{type:"radio"})&&u.name){if(u===e){s.push(u);return}else if(u.name===l)return;if(u.checked){s=s.filter(c=>!z(c,"input",{type:"radio",name:u.name})),s.push(u),a[u.name]=u;return}if(typeof a[u.name]<"u")return}s.push(u)});for(let d=s.findIndex(u=>u===e);;)if(d+=t?-1:1,d===s.length?d=0:d===-1&&(d=s.length-1),s[d]===e||s[d]===r.body||Sh(s[d]))return s[d]}o(xh,"getTabDestination");function la(e,t){if(Me(e)){const r=sr(e);gt({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{const r=e.ownerDocument.getSelection();if(!r?.focusNode)return;if(r.isCollapsed){const n=Ll(r.focusNode,r.focusOffset,t);n&&gt({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}o(la,"moveSelection");function Vl(e){if(Me(e))return gt({focusNode:e,anchorOffset:0,focusOffset:Ie(e).length});var t;const r=(t=ir(e))!==null&&t!==void 0?t:e.ownerDocument.body;gt({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}o(Vl,"selectAll");function Ah(e){if(Me(e))return sr(e).startOffset===0&&sr(e).endOffset===Ie(e).length;var t;const r=(t=ir(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return n?.anchorNode===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}o(Ah,"isAllSelected");function Vt(e,t,r){var n;if(Me(e))return gt({focusNode:e,anchorOffset:t,focusOffset:r});if(yt(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return gt({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}o(Vt,"setSelectionRange");function Rr(e,t,r){const n=Re(t),i=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${n.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let a=i.findIndex(s=>s===t)+r;;a+=r){if(i[a]||(a=r>0?0:i.length-1),i[a]===t)return;if(!He(i[a])){nt(i[a]),e.dispatchUIEvent(i[a],"click");return}}}o(Rr,"walkRadio");vt.keydown=(e,t,r)=>{var n,i;return(i=(n=Au[e.key])===null||n===void 0?void 0:n.call(Au,e,t,r))!==null&&i!==void 0?i:eC(e,t,r)};var Au={ArrowDown:o((e,t,r)=>{if(z(t,"input",{type:"radio"}))return()=>Rr(r,t,1)},"ArrowDown"),ArrowLeft:o((e,t,r)=>z(t,"input",{type:"radio"})?()=>Rr(r,t,-1):()=>la(t,-1),"ArrowLeft"),ArrowRight:o((e,t,r)=>z(t,"input",{type:"radio"})?()=>Rr(r,t,1):()=>la(t,1),"ArrowRight"),ArrowUp:o((e,t,r)=>{if(z(t,"input",{type:"radio"}))return()=>Rr(r,t,-1)},"ArrowUp"),Backspace:o((e,t,r)=>{if(It(t))return()=>{jt(r,t,"","deleteContentBackward")}},"Backspace"),Delete:o((e,t,r)=>{if(It(t))return()=>{jt(r,t,"","deleteContentForward")}},"Delete"),End:o((e,t)=>{if(z(t,["input","textarea"])||yt(t))return()=>{var r,n;const i=(n=(r=qh(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;Vt(t,i,i)}},"End"),Home:o((e,t)=>{if(z(t,["input","textarea"])||yt(t))return()=>{Vt(t,0,0)}},"Home"),PageDown:o((e,t)=>{if(z(t,["input"]))return()=>{const r=Ie(t).length;Vt(t,r,r)}},"PageDown"),PageUp:o((e,t)=>{if(z(t,["input"]))return()=>{Vt(t,0,0)}},"PageUp"),Tab:o((e,t,r)=>()=>{const n=xh(t,r.system.keyboard.modifiers.Shift);nt(n),Me(n)&&Lt(n,{anchorOffset:0,focusOffset:n.value.length})},"Tab")},eC=o((e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>Vl(t)},"combinationBehavior");vt.keypress=(e,t,r)=>{if(e.key==="Enter"){if(z(t,"button")||z(t,"input")&&tC.includes(t.type)||z(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(z(t,"input")){const n=t.form,i=n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return i?()=>r.dispatchUIEvent(i,"click"):n&&rC.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(It(t)){const n=e.key==="Enter"?yt(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",i=e.key==="Enter"?`
144
+ `:e.key;return()=>jt(r,t,i,n)}};var tC=["button","color","file","image","reset","submit"],rC=["email","month","password","search","tel","text","url","week"];vt.keyup=(e,t,r)=>{var n;return(n=Ou[e.key])===null||n===void 0?void 0:n.call(Ou,e,t,r)};var Ou={" ":o((e,t,r)=>{if(Nl(t))return()=>r.dispatchUIEvent(t,"click")}," ")};vt.paste=(e,t,r)=>{if(It(t))return()=>{var n;const i=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");i&&jt(r,t,i,"insertFromPaste")}};var Oh={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusin:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusout:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},keydown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}}};function Hl(e){return Oh[e].EventType}o(Hl,"getEventClass");var nC=["MouseEvent","PointerEvent"];function Mh(e){return nC.includes(Hl(e))}o(Mh,"isMouseEvent");function Ih(e){return Hl(e)==="KeyboardEvent"}o(Ih,"isKeyboardEvent");var oC={ClipboardEvent:[jh],Event:[],FocusEvent:[$t,kh],InputEvent:[$t,Bh],MouseEvent:[$t,Cn,ua],PointerEvent:[$t,Cn,ua,Lh],KeyboardEvent:[$t,Cn,Dh]};function Ul(e,t,r){const n=Re(t),{EventType:i,defaultInit:a}=Oh[e],s=new(Nh(n))[i](e,a);return oC[i].forEach(l=>l(s,r??{})),s}o(Ul,"createEvent");function Nh(e){var t,r,n,i,a,s,l,d,u,c,f,p,m,b,_,w;const h=(w=e.Event)!==null&&w!==void 0?w:(t=class{},o(t,"Event"),t);var C;const q=(C=e.AnimationEvent)!==null&&C!==void 0?C:(r=class extends h{},o(r,"AnimationEvent"),r);var j;const M=(j=e.ClipboardEvent)!==null&&j!==void 0?j:(n=class extends h{},o(n,"ClipboardEvent"),n);var T;const R=(T=e.PopStateEvent)!==null&&T!==void 0?T:(i=class extends h{},o(i,"PopStateEvent"),i);var y;const v=(y=e.ProgressEvent)!==null&&y!==void 0?y:(a=class extends h{},o(a,"ProgressEvent"),a);var N;const x=(N=e.TransitionEvent)!==null&&N!==void 0?N:(s=class extends h{},o(s,"TransitionEvent"),s);var k;const D=(k=e.UIEvent)!==null&&k!==void 0?k:(l=class extends h{},o(l,"UIEvent"),l);var I;const V=(I=e.CompositionEvent)!==null&&I!==void 0?I:(d=class extends D{},o(d,"CompositionEvent"),d);var L;const Q=(L=e.FocusEvent)!==null&&L!==void 0?L:(u=class extends D{},o(u,"FocusEvent"),u);var H;const ae=(H=e.InputEvent)!==null&&H!==void 0?H:(c=class extends D{},o(c,"InputEvent"),c);var Ne;const Ct=(Ne=e.KeyboardEvent)!==null&&Ne!==void 0?Ne:(f=class extends D{},o(f,"KeyboardEvent"),f);var Ge;const je=(Ge=e.MouseEvent)!==null&&Ge!==void 0?Ge:(p=class extends D{},o(p,"MouseEvent"),p);var ke;const at=(ke=e.DragEvent)!==null&&ke!==void 0?ke:(m=class extends je{},o(m,"DragEvent"),m);var F;const st=(F=e.PointerEvent)!==null&&F!==void 0?F:(b=class extends je{},o(b,"PointerEvent"),b);var be;const yr=(be=e.TouchEvent)!==null&&be!==void 0?be:(_=class extends D{},o(_,"TouchEvent"),_);return{Event:h,AnimationEvent:q,ClipboardEvent:M,PopStateEvent:R,ProgressEvent:v,TransitionEvent:x,UIEvent:D,CompositionEvent:V,FocusEvent:Q,InputEvent:ae,KeyboardEvent:Ct,MouseEvent:je,DragEvent:at,PointerEvent:st,TouchEvent:yr}}o(Nh,"getEventConstructors");function it(e,t){for(const[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:o(()=>n??null,"get")})}o(it,"assignProps");function oe(e){return Number(e??0)}o(oe,"sanitizeNumber");function jh(e,{clipboardData:t}){it(e,{clipboardData:t})}o(jh,"initClipboardEvent");function kh(e,{relatedTarget:t}){it(e,{relatedTarget:t})}o(kh,"initFocusEvent");function Bh(e,{data:t,inputType:r,isComposing:n}){it(e,{data:t,isComposing:!!n,inputType:String(r)})}o(Bh,"initInputEvent");function $t(e,{view:t,detail:r}){it(e,{view:t,detail:oe(r??0)})}o($t,"initUIEvent");function Cn(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:i,modifierAltGraph:a,modifierCapsLock:s,modifierFn:l,modifierFnLock:d,modifierNumLock:u,modifierScrollLock:c,modifierSymbol:f,modifierSymbolLock:p}){it(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!i,getModifierState(m){return!!{Alt:t,AltGraph:a,CapsLock:s,Control:r,Fn:l,FnLock:d,Meta:n,NumLock:u,ScrollLock:c,Shift:i,Symbol:f,SymbolLock:p}[m]}})}o(Cn,"initUIEventModifiers");function Dh(e,{key:t,code:r,location:n,repeat:i,isComposing:a,charCode:s}){it(e,{key:String(t),code:String(r),location:oe(n),repeat:!!i,isComposing:!!a,charCode:s})}o(Dh,"initKeyboardEvent");function ua(e,{x:t,y:r,screenX:n,screenY:i,clientX:a=t,clientY:s=r,button:l,buttons:d,relatedTarget:u,offsetX:c,offsetY:f,pageX:p,pageY:m}){it(e,{screenX:oe(n),screenY:oe(i),clientX:oe(a),x:oe(a),clientY:oe(s),y:oe(s),button:oe(l),buttons:oe(d),relatedTarget:u,offsetX:oe(c),offsetY:oe(f),pageX:oe(p),pageY:oe(m)})}o(ua,"initMouseEvent");function Lh(e,{pointerId:t,width:r,height:n,pressure:i,tangentialPressure:a,tiltX:s,tiltY:l,twist:d,pointerType:u,isPrimary:c}){it(e,{pointerId:oe(t),width:oe(r??1),height:oe(n??1),pressure:oe(i),tangentialPressure:oe(a),tiltX:oe(s),tiltY:oe(l),twist:oe(d),pointerType:String(u),isPrimary:!!c})}o(Lh,"initPointerEvent");function $h(e,t,r,n=!1){(Mh(t)||Ih(t))&&(r={...r,...this.system.getUIEventModifiers()});const i=Ul(t,e,r);return zl.call(this,e,i,n)}o($h,"dispatchUIEvent");function zl(e,t,r=!1){var n;const i=t.type,a=r?()=>{}:(n=vt[i])===null||n===void 0?void 0:n.call(vt,t,e,this);if(a){t.preventDefault();let s=!1;return Object.defineProperty(t,"defaultPrevented",{get:o(()=>s,"get")}),Object.defineProperty(t,"preventDefault",{value:o(()=>{s=t.cancelable},"value")}),Nt(()=>e.dispatchEvent(t)),s||a(),!s}return Nt(()=>e.dispatchEvent(t))}o(zl,"dispatchEvent");function dt(e,t,r){const n=Ul(t,e,r);Nt(()=>e.dispatchEvent(n))}o(dt,"dispatchDOMEvent");var Mu=Symbol("patched focus/blur methods");function Wl(e){if(e.prototype[Mu])return;const{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,get:o(()=>i,"get")},blur:{configurable:!0,get:o(()=>a,"get")},[Mu]:{configurable:!0,get:o(()=>({focus:t,blur:r}),"get")}});let n;function i(s){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,s);const l=ca(this.ownerDocument);if(l===this)return;const d=Symbol("focus call");n=d,l&&(r.call(l),dt(l,"blur",{relatedTarget:this}),dt(l,"focusout",{relatedTarget:n===d?this:null})),n===d&&(t.call(this,s),dt(this,"focus",{relatedTarget:l})),n===d&&dt(this,"focusin",{relatedTarget:l})}o(i,"patchedFocus");function a(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);const s=ca(this.ownerDocument);if(s!==this)return;n=Symbol("blur call"),r.call(this),dt(s,"blur",{relatedTarget:null}),dt(s,"focusout",{relatedTarget:null})}o(a,"patchedBlur")}o(Wl,"patchFocus");function ca(e){const t=br(e);return t?.tagName==="BODY"?null:t}o(ca,"getActiveTarget");var pi=Symbol("Interceptor for programmatical calls");function Tt(e,t,r){const n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=Object.getOwnPropertyDescriptor(e,t),a=n?.set?"set":"value";if(typeof n?.[a]!="function"||n[a][pi])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function s(...l){const{applyNative:d=!1,realArgs:u,then:c}=r.call(this,...l),f=(!d&&i||n)[a];a==="set"?f.call(this,u):f.call(this,...u),c?.()}o(s,"intercept"),s[pi]=pi,Object.defineProperty(e,t,{...i??n,[a]:s})}o(Tt,"prepareInterceptor");function Fh(e){Tt(e,"value",o(function(r){const n=oh(r);return n&&vh(this),{applyNative:!!n,realArgs:Vh(this,r),then:n?void 0:()=>gh(this,String(r))}},"interceptorImpl"))}o(Fh,"prepareValueInterceptor");function Vh(e,t){return z(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}o(Vh,"sanitizeValue");function Hh(e){Tt(e,"setSelectionRange",o(function(r,...n){const i=ih(r);return{applyNative:!!i,realArgs:[Number(r),...n],then:o(()=>i?void 0:Mr(e),"then")}},"interceptorImpl")),Tt(e,"selectionStart",o(function(r){return{realArgs:r,then:o(()=>Mr(e),"then")}},"interceptorImpl")),Tt(e,"selectionEnd",o(function(r){return{realArgs:r,then:o(()=>Mr(e),"then")}},"interceptorImpl")),Tt(e,"select",o(function(){return{realArgs:[],then:o(()=>lh(e,{anchorOffset:0,focusOffset:Ie(e).length}),"then")}},"interceptorImpl"))}o(Hh,"prepareSelectionInterceptor");function Uh(e){Tt(e,"setRangeText",o(function(...r){return{realArgs:r,then:o(()=>{oi(e),Mr(e)},"then")}},"interceptorImpl"))}o(Uh,"prepareRangeTextInterceptor");var Kt=Symbol("Node prepared with document state workarounds");function Gl(e){e[Kt]||(e.addEventListener("focus",t=>{const r=t.target;da(r)},{capture:!0,passive:!0}),e.activeElement&&da(e.activeElement),e.addEventListener("blur",t=>{const r=t.target,n=sh(r);n!==void 0&&(r.value!==n&&dt(r,"change"),Bl(r))},{capture:!0,passive:!0}),e[Kt]=Kt)}o(Gl,"prepareDocument");function da(e){e[Kt]||(z(e,["input","textarea"])&&(Fh(e),Hh(e),Uh(e)),e[Kt]=Kt)}o(da,"prepareElement");function zh(e){return Wh(e)?e:e.ownerDocument}o(zh,"getDocumentFromNode");function Wh(e){return e.nodeType===9}o(Wh,"isDocument");var Ee=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function Ht(e,t){e.levelRefs[t]={}}o(Ht,"setLevelRef");function Tr(e,t){return e.levelRefs[t]}o(Tr,"getLevelRef");function kt(e){const t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}o(kt,"wait");var Rn=(function(e){return e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never",e})({});function ut(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}o(ut,"_define_property");var Be=(function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e})({}),iC=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function fa(e){return iC.includes(e)}o(fa,"isModifierKey");var aC=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function pa(e){return aC.includes(e)}o(pa,"isModifierLock");var Gh=class{isKeyPressed(t){return this.pressed.has(String(t.code))}getPressedKeys(){return this.pressed.values().map(t=>t.keyDef)}async keydown(t,r){const n=String(r.key),i=String(r.code),a=_n(t.config.document);this.setKeydownTarget(a),this.pressed.add(i,r),fa(n)&&(this.modifiers[n]=!0);const s=t.dispatchUIEvent(a,"keydown",{key:n,code:i});pa(n)&&!this.modifiers[n]&&(this.modifiers[n]=!0,this.modifierLockStart[n]=!0),s&&this.pressed.setUnprevented(i),s&&this.hasKeyPress(n)&&t.dispatchUIEvent(_n(t.config.document),"keypress",{key:n,code:i,charCode:r.key==="Enter"?13:String(r.key).charCodeAt(0)})}async keyup(t,r){const n=String(r.key),i=String(r.code),a=this.pressed.isUnprevented(i);this.pressed.delete(i),fa(n)&&!this.pressed.values().find(s=>s.keyDef.key===n)&&(this.modifiers[n]=!1),t.dispatchUIEvent(_n(t.config.document),"keyup",{key:n,code:i},!a),pa(n)&&this.modifiers[n]&&(this.modifierLockStart[n]?this.modifierLockStart[n]=!1:this.modifiers[n]=!1)}setKeydownTarget(t){t!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=t}hasKeyPress(t){return(t.length===1||t==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(t){ut(this,"system",void 0),ut(this,"modifiers",{Alt:!1,AltGraph:!1,CapsLock:!1,Control:!1,Fn:!1,FnLock:!1,Meta:!1,NumLock:!1,ScrollLock:!1,Shift:!1,Symbol:!1,SymbolLock:!1}),ut(this,"pressed",new class{add(r,n){var i,a,s;(s=(i=this.registry)[a=r])!==null&&s!==void 0||(i[a]={keyDef:n,unpreventedDefault:!1})}has(r){return!!this.registry[r]}setUnprevented(r){const n=this.registry[r];n&&(n.unpreventedDefault=!0)}isUnprevented(r){var n;return!!(!((n=this.registry[r])===null||n===void 0)&&n.unpreventedDefault)}delete(r){delete this.registry[r]}values(){return Object.values(this.registry)}constructor(){ut(this,"registry",{})}}),ut(this,"carryChar",""),ut(this,"lastKeydownTarget",void 0),ut(this,"modifierLockStart",{}),this.system=t}};o(Gh,"KeyboardHost");var sC=Gh,lC=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,key:e,shiftKey:!0})),..."abcdefghijklmnopqrstuvwxyz".split("").map(e=>({code:`Key${e.toUpperCase()}`,key:e})),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:"BracketLeft",key:"["},{code:"BracketLeft",key:"{",shiftKey:!0},{code:"BracketRight",key:"]"},{code:"BracketRight",key:"}",shiftKey:!0},{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:Be.LEFT},{code:"AltRight",key:"Alt",location:Be.RIGHT},{code:"ShiftLeft",key:"Shift",location:Be.LEFT},{code:"ShiftRight",key:"Shift",location:Be.RIGHT},{code:"ControlLeft",key:"Control",location:Be.LEFT},{code:"ControlRight",key:"Control",location:Be.RIGHT},{code:"MetaLeft",key:"Meta",location:Be.LEFT},{code:"MetaRight",key:"Meta",location:Be.RIGHT},{code:"OSLeft",key:"OS",location:Be.LEFT},{code:"OSRight",key:"OS",location:Be.RIGHT},{code:"ContextMenu",key:"ContextMenu"},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}],uC=[{name:"MouseLeft",pointerType:"mouse",button:"primary"},{name:"MouseRight",pointerType:"mouse",button:"secondary"},{name:"MouseMiddle",pointerType:"mouse",button:"auxiliary"},{name:"TouchA",pointerType:"touch"},{name:"TouchB",pointerType:"touch"},{name:"TouchC",pointerType:"touch"}];function Kh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}o(Kh,"_define_property");var Jh=class{getButtons(){let t=0;for(const r of Object.keys(this.pressed))t|=2**Number(r);return t}down(t){const r=no(t.button);if(r in this.pressed){this.pressed[r].push(t);return}return this.pressed[r]=[t],r}up(t){const r=no(t.button);if(r in this.pressed&&(this.pressed[r]=this.pressed[r].filter(n=>n.name!==t.name),this.pressed[r].length===0))return delete this.pressed[r],r}constructor(){Kh(this,"pressed",{})}};o(Jh,"Buttons");var Xh=Jh,Iu={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function no(e=0){return e in Iu?Iu[e]:Number(e)}o(no,"getMouseButtonId");var Nu={1:2,2:1};function oo(e){return e=no(e),e in Nu?Nu[e]:e}o(oo,"getMouseEventButton");function Yh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}o(Yh,"_define_property");var Qh=class{get countPressed(){return this.pressedKeys.size}isPressed(t){return this.pressedKeys.has(t.name)}addPressed(t){return this.pressedKeys.add(t.name)}removePressed(t){return this.pressedKeys.delete(t.name)}constructor(){Yh(this,"pressedKeys",new Set)}};o(Qh,"Device");var cC=Qh;function Jt(e,t){const r=[];for(let a=e;a;a=a.parentElement)r.push(a);const n=[];for(let a=t;a;a=a.parentElement)n.push(a);let i=0;for(;!(i>=r.length||i>=n.length||r[r.length-1-i]!==n[n.length-1-i]);i++);return[r.slice(0,r.length-i),n.slice(0,n.length-i),n.slice(n.length-i)]}o(Jt,"getTreeDiff");function io({target:e,node:t,offset:r}){return Me(e)?{node:e,offset:r??Ie(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:Kl(e,r)}o(io,"resolveCaretPosition");function Kl(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0;const i=t===void 0?-1:1;for(;t===void 0?n>=(r?Math.max(e.childNodes.length-1,0):0):n<=e.childNodes.length;){if(t&&n===e.childNodes.length)throw new Error("The given offset is out of bounds.");const a=e.childNodes.item(n),s=String(a.textContent);if(s.length)if(t!==void 0&&s.length<t)t-=s.length;else{if(a.nodeType===1)return Kl(a,t,!1);if(a.nodeType===3)return{node:a,offset:t??a.nodeValue.length}}n+=i}return{node:e,offset:e.childNodes.length}}o(Kl,"findNodeAtTextOffset");function Zh({document:e,target:t,clickCount:r,node:n,offset:i}){if(th(t))return;const a=Me(t),s=String(a?Ie(t):t.textContent),[l,d]=n?[i,i]:eb(s,i,r);if(a)return Lt(t,{anchorOffset:l??s.length,focusOffset:d??s.length}),{node:t,start:l??0,end:d??s.length};{const{node:u,offset:c}=io({target:t,node:n,offset:l}),{node:f,offset:p}=io({target:t,node:n,offset:d}),m=t.ownerDocument.createRange();try{m.setStart(u,c),m.setEnd(f,p)}catch{throw new Error("The given offset is out of bounds.")}const b=e.getSelection();return b?.removeAllRanges(),b?.addRange(m.cloneRange()),m}}o(Zh,"setSelectionPerMouseDown");function eb(e,t,r){if(r%3===1||e.length===0)return[t,t];const n=t??e.length;return r%3===2?[n-e.substr(0,t).match(/(\w+|\s+|\W)?$/)[0].length,t===void 0?t:t+e.substr(t).match(/^(\w+|\s+|\W)?/)[0].length]:[n-e.substr(0,t).match(/[^\r\n]*$/)[0].length,t===void 0?t:t+e.substr(t).match(/^[^\r\n]*/)[0].length]}o(eb,"getTextRange");function tb(e,{document:t,target:r,node:n,offset:i}){const a=io({target:r,node:n,offset:i});if("node"in e){if(a.node===e.node){const s=a.offset<e.start?e.end:e.start,l=a.offset>e.end||a.offset<e.start?a.offset:e.end;Lt(e.node,{anchorOffset:s,focusOffset:l})}}else{const s=e.cloneRange(),l=s.comparePoint(a.node,a.offset);l<0?s.setStart(a.node,a.offset):l>0&&s.setEnd(a.node,a.offset);const d=t.getSelection();d?.removeAllRanges(),d?.addRange(s.cloneRange())}}o(tb,"modifySelectionPerMouseMove");function Jl(e,t){var r,n,i,a,s,l,d,u,c,f,p,m,b,_,w,h,C,q,j,M,T,R,y,v;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((n=t.coords)===null||n===void 0?void 0:n.x)||((i=e.coords)===null||i===void 0?void 0:i.y)!==((a=t.coords)===null||a===void 0?void 0:a.y)||((s=e.coords)===null||s===void 0?void 0:s.clientX)!==((l=t.coords)===null||l===void 0?void 0:l.clientX)||((d=e.coords)===null||d===void 0?void 0:d.clientY)!==((u=t.coords)===null||u===void 0?void 0:u.clientY)||((c=e.coords)===null||c===void 0?void 0:c.offsetX)!==((f=t.coords)===null||f===void 0?void 0:f.offsetX)||((p=e.coords)===null||p===void 0?void 0:p.offsetY)!==((m=t.coords)===null||m===void 0?void 0:m.offsetY)||((b=e.coords)===null||b===void 0?void 0:b.pageX)!==((_=t.coords)===null||_===void 0?void 0:_.pageX)||((w=e.coords)===null||w===void 0?void 0:w.pageY)!==((h=t.coords)===null||h===void 0?void 0:h.pageY)||((C=e.coords)===null||C===void 0?void 0:C.screenX)!==((q=t.coords)===null||q===void 0?void 0:q.screenX)||((j=e.coords)===null||j===void 0?void 0:j.screenY)!==((M=t.coords)===null||M===void 0?void 0:M.screenY)||((T=e.caret)===null||T===void 0?void 0:T.node)!==((R=t.caret)===null||R===void 0?void 0:R.node)||((y=e.caret)===null||y===void 0?void 0:y.offset)!==((v=t.caret)===null||v===void 0?void 0:v.offset)}o(Jl,"isDifferentPointerPosition");function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}o(ct,"_define_property");var rb=class{move(t,r,n){const i=this.position,a=this.getTarget(t);if(this.position=r,!Jl(i,r))return;const s=this.getTarget(t),l=this.getEventInit("mousemove"),[d,u]=Jt(a,s);return{leave:o(()=>{a!==s&&(t.dispatchUIEvent(a,"mouseout",l),d.forEach(c=>t.dispatchUIEvent(c,"mouseleave",l)))},"leave"),enter:o(()=>{a!==s&&(t.dispatchUIEvent(s,"mouseover",l),u.forEach(c=>t.dispatchUIEvent(c,"mouseenter",l)))},"enter"),move:o(()=>{n||(t.dispatchUIEvent(s,"mousemove",l),this.modifySelecting(t))},"move")}}down(t,r,n){const i=this.buttons.down(r);if(i===void 0)return;const a=this.getTarget(t);this.buttonDownTarget[i]=a;const s=this.getEventInit("mousedown",r.button),l=He(a);!n&&(l||t.dispatchUIEvent(a,"mousedown",s))&&(this.startSelecting(t,s.detail),nt(a)),!l&&oo(r.button)===2&&t.dispatchUIEvent(a,"contextmenu",this.getEventInit("contextmenu",r.button))}up(t,r,n){const i=this.buttons.up(r);if(i===void 0)return;const a=this.getTarget(t);if(!He(a)){if(!n){const l=this.getEventInit("mouseup",r.button);t.dispatchUIEvent(a,"mouseup",l),this.endSelecting()}const s=Jt(this.buttonDownTarget[i],a)[2][0];if(s){const l=this.getEventInit("click",r.button);l.detail&&(t.dispatchUIEvent(s,l.button===0?"click":"auxclick",l),l.button===0&&l.detail===2&&t.dispatchUIEvent(s,"dblclick",{...this.getEventInit("dblclick",r.button),detail:l.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(t,r){const n={...this.position.coords};return n.button=oo(r),n.buttons=this.buttons.getButtons(),t==="mousedown"?n.detail=this.clickCount.getOnDown(n.button):t==="mouseup"?n.detail=this.clickCount.getOnUp(n.button):(t==="click"||t==="auxclick")&&(n.detail=this.clickCount.incOnClick(n.button)),n}getTarget(t){var r;return(r=this.position.target)!==null&&r!==void 0?r:t.config.document.body}startSelecting(t,r){var n,i;this.selecting=Zh({document:t.config.document,target:this.getTarget(t),node:(n=this.position.caret)===null||n===void 0?void 0:n.node,offset:(i=this.position.caret)===null||i===void 0?void 0:i.offset,clickCount:r})}modifySelecting(t){var r,n;this.selecting&&tb(this.selecting,{document:t.config.document,target:this.getTarget(t),node:(r=this.position.caret)===null||r===void 0?void 0:r.node,offset:(n=this.position.caret)===null||n===void 0?void 0:n.offset})}endSelecting(){this.selecting=void 0}constructor(){ct(this,"position",{}),ct(this,"buttons",new Xh),ct(this,"selecting",void 0),ct(this,"buttonDownTarget",{}),ct(this,"clickCount",new class{incOnClick(t){const r=this.down[t]===void 0?void 0:Number(this.down[t])+1;return this.count=this.count[t]===void 0?{}:{[t]:Number(this.count[t])+1},r}getOnDown(t){var r;this.down={[t]:(r=this.count[t])!==null&&r!==void 0?r:0};var n;return this.count={[t]:(n=this.count[t])!==null&&n!==void 0?n:0},Number(this.count[t])+1}getOnUp(t){return this.down[t]===void 0?void 0:Number(this.down[t])+1}reset(){this.count={}}constructor(){ct(this,"down",{}),ct(this,"count",{})}})}};o(rb,"Mouse");var dC=rb;function Kr(e,t){var r;return((r=Xl(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}o(Kr,"hasPointerEvents");function nb(e){const t=Re(e);for(let r=e,n=[];r?.ownerDocument;r=r.parentElement){n.push(r);const i=t.getComputedStyle(r).pointerEvents;if(i&&!["inherit","unset"].includes(i))return{pointerEvents:i,tree:n}}}o(nb,"closestPointerEventsDeclaration");var ju=Symbol("Last check for pointer-events");function Xl(e,t){const r=t[ju];if(!(e.config.pointerEventsCheck!==Rn.Never&&(!r||ma(e.config.pointerEventsCheck,Rn.EachApiCall)&&r[Ee.Call]!==Tr(e,Ee.Call)||ma(e.config.pointerEventsCheck,Rn.EachTrigger)&&r[Ee.Trigger]!==Tr(e,Ee.Trigger))))return r?.result;const i=nb(t);return t[ju]={[Ee.Call]:Tr(e,Ee.Call),[Ee.Trigger]:Tr(e,Ee.Trigger),result:i},i}o(Xl,"checkPointerEvents");function Ut(e,t){const r=Xl(e,t);if(r?.pointerEvents==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",ob(r.tree)].join(`
145
+ `))}o(Ut,"assertPointerEvents");function ob(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,ib(t),e.length>1&&r===0&&" <-- This element declared `pointer-events: none`",e.length>1&&r===e.length-1&&" <-- Asserted pointer events here"].filter(Boolean).join("")).join(`
146
+ `)}o(ob,"printTree");function ib(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,i;r=(i=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||i===void 0||(n=i.textContent)===null||n===void 0?void 0:n.trim()}else if(z(e,["button","input","meter","output","progress","select","textarea"])&&(!((t=e.labels)===null||t===void 0)&&t.length))r=Array.from(e.labels).map(s=>{var l;return(l=s.textContent)===null||l===void 0?void 0:l.trim()}).join("|");else if(z(e,"button")){var a;r=(a=e.textContent)===null||a===void 0?void 0:a.trim()}return r=r?.replace(/\n/g," "),Number(r?.length)>30&&(r=`${r?.substring(0,29)}…`),r?`(label=${r})`:""}o(ib,"getLabelDescr");function ma(e,t){return(e&t)>0}o(ma,"hasBitFlag");function De(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}o(De,"_define_property");var ab=class{init(t){const r=this.getTarget(t),[,n]=Jt(null,r),i=this.getEventInit();return Ut(t,r),t.dispatchUIEvent(r,"pointerover",i),n.forEach(a=>t.dispatchUIEvent(a,"pointerenter",i)),this}move(t,r){const n=this.position,i=this.getTarget(t);if(this.position=r,!Jl(n,r))return;const a=this.getTarget(t),s=this.getEventInit(-1),[l,d]=Jt(i,a);return{leave:o(()=>{Kr(t,i)&&i!==a&&(t.dispatchUIEvent(i,"pointerout",s),l.forEach(u=>t.dispatchUIEvent(u,"pointerleave",s)))},"leave"),enter:o(()=>{Ut(t,a),i!==a&&(t.dispatchUIEvent(a,"pointerover",s),d.forEach(u=>t.dispatchUIEvent(u,"pointerenter",s)))},"enter"),move:o(()=>{t.dispatchUIEvent(a,"pointermove",s)},"move")}}down(t,r=0){if(this.isDown)return;const n=this.getTarget(t);Ut(t,n),this.isDown=!0,this.isPrevented=!t.dispatchUIEvent(n,"pointerdown",this.getEventInit(r))}up(t,r=0){if(!this.isDown)return;const n=this.getTarget(t);Ut(t,n),this.isPrevented=!1,this.isDown=!1,t.dispatchUIEvent(n,"pointerup",this.getEventInit(r))}release(t){const r=this.getTarget(t),[n]=Jt(r,null),i=this.getEventInit();Kr(t,r)&&(t.dispatchUIEvent(r,"pointerout",i),n.forEach(a=>t.dispatchUIEvent(a,"pointerleave",i))),this.isCancelled=!0}getTarget(t){var r;return(r=this.position.target)!==null&&r!==void 0?r:t.config.document.body}getEventInit(t){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary,button:oo(t),buttons:this.buttons.getButtons()}}constructor({pointerId:t,pointerType:r,isPrimary:n},i){De(this,"pointerId",void 0),De(this,"pointerType",void 0),De(this,"isPrimary",void 0),De(this,"buttons",void 0),De(this,"isMultitouch",!1),De(this,"isCancelled",!1),De(this,"isDown",!1),De(this,"isPrevented",!1),De(this,"position",{}),this.pointerId=t,this.pointerType=r,this.isPrimary=n,this.isMultitouch=!n,this.buttons=i}};o(ab,"Pointer");var fC=ab;function Qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}o(Qe,"_define_property");var sb=class{isKeyPressed(t){return this.devices.get(t.pointerType).isPressed(t)}async press(t,r,n){this.devices.get(r.pointerType).addPressed(r),this.buttons.down(r);const i=this.getPointerName(r),a=r.pointerType==="touch"?this.pointers.new(i,r.pointerType,this.buttons):this.pointers.get(i);a.position=n,a.pointerType!=="touch"&&(this.mouse.position=n),a.pointerType==="touch"&&a.init(t),a.down(t,r.button),a.pointerType!=="touch"&&this.mouse.down(t,r,a.isPrevented)}async move(t,r,n){const i=this.pointers.get(r),a=i.move(t,n),s=i.pointerType==="touch"?void 0:this.mouse.move(t,n,i.isPrevented);a?.leave(),s?.leave(),a?.enter(),s?.enter(),a?.move(),s?.move()}async release(t,r,n){const i=this.devices.get(r.pointerType);i.removePressed(r),this.buttons.up(r);const a=this.pointers.get(this.getPointerName(r)),s=a.isPrevented;if(a.position=n,a.pointerType!=="touch"&&(this.mouse.position=n),i.countPressed===0&&a.up(t,r.button),a.pointerType==="touch"&&a.release(t),a.pointerType==="touch"&&!a.isMultitouch){const l=this.mouse.move(t,n,s);l?.leave(),l?.enter(),l?.move(),this.mouse.down(t,r,s)}if(!a.isMultitouch){const l=this.mouse.move(t,n,s);l?.leave(),l?.enter(),l?.move(),this.mouse.up(t,r,s)}}getPointerName(t){return t.pointerType==="touch"?t.name:t.pointerType}getPreviousPosition(t){return this.pointers.has(t)?this.pointers.get(t).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(t){var r;return(r=this.mouse.position.target)!==null&&r!==void 0?r:t.config.document.body}setMousePosition(t){this.mouse.position=t,this.pointers.get("mouse").position=t}constructor(t){Qe(this,"system",void 0),Qe(this,"mouse",void 0),Qe(this,"buttons",void 0),Qe(this,"devices",new class{get(r){var n,i,a;return(a=(n=this.registry)[i=r])!==null&&a!==void 0?a:n[i]=new cC}constructor(){Qe(this,"registry",{})}}),Qe(this,"pointers",new class{new(r,n,i){const a=n!=="touch"||!Object.values(this.registry).some(s=>s.pointerType==="touch"&&!s.isCancelled);return a||Object.values(this.registry).forEach(s=>{s.pointerType===n&&!s.isCancelled&&(s.isMultitouch=!0)}),this.registry[r]=new fC({pointerId:this.nextId++,pointerType:n,isPrimary:a},i),this.registry[r]}get(r){if(!this.has(r))throw new Error(`Trying to access pointer "${r}" which does not exist.`);return this.registry[r]}has(r){return r in this.registry}constructor(){Qe(this,"registry",{}),Qe(this,"nextId",1)}}),this.system=t,this.buttons=new Xh,this.mouse=new dC,this.pointers.new("mouse","mouse",this.buttons)}};o(sb,"PointerHost");var pC=sb;function ha(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}o(ha,"_define_property");var lb=class{getUIEventModifiers(){return{altKey:this.keyboard.modifiers.Alt,ctrlKey:this.keyboard.modifiers.Control,metaKey:this.keyboard.modifiers.Meta,shiftKey:this.keyboard.modifiers.Shift,modifierAltGraph:this.keyboard.modifiers.AltGraph,modifierCapsLock:this.keyboard.modifiers.CapsLock,modifierFn:this.keyboard.modifiers.Fn,modifierFnLock:this.keyboard.modifiers.FnLock,modifierNumLock:this.keyboard.modifiers.NumLock,modifierScrollLock:this.keyboard.modifiers.ScrollLock,modifierSymbol:this.keyboard.modifiers.Symbol,modifierSymbolLock:this.keyboard.modifiers.SymbolLock}}constructor(){ha(this,"keyboard",new sC(this)),ha(this,"pointer",new pC(this))}};o(lb,"System");var ub=lb;async function cb(e){const t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}o(cb,"click");async function db(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}o(db,"dblClick");async function fb(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}o(fb,"tripleClick");async function pb(e){return this.pointer({target:e})}o(pb,"hover");async function mb(e){return Ut(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}o(mb,"unhover");async function hb({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}o(hb,"tab");var Yl=(function(e){return e["{"]="}",e["["]="]",e})(Yl||{});function Ql(e,t){let r=0;const n=e[r]in Yl?e[r]:"";r+=n.length;const a=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:a,...a===""?bb(e,r,t):yb(e,r,a,t)}}o(Ql,"readNextDescriptor");function bb(e,t,r){const n=e[t];return Zl(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}o(bb,"readPrintableChar");function yb(e,t,r,n){var i,a;const s=e[t]==="/"?"/":"";t+=s.length;const l=r==="{"&&e[t]==="\\";t+=Number(l);const d=l?e[t]:(i=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||i===void 0?void 0:i[0];Zl(d,e,t,n),t+=d.length;var u;const c=(u=(a=e.slice(t).match(/^>\d+/))===null||a===void 0?void 0:a[0])!==null&&u!==void 0?u:"";t+=c.length;const f=e[t]==="/"||!c&&e[t]===">"?e[t]:"";t+=f.length;const p=Yl[r],m=e[t]===p?p:"";if(!m)throw new Error(eu([!c&&"repeat modifier",!f&&"release modifier",`"${p}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=m.length,{consumedLength:t,descriptor:d,releasePrevious:!!s,repeat:c?Math.max(Number(c.substr(1)),1):1,releaseSelf:vb(f,c)}}o(yb,"readTag");function Zl(e,t,r,n){if(!e)throw new Error(eu("key descriptor",t[r],t,n))}o(Zl,"assertDescriptor");function vb(e,t){if(e)return e==="/";if(t)return!1}o(vb,"hasReleaseSelf");function eu(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
147
+ See ${n==="pointer"?"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen":"https://testing-library.com/docs/user-event/keyboard"}
148
+ for more information about how userEvent parses your input.`}o(eu,"getErrorMessage");function gb(e,t){const r=[];do{const{type:i,descriptor:a,consumedLength:s,releasePrevious:l,releaseSelf:d=!0,repeat:u}=Ql(t,"keyboard");var n;const c=(n=e.find(f=>{if(i==="["){var p;return((p=f.code)===null||p===void 0?void 0:p.toLowerCase())===a.toLowerCase()}else if(i==="{"){var m;return((m=f.key)===null||m===void 0?void 0:m.toLowerCase())===a.toLowerCase()}return f.key===a}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[i==="["?"code":"key"]:a};r.push({keyDef:c,releasePrevious:l,releaseSelf:d,repeat:u}),t=t.slice(s)}while(t);return r}o(gb,"parseKeyDef");async function Eb(e){const t=gb(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await kt(this.config),await wb(this,t[r])}o(Eb,"keyboard");async function wb(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:i}){const{system:a}=e;if(a.keyboard.isKeyPressed(t)&&await a.keyboard.keyup(e,t),!r){for(let s=1;s<=i;s++)await a.keyboard.keydown(e,t),s<i&&await kt(e.config);n&&await a.keyboard.keyup(e,t)}}o(wb,"keyboardAction");async function _b(e){for(const t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}o(_b,"releaseAllKeys");function tu(e){const t=Me(e)?{"text/plain":Cb(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=ti(Re(e));for(const n in t)t[n]&&r.setData(n,t[n]);return r}o(tu,"copySelection");function Cb(e){const t=sr(e);return Ie(e).substring(t.startOffset,t.endOffset)}o(Cb,"readSelectedValueFromInput");async function Rb(){const e=this.config.document;var t;const r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=tu(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await Il(e,n),n}o(Rb,"copy");async function Tb(){const e=this.config.document;var t;const r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=tu(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await Il(r.ownerDocument,n),n}o(Tb,"cut");async function Pb(e){const t=this.config.document;var r;const n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var i;const a=(i=typeof e=="string"?qb(t,e):e)!==null&&i!==void 0?i:await Km(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:a})}o(Pb,"paste");function qb(e,t){const r=ti(Re(e));return r.setData("text",t),r}o(qb,"getClipboardDataFromString");function ba(e,t){const r=[];do{const{descriptor:n,consumedLength:i,releasePrevious:a,releaseSelf:s=!0}=Ql(t,"pointer"),l=e.find(d=>d.name===n);l&&r.push({keyDef:l,releasePrevious:a,releaseSelf:s}),t=t.slice(i)}while(t);return r}o(ba,"parseKeyDef");async function Sb(e){const{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...ba(t,n)):"keys"in n?r.push(...ba(t,n.keys).map(i=>({...n,...i}))):r.push(n)});for(let n=0;n<r.length;n++)await kt(this.config),await xb(this,r[n]);this.system.pointer.resetClickCount()}o(Sb,"pointer");async function xb(e,t){var r,n;const i="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",a=e.system.pointer.getPreviousPosition(i);var s,l,d,u;const c={target:(s=t.target)!==null&&s!==void 0?s:Ab(e,a),coords:(l=t.coords)!==null&&l!==void 0?l:a?.coords,caret:{node:(d=t.node)!==null&&d!==void 0?d:ya(t)||a==null||(r=a.caret)===null||r===void 0?void 0:r.node,offset:(u=t.offset)!==null&&u!==void 0?u:ya(t)||a==null||(n=a.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(Ht(e,Ee.Trigger),await e.system.pointer.release(e,t.keyDef,c)),t.releasePrevious||(Ht(e,Ee.Trigger),await e.system.pointer.press(e,t.keyDef,c),t.releaseSelf&&(Ht(e,Ee.Trigger),await e.system.pointer.release(e,t.keyDef,c)))):(Ht(e,Ee.Trigger),await e.system.pointer.move(e,i,c))}o(xb,"pointerAction");function ya(e){var t,r;return!!((r=(t=e.target)!==null&&t!==void 0?t:e.node)!==null&&r!==void 0?r:e.offset!==void 0)}o(ya,"hasCaretPosition");function Ab(e,t){if(!t)throw new Error("This pointer has no previous position. Provide a target property!");var r;return(r=t.target)!==null&&r!==void 0?r:e.config.document.body}o(Ab,"getPrevTarget");async function Ob(e){if(!It(e)||He(e))throw new Error("clear()` is only supported on editable elements.");if(nt(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(Vl(e),!Ah(e))throw new Error("The element content to be cleared could not be selected.");jt(this,e,"","deleteContentBackward")}o(Ob,"clear");async function Mb(e,t){return ru.call(this,!0,e,t)}o(Mb,"selectOptions");async function Ib(e,t){return ru.call(this,!1,e,t)}o(Ib,"deselectOptions");async function ru(e,t,r){if(!e&&!t.multiple)throw G().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);const n=Array.isArray(r)?r:[r],i=Array.from(t.querySelectorAll('option, [role="option"]')),a=n.map(l=>{if(typeof l!="string"&&i.includes(l))return l;{const d=i.find(u=>u.value===l||u.innerHTML===l);if(d)return d;throw G().getElementError(`Value "${String(l)}" not found in options`,t)}}).filter(l=>!He(l));if(He(t)||!a.length)return;const s=o(l=>{l.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")},"selectOption");if(z(t,"select"))if(t.multiple)for(const l of a){const d=this.config.pointerEventsCheck===0?!0:Kr(this,l);d&&(this.dispatchUIEvent(l,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(l,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(l,"pointermove"),this.dispatchUIEvent(l,"mousemove"),this.dispatchUIEvent(l,"pointerdown"),this.dispatchUIEvent(l,"mousedown")),nt(t),d&&(this.dispatchUIEvent(l,"pointerup"),this.dispatchUIEvent(l,"mouseup")),s(l),d&&this.dispatchUIEvent(l,"click"),await kt(this.config)}else if(a.length===1){const l=this.config.pointerEventsCheck===0?!0:Kr(this,t);l?await this.click(t):nt(t),s(a[0]),l&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await kt(this.config)}else throw G().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(const l of a)await this.click(l),await this.unhover(l);else throw G().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}o(ru,"selectOptionsBase");async function Nb(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:i,initialSelectionEnd:a}={}){e.disabled||(r||await this.click(e),i!==void 0&&Vt(e,i,a??i),await this.keyboard(t),n||await _b(this))}o(Nb,"type");var ku=Symbol("files and value properties are mocked");function Tn(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}o(Tn,"restoreProperty");function jb(e,t){var r;(r=e[ku])===null||r===void 0||r.restore();const n=Object.getOwnPropertyDescriptor(e,"type"),i=Object.getOwnPropertyDescriptor(e,"value"),a=Object.getOwnPropertyDescriptor(e,"files");function s(){Tn(e,"type",n),Tn(e,"value",i),Tn(e,"files",a)}o(s,"restore"),e[ku]={restore:s},Object.defineProperties(e,{files:{configurable:!0,get:o(()=>t,"get")},value:{configurable:!0,get:o(()=>t.length?`C:\\fakepath\\${t[0].name}`:"","get"),set(l){if(l==="")s();else{var d;i==null||(d=i.set)===null||d===void 0||d.call(e,l)}}},type:{configurable:!0,get:o(()=>"file","get"),set(l){l!=="file"&&(s(),e.type=l)}}})}o(jb,"setFiles");async function kb(e,t){const r=z(e,"label")?e.control:e;if(!r||!z(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(He(e))return;const n=(Array.isArray(t)?t:[t]).filter(a=>!this.config.applyAccept||Bb(a,r.accept)).slice(0,r.multiple?void 0:1),i=o(()=>{var a;n.length===((a=r.files)===null||a===void 0?void 0:a.length)&&n.every((s,l)=>{var d;return s===((d=r.files)===null||d===void 0?void 0:d.item(l))})||(jb(r,ei(Re(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))},"fileDialog");r.addEventListener("fileDialog",i),await this.click(e),r.removeEventListener("fileDialog",i)}o(kb,"upload");function Pr(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}o(Pr,"normalize");function Bb(e,t){if(!t)return!0;const r=["audio/*","image/*","video/*"];return Pr(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?Pr(e.name).endsWith(n):r.includes(n)?Pr(e.type).startsWith(n.replace("*","")):Pr(e.type)===n)}o(Bb,"isAcceptableFile");var Bu={click:cb,dblClick:db,tripleClick:fb,hover:pb,unhover:mb,tab:hb,keyboard:Eb,copy:Rb,cut:Tb,paste:Pb,pointer:Sb,clear:Ob,deselectOptions:Ib,selectOptions:Mb,type:Nb,upload:kb};function Db(e){return G().asyncWrapper(e)}o(Db,"wrapAsync");var Lb={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:lC,pointerMap:uC,pointerEventsCheck:Rn.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:o(()=>Promise.resolve(),"advanceTimers")},mC={...Lb,writeToClipboard:!0};function nu(e={},t=mC,r){const n=Hb(e,r,t);return{...t,...e,document:n}}o(nu,"createConfig");function $b(e={}){const t=nu(e);Gl(t.document),Wl(Re(t.document).HTMLElement);var r;const n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return zm(n),ai(t).api}o($b,"setupMain");function fe({keyboardState:e,pointerState:t,...r}={},n){const i=nu(r,Lb,n);Gl(i.document),Wl(Re(i.document).HTMLElement);var a;const s=(a=t??e)!==null&&a!==void 0?a:new ub;return{api:ai(i,s).api,system:s}}o(fe,"setupDirect");function Fb(e){return ai({...this.config,...e},this.system).api}o(Fb,"setupSub");function Vb(e,t){function r(...n){return Ht(e,Ee.Call),Db(()=>t.apply(e,n).then(async i=>(await kt(e.config),i)))}return o(r,"method"),Object.defineProperty(r,"name",{get:o(()=>t.name,"get")}),r}o(Vb,"wrapAndBindImpl");function ai(e,t=new ub){const r={};return Object.assign(r,{config:e,dispatchEvent:zl.bind(r),dispatchUIEvent:$h.bind(r),system:t,levelRefs:{},...Bu}),{instance:r,api:{...Object.fromEntries(Object.entries(Bu).map(([n,i])=>[n,Vb(r,i)])),setup:Fb.bind(r)}}}o(ai,"createInstance");function Hb(e,t,r){var n,i;return(i=(n=e.document)!==null&&n!==void 0?n:t&&zh(t))!==null&&i!==void 0?i:r.document}o(Hb,"getDocument");var Ub={};ga(Ub,{clear:()=>zb,click:()=>Wb,copy:()=>Gb,cut:()=>Kb,dblClick:()=>Jb,deselectOptions:()=>Xb,hover:()=>Yb,keyboard:()=>Qb,paste:()=>ey,pointer:()=>Zb,selectOptions:()=>ty,tab:()=>ay,tripleClick:()=>ry,type:()=>ny,unhover:()=>oy,upload:()=>iy});function zb(e){return fe().api.clear(e)}o(zb,"clear");function Wb(e,t={}){return fe(t,e).api.click(e)}o(Wb,"click");function Gb(e={}){return fe(e).api.copy()}o(Gb,"copy");function Kb(e={}){return fe(e).api.cut()}o(Kb,"cut");function Jb(e,t={}){return fe(t).api.dblClick(e)}o(Jb,"dblClick");function Xb(e,t,r={}){return fe(r).api.deselectOptions(e,t)}o(Xb,"deselectOptions");function Yb(e,t={}){return fe(t).api.hover(e)}o(Yb,"hover");async function Qb(e,t={}){const{api:r,system:n}=fe(t);return r.keyboard(e).then(()=>n)}o(Qb,"keyboard");async function Zb(e,t={}){const{api:r,system:n}=fe(t);return r.pointer(e).then(()=>n)}o(Zb,"pointer");function ey(e,t){return fe(t).api.paste(e)}o(ey,"paste");function ty(e,t,r={}){return fe(r).api.selectOptions(e,t)}o(ty,"selectOptions");function ry(e,t={}){return fe(t).api.tripleClick(e)}o(ry,"tripleClick");function ny(e,t,r={}){return fe(r,e).api.type(e,t,r)}o(ny,"type");function oy(e,t={}){const{api:r,system:n}=fe(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}o(oy,"unhover");function iy(e,t,r={}){return fe(r).api.upload(e,t)}o(iy,"upload");function ay(e={}){return fe().api.tab(e)}o(ay,"tab");var hC={...Ub,setup:$b},va=Ea({...vf},{getKeys:o(e=>Object.keys(e).filter(t=>t!=="eventWrapper"),"getKeys"),intercept:o((e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor"),"intercept")});va.screen=new Proxy(va.screen,{get(e,t,r){return typeof window<"u"&&globalThis.location?.href?.includes("viewMode=docs")&&Vy.warn(Fy`
149
+ You are using Testing Library's \`screen\` object while the story is rendered in docs mode. This will likely lead to issues, as multiple stories are rendered in the same page and therefore screen will potentially find multiple elements. Use the \`canvas\` utility from the story context instead, which will scope the queries to each story's canvas.
150
+
151
+ More info: https://storybook.js.org/docs/writing-tests/interaction-testing?ref=error#querying-the-canvas
152
+ `),Reflect.get(e,t,r)}});var{buildQueries:KC,configure:JC,createEvent:XC,fireEvent:YC,findAllByAltText:QC,findAllByDisplayValue:ZC,findAllByLabelText:eR,findAllByPlaceholderText:tR,findAllByRole:rR,findAllByTestId:nR,findAllByText:oR,findAllByTitle:iR,findByAltText:aR,findByDisplayValue:sR,findByLabelText:lR,findByPlaceholderText:uR,findByRole:cR,findByTestId:dR,findByText:fR,findByTitle:pR,getAllByAltText:mR,getAllByDisplayValue:hR,getAllByLabelText:bR,getAllByPlaceholderText:yR,getAllByRole:vR,getAllByTestId:gR,getAllByText:ER,getAllByTitle:wR,getByAltText:_R,getByDisplayValue:CR,getByLabelText:RR,getByPlaceholderText:TR,getByRole:PR,getByTestId:qR,getByText:SR,getByTitle:xR,getConfig:AR,getDefaultNormalizer:OR,getElementError:MR,getNodeText:IR,getQueriesForElement:NR,getRoles:jR,getSuggestedQuery:kR,isInaccessible:BR,logDOM:DR,logRoles:LR,prettyDOM:$R,queries:FR,queryAllByAltText:VR,queryAllByAttribute:HR,queryAllByDisplayValue:UR,queryAllByLabelText:zR,queryAllByPlaceholderText:WR,queryAllByRole:GR,queryAllByTestId:KR,queryAllByText:JR,queryAllByTitle:XR,queryByAltText:YR,queryByAttribute:QR,queryByDisplayValue:ZR,queryByLabelText:eT,queryByPlaceholderText:tT,queryByRole:rT,queryByTestId:nT,queryByText:oT,queryByTitle:iT,queryHelpers:aT,screen:sT,waitFor:lT,waitForElementToBeRemoved:uT,within:cT,prettyFormat:dT}=va,{userEvent:fT}=Ea({userEvent:hC},{intercept:!0,getKeys:o(e=>Object.keys(e).filter(t=>t!=="eventWrapper"),"getKeys")}),{expect:pT}=Ea({expect:hf},{getKeys:o((e,t)=>{if("constructor"in e&&e.constructor===E){const r=["assert","__methods","__flags","_obj"],n=Object.keys(Object.getPrototypeOf(e)).filter(i=>!r.includes(i));return t>2?n:[...n,"not"]}return"any"in e?Object.keys(e).filter(r=>r!=="any"):Object.keys(e)},"getKeys"),mutate:!0,intercept:o(e=>e!=="expect","intercept")});export{KC as buildQueries,i_ as clearAllMocks,JC as configure,XC as createEvent,pT as expect,QC as findAllByAltText,ZC as findAllByDisplayValue,eR as findAllByLabelText,tR as findAllByPlaceholderText,rR as findAllByRole,nR as findAllByTestId,oR as findAllByText,iR as findAllByTitle,aR as findByAltText,sR as findByDisplayValue,lR as findByLabelText,uR as findByPlaceholderText,cR as findByRole,dR as findByTestId,fR as findByText,pR as findByTitle,YC as fireEvent,o_ as fn,mR as getAllByAltText,hR as getAllByDisplayValue,bR as getAllByLabelText,yR as getAllByPlaceholderText,vR as getAllByRole,gR as getAllByTestId,ER as getAllByText,wR as getAllByTitle,_R as getByAltText,CR as getByDisplayValue,RR as getByLabelText,TR as getByPlaceholderText,PR as getByRole,qR as getByTestId,SR as getByText,xR as getByTitle,AR as getConfig,OR as getDefaultNormalizer,MR as getElementError,IR as getNodeText,NR as getQueriesForElement,jR as getRoles,kR as getSuggestedQuery,BR as isInaccessible,xr as isMockFunction,DR as logDOM,LR as logRoles,l_ as mocked,Uo as mocks,n_ as onMockCall,$R as prettyDOM,dT as prettyFormat,FR as queries,VR as queryAllByAltText,HR as queryAllByAttribute,UR as queryAllByDisplayValue,zR as queryAllByLabelText,WR as queryAllByPlaceholderText,GR as queryAllByRole,KR as queryAllByTestId,JR as queryAllByText,XR as queryAllByTitle,YR as queryByAltText,QR as queryByAttribute,ZR as queryByDisplayValue,eT as queryByLabelText,tT as queryByPlaceholderText,rT as queryByRole,nT as queryByTestId,oT as queryByText,iT as queryByTitle,aT as queryHelpers,a_ as resetAllMocks,s_ as restoreAllMocks,sT as screen,fT as userEvent,lT as waitFor,uT as waitForElementToBeRemoved,cT as within};