@noma.to/qwik-testing-library 1.0.4 → 1.2.0

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 (781) hide show
  1. package/README.md +87 -16
  2. package/lib/_virtual/_commonjsHelpers.qwik.cjs +2 -4
  3. package/lib/_virtual/_commonjsHelpers.qwik.mjs +2 -4
  4. package/lib/_virtual/{AsymmetricMatcher.qwik.cjs → sourcemap-codec.umd.qwik.cjs} +2 -2
  5. package/lib/_virtual/sourcemap-codec.umd.qwik.mjs +4 -0
  6. package/lib/index.qwik.cjs +11 -80
  7. package/lib/index.qwik.mjs +6 -81
  8. package/lib/lib/mock.qwik.cjs +14 -0
  9. package/lib/lib/mock.qwik.mjs +14 -0
  10. package/lib/lib/qwik-testing-library.qwik.cjs +20 -80
  11. package/lib/lib/qwik-testing-library.qwik.mjs +16 -82
  12. package/lib/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.qwik.cjs +425 -0
  13. package/lib/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.qwik.mjs +425 -0
  14. package/lib/node_modules/.pnpm/@vitest_expect@2.1.1/node_modules/@vitest/expect/dist/index.qwik.cjs +1967 -0
  15. package/lib/node_modules/.pnpm/@vitest_expect@2.1.1/node_modules/@vitest/expect/dist/index.qwik.mjs +1967 -0
  16. package/lib/node_modules/.pnpm/@vitest_pretty-format@2.1.1/node_modules/@vitest/pretty-format/dist/index.qwik.cjs +1202 -0
  17. package/lib/node_modules/.pnpm/@vitest_pretty-format@2.1.1/node_modules/@vitest/pretty-format/dist/index.qwik.mjs +1202 -0
  18. package/lib/node_modules/.pnpm/@vitest_runner@2.1.1/node_modules/@vitest/runner/dist/chunk-tasks.qwik.cjs +44 -0
  19. package/lib/node_modules/.pnpm/@vitest_runner@2.1.1/node_modules/@vitest/runner/dist/chunk-tasks.qwik.mjs +44 -0
  20. package/lib/node_modules/.pnpm/@vitest_runner@2.1.1/node_modules/@vitest/runner/dist/index.qwik.cjs +665 -0
  21. package/lib/node_modules/.pnpm/@vitest_runner@2.1.1/node_modules/@vitest/runner/dist/index.qwik.mjs +665 -0
  22. package/lib/node_modules/.pnpm/@vitest_snapshot@2.1.1/node_modules/@vitest/snapshot/dist/index.qwik.cjs +1641 -0
  23. package/lib/node_modules/.pnpm/@vitest_snapshot@2.1.1/node_modules/@vitest/snapshot/dist/index.qwik.mjs +1641 -0
  24. package/lib/node_modules/.pnpm/@vitest_spy@2.1.1/node_modules/@vitest/spy/dist/index.qwik.cjs +148 -0
  25. package/lib/node_modules/.pnpm/@vitest_spy@2.1.1/node_modules/@vitest/spy/dist/index.qwik.mjs +148 -0
  26. package/lib/node_modules/.pnpm/@vitest_utils@2.1.1/node_modules/@vitest/utils/dist/chunk-display.qwik.cjs +158 -0
  27. package/lib/node_modules/.pnpm/@vitest_utils@2.1.1/node_modules/@vitest/utils/dist/chunk-display.qwik.mjs +158 -0
  28. package/lib/node_modules/.pnpm/@vitest_utils@2.1.1/node_modules/@vitest/utils/dist/diff.qwik.cjs +1731 -0
  29. package/lib/node_modules/.pnpm/@vitest_utils@2.1.1/node_modules/@vitest/utils/dist/diff.qwik.mjs +1731 -0
  30. package/lib/node_modules/.pnpm/@vitest_utils@2.1.1/node_modules/@vitest/utils/dist/error.qwik.cjs +137 -0
  31. package/lib/node_modules/.pnpm/@vitest_utils@2.1.1/node_modules/@vitest/utils/dist/error.qwik.mjs +137 -0
  32. package/lib/node_modules/.pnpm/@vitest_utils@2.1.1/node_modules/@vitest/utils/dist/helpers.qwik.cjs +150 -0
  33. package/lib/node_modules/.pnpm/@vitest_utils@2.1.1/node_modules/@vitest/utils/dist/helpers.qwik.mjs +150 -0
  34. package/lib/node_modules/.pnpm/@vitest_utils@2.1.1/node_modules/@vitest/utils/dist/index.qwik.cjs +81 -0
  35. package/lib/node_modules/.pnpm/@vitest_utils@2.1.1/node_modules/@vitest/utils/dist/index.qwik.mjs +81 -0
  36. package/lib/node_modules/.pnpm/@vitest_utils@2.1.1/node_modules/@vitest/utils/dist/source-map.qwik.cjs +216 -0
  37. package/lib/node_modules/.pnpm/@vitest_utils@2.1.1/node_modules/@vitest/utils/dist/source-map.qwik.mjs +216 -0
  38. package/lib/node_modules/.pnpm/chai@5.1.1/node_modules/chai/chai.qwik.cjs +3905 -0
  39. package/lib/node_modules/.pnpm/chai@5.1.1/node_modules/chai/chai.qwik.mjs +3905 -0
  40. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/arguments.qwik.cjs +9 -0
  41. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/arguments.qwik.mjs +10 -0
  42. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/array.qwik.cjs +16 -0
  43. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/array.qwik.mjs +17 -0
  44. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/bigint.qwik.cjs +9 -0
  45. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/bigint.qwik.mjs +10 -0
  46. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/class.qwik.cjs +16 -0
  47. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/class.qwik.mjs +17 -0
  48. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/date.qwik.cjs +12 -0
  49. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/date.qwik.mjs +13 -0
  50. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/error.qwik.cjs +30 -0
  51. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/error.qwik.mjs +31 -0
  52. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/function.qwik.cjs +11 -0
  53. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/function.qwik.mjs +12 -0
  54. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/helpers.qwik.cjs +160 -0
  55. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/helpers.qwik.mjs +160 -0
  56. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/html.qwik.cjs +36 -0
  57. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/html.qwik.mjs +36 -0
  58. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/index.qwik.cjs +130 -0
  59. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/index.qwik.mjs +130 -0
  60. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/map.qwik.cjs +25 -0
  61. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/map.qwik.mjs +26 -0
  62. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/number.qwik.cjs +19 -0
  63. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/number.qwik.mjs +20 -0
  64. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/object.qwik.cjs +24 -0
  65. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/object.qwik.mjs +25 -0
  66. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/promise.qwik.cjs +17 -0
  67. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/promise.qwik.mjs +18 -0
  68. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/regexp.qwik.cjs +9 -0
  69. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/regexp.qwik.mjs +10 -0
  70. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/set.qwik.cjs +16 -0
  71. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/set.qwik.mjs +17 -0
  72. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/string.qwik.cjs +24 -0
  73. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/string.qwik.mjs +25 -0
  74. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/symbol.qwik.cjs +8 -0
  75. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/symbol.qwik.mjs +9 -0
  76. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/typedarray.qwik.cjs +34 -0
  77. package/lib/node_modules/.pnpm/loupe@3.1.1/node_modules/loupe/lib/typedarray.qwik.mjs +35 -0
  78. package/lib/node_modules/.pnpm/magic-string@0.30.11/node_modules/magic-string/dist/magic-string.es.qwik.cjs +968 -0
  79. package/lib/node_modules/.pnpm/magic-string@0.30.11/node_modules/magic-string/dist/magic-string.es.qwik.mjs +968 -0
  80. package/lib/node_modules/.pnpm/pathe@1.1.2/node_modules/pathe/dist/shared/pathe.ff20891b.qwik.cjs +101 -0
  81. package/lib/node_modules/.pnpm/pathe@1.1.2/node_modules/pathe/dist/shared/pathe.ff20891b.qwik.mjs +101 -0
  82. package/lib/node_modules/.pnpm/tinyrainbow@1.2.0/node_modules/tinyrainbow/dist/browser.qwik.cjs +7 -0
  83. package/lib/node_modules/.pnpm/tinyrainbow@1.2.0/node_modules/tinyrainbow/dist/browser.qwik.mjs +8 -0
  84. package/lib/node_modules/.pnpm/tinyrainbow@1.2.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.qwik.cjs +80 -0
  85. package/lib/node_modules/.pnpm/tinyrainbow@1.2.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.qwik.mjs +80 -0
  86. package/lib/node_modules/.pnpm/tinyspy@3.0.2/node_modules/tinyspy/dist/index.qwik.cjs +104 -0
  87. package/lib/node_modules/.pnpm/tinyspy@3.0.2/node_modules/tinyspy/dist/index.qwik.mjs +104 -0
  88. package/lib/node_modules/.pnpm/vitest@2.1.1_@types_node@22.7.4_@vitest_ui@2.1.1_jsdom@25.0.1/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.qwik.cjs +8 -0
  89. package/lib/node_modules/.pnpm/vitest@2.1.1_@types_node@22.7.4_@vitest_ui@2.1.1_jsdom@25.0.1/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.qwik.mjs +8 -0
  90. package/lib/node_modules/.pnpm/vitest@2.1.1_@types_node@22.7.4_@vitest_ui@2.1.1_jsdom@25.0.1/node_modules/vitest/dist/chunks/base.BlXpj3e_.qwik.cjs +6 -0
  91. package/lib/node_modules/.pnpm/vitest@2.1.1_@types_node@22.7.4_@vitest_ui@2.1.1_jsdom@25.0.1/node_modules/vitest/dist/chunks/base.BlXpj3e_.qwik.mjs +6 -0
  92. package/lib/node_modules/.pnpm/vitest@2.1.1_@types_node@22.7.4_@vitest_ui@2.1.1_jsdom@25.0.1/node_modules/vitest/dist/chunks/date.W2xKR2qe.qwik.cjs +56 -0
  93. package/lib/node_modules/.pnpm/vitest@2.1.1_@types_node@22.7.4_@vitest_ui@2.1.1_jsdom@25.0.1/node_modules/vitest/dist/chunks/date.W2xKR2qe.qwik.mjs +56 -0
  94. package/lib/node_modules/.pnpm/vitest@2.1.1_@types_node@22.7.4_@vitest_ui@2.1.1_jsdom@25.0.1/node_modules/vitest/dist/chunks/utils.Ck2hJTRs.qwik.cjs +16 -0
  95. package/lib/node_modules/.pnpm/vitest@2.1.1_@types_node@22.7.4_@vitest_ui@2.1.1_jsdom@25.0.1/node_modules/vitest/dist/chunks/utils.Ck2hJTRs.qwik.mjs +16 -0
  96. package/lib/node_modules/.pnpm/vitest@2.1.1_@types_node@22.7.4_@vitest_ui@2.1.1_jsdom@25.0.1/node_modules/vitest/dist/chunks/vi.D6IHiKAI.qwik.cjs +2556 -0
  97. package/lib/node_modules/.pnpm/vitest@2.1.1_@types_node@22.7.4_@vitest_ui@2.1.1_jsdom@25.0.1/node_modules/vitest/dist/chunks/vi.D6IHiKAI.qwik.mjs +2556 -0
  98. package/lib-types/lib/mock.d.ts +34 -0
  99. package/lib-types/lib/qwik-testing-library.d.ts +2 -1
  100. package/package.json +9 -6
  101. package/lib/_virtual/AsymmetricMatcher.qwik.mjs +0 -4
  102. package/lib/_virtual/ConvertAnsi.qwik.cjs +0 -4
  103. package/lib/_virtual/ConvertAnsi.qwik.mjs +0 -4
  104. package/lib/_virtual/DOMCollection.qwik.cjs +0 -4
  105. package/lib/_virtual/DOMCollection.qwik.mjs +0 -4
  106. package/lib/_virtual/DOMElement.qwik.cjs +0 -4
  107. package/lib/_virtual/DOMElement.qwik.mjs +0 -4
  108. package/lib/_virtual/Immutable.qwik.cjs +0 -4
  109. package/lib/_virtual/Immutable.qwik.mjs +0 -4
  110. package/lib/_virtual/ReactElement.qwik.cjs +0 -4
  111. package/lib/_virtual/ReactElement.qwik.mjs +0 -4
  112. package/lib/_virtual/ReactTestComponent.qwik.cjs +0 -4
  113. package/lib/_virtual/ReactTestComponent.qwik.mjs +0 -4
  114. package/lib/_virtual/alertRole.qwik.cjs +0 -4
  115. package/lib/_virtual/alertRole.qwik.mjs +0 -4
  116. package/lib/_virtual/alertdialogRole.qwik.cjs +0 -4
  117. package/lib/_virtual/alertdialogRole.qwik.mjs +0 -4
  118. package/lib/_virtual/applicationRole.qwik.cjs +0 -4
  119. package/lib/_virtual/applicationRole.qwik.mjs +0 -4
  120. package/lib/_virtual/ariaAbstractRoles.qwik.cjs +0 -4
  121. package/lib/_virtual/ariaAbstractRoles.qwik.mjs +0 -4
  122. package/lib/_virtual/ariaDpubRoles.qwik.cjs +0 -4
  123. package/lib/_virtual/ariaDpubRoles.qwik.mjs +0 -4
  124. package/lib/_virtual/ariaGraphicsRoles.qwik.cjs +0 -4
  125. package/lib/_virtual/ariaGraphicsRoles.qwik.mjs +0 -4
  126. package/lib/_virtual/ariaLiteralRoles.qwik.cjs +0 -4
  127. package/lib/_virtual/ariaLiteralRoles.qwik.mjs +0 -4
  128. package/lib/_virtual/ariaPropsMap.qwik.cjs +0 -4
  129. package/lib/_virtual/ariaPropsMap.qwik.mjs +0 -4
  130. package/lib/_virtual/articleRole.qwik.cjs +0 -4
  131. package/lib/_virtual/articleRole.qwik.mjs +0 -4
  132. package/lib/_virtual/bannerRole.qwik.cjs +0 -4
  133. package/lib/_virtual/bannerRole.qwik.mjs +0 -4
  134. package/lib/_virtual/blockquoteRole.qwik.cjs +0 -4
  135. package/lib/_virtual/blockquoteRole.qwik.mjs +0 -4
  136. package/lib/_virtual/buttonRole.qwik.cjs +0 -4
  137. package/lib/_virtual/buttonRole.qwik.mjs +0 -4
  138. package/lib/_virtual/captionRole.qwik.cjs +0 -4
  139. package/lib/_virtual/captionRole.qwik.mjs +0 -4
  140. package/lib/_virtual/cellRole.qwik.cjs +0 -4
  141. package/lib/_virtual/cellRole.qwik.mjs +0 -4
  142. package/lib/_virtual/checkboxRole.qwik.cjs +0 -4
  143. package/lib/_virtual/checkboxRole.qwik.mjs +0 -4
  144. package/lib/_virtual/codeRole.qwik.cjs +0 -4
  145. package/lib/_virtual/codeRole.qwik.mjs +0 -4
  146. package/lib/_virtual/collections.qwik.cjs +0 -4
  147. package/lib/_virtual/collections.qwik.mjs +0 -4
  148. package/lib/_virtual/columnheaderRole.qwik.cjs +0 -4
  149. package/lib/_virtual/columnheaderRole.qwik.mjs +0 -4
  150. package/lib/_virtual/comboboxRole.qwik.cjs +0 -4
  151. package/lib/_virtual/comboboxRole.qwik.mjs +0 -4
  152. package/lib/_virtual/commandRole.qwik.cjs +0 -4
  153. package/lib/_virtual/commandRole.qwik.mjs +0 -4
  154. package/lib/_virtual/complementaryRole.qwik.cjs +0 -4
  155. package/lib/_virtual/complementaryRole.qwik.mjs +0 -4
  156. package/lib/_virtual/compositeRole.qwik.cjs +0 -4
  157. package/lib/_virtual/compositeRole.qwik.mjs +0 -4
  158. package/lib/_virtual/contentinfoRole.qwik.cjs +0 -4
  159. package/lib/_virtual/contentinfoRole.qwik.mjs +0 -4
  160. package/lib/_virtual/definitionRole.qwik.cjs +0 -4
  161. package/lib/_virtual/definitionRole.qwik.mjs +0 -4
  162. package/lib/_virtual/deletionRole.qwik.cjs +0 -4
  163. package/lib/_virtual/deletionRole.qwik.mjs +0 -4
  164. package/lib/_virtual/dialogRole.qwik.cjs +0 -4
  165. package/lib/_virtual/dialogRole.qwik.mjs +0 -4
  166. package/lib/_virtual/directoryRole.qwik.cjs +0 -4
  167. package/lib/_virtual/directoryRole.qwik.mjs +0 -4
  168. package/lib/_virtual/docAbstractRole.qwik.cjs +0 -4
  169. package/lib/_virtual/docAbstractRole.qwik.mjs +0 -4
  170. package/lib/_virtual/docAcknowledgmentsRole.qwik.cjs +0 -4
  171. package/lib/_virtual/docAcknowledgmentsRole.qwik.mjs +0 -4
  172. package/lib/_virtual/docAfterwordRole.qwik.cjs +0 -4
  173. package/lib/_virtual/docAfterwordRole.qwik.mjs +0 -4
  174. package/lib/_virtual/docAppendixRole.qwik.cjs +0 -4
  175. package/lib/_virtual/docAppendixRole.qwik.mjs +0 -4
  176. package/lib/_virtual/docBacklinkRole.qwik.cjs +0 -4
  177. package/lib/_virtual/docBacklinkRole.qwik.mjs +0 -4
  178. package/lib/_virtual/docBiblioentryRole.qwik.cjs +0 -4
  179. package/lib/_virtual/docBiblioentryRole.qwik.mjs +0 -4
  180. package/lib/_virtual/docBibliographyRole.qwik.cjs +0 -4
  181. package/lib/_virtual/docBibliographyRole.qwik.mjs +0 -4
  182. package/lib/_virtual/docBibliorefRole.qwik.cjs +0 -4
  183. package/lib/_virtual/docBibliorefRole.qwik.mjs +0 -4
  184. package/lib/_virtual/docChapterRole.qwik.cjs +0 -4
  185. package/lib/_virtual/docChapterRole.qwik.mjs +0 -4
  186. package/lib/_virtual/docColophonRole.qwik.cjs +0 -4
  187. package/lib/_virtual/docColophonRole.qwik.mjs +0 -4
  188. package/lib/_virtual/docConclusionRole.qwik.cjs +0 -4
  189. package/lib/_virtual/docConclusionRole.qwik.mjs +0 -4
  190. package/lib/_virtual/docCoverRole.qwik.cjs +0 -4
  191. package/lib/_virtual/docCoverRole.qwik.mjs +0 -4
  192. package/lib/_virtual/docCreditRole.qwik.cjs +0 -4
  193. package/lib/_virtual/docCreditRole.qwik.mjs +0 -4
  194. package/lib/_virtual/docCreditsRole.qwik.cjs +0 -4
  195. package/lib/_virtual/docCreditsRole.qwik.mjs +0 -4
  196. package/lib/_virtual/docDedicationRole.qwik.cjs +0 -4
  197. package/lib/_virtual/docDedicationRole.qwik.mjs +0 -4
  198. package/lib/_virtual/docEndnoteRole.qwik.cjs +0 -4
  199. package/lib/_virtual/docEndnoteRole.qwik.mjs +0 -4
  200. package/lib/_virtual/docEndnotesRole.qwik.cjs +0 -4
  201. package/lib/_virtual/docEndnotesRole.qwik.mjs +0 -4
  202. package/lib/_virtual/docEpigraphRole.qwik.cjs +0 -4
  203. package/lib/_virtual/docEpigraphRole.qwik.mjs +0 -4
  204. package/lib/_virtual/docEpilogueRole.qwik.cjs +0 -4
  205. package/lib/_virtual/docEpilogueRole.qwik.mjs +0 -4
  206. package/lib/_virtual/docErrataRole.qwik.cjs +0 -4
  207. package/lib/_virtual/docErrataRole.qwik.mjs +0 -4
  208. package/lib/_virtual/docExampleRole.qwik.cjs +0 -4
  209. package/lib/_virtual/docExampleRole.qwik.mjs +0 -4
  210. package/lib/_virtual/docFootnoteRole.qwik.cjs +0 -4
  211. package/lib/_virtual/docFootnoteRole.qwik.mjs +0 -4
  212. package/lib/_virtual/docForewordRole.qwik.cjs +0 -4
  213. package/lib/_virtual/docForewordRole.qwik.mjs +0 -4
  214. package/lib/_virtual/docGlossaryRole.qwik.cjs +0 -4
  215. package/lib/_virtual/docGlossaryRole.qwik.mjs +0 -4
  216. package/lib/_virtual/docGlossrefRole.qwik.cjs +0 -4
  217. package/lib/_virtual/docGlossrefRole.qwik.mjs +0 -4
  218. package/lib/_virtual/docIndexRole.qwik.cjs +0 -4
  219. package/lib/_virtual/docIndexRole.qwik.mjs +0 -4
  220. package/lib/_virtual/docIntroductionRole.qwik.cjs +0 -4
  221. package/lib/_virtual/docIntroductionRole.qwik.mjs +0 -4
  222. package/lib/_virtual/docNoterefRole.qwik.cjs +0 -4
  223. package/lib/_virtual/docNoterefRole.qwik.mjs +0 -4
  224. package/lib/_virtual/docNoticeRole.qwik.cjs +0 -4
  225. package/lib/_virtual/docNoticeRole.qwik.mjs +0 -4
  226. package/lib/_virtual/docPagebreakRole.qwik.cjs +0 -4
  227. package/lib/_virtual/docPagebreakRole.qwik.mjs +0 -4
  228. package/lib/_virtual/docPagelistRole.qwik.cjs +0 -4
  229. package/lib/_virtual/docPagelistRole.qwik.mjs +0 -4
  230. package/lib/_virtual/docPartRole.qwik.cjs +0 -4
  231. package/lib/_virtual/docPartRole.qwik.mjs +0 -4
  232. package/lib/_virtual/docPrefaceRole.qwik.cjs +0 -4
  233. package/lib/_virtual/docPrefaceRole.qwik.mjs +0 -4
  234. package/lib/_virtual/docPrologueRole.qwik.cjs +0 -4
  235. package/lib/_virtual/docPrologueRole.qwik.mjs +0 -4
  236. package/lib/_virtual/docPullquoteRole.qwik.cjs +0 -4
  237. package/lib/_virtual/docPullquoteRole.qwik.mjs +0 -4
  238. package/lib/_virtual/docQnaRole.qwik.cjs +0 -4
  239. package/lib/_virtual/docQnaRole.qwik.mjs +0 -4
  240. package/lib/_virtual/docSubtitleRole.qwik.cjs +0 -4
  241. package/lib/_virtual/docSubtitleRole.qwik.mjs +0 -4
  242. package/lib/_virtual/docTipRole.qwik.cjs +0 -4
  243. package/lib/_virtual/docTipRole.qwik.mjs +0 -4
  244. package/lib/_virtual/docTocRole.qwik.cjs +0 -4
  245. package/lib/_virtual/docTocRole.qwik.mjs +0 -4
  246. package/lib/_virtual/documentRole.qwik.cjs +0 -4
  247. package/lib/_virtual/documentRole.qwik.mjs +0 -4
  248. package/lib/_virtual/domMap.qwik.cjs +0 -4
  249. package/lib/_virtual/domMap.qwik.mjs +0 -4
  250. package/lib/_virtual/elementRoleMap.qwik.cjs +0 -4
  251. package/lib/_virtual/elementRoleMap.qwik.mjs +0 -4
  252. package/lib/_virtual/emphasisRole.qwik.cjs +0 -4
  253. package/lib/_virtual/emphasisRole.qwik.mjs +0 -4
  254. package/lib/_virtual/escapeHTML.qwik.cjs +0 -4
  255. package/lib/_virtual/escapeHTML.qwik.mjs +0 -4
  256. package/lib/_virtual/feedRole.qwik.cjs +0 -4
  257. package/lib/_virtual/feedRole.qwik.mjs +0 -4
  258. package/lib/_virtual/figureRole.qwik.cjs +0 -4
  259. package/lib/_virtual/figureRole.qwik.mjs +0 -4
  260. package/lib/_virtual/formRole.qwik.cjs +0 -4
  261. package/lib/_virtual/formRole.qwik.mjs +0 -4
  262. package/lib/_virtual/genericRole.qwik.cjs +0 -4
  263. package/lib/_virtual/genericRole.qwik.mjs +0 -4
  264. package/lib/_virtual/graphicsDocumentRole.qwik.cjs +0 -4
  265. package/lib/_virtual/graphicsDocumentRole.qwik.mjs +0 -4
  266. package/lib/_virtual/graphicsObjectRole.qwik.cjs +0 -4
  267. package/lib/_virtual/graphicsObjectRole.qwik.mjs +0 -4
  268. package/lib/_virtual/graphicsSymbolRole.qwik.cjs +0 -4
  269. package/lib/_virtual/graphicsSymbolRole.qwik.mjs +0 -4
  270. package/lib/_virtual/gridRole.qwik.cjs +0 -4
  271. package/lib/_virtual/gridRole.qwik.mjs +0 -4
  272. package/lib/_virtual/gridcellRole.qwik.cjs +0 -4
  273. package/lib/_virtual/gridcellRole.qwik.mjs +0 -4
  274. package/lib/_virtual/groupRole.qwik.cjs +0 -4
  275. package/lib/_virtual/groupRole.qwik.mjs +0 -4
  276. package/lib/_virtual/headingRole.qwik.cjs +0 -4
  277. package/lib/_virtual/headingRole.qwik.mjs +0 -4
  278. package/lib/_virtual/imgRole.qwik.cjs +0 -4
  279. package/lib/_virtual/imgRole.qwik.mjs +0 -4
  280. package/lib/_virtual/index.qwik.cjs +0 -4
  281. package/lib/_virtual/index.qwik.mjs +0 -4
  282. package/lib/_virtual/index.qwik2.cjs +0 -4
  283. package/lib/_virtual/index.qwik2.mjs +0 -4
  284. package/lib/_virtual/index.qwik3.cjs +0 -4
  285. package/lib/_virtual/index.qwik3.mjs +0 -4
  286. package/lib/_virtual/index.qwik4.cjs +0 -4
  287. package/lib/_virtual/index.qwik4.mjs +0 -4
  288. package/lib/_virtual/index.qwik5.cjs +0 -4
  289. package/lib/_virtual/index.qwik5.mjs +0 -4
  290. package/lib/_virtual/inputRole.qwik.cjs +0 -4
  291. package/lib/_virtual/inputRole.qwik.mjs +0 -4
  292. package/lib/_virtual/insertionRole.qwik.cjs +0 -4
  293. package/lib/_virtual/insertionRole.qwik.mjs +0 -4
  294. package/lib/_virtual/iterationDecorator.qwik.cjs +0 -4
  295. package/lib/_virtual/iterationDecorator.qwik.mjs +0 -4
  296. package/lib/_virtual/iteratorProxy.qwik.cjs +0 -4
  297. package/lib/_virtual/iteratorProxy.qwik.mjs +0 -4
  298. package/lib/_virtual/landmarkRole.qwik.cjs +0 -4
  299. package/lib/_virtual/landmarkRole.qwik.mjs +0 -4
  300. package/lib/_virtual/linkRole.qwik.cjs +0 -4
  301. package/lib/_virtual/linkRole.qwik.mjs +0 -4
  302. package/lib/_virtual/listRole.qwik.cjs +0 -4
  303. package/lib/_virtual/listRole.qwik.mjs +0 -4
  304. package/lib/_virtual/listboxRole.qwik.cjs +0 -4
  305. package/lib/_virtual/listboxRole.qwik.mjs +0 -4
  306. package/lib/_virtual/listitemRole.qwik.cjs +0 -4
  307. package/lib/_virtual/listitemRole.qwik.mjs +0 -4
  308. package/lib/_virtual/logRole.qwik.cjs +0 -4
  309. package/lib/_virtual/logRole.qwik.mjs +0 -4
  310. package/lib/_virtual/lz-string.qwik.cjs +0 -4
  311. package/lib/_virtual/lz-string.qwik.mjs +0 -4
  312. package/lib/_virtual/mainRole.qwik.cjs +0 -4
  313. package/lib/_virtual/mainRole.qwik.mjs +0 -4
  314. package/lib/_virtual/markRole.qwik.cjs +0 -4
  315. package/lib/_virtual/markRole.qwik.mjs +0 -4
  316. package/lib/_virtual/markup.qwik.cjs +0 -4
  317. package/lib/_virtual/markup.qwik.mjs +0 -4
  318. package/lib/_virtual/marqueeRole.qwik.cjs +0 -4
  319. package/lib/_virtual/marqueeRole.qwik.mjs +0 -4
  320. package/lib/_virtual/mathRole.qwik.cjs +0 -4
  321. package/lib/_virtual/mathRole.qwik.mjs +0 -4
  322. package/lib/_virtual/menuRole.qwik.cjs +0 -4
  323. package/lib/_virtual/menuRole.qwik.mjs +0 -4
  324. package/lib/_virtual/menubarRole.qwik.cjs +0 -4
  325. package/lib/_virtual/menubarRole.qwik.mjs +0 -4
  326. package/lib/_virtual/menuitemRole.qwik.cjs +0 -4
  327. package/lib/_virtual/menuitemRole.qwik.mjs +0 -4
  328. package/lib/_virtual/menuitemcheckboxRole.qwik.cjs +0 -4
  329. package/lib/_virtual/menuitemcheckboxRole.qwik.mjs +0 -4
  330. package/lib/_virtual/menuitemradioRole.qwik.cjs +0 -4
  331. package/lib/_virtual/menuitemradioRole.qwik.mjs +0 -4
  332. package/lib/_virtual/meterRole.qwik.cjs +0 -4
  333. package/lib/_virtual/meterRole.qwik.mjs +0 -4
  334. package/lib/_virtual/navigationRole.qwik.cjs +0 -4
  335. package/lib/_virtual/navigationRole.qwik.mjs +0 -4
  336. package/lib/_virtual/noneRole.qwik.cjs +0 -4
  337. package/lib/_virtual/noneRole.qwik.mjs +0 -4
  338. package/lib/_virtual/noteRole.qwik.cjs +0 -4
  339. package/lib/_virtual/noteRole.qwik.mjs +0 -4
  340. package/lib/_virtual/optionRole.qwik.cjs +0 -4
  341. package/lib/_virtual/optionRole.qwik.mjs +0 -4
  342. package/lib/_virtual/paragraphRole.qwik.cjs +0 -4
  343. package/lib/_virtual/paragraphRole.qwik.mjs +0 -4
  344. package/lib/_virtual/presentationRole.qwik.cjs +0 -4
  345. package/lib/_virtual/presentationRole.qwik.mjs +0 -4
  346. package/lib/_virtual/progressbarRole.qwik.cjs +0 -4
  347. package/lib/_virtual/progressbarRole.qwik.mjs +0 -4
  348. package/lib/_virtual/radioRole.qwik.cjs +0 -4
  349. package/lib/_virtual/radioRole.qwik.mjs +0 -4
  350. package/lib/_virtual/radiogroupRole.qwik.cjs +0 -4
  351. package/lib/_virtual/radiogroupRole.qwik.mjs +0 -4
  352. package/lib/_virtual/rangeRole.qwik.cjs +0 -4
  353. package/lib/_virtual/rangeRole.qwik.mjs +0 -4
  354. package/lib/_virtual/react-is.development.qwik.cjs +0 -4
  355. package/lib/_virtual/react-is.development.qwik.mjs +0 -4
  356. package/lib/_virtual/react-is.production.min.qwik.cjs +0 -4
  357. package/lib/_virtual/react-is.production.min.qwik.mjs +0 -4
  358. package/lib/_virtual/regionRole.qwik.cjs +0 -4
  359. package/lib/_virtual/regionRole.qwik.mjs +0 -4
  360. package/lib/_virtual/roleElementMap.qwik.cjs +0 -4
  361. package/lib/_virtual/roleElementMap.qwik.mjs +0 -4
  362. package/lib/_virtual/rolesMap.qwik.cjs +0 -4
  363. package/lib/_virtual/rolesMap.qwik.mjs +0 -4
  364. package/lib/_virtual/roletypeRole.qwik.cjs +0 -4
  365. package/lib/_virtual/roletypeRole.qwik.mjs +0 -4
  366. package/lib/_virtual/rowRole.qwik.cjs +0 -4
  367. package/lib/_virtual/rowRole.qwik.mjs +0 -4
  368. package/lib/_virtual/rowgroupRole.qwik.cjs +0 -4
  369. package/lib/_virtual/rowgroupRole.qwik.mjs +0 -4
  370. package/lib/_virtual/rowheaderRole.qwik.cjs +0 -4
  371. package/lib/_virtual/rowheaderRole.qwik.mjs +0 -4
  372. package/lib/_virtual/scrollbarRole.qwik.cjs +0 -4
  373. package/lib/_virtual/scrollbarRole.qwik.mjs +0 -4
  374. package/lib/_virtual/searchRole.qwik.cjs +0 -4
  375. package/lib/_virtual/searchRole.qwik.mjs +0 -4
  376. package/lib/_virtual/searchboxRole.qwik.cjs +0 -4
  377. package/lib/_virtual/searchboxRole.qwik.mjs +0 -4
  378. package/lib/_virtual/sectionRole.qwik.cjs +0 -4
  379. package/lib/_virtual/sectionRole.qwik.mjs +0 -4
  380. package/lib/_virtual/sectionheadRole.qwik.cjs +0 -4
  381. package/lib/_virtual/sectionheadRole.qwik.mjs +0 -4
  382. package/lib/_virtual/selectRole.qwik.cjs +0 -4
  383. package/lib/_virtual/selectRole.qwik.mjs +0 -4
  384. package/lib/_virtual/separatorRole.qwik.cjs +0 -4
  385. package/lib/_virtual/separatorRole.qwik.mjs +0 -4
  386. package/lib/_virtual/sliderRole.qwik.cjs +0 -4
  387. package/lib/_virtual/sliderRole.qwik.mjs +0 -4
  388. package/lib/_virtual/spinbuttonRole.qwik.cjs +0 -4
  389. package/lib/_virtual/spinbuttonRole.qwik.mjs +0 -4
  390. package/lib/_virtual/statusRole.qwik.cjs +0 -4
  391. package/lib/_virtual/statusRole.qwik.mjs +0 -4
  392. package/lib/_virtual/strongRole.qwik.cjs +0 -4
  393. package/lib/_virtual/strongRole.qwik.mjs +0 -4
  394. package/lib/_virtual/structureRole.qwik.cjs +0 -4
  395. package/lib/_virtual/structureRole.qwik.mjs +0 -4
  396. package/lib/_virtual/subscriptRole.qwik.cjs +0 -4
  397. package/lib/_virtual/subscriptRole.qwik.mjs +0 -4
  398. package/lib/_virtual/superscriptRole.qwik.cjs +0 -4
  399. package/lib/_virtual/superscriptRole.qwik.mjs +0 -4
  400. package/lib/_virtual/switchRole.qwik.cjs +0 -4
  401. package/lib/_virtual/switchRole.qwik.mjs +0 -4
  402. package/lib/_virtual/tabRole.qwik.cjs +0 -4
  403. package/lib/_virtual/tabRole.qwik.mjs +0 -4
  404. package/lib/_virtual/tableRole.qwik.cjs +0 -4
  405. package/lib/_virtual/tableRole.qwik.mjs +0 -4
  406. package/lib/_virtual/tablistRole.qwik.cjs +0 -4
  407. package/lib/_virtual/tablistRole.qwik.mjs +0 -4
  408. package/lib/_virtual/tabpanelRole.qwik.cjs +0 -4
  409. package/lib/_virtual/tabpanelRole.qwik.mjs +0 -4
  410. package/lib/_virtual/termRole.qwik.cjs +0 -4
  411. package/lib/_virtual/termRole.qwik.mjs +0 -4
  412. package/lib/_virtual/textboxRole.qwik.cjs +0 -4
  413. package/lib/_virtual/textboxRole.qwik.mjs +0 -4
  414. package/lib/_virtual/timeRole.qwik.cjs +0 -4
  415. package/lib/_virtual/timeRole.qwik.mjs +0 -4
  416. package/lib/_virtual/timerRole.qwik.cjs +0 -4
  417. package/lib/_virtual/timerRole.qwik.mjs +0 -4
  418. package/lib/_virtual/toolbarRole.qwik.cjs +0 -4
  419. package/lib/_virtual/toolbarRole.qwik.mjs +0 -4
  420. package/lib/_virtual/tooltipRole.qwik.cjs +0 -4
  421. package/lib/_virtual/tooltipRole.qwik.mjs +0 -4
  422. package/lib/_virtual/treeRole.qwik.cjs +0 -4
  423. package/lib/_virtual/treeRole.qwik.mjs +0 -4
  424. package/lib/_virtual/treegridRole.qwik.cjs +0 -4
  425. package/lib/_virtual/treegridRole.qwik.mjs +0 -4
  426. package/lib/_virtual/treeitemRole.qwik.cjs +0 -4
  427. package/lib/_virtual/treeitemRole.qwik.mjs +0 -4
  428. package/lib/_virtual/widgetRole.qwik.cjs +0 -4
  429. package/lib/_virtual/widgetRole.qwik.mjs +0 -4
  430. package/lib/_virtual/windowRole.qwik.cjs +0 -4
  431. package/lib/_virtual/windowRole.qwik.mjs +0 -4
  432. package/lib/node_modules/.pnpm/@testing-library_dom@10.4.0/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.qwik.cjs +0 -2600
  433. package/lib/node_modules/.pnpm/@testing-library_dom@10.4.0/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.qwik.mjs +0 -2601
  434. package/lib/node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.qwik.cjs +0 -10
  435. package/lib/node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.qwik.mjs +0 -10
  436. package/lib/node_modules/.pnpm/ansi-styles@5.2.0/node_modules/ansi-styles/index.qwik.cjs +0 -139
  437. package/lib/node_modules/.pnpm/ansi-styles@5.2.0/node_modules/ansi-styles/index.qwik.mjs +0 -139
  438. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/ariaPropsMap.qwik.cjs +0 -253
  439. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/ariaPropsMap.qwik.mjs +0 -252
  440. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/domMap.qwik.cjs +0 -396
  441. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/domMap.qwik.mjs +0 -395
  442. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/elementRoleMap.qwik.cjs +0 -182
  443. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/elementRoleMap.qwik.mjs +0 -181
  444. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/abstract/commandRole.qwik.cjs +0 -23
  445. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/abstract/commandRole.qwik.mjs +0 -22
  446. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/abstract/compositeRole.qwik.cjs +0 -26
  447. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/abstract/compositeRole.qwik.mjs +0 -25
  448. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/abstract/inputRole.qwik.cjs +0 -30
  449. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/abstract/inputRole.qwik.mjs +0 -29
  450. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.qwik.cjs +0 -23
  451. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.qwik.mjs +0 -22
  452. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/abstract/rangeRole.qwik.cjs +0 -27
  453. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/abstract/rangeRole.qwik.mjs +0 -26
  454. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.qwik.cjs +0 -51
  455. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.qwik.mjs +0 -50
  456. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/abstract/sectionRole.qwik.cjs +0 -38
  457. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/abstract/sectionRole.qwik.mjs +0 -37
  458. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.qwik.cjs +0 -23
  459. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.qwik.mjs +0 -22
  460. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/abstract/selectRole.qwik.cjs +0 -25
  461. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/abstract/selectRole.qwik.mjs +0 -24
  462. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/abstract/structureRole.qwik.cjs +0 -23
  463. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/abstract/structureRole.qwik.mjs +0 -22
  464. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/abstract/widgetRole.qwik.cjs +0 -23
  465. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/abstract/widgetRole.qwik.mjs +0 -22
  466. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/abstract/windowRole.qwik.cjs +0 -25
  467. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/abstract/windowRole.qwik.mjs +0 -24
  468. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.qwik.cjs +0 -48
  469. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.qwik.mjs +0 -47
  470. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/ariaDpubRoles.qwik.cjs +0 -129
  471. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/ariaDpubRoles.qwik.mjs +0 -128
  472. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.qwik.cjs +0 -21
  473. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.qwik.mjs +0 -20
  474. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.qwik.cjs +0 -261
  475. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.qwik.mjs +0 -260
  476. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.qwik.cjs +0 -34
  477. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.qwik.mjs +0 -33
  478. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.qwik.cjs +0 -34
  479. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.qwik.mjs +0 -33
  480. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.qwik.cjs +0 -34
  481. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.qwik.mjs +0 -33
  482. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.qwik.cjs +0 -34
  483. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.qwik.mjs +0 -33
  484. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.qwik.cjs +0 -31
  485. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.qwik.mjs +0 -30
  486. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.qwik.cjs +0 -34
  487. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.qwik.mjs +0 -33
  488. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.qwik.cjs +0 -34
  489. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.qwik.mjs +0 -33
  490. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.qwik.cjs +0 -31
  491. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.qwik.mjs +0 -30
  492. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.qwik.cjs +0 -34
  493. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.qwik.mjs +0 -33
  494. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.qwik.cjs +0 -34
  495. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.qwik.mjs +0 -33
  496. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.qwik.cjs +0 -34
  497. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.qwik.mjs +0 -33
  498. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.qwik.cjs +0 -34
  499. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.qwik.mjs +0 -33
  500. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.qwik.cjs +0 -34
  501. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.qwik.mjs +0 -33
  502. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.qwik.cjs +0 -34
  503. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.qwik.mjs +0 -33
  504. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.qwik.cjs +0 -34
  505. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.qwik.mjs +0 -33
  506. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.qwik.cjs +0 -34
  507. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.qwik.mjs +0 -33
  508. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.qwik.cjs +0 -34
  509. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.qwik.mjs +0 -33
  510. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.qwik.cjs +0 -34
  511. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.qwik.mjs +0 -33
  512. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.qwik.cjs +0 -34
  513. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.qwik.mjs +0 -33
  514. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.qwik.cjs +0 -34
  515. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.qwik.mjs +0 -33
  516. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.qwik.cjs +0 -29
  517. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.qwik.mjs +0 -28
  518. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.qwik.cjs +0 -34
  519. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.qwik.mjs +0 -33
  520. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.qwik.cjs +0 -34
  521. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.qwik.mjs +0 -33
  522. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.qwik.cjs +0 -34
  523. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.qwik.mjs +0 -33
  524. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.qwik.cjs +0 -31
  525. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.qwik.mjs +0 -30
  526. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.qwik.cjs +0 -34
  527. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.qwik.mjs +0 -33
  528. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.qwik.cjs +0 -34
  529. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.qwik.mjs +0 -33
  530. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.qwik.cjs +0 -31
  531. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.qwik.mjs +0 -30
  532. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.qwik.cjs +0 -34
  533. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.qwik.mjs +0 -33
  534. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.qwik.cjs +0 -33
  535. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.qwik.mjs +0 -32
  536. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.qwik.cjs +0 -34
  537. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.qwik.mjs +0 -33
  538. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docPartRole.qwik.cjs +0 -34
  539. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docPartRole.qwik.mjs +0 -33
  540. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.qwik.cjs +0 -34
  541. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.qwik.mjs +0 -33
  542. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.qwik.cjs +0 -34
  543. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.qwik.mjs +0 -33
  544. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.qwik.cjs +0 -28
  545. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.qwik.mjs +0 -27
  546. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.qwik.cjs +0 -34
  547. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.qwik.mjs +0 -33
  548. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.qwik.cjs +0 -34
  549. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.qwik.mjs +0 -33
  550. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docTipRole.qwik.cjs +0 -34
  551. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docTipRole.qwik.mjs +0 -33
  552. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docTocRole.qwik.cjs +0 -34
  553. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/dpub/docTocRole.qwik.mjs +0 -33
  554. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.qwik.cjs +0 -44
  555. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.qwik.mjs +0 -43
  556. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.qwik.cjs +0 -48
  557. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.qwik.mjs +0 -47
  558. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.qwik.cjs +0 -29
  559. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.qwik.mjs +0 -28
  560. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/alertRole.qwik.cjs +0 -31
  561. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/alertRole.qwik.mjs +0 -30
  562. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.qwik.cjs +0 -28
  563. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.qwik.mjs +0 -27
  564. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/applicationRole.qwik.cjs +0 -34
  565. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/applicationRole.qwik.mjs +0 -33
  566. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/articleRole.qwik.cjs +0 -31
  567. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/articleRole.qwik.mjs +0 -30
  568. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/bannerRole.qwik.cjs +0 -29
  569. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/bannerRole.qwik.mjs +0 -28
  570. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.qwik.cjs +0 -28
  571. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.qwik.mjs +0 -27
  572. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/buttonRole.qwik.cjs +0 -74
  573. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/buttonRole.qwik.mjs +0 -73
  574. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/captionRole.qwik.cjs +0 -28
  575. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/captionRole.qwik.mjs +0 -27
  576. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/cellRole.qwik.cjs +0 -34
  577. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/cellRole.qwik.mjs +0 -33
  578. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/checkboxRole.qwik.cjs +0 -46
  579. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/checkboxRole.qwik.mjs +0 -45
  580. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/codeRole.qwik.cjs +0 -28
  581. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/codeRole.qwik.mjs +0 -27
  582. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.qwik.cjs +0 -48
  583. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.qwik.mjs +0 -47
  584. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/comboboxRole.qwik.cjs +0 -125
  585. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/comboboxRole.qwik.mjs +0 -124
  586. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/complementaryRole.qwik.cjs +0 -48
  587. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/complementaryRole.qwik.mjs +0 -47
  588. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.qwik.cjs +0 -29
  589. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.qwik.mjs +0 -28
  590. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/definitionRole.qwik.cjs +0 -28
  591. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/definitionRole.qwik.mjs +0 -27
  592. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/deletionRole.qwik.cjs +0 -28
  593. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/deletionRole.qwik.mjs +0 -27
  594. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/dialogRole.qwik.cjs +0 -28
  595. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/dialogRole.qwik.mjs +0 -27
  596. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/directoryRole.qwik.cjs +0 -25
  597. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/directoryRole.qwik.mjs +0 -24
  598. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/documentRole.qwik.cjs +0 -32
  599. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/documentRole.qwik.mjs +0 -31
  600. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/emphasisRole.qwik.cjs +0 -28
  601. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/emphasisRole.qwik.mjs +0 -27
  602. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/feedRole.qwik.cjs +0 -23
  603. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/feedRole.qwik.mjs +0 -22
  604. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/figureRole.qwik.cjs +0 -28
  605. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/figureRole.qwik.mjs +0 -27
  606. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/formRole.qwik.cjs +0 -50
  607. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/formRole.qwik.mjs +0 -49
  608. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/genericRole.qwik.cjs +0 -120
  609. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/genericRole.qwik.mjs +0 -119
  610. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/gridRole.qwik.cjs +0 -26
  611. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/gridRole.qwik.mjs +0 -25
  612. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/gridcellRole.qwik.cjs +0 -38
  613. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/gridcellRole.qwik.mjs +0 -37
  614. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/groupRole.qwik.cjs +0 -46
  615. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/groupRole.qwik.mjs +0 -45
  616. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/headingRole.qwik.cjs +0 -57
  617. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/headingRole.qwik.mjs +0 -56
  618. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/imgRole.qwik.cjs +0 -46
  619. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/imgRole.qwik.mjs +0 -45
  620. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/insertionRole.qwik.cjs +0 -28
  621. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/insertionRole.qwik.mjs +0 -27
  622. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/linkRole.qwik.cjs +0 -45
  623. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/linkRole.qwik.mjs +0 -44
  624. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/listRole.qwik.cjs +0 -38
  625. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/listRole.qwik.mjs +0 -37
  626. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/listboxRole.qwik.cjs +0 -64
  627. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/listboxRole.qwik.mjs +0 -63
  628. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/listitemRole.qwik.cjs +0 -38
  629. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/listitemRole.qwik.mjs +0 -37
  630. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/logRole.qwik.cjs +0 -25
  631. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/logRole.qwik.mjs +0 -24
  632. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/mainRole.qwik.cjs +0 -28
  633. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/mainRole.qwik.mjs +0 -27
  634. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/markRole.qwik.cjs +0 -32
  635. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/markRole.qwik.mjs +0 -31
  636. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/marqueeRole.qwik.cjs +0 -23
  637. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/marqueeRole.qwik.mjs +0 -22
  638. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/mathRole.qwik.cjs +0 -28
  639. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/mathRole.qwik.mjs +0 -27
  640. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/menuRole.qwik.cjs +0 -45
  641. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/menuRole.qwik.mjs +0 -44
  642. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/menubarRole.qwik.cjs +0 -30
  643. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/menubarRole.qwik.mjs +0 -29
  644. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/menuitemRole.qwik.cjs +0 -44
  645. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/menuitemRole.qwik.mjs +0 -43
  646. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.qwik.cjs +0 -30
  647. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.qwik.mjs +0 -29
  648. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.qwik.cjs +0 -30
  649. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.qwik.mjs +0 -29
  650. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/meterRole.qwik.cjs +0 -34
  651. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/meterRole.qwik.mjs +0 -33
  652. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/navigationRole.qwik.cjs +0 -28
  653. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/navigationRole.qwik.mjs +0 -27
  654. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/noneRole.qwik.cjs +0 -23
  655. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/noneRole.qwik.mjs +0 -22
  656. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/noteRole.qwik.cjs +0 -23
  657. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/noteRole.qwik.mjs +0 -22
  658. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/optionRole.qwik.cjs +0 -45
  659. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/optionRole.qwik.mjs +0 -44
  660. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/paragraphRole.qwik.cjs +0 -28
  661. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/paragraphRole.qwik.mjs +0 -27
  662. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/presentationRole.qwik.cjs +0 -32
  663. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/presentationRole.qwik.mjs +0 -31
  664. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/progressbarRole.qwik.cjs +0 -35
  665. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/progressbarRole.qwik.mjs +0 -34
  666. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/radioRole.qwik.cjs +0 -38
  667. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/radioRole.qwik.mjs +0 -37
  668. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.qwik.cjs +0 -33
  669. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.qwik.mjs +0 -32
  670. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/regionRole.qwik.cjs +0 -45
  671. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/regionRole.qwik.mjs +0 -44
  672. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/rowRole.qwik.cjs +0 -36
  673. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/rowRole.qwik.mjs +0 -35
  674. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.qwik.cjs +0 -38
  675. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.qwik.mjs +0 -37
  676. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.qwik.cjs +0 -43
  677. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.qwik.mjs +0 -42
  678. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.qwik.cjs +0 -32
  679. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.qwik.mjs +0 -31
  680. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/searchRole.qwik.cjs +0 -23
  681. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/searchRole.qwik.mjs +0 -22
  682. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/searchboxRole.qwik.cjs +0 -36
  683. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/searchboxRole.qwik.mjs +0 -35
  684. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/separatorRole.qwik.cjs +0 -35
  685. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/separatorRole.qwik.mjs +0 -34
  686. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/sliderRole.qwik.cjs +0 -43
  687. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/sliderRole.qwik.mjs +0 -42
  688. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.qwik.cjs +0 -39
  689. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.qwik.mjs +0 -38
  690. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/statusRole.qwik.cjs +0 -31
  691. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/statusRole.qwik.mjs +0 -30
  692. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/strongRole.qwik.cjs +0 -28
  693. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/strongRole.qwik.mjs +0 -27
  694. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/subscriptRole.qwik.cjs +0 -28
  695. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/subscriptRole.qwik.mjs +0 -27
  696. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/superscriptRole.qwik.cjs +0 -28
  697. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/superscriptRole.qwik.mjs +0 -27
  698. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/switchRole.qwik.cjs +0 -30
  699. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/switchRole.qwik.mjs +0 -29
  700. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/tabRole.qwik.cjs +0 -30
  701. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/tabRole.qwik.mjs +0 -29
  702. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/tableRole.qwik.cjs +0 -31
  703. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/tableRole.qwik.mjs +0 -30
  704. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/tablistRole.qwik.cjs +0 -32
  705. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/tablistRole.qwik.mjs +0 -31
  706. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.qwik.cjs +0 -23
  707. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.qwik.mjs +0 -22
  708. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/termRole.qwik.cjs +0 -33
  709. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/termRole.qwik.mjs +0 -32
  710. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/textboxRole.qwik.cjs +0 -108
  711. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/textboxRole.qwik.mjs +0 -107
  712. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/timeRole.qwik.cjs +0 -28
  713. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/timeRole.qwik.mjs +0 -27
  714. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/timerRole.qwik.cjs +0 -23
  715. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/timerRole.qwik.mjs +0 -22
  716. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/toolbarRole.qwik.cjs +0 -30
  717. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/toolbarRole.qwik.mjs +0 -29
  718. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/tooltipRole.qwik.cjs +0 -23
  719. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/tooltipRole.qwik.mjs +0 -22
  720. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/treeRole.qwik.cjs +0 -29
  721. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/treeRole.qwik.mjs +0 -28
  722. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/treegridRole.qwik.cjs +0 -23
  723. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/treegridRole.qwik.mjs +0 -22
  724. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/treeitemRole.qwik.cjs +0 -28
  725. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/etc/roles/literal/treeitemRole.qwik.mjs +0 -27
  726. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/index.qwik.cjs +0 -36
  727. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/index.qwik.mjs +0 -39
  728. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/roleElementMap.qwik.cjs +0 -162
  729. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/roleElementMap.qwik.mjs +0 -161
  730. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/rolesMap.qwik.cjs +0 -200
  731. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/rolesMap.qwik.mjs +0 -199
  732. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/util/iterationDecorator.qwik.cjs +0 -28
  733. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/util/iterationDecorator.qwik.mjs +0 -27
  734. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/util/iteratorProxy.qwik.cjs +0 -32
  735. package/lib/node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query/lib/util/iteratorProxy.qwik.mjs +0 -31
  736. package/lib/node_modules/.pnpm/dequal@2.0.3/node_modules/dequal/lite/index.qwik.cjs +0 -28
  737. package/lib/node_modules/.pnpm/dequal@2.0.3/node_modules/dequal/lite/index.qwik.mjs +0 -29
  738. package/lib/node_modules/.pnpm/dom-accessibility-api@0.5.16/node_modules/dom-accessibility-api/dist/accessible-description.qwik.cjs +0 -70
  739. package/lib/node_modules/.pnpm/dom-accessibility-api@0.5.16/node_modules/dom-accessibility-api/dist/accessible-description.qwik.mjs +0 -70
  740. package/lib/node_modules/.pnpm/dom-accessibility-api@0.5.16/node_modules/dom-accessibility-api/dist/accessible-name-and-description.qwik.cjs +0 -374
  741. package/lib/node_modules/.pnpm/dom-accessibility-api@0.5.16/node_modules/dom-accessibility-api/dist/accessible-name-and-description.qwik.mjs +0 -374
  742. package/lib/node_modules/.pnpm/dom-accessibility-api@0.5.16/node_modules/dom-accessibility-api/dist/accessible-name.qwik.cjs +0 -15
  743. package/lib/node_modules/.pnpm/dom-accessibility-api@0.5.16/node_modules/dom-accessibility-api/dist/accessible-name.qwik.mjs +0 -15
  744. package/lib/node_modules/.pnpm/dom-accessibility-api@0.5.16/node_modules/dom-accessibility-api/dist/getRole.qwik.cjs +0 -185
  745. package/lib/node_modules/.pnpm/dom-accessibility-api@0.5.16/node_modules/dom-accessibility-api/dist/getRole.qwik.mjs +0 -185
  746. package/lib/node_modules/.pnpm/dom-accessibility-api@0.5.16/node_modules/dom-accessibility-api/dist/polyfills/SetLike.qwik.cjs +0 -103
  747. package/lib/node_modules/.pnpm/dom-accessibility-api@0.5.16/node_modules/dom-accessibility-api/dist/polyfills/SetLike.qwik.mjs +0 -104
  748. package/lib/node_modules/.pnpm/dom-accessibility-api@0.5.16/node_modules/dom-accessibility-api/dist/polyfills/array.from.qwik.cjs +0 -41
  749. package/lib/node_modules/.pnpm/dom-accessibility-api@0.5.16/node_modules/dom-accessibility-api/dist/polyfills/array.from.qwik.mjs +0 -42
  750. package/lib/node_modules/.pnpm/dom-accessibility-api@0.5.16/node_modules/dom-accessibility-api/dist/util.qwik.cjs +0 -87
  751. package/lib/node_modules/.pnpm/dom-accessibility-api@0.5.16/node_modules/dom-accessibility-api/dist/util.qwik.mjs +0 -87
  752. package/lib/node_modules/.pnpm/lz-string@1.5.0/node_modules/lz-string/libs/lz-string.qwik.cjs +0 -453
  753. package/lib/node_modules/.pnpm/lz-string@1.5.0/node_modules/lz-string/libs/lz-string.qwik.mjs +0 -454
  754. package/lib/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/collections.qwik.cjs +0 -114
  755. package/lib/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/collections.qwik.mjs +0 -115
  756. package/lib/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/index.qwik.cjs +0 -388
  757. package/lib/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/index.qwik.mjs +0 -391
  758. package/lib/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/plugins/AsymmetricMatcher.qwik.cjs +0 -70
  759. package/lib/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/plugins/AsymmetricMatcher.qwik.mjs +0 -69
  760. package/lib/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/plugins/ConvertAnsi.qwik.cjs +0 -68
  761. package/lib/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/plugins/ConvertAnsi.qwik.mjs +0 -67
  762. package/lib/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/plugins/DOMCollection.qwik.cjs +0 -47
  763. package/lib/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/plugins/DOMCollection.qwik.mjs +0 -46
  764. package/lib/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/plugins/DOMElement.qwik.cjs +0 -85
  765. package/lib/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/plugins/DOMElement.qwik.mjs +0 -84
  766. package/lib/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/plugins/Immutable.qwik.cjs +0 -154
  767. package/lib/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/plugins/Immutable.qwik.mjs +0 -153
  768. package/lib/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/plugins/ReactElement.qwik.cjs +0 -128
  769. package/lib/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/plugins/ReactElement.qwik.mjs +0 -127
  770. package/lib/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/plugins/ReactTestComponent.qwik.cjs +0 -59
  771. package/lib/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/plugins/ReactTestComponent.qwik.mjs +0 -58
  772. package/lib/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/plugins/lib/escapeHTML.qwik.cjs +0 -9
  773. package/lib/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/plugins/lib/escapeHTML.qwik.mjs +0 -8
  774. package/lib/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/plugins/lib/markup.qwik.cjs +0 -53
  775. package/lib/node_modules/.pnpm/pretty-format@27.5.1/node_modules/pretty-format/build/plugins/lib/markup.qwik.mjs +0 -54
  776. package/lib/node_modules/.pnpm/react-is@17.0.2/node_modules/react-is/cjs/react-is.development.qwik.cjs +0 -199
  777. package/lib/node_modules/.pnpm/react-is@17.0.2/node_modules/react-is/cjs/react-is.development.qwik.mjs +0 -199
  778. package/lib/node_modules/.pnpm/react-is@17.0.2/node_modules/react-is/cjs/react-is.production.min.qwik.cjs +0 -123
  779. package/lib/node_modules/.pnpm/react-is@17.0.2/node_modules/react-is/cjs/react-is.production.min.qwik.mjs +0 -123
  780. package/lib/node_modules/.pnpm/react-is@17.0.2/node_modules/react-is/index.qwik.cjs +0 -12
  781. package/lib/node_modules/.pnpm/react-is@17.0.2/node_modules/react-is/index.qwik.mjs +0 -12
