@aussieljk/forkbook 0.0.1-5 → 0.0.1-7

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 (314) hide show
  1. package/dist/_browser-chunks/{Color-GTF4GM7L.js → Color-2YRIFQLC.js} +1 -1
  2. package/dist/_browser-chunks/WithTooltip-4R5JMWZ7.js +196 -0
  3. package/dist/_browser-chunks/{chunk-MJY6ITYT.js → chunk-4EFKUJG2.js} +10 -10
  4. package/dist/_browser-chunks/chunk-6AKCRYVX.js +6 -0
  5. package/dist/_browser-chunks/{chunk-FVSEPWWX.js → chunk-DAUHYZUB.js} +550 -1621
  6. package/dist/_browser-chunks/chunk-E47B5255.js +1149 -0
  7. package/dist/_browser-chunks/{chunk-K6GRZSXS.js → chunk-EQKMUQF3.js} +4 -3
  8. package/dist/_browser-chunks/{chunk-GU3X2J4S.js → chunk-FRAOQJDI.js} +3 -1
  9. package/dist/_browser-chunks/{chunk-2SCZVUKW.js → chunk-H4ZHAXN3.js} +1 -1
  10. package/dist/_browser-chunks/{chunk-HOSBMS2F.js → chunk-HTL5ODCB.js} +1 -1
  11. package/dist/_browser-chunks/{chunk-ZLWA5RIE.js → chunk-I4ATZPNZ.js} +1 -1
  12. package/dist/_browser-chunks/{chunk-6SHRDXGF.js → chunk-IJYLSHY7.js} +173 -87
  13. package/dist/_browser-chunks/{chunk-SZCSXISG.js → chunk-NA4ITZTK.js} +7 -5
  14. package/dist/_browser-chunks/chunk-NGMQJMCY.js +53 -0
  15. package/dist/_browser-chunks/{chunk-K2B36HKM.js → chunk-O24AZJZ7.js} +1 -1
  16. package/dist/_browser-chunks/{chunk-NMRSYACM.js → chunk-SFMQDIN2.js} +4 -3
  17. package/dist/_browser-chunks/{chunk-ZTQ5MEJ5.js → chunk-UMGDO2ZM.js} +3 -37
  18. package/dist/_browser-chunks/chunk-WVF42CP2.js +6027 -0
  19. package/dist/_browser-chunks/{chunk-52CW7FF7.js → chunk-YYWKZ7O3.js} +3 -1
  20. package/dist/_node-chunks/{attached-runtime-IOE3BXIY.js → attached-runtime-WFZCCGUB.js} +29 -29
  21. package/dist/_node-chunks/{builder-manager-GDFEGD72.js → builder-manager-DHKHRZK4.js} +155 -148
  22. package/dist/_node-chunks/{chunk-M2QB5ALN.js → chunk-3ZCGT6VF.js} +6 -6
  23. package/dist/_node-chunks/{chunk-SUJXQU74.js → chunk-4HGC3G6B.js} +46 -15
  24. package/dist/_node-chunks/{chunk-WMQ2VCTF.js → chunk-5PYQ573S.js} +7 -7
  25. package/dist/_node-chunks/{chunk-TYCDPVIH.js → chunk-64JPAW3T.js} +6 -6
  26. package/dist/_node-chunks/chunk-6CB3XSQ2.js +495 -0
  27. package/dist/_node-chunks/{chunk-MHDKWHOA.js → chunk-6K3ZE4HN.js} +6 -6
  28. package/dist/_node-chunks/{chunk-3DCJB2D4.js → chunk-6QZ3PX5R.js} +6 -6
  29. package/dist/_node-chunks/{chunk-6DOJKR3V.js → chunk-7HVDL6M3.js} +29843 -51588
  30. package/dist/_node-chunks/chunk-7PMQPS5E.js +347 -0
  31. package/dist/_node-chunks/{chunk-L5CY6HKG.js → chunk-7V5AOV2J.js} +7 -7
  32. package/dist/_node-chunks/{chunk-AXJJB2K6.js → chunk-7VHCAGBJ.js} +8 -8
  33. package/dist/_node-chunks/{chunk-3DX6THMV.js → chunk-ATX7SHS7.js} +8 -8
  34. package/dist/_node-chunks/{chunk-SDXU22OH.js → chunk-BQC6WCUS.js} +6 -6
  35. package/dist/_node-chunks/{chunk-D6B2DRQZ.js → chunk-BR4WDRY6.js} +8 -8
  36. package/dist/_node-chunks/{chunk-SJZQ44OR.js → chunk-BRHJ4P3A.js} +6 -6
  37. package/dist/_node-chunks/{chunk-N4FLP7AO.js → chunk-CBBFNVFZ.js} +7 -7
  38. package/dist/_node-chunks/{chunk-PHXCOTMO.js → chunk-CDFQORVD.js} +34 -949
  39. package/dist/_node-chunks/{chunk-SR3BCYEH.js → chunk-CENNLCU7.js} +6 -6
  40. package/dist/_node-chunks/{chunk-OTFIQXHR.js → chunk-CNMMDQC3.js} +27 -50
  41. package/dist/_node-chunks/{chunk-E4C2H45J.js → chunk-DMDZPUHM.js} +6 -6
  42. package/dist/_node-chunks/{chunk-45LRLOYO.js → chunk-DT45EUDD.js} +60 -134
  43. package/dist/_node-chunks/{chunk-KQFHT7SW.js → chunk-EAL4RVEF.js} +6 -6
  44. package/dist/_node-chunks/chunk-EFFWFE6W.js +11 -0
  45. package/dist/_node-chunks/{chunk-MDGNN3FJ.js → chunk-ESCZ2NSB.js} +6 -6
  46. package/dist/_node-chunks/{chunk-T2I453AJ.js → chunk-ESZIQTUH.js} +7 -7
  47. package/dist/_node-chunks/{chunk-HWY2CAUH.js → chunk-F3SAYS4R.js} +6 -6
  48. package/dist/_node-chunks/{chunk-LSP54OYM.js → chunk-FTUQ7T3V.js} +25 -8
  49. package/dist/_node-chunks/{chunk-AAAUVDWT.js → chunk-FVFSSIGA.js} +10 -10
  50. package/dist/_node-chunks/{chunk-GS4VNNSS.js → chunk-G2AANC4A.js} +6 -6
  51. package/dist/_node-chunks/{chunk-SAAQFJL4.js → chunk-HUMAXGH2.js} +6 -6
  52. package/dist/_node-chunks/{chunk-A4XRNDN4.js → chunk-I535GEPH.js} +7 -7
  53. package/dist/_node-chunks/{chunk-CK4EHW3K.js → chunk-J3Q56GX3.js} +25 -25
  54. package/dist/_node-chunks/{chunk-U47PBQZ3.js → chunk-JDKYP7FW.js} +10 -10
  55. package/dist/_node-chunks/{chunk-7TUSIVWS.js → chunk-JED5F3H2.js} +6 -6
  56. package/dist/_node-chunks/{chunk-UM5G27IC.js → chunk-JMS4H7QB.js} +7 -7
  57. package/dist/_node-chunks/{chunk-GR65OLAH.js → chunk-JOSJ64KD.js} +7 -7
  58. package/dist/_node-chunks/{chunk-XUHEL63G.js → chunk-JPHSU5OI.js} +6 -6
  59. package/dist/_node-chunks/{chunk-NYWD5LYM.js → chunk-JQICISDD.js} +6 -6
  60. package/dist/_node-chunks/{chunk-I3DKGHVD.js → chunk-JTLOSDYL.js} +9 -9
  61. package/dist/_node-chunks/{chunk-5KAJVK4E.js → chunk-K5RUOW42.js} +7 -7
  62. package/dist/_node-chunks/{chunk-UKEJISQU.js → chunk-KHWCZDIW.js} +650 -9
  63. package/dist/_node-chunks/chunk-KWER36VB.js +20 -0
  64. package/dist/_node-chunks/{chunk-YTBTCM22.js → chunk-LJTP5PAJ.js} +6 -6
  65. package/dist/_node-chunks/chunk-LZYYZ62Y.js +19 -0
  66. package/dist/_node-chunks/{chunk-CGXW2HFE.js → chunk-M7ZVSBNU.js} +6 -6
  67. package/dist/_node-chunks/{chunk-BTFSFATC.js → chunk-MBIIJTGQ.js} +11 -10
  68. package/dist/_node-chunks/{chunk-VBSVLIXU.js → chunk-MF3AT3JQ.js} +6 -6
  69. package/dist/_node-chunks/{chunk-AX2ALHBK.js → chunk-MF5BYASO.js} +9 -6
  70. package/dist/_node-chunks/{chunk-JJNO3SFI.js → chunk-MJFMB4WD.js} +9 -9
  71. package/dist/_node-chunks/{chunk-E4TBS4MV.js → chunk-MRWBN46D.js} +8 -8
  72. package/dist/_node-chunks/{chunk-QQXFB4YA.js → chunk-MZQXEAI6.js} +9 -9
  73. package/dist/_node-chunks/{chunk-TZ2TZW2K.js → chunk-NLPC2DDQ.js} +6 -6
  74. package/dist/_node-chunks/{chunk-HCX5R46Q.js → chunk-NQAFLS5U.js} +8 -8
  75. package/dist/_node-chunks/{chunk-5LE7GXEC.js → chunk-NSZGBFPR.js} +6 -6
  76. package/dist/_node-chunks/{chunk-WHDCECIV.js → chunk-NUYBFTOU.js} +7 -7
  77. package/dist/_node-chunks/{chunk-RCPKLP3X.js → chunk-O7VJA7SM.js} +7 -7
  78. package/dist/_node-chunks/{chunk-2GY2FKLH.js → chunk-OGJ7LDX3.js} +7 -7
  79. package/dist/_node-chunks/{chunk-F4Q7OCCN.js → chunk-OWT6AVWK.js} +8 -8
  80. package/dist/_node-chunks/{chunk-LCXIUTOU.js → chunk-P3GOMPP3.js} +7 -7
  81. package/dist/_node-chunks/{chunk-KCAPE7OJ.js → chunk-PQLXHVWK.js} +6 -6
  82. package/dist/_node-chunks/{chunk-V45RRBTK.js → chunk-Q6QRFKHB.js} +8 -8
  83. package/dist/_node-chunks/{chunk-VJSOHPVD.js → chunk-QSP42ZBM.js} +6 -6
  84. package/dist/_node-chunks/{chunk-7XUQM6SR.js → chunk-QWDR5OWQ.js} +14 -14
  85. package/dist/_node-chunks/{chunk-YLKS7U3M.js → chunk-QWRQXG2V.js} +8 -8
  86. package/dist/_node-chunks/{chunk-4WO3GNZQ.js → chunk-R6AKCXPH.js} +6 -6
  87. package/dist/_node-chunks/{chunk-AXQ6LLSE.js → chunk-RCY7TLET.js} +8 -8
  88. package/dist/_node-chunks/chunk-RKKMQA6N.js +620 -0
  89. package/dist/_node-chunks/{chunk-BV3QRFE6.js → chunk-RZ7UEP4N.js} +6 -6
  90. package/dist/_node-chunks/{chunk-OSJFTZ5N.js → chunk-S3HB4EWT.js} +6 -6
  91. package/dist/_node-chunks/{chunk-QZVFIEOM.js → chunk-SHH7JROR.js} +6 -6
  92. package/dist/_node-chunks/{chunk-Q33BYVLY.js → chunk-SWHTDOB4.js} +7 -7
  93. package/dist/_node-chunks/{chunk-ZPPVG262.js → chunk-SZYMLCHF.js} +6 -6
  94. package/dist/_node-chunks/{chunk-ES5QZBSB.js → chunk-TOGDRW2W.js} +6 -6
  95. package/dist/_node-chunks/{chunk-J64XMUPF.js → chunk-U3E7E4Q2.js} +10 -10
  96. package/dist/_node-chunks/{chunk-RECGEABN.js → chunk-U6DHF3RM.js} +7 -7
  97. package/dist/_node-chunks/{chunk-OB2XHL53.js → chunk-UAG3XK32.js} +31 -30
  98. package/dist/_node-chunks/{chunk-BBD2KUV4.js → chunk-UF6Q6L5C.js} +22 -20
  99. package/dist/_node-chunks/chunk-UGXN7JTT.js +18 -0
  100. package/dist/_node-chunks/{chunk-EWAGCBER.js → chunk-UNCBLHIP.js} +8 -8
  101. package/dist/_node-chunks/chunk-UPJMGWMZ.js +25 -0
  102. package/dist/_node-chunks/chunk-UVV24PG4.js +69 -0
  103. package/dist/_node-chunks/{chunk-E6KXSYWR.js → chunk-WBB4NQ6H.js} +6 -6
  104. package/dist/_node-chunks/{chunk-B2IOB2V3.js → chunk-WHOF2BJB.js} +7 -7
  105. package/dist/_node-chunks/{chunk-FA36CEN4.js → chunk-WME5NEJA.js} +6 -6
  106. package/dist/_node-chunks/{chunk-BFZG4UTW.js → chunk-X63YMAHP.js} +7 -7
  107. package/dist/_node-chunks/chunk-Y2GHAOKI.js +25 -0
  108. package/dist/_node-chunks/{chunk-AXG3EMKS.js → chunk-Y6G64J5S.js} +7 -15
  109. package/dist/_node-chunks/chunk-YVIPYJ53.js +2609 -0
  110. package/dist/_node-chunks/{chunk-NDGTNFUN.js → chunk-YZWUD7I5.js} +16 -13
  111. package/dist/_node-chunks/{chunk-VN3A5CEH.js → chunk-ZIDIYSJQ.js} +7 -7
  112. package/dist/_node-chunks/chunk-ZSGOW4WQ.js +20 -0
  113. package/dist/_node-chunks/dist-5EG56KTF.js +16 -0
  114. package/dist/_node-chunks/dist-UEXSNGGQ.js +27 -0
  115. package/dist/_node-chunks/{local-runtime-RW6AAWSX.js → local-runtime-UN5QK2SE.js} +20 -20
  116. package/dist/_node-chunks/{mdx-plugin-BKWCT6CB.js → mdx-plugin-6M6CMNL3.js} +2263 -130
  117. package/dist/_node-chunks/{monorepo-ZFJ6HM34.js → monorepo-253VKW4B.js} +11 -11
  118. package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-C3EW4VJW.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-3ZOE54OQ.js} +11 -11
  119. package/dist/_node-chunks/optimized-tests-JSWLRMEI.js +22 -0
  120. package/dist/_node-chunks/{pattern-copy-play-2ZMJNCBS.js → pattern-copy-play-CCCJRMSL.js} +9 -9
  121. package/dist/_node-chunks/postinstallAddon-VMANBHPR.js +20 -0
  122. package/dist/_node-chunks/{rehype-external-links-RT5Z62RV.js → rehype-external-links-LJTPLCGD.js} +9 -9
  123. package/dist/_node-chunks/{rehype-slug-H5TWHJ6G.js → rehype-slug-KQI7ULEZ.js} +9 -9
  124. package/dist/_node-chunks/{relaxed-limits-DYLWZGE4.js → relaxed-limits-MUE2NI7S.js} +11 -11
  125. package/dist/_node-chunks/{run-65LLGSVR.js → run-PGZMPNMS.js} +246 -13
  126. package/dist/_node-chunks/{run-BQQLK454.js → run-SYLR25HA.js} +17 -17
  127. package/dist/_node-chunks/session-id-J4A25UQ6.js +23 -0
  128. package/dist/_node-chunks/{setup-NEO7XX66.js → setup-XZWSUYPG.js} +8 -8
  129. package/dist/_node-chunks/{vitest.config.4.template-6P3FZQTY.js → vitest.config.4.template-T25YYRGV.js} +7 -7
  130. package/dist/actions/decorator.js +2 -1
  131. package/dist/actions/index.js +2 -1
  132. package/dist/addon-a11y/index.js +2 -1
  133. package/dist/addon-a11y/manager.js +6 -5
  134. package/dist/addon-a11y/preset.js +7 -7
  135. package/dist/addon-a11y/preview.js +2 -1
  136. package/dist/addon-docs/blocks.js +28 -14
  137. package/dist/addon-docs/manager.js +2 -2
  138. package/dist/addon-docs/preset.js +10 -10
  139. package/dist/addon-links/index.js +3 -2
  140. package/dist/addon-links/preview.d.ts +1 -1
  141. package/dist/addon-links/preview.js +3 -2
  142. package/dist/addon-links/react/index.js +2 -1
  143. package/dist/addon-mcp/preset.js +8 -8
  144. package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +21 -44
  145. package/dist/addon-ondevice-actions/index.js +5 -1
  146. package/dist/addon-ondevice-actions/register.js +5 -1
  147. package/dist/addon-themes/postinstall.js +7 -7
  148. package/dist/addon-vitest/constants.js +8 -8
  149. package/dist/addon-vitest/manager.js +2 -2
  150. package/dist/addon-vitest/node/coverage-reporter.js +8 -8
  151. package/dist/addon-vitest/node/vitest.js +16 -16
  152. package/dist/addon-vitest/postinstall.js +10 -10
  153. package/dist/addon-vitest/preset.js +15 -16
  154. package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
  155. package/dist/addon-vitest/vitest-plugin/index.js +17 -17
  156. package/dist/babel/index.d.ts +91 -842
  157. package/dist/babel/index.js +13 -19
  158. package/dist/bin/core.js +61 -60
  159. package/dist/bin/dispatcher.js +16 -11
  160. package/dist/bin/loader.js +16 -15
  161. package/dist/builder-vite/index.js +15 -15
  162. package/dist/builder-vite/preset.js +13 -13
  163. package/dist/{chunk-Jf7j2Ot0.d.ts → chunk-BGhyFTJO.d.ts} +1 -1
  164. package/dist/{chunk-Ce6uhJuR.d.ts → chunk-B_ZhEPlo.d.ts} +1 -1
  165. package/dist/{chunk-CZHsX9Zo.d.ts → chunk-CMaYrou5.d.ts} +1 -1
  166. package/dist/chunk-CV4-Z2pn.d.ts +30 -0
  167. package/dist/{chunk-B2t1tGRh.d.ts → chunk-CYuvV2sR.d.ts} +11 -13
  168. package/dist/{chunk-DpljNJTz.d.ts → chunk-LrH1y9J2.d.ts} +39 -0
  169. package/dist/cli/index.d.ts +13 -866
  170. package/dist/cli/index.js +42 -4952
  171. package/dist/cli/tools/sdk/child-host.d.ts +1 -1
  172. package/dist/cli/tools/sdk/child-host.js +17 -17
  173. package/dist/cli/tools/sdk/index.d.ts +1 -1
  174. package/dist/cli/tools/sdk/index.js +18 -18
  175. package/dist/cli-commands/bin/index.js +7 -7
  176. package/dist/client-logger/index.js +3 -1
  177. package/dist/common/index.d.ts +5 -4
  178. package/dist/common/index.js +35 -37
  179. package/dist/components/index.d.ts +14 -231
  180. package/dist/components/index.js +2512 -8359
  181. package/dist/core-events/index.d.ts +3 -2
  182. package/dist/core-events/index.js +3 -1
  183. package/dist/core-server/index.d.ts +2 -2
  184. package/dist/core-server/index.js +450 -147
  185. package/dist/core-server/presets/common-manager.js +62 -866
  186. package/dist/core-server/presets/common-override-preset.js +12 -10
  187. package/dist/core-server/presets/common-preset.js +39 -40
  188. package/dist/create/bin/index.js +7 -7
  189. package/dist/create/index.js +15 -15
  190. package/dist/csf/index.d.ts +1 -1
  191. package/dist/csf/index.js +27 -93
  192. package/dist/csf-tools/index.d.ts +14 -12
  193. package/dist/csf-tools/index.js +14 -14
  194. package/dist/instrumenter/index.js +3 -1
  195. package/dist/manager/_manager-chunks/{globals-runtime-BgVwdR45.js → globals-runtime-4fCHtNC6.js} +1 -1
  196. package/dist/manager/_manager-chunks/{globals-runtime-DW1HVuLt.js → globals-runtime-BKPOYSwp.js} +410 -379
  197. package/dist/manager/_manager-chunks/{globals-runtime-zVfMhZAt.js → globals-runtime-BMIT8BJb.js} +1 -1
  198. package/dist/manager/_manager-chunks/{globals-runtime-CUBVmgcG.js → globals-runtime-BO0pfoqL.js} +4 -4
  199. package/dist/manager/_manager-chunks/{globals-runtime-Bke4A4DG.js → globals-runtime-BZKYJxYC.js} +1 -1
  200. package/dist/manager/_manager-chunks/{globals-runtime-D_YKR9nf.js → globals-runtime-Bpc_ftuT.js} +1252 -539
  201. package/dist/manager/_manager-chunks/{globals-runtime-DCOX9nD5.js → globals-runtime-CBviMKtt.js} +1 -17
  202. package/dist/manager/_manager-chunks/{globals-runtime-CTB3rhS1.js → globals-runtime-CI-C7ncS.js} +10 -10
  203. package/dist/manager/_manager-chunks/{globals-runtime-Cr3nYYcT.js → globals-runtime-CI_p54Ha.js} +59 -60
  204. package/dist/manager/_manager-chunks/{globals-runtime-CiLcg4q9.js → globals-runtime-CTyYXvUm.js} +1 -1
  205. package/dist/manager/_manager-chunks/{globals-runtime-DqNrRmOM.js → globals-runtime-CoCzM1V_.js} +93 -2146
  206. package/dist/manager/_manager-chunks/{globals-runtime-CXKb33hg.js → globals-runtime-CzEhVGVp.js} +141 -54
  207. package/dist/manager/_manager-chunks/{globals-runtime-CF4o9_wT.js → globals-runtime-D82vqOGq.js} +2 -1
  208. package/dist/manager/_manager-chunks/{globals-runtime-ALpzCL93.js → globals-runtime-DB8fVA5g.js} +2 -145
  209. package/dist/manager/_manager-chunks/{globals-runtime-DMvB3-IM.js → globals-runtime-DMq1Phbl.js} +153 -141
  210. package/dist/manager/_manager-chunks/globals-runtime-DOPUchia.js +5282 -0
  211. package/dist/manager/_manager-chunks/{globals-runtime-BcNHymiF.js → globals-runtime-Dbt08xWQ.js} +1 -1
  212. package/dist/manager/_manager-chunks/{globals-runtime-m07udJ_K.js → globals-runtime-kmPSyf3j.js} +637 -1730
  213. package/dist/manager/_manager-chunks/{runtime-DMig8mT7.js → runtime-5o_11Jae.js} +4 -3
  214. package/dist/manager/_manager-chunks/{runtime-DrjpEyLM.js → runtime-B4U0u9p4.js} +5 -147
  215. package/dist/manager/_manager-chunks/{runtime-B-eSQdxk.js → runtime-BM30BmeT.js} +503 -44
  216. package/dist/manager/_manager-chunks/{runtime-EITvVbkG.js → runtime-BdGkqNEt.js} +1 -2
  217. package/dist/manager/_manager-chunks/{runtime-a5zd7km2.js → runtime-Cf0p9DUx.js} +5 -531
  218. package/dist/manager/_manager-chunks/{runtime-Cdz2BHhM.js → runtime-D-nYLsdk.js} +57 -34
  219. package/dist/manager/_manager-chunks/runtime-D09XMY6V.js +294 -0
  220. package/dist/manager/_manager-chunks/{runtime-Bldwclun.js → runtime-DvrwKw7z.js} +92 -303
  221. package/dist/manager/_manager-chunks/{runtime-DGHNKNQl.js → runtime-DzxaTqVN.js} +10 -29
  222. package/dist/manager/_manager-chunks/runtime-P663lpsR.js +528 -0
  223. package/dist/manager/_manager-chunks/{runtime-Cmu7D8A0.js → runtime-ecY5qnmo.js} +193 -184
  224. package/dist/manager/globals-runtime.js +1 -1
  225. package/dist/manager/runtime.js +1 -1
  226. package/dist/manager-api/index.d.ts +1 -1
  227. package/dist/manager-api/index.js +22 -28
  228. package/dist/manager-errors.d.ts +1 -1
  229. package/dist/mcp/index.js +8 -8
  230. package/dist/mocking-utils/index.js +16 -11
  231. package/dist/nextjs-vite/index.js +3 -2
  232. package/dist/nextjs-vite/node/index.js +7 -7
  233. package/dist/nextjs-vite/node-stand-ins/index.d.ts +68 -0
  234. package/dist/nextjs-vite/node-stand-ins/index.js +145 -0
  235. package/dist/nextjs-vite/preset.js +93 -14
  236. package/dist/nextjs-vite/vite-plugin/index.js +7 -7
  237. package/dist/nextjs-vite-plugin/index.d.ts +1 -2
  238. package/dist/nextjs-vite-plugin/index.js +12 -27
  239. package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
  240. package/dist/node-logger/index.d.ts +65 -72
  241. package/dist/node-logger/index.js +11 -12
  242. package/dist/oxc-parser/index.js +11 -13
  243. package/dist/oxc-parser/worker.js +10 -10
  244. package/dist/preview/_chunks/{runtime-DVM_AHbR.js → runtime-6P-h06Te.js} +51 -50
  245. package/dist/preview/_chunks/{runtime-BoxmlDdB.js → runtime-B9KKIDGa.js} +202 -81
  246. package/dist/preview/_chunks/{runtime-BIzIdDbb.js → runtime-BPwAnlRx.js} +482 -334
  247. package/dist/preview/_chunks/{runtime-q3wt0e_N.js → runtime-BUnOhg9h.js} +2 -2
  248. package/dist/preview/_chunks/runtime-Bcv1hJky.js +6305 -0
  249. package/dist/preview/_chunks/{runtime-CqHxptiK.js → runtime-C1jgT6tJ.js} +93 -2145
  250. package/dist/preview/_chunks/{runtime-D7B4bVe_.js → runtime-C8QFpkFV.js} +6 -6
  251. package/dist/preview/_chunks/{runtime-CijtAN7R.js → runtime-DdqR8Fd0.js} +15 -6
  252. package/dist/preview/_chunks/{runtime-B3y8ocOg.js → runtime-DvBfMhis.js} +2 -2
  253. package/dist/preview/_chunks/{runtime-BZSnICCg.js → runtime-WapFVPAh.js} +29 -29
  254. package/dist/preview/runtime.js +1 -1
  255. package/dist/preview-api/index.d.ts +1 -1
  256. package/dist/preview-api/index.js +2 -1
  257. package/dist/preview-errors.d.ts +1 -1
  258. package/dist/react/docgen/docgen-worker.js +11 -12
  259. package/dist/react/entry-preview.js +2 -1
  260. package/dist/react/index.js +6 -4
  261. package/dist/react/preset.js +13 -14
  262. package/dist/react/preview.js +3 -2
  263. package/dist/react-native/bin/get-stories.js +8 -8
  264. package/dist/react-native/index.js +25 -211
  265. package/dist/react-native/metro/node.js +10 -9
  266. package/dist/react-native/metro/withStorybook.js +11 -10
  267. package/dist/react-native/scripts/generate.js +8 -8
  268. package/dist/react-vite/node/index.js +7 -7
  269. package/dist/react-vite/preset.js +7 -7
  270. package/dist/router/index.js +3 -1
  271. package/dist/server-errors.d.ts +1 -1
  272. package/dist/server-errors.js +9 -9
  273. package/dist/shared/open-service/index.d.ts +1 -1
  274. package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
  275. package/dist/telemetry/index.js +43 -45
  276. package/dist/test/index.js +808 -573
  277. package/dist/theming/create.js +2 -1
  278. package/dist/theming/index.js +22 -1
  279. package/dist/types/index.d.ts +1 -1
  280. package/package.json +21 -44
  281. package/dist/_browser-chunks/WithTooltip-V55S6YCY.js +0 -1619
  282. package/dist/_browser-chunks/chunk-5P4QA6MY.js +0 -20
  283. package/dist/_browser-chunks/chunk-UDQ3XQFC.js +0 -108
  284. package/dist/_node-chunks/chunk-6QQTZT3Z.js +0 -19
  285. package/dist/_node-chunks/chunk-BRD332PB.js +0 -3008
  286. package/dist/_node-chunks/chunk-E2XKJLXK.js +0 -4731
  287. package/dist/_node-chunks/chunk-F2LQJXAB.js +0 -29
  288. package/dist/_node-chunks/chunk-MCZZMBPA.js +0 -20
  289. package/dist/_node-chunks/chunk-MMFUHYSU.js +0 -23
  290. package/dist/_node-chunks/chunk-UGFY5LEG.js +0 -18
  291. package/dist/_node-chunks/chunk-UO5ZOCSQ.js +0 -662
  292. package/dist/_node-chunks/chunk-UW35FCXF.js +0 -20
  293. package/dist/_node-chunks/chunk-VMUXW2E2.js +0 -5414
  294. package/dist/_node-chunks/chunk-VNXE7UJL.js +0 -51
  295. package/dist/_node-chunks/chunk-VRJJ43P2.js +0 -11
  296. package/dist/_node-chunks/chunk-WCJUS7OC.js +0 -1877
  297. package/dist/_node-chunks/chunk-WMBMSNB7.js +0 -36
  298. package/dist/_node-chunks/chunk-YV2QBXU6.js +0 -3823
  299. package/dist/_node-chunks/chunk-ZZNBVMBU.js +0 -25
  300. package/dist/_node-chunks/dist-VFUGPNLK.js +0 -16
  301. package/dist/_node-chunks/globby-N7LO32D3.js +0 -2884
  302. package/dist/_node-chunks/jiti-SJDZ7LQB.js +0 -3848
  303. package/dist/_node-chunks/lib-4HD6QL5R.js +0 -366
  304. package/dist/_node-chunks/optimized-tests-LVKXZ3HQ.js +0 -22
  305. package/dist/_node-chunks/postinstallAddon-I6MAL6PW.js +0 -20
  306. package/dist/_node-chunks/session-id-6Z2RXBTG.js +0 -23
  307. package/dist/chunk-BfBzpgct.d.ts +0 -916
  308. package/dist/core-server/presets/common-manager.css +0 -170
  309. package/dist/manager/_manager-chunks/globals-runtime-Bon7UvQk.js +0 -9766
  310. package/dist/manager/_manager-chunks/globals-runtime-DDOIxI_l.js +0 -1584
  311. package/dist/manager/_manager-chunks/runtime-CuJiHYCp.js +0 -22
  312. package/dist/manager/_manager-chunks/runtime-DFhLVh8q.js +0 -456
  313. package/dist/preview/_chunks/runtime-BTPtVY1p.js +0 -1102
  314. package/dist/preview/_chunks/runtime-DZToXfvO.js +0 -9767
