@manifest-network/manifest-mcp-core 0.1.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 (237) hide show
  1. package/dist/__test-utils__/callTool.d.ts +29 -0
  2. package/dist/__test-utils__/callTool.d.ts.map +1 -0
  3. package/dist/__test-utils__/callTool.js +45 -0
  4. package/dist/__test-utils__/callTool.js.map +1 -0
  5. package/dist/__test-utils__/mocks.d.ts +125 -0
  6. package/dist/__test-utils__/mocks.d.ts.map +1 -0
  7. package/dist/__test-utils__/mocks.js +146 -0
  8. package/dist/__test-utils__/mocks.js.map +1 -0
  9. package/dist/client.d.ts +67 -0
  10. package/dist/client.d.ts.map +1 -0
  11. package/dist/client.js +209 -0
  12. package/dist/client.js.map +1 -0
  13. package/dist/config.d.ts +30 -0
  14. package/dist/config.d.ts.map +1 -0
  15. package/dist/config.js +127 -0
  16. package/dist/config.js.map +1 -0
  17. package/dist/cosmos.d.ts +24 -0
  18. package/dist/cosmos.d.ts.map +1 -0
  19. package/dist/cosmos.js +85 -0
  20. package/dist/cosmos.js.map +1 -0
  21. package/dist/index.d.ts +19 -0
  22. package/dist/index.js +20 -0
  23. package/dist/lcd-adapter.d.ts +15 -0
  24. package/dist/lcd-adapter.d.ts.map +1 -0
  25. package/dist/lcd-adapter.js +98 -0
  26. package/dist/lcd-adapter.js.map +1 -0
  27. package/dist/logger.d.ts +20 -0
  28. package/dist/logger.d.ts.map +1 -0
  29. package/dist/logger.js +43 -0
  30. package/dist/logger.js.map +1 -0
  31. package/dist/modules.d.ts +63 -0
  32. package/dist/modules.d.ts.map +1 -0
  33. package/dist/modules.js +759 -0
  34. package/dist/modules.js.map +1 -0
  35. package/dist/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.js +78 -0
  36. package/dist/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.js.map +1 -0
  37. package/dist/node_modules/@vitest/expect/dist/index.d.ts +802 -0
  38. package/dist/node_modules/@vitest/expect/dist/index.d.ts.map +1 -0
  39. package/dist/node_modules/@vitest/expect/dist/index.js +1457 -0
  40. package/dist/node_modules/@vitest/expect/dist/index.js.map +1 -0
  41. package/dist/node_modules/@vitest/pretty-format/dist/index.d.ts +95 -0
  42. package/dist/node_modules/@vitest/pretty-format/dist/index.d.ts.map +1 -0
  43. package/dist/node_modules/@vitest/pretty-format/dist/index.js +877 -0
  44. package/dist/node_modules/@vitest/pretty-format/dist/index.js.map +1 -0
  45. package/dist/node_modules/@vitest/runner/dist/chunk-tasks.js +91 -0
  46. package/dist/node_modules/@vitest/runner/dist/chunk-tasks.js.map +1 -0
  47. package/dist/node_modules/@vitest/runner/dist/index.js +1381 -0
  48. package/dist/node_modules/@vitest/runner/dist/index.js.map +1 -0
  49. package/dist/node_modules/@vitest/runner/dist/tasks.d-D2GKpdwQ.d.ts +540 -0
  50. package/dist/node_modules/@vitest/runner/dist/tasks.d-D2GKpdwQ.d.ts.map +1 -0
  51. package/dist/node_modules/@vitest/runner/dist/utils.js +1 -0
  52. package/dist/node_modules/@vitest/snapshot/dist/environment.d-DOJxxZV9.d.ts +16 -0
  53. package/dist/node_modules/@vitest/snapshot/dist/environment.d-DOJxxZV9.d.ts.map +1 -0
  54. package/dist/node_modules/@vitest/snapshot/dist/index.d.ts +89 -0
  55. package/dist/node_modules/@vitest/snapshot/dist/index.d.ts.map +1 -0
  56. package/dist/node_modules/@vitest/snapshot/dist/index.js +649 -0
  57. package/dist/node_modules/@vitest/snapshot/dist/index.js.map +1 -0
  58. package/dist/node_modules/@vitest/snapshot/dist/rawSnapshot.d-U2kJUxDr.d.ts +40 -0
  59. package/dist/node_modules/@vitest/snapshot/dist/rawSnapshot.d-U2kJUxDr.d.ts.map +1 -0
  60. package/dist/node_modules/@vitest/spy/dist/index.d.ts +343 -0
  61. package/dist/node_modules/@vitest/spy/dist/index.d.ts.map +1 -0
  62. package/dist/node_modules/@vitest/spy/dist/index.js +386 -0
  63. package/dist/node_modules/@vitest/spy/dist/index.js.map +1 -0
  64. package/dist/node_modules/@vitest/utils/dist/chunk-pathe.M-eThtNZ.js +82 -0
  65. package/dist/node_modules/@vitest/utils/dist/chunk-pathe.M-eThtNZ.js.map +1 -0
  66. package/dist/node_modules/@vitest/utils/dist/diff.d.ts +14 -0
  67. package/dist/node_modules/@vitest/utils/dist/diff.d.ts.map +1 -0
  68. package/dist/node_modules/@vitest/utils/dist/diff.js +1297 -0
  69. package/dist/node_modules/@vitest/utils/dist/diff.js.map +1 -0
  70. package/dist/node_modules/@vitest/utils/dist/display.d.ts +15 -0
  71. package/dist/node_modules/@vitest/utils/dist/display.d.ts.map +1 -0
  72. package/dist/node_modules/@vitest/utils/dist/display.js +558 -0
  73. package/dist/node_modules/@vitest/utils/dist/display.js.map +1 -0
  74. package/dist/node_modules/@vitest/utils/dist/error.js +30 -0
  75. package/dist/node_modules/@vitest/utils/dist/error.js.map +1 -0
  76. package/dist/node_modules/@vitest/utils/dist/helpers.js +181 -0
  77. package/dist/node_modules/@vitest/utils/dist/helpers.js.map +1 -0
  78. package/dist/node_modules/@vitest/utils/dist/offset.js +27 -0
  79. package/dist/node_modules/@vitest/utils/dist/offset.js.map +1 -0
  80. package/dist/node_modules/@vitest/utils/dist/serialize.js +77 -0
  81. package/dist/node_modules/@vitest/utils/dist/serialize.js.map +1 -0
  82. package/dist/node_modules/@vitest/utils/dist/source-map.js +367 -0
  83. package/dist/node_modules/@vitest/utils/dist/source-map.js.map +1 -0
  84. package/dist/node_modules/@vitest/utils/dist/timers.js +37 -0
  85. package/dist/node_modules/@vitest/utils/dist/timers.js.map +1 -0
  86. package/dist/node_modules/@vitest/utils/dist/types.d-BCElaP-c.d.ts +38 -0
  87. package/dist/node_modules/@vitest/utils/dist/types.d-BCElaP-c.d.ts.map +1 -0
  88. package/dist/node_modules/@vitest/utils/dist/types.d.ts +25 -0
  89. package/dist/node_modules/@vitest/utils/dist/types.d.ts.map +1 -0
  90. package/dist/node_modules/chai/index.js +2875 -0
  91. package/dist/node_modules/chai/index.js.map +1 -0
  92. package/dist/node_modules/magic-string/dist/magic-string.es.js +939 -0
  93. package/dist/node_modules/magic-string/dist/magic-string.es.js.map +1 -0
  94. package/dist/node_modules/pathe/dist/shared/pathe.M-eThtNZ.js +85 -0
  95. package/dist/node_modules/pathe/dist/shared/pathe.M-eThtNZ.js.map +1 -0
  96. package/dist/node_modules/tinybench/dist/index.d.ts +91 -0
  97. package/dist/node_modules/tinybench/dist/index.d.ts.map +1 -0
  98. package/dist/node_modules/tinyrainbow/dist/index.d.ts +9 -0
  99. package/dist/node_modules/tinyrainbow/dist/index.d.ts.map +1 -0
  100. package/dist/node_modules/tinyrainbow/dist/index.js +86 -0
  101. package/dist/node_modules/tinyrainbow/dist/index.js.map +1 -0
  102. package/dist/node_modules/vitest/dist/chunks/_commonjsHelpers.D26ty3Ew.js +6 -0
  103. package/dist/node_modules/vitest/dist/chunks/_commonjsHelpers.D26ty3Ew.js.map +1 -0
  104. package/dist/node_modules/vitest/dist/chunks/benchmark.D0SlKNbZ.js +41 -0
  105. package/dist/node_modules/vitest/dist/chunks/benchmark.D0SlKNbZ.js.map +1 -0
  106. package/dist/node_modules/vitest/dist/chunks/benchmark.d.DAaHLpsq.d.ts +12 -0
  107. package/dist/node_modules/vitest/dist/chunks/benchmark.d.DAaHLpsq.d.ts.map +1 -0
  108. package/dist/node_modules/vitest/dist/chunks/global.d.x-ILCfAE.d.ts +100 -0
  109. package/dist/node_modules/vitest/dist/chunks/global.d.x-ILCfAE.d.ts.map +1 -0
  110. package/dist/node_modules/vitest/dist/chunks/rpc.MzXet3jl.js +57 -0
  111. package/dist/node_modules/vitest/dist/chunks/rpc.MzXet3jl.js.map +1 -0
  112. package/dist/node_modules/vitest/dist/chunks/rpc.d.BFMWpdph.d.ts +13 -0
  113. package/dist/node_modules/vitest/dist/chunks/rpc.d.BFMWpdph.d.ts.map +1 -0
  114. package/dist/node_modules/vitest/dist/chunks/test.CTcmp4Su.js +2791 -0
  115. package/dist/node_modules/vitest/dist/chunks/test.CTcmp4Su.js.map +1 -0
  116. package/dist/node_modules/vitest/dist/chunks/utils.BX5Fg8C4.js +44 -0
  117. package/dist/node_modules/vitest/dist/chunks/utils.BX5Fg8C4.js.map +1 -0
  118. package/dist/node_modules/vitest/dist/index.d.ts +9 -0
  119. package/dist/queries/auth.d.ts +15 -0
  120. package/dist/queries/auth.d.ts.map +1 -0
  121. package/dist/queries/auth.js +58 -0
  122. package/dist/queries/auth.js.map +1 -0
  123. package/dist/queries/bank.d.ts +15 -0
  124. package/dist/queries/bank.d.ts.map +1 -0
  125. package/dist/queries/bank.js +93 -0
  126. package/dist/queries/bank.js.map +1 -0
  127. package/dist/queries/billing.d.ts +15 -0
  128. package/dist/queries/billing.d.ts.map +1 -0
  129. package/dist/queries/billing.js +114 -0
  130. package/dist/queries/billing.js.map +1 -0
  131. package/dist/queries/distribution.d.ts +15 -0
  132. package/dist/queries/distribution.d.ts.map +1 -0
  133. package/dist/queries/distribution.js +73 -0
  134. package/dist/queries/distribution.js.map +1 -0
  135. package/dist/queries/gov.d.ts +15 -0
  136. package/dist/queries/gov.d.ts.map +1 -0
  137. package/dist/queries/gov.js +98 -0
  138. package/dist/queries/gov.js.map +1 -0
  139. package/dist/queries/group.d.ts +15 -0
  140. package/dist/queries/group.d.ts.map +1 -0
  141. package/dist/queries/group.js +159 -0
  142. package/dist/queries/group.js.map +1 -0
  143. package/dist/queries/index.d.ts +10 -0
  144. package/dist/queries/index.js +10 -0
  145. package/dist/queries/sku.d.ts +16 -0
  146. package/dist/queries/sku.d.ts.map +1 -0
  147. package/dist/queries/sku.js +85 -0
  148. package/dist/queries/sku.js.map +1 -0
  149. package/dist/queries/staking.d.ts +15 -0
  150. package/dist/queries/staking.d.ts.map +1 -0
  151. package/dist/queries/staking.js +127 -0
  152. package/dist/queries/staking.js.map +1 -0
  153. package/dist/queries/utils.d.ts +54 -0
  154. package/dist/queries/utils.d.ts.map +1 -0
  155. package/dist/queries/utils.js +74 -0
  156. package/dist/queries/utils.js.map +1 -0
  157. package/dist/retry.d.ts +48 -0
  158. package/dist/retry.d.ts.map +1 -0
  159. package/dist/retry.js +106 -0
  160. package/dist/retry.js.map +1 -0
  161. package/dist/server-utils.d.ts +61 -0
  162. package/dist/server-utils.d.ts.map +1 -0
  163. package/dist/server-utils.js +156 -0
  164. package/dist/server-utils.js.map +1 -0
  165. package/dist/tools/fundCredits.d.ts +8 -0
  166. package/dist/tools/fundCredits.d.ts.map +1 -0
  167. package/dist/tools/fundCredits.js +9 -0
  168. package/dist/tools/fundCredits.js.map +1 -0
  169. package/dist/tools/getBalance.d.ts +26 -0
  170. package/dist/tools/getBalance.d.ts.map +1 -0
  171. package/dist/tools/getBalance.js +59 -0
  172. package/dist/tools/getBalance.js.map +1 -0
  173. package/dist/tools/stopApp.d.ts +13 -0
  174. package/dist/tools/stopApp.d.ts.map +1 -0
  175. package/dist/tools/stopApp.js +15 -0
  176. package/dist/tools/stopApp.js.map +1 -0
  177. package/dist/transactions/bank.d.ts +11 -0
  178. package/dist/transactions/bank.d.ts.map +1 -0
  179. package/dist/transactions/bank.js +75 -0
  180. package/dist/transactions/bank.js.map +1 -0
  181. package/dist/transactions/billing.d.ts +11 -0
  182. package/dist/transactions/billing.d.ts.map +1 -0
  183. package/dist/transactions/billing.js +189 -0
  184. package/dist/transactions/billing.js.map +1 -0
  185. package/dist/transactions/distribution.d.ts +11 -0
  186. package/dist/transactions/distribution.d.ts.map +1 -0
  187. package/dist/transactions/distribution.js +60 -0
  188. package/dist/transactions/distribution.js.map +1 -0
  189. package/dist/transactions/gov.d.ts +11 -0
  190. package/dist/transactions/gov.d.ts.map +1 -0
  191. package/dist/transactions/gov.js +108 -0
  192. package/dist/transactions/gov.js.map +1 -0
  193. package/dist/transactions/group.d.ts +11 -0
  194. package/dist/transactions/group.d.ts.map +1 -0
  195. package/dist/transactions/group.js +347 -0
  196. package/dist/transactions/group.js.map +1 -0
  197. package/dist/transactions/index.d.ts +10 -0
  198. package/dist/transactions/index.js +10 -0
  199. package/dist/transactions/manifest.d.ts +11 -0
  200. package/dist/transactions/manifest.d.ts.map +1 -0
  201. package/dist/transactions/manifest.js +59 -0
  202. package/dist/transactions/manifest.js.map +1 -0
  203. package/dist/transactions/sku.d.ts +11 -0
  204. package/dist/transactions/sku.d.ts.map +1 -0
  205. package/dist/transactions/sku.js +191 -0
  206. package/dist/transactions/sku.js.map +1 -0
  207. package/dist/transactions/staking.d.ts +11 -0
  208. package/dist/transactions/staking.d.ts.map +1 -0
  209. package/dist/transactions/staking.js +79 -0
  210. package/dist/transactions/staking.js.map +1 -0
  211. package/dist/transactions/utils.d.ts +161 -0
  212. package/dist/transactions/utils.d.ts.map +1 -0
  213. package/dist/transactions/utils.js +272 -0
  214. package/dist/transactions/utils.js.map +1 -0
  215. package/dist/types.d.ts +390 -0
  216. package/dist/types.d.ts.map +1 -0
  217. package/dist/types.js +45 -0
  218. package/dist/types.js.map +1 -0
  219. package/dist/validation.d.ts +30 -0
  220. package/dist/validation.d.ts.map +1 -0
  221. package/dist/validation.js +53 -0
  222. package/dist/validation.js.map +1 -0
  223. package/dist/version.d.ts +5 -0
  224. package/dist/version.d.ts.map +1 -0
  225. package/dist/version.js +6 -0
  226. package/dist/version.js.map +1 -0
  227. package/dist/wallet/index.d.ts +4 -0
  228. package/dist/wallet/index.js +3 -0
  229. package/dist/wallet/mnemonic.d.ts +47 -0
  230. package/dist/wallet/mnemonic.d.ts.map +1 -0
  231. package/dist/wallet/mnemonic.js +97 -0
  232. package/dist/wallet/mnemonic.js.map +1 -0
  233. package/dist/wallet/sign-arbitrary.d.ts +12 -0
  234. package/dist/wallet/sign-arbitrary.d.ts.map +1 -0
  235. package/dist/wallet/sign-arbitrary.js +36 -0
  236. package/dist/wallet/sign-arbitrary.js.map +1 -0
  237. package/package.json +72 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["c","util"],"sources":["../../../../../../../node_modules/@vitest/expect/dist/index.js"],"sourcesContent":["import { printDiffOrStringify, diff } from '@vitest/utils/diff';\nimport { stringify } from '@vitest/utils/display';\nimport { getType, isObject, noop, assertTypes, ordinal } from '@vitest/utils/helpers';\nimport c from 'tinyrainbow';\nimport { isMockFunction } from '@vitest/spy';\nimport { processError } from '@vitest/utils/error';\nimport { use, util } from 'chai';\nimport * as chai from 'chai';\nexport { chai };\n\nconst ChaiStyleAssertions = (chai, utils) => {\n\tfunction defProperty(name, delegateTo) {\n\t\tutils.addProperty(chai.Assertion.prototype, name, function() {\n\t\t\tconst jestMethod = chai.Assertion.prototype[delegateTo];\n\t\t\tif (!jestMethod) {\n\t\t\t\tthrow new Error(`Cannot delegate to ${String(delegateTo)}: method not found. Ensure JestChaiExpect plugin is loaded first.`);\n\t\t\t}\n\t\t\treturn jestMethod.call(this);\n\t\t});\n\t}\n\tfunction defPropertyWithArgs(name, delegateTo, ...args) {\n\t\tutils.addProperty(chai.Assertion.prototype, name, function() {\n\t\t\tconst jestMethod = chai.Assertion.prototype[delegateTo];\n\t\t\tif (!jestMethod) {\n\t\t\t\tthrow new Error(`Cannot delegate to ${String(delegateTo)}: method not found. Ensure JestChaiExpect plugin is loaded first.`);\n\t\t\t}\n\t\t\treturn jestMethod.call(this, ...args);\n\t\t});\n\t}\n\tfunction defMethod(name, delegateTo) {\n\t\tutils.addChainableMethod(chai.Assertion.prototype, name, function(...args) {\n\t\t\tconst jestMethod = chai.Assertion.prototype[delegateTo];\n\t\t\tif (!jestMethod) {\n\t\t\t\tthrow new Error(`Cannot delegate to ${String(delegateTo)}: method not found. Ensure JestChaiExpect plugin is loaded first.`);\n\t\t\t}\n\t\t\treturn jestMethod.call(this, ...args);\n\t\t}, () => {});\n\t}\n\tdefProperty(\"called\", \"toHaveBeenCalled\");\n\tdefProperty(\"calledOnce\", \"toHaveBeenCalledOnce\");\n\tdefProperty(\"returned\", \"toHaveReturned\");\n\tdefPropertyWithArgs(\"calledTwice\", \"toHaveBeenCalledTimes\", 2);\n\tdefPropertyWithArgs(\"calledThrice\", \"toHaveBeenCalledTimes\", 3);\n\tdefMethod(\"callCount\", \"toHaveBeenCalledTimes\");\n\tdefMethod(\"calledWith\", \"toHaveBeenCalledWith\");\n\tdefMethod(\"calledOnceWith\", \"toHaveBeenCalledExactlyOnceWith\");\n\tdefMethod(\"lastCalledWith\", \"toHaveBeenLastCalledWith\");\n\tdefMethod(\"nthCalledWith\", \"toHaveBeenNthCalledWith\");\n\tdefMethod(\"returnedWith\", \"toHaveReturnedWith\");\n\tdefMethod(\"returnedTimes\", \"toHaveReturnedTimes\");\n\tdefMethod(\"lastReturnedWith\", \"toHaveLastReturnedWith\");\n\tdefMethod(\"nthReturnedWith\", \"toHaveNthReturnedWith\");\n\tdefMethod(\"calledBefore\", \"toHaveBeenCalledBefore\");\n\tdefMethod(\"calledAfter\", \"toHaveBeenCalledAfter\");\n};\n\nconst MATCHERS_OBJECT = Symbol.for(\"matchers-object\");\nconst JEST_MATCHERS_OBJECT = Symbol.for(\"$$jest-matchers-object\");\nconst GLOBAL_EXPECT = Symbol.for(\"expect-global\");\nconst ASYMMETRIC_MATCHERS_OBJECT = Symbol.for(\"asymmetric-matchers-object\");\n\n// selectively ported from https://github.com/jest-community/jest-extended\nconst customMatchers = {\n\ttoSatisfy(actual, expected, message) {\n\t\tconst { printReceived, printExpected, matcherHint } = this.utils;\n\t\tconst pass = expected(actual);\n\t\treturn {\n\t\t\tpass,\n\t\t\tmessage: () => pass ? `\\\n${matcherHint(\".not.toSatisfy\", \"received\", \"\")}\n\nExpected value to not satisfy:\n${message || printExpected(expected)}\nReceived:\n${printReceived(actual)}` : `\\\n${matcherHint(\".toSatisfy\", \"received\", \"\")}\n\nExpected value to satisfy:\n${message || printExpected(expected)}\n\nReceived:\n${printReceived(actual)}`\n\t\t};\n\t},\n\ttoBeOneOf(actual, expected) {\n\t\tconst { equals, customTesters } = this;\n\t\tconst { printReceived, printExpected, matcherHint } = this.utils;\n\t\tlet pass;\n\t\tif (Array.isArray(expected)) {\n\t\t\tpass = expected.length === 0 || expected.some((item) => equals(item, actual, customTesters));\n\t\t} else if (expected instanceof Set) {\n\t\t\tpass = expected.size === 0 || expected.has(actual) || [...expected].some((item) => equals(item, actual, customTesters));\n\t\t} else {\n\t\t\tthrow new TypeError(`You must provide an array or set to ${matcherHint(\".toBeOneOf\")}, not '${typeof expected}'.`);\n\t\t}\n\t\treturn {\n\t\t\tpass,\n\t\t\tmessage: () => pass ? `\\\n${matcherHint(\".not.toBeOneOf\", \"received\", \"\")}\n\nExpected value to not be one of:\n${printExpected(expected)}\nReceived:\n${printReceived(actual)}` : `\\\n${matcherHint(\".toBeOneOf\", \"received\", \"\")}\n\nExpected value to be one of:\n${printExpected(expected)}\n\nReceived:\n${printReceived(actual)}`\n\t\t};\n\t}\n};\n\nconst EXPECTED_COLOR = c.green;\nconst RECEIVED_COLOR = c.red;\nconst INVERTED_COLOR = c.inverse;\nconst BOLD_WEIGHT = c.bold;\nconst DIM_COLOR = c.dim;\nfunction matcherHint(matcherName, received = \"received\", expected = \"expected\", options = {}) {\n\tconst { comment = \"\", isDirectExpectCall = false, isNot = false, promise = \"\", secondArgument = \"\", expectedColor = EXPECTED_COLOR, receivedColor = RECEIVED_COLOR, secondArgumentColor = EXPECTED_COLOR } = options;\n\tlet hint = \"\";\n\tlet dimString = \"expect\";\n\tif (!isDirectExpectCall && received !== \"\") {\n\t\thint += DIM_COLOR(`${dimString}(`) + receivedColor(received);\n\t\tdimString = \")\";\n\t}\n\tif (promise !== \"\") {\n\t\thint += DIM_COLOR(`${dimString}.`) + promise;\n\t\tdimString = \"\";\n\t}\n\tif (isNot) {\n\t\thint += `${DIM_COLOR(`${dimString}.`)}not`;\n\t\tdimString = \"\";\n\t}\n\tif (matcherName.includes(\".\")) {\n\t\t// Old format: for backward compatibility,\n\t\t// especially without promise or isNot options\n\t\tdimString += matcherName;\n\t} else {\n\t\t// New format: omit period from matcherName arg\n\t\thint += DIM_COLOR(`${dimString}.`) + matcherName;\n\t\tdimString = \"\";\n\t}\n\tif (expected === \"\") {\n\t\tdimString += \"()\";\n\t} else {\n\t\thint += DIM_COLOR(`${dimString}(`) + expectedColor(expected);\n\t\tif (secondArgument) {\n\t\t\thint += DIM_COLOR(\", \") + secondArgumentColor(secondArgument);\n\t\t}\n\t\tdimString = \")\";\n\t}\n\tif (comment !== \"\") {\n\t\tdimString += ` // ${comment}`;\n\t}\n\tif (dimString !== \"\") {\n\t\thint += DIM_COLOR(dimString);\n\t}\n\treturn hint;\n}\nconst SPACE_SYMBOL = \"·\";\n// Instead of inverse highlight which now implies a change,\n// replace common spaces with middle dot at the end of any line.\nfunction replaceTrailingSpaces(text) {\n\treturn text.replace(/\\s+$/gm, (spaces) => SPACE_SYMBOL.repeat(spaces.length));\n}\nfunction printReceived(object) {\n\treturn RECEIVED_COLOR(replaceTrailingSpaces(stringify(object)));\n}\nfunction printExpected(value) {\n\treturn EXPECTED_COLOR(replaceTrailingSpaces(stringify(value)));\n}\nfunction getMatcherUtils() {\n\treturn {\n\t\tEXPECTED_COLOR,\n\t\tRECEIVED_COLOR,\n\t\tINVERTED_COLOR,\n\t\tBOLD_WEIGHT,\n\t\tDIM_COLOR,\n\t\tdiff,\n\t\tmatcherHint,\n\t\tprintReceived,\n\t\tprintExpected,\n\t\tprintDiffOrStringify,\n\t\tprintWithType\n\t};\n}\nfunction printWithType(name, value, print) {\n\tconst type = getType(value);\n\tconst hasType = type !== \"null\" && type !== \"undefined\" ? `${name} has type: ${type}\\n` : \"\";\n\tconst hasValue = `${name} has value: ${print(value)}`;\n\treturn hasType + hasValue;\n}\nfunction addCustomEqualityTesters(newTesters) {\n\tif (!Array.isArray(newTesters)) {\n\t\tthrow new TypeError(`expect.customEqualityTesters: Must be set to an array of Testers. Was given \"${getType(newTesters)}\"`);\n\t}\n\tglobalThis[JEST_MATCHERS_OBJECT].customEqualityTesters.push(...newTesters);\n}\nfunction getCustomEqualityTesters() {\n\treturn globalThis[JEST_MATCHERS_OBJECT].customEqualityTesters;\n}\n\n// Extracted out of jasmine 2.5.2\nfunction equals(a, b, customTesters, strictCheck) {\n\tcustomTesters = customTesters || [];\n\treturn eq(a, b, [], [], customTesters, strictCheck ? hasKey : hasDefinedKey);\n}\nconst functionToString = Function.prototype.toString;\nfunction isAsymmetric(obj) {\n\treturn !!obj && typeof obj === \"object\" && \"asymmetricMatch\" in obj && isA(\"Function\", obj.asymmetricMatch);\n}\nfunction hasAsymmetric(obj, seen = new Set()) {\n\tif (seen.has(obj)) {\n\t\treturn false;\n\t}\n\tseen.add(obj);\n\tif (isAsymmetric(obj)) {\n\t\treturn true;\n\t}\n\tif (Array.isArray(obj)) {\n\t\treturn obj.some((i) => hasAsymmetric(i, seen));\n\t}\n\tif (obj instanceof Set) {\n\t\treturn Array.from(obj).some((i) => hasAsymmetric(i, seen));\n\t}\n\tif (isObject(obj)) {\n\t\treturn Object.values(obj).some((v) => hasAsymmetric(v, seen));\n\t}\n\treturn false;\n}\nfunction asymmetricMatch(a, b, customTesters) {\n\tconst asymmetricA = isAsymmetric(a);\n\tconst asymmetricB = isAsymmetric(b);\n\tif (asymmetricA && asymmetricB) {\n\t\treturn undefined;\n\t}\n\tif (asymmetricA) {\n\t\treturn a.asymmetricMatch(b, customTesters);\n\t}\n\tif (asymmetricB) {\n\t\treturn b.asymmetricMatch(a, customTesters);\n\t}\n}\n// https://github.com/jestjs/jest/blob/905bcbced3d40cdf7aadc4cdf6fb731c4bb3dbe3/packages/expect-utils/src/utils.ts#L509\nfunction isError(value) {\n\tif (typeof Error.isError === \"function\") {\n\t\treturn Error.isError(value);\n\t}\n\tswitch (Object.prototype.toString.call(value)) {\n\t\tcase \"[object Error]\":\n\t\tcase \"[object Exception]\":\n\t\tcase \"[object DOMException]\": return true;\n\t\tdefault: return value instanceof Error;\n\t}\n}\n// Equality function lovingly adapted from isEqual in\n// [Underscore](http://underscorejs.org)\nfunction eq(a, b, aStack, bStack, customTesters, hasKey) {\n\tlet result = true;\n\tconst asymmetricResult = asymmetricMatch(a, b, customTesters);\n\tif (asymmetricResult !== undefined) {\n\t\treturn asymmetricResult;\n\t}\n\tconst testerContext = { equals };\n\tfor (let i = 0; i < customTesters.length; i++) {\n\t\tconst customTesterResult = customTesters[i].call(testerContext, a, b, customTesters);\n\t\tif (customTesterResult !== undefined) {\n\t\t\treturn customTesterResult;\n\t\t}\n\t}\n\tif (typeof URL === \"function\" && a instanceof URL && b instanceof URL) {\n\t\treturn a.href === b.href;\n\t}\n\tif (Object.is(a, b)) {\n\t\treturn true;\n\t}\n\t// A strict comparison is necessary because `null == undefined`.\n\tif (a === null || b === null) {\n\t\treturn a === b;\n\t}\n\tconst className = Object.prototype.toString.call(a);\n\tif (className !== Object.prototype.toString.call(b)) {\n\t\treturn false;\n\t}\n\tswitch (className) {\n\t\tcase \"[object Boolean]\":\n\t\tcase \"[object String]\":\n\t\tcase \"[object Number]\": if (typeof a !== typeof b) {\n\t\t\t// One is a primitive, one a `new Primitive()`\n\t\t\treturn false;\n\t\t} else if (typeof a !== \"object\" && typeof b !== \"object\") {\n\t\t\t// both are proper primitives\n\t\t\treturn Object.is(a, b);\n\t\t} else {\n\t\t\t// both are `new Primitive()`s\n\t\t\treturn Object.is(a.valueOf(), b.valueOf());\n\t\t}\n\t\tcase \"[object Date]\": {\n\t\t\tconst numA = +a;\n\t\t\tconst numB = +b;\n\t\t\t// Coerce dates to numeric primitive values. Dates are compared by their\n\t\t\t// millisecond representations. Note that invalid dates with millisecond representations\n\t\t\t// of `NaN` are equivalent.\n\t\t\treturn numA === numB || Number.isNaN(numA) && Number.isNaN(numB);\n\t\t}\n\t\tcase \"[object RegExp]\": return a.source === b.source && a.flags === b.flags;\n\t\tcase \"[object Temporal.Instant]\":\n\t\tcase \"[object Temporal.ZonedDateTime]\":\n\t\tcase \"[object Temporal.PlainDateTime]\":\n\t\tcase \"[object Temporal.PlainDate]\":\n\t\tcase \"[object Temporal.PlainTime]\":\n\t\tcase \"[object Temporal.PlainYearMonth]\":\n\t\tcase \"[object Temporal.PlainMonthDay]\": return a.equals(b);\n\t\tcase \"[object Temporal.Duration]\": return a.toString() === b.toString();\n\t}\n\tif (typeof a !== \"object\" || typeof b !== \"object\") {\n\t\treturn false;\n\t}\n\t// Use DOM3 method isEqualNode (IE>=9)\n\tif (isDomNode(a) && isDomNode(b)) {\n\t\treturn a.isEqualNode(b);\n\t}\n\t// Used to detect circular references.\n\tlet length = aStack.length;\n\twhile (length--) {\n\t\t// Linear search. Performance is inversely proportional to the number of\n\t\t// unique nested structures.\n\t\t// circular references at same depth are equal\n\t\t// circular reference is not equal to non-circular one\n\t\tif (aStack[length] === a) {\n\t\t\treturn bStack[length] === b;\n\t\t} else if (bStack[length] === b) {\n\t\t\treturn false;\n\t\t}\n\t}\n\t// Add the first object to the stack of traversed objects.\n\taStack.push(a);\n\tbStack.push(b);\n\t// Recursively compare objects and arrays.\n\t// Compare array lengths to determine if a deep comparison is necessary.\n\tif (className === \"[object Array]\" && a.length !== b.length) {\n\t\treturn false;\n\t}\n\tif (isError(a) && isError(b)) {\n\t\ttry {\n\t\t\treturn isErrorEqual(a, b, aStack, bStack, customTesters, hasKey);\n\t\t} finally {\n\t\t\taStack.pop();\n\t\t\tbStack.pop();\n\t\t}\n\t}\n\t// Deep compare objects.\n\tconst aKeys = keys(a, hasKey);\n\tlet key;\n\tlet size = aKeys.length;\n\t// Ensure that both objects contain the same number of properties before comparing deep equality.\n\tif (keys(b, hasKey).length !== size) {\n\t\treturn false;\n\t}\n\twhile (size--) {\n\t\tkey = aKeys[size];\n\t\t// Deep compare each member\n\t\tresult = hasKey(b, key) && eq(a[key], b[key], aStack, bStack, customTesters, hasKey);\n\t\tif (!result) {\n\t\t\treturn false;\n\t\t}\n\t}\n\t// Remove the first object from the stack of traversed objects.\n\taStack.pop();\n\tbStack.pop();\n\treturn result;\n}\nfunction isErrorEqual(a, b, aStack, bStack, customTesters, hasKey) {\n\t// https://nodejs.org/docs/latest-v22.x/api/assert.html#comparison-details\n\t// - [[Prototype]] of objects are compared using the === operator.\n\t// - Only enumerable \"own\" properties are considered.\n\t// - Error names, messages, causes, and errors are always compared, even if these are not enumerable properties. errors is also compared.\n\tlet result = Object.prototype.toString.call(a) === Object.prototype.toString.call(b) && a.name === b.name && a.message === b.message;\n\t// check Error.cause asymmetrically\n\tif (typeof b.cause !== \"undefined\") {\n\t\tresult &&= eq(a.cause, b.cause, aStack, bStack, customTesters, hasKey);\n\t}\n\t// AggregateError.errors\n\tif (a instanceof AggregateError && b instanceof AggregateError) {\n\t\tresult &&= eq(a.errors, b.errors, aStack, bStack, customTesters, hasKey);\n\t}\n\t// spread to compare enumerable properties\n\tresult &&= eq({ ...a }, { ...b }, aStack, bStack, customTesters, hasKey);\n\treturn result;\n}\nfunction keys(obj, hasKey) {\n\tconst keys = [];\n\tfor (const key in obj) {\n\t\tif (hasKey(obj, key)) {\n\t\t\tkeys.push(key);\n\t\t}\n\t}\n\treturn keys.concat(Object.getOwnPropertySymbols(obj).filter((symbol) => Object.getOwnPropertyDescriptor(obj, symbol).enumerable));\n}\nfunction hasDefinedKey(obj, key) {\n\treturn hasKey(obj, key) && obj[key] !== undefined;\n}\nfunction hasKey(obj, key) {\n\treturn Object.hasOwn(obj, key);\n}\nfunction isA(typeName, value) {\n\treturn Object.prototype.toString.apply(value) === `[object ${typeName}]`;\n}\nfunction isDomNode(obj) {\n\treturn obj !== null && typeof obj === \"object\" && \"nodeType\" in obj && typeof obj.nodeType === \"number\" && \"nodeName\" in obj && typeof obj.nodeName === \"string\" && \"isEqualNode\" in obj && typeof obj.isEqualNode === \"function\";\n}\nfunction fnNameFor(func) {\n\tif (func.name) {\n\t\treturn func.name;\n\t}\n\tconst matches = functionToString.call(func).match(/^(?:async)?\\s*function\\s*(?:\\*\\s*)?([\\w$]+)\\s*\\(/);\n\treturn matches ? matches[1] : \"<anonymous>\";\n}\nfunction getPrototype(obj) {\n\tif (Object.getPrototypeOf) {\n\t\treturn Object.getPrototypeOf(obj);\n\t}\n\tif (obj.constructor.prototype === obj) {\n\t\treturn null;\n\t}\n\treturn obj.constructor.prototype;\n}\nfunction hasProperty(obj, property) {\n\tif (!obj) {\n\t\treturn false;\n\t}\n\tif (Object.hasOwn(obj, property)) {\n\t\treturn true;\n\t}\n\treturn hasProperty(getPrototype(obj), property);\n}\n// SENTINEL constants are from https://github.com/facebook/immutable-js\nconst IS_KEYED_SENTINEL = \"@@__IMMUTABLE_KEYED__@@\";\nconst IS_SET_SENTINEL = \"@@__IMMUTABLE_SET__@@\";\nconst IS_LIST_SENTINEL = \"@@__IMMUTABLE_LIST__@@\";\nconst IS_ORDERED_SENTINEL = \"@@__IMMUTABLE_ORDERED__@@\";\nconst IS_RECORD_SYMBOL = \"@@__IMMUTABLE_RECORD__@@\";\nfunction isImmutableUnorderedKeyed(maybeKeyed) {\n\treturn !!(maybeKeyed && maybeKeyed[IS_KEYED_SENTINEL] && !maybeKeyed[IS_ORDERED_SENTINEL]);\n}\nfunction isImmutableUnorderedSet(maybeSet) {\n\treturn !!(maybeSet && maybeSet[IS_SET_SENTINEL] && !maybeSet[IS_ORDERED_SENTINEL]);\n}\nfunction isObjectLiteral(source) {\n\treturn source != null && typeof source === \"object\" && !Array.isArray(source);\n}\nfunction isImmutableList(source) {\n\treturn Boolean(source && isObjectLiteral(source) && source[IS_LIST_SENTINEL]);\n}\nfunction isImmutableOrderedKeyed(source) {\n\treturn Boolean(source && isObjectLiteral(source) && source[IS_KEYED_SENTINEL] && source[IS_ORDERED_SENTINEL]);\n}\nfunction isImmutableOrderedSet(source) {\n\treturn Boolean(source && isObjectLiteral(source) && source[IS_SET_SENTINEL] && source[IS_ORDERED_SENTINEL]);\n}\nfunction isImmutableRecord(source) {\n\treturn Boolean(source && isObjectLiteral(source) && source[IS_RECORD_SYMBOL]);\n}\n/**\n* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.\n*\n* This source code is licensed under the MIT license found in the\n* LICENSE file in the root directory of this source tree.\n*\n*/\nconst IteratorSymbol = Symbol.iterator;\nfunction hasIterator(object) {\n\treturn !!(object != null && object[IteratorSymbol]);\n}\nfunction iterableEquality(a, b, customTesters = [], aStack = [], bStack = []) {\n\tif (typeof a !== \"object\" || typeof b !== \"object\" || Array.isArray(a) || Array.isArray(b) || !hasIterator(a) || !hasIterator(b)) {\n\t\treturn undefined;\n\t}\n\tif (a.constructor !== b.constructor) {\n\t\treturn false;\n\t}\n\tlet length = aStack.length;\n\twhile (length--) {\n\t\t// Linear search. Performance is inversely proportional to the number of\n\t\t// unique nested structures.\n\t\t// circular references at same depth are equal\n\t\t// circular reference is not equal to non-circular one\n\t\tif (aStack[length] === a) {\n\t\t\treturn bStack[length] === b;\n\t\t}\n\t}\n\taStack.push(a);\n\tbStack.push(b);\n\tconst filteredCustomTesters = [...customTesters.filter((t) => t !== iterableEquality), iterableEqualityWithStack];\n\tfunction iterableEqualityWithStack(a, b) {\n\t\treturn iterableEquality(a, b, [...customTesters], [...aStack], [...bStack]);\n\t}\n\tif (a.size !== undefined) {\n\t\tif (a.size !== b.size) {\n\t\t\treturn false;\n\t\t} else if (isA(\"Set\", a) || isImmutableUnorderedSet(a)) {\n\t\t\tlet allFound = true;\n\t\t\tfor (const aValue of a) {\n\t\t\t\tif (!b.has(aValue)) {\n\t\t\t\t\tlet has = false;\n\t\t\t\t\tfor (const bValue of b) {\n\t\t\t\t\t\tconst isEqual = equals(aValue, bValue, filteredCustomTesters);\n\t\t\t\t\t\tif (isEqual === true) {\n\t\t\t\t\t\t\thas = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (has === false) {\n\t\t\t\t\t\tallFound = false;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// Remove the first value from the stack of traversed values.\n\t\t\taStack.pop();\n\t\t\tbStack.pop();\n\t\t\treturn allFound;\n\t\t} else if (isA(\"Map\", a) || isImmutableUnorderedKeyed(a)) {\n\t\t\tlet allFound = true;\n\t\t\tfor (const aEntry of a) {\n\t\t\t\tif (!b.has(aEntry[0]) || !equals(aEntry[1], b.get(aEntry[0]), filteredCustomTesters)) {\n\t\t\t\t\tlet has = false;\n\t\t\t\t\tfor (const bEntry of b) {\n\t\t\t\t\t\tconst matchedKey = equals(aEntry[0], bEntry[0], filteredCustomTesters);\n\t\t\t\t\t\tlet matchedValue = false;\n\t\t\t\t\t\tif (matchedKey === true) {\n\t\t\t\t\t\t\tmatchedValue = equals(aEntry[1], bEntry[1], filteredCustomTesters);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (matchedValue === true) {\n\t\t\t\t\t\t\thas = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (has === false) {\n\t\t\t\t\t\tallFound = false;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// Remove the first value from the stack of traversed values.\n\t\t\taStack.pop();\n\t\t\tbStack.pop();\n\t\t\treturn allFound;\n\t\t}\n\t}\n\tconst bIterator = b[IteratorSymbol]();\n\tfor (const aValue of a) {\n\t\tconst nextB = bIterator.next();\n\t\tif (nextB.done || !equals(aValue, nextB.value, filteredCustomTesters)) {\n\t\t\treturn false;\n\t\t}\n\t}\n\tif (!bIterator.next().done) {\n\t\treturn false;\n\t}\n\tif (!isImmutableList(a) && !isImmutableOrderedKeyed(a) && !isImmutableOrderedSet(a) && !isImmutableRecord(a)) {\n\t\tconst aEntries = Object.entries(a);\n\t\tconst bEntries = Object.entries(b);\n\t\tif (!equals(aEntries, bEntries, filteredCustomTesters)) {\n\t\t\treturn false;\n\t\t}\n\t}\n\t// Remove the first value from the stack of traversed values.\n\taStack.pop();\n\tbStack.pop();\n\treturn true;\n}\n/**\n* Checks if `hasOwnProperty(object, key)` up the prototype chain, stopping at `Object.prototype`.\n*/\nfunction hasPropertyInObject(object, key) {\n\tconst shouldTerminate = !object || typeof object !== \"object\" || object === Object.prototype;\n\tif (shouldTerminate) {\n\t\treturn false;\n\t}\n\treturn Object.hasOwn(object, key) || hasPropertyInObject(Object.getPrototypeOf(object), key);\n}\nfunction isObjectWithKeys(a) {\n\treturn isObject(a) && !isError(a) && !Array.isArray(a) && !(a instanceof Date) && !(a instanceof Set) && !(a instanceof Map);\n}\nfunction subsetEquality(object, subset, customTesters = []) {\n\tconst filteredCustomTesters = customTesters.filter((t) => t !== subsetEquality);\n\t// subsetEquality needs to keep track of the references\n\t// it has already visited to avoid infinite loops in case\n\t// there are circular references in the subset passed to it.\n\tconst subsetEqualityWithContext = (seenReferences = new WeakMap()) => (object, subset) => {\n\t\tif (!isObjectWithKeys(subset)) {\n\t\t\treturn undefined;\n\t\t}\n\t\treturn Object.keys(subset).every((key) => {\n\t\t\tif (subset[key] != null && typeof subset[key] === \"object\") {\n\t\t\t\tif (seenReferences.has(subset[key])) {\n\t\t\t\t\treturn equals(object[key], subset[key], filteredCustomTesters);\n\t\t\t\t}\n\t\t\t\tseenReferences.set(subset[key], true);\n\t\t\t}\n\t\t\tconst result = object != null && hasPropertyInObject(object, key) && equals(object[key], subset[key], [...filteredCustomTesters, subsetEqualityWithContext(seenReferences)]);\n\t\t\t// The main goal of using seenReference is to avoid circular node on tree.\n\t\t\t// It will only happen within a parent and its child, not a node and nodes next to it (same level)\n\t\t\t// We should keep the reference for a parent and its child only\n\t\t\t// Thus we should delete the reference immediately so that it doesn't interfere\n\t\t\t// other nodes within the same level on tree.\n\t\t\tseenReferences.delete(subset[key]);\n\t\t\treturn result;\n\t\t});\n\t};\n\treturn subsetEqualityWithContext()(object, subset);\n}\nfunction typeEquality(a, b) {\n\tif (a == null || b == null || a.constructor === b.constructor) {\n\t\treturn undefined;\n\t}\n\treturn false;\n}\nfunction arrayBufferEquality(a, b) {\n\tlet dataViewA = a;\n\tlet dataViewB = b;\n\tif (!(a instanceof DataView && b instanceof DataView)) {\n\t\tif (!(a instanceof ArrayBuffer) || !(b instanceof ArrayBuffer)) {\n\t\t\treturn undefined;\n\t\t}\n\t\ttry {\n\t\t\tdataViewA = new DataView(a);\n\t\t\tdataViewB = new DataView(b);\n\t\t} catch {\n\t\t\treturn undefined;\n\t\t}\n\t}\n\t// Buffers are not equal when they do not have the same byte length\n\tif (dataViewA.byteLength !== dataViewB.byteLength) {\n\t\treturn false;\n\t}\n\t// Check if every byte value is equal to each other\n\tfor (let i = 0; i < dataViewA.byteLength; i++) {\n\t\tif (dataViewA.getUint8(i) !== dataViewB.getUint8(i)) {\n\t\t\treturn false;\n\t\t}\n\t}\n\treturn true;\n}\nfunction sparseArrayEquality(a, b, customTesters = []) {\n\tif (!Array.isArray(a) || !Array.isArray(b)) {\n\t\treturn undefined;\n\t}\n\t// A sparse array [, , 1] will have keys [\"2\"] whereas [undefined, undefined, 1] will have keys [\"0\", \"1\", \"2\"]\n\tconst aKeys = Object.keys(a);\n\tconst bKeys = Object.keys(b);\n\tconst filteredCustomTesters = customTesters.filter((t) => t !== sparseArrayEquality);\n\treturn equals(a, b, filteredCustomTesters, true) && equals(aKeys, bKeys);\n}\nfunction generateToBeMessage(deepEqualityName, expected = \"#{this}\", actual = \"#{exp}\") {\n\tconst toBeMessage = `expected ${expected} to be ${actual} // Object.is equality`;\n\tif ([\"toStrictEqual\", \"toEqual\"].includes(deepEqualityName)) {\n\t\treturn `${toBeMessage}\\n\\nIf it should pass with deep equality, replace \"toBe\" with \"${deepEqualityName}\"\\n\\nExpected: ${expected}\\nReceived: serializes to the same string\\n`;\n\t}\n\treturn toBeMessage;\n}\nfunction pluralize(word, count) {\n\treturn `${count} ${word}${count === 1 ? \"\" : \"s\"}`;\n}\nfunction getObjectKeys(object) {\n\treturn [...Object.keys(object), ...Object.getOwnPropertySymbols(object).filter((s) => Object.getOwnPropertyDescriptor(object, s)?.enumerable)];\n}\nfunction getObjectSubset(object, subset, customTesters) {\n\tlet stripped = 0;\n\tconst getObjectSubsetWithContext = (seenReferences = new WeakMap()) => (object, subset) => {\n\t\tif (Array.isArray(object)) {\n\t\t\tif (Array.isArray(subset) && subset.length === object.length) {\n\t\t\t\t// The map method returns correct subclass of subset.\n\t\t\t\treturn subset.map((sub, i) => getObjectSubsetWithContext(seenReferences)(object[i], sub));\n\t\t\t}\n\t\t} else if (object instanceof Date) {\n\t\t\treturn object;\n\t\t} else if (isObject(object) && isObject(subset)) {\n\t\t\tif (equals(object, subset, [\n\t\t\t\t...customTesters,\n\t\t\t\titerableEquality,\n\t\t\t\tsubsetEquality\n\t\t\t])) {\n\t\t\t\t// return \"expected\" subset to avoid showing irrelevant toMatchObject diff\n\t\t\t\treturn subset;\n\t\t\t}\n\t\t\tconst trimmed = {};\n\t\t\tseenReferences.set(object, trimmed);\n\t\t\t// preserve constructor for toMatchObject diff\n\t\t\tif (typeof object.constructor === \"function\" && typeof object.constructor.name === \"string\") {\n\t\t\t\tObject.defineProperty(trimmed, \"constructor\", {\n\t\t\t\t\tenumerable: false,\n\t\t\t\t\tvalue: object.constructor\n\t\t\t\t});\n\t\t\t}\n\t\t\tfor (const key of getObjectKeys(object)) {\n\t\t\t\tif (hasPropertyInObject(subset, key)) {\n\t\t\t\t\ttrimmed[key] = seenReferences.has(object[key]) ? seenReferences.get(object[key]) : getObjectSubsetWithContext(seenReferences)(object[key], subset[key]);\n\t\t\t\t} else {\n\t\t\t\t\tif (!seenReferences.has(object[key])) {\n\t\t\t\t\t\tstripped += 1;\n\t\t\t\t\t\tif (isObject(object[key])) {\n\t\t\t\t\t\t\tstripped += getObjectKeys(object[key]).length;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tgetObjectSubsetWithContext(seenReferences)(object[key], subset[key]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (getObjectKeys(trimmed).length > 0) {\n\t\t\t\treturn trimmed;\n\t\t\t}\n\t\t}\n\t\treturn object;\n\t};\n\treturn {\n\t\tsubset: getObjectSubsetWithContext()(object, subset),\n\t\tstripped\n\t};\n}\n/**\n* Detects if an object is a Standard Schema V1 compatible schema\n*/\nfunction isStandardSchema(obj) {\n\treturn !!obj && (typeof obj === \"object\" || typeof obj === \"function\") && obj[\"~standard\"] && typeof obj[\"~standard\"].validate === \"function\";\n}\n\nif (!Object.hasOwn(globalThis, MATCHERS_OBJECT)) {\n\tconst globalState = new WeakMap();\n\tconst matchers = Object.create(null);\n\tconst customEqualityTesters = [];\n\tconst asymmetricMatchers = Object.create(null);\n\tObject.defineProperty(globalThis, MATCHERS_OBJECT, { get: () => globalState });\n\tObject.defineProperty(globalThis, JEST_MATCHERS_OBJECT, {\n\t\tconfigurable: true,\n\t\tget: () => ({\n\t\t\tstate: globalState.get(globalThis[GLOBAL_EXPECT]),\n\t\t\tmatchers,\n\t\t\tcustomEqualityTesters\n\t\t})\n\t});\n\tObject.defineProperty(globalThis, ASYMMETRIC_MATCHERS_OBJECT, { get: () => asymmetricMatchers });\n}\nfunction getState(expect) {\n\treturn globalThis[MATCHERS_OBJECT].get(expect);\n}\nfunction setState(state, expect) {\n\tconst map = globalThis[MATCHERS_OBJECT];\n\tconst current = map.get(expect) || {};\n\t// so it keeps getters from `testPath`\n\tconst results = Object.defineProperties(current, {\n\t\t...Object.getOwnPropertyDescriptors(current),\n\t\t...Object.getOwnPropertyDescriptors(state)\n\t});\n\tmap.set(expect, results);\n}\n\nclass AsymmetricMatcher {\n\t// should have \"jest\" to be compatible with its ecosystem\n\t$$typeof = Symbol.for(\"jest.asymmetricMatcher\");\n\tconstructor(sample, inverse = false) {\n\t\tthis.sample = sample;\n\t\tthis.inverse = inverse;\n\t}\n\tgetMatcherContext(expect) {\n\t\treturn {\n\t\t\t...getState(expect || globalThis[GLOBAL_EXPECT]),\n\t\t\tequals,\n\t\t\tisNot: this.inverse,\n\t\t\tcustomTesters: getCustomEqualityTesters(),\n\t\t\tutils: {\n\t\t\t\t...getMatcherUtils(),\n\t\t\t\tdiff,\n\t\t\t\tstringify,\n\t\t\t\titerableEquality,\n\t\t\t\tsubsetEquality\n\t\t\t}\n\t\t};\n\t}\n}\n// implement custom chai/loupe inspect for better AssertionError.message formatting\n// https://github.com/chaijs/loupe/blob/9b8a6deabcd50adc056a64fb705896194710c5c6/src/index.ts#L29\n// @ts-expect-error computed properties is not supported when isolatedDeclarations is enabled\n// FIXME: https://github.com/microsoft/TypeScript/issues/61068\nAsymmetricMatcher.prototype[Symbol.for(\"chai/inspect\")] = function(options) {\n\t// minimal pretty-format with simple manual truncation\n\tconst result = stringify(this, options.depth, { min: true });\n\tif (result.length <= options.truncate) {\n\t\treturn result;\n\t}\n\treturn `${this.toString()}{…}`;\n};\nclass StringContaining extends AsymmetricMatcher {\n\tconstructor(sample, inverse = false) {\n\t\tif (!isA(\"String\", sample)) {\n\t\t\tthrow new Error(\"Expected is not a string\");\n\t\t}\n\t\tsuper(sample, inverse);\n\t}\n\tasymmetricMatch(other) {\n\t\tconst result = isA(\"String\", other) && other.includes(this.sample);\n\t\treturn this.inverse ? !result : result;\n\t}\n\ttoString() {\n\t\treturn `String${this.inverse ? \"Not\" : \"\"}Containing`;\n\t}\n\tgetExpectedType() {\n\t\treturn \"string\";\n\t}\n}\nclass Anything extends AsymmetricMatcher {\n\tasymmetricMatch(other) {\n\t\treturn other != null;\n\t}\n\ttoString() {\n\t\treturn \"Anything\";\n\t}\n\ttoAsymmetricMatcher() {\n\t\treturn \"Anything\";\n\t}\n}\nclass ObjectContaining extends AsymmetricMatcher {\n\tconstructor(sample, inverse = false) {\n\t\tsuper(sample, inverse);\n\t}\n\tgetPrototype(obj) {\n\t\tif (Object.getPrototypeOf) {\n\t\t\treturn Object.getPrototypeOf(obj);\n\t\t}\n\t\tif (obj.constructor.prototype === obj) {\n\t\t\treturn null;\n\t\t}\n\t\treturn obj.constructor.prototype;\n\t}\n\thasProperty(obj, property) {\n\t\tif (!obj) {\n\t\t\treturn false;\n\t\t}\n\t\tif (Object.hasOwn(obj, property)) {\n\t\t\treturn true;\n\t\t}\n\t\treturn this.hasProperty(this.getPrototype(obj), property);\n\t}\n\tgetProperties(obj) {\n\t\treturn [...Object.keys(obj), ...Object.getOwnPropertySymbols(obj).filter((s) => Object.getOwnPropertyDescriptor(obj, s)?.enumerable)];\n\t}\n\tasymmetricMatch(other, customTesters) {\n\t\tif (typeof this.sample !== \"object\") {\n\t\t\tthrow new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);\n\t\t}\n\t\tlet result = true;\n\t\tconst properties = this.getProperties(this.sample);\n\t\tfor (const property of properties) {\n\t\t\tif (!this.hasProperty(other, property)) {\n\t\t\t\tresult = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tconst value = this.sample[property];\n\t\t\tconst otherValue = other[property];\n\t\t\tif (!equals(value, otherValue, customTesters)) {\n\t\t\t\tresult = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn this.inverse ? !result : result;\n\t}\n\ttoString() {\n\t\treturn `Object${this.inverse ? \"Not\" : \"\"}Containing`;\n\t}\n\tgetExpectedType() {\n\t\treturn \"object\";\n\t}\n}\nclass ArrayContaining extends AsymmetricMatcher {\n\tconstructor(sample, inverse = false) {\n\t\tsuper(sample, inverse);\n\t}\n\tasymmetricMatch(other, customTesters) {\n\t\tif (!Array.isArray(this.sample)) {\n\t\t\tthrow new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);\n\t\t}\n\t\tconst result = this.sample.length === 0 || Array.isArray(other) && this.sample.every((item) => other.some((another) => equals(item, another, customTesters)));\n\t\treturn this.inverse ? !result : result;\n\t}\n\ttoString() {\n\t\treturn `Array${this.inverse ? \"Not\" : \"\"}Containing`;\n\t}\n\tgetExpectedType() {\n\t\treturn \"array\";\n\t}\n}\nclass Any extends AsymmetricMatcher {\n\tconstructor(sample) {\n\t\tif (typeof sample === \"undefined\") {\n\t\t\tthrow new TypeError(\"any() expects to be passed a constructor function. \" + \"Please pass one or use anything() to match any object.\");\n\t\t}\n\t\tsuper(sample);\n\t}\n\tfnNameFor(func) {\n\t\tif (func.name) {\n\t\t\treturn func.name;\n\t\t}\n\t\tconst functionToString = Function.prototype.toString;\n\t\tconst matches = functionToString.call(func).match(/^(?:async)?\\s*function\\s*(?:\\*\\s*)?([\\w$]+)\\s*\\(/);\n\t\treturn matches ? matches[1] : \"<anonymous>\";\n\t}\n\tasymmetricMatch(other) {\n\t\tif (this.sample === String) {\n\t\t\treturn typeof other == \"string\" || other instanceof String;\n\t\t}\n\t\tif (this.sample === Number) {\n\t\t\treturn typeof other == \"number\" || other instanceof Number;\n\t\t}\n\t\tif (this.sample === Function) {\n\t\t\treturn typeof other == \"function\" || typeof other === \"function\";\n\t\t}\n\t\tif (this.sample === Boolean) {\n\t\t\treturn typeof other == \"boolean\" || other instanceof Boolean;\n\t\t}\n\t\tif (this.sample === BigInt) {\n\t\t\treturn typeof other == \"bigint\" || other instanceof BigInt;\n\t\t}\n\t\tif (this.sample === Symbol) {\n\t\t\treturn typeof other == \"symbol\" || other instanceof Symbol;\n\t\t}\n\t\tif (this.sample === Object) {\n\t\t\treturn typeof other == \"object\";\n\t\t}\n\t\treturn other instanceof this.sample;\n\t}\n\ttoString() {\n\t\treturn \"Any\";\n\t}\n\tgetExpectedType() {\n\t\tif (this.sample === String) {\n\t\t\treturn \"string\";\n\t\t}\n\t\tif (this.sample === Number) {\n\t\t\treturn \"number\";\n\t\t}\n\t\tif (this.sample === Function) {\n\t\t\treturn \"function\";\n\t\t}\n\t\tif (this.sample === Object) {\n\t\t\treturn \"object\";\n\t\t}\n\t\tif (this.sample === Boolean) {\n\t\t\treturn \"boolean\";\n\t\t}\n\t\treturn this.fnNameFor(this.sample);\n\t}\n\ttoAsymmetricMatcher() {\n\t\treturn `Any<${this.fnNameFor(this.sample)}>`;\n\t}\n}\nclass StringMatching extends AsymmetricMatcher {\n\tconstructor(sample, inverse = false) {\n\t\tif (!isA(\"String\", sample) && !isA(\"RegExp\", sample)) {\n\t\t\tthrow new Error(\"Expected is not a String or a RegExp\");\n\t\t}\n\t\tsuper(new RegExp(sample), inverse);\n\t}\n\tasymmetricMatch(other) {\n\t\tconst result = isA(\"String\", other) && this.sample.test(other);\n\t\treturn this.inverse ? !result : result;\n\t}\n\ttoString() {\n\t\treturn `String${this.inverse ? \"Not\" : \"\"}Matching`;\n\t}\n\tgetExpectedType() {\n\t\treturn \"string\";\n\t}\n}\nclass CloseTo extends AsymmetricMatcher {\n\tprecision;\n\tconstructor(sample, precision = 2, inverse = false) {\n\t\tif (!isA(\"Number\", sample)) {\n\t\t\tthrow new Error(\"Expected is not a Number\");\n\t\t}\n\t\tif (!isA(\"Number\", precision)) {\n\t\t\tthrow new Error(\"Precision is not a Number\");\n\t\t}\n\t\tsuper(sample);\n\t\tthis.inverse = inverse;\n\t\tthis.precision = precision;\n\t}\n\tasymmetricMatch(other) {\n\t\tif (!isA(\"Number\", other)) {\n\t\t\treturn false;\n\t\t}\n\t\tlet result = false;\n\t\tif (other === Number.POSITIVE_INFINITY && this.sample === Number.POSITIVE_INFINITY) {\n\t\t\tresult = true;\n\t\t} else if (other === Number.NEGATIVE_INFINITY && this.sample === Number.NEGATIVE_INFINITY) {\n\t\t\tresult = true;\n\t\t} else {\n\t\t\tresult = Math.abs(this.sample - other) < 10 ** -this.precision / 2;\n\t\t}\n\t\treturn this.inverse ? !result : result;\n\t}\n\ttoString() {\n\t\treturn `Number${this.inverse ? \"Not\" : \"\"}CloseTo`;\n\t}\n\tgetExpectedType() {\n\t\treturn \"number\";\n\t}\n\ttoAsymmetricMatcher() {\n\t\treturn [\n\t\t\tthis.toString(),\n\t\t\tthis.sample,\n\t\t\t`(${pluralize(\"digit\", this.precision)})`\n\t\t].join(\" \");\n\t}\n}\nclass SchemaMatching extends AsymmetricMatcher {\n\tresult;\n\tconstructor(sample, inverse = false) {\n\t\tif (!isStandardSchema(sample)) {\n\t\t\tthrow new TypeError(\"SchemaMatching expected to receive a Standard Schema.\");\n\t\t}\n\t\tsuper(sample, inverse);\n\t}\n\tasymmetricMatch(other) {\n\t\tconst result = this.sample[\"~standard\"].validate(other);\n\t\t// Check if the result is a Promise (async validation)\n\t\tif (result instanceof Promise) {\n\t\t\tthrow new TypeError(\"Async schema validation is not supported in asymmetric matchers.\");\n\t\t}\n\t\tthis.result = result;\n\t\tconst pass = !this.result.issues || this.result.issues.length === 0;\n\t\treturn this.inverse ? !pass : pass;\n\t}\n\ttoString() {\n\t\treturn `Schema${this.inverse ? \"Not\" : \"\"}Matching`;\n\t}\n\tgetExpectedType() {\n\t\treturn \"object\";\n\t}\n\ttoAsymmetricMatcher() {\n\t\tconst { utils } = this.getMatcherContext();\n\t\tconst issues = this.result?.issues || [];\n\t\tif (issues.length > 0) {\n\t\t\treturn `${this.toString()} ${utils.stringify(this.result, undefined, { printBasicPrototype: false })}`;\n\t\t}\n\t\treturn this.toString();\n\t}\n}\nconst JestAsymmetricMatchers = (chai, utils) => {\n\tutils.addMethod(chai.expect, \"anything\", () => new Anything());\n\tutils.addMethod(chai.expect, \"any\", (expected) => new Any(expected));\n\tutils.addMethod(chai.expect, \"stringContaining\", (expected) => new StringContaining(expected));\n\tutils.addMethod(chai.expect, \"objectContaining\", (expected) => new ObjectContaining(expected));\n\tutils.addMethod(chai.expect, \"arrayContaining\", (expected) => new ArrayContaining(expected));\n\tutils.addMethod(chai.expect, \"stringMatching\", (expected) => new StringMatching(expected));\n\tutils.addMethod(chai.expect, \"closeTo\", (expected, precision) => new CloseTo(expected, precision));\n\tutils.addMethod(chai.expect, \"schemaMatching\", (expected) => new SchemaMatching(expected));\n\t// defineProperty does not work\n\tchai.expect.not = {\n\t\tstringContaining: (expected) => new StringContaining(expected, true),\n\t\tobjectContaining: (expected) => new ObjectContaining(expected, true),\n\t\tarrayContaining: (expected) => new ArrayContaining(expected, true),\n\t\tstringMatching: (expected) => new StringMatching(expected, true),\n\t\tcloseTo: (expected, precision) => new CloseTo(expected, precision, true),\n\t\tschemaMatching: (expected) => new SchemaMatching(expected, true)\n\t};\n};\n\nfunction createAssertionMessage(util, assertion, hasArgs) {\n\tconst soft = util.flag(assertion, \"soft\") ? \".soft\" : \"\";\n\tconst not = util.flag(assertion, \"negate\") ? \"not.\" : \"\";\n\tconst name = `${util.flag(assertion, \"_name\")}(${hasArgs ? \"expected\" : \"\"})`;\n\tconst promiseName = util.flag(assertion, \"promise\");\n\tconst promise = promiseName ? `.${promiseName}` : \"\";\n\treturn `expect${soft}(actual)${promise}.${not}${name}`;\n}\nfunction recordAsyncExpect(_test, promise, assertion, error, isSoft) {\n\tconst test = _test;\n\t// record promise for test, that resolves before test ends\n\tif (test && promise instanceof Promise) {\n\t\t// if promise is explicitly awaited, remove it from the list\n\t\tpromise = promise.finally(() => {\n\t\t\tif (!test.promises) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst index = test.promises.indexOf(promise);\n\t\t\tif (index !== -1) {\n\t\t\t\ttest.promises.splice(index, 1);\n\t\t\t}\n\t\t});\n\t\t// record promise\n\t\tif (!test.promises) {\n\t\t\ttest.promises = [];\n\t\t}\n\t\t// setup `expect.soft` handler here instead of `wrapAssertion`\n\t\t// to avoid double error tracking while keeping non-await promise detection.\n\t\tif (isSoft) {\n\t\t\tpromise = promise.then(noop, (err) => {\n\t\t\t\thandleTestError(test, err);\n\t\t\t});\n\t\t}\n\t\ttest.promises.push(promise);\n\t\tlet resolved = false;\n\t\ttest.onFinished ??= [];\n\t\ttest.onFinished.push(() => {\n\t\t\tif (!resolved) {\n\t\t\t\tconst processor = globalThis.__vitest_worker__?.onFilterStackTrace || ((s) => s || \"\");\n\t\t\t\tconst stack = processor(error.stack);\n\t\t\t\tconsole.warn([\n\t\t\t\t\t`Promise returned by \\`${assertion}\\` was not awaited. `,\n\t\t\t\t\t\"Vitest currently auto-awaits hanging assertions at the end of the test, but this will cause the test to fail in the next Vitest major. \",\n\t\t\t\t\t\"Please remember to await the assertion.\\n\",\n\t\t\t\t\tstack\n\t\t\t\t].join(\"\"));\n\t\t\t}\n\t\t});\n\t\treturn {\n\t\t\tthen(onFulfilled, onRejected) {\n\t\t\t\tresolved = true;\n\t\t\t\treturn promise.then(onFulfilled, onRejected);\n\t\t\t},\n\t\t\tcatch(onRejected) {\n\t\t\t\tresolved = true;\n\t\t\t\treturn promise.catch(onRejected);\n\t\t\t},\n\t\t\tfinally(onFinally) {\n\t\t\t\tresolved = true;\n\t\t\t\treturn promise.finally(onFinally);\n\t\t\t},\n\t\t\t[Symbol.toStringTag]: \"Promise\"\n\t\t};\n\t}\n\treturn promise;\n}\nfunction handleTestError(test, err) {\n\ttest.result ||= { state: \"fail\" };\n\ttest.result.state = \"fail\";\n\ttest.result.errors ||= [];\n\ttest.result.errors.push(processError(err));\n}\nfunction wrapAssertion(utils, name, fn) {\n\treturn function(...args) {\n\t\t// private\n\t\tif (name !== \"withTest\") {\n\t\t\tutils.flag(this, \"_name\", name);\n\t\t}\n\t\tif (!utils.flag(this, \"soft\")) {\n\t\t\t// avoid WebKit's proper tail call to preserve stacktrace offset for inline snapshot\n\t\t\t// https://webkit.org/blog/6240/ecmascript-6-proper-tail-calls-in-webkit\n\t\t\ttry {\n\t\t\t\treturn fn.apply(this, args);\n\t\t\t} finally {}\n\t\t}\n\t\tconst test = utils.flag(this, \"vitest-test\");\n\t\tif (!test) {\n\t\t\tthrow new Error(\"expect.soft() can only be used inside a test\");\n\t\t}\n\t\ttry {\n\t\t\tconst result = fn.apply(this, args);\n\t\t\tif (result && typeof result === \"object\" && typeof result.then === \"function\") {\n\t\t\t\treturn result.then(noop, (err) => {\n\t\t\t\t\thandleTestError(test, err);\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn result;\n\t\t} catch (err) {\n\t\t\thandleTestError(test, err);\n\t\t}\n\t};\n}\n\n// Jest Expect Compact\nconst JestChaiExpect = (chai, utils) => {\n\tconst { AssertionError } = chai;\n\tconst customTesters = getCustomEqualityTesters();\n\tfunction def(name, fn) {\n\t\tconst addMethod = (n) => {\n\t\t\tconst softWrapper = wrapAssertion(utils, n, fn);\n\t\t\tutils.addMethod(chai.Assertion.prototype, n, softWrapper);\n\t\t\tutils.addMethod(globalThis[JEST_MATCHERS_OBJECT].matchers, n, softWrapper);\n\t\t};\n\t\tif (Array.isArray(name)) {\n\t\t\tname.forEach((n) => addMethod(n));\n\t\t} else {\n\t\t\taddMethod(name);\n\t\t}\n\t}\n\t[\n\t\t\"throw\",\n\t\t\"throws\",\n\t\t\"Throw\"\n\t].forEach((m) => {\n\t\tutils.overwriteMethod(chai.Assertion.prototype, m, (_super) => {\n\t\t\treturn function(...args) {\n\t\t\t\tconst promise = utils.flag(this, \"promise\");\n\t\t\t\tconst object = utils.flag(this, \"object\");\n\t\t\t\tconst isNot = utils.flag(this, \"negate\");\n\t\t\t\tif (promise === \"rejects\") {\n\t\t\t\t\tutils.flag(this, \"object\", () => {\n\t\t\t\t\t\tthrow object;\n\t\t\t\t\t});\n\t\t\t\t} else if (promise === \"resolves\" && typeof object !== \"function\") {\n\t\t\t\t\tif (!isNot) {\n\t\t\t\t\t\tconst message = utils.flag(this, \"message\") || \"expected promise to throw an error, but it didn't\";\n\t\t\t\t\t\tconst error = { showDiff: false };\n\t\t\t\t\t\tthrow new AssertionError(message, error, utils.flag(this, \"ssfi\"));\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t_super.apply(this, args);\n\t\t\t};\n\t\t});\n\t});\n\t// @ts-expect-error @internal\n\tdef(\"withTest\", function(test) {\n\t\tutils.flag(this, \"vitest-test\", test);\n\t\treturn this;\n\t});\n\tdef(\"toEqual\", function(expected) {\n\t\tconst actual = utils.flag(this, \"object\");\n\t\tconst equal = equals(actual, expected, [...customTesters, iterableEquality]);\n\t\treturn this.assert(equal, \"expected #{this} to deeply equal #{exp}\", \"expected #{this} to not deeply equal #{exp}\", expected, actual);\n\t});\n\tdef(\"toStrictEqual\", function(expected) {\n\t\tconst obj = utils.flag(this, \"object\");\n\t\tconst equal = equals(obj, expected, [\n\t\t\t...customTesters,\n\t\t\titerableEquality,\n\t\t\ttypeEquality,\n\t\t\tsparseArrayEquality,\n\t\t\tarrayBufferEquality\n\t\t], true);\n\t\treturn this.assert(equal, \"expected #{this} to strictly equal #{exp}\", \"expected #{this} to not strictly equal #{exp}\", expected, obj);\n\t});\n\tdef(\"toBe\", function(expected) {\n\t\tconst actual = this._obj;\n\t\tconst pass = Object.is(actual, expected);\n\t\tlet deepEqualityName = \"\";\n\t\tif (!pass) {\n\t\t\tconst toStrictEqualPass = equals(actual, expected, [\n\t\t\t\t...customTesters,\n\t\t\t\titerableEquality,\n\t\t\t\ttypeEquality,\n\t\t\t\tsparseArrayEquality,\n\t\t\t\tarrayBufferEquality\n\t\t\t], true);\n\t\t\tif (toStrictEqualPass) {\n\t\t\t\tdeepEqualityName = \"toStrictEqual\";\n\t\t\t} else {\n\t\t\t\tconst toEqualPass = equals(actual, expected, [...customTesters, iterableEquality]);\n\t\t\t\tif (toEqualPass) {\n\t\t\t\t\tdeepEqualityName = \"toEqual\";\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn this.assert(pass, generateToBeMessage(deepEqualityName), \"expected #{this} not to be #{exp} // Object.is equality\", expected, actual);\n\t});\n\tdef(\"toMatchObject\", function(expected) {\n\t\tconst actual = this._obj;\n\t\tconst pass = equals(actual, expected, [\n\t\t\t...customTesters,\n\t\t\titerableEquality,\n\t\t\tsubsetEquality\n\t\t]);\n\t\tconst isNot = utils.flag(this, \"negate\");\n\t\tconst { subset: actualSubset, stripped } = getObjectSubset(actual, expected, customTesters);\n\t\tif (pass && isNot || !pass && !isNot) {\n\t\t\tconst msg = utils.getMessage(this, [\n\t\t\t\tpass,\n\t\t\t\t\"expected #{this} to match object #{exp}\",\n\t\t\t\t\"expected #{this} to not match object #{exp}\",\n\t\t\t\texpected,\n\t\t\t\tactualSubset,\n\t\t\t\tfalse\n\t\t\t]);\n\t\t\tconst message = stripped === 0 ? msg : `${msg}\\n(${stripped} matching ${stripped === 1 ? \"property\" : \"properties\"} omitted from actual)`;\n\t\t\tthrow new AssertionError(message, {\n\t\t\t\tshowDiff: true,\n\t\t\t\texpected,\n\t\t\t\tactual: actualSubset\n\t\t\t});\n\t\t}\n\t});\n\tdef(\"toMatch\", function(expected) {\n\t\tconst actual = this._obj;\n\t\tif (typeof actual !== \"string\") {\n\t\t\tthrow new TypeError(`.toMatch() expects to receive a string, but got ${typeof actual}`);\n\t\t}\n\t\treturn this.assert(typeof expected === \"string\" ? actual.includes(expected) : actual.match(expected), `expected #{this} to match #{exp}`, `expected #{this} not to match #{exp}`, expected, actual);\n\t});\n\tdef(\"toContain\", function(item) {\n\t\tconst actual = this._obj;\n\t\tif (typeof Node !== \"undefined\" && actual instanceof Node) {\n\t\t\tif (!(item instanceof Node)) {\n\t\t\t\tthrow new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof item}`);\n\t\t\t}\n\t\t\treturn this.assert(actual.contains(item), \"expected #{this} to contain element #{exp}\", \"expected #{this} not to contain element #{exp}\", item, actual);\n\t\t}\n\t\tif (typeof DOMTokenList !== \"undefined\" && actual instanceof DOMTokenList) {\n\t\t\tassertTypes(item, \"class name\", [\"string\"]);\n\t\t\tconst isNot = utils.flag(this, \"negate\");\n\t\t\tconst expectedClassList = isNot ? actual.value.replace(item, \"\").trim() : `${actual.value} ${item}`;\n\t\t\treturn this.assert(actual.contains(item), `expected \"${actual.value}\" to contain \"${item}\"`, `expected \"${actual.value}\" not to contain \"${item}\"`, expectedClassList, actual.value);\n\t\t}\n\t\t// handle simple case on our own using `this.assert` to include diff in error message\n\t\tif (typeof actual === \"string\" && typeof item === \"string\") {\n\t\t\treturn this.assert(actual.includes(item), `expected #{this} to contain #{exp}`, `expected #{this} not to contain #{exp}`, item, actual);\n\t\t}\n\t\t// make \"actual\" indexable to have compatibility with jest\n\t\tif (actual != null && typeof actual !== \"string\") {\n\t\t\tutils.flag(this, \"object\", Array.from(actual));\n\t\t}\n\t\treturn this.contain(item);\n\t});\n\tdef(\"toContainEqual\", function(expected) {\n\t\tconst obj = utils.flag(this, \"object\");\n\t\tconst index = Array.from(obj).findIndex((item) => {\n\t\t\treturn equals(item, expected, customTesters);\n\t\t});\n\t\tthis.assert(index !== -1, \"expected #{this} to deep equally contain #{exp}\", \"expected #{this} to not deep equally contain #{exp}\", expected);\n\t});\n\tdef(\"toBeTruthy\", function() {\n\t\tconst obj = utils.flag(this, \"object\");\n\t\tthis.assert(Boolean(obj), \"expected #{this} to be truthy\", \"expected #{this} to not be truthy\", true, obj);\n\t});\n\tdef(\"toBeFalsy\", function() {\n\t\tconst obj = utils.flag(this, \"object\");\n\t\tthis.assert(!obj, \"expected #{this} to be falsy\", \"expected #{this} to not be falsy\", false, obj);\n\t});\n\tdef(\"toBeGreaterThan\", function(expected) {\n\t\tconst actual = this._obj;\n\t\tassertTypes(actual, \"actual\", [\"number\", \"bigint\"]);\n\t\tassertTypes(expected, \"expected\", [\"number\", \"bigint\"]);\n\t\treturn this.assert(actual > expected, `expected ${actual} to be greater than ${expected}`, `expected ${actual} to be not greater than ${expected}`, expected, actual, false);\n\t});\n\tdef(\"toBeGreaterThanOrEqual\", function(expected) {\n\t\tconst actual = this._obj;\n\t\tassertTypes(actual, \"actual\", [\"number\", \"bigint\"]);\n\t\tassertTypes(expected, \"expected\", [\"number\", \"bigint\"]);\n\t\treturn this.assert(actual >= expected, `expected ${actual} to be greater than or equal to ${expected}`, `expected ${actual} to be not greater than or equal to ${expected}`, expected, actual, false);\n\t});\n\tdef(\"toBeLessThan\", function(expected) {\n\t\tconst actual = this._obj;\n\t\tassertTypes(actual, \"actual\", [\"number\", \"bigint\"]);\n\t\tassertTypes(expected, \"expected\", [\"number\", \"bigint\"]);\n\t\treturn this.assert(actual < expected, `expected ${actual} to be less than ${expected}`, `expected ${actual} to be not less than ${expected}`, expected, actual, false);\n\t});\n\tdef(\"toBeLessThanOrEqual\", function(expected) {\n\t\tconst actual = this._obj;\n\t\tassertTypes(actual, \"actual\", [\"number\", \"bigint\"]);\n\t\tassertTypes(expected, \"expected\", [\"number\", \"bigint\"]);\n\t\treturn this.assert(actual <= expected, `expected ${actual} to be less than or equal to ${expected}`, `expected ${actual} to be not less than or equal to ${expected}`, expected, actual, false);\n\t});\n\tdef(\"toBeNaN\", function() {\n\t\tconst obj = utils.flag(this, \"object\");\n\t\tthis.assert(Number.isNaN(obj), \"expected #{this} to be NaN\", \"expected #{this} not to be NaN\", Number.NaN, obj);\n\t});\n\tdef(\"toBeUndefined\", function() {\n\t\tconst obj = utils.flag(this, \"object\");\n\t\tthis.assert(undefined === obj, \"expected #{this} to be undefined\", \"expected #{this} not to be undefined\", undefined, obj);\n\t});\n\tdef(\"toBeNull\", function() {\n\t\tconst obj = utils.flag(this, \"object\");\n\t\tthis.assert(obj === null, \"expected #{this} to be null\", \"expected #{this} not to be null\", null, obj);\n\t});\n\tdef(\"toBeNullable\", function() {\n\t\tconst obj = utils.flag(this, \"object\");\n\t\tthis.assert(obj == null, \"expected #{this} to be nullish\", \"expected #{this} not to be nullish\", null, obj);\n\t});\n\tdef(\"toBeDefined\", function() {\n\t\tconst obj = utils.flag(this, \"object\");\n\t\tthis.assert(typeof obj !== \"undefined\", \"expected #{this} to be defined\", \"expected #{this} to be undefined\", obj);\n\t});\n\tdef(\"toBeTypeOf\", function(expected) {\n\t\tconst actual = typeof this._obj;\n\t\tconst equal = expected === actual;\n\t\treturn this.assert(equal, \"expected #{this} to be type of #{exp}\", \"expected #{this} not to be type of #{exp}\", expected, actual);\n\t});\n\tdef(\"toBeInstanceOf\", function(obj) {\n\t\treturn this.instanceOf(obj);\n\t});\n\tdef(\"toHaveLength\", function(length) {\n\t\treturn this.have.length(length);\n\t});\n\t// destructuring, because it checks `arguments` inside, and value is passing as `undefined`\n\tdef(\"toHaveProperty\", function(...args) {\n\t\tif (Array.isArray(args[0])) {\n\t\t\targs[0] = args[0].map((key) => String(key).replace(/([.[\\]])/g, \"\\\\$1\")).join(\".\");\n\t\t}\n\t\tconst actual = this._obj;\n\t\tconst [propertyName, expected] = args;\n\t\tconst getValue = () => {\n\t\t\tconst hasOwn = Object.hasOwn(actual, propertyName);\n\t\t\tif (hasOwn) {\n\t\t\t\treturn {\n\t\t\t\t\tvalue: actual[propertyName],\n\t\t\t\t\texists: true\n\t\t\t\t};\n\t\t\t}\n\t\t\treturn utils.getPathInfo(actual, propertyName);\n\t\t};\n\t\tconst { value, exists } = getValue();\n\t\tconst pass = exists && (args.length === 1 || equals(expected, value, customTesters));\n\t\tconst valueString = args.length === 1 ? \"\" : ` with value ${utils.objDisplay(expected)}`;\n\t\treturn this.assert(pass, `expected #{this} to have property \"${propertyName}\"${valueString}`, `expected #{this} to not have property \"${propertyName}\"${valueString}`, expected, exists ? value : undefined);\n\t});\n\tdef(\"toBeCloseTo\", function(received, precision = 2) {\n\t\tconst expected = this._obj;\n\t\tlet pass = false;\n\t\tlet expectedDiff = 0;\n\t\tlet receivedDiff = 0;\n\t\tif (received === Number.POSITIVE_INFINITY && expected === Number.POSITIVE_INFINITY) {\n\t\t\tpass = true;\n\t\t} else if (received === Number.NEGATIVE_INFINITY && expected === Number.NEGATIVE_INFINITY) {\n\t\t\tpass = true;\n\t\t} else {\n\t\t\texpectedDiff = 10 ** -precision / 2;\n\t\t\treceivedDiff = Math.abs(expected - received);\n\t\t\tpass = receivedDiff < expectedDiff;\n\t\t}\n\t\treturn this.assert(pass, `expected #{this} to be close to #{exp}, received difference is ${receivedDiff}, but expected ${expectedDiff}`, `expected #{this} to not be close to #{exp}, received difference is ${receivedDiff}, but expected ${expectedDiff}`, received, expected, false);\n\t});\n\tfunction assertIsMock(assertion) {\n\t\tif (!isMockFunction(assertion._obj)) {\n\t\t\tthrow new TypeError(`${utils.inspect(assertion._obj)} is not a spy or a call to a spy!`);\n\t\t}\n\t}\n\tfunction getSpy(assertion) {\n\t\tassertIsMock(assertion);\n\t\treturn assertion._obj;\n\t}\n\tdef([\"toHaveBeenCalledTimes\", \"toBeCalledTimes\"], function(number) {\n\t\tconst spy = getSpy(this);\n\t\tconst spyName = spy.getMockName();\n\t\tconst callCount = spy.mock.calls.length;\n\t\treturn this.assert(callCount === number, `expected \"${spyName}\" to be called #{exp} times, but got ${callCount} times`, `expected \"${spyName}\" to not be called #{exp} times`, number, callCount, false);\n\t});\n\tdef(\"toHaveBeenCalledOnce\", function() {\n\t\tconst spy = getSpy(this);\n\t\tconst spyName = spy.getMockName();\n\t\tconst callCount = spy.mock.calls.length;\n\t\treturn this.assert(callCount === 1, `expected \"${spyName}\" to be called once, but got ${callCount} times`, `expected \"${spyName}\" to not be called once`, 1, callCount, false);\n\t});\n\tdef([\"toHaveBeenCalled\", \"toBeCalled\"], function() {\n\t\tconst spy = getSpy(this);\n\t\tconst spyName = spy.getMockName();\n\t\tconst callCount = spy.mock.calls.length;\n\t\tconst called = callCount > 0;\n\t\tconst isNot = utils.flag(this, \"negate\");\n\t\tlet msg = utils.getMessage(this, [\n\t\t\tcalled,\n\t\t\t`expected \"${spyName}\" to be called at least once`,\n\t\t\t`expected \"${spyName}\" to not be called at all, but actually been called ${callCount} times`,\n\t\t\ttrue,\n\t\t\tcalled\n\t\t]);\n\t\tif (called && isNot) {\n\t\t\tmsg = formatCalls(spy, msg);\n\t\t}\n\t\tif (called && isNot || !called && !isNot) {\n\t\t\tthrow new AssertionError(msg);\n\t\t}\n\t});\n\t// manually compare array elements since `jestEquals` cannot\n\t// apply asymmetric matcher to `undefined` array element.\n\tfunction equalsArgumentArray(a, b) {\n\t\treturn a.length === b.length && a.every((aItem, i) => equals(aItem, b[i], [...customTesters, iterableEquality]));\n\t}\n\tdef([\"toHaveBeenCalledWith\", \"toBeCalledWith\"], function(...args) {\n\t\tconst spy = getSpy(this);\n\t\tconst spyName = spy.getMockName();\n\t\tconst pass = spy.mock.calls.some((callArg) => equalsArgumentArray(callArg, args));\n\t\tconst isNot = utils.flag(this, \"negate\");\n\t\tconst msg = utils.getMessage(this, [\n\t\t\tpass,\n\t\t\t`expected \"${spyName}\" to be called with arguments: #{exp}`,\n\t\t\t`expected \"${spyName}\" to not be called with arguments: #{exp}`,\n\t\t\targs\n\t\t]);\n\t\tif (pass && isNot || !pass && !isNot) {\n\t\t\tthrow new AssertionError(formatCalls(spy, msg, args));\n\t\t}\n\t});\n\tdef(\"toHaveBeenCalledExactlyOnceWith\", function(...args) {\n\t\tconst spy = getSpy(this);\n\t\tconst spyName = spy.getMockName();\n\t\tconst callCount = spy.mock.calls.length;\n\t\tconst hasCallWithArgs = spy.mock.calls.some((callArg) => equalsArgumentArray(callArg, args));\n\t\tconst pass = hasCallWithArgs && callCount === 1;\n\t\tconst isNot = utils.flag(this, \"negate\");\n\t\tconst msg = utils.getMessage(this, [\n\t\t\tpass,\n\t\t\t`expected \"${spyName}\" to be called once with arguments: #{exp}`,\n\t\t\t`expected \"${spyName}\" to not be called once with arguments: #{exp}`,\n\t\t\targs\n\t\t]);\n\t\tif (pass && isNot || !pass && !isNot) {\n\t\t\tthrow new AssertionError(formatCalls(spy, msg, args));\n\t\t}\n\t});\n\tdef(\"toHaveBeenNthCalledWith\", function(times, ...args) {\n\t\tconst spy = getSpy(this);\n\t\tconst spyName = spy.getMockName();\n\t\tconst nthCall = spy.mock.calls[times - 1];\n\t\tconst callCount = spy.mock.calls.length;\n\t\tconst isCalled = times <= callCount;\n\t\tthis.assert(nthCall && equalsArgumentArray(nthCall, args), `expected ${ordinal(times)} \"${spyName}\" call to have been called with #{exp}${isCalled ? `` : `, but called only ${callCount} times`}`, `expected ${ordinal(times)} \"${spyName}\" call to not have been called with #{exp}`, args, nthCall, isCalled);\n\t});\n\tdef(\"toHaveBeenLastCalledWith\", function(...args) {\n\t\tconst spy = getSpy(this);\n\t\tconst spyName = spy.getMockName();\n\t\tconst lastCall = spy.mock.calls.at(-1);\n\t\tthis.assert(lastCall && equalsArgumentArray(lastCall, args), `expected last \"${spyName}\" call to have been called with #{exp}`, `expected last \"${spyName}\" call to not have been called with #{exp}`, args, lastCall);\n\t});\n\t/**\n\t* Used for `toHaveBeenCalledBefore` and `toHaveBeenCalledAfter` to determine if the expected spy was called before the result spy.\n\t*/\n\tfunction isSpyCalledBeforeAnotherSpy(beforeSpy, afterSpy, failIfNoFirstInvocation) {\n\t\tconst beforeInvocationCallOrder = beforeSpy.mock.invocationCallOrder;\n\t\tconst afterInvocationCallOrder = afterSpy.mock.invocationCallOrder;\n\t\tif (beforeInvocationCallOrder.length === 0) {\n\t\t\treturn !failIfNoFirstInvocation;\n\t\t}\n\t\tif (afterInvocationCallOrder.length === 0) {\n\t\t\treturn false;\n\t\t}\n\t\treturn beforeInvocationCallOrder[0] < afterInvocationCallOrder[0];\n\t}\n\tdef([\"toHaveBeenCalledBefore\"], function(resultSpy, failIfNoFirstInvocation = true) {\n\t\tconst expectSpy = getSpy(this);\n\t\tif (!isMockFunction(resultSpy)) {\n\t\t\tthrow new TypeError(`${utils.inspect(resultSpy)} is not a spy or a call to a spy`);\n\t\t}\n\t\tthis.assert(isSpyCalledBeforeAnotherSpy(expectSpy, resultSpy, failIfNoFirstInvocation), `expected \"${expectSpy.getMockName()}\" to have been called before \"${resultSpy.getMockName()}\"`, `expected \"${expectSpy.getMockName()}\" to not have been called before \"${resultSpy.getMockName()}\"`, resultSpy, expectSpy);\n\t});\n\tdef([\"toHaveBeenCalledAfter\"], function(resultSpy, failIfNoFirstInvocation = true) {\n\t\tconst expectSpy = getSpy(this);\n\t\tif (!isMockFunction(resultSpy)) {\n\t\t\tthrow new TypeError(`${utils.inspect(resultSpy)} is not a spy or a call to a spy`);\n\t\t}\n\t\tthis.assert(isSpyCalledBeforeAnotherSpy(resultSpy, expectSpy, failIfNoFirstInvocation), `expected \"${expectSpy.getMockName()}\" to have been called after \"${resultSpy.getMockName()}\"`, `expected \"${expectSpy.getMockName()}\" to not have been called after \"${resultSpy.getMockName()}\"`, resultSpy, expectSpy);\n\t});\n\tdef([\"toThrow\", \"toThrowError\"], function(expected) {\n\t\tif (typeof expected === \"string\" || typeof expected === \"undefined\" || expected instanceof RegExp) {\n\t\t\t// Fixes the issue related to `chai` <https://github.com/vitest-dev/vitest/issues/6618>\n\t\t\treturn this.throws(expected === \"\" ? /^$/ : expected);\n\t\t}\n\t\tconst obj = this._obj;\n\t\tconst promise = utils.flag(this, \"promise\");\n\t\tconst isNot = utils.flag(this, \"negate\");\n\t\tlet thrown = null;\n\t\tif (promise === \"rejects\") {\n\t\t\tthrown = obj;\n\t\t} else if (promise === \"resolves\" && typeof obj !== \"function\") {\n\t\t\tif (!isNot) {\n\t\t\t\tconst message = utils.flag(this, \"message\") || \"expected promise to throw an error, but it didn't\";\n\t\t\t\tconst error = { showDiff: false };\n\t\t\t\tthrow new AssertionError(message, error, utils.flag(this, \"ssfi\"));\n\t\t\t} else {\n\t\t\t\treturn;\n\t\t\t}\n\t\t} else {\n\t\t\tlet isThrow = false;\n\t\t\ttry {\n\t\t\t\tobj();\n\t\t\t} catch (err) {\n\t\t\t\tisThrow = true;\n\t\t\t\tthrown = err;\n\t\t\t}\n\t\t\tif (!isThrow && !isNot) {\n\t\t\t\tconst message = utils.flag(this, \"message\") || \"expected function to throw an error, but it didn't\";\n\t\t\t\tconst error = { showDiff: false };\n\t\t\t\tthrow new AssertionError(message, error, utils.flag(this, \"ssfi\"));\n\t\t\t}\n\t\t}\n\t\tif (typeof expected === \"function\") {\n\t\t\tconst name = expected.name || expected.prototype.constructor.name;\n\t\t\treturn this.assert(thrown && thrown instanceof expected, `expected error to be instance of ${name}`, `expected error not to be instance of ${name}`, expected, thrown);\n\t\t}\n\t\tif (isError(expected)) {\n\t\t\tconst equal = equals(thrown, expected, [...customTesters, iterableEquality]);\n\t\t\treturn this.assert(equal, \"expected a thrown error to be #{exp}\", \"expected a thrown error not to be #{exp}\", expected, thrown);\n\t\t}\n\t\tif (typeof expected === \"object\" && \"asymmetricMatch\" in expected && typeof expected.asymmetricMatch === \"function\") {\n\t\t\tconst matcher = expected;\n\t\t\treturn this.assert(thrown && matcher.asymmetricMatch(thrown), \"expected error to match asymmetric matcher\", \"expected error not to match asymmetric matcher\", matcher, thrown);\n\t\t}\n\t\tconst equal = equals(thrown, expected, [...customTesters, iterableEquality]);\n\t\treturn this.assert(equal, \"expected a thrown value to equal #{exp}\", \"expected a thrown value not to equal #{exp}\", expected, thrown);\n\t});\n\t[{\n\t\tname: \"toHaveResolved\",\n\t\tcondition: (spy) => spy.mock.settledResults.length > 0 && spy.mock.settledResults.some(({ type }) => type === \"fulfilled\"),\n\t\taction: \"resolved\"\n\t}, {\n\t\tname: [\"toHaveReturned\", \"toReturn\"],\n\t\tcondition: (spy) => spy.mock.calls.length > 0 && spy.mock.results.some(({ type }) => type !== \"throw\"),\n\t\taction: \"called\"\n\t}].forEach(({ name, condition, action }) => {\n\t\tdef(name, function() {\n\t\t\tconst spy = getSpy(this);\n\t\t\tconst spyName = spy.getMockName();\n\t\t\tconst pass = condition(spy);\n\t\t\tthis.assert(pass, `expected \"${spyName}\" to be successfully ${action} at least once`, `expected \"${spyName}\" to not be successfully ${action}`, pass, !pass, false);\n\t\t});\n\t});\n\t[{\n\t\tname: \"toHaveResolvedTimes\",\n\t\tcondition: (spy, times) => spy.mock.settledResults.reduce((s, { type }) => type === \"fulfilled\" ? ++s : s, 0) === times,\n\t\taction: \"resolved\"\n\t}, {\n\t\tname: [\"toHaveReturnedTimes\", \"toReturnTimes\"],\n\t\tcondition: (spy, times) => spy.mock.results.reduce((s, { type }) => type === \"throw\" ? s : ++s, 0) === times,\n\t\taction: \"called\"\n\t}].forEach(({ name, condition, action }) => {\n\t\tdef(name, function(times) {\n\t\t\tconst spy = getSpy(this);\n\t\t\tconst spyName = spy.getMockName();\n\t\t\tconst pass = condition(spy, times);\n\t\t\tthis.assert(pass, `expected \"${spyName}\" to be successfully ${action} ${times} times`, `expected \"${spyName}\" to not be successfully ${action} ${times} times`, `expected resolved times: ${times}`, `received resolved times: ${pass}`, false);\n\t\t});\n\t});\n\t[{\n\t\tname: \"toHaveResolvedWith\",\n\t\tcondition: (spy, value) => spy.mock.settledResults.some(({ type, value: result }) => type === \"fulfilled\" && equals(value, result)),\n\t\taction: \"resolve\"\n\t}, {\n\t\tname: [\"toHaveReturnedWith\", \"toReturnWith\"],\n\t\tcondition: (spy, value) => spy.mock.results.some(({ type, value: result }) => type === \"return\" && equals(value, result)),\n\t\taction: \"return\"\n\t}].forEach(({ name, condition, action }) => {\n\t\tdef(name, function(value) {\n\t\t\tconst spy = getSpy(this);\n\t\t\tconst pass = condition(spy, value);\n\t\t\tconst isNot = utils.flag(this, \"negate\");\n\t\t\tif (pass && isNot || !pass && !isNot) {\n\t\t\t\tconst spyName = spy.getMockName();\n\t\t\t\tconst msg = utils.getMessage(this, [\n\t\t\t\t\tpass,\n\t\t\t\t\t`expected \"${spyName}\" to ${action} with: #{exp} at least once`,\n\t\t\t\t\t`expected \"${spyName}\" to not ${action} with: #{exp}`,\n\t\t\t\t\tvalue\n\t\t\t\t]);\n\t\t\t\tconst results = action === \"return\" ? spy.mock.results : spy.mock.settledResults;\n\t\t\t\tthrow new AssertionError(formatReturns(spy, results, msg, value));\n\t\t\t}\n\t\t});\n\t});\n\t[{\n\t\tname: \"toHaveLastResolvedWith\",\n\t\tcondition: (spy, value) => {\n\t\t\tconst result = spy.mock.settledResults.at(-1);\n\t\t\treturn Boolean(result && result.type === \"fulfilled\" && equals(result.value, value));\n\t\t},\n\t\taction: \"resolve\"\n\t}, {\n\t\tname: \"toHaveLastReturnedWith\",\n\t\tcondition: (spy, value) => {\n\t\t\tconst result = spy.mock.results.at(-1);\n\t\t\treturn Boolean(result && result.type === \"return\" && equals(result.value, value));\n\t\t},\n\t\taction: \"return\"\n\t}].forEach(({ name, condition, action }) => {\n\t\tdef(name, function(value) {\n\t\t\tconst spy = getSpy(this);\n\t\t\tconst results = action === \"return\" ? spy.mock.results : spy.mock.settledResults;\n\t\t\tconst result = results.at(-1);\n\t\t\tconst spyName = spy.getMockName();\n\t\t\tthis.assert(condition(spy, value), `expected last \"${spyName}\" call to ${action} #{exp}`, `expected last \"${spyName}\" call to not ${action} #{exp}`, value, result?.value);\n\t\t});\n\t});\n\t[{\n\t\tname: \"toHaveNthResolvedWith\",\n\t\tcondition: (spy, index, value) => {\n\t\t\tconst result = spy.mock.settledResults[index - 1];\n\t\t\treturn result && result.type === \"fulfilled\" && equals(result.value, value);\n\t\t},\n\t\taction: \"resolve\"\n\t}, {\n\t\tname: \"toHaveNthReturnedWith\",\n\t\tcondition: (spy, index, value) => {\n\t\t\tconst result = spy.mock.results[index - 1];\n\t\t\treturn result && result.type === \"return\" && equals(result.value, value);\n\t\t},\n\t\taction: \"return\"\n\t}].forEach(({ name, condition, action }) => {\n\t\tdef(name, function(nthCall, value) {\n\t\t\tconst spy = getSpy(this);\n\t\t\tconst spyName = spy.getMockName();\n\t\t\tconst results = action === \"return\" ? spy.mock.results : spy.mock.settledResults;\n\t\t\tconst result = results[nthCall - 1];\n\t\t\tconst ordinalCall = `${ordinal(nthCall)} call`;\n\t\t\tthis.assert(condition(spy, nthCall, value), `expected ${ordinalCall} \"${spyName}\" call to ${action} #{exp}`, `expected ${ordinalCall} \"${spyName}\" call to not ${action} #{exp}`, value, result?.value);\n\t\t});\n\t});\n\t// @ts-expect-error @internal\n\tdef(\"withContext\", function(context) {\n\t\tfor (const key in context) {\n\t\t\tutils.flag(this, key, context[key]);\n\t\t}\n\t\treturn this;\n\t});\n\tutils.addProperty(chai.Assertion.prototype, \"resolves\", function __VITEST_RESOLVES__() {\n\t\tconst error = new Error(\"resolves\");\n\t\tutils.flag(this, \"promise\", \"resolves\");\n\t\tutils.flag(this, \"error\", error);\n\t\tconst test = utils.flag(this, \"vitest-test\");\n\t\tconst obj = utils.flag(this, \"object\");\n\t\tif (utils.flag(this, \"poll\")) {\n\t\t\tthrow new SyntaxError(`expect.poll() is not supported in combination with .resolves`);\n\t\t}\n\t\tif (typeof obj?.then !== \"function\") {\n\t\t\tthrow new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof obj}'.`);\n\t\t}\n\t\tconst proxy = new Proxy(this, { get: (target, key, receiver) => {\n\t\t\tconst result = Reflect.get(target, key, receiver);\n\t\t\tif (typeof result !== \"function\") {\n\t\t\t\treturn result instanceof chai.Assertion ? proxy : result;\n\t\t\t}\n\t\t\treturn (...args) => {\n\t\t\t\tutils.flag(this, \"_name\", key);\n\t\t\t\tconst promise = Promise.resolve(obj).then((value) => {\n\t\t\t\t\tutils.flag(this, \"object\", value);\n\t\t\t\t\treturn result.call(this, ...args);\n\t\t\t\t}, (err) => {\n\t\t\t\t\tconst _error = new AssertionError(`promise rejected \"${utils.inspect(err)}\" instead of resolving`, { showDiff: false });\n\t\t\t\t\t_error.cause = err;\n\t\t\t\t\tthrow _error;\n\t\t\t\t}).catch((err) => {\n\t\t\t\t\tif (isError(err) && error.stack) {\n\t\t\t\t\t\terr.stack = error.stack.replace(error.message, err.message);\n\t\t\t\t\t}\n\t\t\t\t\tthrow err;\n\t\t\t\t});\n\t\t\t\treturn recordAsyncExpect(test, promise, createAssertionMessage(utils, this, !!args.length), error);\n\t\t\t};\n\t\t} });\n\t\treturn proxy;\n\t});\n\tutils.addProperty(chai.Assertion.prototype, \"rejects\", function __VITEST_REJECTS__() {\n\t\tconst error = new Error(\"rejects\");\n\t\tutils.flag(this, \"promise\", \"rejects\");\n\t\tutils.flag(this, \"error\", error);\n\t\tconst test = utils.flag(this, \"vitest-test\");\n\t\tconst obj = utils.flag(this, \"object\");\n\t\tconst wrapper = typeof obj === \"function\" ? obj() : obj;\n\t\tif (utils.flag(this, \"poll\")) {\n\t\t\tthrow new SyntaxError(`expect.poll() is not supported in combination with .rejects`);\n\t\t}\n\t\tif (typeof wrapper?.then !== \"function\") {\n\t\t\tthrow new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof wrapper}'.`);\n\t\t}\n\t\tconst proxy = new Proxy(this, { get: (target, key, receiver) => {\n\t\t\tconst result = Reflect.get(target, key, receiver);\n\t\t\tif (typeof result !== \"function\") {\n\t\t\t\treturn result instanceof chai.Assertion ? proxy : result;\n\t\t\t}\n\t\t\treturn (...args) => {\n\t\t\t\tutils.flag(this, \"_name\", key);\n\t\t\t\tconst promise = Promise.resolve(wrapper).then((value) => {\n\t\t\t\t\tconst _error = new AssertionError(`promise resolved \"${utils.inspect(value)}\" instead of rejecting`, {\n\t\t\t\t\t\tshowDiff: true,\n\t\t\t\t\t\texpected: new Error(\"rejected promise\"),\n\t\t\t\t\t\tactual: value\n\t\t\t\t\t});\n\t\t\t\t\tthrow _error;\n\t\t\t\t}, (err) => {\n\t\t\t\t\tutils.flag(this, \"object\", err);\n\t\t\t\t\treturn result.call(this, ...args);\n\t\t\t\t}).catch((err) => {\n\t\t\t\t\tif (isError(err) && error.stack) {\n\t\t\t\t\t\terr.stack = error.stack.replace(error.message, err.message);\n\t\t\t\t\t}\n\t\t\t\t\tthrow err;\n\t\t\t\t});\n\t\t\t\treturn recordAsyncExpect(test, promise, createAssertionMessage(utils, this, !!args.length), error);\n\t\t\t};\n\t\t} });\n\t\treturn proxy;\n\t});\n};\nfunction formatCalls(spy, msg, showActualCall) {\n\tif (spy.mock.calls.length) {\n\t\tmsg += c.gray(`\\n\\nReceived:\\n\\n${spy.mock.calls.map((callArg, i) => {\n\t\t\tlet methodCall = c.bold(` ${ordinal(i + 1)} ${spy.getMockName()} call:\\n\\n`);\n\t\t\tif (showActualCall) {\n\t\t\t\tmethodCall += diff(showActualCall, callArg, { omitAnnotationLines: true });\n\t\t\t} else {\n\t\t\t\tmethodCall += stringify(callArg).split(\"\\n\").map((line) => ` ${line}`).join(\"\\n\");\n\t\t\t}\n\t\t\tmethodCall += \"\\n\";\n\t\t\treturn methodCall;\n\t\t}).join(\"\\n\")}`);\n\t}\n\tmsg += c.gray(`\\n\\nNumber of calls: ${c.bold(spy.mock.calls.length)}\\n`);\n\treturn msg;\n}\nfunction formatReturns(spy, results, msg, showActualReturn) {\n\tif (results.length) {\n\t\tmsg += c.gray(`\\n\\nReceived:\\n\\n${results.map((callReturn, i) => {\n\t\t\tlet methodCall = c.bold(` ${ordinal(i + 1)} ${spy.getMockName()} call return:\\n\\n`);\n\t\t\tif (showActualReturn) {\n\t\t\t\tmethodCall += diff(showActualReturn, callReturn.value, { omitAnnotationLines: true });\n\t\t\t} else {\n\t\t\t\tmethodCall += stringify(callReturn).split(\"\\n\").map((line) => ` ${line}`).join(\"\\n\");\n\t\t\t}\n\t\t\tmethodCall += \"\\n\";\n\t\t\treturn methodCall;\n\t\t}).join(\"\\n\")}`);\n\t}\n\tmsg += c.gray(`\\n\\nNumber of calls: ${c.bold(spy.mock.calls.length)}\\n`);\n\treturn msg;\n}\n\nfunction getMatcherState(assertion, expect) {\n\tconst obj = assertion._obj;\n\tconst isNot = util.flag(assertion, \"negate\");\n\tconst promise = util.flag(assertion, \"promise\") || \"\";\n\tconst customMessage = util.flag(assertion, \"message\");\n\tconst jestUtils = {\n\t\t...getMatcherUtils(),\n\t\tdiff,\n\t\tstringify,\n\t\titerableEquality,\n\t\tsubsetEquality\n\t};\n\tlet task = util.flag(assertion, \"vitest-test\");\n\tconst currentTestName = task?.fullTestName ?? \"\";\n\tif (task?.type !== \"test\") {\n\t\ttask = undefined;\n\t}\n\tconst matcherState = {\n\t\t...getState(expect),\n\t\ttask,\n\t\tcurrentTestName,\n\t\tcustomTesters: getCustomEqualityTesters(),\n\t\tisNot,\n\t\tutils: jestUtils,\n\t\tpromise,\n\t\tequals,\n\t\tsuppressedErrors: [],\n\t\tsoft: util.flag(assertion, \"soft\"),\n\t\tpoll: util.flag(assertion, \"poll\")\n\t};\n\treturn {\n\t\tstate: matcherState,\n\t\tisNot,\n\t\tobj,\n\t\tcustomMessage\n\t};\n}\nclass JestExtendError extends Error {\n\tconstructor(message, actual, expected) {\n\t\tsuper(message);\n\t\tthis.actual = actual;\n\t\tthis.expected = expected;\n\t}\n}\nfunction JestExtendPlugin(c, expect, matchers) {\n\treturn (_, utils) => {\n\t\tObject.entries(matchers).forEach(([expectAssertionName, expectAssertion]) => {\n\t\t\tfunction expectWrapper(...args) {\n\t\t\t\tconst { state, isNot, obj, customMessage } = getMatcherState(this, expect);\n\t\t\t\tconst result = expectAssertion.call(state, obj, ...args);\n\t\t\t\tif (result && typeof result === \"object\" && typeof result.then === \"function\") {\n\t\t\t\t\tconst thenable = result;\n\t\t\t\t\treturn thenable.then(({ pass, message, actual, expected }) => {\n\t\t\t\t\t\tif (pass && isNot || !pass && !isNot) {\n\t\t\t\t\t\t\tconst errorMessage = customMessage != null ? customMessage : message();\n\t\t\t\t\t\t\tthrow new JestExtendError(errorMessage, actual, expected);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tconst { pass, message, actual, expected } = result;\n\t\t\t\tif (pass && isNot || !pass && !isNot) {\n\t\t\t\t\tconst errorMessage = customMessage != null ? customMessage : message();\n\t\t\t\t\tthrow new JestExtendError(errorMessage, actual, expected);\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst softWrapper = wrapAssertion(utils, expectAssertionName, expectWrapper);\n\t\t\tutils.addMethod(globalThis[JEST_MATCHERS_OBJECT].matchers, expectAssertionName, softWrapper);\n\t\t\tutils.addMethod(c.Assertion.prototype, expectAssertionName, softWrapper);\n\t\t\tclass CustomMatcher extends AsymmetricMatcher {\n\t\t\t\tconstructor(inverse = false, ...sample) {\n\t\t\t\t\tsuper(sample, inverse);\n\t\t\t\t}\n\t\t\t\tasymmetricMatch(other) {\n\t\t\t\t\tconst { pass } = expectAssertion.call(this.getMatcherContext(expect), other, ...this.sample);\n\t\t\t\t\treturn this.inverse ? !pass : pass;\n\t\t\t\t}\n\t\t\t\ttoString() {\n\t\t\t\t\treturn `${this.inverse ? \"not.\" : \"\"}${expectAssertionName}`;\n\t\t\t\t}\n\t\t\t\tgetExpectedType() {\n\t\t\t\t\treturn \"any\";\n\t\t\t\t}\n\t\t\t\ttoAsymmetricMatcher() {\n\t\t\t\t\treturn `${this.toString()}<${this.sample.map((item) => stringify(item)).join(\", \")}>`;\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst customMatcher = (...sample) => new CustomMatcher(false, ...sample);\n\t\t\tObject.defineProperty(expect, expectAssertionName, {\n\t\t\t\tconfigurable: true,\n\t\t\t\tenumerable: true,\n\t\t\t\tvalue: customMatcher,\n\t\t\t\twritable: true\n\t\t\t});\n\t\t\tObject.defineProperty(expect.not, expectAssertionName, {\n\t\t\t\tconfigurable: true,\n\t\t\t\tenumerable: true,\n\t\t\t\tvalue: (...sample) => new CustomMatcher(true, ...sample),\n\t\t\t\twritable: true\n\t\t\t});\n\t\t\t// keep track of asymmetric matchers on global so that it can be copied over to local context's `expect`.\n\t\t\t// note that the negated variant is automatically shared since it's assigned on the single `expect.not` object.\n\t\t\tObject.defineProperty(globalThis[ASYMMETRIC_MATCHERS_OBJECT], expectAssertionName, {\n\t\t\t\tconfigurable: true,\n\t\t\t\tenumerable: true,\n\t\t\t\tvalue: customMatcher,\n\t\t\t\twritable: true\n\t\t\t});\n\t\t});\n\t};\n}\nconst JestExtend = (chai, utils) => {\n\tutils.addMethod(chai.expect, \"extend\", (expect, expects) => {\n\t\tuse(JestExtendPlugin(chai, expect, expects));\n\t});\n};\n\nexport { ASYMMETRIC_MATCHERS_OBJECT, Any, Anything, ArrayContaining, AsymmetricMatcher, ChaiStyleAssertions, GLOBAL_EXPECT, JEST_MATCHERS_OBJECT, JestAsymmetricMatchers, JestChaiExpect, JestExtend, MATCHERS_OBJECT, ObjectContaining, SchemaMatching, StringContaining, StringMatching, addCustomEqualityTesters, arrayBufferEquality, createAssertionMessage, customMatchers, equals, fnNameFor, generateToBeMessage, getObjectKeys, getObjectSubset, getState, hasAsymmetric, hasProperty, isA, isAsymmetric, isError, isImmutableUnorderedKeyed, isImmutableUnorderedSet, isStandardSchema, iterableEquality, pluralize, recordAsyncExpect, setState, sparseArrayEquality, subsetEquality, typeEquality, wrapAssertion };\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;AAUA,MAAM,uBAAuB,MAAM,UAAU;CAC5C,SAAS,YAAY,MAAM,YAAY;AACtC,QAAM,YAAY,KAAK,UAAU,WAAW,MAAM,WAAW;GAC5D,MAAM,aAAa,KAAK,UAAU,UAAU;AAC5C,OAAI,CAAC,WACJ,OAAM,IAAI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cAAc,MAAM,GAAG,OAAO;IACxD,UAAU;IACV,CAAC;AAGF,UAAO,eAAe,WAAW,6BAA6B,qBAAqB;IAClF,cAAc;IACd,YAAY;IACZ,OAAO;IACP,UAAU;IACV,CAAC;IACD;;;AAGJ,MAAM,cAAc,MAAM,UAAU;AACnC,OAAM,UAAU,KAAK,QAAQ,WAAW,QAAQ,YAAY;AAC3D,MAAI,iBAAiB,MAAM,QAAQ,QAAQ,CAAC;GAC3C"}
