@marimo-team/islands 0.21.2-dev1 → 0.21.2-dev100

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 (720) hide show
  1. package/dist/{Combination-BBPQRrDo.js → Combination-B--d1_LV.js} +10 -10
  2. package/dist/{ConnectedDataExplorerComponent-D0GoOd_c.js → ConnectedDataExplorerComponent-CTfvzyMi.js} +85 -85
  3. package/dist/{ImageComparisonComponent-BYQfAfSR.js → ImageComparisonComponent-B5q26YVi.js} +1 -1
  4. package/dist/{Plot-DfUav0o0.js → Plot-syRHsk-l.js} +1 -1
  5. package/dist/_basePickBy-DEctY8Qy.js +117 -0
  6. package/dist/_baseSet-Bk810b_4.js +20 -0
  7. package/dist/_baseUniq-B1NzzhU7.js +557 -0
  8. package/dist/{any-language-editor-DlsjUw_l.js → any-language-editor-Bj-3432h.js} +22 -21
  9. package/dist/apl-Y7yFAg6_.js +4 -0
  10. package/dist/{arc-DXxE-tFl.js → arc-CEWBr4jc.js} +2 -2
  11. package/dist/architecture-7HQA4BMR-SvLOcNCN.js +6 -0
  12. package/dist/{architectureDiagram-VXUJARFQ-Df0FNeBR.js → architectureDiagram-VXUJARFQ-BKlUkb-q.js} +19 -19
  13. package/dist/arrays--2cd0hte.js +59 -0
  14. package/dist/asciiarmor-Bl8b2p0w.js +4 -0
  15. package/dist/asn1-BF6cywqm.js +4 -0
  16. package/dist/{blockDiagram-VD42YOAC-DszWqlLz.js → blockDiagram-VD42YOAC-DvgBlX1D.js} +14 -14
  17. package/dist/brainfuck-BuqydWe3.js +4 -0
  18. package/dist/{button-BKkuUpZh.js → button-qsiIHncQ.js} +17 -13
  19. package/dist/{c4Diagram-YG6GDRKO-Dyj8LoUX.js → c4Diagram-YG6GDRKO-BN-xpNUK.js} +6 -6
  20. package/dist/capabilities-BC3mzKnw.js +36 -0
  21. package/dist/{channel-CUFaIkTh.js → channel-Dz_ka_DS.js} +1 -1
  22. package/dist/chat-ui-BvK3aDSR.js +7709 -0
  23. package/dist/{check-Diwc5emq.js → check-D_YwHEgY.js} +1 -1
  24. package/dist/{chunk-4BX2VUAB-CwMMQLZ_.js → chunk-4BX2VUAB-BChPAwlt.js} +1 -1
  25. package/dist/{chunk-4F5CHEZ2-CRwwZ2ED.js → chunk-4F5CHEZ2-9eJ5uB6a.js} +1 -1
  26. package/dist/{chunk-55IACEB6-Dj8CzJvE.js → chunk-55IACEB6-wWyiO7Qo.js} +1 -1
  27. package/dist/{chunk-5FQGJX7Z-BkzUmppO.js → chunk-5FQGJX7Z-DHiDX6JT.js} +1504 -2846
  28. package/dist/{chunk-ABZYJK2D-7QYXAAhe.js → chunk-ABZYJK2D-DYZpeLRO.js} +3 -3
  29. package/dist/{chunk-ATLVNIR6-pmHPAPSd.js → chunk-ATLVNIR6-9VSIMo3q.js} +2 -2
  30. package/dist/{chunk-B2363JML-BuBMltZc.js → chunk-B2363JML-CkfqLBeZ.js} +1 -1
  31. package/dist/{chunk-B4BG7PRW-Dbta9cTX.js → chunk-B4BG7PRW-CyIVj-RO.js} +7 -7
  32. package/dist/{chunk-CVBHYZKI-D8iwHsLF.js → chunk-CVBHYZKI-DqdOZevv.js} +1 -1
  33. package/dist/{chunk-DI55MBZ5-DyKB35wC.js → chunk-DI55MBZ5-kmoX4_PJ.js} +6 -6
  34. package/dist/{chunk-EXTU4WIE-BRFl4iNd.js → chunk-EXTU4WIE-anbpETeD.js} +2 -2
  35. package/dist/{chunk-FMBD7UC4-XTL4xAvH.js → chunk-FMBD7UC4-WPL5C7Yr.js} +1 -1
  36. package/dist/{chunk-FRFDVMJY-Bk2LD5Te.js → chunk-FRFDVMJY-DiBbw2aO.js} +1 -1
  37. package/dist/{chunk-HN2XXSSU-CzO5Phf0.js → chunk-HN2XXSSU-GC9oeSst.js} +1 -1
  38. package/dist/{chunk-JA3XYJ7Z-BkrY9SdL.js → chunk-JA3XYJ7Z-DT9thFja.js} +3 -3
  39. package/dist/{chunk-JZLCHNYA-Bk_Lil-q.js → chunk-JZLCHNYA-CoUG-3_5.js} +6 -6
  40. package/dist/{chunk-MI3HLSF2-DvCKDmpi.js → chunk-MI3HLSF2-CAUClZTk.js} +1 -1
  41. package/dist/{chunk-N4CR4FBY-f5n6meOd.js → chunk-N4CR4FBY-CgZCueW4.js} +7 -7
  42. package/dist/{chunk-PL6DKKU2-DiFkzMfM.js → chunk-PL6DKKU2-B93gSUY5.js} +1 -1
  43. package/dist/{chunk-QN33PNHL-CXfJywHv.js → chunk-QN33PNHL-T-uF7h40.js} +2 -2
  44. package/dist/{chunk-QXUST7PY-D7-26sj3.js → chunk-QXUST7PY-D1a8s9iP.js} +10 -10
  45. package/dist/{chunk-QZHKN3VN-CYbwZKgJ.js → chunk-QZHKN3VN-cTJMhkeY.js} +1 -1
  46. package/dist/{chunk-S3R3BYOJ-BRT9vd1R.js → chunk-S3R3BYOJ-KAv7zltL.js} +6 -6
  47. package/dist/{chunk-SJTYNZTY-BvVkbShU.js → chunk-SJTYNZTY-CxP2rIlm.js} +1 -1
  48. package/dist/{chunk-TCCFYFTB-DqxhgXG0.js → chunk-TCCFYFTB-BrhaBdR8.js} +18 -14
  49. package/dist/{chunk-TQ3KTPDO-CPkEruAA.js → chunk-TQ3KTPDO-C0j_j938.js} +1 -1
  50. package/dist/{chunk-TZMSLE5B-DSfBOnzx.js → chunk-TZMSLE5B-BY2BhygM.js} +3 -3
  51. package/dist/{chunk-UMXZTB3W-C4ypIY3V.js → chunk-UMXZTB3W-BDwe1tzK.js} +1 -1
  52. package/dist/classDiagram-2ON5EDUG-LT-Hu_dE.js +30 -0
  53. package/dist/classDiagram-v2-WZHVMYZB-G4qrOqlY.js +30 -0
  54. package/dist/{clike-CLJYUAWw.js → clike-D8Yzpo0X.js} +1 -1
  55. package/dist/clojure-CAHAWK5H.js +4 -0
  56. package/dist/{clone-CEQ-pda1.js → clone-DgKKB0qR.js} +1 -1
  57. package/dist/cmake-BogDc4GF.js +4 -0
  58. package/dist/cobol-DRnpeU4u.js +4 -0
  59. package/dist/{code-block-37QAKDTI-DV_ZyoUh.js → code-block-37QAKDTI-CdeP6GC3.js} +2 -2
  60. package/dist/coffeescript-9MgX7RN8.js +4 -0
  61. package/dist/commonlisp-CVz2KONN.js +4 -0
  62. package/dist/{constants-CytQ_3LM.js → constants-CXiS0vdr.js} +3 -3
  63. package/dist/{copy-DIK6DiIA.js → copy-CBo9JcJW.js} +14 -4
  64. package/dist/{cose-bilkent-S5V4N54A-BCDTZDay.js → cose-bilkent-S5V4N54A-CFYo67PX.js} +2 -2
  65. package/dist/crystal-td8mwLG5.js +4 -0
  66. package/dist/css-BK451dBn.js +4 -0
  67. package/dist/cypher-DuNPR6Ie.js +4 -0
  68. package/dist/d-DL6oP_-2.js +4 -0
  69. package/dist/{dagre-6UL2VRFP-DGEbtmgU.js → dagre-6UL2VRFP-CblBywCi.js} +33 -33
  70. package/dist/{dagre-BVnNvbvD.js → dagre-lLfkMavw.js} +37 -16
  71. package/dist/{data-grid-overlay-editor-BD0BFHzy.js → data-grid-overlay-editor-nQBPvGNe.js} +3 -3
  72. package/dist/{diagram-PSM6KHXK-CG_usglE.js → diagram-PSM6KHXK-CEWNAeex.js} +22 -22
  73. package/dist/{diagram-QEK2KX5R-CtGFEwzJ.js → diagram-QEK2KX5R-DvNPI6r6.js} +17 -17
  74. package/dist/{diagram-S2PKOQOG-ClKAGmbv.js → diagram-S2PKOQOG-Bd8sWp1V.js} +17 -17
  75. package/dist/diff-D9CplOBj.js +4 -0
  76. package/dist/{dist-CseYuPtL.js → dist-5XnuIjzQ.js} +2 -2
  77. package/dist/{dist-lNe4i1Nm.js → dist-B4HRhSlD.js} +1 -1
  78. package/dist/{dist-i-ud9aCA.js → dist-B5pakFbT.js} +1 -1
  79. package/dist/{dist-D5NMgbbv.js → dist-B7Wxocl4.js} +2 -2
  80. package/dist/{dist-CPlGUbk-.js → dist-B7pzGu3v.js} +2 -2
  81. package/dist/dist-BKKbDTix.js +550 -0
  82. package/dist/dist-BOx8CJbo.js +5 -0
  83. package/dist/dist-BYoWtcAc.js +5 -0
  84. package/dist/dist-BaGdTXK1.js +5 -0
  85. package/dist/dist-BhGA2ia0.js +8 -0
  86. package/dist/{dist-BUrWeMEP.js → dist-BmqJ8_Hr.js} +1 -1
  87. package/dist/{dist-BGZ7TWS9.js → dist-BnCNDnA7.js} +3 -3
  88. package/dist/{dist-BpMlUdNO.js → dist-BnIjtwRq.js} +3 -3
  89. package/dist/dist-BoHuwe5C.js +5 -0
  90. package/dist/{dist-Bq5eYK43.js → dist-BqO6WmbK.js} +2 -2
  91. package/dist/{dist-DUretbKK.js → dist-C-8pSTml.js} +2 -2
  92. package/dist/{dist-D4gcY469.js → dist-C6R5LnmH.js} +2 -2
  93. package/dist/{dist-Ux6dL_VB.js → dist-CD0aazOL.js} +1 -1
  94. package/dist/{dist-C4K7pumm.js → dist-CDXh0OSg.js} +2 -2
  95. package/dist/dist-CJ-2wW2z.js +8 -0
  96. package/dist/{dist-DOoqn-VL.js → dist-CORAUsE1.js} +71 -37
  97. package/dist/{dist-HoZO6brh.js → dist-C_tLMuB0.js} +2 -2
  98. package/dist/dist-Ccbo2rCF.js +8 -0
  99. package/dist/{dist-COpDrwi-.js → dist-CgCO1-j-.js} +1 -1
  100. package/dist/{dist-Cl5iM8xL.js → dist-Ck4gp1Wp.js} +3 -3
  101. package/dist/dist-CwayJLIO.js +5 -0
  102. package/dist/dist-D-jpfI6q.js +6 -0
  103. package/dist/{dist-C0Rnbr-_.js → dist-D2Rk1j4R.js} +4 -4
  104. package/dist/{dist-DERtJN02.js → dist-DFBgTyQ4.js} +2 -2
  105. package/dist/{dist-CDHl2i1x.js → dist-DInzmbT2.js} +4 -4
  106. package/dist/{dist-CSEWGuDq.js → dist-DJ3EjUNc.js} +1 -1
  107. package/dist/{dist-RNGn_-uD.js → dist-DM6PPTtq.js} +1 -1
  108. package/dist/{dist-DodLQWPg.js → dist-DS6k03oP.js} +1 -1
  109. package/dist/dist-DShjplLu.js +8 -0
  110. package/dist/{dist-BFxYppVR.js → dist-DUY_SIWT.js} +4 -4
  111. package/dist/dist-DhBqFguQ.js +5 -0
  112. package/dist/dist-DiCgMCy4.js +6 -0
  113. package/dist/{dist-CAKwXCWI.js → dist-DqWKkHpR.js} +2 -2
  114. package/dist/dist-Dqa-QKVa.js +5 -0
  115. package/dist/{dist-BSfYc7vq.js → dist-DqezbmBd.js} +2 -2
  116. package/dist/{dist-gc9KgJuA.js → dist-Dv7FDx1_.js} +1 -1
  117. package/dist/dist-OFv2DOPe.js +5 -0
  118. package/dist/{dist-D_-CGmlh.js → dist-_k5rxRQI.js} +2 -2
  119. package/dist/{dist-B9EjSb9T.js → dist-n5m_P2Mr.js} +1 -1
  120. package/dist/{dist-Bq9zYwJs.js → dist-nggqqIVv.js} +5 -5
  121. package/dist/{dist-DEj2X26M.js → dist-xzh9kCE-.js} +2 -2
  122. package/dist/{dockerfile-BxhYdLHL.js → dockerfile-m9DOSpI5.js} +1 -1
  123. package/dist/dtd-Ce1c54UO.js +4 -0
  124. package/dist/dylan-B43wjIwg.js +4 -0
  125. package/dist/ecl-DK-fZmir.js +4 -0
  126. package/dist/eiffel-CNuvvPqD.js +4 -0
  127. package/dist/elm-DZEkBjgQ.js +4 -0
  128. package/dist/{erDiagram-Q2GNP2WA-DPMseVVp.js → erDiagram-Q2GNP2WA-C5bM6dcx.js} +15 -15
  129. package/dist/erlang-Dw4PDZV_.js +4 -0
  130. package/dist/{error-banner-Dmi5ujan.js → error-banner-DkDzvax3.js} +26 -26
  131. package/dist/esm-BBsFNcPe.js +1587 -0
  132. package/dist/esm-C9_jY_wu.js +2805 -0
  133. package/dist/factor-C9JRv63g.js +4 -0
  134. package/dist/{factor-Png_OsVt.js → factor-Nva0iSXt.js} +1 -1
  135. package/dist/{flowDiagram-NV44I4VS-BpAIFwW7.js → flowDiagram-NV44I4VS-CULNNnl6.js} +17 -17
  136. package/dist/forth-CKhoqn4e.js +4 -0
  137. package/dist/fortran-Do51bToK.js +4 -0
  138. package/dist/{ganttDiagram-JELNMOA3-DXYghZ9C.js → ganttDiagram-JELNMOA3-DIi-PAjP.js} +10 -10
  139. package/dist/gas-BZfL3Uwh.js +4 -0
  140. package/dist/get-CqYRpAGT.js +68 -0
  141. package/dist/gherkin-BwQh4ehw.js +4 -0
  142. package/dist/{gitGraph-G5XIXVHT-ChHUSAop.js → gitGraph-G5XIXVHT-S7ypWRtz.js} +3 -3
  143. package/dist/{gitGraphDiagram-V2S2FVAM-CBL-7g3_.js → gitGraphDiagram-V2S2FVAM-BGDZsLhF.js} +17 -17
  144. package/dist/{glide-data-editor-pZyd9UJ_.js → glide-data-editor-D0IYL4_F.js} +96 -95
  145. package/dist/graphlib-TFMRsJse.js +225 -0
  146. package/dist/groovy-CG5kCGiv.js +4 -0
  147. package/dist/haskell-BKii9uTg.js +4 -0
  148. package/dist/haxe-Bsz30J8x.js +5 -0
  149. package/dist/idl-BlxgaPKj.js +4 -0
  150. package/dist/{info-VBDWY6EO-CwyXEo8E.js → info-VBDWY6EO-CRCLLsdb.js} +3 -3
  151. package/dist/infoDiagram-HS3SLOUP-fkZhmVE7.js +30 -0
  152. package/dist/{types-CGc7peZV.js → input-C5uUN4xL.js} +258 -455
  153. package/dist/isEmpty-D_Jzlmqv.js +42 -0
  154. package/dist/{isSymbol-Dyt2NSnN.js → isSymbol-DFp8040B.js} +1 -1
  155. package/dist/javascript-SNhUvTcB.js +4 -0
  156. package/dist/{journeyDiagram-XKPGCS4Q-D5BIjS4N.js → journeyDiagram-XKPGCS4Q-DUANVNzR.js} +7 -7
  157. package/dist/julia-CGZzaDyk.js +4 -0
  158. package/dist/{kanban-definition-3W4ZIXB7-DhDkqxFB.js → kanban-definition-3W4ZIXB7-dEyZPMAd.js} +12 -12
  159. package/dist/{katex-pyO_klYC.js → katex-Ckd8lBne.js} +1 -1
  160. package/dist/{label-BbpGrh4j.js → label-DwSVaniz.js} +75 -82
  161. package/dist/{line-C1k1rG3Z.js → line-LK_5q2B9.js} +3 -3
  162. package/dist/{linear-DIp6l9sg.js → linear-CJ6ctpF3.js} +4 -4
  163. package/dist/livescript-Cj6cX-Ys.js +4 -0
  164. package/dist/{loader-CABJs6GU.js → loader-DrMJeyDu.js} +29 -35
  165. package/dist/lua-BcVHrD8f.js +4 -0
  166. package/dist/main.js +40319 -75347
  167. package/dist/mathematica-DLY8ZGoJ.js +4 -0
  168. package/dist/mbox-BNTsMWS5.js +4 -0
  169. package/dist/{memoize-Cs8aS5RW.js → memoize-CwWm-NpB.js} +1 -1
  170. package/dist/{merge-NuyC7LN7.js → merge-Byt9w-nO.js} +1 -1
  171. package/dist/mermaid-4DMBBIKO-C2ajbN0u.js +6 -0
  172. package/dist/{mermaid-CrKqsE2j.js → mermaid-Bwy7OYzI.js} +50 -50
  173. package/dist/{mermaid-parser.core-OkWZ8nr-.js → mermaid-parser.core-DDGHdNnp.js} +8 -8
  174. package/dist/{mhchem-DckvwtV8.js → mhchem-DAXq6Zll.js} +1 -1
  175. package/dist/micromark-factory-space-YUxUai1y.js +1341 -0
  176. package/dist/{mindmap-definition-VGOIOE7T-BxQi78Vl.js → mindmap-definition-VGOIOE7T-jZ7-PfhM.js} +14 -14
  177. package/dist/mirc-oyeOBir2.js +4 -0
  178. package/dist/mllike-ByxznKQw.js +6 -0
  179. package/dist/modelica-DNLhoyD8.js +4 -0
  180. package/dist/mscgen-DkZltsli.js +6 -0
  181. package/dist/mumps-TTiQB1xv.js +4 -0
  182. package/dist/{now-BC2mX0ZT.js → now-uNLDfbuW.js} +1 -1
  183. package/dist/{nsis-BrAITej_.js → nsis-DgKbDAVQ.js} +1 -1
  184. package/dist/nsis-RT1O1Ph8.js +4 -0
  185. package/dist/ntriples-CxsCiZ7Z.js +4 -0
  186. package/dist/{number-overlay-editor-CQrncFlP.js → number-overlay-editor-BqzX9dHu.js} +1 -1
  187. package/dist/octave-CkLh5tpW.js +4 -0
  188. package/dist/once-BfpiMcdf.js +26 -0
  189. package/dist/{ordinal-Dcvf4J1m.js → ordinal-COPPjmMz.js} +1 -1
  190. package/dist/oz-yI7U9eVH.js +4 -0
  191. package/dist/{packet-DYOGHKS2-C62XQjZh.js → packet-DYOGHKS2-DPTC67cY.js} +3 -3
  192. package/dist/pascal-CQK8sfDe.js +4 -0
  193. package/dist/perl-BEG8-kZl.js +4 -0
  194. package/dist/{pie-VRWISCQL-nfAKQJw3.js → pie-VRWISCQL-DfbgsrV5.js} +3 -3
  195. package/dist/{pieDiagram-ADFJNKIX-DfSJXUHa.js → pieDiagram-ADFJNKIX-BiAFdzOP.js} +22 -22
  196. package/dist/pig-DLLCqQaR.js +4 -0
  197. package/dist/powershell-CtjMkVO_.js +4 -0
  198. package/dist/{precisionRound-BAc-kQ3q.js → precisionRound-Duzbr5ur.js} +1 -1
  199. package/dist/process-output-CT8hHGp6.js +27986 -0
  200. package/dist/properties-Domeb57z.js +4 -0
  201. package/dist/protobuf-0yk85TV6.js +4 -0
  202. package/dist/pug-B-BiNkM-.js +4 -0
  203. package/dist/{pug-CH-17az-.js → pug-CTpLcc1b.js} +1 -1
  204. package/dist/puppet-C0N4vevK.js +4 -0
  205. package/dist/python-BZFa8G3C.js +4 -0
  206. package/dist/q-gcj7dgJv.js +4 -0
  207. package/dist/{quadrantDiagram-AYHSOK5B-CAcVWXc-.js → quadrantDiagram-AYHSOK5B-CZjWO4oG.js} +5 -5
  208. package/dist/r-DavzTuPU.js +4 -0
  209. package/dist/{radar-ZZBFDIW7-lopS8_4j.js → radar-ZZBFDIW7-B5Hwx2a8.js} +3 -3
  210. package/dist/react-vega-DfxWeueH.js +9 -0
  211. package/dist/{react-vega-C6kwcd86.js → react-vega-JMnqwKtN.js} +19 -19
  212. package/dist/{requirementDiagram-UZGBJVZJ-BU7dwzFM.js → requirementDiagram-UZGBJVZJ-D9PkMDa5.js} +14 -14
  213. package/dist/rpm-bPj31ya8.js +5 -0
  214. package/dist/ruby-3UzzijjE.js +4 -0
  215. package/dist/{sankeyDiagram-TZEHDZUN-BVJnR4_b.js → sankeyDiagram-TZEHDZUN-DuCG1ouO.js} +5 -5
  216. package/dist/sas-D9upmCP9.js +4 -0
  217. package/dist/scheme-DqWYzIFR.js +4 -0
  218. package/dist/{sequenceDiagram-WL72ISMW-CQcFQTwX.js → sequenceDiagram-WL72ISMW-BLJqizTv.js} +8 -8
  219. package/dist/shell-w63nkNmU.js +4 -0
  220. package/dist/sieve-Dz_ISrl6.js +4 -0
  221. package/dist/{slides-component-GkilRW21.js → slides-component-BsaaAy66.js} +3 -3
  222. package/dist/smalltalk-BXZ14pkr.js +4 -0
  223. package/dist/sparql-Boyc0wkb.js +4 -0
  224. package/dist/{spec-Bfvf9Hre.js → spec-BLAZSydG.js} +12 -422
  225. package/dist/{src-CHUphWwL.js → src-szye8OCw.js} +1 -1
  226. package/dist/{stateDiagram-FKZM4ZOC-Dx9AIGDe.js → stateDiagram-FKZM4ZOC-CmZfv4_-.js} +19 -19
  227. package/dist/stateDiagram-v2-4FDKWEC3-BpOH8Bgl.js +29 -0
  228. package/dist/{step-BbmiiQdf.js → step-1PmBKr2y.js} +1 -1
  229. package/dist/stex-DYK84lGq.js +4 -0
  230. package/dist/style.css +1 -1
  231. package/dist/stylus-m9L_f1X1.js +4 -0
  232. package/dist/swift-C4TGn99K.js +4 -0
  233. package/dist/tcl-D_L0cfYZ.js +4 -0
  234. package/dist/textile-BAofYdKN.js +4 -0
  235. package/dist/{time-DFFVNc1Q.js → time-B8tcX_hU.js} +4 -4
  236. package/dist/{timeline-definition-IT6M3QCI-D8B3p7ID.js → timeline-definition-IT6M3QCI-C7yv4fEk.js} +4 -4
  237. package/dist/toDate-BWaG12Pv.js +637 -0
  238. package/dist/{toNumber-CbZ70FdN.js → toNumber-xFPoy1OI.js} +2 -2
  239. package/dist/toml-DCDKACLL.js +4 -0
  240. package/dist/{tooltip-CKG75XQa.js → tooltip-DGHTbHl5.js} +4 -4
  241. package/dist/{treemap-GDKQZRPO-CkR-5ai2.js → treemap-GDKQZRPO-B_LAAEIM.js} +3 -3
  242. package/dist/troff-JHOU2VZK.js +4 -0
  243. package/dist/ttcn-Cxhng3qq.js +4 -0
  244. package/dist/ttcn-cfg-DJgUIu5n.js +4 -0
  245. package/dist/turtle-DKYkKZjV.js +4 -0
  246. package/dist/types-Dqw69fPc.js +202 -0
  247. package/dist/{useAsyncData-CEjJxwFB.js → useAsyncData-Dqt2tV1E.js} +2 -2
  248. package/dist/useDeepCompareMemoize-D2PKDkrk.js +85 -0
  249. package/dist/useIframeCapabilities-DlwLttZw.js +13 -0
  250. package/dist/useLifecycle-CJ_5Z4Mk.js +173 -0
  251. package/dist/{useTheme-CPybHVFN.js → useTheme-BIAKDAh6.js} +47 -12
  252. package/dist/vb-C9rpn9hN.js +4 -0
  253. package/dist/vbscript-BQ7rxQU0.js +4 -0
  254. package/dist/{vega-component-CuPTCRp5.js → vega-component-CTOT0vRO.js} +199 -198
  255. package/dist/{vega-loader.browser-CQ-lnUkI.js → vega-loader.browser-hMqVC9bf.js} +3 -3
  256. package/dist/velocity-C8WXmzLz.js +4 -0
  257. package/dist/verilog-BUXJEyEq.js +4 -0
  258. package/dist/vhdl-C18YIXfF.js +4 -0
  259. package/dist/webidl-D97EKzDx.js +4 -0
  260. package/dist/xquery-BZM6yzG2.js +4 -0
  261. package/dist/{xychartDiagram-PRI3JC2R-XO8FiQjU.js → xychartDiagram-PRI3JC2R-DC0-6FAB.js} +13 -13
  262. package/dist/yacas-CXKck-Ok.js +4 -0
  263. package/dist/z80-BbF6ykWc.js +4 -0
  264. package/package.json +4 -3
  265. package/src/__mocks__/notebook.ts +9 -9
  266. package/src/__mocks__/requests.ts +2 -1
  267. package/src/__tests__/branded.ts +20 -0
  268. package/src/__tests__/setup.ts +15 -0
  269. package/src/components/ai/ai-model-dropdown.tsx +1 -1
  270. package/src/components/app-config/__tests__/get-dirty-values.test.ts +1 -1
  271. package/src/components/app-config/get-dirty-values.ts +100 -0
  272. package/src/components/app-config/user-config-form.tsx +6 -101
  273. package/src/components/chat/acp/agent-panel.tsx +4 -2
  274. package/src/components/chat/acp/blocks.tsx +1 -2
  275. package/src/components/chat/acp/state.ts +1 -1
  276. package/src/components/chat/chat-utils.ts +7 -8
  277. package/src/components/chat/tool-call-accordion.tsx +1 -0
  278. package/src/components/data-table/TableActions.tsx +34 -60
  279. package/src/components/data-table/__tests__/columns.test.tsx +138 -0
  280. package/src/components/data-table/__tests__/data-table.test.tsx +63 -0
  281. package/src/components/data-table/__tests__/utils.test.ts +138 -1
  282. package/src/components/data-table/charts/__tests__/storage.test.ts +7 -7
  283. package/src/components/data-table/charts/components/chart-items.tsx +1 -1
  284. package/src/components/data-table/charts/components/form-fields.tsx +1 -1
  285. package/src/components/data-table/charts/forms/common-chart.tsx +1 -1
  286. package/src/components/data-table/charts/storage.ts +1 -1
  287. package/src/components/data-table/column-explorer-panel/column-explorer.tsx +24 -13
  288. package/src/components/data-table/column-header.tsx +1 -1
  289. package/src/components/data-table/columns.tsx +44 -4
  290. package/src/components/data-table/context-menu.tsx +9 -5
  291. package/src/components/data-table/data-table.tsx +24 -42
  292. package/src/components/data-table/download-actions.tsx +18 -18
  293. package/src/components/data-table/filters.ts +1 -0
  294. package/src/components/data-table/hooks/use-column-pinning.ts +1 -1
  295. package/src/components/data-table/hooks/use-panel-ownership.ts +15 -5
  296. package/src/components/data-table/hooks/use-scroll-container-height.ts +97 -0
  297. package/src/components/data-table/pagination.tsx +1 -1
  298. package/src/components/data-table/range-focus/__tests__/atoms.test.ts +8 -2
  299. package/src/components/data-table/range-focus/__tests__/test-utils.ts +2 -0
  300. package/src/components/data-table/range-focus/__tests__/use-cell-range-selection.test.ts +119 -0
  301. package/src/components/data-table/range-focus/__tests__/utils.test.ts +82 -8
  302. package/src/components/data-table/range-focus/atoms.ts +2 -2
  303. package/src/components/data-table/range-focus/use-cell-range-selection.ts +19 -0
  304. package/src/components/data-table/range-focus/utils.ts +50 -12
  305. package/src/components/data-table/renderers.tsx +103 -46
  306. package/src/components/data-table/row-viewer-panel/row-viewer.tsx +53 -44
  307. package/src/components/data-table/schemas.ts +7 -2
  308. package/src/components/data-table/table-explorer-panel/table-explorer-panel.tsx +161 -0
  309. package/src/components/data-table/types.ts +21 -0
  310. package/src/components/data-table/utils.ts +87 -0
  311. package/src/components/datasources/datasources.tsx +46 -1
  312. package/src/components/editor/__tests__/data-attributes.test.tsx +8 -8
  313. package/src/components/editor/actions/useNotebookActions.tsx +2 -2
  314. package/src/components/editor/ai/__tests__/completion-utils.test.ts +15 -15
  315. package/src/components/editor/chrome/panels/context-aware-panel/context-aware-panel.tsx +16 -9
  316. package/src/components/editor/chrome/wrapper/footer-items/backend-status.tsx +2 -2
  317. package/src/components/editor/connections/form-renderers.tsx +1 -1
  318. package/src/components/editor/connections/storage/__tests__/__snapshots__/as-code.test.ts.snap +2 -2
  319. package/src/components/editor/connections/storage/as-code.ts +2 -2
  320. package/src/components/editor/file-tree/file-explorer.tsx +16 -2
  321. package/src/components/editor/file-tree/file-viewer.tsx +17 -3
  322. package/src/components/editor/navigation/__tests__/clipboard.test.ts +2 -2
  323. package/src/components/editor/navigation/__tests__/selection.test.ts +7 -6
  324. package/src/components/editor/navigation/__tests__/state.test.ts +8 -7
  325. package/src/components/editor/output/MarimoErrorOutput.tsx +7 -7
  326. package/src/components/editor/output/__tests__/traceback.test.tsx +4 -4
  327. package/src/components/editor/output/console/__tests__/ConsoleOutput.test.tsx +4 -4
  328. package/src/components/editor/package-alert.tsx +1 -1
  329. package/src/components/editor/renderers/grid-layout/grid-layout.tsx +2 -2
  330. package/src/components/editor/renderers/layout-select.tsx +2 -2
  331. package/src/components/editor/renderers/vertical-layout/useFocusFirstEditor.ts +8 -1
  332. package/src/components/markdown/markdown-renderer.tsx +18 -2
  333. package/src/components/storage/storage-file-viewer.tsx +35 -1
  334. package/src/components/storage/storage-inspector.tsx +9 -4
  335. package/src/components/storage/storage-snippets.ts +3 -3
  336. package/src/components/tracing/tracing.tsx +3 -1
  337. package/src/components/ui/range-slider.tsx +108 -1
  338. package/src/components/variables/variables-table.tsx +1 -1
  339. package/src/core/ai/__tests__/staged-cells.test.ts +9 -8
  340. package/src/core/ai/context/providers/__tests__/cell-output.test.ts +31 -31
  341. package/src/core/ai/context/providers/__tests__/datasource.test.ts +3 -3
  342. package/src/core/ai/context/providers/__tests__/tables.test.ts +3 -2
  343. package/src/core/ai/context/providers/__tests__/variable.test.ts +84 -63
  344. package/src/core/ai/staged-cells.ts +6 -0
  345. package/src/core/ai/tools/__tests__/edit-notebook-tool.test.ts +10 -9
  346. package/src/core/ai/tools/__tests__/run-cells-tool.test.ts +6 -6
  347. package/src/core/ai/tools/edit-notebook-tool.ts +3 -3
  348. package/src/core/cells/__tests__/add-missing-import.test.ts +3 -3
  349. package/src/core/cells/__tests__/apply-transaction.test.ts +279 -0
  350. package/src/core/cells/__tests__/cells.test.ts +198 -135
  351. package/src/core/cells/__tests__/document-changes.test.ts +572 -0
  352. package/src/core/cells/__tests__/document-roundtrip.test.ts +376 -0
  353. package/src/core/cells/__tests__/focus.test.ts +5 -4
  354. package/src/core/cells/__tests__/logs.test.ts +13 -12
  355. package/src/core/cells/__tests__/pending-delete-service.test.tsx +3 -3
  356. package/src/core/cells/__tests__/runs.test.ts +29 -24
  357. package/src/core/cells/__tests__/scrollCellIntoView.test.ts +8 -7
  358. package/src/core/cells/__tests__/session.test.ts +23 -22
  359. package/src/core/cells/cells.ts +36 -9
  360. package/src/core/cells/document-changes.ts +644 -0
  361. package/src/core/cells/ids.ts +5 -5
  362. package/src/core/cells/logs.ts +2 -2
  363. package/src/core/cells/runs.ts +6 -8
  364. package/src/core/codemirror/__tests__/format.test.ts +34 -36
  365. package/src/core/codemirror/__tests__/setup.test.ts +2 -2
  366. package/src/core/codemirror/cells/__tests__/extensions.test.ts +114 -0
  367. package/src/core/codemirror/cells/__tests__/traceback-decorations.test.ts +33 -32
  368. package/src/core/codemirror/cells/extensions.ts +66 -23
  369. package/src/core/codemirror/completion/__tests__/keymap.test.ts +15 -35
  370. package/src/core/codemirror/completion/keymap.ts +14 -4
  371. package/src/core/codemirror/copilot/__tests__/getCodes.test.ts +12 -13
  372. package/src/core/codemirror/language/__tests__/utils.test.ts +3 -3
  373. package/src/core/codemirror/language/embedded/__tests__/embedded-python.test.ts +7 -8
  374. package/src/core/codemirror/language/languages/python.ts +4 -0
  375. package/src/core/codemirror/lsp/__tests__/notebook-lsp.test.ts +4 -3
  376. package/src/core/codemirror/lsp/notebook-lsp.ts +28 -2
  377. package/src/core/codemirror/reactive-references/__tests__/analyzer.test.ts +7 -6
  378. package/src/core/codemirror/reactive-references/analyzer.ts +2 -2
  379. package/src/core/codemirror/rtc/extension.ts +1 -1
  380. package/src/core/codemirror/rtc/loro/__tests__/sync.test.ts +52 -0
  381. package/src/core/codemirror/rtc/loro/sync.ts +1 -0
  382. package/src/core/datasets/__tests__/data-source.test.ts +93 -7
  383. package/src/core/datasets/data-source-connections.ts +44 -0
  384. package/src/core/datasets/request-registry.ts +13 -0
  385. package/src/core/datasets/state.ts +1 -1
  386. package/src/core/edit-app.tsx +0 -5
  387. package/src/core/errors/__tests__/errors.test.ts +2 -1
  388. package/src/core/export/__tests__/hooks.test.ts +37 -36
  389. package/src/core/islands/bridge.ts +2 -1
  390. package/src/core/islands/main.ts +5 -9
  391. package/src/core/kernel/__tests__/handlers.test.ts +5 -4
  392. package/src/core/kernel/handlers.ts +7 -4
  393. package/src/core/kernel/messages.ts +2 -0
  394. package/src/core/network/DeferredRequestRegistry.ts +2 -2
  395. package/src/core/network/__tests__/CachingRequestRegistry.test.ts +9 -10
  396. package/src/core/network/__tests__/DeferredRequestRegistry.test.ts +4 -6
  397. package/src/core/network/requests-lazy.ts +2 -1
  398. package/src/core/network/requests-network.ts +11 -3
  399. package/src/core/network/requests-static.ts +2 -1
  400. package/src/core/network/requests-toasting.tsx +2 -1
  401. package/src/core/network/types.ts +7 -2
  402. package/src/core/rtc/state.ts +1 -1
  403. package/src/core/saving/state.ts +2 -1
  404. package/src/core/slots/slots.ts +1 -0
  405. package/src/core/state/jotai.ts +2 -1
  406. package/src/core/static/__tests__/virtual-file-tracker.test.ts +8 -8
  407. package/src/core/static/virtual-file-tracker.ts +1 -1
  408. package/src/core/storage/__tests__/state.test.ts +31 -21
  409. package/src/core/storage/state.ts +1 -1
  410. package/src/core/variables/__tests__/state.test.ts +6 -6
  411. package/src/core/variables/types.ts +2 -2
  412. package/src/core/wasm/__tests__/state.test.ts +8 -8
  413. package/src/core/wasm/bridge.ts +11 -1
  414. package/src/core/websocket/useMarimoKernelConnection.tsx +33 -26
  415. package/src/css/app/fonts.css +6 -6
  416. package/src/css/md-tooltip.css +4 -39
  417. package/src/css/md.css +17 -0
  418. package/src/fonts/Fira_Mono/FiraMono-Bold.woff2 +0 -0
  419. package/src/fonts/Fira_Mono/FiraMono-Medium.woff2 +0 -0
  420. package/src/fonts/Fira_Mono/FiraMono-Regular.woff2 +0 -0
  421. package/src/fonts/Lora/Lora-VariableFont_wght.woff2 +0 -0
  422. package/src/fonts/PT_Sans/PTSans-Bold.woff2 +0 -0
  423. package/src/fonts/PT_Sans/PTSans-Regular.woff2 +0 -0
  424. package/src/plugins/core/RenderHTML.tsx +17 -0
  425. package/src/plugins/core/__test__/RenderHTML.test.ts +45 -0
  426. package/src/plugins/core/sanitize-html.ts +25 -18
  427. package/src/plugins/impl/DataTablePlugin.tsx +69 -28
  428. package/src/plugins/impl/RangeSliderPlugin.tsx +1 -1
  429. package/src/plugins/impl/SliderPlugin.tsx +1 -3
  430. package/src/plugins/impl/TextInputPlugin.tsx +97 -60
  431. package/src/plugins/impl/__tests__/SliderPlugin.test.tsx +120 -0
  432. package/src/plugins/impl/anywidget/model.ts +1 -2
  433. package/src/plugins/impl/chat/ChatPlugin.tsx +6 -3
  434. package/src/plugins/impl/chat/chat-ui.tsx +2 -2
  435. package/src/plugins/impl/data-editor/components.tsx +1 -1
  436. package/src/plugins/impl/data-explorer/components/query-form.tsx +2 -2
  437. package/src/plugins/impl/data-explorer/functions/types.ts +1 -2
  438. package/src/plugins/impl/data-frames/DataFramePlugin.tsx +1 -2
  439. package/src/plugins/impl/matplotlib/matplotlib-renderer.ts +5 -2
  440. package/src/plugins/impl/plotly/PlotlyPlugin.tsx +9 -4
  441. package/src/plugins/impl/plotly/usePlotlyLayout.ts +2 -2
  442. package/src/plugins/impl/vega/loader.ts +3 -4
  443. package/src/plugins/impl/vega/params.ts +1 -1
  444. package/src/stories/cell.stories.tsx +8 -8
  445. package/src/stories/dataframe.stories.tsx +1 -1
  446. package/src/stories/layout/vertical/one-column.stories.tsx +9 -8
  447. package/src/stories/log-viewer.stories.tsx +8 -8
  448. package/src/stories/variables.stories.tsx +2 -2
  449. package/src/utils/__tests__/arrays.test.ts +118 -0
  450. package/src/utils/__tests__/createReducer.test.ts +2 -1
  451. package/src/utils/__tests__/download.test.tsx +21 -20
  452. package/src/utils/__tests__/objects.test.ts +34 -0
  453. package/src/utils/__tests__/strings.test.ts +27 -1
  454. package/src/utils/arrays.ts +67 -0
  455. package/src/utils/copy.ts +18 -5
  456. package/src/utils/createReducer.ts +46 -26
  457. package/src/utils/download.ts +4 -3
  458. package/src/utils/html-to-image.ts +6 -0
  459. package/src/utils/json/base64.ts +3 -3
  460. package/src/utils/objects.ts +14 -0
  461. package/src/utils/strings.ts +39 -19
  462. package/src/utils/traceback.ts +5 -3
  463. package/dist/_arrayReduce-BfFy684W.js +0 -9
  464. package/dist/_baseIsEqual-CvgsjYoW.js +0 -226
  465. package/dist/_basePickBy-pTDW2_2A.js +0 -47
  466. package/dist/_baseSlice-BrVixxuc.js +0 -10
  467. package/dist/_baseUniq-BUFhl85h.js +0 -59
  468. package/dist/_hasUnicode-C32WqUu7.js +0 -8
  469. package/dist/apl-lHFVoxx7.js +0 -4
  470. package/dist/architecture-7HQA4BMR-BmtmhGMc.js +0 -6
  471. package/dist/asciiarmor-DqCdZUHI.js +0 -4
  472. package/dist/asn1-DEcwtw-q.js +0 -4
  473. package/dist/brainfuck-Bro9Oz5x.js +0 -4
  474. package/dist/classDiagram-2ON5EDUG-DphiMW3Y.js +0 -30
  475. package/dist/classDiagram-v2-WZHVMYZB-BH1x5h4a.js +0 -30
  476. package/dist/clojure-B2uhdQPa.js +0 -4
  477. package/dist/cmake-B9WXyQcc.js +0 -4
  478. package/dist/cobol-CPD3EJfO.js +0 -4
  479. package/dist/coffeescript-KD9TnEnS.js +0 -4
  480. package/dist/commonlisp-DNEULz_Q.js +0 -4
  481. package/dist/crystal-DVPNgAPQ.js +0 -4
  482. package/dist/css-fq3a1AH1.js +0 -4
  483. package/dist/cypher-Dtzq0BP7.js +0 -4
  484. package/dist/d-DcZudIhJ.js +0 -4
  485. package/dist/diff-D9BPDC3o.js +0 -4
  486. package/dist/dist-B4MxkKHf.js +0 -8
  487. package/dist/dist-BYghZv6b.js +0 -5
  488. package/dist/dist-Be-uQhz5.js +0 -6
  489. package/dist/dist-CB_xf0ju.js +0 -5
  490. package/dist/dist-CK0qFAbF.js +0 -8
  491. package/dist/dist-CYEk-qrr.js +0 -8
  492. package/dist/dist-CmKoWpMk.js +0 -5
  493. package/dist/dist-D1nf4IQl.js +0 -5
  494. package/dist/dist-Df3AcKpt.js +0 -6
  495. package/dist/dist-DgaFHt_I.js +0 -5
  496. package/dist/dist-Dk10C3ui.js +0 -5
  497. package/dist/dist-DtyPVMHR.js +0 -5
  498. package/dist/dist-ko7WnHAO.js +0 -5
  499. package/dist/dist-of7gLRFK.js +0 -8
  500. package/dist/dtd-FhG-tVom.js +0 -4
  501. package/dist/dylan-HWpZOBPw.js +0 -4
  502. package/dist/ecl-B_rcje1I.js +0 -4
  503. package/dist/eiffel-oqHyHs6f.js +0 -4
  504. package/dist/elm-B62RQEds.js +0 -4
  505. package/dist/erlang-CjRjjA-B.js +0 -4
  506. package/dist/esm-BLobyqMs.js +0 -4387
  507. package/dist/factor-CGH_TnIV.js +0 -4
  508. package/dist/forth-5N06oHNp.js +0 -4
  509. package/dist/fortran-wZ-sNg3h.js +0 -4
  510. package/dist/gas-3H4_FaS8.js +0 -4
  511. package/dist/gherkin-PEA2uy50.js +0 -4
  512. package/dist/graphlib-D18eZCT4.js +0 -228
  513. package/dist/groovy-DZzbvCP1.js +0 -4
  514. package/dist/hasIn-B9AbGLj3.js +0 -86
  515. package/dist/haskell-CExLTzho.js +0 -4
  516. package/dist/haxe-f3pVb8qU.js +0 -5
  517. package/dist/idl-BbWlJ0gk.js +0 -4
  518. package/dist/infoDiagram-HS3SLOUP-BXGbfBss.js +0 -30
  519. package/dist/isEmpty-C-xMag79.js +0 -16
  520. package/dist/isString-D-vNYDBA.js +0 -9
  521. package/dist/javascript-eMOhp6Aq.js +0 -4
  522. package/dist/julia-C6w3Rvqb.js +0 -4
  523. package/dist/livescript-ChQl9lD-.js +0 -4
  524. package/dist/lua-CiDvI96j.js +0 -4
  525. package/dist/mathematica-ClVO4k7N.js +0 -4
  526. package/dist/mbox-BEI7DeUg.js +0 -4
  527. package/dist/mermaid-4DMBBIKO-PVrJfEpX.js +0 -6
  528. package/dist/min-ECVRnCdn.js +0 -89
  529. package/dist/mirc-DwidJ3iH.js +0 -4
  530. package/dist/mllike-Dspdy0xJ.js +0 -6
  531. package/dist/modelica-CIUejP-L.js +0 -4
  532. package/dist/mscgen-BWXU4Omp.js +0 -6
  533. package/dist/mumps-PHFFoPk5.js +0 -4
  534. package/dist/nsis-B7xooKLf.js +0 -4
  535. package/dist/ntriples-DnOgtCzG.js +0 -4
  536. package/dist/octave-Cn5kH_QT.js +0 -4
  537. package/dist/once-BqS42WgZ.js +0 -74
  538. package/dist/oz-DR-sROpu.js +0 -4
  539. package/dist/pascal-CPKK1zcS.js +0 -4
  540. package/dist/perl-D7FuFdyd.js +0 -4
  541. package/dist/pig-CEXnOAnI.js +0 -4
  542. package/dist/powershell-BKvWab7q.js +0 -4
  543. package/dist/properties-7jnK_vYx.js +0 -4
  544. package/dist/protobuf-4rslMjEN.js +0 -4
  545. package/dist/pug-BVwdEv4r.js +0 -4
  546. package/dist/puppet-iSHg_1Z2.js +0 -4
  547. package/dist/python-tK3wUCn0.js +0 -4
  548. package/dist/q-DP_Dcoox.js +0 -4
  549. package/dist/r-C32wHLYu.js +0 -4
  550. package/dist/range-BKaWvVUE.js +0 -30
  551. package/dist/react-vega-CFUuchds.js +0 -9
  552. package/dist/reduce-CqQo8ppc.js +0 -275
  553. package/dist/rpm-BbDBUfs9.js +0 -5
  554. package/dist/ruby-COfWUiIr.js +0 -4
  555. package/dist/sas-y_Hue2-X.js +0 -4
  556. package/dist/scheme-7jTCqHw8.js +0 -4
  557. package/dist/shell-DAqJWXDk.js +0 -4
  558. package/dist/sieve-EaqnbCO3.js +0 -4
  559. package/dist/smalltalk-DL03YKLJ.js +0 -4
  560. package/dist/sparql-DTA-tQ_q.js +0 -4
  561. package/dist/stateDiagram-v2-4FDKWEC3-BIeUs-Ed.js +0 -29
  562. package/dist/stex-KfRnSHzF.js +0 -4
  563. package/dist/stylus-CfjeFry_.js +0 -4
  564. package/dist/swift-Dl0RRDbH.js +0 -4
  565. package/dist/tcl-wv9O7fLZ.js +0 -4
  566. package/dist/textile-DzMRCBcV.js +0 -4
  567. package/dist/toString-DbIAWQpF.js +0 -23
  568. package/dist/toml-CyIWqgbe.js +0 -4
  569. package/dist/troff-_huin_CY.js +0 -4
  570. package/dist/ttcn-BEiJuYYc.js +0 -4
  571. package/dist/ttcn-cfg-DB6Ksh67.js +0 -4
  572. package/dist/turtle-DzhzGEum.js +0 -4
  573. package/dist/uniq-H2E5nMLq.js +0 -8
  574. package/dist/useDeepCompareMemoize-BWUwfh37.js +0 -755
  575. package/dist/useIframeCapabilities-OQaMKgZl.js +0 -46
  576. package/dist/vb-CngKZQHu.js +0 -4
  577. package/dist/vbscript-BV_8nbeM.js +0 -4
  578. package/dist/velocity-IqE7qYKE.js +0 -4
  579. package/dist/verilog-xtyaWTnc.js +0 -4
  580. package/dist/vhdl-BaqXCtf3.js +0 -4
  581. package/dist/webidl-BDB8PTTO.js +0 -4
  582. package/dist/xquery-BIC-qj9Z.js +0 -4
  583. package/dist/yacas-ifv5tftd.js +0 -4
  584. package/dist/z80-B8zOMVNt.js +0 -4
  585. package/src/core/cells/effects.ts +0 -42
  586. package/src/fonts/Fira_Mono/FiraMono-Bold.ttf +0 -0
  587. package/src/fonts/Fira_Mono/FiraMono-Medium.ttf +0 -0
  588. package/src/fonts/Fira_Mono/FiraMono-Regular.ttf +0 -0
  589. package/src/fonts/Lora/Lora-Italic-VariableFont_wght.ttf +0 -0
  590. package/src/fonts/Lora/Lora-VariableFont_wght.ttf +0 -0
  591. package/src/fonts/Lora/static/Lora-Bold.ttf +0 -0
  592. package/src/fonts/Lora/static/Lora-BoldItalic.ttf +0 -0
  593. package/src/fonts/Lora/static/Lora-Italic.ttf +0 -0
  594. package/src/fonts/Lora/static/Lora-Medium.ttf +0 -0
  595. package/src/fonts/Lora/static/Lora-MediumItalic.ttf +0 -0
  596. package/src/fonts/Lora/static/Lora-Regular.ttf +0 -0
  597. package/src/fonts/Lora/static/Lora-SemiBold.ttf +0 -0
  598. package/src/fonts/Lora/static/Lora-SemiBoldItalic.ttf +0 -0
  599. package/src/fonts/PT_Sans/PTSans-Bold.ttf +0 -0
  600. package/src/fonts/PT_Sans/PTSans-BoldItalic.ttf +0 -0
  601. package/src/fonts/PT_Sans/PTSans-Italic.ttf +0 -0
  602. package/src/fonts/PT_Sans/PTSans-Regular.ttf +0 -0
  603. /package/dist/{apl-DRxKiEot.js → apl-BqjtmlWW.js} +0 -0
  604. /package/dist/{array-D-nrDupM.js → array-D7wW5QoO.js} +0 -0
  605. /package/dist/{asciiarmor-C8HoXFIm.js → asciiarmor-D9C9bbeV.js} +0 -0
  606. /package/dist/{asn1-9Bo0DYT-.js → asn1-D_zR1ubK.js} +0 -0
  607. /package/dist/{asterisk-BsiuGzWq.js → asterisk-B0dLLA8Z.js} +0 -0
  608. /package/dist/{brainfuck-Db8njC-p.js → brainfuck-79SC7EYA.js} +0 -0
  609. /package/dist/{chunk-DR5Q36YT-D4q96vNV.js → chunk-DR5Q36YT-BxPcQ21t.js} +0 -0
  610. /package/dist/{click-outside-container-CKfwEZqH.js → click-outside-container-DNfggvIW.js} +0 -0
  611. /package/dist/{clike-CFhUNtI5.js → clike-DFDX2jWq.js} +0 -0
  612. /package/dist/{clojure-CX7oovsp.js → clojure-Bb3Od9By.js} +0 -0
  613. /package/dist/{clsx-D2KVTYnW.js → clsx-yW_RAw0K.js} +0 -0
  614. /package/dist/{cmake-C29AR2kk.js → cmake-DYGUYEtU.js} +0 -0
  615. /package/dist/{cobol-CNkuRW9i.js → cobol-CcWmcAFT.js} +0 -0
  616. /package/dist/{coffeescript-BJAbfGam.js → coffeescript-BVa1qoL6.js} +0 -0
  617. /package/dist/{colors-6nB_pSln.js → colors-6DRQ0kEF.js} +0 -0
  618. /package/dist/{common-keywords-BAkLFdud.js → common-keywords-Bz8dNfWa.js} +0 -0
  619. /package/dist/{commonlisp-BTNhj2l9.js → commonlisp-zi51jgUH.js} +0 -0
  620. /package/dist/{crystal-CZc0nIm9.js → crystal-QjpegJHM.js} +0 -0
  621. /package/dist/{css-L2-0OTXc.js → css-B_GfJtcK.js} +0 -0
  622. /package/dist/{cypher-Dnc6MXl0.js → cypher-BVuYJpGf.js} +0 -0
  623. /package/dist/{cytoscape.esm-BXzSsA6N.js → cytoscape.esm-BYAuS6uS.js} +0 -0
  624. /package/dist/{d-C6X9iIga.js → d-BT97RiQI.js} +0 -0
  625. /package/dist/{defaultLocale-CfQ4kBaV.js → defaultLocale-B_A76Zpk.js} +0 -0
  626. /package/dist/{defaultLocale-Bklbu-Tp.js → defaultLocale-DjFHq3Xk.js} +0 -0
  627. /package/dist/{diff-ZzKinYqY.js → diff-CHd93v7L.js} +0 -0
  628. /package/dist/{dist-Bymy0kEH.js → dist-CqR8FBcH.js} +0 -0
  629. /package/dist/{dtd-CytEpkAo.js → dtd-akLFIRuZ.js} +0 -0
  630. /package/dist/{duckdb-keywords-C1WxmSfG.js → duckdb-keywords-CQAIHMbC.js} +0 -0
  631. /package/dist/{dylan-CZByFBEQ.js → dylan-Iy-rgNOc.js} +0 -0
  632. /package/dist/{ebnf-BF2FOt-m.js → ebnf-CTkZpZPT.js} +0 -0
  633. /package/dist/{ecl-Cp7L1F5B.js → ecl-BhUXC_aR.js} +0 -0
  634. /package/dist/{eiffel-C66yjnFL.js → eiffel-DIRAlWPD.js} +0 -0
  635. /package/dist/{elm-DtHo-73e.js → elm-BDgVzkJ4.js} +0 -0
  636. /package/dist/{emotion-is-prop-valid.esm-DtW2o230.js → emotion-is-prop-valid.esm-DdzHpbbG.js} +0 -0
  637. /package/dist/{erlang-C_sj44mF.js → erlang-Djcs_NwB.js} +0 -0
  638. /package/dist/{esm-BWftfC-A.js → esm-BRwAuUu2.js} +0 -0
  639. /package/dist/{fcl-BhLcvRo_.js → fcl-OXoT8w4k.js} +0 -0
  640. /package/dist/{forth-CIDHh56T.js → forth-c_NTahPv.js} +0 -0
  641. /package/dist/{fortran-BQrDVXRU.js → fortran-Bpxt27dn.js} +0 -0
  642. /package/dist/{gas-D4HQPB0Q.js → gas-RVBts6ZK.js} +0 -0
  643. /package/dist/{gherkin-UB2gJHdT.js → gherkin-Hf6PTauh.js} +0 -0
  644. /package/dist/{groovy-DVz6jkOx.js → groovy-CKjO-cRi.js} +0 -0
  645. /package/dist/{haskell-CpUdAPCz.js → haskell-DC1Gan6v.js} +0 -0
  646. /package/dist/{haxe-DCV5_cqD.js → haxe-Bpne--ot.js} +0 -0
  647. /package/dist/{http-C_TDb8VX.js → http-CPVO27fZ.js} +0 -0
  648. /package/dist/{idl-D7WCIgHw.js → idl-GRIbMIEq.js} +0 -0
  649. /package/dist/{init-Ci8VD8ZH.js → init-BfRhston.js} +0 -0
  650. /package/dist/{invariant-D9QLJ4SZ.js → invariant-CzjtdzpE.js} +0 -0
  651. /package/dist/{isArrayLikeObject-BrYl-ETg.js → isArrayLikeObject-C-hFPChh.js} +0 -0
  652. /package/dist/{javascript-B2Rn0Lmd.js → javascript-nS0zxWNO.js} +0 -0
  653. /package/dist/{jsx-runtime-CTBg5pdT.js → jsx-runtime-9hcJiI23.js} +0 -0
  654. /package/dist/{julia-ApprtEaw.js → julia-CQpdTxmO.js} +0 -0
  655. /package/dist/{katex-Bk_FvVSR.js → katex-Dg42UEnr.js} +0 -0
  656. /package/dist/{livescript-BMLIlM7C.js → livescript-D5kqrQol.js} +0 -0
  657. /package/dist/{lua-DdDaW3tC.js → lua-CKifrpGK.js} +0 -0
  658. /package/dist/{main-Tj_-QTyF.js → main-C01_ic0d.js} +0 -0
  659. /package/dist/{math-HUZifhTs.js → math-BbMyrONz.js} +0 -0
  660. /package/dist/{mathematica-PnNN7c2Z.js → mathematica-CxT3f_fi.js} +0 -0
  661. /package/dist/{mbox-B84OtHBK.js → mbox-C2_n_I9h.js} +0 -0
  662. /package/dist/{mirc-BVWXJxIq.js → mirc-BTQeASBH.js} +0 -0
  663. /package/dist/{mllike-BawXWupH.js → mllike-BxO6Hl5N.js} +0 -0
  664. /package/dist/{modelica-C8-X4Hf_.js → modelica-DuivZReX.js} +0 -0
  665. /package/dist/{mscgen-BOM6dDj8.js → mscgen-DwD83FOm.js} +0 -0
  666. /package/dist/{mumps-DQOY8n05.js → mumps-CdVjp3OE.js} +0 -0
  667. /package/dist/{nginx-DkMgA__9.js → nginx-Bi9TuNqb.js} +0 -0
  668. /package/dist/{node-sql-parser-D53LM_7b.js → node-sql-parser-Bet3kHkt.js} +0 -0
  669. /package/dist/{ntriples-DU8VrXdW.js → ntriples-DBS60qLp.js} +0 -0
  670. /package/dist/{octave-BzTIBsQ8.js → octave-BL0tQUFC.js} +0 -0
  671. /package/dist/{oz-DKFcZsoi.js → oz-DBrG4vwi.js} +0 -0
  672. /package/dist/{pascal-DHBZ15pT.js → pascal-BWV9h8yS.js} +0 -0
  673. /package/dist/{path-BVI7RNUv.js → path-C_x2ySFi.js} +0 -0
  674. /package/dist/{perl-75NMI3w0.js → perl-Bm5a83JW.js} +0 -0
  675. /package/dist/{pig-B-HY1fo_.js → pig-CbJDoHaE.js} +0 -0
  676. /package/dist/{powershell-DEH22U53.js → powershell-tG44m5Cy.js} +0 -0
  677. /package/dist/{properties-B1MzBoJC.js → properties-DUZGzdb1.js} +0 -0
  678. /package/dist/{protobuf-Dr14KV0p.js → protobuf-CcoKXY0d.js} +0 -0
  679. /package/dist/{puppet-C4z38l7v.js → puppet-BH73L_Gw.js} +0 -0
  680. /package/dist/{purify.es-DGenX2XH.js → purify.es-BwXbuO3r.js} +0 -0
  681. /package/dist/{python-D2L7Nknt.js → python-NJIxLTZp.js} +0 -0
  682. /package/dist/{q-PxipHfgS.js → q-MotBNA65.js} +0 -0
  683. /package/dist/{r-CEMMu_Tf.js → r-BUgBPae7.js} +0 -0
  684. /package/dist/{range-BToS7LsA.js → range-DwpxnYuB.js} +0 -0
  685. /package/dist/{react-dom-CqtLRVZP.js → react-dom-BKwCWYPW.js} +0 -0
  686. /package/dist/{rpm-D3xyahkR.js → rpm-C_PaGodG.js} +0 -0
  687. /package/dist/{ruby-DwEkwdiu.js → ruby-DFLM2XD8.js} +0 -0
  688. /package/dist/{sas-L1W0BRft.js → sas-BMyyu8oO.js} +0 -0
  689. /package/dist/{scheme-CTybTrX0.js → scheme-Qet9zYAe.js} +0 -0
  690. /package/dist/{shell-BSx3LZnu.js → shell-BKHx4Jjo.js} +0 -0
  691. /package/dist/{sieve-BjUfbv-6.js → sieve-CVo7dc4j.js} +0 -0
  692. /package/dist/{simple-mode-IPZGFbI6.js → simple-mode-CVFBIo6d.js} +0 -0
  693. /package/dist/{smalltalk-BlzuYrMv.js → smalltalk-BHr2nCth.js} +0 -0
  694. /package/dist/{solr-Cj_9RM4d.js → solr-Bt9XtM2H.js} +0 -0
  695. /package/dist/{sparql-BXKjQ0cK.js → sparql-QSu0ZCcc.js} +0 -0
  696. /package/dist/{spreadsheet-CifI10GO.js → spreadsheet-BWfuwc0V.js} +0 -0
  697. /package/dist/{sql-B0bFyY1c.js → sql-BdV3YOCG.js} +0 -0
  698. /package/dist/{stex-BIsgBmK4.js → stex-Btoi8e7I.js} +0 -0
  699. /package/dist/{stylus-CqrLLVnG.js → stylus-CLZH9-Ps.js} +0 -0
  700. /package/dist/{swift-DIqvj3_G.js → swift-JNDJdNIE.js} +0 -0
  701. /package/dist/{tcl-B8bOIGVK.js → tcl-J5aE7aj5.js} +0 -0
  702. /package/dist/{textile-DZsjavD_.js → textile-6Hn05XQM.js} +0 -0
  703. /package/dist/{tiddlywiki-BbGdvEjx.js → tiddlywiki-BWn8rSwJ.js} +0 -0
  704. /package/dist/{tiki-BYesmRDo.js → tiki-XORjA1c3.js} +0 -0
  705. /package/dist/{timer-CPsmIOdm.js → timer-pEiW44EO.js} +0 -0
  706. /package/dist/{toml-Uc7m08nl.js → toml-BceyeuiF.js} +0 -0
  707. /package/dist/{treemap-DMn4tIJ7.js → treemap-BzS5cW_6.js} +0 -0
  708. /package/dist/{troff-GEl5wcXR.js → troff-DeMyd5Pf.js} +0 -0
  709. /package/dist/{ttcn-pr4FDOLT.js → ttcn-DurvvcB-.js} +0 -0
  710. /package/dist/{ttcn-cfg-dZQ_fWTH.js → ttcn-cfg-BuYui6Rv.js} +0 -0
  711. /package/dist/{turtle-TPRDOknA.js → turtle-CD8Qf-tp.js} +0 -0
  712. /package/dist/{vb-BJUAeTYr.js → vb-BklM-Nqk.js} +0 -0
  713. /package/dist/{vbscript-CcJ6Z3ic.js → vbscript-DbMEEX0d.js} +0 -0
  714. /package/dist/{velocity-pq4ZMzU3.js → velocity-CERL-_vq.js} +0 -0
  715. /package/dist/{verilog-timMNjHt.js → verilog-BD6jNce6.js} +0 -0
  716. /package/dist/{vhdl-DYFbVKNm.js → vhdl-U-1_N98i.js} +0 -0
  717. /package/dist/{webidl-pue9oqnb.js → webidl-IUn0dzoa.js} +0 -0
  718. /package/dist/{xquery-DeItGynK.js → xquery-QeeHdSO2.js} +0 -0
  719. /package/dist/{yacas-By2Qrjba.js → yacas-C9XcEPAJ.js} +0 -0
  720. /package/dist/{z80-C7iLsyPC.js → z80-C-nD1oRy.js} +0 -0