@@ -1,8 +1,7 @@
1
- import { a as __toESM, n as __esmMin, t as __commonJSMin } from "./globals-runtime-BdGkqNEt.js";
2
- import { I as require_scheduler, i as useLatest, n as useComposedRef, r as init_use_latest_esm, t as init_use_composed_ref_esm } from "./globals-runtime-ALpzCL93.js";
3
- import { a as createPath, c as invariant, d as resolveTo, f as stripBasename, i as createMemoryHistory, l as joinPaths, n as Action, o as getPathContributingMatches, r as createBrowserHistory, s as init_router, u as parsePath } from "./globals-runtime-DCOX9nD5.js";
1
+ import { a as __toESM, i as __require, n as __esmMin, t as __commonJSMin } from "./globals-runtime-BdGkqNEt.js";
2
+ import { P as require_scheduler, i as useLatest, n as useComposedRef, r as init_use_latest_esm, t as init_use_composed_ref_esm } from "./globals-runtime-DB8fVA5g.js";
4
3
  import { a as _assertThisInitialized, i as init_inheritsLoose, l as _objectWithoutPropertiesLoose$1, n as init_wrapNativeSuper, r as _inheritsLoose, s as _extends$2, t as _wrapNativeSuper } from "./globals-runtime-DwFqpqya.js";
5
- import { n as init_popper, t as createPopper } from "./globals-runtime-DDOIxI_l.js";
4
+ import { a as createPath, c as invariant, d as resolveTo, f as stripBasename, i as createMemoryHistory, l as joinPaths, n as Action, o as getPathContributingMatches, r as createBrowserHistory, s as init_router, u as parsePath } from "./globals-runtime-CBviMKtt.js";
6
5
  //#region ../../node_modules/react/cjs/react.production.min.js
