@aussieljk/forkbook 0.0.1-4 → 0.0.1-6

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 (318) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +35 -53
  3. package/dist/_browser-chunks/{Color-KRDPNBZS.js → Color-2BMQTRYG.js} +3 -3
  4. package/dist/_browser-chunks/WithTooltip-GJACFWKM.js +196 -0
  5. package/dist/_browser-chunks/chunk-6AKCRYVX.js +6 -0
  6. package/dist/_browser-chunks/chunk-6EJEEII7.js +1149 -0
  7. package/dist/_browser-chunks/{chunk-LXQPPHMD.js → chunk-6IKB2UHQ.js} +27 -27
  8. package/dist/_browser-chunks/chunk-DPRGR3QP.js +5995 -0
  9. package/dist/_browser-chunks/{chunk-K6GRZSXS.js → chunk-EQKMUQF3.js} +4 -3
  10. package/dist/_browser-chunks/{chunk-GU3X2J4S.js → chunk-FRAOQJDI.js} +3 -1
  11. package/dist/_browser-chunks/{chunk-2SCZVUKW.js → chunk-H4ZHAXN3.js} +1 -1
  12. package/dist/_browser-chunks/{chunk-ZLWA5RIE.js → chunk-I4ATZPNZ.js} +1 -1
  13. package/dist/_browser-chunks/{chunk-6SHRDXGF.js → chunk-IJYLSHY7.js} +173 -87
  14. package/dist/_browser-chunks/{chunk-SZCSXISG.js → chunk-NA4ITZTK.js} +7 -5
  15. package/dist/_browser-chunks/chunk-NGMQJMCY.js +53 -0
  16. package/dist/_browser-chunks/{chunk-K2B36HKM.js → chunk-O24AZJZ7.js} +1 -1
  17. package/dist/_browser-chunks/{chunk-BZGX2THJ.js → chunk-QAHDGPZ7.js} +3 -3
  18. package/dist/_browser-chunks/{chunk-NMRSYACM.js → chunk-SFMQDIN2.js} +4 -3
  19. package/dist/_browser-chunks/{chunk-ZTQ5MEJ5.js → chunk-UMGDO2ZM.js} +3 -37
  20. package/dist/_browser-chunks/{chunk-FVSEPWWX.js → chunk-X7D777E6.js} +547 -1622
  21. package/dist/_browser-chunks/{chunk-52CW7FF7.js → chunk-YYWKZ7O3.js} +3 -1
  22. package/dist/_node-chunks/{attached-runtime-CYMSKF3A.js → attached-runtime-EBWIOQZN.js} +29 -29
  23. package/dist/_node-chunks/{builder-manager-RMLSIO45.js → builder-manager-ETBLZ2RH.js} +288 -349
  24. package/dist/_node-chunks/{chunk-IR34HUSL.js → chunk-252Y5WHZ.js} +7 -7
  25. package/dist/_node-chunks/{chunk-VPOJCHKM.js → chunk-25PXULSJ.js} +14 -14
  26. package/dist/_node-chunks/chunk-2DBJWMYE.js +495 -0
  27. package/dist/_node-chunks/{chunk-KXDJ77EW.js → chunk-3UWWRDA5.js} +7 -7
  28. package/dist/_node-chunks/{chunk-DVLFCSDG.js → chunk-4KCQYJT6.js} +7 -7
  29. package/dist/_node-chunks/{chunk-X3E55W5S.js → chunk-4MJIPOJ5.js} +6 -6
  30. package/dist/_node-chunks/{chunk-5TPSYG4L.js → chunk-4WLIN3VZ.js} +8 -8
  31. package/dist/_node-chunks/{chunk-WBTLBIED.js → chunk-4XNPO23I.js} +6 -6
  32. package/dist/_node-chunks/{chunk-NHIRHARE.js → chunk-5T635FTI.js} +10 -10
  33. package/dist/_node-chunks/{chunk-YU2WFBFL.js → chunk-5Z6MT4RI.js} +8 -8
  34. package/dist/_node-chunks/{chunk-2QWFS23O.js → chunk-644CUCK5.js} +7 -7
  35. package/dist/_node-chunks/{chunk-7XCJ7RAJ.js → chunk-7E27CGRU.js} +7 -7
  36. package/dist/_node-chunks/{chunk-WS367FSJ.js → chunk-A35J7YYA.js} +6 -6
  37. package/dist/_node-chunks/{chunk-ILFIERUB.js → chunk-ALHPFKVB.js} +8 -8
  38. package/dist/_node-chunks/{chunk-SQMCVWOR.js → chunk-ANDQVXYX.js} +8 -8
  39. package/dist/_node-chunks/{chunk-HUFAUSEX.js → chunk-AS4SFRCZ.js} +6 -6
  40. package/dist/_node-chunks/{chunk-XBXGLD3K.js → chunk-BLUMKQQB.js} +6 -6
  41. package/dist/_node-chunks/{chunk-QU5ANYM7.js → chunk-C5JG7EKF.js} +6 -6
  42. package/dist/_node-chunks/{chunk-P6QAFJ5M.js → chunk-CBUQY454.js} +7 -15
  43. package/dist/_node-chunks/{chunk-4LPAWP5S.js → chunk-CF7KLGUW.js} +22 -20
  44. package/dist/_node-chunks/{chunk-MOITZTEA.js → chunk-CGVPHZVD.js} +8 -8
  45. package/dist/_node-chunks/{chunk-2NWHHNNI.js → chunk-DABFUVLR.js} +6 -6
  46. package/dist/_node-chunks/{chunk-XH6TDVML.js → chunk-DCNZ6SFN.js} +6 -6
  47. package/dist/_node-chunks/{chunk-F2N6BJRH.js → chunk-DDGW2EBW.js} +29843 -51588
  48. package/dist/_node-chunks/{chunk-OS5LQEC6.js → chunk-DRLBJM6X.js} +7 -7
  49. package/dist/_node-chunks/{chunk-GEMKJCEE.js → chunk-E3O7VAPG.js} +10 -10
  50. package/dist/_node-chunks/{chunk-4GD7MMLJ.js → chunk-FIFCNBTL.js} +7 -7
  51. package/dist/_node-chunks/{chunk-UMZSNFWM.js → chunk-FQWTUSYB.js} +6 -6
  52. package/dist/_node-chunks/{chunk-JEEXR245.js → chunk-G6YNW4FK.js} +7 -7
  53. package/dist/_node-chunks/{chunk-HP5UY6OY.js → chunk-GDFQQO5U.js} +6 -6
  54. package/dist/_node-chunks/{chunk-653BSJIX.js → chunk-GGTXOH3W.js} +6 -6
  55. package/dist/_node-chunks/{chunk-PDCSUZ4L.js → chunk-GIOREKIG.js} +7 -7
  56. package/dist/_node-chunks/{chunk-V2JDVM46.js → chunk-GOFK4EKU.js} +6 -6
  57. package/dist/_node-chunks/{chunk-INEYTOWF.js → chunk-GQ3HJNIH.js} +10 -13
  58. package/dist/_node-chunks/{chunk-2APY2YSW.js → chunk-GRTI5653.js} +7 -7
  59. package/dist/_node-chunks/{chunk-KN2S7JF2.js → chunk-HKL3VOYX.js} +6 -6
  60. package/dist/_node-chunks/{chunk-A2UMIN5B.js → chunk-HUPRQZ3I.js} +7 -7
  61. package/dist/_node-chunks/{chunk-7JA2DMCJ.js → chunk-HWRHYM7Z.js} +6 -6
  62. package/dist/_node-chunks/{chunk-SBQT3LMM.js → chunk-I7HRDCNY.js} +10 -10
  63. package/dist/_node-chunks/{chunk-2IJCISIB.js → chunk-IFPMZ247.js} +6 -6
  64. package/dist/_node-chunks/{chunk-DIUBMAMV.js → chunk-J6M5CRYZ.js} +8 -8
  65. package/dist/_node-chunks/{chunk-IBO346NQ.js → chunk-JPXJI6QR.js} +60 -134
  66. package/dist/_node-chunks/{chunk-STRSG3GT.js → chunk-JS2J2SKX.js} +6 -6
  67. package/dist/_node-chunks/{chunk-FNGLVURC.js → chunk-JZWF3XLN.js} +6 -6
  68. package/dist/_node-chunks/{chunk-KINEBDMM.js → chunk-KF3FT3NI.js} +9 -9
  69. package/dist/_node-chunks/chunk-KWPWQA7G.js +2609 -0
  70. package/dist/_node-chunks/{chunk-OIIORQX5.js → chunk-L4JGWK4K.js} +6 -6
  71. package/dist/_node-chunks/{chunk-MRZD5SBV.js → chunk-LFIFBDMS.js} +6 -6
  72. package/dist/_node-chunks/{chunk-UAALLQAQ.js → chunk-LWKLJYYQ.js} +6 -6
  73. package/dist/_node-chunks/{chunk-AFKKN27O.js → chunk-LXVSVTQ3.js} +6 -6
  74. package/dist/_node-chunks/chunk-MDW3GSU3.js +69 -0
  75. package/dist/_node-chunks/{chunk-UXW4I2CN.js → chunk-MFN2XBPL.js} +7 -7
  76. package/dist/_node-chunks/{chunk-ESZVID7Q.js → chunk-MQFB44YS.js} +7 -7
  77. package/dist/_node-chunks/{chunk-3XDIBUGD.js → chunk-MZ2GSR3G.js} +23 -51
  78. package/dist/_node-chunks/{chunk-POXTROIX.js → chunk-N7HEOGTM.js} +9 -6
  79. package/dist/_node-chunks/{chunk-UIFLXDUL.js → chunk-NUAQC3XP.js} +16 -13
  80. package/dist/_node-chunks/{chunk-BOUA7OB7.js → chunk-NX6CSWF3.js} +8 -8
  81. package/dist/_node-chunks/{chunk-B3LK7C7B.js → chunk-NZ7EQWYA.js} +9 -9
  82. package/dist/_node-chunks/{chunk-U5QMVW3H.js → chunk-OLGIDCVD.js} +650 -9
  83. package/dist/_node-chunks/{chunk-NAYTBC72.js → chunk-P65JVLO3.js} +8 -8
  84. package/dist/_node-chunks/{chunk-M2UZP5GC.js → chunk-PAN35AYX.js} +7 -7
  85. package/dist/_node-chunks/{chunk-GZBUCUF7.js → chunk-PLWLCVP2.js} +6 -6
  86. package/dist/_node-chunks/{chunk-A4YELYR3.js → chunk-Q4BEWGMK.js} +6 -6
  87. package/dist/_node-chunks/{chunk-YYIZ2PC4.js → chunk-QNUXGVZZ.js} +6 -6
  88. package/dist/_node-chunks/{chunk-WHZWLJGO.js → chunk-R5DWO2S2.js} +31 -30
  89. package/dist/_node-chunks/{chunk-RMLENEZC.js → chunk-SLZV7PTQ.js} +8 -8
  90. package/dist/_node-chunks/{chunk-B5VFV3ZW.js → chunk-TIRP5JQM.js} +11 -10
  91. package/dist/_node-chunks/{chunk-TLVEPWBN.js → chunk-TMXWDY2O.js} +6 -6
  92. package/dist/_node-chunks/{chunk-LGUMVMBA.js → chunk-TN3ULFFZ.js} +6 -6
  93. package/dist/_node-chunks/{chunk-5ZLOPVTG.js → chunk-TPSJW4CQ.js} +6 -6
  94. package/dist/_node-chunks/{chunk-RNF3Z4ZJ.js → chunk-TYBPAV3X.js} +6 -6
  95. package/dist/_node-chunks/chunk-UUE3PSJB.js +11 -0
  96. package/dist/_node-chunks/chunk-VKNRNBTB.js +18 -0
  97. package/dist/_node-chunks/{chunk-6Y6RBJD7.js → chunk-VPU4E7DI.js} +25 -8
  98. package/dist/_node-chunks/{chunk-FJDJE7XC.js → chunk-WIQ6Y3NX.js} +6 -6
  99. package/dist/_node-chunks/{chunk-DD2S4BFV.js → chunk-WRG3CFGS.js} +6 -6
  100. package/dist/_node-chunks/{chunk-FAZ3MUOI.js → chunk-X3RTVNRN.js} +7 -7
  101. package/dist/_node-chunks/chunk-XOGU5PWI.js +347 -0
  102. package/dist/_node-chunks/{chunk-AU3SF2WM.js → chunk-XWGMQW2H.js} +6 -6
  103. package/dist/_node-chunks/chunk-YCXTTQ7K.js +620 -0
  104. package/dist/_node-chunks/{chunk-KZBZYQTZ.js → chunk-YHH57LHY.js} +9 -9
  105. package/dist/_node-chunks/{chunk-J3M3X7GO.js → chunk-YMZ2SGFK.js} +6 -6
  106. package/dist/_node-chunks/{chunk-AY6B2C46.js → chunk-YNENOZRY.js} +7 -7
  107. package/dist/_node-chunks/{chunk-CGWACHNW.js → chunk-YPGVYNJB.js} +6 -6
  108. package/dist/_node-chunks/{chunk-OQ4NCWE4.js → chunk-YQDBSAXW.js} +7 -7
  109. package/dist/_node-chunks/{chunk-YGXJOSRU.js → chunk-Z4NZLBOX.js} +7 -7
  110. package/dist/_node-chunks/{chunk-74IEHSIR.js → chunk-ZC3ZZKMS.js} +8 -8
  111. package/dist/_node-chunks/{chunk-QDLR4JF5.js → chunk-ZCITDAV4.js} +34 -949
  112. package/dist/_node-chunks/chunk-ZNSGFYAT.js +25 -0
  113. package/dist/_node-chunks/{chunk-XD5SYXAU.js → chunk-ZSH6BUCW.js} +25 -25
  114. package/dist/_node-chunks/{chunk-X2KWNNFB.js → chunk-ZTFNOXZF.js} +6 -6
  115. package/dist/_node-chunks/dist-GGTGKXZA.js +27 -0
  116. package/dist/_node-chunks/dist-NS676VJR.js +16 -0
  117. package/dist/_node-chunks/{local-runtime-KTI3DH6X.js → local-runtime-BUTEKJYV.js} +20 -20
  118. package/dist/_node-chunks/{mdx-plugin-2E3SW5TL.js → mdx-plugin-7WXQIHPV.js} +2263 -130
  119. package/dist/_node-chunks/{monorepo-MWAMFHKY.js → monorepo-NCD3X2BR.js} +11 -11
  120. package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-MGORG6W7.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-SD3B272K.js} +11 -11
  121. package/dist/_node-chunks/optimized-tests-ITVOHEOA.js +22 -0
  122. package/dist/_node-chunks/{pattern-copy-play-QTQOY7E7.js → pattern-copy-play-3QJANDJD.js} +9 -9
  123. package/dist/_node-chunks/postinstallAddon-LEUHOKX6.js +20 -0
  124. package/dist/_node-chunks/{rehype-external-links-T7DZNKMB.js → rehype-external-links-4LR5BDR2.js} +9 -9
  125. package/dist/_node-chunks/{rehype-slug-CSHI5WYI.js → rehype-slug-PWFRGOEV.js} +9 -9
  126. package/dist/_node-chunks/{relaxed-limits-RAZD36YR.js → relaxed-limits-VNNWUW7X.js} +11 -11
  127. package/dist/_node-chunks/{run-S6XSLPEB.js → run-RUAAWEQT.js} +13 -13
  128. package/dist/_node-chunks/{run-KJ3Z2TTY.js → run-YK6ARCWS.js} +17 -17
  129. package/dist/_node-chunks/session-id-JJYVZAKO.js +23 -0
  130. package/dist/_node-chunks/{setup-35J66GFB.js → setup-4QKCICV6.js} +8 -8
  131. package/dist/_node-chunks/{vitest.config.4.template-Z7OCRDKD.js → vitest.config.4.template-WVFLIXN7.js} +7 -7
  132. package/dist/actions/decorator.js +2 -1
  133. package/dist/actions/index.js +2 -1
  134. package/dist/addon-a11y/index.js +2 -1
  135. package/dist/addon-a11y/manager.js +24 -17
  136. package/dist/addon-a11y/preset.js +7 -7
  137. package/dist/addon-a11y/preview.js +2 -1
  138. package/dist/addon-docs/blocks.js +46 -25
  139. package/dist/addon-docs/manager.js +2 -2
  140. package/dist/addon-docs/preset.js +10 -10
  141. package/dist/addon-links/index.js +3 -2
  142. package/dist/addon-links/preview.d.ts +1 -1
  143. package/dist/addon-links/preview.js +3 -2
  144. package/dist/addon-links/react/index.js +2 -1
  145. package/dist/addon-mcp/preset.js +8 -8
  146. package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +17 -45
  147. package/dist/addon-ondevice-actions/index.js +5 -1
  148. package/dist/addon-ondevice-actions/register.js +5 -1
  149. package/dist/addon-pseudo-states/manager.js +2 -2
  150. package/dist/addon-pseudo-states/preview.d.ts +1 -1
  151. package/dist/addon-themes/manager.js +1 -1
  152. package/dist/addon-themes/postinstall.js +7 -7
  153. package/dist/addon-vitest/constants.js +8 -8
  154. package/dist/addon-vitest/manager.js +8 -8
  155. package/dist/addon-vitest/node/coverage-reporter.js +8 -8
  156. package/dist/addon-vitest/node/vitest.js +16 -16
  157. package/dist/addon-vitest/postinstall.js +10 -10
  158. package/dist/addon-vitest/preset.js +15 -16
  159. package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
  160. package/dist/addon-vitest/vitest-plugin/index.js +17 -17
  161. package/dist/babel/index.d.ts +91 -842
  162. package/dist/babel/index.js +13 -19
  163. package/dist/bin/core.js +61 -60
  164. package/dist/bin/dispatcher.js +10 -10
  165. package/dist/bin/loader.js +16 -15
  166. package/dist/builder-vite/index.js +15 -15
  167. package/dist/builder-vite/preset.js +13 -13
  168. package/dist/{chunk-DF6btpT3.d.ts → chunk-BGhyFTJO.d.ts} +2 -2
  169. package/dist/chunk-CV4-Z2pn.d.ts +30 -0
  170. package/dist/{chunk-DvufcbCc.d.ts → chunk-CVY28Ngy.d.ts} +1 -1
  171. package/dist/{chunk-B2t1tGRh.d.ts → chunk-CYuvV2sR.d.ts} +11 -13
  172. package/dist/{chunk-BYnH2sbb.d.ts → chunk-ClI-HEh5.d.ts} +1 -1
  173. package/dist/{chunk-DIz17UEJ.d.ts → chunk-CzmZhVrn.d.ts} +35 -1
  174. package/dist/{chunk-B2xylxt5.d.ts → chunk-DROZ9oel.d.ts} +7 -271
  175. package/dist/cli/index.d.ts +13 -866
  176. package/dist/cli/index.js +42 -4952
  177. package/dist/cli/tools/sdk/child-host.d.ts +1 -1
  178. package/dist/cli/tools/sdk/child-host.js +17 -17
  179. package/dist/cli/tools/sdk/index.d.ts +1 -1
  180. package/dist/cli/tools/sdk/index.js +18 -18
  181. package/dist/cli-commands/bin/index.js +7 -7
  182. package/dist/client-logger/index.js +3 -1
  183. package/dist/common/index.d.ts +5 -4
  184. package/dist/common/index.js +35 -37
  185. package/dist/components/index.d.ts +14 -231
  186. package/dist/components/index.js +2518 -8365
  187. package/dist/core-events/index.d.ts +4 -3
  188. package/dist/core-events/index.js +3 -1
  189. package/dist/core-server/index.d.ts +2 -2
  190. package/dist/core-server/index.js +450 -147
  191. package/dist/core-server/presets/common-manager.js +96 -894
  192. package/dist/core-server/presets/common-override-preset.js +12 -10
  193. package/dist/core-server/presets/common-preset.js +39 -40
  194. package/dist/create/bin/index.js +7 -7
  195. package/dist/create/index.js +15 -15
  196. package/dist/csf/index.d.ts +2 -2
  197. package/dist/csf/index.js +27 -93
  198. package/dist/csf-tools/index.d.ts +2 -12
  199. package/dist/csf-tools/index.js +14 -14
  200. package/dist/instrumenter/index.js +3 -1
  201. package/dist/manager/_manager-chunks/{globals-runtime-dKGpUUSb.js → globals-runtime-B-IeQLQu.js} +285 -61
  202. package/dist/manager/_manager-chunks/{globals-runtime-DuLFjsF4.js → globals-runtime-B5-0Ccbv.js} +1 -1
  203. package/dist/manager/_manager-chunks/{globals-runtime-8HkdnU2F.js → globals-runtime-B71TiXST.js} +93 -2146
  204. package/dist/manager/_manager-chunks/globals-runtime-BMCaBukU.js +413 -0
  205. package/dist/manager/_manager-chunks/globals-runtime-BUP5e_t9.js +1396 -0
  206. package/dist/manager/_manager-chunks/globals-runtime-C7mqoHpE.js +2093 -0
  207. package/dist/manager/_manager-chunks/globals-runtime-CBviMKtt.js +446 -0
  208. package/dist/manager/_manager-chunks/{globals-runtime-eLPTIfX-.js → globals-runtime-CYNosEiD.js} +1 -2
  209. package/dist/manager/_manager-chunks/globals-runtime-C_evJrEn.js +1960 -0
  210. package/dist/manager/_manager-chunks/{globals-runtime-C02fvgcd.js → globals-runtime-CdgVeAbk.js} +408 -377
  211. package/dist/manager/_manager-chunks/{globals-runtime-BmphMP6z.js → globals-runtime-Cqn8KdSZ.js} +4 -4
  212. package/dist/manager/_manager-chunks/{globals-runtime-ZHrQFa3-.js → globals-runtime-CrIF09P8.js} +1246 -539
  213. package/dist/manager/_manager-chunks/{globals-runtime-BvM-NY2g.js → globals-runtime-Ct1kY4wb.js} +638 -1731
  214. package/dist/manager/_manager-chunks/globals-runtime-CvyFEPIY.js +5282 -0
  215. package/dist/manager/_manager-chunks/{globals-runtime-FC201B7s.js → globals-runtime-DMBjo1QS.js} +2 -1
  216. package/dist/manager/_manager-chunks/{globals-runtime-C9P2ZbMM.js → globals-runtime-DUK6bGcb.js} +52 -25
  217. package/dist/manager/_manager-chunks/globals-runtime-DedfO-DP.js +3414 -0
  218. package/dist/manager/_manager-chunks/{globals-runtime-q5R9dawi.js → globals-runtime-DqhIYwLp.js} +165 -152
  219. package/dist/manager/_manager-chunks/globals-runtime-XSxCU7PR.js +41 -0
  220. package/dist/manager/_manager-chunks/runtime-BR5z0WoJ.js +456 -0
  221. package/dist/manager/_manager-chunks/{runtime-DdCaBowH.js → runtime-BgYvp1WN.js} +15 -7
  222. package/dist/manager/_manager-chunks/{runtime-BGvLm94o.js → runtime-CHI-LHF1.js} +3 -3
  223. package/dist/manager/_manager-chunks/{runtime-BdLdsHca.js → runtime-CUymj6EY.js} +280 -288
  224. package/dist/manager/_manager-chunks/runtime-CaU1DSEZ.js +528 -0
  225. package/dist/manager/_manager-chunks/{runtime-DMig8mT7.js → runtime-CqItbdKW.js} +3 -2
  226. package/dist/manager/_manager-chunks/{runtime-B9QzcYO3.js → runtime-D4ZOOIV0.js} +5 -531
  227. package/dist/manager/_manager-chunks/{runtime-50_aob4S.js → runtime-DER98nV0.js} +3 -19
  228. package/dist/manager/_manager-chunks/{runtime-CE2sHVqs.js → runtime-DrTLBe7a.js} +39 -40
  229. package/dist/manager/_manager-chunks/runtime-MAf7Wpk5.js +692 -0
  230. package/dist/manager/_manager-chunks/{runtime-CKP1i0--.js → runtime-cVFIMcca.js} +1 -1
  231. package/dist/manager/globals-runtime.js +1 -1
  232. package/dist/manager/globals.d.ts +1 -1
  233. package/dist/manager/globals.js +1 -1
  234. package/dist/manager/runtime.js +1 -1
  235. package/dist/manager-api/index.d.ts +1 -1
  236. package/dist/manager-api/index.js +22 -28
  237. package/dist/manager-errors.d.ts +1 -1
  238. package/dist/mcp/index.js +8 -8
  239. package/dist/mocking-utils/index.js +16 -11
  240. package/dist/nextjs-vite/index.js +3 -2
  241. package/dist/nextjs-vite/node/index.js +7 -7
  242. package/dist/nextjs-vite/preset.js +11 -11
  243. package/dist/nextjs-vite/vite-plugin/index.js +7 -7
  244. package/dist/nextjs-vite-plugin/index.d.ts +1 -2
  245. package/dist/nextjs-vite-plugin/index.js +12 -27
  246. package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
  247. package/dist/node-logger/index.d.ts +65 -72
  248. package/dist/node-logger/index.js +11 -12
  249. package/dist/oxc-parser/index.js +11 -13
  250. package/dist/oxc-parser/worker.js +10 -10
  251. package/dist/preview/_chunks/{runtime-DVM_AHbR.js → runtime-6P-h06Te.js} +51 -50
  252. package/dist/preview/_chunks/{runtime-BoxmlDdB.js → runtime-B9KKIDGa.js} +202 -81
  253. package/dist/preview/_chunks/{runtime-BIzIdDbb.js → runtime-BPwAnlRx.js} +482 -334
  254. package/dist/preview/_chunks/{runtime-q3wt0e_N.js → runtime-BUnOhg9h.js} +2 -2
  255. package/dist/preview/_chunks/runtime-Bcv1hJky.js +6305 -0
  256. package/dist/preview/_chunks/{runtime-CqHxptiK.js → runtime-C1jgT6tJ.js} +93 -2145
  257. package/dist/preview/_chunks/{runtime-D7B4bVe_.js → runtime-C8QFpkFV.js} +6 -6
  258. package/dist/preview/_chunks/{runtime-CijtAN7R.js → runtime-DdqR8Fd0.js} +15 -6
  259. package/dist/preview/_chunks/{runtime-B3y8ocOg.js → runtime-DvBfMhis.js} +2 -2
  260. package/dist/preview/_chunks/{runtime-BZSnICCg.js → runtime-WapFVPAh.js} +29 -29
  261. package/dist/preview/runtime.js +1 -1
  262. package/dist/preview-api/index.d.ts +1 -1
  263. package/dist/preview-api/index.js +2 -1
  264. package/dist/preview-errors.d.ts +1 -1
  265. package/dist/react/docgen/docgen-worker.js +11 -12
  266. package/dist/react/entry-preview.js +2 -1
  267. package/dist/react/index.js +6 -4
  268. package/dist/react/preset.js +13 -14
  269. package/dist/react/preview.js +3 -2
  270. package/dist/react-native/bin/get-stories.js +8 -8
  271. package/dist/react-native/index.js +25 -211
  272. package/dist/react-native/metro/node.js +10 -9
  273. package/dist/react-native/metro/withStorybook.js +11 -10
  274. package/dist/react-native/scripts/generate.js +8 -8
  275. package/dist/react-vite/node/index.js +7 -7
  276. package/dist/react-vite/preset.js +7 -7
  277. package/dist/router/index.js +3 -1
  278. package/dist/server-errors.d.ts +1 -1
  279. package/dist/server-errors.js +9 -9
  280. package/dist/shared/open-service/index.d.ts +1 -1
  281. package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
  282. package/dist/telemetry/index.js +43 -45
  283. package/dist/test/index.js +808 -573
  284. package/dist/theming/create.js +2 -1
  285. package/dist/theming/index.js +22 -1
  286. package/dist/types/index.d.ts +1 -1
  287. package/package.json +17 -45
  288. package/dist/_browser-chunks/WithTooltip-523JD6VH.js +0 -1619
  289. package/dist/_browser-chunks/chunk-5P4QA6MY.js +0 -20
  290. package/dist/_browser-chunks/chunk-UDQ3XQFC.js +0 -108
  291. package/dist/_node-chunks/chunk-7XCEKQGV.js +0 -18
  292. package/dist/_node-chunks/chunk-EGS2SAD2.js +0 -5414
  293. package/dist/_node-chunks/chunk-GKTCJPLL.js +0 -36
  294. package/dist/_node-chunks/chunk-HENM5ZK3.js +0 -1877
  295. package/dist/_node-chunks/chunk-HQM4ISVU.js +0 -11
  296. package/dist/_node-chunks/chunk-K3I3G4VL.js +0 -4731
  297. package/dist/_node-chunks/chunk-MZMPFII2.js +0 -29
  298. package/dist/_node-chunks/chunk-NYAWUR6L.js +0 -3823
  299. package/dist/_node-chunks/chunk-NYRUWAL3.js +0 -23
  300. package/dist/_node-chunks/chunk-SSZ5REKS.js +0 -3008
  301. package/dist/_node-chunks/chunk-WEW23EEE.js +0 -662
  302. package/dist/_node-chunks/chunk-XWQEWRFD.js +0 -51
  303. package/dist/_node-chunks/dist-CNA633FI.js +0 -16
  304. package/dist/_node-chunks/globby-HRQV5N3V.js +0 -2884
  305. package/dist/_node-chunks/jiti-WE7NHS2Y.js +0 -3848
  306. package/dist/_node-chunks/lib-7MVA6CTW.js +0 -366
  307. package/dist/_node-chunks/optimized-tests-IAX6YURR.js +0 -22
  308. package/dist/_node-chunks/postinstallAddon-ROH2TBJX.js +0 -20
  309. package/dist/_node-chunks/session-id-GM226DGP.js +0 -23
  310. package/dist/chunk-BfBzpgct.d.ts +0 -916
  311. package/dist/core-server/presets/common-manager.css +0 -170
  312. package/dist/manager/_manager-chunks/globals-runtime-BIKBO23x.js +0 -3389
  313. package/dist/manager/_manager-chunks/globals-runtime-DkAPXCvc.js +0 -9766
  314. package/dist/manager/_manager-chunks/globals-runtime-DtcOnYHR.js +0 -5357
  315. package/dist/manager/_manager-chunks/runtime-89Cb0A8U.js +0 -998
  316. package/dist/manager/_manager-chunks/runtime-wL4UO7YO.js +0 -452
  317. package/dist/preview/_chunks/runtime-BTPtVY1p.js +0 -1102
  318. 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-eLPTIfX-.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-DtcOnYHR.js";
