@marimo-team/islands 0.17.2 → 0.17.4

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 (582) hide show
  1. package/dist/{Combination-De9yoNY5.js → Combination-DrSsMSEB.js} +860 -816
  2. package/dist/{ConnectedDataExplorerComponent-DuvpJOKp.js → ConnectedDataExplorerComponent-DY9cADKc.js} +2282 -2232
  3. package/dist/{ImageComparisonComponent--etUl2pp.js → ImageComparisonComponent-CJvR7Qzp.js} +3 -2
  4. package/dist/{_baseIsEqual-BFlyFUxC.js → _baseIsEqual-DbBiwJP8.js} +1 -1
  5. package/dist/{_basePickBy-gCCvtjgp.js → _basePickBy-ChFDiIEt.js} +3 -3
  6. package/dist/{_baseProperty-BuqBC0Ie.js → _baseProperty-Bf09f9Ee.js} +5 -5
  7. package/dist/_baseUniq-D5kohCWB.js +59 -0
  8. package/dist/any-language-editor-Bs2c1bKU.js +156 -0
  9. package/dist/apl-Bp8pgLcx.js +4 -0
  10. package/dist/{arc-C_O2hc-b.js → arc-DM-UhhIs.js} +2 -2
  11. package/dist/architecture-O4VJ6CD3-SVEfQWDz.js +24 -0
  12. package/dist/{architectureDiagram-W76B3OCA-CrK99pJi.js → architectureDiagram-W76B3OCA-GKSiVAlH.js} +41 -38
  13. package/dist/asciiarmor-IoNSjDv9.js +4 -0
  14. package/dist/asn1-B1GnbkOF.js +4 -0
  15. package/dist/{blockDiagram-QIGZ2CNN-BJOEyO6w.js → blockDiagram-QIGZ2CNN-wX8KWoV2.js} +30 -29
  16. package/dist/brainfuck-TRxEs4B5.js +4 -0
  17. package/dist/{button-ADXOb_gX.js → button-B8zS4Mtw.js} +5 -4
  18. package/dist/{c4Diagram-FPNF74CW-7Pz_X9wF.js → c4Diagram-FPNF74CW-Ns4C9pNn.js} +12 -12
  19. package/dist/{channel-X-wRUxX6.js → channel-Dgla_oqe.js} +1 -1
  20. package/dist/{check-COlaG7Ss.js → check-BZnPxXnd.js} +1 -1
  21. package/dist/{chunk-3AY6CYHV-BQH2fFpA.js → chunk-3AY6CYHV-HfZ-8MFM.js} +10 -10
  22. package/dist/{chunk-4BX2VUAB-D-QtDCKM.js → chunk-4BX2VUAB-CV5cUTmw.js} +1 -1
  23. package/dist/{chunk-4KMFLZZN-BirZvvJS.js → chunk-4KMFLZZN-Cbgb64pE.js} +17 -18
  24. package/dist/{chunk-55IACEB6-DjtPYZKs.js → chunk-55IACEB6--aEkhs1O.js} +1 -1
  25. package/dist/{chunk-6OXUPJBA-CTnnqlzw.js → chunk-6OXUPJBA-DQZp24uZ.js} +7 -7
  26. package/dist/{chunk-7GE3RBXV-CT47hCrL.js → chunk-7GE3RBXV-D0K_8mbM.js} +1 -1
  27. package/dist/{chunk-ABZYJK2D-B6ZsU6SR.js → chunk-ABZYJK2D-BwKkjFgF.js} +3 -3
  28. package/dist/{chunk-BN7GFLIU-DYWEsrG4.js → chunk-BN7GFLIU-93ktvOI2.js} +1 -1
  29. package/dist/{chunk-CVBHYZKI-BuzDGXz0.js → chunk-CVBHYZKI-tTpx9vm_.js} +1 -1
  30. package/dist/{chunk-CXMOBAN2-Bas2S5w1.js → chunk-CXMOBAN2-CagHnxl1.js} +6 -6
  31. package/dist/{chunk-EXTU4WIE-DXwNSukz.js → chunk-EXTU4WIE-Ve2vgn5X.js} +2 -2
  32. package/dist/{chunk-FMBD7UC4-CYKEpuPr.js → chunk-FMBD7UC4-CCvcIQpJ.js} +1 -1
  33. package/dist/{chunk-JA3XYJ7Z-DcxfkcDC.js → chunk-JA3XYJ7Z-CrQC4eYr.js} +4 -4
  34. package/dist/{chunk-JEIROHC2-C01ZIcIG.js → chunk-JEIROHC2-tuJLHPKk.js} +1 -1
  35. package/dist/{chunk-K7UQS3LO-CmbT97MV.js → chunk-K7UQS3LO-BzsTVREe.js} +7 -7
  36. package/dist/{chunk-KMC2YHZD-D64m-1E1.js → chunk-KMC2YHZD-CdKOlVi0.js} +1 -1
  37. package/dist/{chunk-QN33PNHL-DjB0j8Dr.js → chunk-QN33PNHL-CbdYySGk.js} +2 -2
  38. package/dist/{chunk-QYVHNE3D-VA4W4oxG.js → chunk-QYVHNE3D-BDj4udRH.js} +2 -2
  39. package/dist/{chunk-QZHKN3VN-KT0fl3Em.js → chunk-QZHKN3VN-E6VBm6ir.js} +1 -1
  40. package/dist/{chunk-S3R3BYOJ-C5zmcMvn.js → chunk-S3R3BYOJ-DuumGJ4u.js} +6 -6
  41. package/dist/{chunk-T44TD3VJ-BMOgu-Hk.js → chunk-T44TD3VJ-Bc-UhG4i.js} +1 -1
  42. package/dist/{chunk-TVAH2DTR-eKm8SKnH.js → chunk-TVAH2DTR-s8skdWqT.js} +6 -6
  43. package/dist/{chunk-TZMSLE5B-CQxFRiI2.js → chunk-TZMSLE5B-CUfRRoFb.js} +3 -3
  44. package/dist/{chunk-WFRQ32O7-Dg51o277.js → chunk-WFRQ32O7-BquRwCCj.js} +1 -1
  45. package/dist/{chunk-WFWHJNB7-DVLO98ge.js → chunk-WFWHJNB7-CHl0gCzu.js} +1 -1
  46. package/dist/{chunk-XRWGC2XP-UNFKdWQh.js → chunk-XRWGC2XP-CoSEoOcO.js} +1 -1
  47. package/dist/{chunk-ZPAFE4SF-DbCSwfLK.js → chunk-ZPAFE4SF-Bf1fn8cY.js} +1 -1
  48. package/dist/classDiagram-KNZD7YFC-ONLi1fgN.js +40 -0
  49. package/dist/classDiagram-v2-RKCZMP56-Ceij_i8m.js +40 -0
  50. package/dist/{clike-CytFO-kN.js → clike-Cbszc5XU.js} +1 -1
  51. package/dist/clojure-BNTL3o8Z.js +4 -0
  52. package/dist/{clone-CCgVUJ6x.js → clone-DE59DFkY.js} +1 -1
  53. package/dist/cmake-Bp6uEjiS.js +4 -0
  54. package/dist/cobol-CtS_R__A.js +4 -0
  55. package/dist/coffeescript-D5u5aYAu.js +4 -0
  56. package/dist/commonlisp-BvLWy9eh.js +4 -0
  57. package/dist/compiler-runtime-5MdCVm0X.js +13 -0
  58. package/dist/{constants-BaCMVd12.js → constants-BlvmN57i.js} +3 -3
  59. package/dist/{copy-GNcK40wy.js → copy-bxQOKABs.js} +2 -2
  60. package/dist/{cose-bilkent-S5V4N54A-BnvuJG6Y.js → cose-bilkent-S5V4N54A-DZE8LVzQ.js} +3 -3
  61. package/dist/crystal-CaTWnt-Z.js +4 -0
  62. package/dist/css-BMUPibQH.js +5 -0
  63. package/dist/cypher-PopjPg_G.js +4 -0
  64. package/dist/d-Ds7bO8W5.js +4 -0
  65. package/dist/{dagre-5GWH7T2D-rn7tZYaQ.js → dagre-5GWH7T2D-g2ShbPGy.js} +39 -37
  66. package/dist/{dagre-Bghq6VKO.js → dagre-TBn9HZB0.js} +14 -13
  67. package/dist/{data-grid-overlay-editor-B4_Caieu.js → data-grid-overlay-editor-BuhjNOgs.js} +4 -4
  68. package/dist/{diagram-N5W7TBWH-lbF94o-g.js → diagram-N5W7TBWH-BYhyeV0B.js} +44 -41
  69. package/dist/{diagram-QEK2KX5R-CKBhSzsO.js → diagram-QEK2KX5R-CiuUIBpl.js} +38 -35
  70. package/dist/{diagram-S2PKOQOG-161_1f53.js → diagram-S2PKOQOG-D0Z2Q5P-.js} +38 -35
  71. package/dist/diff-C_xR-pxD.js +4 -0
  72. package/dist/{dist-BSyYM1Gi.js → dist-7CqcJssH.js} +6 -6
  73. package/dist/{dist-C9-uHBqC.js → dist-8v4BI_h_.js} +1 -1
  74. package/dist/{dist-71jYYbWP.js → dist-B3CNaJau.js} +2 -2
  75. package/dist/dist-B9JCXzyv.js +6 -0
  76. package/dist/{dist-DzJem5xc.js → dist-BMhv6XDi.js} +1 -1
  77. package/dist/{dist-CWh5ZwcC.js → dist-BYS0EtbC.js} +2 -2
  78. package/dist/{dist-BaPjLM6s.js → dist-BgsDu-bU.js} +1 -1
  79. package/dist/{dist-CNAkUyxv.js → dist-BxmsyHv5.js} +1 -1
  80. package/dist/{dist-CWqB4bg8.js → dist-C02gS--y.js} +3 -3
  81. package/dist/{dist-C76MUPD3.js → dist-C5Iu9a3-.js} +2 -2
  82. package/dist/{dist-DxESp2-T.js → dist-C5Ns3q-m.js} +3 -3
  83. package/dist/dist-C6QrJGYr.js +10 -0
  84. package/dist/{dist-BAqp4Vtl.js → dist-CBu8cgzz.js} +8 -4
  85. package/dist/dist-CFZ32udY.js +6 -0
  86. package/dist/{dist-DaTVdKJa.js → dist-CXimnGhI.js} +2 -2
  87. package/dist/{dist-CtOeHDJp.js → dist-CawOxmKh.js} +5 -5
  88. package/dist/dist-CmgxQNWN.js +10 -0
  89. package/dist/dist-Cr6Cu8sC.js +6 -0
  90. package/dist/{dist-BBhmkni2.js → dist-CxRajUZ6.js} +1 -1
  91. package/dist/{dist-CPNnKuPh.js → dist-D08oiinq.js} +12 -10
  92. package/dist/{dist-BNRdMfJH.js → dist-D4LUTYHc.js} +2 -2
  93. package/dist/{dist-C2IEc8og.js → dist-DGKjHTv9.js} +5 -5
  94. package/dist/{dist-4dtbqf8A.js → dist-DGnWQOnS.js} +3 -3
  95. package/dist/{dist-BqdQPWpQ.js → dist-DSDOMDNR.js} +2 -2
  96. package/dist/{dist-_4cudra1.js → dist-DTNqkRGE.js} +3 -3
  97. package/dist/{dist-28HYzERB.js → dist-D_GkrgWD.js} +2 -2
  98. package/dist/{dist-Cw0F6l-7.js → dist-DbHWFmjZ.js} +1 -1
  99. package/dist/{dist-B_wjJqqS.js → dist-Dh7gw0Ay.js} +2 -2
  100. package/dist/{dist-B8Pbw5ln.js → dist-DiO9ni9a.js} +2 -2
  101. package/dist/{dist-BYHiiJB-.js → dist-DlSZED-1.js} +2 -2
  102. package/dist/{dist-Da046MhT.js → dist-DvsjKDQ4.js} +1 -1
  103. package/dist/{dist-O0zVziwn.js → dist-DzKKEoge.js} +3 -3
  104. package/dist/{dist-CwZcC4om.js → dist-HKzG1oF6.js} +1 -1
  105. package/dist/{dist-CJb8EiFO.js → dist-K_AqLCfS.js} +3 -3
  106. package/dist/dist-NxHLuq7w.js +6 -0
  107. package/dist/dist-S2JcqPPB.js +12 -0
  108. package/dist/{dist-CNvMOZu9.js → dist-XkGsOiy0.js} +2 -2
  109. package/dist/{dist-Drf3cyIW.js → dist-_tHnp24J.js} +3 -3
  110. package/dist/{dist-xLN9qCAp.js → dist-eSnWVS11.js} +3 -3
  111. package/dist/dist-hcPlrsR9.js +6 -0
  112. package/dist/{dist-DlK420ke.js → dist-owpR56zn.js} +1 -1
  113. package/dist/dist-poXa8G8m.js +6 -0
  114. package/dist/{dist-CTIyD_KU.js → dist-qGpLTiEi.js} +3 -3
  115. package/dist/{dockerfile-Cmlcqk35.js → dockerfile-CWWeWT3z.js} +1 -1
  116. package/dist/dtd-CGRYzaHQ.js +4 -0
  117. package/dist/dylan-Ctfki5HL.js +4 -0
  118. package/dist/ecl--gmEivzz.js +4 -0
  119. package/dist/eiffel-o31DRAP-.js +4 -0
  120. package/dist/elm-Dqa6TVIh.js +4 -0
  121. package/dist/{erDiagram-AWTI2OKA-BU7Qig7n.js → erDiagram-AWTI2OKA-BeadFjpg.js} +25 -25
  122. package/dist/erlang-BtVO_vQG.js +4 -0
  123. package/dist/error-banner-B7LmpmGT.js +1013 -0
  124. package/dist/{esm-Oo8OvZ6m.js → esm-CQIOyi5v.js} +579 -564
  125. package/dist/{factor-BZnBK3CG.js → factor-7tQNNEWF.js} +1 -1
  126. package/dist/factor-CNLvRc__.js +5 -0
  127. package/dist/{flowDiagram-PVAE7QVJ-JKJebWeY.js → flowDiagram-PVAE7QVJ-GgklUvqn.js} +27 -27
  128. package/dist/{formats-DOEuF6TR.js → formats-kyFd0DPJ.js} +23 -22
  129. package/dist/forth-Bp2zDfH-.js +4 -0
  130. package/dist/fortran-B3A-KieX.js +4 -0
  131. package/dist/{ganttDiagram-OWAHRB6G-BvWRfg05.js → ganttDiagram-OWAHRB6G-D5wYR6WK.js} +17 -17
  132. package/dist/gas-_Xt_kGOG.js +4 -0
  133. package/dist/gherkin-DzZpg8Ls.js +4 -0
  134. package/dist/gitGraph-ZV4HHKMB-DFGD7PPm.js +24 -0
  135. package/dist/{gitGraphDiagram-NY62KEGX-VEJJBf5L.js → gitGraphDiagram-NY62KEGX-DCwA-g9b.js} +38 -35
  136. package/dist/{glide-data-editor-Bne10icG.js → glide-data-editor-1bUl_mRe.js} +515 -515
  137. package/dist/graphlib-R11f1son.js +228 -0
  138. package/dist/groovy-BtD10jRQ.js +4 -0
  139. package/dist/haskell-C-JVWnIV.js +4 -0
  140. package/dist/haxe-Del5TcJQ.js +5 -0
  141. package/dist/idl-BLlRatde.js +4 -0
  142. package/dist/info-63CPKGFF-eZyiEu_4.js +24 -0
  143. package/dist/infoDiagram-STP46IZ2-CUr2vZlE.js +48 -0
  144. package/dist/{isEmpty-Do_v2sls.js → isEmpty-CIFmGKJN.js} +2 -2
  145. package/dist/isString-BsphYkXQ.js +9 -0
  146. package/dist/{isSymbol-CtkA8Y0a.js → isSymbol-BnxbuvDK.js} +1 -1
  147. package/dist/javascript-Bm7QL4E3.js +5 -0
  148. package/dist/jinja2-BxbImxq2.js +4 -0
  149. package/dist/{journeyDiagram-BIP6EPQ6-CsgEQgxh.js → journeyDiagram-BIP6EPQ6-DtjQC_m1.js} +10 -10
  150. package/dist/jsx-runtime-CvL6gNI-.js +22 -0
  151. package/dist/julia-DV1Vz9mw.js +4 -0
  152. package/dist/{kanban-definition-6OIFK2YF-Bi8Ete2P.js → kanban-definition-6OIFK2YF-U3q5gvb8.js} +19 -19
  153. package/dist/{katex-C-g3rKKt.js → katex-BWgzyQrl.js} +1 -1
  154. package/dist/{label-BiVIU_wb.js → label-Wr-xTlW7.js} +463 -453
  155. package/dist/{line-B7-GoF1m.js → line-C7OvOvNm.js} +3 -3
  156. package/dist/{linear-DeGGALuc.js → linear-CgANSWNu.js} +4 -4
  157. package/dist/livescript-9UMSMMrl.js +4 -0
  158. package/dist/{loader-BBqwtZWj.js → loader-Dj9XWZTh.js} +164 -4
  159. package/dist/lua-Bcbc7wWe.js +4 -0
  160. package/dist/main.js +40727 -41561
  161. package/dist/mathematica-DG4QUwYU.js +4 -0
  162. package/dist/mbox--auqAoPc.js +4 -0
  163. package/dist/{memoize-D7eDkf3R.js → memoize-XkDn33QI.js} +1 -1
  164. package/dist/{merge-C_6cGM6o.js → merge-dMlizkC5.js} +1 -1
  165. package/dist/{mermaid-BmtvsZ2m.js → mermaid-DIjoC4T4.js} +67 -66
  166. package/dist/{mermaid-parser.core-geyG_6o0.js → mermaid-parser.core-B433qyUL.js} +8 -8
  167. package/dist/{mhchem-OhAaJ0fA.js → mhchem-1x4KnXMF.js} +1 -1
  168. package/dist/min-WjLsUjBa.js +89 -0
  169. package/dist/{mindmap-definition-Q6HEUPPD-B-wmX1oG.js → mindmap-definition-Q6HEUPPD-LFgV4R8y.js} +24 -24
  170. package/dist/mirc-9dVcMicH.js +4 -0
  171. package/dist/mllike-Di9N4E3Q.js +6 -0
  172. package/dist/modelica-S3adENkL.js +4 -0
  173. package/dist/mscgen-DAG0zH4w.js +6 -0
  174. package/dist/mumps-afzuy08D.js +4 -0
  175. package/dist/{now-DumxsrcX.js → now-8WTe-KKa.js} +1 -1
  176. package/dist/nsis-Bzwy0lPH.js +5 -0
  177. package/dist/{nsis-D4bLR_Y1.js → nsis-CFb2Zrib.js} +1 -1
  178. package/dist/ntriples-D9oM8s3v.js +4 -0
  179. package/dist/{number-overlay-editor-D6r-48ka.js → number-overlay-editor-DYjnpjXo.js} +2 -2
  180. package/dist/octave-BMLCk2qM.js +4 -0
  181. package/dist/{once-3OSMKEsL.js → once-rI5AYku5.js} +1 -1
  182. package/dist/{ordinal-DpEbSVPc.js → ordinal-pQYxWJYN.js} +1 -1
  183. package/dist/oz-CX5JTWTK.js +4 -0
  184. package/dist/packet-HUATNLJX-BvWMmF9U.js +24 -0
  185. package/dist/pascal-BeZmsfFX.js +4 -0
  186. package/dist/perl-CZ_HryPN.js +4 -0
  187. package/dist/pie-WTHONI2E-BCXZJKz0.js +24 -0
  188. package/dist/{pieDiagram-ADFJNKIX-C3GvPNUL.js → pieDiagram-ADFJNKIX-CsZmho0o.js} +43 -40
  189. package/dist/pig-OPEEOu6V.js +4 -0
  190. package/dist/powershell-DyR-5LnA.js +4 -0
  191. package/dist/{precisionRound-7YYJq2rW.js → precisionRound-DMLkFNYv.js} +1 -1
  192. package/dist/properties-Cl4tecfb.js +4 -0
  193. package/dist/protobuf-B8X247vV.js +4 -0
  194. package/dist/pug-Kmpa-Pbv.js +5 -0
  195. package/dist/{pug-Dv3gE36O.js → pug-ZDYeT34w.js} +1 -1
  196. package/dist/puppet-Pl07qkSO.js +4 -0
  197. package/dist/python-DQgTXBpp.js +5 -0
  198. package/dist/q-D7uiP00h.js +4 -0
  199. package/dist/{quadrantDiagram-LMRXKWRM-DPXwGNVa.js → quadrantDiagram-LMRXKWRM-CY6GTOgM.js} +8 -8
  200. package/dist/r-DbUoToEd.js +4 -0
  201. package/dist/radar-NJJJXTRR-8kjOeCwx.js +24 -0
  202. package/dist/{range-CIbLpsrs.js → range-CTMc_Qhu.js} +3 -3
  203. package/dist/{react-plotly-DYyvxcRD.js → react-plotly-Cs07wkly.js} +2 -2
  204. package/dist/react-vega-B9eMrRW1.js +32035 -0
  205. package/dist/react-vega-DM3e8kar.js +25 -0
  206. package/dist/reduce-C-jV7KRY.js +268 -0
  207. package/dist/{requirementDiagram-4UW4RH46-Cs3Hqnm0.js → requirementDiagram-4UW4RH46-CfLWneBF.js} +24 -24
  208. package/dist/rpm-BjQFZZ1e.js +5 -0
  209. package/dist/ruby-BXpop5ZX.js +4 -0
  210. package/dist/{sankeyDiagram-GR3RE2ED-Be1d_Xf7.js → sankeyDiagram-GR3RE2ED-Dkxfzm6f.js} +7 -7
  211. package/dist/sas-CzFr9Hlz.js +4 -0
  212. package/dist/scheme-C6QRPvcm.js +4 -0
  213. package/dist/{sequenceDiagram-C3RYC4MD-lbtovKTa.js → sequenceDiagram-C3RYC4MD-hSi31Kfa.js} +14 -14
  214. package/dist/shell-Bs7FrcsL.js +4 -0
  215. package/dist/sieve-D39XRya9.js +4 -0
  216. package/dist/{slides-component-BoeQU7-s.js → slides-component-Ct11erUn.js} +9 -8
  217. package/dist/smalltalk-CdAwDOFE.js +4 -0
  218. package/dist/sparql-DsDWhEhN.js +4 -0
  219. package/dist/spec-rqRnkIf4.js +1256 -0
  220. package/dist/{src-BTqT1mA1.js → src-CKr0QbVy.js} +1 -1
  221. package/dist/{stateDiagram-KXAO66HF-BmbR-Rol.js → stateDiagram-KXAO66HF-DJsLA_DN.js} +42 -40
  222. package/dist/stateDiagram-v2-UMBNRL4Z-D-p_ngHt.js +39 -0
  223. package/dist/{step-2RJrMSSG.js → step-BsM8YHun.js} +1 -1
  224. package/dist/stex-DvqvBdH8.js +5 -0
  225. package/dist/style.css +1 -1
  226. package/dist/stylus-DxzxWmvV.js +4 -0
  227. package/dist/swift-DTC4Wg4z.js +4 -0
  228. package/dist/tcl-DantlS-i.js +4 -0
  229. package/dist/textile-pOphaahD.js +4 -0
  230. package/dist/{time-BB30r1tK.js → time-U9NHhrDC.js} +4 -4
  231. package/dist/{timeline-definition-XQNQX7LJ-1mv5caPW.js → timeline-definition-XQNQX7LJ-rojWjX6M.js} +7 -7
  232. package/dist/{toNumber-D3Ystr3y.js → toNumber-CUG0Hyhp.js} +2 -2
  233. package/dist/{toString-CbuxCRDG.js → toString-CT4n1k2E.js} +2 -2
  234. package/dist/toml-hgYsPM5p.js +4 -0
  235. package/dist/treemap-75Q7IDZK-Do1WIR9v.js +24 -0
  236. package/dist/troff-BwevrEUZ.js +4 -0
  237. package/dist/{dtd-RplB6hDg.js → ttcn-C5gJcxta.js} +2 -2
  238. package/dist/ttcn-cfg-CPKlfqST.js +4 -0
  239. package/dist/turtle-EH0lMhMf.js +4 -0
  240. package/dist/{types-BPohCsA7.js → types-Bt7p5SYB.js} +1028 -1038
  241. package/dist/uniq-DgSyegN3.js +8 -0
  242. package/dist/{useAsyncData-DHBqeb9a.js → useAsyncData-Dp2V69OV.js} +3 -3
  243. package/dist/{useIframeCapabilities-BEvvwlwt.js → useIframeCapabilities-B9u0SmJ4.js} +2 -2
  244. package/dist/{useTheme-CnMbo-iq.js → useTheme-D7vlj42b.js} +4 -4
  245. package/dist/vb-DNk7gts-.js +4 -0
  246. package/dist/vbscript-znK_5PUS.js +4 -0
  247. package/dist/vega-component-C58Jk3ub.js +633 -0
  248. package/dist/{vega-loader.browser.module-CFMtdrNw.js → vega-loader.browser-BK7-IO9k.js} +91 -99
  249. package/dist/velocity-DmPhlhdp.js +4 -0
  250. package/dist/verilog-CePnwf4S.js +4 -0
  251. package/dist/vhdl-Ckdh8uiO.js +4 -0
  252. package/dist/webidl-8N8qbzRd.js +4 -0
  253. package/dist/xquery-Cocyk-z0.js +4 -0
  254. package/dist/{xychartDiagram-6GGTOJPD-njc-naaw.js → xychartDiagram-6GGTOJPD-CiC1eONZ.js} +23 -23
  255. package/dist/yacas-CPmShRg-.js +4 -0
  256. package/dist/z80-B500UaFh.js +4 -0
  257. package/package.json +12 -9
  258. package/src/components/ai/ai-provider-icon.tsx +2 -1
  259. package/src/components/app-config/constants.ts +25 -1
  260. package/src/components/charts/lazy.tsx +7 -0
  261. package/src/components/charts/tooltip.ts +5 -0
  262. package/src/components/charts/types.ts +8 -0
  263. package/src/components/chat/acp/__tests__/state.test.ts +0 -13
  264. package/src/components/chat/acp/agent-panel.tsx +7 -1
  265. package/src/components/chat/acp/agent-selector.tsx +5 -0
  266. package/src/components/chat/acp/blocks.tsx +51 -8
  267. package/src/components/chat/acp/state.ts +8 -2
  268. package/src/components/chat/acp/thread.tsx +10 -3
  269. package/src/components/chat/chat-panel.tsx +7 -1
  270. package/src/components/data-table/__tests__/__snapshots__/chart-spec-model.test.ts.snap +473 -184
  271. package/src/components/data-table/__tests__/chart-spec-model.test.ts +32 -28
  272. package/src/components/data-table/charts/__tests__/__snapshots__/spec-snapshot.test.ts.snap +1 -1
  273. package/src/components/data-table/charts/__tests__/altair-generator.test.ts +162 -0
  274. package/src/components/data-table/charts/__tests__/spec-snapshot.test.ts +1 -1
  275. package/src/components/data-table/charts/__tests__/spec.test.ts +145 -6
  276. package/src/components/data-table/charts/chart-spec/altair-generator.ts +6 -1
  277. package/src/components/data-table/charts/chart-spec/encodings.ts +11 -7
  278. package/src/components/data-table/charts/chart-spec/spec.ts +9 -8
  279. package/src/components/data-table/charts/chart-spec/tooltips.ts +4 -3
  280. package/src/components/data-table/charts/chart-spec/types.ts +1 -1
  281. package/src/components/data-table/charts/chart-spec/utils.ts +23 -0
  282. package/src/components/data-table/charts/components/form-fields.tsx +2 -2
  283. package/src/components/data-table/charts/constants.ts +7 -3
  284. package/src/components/data-table/charts/lazy-chart.tsx +15 -11
  285. package/src/components/data-table/charts/types.ts +6 -14
  286. package/src/components/data-table/column-summary/chart-spec-model.tsx +112 -269
  287. package/src/components/data-table/column-summary/column-summary.tsx +12 -12
  288. package/src/components/data-table/column-summary/legacy-chart-spec.ts +78 -2
  289. package/src/components/data-table/column-summary/utils.ts +1 -1
  290. package/src/components/datasources/__tests__/utils.test.ts +339 -138
  291. package/src/components/datasources/column-preview.tsx +9 -9
  292. package/src/components/datasources/datasources.tsx +4 -0
  293. package/src/components/datasources/utils.ts +94 -4
  294. package/src/components/editor/Output.tsx +9 -6
  295. package/src/components/editor/ai/ai-completion-editor.tsx +2 -2
  296. package/src/components/editor/code/readonly-diff.tsx +4 -0
  297. package/src/components/editor/output/ConsoleOutput.tsx +14 -11
  298. package/src/components/editor/renderers/slides-layout/types.ts +1 -1
  299. package/src/components/tracing/tracing-spec.ts +2 -2
  300. package/src/components/tracing/tracing.test.tsx +1 -1
  301. package/src/components/tracing/tracing.tsx +57 -74
  302. package/src/components/tracing/utils.ts +22 -0
  303. package/src/components/ui/query-param-preserving-link.tsx +48 -0
  304. package/src/core/ai/context/providers/__tests__/cell-output.test.ts +12 -1
  305. package/src/core/ai/context/providers/cell-output.ts +2 -8
  306. package/src/core/ai/tools/__tests__/run-cells-tool.test.ts +1 -1
  307. package/src/core/ai/tools/edit-notebook-tool.ts +15 -7
  308. package/src/core/ai/tools/run-cells-tool.ts +60 -26
  309. package/src/core/cells/ids.ts +1 -1
  310. package/src/core/codemirror/language/__tests__/extension.test.ts +6 -12
  311. package/src/core/codemirror/language/__tests__/markdown.test.ts +23 -36
  312. package/src/core/codemirror/language/languages/python.ts +40 -6
  313. package/src/core/codemirror/language/languages/sql/completion-store.ts +2 -2
  314. package/src/core/codemirror/language/languages/sql/sql.ts +14 -0
  315. package/src/core/codemirror/language/languages/sql/utils.ts +54 -3
  316. package/src/core/codemirror/lsp/notebook-lsp.ts +52 -4
  317. package/src/core/codemirror/lsp/transports.ts +3 -0
  318. package/src/core/datasets/__tests__/data-source.test.ts +6 -0
  319. package/src/core/datasets/data-source-connections.ts +1 -0
  320. package/src/core/dom/__tests__/outline.test.ts +43 -0
  321. package/src/core/dom/outline.ts +1 -1
  322. package/src/core/islands/main.ts +2 -0
  323. package/src/core/lsp/__tests__/transport.test.ts +57 -0
  324. package/src/core/lsp/transport.ts +16 -0
  325. package/src/css/md.css +6 -0
  326. package/src/plugins/core/RenderHTML.tsx +26 -0
  327. package/src/plugins/core/__test__/sanitize.test.ts +27 -0
  328. package/src/plugins/core/sanitize.ts +9 -2
  329. package/src/plugins/impl/DataTablePlugin.tsx +21 -27
  330. package/src/plugins/impl/data-explorer/ConnectedDataExplorerComponent.tsx +26 -22
  331. package/src/plugins/impl/data-explorer/functions/function.ts +1 -2
  332. package/src/plugins/impl/data-explorer/functions/types.ts +65 -14
  333. package/src/plugins/impl/data-explorer/queries/queries.ts +9 -9
  334. package/src/plugins/impl/data-explorer/queries/types.ts +23 -5
  335. package/src/plugins/impl/data-frames/DataFramePlugin.tsx +2 -1
  336. package/src/plugins/impl/vega/__tests__/__snapshots__/make-selectable.test.ts.snap +2309 -0
  337. package/src/plugins/impl/vega/__tests__/encodings.test.ts +93 -0
  338. package/src/plugins/impl/vega/__tests__/make-selectable.test.ts +621 -0
  339. package/src/plugins/impl/vega/__tests__/params.test.ts +121 -1
  340. package/src/plugins/impl/vega/encodings.ts +16 -2
  341. package/src/plugins/impl/vega/make-selectable.ts +339 -10
  342. package/src/plugins/impl/vega/params.ts +76 -14
  343. package/src/plugins/impl/vega/types.ts +32 -13
  344. package/src/plugins/impl/vega/vega-component.tsx +74 -26
  345. package/src/plugins/impl/vega/vega.css +1 -0
  346. package/src/stories/__fixtures__/vega.ts +1 -1
  347. package/src/utils/arrays.ts +16 -0
  348. package/dist/_baseUniq-CKN9mEDq.js +0 -324
  349. package/dist/any-language-editor-Du2Q_6IK.js +0 -156
  350. package/dist/apl-CUm2DGqh.js +0 -4
  351. package/dist/architecture-O4VJ6CD3-PFw3eFBY.js +0 -21
  352. package/dist/asciiarmor-lqJ78U01.js +0 -4
  353. package/dist/asn1-CjwpSTlW.js +0 -4
  354. package/dist/brainfuck-ClvDI1dq.js +0 -4
  355. package/dist/classDiagram-KNZD7YFC-HUFFxNdk.js +0 -40
  356. package/dist/classDiagram-v2-RKCZMP56-Dw7Acmuf.js +0 -40
  357. package/dist/clojure-8GefCgPe.js +0 -4
  358. package/dist/cmake-yAhT9H0F.js +0 -4
  359. package/dist/cobol-BmltueOY.js +0 -4
  360. package/dist/coffeescript-C7KEQBcH.js +0 -4
  361. package/dist/commonlisp-CNbiJRU-.js +0 -4
  362. package/dist/crystal-OdjZZ8bc.js +0 -4
  363. package/dist/css-DhTxMmL_.js +0 -5
  364. package/dist/cypher-CgN8E3YI.js +0 -4
  365. package/dist/d-g41sJcBC.js +0 -4
  366. package/dist/diff-ViRYYhhg.js +0 -4
  367. package/dist/dist-BfJO8Bm9.js +0 -12
  368. package/dist/dist-CLuF3AtO.js +0 -6
  369. package/dist/dist-CU04U4NL.js +0 -10
  370. package/dist/dist-DNUT6b47.js +0 -6
  371. package/dist/dist-DbAb2sY7.js +0 -6
  372. package/dist/dist-DiDFQ2Rk.js +0 -6
  373. package/dist/dist-SNAyAOJ-.js +0 -6
  374. package/dist/dist-cbW5xJNV.js +0 -6
  375. package/dist/dist-h8eGLSbK.js +0 -10
  376. package/dist/dylan-BX8KJufP.js +0 -4
  377. package/dist/ecl-CWtLaNMH.js +0 -4
  378. package/dist/eiffel-C-mlZPMn.js +0 -4
  379. package/dist/elm-CWp06vcb.js +0 -4
  380. package/dist/erlang-pfp22AZM.js +0 -4
  381. package/dist/error-banner-BAWlXn49.js +0 -1012
  382. package/dist/esm-B2pocBPL.js +0 -26
  383. package/dist/esm-YVnxJqkD.js +0 -33066
  384. package/dist/factor-CEn53jua.js +0 -5
  385. package/dist/forth-CL8vu_y8.js +0 -4
  386. package/dist/fortran-DsmXkYtE.js +0 -4
  387. package/dist/gas-mYt9Rtlx.js +0 -4
  388. package/dist/gherkin-DHNCKBNj.js +0 -4
  389. package/dist/gitGraph-ZV4HHKMB-Cpd6k0O8.js +0 -21
  390. package/dist/graphlib-DRS8CrjA.js +0 -227
  391. package/dist/groovy-DzRtOS5a.js +0 -4
  392. package/dist/haskell-Bl9iT_Mp.js +0 -4
  393. package/dist/haxe-DqA0ED6k.js +0 -5
  394. package/dist/idl-WU2hil4i.js +0 -4
  395. package/dist/info-63CPKGFF-CG-xzUJo.js +0 -21
  396. package/dist/infoDiagram-STP46IZ2-zoRBGoup.js +0 -45
  397. package/dist/javascript-QY2BGJeV.js +0 -5
  398. package/dist/jinja2-Czleq7Sk.js +0 -4
  399. package/dist/jsx-runtime-DZyWJV5b.js +0 -31
  400. package/dist/julia-Dru3Qi0y.js +0 -4
  401. package/dist/livescript-Dxqi_HLT.js +0 -4
  402. package/dist/lua-ByH1cUQZ.js +0 -4
  403. package/dist/mathematica-CWJIFuES.js +0 -4
  404. package/dist/mbox-qhPIGaUI.js +0 -4
  405. package/dist/min-Dwa_NbP6.js +0 -93
  406. package/dist/mirc-yYcXhXBY.js +0 -4
  407. package/dist/mllike-BfT_Nl9x.js +0 -6
  408. package/dist/modelica-lVDtz1Rm.js +0 -4
  409. package/dist/mscgen-DvwdD1QJ.js +0 -6
  410. package/dist/mumps-BiY3GwKd.js +0 -4
  411. package/dist/nsis-Dk18Sq_4.js +0 -5
  412. package/dist/ntriples-Cj-8VqKF.js +0 -4
  413. package/dist/octave-BgFAaYjU.js +0 -4
  414. package/dist/oz-IsEG1I1m.js +0 -4
  415. package/dist/packet-HUATNLJX-Cafuo3IG.js +0 -21
  416. package/dist/pascal-BVf7FtIE.js +0 -4
  417. package/dist/perl-BM0-y4mZ.js +0 -4
  418. package/dist/pie-WTHONI2E-BE0pHBwB.js +0 -21
  419. package/dist/pig-CLBjzQmc.js +0 -4
  420. package/dist/powershell-B_qvE33J.js +0 -4
  421. package/dist/properties-CUTpsH2y.js +0 -4
  422. package/dist/protobuf-DqCP8a-0.js +0 -4
  423. package/dist/pug-BvexKkw4.js +0 -5
  424. package/dist/puppet-CoIi0R3f.js +0 -4
  425. package/dist/python-C-11-YMh.js +0 -5
  426. package/dist/q-CCVgEip7.js +0 -4
  427. package/dist/r-CIdR0Sfs.js +0 -4
  428. package/dist/radar-NJJJXTRR-0adgjw0u.js +0 -21
  429. package/dist/rpm-Dwvm039g.js +0 -5
  430. package/dist/ruby-DpTnO5gb.js +0 -4
  431. package/dist/sas-CK9boxgv.js +0 -4
  432. package/dist/scheme-Y1aYL-Qq.js +0 -4
  433. package/dist/shell-D3eXGsHd.js +0 -4
  434. package/dist/sieve-BdwSFdWJ.js +0 -4
  435. package/dist/smalltalk-BTYJquCm.js +0 -4
  436. package/dist/sparql-CYF0g4Cc.js +0 -4
  437. package/dist/stateDiagram-v2-UMBNRL4Z-DdJ7qVWc.js +0 -39
  438. package/dist/stex-CyWhoWHt.js +0 -5
  439. package/dist/stylus-BBiKaI2h.js +0 -4
  440. package/dist/swift-COb15qFR.js +0 -4
  441. package/dist/tcl-Jik1LXu9.js +0 -4
  442. package/dist/textile-BFHPD3wr.js +0 -4
  443. package/dist/toml-Brp9fBXs.js +0 -4
  444. package/dist/treemap-75Q7IDZK-CyBT8_Wh.js +0 -21
  445. package/dist/troff-CcZRW4vg.js +0 -4
  446. package/dist/tslib.es6-3ZL768sZ.js +0 -49
  447. package/dist/ttcn-Bz_6ifRd.js +0 -4
  448. package/dist/ttcn-cfg-v-yi2rKc.js +0 -4
  449. package/dist/turtle-CDOsZYhB.js +0 -4
  450. package/dist/useDateFormatter-BkbjKw83.js +0 -543
  451. package/dist/vb-CL7fRwRw.js +0 -4
  452. package/dist/vbscript-CR2xfxpw.js +0 -4
  453. package/dist/vega-component-BfFcXZxw.js +0 -465
  454. package/dist/velocity-CfuZoxPt.js +0 -4
  455. package/dist/verilog-CySTkzw_.js +0 -4
  456. package/dist/vhdl-Dvcd8KHW.js +0 -4
  457. package/dist/webidl-tbJt7sKk.js +0 -4
  458. package/dist/xquery-DJQVztyc.js +0 -4
  459. package/dist/yacas-BbgBReEH.js +0 -4
  460. package/dist/z80-DPyb8VGz.js +0 -4
  461. /package/dist/{_arrayReduce-Cd9xQjbl.js → _arrayReduce-CmsTTAw1.js} +0 -0
  462. /package/dist/{_baseSlice-CE9WsQZm.js → _baseSlice-CAnpEJwx.js} +0 -0
  463. /package/dist/{_hasUnicode-DkEebvtD.js → _hasUnicode-CbmCTPAa.js} +0 -0
  464. /package/dist/{apl-aGhy11IM.js → apl-Css595_H.js} +0 -0
  465. /package/dist/{array-DYSXIreg.js → array-D3smvOQ_.js} +0 -0
  466. /package/dist/{asciiarmor-DJKJ3Gkn.js → asciiarmor-BTCuJwxh.js} +0 -0
  467. /package/dist/{asn1-C6f5IeNs.js → asn1-DXjhS5QI.js} +0 -0
  468. /package/dist/{asterisk-DB1poX9_.js → asterisk-5HlmsIaw.js} +0 -0
  469. /package/dist/{brainfuck-Ch9vjun0.js → brainfuck--WlEc-iG.js} +0 -0
  470. /package/dist/{chunk-57QY23SG-BpXU7ph4.js → chunk-57QY23SG-D7ymhFFp.js} +0 -0
  471. /package/dist/{click-outside-container-2BH589Bq.js → click-outside-container-DSVM9sZw.js} +0 -0
  472. /package/dist/{clike-Bc2PZzZQ.js → clike-DDIJB_R8.js} +0 -0
  473. /package/dist/{clojure-B_lpr3zt.js → clojure-Z-GPBZyY.js} +0 -0
  474. /package/dist/{cmake-DaocNF4I.js → cmake-DncBqspt.js} +0 -0
  475. /package/dist/{cobol-suTPtt7c.js → cobol-DqUe0gl7.js} +0 -0
  476. /package/dist/{coffeescript-CPLIvtqJ.js → coffeescript-CH5_OO0H.js} +0 -0
  477. /package/dist/{colors-BXlG8Lmz.js → colors-DQmMCNWX.js} +0 -0
  478. /package/dist/{common-keywords-Bhll7O3b.js → common-keywords-CAEsQSF5.js} +0 -0
  479. /package/dist/{commonlisp-BqM3qFK7.js → commonlisp-UmhR9BfE.js} +0 -0
  480. /package/dist/{crystal-AsSFu4ke.js → crystal-5Sqf7MXt.js} +0 -0
  481. /package/dist/{css-Df7Sdeyh.js → css-bDybSxwf.js} +0 -0
  482. /package/dist/{cypher-CaVKL6Gu.js → cypher-PIeAFhrd.js} +0 -0
  483. /package/dist/{cytoscape.esm-BFEMljQI.js → cytoscape.esm-DclyBJ4D.js} +0 -0
  484. /package/dist/{d-DCGWK7NQ.js → d-Bd8EVRQt.js} +0 -0
  485. /package/dist/{defaultLocale-Cto8YOmX.js → defaultLocale-BPzjWfXP.js} +0 -0
  486. /package/dist/{defaultLocale-CYgZlqDF.js → defaultLocale-Om7Wxg5c.js} +0 -0
  487. /package/dist/{diff-CsxOM4Tr.js → diff-CAQdgtD6.js} +0 -0
  488. /package/dist/{dtd-Dwr0Jmks.js → dtd-eKW3pZj_.js} +0 -0
  489. /package/dist/{duckdb-keywords-7wAWf848.js → duckdb-keywords-BC3kWZZM.js} +0 -0
  490. /package/dist/{dylan-A7-ZBSey.js → dylan-CIO7R9Tr.js} +0 -0
  491. /package/dist/{ebnf-9_SaGDUz.js → ebnf-Pr4a9I6n.js} +0 -0
  492. /package/dist/{ecl-BzJVIQDc.js → ecl-BqYW-aOJ.js} +0 -0
  493. /package/dist/{eiffel-CO9eC_Op.js → eiffel-BOKM91eM.js} +0 -0
  494. /package/dist/{elm-CVAWj8SB.js → elm-3sobs3PV.js} +0 -0
  495. /package/dist/{emotion-is-prop-valid.esm-C3Yi5GQt.js → emotion-is-prop-valid.esm-Cm1uulbm.js} +0 -0
  496. /package/dist/{erlang-DWbZP546.js → erlang-C5EBzhP1.js} +0 -0
  497. /package/dist/{esm-AtKNNGYO.js → esm-CopBBL2y.js} +0 -0
  498. /package/dist/{fcl-CM9t2iay.js → fcl-Brh8s8q_.js} +0 -0
  499. /package/dist/{forth-BTYqUuu3.js → forth-DneRHr4K.js} +0 -0
  500. /package/dist/{fortran-DgAjHcCq.js → fortran-DsdmZbwQ.js} +0 -0
  501. /package/dist/{gas-BjDSWPZd.js → gas-DaoJ65Z9.js} +0 -0
  502. /package/dist/{gherkin-ClRqqpKv.js → gherkin-DUP_UlW-.js} +0 -0
  503. /package/dist/{groovy-BzNjnc8x.js → groovy-Rvyan8yX.js} +0 -0
  504. /package/dist/{haskell-DLdk34Jq.js → haskell-DIvpY54L.js} +0 -0
  505. /package/dist/{haxe-l6gaY_IS.js → haxe-Da_5bBNs.js} +0 -0
  506. /package/dist/{http-6Qg7z_h2.js → http-CMvcwl3E.js} +0 -0
  507. /package/dist/{idl-hlWT4D26.js → idl-DvL3aO0N.js} +0 -0
  508. /package/dist/{init-tZ42Torz.js → init-BNp5RczD.js} +0 -0
  509. /package/dist/{invariant-D3JoRb4I.js → invariant-Cl2wkkjN.js} +0 -0
  510. /package/dist/{isArrayLikeObject-DU5MCuQM.js → isArrayLikeObject-1qkWxZbL.js} +0 -0
  511. /package/dist/{javascript-DGukg1sB.js → javascript-DoyAP8vn.js} +0 -0
  512. /package/dist/{jinja2-DI5k_Er3.js → jinja2-Veqp7mFj.js} +0 -0
  513. /package/dist/{julia-BvDZDiIT.js → julia-Gi684CX7.js} +0 -0
  514. /package/dist/{katex-DgfMWJY9.js → katex-U6RPAuWM.js} +0 -0
  515. /package/dist/{livescript-2YMQfkfI.js → livescript-BKj_Zhvo.js} +0 -0
  516. /package/dist/{lua-DIUrQRfA.js → lua-CDA7hreG.js} +0 -0
  517. /package/dist/{main-BMTpe7M0.js → main-63eIj2Yx.js} +0 -0
  518. /package/dist/{marked.esm-DkVwEwtO.js → marked.esm-DE8HU3tw.js} +0 -0
  519. /package/dist/{math-qsHyz2Eo.js → math-C2iLT5gz.js} +0 -0
  520. /package/dist/{mathematica-Dqmg_BwL.js → mathematica-GWfSHReY.js} +0 -0
  521. /package/dist/{mbox-Cng-P-F1.js → mbox-Dwsrc4Ak.js} +0 -0
  522. /package/dist/{mirc-CNDqOVhQ.js → mirc-B2JE5ype.js} +0 -0
  523. /package/dist/{mllike-C1n2UDyX.js → mllike-BkBh4PFX.js} +0 -0
  524. /package/dist/{modelica-QqQC2pFj.js → modelica-C0hNlKgR.js} +0 -0
  525. /package/dist/{mscgen-C3fl8uhp.js → mscgen-DWWpdZnb.js} +0 -0
  526. /package/dist/{mumps-BeCUbMej.js → mumps-CMePAlSe.js} +0 -0
  527. /package/dist/{nginx-ejv7DsBz.js → nginx-GurZbX0E.js} +0 -0
  528. /package/dist/{node-sql-parser-CoPWN4hn.js → node-sql-parser-IKID_dZE.js} +0 -0
  529. /package/dist/{ntriples-CUgUpcma.js → ntriples-BnE6tX0Y.js} +0 -0
  530. /package/dist/{octave-BD652tGl.js → octave-Dfu3PmNP.js} +0 -0
  531. /package/dist/{oz-DrRsFa0K.js → oz-DqNpAjpZ.js} +0 -0
  532. /package/dist/{pascal-hpcx9sVn.js → pascal-GP_8jbNL.js} +0 -0
  533. /package/dist/{path-Bbv2tLY1.js → path-BeMi_1Je.js} +0 -0
  534. /package/dist/{perl-DW8XHeFc.js → perl-DUDEqQOD.js} +0 -0
  535. /package/dist/{pig-Cv7Nxbfo.js → pig-Csr4LnKs.js} +0 -0
  536. /package/dist/{powershell-Dr7WZMDU.js → powershell-Cw4tDKZx.js} +0 -0
  537. /package/dist/{prop-types-Bd16OEUP.js → prop-types-CzOfzj9N.js} +0 -0
  538. /package/dist/{properties-D-qJDXAM.js → properties-CUhUGfHR.js} +0 -0
  539. /package/dist/{protobuf-B48QZbd3.js → protobuf-CPZe957V.js} +0 -0
  540. /package/dist/{puppet-15JDyiY2.js → puppet-BP1AOwo6.js} +0 -0
  541. /package/dist/{purify.es-CrfFzTyi.js → purify.es-CDFkadZl.js} +0 -0
  542. /package/dist/{python-DWkQA94h.js → python-BMcMimC3.js} +0 -0
  543. /package/dist/{q-BzRpKgfd.js → q-BNfSHUci.js} +0 -0
  544. /package/dist/{r-dcNRe_Q8.js → r-DiJzLRZc.js} +0 -0
  545. /package/dist/{range-CQvYp_qE.js → range-sX2tw-Jz.js} +0 -0
  546. /package/dist/{react-dom-CpBooCbY.js → react-dom-BTjywDxo.js} +0 -0
  547. /package/dist/{rpm-Djl3Dsf1.js → rpm-CywAxCKo.js} +0 -0
  548. /package/dist/{ruby-Dd2CZTip.js → ruby-B0a4mSSU.js} +0 -0
  549. /package/dist/{sas-DYF5_Iqu.js → sas-DTh30wZQ.js} +0 -0
  550. /package/dist/{scheme-YtWcji1H.js → scheme-CsOlAIFf.js} +0 -0
  551. /package/dist/{shell-C3uC3Y0Z.js → shell-7w75P-tg.js} +0 -0
  552. /package/dist/{sieve-DHB17sQG.js → sieve-BphUEMa4.js} +0 -0
  553. /package/dist/{simple-mode-BMmwP_vI.js → simple-mode-BcThS5Pa.js} +0 -0
  554. /package/dist/{smalltalk-Y5v1Np3H.js → smalltalk-CHwdNey_.js} +0 -0
  555. /package/dist/{solr-DvRJLlRD.js → solr-CuWbYJLt.js} +0 -0
  556. /package/dist/{sparql-BEt3GJwM.js → sparql-BtwCqUvT.js} +0 -0
  557. /package/dist/{spreadsheet-Dp4B9_rc.js → spreadsheet-C1JzeuKn.js} +0 -0
  558. /package/dist/{sql-DBsUs8nQ.js → sql-wv_2DQzf.js} +0 -0
  559. /package/dist/{stex-C6-x52ei.js → stex-BmcrV7cx.js} +0 -0
  560. /package/dist/{stylus-DroA8via.js → stylus-SVJ7TGPh.js} +0 -0
  561. /package/dist/{swift-DR0x1ESK.js → swift-f7KaABxm.js} +0 -0
  562. /package/dist/{tcl-BeuTFc_c.js → tcl-CbTFkeHJ.js} +0 -0
  563. /package/dist/{textile-C0ikhHN3.js → textile-CFn6QLRy.js} +0 -0
  564. /package/dist/{tiddlywiki-C_2Nvsgu.js → tiddlywiki-DBhMcdVM.js} +0 -0
  565. /package/dist/{tiki-CKQlhmQQ.js → tiki-CqcXr_YN.js} +0 -0
  566. /package/dist/{timer-CcUhugb0.js → timer-ly0jlpkr.js} +0 -0
  567. /package/dist/{toml-BqNUJWRI.js → toml-YgDIoI1n.js} +0 -0
  568. /package/dist/{treemap-BYLUKIzA.js → treemap-D5sUCpbF.js} +0 -0
  569. /package/dist/{troff-DkK0f2ZH.js → troff-CIp_4RXg.js} +0 -0
  570. /package/dist/{ttcn-Bf8vrg-_.js → ttcn-Yn_uOBYK.js} +0 -0
  571. /package/dist/{ttcn-cfg-DjCKzd95.js → ttcn-cfg-BVum2rmM.js} +0 -0
  572. /package/dist/{turtle-SSc84S9m.js → turtle-BeWx-YoQ.js} +0 -0
  573. /package/dist/{vb-CQ6DC3cL.js → vb-DKEmSA_2.js} +0 -0
  574. /package/dist/{vbscript-Dw0gFssg.js → vbscript-BPsxuP0n.js} +0 -0
  575. /package/dist/{velocity-BvJQyBmj.js → velocity-ycm1NvlO.js} +0 -0
  576. /package/dist/{verilog-CKGAvQjj.js → verilog-ogjm0Ytr.js} +0 -0
  577. /package/dist/{vhdl-B40_x6fM.js → vhdl-BvjyOM9y.js} +0 -0
  578. /package/dist/{webidl-Bi9hczCv.js → webidl-QdwcTYEu.js} +0 -0
  579. /package/dist/{xquery-DwWUXvP3.js → xquery-BErHIIc-.js} +0 -0
  580. /package/dist/{yacas-ClUs0mmH.js → yacas-BBBJNs0h.js} +0 -0
  581. /package/dist/{z80-DPC4UGzR.js → z80-nG9RRukG.js} +0 -0
  582. /package/dist/{zod-mAEs2ITo.js → zod-0AbTN3Cg.js} +0 -0