7
6
  /**
8
7
  * @license React
@@ -349,6 +348,12 @@ var require_react_production_min = /* @__PURE__ */ __commonJSMin(((exports) => {
349
348
  var require_react = /* @__PURE__ */ __commonJSMin(((exports, module) => {
350
349
  module.exports = require_react_production_min();
351
350
  }));
351
+ var import_react$4;
352
+ function init_shim_cjs_0() {
353
+ return (init_shim_cjs_0 = __esmMin((() => {
354
+ import_react$4 = require_react();
355
+ })))();
356
+ }
352
357
  //#endregion
353
358
  //#region ../../node_modules/react-dom/cjs/react-dom.production.min.js
354
359
  /**
@@ -7276,6 +7281,197 @@ var require_jsx_runtime = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7276
7281
  module.exports = require_react_jsx_runtime_production_min();
7277
7282
  }));
7278
7283
  //#endregion
7284
+ //#region ../../node_modules/memoizerific/memoizerific.js
7285
+ var require_memoizerific = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7286
+ (function(f) {
7287
+ if (typeof exports === "object" && typeof module !== "undefined") module.exports = f();
7288
+ else if (typeof define === "function" && define.amd) define([], f);
7289
+ else {
7290
+ var g;
7291
+ if (typeof window !== "undefined") g = window;
7292
+ else if (typeof global !== "undefined") g = global;
7293
+ else if (typeof self !== "undefined") g = self;
7294
+ else g = this;
7295
+ g.memoizerific = f();
7296
+ }
7297
+ })(function() {
7298
+ return (function e(t, n, r) {
7299
+ function s(o, u) {
7300
+ if (!n[o]) {
7301
+ if (!t[o]) {
7302
+ var a = typeof __require == "function" && __require;
7303
+ if (!u && a) return a(o, !0);
7304
+ if (i) return i(o, !0);
7305
+ var f = /* @__PURE__ */ new Error("Cannot find module '" + o + "'");
7306
+ throw f.code = "MODULE_NOT_FOUND", f;
7307
+ }
7308
+ var l = n[o] = { exports: {} };
7309
+ t[o][0].call(l.exports, function(e) {
7310
+ var n = t[o][1][e];
7311
+ return s(n ? n : e);
7312
+ }, l, l.exports, e, t, n, r);
7313
+ }
7314
+ return n[o].exports;
7315
+ }
7316
+ var i = typeof __require == "function" && __require;
7317
+ for (var o = 0; o < r.length; o++) s(r[o]);
7318
+ return s;
7319
+ })({
7320
+ 1: [function(_dereq_, module, exports) {
7321
+ module.exports = function(forceSimilar) {
7322
+ if (typeof Map !== "function" || forceSimilar) return new (_dereq_("./similar"))();
7323
+ else return /* @__PURE__ */ new Map();
7324
+ };
7325
+ }, { "./similar": 2 }],
7326
+ 2: [function(_dereq_, module, exports) {
7327
+ function Similar() {
7328
+ this.list = [];
7329
+ this.lastItem = void 0;
7330
+ this.size = 0;
7331
+ return this;
7332
+ }
7333
+ Similar.prototype.get = function(key) {
7334
+ var index;
7335
+ if (this.lastItem && this.isEqual(this.lastItem.key, key)) return this.lastItem.val;
7336
+ index = this.indexOf(key);
7337
+ if (index >= 0) {
7338
+ this.lastItem = this.list[index];
7339
+ return this.list[index].val;
7340
+ }
7341
+ };
7342
+ Similar.prototype.set = function(key, val) {
7343
+ var index;
7344
+ if (this.lastItem && this.isEqual(this.lastItem.key, key)) {
7345
+ this.lastItem.val = val;
7346
+ return this;
7347
+ }
7348
+ index = this.indexOf(key);
7349
+ if (index >= 0) {
7350
+ this.lastItem = this.list[index];
7351
+ this.list[index].val = val;
7352
+ return this;
7353
+ }
7354
+ this.lastItem = {
7355
+ key,
7356
+ val
7357
+ };
7358
+ this.list.push(this.lastItem);
7359
+ this.size++;
7360
+ return this;
7361
+ };
7362
+ Similar.prototype.delete = function(key) {
7363
+ var index;
7364
+ if (this.lastItem && this.isEqual(this.lastItem.key, key)) this.lastItem = void 0;
7365
+ index = this.indexOf(key);
7366
+ if (index >= 0) {
7367
+ this.size--;
7368
+ return this.list.splice(index, 1)[0];
7369
+ }
7370
+ };
7371
+ Similar.prototype.has = function(key) {
7372
+ var index;
7373
+ if (this.lastItem && this.isEqual(this.lastItem.key, key)) return true;
7374
+ index = this.indexOf(key);
7375
+ if (index >= 0) {
7376
+ this.lastItem = this.list[index];
7377
+ return true;
7378
+ }
7379
+ return false;
7380
+ };
7381
+ Similar.prototype.forEach = function(callback, thisArg) {
7382
+ var i = 0;
7383
+ for (; i < this.size; i++) callback.call(thisArg || this, this.list[i].val, this.list[i].key, this);
7384
+ };
7385
+ Similar.prototype.indexOf = function(key) {
7386
+ var i = 0;
7387
+ for (; i < this.size; i++) if (this.isEqual(this.list[i].key, key)) return i;
7388
+ return -1;
7389
+ };
7390
+ Similar.prototype.isEqual = function(val1, val2) {
7391
+ return val1 === val2 || val1 !== val1 && val2 !== val2;
7392
+ };
7393
+ module.exports = Similar;
7394
+ }, {}],
7395
+ 3: [function(_dereq_, module, exports) {
7396
+ var MapOrSimilar = _dereq_("map-or-similar");
7397
+ module.exports = function(limit) {
7398
+ var cache = new MapOrSimilar(false), lru = [];
7399
+ return function(fn) {
7400
+ var memoizerific = function() {
7401
+ var currentCache = cache, newMap, fnResult, argsLengthMinusOne = arguments.length - 1, lruPath = Array(argsLengthMinusOne + 1), isMemoized = true, i;
7402
+ if ((memoizerific.numArgs || memoizerific.numArgs === 0) && memoizerific.numArgs !== argsLengthMinusOne + 1) throw new Error("Memoizerific functions should always be called with the same number of arguments");
7403
+ for (i = 0; i < argsLengthMinusOne; i++) {
7404
+ lruPath[i] = {
7405
+ cacheItem: currentCache,
7406
+ arg: arguments[i]
7407
+ };
7408
+ if (currentCache.has(arguments[i])) {
7409
+ currentCache = currentCache.get(arguments[i]);
7410
+ continue;
7411
+ }
7412
+ isMemoized = false;
7413
+ newMap = new MapOrSimilar(false);
7414
+ currentCache.set(arguments[i], newMap);
7415
+ currentCache = newMap;
7416
+ }
7417
+ if (isMemoized) {
7418
+ if (currentCache.has(arguments[argsLengthMinusOne])) fnResult = currentCache.get(arguments[argsLengthMinusOne]);
7419
+ else isMemoized = false;
7420
+ }
7421
+ if (!isMemoized) {
7422
+ fnResult = fn.apply(null, arguments);
7423
+ currentCache.set(arguments[argsLengthMinusOne], fnResult);
7424
+ }
7425
+ if (limit > 0) {
7426
+ lruPath[argsLengthMinusOne] = {
7427
+ cacheItem: currentCache,
7428
+ arg: arguments[argsLengthMinusOne]
7429
+ };
7430
+ if (isMemoized) moveToMostRecentLru(lru, lruPath);
7431
+ else lru.push(lruPath);
7432
+ if (lru.length > limit) removeCachedResult(lru.shift());
7433
+ }
7434
+ memoizerific.wasMemoized = isMemoized;
7435
+ memoizerific.numArgs = argsLengthMinusOne + 1;
7436
+ return fnResult;
7437
+ };
7438
+ memoizerific.limit = limit;
7439
+ memoizerific.wasMemoized = false;
7440
+ memoizerific.cache = cache;
7441
+ memoizerific.lru = lru;
7442
+ return memoizerific;
7443
+ };
7444
+ };
7445
+ function moveToMostRecentLru(lru, lruPath) {
7446
+ var lruLen = lru.length, lruPathLen = lruPath.length, isMatch, i = 0, ii;
7447
+ for (; i < lruLen; i++) {
7448
+ isMatch = true;
7449
+ for (ii = 0; ii < lruPathLen; ii++) if (!isEqual(lru[i][ii].arg, lruPath[ii].arg)) {
7450
+ isMatch = false;
7451
+ break;
7452
+ }
7453
+ if (isMatch) break;
7454
+ }
7455
+ lru.push(lru.splice(i, 1)[0]);
7456
+ }
7457
+ function removeCachedResult(removedLru) {
7458
+ var removedLruLen = removedLru.length, currentLru = removedLru[removedLruLen - 1], tmp, i;
7459
+ currentLru.cacheItem.delete(currentLru.arg);
7460
+ for (i = removedLruLen - 2; i >= 0; i--) {
7461
+ currentLru = removedLru[i];
7462
+ tmp = currentLru.cacheItem.get(currentLru.arg);
7463
+ if (!tmp || !tmp.size) currentLru.cacheItem.delete(currentLru.arg);
7464
+ else break;
7465
+ }
7466
+ }
7467
+ function isEqual(val1, val2) {
7468
+ return val1 === val2 || val1 !== val1 && val2 !== val2;
7469
+ }
7470
+ }, { "map-or-similar": 1 }]
7471
+ }, {}, [3])(3);
7472
+ });
7473
+ }));
7474
+ //#endregion
7279
7475
  //#region ../../node_modules/picocolors/picocolors.browser.js
7280
7476
  var require_picocolors_browser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7281
7477
  var x = String;
@@ -8235,6 +8431,989 @@ function init_index_browser() {
8235
8431
  })))();
8236
8432
  }
8237
8433
  //#endregion