4
- import { n as init_popper, t as createPopper } from "./globals-runtime-BIKBO23x.js";
1
+ import { a as __toESM, i as __require, 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-CYNosEiD.js";
5
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";
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
@@ -7276,6 +7275,197 @@ var require_jsx_runtime = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7276
7275
  module.exports = require_react_jsx_runtime_production_min();
7277
7276
  }));
7278
7277
  //#endregion
7278
+ //#region ../../node_modules/memoizerific/memoizerific.js
7279
+ var require_memoizerific = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7280
+ (function(f) {
7281
+ if (typeof exports === "object" && typeof module !== "undefined") module.exports = f();
7282
+ else if (typeof define === "function" && define.amd) define([], f);
7283
+ else {
7284
+ var g;
7285
+ if (typeof window !== "undefined") g = window;
7286
+ else if (typeof global !== "undefined") g = global;
7287
+ else if (typeof self !== "undefined") g = self;
7288
+ else g = this;
7289
+ g.memoizerific = f();
7290
+ }
7291
+ })(function() {
7292
+ return (function e(t, n, r) {
7293
+ function s(o, u) {
7294
+ if (!n[o]) {
7295
+ if (!t[o]) {
7296
+ var a = typeof __require == "function" && __require;
7297
+ if (!u && a) return a(o, !0);
7298
+ if (i) return i(o, !0);
7299
+ var f = /* @__PURE__ */ new Error("Cannot find module '" + o + "'");
7300
+ throw f.code = "MODULE_NOT_FOUND", f;
7301
+ }
7302
+ var l = n[o] = { exports: {} };
7303
+ t[o][0].call(l.exports, function(e) {
7304
+ var n = t[o][1][e];
7305
+ return s(n ? n : e);
7306
+ }, l, l.exports, e, t, n, r);
7307
+ }
7308
+ return n[o].exports;
7309
+ }
7310
+ var i = typeof __require == "function" && __require;
7311
+ for (var o = 0; o < r.length; o++) s(r[o]);
7312
+ return s;
7313
+ })({
7314
+ 1: [function(_dereq_, module, exports) {
7315
+ module.exports = function(forceSimilar) {
7316
+ if (typeof Map !== "function" || forceSimilar) return new (_dereq_("./similar"))();
7317
+ else return /* @__PURE__ */ new Map();
7318
+ };
7319
+ }, { "./similar": 2 }],
7320
+ 2: [function(_dereq_, module, exports) {
7321
+ function Similar() {
7322
+ this.list = [];
7323
+ this.lastItem = void 0;
7324
+ this.size = 0;
7325
+ return this;
7326
+ }
7327
+ Similar.prototype.get = function(key) {
7328
+ var index;
7329
+ if (this.lastItem && this.isEqual(this.lastItem.key, key)) return this.lastItem.val;
7330
+ index = this.indexOf(key);
7331
+ if (index >= 0) {
7332
+ this.lastItem = this.list[index];
7333
+ return this.list[index].val;
7334
+ }
7335
+ };
7336
+ Similar.prototype.set = function(key, val) {
7337
+ var index;
7338
+ if (this.lastItem && this.isEqual(this.lastItem.key, key)) {
7339
+ this.lastItem.val = val;
7340
+ return this;
7341
+ }
7342
+ index = this.indexOf(key);
7343
+ if (index >= 0) {
7344
+ this.lastItem = this.list[index];
7345
+ this.list[index].val = val;
7346
+ return this;
7347
+ }
7348
+ this.lastItem = {
7349
+ key,
7350
+ val
7351
+ };
7352
+ this.list.push(this.lastItem);
7353
+ this.size++;
7354
+ return this;
7355
+ };
7356
+ Similar.prototype.delete = function(key) {
7357
+ var index;
7358
+ if (this.lastItem && this.isEqual(this.lastItem.key, key)) this.lastItem = void 0;
7359
+ index = this.indexOf(key);
7360
+ if (index >= 0) {
7361
+ this.size--;
7362
+ return this.list.splice(index, 1)[0];
7363
+ }
7364
+ };
7365
+ Similar.prototype.has = function(key) {
7366
+ var index;
7367
+ if (this.lastItem && this.isEqual(this.lastItem.key, key)) return true;
7368
+ index = this.indexOf(key);
7369
+ if (index >= 0) {
7370
+ this.lastItem = this.list[index];
7371
+ return true;
7372
+ }
7373
+ return false;
7374
+ };
7375
+ Similar.prototype.forEach = function(callback, thisArg) {
7376
+ var i = 0;
7377
+ for (; i < this.size; i++) callback.call(thisArg || this, this.list[i].val, this.list[i].key, this);
7378
+ };
7379
+ Similar.prototype.indexOf = function(key) {
7380
+ var i = 0;
7381
+ for (; i < this.size; i++) if (this.isEqual(this.list[i].key, key)) return i;
7382
+ return -1;
7383
+ };
7384
+ Similar.prototype.isEqual = function(val1, val2) {
7385
+ return val1 === val2 || val1 !== val1 && val2 !== val2;
7386
+ };
7387
+ module.exports = Similar;
7388
+ }, {}],
7389
+ 3: [function(_dereq_, module, exports) {
7390
+ var MapOrSimilar = _dereq_("map-or-similar");
7391
+ module.exports = function(limit) {
7392
+ var cache = new MapOrSimilar(false), lru = [];
7393
+ return function(fn) {
7394
+ var memoizerific = function() {
7395
+ var currentCache = cache, newMap, fnResult, argsLengthMinusOne = arguments.length - 1, lruPath = Array(argsLengthMinusOne + 1), isMemoized = true, i;
7396
+ 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");
7397
+ for (i = 0; i < argsLengthMinusOne; i++) {
7398
+ lruPath[i] = {
7399
+ cacheItem: currentCache,
7400
+ arg: arguments[i]
7401
+ };
7402
+ if (currentCache.has(arguments[i])) {
7403
+ currentCache = currentCache.get(arguments[i]);
7404
+ continue;
7405
+ }
7406
+ isMemoized = false;
7407
+ newMap = new MapOrSimilar(false);
7408
+ currentCache.set(arguments[i], newMap);
7409
+ currentCache = newMap;
7410
+ }
7411
+ if (isMemoized) {
7412
+ if (currentCache.has(arguments[argsLengthMinusOne])) fnResult = currentCache.get(arguments[argsLengthMinusOne]);
7413
+ else isMemoized = false;
7414
+ }
7415
+ if (!isMemoized) {
7416
+ fnResult = fn.apply(null, arguments);
7417
+ currentCache.set(arguments[argsLengthMinusOne], fnResult);
7418
+ }
7419
+ if (limit > 0) {
7420
+ lruPath[argsLengthMinusOne] = {
7421
+ cacheItem: currentCache,
7422
+ arg: arguments[argsLengthMinusOne]
7423
+ };
7424
+ if (isMemoized) moveToMostRecentLru(lru, lruPath);
7425
+ else lru.push(lruPath);
7426
+ if (lru.length > limit) removeCachedResult(lru.shift());
7427
+ }
7428
+ memoizerific.wasMemoized = isMemoized;
7429
+ memoizerific.numArgs = argsLengthMinusOne + 1;
7430
+ return fnResult;
7431
+ };
7432
+ memoizerific.limit = limit;
7433
+ memoizerific.wasMemoized = false;
7434
+ memoizerific.cache = cache;
7435
+ memoizerific.lru = lru;
7436
+ return memoizerific;
7437
+ };
7438
+ };
7439
+ function moveToMostRecentLru(lru, lruPath) {
7440
+ var lruLen = lru.length, lruPathLen = lruPath.length, isMatch, i = 0, ii;
7441
+ for (; i < lruLen; i++) {
7442
+ isMatch = true;
7443
+ for (ii = 0; ii < lruPathLen; ii++) if (!isEqual(lru[i][ii].arg, lruPath[ii].arg)) {
7444
+ isMatch = false;
7445
+ break;
7446
+ }
7447
+ if (isMatch) break;
7448
+ }
7449
+ lru.push(lru.splice(i, 1)[0]);
7450
+ }
7451
+ function removeCachedResult(removedLru) {
7452
+ var removedLruLen = removedLru.length, currentLru = removedLru[removedLruLen - 1], tmp, i;
7453
+ currentLru.cacheItem.delete(currentLru.arg);
7454
+ for (i = removedLruLen - 2; i >= 0; i--) {
7455
+ currentLru = removedLru[i];
7456
+ tmp = currentLru.cacheItem.get(currentLru.arg);
7457
+ if (!tmp || !tmp.size) currentLru.cacheItem.delete(currentLru.arg);
7458
+ else break;
7459
+ }
7460
+ }
7461
+ function isEqual(val1, val2) {
7462
+ return val1 === val2 || val1 !== val1 && val2 !== val2;
7463
+ }
7464
+ }, { "map-or-similar": 1 }]
7465
+ }, {}, [3])(3);
7466
+ });
7467
+ }));
7468
+ //#endregion
7279
7469
  //#region ../../node_modules/picocolors/picocolors.browser.js
