@aussieljk/forkbook 0.0.0-stage → 0.0.1-2

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 (598) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +77 -2
  3. package/assets/addon-vitest/templates/vitest.config.4.template.ts +36 -0
  4. package/assets/browser/favicon-wrapper.svg +46 -0
  5. package/assets/browser/favicon.svg +1 -0
  6. package/assets/browser/nunito-sans-bold-italic.woff2 +0 -0
  7. package/assets/browser/nunito-sans-bold.woff2 +0 -0
  8. package/assets/browser/nunito-sans-italic.woff2 +0 -0
  9. package/assets/browser/nunito-sans-regular.woff2 +0 -0
  10. package/assets/builder-vite/iframe.html +99 -0
  11. package/assets/create/rendererAssets/.eslintrc.json +16 -0
  12. package/assets/create/rendererAssets/common/Configure.mdx +388 -0
  13. package/assets/create/rendererAssets/common/assets/accessibility.png +0 -0
  14. package/assets/create/rendererAssets/common/assets/accessibility.svg +1 -0
  15. package/assets/create/rendererAssets/common/assets/addon-library.png +0 -0
  16. package/assets/create/rendererAssets/common/assets/assets.png +0 -0
  17. package/assets/create/rendererAssets/common/assets/avif-test-image.avif +0 -0
  18. package/assets/create/rendererAssets/common/assets/context.png +0 -0
  19. package/assets/create/rendererAssets/common/assets/discord.svg +1 -0
  20. package/assets/create/rendererAssets/common/assets/docs.png +0 -0
  21. package/assets/create/rendererAssets/common/assets/figma-plugin.png +0 -0
  22. package/assets/create/rendererAssets/common/assets/github.svg +1 -0
  23. package/assets/create/rendererAssets/common/assets/share.png +0 -0
  24. package/assets/create/rendererAssets/common/assets/styling.png +0 -0
  25. package/assets/create/rendererAssets/common/assets/testing.png +0 -0
  26. package/assets/create/rendererAssets/common/assets/theming.png +0 -0
  27. package/assets/create/rendererAssets/common/assets/tutorials.svg +1 -0
  28. package/assets/create/rendererAssets/common/assets/youtube.svg +1 -0
  29. package/assets/create/rendererAssets/common/button.css +30 -0
  30. package/assets/create/rendererAssets/common/header.css +32 -0
  31. package/assets/create/rendererAssets/common/page.css +68 -0
  32. package/assets/create/templates/react-native/index.expo.js +20 -0
  33. package/assets/create/templates/react-native/index.js +25 -0
  34. package/assets/docs/addon-backgrounds.gif +0 -0
  35. package/assets/docs/addon-controls-args-annotated.png +0 -0
  36. package/assets/docs/addon-controls-args-background-color.png +0 -0
  37. package/assets/docs/addon-controls-args-background-string.png +0 -0
  38. package/assets/docs/addon-controls-args-docs.png +0 -0
  39. package/assets/docs/addon-controls-args-logging.png +0 -0
  40. package/assets/docs/addon-controls-args-no-annotation.png +0 -0
  41. package/assets/docs/addon-controls-args-reflow-slider.png +0 -0
  42. package/assets/docs/addon-controls-args-reflow.png +0 -0
  43. package/assets/docs/addon-controls-args-template.png +0 -0
  44. package/assets/docs/addon-controls-expanded.png +0 -0
  45. package/assets/docs/addon-controls-hero.gif +0 -0
  46. package/assets/docs/addon-controls-install.png +0 -0
  47. package/assets/docs/hero.gif +0 -0
  48. package/assets/docs/highlight.png +0 -0
  49. package/assets/docs/message-reference.png +0 -0
  50. package/assets/docs/viewport.png +0 -0
  51. package/assets/react-native/metro-env.d.ts +69 -0
  52. package/assets/server/addon.tsconfig.json +6 -0
  53. package/assets/server/base-preview-body.html +116 -0
  54. package/assets/server/base-preview-head.html +494 -0
  55. package/assets/server/openBrowser.applescript +94 -0
  56. package/assets/server/template.ejs +87 -0
  57. package/dist/.build-stamp +0 -0
  58. package/dist/_browser-chunks/Color-PCLE2J36.js +1025 -0
  59. package/dist/_browser-chunks/DocsRenderer-JXND3PVQ.js +10 -0
  60. package/dist/_browser-chunks/WithTooltip-XSQFTBMB.js +1619 -0
  61. package/dist/_browser-chunks/chunk-2JDQ35OA.js +247 -0
  62. package/dist/_browser-chunks/chunk-2JT76G3E.js +104 -0
  63. package/dist/_browser-chunks/chunk-2MEPHP35.js +17 -0
  64. package/dist/_browser-chunks/chunk-2SCZVUKW.js +24 -0
  65. package/dist/_browser-chunks/chunk-46Z7NGAS.js +41 -0
  66. package/dist/_browser-chunks/chunk-4ATQOMJB.js +30 -0
  67. package/dist/_browser-chunks/chunk-52CW7FF7.js +49 -0
  68. package/dist/_browser-chunks/chunk-5I7E4GMO.js +62 -0
  69. package/dist/_browser-chunks/chunk-5P4QA6MY.js +20 -0
  70. package/dist/_browser-chunks/chunk-5WMXI5GW.js +816 -0
  71. package/dist/_browser-chunks/chunk-66OCZ54D.js +2604 -0
  72. package/dist/_browser-chunks/chunk-6SXYJQST.js +253 -0
  73. package/dist/_browser-chunks/chunk-AYRF6EJB.js +36 -0
  74. package/dist/_browser-chunks/chunk-B4AUNNU4.js +156 -0
  75. package/dist/_browser-chunks/chunk-BCP2FFXF.js +369 -0
  76. package/dist/_browser-chunks/chunk-C3D4HEFY.js +3396 -0
  77. package/dist/_browser-chunks/chunk-CFAOWGL7.js +43 -0
  78. package/dist/_browser-chunks/chunk-CFWWCCZV.js +223 -0
  79. package/dist/_browser-chunks/chunk-CNED6RYH.js +18 -0
  80. package/dist/_browser-chunks/chunk-DRQKCCAG.js +136 -0
  81. package/dist/_browser-chunks/chunk-ECQ75MKQ.js +0 -0
  82. package/dist/_browser-chunks/chunk-EIYAKDGP.js +302 -0
  83. package/dist/_browser-chunks/chunk-ENKK74N4.js +12 -0
  84. package/dist/_browser-chunks/chunk-FENFYI4X.js +698 -0
  85. package/dist/_browser-chunks/chunk-FJGWSWL5.js +155 -0
  86. package/dist/_browser-chunks/chunk-FVSEPWWX.js +2810 -0
  87. package/dist/_browser-chunks/chunk-GNZY6LOW.js +10116 -0
  88. package/dist/_browser-chunks/chunk-IE4ULIOQ.js +14 -0
  89. package/dist/_browser-chunks/chunk-IMSF75WX.js +42 -0
  90. package/dist/_browser-chunks/chunk-IWQGIXJS.js +14 -0
  91. package/dist/_browser-chunks/chunk-JMC7AIKT.js +108 -0
  92. package/dist/_browser-chunks/chunk-JPUOQJUI.js +8 -0
  93. package/dist/_browser-chunks/chunk-JSBKXXXF.js +218 -0
  94. package/dist/_browser-chunks/chunk-JWSKPMPC.js +73 -0
  95. package/dist/_browser-chunks/chunk-JYVGARBG.js +2943 -0
  96. package/dist/_browser-chunks/chunk-KBK7GKBN.js +35 -0
  97. package/dist/_browser-chunks/chunk-KQ7CRO2B.js +108 -0
  98. package/dist/_browser-chunks/chunk-LAWXTSXK.js +18 -0
  99. package/dist/_browser-chunks/chunk-LE2LTDW3.js +14 -0
  100. package/dist/_browser-chunks/chunk-LEVSOOLQ.js +48 -0
  101. package/dist/_browser-chunks/chunk-LV5PIKV4.js +93 -0
  102. package/dist/_browser-chunks/chunk-MDOL7KML.js +56 -0
  103. package/dist/_browser-chunks/chunk-MFMDGWP6.js +34 -0
  104. package/dist/_browser-chunks/chunk-MLBOOZL4.js +67 -0
  105. package/dist/_browser-chunks/chunk-NQUD4B7H.js +91 -0
  106. package/dist/_browser-chunks/chunk-NULBREPZ.js +43 -0
  107. package/dist/_browser-chunks/chunk-NZMVUW5T.js +7 -0
  108. package/dist/_browser-chunks/chunk-OD6IBQCC.js +117 -0
  109. package/dist/_browser-chunks/chunk-ODVJ3XZJ.js +157 -0
  110. package/dist/_browser-chunks/chunk-OQWFVDIN.js +386 -0
  111. package/dist/_browser-chunks/chunk-OVH3USFB.js +20 -0
  112. package/dist/_browser-chunks/chunk-OZZPSYQR.js +14 -0
  113. package/dist/_browser-chunks/chunk-P6PK47TQ.js +1970 -0
  114. package/dist/_browser-chunks/chunk-PFRNG3UC.js +22 -0
  115. package/dist/_browser-chunks/chunk-PJSMZ27A.js +13 -0
  116. package/dist/_browser-chunks/chunk-QC4HFS6K.js +41 -0
  117. package/dist/_browser-chunks/chunk-QDXFODK4.js +274 -0
  118. package/dist/_browser-chunks/chunk-RBCHTR7C.js +28 -0
  119. package/dist/_browser-chunks/chunk-RMYQ3QN3.js +294 -0
  120. package/dist/_browser-chunks/chunk-RNTIV5CE.js +411 -0
  121. package/dist/_browser-chunks/chunk-RSPAQWVJ.js +80 -0
  122. package/dist/_browser-chunks/chunk-S6TK43XQ.js +836 -0
  123. package/dist/_browser-chunks/chunk-SC67XZST.js +18 -0
  124. package/dist/_browser-chunks/chunk-SFVA4SBT.js +683 -0
  125. package/dist/_browser-chunks/chunk-SZYFOQMT.js +25 -0
  126. package/dist/_browser-chunks/chunk-TBJCJXK4.js +18 -0
  127. package/dist/_browser-chunks/chunk-UMDO3KB7.js +205 -0
  128. package/dist/_browser-chunks/chunk-V2G23FV7.js +11 -0
  129. package/dist/_browser-chunks/chunk-V5M7Q4HT.js +88 -0
  130. package/dist/_browser-chunks/chunk-W5M6NPS3.js +198 -0
  131. package/dist/_browser-chunks/chunk-W7NE2JXW.js +84 -0
  132. package/dist/_browser-chunks/chunk-WGVAAM43.js +1110 -0
  133. package/dist/_browser-chunks/chunk-WHQRNHXD.js +8 -0
  134. package/dist/_browser-chunks/chunk-WOSOWBCA.js +12 -0
  135. package/dist/_browser-chunks/chunk-WZ7KR7SH.js +85 -0
  136. package/dist/_browser-chunks/chunk-YEKO6BHJ.js +20 -0
  137. package/dist/_browser-chunks/chunk-YI2IBIQS.js +7 -0
  138. package/dist/_browser-chunks/chunk-YTIT5NA5.js +1966 -0
  139. package/dist/_browser-chunks/chunk-ZEHRUHTA.js +6 -0
  140. package/dist/_browser-chunks/chunk-ZTQ5MEJ5.js +203 -0
  141. package/dist/_browser-chunks/matchers-YLBYSYAF.js +1263 -0
  142. package/dist/_browser-chunks/react-dom-client-4OHE3QDV.js +9 -0
  143. package/dist/_node-chunks/attached-runtime-I2G4WLJI.js +282 -0
  144. package/dist/_node-chunks/builder-manager-VVHYQXCH.js +1661 -0
  145. package/dist/_node-chunks/chunk-2BUPBPFB.js +82 -0
  146. package/dist/_node-chunks/chunk-2DSIDINN.js +884 -0
  147. package/dist/_node-chunks/chunk-2RU7BKEW.js +23 -0
  148. package/dist/_node-chunks/chunk-34EO2PUT.js +26 -0
  149. package/dist/_node-chunks/chunk-3BKIBF5S.js +3008 -0
  150. package/dist/_node-chunks/chunk-3SDUYDXH.js +98 -0
  151. package/dist/_node-chunks/chunk-3T4ZSNPH.js +662 -0
  152. package/dist/_node-chunks/chunk-3W7F2B7P.js +79 -0
  153. package/dist/_node-chunks/chunk-3Y6AAY5H.js +80 -0
  154. package/dist/_node-chunks/chunk-42UWAGPW.js +1193 -0
  155. package/dist/_node-chunks/chunk-4FEANXWU.js +1986 -0
  156. package/dist/_node-chunks/chunk-5DQFEZEA.js +40 -0
  157. package/dist/_node-chunks/chunk-6KEHV53S.js +1218 -0
  158. package/dist/_node-chunks/chunk-6LMWA44H.js +3837 -0
  159. package/dist/_node-chunks/chunk-6YKBRP72.js +20 -0
  160. package/dist/_node-chunks/chunk-7GUDZVRQ.js +110 -0
  161. package/dist/_node-chunks/chunk-B5J7Q7J4.js +21 -0
  162. package/dist/_node-chunks/chunk-BS2WMZMR.js +90 -0
  163. package/dist/_node-chunks/chunk-BSKFCWQD.js +47 -0
  164. package/dist/_node-chunks/chunk-BXVYT7SB.js +36 -0
  165. package/dist/_node-chunks/chunk-CCOTJ4FC.js +688 -0
  166. package/dist/_node-chunks/chunk-CQKMLL5J.js +33 -0
  167. package/dist/_node-chunks/chunk-CXRU72ET.js +63 -0
  168. package/dist/_node-chunks/chunk-DC7DKR5K.js +20 -0
  169. package/dist/_node-chunks/chunk-DHJFTB4K.js +25 -0
  170. package/dist/_node-chunks/chunk-DUR55DJJ.js +1094 -0
  171. package/dist/_node-chunks/chunk-E6YESGLX.js +7032 -0
  172. package/dist/_node-chunks/chunk-EHUNOMDD.js +52345 -0
  173. package/dist/_node-chunks/chunk-ET7PWEO7.js +298 -0
  174. package/dist/_node-chunks/chunk-EWOX7HPJ.js +20 -0
  175. package/dist/_node-chunks/chunk-F3ZFKBHY.js +844 -0
  176. package/dist/_node-chunks/chunk-FK7KGTV7.js +26 -0
  177. package/dist/_node-chunks/chunk-FPZB5OI7.js +35 -0
  178. package/dist/_node-chunks/chunk-FW2HQUBQ.js +25 -0
  179. package/dist/_node-chunks/chunk-FY6UXW6G.js +11 -0
  180. package/dist/_node-chunks/chunk-GEFQN7K3.js +499 -0
  181. package/dist/_node-chunks/chunk-GRBLDJCR.js +989 -0
  182. package/dist/_node-chunks/chunk-H32DYT6P.js +87 -0
  183. package/dist/_node-chunks/chunk-H4PPVMP5.js +23 -0
  184. package/dist/_node-chunks/chunk-HMP2G23X.js +25 -0
  185. package/dist/_node-chunks/chunk-ICPBH3E7.js +59 -0
  186. package/dist/_node-chunks/chunk-IDEL2J23.js +23 -0
  187. package/dist/_node-chunks/chunk-IK4FGZLR.js +223 -0
  188. package/dist/_node-chunks/chunk-JDXXX6LB.js +68 -0
  189. package/dist/_node-chunks/chunk-JGGFYIG5.js +5468 -0
  190. package/dist/_node-chunks/chunk-JPAZLYJ3.js +29 -0
  191. package/dist/_node-chunks/chunk-JZOO7GGC.js +48 -0
  192. package/dist/_node-chunks/chunk-KISMCCP5.js +4744 -0
  193. package/dist/_node-chunks/chunk-LCK4ZQKG.js +115 -0
  194. package/dist/_node-chunks/chunk-LO56I6E2.js +132 -0
  195. package/dist/_node-chunks/chunk-LXBD4UL4.js +104 -0
  196. package/dist/_node-chunks/chunk-MA24JW6C.js +7162 -0
  197. package/dist/_node-chunks/chunk-MK2KYAI6.js +5414 -0
  198. package/dist/_node-chunks/chunk-NDWKJ4CL.js +2102 -0
  199. package/dist/_node-chunks/chunk-NIBT7XDZ.js +168 -0
  200. package/dist/_node-chunks/chunk-NPO45IMH.js +33 -0
  201. package/dist/_node-chunks/chunk-OISX4AGQ.js +414 -0
  202. package/dist/_node-chunks/chunk-OUW6R7C3.js +26 -0
  203. package/dist/_node-chunks/chunk-OWNFOGTA.js +194 -0
  204. package/dist/_node-chunks/chunk-Q7QNUM5H.js +49 -0
  205. package/dist/_node-chunks/chunk-QEQLR22M.js +1877 -0
  206. package/dist/_node-chunks/chunk-RRN2V55B.js +45 -0
  207. package/dist/_node-chunks/chunk-RWFIFGO5.js +144 -0
  208. package/dist/_node-chunks/chunk-RXNJDRGO.js +209 -0
  209. package/dist/_node-chunks/chunk-RZMQ7S3L.js +92 -0
  210. package/dist/_node-chunks/chunk-SIEXZVCR.js +51 -0
  211. package/dist/_node-chunks/chunk-SLWQNBGO.js +2034 -0
  212. package/dist/_node-chunks/chunk-SVTBJ7Q3.js +35 -0
  213. package/dist/_node-chunks/chunk-SWO5CDYU.js +32 -0
  214. package/dist/_node-chunks/chunk-TD5PLLQG.js +121 -0
  215. package/dist/_node-chunks/chunk-TEQGGSP7.js +33 -0
  216. package/dist/_node-chunks/chunk-TFCEV2XX.js +155 -0
  217. package/dist/_node-chunks/chunk-TFEWM4E3.js +1073 -0
  218. package/dist/_node-chunks/chunk-TINO74G5.js +21 -0
  219. package/dist/_node-chunks/chunk-TNJIXE37.js +40 -0
  220. package/dist/_node-chunks/chunk-TWI4GVH7.js +19 -0
  221. package/dist/_node-chunks/chunk-U5W53R2J.js +1011 -0
  222. package/dist/_node-chunks/chunk-UBOGWBEA.js +148 -0
  223. package/dist/_node-chunks/chunk-UMUBKI6E.js +3787 -0
  224. package/dist/_node-chunks/chunk-UVINFLGY.js +56 -0
  225. package/dist/_node-chunks/chunk-V2DY426G.js +1133 -0
  226. package/dist/_node-chunks/chunk-VLOXOXXE.js +45 -0
  227. package/dist/_node-chunks/chunk-W4OMYLSP.js +1297 -0
  228. package/dist/_node-chunks/chunk-WAXVSN3O.js +18 -0
  229. package/dist/_node-chunks/chunk-WCULS5TP.js +3767 -0
  230. package/dist/_node-chunks/chunk-WNZ2UMFM.js +153 -0
  231. package/dist/_node-chunks/chunk-WZJF2OUH.js +74 -0
  232. package/dist/_node-chunks/chunk-XGIUVY52.js +611 -0
  233. package/dist/_node-chunks/chunk-XHL2LVBM.js +415 -0
  234. package/dist/_node-chunks/chunk-XI6B6P47.js +59 -0
  235. package/dist/_node-chunks/chunk-XLP2ZKXV.js +60 -0
  236. package/dist/_node-chunks/chunk-YCMRA6RX.js +95 -0
  237. package/dist/_node-chunks/chunk-YZFWBA5L.js +2700 -0
  238. package/dist/_node-chunks/chunk-ZMAMXQKP.js +4731 -0
  239. package/dist/_node-chunks/chunk-ZWBCQ4MJ.js +110 -0
  240. package/dist/_node-chunks/dist-VTSTZKUB.js +16 -0
  241. package/dist/_node-chunks/globby-OEMHPBFY.js +2884 -0
  242. package/dist/_node-chunks/jiti-NFX6UU74.js +3848 -0
  243. package/dist/_node-chunks/lib-MDVARD7W.js +366 -0
  244. package/dist/_node-chunks/local-runtime-NTKIN2QT.js +78 -0
  245. package/dist/_node-chunks/mdx-plugin-MWISDWDQ.js +5680 -0
  246. package/dist/_node-chunks/monorepo-LIRFMQXE.js +121 -0
  247. package/dist/_node-chunks/monorepo-optimized-tests-relaxed-limits-no-story-deletion-CPDW4XTW.js +121 -0
  248. package/dist/_node-chunks/optimized-tests-HDOLR3EY.js +22 -0
  249. package/dist/_node-chunks/pattern-copy-play-EKHIUAU2.js +807 -0
  250. package/dist/_node-chunks/postinstallAddon-GYGMWDL6.js +20 -0
  251. package/dist/_node-chunks/rehype-external-links-BUN3HUCO.js +121 -0
  252. package/dist/_node-chunks/rehype-slug-PLADX223.js +52 -0
  253. package/dist/_node-chunks/relaxed-limits-GBHW6KIQ.js +117 -0
  254. package/dist/_node-chunks/run-KDTIZNSY.js +103 -0
  255. package/dist/_node-chunks/run-NL66VTNR.js +4532 -0
  256. package/dist/_node-chunks/session-id-KIIVOQLR.js +23 -0
  257. package/dist/_node-chunks/setup-MGC7BQO6.js +278 -0
  258. package/dist/_node-chunks/vitest.config.4.template-JH2THZFG.js +54 -0
  259. package/dist/actions/decorator.d.ts +7 -0
  260. package/dist/actions/decorator.js +43 -0
  261. package/dist/actions/index.d.ts +67 -0
  262. package/dist/actions/index.js +28 -0
  263. package/dist/addon-a11y/index.d.ts +52 -0
  264. package/dist/addon-a11y/index.js +16 -0
  265. package/dist/addon-a11y/manager.js +1429 -0
  266. package/dist/addon-a11y/preset.js +18 -0
  267. package/dist/addon-a11y/preview.d.ts +17 -0
  268. package/dist/addon-a11y/preview.js +15 -0
  269. package/dist/addon-docs/blocks.d.ts +1061 -0
  270. package/dist/addon-docs/blocks.js +2461 -0
  271. package/dist/addon-docs/index.d.ts +236 -0
  272. package/dist/addon-docs/index.js +16 -0
  273. package/dist/addon-docs/manager.js +90 -0
  274. package/dist/addon-docs/mdx-react-shim.d.ts +1 -0
  275. package/dist/addon-docs/mdx-react-shim.js +2 -0
  276. package/dist/addon-docs/preset.js +378 -0
  277. package/dist/addon-docs/preview.d.ts +4 -0
  278. package/dist/addon-docs/preview.js +7 -0
  279. package/dist/addon-links/index.d.ts +22 -0
  280. package/dist/addon-links/index.js +20 -0
  281. package/dist/addon-links/manager.js +14 -0
  282. package/dist/addon-links/preview.d.ts +6 -0
  283. package/dist/addon-links/preview.js +9 -0
  284. package/dist/addon-links/react/index.d.ts +25 -0
  285. package/dist/addon-links/react/index.js +52 -0
  286. package/dist/addon-mcp/preset.js +1345 -0
  287. package/dist/addon-mcp/preview.js +29 -0
  288. package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +1153 -0
  289. package/dist/addon-ondevice-actions/index.d.ts +4 -0
  290. package/dist/addon-ondevice-actions/index.js +7 -0
  291. package/dist/addon-ondevice-actions/register.js +7 -0
  292. package/dist/addon-ondevice-controls/index.d.ts +6 -0
  293. package/dist/addon-ondevice-controls/index.js +14 -0
  294. package/dist/addon-ondevice-controls/register.js +10 -0
  295. package/dist/addon-pseudo-states/index.d.ts +35 -0
  296. package/dist/addon-pseudo-states/index.js +15 -0
  297. package/dist/addon-pseudo-states/manager.js +53 -0
  298. package/dist/addon-pseudo-states/preview.d.ts +9 -0
  299. package/dist/addon-pseudo-states/preview.js +10 -0
  300. package/dist/addon-themes/index.d.ts +80 -0
  301. package/dist/addon-themes/index.js +104 -0
  302. package/dist/addon-themes/manager.js +97 -0
  303. package/dist/addon-themes/postinstall.js +33 -0
  304. package/dist/addon-themes/preview.d.ts +6 -0
  305. package/dist/addon-themes/preview.js +8 -0
  306. package/dist/addon-vitest/constants.d.ts +132 -0
  307. package/dist/addon-vitest/constants.js +66 -0
  308. package/dist/addon-vitest/index.d.ts +4 -0
  309. package/dist/addon-vitest/index.js +8 -0
  310. package/dist/addon-vitest/manager.js +665 -0
  311. package/dist/addon-vitest/node/coverage-reporter.js +1284 -0
  312. package/dist/addon-vitest/node/vitest.js +674 -0
  313. package/dist/addon-vitest/postinstall.js +24 -0
  314. package/dist/addon-vitest/preset.js +943 -0
  315. package/dist/addon-vitest/vitest-plugin/global-setup.js +162 -0
  316. package/dist/addon-vitest/vitest-plugin/index.d.ts +56 -0
  317. package/dist/addon-vitest/vitest-plugin/index.js +463 -0
  318. package/dist/addon-vitest/vitest-plugin/setup-file-with-project-annotations.js +9 -0
  319. package/dist/addon-vitest/vitest-plugin/setup-file.browser.4.js +20 -0
  320. package/dist/addon-vitest/vitest-plugin/setup-file.js +50 -0
  321. package/dist/addon-vitest/vitest-plugin/test-utils.js +128 -0
  322. package/dist/babel/index.d.ts +2301 -0
  323. package/dist/babel/index.js +61 -0
  324. package/dist/backgrounds/index.d.ts +6 -0
  325. package/dist/backgrounds/index.js +15 -0
  326. package/dist/bin/core.js +1705 -0
  327. package/dist/bin/dispatcher.js +43 -0
  328. package/dist/bin/loader.js +115 -0
  329. package/dist/builder-vite/index.d.ts +50 -0
  330. package/dist/builder-vite/index.js +245 -0
  331. package/dist/builder-vite/preset.js +27 -0
  332. package/dist/channels/index.d.ts +2 -0
  333. package/dist/channels/index.js +352 -0
  334. package/dist/chunk-B2t1tGRh.d.ts +284 -0
  335. package/dist/chunk-BCoJQE-f.d.ts +602 -0
  336. package/dist/chunk-BGkgZp-H.d.ts +214 -0
  337. package/dist/chunk-BTVrWliM.d.ts +115 -0
  338. package/dist/chunk-BXLImeLy.d.ts +197 -0
  339. package/dist/chunk-BfBzpgct.d.ts +916 -0
  340. package/dist/chunk-Bpi2tz-6.d.ts +511 -0
  341. package/dist/chunk-BxWufQms.d.ts +142 -0
  342. package/dist/chunk-C-bavsOH.d.ts +34 -0
  343. package/dist/chunk-C2p5r3Vt.d.ts +13001 -0
  344. package/dist/chunk-C6PAgHLT.d.ts +12 -0
  345. package/dist/chunk-CMeX4WRe.d.ts +179 -0
  346. package/dist/chunk-Ct9xd6IM.d.ts +65 -0
  347. package/dist/chunk-CwQKNaYL.d.ts +15 -0
  348. package/dist/chunk-D7DwV41f.d.ts +3622 -0
  349. package/dist/chunk-DEVFdzxR.d.ts +253 -0
  350. package/dist/chunk-DaVb55-_.d.ts +124 -0
  351. package/dist/chunk-DgRNfmj_.d.ts +40 -0
  352. package/dist/chunk-DoIGKY33.d.ts +666 -0
  353. package/dist/chunk-Dr3R0DXk.d.ts +40 -0
  354. package/dist/chunk-DtHByo32.d.ts +55 -0
  355. package/dist/chunk-Dw1z1Pki.d.ts +933 -0
  356. package/dist/chunk-DzuY9DXg.d.ts +79 -0
  357. package/dist/chunk-FjDVzZTj.d.ts +62 -0
  358. package/dist/chunk-Kt1tW-D1.d.ts +59 -0
  359. package/dist/chunk-XP8oHzpE.d.ts +6 -0
  360. package/dist/chunk-gCX81nOr.d.ts +61 -0
  361. package/dist/chunk-pcFXCimE.d.ts +741 -0
  362. package/dist/cli/index.d.ts +1174 -0
  363. package/dist/cli/index.js +5613 -0
  364. package/dist/cli/skills/content/index.d.ts +72 -0
  365. package/dist/cli/skills/content/index.js +335 -0
  366. package/dist/cli/tools/sdk/child-host.d.ts +61 -0
  367. package/dist/cli/tools/sdk/child-host.js +131 -0
  368. package/dist/cli/tools/sdk/index.d.ts +137 -0
  369. package/dist/cli/tools/sdk/index.js +44 -0
  370. package/dist/cli-commands/bin/index.js +25 -0
  371. package/dist/client-logger/index.d.ts +31 -0
  372. package/dist/client-logger/index.js +63 -0
  373. package/dist/common/index.d.ts +1103 -0
  374. package/dist/common/index.js +364 -0
  375. package/dist/components/index.d.ts +1924 -0
  376. package/dist/components/index.js +13759 -0
  377. package/dist/core-events/index.d.ts +155 -0
  378. package/dist/core-events/index.js +136 -0
  379. package/dist/core-server/index.d.ts +2200 -0
  380. package/dist/core-server/index.js +4165 -0
  381. package/dist/core-server/presets/common-manager.css +170 -0
  382. package/dist/core-server/presets/common-manager.js +4168 -0
  383. package/dist/core-server/presets/common-override-preset.js +81 -0
  384. package/dist/core-server/presets/common-preset.js +2187 -0
  385. package/dist/create/bin/index.js +23 -0
  386. package/dist/create/index.js +25 -0
  387. package/dist/csf/csf-utils.d.ts +2 -0
  388. package/dist/csf/csf-utils.js +19 -0
  389. package/dist/csf/index.d.ts +7 -0
  390. package/dist/csf/index.js +2142 -0
  391. package/dist/csf-tools/index.d.ts +1157 -0
  392. package/dist/csf-tools/index.js +736 -0
  393. package/dist/docs-tools/index.d.ts +197 -0
  394. package/dist/docs-tools/index.js +61 -0
  395. package/dist/highlight/index.d.ts +10 -0
  396. package/dist/highlight/index.js +15 -0
  397. package/dist/instrumenter/index.d.ts +113 -0
  398. package/dist/instrumenter/index.js +2595 -0
  399. package/dist/manager/_manager-chunks/globals-runtime-8HkdnU2F.js +6144 -0
  400. package/dist/manager/_manager-chunks/globals-runtime-BIKBO23x.js +3389 -0
  401. package/dist/manager/_manager-chunks/globals-runtime-BdGkqNEt.js +45 -0
  402. package/dist/manager/_manager-chunks/globals-runtime-BmphMP6z.js +1190 -0
  403. package/dist/manager/_manager-chunks/globals-runtime-BvM-NY2g.js +13307 -0
  404. package/dist/manager/_manager-chunks/globals-runtime-C02fvgcd.js +9243 -0
  405. package/dist/manager/_manager-chunks/globals-runtime-DkAPXCvc.js +9766 -0
  406. package/dist/manager/_manager-chunks/globals-runtime-DpNYC-qi.js +5564 -0
  407. package/dist/manager/_manager-chunks/globals-runtime-DtcOnYHR.js +5357 -0
  408. package/dist/manager/_manager-chunks/globals-runtime-DwFqpqya.js +722 -0
  409. package/dist/manager/_manager-chunks/globals-runtime-FC201B7s.js +6837 -0
  410. package/dist/manager/_manager-chunks/globals-runtime-Rp_zjGnh.js +121 -0
  411. package/dist/manager/_manager-chunks/globals-runtime-ZHrQFa3-.js +10463 -0
  412. package/dist/manager/_manager-chunks/globals-runtime-eLPTIfX-.js +7759 -0
  413. package/dist/manager/_manager-chunks/globals-runtime-qKvCZHFY.js +4468 -0
  414. package/dist/manager/_manager-chunks/globals-runtime-sGpNlIJ1.js +5102 -0
  415. package/dist/manager/_manager-chunks/runtime-B1L9TH89.js +452 -0
  416. package/dist/manager/_manager-chunks/runtime-BK0zF7FN.js +22 -0
  417. package/dist/manager/_manager-chunks/runtime-BhkT2CXl.js +1408 -0
  418. package/dist/manager/_manager-chunks/runtime-Bly6WJLN.js +998 -0
  419. package/dist/manager/_manager-chunks/runtime-D0UOWx0U.js +979 -0
  420. package/dist/manager/_manager-chunks/runtime-D94Vq3oR.js +4014 -0
  421. package/dist/manager/_manager-chunks/runtime-DMig8mT7.js +77 -0
  422. package/dist/manager/_manager-chunks/runtime-EITvVbkG.js +46 -0
  423. package/dist/manager/_manager-chunks/runtime-cp5pazY2.js +8936 -0
  424. package/dist/manager/_manager-chunks/runtime-eDVAYF7N.js +6860 -0
  425. package/dist/manager/_manager-chunks/runtime-i-PDAHLR.js +2493 -0
  426. package/dist/manager/globals-runtime.js +2 -0
  427. package/dist/manager/globals.d.ts +23 -0
  428. package/dist/manager/globals.js +26 -0
  429. package/dist/manager/manager-stores.d.ts +2 -0
  430. package/dist/manager/manager-stores.js +19 -0
  431. package/dist/manager/runtime.js +2 -0
  432. package/dist/manager-api/index.d.ts +2 -0
  433. package/dist/manager-api/index.js +3257 -0
  434. package/dist/manager-errors.d.ts +89 -0
  435. package/dist/manager-errors.js +20 -0
  436. package/dist/mcp/index.d.ts +270 -0
  437. package/dist/mcp/index.js +305 -0
  438. package/dist/mocking-utils/index.d.ts +689 -0
  439. package/dist/mocking-utils/index.js +521 -0
  440. package/dist/mocking-utils/mocker-runtime.js +1254 -0
  441. package/dist/nextjs-vite/config/preview.js +3 -0
  442. package/dist/nextjs-vite/export-mocks/cache/index.d.ts +25 -0
  443. package/dist/nextjs-vite/export-mocks/cache/index.js +29 -0
  444. package/dist/nextjs-vite/export-mocks/headers/index.d.ts +37 -0
  445. package/dist/nextjs-vite/export-mocks/headers/index.js +54 -0
  446. package/dist/nextjs-vite/export-mocks/link/index.d.ts +9 -0
  447. package/dist/nextjs-vite/export-mocks/link/index.js +59 -0
  448. package/dist/nextjs-vite/export-mocks/navigation/index.d.ts +28 -0
  449. package/dist/nextjs-vite/export-mocks/navigation/index.js +58 -0
  450. package/dist/nextjs-vite/export-mocks/router/index.d.ts +34 -0
  451. package/dist/nextjs-vite/export-mocks/router/index.js +63 -0
  452. package/dist/nextjs-vite/index.d.ts +92 -0
  453. package/dist/nextjs-vite/index.js +58 -0
  454. package/dist/nextjs-vite/node/index.d.ts +6 -0
  455. package/dist/nextjs-vite/node/index.js +20 -0
  456. package/dist/nextjs-vite/preset.js +648 -0
  457. package/dist/nextjs-vite/preview.d.ts +20 -0
  458. package/dist/nextjs-vite/preview.js +11 -0
  459. package/dist/nextjs-vite/vite-plugin/index.d.ts +6 -0
  460. package/dist/nextjs-vite/vite-plugin/index.js +19 -0
  461. package/dist/nextjs-vite-plugin/index.d.ts +28 -0
  462. package/dist/nextjs-vite-plugin/index.js +923 -0
  463. package/dist/nextjs-vite-plugin/mocks/storybook.global.js +29 -0
  464. package/dist/nextjs-vite-plugin/plugins/next-image/alias/image-context.js +8 -0
  465. package/dist/nextjs-vite-plugin/plugins/next-image/alias/image-default-loader.js +23 -0
  466. package/dist/nextjs-vite-plugin/plugins/next-image/alias/next-image.js +28 -0
  467. package/dist/nextjs-vite-plugin/plugins/next-image/alias/next-legacy-image.js +17 -0
  468. package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/cache/index.js +29 -0
  469. package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/dynamic/index.js +40 -0
  470. package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/headers/index.js +55 -0
  471. package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/link/index.js +63 -0
  472. package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/navigation/index.js +71 -0
  473. package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/router/index.js +74 -0
  474. package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/rsc/server-only.js +7 -0
  475. package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/safe-stable-stringify/index.js +13 -0
  476. package/dist/nextjs-vite-plugin/plugins/next-mocks/compatibility/draft-mode.compat.js +7 -0
  477. package/dist/node-logger/index.d.ts +495 -0
  478. package/dist/node-logger/index.js +42 -0
  479. package/dist/oxc-parser/index.d.ts +99 -0
  480. package/dist/oxc-parser/index.js +275 -0
  481. package/dist/oxc-parser/worker.js +37 -0
  482. package/dist/preview/_chunks/runtime-BIzIdDbb.js +10263 -0
  483. package/dist/preview/_chunks/runtime-BTPtVY1p.js +1102 -0
  484. package/dist/preview/_chunks/runtime-BZSnICCg.js +8484 -0
  485. package/dist/preview/_chunks/runtime-BdGkqNEt.js +45 -0
  486. package/dist/preview/_chunks/runtime-BwSxqk3t.js +63 -0
  487. package/dist/preview/_chunks/runtime-CqHxptiK.js +6143 -0
  488. package/dist/preview/_chunks/runtime-CsV4HZPV.js +5064 -0
  489. package/dist/preview/_chunks/runtime-CxZK_Ln3.js +284 -0
  490. package/dist/preview/_chunks/runtime-DZToXfvO.js +9767 -0
  491. package/dist/preview/_chunks/runtime-DrTjJkPY.js +3872 -0
  492. package/dist/preview/_chunks/runtime-DuHdxMFA.js +387 -0
  493. package/dist/preview/_chunks/runtime-iXdo8CR8.js +3635 -0
  494. package/dist/preview/_chunks/runtime-q3wt0e_N.js +6838 -0
  495. package/dist/preview/globals.d.ts +16 -0
  496. package/dist/preview/globals.js +20 -0
  497. package/dist/preview/runtime.js +6 -0
  498. package/dist/preview-api/index.d.ts +4 -0
  499. package/dist/preview-api/index.js +147 -0
  500. package/dist/preview-errors.d.ts +186 -0
  501. package/dist/preview-errors.js +56 -0
  502. package/dist/react/docgen/docgen-worker.js +38 -0
  503. package/dist/react/entry-preview-argtypes.js +9 -0
  504. package/dist/react/entry-preview-docs.js +12 -0
  505. package/dist/react/entry-preview-rsc.js +11 -0
  506. package/dist/react/entry-preview.js +21 -0
  507. package/dist/react/index.d.ts +119 -0
  508. package/dist/react/index.js +26 -0
  509. package/dist/react/preset.js +301 -0
  510. package/dist/react/preview.d.ts +2 -0
  511. package/dist/react/preview.js +11 -0
  512. package/dist/react-native/bin/get-stories.js +34 -0
  513. package/dist/react-native/index.d.ts +160 -0
  514. package/dist/react-native/index.js +1547 -0
  515. package/dist/react-native/metro/node.d.ts +83 -0
  516. package/dist/react-native/metro/node.js +21 -0
  517. package/dist/react-native/metro/withStorybook.d.ts +2269 -0
  518. package/dist/react-native/metro/withStorybook.js +138 -0
  519. package/dist/react-native/preview.d.ts +6 -0
  520. package/dist/react-native/preview.js +20 -0
  521. package/dist/react-native/scripts/generate.d.ts +22 -0
  522. package/dist/react-native/scripts/generate.js +18 -0
  523. package/dist/react-native/stub.js +20 -0
  524. package/dist/react-native-theming/index.d.ts +175 -0
  525. package/dist/react-native-theming/index.js +2591 -0
  526. package/dist/react-native-ui/index.d.ts +130 -0
  527. package/dist/react-native-ui/index.js +1448 -0
  528. package/dist/react-native-ui-common/index.d.ts +230 -0
  529. package/dist/react-native-ui-common/index.js +514 -0
  530. package/dist/react-vite/index.d.ts +4 -0
  531. package/dist/react-vite/index.js +8 -0
  532. package/dist/react-vite/node/index.d.ts +6 -0
  533. package/dist/react-vite/node/index.js +20 -0
  534. package/dist/react-vite/preset.d.ts +6 -0
  535. package/dist/react-vite/preset.js +21 -0
  536. package/dist/router/index.d.ts +141 -0
  537. package/dist/router/index.js +1217 -0
  538. package/dist/server-errors.d.ts +2 -0
  539. package/dist/server-errors.js +149 -0
  540. package/dist/shared/open-service/index.d.ts +3 -0
  541. package/dist/shared/open-service/index.js +115 -0
  542. package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +75 -0
  543. package/dist/shared/open-service/toolsets/docs/public.d.ts +1296 -0
  544. package/dist/shared/open-service/toolsets/docs/public.js +991 -0
  545. package/dist/telemetry/index.d.ts +314 -0
  546. package/dist/telemetry/index.js +103 -0
  547. package/dist/test/index.d.ts +158 -0
  548. package/dist/test/index.js +19421 -0
  549. package/dist/theming/create.d.ts +15 -0
  550. package/dist/theming/create.js +11 -0
  551. package/dist/theming/index.d.ts +54 -0
  552. package/dist/theming/index.js +511 -0
  553. package/dist/types/index.d.ts +2 -0
  554. package/dist/types/index.js +48 -0
  555. package/dist/viewport/index.d.ts +275 -0
  556. package/dist/viewport/index.js +21 -0
  557. package/package.json +1054 -4
  558. package/template/nextjs-vite/cli/.eslintrc.json +6 -0
  559. package/template/nextjs-vite/cli/js/Button.jsx +42 -0
  560. package/template/nextjs-vite/cli/js/Button.stories.js +49 -0
  561. package/template/nextjs-vite/cli/js/Configure.mdx +470 -0
  562. package/template/nextjs-vite/cli/js/Header.jsx +58 -0
  563. package/template/nextjs-vite/cli/js/Header.stories.js +30 -0
  564. package/template/nextjs-vite/cli/js/Page.jsx +68 -0
  565. package/template/nextjs-vite/cli/js/Page.stories.js +28 -0
  566. package/template/nextjs-vite/cli/ts/Button.stories.ts +54 -0
  567. package/template/nextjs-vite/cli/ts/Button.tsx +39 -0
  568. package/template/nextjs-vite/cli/ts/Configure.mdx +446 -0
  569. package/template/nextjs-vite/cli/ts/Header.stories.ts +34 -0
  570. package/template/nextjs-vite/cli/ts/Header.tsx +54 -0
  571. package/template/nextjs-vite/cli/ts/Page.stories.ts +33 -0
  572. package/template/nextjs-vite/cli/ts/Page.tsx +73 -0
  573. package/template/react/cli/.eslintrc.json +5 -0
  574. package/template/react/cli/js/Button.jsx +39 -0
  575. package/template/react/cli/js/Button.stories.js +49 -0
  576. package/template/react/cli/js/Header.jsx +56 -0
  577. package/template/react/cli/js/Header.stories.js +29 -0
  578. package/template/react/cli/js/Page.jsx +69 -0
  579. package/template/react/cli/js/Page.stories.js +28 -0
  580. package/template/react/cli/ts/Button.stories.ts +54 -0
  581. package/template/react/cli/ts/Button.tsx +37 -0
  582. package/template/react/cli/ts/Header.stories.ts +34 -0
  583. package/template/react/cli/ts/Header.tsx +56 -0
  584. package/template/react/cli/ts/Page.stories.ts +33 -0
  585. package/template/react/cli/ts/Page.tsx +73 -0
  586. package/template/react-vite/cli/.eslintrc.json +5 -0
  587. package/template/react-vite/cli/js/Button.jsx +39 -0
  588. package/template/react-vite/cli/js/Button.stories.js +49 -0
  589. package/template/react-vite/cli/js/Header.jsx +56 -0
  590. package/template/react-vite/cli/js/Header.stories.js +29 -0
  591. package/template/react-vite/cli/js/Page.jsx +69 -0
  592. package/template/react-vite/cli/js/Page.stories.js +28 -0
  593. package/template/react-vite/cli/ts/Button.stories.ts +54 -0
  594. package/template/react-vite/cli/ts/Button.tsx +37 -0
  595. package/template/react-vite/cli/ts/Header.stories.ts +34 -0
  596. package/template/react-vite/cli/ts/Header.tsx +56 -0
  597. package/template/react-vite/cli/ts/Page.stories.ts +33 -0
  598. package/template/react-vite/cli/ts/Page.tsx +73 -0