8434
+ //#region ../../node_modules/loupe/lib/helpers.js
8435
+ function colorise(value, styleType) {
8436
+ const color = ansiColors[styles[styleType]] || ansiColors[styleType] || "";
8437
+ if (!color) return String(value);
8438
+ return `\u001b[${color[0]}m${String(value)}\u001b[${color[1]}m`;
8439
+ }
8440
+ function normaliseOptions({ showHidden = false, depth = 2, colors = false, customInspect = true, showProxy = false, maxArrayLength = Infinity, breakLength = Infinity, seen = [], truncate = Infinity, stylize = String } = {}, inspect) {
8441
+ const options = {
8442
+ showHidden: Boolean(showHidden),
8443
+ depth: Number(depth),
8444
+ colors: Boolean(colors),
8445
+ customInspect: Boolean(customInspect),
8446
+ showProxy: Boolean(showProxy),
8447
+ maxArrayLength: Number(maxArrayLength),
8448
+ breakLength: Number(breakLength),
8449
+ truncate: Number(truncate),
8450
+ seen,
8451
+ inspect,
8452
+ stylize
8453
+ };
8454
+ if (options.colors) options.stylize = colorise;
8455
+ return options;
8456
+ }
8457
+ function isHighSurrogate(char) {
8458
+ return char >= "\ud800" && char <= "\udbff";
8459
+ }
8460
+ function truncate(string, length, tail = "…") {
8461
+ string = String(string);
8462
+ const tailLength = tail.length;
8463
+ const stringLength = string.length;
8464
+ if (tailLength > length && stringLength > tailLength) return tail;
8465
+ if (stringLength > length && stringLength > tailLength) {
8466
+ let end = length - tailLength;
8467
+ if (end > 0 && isHighSurrogate(string[end - 1])) end = end - 1;
8468
+ return `${string.slice(0, end)}${tail}`;
8469
+ }
8470
+ return string;
8471
+ }
8472
+ function inspectList(list, options, inspectItem, separator = ", ") {
8473
+ inspectItem = inspectItem || options.inspect;
8474
+ const size = list.length;
8475
+ if (size === 0) return "";
8476
+ const originalLength = options.truncate;
8477
+ let output = "";
8478
+ let peek = "";
8479
+ let truncated = "";
8480
+ for (let i = 0; i < size; i += 1) {
8481
+ const last = i + 1 === list.length;
8482
+ const secondToLast = i + 2 === list.length;
8483
+ truncated = `…(${list.length - i})`;
8484
+ const value = list[i];
8485
+ options.truncate = originalLength - output.length - (last ? 0 : separator.length);
8486
+ const string = peek || inspectItem(value, options) + (last ? "" : separator);
8487
+ const nextLength = output.length + string.length;
8488
+ const truncatedLength = nextLength + truncated.length;
8489
+ if (last && nextLength > originalLength && output.length + truncated.length <= originalLength) break;
8490
+ if (!last && !secondToLast && truncatedLength > originalLength) break;
8491
+ peek = last ? "" : inspectItem(list[i + 1], options) + (secondToLast ? "" : separator);
8492
+ if (!last && secondToLast && truncatedLength > originalLength && nextLength + peek.length > originalLength) break;
8493
+ output += string;
8494
+ if (!last && !secondToLast && nextLength + peek.length >= originalLength) {
8495
+ truncated = `…(${list.length - i - 1})`;
8496
+ break;
8497
+ }
8498
+ truncated = "";
8499
+ }
8500
+ return `${output}${truncated}`;
8501
+ }
8502
+ function quoteComplexKey(key) {
8503
+ if (key.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)) return key;
8504
+ return JSON.stringify(key).replace(/'/g, "\\'").replace(/\\"/g, "\"").replace(/(^"|"$)/g, "'");
8505
+ }
8506
+ function inspectProperty([key, value], options) {
8507
+ options.truncate -= 2;
8508
+ if (typeof key === "string") key = quoteComplexKey(key);
8509
+ else if (typeof key !== "number") key = `[${options.inspect(key, options)}]`;
8510
+ options.truncate -= key.length;
8511
+ value = options.inspect(value, options);
8512
+ return `${key}: ${value}`;
8513
+ }
8514
+ var ansiColors, styles;
8515
+ function init_helpers() {
8516
+ return (init_helpers = __esmMin((() => {
8517
+ ansiColors = {
8518
+ bold: ["1", "22"],
8519
+ dim: ["2", "22"],
8520
+ italic: ["3", "23"],
8521
+ underline: ["4", "24"],
8522
+ inverse: ["7", "27"],
8523
+ hidden: ["8", "28"],
8524
+ strike: ["9", "29"],
8525
+ black: ["30", "39"],
8526
+ red: ["31", "39"],
8527
+ green: ["32", "39"],
8528
+ yellow: ["33", "39"],
8529
+ blue: ["34", "39"],
8530
+ magenta: ["35", "39"],
8531
+ cyan: ["36", "39"],
8532
+ white: ["37", "39"],
8533
+ brightblack: ["30;1", "39"],
8534
+ brightred: ["31;1", "39"],
8535
+ brightgreen: ["32;1", "39"],
8536
+ brightyellow: ["33;1", "39"],
8537
+ brightblue: ["34;1", "39"],
8538
+ brightmagenta: ["35;1", "39"],
8539
+ brightcyan: ["36;1", "39"],
8540
+ brightwhite: ["37;1", "39"],
8541
+ grey: ["90", "39"]
8542
+ };
8543
+ styles = {
8544
+ special: "cyan",
8545
+ number: "yellow",
8546
+ bigint: "yellow",
8547
+ boolean: "yellow",
8548
+ undefined: "grey",
8549
+ null: "bold",
8550
+ string: "green",
8551
+ symbol: "green",
8552
+ date: "magenta",
8553
+ regexp: "red"
8554
+ };
8555
+ })))();
8556
+ }
8557
+ //#endregion
8558
+ //#region ../../node_modules/loupe/lib/array.js
8559
+ function inspectArray(array, options) {
8560
+ const nonIndexProperties = Object.keys(array).slice(array.length);
8561
+ if (!array.length && !nonIndexProperties.length) return "[]";
8562
+ options.truncate -= 4;
8563
+ const listContents = inspectList(array, options);
8564
+ options.truncate -= listContents.length;
8565
+ let propertyContents = "";
8566
+ if (nonIndexProperties.length) propertyContents = inspectList(nonIndexProperties.map((key) => [key, array[key]]), options, inspectProperty);
8567
+ return `[ ${listContents}${propertyContents ? `, ${propertyContents}` : ""} ]`;
8568
+ }
8569
+ function init_array() {
8570
+ return (init_array = __esmMin((() => {
8571
+ init_helpers();
8572
+ })))();
8573
+ }
8574
+ //#endregion
8575
+ //#region ../../node_modules/loupe/lib/typedarray.js
8576
+ function inspectTypedArray(array, options) {
8577
+ const name = getArrayName(array);
8578
+ options.truncate -= name.length + 4;
8579
+ const nonIndexProperties = Object.keys(array).slice(array.length);
8580
+ if (!array.length && !nonIndexProperties.length) return `${name}[]`;
8581
+ let output = "";
8582
+ for (let i = 0; i < array.length; i++) {
8583
+ const string = `${options.stylize(truncate(array[i], options.truncate), "number")}${i === array.length - 1 ? "" : ", "}`;
8584
+ options.truncate -= string.length;
8585
+ if (array[i] !== array.length && options.truncate <= 3) {
8586
+ output += `…(${array.length - array[i] + 1})`;
8587
+ break;
8588
+ }
8589
+ output += string;
8590
+ }
8591
+ let propertyContents = "";
8592
+ if (nonIndexProperties.length) propertyContents = inspectList(nonIndexProperties.map((key) => [key, array[key]]), options, inspectProperty);
8593
+ return `${name}[ ${output}${propertyContents ? `, ${propertyContents}` : ""} ]`;
8594
+ }
8595
+ var getArrayName;
8596
+ function init_typedarray() {
8597
+ return (init_typedarray = __esmMin((() => {
8598
+ init_helpers();
8599
+ getArrayName = (array) => {
8600
+ if (typeof Buffer === "function" && array instanceof Buffer) return "Buffer";
8601
+ if (array[Symbol.toStringTag]) return array[Symbol.toStringTag];
8602
+ return array.constructor.name;
8603
+ };
8604
+ })))();
8605
+ }
8606
+ //#endregion
8607
+ //#region ../../node_modules/loupe/lib/date.js
8608
+ function inspectDate(dateObject, options) {
8609
+ const stringRepresentation = dateObject.toJSON();
8610
+ if (stringRepresentation === null) return "Invalid Date";
8611
+ const split = stringRepresentation.split("T");
8612
+ const date = split[0];
8613
+ return options.stylize(`${date}T${truncate(split[1], options.truncate - date.length - 1)}`, "date");
8614
+ }
8615
+ function init_date() {
8616
+ return (init_date = __esmMin((() => {
8617
+ init_helpers();
8618
+ })))();
8619
+ }
8620
+ //#endregion
8621
+ //#region ../../node_modules/loupe/lib/function.js
8622
+ function inspectFunction(func, options) {
8623
+ const functionType = func[Symbol.toStringTag] || "Function";
8624
+ const name = func.name;
8625
+ if (!name) return options.stylize(`[${functionType}]`, "special");
8626
+ return options.stylize(`[${functionType} ${truncate(name, options.truncate - 11)}]`, "special");
8627
+ }
8628
+ function init_function() {
8629
+ return (init_function = __esmMin((() => {
8630
+ init_helpers();
8631
+ })))();
8632
+ }
8633
+ //#endregion
8634
+ //#region ../../node_modules/loupe/lib/map.js
8635
+ function inspectMapEntry([key, value], options) {
8636
+ options.truncate -= 4;
8637
+ key = options.inspect(key, options);
8638
+ options.truncate -= key.length;
8639
+ value = options.inspect(value, options);
8640
+ return `${key} => ${value}`;
8641
+ }
8642
+ function mapToEntries(map) {
8643
+ const entries = [];
8644
+ map.forEach((value, key) => {
8645
+ entries.push([key, value]);
8646
+ });
8647
+ return entries;
8648
+ }
8649
+ function inspectMap(map, options) {
8650
+ if (map.size === 0) return "Map{}";
8651
+ options.truncate -= 7;
8652
+ return `Map{ ${inspectList(mapToEntries(map), options, inspectMapEntry)} }`;
8653
+ }
8654
+ function init_map() {
8655
+ return (init_map = __esmMin((() => {
8656
+ init_helpers();
8657
+ })))();
8658
+ }
8659
+ //#endregion
8660
+ //#region ../../node_modules/loupe/lib/number.js
8661
+ function inspectNumber(number, options) {
8662
+ if (isNaN$1(number)) return options.stylize("NaN", "number");
8663
+ if (number === Infinity) return options.stylize("Infinity", "number");
8664
+ if (number === -Infinity) return options.stylize("-Infinity", "number");
8665
+ if (number === 0) return options.stylize(1 / number === Infinity ? "+0" : "-0", "number");
8666
+ return options.stylize(truncate(String(number), options.truncate), "number");
8667
+ }
8668
+ var isNaN$1;
8669
+ function init_number() {
8670
+ return (init_number = __esmMin((() => {
8671
+ init_helpers();
8672
+ isNaN$1 = Number.isNaN || ((i) => i !== i);
8673
+ })))();
8674
+ }
8675
+ //#endregion
8676
+ //#region ../../node_modules/loupe/lib/bigint.js
8677
+ function inspectBigInt(number, options) {
8678
+ let nums = truncate(number.toString(), options.truncate - 1);
8679
+ if (nums !== "…") nums += "n";
8680
+ return options.stylize(nums, "bigint");
8681
+ }
8682
+ function init_bigint() {
8683
+ return (init_bigint = __esmMin((() => {
8684
+ init_helpers();
8685
+ })))();
8686
+ }
8687
+ //#endregion
8688
+ //#region ../../node_modules/loupe/lib/regexp.js
8689
+ function inspectRegExp(value, options) {
8690
+ const flags = value.toString().split("/")[2];
8691
+ const sourceLength = options.truncate - (2 + flags.length);
8692
+ const source = value.source;
8693
+ return options.stylize(`/${truncate(source, sourceLength)}/${flags}`, "regexp");
8694
+ }
8695
+ function init_regexp() {
8696
+ return (init_regexp = __esmMin((() => {
8697
+ init_helpers();
8698
+ })))();
8699
+ }
8700
+ //#endregion
8701
+ //#region ../../node_modules/loupe/lib/set.js
8702
+ function arrayFromSet(set) {
8703
+ const values = [];
8704
+ set.forEach((value) => {
8705
+ values.push(value);
8706
+ });
8707
+ return values;
8708
+ }
8709
+ function inspectSet(set, options) {
8710
+ if (set.size === 0) return "Set{}";
8711
+ options.truncate -= 7;
8712
+ return `Set{ ${inspectList(arrayFromSet(set), options)} }`;
8713
+ }
8714
+ function init_set() {
8715
+ return (init_set = __esmMin((() => {
8716
+ init_helpers();
8717
+ })))();
8718
+ }
8719
+ //#endregion
8720
+ //#region ../../node_modules/loupe/lib/string.js
8721
+ function escape(char) {
8722
+ return escapeCharacters[char] || `\\u${`0000${char.charCodeAt(0).toString(hex)}`.slice(-4)}`;
8723
+ }
8724
+ function inspectString(string, options) {
8725
+ if (stringEscapeChars.test(string)) string = string.replace(stringEscapeChars, escape);
8726
+ return options.stylize(`'${truncate(string, options.truncate - 2)}'`, "string");
8727
+ }
8728
+ var stringEscapeChars, escapeCharacters, hex;
8729
+ function init_string() {
8730
+ return (init_string = __esmMin((() => {
8731
+ init_helpers();
8732
+ stringEscapeChars = /* @__PURE__ */ new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]", "g");
8733
+ escapeCharacters = {
8734
+ "\b": "\\b",
8735
+ " ": "\\t",
8736
+ "\n": "\\n",
8737
+ "\f": "\\f",
8738
+ "\r": "\\r",
8739
+ "'": "\\'",
8740
+ "\\": "\\\\"
8741
+ };
8742
+ hex = 16;
8743
+ })))();
8744
+ }
8745
+ //#endregion
8746
+ //#region ../../node_modules/loupe/lib/symbol.js
8747
+ function inspectSymbol(value) {
8748
+ if ("description" in Symbol.prototype) return value.description ? `Symbol(${value.description})` : "Symbol()";
8749
+ return value.toString();
8750
+ }
8751
+ //#endregion
8752
+ //#region ../../node_modules/loupe/lib/promise.js
8753
+ var getPromiseValue;
8754
+ function init_promise() {
8755
+ return (init_promise = __esmMin((() => {
8756
+ getPromiseValue = () => "Promise{…}";
8757
+ })))();
8758
+ }
8759
+ //#endregion
8760
+ //#region ../../node_modules/loupe/lib/object.js
8761
+ function inspectObject$1(object, options) {
8762
+ const properties = Object.getOwnPropertyNames(object);
8763
+ const symbols = Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(object) : [];
8764
+ if (properties.length === 0 && symbols.length === 0) return "{}";
8765
+ options.truncate -= 4;
8766
+ options.seen = options.seen || [];
8767
+ if (options.seen.includes(object)) return "[Circular]";
8768
+ options.seen.push(object);
8769
+ const propertyContents = inspectList(properties.map((key) => [key, object[key]]), options, inspectProperty);
8770
+ const symbolContents = inspectList(symbols.map((key) => [key, object[key]]), options, inspectProperty);
8771
+ options.seen.pop();
8772
+ let sep = "";
8773
+ if (propertyContents && symbolContents) sep = ", ";
8774
+ return `{ ${propertyContents}${sep}${symbolContents} }`;
8775
+ }
8776
+ function init_object() {
8777
+ return (init_object = __esmMin((() => {
8778
+ init_helpers();
8779
+ })))();
8780
+ }
8781
+ //#endregion
8782
+ //#region ../../node_modules/loupe/lib/class.js
8783
+ function inspectClass(value, options) {
8784
+ let name = "";
8785
+ if (toStringTag && toStringTag in value) name = value[toStringTag];
8786
+ name = name || value.constructor.name;
8787
+ if (!name || name === "_class") name = "<Anonymous Class>";
8788
+ options.truncate -= name.length;
8789
+ return `${name}${inspectObject$1(value, options)}`;
8790
+ }
8791
+ var toStringTag;
8792
+ function init_class() {
8793
+ return (init_class = __esmMin((() => {
8794
+ init_object();
8795
+ toStringTag = typeof Symbol !== "undefined" && Symbol.toStringTag ? Symbol.toStringTag : false;
8796
+ })))();
8797
+ }
8798
+ //#endregion
8799
+ //#region ../../node_modules/loupe/lib/arguments.js
8800
+ function inspectArguments(args, options) {
8801
+ if (args.length === 0) return "Arguments[]";
8802
+ options.truncate -= 13;
8803
+ return `Arguments[ ${inspectList(args, options)} ]`;
8804
+ }
8805
+ function init_arguments() {
8806
+ return (init_arguments = __esmMin((() => {
8807
+ init_helpers();
8808
+ })))();
8809
+ }
8810
+ //#endregion
8811
+ //#region ../../node_modules/loupe/lib/error.js
8812
+ function inspectObject(error, options) {
8813
+ const properties = Object.getOwnPropertyNames(error).filter((key) => errorKeys.indexOf(key) === -1);
8814
+ const name = error.name;
8815
+ options.truncate -= name.length;
8816
+ let message = "";
8817
+ if (typeof error.message === "string") message = truncate(error.message, options.truncate);
8818
+ else properties.unshift("message");
8819
+ message = message ? `: ${message}` : "";
8820
+ options.truncate -= message.length + 5;
8821
+ options.seen = options.seen || [];
8822
+ if (options.seen.includes(error)) return "[Circular]";
8823
+ options.seen.push(error);
8824
+ const propertyContents = inspectList(properties.map((key) => [key, error[key]]), options, inspectProperty);
8825
+ return `${name}${message}${propertyContents ? ` { ${propertyContents} }` : ""}`;
8826
+ }
8827
+ var errorKeys;
8828
+ function init_error() {
8829
+ return (init_error = __esmMin((() => {
8830
+ init_helpers();
8831
+ errorKeys = [
8832
+ "stack",
8833
+ "line",
8834
+ "column",
8835
+ "name",
8836
+ "message",
8837
+ "fileName",
8838
+ "lineNumber",
8839
+ "columnNumber",
8840
+ "number",
8841
+ "description",
8842
+ "cause"
8843
+ ];
8844
+ })))();
8845
+ }
8846
+ //#endregion
8847
+ //#region ../../node_modules/loupe/lib/html.js
8848
+ function inspectAttribute([key, value], options) {
8849
+ options.truncate -= 3;
8850
+ if (!value) return `${options.stylize(String(key), "yellow")}`;
8851
+ return `${options.stylize(String(key), "yellow")}=${options.stylize(`"${value}"`, "string")}`;
8852
+ }
8853
+ function inspectNodeCollection(collection, options) {
8854
+ return inspectList(collection, options, inspectNode, "\n");
8855
+ }
8856
+ function inspectNode(node, options) {
8857
+ switch (node.nodeType) {
8858
+ case 1: return inspectHTML(node, options);
8859
+ case 3: return options.inspect(node.data, options);
8860
+ default: return options.inspect(node, options);
8861
+ }
8862
+ }
8863
+ function inspectHTML(element, options) {
8864
+ const properties = element.getAttributeNames();
8865
+ const name = element.tagName.toLowerCase();
8866
+ const head = options.stylize(`<${name}`, "special");
8867
+ const headClose = options.stylize(`>`, "special");
8868
+ const tail = options.stylize(`</${name}>`, "special");
8869
+ options.truncate -= name.length * 2 + 5;
8870
+ let propertyContents = "";
8871
+ if (properties.length > 0) {
8872
+ propertyContents += " ";
8873
+ propertyContents += inspectList(properties.map((key) => [key, element.getAttribute(key)]), options, inspectAttribute, " ");
8874
+ }
8875
+ options.truncate -= propertyContents.length;
8876
+ const truncate = options.truncate;
8877
+ let children = inspectNodeCollection(element.children, options);
8878
+ if (children && children.length > truncate) children = `…(${element.children.length})`;
8879
+ return `${head}${propertyContents}${headClose}${children}${tail}`;
8880
+ }
8881
+ function init_html() {
8882
+ return (init_html = __esmMin((() => {
8883
+ init_helpers();
8884
+ })))();
8885
+ }
8886
+ //#endregion
8887
+ //#region ../../node_modules/loupe/lib/index.js
8888
+ function inspect(value, opts = {}) {
8889
+ const options = normaliseOptions(opts, inspect);
8890
+ const { customInspect } = options;
8891
+ let type = value === null ? "null" : typeof value;
8892
+ if (type === "object") type = toString.call(value).slice(8, -1);
8893
+ if (type in baseTypesMap) return baseTypesMap[type](value, options);
8894
+ if (customInspect && value) {
8895
+ const output = inspectCustom(value, options, type, inspect);
8896
+ if (output) {
8897
+ if (typeof output === "string") return output;
8898
+ return inspect(output, options);
8899
+ }
8900
+ }
8901
+ const proto = value ? Object.getPrototypeOf(value) : false;
8902
+ if (proto === Object.prototype || proto === null) return inspectObject$1(value, options);
8903
+ if (value && typeof HTMLElement === "function" && value instanceof HTMLElement) return inspectHTML(value, options);
8904
+ if ("constructor" in value) {
8905
+ if (value.constructor !== Object) return inspectClass(value, options);
8906
+ return inspectObject$1(value, options);
8907
+ }
8908
+ if (value === Object(value)) return inspectObject$1(value, options);
8909
+ return options.stylize(String(value), type);
8910
+ }
8911
+ var chaiInspect, nodeInspect, constructorMap, stringTagMap, baseTypesMap, inspectCustom, toString;
8912
+ function init_lib() {
8913
+ return (init_lib = __esmMin((() => {
8914
+ init_array();
8915
+ init_typedarray();
8916
+ init_date();
8917
+ init_function();
8918
+ init_map();
8919
+ init_number();
8920
+ init_bigint();
8921
+ init_regexp();
8922
+ init_set();
8923
+ init_string();
8924
+ init_promise();
8925
+ init_class();
8926
+ init_object();
8927
+ init_arguments();
8928
+ init_error();
8929
+ init_html();
8930
+ init_helpers();
8931
+ chaiInspect = typeof Symbol === "function" && typeof Symbol.for === "function" ? Symbol.for("chai/inspect") : "@@chai/inspect";
8932
+ nodeInspect = Symbol.for("nodejs.util.inspect.custom");
8933
+ constructorMap = /* @__PURE__ */ new WeakMap();
8934
+ stringTagMap = {};
8935
+ baseTypesMap = {
8936
+ undefined: (value, options) => options.stylize("undefined", "undefined"),
8937
+ null: (value, options) => options.stylize("null", "null"),
8938
+ boolean: (value, options) => options.stylize(String(value), "boolean"),
8939
+ Boolean: (value, options) => options.stylize(String(value), "boolean"),
8940
+ number: inspectNumber,
8941
+ Number: inspectNumber,
8942
+ bigint: inspectBigInt,
8943
+ BigInt: inspectBigInt,
8944
+ string: inspectString,
8945
+ String: inspectString,
8946
+ function: inspectFunction,
8947
+ Function: inspectFunction,
8948
+ symbol: inspectSymbol,
8949
+ Symbol: inspectSymbol,
8950
+ Array: inspectArray,
8951
+ Date: inspectDate,
8952
+ Map: inspectMap,
8953
+ Set: inspectSet,
8954
+ RegExp: inspectRegExp,
8955
+ Promise: getPromiseValue,
8956
+ WeakSet: (value, options) => options.stylize("WeakSet{…}", "special"),
8957
+ WeakMap: (value, options) => options.stylize("WeakMap{…}", "special"),
8958
+ Arguments: inspectArguments,
8959
+ Int8Array: inspectTypedArray,
8960
+ Uint8Array: inspectTypedArray,
8961
+ Uint8ClampedArray: inspectTypedArray,
8962
+ Int16Array: inspectTypedArray,
8963
+ Uint16Array: inspectTypedArray,
8964
+ Int32Array: inspectTypedArray,
8965
+ Uint32Array: inspectTypedArray,
8966
+ Float32Array: inspectTypedArray,
8967
+ Float64Array: inspectTypedArray,
8968
+ Generator: () => "",
8969
+ DataView: () => "",
8970
+ ArrayBuffer: () => "",
8971
+ Error: inspectObject,
8972
+ HTMLCollection: inspectNodeCollection,
8973
+ NodeList: inspectNodeCollection
8974
+ };
8975
+ inspectCustom = (value, options, type, inspectFn) => {
8976
+ if (chaiInspect in value && typeof value[chaiInspect] === "function") return value[chaiInspect](options);
8977
+ if (nodeInspect in value && typeof value[nodeInspect] === "function") return value[nodeInspect](options.depth, options, inspectFn);
8978
+ if ("inspect" in value && typeof value.inspect === "function") return value.inspect(options.depth, options);
8979
+ if ("constructor" in value && constructorMap.has(value.constructor)) return constructorMap.get(value.constructor)(value, options);
8980
+ if (stringTagMap[type]) return stringTagMap[type](value, options);
8981
+ return "";
8982
+ };
8983
+ toString = Object.prototype.toString;
8984
+ })))();
8985
+ }
8986
+ //#endregion
8987
+ //#region ../../node_modules/min-indent/index.js
8988
+ var require_min_indent = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8989
+ module.exports = (string) => {
8990
+ const match = string.match(/^[ \t]*(?=\S)/gm);
8991
+ if (!match) return 0;
8992
+ return match.reduce((r, a) => Math.min(r, a.length), Infinity);
8993
+ };
8994
+ }));
8995
+ //#endregion
8996
+ //#region ../../node_modules/indent-string/index.js
8997
+ var require_indent_string = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8998
+ module.exports = (string, count = 1, options) => {
8999
+ options = {
9000
+ indent: " ",
9001
+ includeEmptyLines: false,
9002
+ ...options
9003
+ };
9004
+ if (typeof string !== "string") throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof string}\``);
9005
+ if (typeof count !== "number") throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof count}\``);
9006
+ if (typeof options.indent !== "string") throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof options.indent}\``);
9007
+ if (count === 0) return string;
9008
+ const regex = options.includeEmptyLines ? /^/gm : /^(?!\s*$)/gm;
9009
+ return string.replace(regex, options.indent.repeat(count));
9010
+ };
9011
+ }));
9012
+ //#endregion
9013
+ //#region ../../node_modules/lz-string/libs/lz-string.js
9014
+ var require_lz_string = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9015
+ var LZString = (function() {
9016
+ var f = String.fromCharCode;
9017
+ var keyStrBase64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
9018
+ var keyStrUriSafe = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$";
9019
+ var baseReverseDic = {};
9020
+ function getBaseValue(alphabet, character) {
9021
+ if (!baseReverseDic[alphabet]) {
9022
+ baseReverseDic[alphabet] = {};
9023
+ for (var i = 0; i < alphabet.length; i++) baseReverseDic[alphabet][alphabet.charAt(i)] = i;
9024
+ }
9025
+ return baseReverseDic[alphabet][character];
9026
+ }
9027
+ var LZString = {
9028
+ compressToBase64: function(input) {
9029
+ if (input == null) return "";
9030
+ var res = LZString._compress(input, 6, function(a) {
9031
+ return keyStrBase64.charAt(a);
9032
+ });
9033
+ switch (res.length % 4) {
9034
+ default:
9035
+ case 0: return res;
9036
+ case 1: return res + "===";
9037
+ case 2: return res + "==";
9038
+ case 3: return res + "=";
9039
+ }
9040
+ },
9041
+ decompressFromBase64: function(input) {
9042
+ if (input == null) return "";
9043
+ if (input == "") return null;
9044
+ return LZString._decompress(input.length, 32, function(index) {
9045
+ return getBaseValue(keyStrBase64, input.charAt(index));
9046
+ });
9047
+ },
9048
+ compressToUTF16: function(input) {
9049
+ if (input == null) return "";
9050
+ return LZString._compress(input, 15, function(a) {
9051
+ return f(a + 32);
9052
+ }) + " ";
9053
+ },
9054
+ decompressFromUTF16: function(compressed) {
9055
+ if (compressed == null) return "";
9056
+ if (compressed == "") return null;
9057
+ return LZString._decompress(compressed.length, 16384, function(index) {
9058
+ return compressed.charCodeAt(index) - 32;
9059
+ });
9060
+ },
9061
+ compressToUint8Array: function(uncompressed) {
9062
+ var compressed = LZString.compress(uncompressed);
9063
+ var buf = new Uint8Array(compressed.length * 2);
9064
+ for (var i = 0, TotalLen = compressed.length; i < TotalLen; i++) {
9065
+ var current_value = compressed.charCodeAt(i);
9066
+ buf[i * 2] = current_value >>> 8;
9067
+ buf[i * 2 + 1] = current_value % 256;
9068
+ }
9069
+ return buf;
9070
+ },
9071
+ decompressFromUint8Array: function(compressed) {
9072
+ if (compressed === null || compressed === void 0) return LZString.decompress(compressed);
9073
+ else {
9074
+ var buf = new Array(compressed.length / 2);
9075
+ for (var i = 0, TotalLen = buf.length; i < TotalLen; i++) buf[i] = compressed[i * 2] * 256 + compressed[i * 2 + 1];
9076
+ var result = [];
9077
+ buf.forEach(function(c) {
9078
+ result.push(f(c));
9079
+ });
9080
+ return LZString.decompress(result.join(""));
9081
+ }
9082
+ },
9083
+ compressToEncodedURIComponent: function(input) {
9084
+ if (input == null) return "";
9085
+ return LZString._compress(input, 6, function(a) {
9086
+ return keyStrUriSafe.charAt(a);
9087
+ });
9088
+ },
9089
+ decompressFromEncodedURIComponent: function(input) {
9090
+ if (input == null) return "";
9091
+ if (input == "") return null;
9092
+ input = input.replace(/ /g, "+");
9093
+ return LZString._decompress(input.length, 32, function(index) {
9094
+ return getBaseValue(keyStrUriSafe, input.charAt(index));
9095
+ });
9096
+ },
9097
+ compress: function(uncompressed) {
9098
+ return LZString._compress(uncompressed, 16, function(a) {
9099
+ return f(a);
9100
+ });
9101
+ },
9102
+ _compress: function(uncompressed, bitsPerChar, getCharFromInt) {
9103
+ if (uncompressed == null) return "";
9104
+ var i, value, context_dictionary = {}, context_dictionaryToCreate = {}, context_c = "", context_wc = "", context_w = "", context_enlargeIn = 2, context_dictSize = 3, context_numBits = 2, context_data = [], context_data_val = 0, context_data_position = 0, ii = 0;
9105
+ for (; ii < uncompressed.length; ii += 1) {
9106
+ context_c = uncompressed.charAt(ii);
9107
+ if (!Object.prototype.hasOwnProperty.call(context_dictionary, context_c)) {
9108
+ context_dictionary[context_c] = context_dictSize++;
9109
+ context_dictionaryToCreate[context_c] = true;
9110
+ }
9111
+ context_wc = context_w + context_c;
9112
+ if (Object.prototype.hasOwnProperty.call(context_dictionary, context_wc)) context_w = context_wc;
9113
+ else {
9114
+ if (Object.prototype.hasOwnProperty.call(context_dictionaryToCreate, context_w)) {
9115
+ if (context_w.charCodeAt(0) < 256) {
9116
+ for (i = 0; i < context_numBits; i++) {
9117
+ context_data_val = context_data_val << 1;
9118
+ if (context_data_position == bitsPerChar - 1) {
9119
+ context_data_position = 0;
9120
+ context_data.push(getCharFromInt(context_data_val));
9121
+ context_data_val = 0;
9122
+ } else context_data_position++;
9123
+ }
9124
+ value = context_w.charCodeAt(0);
9125
+ for (i = 0; i < 8; i++) {
9126
+ context_data_val = context_data_val << 1 | value & 1;
9127
+ if (context_data_position == bitsPerChar - 1) {
9128
+ context_data_position = 0;
9129
+ context_data.push(getCharFromInt(context_data_val));
9130
+ context_data_val = 0;
9131
+ } else context_data_position++;
9132
+ value = value >> 1;
9133
+ }
9134
+ } else {
9135
+ value = 1;
9136
+ for (i = 0; i < context_numBits; i++) {
9137
+ context_data_val = context_data_val << 1 | value;
9138
+ if (context_data_position == bitsPerChar - 1) {
9139
+ context_data_position = 0;
9140
+ context_data.push(getCharFromInt(context_data_val));
9141
+ context_data_val = 0;
9142
+ } else context_data_position++;
9143
+ value = 0;
9144
+ }
9145
+ value = context_w.charCodeAt(0);
9146
+ for (i = 0; i < 16; i++) {
9147
+ context_data_val = context_data_val << 1 | value & 1;
9148
+ if (context_data_position == bitsPerChar - 1) {
9149
+ context_data_position = 0;
9150
+ context_data.push(getCharFromInt(context_data_val));
9151
+ context_data_val = 0;
9152
+ } else context_data_position++;
9153
+ value = value >> 1;
9154
+ }
9155
+ }
9156
+ context_enlargeIn--;
9157
+ if (context_enlargeIn == 0) {
9158
+ context_enlargeIn = Math.pow(2, context_numBits);
9159
+ context_numBits++;
9160
+ }
9161
+ delete context_dictionaryToCreate[context_w];
9162
+ } else {
9163
+ value = context_dictionary[context_w];
9164
+ for (i = 0; i < context_numBits; i++) {
9165
+ context_data_val = context_data_val << 1 | value & 1;
9166
+ if (context_data_position == bitsPerChar - 1) {
9167
+ context_data_position = 0;
9168
+ context_data.push(getCharFromInt(context_data_val));
9169
+ context_data_val = 0;
9170
+ } else context_data_position++;
9171
+ value = value >> 1;
9172
+ }
9173
+ }
9174
+ context_enlargeIn--;
9175
+ if (context_enlargeIn == 0) {
9176
+ context_enlargeIn = Math.pow(2, context_numBits);
9177
+ context_numBits++;
9178
+ }
9179
+ context_dictionary[context_wc] = context_dictSize++;
9180
+ context_w = String(context_c);
9181
+ }
9182
+ }
9183
+ if (context_w !== "") {
9184
+ if (Object.prototype.hasOwnProperty.call(context_dictionaryToCreate, context_w)) {
9185
+ if (context_w.charCodeAt(0) < 256) {
9186
+ for (i = 0; i < context_numBits; i++) {
9187
+ context_data_val = context_data_val << 1;
9188
+ if (context_data_position == bitsPerChar - 1) {
9189
+ context_data_position = 0;
9190
+ context_data.push(getCharFromInt(context_data_val));
9191
+ context_data_val = 0;
9192
+ } else context_data_position++;
9193
+ }
9194
+ value = context_w.charCodeAt(0);
9195
+ for (i = 0; i < 8; i++) {
9196
+ context_data_val = context_data_val << 1 | value & 1;
9197
+ if (context_data_position == bitsPerChar - 1) {
9198
+ context_data_position = 0;
9199
+ context_data.push(getCharFromInt(context_data_val));
9200
+ context_data_val = 0;
9201
+ } else context_data_position++;
9202
+ value = value >> 1;
9203
+ }
9204
+ } else {
9205
+ value = 1;
9206
+ for (i = 0; i < context_numBits; i++) {
9207
+ context_data_val = context_data_val << 1 | value;
9208
+ if (context_data_position == bitsPerChar - 1) {
9209
+ context_data_position = 0;
9210
+ context_data.push(getCharFromInt(context_data_val));
9211
+ context_data_val = 0;
9212
+ } else context_data_position++;
9213
+ value = 0;
9214
+ }
9215
+ value = context_w.charCodeAt(0);
9216
+ for (i = 0; i < 16; i++) {
9217
+ context_data_val = context_data_val << 1 | value & 1;
9218
+ if (context_data_position == bitsPerChar - 1) {
9219
+ context_data_position = 0;
9220
+ context_data.push(getCharFromInt(context_data_val));
9221
+ context_data_val = 0;
9222
+ } else context_data_position++;
9223
+ value = value >> 1;
9224
+ }
9225
+ }
9226
+ context_enlargeIn--;
9227
+ if (context_enlargeIn == 0) {
9228
+ context_enlargeIn = Math.pow(2, context_numBits);
9229
+ context_numBits++;
9230
+ }
9231
+ delete context_dictionaryToCreate[context_w];
9232
+ } else {
9233
+ value = context_dictionary[context_w];
9234
+ for (i = 0; i < context_numBits; i++) {
9235
+ context_data_val = context_data_val << 1 | value & 1;
9236
+ if (context_data_position == bitsPerChar - 1) {
9237
+ context_data_position = 0;
9238
+ context_data.push(getCharFromInt(context_data_val));
9239
+ context_data_val = 0;
9240
+ } else context_data_position++;
9241
+ value = value >> 1;
9242
+ }
9243
+ }
9244
+ context_enlargeIn--;
9245
+ if (context_enlargeIn == 0) {
9246
+ context_enlargeIn = Math.pow(2, context_numBits);
9247
+ context_numBits++;
9248
+ }
9249
+ }
9250
+ value = 2;
9251
+ for (i = 0; i < context_numBits; i++) {
9252
+ context_data_val = context_data_val << 1 | value & 1;
9253
+ if (context_data_position == bitsPerChar - 1) {
9254
+ context_data_position = 0;
9255
+ context_data.push(getCharFromInt(context_data_val));
9256
+ context_data_val = 0;
9257
+ } else context_data_position++;
9258
+ value = value >> 1;
9259
+ }
9260
+ while (true) {
9261
+ context_data_val = context_data_val << 1;
9262
+ if (context_data_position == bitsPerChar - 1) {
9263
+ context_data.push(getCharFromInt(context_data_val));
9264
+ break;
9265
+ } else context_data_position++;
9266
+ }
9267
+ return context_data.join("");
9268
+ },
9269
+ decompress: function(compressed) {
9270
+ if (compressed == null) return "";
9271
+ if (compressed == "") return null;
9272
+ return LZString._decompress(compressed.length, 32768, function(index) {
9273
+ return compressed.charCodeAt(index);
9274
+ });
9275
+ },
9276
+ _decompress: function(length, resetValue, getNextValue) {
9277
+ var dictionary = [], enlargeIn = 4, dictSize = 4, numBits = 3, entry = "", result = [], i, w, bits, resb, maxpower, power, c, data = {
9278
+ val: getNextValue(0),
9279
+ position: resetValue,
9280
+ index: 1
9281
+ };
9282
+ for (i = 0; i < 3; i += 1) dictionary[i] = i;
9283
+ bits = 0;
9284
+ maxpower = Math.pow(2, 2);
9285
+ power = 1;
9286
+ while (power != maxpower) {
9287
+ resb = data.val & data.position;
9288
+ data.position >>= 1;
9289
+ if (data.position == 0) {
9290
+ data.position = resetValue;
9291
+ data.val = getNextValue(data.index++);
9292
+ }
9293
+ bits |= (resb > 0 ? 1 : 0) * power;
9294
+ power <<= 1;
9295
+ }
9296
+ switch (bits) {
9297
+ case 0:
9298
+ bits = 0;
9299
+ maxpower = Math.pow(2, 8);
9300
+ power = 1;
9301
+ while (power != maxpower) {
9302
+ resb = data.val & data.position;
9303
+ data.position >>= 1;
9304
+ if (data.position == 0) {
9305
+ data.position = resetValue;
9306
+ data.val = getNextValue(data.index++);
9307
+ }
9308
+ bits |= (resb > 0 ? 1 : 0) * power;
9309
+ power <<= 1;
9310
+ }
9311
+ c = f(bits);
9312
+ break;
9313
+ case 1:
9314
+ bits = 0;
9315
+ maxpower = Math.pow(2, 16);
9316
+ power = 1;
9317
+ while (power != maxpower) {
9318
+ resb = data.val & data.position;
9319
+ data.position >>= 1;
9320
+ if (data.position == 0) {
9321
+ data.position = resetValue;
9322
+ data.val = getNextValue(data.index++);
9323
+ }
9324
+ bits |= (resb > 0 ? 1 : 0) * power;
9325
+ power <<= 1;
9326
+ }
9327
+ c = f(bits);
9328
+ break;
9329
+ case 2: return "";
9330
+ }
9331
+ dictionary[3] = c;
9332
+ w = c;
9333
+ result.push(c);
9334
+ while (true) {
9335
+ if (data.index > length) return "";
9336
+ bits = 0;
9337
+ maxpower = Math.pow(2, numBits);
9338
+ power = 1;
9339
+ while (power != maxpower) {
9340
+ resb = data.val & data.position;
9341
+ data.position >>= 1;
9342
+ if (data.position == 0) {
9343
+ data.position = resetValue;
9344
+ data.val = getNextValue(data.index++);
9345
+ }
9346
+ bits |= (resb > 0 ? 1 : 0) * power;
9347
+ power <<= 1;
9348
+ }
9349
+ switch (c = bits) {
9350
+ case 0:
9351
+ bits = 0;
9352
+ maxpower = Math.pow(2, 8);
9353
+ power = 1;
9354
+ while (power != maxpower) {
9355
+ resb = data.val & data.position;
9356
+ data.position >>= 1;
9357
+ if (data.position == 0) {
9358
+ data.position = resetValue;
9359
+ data.val = getNextValue(data.index++);
9360
+ }
9361
+ bits |= (resb > 0 ? 1 : 0) * power;
9362
+ power <<= 1;
9363
+ }
9364
+ dictionary[dictSize++] = f(bits);
9365
+ c = dictSize - 1;
9366
+ enlargeIn--;
9367
+ break;
9368
+ case 1:
9369
+ bits = 0;
9370
+ maxpower = Math.pow(2, 16);
9371
+ power = 1;
9372
+ while (power != maxpower) {
9373
+ resb = data.val & data.position;
9374
+ data.position >>= 1;
9375
+ if (data.position == 0) {
9376
+ data.position = resetValue;
9377
+ data.val = getNextValue(data.index++);
9378
+ }
9379
+ bits |= (resb > 0 ? 1 : 0) * power;
9380
+ power <<= 1;
9381
+ }
9382
+ dictionary[dictSize++] = f(bits);
9383
+ c = dictSize - 1;
9384
+ enlargeIn--;
9385
+ break;
9386
+ case 2: return result.join("");
9387
+ }
9388
+ if (enlargeIn == 0) {
9389
+ enlargeIn = Math.pow(2, numBits);
9390
+ numBits++;
9391
+ }
9392
+ if (dictionary[c]) entry = dictionary[c];
9393
+ else if (c === dictSize) entry = w + w.charAt(0);
9394
+ else return null;
9395
+ result.push(entry);
9396
+ dictionary[dictSize++] = w + entry.charAt(0);
9397
+ enlargeIn--;
9398
+ w = entry;
9399
+ if (enlargeIn == 0) {
9400
+ enlargeIn = Math.pow(2, numBits);
9401
+ numBits++;
9402
+ }
9403
+ }
9404
+ }
9405
+ };
9406
+ return LZString;
9407
+ })();
9408
+ if (typeof define === "function" && define.amd) define(function() {
9409
+ return LZString;
9410
+ });
9411
+ else if (typeof module !== "undefined" && module != null) module.exports = LZString;
9412
+ else if (typeof angular !== "undefined" && angular != null) angular.module("LZString", []).factory("LZString", function() {
9413
+ return LZString;
9414
+ });
9415
+ }));
9416
+ //#endregion
8238
9417
  //#region ../../node_modules/polished/dist/polished.esm.js