@@ -0,0 +1,3905 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
+ var _a;
6
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
7
+ var __defProp2 = Object.defineProperty;
8
+ var __getOwnPropNames = Object.getOwnPropertyNames;
9
+ var __name = (target, value) => __defProp2(target, "name", { value, configurable: true });
10
+ var __commonJS = (cb, mod) => function __require() {
11
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
12
+ };
13
+ var __export = (target, all) => {
14
+ for (var name in all)
15
+ __defProp2(target, name, { get: all[name], enumerable: true });
16
+ };
17
+ var require_util = __commonJS({
18
+ "(disabled):util"() {
19
+ }
20
+ });
21
+ var utils_exports = {};
22
+ __export(utils_exports, {
23
+ addChainableMethod: () => addChainableMethod,
24
+ addLengthGuard: () => addLengthGuard,
25
+ addMethod: () => addMethod,
26
+ addProperty: () => addProperty,
27
+ checkError: () => check_error_exports,
28
+ compareByInspect: () => compareByInspect,
29
+ eql: () => deep_eql_default,
30
+ expectTypes: () => expectTypes,
31
+ flag: () => flag,
32
+ getActual: () => getActual,
33
+ getMessage: () => getMessage2,
34
+ getName: () => getName,
35
+ getOperator: () => getOperator,
36
+ getOwnEnumerableProperties: () => getOwnEnumerableProperties,
37
+ getOwnEnumerablePropertySymbols: () => getOwnEnumerablePropertySymbols,
38
+ getPathInfo: () => getPathInfo,
39
+ hasProperty: () => hasProperty,
40
+ inspect: () => inspect2,
41
+ isNaN: () => isNaN2,
42
+ isProxyEnabled: () => isProxyEnabled,
43
+ isRegExp: () => isRegExp2,
44
+ objDisplay: () => objDisplay,
45
+ overwriteChainableMethod: () => overwriteChainableMethod,
46
+ overwriteMethod: () => overwriteMethod,
47
+ overwriteProperty: () => overwriteProperty,
48
+ proxify: () => proxify,
49
+ test: () => test,
50
+ transferFlags: () => transferFlags,
51
+ type: () => type
52
+ });
53
+ var check_error_exports = {};
54
+ __export(check_error_exports, {
55
+ compatibleConstructor: () => compatibleConstructor,
56
+ compatibleInstance: () => compatibleInstance,
57
+ compatibleMessage: () => compatibleMessage,
58
+ getConstructorName: () => getConstructorName,
59
+ getMessage: () => getMessage
60
+ });
61
+ function isErrorInstance(obj) {
62
+ return obj instanceof Error || Object.prototype.toString.call(obj) === "[object Error]";
63
+ }
64
+ __name(isErrorInstance, "isErrorInstance");
65
+ function isRegExp(obj) {
66
+ return Object.prototype.toString.call(obj) === "[object RegExp]";
67
+ }
68
+ __name(isRegExp, "isRegExp");
69
+ function compatibleInstance(thrown, errorLike) {
70
+ return isErrorInstance(errorLike) && thrown === errorLike;
71
+ }
72
+ __name(compatibleInstance, "compatibleInstance");
73
+ function compatibleConstructor(thrown, errorLike) {
74
+ if (isErrorInstance(errorLike)) {
75
+ return thrown.constructor === errorLike.constructor || thrown instanceof errorLike.constructor;
76
+ } else if ((typeof errorLike === "object" || typeof errorLike === "function") && errorLike.prototype) {
77
+ return thrown.constructor === errorLike || thrown instanceof errorLike;
78
+ }
79
+ return false;
80
+ }
81
+ __name(compatibleConstructor, "compatibleConstructor");
82
+ function compatibleMessage(thrown, errMatcher) {
83
+ const comparisonString = typeof thrown === "string" ? thrown : thrown.message;
84
+ if (isRegExp(errMatcher)) {
85
+ return errMatcher.test(comparisonString);
86
+ } else if (typeof errMatcher === "string") {
87
+ return comparisonString.indexOf(errMatcher) !== -1;
88
+ }
89
+ return false;
90
+ }
91
+ __name(compatibleMessage, "compatibleMessage");
92
+ function getConstructorName(errorLike) {
93
+ let constructorName = errorLike;
94
+ if (isErrorInstance(errorLike)) {
95
+ constructorName = errorLike.constructor.name;
96
+ } else if (typeof errorLike === "function") {
97
+ constructorName = errorLike.name;
98
+ if (constructorName === "") {
99
+ const newConstructorName = new errorLike().name;
100
+ constructorName = newConstructorName || constructorName;
101
+ }
102
+ }
103
+ return constructorName;
104
+ }
105
+ __name(getConstructorName, "getConstructorName");
106
+ function getMessage(errorLike) {
107
+ let msg = "";
108
+ if (errorLike && errorLike.message) {
109
+ msg = errorLike.message;
110
+ } else if (typeof errorLike === "string") {
111
+ msg = errorLike;
112
+ }
113
+ return msg;
114
+ }
115
+ __name(getMessage, "getMessage");
116
+ function flag(obj, key, value) {
117
+ var flags = obj.__flags || (obj.__flags = /* @__PURE__ */ Object.create(null));
118
+ if (arguments.length === 3) {
119
+ flags[key] = value;
120
+ } else {
121
+ return flags[key];
122
+ }
123
+ }
124
+ __name(flag, "flag");
125
+ function test(obj, args) {
126
+ var negate = flag(obj, "negate"), expr = args[0];
127
+ return negate ? !expr : expr;
128
+ }
129
+ __name(test, "test");
130
+ function type(obj) {
131
+ if (typeof obj === "undefined") {
132
+ return "undefined";
133
+ }
134
+ if (obj === null) {
135
+ return "null";
136
+ }
137
+ const stringTag = obj[Symbol.toStringTag];
138
+ if (typeof stringTag === "string") {
139
+ return stringTag;
140
+ }
141
+ const type3 = Object.prototype.toString.call(obj).slice(8, -1);
142
+ return type3;
143
+ }
144
+ __name(type, "type");
145
+ var canElideFrames = "captureStackTrace" in Error;
146
+ var AssertionError = (_a = class extends Error {
147
+ constructor(message = "Unspecified AssertionError", props, ssf) {
148
+ super(message);
149
+ __publicField(this, "message");
150
+ this.message = message;
151
+ if (canElideFrames) {
152
+ Error.captureStackTrace(this, ssf || _a);
153
+ }
154
+ for (const key in props) {
155
+ if (!(key in this)) {
156
+ this[key] = props[key];
157
+ }
158
+ }
159
+ }
160
+ get name() {
161
+ return "AssertionError";
162
+ }
163
+ get ok() {
164
+ return false;
165
+ }
166
+ toJSON(stack) {
167
+ return {
168
+ ...this,
169
+ name: this.name,
170
+ message: this.message,
171
+ ok: false,
172
+ stack: stack !== false ? this.stack : void 0
173
+ };
174
+ }
175
+ }, __name(_a, "AssertionError"), _a);
176
+ function expectTypes(obj, types) {
177
+ var flagMsg = flag(obj, "message");
178
+ var ssfi = flag(obj, "ssfi");
179
+ flagMsg = flagMsg ? flagMsg + ": " : "";
180
+ obj = flag(obj, "object");
181
+ types = types.map(function(t) {
182
+ return t.toLowerCase();
183
+ });
184
+ types.sort();
185
+ var str = types.map(function(t, index) {
186
+ var art = ~["a", "e", "i", "o", "u"].indexOf(t.charAt(0)) ? "an" : "a";
187
+ var or = types.length > 1 && index === types.length - 1 ? "or " : "";
188
+ return or + art + " " + t;
189
+ }).join(", ");
190
+ var objType = type(obj).toLowerCase();
191
+ if (!types.some(function(expected) {
192
+ return objType === expected;
193
+ })) {
194
+ throw new AssertionError(
195
+ flagMsg + "object tested must be " + str + ", but " + objType + " given",
196
+ void 0,
197
+ ssfi
198
+ );
199
+ }
200
+ }
201
+ __name(expectTypes, "expectTypes");
202
+ function getActual(obj, args) {
203
+ return args.length > 4 ? args[4] : obj._obj;
204
+ }
205
+ __name(getActual, "getActual");
206
+ var ansiColors = {
207
+ bold: ["1", "22"],
208
+ dim: ["2", "22"],
209
+ italic: ["3", "23"],
210
+ underline: ["4", "24"],
211
+ // 5 & 6 are blinking
212
+ inverse: ["7", "27"],
213
+ hidden: ["8", "28"],
214
+ strike: ["9", "29"],
215
+ // 10-20 are fonts
216
+ // 21-29 are resets for 1-9
217
+ black: ["30", "39"],
218
+ red: ["31", "39"],
219
+ green: ["32", "39"],
220
+ yellow: ["33", "39"],
221
+ blue: ["34", "39"],
222
+ magenta: ["35", "39"],
223
+ cyan: ["36", "39"],
224
+ white: ["37", "39"],
225
+ brightblack: ["30;1", "39"],
226
+ brightred: ["31;1", "39"],
227
+ brightgreen: ["32;1", "39"],
228
+ brightyellow: ["33;1", "39"],
229
+ brightblue: ["34;1", "39"],
230
+ brightmagenta: ["35;1", "39"],
231
+ brightcyan: ["36;1", "39"],
232
+ brightwhite: ["37;1", "39"],
233
+ grey: ["90", "39"]
234
+ };
235
+ var styles = {
236
+ special: "cyan",
237
+ number: "yellow",
238
+ bigint: "yellow",
239
+ boolean: "yellow",
240
+ undefined: "grey",
241
+ null: "bold",
242
+ string: "green",
243
+ symbol: "green",
244
+ date: "magenta",
245
+ regexp: "red"
246
+ };
247
+ var truncator = "…";
248
+ function colorise(value, styleType) {
249
+ const color = ansiColors[styles[styleType]] || ansiColors[styleType] || "";
250
+ if (!color) {
251
+ return String(value);
252
+ }
253
+ return `\x1B[${color[0]}m${String(value)}\x1B[${color[1]}m`;
254
+ }
255
+ __name(colorise, "colorise");
256
+ function normaliseOptions({
257
+ showHidden = false,
258
+ depth = 2,
259
+ colors = false,
260
+ customInspect = true,
261
+ showProxy = false,
262
+ maxArrayLength = Infinity,
263
+ breakLength = Infinity,
264
+ seen = [],
265
+ // eslint-disable-next-line no-shadow
266
+ truncate: truncate2 = Infinity,
267
+ stylize = String
268
+ } = {}, inspect3) {
269
+ const options = {
270
+ showHidden: Boolean(showHidden),
271
+ depth: Number(depth),
272
+ colors: Boolean(colors),
273
+ customInspect: Boolean(customInspect),
274
+ showProxy: Boolean(showProxy),
275
+ maxArrayLength: Number(maxArrayLength),
276
+ breakLength: Number(breakLength),
277
+ truncate: Number(truncate2),
278
+ seen,
279
+ inspect: inspect3,
280
+ stylize
281
+ };
282
+ if (options.colors) {
283
+ options.stylize = colorise;
284
+ }
285
+ return options;
286
+ }
287
+ __name(normaliseOptions, "normaliseOptions");
288
+ function truncate(string, length, tail = truncator) {
289
+ string = String(string);
290
+ const tailLength = tail.length;
291
+ const stringLength = string.length;
292
+ if (tailLength > length && stringLength > tailLength) {
293
+ return tail;
294
+ }
295
+ if (stringLength > length && stringLength > tailLength) {
296
+ return `${string.slice(0, length - tailLength)}${tail}`;
297
+ }
298
+ return string;
299
+ }
300
+ __name(truncate, "truncate");
301
+ function inspectList(list, options, inspectItem, separator = ", ") {
302
+ inspectItem = inspectItem || options.inspect;
303
+ const size = list.length;
304
+ if (size === 0)
305
+ return "";
306
+ const originalLength = options.truncate;
307
+ let output = "";
308
+ let peek = "";
309
+ let truncated = "";
310
+ for (let i = 0; i < size; i += 1) {
311
+ const last = i + 1 === list.length;
312
+ const secondToLast = i + 2 === list.length;
313
+ truncated = `${truncator}(${list.length - i})`;
314
+ const value = list[i];
315
+ options.truncate = originalLength - output.length - (last ? 0 : separator.length);
316
+ const string = peek || inspectItem(value, options) + (last ? "" : separator);
317
+ const nextLength = output.length + string.length;
318
+ const truncatedLength = nextLength + truncated.length;
319
+ if (last && nextLength > originalLength && output.length + truncated.length <= originalLength) {
320
+ break;
321
+ }
322
+ if (!last && !secondToLast && truncatedLength > originalLength) {
323
+ break;
324
+ }
325
+ peek = last ? "" : inspectItem(list[i + 1], options) + (secondToLast ? "" : separator);
326
+ if (!last && secondToLast && truncatedLength > originalLength && nextLength + peek.length > originalLength) {
327
+ break;
328
+ }
329
+ output += string;
330
+ if (!last && !secondToLast && nextLength + peek.length >= originalLength) {
331
+ truncated = `${truncator}(${list.length - i - 1})`;
332
+ break;
333
+ }
334
+ truncated = "";
335
+ }
336
+ return `${output}${truncated}`;
337
+ }
338
+ __name(inspectList, "inspectList");
339
+ function quoteComplexKey(key) {
340
+ if (key.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)) {
341
+ return key;
342
+ }
343
+ return JSON.stringify(key).replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'");
344
+ }
345
+ __name(quoteComplexKey, "quoteComplexKey");
346
+ function inspectProperty([key, value], options) {
347
+ options.truncate -= 2;
348
+ if (typeof key === "string") {
349
+ key = quoteComplexKey(key);
350
+ } else if (typeof key !== "number") {
351
+ key = `[${options.inspect(key, options)}]`;
352
+ }
353
+ options.truncate -= key.length;
354
+ value = options.inspect(value, options);
355
+ return `${key}: ${value}`;
356
+ }
357
+ __name(inspectProperty, "inspectProperty");
358
+ function inspectArray(array, options) {
359
+ const nonIndexProperties = Object.keys(array).slice(array.length);
360
+ if (!array.length && !nonIndexProperties.length)
361
+ return "[]";
362
+ options.truncate -= 4;
363
+ const listContents = inspectList(array, options);
364
+ options.truncate -= listContents.length;
365
+ let propertyContents = "";
366
+ if (nonIndexProperties.length) {
367
+ propertyContents = inspectList(nonIndexProperties.map((key) => [key, array[key]]), options, inspectProperty);
368
+ }
369
+ return `[ ${listContents}${propertyContents ? `, ${propertyContents}` : ""} ]`;
370
+ }
371
+ __name(inspectArray, "inspectArray");
372
+ var getArrayName = /* @__PURE__ */ __name((array) => {
373
+ if (typeof Buffer === "function" && array instanceof Buffer) {
374
+ return "Buffer";
375
+ }
376
+ if (array[Symbol.toStringTag]) {
377
+ return array[Symbol.toStringTag];
378
+ }
379
+ return array.constructor.name;
380
+ }, "getArrayName");
381
+ function inspectTypedArray(array, options) {
382
+ const name = getArrayName(array);
383
+ options.truncate -= name.length + 4;
384
+ const nonIndexProperties = Object.keys(array).slice(array.length);
385
+ if (!array.length && !nonIndexProperties.length)
386
+ return `${name}[]`;
387
+ let output = "";
388
+ for (let i = 0; i < array.length; i++) {
389
+ const string = `${options.stylize(truncate(array[i], options.truncate), "number")}${i === array.length - 1 ? "" : ", "}`;
390
+ options.truncate -= string.length;
391
+ if (array[i] !== array.length && options.truncate <= 3) {
392
+ output += `${truncator}(${array.length - array[i] + 1})`;
393
+ break;
394
+ }
395
+ output += string;
396
+ }
397
+ let propertyContents = "";
398
+ if (nonIndexProperties.length) {
399
+ propertyContents = inspectList(nonIndexProperties.map((key) => [key, array[key]]), options, inspectProperty);
400
+ }
401
+ return `${name}[ ${output}${propertyContents ? `, ${propertyContents}` : ""} ]`;
402
+ }
403
+ __name(inspectTypedArray, "inspectTypedArray");
404
+ function inspectDate(dateObject, options) {
405
+ const stringRepresentation = dateObject.toJSON();
406
+ if (stringRepresentation === null) {
407
+ return "Invalid Date";
408
+ }
409
+ const split = stringRepresentation.split("T");
410
+ const date = split[0];
411
+ return options.stylize(`${date}T${truncate(split[1], options.truncate - date.length - 1)}`, "date");
412
+ }
413
+ __name(inspectDate, "inspectDate");
414
+ function inspectFunction(func, options) {
415
+ const functionType = func[Symbol.toStringTag] || "Function";
416
+ const name = func.name;
417
+ if (!name) {
418
+ return options.stylize(`[${functionType}]`, "special");
419
+ }
420
+ return options.stylize(`[${functionType} ${truncate(name, options.truncate - 11)}]`, "special");
421
+ }
422
+ __name(inspectFunction, "inspectFunction");
423
+ function inspectMapEntry([key, value], options) {
424
+ options.truncate -= 4;
425
+ key = options.inspect(key, options);
426
+ options.truncate -= key.length;
427
+ value = options.inspect(value, options);
428
+ return `${key} => ${value}`;
429
+ }
430
+ __name(inspectMapEntry, "inspectMapEntry");
431
+ function mapToEntries(map) {
432
+ const entries = [];
433
+ map.forEach((value, key) => {
434
+ entries.push([key, value]);
435
+ });
436
+ return entries;
437
+ }
438
+ __name(mapToEntries, "mapToEntries");
439
+ function inspectMap(map, options) {
440
+ const size = map.size - 1;
441
+ if (size <= 0) {
442
+ return "Map{}";
443
+ }
444
+ options.truncate -= 7;
445
+ return `Map{ ${inspectList(mapToEntries(map), options, inspectMapEntry)} }`;
446
+ }
447
+ __name(inspectMap, "inspectMap");
448
+ var isNaN = Number.isNaN || ((i) => i !== i);
449
+ function inspectNumber(number, options) {
450
+ if (isNaN(number)) {
451
+ return options.stylize("NaN", "number");
452
+ }
453
+ if (number === Infinity) {
454
+ return options.stylize("Infinity", "number");
455
+ }
456
+ if (number === -Infinity) {
457
+ return options.stylize("-Infinity", "number");
458
+ }
459
+ if (number === 0) {
460
+ return options.stylize(1 / number === Infinity ? "+0" : "-0", "number");
461
+ }
462
+ return options.stylize(truncate(String(number), options.truncate), "number");
463
+ }
464
+ __name(inspectNumber, "inspectNumber");
465
+ function inspectBigInt(number, options) {
466
+ let nums = truncate(number.toString(), options.truncate - 1);
467
+ if (nums !== truncator)
468
+ nums += "n";
469
+ return options.stylize(nums, "bigint");
470
+ }
471
+ __name(inspectBigInt, "inspectBigInt");
472
+ function inspectRegExp(value, options) {
473
+ const flags = value.toString().split("/")[2];
474
+ const sourceLength = options.truncate - (2 + flags.length);
475
+ const source = value.source;
476
+ return options.stylize(`/${truncate(source, sourceLength)}/${flags}`, "regexp");
477
+ }
478
+ __name(inspectRegExp, "inspectRegExp");
479
+ function arrayFromSet(set2) {
480
+ const values = [];
481
+ set2.forEach((value) => {
482
+ values.push(value);
483
+ });
484
+ return values;
485
+ }
486
+ __name(arrayFromSet, "arrayFromSet");
487
+ function inspectSet(set2, options) {
488
+ if (set2.size === 0)
489
+ return "Set{}";
490
+ options.truncate -= 7;
491
+ return `Set{ ${inspectList(arrayFromSet(set2), options)} }`;
492
+ }
493
+ __name(inspectSet, "inspectSet");
494
+ var stringEscapeChars = new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]", "g");
495
+ var escapeCharacters = {
496
+ "\b": "\\b",
497
+ " ": "\\t",
498
+ "\n": "\\n",
499
+ "\f": "\\f",
500
+ "\r": "\\r",
501
+ "'": "\\'",
502
+ "\\": "\\\\"
503
+ };
504
+ var hex = 16;
505
+ var unicodeLength = 4;
506
+ function escape(char) {
507
+ return escapeCharacters[char] || `\\u${`0000${char.charCodeAt(0).toString(hex)}`.slice(-unicodeLength)}`;
508
+ }
509
+ __name(escape, "escape");
510
+ function inspectString(string, options) {
511
+ if (stringEscapeChars.test(string)) {
512
+ string = string.replace(stringEscapeChars, escape);
513
+ }
514
+ return options.stylize(`'${truncate(string, options.truncate - 2)}'`, "string");
515
+ }
516
+ __name(inspectString, "inspectString");
517
+ function inspectSymbol(value) {
518
+ if ("description" in Symbol.prototype) {
519
+ return value.description ? `Symbol(${value.description})` : "Symbol()";
520
+ }
521
+ return value.toString();
522
+ }
523
+ __name(inspectSymbol, "inspectSymbol");
524
+ var getPromiseValue = /* @__PURE__ */ __name(() => "Promise{…}", "getPromiseValue");
525
+ try {
526
+ const { getPromiseDetails, kPending, kRejected } = process.binding("util");
527
+ if (Array.isArray(getPromiseDetails(Promise.resolve()))) {
528
+ getPromiseValue = /* @__PURE__ */ __name((value, options) => {
529
+ const [state, innerValue] = getPromiseDetails(value);
530
+ if (state === kPending) {
531
+ return "Promise{<pending>}";
532
+ }
533
+ return `Promise${state === kRejected ? "!" : ""}{${options.inspect(innerValue, options)}}`;
534
+ }, "getPromiseValue");
535
+ }
536
+ } catch (notNode) {
537
+ }
538
+ var promise_default = getPromiseValue;
539
+ function inspectObject(object, options) {
540
+ const properties = Object.getOwnPropertyNames(object);
541
+ const symbols = Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(object) : [];
542
+ if (properties.length === 0 && symbols.length === 0) {
543
+ return "{}";
544
+ }
545
+ options.truncate -= 4;
546
+ options.seen = options.seen || [];
547
+ if (options.seen.indexOf(object) >= 0) {
548
+ return "[Circular]";
549
+ }
550
+ options.seen.push(object);
551
+ const propertyContents = inspectList(properties.map((key) => [key, object[key]]), options, inspectProperty);
552
+ const symbolContents = inspectList(symbols.map((key) => [key, object[key]]), options, inspectProperty);
553
+ options.seen.pop();
554
+ let sep = "";
555
+ if (propertyContents && symbolContents) {
556
+ sep = ", ";
557
+ }
558
+ return `{ ${propertyContents}${sep}${symbolContents} }`;
559
+ }
560
+ __name(inspectObject, "inspectObject");
561
+ var toStringTag = typeof Symbol !== "undefined" && Symbol.toStringTag ? Symbol.toStringTag : false;
562
+ function inspectClass(value, options) {
563
+ let name = "";
564
+ if (toStringTag && toStringTag in value) {
565
+ name = value[toStringTag];
566
+ }
567
+ name = name || value.constructor.name;
568
+ if (!name || name === "_class") {
569
+ name = "<Anonymous Class>";
570
+ }
571
+ options.truncate -= name.length;
572
+ return `${name}${inspectObject(value, options)}`;
573
+ }
574
+ __name(inspectClass, "inspectClass");
575
+ function inspectArguments(args, options) {
576
+ if (args.length === 0)
577
+ return "Arguments[]";
578
+ options.truncate -= 13;
579
+ return `Arguments[ ${inspectList(args, options)} ]`;
580
+ }
581
+ __name(inspectArguments, "inspectArguments");
582
+ var errorKeys = [
583
+ "stack",
584
+ "line",
585
+ "column",
586
+ "name",
587
+ "message",
588
+ "fileName",
589
+ "lineNumber",
590
+ "columnNumber",
591
+ "number",
592
+ "description"
593
+ ];
594
+ function inspectObject2(error, options) {
595
+ const properties = Object.getOwnPropertyNames(error).filter((key) => errorKeys.indexOf(key) === -1);
596
+ const name = error.name;
597
+ options.truncate -= name.length;
598
+ let message = "";
599
+ if (typeof error.message === "string") {
600
+ message = truncate(error.message, options.truncate);
601
+ } else {
602
+ properties.unshift("message");
603
+ }
604
+ message = message ? `: ${message}` : "";
605
+ options.truncate -= message.length + 5;
606
+ const propertyContents = inspectList(properties.map((key) => [key, error[key]]), options, inspectProperty);
607
+ return `${name}${message}${propertyContents ? ` { ${propertyContents} }` : ""}`;
608
+ }
609
+ __name(inspectObject2, "inspectObject");
610
+ function inspectAttribute([key, value], options) {
611
+ options.truncate -= 3;
612
+ if (!value) {
613
+ return `${options.stylize(String(key), "yellow")}`;
614
+ }
615
+ return `${options.stylize(String(key), "yellow")}=${options.stylize(`"${value}"`, "string")}`;
616
+ }
617
+ __name(inspectAttribute, "inspectAttribute");
618
+ function inspectHTMLCollection(collection, options) {
619
+ return inspectList(collection, options, inspectHTML, "\n");
620
+ }
621
+ __name(inspectHTMLCollection, "inspectHTMLCollection");
622
+ function inspectHTML(element, options) {
623
+ const properties = element.getAttributeNames();
624
+ const name = element.tagName.toLowerCase();
625
+ const head = options.stylize(`<${name}`, "special");
626
+ const headClose = options.stylize(`>`, "special");
627
+ const tail = options.stylize(`</${name}>`, "special");
628
+ options.truncate -= name.length * 2 + 5;
629
+ let propertyContents = "";
630
+ if (properties.length > 0) {
631
+ propertyContents += " ";
632
+ propertyContents += inspectList(properties.map((key) => [key, element.getAttribute(key)]), options, inspectAttribute, " ");
633
+ }
634
+ options.truncate -= propertyContents.length;
635
+ const truncate2 = options.truncate;
636
+ let children = inspectHTMLCollection(element.children, options);
637
+ if (children && children.length > truncate2) {
638
+ children = `${truncator}(${element.children.length})`;
639
+ }
640
+ return `${head}${propertyContents}${headClose}${children}${tail}`;
641
+ }
642
+ __name(inspectHTML, "inspectHTML");
643
+ var symbolsSupported = typeof Symbol === "function" && typeof Symbol.for === "function";
644
+ var chaiInspect = symbolsSupported ? Symbol.for("chai/inspect") : "@@chai/inspect";
645
+ var nodeInspect = false;
646
+ try {
647
+ const nodeUtil = require_util();
648
+ nodeInspect = nodeUtil.inspect ? nodeUtil.inspect.custom : false;
649
+ } catch (noNodeInspect) {
650
+ nodeInspect = false;
651
+ }
652
+ var constructorMap = /* @__PURE__ */ new WeakMap();
653
+ var stringTagMap = {};
654
+ var baseTypesMap = {
655
+ undefined: (value, options) => options.stylize("undefined", "undefined"),
656
+ null: (value, options) => options.stylize("null", "null"),
657
+ boolean: (value, options) => options.stylize(String(value), "boolean"),
658
+ Boolean: (value, options) => options.stylize(String(value), "boolean"),
659
+ number: inspectNumber,
660
+ Number: inspectNumber,
661
+ bigint: inspectBigInt,
662
+ BigInt: inspectBigInt,
663
+ string: inspectString,
664
+ String: inspectString,
665
+ function: inspectFunction,
666
+ Function: inspectFunction,
667
+ symbol: inspectSymbol,
668
+ // A Symbol polyfill will return `Symbol` not `symbol` from typedetect
669
+ Symbol: inspectSymbol,
670
+ Array: inspectArray,
671
+ Date: inspectDate,
672
+ Map: inspectMap,
673
+ Set: inspectSet,
674
+ RegExp: inspectRegExp,
675
+ Promise: promise_default,
676
+ // WeakSet, WeakMap are totally opaque to us
677
+ WeakSet: (value, options) => options.stylize("WeakSet{…}", "special"),
678
+ WeakMap: (value, options) => options.stylize("WeakMap{…}", "special"),
679
+ Arguments: inspectArguments,
680
+ Int8Array: inspectTypedArray,
681
+ Uint8Array: inspectTypedArray,
682
+ Uint8ClampedArray: inspectTypedArray,
683
+ Int16Array: inspectTypedArray,
684
+ Uint16Array: inspectTypedArray,
685
+ Int32Array: inspectTypedArray,
686
+ Uint32Array: inspectTypedArray,
687
+ Float32Array: inspectTypedArray,
688
+ Float64Array: inspectTypedArray,
689
+ Generator: () => "",
690
+ DataView: () => "",
691
+ ArrayBuffer: () => "",
692
+ Error: inspectObject2,
693
+ HTMLCollection: inspectHTMLCollection,
694
+ NodeList: inspectHTMLCollection
695
+ };
696
+ var inspectCustom = /* @__PURE__ */ __name((value, options, type3) => {
697
+ if (chaiInspect in value && typeof value[chaiInspect] === "function") {
698
+ return value[chaiInspect](options);
699
+ }
700
+ if (nodeInspect && nodeInspect in value && typeof value[nodeInspect] === "function") {
701
+ return value[nodeInspect](options.depth, options);
702
+ }
703
+ if ("inspect" in value && typeof value.inspect === "function") {
704
+ return value.inspect(options.depth, options);
705
+ }
706
+ if ("constructor" in value && constructorMap.has(value.constructor)) {
707
+ return constructorMap.get(value.constructor)(value, options);
708
+ }
709
+ if (stringTagMap[type3]) {
710
+ return stringTagMap[type3](value, options);
711
+ }
712
+ return "";
713
+ }, "inspectCustom");
714
+ var toString = Object.prototype.toString;
715
+ function inspect(value, opts = {}) {
716
+ const options = normaliseOptions(opts, inspect);
717
+ const { customInspect } = options;
718
+ let type3 = value === null ? "null" : typeof value;
719
+ if (type3 === "object") {
720
+ type3 = toString.call(value).slice(8, -1);
721
+ }
722
+ if (type3 in baseTypesMap) {
723
+ return baseTypesMap[type3](value, options);
724
+ }
725
+ if (customInspect && value) {
726
+ const output = inspectCustom(value, options, type3);
727
+ if (output) {
728
+ if (typeof output === "string")
729
+ return output;
730
+ return inspect(output, options);
731
+ }
732
+ }
733
+ const proto = value ? Object.getPrototypeOf(value) : false;
734
+ if (proto === Object.prototype || proto === null) {
735
+ return inspectObject(value, options);
736
+ }
737
+ if (value && typeof HTMLElement === "function" && value instanceof HTMLElement) {
738
+ return inspectHTML(value, options);
739
+ }
740
+ if ("constructor" in value) {
741
+ if (value.constructor !== Object) {
742
+ return inspectClass(value, options);
743
+ }
744
+ return inspectObject(value, options);
745
+ }
746
+ if (value === Object(value)) {
747
+ return inspectObject(value, options);
748
+ }
749
+ return options.stylize(String(value), type3);
750
+ }
751
+ __name(inspect, "inspect");
752
+ var config = {
753
+ /**
754
+ * ### config.includeStack
755
+ *
756
+ * User configurable property, influences whether stack trace
757
+ * is included in Assertion error message. Default of false
758
+ * suppresses stack trace in the error message.
759
+ *
760
+ * chai.config.includeStack = true; // enable stack on error
761
+ *
762
+ * @param {boolean}
763
+ * @public
764
+ */
765
+ includeStack: false,
766
+ /**
767
+ * ### config.showDiff
768
+ *
769
+ * User configurable property, influences whether or not
770
+ * the `showDiff` flag should be included in the thrown
771
+ * AssertionErrors. `false` will always be `false`; `true`
772
+ * will be true when the assertion has requested a diff
773
+ * be shown.
774
+ *
775
+ * @param {boolean}
776
+ * @public
777
+ */
778
+ showDiff: true,
779
+ /**
780
+ * ### config.truncateThreshold
781
+ *
782
+ * User configurable property, sets length threshold for actual and
783
+ * expected values in assertion errors. If this threshold is exceeded, for
784
+ * example for large data structures, the value is replaced with something
785
+ * like `[ Array(3) ]` or `{ Object (prop1, prop2) }`.
786
+ *
787
+ * Set it to zero if you want to disable truncating altogether.
788
+ *
789
+ * This is especially userful when doing assertions on arrays: having this
790
+ * set to a reasonable large value makes the failure messages readily
791
+ * inspectable.
792
+ *
793
+ * chai.config.truncateThreshold = 0; // disable truncating
794
+ *
795
+ * @param {number}
796
+ * @public
797
+ */
798
+ truncateThreshold: 40,
799
+ /**
800
+ * ### config.useProxy
801
+ *
802
+ * User configurable property, defines if chai will use a Proxy to throw
803
+ * an error when a non-existent property is read, which protects users
804
+ * from typos when using property-based assertions.
805
+ *
806
+ * Set it to false if you want to disable this feature.
807
+ *
808
+ * chai.config.useProxy = false; // disable use of Proxy
809
+ *
810
+ * This feature is automatically disabled regardless of this config value
811
+ * in environments that don't support proxies.
812
+ *
813
+ * @param {boolean}
814
+ * @public
815
+ */
816
+ useProxy: true,
817
+ /**
818
+ * ### config.proxyExcludedKeys
819
+ *
820
+ * User configurable property, defines which properties should be ignored
821
+ * instead of throwing an error if they do not exist on the assertion.
822
+ * This is only applied if the environment Chai is running in supports proxies and
823
+ * if the `useProxy` configuration setting is enabled.
824
+ * By default, `then` and `inspect` will not throw an error if they do not exist on the
825
+ * assertion object because the `.inspect` property is read by `util.inspect` (for example, when
826
+ * using `console.log` on the assertion object) and `.then` is necessary for promise type-checking.
827
+ *
828
+ * // By default these keys will not throw an error if they do not exist on the assertion object
829
+ * chai.config.proxyExcludedKeys = ['then', 'inspect'];
830
+ *
831
+ * @param {Array}
832
+ * @public
833
+ */
834
+ proxyExcludedKeys: ["then", "catch", "inspect", "toJSON"],
835
+ /**
836
+ * ### config.deepEqual
837
+ *
838
+ * User configurable property, defines which a custom function to use for deepEqual
839
+ * comparisons.
840
+ * By default, the function used is the one from the `deep-eql` package without custom comparator.
841
+ *
842
+ * // use a custom comparator
843
+ * chai.config.deepEqual = (expected, actual) => {
844
+ * return chai.util.eql(expected, actual, {
845
+ * comparator: (expected, actual) => {
846
+ * // for non number comparison, use the default behavior
847
+ * if(typeof expected !== 'number') return null;
848
+ * // allow a difference of 10 between compared numbers
849
+ * return typeof actual === 'number' && Math.abs(actual - expected) < 10
850
+ * }
851
+ * })
852
+ * };
853
+ *
854
+ * @param {Function}
855
+ * @public
856
+ */
857
+ deepEqual: null
858
+ };
859
+ function inspect2(obj, showHidden, depth, colors) {
860
+ var options = {
861
+ colors,
862
+ depth: typeof depth === "undefined" ? 2 : depth,
863
+ showHidden,
864
+ truncate: config.truncateThreshold ? config.truncateThreshold : Infinity
865
+ };
866
+ return inspect(obj, options);
867
+ }
868
+ __name(inspect2, "inspect");
869
+ function objDisplay(obj) {
870
+ var str = inspect2(obj), type3 = Object.prototype.toString.call(obj);
871
+ if (config.truncateThreshold && str.length >= config.truncateThreshold) {
872
+ if (type3 === "[object Function]") {
873
+ return !obj.name || obj.name === "" ? "[Function]" : "[Function: " + obj.name + "]";
874
+ } else if (type3 === "[object Array]") {
875
+ return "[ Array(" + obj.length + ") ]";
876
+ } else if (type3 === "[object Object]") {
877
+ var keys = Object.keys(obj), kstr = keys.length > 2 ? keys.splice(0, 2).join(", ") + ", ..." : keys.join(", ");
878
+ return "{ Object (" + kstr + ") }";
879
+ } else {
880
+ return str;
881
+ }
882
+ } else {
883
+ return str;
884
+ }
885
+ }
886
+ __name(objDisplay, "objDisplay");
887
+ function getMessage2(obj, args) {
888
+ var negate = flag(obj, "negate"), val = flag(obj, "object"), expected = args[3], actual = getActual(obj, args), msg = negate ? args[2] : args[1], flagMsg = flag(obj, "message");
889
+ if (typeof msg === "function")
890
+ msg = msg();
891
+ msg = msg || "";
892
+ msg = msg.replace(/#\{this\}/g, function() {
893
+ return objDisplay(val);
894
+ }).replace(/#\{act\}/g, function() {
895
+ return objDisplay(actual);
896
+ }).replace(/#\{exp\}/g, function() {
897
+ return objDisplay(expected);
898
+ });
899
+ return flagMsg ? flagMsg + ": " + msg : msg;
900
+ }
901
+ __name(getMessage2, "getMessage");
902
+ function transferFlags(assertion, object, includeAll) {
903
+ var flags = assertion.__flags || (assertion.__flags = /* @__PURE__ */ Object.create(null));
904
+ if (!object.__flags) {
905
+ object.__flags = /* @__PURE__ */ Object.create(null);
906
+ }
907
+ includeAll = arguments.length === 3 ? includeAll : true;
908
+ for (var flag3 in flags) {
909
+ if (includeAll || flag3 !== "object" && flag3 !== "ssfi" && flag3 !== "lockSsfi" && flag3 != "message") {
910
+ object.__flags[flag3] = flags[flag3];
911
+ }
912
+ }
913
+ }
914
+ __name(transferFlags, "transferFlags");
915
+ function type2(obj) {
916
+ if (typeof obj === "undefined") {
917
+ return "undefined";
918
+ }
919
+ if (obj === null) {
920
+ return "null";
921
+ }
922
+ const stringTag = obj[Symbol.toStringTag];
923
+ if (typeof stringTag === "string") {
924
+ return stringTag;
925
+ }
926
+ const sliceStart = 8;
927
+ const sliceEnd = -1;
928
+ return Object.prototype.toString.call(obj).slice(sliceStart, sliceEnd);
929
+ }
930
+ __name(type2, "type");
931
+ function FakeMap() {
932
+ this._key = "chai/deep-eql__" + Math.random() + Date.now();
933
+ }
934
+ __name(FakeMap, "FakeMap");
935
+ FakeMap.prototype = {
936
+ get: /* @__PURE__ */ __name(function get(key) {
937
+ return key[this._key];
938
+ }, "get"),
939
+ set: /* @__PURE__ */ __name(function set(key, value) {
940
+ if (Object.isExtensible(key)) {
941
+ Object.defineProperty(key, this._key, {
942
+ value,
943
+ configurable: true
944
+ });
945
+ }
946
+ }, "set")
947
+ };
948
+ var MemoizeMap = typeof WeakMap === "function" ? WeakMap : FakeMap;
949
+ function memoizeCompare(leftHandOperand, rightHandOperand, memoizeMap) {
950
+ if (!memoizeMap || isPrimitive(leftHandOperand) || isPrimitive(rightHandOperand)) {
951
+ return null;
952
+ }
953
+ var leftHandMap = memoizeMap.get(leftHandOperand);
954
+ if (leftHandMap) {
955
+ var result = leftHandMap.get(rightHandOperand);
956
+ if (typeof result === "boolean") {
957
+ return result;
958
+ }
959
+ }
960
+ return null;
961
+ }
962
+ __name(memoizeCompare, "memoizeCompare");
963
+ function memoizeSet(leftHandOperand, rightHandOperand, memoizeMap, result) {
964
+ if (!memoizeMap || isPrimitive(leftHandOperand) || isPrimitive(rightHandOperand)) {
965
+ return;
966
+ }
967
+ var leftHandMap = memoizeMap.get(leftHandOperand);
968
+ if (leftHandMap) {
969
+ leftHandMap.set(rightHandOperand, result);
970
+ } else {
971
+ leftHandMap = new MemoizeMap();
972
+ leftHandMap.set(rightHandOperand, result);
973
+ memoizeMap.set(leftHandOperand, leftHandMap);
974
+ }
975
+ }
976
+ __name(memoizeSet, "memoizeSet");
977
+ var deep_eql_default = deepEqual;
978
+ function deepEqual(leftHandOperand, rightHandOperand, options) {
979
+ if (options && options.comparator) {
980
+ return extensiveDeepEqual(leftHandOperand, rightHandOperand, options);
981
+ }
982
+ var simpleResult = simpleEqual(leftHandOperand, rightHandOperand);
983
+ if (simpleResult !== null) {
984
+ return simpleResult;
985
+ }
986
+ return extensiveDeepEqual(leftHandOperand, rightHandOperand, options);
987
+ }
988
+ __name(deepEqual, "deepEqual");
989
+ function simpleEqual(leftHandOperand, rightHandOperand) {
990
+ if (leftHandOperand === rightHandOperand) {
991
+ return leftHandOperand !== 0 || 1 / leftHandOperand === 1 / rightHandOperand;
992
+ }
993
+ if (leftHandOperand !== leftHandOperand && // eslint-disable-line no-self-compare
994
+ rightHandOperand !== rightHandOperand) {
995
+ return true;
996
+ }
997
+ if (isPrimitive(leftHandOperand) || isPrimitive(rightHandOperand)) {
998
+ return false;
999
+ }
1000
+ return null;
1001
+ }
1002
+ __name(simpleEqual, "simpleEqual");
1003
+ function extensiveDeepEqual(leftHandOperand, rightHandOperand, options) {
1004
+ options = options || {};
1005
+ options.memoize = options.memoize === false ? false : options.memoize || new MemoizeMap();
1006
+ var comparator = options && options.comparator;
1007
+ var memoizeResultLeft = memoizeCompare(leftHandOperand, rightHandOperand, options.memoize);
1008
+ if (memoizeResultLeft !== null) {
1009
+ return memoizeResultLeft;
1010
+ }
1011
+ var memoizeResultRight = memoizeCompare(rightHandOperand, leftHandOperand, options.memoize);
1012
+ if (memoizeResultRight !== null) {
1013
+ return memoizeResultRight;
1014
+ }
1015
+ if (comparator) {
1016
+ var comparatorResult = comparator(leftHandOperand, rightHandOperand);
1017
+ if (comparatorResult === false || comparatorResult === true) {
1018
+ memoizeSet(leftHandOperand, rightHandOperand, options.memoize, comparatorResult);
1019
+ return comparatorResult;
1020
+ }
1021
+ var simpleResult = simpleEqual(leftHandOperand, rightHandOperand);
1022
+ if (simpleResult !== null) {
1023
+ return simpleResult;
1024
+ }
1025
+ }
1026
+ var leftHandType = type2(leftHandOperand);
1027
+ if (leftHandType !== type2(rightHandOperand)) {
1028
+ memoizeSet(leftHandOperand, rightHandOperand, options.memoize, false);
1029
+ return false;
1030
+ }
1031
+ memoizeSet(leftHandOperand, rightHandOperand, options.memoize, true);
1032
+ var result = extensiveDeepEqualByType(leftHandOperand, rightHandOperand, leftHandType, options);
1033
+ memoizeSet(leftHandOperand, rightHandOperand, options.memoize, result);
1034
+ return result;
1035
+ }
1036
+ __name(extensiveDeepEqual, "extensiveDeepEqual");
1037
+ function extensiveDeepEqualByType(leftHandOperand, rightHandOperand, leftHandType, options) {
1038
+ switch (leftHandType) {
1039
+ case "String":
1040
+ case "Number":
1041
+ case "Boolean":
1042
+ case "Date":
1043
+ return deepEqual(leftHandOperand.valueOf(), rightHandOperand.valueOf());
1044
+ case "Promise":
1045
+ case "Symbol":
1046
+ case "function":
1047
+ case "WeakMap":
1048
+ case "WeakSet":
1049
+ return leftHandOperand === rightHandOperand;
1050
+ case "Error":
1051
+ return keysEqual(leftHandOperand, rightHandOperand, ["name", "message", "code"], options);
1052
+ case "Arguments":
1053
+ case "Int8Array":
1054
+ case "Uint8Array":
1055
+ case "Uint8ClampedArray":
1056
+ case "Int16Array":
1057
+ case "Uint16Array":
1058
+ case "Int32Array":
1059
+ case "Uint32Array":
1060
+ case "Float32Array":
1061
+ case "Float64Array":
1062
+ case "Array":
1063
+ return iterableEqual(leftHandOperand, rightHandOperand, options);
1064
+ case "RegExp":
1065
+ return regexpEqual(leftHandOperand, rightHandOperand);
1066
+ case "Generator":
1067
+ return generatorEqual(leftHandOperand, rightHandOperand, options);
1068
+ case "DataView":
1069
+ return iterableEqual(new Uint8Array(leftHandOperand.buffer), new Uint8Array(rightHandOperand.buffer), options);
1070
+ case "ArrayBuffer":
1071
+ return iterableEqual(new Uint8Array(leftHandOperand), new Uint8Array(rightHandOperand), options);
1072
+ case "Set":
1073
+ return entriesEqual(leftHandOperand, rightHandOperand, options);
1074
+ case "Map":
1075
+ return entriesEqual(leftHandOperand, rightHandOperand, options);
1076
+ case "Temporal.PlainDate":
1077
+ case "Temporal.PlainTime":
1078
+ case "Temporal.PlainDateTime":
1079
+ case "Temporal.Instant":
1080
+ case "Temporal.ZonedDateTime":
1081
+ case "Temporal.PlainYearMonth":
1082
+ case "Temporal.PlainMonthDay":
1083
+ return leftHandOperand.equals(rightHandOperand);
1084
+ case "Temporal.Duration":
1085
+ return leftHandOperand.total("nanoseconds") === rightHandOperand.total("nanoseconds");
1086
+ case "Temporal.TimeZone":
1087
+ case "Temporal.Calendar":
1088
+ return leftHandOperand.toString() === rightHandOperand.toString();
1089
+ default:
1090
+ return objectEqual(leftHandOperand, rightHandOperand, options);
1091
+ }
1092
+ }
1093
+ __name(extensiveDeepEqualByType, "extensiveDeepEqualByType");
1094
+ function regexpEqual(leftHandOperand, rightHandOperand) {
1095
+ return leftHandOperand.toString() === rightHandOperand.toString();
1096
+ }
1097
+ __name(regexpEqual, "regexpEqual");
1098
+ function entriesEqual(leftHandOperand, rightHandOperand, options) {
1099
+ if (leftHandOperand.size !== rightHandOperand.size) {
1100
+ return false;
1101
+ }
1102
+ if (leftHandOperand.size === 0) {
1103
+ return true;
1104
+ }
1105
+ var leftHandItems = [];
1106
+ var rightHandItems = [];
1107
+ leftHandOperand.forEach(/* @__PURE__ */ __name(function gatherEntries(key, value) {
1108
+ leftHandItems.push([key, value]);
1109
+ }, "gatherEntries"));
1110
+ rightHandOperand.forEach(/* @__PURE__ */ __name(function gatherEntries(key, value) {
1111
+ rightHandItems.push([key, value]);
1112
+ }, "gatherEntries"));
1113
+ return iterableEqual(leftHandItems.sort(), rightHandItems.sort(), options);
1114
+ }
1115
+ __name(entriesEqual, "entriesEqual");
1116
+ function iterableEqual(leftHandOperand, rightHandOperand, options) {
1117
+ var length = leftHandOperand.length;
1118
+ if (length !== rightHandOperand.length) {
1119
+ return false;
1120
+ }
1121
+ if (length === 0) {
1122
+ return true;
1123
+ }
1124
+ var index = -1;
1125
+ while (++index < length) {
1126
+ if (deepEqual(leftHandOperand[index], rightHandOperand[index], options) === false) {
1127
+ return false;
1128
+ }
1129
+ }
1130
+ return true;
1131
+ }
1132
+ __name(iterableEqual, "iterableEqual");
1133
+ function generatorEqual(leftHandOperand, rightHandOperand, options) {
1134
+ return iterableEqual(getGeneratorEntries(leftHandOperand), getGeneratorEntries(rightHandOperand), options);
1135
+ }
1136
+ __name(generatorEqual, "generatorEqual");
1137
+ function hasIteratorFunction(target) {
1138
+ return typeof Symbol !== "undefined" && typeof target === "object" && typeof Symbol.iterator !== "undefined" && typeof target[Symbol.iterator] === "function";
1139
+ }
1140
+ __name(hasIteratorFunction, "hasIteratorFunction");
1141
+ function getIteratorEntries(target) {
1142
+ if (hasIteratorFunction(target)) {
1143
+ try {
1144
+ return getGeneratorEntries(target[Symbol.iterator]());
1145
+ } catch (iteratorError) {
1146
+ return [];
1147
+ }
1148
+ }
1149
+ return [];
1150
+ }
1151
+ __name(getIteratorEntries, "getIteratorEntries");
1152
+ function getGeneratorEntries(generator) {
1153
+ var generatorResult = generator.next();
1154
+ var accumulator = [generatorResult.value];
1155
+ while (generatorResult.done === false) {
1156
+ generatorResult = generator.next();
1157
+ accumulator.push(generatorResult.value);
1158
+ }
1159
+ return accumulator;
1160
+ }
1161
+ __name(getGeneratorEntries, "getGeneratorEntries");
1162
+ function getEnumerableKeys(target) {
1163
+ var keys = [];
1164
+ for (var key in target) {
1165
+ keys.push(key);
1166
+ }
1167
+ return keys;
1168
+ }
1169
+ __name(getEnumerableKeys, "getEnumerableKeys");
1170
+ function getEnumerableSymbols(target) {
1171
+ var keys = [];
1172
+ var allKeys = Object.getOwnPropertySymbols(target);
1173
+ for (var i = 0; i < allKeys.length; i += 1) {
1174
+ var key = allKeys[i];
1175
+ if (Object.getOwnPropertyDescriptor(target, key).enumerable) {
1176
+ keys.push(key);
1177
+ }
1178
+ }
1179
+ return keys;
1180
+ }
1181
+ __name(getEnumerableSymbols, "getEnumerableSymbols");
1182
+ function keysEqual(leftHandOperand, rightHandOperand, keys, options) {
1183
+ var length = keys.length;
1184
+ if (length === 0) {
1185
+ return true;
1186
+ }
1187
+ for (var i = 0; i < length; i += 1) {
1188
+ if (deepEqual(leftHandOperand[keys[i]], rightHandOperand[keys[i]], options) === false) {
1189
+ return false;
1190
+ }
1191
+ }
1192
+ return true;
1193
+ }
1194
+ __name(keysEqual, "keysEqual");
1195
+ function objectEqual(leftHandOperand, rightHandOperand, options) {
1196
+ var leftHandKeys = getEnumerableKeys(leftHandOperand);
1197
+ var rightHandKeys = getEnumerableKeys(rightHandOperand);
1198
+ var leftHandSymbols = getEnumerableSymbols(leftHandOperand);
1199
+ var rightHandSymbols = getEnumerableSymbols(rightHandOperand);
1200
+ leftHandKeys = leftHandKeys.concat(leftHandSymbols);
1201
+ rightHandKeys = rightHandKeys.concat(rightHandSymbols);
1202
+ if (leftHandKeys.length && leftHandKeys.length === rightHandKeys.length) {
1203
+ if (iterableEqual(mapSymbols(leftHandKeys).sort(), mapSymbols(rightHandKeys).sort()) === false) {
1204
+ return false;
1205
+ }
1206
+ return keysEqual(leftHandOperand, rightHandOperand, leftHandKeys, options);
1207
+ }
1208
+ var leftHandEntries = getIteratorEntries(leftHandOperand);
1209
+ var rightHandEntries = getIteratorEntries(rightHandOperand);
1210
+ if (leftHandEntries.length && leftHandEntries.length === rightHandEntries.length) {
1211
+ leftHandEntries.sort();
1212
+ rightHandEntries.sort();
1213
+ return iterableEqual(leftHandEntries, rightHandEntries, options);
1214
+ }
1215
+ if (leftHandKeys.length === 0 && leftHandEntries.length === 0 && rightHandKeys.length === 0 && rightHandEntries.length === 0) {
1216
+ return true;
1217
+ }
1218
+ return false;
1219
+ }
1220
+ __name(objectEqual, "objectEqual");
1221
+ function isPrimitive(value) {
1222
+ return value === null || typeof value !== "object";
1223
+ }
1224
+ __name(isPrimitive, "isPrimitive");
1225
+ function mapSymbols(arr) {
1226
+ return arr.map(/* @__PURE__ */ __name(function mapSymbol(entry) {
1227
+ if (typeof entry === "symbol") {
1228
+ return entry.toString();
1229
+ }
1230
+ return entry;
1231
+ }, "mapSymbol"));
1232
+ }
1233
+ __name(mapSymbols, "mapSymbols");
1234
+ function hasProperty(obj, name) {
1235
+ if (typeof obj === "undefined" || obj === null) {
1236
+ return false;
1237
+ }
1238
+ return name in Object(obj);
1239
+ }
1240
+ __name(hasProperty, "hasProperty");
1241
+ function parsePath(path) {
1242
+ const str = path.replace(/([^\\])\[/g, "$1.[");
1243
+ const parts = str.match(/(\\\.|[^.]+?)+/g);
1244
+ return parts.map((value) => {
1245
+ if (value === "constructor" || value === "__proto__" || value === "prototype") {
1246
+ return {};
1247
+ }
1248
+ const regexp = /^\[(\d+)\]$/;
1249
+ const mArr = regexp.exec(value);
1250
+ let parsed = null;
1251
+ if (mArr) {
1252
+ parsed = { i: parseFloat(mArr[1]) };
1253
+ } else {
1254
+ parsed = { p: value.replace(/\\([.[\]])/g, "$1") };
1255
+ }
1256
+ return parsed;
1257
+ });
1258
+ }
1259
+ __name(parsePath, "parsePath");
1260
+ function internalGetPathValue(obj, parsed, pathDepth) {
1261
+ let temporaryValue = obj;
1262
+ let res = null;
1263
+ pathDepth = typeof pathDepth === "undefined" ? parsed.length : pathDepth;
1264
+ for (let i = 0; i < pathDepth; i++) {
1265
+ const part = parsed[i];
1266
+ if (temporaryValue) {
1267
+ if (typeof part.p === "undefined") {
1268
+ temporaryValue = temporaryValue[part.i];
1269
+ } else {
1270
+ temporaryValue = temporaryValue[part.p];
1271
+ }
1272
+ if (i === pathDepth - 1) {
1273
+ res = temporaryValue;
1274
+ }
1275
+ }
1276
+ }
1277
+ return res;
1278
+ }
1279
+ __name(internalGetPathValue, "internalGetPathValue");
1280
+ function getPathInfo(obj, path) {
1281
+ const parsed = parsePath(path);
1282
+ const last = parsed[parsed.length - 1];
1283
+ const info = {
1284
+ parent: parsed.length > 1 ? internalGetPathValue(obj, parsed, parsed.length - 1) : obj,
1285
+ name: last.p || last.i,
1286
+ value: internalGetPathValue(obj, parsed)
1287
+ };
1288
+ info.exists = hasProperty(info.parent, info.name);
1289
+ return info;
1290
+ }
1291
+ __name(getPathInfo, "getPathInfo");
1292
+ function Assertion(obj, msg, ssfi, lockSsfi) {
1293
+ flag(this, "ssfi", ssfi || Assertion);
1294
+ flag(this, "lockSsfi", lockSsfi);
1295
+ flag(this, "object", obj);
1296
+ flag(this, "message", msg);
1297
+ flag(this, "eql", config.deepEqual || deep_eql_default);
1298
+ return proxify(this);
1299
+ }
1300
+ __name(Assertion, "Assertion");
1301
+ Object.defineProperty(Assertion, "includeStack", {
1302
+ get: function() {
1303
+ console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead.");
1304
+ return config.includeStack;
1305
+ },
1306
+ set: function(value) {
1307
+ console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead.");
1308
+ config.includeStack = value;
1309
+ }
1310
+ });
1311
+ Object.defineProperty(Assertion, "showDiff", {
1312
+ get: function() {
1313
+ console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead.");
1314
+ return config.showDiff;
1315
+ },
1316
+ set: function(value) {
1317
+ console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead.");
1318
+ config.showDiff = value;
1319
+ }
1320
+ });
1321
+ Assertion.addProperty = function(name, fn) {
1322
+ addProperty(this.prototype, name, fn);
1323
+ };
1324
+ Assertion.addMethod = function(name, fn) {
1325
+ addMethod(this.prototype, name, fn);
1326
+ };
1327
+ Assertion.addChainableMethod = function(name, fn, chainingBehavior) {
1328
+ addChainableMethod(this.prototype, name, fn, chainingBehavior);
1329
+ };
1330
+ Assertion.overwriteProperty = function(name, fn) {
1331
+ overwriteProperty(this.prototype, name, fn);
1332
+ };
1333
+ Assertion.overwriteMethod = function(name, fn) {
1334
+ overwriteMethod(this.prototype, name, fn);
1335
+ };
1336
+ Assertion.overwriteChainableMethod = function(name, fn, chainingBehavior) {
1337
+ overwriteChainableMethod(this.prototype, name, fn, chainingBehavior);
1338
+ };
1339
+ Assertion.prototype.assert = function(expr, msg, negateMsg, expected, _actual, showDiff) {
1340
+ var ok = test(this, arguments);
1341
+ if (false !== showDiff)
1342
+ showDiff = true;
1343
+ if (void 0 === expected && void 0 === _actual)
1344
+ showDiff = false;
1345
+ if (true !== config.showDiff)
1346
+ showDiff = false;
1347
+ if (!ok) {
1348
+ msg = getMessage2(this, arguments);
1349
+ var actual = getActual(this, arguments);
1350
+ var assertionErrorObjectProperties = {
1351
+ actual,
1352
+ expected,
1353
+ showDiff
1354
+ };
1355
+ var operator = getOperator(this, arguments);
1356
+ if (operator) {
1357
+ assertionErrorObjectProperties.operator = operator;
1358
+ }
1359
+ throw new AssertionError(
1360
+ msg,
1361
+ assertionErrorObjectProperties,
1362
+ config.includeStack ? this.assert : flag(this, "ssfi")
1363
+ );
1364
+ }
1365
+ };
1366
+ Object.defineProperty(
1367
+ Assertion.prototype,
1368
+ "_obj",
1369
+ {
1370
+ get: function() {
1371
+ return flag(this, "object");
1372
+ },
1373
+ set: function(val) {
1374
+ flag(this, "object", val);
1375
+ }
1376
+ }
1377
+ );
1378
+ function isProxyEnabled() {
1379
+ return config.useProxy && typeof Proxy !== "undefined" && typeof Reflect !== "undefined";
1380
+ }
1381
+ __name(isProxyEnabled, "isProxyEnabled");
1382
+ function addProperty(ctx, name, getter) {
1383
+ getter = getter === void 0 ? function() {
1384
+ } : getter;
1385
+ Object.defineProperty(
1386
+ ctx,
1387
+ name,
1388
+ {
1389
+ get: /* @__PURE__ */ __name(function propertyGetter() {
1390
+ if (!isProxyEnabled() && !flag(this, "lockSsfi")) {
1391
+ flag(this, "ssfi", propertyGetter);
1392
+ }
1393
+ var result = getter.call(this);
1394
+ if (result !== void 0)
1395
+ return result;
1396
+ var newAssertion = new Assertion();
1397
+ transferFlags(this, newAssertion);
1398
+ return newAssertion;
1399
+ }, "propertyGetter"),
1400
+ configurable: true
1401
+ }
1402
+ );
1403
+ }
1404
+ __name(addProperty, "addProperty");
1405
+ var fnLengthDesc = Object.getOwnPropertyDescriptor(function() {
1406
+ }, "length");
1407
+ function addLengthGuard(fn, assertionName, isChainable) {
1408
+ if (!fnLengthDesc.configurable)
1409
+ return fn;
1410
+ Object.defineProperty(fn, "length", {
1411
+ get: function() {
1412
+ if (isChainable) {
1413
+ throw Error("Invalid Chai property: " + assertionName + '.length. Due to a compatibility issue, "length" cannot directly follow "' + assertionName + '". Use "' + assertionName + '.lengthOf" instead.');
1414
+ }
1415
+ throw Error("Invalid Chai property: " + assertionName + '.length. See docs for proper usage of "' + assertionName + '".');
1416
+ }
1417
+ });
1418
+ return fn;
1419
+ }
1420
+ __name(addLengthGuard, "addLengthGuard");
1421
+ function getProperties(object) {
1422
+ var result = Object.getOwnPropertyNames(object);
1423
+ function addProperty2(property) {
1424
+ if (result.indexOf(property) === -1) {
1425
+ result.push(property);
1426
+ }
1427
+ }
1428
+ __name(addProperty2, "addProperty");
1429
+ var proto = Object.getPrototypeOf(object);
1430
+ while (proto !== null) {
1431
+ Object.getOwnPropertyNames(proto).forEach(addProperty2);
1432
+ proto = Object.getPrototypeOf(proto);
1433
+ }
1434
+ return result;
1435
+ }
1436
+ __name(getProperties, "getProperties");
1437
+ var builtins = ["__flags", "__methods", "_obj", "assert"];
1438
+ function proxify(obj, nonChainableMethodName) {
1439
+ if (!isProxyEnabled())
1440
+ return obj;
1441
+ return new Proxy(obj, {
1442
+ get: /* @__PURE__ */ __name(function proxyGetter(target, property) {
1443
+ if (typeof property === "string" && config.proxyExcludedKeys.indexOf(property) === -1 && !Reflect.has(target, property)) {
1444
+ if (nonChainableMethodName) {
1445
+ throw Error("Invalid Chai property: " + nonChainableMethodName + "." + property + '. See docs for proper usage of "' + nonChainableMethodName + '".');
1446
+ }
1447
+ var suggestion = null;
1448
+ var suggestionDistance = 4;
1449
+ getProperties(target).forEach(function(prop) {
1450
+ if (!Object.prototype.hasOwnProperty(prop) && builtins.indexOf(prop) === -1) {
1451
+ var dist = stringDistanceCapped(
1452
+ property,
1453
+ prop,
1454
+ suggestionDistance
1455
+ );
1456
+ if (dist < suggestionDistance) {
1457
+ suggestion = prop;
1458
+ suggestionDistance = dist;
1459
+ }
1460
+ }
1461
+ });
1462
+ if (suggestion !== null) {
1463
+ throw Error("Invalid Chai property: " + property + '. Did you mean "' + suggestion + '"?');
1464
+ } else {
1465
+ throw Error("Invalid Chai property: " + property);
1466
+ }
1467
+ }
1468
+ if (builtins.indexOf(property) === -1 && !flag(target, "lockSsfi")) {
1469
+ flag(target, "ssfi", proxyGetter);
1470
+ }
1471
+ return Reflect.get(target, property);
1472
+ }, "proxyGetter")
1473
+ });
1474
+ }
1475
+ __name(proxify, "proxify");
1476
+ function stringDistanceCapped(strA, strB, cap) {
1477
+ if (Math.abs(strA.length - strB.length) >= cap) {
1478
+ return cap;
1479
+ }
1480
+ var memo = [];
1481
+ for (var i = 0; i <= strA.length; i++) {
1482
+ memo[i] = Array(strB.length + 1).fill(0);
1483
+ memo[i][0] = i;
1484
+ }
1485
+ for (var j = 0; j < strB.length; j++) {
1486
+ memo[0][j] = j;
1487
+ }
1488
+ for (var i = 1; i <= strA.length; i++) {
1489
+ var ch = strA.charCodeAt(i - 1);
1490
+ for (var j = 1; j <= strB.length; j++) {
1491
+ if (Math.abs(i - j) >= cap) {
1492
+ memo[i][j] = cap;
1493
+ continue;
1494
+ }
1495
+ memo[i][j] = Math.min(
1496
+ memo[i - 1][j] + 1,
1497
+ memo[i][j - 1] + 1,
1498
+ memo[i - 1][j - 1] + (ch === strB.charCodeAt(j - 1) ? 0 : 1)
1499
+ );
1500
+ }
1501
+ }
1502
+ return memo[strA.length][strB.length];
1503
+ }
1504
+ __name(stringDistanceCapped, "stringDistanceCapped");
1505
+ function addMethod(ctx, name, method) {
1506
+ var methodWrapper = /* @__PURE__ */ __name(function() {
1507
+ if (!flag(this, "lockSsfi")) {
1508
+ flag(this, "ssfi", methodWrapper);
1509
+ }
1510
+ var result = method.apply(this, arguments);
1511
+ if (result !== void 0)
1512
+ return result;
1513
+ var newAssertion = new Assertion();
1514
+ transferFlags(this, newAssertion);
1515
+ return newAssertion;
1516
+ }, "methodWrapper");
1517
+ addLengthGuard(methodWrapper, name, false);
1518
+ ctx[name] = proxify(methodWrapper, name);
1519
+ }
1520
+ __name(addMethod, "addMethod");
1521
+ function overwriteProperty(ctx, name, getter) {
1522
+ var _get = Object.getOwnPropertyDescriptor(ctx, name), _super = /* @__PURE__ */ __name(function() {
1523
+ }, "_super");
1524
+ if (_get && "function" === typeof _get.get)
1525
+ _super = _get.get;
1526
+ Object.defineProperty(
1527
+ ctx,
1528
+ name,
1529
+ {
1530
+ get: /* @__PURE__ */ __name(function overwritingPropertyGetter() {
1531
+ if (!isProxyEnabled() && !flag(this, "lockSsfi")) {
1532
+ flag(this, "ssfi", overwritingPropertyGetter);
1533
+ }
1534
+ var origLockSsfi = flag(this, "lockSsfi");
1535
+ flag(this, "lockSsfi", true);
1536
+ var result = getter(_super).call(this);
1537
+ flag(this, "lockSsfi", origLockSsfi);
1538
+ if (result !== void 0) {
1539
+ return result;
1540
+ }
1541
+ var newAssertion = new Assertion();
1542
+ transferFlags(this, newAssertion);
1543
+ return newAssertion;
1544
+ }, "overwritingPropertyGetter"),
1545
+ configurable: true
1546
+ }
1547
+ );
1548
+ }
1549
+ __name(overwriteProperty, "overwriteProperty");
1550
+ function overwriteMethod(ctx, name, method) {
1551
+ var _method = ctx[name], _super = /* @__PURE__ */ __name(function() {
1552
+ throw new Error(name + " is not a function");
1553
+ }, "_super");
1554
+ if (_method && "function" === typeof _method)
1555
+ _super = _method;
1556
+ var overwritingMethodWrapper = /* @__PURE__ */ __name(function() {
1557
+ if (!flag(this, "lockSsfi")) {
1558
+ flag(this, "ssfi", overwritingMethodWrapper);
1559
+ }
1560
+ var origLockSsfi = flag(this, "lockSsfi");
1561
+ flag(this, "lockSsfi", true);
1562
+ var result = method(_super).apply(this, arguments);
1563
+ flag(this, "lockSsfi", origLockSsfi);
1564
+ if (result !== void 0) {
1565
+ return result;
1566
+ }
1567
+ var newAssertion = new Assertion();
1568
+ transferFlags(this, newAssertion);
1569
+ return newAssertion;
1570
+ }, "overwritingMethodWrapper");
1571
+ addLengthGuard(overwritingMethodWrapper, name, false);
1572
+ ctx[name] = proxify(overwritingMethodWrapper, name);
1573
+ }
1574
+ __name(overwriteMethod, "overwriteMethod");
1575
+ var canSetPrototype = typeof Object.setPrototypeOf === "function";
1576
+ var testFn = /* @__PURE__ */ __name(function() {
1577
+ }, "testFn");
1578
+ var excludeNames = Object.getOwnPropertyNames(testFn).filter(function(name) {
1579
+ var propDesc = Object.getOwnPropertyDescriptor(testFn, name);
1580
+ if (typeof propDesc !== "object")
1581
+ return true;
1582
+ return !propDesc.configurable;
1583
+ });
1584
+ var call = Function.prototype.call;
1585
+ var apply = Function.prototype.apply;
1586
+ function addChainableMethod(ctx, name, method, chainingBehavior) {
1587
+ if (typeof chainingBehavior !== "function") {
1588
+ chainingBehavior = /* @__PURE__ */ __name(function() {
1589
+ }, "chainingBehavior");
1590
+ }
1591
+ var chainableBehavior = {
1592
+ method,
1593
+ chainingBehavior
1594
+ };
1595
+ if (!ctx.__methods) {
1596
+ ctx.__methods = {};
1597
+ }
1598
+ ctx.__methods[name] = chainableBehavior;
1599
+ Object.defineProperty(
1600
+ ctx,
1601
+ name,
1602
+ {
1603
+ get: /* @__PURE__ */ __name(function chainableMethodGetter() {
1604
+ chainableBehavior.chainingBehavior.call(this);
1605
+ var chainableMethodWrapper = /* @__PURE__ */ __name(function() {
1606
+ if (!flag(this, "lockSsfi")) {
1607
+ flag(this, "ssfi", chainableMethodWrapper);
1608
+ }
1609
+ var result = chainableBehavior.method.apply(this, arguments);
1610
+ if (result !== void 0) {
1611
+ return result;
1612
+ }
1613
+ var newAssertion = new Assertion();
1614
+ transferFlags(this, newAssertion);
1615
+ return newAssertion;
1616
+ }, "chainableMethodWrapper");
1617
+ addLengthGuard(chainableMethodWrapper, name, true);
1618
+ if (canSetPrototype) {
1619
+ var prototype = Object.create(this);
1620
+ prototype.call = call;
1621
+ prototype.apply = apply;
1622
+ Object.setPrototypeOf(chainableMethodWrapper, prototype);
1623
+ } else {
1624
+ var asserterNames = Object.getOwnPropertyNames(ctx);
1625
+ asserterNames.forEach(function(asserterName) {
1626
+ if (excludeNames.indexOf(asserterName) !== -1) {
1627
+ return;
1628
+ }
1629
+ var pd = Object.getOwnPropertyDescriptor(ctx, asserterName);
1630
+ Object.defineProperty(chainableMethodWrapper, asserterName, pd);
1631
+ });
1632
+ }
1633
+ transferFlags(this, chainableMethodWrapper);
1634
+ return proxify(chainableMethodWrapper);
1635
+ }, "chainableMethodGetter"),
1636
+ configurable: true
1637
+ }
1638
+ );
1639
+ }
1640
+ __name(addChainableMethod, "addChainableMethod");
1641
+ function overwriteChainableMethod(ctx, name, method, chainingBehavior) {
1642
+ var chainableBehavior = ctx.__methods[name];
1643
+ var _chainingBehavior = chainableBehavior.chainingBehavior;
1644
+ chainableBehavior.chainingBehavior = /* @__PURE__ */ __name(function overwritingChainableMethodGetter() {
1645
+ var result = chainingBehavior(_chainingBehavior).call(this);
1646
+ if (result !== void 0) {
1647
+ return result;
1648
+ }
1649
+ var newAssertion = new Assertion();
1650
+ transferFlags(this, newAssertion);
1651
+ return newAssertion;
1652
+ }, "overwritingChainableMethodGetter");
1653
+ var _method = chainableBehavior.method;
1654
+ chainableBehavior.method = /* @__PURE__ */ __name(function overwritingChainableMethodWrapper() {
1655
+ var result = method(_method).apply(this, arguments);
1656
+ if (result !== void 0) {
1657
+ return result;
1658
+ }
1659
+ var newAssertion = new Assertion();
1660
+ transferFlags(this, newAssertion);
1661
+ return newAssertion;
1662
+ }, "overwritingChainableMethodWrapper");
1663
+ }
1664
+ __name(overwriteChainableMethod, "overwriteChainableMethod");
1665
+ function compareByInspect(a, b) {
1666
+ return inspect2(a) < inspect2(b) ? -1 : 1;
1667
+ }
1668
+ __name(compareByInspect, "compareByInspect");
1669
+ function getOwnEnumerablePropertySymbols(obj) {
1670
+ if (typeof Object.getOwnPropertySymbols !== "function")
1671
+ return [];
1672
+ return Object.getOwnPropertySymbols(obj).filter(function(sym) {
1673
+ return Object.getOwnPropertyDescriptor(obj, sym).enumerable;
1674
+ });
1675
+ }
1676
+ __name(getOwnEnumerablePropertySymbols, "getOwnEnumerablePropertySymbols");
1677
+ function getOwnEnumerableProperties(obj) {
1678
+ return Object.keys(obj).concat(getOwnEnumerablePropertySymbols(obj));
1679
+ }
1680
+ __name(getOwnEnumerableProperties, "getOwnEnumerableProperties");
1681
+ function _isNaN(value) {
1682
+ return value !== value;
1683
+ }
1684
+ __name(_isNaN, "_isNaN");
1685
+ var isNaN2 = Number.isNaN || _isNaN;
1686
+ function isObjectType(obj) {
1687
+ var objectType = type(obj);
1688
+ var objectTypes = ["Array", "Object", "Function"];
1689
+ return objectTypes.indexOf(objectType) !== -1;
1690
+ }
1691
+ __name(isObjectType, "isObjectType");
1692
+ function getOperator(obj, args) {
1693
+ var operator = flag(obj, "operator");
1694
+ var negate = flag(obj, "negate");
1695
+ var expected = args[3];
1696
+ var msg = negate ? args[2] : args[1];
1697
+ if (operator) {
1698
+ return operator;
1699
+ }
1700
+ if (typeof msg === "function")
1701
+ msg = msg();
1702
+ msg = msg || "";
1703
+ if (!msg) {
1704
+ return void 0;
1705
+ }
1706
+ if (/\shave\s/.test(msg)) {
1707
+ return void 0;
1708
+ }
1709
+ var isObject = isObjectType(expected);
1710
+ if (/\snot\s/.test(msg)) {
1711
+ return isObject ? "notDeepStrictEqual" : "notStrictEqual";
1712
+ }
1713
+ return isObject ? "deepStrictEqual" : "strictEqual";
1714
+ }
1715
+ __name(getOperator, "getOperator");
1716
+ function getName(fn) {
1717
+ return fn.name;
1718
+ }
1719
+ __name(getName, "getName");
1720
+ function isRegExp2(obj) {
1721
+ return Object.prototype.toString.call(obj) === "[object RegExp]";
1722
+ }
1723
+ __name(isRegExp2, "isRegExp");
1724
+ var { flag: flag2 } = utils_exports;
1725
+ [
1726
+ "to",
1727
+ "be",
1728
+ "been",
1729
+ "is",
1730
+ "and",
1731
+ "has",
1732
+ "have",
1733
+ "with",
1734
+ "that",
1735
+ "which",
1736
+ "at",
1737
+ "of",
1738
+ "same",
1739
+ "but",
1740
+ "does",
1741
+ "still",
1742
+ "also"
1743
+ ].forEach(function(chain) {
1744
+ Assertion.addProperty(chain);
1745
+ });
1746
+ Assertion.addProperty("not", function() {
1747
+ flag2(this, "negate", true);
1748
+ });
1749
+ Assertion.addProperty("deep", function() {
1750
+ flag2(this, "deep", true);
1751
+ });
1752
+ Assertion.addProperty("nested", function() {
1753
+ flag2(this, "nested", true);
1754
+ });
1755
+ Assertion.addProperty("own", function() {
1756
+ flag2(this, "own", true);
1757
+ });
1758
+ Assertion.addProperty("ordered", function() {
1759
+ flag2(this, "ordered", true);
1760
+ });
1761
+ Assertion.addProperty("any", function() {
1762
+ flag2(this, "any", true);
1763
+ flag2(this, "all", false);
1764
+ });
1765
+ Assertion.addProperty("all", function() {
1766
+ flag2(this, "all", true);
1767
+ flag2(this, "any", false);
1768
+ });
1769
+ var functionTypes = {
1770
+ "function": ["function", "asyncfunction", "generatorfunction", "asyncgeneratorfunction"],
1771
+ "asyncfunction": ["asyncfunction", "asyncgeneratorfunction"],
1772
+ "generatorfunction": ["generatorfunction", "asyncgeneratorfunction"],
1773
+ "asyncgeneratorfunction": ["asyncgeneratorfunction"]
1774
+ };
1775
+ function an(type3, msg) {
1776
+ if (msg)
1777
+ flag2(this, "message", msg);
1778
+ type3 = type3.toLowerCase();
1779
+ var obj = flag2(this, "object"), article = ~["a", "e", "i", "o", "u"].indexOf(type3.charAt(0)) ? "an " : "a ";
1780
+ const detectedType = type(obj).toLowerCase();
1781
+ if (functionTypes["function"].includes(type3)) {
1782
+ this.assert(
1783
+ functionTypes[type3].includes(detectedType),
1784
+ "expected #{this} to be " + article + type3,
1785
+ "expected #{this} not to be " + article + type3
1786
+ );
1787
+ } else {
1788
+ this.assert(
1789
+ type3 === detectedType,
1790
+ "expected #{this} to be " + article + type3,
1791
+ "expected #{this} not to be " + article + type3
1792
+ );
1793
+ }
1794
+ }
1795
+ __name(an, "an");
1796
+ Assertion.addChainableMethod("an", an);
1797
+ Assertion.addChainableMethod("a", an);
1798
+ function SameValueZero(a, b) {
1799
+ return isNaN2(a) && isNaN2(b) || a === b;
1800
+ }
1801
+ __name(SameValueZero, "SameValueZero");
1802
+ function includeChainingBehavior() {
1803
+ flag2(this, "contains", true);
1804
+ }
1805
+ __name(includeChainingBehavior, "includeChainingBehavior");
1806
+ function include(val, msg) {
1807
+ if (msg)
1808
+ flag2(this, "message", msg);
1809
+ var obj = flag2(this, "object"), objType = type(obj).toLowerCase(), flagMsg = flag2(this, "message"), negate = flag2(this, "negate"), ssfi = flag2(this, "ssfi"), isDeep = flag2(this, "deep"), descriptor = isDeep ? "deep " : "", isEql = isDeep ? flag2(this, "eql") : SameValueZero;
1810
+ flagMsg = flagMsg ? flagMsg + ": " : "";
1811
+ var included = false;
1812
+ switch (objType) {
1813
+ case "string":
1814
+ included = obj.indexOf(val) !== -1;
1815
+ break;
1816
+ case "weakset":
1817
+ if (isDeep) {
1818
+ throw new AssertionError(
1819
+ flagMsg + "unable to use .deep.include with WeakSet",
1820
+ void 0,
1821
+ ssfi
1822
+ );
1823
+ }
1824
+ included = obj.has(val);
1825
+ break;
1826
+ case "map":
1827
+ obj.forEach(function(item) {
1828
+ included = included || isEql(item, val);
1829
+ });
1830
+ break;
1831
+ case "set":
1832
+ if (isDeep) {
1833
+ obj.forEach(function(item) {
1834
+ included = included || isEql(item, val);
1835
+ });
1836
+ } else {
1837
+ included = obj.has(val);
1838
+ }
1839
+ break;
1840
+ case "array":
1841
+ if (isDeep) {
1842
+ included = obj.some(function(item) {
1843
+ return isEql(item, val);
1844
+ });
1845
+ } else {
1846
+ included = obj.indexOf(val) !== -1;
1847
+ }
1848
+ break;
1849
+ default:
1850
+ if (val !== Object(val)) {
1851
+ throw new AssertionError(
1852
+ flagMsg + "the given combination of arguments (" + objType + " and " + type(val).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 " + type(val).toLowerCase(),
1853
+ void 0,
1854
+ ssfi
1855
+ );
1856
+ }
1857
+ var props = Object.keys(val), firstErr = null, numErrs = 0;
1858
+ props.forEach(function(prop) {
1859
+ var propAssertion = new Assertion(obj);
1860
+ transferFlags(this, propAssertion, true);
1861
+ flag2(propAssertion, "lockSsfi", true);
1862
+ if (!negate || props.length === 1) {
1863
+ propAssertion.property(prop, val[prop]);
1864
+ return;
1865
+ }
1866
+ try {
1867
+ propAssertion.property(prop, val[prop]);
1868
+ } catch (err) {
1869
+ if (!check_error_exports.compatibleConstructor(err, AssertionError)) {
1870
+ throw err;
1871
+ }
1872
+ if (firstErr === null)
1873
+ firstErr = err;
1874
+ numErrs++;
1875
+ }
1876
+ }, this);
1877
+ if (negate && props.length > 1 && numErrs === props.length) {
1878
+ throw firstErr;
1879
+ }
1880
+ return;
1881
+ }
1882
+ this.assert(
1883
+ included,
1884
+ "expected #{this} to " + descriptor + "include " + inspect2(val),
1885
+ "expected #{this} to not " + descriptor + "include " + inspect2(val)
1886
+ );
1887
+ }
1888
+ __name(include, "include");
1889
+ Assertion.addChainableMethod("include", include, includeChainingBehavior);
1890
+ Assertion.addChainableMethod("contain", include, includeChainingBehavior);
1891
+ Assertion.addChainableMethod("contains", include, includeChainingBehavior);
1892
+ Assertion.addChainableMethod("includes", include, includeChainingBehavior);
1893
+ Assertion.addProperty("ok", function() {
1894
+ this.assert(
1895
+ flag2(this, "object"),
1896
+ "expected #{this} to be truthy",
1897
+ "expected #{this} to be falsy"
1898
+ );
1899
+ });
1900
+ Assertion.addProperty("true", function() {
1901
+ this.assert(
1902
+ true === flag2(this, "object"),
1903
+ "expected #{this} to be true",
1904
+ "expected #{this} to be false",
1905
+ flag2(this, "negate") ? false : true
1906
+ );
1907
+ });
1908
+ Assertion.addProperty("callable", function() {
1909
+ const val = flag2(this, "object");
1910
+ const ssfi = flag2(this, "ssfi");
1911
+ const message = flag2(this, "message");
1912
+ const msg = message ? `${message}: ` : "";
1913
+ const negate = flag2(this, "negate");
1914
+ const assertionMessage = negate ? `${msg}expected ${inspect2(val)} not to be a callable function` : `${msg}expected ${inspect2(val)} to be a callable function`;
1915
+ const isCallable = ["Function", "AsyncFunction", "GeneratorFunction", "AsyncGeneratorFunction"].includes(type(val));
1916
+ if (isCallable && negate || !isCallable && !negate) {
1917
+ throw new AssertionError(
1918
+ assertionMessage,
1919
+ void 0,
1920
+ ssfi
1921
+ );
1922
+ }
1923
+ });
1924
+ Assertion.addProperty("false", function() {
1925
+ this.assert(
1926
+ false === flag2(this, "object"),
1927
+ "expected #{this} to be false",
1928
+ "expected #{this} to be true",
1929
+ flag2(this, "negate") ? true : false
1930
+ );
1931
+ });
1932
+ Assertion.addProperty("null", function() {
1933
+ this.assert(
1934
+ null === flag2(this, "object"),
1935
+ "expected #{this} to be null",
1936
+ "expected #{this} not to be null"
1937
+ );
1938
+ });
1939
+ Assertion.addProperty("undefined", function() {
1940
+ this.assert(
1941
+ void 0 === flag2(this, "object"),
1942
+ "expected #{this} to be undefined",
1943
+ "expected #{this} not to be undefined"
1944
+ );
1945
+ });
1946
+ Assertion.addProperty("NaN", function() {
1947
+ this.assert(
1948
+ isNaN2(flag2(this, "object")),
1949
+ "expected #{this} to be NaN",
1950
+ "expected #{this} not to be NaN"
1951
+ );
1952
+ });
1953
+ function assertExist() {
1954
+ var val = flag2(this, "object");
1955
+ this.assert(
1956
+ val !== null && val !== void 0,
1957
+ "expected #{this} to exist",
1958
+ "expected #{this} to not exist"
1959
+ );
1960
+ }
1961
+ __name(assertExist, "assertExist");
1962
+ Assertion.addProperty("exist", assertExist);
1963
+ Assertion.addProperty("exists", assertExist);
1964
+ Assertion.addProperty("empty", function() {
1965
+ var val = flag2(this, "object"), ssfi = flag2(this, "ssfi"), flagMsg = flag2(this, "message"), itemsCount;
1966
+ flagMsg = flagMsg ? flagMsg + ": " : "";
1967
+ switch (type(val).toLowerCase()) {
1968
+ case "array":
1969
+ case "string":
1970
+ itemsCount = val.length;
1971
+ break;
1972
+ case "map":
1973
+ case "set":
1974
+ itemsCount = val.size;
1975
+ break;
1976
+ case "weakmap":
1977
+ case "weakset":
1978
+ throw new AssertionError(
1979
+ flagMsg + ".empty was passed a weak collection",
1980
+ void 0,
1981
+ ssfi
1982
+ );
1983
+ case "function":
1984
+ var msg = flagMsg + ".empty was passed a function " + getName(val);
1985
+ throw new AssertionError(msg.trim(), void 0, ssfi);
1986
+ default:
1987
+ if (val !== Object(val)) {
1988
+ throw new AssertionError(
1989
+ flagMsg + ".empty was passed non-string primitive " + inspect2(val),
1990
+ void 0,
1991
+ ssfi
1992
+ );
1993
+ }
1994
+ itemsCount = Object.keys(val).length;
1995
+ }
1996
+ this.assert(
1997
+ 0 === itemsCount,
1998
+ "expected #{this} to be empty",
1999
+ "expected #{this} not to be empty"
2000
+ );
2001
+ });
2002
+ function checkArguments() {
2003
+ var obj = flag2(this, "object"), type3 = type(obj);
2004
+ this.assert(
2005
+ "Arguments" === type3,
2006
+ "expected #{this} to be arguments but got " + type3,
2007
+ "expected #{this} to not be arguments"
2008
+ );
2009
+ }
2010
+ __name(checkArguments, "checkArguments");
2011
+ Assertion.addProperty("arguments", checkArguments);
2012
+ Assertion.addProperty("Arguments", checkArguments);
2013
+ function assertEqual(val, msg) {
2014
+ if (msg)
2015
+ flag2(this, "message", msg);
2016
+ var obj = flag2(this, "object");
2017
+ if (flag2(this, "deep")) {
2018
+ var prevLockSsfi = flag2(this, "lockSsfi");
2019
+ flag2(this, "lockSsfi", true);
2020
+ this.eql(val);
2021
+ flag2(this, "lockSsfi", prevLockSsfi);
2022
+ } else {
2023
+ this.assert(
2024
+ val === obj,
2025
+ "expected #{this} to equal #{exp}",
2026
+ "expected #{this} to not equal #{exp}",
2027
+ val,
2028
+ this._obj,
2029
+ true
2030
+ );
2031
+ }
2032
+ }
2033
+ __name(assertEqual, "assertEqual");
2034
+ Assertion.addMethod("equal", assertEqual);
2035
+ Assertion.addMethod("equals", assertEqual);
2036
+ Assertion.addMethod("eq", assertEqual);
2037
+ function assertEql(obj, msg) {
2038
+ if (msg)
2039
+ flag2(this, "message", msg);
2040
+ var eql = flag2(this, "eql");
2041
+ this.assert(
2042
+ eql(obj, flag2(this, "object")),
2043
+ "expected #{this} to deeply equal #{exp}",
2044
+ "expected #{this} to not deeply equal #{exp}",
2045
+ obj,
2046
+ this._obj,
2047
+ true
2048
+ );
2049
+ }
2050
+ __name(assertEql, "assertEql");
2051
+ Assertion.addMethod("eql", assertEql);
2052
+ Assertion.addMethod("eqls", assertEql);
2053
+ function assertAbove(n, msg) {
2054
+ if (msg)
2055
+ flag2(this, "message", msg);
2056
+ var obj = flag2(this, "object"), doLength = flag2(this, "doLength"), flagMsg = flag2(this, "message"), msgPrefix = flagMsg ? flagMsg + ": " : "", ssfi = flag2(this, "ssfi"), objType = type(obj).toLowerCase(), nType = type(n).toLowerCase(), errorMessage, shouldThrow = true;
2057
+ if (doLength && objType !== "map" && objType !== "set") {
2058
+ new Assertion(obj, flagMsg, ssfi, true).to.have.property("length");
2059
+ }
2060
+ if (!doLength && (objType === "date" && nType !== "date")) {
2061
+ errorMessage = msgPrefix + "the argument to above must be a date";
2062
+ } else if (nType !== "number" && (doLength || objType === "number")) {
2063
+ errorMessage = msgPrefix + "the argument to above must be a number";
2064
+ } else if (!doLength && (objType !== "date" && objType !== "number")) {
2065
+ var printObj = objType === "string" ? "'" + obj + "'" : obj;
2066
+ errorMessage = msgPrefix + "expected " + printObj + " to be a number or a date";
2067
+ } else {
2068
+ shouldThrow = false;
2069
+ }
2070
+ if (shouldThrow) {
2071
+ throw new AssertionError(errorMessage, void 0, ssfi);
2072
+ }
2073
+ if (doLength) {
2074
+ var descriptor = "length", itemsCount;
2075
+ if (objType === "map" || objType === "set") {
2076
+ descriptor = "size";
2077
+ itemsCount = obj.size;
2078
+ } else {
2079
+ itemsCount = obj.length;
2080
+ }
2081
+ this.assert(
2082
+ itemsCount > n,
2083
+ "expected #{this} to have a " + descriptor + " above #{exp} but got #{act}",
2084
+ "expected #{this} to not have a " + descriptor + " above #{exp}",
2085
+ n,
2086
+ itemsCount
2087
+ );
2088
+ } else {
2089
+ this.assert(
2090
+ obj > n,
2091
+ "expected #{this} to be above #{exp}",
2092
+ "expected #{this} to be at most #{exp}",
2093
+ n
2094
+ );
2095
+ }
2096
+ }
2097
+ __name(assertAbove, "assertAbove");
2098
+ Assertion.addMethod("above", assertAbove);
2099
+ Assertion.addMethod("gt", assertAbove);
2100
+ Assertion.addMethod("greaterThan", assertAbove);
2101
+ function assertLeast(n, msg) {
2102
+ if (msg)
2103
+ flag2(this, "message", msg);
2104
+ var obj = flag2(this, "object"), doLength = flag2(this, "doLength"), flagMsg = flag2(this, "message"), msgPrefix = flagMsg ? flagMsg + ": " : "", ssfi = flag2(this, "ssfi"), objType = type(obj).toLowerCase(), nType = type(n).toLowerCase(), errorMessage, shouldThrow = true;
2105
+ if (doLength && objType !== "map" && objType !== "set") {
2106
+ new Assertion(obj, flagMsg, ssfi, true).to.have.property("length");
2107
+ }
2108
+ if (!doLength && (objType === "date" && nType !== "date")) {
2109
+ errorMessage = msgPrefix + "the argument to least must be a date";
2110
+ } else if (nType !== "number" && (doLength || objType === "number")) {
2111
+ errorMessage = msgPrefix + "the argument to least must be a number";
2112
+ } else if (!doLength && (objType !== "date" && objType !== "number")) {
2113
+ var printObj = objType === "string" ? "'" + obj + "'" : obj;
2114
+ errorMessage = msgPrefix + "expected " + printObj + " to be a number or a date";
2115
+ } else {
2116
+ shouldThrow = false;
2117
+ }
2118
+ if (shouldThrow) {
2119
+ throw new AssertionError(errorMessage, void 0, ssfi);
2120
+ }
2121
+ if (doLength) {
2122
+ var descriptor = "length", itemsCount;
2123
+ if (objType === "map" || objType === "set") {
2124
+ descriptor = "size";
2125
+ itemsCount = obj.size;
2126
+ } else {
2127
+ itemsCount = obj.length;
2128
+ }
2129
+ this.assert(
2130
+ itemsCount >= n,
2131
+ "expected #{this} to have a " + descriptor + " at least #{exp} but got #{act}",
2132
+ "expected #{this} to have a " + descriptor + " below #{exp}",
2133
+ n,
2134
+ itemsCount
2135
+ );
2136
+ } else {
2137
+ this.assert(
2138
+ obj >= n,
2139
+ "expected #{this} to be at least #{exp}",
2140
+ "expected #{this} to be below #{exp}",
2141
+ n
2142
+ );
2143
+ }
2144
+ }
2145
+ __name(assertLeast, "assertLeast");
2146
+ Assertion.addMethod("least", assertLeast);
2147
+ Assertion.addMethod("gte", assertLeast);
2148
+ Assertion.addMethod("greaterThanOrEqual", assertLeast);
2149
+ function assertBelow(n, msg) {
2150
+ if (msg)
2151
+ flag2(this, "message", msg);
2152
+ var obj = flag2(this, "object"), doLength = flag2(this, "doLength"), flagMsg = flag2(this, "message"), msgPrefix = flagMsg ? flagMsg + ": " : "", ssfi = flag2(this, "ssfi"), objType = type(obj).toLowerCase(), nType = type(n).toLowerCase(), errorMessage, shouldThrow = true;
2153
+ if (doLength && objType !== "map" && objType !== "set") {
2154
+ new Assertion(obj, flagMsg, ssfi, true).to.have.property("length");
2155
+ }
2156
+ if (!doLength && (objType === "date" && nType !== "date")) {
2157
+ errorMessage = msgPrefix + "the argument to below must be a date";
2158
+ } else if (nType !== "number" && (doLength || objType === "number")) {
2159
+ errorMessage = msgPrefix + "the argument to below must be a number";
2160
+ } else if (!doLength && (objType !== "date" && objType !== "number")) {
2161
+ var printObj = objType === "string" ? "'" + obj + "'" : obj;
2162
+ errorMessage = msgPrefix + "expected " + printObj + " to be a number or a date";
2163
+ } else {
2164
+ shouldThrow = false;
2165
+ }
2166
+ if (shouldThrow) {
2167
+ throw new AssertionError(errorMessage, void 0, ssfi);
2168
+ }
2169
+ if (doLength) {
2170
+ var descriptor = "length", itemsCount;
2171
+ if (objType === "map" || objType === "set") {
2172
+ descriptor = "size";
2173
+ itemsCount = obj.size;
2174
+ } else {
2175
+ itemsCount = obj.length;
2176
+ }
2177
+ this.assert(
2178
+ itemsCount < n,
2179
+ "expected #{this} to have a " + descriptor + " below #{exp} but got #{act}",
2180
+ "expected #{this} to not have a " + descriptor + " below #{exp}",
2181
+ n,
2182
+ itemsCount
2183
+ );
2184
+ } else {
2185
+ this.assert(
2186
+ obj < n,
2187
+ "expected #{this} to be below #{exp}",
2188
+ "expected #{this} to be at least #{exp}",
2189
+ n
2190
+ );
2191
+ }
2192
+ }
2193
+ __name(assertBelow, "assertBelow");
2194
+ Assertion.addMethod("below", assertBelow);
2195
+ Assertion.addMethod("lt", assertBelow);
2196
+ Assertion.addMethod("lessThan", assertBelow);
2197
+ function assertMost(n, msg) {
2198
+ if (msg)
2199
+ flag2(this, "message", msg);
2200
+ var obj = flag2(this, "object"), doLength = flag2(this, "doLength"), flagMsg = flag2(this, "message"), msgPrefix = flagMsg ? flagMsg + ": " : "", ssfi = flag2(this, "ssfi"), objType = type(obj).toLowerCase(), nType = type(n).toLowerCase(), errorMessage, shouldThrow = true;
2201
+ if (doLength && objType !== "map" && objType !== "set") {
2202
+ new Assertion(obj, flagMsg, ssfi, true).to.have.property("length");
2203
+ }
2204
+ if (!doLength && (objType === "date" && nType !== "date")) {
2205
+ errorMessage = msgPrefix + "the argument to most must be a date";
2206
+ } else if (nType !== "number" && (doLength || objType === "number")) {
2207
+ errorMessage = msgPrefix + "the argument to most must be a number";
2208
+ } else if (!doLength && (objType !== "date" && objType !== "number")) {
2209
+ var printObj = objType === "string" ? "'" + obj + "'" : obj;
2210
+ errorMessage = msgPrefix + "expected " + printObj + " to be a number or a date";
2211
+ } else {
2212
+ shouldThrow = false;
2213
+ }
2214
+ if (shouldThrow) {
2215
+ throw new AssertionError(errorMessage, void 0, ssfi);
2216
+ }
2217
+ if (doLength) {
2218
+ var descriptor = "length", itemsCount;
2219
+ if (objType === "map" || objType === "set") {
2220
+ descriptor = "size";
2221
+ itemsCount = obj.size;
2222
+ } else {
2223
+ itemsCount = obj.length;
2224
+ }
2225
+ this.assert(
2226
+ itemsCount <= n,
2227
+ "expected #{this} to have a " + descriptor + " at most #{exp} but got #{act}",
2228
+ "expected #{this} to have a " + descriptor + " above #{exp}",
2229
+ n,
2230
+ itemsCount
2231
+ );
2232
+ } else {
2233
+ this.assert(
2234
+ obj <= n,
2235
+ "expected #{this} to be at most #{exp}",
2236
+ "expected #{this} to be above #{exp}",
2237
+ n
2238
+ );
2239
+ }
2240
+ }
2241
+ __name(assertMost, "assertMost");
2242
+ Assertion.addMethod("most", assertMost);
2243
+ Assertion.addMethod("lte", assertMost);
2244
+ Assertion.addMethod("lessThanOrEqual", assertMost);
2245
+ Assertion.addMethod("within", function(start, finish, msg) {
2246
+ if (msg)
2247
+ flag2(this, "message", msg);
2248
+ var obj = flag2(this, "object"), doLength = flag2(this, "doLength"), flagMsg = flag2(this, "message"), msgPrefix = flagMsg ? flagMsg + ": " : "", ssfi = flag2(this, "ssfi"), objType = type(obj).toLowerCase(), startType = type(start).toLowerCase(), finishType = type(finish).toLowerCase(), errorMessage, shouldThrow = true, range = startType === "date" && finishType === "date" ? start.toISOString() + ".." + finish.toISOString() : start + ".." + finish;
2249
+ if (doLength && objType !== "map" && objType !== "set") {
2250
+ new Assertion(obj, flagMsg, ssfi, true).to.have.property("length");
2251
+ }
2252
+ if (!doLength && (objType === "date" && (startType !== "date" || finishType !== "date"))) {
2253
+ errorMessage = msgPrefix + "the arguments to within must be dates";
2254
+ } else if ((startType !== "number" || finishType !== "number") && (doLength || objType === "number")) {
2255
+ errorMessage = msgPrefix + "the arguments to within must be numbers";
2256
+ } else if (!doLength && (objType !== "date" && objType !== "number")) {
2257
+ var printObj = objType === "string" ? "'" + obj + "'" : obj;
2258
+ errorMessage = msgPrefix + "expected " + printObj + " to be a number or a date";
2259
+ } else {
2260
+ shouldThrow = false;
2261
+ }
2262
+ if (shouldThrow) {
2263
+ throw new AssertionError(errorMessage, void 0, ssfi);
2264
+ }
2265
+ if (doLength) {
2266
+ var descriptor = "length", itemsCount;
2267
+ if (objType === "map" || objType === "set") {
2268
+ descriptor = "size";
2269
+ itemsCount = obj.size;
2270
+ } else {
2271
+ itemsCount = obj.length;
2272
+ }
2273
+ this.assert(
2274
+ itemsCount >= start && itemsCount <= finish,
2275
+ "expected #{this} to have a " + descriptor + " within " + range,
2276
+ "expected #{this} to not have a " + descriptor + " within " + range
2277
+ );
2278
+ } else {
2279
+ this.assert(
2280
+ obj >= start && obj <= finish,
2281
+ "expected #{this} to be within " + range,
2282
+ "expected #{this} to not be within " + range
2283
+ );
2284
+ }
2285
+ });
2286
+ function assertInstanceOf(constructor, msg) {
2287
+ if (msg)
2288
+ flag2(this, "message", msg);
2289
+ var target = flag2(this, "object");
2290
+ var ssfi = flag2(this, "ssfi");
2291
+ var flagMsg = flag2(this, "message");
2292
+ try {
2293
+ var isInstanceOf = target instanceof constructor;
2294
+ } catch (err) {
2295
+ if (err instanceof TypeError) {
2296
+ flagMsg = flagMsg ? flagMsg + ": " : "";
2297
+ throw new AssertionError(
2298
+ flagMsg + "The instanceof assertion needs a constructor but " + type(constructor) + " was given.",
2299
+ void 0,
2300
+ ssfi
2301
+ );
2302
+ }
2303
+ throw err;
2304
+ }
2305
+ var name = getName(constructor);
2306
+ if (name == null) {
2307
+ name = "an unnamed constructor";
2308
+ }
2309
+ this.assert(
2310
+ isInstanceOf,
2311
+ "expected #{this} to be an instance of " + name,
2312
+ "expected #{this} to not be an instance of " + name
2313
+ );
2314
+ }
2315
+ __name(assertInstanceOf, "assertInstanceOf");
2316
+ Assertion.addMethod("instanceof", assertInstanceOf);
2317
+ Assertion.addMethod("instanceOf", assertInstanceOf);
2318
+ function assertProperty(name, val, msg) {
2319
+ if (msg)
2320
+ flag2(this, "message", msg);
2321
+ var isNested = flag2(this, "nested"), isOwn = flag2(this, "own"), flagMsg = flag2(this, "message"), obj = flag2(this, "object"), ssfi = flag2(this, "ssfi"), nameType = typeof name;
2322
+ flagMsg = flagMsg ? flagMsg + ": " : "";
2323
+ if (isNested) {
2324
+ if (nameType !== "string") {
2325
+ throw new AssertionError(
2326
+ flagMsg + "the argument to property must be a string when using nested syntax",
2327
+ void 0,
2328
+ ssfi
2329
+ );
2330
+ }
2331
+ } else {
2332
+ if (nameType !== "string" && nameType !== "number" && nameType !== "symbol") {
2333
+ throw new AssertionError(
2334
+ flagMsg + "the argument to property must be a string, number, or symbol",
2335
+ void 0,
2336
+ ssfi
2337
+ );
2338
+ }
2339
+ }
2340
+ if (isNested && isOwn) {
2341
+ throw new AssertionError(
2342
+ flagMsg + 'The "nested" and "own" flags cannot be combined.',
2343
+ void 0,
2344
+ ssfi
2345
+ );
2346
+ }
2347
+ if (obj === null || obj === void 0) {
2348
+ throw new AssertionError(
2349
+ flagMsg + "Target cannot be null or undefined.",
2350
+ void 0,
2351
+ ssfi
2352
+ );
2353
+ }
2354
+ var isDeep = flag2(this, "deep"), negate = flag2(this, "negate"), pathInfo = isNested ? getPathInfo(obj, name) : null, value = isNested ? pathInfo.value : obj[name], isEql = isDeep ? flag2(this, "eql") : (val1, val2) => val1 === val2;
2355
+ var descriptor = "";
2356
+ if (isDeep)
2357
+ descriptor += "deep ";
2358
+ if (isOwn)
2359
+ descriptor += "own ";
2360
+ if (isNested)
2361
+ descriptor += "nested ";
2362
+ descriptor += "property ";
2363
+ var hasProperty2;
2364
+ if (isOwn)
2365
+ hasProperty2 = Object.prototype.hasOwnProperty.call(obj, name);
2366
+ else if (isNested)
2367
+ hasProperty2 = pathInfo.exists;
2368
+ else
2369
+ hasProperty2 = hasProperty(obj, name);
2370
+ if (!negate || arguments.length === 1) {
2371
+ this.assert(
2372
+ hasProperty2,
2373
+ "expected #{this} to have " + descriptor + inspect2(name),
2374
+ "expected #{this} to not have " + descriptor + inspect2(name)
2375
+ );
2376
+ }
2377
+ if (arguments.length > 1) {
2378
+ this.assert(
2379
+ hasProperty2 && isEql(val, value),
2380
+ "expected #{this} to have " + descriptor + inspect2(name) + " of #{exp}, but got #{act}",
2381
+ "expected #{this} to not have " + descriptor + inspect2(name) + " of #{act}",
2382
+ val,
2383
+ value
2384
+ );
2385
+ }
2386
+ flag2(this, "object", value);
2387
+ }
2388
+ __name(assertProperty, "assertProperty");
2389
+ Assertion.addMethod("property", assertProperty);
2390
+ function assertOwnProperty(name, value, msg) {
2391
+ flag2(this, "own", true);
2392
+ assertProperty.apply(this, arguments);
2393
+ }
2394
+ __name(assertOwnProperty, "assertOwnProperty");
2395
+ Assertion.addMethod("ownProperty", assertOwnProperty);
2396
+ Assertion.addMethod("haveOwnProperty", assertOwnProperty);
2397
+ function assertOwnPropertyDescriptor(name, descriptor, msg) {
2398
+ if (typeof descriptor === "string") {
2399
+ msg = descriptor;
2400
+ descriptor = null;
2401
+ }
2402
+ if (msg)
2403
+ flag2(this, "message", msg);
2404
+ var obj = flag2(this, "object");
2405
+ var actualDescriptor = Object.getOwnPropertyDescriptor(Object(obj), name);
2406
+ var eql = flag2(this, "eql");
2407
+ if (actualDescriptor && descriptor) {
2408
+ this.assert(
2409
+ eql(descriptor, actualDescriptor),
2410
+ "expected the own property descriptor for " + inspect2(name) + " on #{this} to match " + inspect2(descriptor) + ", got " + inspect2(actualDescriptor),
2411
+ "expected the own property descriptor for " + inspect2(name) + " on #{this} to not match " + inspect2(descriptor),
2412
+ descriptor,
2413
+ actualDescriptor,
2414
+ true
2415
+ );
2416
+ } else {
2417
+ this.assert(
2418
+ actualDescriptor,
2419
+ "expected #{this} to have an own property descriptor for " + inspect2(name),
2420
+ "expected #{this} to not have an own property descriptor for " + inspect2(name)
2421
+ );
2422
+ }
2423
+ flag2(this, "object", actualDescriptor);
2424
+ }
2425
+ __name(assertOwnPropertyDescriptor, "assertOwnPropertyDescriptor");
2426
+ Assertion.addMethod("ownPropertyDescriptor", assertOwnPropertyDescriptor);
2427
+ Assertion.addMethod("haveOwnPropertyDescriptor", assertOwnPropertyDescriptor);
2428
+ function assertLengthChain() {
2429
+ flag2(this, "doLength", true);
2430
+ }
2431
+ __name(assertLengthChain, "assertLengthChain");
2432
+ function assertLength(n, msg) {
2433
+ if (msg)
2434
+ flag2(this, "message", msg);
2435
+ var obj = flag2(this, "object"), objType = type(obj).toLowerCase(), flagMsg = flag2(this, "message"), ssfi = flag2(this, "ssfi"), descriptor = "length", itemsCount;
2436
+ switch (objType) {
2437
+ case "map":
2438
+ case "set":
2439
+ descriptor = "size";
2440
+ itemsCount = obj.size;
2441
+ break;
2442
+ default:
2443
+ new Assertion(obj, flagMsg, ssfi, true).to.have.property("length");
2444
+ itemsCount = obj.length;
2445
+ }
2446
+ this.assert(
2447
+ itemsCount == n,
2448
+ "expected #{this} to have a " + descriptor + " of #{exp} but got #{act}",
2449
+ "expected #{this} to not have a " + descriptor + " of #{act}",
2450
+ n,
2451
+ itemsCount
2452
+ );
2453
+ }
2454
+ __name(assertLength, "assertLength");
2455
+ Assertion.addChainableMethod("length", assertLength, assertLengthChain);
2456
+ Assertion.addChainableMethod("lengthOf", assertLength, assertLengthChain);
2457
+ function assertMatch(re, msg) {
2458
+ if (msg)
2459
+ flag2(this, "message", msg);
2460
+ var obj = flag2(this, "object");
2461
+ this.assert(
2462
+ re.exec(obj),
2463
+ "expected #{this} to match " + re,
2464
+ "expected #{this} not to match " + re
2465
+ );
2466
+ }
2467
+ __name(assertMatch, "assertMatch");
2468
+ Assertion.addMethod("match", assertMatch);
2469
+ Assertion.addMethod("matches", assertMatch);
2470
+ Assertion.addMethod("string", function(str, msg) {
2471
+ if (msg)
2472
+ flag2(this, "message", msg);
2473
+ var obj = flag2(this, "object"), flagMsg = flag2(this, "message"), ssfi = flag2(this, "ssfi");
2474
+ new Assertion(obj, flagMsg, ssfi, true).is.a("string");
2475
+ this.assert(
2476
+ ~obj.indexOf(str),
2477
+ "expected #{this} to contain " + inspect2(str),
2478
+ "expected #{this} to not contain " + inspect2(str)
2479
+ );
2480
+ });
2481
+ function assertKeys(keys) {
2482
+ var obj = flag2(this, "object"), objType = type(obj), keysType = type(keys), ssfi = flag2(this, "ssfi"), isDeep = flag2(this, "deep"), str, deepStr = "", actual, ok = true, flagMsg = flag2(this, "message");
2483
+ flagMsg = flagMsg ? flagMsg + ": " : "";
2484
+ var mixedArgsMsg = flagMsg + "when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";
2485
+ if (objType === "Map" || objType === "Set") {
2486
+ deepStr = isDeep ? "deeply " : "";
2487
+ actual = [];
2488
+ obj.forEach(function(val, key) {
2489
+ actual.push(key);
2490
+ });
2491
+ if (keysType !== "Array") {
2492
+ keys = Array.prototype.slice.call(arguments);
2493
+ }
2494
+ } else {
2495
+ actual = getOwnEnumerableProperties(obj);
2496
+ switch (keysType) {
2497
+ case "Array":
2498
+ if (arguments.length > 1) {
2499
+ throw new AssertionError(mixedArgsMsg, void 0, ssfi);
2500
+ }
2501
+ break;
2502
+ case "Object":
2503
+ if (arguments.length > 1) {
2504
+ throw new AssertionError(mixedArgsMsg, void 0, ssfi);
2505
+ }
2506
+ keys = Object.keys(keys);
2507
+ break;
2508
+ default:
2509
+ keys = Array.prototype.slice.call(arguments);
2510
+ }
2511
+ keys = keys.map(function(val) {
2512
+ return typeof val === "symbol" ? val : String(val);
2513
+ });
2514
+ }
2515
+ if (!keys.length) {
2516
+ throw new AssertionError(flagMsg + "keys required", void 0, ssfi);
2517
+ }
2518
+ var len = keys.length, any = flag2(this, "any"), all = flag2(this, "all"), expected = keys, isEql = isDeep ? flag2(this, "eql") : (val1, val2) => val1 === val2;
2519
+ if (!any && !all) {
2520
+ all = true;
2521
+ }
2522
+ if (any) {
2523
+ ok = expected.some(function(expectedKey) {
2524
+ return actual.some(function(actualKey) {
2525
+ return isEql(expectedKey, actualKey);
2526
+ });
2527
+ });
2528
+ }
2529
+ if (all) {
2530
+ ok = expected.every(function(expectedKey) {
2531
+ return actual.some(function(actualKey) {
2532
+ return isEql(expectedKey, actualKey);
2533
+ });
2534
+ });
2535
+ if (!flag2(this, "contains")) {
2536
+ ok = ok && keys.length == actual.length;
2537
+ }
2538
+ }
2539
+ if (len > 1) {
2540
+ keys = keys.map(function(key) {
2541
+ return inspect2(key);
2542
+ });
2543
+ var last = keys.pop();
2544
+ if (all) {
2545
+ str = keys.join(", ") + ", and " + last;
2546
+ }
2547
+ if (any) {
2548
+ str = keys.join(", ") + ", or " + last;
2549
+ }
2550
+ } else {
2551
+ str = inspect2(keys[0]);
2552
+ }
2553
+ str = (len > 1 ? "keys " : "key ") + str;
2554
+ str = (flag2(this, "contains") ? "contain " : "have ") + str;
2555
+ this.assert(
2556
+ ok,
2557
+ "expected #{this} to " + deepStr + str,
2558
+ "expected #{this} to not " + deepStr + str,
2559
+ expected.slice(0).sort(compareByInspect),
2560
+ actual.sort(compareByInspect),
2561
+ true
2562
+ );
2563
+ }
2564
+ __name(assertKeys, "assertKeys");
2565
+ Assertion.addMethod("keys", assertKeys);
2566
+ Assertion.addMethod("key", assertKeys);
2567
+ function assertThrows(errorLike, errMsgMatcher, msg) {
2568
+ if (msg)
2569
+ flag2(this, "message", msg);
2570
+ var obj = flag2(this, "object"), ssfi = flag2(this, "ssfi"), flagMsg = flag2(this, "message"), negate = flag2(this, "negate") || false;
2571
+ new Assertion(obj, flagMsg, ssfi, true).is.a("function");
2572
+ if (isRegExp2(errorLike) || typeof errorLike === "string") {
2573
+ errMsgMatcher = errorLike;
2574
+ errorLike = null;
2575
+ }
2576
+ let caughtErr;
2577
+ let errorWasThrown = false;
2578
+ try {
2579
+ obj();
2580
+ } catch (err) {
2581
+ errorWasThrown = true;
2582
+ caughtErr = err;
2583
+ }
2584
+ var everyArgIsUndefined = errorLike === void 0 && errMsgMatcher === void 0;
2585
+ var everyArgIsDefined = Boolean(errorLike && errMsgMatcher);
2586
+ var errorLikeFail = false;
2587
+ var errMsgMatcherFail = false;
2588
+ if (everyArgIsUndefined || !everyArgIsUndefined && !negate) {
2589
+ var errorLikeString = "an error";
2590
+ if (errorLike instanceof Error) {
2591
+ errorLikeString = "#{exp}";
2592
+ } else if (errorLike) {
2593
+ errorLikeString = check_error_exports.getConstructorName(errorLike);
2594
+ }
2595
+ let actual = caughtErr;
2596
+ if (caughtErr instanceof Error) {
2597
+ actual = caughtErr.toString();
2598
+ } else if (typeof caughtErr === "string") {
2599
+ actual = caughtErr;
2600
+ } else if (caughtErr && (typeof caughtErr === "object" || typeof caughtErr === "function")) {
2601
+ try {
2602
+ actual = check_error_exports.getConstructorName(caughtErr);
2603
+ } catch (_err) {
2604
+ }
2605
+ }
2606
+ this.assert(
2607
+ errorWasThrown,
2608
+ "expected #{this} to throw " + errorLikeString,
2609
+ "expected #{this} to not throw an error but #{act} was thrown",
2610
+ errorLike && errorLike.toString(),
2611
+ actual
2612
+ );
2613
+ }
2614
+ if (errorLike && caughtErr) {
2615
+ if (errorLike instanceof Error) {
2616
+ var isCompatibleInstance = check_error_exports.compatibleInstance(caughtErr, errorLike);
2617
+ if (isCompatibleInstance === negate) {
2618
+ if (everyArgIsDefined && negate) {
2619
+ errorLikeFail = true;
2620
+ } else {
2621
+ this.assert(
2622
+ negate,
2623
+ "expected #{this} to throw #{exp} but #{act} was thrown",
2624
+ "expected #{this} to not throw #{exp}" + (caughtErr && !negate ? " but #{act} was thrown" : ""),
2625
+ errorLike.toString(),
2626
+ caughtErr.toString()
2627
+ );
2628
+ }
2629
+ }
2630
+ }
2631
+ var isCompatibleConstructor = check_error_exports.compatibleConstructor(caughtErr, errorLike);
2632
+ if (isCompatibleConstructor === negate) {
2633
+ if (everyArgIsDefined && negate) {
2634
+ errorLikeFail = true;
2635
+ } else {
2636
+ this.assert(
2637
+ negate,
2638
+ "expected #{this} to throw #{exp} but #{act} was thrown",
2639
+ "expected #{this} to not throw #{exp}" + (caughtErr ? " but #{act} was thrown" : ""),
2640
+ errorLike instanceof Error ? errorLike.toString() : errorLike && check_error_exports.getConstructorName(errorLike),
2641
+ caughtErr instanceof Error ? caughtErr.toString() : caughtErr && check_error_exports.getConstructorName(caughtErr)
2642
+ );
2643
+ }
2644
+ }
2645
+ }
2646
+ if (caughtErr && errMsgMatcher !== void 0 && errMsgMatcher !== null) {
2647
+ var placeholder = "including";
2648
+ if (isRegExp2(errMsgMatcher)) {
2649
+ placeholder = "matching";
2650
+ }
2651
+ var isCompatibleMessage = check_error_exports.compatibleMessage(caughtErr, errMsgMatcher);
2652
+ if (isCompatibleMessage === negate) {
2653
+ if (everyArgIsDefined && negate) {
2654
+ errMsgMatcherFail = true;
2655
+ } else {
2656
+ this.assert(
2657
+ negate,
2658
+ "expected #{this} to throw error " + placeholder + " #{exp} but got #{act}",
2659
+ "expected #{this} to throw error not " + placeholder + " #{exp}",
2660
+ errMsgMatcher,
2661
+ check_error_exports.getMessage(caughtErr)
2662
+ );
2663
+ }
2664
+ }
2665
+ }
2666
+ if (errorLikeFail && errMsgMatcherFail) {
2667
+ this.assert(
2668
+ negate,
2669
+ "expected #{this} to throw #{exp} but #{act} was thrown",
2670
+ "expected #{this} to not throw #{exp}" + (caughtErr ? " but #{act} was thrown" : ""),
2671
+ errorLike instanceof Error ? errorLike.toString() : errorLike && check_error_exports.getConstructorName(errorLike),
2672
+ caughtErr instanceof Error ? caughtErr.toString() : caughtErr && check_error_exports.getConstructorName(caughtErr)
2673
+ );
2674
+ }
2675
+ flag2(this, "object", caughtErr);
2676
+ }
2677
+ __name(assertThrows, "assertThrows");
2678
+ Assertion.addMethod("throw", assertThrows);
2679
+ Assertion.addMethod("throws", assertThrows);
2680
+ Assertion.addMethod("Throw", assertThrows);
2681
+ function respondTo(method, msg) {
2682
+ if (msg)
2683
+ flag2(this, "message", msg);
2684
+ var obj = flag2(this, "object"), itself = flag2(this, "itself"), context = "function" === typeof obj && !itself ? obj.prototype[method] : obj[method];
2685
+ this.assert(
2686
+ "function" === typeof context,
2687
+ "expected #{this} to respond to " + inspect2(method),
2688
+ "expected #{this} to not respond to " + inspect2(method)
2689
+ );
2690
+ }
2691
+ __name(respondTo, "respondTo");
2692
+ Assertion.addMethod("respondTo", respondTo);
2693
+ Assertion.addMethod("respondsTo", respondTo);
2694
+ Assertion.addProperty("itself", function() {
2695
+ flag2(this, "itself", true);
2696
+ });
2697
+ function satisfy(matcher, msg) {
2698
+ if (msg)
2699
+ flag2(this, "message", msg);
2700
+ var obj = flag2(this, "object");
2701
+ var result = matcher(obj);
2702
+ this.assert(
2703
+ result,
2704
+ "expected #{this} to satisfy " + objDisplay(matcher),
2705
+ "expected #{this} to not satisfy" + objDisplay(matcher),
2706
+ flag2(this, "negate") ? false : true,
2707
+ result
2708
+ );
2709
+ }
2710
+ __name(satisfy, "satisfy");
2711
+ Assertion.addMethod("satisfy", satisfy);
2712
+ Assertion.addMethod("satisfies", satisfy);
2713
+ function closeTo(expected, delta, msg) {
2714
+ if (msg)
2715
+ flag2(this, "message", msg);
2716
+ var obj = flag2(this, "object"), flagMsg = flag2(this, "message"), ssfi = flag2(this, "ssfi");
2717
+ new Assertion(obj, flagMsg, ssfi, true).is.a("number");
2718
+ if (typeof expected !== "number" || typeof delta !== "number") {
2719
+ flagMsg = flagMsg ? flagMsg + ": " : "";
2720
+ var deltaMessage = delta === void 0 ? ", and a delta is required" : "";
2721
+ throw new AssertionError(
2722
+ flagMsg + "the arguments to closeTo or approximately must be numbers" + deltaMessage,
2723
+ void 0,
2724
+ ssfi
2725
+ );
2726
+ }
2727
+ this.assert(
2728
+ Math.abs(obj - expected) <= delta,
2729
+ "expected #{this} to be close to " + expected + " +/- " + delta,
2730
+ "expected #{this} not to be close to " + expected + " +/- " + delta
2731
+ );
2732
+ }
2733
+ __name(closeTo, "closeTo");
2734
+ Assertion.addMethod("closeTo", closeTo);
2735
+ Assertion.addMethod("approximately", closeTo);
2736
+ function isSubsetOf(_subset, _superset, cmp, contains, ordered) {
2737
+ let superset = Array.from(_superset);
2738
+ let subset = Array.from(_subset);
2739
+ if (!contains) {
2740
+ if (subset.length !== superset.length)
2741
+ return false;
2742
+ superset = superset.slice();
2743
+ }
2744
+ return subset.every(function(elem, idx) {
2745
+ if (ordered)
2746
+ return cmp ? cmp(elem, superset[idx]) : elem === superset[idx];
2747
+ if (!cmp) {
2748
+ var matchIdx = superset.indexOf(elem);
2749
+ if (matchIdx === -1)
2750
+ return false;
2751
+ if (!contains)
2752
+ superset.splice(matchIdx, 1);
2753
+ return true;
2754
+ }
2755
+ return superset.some(function(elem2, matchIdx2) {
2756
+ if (!cmp(elem, elem2))
2757
+ return false;
2758
+ if (!contains)
2759
+ superset.splice(matchIdx2, 1);
2760
+ return true;
2761
+ });
2762
+ });
2763
+ }
2764
+ __name(isSubsetOf, "isSubsetOf");
2765
+ Assertion.addMethod("members", function(subset, msg) {
2766
+ if (msg)
2767
+ flag2(this, "message", msg);
2768
+ var obj = flag2(this, "object"), flagMsg = flag2(this, "message"), ssfi = flag2(this, "ssfi");
2769
+ new Assertion(obj, flagMsg, ssfi, true).to.be.iterable;
2770
+ new Assertion(subset, flagMsg, ssfi, true).to.be.iterable;
2771
+ var contains = flag2(this, "contains");
2772
+ var ordered = flag2(this, "ordered");
2773
+ var subject, failMsg, failNegateMsg;
2774
+ if (contains) {
2775
+ subject = ordered ? "an ordered superset" : "a superset";
2776
+ failMsg = "expected #{this} to be " + subject + " of #{exp}";
2777
+ failNegateMsg = "expected #{this} to not be " + subject + " of #{exp}";
2778
+ } else {
2779
+ subject = ordered ? "ordered members" : "members";
2780
+ failMsg = "expected #{this} to have the same " + subject + " as #{exp}";
2781
+ failNegateMsg = "expected #{this} to not have the same " + subject + " as #{exp}";
2782
+ }
2783
+ var cmp = flag2(this, "deep") ? flag2(this, "eql") : void 0;
2784
+ this.assert(
2785
+ isSubsetOf(subset, obj, cmp, contains, ordered),
2786
+ failMsg,
2787
+ failNegateMsg,
2788
+ subset,
2789
+ obj,
2790
+ true
2791
+ );
2792
+ });
2793
+ Assertion.addProperty("iterable", function(msg) {
2794
+ if (msg)
2795
+ flag2(this, "message", msg);
2796
+ var obj = flag2(this, "object");
2797
+ this.assert(
2798
+ obj != void 0 && obj[Symbol.iterator],
2799
+ "expected #{this} to be an iterable",
2800
+ "expected #{this} to not be an iterable",
2801
+ obj
2802
+ );
2803
+ });
2804
+ function oneOf(list, msg) {
2805
+ if (msg)
2806
+ flag2(this, "message", msg);
2807
+ var expected = flag2(this, "object"), flagMsg = flag2(this, "message"), ssfi = flag2(this, "ssfi"), contains = flag2(this, "contains"), isDeep = flag2(this, "deep"), eql = flag2(this, "eql");
2808
+ new Assertion(list, flagMsg, ssfi, true).to.be.an("array");
2809
+ if (contains) {
2810
+ this.assert(
2811
+ list.some(function(possibility) {
2812
+ return expected.indexOf(possibility) > -1;
2813
+ }),
2814
+ "expected #{this} to contain one of #{exp}",
2815
+ "expected #{this} to not contain one of #{exp}",
2816
+ list,
2817
+ expected
2818
+ );
2819
+ } else {
2820
+ if (isDeep) {
2821
+ this.assert(
2822
+ list.some(function(possibility) {
2823
+ return eql(expected, possibility);
2824
+ }),
2825
+ "expected #{this} to deeply equal one of #{exp}",
2826
+ "expected #{this} to deeply equal one of #{exp}",
2827
+ list,
2828
+ expected
2829
+ );
2830
+ } else {
2831
+ this.assert(
2832
+ list.indexOf(expected) > -1,
2833
+ "expected #{this} to be one of #{exp}",
2834
+ "expected #{this} to not be one of #{exp}",
2835
+ list,
2836
+ expected
2837
+ );
2838
+ }
2839
+ }
2840
+ }
2841
+ __name(oneOf, "oneOf");
2842
+ Assertion.addMethod("oneOf", oneOf);
2843
+ function assertChanges(subject, prop, msg) {
2844
+ if (msg)
2845
+ flag2(this, "message", msg);
2846
+ var fn = flag2(this, "object"), flagMsg = flag2(this, "message"), ssfi = flag2(this, "ssfi");
2847
+ new Assertion(fn, flagMsg, ssfi, true).is.a("function");
2848
+ var initial;
2849
+ if (!prop) {
2850
+ new Assertion(subject, flagMsg, ssfi, true).is.a("function");
2851
+ initial = subject();
2852
+ } else {
2853
+ new Assertion(subject, flagMsg, ssfi, true).to.have.property(prop);
2854
+ initial = subject[prop];
2855
+ }
2856
+ fn();
2857
+ var final = prop === void 0 || prop === null ? subject() : subject[prop];
2858
+ var msgObj = prop === void 0 || prop === null ? initial : "." + prop;
2859
+ flag2(this, "deltaMsgObj", msgObj);
2860
+ flag2(this, "initialDeltaValue", initial);
2861
+ flag2(this, "finalDeltaValue", final);
2862
+ flag2(this, "deltaBehavior", "change");
2863
+ flag2(this, "realDelta", final !== initial);
2864
+ this.assert(
2865
+ initial !== final,
2866
+ "expected " + msgObj + " to change",
2867
+ "expected " + msgObj + " to not change"
2868
+ );
2869
+ }
2870
+ __name(assertChanges, "assertChanges");
2871
+ Assertion.addMethod("change", assertChanges);
2872
+ Assertion.addMethod("changes", assertChanges);
2873
+ function assertIncreases(subject, prop, msg) {
2874
+ if (msg)
2875
+ flag2(this, "message", msg);
2876
+ var fn = flag2(this, "object"), flagMsg = flag2(this, "message"), ssfi = flag2(this, "ssfi");
2877
+ new Assertion(fn, flagMsg, ssfi, true).is.a("function");
2878
+ var initial;
2879
+ if (!prop) {
2880
+ new Assertion(subject, flagMsg, ssfi, true).is.a("function");
2881
+ initial = subject();
2882
+ } else {
2883
+ new Assertion(subject, flagMsg, ssfi, true).to.have.property(prop);
2884
+ initial = subject[prop];
2885
+ }
2886
+ new Assertion(initial, flagMsg, ssfi, true).is.a("number");
2887
+ fn();
2888
+ var final = prop === void 0 || prop === null ? subject() : subject[prop];
2889
+ var msgObj = prop === void 0 || prop === null ? initial : "." + prop;
2890
+ flag2(this, "deltaMsgObj", msgObj);
2891
+ flag2(this, "initialDeltaValue", initial);
2892
+ flag2(this, "finalDeltaValue", final);
2893
+ flag2(this, "deltaBehavior", "increase");
2894
+ flag2(this, "realDelta", final - initial);
2895
+ this.assert(
2896
+ final - initial > 0,
2897
+ "expected " + msgObj + " to increase",
2898
+ "expected " + msgObj + " to not increase"
2899
+ );
2900
+ }
2901
+ __name(assertIncreases, "assertIncreases");
2902
+ Assertion.addMethod("increase", assertIncreases);
2903
+ Assertion.addMethod("increases", assertIncreases);
2904
+ function assertDecreases(subject, prop, msg) {
2905
+ if (msg)
2906
+ flag2(this, "message", msg);
2907
+ var fn = flag2(this, "object"), flagMsg = flag2(this, "message"), ssfi = flag2(this, "ssfi");
2908
+ new Assertion(fn, flagMsg, ssfi, true).is.a("function");
2909
+ var initial;
2910
+ if (!prop) {
2911
+ new Assertion(subject, flagMsg, ssfi, true).is.a("function");
2912
+ initial = subject();
2913
+ } else {
2914
+ new Assertion(subject, flagMsg, ssfi, true).to.have.property(prop);
2915
+ initial = subject[prop];
2916
+ }
2917
+ new Assertion(initial, flagMsg, ssfi, true).is.a("number");
2918
+ fn();
2919
+ var final = prop === void 0 || prop === null ? subject() : subject[prop];
2920
+ var msgObj = prop === void 0 || prop === null ? initial : "." + prop;
2921
+ flag2(this, "deltaMsgObj", msgObj);
2922
+ flag2(this, "initialDeltaValue", initial);
2923
+ flag2(this, "finalDeltaValue", final);
2924
+ flag2(this, "deltaBehavior", "decrease");
2925
+ flag2(this, "realDelta", initial - final);
2926
+ this.assert(
2927
+ final - initial < 0,
2928
+ "expected " + msgObj + " to decrease",
2929
+ "expected " + msgObj + " to not decrease"
2930
+ );
2931
+ }
2932
+ __name(assertDecreases, "assertDecreases");
2933
+ Assertion.addMethod("decrease", assertDecreases);
2934
+ Assertion.addMethod("decreases", assertDecreases);
2935
+ function assertDelta(delta, msg) {
2936
+ if (msg)
2937
+ flag2(this, "message", msg);
2938
+ var msgObj = flag2(this, "deltaMsgObj");
2939
+ var initial = flag2(this, "initialDeltaValue");
2940
+ var final = flag2(this, "finalDeltaValue");
2941
+ var behavior = flag2(this, "deltaBehavior");
2942
+ var realDelta = flag2(this, "realDelta");
2943
+ var expression;
2944
+ if (behavior === "change") {
2945
+ expression = Math.abs(final - initial) === Math.abs(delta);
2946
+ } else {
2947
+ expression = realDelta === Math.abs(delta);
2948
+ }
2949
+ this.assert(
2950
+ expression,
2951
+ "expected " + msgObj + " to " + behavior + " by " + delta,
2952
+ "expected " + msgObj + " to not " + behavior + " by " + delta
2953
+ );
2954
+ }
2955
+ __name(assertDelta, "assertDelta");
2956
+ Assertion.addMethod("by", assertDelta);
2957
+ Assertion.addProperty("extensible", function() {
2958
+ var obj = flag2(this, "object");
2959
+ var isExtensible = obj === Object(obj) && Object.isExtensible(obj);
2960
+ this.assert(
2961
+ isExtensible,
2962
+ "expected #{this} to be extensible",
2963
+ "expected #{this} to not be extensible"
2964
+ );
2965
+ });
2966
+ Assertion.addProperty("sealed", function() {
2967
+ var obj = flag2(this, "object");
2968
+ var isSealed = obj === Object(obj) ? Object.isSealed(obj) : true;
2969
+ this.assert(
2970
+ isSealed,
2971
+ "expected #{this} to be sealed",
2972
+ "expected #{this} to not be sealed"
2973
+ );
2974
+ });
2975
+ Assertion.addProperty("frozen", function() {
2976
+ var obj = flag2(this, "object");
2977
+ var isFrozen = obj === Object(obj) ? Object.isFrozen(obj) : true;
2978
+ this.assert(
2979
+ isFrozen,
2980
+ "expected #{this} to be frozen",
2981
+ "expected #{this} to not be frozen"
2982
+ );
2983
+ });
2984
+ Assertion.addProperty("finite", function(msg) {
2985
+ var obj = flag2(this, "object");
2986
+ this.assert(
2987
+ typeof obj === "number" && isFinite(obj),
2988
+ "expected #{this} to be a finite number",
2989
+ "expected #{this} to not be a finite number"
2990
+ );
2991
+ });
2992
+ function expect(val, message) {
2993
+ return new Assertion(val, message);
2994
+ }
2995
+ __name(expect, "expect");
2996
+ expect.fail = function(actual, expected, message, operator) {
2997
+ if (arguments.length < 2) {
2998
+ message = actual;
2999
+ actual = void 0;
3000
+ }
3001
+ message = message || "expect.fail()";
3002
+ throw new AssertionError(message, {
3003
+ actual,
3004
+ expected,
3005
+ operator
3006
+ }, expect.fail);
3007
+ };
3008
+ var should_exports = {};
3009
+ __export(should_exports, {
3010
+ Should: () => Should,
3011
+ should: () => should
3012
+ });
3013
+ function loadShould() {
3014
+ function shouldGetter() {
3015
+ if (this instanceof String || this instanceof Number || this instanceof Boolean || typeof Symbol === "function" && this instanceof Symbol || typeof BigInt === "function" && this instanceof BigInt) {
3016
+ return new Assertion(this.valueOf(), null, shouldGetter);
3017
+ }
3018
+ return new Assertion(this, null, shouldGetter);
3019
+ }
3020
+ __name(shouldGetter, "shouldGetter");
3021
+ function shouldSetter(value) {
3022
+ Object.defineProperty(this, "should", {
3023
+ value,
3024
+ enumerable: true,
3025
+ configurable: true,
3026
+ writable: true
3027
+ });
3028
+ }
3029
+ __name(shouldSetter, "shouldSetter");
3030
+ Object.defineProperty(Object.prototype, "should", {
3031
+ set: shouldSetter,
3032
+ get: shouldGetter,
3033
+ configurable: true
3034
+ });
3035
+ var should2 = {};
3036
+ should2.fail = function(actual, expected, message, operator) {
3037
+ if (arguments.length < 2) {
3038
+ message = actual;
3039
+ actual = void 0;
3040
+ }
3041
+ message = message || "should.fail()";
3042
+ throw new AssertionError(message, {
3043
+ actual,
3044
+ expected,
3045
+ operator
3046
+ }, should2.fail);
3047
+ };
3048
+ should2.equal = function(actual, expected, message) {
3049
+ new Assertion(actual, message).to.equal(expected);
3050
+ };
3051
+ should2.Throw = function(fn, errt, errs, msg) {
3052
+ new Assertion(fn, msg).to.Throw(errt, errs);
3053
+ };
3054
+ should2.exist = function(val, msg) {
3055
+ new Assertion(val, msg).to.exist;
3056
+ };
3057
+ should2.not = {};
3058
+ should2.not.equal = function(actual, expected, msg) {
3059
+ new Assertion(actual, msg).to.not.equal(expected);
3060
+ };
3061
+ should2.not.Throw = function(fn, errt, errs, msg) {
3062
+ new Assertion(fn, msg).to.not.Throw(errt, errs);
3063
+ };
3064
+ should2.not.exist = function(val, msg) {
3065
+ new Assertion(val, msg).to.not.exist;
3066
+ };
3067
+ should2["throw"] = should2["Throw"];
3068
+ should2.not["throw"] = should2.not["Throw"];
3069
+ return should2;
3070
+ }
3071
+ __name(loadShould, "loadShould");
3072
+ var should = loadShould;
3073
+ var Should = loadShould;
3074
+ function assert(express, errmsg) {
3075
+ var test2 = new Assertion(null, null, assert, true);
3076
+ test2.assert(
3077
+ express,
3078
+ errmsg,
3079
+ "[ negation message unavailable ]"
3080
+ );
3081
+ }
3082
+ __name(assert, "assert");
3083
+ assert.fail = function(actual, expected, message, operator) {
3084
+ if (arguments.length < 2) {
3085
+ message = actual;
3086
+ actual = void 0;
3087
+ }
3088
+ message = message || "assert.fail()";
3089
+ throw new AssertionError(message, {
3090
+ actual,
3091
+ expected,
3092
+ operator
3093
+ }, assert.fail);
3094
+ };
3095
+ assert.isOk = function(val, msg) {
3096
+ new Assertion(val, msg, assert.isOk, true).is.ok;
3097
+ };
3098
+ assert.isNotOk = function(val, msg) {
3099
+ new Assertion(val, msg, assert.isNotOk, true).is.not.ok;
3100
+ };
3101
+ assert.equal = function(act, exp, msg) {
3102
+ var test2 = new Assertion(act, msg, assert.equal, true);
3103
+ test2.assert(
3104
+ exp == flag(test2, "object"),
3105
+ "expected #{this} to equal #{exp}",
3106
+ "expected #{this} to not equal #{act}",
3107
+ exp,
3108
+ act,
3109
+ true
3110
+ );
3111
+ };
3112
+ assert.notEqual = function(act, exp, msg) {
3113
+ var test2 = new Assertion(act, msg, assert.notEqual, true);
3114
+ test2.assert(
3115
+ exp != flag(test2, "object"),
3116
+ "expected #{this} to not equal #{exp}",
3117
+ "expected #{this} to equal #{act}",
3118
+ exp,
3119
+ act,
3120
+ true
3121
+ );
3122
+ };
3123
+ assert.strictEqual = function(act, exp, msg) {
3124
+ new Assertion(act, msg, assert.strictEqual, true).to.equal(exp);
3125
+ };
3126
+ assert.notStrictEqual = function(act, exp, msg) {
3127
+ new Assertion(act, msg, assert.notStrictEqual, true).to.not.equal(exp);
3128
+ };
3129
+ assert.deepEqual = assert.deepStrictEqual = function(act, exp, msg) {
3130
+ new Assertion(act, msg, assert.deepEqual, true).to.eql(exp);
3131
+ };
3132
+ assert.notDeepEqual = function(act, exp, msg) {
3133
+ new Assertion(act, msg, assert.notDeepEqual, true).to.not.eql(exp);
3134
+ };
3135
+ assert.isAbove = function(val, abv, msg) {
3136
+ new Assertion(val, msg, assert.isAbove, true).to.be.above(abv);
3137
+ };
3138
+ assert.isAtLeast = function(val, atlst, msg) {
3139
+ new Assertion(val, msg, assert.isAtLeast, true).to.be.least(atlst);
3140
+ };
3141
+ assert.isBelow = function(val, blw, msg) {
3142
+ new Assertion(val, msg, assert.isBelow, true).to.be.below(blw);
3143
+ };
3144
+ assert.isAtMost = function(val, atmst, msg) {
3145
+ new Assertion(val, msg, assert.isAtMost, true).to.be.most(atmst);
3146
+ };
3147
+ assert.isTrue = function(val, msg) {
3148
+ new Assertion(val, msg, assert.isTrue, true).is["true"];
3149
+ };
3150
+ assert.isNotTrue = function(val, msg) {
3151
+ new Assertion(val, msg, assert.isNotTrue, true).to.not.equal(true);
3152
+ };
3153
+ assert.isFalse = function(val, msg) {
3154
+ new Assertion(val, msg, assert.isFalse, true).is["false"];
3155
+ };
3156
+ assert.isNotFalse = function(val, msg) {
3157
+ new Assertion(val, msg, assert.isNotFalse, true).to.not.equal(false);
3158
+ };
3159
+ assert.isNull = function(val, msg) {
3160
+ new Assertion(val, msg, assert.isNull, true).to.equal(null);
3161
+ };
3162
+ assert.isNotNull = function(val, msg) {
3163
+ new Assertion(val, msg, assert.isNotNull, true).to.not.equal(null);
3164
+ };
3165
+ assert.isNaN = function(val, msg) {
3166
+ new Assertion(val, msg, assert.isNaN, true).to.be.NaN;
3167
+ };
3168
+ assert.isNotNaN = function(value, message) {
3169
+ new Assertion(value, message, assert.isNotNaN, true).not.to.be.NaN;
3170
+ };
3171
+ assert.exists = function(val, msg) {
3172
+ new Assertion(val, msg, assert.exists, true).to.exist;
3173
+ };
3174
+ assert.notExists = function(val, msg) {
3175
+ new Assertion(val, msg, assert.notExists, true).to.not.exist;
3176
+ };
3177
+ assert.isUndefined = function(val, msg) {
3178
+ new Assertion(val, msg, assert.isUndefined, true).to.equal(void 0);
3179
+ };
3180
+ assert.isDefined = function(val, msg) {
3181
+ new Assertion(val, msg, assert.isDefined, true).to.not.equal(void 0);
3182
+ };
3183
+ assert.isCallable = function(value, message) {
3184
+ new Assertion(value, message, assert.isCallable, true).is.callable;
3185
+ };
3186
+ assert.isNotCallable = function(value, message) {
3187
+ new Assertion(value, message, assert.isNotCallable, true).is.not.callable;
3188
+ };
3189
+ assert.isObject = function(val, msg) {
3190
+ new Assertion(val, msg, assert.isObject, true).to.be.a("object");
3191
+ };
3192
+ assert.isNotObject = function(val, msg) {
3193
+ new Assertion(val, msg, assert.isNotObject, true).to.not.be.a("object");
3194
+ };
3195
+ assert.isArray = function(val, msg) {
3196
+ new Assertion(val, msg, assert.isArray, true).to.be.an("array");
3197
+ };
3198
+ assert.isNotArray = function(val, msg) {
3199
+ new Assertion(val, msg, assert.isNotArray, true).to.not.be.an("array");
3200
+ };
3201
+ assert.isString = function(val, msg) {
3202
+ new Assertion(val, msg, assert.isString, true).to.be.a("string");
3203
+ };
3204
+ assert.isNotString = function(val, msg) {
3205
+ new Assertion(val, msg, assert.isNotString, true).to.not.be.a("string");
3206
+ };
3207
+ assert.isNumber = function(val, msg) {
3208
+ new Assertion(val, msg, assert.isNumber, true).to.be.a("number");
3209
+ };
3210
+ assert.isNotNumber = function(val, msg) {
3211
+ new Assertion(val, msg, assert.isNotNumber, true).to.not.be.a("number");
3212
+ };
3213
+ assert.isFinite = function(val, msg) {
3214
+ new Assertion(val, msg, assert.isFinite, true).to.be.finite;
3215
+ };
3216
+ assert.isBoolean = function(val, msg) {
3217
+ new Assertion(val, msg, assert.isBoolean, true).to.be.a("boolean");
3218
+ };
3219
+ assert.isNotBoolean = function(val, msg) {
3220
+ new Assertion(val, msg, assert.isNotBoolean, true).to.not.be.a("boolean");
3221
+ };
3222
+ assert.typeOf = function(val, type3, msg) {
3223
+ new Assertion(val, msg, assert.typeOf, true).to.be.a(type3);
3224
+ };
3225
+ assert.notTypeOf = function(value, type3, message) {
3226
+ new Assertion(value, message, assert.notTypeOf, true).to.not.be.a(type3);
3227
+ };
3228
+ assert.instanceOf = function(val, type3, msg) {
3229
+ new Assertion(val, msg, assert.instanceOf, true).to.be.instanceOf(type3);
3230
+ };
3231
+ assert.notInstanceOf = function(val, type3, msg) {
3232
+ new Assertion(val, msg, assert.notInstanceOf, true).to.not.be.instanceOf(type3);
3233
+ };
3234
+ assert.include = function(exp, inc, msg) {
3235
+ new Assertion(exp, msg, assert.include, true).include(inc);
3236
+ };
3237
+ assert.notInclude = function(exp, inc, msg) {
3238
+ new Assertion(exp, msg, assert.notInclude, true).not.include(inc);
3239
+ };
3240
+ assert.deepInclude = function(exp, inc, msg) {
3241
+ new Assertion(exp, msg, assert.deepInclude, true).deep.include(inc);
3242
+ };
3243
+ assert.notDeepInclude = function(exp, inc, msg) {
3244
+ new Assertion(exp, msg, assert.notDeepInclude, true).not.deep.include(inc);
3245
+ };
3246
+ assert.nestedInclude = function(exp, inc, msg) {
3247
+ new Assertion(exp, msg, assert.nestedInclude, true).nested.include(inc);
3248
+ };
3249
+ assert.notNestedInclude = function(exp, inc, msg) {
3250
+ new Assertion(exp, msg, assert.notNestedInclude, true).not.nested.include(inc);
3251
+ };
3252
+ assert.deepNestedInclude = function(exp, inc, msg) {
3253
+ new Assertion(exp, msg, assert.deepNestedInclude, true).deep.nested.include(inc);
3254
+ };
3255
+ assert.notDeepNestedInclude = function(exp, inc, msg) {
3256
+ new Assertion(exp, msg, assert.notDeepNestedInclude, true).not.deep.nested.include(inc);
3257
+ };
3258
+ assert.ownInclude = function(exp, inc, msg) {
3259
+ new Assertion(exp, msg, assert.ownInclude, true).own.include(inc);
3260
+ };
3261
+ assert.notOwnInclude = function(exp, inc, msg) {
3262
+ new Assertion(exp, msg, assert.notOwnInclude, true).not.own.include(inc);
3263
+ };
3264
+ assert.deepOwnInclude = function(exp, inc, msg) {
3265
+ new Assertion(exp, msg, assert.deepOwnInclude, true).deep.own.include(inc);
3266
+ };
3267
+ assert.notDeepOwnInclude = function(exp, inc, msg) {
3268
+ new Assertion(exp, msg, assert.notDeepOwnInclude, true).not.deep.own.include(inc);
3269
+ };
3270
+ assert.match = function(exp, re, msg) {
3271
+ new Assertion(exp, msg, assert.match, true).to.match(re);
3272
+ };
3273
+ assert.notMatch = function(exp, re, msg) {
3274
+ new Assertion(exp, msg, assert.notMatch, true).to.not.match(re);
3275
+ };
3276
+ assert.property = function(obj, prop, msg) {
3277
+ new Assertion(obj, msg, assert.property, true).to.have.property(prop);
3278
+ };
3279
+ assert.notProperty = function(obj, prop, msg) {
3280
+ new Assertion(obj, msg, assert.notProperty, true).to.not.have.property(prop);
3281
+ };
3282
+ assert.propertyVal = function(obj, prop, val, msg) {
3283
+ new Assertion(obj, msg, assert.propertyVal, true).to.have.property(prop, val);
3284
+ };
3285
+ assert.notPropertyVal = function(obj, prop, val, msg) {
3286
+ new Assertion(obj, msg, assert.notPropertyVal, true).to.not.have.property(prop, val);
3287
+ };
3288
+ assert.deepPropertyVal = function(obj, prop, val, msg) {
3289
+ new Assertion(obj, msg, assert.deepPropertyVal, true).to.have.deep.property(prop, val);
3290
+ };
3291
+ assert.notDeepPropertyVal = function(obj, prop, val, msg) {
3292
+ new Assertion(obj, msg, assert.notDeepPropertyVal, true).to.not.have.deep.property(prop, val);
3293
+ };
3294
+ assert.ownProperty = function(obj, prop, msg) {
3295
+ new Assertion(obj, msg, assert.ownProperty, true).to.have.own.property(prop);
3296
+ };
3297
+ assert.notOwnProperty = function(obj, prop, msg) {
3298
+ new Assertion(obj, msg, assert.notOwnProperty, true).to.not.have.own.property(prop);
3299
+ };
3300
+ assert.ownPropertyVal = function(obj, prop, value, msg) {
3301
+ new Assertion(obj, msg, assert.ownPropertyVal, true).to.have.own.property(prop, value);
3302
+ };
3303
+ assert.notOwnPropertyVal = function(obj, prop, value, msg) {
3304
+ new Assertion(obj, msg, assert.notOwnPropertyVal, true).to.not.have.own.property(prop, value);
3305
+ };
3306
+ assert.deepOwnPropertyVal = function(obj, prop, value, msg) {
3307
+ new Assertion(obj, msg, assert.deepOwnPropertyVal, true).to.have.deep.own.property(prop, value);
3308
+ };
3309
+ assert.notDeepOwnPropertyVal = function(obj, prop, value, msg) {
3310
+ new Assertion(obj, msg, assert.notDeepOwnPropertyVal, true).to.not.have.deep.own.property(prop, value);
3311
+ };
3312
+ assert.nestedProperty = function(obj, prop, msg) {
3313
+ new Assertion(obj, msg, assert.nestedProperty, true).to.have.nested.property(prop);
3314
+ };
3315
+ assert.notNestedProperty = function(obj, prop, msg) {
3316
+ new Assertion(obj, msg, assert.notNestedProperty, true).to.not.have.nested.property(prop);
3317
+ };
3318
+ assert.nestedPropertyVal = function(obj, prop, val, msg) {
3319
+ new Assertion(obj, msg, assert.nestedPropertyVal, true).to.have.nested.property(prop, val);
3320
+ };
3321
+ assert.notNestedPropertyVal = function(obj, prop, val, msg) {
3322
+ new Assertion(obj, msg, assert.notNestedPropertyVal, true).to.not.have.nested.property(prop, val);
3323
+ };
3324
+ assert.deepNestedPropertyVal = function(obj, prop, val, msg) {
3325
+ new Assertion(obj, msg, assert.deepNestedPropertyVal, true).to.have.deep.nested.property(prop, val);
3326
+ };
3327
+ assert.notDeepNestedPropertyVal = function(obj, prop, val, msg) {
3328
+ new Assertion(obj, msg, assert.notDeepNestedPropertyVal, true).to.not.have.deep.nested.property(prop, val);
3329
+ };
3330
+ assert.lengthOf = function(exp, len, msg) {
3331
+ new Assertion(exp, msg, assert.lengthOf, true).to.have.lengthOf(len);
3332
+ };
3333
+ assert.hasAnyKeys = function(obj, keys, msg) {
3334
+ new Assertion(obj, msg, assert.hasAnyKeys, true).to.have.any.keys(keys);
3335
+ };
3336
+ assert.hasAllKeys = function(obj, keys, msg) {
3337
+ new Assertion(obj, msg, assert.hasAllKeys, true).to.have.all.keys(keys);
3338
+ };
3339
+ assert.containsAllKeys = function(obj, keys, msg) {
3340
+ new Assertion(obj, msg, assert.containsAllKeys, true).to.contain.all.keys(keys);
3341
+ };
3342
+ assert.doesNotHaveAnyKeys = function(obj, keys, msg) {
3343
+ new Assertion(obj, msg, assert.doesNotHaveAnyKeys, true).to.not.have.any.keys(keys);
3344
+ };
3345
+ assert.doesNotHaveAllKeys = function(obj, keys, msg) {
3346
+ new Assertion(obj, msg, assert.doesNotHaveAllKeys, true).to.not.have.all.keys(keys);
3347
+ };
3348
+ assert.hasAnyDeepKeys = function(obj, keys, msg) {
3349
+ new Assertion(obj, msg, assert.hasAnyDeepKeys, true).to.have.any.deep.keys(keys);
3350
+ };
3351
+ assert.hasAllDeepKeys = function(obj, keys, msg) {
3352
+ new Assertion(obj, msg, assert.hasAllDeepKeys, true).to.have.all.deep.keys(keys);
3353
+ };
3354
+ assert.containsAllDeepKeys = function(obj, keys, msg) {
3355
+ new Assertion(obj, msg, assert.containsAllDeepKeys, true).to.contain.all.deep.keys(keys);
3356
+ };
3357
+ assert.doesNotHaveAnyDeepKeys = function(obj, keys, msg) {
3358
+ new Assertion(obj, msg, assert.doesNotHaveAnyDeepKeys, true).to.not.have.any.deep.keys(keys);
3359
+ };
3360
+ assert.doesNotHaveAllDeepKeys = function(obj, keys, msg) {
3361
+ new Assertion(obj, msg, assert.doesNotHaveAllDeepKeys, true).to.not.have.all.deep.keys(keys);
3362
+ };
3363
+ assert.throws = function(fn, errorLike, errMsgMatcher, msg) {
3364
+ if ("string" === typeof errorLike || errorLike instanceof RegExp) {
3365
+ errMsgMatcher = errorLike;
3366
+ errorLike = null;
3367
+ }
3368
+ var assertErr = new Assertion(fn, msg, assert.throws, true).to.throw(errorLike, errMsgMatcher);
3369
+ return flag(assertErr, "object");
3370
+ };
3371
+ assert.doesNotThrow = function(fn, errorLike, errMsgMatcher, message) {
3372
+ if ("string" === typeof errorLike || errorLike instanceof RegExp) {
3373
+ errMsgMatcher = errorLike;
3374
+ errorLike = null;
3375
+ }
3376
+ new Assertion(fn, message, assert.doesNotThrow, true).to.not.throw(errorLike, errMsgMatcher);
3377
+ };
3378
+ assert.operator = function(val, operator, val2, msg) {
3379
+ var ok;
3380
+ switch (operator) {
3381
+ case "==":
3382
+ ok = val == val2;
3383
+ break;
3384
+ case "===":
3385
+ ok = val === val2;
3386
+ break;
3387
+ case ">":
3388
+ ok = val > val2;
3389
+ break;
3390
+ case ">=":
3391
+ ok = val >= val2;
3392
+ break;
3393
+ case "<":
3394
+ ok = val < val2;
3395
+ break;
3396
+ case "<=":
3397
+ ok = val <= val2;
3398
+ break;
3399
+ case "!=":
3400
+ ok = val != val2;
3401
+ break;
3402
+ case "!==":
3403
+ ok = val !== val2;
3404
+ break;
3405
+ default:
3406
+ msg = msg ? msg + ": " : msg;
3407
+ throw new AssertionError(
3408
+ msg + 'Invalid operator "' + operator + '"',
3409
+ void 0,
3410
+ assert.operator
3411
+ );
3412
+ }
3413
+ var test2 = new Assertion(ok, msg, assert.operator, true);
3414
+ test2.assert(
3415
+ true === flag(test2, "object"),
3416
+ "expected " + inspect2(val) + " to be " + operator + " " + inspect2(val2),
3417
+ "expected " + inspect2(val) + " to not be " + operator + " " + inspect2(val2)
3418
+ );
3419
+ };
3420
+ assert.closeTo = function(act, exp, delta, msg) {
3421
+ new Assertion(act, msg, assert.closeTo, true).to.be.closeTo(exp, delta);
3422
+ };
3423
+ assert.approximately = function(act, exp, delta, msg) {
3424
+ new Assertion(act, msg, assert.approximately, true).to.be.approximately(exp, delta);
3425
+ };
3426
+ assert.sameMembers = function(set1, set2, msg) {
3427
+ new Assertion(set1, msg, assert.sameMembers, true).to.have.same.members(set2);
3428
+ };
3429
+ assert.notSameMembers = function(set1, set2, msg) {
3430
+ new Assertion(set1, msg, assert.notSameMembers, true).to.not.have.same.members(set2);
3431
+ };
3432
+ assert.sameDeepMembers = function(set1, set2, msg) {
3433
+ new Assertion(set1, msg, assert.sameDeepMembers, true).to.have.same.deep.members(set2);
3434
+ };
3435
+ assert.notSameDeepMembers = function(set1, set2, msg) {
3436
+ new Assertion(set1, msg, assert.notSameDeepMembers, true).to.not.have.same.deep.members(set2);
3437
+ };
3438
+ assert.sameOrderedMembers = function(set1, set2, msg) {
3439
+ new Assertion(set1, msg, assert.sameOrderedMembers, true).to.have.same.ordered.members(set2);
3440
+ };
3441
+ assert.notSameOrderedMembers = function(set1, set2, msg) {
3442
+ new Assertion(set1, msg, assert.notSameOrderedMembers, true).to.not.have.same.ordered.members(set2);
3443
+ };
3444
+ assert.sameDeepOrderedMembers = function(set1, set2, msg) {
3445
+ new Assertion(set1, msg, assert.sameDeepOrderedMembers, true).to.have.same.deep.ordered.members(set2);
3446
+ };
3447
+ assert.notSameDeepOrderedMembers = function(set1, set2, msg) {
3448
+ new Assertion(set1, msg, assert.notSameDeepOrderedMembers, true).to.not.have.same.deep.ordered.members(set2);
3449
+ };
3450
+ assert.includeMembers = function(superset, subset, msg) {
3451
+ new Assertion(superset, msg, assert.includeMembers, true).to.include.members(subset);
3452
+ };
3453
+ assert.notIncludeMembers = function(superset, subset, msg) {
3454
+ new Assertion(superset, msg, assert.notIncludeMembers, true).to.not.include.members(subset);
3455
+ };
3456
+ assert.includeDeepMembers = function(superset, subset, msg) {
3457
+ new Assertion(superset, msg, assert.includeDeepMembers, true).to.include.deep.members(subset);
3458
+ };
3459
+ assert.notIncludeDeepMembers = function(superset, subset, msg) {
3460
+ new Assertion(superset, msg, assert.notIncludeDeepMembers, true).to.not.include.deep.members(subset);
3461
+ };
3462
+ assert.includeOrderedMembers = function(superset, subset, msg) {
3463
+ new Assertion(superset, msg, assert.includeOrderedMembers, true).to.include.ordered.members(subset);
3464
+ };
3465
+ assert.notIncludeOrderedMembers = function(superset, subset, msg) {
3466
+ new Assertion(superset, msg, assert.notIncludeOrderedMembers, true).to.not.include.ordered.members(subset);
3467
+ };
3468
+ assert.includeDeepOrderedMembers = function(superset, subset, msg) {
3469
+ new Assertion(superset, msg, assert.includeDeepOrderedMembers, true).to.include.deep.ordered.members(subset);
3470
+ };
3471
+ assert.notIncludeDeepOrderedMembers = function(superset, subset, msg) {
3472
+ new Assertion(superset, msg, assert.notIncludeDeepOrderedMembers, true).to.not.include.deep.ordered.members(subset);
3473
+ };
3474
+ assert.oneOf = function(inList, list, msg) {
3475
+ new Assertion(inList, msg, assert.oneOf, true).to.be.oneOf(list);
3476
+ };
3477
+ assert.isIterable = function(obj, msg) {
3478
+ if (obj == void 0 || !obj[Symbol.iterator]) {
3479
+ msg = msg ? `${msg} expected ${inspect2(obj)} to be an iterable` : `expected ${inspect2(obj)} to be an iterable`;
3480
+ throw new AssertionError(
3481
+ msg,
3482
+ void 0,
3483
+ assert.isIterable
3484
+ );
3485
+ }
3486
+ };
3487
+ assert.changes = function(fn, obj, prop, msg) {
3488
+ if (arguments.length === 3 && typeof obj === "function") {
3489
+ msg = prop;
3490
+ prop = null;
3491
+ }
3492
+ new Assertion(fn, msg, assert.changes, true).to.change(obj, prop);
3493
+ };
3494
+ assert.changesBy = function(fn, obj, prop, delta, msg) {
3495
+ if (arguments.length === 4 && typeof obj === "function") {
3496
+ var tmpMsg = delta;
3497
+ delta = prop;
3498
+ msg = tmpMsg;
3499
+ } else if (arguments.length === 3) {
3500
+ delta = prop;
3501
+ prop = null;
3502
+ }
3503
+ new Assertion(fn, msg, assert.changesBy, true).to.change(obj, prop).by(delta);
3504
+ };
3505
+ assert.doesNotChange = function(fn, obj, prop, msg) {
3506
+ if (arguments.length === 3 && typeof obj === "function") {
3507
+ msg = prop;
3508
+ prop = null;
3509
+ }
3510
+ return new Assertion(fn, msg, assert.doesNotChange, true).to.not.change(obj, prop);
3511
+ };
3512
+ assert.changesButNotBy = function(fn, obj, prop, delta, msg) {
3513
+ if (arguments.length === 4 && typeof obj === "function") {
3514
+ var tmpMsg = delta;
3515
+ delta = prop;
3516
+ msg = tmpMsg;
3517
+ } else if (arguments.length === 3) {
3518
+ delta = prop;
3519
+ prop = null;
3520
+ }
3521
+ new Assertion(fn, msg, assert.changesButNotBy, true).to.change(obj, prop).but.not.by(delta);
3522
+ };
3523
+ assert.increases = function(fn, obj, prop, msg) {
3524
+ if (arguments.length === 3 && typeof obj === "function") {
3525
+ msg = prop;
3526
+ prop = null;
3527
+ }
3528
+ return new Assertion(fn, msg, assert.increases, true).to.increase(obj, prop);
3529
+ };
3530
+ assert.increasesBy = function(fn, obj, prop, delta, msg) {
3531
+ if (arguments.length === 4 && typeof obj === "function") {
3532
+ var tmpMsg = delta;
3533
+ delta = prop;
3534
+ msg = tmpMsg;
3535
+ } else if (arguments.length === 3) {
3536
+ delta = prop;
3537
+ prop = null;
3538
+ }
3539
+ new Assertion(fn, msg, assert.increasesBy, true).to.increase(obj, prop).by(delta);
3540
+ };
3541
+ assert.doesNotIncrease = function(fn, obj, prop, msg) {
3542
+ if (arguments.length === 3 && typeof obj === "function") {
3543
+ msg = prop;
3544
+ prop = null;
3545
+ }
3546
+ return new Assertion(fn, msg, assert.doesNotIncrease, true).to.not.increase(obj, prop);
3547
+ };
3548
+ assert.increasesButNotBy = function(fn, obj, prop, delta, msg) {
3549
+ if (arguments.length === 4 && typeof obj === "function") {
3550
+ var tmpMsg = delta;
3551
+ delta = prop;
3552
+ msg = tmpMsg;
3553
+ } else if (arguments.length === 3) {
3554
+ delta = prop;
3555
+ prop = null;
3556
+ }
3557
+ new Assertion(fn, msg, assert.increasesButNotBy, true).to.increase(obj, prop).but.not.by(delta);
3558
+ };
3559
+ assert.decreases = function(fn, obj, prop, msg) {
3560
+ if (arguments.length === 3 && typeof obj === "function") {
3561
+ msg = prop;
3562
+ prop = null;
3563
+ }
3564
+ return new Assertion(fn, msg, assert.decreases, true).to.decrease(obj, prop);
3565
+ };
3566
+ assert.decreasesBy = function(fn, obj, prop, delta, msg) {
3567
+ if (arguments.length === 4 && typeof obj === "function") {
3568
+ var tmpMsg = delta;
3569
+ delta = prop;
3570
+ msg = tmpMsg;
3571
+ } else if (arguments.length === 3) {
3572
+ delta = prop;
3573
+ prop = null;
3574
+ }
3575
+ new Assertion(fn, msg, assert.decreasesBy, true).to.decrease(obj, prop).by(delta);
3576
+ };
3577
+ assert.doesNotDecrease = function(fn, obj, prop, msg) {
3578
+ if (arguments.length === 3 && typeof obj === "function") {
3579
+ msg = prop;
3580
+ prop = null;
3581
+ }
3582
+ return new Assertion(fn, msg, assert.doesNotDecrease, true).to.not.decrease(obj, prop);
3583
+ };
3584
+ assert.doesNotDecreaseBy = function(fn, obj, prop, delta, msg) {
3585
+ if (arguments.length === 4 && typeof obj === "function") {
3586
+ var tmpMsg = delta;
3587
+ delta = prop;
3588
+ msg = tmpMsg;
3589
+ } else if (arguments.length === 3) {
3590
+ delta = prop;
3591
+ prop = null;
3592
+ }
3593
+ return new Assertion(fn, msg, assert.doesNotDecreaseBy, true).to.not.decrease(obj, prop).by(delta);
3594
+ };
3595
+ assert.decreasesButNotBy = function(fn, obj, prop, delta, msg) {
3596
+ if (arguments.length === 4 && typeof obj === "function") {
3597
+ var tmpMsg = delta;
3598
+ delta = prop;
3599
+ msg = tmpMsg;
3600
+ } else if (arguments.length === 3) {
3601
+ delta = prop;
3602
+ prop = null;
3603
+ }
3604
+ new Assertion(fn, msg, assert.decreasesButNotBy, true).to.decrease(obj, prop).but.not.by(delta);
3605
+ };
3606
+ assert.ifError = function(val) {
3607
+ if (val) {
3608
+ throw val;
3609
+ }
3610
+ };
3611
+ assert.isExtensible = function(obj, msg) {
3612
+ new Assertion(obj, msg, assert.isExtensible, true).to.be.extensible;
3613
+ };
3614
+ assert.isNotExtensible = function(obj, msg) {
3615
+ new Assertion(obj, msg, assert.isNotExtensible, true).to.not.be.extensible;
3616
+ };
3617
+ assert.isSealed = function(obj, msg) {
3618
+ new Assertion(obj, msg, assert.isSealed, true).to.be.sealed;
3619
+ };
3620
+ assert.isNotSealed = function(obj, msg) {
3621
+ new Assertion(obj, msg, assert.isNotSealed, true).to.not.be.sealed;
3622
+ };
3623
+ assert.isFrozen = function(obj, msg) {
3624
+ new Assertion(obj, msg, assert.isFrozen, true).to.be.frozen;
3625
+ };
3626
+ assert.isNotFrozen = function(obj, msg) {
3627
+ new Assertion(obj, msg, assert.isNotFrozen, true).to.not.be.frozen;
3628
+ };
3629
+ assert.isEmpty = function(val, msg) {
3630
+ new Assertion(val, msg, assert.isEmpty, true).to.be.empty;
3631
+ };
3632
+ assert.isNotEmpty = function(val, msg) {
3633
+ new Assertion(val, msg, assert.isNotEmpty, true).to.not.be.empty;
3634
+ };
3635
+ (/* @__PURE__ */ __name(function alias(name, as) {
3636
+ assert[as] = assert[name];
3637
+ return alias;
3638
+ }, "alias"))("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");
3639
+ var used = [];
3640
+ function use(fn) {
3641
+ const exports2 = {
3642
+ AssertionError,
3643
+ util: utils_exports,
3644
+ config,
3645
+ expect,
3646
+ assert,
3647
+ Assertion,
3648
+ ...should_exports
3649
+ };
3650
+ if (!~used.indexOf(fn)) {
3651
+ fn(exports2, utils_exports);
3652
+ used.push(fn);
3653
+ }
3654
+ return exports2;
3655
+ }
3656
+ __name(use, "use");
3657
+ /*!
3658
+ * Chai - flag utility
3659
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
3660
+ * MIT Licensed
3661
+ */
3662
+ /*!
3663
+ * Chai - test utility
3664
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
3665
+ * MIT Licensed
3666
+ */
3667
+ /*!
3668
+ * Chai - expectTypes utility
3669
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
3670
+ * MIT Licensed
3671
+ */
3672
+ /*!
3673
+ * Chai - getActual utility
3674
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
3675
+ * MIT Licensed
3676
+ */
3677
+ /*!
3678
+ * Chai - message composition utility
3679
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
3680
+ * MIT Licensed
3681
+ */
3682
+ /*!
3683
+ * Chai - transferFlags utility
3684
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
3685
+ * MIT Licensed
3686
+ */
3687
+ /*!
3688
+ * chai
3689
+ * http://chaijs.com
3690
+ * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
3691
+ * MIT Licensed
3692
+ */
3693
+ /*!
3694
+ * Chai - isProxyEnabled helper
3695
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
3696
+ * MIT Licensed
3697
+ */
3698
+ /*!
3699
+ * Chai - addProperty utility
3700
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
3701
+ * MIT Licensed
3702
+ */
3703
+ /*!
3704
+ * Chai - addLengthGuard utility
3705
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
3706
+ * MIT Licensed
3707
+ */
3708
+ /*!
3709
+ * Chai - getProperties utility
3710
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
3711
+ * MIT Licensed
3712
+ */
3713
+ /*!
3714
+ * Chai - proxify utility
3715
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
3716
+ * MIT Licensed
3717
+ */
3718
+ /*!
3719
+ * Chai - addMethod utility
3720
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
3721
+ * MIT Licensed
3722
+ */
3723
+ /*!
3724
+ * Chai - overwriteProperty utility
3725
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
3726
+ * MIT Licensed
3727
+ */
3728
+ /*!
3729
+ * Chai - overwriteMethod utility
3730
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
3731
+ * MIT Licensed
3732
+ */
3733
+ /*!
3734
+ * Chai - addChainingMethod utility
3735
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
3736
+ * MIT Licensed
3737
+ */
3738
+ /*!
3739
+ * Chai - overwriteChainableMethod utility
3740
+ * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
3741
+ * MIT Licensed
3742
+ */
3743
+ /*!
3744
+ * Chai - compareByInspect utility
3745
+ * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>
3746
+ * MIT Licensed
3747
+ */
3748
+ /*!
3749
+ * Chai - getOwnEnumerablePropertySymbols utility
3750
+ * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>
3751
+ * MIT Licensed
3752
+ */
3753
+ /*!
3754
+ * Chai - getOwnEnumerableProperties utility
3755
+ * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>
3756
+ * MIT Licensed
3757
+ */
3758
+ /*!
3759
+ * Chai - isNaN utility
3760
+ * Copyright(c) 2012-2015 Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
3761
+ * MIT Licensed
3762
+ */
3763
+ /*!
3764
+ * chai
3765
+ * Copyright(c) 2011 Jake Luer <jake@alogicalparadox.com>
3766
+ * MIT Licensed
3767
+ */
3768
+ /*!
3769
+ * chai
3770
+ * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
3771
+ * MIT Licensed
3772
+ */
3773
+ /*! Bundled license information:
3774
+
3775
+ deep-eql/index.js:
3776
+ (*!
3777
+ * deep-eql
3778
+ * Copyright(c) 2013 Jake Luer <jake@alogicalparadox.com>
3779
+ * MIT Licensed
3780
+ *)
3781
+ (*!
3782
+ * Check to see if the MemoizeMap has recorded a result of the two operands
3783
+ *
3784
+ * @param {Mixed} leftHandOperand
3785
+ * @param {Mixed} rightHandOperand
3786
+ * @param {MemoizeMap} memoizeMap
3787
+ * @returns {Boolean|null} result
3788
+ *)
3789
+ (*!
3790
+ * Set the result of the equality into the MemoizeMap
3791
+ *
3792
+ * @param {Mixed} leftHandOperand
3793
+ * @param {Mixed} rightHandOperand
3794
+ * @param {MemoizeMap} memoizeMap
3795
+ * @param {Boolean} result
3796
+ *)
3797
+ (*!
3798
+ * Primary Export
3799
+ *)
3800
+ (*!
3801
+ * The main logic of the `deepEqual` function.
3802
+ *
3803
+ * @param {Mixed} leftHandOperand
3804
+ * @param {Mixed} rightHandOperand
3805
+ * @param {Object} [options] (optional) Additional options
3806
+ * @param {Array} [options.comparator] (optional) Override default algorithm, determining custom equality.
3807
+ * @param {Array} [options.memoize] (optional) Provide a custom memoization object which will cache the results of
3808
+ complex objects for a speed boost. By passing `false` you can disable memoization, but this will cause circular
3809
+ references to blow the stack.
3810
+ * @return {Boolean} equal match
3811
+ *)
3812
+ (*!
3813
+ * Compare two Regular Expressions for equality.
3814
+ *
3815
+ * @param {RegExp} leftHandOperand
3816
+ * @param {RegExp} rightHandOperand
3817
+ * @return {Boolean} result
3818
+ *)
3819
+ (*!
3820
+ * Compare two Sets/Maps for equality. Faster than other equality functions.
3821
+ *
3822
+ * @param {Set} leftHandOperand
3823
+ * @param {Set} rightHandOperand
3824
+ * @param {Object} [options] (Optional)
3825
+ * @return {Boolean} result
3826
+ *)
3827
+ (*!
3828
+ * Simple equality for flat iterable objects such as Arrays, TypedArrays or Node.js buffers.
3829
+ *
3830
+ * @param {Iterable} leftHandOperand
3831
+ * @param {Iterable} rightHandOperand
3832
+ * @param {Object} [options] (Optional)
3833
+ * @return {Boolean} result
3834
+ *)
3835
+ (*!
3836
+ * Simple equality for generator objects such as those returned by generator functions.
3837
+ *
3838
+ * @param {Iterable} leftHandOperand
3839
+ * @param {Iterable} rightHandOperand
3840
+ * @param {Object} [options] (Optional)
3841
+ * @return {Boolean} result
3842
+ *)
3843
+ (*!
3844
+ * Determine if the given object has an @@iterator function.
3845
+ *
3846
+ * @param {Object} target
3847
+ * @return {Boolean} `true` if the object has an @@iterator function.
3848
+ *)
3849
+ (*!
3850
+ * Gets all iterator entries from the given Object. If the Object has no @@iterator function, returns an empty array.
3851
+ * This will consume the iterator - which could have side effects depending on the @@iterator implementation.
3852
+ *
3853
+ * @param {Object} target
3854
+ * @returns {Array} an array of entries from the @@iterator function
3855
+ *)
3856
+ (*!
3857
+ * Gets all entries from a Generator. This will consume the generator - which could have side effects.
3858
+ *
3859
+ * @param {Generator} target
3860
+ * @returns {Array} an array of entries from the Generator.
3861
+ *)
3862
+ (*!
3863
+ * Gets all own and inherited enumerable keys from a target.
3864
+ *
3865
+ * @param {Object} target
3866
+ * @returns {Array} an array of own and inherited enumerable keys from the target.
3867
+ *)
3868
+ (*!
3869
+ * Determines if two objects have matching values, given a set of keys. Defers to deepEqual for the equality check of
3870
+ * each key. If any value of the given key is not equal, the function will return false (early).
3871
+ *
3872
+ * @param {Mixed} leftHandOperand
3873
+ * @param {Mixed} rightHandOperand
3874
+ * @param {Array} keys An array of keys to compare the values of leftHandOperand and rightHandOperand against
3875
+ * @param {Object} [options] (Optional)
3876
+ * @return {Boolean} result
3877
+ *)
3878
+ (*!
3879
+ * Recursively check the equality of two Objects. Once basic sameness has been established it will defer to `deepEqual`
3880
+ * for each enumerable key in the object.
3881
+ *
3882
+ * @param {Mixed} leftHandOperand
3883
+ * @param {Mixed} rightHandOperand
3884
+ * @param {Object} [options] (Optional)
3885
+ * @return {Boolean} result
3886
+ *)
3887
+ (*!
3888
+ * Returns true if the argument is a primitive.
3889
+ *
3890
+ * This intentionally returns true for all objects that can be compared by reference,
3891
+ * including functions and symbols.
3892
+ *
3893
+ * @param {Mixed} value
3894
+ * @return {Boolean} result
3895
+ *)
3896
+ */
3897
+ exports.Assertion = Assertion;
3898
+ exports.AssertionError = AssertionError;
3899
+ exports.Should = Should;
3900
+ exports.assert = assert;
3901
+ exports.config = config;
3902
+ exports.expect = expect;
3903
+ exports.should = should;
3904
+ exports.use = use;
3905
+ exports.util = utils_exports;