@aussieljk/forkbook 0.0.1-2 → 0.0.1-20
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.
- package/LICENSE +1 -1
- package/README.md +35 -53
- package/assets/addon-vitest/templates/vitest.config.4.template.ts +2 -2
- package/assets/browser/favicon-wrapper.svg +4 -4
- package/assets/browser/favicon.svg +1 -1
- package/assets/browser/inter-LICENSE.txt +92 -0
- package/assets/browser/inter-variable-italic.woff2 +0 -0
- package/assets/browser/inter-variable.woff2 +0 -0
- package/assets/browser/mirror-ball.png +0 -0
- package/assets/builder-vite/iframe.html +8 -24
- package/assets/create/rendererAssets/common/Configure.mdx +100 -100
- package/assets/create/rendererAssets/common/button.css +7 -7
- package/assets/create/rendererAssets/common/header.css +6 -6
- package/assets/create/rendererAssets/common/page.css +12 -12
- package/assets/create/templates/react-native/index.expo.js +4 -4
- package/assets/create/templates/react-native/index.js +5 -5
- package/assets/server/base-preview-body.html +32 -32
- package/assets/server/base-preview-head.html +86 -86
- package/assets/server/template.ejs +31 -26
- package/dist/_browser-chunks/{Color-PCLE2J36.js → Color-KALNKPOV.js} +8 -8
- package/dist/_browser-chunks/{DocsRenderer-JXND3PVQ.js → DocsRenderer-DKXSW2OY.js} +2 -2
- package/dist/_browser-chunks/WithTooltip-66AWY4VQ.js +199 -0
- package/dist/_browser-chunks/{chunk-RBCHTR7C.js → chunk-2ELGJRFZ.js} +1 -1
- package/dist/_browser-chunks/{chunk-PFRNG3UC.js → chunk-2WZWS7GJ.js} +5 -5
- package/dist/_browser-chunks/{chunk-52CW7FF7.js → chunk-3QNZOMD7.js} +8 -3
- package/dist/_browser-chunks/{chunk-LV5PIKV4.js → chunk-3QPZOXB7.js} +6 -8
- package/dist/_browser-chunks/{chunk-ODVJ3XZJ.js → chunk-4BOJAE7P.js} +14 -10
- package/dist/_browser-chunks/{chunk-2MEPHP35.js → chunk-4KIQBRD2.js} +1 -1
- package/dist/_browser-chunks/chunk-4ZGQ4YQ2.js +20 -0
- package/dist/_browser-chunks/chunk-6AKCRYVX.js +6 -0
- package/dist/_browser-chunks/{chunk-W5M6NPS3.js → chunk-6SL45YM3.js} +15 -18
- package/dist/_browser-chunks/{chunk-2SCZVUKW.js → chunk-AN2LJG5I.js} +1 -1
- package/dist/_browser-chunks/{chunk-P6PK47TQ.js → chunk-BLCZ3C5M.js} +48 -83
- package/dist/_browser-chunks/{chunk-RSPAQWVJ.js → chunk-BNP234B4.js} +1 -1
- package/dist/_browser-chunks/{chunk-JYVGARBG.js → chunk-CX37N6FG.js} +770 -720
- package/dist/_browser-chunks/{chunk-JSBKXXXF.js → chunk-DHTLVXAL.js} +38 -45
- package/dist/_browser-chunks/{chunk-GNZY6LOW.js → chunk-DISGPOF4.js} +54 -51
- package/dist/_browser-chunks/chunk-DNJ3OSLB.js +6021 -0
- package/dist/_browser-chunks/{chunk-6SXYJQST.js → chunk-E6QKKKLO.js} +21 -6
- package/dist/_browser-chunks/{chunk-FJGWSWL5.js → chunk-EBSOKHFG.js} +10 -4
- package/dist/_browser-chunks/{chunk-CFAOWGL7.js → chunk-ECMVTOVD.js} +1 -1
- package/dist/_browser-chunks/{chunk-CFWWCCZV.js → chunk-ENHFQXYS.js} +9 -7
- package/dist/_browser-chunks/{chunk-YTIT5NA5.js → chunk-EW2M3URL.js} +91 -84
- package/dist/_browser-chunks/{chunk-MFMDGWP6.js → chunk-FCULT3AE.js} +3 -3
- package/dist/_browser-chunks/{chunk-46Z7NGAS.js → chunk-HX443LKV.js} +1 -1
- package/dist/_browser-chunks/chunk-HZFHNYRC.js +53 -0
- package/dist/_browser-chunks/chunk-IFADVEQE.js +669 -0
- package/dist/_browser-chunks/{chunk-OQWFVDIN.js → chunk-KQJ4T6JL.js} +31 -25
- package/dist/_browser-chunks/{chunk-RNTIV5CE.js → chunk-LYYXDWR2.js} +9 -9
- package/dist/_browser-chunks/{chunk-V5M7Q4HT.js → chunk-MJIDTL3X.js} +4 -14
- package/dist/_browser-chunks/{chunk-V2G23FV7.js → chunk-N5WQGLI7.js} +1 -1
- package/dist/_browser-chunks/{chunk-EIYAKDGP.js → chunk-NA4ITZTK.js} +127 -105
- package/dist/_browser-chunks/{chunk-RMYQ3QN3.js → chunk-NK5SGJNG.js} +22 -17
- package/dist/_browser-chunks/chunk-NPNIBOPF.js +18 -0
- package/dist/_browser-chunks/{chunk-YEKO6BHJ.js → chunk-ONTSNQON.js} +1 -1
- package/dist/_browser-chunks/chunk-OOETBSA7.js +502 -0
- package/dist/_browser-chunks/{chunk-KQ7CRO2B.js → chunk-OWWV6YG7.js} +12 -12
- package/dist/_browser-chunks/chunk-PFYL47RM.js +45 -0
- package/dist/_browser-chunks/{chunk-OD6IBQCC.js → chunk-PQRPDA4U.js} +5 -5
- package/dist/_browser-chunks/{chunk-2JDQ35OA.js → chunk-PU7D2WDP.js} +0 -11
- package/dist/_browser-chunks/chunk-PZQRXPVR.js +21 -0
- package/dist/_browser-chunks/{chunk-5WMXI5GW.js → chunk-QFO2B4X2.js} +31 -28
- package/dist/_browser-chunks/{chunk-2JT76G3E.js → chunk-SBOQ4QPY.js} +15 -15
- package/dist/_browser-chunks/{chunk-C3D4HEFY.js → chunk-TRXLBGLS.js} +344 -166
- package/dist/_browser-chunks/{chunk-ZTQ5MEJ5.js → chunk-UMGDO2ZM.js} +3 -37
- package/dist/_browser-chunks/{chunk-5I7E4GMO.js → chunk-WY2LUGOH.js} +1 -1
- package/dist/_browser-chunks/chunk-XKTORVEQ.js +255 -0
- package/dist/_browser-chunks/chunk-XSVERCGB.js +91 -0
- package/dist/_browser-chunks/{chunk-FVSEPWWX.js → chunk-XTQCLWVH.js} +325 -1635
- package/dist/_browser-chunks/{chunk-MDOL7KML.js → chunk-YJO5BK52.js} +7 -3
- package/dist/_browser-chunks/{chunk-66OCZ54D.js → chunk-ZF37BMDS.js} +6 -2
- package/dist/_browser-chunks/{matchers-YLBYSYAF.js → matchers-2HVLNCVO.js} +4 -4
- package/dist/_browser-chunks/{react-dom-client-4OHE3QDV.js → react-dom-client-SLBUX3U3.js} +1 -1
- package/dist/_node-chunks/{attached-runtime-I2G4WLJI.js → attached-runtime-YD6HKC4B.js} +33 -31
- package/dist/_node-chunks/builder-manager-UNJGYVTD.js +1176 -0
- package/dist/_node-chunks/chunk-25A7444H.js +47 -0
- package/dist/_node-chunks/{chunk-U5W53R2J.js → chunk-2CNN3CRI.js} +506 -494
- package/dist/_node-chunks/{chunk-VLOXOXXE.js → chunk-2GA4VQCS.js} +9 -9
- package/dist/_node-chunks/{chunk-YZFWBA5L.js → chunk-2VJHCGAK.js} +368 -321
- package/dist/_node-chunks/{chunk-FK7KGTV7.js → chunk-33I6AQU7.js} +7 -7
- package/dist/_node-chunks/{chunk-6YKBRP72.js → chunk-3CQI3JH5.js} +6 -6
- package/dist/_node-chunks/{chunk-IK4FGZLR.js → chunk-3ZOSFS7G.js} +6 -6
- package/dist/_node-chunks/{chunk-DUR55DJJ.js → chunk-4BE3LRIQ.js} +86 -67
- package/dist/_node-chunks/{chunk-Q7QNUM5H.js → chunk-5LFJQCYN.js} +6 -6
- package/dist/_node-chunks/{chunk-3Y6AAY5H.js → chunk-65X3MXFT.js} +8 -8
- package/dist/_node-chunks/chunk-6FWJWEAG.js +52 -0
- package/dist/_node-chunks/{chunk-UVINFLGY.js → chunk-6NLQCV6A.js} +7 -7
- package/dist/_node-chunks/{chunk-KISMCCP5.js → chunk-6OQKMJJA.js} +474 -479
- package/dist/_node-chunks/{chunk-XLP2ZKXV.js → chunk-6RYD6ENB.js} +7 -7
- package/dist/_node-chunks/{chunk-V2DY426G.js → chunk-75TTPKEA.js} +283 -306
- package/dist/_node-chunks/{chunk-3W7F2B7P.js → chunk-7CWDZLIZ.js} +6 -6
- package/dist/_node-chunks/{chunk-FPZB5OI7.js → chunk-7M3TOE4F.js} +6 -6
- package/dist/_node-chunks/{chunk-DC7DKR5K.js → chunk-AGLGQNTY.js} +6 -6
- package/dist/_node-chunks/{chunk-NIBT7XDZ.js → chunk-AOYLA323.js} +9 -6
- package/dist/_node-chunks/{chunk-RRN2V55B.js → chunk-AP4HJ3I3.js} +7 -7
- package/dist/_node-chunks/chunk-AVHJZUTH.js +2613 -0
- package/dist/_node-chunks/{chunk-H32DYT6P.js → chunk-B2EEX2SZ.js} +6 -6
- package/dist/_node-chunks/chunk-CGVVOUBC.js +18 -0
- package/dist/_node-chunks/{chunk-B5J7Q7J4.js → chunk-CJDYU653.js} +6 -6
- package/dist/_node-chunks/{chunk-XHL2LVBM.js → chunk-CPDP5SQS.js} +14 -16
- package/dist/_node-chunks/{chunk-LO56I6E2.js → chunk-DAYTIH6Z.js} +10 -10
- package/dist/_node-chunks/{chunk-FW2HQUBQ.js → chunk-DO3CPQAZ.js} +6 -6
- package/dist/_node-chunks/chunk-DQEUNKLX.js +347 -0
- package/dist/_node-chunks/{chunk-BS2WMZMR.js → chunk-EFCBUWOB.js} +7 -7
- package/dist/_node-chunks/{chunk-OWNFOGTA.js → chunk-EG2WLN5V.js} +7 -7
- package/dist/_node-chunks/{chunk-LCK4ZQKG.js → chunk-EKYNX5NX.js} +9 -9
- package/dist/_node-chunks/{chunk-TNJIXE37.js → chunk-F762PHMI.js} +6 -6
- package/dist/_node-chunks/{chunk-ET7PWEO7.js → chunk-FC3V4KZO.js} +14 -13
- package/dist/_node-chunks/chunk-FXW52X4U.js +281 -0
- package/dist/_node-chunks/{chunk-TD5PLLQG.js → chunk-GEJBTN76.js} +62 -7
- package/dist/_node-chunks/chunk-GFEH7IBP.js +620 -0
- package/dist/_node-chunks/{chunk-TWI4GVH7.js → chunk-GWT4HQZU.js} +6 -6
- package/dist/_node-chunks/{chunk-4FEANXWU.js → chunk-HHM5X5RQ.js} +140 -118
- package/dist/_node-chunks/{chunk-MA24JW6C.js → chunk-IBLUURAJ.js} +25 -8
- package/dist/_node-chunks/{chunk-2BUPBPFB.js → chunk-IENHXJVB.js} +7 -7
- package/dist/_node-chunks/{chunk-EWOX7HPJ.js → chunk-IIGBIVK3.js} +6 -6
- package/dist/_node-chunks/{chunk-XGIUVY52.js → chunk-J6FGP2VM.js} +7 -7
- package/dist/_node-chunks/chunk-JOX7OETB.js +534 -0
- package/dist/_node-chunks/{chunk-RXNJDRGO.js → chunk-JR7ZCQ77.js} +21 -25
- package/dist/_node-chunks/{chunk-OISX4AGQ.js → chunk-JXZONVHW.js} +37 -31
- package/dist/_node-chunks/{chunk-34EO2PUT.js → chunk-KAALBGRE.js} +6 -6
- package/dist/_node-chunks/{chunk-SLWQNBGO.js → chunk-L52VGA36.js} +34 -949
- package/dist/_node-chunks/chunk-LAJIVWUF.js +497 -0
- package/dist/_node-chunks/{chunk-JGGFYIG5.js → chunk-LCNF6BLP.js} +7 -7
- package/dist/_node-chunks/chunk-LGHTKFSF.js +405 -0
- package/dist/_node-chunks/{chunk-WCULS5TP.js → chunk-LNGSV5UI.js} +7 -7
- package/dist/_node-chunks/{chunk-HMP2G23X.js → chunk-MC4BFUVH.js} +6 -6
- package/dist/_node-chunks/{chunk-SWO5CDYU.js → chunk-MWKSSYPG.js} +8 -8
- package/dist/_node-chunks/{chunk-2DSIDINN.js → chunk-N25CZ3RC.js} +650 -9
- package/dist/_node-chunks/{chunk-WZJF2OUH.js → chunk-N4LNGTYL.js} +7 -7
- package/dist/_node-chunks/{chunk-XI6B6P47.js → chunk-N5WU4BEY.js} +6 -6
- package/dist/_node-chunks/{chunk-TINO74G5.js → chunk-NRXCMSAI.js} +6 -6
- package/dist/_node-chunks/{chunk-E6YESGLX.js → chunk-NZWK62R5.js} +542 -1049
- package/dist/_node-chunks/{chunk-DHJFTB4K.js → chunk-OBPVOYJA.js} +7 -7
- package/dist/_node-chunks/{chunk-6KEHV53S.js → chunk-OMMQME7G.js} +33 -41
- package/dist/_node-chunks/chunk-PJRPETSU.js +62 -0
- package/dist/_node-chunks/{chunk-7GUDZVRQ.js → chunk-QDVIQG3B.js} +6 -6
- package/dist/_node-chunks/{chunk-OUW6R7C3.js → chunk-QEYWG5C7.js} +6 -6
- package/dist/_node-chunks/{chunk-GRBLDJCR.js → chunk-QQNRWEHL.js} +132 -149
- package/dist/_node-chunks/{chunk-EHUNOMDD.js → chunk-RAIWLNFA.js} +29849 -51588
- package/dist/_node-chunks/{chunk-JZOO7GGC.js → chunk-S7RGKBGT.js} +6 -6
- package/dist/_node-chunks/{chunk-GEFQN7K3.js → chunk-SFXFL4TP.js} +8 -8
- package/dist/_node-chunks/{chunk-JDXXX6LB.js → chunk-SPAHK37C.js} +6 -6
- package/dist/_node-chunks/chunk-SUQ4OM7Y.js +49 -0
- package/dist/_node-chunks/chunk-U54Q3F7E.js +20 -0
- package/dist/_node-chunks/{chunk-RWFIFGO5.js → chunk-UZH2V3WY.js} +8 -8
- package/dist/_node-chunks/{chunk-SVTBJ7Q3.js → chunk-VIMGLCNZ.js} +6 -6
- package/dist/_node-chunks/{chunk-BSKFCWQD.js → chunk-VNZF62KE.js} +7 -7
- package/dist/_node-chunks/{chunk-CCOTJ4FC.js → chunk-VPFU5CEP.js} +10 -10
- package/dist/_node-chunks/{chunk-RZMQ7S3L.js → chunk-VYCVBW5Q.js} +8 -8
- package/dist/_node-chunks/{chunk-ICPBH3E7.js → chunk-WDANLGYN.js} +7 -7
- package/dist/_node-chunks/{chunk-UMUBKI6E.js → chunk-WMZJ2WK4.js} +96 -177
- package/dist/_node-chunks/{chunk-LXBD4UL4.js → chunk-WTPHQ2NG.js} +8 -8
- package/dist/_node-chunks/chunk-WYCITRIE.js +11 -0
- package/dist/_node-chunks/chunk-WYRBOMQF.js +137 -0
- package/dist/_node-chunks/{chunk-ZWBCQ4MJ.js → chunk-WZBMPROH.js} +9 -17
- package/dist/_node-chunks/{chunk-CXRU72ET.js → chunk-X2GGQZIN.js} +6 -6
- package/dist/_node-chunks/chunk-X6OGIC2G.js +28 -0
- package/dist/_node-chunks/{chunk-42UWAGPW.js → chunk-XF7H5GZM.js} +52 -22
- package/dist/_node-chunks/{chunk-WNZ2UMFM.js → chunk-XUZB4FIX.js} +15 -9
- package/dist/_node-chunks/{chunk-3SDUYDXH.js → chunk-XVSUIOZA.js} +7 -7
- package/dist/_node-chunks/{chunk-TFEWM4E3.js → chunk-Z665R6AF.js} +75 -75
- package/dist/_node-chunks/{chunk-H4PPVMP5.js → chunk-ZEYZWDOS.js} +6 -6
- package/dist/_node-chunks/{chunk-UBOGWBEA.js → chunk-ZHRCL7PG.js} +10 -10
- package/dist/_node-chunks/chunk-ZLC4JSBV.js +25 -0
- package/dist/_node-chunks/{chunk-F3ZFKBHY.js → chunk-ZN6YOIB2.js} +8 -8
- package/dist/_node-chunks/{chunk-YCMRA6RX.js → chunk-ZX32M4O7.js} +7 -7
- package/dist/_node-chunks/{chunk-NDWKJ4CL.js → chunk-ZZ5XMIGW.js} +97 -111
- package/dist/_node-chunks/dist-HBFOS25E.js +16 -0
- package/dist/_node-chunks/dist-Q2XNFC24.js +27 -0
- package/dist/_node-chunks/{local-runtime-NTKIN2QT.js → local-runtime-4ETW6QTI.js} +19 -20
- package/dist/_node-chunks/{mdx-plugin-MWISDWDQ.js → mdx-plugin-OOYTYMVU.js} +2263 -130
- package/dist/_node-chunks/{monorepo-LIRFMQXE.js → monorepo-3AWUYNFD.js} +12 -12
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-CPDW4XTW.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-ORY3BAP5.js} +12 -12
- package/dist/_node-chunks/optimized-tests-DOKSUJAM.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-EKHIUAU2.js → pattern-copy-play-AY4DE7ME.js} +12 -12
- package/dist/_node-chunks/postinstallAddon-L46G75CD.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-BUN3HUCO.js → rehype-external-links-FGVC633L.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-PLADX223.js → rehype-slug-2AZLMC5G.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-GBHW6KIQ.js → relaxed-limits-QI3YR6CU.js} +12 -12
- package/dist/_node-chunks/{run-NL66VTNR.js → run-QJJ4FOF3.js} +281 -19
- package/dist/_node-chunks/{run-KDTIZNSY.js → run-WFJZYNZN.js} +18 -18
- package/dist/_node-chunks/{setup-MGC7BQO6.js → setup-V5CRAJMV.js} +9 -9
- package/dist/_node-chunks/{vitest.config.4.template-JH2THZFG.js → vitest.config.4.template-LECBBF3L.js} +9 -9
- package/dist/actions/decorator.js +18 -22
- package/dist/actions/index.d.ts +4 -4
- package/dist/actions/index.js +3 -2
- package/dist/addon-a11y/index.d.ts +3 -3
- package/dist/addon-a11y/index.js +3 -2
- package/dist/addon-a11y/manager.js +41 -38
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.d.ts +8 -2
- package/dist/addon-a11y/preview.js +3 -2
- package/dist/addon-comments/manager.js +353 -0
- package/dist/addon-comments/preset.js +52 -0
- package/dist/addon-comments/preview.js +101 -0
- package/dist/addon-docs/blocks.d.ts +123 -85
- package/dist/addon-docs/blocks.js +159 -85
- package/dist/addon-docs/index.d.ts +21 -21
- package/dist/addon-docs/index.js +3 -3
- package/dist/addon-docs/manager.js +6 -6
- package/dist/addon-docs/preset.js +12 -12
- package/dist/addon-docs/preview.d.ts +3 -1
- package/dist/addon-docs/preview.js +1 -1
- package/dist/addon-links/index.d.ts +2 -1
- package/dist/addon-links/index.js +5 -2
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-links/preview.js +5 -2
- package/dist/addon-links/react/index.js +4 -1
- package/dist/addon-mcp/preset.js +176 -57
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +70 -70
- package/dist/addon-ondevice-actions/index.js +5 -1
- package/dist/addon-ondevice-actions/register.js +5 -1
- package/dist/addon-ondevice-controls/index.js +1 -1
- package/dist/addon-ondevice-controls/register.js +1 -1
- package/dist/addon-pseudo-states/index.d.ts +1 -1
- package/dist/addon-pseudo-states/index.js +1 -1
- package/dist/addon-pseudo-states/manager.js +2 -2
- package/dist/addon-pseudo-states/preview.d.ts +1 -1
- package/dist/addon-pseudo-states/preview.js +1 -1
- package/dist/addon-themes/index.d.ts +7 -6
- package/dist/addon-themes/index.js +2 -2
- package/dist/addon-themes/manager.js +4 -4
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-themes/preview.js +2 -2
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +32 -23
- package/dist/addon-vitest/node/coverage-reporter.js +11 -11
- package/dist/addon-vitest/node/vitest.js +35 -35
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +22 -22
- package/dist/addon-vitest/vitest-plugin/global-setup.js +22 -22
- package/dist/addon-vitest/vitest-plugin/index.js +78 -68
- package/dist/addon-vitest/vitest-plugin/setup-file-with-project-annotations.js +3 -3
- package/dist/addon-vitest/vitest-plugin/setup-file.js +1 -1
- package/dist/babel/index.d.ts +241 -995
- package/dist/babel/index.js +13 -19
- package/dist/backgrounds/index.d.ts +1 -1
- package/dist/bin/core.js +118 -95
- package/dist/bin/dispatcher.js +18 -16
- package/dist/bin/loader.js +17 -16
- package/dist/builder-next/index.d.ts +59 -0
- package/dist/builder-next/index.js +201 -0
- package/dist/builder-vite/index.d.ts +8 -3
- package/dist/builder-vite/index.js +80 -25
- package/dist/builder-vite/preset.js +13 -13
- package/dist/channels/index.d.ts +3 -2
- package/dist/channels/index.js +97 -24
- package/dist/{chunk-Dr3R0DXk.d.ts → chunk-B-NVyPqN.d.ts} +2 -2
- package/dist/{chunk-DoIGKY33.d.ts → chunk-BLZXEm1K.d.ts} +6 -8
- package/dist/chunk-BcYKnZln.d.ts +10 -0
- package/dist/{chunk-DEVFdzxR.d.ts → chunk-BsO65uOb.d.ts} +4 -4
- package/dist/{chunk-BCoJQE-f.d.ts → chunk-BtKww7r1.d.ts} +6 -4
- package/dist/{chunk-Bpi2tz-6.d.ts → chunk-Bubi-WAs.d.ts} +20 -17
- package/dist/chunk-CDMZhRke.d.ts +30 -0
- package/dist/chunk-CFhJCPSB.d.ts +48 -0
- package/dist/{chunk-DtHByo32.d.ts → chunk-CFk6djyM.d.ts} +5 -5
- package/dist/{chunk-CMeX4WRe.d.ts → chunk-CT2iXaHz.d.ts} +1 -1
- package/dist/{chunk-pcFXCimE.d.ts → chunk-CmV7WZzR.d.ts} +124 -2
- package/dist/{chunk-B2t1tGRh.d.ts → chunk-D2CQlXaR.d.ts} +13 -15
- package/dist/{chunk-BGkgZp-H.d.ts → chunk-D3uSIa6H.d.ts} +9 -1
- package/dist/{chunk-DzuY9DXg.d.ts → chunk-DDd8BhTY.d.ts} +2 -2
- package/dist/{chunk-Dw1z1Pki.d.ts → chunk-DNCU78oW.d.ts} +160 -323
- package/dist/chunk-DVIvUVkS.d.ts +195 -0
- package/dist/{chunk-gCX81nOr.d.ts → chunk-DgzPaTw9.d.ts} +3 -3
- package/dist/{chunk-Kt1tW-D1.d.ts → chunk-Dm-iHJ-s.d.ts} +3 -3
- package/dist/{chunk-C-bavsOH.d.ts → chunk-Dw_4ad2Y.d.ts} +6 -6
- package/dist/{chunk-CwQKNaYL.d.ts → chunk-OksNJcvJ.d.ts} +2 -2
- package/dist/chunk-Susgfkap.d.ts +20 -0
- package/dist/{chunk-C2p5r3Vt.d.ts → chunk-ge-rSPy0.d.ts} +818 -701
- package/dist/{chunk-BXLImeLy.d.ts → chunk-r-Vjut9o.d.ts} +52 -11
- package/dist/cli/index.d.ts +14 -867
- package/dist/cli/index.js +47 -4962
- package/dist/cli/skills/content/index.d.ts +2 -2
- package/dist/cli/skills/content/index.js +2 -2
- package/dist/cli/tools/sdk/child-host.d.ts +1 -1
- package/dist/cli/tools/sdk/child-host.js +17 -17
- package/dist/cli/tools/sdk/index.d.ts +3 -3
- package/dist/cli/tools/sdk/index.js +18 -18
- package/dist/cli-commands/bin/index.js +7 -7
- package/dist/client-logger/index.d.ts +20 -21
- package/dist/client-logger/index.js +5 -2
- package/dist/common/index.d.ts +27 -39
- package/dist/common/index.js +35 -42
- package/dist/components/index.d.ts +86 -272
- package/dist/components/index.js +2759 -8547
- package/dist/core-events/index.d.ts +6 -4
- package/dist/core-events/index.js +5 -1
- package/dist/core-server/index.d.ts +58 -17
- package/dist/core-server/index.js +1500 -382
- package/dist/core-server/presets/common-manager.js +836 -1334
- package/dist/core-server/presets/common-override-preset.js +12 -10
- package/dist/core-server/presets/common-preset.js +100 -282
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf/csf-utils.d.ts +1 -1
- package/dist/csf/index.d.ts +6 -6
- package/dist/csf/index.js +86 -154
- package/dist/csf-tools/index.d.ts +66 -54
- package/dist/csf-tools/index.js +18 -16
- package/dist/docs-tools/index.d.ts +332 -16
- package/dist/docs-tools/index.js +3 -3
- package/dist/highlight/index.d.ts +1 -1
- package/dist/instrumenter/index.d.ts +5 -5
- package/dist/instrumenter/index.js +31 -19
- package/dist/manager/_manager-chunks/{globals-runtime-BvM-NY2g.js → globals-runtime-B4NRbNSS.js} +638 -1731
- package/dist/{preview/_chunks/runtime-CqHxptiK.js → manager/_manager-chunks/globals-runtime-BC43T1rL.js} +3413 -173
- package/dist/manager/_manager-chunks/{globals-runtime-sGpNlIJ1.js → globals-runtime-BDkYPr00.js} +715 -620
- package/dist/manager/_manager-chunks/{globals-runtime-eLPTIfX-.js → globals-runtime-BnQ7i5wq.js} +232 -370
- package/dist/manager/_manager-chunks/{globals-runtime-Rp_zjGnh.js → globals-runtime-BnWjPJUH.js} +2 -2
- package/dist/manager/_manager-chunks/globals-runtime-BtduS2C2.js +10601 -0
- package/dist/manager/_manager-chunks/{globals-runtime-C02fvgcd.js → globals-runtime-Bv2PBsx6.js} +411 -379
- package/dist/manager/_manager-chunks/globals-runtime-BzuYs3dZ.js +1971 -0
- package/dist/manager/_manager-chunks/globals-runtime-CBviMKtt.js +446 -0
- package/dist/manager/_manager-chunks/globals-runtime-CS41oTca.js +1808 -0
- package/dist/manager/_manager-chunks/globals-runtime-CoTrrHG3.js +1163 -0
- package/dist/manager/_manager-chunks/{globals-runtime-qKvCZHFY.js → globals-runtime-D6tkG2NO.js} +1033 -621
- package/dist/manager/_manager-chunks/{globals-runtime-BmphMP6z.js → globals-runtime-D9zzVzSP.js} +11 -11
- package/dist/manager/_manager-chunks/{globals-runtime-FC201B7s.js → globals-runtime-DCmvKMN5.js} +2 -1
- package/dist/manager/_manager-chunks/{globals-runtime-DpNYC-qi.js → globals-runtime-DafcXCKU.js} +1013 -778
- package/dist/manager/_manager-chunks/globals-runtime-DgO0hT2p.js +32 -0
- package/dist/manager/_manager-chunks/globals-runtime-Me9Bl-sx.js +156 -0
- package/dist/manager/_manager-chunks/globals-runtime-nQMRiA0J.js +19 -0
- package/dist/manager/_manager-chunks/globals-runtime-oRjPg2jY.js +8935 -0
- package/dist/manager/_manager-chunks/{runtime-EITvVbkG.js → runtime-BdGkqNEt.js} +1 -2
- package/dist/manager/_manager-chunks/runtime-BhfRBP4G.js +294 -0
- package/dist/manager/_manager-chunks/runtime-BuPcYKCO.js +737 -0
- package/dist/manager/_manager-chunks/{runtime-eDVAYF7N.js → runtime-CGaGp83p.js} +57 -76
- package/dist/manager/_manager-chunks/{runtime-BhkT2CXl.js → runtime-CXROgt6G.js} +220 -406
- package/dist/manager/_manager-chunks/{runtime-i-PDAHLR.js → runtime-Cn5PJT3-.js} +741 -698
- package/dist/manager/_manager-chunks/{runtime-cp5pazY2.js → runtime-DJlTd1qE.js} +1717 -1536
- package/dist/manager/_manager-chunks/{runtime-D0UOWx0U.js → runtime-DTUm5K9J.js} +232 -158
- package/dist/manager/_manager-chunks/{runtime-D94Vq3oR.js → runtime-Dc6lf19c.js} +8 -534
- package/dist/manager/_manager-chunks/runtime-DmpQacrn.js +553 -0
- package/dist/manager/_manager-chunks/runtime-P663lpsR.js +528 -0
- package/dist/manager/_manager-chunks/runtime-mjv_40eH.js +201 -0
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/globals.d.ts +12 -12
- package/dist/manager/globals.js +12 -12
- package/dist/manager/runtime.js +1 -1
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +537 -527
- package/dist/manager-errors.d.ts +1 -1
- package/dist/manager-errors.js +2 -2
- package/dist/mcp/index.d.ts +1 -1
- package/dist/mcp/index.js +9 -9
- package/dist/mocking-utils/index.d.ts +7 -5
- package/dist/mocking-utils/index.js +34 -34
- package/dist/mocking-utils/mocker-runtime.js +2 -2
- package/dist/next/index.d.ts +231 -0
- package/dist/next/index.js +398 -0
- package/dist/nextjs-vite/export-mocks/headers/index.js +3 -1
- package/dist/nextjs-vite/export-mocks/link/index.d.ts +4 -1
- package/dist/nextjs-vite/export-mocks/navigation/index.d.ts +9 -1
- package/dist/nextjs-vite/export-mocks/router/index.js +13 -7
- package/dist/nextjs-vite/index.d.ts +4 -4
- package/dist/nextjs-vite/index.js +10 -5
- package/dist/nextjs-vite/node/index.d.ts +2 -2
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/node-stand-ins/index.d.ts +68 -0
- package/dist/nextjs-vite/node-stand-ins/index.js +145 -0
- package/dist/nextjs-vite/preset.js +117 -15
- package/dist/nextjs-vite/preview.d.ts +2 -1
- package/dist/nextjs-vite/preview.js +1 -1
- package/dist/nextjs-vite/vite-plugin/index.d.ts +2 -2
- package/dist/nextjs-vite/vite-plugin/index.js +9 -9
- package/dist/nextjs-vite-plugin/index.d.ts +2 -3
- package/dist/nextjs-vite-plugin/index.js +24 -49
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/nextjs-vite-plugin/plugins/next-image/alias/next-image.js +2 -2
- package/dist/nextjs-vite-plugin/plugins/next-image/alias/next-legacy-image.js +2 -2
- package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/router/index.js +10 -6
- package/dist/node-logger/index.d.ts +83 -90
- package/dist/node-logger/index.js +11 -12
- package/dist/oxc-parser/index.js +15 -14
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/{manager/_manager-chunks/globals-runtime-8HkdnU2F.js → preview/_chunks/runtime-BYRCSYBN.js} +4440 -179
- package/dist/preview/_chunks/{runtime-CsV4HZPV.js → runtime-BiYuZt-X.js} +392 -173
- package/dist/preview/_chunks/{runtime-BZSnICCg.js → runtime-Bvh_rfnQ.js} +29 -64
- package/dist/preview/_chunks/{runtime-iXdo8CR8.js → runtime-C88AzFBv.js} +772 -418
- package/dist/preview/_chunks/{runtime-DrTjJkPY.js → runtime-Cpzxe5eK.js} +447 -151
- package/dist/preview/_chunks/{runtime-q3wt0e_N.js → runtime-D2MPrqbU.js} +2 -2
- package/dist/preview/_chunks/{runtime-BIzIdDbb.js → runtime-DS0s7U3c.js} +482 -334
- package/dist/preview/_chunks/{runtime-CxZK_Ln3.js → runtime-MYVHRAoo.js} +3 -3
- package/dist/preview/globals.d.ts +10 -10
- package/dist/preview/globals.js +10 -10
- package/dist/preview/runtime.js +1 -1
- package/dist/preview-api/index.d.ts +3 -3
- package/dist/preview-api/index.js +12 -10
- package/dist/preview-errors.d.ts +1 -1
- package/dist/preview-errors.js +2 -2
- package/dist/react/docgen/docgen-worker.js +11 -12
- package/dist/react/entry-preview-argtypes.js +1 -1
- package/dist/react/entry-preview-docs.js +1 -1
- package/dist/react/entry-preview.js +2 -1
- package/dist/react/index.d.ts +9 -11
- package/dist/react/index.js +8 -6
- package/dist/react/preset.js +13 -14
- package/dist/react/preview.d.ts +1 -1
- package/dist/react/preview.js +5 -4
- package/dist/react-native/bin/get-stories.js +12 -12
- package/dist/react-native/index.d.ts +48 -47
- package/dist/react-native/index.js +64 -249
- package/dist/react-native/metro/node.d.ts +3 -3
- package/dist/react-native/metro/node.js +10 -9
- package/dist/react-native/metro/{withStorybook.d.ts → withForkbook.d.ts} +18 -18
- package/dist/react-native/metro/{withStorybook.js → withForkbook.js} +27 -26
- package/dist/react-native/preview.js +4 -1
- package/dist/react-native/scripts/generate.d.ts +1 -1
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-native/stub.js +1 -1
- package/dist/react-native-theming/index.d.ts +2 -58
- package/dist/react-native-theming/index.js +63 -2338
- package/dist/react-native-ui/index.d.ts +14 -14
- package/dist/react-native-ui/index.js +8 -15
- package/dist/react-native-ui-common/index.d.ts +32 -12
- package/dist/react-native-ui-common/index.js +26 -31
- package/dist/react-vite/index.d.ts +2 -2
- package/dist/react-vite/node/index.d.ts +3 -3
- package/dist/react-vite/node/index.js +7 -7
- package/dist/react-vite/preset.d.ts +3 -1
- package/dist/react-vite/preset.js +16 -9
- package/dist/router/index.d.ts +80 -3
- package/dist/router/index.js +66 -12
- package/dist/server-errors.d.ts +1 -1
- package/dist/server-errors.js +9 -9
- package/dist/shared/open-service/index.d.ts +3 -3
- package/dist/shared/open-service/index.js +2 -2
- package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/shared/open-service/toolsets/docs/public.d.ts +28 -28
- package/dist/telemetry/index.d.ts +38 -274
- package/dist/telemetry/index.js +11 -68
- package/dist/test/index.d.ts +2 -2
- package/dist/test/index.js +765 -511
- package/dist/theming/create.d.ts +1 -1
- package/dist/theming/create.js +2 -1
- package/dist/theming/index.d.ts +6 -6
- package/dist/theming/index.js +41 -16
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +5 -5
- package/dist/viewport/index.d.ts +1 -1
- package/package.json +69 -69
- package/skills/setup/SKILL.md +14 -0
- package/skills/stories/SKILL.md +21 -0
- package/skills/write-story/SKILL.md +14 -0
- package/template/nextjs-vite/cli/js/Button.jsx +2 -2
- package/template/nextjs-vite/cli/js/Button.stories.js +6 -6
- package/template/nextjs-vite/cli/js/Configure.mdx +100 -100
- package/template/nextjs-vite/cli/js/Header.jsx +1 -1
- package/template/nextjs-vite/cli/js/Header.stories.js +2 -2
- package/template/nextjs-vite/cli/js/Page.jsx +3 -3
- package/template/nextjs-vite/cli/js/Page.stories.js +2 -2
- package/template/nextjs-vite/cli/ts/Button.stories.ts +6 -6
- package/template/nextjs-vite/cli/ts/Button.tsx +2 -2
- package/template/nextjs-vite/cli/ts/Configure.mdx +84 -84
- package/template/nextjs-vite/cli/ts/Header.stories.ts +2 -2
- package/template/nextjs-vite/cli/ts/Header.tsx +1 -1
- package/template/nextjs-vite/cli/ts/Page.stories.ts +2 -2
- package/template/nextjs-vite/cli/ts/Page.tsx +3 -3
- package/template/react/cli/js/Button.jsx +2 -2
- package/template/react/cli/js/Button.stories.js +6 -6
- package/template/react/cli/js/Header.jsx +1 -1
- package/template/react/cli/js/Header.stories.js +2 -2
- package/template/react/cli/js/Page.jsx +3 -3
- package/template/react/cli/js/Page.stories.js +2 -2
- package/template/react/cli/ts/Button.stories.ts +6 -6
- package/template/react/cli/ts/Button.tsx +2 -2
- package/template/react/cli/ts/Header.stories.ts +2 -2
- package/template/react/cli/ts/Header.tsx +1 -1
- package/template/react/cli/ts/Page.stories.ts +2 -2
- package/template/react/cli/ts/Page.tsx +3 -3
- package/template/react-vite/cli/js/Button.jsx +2 -2
- package/template/react-vite/cli/js/Button.stories.js +6 -6
- package/template/react-vite/cli/js/Header.jsx +1 -1
- package/template/react-vite/cli/js/Header.stories.js +2 -2
- package/template/react-vite/cli/js/Page.jsx +3 -3
- package/template/react-vite/cli/js/Page.stories.js +2 -2
- package/template/react-vite/cli/ts/Button.stories.ts +6 -6
- package/template/react-vite/cli/ts/Button.tsx +2 -2
- package/template/react-vite/cli/ts/Header.stories.ts +2 -2
- package/template/react-vite/cli/ts/Header.tsx +1 -1
- package/template/react-vite/cli/ts/Page.stories.ts +2 -2
- package/template/react-vite/cli/ts/Page.tsx +3 -3
- package/assets/browser/nunito-sans-bold-italic.woff2 +0 -0
- package/assets/browser/nunito-sans-bold.woff2 +0 -0
- package/assets/browser/nunito-sans-italic.woff2 +0 -0
- package/assets/browser/nunito-sans-regular.woff2 +0 -0
- package/dist/_browser-chunks/WithTooltip-XSQFTBMB.js +0 -1619
- package/dist/_browser-chunks/chunk-5P4QA6MY.js +0 -20
- package/dist/_browser-chunks/chunk-JMC7AIKT.js +0 -108
- package/dist/_node-chunks/builder-manager-VVHYQXCH.js +0 -1661
- package/dist/_node-chunks/chunk-2RU7BKEW.js +0 -23
- package/dist/_node-chunks/chunk-3BKIBF5S.js +0 -3008
- package/dist/_node-chunks/chunk-3T4ZSNPH.js +0 -662
- package/dist/_node-chunks/chunk-5DQFEZEA.js +0 -40
- package/dist/_node-chunks/chunk-6LMWA44H.js +0 -3837
- package/dist/_node-chunks/chunk-BXVYT7SB.js +0 -36
- package/dist/_node-chunks/chunk-CQKMLL5J.js +0 -33
- package/dist/_node-chunks/chunk-FY6UXW6G.js +0 -11
- package/dist/_node-chunks/chunk-IDEL2J23.js +0 -23
- package/dist/_node-chunks/chunk-JPAZLYJ3.js +0 -29
- package/dist/_node-chunks/chunk-MK2KYAI6.js +0 -5414
- package/dist/_node-chunks/chunk-NPO45IMH.js +0 -33
- package/dist/_node-chunks/chunk-QEQLR22M.js +0 -1877
- package/dist/_node-chunks/chunk-SIEXZVCR.js +0 -51
- package/dist/_node-chunks/chunk-TEQGGSP7.js +0 -33
- package/dist/_node-chunks/chunk-TFCEV2XX.js +0 -155
- package/dist/_node-chunks/chunk-W4OMYLSP.js +0 -1297
- package/dist/_node-chunks/chunk-WAXVSN3O.js +0 -18
- package/dist/_node-chunks/chunk-ZMAMXQKP.js +0 -4731
- package/dist/_node-chunks/dist-VTSTZKUB.js +0 -16
- package/dist/_node-chunks/globby-OEMHPBFY.js +0 -2884
- package/dist/_node-chunks/jiti-NFX6UU74.js +0 -3848
- package/dist/_node-chunks/lib-MDVARD7W.js +0 -366
- package/dist/_node-chunks/optimized-tests-HDOLR3EY.js +0 -22
- package/dist/_node-chunks/postinstallAddon-GYGMWDL6.js +0 -20
- package/dist/_node-chunks/session-id-KIIVOQLR.js +0 -23
- package/dist/chunk-BTVrWliM.d.ts +0 -115
- package/dist/chunk-BfBzpgct.d.ts +0 -916
- package/dist/chunk-BxWufQms.d.ts +0 -142
- package/dist/chunk-DaVb55-_.d.ts +0 -124
- package/dist/core-server/presets/common-manager.css +0 -170
- package/dist/manager/_manager-chunks/globals-runtime-BIKBO23x.js +0 -3389
- package/dist/manager/_manager-chunks/globals-runtime-DkAPXCvc.js +0 -9766
- package/dist/manager/_manager-chunks/globals-runtime-DtcOnYHR.js +0 -5357
- package/dist/manager/_manager-chunks/globals-runtime-ZHrQFa3-.js +0 -10463
- package/dist/manager/_manager-chunks/runtime-B1L9TH89.js +0 -452
- package/dist/manager/_manager-chunks/runtime-BK0zF7FN.js +0 -22
- package/dist/manager/_manager-chunks/runtime-Bly6WJLN.js +0 -998
- package/dist/manager/_manager-chunks/runtime-DMig8mT7.js +0 -77
- package/dist/preview/_chunks/runtime-BTPtVY1p.js +0 -1102
- package/dist/preview/_chunks/runtime-BwSxqk3t.js +0 -63
- package/dist/preview/_chunks/runtime-DZToXfvO.js +0 -9767
- package/dist/preview/_chunks/runtime-DuHdxMFA.js +0 -387
package/dist/manager/_manager-chunks/{globals-runtime-eLPTIfX-.js → globals-runtime-BnQ7i5wq.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as __toESM$1, n as __esmMin, r as __exportAll, t as __commonJSMin } from "./globals-runtime-BdGkqNEt.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { i as require_react } from "./globals-runtime-nQMRiA0J.js";
|
|
3
|
+
import { n as require_indent_string, r as require_min_indent } from "./globals-runtime-oRjPg2jY.js";
|
|
4
4
|
//#region ../../node_modules/ts-dedent/esm/index.js
|
|
5
5
|
function dedent(templ) {
|
|
6
6
|
var values = [];
|
|
@@ -1425,158 +1425,163 @@ function init_tiny_invariant() {
|
|
|
1425
1425
|
})))();
|
|
1426
1426
|
}
|
|
1427
1427
|
//#endregion
|
|
1428
|
-
//#region ../../node_modules/scheduler/cjs/scheduler.production.
|
|
1428
|
+
//#region ../../node_modules/scheduler/cjs/scheduler.production.js
|
|
1429
1429
|
/**
|
|
1430
1430
|
* @license React
|
|
1431
|
-
* scheduler.production.
|
|
1431
|
+
* scheduler.production.js
|
|
1432
1432
|
*
|
|
1433
|
-
* Copyright (c)
|
|
1433
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
1434
1434
|
*
|
|
1435
1435
|
* This source code is licensed under the MIT license found in the
|
|
1436
1436
|
* LICENSE file in the root directory of this source tree.
|
|
1437
1437
|
*/
|
|
1438
|
-
var
|
|
1439
|
-
function
|
|
1440
|
-
var
|
|
1441
|
-
|
|
1442
|
-
a: for (; 0 <
|
|
1443
|
-
var
|
|
1444
|
-
if (0 <
|
|
1438
|
+
var require_scheduler_production = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1439
|
+
function push(heap, node) {
|
|
1440
|
+
var index = heap.length;
|
|
1441
|
+
heap.push(node);
|
|
1442
|
+
a: for (; 0 < index;) {
|
|
1443
|
+
var parentIndex = index - 1 >>> 1, parent = heap[parentIndex];
|
|
1444
|
+
if (0 < compare(parent, node)) heap[parentIndex] = node, heap[index] = parent, index = parentIndex;
|
|
1445
1445
|
else break a;
|
|
1446
1446
|
}
|
|
1447
1447
|
}
|
|
1448
|
-
function
|
|
1449
|
-
return 0 ===
|
|
1448
|
+
function peek(heap) {
|
|
1449
|
+
return 0 === heap.length ? null : heap[0];
|
|
1450
1450
|
}
|
|
1451
|
-
function
|
|
1452
|
-
if (0 ===
|
|
1453
|
-
var
|
|
1454
|
-
if (
|
|
1455
|
-
|
|
1456
|
-
a: for (var
|
|
1457
|
-
var
|
|
1458
|
-
if (0 >
|
|
1459
|
-
else if (
|
|
1451
|
+
function pop(heap) {
|
|
1452
|
+
if (0 === heap.length) return null;
|
|
1453
|
+
var first = heap[0], last = heap.pop();
|
|
1454
|
+
if (last !== first) {
|
|
1455
|
+
heap[0] = last;
|
|
1456
|
+
a: for (var index = 0, length = heap.length, halfLength = length >>> 1; index < halfLength;) {
|
|
1457
|
+
var leftIndex = 2 * (index + 1) - 1, left = heap[leftIndex], rightIndex = leftIndex + 1, right = heap[rightIndex];
|
|
1458
|
+
if (0 > compare(left, last)) rightIndex < length && 0 > compare(right, left) ? (heap[index] = right, heap[rightIndex] = last, index = rightIndex) : (heap[index] = left, heap[leftIndex] = last, index = leftIndex);
|
|
1459
|
+
else if (rightIndex < length && 0 > compare(right, last)) heap[index] = right, heap[rightIndex] = last, index = rightIndex;
|
|
1460
1460
|
else break a;
|
|
1461
1461
|
}
|
|
1462
1462
|
}
|
|
1463
|
-
return
|
|
1463
|
+
return first;
|
|
1464
1464
|
}
|
|
1465
|
-
function
|
|
1466
|
-
var
|
|
1467
|
-
return 0 !==
|
|
1465
|
+
function compare(a, b) {
|
|
1466
|
+
var diff = a.sortIndex - b.sortIndex;
|
|
1467
|
+
return 0 !== diff ? diff : a.id - b.id;
|
|
1468
1468
|
}
|
|
1469
|
+
exports.unstable_now = void 0;
|
|
1469
1470
|
if ("object" === typeof performance && "function" === typeof performance.now) {
|
|
1470
|
-
var
|
|
1471
|
+
var localPerformance = performance;
|
|
1471
1472
|
exports.unstable_now = function() {
|
|
1472
|
-
return
|
|
1473
|
+
return localPerformance.now();
|
|
1473
1474
|
};
|
|
1474
1475
|
} else {
|
|
1475
|
-
var
|
|
1476
|
+
var localDate = Date, initialTime = localDate.now();
|
|
1476
1477
|
exports.unstable_now = function() {
|
|
1477
|
-
return
|
|
1478
|
+
return localDate.now() - initialTime;
|
|
1478
1479
|
};
|
|
1479
1480
|
}
|
|
1480
|
-
var
|
|
1481
|
-
var
|
|
1482
|
-
var
|
|
1483
|
-
var
|
|
1484
|
-
var
|
|
1485
|
-
var
|
|
1486
|
-
var
|
|
1487
|
-
var
|
|
1488
|
-
var
|
|
1489
|
-
var
|
|
1490
|
-
var
|
|
1491
|
-
"undefined" !== typeof
|
|
1492
|
-
function
|
|
1493
|
-
for (var
|
|
1494
|
-
if (null ===
|
|
1495
|
-
else if (
|
|
1481
|
+
var taskQueue = [];
|
|
1482
|
+
var timerQueue = [];
|
|
1483
|
+
var taskIdCounter = 1;
|
|
1484
|
+
var currentTask = null;
|
|
1485
|
+
var currentPriorityLevel = 3;
|
|
1486
|
+
var isPerformingWork = !1;
|
|
1487
|
+
var isHostCallbackScheduled = !1;
|
|
1488
|
+
var isHostTimeoutScheduled = !1;
|
|
1489
|
+
var needsPaint = !1;
|
|
1490
|
+
var localSetTimeout = "function" === typeof setTimeout ? setTimeout : null;
|
|
1491
|
+
var localClearTimeout = "function" === typeof clearTimeout ? clearTimeout : null;
|
|
1492
|
+
var localSetImmediate = "undefined" !== typeof setImmediate ? setImmediate : null;
|
|
1493
|
+
function advanceTimers(currentTime) {
|
|
1494
|
+
for (var timer = peek(timerQueue); null !== timer;) {
|
|
1495
|
+
if (null === timer.callback) pop(timerQueue);
|
|
1496
|
+
else if (timer.startTime <= currentTime) pop(timerQueue), timer.sortIndex = timer.expirationTime, push(taskQueue, timer);
|
|
1496
1497
|
else break;
|
|
1497
|
-
|
|
1498
|
+
timer = peek(timerQueue);
|
|
1498
1499
|
}
|
|
1499
1500
|
}
|
|
1500
|
-
function
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
if (!
|
|
1501
|
+
function handleTimeout(currentTime) {
|
|
1502
|
+
isHostTimeoutScheduled = !1;
|
|
1503
|
+
advanceTimers(currentTime);
|
|
1504
|
+
if (!isHostCallbackScheduled) if (null !== peek(taskQueue)) isHostCallbackScheduled = !0, isMessageLoopRunning || (isMessageLoopRunning = !0, schedulePerformWorkUntilDeadline());
|
|
1504
1505
|
else {
|
|
1505
|
-
var
|
|
1506
|
-
null !==
|
|
1507
|
-
}
|
|
1508
|
-
}
|
|
1509
|
-
function J(a, b) {
|
|
1510
|
-
A = !1;
|
|
1511
|
-
B && (B = !1, E(L), L = -1);
|
|
1512
|
-
z = !0;
|
|
1513
|
-
var c = y;
|
|
1514
|
-
try {
|
|
1515
|
-
G(b);
|
|
1516
|
-
for (v = h(r); null !== v && (!(v.expirationTime > b) || a && !M());) {
|
|
1517
|
-
var d = v.callback;
|
|
1518
|
-
if ("function" === typeof d) {
|
|
1519
|
-
v.callback = null;
|
|
1520
|
-
y = v.priorityLevel;
|
|
1521
|
-
var e = d(v.expirationTime <= b);
|
|
1522
|
-
b = exports.unstable_now();
|
|
1523
|
-
"function" === typeof e ? v.callback = e : v === h(r) && k(r);
|
|
1524
|
-
G(b);
|
|
1525
|
-
} else k(r);
|
|
1526
|
-
v = h(r);
|
|
1527
|
-
}
|
|
1528
|
-
if (null !== v) var w = !0;
|
|
1529
|
-
else {
|
|
1530
|
-
var m = h(t);
|
|
1531
|
-
null !== m && K(H, m.startTime - b);
|
|
1532
|
-
w = !1;
|
|
1533
|
-
}
|
|
1534
|
-
return w;
|
|
1535
|
-
} finally {
|
|
1536
|
-
v = null, y = c, z = !1;
|
|
1506
|
+
var firstTimer = peek(timerQueue);
|
|
1507
|
+
null !== firstTimer && requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
|
|
1537
1508
|
}
|
|
1538
1509
|
}
|
|
1539
|
-
var
|
|
1540
|
-
var
|
|
1541
|
-
var
|
|
1542
|
-
var
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
return exports.unstable_now() - Q < P ? !1 : !0;
|
|
1510
|
+
var isMessageLoopRunning = !1;
|
|
1511
|
+
var taskTimeoutID = -1;
|
|
1512
|
+
var frameInterval = 5;
|
|
1513
|
+
var startTime = -1;
|
|
1514
|
+
function shouldYieldToHost() {
|
|
1515
|
+
return needsPaint ? !0 : exports.unstable_now() - startTime < frameInterval ? !1 : !0;
|
|
1546
1516
|
}
|
|
1547
|
-
function
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1517
|
+
function performWorkUntilDeadline() {
|
|
1518
|
+
needsPaint = !1;
|
|
1519
|
+
if (isMessageLoopRunning) {
|
|
1520
|
+
var currentTime = exports.unstable_now();
|
|
1521
|
+
startTime = currentTime;
|
|
1522
|
+
var hasMoreWork = !0;
|
|
1552
1523
|
try {
|
|
1553
|
-
|
|
1524
|
+
a: {
|
|
1525
|
+
isHostCallbackScheduled = !1;
|
|
1526
|
+
isHostTimeoutScheduled && (isHostTimeoutScheduled = !1, localClearTimeout(taskTimeoutID), taskTimeoutID = -1);
|
|
1527
|
+
isPerformingWork = !0;
|
|
1528
|
+
var previousPriorityLevel = currentPriorityLevel;
|
|
1529
|
+
try {
|
|
1530
|
+
b: {
|
|
1531
|
+
advanceTimers(currentTime);
|
|
1532
|
+
for (currentTask = peek(taskQueue); null !== currentTask && !(currentTask.expirationTime > currentTime && shouldYieldToHost());) {
|
|
1533
|
+
var callback = currentTask.callback;
|
|
1534
|
+
if ("function" === typeof callback) {
|
|
1535
|
+
currentTask.callback = null;
|
|
1536
|
+
currentPriorityLevel = currentTask.priorityLevel;
|
|
1537
|
+
var continuationCallback = callback(currentTask.expirationTime <= currentTime);
|
|
1538
|
+
currentTime = exports.unstable_now();
|
|
1539
|
+
if ("function" === typeof continuationCallback) {
|
|
1540
|
+
currentTask.callback = continuationCallback;
|
|
1541
|
+
advanceTimers(currentTime);
|
|
1542
|
+
hasMoreWork = !0;
|
|
1543
|
+
break b;
|
|
1544
|
+
}
|
|
1545
|
+
currentTask === peek(taskQueue) && pop(taskQueue);
|
|
1546
|
+
advanceTimers(currentTime);
|
|
1547
|
+
} else pop(taskQueue);
|
|
1548
|
+
currentTask = peek(taskQueue);
|
|
1549
|
+
}
|
|
1550
|
+
if (null !== currentTask) hasMoreWork = !0;
|
|
1551
|
+
else {
|
|
1552
|
+
var firstTimer = peek(timerQueue);
|
|
1553
|
+
null !== firstTimer && requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
|
|
1554
|
+
hasMoreWork = !1;
|
|
1555
|
+
}
|
|
1556
|
+
}
|
|
1557
|
+
break a;
|
|
1558
|
+
} finally {
|
|
1559
|
+
currentTask = null, currentPriorityLevel = previousPriorityLevel, isPerformingWork = !1;
|
|
1560
|
+
}
|
|
1561
|
+
hasMoreWork = void 0;
|
|
1562
|
+
}
|
|
1554
1563
|
} finally {
|
|
1555
|
-
|
|
1564
|
+
hasMoreWork ? schedulePerformWorkUntilDeadline() : isMessageLoopRunning = !1;
|
|
1556
1565
|
}
|
|
1557
|
-
}
|
|
1566
|
+
}
|
|
1558
1567
|
}
|
|
1559
|
-
var
|
|
1560
|
-
if ("function" === typeof
|
|
1561
|
-
|
|
1568
|
+
var schedulePerformWorkUntilDeadline;
|
|
1569
|
+
if ("function" === typeof localSetImmediate) schedulePerformWorkUntilDeadline = function() {
|
|
1570
|
+
localSetImmediate(performWorkUntilDeadline);
|
|
1562
1571
|
};
|
|
1563
1572
|
else if ("undefined" !== typeof MessageChannel) {
|
|
1564
|
-
var
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1573
|
+
var channel = new MessageChannel(), port = channel.port2;
|
|
1574
|
+
channel.port1.onmessage = performWorkUntilDeadline;
|
|
1575
|
+
schedulePerformWorkUntilDeadline = function() {
|
|
1576
|
+
port.postMessage(null);
|
|
1568
1577
|
};
|
|
1569
|
-
} else
|
|
1570
|
-
|
|
1578
|
+
} else schedulePerformWorkUntilDeadline = function() {
|
|
1579
|
+
localSetTimeout(performWorkUntilDeadline, 0);
|
|
1571
1580
|
};
|
|
1572
|
-
function
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
function K(a, b) {
|
|
1577
|
-
L = D(function() {
|
|
1578
|
-
a(exports.unstable_now());
|
|
1579
|
-
}, b);
|
|
1581
|
+
function requestHostTimeout(callback, ms) {
|
|
1582
|
+
taskTimeoutID = localSetTimeout(function() {
|
|
1583
|
+
callback(exports.unstable_now());
|
|
1584
|
+
}, ms);
|
|
1580
1585
|
}
|
|
1581
1586
|
exports.unstable_IdlePriority = 5;
|
|
1582
1587
|
exports.unstable_ImmediatePriority = 1;
|
|
@@ -1584,97 +1589,92 @@ var require_scheduler_production_min = /* @__PURE__ */ __commonJSMin(((exports)
|
|
|
1584
1589
|
exports.unstable_NormalPriority = 3;
|
|
1585
1590
|
exports.unstable_Profiling = null;
|
|
1586
1591
|
exports.unstable_UserBlockingPriority = 2;
|
|
1587
|
-
exports.unstable_cancelCallback = function(
|
|
1588
|
-
|
|
1592
|
+
exports.unstable_cancelCallback = function(task) {
|
|
1593
|
+
task.callback = null;
|
|
1589
1594
|
};
|
|
1590
|
-
exports.
|
|
1591
|
-
|
|
1592
|
-
};
|
|
1593
|
-
exports.unstable_forceFrameRate = function(a) {
|
|
1594
|
-
0 > a || 125 < a ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : P = 0 < a ? Math.floor(1e3 / a) : 5;
|
|
1595
|
+
exports.unstable_forceFrameRate = function(fps) {
|
|
1596
|
+
0 > fps || 125 < fps ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : frameInterval = 0 < fps ? Math.floor(1e3 / fps) : 5;
|
|
1595
1597
|
};
|
|
1596
1598
|
exports.unstable_getCurrentPriorityLevel = function() {
|
|
1597
|
-
return
|
|
1598
|
-
};
|
|
1599
|
-
exports.unstable_getFirstCallbackNode = function() {
|
|
1600
|
-
return h(r);
|
|
1599
|
+
return currentPriorityLevel;
|
|
1601
1600
|
};
|
|
1602
|
-
exports.unstable_next = function(
|
|
1603
|
-
switch (
|
|
1601
|
+
exports.unstable_next = function(eventHandler) {
|
|
1602
|
+
switch (currentPriorityLevel) {
|
|
1604
1603
|
case 1:
|
|
1605
1604
|
case 2:
|
|
1606
1605
|
case 3:
|
|
1607
|
-
var
|
|
1606
|
+
var priorityLevel = 3;
|
|
1608
1607
|
break;
|
|
1609
|
-
default:
|
|
1608
|
+
default: priorityLevel = currentPriorityLevel;
|
|
1610
1609
|
}
|
|
1611
|
-
var
|
|
1612
|
-
|
|
1610
|
+
var previousPriorityLevel = currentPriorityLevel;
|
|
1611
|
+
currentPriorityLevel = priorityLevel;
|
|
1613
1612
|
try {
|
|
1614
|
-
return
|
|
1613
|
+
return eventHandler();
|
|
1615
1614
|
} finally {
|
|
1616
|
-
|
|
1615
|
+
currentPriorityLevel = previousPriorityLevel;
|
|
1617
1616
|
}
|
|
1618
1617
|
};
|
|
1619
|
-
exports.
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1618
|
+
exports.unstable_requestPaint = function() {
|
|
1619
|
+
needsPaint = !0;
|
|
1620
|
+
};
|
|
1621
|
+
exports.unstable_runWithPriority = function(priorityLevel, eventHandler) {
|
|
1622
|
+
switch (priorityLevel) {
|
|
1623
1623
|
case 1:
|
|
1624
1624
|
case 2:
|
|
1625
1625
|
case 3:
|
|
1626
1626
|
case 4:
|
|
1627
1627
|
case 5: break;
|
|
1628
|
-
default:
|
|
1628
|
+
default: priorityLevel = 3;
|
|
1629
1629
|
}
|
|
1630
|
-
var
|
|
1631
|
-
|
|
1630
|
+
var previousPriorityLevel = currentPriorityLevel;
|
|
1631
|
+
currentPriorityLevel = priorityLevel;
|
|
1632
1632
|
try {
|
|
1633
|
-
return
|
|
1633
|
+
return eventHandler();
|
|
1634
1634
|
} finally {
|
|
1635
|
-
|
|
1635
|
+
currentPriorityLevel = previousPriorityLevel;
|
|
1636
1636
|
}
|
|
1637
1637
|
};
|
|
1638
|
-
exports.unstable_scheduleCallback = function(
|
|
1639
|
-
var
|
|
1640
|
-
"object" === typeof
|
|
1641
|
-
switch (
|
|
1638
|
+
exports.unstable_scheduleCallback = function(priorityLevel, callback, options) {
|
|
1639
|
+
var currentTime = exports.unstable_now();
|
|
1640
|
+
"object" === typeof options && null !== options ? (options = options.delay, options = "number" === typeof options && 0 < options ? currentTime + options : currentTime) : options = currentTime;
|
|
1641
|
+
switch (priorityLevel) {
|
|
1642
1642
|
case 1:
|
|
1643
|
-
var
|
|
1643
|
+
var timeout = -1;
|
|
1644
1644
|
break;
|
|
1645
1645
|
case 2:
|
|
1646
|
-
|
|
1646
|
+
timeout = 250;
|
|
1647
1647
|
break;
|
|
1648
1648
|
case 5:
|
|
1649
|
-
|
|
1649
|
+
timeout = 1073741823;
|
|
1650
1650
|
break;
|
|
1651
1651
|
case 4:
|
|
1652
|
-
|
|
1652
|
+
timeout = 1e4;
|
|
1653
1653
|
break;
|
|
1654
|
-
default:
|
|
1654
|
+
default: timeout = 5e3;
|
|
1655
1655
|
}
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
id:
|
|
1659
|
-
callback
|
|
1660
|
-
priorityLevel
|
|
1661
|
-
startTime:
|
|
1662
|
-
expirationTime:
|
|
1656
|
+
timeout = options + timeout;
|
|
1657
|
+
priorityLevel = {
|
|
1658
|
+
id: taskIdCounter++,
|
|
1659
|
+
callback,
|
|
1660
|
+
priorityLevel,
|
|
1661
|
+
startTime: options,
|
|
1662
|
+
expirationTime: timeout,
|
|
1663
1663
|
sortIndex: -1
|
|
1664
1664
|
};
|
|
1665
|
-
|
|
1666
|
-
return
|
|
1665
|
+
options > currentTime ? (priorityLevel.sortIndex = options, push(timerQueue, priorityLevel), null === peek(taskQueue) && priorityLevel === peek(timerQueue) && (isHostTimeoutScheduled ? (localClearTimeout(taskTimeoutID), taskTimeoutID = -1) : isHostTimeoutScheduled = !0, requestHostTimeout(handleTimeout, options - currentTime))) : (priorityLevel.sortIndex = timeout, push(taskQueue, priorityLevel), isHostCallbackScheduled || isPerformingWork || (isHostCallbackScheduled = !0, isMessageLoopRunning || (isMessageLoopRunning = !0, schedulePerformWorkUntilDeadline())));
|
|
1666
|
+
return priorityLevel;
|
|
1667
1667
|
};
|
|
1668
|
-
exports.unstable_shouldYield =
|
|
1669
|
-
exports.unstable_wrapCallback = function(
|
|
1670
|
-
var
|
|
1668
|
+
exports.unstable_shouldYield = shouldYieldToHost;
|
|
1669
|
+
exports.unstable_wrapCallback = function(callback) {
|
|
1670
|
+
var parentPriorityLevel = currentPriorityLevel;
|
|
1671
1671
|
return function() {
|
|
1672
|
-
var
|
|
1673
|
-
|
|
1672
|
+
var previousPriorityLevel = currentPriorityLevel;
|
|
1673
|
+
currentPriorityLevel = parentPriorityLevel;
|
|
1674
1674
|
try {
|
|
1675
|
-
return
|
|
1675
|
+
return callback.apply(this, arguments);
|
|
1676
1676
|
} finally {
|
|
1677
|
-
|
|
1677
|
+
currentPriorityLevel = previousPriorityLevel;
|
|
1678
1678
|
}
|
|
1679
1679
|
};
|
|
1680
1680
|
};
|
|
@@ -1682,7 +1682,7 @@ var require_scheduler_production_min = /* @__PURE__ */ __commonJSMin(((exports)
|
|
|
1682
1682
|
//#endregion
|
|
1683
1683
|
//#region ../../node_modules/scheduler/index.js
|
|
1684
1684
|
var require_scheduler = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1685
|
-
module.exports =
|
|
1685
|
+
module.exports = require_scheduler_production();
|
|
1686
1686
|
}));
|
|
1687
1687
|
//#endregion
|
|
1688
1688
|
//#region ../../node_modules/sugar-high/lib/shared.js
|
|
@@ -7454,161 +7454,19 @@ var require_store2 = /* @__PURE__ */ __commonJSMin(((exports, module, this$1) =>
|
|
|
7454
7454
|
})(this$1, this$1 && this$1.define);
|
|
7455
7455
|
}));
|
|
7456
7456
|
//#endregion
|
|
7457
|
-
//#region ../../node_modules/use-
|
|
7458
|
-
/**
|
|
7459
|
-
* @license React
|
|
7460
|
-
* use-sync-external-store-shim.production.js
|
|
7461
|
-
*
|
|
7462
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7463
|
-
*
|
|
7464
|
-
* This source code is licensed under the MIT license found in the
|
|
7465
|
-
* LICENSE file in the root directory of this source tree.
|
|
7466
|
-
*/
|
|
7467
|
-
var require_use_sync_external_store_shim_production = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
7468
|
-
var React = require_react();
|
|
7469
|
-
function is(x, y) {
|
|
7470
|
-
return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
|
|
7471
|
-
}
|
|
7472
|
-
var objectIs = "function" === typeof Object.is ? Object.is : is;
|
|
7473
|
-
var useState = React.useState;
|
|
7474
|
-
var useEffect = React.useEffect;
|
|
7475
|
-
var useLayoutEffect = React.useLayoutEffect;
|
|
7476
|
-
var useDebugValue = React.useDebugValue;
|
|
7477
|
-
function useSyncExternalStore$2(subscribe, getSnapshot) {
|
|
7478
|
-
var value = getSnapshot(), _useState = useState({ inst: {
|
|
7479
|
-
value,
|
|
7480
|
-
getSnapshot
|
|
7481
|
-
} }), inst = _useState[0].inst, forceUpdate = _useState[1];
|
|
7482
|
-
useLayoutEffect(function() {
|
|
7483
|
-
inst.value = value;
|
|
7484
|
-
inst.getSnapshot = getSnapshot;
|
|
7485
|
-
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
7486
|
-
}, [
|
|
7487
|
-
subscribe,
|
|
7488
|
-
value,
|
|
7489
|
-
getSnapshot
|
|
7490
|
-
]);
|
|
7491
|
-
useEffect(function() {
|
|
7492
|
-
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
7493
|
-
return subscribe(function() {
|
|
7494
|
-
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
7495
|
-
});
|
|
7496
|
-
}, [subscribe]);
|
|
7497
|
-
useDebugValue(value);
|
|
7498
|
-
return value;
|
|
7499
|
-
}
|
|
7500
|
-
function checkIfSnapshotChanged(inst) {
|
|
7501
|
-
var latestGetSnapshot = inst.getSnapshot;
|
|
7502
|
-
inst = inst.value;
|
|
7503
|
-
try {
|
|
7504
|
-
var nextValue = latestGetSnapshot();
|
|
7505
|
-
return !objectIs(inst, nextValue);
|
|
7506
|
-
} catch (error) {
|
|
7507
|
-
return !0;
|
|
7508
|
-
}
|
|
7509
|
-
}
|
|
7510
|
-
function useSyncExternalStore$1(subscribe, getSnapshot) {
|
|
7511
|
-
return getSnapshot();
|
|
7512
|
-
}
|
|
7513
|
-
var shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
|
|
7514
|
-
exports.useSyncExternalStore = void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;
|
|
7515
|
-
}));
|
|
7516
|
-
//#endregion
|
|
7517
|
-
//#region ../../node_modules/use-sync-external-store/shim/index.js
|
|
7518
|
-
var require_shim = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7519
|
-
module.exports = require_use_sync_external_store_shim_production();
|
|
7520
|
-
}));
|
|
7521
|
-
//#endregion
|
|
7522
|
-
//#region ../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
|
|
7523
|
-
/**
|
|
7524
|
-
* @license React
|
|
7525
|
-
* use-sync-external-store-shim/with-selector.production.js
|
|
7526
|
-
*
|
|
7527
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7528
|
-
*
|
|
7529
|
-
* This source code is licensed under the MIT license found in the
|
|
7530
|
-
* LICENSE file in the root directory of this source tree.
|
|
7531
|
-
*/
|
|
7532
|
-
var require_with_selector_production = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
7533
|
-
var React = require_react();
|
|
7534
|
-
var shim = require_shim();
|
|
7535
|
-
function is(x, y) {
|
|
7536
|
-
return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
|
|
7537
|
-
}
|
|
7538
|
-
var objectIs = "function" === typeof Object.is ? Object.is : is;
|
|
7539
|
-
var useSyncExternalStore = shim.useSyncExternalStore;
|
|
7540
|
-
var useRef = React.useRef;
|
|
7541
|
-
var useEffect = React.useEffect;
|
|
7542
|
-
var useMemo = React.useMemo;
|
|
7543
|
-
var useDebugValue = React.useDebugValue;
|
|
7544
|
-
exports.useSyncExternalStoreWithSelector = function(subscribe, getSnapshot, getServerSnapshot, selector, isEqual) {
|
|
7545
|
-
var instRef = useRef(null);
|
|
7546
|
-
if (null === instRef.current) {
|
|
7547
|
-
var inst = {
|
|
7548
|
-
hasValue: !1,
|
|
7549
|
-
value: null
|
|
7550
|
-
};
|
|
7551
|
-
instRef.current = inst;
|
|
7552
|
-
} else inst = instRef.current;
|
|
7553
|
-
instRef = useMemo(function() {
|
|
7554
|
-
function memoizedSelector(nextSnapshot) {
|
|
7555
|
-
if (!hasMemo) {
|
|
7556
|
-
hasMemo = !0;
|
|
7557
|
-
memoizedSnapshot = nextSnapshot;
|
|
7558
|
-
nextSnapshot = selector(nextSnapshot);
|
|
7559
|
-
if (void 0 !== isEqual && inst.hasValue) {
|
|
7560
|
-
var currentSelection = inst.value;
|
|
7561
|
-
if (isEqual(currentSelection, nextSnapshot)) return memoizedSelection = currentSelection;
|
|
7562
|
-
}
|
|
7563
|
-
return memoizedSelection = nextSnapshot;
|
|
7564
|
-
}
|
|
7565
|
-
currentSelection = memoizedSelection;
|
|
7566
|
-
if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;
|
|
7567
|
-
var nextSelection = selector(nextSnapshot);
|
|
7568
|
-
if (void 0 !== isEqual && isEqual(currentSelection, nextSelection)) return memoizedSnapshot = nextSnapshot, currentSelection;
|
|
7569
|
-
memoizedSnapshot = nextSnapshot;
|
|
7570
|
-
return memoizedSelection = nextSelection;
|
|
7571
|
-
}
|
|
7572
|
-
var hasMemo = !1, memoizedSnapshot, memoizedSelection, maybeGetServerSnapshot = void 0 === getServerSnapshot ? null : getServerSnapshot;
|
|
7573
|
-
return [function() {
|
|
7574
|
-
return memoizedSelector(getSnapshot());
|
|
7575
|
-
}, null === maybeGetServerSnapshot ? void 0 : function() {
|
|
7576
|
-
return memoizedSelector(maybeGetServerSnapshot());
|
|
7577
|
-
}];
|
|
7578
|
-
}, [
|
|
7579
|
-
getSnapshot,
|
|
7580
|
-
getServerSnapshot,
|
|
7581
|
-
selector,
|
|
7582
|
-
isEqual
|
|
7583
|
-
]);
|
|
7584
|
-
var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);
|
|
7585
|
-
useEffect(function() {
|
|
7586
|
-
inst.hasValue = !0;
|
|
7587
|
-
inst.value = value;
|
|
7588
|
-
}, [value]);
|
|
7589
|
-
useDebugValue(value);
|
|
7590
|
-
return value;
|
|
7591
|
-
};
|
|
7592
|
-
}));
|
|
7593
|
-
//#endregion
|
|
7594
|
-
//#region ../../node_modules/use-sync-external-store/shim/with-selector.js
|
|
7595
|
-
var require_with_selector = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7596
|
-
module.exports = require_with_selector_production();
|
|
7597
|
-
}));
|
|
7598
|
-
//#endregion
|
|
7599
|
-
//#region ../../node_modules/use-resize-observer/dist/bundle.esm.js
|
|
7457
|
+
//#region ../../node_modules/use-resize-observer/dist/index.mjs
|
|
7600
7458
|
function useResolvedElement(subscriber, refOrElement) {
|
|
7601
|
-
|
|
7602
|
-
|
|
7459
|
+
const lastReportRef = (0, import_react$3.useRef)(null);
|
|
7460
|
+
const refOrElementRef = (0, import_react$3.useRef)(null);
|
|
7603
7461
|
refOrElementRef.current = refOrElement;
|
|
7604
|
-
|
|
7605
|
-
(0, import_react$3.useEffect)(
|
|
7462
|
+
const cbElementRef = (0, import_react$3.useRef)(null);
|
|
7463
|
+
(0, import_react$3.useEffect)(() => {
|
|
7606
7464
|
evaluateSubscription();
|
|
7607
7465
|
});
|
|
7608
|
-
|
|
7609
|
-
|
|
7610
|
-
|
|
7611
|
-
|
|
7466
|
+
const evaluateSubscription = (0, import_react$3.useCallback)(() => {
|
|
7467
|
+
const cbElement = cbElementRef.current;
|
|
7468
|
+
const refOrElement = refOrElementRef.current;
|
|
7469
|
+
const element = cbElement ? cbElement : refOrElement ? "nodeType" in refOrElement ? refOrElement : refOrElement.current : null;
|
|
7612
7470
|
if (lastReportRef.current && lastReportRef.current.element === element && lastReportRef.current.subscriber === subscriber) return;
|
|
7613
7471
|
if (lastReportRef.current && lastReportRef.current.cleanup) lastReportRef.current.cleanup();
|
|
7614
7472
|
lastReportRef.current = {
|
|
@@ -7617,15 +7475,15 @@ function useResolvedElement(subscriber, refOrElement) {
|
|
|
7617
7475
|
cleanup: element ? subscriber(element) : void 0
|
|
7618
7476
|
};
|
|
7619
7477
|
}, [subscriber]);
|
|
7620
|
-
(0, import_react$3.useEffect)(
|
|
7621
|
-
return
|
|
7478
|
+
(0, import_react$3.useEffect)(() => {
|
|
7479
|
+
return () => {
|
|
7622
7480
|
if (lastReportRef.current && lastReportRef.current.cleanup) {
|
|
7623
7481
|
lastReportRef.current.cleanup();
|
|
7624
7482
|
lastReportRef.current = null;
|
|
7625
7483
|
}
|
|
7626
7484
|
};
|
|
7627
7485
|
}, []);
|
|
7628
|
-
return (0, import_react$3.useCallback)(
|
|
7486
|
+
return (0, import_react$3.useCallback)((element) => {
|
|
7629
7487
|
cbElementRef.current = element;
|
|
7630
7488
|
evaluateSubscription();
|
|
7631
7489
|
}, [evaluateSubscription]);
|
|
@@ -7637,71 +7495,75 @@ function extractSize(entry, boxProp, sizeType) {
|
|
|
7637
7495
|
}
|
|
7638
7496
|
return entry[boxProp][0] ? entry[boxProp][0][sizeType] : entry[boxProp][sizeType];
|
|
7639
7497
|
}
|
|
7640
|
-
function useResizeObserver(opts) {
|
|
7641
|
-
|
|
7642
|
-
|
|
7643
|
-
var onResizeRef = (0, import_react$3.useRef)(void 0);
|
|
7498
|
+
function useResizeObserver(opts = {}) {
|
|
7499
|
+
const onResize = opts.onResize;
|
|
7500
|
+
const onResizeRef = (0, import_react$3.useRef)(void 0);
|
|
7644
7501
|
onResizeRef.current = onResize;
|
|
7645
|
-
|
|
7646
|
-
|
|
7647
|
-
|
|
7502
|
+
const round = opts.round || Math.round;
|
|
7503
|
+
const resizeObserverRef = (0, import_react$3.useRef)(void 0);
|
|
7504
|
+
const [size, setSize] = (0, import_react$3.useState)({
|
|
7648
7505
|
width: void 0,
|
|
7649
7506
|
height: void 0
|
|
7650
|
-
})
|
|
7651
|
-
|
|
7652
|
-
(0, import_react$3.useEffect)(
|
|
7507
|
+
});
|
|
7508
|
+
const didUnmount = (0, import_react$3.useRef)(false);
|
|
7509
|
+
(0, import_react$3.useEffect)(() => {
|
|
7653
7510
|
didUnmount.current = false;
|
|
7654
|
-
return
|
|
7511
|
+
return () => {
|
|
7655
7512
|
didUnmount.current = true;
|
|
7656
7513
|
};
|
|
7657
7514
|
}, []);
|
|
7658
|
-
|
|
7515
|
+
const previous = (0, import_react$3.useRef)({
|
|
7659
7516
|
width: void 0,
|
|
7660
7517
|
height: void 0
|
|
7661
7518
|
});
|
|
7662
|
-
|
|
7663
|
-
if (!resizeObserverRef.current || resizeObserverRef.current.box !== opts.box || resizeObserverRef.current.round !== round)
|
|
7664
|
-
|
|
7665
|
-
|
|
7666
|
-
|
|
7667
|
-
|
|
7668
|
-
|
|
7669
|
-
|
|
7670
|
-
|
|
7671
|
-
|
|
7672
|
-
|
|
7673
|
-
|
|
7674
|
-
|
|
7675
|
-
|
|
7676
|
-
|
|
7677
|
-
|
|
7678
|
-
|
|
7679
|
-
|
|
7680
|
-
|
|
7681
|
-
|
|
7682
|
-
|
|
7683
|
-
|
|
7684
|
-
|
|
7519
|
+
const refCallback = useResolvedElement((0, import_react$3.useCallback)((element) => {
|
|
7520
|
+
if (!resizeObserverRef.current || resizeObserverRef.current.box !== opts.box || resizeObserverRef.current.round !== round) {
|
|
7521
|
+
const RO = element.ownerDocument.defaultView?.ResizeObserver ?? ResizeObserver;
|
|
7522
|
+
resizeObserverRef.current = {
|
|
7523
|
+
box: opts.box,
|
|
7524
|
+
round,
|
|
7525
|
+
instance: new RO((entries) => {
|
|
7526
|
+
if (didUnmount.current) return;
|
|
7527
|
+
const entry = entries[0];
|
|
7528
|
+
const boxProp = opts.box === "border-box" ? "borderBoxSize" : opts.box === "device-pixel-content-box" ? "devicePixelContentBoxSize" : "contentBoxSize";
|
|
7529
|
+
const reportedWidth = extractSize(entry, boxProp, "inlineSize");
|
|
7530
|
+
const reportedHeight = extractSize(entry, boxProp, "blockSize");
|
|
7531
|
+
const newWidth = reportedWidth === void 0 ? void 0 : round(reportedWidth);
|
|
7532
|
+
const newHeight = reportedHeight === void 0 ? void 0 : round(reportedHeight);
|
|
7533
|
+
if (previous.current.width !== newWidth || previous.current.height !== newHeight) {
|
|
7534
|
+
const newSize = {
|
|
7535
|
+
width: newWidth,
|
|
7536
|
+
height: newHeight
|
|
7537
|
+
};
|
|
7538
|
+
previous.current.width = newWidth;
|
|
7539
|
+
previous.current.height = newHeight;
|
|
7540
|
+
if (onResizeRef.current) onResizeRef.current({
|
|
7541
|
+
...newSize,
|
|
7542
|
+
entry
|
|
7543
|
+
});
|
|
7544
|
+
else setSize(newSize);
|
|
7545
|
+
}
|
|
7546
|
+
})
|
|
7547
|
+
};
|
|
7548
|
+
}
|
|
7685
7549
|
resizeObserverRef.current.instance.observe(element, { box: opts.box });
|
|
7686
|
-
return
|
|
7550
|
+
return () => {
|
|
7687
7551
|
if (resizeObserverRef.current) resizeObserverRef.current.instance.unobserve(element);
|
|
7688
7552
|
};
|
|
7689
7553
|
}, [opts.box, round]), opts.ref);
|
|
7690
|
-
return (0, import_react$3.useMemo)(
|
|
7691
|
-
|
|
7692
|
-
|
|
7693
|
-
|
|
7694
|
-
|
|
7695
|
-
};
|
|
7696
|
-
}, [
|
|
7554
|
+
return (0, import_react$3.useMemo)(() => ({
|
|
7555
|
+
ref: refCallback,
|
|
7556
|
+
width: size.width,
|
|
7557
|
+
height: size.height
|
|
7558
|
+
}), [
|
|
7697
7559
|
refCallback,
|
|
7698
7560
|
size.width,
|
|
7699
7561
|
size.height
|
|
7700
7562
|
]);
|
|
7701
7563
|
}
|
|
7702
7564
|
var import_react$3;
|
|
7703
|
-
function
|
|
7704
|
-
return (
|
|
7565
|
+
function init_dist$3() {
|
|
7566
|
+
return (init_dist$3 = __esmMin((() => {
|
|
7705
7567
|
import_react$3 = require_react();
|
|
7706
7568
|
})))();
|
|
7707
7569
|
}
|
|
@@ -7756,4 +7618,4 @@ function init_use_composed_ref_esm() {
|
|
|
7756
7618
|
})))();
|
|
7757
7619
|
}
|
|
7758
7620
|
//#endregion
|
|
7759
|
-
export {
|
|
7621
|
+
export { init_lang as A, stringify as B, pipe as C, string as D, safeParse as E, init_tiny_invariant as F, init_esm as H, invariant as I, init_dist as L, highlight as M, init_lib as N, unknown as O, require_scheduler as P, isJSON as R, optional as S, safeInteger as T, dedent as V, literal as _, init_dist$3 as a, number as b, require_semver as c, init_dist$2 as d, require_redent as f, init_dist$1 as g, custom as h, useLatest as i, lang as j, variant as k, require_toggle_selection as l, check as m, useComposedRef as n, useResizeObserver as o, array as p, init_use_latest_esm as r, require_store2 as s, init_use_composed_ref_esm as t, T as u, minLength as v, record as w, object as x, minValue as y, parse$1 as z };
|