8239
9418
  /**
8240
9419
  * Check if a string ends with something
@@ -9289,7 +10468,7 @@ function _extends$1() {
9289
10468
  function useHref(to, _temp) {
9290
10469
  let { relative } = _temp === void 0 ? {} : _temp;
9291
10470
  !useInRouterContext() && invariant(false);
9292
- let { basename, navigator } = import_react$6.useContext(NavigationContext);
10471
+ let { basename, navigator } = import_react$3.useContext(NavigationContext);
9293
10472
  let { hash, pathname, search } = useResolvedPath(to, { relative });
9294
10473
  let joinedPathname = pathname;
9295
10474
  if (basename !== "/") joinedPathname = pathname === "/" ? basename : joinPaths([basename, pathname]);
@@ -9305,7 +10484,7 @@ function useHref(to, _temp) {
9305
10484
  * @see https://reactrouter.com/hooks/use-in-router-context
9306
10485
  */
9307
10486
  function useInRouterContext() {
9308
- return import_react$6.useContext(LocationContext) != null;
10487
+ return import_react$3.useContext(LocationContext) != null;
9309
10488
  }
9310
10489
  /**
9311
10490
  * Returns the current location object, which represents the current URL in web
@@ -9319,10 +10498,10 @@ function useInRouterContext() {
9319
10498
  */