@@ -0,0 +1,1263 @@
1
+ import "./chunk-IMSF75WX.js";
2
+
3
+ // ../../node_modules/vitest-axe/node_modules/chalk/source/vendor/ansi-styles/index.js
4
+ var wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`, wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`, wrapAnsi16m = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`, styles = {
5
+ modifier: {
6
+ reset: [0, 0],
7
+ // 21 isn't widely supported and 22 does the same thing
8
+ bold: [1, 22],
9
+ dim: [2, 22],
10
+ italic: [3, 23],
11
+ underline: [4, 24],
12
+ overline: [53, 55],
13
+ inverse: [7, 27],
14
+ hidden: [8, 28],
15
+ strikethrough: [9, 29]
16
+ },
17
+ color: {
18
+ black: [30, 39],
19
+ red: [31, 39],
20
+ green: [32, 39],
21
+ yellow: [33, 39],
22
+ blue: [34, 39],
23
+ magenta: [35, 39],
24
+ cyan: [36, 39],
25
+ white: [37, 39],
26
+ // Bright color
27
+ blackBright: [90, 39],
28
+ gray: [90, 39],
29
+ // Alias of `blackBright`
30
+ grey: [90, 39],
31
+ // Alias of `blackBright`
32
+ redBright: [91, 39],
33
+ greenBright: [92, 39],
34
+ yellowBright: [93, 39],
35
+ blueBright: [94, 39],
36
+ magentaBright: [95, 39],
37
+ cyanBright: [96, 39],
38
+ whiteBright: [97, 39]
39
+ },
40
+ bgColor: {
41
+ bgBlack: [40, 49],
42
+ bgRed: [41, 49],
43
+ bgGreen: [42, 49],
44
+ bgYellow: [43, 49],
45
+ bgBlue: [44, 49],
46
+ bgMagenta: [45, 49],
47
+ bgCyan: [46, 49],
48
+ bgWhite: [47, 49],
49
+ // Bright color
50
+ bgBlackBright: [100, 49],
51
+ bgGray: [100, 49],
52
+ // Alias of `bgBlackBright`
53
+ bgGrey: [100, 49],
54
+ // Alias of `bgBlackBright`
55
+ bgRedBright: [101, 49],
56
+ bgGreenBright: [102, 49],
57
+ bgYellowBright: [103, 49],
58
+ bgBlueBright: [104, 49],
59
+ bgMagentaBright: [105, 49],
60
+ bgCyanBright: [106, 49],
61
+ bgWhiteBright: [107, 49]
62
+ }
63
+ }, modifierNames = Object.keys(styles.modifier), foregroundColorNames = Object.keys(styles.color), backgroundColorNames = Object.keys(styles.bgColor), colorNames = [...foregroundColorNames, ...backgroundColorNames];
64
+ function assembleStyles() {
65
+ let codes = /* @__PURE__ */ new Map();
66
+ for (let [groupName, group] of Object.entries(styles)) {
67
+ for (let [styleName, style] of Object.entries(group))
68
+ styles[styleName] = {
69
+ open: `\x1B[${style[0]}m`,
70
+ close: `\x1B[${style[1]}m`
71
+ }, group[styleName] = styles[styleName], codes.set(style[0], style[1]);
72
+ Object.defineProperty(styles, groupName, {
73
+ value: group,
74
+ enumerable: !1
75
+ });
76
+ }
77
+ return Object.defineProperty(styles, "codes", {
78
+ value: codes,
79
+ enumerable: !1
80
+ }), styles.color.close = "\x1B[39m", styles.bgColor.close = "\x1B[49m", styles.color.ansi = wrapAnsi16(), styles.color.ansi256 = wrapAnsi256(), styles.color.ansi16m = wrapAnsi16m(), styles.bgColor.ansi = wrapAnsi16(10), styles.bgColor.ansi256 = wrapAnsi256(10), styles.bgColor.ansi16m = wrapAnsi16m(10), Object.defineProperties(styles, {
81
+ rgbToAnsi256: {
82
+ value(red, green, blue) {
83
+ return red === green && green === blue ? red < 8 ? 16 : red > 248 ? 231 : Math.round((red - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);
84
+ },
85
+ enumerable: !1
86
+ },
87
+ hexToRgb: {
88
+ value(hex) {
89
+ let matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
90
+ if (!matches)
91
+ return [0, 0, 0];
92
+ let [colorString] = matches;
93
+ colorString.length === 3 && (colorString = [...colorString].map((character) => character + character).join(""));
94
+ let integer = Number.parseInt(colorString, 16);
95
+ return [
96
+ /* eslint-disable no-bitwise */
97
+ integer >> 16 & 255,
98
+ integer >> 8 & 255,
99
+ integer & 255
100
+ /* eslint-enable no-bitwise */
101
+ ];
102
+ },
103
+ enumerable: !1
104
+ },
105
+ hexToAnsi256: {
106
+ value: (hex) => styles.rgbToAnsi256(...styles.hexToRgb(hex)),
107
+ enumerable: !1
108
+ },
109
+ ansi256ToAnsi: {
110
+ value(code) {
111
+ if (code < 8)
112
+ return 30 + code;
113
+ if (code < 16)
114
+ return 90 + (code - 8);
115
+ let red, green, blue;
116
+ if (code >= 232)
117
+ red = ((code - 232) * 10 + 8) / 255, green = red, blue = red;
118
+ else {
119
+ code -= 16;
120
+ let remainder = code % 36;
121
+ red = Math.floor(code / 36) / 5, green = Math.floor(remainder / 6) / 5, blue = remainder % 6 / 5;
122
+ }
123
+ let value = Math.max(red, green, blue) * 2;
124
+ if (value === 0)
125
+ return 30;
126
+ let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));
127
+ return value === 2 && (result += 60), result;
128
+ },
129
+ enumerable: !1
130
+ },
131
+ rgbToAnsi: {
132
+ value: (red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)),
133
+ enumerable: !1
134
+ },
135
+ hexToAnsi: {
136
+ value: (hex) => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)),
137
+ enumerable: !1
138
+ }
139
+ }), styles;
140
+ }
141
+ var ansiStyles = assembleStyles(), ansi_styles_default = ansiStyles;
142
+
143
+ // ../../node_modules/vitest-axe/node_modules/chalk/source/vendor/supports-color/browser.js
144
+ var level = (() => {
145
+ if (!("navigator" in globalThis))
146
+ return 0;
147
+ if (globalThis.navigator.userAgentData) {
148
+ let brand = navigator.userAgentData.brands.find(({ brand: brand2 }) => brand2 === "Chromium");
149
+ if (brand && brand.version > 93)
150
+ return 3;
151
+ }
152
+ return /\b(Chrome|Chromium)\//.test(globalThis.navigator.userAgent) ? 1 : 0;
153
+ })(), colorSupport = level !== 0 && {
154
+ level,
155
+ hasBasic: !0,
156
+ has256: level >= 2,
157
+ has16m: level >= 3
158
+ }, supportsColor = {
159
+ stdout: colorSupport,
160
+ stderr: colorSupport
161
+ }, browser_default = supportsColor;
162
+
163
+ // ../../node_modules/vitest-axe/node_modules/chalk/source/utilities.js
164
+ function stringReplaceAll(string, substring, replacer) {
165
+ let index = string.indexOf(substring);
166
+ if (index === -1)
167
+ return string;
168
+ let substringLength = substring.length, endIndex = 0, returnValue = "";
169
+ do
170
+ returnValue += string.slice(endIndex, index) + substring + replacer, endIndex = index + substringLength, index = string.indexOf(substring, endIndex);
171
+ while (index !== -1);
172
+ return returnValue += string.slice(endIndex), returnValue;
173
+ }
174
+ function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
175
+ let endIndex = 0, returnValue = "";
176
+ do {
177
+ let gotCR = string[index - 1] === "\r";
178
+ returnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? `\r
179
+ ` : `
180
+ `) + postfix, endIndex = index + 1, index = string.indexOf(`
181
+ `, endIndex);
182
+ } while (index !== -1);
183
+ return returnValue += string.slice(endIndex), returnValue;
184
+ }
185
+
186
+ // ../../node_modules/vitest-axe/node_modules/chalk/source/index.js
187
+ var { stdout: stdoutColor, stderr: stderrColor } = browser_default, GENERATOR = /* @__PURE__ */ Symbol("GENERATOR"), STYLER = /* @__PURE__ */ Symbol("STYLER"), IS_EMPTY = /* @__PURE__ */ Symbol("IS_EMPTY"), levelMapping = [
188
+ "ansi",
189
+ "ansi",
190
+ "ansi256",
191
+ "ansi16m"
192
+ ], styles2 = /* @__PURE__ */ Object.create(null), applyOptions = (object, options = {}) => {
193
+ if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3))
194
+ throw new Error("The `level` option should be an integer from 0 to 3");
195
+ let colorLevel = stdoutColor ? stdoutColor.level : 0;
196
+ object.level = options.level === void 0 ? colorLevel : options.level;
197
+ };
198
+ var chalkFactory = (options) => {
199
+ let chalk2 = (...strings) => strings.join(" ");
200
+ return applyOptions(chalk2, options), Object.setPrototypeOf(chalk2, createChalk.prototype), chalk2;
201
+ };
202
+ function createChalk(options) {
203
+ return chalkFactory(options);
204
+ }
205
+ Object.setPrototypeOf(createChalk.prototype, Function.prototype);
206
+ for (let [styleName, style] of Object.entries(ansi_styles_default))
207
+ styles2[styleName] = {
208
+ get() {
209
+ let builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);
210
+ return Object.defineProperty(this, styleName, { value: builder }), builder;
211
+ }
212
+ };
213
+ styles2.visible = {
214
+ get() {
215
+ let builder = createBuilder(this, this[STYLER], !0);
216
+ return Object.defineProperty(this, "visible", { value: builder }), builder;
217
+ }
218
+ };
219
+ var getModelAnsi = (model, level2, type, ...arguments_) => model === "rgb" ? level2 === "ansi16m" ? ansi_styles_default[type].ansi16m(...arguments_) : level2 === "ansi256" ? ansi_styles_default[type].ansi256(ansi_styles_default.rgbToAnsi256(...arguments_)) : ansi_styles_default[type].ansi(ansi_styles_default.rgbToAnsi(...arguments_)) : model === "hex" ? getModelAnsi("rgb", level2, type, ...ansi_styles_default.hexToRgb(...arguments_)) : ansi_styles_default[type][model](...arguments_), usedModels = ["rgb", "hex", "ansi256"];
220
+ for (let model of usedModels) {
221
+ styles2[model] = {
222
+ get() {
223
+ let { level: level2 } = this;
224
+ return function(...arguments_) {
225
+ let styler = createStyler(getModelAnsi(model, levelMapping[level2], "color", ...arguments_), ansi_styles_default.color.close, this[STYLER]);
226
+ return createBuilder(this, styler, this[IS_EMPTY]);
227
+ };
228
+ }
229
+ };
230
+ let bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
231
+ styles2[bgModel] = {
232
+ get() {
233
+ let { level: level2 } = this;
234
+ return function(...arguments_) {
235
+ let styler = createStyler(getModelAnsi(model, levelMapping[level2], "bgColor", ...arguments_), ansi_styles_default.bgColor.close, this[STYLER]);
236
+ return createBuilder(this, styler, this[IS_EMPTY]);
237
+ };
238
+ }
239
+ };
240
+ }
241
+ var proto = Object.defineProperties(() => {
242
+ }, {
243
+ ...styles2,
244
+ level: {
245
+ enumerable: !0,
246
+ get() {
247
+ return this[GENERATOR].level;
248
+ },
249
+ set(level2) {
250
+ this[GENERATOR].level = level2;
251
+ }
252
+ }
253
+ }), createStyler = (open, close, parent) => {
254
+ let openAll, closeAll;
255
+ return parent === void 0 ? (openAll = open, closeAll = close) : (openAll = parent.openAll + open, closeAll = close + parent.closeAll), {
256
+ open,
257
+ close,
258
+ openAll,
259
+ closeAll,
260
+ parent
261
+ };
262
+ }, createBuilder = (self, _styler, _isEmpty) => {
263
+ let builder = (...arguments_) => applyStyle(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" "));
264
+ return Object.setPrototypeOf(builder, proto), builder[GENERATOR] = self, builder[STYLER] = _styler, builder[IS_EMPTY] = _isEmpty, builder;
265
+ }, applyStyle = (self, string) => {
266
+ if (self.level <= 0 || !string)
267
+ return self[IS_EMPTY] ? "" : string;
268
+ let styler = self[STYLER];
269
+ if (styler === void 0)
270
+ return string;
271
+ let { openAll, closeAll } = styler;
272
+ if (string.includes("\x1B"))
273
+ for (; styler !== void 0; )
274
+ string = stringReplaceAll(string, styler.close, styler.open), styler = styler.parent;
275
+ let lfIndex = string.indexOf(`
276
+ `);
277
+ return lfIndex !== -1 && (string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex)), openAll + string + closeAll;
278
+ };
279
+ Object.defineProperties(createChalk.prototype, styles2);
280
+ var chalk = createChalk(), chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
281
+ var source_default = chalk;
282
+
283
+ // ../../node_modules/vitest-axe/dist/chunk-X4FZIUYL.js
284
+ var __create = Object.create, __defProp = Object.defineProperty, __getOwnPropDesc = Object.getOwnPropertyDescriptor, __getOwnPropNames = Object.getOwnPropertyNames, __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty, __commonJS = (cb, mod) => function() {
285
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
286
+ }, __copyProps = (to, from, except, desc) => {
287
+ if (from && typeof from == "object" || typeof from == "function")
288
+ for (let key of __getOwnPropNames(from))
289
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
290
+ return to;
291
+ }, __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target, mod)), require_ansi_styles = __commonJS({
292
+ "node_modules/pretty-format/node_modules/ansi-styles/index.js"(exports, module) {
293
+ "use strict";
294
+ var ANSI_BACKGROUND_OFFSET = 10, wrapAnsi2562 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`, wrapAnsi16m2 = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`;
295
+ function assembleStyles2() {
296
+ let codes = /* @__PURE__ */ new Map(), styles3 = {
297
+ modifier: {
298
+ reset: [0, 0],
299
+ bold: [1, 22],
300
+ dim: [2, 22],
301
+ italic: [3, 23],
302
+ underline: [4, 24],
303
+ overline: [53, 55],
304
+ inverse: [7, 27],
305
+ hidden: [8, 28],
306
+ strikethrough: [9, 29]
307
+ },
308
+ color: {
309
+ black: [30, 39],
310
+ red: [31, 39],
311
+ green: [32, 39],
312
+ yellow: [33, 39],
313
+ blue: [34, 39],
314
+ magenta: [35, 39],
315
+ cyan: [36, 39],
316
+ white: [37, 39],
317
+ blackBright: [90, 39],
318
+ redBright: [91, 39],
319
+ greenBright: [92, 39],
320
+ yellowBright: [93, 39],
321
+ blueBright: [94, 39],
322
+ magentaBright: [95, 39],
323
+ cyanBright: [96, 39],
324
+ whiteBright: [97, 39]
325
+ },
326
+ bgColor: {
327
+ bgBlack: [40, 49],
328
+ bgRed: [41, 49],
329
+ bgGreen: [42, 49],
330
+ bgYellow: [43, 49],
331
+ bgBlue: [44, 49],
332
+ bgMagenta: [45, 49],
333
+ bgCyan: [46, 49],
334
+ bgWhite: [47, 49],
335
+ bgBlackBright: [100, 49],
336
+ bgRedBright: [101, 49],
337
+ bgGreenBright: [102, 49],
338
+ bgYellowBright: [103, 49],
339
+ bgBlueBright: [104, 49],
340
+ bgMagentaBright: [105, 49],
341
+ bgCyanBright: [106, 49],
342
+ bgWhiteBright: [107, 49]
343
+ }
344
+ };
345
+ styles3.color.gray = styles3.color.blackBright, styles3.bgColor.bgGray = styles3.bgColor.bgBlackBright, styles3.color.grey = styles3.color.blackBright, styles3.bgColor.bgGrey = styles3.bgColor.bgBlackBright;
346
+ for (let [groupName, group] of Object.entries(styles3)) {
347
+ for (let [styleName, style] of Object.entries(group))
348
+ styles3[styleName] = {
349
+ open: `\x1B[${style[0]}m`,
350
+ close: `\x1B[${style[1]}m`
351
+ }, group[styleName] = styles3[styleName], codes.set(style[0], style[1]);
352
+ Object.defineProperty(styles3, groupName, {
353
+ value: group,
354
+ enumerable: !1
355
+ });
356
+ }
357
+ return Object.defineProperty(styles3, "codes", {
358
+ value: codes,
359
+ enumerable: !1
360
+ }), styles3.color.close = "\x1B[39m", styles3.bgColor.close = "\x1B[49m", styles3.color.ansi256 = wrapAnsi2562(), styles3.color.ansi16m = wrapAnsi16m2(), styles3.bgColor.ansi256 = wrapAnsi2562(ANSI_BACKGROUND_OFFSET), styles3.bgColor.ansi16m = wrapAnsi16m2(ANSI_BACKGROUND_OFFSET), Object.defineProperties(styles3, {
361
+ rgbToAnsi256: {
362
+ value: (red, green, blue) => red === green && green === blue ? red < 8 ? 16 : red > 248 ? 231 : Math.round((red - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5),
363
+ enumerable: !1
364
+ },
365
+ hexToRgb: {
366
+ value: (hex) => {
367
+ let matches = /(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(hex.toString(16));
368
+ if (!matches)
369
+ return [0, 0, 0];
370
+ let { colorString } = matches.groups;
371
+ colorString.length === 3 && (colorString = colorString.split("").map((character) => character + character).join(""));
372
+ let integer = Number.parseInt(colorString, 16);
373
+ return [
374
+ integer >> 16 & 255,
375
+ integer >> 8 & 255,
376
+ integer & 255
377
+ ];
378
+ },
379
+ enumerable: !1
380
+ },
381
+ hexToAnsi256: {
382
+ value: (hex) => styles3.rgbToAnsi256(...styles3.hexToRgb(hex)),
383
+ enumerable: !1
384
+ }
385
+ }), styles3;
386
+ }
387
+ Object.defineProperty(module, "exports", {
388
+ enumerable: !0,
389
+ get: assembleStyles2
390
+ });
391
+ }
392
+ }), require_collections = __commonJS({
393
+ "node_modules/pretty-format/build/collections.js"(exports) {
394
+ "use strict";
395
+ Object.defineProperty(exports, "__esModule", {
396
+ value: !0
397
+ }), exports.printIteratorEntries = printIteratorEntries, exports.printIteratorValues = printIteratorValues, exports.printListItems = printListItems, exports.printObjectProperties = printObjectProperties;
398
+ var getKeysOfEnumerableProperties = (object, compareKeys) => {
399
+ let keys = Object.keys(object).sort(compareKeys);
400
+ return Object.getOwnPropertySymbols && Object.getOwnPropertySymbols(object).forEach((symbol) => {
401
+ Object.getOwnPropertyDescriptor(object, symbol).enumerable && keys.push(symbol);
402
+ }), keys;
403
+ };
404
+ function printIteratorEntries(iterator, config, indentation, depth, refs, printer, separator = ": ") {
405
+ let result = "", width = 0, current = iterator.next();
406
+ if (!current.done) {
407
+ result += config.spacingOuter;
408
+ let indentationNext = indentation + config.indent;
409
+ for (; !current.done; ) {
410
+ if (result += indentationNext, width++ === config.maxWidth) {
411
+ result += "\u2026";
412
+ break;
413
+ }
414
+ let name = printer(current.value[0], config, indentationNext, depth, refs), value = printer(current.value[1], config, indentationNext, depth, refs);
415
+ result += name + separator + value, current = iterator.next(), current.done ? config.min || (result += ",") : result += `,${config.spacingInner}`;
416
+ }
417
+ result += config.spacingOuter + indentation;
418
+ }
419
+ return result;
420
+ }
421
+ function printIteratorValues(iterator, config, indentation, depth, refs, printer) {
422
+ let result = "", width = 0, current = iterator.next();
423
+ if (!current.done) {
424
+ result += config.spacingOuter;
425
+ let indentationNext = indentation + config.indent;
426
+ for (; !current.done; ) {
427
+ if (result += indentationNext, width++ === config.maxWidth) {
428
+ result += "\u2026";
429
+ break;
430
+ }
431
+ result += printer(current.value, config, indentationNext, depth, refs), current = iterator.next(), current.done ? config.min || (result += ",") : result += `,${config.spacingInner}`;
432
+ }
433
+ result += config.spacingOuter + indentation;
434
+ }
435
+ return result;
436
+ }
437
+ function printListItems(list, config, indentation, depth, refs, printer) {
438
+ let result = "";
439
+ if (list.length) {
440
+ result += config.spacingOuter;
441
+ let indentationNext = indentation + config.indent;
442
+ for (let i = 0; i < list.length; i++) {
443
+ if (result += indentationNext, i === config.maxWidth) {
444
+ result += "\u2026";
445
+ break;
446
+ }
447
+ i in list && (result += printer(list[i], config, indentationNext, depth, refs)), i < list.length - 1 ? result += `,${config.spacingInner}` : config.min || (result += ",");
448
+ }
449
+ result += config.spacingOuter + indentation;
450
+ }
451
+ return result;
452
+ }
453
+ function printObjectProperties(val, config, indentation, depth, refs, printer) {
454
+ let result = "", keys = getKeysOfEnumerableProperties(val, config.compareKeys);
455
+ if (keys.length) {
456
+ result += config.spacingOuter;
457
+ let indentationNext = indentation + config.indent;
458
+ for (let i = 0; i < keys.length; i++) {
459
+ let key = keys[i], name = printer(key, config, indentationNext, depth, refs), value = printer(val[key], config, indentationNext, depth, refs);
460
+ result += `${indentationNext + name}: ${value}`, i < keys.length - 1 ? result += `,${config.spacingInner}` : config.min || (result += ",");
461
+ }
462
+ result += config.spacingOuter + indentation;
463
+ }
464
+ return result;
465
+ }
466
+ }
467
+ }), require_AsymmetricMatcher = __commonJS({
468
+ "node_modules/pretty-format/build/plugins/AsymmetricMatcher.js"(exports) {
469
+ "use strict";
470
+ Object.defineProperty(exports, "__esModule", {
471
+ value: !0
472
+ }), exports.test = exports.serialize = exports.default = void 0;
473
+ var _collections = require_collections(), Symbol2 = globalThis["jest-symbol-do-not-touch"] || globalThis.Symbol, asymmetricMatcher = typeof Symbol2 == "function" && Symbol2.for ? Symbol2.for("jest.asymmetricMatcher") : 1267621, SPACE = " ", serialize = (val, config, indentation, depth, refs, printer) => {
474
+ let stringedValue = val.toString();
475
+ if (stringedValue === "ArrayContaining" || stringedValue === "ArrayNotContaining")
476
+ return ++depth > config.maxDepth ? `[${stringedValue}]` : `${stringedValue + SPACE}[${(0, _collections.printListItems)(val.sample, config, indentation, depth, refs, printer)}]`;
477
+ if (stringedValue === "ObjectContaining" || stringedValue === "ObjectNotContaining")
478
+ return ++depth > config.maxDepth ? `[${stringedValue}]` : `${stringedValue + SPACE}{${(0, _collections.printObjectProperties)(val.sample, config, indentation, depth, refs, printer)}}`;
479
+ if (stringedValue === "StringMatching" || stringedValue === "StringNotMatching" || stringedValue === "StringContaining" || stringedValue === "StringNotContaining")
480
+ return stringedValue + SPACE + printer(val.sample, config, indentation, depth, refs);
481
+ if (typeof val.toAsymmetricMatcher != "function")
482
+ throw new Error(`Asymmetric matcher ${val.constructor.name} does not implement toAsymmetricMatcher()`);
483
+ return val.toAsymmetricMatcher();
484
+ };
485
+ exports.serialize = serialize;
486
+ var test = (val) => val && val.$$typeof === asymmetricMatcher;
487
+ exports.test = test;
488
+ var plugin = {
489
+ serialize,
490
+ test
491
+ }, _default = plugin;
492
+ exports.default = _default;
493
+ }
494
+ }), require_ansi_regex = __commonJS({
495
+ "node_modules/ansi-regex/index.js"(exports, module) {
496
+ "use strict";
497
+ module.exports = ({ onlyFirst = !1 } = {}) => {
498
+ let pattern = [
499
+ "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
500
+ "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"
501
+ ].join("|");
502
+ return new RegExp(pattern, onlyFirst ? void 0 : "g");
503
+ };
504
+ }
505
+ }), require_ConvertAnsi = __commonJS({
506
+ "node_modules/pretty-format/build/plugins/ConvertAnsi.js"(exports) {
507
+ "use strict";
508
+ Object.defineProperty(exports, "__esModule", {
509
+ value: !0
510
+ }), exports.test = exports.serialize = exports.default = void 0;
511
+ var _ansiRegex = _interopRequireDefault(require_ansi_regex()), _ansiStyles = _interopRequireDefault(require_ansi_styles());
512
+ function _interopRequireDefault(obj) {
513
+ return obj && obj.__esModule ? obj : { default: obj };
514
+ }
515
+ var toHumanReadableAnsi = (text) => text.replace((0, _ansiRegex.default)(), (match) => {
516
+ switch (match) {
517
+ case _ansiStyles.default.red.close:
518
+ case _ansiStyles.default.green.close:
519
+ case _ansiStyles.default.cyan.close:
520
+ case _ansiStyles.default.gray.close:
521
+ case _ansiStyles.default.white.close:
522
+ case _ansiStyles.default.yellow.close:
523
+ case _ansiStyles.default.bgRed.close:
524
+ case _ansiStyles.default.bgGreen.close:
525
+ case _ansiStyles.default.bgYellow.close:
526
+ case _ansiStyles.default.inverse.close:
527
+ case _ansiStyles.default.dim.close:
528
+ case _ansiStyles.default.bold.close:
529
+ case _ansiStyles.default.reset.open:
530
+ case _ansiStyles.default.reset.close:
531
+ return "</>";
532
+ case _ansiStyles.default.red.open:
533
+ return "<red>";
534
+ case _ansiStyles.default.green.open:
535
+ return "<green>";
536
+ case _ansiStyles.default.cyan.open:
537
+ return "<cyan>";
538
+ case _ansiStyles.default.gray.open:
539
+ return "<gray>";
540
+ case _ansiStyles.default.white.open:
541
+ return "<white>";
542
+ case _ansiStyles.default.yellow.open:
543
+ return "<yellow>";
544
+ case _ansiStyles.default.bgRed.open:
545
+ return "<bgRed>";
546
+ case _ansiStyles.default.bgGreen.open:
547
+ return "<bgGreen>";
548
+ case _ansiStyles.default.bgYellow.open:
549
+ return "<bgYellow>";
550
+ case _ansiStyles.default.inverse.open:
551
+ return "<inverse>";
552
+ case _ansiStyles.default.dim.open:
553
+ return "<dim>";
554
+ case _ansiStyles.default.bold.open:
555
+ return "<bold>";
556
+ default:
557
+ return "";
558
+ }
559
+ }), test = (val) => typeof val == "string" && !!val.match((0, _ansiRegex.default)());
560
+ exports.test = test;
561
+ var serialize = (val, config, indentation, depth, refs, printer) => printer(toHumanReadableAnsi(val), config, indentation, depth, refs);
562
+ exports.serialize = serialize;
563
+ var plugin = {
564
+ serialize,
565
+ test
566
+ }, _default = plugin;
567
+ exports.default = _default;
568
+ }
569
+ }), require_DOMCollection = __commonJS({
570
+ "node_modules/pretty-format/build/plugins/DOMCollection.js"(exports) {
571
+ "use strict";
572
+ Object.defineProperty(exports, "__esModule", {
573
+ value: !0
574
+ }), exports.test = exports.serialize = exports.default = void 0;
575
+ var _collections = require_collections(), SPACE = " ", OBJECT_NAMES = ["DOMStringMap", "NamedNodeMap"], ARRAY_REGEXP = /^(HTML\w*Collection|NodeList)$/, testName = (name) => OBJECT_NAMES.indexOf(name) !== -1 || ARRAY_REGEXP.test(name), test = (val) => val && val.constructor && !!val.constructor.name && testName(val.constructor.name);
576
+ exports.test = test;
577
+ var isNamedNodeMap = (collection) => collection.constructor.name === "NamedNodeMap", serialize = (collection, config, indentation, depth, refs, printer) => {
578
+ let name = collection.constructor.name;
579
+ return ++depth > config.maxDepth ? `[${name}]` : (config.min ? "" : name + SPACE) + (OBJECT_NAMES.indexOf(name) !== -1 ? `{${(0, _collections.printObjectProperties)(isNamedNodeMap(collection) ? Array.from(collection).reduce((props, attribute) => (props[attribute.name] = attribute.value, props), {}) : { ...collection }, config, indentation, depth, refs, printer)}}` : `[${(0, _collections.printListItems)(Array.from(collection), config, indentation, depth, refs, printer)}]`);
580
+ };
581
+ exports.serialize = serialize;
582
+ var plugin = {
583
+ serialize,
584
+ test
585
+ }, _default = plugin;
586
+ exports.default = _default;
587
+ }
588
+ }), require_escapeHTML = __commonJS({
589
+ "node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(exports) {
590
+ "use strict";
591
+ Object.defineProperty(exports, "__esModule", {
592
+ value: !0
593
+ }), exports.default = escapeHTML;
594
+ function escapeHTML(str) {
595
+ return str.replace(/</g, "&lt;").replace(/>/g, "&gt;");
596
+ }
597
+ }
598
+ }), require_markup = __commonJS({
599
+ "node_modules/pretty-format/build/plugins/lib/markup.js"(exports) {
600
+ "use strict";
601
+ Object.defineProperty(exports, "__esModule", {
602
+ value: !0
603
+ }), exports.printText = exports.printProps = exports.printElementAsLeaf = exports.printElement = exports.printComment = exports.printChildren = void 0;
604
+ var _escapeHTML = _interopRequireDefault(require_escapeHTML());
605
+ function _interopRequireDefault(obj) {
606
+ return obj && obj.__esModule ? obj : { default: obj };
607
+ }
608
+ var printProps = (keys, props, config, indentation, depth, refs, printer) => {
609
+ let indentationNext = indentation + config.indent, colors = config.colors;
610
+ return keys.map((key) => {
611
+ let value = props[key], printed = printer(value, config, indentationNext, depth, refs);
612
+ return typeof value != "string" && (printed.indexOf(`
613
+ `) !== -1 && (printed = config.spacingOuter + indentationNext + printed + config.spacingOuter + indentation), printed = `{${printed}}`), `${config.spacingInner + indentation + colors.prop.open + key + colors.prop.close}=${colors.value.open}${printed}${colors.value.close}`;
614
+ }).join("");
615
+ };
616
+ exports.printProps = printProps;
617
+ var printChildren = (children, config, indentation, depth, refs, printer) => children.map((child) => config.spacingOuter + indentation + (typeof child == "string" ? printText(child, config) : printer(child, config, indentation, depth, refs))).join("");
618
+ exports.printChildren = printChildren;
619
+ var printText = (text, config) => {
620
+ let contentColor = config.colors.content;
621
+ return contentColor.open + (0, _escapeHTML.default)(text) + contentColor.close;
622
+ };
623
+ exports.printText = printText;
624
+ var printComment = (comment, config) => {
625
+ let commentColor = config.colors.comment;
626
+ return `${commentColor.open}<!--${(0, _escapeHTML.default)(comment)}-->${commentColor.close}`;
627
+ };
628
+ exports.printComment = printComment;
629
+ var printElement = (type, printedProps, printedChildren, config, indentation) => {
630
+ let tagColor = config.colors.tag;
631
+ return `${tagColor.open}<${type}${printedProps && tagColor.close + printedProps + config.spacingOuter + indentation + tagColor.open}${printedChildren ? `>${tagColor.close}${printedChildren}${config.spacingOuter}${indentation}${tagColor.open}</${type}` : `${printedProps && !config.min ? "" : " "}/`}>${tagColor.close}`;
632
+ };
633
+ exports.printElement = printElement;
634
+ var printElementAsLeaf = (type, config) => {
635
+ let tagColor = config.colors.tag;
636
+ return `${tagColor.open}<${type}${tagColor.close} \u2026${tagColor.open} />${tagColor.close}`;
637
+ };
638
+ exports.printElementAsLeaf = printElementAsLeaf;
639
+ }
640
+ }), require_DOMElement = __commonJS({
641
+ "node_modules/pretty-format/build/plugins/DOMElement.js"(exports) {
642
+ "use strict";
643
+ Object.defineProperty(exports, "__esModule", {
644
+ value: !0
645
+ }), exports.test = exports.serialize = exports.default = void 0;
646
+ var _markup = require_markup(), ELEMENT_NODE = 1, TEXT_NODE = 3, COMMENT_NODE = 8, FRAGMENT_NODE = 11, ELEMENT_REGEXP = /^((HTML|SVG)\w*)?Element$/, testHasAttribute = (val) => {
647
+ try {
648
+ return typeof val.hasAttribute == "function" && val.hasAttribute("is");
649
+ } catch {
650
+ return !1;
651
+ }
652
+ }, testNode = (val) => {
653
+ let constructorName = val.constructor.name, { nodeType, tagName } = val, isCustomElement = typeof tagName == "string" && tagName.includes("-") || testHasAttribute(val);
654
+ return nodeType === ELEMENT_NODE && (ELEMENT_REGEXP.test(constructorName) || isCustomElement) || nodeType === TEXT_NODE && constructorName === "Text" || nodeType === COMMENT_NODE && constructorName === "Comment" || nodeType === FRAGMENT_NODE && constructorName === "DocumentFragment";
655
+ }, test = (val) => {
656
+ var _val$constructor;
657
+ return (val == null || (_val$constructor = val.constructor) === null || _val$constructor === void 0 ? void 0 : _val$constructor.name) && testNode(val);
658
+ };
659
+ exports.test = test;
660
+ function nodeIsText(node) {
661
+ return node.nodeType === TEXT_NODE;
662
+ }
663
+ function nodeIsComment(node) {
664
+ return node.nodeType === COMMENT_NODE;
665
+ }
666
+ function nodeIsFragment(node) {
667
+ return node.nodeType === FRAGMENT_NODE;
668
+ }
669
+ var serialize = (node, config, indentation, depth, refs, printer) => {
670
+ if (nodeIsText(node))
671
+ return (0, _markup.printText)(node.data, config);
672
+ if (nodeIsComment(node))
673
+ return (0, _markup.printComment)(node.data, config);
674
+ let type = nodeIsFragment(node) ? "DocumentFragment" : node.tagName.toLowerCase();
675
+ return ++depth > config.maxDepth ? (0, _markup.printElementAsLeaf)(type, config) : (0, _markup.printElement)(type, (0, _markup.printProps)(nodeIsFragment(node) ? [] : Array.from(node.attributes).map((attr) => attr.name).sort(), nodeIsFragment(node) ? {} : Array.from(node.attributes).reduce((props, attribute) => (props[attribute.name] = attribute.value, props), {}), config, indentation + config.indent, depth, refs, printer), (0, _markup.printChildren)(Array.prototype.slice.call(node.childNodes || node.children), config, indentation + config.indent, depth, refs, printer), config, indentation);
676
+ };
677
+ exports.serialize = serialize;
678
+ var plugin = {
679
+ serialize,
680
+ test
681
+ }, _default = plugin;
682
+ exports.default = _default;
683
+ }
684
+ }), require_Immutable = __commonJS({
685
+ "node_modules/pretty-format/build/plugins/Immutable.js"(exports) {
686
+ "use strict";
687
+ Object.defineProperty(exports, "__esModule", {
688
+ value: !0
689
+ }), exports.test = exports.serialize = exports.default = void 0;
690
+ var _collections = require_collections(), IS_ITERABLE_SENTINEL = "@@__IMMUTABLE_ITERABLE__@@", IS_LIST_SENTINEL = "@@__IMMUTABLE_LIST__@@", IS_KEYED_SENTINEL = "@@__IMMUTABLE_KEYED__@@", IS_MAP_SENTINEL = "@@__IMMUTABLE_MAP__@@", IS_ORDERED_SENTINEL = "@@__IMMUTABLE_ORDERED__@@", IS_RECORD_SENTINEL = "@@__IMMUTABLE_RECORD__@@", IS_SEQ_SENTINEL = "@@__IMMUTABLE_SEQ__@@", IS_SET_SENTINEL = "@@__IMMUTABLE_SET__@@", IS_STACK_SENTINEL = "@@__IMMUTABLE_STACK__@@", getImmutableName = (name) => `Immutable.${name}`, printAsLeaf = (name) => `[${name}]`, SPACE = " ", LAZY = "\u2026", printImmutableEntries = (val, config, indentation, depth, refs, printer, type) => ++depth > config.maxDepth ? printAsLeaf(getImmutableName(type)) : `${getImmutableName(type) + SPACE}{${(0, _collections.printIteratorEntries)(val.entries(), config, indentation, depth, refs, printer)}}`;
691
+ function getRecordEntries(val) {
692
+ let i = 0;
693
+ return {
694
+ next() {
695
+ if (i < val._keys.length) {
696
+ let key = val._keys[i++];
697
+ return {
698
+ done: !1,
699
+ value: [key, val.get(key)]
700
+ };
701
+ }
702
+ return {
703
+ done: !0,
704
+ value: void 0
705
+ };
706
+ }
707
+ };
708
+ }
709
+ var printImmutableRecord = (val, config, indentation, depth, refs, printer) => {
710
+ let name = getImmutableName(val._name || "Record");
711
+ return ++depth > config.maxDepth ? printAsLeaf(name) : `${name + SPACE}{${(0, _collections.printIteratorEntries)(getRecordEntries(val), config, indentation, depth, refs, printer)}}`;
712
+ }, printImmutableSeq = (val, config, indentation, depth, refs, printer) => {
713
+ let name = getImmutableName("Seq");
714
+ return ++depth > config.maxDepth ? printAsLeaf(name) : val[IS_KEYED_SENTINEL] ? `${name + SPACE}{${val._iter || val._object ? (0, _collections.printIteratorEntries)(val.entries(), config, indentation, depth, refs, printer) : LAZY}}` : `${name + SPACE}[${val._iter || val._array || val._collection || val._iterable ? (0, _collections.printIteratorValues)(val.values(), config, indentation, depth, refs, printer) : LAZY}]`;
715
+ }, printImmutableValues = (val, config, indentation, depth, refs, printer, type) => ++depth > config.maxDepth ? printAsLeaf(getImmutableName(type)) : `${getImmutableName(type) + SPACE}[${(0, _collections.printIteratorValues)(val.values(), config, indentation, depth, refs, printer)}]`, serialize = (val, config, indentation, depth, refs, printer) => val[IS_MAP_SENTINEL] ? printImmutableEntries(val, config, indentation, depth, refs, printer, val[IS_ORDERED_SENTINEL] ? "OrderedMap" : "Map") : val[IS_LIST_SENTINEL] ? printImmutableValues(val, config, indentation, depth, refs, printer, "List") : val[IS_SET_SENTINEL] ? printImmutableValues(val, config, indentation, depth, refs, printer, val[IS_ORDERED_SENTINEL] ? "OrderedSet" : "Set") : val[IS_STACK_SENTINEL] ? printImmutableValues(val, config, indentation, depth, refs, printer, "Stack") : val[IS_SEQ_SENTINEL] ? printImmutableSeq(val, config, indentation, depth, refs, printer) : printImmutableRecord(val, config, indentation, depth, refs, printer);
716
+ exports.serialize = serialize;
717
+ var test = (val) => val && (val[IS_ITERABLE_SENTINEL] === !0 || val[IS_RECORD_SENTINEL] === !0);
718
+ exports.test = test;
719
+ var plugin = {
720
+ serialize,
721
+ test
722
+ }, _default = plugin;
723
+ exports.default = _default;
724
+ }
725
+ }), require_react_is_production_min = __commonJS({
726
+ "node_modules/react-is/cjs/react-is.production.min.js"(exports) {
727
+ "use strict";
728
+ var b = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.portal"), d = /* @__PURE__ */ Symbol.for("react.fragment"), e = /* @__PURE__ */ Symbol.for("react.strict_mode"), f = /* @__PURE__ */ Symbol.for("react.profiler"), g = /* @__PURE__ */ Symbol.for("react.provider"), h = /* @__PURE__ */ Symbol.for("react.context"), k = /* @__PURE__ */ Symbol.for("react.server_context"), l = /* @__PURE__ */ Symbol.for("react.forward_ref"), m = /* @__PURE__ */ Symbol.for("react.suspense"), n = /* @__PURE__ */ Symbol.for("react.suspense_list"), p = /* @__PURE__ */ Symbol.for("react.memo"), q = /* @__PURE__ */ Symbol.for("react.lazy"), t = /* @__PURE__ */ Symbol.for("react.offscreen"), u;
729
+ u = /* @__PURE__ */ Symbol.for("react.module.reference");
730
+ function v(a) {
731
+ if (typeof a == "object" && a !== null) {
732
+ var r = a.$$typeof;
733
+ switch (r) {
734
+ case b:
735
+ switch (a = a.type, a) {
736
+ case d:
737
+ case f:
738
+ case e:
739
+ case m:
740
+ case n:
741
+ return a;
742
+ default:
743
+ switch (a = a && a.$$typeof, a) {
744
+ case k:
745
+ case h:
746
+ case l:
747
+ case q:
748
+ case p:
749
+ case g:
750
+ return a;
751
+ default:
752
+ return r;
753
+ }
754
+ }
755
+ case c:
756
+ return r;
757
+ }
758
+ }
759
+ }
760
+ exports.ContextConsumer = h, exports.ContextProvider = g, exports.Element = b, exports.ForwardRef = l, exports.Fragment = d, exports.Lazy = q, exports.Memo = p, exports.Portal = c, exports.Profiler = f, exports.StrictMode = e, exports.Suspense = m, exports.SuspenseList = n, exports.isAsyncMode = function() {
761
+ return !1;
762
+ }, exports.isConcurrentMode = function() {
763
+ return !1;
764
+ }, exports.isContextConsumer = function(a) {
765
+ return v(a) === h;
766
+ }, exports.isContextProvider = function(a) {
767
+ return v(a) === g;
768
+ }, exports.isElement = function(a) {
769
+ return typeof a == "object" && a !== null && a.$$typeof === b;
770
+ }, exports.isForwardRef = function(a) {
771
+ return v(a) === l;
772
+ }, exports.isFragment = function(a) {
773
+ return v(a) === d;
774
+ }, exports.isLazy = function(a) {
775
+ return v(a) === q;
776
+ }, exports.isMemo = function(a) {
777
+ return v(a) === p;
778
+ }, exports.isPortal = function(a) {
779
+ return v(a) === c;
780
+ }, exports.isProfiler = function(a) {
781
+ return v(a) === f;
782
+ }, exports.isStrictMode = function(a) {
783
+ return v(a) === e;
784
+ }, exports.isSuspense = function(a) {
785
+ return v(a) === m;
786
+ }, exports.isSuspenseList = function(a) {
787
+ return v(a) === n;
788
+ }, exports.isValidElementType = function(a) {
789
+ return typeof a == "string" || typeof a == "function" || a === d || a === f || a === e || a === m || a === n || a === t || typeof a == "object" && a !== null && (a.$$typeof === q || a.$$typeof === p || a.$$typeof === g || a.$$typeof === h || a.$$typeof === l || a.$$typeof === u || a.getModuleId !== void 0);
790
+ }, exports.typeOf = v;
791
+ }
792
+ }), require_react_is_development = __commonJS({
793
+ "node_modules/react-is/cjs/react-is.development.js"(exports) {
794
+ "use strict";
795
+ process.env.NODE_ENV !== "production" && (function() {
796
+ "use strict";
797
+ var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_PROVIDER_TYPE = /* @__PURE__ */ Symbol.for("react.provider"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_SERVER_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.server_context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_OFFSCREEN_TYPE = /* @__PURE__ */ Symbol.for("react.offscreen"), enableScopeAPI = !1, enableCacheElement = !1, enableTransitionTracing = !1, enableLegacyHidden = !1, enableDebugTracing = !1, REACT_MODULE_REFERENCE;
798
+ REACT_MODULE_REFERENCE = /* @__PURE__ */ Symbol.for("react.module.reference");
799
+ function isValidElementType(type) {
800
+ return !!(typeof type == "string" || typeof type == "function" || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing || typeof type == "object" && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0));
801
+ }
802
+ function typeOf(object) {
803
+ if (typeof object == "object" && object !== null) {
804
+ var $$typeof = object.$$typeof;
805
+ switch ($$typeof) {
806
+ case REACT_ELEMENT_TYPE:
807
+ var type = object.type;
808
+ switch (type) {
809
+ case REACT_FRAGMENT_TYPE:
810
+ case REACT_PROFILER_TYPE:
811
+ case REACT_STRICT_MODE_TYPE:
812
+ case REACT_SUSPENSE_TYPE:
813
+ case REACT_SUSPENSE_LIST_TYPE:
814
+ return type;
815
+ default:
816
+ var $$typeofType = type && type.$$typeof;
817
+ switch ($$typeofType) {
818
+ case REACT_SERVER_CONTEXT_TYPE:
819
+ case REACT_CONTEXT_TYPE:
820
+ case REACT_FORWARD_REF_TYPE:
821
+ case REACT_LAZY_TYPE:
822
+ case REACT_MEMO_TYPE:
823
+ case REACT_PROVIDER_TYPE:
824
+ return $$typeofType;
825
+ default:
826
+ return $$typeof;
827
+ }
828
+ }
829
+ case REACT_PORTAL_TYPE:
830
+ return $$typeof;
831
+ }
832
+ }
833
+ }
834
+ var ContextConsumer = REACT_CONTEXT_TYPE, ContextProvider = REACT_PROVIDER_TYPE, Element = REACT_ELEMENT_TYPE, ForwardRef = REACT_FORWARD_REF_TYPE, Fragment = REACT_FRAGMENT_TYPE, Lazy = REACT_LAZY_TYPE, Memo = REACT_MEMO_TYPE, Portal = REACT_PORTAL_TYPE, Profiler = REACT_PROFILER_TYPE, StrictMode = REACT_STRICT_MODE_TYPE, Suspense = REACT_SUSPENSE_TYPE, SuspenseList = REACT_SUSPENSE_LIST_TYPE, hasWarnedAboutDeprecatedIsAsyncMode = !1, hasWarnedAboutDeprecatedIsConcurrentMode = !1;
835
+ function isAsyncMode(object) {
836
+ return hasWarnedAboutDeprecatedIsAsyncMode || (hasWarnedAboutDeprecatedIsAsyncMode = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
837
+ }
838
+ function isConcurrentMode(object) {
839
+ return hasWarnedAboutDeprecatedIsConcurrentMode || (hasWarnedAboutDeprecatedIsConcurrentMode = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
840
+ }
841
+ function isContextConsumer(object) {
842
+ return typeOf(object) === REACT_CONTEXT_TYPE;
843
+ }
844
+ function isContextProvider(object) {
845
+ return typeOf(object) === REACT_PROVIDER_TYPE;
846
+ }
847
+ function isElement(object) {
848
+ return typeof object == "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
849
+ }
850
+ function isForwardRef(object) {
851
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
852
+ }
853
+ function isFragment(object) {
854
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
855
+ }
856
+ function isLazy(object) {
857
+ return typeOf(object) === REACT_LAZY_TYPE;
858
+ }
859
+ function isMemo(object) {
860
+ return typeOf(object) === REACT_MEMO_TYPE;
861
+ }
862
+ function isPortal(object) {
863
+ return typeOf(object) === REACT_PORTAL_TYPE;
864
+ }
865
+ function isProfiler(object) {
866
+ return typeOf(object) === REACT_PROFILER_TYPE;
867
+ }
868
+ function isStrictMode(object) {
869
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
870
+ }
871
+ function isSuspense(object) {
872
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
873
+ }
874
+ function isSuspenseList(object) {
875
+ return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
876
+ }
877
+ exports.ContextConsumer = ContextConsumer, exports.ContextProvider = ContextProvider, exports.Element = Element, exports.ForwardRef = ForwardRef, exports.Fragment = Fragment, exports.Lazy = Lazy, exports.Memo = Memo, exports.Portal = Portal, exports.Profiler = Profiler, exports.StrictMode = StrictMode, exports.Suspense = Suspense, exports.SuspenseList = SuspenseList, exports.isAsyncMode = isAsyncMode, exports.isConcurrentMode = isConcurrentMode, exports.isContextConsumer = isContextConsumer, exports.isContextProvider = isContextProvider, exports.isElement = isElement, exports.isForwardRef = isForwardRef, exports.isFragment = isFragment, exports.isLazy = isLazy, exports.isMemo = isMemo, exports.isPortal = isPortal, exports.isProfiler = isProfiler, exports.isStrictMode = isStrictMode, exports.isSuspense = isSuspense, exports.isSuspenseList = isSuspenseList, exports.isValidElementType = isValidElementType, exports.typeOf = typeOf;
878
+ })();
879
+ }
880
+ }), require_react_is = __commonJS({
881
+ "node_modules/react-is/index.js"(exports, module) {
882
+ "use strict";
883
+ process.env.NODE_ENV === "production" ? module.exports = require_react_is_production_min() : module.exports = require_react_is_development();
884
+ }
885
+ }), require_ReactElement = __commonJS({
886
+ "node_modules/pretty-format/build/plugins/ReactElement.js"(exports) {
887
+ "use strict";
888
+ Object.defineProperty(exports, "__esModule", {
889
+ value: !0
890
+ }), exports.test = exports.serialize = exports.default = void 0;
891
+ var ReactIs = _interopRequireWildcard(require_react_is()), _markup = require_markup();
892
+ function _getRequireWildcardCache(nodeInterop) {
893
+ if (typeof WeakMap != "function")
894
+ return null;
895
+ var cacheBabelInterop = /* @__PURE__ */ new WeakMap(), cacheNodeInterop = /* @__PURE__ */ new WeakMap();
896
+ return (_getRequireWildcardCache = function(nodeInterop2) {
897
+ return nodeInterop2 ? cacheNodeInterop : cacheBabelInterop;
898
+ })(nodeInterop);
899
+ }
900
+ function _interopRequireWildcard(obj, nodeInterop) {
901
+ if (!nodeInterop && obj && obj.__esModule)
902
+ return obj;
903
+ if (obj === null || typeof obj != "object" && typeof obj != "function")
904
+ return { default: obj };
905
+ var cache = _getRequireWildcardCache(nodeInterop);
906
+ if (cache && cache.has(obj))
907
+ return cache.get(obj);
908
+ var newObj = {}, hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
909
+ for (var key in obj)
910
+ if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
911
+ var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
912
+ desc && (desc.get || desc.set) ? Object.defineProperty(newObj, key, desc) : newObj[key] = obj[key];
913
+ }
914
+ return newObj.default = obj, cache && cache.set(obj, newObj), newObj;
915
+ }
916
+ var getChildren = (arg, children = []) => (Array.isArray(arg) ? arg.forEach((item) => {
917
+ getChildren(item, children);
918
+ }) : arg != null && arg !== !1 && children.push(arg), children), getType = (element) => {
919
+ let type = element.type;
920
+ if (typeof type == "string")
921
+ return type;
922
+ if (typeof type == "function")
923
+ return type.displayName || type.name || "Unknown";
924
+ if (ReactIs.isFragment(element))
925
+ return "React.Fragment";
926
+ if (ReactIs.isSuspense(element))
927
+ return "React.Suspense";
928
+ if (typeof type == "object" && type !== null) {
929
+ if (ReactIs.isContextProvider(element))
930
+ return "Context.Provider";
931
+ if (ReactIs.isContextConsumer(element))
932
+ return "Context.Consumer";
933
+ if (ReactIs.isForwardRef(element)) {
934
+ if (type.displayName)
935
+ return type.displayName;
936
+ let functionName = type.render.displayName || type.render.name || "";
937
+ return functionName !== "" ? `ForwardRef(${functionName})` : "ForwardRef";
938
+ }
939
+ if (ReactIs.isMemo(element)) {
940
+ let functionName = type.displayName || type.type.displayName || type.type.name || "";
941
+ return functionName !== "" ? `Memo(${functionName})` : "Memo";
942
+ }
943
+ }
944
+ return "UNDEFINED";
945
+ }, getPropKeys = (element) => {
946
+ let { props } = element;
947
+ return Object.keys(props).filter((key) => key !== "children" && props[key] !== void 0).sort();
948
+ }, serialize = (element, config, indentation, depth, refs, printer) => ++depth > config.maxDepth ? (0, _markup.printElementAsLeaf)(getType(element), config) : (0, _markup.printElement)(getType(element), (0, _markup.printProps)(getPropKeys(element), element.props, config, indentation + config.indent, depth, refs, printer), (0, _markup.printChildren)(getChildren(element.props.children), config, indentation + config.indent, depth, refs, printer), config, indentation);
949
+ exports.serialize = serialize;
950
+ var test = (val) => val != null && ReactIs.isElement(val);
951
+ exports.test = test;
952
+ var plugin = {
953
+ serialize,
954
+ test
955
+ }, _default = plugin;
956
+ exports.default = _default;
957
+ }
958
+ }), require_ReactTestComponent = __commonJS({
959
+ "node_modules/pretty-format/build/plugins/ReactTestComponent.js"(exports) {
960
+ "use strict";
961
+ Object.defineProperty(exports, "__esModule", {
962
+ value: !0
963
+ }), exports.test = exports.serialize = exports.default = void 0;
964
+ var _markup = require_markup(), Symbol2 = globalThis["jest-symbol-do-not-touch"] || globalThis.Symbol, testSymbol = typeof Symbol2 == "function" && Symbol2.for ? Symbol2.for("react.test.json") : 245830487, getPropKeys = (object) => {
965
+ let { props } = object;
966
+ return props ? Object.keys(props).filter((key) => props[key] !== void 0).sort() : [];
967
+ }, serialize = (object, config, indentation, depth, refs, printer) => ++depth > config.maxDepth ? (0, _markup.printElementAsLeaf)(object.type, config) : (0, _markup.printElement)(object.type, object.props ? (0, _markup.printProps)(getPropKeys(object), object.props, config, indentation + config.indent, depth, refs, printer) : "", object.children ? (0, _markup.printChildren)(object.children, config, indentation + config.indent, depth, refs, printer) : "", config, indentation);
968
+ exports.serialize = serialize;
969
+ var test = (val) => val && val.$$typeof === testSymbol;
970
+ exports.test = test;
971
+ var plugin = {
972
+ serialize,
973
+ test
974
+ }, _default = plugin;
975
+ exports.default = _default;
976
+ }
977
+ }), require_build = __commonJS({
978
+ "node_modules/pretty-format/build/index.js"(exports) {
979
+ "use strict";
980
+ Object.defineProperty(exports, "__esModule", {
981
+ value: !0
982
+ }), exports.default = exports.DEFAULT_OPTIONS = void 0, exports.format = format, exports.plugins = void 0;
983
+ var _ansiStyles = _interopRequireDefault(require_ansi_styles()), _collections = require_collections(), _AsymmetricMatcher = _interopRequireDefault(require_AsymmetricMatcher()), _ConvertAnsi = _interopRequireDefault(require_ConvertAnsi()), _DOMCollection = _interopRequireDefault(require_DOMCollection()), _DOMElement = _interopRequireDefault(require_DOMElement()), _Immutable = _interopRequireDefault(require_Immutable()), _ReactElement = _interopRequireDefault(require_ReactElement()), _ReactTestComponent = _interopRequireDefault(require_ReactTestComponent());
984
+ function _interopRequireDefault(obj) {
985
+ return obj && obj.__esModule ? obj : { default: obj };
986
+ }
987
+ var toString = Object.prototype.toString, toISOString = Date.prototype.toISOString, errorToString = Error.prototype.toString, regExpToString = RegExp.prototype.toString, getConstructorName = (val) => typeof val.constructor == "function" && val.constructor.name || "Object", isWindow = (val) => typeof window < "u" && val === window, SYMBOL_REGEXP = /^Symbol\((.*)\)(.*)$/, NEWLINE_REGEXP = /\n/gi, PrettyFormatPluginError = class extends Error {
988
+ constructor(message, stack) {
989
+ super(message), this.stack = stack, this.name = this.constructor.name;
990
+ }
991
+ };
992
+ function isToStringedArrayType(toStringed) {
993
+ return toStringed === "[object Array]" || toStringed === "[object ArrayBuffer]" || toStringed === "[object DataView]" || toStringed === "[object Float32Array]" || toStringed === "[object Float64Array]" || toStringed === "[object Int8Array]" || toStringed === "[object Int16Array]" || toStringed === "[object Int32Array]" || toStringed === "[object Uint8Array]" || toStringed === "[object Uint8ClampedArray]" || toStringed === "[object Uint16Array]" || toStringed === "[object Uint32Array]";
994
+ }
995
+ function printNumber(val) {
996
+ return Object.is(val, -0) ? "-0" : String(val);
997
+ }
998
+ function printBigInt(val) {
999
+ return `${val}n`;
1000
+ }
1001
+ function printFunction(val, printFunctionName) {
1002
+ return printFunctionName ? `[Function ${val.name || "anonymous"}]` : "[Function]";
1003
+ }
1004
+ function printSymbol(val) {
1005
+ return String(val).replace(SYMBOL_REGEXP, "Symbol($1)");
1006
+ }
1007
+ function printError(val) {
1008
+ return `[${errorToString.call(val)}]`;
1009
+ }
1010
+ function printBasicValue(val, printFunctionName, escapeRegex, escapeString) {
1011
+ if (val === !0 || val === !1)
1012
+ return `${val}`;
1013
+ if (val === void 0)
1014
+ return "undefined";
1015
+ if (val === null)
1016
+ return "null";
1017
+ let typeOf = typeof val;
1018
+ if (typeOf === "number")
1019
+ return printNumber(val);
1020
+ if (typeOf === "bigint")
1021
+ return printBigInt(val);
1022
+ if (typeOf === "string")
1023
+ return escapeString ? `"${val.replace(/"|\\/g, "\\$&")}"` : `"${val}"`;
1024
+ if (typeOf === "function")
1025
+ return printFunction(val, printFunctionName);
1026
+ if (typeOf === "symbol")
1027
+ return printSymbol(val);
1028
+ let toStringed = toString.call(val);
1029
+ return toStringed === "[object WeakMap]" ? "WeakMap {}" : toStringed === "[object WeakSet]" ? "WeakSet {}" : toStringed === "[object Function]" || toStringed === "[object GeneratorFunction]" ? printFunction(val, printFunctionName) : toStringed === "[object Symbol]" ? printSymbol(val) : toStringed === "[object Date]" ? isNaN(+val) ? "Date { NaN }" : toISOString.call(val) : toStringed === "[object Error]" ? printError(val) : toStringed === "[object RegExp]" ? escapeRegex ? regExpToString.call(val).replace(/[\\^$*+?.()|[\]{}]/g, "\\$&") : regExpToString.call(val) : val instanceof Error ? printError(val) : null;
1030
+ }
1031
+ function printComplexValue(val, config, indentation, depth, refs, hasCalledToJSON) {
1032
+ if (refs.indexOf(val) !== -1)
1033
+ return "[Circular]";
1034
+ refs = refs.slice(), refs.push(val);
1035
+ let hitMaxDepth = ++depth > config.maxDepth, min = config.min;
1036
+ if (config.callToJSON && !hitMaxDepth && val.toJSON && typeof val.toJSON == "function" && !hasCalledToJSON)
1037
+ return printer(val.toJSON(), config, indentation, depth, refs, !0);
1038
+ let toStringed = toString.call(val);
1039
+ return toStringed === "[object Arguments]" ? hitMaxDepth ? "[Arguments]" : `${min ? "" : "Arguments "}[${(0, _collections.printListItems)(val, config, indentation, depth, refs, printer)}]` : isToStringedArrayType(toStringed) ? hitMaxDepth ? `[${val.constructor.name}]` : `${min || !config.printBasicPrototype && val.constructor.name === "Array" ? "" : `${val.constructor.name} `}[${(0, _collections.printListItems)(val, config, indentation, depth, refs, printer)}]` : toStringed === "[object Map]" ? hitMaxDepth ? "[Map]" : `Map {${(0, _collections.printIteratorEntries)(val.entries(), config, indentation, depth, refs, printer, " => ")}}` : toStringed === "[object Set]" ? hitMaxDepth ? "[Set]" : `Set {${(0, _collections.printIteratorValues)(val.values(), config, indentation, depth, refs, printer)}}` : hitMaxDepth || isWindow(val) ? `[${getConstructorName(val)}]` : `${min || !config.printBasicPrototype && getConstructorName(val) === "Object" ? "" : `${getConstructorName(val)} `}{${(0, _collections.printObjectProperties)(val, config, indentation, depth, refs, printer)}}`;
1040
+ }
1041
+ function isNewPlugin(plugin) {
1042
+ return plugin.serialize != null;
1043
+ }
1044
+ function printPlugin(plugin, val, config, indentation, depth, refs) {
1045
+ let printed;
1046
+ try {
1047
+ printed = isNewPlugin(plugin) ? plugin.serialize(val, config, indentation, depth, refs, printer) : plugin.print(val, (valChild) => printer(valChild, config, indentation, depth, refs), (str) => {
1048
+ let indentationNext = indentation + config.indent;
1049
+ return indentationNext + str.replace(NEWLINE_REGEXP, `
1050
+ ${indentationNext}`);
1051
+ }, {
1052
+ edgeSpacing: config.spacingOuter,
1053
+ min: config.min,
1054
+ spacing: config.spacingInner
1055
+ }, config.colors);
1056
+ } catch (error) {
1057
+ throw new PrettyFormatPluginError(error.message, error.stack);
1058
+ }
1059
+ if (typeof printed != "string")
1060
+ throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof printed}".`);
1061
+ return printed;
1062
+ }
1063
+ function findPlugin(plugins2, val) {
1064
+ for (let p = 0; p < plugins2.length; p++)
1065
+ try {
1066
+ if (plugins2[p].test(val))
1067
+ return plugins2[p];
1068
+ } catch (error) {
1069
+ throw new PrettyFormatPluginError(error.message, error.stack);
1070
+ }
1071
+ return null;
1072
+ }
1073
+ function printer(val, config, indentation, depth, refs, hasCalledToJSON) {
1074
+ let plugin = findPlugin(config.plugins, val);
1075
+ if (plugin !== null)
1076
+ return printPlugin(plugin, val, config, indentation, depth, refs);
1077
+ let basicResult = printBasicValue(val, config.printFunctionName, config.escapeRegex, config.escapeString);
1078
+ return basicResult !== null ? basicResult : printComplexValue(val, config, indentation, depth, refs, hasCalledToJSON);
1079
+ }
1080
+ var DEFAULT_THEME = {
1081
+ comment: "gray",
1082
+ content: "reset",
1083
+ prop: "yellow",
1084
+ tag: "cyan",
1085
+ value: "green"
1086
+ }, DEFAULT_THEME_KEYS = Object.keys(DEFAULT_THEME), DEFAULT_OPTIONS = {
1087
+ callToJSON: !0,
1088
+ compareKeys: void 0,
1089
+ escapeRegex: !1,
1090
+ escapeString: !0,
1091
+ highlight: !1,
1092
+ indent: 2,
1093
+ maxDepth: 1 / 0,
1094
+ maxWidth: 1 / 0,
1095
+ min: !1,
1096
+ plugins: [],
1097
+ printBasicPrototype: !0,
1098
+ printFunctionName: !0,
1099
+ theme: DEFAULT_THEME
1100
+ };
1101
+ exports.DEFAULT_OPTIONS = DEFAULT_OPTIONS;
1102
+ function validateOptions(options) {
1103
+ if (Object.keys(options).forEach((key) => {
1104
+ if (!Object.prototype.hasOwnProperty.call(DEFAULT_OPTIONS, key))
1105
+ throw new Error(`pretty-format: Unknown option "${key}".`);
1106
+ }), options.min && options.indent !== void 0 && options.indent !== 0)
1107
+ throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');
1108
+ if (options.theme !== void 0) {
1109
+ if (options.theme === null)
1110
+ throw new Error('pretty-format: Option "theme" must not be null.');
1111
+ if (typeof options.theme != "object")
1112
+ throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof options.theme}".`);
1113
+ }
1114
+ }
1115
+ var getColorsHighlight = (options) => DEFAULT_THEME_KEYS.reduce((colors, key) => {
1116
+ let value = options.theme && options.theme[key] !== void 0 ? options.theme[key] : DEFAULT_THEME[key], color = value && _ansiStyles.default[value];
1117
+ if (color && typeof color.close == "string" && typeof color.open == "string")
1118
+ colors[key] = color;
1119
+ else
1120
+ throw new Error(`pretty-format: Option "theme" has a key "${key}" whose value "${value}" is undefined in ansi-styles.`);
1121
+ return colors;
1122
+ }, /* @__PURE__ */ Object.create(null)), getColorsEmpty = () => DEFAULT_THEME_KEYS.reduce((colors, key) => (colors[key] = {
1123
+ close: "",
1124
+ open: ""
1125
+ }, colors), /* @__PURE__ */ Object.create(null)), getPrintFunctionName = (options) => {
1126
+ var _options$printFunctio;
1127
+ return (_options$printFunctio = options?.printFunctionName) !== null && _options$printFunctio !== void 0 ? _options$printFunctio : DEFAULT_OPTIONS.printFunctionName;
1128
+ }, getEscapeRegex = (options) => {
1129
+ var _options$escapeRegex;
1130
+ return (_options$escapeRegex = options?.escapeRegex) !== null && _options$escapeRegex !== void 0 ? _options$escapeRegex : DEFAULT_OPTIONS.escapeRegex;
1131
+ }, getEscapeString = (options) => {
1132
+ var _options$escapeString;
1133
+ return (_options$escapeString = options?.escapeString) !== null && _options$escapeString !== void 0 ? _options$escapeString : DEFAULT_OPTIONS.escapeString;
1134
+ }, getConfig = (options) => {
1135
+ var _options$callToJSON, _options$indent, _options$maxDepth, _options$maxWidth, _options$min, _options$plugins, _options$printBasicPr;
1136
+ return {
1137
+ callToJSON: (_options$callToJSON = options?.callToJSON) !== null && _options$callToJSON !== void 0 ? _options$callToJSON : DEFAULT_OPTIONS.callToJSON,
1138
+ colors: options != null && options.highlight ? getColorsHighlight(options) : getColorsEmpty(),
1139
+ compareKeys: typeof options?.compareKeys == "function" ? options.compareKeys : DEFAULT_OPTIONS.compareKeys,
1140
+ escapeRegex: getEscapeRegex(options),
1141
+ escapeString: getEscapeString(options),
1142
+ indent: options != null && options.min ? "" : createIndent((_options$indent = options?.indent) !== null && _options$indent !== void 0 ? _options$indent : DEFAULT_OPTIONS.indent),
1143
+ maxDepth: (_options$maxDepth = options?.maxDepth) !== null && _options$maxDepth !== void 0 ? _options$maxDepth : DEFAULT_OPTIONS.maxDepth,
1144
+ maxWidth: (_options$maxWidth = options?.maxWidth) !== null && _options$maxWidth !== void 0 ? _options$maxWidth : DEFAULT_OPTIONS.maxWidth,
1145
+ min: (_options$min = options?.min) !== null && _options$min !== void 0 ? _options$min : DEFAULT_OPTIONS.min,
1146
+ plugins: (_options$plugins = options?.plugins) !== null && _options$plugins !== void 0 ? _options$plugins : DEFAULT_OPTIONS.plugins,
1147
+ printBasicPrototype: (_options$printBasicPr = options?.printBasicPrototype) !== null && _options$printBasicPr !== void 0 ? _options$printBasicPr : !0,
1148
+ printFunctionName: getPrintFunctionName(options),
1149
+ spacingInner: options != null && options.min ? " " : `
1150
+ `,
1151
+ spacingOuter: options != null && options.min ? "" : `
1152
+ `
1153
+ };
1154
+ };
1155
+ function createIndent(indent) {
1156
+ return new Array(indent + 1).join(" ");
1157
+ }
1158
+ function format(val, options) {
1159
+ if (options && (validateOptions(options), options.plugins)) {
1160
+ let plugin = findPlugin(options.plugins, val);
1161
+ if (plugin !== null)
1162
+ return printPlugin(plugin, val, getConfig(options), "", 0, []);
1163
+ }
1164
+ let basicResult = printBasicValue(val, getPrintFunctionName(options), getEscapeRegex(options), getEscapeString(options));
1165
+ return basicResult !== null ? basicResult : printComplexValue(val, getConfig(options), "", 0, []);
1166
+ }
1167
+ var plugins = {
1168
+ AsymmetricMatcher: _AsymmetricMatcher.default,
1169
+ ConvertAnsi: _ConvertAnsi.default,
1170
+ DOMCollection: _DOMCollection.default,
1171
+ DOMElement: _DOMElement.default,
1172
+ Immutable: _Immutable.default,
1173
+ ReactElement: _ReactElement.default,
1174
+ ReactTestComponent: _ReactTestComponent.default
1175
+ };
1176
+ exports.plugins = plugins;
1177
+ var _default = format;
1178
+ exports.default = _default;
1179
+ }
1180
+ }), import_pretty_format = __toESM(require_build(), 1), {
1181
+ AsymmetricMatcher,
1182
+ DOMCollection,
1183
+ DOMElement,
1184
+ Immutable,
1185
+ ReactElement,
1186
+ ReactTestComponent
1187
+ } = import_pretty_format.plugins, PLUGINS = [
1188
+ ReactTestComponent,
1189
+ ReactElement,
1190
+ DOMElement,
1191
+ DOMCollection,
1192
+ Immutable,
1193
+ AsymmetricMatcher
1194
+ ], DIM_COLOR = source_default.dim, EXPECTED_COLOR = source_default.green, RECEIVED_COLOR = source_default.red, SPACE_SYMBOL = "\xB7";
1195
+ function stringify(object, maxDepth = 10, maxWidth = 10) {
1196
+ let MAX_LENGTH = 1e4, result;
1197
+ try {
1198
+ result = (0, import_pretty_format.format)(object, {
1199
+ maxDepth,
1200
+ maxWidth,
1201
+ min: !0,
1202
+ plugins: PLUGINS
1203
+ });
1204
+ } catch {
1205
+ result = (0, import_pretty_format.format)(object, {
1206
+ callToJSON: !1,
1207
+ maxDepth,
1208
+ maxWidth,
1209
+ min: !0,
1210
+ plugins: PLUGINS
1211
+ });
1212
+ }
1213
+ return result.length >= MAX_LENGTH && maxDepth > 1 ? stringify(object, Math.floor(maxDepth / 2), maxWidth) : result.length >= MAX_LENGTH && maxWidth > 1 ? stringify(object, maxDepth, Math.floor(maxWidth / 2)) : result;
1214
+ }
1215
+ function replaceTrailingSpaces(text) {
1216
+ return text.replace(/\s+$/gm, (spaces) => SPACE_SYMBOL.repeat(spaces.length));
1217
+ }
1218
+ function printReceived(object) {
1219
+ return RECEIVED_COLOR(replaceTrailingSpaces(stringify(object)));
1220
+ }
1221
+ function matcherHint(matcherName, received = "received", expected = "expected", options = {}) {
1222
+ let {
1223
+ comment = "",
1224
+ expectedColor = EXPECTED_COLOR,
1225
+ isDirectExpectCall = !1,
1226
+ isNot = !1,
1227
+ promise = "",
1228
+ receivedColor = RECEIVED_COLOR,
1229
+ secondArgument = "",
1230
+ secondArgumentColor = EXPECTED_COLOR
1231
+ } = options, hint = "", dimString = "expect";
1232
+ return !isDirectExpectCall && received !== "" && (hint += DIM_COLOR(`${dimString}(`) + receivedColor(received), dimString = ")"), promise !== "" && (hint += DIM_COLOR(`${dimString}.`) + promise, dimString = ""), isNot && (hint += `${DIM_COLOR(`${dimString}.`)}not`, dimString = ""), matcherName.includes(".") ? dimString += matcherName : (hint += DIM_COLOR(`${dimString}.`) + matcherName, dimString = ""), expected === "" ? dimString += "()" : (hint += DIM_COLOR(`${dimString}(`) + expectedColor(expected), secondArgument && (hint += DIM_COLOR(", ") + secondArgumentColor(secondArgument)), dimString = ")"), comment !== "" && (dimString += ` // ${comment}`), dimString !== "" && (hint += DIM_COLOR(dimString)), hint;
1233
+ }
1234
+
1235
+ // ../../node_modules/vitest-axe/dist/matchers.js
1236
+ function toHaveNoViolations(results) {
1237
+ if (typeof results.violations > "u")
1238
+ throw new Error("No violations found in aXe results object");
1239
+ let violations = filterViolations(results.violations, results.toolOptions ? results.toolOptions.impactLevels : []);
1240
+ function reporter(violations2) {
1241
+ if (violations2.length === 0)
1242
+ return [];
1243
+ let lineBreak = `
1244
+
1245
+ `;
1246
+ return violations2.map((violation) => violation.nodes.map((node) => `Expected the HTML found at $('${node.target.join(", ")}') to have no violations:` + lineBreak + source_default.grey(node.html) + lineBreak + "Received:" + lineBreak + printReceived(`${violation.help} (${violation.id})`) + lineBreak + source_default.yellow(node.failureSummary) + lineBreak + (violation.helpUrl ? `You can find more information on this issue here:
1247
+ ${source_default.blue(violation.helpUrl)}` : "")).join(lineBreak)).join(lineBreak + "\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500" + lineBreak);
1248
+ }
1249
+ let formatedViolations = reporter(violations), pass = formatedViolations.length === 0;
1250
+ function message() {
1251
+ if (!pass)
1252
+ return matcherHint(".toHaveNoViolations") + `
1253
+
1254
+ ${formatedViolations}`;
1255
+ }
1256
+ return { actual: violations, message, pass };
1257
+ }
1258
+ function filterViolations(violations, impactLevels) {
1259
+ return impactLevels && impactLevels.length > 0 ? violations.filter((v) => impactLevels.includes(v.impact)) : violations;
1260
+ }
1261
+ export {
1262
+ toHaveNoViolations
1263
+ };