@aussieljk/forkbook 0.0.1-12 → 0.0.1-13

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 (308) hide show
  1. package/dist/_browser-chunks/{Color-TA43572R.js → Color-2EUQ6NXV.js} +1 -1
  2. package/dist/_browser-chunks/{WithTooltip-66AWY4VQ.js → WithTooltip-QCFTNB6P.js} +1 -1
  3. package/dist/_browser-chunks/{chunk-FRAOQJDI.js → chunk-3QPZOXB7.js} +1 -5
  4. package/dist/_browser-chunks/{chunk-GRO2ZYEJ.js → chunk-4BOJAE7P.js} +12 -8
  5. package/dist/_browser-chunks/{chunk-ARZTIHZK.js → chunk-6SL45YM3.js} +3 -3
  6. package/dist/_browser-chunks/{chunk-D2Z5KXPS.js → chunk-BLCZ3C5M.js} +29 -21
  7. package/dist/_browser-chunks/{chunk-XV3AEPJW.js → chunk-DHTLVXAL.js} +37 -44
  8. package/dist/_browser-chunks/{chunk-5MRMYSUN.js → chunk-DISGPOF4.js} +54 -51
  9. package/dist/_browser-chunks/{chunk-2UKY4NXZ.js → chunk-EBSOKHFG.js} +7 -1
  10. package/dist/_browser-chunks/{chunk-GGALYEQS.js → chunk-ECMVTOVD.js} +1 -1
  11. package/dist/_browser-chunks/{chunk-DT7BB545.js → chunk-ENHFQXYS.js} +2 -2
  12. package/dist/_browser-chunks/{chunk-IGD46SQI.js → chunk-EW2M3URL.js} +1 -1
  13. package/dist/_browser-chunks/{chunk-2WMECYEY.js → chunk-FCULT3AE.js} +3 -3
  14. package/dist/_browser-chunks/{chunk-3O4QUF3D.js → chunk-HZFHNYRC.js} +1 -1
  15. package/dist/_browser-chunks/{chunk-5H4KFI44.js → chunk-KQJ4T6JL.js} +30 -24
  16. package/dist/_browser-chunks/{chunk-5XGERZHU.js → chunk-NK5SGJNG.js} +7 -5
  17. package/dist/_browser-chunks/{chunk-2YWS25WY.js → chunk-PQRPDA4U.js} +2 -2
  18. package/dist/_browser-chunks/{chunk-2JDQ35OA.js → chunk-PU7D2WDP.js} +0 -11
  19. package/dist/_browser-chunks/{chunk-AQVUHXWY.js → chunk-QFO2B4X2.js} +26 -25
  20. package/dist/_browser-chunks/{chunk-HGIW4I4J.js → chunk-S7N7Z5TY.js} +38 -27
  21. package/dist/_browser-chunks/{chunk-QSYOMLRG.js → chunk-UH3XTEOQ.js} +71 -56
  22. package/dist/_browser-chunks/{chunk-UDR26TXA.js → chunk-YJO5BK52.js} +7 -3
  23. package/dist/_browser-chunks/{chunk-3HM3VWJS.js → chunk-ZF37BMDS.js} +6 -2
  24. package/dist/_browser-chunks/{chunk-F22A5EGD.js → chunk-ZF5SPY56.js} +1 -1
  25. package/dist/_node-chunks/{attached-runtime-AU2RZM4Y.js → attached-runtime-7IRDQUTZ.js} +28 -28
  26. package/dist/_node-chunks/{builder-manager-UPXA2KKT.js → builder-manager-YTALSWKQ.js} +15 -15
  27. package/dist/_node-chunks/{chunk-FKI7K3GE.js → chunk-26ERGIQH.js} +6 -6
  28. package/dist/_node-chunks/{chunk-JHX35YKT.js → chunk-33T4HNF2.js} +6 -6
  29. package/dist/_node-chunks/{chunk-QSKVNZCF.js → chunk-3F3673RQ.js} +7 -7
  30. package/dist/_node-chunks/{chunk-SUHBBHKR.js → chunk-3FLRYZLJ.js} +6 -6
  31. package/dist/_node-chunks/{chunk-5MYXWAKD.js → chunk-3L2QRDKH.js} +33 -31
  32. package/dist/_node-chunks/{chunk-U5HVQTHI.js → chunk-3NH7IHUS.js} +6 -6
  33. package/dist/_node-chunks/{chunk-5KMW5XXM.js → chunk-3ZAENV5A.js} +6 -6
  34. package/dist/_node-chunks/{chunk-KZPWZM2E.js → chunk-4B52HLKK.js} +39 -44
  35. package/dist/_node-chunks/{chunk-Y472MP5U.js → chunk-4CZJ4SFH.js} +8 -8
  36. package/dist/_node-chunks/{chunk-KQTFSKC6.js → chunk-4IIWFG7O.js} +13 -11
  37. package/dist/_node-chunks/{chunk-JB4457FJ.js → chunk-4YWZLOAF.js} +6 -6
  38. package/dist/_node-chunks/{chunk-G6GOV7H7.js → chunk-5A5XOSRM.js} +6 -6
  39. package/dist/_node-chunks/chunk-5T6Q7HT3.js +11 -0
  40. package/dist/_node-chunks/{chunk-5N7YRHXJ.js → chunk-6DRDJF2Q.js} +6 -6
  41. package/dist/_node-chunks/{chunk-MNQVVJZN.js → chunk-6JSZY5TJ.js} +6 -6
  42. package/dist/_node-chunks/{chunk-FFUIQJRI.js → chunk-7SPDKMDQ.js} +14 -14
  43. package/dist/_node-chunks/{chunk-76M6JG5T.js → chunk-7YLKDHLZ.js} +7 -7
  44. package/dist/_node-chunks/{chunk-NPSIAK46.js → chunk-7YQIVUEK.js} +6 -6
  45. package/dist/_node-chunks/{chunk-HMQUTLMS.js → chunk-ADCQYK3Z.js} +6 -6
  46. package/dist/_node-chunks/{chunk-LTJ4AYDM.js → chunk-ALHQVE5R.js} +6 -6
  47. package/dist/_node-chunks/{chunk-H7UVQBCQ.js → chunk-B4XAZ2OC.js} +6 -6
  48. package/dist/_node-chunks/{chunk-2MGPZNKV.js → chunk-BFQJF3ID.js} +11 -8
  49. package/dist/_node-chunks/{chunk-RT2LVWTC.js → chunk-BSXI35KM.js} +7 -7
  50. package/dist/_node-chunks/{chunk-FR67COFW.js → chunk-BZQF5KUE.js} +7 -7
  51. package/dist/_node-chunks/{chunk-ZUK5ZLPP.js → chunk-CEIESR4U.js} +6 -6
  52. package/dist/_node-chunks/{chunk-NXRZL2PR.js → chunk-CESXIP3N.js} +6 -6
  53. package/dist/_node-chunks/{chunk-WUVQ465T.js → chunk-DAEUTT3I.js} +6 -6
  54. package/dist/_node-chunks/{chunk-BTDLJXAT.js → chunk-DIC4T2UO.js} +6 -6
  55. package/dist/_node-chunks/{chunk-6772LYNF.js → chunk-DPOWAA4P.js} +37 -31
  56. package/dist/_node-chunks/{chunk-IKUSSZJ3.js → chunk-DTNEHO4J.js} +10 -10
  57. package/dist/_node-chunks/{chunk-IOXDHKFF.js → chunk-DY7F7B6V.js} +7 -7
  58. package/dist/_node-chunks/{chunk-HW7RCOV4.js → chunk-E56UKDJR.js} +8 -8
  59. package/dist/_node-chunks/{chunk-3MJZ5GI2.js → chunk-EFX2VA4Q.js} +6 -6
  60. package/dist/_node-chunks/{chunk-R73PEGQU.js → chunk-EM6AYELK.js} +10 -12
  61. package/dist/_node-chunks/{chunk-MNNESU33.js → chunk-F2AFT3P7.js} +8 -8
  62. package/dist/_node-chunks/{chunk-2W525A4I.js → chunk-GC7NA2Y7.js} +7 -7
  63. package/dist/_node-chunks/{chunk-2X3WAH7V.js → chunk-GIKCT5KG.js} +7 -7
  64. package/dist/_node-chunks/{chunk-IFHNMS7I.js → chunk-GLNHSUKT.js} +20 -20
  65. package/dist/_node-chunks/{chunk-DNX4BLMS.js → chunk-GQZZQB4K.js} +7 -7
  66. package/dist/_node-chunks/{chunk-PHB6QBHM.js → chunk-GRN6WQC3.js} +10 -10
  67. package/dist/_node-chunks/{chunk-K2K6KTBC.js → chunk-HCMHVV7N.js} +8 -8
  68. package/dist/_node-chunks/{chunk-FUDG3QKB.js → chunk-HJVZQS65.js} +7 -7
  69. package/dist/_node-chunks/{chunk-UKLCYEZU.js → chunk-I26RGEVQ.js} +7 -7
  70. package/dist/_node-chunks/{chunk-JKPKEYSH.js → chunk-I36FPWMO.js} +6 -6
  71. package/dist/_node-chunks/{chunk-C2HVGXLD.js → chunk-IDPQ3CVN.js} +264 -312
  72. package/dist/_node-chunks/{chunk-2Q3YWQSK.js → chunk-JUVUVVHI.js} +6 -6
  73. package/dist/_node-chunks/{chunk-NUSHY22I.js → chunk-K6TEIAKH.js} +7 -7
  74. package/dist/_node-chunks/{chunk-W5ZAUN5R.js → chunk-KEXQ3BON.js} +7 -7
  75. package/dist/_node-chunks/{chunk-HPXM4SGT.js → chunk-KUZSE7ZD.js} +9 -9
  76. package/dist/_node-chunks/chunk-LJ5JRR5Q.js +18 -0
  77. package/dist/_node-chunks/{chunk-7F6TIY4T.js → chunk-LMGI47HP.js} +8 -8
  78. package/dist/_node-chunks/{chunk-EFZAYIPN.js → chunk-LPIPPSMS.js} +6 -6
  79. package/dist/_node-chunks/{chunk-UFZUSE3Y.js → chunk-LR4W5G37.js} +6 -6
  80. package/dist/_node-chunks/{chunk-TXZTC6LA.js → chunk-M4MRBEJI.js} +14 -10
  81. package/dist/_node-chunks/{chunk-XCNYQV2M.js → chunk-M7BVABR2.js} +9 -9
  82. package/dist/_node-chunks/{chunk-SPCPGRYF.js → chunk-MK2RPLWT.js} +7 -7
  83. package/dist/_node-chunks/{chunk-ABCEMTIP.js → chunk-MKSEM5C2.js} +6 -6
  84. package/dist/_node-chunks/{chunk-QBWGJYHY.js → chunk-MWQIBOUB.js} +6 -6
  85. package/dist/_node-chunks/{chunk-ZCKTYMZT.js → chunk-NAXIA2JI.js} +8 -8
  86. package/dist/_node-chunks/{chunk-OSNOV4EH.js → chunk-NDVIMCIX.js} +7 -7
  87. package/dist/_node-chunks/{chunk-QX6RXAEU.js → chunk-NIOVXWQZ.js} +6 -6
  88. package/dist/_node-chunks/{chunk-FAR3NIPG.js → chunk-NRP4FGRT.js} +15 -9
  89. package/dist/_node-chunks/{chunk-22A63J7O.js → chunk-NSNBFXVB.js} +7 -7
  90. package/dist/_node-chunks/{chunk-RHH7VDIY.js → chunk-NTUTJAD4.js} +8 -8
  91. package/dist/_node-chunks/{chunk-34DNGOCZ.js → chunk-O46DZ2KC.js} +8 -8
  92. package/dist/_node-chunks/{chunk-KMC5WWQS.js → chunk-OH5M2YER.js} +7 -7
  93. package/dist/_node-chunks/{chunk-DXR3YGRT.js → chunk-OSIENBU6.js} +6 -6
  94. package/dist/_node-chunks/{chunk-BDATIKVV.js → chunk-OVJZBW54.js} +7 -7
  95. package/dist/_node-chunks/{chunk-POA32M7F.js → chunk-PGIDRLZ5.js} +8 -8
  96. package/dist/_node-chunks/{chunk-VJEN2JM3.js → chunk-PJCSZR4T.js} +8 -8
  97. package/dist/_node-chunks/{chunk-AHNN3TQH.js → chunk-PQXP5FZ2.js} +8 -8
  98. package/dist/_node-chunks/{chunk-22TWJGGQ.js → chunk-PU33WSBW.js} +18 -21
  99. package/dist/_node-chunks/{chunk-HW4T3OXA.js → chunk-PUBZLLNL.js} +7 -7
  100. package/dist/_node-chunks/{chunk-UGQFYYBC.js → chunk-QWZZX2HN.js} +6 -6
  101. package/dist/_node-chunks/{chunk-JMFTALJW.js → chunk-RMUBUNBY.js} +6 -6
  102. package/dist/_node-chunks/{chunk-BMM74ZQW.js → chunk-S33FEPQ3.js} +6 -6
  103. package/dist/_node-chunks/{chunk-O2CCUB5T.js → chunk-SHP6447T.js} +7 -7
  104. package/dist/_node-chunks/{chunk-NO7MF6VR.js → chunk-ST3KB36E.js} +6 -6
  105. package/dist/_node-chunks/{chunk-JXS4P2RM.js → chunk-SXX75O2D.js} +7 -7
  106. package/dist/_node-chunks/{chunk-ORSH2FXG.js → chunk-TQ5YAQ4Y.js} +6 -6
  107. package/dist/_node-chunks/{chunk-RMJNWFPV.js → chunk-TSJ3JCNN.js} +16 -10
  108. package/dist/_node-chunks/{chunk-XOAWAXUH.js → chunk-UYEX6LW6.js} +7 -7
  109. package/dist/_node-chunks/{chunk-3X67K6EI.js → chunk-VJLLEKWR.js} +11 -11
  110. package/dist/_node-chunks/{chunk-7SBWGNA7.js → chunk-WWJKLYU5.js} +8 -8
  111. package/dist/_node-chunks/{chunk-WNEWL2PL.js → chunk-XC7K4QEX.js} +6 -6
  112. package/dist/_node-chunks/{chunk-Q64ESHBN.js → chunk-Y64FM6U7.js} +8 -8
  113. package/dist/_node-chunks/{chunk-2GJBHF56.js → chunk-YDM7NH4T.js} +6 -6
  114. package/dist/_node-chunks/{chunk-BOWRRVJM.js → chunk-ZHVOUP6D.js} +6 -6
  115. package/dist/_node-chunks/dist-CFCU4PZG.js +27 -0
  116. package/dist/_node-chunks/dist-PFMT5YJK.js +16 -0
  117. package/dist/_node-chunks/{local-runtime-Z667YPXR.js → local-runtime-BKID5MBG.js} +19 -19
  118. package/dist/_node-chunks/{mdx-plugin-BPRPTZNP.js → mdx-plugin-7BOUDCZB.js} +13 -13
  119. package/dist/_node-chunks/{monorepo-GO54BY34.js → monorepo-FRHSAJB7.js} +11 -11
  120. package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-PEHFNJQ5.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-7BHSAJP4.js} +11 -11
  121. package/dist/_node-chunks/optimized-tests-F5LCOTXH.js +22 -0
  122. package/dist/_node-chunks/{pattern-copy-play-64HQIVWK.js → pattern-copy-play-6TGV6WS4.js} +9 -9
  123. package/dist/_node-chunks/postinstallAddon-4RININ5C.js +20 -0
  124. package/dist/_node-chunks/{rehype-external-links-2BSEZ7AC.js → rehype-external-links-EE2HT4QP.js} +9 -9
  125. package/dist/_node-chunks/{rehype-slug-6253EA36.js → rehype-slug-ZKRW2V6Z.js} +9 -9
  126. package/dist/_node-chunks/{relaxed-limits-4PAAPG3J.js → relaxed-limits-6Q7VRQC5.js} +11 -11
  127. package/dist/_node-chunks/{run-XJT3YVMZ.js → run-6Y3ZTASZ.js} +22 -20
  128. package/dist/_node-chunks/{run-3SQW3FRF.js → run-EBHIAT35.js} +17 -17
  129. package/dist/_node-chunks/{setup-JIYCTADZ.js → setup-6XIF77JT.js} +8 -8
  130. package/dist/_node-chunks/{vitest.config.4.template-W74SGWHT.js → vitest.config.4.template-GMQNQ4UW.js} +7 -7
  131. package/dist/actions/decorator.js +5 -2
  132. package/dist/actions/index.d.ts +3 -3
  133. package/dist/actions/index.js +1 -1
  134. package/dist/addon-a11y/index.js +1 -1
  135. package/dist/addon-a11y/manager.js +5 -5
  136. package/dist/addon-a11y/preset.js +7 -7
  137. package/dist/addon-a11y/preview.d.ts +8 -2
  138. package/dist/addon-a11y/preview.js +1 -1
  139. package/dist/addon-docs/blocks.d.ts +98 -83
  140. package/dist/addon-docs/blocks.js +10 -10
  141. package/dist/addon-docs/index.d.ts +2 -2
  142. package/dist/addon-docs/manager.js +2 -2
  143. package/dist/addon-docs/preset.js +12 -12
  144. package/dist/addon-docs/preview.d.ts +3 -1
  145. package/dist/addon-links/index.d.ts +2 -1
  146. package/dist/addon-links/preview.d.ts +1 -1
  147. package/dist/addon-mcp/preset.js +10 -10
  148. package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +2 -2
  149. package/dist/addon-ondevice-controls/index.js +1 -1
  150. package/dist/addon-ondevice-controls/register.js +1 -1
  151. package/dist/addon-pseudo-states/index.js +1 -1
  152. package/dist/addon-pseudo-states/preview.d.ts +1 -1
  153. package/dist/addon-pseudo-states/preview.js +1 -1
  154. package/dist/addon-themes/index.d.ts +6 -5
  155. package/dist/addon-themes/postinstall.js +7 -7
  156. package/dist/addon-vitest/constants.js +8 -8
  157. package/dist/addon-vitest/manager.js +2 -2
  158. package/dist/addon-vitest/node/coverage-reporter.js +8 -8
  159. package/dist/addon-vitest/node/vitest.js +22 -22
  160. package/dist/addon-vitest/postinstall.js +10 -10
  161. package/dist/addon-vitest/preset.js +20 -19
  162. package/dist/addon-vitest/vitest-plugin/global-setup.js +8 -8
  163. package/dist/addon-vitest/vitest-plugin/index.js +13 -13
  164. package/dist/babel/index.d.ts +209 -212
  165. package/dist/babel/index.js +11 -11
  166. package/dist/bin/core.js +60 -57
  167. package/dist/bin/dispatcher.js +10 -10
  168. package/dist/bin/loader.js +8 -8
  169. package/dist/builder-vite/index.d.ts +1 -1
  170. package/dist/builder-vite/index.js +15 -15
  171. package/dist/builder-vite/preset.js +13 -13
  172. package/dist/channels/index.d.ts +1 -1
  173. package/dist/channels/index.js +2 -2
  174. package/dist/{chunk-BmCH-L7_.d.ts → chunk-BCG2ui5q.d.ts} +236 -249
  175. package/dist/{chunk-DoIGKY33.d.ts → chunk-BLZXEm1K.d.ts} +6 -8
  176. package/dist/{chunk-evfhuBNU.d.ts → chunk-BNRZY6Jq.d.ts} +2 -2
  177. package/dist/{chunk-Bn1RoGAP.d.ts → chunk-BV_hETtB.d.ts} +2 -2
  178. package/dist/chunk-BcYKnZln.d.ts +10 -0
  179. package/dist/{chunk-BCoJQE-f.d.ts → chunk-BtKww7r1.d.ts} +6 -4
  180. package/dist/{chunk-Bpi2tz-6.d.ts → chunk-Bubi-WAs.d.ts} +20 -17
  181. package/dist/{chunk-pcFXCimE.d.ts → chunk-CmV7WZzR.d.ts} +124 -2
  182. package/dist/{chunk-BGkgZp-H.d.ts → chunk-D3uSIa6H.d.ts} +9 -1
  183. package/dist/{chunk-DROZ9oel.d.ts → chunk-DNCU78oW.d.ts} +110 -9
  184. package/dist/{chunk-IMedIHPn.d.ts → chunk-LWwxlbee.d.ts} +2 -2
  185. package/dist/{chunk-CfEntHiI.d.ts → chunk-u_gGuTrz.d.ts} +5 -5
  186. package/dist/cli/index.d.ts +3 -3
  187. package/dist/cli/index.js +21 -21
  188. package/dist/cli/skills/content/index.d.ts +1 -1
  189. package/dist/cli/tools/sdk/child-host.d.ts +1 -1
  190. package/dist/cli/tools/sdk/child-host.js +17 -17
  191. package/dist/cli/tools/sdk/index.d.ts +3 -3
  192. package/dist/cli/tools/sdk/index.js +18 -18
  193. package/dist/cli-commands/bin/index.js +7 -7
  194. package/dist/client-logger/index.d.ts +20 -21
  195. package/dist/common/index.d.ts +12 -12
  196. package/dist/common/index.js +34 -34
  197. package/dist/components/index.d.ts +40 -29
  198. package/dist/components/index.js +66 -67
  199. package/dist/core-events/index.d.ts +2 -2
  200. package/dist/core-server/index.d.ts +12 -7
  201. package/dist/core-server/index.js +87 -79
  202. package/dist/core-server/presets/common-manager.js +36 -29
  203. package/dist/core-server/presets/common-override-preset.js +10 -10
  204. package/dist/core-server/presets/common-preset.js +50 -47
  205. package/dist/create/bin/index.js +7 -7
  206. package/dist/create/index.js +15 -15
  207. package/dist/csf/index.d.ts +2 -2
  208. package/dist/csf/index.js +34 -37
  209. package/dist/csf-tools/index.d.ts +11 -7
  210. package/dist/csf-tools/index.js +12 -12
  211. package/dist/docs-tools/index.d.ts +332 -16
  212. package/dist/docs-tools/index.js +3 -3
  213. package/dist/instrumenter/index.d.ts +4 -4
  214. package/dist/instrumenter/index.js +24 -14
  215. package/dist/manager/_manager-chunks/{globals-runtime-BWciJpaD.js → globals-runtime-BgWmCsA7.js} +91 -89
  216. package/dist/manager/_manager-chunks/{globals-runtime-BFVFUcji.js → globals-runtime-C59T0h-j.js} +1 -1
  217. package/dist/manager/_manager-chunks/{globals-runtime-DweLlyBa.js → globals-runtime-CCZrdft6.js} +2 -2
  218. package/dist/manager/_manager-chunks/{globals-runtime-CdLHkSK1.js → globals-runtime-Cccwtspx.js} +30 -21
  219. package/dist/manager/_manager-chunks/{globals-runtime-DhygDQ09.js → globals-runtime-Ddp2jFET.js} +2 -2
  220. package/dist/manager/_manager-chunks/{globals-runtime--RDllwDw.js → globals-runtime-UFDJQlo-.js} +49 -41
  221. package/dist/manager/_manager-chunks/{runtime-BBaBlpAS.js → runtime-4wMiTjjZ.js} +2 -2
  222. package/dist/manager/_manager-chunks/{runtime-Dj8tizGo.js → runtime-AvqHE9rM.js} +31 -28
  223. package/dist/manager/_manager-chunks/{runtime-CE_oqcpl.js → runtime-D8QxTQiI.js} +2 -2
  224. package/dist/manager/_manager-chunks/{runtime-CRqm7NXD.js → runtime-DC3oEVlM.js} +1 -1
  225. package/dist/manager/_manager-chunks/{runtime-1BcYUf7-.js → runtime-DCOIOn4T.js} +24 -16
  226. package/dist/manager/_manager-chunks/{runtime-BFgSyEE6.js → runtime-D_FDSHFG.js} +3 -3
  227. package/dist/manager/_manager-chunks/{runtime-D3Gk2bTl.js → runtime-lPbyY_f5.js} +167 -165
  228. package/dist/manager/_manager-chunks/{runtime-B2VQIT0n.js → runtime-td6oYfU6.js} +1 -1
  229. package/dist/manager/globals-runtime.js +1 -1
  230. package/dist/manager/runtime.js +1 -1
  231. package/dist/manager-api/index.d.ts +1 -1
  232. package/dist/manager-api/index.js +55 -56
  233. package/dist/manager-errors.d.ts +1 -1
  234. package/dist/mcp/index.d.ts +1 -1
  235. package/dist/mcp/index.js +8 -8
  236. package/dist/mocking-utils/index.d.ts +5 -3
  237. package/dist/mocking-utils/index.js +16 -17
  238. package/dist/nextjs-vite/export-mocks/headers/index.js +3 -1
  239. package/dist/nextjs-vite/export-mocks/link/index.d.ts +4 -1
  240. package/dist/nextjs-vite/export-mocks/navigation/index.d.ts +9 -1
  241. package/dist/nextjs-vite/export-mocks/router/index.js +13 -7
  242. package/dist/nextjs-vite/index.d.ts +1 -1
  243. package/dist/nextjs-vite/index.js +9 -5
  244. package/dist/nextjs-vite/node/index.js +7 -7
  245. package/dist/nextjs-vite/preset.js +10 -10
  246. package/dist/nextjs-vite/preview.d.ts +2 -1
  247. package/dist/nextjs-vite/preview.js +1 -1
  248. package/dist/nextjs-vite/vite-plugin/index.js +7 -7
  249. package/dist/nextjs-vite-plugin/index.js +12 -22
  250. package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
  251. package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/router/index.js +10 -6
  252. package/dist/node-logger/index.d.ts +2 -2
  253. package/dist/node-logger/index.js +9 -9
  254. package/dist/oxc-parser/index.js +10 -10
  255. package/dist/oxc-parser/worker.js +10 -10
  256. package/dist/preview/_chunks/{runtime-CBKlMZg2.js → runtime-BYRCSYBN.js} +2 -2
  257. package/dist/preview/_chunks/{runtime-DZ7fvh0y.js → runtime-Bvh_rfnQ.js} +2 -37
  258. package/dist/preview/_chunks/{runtime-C_nyb8QT.js → runtime-CdZ1yk7m.js} +2 -2
  259. package/dist/preview/_chunks/{runtime-Bjm1gBLN.js → runtime-CsO4apr9.js} +37 -28
  260. package/dist/preview/_chunks/{runtime-BSJ0Ov_b.js → runtime-D2MPrqbU.js} +2 -2
  261. package/dist/preview/_chunks/{runtime-CElbz0uN.js → runtime-DS0s7U3c.js} +1 -1
  262. package/dist/preview/_chunks/{runtime-CzTPeFXg.js → runtime-U1Ycy25F.js} +32 -24
  263. package/dist/preview/_chunks/{runtime-4BNaFIif.js → runtime-tyJLgv6h.js} +50 -48
  264. package/dist/preview/runtime.js +1 -1
  265. package/dist/preview-api/index.d.ts +3 -3
  266. package/dist/preview-api/index.js +7 -7
  267. package/dist/preview-errors.d.ts +1 -1
  268. package/dist/react/docgen/docgen-worker.js +11 -11
  269. package/dist/react/entry-preview-argtypes.js +1 -1
  270. package/dist/react/entry-preview-docs.js +1 -1
  271. package/dist/react/entry-preview.js +1 -1
  272. package/dist/react/index.d.ts +4 -6
  273. package/dist/react/index.js +5 -5
  274. package/dist/react/preset.js +13 -13
  275. package/dist/react/preview.js +4 -4
  276. package/dist/react-native/bin/get-stories.js +8 -8
  277. package/dist/react-native/index.js +11 -7
  278. package/dist/react-native/metro/node.js +10 -10
  279. package/dist/react-native/metro/withForkbook.js +13 -13
  280. package/dist/react-native/scripts/generate.js +8 -8
  281. package/dist/react-native-ui/index.d.ts +4 -4
  282. package/dist/react-native-ui-common/index.d.ts +24 -4
  283. package/dist/react-native-ui-common/index.js +20 -25
  284. package/dist/react-vite/node/index.js +7 -7
  285. package/dist/react-vite/preset.js +7 -7
  286. package/dist/router/index.d.ts +2 -2
  287. package/dist/router/index.js +4 -2
  288. package/dist/server-errors.d.ts +1 -1
  289. package/dist/server-errors.js +9 -9
  290. package/dist/shared/open-service/index.d.ts +3 -3
  291. package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
  292. package/dist/shared/open-service/toolsets/docs/public.d.ts +5 -5
  293. package/dist/telemetry/index.js +11 -11
  294. package/dist/test/index.d.ts +2 -2
  295. package/dist/test/index.js +14 -8
  296. package/dist/theming/create.d.ts +1 -1
  297. package/dist/theming/index.d.ts +1 -1
  298. package/dist/types/index.d.ts +2 -2
  299. package/dist/types/index.js +1 -1
  300. package/package.json +2 -2
  301. package/dist/_node-chunks/chunk-CWIJ2D5F.js +0 -18
  302. package/dist/_node-chunks/chunk-J3CNNXKQ.js +0 -11
  303. package/dist/_node-chunks/dist-2DPC664Y.js +0 -27
  304. package/dist/_node-chunks/dist-XBFUDMFQ.js +0 -16
  305. package/dist/_node-chunks/optimized-tests-W7U4ZRWX.js +0 -22
  306. package/dist/_node-chunks/postinstallAddon-XM2BHKDN.js +0 -20
  307. package/dist/chunk-BGhyFTJO.d.ts +0 -115
  308. package/dist/chunk-DaVb55-_.d.ts +0 -124