9320
10499
  function useLocation() {
9321
10500
  !useInRouterContext() && invariant(false);
9322
- return import_react$6.useContext(LocationContext).location;
10501
+ return import_react$3.useContext(LocationContext).location;
9323
10502
  }
9324
- function useIsomorphicLayoutEffect$1(cb) {
9325
- if (!import_react$6.useContext(NavigationContext).static) import_react$6.useLayoutEffect(cb);
10503
+ function useIsomorphicLayoutEffect(cb) {
10504
+ if (!import_react$3.useContext(NavigationContext).static) import_react$3.useLayoutEffect(cb);
9326
10505
  }
9327
10506
  /**
9328
10507
  * Returns an imperative method for changing the location. Used by <Link>s, but
@@ -9331,21 +10510,21 @@ function useIsomorphicLayoutEffect$1(cb) {
9331
10510
  * @see https://reactrouter.com/hooks/use-navigate
9332
10511
  */
9333
10512
  function useNavigate() {
9334
- let { isDataRoute } = import_react$6.useContext(RouteContext);
10513
+ let { isDataRoute } = import_react$3.useContext(RouteContext);
9335
10514
  return isDataRoute ? useNavigateStable() : useNavigateUnstable();
9336
10515
  }
9337
10516
  function useNavigateUnstable() {
9338
10517
  !useInRouterContext() && invariant(false);
9339
- let dataRouterContext = import_react$6.useContext(DataRouterContext);
9340
- let { basename, navigator } = import_react$6.useContext(NavigationContext);
9341
- let { matches } = import_react$6.useContext(RouteContext);
10518
+ let dataRouterContext = import_react$3.useContext(DataRouterContext);
10519
+ let { basename, navigator } = import_react$3.useContext(NavigationContext);
10520
+ let { matches } = import_react$3.useContext(RouteContext);
9342
10521
  let { pathname: locationPathname } = useLocation();
9343
10522
  let routePathnamesJson = JSON.stringify(getPathContributingMatches(matches).map((match) => match.pathnameBase));
9344
- let activeRef = import_react$6.useRef(false);
9345
- useIsomorphicLayoutEffect$1(() => {
10523
+ let activeRef = import_react$3.useRef(false);
10524
+ useIsomorphicLayoutEffect(() => {
9346
10525
  activeRef.current = true;
9347
10526
  });
9348
- return import_react$6.useCallback(function(to, options) {
10527
+ return import_react$3.useCallback(function(to, options) {
9349
10528
  if (options === void 0) options = {};
9350
10529
  if (!activeRef.current) return;
9351
10530
  if (typeof to === "number") {
@@ -9370,10 +10549,10 @@ function useNavigateUnstable() {
9370
10549
  */
9371
10550
  function useResolvedPath(to, _temp2) {
9372
10551
  let { relative } = _temp2 === void 0 ? {} : _temp2;
9373
- let { matches } = import_react$6.useContext(RouteContext);
10552
+ let { matches } = import_react$3.useContext(RouteContext);
9374
10553
  let { pathname: locationPathname } = useLocation();
9375
10554
  let routePathnamesJson = JSON.stringify(getPathContributingMatches(matches).map((match) => match.pathnameBase));
9376
- return import_react$6.useMemo(() => resolveTo(to, JSON.parse(routePathnamesJson), locationPathname, relative === "path"), [
10555
+ return import_react$3.useMemo(() => resolveTo(to, JSON.parse(routePathnamesJson), locationPathname, relative === "path"), [
9377
10556
  to,
9378
10557
  routePathnamesJson,
9379
10558
  locationPathname,
@@ -9381,12 +10560,12 @@ function useResolvedPath(to, _temp2) {
9381
10560
  ]);
9382
10561
  }
9383
10562
  function useDataRouterContext(hookName) {
9384
- let ctx = import_react$6.useContext(DataRouterContext);
10563
+ let ctx = import_react$3.useContext(DataRouterContext);
9385
10564
  !ctx && invariant(false);
9386
10565
  return ctx;
9387
10566
  }
9388
10567
  function useRouteContext(hookName) {
9389
- let route = import_react$6.useContext(RouteContext);
10568
+ let route = import_react$3.useContext(RouteContext);
9390
10569
  !route && invariant(false);
9391
10570
  return route;
9392
10571
  }
@@ -9403,11 +10582,11 @@ function useCurrentRouteId(hookName) {
9403
10582
  function useNavigateStable() {
9404
10583
  let { router } = useDataRouterContext(DataRouterHook$1.UseNavigateStable);
9405
10584
  let id = useCurrentRouteId(DataRouterStateHook$1.UseNavigateStable);
9406
- let activeRef = import_react$6.useRef(false);
9407
- useIsomorphicLayoutEffect$1(() => {
10585
+ let activeRef = import_react$3.useRef(false);
10586
+ useIsomorphicLayoutEffect(() => {
9408
10587
  activeRef.current = true;
9409
10588
  });
9410
- return import_react$6.useCallback(function(to, options) {
10589
+ return import_react$3.useCallback(function(to, options) {
9411
10590
  if (options === void 0) options = {};
9412
10591
  if (!activeRef.current) return;
9413
10592
  if (typeof to === "number") router.navigate(to);
@@ -9421,23 +10600,23 @@ function useNavigateStable() {
9421
10600
  */
9422
10601
  function MemoryRouter(_ref3) {
9423
10602
  let { basename, children, initialEntries, initialIndex, future } = _ref3;
9424
- let historyRef = import_react$6.useRef();
10603
+ let historyRef = import_react$3.useRef();
9425
10604
  if (historyRef.current == null) historyRef.current = createMemoryHistory({
9426
10605
  initialEntries,
9427
10606
  initialIndex,
9428
10607
  v5Compat: true
9429
10608
  });
9430
10609
  let history = historyRef.current;
9431
- let [state, setStateImpl] = import_react$6.useState({
10610
+ let [state, setStateImpl] = import_react$3.useState({
9432
10611
  action: history.action,
9433
10612
  location: history.location
9434
10613
  });
9435
10614
  let { v7_startTransition } = future || {};
9436
- let setState = import_react$6.useCallback((newState) => {
10615
+ let setState = import_react$3.useCallback((newState) => {
9437
10616
  v7_startTransition && startTransitionImpl$1 ? startTransitionImpl$1(() => setStateImpl(newState)) : setStateImpl(newState);
9438
10617
  }, [setStateImpl, v7_startTransition]);
9439
- import_react$6.useLayoutEffect(() => history.listen(setState), [history, setState]);
9440
- return /*#__PURE__*/ import_react$6.createElement(Router, {
10618
+ import_react$3.useLayoutEffect(() => history.listen(setState), [history, setState]);
10619
+ return /*#__PURE__*/ import_react$3.createElement(Router, {
9441
10620
  basename,
9442
10621
  children,
9443
10622
  location: state.location,
@@ -9458,7 +10637,7 @@ function Router(_ref5) {
9458
10637
  let { basename: basenameProp = "/", children = null, location: locationProp, navigationType = Action.Pop, navigator, static: staticProp = false } = _ref5;
9459
10638
  useInRouterContext() && invariant(false);
9460
10639
  let basename = basenameProp.replace(/^\/*/, "/");
9461
- let navigationContext = import_react$6.useMemo(() => ({
10640
+ let navigationContext = import_react$3.useMemo(() => ({
9462
10641
  basename,
9463
10642
  navigator,
9464
10643
  static: staticProp
@@ -9469,7 +10648,7 @@ function Router(_ref5) {
9469
10648
  ]);
9470
10649
  if (typeof locationProp === "string") locationProp = parsePath(locationProp);
9471
10650
  let { pathname = "/", search = "", hash = "", state = null, key = "default" } = locationProp;
9472
- let locationContext = import_react$6.useMemo(() => {
10651
+ let locationContext = import_react$3.useMemo(() => {
9473
10652
  let trailingPathname = stripBasename(pathname, basename);
9474
10653
  if (trailingPathname == null) return null;
9475
10654
  return {
@@ -9492,25 +10671,25 @@ function Router(_ref5) {
9492
10671
  navigationType
9493
10672
  ]);
9494
10673
  if (locationContext == null) return null;
9495
- return /*#__PURE__*/ import_react$6.createElement(NavigationContext.Provider, { value: navigationContext }, /*#__PURE__*/ import_react$6.createElement(LocationContext.Provider, {
10674
+ return /*#__PURE__*/ import_react$3.createElement(NavigationContext.Provider, { value: navigationContext }, /*#__PURE__*/ import_react$3.createElement(LocationContext.Provider, {
9496
10675
  children,
9497
10676
  value: locationContext
9498
10677
  }));
9499
10678
  }
9500
- var import_react$6, DataRouterContext, NavigationContext, LocationContext, RouteContext, DataRouterHook$1, DataRouterStateHook$1, startTransitionImpl$1, AwaitRenderStatus;
10679
+ var import_react$3, DataRouterContext, NavigationContext, LocationContext, RouteContext, DataRouterHook$1, DataRouterStateHook$1, startTransitionImpl$1, AwaitRenderStatus;
9501
10680
  function init_dist() {
9502
10681
  return (init_dist = __esmMin((() => {
9503
- import_react$6 = /* @__PURE__ */ __toESM(require_react());
10682
+ import_react$3 = /* @__PURE__ */ __toESM(require_react());
9504
10683
  init_router();
9505
- DataRouterContext = /*#__PURE__*/ import_react$6.createContext(null);
9506
- NavigationContext = /*#__PURE__*/ import_react$6.createContext(null);
9507
- LocationContext = /*#__PURE__*/ import_react$6.createContext(null);
9508
- RouteContext = /*#__PURE__*/ import_react$6.createContext({
10684
+ DataRouterContext = /*#__PURE__*/ import_react$3.createContext(null);
10685
+ NavigationContext = /*#__PURE__*/ import_react$3.createContext(null);
10686
+ LocationContext = /*#__PURE__*/ import_react$3.createContext(null);
10687
+ RouteContext = /*#__PURE__*/ import_react$3.createContext({
9509
10688
  outlet: null,
9510
10689
  matches: [],
9511
10690
  isDataRoute: false
9512
10691
  });
9513
- import_react$6.Component;
10692
+ import_react$3.Component;
9514
10693
  DataRouterHook$1 = /*#__PURE__*/ function(DataRouterHook) {
9515
10694
  DataRouterHook["UseBlocker"] = "useBlocker";
9516
10695
  DataRouterHook["UseRevalidator"] = "useRevalidator";
@@ -9530,7 +10709,7 @@ function init_dist() {
9530
10709
  DataRouterStateHook["UseRouteId"] = "useRouteId";
9531
10710
  return DataRouterStateHook;
9532
10711
  }(DataRouterStateHook$1 || {});
9533
- startTransitionImpl$1 = import_react$6.startTransition;
10712
+ startTransitionImpl$1 = import_react$3.startTransition;
9534
10713
  AwaitRenderStatus = /*#__PURE__*/ function(AwaitRenderStatus) {
9535
10714
  AwaitRenderStatus[AwaitRenderStatus["pending"] = 0] = "pending";
9536
10715
  AwaitRenderStatus[AwaitRenderStatus["success"] = 1] = "success";
@@ -9538,7 +10717,7 @@ function init_dist() {
9538
10717
  return AwaitRenderStatus;
9539
10718
  }(AwaitRenderStatus || {});
9540
10719
  new Promise(() => {});
9541
- import_react$6.Component;
10720
+ import_react$3.Component;
9542
10721
  })))();
9543
10722
  }
9544
10723
  //#endregion
@@ -9586,22 +10765,22 @@ function shouldProcessLinkClick(event, target) {
9586
10765
  */
9587
10766
  function BrowserRouter(_ref) {
9588
10767
  let { basename, children, future, window } = _ref;
9589
- let historyRef = import_react$5.useRef();
10768
+ let historyRef = import_react$2.useRef();
9590
10769
  if (historyRef.current == null) historyRef.current = createBrowserHistory({
9591
10770
  window,
9592
10771
  v5Compat: true
9593
10772
  });
9594
10773
  let history = historyRef.current;
9595
- let [state, setStateImpl] = import_react$5.useState({
10774
+ let [state, setStateImpl] = import_react$2.useState({
9596
10775
  action: history.action,
9597
10776
  location: history.location
9598
10777
  });
9599
10778
  let { v7_startTransition } = future || {};
9600
- let setState = import_react$5.useCallback((newState) => {
10779
+ let setState = import_react$2.useCallback((newState) => {
9601
10780
  v7_startTransition && startTransitionImpl ? startTransitionImpl(() => setStateImpl(newState)) : setStateImpl(newState);
9602
10781
  }, [setStateImpl, v7_startTransition]);
9603
- import_react$5.useLayoutEffect(() => history.listen(setState), [history, setState]);
9604
- return /*#__PURE__*/ import_react$5.createElement(Router, {
10782
+ import_react$2.useLayoutEffect(() => history.listen(setState), [history, setState]);
10783
+ return /*#__PURE__*/ import_react$2.createElement(Router, {
9605
10784
  basename,
9606
10785
  children,
9607
10786
  location: state.location,
@@ -9619,7 +10798,7 @@ function useLinkClickHandler(to, _temp) {
9619
10798
  let navigate = useNavigate();
9620
10799
  let location = useLocation();
9621
10800
  let path = useResolvedPath(to, { relative });
9622
- return import_react$5.useCallback((event) => {
10801
+ return import_react$2.useCallback((event) => {
9623
10802
  if (shouldProcessLinkClick(event, target)) {
9624
10803
  event.preventDefault();
9625
10804
  let replace = replaceProp !== void 0 ? replaceProp : createPath(location) === createPath(path);
@@ -9642,13 +10821,13 @@ function useLinkClickHandler(to, _temp) {
9642
10821
  relative
9643
10822
  ]);
9644
10823
  }
9645
- var import_react$5, _excluded$2, startTransitionImpl, isBrowser, ABSOLUTE_URL_REGEX, Link, DataRouterHook, DataRouterStateHook;
10824
+ var import_react$2, _excluded$1, startTransitionImpl, isBrowser, ABSOLUTE_URL_REGEX, Link, DataRouterHook, DataRouterStateHook;
9646
10825
  function init_dist$1() {
9647
10826
  return (init_dist$1 = __esmMin((() => {
9648
- import_react$5 = /* @__PURE__ */ __toESM(require_react());
10827
+ import_react$2 = /* @__PURE__ */ __toESM(require_react());
9649
10828
  init_dist();
9650
10829
  init_router();
9651
- _excluded$2 = [
10830
+ _excluded$1 = [
9652
10831
  "onClick",
9653
10832
  "relative",
9654
10833
  "reloadDocument",
@@ -9658,12 +10837,12 @@ function init_dist$1() {
9658
10837
  "to",
9659
10838
  "preventScrollReset"
9660
10839
  ];
9661
- startTransitionImpl = import_react$5.startTransition;
10840
+ startTransitionImpl = import_react$2.startTransition;
9662
10841
  isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
9663
10842
  ABSOLUTE_URL_REGEX = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;
9664
- Link = /*#__PURE__*/ import_react$5.forwardRef(function LinkWithRef(_ref4, ref) {
9665
- let { onClick, relative, reloadDocument, replace, state, target, to, preventScrollReset } = _ref4, rest = _objectWithoutPropertiesLoose(_ref4, _excluded$2);
9666
- let { basename } = import_react$5.useContext(NavigationContext);
10843
+ Link = /*#__PURE__*/ import_react$2.forwardRef(function LinkWithRef(_ref4, ref) {
10844
+ let { onClick, relative, reloadDocument, replace, state, target, to, preventScrollReset } = _ref4, rest = _objectWithoutPropertiesLoose(_ref4, _excluded$1);
10845
+ let { basename } = import_react$2.useContext(NavigationContext);
9667
10846
  let absoluteHref;
9668
10847
  let isExternal = false;
9669
10848
  if (typeof to === "string" && ABSOLUTE_URL_REGEX.test(to)) {
@@ -9688,7 +10867,7 @@ function init_dist$1() {
9688
10867
  if (onClick) onClick(event);
9689
10868
  if (!event.defaultPrevented) internalOnClick(event);
9690
10869
  }
9691
- return /*#__PURE__*/ import_react$5.createElement("a", _extends({}, rest, {
10870
+ return /*#__PURE__*/ import_react$2.createElement("a", _extends({}, rest, {
9692
10871
  href: absoluteHref || href,
9693
10872
  onClick: isExternal || reloadDocument ? onClick : handleClick,
9694
10873
  ref,
@@ -9747,11 +10926,11 @@ function init_internal() {
9747
10926
  }
9748
10927
  //#endregion
9749
10928
  //#region ../../node_modules/react-transition-state/dist/esm/useTransitionState.mjs
9750
- var import_react$4, updateState, useTransitionState;
10929
+ var import_react$1, updateState, useTransitionState;
9751
10930
  function init_useTransitionState() {
9752
10931
  return (init_useTransitionState = __esmMin((() => {
9753
10932
  init_internal();
9754
- import_react$4 = require_react();
10933
+ import_react$1 = require_react();
9755
10934
  updateState = (status, setState, ref, onChange) => {
9756
10935
  clearTimeout(ref.t);
9757
10936
  cancelAnimationFrame(ref.r);
@@ -9761,13 +10940,13 @@ function init_useTransitionState() {
9761
10940
  onChange?.({ current: state });
9762
10941
  };
9763
10942
  useTransitionState = ({ enter = true, exit = true, preEnter, preExit, timeout, initialEntered, mountOnEnter, unmountOnExit, onStateChange: onChange } = {}) => {
9764
- const [state, setState] = (0, import_react$4.useState)(() => getState(initialEntered ? 2 : startOrEnd(mountOnEnter)));
9765
- const [ref] = (0, import_react$4.useState)({
10943
+ const [state, setState] = (0, import_react$1.useState)(() => getState(initialEntered ? 2 : startOrEnd(mountOnEnter)));
10944
+ const [ref] = (0, import_react$1.useState)({
9766
10945
  s: state,
9767
10946
  r: 0
9768
10947
  });
9769
10948
  const [enterTimeout, exitTimeout] = getTimeout(timeout);
9770
- const endTransition = (0, import_react$4.useCallback)(() => {
10949
+ const endTransition = (0, import_react$1.useCallback)(() => {
9771
10950
  const status = getEndStatus(ref.s.$, unmountOnExit);
9772
10951
  if (status) updateState(status, setState, ref, onChange);
9773
10952
  }, [
@@ -9777,7 +10956,7 @@ function init_useTransitionState() {
9777
10956
  ]);
9778
10957
  return [
9779
10958
  state,
9780
- (0, import_react$4.useCallback)((toEnter) => {
10959
+ (0, import_react$1.useCallback)((toEnter) => {
9781
10960
  const transitState = (status) => {
9782
10961
  updateState(status, setState, ref, onChange);
9783
10962
  switch (status) {
@@ -9847,7 +11026,7 @@ function calculateNodeHeight(sizingData, value, minRows, maxRows) {
9847
11026
  }
9848
11027
  function useListener(target, type, listener) {
9849
11028
  var latestListener = useLatest(listener);
9850
- import_react$3.useLayoutEffect(function() {
11029
+ import_react.useLayoutEffect(function() {
9851
11030
  var handler = function handler(ev) {
9852
11031
  return latestListener.current(ev);
9853
11032
  };
@@ -9858,10 +11037,10 @@ function useListener(target, type, listener) {
9858
11037
  };
9859
11038
  }, []);
9860
11039
  }
9861
- var import_react$3, HIDDEN_TEXTAREA_STYLE, forceHiddenStyles$1, hiddenTextarea, getHeight, noop$1, pick, SIZING_STYLE, isIE, getSizingData$1, useFormResetListener, useWindowResizeListener, useFontsLoadedListener, _excluded$1, index;
11040
+ var import_react, HIDDEN_TEXTAREA_STYLE, forceHiddenStyles$1, hiddenTextarea, getHeight, noop, pick, SIZING_STYLE, isIE, getSizingData$1, useFormResetListener, useWindowResizeListener, useFontsLoadedListener, _excluded, index;
9862
11041
  function init_react_textarea_autosize_browser_esm() {
9863
11042
  return (init_react_textarea_autosize_browser_esm = __esmMin((() => {
9864
- import_react$3 = /* @__PURE__ */ __toESM(require_react());
11043
+ import_react = /* @__PURE__ */ __toESM(require_react());
9865
11044
  init_use_latest_esm();
9866
11045
  init_use_composed_ref_esm();
9867
11046
  HIDDEN_TEXTAREA_STYLE = {
@@ -9887,7 +11066,7 @@ function init_react_textarea_autosize_browser_esm() {
9887
11066
  if (sizingData.sizingStyle.boxSizing === "border-box") return height + sizingData.borderSize;
9888
11067
  return height - sizingData.paddingSize;
9889
11068
  };
9890
- noop$1 = function noop() {};
11069
+ noop = function noop() {};
9891
11070
  pick = function pick(props, obj) {
9892
11071
  return props.reduce(function(acc, prop) {
9893
11072
  acc[prop] = obj[prop];
@@ -9944,20 +11123,20 @@ function init_react_textarea_autosize_browser_esm() {
9944
11123
  useFontsLoadedListener = function useFontsLoadedListener(listener) {
9945
11124
  useListener(document.fonts, "loadingdone", listener);
9946
11125
  };
9947
- _excluded$1 = [
11126
+ _excluded = [
9948
11127
  "cacheMeasurements",
9949
11128
  "maxRows",
9950
11129
  "minRows",
9951
11130
  "onChange",
9952
11131
  "onHeightChange"
9953
11132
  ];
9954
- index = /* #__PURE__ */ import_react$3.forwardRef(function TextareaAutosize(_ref, userRef) {
9955
- var cacheMeasurements = _ref.cacheMeasurements, maxRows = _ref.maxRows, minRows = _ref.minRows, _ref$onChange = _ref.onChange, onChange = _ref$onChange === void 0 ? noop$1 : _ref$onChange, _ref$onHeightChange = _ref.onHeightChange, onHeightChange = _ref$onHeightChange === void 0 ? noop$1 : _ref$onHeightChange, props = _objectWithoutPropertiesLoose$1(_ref, _excluded$1);
11133
+ index = /* #__PURE__ */ import_react.forwardRef(function TextareaAutosize(_ref, userRef) {
11134
+ var cacheMeasurements = _ref.cacheMeasurements, maxRows = _ref.maxRows, minRows = _ref.minRows, _ref$onChange = _ref.onChange, onChange = _ref$onChange === void 0 ? noop : _ref$onChange, _ref$onHeightChange = _ref.onHeightChange, onHeightChange = _ref$onHeightChange === void 0 ? noop : _ref$onHeightChange, props = _objectWithoutPropertiesLoose$1(_ref, _excluded);
9956
11135
  var isControlled = props.value !== void 0;
9957
- var libRef = import_react$3.useRef(null);
11136
+ var libRef = import_react.useRef(null);
9958
11137
  var ref = useComposedRef(libRef, userRef);
9959
- var heightRef = import_react$3.useRef(0);
9960
- var measurementsCacheRef = import_react$3.useRef();
11138
+ var heightRef = import_react.useRef(0);
11139
+ var measurementsCacheRef = import_react.useRef();
9961
11140
  var resizeTextarea = function resizeTextarea() {
9962
11141
  var node = libRef.current;
9963
11142
  var nodeSizingData = cacheMeasurements && measurementsCacheRef.current ? measurementsCacheRef.current : getSizingData$1(node);
@@ -9974,7 +11153,7 @@ function init_react_textarea_autosize_browser_esm() {
9974
11153
  if (!isControlled) resizeTextarea();
9975
11154
  onChange(event);
9976
11155
  };
9977
- import_react$3.useLayoutEffect(resizeTextarea);
11156
+ import_react.useLayoutEffect(resizeTextarea);
9978
11157
  useFormResetListener(libRef, function() {
9979
11158
  if (!isControlled) {
9980
11159
  var currentValue = libRef.current.value;
@@ -9986,7 +11165,7 @@ function init_react_textarea_autosize_browser_esm() {
9986
11165
  });
9987
11166
  useWindowResizeListener(resizeTextarea);
9988
11167
  useFontsLoadedListener(resizeTextarea);
9989
- return /*#__PURE__*/ import_react$3.createElement("textarea", _extends$2({}, props, {
11168
+ return /*#__PURE__*/ import_react.createElement("textarea", _extends$2({}, props, {
9990
11169
  onChange: handleChange,
9991
11170
  ref
9992
11171
  }));
@@ -9994,470 +11173,4 @@ function init_react_textarea_autosize_browser_esm() {
9994
11173
  })))();
9995
11174
  }
9996
11175
  //#endregion
9997
- //#region ../../node_modules/react-popper/lib/esm/utils.js
9998
- var import_react$2, fromEntries, useIsomorphicLayoutEffect;
9999
- function init_utils() {
10000
- return (init_utils = __esmMin((() => {
10001
- import_react$2 = /* @__PURE__ */ __toESM(require_react());
10002
- fromEntries = function fromEntries(entries) {
10003
- return entries.reduce(function(acc, _ref) {
10004
- var key = _ref[0];
10005
- acc[key] = _ref[1];
10006
- return acc;
10007
- }, {});
10008
- };
10009
- useIsomorphicLayoutEffect = typeof window !== "undefined" && window.document && window.document.createElement ? import_react$2.useLayoutEffect : import_react$2.useEffect;
10010
- })))();
10011
- }
10012
- //#endregion
10013
- //#region ../../node_modules/react-fast-compare/index.js
10014
- var require_react_fast_compare = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10015
- var hasElementType = typeof Element !== "undefined";
10016
- var hasMap = typeof Map === "function";
10017
- var hasSet = typeof Set === "function";
10018
- var hasArrayBuffer = typeof ArrayBuffer === "function" && !!ArrayBuffer.isView;
10019
- function equal(a, b) {
10020
- if (a === b) return true;
10021
- if (a && b && typeof a == "object" && typeof b == "object") {
10022
- if (a.constructor !== b.constructor) return false;
10023
- var length, i, keys;
10024
- if (Array.isArray(a)) {
10025
- length = a.length;
10026
- if (length != b.length) return false;
10027
- for (i = length; i-- !== 0;) if (!equal(a[i], b[i])) return false;
10028
- return true;
10029
- }
10030
- var it;
10031
- if (hasMap && a instanceof Map && b instanceof Map) {
10032
- if (a.size !== b.size) return false;
10033
- it = a.entries();
10034
- while (!(i = it.next()).done) if (!b.has(i.value[0])) return false;
10035
- it = a.entries();
10036
- while (!(i = it.next()).done) if (!equal(i.value[1], b.get(i.value[0]))) return false;
10037
- return true;
10038
- }
10039
- if (hasSet && a instanceof Set && b instanceof Set) {
10040
- if (a.size !== b.size) return false;
10041
- it = a.entries();
10042
- while (!(i = it.next()).done) if (!b.has(i.value[0])) return false;
10043
- return true;
10044
- }
10045
- if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {
10046
- length = a.length;
10047
- if (length != b.length) return false;
10048
- for (i = length; i-- !== 0;) if (a[i] !== b[i]) return false;
10049
- return true;
10050
- }
10051
- if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
10052
- if (a.valueOf !== Object.prototype.valueOf && typeof a.valueOf === "function" && typeof b.valueOf === "function") return a.valueOf() === b.valueOf();
10053
- if (a.toString !== Object.prototype.toString && typeof a.toString === "function" && typeof b.toString === "function") return a.toString() === b.toString();
10054
- keys = Object.keys(a);
10055
- length = keys.length;
10056
- if (length !== Object.keys(b).length) return false;
10057
- for (i = length; i-- !== 0;) if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
10058
- if (hasElementType && a instanceof Element) return false;
10059
- for (i = length; i-- !== 0;) {
10060
- if ((keys[i] === "_owner" || keys[i] === "__v" || keys[i] === "__o") && a.$$typeof) continue;
10061
- if (!equal(a[keys[i]], b[keys[i]])) return false;
10062
- }
10063
- return true;
10064
- }
10065
- return a !== a && b !== b;
10066
- }
10067
- module.exports = function isEqual(a, b) {
10068
- try {
10069
- return equal(a, b);
10070
- } catch (error) {
10071
- if ((error.message || "").match(/stack|recursion/i)) {
10072
- console.warn("react-fast-compare cannot handle circular refs");
10073
- return false;
10074
- }
10075
- throw error;
10076
- }
10077
- };
10078
- }));
10079
- //#endregion
10080
- //#region ../../node_modules/react-popper/lib/esm/usePopper.js
10081
- var import_react$1, import_react_dom, import_react_fast_compare, EMPTY_MODIFIERS, usePopper;
10082
- function init_usePopper() {
10083
- return (init_usePopper = __esmMin((() => {
10084
- import_react$1 = /* @__PURE__ */ __toESM(require_react());
10085
- import_react_dom = /* @__PURE__ */ __toESM(require_react_dom());
10086
- init_popper();
10087
- import_react_fast_compare = /* @__PURE__ */ __toESM(require_react_fast_compare());
10088
- init_utils();
10089
- EMPTY_MODIFIERS = [];
10090
- usePopper = function usePopper(referenceElement, popperElement, options) {
10091
- if (options === void 0) options = {};
10092
- var prevOptions = import_react$1.useRef(null);
10093
- var optionsWithDefaults = {
10094
- onFirstUpdate: options.onFirstUpdate,
10095
- placement: options.placement || "bottom",
10096
- strategy: options.strategy || "absolute",
10097
- modifiers: options.modifiers || EMPTY_MODIFIERS
10098
- };
10099
- var _React$useState = import_react$1.useState({
10100
- styles: {
10101
- popper: {
10102
- position: optionsWithDefaults.strategy,
10103
- left: "0",
10104
- top: "0"
10105
- },
10106
- arrow: { position: "absolute" }
10107
- },
10108
- attributes: {}
10109
- }), state = _React$useState[0], setState = _React$useState[1];
10110
- var updateStateModifier = import_react$1.useMemo(function() {
10111
- return {
10112
- name: "updateState",
10113
- enabled: true,
10114
- phase: "write",
10115
- fn: function fn(_ref) {
10116
- var state = _ref.state;
10117
- var elements = Object.keys(state.elements);
10118
- import_react_dom.flushSync(function() {
10119
- setState({
10120
- styles: fromEntries(elements.map(function(element) {
10121
- return [element, state.styles[element] || {}];
10122
- })),
10123
- attributes: fromEntries(elements.map(function(element) {
10124
- return [element, state.attributes[element]];
10125
- }))
10126
- });
10127
- });
10128
- },
10129
- requires: ["computeStyles"]
10130
- };
10131
- }, []);
10132
- var popperOptions = import_react$1.useMemo(function() {
10133
- var newOptions = {
10134
- onFirstUpdate: optionsWithDefaults.onFirstUpdate,
10135
- placement: optionsWithDefaults.placement,
10136
- strategy: optionsWithDefaults.strategy,
10137
- modifiers: [].concat(optionsWithDefaults.modifiers, [updateStateModifier, {
10138
- name: "applyStyles",
10139
- enabled: false
10140
- }])
10141
- };
10142
- if ((0, import_react_fast_compare.default)(prevOptions.current, newOptions)) return prevOptions.current || newOptions;
10143
- else {
10144
- prevOptions.current = newOptions;
10145
- return newOptions;
10146
- }
10147
- }, [
10148
- optionsWithDefaults.onFirstUpdate,
10149
- optionsWithDefaults.placement,
10150
- optionsWithDefaults.strategy,
10151
- optionsWithDefaults.modifiers,
10152
- updateStateModifier
10153
- ]);
10154
- var popperInstanceRef = import_react$1.useRef();
10155
- useIsomorphicLayoutEffect(function() {
10156
- if (popperInstanceRef.current) popperInstanceRef.current.setOptions(popperOptions);
10157
- }, [popperOptions]);
10158
- useIsomorphicLayoutEffect(function() {
10159
- if (referenceElement == null || popperElement == null) return;
10160
- var popperInstance = (options.createPopper || createPopper)(referenceElement, popperElement, popperOptions);
10161
- popperInstanceRef.current = popperInstance;
10162
- return function() {
10163
- popperInstance.destroy();
10164
- popperInstanceRef.current = null;
10165
- };
10166
- }, [
10167
- referenceElement,
10168
- popperElement,
10169
- options.createPopper
10170
- ]);
10171
- return {
10172
- state: popperInstanceRef.current ? popperInstanceRef.current.state : null,
10173
- styles: state.styles,
10174
- attributes: state.attributes,
10175
- update: popperInstanceRef.current ? popperInstanceRef.current.update : null,
10176
- forceUpdate: popperInstanceRef.current ? popperInstanceRef.current.forceUpdate : null
10177
- };
10178
- };
10179
- })))();
10180
- }
10181
- //#endregion
10182
- //#region ../../node_modules/react-popper-tooltip/dist/esm/react-popper-tooltip.js
10183
- function useGetLatest(val) {
10184
- var ref = import_react.useRef(val);
10185
- ref.current = val;
10186
- return import_react.useCallback(function() {
10187
- return ref.current;
10188
- }, []);
10189
- }
10190
- function useControlledState(_ref) {
10191
- var initial = _ref.initial, value = _ref.value, _ref$onChange = _ref.onChange, onChange = _ref$onChange === void 0 ? noop : _ref$onChange;
10192
- if (initial === void 0 && value === void 0) throw new TypeError("Either \"value\" or \"initial\" variable must be set. Now both are undefined");
10193
- var _React$useState = import_react.useState(initial), state = _React$useState[0], setState = _React$useState[1];
10194
- var getLatest = useGetLatest(state);
10195
- var set = import_react.useCallback(function(updater) {
10196
- var state = getLatest();
10197
- var updatedState = typeof updater === "function" ? updater(state) : updater;
10198
- if (typeof updatedState.persist === "function") updatedState.persist();
10199
- setState(updatedState);
10200
- if (typeof onChange === "function") onChange(updatedState);
10201
- }, [getLatest, onChange]);
10202
- var isControlled = value !== void 0;
10203
- return [isControlled ? value : state, isControlled ? onChange : set];
10204
- }
10205
- function generateBoundingClientRect(x, y) {
10206
- if (x === void 0) x = 0;
10207
- if (y === void 0) y = 0;
10208
- return function() {
10209
- return {
10210
- width: 0,
10211
- height: 0,
10212
- top: y,
10213
- right: x,
10214
- bottom: y,
10215
- left: x,
10216
- x: 0,
10217
- y: 0,
10218
- toJSON: function toJSON() {
10219
- return null;
10220
- }
10221
- };
10222
- };
10223
- }
10224
- function usePopperTooltip(config, popperOptions) {
10225
- var _popperProps$state, _popperProps$state$mo, _popperProps$state$mo2;
10226
- if (config === void 0) config = {};
10227
- if (popperOptions === void 0) popperOptions = {};
10228
- var finalConfig = Object.keys(defaultConfig).reduce(function(config, key) {
10229
- var _extends2;
10230
- return _extends$2({}, config, (_extends2 = {}, _extends2[key] = config[key] !== void 0 ? config[key] : defaultConfig[key], _extends2));
10231
- }, config);
10232
- var defaultModifiers = import_react.useMemo(function() {
10233
- return [{
10234
- name: "offset",
10235
- options: { offset: finalConfig.offset }
10236
- }];
10237
- }, Array.isArray(finalConfig.offset) ? finalConfig.offset : []);
10238
- var finalPopperOptions = _extends$2({}, popperOptions, {
10239
- placement: popperOptions.placement || finalConfig.placement,
10240
- modifiers: popperOptions.modifiers || defaultModifiers
10241
- });
10242
- var _React$useState = import_react.useState(null), triggerRef = _React$useState[0], setTriggerRef = _React$useState[1];
10243
- var _React$useState2 = import_react.useState(null), tooltipRef = _React$useState2[0], setTooltipRef = _React$useState2[1];
10244
- var _useControlledState = useControlledState({
10245
- initial: finalConfig.defaultVisible,
10246
- value: finalConfig.visible,
10247
- onChange: finalConfig.onVisibleChange
10248
- }), visible = _useControlledState[0], setVisible = _useControlledState[1];
10249
- var timer = import_react.useRef();
10250
- import_react.useEffect(function() {
10251
- return function() {
10252
- return clearTimeout(timer.current);
10253
- };
10254
- }, []);
10255
- var _usePopper = usePopper(finalConfig.followCursor ? virtualElement : triggerRef, tooltipRef, finalPopperOptions), styles = _usePopper.styles, attributes = _usePopper.attributes, popperProps = _objectWithoutPropertiesLoose$1(_usePopper, _excluded);
10256
- var update = popperProps.update;
10257
- var getLatest = useGetLatest({
10258
- visible,
10259
- triggerRef,
10260
- tooltipRef,
10261
- finalConfig
10262
- });
10263
- var isTriggeredBy = import_react.useCallback(function(trigger) {
10264
- return Array.isArray(finalConfig.trigger) ? finalConfig.trigger.includes(trigger) : finalConfig.trigger === trigger;
10265
- }, Array.isArray(finalConfig.trigger) ? finalConfig.trigger : [finalConfig.trigger]);
10266
- var hideTooltip = import_react.useCallback(function() {
10267
- clearTimeout(timer.current);
10268
- timer.current = window.setTimeout(function() {
10269
- return setVisible(false);
10270
- }, finalConfig.delayHide);
10271
- }, [finalConfig.delayHide, setVisible]);
10272
- var showTooltip = import_react.useCallback(function() {
10273
- clearTimeout(timer.current);
10274
- timer.current = window.setTimeout(function() {
10275
- return setVisible(true);
10276
- }, finalConfig.delayShow);
10277
- }, [finalConfig.delayShow, setVisible]);
10278
- var toggleTooltip = import_react.useCallback(function() {
10279
- if (getLatest().visible) hideTooltip();
10280
- else showTooltip();
10281
- }, [
10282
- getLatest,
10283
- hideTooltip,
10284
- showTooltip
10285
- ]);
10286
- import_react.useEffect(function() {
10287
- if (!getLatest().finalConfig.closeOnOutsideClick) return;
10288
- var handleClickOutside = function handleClickOutside(event) {
10289
- var _event$composedPath;
10290
- var _getLatest = getLatest(), tooltipRef = _getLatest.tooltipRef, triggerRef = _getLatest.triggerRef;
10291
- var target = (event.composedPath == null ? void 0 : (_event$composedPath = event.composedPath()) == null ? void 0 : _event$composedPath[0]) || event.target;
10292
- if (target instanceof Node) {
10293
- if (tooltipRef != null && triggerRef != null && !tooltipRef.contains(target) && !triggerRef.contains(target)) hideTooltip();
10294
- }
10295
- };
10296
- document.addEventListener("mousedown", handleClickOutside);
10297
- return function() {
10298
- return document.removeEventListener("mousedown", handleClickOutside);
10299
- };
10300
- }, [getLatest, hideTooltip]);
10301
- import_react.useEffect(function() {
10302
- if (triggerRef == null || !isTriggeredBy("click")) return;
10303
- triggerRef.addEventListener("click", toggleTooltip);
10304
- return function() {
10305
- return triggerRef.removeEventListener("click", toggleTooltip);
10306
- };
10307
- }, [
10308
- triggerRef,
10309
- isTriggeredBy,
10310
- toggleTooltip
10311
- ]);
10312
- import_react.useEffect(function() {
10313
- if (triggerRef == null || !isTriggeredBy("double-click")) return;
10314
- triggerRef.addEventListener("dblclick", toggleTooltip);
10315
- return function() {
10316
- return triggerRef.removeEventListener("dblclick", toggleTooltip);
10317
- };
10318
- }, [
10319
- triggerRef,
10320
- isTriggeredBy,
10321
- toggleTooltip
10322
- ]);
10323
- import_react.useEffect(function() {
10324
- if (triggerRef == null || !isTriggeredBy("right-click")) return;
10325
- var preventDefaultAndToggle = function preventDefaultAndToggle(event) {
10326
- event.preventDefault();
10327
- toggleTooltip();
10328
- };
10329
- triggerRef.addEventListener("contextmenu", preventDefaultAndToggle);
10330
- return function() {
10331
- return triggerRef.removeEventListener("contextmenu", preventDefaultAndToggle);
10332
- };
10333
- }, [
10334
- triggerRef,
10335
- isTriggeredBy,
10336
- toggleTooltip
10337
- ]);
10338
- import_react.useEffect(function() {
10339
- if (triggerRef == null || !isTriggeredBy("focus")) return;
10340
- triggerRef.addEventListener("focus", showTooltip);
10341
- triggerRef.addEventListener("blur", hideTooltip);
10342
- return function() {
10343
- triggerRef.removeEventListener("focus", showTooltip);
10344
- triggerRef.removeEventListener("blur", hideTooltip);
10345
- };
10346
- }, [
10347
- triggerRef,
10348
- isTriggeredBy,
10349
- showTooltip,
10350
- hideTooltip
10351
- ]);
10352
- import_react.useEffect(function() {
10353
- if (triggerRef == null || !isTriggeredBy("hover")) return;
10354
- triggerRef.addEventListener("mouseenter", showTooltip);
10355
- triggerRef.addEventListener("mouseleave", hideTooltip);
10356
- return function() {
10357
- triggerRef.removeEventListener("mouseenter", showTooltip);
10358
- triggerRef.removeEventListener("mouseleave", hideTooltip);
10359
- };
10360
- }, [
10361
- triggerRef,
10362
- isTriggeredBy,
10363
- showTooltip,
10364
- hideTooltip
10365
- ]);
10366
- import_react.useEffect(function() {
10367
- if (tooltipRef == null || !isTriggeredBy("hover") || !getLatest().finalConfig.interactive) return;
10368
- tooltipRef.addEventListener("mouseenter", showTooltip);
10369
- tooltipRef.addEventListener("mouseleave", hideTooltip);
10370
- return function() {
10371
- tooltipRef.removeEventListener("mouseenter", showTooltip);
10372
- tooltipRef.removeEventListener("mouseleave", hideTooltip);
10373
- };
10374
- }, [
10375
- tooltipRef,
10376
- isTriggeredBy,
10377
- showTooltip,
10378
- hideTooltip,
10379
- getLatest
10380
- ]);
10381
- var isReferenceHidden = popperProps == null ? void 0 : (_popperProps$state = popperProps.state) == null ? void 0 : (_popperProps$state$mo = _popperProps$state.modifiersData) == null ? void 0 : (_popperProps$state$mo2 = _popperProps$state$mo.hide) == null ? void 0 : _popperProps$state$mo2.isReferenceHidden;
10382
- import_react.useEffect(function() {
10383
- if (finalConfig.closeOnTriggerHidden && isReferenceHidden) hideTooltip();
10384
- }, [
10385
- finalConfig.closeOnTriggerHidden,
10386
- hideTooltip,
10387
- isReferenceHidden
10388
- ]);
10389
- import_react.useEffect(function() {
10390
- if (!finalConfig.followCursor || triggerRef == null) return;
10391
- function setMousePosition(_ref) {
10392
- var clientX = _ref.clientX, clientY = _ref.clientY;
10393
- virtualElement.getBoundingClientRect = generateBoundingClientRect(clientX, clientY);
10394
- update?.();
10395
- }
10396
- triggerRef.addEventListener("mousemove", setMousePosition);
10397
- return function() {
10398
- return triggerRef.removeEventListener("mousemove", setMousePosition);
10399
- };
10400
- }, [
10401
- finalConfig.followCursor,
10402
- triggerRef,
10403
- update
10404
- ]);
10405
- import_react.useEffect(function() {
10406
- if (tooltipRef == null || update == null || finalConfig.mutationObserverOptions == null) return;
10407
- var observer = new MutationObserver(update);
10408
- observer.observe(tooltipRef, finalConfig.mutationObserverOptions);
10409
- return function() {
10410
- return observer.disconnect();
10411
- };
10412
- }, [
10413
- finalConfig.mutationObserverOptions,
10414
- tooltipRef,
10415
- update
10416
- ]);
10417
- return _extends$2({
10418
- getArrowProps: function getArrowProps(args) {
10419
- if (args === void 0) args = {};
10420
- return _extends$2({}, args, attributes.arrow, {
10421
- style: _extends$2({}, args.style, styles.arrow),
10422
- "data-popper-arrow": true
10423
- });
10424
- },
10425
- getTooltipProps: function getTooltipProps(args) {
10426
- if (args === void 0) args = {};
10427
- return _extends$2({}, args, { style: _extends$2({}, args.style, styles.popper) }, attributes.popper, { "data-popper-interactive": finalConfig.interactive });
10428
- },
10429
- setTooltipRef,
10430
- setTriggerRef,
10431
- tooltipRef,
10432
- triggerRef,
10433
- visible
10434
- }, popperProps);
10435
- }
10436
- var import_react, noop, _excluded, virtualElement, defaultConfig;
10437
- function init_react_popper_tooltip() {
10438
- return (init_react_popper_tooltip = __esmMin((() => {
10439
- import_react = /* @__PURE__ */ __toESM(require_react());
10440
- init_usePopper();
10441
- noop = function noop() {};
10442
- _excluded = ["styles", "attributes"];
10443
- virtualElement = { getBoundingClientRect: generateBoundingClientRect() };
10444
- defaultConfig = {
10445
- closeOnOutsideClick: true,
10446
- closeOnTriggerHidden: false,
10447
- defaultVisible: false,
10448
- delayHide: 0,
10449
- delayShow: 0,
10450
- followCursor: false,
10451
- interactive: false,
10452
- mutationObserverOptions: {
10453
- attributes: true,
10454
- childList: true,
10455
- subtree: true
10456
- },
10457
- offset: [0, 6],
10458
- trigger: "hover"
10459
- };
10460
- })))();
10461
- }
10462
- //#endregion
10463
- export { require_react_dom as A, init_stringify as C, require_picocolors_browser as D, parse as E, require_jsx_runtime as O, init_main as S, init_parse as T, curriedOpacify$1 as _, init_useTransitionState as a, init_index_browser as b, Link as c, Router as d, init_dist as f, curriedLighten$1 as g, curriedDarken$1 as h, init_react_textarea_autosize_browser_esm as i, require_react as j, require_client as k, init_dist$1 as l, useNavigate as m, usePopperTooltip as n, useTransitionState as o, useLocation as p, index as r, BrowserRouter as s, init_react_popper_tooltip as t, MemoryRouter as u, init_polished_esm as v, stringify as w, nanoid as x, rgba as y };
11176
+ export { init_parse as A, init_lib as C, init_main as D, nanoid as E, require_client as F, require_react_dom as I, require_react as L, require_picocolors_browser as M, require_memoizerific as N, init_stringify as O, require_jsx_runtime as P, require_min_indent as S, init_index_browser as T, curriedOpacify$1 as _, import_react$4 as a, require_lz_string as b, Link as c, Router as d, init_dist as f, curriedLighten$1 as g, curriedDarken$1 as h, useTransitionState as i, parse as j, stringify as k, init_dist$1 as l, useNavigate as m, init_react_textarea_autosize_browser_esm as n, init_shim_cjs_0 as o, useLocation as p, init_useTransitionState as r, BrowserRouter as s, index as t, MemoryRouter as u, init_polished_esm as v, inspect as w, require_indent_string as x, rgba as y };