7280
7470
  var require_picocolors_browser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7281
7471
  var x = String;
@@ -8235,6 +8425,989 @@ function init_index_browser() {
8235
8425
  })))();
8236
8426
  }
8237
8427
  //#endregion
8428
+ //#region ../../node_modules/loupe/lib/helpers.js
8429
+ function colorise(value, styleType) {
8430
+ const color = ansiColors[styles[styleType]] || ansiColors[styleType] || "";
8431
+ if (!color) return String(value);
8432
+ return `\u001b[${color[0]}m${String(value)}\u001b[${color[1]}m`;
8433
+ }
8434
+ function normaliseOptions({ showHidden = false, depth = 2, colors = false, customInspect = true, showProxy = false, maxArrayLength = Infinity, breakLength = Infinity, seen = [], truncate = Infinity, stylize = String } = {}, inspect) {
8435
+ const options = {
8436
+ showHidden: Boolean(showHidden),
8437
+ depth: Number(depth),
8438
+ colors: Boolean(colors),
8439
+ customInspect: Boolean(customInspect),
8440
+ showProxy: Boolean(showProxy),
8441
+ maxArrayLength: Number(maxArrayLength),
8442
+ breakLength: Number(breakLength),
8443
+ truncate: Number(truncate),
8444
+ seen,
8445
+ inspect,
8446
+ stylize
8447
+ };
8448
+ if (options.colors) options.stylize = colorise;
8449
+ return options;
8450
+ }
8451
+ function isHighSurrogate(char) {
8452
+ return char >= "\ud800" && char <= "\udbff";
8453
+ }
8454
+ function truncate(string, length, tail = "…") {
8455
+ string = String(string);
8456
+ const tailLength = tail.length;
8457
+ const stringLength = string.length;
8458
+ if (tailLength > length && stringLength > tailLength) return tail;
8459
+ if (stringLength > length && stringLength > tailLength) {
8460
+ let end = length - tailLength;
8461
+ if (end > 0 && isHighSurrogate(string[end - 1])) end = end - 1;
8462
+ return `${string.slice(0, end)}${tail}`;
8463
+ }
8464
+ return string;
8465
+ }
8466
+ function inspectList(list, options, inspectItem, separator = ", ") {
8467
+ inspectItem = inspectItem || options.inspect;
8468
+ const size = list.length;
8469
+ if (size === 0) return "";
8470
+ const originalLength = options.truncate;
8471
+ let output = "";
8472
+ let peek = "";
8473
+ let truncated = "";
8474
+ for (let i = 0; i < size; i += 1) {
8475
+ const last = i + 1 === list.length;
8476
+ const secondToLast = i + 2 === list.length;
8477
+ truncated = `…(${list.length - i})`;
8478
+ const value = list[i];
8479
+ options.truncate = originalLength - output.length - (last ? 0 : separator.length);
8480
+ const string = peek || inspectItem(value, options) + (last ? "" : separator);
8481
+ const nextLength = output.length + string.length;
8482
+ const truncatedLength = nextLength + truncated.length;
8483
+ if (last && nextLength > originalLength && output.length + truncated.length <= originalLength) break;
8484
+ if (!last && !secondToLast && truncatedLength > originalLength) break;
8485
+ peek = last ? "" : inspectItem(list[i + 1], options) + (secondToLast ? "" : separator);
8486
+ if (!last && secondToLast && truncatedLength > originalLength && nextLength + peek.length > originalLength) break;
8487
+ output += string;
8488
+ if (!last && !secondToLast && nextLength + peek.length >= originalLength) {
8489
+ truncated = `…(${list.length - i - 1})`;
8490
+ break;
8491
+ }
8492
+ truncated = "";
8493
+ }
8494
+ return `${output}${truncated}`;
8495
+ }
8496
+ function quoteComplexKey(key) {
8497
+ if (key.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)) return key;
8498
+ return JSON.stringify(key).replace(/'/g, "\\'").replace(/\\"/g, "\"").replace(/(^"|"$)/g, "'");
8499
+ }
8500
+ function inspectProperty([key, value], options) {
8501
+ options.truncate -= 2;
8502
+ if (typeof key === "string") key = quoteComplexKey(key);
8503
+ else if (typeof key !== "number") key = `[${options.inspect(key, options)}]`;
8504
+ options.truncate -= key.length;
8505
+ value = options.inspect(value, options);
8506
+ return `${key}: ${value}`;
8507
+ }
8508
+ var ansiColors, styles;
8509
+ function init_helpers() {
8510
+ return (init_helpers = __esmMin((() => {
8511
+ ansiColors = {
8512
+ bold: ["1", "22"],
8513
+ dim: ["2", "22"],
8514
+ italic: ["3", "23"],
8515
+ underline: ["4", "24"],
8516
+ inverse: ["7", "27"],
8517
+ hidden: ["8", "28"],
8518
+ strike: ["9", "29"],
8519
+ black: ["30", "39"],
8520
+ red: ["31", "39"],
8521
+ green: ["32", "39"],
8522
+ yellow: ["33", "39"],
8523
+ blue: ["34", "39"],
8524
+ magenta: ["35", "39"],
8525
+ cyan: ["36", "39"],
8526
+ white: ["37", "39"],
8527
+ brightblack: ["30;1", "39"],
8528
+ brightred: ["31;1", "39"],
8529
+ brightgreen: ["32;1", "39"],
8530
+ brightyellow: ["33;1", "39"],
8531
+ brightblue: ["34;1", "39"],
8532
+ brightmagenta: ["35;1", "39"],
8533
+ brightcyan: ["36;1", "39"],
8534
+ brightwhite: ["37;1", "39"],
8535
+ grey: ["90", "39"]
8536
+ };
8537
+ styles = {
8538
+ special: "cyan",
8539
+ number: "yellow",
8540
+ bigint: "yellow",
8541
+ boolean: "yellow",
8542
+ undefined: "grey",
8543
+ null: "bold",
8544
+ string: "green",
8545
+ symbol: "green",
8546
+ date: "magenta",
8547
+ regexp: "red"
8548
+ };
8549
+ })))();
8550
+ }
8551
+ //#endregion
8552
+ //#region ../../node_modules/loupe/lib/array.js
8553
+ function inspectArray(array, options) {
8554
+ const nonIndexProperties = Object.keys(array).slice(array.length);
8555
+ if (!array.length && !nonIndexProperties.length) return "[]";
8556
+ options.truncate -= 4;
8557
+ const listContents = inspectList(array, options);
8558
+ options.truncate -= listContents.length;
8559
+ let propertyContents = "";
8560
+ if (nonIndexProperties.length) propertyContents = inspectList(nonIndexProperties.map((key) => [key, array[key]]), options, inspectProperty);
8561
+ return `[ ${listContents}${propertyContents ? `, ${propertyContents}` : ""} ]`;
8562
+ }
8563
+ function init_array() {
8564
+ return (init_array = __esmMin((() => {
8565
+ init_helpers();
8566
+ })))();
8567
+ }
8568
+ //#endregion
8569
+ //#region ../../node_modules/loupe/lib/typedarray.js
8570
+ function inspectTypedArray(array, options) {
8571
+ const name = getArrayName(array);
8572
+ options.truncate -= name.length + 4;
8573
+ const nonIndexProperties = Object.keys(array).slice(array.length);
8574
+ if (!array.length && !nonIndexProperties.length) return `${name}[]`;
8575
+ let output = "";
8576
+ for (let i = 0; i < array.length; i++) {
8577
+ const string = `${options.stylize(truncate(array[i], options.truncate), "number")}${i === array.length - 1 ? "" : ", "}`;
8578
+ options.truncate -= string.length;
8579
+ if (array[i] !== array.length && options.truncate <= 3) {
8580
+ output += `…(${array.length - array[i] + 1})`;
8581
+ break;
8582
+ }
8583
+ output += string;
8584
+ }
8585
+ let propertyContents = "";
8586
+ if (nonIndexProperties.length) propertyContents = inspectList(nonIndexProperties.map((key) => [key, array[key]]), options, inspectProperty);
8587
+ return `${name}[ ${output}${propertyContents ? `, ${propertyContents}` : ""} ]`;
8588
+ }
8589
+ var getArrayName;
8590
+ function init_typedarray() {
8591
+ return (init_typedarray = __esmMin((() => {
8592
+ init_helpers();
8593
+ getArrayName = (array) => {
8594
+ if (typeof Buffer === "function" && array instanceof Buffer) return "Buffer";
8595
+ if (array[Symbol.toStringTag]) return array[Symbol.toStringTag];
8596
+ return array.constructor.name;
8597
+ };
8598
+ })))();
8599
+ }
8600
+ //#endregion
8601
+ //#region ../../node_modules/loupe/lib/date.js
8602
+ function inspectDate(dateObject, options) {
8603
+ const stringRepresentation = dateObject.toJSON();
8604
+ if (stringRepresentation === null) return "Invalid Date";
8605
+ const split = stringRepresentation.split("T");
8606
+ const date = split[0];
8607
+ return options.stylize(`${date}T${truncate(split[1], options.truncate - date.length - 1)}`, "date");
8608
+ }
8609
+ function init_date() {
8610
+ return (init_date = __esmMin((() => {
8611
+ init_helpers();
8612
+ })))();
8613
+ }
8614
+ //#endregion
8615
+ //#region ../../node_modules/loupe/lib/function.js
8616
+ function inspectFunction(func, options) {
8617
+ const functionType = func[Symbol.toStringTag] || "Function";
8618
+ const name = func.name;
8619
+ if (!name) return options.stylize(`[${functionType}]`, "special");
8620
+ return options.stylize(`[${functionType} ${truncate(name, options.truncate - 11)}]`, "special");
8621
+ }
8622
+ function init_function() {
8623
+ return (init_function = __esmMin((() => {
8624
+ init_helpers();
8625
+ })))();
8626
+ }
8627
+ //#endregion
8628
+ //#region ../../node_modules/loupe/lib/map.js
8629
+ function inspectMapEntry([key, value], options) {
8630
+ options.truncate -= 4;
8631
+ key = options.inspect(key, options);
8632
+ options.truncate -= key.length;
8633
+ value = options.inspect(value, options);
8634
+ return `${key} => ${value}`;
8635
+ }
8636
+ function mapToEntries(map) {
8637
+ const entries = [];
8638
+ map.forEach((value, key) => {
8639
+ entries.push([key, value]);
8640
+ });
8641
+ return entries;
8642
+ }
8643
+ function inspectMap(map, options) {
8644
+ if (map.size === 0) return "Map{}";
8645
+ options.truncate -= 7;
8646
+ return `Map{ ${inspectList(mapToEntries(map), options, inspectMapEntry)} }`;
8647
+ }
8648
+ function init_map() {
8649
+ return (init_map = __esmMin((() => {
8650
+ init_helpers();
8651
+ })))();
8652
+ }
8653
+ //#endregion
8654
+ //#region ../../node_modules/loupe/lib/number.js
8655
+ function inspectNumber(number, options) {
8656
+ if (isNaN$1(number)) return options.stylize("NaN", "number");
8657
+ if (number === Infinity) return options.stylize("Infinity", "number");
8658
+ if (number === -Infinity) return options.stylize("-Infinity", "number");
8659
+ if (number === 0) return options.stylize(1 / number === Infinity ? "+0" : "-0", "number");
8660
+ return options.stylize(truncate(String(number), options.truncate), "number");
8661
+ }
8662
+ var isNaN$1;
8663
+ function init_number() {
8664
+ return (init_number = __esmMin((() => {
8665
+ init_helpers();
8666
+ isNaN$1 = Number.isNaN || ((i) => i !== i);
8667
+ })))();
8668
+ }
8669
+ //#endregion
8670
+ //#region ../../node_modules/loupe/lib/bigint.js
8671
+ function inspectBigInt(number, options) {
8672
+ let nums = truncate(number.toString(), options.truncate - 1);
8673
+ if (nums !== "…") nums += "n";
8674
+ return options.stylize(nums, "bigint");
8675
+ }
8676
+ function init_bigint() {
8677
+ return (init_bigint = __esmMin((() => {
8678
+ init_helpers();
8679
+ })))();
8680
+ }
8681
+ //#endregion
8682
+ //#region ../../node_modules/loupe/lib/regexp.js
8683
+ function inspectRegExp(value, options) {
8684
+ const flags = value.toString().split("/")[2];
8685
+ const sourceLength = options.truncate - (2 + flags.length);
8686
+ const source = value.source;
8687
+ return options.stylize(`/${truncate(source, sourceLength)}/${flags}`, "regexp");
8688
+ }
8689
+ function init_regexp() {
8690
+ return (init_regexp = __esmMin((() => {
8691
+ init_helpers();
8692
+ })))();
8693
+ }
8694
+ //#endregion
8695
+ //#region ../../node_modules/loupe/lib/set.js
8696
+ function arrayFromSet(set) {
8697
+ const values = [];
8698
+ set.forEach((value) => {
8699
+ values.push(value);
8700
+ });
8701
+ return values;
8702
+ }
8703
+ function inspectSet(set, options) {
8704
+ if (set.size === 0) return "Set{}";
8705
+ options.truncate -= 7;
8706
+ return `Set{ ${inspectList(arrayFromSet(set), options)} }`;
8707
+ }
8708
+ function init_set() {
8709
+ return (init_set = __esmMin((() => {
8710
+ init_helpers();
8711
+ })))();
8712
+ }
8713
+ //#endregion
8714
+ //#region ../../node_modules/loupe/lib/string.js
8715
+ function escape(char) {
8716
+ return escapeCharacters[char] || `\\u${`0000${char.charCodeAt(0).toString(hex)}`.slice(-4)}`;
8717
+ }
8718
+ function inspectString(string, options) {
8719
+ if (stringEscapeChars.test(string)) string = string.replace(stringEscapeChars, escape);
8720
+ return options.stylize(`'${truncate(string, options.truncate - 2)}'`, "string");
8721
+ }
8722
+ var stringEscapeChars, escapeCharacters, hex;
8723
+ function init_string() {
8724
+ return (init_string = __esmMin((() => {
8725
+ init_helpers();
8726
+ stringEscapeChars = /* @__PURE__ */ new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]", "g");
8727
+ escapeCharacters = {
8728
+ "\b": "\\b",
8729
+ " ": "\\t",
8730
+ "\n": "\\n",
8731
+ "\f": "\\f",
8732
+ "\r": "\\r",
8733
+ "'": "\\'",
8734
+ "\\": "\\\\"
8735
+ };
8736
+ hex = 16;
8737
+ })))();
8738
+ }
8739
+ //#endregion
8740
+ //#region ../../node_modules/loupe/lib/symbol.js
8741
+ function inspectSymbol(value) {
8742
+ if ("description" in Symbol.prototype) return value.description ? `Symbol(${value.description})` : "Symbol()";
8743
+ return value.toString();
8744
+ }
8745
+ //#endregion
8746
+ //#region ../../node_modules/loupe/lib/promise.js
8747
+ var getPromiseValue;
8748
+ function init_promise() {
8749
+ return (init_promise = __esmMin((() => {
8750
+ getPromiseValue = () => "Promise{…}";
8751
+ })))();
8752
+ }
8753
+ //#endregion
8754
+ //#region ../../node_modules/loupe/lib/object.js
8755
+ function inspectObject$1(object, options) {
8756
+ const properties = Object.getOwnPropertyNames(object);
8757
+ const symbols = Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(object) : [];
8758
+ if (properties.length === 0 && symbols.length === 0) return "{}";
8759
+ options.truncate -= 4;
8760
+ options.seen = options.seen || [];
8761
+ if (options.seen.includes(object)) return "[Circular]";
8762
+ options.seen.push(object);
8763
+ const propertyContents = inspectList(properties.map((key) => [key, object[key]]), options, inspectProperty);
8764
+ const symbolContents = inspectList(symbols.map((key) => [key, object[key]]), options, inspectProperty);
8765
+ options.seen.pop();
8766
+ let sep = "";
8767
+ if (propertyContents && symbolContents) sep = ", ";
8768
+ return `{ ${propertyContents}${sep}${symbolContents} }`;
8769
+ }
8770
+ function init_object() {
8771
+ return (init_object = __esmMin((() => {
8772
+ init_helpers();
8773
+ })))();
8774
+ }
8775
+ //#endregion
8776
+ //#region ../../node_modules/loupe/lib/class.js
8777
+ function inspectClass(value, options) {
8778
+ let name = "";
8779
+ if (toStringTag && toStringTag in value) name = value[toStringTag];
8780
+ name = name || value.constructor.name;
8781
+ if (!name || name === "_class") name = "<Anonymous Class>";
8782
+ options.truncate -= name.length;
8783
+ return `${name}${inspectObject$1(value, options)}`;
8784
+ }
8785
+ var toStringTag;
8786
+ function init_class() {
8787
+ return (init_class = __esmMin((() => {
8788
+ init_object();
8789
+ toStringTag = typeof Symbol !== "undefined" && Symbol.toStringTag ? Symbol.toStringTag : false;
8790
+ })))();
8791
+ }
8792
+ //#endregion
8793
+ //#region ../../node_modules/loupe/lib/arguments.js
8794
+ function inspectArguments(args, options) {
8795
+ if (args.length === 0) return "Arguments[]";
8796
+ options.truncate -= 13;
8797
+ return `Arguments[ ${inspectList(args, options)} ]`;
8798
+ }
8799
+ function init_arguments() {
8800
+ return (init_arguments = __esmMin((() => {
8801
+ init_helpers();
8802
+ })))();
8803
+ }
8804
+ //#endregion
8805
+ //#region ../../node_modules/loupe/lib/error.js
8806
+ function inspectObject(error, options) {
8807
+ const properties = Object.getOwnPropertyNames(error).filter((key) => errorKeys.indexOf(key) === -1);
8808
+ const name = error.name;
8809
+ options.truncate -= name.length;
8810
+ let message = "";
8811
+ if (typeof error.message === "string") message = truncate(error.message, options.truncate);
8812
+ else properties.unshift("message");
8813
+ message = message ? `: ${message}` : "";
8814
+ options.truncate -= message.length + 5;
8815
+ options.seen = options.seen || [];
8816
+ if (options.seen.includes(error)) return "[Circular]";
8817
+ options.seen.push(error);
8818
+ const propertyContents = inspectList(properties.map((key) => [key, error[key]]), options, inspectProperty);
8819
+ return `${name}${message}${propertyContents ? ` { ${propertyContents} }` : ""}`;
8820
+ }
8821
+ var errorKeys;
8822
+ function init_error() {
8823
+ return (init_error = __esmMin((() => {
8824
+ init_helpers();
8825
+ errorKeys = [
8826
+ "stack",
8827
+ "line",
8828
+ "column",
8829
+ "name",
8830
+ "message",
8831
+ "fileName",
8832
+ "lineNumber",
8833
+ "columnNumber",
8834
+ "number",
8835
+ "description",
8836
+ "cause"
8837
+ ];
8838
+ })))();
8839
+ }
8840
+ //#endregion
8841
+ //#region ../../node_modules/loupe/lib/html.js
8842
+ function inspectAttribute([key, value], options) {
8843
+ options.truncate -= 3;
8844
+ if (!value) return `${options.stylize(String(key), "yellow")}`;
8845
+ return `${options.stylize(String(key), "yellow")}=${options.stylize(`"${value}"`, "string")}`;
8846
+ }
8847
+ function inspectNodeCollection(collection, options) {
8848
+ return inspectList(collection, options, inspectNode, "\n");
8849
+ }
8850
+ function inspectNode(node, options) {
8851
+ switch (node.nodeType) {
8852
+ case 1: return inspectHTML(node, options);
8853
+ case 3: return options.inspect(node.data, options);
8854
+ default: return options.inspect(node, options);
8855
+ }
8856
+ }
8857
+ function inspectHTML(element, options) {
8858
+ const properties = element.getAttributeNames();
8859
+ const name = element.tagName.toLowerCase();
8860
+ const head = options.stylize(`<${name}`, "special");
8861
+ const headClose = options.stylize(`>`, "special");
8862
+ const tail = options.stylize(`</${name}>`, "special");
8863
+ options.truncate -= name.length * 2 + 5;
8864
+ let propertyContents = "";
8865
+ if (properties.length > 0) {
8866
+ propertyContents += " ";
8867
+ propertyContents += inspectList(properties.map((key) => [key, element.getAttribute(key)]), options, inspectAttribute, " ");
8868
+ }
8869
+ options.truncate -= propertyContents.length;
8870
+ const truncate = options.truncate;
8871
+ let children = inspectNodeCollection(element.children, options);
8872
+ if (children && children.length > truncate) children = `…(${element.children.length})`;
8873
+ return `${head}${propertyContents}${headClose}${children}${tail}`;
8874
+ }
8875
+ function init_html() {
8876
+ return (init_html = __esmMin((() => {
8877
+ init_helpers();
8878
+ })))();
8879
+ }
8880
+ //#endregion
8881
+ //#region ../../node_modules/loupe/lib/index.js
8882
+ function inspect(value, opts = {}) {
8883
+ const options = normaliseOptions(opts, inspect);
8884
+ const { customInspect } = options;
8885
+ let type = value === null ? "null" : typeof value;
8886
+ if (type === "object") type = toString.call(value).slice(8, -1);
8887
+ if (type in baseTypesMap) return baseTypesMap[type](value, options);
8888
+ if (customInspect && value) {
8889
+ const output = inspectCustom(value, options, type, inspect);
8890
+ if (output) {
8891
+ if (typeof output === "string") return output;
8892
+ return inspect(output, options);
8893
+ }
8894
+ }
8895
+ const proto = value ? Object.getPrototypeOf(value) : false;
8896
+ if (proto === Object.prototype || proto === null) return inspectObject$1(value, options);
8897
+ if (value && typeof HTMLElement === "function" && value instanceof HTMLElement) return inspectHTML(value, options);
8898
+ if ("constructor" in value) {
8899
+ if (value.constructor !== Object) return inspectClass(value, options);
8900
+ return inspectObject$1(value, options);
8901
+ }
8902
+ if (value === Object(value)) return inspectObject$1(value, options);
8903
+ return options.stylize(String(value), type);
8904
+ }
8905
+ var chaiInspect, nodeInspect, constructorMap, stringTagMap, baseTypesMap, inspectCustom, toString;
8906
+ function init_lib() {
8907
+ return (init_lib = __esmMin((() => {
8908
+ init_array();
8909
+ init_typedarray();
8910
+ init_date();
8911
+ init_function();
8912
+ init_map();
8913
+ init_number();
8914
+ init_bigint();
8915
+ init_regexp();
8916
+ init_set();
8917
+ init_string();
8918
+ init_promise();
8919
+ init_class();
8920
+ init_object();
8921
+ init_arguments();
8922
+ init_error();
8923
+ init_html();
8924
+ init_helpers();
8925
+ chaiInspect = typeof Symbol === "function" && typeof Symbol.for === "function" ? Symbol.for("chai/inspect") : "@@chai/inspect";
8926
+ nodeInspect = Symbol.for("nodejs.util.inspect.custom");
8927
+ constructorMap = /* @__PURE__ */ new WeakMap();
8928
+ stringTagMap = {};
8929
+ baseTypesMap = {
8930
+ undefined: (value, options) => options.stylize("undefined", "undefined"),
8931
+ null: (value, options) => options.stylize("null", "null"),
8932
+ boolean: (value, options) => options.stylize(String(value), "boolean"),
8933
+ Boolean: (value, options) => options.stylize(String(value), "boolean"),
8934
+ number: inspectNumber,
8935
+ Number: inspectNumber,
8936
+ bigint: inspectBigInt,
8937
+ BigInt: inspectBigInt,
8938
+ string: inspectString,
8939
+ String: inspectString,
8940
+ function: inspectFunction,
8941
+ Function: inspectFunction,
8942
+ symbol: inspectSymbol,
8943
+ Symbol: inspectSymbol,
8944
+ Array: inspectArray,
8945
+ Date: inspectDate,
8946
+ Map: inspectMap,
8947
+ Set: inspectSet,
8948
+ RegExp: inspectRegExp,
8949
+ Promise: getPromiseValue,
8950
+ WeakSet: (value, options) => options.stylize("WeakSet{…}", "special"),
8951
+ WeakMap: (value, options) => options.stylize("WeakMap{…}", "special"),
8952
+ Arguments: inspectArguments,
8953
+ Int8Array: inspectTypedArray,
8954
+ Uint8Array: inspectTypedArray,
8955
+ Uint8ClampedArray: inspectTypedArray,
8956
+ Int16Array: inspectTypedArray,
8957
+ Uint16Array: inspectTypedArray,
8958
+ Int32Array: inspectTypedArray,
8959
+ Uint32Array: inspectTypedArray,
8960
+ Float32Array: inspectTypedArray,
8961
+ Float64Array: inspectTypedArray,
8962
+ Generator: () => "",
8963
+ DataView: () => "",
8964
+ ArrayBuffer: () => "",
8965
+ Error: inspectObject,
8966
+ HTMLCollection: inspectNodeCollection,
8967
+ NodeList: inspectNodeCollection
8968
+ };
8969
+ inspectCustom = (value, options, type, inspectFn) => {
8970
+ if (chaiInspect in value && typeof value[chaiInspect] === "function") return value[chaiInspect](options);
8971
+ if (nodeInspect in value && typeof value[nodeInspect] === "function") return value[nodeInspect](options.depth, options, inspectFn);
8972
+ if ("inspect" in value && typeof value.inspect === "function") return value.inspect(options.depth, options);
8973
+ if ("constructor" in value && constructorMap.has(value.constructor)) return constructorMap.get(value.constructor)(value, options);
8974
+ if (stringTagMap[type]) return stringTagMap[type](value, options);
8975
+ return "";
8976
+ };
8977
+ toString = Object.prototype.toString;
8978
+ })))();
8979
+ }
8980
+ //#endregion
8981
+ //#region ../../node_modules/min-indent/index.js
8982
+ var require_min_indent = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8983
+ module.exports = (string) => {
8984
+ const match = string.match(/^[ \t]*(?=\S)/gm);
8985
+ if (!match) return 0;
8986
+ return match.reduce((r, a) => Math.min(r, a.length), Infinity);
8987
+ };
8988
+ }));
8989
+ //#endregion
8990
+ //#region ../../node_modules/indent-string/index.js
8991
+ var require_indent_string = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8992
+ module.exports = (string, count = 1, options) => {
8993
+ options = {
8994
+ indent: " ",
8995
+ includeEmptyLines: false,
8996
+ ...options
8997
+ };
8998
+ if (typeof string !== "string") throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof string}\``);
8999
+ if (typeof count !== "number") throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof count}\``);
9000
+ if (typeof options.indent !== "string") throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof options.indent}\``);
9001
+ if (count === 0) return string;
9002
+ const regex = options.includeEmptyLines ? /^/gm : /^(?!\s*$)/gm;
9003
+ return string.replace(regex, options.indent.repeat(count));
9004
+ };
9005
+ }));
9006
+ //#endregion
9007
+ //#region ../../node_modules/lz-string/libs/lz-string.js
9008
+ var require_lz_string = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9009
+ var LZString = (function() {
9010
+ var f = String.fromCharCode;
9011
+ var keyStrBase64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
9012
+ var keyStrUriSafe = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$";
9013
+ var baseReverseDic = {};
9014
+ function getBaseValue(alphabet, character) {
9015
+ if (!baseReverseDic[alphabet]) {
9016
+ baseReverseDic[alphabet] = {};
9017
+ for (var i = 0; i < alphabet.length; i++) baseReverseDic[alphabet][alphabet.charAt(i)] = i;
9018
+ }
9019
+ return baseReverseDic[alphabet][character];
9020
+ }
9021
+ var LZString = {
9022
+ compressToBase64: function(input) {
9023
+ if (input == null) return "";
9024
+ var res = LZString._compress(input, 6, function(a) {
9025
+ return keyStrBase64.charAt(a);
9026
+ });
9027
+ switch (res.length % 4) {
9028
+ default:
9029
+ case 0: return res;
9030
+ case 1: return res + "===";
9031
+ case 2: return res + "==";
9032
+ case 3: return res + "=";
9033
+ }
9034
+ },
9035
+ decompressFromBase64: function(input) {
9036
+ if (input == null) return "";
9037
+ if (input == "") return null;
9038
+ return LZString._decompress(input.length, 32, function(index) {
9039
+ return getBaseValue(keyStrBase64, input.charAt(index));
9040
+ });
9041
+ },
9042
+ compressToUTF16: function(input) {
9043
+ if (input == null) return "";
9044
+ return LZString._compress(input, 15, function(a) {
9045
+ return f(a + 32);
9046
+ }) + " ";
9047
+ },
9048
+ decompressFromUTF16: function(compressed) {
9049
+ if (compressed == null) return "";
9050
+ if (compressed == "") return null;
9051
+ return LZString._decompress(compressed.length, 16384, function(index) {
9052
+ return compressed.charCodeAt(index) - 32;
9053
+ });
9054
+ },
9055
+ compressToUint8Array: function(uncompressed) {
9056
+ var compressed = LZString.compress(uncompressed);
9057
+ var buf = new Uint8Array(compressed.length * 2);
9058
+ for (var i = 0, TotalLen = compressed.length; i < TotalLen; i++) {
9059
+ var current_value = compressed.charCodeAt(i);
9060
+ buf[i * 2] = current_value >>> 8;
9061
+ buf[i * 2 + 1] = current_value % 256;
9062
+ }
9063
+ return buf;
9064
+ },
9065
+ decompressFromUint8Array: function(compressed) {
9066
+ if (compressed === null || compressed === void 0) return LZString.decompress(compressed);
9067
+ else {
9068
+ var buf = new Array(compressed.length / 2);
9069
+ for (var i = 0, TotalLen = buf.length; i < TotalLen; i++) buf[i] = compressed[i * 2] * 256 + compressed[i * 2 + 1];
9070
+ var result = [];
9071
+ buf.forEach(function(c) {
9072
+ result.push(f(c));
9073
+ });
9074
+ return LZString.decompress(result.join(""));
9075
+ }
9076
+ },
9077
+ compressToEncodedURIComponent: function(input) {
9078
+ if (input == null) return "";
9079
+ return LZString._compress(input, 6, function(a) {
9080
+ return keyStrUriSafe.charAt(a);
9081
+ });
9082
+ },
9083
+ decompressFromEncodedURIComponent: function(input) {
9084
+ if (input == null) return "";
9085
+ if (input == "") return null;
9086
+ input = input.replace(/ /g, "+");
9087
+ return LZString._decompress(input.length, 32, function(index) {
9088
+ return getBaseValue(keyStrUriSafe, input.charAt(index));
9089
+ });
9090
+ },
9091
+ compress: function(uncompressed) {
9092
+ return LZString._compress(uncompressed, 16, function(a) {
9093
+ return f(a);
9094
+ });
9095
+ },
9096
+ _compress: function(uncompressed, bitsPerChar, getCharFromInt) {
9097
+ if (uncompressed == null) return "";
9098
+ 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;
9099
+ for (; ii < uncompressed.length; ii += 1) {
9100
+ context_c = uncompressed.charAt(ii);
9101
+ if (!Object.prototype.hasOwnProperty.call(context_dictionary, context_c)) {
9102
+ context_dictionary[context_c] = context_dictSize++;
9103
+ context_dictionaryToCreate[context_c] = true;
9104
+ }
9105
+ context_wc = context_w + context_c;
9106
+ if (Object.prototype.hasOwnProperty.call(context_dictionary, context_wc)) context_w = context_wc;
9107
+ else {
9108
+ if (Object.prototype.hasOwnProperty.call(context_dictionaryToCreate, context_w)) {
9109
+ if (context_w.charCodeAt(0) < 256) {
9110
+ for (i = 0; i < context_numBits; i++) {
9111
+ context_data_val = context_data_val << 1;
9112
+ if (context_data_position == bitsPerChar - 1) {
9113
+ context_data_position = 0;
9114
+ context_data.push(getCharFromInt(context_data_val));
9115
+ context_data_val = 0;
9116
+ } else context_data_position++;
9117
+ }
9118
+ value = context_w.charCodeAt(0);
9119
+ for (i = 0; i < 8; i++) {
9120
+ context_data_val = context_data_val << 1 | value & 1;
9121
+ if (context_data_position == bitsPerChar - 1) {
9122
+ context_data_position = 0;
9123
+ context_data.push(getCharFromInt(context_data_val));
9124
+ context_data_val = 0;
9125
+ } else context_data_position++;
9126
+ value = value >> 1;
9127
+ }
9128
+ } else {
9129
+ value = 1;
9130
+ for (i = 0; i < context_numBits; i++) {
9131
+ context_data_val = context_data_val << 1 | value;
9132
+ if (context_data_position == bitsPerChar - 1) {
9133
+ context_data_position = 0;
9134
+ context_data.push(getCharFromInt(context_data_val));
9135
+ context_data_val = 0;
9136
+ } else context_data_position++;
9137
+ value = 0;
9138
+ }
9139
+ value = context_w.charCodeAt(0);
9140
+ for (i = 0; i < 16; i++) {
9141
+ context_data_val = context_data_val << 1 | value & 1;
9142
+ if (context_data_position == bitsPerChar - 1) {
9143
+ context_data_position = 0;
9144
+ context_data.push(getCharFromInt(context_data_val));
9145
+ context_data_val = 0;
9146
+ } else context_data_position++;
9147
+ value = value >> 1;
9148
+ }
9149
+ }
9150
+ context_enlargeIn--;
9151
+ if (context_enlargeIn == 0) {
9152
+ context_enlargeIn = Math.pow(2, context_numBits);
9153
+ context_numBits++;
9154
+ }
9155
+ delete context_dictionaryToCreate[context_w];
9156
+ } else {
9157
+ value = context_dictionary[context_w];
9158
+ for (i = 0; i < context_numBits; i++) {
9159
+ context_data_val = context_data_val << 1 | value & 1;
9160
+ if (context_data_position == bitsPerChar - 1) {
9161
+ context_data_position = 0;
9162
+ context_data.push(getCharFromInt(context_data_val));
9163
+ context_data_val = 0;
9164
+ } else context_data_position++;
9165
+ value = value >> 1;
9166
+ }
9167
+ }
9168
+ context_enlargeIn--;
9169
+ if (context_enlargeIn == 0) {
9170
+ context_enlargeIn = Math.pow(2, context_numBits);
9171
+ context_numBits++;
9172
+ }
9173
+ context_dictionary[context_wc] = context_dictSize++;
9174
+ context_w = String(context_c);
9175
+ }
9176
+ }
9177
+ if (context_w !== "") {
9178
+ if (Object.prototype.hasOwnProperty.call(context_dictionaryToCreate, context_w)) {
9179
+ if (context_w.charCodeAt(0) < 256) {
9180
+ for (i = 0; i < context_numBits; i++) {
9181
+ context_data_val = context_data_val << 1;
9182
+ if (context_data_position == bitsPerChar - 1) {
9183
+ context_data_position = 0;
9184
+ context_data.push(getCharFromInt(context_data_val));
9185
+ context_data_val = 0;
9186
+ } else context_data_position++;
9187
+ }
9188
+ value = context_w.charCodeAt(0);
9189
+ for (i = 0; i < 8; i++) {
9190
+ context_data_val = context_data_val << 1 | value & 1;
9191
+ if (context_data_position == bitsPerChar - 1) {
9192
+ context_data_position = 0;
9193
+ context_data.push(getCharFromInt(context_data_val));
9194
+ context_data_val = 0;
9195
+ } else context_data_position++;
9196
+ value = value >> 1;
9197
+ }
9198
+ } else {
9199
+ value = 1;
9200
+ for (i = 0; i < context_numBits; i++) {
9201
+ context_data_val = context_data_val << 1 | value;
9202
+ if (context_data_position == bitsPerChar - 1) {
9203
+ context_data_position = 0;
9204
+ context_data.push(getCharFromInt(context_data_val));
9205
+ context_data_val = 0;
9206
+ } else context_data_position++;
9207
+ value = 0;
9208
+ }
9209
+ value = context_w.charCodeAt(0);
9210
+ for (i = 0; i < 16; i++) {
9211
+ context_data_val = context_data_val << 1 | value & 1;
9212
+ if (context_data_position == bitsPerChar - 1) {
9213
+ context_data_position = 0;
9214
+ context_data.push(getCharFromInt(context_data_val));
9215
+ context_data_val = 0;
9216
+ } else context_data_position++;
9217
+ value = value >> 1;
9218
+ }
9219
+ }
9220
+ context_enlargeIn--;
9221
+ if (context_enlargeIn == 0) {
9222
+ context_enlargeIn = Math.pow(2, context_numBits);
9223
+ context_numBits++;
9224
+ }
9225
+ delete context_dictionaryToCreate[context_w];
9226
+ } else {
9227
+ value = context_dictionary[context_w];
9228
+ for (i = 0; i < context_numBits; i++) {
9229
+ context_data_val = context_data_val << 1 | value & 1;
9230
+ if (context_data_position == bitsPerChar - 1) {
9231
+ context_data_position = 0;
9232
+ context_data.push(getCharFromInt(context_data_val));
9233
+ context_data_val = 0;
9234
+ } else context_data_position++;
9235
+ value = value >> 1;
9236
+ }
9237
+ }
9238
+ context_enlargeIn--;
9239
+ if (context_enlargeIn == 0) {
9240
+ context_enlargeIn = Math.pow(2, context_numBits);
9241
+ context_numBits++;
9242
+ }
9243
+ }
9244
+ value = 2;
9245
+ for (i = 0; i < context_numBits; i++) {
9246
+ context_data_val = context_data_val << 1 | value & 1;
9247
+ if (context_data_position == bitsPerChar - 1) {
9248
+ context_data_position = 0;
9249
+ context_data.push(getCharFromInt(context_data_val));
9250
+ context_data_val = 0;
9251
+ } else context_data_position++;
9252
+ value = value >> 1;
9253
+ }
9254
+ while (true) {
9255
+ context_data_val = context_data_val << 1;
9256
+ if (context_data_position == bitsPerChar - 1) {
9257
+ context_data.push(getCharFromInt(context_data_val));
9258
+ break;
9259
+ } else context_data_position++;
9260
+ }
9261
+ return context_data.join("");
9262
+ },
9263
+ decompress: function(compressed) {
9264
+ if (compressed == null) return "";
9265
+ if (compressed == "") return null;
9266
+ return LZString._decompress(compressed.length, 32768, function(index) {
9267
+ return compressed.charCodeAt(index);
9268
+ });
9269
+ },
9270
+ _decompress: function(length, resetValue, getNextValue) {
9271
+ var dictionary = [], enlargeIn = 4, dictSize = 4, numBits = 3, entry = "", result = [], i, w, bits, resb, maxpower, power, c, data = {
9272
+ val: getNextValue(0),
9273
+ position: resetValue,
9274
+ index: 1
9275
+ };
9276
+ for (i = 0; i < 3; i += 1) dictionary[i] = i;
9277
+ bits = 0;
9278
+ maxpower = Math.pow(2, 2);
9279
+ power = 1;
9280
+ while (power != maxpower) {
9281
+ resb = data.val & data.position;
9282
+ data.position >>= 1;
9283
+ if (data.position == 0) {
9284
+ data.position = resetValue;
9285
+ data.val = getNextValue(data.index++);
9286
+ }
9287
+ bits |= (resb > 0 ? 1 : 0) * power;
9288
+ power <<= 1;
9289
+ }
9290
+ switch (bits) {
9291
+ case 0:
9292
+ bits = 0;
9293
+ maxpower = Math.pow(2, 8);
9294
+ power = 1;
9295
+ while (power != maxpower) {
9296
+ resb = data.val & data.position;
9297
+ data.position >>= 1;
9298
+ if (data.position == 0) {
9299
+ data.position = resetValue;
9300
+ data.val = getNextValue(data.index++);
9301
+ }
9302
+ bits |= (resb > 0 ? 1 : 0) * power;
9303
+ power <<= 1;
9304
+ }
9305
+ c = f(bits);
9306
+ break;
9307
+ case 1:
9308
+ bits = 0;
9309
+ maxpower = Math.pow(2, 16);
9310
+ power = 1;
9311
+ while (power != maxpower) {
9312
+ resb = data.val & data.position;
9313
+ data.position >>= 1;
9314
+ if (data.position == 0) {
9315
+ data.position = resetValue;
9316
+ data.val = getNextValue(data.index++);
9317
+ }
9318
+ bits |= (resb > 0 ? 1 : 0) * power;
9319
+ power <<= 1;
9320
+ }
9321
+ c = f(bits);
9322
+ break;
9323
+ case 2: return "";
9324
+ }
9325
+ dictionary[3] = c;
9326
+ w = c;
9327
+ result.push(c);
9328
+ while (true) {
9329
+ if (data.index > length) return "";
9330
+ bits = 0;
9331
+ maxpower = Math.pow(2, numBits);
9332
+ power = 1;
9333
+ while (power != maxpower) {
9334
+ resb = data.val & data.position;
9335
+ data.position >>= 1;
9336
+ if (data.position == 0) {
9337
+ data.position = resetValue;
9338
+ data.val = getNextValue(data.index++);
9339
+ }
9340
+ bits |= (resb > 0 ? 1 : 0) * power;
9341
+ power <<= 1;
9342
+ }
9343
+ switch (c = bits) {
9344
+ case 0:
9345
+ bits = 0;
9346
+ maxpower = Math.pow(2, 8);
9347
+ power = 1;
9348
+ while (power != maxpower) {
9349
+ resb = data.val & data.position;
9350
+ data.position >>= 1;
9351
+ if (data.position == 0) {
9352
+ data.position = resetValue;
9353
+ data.val = getNextValue(data.index++);
9354
+ }
9355
+ bits |= (resb > 0 ? 1 : 0) * power;
9356
+ power <<= 1;
9357
+ }
9358
+ dictionary[dictSize++] = f(bits);
9359
+ c = dictSize - 1;
9360
+ enlargeIn--;
9361
+ break;
9362
+ case 1:
9363
+ bits = 0;
9364
+ maxpower = Math.pow(2, 16);
9365
+ power = 1;
9366
+ while (power != maxpower) {
9367
+ resb = data.val & data.position;
9368
+ data.position >>= 1;
9369
+ if (data.position == 0) {
9370
+ data.position = resetValue;
9371
+ data.val = getNextValue(data.index++);
9372
+ }
9373
+ bits |= (resb > 0 ? 1 : 0) * power;
9374
+ power <<= 1;
9375
+ }
9376
+ dictionary[dictSize++] = f(bits);
9377
+ c = dictSize - 1;
9378
+ enlargeIn--;
9379
+ break;
9380
+ case 2: return result.join("");
9381
+ }
9382
+ if (enlargeIn == 0) {
9383
+ enlargeIn = Math.pow(2, numBits);
9384
+ numBits++;
9385
+ }
9386
+ if (dictionary[c]) entry = dictionary[c];
9387
+ else if (c === dictSize) entry = w + w.charAt(0);
9388
+ else return null;
9389
+ result.push(entry);
9390
+ dictionary[dictSize++] = w + entry.charAt(0);
9391
+ enlargeIn--;
9392
+ w = entry;
9393
+ if (enlargeIn == 0) {
9394
+ enlargeIn = Math.pow(2, numBits);
9395
+ numBits++;
9396
+ }
9397
+ }
9398
+ }
9399
+ };
9400
+ return LZString;
9401
+ })();
9402
+ if (typeof define === "function" && define.amd) define(function() {
9403
+ return LZString;
9404
+ });
9405
+ else if (typeof module !== "undefined" && module != null) module.exports = LZString;
9406
+ else if (typeof angular !== "undefined" && angular != null) angular.module("LZString", []).factory("LZString", function() {
9407
+ return LZString;
9408
+ });
9409
+ }));
9410
+ //#endregion
8238
9411
  //#region ../../node_modules/polished/dist/polished.esm.js
