@marimo-team/islands 0.23.15-dev6 → 0.23.15-dev63

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 (578) hide show
  1. package/dist/{ConnectedDataExplorerComponent-CU4fZJzG.js → ConnectedDataExplorerComponent-CJaUI-S-.js} +85 -84
  2. package/dist/{ErrorBoundary-DE6tzZf-.js → ErrorBoundary-DXlxsrTF.js} +3 -3
  3. package/dist/{ImageComparisonComponent-CHrI72em.js → ImageComparisonComponent-C3y7L3eJ.js} +173 -129
  4. package/dist/{any-language-editor-DN1R-1KZ.js → any-language-editor-P9tjkj4n.js} +21 -21
  5. package/dist/apl-e1B5LPEL.js +4 -0
  6. package/dist/{arc-DfkSnvZm.js → arc-CTIpFoOn.js} +2 -2
  7. package/dist/architecture-7HQA4BMR-DHUrQjL4.js +6 -0
  8. package/dist/{architectureDiagram-VXUJARFQ-CT2SuxNw.js → architectureDiagram-VXUJARFQ-DXwkyAaM.js} +19 -19
  9. package/dist/asciiarmor-B-gwgesP.js +4 -0
  10. package/dist/asn1-DF2ckRB4.js +4 -0
  11. package/dist/assets/__vite-browser-external-CjNAy01L.js +1 -0
  12. package/dist/assets/worker-B3XPCb6y.js +98 -0
  13. package/dist/{blockDiagram-VD42YOAC-Dy7hlFla.js → blockDiagram-VD42YOAC-CIOjvxeD.js} +12 -12
  14. package/dist/brainfuck-4G-7_gq_.js +4 -0
  15. package/dist/{button-BacYv-bE.js → button-BcSml68y.js} +12 -65
  16. package/dist/{c4Diagram-YG6GDRKO-BXlAmZ8Z.js → c4Diagram-YG6GDRKO-B6dZC_oU.js} +6 -6
  17. package/dist/{capabilities-D_4LYhSU.js → capabilities-BYLFYTYv.js} +2 -2
  18. package/dist/{channel-D_PHgcig.js → channel-BN070S0F.js} +1 -1
  19. package/dist/{chat-ui-DinOvbWu.js → chat-ui-BdSDiVjk.js} +3122 -3116
  20. package/dist/{check-C9OoNtR4.js → check-Cs-KV5XY.js} +1 -1
  21. package/dist/{chunk-4BX2VUAB-CzXltWHN.js → chunk-4BX2VUAB-iU5lQTDI.js} +1 -1
  22. package/dist/{chunk-4F5CHEZ2-D9nGEHV8.js → chunk-4F5CHEZ2-VlodlEGo.js} +1 -1
  23. package/dist/{chunk-55IACEB6-B-1mjMMC.js → chunk-55IACEB6-7h71GwyW.js} +1 -1
  24. package/dist/{chunk-5FQGJX7Z-BbqSm5gU.js → chunk-5FQGJX7Z-B9WoXK1R.js} +3 -3
  25. package/dist/{chunk-ABZYJK2D-Dz0-H2B5.js → chunk-ABZYJK2D-BxBDji1u.js} +3 -3
  26. package/dist/{chunk-ATLVNIR6-o0Z5MZLd.js → chunk-ATLVNIR6-qFiszptQ.js} +2 -2
  27. package/dist/{chunk-B2363JML-KEJpLGGP.js → chunk-B2363JML-zL3VngtH.js} +1 -1
  28. package/dist/{chunk-B4BG7PRW-BL98U9B4.js → chunk-B4BG7PRW-B_z2FEHm.js} +7 -7
  29. package/dist/{chunk-CVBHYZKI-B_c5YBcW.js → chunk-CVBHYZKI-CwazXVlJ.js} +1 -1
  30. package/dist/{chunk-DI55MBZ5-Dwkn0LWm.js → chunk-DI55MBZ5-D4Y8yV8B.js} +6 -6
  31. package/dist/{chunk-EXTU4WIE-9sNjmQrB.js → chunk-EXTU4WIE-BQPBhApE.js} +2 -2
  32. package/dist/{chunk-FMBD7UC4-Ie8M9q0W.js → chunk-FMBD7UC4-quJmebXa.js} +1 -1
  33. package/dist/{chunk-FRFDVMJY-DzQqMWrl.js → chunk-FRFDVMJY-BHBqN-vD.js} +1 -1
  34. package/dist/{chunk-HN2XXSSU-E3n-Ys7Z.js → chunk-HN2XXSSU-Bv0QkeMr.js} +1 -1
  35. package/dist/{chunk-JA3XYJ7Z-C32Y7Epf.js → chunk-JA3XYJ7Z-CY4CRbV5.js} +3 -3
  36. package/dist/{chunk-JZLCHNYA-C6ftyVMN.js → chunk-JZLCHNYA-DWIR9m5O.js} +6 -6
  37. package/dist/{chunk-MI3HLSF2-CUYEasXO.js → chunk-MI3HLSF2-HGWI-8Pg.js} +1 -1
  38. package/dist/{chunk-N4CR4FBY-DUhGZhZs.js → chunk-N4CR4FBY-Bw2HcMNc.js} +7 -7
  39. package/dist/{chunk-PL6DKKU2-D7km-08O.js → chunk-PL6DKKU2-CAHKc95s.js} +1 -1
  40. package/dist/{chunk-QN33PNHL-0K6SDYn3.js → chunk-QN33PNHL-DPBNNzpR.js} +2 -2
  41. package/dist/{chunk-QXUST7PY-DMhsRpYK.js → chunk-QXUST7PY-DtC2t9Mk.js} +10 -10
  42. package/dist/{chunk-QZHKN3VN-DRjXVwuJ.js → chunk-QZHKN3VN-Dym5BS7y.js} +1 -1
  43. package/dist/{chunk-S3R3BYOJ-oAe3dEbO.js → chunk-S3R3BYOJ-BdgLc8AM.js} +4 -4
  44. package/dist/{chunk-SJTYNZTY-BkJrPRFC.js → chunk-SJTYNZTY-DnXoKWpW.js} +1 -1
  45. package/dist/{chunk-TCCFYFTB-D58KeXnC.js → chunk-TCCFYFTB-DPWJa9zL.js} +1 -1
  46. package/dist/{chunk-TQ3KTPDO-D_yA_wAb.js → chunk-TQ3KTPDO-CsDx6v37.js} +1 -1
  47. package/dist/{chunk-TZMSLE5B-yBKS_DQU.js → chunk-TZMSLE5B-BzSHcq-K.js} +3 -3
  48. package/dist/{chunk-UMXZTB3W-D7uwvNjd.js → chunk-UMXZTB3W-D1uHz8MN.js} +1 -1
  49. package/dist/classDiagram-2ON5EDUG-BiQPjMNY.js +30 -0
  50. package/dist/classDiagram-v2-WZHVMYZB-YHdR8fqM.js +30 -0
  51. package/dist/{clike-DTxNUn7l.js → clike-7lgyEYRk.js} +1 -1
  52. package/dist/clojure-CUybM11R.js +4 -0
  53. package/dist/cmake-BPjGcuDL.js +4 -0
  54. package/dist/cobol-BETk_nb6.js +4 -0
  55. package/dist/{code-block-37QAKDTI-O6IH6wAi.js → code-block-37QAKDTI-MSxEjskJ.js} +1 -1
  56. package/dist/{code-visibility-Dpab3kCj.js → code-visibility-yIEEWI5w.js} +1554 -1471
  57. package/dist/coffeescript-CManZxXL.js +4 -0
  58. package/dist/commonlisp-DWkn7GW8.js +4 -0
  59. package/dist/{copy-COam1EG7.js → copy-Cs3yt6Vt.js} +2 -2
  60. package/dist/{cose-bilkent-S5V4N54A-kjoZoid4.js → cose-bilkent-S5V4N54A-BYj0aL7z.js} +2 -2
  61. package/dist/crystal-CCbg5EUH.js +4 -0
  62. package/dist/css-By8eo-XS.js +4 -0
  63. package/dist/cypher-DwfHg3nP.js +4 -0
  64. package/dist/d-Brs1wNbw.js +4 -0
  65. package/dist/{dagre-6UL2VRFP-J0JKgwOt.js → dagre-6UL2VRFP-DpYjBqQs.js} +11 -11
  66. package/dist/{data-grid-overlay-editor-C6lxUJp-.js → data-grid-overlay-editor-BWRG2b_o.js} +2 -2
  67. package/dist/{constants-T20xxyNf.js → debounce-BOD3DbfP.js} +1 -24
  68. package/dist/{diagram-PSM6KHXK-DYgJuNk9.js → diagram-PSM6KHXK-D4ftnaua.js} +22 -22
  69. package/dist/{diagram-QEK2KX5R-CKdBR2sb.js → diagram-QEK2KX5R-DVlUOgs1.js} +17 -17
  70. package/dist/{diagram-S2PKOQOG-Dpi7mo5W.js → diagram-S2PKOQOG-CGh4OMEV.js} +17 -17
  71. package/dist/diff-DJIRmJ1g.js +4 -0
  72. package/dist/{dist-DyyjKEYf.js → dist-3NCqaWjt.js} +2 -2
  73. package/dist/{dist-D-W5ny5a.js → dist-4lVIWUT3.js} +1 -1
  74. package/dist/dist-5o9uz19x.js +5 -0
  75. package/dist/{dist-GZXUmt0b.js → dist-B2jmQKKx.js} +2 -2
  76. package/dist/{dist--2Bqjvs0.js → dist-B96tMAst.js} +2 -2
  77. package/dist/{dist-BaoDKvdy.js → dist-BCX980mU.js} +2 -2
  78. package/dist/{dist-DMjWuVs8.js → dist-BIEt-mlF.js} +1 -1
  79. package/dist/{dist-BR_gyG9L.js → dist-BO5HRiTf.js} +2 -2
  80. package/dist/{dist-Dv_Y15yk.js → dist-BOMbzyb3.js} +85 -85
  81. package/dist/{dist-CIYBwstr.js → dist-BP39XM8u.js} +1 -1
  82. package/dist/{dist-DZo4nSS0.js → dist-BPF0gTRZ.js} +6 -6
  83. package/dist/{dist-BSAt6RhH.js → dist-BTdrwBWP.js} +22 -22
  84. package/dist/{dist-BY018Paw.js → dist-BdqCKQ1O.js} +2 -2
  85. package/dist/dist-BpDH0DEP.js +5 -0
  86. package/dist/dist-BpXhbQXO.js +8 -0
  87. package/dist/{dist-CcWX6tmx.js → dist-BpeiYpG2.js} +2 -2
  88. package/dist/{dist-A2846XWO.js → dist-BwhXBwMd.js} +1 -1
  89. package/dist/dist-ByadAk_L.js +5 -0
  90. package/dist/{dist-abid3KgM.js → dist-C18MUWTj.js} +2 -2
  91. package/dist/{dist-DZORgqKY.js → dist-C2_4pjuS.js} +1 -1
  92. package/dist/{dist-BzEzfugY.js → dist-CFSb_Frm.js} +1 -1
  93. package/dist/dist-CK0g7JvP.js +8 -0
  94. package/dist/{dist-C_Y3oV3C.js → dist-CRmSjkLP.js} +2 -2
  95. package/dist/{dist-hT4QzYX-.js → dist-CSlJrrAw.js} +86 -81
  96. package/dist/{dist-Du8WkPuU.js → dist-CV79CsQ0.js} +2 -2
  97. package/dist/dist-CfzCtiq2.js +5 -0
  98. package/dist/{dist-CoXAujgg.js → dist-D3bdsa1d.js} +4 -4
  99. package/dist/dist-D8JtVFrW.js +8 -0
  100. package/dist/dist-DK2Oocpu.js +6 -0
  101. package/dist/{dist-LTU8Hdvn.js → dist-DZwp8lro.js} +3 -3
  102. package/dist/{dist-t9Kf7xqC.js → dist-DaXJPX8F.js} +2 -2
  103. package/dist/{dist-U4F-tbMs.js → dist-De-GlSAs.js} +246 -184
  104. package/dist/{dist-M9Vag9Y0.js → dist-DgjbnqTg.js} +125 -125
  105. package/dist/dist-DnSu977r.js +5 -0
  106. package/dist/{dist-CxJDU6Bh.js → dist-DviUBLUp.js} +4 -4
  107. package/dist/{dist-CpxNdDkw.js → dist-DwqBJ014.js} +2 -2
  108. package/dist/{dist-Bf7SHuNp.js → dist-JGehap7K.js} +5 -5
  109. package/dist/{dist-Bk75fBZA.js → dist-LpLXa9Lb.js} +2 -2
  110. package/dist/{dist-Bf9f8MuT.js → dist-SXNmlE8A.js} +1 -1
  111. package/dist/dist-UmxJm6sW.js +8 -0
  112. package/dist/dist-aYSBQSyM.js +5 -0
  113. package/dist/dist-kkZ1Ztlh.js +6 -0
  114. package/dist/dist-ngPczwNi.js +5 -0
  115. package/dist/{dist-DgGbNavJ.js → dist-pqIwD8VD.js} +2 -2
  116. package/dist/dist-wQRyxyTV.js +5 -0
  117. package/dist/{dist-Dax--nl9.js → dist-w_gWE5Wf.js} +1 -1
  118. package/dist/{dockerfile-twL37N91.js → dockerfile-B82Pkz_V.js} +1 -1
  119. package/dist/dtd-Dyiazv4N.js +4 -0
  120. package/dist/dylan-D8Fcw7NA.js +4 -0
  121. package/dist/ecl-CjKp8Vii.js +4 -0
  122. package/dist/eiffel-K9ViOX5r.js +4 -0
  123. package/dist/elm-B5NVtRco.js +4 -0
  124. package/dist/{erDiagram-Q2GNP2WA-BU-m41EQ.js → erDiagram-Q2GNP2WA-BcKAHFqF.js} +15 -15
  125. package/dist/erlang-BnLzgk7R.js +4 -0
  126. package/dist/{error-banner-DFPfz_Qf.js → error-banner-DR7o3CbX.js} +68 -68
  127. package/dist/{esm-ga2Bf3O2.js → esm-DKOv6P2M.js} +424 -424
  128. package/dist/esm-k8PIvuZW.js +1180 -0
  129. package/dist/{extends-9MVIxxRo.js → extends-Cq2JYHKy.js} +36 -20
  130. package/dist/{factor-CajWS6mS.js → factor-Bq2mGIHt.js} +1 -1
  131. package/dist/factor-C7f9Jz5R.js +4 -0
  132. package/dist/{flowDiagram-NV44I4VS-CRoXKjGq.js → flowDiagram-NV44I4VS-BRhSg-ro.js} +17 -17
  133. package/dist/{formats-Dzx4J_z1.js → formats-BFhkZJwd.js} +3 -3
  134. package/dist/forth-rGM8jLao.js +4 -0
  135. package/dist/fortran-B3acSe0i.js +4 -0
  136. package/dist/{ganttDiagram-JELNMOA3-7mq5f9cO.js → ganttDiagram-JELNMOA3-CXXCN7LN.js} +10 -10
  137. package/dist/gas-Bb1Vmv_N.js +4 -0
  138. package/dist/gherkin-C9Lyidgd.js +4 -0
  139. package/dist/{gitGraph-G5XIXVHT-DiniR35k.js → gitGraph-G5XIXVHT-BjTx0kww.js} +3 -3
  140. package/dist/{gitGraphDiagram-V2S2FVAM-Dfuokq6w.js → gitGraphDiagram-V2S2FVAM-BOlkMSqK.js} +17 -17
  141. package/dist/{glide-data-editor-CjTu7ukN.js → glide-data-editor--CaN-f27.js} +13 -13
  142. package/dist/groovy-DQk6XcGH.js +4 -0
  143. package/dist/haskell-mV0Vw9gv.js +4 -0
  144. package/dist/haxe-DqxN89zH.js +5 -0
  145. package/dist/{html-to-image-_wGfk8V-.js → html-to-image-DDENewl2.js} +2649 -2607
  146. package/dist/idl-ya8W561J.js +4 -0
  147. package/dist/{info-VBDWY6EO-DVZvGhkQ.js → info-VBDWY6EO-CA67FznA.js} +3 -3
  148. package/dist/infoDiagram-HS3SLOUP-D3TyKnL_.js +30 -0
  149. package/dist/{input-DtsN7xm-.js → input-DStQIuqD.js} +51 -51
  150. package/dist/javascript-CgqgptVu.js +4 -0
  151. package/dist/{journeyDiagram-XKPGCS4Q-8XYSU1GI.js → journeyDiagram-XKPGCS4Q-DEal0aT1.js} +7 -7
  152. package/dist/julia-CFQ-HusI.js +4 -0
  153. package/dist/{kanban-definition-3W4ZIXB7--9pT9z1R.js → kanban-definition-3W4ZIXB7-Dl90wENN.js} +12 -12
  154. package/dist/{katex-9-9QRhxz.js → katex-C4t-BmrK.js} +1 -1
  155. package/dist/{label-WfTSU8L4.js → label-DIk0QoFe.js} +2 -2
  156. package/dist/{line-C5s_12ee.js → line-C43FIPBd.js} +3 -3
  157. package/dist/{linear-B5-AFRiR.js → linear-H_vsH9ao.js} +4 -4
  158. package/dist/livescript-D__3TmDo.js +4 -0
  159. package/dist/{loader-Boph2xIS.js → loader-CTHCI-qe.js} +5 -16
  160. package/dist/lua-Bytcgj_W.js +4 -0
  161. package/dist/main.js +2217 -2116
  162. package/dist/mathematica-DJhvVKvl.js +4 -0
  163. package/dist/mbox-IGHPCjfR.js +4 -0
  164. package/dist/{mermaid-4DMBBIKO-Eg3D4FVz.js → mermaid-4DMBBIKO-FXbOziy9.js} +1 -1
  165. package/dist/{mermaid-BYqXy_NE.js → mermaid-CdSvixW2.js} +47 -47
  166. package/dist/{mermaid-parser.core-C3XRsazI.js → mermaid-parser.core-DoivvxPd.js} +8 -8
  167. package/dist/{mhchem-yiCCuiEF.js → mhchem-EGhUZR1V.js} +1 -1
  168. package/dist/{mindmap-definition-VGOIOE7T-B-4mnfFG.js → mindmap-definition-VGOIOE7T-CCDupjWW.js} +14 -14
  169. package/dist/mirc-tcwvVugm.js +4 -0
  170. package/dist/mllike-Dx91i62r.js +6 -0
  171. package/dist/modelica-_SRt-yU5.js +4 -0
  172. package/dist/mscgen-GZrGS9gt.js +6 -0
  173. package/dist/mumps-Cv3ygyod.js +4 -0
  174. package/dist/nsis-BU7GeGbI.js +4 -0
  175. package/dist/{nsis-ClF3r5Tr.js → nsis-i9_sgigf.js} +1 -1
  176. package/dist/ntriples-CL-FCYXb.js +4 -0
  177. package/dist/{number-overlay-editor-BLJXvX9c.js → number-overlay-editor-Ck_mc_gT.js} +1 -1
  178. package/dist/objects-De59twF-.js +56 -0
  179. package/dist/octave-Dc6_3DIu.js +4 -0
  180. package/dist/{ordinal-ArJavP1Q.js → ordinal-Bkv2-veX.js} +1 -1
  181. package/dist/oz-DpUAJCXf.js +4 -0
  182. package/dist/{packet-DYOGHKS2-34raHOiB.js → packet-DYOGHKS2-Bkgofxf3.js} +3 -3
  183. package/dist/pascal-B17mncXs.js +4 -0
  184. package/dist/perl-BTpK97q9.js +4 -0
  185. package/dist/{pie-VRWISCQL-BaLlzZa3.js → pie-VRWISCQL-B1AMhN_7.js} +3 -3
  186. package/dist/{pieDiagram-ADFJNKIX-Cr3cNpZY.js → pieDiagram-ADFJNKIX-JvXG_6hk.js} +22 -22
  187. package/dist/pig-CFb638Ap.js +4 -0
  188. package/dist/powershell-Cxo-_2A5.js +4 -0
  189. package/dist/{precisionRound-Tqb4mg-H.js → precisionRound-CnHPY_5v.js} +1 -1
  190. package/dist/{process-output-Mh4UrjwM.js → process-output-2QPcgBQg.js} +4 -4
  191. package/dist/properties-BPgT1xTB.js +4 -0
  192. package/dist/protobuf-BgHBaIIK.js +4 -0
  193. package/dist/pug-25-oS0SG.js +4 -0
  194. package/dist/{pug-B_rby2yb.js → pug-BhE2JRSg.js} +1 -1
  195. package/dist/puppet-DarIr20S.js +4 -0
  196. package/dist/purify.es-EnR5yhgI.js +783 -0
  197. package/dist/python-BqmOsBsi.js +4 -0
  198. package/dist/q-D3QJCTup.js +4 -0
  199. package/dist/{quadrantDiagram-AYHSOK5B-BuNL8Q93.js → quadrantDiagram-AYHSOK5B-BqDB9tUC.js} +5 -5
  200. package/dist/r-Cz_yBX4z.js +4 -0
  201. package/dist/{radar-ZZBFDIW7-Ci7bfoZa.js → radar-ZZBFDIW7-C2b7A32s.js} +3 -3
  202. package/dist/{react-vega-B0sAlDTL.js → react-vega-BazDALhI.js} +469 -469
  203. package/dist/{requirementDiagram-UZGBJVZJ-BG2lLUN1.js → requirementDiagram-UZGBJVZJ-KbVt8SPH.js} +14 -14
  204. package/dist/{reveal-component-BfYO8h-9.js → reveal-component-CCyp8KHw.js} +629 -622
  205. package/dist/rpm-DGOtYwAI.js +5 -0
  206. package/dist/ruby-DBZu4rPc.js +4 -0
  207. package/dist/{sankeyDiagram-TZEHDZUN-DMal8sps.js → sankeyDiagram-TZEHDZUN-DgkF38jx.js} +5 -5
  208. package/dist/sas-Dd1D9qTq.js +4 -0
  209. package/dist/scheme-BmDjvTHX.js +4 -0
  210. package/dist/{sequenceDiagram-WL72ISMW-DT6Tk-Eo.js → sequenceDiagram-WL72ISMW-BDmx9n95.js} +8 -8
  211. package/dist/shell-BL8zFSaj.js +4 -0
  212. package/dist/sieve-BAx2WqUP.js +4 -0
  213. package/dist/smalltalk-CYRzF7VV.js +4 -0
  214. package/dist/sparql-YWaDRO4A.js +4 -0
  215. package/dist/{spec-Cz-Bj1JI.js → spec-CnaxwDqy.js} +4 -4
  216. package/dist/{src-Bf2iLOlr.js → src-DV3ha_nA.js} +1 -1
  217. package/dist/{stateDiagram-FKZM4ZOC-CB_lodq3.js → stateDiagram-FKZM4ZOC-ByOvQf2n.js} +17 -17
  218. package/dist/stateDiagram-v2-4FDKWEC3-C3xqeavR.js +29 -0
  219. package/dist/{step-CWipAYTY.js → step-BqHnkgWE.js} +1 -1
  220. package/dist/stex-B5O-env2.js +4 -0
  221. package/dist/{strings-Dq_j3Rxw.js → strings-BYAhZnQi.js} +354 -354
  222. package/dist/style.css +1 -1
  223. package/dist/stylus-lYsyLFc1.js +4 -0
  224. package/dist/swift-ClQz9z1n.js +4 -0
  225. package/dist/{swiper-component-5HoSsPi1.js → swiper-component-DE94711u.js} +4 -4
  226. package/dist/tcl-B3jhsfqY.js +4 -0
  227. package/dist/textile-Cb1Dw7Aq.js +4 -0
  228. package/dist/{time-CsmIF9YZ.js → time-Bb4A7I6a.js} +4 -4
  229. package/dist/{timeline-definition-IT6M3QCI-NfSKRvH0.js → timeline-definition-IT6M3QCI-CkD_trIn.js} +4 -4
  230. package/dist/{toDate-CWNNlFEX.js → toDate-B3IRfHhw.js} +16 -7
  231. package/dist/toml-nHZhetdO.js +4 -0
  232. package/dist/{tooltip-Czds6Qr8.js → tooltip-B-qh7UPB.js} +3 -3
  233. package/dist/{treemap-GDKQZRPO-Cl6OQh8D.js → treemap-GDKQZRPO-SDux0AV8.js} +3 -3
  234. package/dist/troff-DuJAGWKH.js +4 -0
  235. package/dist/ttcn-BxrcwP21.js +4 -0
  236. package/dist/ttcn-cfg-BAg_9dcc.js +4 -0
  237. package/dist/turtle-zCq949as.js +4 -0
  238. package/dist/{types-C2Ir191_.js → types-DQl7jVYK.js} +1 -1
  239. package/dist/use-vega-container-remeasure-DGNrIQSk.js +27 -0
  240. package/dist/{useAsyncData-KfHB8wQR.js → useAsyncData-CvO8WUy3.js} +1 -1
  241. package/dist/{useDateFormatter-CMnRuVmN.js → useDateFormatter-BSoGim-G.js} +2 -2
  242. package/dist/{useDeepCompareMemoize-nJMtxhm4.js → useDeepCompareMemoize-J3MKRdA4.js} +1 -1
  243. package/dist/{useIframeCapabilities-DWIYvDh7.js → useIframeCapabilities-POcFXHbw.js} +1 -1
  244. package/dist/{useLifecycle-DegSo0lV.js → useLifecycle-DqPxHgAN.js} +3 -3
  245. package/dist/{useTheme-6eZ3GOTS.js → useTheme-XMq9mNf_.js} +65 -29
  246. package/dist/vb-De5hElus.js +4 -0
  247. package/dist/vbscript-Cypcpv4F.js +4 -0
  248. package/dist/{vega-component-DzyyM9fc.js → vega-component-CrFoZT1S.js} +225 -223
  249. package/dist/vega-embed-container-DAQAMjiO.js +22 -0
  250. package/dist/vega-loader.browser-DmpxCJqx.js +1353 -0
  251. package/dist/velocity-Di7l-yhe.js +4 -0
  252. package/dist/verilog-Bzi-S3g2.js +4 -0
  253. package/dist/vhdl-B0ZZITaW.js +4 -0
  254. package/dist/webidl-0sviiRcN.js +4 -0
  255. package/dist/xquery-B4qMVWaB.js +4 -0
  256. package/dist/{xychartDiagram-PRI3JC2R-BvwftqMA.js → xychartDiagram-PRI3JC2R-BSkNxYNw.js} +13 -13
  257. package/dist/yacas-Jt25Fuv8.js +4 -0
  258. package/dist/z80-CrcbYzmp.js +4 -0
  259. package/dist/{zod-CijjQh4u.js → zod-D0yOqoGe.js} +26 -26
  260. package/package.json +3 -1
  261. package/src/__mocks__/requests.ts +3 -0
  262. package/src/components/charts/lazy.tsx +3 -1
  263. package/src/components/charts/vega-embed-container.tsx +18 -0
  264. package/src/components/chat/__tests__/chat-utils.test.ts +244 -1
  265. package/src/components/chat/__tests__/message-queue.test.tsx +121 -0
  266. package/src/components/chat/chat-panel.tsx +196 -67
  267. package/src/components/chat/chat-utils.ts +111 -2
  268. package/src/components/editor/RecoveryButton.tsx +2 -2
  269. package/src/components/editor/SortableCell.tsx +6 -2
  270. package/src/components/editor/__tests__/output-persistence.test.tsx +241 -0
  271. package/src/components/editor/actions/__tests__/pair-with-agent-commands.test.ts +153 -0
  272. package/src/components/editor/actions/pair-with-agent-commands.ts +109 -0
  273. package/src/components/editor/actions/pair-with-agent-modal.tsx +20 -64
  274. package/src/components/editor/actions/useNotebookActions.tsx +8 -0
  275. package/src/components/editor/ai/add-cell-with-ai.tsx +14 -5
  276. package/src/components/editor/ai/ai-completion-editor.tsx +4 -1
  277. package/src/components/editor/cell/cell-context-menu.tsx +7 -0
  278. package/src/components/editor/chrome/components/__tests__/feedback-button.test.tsx +221 -0
  279. package/src/components/editor/chrome/components/feedback-button.tsx +308 -77
  280. package/src/components/editor/chrome/panels/packages-panel.tsx +11 -1
  281. package/src/components/editor/chrome/panels/write-secret-modal.tsx +3 -2
  282. package/src/components/editor/columns/__tests__/cell-column.test.tsx +105 -0
  283. package/src/components/editor/columns/cell-column.tsx +34 -4
  284. package/src/components/editor/columns/sortable-column.tsx +24 -4
  285. package/src/components/editor/connections/__tests__/secret-combobox.test.ts +134 -0
  286. package/src/components/editor/connections/database/schemas.ts +35 -27
  287. package/src/components/editor/connections/form-renderers.tsx +42 -110
  288. package/src/components/editor/connections/secret-combobox.tsx +253 -0
  289. package/src/components/editor/connections/storage/schemas.ts +12 -6
  290. package/src/components/editor/file-tree/download.ts +46 -0
  291. package/src/components/editor/file-tree/file-explorer.tsx +3 -21
  292. package/src/components/editor/file-tree/file-viewer.tsx +4 -27
  293. package/src/components/editor/navigation/__tests__/navigation.test.ts +33 -0
  294. package/src/components/editor/navigation/navigation.ts +8 -1
  295. package/src/components/editor/notebook-cell.tsx +203 -106
  296. package/src/components/editor/renderers/__tests__/cells-renderer.test.tsx +66 -0
  297. package/src/components/editor/renderers/cell-array.tsx +26 -13
  298. package/src/components/editor/renderers/cells-renderer.tsx +8 -2
  299. package/src/components/editor/renderers/slides-layout/__tests__/plugin.test.ts +29 -0
  300. package/src/components/editor/renderers/slides-layout/types.ts +4 -0
  301. package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +19 -19
  302. package/src/components/slides/reveal-component.tsx +37 -17
  303. package/src/components/slides/slide-form.tsx +72 -0
  304. package/src/components/ui/toast.tsx +11 -3
  305. package/src/components/ui/toaster.tsx +65 -9
  306. package/src/core/ai/context/providers/error.ts +6 -158
  307. package/src/core/cells/__tests__/utils.test.ts +59 -0
  308. package/src/core/cells/utils.ts +51 -0
  309. package/src/core/codemirror/completion/__tests__/signature-hint.test.ts +97 -3
  310. package/src/core/codemirror/completion/signature-hint.ts +78 -11
  311. package/src/core/constants.ts +8 -0
  312. package/src/core/diagnostics/__tests__/issue-details.test.ts +173 -0
  313. package/src/core/diagnostics/issue-details.ts +139 -0
  314. package/src/core/errors/__tests__/error-entries.test.ts +25 -0
  315. package/src/core/errors/error-entries.ts +176 -0
  316. package/src/core/islands/__tests__/bridge.test.ts +341 -46
  317. package/src/core/islands/__tests__/main.test.ts +176 -0
  318. package/src/core/islands/__tests__/parse.test.ts +105 -0
  319. package/src/core/islands/bootstrap.ts +8 -3
  320. package/src/core/islands/bridge.ts +117 -23
  321. package/src/core/islands/components/__tests__/web-components.test.tsx +214 -0
  322. package/src/core/islands/components/web-components.tsx +76 -15
  323. package/src/core/islands/constants.ts +1 -0
  324. package/src/core/islands/main.ts +69 -3
  325. package/src/core/islands/parse.ts +70 -23
  326. package/src/core/islands/worker/__tests__/controller.test.ts +173 -0
  327. package/src/core/islands/worker/worker.tsx +145 -57
  328. package/src/core/network/__tests__/requests-lazy.test.ts +18 -0
  329. package/src/core/network/__tests__/requests-network.test.ts +7 -0
  330. package/src/core/network/requests-lazy.ts +13 -1
  331. package/src/core/network/requests-network.ts +3 -0
  332. package/src/core/network/requests-static.ts +1 -0
  333. package/src/core/network/requests-toasting.tsx +1 -0
  334. package/src/core/network/types.ts +3 -0
  335. package/src/core/runtime/__tests__/runtime.test.ts +64 -0
  336. package/src/core/runtime/runtime.ts +30 -10
  337. package/src/core/wasm/bridge.ts +8 -0
  338. package/src/core/wasm/worker/bootstrap.ts +113 -20
  339. package/src/core/wasm/worker/types.ts +2 -0
  340. package/src/css/app/Cell.css +10 -0
  341. package/src/hooks/__tests__/useHotkey.test.tsx +88 -0
  342. package/src/hooks/useHotkey.ts +29 -4
  343. package/src/plugins/impl/anywidget/__tests__/host.test.ts +6 -9
  344. package/src/plugins/impl/anywidget/__tests__/registry.test.ts +3 -1
  345. package/src/plugins/impl/anywidget/__tests__/widget-binding.test.ts +32 -61
  346. package/src/plugins/impl/anywidget/model-proxy.ts +0 -13
  347. package/src/plugins/impl/anywidget/runtime.ts +1 -0
  348. package/src/plugins/impl/anywidget/widget-binding.ts +8 -34
  349. package/src/plugins/impl/image-comparison/ImageComparisonComponent.tsx +53 -2
  350. package/src/plugins/impl/image-comparison/__tests__/ImageComparisonComponent.test.tsx +71 -0
  351. package/src/plugins/impl/vega/__tests__/use-vega-container-remeasure.test.ts +102 -0
  352. package/src/plugins/impl/vega/use-vega-container-remeasure.ts +39 -0
  353. package/src/plugins/impl/vega/vega-component.tsx +5 -4
  354. package/src/theme/__tests__/useTheme.test.ts +68 -0
  355. package/src/theme/useTheme.ts +16 -1
  356. package/dist/apl-Bdc61P1y.js +0 -4
  357. package/dist/architecture-7HQA4BMR-Kyc44TmC.js +0 -6
  358. package/dist/asciiarmor-DVRHDGzT.js +0 -4
  359. package/dist/asn1-BmuKfkfu.js +0 -4
  360. package/dist/assets/__vite-browser-external-BQCLNwri.js +0 -1
  361. package/dist/assets/worker-DAWRHcPq.js +0 -73
  362. package/dist/brainfuck-DPrRpyTV.js +0 -4
  363. package/dist/classDiagram-2ON5EDUG-QjoAcuFE.js +0 -30
  364. package/dist/classDiagram-v2-WZHVMYZB-bUCv4gu2.js +0 -30
  365. package/dist/clojure-DEttQW5T.js +0 -4
  366. package/dist/cmake-jNlx_DaM.js +0 -4
  367. package/dist/cobol-BvvIm5MJ.js +0 -4
  368. package/dist/coffeescript-DTpBMyFU.js +0 -4
  369. package/dist/commonlisp-BmmUG8jb.js +0 -4
  370. package/dist/crystal-BxyqmEWC.js +0 -4
  371. package/dist/css-BGoCtuG3.js +0 -4
  372. package/dist/cypher-BmCbdl3u.js +0 -4
  373. package/dist/d-CFrlbjZt.js +0 -4
  374. package/dist/diff-D6XwL6P8.js +0 -4
  375. package/dist/dist-7QfXoMdB.js +0 -5
  376. package/dist/dist-BEXXyZig.js +0 -5
  377. package/dist/dist-BYj57OV4.js +0 -5
  378. package/dist/dist-BlSvQzNr.js +0 -5
  379. package/dist/dist-CCBlxAgS.js +0 -8
  380. package/dist/dist-CIDTVIUf.js +0 -5
  381. package/dist/dist-CqQyhAM8.js +0 -8
  382. package/dist/dist-CwRu2Xzh.js +0 -5
  383. package/dist/dist-D8CDTVgf.js +0 -6
  384. package/dist/dist-D8DNB0nO.js +0 -8
  385. package/dist/dist-DL6N_q-A.js +0 -5
  386. package/dist/dist-DOFbNV_b.js +0 -8
  387. package/dist/dist-DPrYzMY0.js +0 -6
  388. package/dist/dist-cdmMjgsn.js +0 -5
  389. package/dist/dtd-Bw0lRN0-.js +0 -4
  390. package/dist/dylan-B55eBHTt.js +0 -4
  391. package/dist/ecl-C8G4p0wn.js +0 -4
  392. package/dist/eiffel-BmH46VJl.js +0 -4
  393. package/dist/elm-DhzeFqkl.js +0 -4
  394. package/dist/erlang-CY-wdlsU.js +0 -4
  395. package/dist/esm-M837UxV5.js +0 -1171
  396. package/dist/factor-DWkgl0xw.js +0 -4
  397. package/dist/forth-Cij_ie2t.js +0 -4
  398. package/dist/fortran-Br3X9cfm.js +0 -4
  399. package/dist/gas-DYsGcMN2.js +0 -4
  400. package/dist/gherkin-eVgXQ0fQ.js +0 -4
  401. package/dist/groovy-_NFHIXG7.js +0 -4
  402. package/dist/haskell-D6xNG_bH.js +0 -4
  403. package/dist/haxe-sU_rzAwn.js +0 -5
  404. package/dist/idl-Ds_VbrUx.js +0 -4
  405. package/dist/infoDiagram-HS3SLOUP-CEnzWruK.js +0 -30
  406. package/dist/javascript-CztfIl0i.js +0 -4
  407. package/dist/julia-DDv40QMV.js +0 -4
  408. package/dist/livescript-BEOngLLc.js +0 -4
  409. package/dist/lua-9-7BhQ4Y.js +0 -4
  410. package/dist/mathematica-DDa0Pfxm.js +0 -4
  411. package/dist/mbox-iO03mmoE.js +0 -4
  412. package/dist/mirc-C9z5LT4X.js +0 -4
  413. package/dist/mllike-jGJbdm_C.js +0 -6
  414. package/dist/modelica-DzF7oIEL.js +0 -4
  415. package/dist/mscgen-DB-u125o.js +0 -6
  416. package/dist/mumps-CRTFHhzh.js +0 -4
  417. package/dist/nsis-C4NPTuox.js +0 -4
  418. package/dist/ntriples-BCOoGph1.js +0 -4
  419. package/dist/octave-DTwNlazz.js +0 -4
  420. package/dist/oz-DD38AzSz.js +0 -4
  421. package/dist/pascal-BohSp9jV.js +0 -4
  422. package/dist/perl-f5OutoPM.js +0 -4
  423. package/dist/pig-Dv7wSmHb.js +0 -4
  424. package/dist/powershell-rYgjKB39.js +0 -4
  425. package/dist/properties-BFUNLRDN.js +0 -4
  426. package/dist/protobuf-B9QJQPPv.js +0 -4
  427. package/dist/pug-DzvWpaMC.js +0 -4
  428. package/dist/puppet-B_K-n_xK.js +0 -4
  429. package/dist/purify.es-H92eMd9-.js +0 -557
  430. package/dist/python-CAiFcaA2.js +0 -4
  431. package/dist/q-cLeFIBLK.js +0 -4
  432. package/dist/r-04Y-Wco3.js +0 -4
  433. package/dist/react-vega-B6ncY2Tp.js +0 -9
  434. package/dist/rpm-FUdrIia9.js +0 -5
  435. package/dist/ruby-DMjFXuEW.js +0 -4
  436. package/dist/sas-DzHZxjXK.js +0 -4
  437. package/dist/scheme-DxHd_Rb9.js +0 -4
  438. package/dist/shell-C8Kwypgf.js +0 -4
  439. package/dist/sieve-DdyqOKXZ.js +0 -4
  440. package/dist/smalltalk-pB7X1D9y.js +0 -4
  441. package/dist/sparql-NhBO6oOa.js +0 -4
  442. package/dist/stateDiagram-v2-4FDKWEC3-E0RGjKsm.js +0 -29
  443. package/dist/stex-KfRnSHzF.js +0 -4
  444. package/dist/stylus-SfWSnzPv.js +0 -4
  445. package/dist/swift-jRPdq2zR.js +0 -4
  446. package/dist/tcl-_hpTHGX3.js +0 -4
  447. package/dist/textile-C9h8slqH.js +0 -4
  448. package/dist/toml-DWvtinD4.js +0 -4
  449. package/dist/troff-Dwo_A0y7.js +0 -4
  450. package/dist/ttcn-V--CPFKq.js +0 -4
  451. package/dist/ttcn-cfg-CPSMchTG.js +0 -4
  452. package/dist/turtle-B4rPGBWu.js +0 -4
  453. package/dist/vb-DaMBBd4j.js +0 -4
  454. package/dist/vbscript-BMJQqcE2.js +0 -4
  455. package/dist/vega-loader.browser-CZ-J8Py3.js +0 -1321
  456. package/dist/velocity-CGq2QRq2.js +0 -4
  457. package/dist/verilog-CUNo8F5u.js +0 -4
  458. package/dist/vhdl-CCzA0msW.js +0 -4
  459. package/dist/webidl-CqIMDIBL.js +0 -4
  460. package/dist/xquery-XC5Kbr-1.js +0 -4
  461. package/dist/yacas-CGOv7Dzy.js +0 -4
  462. package/dist/z80-CXhVmi-f.js +0 -4
  463. /package/dist/{Plot-CAYS29h9.js → Plot-YQOuVIei.js} +0 -0
  464. /package/dist/{apl-BCgCq9iM.js → apl-99A7dLQe.js} +0 -0
  465. /package/dist/{array-tvvEqPy7.js → array-O78LT16Y.js} +0 -0
  466. /package/dist/{asciiarmor-BtqU-KJQ.js → asciiarmor-DLEhpFDx.js} +0 -0
  467. /package/dist/{asn1-Dmb-dTMx.js → asn1-CMrcTsT4.js} +0 -0
  468. /package/dist/{asterisk-DaVJJDnV.js → asterisk-CqykImq7.js} +0 -0
  469. /package/dist/{brainfuck-C1HoZKlE.js → brainfuck-ChPt5yBe.js} +0 -0
  470. /package/dist/{chunk-DR5Q36YT-BflwErH1.js → chunk-DR5Q36YT-5Yp2GWwR.js} +0 -0
  471. /package/dist/{click-outside-container-BLPjMamz.js → click-outside-container-BSIeYt4y.js} +0 -0
  472. /package/dist/{clike-CdT0yHjt.js → clike-CE0fXfM_.js} +0 -0
  473. /package/dist/{clojure-CdyrCpUv.js → clojure-QkBEMU-g.js} +0 -0
  474. /package/dist/{cmake-BFlPxym7.js → cmake-CU1jX7Mo.js} +0 -0
  475. /package/dist/{cobol-CcJXewp8.js → cobol-DMOKzzky.js} +0 -0
  476. /package/dist/{coffeescript-DnKuIKRo.js → coffeescript-DjnjLyfk.js} +0 -0
  477. /package/dist/{colors-CQAOa8cK.js → colors-DmiH1bIH.js} +0 -0
  478. /package/dist/{common-keywords-FBrXPTcz.js → common-keywords-D3nPJNQP.js} +0 -0
  479. /package/dist/{commonlisp-B-kok83Z.js → commonlisp-CYd9iOSe.js} +0 -0
  480. /package/dist/{crystal-FYRYjI1I.js → crystal-Dy55yoYG.js} +0 -0
  481. /package/dist/{css-B45lc2V3.js → css-CNU8w3HJ.js} +0 -0
  482. /package/dist/{cypher-DZMLyVY_.js → cypher-q47DGzK7.js} +0 -0
  483. /package/dist/{cytoscape.esm-ayF70frT.js → cytoscape.esm-Dr8XzXWK.js} +0 -0
  484. /package/dist/{d-x-VVT4o9.js → d-jEkaLvxX.js} +0 -0
  485. /package/dist/{defaultLocale-u-3osm0P.js → defaultLocale-BpsHxBd7.js} +0 -0
  486. /package/dist/{defaultLocale-BoHTsDG6.js → defaultLocale-DoeErsX2.js} +0 -0
  487. /package/dist/{diff-Dxe2mpXk.js → diff-vb2-unFN.js} +0 -0
  488. /package/dist/{dist-BGdYVvOu.js → dist-DsoKosxi.js} +0 -0
  489. /package/dist/{dtd-C9VM_Wfu.js → dtd-C9kR-bXa.js} +0 -0
  490. /package/dist/{duckdb-keywords-CvJhR_Yd.js → duckdb-keywords-B6HYCMOT.js} +0 -0
  491. /package/dist/{dylan-DTSnEIFO.js → dylan-BLckrK-V.js} +0 -0
  492. /package/dist/{ebnf-2D4Ctp3y.js → ebnf-Cnp3L9jg.js} +0 -0
  493. /package/dist/{ecl-N04ptnRK.js → ecl-CEsf6XVg.js} +0 -0
  494. /package/dist/{eiffel-Dd8rpqr_.js → eiffel-2KGZNzx6.js} +0 -0
  495. /package/dist/{elm-GT2E866W.js → elm-D2s3K5wF.js} +0 -0
  496. /package/dist/{emotion-is-prop-valid.esm-DzSb5hsH.js → emotion-is-prop-valid.esm-DdVSF4FD.js} +0 -0
  497. /package/dist/{erlang-Cf0Bp5pY.js → erlang-0PMFOndk.js} +0 -0
  498. /package/dist/{esm-BaaaPNGl.js → esm-CuQHjs36.js} +0 -0
  499. /package/dist/{fcl-Ccj8Z5Xd.js → fcl-D9nccAWI.js} +0 -0
  500. /package/dist/{forth-wd_XzGTg.js → forth-DG89iUsu.js} +0 -0
  501. /package/dist/{fortran-DcwUTZFe.js → fortran-ytKsAVvu.js} +0 -0
  502. /package/dist/{gas-DeALIER3.js → gas-Cg2Fm0N2.js} +0 -0
  503. /package/dist/{gherkin-CKTqaJNX.js → gherkin-B87FEnZ-.js} +0 -0
  504. /package/dist/{groovy-Bwdp_d8D.js → groovy-Dcs08AWD.js} +0 -0
  505. /package/dist/{haskell-DCdCcPLK.js → haskell-cwkOuhx6.js} +0 -0
  506. /package/dist/{haxe-DAyktQWJ.js → haxe-DWEo4q10.js} +0 -0
  507. /package/dist/{http-_DVAYWoR.js → http-B8jdG64J.js} +0 -0
  508. /package/dist/{idl-CBuZiRYu.js → idl-WWQwDcRV.js} +0 -0
  509. /package/dist/{init-uv0kkh4g.js → init-DNBbYZd_.js} +0 -0
  510. /package/dist/{javascript-DzigE11c.js → javascript-BeR74dxD.js} +0 -0
  511. /package/dist/{julia-PwfB-0Cm.js → julia-UlvCUYGL.js} +0 -0
  512. /package/dist/{katex-C_XRmjAP.js → katex-Bld7b-fk.js} +0 -0
  513. /package/dist/{livescript-BJLz1EbT.js → livescript-GPmFcmYV.js} +0 -0
  514. /package/dist/{lua-ZC-XC2jf.js → lua-DYoT_0zM.js} +0 -0
  515. /package/dist/{main-Tj_-QTyF.js → main-B1Jo_8pC.js} +0 -0
  516. /package/dist/{math-DFcdCCU8.js → math-CBNc2Ib0.js} +0 -0
  517. /package/dist/{mathematica-DCYMx6qB.js → mathematica-DSFIQlbG.js} +0 -0
  518. /package/dist/{mbox-OxMK_9XI.js → mbox-ej8lFMdL.js} +0 -0
  519. /package/dist/{micromark-factory-space-DF2w36zS.js → micromark-factory-space-CwHmg6iz.js} +0 -0
  520. /package/dist/{mirc-nJVyhA0H.js → mirc-CAdIdvHQ.js} +0 -0
  521. /package/dist/{mllike-DRO89bsU.js → mllike-CjTB1lHF.js} +0 -0
  522. /package/dist/{modelica-Don3E6ZD.js → modelica-BB68FYMa.js} +0 -0
  523. /package/dist/{mscgen-DJfqD3bN.js → mscgen-BkbzgGGI.js} +0 -0
  524. /package/dist/{mumps-SjGTvDYL.js → mumps-Cu-28E9F.js} +0 -0
  525. /package/dist/{nginx-DasThI7R.js → nginx-C1ofKPst.js} +0 -0
  526. /package/dist/{node-sql-parser-B8nBD36q.js → node-sql-parser-DLl_zNw0.js} +0 -0
  527. /package/dist/{ntriples-CNBKRl3I.js → ntriples-D9cQiZxZ.js} +0 -0
  528. /package/dist/{octave-DdeVHNlx.js → octave-BvtAnPX0.js} +0 -0
  529. /package/dist/{once-DPuqGUeo.js → once-B60G2fuJ.js} +0 -0
  530. /package/dist/{oz-CcKSoNvN.js → oz-COaVHk2E.js} +0 -0
  531. /package/dist/{pascal-6leftwNj.js → pascal-BFpqVD2x.js} +0 -0
  532. /package/dist/{path-BGaWgPKg.js → path-DwWbhZFI.js} +0 -0
  533. /package/dist/{perl-BhJIwWzN.js → perl-DaiORxHP.js} +0 -0
  534. /package/dist/{pig-r-xDHqRf.js → pig-DFzRhmsF.js} +0 -0
  535. /package/dist/{powershell-D-BELeNi.js → powershell-BG2LQNKN.js} +0 -0
  536. /package/dist/{properties-CnuDhbll.js → properties-CqJJR5QY.js} +0 -0
  537. /package/dist/{protobuf-CO8RBhvX.js → protobuf-WwDYV1yY.js} +0 -0
  538. /package/dist/{puppet-NmXHjLy8.js → puppet-QNY3w_uN.js} +0 -0
  539. /package/dist/{python-DAQXi720.js → python-4QrQ3Ugi.js} +0 -0
  540. /package/dist/{q-DlikXfV0.js → q-DhwXuxE2.js} +0 -0
  541. /package/dist/{r-CuohilwT.js → r-Df-nkR25.js} +0 -0
  542. /package/dist/{range-C-rmrM1O.js → range-BOiA8qqU.js} +0 -0
  543. /package/dist/{rpm-0Pjwp0Pb.js → rpm-Cokue07s.js} +0 -0
  544. /package/dist/{ruby-Dq8NJTDG.js → ruby-DrYcL3qF.js} +0 -0
  545. /package/dist/{sas-CuwonyVP.js → sas-CoiPirA5.js} +0 -0
  546. /package/dist/{scheme-CYU-RRIf.js → scheme-CwFLjzHv.js} +0 -0
  547. /package/dist/{semaphore-CNDGTzkX.js → semaphore-C8rmHdhj.js} +0 -0
  548. /package/dist/{shell-COPmX2qE.js → shell-BFV-R24I.js} +0 -0
  549. /package/dist/{sieve-B_3zyLne.js → sieve-CxwXF5T9.js} +0 -0
  550. /package/dist/{simple-mode-DSBniks8.js → simple-mode-DTaJtKPt.js} +0 -0
  551. /package/dist/{smalltalk-DRft7iPv.js → smalltalk-QivVOCtX.js} +0 -0
  552. /package/dist/{solr-RZ9uTl59.js → solr-BLvysN-c.js} +0 -0
  553. /package/dist/{sparql-CN6qj55H.js → sparql-nKsFk8j7.js} +0 -0
  554. /package/dist/{spreadsheet-BNNUNXA2.js → spreadsheet-BWc8C2FT.js} +0 -0
  555. /package/dist/{sql-B4x8IkwU.js → sql-CWfUjlV1.js} +0 -0
  556. /package/dist/{stex-BIsgBmK4.js → stex-DtMAhV4-.js} +0 -0
  557. /package/dist/{stylus-Bn_ZjOQ3.js → stylus-BLKQAycn.js} +0 -0
  558. /package/dist/{swift-BLUJhMbz.js → swift-CJoKqiKj.js} +0 -0
  559. /package/dist/{tcl-C86fxecl.js → tcl-YTeYFNUc.js} +0 -0
  560. /package/dist/{textile-DmHh2rsK.js → textile-C6rKQqMQ.js} +0 -0
  561. /package/dist/{tiddlywiki-DI0mF2WJ.js → tiddlywiki-ZXwTHGNT.js} +0 -0
  562. /package/dist/{tiki-2HU6XLLn.js → tiki-C628O_u4.js} +0 -0
  563. /package/dist/{timer-YZl28NYN.js → timer-BpI_FKSA.js} +0 -0
  564. /package/dist/{toml-GWANRNAD.js → toml-DxlPGbRy.js} +0 -0
  565. /package/dist/{treemap-D-ka1hvx.js → treemap-DY3NBr79.js} +0 -0
  566. /package/dist/{troff-BHTsomIy.js → troff-DFCfH7Ku.js} +0 -0
  567. /package/dist/{ttcn-DQuhn5Mn.js → ttcn-DAW-ERVP.js} +0 -0
  568. /package/dist/{ttcn-cfg-HjFYtdB-.js → ttcn-cfg-CpJ8b7EN.js} +0 -0
  569. /package/dist/{turtle-nCay33Nv.js → turtle-BneV2f8L.js} +0 -0
  570. /package/dist/{vb-BG-XlqqJ.js → vb-D973Vxxh.js} +0 -0
  571. /package/dist/{vbscript-B6vyW0-D.js → vbscript-Dckaq3YO.js} +0 -0
  572. /package/dist/{velocity-CWegueqO.js → velocity-DKty-GUC.js} +0 -0
  573. /package/dist/{verilog-CzSQm4cG.js → verilog-aNaK_biA.js} +0 -0
  574. /package/dist/{vhdl-DqnNVL7r.js → vhdl-CQuehnQy.js} +0 -0
  575. /package/dist/{webidl-DXEUpDWH.js → webidl-Bhg8vaMr.js} +0 -0
  576. /package/dist/{xquery-Ba_NB5bD.js → xquery-D2q16GaM.js} +0 -0
  577. /package/dist/{yacas-HKQU6hyk.js → yacas-DHGOHnNa.js} +0 -0
  578. /package/dist/{z80-CXkHXLdj.js → z80-BPhTmO22.js} +0 -0