@@ -1,22 +1,23 @@
1
1
  import { s as __toESM } from "./chunk-BNovOVIE.js";
2
2
  import { t as require_react } from "./react-Bs6Z0kvn.js";
3
3
  import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
4
- import { S as CircleQuestionMark, a as AlertTitle, m as asRemoteURL, n as arrow, o as isValid, r as Alert, t as useDeepCompareMemoize } from "./useDeepCompareMemoize-BWUwfh37.js";
5
- import { d as Objects, g as Logger, h as Events, y as cn } from "./button-BKkuUpZh.js";
6
- import "./Combination-BBPQRrDo.js";
7
- import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
8
- import "./react-dom-CqtLRVZP.js";
9
- import { t as Tooltip } from "./tooltip-CKG75XQa.js";
10
- import { i as debounce_default } from "./constants-CytQ_3LM.js";
11
- import { C as useEvent_default, n as useTheme } from "./useTheme-CPybHVFN.js";
12
- import { a as getContainerWidth, n as vegaLoadData, s as tooltipHandler } from "./loader-CABJs6GU.js";
13
- import { t as uniq_default } from "./uniq-H2E5nMLq.js";
14
- import { n as ErrorBanner } from "./error-banner-Dmi5ujan.js";
15
- import { n as formats } from "./vega-loader.browser-CQ-lnUkI.js";
16
- import { t as useAsyncData } from "./useAsyncData-CEjJxwFB.js";
17
- import { t as j } from "./react-vega-C6kwcd86.js";
18
- import "./defaultLocale-Bklbu-Tp.js";
19
- import "./defaultLocale-CfQ4kBaV.js";
4
+ import { c as asRemoteURL, g as CircleQuestionMark } from "./toDate-BWaG12Pv.js";
5
+ import { h as Logger, m as Events, u as Objects, v as cn } from "./button-qsiIHncQ.js";
6
+ import "./Combination-B--d1_LV.js";
7
+ import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.js";
8
+ import "./react-dom-BKwCWYPW.js";
9
+ import { t as Tooltip } from "./tooltip-DGHTbHl5.js";
10
+ import { i as debounce_default } from "./constants-CXiS0vdr.js";
11
+ import { n as useTheme, w as useEvent_default } from "./useTheme-BIAKDAh6.js";
12
+ import { c as uniq } from "./arrays--2cd0hte.js";
13
+ import { a as AlertTitle, n as arrow, o as isValid, r as Alert, t as useDeepCompareMemoize } from "./useDeepCompareMemoize-D2PKDkrk.js";
14
+ import { n as ErrorBanner } from "./error-banner-DkDzvax3.js";
15
+ import { n as formats } from "./vega-loader.browser-hMqVC9bf.js";
16
+ import { a as getContainerWidth, n as vegaLoadData, s as tooltipHandler } from "./loader-DrMJeyDu.js";
17
+ import { t as useAsyncData } from "./useAsyncData-Dqt2tV1E.js";
18
+ import { t as j } from "./react-vega-JMnqwKtN.js";
19
+ import "./defaultLocale-DjFHq3Xk.js";
20
+ import "./defaultLocale-B_A76Zpk.js";
20
21
  var import_compiler_runtime = require_compiler_runtime(), import_react = /* @__PURE__ */ __toESM(require_react(), 1);