8239
9412
  /**
8240
9413
  * Check if a string ends with something
@@ -9289,7 +10462,7 @@ function _extends$1() {
9289
10462
  function useHref(to, _temp) {
9290
10463
  let { relative } = _temp === void 0 ? {} : _temp;
9291
10464
  !useInRouterContext() && invariant(false);
9292
- let { basename, navigator } = import_react$6.useContext(NavigationContext);
10465
+ let { basename, navigator } = import_react$3.useContext(NavigationContext);
9293
10466
  let { hash, pathname, search } = useResolvedPath(to, { relative });
9294
10467
  let joinedPathname = pathname;
9295
10468
  if (basename !== "/") joinedPathname = pathname === "/" ? basename : joinPaths([basename, pathname]);
@@ -9305,7 +10478,7 @@ function useHref(to, _temp) {
9305
10478
  * @see https://reactrouter.com/hooks/use-in-router-context
9306
10479
  */
9307
10480
  function useInRouterContext() {
9308
- return import_react$6.useContext(LocationContext) != null;
10481
+ return import_react$3.useContext(LocationContext) != null;
9309
10482
  }
9310
10483
  /**
9311
10484
  * Returns the current location object, which represents the current URL in web
@@ -9319,10 +10492,10 @@ function useInRouterContext() {
9319
10492
  */