@@ -1,1321 +0,0 @@
1
- import { a as tickStep, n as precisionPrefix_default, r as precisionFixed_default, s as bisector, t as precisionRound_default } from "./precisionRound-Tqb4mg-H.js";
2
- import { i as formatSpecifier, n as formatPrefix, r as locale_default, t as format$1 } from "./defaultLocale-u-3osm0P.js";
3
- import { C as timeMinute, N as millisecond, S as utcHour, T as second, _ as utcSunday, a as formatLocale, b as utcDay, c as timeMonth, i as utcParse, l as utcMonth, n as timeParse, o as timeYear, p as timeSunday, r as utcFormat, s as utcYear, t as timeFormat, v as timeDay, w as utcMinute, x as timeHour } from "./defaultLocale-BoHTsDG6.js";
4
- function accessor(o, P, F) {
5
- return o.fields = P || [], o.fname = F, o;
6
- }
7
- function accessorName(o) {
8
- return o == null ? null : o.fname;
9
- }
10
- function accessorFields(o) {
11
- return o == null ? null : o.fields;
12
- }
13
- function getter(o) {
14
- return o.length === 1 ? get1(o[0]) : getN(o);
15
- }
16
- var get1 = (o) => function(P) {
17
- return P[o];
18
- }, getN = (o) => {
19
- let P = o.length;
20
- return function(F) {
21
- for (let I = 0; I < P; ++I) F = F[o[I]];
22
- return F;
23
- };
24
- };
25
- function error(o) {
26
- throw Error(o);
27
- }
28
- function splitAccessPath(o) {
29
- let P = [], F = o.length, I = null, L = 0, R = "", z, B, V;
30
- o += "";
31
- function H() {
32
- P.push(R + o.substring(z, B)), R = "", z = B + 1;
33
- }
34
- for (z = B = 0; B < F; ++B) if (V = o[B], V === "\\") R += o.substring(z, B++), z = B;
35
- else if (V === I) H(), I = null, L = -1;
36
- else if (I) continue;
37
- else z === L && V === '"' || z === L && V === "'" ? (z = B + 1, I = V) : V === "." && !L ? B > z ? H() : z = B + 1 : V === "[" ? (B > z && H(), L = z = B + 1) : V === "]" && (L || error("Access path missing open bracket: " + o), L > 0 && H(), L = 0, z = B + 1);
38
- return L && error("Access path missing closing bracket: " + o), I && error("Access path missing closing quote: " + o), B > z && (B++, H()), P;
39
- }
40
- function field(o, P, F) {
41
- let I = splitAccessPath(o);
42
- return o = I.length === 1 ? I[0] : o, accessor((F && F.get || getter)(I), [o], P || o);
43
- }
44
- var id = field("id"), identity = accessor((o) => o, [], "identity"), zero = accessor(() => 0, [], "zero"), one = accessor(() => 1, [], "one"), truthy = accessor(() => true, [], "true"), falsy = accessor(() => false, [], "false"), DisallowedObjectProperties = /* @__PURE__ */ new Set([...Object.getOwnPropertyNames(Object.prototype).filter((o) => typeof Object.prototype[o] == "function"), "__proto__"]);
45
- function log$1(o, P, F) {
46
- let I = [P].concat([].slice.call(F));
47
- console[o].apply(console, I);
48
- }
49
- var None = 0, Error$1 = 1, Warn = 2, Info = 3, Debug = 4;
50
- function logger(o, P, F = log$1) {
51
- let I = o || 0;
52
- return {
53
- level(o2) {
54
- return arguments.length ? (I = +o2, this) : I;
55
- },
56
- error() {
57
- return I >= 1 && F(P || "error", "ERROR", arguments), this;
58
- },
59
- warn() {
60
- return I >= 2 && F(P || "warn", "WARN", arguments), this;
61
- },
62
- info() {
63
- return I >= 3 && F(P || "log", "INFO", arguments), this;
64
- },
65
- debug() {
66
- return I >= 4 && F(P || "log", "DEBUG", arguments), this;
67
- }
68
- };
69
- }
70
- var isArray = Array.isArray;
71
- function isObject(o) {
72
- return o === Object(o);
73
- }
74
- var isLegalKey = (o) => o !== "__proto__";
75
- function mergeConfig(...o) {
76
- return o.reduce((o2, P) => {
77
- for (let F in P) if (F === "signals") o2.signals = mergeNamed(o2.signals, P.signals);
78
- else {
79
- let I = F === "legend" ? { layout: 1 } : F === "style" ? true : null;
80
- writeConfig(o2, F, P[F], I);
81
- }
82
- return o2;
83
- }, {});
84
- }
85
- function writeConfig(o, P, F, I) {
86
- if (!isLegalKey(P)) return;
87
- let L, R;
88
- if (isObject(F) && !isArray(F)) for (L in R = isObject(o[P]) ? o[P] : o[P] = {}, F) I && (I === true || I[L]) ? writeConfig(R, L, F[L]) : isLegalKey(L) && (R[L] = F[L]);
89
- else o[P] = F;
90
- }
91
- function mergeNamed(o, P) {
92
- if (o == null) return P;
93
- let F = {}, I = [];
94
- function L(o2) {
95
- F[o2.name] || (F[o2.name] = 1, I.push(o2));
96
- }
97
- return P.forEach(L), o.forEach(L), I;
98
- }
99
- function peek(o) {
100
- return o[o.length - 1];
101
- }
102
- function toNumber(o) {
103
- return o == null || o === "" ? null : +o;
104
- }
105
- var exp = (o) => (P) => o * Math.exp(P), log = (o) => (P) => Math.log(o * P), symlog = (o) => (P) => Math.sign(P) * Math.log1p(Math.abs(P / o)), symexp = (o) => (P) => Math.sign(P) * Math.expm1(Math.abs(P)) * o, pow = (o) => (P) => P < 0 ? -((-P) ** +o) : P ** +o;
106
- function pan(o, P, F, I) {
107
- let L = F(o[0]), R = F(peek(o)), z = (R - L) * P;
108
- return [I(L - z), I(R - z)];
109
- }
110
- function panLinear(o, P) {
111
- return pan(o, P, toNumber, identity);
112
- }
113
- function panLog(o, P) {
114
- var F = Math.sign(o[0]);
115
- return pan(o, P, log(F), exp(F));
116
- }
117
- function panPow(o, P, F) {
118
- return pan(o, P, pow(F), pow(1 / F));
119
- }
120
- function panSymlog(o, P, F) {
121
- return pan(o, P, symlog(F), symexp(F));
122
- }
123
- function zoom(o, P, F, I, L) {
124
- let R = I(o[0]), z = I(peek(o)), B = P == null ? (R + z) / 2 : I(P);
125
- return [L(B + (R - B) * F), L(B + (z - B) * F)];
126
- }
127
- function zoomLinear(o, P, F) {
128
- return zoom(o, P, F, toNumber, identity);
129
- }
130
- function zoomLog(o, P, F) {
131
- let I = Math.sign(o[0]);
132
- return zoom(o, P, F, log(I), exp(I));
133
- }
134
- function zoomPow(o, P, F, I) {
135
- return zoom(o, P, F, pow(I), pow(1 / I));
136
- }
137
- function zoomSymlog(o, P, F, I) {
138
- return zoom(o, P, F, symlog(I), symexp(I));
139
- }
140
- function quarter(o) {
141
- return 1 + ~~(new Date(o).getMonth() / 3);
142
- }
143
- function utcquarter(o) {
144
- return 1 + ~~(new Date(o).getUTCMonth() / 3);
145
- }
146
- function array(o) {
147
- return o == null ? [] : isArray(o) ? o : [o];
148
- }
149
- function clampRange(o, P, F) {
150
- let I = o[0], L = o[1], R;
151
- return L < I && (R = L, L = I, I = R), R = L - I, R >= F - P ? [P, F] : [I = Math.min(Math.max(I, P), F - R), I + R];
152
- }
153
- function isFunction(o) {
154
- return typeof o == "function";
155
- }
156
- var DESCENDING = "descending";
157
- function compare(o, P, F) {
158
- F || (F = {}), P = array(P) || [];
159
- let I = [], L = [], R = {}, z = F.comparator || comparator;
160
- return array(o).forEach((o2, z2) => {
161
- o2 != null && (I.push(P[z2] === DESCENDING ? -1 : 1), L.push(o2 = isFunction(o2) ? o2 : field(o2, null, F)), (accessorFields(o2) || []).forEach((o3) => R[o3] = 1));
162
- }), L.length === 0 ? null : accessor(z(L, I), Object.keys(R));
163
- }
164
- var ascending = (o, P) => (o < P || o == null) && P != null ? -1 : (o > P || P == null) && o != null ? 1 : (P = P instanceof Date ? +P : P, o = o instanceof Date ? +o : o) !== o && P === P ? -1 : P !== P && o === o ? 1 : 0, comparator = (o, P) => o.length === 1 ? compare1(o[0], P[0]) : compareN(o, P, o.length), compare1 = (o, P) => function(F, I) {
165
- return ascending(o(F), o(I)) * P;
166
- }, compareN = (o, P, F) => (P.push(0), function(I, L) {
167
- let R, z = 0, B = -1;
168
- for (; z === 0 && ++B < F; ) R = o[B], z = ascending(R(I), R(L));
169
- return z * P[B];
170
- });
171
- function constant(o) {
172
- return isFunction(o) ? o : () => o;
173
- }
174
- function debounce(o, P) {
175
- let F;
176
- return (I) => {
177
- F && clearTimeout(F), F = setTimeout(() => (P(I), F = null), o);
178
- };
179
- }
180
- function extend(o) {
181
- for (let P, F, I = 1, L = arguments.length; I < L; ++I) for (F in P = arguments[I], P) o[F] = P[F];
182
- return o;
183
- }
184
- function extent(o, P) {
185
- let F = 0, I, L, R, z;
186
- if (o && (I = o.length)) if (P == null) {
187
- for (L = o[F]; F < I && (L == null || L !== L); L = o[++F]) ;
188
- for (R = z = L; F < I; ++F) L = o[F], L != null && (L < R && (R = L), L > z && (z = L));
189
- } else {
190
- for (L = P(o[F]); F < I && (L == null || L !== L); L = P(o[++F])) ;
191
- for (R = z = L; F < I; ++F) L = P(o[F]), L != null && (L < R && (R = L), L > z && (z = L));
192
- }
193
- return [R, z];
194
- }
195
- function extentIndex(o, P) {
196
- let F = o.length, I = -1, L, R, z, B, V;
197
- if (P == null) {
198
- for (; ++I < F; ) if (R = o[I], R != null && R >= R) {
199
- L = z = R;
200
- break;
201
- }
202
- if (I === F) return [-1, -1];
203
- for (B = V = I; ++I < F; ) R = o[I], R != null && (L > R && (L = R, B = I), z < R && (z = R, V = I));
204
- } else {
205
- for (; ++I < F; ) if (R = P(o[I], I, o), R != null && R >= R) {
206
- L = z = R;
207
- break;
208
- }
209
- if (I === F) return [-1, -1];
210
- for (B = V = I; ++I < F; ) R = P(o[I], I, o), R != null && (L > R && (L = R, B = I), z < R && (z = R, V = I));
211
- }
212
- return [B, V];
213
- }
214
- function has(o, P) {
215
- return Object.hasOwn(o, P);
216
- }
217
- var NULL = {};
218
- function fastmap(o) {
219
- let P = {}, F;
220
- function I(o2) {
221
- return has(P, o2) && P[o2] !== NULL;
222
- }
223
- let L = {
224
- size: 0,
225
- empty: 0,
226
- object: P,
227
- has: I,
228
- get(o2) {
229
- return I(o2) ? P[o2] : void 0;
230
- },
231
- set(o2, F2) {
232
- return I(o2) || (++L.size, P[o2] === NULL && --L.empty), P[o2] = F2, this;
233
- },
234
- delete(o2) {
235
- return I(o2) && (--L.size, ++L.empty, P[o2] = NULL), this;
236
- },
237
- clear() {
238
- L.size = L.empty = 0, L.object = P = {};
239
- },
240
- test(o2) {
241
- return arguments.length ? (F = o2, L) : F;
242
- },
243
- clean() {
244
- let o2 = {}, I2 = 0;
245
- for (let L2 in P) {
246
- let R = P[L2];
247
- R !== NULL && (!F || !F(R)) && (o2[L2] = R, ++I2);
248
- }
249
- L.size = I2, L.empty = 0, L.object = P = o2;
250
- }
251
- };
252
- return o && Object.keys(o).forEach((P2) => {
253
- L.set(P2, o[P2]);
254
- }), L;
255
- }
256
- function flush(o, P, F, I, L, R) {
257
- if (!F && F !== 0) return R;
258
- let z = +F, B = o[0], V = peek(o), H;
259
- V < B && (H = B, B = V, V = H), H = Math.abs(P - B);
260
- let U = Math.abs(V - P);
261
- return H < U && H <= z ? I : U <= z ? L : R;
262
- }
263
- function inherits(o, P, F) {
264
- let I = o.prototype = Object.create(P.prototype);
265
- return Object.defineProperty(I, "constructor", {
266
- value: o,
267
- writable: true,
268
- enumerable: true,
269
- configurable: true
270
- }), extend(I, F);
271
- }
272
- function inrange(o, P, F, I) {
273
- let L = P[0], R = P[P.length - 1], z;
274
- return L > R && (z = L, L = R, R = z), F = F === void 0 || F, I = I === void 0 || I, (F ? L <= o : L < o) && (I ? o <= R : o < R);
275
- }
276
- function isBoolean$1(o) {
277
- return typeof o == "boolean";
278
- }
279
- function isDate$1(o) {
280
- return Object.prototype.toString.call(o) === "[object Date]";
281
- }
282
- function isIterable(o) {
283
- return o && isFunction(o[Symbol.iterator]);
284
- }
285
- function isNumber$1(o) {
286
- return typeof o == "number";
287
- }
288
- function isRegExp(o) {
289
- return Object.prototype.toString.call(o) === "[object RegExp]";
290
- }
291
- function isString(o) {
292
- return typeof o == "string";
293
- }
294
- function key(o, P, F) {
295
- o && (o = P ? array(o).map((o2) => o2.replace(/\\(.)/g, "$1")) : array(o));
296
- let I = o && o.length, L = F && F.get || getter, R = (o2) => L(P ? [o2] : splitAccessPath(o2)), z;
297
- if (!I) z = function() {
298
- return "";
299
- };
300
- else if (I === 1) {
301
- let P2 = R(o[0]);
302
- z = function(o2) {
303
- return "" + P2(o2);
304
- };
305
- } else {
306
- let P2 = o.map(R);
307
- z = function(o2) {
308
- let F2 = "" + P2[0](o2), L2 = 0;
309
- for (; ++L2 < I; ) F2 += "|" + P2[L2](o2);
310
- return F2;
311
- };
312
- }
313
- return accessor(z, o, "key");
314
- }
315
- function lerp(o, P) {
316
- let F = o[0], I = peek(o), L = +P;
317
- return L ? L === 1 ? I : F + L * (I - F) : F;
318
- }
319
- var DEFAULT_MAX_SIZE = 1e4;
320
- function lruCache(o) {
321
- o = +o || DEFAULT_MAX_SIZE;
322
- let P, F, I, L = () => {
323
- P = {}, F = {}, I = 0;
324
- }, R = (L2, R2) => (++I > o && (F = P, P = {}, I = 1), P[L2] = R2);
325
- return L(), {
326
- clear: L,
327
- has: (o2) => has(P, o2) || has(F, o2),
328
- get: (o2) => has(P, o2) ? P[o2] : has(F, o2) ? R(o2, F[o2]) : void 0,
329
- set: (o2, F2) => has(P, o2) ? P[o2] = F2 : R(o2, F2)
330
- };
331
- }
332
- function merge(o, P, F, I) {
333
- let L = P.length, R = F.length;
334
- if (!R) return P;
335
- if (!L) return F;
336
- let z = I || new P.constructor(L + R), B = 0, V = 0, H = 0;
337
- for (; B < L && V < R; ++H) z[H] = o(P[B], F[V]) > 0 ? F[V++] : P[B++];
338
- for (; B < L; ++B, ++H) z[H] = P[B];
339
- for (; V < R; ++V, ++H) z[H] = F[V];
340
- return z;
341
- }
342
- function repeat(o, P) {
343
- let F = "";
344
- for (; --P >= 0; ) F += o;
345
- return F;
346
- }
347
- function pad$1(o, P, F, I) {
348
- let L = F || " ", R = o + "", z = P - R.length;
349
- return z <= 0 ? R : I === "left" ? repeat(L, z) + R : I === "center" ? repeat(L, ~~(z / 2)) + R + repeat(L, Math.ceil(z / 2)) : R + repeat(L, z);
350
- }
351
- function span(o) {
352
- return o && peek(o) - o[0] || 0;
353
- }
354
- function $(o) {
355
- return isArray(o) ? `[${o.map((o2) => o2 === null ? "null" : $(o2))}]` : isObject(o) || isString(o) ? JSON.stringify(o).replaceAll("\u2028", "\\u2028").replaceAll("\u2029", "\\u2029") : o;
356
- }
357
- function toBoolean(o) {
358
- return o == null || o === "" ? null : !o || o === "false" || o === "0" ? false : !!o;
359
- }
360
- var defaultParser = (o) => isNumber$1(o) || isDate$1(o) ? o : Date.parse(o);
361
- function toDate(o, P) {
362
- return P || (P = defaultParser), o == null || o === "" ? null : P(o);
363
- }
364
- function toString(o) {
365
- return o == null || o === "" ? null : o + "";
366
- }
367
- function toSet(o) {
368
- let P = {}, F = o.length;
369
- for (let I = 0; I < F; ++I) P[o[I]] = true;
370
- return P;
371
- }
372
- function truncate(o, P, F, I) {
373
- let L = I ?? "\u2026", R = o + "", z = R.length, B = Math.max(0, P - L.length);
374
- return z <= P ? R : F === "left" ? L + R.slice(z - B) : F === "center" ? R.slice(0, Math.ceil(B / 2)) + L + R.slice(z - ~~(B / 2)) : R.slice(0, B) + L;
375
- }
376
- function visitArray(o, P, F) {
377
- if (o) if (P) {
378
- let I = o.length;
379
- for (let L = 0; L < I; ++L) {
380
- let I2 = P(o[L]);
381
- I2 && F(I2, L, o);
382
- }
383
- } else o.forEach(F);
384
- }
385
- var EOL = {}, EOF = {}, QUOTE = 34, NEWLINE = 10, RETURN = 13;
386
- function objectConverter(o) {
387
- return Function("d", "return {" + o.map(function(o2, P) {
388
- return JSON.stringify(o2) + ": d[" + P + '] || ""';
389
- }).join(",") + "}");
390
- }
391
- function customConverter(o, P) {
392
- var F = objectConverter(o);
393
- return function(I, L) {
394
- return P(F(I), L, o);
395
- };
396
- }
397
- function inferColumns(o) {
398
- var P = /* @__PURE__ */ Object.create(null), F = [];
399
- return o.forEach(function(o2) {
400
- for (var I in o2) I in P || F.push(P[I] = I);
401
- }), F;
402
- }
403
- function pad(o, P) {
404
- var F = o + "", I = F.length;
405
- return I < P ? Array(P - I + 1).join(0) + F : F;
406
- }
407
- function formatYear(o) {
408
- return o < 0 ? "-" + pad(-o, 6) : o > 9999 ? "+" + pad(o, 6) : pad(o, 4);
409
- }
410
- function formatDate(o) {
411
- var P = o.getUTCHours(), F = o.getUTCMinutes(), I = o.getUTCSeconds(), L = o.getUTCMilliseconds();
412
- return isNaN(o) ? "Invalid Date" : formatYear(o.getUTCFullYear(), 4) + "-" + pad(o.getUTCMonth() + 1, 2) + "-" + pad(o.getUTCDate(), 2) + (L ? "T" + pad(P, 2) + ":" + pad(F, 2) + ":" + pad(I, 2) + "." + pad(L, 3) + "Z" : I ? "T" + pad(P, 2) + ":" + pad(F, 2) + ":" + pad(I, 2) + "Z" : F || P ? "T" + pad(P, 2) + ":" + pad(F, 2) + "Z" : "");
413
- }
414
- function dsv_default(o) {
415
- var P = /* @__PURE__ */ RegExp('["' + o + "\n\r]"), F = o.charCodeAt(0);
416
- function I(o2, P2) {
417
- var F2, I2, R2 = L(o2, function(o3, L2) {
418
- if (F2) return F2(o3, L2 - 1);
419
- I2 = o3, F2 = P2 ? customConverter(o3, P2) : objectConverter(o3);
420
- });
421
- return R2.columns = I2 || [], R2;
422
- }
423
- function L(o2, P2) {
424
- var I2 = [], L2 = o2.length, R2 = 0, z2 = 0, B2, V2 = L2 <= 0, H2 = false;
425
- o2.charCodeAt(L2 - 1) === NEWLINE && --L2, o2.charCodeAt(L2 - 1) === RETURN && --L2;
426
- function U2() {
427
- if (V2) return EOF;
428
- if (H2) return H2 = false, EOL;
429
- var P3, I3 = R2, z3;
430
- if (o2.charCodeAt(I3) === QUOTE) {
431
- for (; R2++ < L2 && o2.charCodeAt(R2) !== QUOTE || o2.charCodeAt(++R2) === QUOTE; ) ;
432
- return (P3 = R2) >= L2 ? V2 = true : (z3 = o2.charCodeAt(R2++)) === NEWLINE ? H2 = true : z3 === RETURN && (H2 = true, o2.charCodeAt(R2) === NEWLINE && ++R2), o2.slice(I3 + 1, P3 - 1).replace(/""/g, '"');
433
- }
434
- for (; R2 < L2; ) {
435
- if ((z3 = o2.charCodeAt(P3 = R2++)) === NEWLINE) H2 = true;
436
- else if (z3 === RETURN) H2 = true, o2.charCodeAt(R2) === NEWLINE && ++R2;
437
- else if (z3 !== F) continue;
438
- return o2.slice(I3, P3);
439
- }
440
- return V2 = true, o2.slice(I3, L2);
441
- }
442
- for (; (B2 = U2()) !== EOF; ) {
443
- for (var W = []; B2 !== EOL && B2 !== EOF; ) W.push(B2), B2 = U2();
444
- P2 && (W = P2(W, z2++)) == null || I2.push(W);
445
- }
446
- return I2;
447
- }
448
- function R(P2, F2) {
449
- return P2.map(function(P3) {
450
- return F2.map(function(o2) {
451
- return U(P3[o2]);
452
- }).join(o);
453
- });
454
- }
455
- function z(P2, F2) {
456
- return F2 ?? (F2 = inferColumns(P2)), [F2.map(U).join(o)].concat(R(P2, F2)).join("\n");
457
- }
458
- function B(o2, P2) {
459
- return P2 ?? (P2 = inferColumns(o2)), R(o2, P2).join("\n");
460
- }
461
- function V(o2) {
462
- return o2.map(H).join("\n");
463
- }
464
- function H(P2) {
465
- return P2.map(U).join(o);
466
- }
467
- function U(o2) {
468
- return o2 == null ? "" : o2 instanceof Date ? formatDate(o2) : P.test(o2 += "") ? '"' + o2.replace(/"/g, '""') + '"' : o2;
469
- }
470
- return {
471
- parse: I,
472
- parseRows: L,
473
- format: z,
474
- formatBody: B,
475
- formatRows: V,
476
- formatRow: H,
477
- formatValue: U
478
- };
479
- }
480
- function identity_default(o) {
481
- return o;
482
- }
483
- function transform_default(o) {
484
- if (o == null) return identity_default;
485
- var P, F, I = o.scale[0], L = o.scale[1], R = o.translate[0], z = o.translate[1];
486
- return function(o2, B) {
487
- B || (P = F = 0);
488
- var V = 2, H = o2.length, U = Array(H);
489
- for (U[0] = (P += o2[0]) * I + R, U[1] = (F += o2[1]) * L + z; V < H; ) U[V] = o2[V], ++V;
490
- return U;
491
- };
492
- }
493
- function reverse_default(o, P) {
494
- for (var F, I = o.length, L = I - P; L < --I; ) F = o[L], o[L++] = o[I], o[I] = F;
495
- }
496
- function feature_default(o, P) {
497
- return typeof P == "string" && (P = o.objects[P]), P.type === "GeometryCollection" ? {
498
- type: "FeatureCollection",
499
- features: P.geometries.map(function(P2) {
500
- return feature(o, P2);
501
- })
502
- } : feature(o, P);
503
- }
504
- function feature(o, P) {
505
- var F = P.id, I = P.bbox, L = P.properties == null ? {} : P.properties, R = object(o, P);
506
- return F == null && I == null ? {
507
- type: "Feature",
508
- properties: L,
509
- geometry: R
510
- } : I == null ? {
511
- type: "Feature",
512
- id: F,
513
- properties: L,
514
- geometry: R
515
- } : {
516
- type: "Feature",
517
- id: F,
518
- bbox: I,
519
- properties: L,
520
- geometry: R
521
- };
522
- }
523
- function object(o, P) {
524
- var F = transform_default(o.transform), I = o.arcs;
525
- function L(o2, P2) {
526
- P2.length && P2.pop();
527
- for (var L2 = I[o2 < 0 ? ~o2 : o2], R2 = 0, z2 = L2.length; R2 < z2; ++R2) P2.push(F(L2[R2], R2));
528
- o2 < 0 && reverse_default(P2, z2);
529
- }
530
- function R(o2) {
531
- return F(o2);
532
- }
533
- function z(o2) {
534
- for (var P2 = [], F2 = 0, I2 = o2.length; F2 < I2; ++F2) L(o2[F2], P2);
535
- return P2.length < 2 && P2.push(P2[0]), P2;
536
- }
537
- function B(o2) {
538
- for (var P2 = z(o2); P2.length < 4; ) P2.push(P2[0]);
539
- return P2;
540
- }
541
- function V(o2) {
542
- return o2.map(B);
543
- }
544
- function H(o2) {
545
- var P2 = o2.type, F2;
546
- switch (P2) {
547
- case "GeometryCollection":
548
- return {
549
- type: P2,
550
- geometries: o2.geometries.map(H)
551
- };
552
- case "Point":
553
- F2 = R(o2.coordinates);
554
- break;
555
- case "MultiPoint":
556
- F2 = o2.coordinates.map(R);
557
- break;
558
- case "LineString":
559
- F2 = z(o2.arcs);
560
- break;
561
- case "MultiLineString":
562
- F2 = o2.arcs.map(z);
563
- break;
564
- case "Polygon":
565
- F2 = V(o2.arcs);
566
- break;
567
- case "MultiPolygon":
568
- F2 = o2.arcs.map(V);
569
- break;
570
- default:
571
- return null;
572
- }
573
- return {
574
- type: P2,
575
- coordinates: F2
576
- };
577
- }
578
- return H(P);
579
- }
580
- function stitch_default(o, P) {
581
- var F = {}, I = {}, L = {}, R = [], z = -1;
582
- P.forEach(function(F2, I2) {
583
- var L2 = o.arcs[F2 < 0 ? ~F2 : F2], R2;
584
- L2.length < 3 && !L2[1][0] && !L2[1][1] && (R2 = P[++z], P[z] = F2, P[I2] = R2);
585
- }), P.forEach(function(o2) {
586
- var P2 = B(o2), F2 = P2[0], R2 = P2[1], z2, V2;
587
- if (z2 = L[F2]) if (delete L[z2.end], z2.push(o2), z2.end = R2, V2 = I[R2]) {
588
- delete I[V2.start];
589
- var H = V2 === z2 ? z2 : z2.concat(V2);
590
- I[H.start = z2.start] = L[H.end = V2.end] = H;
591
- } else I[z2.start] = L[z2.end] = z2;
592
- else if (z2 = I[R2]) if (delete I[z2.start], z2.unshift(o2), z2.start = F2, V2 = L[F2]) {
593
- delete L[V2.end];
594
- var U = V2 === z2 ? z2 : V2.concat(z2);
595
- I[U.start = V2.start] = L[U.end = z2.end] = U;
596
- } else I[z2.start] = L[z2.end] = z2;
597
- else z2 = [o2], I[z2.start = F2] = L[z2.end = R2] = z2;
598
- });
599
- function B(P2) {
600
- var F2 = o.arcs[P2 < 0 ? ~P2 : P2], I2 = F2[0], L2;
601
- return o.transform ? (L2 = [0, 0], F2.forEach(function(o2) {
602
- L2[0] += o2[0], L2[1] += o2[1];
603
- })) : L2 = F2[F2.length - 1], P2 < 0 ? [L2, I2] : [I2, L2];
604
- }
605
- function V(o2, P2) {
606
- for (var I2 in o2) {
607
- var L2 = o2[I2];
608
- delete P2[L2.start], delete L2.start, delete L2.end, L2.forEach(function(o3) {
609
- F[o3 < 0 ? ~o3 : o3] = 1;
610
- }), R.push(L2);
611
- }
612
- }
613
- return V(L, I), V(I, L), P.forEach(function(o2) {
614
- F[o2 < 0 ? ~o2 : o2] || R.push([o2]);
615
- }), R;
616
- }
617
- function mesh_default(o) {
618
- return object(o, meshArcs.apply(this, arguments));
619
- }
620
- function meshArcs(o, P, F) {
621
- var I, L, R;
622
- if (arguments.length > 1) I = extractArcs(o, P, F);
623
- else for (L = 0, I = Array(R = o.arcs.length); L < R; ++L) I[L] = L;
624
- return {
625
- type: "MultiLineString",
626
- arcs: stitch_default(o, I)
627
- };
628
- }
629
- function extractArcs(o, P, F) {
630
- var I = [], L = [], R;
631
- function z(o2) {
632
- var P2 = o2 < 0 ? ~o2 : o2;
633
- (L[P2] || (L[P2] = [])).push({
634
- i: o2,
635
- g: R
636
- });
637
- }
638
- function B(o2) {
639
- o2.forEach(z);
640
- }
641
- function V(o2) {
642
- o2.forEach(B);
643
- }
644
- function H(o2) {
645
- o2.forEach(V);
646
- }
647
- function U(o2) {
648
- switch (R = o2, o2.type) {
649
- case "GeometryCollection":
650
- o2.geometries.forEach(U);
651
- break;
652
- case "LineString":
653
- B(o2.arcs);
654
- break;
655
- case "MultiLineString":
656
- case "Polygon":
657
- V(o2.arcs);
658
- break;
659
- case "MultiPolygon":
660
- H(o2.arcs);
661
- break;
662
- }
663
- }
664
- return U(P), L.forEach(F == null ? function(o2) {
665
- I.push(o2[0].i);
666
- } : function(o2) {
667
- F(o2[0].g, o2[o2.length - 1].g) && I.push(o2[0].i);
668
- }), I;
669
- }
670
- var YEAR = "year", QUARTER = "quarter", MONTH = "month", WEEK = "week", DATE = "date", DAY = "day", DAYOFYEAR = "dayofyear", HOURS = "hours", MINUTES = "minutes", SECONDS = "seconds", MILLISECONDS = "milliseconds", TIME_UNITS = [
671
- YEAR,
672
- QUARTER,
673
- MONTH,
674
- WEEK,
675
- DATE,
676
- "day",
677
- DAYOFYEAR,
678
- HOURS,
679
- MINUTES,
680
- SECONDS,
681
- MILLISECONDS
682
- ], UNITS = TIME_UNITS.reduce((o, P, F) => (o[P] = 1 + F, o), {});
683
- function timeUnits(o) {
684
- let P = array(o).slice(), F = {};
685
- return P.length || error("Missing time unit."), P.forEach((o2) => {
686
- has(UNITS, o2) ? F[o2] = 1 : error(`Invalid time unit: ${o2}.`);
687
- }), (F.week || F.day ? 1 : 0) + (F.quarter || F.month || F.date ? 1 : 0) + (F.dayofyear ? 1 : 0) > 1 && error(`Incompatible time units: ${o}`), P.sort((o2, P2) => UNITS[o2] - UNITS[P2]), P;
688
- }
689
- var defaultSpecifiers = {
690
- [YEAR]: "%Y ",
691
- [QUARTER]: "Q%q ",
692
- [MONTH]: "%b ",
693
- [DATE]: "%d ",
694
- [WEEK]: "W%U ",
695
- day: "%a ",
696
- [DAYOFYEAR]: "%j ",
697
- [HOURS]: "%H:00",
698
- [MINUTES]: "00:%M",
699
- [SECONDS]: ":%S",
700
- [MILLISECONDS]: ".%L",
701
- [`${YEAR}-${MONTH}`]: "%Y-%m ",
702
- [`${YEAR}-${MONTH}-${DATE}`]: "%Y-%m-%d ",
703
- [`${HOURS}-${MINUTES}`]: "%H:%M"
704
- };
705
- function timeUnitSpecifier(o, P) {
706
- let F = extend({}, defaultSpecifiers, P), I = timeUnits(o), L = I.length, R = "", z = 0, B, V;
707
- for (z = 0; z < L; ) for (B = I.length; B > z; --B) if (V = I.slice(z, B).join("-"), F[V] != null) {
708
- R += F[V], z = B;
709
- break;
710
- }
711
- return R.trim();
712
- }
713
- var t0 = /* @__PURE__ */ new Date();
714
- function localYear(o) {
715
- return t0.setFullYear(o), t0.setMonth(0), t0.setDate(1), t0.setHours(0, 0, 0, 0), t0;
716
- }
717
- function dayofyear(o) {
718
- return localDayOfYear(new Date(o));
719
- }
720
- function week(o) {
721
- return localWeekNum(new Date(o));
722
- }
723
- function localDayOfYear(o) {
724
- return timeDay.count(localYear(o.getFullYear()) - 1, o);
725
- }
726
- function localWeekNum(o) {
727
- return timeSunday.count(localYear(o.getFullYear()) - 1, o);
728
- }
729
- function localFirst(o) {
730
- return localYear(o).getDay();
731
- }
732
- function localDate(o, P, F, I, L, R, z) {
733
- if (0 <= o && o < 100) {
734
- let B = new Date(-1, P, F, I, L, R, z);
735
- return B.setFullYear(o), B;
736
- }
737
- return new Date(o, P, F, I, L, R, z);
738
- }
739
- function utcdayofyear(o) {
740
- return utcDayOfYear(new Date(o));
741
- }
742
- function utcweek(o) {
743
- return utcWeekNum(new Date(o));
744
- }
745
- function utcDayOfYear(o) {
746
- let P = Date.UTC(o.getUTCFullYear(), 0, 1);
747
- return utcDay.count(P - 1, o);
748
- }
749
- function utcWeekNum(o) {
750
- let P = Date.UTC(o.getUTCFullYear(), 0, 1);
751
- return utcSunday.count(P - 1, o);
752
- }
753
- function utcFirst(o) {
754
- return t0.setTime(Date.UTC(o, 0, 1)), t0.getUTCDay();
755
- }
756
- function utcDate(o, P, F, I, L, R, z) {
757
- if (0 <= o && o < 100) {
758
- let o2 = new Date(Date.UTC(-1, P, F, I, L, R, z));
759
- return o2.setUTCFullYear(F.y), o2;
760
- }
761
- return new Date(Date.UTC(o, P, F, I, L, R, z));
762
- }
763
- function floor(o, P, F, I, L) {
764
- let R = P || 1, z = peek(o), B = (o2, P2, L2) => (L2 || (L2 = o2), getUnit(F[L2], I[L2], o2 === z && R, P2)), V = /* @__PURE__ */ new Date(), H = toSet(o), U = H.year ? B(YEAR) : constant(2012), W = H.month ? B(MONTH) : H.quarter ? B(QUARTER) : zero, G = H.week && H.day ? B("day", 1, WEEK + "day") : H.week ? B(WEEK, 1) : H.day ? B("day", 1) : H.date ? B(DATE, 1) : H.dayofyear ? B(DAYOFYEAR, 1) : one, K = H.hours ? B(HOURS) : zero, q = H.minutes ? B(MINUTES) : zero, J = H.seconds ? B(SECONDS) : zero, Y = H.milliseconds ? B(MILLISECONDS) : zero;
765
- return function(o2) {
766
- V.setTime(+o2);
767
- let P2 = U(V);
768
- return L(P2, W(V), G(V, P2), K(V), q(V), J(V), Y(V));
769
- };
770
- }
771
- function getUnit(o, P, F, I) {
772
- let L = F <= 1 ? o : I ? (P2, L2) => I + F * Math.floor((o(P2, L2) - I) / F) : (P2, I2) => F * Math.floor(o(P2, I2) / F);
773
- return P ? (o2, F2) => P(L(o2, F2), F2) : L;
774
- }
775
- function weekday(o, P, F) {
776
- return P + o * 7 - (F + 6) % 7;
777
- }
778
- var localGet = {
779
- [YEAR]: (o) => o.getFullYear(),
780
- [QUARTER]: (o) => Math.floor(o.getMonth() / 3),
781
- [MONTH]: (o) => o.getMonth(),
782
- [DATE]: (o) => o.getDate(),
783
- [HOURS]: (o) => o.getHours(),
784
- [MINUTES]: (o) => o.getMinutes(),
785
- [SECONDS]: (o) => o.getSeconds(),
786
- [MILLISECONDS]: (o) => o.getMilliseconds(),
787
- [DAYOFYEAR]: (o) => localDayOfYear(o),
788
- [WEEK]: (o) => localWeekNum(o),
789
- [WEEK + "day"]: (o, P) => weekday(localWeekNum(o), o.getDay(), localFirst(P)),
790
- day: (o, P) => weekday(1, o.getDay(), localFirst(P))
791
- }, localInv = {
792
- [QUARTER]: (o) => 3 * o,
793
- [WEEK]: (o, P) => weekday(o, 0, localFirst(P))
794
- };
795
- function timeFloor(o, P) {
796
- return floor(o, P || 1, localGet, localInv, localDate);
797
- }
798
- var utcGet = {
799
- [YEAR]: (o) => o.getUTCFullYear(),
800
- [QUARTER]: (o) => Math.floor(o.getUTCMonth() / 3),
801
- [MONTH]: (o) => o.getUTCMonth(),
802
- [DATE]: (o) => o.getUTCDate(),
803
- [HOURS]: (o) => o.getUTCHours(),
804
- [MINUTES]: (o) => o.getUTCMinutes(),
805
- [SECONDS]: (o) => o.getUTCSeconds(),
806
- [MILLISECONDS]: (o) => o.getUTCMilliseconds(),
807
- [DAYOFYEAR]: (o) => utcDayOfYear(o),
808
- [WEEK]: (o) => utcWeekNum(o),
809
- day: (o, P) => weekday(1, o.getUTCDay(), utcFirst(P)),
810
- [WEEK + "day"]: (o, P) => weekday(utcWeekNum(o), o.getUTCDay(), utcFirst(P))
811
- }, utcInv = {
812
- [QUARTER]: (o) => 3 * o,
813
- [WEEK]: (o, P) => weekday(o, 0, utcFirst(P))
814
- };
815
- function utcFloor(o, P) {
816
- return floor(o, P || 1, utcGet, utcInv, utcDate);
817
- }
818
- var timeIntervals = {
819
- [YEAR]: timeYear,
820
- [QUARTER]: timeMonth.every(3),
821
- [MONTH]: timeMonth,
822
- [WEEK]: timeSunday,
823
- [DATE]: timeDay,
824
- day: timeDay,
825
- [DAYOFYEAR]: timeDay,
826
- [HOURS]: timeHour,
827
- [MINUTES]: timeMinute,
828
- [SECONDS]: second,
829
- [MILLISECONDS]: millisecond
830
- }, utcIntervals = {
831
- [YEAR]: utcYear,
832
- [QUARTER]: utcMonth.every(3),
833
- [MONTH]: utcMonth,
834
- [WEEK]: utcSunday,
835
- [DATE]: utcDay,
836
- day: utcDay,
837
- [DAYOFYEAR]: utcDay,
838
- [HOURS]: utcHour,
839
- [MINUTES]: utcMinute,
840
- [SECONDS]: second,
841
- [MILLISECONDS]: millisecond
842
- };
843
- function timeInterval(o) {
844
- return timeIntervals[o];
845
- }
846
- function utcInterval(o) {
847
- return utcIntervals[o];
848
- }
849
- function offset(o, P, F) {
850
- return o ? o.offset(P, F) : void 0;
851
- }
852
- function timeOffset(o, P, F) {
853
- return offset(timeInterval(o), P, F);
854
- }
855
- function utcOffset(o, P, F) {
856
- return offset(utcInterval(o), P, F);
857
- }
858
- function sequence(o, P, F, I) {
859
- return o ? o.range(P, F, I) : void 0;
860
- }
861
- function timeSequence(o, P, F, I) {
862
- return sequence(timeInterval(o), P, F, I);
863
- }
864
- function utcSequence(o, P, F, I) {
865
- return sequence(utcInterval(o), P, F, I);
866
- }
867
- var durationSecond = 1e3, durationMinute = durationSecond * 60, durationHour = durationMinute * 60, durationDay = durationHour * 24, durationWeek = durationDay * 7, durationMonth = durationDay * 30, durationYear = durationDay * 365, Milli = [
868
- YEAR,
869
- MONTH,
870
- DATE,
871
- HOURS,
872
- MINUTES,
873
- SECONDS,
874
- MILLISECONDS
875
- ], Seconds = Milli.slice(0, -1), Minutes = Seconds.slice(0, -1), Hours = Minutes.slice(0, -1), Day = Hours.slice(0, -1), Week = [YEAR, WEEK], Month = [YEAR, MONTH], Year = [YEAR], intervals = [
876
- [
877
- Seconds,
878
- 1,
879
- durationSecond
880
- ],
881
- [
882
- Seconds,
883
- 5,
884
- 5 * durationSecond
885
- ],
886
- [
887
- Seconds,
888
- 15,
889
- 15 * durationSecond
890
- ],
891
- [
892
- Seconds,
893
- 30,
894
- 30 * durationSecond
895
- ],
896
- [
897
- Minutes,
898
- 1,
899
- durationMinute
900
- ],
901
- [
902
- Minutes,
903
- 5,
904
- 5 * durationMinute
905
- ],
906
- [
907
- Minutes,
908
- 15,
909
- 15 * durationMinute
910
- ],
911
- [
912
- Minutes,
913
- 30,
914
- 30 * durationMinute
915
- ],
916
- [
917
- Hours,
918
- 1,
919
- durationHour
920
- ],
921
- [
922
- Hours,
923
- 3,
924
- 3 * durationHour
925
- ],
926
- [
927
- Hours,
928
- 6,
929
- 6 * durationHour
930
- ],
931
- [
932
- Hours,
933
- 12,
934
- 12 * durationHour
935
- ],
936
- [
937
- Day,
938
- 1,
939
- durationDay
940
- ],
941
- [
942
- Week,
943
- 1,
944
- durationWeek
945
- ],
946
- [
947
- Month,
948
- 1,
949
- durationMonth
950
- ],
951
- [
952
- Month,
953
- 3,
954
- 3 * durationMonth
955
- ],
956
- [
957
- Year,
958
- 1,
959
- durationYear
960
- ]
961
- ];
962
- function bin(P) {
963
- let F = P.extent, L = P.maxbins || 40, R = Math.abs(span(F)) / L, z = bisector((o) => o[2]).right(intervals, R), B, V;
964
- return z === intervals.length ? (B = Year, V = tickStep(F[0] / durationYear, F[1] / durationYear, L)) : z ? (z = intervals[R / intervals[z - 1][2] < intervals[z][2] / R ? z - 1 : z], B = z[0], V = z[1]) : (B = Milli, V = Math.max(tickStep(F[0], F[1], L), 1)), {
965
- units: B,
966
- step: V
967
- };
968
- }
969
- function memoize(o) {
970
- let P = {};
971
- return (F) => P[F] || (P[F] = o(F));
972
- }
973
- function trimZeroes(o, P) {
974
- return (F) => {
975
- let I = o(F), L = I.indexOf(P);
976
- if (L < 0) return I;
977
- let R = rightmostDigit(I, L), z = R < I.length ? I.slice(R) : "";
978
- for (; --R > L; ) if (I[R] !== "0") {
979
- ++R;
980
- break;
981
- }
982
- return I.slice(0, R) + z;
983
- };
984
- }
985
- function rightmostDigit(o, P) {
986
- let F = o.lastIndexOf("e"), I;
987
- if (F > 0) return F;
988
- for (F = o.length; --F > P; ) if (I = o.charCodeAt(F), I >= 48 && I <= 57) return F + 1;
989
- }
990
- function numberLocale(I) {
991
- let z = memoize(I.format), B = I.formatPrefix;
992
- return {
993
- format: z,
994
- formatPrefix: B,
995
- formatFloat(o) {
996
- let P = formatSpecifier(o || ",");
997
- if (P.precision == null) {
998
- switch (P.precision = 12, P.type) {
999
- case "%":
1000
- P.precision -= 2;
1001
- break;
1002
- case "e":
1003
- --P.precision;
1004
- break;
1005
- }
1006
- return trimZeroes(z(P), z(".1f")(1)[1]);
1007
- } else return z(P);
1008
- },
1009
- formatSpan(I2, V, H, U) {
1010
- U = formatSpecifier(U ?? ",f");
1011
- let W = tickStep(I2, V, H), G = Math.max(Math.abs(I2), Math.abs(V)), K;
1012
- if (U.precision == null) switch (U.type) {
1013
- case "s":
1014
- return isNaN(K = precisionPrefix_default(W, G)) || (U.precision = K), B(U, G);
1015
- case "":
1016
- case "e":
1017
- case "g":
1018
- case "p":
1019
- case "r":
1020
- isNaN(K = precisionRound_default(W, G)) || (U.precision = K - (U.type === "e"));
1021
- break;
1022
- case "f":
1023
- case "%":
1024
- isNaN(K = precisionFixed_default(W)) || (U.precision = K - (U.type === "%") * 2);
1025
- break;
1026
- }
1027
- return z(U);
1028
- }
1029
- };
1030
- }
1031
- var defaultNumberLocale;
1032
- resetNumberFormatDefaultLocale();
1033
- function resetNumberFormatDefaultLocale() {
1034
- return defaultNumberLocale = numberLocale({
1035
- format: format$1,
1036
- formatPrefix
1037
- });
1038
- }
1039
- function numberFormatLocale(o) {
1040
- return numberLocale(locale_default(o));
1041
- }
1042
- function numberFormatDefaultLocale(o) {
1043
- return arguments.length ? defaultNumberLocale = numberFormatLocale(o) : defaultNumberLocale;
1044
- }
1045
- function timeMultiFormat(o, P, F) {
1046
- F || (F = {}), isObject(F) || error(`Invalid time multi-format specifier: ${F}`);
1047
- let I = P(SECONDS), L = P(MINUTES), R = P(HOURS), z = P(DATE), B = P(WEEK), V = P(MONTH), H = P(QUARTER), U = P(YEAR), W = o(F.milliseconds || ".%L"), G = o(F.seconds || ":%S"), K = o(F.minutes || "%I:%M"), q = o(F.hours || "%I %p"), J = o(F.date || F.day || "%a %d"), Y = o(F.week || "%b %d"), X = o(F.month || "%B"), Z = o(F.quarter || "%B"), Q = o(F.year || "%Y");
1048
- return (o2) => (I(o2) < o2 ? W : L(o2) < o2 ? G : R(o2) < o2 ? K : z(o2) < o2 ? q : V(o2) < o2 ? B(o2) < o2 ? J : Y : U(o2) < o2 ? H(o2) < o2 ? X : Z : Q)(o2);
1049
- }
1050
- function timeLocale(o) {
1051
- let P = memoize(o.format), F = memoize(o.utcFormat);
1052
- return {
1053
- timeFormat: (o2) => isString(o2) ? P(o2) : timeMultiFormat(P, timeInterval, o2),
1054
- utcFormat: (o2) => isString(o2) ? F(o2) : timeMultiFormat(F, utcInterval, o2),
1055
- timeParse: memoize(o.parse),
1056
- utcParse: memoize(o.utcParse)
1057
- };
1058
- }
1059
- var defaultTimeLocale;
1060
- resetTimeFormatDefaultLocale();
1061
- function resetTimeFormatDefaultLocale() {
1062
- return defaultTimeLocale = timeLocale({
1063
- format: timeFormat,
1064
- parse: timeParse,
1065
- utcFormat,
1066
- utcParse
1067
- });
1068
- }
1069
- function timeFormatLocale(o) {
1070
- return timeLocale(formatLocale(o));
1071
- }
1072
- function timeFormatDefaultLocale(o) {
1073
- return arguments.length ? defaultTimeLocale = timeFormatLocale(o) : defaultTimeLocale;
1074
- }
1075
- var createLocale = (o, P) => extend({}, o, P);
1076
- function locale(o, P) {
1077
- return createLocale(o ? numberFormatLocale(o) : numberFormatDefaultLocale(), P ? timeFormatLocale(P) : timeFormatDefaultLocale());
1078
- }
1079
- function defaultLocale(o, P) {
1080
- let F = arguments.length;
1081
- return F && F !== 2 && error("defaultLocale expects either zero or two arguments."), F ? createLocale(numberFormatDefaultLocale(o), timeFormatDefaultLocale(P)) : createLocale(numberFormatDefaultLocale(), timeFormatDefaultLocale());
1082
- }
1083
- function resetDefaultLocale() {
1084
- return resetNumberFormatDefaultLocale(), resetTimeFormatDefaultLocale(), defaultLocale();
1085
- }
1086
- var protocol_re = /^(data:|([A-Za-z]+:)?\/\/)/, allowed_re = /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp|file|data):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i, whitespace_re = /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g, fileProtocol = "file://";
1087
- function loaderFactory(o) {
1088
- return (o2) => ({
1089
- options: o2 || {},
1090
- sanitize,
1091
- load,
1092
- fileAccess: false,
1093
- file: fileLoader(),
1094
- http: httpLoader
1095
- });
1096
- }
1097
- async function load(o, P) {
1098
- let F = await this.sanitize(o, P), I = F.href;
1099
- return F.localFile ? this.file(I) : this.http(I, P == null ? void 0 : P.http);
1100
- }
1101
- async function sanitize(o, P) {
1102
- P = extend({}, this.options, P);
1103
- let F = this.fileAccess, I = { href: null }, L, R, z, B = allowed_re.test(o.replace(whitespace_re, ""));
1104
- (o == null || typeof o != "string" || !B) && error("Sanitize failure, invalid URI: " + $(o));
1105
- let V = protocol_re.test(o);
1106
- return (z = P.baseURL) && !V && (!o.startsWith("/") && !z.endsWith("/") && (o = "/" + o), o = z + o), R = (L = o.startsWith(fileProtocol)) || P.mode === "file" || P.mode !== "http" && !V && F, L ? o = o.slice(7) : o.startsWith("//") && (P.defaultProtocol === "file" ? (o = o.slice(2), R = true) : o = (P.defaultProtocol || "http") + ":" + o), Object.defineProperty(I, "localFile", { value: !!R }), I.href = o, P.target && (I.target = P.target + ""), P.rel && (I.rel = P.rel + ""), P.context === "image" && P.crossOrigin && (I.crossOrigin = P.crossOrigin + ""), I;
1107
- }
1108
- function fileLoader(o) {
1109
- return fileReject;
1110
- }
1111
- async function fileReject() {
1112
- error("No file system access.");
1113
- }
1114
- async function httpLoader(o, P) {
1115
- let F = extend({}, this.options.http, P), I = P && P.response, L = await fetch(o, F);
1116
- return L.ok ? isFunction(L[I]) ? L[I]() : L.text() : error(L.status + "" + L.statusText);
1117
- }
1118
- var isValid = (o) => o != null && o === o, isBoolean = (o) => o === "true" || o === "false" || o === true || o === false, isDate = (o) => !Number.isNaN(Date.parse(o)), isNumber = (o) => !Number.isNaN(+o) && !(o instanceof Date), isInteger = (o) => isNumber(o) && Number.isInteger(+o), typeParsers = {
1119
- boolean: toBoolean,
1120
- integer: toNumber,
1121
- number: toNumber,
1122
- date: toDate,
1123
- string: toString,
1124
- unknown: identity
1125
- }, typeTests = [
1126
- isBoolean,
1127
- isInteger,
1128
- isNumber,
1129
- isDate
1130
- ], typeList = [
1131
- "boolean",
1132
- "integer",
1133
- "number",
1134
- "date"
1135
- ];
1136
- function inferType(o, P) {
1137
- if (!o || !o.length) return "unknown";
1138
- let F = o.length, I = typeTests.length, L = typeTests.map((o2, P2) => P2 + 1);
1139
- for (let R = 0, z = 0, B, V; R < F; ++R) for (V = P ? o[R][P] : o[R], B = 0; B < I; ++B) if (L[B] && isValid(V) && !typeTests[B](V) && (L[B] = 0, ++z, z === typeTests.length)) return "string";
1140
- return typeList[L.reduce((o2, P2) => o2 === 0 ? P2 : o2, 0) - 1];
1141
- }
1142
- function inferTypes(o, P) {
1143
- return P.reduce((P2, F) => (P2[F] = inferType(o, F), P2), {});
1144
- }
1145
- function delimitedFormat(o) {
1146
- let P = function(P2, F) {
1147
- let I = { delimiter: o };
1148
- return dsv(P2, F ? extend(F, I) : I);
1149
- };
1150
- return P.responseType = "text", P;
1151
- }
1152
- function dsv(o, P) {
1153
- return P.header && (o = P.header.map($).join(P.delimiter) + "\n" + o), dsv_default(P.delimiter).parse(o + "");
1154
- }
1155
- dsv.responseType = "text";
1156
- function isBuffer(o) {
1157
- return typeof Buffer == "function" && isFunction(Buffer.isBuffer) ? Buffer.isBuffer(o) : false;
1158
- }
1159
- function json(o, P) {
1160
- let F = P && P.property ? field(P.property) : identity;
1161
- return isObject(o) && !isBuffer(o) ? parseJSON(F(o), P) : F(JSON.parse(o));
1162
- }
1163
- json.responseType = "json";
1164
- function parseJSON(o, P) {
1165
- return !isArray(o) && isIterable(o) && (o = [...o]), P && P.copy ? JSON.parse(JSON.stringify(o)) : o;
1166
- }
1167
- var filters = {
1168
- interior: (o, P) => o !== P,
1169
- exterior: (o, P) => o === P
1170
- };
1171
- function topojson(o, P) {
1172
- let F, I, L, R;
1173
- return o = json(o, P), P && P.feature ? (F = feature_default, L = P.feature) : P && P.mesh ? (F = mesh_default, L = P.mesh, R = filters[P.filter]) : error("Missing TopoJSON feature or mesh parameter."), I = (I = o.objects[L]) ? F(o, I, R) : error("Invalid TopoJSON object: " + L), I && I.features || [I];
1174
- }
1175
- topojson.responseType = "json";
1176
- var format = {
1177
- dsv,
1178
- csv: delimitedFormat(","),
1179
- tsv: delimitedFormat(" "),
1180
- json,
1181
- topojson
1182
- };
1183
- function formats(o, P) {
1184
- return arguments.length > 1 ? (format[o] = P, this) : has(format, o) ? format[o] : null;
1185
- }
1186
- function responseType(o) {
1187
- let P = formats(o);
1188
- return P && P.responseType || "text";
1189
- }
1190
- function read(o, P, F, I) {
1191
- P || (P = {});
1192
- let L = formats(P.type || "json");
1193
- return L || error("Unknown data format type: " + P.type), o = L(o, P), P.parse && parse(o, P.parse, F, I), has(o, "columns") && delete o.columns, o;
1194
- }
1195
- function parse(o, P, F, I) {
1196
- if (!o.length) return;
1197
- let L = timeFormatDefaultLocale();
1198
- F || (F = L.timeParse), I || (I = L.utcParse);
1199
- let R = o.columns || Object.keys(o[0]), z, B, V, H, U, W;
1200
- P === "auto" && (P = inferTypes(o, R)), R = Object.keys(P);
1201
- let G = R.map((o2) => {
1202
- let L2 = P[o2], R2, z2;
1203
- if (L2 && (L2.startsWith("date:") || L2.startsWith("utc:"))) return R2 = L2.split(/:(.+)?/, 2), z2 = R2[1], (z2[0] === "'" && z2[z2.length - 1] === "'" || z2[0] === '"' && z2[z2.length - 1] === '"') && (z2 = z2.slice(1, -1)), (R2[0] === "utc" ? I : F)(z2);
1204
- if (!typeParsers[L2]) throw Error("Illegal format pattern: " + o2 + ":" + L2);
1205
- return typeParsers[L2];
1206
- });
1207
- for (V = 0, U = o.length, W = R.length; V < U; ++V) for (z = o[V], H = 0; H < W; ++H) B = R[H], z[B] = G[H](z[B]);
1208
- }
1209
- var loader = loaderFactory();
1210
- export {
1211
- clampRange as $,
1212
- zoomLinear as $t,
1213
- timeOffset as A,
1214
- mergeConfig as At,
1215
- week as B,
1216
- span as Bt,
1217
- TIME_UNITS as C,
1218
- isRegExp as Ct,
1219
- dayofyear as D,
1220
- logger as Dt,
1221
- bin as E,
1222
- lerp as Et,
1223
- utcInterval as F,
1224
- panPow as Ft,
1225
- Info as G,
1226
- toSet as Gt,
1227
- Debug as H,
1228
- toBoolean as Ht,
1229
- utcOffset as I,
1230
- panSymlog as It,
1231
- accessor as J,
1232
- truthy as Jt,
1233
- None as K,
1234
- toString as Kt,
1235
- utcSequence as L,
1236
- peek as Lt,
1237
- timeUnitSpecifier as M,
1238
- pad$1 as Mt,
1239
- timeUnits as N,
1240
- panLinear as Nt,
1241
- timeFloor as O,
1242
- lruCache as Ot,
1243
- utcFloor as P,
1244
- panLog as Pt,
1245
- ascending as Q,
1246
- zero as Qt,
1247
- utcdayofyear as R,
1248
- quarter as Rt,
1249
- SECONDS as S,
1250
- isObject as St,
1251
- YEAR as T,
1252
- key as Tt,
1253
- DisallowedObjectProperties as U,
1254
- toDate as Ut,
1255
- $ as V,
1256
- splitAccessPath as Vt,
1257
- Error$1 as W,
1258
- toNumber as Wt,
1259
- accessorName as X,
1260
- visitArray as Xt,
1261
- accessorFields as Y,
1262
- utcquarter as Yt,
1263
- array as Z,
1264
- writeConfig as Zt,
1265
- HOURS as _,
1266
- isBoolean$1 as _t,
1267
- loader as a,
1268
- extent as at,
1269
- MONTH as b,
1270
- isIterable as bt,
1271
- typeParsers as c,
1272
- fastmap as ct,
1273
- numberFormatDefaultLocale as d,
1274
- has as dt,
1275
- zoomLog as en,
1276
- compare as et,
1277
- resetDefaultLocale as f,
1278
- id as ft,
1279
- DAYOFYEAR as g,
1280
- isArray as gt,
1281
- DAY as h,
1282
- inrange as ht,
1283
- inferTypes as i,
1284
- extend as it,
1285
- timeSequence as j,
1286
- one as jt,
1287
- timeInterval as k,
1288
- merge as kt,
1289
- defaultLocale as l,
1290
- field as lt,
1291
- DATE as m,
1292
- inherits as mt,
1293
- formats as n,
1294
- zoomSymlog as nn,
1295
- debounce as nt,
1296
- read as o,
1297
- extentIndex as ot,
1298
- timeFormatDefaultLocale as p,
1299
- identity as pt,
1300
- Warn as q,
1301
- truncate as qt,
1302
- inferType as r,
1303
- error as rt,
1304
- responseType as s,
1305
- falsy as st,
1306
- format as t,
1307
- zoomPow as tn,
1308
- constant as tt,
1309
- locale as u,
1310
- flush as ut,
1311
- MILLISECONDS as v,
1312
- isDate$1 as vt,
1313
- WEEK as w,
1314
- isString as wt,
1315
- QUARTER as x,
1316
- isNumber$1 as xt,
1317
- MINUTES as y,
1318
- isFunction as yt,
1319
- utcweek as z,
1320
- repeat as zt
1321
- };