@@ -1,125 +1,126 @@
1
1
  import { s as __toESM } from "./chunk-DgPTj83v.js";
2
2
  import { t as require_react } from "./react-DHL_F5hS.js";
3
- import { n as require_compiler_runtime, t as require_jsx_runtime } from "./jsx-runtime-DZyWJV5b.js";
4
- import { n as Copy, r as toast, t as copyToClipboard } from "./copy-GNcK40wy.js";
5
- import { t as Check } from "./check-COlaG7Ss.js";
6
- import { d as cn, u as Events } from "./button-ADXOb_gX.js";
7
- import { c as Tooltip } from "./error-banner-BAWlXn49.js";
8
- import { $ as ViewPlugin, A as indentString, At as RangeSet, B as tags, Bt as countColumn, C as foldKeymap, Ct as CharCategory, D as getIndentation, Dt as Facet, E as getIndentUnit, Et as EditorState, F as syntaxHighlighting, Ft as Text, H as NodeProp, Ht as fromCodePoint, I as syntaxTree, It as Transaction, J as parseMixed, Lt as codePointAt, N as matchBrackets, Nt as StateEffect, O as indentNodeProp, Pt as StateField, R as Tag, Rt as codePointSize, S as foldInside, St as ChangeSet, Tt as EditorSelection, Vt as findClusterBreak, X as Direction, Y as Decoration, Z as EditorView, _t as showPanel, a as HighlightStyle, bt as Annotation, ct as highlightActiveLineGutter, dt as keymap, et as WidgetType, f as StreamLanguage, ft as lineNumbers, g as defaultHighlightStyle, gt as runScopeHandlers, h as continuedIndent, ht as rectangularSelection, it as getPanel, j as indentUnit, jt as RangeSetBuilder, k as indentOnInput, kt as Prec, lt as highlightSpecialChars, mt as placeholder, n as ExternalTokenizer, nt as drawSelection, o as IndentContext, p as bracketMatching, pt as logException, r as LRParser, rt as dropCursor, s as LRLanguage, st as highlightActiveLine, t as ContextTracker, tt as crosshairCursor, u as LanguageSupport, ut as hoverTooltip, v as delimitedIndent, w as foldNodeProp, x as foldGutter, xt as ChangeDesc, yt as crelt, z as styleTags, zt as combineConfig } from "./dist-BAqp4Vtl.js";
9
- import { a as closeBracketsKeymap, c as completionKeymap, f as snippetCompletion, i as closeBrackets, l as ifNotIn, r as autocompletion, s as completeFromList } from "./dist-CPNnKuPh.js";
10
- import { i as markdown } from "./dist-CWqB4bg8.js";
11
- import { n as html, r as htmlCompletionSource } from "./dist-DxESp2-T.js";
12
- import { r as cssLanguage, t as css } from "./dist-BBhmkni2.js";
13
- import { c as typescriptLanguage, n as javascript, r as javascriptLanguage, u as parser$1 } from "./dist-71jYYbWP.js";
14
- import { r as python } from "./dist-28HYzERB.js";
15
- import { t as stex } from "./stex-C6-x52ei.js";
16
- import { a as PLSQL, f as sql, l as StandardSQL, t as Cassandra } from "./dist-BNRdMfJH.js";
17
- import { t as cpp } from "./dist-DlK420ke.js";
18
- import { t as go } from "./dist-DaTVdKJa.js";
19
- import { t as java } from "./dist-Da046MhT.js";
20
- import { t as json } from "./dist-BaPjLM6s.js";
21
- import { t as less } from "./dist-B8Pbw5ln.js";
22
- import { n as liquid } from "./dist-BqdQPWpQ.js";
23
- import { t as php } from "./dist-CNvMOZu9.js";
24
- import { t as rust } from "./dist-Cw0F6l-7.js";
25
- import { t as sass } from "./dist-BYHiiJB-.js";
26
- import { t as wast } from "./dist-CwZcC4om.js";
27
- import { r as xml } from "./dist-DzJem5xc.js";
28
- import { t as yaml } from "./dist-C9-uHBqC.js";
29
- import { t as apl } from "./apl-aGhy11IM.js";
30
- import { t as asciiArmor } from "./asciiarmor-DJKJ3Gkn.js";
31
- import { t as asn1 } from "./asn1-C6f5IeNs.js";
32
- import { t as brainfuck } from "./brainfuck-Ch9vjun0.js";
33
- import { t as cobol } from "./cobol-suTPtt7c.js";
34
- import { c as squirrel, i as kotlin, n as csharp, o as objectiveCpp, r as dart, s as scala } from "./clike-Bc2PZzZQ.js";
35
- import { t as clojure } from "./clojure-B_lpr3zt.js";
36
- import { t as gss } from "./css-Df7Sdeyh.js";
37
- import { t as cmake } from "./cmake-DaocNF4I.js";
38
- import { t as coffeeScript } from "./coffeescript-CPLIvtqJ.js";
39
- import { t as commonLisp } from "./commonlisp-BqM3qFK7.js";
40
- import { t as cypher } from "./cypher-CaVKL6Gu.js";
41
- import { t as cython } from "./python-DWkQA94h.js";
42
- import { t as crystal } from "./crystal-AsSFu4ke.js";
43
- import { t as d } from "./d-DCGWK7NQ.js";
44
- import { t as diff } from "./diff-CsxOM4Tr.js";
45
- import { t as dtd } from "./dtd-Dwr0Jmks.js";
46
- import { t as dylan } from "./dylan-A7-ZBSey.js";
47
- import { t as ecl } from "./ecl-BzJVIQDc.js";
48
- import { t as eiffel } from "./eiffel-CO9eC_Op.js";
49
- import { t as elm } from "./elm-CVAWj8SB.js";
50
- import { t as erlang } from "./erlang-DWbZP546.js";
51
- import { t as factor } from "./factor-BZnBK3CG.js";
52
- import { t as forth } from "./forth-BTYqUuu3.js";
53
- import { t as fortran } from "./fortran-DgAjHcCq.js";
54
- import { n as oCaml, r as sml, t as fSharp } from "./mllike-C1n2UDyX.js";
55
- import { t as gas } from "./gas-BjDSWPZd.js";
56
- import { t as gherkin } from "./gherkin-ClRqqpKv.js";
57
- import { t as groovy } from "./groovy-BzNjnc8x.js";
58
- import { t as haskell } from "./haskell-DLdk34Jq.js";
59
- import { n as hxml, t as haxe } from "./haxe-l6gaY_IS.js";
60
- import { t as idl } from "./idl-hlWT4D26.js";
61
- import { n as jsonld } from "./javascript-DGukg1sB.js";
62
- import { t as jinja2 } from "./jinja2-DI5k_Er3.js";
63
- import { t as julia } from "./julia-BvDZDiIT.js";
64
- import { t as liveScript } from "./livescript-2YMQfkfI.js";
65
- import { t as lua } from "./lua-DIUrQRfA.js";
66
- import { t as mirc } from "./mirc-CNDqOVhQ.js";
67
- import { t as mathematica } from "./mathematica-Dqmg_BwL.js";
68
- import { t as modelica } from "./modelica-QqQC2pFj.js";
69
- import { t as mumps } from "./mumps-BeCUbMej.js";
70
- import { t as mbox } from "./mbox-Cng-P-F1.js";
71
- import { t as nsis } from "./nsis-D4bLR_Y1.js";
72
- import { t as ntriples } from "./ntriples-CUgUpcma.js";
73
- import { t as octave } from "./octave-BD652tGl.js";
74
- import { t as oz } from "./oz-DrRsFa0K.js";
75
- import { t as pascal } from "./pascal-hpcx9sVn.js";
76
- import { t as perl } from "./perl-DW8XHeFc.js";
77
- import { t as pig } from "./pig-Cv7Nxbfo.js";
78
- import { t as powerShell } from "./powershell-Dr7WZMDU.js";
79
- import { t as properties } from "./properties-D-qJDXAM.js";
80
- import { t as protobuf } from "./protobuf-B48QZbd3.js";
81
- import { t as pug } from "./pug-Dv3gE36O.js";
82
- import { t as puppet } from "./puppet-15JDyiY2.js";
83
- import { t as q } from "./q-BzRpKgfd.js";
84
- import { t as r } from "./r-dcNRe_Q8.js";
85
- import { n as rpmSpec } from "./rpm-Djl3Dsf1.js";
86
- import { t as ruby } from "./ruby-Dd2CZTip.js";
87
- import { t as sas } from "./sas-DYF5_Iqu.js";
88
- import { t as scheme } from "./scheme-YtWcji1H.js";
89
- import { t as shell } from "./shell-C3uC3Y0Z.js";
90
- import { t as sieve } from "./sieve-DHB17sQG.js";
91
- import { t as smalltalk } from "./smalltalk-Y5v1Np3H.js";
92
- import { t as sparql } from "./sparql-BEt3GJwM.js";
93
- import { t as stylus } from "./stylus-DroA8via.js";
94
- import { t as swift } from "./swift-DR0x1ESK.js";
95
- import { t as verilog } from "./verilog-CKGAvQjj.js";
96
- import { t as tcl } from "./tcl-BeuTFc_c.js";
97
- import { t as textile } from "./textile-C0ikhHN3.js";
98
- import { t as toml } from "./toml-BqNUJWRI.js";
99
- import { t as troff } from "./troff-DkK0f2ZH.js";
100
- import { t as ttcn } from "./ttcn-Bf8vrg-_.js";
101
- import { t as ttcnCfg } from "./ttcn-cfg-DjCKzd95.js";
102
- import { t as turtle } from "./turtle-SSc84S9m.js";
103
- import { t as webIDL } from "./webidl-Bi9hczCv.js";
104
- import { t as vb } from "./vb-CQ6DC3cL.js";
105
- import { t as vbScript } from "./vbscript-Dw0gFssg.js";
106
- import { t as velocity } from "./velocity-BvJQyBmj.js";
107
- import { t as vhdl } from "./vhdl-B40_x6fM.js";
108
- import { t as xQuery } from "./xquery-DwWUXvP3.js";
109
- import { t as yacas } from "./yacas-ClUs0mmH.js";
110
- import { t as z80 } from "./z80-DPC4UGzR.js";
111
- import { n as msgenny, r as xu, t as mscgen } from "./mscgen-C3fl8uhp.js";
112
- import { t as vue } from "./dist-_4cudra1.js";
3
+ import { t as require_compiler_runtime } from "./compiler-runtime-5MdCVm0X.js";
4
+ import { n as Copy, r as toast, t as copyToClipboard } from "./copy-bxQOKABs.js";
5
+ import { t as Check } from "./check-BZnPxXnd.js";
6
+ import { d as cn, u as Events } from "./button-B8zS4Mtw.js";
7
+ import { t as require_jsx_runtime } from "./jsx-runtime-CvL6gNI-.js";
8
+ import { c as Tooltip } from "./error-banner-B7LmpmGT.js";
9
+ import { $ as ViewPlugin, A as indentString, At as RangeSet, B as tags, Bt as countColumn, C as foldKeymap, Ct as CharCategory, D as getIndentation, Dt as Facet, E as getIndentUnit, Et as EditorState, F as syntaxHighlighting, Ft as Text, H as NodeProp, Ht as fromCodePoint, I as syntaxTree, It as Transaction, J as parseMixed, Lt as codePointAt, N as matchBrackets, Nt as StateEffect, O as indentNodeProp, Pt as StateField, R as Tag, Rt as codePointSize, S as foldInside, St as ChangeSet, Tt as EditorSelection, Vt as findClusterBreak, X as Direction, Y as Decoration, Z as EditorView, _t as showPanel, a as HighlightStyle, bt as Annotation, ct as highlightActiveLineGutter, dt as keymap, et as WidgetType, f as StreamLanguage, ft as lineNumbers, g as defaultHighlightStyle, gt as runScopeHandlers, h as continuedIndent, ht as rectangularSelection, it as getPanel, j as indentUnit, jt as RangeSetBuilder, k as indentOnInput, kt as Prec, lt as highlightSpecialChars, mt as placeholder, n as ExternalTokenizer, nt as drawSelection, o as IndentContext, p as bracketMatching, pt as logException, r as LRParser, rt as dropCursor, s as LRLanguage, st as highlightActiveLine, t as ContextTracker, tt as crosshairCursor, u as LanguageSupport, ut as hoverTooltip, v as delimitedIndent, w as foldNodeProp, x as foldGutter, xt as ChangeDesc, yt as crelt, z as styleTags, zt as combineConfig } from "./dist-CBu8cgzz.js";
10
+ import { a as closeBracketsKeymap, c as completionKeymap, f as snippetCompletion, i as closeBrackets, l as ifNotIn, r as autocompletion, s as completeFromList } from "./dist-D08oiinq.js";
11
+ import { i as markdown } from "./dist-C02gS--y.js";
12
+ import { n as html, r as htmlCompletionSource } from "./dist-C5Ns3q-m.js";
13
+ import { r as cssLanguage, t as css } from "./dist-CxRajUZ6.js";
14
+ import { c as typescriptLanguage, n as javascript, r as javascriptLanguage, u as parser$1 } from "./dist-B3CNaJau.js";
15
+ import { r as python } from "./dist-D_GkrgWD.js";
16
+ import { t as stex } from "./stex-BmcrV7cx.js";
17
+ import { a as PLSQL, f as sql, l as StandardSQL, t as Cassandra } from "./dist-D4LUTYHc.js";
18
+ import { t as cpp } from "./dist-owpR56zn.js";
19
+ import { t as go } from "./dist-CXimnGhI.js";
20
+ import { t as java } from "./dist-DvsjKDQ4.js";
21
+ import { t as json } from "./dist-BgsDu-bU.js";
22
+ import { t as less } from "./dist-DiO9ni9a.js";
23
+ import { n as liquid } from "./dist-DSDOMDNR.js";
24
+ import { t as php } from "./dist-XkGsOiy0.js";
25
+ import { t as rust } from "./dist-DbHWFmjZ.js";
26
+ import { t as sass } from "./dist-DlSZED-1.js";
27
+ import { t as wast } from "./dist-HKzG1oF6.js";
28
+ import { r as xml } from "./dist-BMhv6XDi.js";
29
+ import { t as yaml } from "./dist-8v4BI_h_.js";
30
+ import { t as apl } from "./apl-Css595_H.js";
31
+ import { t as asciiArmor } from "./asciiarmor-BTCuJwxh.js";
32
+ import { t as asn1 } from "./asn1-DXjhS5QI.js";
33
+ import { t as brainfuck } from "./brainfuck--WlEc-iG.js";
34
+ import { t as cobol } from "./cobol-DqUe0gl7.js";
35
+ import { c as squirrel, i as kotlin, n as csharp, o as objectiveCpp, r as dart, s as scala } from "./clike-DDIJB_R8.js";
36
+ import { t as clojure } from "./clojure-Z-GPBZyY.js";
37
+ import { t as gss } from "./css-bDybSxwf.js";
38
+ import { t as cmake } from "./cmake-DncBqspt.js";
39
+ import { t as coffeeScript } from "./coffeescript-CH5_OO0H.js";
40
+ import { t as commonLisp } from "./commonlisp-UmhR9BfE.js";
41
+ import { t as cypher } from "./cypher-PIeAFhrd.js";
42
+ import { t as cython } from "./python-BMcMimC3.js";
43
+ import { t as crystal } from "./crystal-5Sqf7MXt.js";
44
+ import { t as d } from "./d-Bd8EVRQt.js";
45
+ import { t as diff } from "./diff-CAQdgtD6.js";
46
+ import { t as dtd } from "./dtd-eKW3pZj_.js";
47
+ import { t as dylan } from "./dylan-CIO7R9Tr.js";
48
+ import { t as ecl } from "./ecl-BqYW-aOJ.js";
49
+ import { t as eiffel } from "./eiffel-BOKM91eM.js";
50
+ import { t as elm } from "./elm-3sobs3PV.js";
51
+ import { t as erlang } from "./erlang-C5EBzhP1.js";
52
+ import { t as factor } from "./factor-7tQNNEWF.js";
53
+ import { t as forth } from "./forth-DneRHr4K.js";
54
+ import { t as fortran } from "./fortran-DsdmZbwQ.js";
55
+ import { n as oCaml, r as sml, t as fSharp } from "./mllike-BkBh4PFX.js";
56
+ import { t as gas } from "./gas-DaoJ65Z9.js";
57
+ import { t as gherkin } from "./gherkin-DUP_UlW-.js";
58
+ import { t as groovy } from "./groovy-Rvyan8yX.js";
59
+ import { t as haskell } from "./haskell-DIvpY54L.js";
60
+ import { n as hxml, t as haxe } from "./haxe-Da_5bBNs.js";
61
+ import { t as idl } from "./idl-DvL3aO0N.js";
62
+ import { n as jsonld } from "./javascript-DoyAP8vn.js";
63
+ import { t as jinja2 } from "./jinja2-Veqp7mFj.js";
64
+ import { t as julia } from "./julia-Gi684CX7.js";
65
+ import { t as liveScript } from "./livescript-BKj_Zhvo.js";
66
+ import { t as lua } from "./lua-CDA7hreG.js";
67
+ import { t as mirc } from "./mirc-B2JE5ype.js";
68
+ import { t as mathematica } from "./mathematica-GWfSHReY.js";
69
+ import { t as modelica } from "./modelica-C0hNlKgR.js";
70
+ import { t as mumps } from "./mumps-CMePAlSe.js";
71
+ import { t as mbox } from "./mbox-Dwsrc4Ak.js";
72
+ import { t as nsis } from "./nsis-CFb2Zrib.js";
73
+ import { t as ntriples } from "./ntriples-BnE6tX0Y.js";
74
+ import { t as octave } from "./octave-Dfu3PmNP.js";
75
+ import { t as oz } from "./oz-DqNpAjpZ.js";
76
+ import { t as pascal } from "./pascal-GP_8jbNL.js";
77
+ import { t as perl } from "./perl-DUDEqQOD.js";
78
+ import { t as pig } from "./pig-Csr4LnKs.js";
79
+ import { t as powerShell } from "./powershell-Cw4tDKZx.js";
80
+ import { t as properties } from "./properties-CUhUGfHR.js";
81
+ import { t as protobuf } from "./protobuf-CPZe957V.js";
82
+ import { t as pug } from "./pug-ZDYeT34w.js";
83
+ import { t as puppet } from "./puppet-BP1AOwo6.js";
84
+ import { t as q } from "./q-BNfSHUci.js";
85
+ import { t as r } from "./r-DiJzLRZc.js";
86
+ import { n as rpmSpec } from "./rpm-CywAxCKo.js";
87
+ import { t as ruby } from "./ruby-B0a4mSSU.js";
88
+ import { t as sas } from "./sas-DTh30wZQ.js";
89
+ import { t as scheme } from "./scheme-CsOlAIFf.js";
90
+ import { t as shell } from "./shell-7w75P-tg.js";
91
+ import { t as sieve } from "./sieve-BphUEMa4.js";
92
+ import { t as smalltalk } from "./smalltalk-CHwdNey_.js";
93
+ import { t as sparql } from "./sparql-BtwCqUvT.js";
94
+ import { t as stylus } from "./stylus-SVJ7TGPh.js";
95
+ import { t as swift } from "./swift-f7KaABxm.js";
96
+ import { t as verilog } from "./verilog-ogjm0Ytr.js";
97
+ import { t as tcl } from "./tcl-CbTFkeHJ.js";
98
+ import { t as textile } from "./textile-CFn6QLRy.js";
99
+ import { t as toml } from "./toml-YgDIoI1n.js";
100
+ import { t as troff } from "./troff-CIp_4RXg.js";
101
+ import { t as ttcn } from "./ttcn-Yn_uOBYK.js";
102
+ import { t as ttcnCfg } from "./ttcn-cfg-BVum2rmM.js";
103
+ import { t as turtle } from "./turtle-BeWx-YoQ.js";
104
+ import { t as webIDL } from "./webidl-QdwcTYEu.js";
105
+ import { t as vb } from "./vb-DKEmSA_2.js";
106
+ import { t as vbScript } from "./vbscript-BPsxuP0n.js";
107
+ import { t as velocity } from "./velocity-ycm1NvlO.js";
108
+ import { t as vhdl } from "./vhdl-BvjyOM9y.js";
109
+ import { t as xQuery } from "./xquery-BErHIIc-.js";
110
+ import { t as yacas } from "./yacas-BBBJNs0h.js";
111
+ import { t as z80 } from "./z80-nG9RRukG.js";
112
+ import { n as msgenny, r as xu, t as mscgen } from "./mscgen-DWWpdZnb.js";
113
+ import { t as vue } from "./dist-DTNqkRGE.js";
113
114
  var import_compiler_runtime = /* @__PURE__ */ __toESM(require_compiler_runtime(), 1), import_react = /* @__PURE__ */ __toESM(require_react(), 1), import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1);