9320
10493
  function useLocation() {
9321
10494
  !useInRouterContext() && invariant(false);
9322
- return import_react$6.useContext(LocationContext).location;
10495
+ return import_react$3.useContext(LocationContext).location;
9323
10496
  }
9324
- function useIsomorphicLayoutEffect$1(cb) {
9325
- if (!import_react$6.useContext(NavigationContext).static) import_react$6.useLayoutEffect(cb);
10497
+ function useIsomorphicLayoutEffect(cb) {
10498
+ if (!import_react$3.useContext(NavigationContext).static) import_react$3.useLayoutEffect(cb);
9326
10499
  }
9327
10500
  /**
9328
10501
  * Returns an imperative method for changing the location. Used by <Link>s, but
@@ -9331,21 +10504,21 @@ function useIsomorphicLayoutEffect$1(cb) {
9331
10504
  * @see https://reactrouter.com/hooks/use-navigate
9332
10505
  */
9333
10506
  function useNavigate() {
9334
- let { isDataRoute } = import_react$6.useContext(RouteContext);
10507
+ let { isDataRoute } = import_react$3.useContext(RouteContext);
9335
10508
  return isDataRoute ? useNavigateStable() : useNavigateUnstable();
9336
10509
  }
9337
10510
  function useNavigateUnstable() {
9338
10511
  !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);
10512
+ let dataRouterContext = import_react$3.useContext(DataRouterContext);
10513
+ let { basename, navigator } = import_react$3.useContext(NavigationContext);
10514
+ let { matches } = import_react$3.useContext(RouteContext);
9342
10515
  let { pathname: locationPathname } = useLocation();
9343
10516
  let routePathnamesJson = JSON.stringify(getPathContributingMatches(matches).map((match) => match.pathnameBase));
9344
- let activeRef = import_react$6.useRef(false);
9345
- useIsomorphicLayoutEffect$1(() => {
10517
+ let activeRef = import_react$3.useRef(false);
10518
+ useIsomorphicLayoutEffect(() => {
9346
10519
  activeRef.current = true;
9347
10520
  });
9348
- return import_react$6.useCallback(function(to, options) {
10521
+ return import_react$3.useCallback(function(to, options) {
9349
10522
  if (options === void 0) options = {};
9350
10523
  if (!activeRef.current) return;
9351
10524
  if (typeof to === "number") {
@@ -9370,10 +10543,10 @@ function useNavigateUnstable() {
9370
10543
  */
9371
10544
  function useResolvedPath(to, _temp2) {
9372
10545
  let { relative } = _temp2 === void 0 ? {} : _temp2;
9373
- let { matches } = import_react$6.useContext(RouteContext);
10546
+ let { matches } = import_react$3.useContext(RouteContext);
9374
10547
  let { pathname: locationPathname } = useLocation();
9375
10548
  let routePathnamesJson = JSON.stringify(getPathContributingMatches(matches).map((match) => match.pathnameBase));
9376
- return import_react$6.useMemo(() => resolveTo(to, JSON.parse(routePathnamesJson), locationPathname, relative === "path"), [
10549
+ return import_react$3.useMemo(() => resolveTo(to, JSON.parse(routePathnamesJson), locationPathname, relative === "path"), [
9377
10550
  to,
9378
10551
  routePathnamesJson,
9379
10552
  locationPathname,
@@ -9381,12 +10554,12 @@ function useResolvedPath(to, _temp2) {
9381
10554
  ]);
9382
10555
  }
9383
10556
  function useDataRouterContext(hookName) {
9384
- let ctx = import_react$6.useContext(DataRouterContext);
10557
+ let ctx = import_react$3.useContext(DataRouterContext);
9385
10558
  !ctx && invariant(false);
9386
10559
  return ctx;
9387
10560
  }
9388
10561
  function useRouteContext(hookName) {
9389
- let route = import_react$6.useContext(RouteContext);
10562
+ let route = import_react$3.useContext(RouteContext);
9390
10563
  !route && invariant(false);
9391
10564
  return route;
9392
10565
  }
@@ -9403,11 +10576,11 @@ function useCurrentRouteId(hookName) {
9403
10576
  function useNavigateStable() {
9404
10577
  let { router } = useDataRouterContext(DataRouterHook$1.UseNavigateStable);
9405
10578
  let id = useCurrentRouteId(DataRouterStateHook$1.UseNavigateStable);
9406
- let activeRef = import_react$6.useRef(false);
9407
- useIsomorphicLayoutEffect$1(() => {
10579
+ let activeRef = import_react$3.useRef(false);
10580
+ useIsomorphicLayoutEffect(() => {
9408
10581
  activeRef.current = true;
9409
10582
  });
9410
- return import_react$6.useCallback(function(to, options) {
10583
+ return import_react$3.useCallback(function(to, options) {
9411
10584
  if (options === void 0) options = {};
9412
10585
  if (!activeRef.current) return;
9413
10586
  if (typeof to === "number") router.navigate(to);
@@ -9421,23 +10594,23 @@ function useNavigateStable() {
9421
10594
  */
9422
10595
  function MemoryRouter(_ref3) {
9423
10596
  let { basename, children, initialEntries, initialIndex, future } = _ref3;
9424
- let historyRef = import_react$6.useRef();
10597
+ let historyRef = import_react$3.useRef();
9425
10598
  if (historyRef.current == null) historyRef.current = createMemoryHistory({
9426
10599
  initialEntries,
9427
10600
  initialIndex,
9428
10601
  v5Compat: true
9429
10602
  });
9430
10603
  let history = historyRef.current;
9431
- let [state, setStateImpl] = import_react$6.useState({
10604
+ let [state, setStateImpl] = import_react$3.useState({
9432
10605
  action: history.action,
9433
10606
  location: history.location
9434
10607
  });
9435
10608
  let { v7_startTransition } = future || {};
9436
- let setState = import_react$6.useCallback((newState) => {
10609
+ let setState = import_react$3.useCallback((newState) => {
9437
10610
  v7_startTransition && startTransitionImpl$1 ? startTransitionImpl$1(() => setStateImpl(newState)) : setStateImpl(newState);
9438
10611
  }, [setStateImpl, v7_startTransition]);
9439
- import_react$6.useLayoutEffect(() => history.listen(setState), [history, setState]);
9440
- return /*#__PURE__*/ import_react$6.createElement(Router, {
10612
+ import_react$3.useLayoutEffect(() => history.listen(setState), [history, setState]);
10613
+ return /*#__PURE__*/ import_react$3.createElement(Router, {
9441
10614
  basename,
9442
10615
  children,
9443
10616
  location: state.location,
@@ -9458,7 +10631,7 @@ function Router(_ref5) {
9458
10631
  let { basename: basenameProp = "/", children = null, location: locationProp, navigationType = Action.Pop, navigator, static: staticProp = false } = _ref5;
9459
10632
  useInRouterContext() && invariant(false);
9460
10633
  let basename = basenameProp.replace(/^\/*/, "/");
9461
- let navigationContext = import_react$6.useMemo(() => ({
10634
+ let navigationContext = import_react$3.useMemo(() => ({
9462
10635
  basename,
9463
10636
  navigator,
9464
10637
  static: staticProp
@@ -9469,7 +10642,7 @@ function Router(_ref5) {
9469
10642
  ]);
9470
10643
  if (typeof locationProp === "string") locationProp = parsePath(locationProp);
9471
10644
  let { pathname = "/", search = "", hash = "", state = null, key = "default" } = locationProp;
9472
- let locationContext = import_react$6.useMemo(() => {
10645
+ let locationContext = import_react$3.useMemo(() => {
9473
10646
  let trailingPathname = stripBasename(pathname, basename);
9474
10647
  if (trailingPathname == null) return null;
9475
10648
  return {
@@ -9492,25 +10665,25 @@ function Router(_ref5) {
9492
10665
  navigationType
9493
10666
  ]);
9494
10667
  if (locationContext == null) return null;
9495
- return /*#__PURE__*/ import_react$6.createElement(NavigationContext.Provider, { value: navigationContext }, /*#__PURE__*/ import_react$6.createElement(LocationContext.Provider, {
10668
+ return /*#__PURE__*/ import_react$3.createElement(NavigationContext.Provider, { value: navigationContext }, /*#__PURE__*/ import_react$3.createElement(LocationContext.Provider, {
9496
10669
  children,
9497
10670
  value: locationContext
9498
10671
  }));
9499
10672
  }
9500
- var import_react$6, DataRouterContext, NavigationContext, LocationContext, RouteContext, DataRouterHook$1, DataRouterStateHook$1, startTransitionImpl$1, AwaitRenderStatus;
10673
+ var import_react$3, DataRouterContext, NavigationContext, LocationContext, RouteContext, DataRouterHook$1, DataRouterStateHook$1, startTransitionImpl$1, AwaitRenderStatus;
9501
10674
  function init_dist() {
9502
10675
  return (init_dist = __esmMin((() => {
9503
- import_react$6 = /* @__PURE__ */ __toESM(require_react());
10676
+ import_react$3 = /* @__PURE__ */ __toESM(require_react());
9504
10677
  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({
10678
+ DataRouterContext = /*#__PURE__*/ import_react$3.createContext(null);
10679
+ NavigationContext = /*#__PURE__*/ import_react$3.createContext(null);
10680
+ LocationContext = /*#__PURE__*/ import_react$3.createContext(null);
10681
+ RouteContext = /*#__PURE__*/ import_react$3.createContext({
9509
10682
  outlet: null,
9510
10683
  matches: [],
9511
10684
  isDataRoute: false
9512
10685
  });
9513
- import_react$6.Component;
10686
+ import_react$3.Component;
9514
10687
  DataRouterHook$1 = /*#__PURE__*/ function(DataRouterHook) {
9515
10688
  DataRouterHook["UseBlocker"] = "useBlocker";
9516
10689
  DataRouterHook["UseRevalidator"] = "useRevalidator";
@@ -9530,7 +10703,7 @@ function init_dist() {
9530
10703
  DataRouterStateHook["UseRouteId"] = "useRouteId";
9531
10704
  return DataRouterStateHook;
9532
10705
  }(DataRouterStateHook$1 || {});
9533
- startTransitionImpl$1 = import_react$6.startTransition;
10706
+ startTransitionImpl$1 = import_react$3.startTransition;
9534
10707
  AwaitRenderStatus = /*#__PURE__*/ function(AwaitRenderStatus) {
9535
10708
  AwaitRenderStatus[AwaitRenderStatus["pending"] = 0] = "pending";
9536
10709
  AwaitRenderStatus[AwaitRenderStatus["success"] = 1] = "success";
@@ -9538,7 +10711,7 @@ function init_dist() {
9538
10711
  return AwaitRenderStatus;
9539
10712
  }(AwaitRenderStatus || {});
9540
10713
  new Promise(() => {});
9541
- import_react$6.Component;
10714
+ import_react$3.Component;
9542
10715
  })))();
9543
10716
  }
9544
10717
  //#endregion
@@ -9586,22 +10759,22 @@ function shouldProcessLinkClick(event, target) {
9586
10759
  */
9587
10760
  function BrowserRouter(_ref) {
9588
10761
  let { basename, children, future, window } = _ref;
9589
- let historyRef = import_react$5.useRef();
10762
+ let historyRef = import_react$2.useRef();
9590
10763
  if (historyRef.current == null) historyRef.current = createBrowserHistory({
9591
10764
  window,
9592
10765
  v5Compat: true
9593
10766
  });
9594
10767
  let history = historyRef.current;
9595
- let [state, setStateImpl] = import_react$5.useState({
10768
+ let [state, setStateImpl] = import_react$2.useState({
9596
10769
  action: history.action,
9597
10770
  location: history.location
9598
10771
  });
9599
10772
  let { v7_startTransition } = future || {};
9600
- let setState = import_react$5.useCallback((newState) => {
10773
+ let setState = import_react$2.useCallback((newState) => {
9601
10774
  v7_startTransition && startTransitionImpl ? startTransitionImpl(() => setStateImpl(newState)) : setStateImpl(newState);
9602
10775
  }, [setStateImpl, v7_startTransition]);
9603
- import_react$5.useLayoutEffect(() => history.listen(setState), [history, setState]);
9604
- return /*#__PURE__*/ import_react$5.createElement(Router, {
10776
+ import_react$2.useLayoutEffect(() => history.listen(setState), [history, setState]);
10777
+ return /*#__PURE__*/ import_react$2.createElement(Router, {
9605
10778
  basename,
9606
10779
  children,
9607
10780
  location: state.location,
@@ -9619,7 +10792,7 @@ function useLinkClickHandler(to, _temp) {
9619
10792
  let navigate = useNavigate();
9620
10793
  let location = useLocation();
9621
10794
  let path = useResolvedPath(to, { relative });
9622
- return import_react$5.useCallback((event) => {
10795
+ return import_react$2.useCallback((event) => {
9623
10796
  if (shouldProcessLinkClick(event, target)) {
9624
10797
  event.preventDefault();
9625
10798
  let replace = replaceProp !== void 0 ? replaceProp : createPath(location) === createPath(path);
@@ -9642,13 +10815,13 @@ function useLinkClickHandler(to, _temp) {
9642
10815
  relative
9643
10816
  ]);
9644
10817
  }
9645
- var import_react$5, _excluded$2, startTransitionImpl, isBrowser, ABSOLUTE_URL_REGEX, Link, DataRouterHook, DataRouterStateHook;
10818
+ var import_react$2, _excluded$1, startTransitionImpl, isBrowser, ABSOLUTE_URL_REGEX, Link, DataRouterHook, DataRouterStateHook;
9646
10819
  function init_dist$1() {
9647
10820
  return (init_dist$1 = __esmMin((() => {
9648
- import_react$5 = /* @__PURE__ */ __toESM(require_react());
10821
+ import_react$2 = /* @__PURE__ */ __toESM(require_react());
9649
10822
  init_dist();
9650
10823
  init_router();
9651
- _excluded$2 = [
10824
+ _excluded$1 = [
9652
10825
  "onClick",
9653
10826
  "relative",
9654
10827
  "reloadDocument",
@@ -9658,12 +10831,12 @@ function init_dist$1() {
9658
10831
  "to",
9659
10832
  "preventScrollReset"
9660
10833
  ];
9661
- startTransitionImpl = import_react$5.startTransition;
10834
+ startTransitionImpl = import_react$2.startTransition;
9662
10835
  isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
9663
10836
  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);
10837
+ Link = /*#__PURE__*/ import_react$2.forwardRef(function LinkWithRef(_ref4, ref) {
10838
+ let { onClick, relative, reloadDocument, replace, state, target, to, preventScrollReset } = _ref4, rest = _objectWithoutPropertiesLoose(_ref4, _excluded$1);
10839
+ let { basename } = import_react$2.useContext(NavigationContext);
9667
10840
  let absoluteHref;
9668
10841
  let isExternal = false;
9669
10842
  if (typeof to === "string" && ABSOLUTE_URL_REGEX.test(to)) {
@@ -9688,7 +10861,7 @@ function init_dist$1() {
9688
10861
  if (onClick) onClick(event);
9689
10862
  if (!event.defaultPrevented) internalOnClick(event);
9690
10863
  }
9691
- return /*#__PURE__*/ import_react$5.createElement("a", _extends({}, rest, {
10864
+ return /*#__PURE__*/ import_react$2.createElement("a", _extends({}, rest, {
9692
10865
  href: absoluteHref || href,
9693
10866
  onClick: isExternal || reloadDocument ? onClick : handleClick,
9694
10867
  ref,
@@ -9747,11 +10920,11 @@ function init_internal() {
9747
10920
  }
9748
10921
  //#endregion
9749
10922
  //#region ../../node_modules/react-transition-state/dist/esm/useTransitionState.mjs
9750
- var import_react$4, updateState, useTransitionState;
10923
+ var import_react$1, updateState, useTransitionState;
9751
10924
  function init_useTransitionState() {
9752
10925
  return (init_useTransitionState = __esmMin((() => {
9753
10926
  init_internal();
9754
- import_react$4 = require_react();
10927
+ import_react$1 = require_react();
9755
10928
  updateState = (status, setState, ref, onChange) => {
9756
10929
  clearTimeout(ref.t);
9757
10930
  cancelAnimationFrame(ref.r);
@@ -9761,13 +10934,13 @@ function init_useTransitionState() {
9761
10934
  onChange?.({ current: state });
9762
10935
  };
9763
10936
  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)({
10937
+ const [state, setState] = (0, import_react$1.useState)(() => getState(initialEntered ? 2 : startOrEnd(mountOnEnter)));
10938
+ const [ref] = (0, import_react$1.useState)({
9766
10939
  s: state,
9767
10940
  r: 0
9768
10941
  });
9769
10942
  const [enterTimeout, exitTimeout] = getTimeout(timeout);
9770
- const endTransition = (0, import_react$4.useCallback)(() => {
10943
+ const endTransition = (0, import_react$1.useCallback)(() => {
9771
10944
  const status = getEndStatus(ref.s.$, unmountOnExit);
9772
10945
  if (status) updateState(status, setState, ref, onChange);
9773
10946
  }, [
@@ -9777,7 +10950,7 @@ function init_useTransitionState() {
9777
10950
  ]);
9778
10951
  return [
9779
10952
  state,
9780
- (0, import_react$4.useCallback)((toEnter) => {
10953
+ (0, import_react$1.useCallback)((toEnter) => {
9781
10954
  const transitState = (status) => {
9782
10955
  updateState(status, setState, ref, onChange);
9783
10956
  switch (status) {
@@ -9847,7 +11020,7 @@ function calculateNodeHeight(sizingData, value, minRows, maxRows) {
9847
11020
  }
9848
11021
  function useListener(target, type, listener) {
9849
11022
  var latestListener = useLatest(listener);
9850
- import_react$3.useLayoutEffect(function() {
11023
+ import_react.useLayoutEffect(function() {
9851
11024
  var handler = function handler(ev) {
9852
11025
  return latestListener.current(ev);
9853
11026
  };
@@ -9858,10 +11031,10 @@ function useListener(target, type, listener) {
9858
11031
  };
9859
11032
  }, []);
9860
11033
  }
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;
11034
+ var import_react, HIDDEN_TEXTAREA_STYLE, forceHiddenStyles$1, hiddenTextarea, getHeight, noop, pick, SIZING_STYLE, isIE, getSizingData$1, useFormResetListener, useWindowResizeListener, useFontsLoadedListener, _excluded, index;
9862
11035
  function init_react_textarea_autosize_browser_esm() {
9863
11036
  return (init_react_textarea_autosize_browser_esm = __esmMin((() => {
9864
- import_react$3 = /* @__PURE__ */ __toESM(require_react());
11037
+ import_react = /* @__PURE__ */ __toESM(require_react());
9865
11038
  init_use_latest_esm();
9866
11039
  init_use_composed_ref_esm();
9867
11040
  HIDDEN_TEXTAREA_STYLE = {
@@ -9887,7 +11060,7 @@ function init_react_textarea_autosize_browser_esm() {
9887
11060
  if (sizingData.sizingStyle.boxSizing === "border-box") return height + sizingData.borderSize;
9888
11061
  return height - sizingData.paddingSize;
9889
11062
  };
9890
- noop$1 = function noop() {};
11063
+ noop = function noop() {};
9891
11064
  pick = function pick(props, obj) {
9892
11065
  return props.reduce(function(acc, prop) {
9893
11066
  acc[prop] = obj[prop];
@@ -9944,20 +11117,20 @@ function init_react_textarea_autosize_browser_esm() {
9944
11117
  useFontsLoadedListener = function useFontsLoadedListener(listener) {
9945
11118
  useListener(document.fonts, "loadingdone", listener);
9946
11119
  };
9947
- _excluded$1 = [
11120
+ _excluded = [
9948
11121
  "cacheMeasurements",
9949
11122
  "maxRows",
9950
11123
  "minRows",
9951
11124
  "onChange",
9952
11125
  "onHeightChange"
9953
11126
  ];
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);
11127
+ index = /* #__PURE__ */ import_react.forwardRef(function TextareaAutosize(_ref, userRef) {
11128
+ 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
11129
  var isControlled = props.value !== void 0;
9957
- var libRef = import_react$3.useRef(null);
11130
+ var libRef = import_react.useRef(null);
9958
11131
  var ref = useComposedRef(libRef, userRef);
9959
- var heightRef = import_react$3.useRef(0);
9960
- var measurementsCacheRef = import_react$3.useRef();
11132
+ var heightRef = import_react.useRef(0);
11133
+ var measurementsCacheRef = import_react.useRef();
9961
11134
  var resizeTextarea = function resizeTextarea() {
9962
11135
  var node = libRef.current;
9963
11136
  var nodeSizingData = cacheMeasurements && measurementsCacheRef.current ? measurementsCacheRef.current : getSizingData$1(node);
@@ -9974,7 +11147,7 @@ function init_react_textarea_autosize_browser_esm() {
9974
11147
  if (!isControlled) resizeTextarea();
9975
11148
  onChange(event);
9976
11149
  };
9977
- import_react$3.useLayoutEffect(resizeTextarea);
11150
+ import_react.useLayoutEffect(resizeTextarea);
9978
11151
  useFormResetListener(libRef, function() {
9979
11152
  if (!isControlled) {
9980
11153
  var currentValue = libRef.current.value;
@@ -9986,7 +11159,7 @@ function init_react_textarea_autosize_browser_esm() {
9986
11159
  });
9987
11160
  useWindowResizeListener(resizeTextarea);
9988
11161
  useFontsLoadedListener(resizeTextarea);
9989
- return /*#__PURE__*/ import_react$3.createElement("textarea", _extends$2({}, props, {
11162
+ return /*#__PURE__*/ import_react.createElement("textarea", _extends$2({}, props, {
9990
11163
  onChange: handleChange,
9991
11164
  ref
9992
11165
  }));
@@ -9994,470 +11167,4 @@ function init_react_textarea_autosize_browser_esm() {
9994
11167
  })))();
9995
11168
  }
9996
11169
  //#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 };
11170
+ export { require_picocolors_browser as A, init_index_browser as C, stringify as D, init_stringify as E, require_react as F, require_jsx_runtime as M, require_client as N, init_parse as O, require_react_dom as P, inspect as S, init_main as T, rgba as _, BrowserRouter as a, require_min_indent as b, MemoryRouter as c, useLocation as d, useNavigate as f, init_polished_esm as g, curriedOpacify$1 as h, useTransitionState as i, require_memoizerific as j, parse as k, Router as l, curriedLighten$1 as m, init_react_textarea_autosize_browser_esm as n, Link as o, curriedDarken$1 as p, init_useTransitionState as r, init_dist$1 as s, index as t, init_dist as u, require_lz_string as v, nanoid as w, init_lib as x, require_indent_string as y };