@ncino/web-components 8.0.0 → 8.1.0-preview.8

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 (293) hide show
  1. package/dist/_virtual/index5.js +1 -1
  2. package/dist/_virtual/index6.js +1 -1
  3. package/dist/_virtual/index_html.js +1 -1
  4. package/dist/_virtual/index_react.js +1 -1
  5. package/dist/assets/node_modules/.pnpm/ckeditor5@46.1.1/node_modules/ckeditor5/dist/ckeditor5.css +1 -4
  6. package/dist/components/accordion/gator/base/accordion.gator.js +1 -1
  7. package/dist/components/accordion/gator/group/accordion-group.gator.js +1 -1
  8. package/dist/components/alert/gator/base/alert.gator.js +1 -1
  9. package/dist/components/alert/gator/subtitle/alert-subtitle.gator.js +1 -1
  10. package/dist/components/alert/gator/title/alert-title.gator.js +1 -1
  11. package/dist/components/avatar/gator/avatar.gator.js +1 -1
  12. package/dist/components/badge/gator/badge.gator.js +1 -1
  13. package/dist/components/banner/gator/banner.gator.js +1 -1
  14. package/dist/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.js +10 -4
  15. package/dist/components/button/gator/button.gator.js +1 -1
  16. package/dist/components/button-card/gator/button-card.gator.js +1 -1
  17. package/dist/components/card/card.js +1 -1
  18. package/dist/components/card/gator/base/card.gator.js +1 -1
  19. package/dist/components/card/gator/content/card-content.gator.js +1 -1
  20. package/dist/components/card/gator/footer/card-footer.gator.js +1 -1
  21. package/dist/components/card/gator/header/card-header.gator.js +1 -1
  22. package/dist/components/checkbox/checkbox.gator.js +1 -1
  23. package/dist/components/chip/gator/chip.gator.js +1 -1
  24. package/dist/components/date-picker/base/gator/datepicker.gator.js +1 -1
  25. package/dist/components/date-picker/year-month-selector/year-month-selector.gator.js +1 -1
  26. package/dist/components/display-card/gator/display-card.gator.js +1 -1
  27. package/dist/components/divider/gator/divider.gator.js +2 -2
  28. package/dist/components/fab/gator/fab.gator.js +1 -1
  29. package/dist/components/icon-button/gator/icon-button.gator.js +1 -1
  30. package/dist/components/illustration/gator/illustration.gator.js +1 -1
  31. package/dist/components/image-card/gator/image-card.gator.js +23 -19
  32. package/dist/components/input/base/input-base.gator.js +1 -1
  33. package/dist/components/input/gator/dropdown/input-dropdown.gator.js +15 -15
  34. package/dist/components/input/gator/help-text/help-text.gator.js +1 -1
  35. package/dist/components/input/gator/input-date/input-date.gator.js +14 -17
  36. package/dist/components/input/gator/input-label/input-label.gator.js +3 -3
  37. package/dist/components/input/gator/input-phone/input-phone.gator.js +1 -1
  38. package/dist/components/loading-spinner/gator/loading-spinner.gator.js +1 -1
  39. package/dist/components/menu/base/gator/menu.gator.js +1 -1
  40. package/dist/components/modal/gator/modal.gator.js +54 -50
  41. package/dist/components/page-header/gator/page-header.gator.js +3 -3
  42. package/dist/components/panel/gator/panel.storybook-test.js +1 -1
  43. package/dist/components/popover/gator/popover.gator.js +1 -1
  44. package/dist/components/progress-bar/gator/progress-bar.gator.js +18 -12
  45. package/dist/components/progress-ring/gator/progress-ring.gator.js +1 -1
  46. package/dist/components/selection-box/selection-box.gator.js +1 -1
  47. package/dist/components/selector/gator/selector.gator.js +1 -1
  48. package/dist/components/skeleton-loader/gator/skeleton-loader.gator.js +1 -1
  49. package/dist/components/switch/gator/switch.gator.js +1 -1
  50. package/dist/components/table/gator/table.gator.js +1 -1
  51. package/dist/components/tabs/gator/tabset/tabset.gator.js +1 -1
  52. package/dist/components/text-detail/gator/text-detail.gator.js +1 -1
  53. package/dist/components/text-link/gator/text-link.gator.js +1 -1
  54. package/dist/components/toast/gator/base/toast.gator.js +1 -1
  55. package/dist/components/toast/gator/subtitle/toast-subtitle.gator.js +1 -1
  56. package/dist/components/toast/gator/title/toast-title.gator.js +1 -1
  57. package/dist/components/toast-container/gator/toast-container.gator.js +1 -1
  58. package/dist/components/toaster/gator/toaster.gator.js +1 -1
  59. package/dist/components/tooltip/gator/tooltip.gator.js +1 -1
  60. package/dist/design-tokens.source.json +1 -1
  61. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-alignment@46.1.1/node_modules/@ckeditor/ckeditor5-alignment/dist/index.js +1 -4
  62. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-autoformat@46.1.1/node_modules/@ckeditor/ckeditor5-autoformat/dist/index.js +1 -7
  63. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-autosave@46.1.1/node_modules/@ckeditor/ckeditor5-autosave/dist/index.js +1 -4
  64. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-basic-styles@46.1.1/node_modules/@ckeditor/ckeditor5-basic-styles/dist/index.js +1 -4
  65. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-block-quote@46.1.1/node_modules/@ckeditor/ckeditor5-block-quote/dist/index.js +1 -4
  66. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-clipboard@46.1.1/node_modules/@ckeditor/ckeditor5-clipboard/dist/index.js +2 -14
  67. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-cloud-services@46.1.1/node_modules/@ckeditor/ckeditor5-cloud-services/dist/index.js +1 -4
  68. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-code-block@46.1.1/node_modules/@ckeditor/ckeditor5-code-block/dist/index.js +1 -4
  69. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-core@46.1.1/node_modules/@ckeditor/ckeditor5-core/dist/index.js +1 -4
  70. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-editor-classic@46.1.1/node_modules/@ckeditor/ckeditor5-editor-classic/dist/index.js +1 -4
  71. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-engine@46.1.1/node_modules/@ckeditor/ckeditor5-engine/dist/index.js +2 -29
  72. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-enter@46.1.1/node_modules/@ckeditor/ckeditor5-enter/dist/index.js +1 -7
  73. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-essentials@46.1.1/node_modules/@ckeditor/ckeditor5-essentials/dist/index.js +1 -4
  74. 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
  75. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-font@46.1.1/node_modules/@ckeditor/ckeditor5-font/dist/index.js +1 -7
  76. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-heading@46.1.1/node_modules/@ckeditor/ckeditor5-heading/dist/index.js +1 -7
  77. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-highlight@46.1.1/node_modules/@ckeditor/ckeditor5-highlight/dist/index.js +1 -4
  78. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-horizontal-line@46.1.1/node_modules/@ckeditor/ckeditor5-horizontal-line/dist/index.js +1 -4
  79. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-html-embed@46.1.1/node_modules/@ckeditor/ckeditor5-html-embed/dist/index.js +1 -4
  80. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-html-support@46.1.1/node_modules/@ckeditor/ckeditor5-html-support/dist/index.js +1 -10
  81. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-icons@46.1.1/node_modules/@ckeditor/ckeditor5-icons/dist/index.js +1 -4
  82. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-image@46.1.1/node_modules/@ckeditor/ckeditor5-image/dist/index.js +1 -10
  83. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-indent@46.1.1/node_modules/@ckeditor/ckeditor5-indent/dist/index.js +1 -10
  84. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-language@46.1.1/node_modules/@ckeditor/ckeditor5-language/dist/index.js +1 -4
  85. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-link@46.1.1/node_modules/@ckeditor/ckeditor5-link/dist/index.js +1 -4
  86. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-list@46.1.1/node_modules/@ckeditor/ckeditor5-list/dist/index.js +1 -13
  87. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-markdown-gfm@46.1.1/node_modules/@ckeditor/ckeditor5-markdown-gfm/dist/index.js +2 -5
  88. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-media-embed@46.1.1/node_modules/@ckeditor/ckeditor5-media-embed/dist/index.js +1 -7
  89. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-mention@46.1.1/node_modules/@ckeditor/ckeditor5-mention/dist/index.js +1 -4
  90. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-page-break@46.1.1/node_modules/@ckeditor/ckeditor5-page-break/dist/index.js +1 -4
  91. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-paragraph@46.1.1/node_modules/@ckeditor/ckeditor5-paragraph/dist/index.js +1 -4
  92. 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
  93. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-remove-format@46.1.1/node_modules/@ckeditor/ckeditor5-remove-format/dist/index.js +1 -4
  94. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-select-all@46.1.1/node_modules/@ckeditor/ckeditor5-select-all/dist/index.js +1 -4
  95. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-show-blocks@46.1.1/node_modules/@ckeditor/ckeditor5-show-blocks/dist/index.js +1 -4
  96. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-source-editing@46.1.1/node_modules/@ckeditor/ckeditor5-source-editing/dist/index.js +1 -4
  97. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-special-characters@46.1.1/node_modules/@ckeditor/ckeditor5-special-characters/dist/index.js +1 -4
  98. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-style@46.1.1/node_modules/@ckeditor/ckeditor5-style/dist/index.js +1 -4
  99. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-table@46.1.1/node_modules/@ckeditor/ckeditor5-table/dist/index.js +1 -16
  100. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-typing@46.1.1/node_modules/@ckeditor/ckeditor5-typing/dist/index.js +1 -13
  101. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-ui@46.1.1/node_modules/@ckeditor/ckeditor5-ui/dist/index.js +1 -25
  102. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-undo@46.1.1/node_modules/@ckeditor/ckeditor5-undo/dist/index.js +1 -4
  103. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-upload@46.1.1/node_modules/@ckeditor/ckeditor5-upload/dist/index.js +1 -4
  104. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-utils@46.1.1/node_modules/@ckeditor/ckeditor5-utils/dist/index.js +3 -108
  105. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-watchdog@46.1.1/node_modules/@ckeditor/ckeditor5-watchdog/dist/index.js +1 -10
  106. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-widget@46.1.1/node_modules/@ckeditor/ckeditor5-widget/dist/index.js +1 -4
  107. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.9/node_modules/@figma/code-connect/package.json.js +1 -0
  108. package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/runtime.js +1 -5
  109. package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/default-msg.js +1 -5
  110. package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/deferred.js +1 -5
  111. package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/fnv1a64.js +1 -5
  112. package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/locale-status-event.js +1 -5
  113. package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/localized-controller.js +1 -5
  114. package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/localized-decorator.js +1 -5
  115. package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/str-tag.js +1 -5
  116. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js +1 -5
  117. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js +1 -5
  118. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js +1 -5
  119. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/state.js +1 -5
  120. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js +1 -5
  121. package/dist/node_modules/.pnpm/@vitest_pretty-format@3.2.4/node_modules/@vitest/pretty-format/dist/index.js +1 -17
  122. package/dist/node_modules/.pnpm/@vitest_snapshot@3.2.4/node_modules/@vitest/snapshot/dist/index.js +1 -7
  123. package/dist/node_modules/.pnpm/ansi-styles@4.3.0/node_modules/ansi-styles/index.js +1 -1
  124. package/dist/node_modules/.pnpm/axe-core@4.11.0/node_modules/axe-core/axe.js +1 -11
  125. package/dist/node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js +1 -6
  126. package/dist/node_modules/.pnpm/chai@5.2.0/node_modules/chai/chai.js +1 -217
  127. package/dist/node_modules/.pnpm/color-convert@3.1.3/node_modules/color-convert/conversions.js +1 -0
  128. package/dist/node_modules/.pnpm/color-convert@3.1.3/node_modules/color-convert/index.js +1 -0
  129. package/dist/node_modules/.pnpm/color-convert@3.1.3/node_modules/color-convert/route.js +1 -0
  130. package/dist/node_modules/.pnpm/color-string@2.1.4/node_modules/color-string/index.js +1 -0
  131. package/dist/node_modules/.pnpm/{color@5.0.2 → color@5.0.3}/node_modules/color/index.js +1 -1
  132. package/dist/node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js +1 -1
  133. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.26/node_modules/libphonenumber-js/metadata.min.json.js +1 -0
  134. package/dist/node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js +1 -5
  135. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/async-directive.js +1 -5
  136. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directive-helpers.js +1 -5
  137. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directive.js +1 -5
  138. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/class-map.js +1 -5
  139. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/if-defined.js +1 -5
  140. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/live.js +1 -5
  141. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/ref.js +1 -5
  142. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/repeat.js +1 -5
  143. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/unsafe-html.js +1 -5
  144. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js +1 -5
  145. package/dist/node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react.production.js +1 -9
  146. 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
  147. 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
  148. 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
  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-SN4J4IQ3.js +1 -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-VUAFL5XK.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/client-logger/index.js +1 -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/core-events/index.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/instrumenter/index.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/test/index.js +152 -0
  155. package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/index.js +1 -1
  156. package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/body.js +1 -1
  157. package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/websocket/frame.js +1 -1
  158. package/dist/packages/{web-components/src/tokens/semantic.tokens.scss.js → styles/src/gator/tokens/semantic.tokens.css.js} +1 -1
  159. package/dist/packages/web-components/src/components/alert/gator/title/alert-title.gator.scss.js +1 -1
  160. package/dist/packages/web-components/src/components/badge/gator/badge.gator.scss.js +1 -1
  161. package/dist/packages/web-components/src/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.scss.js +1 -1
  162. package/dist/packages/web-components/src/components/button-card/gator/button-card.gator.scss.js +1 -1
  163. package/dist/packages/web-components/src/components/card/gator/base/card.gator.scss.js +1 -1
  164. package/dist/packages/web-components/src/components/card/gator/content/card-content.gator.scss.js +1 -1
  165. package/dist/packages/web-components/src/components/card/gator/footer/card-footer.gator.scss.js +1 -1
  166. package/dist/packages/web-components/src/components/card/gator/header/card-header.gator.scss.js +1 -1
  167. package/dist/packages/web-components/src/components/checkbox-group/checkbox-group.gator.scss.js +1 -1
  168. package/dist/packages/web-components/src/components/chip/gator/chip.gator.scss.js +1 -1
  169. package/dist/packages/web-components/src/components/date-picker/base/gator/datepicker.gator.scss.js +1 -1
  170. package/dist/packages/web-components/src/components/date-picker/year-month-selector/year-month-selector.gator.scss.js +1 -1
  171. package/dist/packages/web-components/src/components/display-card/gator/display-card.gator.scss.js +1 -1
  172. package/dist/packages/web-components/src/components/divider/gator/divider.gator.scss.js +1 -1
  173. package/dist/packages/web-components/src/components/fab/gator/fab.gator.scss.js +1 -1
  174. package/dist/packages/web-components/src/components/guided-nav/gator/guided-nav-substep/guided-nav-substep.gator.scss.js +1 -1
  175. package/dist/packages/web-components/src/components/headline-card/gator/headline-card.gator.scss.js +1 -1
  176. package/dist/packages/web-components/src/components/icon/gator/icon.gator.scss.js +1 -1
  177. package/dist/packages/web-components/src/components/illustration/gator/illustration.gator.scss.js +1 -1
  178. package/dist/packages/web-components/src/components/image-card/gator/image-card.gator.scss.js +1 -1
  179. package/dist/packages/web-components/src/components/input/gator/dropdown/input-dropdown.gator.scss.js +1 -1
  180. package/dist/packages/web-components/src/components/input/gator/help-text/help-text.gator.scss.js +1 -1
  181. package/dist/packages/web-components/src/components/input/gator/input-date/input-date.gator.scss.js +1 -1
  182. package/dist/packages/web-components/src/components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.scss.js +1 -1
  183. package/dist/packages/web-components/src/components/input/gator/input-file/input-file.gator.scss.js +1 -1
  184. package/dist/packages/web-components/src/components/input/gator/input-label/input-label.gator.scss.js +1 -1
  185. package/dist/packages/web-components/src/components/input/gator/input-search/input-search.gator.scss.js +1 -1
  186. package/dist/packages/web-components/src/components/input/input.gator.scss.js +1 -1
  187. package/dist/packages/web-components/src/components/list/gator/list-item/list-item.gator.scss.js +1 -1
  188. package/dist/packages/web-components/src/components/menu/base/gator/menu.gator.scss.js +1 -1
  189. package/dist/packages/web-components/src/components/modal/gator/modal.gator.scss.js +1 -1
  190. package/dist/packages/web-components/src/components/page-header/gator/page-header.gator.scss.js +1 -1
  191. package/dist/packages/web-components/src/components/panel/gator/panel.gator.scss.js +1 -1
  192. package/dist/packages/web-components/src/components/popover/gator/popover.gator.scss.js +1 -1
  193. package/dist/packages/web-components/src/components/progress-bar/gator/progress-bar.gator.scss.js +1 -1
  194. package/dist/packages/web-components/src/components/selection-box/selection-box.gator.scss.js +1 -1
  195. package/dist/packages/web-components/src/components/skip-link/gator/base/skip-link.gator.scss.js +1 -1
  196. package/dist/packages/web-components/src/components/skip-link/gator/list-item/skip-link-list-item.gator.scss.js +1 -1
  197. package/dist/packages/web-components/src/components/table/gator/table-bulk-controls/table-bulk-controls.gator.scss.js +1 -1
  198. package/dist/packages/web-components/src/components/table/gator/table-controls/table-controls.gator.scss.js +1 -1
  199. package/dist/packages/web-components/src/components/table/gator/table-pagination/table-pagination.gator.scss.js +1 -1
  200. package/dist/packages/web-components/src/components/table/gator/table.gator.scss.js +1 -1
  201. package/dist/packages/web-components/src/components/tabs/gator/tabs.gator.scss.js +1 -1
  202. package/dist/packages/web-components/src/components/text-detail/gator/text-detail.gator.scss.js +1 -1
  203. package/dist/packages/web-components/src/components/text-link/gator/text-link.gator.scss.js +1 -1
  204. package/dist/packages/web-components/src/components/time-picker/gator/time-picker.gator.scss.js +1 -1
  205. package/dist/packages/web-components/src/components/toast/gator/base/toast.gator.scss.js +1 -1
  206. package/dist/packages/web-components/src/components/toast/gator/title/toast-title.gator.scss.js +1 -1
  207. package/dist/packages/web-components/src/components/toaster/gator/toaster.gator.scss.js +1 -1
  208. package/dist/packages/web-components/src/components/tooltip/gator/tooltip.gator.scss.js +1 -1
  209. package/dist/packages/web-components/src/index.slds.scss.js +1 -1
  210. package/dist/types/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.d.ts +3 -5
  211. package/dist/types/components/image-card/gator/image-card.gator.d.ts +5 -1
  212. package/dist/types/components/input/gator/input-date/input-date.gator.d.ts +7 -0
  213. package/dist/types/components/modal/gator/modal.gator.d.ts +16 -3
  214. package/dist/types/components/page-header/gator/page-header.gator.d.ts +0 -1
  215. package/dist/types/components/progress-bar/gator/progress-bar.gator.d.ts +8 -0
  216. package/dist/types/generated/locale-codes.d.ts +10 -0
  217. package/dist/types/generated/locales/es-419.d.ts +6 -1
  218. package/dist/types/generated/locales/fr-CA.d.ts +6 -1
  219. package/dist/types/generated/locales/zh-Hans.d.ts +6 -1
  220. package/dist/utils/brand-color-utils.js +1 -1
  221. package/dist/utils/components/ngc-component.js +1 -1
  222. package/dist/utils/vitest-a11y-utils.js +1 -1
  223. package/package.json +21 -21
  224. package/web-types.json +15 -5
  225. package/dist/generated/locale-codes.d.js +0 -1
  226. package/dist/generated/locales/es-419.d.js +0 -1
  227. package/dist/generated/locales/fr-CA.d.js +0 -1
  228. package/dist/generated/locales/zh-Hans.d.js +0 -1
  229. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.7/node_modules/@figma/code-connect/package.json.js +0 -1
  230. package/dist/node_modules/.pnpm/color-string@2.0.1/node_modules/color-string/index.js +0 -1
  231. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.24/node_modules/libphonenumber-js/metadata.min.json.js +0 -1
  232. package/dist/node_modules/.pnpm/storybook@9.1.13_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.9.1_typescript@5._a0e195139f137e7eecc50e9c6275adcc/node_modules/storybook/dist/client-logger/index.js +0 -1
  233. package/dist/node_modules/.pnpm/storybook@9.1.13_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.9.1_typescript@5._a0e195139f137e7eecc50e9c6275adcc/node_modules/storybook/dist/core-events/index.js +0 -1
  234. package/dist/node_modules/.pnpm/storybook@9.1.13_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.9.1_typescript@5._a0e195139f137e7eecc50e9c6275adcc/node_modules/storybook/dist/instrumenter/index.js +0 -48
  235. package/dist/node_modules/.pnpm/storybook@9.1.13_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.9.1_typescript@5._a0e195139f137e7eecc50e9c6275adcc/node_modules/storybook/dist/test/index.js +0 -217
  236. /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
  237. /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
  238. /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
  239. /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
  240. /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
  241. /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
  242. /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
  243. /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
  244. /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
  245. /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
  246. /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
  247. /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
  248. /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
  249. /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
  250. /package/dist/node_modules/.pnpm/{@vitest_browser@3.2.4_msw@2.7.3_@types_node@24.9.1_typescript@5.9.3__playwright@1.56.1__f267599ff27ed4cacb9e62a386256df6 → @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
  251. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/ParseError.js +0 -0
  252. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/PhoneNumber.js +0 -0
  253. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/constants.js +0 -0
  254. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/format.js +0 -0
  255. /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
  256. /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
  257. /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
  258. /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
  259. /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
  260. /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
  261. /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
  262. /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
  263. /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
  264. /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
  265. /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
  266. /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
  267. /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
  268. /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
  269. /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
  270. /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
  271. /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
  272. /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
  273. /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
  274. /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
  275. /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
  276. /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
  277. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/isPossible.js +0 -0
  278. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/isValid.js +0 -0
  279. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/metadata.js +0 -0
  280. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/normalizeArguments.js +0 -0
  281. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/parse.js +0 -0
  282. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +0 -0
  283. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/parsePhoneNumber.js +0 -0
  284. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js +0 -0
  285. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.24 → libphonenumber-js@1.12.26}/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +0 -0
  286. /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
  287. /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
  288. /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
  289. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.9.1_@vitest_browser@3.2.4_@vitest_ui@3._1eebb5b0859be5c5eee8a8981f7b0151 → 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
  290. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.9.1_@vitest_browser@3.2.4_@vitest_ui@3._1eebb5b0859be5c5eee8a8981f7b0151 → 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
  291. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.9.1_@vitest_browser@3.2.4_@vitest_ui@3._1eebb5b0859be5c5eee8a8981f7b0151 → 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
  292. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.9.1_@vitest_browser@3.2.4_@vitest_ui@3._1eebb5b0859be5c5eee8a8981f7b0151 → 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
  293. /package/dist/packages/{web-components/src/tokens/primitive.tokens.scss.js → styles/src/gator/tokens/primitive.tokens.css.js} +0 -0