114
115
  const CopyClipboardIcon = (e6) => {
115
- let y = (0, import_compiler_runtime.c)(13), { value: b, className: x, tooltip: k, toastTitle: A, ariaLabel: j } = e6, [M, N] = (0, import_react.useState)(false), P;
116
+ let y = (0, import_compiler_runtime.c)(13), { value: b, className: D, tooltip: k, toastTitle: A, ariaLabel: j } = e6, [M, N] = (0, import_react.useState)(false), P;
116
117
  y[0] !== A || y[1] !== b ? (P = Events.stopPropagation(async (e7) => {
117
118
  await copyToClipboard(typeof b == "function" ? b(e7) : b).then(() => {
118
119
  N(true), setTimeout(() => N(false), 2e3), A && toast({ title: A });
119
120
  });
120
121
  }), y[0] = A, y[1] = b, y[2] = P) : P = y[2];
121
122
  let F = P, I = j ?? "Copy to clipboard", L;
122
- y[3] !== x || y[4] !== M ? (L = M ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Check, { className: cn(x, "text-(--grass-11)") }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Copy, { className: x }), y[3] = x, y[4] = M, y[5] = L) : L = y[5];
123
+ y[3] !== D || y[4] !== M ? (L = M ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Check, { className: cn(D, "text-(--grass-11)") }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Copy, { className: D }), y[3] = D, y[4] = M, y[5] = L) : L = y[5];
123
124
  let R;