21
22
  function fixRelativeUrl(e) {
22
23
  return e.data && "url" in e.data && (e.data.url = asRemoteURL(e.data.url).href), e;
@@ -44,23 +45,23 @@ var NON_INTERACTIVE_MARKS = /* @__PURE__ */ new Set([
44
45
  ]);
45
46
  const Marks = {
46
47
  getMarkType(e) {
47
- let w = typeof e == "string" ? e : e.type;
48
- if (NON_INTERACTIVE_MARKS.has(w)) throw Error("Not supported");
49
- return w;
48
+ let C = typeof e == "string" ? e : e.type;
49
+ if (NON_INTERACTIVE_MARKS.has(C)) throw Error("Not supported");
50
+ return C;
50
51
  },
51
52
  isInteractive(e) {
52
- let w = typeof e == "string" ? e : e.type;
53
- return !NON_INTERACTIVE_MARKS.has(w);
53
+ let C = typeof e == "string" ? e : e.type;
54
+ return !NON_INTERACTIVE_MARKS.has(C);
54
55
  },
55
56
  makeClickable(e) {
56
- let w = typeof e == "string" ? e : e.type;
57
- return w in Mark ? typeof e == "string" ? {
57
+ let C = typeof e == "string" ? e : e.type;
58
+ return C in Mark ? typeof e == "string" ? {
58
59
  type: e,
59
60
  cursor: "pointer",
60
61
  tooltip: true
61
62
  } : {
62
63
  ...e,
63
- type: w,
64
+ type: C,
64
65
  cursor: "pointer",
65
66
  tooltip: true
66
67
  } : e;
@@ -108,9 +109,9 @@ const Marks = {
108
109
  }
109
110
  };
110
111
  },
111
- interval(e, w) {
112
+ interval(e, C) {
112
113
  return {
113
- name: ParamNames.interval(w),
114
+ name: ParamNames.interval(C),
114
115
  select: {
115
116
  type: "interval",
116
117
  encodings: getEncodingAxisForMark(e),
@@ -125,9 +126,9 @@ const Marks = {
125
126
  }
126
127
  };
127
128
  },
128
- point(e, w) {
129
+ point(e, C) {
129
130
  return {
130
- name: ParamNames.point(w),
131
+ name: ParamNames.point(C),
131
132
  select: {
132
133
  type: "point",
133
134
  encodings: getEncodingAxisForMark(e),
@@ -176,8 +177,8 @@ function getEncodingAxisForMark(e) {
176
177
  case Mark.arc:
177
178
  return ["color"];
178
179
  case Mark.bar: {
179
- let w = getDirectionOfBar(e);
180
- return w === "horizontal" ? ["y"] : w === "vertical" ? ["x"] : void 0;
180
+ let C = getDirectionOfBar(e);
181
+ return C === "horizontal" ? ["y"] : C === "vertical" ? ["x"] : void 0;
181
182
  }
182
183
  case Mark.circle:
183
184
  case Mark.geoshape:
@@ -192,28 +193,28 @@ function getEncodingAxisForMark(e) {
192
193
  }
193
194
  }
194
195
  function getSelectionParamNames(e) {
195
- return "params" in e && e.params && e.params.length > 0 ? uniq_default(e.params.filter((e2) => e2 == null ? false : "select" in e2 && e2.select !== void 0).map((e2) => e2.name)) : "layer" in e ? uniq_default(e.layer.flatMap(getSelectionParamNames)) : "vconcat" in e ? uniq_default(e.vconcat.flatMap(getSelectionParamNames)) : "hconcat" in e ? uniq_default(e.hconcat.flatMap(getSelectionParamNames)) : [];
196
+ return "params" in e && e.params && e.params.length > 0 ? uniq(e.params.filter((e2) => e2 == null ? false : "select" in e2 && e2.select !== void 0).map((e2) => e2.name)) : "layer" in e ? uniq(e.layer.flatMap(getSelectionParamNames)) : "vconcat" in e ? uniq(e.vconcat.flatMap(getSelectionParamNames)) : "hconcat" in e ? uniq(e.hconcat.flatMap(getSelectionParamNames)) : [];
196
197
  }
197
198
  function getDirectionOfBar(e) {
198
199
  var _a, _b;
199
200
  if (!e || !("mark" in e)) return;
200
- let w = (_a = e.encoding) == null ? void 0 : _a.x, T = (_b = e.encoding) == null ? void 0 : _b.y;
201
- if (w && "type" in w && w.type === "nominal") return "vertical";
202
- if (T && "type" in T && T.type === "nominal" || w && "aggregate" in w) return "horizontal";
203
- if (T && "aggregate" in T) return "vertical";
201
+ let C = (_a = e.encoding) == null ? void 0 : _a.x, w = (_b = e.encoding) == null ? void 0 : _b.y;
202
+ if (C && "type" in C && C.type === "nominal") return "vertical";
203
+ if (w && "type" in w && w.type === "nominal" || C && "aggregate" in C) return "horizontal";
204
+ if (w && "aggregate" in w) return "vertical";
204
205
  }
205
206
  function getBinnedFields(e) {
206
207
  if (!e.encoding) return [];
207
- let w = [];
208
- for (let T of Object.values(e.encoding)) T && typeof T == "object" && "bin" in T && T.bin && "field" in T && typeof T.field == "string" && w.push(T.field);
209
- return w;
208
+ let C = [];
209
+ for (let w of Object.values(e.encoding)) w && typeof w == "object" && "bin" in w && w.bin && "field" in w && typeof w.field == "string" && C.push(w.field);
210
+ return C;
210
211
  }
211
212
  function findEncodedFields(e) {
212
213
  if (!e || !("encoding" in e)) return [];
213
- let { encoding: w } = e;
214
- return w ? Object.entries(w).flatMap((e2) => {
215
- let [w2, T] = e2;
216
- return !T || !ALLOWED_ENCODING_TYPES.has(w2) ? [] : "field" in T && typeof T.field == "string" ? [T.field] : "condition" in T && T.condition && typeof T.condition == "object" && "field" in T.condition && T.condition.field && typeof T.condition.field == "string" ? [T.condition.field] : [];
214
+ let { encoding: C } = e;
215
+ return C ? Object.entries(C).flatMap((e2) => {
216
+ let [C2, w] = e2;
217
+ return !w || !ALLOWED_ENCODING_TYPES.has(C2) ? [] : "field" in w && typeof w.field == "string" ? [w.field] : "condition" in w && w.condition && typeof w.condition == "object" && "field" in w.condition && w.condition.field && typeof w.condition.field == "string" ? [w.condition.field] : [];
217
218
  }) : [];
218
219
  }
219
220
  var ALLOWED_ENCODING_TYPES = /* @__PURE__ */ new Set([
@@ -224,16 +225,16 @@ var ALLOWED_ENCODING_TYPES = /* @__PURE__ */ new Set([
224
225
  "shape",
225
226
  "size"
226
227
  ]);
227
- function makeEncodingInteractive(e, w, T, E) {
228
- let D = T.filter((e2) => ParamNames.isBinColoring(e2)), O = { and: (D.length > 0 ? D : T).map((e2) => ({ param: e2 })) };
228
+ function makeEncodingInteractive(e, C, w, T) {
229
+ let E = w.filter((e2) => ParamNames.isBinColoring(e2)), D = { and: (E.length > 0 ? E : w).map((e2) => ({ param: e2 })) };
229
230
  switch (e) {
230
231
  case "opacity": {
231
- let e2 = Marks.getOpacity(E) || 1;
232
+ let e2 = Marks.getOpacity(T) || 1;
232
233
  return {
233
- ...w,
234
+ ...C,
234
235
  opacity: {
235
236
  condition: {
236
- test: O,
237
+ test: D,
237
238
  value: e2
238
239
  },
239
240
  value: e2 / 5
@@ -241,202 +242,202 @@ function makeEncodingInteractive(e, w, T, E) {
241
242
  };
242
243
  }
243
244
  default:
244
- return w;
245
+ return C;
245
246
  }
246
247
  }
247
248
  function getParamSignature(e) {
248
249
  if (!("select" in e) || !e.select) return JSON.stringify(e);
249
- let w = e.select;
250
- if (typeof w == "string") return JSON.stringify({
251
- type: w,
250
+ let C = e.select;
251
+ if (typeof C == "string") return JSON.stringify({
252
+ type: C,
252
253
  bind: e.bind
253
254
  });
254
- let T = {
255
- type: w.type,
256
- encodings: "encodings" in w && w.encodings ? [...w.encodings].sort() : void 0,
257
- fields: "fields" in w && w.fields ? [...w.fields].sort() : void 0,
255
+ let w = {
256
+ type: C.type,
257
+ encodings: "encodings" in C && C.encodings ? [...C.encodings].sort() : void 0,
258
+ fields: "fields" in C && C.fields ? [...C.fields].sort() : void 0,
258
259
  bind: e.bind
259
260
  };
260
- return JSON.stringify(T);
261
+ return JSON.stringify(w);
261
262
  }
262
263
  function hoistParamsAndApplyOpacity(e) {
263
- let w = collectAllUnitSpecParams(e);
264
- if (w.length === 0) return e;
265
- let T = findCommonParams(w);
266
- return T.length === 0 ? e : {
267
- ...applyOpacityToNestedSpecs(removeSpecificParamsFromNestedSpecs(e, new Set(T.map((e2) => e2.name))), T.map((e2) => e2.name)),
268
- params: [...e.params || [], ...T]
264
+ let C = collectAllUnitSpecParams(e);
265
+ if (C.length === 0) return e;
266
+ let w = findCommonParams(C);
267
+ return w.length === 0 ? e : {
268
+ ...applyOpacityToNestedSpecs(removeSpecificParamsFromNestedSpecs(e, new Set(w.map((e2) => e2.name))), w.map((e2) => e2.name)),
269
+ params: [...e.params || [], ...w]
269
270
  };
270
271
  }
271
272
  function collectAllUnitSpecParams(e) {
272
- let w = [];
273
- if ("vconcat" in e && Array.isArray(e.vconcat)) for (let T of e.vconcat) w.push(...collectAllUnitSpecParams(T));
274
- else if ("hconcat" in e && Array.isArray(e.hconcat)) for (let T of e.hconcat) w.push(...collectAllUnitSpecParams(T));
273
+ let C = [];
274
+ if ("vconcat" in e && Array.isArray(e.vconcat)) for (let w of e.vconcat) C.push(...collectAllUnitSpecParams(w));
275
+ else if ("hconcat" in e && Array.isArray(e.hconcat)) for (let w of e.hconcat) C.push(...collectAllUnitSpecParams(w));
275
276
  else if ("layer" in e) return [];
276
- else "mark" in e && "params" in e && e.params && e.params.length > 0 && w.push({ params: e.params });
277
- return w;
277
+ else "mark" in e && "params" in e && e.params && e.params.length > 0 && C.push({ params: e.params });
278
+ return C;
278
279
  }
279
280
  function findCommonParams(e) {
280
281
  if (e.length === 0) return [];
281
- let w = /* @__PURE__ */ new Map(), T = e.length;
282
- for (let { params: T2 } of e) {
282
+ let C = /* @__PURE__ */ new Map(), w = e.length;
283
+ for (let { params: w2 } of e) {
283
284
  let e2 = /* @__PURE__ */ new Set();
284
- for (let E2 of T2) {
285
- let T3 = getParamSignature(E2);
286
- e2.has(T3) || (e2.add(T3), w.has(T3) || w.set(T3, {
285
+ for (let T2 of w2) {
286
+ let w3 = getParamSignature(T2);
287
+ e2.has(w3) || (e2.add(w3), C.has(w3) || C.set(w3, {
287
288
  count: 0,
288
- param: E2
289
- }), w.get(T3).count++);
289
+ param: T2
290
+ }), C.get(w3).count++);
290
291
  }
291
292
  }
292
- let E = [];
293
- for (let [, { count: e2, param: D }] of w) e2 === T && E.push(D);
294
- return E;
293
+ let T = [];
294
+ for (let [, { count: e2, param: E }] of C) e2 === w && T.push(E);
295
+ return T;
295
296
  }
296
- function removeSpecificParamsFromNestedSpecs(e, w) {
297
+ function removeSpecificParamsFromNestedSpecs(e, C) {
297
298
  if ("vconcat" in e && Array.isArray(e.vconcat)) return {
298
299
  ...e,
299
- vconcat: e.vconcat.map((e2) => removeSpecificParamsFromNestedSpecs(e2, w))
300
+ vconcat: e.vconcat.map((e2) => removeSpecificParamsFromNestedSpecs(e2, C))
300
301
  };
301
302
  if ("hconcat" in e && Array.isArray(e.hconcat)) return {
302
303
  ...e,
303
- hconcat: e.hconcat.map((e2) => removeSpecificParamsFromNestedSpecs(e2, w))
304
+ hconcat: e.hconcat.map((e2) => removeSpecificParamsFromNestedSpecs(e2, C))
304
305
  };
305
306
  if ("mark" in e && "params" in e && e.params) {
306
- let T = e.params, E = [];
307
- for (let e2 of T) {
307
+ let w = e.params, T = [];
308
+ for (let e2 of w) {
308
309
  if (!e2 || typeof e2 != "object" || !("name" in e2)) {
309
- E.push(e2);
310
+ T.push(e2);
310
311
  continue;
311
312
  }
312
- w.has(e2.name) || E.push(e2);
313
+ C.has(e2.name) || T.push(e2);
313
314
  }
314
- if (E.length === 0) {
315
- let { params: w2, ...T2 } = e;
316
- return T2;
315
+ if (T.length === 0) {
316
+ let { params: C2, ...w2 } = e;
317
+ return w2;
317
318
  }
318
319
  return {
319
320
  ...e,
320
- params: E
321
+ params: T
321
322
  };
322
323
  }
323
324
  return e;
324
325
  }
325
- function applyOpacityToNestedSpecs(e, w) {
326
+ function applyOpacityToNestedSpecs(e, C) {
326
327
  return "vconcat" in e && Array.isArray(e.vconcat) ? {
327
328
  ...e,
328
- vconcat: e.vconcat.map((e2) => applyOpacityToNestedSpecs(e2, w))
329
+ vconcat: e.vconcat.map((e2) => applyOpacityToNestedSpecs(e2, C))
329
330
  } : "hconcat" in e && Array.isArray(e.hconcat) ? {
330
331
  ...e,
331
- hconcat: e.hconcat.map((e2) => applyOpacityToNestedSpecs(e2, w))
332
+ hconcat: e.hconcat.map((e2) => applyOpacityToNestedSpecs(e2, C))
332
333
  } : "layer" in e ? e : "mark" in e && Marks.isInteractive(e.mark) ? {
333
334
  ...e,
334
335
  mark: Marks.makeClickable(e.mark),
335
- encoding: makeEncodingInteractive("opacity", e.encoding || {}, w, e.mark)
336
+ encoding: makeEncodingInteractive("opacity", e.encoding || {}, C, e.mark)
336
337
  } : e;
337
338
  }
338
- function makeSelectable(e, w) {
339
+ function makeSelectable(e, C) {
339
340
  var _a, _b;
340
- let { chartSelection: T = true, fieldSelection: E = true } = w;
341
- if (!T && !E) return e;
342
- ((_a = e.params) == null ? void 0 : _a.some((e2) => e2.bind === "legend")) && (E = false);
343
- let D = (_b = e.params) == null ? void 0 : _b.some((e2) => !e2.bind);
344
- D && (T = false);
345
- let O = "vconcat" in e || "hconcat" in e;
346
- if (D && O) return e;
341
+ let { chartSelection: w = true, fieldSelection: T = true } = C;
342
+ if (!w && !T) return e;
343
+ ((_a = e.params) == null ? void 0 : _a.some((e2) => e2.bind === "legend")) && (T = false);
344
+ let E = (_b = e.params) == null ? void 0 : _b.some((e2) => !e2.bind);
345
+ E && (w = false);
346
+ let D = "vconcat" in e || "hconcat" in e;
347
+ if (E && D) return e;
347
348
  if ("vconcat" in e) {
348
- let w2 = e.vconcat.map((e2) => "mark" in e2 ? makeSelectable(e2, {
349
- chartSelection: T,
350
- fieldSelection: E
349
+ let C2 = e.vconcat.map((e2) => "mark" in e2 ? makeSelectable(e2, {
350
+ chartSelection: w,
351
+ fieldSelection: T
351
352
  }) : e2);
352
353
  return hoistParamsAndApplyOpacity({
353
354
  ...e,
354
- vconcat: w2
355
+ vconcat: C2
355
356
  });
356
357
  }
357
358
  if ("hconcat" in e) {
358
- let w2 = e.hconcat.map((e2) => "mark" in e2 ? makeSelectable(e2, {
359
- chartSelection: T,
360
- fieldSelection: E
359
+ let C2 = e.hconcat.map((e2) => "mark" in e2 ? makeSelectable(e2, {
360
+ chartSelection: w,
361
+ fieldSelection: T
361
362
  }) : e2);
362
363
  return hoistParamsAndApplyOpacity({
363
364
  ...e,
364
- hconcat: w2
365
+ hconcat: C2
365
366
  });
366
367
  }
367
368
  if ("layer" in e) {
368
- let w2 = e.params && e.params.length > 0, D2 = E !== false && !w2, O2 = [];
369
- if (D2) {
370
- let w3 = e.layer.flatMap((e2) => "mark" in e2 ? findEncodedFields(e2) : []);
371
- O2 = [...new Set(w3)], Array.isArray(E) && (O2 = O2.filter((e2) => E.includes(e2)));
369
+ let C2 = e.params && e.params.length > 0, E2 = T !== false && !C2, D2 = [];
370
+ if (E2) {
371
+ let C3 = e.layer.flatMap((e2) => "mark" in e2 ? findEncodedFields(e2) : []);
372
+ D2 = [...new Set(C3)], Array.isArray(T) && (D2 = D2.filter((e2) => T.includes(e2)));
372
373
  }
373
- let k2 = e.layer.map((e2, w3) => {
374
+ let O2 = e.layer.map((e2, C3) => {
374
375
  if (!("mark" in e2)) return e2;
375
- let E2 = e2;
376
- if (w3 === 0 && O2.length > 0) {
377
- let e3 = O2.map((e4) => Params.legend(e4));
378
- E2 = {
379
- ...E2,
380
- params: [...E2.params || [], ...e3]
376
+ let T2 = e2;
377
+ if (C3 === 0 && D2.length > 0) {
378
+ let e3 = D2.map((e4) => Params.legend(e4));
379
+ T2 = {
380
+ ...T2,
381
+ params: [...T2.params || [], ...e3]
381
382
  };
382
383
  }
383
- return E2 = makeChartSelectable(E2, T, w3), E2 = makeChartInteractive(E2), w3 === 0 && (E2 = makeChartPanZoom(E2)), E2;
384
+ return T2 = makeChartSelectable(T2, w, C3), T2 = makeChartInteractive(T2), C3 === 0 && (T2 = makeChartPanZoom(T2)), T2;
384
385
  });
385
386
  return {
386
387
  ...e,
387
- layer: k2
388
+ layer: O2
388
389
  };
389
390
  }
390
391
  if (!("mark" in e) || !Marks.isInteractive(e.mark)) return e;
391
- let k = e;
392
- return k = makeLegendSelectable(k, E), k = makeChartSelectable(k, T, void 0), k = makeChartInteractive(k), k = makeChartPanZoom(k), k;
392
+ let O = e;
393
+ return O = makeLegendSelectable(O, T), O = makeChartSelectable(O, w, void 0), O = makeChartInteractive(O), O = makeChartPanZoom(O), O;
393
394
  }
394
- function makeLegendSelectable(e, w) {
395
- if (w === false) return e;
396
- let T = findEncodedFields(e);
397
- Array.isArray(w) && (T = T.filter((e2) => w.includes(e2)));
398
- let E = T.map((e2) => Params.legend(e2)), D = [...e.params || [], ...E];
395
+ function makeLegendSelectable(e, C) {
396
+ if (C === false) return e;
397
+ let w = findEncodedFields(e);
398
+ Array.isArray(C) && (w = w.filter((e2) => C.includes(e2)));
399
+ let T = w.map((e2) => Params.legend(e2)), E = [...e.params || [], ...T];
399
400
  return {
400
401
  ...e,
401
- params: D
402
+ params: E
402
403
  };
403
404
  }
404
- function makeChartSelectable(e, w, T) {
405
- if (w === false) return e;
406
- let E;
405
+ function makeChartSelectable(e, C, w) {
406
+ if (C === false) return e;
407
+ let T;
407
408
  try {
408
- E = Marks.getMarkType(e.mark);
409
+ T = Marks.getMarkType(e.mark);
409
410
  } catch {
410
411
  return e;
411
412
  }
412
- if (E === "geoshape") return e;
413
- let D = getBinnedFields(e), O = w === true ? D.length > 0 ? ["point"] : getBestSelectionForMark(E) : [w];
414
- if (!O || O.length === 0) return e;
415
- let k = O.map((w2) => w2 === "interval" ? Params.interval(e, T) : Params.point(e, T)), A = [...e.params || [], ...k];
416
- return D.length > 0 && O.includes("point") && A.push(Params.binColoring(T)), {
413
+ if (T === "geoshape") return e;
414
+ let E = getBinnedFields(e), D = C === true ? E.length > 0 ? ["point"] : getBestSelectionForMark(T) : [C];
415
+ if (!D || D.length === 0) return e;
416
+ let O = D.map((C2) => C2 === "interval" ? Params.interval(e, w) : Params.point(e, w)), k = [...e.params || [], ...O];
417
+ return E.length > 0 && D.includes("point") && k.push(Params.binColoring(w)), {
417
418
  ...e,
418
- params: A
419
+ params: k
419
420
  };
420
421
  }
421
422
  function makeChartPanZoom(e) {
422
- let w;
423
+ let C;
423
424
  try {
424
- w = Marks.getMarkType(e.mark);
425
+ C = Marks.getMarkType(e.mark);
425
426
  } catch {
426
427
  }
427
- if (w === "geoshape") return e;
428
- let T = e.params || [];
429
- return T.some((e2) => e2.bind === "scales") ? e : {
428
+ if (C === "geoshape") return e;
429
+ let w = e.params || [];
430
+ return w.some((e2) => e2.bind === "scales") ? e : {
430
431
  ...e,
431
- params: [...T, Params.panZoom()]
432
+ params: [...w, Params.panZoom()]
432
433
  };
433
434
  }
434
435
  function makeChartInteractive(e) {
435
- let w = "encoding" in e ? e.encoding : void 0, T = e.params || [], E = T.map((e2) => e2.name);
436
- return T.length === 0 || !Marks.isInteractive(e.mark) ? e : {
436
+ let C = "encoding" in e ? e.encoding : void 0, w = e.params || [], T = w.map((e2) => e2.name);
437
+ return w.length === 0 || !Marks.isInteractive(e.mark) ? e : {
437
438
  ...e,
438
439
  mark: Marks.makeClickable(e.mark),
439
- encoding: makeEncodingInteractive("opacity", w || {}, E, e.mark)
440
+ encoding: makeEncodingInteractive("opacity", C || {}, T, e.mark)
440
441
  };
441
442
  }
442
443
  function getBestSelectionForMark(e) {
@@ -455,32 +456,32 @@ function getBestSelectionForMark(e) {
455
456
  }
456
457
  async function resolveVegaSpecData(e) {
457
458
  if (!e) return e;
458
- let w = "datasets" in e ? { ...e.datasets } : {}, T = async (e2) => {
459
+ let C = "datasets" in e ? { ...e.datasets } : {}, w = async (e2) => {
459
460
  if (!e2) return e2;
460
461
  if ("layer" in e2) {
461
- let w2 = await Promise.all(e2.layer.map(T));
462
+ let C2 = await Promise.all(e2.layer.map(w));
462
463
  e2 = {
463
464
  ...e2,
464
- layer: w2
465
+ layer: C2
465
466
  };
466
467
  }
467
468
  if ("hconcat" in e2) {
468
- let w2 = await Promise.all(e2.hconcat.map(T));
469
+ let C2 = await Promise.all(e2.hconcat.map(w));
469
470
  e2 = {
470
471
  ...e2,
471
- hconcat: w2
472
+ hconcat: C2
472
473
  };
473
474
  }
474
475
  if ("vconcat" in e2) {
475
- let w2 = await Promise.all(e2.vconcat.map(T));
476
+ let C2 = await Promise.all(e2.vconcat.map(w));
476
477
  e2 = {
477
478
  ...e2,
478
- vconcat: w2
479
+ vconcat: C2
479
480
  };
480
481
  }
481
482
  if ("spec" in e2 && (e2 = {
482
483
  ...e2,
483
- spec: await T(e2.spec)
484
+ spec: await w(e2.spec)
484
485
  }), !e2.data || !("url" in e2.data)) return e2;
485
486
  let E2;
486
487
  try {
@@ -489,59 +490,59 @@ async function resolveVegaSpecData(e) {
489
490
  return e2;
490
491
  }
491
492
  let D = await vegaLoadData(E2.href, e2.data.format);
492
- return w[E2.pathname] = D, {
493
+ return C[E2.pathname] = D, {
493
494
  ...e2,
494
495
  data: { name: E2.pathname }
495
496
  };
496
- }, E = await T(e);
497
- return Object.keys(w).length === 0 ? E : {
497
+ }, E = await w(e);
498
+ return Object.keys(C).length === 0 ? E : {
498
499
  ...E,
499
- datasets: w
500
+ datasets: C
500
501
  };
501
502
  }
502
503
  var import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1);
503
504
  formats("arrow", arrow);
504
505
  var VegaComponent = (e) => {
505
- let w = (0, import_compiler_runtime.c)(12), { value: T, setValue: E, chartSelection: D, fieldSelection: O, spec: k, embedOptions: A } = e, M, N;
506
- w[0] === k ? (M = w[1], N = w[2]) : (M = async () => resolveVegaSpecData(k), N = [k], w[0] = k, w[1] = M, w[2] = N);
507
- let { data: P, error: F } = useAsyncData(M, N);
508
- if (F) {
506
+ let C = (0, import_compiler_runtime.c)(12), { value: w, setValue: T, chartSelection: E, fieldSelection: D, spec: O, embedOptions: k } = e, A, M;
507
+ C[0] === O ? (A = C[1], M = C[2]) : (A = async () => resolveVegaSpecData(O), M = [O], C[0] = O, C[1] = A, C[2] = M);
508
+ let { data: N, error: P } = useAsyncData(A, M);
509
+ if (P) {
509
510
  let e2;
510
- return w[3] === F ? e2 = w[4] : (e2 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ErrorBanner, { error: F }), w[3] = F, w[4] = e2), e2;
511
+ return C[3] === P ? e2 = C[4] : (e2 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ErrorBanner, { error: P }), C[3] = P, C[4] = e2), e2;
511
512
  }
512
- if (!P) return null;
513
- let I;
514
- return w[5] !== D || w[6] !== A || w[7] !== O || w[8] !== P || w[9] !== E || w[10] !== T ? (I = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LoadedVegaComponent, {
515
- value: T,
516
- setValue: E,
517
- chartSelection: D,
518
- fieldSelection: O,
519
- spec: P,
520
- embedOptions: A
521
- }), w[5] = D, w[6] = A, w[7] = O, w[8] = P, w[9] = E, w[10] = T, w[11] = I) : I = w[11], I;
522
- }, LoadedVegaComponent = ({ value: e, setValue: w, chartSelection: T, fieldSelection: O, spec: k, embedOptions: A }) => {
523
- let { theme: L } = useTheme(), R = (0, import_react.useRef)(null), z = (0, import_react.useRef)(void 0), [B, V] = (0, import_react.useState)(), H = (0, import_react.useMemo)(() => A && "actions" in A ? A.actions : {
513
+ if (!N) return null;
514
+ let F;
515
+ return C[5] !== E || C[6] !== k || C[7] !== D || C[8] !== N || C[9] !== T || C[10] !== w ? (F = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LoadedVegaComponent, {
516
+ value: w,
517
+ setValue: T,
518
+ chartSelection: E,
519
+ fieldSelection: D,
520
+ spec: N,
521
+ embedOptions: k
522
+ }), C[5] = E, C[6] = k, C[7] = D, C[8] = N, C[9] = T, C[10] = w, C[11] = F) : F = C[11], F;
523
+ }, LoadedVegaComponent = ({ value: e, setValue: C, chartSelection: w, fieldSelection: T, spec: M, embedOptions: I }) => {
524
+ let { theme: L } = useTheme(), R = (0, import_react.useRef)(null), z = (0, import_react.useRef)(void 0), [B, V] = (0, import_react.useState)(), H = (0, import_react.useMemo)(() => I && "actions" in I ? I.actions : {
524
525
  source: false,
525
526
  compiled: false
526
- }, [A]), U = useDeepCompareMemoize(k), W = (0, import_react.useMemo)(() => makeSelectable(fixRelativeUrl(U), {
527
- chartSelection: T,
528
- fieldSelection: O
527
+ }, [I]), U = useDeepCompareMemoize(M), W = (0, import_react.useMemo)(() => makeSelectable(fixRelativeUrl(U), {
528
+ chartSelection: w,
529
+ fieldSelection: T
529
530
  }), [
530
531
  U,
531
- T,
532
- O
533
- ]), G = (0, import_react.useMemo)(() => getSelectionParamNames(W), [W]), K = useEvent_default((T2) => {
534
- w({
532
+ w,
533
+ T
534
+ ]), G = (0, import_react.useMemo)(() => getSelectionParamNames(W), [W]), K = useEvent_default((w2) => {
535
+ C({
535
536
  ...e,
536
- ...T2
537
+ ...w2
537
538
  });
538
- }), q = (0, import_react.useMemo)(() => debounce_default((e2, w2) => {
539
- Logger.debug("[Vega signal]", e2, w2);
540
- let T2 = Objects.mapValues(w2, convertDatetimeToEpochMilliseconds);
541
- T2 = Objects.mapValues(T2, convertSetToList), K({ [e2]: T2 });
542
- }, 100), [K]), J = useDeepCompareMemoize(G), Y = (0, import_react.useMemo)(() => J.reduce((e2, w2) => (ParamNames.PAN_ZOOM === w2 || ParamNames.isBinColoring(w2) || e2.push({
543
- signalName: w2,
544
- handler: (e3, w3) => q(e3, w3)
539
+ }), q = (0, import_react.useMemo)(() => debounce_default((e2, C2) => {
540
+ Logger.debug("[Vega signal]", e2, C2);
541
+ let w2 = Objects.mapValues(C2, convertDatetimeToEpochMilliseconds);
542
+ w2 = Objects.mapValues(w2, convertSetToList), K({ [e2]: w2 });
543
+ }, 100), [K]), J = useDeepCompareMemoize(G), Y = (0, import_react.useMemo)(() => J.reduce((e2, C2) => (ParamNames.PAN_ZOOM === C2 || ParamNames.isBinColoring(C2) || e2.push({
544
+ signalName: C2,
545
+ handler: (e3, C3) => q(e3, C3)
545
546
  }), e2), []), [J, q]), X = useEvent_default((e2) => {
546
547
  Logger.error(e2), Logger.debug(W), V(e2);
547
548
  }), Z = useEvent_default((e2) => {
@@ -553,14 +554,14 @@ var VegaComponent = (e) => {
553
554
  side: "left",
554
555
  content: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
555
556
  className: "text-xs flex flex-col",
556
- children: e2.map((e3, w2) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { children: [
557
+ children: e2.map((e3, C2) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { children: [
557
558
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
558
559
  className: "font-bold tracking-wide",
559
560
  children: [e3[0], ":"]
560
561
  }),
561
562
  " ",
562
563
  e3[1]
563
- ] }, w2))
564
+ ] }, C2))
564
565
  }),
565
566
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CircleQuestionMark, { className: "absolute bottom-1 right-0 m-2 h-4 w-4 cursor-help text-muted-foreground hover:text-foreground" })
566
567
  });
@@ -577,16 +578,16 @@ var VegaComponent = (e) => {
577
578
  onError: X,
578
579
  onEmbed: Z
579
580
  });
580
- return (0, import_react.useEffect)(() => (Y.forEach(({ signalName: e2, handler: w2 }) => {
581
+ return (0, import_react.useEffect)(() => (Y.forEach(({ signalName: e2, handler: C2 }) => {
581
582
  try {
582
- $ == null ? void 0 : $.view.addSignalListener(e2, w2);
583
+ $ == null ? void 0 : $.view.addSignalListener(e2, C2);
583
584
  } catch (e3) {
584
585
  Logger.error(e3);
585
586
  }
586
587
  }), () => {
587
- Y.forEach(({ signalName: e2, handler: w2 }) => {
588
+ Y.forEach(({ signalName: e2, handler: C2 }) => {
588
589
  try {
589
- $ == null ? void 0 : $.view.removeSignalListener(e2, w2);
590
+ $ == null ? void 0 : $.view.removeSignalListener(e2, C2);
590
591
  } catch (e3) {
591
592
  Logger.error(e3);
592
593
  }