@@ -1,44 +1,44 @@
1
- import CJS_COMPAT_NODE_URL_enqaafxxjgh from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_enqaafxxjgh from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_enqaafxxjgh from "node:module";
1
+ import CJS_COMPAT_NODE_URL_sfnpbdazcnb from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_sfnpbdazcnb from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_sfnpbdazcnb from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_enqaafxxjgh.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_enqaafxxjgh.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_enqaafxxjgh.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_sfnpbdazcnb.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_sfnpbdazcnb.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_sfnpbdazcnb.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  require_dist
14
- } from "../_node-chunks/chunk-7F6TIY4T.js";
14
+ } from "../_node-chunks/chunk-LMGI47HP.js";
15
15
  import {
16
16
  BananaSlug
17
- } from "../_node-chunks/chunk-BTDLJXAT.js";
17
+ } from "../_node-chunks/chunk-DIC4T2UO.js";
18
18
  import {
19
19
  fromMarkdown,
20
20
  mdxFromMarkdown,
21
21
  mdxjs
22
- } from "../_node-chunks/chunk-AHNN3TQH.js";
22
+ } from "../_node-chunks/chunk-PQXP5FZ2.js";
23
23
  import {
24
24
  withRouteDepth
25
- } from "../_node-chunks/chunk-HW7RCOV4.js";
25
+ } from "../_node-chunks/chunk-E56UKDJR.js";
26
26
  import {
27
27
  debounce
28
- } from "../_node-chunks/chunk-76M6JG5T.js";
28
+ } from "../_node-chunks/chunk-7YLKDHLZ.js";
29
29
  import {
30
30
  require_lib
31
- } from "../_node-chunks/chunk-DNX4BLMS.js";
31
+ } from "../_node-chunks/chunk-GQZZQB4K.js";
32
32
  import {
33
33
  Parser,
34
34
  init_acorn,
35
35
  require_acorn_jsx
36
- } from "../_node-chunks/chunk-W5ZAUN5R.js";
36
+ } from "../_node-chunks/chunk-KEXQ3BON.js";
37
37
  import {
38
38
  isTelemetryModuleEnabled,
39
39
  telemetry,
40
40
  withSpan
41
- } from "../_node-chunks/chunk-Y472MP5U.js";
41
+ } from "../_node-chunks/chunk-4CZJ4SFH.js";
42
42
  import {
43
43
  getEffectiveToolAvailability,
44
44
  getManifestStatus,
@@ -48,37 +48,37 @@ import {
48
48
  isClaudePreviewLaunch,
49
49
  isModuleGraphSupported,
50
50
  resolveSkillInputs
51
- } from "../_node-chunks/chunk-IKUSSZJ3.js";
51
+ } from "../_node-chunks/chunk-DTNEHO4J.js";
52
52
  import {
53
53
  CLAUDE_PREVIEW_AGENT_NAME
54
- } from "../_node-chunks/chunk-G6GOV7H7.js";
55
- import "../_node-chunks/chunk-HMQUTLMS.js";
56
- import "../_node-chunks/chunk-CWIJ2D5F.js";
54
+ } from "../_node-chunks/chunk-5A5XOSRM.js";
55
+ import "../_node-chunks/chunk-ADCQYK3Z.js";
56
+ import "../_node-chunks/chunk-LJ5JRR5Q.js";
57
57
  import {
58
58
  detectAgent
59
- } from "../_node-chunks/chunk-FUDG3QKB.js";
60
- import "../_node-chunks/chunk-QX6RXAEU.js";
61
- import "../_node-chunks/chunk-2MGPZNKV.js";
59
+ } from "../_node-chunks/chunk-HJVZQS65.js";
60
+ import "../_node-chunks/chunk-NIOVXWQZ.js";
61
+ import "../_node-chunks/chunk-BFQJF3ID.js";
62
62
  import {
63
63
  userOrAutoTitleFromSpecifier
64
- } from "../_node-chunks/chunk-KZPWZM2E.js";
65
- import "../_node-chunks/chunk-HW4T3OXA.js";
66
- import "../_node-chunks/chunk-FR67COFW.js";
67
- import "../_node-chunks/chunk-WUVQ465T.js";
64
+ } from "../_node-chunks/chunk-4B52HLKK.js";
65
+ import "../_node-chunks/chunk-PUBZLLNL.js";
66
+ import "../_node-chunks/chunk-BZQF5KUE.js";
67
+ import "../_node-chunks/chunk-DAEUTT3I.js";
68
68
  import {
69
69
  resolveImport,
70
70
  supportedExtensions
71
- } from "../_node-chunks/chunk-IFHNMS7I.js";
72
- import "../_node-chunks/chunk-JB4457FJ.js";
73
- import "../_node-chunks/chunk-ZCKTYMZT.js";
71
+ } from "../_node-chunks/chunk-GLNHSUKT.js";
72
+ import "../_node-chunks/chunk-4YWZLOAF.js";
73
+ import "../_node-chunks/chunk-NAXIA2JI.js";
74
74
  import {
75
75
  require_src
76
- } from "../_node-chunks/chunk-RHH7VDIY.js";
77
- import "../_node-chunks/chunk-QSKVNZCF.js";
78
- import "../_node-chunks/chunk-ZUK5ZLPP.js";
76
+ } from "../_node-chunks/chunk-NTUTJAD4.js";
77
+ import "../_node-chunks/chunk-3F3673RQ.js";
78
+ import "../_node-chunks/chunk-CEIESR4U.js";
79
79
  import {
80
80
  logger
81
- } from "../_node-chunks/chunk-XCNYQV2M.js";
81
+ } from "../_node-chunks/chunk-M7BVABR2.js";
82
82
  import {
83
83
  ChangeDetectionFailureError,
84
84
  ChangeDetectionUnavailableError,
@@ -122,84 +122,84 @@ import {
122
122
  useStatics,
123
123
  withTelemetry,
124
124
  writeManifests
125
- } from "../_node-chunks/chunk-5MYXWAKD.js";
125
+ } from "../_node-chunks/chunk-3L2QRDKH.js";
126
126
  import {
127
127
  UniversalStore
128
- } from "../_node-chunks/chunk-6772LYNF.js";
128
+ } from "../_node-chunks/chunk-DPOWAA4P.js";
129
129
  import {
130
130
  buildStoryPathMap,
131
131
  urlPathDepth
132
- } from "../_node-chunks/chunk-BMM74ZQW.js";
132
+ } from "../_node-chunks/chunk-S33FEPQ3.js";
133
133
  import {
134
134
  init_build,
135
135
  parse
136
- } from "../_node-chunks/chunk-KMC5WWQS.js";
137
- import "../_node-chunks/chunk-FKI7K3GE.js";
136
+ } from "../_node-chunks/chunk-OH5M2YER.js";
137
+ import "../_node-chunks/chunk-26ERGIQH.js";
138
138
  import {
139
139
  registerToolset
140
- } from "../_node-chunks/chunk-34DNGOCZ.js";
141
- import "../_node-chunks/chunk-RT2LVWTC.js";
142
- import "../_node-chunks/chunk-OSNOV4EH.js";
143
- import "../_node-chunks/chunk-5N7YRHXJ.js";
140
+ } from "../_node-chunks/chunk-O46DZ2KC.js";
141
+ import "../_node-chunks/chunk-BSXI35KM.js";
142
+ import "../_node-chunks/chunk-NDVIMCIX.js";
143
+ import "../_node-chunks/chunk-6DRDJF2Q.js";
144
144
  import {
145
145
  STORY_FILE_TEST_REGEXP,
146
146
  getStoryImportPathFromEntry
147
- } from "../_node-chunks/chunk-KQTFSKC6.js";
147
+ } from "../_node-chunks/chunk-4IIWFG7O.js";
148
148
  import {
149
149
  getService,
150
150
  registerService,
151
151
  writeOpenServiceStaticFiles
152
- } from "../_node-chunks/chunk-PHB6QBHM.js";
152
+ } from "../_node-chunks/chunk-GRN6WQC3.js";
153
153
  import {
154
154
  Channel,
155
155
  describeService,
156
156
  getRegisteredServices,
157
157
  listServices
158
- } from "../_node-chunks/chunk-3X67K6EI.js";
158
+ } from "../_node-chunks/chunk-VJLLEKWR.js";
159
159
  import {
160
160
  isEqual
161
- } from "../_node-chunks/chunk-SPCPGRYF.js";
162
- import "../_node-chunks/chunk-2Q3YWQSK.js";
163
- import "../_node-chunks/chunk-WNEWL2PL.js";
164
- import "../_node-chunks/chunk-NPSIAK46.js";
161
+ } from "../_node-chunks/chunk-MK2RPLWT.js";
162
+ import "../_node-chunks/chunk-JUVUVVHI.js";
163
+ import "../_node-chunks/chunk-XC7K4QEX.js";
164
+ import "../_node-chunks/chunk-7YQIVUEK.js";
165
165
  import {
166
166
  Tag
167
- } from "../_node-chunks/chunk-QBWGJYHY.js";
168
- import "../_node-chunks/chunk-FAR3NIPG.js";
169
- import "../_node-chunks/chunk-22A63J7O.js";
167
+ } from "../_node-chunks/chunk-MWQIBOUB.js";
168
+ import "../_node-chunks/chunk-NRP4FGRT.js";
169
+ import "../_node-chunks/chunk-NSNBFXVB.js";
170
170
  import {
171
171
  up2 as up
172
- } from "../_node-chunks/chunk-DXR3YGRT.js";
172
+ } from "../_node-chunks/chunk-OSIENBU6.js";
173
173
  import {
174
174
  invariant
175
- } from "../_node-chunks/chunk-JKPKEYSH.js";
175
+ } from "../_node-chunks/chunk-I36FPWMO.js";
176
176
  import {
177
177
  resolvePackageDir,
178
178
  safeResolveModule
179
- } from "../_node-chunks/chunk-XOAWAXUH.js";
180
- import "../_node-chunks/chunk-JHX35YKT.js";
179
+ } from "../_node-chunks/chunk-UYEX6LW6.js";
180
+ import "../_node-chunks/chunk-33T4HNF2.js";
181
181
  import {
182
182
  StorybookError
183
- } from "../_node-chunks/chunk-MNNESU33.js";
183
+ } from "../_node-chunks/chunk-F2AFT3P7.js";
184
184
  import {
185
185
  require_picocolors
186
- } from "../_node-chunks/chunk-O2CCUB5T.js";
186
+ } from "../_node-chunks/chunk-SHP6447T.js";
187
187
  import {
188
188
  storyIndexPathToAbsolutePath
189
- } from "../_node-chunks/chunk-UKLCYEZU.js";
190
- import "../_node-chunks/chunk-UGQFYYBC.js";
189
+ } from "../_node-chunks/chunk-I26RGEVQ.js";
190
+ import "../_node-chunks/chunk-QWZZX2HN.js";
191
191
  import {
192
192
  slash
193
- } from "../_node-chunks/chunk-ABCEMTIP.js";
193
+ } from "../_node-chunks/chunk-MKSEM5C2.js";
194
194
  import {
195
195
  glob
196
- } from "../_node-chunks/chunk-K2K6KTBC.js";
197
- import "../_node-chunks/chunk-IOXDHKFF.js";
196
+ } from "../_node-chunks/chunk-HCMHVV7N.js";
197
+ import "../_node-chunks/chunk-DY7F7B6V.js";
198
198
  import {
199
199
  __commonJS,
200
200
  __require,
201
201
  __toESM
202
- } from "../_node-chunks/chunk-MNQVVJZN.js";
202
+ } from "../_node-chunks/chunk-6JSZY5TJ.js";
203
203
 