@@ -0,0 +1,95 @@
1
+ //#region ../../node_modules/@vitest/pretty-format/dist/index.d.ts
2
+ /**
3
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ interface Colors {
9
+ comment: {
10
+ close: string;
11
+ open: string;
12
+ };
13
+ content: {
14
+ close: string;
15
+ open: string;
16
+ };
17
+ prop: {
18
+ close: string;
19
+ open: string;
20
+ };
21
+ tag: {
22
+ close: string;
23
+ open: string;
24
+ };
25
+ value: {
26
+ close: string;
27
+ open: string;
28
+ };
29
+ }
30
+ type Indent = (arg0: string) => string;
31
+ type Refs = Array<unknown>;
32
+ type Print = (arg0: unknown) => string;
33
+ /**
34
+ * compare function used when sorting object keys, `null` can be used to skip over sorting.
35
+ */
36
+ type CompareKeys = ((a: string, b: string) => number) | null | undefined;
37
+ interface PrettyFormatOptions {
38
+ callToJSON?: boolean;
39
+ escapeRegex?: boolean;
40
+ escapeString?: boolean;
41
+ highlight?: boolean;
42
+ indent?: number;
43
+ maxDepth?: number;
44
+ maxWidth?: number;
45
+ min?: boolean;
46
+ printBasicPrototype?: boolean;
47
+ printFunctionName?: boolean;
48
+ printShadowRoot?: boolean;
49
+ compareKeys?: CompareKeys;
50
+ plugins?: Plugins;
51
+ }
52
+ type OptionsReceived = PrettyFormatOptions;
53
+ interface Config {
54
+ callToJSON: boolean;
55
+ compareKeys: CompareKeys;
56
+ colors: Colors;
57
+ escapeRegex: boolean;
58
+ escapeString: boolean;
59
+ indent: string;
60
+ maxDepth: number;
61
+ maxWidth: number;
62
+ min: boolean;
63
+ plugins: Plugins;
64
+ printBasicPrototype: boolean;
65
+ printFunctionName: boolean;
66
+ printShadowRoot: boolean;
67
+ spacingInner: string;
68
+ spacingOuter: string;
69
+ }
70
+ type Printer = (val: unknown, config: Config, indentation: string, depth: number, refs: Refs, hasCalledToJSON?: boolean) => string;
71
+ type Test = (arg0: any) => boolean;
72
+ interface NewPlugin {
73
+ serialize: (val: any, config: Config, indentation: string, depth: number, refs: Refs, printer: Printer) => string;
74
+ test: Test;
75
+ }
76
+ interface PluginOptions {
77
+ edgeSpacing: string;
78
+ min: boolean;
79
+ spacing: string;
80
+ }
81
+ interface OldPlugin {
82
+ print: (val: unknown, print: Print, indent: Indent, options: PluginOptions, colors: Colors) => string;
83
+ test: Test;
84
+ }
85
+ type Plugin = NewPlugin | OldPlugin;
86
+ type Plugins = Array<Plugin>;
87
+ /**
88
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
89
+ *
90
+ * This source code is licensed under the MIT license found in the
91
+ * LICENSE file in the root directory of this source tree.
92
+ */
93
+ //#endregion
94
+ export { type CompareKeys, type OptionsReceived, type Plugin, type PrettyFormatOptions };
95
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","names":["Colors","comment","close","open","content","prop","tag","value","Indent","arg0","Refs","Array","Print","Theme","Required","CompareKeys","a","b","RequiredOptions","PrettyFormatOptions","Options","Omit","compareKeys","theme","Plugins","callToJSON","escapeRegex","escapeString","highlight","indent","maxDepth","maxWidth","min","printBasicPrototype","printFunctionName","printShadowRoot","plugins","OptionsReceived","Config","colors","spacingInner","spacingOuter","Printer","val","config","indentation","depth","refs","hasCalledToJSON","Test","NewPlugin","serialize","printer","test","PluginOptions","edgeSpacing","spacing","OldPlugin","print","options","Plugin","createDOMElementFilter","node","filterNode","DEFAULT_OPTIONS","format","AsymmetricMatcher","DOMCollection","DOMElement","Immutable","ReactElement","ReactTestComponent","Error"],"sources":["../../../../../../../node_modules/@vitest/pretty-format/dist/index.d.ts"],"x_google_ignoreList":[0],"mappings":";;;;;;;UAMUA,MAAAA;EACTC,OAAAA;IACCC,KAAAA;IACAC,IAAAA;EAAAA;EAEDC,OAAAA;IACCF,KAAAA;IACAC,IAAAA;EAAAA;EAEDE,IAAAA;IACCH,KAAAA;IACAC,IAAAA;EAAAA;EAEDG,GAAAA;IACCJ,KAAAA;IACAC,IAAAA;EAAAA;EAEDI,KAAAA;IACCL,KAAAA;IACAC,IAAAA;EAAAA;AAAAA;AAAAA,KAGGK,MAAAA,IAAUC,IAAAA;AAAAA,KACVC,IAAAA,GAAOC,KAAAA;AAAAA,KACPC,KAAAA,IAASH,IAAAA;;;;KAWTM,WAAAA,KAAgBC,CAAAA,UAAWC,CAAAA;AAAAA,UAMtBE,mBAAAA;EACTM,UAAAA;EACAC,WAAAA;EACAC,YAAAA;EACAC,SAAAA;EACAC,MAAAA;EACAC,QAAAA;EACAC,QAAAA;EACAC,GAAAA;EACAC,mBAAAA;EACAC,iBAAAA;EACAC,eAAAA;EACAb,WAAAA,GAAcP,WAAAA;EACdqB,OAAAA,GAAUZ,OAAAA;AAAAA;AAAAA,KAENa,eAAAA,GAAkBlB,mBAAAA;AAAAA,UACbmB,MAAAA;EACTb,UAAAA;EACAH,WAAAA,EAAaP,WAAAA;EACbwB,MAAAA,EAAQvC,MAAAA;EACR0B,WAAAA;EACAC,YAAAA;EACAE,MAAAA;EACAC,QAAAA;EACAC,QAAAA;EACAC,GAAAA;EACAI,OAAAA,EAASZ,OAAAA;EACTS,mBAAAA;EACAC,iBAAAA;EACAC,eAAAA;EACAK,YAAAA;EACAC,YAAAA;AAAAA;AAAAA,KAEIC,OAAAA,IAAWC,GAAAA,WAAcC,MAAAA,EAAQN,MAAAA,EAAQO,WAAAA,UAAqBC,KAAAA,UAAeC,IAAAA,EAAMrC,IAAAA,EAAMsC,eAAAA;AAAA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