124
125
  y[6] !== F || y[7] !== I || y[8] !== L ? (R = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", {
125
126
  type: "button",
@@ -2013,37 +2014,50 @@ var baseTheme$2 = /* @__PURE__ */ EditorView.baseTheme({
2013
2014
  static init(y, b, x) {
2014
2015
  let S = x.facet(lintConfig).markerFilter;
2015
2016
  S && (y = S(y, x));
2016
- let C = y.slice().sort((e6, y2) => e6.from - y2.from || e6.to - y2.to), w = new RangeSetBuilder(), T = [], E = 0;
2017
+ let C = y.slice().sort((e6, y2) => e6.from - y2.from || e6.to - y2.to), w = new RangeSetBuilder(), T = [], E = 0, D = x.doc.iter(), O = 0;
2017
2018
  for (let e6 = 0; ; ) {
2018
2019
  let y2 = e6 == C.length ? null : C[e6];
2019
2020
  if (!y2 && !T.length) break;
2020
- let b2, S2;
2021
- for (T.length ? (b2 = E, S2 = T.reduce((e7, y3) => Math.min(e7, y3.to), y2 && y2.from > b2 ? y2.from : 1e8)) : (b2 = y2.from, S2 = y2.to, T.push(y2), e6++); e6 < C.length; ) {
2021
+ let b2, x2;
2022
+ for (T.length ? (b2 = E, x2 = T.reduce((e7, y3) => Math.min(e7, y3.to), y2 && y2.from > b2 ? y2.from : 1e8)) : (b2 = y2.from, x2 = y2.to, T.push(y2), e6++); e6 < C.length; ) {
2022
2023
  let y3 = C[e6];
2023
- if (y3.from == b2 && (y3.to > y3.from || y3.to == b2)) T.push(y3), e6++, S2 = Math.min(y3.to, S2);
2024
+ if (y3.from == b2 && (y3.to > y3.from || y3.to == b2)) T.push(y3), e6++, x2 = Math.min(y3.to, x2);
2024
2025
  else {
2025
- S2 = Math.min(y3.from, S2);
2026
+ x2 = Math.min(y3.from, x2);
2026
2027
  break;
2027
2028
  }
2028
2029
  }
2029
- let D2 = maxSeverity(T);
2030
- if (T.some((e7) => e7.from == e7.to || e7.from == e7.to - 1 && x.doc.lineAt(e7.from).to == e7.from)) w.add(b2, b2, Decoration.widget({
2031
- widget: new DiagnosticWidget(D2),
2030
+ let S2 = false;
2031
+ if (T.some((e7) => e7.from == b2 && e7.to == x2) && (S2 = b2 == x2, !S2 && x2 - b2 < 10)) {
2032
+ let e7 = b2 - (O + D.value.length);
2033
+ e7 > 0 && (D.next(e7), O = b2);
2034
+ for (let e8 = b2; ; ) {
2035
+ if (e8 >= x2) {
2036
+ S2 = true;
2037
+ break;
2038
+ }
2039
+ if (!D.lineBreak && O + D.value.length > e8) break;
2040
+ e8 = O + D.value.length, O += D.value.length, D.next();
2041
+ }
2042
+ }
2043
+ let k2 = maxSeverity(T);
2044
+ if (S2) w.add(b2, b2, Decoration.widget({
2045
+ widget: new DiagnosticWidget(k2),
2032
2046
  diagnostics: T.slice()
2033
2047
  }));
2034
2048
  else {
2035
2049
  let e7 = T.reduce((e8, y3) => y3.markClass ? e8 + " " + y3.markClass : e8, "");
2036
- w.add(b2, S2, Decoration.mark({
2037
- class: "cm-lintRange cm-lintRange-" + D2 + e7,
2050
+ w.add(b2, x2, Decoration.mark({
2051
+ class: "cm-lintRange cm-lintRange-" + k2 + e7,
2038
2052
  diagnostics: T.slice(),
2039
- inclusiveEnd: T.some((e8) => e8.to > S2)
2053
+ inclusiveEnd: T.some((e8) => e8.to > x2)
2040
2054
  }));
2041
2055
  }
2042
- E = S2;
2056
+ E = x2;
2043
2057
  for (let e7 = 0; e7 < T.length; e7++) T[e7].to <= E && T.splice(e7--, 1);
2044
2058
  }
2045
- let D = w.finish();
2046
- return new e4(D, b, findDiagnostic(D));
2059
+ let k = w.finish();
2060
+ return new e4(k, b, findDiagnostic(k));
2047
2061
  }
2048
2062
  };
2049
2063
  function findDiagnostic(e6, y = null, b = 0) {
@@ -2491,444 +2505,35 @@ function _objectWithoutPropertiesLoose(e6, y) {
2491
2505
  }
2492
2506
  return b;
2493
2507
  }
2494
- var basicSetup = function(e6) {
2495
- e6 === void 0 && (e6 = {});
2496
- var { crosshairCursor: y = false } = e6, b = [];
2497
- e6.closeBracketsKeymap !== false && (b = b.concat(closeBracketsKeymap)), e6.defaultKeymap !== false && (b = b.concat(defaultKeymap)), e6.searchKeymap !== false && (b = b.concat(searchKeymap)), e6.historyKeymap !== false && (b = b.concat(historyKeymap)), e6.foldKeymap !== false && (b = b.concat(foldKeymap)), e6.completionKeymap !== false && (b = b.concat(completionKeymap)), e6.lintKeymap !== false && (b = b.concat(lintKeymap));
2498
- var x = [];
2499
- return e6.lineNumbers !== false && x.push(lineNumbers()), e6.highlightActiveLineGutter !== false && x.push(highlightActiveLineGutter()), e6.highlightSpecialChars !== false && x.push(highlightSpecialChars()), e6.history !== false && x.push(history()), e6.foldGutter !== false && x.push(foldGutter()), e6.drawSelection !== false && x.push(drawSelection()), e6.dropCursor !== false && x.push(dropCursor()), e6.allowMultipleSelections !== false && x.push(EditorState.allowMultipleSelections.of(true)), e6.indentOnInput !== false && x.push(indentOnInput()), e6.syntaxHighlighting !== false && x.push(syntaxHighlighting(defaultHighlightStyle, { fallback: true })), e6.bracketMatching !== false && x.push(bracketMatching()), e6.closeBrackets !== false && x.push(closeBrackets()), e6.autocompletion !== false && x.push(autocompletion()), e6.rectangularSelection !== false && x.push(rectangularSelection()), y !== false && x.push(crosshairCursor()), e6.highlightActiveLine !== false && x.push(highlightActiveLine()), e6.highlightSelectionMatches !== false && x.push(highlightSelectionMatches()), e6.tabSize && typeof e6.tabSize == "number" && x.push(indentUnit.of(" ".repeat(e6.tabSize))), x.concat([keymap.of(b.flat())]).filter(Boolean);
2500
- }, minimalSetup = function(e6) {
2501
- e6 === void 0 && (e6 = {});
2502
- var y = [];
2503
- e6.defaultKeymap !== false && (y = y.concat(defaultKeymap)), e6.historyKeymap !== false && (y = y.concat(historyKeymap));
2504
- var b = [];
2505
- return e6.highlightSpecialChars !== false && b.push(highlightSpecialChars()), e6.history !== false && b.push(history()), e6.drawSelection !== false && b.push(drawSelection()), e6.syntaxHighlighting !== false && b.push(syntaxHighlighting(defaultHighlightStyle, { fallback: true })), b.concat([keymap.of(y.flat())]).filter(Boolean);
2506
- }, chalky = "#e5c07b", coral = "#e06c75", cyan = "#56b6c2", invalid = "#ffffff", ivory = "#abb2bf", stone = "#7d8799", malibu = "#61afef", sage = "#98c379", whiskey = "#d19a66", violet = "#c678dd", darkBackground = "#21252b", highlightBackground = "#2c313a", background = "#282c34", tooltipBackground = "#353a42", selection = "#3E4451", cursor = "#528bff", oneDark = [/* @__PURE__ */ EditorView.theme({
2507
- "&": {
2508
- color: ivory,
2509
- backgroundColor: background
2510
- },
2511
- ".cm-content": { caretColor: cursor },
2512
- ".cm-cursor, .cm-dropCursor": { borderLeftColor: cursor },
2513
- "&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection": { backgroundColor: selection },
2514
- ".cm-panels": {
2515
- backgroundColor: darkBackground,
2516
- color: ivory
2517
- },
2518
- ".cm-panels.cm-panels-top": { borderBottom: "2px solid black" },
2519
- ".cm-panels.cm-panels-bottom": { borderTop: "2px solid black" },
2520
- ".cm-searchMatch": {
2521
- backgroundColor: "#72a1ff59",
2522
- outline: "1px solid #457dff"
2523
- },
2524
- ".cm-searchMatch.cm-searchMatch-selected": { backgroundColor: "#6199ff2f" },
2525
- ".cm-activeLine": { backgroundColor: "#6699ff0b" },
2526
- ".cm-selectionMatch": { backgroundColor: "#aafe661a" },
2527
- "&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket": { backgroundColor: "#bad0f847" },
2528
- ".cm-gutters": {
2529
- backgroundColor: background,
2530
- color: stone,
2531
- border: "none"
2532
- },
2533
- ".cm-activeLineGutter": { backgroundColor: highlightBackground },
2534
- ".cm-foldPlaceholder": {
2535
- backgroundColor: "transparent",
2536
- border: "none",
2537
- color: "#ddd"
2538
- },
2539
- ".cm-tooltip": {
2540
- border: "none",
2541
- backgroundColor: tooltipBackground
2542
- },
2543
- ".cm-tooltip .cm-tooltip-arrow:before": {
2544
- borderTopColor: "transparent",
2545
- borderBottomColor: "transparent"
2546
- },
2547
- ".cm-tooltip .cm-tooltip-arrow:after": {
2548
- borderTopColor: tooltipBackground,
2549
- borderBottomColor: tooltipBackground
2550
- },
2551
- ".cm-tooltip-autocomplete": { "& > ul > li[aria-selected]": {
2552
- backgroundColor: highlightBackground,
2553
- color: ivory
2554
- } }
2555
- }, { dark: true }), /* @__PURE__ */ syntaxHighlighting(/* @__PURE__ */ HighlightStyle.define([
2556
- {
2557
- tag: tags.keyword,
2558
- color: violet
2559
- },
2560
- {
2561
- tag: [
2562
- tags.name,
2563
- tags.deleted,
2564
- tags.character,
2565
- tags.propertyName,
2566
- tags.macroName
2567
- ],
2568
- color: coral
2569
- },
2570
- {
2571
- tag: [/* @__PURE__ */ tags.function(tags.variableName), tags.labelName],
2572
- color: malibu
2573
- },
2574
- {
2575
- tag: [
2576
- tags.color,
2577
- /* @__PURE__ */ tags.constant(tags.name),
2578
- /* @__PURE__ */ tags.standard(tags.name)
2579
- ],
2580
- color: whiskey
2581
- },
2582
- {
2583
- tag: [/* @__PURE__ */ tags.definition(tags.name), tags.separator],
2584
- color: ivory
2585
- },
2586
- {
2587
- tag: [
2588
- tags.typeName,
2589
- tags.className,
2590
- tags.number,
2591
- tags.changed,
2592
- tags.annotation,
2593
- tags.modifier,
2594
- tags.self,
2595
- tags.namespace
2596
- ],
2597
- color: chalky
2598
- },
2599
- {
2600
- tag: [
2601
- tags.operator,
2602
- tags.operatorKeyword,
2603
- tags.url,
2604
- tags.escape,
2605
- tags.regexp,
2606
- tags.link,
2607
- /* @__PURE__ */ tags.special(tags.string)
2608
- ],
2609
- color: cyan
2610
- },
2611
- {
2612
- tag: [tags.meta, tags.comment],
2613
- color: stone
2614
- },
2615
- {
2616
- tag: tags.strong,
2617
- fontWeight: "bold"
2618
- },
2619
- {
2620
- tag: tags.emphasis,
2621
- fontStyle: "italic"
2622
- },
2623
- {
2624
- tag: tags.strikethrough,
2625
- textDecoration: "line-through"
2626
- },
2627
- {
2628
- tag: tags.link,
2629
- color: stone,
2630
- textDecoration: "underline"
2631
- },
2632
- {
2633
- tag: tags.heading,
2634
- fontWeight: "bold",
2635
- color: coral
2636
- },
2637
- {
2638
- tag: [
2639
- tags.atom,
2640
- tags.bool,
2641
- /* @__PURE__ */ tags.special(tags.variableName)
2642
- ],
2643
- color: whiskey
2644
- },
2645
- {
2646
- tag: [
2647
- tags.processingInstruction,
2648
- tags.string,
2649
- tags.inserted
2650
- ],
2651
- color: sage
2652
- },
2653
- {
2654
- tag: tags.invalid,
2655
- color: invalid
2656
- }
2657
- ]))], defaultLightThemeOption = EditorView.theme({ "&": { backgroundColor: "#fff" } }, { dark: false }), getDefaultExtensions = function(e6) {
2658
- e6 === void 0 && (e6 = {});
2659
- var { indentWithTab: y = true, editable: b = true, readOnly: x = false, theme: S = "light", placeholder: C = "", basicSetup: w = true } = e6, T = [];
2660
- switch (y && T.unshift(keymap.of([indentWithTab])), w && (typeof w == "boolean" ? T.unshift(basicSetup()) : T.unshift(basicSetup(w))), C && T.unshift(placeholder(C)), S) {
2661
- case "light":
2662
- T.push(defaultLightThemeOption);
2663
- break;
2664
- case "dark":
2665
- T.push(oneDark);
2508
+ var strContent = 63, strDollarBrace = 64, strEnd = 65, escapeSequence = 66, indStrContent = 67, indStrDollarBrace = 68, indStrEnd = 69, indEscapeSequence = 70, quote = 34, backslack = 92, braceL = 123, dollar = 36, apostrophe = 39, scanString = /* @__PURE__ */ new ExternalTokenizer((e6) => {
2509
+ for (let y = false, b = 0; ; b++) {
2510
+ let { next: x } = e6;
2511
+ if (x < 0) {
2512
+ b > 0 && e6.acceptToken(strContent);
2666
2513
  break;
2667
- case "none":
2514
+ } else if (x === quote) {
2515
+ b > 0 ? e6.acceptToken(strContent) : e6.acceptToken(strEnd, 1);
2668
2516
  break;
2669
- default:
2670
- T.push(S);
2517
+ } else if (x === braceL && y) {
2518
+ b == 1 ? e6.acceptToken(strDollarBrace, 1) : e6.acceptToken(strContent, -1);
2671
2519
  break;
2520
+ } else x === backslack && (e6.advance(), e6.acceptToken(escapeSequence, 1));
2521
+ y = x === dollar, e6.advance();
2672
2522
  }
2673
- return b === false && T.push(EditorView.editable.of(false)), x && T.push(EditorState.readOnly.of(true)), [...T];
2674
- }, getStatistics = (e6) => ({
2675
- line: e6.state.doc.lineAt(e6.state.selection.main.from),
2676
- lineCount: e6.state.doc.lines,
2677
- lineBreak: e6.state.lineBreak,
2678
- length: e6.state.doc.length,
2679
- readOnly: e6.state.readOnly,
2680
- tabSize: e6.state.tabSize,
2681
- selection: e6.state.selection,
2682
- selectionAsSingle: e6.state.selection.asSingle().main,
2683
- ranges: e6.state.selection.ranges,
2684
- selectionCode: e6.state.sliceDoc(e6.state.selection.main.from, e6.state.selection.main.to),
2685
- selections: e6.state.selection.ranges.map((y) => e6.state.sliceDoc(y.from, y.to)),
2686
- selectedText: e6.state.selection.ranges.some((e7) => !e7.empty)
2687
- }), TimeoutLatch = class {
2688
- constructor(e6, y) {
2689
- this.timeLeftMS = void 0, this.timeoutMS = void 0, this.isCancelled = false, this.isTimeExhausted = false, this.callbacks = [], this.timeLeftMS = y, this.timeoutMS = y, this.callbacks.push(e6);
2690
- }
2691
- tick() {
2692
- if (!this.isCancelled && !this.isTimeExhausted && (this.timeLeftMS--, this.timeLeftMS <= 0)) {
2693
- this.isTimeExhausted = true;
2694
- var e6 = this.callbacks.slice();
2695
- this.callbacks.length = 0, e6.forEach((e7) => {
2696
- try {
2697
- e7();
2698
- } catch (e8) {
2699
- console.error("TimeoutLatch callback error:", e8);
2700
- }
2701
- });
2702
- }
2703
- }
2704
- cancel() {
2705
- this.isCancelled = true, this.callbacks.length = 0;
2706
- }
2707
- reset() {
2708
- this.timeLeftMS = this.timeoutMS, this.isCancelled = false, this.isTimeExhausted = false;
2709
- }
2710
- get isDone() {
2711
- return this.isCancelled || this.isTimeExhausted;
2712
- }
2713
- }, Scheduler = class {
2714
- constructor() {
2715
- this.interval = null, this.latches = /* @__PURE__ */ new Set();
2716
- }
2717
- add(e6) {
2718
- this.latches.add(e6), this.start();
2719
- }
2720
- remove(e6) {
2721
- this.latches.delete(e6), this.latches.size === 0 && this.stop();
2722
- }
2723
- start() {
2724
- this.interval === null && (this.interval = setInterval(() => {
2725
- this.latches.forEach((e6) => {
2726
- e6.tick(), e6.isDone && this.remove(e6);
2727
- });
2728
- }, 1));
2729
- }
2730
- stop() {
2731
- this.interval !== null && (clearInterval(this.interval), this.interval = null);
2732
- }
2733
- }, globalScheduler = null, getScheduler = () => typeof window > "u" ? new Scheduler() : (globalScheduler || (globalScheduler = new Scheduler()), globalScheduler), ExternalChange = Annotation.define(), TYPING_TIMOUT = 200, emptyExtensions = [];
2734
- function useCodeMirror(e6) {
2735
- var { value: y, selection: b, onChange: x, onStatistics: S, onCreateEditor: C, onUpdate: w, extensions: T = emptyExtensions, autoFocus: E, theme: D = "light", height: O = null, minHeight: k = null, maxHeight: A = null, width: j = null, minWidth: M = null, maxWidth: N = null, placeholder: P = "", editable: F = true, readOnly: I = false, indentWithTab: L = true, basicSetup: R = true, root: B, initialState: V } = e6, [H, U] = (0, import_react.useState)(), [W, G] = (0, import_react.useState)(), [K, J] = (0, import_react.useState)(), Y = (0, import_react.useState)(() => ({ current: null }))[0], Z = (0, import_react.useState)(() => ({ current: null }))[0], Q = EditorView.theme({
2736
- "&": {
2737
- height: O,
2738
- minHeight: k,
2739
- maxHeight: A,
2740
- width: j,
2741
- minWidth: M,
2742
- maxWidth: N
2743
- },
2744
- "& .cm-scroller": { height: "100% !important" }
2745
- }), $ = [
2746
- EditorView.updateListener.of((e7) => {
2747
- e7.docChanged && typeof x == "function" && !e7.transactions.some((e8) => e8.annotation(ExternalChange)) && (Y.current ? Y.current.reset() : (Y.current = new TimeoutLatch(() => {
2748
- if (Z.current) {
2749
- var e8 = Z.current;
2750
- Z.current = null, e8();
2751
- }
2752
- Y.current = null;
2753
- }, TYPING_TIMOUT), getScheduler().add(Y.current)), x(e7.state.doc.toString(), e7)), S && S(getStatistics(e7));
2754
- }),
2755
- Q,
2756
- ...getDefaultExtensions({
2757
- theme: D,
2758
- editable: F,
2759
- readOnly: I,
2760
- placeholder: P,
2761
- indentWithTab: L,
2762
- basicSetup: R
2763
- })
2764
- ];
2765
- return w && typeof w == "function" && $.push(EditorView.updateListener.of(w)), $ = $.concat(T), (0, import_react.useLayoutEffect)(() => {
2766
- if (H && !K) {
2767
- var e7 = {
2768
- doc: y,
2769
- selection: b,
2770
- extensions: $
2771
- }, x2 = V ? EditorState.fromJSON(V.json, e7, V.fields) : EditorState.create(e7);
2772
- if (J(x2), !W) {
2773
- var S2 = new EditorView({
2774
- state: x2,
2775
- parent: H,
2776
- root: B
2777
- });
2778
- G(S2), C && C(S2, x2);
2779
- }
2780
- }
2781
- return () => {
2782
- W && (J(void 0), G(void 0));
2783
- };
2784
- }, [H, K]), (0, import_react.useEffect)(() => {
2785
- e6.container && U(e6.container);
2786
- }, [e6.container]), (0, import_react.useEffect)(() => () => {
2787
- W && (W.destroy(), G(void 0)), Y.current && (Y.current = (Y.current.cancel(), null));
2788
- }, [W]), (0, import_react.useEffect)(() => {
2789
- E && W && W.focus();
2790
- }, [E, W]), (0, import_react.useEffect)(() => {
2791
- W && W.dispatch({ effects: StateEffect.reconfigure.of($) });
2792
- }, [
2793
- D,
2794
- T,
2795
- O,
2796
- k,
2797
- A,
2798
- j,
2799
- M,
2800
- N,
2801
- P,
2802
- F,
2803
- I,
2804
- L,
2805
- R,
2806
- x,
2807
- w
2808
- ]), (0, import_react.useEffect)(() => {
2809
- if (y !== void 0) {
2810
- var e7 = W ? W.state.doc.toString() : "";
2811
- if (W && y !== e7) {
2812
- var b2 = Y.current && !Y.current.isDone, x2 = () => {
2813
- W && y !== W.state.doc.toString() && W.dispatch({
2814
- changes: {
2815
- from: 0,
2816
- to: W.state.doc.toString().length,
2817
- insert: y || ""
2818
- },
2819
- annotations: [ExternalChange.of(true)]
2820
- });
2821
- };
2822
- b2 ? Z.current = x2 : x2();
2823
- }
2824
- }
2825
- }, [y, W]), {
2826
- state: K,
2827
- setState: J,
2828
- view: W,
2829
- setView: G,
2830
- container: H,
2831
- setContainer: U
2832
- };
2833
- }
2834
- var _excluded = [
2835
- "className",
2836
- "value",
2837
- "selection",
2838
- "extensions",
2839
- "onChange",
2840
- "onStatistics",
2841
- "onCreateEditor",
2842
- "onUpdate",
2843
- "autoFocus",
2844
- "theme",
2845
- "height",
2846
- "minHeight",
2847
- "maxHeight",
2848
- "width",
2849
- "minWidth",
2850
- "maxWidth",
2851
- "basicSetup",
2852
- "placeholder",
2853
- "indentWithTab",
2854
- "editable",
2855
- "readOnly",
2856
- "root",
2857
- "initialState"
2858
- ], ReactCodeMirror = /* @__PURE__ */ (0, import_react.forwardRef)((e6, y) => {
2859
- var { className: b, value: x = "", selection: S, extensions: C = [], onChange: w, onStatistics: T, onCreateEditor: E, onUpdate: D, autoFocus: O, theme: k = "light", height: A, minHeight: j, maxHeight: M, width: N, minWidth: P, maxWidth: F, basicSetup: I, placeholder: L, indentWithTab: R, editable: z, readOnly: B, root: V, initialState: H } = e6, U = _objectWithoutPropertiesLoose(e6, _excluded), W = (0, import_react.useRef)(null), { state: G, view: K, container: J, setContainer: Y } = useCodeMirror({
2860
- root: V,
2861
- value: x,
2862
- autoFocus: O,
2863
- theme: k,
2864
- height: A,
2865
- minHeight: j,
2866
- maxHeight: M,
2867
- width: N,
2868
- minWidth: P,
2869
- maxWidth: F,
2870
- basicSetup: I,
2871
- placeholder: L,
2872
- indentWithTab: R,
2873
- editable: z,
2874
- readOnly: B,
2875
- selection: S,
2876
- onChange: w,
2877
- onStatistics: T,
2878
- onCreateEditor: E,
2879
- onUpdate: D,
2880
- extensions: C,
2881
- initialState: H
2882
- });
2883
- (0, import_react.useImperativeHandle)(y, () => ({
2884
- editor: W.current,
2885
- state: G,
2886
- view: K
2887
- }), [
2888
- W,
2889
- J,
2890
- G,
2891
- K
2892
- ]);
2893
- var X = (0, import_react.useCallback)((e7) => {
2894
- W.current = e7, Y(e7);
2895
- }, [Y]);
2896
- if (typeof x != "string") throw Error("value must be typeof string but got " + typeof x);
2897
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", _extends({
2898
- ref: X,
2899
- className: (typeof k == "string" ? "cm-theme-" + k : "cm-theme") + (b ? " " + b : "")
2900
- }, U));
2901
- });
2902
- ReactCodeMirror.displayName = "CodeMirror";
2903
- var esm_default = ReactCodeMirror, strContent = 63, strDollarBrace = 64, strEnd = 65, escapeSequence = 66, indStrContent = 67, indStrDollarBrace = 68, indStrEnd = 69, indEscapeSequence = 70, quote = 34, backslack = 92, braceL = 123, dollar = 36, apostrophe = 39, scanString = /* @__PURE__ */ new ExternalTokenizer((e6) => {
2904
- for (let y = false, b = 0; ; b++) {
2905
- let { next: x } = e6;
2906
- if (x < 0) {
2907
- b > 0 && e6.acceptToken(strContent);
2908
- break;
2909
- } else if (x === quote) {
2910
- b > 0 ? e6.acceptToken(strContent) : e6.acceptToken(strEnd, 1);
2911
- break;
2912
- } else if (x === braceL && y) {
2913
- b == 1 ? e6.acceptToken(strDollarBrace, 1) : e6.acceptToken(strContent, -1);
2914
- break;
2915
- } else x === backslack && (e6.advance(), e6.acceptToken(escapeSequence, 1));
2916
- y = x === dollar, e6.advance();
2917
- }
2918
- }), scanIndString = /* @__PURE__ */ new ExternalTokenizer((e6) => {
2919
- for (let y = false, b = false, x = 0; ; x++) {
2920
- let { next: S } = e6;
2921
- if (S < 0) {
2922
- x > 0 && e6.acceptToken(indStrContent);
2923
- break;
2924
- } else if (S === apostrophe && b) {
2925
- x > 1 ? e6.acceptToken(indStrContent, -1) : e6.acceptToken(indStrEnd, 1);
2926
- break;
2927
- } else if (S === braceL && y) {
2928
- x == 1 ? e6.acceptToken(indStrDollarBrace, 1) : e6.acceptToken(indStrContent, -1);
2929
- break;
2930
- } else S === backslack && (e6.advance(), e6.acceptToken(indEscapeSequence, 1));
2931
- y = S === dollar, b = S === apostrophe, e6.advance();
2523
+ }), scanIndString = /* @__PURE__ */ new ExternalTokenizer((e6) => {
2524
+ for (let y = false, b = false, x = 0; ; x++) {
2525
+ let { next: S } = e6;
2526
+ if (S < 0) {
2527
+ x > 0 && e6.acceptToken(indStrContent);
2528
+ break;
2529
+ } else if (S === apostrophe && b) {
2530
+ x > 1 ? e6.acceptToken(indStrContent, -1) : e6.acceptToken(indStrEnd, 1);
2531
+ break;
2532
+ } else if (S === braceL && y) {
2533
+ x == 1 ? e6.acceptToken(indStrDollarBrace, 1) : e6.acceptToken(indStrContent, -1);
2534
+ break;
2535
+ } else S === backslack && (e6.advance(), e6.acceptToken(indEscapeSequence, 1));
2536
+ y = S === dollar, b = S === apostrophe, e6.advance();
2932
2537
  }
2933
2538
  }), spec_Identifier = {
2934
2539
  __proto__: null,
@@ -4375,16 +3980,426 @@ var parser = {
4375
3980
  function loadLanguage(e6) {
4376
3981
  return langs[e6] ? langs[e6]() : null;
4377
3982
  }
3983
+ var basicSetup = function(e6) {
3984
+ e6 === void 0 && (e6 = {});
3985
+ var { crosshairCursor: y = false } = e6, b = [];
3986
+ e6.closeBracketsKeymap !== false && (b = b.concat(closeBracketsKeymap)), e6.defaultKeymap !== false && (b = b.concat(defaultKeymap)), e6.searchKeymap !== false && (b = b.concat(searchKeymap)), e6.historyKeymap !== false && (b = b.concat(historyKeymap)), e6.foldKeymap !== false && (b = b.concat(foldKeymap)), e6.completionKeymap !== false && (b = b.concat(completionKeymap)), e6.lintKeymap !== false && (b = b.concat(lintKeymap));
3987
+ var x = [];
3988
+ return e6.lineNumbers !== false && x.push(lineNumbers()), e6.highlightActiveLineGutter !== false && x.push(highlightActiveLineGutter()), e6.highlightSpecialChars !== false && x.push(highlightSpecialChars()), e6.history !== false && x.push(history()), e6.foldGutter !== false && x.push(foldGutter()), e6.drawSelection !== false && x.push(drawSelection()), e6.dropCursor !== false && x.push(dropCursor()), e6.allowMultipleSelections !== false && x.push(EditorState.allowMultipleSelections.of(true)), e6.indentOnInput !== false && x.push(indentOnInput()), e6.syntaxHighlighting !== false && x.push(syntaxHighlighting(defaultHighlightStyle, { fallback: true })), e6.bracketMatching !== false && x.push(bracketMatching()), e6.closeBrackets !== false && x.push(closeBrackets()), e6.autocompletion !== false && x.push(autocompletion()), e6.rectangularSelection !== false && x.push(rectangularSelection()), y !== false && x.push(crosshairCursor()), e6.highlightActiveLine !== false && x.push(highlightActiveLine()), e6.highlightSelectionMatches !== false && x.push(highlightSelectionMatches()), e6.tabSize && typeof e6.tabSize == "number" && x.push(indentUnit.of(" ".repeat(e6.tabSize))), x.concat([keymap.of(b.flat())]).filter(Boolean);
3989
+ }, minimalSetup = function(e6) {
3990
+ e6 === void 0 && (e6 = {});
3991
+ var y = [];
3992
+ e6.defaultKeymap !== false && (y = y.concat(defaultKeymap)), e6.historyKeymap !== false && (y = y.concat(historyKeymap));
3993
+ var b = [];
3994
+ return e6.highlightSpecialChars !== false && b.push(highlightSpecialChars()), e6.history !== false && b.push(history()), e6.drawSelection !== false && b.push(drawSelection()), e6.syntaxHighlighting !== false && b.push(syntaxHighlighting(defaultHighlightStyle, { fallback: true })), b.concat([keymap.of(y.flat())]).filter(Boolean);
3995
+ }, chalky = "#e5c07b", coral = "#e06c75", cyan = "#56b6c2", invalid = "#ffffff", ivory = "#abb2bf", stone = "#7d8799", malibu = "#61afef", sage = "#98c379", whiskey = "#d19a66", violet = "#c678dd", darkBackground = "#21252b", highlightBackground = "#2c313a", background = "#282c34", tooltipBackground = "#353a42", selection = "#3E4451", cursor = "#528bff", oneDark = [/* @__PURE__ */ EditorView.theme({
3996
+ "&": {
3997
+ color: ivory,
3998
+ backgroundColor: background
3999
+ },
4000
+ ".cm-content": { caretColor: cursor },
4001
+ ".cm-cursor, .cm-dropCursor": { borderLeftColor: cursor },
4002
+ "&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection": { backgroundColor: selection },
4003
+ ".cm-panels": {
4004
+ backgroundColor: darkBackground,
4005
+ color: ivory
4006
+ },
4007
+ ".cm-panels.cm-panels-top": { borderBottom: "2px solid black" },
4008
+ ".cm-panels.cm-panels-bottom": { borderTop: "2px solid black" },
4009
+ ".cm-searchMatch": {
4010
+ backgroundColor: "#72a1ff59",
4011
+ outline: "1px solid #457dff"
4012
+ },
4013
+ ".cm-searchMatch.cm-searchMatch-selected": { backgroundColor: "#6199ff2f" },
4014
+ ".cm-activeLine": { backgroundColor: "#6699ff0b" },
4015
+ ".cm-selectionMatch": { backgroundColor: "#aafe661a" },
4016
+ "&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket": { backgroundColor: "#bad0f847" },
4017
+ ".cm-gutters": {
4018
+ backgroundColor: background,
4019
+ color: stone,
4020
+ border: "none"
4021
+ },
4022
+ ".cm-activeLineGutter": { backgroundColor: highlightBackground },
4023
+ ".cm-foldPlaceholder": {
4024
+ backgroundColor: "transparent",
4025
+ border: "none",
4026
+ color: "#ddd"
4027
+ },
4028
+ ".cm-tooltip": {
4029
+ border: "none",
4030
+ backgroundColor: tooltipBackground
4031
+ },
4032
+ ".cm-tooltip .cm-tooltip-arrow:before": {
4033
+ borderTopColor: "transparent",
4034
+ borderBottomColor: "transparent"
4035
+ },
4036
+ ".cm-tooltip .cm-tooltip-arrow:after": {
4037
+ borderTopColor: tooltipBackground,
4038
+ borderBottomColor: tooltipBackground
4039
+ },
4040
+ ".cm-tooltip-autocomplete": { "& > ul > li[aria-selected]": {
4041
+ backgroundColor: highlightBackground,
4042
+ color: ivory
4043
+ } }
4044
+ }, { dark: true }), /* @__PURE__ */ syntaxHighlighting(/* @__PURE__ */ HighlightStyle.define([
4045
+ {
4046
+ tag: tags.keyword,
4047
+ color: violet
4048
+ },
4049
+ {
4050
+ tag: [
4051
+ tags.name,
4052
+ tags.deleted,
4053
+ tags.character,
4054
+ tags.propertyName,
4055
+ tags.macroName
4056
+ ],
4057
+ color: coral
4058
+ },
4059
+ {
4060
+ tag: [/* @__PURE__ */ tags.function(tags.variableName), tags.labelName],
4061
+ color: malibu
4062
+ },
4063
+ {
4064
+ tag: [
4065
+ tags.color,
4066
+ /* @__PURE__ */ tags.constant(tags.name),
4067
+ /* @__PURE__ */ tags.standard(tags.name)
4068
+ ],
4069
+ color: whiskey
4070
+ },
4071
+ {
4072
+ tag: [/* @__PURE__ */ tags.definition(tags.name), tags.separator],
4073
+ color: ivory
4074
+ },
4075
+ {
4076
+ tag: [
4077
+ tags.typeName,
4078
+ tags.className,
4079
+ tags.number,
4080
+ tags.changed,
4081
+ tags.annotation,
4082
+ tags.modifier,
4083
+ tags.self,
4084
+ tags.namespace
4085
+ ],
4086
+ color: chalky
4087
+ },
4088
+ {
4089
+ tag: [
4090
+ tags.operator,
4091
+ tags.operatorKeyword,
4092
+ tags.url,
4093
+ tags.escape,
4094
+ tags.regexp,
4095
+ tags.link,
4096
+ /* @__PURE__ */ tags.special(tags.string)
4097
+ ],
4098
+ color: cyan
4099
+ },
4100
+ {
4101
+ tag: [tags.meta, tags.comment],
4102
+ color: stone
4103
+ },
4104
+ {
4105
+ tag: tags.strong,
4106
+ fontWeight: "bold"
4107
+ },
4108
+ {
4109
+ tag: tags.emphasis,
4110
+ fontStyle: "italic"
4111
+ },
4112
+ {
4113
+ tag: tags.strikethrough,
4114
+ textDecoration: "line-through"
4115
+ },
4116
+ {
4117
+ tag: tags.link,
4118
+ color: stone,
4119
+ textDecoration: "underline"
4120
+ },
4121
+ {
4122
+ tag: tags.heading,
4123
+ fontWeight: "bold",
4124
+ color: coral
4125
+ },
4126
+ {
4127
+ tag: [
4128
+ tags.atom,
4129
+ tags.bool,
4130
+ /* @__PURE__ */ tags.special(tags.variableName)
4131
+ ],
4132
+ color: whiskey
4133
+ },
4134
+ {
4135
+ tag: [
4136
+ tags.processingInstruction,
4137
+ tags.string,
4138
+ tags.inserted
4139
+ ],
4140
+ color: sage
4141
+ },
4142
+ {
4143
+ tag: tags.invalid,
4144
+ color: invalid
4145
+ }
4146
+ ]))], defaultLightThemeOption = EditorView.theme({ "&": { backgroundColor: "#fff" } }, { dark: false }), getDefaultExtensions = function(e6) {
4147
+ e6 === void 0 && (e6 = {});
4148
+ var { indentWithTab: y = true, editable: b = true, readOnly: x = false, theme: S = "light", placeholder: C = "", basicSetup: w = true } = e6, T = [];
4149
+ switch (y && T.unshift(keymap.of([indentWithTab])), w && (typeof w == "boolean" ? T.unshift(basicSetup()) : T.unshift(basicSetup(w))), C && T.unshift(placeholder(C)), S) {
4150
+ case "light":
4151
+ T.push(defaultLightThemeOption);
4152
+ break;
4153
+ case "dark":
4154
+ T.push(oneDark);
4155
+ break;
4156
+ case "none":
4157
+ break;
4158
+ default:
4159
+ T.push(S);
4160
+ break;
4161
+ }
4162
+ return b === false && T.push(EditorView.editable.of(false)), x && T.push(EditorState.readOnly.of(true)), [...T];
4163
+ }, getStatistics = (e6) => ({
4164
+ line: e6.state.doc.lineAt(e6.state.selection.main.from),
4165
+ lineCount: e6.state.doc.lines,
4166
+ lineBreak: e6.state.lineBreak,
4167
+ length: e6.state.doc.length,
4168
+ readOnly: e6.state.readOnly,
4169
+ tabSize: e6.state.tabSize,
4170
+ selection: e6.state.selection,
4171
+ selectionAsSingle: e6.state.selection.asSingle().main,
4172
+ ranges: e6.state.selection.ranges,
4173
+ selectionCode: e6.state.sliceDoc(e6.state.selection.main.from, e6.state.selection.main.to),
4174
+ selections: e6.state.selection.ranges.map((y) => e6.state.sliceDoc(y.from, y.to)),
4175
+ selectedText: e6.state.selection.ranges.some((e7) => !e7.empty)
4176
+ }), TimeoutLatch = class {
4177
+ constructor(e6, y) {
4178
+ this.timeLeftMS = void 0, this.timeoutMS = void 0, this.isCancelled = false, this.isTimeExhausted = false, this.callbacks = [], this.timeLeftMS = y, this.timeoutMS = y, this.callbacks.push(e6);
4179
+ }
4180
+ tick() {
4181
+ if (!this.isCancelled && !this.isTimeExhausted && (this.timeLeftMS--, this.timeLeftMS <= 0)) {
4182
+ this.isTimeExhausted = true;
4183
+ var e6 = this.callbacks.slice();
4184
+ this.callbacks.length = 0, e6.forEach((e7) => {
4185
+ try {
4186
+ e7();
4187
+ } catch (e8) {
4188
+ console.error("TimeoutLatch callback error:", e8);
4189
+ }
4190
+ });
4191
+ }
4192
+ }
4193
+ cancel() {
4194
+ this.isCancelled = true, this.callbacks.length = 0;
4195
+ }
4196
+ reset() {
4197
+ this.timeLeftMS = this.timeoutMS, this.isCancelled = false, this.isTimeExhausted = false;
4198
+ }
4199
+ get isDone() {
4200
+ return this.isCancelled || this.isTimeExhausted;
4201
+ }
4202
+ }, Scheduler = class {
4203
+ constructor() {
4204
+ this.interval = null, this.latches = /* @__PURE__ */ new Set();
4205
+ }
4206
+ add(e6) {
4207
+ this.latches.add(e6), this.start();
4208
+ }
4209
+ remove(e6) {
4210
+ this.latches.delete(e6), this.latches.size === 0 && this.stop();
4211
+ }
4212
+ start() {
4213
+ this.interval === null && (this.interval = setInterval(() => {
4214
+ this.latches.forEach((e6) => {
4215
+ e6.tick(), e6.isDone && this.remove(e6);
4216
+ });
4217
+ }, 1));
4218
+ }
4219
+ stop() {
4220
+ this.interval !== null && (clearInterval(this.interval), this.interval = null);
4221
+ }
4222
+ }, globalScheduler = null, getScheduler = () => typeof window > "u" ? new Scheduler() : (globalScheduler || (globalScheduler = new Scheduler()), globalScheduler), ExternalChange = Annotation.define(), TYPING_TIMOUT = 200, emptyExtensions = [];
4223
+ function useCodeMirror(e6) {
4224
+ var { value: y, selection: b, onChange: x, onStatistics: S, onCreateEditor: C, onUpdate: w, extensions: T = emptyExtensions, autoFocus: E, theme: D = "light", height: O = null, minHeight: k = null, maxHeight: A = null, width: j = null, minWidth: M = null, maxWidth: N = null, placeholder: P = "", editable: F = true, readOnly: I = false, indentWithTab: L = true, basicSetup: R = true, root: B, initialState: V } = e6, [H, U] = (0, import_react.useState)(), [W, G] = (0, import_react.useState)(), [K, J] = (0, import_react.useState)(), Y = (0, import_react.useState)(() => ({ current: null }))[0], Z = (0, import_react.useState)(() => ({ current: null }))[0], Q = EditorView.theme({
4225
+ "&": {
4226
+ height: O,
4227
+ minHeight: k,
4228
+ maxHeight: A,
4229
+ width: j,
4230
+ minWidth: M,
4231
+ maxWidth: N
4232
+ },
4233
+ "& .cm-scroller": { height: "100% !important" }
4234
+ }), $ = [
4235
+ EditorView.updateListener.of((e7) => {
4236
+ e7.docChanged && typeof x == "function" && !e7.transactions.some((e8) => e8.annotation(ExternalChange)) && (Y.current ? Y.current.reset() : (Y.current = new TimeoutLatch(() => {
4237
+ if (Z.current) {
4238
+ var e8 = Z.current;
4239
+ Z.current = null, e8();
4240
+ }
4241
+ Y.current = null;
4242
+ }, TYPING_TIMOUT), getScheduler().add(Y.current)), x(e7.state.doc.toString(), e7)), S && S(getStatistics(e7));
4243
+ }),
4244
+ Q,
4245
+ ...getDefaultExtensions({
4246
+ theme: D,
4247
+ editable: F,
4248
+ readOnly: I,
4249
+ placeholder: P,
4250
+ indentWithTab: L,
4251
+ basicSetup: R
4252
+ })
4253
+ ];
4254
+ return w && typeof w == "function" && $.push(EditorView.updateListener.of(w)), $ = $.concat(T), (0, import_react.useLayoutEffect)(() => {
4255
+ if (H && !K) {
4256
+ var e7 = {
4257
+ doc: y,
4258
+ selection: b,
4259
+ extensions: $
4260
+ }, x2 = V ? EditorState.fromJSON(V.json, e7, V.fields) : EditorState.create(e7);
4261
+ if (J(x2), !W) {
4262
+ var S2 = new EditorView({
4263
+ state: x2,
4264
+ parent: H,
4265
+ root: B
4266
+ });
4267
+ G(S2), C && C(S2, x2);
4268
+ }
4269
+ }
4270
+ return () => {
4271
+ W && (J(void 0), G(void 0));
4272
+ };
4273
+ }, [H, K]), (0, import_react.useEffect)(() => {
4274
+ e6.container && U(e6.container);
4275
+ }, [e6.container]), (0, import_react.useEffect)(() => () => {
4276
+ W && (W.destroy(), G(void 0)), Y.current && (Y.current = (Y.current.cancel(), null));
4277
+ }, [W]), (0, import_react.useEffect)(() => {
4278
+ E && W && W.focus();
4279
+ }, [E, W]), (0, import_react.useEffect)(() => {
4280
+ W && W.dispatch({ effects: StateEffect.reconfigure.of($) });
4281
+ }, [
4282
+ D,
4283
+ T,
4284
+ O,
4285
+ k,
4286
+ A,
4287
+ j,
4288
+ M,
4289
+ N,
4290
+ P,
4291
+ F,
4292
+ I,
4293
+ L,
4294
+ R,
4295
+ x,
4296
+ w
4297
+ ]), (0, import_react.useEffect)(() => {
4298
+ if (y !== void 0) {
4299
+ var e7 = W ? W.state.doc.toString() : "";
4300
+ if (W && y !== e7) {
4301
+ var b2 = Y.current && !Y.current.isDone, x2 = () => {
4302
+ W && y !== W.state.doc.toString() && W.dispatch({
4303
+ changes: {
4304
+ from: 0,
4305
+ to: W.state.doc.toString().length,
4306
+ insert: y || ""
4307
+ },
4308
+ annotations: [ExternalChange.of(true)]
4309
+ });
4310
+ };
4311
+ b2 ? Z.current = x2 : x2();
4312
+ }
4313
+ }
4314
+ }, [y, W]), {
4315
+ state: K,
4316
+ setState: J,
4317
+ view: W,
4318
+ setView: G,
4319
+ container: H,
4320
+ setContainer: U
4321
+ };
4322
+ }
4323
+ var _excluded = [
4324
+ "className",
4325
+ "value",
4326
+ "selection",
4327
+ "extensions",
4328
+ "onChange",
4329
+ "onStatistics",
4330
+ "onCreateEditor",
4331
+ "onUpdate",
4332
+ "autoFocus",
4333
+ "theme",
4334
+ "height",
4335
+ "minHeight",
4336
+ "maxHeight",
4337
+ "width",
4338
+ "minWidth",
4339
+ "maxWidth",
4340
+ "basicSetup",
4341
+ "placeholder",
4342
+ "indentWithTab",
4343
+ "editable",
4344
+ "readOnly",
4345
+ "root",
4346
+ "initialState"
4347
+ ], ReactCodeMirror = /* @__PURE__ */ (0, import_react.forwardRef)((e6, y) => {
4348
+ var { className: b, value: x = "", selection: S, extensions: C = [], onChange: w, onStatistics: T, onCreateEditor: E, onUpdate: D, autoFocus: O, theme: k = "light", height: A, minHeight: j, maxHeight: M, width: N, minWidth: P, maxWidth: F, basicSetup: I, placeholder: L, indentWithTab: R, editable: z, readOnly: B, root: V, initialState: H } = e6, U = _objectWithoutPropertiesLoose(e6, _excluded), W = (0, import_react.useRef)(null), { state: G, view: K, container: J, setContainer: Y } = useCodeMirror({
4349
+ root: V,
4350
+ value: x,
4351
+ autoFocus: O,
4352
+ theme: k,
4353
+ height: A,
4354
+ minHeight: j,
4355
+ maxHeight: M,
4356
+ width: N,
4357
+ minWidth: P,
4358
+ maxWidth: F,
4359
+ basicSetup: I,
4360
+ placeholder: L,
4361
+ indentWithTab: R,
4362
+ editable: z,
4363
+ readOnly: B,
4364
+ selection: S,
4365
+ onChange: w,
4366
+ onStatistics: T,
4367
+ onCreateEditor: E,
4368
+ onUpdate: D,
4369
+ extensions: C,
4370
+ initialState: H
4371
+ });
4372
+ (0, import_react.useImperativeHandle)(y, () => ({
4373
+ editor: W.current,
4374
+ state: G,
4375
+ view: K
4376
+ }), [
4377
+ W,
4378
+ J,
4379
+ G,
4380
+ K
4381
+ ]);
4382
+ var X = (0, import_react.useCallback)((e7) => {
4383
+ W.current = e7, Y(e7);
4384
+ }, [Y]);
4385
+ if (typeof x != "string") throw Error("value must be typeof string but got " + typeof x);
4386
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", _extends({
4387
+ ref: X,
4388
+ className: (typeof k == "string" ? "cm-theme-" + k : "cm-theme") + (b ? " " + b : "")
4389
+ }, U));
4390
+ });
4391
+ ReactCodeMirror.displayName = "CodeMirror";
4392
+ var esm_default = ReactCodeMirror;
4378
4393
  export {
4379
4394
  _extends as a,
4380
4395
  setDiagnostics as c,
4381
4396
  CopyClipboardIcon as d,
4382
- minimalSetup as i,
4397
+ loadLanguage as i,
4383
4398
  historyField as l,
4384
- loadLanguage as n,
4399
+ minimalSetup as n,
4385
4400
  forEachDiagnostic as o,
4386
- esm_default as r,
4401
+ langs as r,
4387
4402
  linter as s,
4388
- langs as t,
4403
+ esm_default as t,
4389
4404
  insertTab as u
4390
4405
  };