204
204
  // ../../node_modules/@discoveryjs/json-ext/package.json
205
205
  var require_package = __commonJS({
@@ -1454,7 +1454,7 @@ async function buildOrThrow(callback) {
1454
1454
  let builderErrors = err.errors;
1455
1455
  throw builderErrors && builderErrors.find(
1456
1456
  (er) => er.text?.includes("No matching export")
1457
- ) ? new NoMatchingExportError(err) : err;
1457
+ ) ? new NoMatchingExportError({ error: err }) : err;
1458
1458
  }
1459
1459
  }
1460
1460
 
@@ -1538,7 +1538,7 @@ function watchStorySpecifiers(specifiers, options, onInvalidate) {
1538
1538
  // files can be e.g. '**/foo/*/*.js' so we just want the last bit,
1539
1539
  // because the directory could already be within the files part (e.g. './x/foo/bar')
1540
1540
  basename(specifier.files)
1541
- ), { glob: glob2 } = await import("../_node-chunks/dist-2DPC664Y.js");
1541
+ ), { glob: glob2 } = await import("../_node-chunks/dist-CFCU4PZG.js");
1542
1542
  (await glob2(slash(dirGlob), {
1543
1543
  ...commonGlobOptions(dirGlob),
1544
1544
  expandDirectories: !1
@@ -1849,7 +1849,7 @@ async function buildStaticStandalone(options) {
1849
1849
  let statsOption = options.statsJson;
1850
1850
  if (statsOption) {
1851
1851
  let target = statsOption === !0 ? options.outputDir : statsOption;
1852
- await outputStats(target, previewStats);
1852
+ await outputStats(target, previewStats || void 0);
1853
1853
  }
1854
1854
  }).catch((error) => {
1855
1855
  throw logger4.error("Failed to build the preview"), process.exitCode = 1, error;
@@ -2411,7 +2411,13 @@ function createTestProviderStore({
2411
2411
  getTestProviderStoreById: getTestProviderStoreById2,
2412
2412
  fullTestProviderStore: fullTestProviderStore2,
2413
2413
  universalTestProviderStore: universalTestProviderStore2,
2414
- useTestProviderStore: (selector) => useUniversalStore(universalTestProviderStore2, selector)[0]
2414
+ useTestProviderStore: (selector) => (
2415
+ // The hook also runs without a selector and then returns the whole state.
2416
+ useUniversalStore(
2417
+ universalTestProviderStore2,
2418
+ selector
2419
+ )[0]
2420
+ )
2415
2421
  } : {
2416
2422
  getTestProviderStoreById: getTestProviderStoreById2,
2417
2423
  fullTestProviderStore: fullTestProviderStore2,
@@ -3199,24 +3205,25 @@ var { FORKBOOK_VERSION_BASE = "https://forkbook.ljk.dev", CI } = process.env, up
3199
3205
  return result;
3200
3206
  };
3201
3207
  function createUpdateMessage(updateInfo, version) {
3202
- let updateMessage;
3208
+ let latestVersion = updateInfo.data?.latest?.version;
3209
+ if (!updateInfo.success || !latestVersion)
3210
+ return "";
3203
3211
  try {
3204
- let upgradeCommand = `npx @aussieljk/forkbook@${semver.prerelease(updateInfo.data.latest.version) ? "next" : "latest"} upgrade`;
3205
- updateMessage = updateInfo.success && semver.lt(version, updateInfo.data.latest.version) ? dedent3`
3206
- ${colors.orange(
3207
- `A new version (${import_picocolors5.default.bold(updateInfo.data.latest.version)}) is available!`
3208
- )}
3212
+ if (!semver.lt(version, latestVersion))
3213
+ return "";
3214
+ let upgradeCommand = `npx @aussieljk/forkbook@${semver.prerelease(latestVersion) ? "next" : "latest"} upgrade`;
3215
+ return dedent3`
3216
+ ${colors.orange(`A new version (${import_picocolors5.default.bold(latestVersion)}) is available!`)}
3209
3217
 
3210
- ${import_picocolors5.default.gray("Upgrade now:")} ${colors.green(upgradeCommand)}
3218
+ ${import_picocolors5.default.gray("Upgrade now:")} ${colors.green(upgradeCommand)}
3211
3219
 
3212
- ${import_picocolors5.default.gray("Read full changelog:")} ${import_picocolors5.default.gray(
3220
+ ${import_picocolors5.default.gray("Read full changelog:")} ${import_picocolors5.default.gray(
3213
3221
  import_picocolors5.default.underline("https://github.com/aussieljk/forkbook/commits/master")
3214
3222
  )}
3215
- ` : "";
3223
+ `;
3216
3224
  } catch {
3217
- updateMessage = "";
3225
+ return "";
3218
3226
  }
3219
- return updateMessage;
3220
3227
  }
3221
3228
 
3222
3229
  // src/core-server/utils/output-startup-information.ts
@@ -4017,7 +4024,7 @@ var makeAbsolute = (otherImport, normalizedPath, workingDir) => otherImport.star
4017
4024
  let cacheKey = this.getFindMatchingFilesCacheKey(specifier, workingDir, ignoreWarnings), cached = this.findMatchingFilesCache.get(cacheKey);
4018
4025
  if (cached)
4019
4026
  return cached;
4020
- let pathToSubIndex = {}, globCwd = slash(resolve9(workingDir, specifier.directory)), globPattern = specifier.files.startsWith("!") ? `./${specifier.files}` : specifier.files, { glob: glob2 } = await import("../_node-chunks/dist-2DPC664Y.js"), files = await glob2(globPattern, {
4027
+ let pathToSubIndex = {}, globCwd = slash(resolve9(workingDir, specifier.directory)), globPattern = specifier.files.startsWith("!") ? `./${specifier.files}` : specifier.files, { glob: glob2 } = await import("../_node-chunks/dist-CFCU4PZG.js"), files = await glob2(globPattern, {
4021
4028
  absolute: !0,
4022
4029
  expandDirectories: !1,
4023
4030
  cwd: globCwd,
@@ -4547,6 +4554,7 @@ var MockUniversalStore = class _MockUniversalStore extends UniversalStore {
4547
4554
  ), UniversalStore.isInternalConstructing = !1, typeof testUtils?.fn == "function" && (this.testUtils = testUtils, this.getState = testUtils.fn(this.getState), this.setState = testUtils.fn(this.setState), this.subscribe = testUtils.fn(this.subscribe), this.onStateChange = testUtils.fn(this.onStateChange), this.send = testUtils.fn(this.send));
4548
4555
  }
4549
4556
  /** Create a mock universal store. This is just an alias for the constructor */
4557
+ // `State = any`: as in `UniversalStore.create`, a store made without a state type takes any state.
4550
4558
  static create(options, testUtils) {
4551
4559
  return new _MockUniversalStore(options, testUtils);
4552
4560
  }
@@ -10,7 +10,7 @@ import {
10
10
  } from "../../_browser-chunks/chunk-MLBOOZL4.js";
11
11
  import {
12
12
  ArgsTable
13
- } from "../../_browser-chunks/chunk-QSYOMLRG.js";
13
+ } from "../../_browser-chunks/chunk-UH3XTEOQ.js";
14
14
  import "../../_browser-chunks/chunk-PJSMZ27A.js";
15
15
  import "../../_browser-chunks/chunk-OZZPSYQR.js";
16
16
  import "../../_browser-chunks/chunk-2WZWS7GJ.js";
@@ -42,7 +42,7 @@ import {
42
42
  import "../../_browser-chunks/chunk-CNED6RYH.js";
43
43
  import {
44
44
  registerService
45
- } from "../../_browser-chunks/chunk-3O4QUF3D.js";
45
+ } from "../../_browser-chunks/chunk-HZFHNYRC.js";
46
46
  import "../../_browser-chunks/chunk-4ATQOMJB.js";
47
47
  import {
48
48
  ADDON_ID as ADDON_ID4,
@@ -58,14 +58,14 @@ import {
58
58
  require_ansi_to_html,
59
59
  resolveViewport
60
60
  } from "../../_browser-chunks/chunk-FENFYI4X.js";
61
- import "../../_browser-chunks/chunk-IGD46SQI.js";
62
- import "../../_browser-chunks/chunk-2YWS25WY.js";
61
+ import "../../_browser-chunks/chunk-EW2M3URL.js";
62
+ import "../../_browser-chunks/chunk-PQRPDA4U.js";
63
63
  import "../../_browser-chunks/chunk-QC4HFS6K.js";
64
64
  import "../../_browser-chunks/chunk-E6QKKKLO.js";
65
65
  import {
66
66
  mergeServiceArgTypes
67
- } from "../../_browser-chunks/chunk-GRO2ZYEJ.js";
68
- import "../../_browser-chunks/chunk-2JDQ35OA.js";
67
+ } from "../../_browser-chunks/chunk-4BOJAE7P.js";
68
+ import "../../_browser-chunks/chunk-PU7D2WDP.js";
69
69
  import "../../_browser-chunks/chunk-IE4ULIOQ.js";
70
70
  import {
71
71
  isEqual
@@ -251,7 +251,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id}"]
251
251
  let style = document.createElement("style");
252
252
  style.setAttribute("data-fb-css", id), style.textContent = ".fb-zEgyLq-container{z-index:1;width:100%;height:41px;position:absolute;bottom:0;overflow:hidden;container-type:size}.fb-zEgyLq-bar{--highlight-bg-color:#e0f0ff;background:var(--fb-background-bar);border-top:1px solid var(--fb-app-border-color);font-size:var(--fb-size-s2);padding-inline:4px;animation:.3s fb-zEgyLq-slideIn,2s fb-zEgyLq-highlight;@container (width<=799px){flex-direction:row;justify-content:flex-end}}:where([data-fb-theme=dark]) .fb-zEgyLq-bar{--highlight-bg-color:#153b5b}.fb-zEgyLq-info{flex:99 0 auto;align-items:center;gap:6px;margin-inline:7px 10px;display:flex}.fb-zEgyLq-actions{color:var(--fb-text-muted-color);font-size:var(--fb-size-s2);flex:1 0 0;align-items:center;gap:2px;display:flex}.fb-zEgyLq-label{@container (width<=799px){text-indent:-9999px;line-height:0;&:after{content:attr(data-short-label);line-height:initial;text-indent:0;display:block}}}.fb-zEgyLq-modalInput{&::placeholder{color:var(--fb-color-mediumdark)}&:invalid:not(:placeholder-shown){box-shadow:var(--fb-color-negative) 0 0 0 1px inset}}@keyframes fb-zEgyLq-slideIn{0%{transform:translateY(40px)}to{transform:translateY(0)}}@keyframes fb-zEgyLq-highlight{0%{background:var(--highlight-bg-color)}}", document.head.appendChild(style);
253
253
  }
254
- var SaveStory_default = { highlight: "fb-zEgyLq-highlight", bar: "fb-zEgyLq-bar", info: "fb-zEgyLq-info", actions: "fb-zEgyLq-actions", container: "fb-zEgyLq-container", slideIn: "fb-zEgyLq-slideIn", modalInput: "fb-zEgyLq-modalInput", label: "fb-zEgyLq-label" };
254
+ var SaveStory_default = { info: "fb-zEgyLq-info", modalInput: "fb-zEgyLq-modalInput", slideIn: "fb-zEgyLq-slideIn", container: "fb-zEgyLq-container", actions: "fb-zEgyLq-actions", bar: "fb-zEgyLq-bar", highlight: "fb-zEgyLq-highlight", label: "fb-zEgyLq-label" };
255
255
 
256
256
  // src/controls/components/SaveStory.tsx
257
257
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1496,7 +1496,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id3}"
1496
1496
  let style = document.createElement("style");
1497
1497
  style.setAttribute("data-fb-css", id3), style.textContent = ".fb-IaeYrG-wrapper{margin:0;padding:10px 5px 20px}.fb-IaeYrG-action{white-space:pre;border-bottom:1px solid #0000;border-left:5px solid #0000;align-items:flex-start;padding:0;transition:all .1s;display:flex}.fb-IaeYrG-counter{background-color:rgb(from var(--fb-app-border-color) r g b / calc(alpha + .5));color:var(--fb-color-inverse-text);font-size:var(--fb-size-s1);font-weight:var(--fb-weight-bold);border-radius:20px;margin:2px 0;padding:1px 5px;line-height:1}.fb-IaeYrG-inspectorContainer{flex:1;padding:0 0 0 5px}", document.head.appendChild(style);
1498
1498
  }
1499
- var ActionLogger_default = { action: "fb-IaeYrG-action", inspectorContainer: "fb-IaeYrG-inspectorContainer", wrapper: "fb-IaeYrG-wrapper", counter: "fb-IaeYrG-counter" };
1499
+ var ActionLogger_default = { counter: "fb-IaeYrG-counter", action: "fb-IaeYrG-action", wrapper: "fb-IaeYrG-wrapper", inspectorContainer: "fb-IaeYrG-inspectorContainer" };
1500
1500
 
1501
1501
  // src/actions/components/ActionLogger/index.tsx
1502
1502
  import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
@@ -1624,7 +1624,8 @@ function stripAnsi(string2) {
1624
1624
 
1625
1625
  // src/component-testing/utils.ts
1626
1626
  function isInteractionsDisabled(parameters) {
1627
- return !!parameters?.[PARAM_KEY5]?.disable;
1627
+ let interactions = parameters?.[PARAM_KEY5];
1628
+ return typeof interactions == "object" && interactions !== null && "disable" in interactions && !!interactions.disable;
1628
1629
  }
1629
1630
  function isTestAssertionError(error2) {
1630
1631
  return isChaiError(error2) || isJestError(error2);
@@ -1791,7 +1792,7 @@ var colorsLight = {
1791
1792
  } catch {
1792
1793
  return String(value);
1793
1794
  }
1794
- }, interleave = (nodes, separator) => nodes.flatMap(
1795
+ }, isSerialized = (value, key) => value != null && Object.prototype.hasOwnProperty.call(value, key), interleave = (nodes, separator) => nodes.flatMap(
1795
1796
  (node, index) => index === nodes.length - 1 ? [node] : [node, React20.cloneElement(separator, { key: `sep${index}` })]
1796
1797
  ), Node2 = ({
1797
1798
  value,
@@ -1813,23 +1814,23 @@ var colorsLight = {
1813
1814
  return jsx11(NumberNode, { ...props, value });
1814
1815
  case typeof value == "boolean":
1815
1816
  return jsx11(BooleanNode, { ...props, value });
1816
- case Object.prototype.hasOwnProperty.call(value, "__date__"):
1817
+ case isSerialized(value, "__date__"):
1817
1818
  return jsx11(DateNode, { ...props, ...value.__date__ });
1818
- case Object.prototype.hasOwnProperty.call(value, "__error__"):
1819
+ case isSerialized(value, "__error__"):
1819
1820
  return jsx11(ErrorNode, { ...props, ...value.__error__ });
1820
- case Object.prototype.hasOwnProperty.call(value, "__regexp__"):
1821
+ case isSerialized(value, "__regexp__"):
1821
1822
  return jsx11(RegExpNode, { ...props, ...value.__regexp__ });
1822
- case Object.prototype.hasOwnProperty.call(value, "__function__"):
1823
+ case isSerialized(value, "__function__"):
1823
1824
  return jsx11(FunctionNode, { ...props, ...value.__function__ });
1824
- case Object.prototype.hasOwnProperty.call(value, "__symbol__"):
1825
+ case isSerialized(value, "__symbol__"):
1825
1826
  return jsx11(SymbolNode, { ...props, ...value.__symbol__ });
1826
- case Object.prototype.hasOwnProperty.call(value, "__element__"):
1827
+ case isSerialized(value, "__element__"):
1827
1828
  return jsx11(ElementNode, { ...props, ...value.__element__ });
1828
- case Object.prototype.hasOwnProperty.call(value, "__class__"):
1829
+ case isSerialized(value, "__class__"):
1829
1830
  return jsx11(ClassNode, { ...props, ...value.__class__ });
1830
- case Object.prototype.hasOwnProperty.call(value, "__callId__"):
1831
+ case isSerialized(value, "__callId__"):
1831
1832
  return jsx11(MethodCall, { call: callsById?.get(value.__callId__), callsById });
1832
- case Object.prototype.toString.call(value) === "[object Object]":
1833
+ case (typeof value == "object" && Object.prototype.toString.call(value) === "[object Object]"):
1833
1834
  return jsx11(
1834
1835
  ObjectNode,
1835
1836
  {
@@ -2012,11 +2013,11 @@ var colorsLight = {
2012
2013
  if (!call)
2013
2014
  return null;
2014
2015
  if (call.method === "step" && call.path?.length === 0)
2015
- return jsx11(StepNode, { label: call.args[0] });
2016
+ return jsx11(StepNode, { label: String(call.args[0]) });
2016
2017
  let path = call.path?.flatMap((elem, index) => {
2017
2018
  let callId = elem.__callId__;
2018
2019
  return [
2019
- callId ? jsx11(MethodCall, { call: callsById?.get(callId), callsById }, `elem${index}`) : jsx11("span", { children: elem }, `elem${index}`),
2020
+ callId ? jsx11(MethodCall, { call: callsById?.get(callId), callsById }, `elem${index}`) : jsx11("span", { children: String(elem) }, `elem${index}`),
2020
2021
  jsx11("wbr", {}, `wbr${index}`),
2021
2022
  jsx11("span", { children: "." }, `dot${index}`)
2022
2023
  ];
@@ -2058,7 +2059,13 @@ var getParams = (line, fromIndex = 0) => {
2058
2059
  } catch {
2059
2060
  return value;
2060
2061
  }
2061
- }, Received = ({ value, parsed }) => parsed ? jsx12(Node2, { showObjectInspector: !0, value, style: { color: "#D43900" } }) : jsx12("span", { className: MatcherResult_default.received, children: value }), Expected = ({ value, parsed }) => parsed ? typeof value == "string" && value.startsWith("called with") ? jsx12(Fragment7, { children: value }) : jsx12(Node2, { showObjectInspector: !0, value, style: { color: "#16B242" } }) : jsx12("span", { className: MatcherResult_default.expected, children: value }), MatcherResult = ({
2062
+ }, Received = (props) => props.parsed ? jsx12(Node2, { showObjectInspector: !0, value: props.value, style: { color: "#D43900" } }) : jsx12("span", { className: MatcherResult_default.received, children: props.value }), Expected = (props) => {
2063
+ if (props.parsed) {
2064
+ let { value } = props;
2065
+ return typeof value == "string" && value.startsWith("called with") ? jsx12(Fragment7, { children: value }) : jsx12(Node2, { showObjectInspector: !0, value, style: { color: "#16B242" } });
2066
+ }
2067
+ return jsx12("span", { className: MatcherResult_default.expected, children: props.value });
2068
+ }, MatcherResult = ({
2062
2069
  message,
2063
2070
  style = {}
2064
2071
  }) => {
@@ -2170,7 +2177,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id7}"
2170
2177
  let style = document.createElement("style");
2171
2178
  style.setAttribute("data-fb-css", id7), style.textContent = '.fb-PYwdvq-methodCall{font-family:var(--fb-font-mono);font-size:var(--fb-size-s1);overflow-wrap:break-word;inline-size:calc(100% - 40px)}.fb-PYwdvq-row{border-bottom:1px solid var(--fb-app-border-color);font-family:var(--fb-font-base);flex-direction:column;font-size:13px;list-style:none;display:flex;position:relative;&[data-status=error]{background-color:var(--fb-background-warning)}&[data-paused]:before{content:"";z-index:1;border-top:4.5px solid #0000;border-left:7px solid var(--fb-color-warning);border-bottom:4.5px solid #0000;position:absolute;top:-5px}&[data-paused]:after{content:"";z-index:1;border-top:1.5px solid var(--fb-color-warning);width:100%;position:absolute;top:-1px}}:where([data-fb-theme=dark]) .fb-PYwdvq-row[data-status=error]{background-color:rgb(from var(--fb-color-negative) r g b / calc(alpha - .93))}.fb-PYwdvq-rowHeader{display:flex;&:not([data-navigation-disabled]):hover{background:var(--fb-background-hoverable)}}.fb-PYwdvq-rowLabel{text-align:start;cursor:pointer;background:0 0;border:0;flex:1;grid-template-columns:15px 1fr;align-items:center;min-height:40px;margin:0;padding:8px 15px;display:grid;&:disabled,&[data-status=error]{cursor:default}&:focus-visible{box-shadow:inset 3px 0 0 0 var(--fb-color-secondary);background:var(--fb-background-hoverable);outline:0}&[data-status=error]:focus-visible{box-shadow:inset 3px 0 0 0 var(--fb-color-warning);background:0 0}&[data-status=waiting]>div{opacity:.5}}.fb-PYwdvq-rowActions{align-items:center;padding:6px;display:flex}.fb-PYwdvq-button{color:var(--fb-text-muted-color);margin:0 3px}.fb-PYwdvq-rowMessage{font-size:var(--fb-size-s1);color:var(--fb-color-default-text);padding:8px 10px 8px 36px;& pre{margin:0;padding:0}}.fb-PYwdvq-errorName{color:#0271b6}.fb-PYwdvq-errorMessage{color:#444}.fb-PYwdvq-errorExplainer{color:var(--fb-color-negative-text);font-size:var(--fb-size-s2);text-wrap:balance;max-width:500px}:where([data-fb-theme=dark]){& .fb-PYwdvq-errorName{color:#5ec1ff}& .fb-PYwdvq-errorMessage{color:#eee}& .fb-PYwdvq-errorExplainer{color:var(--fb-color-negative)}}', document.head.appendChild(style);
2172
2179
  }
2173
- var Interaction_default = { errorMessage: "fb-PYwdvq-errorMessage", methodCall: "fb-PYwdvq-methodCall", errorName: "fb-PYwdvq-errorName", rowMessage: "fb-PYwdvq-rowMessage", rowActions: "fb-PYwdvq-rowActions", errorExplainer: "fb-PYwdvq-errorExplainer", rowHeader: "fb-PYwdvq-rowHeader", button: "fb-PYwdvq-button", row: "fb-PYwdvq-row", rowLabel: "fb-PYwdvq-rowLabel" };
2180
+ var Interaction_default = { rowHeader: "fb-PYwdvq-rowHeader", row: "fb-PYwdvq-row", rowLabel: "fb-PYwdvq-rowLabel", button: "fb-PYwdvq-button", errorExplainer: "fb-PYwdvq-errorExplainer", rowActions: "fb-PYwdvq-rowActions", methodCall: "fb-PYwdvq-methodCall", rowMessage: "fb-PYwdvq-rowMessage", errorName: "fb-PYwdvq-errorName", errorMessage: "fb-PYwdvq-errorMessage" };
2174
2181
 
2175
2182
  // src/component-testing/components/Interaction.tsx
2176
2183
  import { jsx as jsx14, jsxs as jsxs10 } from "react/jsx-runtime";
@@ -2405,7 +2412,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id10}
2405
2412
  let style = document.createElement("style");
2406
2413
  style.setAttribute("data-fb-css", id10), style.textContent = ".fb-W9rv1G-wrapper{box-shadow:var(--fb-app-border-color) 0 -1px 0 0 inset;background:var(--fb-background-app);z-index:1;position:sticky;top:0}.fb-W9rv1G-controlsGroup{flex:1;align-items:center;gap:6px;display:flex}.fb-W9rv1G-iconButton{color:var(--fb-text-muted-color)}.fb-W9rv1G-rewindButton{margin-inline-start:3px;}.fb-W9rv1G-jumpToEndButton{color:var(--fb-text-muted-color);border-radius:4px;margin-inline:3px;padding:6px;line-height:12px;&:not(:disabled):hover,&:not(:disabled):focus-visible{color:var(--fb-color-secondary)}}.fb-W9rv1G-openInEditorButton{color:var(--fb-color-secondary);font-weight:var(--fb-weight-bold);text-align:right;white-space:nowrap;justify-content:flex-end;font-size:13px;line-height:24px}.fb-W9rv1G-location{color:var(--fb-text-muted-color);cursor:default;font-weight:var(--fb-weight-regular);text-align:right;white-space:nowrap;justify-content:flex-end;margin:0;font-size:13px}", document.head.appendChild(style);
2407
2414
  }
2408
- var Toolbar_default = { wrapper: "fb-W9rv1G-wrapper", controlsGroup: "fb-W9rv1G-controlsGroup", iconButton: "fb-W9rv1G-iconButton", rewindButton: "fb-W9rv1G-rewindButton fb-W9rv1G-iconButton", jumpToEndButton: "fb-W9rv1G-jumpToEndButton", openInEditorButton: "fb-W9rv1G-openInEditorButton", location: "fb-W9rv1G-location" };
2415
+ var Toolbar_default = { location: "fb-W9rv1G-location", jumpToEndButton: "fb-W9rv1G-jumpToEndButton", openInEditorButton: "fb-W9rv1G-openInEditorButton", wrapper: "fb-W9rv1G-wrapper", iconButton: "fb-W9rv1G-iconButton", controlsGroup: "fb-W9rv1G-controlsGroup", rewindButton: "fb-W9rv1G-rewindButton fb-W9rv1G-iconButton" };
2409
2416
 
2410
2417
  // src/component-testing/components/Toolbar.tsx
2411
2418
  import { jsx as jsx17, jsxs as jsxs12 } from "react/jsx-runtime";
@@ -2533,7 +2540,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id11}
2533
2540
  let style = document.createElement("style");
2534
2541
  style.setAttribute("data-fb-css", id11), style.textContent = ".fb-RpIDLa-container{background:var(--fb-background-content);height:100%}.fb-RpIDLa-section{position:relative}.fb-RpIDLa-heading{white-space:nowrap;clip:rect(0, 0, 0, 0);clip-path:inset(50%);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.fb-RpIDLa-list{margin:0;padding:0}.fb-RpIDLa-caughtException{border-bottom:1px solid var(--fb-app-border-color);background-color:var(--fb-background-warning);font-size:calc(var(--fb-size-s2) - 1px);padding:15px;line-height:19px}:where([data-fb-theme=dark]) .fb-RpIDLa-caughtException{background-color:rgb(from var(--fb-color-negative) r g b / calc(alpha - .93))}.fb-RpIDLa-caughtExceptionCode{font-size:calc(var(--fb-size-s1) - 1px);vertical-align:top;border:1px solid var(--fb-app-border-color);background:#0000000d;border-radius:3px;margin:0 1px;padding:3px;line-height:1}.fb-RpIDLa-caughtExceptionTitle{padding-bottom:4px;font-weight:700}.fb-RpIDLa-caughtExceptionDescription{margin:0;padding:0 0 20px}.fb-RpIDLa-caughtExceptionStack{font-size:calc(var(--fb-size-s1) - 1px);margin:0;padding:0;&:not(:last-child){padding-bottom:16px}}", document.head.appendChild(style);
2535
2542
  }
2536
- var InteractionsPanel_default = { container: "fb-RpIDLa-container", caughtExceptionCode: "fb-RpIDLa-caughtExceptionCode", section: "fb-RpIDLa-section", caughtExceptionTitle: "fb-RpIDLa-caughtExceptionTitle", caughtExceptionDescription: "fb-RpIDLa-caughtExceptionDescription", list: "fb-RpIDLa-list", caughtExceptionStack: "fb-RpIDLa-caughtExceptionStack", caughtException: "fb-RpIDLa-caughtException", heading: "fb-RpIDLa-heading" };
2543
+ var InteractionsPanel_default = { section: "fb-RpIDLa-section", caughtExceptionStack: "fb-RpIDLa-caughtExceptionStack", caughtExceptionTitle: "fb-RpIDLa-caughtExceptionTitle", caughtExceptionCode: "fb-RpIDLa-caughtExceptionCode", caughtExceptionDescription: "fb-RpIDLa-caughtExceptionDescription", list: "fb-RpIDLa-list", caughtException: "fb-RpIDLa-caughtException", heading: "fb-RpIDLa-heading", container: "fb-RpIDLa-container" };
2537
2544
 
2538
2545
  // src/component-testing/components/InteractionsPanel.tsx
2539
2546
  import { jsx as jsx18, jsxs as jsxs13 } from "react/jsx-runtime";
@@ -2727,10 +2734,10 @@ var INITIAL_CONTROL_STATES = {
2727
2734
  }), Panel = memo4(
2728
2735
  function({ refId, storyId, storyUrl }) {
2729
2736
  let { statusValue, testRunId } = experimental_useStatusStore((state2) => {
2730
- let storyStatus = refId ? void 0 : state2[storyId]?.[STATUS_TYPE_ID_COMPONENT_TEST];
2737
+ let storyStatus = refId ? void 0 : state2[storyId]?.[STATUS_TYPE_ID_COMPONENT_TEST], data2 = storyStatus?.data;
2731
2738
  return {
2732
2739
  statusValue: storyStatus?.value,
2733
- testRunId: storyStatus?.data?.testRunId
2740
+ testRunId: typeof data2 == "object" && data2 !== null && "testRunId" in data2 ? data2.testRunId : void 0
2734
2741
  };
2735
2742
  }), state = useStorybookState2(), api = useStorybookApi6(), importPath = api.getData(state.storyId, state.refId)?.importPath, canOpenInEditor = global.CONFIG_TYPE === "DEVELOPMENT" && !state.refId, [panelState, set] = useAddonState2(ADDON_ID6, {
2736
2743
  status: "rendering",
@@ -3199,7 +3206,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id12}
3199
3206
  let style = document.createElement("style");
3200
3207
  style.setAttribute("data-fb-css", id12), style.textContent = ".fb-bVlzdq-wrapper{height:28px;font-family:var(--fb-font-mono);font-size:calc(var(--fb-size-s1) - 1px);font-variant-numeric:tabular-nums;color:var(--fb-text-muted-color);white-space:nowrap;align-items:center;gap:1px;padding-inline:4px;display:inline-flex}.fb-bVlzdq-times{opacity:.7}.fb-bVlzdq-value,.fb-bVlzdq-input{height:22px;font:inherit;color:inherit;border-radius:4px;padding-inline:3px}.fb-bVlzdq-value{cursor:text;background:0 0;border:none;&:hover:not(:disabled),&:focus-visible{background:var(--fb-input-background)}&:disabled{cursor:default}}.fb-bVlzdq-input{min-width:0;color:var(--fb-input-color);text-align:center;background:var(--fb-input-background);box-shadow:var(--fb-input-border) 0 0 0 1px inset;appearance:textfield;border:none;&::-webkit-inner-spin-button,&::-webkit-outer-spin-button{appearance:none;margin:0}}", document.head.appendChild(style);
3201
3208
  }
3202
- var FrameSize_default = { value: "fb-bVlzdq-value", input: "fb-bVlzdq-input", wrapper: "fb-bVlzdq-wrapper", times: "fb-bVlzdq-times" };
3209
+ var FrameSize_default = { times: "fb-bVlzdq-times", value: "fb-bVlzdq-value", wrapper: "fb-bVlzdq-wrapper", input: "fb-bVlzdq-input" };
3203
3210
 
3204
3211
  // src/viewport/components/FrameSize.tsx
3205
3212
  import { jsx as jsx28, jsxs as jsxs16 } from "react/jsx-runtime";
@@ -3499,7 +3506,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id13}
3499
3506
  let style = document.createElement("style");
3500
3507
  style.setAttribute("data-fb-css", id13), style.textContent = ".fb-vBOFLW-dimensions{font-family:var(--fb-font-mono);font-size:calc(var(--fb-size-s1) - 1px);font-weight:var(--fb-weight-regular);color:var(--fb-text-muted-color);gap:2px;margin-left:20px;display:flex}.fb-vBOFLW-segments{box-shadow:var(--fb-app-border-color) 0 0 0 1px inset;border-radius:4px;align-items:center;gap:1px;padding:1px;display:inline-flex}.fb-vBOFLW-segment:where([data-pressed]){background:rgb(from var(--fb-bar-selected-color) r g b / calc(alpha - .93));color:var(--fb-bar-selected-color)}", document.head.appendChild(style);
3501
3508
  }
3502
- var Tool_default = { segment: "fb-vBOFLW-segment", dimensions: "fb-vBOFLW-dimensions", segments: "fb-vBOFLW-segments" };
3509
+ var Tool_default = { dimensions: "fb-vBOFLW-dimensions", segment: "fb-vBOFLW-segment", segments: "fb-vBOFLW-segments" };
3503
3510
 
3504
3511
  // src/viewport/components/ViewportSegments.tsx
3505
3512
  import { Fragment as Fragment10, jsx as jsx30, jsxs as jsxs17 } from "react/jsx-runtime";
@@ -1,22 +1,22 @@
1
- import CJS_COMPAT_NODE_URL_enqaafxxjgh from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_enqaafxxjgh from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_enqaafxxjgh from "node:module";
1
+ import CJS_COMPAT_NODE_URL_sfnpbdazcnb from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_sfnpbdazcnb from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_sfnpbdazcnb from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_enqaafxxjgh.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_enqaafxxjgh.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_enqaafxxjgh.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_sfnpbdazcnb.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_sfnpbdazcnb.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_sfnpbdazcnb.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  slash
14
- } from "../../_node-chunks/chunk-ABCEMTIP.js";
14
+ } from "../../_node-chunks/chunk-MKSEM5C2.js";
15
15
  import {
16
16
  glob
17
- } from "../../_node-chunks/chunk-K2K6KTBC.js";
18
- import "../../_node-chunks/chunk-IOXDHKFF.js";
19
- import "../../_node-chunks/chunk-MNQVVJZN.js";
17
+ } from "../../_node-chunks/chunk-HCMHVV7N.js";
18
+ import "../../_node-chunks/chunk-DY7F7B6V.js";
19
+ import "../../_node-chunks/chunk-6JSZY5TJ.js";
20
20
 
21
21
  // src/core-server/utils/remove-mdx-entries.ts
22
22
  import { isAbsolute, join, relative } from "node:path";