@@ -1,218 +1,2 @@
1
1
  var St=Object.defineProperty,hn=Object.getOwnPropertyNames,l=(e,t)=>St(e,"name",{value:t,configurable:!0}),dn=(e,t)=>function(){return t||(0,e[hn(e)[0]])((t={exports:{}}).exports,t),t.exports},De=(e,t)=>{for(var n in t)St(e,n,{get:t[n],enumerable:!0})},pn=dn({"(disabled):util"(){}}),Y={};De(Y,{addChainableMethod:()=>Ge,addLengthGuard:()=>L,addMethod:()=>Ve,addProperty:()=>Fe,checkError:()=>j,compareByInspect:()=>ee,eql:()=>Jt,expectTypes:()=>At,flag:()=>g,getActual:()=>ie,getMessage:()=>Ie,getName:()=>ue,getOperator:()=>Le,getOwnEnumerableProperties:()=>Ue,getOwnEnumerablePropertySymbols:()=>We,getPathInfo:()=>Be,hasProperty:()=>ae,inspect:()=>w,isNaN:()=>te,isNumeric:()=>N,isProxyEnabled:()=>U,isRegExp:()=>ne,objDisplay:()=>$,overwriteChainableMethod:()=>Re,overwriteMethod:()=>Ke,overwriteProperty:()=>ke,proxify:()=>K,test:()=>qe,transferFlags:()=>T,type:()=>S});var j={};De(j,{compatibleConstructor:()=>Nt,compatibleInstance:()=>Pt,compatibleMessage:()=>Et,getConstructorName:()=>Ot,getMessage:()=>jt});function oe(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}l(oe,"isErrorInstance");function Mt(e){return Object.prototype.toString.call(e)==="[object RegExp]"}l(Mt,"isRegExp");function Pt(e,t){return oe(t)&&e===t}l(Pt,"compatibleInstance");function Nt(e,t){return oe(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}l(Nt,"compatibleConstructor");function Et(e,t){const n=typeof e=="string"?e:e.message;return Mt(t)?t.test(n):typeof t=="string"?n.indexOf(t)!==-1:!1}l(Et,"compatibleMessage");function Ot(e){let t=e;return oe(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}l(Ot,"getConstructorName");function jt(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}l(jt,"getMessage");function g(e,t,n){var r=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)r[t]=n;else return r[t]}l(g,"flag");function qe(e,t){var n=g(e,"negate"),r=t[0];return n?!r:r}l(qe,"test");function S(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)}l(S,"type");var gn="captureStackTrace"in Error,z,v=(z=class extends Error{message;get name(){return"AssertionError"}get ok(){return!1}constructor(t="Unspecified AssertionError",n,r){super(t),this.message=t,gn&&Error.captureStackTrace(this,r||z);for(const s in n)s in this||(this[s]=n[s])}toJSON(t){return{...this,name:this.name,message:this.message,ok:!1,stack:t!==!1?this.stack:void 0}}},l(z,"AssertionError"),z);function At(e,t){var n=g(e,"message"),r=g(e,"ssfi");n=n?n+": ":"",e=g(e,"object"),t=t.map(function(u){return u.toLowerCase()}),t.sort();var s=t.map(function(u,f){var h=~["a","e","i","o","u"].indexOf(u.charAt(0))?"an":"a",d=t.length>1&&f===t.length-1?"or ":"";return d+h+" "+u}).join(", "),a=S(e).toLowerCase();if(!t.some(function(u){return a===u}))throw new v(n+"object tested must be "+s+", but "+a+" given",void 0,r)}l(At,"expectTypes");function ie(e,t){return t.length>4?t[4]:e._obj}l(ie,"getActual");var dt={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"]},bn={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},V="…";function Tt(e,t){const n=dt[bn[t]]||dt[t]||"";return n?`\x1B[${n[0]}m${String(e)}\x1B[${n[1]}m`:String(e)}l(Tt,"colorise");function Dt({showHidden:e=!1,depth:t=2,colors:n=!1,customInspect:r=!0,showProxy:s=!1,maxArrayLength:a=1/0,breakLength:u=1/0,seen:f=[],truncate:h=1/0,stylize:d=String}={},p){const b={showHidden:!!e,depth:Number(t),colors:!!n,customInspect:!!r,showProxy:!!s,maxArrayLength:Number(a),breakLength:Number(u),truncate:Number(h),seen:f,inspect:p,stylize:d};return b.colors&&(b.stylize=Tt),b}l(Dt,"normaliseOptions");function qt(e){return e>="\uD800"&&e<="\uDBFF"}l(qt,"isHighSurrogate");function q(e,t,n=V){e=String(e);const r=n.length,s=e.length;if(r>t&&s>r)return n;if(s>t&&s>r){let a=t-r;return a>0&&qt(e[a-1])&&(a=a-1),`${e.slice(0,a)}${n}`}return e}l(q,"truncate");function A(e,t,n,r=", "){n=n||t.inspect;const s=e.length;if(s===0)return"";const a=t.truncate;let u="",f="",h="";for(let d=0;d<s;d+=1){const p=d+1===e.length,b=d+2===e.length;h=`${V}(${e.length-d})`;const x=e[d];t.truncate=a-u.length-(p?0:r.length);const y=f||n(x,t)+(p?"":r),m=u.length+y.length,M=m+h.length;if(p&&m>a&&u.length+h.length<=a||!p&&!b&&M>a||(f=p?"":n(e[d+1],t)+(b?"":r),!p&&b&&M>a&&m+f.length>a))break;if(u+=y,!p&&!b&&m+f.length>=a){h=`${V}(${e.length-d-1})`;break}h=""}return`${u}${h}`}l(A,"inspectList");function Ct(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}l(Ct,"quoteComplexKey");function k([e,t],n){return n.truncate-=2,typeof e=="string"?e=Ct(e):typeof e!="number"&&(e=`[${n.inspect(e,n)}]`),n.truncate-=e.length,t=n.inspect(t,n),`${e}: ${t}`}l(k,"inspectProperty");function It(e,t){const n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return"[]";t.truncate-=4;const r=A(e,t);t.truncate-=r.length;let s="";return n.length&&(s=A(n.map(a=>[a,e[a]]),t,k)),`[ ${r}${s?`, ${s}`:""} ]`}l(It,"inspectArray");var yn=l(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function D(e,t){const n=yn(e);t.truncate-=n.length+4;const r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return`${n}[]`;let s="";for(let u=0;u<e.length;u++){const f=`${t.stylize(q(e[u],t.truncate),"number")}${u===e.length-1?"":", "}`;if(t.truncate-=f.length,e[u]!==e.length&&t.truncate<=3){s+=`${V}(${e.length-e[u]+1})`;break}s+=f}let a="";return r.length&&(a=A(r.map(u=>[u,e[u]]),t,k)),`${n}[ ${s}${a?`, ${a}`:""} ]`}l(D,"inspectTypedArray");function $t(e,t){const n=e.toJSON();if(n===null)return"Invalid Date";const r=n.split("T"),s=r[0];return t.stylize(`${s}T${q(r[1],t.truncate-s.length-1)}`,"date")}l($t,"inspectDate");function ye(e,t){const n=e[Symbol.toStringTag]||"Function",r=e.name;return r?t.stylize(`[${n} ${q(r,t.truncate-11)}]`,"special"):t.stylize(`[${n}]`,"special")}l(ye,"inspectFunction");function zt([e,t],n){return n.truncate-=4,e=n.inspect(e,n),n.truncate-=e.length,t=n.inspect(t,n),`${e} => ${t}`}l(zt,"inspectMapEntry");function _t(e){const t=[];return e.forEach((n,r)=>{t.push([r,n])}),t}l(_t,"mapToEntries");function Bt(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${A(_t(e),t,zt)} }`)}l(Bt,"inspectMap");var mn=Number.isNaN||(e=>e!==e);function me(e,t){return mn(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(q(String(e),t.truncate),"number")}l(me,"inspectNumber");function we(e,t){let n=q(e.toString(),t.truncate-1);return n!==V&&(n+="n"),t.stylize(n,"bigint")}l(we,"inspectBigInt");function Ft(e,t){const n=e.toString().split("/")[2],r=t.truncate-(2+n.length),s=e.source;return t.stylize(`/${q(s,r)}/${n}`,"regexp")}l(Ft,"inspectRegExp");function Vt(e){const t=[];return e.forEach(n=>{t.push(n)}),t}l(Vt,"arrayFromSet");function kt(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${A(Vt(e),t)} }`)}l(kt,"inspectSet");var pt=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),wn={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},vn=16;function Kt(e){return wn[e]||`\\u${`0000${e.charCodeAt(0).toString(vn)}`.slice(-4)}`}l(Kt,"escape");function ve(e,t){return pt.test(e)&&(e=e.replace(pt,Kt)),t.stylize(`'${q(e,t.truncate-2)}'`,"string")}l(ve,"inspectString");function xe(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}l(xe,"inspectSymbol");var Gt=l(()=>"Promise{…}","getPromiseValue");try{const{getPromiseDetails:e,kPending:t,kRejected:n}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(Gt=l((r,s)=>{const[a,u]=e(r);return a===t?"Promise{<pending>}":`Promise${a===n?"!":""}{${s.inspect(u,s)}}`},"getPromiseValue"))}catch{}var xn=Gt;function R(e,t){const n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(n.length===0&&r.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);const s=A(n.map(f=>[f,e[f]]),t,k),a=A(r.map(f=>[f,e[f]]),t,k);t.seen.pop();let u="";return s&&a&&(u=", "),`{ ${s}${u}${a} }`}l(R,"inspectObject");var ge=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Rt(e,t){let n="";return ge&&ge in e&&(n=e[ge]),n=n||e.constructor.name,(!n||n==="_class")&&(n="<Anonymous Class>"),t.truncate-=n.length,`${n}${R(e,t)}`}l(Rt,"inspectClass");function Wt(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${A(e,t)} ]`)}l(Wt,"inspectArguments");var Sn=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function Ut(e,t){const n=Object.getOwnPropertyNames(e).filter(u=>Sn.indexOf(u)===-1),r=e.name;t.truncate-=r.length;let s="";if(typeof e.message=="string"?s=q(e.message,t.truncate):n.unshift("message"),s=s?`: ${s}`:"",t.truncate-=s.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);const a=A(n.map(u=>[u,e[u]]),t,k);return`${r}${s}${a?` { ${a} }`:""}`}l(Ut,"inspectObject");function Lt([e,t],n){return n.truncate-=3,t?`${n.stylize(String(e),"yellow")}=${n.stylize(`"${t}"`,"string")}`:`${n.stylize(String(e),"yellow")}`}l(Lt,"inspectAttribute");function Q(e,t){return A(e,t,Ce,`
2
- `)}l(Q,"inspectHTMLCollection");function Ce(e,t){const n=e.getAttributeNames(),r=e.tagName.toLowerCase(),s=t.stylize(`<${r}`,"special"),a=t.stylize(">","special"),u=t.stylize(`</${r}>`,"special");t.truncate-=r.length*2+5;let f="";n.length>0&&(f+=" ",f+=A(n.map(p=>[p,e.getAttribute(p)]),t,Lt," ")),t.truncate-=f.length;const h=t.truncate;let d=Q(e.children,t);return d&&d.length>h&&(d=`${V}(${e.children.length})`),`${s}${f}${a}${d}${u}`}l(Ce,"inspectHTML");var Mn=typeof Symbol=="function"&&typeof Symbol.for=="function",be=Mn?Symbol.for("chai/inspect"):"@@chai/inspect",F=!1;try{const e=pn();F=e.inspect?e.inspect.custom:!1}catch{F=!1}var gt=new WeakMap,bt={},yt={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:me,Number:me,bigint:we,BigInt:we,string:ve,String:ve,function:ye,Function:ye,symbol:xe,Symbol:xe,Array:It,Date:$t,Map:Bt,Set:kt,RegExp:Ft,Promise:xn,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:Wt,Int8Array:D,Uint8Array:D,Uint8ClampedArray:D,Int16Array:D,Uint16Array:D,Int32Array:D,Uint32Array:D,Float32Array:D,Float64Array:D,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:Ut,HTMLCollection:Q,NodeList:Q},Pn=l((e,t,n)=>be in e&&typeof e[be]=="function"?e[be](t):F&&F in e&&typeof e[F]=="function"?e[F](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&gt.has(e.constructor)?gt.get(e.constructor)(e,t):bt[n]?bt[n](e,t):"","inspectCustom"),Nn=Object.prototype.toString;function X(e,t={}){const n=Dt(t,X),{customInspect:r}=n;let s=e===null?"null":typeof e;if(s==="object"&&(s=Nn.call(e).slice(8,-1)),s in yt)return yt[s](e,n);if(r&&e){const u=Pn(e,n,s);if(u)return typeof u=="string"?u:X(u,n)}const a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?R(e,n):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Ce(e,n):"constructor"in e?e.constructor!==Object?Rt(e,n):R(e,n):e===Object(e)?R(e,n):n.stylize(String(e),s)}l(X,"inspect");var O={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function w(e,t,n,r){var s={colors:r,depth:typeof n>"u"?2:n,showHidden:t,truncate:O.truncateThreshold?O.truncateThreshold:1/0};return X(e,s)}l(w,"inspect");function $(e){var t=w(e),n=Object.prototype.toString.call(e);if(O.truncateThreshold&&t.length>=O.truncateThreshold){if(n==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(n==="[object Array]")return"[ Array("+e.length+") ]";if(n==="[object Object]"){var r=Object.keys(e),s=r.length>2?r.splice(0,2).join(", ")+", ...":r.join(", ");return"{ Object ("+s+") }"}else return t}else return t}l($,"objDisplay");function Ie(e,t){var n=g(e,"negate"),r=g(e,"object"),s=t[3],a=ie(e,t),u=n?t[2]:t[1],f=g(e,"message");return typeof u=="function"&&(u=u()),u=u||"",u=u.replace(/#\{this\}/g,function(){return $(r)}).replace(/#\{act\}/g,function(){return $(a)}).replace(/#\{exp\}/g,function(){return $(s)}),f?f+": "+u:u}l(Ie,"getMessage");function T(e,t,n){var r=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),n=arguments.length===3?n:!0;for(var s in r)(n||s!=="object"&&s!=="ssfi"&&s!=="lockSsfi"&&s!="message")&&(t.__flags[s]=r[s])}l(T,"transferFlags");function Se(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)}l(Se,"type");function $e(){this._key="chai/deep-eql__"+Math.random()+Date.now()}l($e,"FakeMap");$e.prototype={get:l(function(t){return t[this._key]},"get"),set:l(function(t,n){Object.isExtensible(t)&&Object.defineProperty(t,this._key,{value:n,configurable:!0})},"set")};var Zt=typeof WeakMap=="function"?WeakMap:$e;function Me(e,t,n){if(!n||_(e)||_(t))return null;var r=n.get(e);if(r){var s=r.get(t);if(typeof s=="boolean")return s}return null}l(Me,"memoizeCompare");function G(e,t,n,r){if(!(!n||_(e)||_(t))){var s=n.get(e);s?s.set(t,r):(s=new Zt,s.set(t,r),n.set(e,s))}}l(G,"memoizeSet");var Jt=W;function W(e,t,n){if(n&&n.comparator)return Pe(e,t,n);var r=ze(e,t);return r!==null?r:Pe(e,t,n)}l(W,"deepEqual");function ze(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:_(e)||_(t)?!1:null}l(ze,"simpleEqual");function Pe(e,t,n){n=n||{},n.memoize=n.memoize===!1?!1:n.memoize||new Zt;var r=n&&n.comparator,s=Me(e,t,n.memoize);if(s!==null)return s;var a=Me(t,e,n.memoize);if(a!==null)return a;if(r){var u=r(e,t);if(u===!1||u===!0)return G(e,t,n.memoize,u),u;var f=ze(e,t);if(f!==null)return f}var h=Se(e);if(h!==Se(t))return G(e,t,n.memoize,!1),!1;G(e,t,n.memoize,!0);var d=Yt(e,t,h,n);return G(e,t,n.memoize,d),d}l(Pe,"extensiveDeepEqual");function Yt(e,t,n,r){switch(n){case"String":case"Number":case"Boolean":case"Date":return W(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return _e(e,t,["name","message","code"],r);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return I(e,t,r);case"RegExp":return Qt(e,t);case"Generator":return Xt(e,t,r);case"DataView":return I(new Uint8Array(e.buffer),new Uint8Array(t.buffer),r);case"ArrayBuffer":return I(new Uint8Array(e),new Uint8Array(t),r);case"Set":return Ne(e,t,r);case"Map":return Ne(e,t,r);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 en(e,t,r)}}l(Yt,"extensiveDeepEqualByType");function Qt(e,t){return e.toString()===t.toString()}l(Qt,"regexpEqual");function Ne(e,t,n){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var r=[],s=[];return e.forEach(l(function(u,f){r.push([u,f])},"gatherEntries")),t.forEach(l(function(u,f){s.push([u,f])},"gatherEntries")),I(r.sort(),s.sort(),n)}l(Ne,"entriesEqual");function I(e,t,n){var r=e.length;if(r!==t.length)return!1;if(r===0)return!0;for(var s=-1;++s<r;)if(W(e[s],t[s],n)===!1)return!1;return!0}l(I,"iterableEqual");function Xt(e,t,n){return I(H(e),H(t),n)}l(Xt,"generatorEqual");function Ht(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}l(Ht,"hasIteratorFunction");function Ee(e){if(Ht(e))try{return H(e[Symbol.iterator]())}catch{return[]}return[]}l(Ee,"getIteratorEntries");function H(e){for(var t=e.next(),n=[t.value];t.done===!1;)t=e.next(),n.push(t.value);return n}l(H,"getGeneratorEntries");function Oe(e){var t=[];for(var n in e)t.push(n);return t}l(Oe,"getEnumerableKeys");function je(e){for(var t=[],n=Object.getOwnPropertySymbols(e),r=0;r<n.length;r+=1){var s=n[r];Object.getOwnPropertyDescriptor(e,s).enumerable&&t.push(s)}return t}l(je,"getEnumerableSymbols");function _e(e,t,n,r){var s=n.length;if(s===0)return!0;for(var a=0;a<s;a+=1)if(W(e[n[a]],t[n[a]],r)===!1)return!1;return!0}l(_e,"keysEqual");function en(e,t,n){var r=Oe(e),s=Oe(t),a=je(e),u=je(t);if(r=r.concat(a),s=s.concat(u),r.length&&r.length===s.length)return I(Ae(r).sort(),Ae(s).sort())===!1?!1:_e(e,t,r,n);var f=Ee(e),h=Ee(t);return f.length&&f.length===h.length?(f.sort(),h.sort(),I(f,h,n)):r.length===0&&f.length===0&&s.length===0&&h.length===0}l(en,"objectEqual");function _(e){return e===null||typeof e!="object"}l(_,"isPrimitive");function Ae(e){return e.map(l(function(n){return typeof n=="symbol"?n.toString():n},"mapSymbol"))}l(Ae,"mapSymbols");function ae(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}l(ae,"hasProperty");function tn(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(r=>{if(r==="constructor"||r==="__proto__"||r==="prototype")return{};const a=/^\[(\d+)\]$/.exec(r);let u=null;return a?u={i:parseFloat(a[1])}:u={p:r.replace(/\\([.[\]])/g,"$1")},u})}l(tn,"parsePath");function Te(e,t,n){let r=e,s=null;n=typeof n>"u"?t.length:n;for(let a=0;a<n;a++){const u=t[a];r&&(typeof u.p>"u"?r=r[u.i]:r=r[u.p],a===n-1&&(s=r))}return s}l(Te,"internalGetPathValue");function Be(e,t){const n=tn(t),r=n[n.length-1],s={parent:n.length>1?Te(e,n,n.length-1):e,name:r.p||r.i,value:Te(e,n)};return s.exists=ae(s.parent,s.name),s}l(Be,"getPathInfo");function i(e,t,n,r){return g(this,"ssfi",n||i),g(this,"lockSsfi",r),g(this,"object",e),g(this,"message",t),g(this,"eql",O.deepEqual||Jt),K(this)}l(i,"Assertion");Object.defineProperty(i,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),O.includeStack},set:function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),O.includeStack=e}});Object.defineProperty(i,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),O.showDiff},set:function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),O.showDiff=e}});i.addProperty=function(e,t){Fe(this.prototype,e,t)};i.addMethod=function(e,t){Ve(this.prototype,e,t)};i.addChainableMethod=function(e,t,n){Ge(this.prototype,e,t,n)};i.overwriteProperty=function(e,t){ke(this.prototype,e,t)};i.overwriteMethod=function(e,t){Ke(this.prototype,e,t)};i.overwriteChainableMethod=function(e,t,n){Re(this.prototype,e,t,n)};i.prototype.assert=function(e,t,n,r,s,a){var u=qe(this,arguments);if(a!==!1&&(a=!0),r===void 0&&s===void 0&&(a=!1),O.showDiff!==!0&&(a=!1),!u){t=Ie(this,arguments);var f=ie(this,arguments),h={actual:f,expected:r,showDiff:a},d=Le(this,arguments);throw d&&(h.operator=d),new v(t,h,O.includeStack?this.assert:g(this,"ssfi"))}};Object.defineProperty(i.prototype,"_obj",{get:function(){return g(this,"object")},set:function(e){g(this,"object",e)}});function U(){return O.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}l(U,"isProxyEnabled");function Fe(e,t,n){n=n===void 0?function(){}:n,Object.defineProperty(e,t,{get:l(function r(){!U()&&!g(this,"lockSsfi")&&g(this,"ssfi",r);var s=n.call(this);if(s!==void 0)return s;var a=new i;return T(this,a),a},"propertyGetter"),configurable:!0})}l(Fe,"addProperty");var En=Object.getOwnPropertyDescriptor(function(){},"length");function L(e,t,n){return En.configurable&&Object.defineProperty(e,"length",{get:function(){throw Error(n?"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+'".')}}),e}l(L,"addLengthGuard");function nn(e){var t=Object.getOwnPropertyNames(e);function n(s){t.indexOf(s)===-1&&t.push(s)}l(n,"addProperty");for(var r=Object.getPrototypeOf(e);r!==null;)Object.getOwnPropertyNames(r).forEach(n),r=Object.getPrototypeOf(r);return t}l(nn,"getProperties");var mt=["__flags","__methods","_obj","assert"];function K(e,t){return U()?new Proxy(e,{get:l(function n(r,s){if(typeof s=="string"&&O.proxyExcludedKeys.indexOf(s)===-1&&!Reflect.has(r,s)){if(t)throw Error("Invalid Chai property: "+t+"."+s+'. See docs for proper usage of "'+t+'".');var a=null,u=4;throw nn(r).forEach(function(f){if(!Object.prototype.hasOwnProperty(f)&&mt.indexOf(f)===-1){var h=rn(s,f,u);h<u&&(a=f,u=h)}}),Error(a!==null?"Invalid Chai property: "+s+'. Did you mean "'+a+'"?':"Invalid Chai property: "+s)}return mt.indexOf(s)===-1&&!g(r,"lockSsfi")&&g(r,"ssfi",n),Reflect.get(r,s)},"proxyGetter")}):e}l(K,"proxify");function rn(e,t,n){if(Math.abs(e.length-t.length)>=n)return n;var r=[];for(let a=0;a<=e.length;a++)r[a]=Array(t.length+1).fill(0),r[a][0]=a;for(let a=0;a<t.length;a++)r[0][a]=a;for(let a=1;a<=e.length;a++){var s=e.charCodeAt(a-1);for(let u=1;u<=t.length;u++){if(Math.abs(a-u)>=n){r[a][u]=n;continue}r[a][u]=Math.min(r[a-1][u]+1,r[a][u-1]+1,r[a-1][u-1]+(s===t.charCodeAt(u-1)?0:1))}}return r[e.length][t.length]}l(rn,"stringDistanceCapped");function Ve(e,t,n){var r=l(function(){g(this,"lockSsfi")||g(this,"ssfi",r);var s=n.apply(this,arguments);if(s!==void 0)return s;var a=new i;return T(this,a),a},"methodWrapper");L(r,t,!1),e[t]=K(r,t)}l(Ve,"addMethod");function ke(e,t,n){var r=Object.getOwnPropertyDescriptor(e,t),s=l(function(){},"_super");r&&typeof r.get=="function"&&(s=r.get),Object.defineProperty(e,t,{get:l(function a(){!U()&&!g(this,"lockSsfi")&&g(this,"ssfi",a);var u=g(this,"lockSsfi");g(this,"lockSsfi",!0);var f=n(s).call(this);if(g(this,"lockSsfi",u),f!==void 0)return f;var h=new i;return T(this,h),h},"overwritingPropertyGetter"),configurable:!0})}l(ke,"overwriteProperty");function Ke(e,t,n){var r=e[t],s=l(function(){throw new Error(t+" is not a function")},"_super");r&&typeof r=="function"&&(s=r);var a=l(function(){g(this,"lockSsfi")||g(this,"ssfi",a);var u=g(this,"lockSsfi");g(this,"lockSsfi",!0);var f=n(s).apply(this,arguments);if(g(this,"lockSsfi",u),f!==void 0)return f;var h=new i;return T(this,h),h},"overwritingMethodWrapper");L(a,t,!1),e[t]=K(a,t)}l(Ke,"overwriteMethod");var On=typeof Object.setPrototypeOf=="function",wt=l(function(){},"testFn"),jn=Object.getOwnPropertyNames(wt).filter(function(e){var t=Object.getOwnPropertyDescriptor(wt,e);return typeof t!="object"?!0:!t.configurable}),An=Function.prototype.call,Tn=Function.prototype.apply;function Ge(e,t,n,r){typeof r!="function"&&(r=l(function(){},"chainingBehavior"));var s={method:n,chainingBehavior:r};e.__methods||(e.__methods={}),e.__methods[t]=s,Object.defineProperty(e,t,{get:l(function(){s.chainingBehavior.call(this);var u=l(function(){g(this,"lockSsfi")||g(this,"ssfi",u);var d=s.method.apply(this,arguments);if(d!==void 0)return d;var p=new i;return T(this,p),p},"chainableMethodWrapper");if(L(u,t,!0),On){var f=Object.create(this);f.call=An,f.apply=Tn,Object.setPrototypeOf(u,f)}else{var h=Object.getOwnPropertyNames(e);h.forEach(function(d){if(jn.indexOf(d)===-1){var p=Object.getOwnPropertyDescriptor(e,d);Object.defineProperty(u,d,p)}})}return T(this,u),K(u)},"chainableMethodGetter"),configurable:!0})}l(Ge,"addChainableMethod");function Re(e,t,n,r){var s=e.__methods[t],a=s.chainingBehavior;s.chainingBehavior=l(function(){var h=r(a).call(this);if(h!==void 0)return h;var d=new i;return T(this,d),d},"overwritingChainableMethodGetter");var u=s.method;s.method=l(function(){var h=n(u).apply(this,arguments);if(h!==void 0)return h;var d=new i;return T(this,d),d},"overwritingChainableMethodWrapper")}l(Re,"overwriteChainableMethod");function ee(e,t){return w(e)<w(t)?-1:1}l(ee,"compareByInspect");function We(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}l(We,"getOwnEnumerablePropertySymbols");function Ue(e){return Object.keys(e).concat(We(e))}l(Ue,"getOwnEnumerableProperties");var te=Number.isNaN;function sn(e){var t=S(e),n=["Array","Object","Function"];return n.indexOf(t)!==-1}l(sn,"isObjectType");function Le(e,t){var n=g(e,"operator"),r=g(e,"negate"),s=t[3],a=r?t[2]:t[1];if(n)return n;if(typeof a=="function"&&(a=a()),a=a||"",!!a&&!/\shave\s/.test(a)){var u=sn(s);return/\snot\s/.test(a)?u?"notDeepStrictEqual":"notStrictEqual":u?"deepStrictEqual":"strictEqual"}}l(Le,"getOperator");function ue(e){return e.name}l(ue,"getName");function ne(e){return Object.prototype.toString.call(e)==="[object RegExp]"}l(ne,"isRegExp");function N(e){return["Number","BigInt"].includes(S(e))}l(N,"isNumeric");var{flag:c}=Y;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){i.addProperty(e)});i.addProperty("not",function(){c(this,"negate",!0)});i.addProperty("deep",function(){c(this,"deep",!0)});i.addProperty("nested",function(){c(this,"nested",!0)});i.addProperty("own",function(){c(this,"own",!0)});i.addProperty("ordered",function(){c(this,"ordered",!0)});i.addProperty("any",function(){c(this,"any",!0),c(this,"all",!1)});i.addProperty("all",function(){c(this,"all",!0),c(this,"any",!1)});var vt={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function Ze(e,t){t&&c(this,"message",t),e=e.toLowerCase();var n=c(this,"object"),r=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";const s=S(n).toLowerCase();vt.function.includes(e)?this.assert(vt[e].includes(s),"expected #{this} to be "+r+e,"expected #{this} not to be "+r+e):this.assert(e===s,"expected #{this} to be "+r+e,"expected #{this} not to be "+r+e)}l(Ze,"an");i.addChainableMethod("an",Ze);i.addChainableMethod("a",Ze);function on(e,t){return te(e)&&te(t)||e===t}l(on,"SameValueZero");function Z(){c(this,"contains",!0)}l(Z,"includeChainingBehavior");function J(e,t){t&&c(this,"message",t);var n=c(this,"object"),r=S(n).toLowerCase(),s=c(this,"message"),a=c(this,"negate"),u=c(this,"ssfi"),f=c(this,"deep"),h=f?"deep ":"",d=f?c(this,"eql"):on;s=s?s+": ":"";var p=!1;switch(r){case"string":p=n.indexOf(e)!==-1;break;case"weakset":if(f)throw new v(s+"unable to use .deep.include with WeakSet",void 0,u);p=n.has(e);break;case"map":n.forEach(function(m){p=p||d(m,e)});break;case"set":f?n.forEach(function(m){p=p||d(m,e)}):p=n.has(e);break;case"array":f?p=n.some(function(m){return d(m,e)}):p=n.indexOf(e)!==-1;break;default:if(e!==Object(e))throw new v(s+"the given combination of arguments ("+r+" and "+S(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 "+S(e).toLowerCase(),void 0,u);var b=Object.keys(e),x=null,y=0;if(b.forEach(function(m){var M=new i(n);if(T(this,M,!0),c(M,"lockSsfi",!0),!a||b.length===1){M.property(m,e[m]);return}try{M.property(m,e[m])}catch(E){if(!j.compatibleConstructor(E,v))throw E;x===null&&(x=E),y++}},this),a&&b.length>1&&y===b.length)throw x;return}this.assert(p,"expected #{this} to "+h+"include "+w(e),"expected #{this} to not "+h+"include "+w(e))}l(J,"include");i.addChainableMethod("include",J,Z);i.addChainableMethod("contain",J,Z);i.addChainableMethod("contains",J,Z);i.addChainableMethod("includes",J,Z);i.addProperty("ok",function(){this.assert(c(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});i.addProperty("true",function(){this.assert(c(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!c(this,"negate"))});i.addProperty("numeric",function(){const e=c(this,"object");this.assert(["Number","BigInt"].includes(S(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!c(this,"negate"))});i.addProperty("callable",function(){const e=c(this,"object"),t=c(this,"ssfi"),n=c(this,"message"),r=n?`${n}: `:"",s=c(this,"negate"),a=s?`${r}expected ${w(e)} not to be a callable function`:`${r}expected ${w(e)} to be a callable function`,u=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(S(e));if(u&&s||!u&&!s)throw new v(a,void 0,t)});i.addProperty("false",function(){this.assert(c(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!c(this,"negate"))});i.addProperty("null",function(){this.assert(c(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});i.addProperty("undefined",function(){this.assert(c(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});i.addProperty("NaN",function(){this.assert(te(c(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function Je(){var e=c(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}l(Je,"assertExist");i.addProperty("exist",Je);i.addProperty("exists",Je);i.addProperty("empty",function(){var e=c(this,"object"),t=c(this,"ssfi"),n=c(this,"message"),r;switch(n=n?n+": ":"",S(e).toLowerCase()){case"array":case"string":r=e.length;break;case"map":case"set":r=e.size;break;case"weakmap":case"weakset":throw new v(n+".empty was passed a weak collection",void 0,t);case"function":var s=n+".empty was passed a function "+ue(e);throw new v(s.trim(),void 0,t);default:if(e!==Object(e))throw new v(n+".empty was passed non-string primitive "+w(e),void 0,t);r=Object.keys(e).length}this.assert(r===0,"expected #{this} to be empty","expected #{this} not to be empty")});function Ye(){var e=c(this,"object"),t=S(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}l(Ye,"checkArguments");i.addProperty("arguments",Ye);i.addProperty("Arguments",Ye);function ce(e,t){t&&c(this,"message",t);var n=c(this,"object");if(c(this,"deep")){var r=c(this,"lockSsfi");c(this,"lockSsfi",!0),this.eql(e),c(this,"lockSsfi",r)}else this.assert(e===n,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}l(ce,"assertEqual");i.addMethod("equal",ce);i.addMethod("equals",ce);i.addMethod("eq",ce);function Qe(e,t){t&&c(this,"message",t);var n=c(this,"eql");this.assert(n(e,c(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}l(Qe,"assertEql");i.addMethod("eql",Qe);i.addMethod("eqls",Qe);function fe(e,t){t&&c(this,"message",t);var n=c(this,"object"),r=c(this,"doLength"),s=c(this,"message"),a=s?s+": ":"",u=c(this,"ssfi"),f=S(n).toLowerCase(),h=S(e).toLowerCase();if(r&&f!=="map"&&f!=="set"&&new i(n,s,u,!0).to.have.property("length"),!r&&f==="date"&&h!=="date")throw new v(a+"the argument to above must be a date",void 0,u);if(!N(e)&&(r||N(n)))throw new v(a+"the argument to above must be a number",void 0,u);if(!r&&f!=="date"&&!N(n)){var d=f==="string"?"'"+n+"'":n;throw new v(a+"expected "+d+" to be a number or a date",void 0,u)}if(r){var p="length",b;f==="map"||f==="set"?(p="size",b=n.size):b=n.length,this.assert(b>e,"expected #{this} to have a "+p+" above #{exp} but got #{act}","expected #{this} to not have a "+p+" above #{exp}",e,b)}else this.assert(n>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}l(fe,"assertAbove");i.addMethod("above",fe);i.addMethod("gt",fe);i.addMethod("greaterThan",fe);function le(e,t){t&&c(this,"message",t);var n=c(this,"object"),r=c(this,"doLength"),s=c(this,"message"),a=s?s+": ":"",u=c(this,"ssfi"),f=S(n).toLowerCase(),h=S(e).toLowerCase(),d,p=!0;if(r&&f!=="map"&&f!=="set"&&new i(n,s,u,!0).to.have.property("length"),!r&&f==="date"&&h!=="date")d=a+"the argument to least must be a date";else if(!N(e)&&(r||N(n)))d=a+"the argument to least must be a number";else if(!r&&f!=="date"&&!N(n)){var b=f==="string"?"'"+n+"'":n;d=a+"expected "+b+" to be a number or a date"}else p=!1;if(p)throw new v(d,void 0,u);if(r){var x="length",y;f==="map"||f==="set"?(x="size",y=n.size):y=n.length,this.assert(y>=e,"expected #{this} to have a "+x+" at least #{exp} but got #{act}","expected #{this} to have a "+x+" below #{exp}",e,y)}else this.assert(n>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}l(le,"assertLeast");i.addMethod("least",le);i.addMethod("gte",le);i.addMethod("greaterThanOrEqual",le);function he(e,t){t&&c(this,"message",t);var n=c(this,"object"),r=c(this,"doLength"),s=c(this,"message"),a=s?s+": ":"",u=c(this,"ssfi"),f=S(n).toLowerCase(),h=S(e).toLowerCase(),d,p=!0;if(r&&f!=="map"&&f!=="set"&&new i(n,s,u,!0).to.have.property("length"),!r&&f==="date"&&h!=="date")d=a+"the argument to below must be a date";else if(!N(e)&&(r||N(n)))d=a+"the argument to below must be a number";else if(!r&&f!=="date"&&!N(n)){var b=f==="string"?"'"+n+"'":n;d=a+"expected "+b+" to be a number or a date"}else p=!1;if(p)throw new v(d,void 0,u);if(r){var x="length",y;f==="map"||f==="set"?(x="size",y=n.size):y=n.length,this.assert(y<e,"expected #{this} to have a "+x+" below #{exp} but got #{act}","expected #{this} to not have a "+x+" below #{exp}",e,y)}else this.assert(n<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}l(he,"assertBelow");i.addMethod("below",he);i.addMethod("lt",he);i.addMethod("lessThan",he);function de(e,t){t&&c(this,"message",t);var n=c(this,"object"),r=c(this,"doLength"),s=c(this,"message"),a=s?s+": ":"",u=c(this,"ssfi"),f=S(n).toLowerCase(),h=S(e).toLowerCase(),d,p=!0;if(r&&f!=="map"&&f!=="set"&&new i(n,s,u,!0).to.have.property("length"),!r&&f==="date"&&h!=="date")d=a+"the argument to most must be a date";else if(!N(e)&&(r||N(n)))d=a+"the argument to most must be a number";else if(!r&&f!=="date"&&!N(n)){var b=f==="string"?"'"+n+"'":n;d=a+"expected "+b+" to be a number or a date"}else p=!1;if(p)throw new v(d,void 0,u);if(r){var x="length",y;f==="map"||f==="set"?(x="size",y=n.size):y=n.length,this.assert(y<=e,"expected #{this} to have a "+x+" at most #{exp} but got #{act}","expected #{this} to have a "+x+" above #{exp}",e,y)}else this.assert(n<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}l(de,"assertMost");i.addMethod("most",de);i.addMethod("lte",de);i.addMethod("lessThanOrEqual",de);i.addMethod("within",function(e,t,n){n&&c(this,"message",n);var r=c(this,"object"),s=c(this,"doLength"),a=c(this,"message"),u=a?a+": ":"",f=c(this,"ssfi"),h=S(r).toLowerCase(),d=S(e).toLowerCase(),p=S(t).toLowerCase(),b,x=!0,y=d==="date"&&p==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(s&&h!=="map"&&h!=="set"&&new i(r,a,f,!0).to.have.property("length"),!s&&h==="date"&&(d!=="date"||p!=="date"))b=u+"the arguments to within must be dates";else if((!N(e)||!N(t))&&(s||N(r)))b=u+"the arguments to within must be numbers";else if(!s&&h!=="date"&&!N(r)){var m=h==="string"?"'"+r+"'":r;b=u+"expected "+m+" to be a number or a date"}else x=!1;if(x)throw new v(b,void 0,f);if(s){var M="length",E;h==="map"||h==="set"?(M="size",E=r.size):E=r.length,this.assert(E>=e&&E<=t,"expected #{this} to have a "+M+" within "+y,"expected #{this} to not have a "+M+" within "+y)}else this.assert(r>=e&&r<=t,"expected #{this} to be within "+y,"expected #{this} to not be within "+y)});function Xe(e,t){t&&c(this,"message",t);var n=c(this,"object"),r=c(this,"ssfi"),s=c(this,"message");try{var a=n instanceof e}catch(f){throw f instanceof TypeError?(s=s?s+": ":"",new v(s+"The instanceof assertion needs a constructor but "+S(e)+" was given.",void 0,r)):f}var u=ue(e);u==null&&(u="an unnamed constructor"),this.assert(a,"expected #{this} to be an instance of "+u,"expected #{this} to not be an instance of "+u)}l(Xe,"assertInstanceOf");i.addMethod("instanceof",Xe);i.addMethod("instanceOf",Xe);function He(e,t,n){n&&c(this,"message",n);var r=c(this,"nested"),s=c(this,"own"),a=c(this,"message"),u=c(this,"object"),f=c(this,"ssfi"),h=typeof e;if(a=a?a+": ":"",r){if(h!=="string")throw new v(a+"the argument to property must be a string when using nested syntax",void 0,f)}else if(h!=="string"&&h!=="number"&&h!=="symbol")throw new v(a+"the argument to property must be a string, number, or symbol",void 0,f);if(r&&s)throw new v(a+'The "nested" and "own" flags cannot be combined.',void 0,f);if(u==null)throw new v(a+"Target cannot be null or undefined.",void 0,f);var d=c(this,"deep"),p=c(this,"negate"),b=r?Be(u,e):null,x=r?b.value:u[e],y=d?c(this,"eql"):(E,B)=>E===B,m="";d&&(m+="deep "),s&&(m+="own "),r&&(m+="nested "),m+="property ";var M;s?M=Object.prototype.hasOwnProperty.call(u,e):r?M=b.exists:M=ae(u,e),(!p||arguments.length===1)&&this.assert(M,"expected #{this} to have "+m+w(e),"expected #{this} to not have "+m+w(e)),arguments.length>1&&this.assert(M&&y(t,x),"expected #{this} to have "+m+w(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+m+w(e)+" of #{act}",t,x),c(this,"object",x)}l(He,"assertProperty");i.addMethod("property",He);function et(e,t,n){c(this,"own",!0),He.apply(this,arguments)}l(et,"assertOwnProperty");i.addMethod("ownProperty",et);i.addMethod("haveOwnProperty",et);function tt(e,t,n){typeof t=="string"&&(n=t,t=null),n&&c(this,"message",n);var r=c(this,"object"),s=Object.getOwnPropertyDescriptor(Object(r),e),a=c(this,"eql");s&&t?this.assert(a(t,s),"expected the own property descriptor for "+w(e)+" on #{this} to match "+w(t)+", got "+w(s),"expected the own property descriptor for "+w(e)+" on #{this} to not match "+w(t),t,s,!0):this.assert(s,"expected #{this} to have an own property descriptor for "+w(e),"expected #{this} to not have an own property descriptor for "+w(e)),c(this,"object",s)}l(tt,"assertOwnPropertyDescriptor");i.addMethod("ownPropertyDescriptor",tt);i.addMethod("haveOwnPropertyDescriptor",tt);function nt(){c(this,"doLength",!0)}l(nt,"assertLengthChain");function rt(e,t){t&&c(this,"message",t);var n=c(this,"object"),r=S(n).toLowerCase(),s=c(this,"message"),a=c(this,"ssfi"),u="length",f;switch(r){case"map":case"set":u="size",f=n.size;break;default:new i(n,s,a,!0).to.have.property("length"),f=n.length}this.assert(f==e,"expected #{this} to have a "+u+" of #{exp} but got #{act}","expected #{this} to not have a "+u+" of #{act}",e,f)}l(rt,"assertLength");i.addChainableMethod("length",rt,nt);i.addChainableMethod("lengthOf",rt,nt);function st(e,t){t&&c(this,"message",t);var n=c(this,"object");this.assert(e.exec(n),"expected #{this} to match "+e,"expected #{this} not to match "+e)}l(st,"assertMatch");i.addMethod("match",st);i.addMethod("matches",st);i.addMethod("string",function(e,t){t&&c(this,"message",t);var n=c(this,"object"),r=c(this,"message"),s=c(this,"ssfi");new i(n,r,s,!0).is.a("string"),this.assert(~n.indexOf(e),"expected #{this} to contain "+w(e),"expected #{this} to not contain "+w(e))});function ot(e){var t=c(this,"object"),n=S(t),r=S(e),s=c(this,"ssfi"),a=c(this,"deep"),u,f="",h,d=!0,p=c(this,"message");p=p?p+": ":"";var b=p+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(n==="Map"||n==="Set")f=a?"deeply ":"",h=[],t.forEach(function(P,C){h.push(C)}),r!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(h=Ue(t),r){case"Array":if(arguments.length>1)throw new v(b,void 0,s);break;case"Object":if(arguments.length>1)throw new v(b,void 0,s);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(P){return typeof P=="symbol"?P:String(P)})}if(!e.length)throw new v(p+"keys required",void 0,s);var x=e.length,y=c(this,"any"),m=c(this,"all"),M=e,E=a?c(this,"eql"):(P,C)=>P===C;if(!y&&!m&&(m=!0),y&&(d=M.some(function(P){return h.some(function(C){return E(P,C)})})),m&&(d=M.every(function(P){return h.some(function(C){return E(P,C)})}),c(this,"contains")||(d=d&&e.length==h.length)),x>1){e=e.map(function(P){return w(P)});var B=e.pop();m&&(u=e.join(", ")+", and "+B),y&&(u=e.join(", ")+", or "+B)}else u=w(e[0]);u=(x>1?"keys ":"key ")+u,u=(c(this,"contains")?"contain ":"have ")+u,this.assert(d,"expected #{this} to "+f+u,"expected #{this} to not "+f+u,M.slice(0).sort(ee),h.sort(ee),!0)}l(ot,"assertKeys");i.addMethod("keys",ot);i.addMethod("key",ot);function pe(e,t,n){n&&c(this,"message",n);var r=c(this,"object"),s=c(this,"ssfi"),a=c(this,"message"),u=c(this,"negate")||!1;new i(r,a,s,!0).is.a("function"),(ne(e)||typeof e=="string")&&(t=e,e=null);let f,h=!1;try{r()}catch(P){h=!0,f=P}var d=e===void 0&&t===void 0,p=!!(e&&t),b=!1,x=!1;if(d||!d&&!u){var y="an error";e instanceof Error?y="#{exp}":e&&(y=j.getConstructorName(e));let P=f;if(f instanceof Error)P=f.toString();else if(typeof f=="string")P=f;else if(f&&(typeof f=="object"||typeof f=="function"))try{P=j.getConstructorName(f)}catch{}this.assert(h,"expected #{this} to throw "+y,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),P)}if(e&&f){if(e instanceof Error){var m=j.compatibleInstance(f,e);m===u&&(p&&u?b=!0:this.assert(u,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(f&&!u?" but #{act} was thrown":""),e.toString(),f.toString()))}var M=j.compatibleConstructor(f,e);M===u&&(p&&u?b=!0:this.assert(u,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(f?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&j.getConstructorName(e),f instanceof Error?f.toString():f&&j.getConstructorName(f)))}if(f&&t!==void 0&&t!==null){var E="including";ne(t)&&(E="matching");var B=j.compatibleMessage(f,t);B===u&&(p&&u?x=!0:this.assert(u,"expected #{this} to throw error "+E+" #{exp} but got #{act}","expected #{this} to throw error not "+E+" #{exp}",t,j.getMessage(f)))}b&&x&&this.assert(u,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(f?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&j.getConstructorName(e),f instanceof Error?f.toString():f&&j.getConstructorName(f)),c(this,"object",f)}l(pe,"assertThrows");i.addMethod("throw",pe);i.addMethod("throws",pe);i.addMethod("Throw",pe);function it(e,t){t&&c(this,"message",t);var n=c(this,"object"),r=c(this,"itself"),s=typeof n=="function"&&!r?n.prototype[e]:n[e];this.assert(typeof s=="function","expected #{this} to respond to "+w(e),"expected #{this} to not respond to "+w(e))}l(it,"respondTo");i.addMethod("respondTo",it);i.addMethod("respondsTo",it);i.addProperty("itself",function(){c(this,"itself",!0)});function at(e,t){t&&c(this,"message",t);var n=c(this,"object"),r=e(n);this.assert(r,"expected #{this} to satisfy "+$(e),"expected #{this} to not satisfy"+$(e),!c(this,"negate"),r)}l(at,"satisfy");i.addMethod("satisfy",at);i.addMethod("satisfies",at);function ut(e,t,n){n&&c(this,"message",n);var r=c(this,"object"),s=c(this,"message"),a=c(this,"ssfi");new i(r,s,a,!0).is.numeric;let u="A `delta` value is required for `closeTo`";if(t==null)throw new v(s?`${s}: ${u}`:u,void 0,a);if(new i(t,s,a,!0).is.numeric,u="A `expected` value is required for `closeTo`",e==null)throw new v(s?`${s}: ${u}`:u,void 0,a);new i(e,s,a,!0).is.numeric;const f=l(d=>d<0n?-d:d,"abs"),h=l(d=>parseFloat(parseFloat(d).toPrecision(12)),"strip");this.assert(h(f(r-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}l(ut,"closeTo");i.addMethod("closeTo",ut);i.addMethod("approximately",ut);function an(e,t,n,r,s){let a=Array.from(t),u=Array.from(e);if(!r){if(u.length!==a.length)return!1;a=a.slice()}return u.every(function(f,h){if(s)return n?n(f,a[h]):f===a[h];if(!n){var d=a.indexOf(f);return d===-1?!1:(r||a.splice(d,1),!0)}return a.some(function(p,b){return n(f,p)?(r||a.splice(b,1),!0):!1})})}l(an,"isSubsetOf");i.addMethod("members",function(e,t){t&&c(this,"message",t);var n=c(this,"object"),r=c(this,"message"),s=c(this,"ssfi");new i(n,r,s,!0).to.be.iterable,new i(e,r,s,!0).to.be.iterable;var a=c(this,"contains"),u=c(this,"ordered"),f,h,d;a?(f=u?"an ordered superset":"a superset",h="expected #{this} to be "+f+" of #{exp}",d="expected #{this} to not be "+f+" of #{exp}"):(f=u?"ordered members":"members",h="expected #{this} to have the same "+f+" as #{exp}",d="expected #{this} to not have the same "+f+" as #{exp}");var p=c(this,"deep")?c(this,"eql"):void 0;this.assert(an(e,n,p,a,u),h,d,e,n,!0)});i.addProperty("iterable",function(e){e&&c(this,"message",e);var t=c(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function un(e,t){t&&c(this,"message",t);var n=c(this,"object"),r=c(this,"message"),s=c(this,"ssfi"),a=c(this,"contains"),u=c(this,"deep"),f=c(this,"eql");new i(e,r,s,!0).to.be.an("array"),a?this.assert(e.some(function(h){return n.indexOf(h)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,n):u?this.assert(e.some(function(h){return f(n,h)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,n):this.assert(e.indexOf(n)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,n)}l(un,"oneOf");i.addMethod("oneOf",un);function ct(e,t,n){n&&c(this,"message",n);var r=c(this,"object"),s=c(this,"message"),a=c(this,"ssfi");new i(r,s,a,!0).is.a("function");var u;t?(new i(e,s,a,!0).to.have.property(t),u=e[t]):(new i(e,s,a,!0).is.a("function"),u=e()),r();var f=t==null?e():e[t],h=t==null?u:"."+t;c(this,"deltaMsgObj",h),c(this,"initialDeltaValue",u),c(this,"finalDeltaValue",f),c(this,"deltaBehavior","change"),c(this,"realDelta",f!==u),this.assert(u!==f,"expected "+h+" to change","expected "+h+" to not change")}l(ct,"assertChanges");i.addMethod("change",ct);i.addMethod("changes",ct);function ft(e,t,n){n&&c(this,"message",n);var r=c(this,"object"),s=c(this,"message"),a=c(this,"ssfi");new i(r,s,a,!0).is.a("function");var u;t?(new i(e,s,a,!0).to.have.property(t),u=e[t]):(new i(e,s,a,!0).is.a("function"),u=e()),new i(u,s,a,!0).is.a("number"),r();var f=t==null?e():e[t],h=t==null?u:"."+t;c(this,"deltaMsgObj",h),c(this,"initialDeltaValue",u),c(this,"finalDeltaValue",f),c(this,"deltaBehavior","increase"),c(this,"realDelta",f-u),this.assert(f-u>0,"expected "+h+" to increase","expected "+h+" to not increase")}l(ft,"assertIncreases");i.addMethod("increase",ft);i.addMethod("increases",ft);function lt(e,t,n){n&&c(this,"message",n);var r=c(this,"object"),s=c(this,"message"),a=c(this,"ssfi");new i(r,s,a,!0).is.a("function");var u;t?(new i(e,s,a,!0).to.have.property(t),u=e[t]):(new i(e,s,a,!0).is.a("function"),u=e()),new i(u,s,a,!0).is.a("number"),r();var f=t==null?e():e[t],h=t==null?u:"."+t;c(this,"deltaMsgObj",h),c(this,"initialDeltaValue",u),c(this,"finalDeltaValue",f),c(this,"deltaBehavior","decrease"),c(this,"realDelta",u-f),this.assert(f-u<0,"expected "+h+" to decrease","expected "+h+" to not decrease")}l(lt,"assertDecreases");i.addMethod("decrease",lt);i.addMethod("decreases",lt);function cn(e,t){t&&c(this,"message",t);var n=c(this,"deltaMsgObj"),r=c(this,"initialDeltaValue"),s=c(this,"finalDeltaValue"),a=c(this,"deltaBehavior"),u=c(this,"realDelta"),f;a==="change"?f=Math.abs(s-r)===Math.abs(e):f=u===Math.abs(e),this.assert(f,"expected "+n+" to "+a+" by "+e,"expected "+n+" to not "+a+" by "+e)}l(cn,"assertDelta");i.addMethod("by",cn);i.addProperty("extensible",function(){var e=c(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});i.addProperty("sealed",function(){var e=c(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});i.addProperty("frozen",function(){var e=c(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});i.addProperty("finite",function(e){var t=c(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 re(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(n){return t.some(function(r){return re(n,r)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(n){var r=e[n],s=t[n];return typeof r=="object"&&r!==null&&s!==null?re(r,s):typeof r=="function"?r(s):s===r}):!1}l(re,"compareSubset");i.addMethod("containSubset",function(e){const t=g(this,"object"),n=O.showDiff;this.assert(re(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,n)});function se(e,t){return new i(e,t)}l(se,"expect");se.fail=function(e,t,n,r){throw arguments.length<2&&(n=e,e=void 0),n=n||"expect.fail()",new v(n,{actual:e,expected:t,operator:r},se.fail)};var fn={};De(fn,{Should:()=>qn,should:()=>Dn});function ht(){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 i(this.valueOf(),null,e):new i(this,null,e)}l(e,"shouldGetter");function t(r){Object.defineProperty(this,"should",{value:r,enumerable:!0,configurable:!0,writable:!0})}l(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});var n={};return n.fail=function(r,s,a,u){throw arguments.length<2&&(a=r,r=void 0),a=a||"should.fail()",new v(a,{actual:r,expected:s,operator:u},n.fail)},n.equal=function(r,s,a){new i(r,a).to.equal(s)},n.Throw=function(r,s,a,u){new i(r,u).to.Throw(s,a)},n.exist=function(r,s){new i(r,s).to.exist},n.not={},n.not.equal=function(r,s,a){new i(r,a).to.not.equal(s)},n.not.Throw=function(r,s,a,u){new i(r,u).to.not.Throw(s,a)},n.not.exist=function(r,s){new i(r,s).to.not.exist},n.throw=n.Throw,n.not.throw=n.not.Throw,n}l(ht,"loadShould");var Dn=ht,qn=ht;function o(e,t){var n=new i(null,null,o,!0);n.assert(e,t,"[ negation message unavailable ]")}l(o,"assert");o.fail=function(e,t,n,r){throw arguments.length<2&&(n=e,e=void 0),n=n||"assert.fail()",new v(n,{actual:e,expected:t,operator:r},o.fail)};o.isOk=function(e,t){new i(e,t,o.isOk,!0).is.ok};o.isNotOk=function(e,t){new i(e,t,o.isNotOk,!0).is.not.ok};o.equal=function(e,t,n){var r=new i(e,n,o.equal,!0);r.assert(t==g(r,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};o.notEqual=function(e,t,n){var r=new i(e,n,o.notEqual,!0);r.assert(t!=g(r,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};o.strictEqual=function(e,t,n){new i(e,n,o.strictEqual,!0).to.equal(t)};o.notStrictEqual=function(e,t,n){new i(e,n,o.notStrictEqual,!0).to.not.equal(t)};o.deepEqual=o.deepStrictEqual=function(e,t,n){new i(e,n,o.deepEqual,!0).to.eql(t)};o.notDeepEqual=function(e,t,n){new i(e,n,o.notDeepEqual,!0).to.not.eql(t)};o.isAbove=function(e,t,n){new i(e,n,o.isAbove,!0).to.be.above(t)};o.isAtLeast=function(e,t,n){new i(e,n,o.isAtLeast,!0).to.be.least(t)};o.isBelow=function(e,t,n){new i(e,n,o.isBelow,!0).to.be.below(t)};o.isAtMost=function(e,t,n){new i(e,n,o.isAtMost,!0).to.be.most(t)};o.isTrue=function(e,t){new i(e,t,o.isTrue,!0).is.true};o.isNotTrue=function(e,t){new i(e,t,o.isNotTrue,!0).to.not.equal(!0)};o.isFalse=function(e,t){new i(e,t,o.isFalse,!0).is.false};o.isNotFalse=function(e,t){new i(e,t,o.isNotFalse,!0).to.not.equal(!1)};o.isNull=function(e,t){new i(e,t,o.isNull,!0).to.equal(null)};o.isNotNull=function(e,t){new i(e,t,o.isNotNull,!0).to.not.equal(null)};o.isNaN=function(e,t){new i(e,t,o.isNaN,!0).to.be.NaN};o.isNotNaN=function(e,t){new i(e,t,o.isNotNaN,!0).not.to.be.NaN};o.exists=function(e,t){new i(e,t,o.exists,!0).to.exist};o.notExists=function(e,t){new i(e,t,o.notExists,!0).to.not.exist};o.isUndefined=function(e,t){new i(e,t,o.isUndefined,!0).to.equal(void 0)};o.isDefined=function(e,t){new i(e,t,o.isDefined,!0).to.not.equal(void 0)};o.isCallable=function(e,t){new i(e,t,o.isCallable,!0).is.callable};o.isNotCallable=function(e,t){new i(e,t,o.isNotCallable,!0).is.not.callable};o.isObject=function(e,t){new i(e,t,o.isObject,!0).to.be.a("object")};o.isNotObject=function(e,t){new i(e,t,o.isNotObject,!0).to.not.be.a("object")};o.isArray=function(e,t){new i(e,t,o.isArray,!0).to.be.an("array")};o.isNotArray=function(e,t){new i(e,t,o.isNotArray,!0).to.not.be.an("array")};o.isString=function(e,t){new i(e,t,o.isString,!0).to.be.a("string")};o.isNotString=function(e,t){new i(e,t,o.isNotString,!0).to.not.be.a("string")};o.isNumber=function(e,t){new i(e,t,o.isNumber,!0).to.be.a("number")};o.isNotNumber=function(e,t){new i(e,t,o.isNotNumber,!0).to.not.be.a("number")};o.isNumeric=function(e,t){new i(e,t,o.isNumeric,!0).is.numeric};o.isNotNumeric=function(e,t){new i(e,t,o.isNotNumeric,!0).is.not.numeric};o.isFinite=function(e,t){new i(e,t,o.isFinite,!0).to.be.finite};o.isBoolean=function(e,t){new i(e,t,o.isBoolean,!0).to.be.a("boolean")};o.isNotBoolean=function(e,t){new i(e,t,o.isNotBoolean,!0).to.not.be.a("boolean")};o.typeOf=function(e,t,n){new i(e,n,o.typeOf,!0).to.be.a(t)};o.notTypeOf=function(e,t,n){new i(e,n,o.notTypeOf,!0).to.not.be.a(t)};o.instanceOf=function(e,t,n){new i(e,n,o.instanceOf,!0).to.be.instanceOf(t)};o.notInstanceOf=function(e,t,n){new i(e,n,o.notInstanceOf,!0).to.not.be.instanceOf(t)};o.include=function(e,t,n){new i(e,n,o.include,!0).include(t)};o.notInclude=function(e,t,n){new i(e,n,o.notInclude,!0).not.include(t)};o.deepInclude=function(e,t,n){new i(e,n,o.deepInclude,!0).deep.include(t)};o.notDeepInclude=function(e,t,n){new i(e,n,o.notDeepInclude,!0).not.deep.include(t)};o.nestedInclude=function(e,t,n){new i(e,n,o.nestedInclude,!0).nested.include(t)};o.notNestedInclude=function(e,t,n){new i(e,n,o.notNestedInclude,!0).not.nested.include(t)};o.deepNestedInclude=function(e,t,n){new i(e,n,o.deepNestedInclude,!0).deep.nested.include(t)};o.notDeepNestedInclude=function(e,t,n){new i(e,n,o.notDeepNestedInclude,!0).not.deep.nested.include(t)};o.ownInclude=function(e,t,n){new i(e,n,o.ownInclude,!0).own.include(t)};o.notOwnInclude=function(e,t,n){new i(e,n,o.notOwnInclude,!0).not.own.include(t)};o.deepOwnInclude=function(e,t,n){new i(e,n,o.deepOwnInclude,!0).deep.own.include(t)};o.notDeepOwnInclude=function(e,t,n){new i(e,n,o.notDeepOwnInclude,!0).not.deep.own.include(t)};o.match=function(e,t,n){new i(e,n,o.match,!0).to.match(t)};o.notMatch=function(e,t,n){new i(e,n,o.notMatch,!0).to.not.match(t)};o.property=function(e,t,n){new i(e,n,o.property,!0).to.have.property(t)};o.notProperty=function(e,t,n){new i(e,n,o.notProperty,!0).to.not.have.property(t)};o.propertyVal=function(e,t,n,r){new i(e,r,o.propertyVal,!0).to.have.property(t,n)};o.notPropertyVal=function(e,t,n,r){new i(e,r,o.notPropertyVal,!0).to.not.have.property(t,n)};o.deepPropertyVal=function(e,t,n,r){new i(e,r,o.deepPropertyVal,!0).to.have.deep.property(t,n)};o.notDeepPropertyVal=function(e,t,n,r){new i(e,r,o.notDeepPropertyVal,!0).to.not.have.deep.property(t,n)};o.ownProperty=function(e,t,n){new i(e,n,o.ownProperty,!0).to.have.own.property(t)};o.notOwnProperty=function(e,t,n){new i(e,n,o.notOwnProperty,!0).to.not.have.own.property(t)};o.ownPropertyVal=function(e,t,n,r){new i(e,r,o.ownPropertyVal,!0).to.have.own.property(t,n)};o.notOwnPropertyVal=function(e,t,n,r){new i(e,r,o.notOwnPropertyVal,!0).to.not.have.own.property(t,n)};o.deepOwnPropertyVal=function(e,t,n,r){new i(e,r,o.deepOwnPropertyVal,!0).to.have.deep.own.property(t,n)};o.notDeepOwnPropertyVal=function(e,t,n,r){new i(e,r,o.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,n)};o.nestedProperty=function(e,t,n){new i(e,n,o.nestedProperty,!0).to.have.nested.property(t)};o.notNestedProperty=function(e,t,n){new i(e,n,o.notNestedProperty,!0).to.not.have.nested.property(t)};o.nestedPropertyVal=function(e,t,n,r){new i(e,r,o.nestedPropertyVal,!0).to.have.nested.property(t,n)};o.notNestedPropertyVal=function(e,t,n,r){new i(e,r,o.notNestedPropertyVal,!0).to.not.have.nested.property(t,n)};o.deepNestedPropertyVal=function(e,t,n,r){new i(e,r,o.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,n)};o.notDeepNestedPropertyVal=function(e,t,n,r){new i(e,r,o.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,n)};o.lengthOf=function(e,t,n){new i(e,n,o.lengthOf,!0).to.have.lengthOf(t)};o.hasAnyKeys=function(e,t,n){new i(e,n,o.hasAnyKeys,!0).to.have.any.keys(t)};o.hasAllKeys=function(e,t,n){new i(e,n,o.hasAllKeys,!0).to.have.all.keys(t)};o.containsAllKeys=function(e,t,n){new i(e,n,o.containsAllKeys,!0).to.contain.all.keys(t)};o.doesNotHaveAnyKeys=function(e,t,n){new i(e,n,o.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};o.doesNotHaveAllKeys=function(e,t,n){new i(e,n,o.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};o.hasAnyDeepKeys=function(e,t,n){new i(e,n,o.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};o.hasAllDeepKeys=function(e,t,n){new i(e,n,o.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};o.containsAllDeepKeys=function(e,t,n){new i(e,n,o.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};o.doesNotHaveAnyDeepKeys=function(e,t,n){new i(e,n,o.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};o.doesNotHaveAllDeepKeys=function(e,t,n){new i(e,n,o.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};o.throws=function(e,t,n,r){(typeof t=="string"||t instanceof RegExp)&&(n=t,t=null);var s=new i(e,r,o.throws,!0).to.throw(t,n);return g(s,"object")};o.doesNotThrow=function(e,t,n,r){(typeof t=="string"||t instanceof RegExp)&&(n=t,t=null),new i(e,r,o.doesNotThrow,!0).to.not.throw(t,n)};o.operator=function(e,t,n,r){var s;switch(t){case"==":s=e==n;break;case"===":s=e===n;break;case">":s=e>n;break;case">=":s=e>=n;break;case"<":s=e<n;break;case"<=":s=e<=n;break;case"!=":s=e!=n;break;case"!==":s=e!==n;break;default:throw r=r&&r+": ",new v(r+'Invalid operator "'+t+'"',void 0,o.operator)}var a=new i(s,r,o.operator,!0);a.assert(g(a,"object")===!0,"expected "+w(e)+" to be "+t+" "+w(n),"expected "+w(e)+" to not be "+t+" "+w(n))};o.closeTo=function(e,t,n,r){new i(e,r,o.closeTo,!0).to.be.closeTo(t,n)};o.approximately=function(e,t,n,r){new i(e,r,o.approximately,!0).to.be.approximately(t,n)};o.sameMembers=function(e,t,n){new i(e,n,o.sameMembers,!0).to.have.same.members(t)};o.notSameMembers=function(e,t,n){new i(e,n,o.notSameMembers,!0).to.not.have.same.members(t)};o.sameDeepMembers=function(e,t,n){new i(e,n,o.sameDeepMembers,!0).to.have.same.deep.members(t)};o.notSameDeepMembers=function(e,t,n){new i(e,n,o.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};o.sameOrderedMembers=function(e,t,n){new i(e,n,o.sameOrderedMembers,!0).to.have.same.ordered.members(t)};o.notSameOrderedMembers=function(e,t,n){new i(e,n,o.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};o.sameDeepOrderedMembers=function(e,t,n){new i(e,n,o.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};o.notSameDeepOrderedMembers=function(e,t,n){new i(e,n,o.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};o.includeMembers=function(e,t,n){new i(e,n,o.includeMembers,!0).to.include.members(t)};o.notIncludeMembers=function(e,t,n){new i(e,n,o.notIncludeMembers,!0).to.not.include.members(t)};o.includeDeepMembers=function(e,t,n){new i(e,n,o.includeDeepMembers,!0).to.include.deep.members(t)};o.notIncludeDeepMembers=function(e,t,n){new i(e,n,o.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};o.includeOrderedMembers=function(e,t,n){new i(e,n,o.includeOrderedMembers,!0).to.include.ordered.members(t)};o.notIncludeOrderedMembers=function(e,t,n){new i(e,n,o.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};o.includeDeepOrderedMembers=function(e,t,n){new i(e,n,o.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};o.notIncludeDeepOrderedMembers=function(e,t,n){new i(e,n,o.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};o.oneOf=function(e,t,n){new i(e,n,o.oneOf,!0).to.be.oneOf(t)};o.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${w(e)} to be an iterable`:`expected ${w(e)} to be an iterable`,new v(t,void 0,o.isIterable)};o.changes=function(e,t,n,r){arguments.length===3&&typeof t=="function"&&(r=n,n=null),new i(e,r,o.changes,!0).to.change(t,n)};o.changesBy=function(e,t,n,r,s){if(arguments.length===4&&typeof t=="function"){var a=r;r=n,s=a}else arguments.length===3&&(r=n,n=null);new i(e,s,o.changesBy,!0).to.change(t,n).by(r)};o.doesNotChange=function(e,t,n,r){return arguments.length===3&&typeof t=="function"&&(r=n,n=null),new i(e,r,o.doesNotChange,!0).to.not.change(t,n)};o.changesButNotBy=function(e,t,n,r,s){if(arguments.length===4&&typeof t=="function"){var a=r;r=n,s=a}else arguments.length===3&&(r=n,n=null);new i(e,s,o.changesButNotBy,!0).to.change(t,n).but.not.by(r)};o.increases=function(e,t,n,r){return arguments.length===3&&typeof t=="function"&&(r=n,n=null),new i(e,r,o.increases,!0).to.increase(t,n)};o.increasesBy=function(e,t,n,r,s){if(arguments.length===4&&typeof t=="function"){var a=r;r=n,s=a}else arguments.length===3&&(r=n,n=null);new i(e,s,o.increasesBy,!0).to.increase(t,n).by(r)};o.doesNotIncrease=function(e,t,n,r){return arguments.length===3&&typeof t=="function"&&(r=n,n=null),new i(e,r,o.doesNotIncrease,!0).to.not.increase(t,n)};o.increasesButNotBy=function(e,t,n,r,s){if(arguments.length===4&&typeof t=="function"){var a=r;r=n,s=a}else arguments.length===3&&(r=n,n=null);new i(e,s,o.increasesButNotBy,!0).to.increase(t,n).but.not.by(r)};o.decreases=function(e,t,n,r){return arguments.length===3&&typeof t=="function"&&(r=n,n=null),new i(e,r,o.decreases,!0).to.decrease(t,n)};o.decreasesBy=function(e,t,n,r,s){if(arguments.length===4&&typeof t=="function"){var a=r;r=n,s=a}else arguments.length===3&&(r=n,n=null);new i(e,s,o.decreasesBy,!0).to.decrease(t,n).by(r)};o.doesNotDecrease=function(e,t,n,r){return arguments.length===3&&typeof t=="function"&&(r=n,n=null),new i(e,r,o.doesNotDecrease,!0).to.not.decrease(t,n)};o.doesNotDecreaseBy=function(e,t,n,r,s){if(arguments.length===4&&typeof t=="function"){var a=r;r=n,s=a}else arguments.length===3&&(r=n,n=null);return new i(e,s,o.doesNotDecreaseBy,!0).to.not.decrease(t,n).by(r)};o.decreasesButNotBy=function(e,t,n,r,s){if(arguments.length===4&&typeof t=="function"){var a=r;r=n,s=a}else arguments.length===3&&(r=n,n=null);new i(e,s,o.decreasesButNotBy,!0).to.decrease(t,n).but.not.by(r)};o.ifError=function(e){if(e)throw e};o.isExtensible=function(e,t){new i(e,t,o.isExtensible,!0).to.be.extensible};o.isNotExtensible=function(e,t){new i(e,t,o.isNotExtensible,!0).to.not.be.extensible};o.isSealed=function(e,t){new i(e,t,o.isSealed,!0).to.be.sealed};o.isNotSealed=function(e,t){new i(e,t,o.isNotSealed,!0).to.not.be.sealed};o.isFrozen=function(e,t){new i(e,t,o.isFrozen,!0).to.be.frozen};o.isNotFrozen=function(e,t){new i(e,t,o.isNotFrozen,!0).to.not.be.frozen};o.isEmpty=function(e,t){new i(e,t,o.isEmpty,!0).to.be.empty};o.isNotEmpty=function(e,t){new i(e,t,o.isNotEmpty,!0).to.not.be.empty};o.containsSubset=function(e,t,n){new i(e,n).to.containSubset(t)};o.doesNotContainSubset=function(e,t,n){new i(e,n).to.not.containSubset(t)};var Cn=[["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 Cn)o[t]=o[e];var xt=[];function ln(e){const t={use:ln,AssertionError:v,util:Y,config:O,expect:se,assert:o,Assertion:i,...fn};return~xt.indexOf(e)||(e(t,Y),xt.push(e)),t}l(ln,"use");/*!
3
- * Chai - flag utility
4
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
5
- * MIT Licensed
6
- *//*!
7
- * Chai - test utility
8
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
9
- * MIT Licensed
10
- *//*!
11
- * Chai - expectTypes utility
12
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
13
- * MIT Licensed
14
- *//*!
15
- * Chai - getActual utility
16
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
17
- * MIT Licensed
18
- *//*!
19
- * Chai - message composition utility
20
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
21
- * MIT Licensed
22
- *//*!
23
- * Chai - transferFlags utility
24
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
25
- * MIT Licensed
26
- *//*!
27
- * chai
28
- * http://chaijs.com
29
- * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
30
- * MIT Licensed
31
- *//*!
32
- * Chai - isProxyEnabled helper
33
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
34
- * MIT Licensed
35
- *//*!
36
- * Chai - addProperty utility
37
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
38
- * MIT Licensed
39
- *//*!
40
- * Chai - addLengthGuard utility
41
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
42
- * MIT Licensed
43
- *//*!
44
- * Chai - getProperties utility
45
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
46
- * MIT Licensed
47
- *//*!
48
- * Chai - proxify utility
49
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
50
- * MIT Licensed
51
- *//*!
52
- * Chai - addMethod utility
53
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
54
- * MIT Licensed
55
- *//*!
56
- * Chai - overwriteProperty utility
57
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
58
- * MIT Licensed
59
- *//*!
60
- * Chai - overwriteMethod utility
61
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
62
- * MIT Licensed
63
- *//*!
64
- * Chai - addChainingMethod utility
65
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
66
- * MIT Licensed
67
- *//*!
68
- * Chai - overwriteChainableMethod utility
69
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
70
- * MIT Licensed
71
- *//*!
72
- * Chai - compareByInspect utility
73
- * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>
74
- * MIT Licensed
75
- *//*!
76
- * Chai - getOwnEnumerablePropertySymbols utility
77
- * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>
78
- * MIT Licensed
79
- *//*!
80
- * Chai - getOwnEnumerableProperties utility
81
- * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>
82
- * MIT Licensed
83
- *//*!
84
- * Chai - isNaN utility
85
- * Copyright(c) 2012-2015 Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
86
- * MIT Licensed
87
- *//*!
88
- * chai
89
- * Copyright(c) 2011 Jake Luer <jake@alogicalparadox.com>
90
- * MIT Licensed
91
- *//*!
92
- * chai
93
- * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
94
- * MIT Licensed
95
- *//*! Bundled license information:
96
-
97
- deep-eql/index.js:
98
- (*!
99
- * deep-eql
100
- * Copyright(c) 2013 Jake Luer <jake@alogicalparadox.com>
101
- * MIT Licensed
102
- *)
103
- (*!
104
- * Check to see if the MemoizeMap has recorded a result of the two operands
105
- *
106
- * @param {Mixed} leftHandOperand
107
- * @param {Mixed} rightHandOperand
108
- * @param {MemoizeMap} memoizeMap
109
- * @returns {Boolean|null} result
110
- *)
111
- (*!
112
- * Set the result of the equality into the MemoizeMap
113
- *
114
- * @param {Mixed} leftHandOperand
115
- * @param {Mixed} rightHandOperand
116
- * @param {MemoizeMap} memoizeMap
117
- * @param {Boolean} result
118
- *)
119
- (*!
120
- * Primary Export
121
- *)
122
- (*!
123
- * The main logic of the `deepEqual` function.
124
- *
125
- * @param {Mixed} leftHandOperand
126
- * @param {Mixed} rightHandOperand
127
- * @param {Object} [options] (optional) Additional options
128
- * @param {Array} [options.comparator] (optional) Override default algorithm, determining custom equality.
129
- * @param {Array} [options.memoize] (optional) Provide a custom memoization object which will cache the results of
130
- complex objects for a speed boost. By passing `false` you can disable memoization, but this will cause circular
131
- references to blow the stack.
132
- * @return {Boolean} equal match
133
- *)
134
- (*!
135
- * Compare two Regular Expressions for equality.
136
- *
137
- * @param {RegExp} leftHandOperand
138
- * @param {RegExp} rightHandOperand
139
- * @return {Boolean} result
140
- *)
141
- (*!
142
- * Compare two Sets/Maps for equality. Faster than other equality functions.
143
- *
144
- * @param {Set} leftHandOperand
145
- * @param {Set} rightHandOperand
146
- * @param {Object} [options] (Optional)
147
- * @return {Boolean} result
148
- *)
149
- (*!
150
- * Simple equality for flat iterable objects such as Arrays, TypedArrays or Node.js buffers.
151
- *
152
- * @param {Iterable} leftHandOperand
153
- * @param {Iterable} rightHandOperand
154
- * @param {Object} [options] (Optional)
155
- * @return {Boolean} result
156
- *)
157
- (*!
158
- * Simple equality for generator objects such as those returned by generator functions.
159
- *
160
- * @param {Iterable} leftHandOperand
161
- * @param {Iterable} rightHandOperand
162
- * @param {Object} [options] (Optional)
163
- * @return {Boolean} result
164
- *)
165
- (*!
166
- * Determine if the given object has an @@iterator function.
167
- *
168
- * @param {Object} target
169
- * @return {Boolean} `true` if the object has an @@iterator function.
170
- *)
171
- (*!
172
- * Gets all iterator entries from the given Object. If the Object has no @@iterator function, returns an empty array.
173
- * This will consume the iterator - which could have side effects depending on the @@iterator implementation.
174
- *
175
- * @param {Object} target
176
- * @returns {Array} an array of entries from the @@iterator function
177
- *)
178
- (*!
179
- * Gets all entries from a Generator. This will consume the generator - which could have side effects.
180
- *
181
- * @param {Generator} target
182
- * @returns {Array} an array of entries from the Generator.
183
- *)
184
- (*!
185
- * Gets all own and inherited enumerable keys from a target.
186
- *
187
- * @param {Object} target
188
- * @returns {Array} an array of own and inherited enumerable keys from the target.
189
- *)
190
- (*!
191
- * Determines if two objects have matching values, given a set of keys. Defers to deepEqual for the equality check of
192
- * each key. If any value of the given key is not equal, the function will return false (early).
193
- *
194
- * @param {Mixed} leftHandOperand
195
- * @param {Mixed} rightHandOperand
196
- * @param {Array} keys An array of keys to compare the values of leftHandOperand and rightHandOperand against
197
- * @param {Object} [options] (Optional)
198
- * @return {Boolean} result
199
- *)
200
- (*!
201
- * Recursively check the equality of two Objects. Once basic sameness has been established it will defer to `deepEqual`
202
- * for each enumerable key in the object.
203
- *
204
- * @param {Mixed} leftHandOperand
205
- * @param {Mixed} rightHandOperand
206
- * @param {Object} [options] (Optional)
207
- * @return {Boolean} result
208
- *)
209
- (*!
210
- * Returns true if the argument is a primitive.
211
- *
212
- * This intentionally returns true for all objects that can be compared by reference,
213
- * including functions and symbols.
214
- *
215
- * @param {Mixed} value
216
- * @return {Boolean} result
217
- *)
218
- */export{i as Assertion,v as AssertionError,qn as Should,o as assert,O as config,se as expect,Dn as should,ln as use,Y as util};
2
+ `)}l(Q,"inspectHTMLCollection");function Ce(e,t){const n=e.getAttributeNames(),r=e.tagName.toLowerCase(),s=t.stylize(`<${r}`,"special"),a=t.stylize(">","special"),u=t.stylize(`</${r}>`,"special");t.truncate-=r.length*2+5;let f="";n.length>0&&(f+=" ",f+=A(n.map(p=>[p,e.getAttribute(p)]),t,Lt," ")),t.truncate-=f.length;const h=t.truncate;let d=Q(e.children,t);return d&&d.length>h&&(d=`${V}(${e.children.length})`),`${s}${f}${a}${d}${u}`}l(Ce,"inspectHTML");var Mn=typeof Symbol=="function"&&typeof Symbol.for=="function",be=Mn?Symbol.for("chai/inspect"):"@@chai/inspect",F=!1;try{const e=pn();F=e.inspect?e.inspect.custom:!1}catch{F=!1}var gt=new WeakMap,bt={},yt={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:me,Number:me,bigint:we,BigInt:we,string:ve,String:ve,function:ye,Function:ye,symbol:xe,Symbol:xe,Array:It,Date:$t,Map:Bt,Set:kt,RegExp:Ft,Promise:xn,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:Wt,Int8Array:D,Uint8Array:D,Uint8ClampedArray:D,Int16Array:D,Uint16Array:D,Int32Array:D,Uint32Array:D,Float32Array:D,Float64Array:D,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:Ut,HTMLCollection:Q,NodeList:Q},Pn=l((e,t,n)=>be in e&&typeof e[be]=="function"?e[be](t):F&&F in e&&typeof e[F]=="function"?e[F](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&gt.has(e.constructor)?gt.get(e.constructor)(e,t):bt[n]?bt[n](e,t):"","inspectCustom"),Nn=Object.prototype.toString;function X(e,t={}){const n=Dt(t,X),{customInspect:r}=n;let s=e===null?"null":typeof e;if(s==="object"&&(s=Nn.call(e).slice(8,-1)),s in yt)return yt[s](e,n);if(r&&e){const u=Pn(e,n,s);if(u)return typeof u=="string"?u:X(u,n)}const a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?R(e,n):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Ce(e,n):"constructor"in e?e.constructor!==Object?Rt(e,n):R(e,n):e===Object(e)?R(e,n):n.stylize(String(e),s)}l(X,"inspect");var O={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function w(e,t,n,r){var s={colors:r,depth:typeof n>"u"?2:n,showHidden:t,truncate:O.truncateThreshold?O.truncateThreshold:1/0};return X(e,s)}l(w,"inspect");function $(e){var t=w(e),n=Object.prototype.toString.call(e);if(O.truncateThreshold&&t.length>=O.truncateThreshold){if(n==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(n==="[object Array]")return"[ Array("+e.length+") ]";if(n==="[object Object]"){var r=Object.keys(e),s=r.length>2?r.splice(0,2).join(", ")+", ...":r.join(", ");return"{ Object ("+s+") }"}else return t}else return t}l($,"objDisplay");function Ie(e,t){var n=g(e,"negate"),r=g(e,"object"),s=t[3],a=ie(e,t),u=n?t[2]:t[1],f=g(e,"message");return typeof u=="function"&&(u=u()),u=u||"",u=u.replace(/#\{this\}/g,function(){return $(r)}).replace(/#\{act\}/g,function(){return $(a)}).replace(/#\{exp\}/g,function(){return $(s)}),f?f+": "+u:u}l(Ie,"getMessage");function T(e,t,n){var r=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),n=arguments.length===3?n:!0;for(var s in r)(n||s!=="object"&&s!=="ssfi"&&s!=="lockSsfi"&&s!="message")&&(t.__flags[s]=r[s])}l(T,"transferFlags");function Se(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)}l(Se,"type");function $e(){this._key="chai/deep-eql__"+Math.random()+Date.now()}l($e,"FakeMap");$e.prototype={get:l(function(t){return t[this._key]},"get"),set:l(function(t,n){Object.isExtensible(t)&&Object.defineProperty(t,this._key,{value:n,configurable:!0})},"set")};var Zt=typeof WeakMap=="function"?WeakMap:$e;function Me(e,t,n){if(!n||_(e)||_(t))return null;var r=n.get(e);if(r){var s=r.get(t);if(typeof s=="boolean")return s}return null}l(Me,"memoizeCompare");function G(e,t,n,r){if(!(!n||_(e)||_(t))){var s=n.get(e);s?s.set(t,r):(s=new Zt,s.set(t,r),n.set(e,s))}}l(G,"memoizeSet");var Jt=W;function W(e,t,n){if(n&&n.comparator)return Pe(e,t,n);var r=ze(e,t);return r!==null?r:Pe(e,t,n)}l(W,"deepEqual");function ze(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:_(e)||_(t)?!1:null}l(ze,"simpleEqual");function Pe(e,t,n){n=n||{},n.memoize=n.memoize===!1?!1:n.memoize||new Zt;var r=n&&n.comparator,s=Me(e,t,n.memoize);if(s!==null)return s;var a=Me(t,e,n.memoize);if(a!==null)return a;if(r){var u=r(e,t);if(u===!1||u===!0)return G(e,t,n.memoize,u),u;var f=ze(e,t);if(f!==null)return f}var h=Se(e);if(h!==Se(t))return G(e,t,n.memoize,!1),!1;G(e,t,n.memoize,!0);var d=Yt(e,t,h,n);return G(e,t,n.memoize,d),d}l(Pe,"extensiveDeepEqual");function Yt(e,t,n,r){switch(n){case"String":case"Number":case"Boolean":case"Date":return W(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return _e(e,t,["name","message","code"],r);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return I(e,t,r);case"RegExp":return Qt(e,t);case"Generator":return Xt(e,t,r);case"DataView":return I(new Uint8Array(e.buffer),new Uint8Array(t.buffer),r);case"ArrayBuffer":return I(new Uint8Array(e),new Uint8Array(t),r);case"Set":return Ne(e,t,r);case"Map":return Ne(e,t,r);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 en(e,t,r)}}l(Yt,"extensiveDeepEqualByType");function Qt(e,t){return e.toString()===t.toString()}l(Qt,"regexpEqual");function Ne(e,t,n){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var r=[],s=[];return e.forEach(l(function(u,f){r.push([u,f])},"gatherEntries")),t.forEach(l(function(u,f){s.push([u,f])},"gatherEntries")),I(r.sort(),s.sort(),n)}l(Ne,"entriesEqual");function I(e,t,n){var r=e.length;if(r!==t.length)return!1;if(r===0)return!0;for(var s=-1;++s<r;)if(W(e[s],t[s],n)===!1)return!1;return!0}l(I,"iterableEqual");function Xt(e,t,n){return I(H(e),H(t),n)}l(Xt,"generatorEqual");function Ht(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}l(Ht,"hasIteratorFunction");function Ee(e){if(Ht(e))try{return H(e[Symbol.iterator]())}catch{return[]}return[]}l(Ee,"getIteratorEntries");function H(e){for(var t=e.next(),n=[t.value];t.done===!1;)t=e.next(),n.push(t.value);return n}l(H,"getGeneratorEntries");function Oe(e){var t=[];for(var n in e)t.push(n);return t}l(Oe,"getEnumerableKeys");function je(e){for(var t=[],n=Object.getOwnPropertySymbols(e),r=0;r<n.length;r+=1){var s=n[r];Object.getOwnPropertyDescriptor(e,s).enumerable&&t.push(s)}return t}l(je,"getEnumerableSymbols");function _e(e,t,n,r){var s=n.length;if(s===0)return!0;for(var a=0;a<s;a+=1)if(W(e[n[a]],t[n[a]],r)===!1)return!1;return!0}l(_e,"keysEqual");function en(e,t,n){var r=Oe(e),s=Oe(t),a=je(e),u=je(t);if(r=r.concat(a),s=s.concat(u),r.length&&r.length===s.length)return I(Ae(r).sort(),Ae(s).sort())===!1?!1:_e(e,t,r,n);var f=Ee(e),h=Ee(t);return f.length&&f.length===h.length?(f.sort(),h.sort(),I(f,h,n)):r.length===0&&f.length===0&&s.length===0&&h.length===0}l(en,"objectEqual");function _(e){return e===null||typeof e!="object"}l(_,"isPrimitive");function Ae(e){return e.map(l(function(n){return typeof n=="symbol"?n.toString():n},"mapSymbol"))}l(Ae,"mapSymbols");function ae(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}l(ae,"hasProperty");function tn(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(r=>{if(r==="constructor"||r==="__proto__"||r==="prototype")return{};const a=/^\[(\d+)\]$/.exec(r);let u=null;return a?u={i:parseFloat(a[1])}:u={p:r.replace(/\\([.[\]])/g,"$1")},u})}l(tn,"parsePath");function Te(e,t,n){let r=e,s=null;n=typeof n>"u"?t.length:n;for(let a=0;a<n;a++){const u=t[a];r&&(typeof u.p>"u"?r=r[u.i]:r=r[u.p],a===n-1&&(s=r))}return s}l(Te,"internalGetPathValue");function Be(e,t){const n=tn(t),r=n[n.length-1],s={parent:n.length>1?Te(e,n,n.length-1):e,name:r.p||r.i,value:Te(e,n)};return s.exists=ae(s.parent,s.name),s}l(Be,"getPathInfo");function i(e,t,n,r){return g(this,"ssfi",n||i),g(this,"lockSsfi",r),g(this,"object",e),g(this,"message",t),g(this,"eql",O.deepEqual||Jt),K(this)}l(i,"Assertion");Object.defineProperty(i,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),O.includeStack},set:function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),O.includeStack=e}});Object.defineProperty(i,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),O.showDiff},set:function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),O.showDiff=e}});i.addProperty=function(e,t){Fe(this.prototype,e,t)};i.addMethod=function(e,t){Ve(this.prototype,e,t)};i.addChainableMethod=function(e,t,n){Ge(this.prototype,e,t,n)};i.overwriteProperty=function(e,t){ke(this.prototype,e,t)};i.overwriteMethod=function(e,t){Ke(this.prototype,e,t)};i.overwriteChainableMethod=function(e,t,n){Re(this.prototype,e,t,n)};i.prototype.assert=function(e,t,n,r,s,a){var u=qe(this,arguments);if(a!==!1&&(a=!0),r===void 0&&s===void 0&&(a=!1),O.showDiff!==!0&&(a=!1),!u){t=Ie(this,arguments);var f=ie(this,arguments),h={actual:f,expected:r,showDiff:a},d=Le(this,arguments);throw d&&(h.operator=d),new v(t,h,O.includeStack?this.assert:g(this,"ssfi"))}};Object.defineProperty(i.prototype,"_obj",{get:function(){return g(this,"object")},set:function(e){g(this,"object",e)}});function U(){return O.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}l(U,"isProxyEnabled");function Fe(e,t,n){n=n===void 0?function(){}:n,Object.defineProperty(e,t,{get:l(function r(){!U()&&!g(this,"lockSsfi")&&g(this,"ssfi",r);var s=n.call(this);if(s!==void 0)return s;var a=new i;return T(this,a),a},"propertyGetter"),configurable:!0})}l(Fe,"addProperty");var En=Object.getOwnPropertyDescriptor(function(){},"length");function L(e,t,n){return En.configurable&&Object.defineProperty(e,"length",{get:function(){throw Error(n?"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+'".')}}),e}l(L,"addLengthGuard");function nn(e){var t=Object.getOwnPropertyNames(e);function n(s){t.indexOf(s)===-1&&t.push(s)}l(n,"addProperty");for(var r=Object.getPrototypeOf(e);r!==null;)Object.getOwnPropertyNames(r).forEach(n),r=Object.getPrototypeOf(r);return t}l(nn,"getProperties");var mt=["__flags","__methods","_obj","assert"];function K(e,t){return U()?new Proxy(e,{get:l(function n(r,s){if(typeof s=="string"&&O.proxyExcludedKeys.indexOf(s)===-1&&!Reflect.has(r,s)){if(t)throw Error("Invalid Chai property: "+t+"."+s+'. See docs for proper usage of "'+t+'".');var a=null,u=4;throw nn(r).forEach(function(f){if(!Object.prototype.hasOwnProperty(f)&&mt.indexOf(f)===-1){var h=rn(s,f,u);h<u&&(a=f,u=h)}}),Error(a!==null?"Invalid Chai property: "+s+'. Did you mean "'+a+'"?':"Invalid Chai property: "+s)}return mt.indexOf(s)===-1&&!g(r,"lockSsfi")&&g(r,"ssfi",n),Reflect.get(r,s)},"proxyGetter")}):e}l(K,"proxify");function rn(e,t,n){if(Math.abs(e.length-t.length)>=n)return n;var r=[];for(let a=0;a<=e.length;a++)r[a]=Array(t.length+1).fill(0),r[a][0]=a;for(let a=0;a<t.length;a++)r[0][a]=a;for(let a=1;a<=e.length;a++){var s=e.charCodeAt(a-1);for(let u=1;u<=t.length;u++){if(Math.abs(a-u)>=n){r[a][u]=n;continue}r[a][u]=Math.min(r[a-1][u]+1,r[a][u-1]+1,r[a-1][u-1]+(s===t.charCodeAt(u-1)?0:1))}}return r[e.length][t.length]}l(rn,"stringDistanceCapped");function Ve(e,t,n){var r=l(function(){g(this,"lockSsfi")||g(this,"ssfi",r);var s=n.apply(this,arguments);if(s!==void 0)return s;var a=new i;return T(this,a),a},"methodWrapper");L(r,t,!1),e[t]=K(r,t)}l(Ve,"addMethod");function ke(e,t,n){var r=Object.getOwnPropertyDescriptor(e,t),s=l(function(){},"_super");r&&typeof r.get=="function"&&(s=r.get),Object.defineProperty(e,t,{get:l(function a(){!U()&&!g(this,"lockSsfi")&&g(this,"ssfi",a);var u=g(this,"lockSsfi");g(this,"lockSsfi",!0);var f=n(s).call(this);if(g(this,"lockSsfi",u),f!==void 0)return f;var h=new i;return T(this,h),h},"overwritingPropertyGetter"),configurable:!0})}l(ke,"overwriteProperty");function Ke(e,t,n){var r=e[t],s=l(function(){throw new Error(t+" is not a function")},"_super");r&&typeof r=="function"&&(s=r);var a=l(function(){g(this,"lockSsfi")||g(this,"ssfi",a);var u=g(this,"lockSsfi");g(this,"lockSsfi",!0);var f=n(s).apply(this,arguments);if(g(this,"lockSsfi",u),f!==void 0)return f;var h=new i;return T(this,h),h},"overwritingMethodWrapper");L(a,t,!1),e[t]=K(a,t)}l(Ke,"overwriteMethod");var On=typeof Object.setPrototypeOf=="function",wt=l(function(){},"testFn"),jn=Object.getOwnPropertyNames(wt).filter(function(e){var t=Object.getOwnPropertyDescriptor(wt,e);return typeof t!="object"?!0:!t.configurable}),An=Function.prototype.call,Tn=Function.prototype.apply;function Ge(e,t,n,r){typeof r!="function"&&(r=l(function(){},"chainingBehavior"));var s={method:n,chainingBehavior:r};e.__methods||(e.__methods={}),e.__methods[t]=s,Object.defineProperty(e,t,{get:l(function(){s.chainingBehavior.call(this);var u=l(function(){g(this,"lockSsfi")||g(this,"ssfi",u);var d=s.method.apply(this,arguments);if(d!==void 0)return d;var p=new i;return T(this,p),p},"chainableMethodWrapper");if(L(u,t,!0),On){var f=Object.create(this);f.call=An,f.apply=Tn,Object.setPrototypeOf(u,f)}else{var h=Object.getOwnPropertyNames(e);h.forEach(function(d){if(jn.indexOf(d)===-1){var p=Object.getOwnPropertyDescriptor(e,d);Object.defineProperty(u,d,p)}})}return T(this,u),K(u)},"chainableMethodGetter"),configurable:!0})}l(Ge,"addChainableMethod");function Re(e,t,n,r){var s=e.__methods[t],a=s.chainingBehavior;s.chainingBehavior=l(function(){var h=r(a).call(this);if(h!==void 0)return h;var d=new i;return T(this,d),d},"overwritingChainableMethodGetter");var u=s.method;s.method=l(function(){var h=n(u).apply(this,arguments);if(h!==void 0)return h;var d=new i;return T(this,d),d},"overwritingChainableMethodWrapper")}l(Re,"overwriteChainableMethod");function ee(e,t){return w(e)<w(t)?-1:1}l(ee,"compareByInspect");function We(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}l(We,"getOwnEnumerablePropertySymbols");function Ue(e){return Object.keys(e).concat(We(e))}l(Ue,"getOwnEnumerableProperties");var te=Number.isNaN;function sn(e){var t=S(e),n=["Array","Object","Function"];return n.indexOf(t)!==-1}l(sn,"isObjectType");function Le(e,t){var n=g(e,"operator"),r=g(e,"negate"),s=t[3],a=r?t[2]:t[1];if(n)return n;if(typeof a=="function"&&(a=a()),a=a||"",!!a&&!/\shave\s/.test(a)){var u=sn(s);return/\snot\s/.test(a)?u?"notDeepStrictEqual":"notStrictEqual":u?"deepStrictEqual":"strictEqual"}}l(Le,"getOperator");function ue(e){return e.name}l(ue,"getName");function ne(e){return Object.prototype.toString.call(e)==="[object RegExp]"}l(ne,"isRegExp");function N(e){return["Number","BigInt"].includes(S(e))}l(N,"isNumeric");var{flag:c}=Y;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){i.addProperty(e)});i.addProperty("not",function(){c(this,"negate",!0)});i.addProperty("deep",function(){c(this,"deep",!0)});i.addProperty("nested",function(){c(this,"nested",!0)});i.addProperty("own",function(){c(this,"own",!0)});i.addProperty("ordered",function(){c(this,"ordered",!0)});i.addProperty("any",function(){c(this,"any",!0),c(this,"all",!1)});i.addProperty("all",function(){c(this,"all",!0),c(this,"any",!1)});var vt={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function Ze(e,t){t&&c(this,"message",t),e=e.toLowerCase();var n=c(this,"object"),r=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";const s=S(n).toLowerCase();vt.function.includes(e)?this.assert(vt[e].includes(s),"expected #{this} to be "+r+e,"expected #{this} not to be "+r+e):this.assert(e===s,"expected #{this} to be "+r+e,"expected #{this} not to be "+r+e)}l(Ze,"an");i.addChainableMethod("an",Ze);i.addChainableMethod("a",Ze);function on(e,t){return te(e)&&te(t)||e===t}l(on,"SameValueZero");function Z(){c(this,"contains",!0)}l(Z,"includeChainingBehavior");function J(e,t){t&&c(this,"message",t);var n=c(this,"object"),r=S(n).toLowerCase(),s=c(this,"message"),a=c(this,"negate"),u=c(this,"ssfi"),f=c(this,"deep"),h=f?"deep ":"",d=f?c(this,"eql"):on;s=s?s+": ":"";var p=!1;switch(r){case"string":p=n.indexOf(e)!==-1;break;case"weakset":if(f)throw new v(s+"unable to use .deep.include with WeakSet",void 0,u);p=n.has(e);break;case"map":n.forEach(function(m){p=p||d(m,e)});break;case"set":f?n.forEach(function(m){p=p||d(m,e)}):p=n.has(e);break;case"array":f?p=n.some(function(m){return d(m,e)}):p=n.indexOf(e)!==-1;break;default:if(e!==Object(e))throw new v(s+"the given combination of arguments ("+r+" and "+S(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 "+S(e).toLowerCase(),void 0,u);var b=Object.keys(e),x=null,y=0;if(b.forEach(function(m){var M=new i(n);if(T(this,M,!0),c(M,"lockSsfi",!0),!a||b.length===1){M.property(m,e[m]);return}try{M.property(m,e[m])}catch(E){if(!j.compatibleConstructor(E,v))throw E;x===null&&(x=E),y++}},this),a&&b.length>1&&y===b.length)throw x;return}this.assert(p,"expected #{this} to "+h+"include "+w(e),"expected #{this} to not "+h+"include "+w(e))}l(J,"include");i.addChainableMethod("include",J,Z);i.addChainableMethod("contain",J,Z);i.addChainableMethod("contains",J,Z);i.addChainableMethod("includes",J,Z);i.addProperty("ok",function(){this.assert(c(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});i.addProperty("true",function(){this.assert(c(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!c(this,"negate"))});i.addProperty("numeric",function(){const e=c(this,"object");this.assert(["Number","BigInt"].includes(S(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!c(this,"negate"))});i.addProperty("callable",function(){const e=c(this,"object"),t=c(this,"ssfi"),n=c(this,"message"),r=n?`${n}: `:"",s=c(this,"negate"),a=s?`${r}expected ${w(e)} not to be a callable function`:`${r}expected ${w(e)} to be a callable function`,u=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(S(e));if(u&&s||!u&&!s)throw new v(a,void 0,t)});i.addProperty("false",function(){this.assert(c(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!c(this,"negate"))});i.addProperty("null",function(){this.assert(c(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});i.addProperty("undefined",function(){this.assert(c(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});i.addProperty("NaN",function(){this.assert(te(c(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function Je(){var e=c(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}l(Je,"assertExist");i.addProperty("exist",Je);i.addProperty("exists",Je);i.addProperty("empty",function(){var e=c(this,"object"),t=c(this,"ssfi"),n=c(this,"message"),r;switch(n=n?n+": ":"",S(e).toLowerCase()){case"array":case"string":r=e.length;break;case"map":case"set":r=e.size;break;case"weakmap":case"weakset":throw new v(n+".empty was passed a weak collection",void 0,t);case"function":var s=n+".empty was passed a function "+ue(e);throw new v(s.trim(),void 0,t);default:if(e!==Object(e))throw new v(n+".empty was passed non-string primitive "+w(e),void 0,t);r=Object.keys(e).length}this.assert(r===0,"expected #{this} to be empty","expected #{this} not to be empty")});function Ye(){var e=c(this,"object"),t=S(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}l(Ye,"checkArguments");i.addProperty("arguments",Ye);i.addProperty("Arguments",Ye);function ce(e,t){t&&c(this,"message",t);var n=c(this,"object");if(c(this,"deep")){var r=c(this,"lockSsfi");c(this,"lockSsfi",!0),this.eql(e),c(this,"lockSsfi",r)}else this.assert(e===n,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}l(ce,"assertEqual");i.addMethod("equal",ce);i.addMethod("equals",ce);i.addMethod("eq",ce);function Qe(e,t){t&&c(this,"message",t);var n=c(this,"eql");this.assert(n(e,c(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}l(Qe,"assertEql");i.addMethod("eql",Qe);i.addMethod("eqls",Qe);function fe(e,t){t&&c(this,"message",t);var n=c(this,"object"),r=c(this,"doLength"),s=c(this,"message"),a=s?s+": ":"",u=c(this,"ssfi"),f=S(n).toLowerCase(),h=S(e).toLowerCase();if(r&&f!=="map"&&f!=="set"&&new i(n,s,u,!0).to.have.property("length"),!r&&f==="date"&&h!=="date")throw new v(a+"the argument to above must be a date",void 0,u);if(!N(e)&&(r||N(n)))throw new v(a+"the argument to above must be a number",void 0,u);if(!r&&f!=="date"&&!N(n)){var d=f==="string"?"'"+n+"'":n;throw new v(a+"expected "+d+" to be a number or a date",void 0,u)}if(r){var p="length",b;f==="map"||f==="set"?(p="size",b=n.size):b=n.length,this.assert(b>e,"expected #{this} to have a "+p+" above #{exp} but got #{act}","expected #{this} to not have a "+p+" above #{exp}",e,b)}else this.assert(n>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}l(fe,"assertAbove");i.addMethod("above",fe);i.addMethod("gt",fe);i.addMethod("greaterThan",fe);function le(e,t){t&&c(this,"message",t);var n=c(this,"object"),r=c(this,"doLength"),s=c(this,"message"),a=s?s+": ":"",u=c(this,"ssfi"),f=S(n).toLowerCase(),h=S(e).toLowerCase(),d,p=!0;if(r&&f!=="map"&&f!=="set"&&new i(n,s,u,!0).to.have.property("length"),!r&&f==="date"&&h!=="date")d=a+"the argument to least must be a date";else if(!N(e)&&(r||N(n)))d=a+"the argument to least must be a number";else if(!r&&f!=="date"&&!N(n)){var b=f==="string"?"'"+n+"'":n;d=a+"expected "+b+" to be a number or a date"}else p=!1;if(p)throw new v(d,void 0,u);if(r){var x="length",y;f==="map"||f==="set"?(x="size",y=n.size):y=n.length,this.assert(y>=e,"expected #{this} to have a "+x+" at least #{exp} but got #{act}","expected #{this} to have a "+x+" below #{exp}",e,y)}else this.assert(n>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}l(le,"assertLeast");i.addMethod("least",le);i.addMethod("gte",le);i.addMethod("greaterThanOrEqual",le);function he(e,t){t&&c(this,"message",t);var n=c(this,"object"),r=c(this,"doLength"),s=c(this,"message"),a=s?s+": ":"",u=c(this,"ssfi"),f=S(n).toLowerCase(),h=S(e).toLowerCase(),d,p=!0;if(r&&f!=="map"&&f!=="set"&&new i(n,s,u,!0).to.have.property("length"),!r&&f==="date"&&h!=="date")d=a+"the argument to below must be a date";else if(!N(e)&&(r||N(n)))d=a+"the argument to below must be a number";else if(!r&&f!=="date"&&!N(n)){var b=f==="string"?"'"+n+"'":n;d=a+"expected "+b+" to be a number or a date"}else p=!1;if(p)throw new v(d,void 0,u);if(r){var x="length",y;f==="map"||f==="set"?(x="size",y=n.size):y=n.length,this.assert(y<e,"expected #{this} to have a "+x+" below #{exp} but got #{act}","expected #{this} to not have a "+x+" below #{exp}",e,y)}else this.assert(n<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}l(he,"assertBelow");i.addMethod("below",he);i.addMethod("lt",he);i.addMethod("lessThan",he);function de(e,t){t&&c(this,"message",t);var n=c(this,"object"),r=c(this,"doLength"),s=c(this,"message"),a=s?s+": ":"",u=c(this,"ssfi"),f=S(n).toLowerCase(),h=S(e).toLowerCase(),d,p=!0;if(r&&f!=="map"&&f!=="set"&&new i(n,s,u,!0).to.have.property("length"),!r&&f==="date"&&h!=="date")d=a+"the argument to most must be a date";else if(!N(e)&&(r||N(n)))d=a+"the argument to most must be a number";else if(!r&&f!=="date"&&!N(n)){var b=f==="string"?"'"+n+"'":n;d=a+"expected "+b+" to be a number or a date"}else p=!1;if(p)throw new v(d,void 0,u);if(r){var x="length",y;f==="map"||f==="set"?(x="size",y=n.size):y=n.length,this.assert(y<=e,"expected #{this} to have a "+x+" at most #{exp} but got #{act}","expected #{this} to have a "+x+" above #{exp}",e,y)}else this.assert(n<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}l(de,"assertMost");i.addMethod("most",de);i.addMethod("lte",de);i.addMethod("lessThanOrEqual",de);i.addMethod("within",function(e,t,n){n&&c(this,"message",n);var r=c(this,"object"),s=c(this,"doLength"),a=c(this,"message"),u=a?a+": ":"",f=c(this,"ssfi"),h=S(r).toLowerCase(),d=S(e).toLowerCase(),p=S(t).toLowerCase(),b,x=!0,y=d==="date"&&p==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(s&&h!=="map"&&h!=="set"&&new i(r,a,f,!0).to.have.property("length"),!s&&h==="date"&&(d!=="date"||p!=="date"))b=u+"the arguments to within must be dates";else if((!N(e)||!N(t))&&(s||N(r)))b=u+"the arguments to within must be numbers";else if(!s&&h!=="date"&&!N(r)){var m=h==="string"?"'"+r+"'":r;b=u+"expected "+m+" to be a number or a date"}else x=!1;if(x)throw new v(b,void 0,f);if(s){var M="length",E;h==="map"||h==="set"?(M="size",E=r.size):E=r.length,this.assert(E>=e&&E<=t,"expected #{this} to have a "+M+" within "+y,"expected #{this} to not have a "+M+" within "+y)}else this.assert(r>=e&&r<=t,"expected #{this} to be within "+y,"expected #{this} to not be within "+y)});function Xe(e,t){t&&c(this,"message",t);var n=c(this,"object"),r=c(this,"ssfi"),s=c(this,"message");try{var a=n instanceof e}catch(f){throw f instanceof TypeError?(s=s?s+": ":"",new v(s+"The instanceof assertion needs a constructor but "+S(e)+" was given.",void 0,r)):f}var u=ue(e);u==null&&(u="an unnamed constructor"),this.assert(a,"expected #{this} to be an instance of "+u,"expected #{this} to not be an instance of "+u)}l(Xe,"assertInstanceOf");i.addMethod("instanceof",Xe);i.addMethod("instanceOf",Xe);function He(e,t,n){n&&c(this,"message",n);var r=c(this,"nested"),s=c(this,"own"),a=c(this,"message"),u=c(this,"object"),f=c(this,"ssfi"),h=typeof e;if(a=a?a+": ":"",r){if(h!=="string")throw new v(a+"the argument to property must be a string when using nested syntax",void 0,f)}else if(h!=="string"&&h!=="number"&&h!=="symbol")throw new v(a+"the argument to property must be a string, number, or symbol",void 0,f);if(r&&s)throw new v(a+'The "nested" and "own" flags cannot be combined.',void 0,f);if(u==null)throw new v(a+"Target cannot be null or undefined.",void 0,f);var d=c(this,"deep"),p=c(this,"negate"),b=r?Be(u,e):null,x=r?b.value:u[e],y=d?c(this,"eql"):(E,B)=>E===B,m="";d&&(m+="deep "),s&&(m+="own "),r&&(m+="nested "),m+="property ";var M;s?M=Object.prototype.hasOwnProperty.call(u,e):r?M=b.exists:M=ae(u,e),(!p||arguments.length===1)&&this.assert(M,"expected #{this} to have "+m+w(e),"expected #{this} to not have "+m+w(e)),arguments.length>1&&this.assert(M&&y(t,x),"expected #{this} to have "+m+w(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+m+w(e)+" of #{act}",t,x),c(this,"object",x)}l(He,"assertProperty");i.addMethod("property",He);function et(e,t,n){c(this,"own",!0),He.apply(this,arguments)}l(et,"assertOwnProperty");i.addMethod("ownProperty",et);i.addMethod("haveOwnProperty",et);function tt(e,t,n){typeof t=="string"&&(n=t,t=null),n&&c(this,"message",n);var r=c(this,"object"),s=Object.getOwnPropertyDescriptor(Object(r),e),a=c(this,"eql");s&&t?this.assert(a(t,s),"expected the own property descriptor for "+w(e)+" on #{this} to match "+w(t)+", got "+w(s),"expected the own property descriptor for "+w(e)+" on #{this} to not match "+w(t),t,s,!0):this.assert(s,"expected #{this} to have an own property descriptor for "+w(e),"expected #{this} to not have an own property descriptor for "+w(e)),c(this,"object",s)}l(tt,"assertOwnPropertyDescriptor");i.addMethod("ownPropertyDescriptor",tt);i.addMethod("haveOwnPropertyDescriptor",tt);function nt(){c(this,"doLength",!0)}l(nt,"assertLengthChain");function rt(e,t){t&&c(this,"message",t);var n=c(this,"object"),r=S(n).toLowerCase(),s=c(this,"message"),a=c(this,"ssfi"),u="length",f;switch(r){case"map":case"set":u="size",f=n.size;break;default:new i(n,s,a,!0).to.have.property("length"),f=n.length}this.assert(f==e,"expected #{this} to have a "+u+" of #{exp} but got #{act}","expected #{this} to not have a "+u+" of #{act}",e,f)}l(rt,"assertLength");i.addChainableMethod("length",rt,nt);i.addChainableMethod("lengthOf",rt,nt);function st(e,t){t&&c(this,"message",t);var n=c(this,"object");this.assert(e.exec(n),"expected #{this} to match "+e,"expected #{this} not to match "+e)}l(st,"assertMatch");i.addMethod("match",st);i.addMethod("matches",st);i.addMethod("string",function(e,t){t&&c(this,"message",t);var n=c(this,"object"),r=c(this,"message"),s=c(this,"ssfi");new i(n,r,s,!0).is.a("string"),this.assert(~n.indexOf(e),"expected #{this} to contain "+w(e),"expected #{this} to not contain "+w(e))});function ot(e){var t=c(this,"object"),n=S(t),r=S(e),s=c(this,"ssfi"),a=c(this,"deep"),u,f="",h,d=!0,p=c(this,"message");p=p?p+": ":"";var b=p+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(n==="Map"||n==="Set")f=a?"deeply ":"",h=[],t.forEach(function(P,C){h.push(C)}),r!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(h=Ue(t),r){case"Array":if(arguments.length>1)throw new v(b,void 0,s);break;case"Object":if(arguments.length>1)throw new v(b,void 0,s);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(P){return typeof P=="symbol"?P:String(P)})}if(!e.length)throw new v(p+"keys required",void 0,s);var x=e.length,y=c(this,"any"),m=c(this,"all"),M=e,E=a?c(this,"eql"):(P,C)=>P===C;if(!y&&!m&&(m=!0),y&&(d=M.some(function(P){return h.some(function(C){return E(P,C)})})),m&&(d=M.every(function(P){return h.some(function(C){return E(P,C)})}),c(this,"contains")||(d=d&&e.length==h.length)),x>1){e=e.map(function(P){return w(P)});var B=e.pop();m&&(u=e.join(", ")+", and "+B),y&&(u=e.join(", ")+", or "+B)}else u=w(e[0]);u=(x>1?"keys ":"key ")+u,u=(c(this,"contains")?"contain ":"have ")+u,this.assert(d,"expected #{this} to "+f+u,"expected #{this} to not "+f+u,M.slice(0).sort(ee),h.sort(ee),!0)}l(ot,"assertKeys");i.addMethod("keys",ot);i.addMethod("key",ot);function pe(e,t,n){n&&c(this,"message",n);var r=c(this,"object"),s=c(this,"ssfi"),a=c(this,"message"),u=c(this,"negate")||!1;new i(r,a,s,!0).is.a("function"),(ne(e)||typeof e=="string")&&(t=e,e=null);let f,h=!1;try{r()}catch(P){h=!0,f=P}var d=e===void 0&&t===void 0,p=!!(e&&t),b=!1,x=!1;if(d||!d&&!u){var y="an error";e instanceof Error?y="#{exp}":e&&(y=j.getConstructorName(e));let P=f;if(f instanceof Error)P=f.toString();else if(typeof f=="string")P=f;else if(f&&(typeof f=="object"||typeof f=="function"))try{P=j.getConstructorName(f)}catch{}this.assert(h,"expected #{this} to throw "+y,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),P)}if(e&&f){if(e instanceof Error){var m=j.compatibleInstance(f,e);m===u&&(p&&u?b=!0:this.assert(u,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(f&&!u?" but #{act} was thrown":""),e.toString(),f.toString()))}var M=j.compatibleConstructor(f,e);M===u&&(p&&u?b=!0:this.assert(u,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(f?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&j.getConstructorName(e),f instanceof Error?f.toString():f&&j.getConstructorName(f)))}if(f&&t!==void 0&&t!==null){var E="including";ne(t)&&(E="matching");var B=j.compatibleMessage(f,t);B===u&&(p&&u?x=!0:this.assert(u,"expected #{this} to throw error "+E+" #{exp} but got #{act}","expected #{this} to throw error not "+E+" #{exp}",t,j.getMessage(f)))}b&&x&&this.assert(u,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(f?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&j.getConstructorName(e),f instanceof Error?f.toString():f&&j.getConstructorName(f)),c(this,"object",f)}l(pe,"assertThrows");i.addMethod("throw",pe);i.addMethod("throws",pe);i.addMethod("Throw",pe);function it(e,t){t&&c(this,"message",t);var n=c(this,"object"),r=c(this,"itself"),s=typeof n=="function"&&!r?n.prototype[e]:n[e];this.assert(typeof s=="function","expected #{this} to respond to "+w(e),"expected #{this} to not respond to "+w(e))}l(it,"respondTo");i.addMethod("respondTo",it);i.addMethod("respondsTo",it);i.addProperty("itself",function(){c(this,"itself",!0)});function at(e,t){t&&c(this,"message",t);var n=c(this,"object"),r=e(n);this.assert(r,"expected #{this} to satisfy "+$(e),"expected #{this} to not satisfy"+$(e),!c(this,"negate"),r)}l(at,"satisfy");i.addMethod("satisfy",at);i.addMethod("satisfies",at);function ut(e,t,n){n&&c(this,"message",n);var r=c(this,"object"),s=c(this,"message"),a=c(this,"ssfi");new i(r,s,a,!0).is.numeric;let u="A `delta` value is required for `closeTo`";if(t==null)throw new v(s?`${s}: ${u}`:u,void 0,a);if(new i(t,s,a,!0).is.numeric,u="A `expected` value is required for `closeTo`",e==null)throw new v(s?`${s}: ${u}`:u,void 0,a);new i(e,s,a,!0).is.numeric;const f=l(d=>d<0n?-d:d,"abs"),h=l(d=>parseFloat(parseFloat(d).toPrecision(12)),"strip");this.assert(h(f(r-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}l(ut,"closeTo");i.addMethod("closeTo",ut);i.addMethod("approximately",ut);function an(e,t,n,r,s){let a=Array.from(t),u=Array.from(e);if(!r){if(u.length!==a.length)return!1;a=a.slice()}return u.every(function(f,h){if(s)return n?n(f,a[h]):f===a[h];if(!n){var d=a.indexOf(f);return d===-1?!1:(r||a.splice(d,1),!0)}return a.some(function(p,b){return n(f,p)?(r||a.splice(b,1),!0):!1})})}l(an,"isSubsetOf");i.addMethod("members",function(e,t){t&&c(this,"message",t);var n=c(this,"object"),r=c(this,"message"),s=c(this,"ssfi");new i(n,r,s,!0).to.be.iterable,new i(e,r,s,!0).to.be.iterable;var a=c(this,"contains"),u=c(this,"ordered"),f,h,d;a?(f=u?"an ordered superset":"a superset",h="expected #{this} to be "+f+" of #{exp}",d="expected #{this} to not be "+f+" of #{exp}"):(f=u?"ordered members":"members",h="expected #{this} to have the same "+f+" as #{exp}",d="expected #{this} to not have the same "+f+" as #{exp}");var p=c(this,"deep")?c(this,"eql"):void 0;this.assert(an(e,n,p,a,u),h,d,e,n,!0)});i.addProperty("iterable",function(e){e&&c(this,"message",e);var t=c(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function un(e,t){t&&c(this,"message",t);var n=c(this,"object"),r=c(this,"message"),s=c(this,"ssfi"),a=c(this,"contains"),u=c(this,"deep"),f=c(this,"eql");new i(e,r,s,!0).to.be.an("array"),a?this.assert(e.some(function(h){return n.indexOf(h)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,n):u?this.assert(e.some(function(h){return f(n,h)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,n):this.assert(e.indexOf(n)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,n)}l(un,"oneOf");i.addMethod("oneOf",un);function ct(e,t,n){n&&c(this,"message",n);var r=c(this,"object"),s=c(this,"message"),a=c(this,"ssfi");new i(r,s,a,!0).is.a("function");var u;t?(new i(e,s,a,!0).to.have.property(t),u=e[t]):(new i(e,s,a,!0).is.a("function"),u=e()),r();var f=t==null?e():e[t],h=t==null?u:"."+t;c(this,"deltaMsgObj",h),c(this,"initialDeltaValue",u),c(this,"finalDeltaValue",f),c(this,"deltaBehavior","change"),c(this,"realDelta",f!==u),this.assert(u!==f,"expected "+h+" to change","expected "+h+" to not change")}l(ct,"assertChanges");i.addMethod("change",ct);i.addMethod("changes",ct);function ft(e,t,n){n&&c(this,"message",n);var r=c(this,"object"),s=c(this,"message"),a=c(this,"ssfi");new i(r,s,a,!0).is.a("function");var u;t?(new i(e,s,a,!0).to.have.property(t),u=e[t]):(new i(e,s,a,!0).is.a("function"),u=e()),new i(u,s,a,!0).is.a("number"),r();var f=t==null?e():e[t],h=t==null?u:"."+t;c(this,"deltaMsgObj",h),c(this,"initialDeltaValue",u),c(this,"finalDeltaValue",f),c(this,"deltaBehavior","increase"),c(this,"realDelta",f-u),this.assert(f-u>0,"expected "+h+" to increase","expected "+h+" to not increase")}l(ft,"assertIncreases");i.addMethod("increase",ft);i.addMethod("increases",ft);function lt(e,t,n){n&&c(this,"message",n);var r=c(this,"object"),s=c(this,"message"),a=c(this,"ssfi");new i(r,s,a,!0).is.a("function");var u;t?(new i(e,s,a,!0).to.have.property(t),u=e[t]):(new i(e,s,a,!0).is.a("function"),u=e()),new i(u,s,a,!0).is.a("number"),r();var f=t==null?e():e[t],h=t==null?u:"."+t;c(this,"deltaMsgObj",h),c(this,"initialDeltaValue",u),c(this,"finalDeltaValue",f),c(this,"deltaBehavior","decrease"),c(this,"realDelta",u-f),this.assert(f-u<0,"expected "+h+" to decrease","expected "+h+" to not decrease")}l(lt,"assertDecreases");i.addMethod("decrease",lt);i.addMethod("decreases",lt);function cn(e,t){t&&c(this,"message",t);var n=c(this,"deltaMsgObj"),r=c(this,"initialDeltaValue"),s=c(this,"finalDeltaValue"),a=c(this,"deltaBehavior"),u=c(this,"realDelta"),f;a==="change"?f=Math.abs(s-r)===Math.abs(e):f=u===Math.abs(e),this.assert(f,"expected "+n+" to "+a+" by "+e,"expected "+n+" to not "+a+" by "+e)}l(cn,"assertDelta");i.addMethod("by",cn);i.addProperty("extensible",function(){var e=c(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});i.addProperty("sealed",function(){var e=c(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});i.addProperty("frozen",function(){var e=c(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});i.addProperty("finite",function(e){var t=c(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 re(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(n){return t.some(function(r){return re(n,r)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(n){var r=e[n],s=t[n];return typeof r=="object"&&r!==null&&s!==null?re(r,s):typeof r=="function"?r(s):s===r}):!1}l(re,"compareSubset");i.addMethod("containSubset",function(e){const t=g(this,"object"),n=O.showDiff;this.assert(re(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,n)});function se(e,t){return new i(e,t)}l(se,"expect");se.fail=function(e,t,n,r){throw arguments.length<2&&(n=e,e=void 0),n=n||"expect.fail()",new v(n,{actual:e,expected:t,operator:r},se.fail)};var fn={};De(fn,{Should:()=>qn,should:()=>Dn});function ht(){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 i(this.valueOf(),null,e):new i(this,null,e)}l(e,"shouldGetter");function t(r){Object.defineProperty(this,"should",{value:r,enumerable:!0,configurable:!0,writable:!0})}l(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});var n={};return n.fail=function(r,s,a,u){throw arguments.length<2&&(a=r,r=void 0),a=a||"should.fail()",new v(a,{actual:r,expected:s,operator:u},n.fail)},n.equal=function(r,s,a){new i(r,a).to.equal(s)},n.Throw=function(r,s,a,u){new i(r,u).to.Throw(s,a)},n.exist=function(r,s){new i(r,s).to.exist},n.not={},n.not.equal=function(r,s,a){new i(r,a).to.not.equal(s)},n.not.Throw=function(r,s,a,u){new i(r,u).to.not.Throw(s,a)},n.not.exist=function(r,s){new i(r,s).to.not.exist},n.throw=n.Throw,n.not.throw=n.not.Throw,n}l(ht,"loadShould");var Dn=ht,qn=ht;function o(e,t){var n=new i(null,null,o,!0);n.assert(e,t,"[ negation message unavailable ]")}l(o,"assert");o.fail=function(e,t,n,r){throw arguments.length<2&&(n=e,e=void 0),n=n||"assert.fail()",new v(n,{actual:e,expected:t,operator:r},o.fail)};o.isOk=function(e,t){new i(e,t,o.isOk,!0).is.ok};o.isNotOk=function(e,t){new i(e,t,o.isNotOk,!0).is.not.ok};o.equal=function(e,t,n){var r=new i(e,n,o.equal,!0);r.assert(t==g(r,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};o.notEqual=function(e,t,n){var r=new i(e,n,o.notEqual,!0);r.assert(t!=g(r,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};o.strictEqual=function(e,t,n){new i(e,n,o.strictEqual,!0).to.equal(t)};o.notStrictEqual=function(e,t,n){new i(e,n,o.notStrictEqual,!0).to.not.equal(t)};o.deepEqual=o.deepStrictEqual=function(e,t,n){new i(e,n,o.deepEqual,!0).to.eql(t)};o.notDeepEqual=function(e,t,n){new i(e,n,o.notDeepEqual,!0).to.not.eql(t)};o.isAbove=function(e,t,n){new i(e,n,o.isAbove,!0).to.be.above(t)};o.isAtLeast=function(e,t,n){new i(e,n,o.isAtLeast,!0).to.be.least(t)};o.isBelow=function(e,t,n){new i(e,n,o.isBelow,!0).to.be.below(t)};o.isAtMost=function(e,t,n){new i(e,n,o.isAtMost,!0).to.be.most(t)};o.isTrue=function(e,t){new i(e,t,o.isTrue,!0).is.true};o.isNotTrue=function(e,t){new i(e,t,o.isNotTrue,!0).to.not.equal(!0)};o.isFalse=function(e,t){new i(e,t,o.isFalse,!0).is.false};o.isNotFalse=function(e,t){new i(e,t,o.isNotFalse,!0).to.not.equal(!1)};o.isNull=function(e,t){new i(e,t,o.isNull,!0).to.equal(null)};o.isNotNull=function(e,t){new i(e,t,o.isNotNull,!0).to.not.equal(null)};o.isNaN=function(e,t){new i(e,t,o.isNaN,!0).to.be.NaN};o.isNotNaN=function(e,t){new i(e,t,o.isNotNaN,!0).not.to.be.NaN};o.exists=function(e,t){new i(e,t,o.exists,!0).to.exist};o.notExists=function(e,t){new i(e,t,o.notExists,!0).to.not.exist};o.isUndefined=function(e,t){new i(e,t,o.isUndefined,!0).to.equal(void 0)};o.isDefined=function(e,t){new i(e,t,o.isDefined,!0).to.not.equal(void 0)};o.isCallable=function(e,t){new i(e,t,o.isCallable,!0).is.callable};o.isNotCallable=function(e,t){new i(e,t,o.isNotCallable,!0).is.not.callable};o.isObject=function(e,t){new i(e,t,o.isObject,!0).to.be.a("object")};o.isNotObject=function(e,t){new i(e,t,o.isNotObject,!0).to.not.be.a("object")};o.isArray=function(e,t){new i(e,t,o.isArray,!0).to.be.an("array")};o.isNotArray=function(e,t){new i(e,t,o.isNotArray,!0).to.not.be.an("array")};o.isString=function(e,t){new i(e,t,o.isString,!0).to.be.a("string")};o.isNotString=function(e,t){new i(e,t,o.isNotString,!0).to.not.be.a("string")};o.isNumber=function(e,t){new i(e,t,o.isNumber,!0).to.be.a("number")};o.isNotNumber=function(e,t){new i(e,t,o.isNotNumber,!0).to.not.be.a("number")};o.isNumeric=function(e,t){new i(e,t,o.isNumeric,!0).is.numeric};o.isNotNumeric=function(e,t){new i(e,t,o.isNotNumeric,!0).is.not.numeric};o.isFinite=function(e,t){new i(e,t,o.isFinite,!0).to.be.finite};o.isBoolean=function(e,t){new i(e,t,o.isBoolean,!0).to.be.a("boolean")};o.isNotBoolean=function(e,t){new i(e,t,o.isNotBoolean,!0).to.not.be.a("boolean")};o.typeOf=function(e,t,n){new i(e,n,o.typeOf,!0).to.be.a(t)};o.notTypeOf=function(e,t,n){new i(e,n,o.notTypeOf,!0).to.not.be.a(t)};o.instanceOf=function(e,t,n){new i(e,n,o.instanceOf,!0).to.be.instanceOf(t)};o.notInstanceOf=function(e,t,n){new i(e,n,o.notInstanceOf,!0).to.not.be.instanceOf(t)};o.include=function(e,t,n){new i(e,n,o.include,!0).include(t)};o.notInclude=function(e,t,n){new i(e,n,o.notInclude,!0).not.include(t)};o.deepInclude=function(e,t,n){new i(e,n,o.deepInclude,!0).deep.include(t)};o.notDeepInclude=function(e,t,n){new i(e,n,o.notDeepInclude,!0).not.deep.include(t)};o.nestedInclude=function(e,t,n){new i(e,n,o.nestedInclude,!0).nested.include(t)};o.notNestedInclude=function(e,t,n){new i(e,n,o.notNestedInclude,!0).not.nested.include(t)};o.deepNestedInclude=function(e,t,n){new i(e,n,o.deepNestedInclude,!0).deep.nested.include(t)};o.notDeepNestedInclude=function(e,t,n){new i(e,n,o.notDeepNestedInclude,!0).not.deep.nested.include(t)};o.ownInclude=function(e,t,n){new i(e,n,o.ownInclude,!0).own.include(t)};o.notOwnInclude=function(e,t,n){new i(e,n,o.notOwnInclude,!0).not.own.include(t)};o.deepOwnInclude=function(e,t,n){new i(e,n,o.deepOwnInclude,!0).deep.own.include(t)};o.notDeepOwnInclude=function(e,t,n){new i(e,n,o.notDeepOwnInclude,!0).not.deep.own.include(t)};o.match=function(e,t,n){new i(e,n,o.match,!0).to.match(t)};o.notMatch=function(e,t,n){new i(e,n,o.notMatch,!0).to.not.match(t)};o.property=function(e,t,n){new i(e,n,o.property,!0).to.have.property(t)};o.notProperty=function(e,t,n){new i(e,n,o.notProperty,!0).to.not.have.property(t)};o.propertyVal=function(e,t,n,r){new i(e,r,o.propertyVal,!0).to.have.property(t,n)};o.notPropertyVal=function(e,t,n,r){new i(e,r,o.notPropertyVal,!0).to.not.have.property(t,n)};o.deepPropertyVal=function(e,t,n,r){new i(e,r,o.deepPropertyVal,!0).to.have.deep.property(t,n)};o.notDeepPropertyVal=function(e,t,n,r){new i(e,r,o.notDeepPropertyVal,!0).to.not.have.deep.property(t,n)};o.ownProperty=function(e,t,n){new i(e,n,o.ownProperty,!0).to.have.own.property(t)};o.notOwnProperty=function(e,t,n){new i(e,n,o.notOwnProperty,!0).to.not.have.own.property(t)};o.ownPropertyVal=function(e,t,n,r){new i(e,r,o.ownPropertyVal,!0).to.have.own.property(t,n)};o.notOwnPropertyVal=function(e,t,n,r){new i(e,r,o.notOwnPropertyVal,!0).to.not.have.own.property(t,n)};o.deepOwnPropertyVal=function(e,t,n,r){new i(e,r,o.deepOwnPropertyVal,!0).to.have.deep.own.property(t,n)};o.notDeepOwnPropertyVal=function(e,t,n,r){new i(e,r,o.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,n)};o.nestedProperty=function(e,t,n){new i(e,n,o.nestedProperty,!0).to.have.nested.property(t)};o.notNestedProperty=function(e,t,n){new i(e,n,o.notNestedProperty,!0).to.not.have.nested.property(t)};o.nestedPropertyVal=function(e,t,n,r){new i(e,r,o.nestedPropertyVal,!0).to.have.nested.property(t,n)};o.notNestedPropertyVal=function(e,t,n,r){new i(e,r,o.notNestedPropertyVal,!0).to.not.have.nested.property(t,n)};o.deepNestedPropertyVal=function(e,t,n,r){new i(e,r,o.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,n)};o.notDeepNestedPropertyVal=function(e,t,n,r){new i(e,r,o.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,n)};o.lengthOf=function(e,t,n){new i(e,n,o.lengthOf,!0).to.have.lengthOf(t)};o.hasAnyKeys=function(e,t,n){new i(e,n,o.hasAnyKeys,!0).to.have.any.keys(t)};o.hasAllKeys=function(e,t,n){new i(e,n,o.hasAllKeys,!0).to.have.all.keys(t)};o.containsAllKeys=function(e,t,n){new i(e,n,o.containsAllKeys,!0).to.contain.all.keys(t)};o.doesNotHaveAnyKeys=function(e,t,n){new i(e,n,o.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};o.doesNotHaveAllKeys=function(e,t,n){new i(e,n,o.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};o.hasAnyDeepKeys=function(e,t,n){new i(e,n,o.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};o.hasAllDeepKeys=function(e,t,n){new i(e,n,o.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};o.containsAllDeepKeys=function(e,t,n){new i(e,n,o.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};o.doesNotHaveAnyDeepKeys=function(e,t,n){new i(e,n,o.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};o.doesNotHaveAllDeepKeys=function(e,t,n){new i(e,n,o.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};o.throws=function(e,t,n,r){(typeof t=="string"||t instanceof RegExp)&&(n=t,t=null);var s=new i(e,r,o.throws,!0).to.throw(t,n);return g(s,"object")};o.doesNotThrow=function(e,t,n,r){(typeof t=="string"||t instanceof RegExp)&&(n=t,t=null),new i(e,r,o.doesNotThrow,!0).to.not.throw(t,n)};o.operator=function(e,t,n,r){var s;switch(t){case"==":s=e==n;break;case"===":s=e===n;break;case">":s=e>n;break;case">=":s=e>=n;break;case"<":s=e<n;break;case"<=":s=e<=n;break;case"!=":s=e!=n;break;case"!==":s=e!==n;break;default:throw r=r&&r+": ",new v(r+'Invalid operator "'+t+'"',void 0,o.operator)}var a=new i(s,r,o.operator,!0);a.assert(g(a,"object")===!0,"expected "+w(e)+" to be "+t+" "+w(n),"expected "+w(e)+" to not be "+t+" "+w(n))};o.closeTo=function(e,t,n,r){new i(e,r,o.closeTo,!0).to.be.closeTo(t,n)};o.approximately=function(e,t,n,r){new i(e,r,o.approximately,!0).to.be.approximately(t,n)};o.sameMembers=function(e,t,n){new i(e,n,o.sameMembers,!0).to.have.same.members(t)};o.notSameMembers=function(e,t,n){new i(e,n,o.notSameMembers,!0).to.not.have.same.members(t)};o.sameDeepMembers=function(e,t,n){new i(e,n,o.sameDeepMembers,!0).to.have.same.deep.members(t)};o.notSameDeepMembers=function(e,t,n){new i(e,n,o.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};o.sameOrderedMembers=function(e,t,n){new i(e,n,o.sameOrderedMembers,!0).to.have.same.ordered.members(t)};o.notSameOrderedMembers=function(e,t,n){new i(e,n,o.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};o.sameDeepOrderedMembers=function(e,t,n){new i(e,n,o.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};o.notSameDeepOrderedMembers=function(e,t,n){new i(e,n,o.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};o.includeMembers=function(e,t,n){new i(e,n,o.includeMembers,!0).to.include.members(t)};o.notIncludeMembers=function(e,t,n){new i(e,n,o.notIncludeMembers,!0).to.not.include.members(t)};o.includeDeepMembers=function(e,t,n){new i(e,n,o.includeDeepMembers,!0).to.include.deep.members(t)};o.notIncludeDeepMembers=function(e,t,n){new i(e,n,o.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};o.includeOrderedMembers=function(e,t,n){new i(e,n,o.includeOrderedMembers,!0).to.include.ordered.members(t)};o.notIncludeOrderedMembers=function(e,t,n){new i(e,n,o.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};o.includeDeepOrderedMembers=function(e,t,n){new i(e,n,o.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};o.notIncludeDeepOrderedMembers=function(e,t,n){new i(e,n,o.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};o.oneOf=function(e,t,n){new i(e,n,o.oneOf,!0).to.be.oneOf(t)};o.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${w(e)} to be an iterable`:`expected ${w(e)} to be an iterable`,new v(t,void 0,o.isIterable)};o.changes=function(e,t,n,r){arguments.length===3&&typeof t=="function"&&(r=n,n=null),new i(e,r,o.changes,!0).to.change(t,n)};o.changesBy=function(e,t,n,r,s){if(arguments.length===4&&typeof t=="function"){var a=r;r=n,s=a}else arguments.length===3&&(r=n,n=null);new i(e,s,o.changesBy,!0).to.change(t,n).by(r)};o.doesNotChange=function(e,t,n,r){return arguments.length===3&&typeof t=="function"&&(r=n,n=null),new i(e,r,o.doesNotChange,!0).to.not.change(t,n)};o.changesButNotBy=function(e,t,n,r,s){if(arguments.length===4&&typeof t=="function"){var a=r;r=n,s=a}else arguments.length===3&&(r=n,n=null);new i(e,s,o.changesButNotBy,!0).to.change(t,n).but.not.by(r)};o.increases=function(e,t,n,r){return arguments.length===3&&typeof t=="function"&&(r=n,n=null),new i(e,r,o.increases,!0).to.increase(t,n)};o.increasesBy=function(e,t,n,r,s){if(arguments.length===4&&typeof t=="function"){var a=r;r=n,s=a}else arguments.length===3&&(r=n,n=null);new i(e,s,o.increasesBy,!0).to.increase(t,n).by(r)};o.doesNotIncrease=function(e,t,n,r){return arguments.length===3&&typeof t=="function"&&(r=n,n=null),new i(e,r,o.doesNotIncrease,!0).to.not.increase(t,n)};o.increasesButNotBy=function(e,t,n,r,s){if(arguments.length===4&&typeof t=="function"){var a=r;r=n,s=a}else arguments.length===3&&(r=n,n=null);new i(e,s,o.increasesButNotBy,!0).to.increase(t,n).but.not.by(r)};o.decreases=function(e,t,n,r){return arguments.length===3&&typeof t=="function"&&(r=n,n=null),new i(e,r,o.decreases,!0).to.decrease(t,n)};o.decreasesBy=function(e,t,n,r,s){if(arguments.length===4&&typeof t=="function"){var a=r;r=n,s=a}else arguments.length===3&&(r=n,n=null);new i(e,s,o.decreasesBy,!0).to.decrease(t,n).by(r)};o.doesNotDecrease=function(e,t,n,r){return arguments.length===3&&typeof t=="function"&&(r=n,n=null),new i(e,r,o.doesNotDecrease,!0).to.not.decrease(t,n)};o.doesNotDecreaseBy=function(e,t,n,r,s){if(arguments.length===4&&typeof t=="function"){var a=r;r=n,s=a}else arguments.length===3&&(r=n,n=null);return new i(e,s,o.doesNotDecreaseBy,!0).to.not.decrease(t,n).by(r)};o.decreasesButNotBy=function(e,t,n,r,s){if(arguments.length===4&&typeof t=="function"){var a=r;r=n,s=a}else arguments.length===3&&(r=n,n=null);new i(e,s,o.decreasesButNotBy,!0).to.decrease(t,n).but.not.by(r)};o.ifError=function(e){if(e)throw e};o.isExtensible=function(e,t){new i(e,t,o.isExtensible,!0).to.be.extensible};o.isNotExtensible=function(e,t){new i(e,t,o.isNotExtensible,!0).to.not.be.extensible};o.isSealed=function(e,t){new i(e,t,o.isSealed,!0).to.be.sealed};o.isNotSealed=function(e,t){new i(e,t,o.isNotSealed,!0).to.not.be.sealed};o.isFrozen=function(e,t){new i(e,t,o.isFrozen,!0).to.be.frozen};o.isNotFrozen=function(e,t){new i(e,t,o.isNotFrozen,!0).to.not.be.frozen};o.isEmpty=function(e,t){new i(e,t,o.isEmpty,!0).to.be.empty};o.isNotEmpty=function(e,t){new i(e,t,o.isNotEmpty,!0).to.not.be.empty};o.containsSubset=function(e,t,n){new i(e,n).to.containSubset(t)};o.doesNotContainSubset=function(e,t,n){new i(e,n).to.not.containSubset(t)};var Cn=[["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 Cn)o[t]=o[e];var xt=[];function ln(e){const t={use:ln,AssertionError:v,util:Y,config:O,expect:se,assert:o,Assertion:i,...fn};return~xt.indexOf(e)||(e(t,Y),xt.push(e)),t}l(ln,"use");export{i as Assertion,v as AssertionError,qn as Should,o as assert,O as config,se as expect,Dn as should,ln as use,Y as util};
@@ -0,0 +1 @@
1
+ import g from"../../../color-name@2.0.2/node_modules/color-name/index.js";const M={};for(const n of Object.keys(g))M[g[n]]=n;const a={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},oklab:{channels:3,labels:["okl","oka","okb"]},lch:{channels:3,labels:"lch"},oklch:{channels:3,labels:["okl","okc","okh"]},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},f=(6/29)**3;function b(n){const o=n>.0031308?1.055*n**.4166666666666667-.055:n*12.92;return Math.min(Math.max(0,o),1)}function m(n){return n>.04045?((n+.055)/1.055)**2.4:n/12.92}for(const n of Object.keys(a)){if(!("channels"in a[n]))throw new Error("missing channels property: "+n);if(!("labels"in a[n]))throw new Error("missing channel labels property: "+n);if(a[n].labels.length!==a[n].channels)throw new Error("channel and label counts mismatch: "+n);const{channels:o,labels:s}=a[n];delete a[n].channels,delete a[n].labels,Object.defineProperty(a[n],"channels",{value:o}),Object.defineProperty(a[n],"labels",{value:s})}a.rgb.hsl=function(n){const o=n[0]/255,s=n[1]/255,c=n[2]/255,t=Math.min(o,s,c),e=Math.max(o,s,c),r=e-t;let l,_;switch(e){case t:{l=0;break}case o:{l=(s-c)/r;break}case s:{l=2+(c-o)/r;break}case c:{l=4+(o-s)/r;break}}l=Math.min(l*60,360),l<0&&(l+=360);const i=(t+e)/2;return e===t?_=0:i<=.5?_=r/(e+t):_=r/(2-e-t),[l,_*100,i*100]};a.rgb.hsv=function(n){let o,s,c,t,e;const r=n[0]/255,l=n[1]/255,_=n[2]/255,i=Math.max(r,l,_),u=i-Math.min(r,l,_),h=function(k){return(i-k)/6/u+1/2};if(u===0)t=0,e=0;else{switch(e=u/i,o=h(r),s=h(l),c=h(_),i){case r:{t=c-s;break}case l:{t=1/3+o-c;break}case _:{t=2/3+s-o;break}}t<0?t+=1:t>1&&(t-=1)}return[t*360,e*100,i*100]};a.rgb.hwb=function(n){const o=n[0],s=n[1];let c=n[2];const t=a.rgb.hsl(n)[0],e=1/255*Math.min(o,Math.min(s,c));return c=1-1/255*Math.max(o,Math.max(s,c)),[t,e*100,c*100]};a.rgb.oklab=function(n){const o=m(n[0]/255),s=m(n[1]/255),c=m(n[2]/255),t=Math.cbrt(.4122214708*o+.5363325363*s+.0514459929*c),e=Math.cbrt(.2119034982*o+.6806995451*s+.1073969566*c),r=Math.cbrt(.0883024619*o+.2817188376*s+.6299787005*c),l=.2104542553*t+.793617785*e-.0040720468*r,_=1.9779984951*t-2.428592205*e+.4505937099*r,i=.0259040371*t+.7827717662*e-.808675766*r;return[l*100,_*100,i*100]};a.rgb.cmyk=function(n){const o=n[0]/255,s=n[1]/255,c=n[2]/255,t=Math.min(1-o,1-s,1-c),e=(1-o-t)/(1-t)||0,r=(1-s-t)/(1-t)||0,l=(1-c-t)/(1-t)||0;return[e*100,r*100,l*100,t*100]};function y(n,o){return(n[0]-o[0])**2+(n[1]-o[1])**2+(n[2]-o[2])**2}a.rgb.keyword=function(n){const o=M[n];if(o)return o;let s=Number.POSITIVE_INFINITY,c;for(const t of Object.keys(g)){const e=g[t],r=y(n,e);r<s&&(s=r,c=t)}return c};a.keyword.rgb=function(n){return[...g[n]]};a.rgb.xyz=function(n){const o=m(n[0]/255),s=m(n[1]/255),c=m(n[2]/255),t=o*.4124564+s*.3575761+c*.1804375,e=o*.2126729+s*.7151522+c*.072175,r=o*.0193339+s*.119192+c*.9503041;return[t*100,e*100,r*100]};a.rgb.lab=function(n){const o=a.rgb.xyz(n);let s=o[0],c=o[1],t=o[2];s/=95.047,c/=100,t/=108.883,s=s>f?s**(1/3):7.787*s+16/116,c=c>f?c**(1/3):7.787*c+16/116,t=t>f?t**(1/3):7.787*t+16/116;const e=116*c-16,r=500*(s-c),l=200*(c-t);return[e,r,l]};a.hsl.rgb=function(n){const o=n[0]/360,s=n[1]/100,c=n[2]/100;let t,e;if(s===0)return e=c*255,[e,e,e];const r=c<.5?c*(1+s):c+s-c*s,l=2*c-r,_=[0,0,0];for(let i=0;i<3;i++)t=o+1/3*-(i-1),t<0&&t++,t>1&&t--,6*t<1?e=l+(r-l)*6*t:2*t<1?e=r:3*t<2?e=l+(r-l)*(2/3-t)*6:e=l,_[i]=e*255;return _};a.hsl.hsv=function(n){const o=n[0];let s=n[1]/100,c=n[2]/100,t=s;const e=Math.max(c,.01);c*=2,s*=c<=1?c:2-c,t*=e<=1?e:2-e;const r=(c+s)/2,l=c===0?2*t/(e+t):2*s/(c+s);return[o,l*100,r*100]};a.hsv.rgb=function(n){const o=n[0]/60,s=n[1]/100;let c=n[2]/100;const t=Math.floor(o)%6,e=o-Math.floor(o),r=255*c*(1-s),l=255*c*(1-s*e),_=255*c*(1-s*(1-e));switch(c*=255,t){case 0:return[c,_,r];case 1:return[l,c,r];case 2:return[r,c,_];case 3:return[r,l,c];case 4:return[_,r,c];case 5:return[c,r,l]}};a.hsv.hsl=function(n){const o=n[0],s=n[1]/100,c=n[2]/100,t=Math.max(c,.01);let e,r;r=(2-s)*c;const l=(2-s)*t;return e=s*t,e/=l<=1?l:2-l,e=e||0,r/=2,[o,e*100,r*100]};a.hwb.rgb=function(n){const o=n[0]/360;let s=n[1]/100,c=n[2]/100;const t=s+c;let e;t>1&&(s/=t,c/=t);const r=Math.floor(6*o),l=1-c;e=6*o-r,(r&1)!==0&&(e=1-e);const _=s+e*(l-s);let i,u,h;switch(r){default:case 6:case 0:{i=l,u=_,h=s;break}case 1:{i=_,u=l,h=s;break}case 2:{i=s,u=l,h=_;break}case 3:{i=s,u=_,h=l;break}case 4:{i=_,u=s,h=l;break}case 5:{i=l,u=s,h=_;break}}return[i*255,u*255,h*255]};a.cmyk.rgb=function(n){const o=n[0]/100,s=n[1]/100,c=n[2]/100,t=n[3]/100,e=1-Math.min(1,o*(1-t)+t),r=1-Math.min(1,s*(1-t)+t),l=1-Math.min(1,c*(1-t)+t);return[e*255,r*255,l*255]};a.xyz.rgb=function(n){const o=n[0]/100,s=n[1]/100,c=n[2]/100;let t,e,r;return t=o*3.2404542+s*-1.5371385+c*-.4985314,e=o*-.969266+s*1.8760108+c*.041556,r=o*.0556434+s*-.2040259+c*1.0572252,t=b(t),e=b(e),r=b(r),[t*255,e*255,r*255]};a.xyz.lab=function(n){let o=n[0],s=n[1],c=n[2];o/=95.047,s/=100,c/=108.883,o=o>f?o**(1/3):7.787*o+16/116,s=s>f?s**(1/3):7.787*s+16/116,c=c>f?c**(1/3):7.787*c+16/116;const t=116*s-16,e=500*(o-s),r=200*(s-c);return[t,e,r]};a.xyz.oklab=function(n){const o=n[0]/100,s=n[1]/100,c=n[2]/100,t=Math.cbrt(.8189330101*o+.3618667424*s-.1288597137*c),e=Math.cbrt(.0329845436*o+.9293118715*s+.0361456387*c),r=Math.cbrt(.0482003018*o+.2643662691*s+.633851707*c),l=.2104542553*t+.793617785*e-.0040720468*r,_=1.9779984951*t-2.428592205*e+.4505937099*r,i=.0259040371*t+.7827717662*e-.808675766*r;return[l*100,_*100,i*100]};a.oklab.oklch=function(n){return a.lab.lch(n)};a.oklab.xyz=function(n){const o=n[0]/100,s=n[1]/100,c=n[2]/100,t=(.999999998*o+.396337792*s+.215803758*c)**3,e=(1.000000008*o-.105561342*s-.063854175*c)**3,r=(1.000000055*o-.089484182*s-1.291485538*c)**3,l=1.227013851*t-.55779998*e+.281256149*r,_=-.040580178*t+1.11225687*e-.071676679*r,i=-.076381285*t-.421481978*e+1.58616322*r;return[l*100,_*100,i*100]};a.oklab.rgb=function(n){const o=n[0]/100,s=n[1]/100,c=n[2]/100,t=(o+.3963377774*s+.2158037573*c)**3,e=(o-.1055613458*s-.0638541728*c)**3,r=(o-.0894841775*s-1.291485548*c)**3,l=b(4.0767416621*t-3.3077115913*e+.2309699292*r),_=b(-1.2684380046*t+2.6097574011*e-.3413193965*r),i=b(-.0041960863*t-.7034186147*e+1.707614701*r);return[l*255,_*255,i*255]};a.oklch.oklab=function(n){return a.lch.lab(n)};a.lab.xyz=function(n){const o=n[0],s=n[1],c=n[2];let t,e,r;e=(o+16)/116,t=s/500+e,r=e-c/200;const l=e**3,_=t**3,i=r**3;return e=l>f?l:(e-16/116)/7.787,t=_>f?_:(t-16/116)/7.787,r=i>f?i:(r-16/116)/7.787,t*=95.047,e*=100,r*=108.883,[t,e,r]};a.lab.lch=function(n){const o=n[0],s=n[1],c=n[2];let t;t=Math.atan2(c,s)*360/2/Math.PI,t<0&&(t+=360);const r=Math.sqrt(s*s+c*c);return[o,r,t]};a.lch.lab=function(n){const o=n[0],s=n[1],t=n[2]/360*2*Math.PI,e=s*Math.cos(t),r=s*Math.sin(t);return[o,e,r]};a.rgb.ansi16=function(n,o=null){const[s,c,t]=n;let e=o===null?a.rgb.hsv(n)[2]:o;if(e=Math.round(e/50),e===0)return 30;let r=30+(Math.round(t/255)<<2|Math.round(c/255)<<1|Math.round(s/255));return e===2&&(r+=60),r};a.hsv.ansi16=function(n){return a.rgb.ansi16(a.hsv.rgb(n),n[2])};a.rgb.ansi256=function(n){const o=n[0],s=n[1],c=n[2];return o>>4===s>>4&&s>>4===c>>4?o<8?16:o>248?231:Math.round((o-8)/247*24)+232:16+36*Math.round(o/255*5)+6*Math.round(s/255*5)+Math.round(c/255*5)};a.ansi16.rgb=function(n){n=n[0];let o=n%10;if(o===0||o===7)return n>50&&(o+=3.5),o=o/10.5*255,[o,o,o];const s=(Math.trunc(n>50)+1)*.5,c=(o&1)*s*255,t=(o>>1&1)*s*255,e=(o>>2&1)*s*255;return[c,t,e]};a.ansi256.rgb=function(n){if(n=n[0],n>=232){const e=(n-232)*10+8;return[e,e,e]}n-=16;let o;const s=Math.floor(n/36)/5*255,c=Math.floor((o=n%36)/6)/5*255,t=o%6/5*255;return[s,c,t]};a.rgb.hex=function(n){const s=(((Math.round(n[0])&255)<<16)+((Math.round(n[1])&255)<<8)+(Math.round(n[2])&255)).toString(16).toUpperCase();return"000000".slice(s.length)+s};a.hex.rgb=function(n){const o=n.toString(16).match(/[a-f\d]{6}|[a-f\d]{3}/i);if(!o)return[0,0,0];let s=o[0];o[0].length===3&&(s=[...s].map(l=>l+l).join(""));const c=Number.parseInt(s,16),t=c>>16&255,e=c>>8&255,r=c&255;return[t,e,r]};a.rgb.hcg=function(n){const o=n[0]/255,s=n[1]/255,c=n[2]/255,t=Math.max(Math.max(o,s),c),e=Math.min(Math.min(o,s),c),r=t-e;let l;const _=r<1?e/(1-r):0;return r<=0?l=0:t===o?l=(s-c)/r%6:t===s?l=2+(c-o)/r:l=4+(o-s)/r,l/=6,l%=1,[l*360,r*100,_*100]};a.hsl.hcg=function(n){const o=n[1]/100,s=n[2]/100,c=s<.5?2*o*s:2*o*(1-s);let t=0;return c<1&&(t=(s-.5*c)/(1-c)),[n[0],c*100,t*100]};a.hsv.hcg=function(n){const o=n[1]/100,s=n[2]/100,c=o*s;let t=0;return c<1&&(t=(s-c)/(1-c)),[n[0],c*100,t*100]};a.hcg.rgb=function(n){const o=n[0]/360,s=n[1]/100,c=n[2]/100;if(s===0)return[c*255,c*255,c*255];const t=[0,0,0],e=o%1*6,r=e%1,l=1-r;let _=0;switch(Math.floor(e)){case 0:{t[0]=1,t[1]=r,t[2]=0;break}case 1:{t[0]=l,t[1]=1,t[2]=0;break}case 2:{t[0]=0,t[1]=1,t[2]=r;break}case 3:{t[0]=0,t[1]=l,t[2]=1;break}case 4:{t[0]=r,t[1]=0,t[2]=1;break}default:t[0]=1,t[1]=0,t[2]=l}return _=(1-s)*c,[(s*t[0]+_)*255,(s*t[1]+_)*255,(s*t[2]+_)*255]};a.hcg.hsv=function(n){const o=n[1]/100,s=n[2]/100,c=o+s*(1-o);let t=0;return c>0&&(t=o/c),[n[0],t*100,c*100]};a.hcg.hsl=function(n){const o=n[1]/100,c=n[2]/100*(1-o)+.5*o;let t=0;return c>0&&c<.5?t=o/(2*c):c>=.5&&c<1&&(t=o/(2*(1-c))),[n[0],t*100,c*100]};a.hcg.hwb=function(n){const o=n[1]/100,s=n[2]/100,c=o+s*(1-o);return[n[0],(c-o)*100,(1-c)*100]};a.hwb.hcg=function(n){const o=n[1]/100,c=1-n[2]/100,t=c-o;let e=0;return t<1&&(e=(c-t)/(1-t)),[n[0],t*100,e*100]};a.apple.rgb=function(n){return[n[0]/65535*255,n[1]/65535*255,n[2]/65535*255]};a.rgb.apple=function(n){return[n[0]/255*65535,n[1]/255*65535,n[2]/255*65535]};a.gray.rgb=function(n){return[n[0]/100*255,n[0]/100*255,n[0]/100*255]};a.gray.hsl=function(n){return[0,0,n[0]]};a.gray.hsv=a.gray.hsl;a.gray.hwb=function(n){return[0,100,n[0]]};a.gray.cmyk=function(n){return[0,0,0,n[0]]};a.gray.lab=function(n){return[n[0],0,0]};a.gray.hex=function(n){const o=Math.round(n[0]/100*255)&255,c=((o<<16)+(o<<8)+o).toString(16).toUpperCase();return"000000".slice(c.length)+c};a.rgb.gray=function(n){return[(n[0]+n[1]+n[2])/3/255*100]};export{a as default};
@@ -0,0 +1 @@
1
+ import s from"./conversions.js";import f from"./route.js";const c={},l=Object.keys(s);function d(n){const t=function(...o){const e=o[0];return e==null?e:(e.length>1&&(o=e),n(o))};return"conversion"in n&&(t.conversion=n.conversion),t}function a(n){const t=function(...o){const e=o[0];if(e==null)return e;e.length>1&&(o=e);const r=n(o);if(typeof r=="object")for(let{length:u}=r,i=0;i<u;i++)r[i]=Math.round(r[i]);return r};return"conversion"in n&&(t.conversion=n.conversion),t}for(const n of l){c[n]={},Object.defineProperty(c[n],"channels",{value:s[n].channels}),Object.defineProperty(c[n],"labels",{value:s[n].labels});const t=f(n),o=Object.keys(t);for(const e of o){const r=t[e];c[n][e]=a(r),c[n][e].raw=d(r)}}export{c as default};
@@ -0,0 +1 @@
1
+ import i from"./conversions.js";function l(){const t={},n=Object.keys(i);for(let{length:c}=n,e=0;e<c;e++)t[n[e]]={distance:-1,parent:null};return t}function f(t){const n=l(),c=[t];for(n[t].distance=0;c.length>0;){const e=c.pop(),r=Object.keys(i[e]);for(let{length:s}=r,o=0;o<s;o++){const u=r[o],a=n[u];a.distance===-1&&(a.distance=n[e].distance+1,a.parent=e,c.unshift(u))}}return n}function p(t,n){return function(c){return n(t(c))}}function d(t,n){const c=[n[t].parent,t];let e=i[n[t].parent][t],r=n[t].parent;for(;n[r].parent;)c.unshift(n[r].parent),e=p(i[n[r].parent][r],e),r=n[r].parent;return e.conversion=c,e}function j(t){const n=f(t),c={},e=Object.keys(n);for(let{length:r}=e,s=0;s<r;s++){const o=e[s];n[o].parent!==null&&(c[o]=d(o,n))}return c}export{j as default};
@@ -0,0 +1 @@
1
+ import f from"../../../color-name@2.0.2/node_modules/color-name/index.js";const b=Object.create(null);for(const e in f)Object.hasOwn(f,e)&&(b[f[e]]=e);const a={to:{},get:{}};a.get=function(e){const o=e.slice(0,3).toLowerCase();let s,u;switch(o){case"hsl":{s=a.get.hsl(e),u="hsl";break}case"hwb":{s=a.get.hwb(e),u="hwb";break}default:{s=a.get.rgb(e),u="rgb";break}}return s?{model:u,value:s}:null};a.get.rgb=function(e){if(!e)return null;const o=/^#([a-f\d]{3,4})$/i,s=/^#([a-f\d]{6})([a-f\d]{2})?$/i,u=/^rgba?\(\s*([+-]?(?:\d*\.)?\d+(?:e\d+)?)(?=[\s,])\s*(?:,\s*)?([+-]?(?:\d*\.)?\d+(?:e\d+)?)(?=[\s,])\s*(?:,\s*)?([+-]?(?:\d*\.)?\d+(?:e\d+)?)\s*(?:[\s,|/]\s*([+-]?(?:\d*\.)?\d+(?:e\d+)?)(%?)\s*)?\)$/i,d=/^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[\s,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/i,h=/^(\w+)$/;let n=[0,0,0,1],t,r,l;if(t=e.match(s)){for(l=t[2],t=t[1],r=0;r<3;r++){const m=r*2;n[r]=Number.parseInt(t.slice(m,m+2),16)}l&&(n[3]=Number.parseInt(l,16)/255)}else if(t=e.match(o)){for(t=t[1],l=t[3],r=0;r<3;r++)n[r]=Number.parseInt(t[r]+t[r],16);l&&(n[3]=Number.parseInt(l+l,16)/255)}else if(t=e.match(u)){for(r=0;r<3;r++)n[r]=Number.parseFloat(t[r+1]);t[4]&&(n[3]=t[5]?Number.parseFloat(t[4])*.01:Number.parseFloat(t[4]))}else if(t=e.match(d)){for(r=0;r<3;r++)n[r]=Math.round(Number.parseFloat(t[r+1])*2.55);t[4]&&(n[3]=t[5]?Number.parseFloat(t[4])*.01:Number.parseFloat(t[4]))}else return(t=e.toLowerCase().match(h))?t[1]==="transparent"?[0,0,0,0]:Object.hasOwn(f,t[1])?(n=f[t[1]].slice(),n[3]=1,n):null:null;for(r=0;r<3;r++)n[r]=c(n[r],0,255);return n[3]=c(n[3],0,1),n};a.get.hsl=function(e){if(!e)return null;const o=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:e[+-]?\d+)?)\s*)?\)$/i,s=e.match(o);if(s){const u=Number.parseFloat(s[4]),d=(Number.parseFloat(s[1])%360+360)%360,h=c(Number.parseFloat(s[2]),0,100),n=c(Number.parseFloat(s[3]),0,100),t=c(Number.isNaN(u)?1:u,0,1);return[d,h,n,t]}return null};a.get.hwb=function(e){if(!e)return null;const o=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*[\s,]\s*([+-]?[\d.]+)%\s*[\s,]\s*([+-]?[\d.]+)%\s*(?:[\s,]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:e[+-]?\d+)?)\s*)?\)$/i,s=e.match(o);if(s){const u=Number.parseFloat(s[4]),d=(Number.parseFloat(s[1])%360+360)%360,h=c(Number.parseFloat(s[2]),0,100),n=c(Number.parseFloat(s[3]),0,100),t=c(Number.isNaN(u)?1:u,0,1);return[d,h,n,t]}return null};a.to.hex=function(...e){return"#"+i(e[0])+i(e[1])+i(e[2])+(e[3]<1?i(Math.round(e[3]*255)):"")};a.to.rgb=function(...e){return e.length<4||e[3]===1?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"};a.to.rgb.percent=function(...e){const o=Math.round(e[0]/255*100),s=Math.round(e[1]/255*100),u=Math.round(e[2]/255*100);return e.length<4||e[3]===1?"rgb("+o+"%, "+s+"%, "+u+"%)":"rgba("+o+"%, "+s+"%, "+u+"%, "+e[3]+")"};a.to.hsl=function(...e){return e.length<4||e[3]===1?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"};a.to.hwb=function(...e){let o="";return e.length>=4&&e[3]!==1&&(o=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+o+")"};a.to.keyword=function(...e){return b[e.slice(0,3)]};function c(e,o,s){return Math.min(Math.max(o,e),s)}function i(e){const o=Math.round(e).toString(16).toUpperCase();return o.length<2?"0"+o:o}export{a as default};