@marimo-team/islands 0.23.17-dev4 → 0.23.17-dev40

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 (185) hide show
  1. package/dist/{ConnectedDataExplorerComponent-f9vLjQiF.js → ConnectedDataExplorerComponent-BBZRR1-C.js} +16 -16
  2. package/dist/{ErrorBoundary-DhLqwSWA.js → ErrorBoundary-CptUP1_t.js} +3 -3
  3. package/dist/{ImageComparisonComponent-C3y7L3eJ.js → ImageComparisonComponent-fdY0LUuf.js} +38 -27
  4. package/dist/{any-language-editor-DifE-fl7.js → any-language-editor-BnIS9Mvg.js} +21 -21
  5. package/dist/assets/__vite-browser-external-DUz7vvG0.js +1 -0
  6. package/dist/assets/{worker-CDEKsBgX.js → worker-Cl1KJG2_.js} +2 -2
  7. package/dist/{button-BSm8IXRU.js → button-8aS1QcHr.js} +4 -2
  8. package/dist/{capabilities-C6OQ5YBO.js → capabilities-D23lgbH_.js} +1 -1
  9. package/dist/chat-ui-DH9M4L-6.js +8620 -0
  10. package/dist/{check-DP7U0H0G.js → check-D-BaEjEh.js} +1 -1
  11. package/dist/{common-BcQ4kHDP.js → common-DSVkRiDF.js} +652 -652
  12. package/dist/{copy-DNq8q3zw.js → copy-BkA3t7rJ.js} +2 -2
  13. package/dist/{defaultLocale-BpsHxBd7.js → defaultLocale-BsfI21d_.js} +26 -26
  14. package/dist/{diagram-PSM6KHXK-D4ftnaua.js → diagram-PSM6KHXK-D3GsWNcQ.js} +1 -1
  15. package/dist/{dist-BpeiYpG2.js → dist-3F1XDSYc.js} +2 -2
  16. package/dist/{dist-BP39XM8u.js → dist-B-upo54Y.js} +1 -1
  17. package/dist/{dist-BdqCKQ1O.js → dist-B1W12VzQ.js} +2 -2
  18. package/dist/{dist-3NCqaWjt.js → dist-B6au1PTB.js} +2 -2
  19. package/dist/{dist-BCX980mU.js → dist-BDwn6WIk.js} +2 -2
  20. package/dist/dist-BDzVdDo2.js +8 -0
  21. package/dist/dist-BH2Tq1S1.js +5 -0
  22. package/dist/dist-BIhBrzqg.js +5 -0
  23. package/dist/dist-BLCsvXTG.js +6 -0
  24. package/dist/dist-BNVtuFdd.js +5 -0
  25. package/dist/{dist-BOMbzyb3.js → dist-BNeJ8P-4.js} +3 -3
  26. package/dist/{dist-LpLXa9Lb.js → dist-BT96P4oR.js} +2 -2
  27. package/dist/{dist-CFSb_Frm.js → dist-BUzxp0Xf.js} +1 -1
  28. package/dist/{dist-JGehap7K.js → dist-Ba1WFESi.js} +5 -5
  29. package/dist/{dist-CRmSjkLP.js → dist-BrKNRKC8.js} +2 -2
  30. package/dist/{dist-BIEt-mlF.js → dist-BvvQUFUK.js} +1 -1
  31. package/dist/{dist-pqIwD8VD.js → dist-BxR-g1ig.js} +2 -2
  32. package/dist/{dist-DviUBLUp.js → dist-CBraAJlT.js} +4 -4
  33. package/dist/{dist-BwhXBwMd.js → dist-CDBV8n0I.js} +1 -1
  34. package/dist/dist-CEJ6Lowi.js +5 -0
  35. package/dist/{dist-CSlJrrAw.js → dist-CWYsUX_O.js} +1 -1
  36. package/dist/dist-CYoa69kj.js +5 -0
  37. package/dist/{dist-DwqBJ014.js → dist-CdKRSqjo.js} +2 -2
  38. package/dist/{dist-De-GlSAs.js → dist-Cds3J-EE.js} +15 -9
  39. package/dist/dist-CnZyXFq3.js +8 -0
  40. package/dist/dist-D-4HaJKc.js +8 -0
  41. package/dist/{dist-C18MUWTj.js → dist-D8SX5Qdg.js} +2 -2
  42. package/dist/{dist-D3bdsa1d.js → dist-DFQ91Mx1.js} +4 -4
  43. package/dist/{dist-BPF0gTRZ.js → dist-DGQmYLkh.js} +1 -1
  44. package/dist/dist-DIGyvbg3.js +5 -0
  45. package/dist/dist-DIhaoCL4.js +5 -0
  46. package/dist/{dist-C2_4pjuS.js → dist-DK0pFEmc.js} +1 -1
  47. package/dist/{dist-BTdrwBWP.js → dist-DQj6A7SE.js} +3 -3
  48. package/dist/{dist-DIlxLFXG.js → dist-DarwE0ZO.js} +11 -11
  49. package/dist/{dist-DaXJPX8F.js → dist-Ddb0VFS3.js} +2 -2
  50. package/dist/dist-DgQleHmb.js +8 -0
  51. package/dist/{dist-DZwp8lro.js → dist-DgkJegw4.js} +3 -3
  52. package/dist/{dist-BO5HRiTf.js → dist-DjQRRttD.js} +2 -2
  53. package/dist/dist-JaoLzZmt.js +5 -0
  54. package/dist/{dist-B2jmQKKx.js → dist-PQDZaPEo.js} +2 -2
  55. package/dist/{dist-4lVIWUT3.js → dist-Slyx4vXr.js} +1 -1
  56. package/dist/{dist-DgjbnqTg.js → dist-dJeh9ef4.js} +2 -2
  57. package/dist/dist-pEX0t8ZV.js +6 -0
  58. package/dist/{dist-w_gWE5Wf.js → dist-v-kAJfMq.js} +1 -1
  59. package/dist/{error-banner-B_GQfxxD.js → error-banner-dmkbm21G.js} +2 -2
  60. package/dist/{esm-DzZVaNH4.js → esm-D8vjxCyn.js} +3 -3
  61. package/dist/{esm-DKOv6P2M.js → esm-DEQU-LUO.js} +22 -22
  62. package/dist/{extends-w2_S44bV.js → extends-DDOVg_b8.js} +5 -5
  63. package/dist/{formats-Dwq1THhr.js → formats-xc-Msa0v.js} +3 -3
  64. package/dist/{ganttDiagram-JELNMOA3-CXXCN7LN.js → ganttDiagram-JELNMOA3-D9ywbC5g.js} +3 -3
  65. package/dist/{glide-data-editor-B9K6-MJe.js → glide-data-editor-CyTNN635.js} +9 -9
  66. package/dist/{html-to-image-CZ1kLKkq.js → html-to-image-DrEMf75G.js} +2219 -2209
  67. package/dist/{input-C5K4VBvB.js → input-B4ddy8Jy.js} +6 -6
  68. package/dist/{label-DjoYwqmj.js → label-CzHncDvS.js} +2 -2
  69. package/dist/{linear-H_vsH9ao.js → linear-BOGUO8Cd.js} +2 -2
  70. package/dist/{loader-DX-IDS7n.js → loader-C7SfUdOD.js} +10 -10
  71. package/dist/main.js +729 -733
  72. package/dist/{mermaid-hv6IckVw.js → mermaid-CpL8y5pw.js} +9 -9
  73. package/dist/{precisionRound-CnHPY_5v.js → precisionRound-Bq50n-bG.js} +1 -1
  74. package/dist/{process-output-bVfbcx5_.js → process-output-B9IHQuus.js} +3 -3
  75. package/dist/{quadrantDiagram-AYHSOK5B-BqDB9tUC.js → quadrantDiagram-AYHSOK5B-DD4QBdSv.js} +2 -2
  76. package/dist/{react-vega-BazDALhI.js → react-vega-Cg17A6rO.js} +8017 -4777
  77. package/dist/{reveal-component-9QGZq7uF.js → reveal-component-CUzZw4ZH.js} +19 -19
  78. package/dist/{spec-CQKL_D3i.js → spec-uMKNvMRZ.js} +4 -4
  79. package/dist/{strings-DIy9NAmg.js → strings-BUDhKc0s.js} +299 -299
  80. package/dist/style.css +1 -1
  81. package/dist/{swiper-component-CEdAYjb7.js → swiper-component-dl1H9WIW.js} +2 -2
  82. package/dist/{time-Bb4A7I6a.js → time-CQnohwNM.js} +2 -2
  83. package/dist/{toDate-CqhBWjvO.js → toDate-BiyuFdnT.js} +3 -3
  84. package/dist/{tooltip-f-qR0iUx.js → tooltip-CkCWlUOf.js} +3 -3
  85. package/dist/{types-DicH9Oi0.js → types-uENjXsiC.js} +1 -1
  86. package/dist/{useAsyncData-CYOQb1EW.js → useAsyncData-DqJLysjC.js} +1 -1
  87. package/dist/{useDateFormatter-Bt2qr_XS.js → useDateFormatter-BeN3fHMH.js} +2 -2
  88. package/dist/{useDeepCompareMemoize-CSHQeQEI.js → useDeepCompareMemoize-CvlmHAmy.js} +1 -1
  89. package/dist/{useIframeCapabilities-kA09ykNq.js → useIframeCapabilities-pLC-ceDP.js} +1 -1
  90. package/dist/{useLifecycle-CMJGqBaY.js → useLifecycle-D4N02q82.js} +3 -3
  91. package/dist/{useTheme-DYfby65G.js → useTheme-Dur2p3iC.js} +4 -3
  92. package/dist/{vega-component-C7nO5zcf.js → vega-component-Cft458Sr.js} +13 -13
  93. package/dist/{vega-embed-container-DAQAMjiO.js → vega-embed-container-S9gRu4TZ.js} +3 -3
  94. package/dist/{vega-loader.browser-DmpxCJqx.js → vega-loader.browser-CmLRI3wk.js} +104 -111
  95. package/dist/{xychartDiagram-PRI3JC2R-BSkNxYNw.js → xychartDiagram-PRI3JC2R-D9DgEtKn.js} +2 -2
  96. package/dist/{zod-BUcyXSdR.js → zod-yTHHzJiv.js} +37 -38
  97. package/package.json +6 -6
  98. package/src/__mocks__/requests.ts +5 -0
  99. package/src/components/app-config/user-config-form.tsx +26 -0
  100. package/src/components/chat/__tests__/chat-abort.test.ts +51 -0
  101. package/src/components/chat/chat-abort.ts +44 -0
  102. package/src/components/chat/chat-display.tsx +17 -0
  103. package/src/components/chat/chat-panel.tsx +85 -37
  104. package/src/components/chat/chat-utils.ts +1 -1
  105. package/src/components/data-table/charts/__tests__/schemas.test.ts +35 -0
  106. package/src/components/data-table/charts/schemas.ts +5 -2
  107. package/src/components/databases/icons/huggingface.svg +8 -0
  108. package/src/components/datasets/__tests__/icons.test.ts +21 -0
  109. package/src/components/datasets/icons.tsx +10 -0
  110. package/src/components/datasources/__tests__/components.test.tsx +29 -0
  111. package/src/components/datasources/components.tsx +8 -3
  112. package/src/components/editor/actions/export-dialog/__tests__/export-dialog.test.tsx +35 -0
  113. package/src/components/editor/actions/export-dialog/__tests__/state.test.ts +61 -0
  114. package/src/components/editor/actions/export-dialog/export-command.ts +4 -9
  115. package/src/components/editor/actions/export-dialog/export-dialog.tsx +27 -23
  116. package/src/components/editor/actions/export-dialog/format-notice.tsx +28 -0
  117. package/src/components/editor/actions/export-dialog/state.ts +23 -5
  118. package/src/components/editor/actions/export-dialog/use-export-dialog.ts +7 -15
  119. package/src/components/editor/actions/useConfigActions.tsx +24 -0
  120. package/src/components/editor/ai/add-cell-with-ai.tsx +2 -2
  121. package/src/components/editor/ai/ai-completion-editor.tsx +2 -2
  122. package/src/components/editor/chrome/panels/outline/__tests__/useActiveOutline.test.ts +26 -0
  123. package/src/components/editor/code/__tests__/readonly-python-code.test.tsx +114 -2
  124. package/src/components/editor/connections/storage/__tests__/__snapshots__/as-code.test.ts.snap +14 -0
  125. package/src/components/editor/connections/storage/__tests__/as-code.test.ts +20 -0
  126. package/src/components/editor/connections/storage/add-storage-form.tsx +10 -0
  127. package/src/components/editor/connections/storage/as-code.ts +19 -1
  128. package/src/components/editor/connections/storage/schemas.ts +19 -0
  129. package/src/components/storage/__tests__/storage-snippets.test.ts +88 -0
  130. package/src/components/storage/components.tsx +2 -0
  131. package/src/components/storage/storage-snippets.ts +58 -0
  132. package/src/core/__tests__/mode.test.ts +85 -0
  133. package/src/core/ai/constants.ts +7 -0
  134. package/src/core/ai/staged-cells.ts +3 -0
  135. package/src/core/codemirror/__tests__/setup.test.ts +1 -1
  136. package/src/core/codemirror/cm.ts +2 -2
  137. package/src/core/codemirror/code-lens/__tests__/extension.test.ts +4 -5
  138. package/src/core/codemirror/code-lens/extension.ts +3 -3
  139. package/src/core/codemirror/find-replace/search-highlight.ts +8 -3
  140. package/src/core/codemirror/language/languages/sql/__tests__/renderers.test.tsx +44 -0
  141. package/src/core/codemirror/language/languages/sql/renderers.tsx +3 -3
  142. package/src/core/codemirror/theme/__tests__/light.test.ts +59 -123
  143. package/src/core/codemirror/theme/dark.ts +6 -5
  144. package/src/core/codemirror/theme/light.ts +6 -4
  145. package/src/core/config/__tests__/config-schema.test.ts +2 -0
  146. package/src/core/config/config-schema.ts +1 -0
  147. package/src/core/config/feature-flag.tsx +0 -2
  148. package/src/core/dom/outline.ts +25 -2
  149. package/src/core/hotkeys/hotkeys.ts +2 -0
  150. package/src/core/mode.ts +11 -9
  151. package/src/core/network/__tests__/api.test.ts +132 -17
  152. package/src/core/network/__tests__/export-filename.test.ts +43 -0
  153. package/src/core/network/__tests__/requests-lazy.test.ts +1 -0
  154. package/src/core/network/api.ts +47 -12
  155. package/src/core/network/export-filename.ts +37 -0
  156. package/src/core/network/markdown-export.ts +19 -0
  157. package/src/core/network/requests-network.ts +29 -5
  158. package/src/core/network/types.ts +3 -0
  159. package/src/core/storage/types.ts +1 -0
  160. package/src/css/app/codemirror.css +11 -7
  161. package/src/css/globals.css +8 -0
  162. package/src/plugins/impl/DataEditorPlugin.tsx +2 -9
  163. package/src/plugins/impl/__tests__/DataEditorPlugin.test.ts +18 -0
  164. package/src/plugins/impl/chat/chat-ui.tsx +51 -3
  165. package/src/plugins/impl/data-frames/__tests__/schema.test.ts +30 -0
  166. package/src/plugins/impl/data-frames/schema.ts +4 -1
  167. package/src/plugins/impl/image-comparison/ImageComparisonComponent.tsx +20 -1
  168. package/src/plugins/impl/image-comparison/__tests__/ImageComparisonComponent.test.tsx +58 -0
  169. package/src/stories/theme.stories.tsx +71 -1
  170. package/dist/assets/__vite-browser-external-DltVXDv7.js +0 -1
  171. package/dist/chat-ui-DsZJj75A.js +0 -8369
  172. package/dist/dist-5o9uz19x.js +0 -5
  173. package/dist/dist-BpDH0DEP.js +0 -5
  174. package/dist/dist-BpXhbQXO.js +0 -8
  175. package/dist/dist-ByadAk_L.js +0 -5
  176. package/dist/dist-CK0g7JvP.js +0 -8
  177. package/dist/dist-CfzCtiq2.js +0 -5
  178. package/dist/dist-D8JtVFrW.js +0 -8
  179. package/dist/dist-DK2Oocpu.js +0 -6
  180. package/dist/dist-DnSu977r.js +0 -5
  181. package/dist/dist-UmxJm6sW.js +0 -8
  182. package/dist/dist-aYSBQSyM.js +0 -5
  183. package/dist/dist-kkZ1Ztlh.js +0 -6
  184. package/dist/dist-ngPczwNi.js +0 -5
  185. package/dist/dist-wQRyxyTV.js +0 -5
@@ -1,8 +1,8 @@
1
1
  import { s as __toESM } from "./chunk-BNovOVIE.js";
2
- import { g as Logger } from "./button-BSm8IXRU.js";
2
+ import { g as Logger } from "./button-8aS1QcHr.js";
3
3
  import { t as require_react } from "./react-DA-nE2FX.js";
4
4
  import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
5
- import { u as createLucideIcon } from "./dist-DIlxLFXG.js";
5
+ import { u as createLucideIcon } from "./dist-DarwE0ZO.js";
6
6
  require_compiler_runtime(), require_react();
7
7
  var TOAST_LIMIT = 1, TOAST_REMOVE_DELAY = 1e4, count = 0;
8
8
  function genId() {
@@ -2,8 +2,8 @@ function formatDecimal_default(e) {
2
2
  return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
3
3
  }
4
4
  function formatDecimalParts(e, r) {
5
- if ((i = (e = r ? e.toExponential(r - 1) : e.toExponential()).indexOf("e")) < 0) return null;
6
- var i, a = e.slice(0, i);
5
+ if (!isFinite(e) || e === 0) return null;
6
+ var i = (e = r ? e.toExponential(r - 1) : e.toExponential()).indexOf("e"), a = e.slice(0, i);
7
7
  return [a.length > 1 ? a[0] + a.slice(2) : a, +e.slice(i + 1)];
8
8
  }
9
9
  function exponent_default(e) {
@@ -64,7 +64,7 @@ function formatTrim_default(e) {
64
64
  var prefixExponent;
65
65
  function formatPrefixAuto_default(e, i) {
66
66
  var a = formatDecimalParts(e, i);
67
- if (!a) return e + "";
67
+ if (!a) return prefixExponent = void 0, e.toPrecision(i);
68
68
  var o = a[0], s = a[1], c = s - (prefixExponent = Math.max(-8, Math.min(8, Math.floor(s / 3))) * 3) + 1, l = o.length;
69
69
  return c === l ? o : c > l ? o + Array(c - l + 1).join("0") : c > 0 ? o.slice(0, c) + "." + o.slice(c) : "0." + Array(1 - c).join("0") + formatDecimalParts(e, Math.max(0, i + c - 1))[0];
70
70
  }
@@ -113,51 +113,51 @@ var map = Array.prototype.map, prefixes = [
113
113
  ];
114
114
  function locale_default(e) {
115
115
  var r = e.grouping === void 0 || e.thousands === void 0 ? identity_default : formatGroup_default(map.call(e.grouping, Number), e.thousands + ""), s = e.currency === void 0 ? "" : e.currency[0] + "", l = e.currency === void 0 ? "" : e.currency[1] + "", d = e.decimal === void 0 ? "." : e.decimal + "", f = e.numerals === void 0 ? identity_default : formatNumerals_default(map.call(e.numerals, String)), g = e.percent === void 0 ? "%" : e.percent + "", _ = e.minus === void 0 ? "\u2212" : e.minus + "", v = e.nan === void 0 ? "NaN" : e.nan + "";
116
- function y(e2) {
116
+ function y(e2, i) {
117
117
  e2 = formatSpecifier(e2);
118
- var i = e2.fill, a = e2.align, o = e2.sign, m = e2.symbol, h = e2.zero, y2 = e2.width, b2 = e2.comma, x = e2.precision, S = e2.trim, C = e2.type;
119
- C === "n" ? (b2 = true, C = "g") : formatTypes_default[C] || (x === void 0 && (x = 12), S = true, C = "g"), (h || i === "0" && a === "=") && (h = true, i = "0", a = "=");
120
- var w = m === "$" ? s : m === "#" && /[boxX]/.test(C) ? "0" + C.toLowerCase() : "", T = m === "$" ? l : /[%p]/.test(C) ? g : "", E = formatTypes_default[C], D = /[defgprs%]/.test(C);
121
- x = x === void 0 ? 6 : /[gprs]/.test(C) ? Math.max(1, Math.min(21, x)) : Math.max(0, Math.min(20, x));
122
- function O(e3) {
123
- var s2 = w, c = T, l2, p, m2;
124
- if (C === "c") c = E(e3) + c, e3 = "";
118
+ var a = e2.fill, o = e2.align, m = e2.sign, h = e2.symbol, y2 = e2.zero, b2 = e2.width, x = e2.comma, S = e2.precision, C = e2.trim, w = e2.type;
119
+ w === "n" ? (x = true, w = "g") : formatTypes_default[w] || (S === void 0 && (S = 12), C = true, w = "g"), (y2 || a === "0" && o === "=") && (y2 = true, a = "0", o = "=");
120
+ var T = (i && i.prefix !== void 0 ? i.prefix : "") + (h === "$" ? s : h === "#" && /[boxX]/.test(w) ? "0" + w.toLowerCase() : ""), E = (h === "$" ? l : /[%p]/.test(w) ? g : "") + (i && i.suffix !== void 0 ? i.suffix : ""), D = formatTypes_default[w], O = /[defgprs%]/.test(w);
121
+ S = S === void 0 ? 6 : /[gprs]/.test(w) ? Math.max(1, Math.min(21, S)) : Math.max(0, Math.min(20, S));
122
+ function k(e3) {
123
+ var i2 = T, s2 = E, c, l2, p;
124
+ if (w === "c") s2 = D(e3) + s2, e3 = "";
125
125
  else {
126
126
  e3 = +e3;
127
- var g2 = e3 < 0 || 1 / e3 < 0;
128
- if (e3 = isNaN(e3) ? v : E(Math.abs(e3), x), S && (e3 = formatTrim_default(e3)), g2 && +e3 == 0 && o !== "+" && (g2 = false), s2 = (g2 ? o === "(" ? o : _ : o === "-" || o === "(" ? "" : o) + s2, c = (C === "s" ? prefixes[8 + prefixExponent / 3] : "") + c + (g2 && o === "(" ? ")" : ""), D) {
129
- for (l2 = -1, p = e3.length; ++l2 < p; ) if (m2 = e3.charCodeAt(l2), 48 > m2 || m2 > 57) {
130
- c = (m2 === 46 ? d + e3.slice(l2 + 1) : e3.slice(l2)) + c, e3 = e3.slice(0, l2);
127
+ var h2 = e3 < 0 || 1 / e3 < 0;
128
+ if (e3 = isNaN(e3) ? v : D(Math.abs(e3), S), C && (e3 = formatTrim_default(e3)), h2 && +e3 == 0 && m !== "+" && (h2 = false), i2 = (h2 ? m === "(" ? m : _ : m === "-" || m === "(" ? "" : m) + i2, s2 = (w === "s" && !isNaN(e3) && prefixExponent !== void 0 ? prefixes[8 + prefixExponent / 3] : "") + s2 + (h2 && m === "(" ? ")" : ""), O) {
129
+ for (c = -1, l2 = e3.length; ++c < l2; ) if (p = e3.charCodeAt(c), 48 > p || p > 57) {
130
+ s2 = (p === 46 ? d + e3.slice(c + 1) : e3.slice(c)) + s2, e3 = e3.slice(0, c);
131
131
  break;
132
132
  }
133
133
  }
134
134
  }
135
- b2 && !h && (e3 = r(e3, Infinity));
136
- var O2 = s2.length + e3.length + c.length, k = O2 < y2 ? Array(y2 - O2 + 1).join(i) : "";
137
- switch (b2 && h && (e3 = r(k + e3, k.length ? y2 - c.length : Infinity), k = ""), a) {
135
+ x && !y2 && (e3 = r(e3, Infinity));
136
+ var g2 = i2.length + e3.length + s2.length, k2 = g2 < b2 ? Array(b2 - g2 + 1).join(a) : "";
137
+ switch (x && y2 && (e3 = r(k2 + e3, k2.length ? b2 - s2.length : Infinity), k2 = ""), o) {
138
138
  case "<":
139
- e3 = s2 + e3 + c + k;
139
+ e3 = i2 + e3 + s2 + k2;
140
140
  break;
141
141
  case "=":
142
- e3 = s2 + k + e3 + c;
142
+ e3 = i2 + k2 + e3 + s2;
143
143
  break;
144
144
  case "^":
145
- e3 = k.slice(0, O2 = k.length >> 1) + s2 + e3 + c + k.slice(O2);
145
+ e3 = k2.slice(0, g2 = k2.length >> 1) + i2 + e3 + s2 + k2.slice(g2);
146
146
  break;
147
147
  default:
148
- e3 = k + s2 + e3 + c;
148
+ e3 = k2 + i2 + e3 + s2;
149
149
  break;
150
150
  }
151
151
  return f(e3);
152
152
  }
153
- return O.toString = function() {
153
+ return k.toString = function() {
154
154
  return e2 + "";
155
- }, O;
155
+ }, k;
156
156
  }
157
157
  function b(e2, r2) {
158
- var a = y((e2 = formatSpecifier(e2), e2.type = "f", e2)), o = Math.max(-8, Math.min(8, Math.floor(exponent_default(r2) / 3))) * 3, s2 = 10 ** -o, l2 = prefixes[8 + o / 3];
158
+ var a = Math.max(-8, Math.min(8, Math.floor(exponent_default(r2) / 3))) * 3, o = 10 ** -a, s2 = y((e2 = formatSpecifier(e2), e2.type = "f", e2), { suffix: prefixes[8 + a / 3] });
159
159
  return function(e3) {
160
- return a(s2 * e3) + l2;
160
+ return s2(o * e3);
161
161
  };
162
162
  }
163
163
  return {
@@ -3,7 +3,7 @@ import "./chunk-TCCFYFTB-DPWJa9zL.js";
3
3
  import "./main-B1Jo_8pC.js";
4
4
  import "./purify.es-EnR5yhgI.js";
5
5
  import { n as ordinal } from "./ordinal-Bkv2-veX.js";
6
- import { t as format } from "./defaultLocale-BpsHxBd7.js";
6
+ import { t as format } from "./defaultLocale-BsfI21d_.js";
7
7
  import { i as cleanAndMerge } from "./chunk-S3R3BYOJ-BdgLc8AM.js";
8
8
  import { i as log, r as __name, t as select_default } from "./src-DV3ha_nA.js";
9
9
  import { p as hierarchy, t as treemap_default } from "./treemap-DY3NBr79.js";
@@ -1,5 +1,5 @@
1
- import { H as tags, I as syntaxTree, O as indentNodeProp, V as styleTags, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp } from "./dist-De-GlSAs.js";
2
- import { l as ifNotIn, s as completeFromList } from "./dist-CSlJrrAw.js";
1
+ import { H as tags, I as syntaxTree, O as indentNodeProp, V as styleTags, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp } from "./dist-Cds3J-EE.js";
2
+ import { l as ifNotIn, s as completeFromList } from "./dist-CWYsUX_O.js";
3
3
  var whitespace = 36, LineComment = 1, BlockComment = 2, String$1 = 3, Number = 4, Bool = 5, Null = 6, ParenL = 7, ParenR = 8, BraceL = 9, BraceR = 10, BracketL = 11, BracketR = 12, Semi = 13, Dot = 14, Operator = 15, Punctuation = 16, SpecialVar = 17, Identifier = 18, QuotedIdentifier = 19, Keyword = 20, Type = 21, Bits = 22, Bytes = 23, Builtin = 24;
4
4
  function isAlpha(h3) {
5
5
  return h3 >= 65 && h3 <= 90 || h3 >= 97 && h3 <= 122 || h3 >= 48 && h3 <= 57;
@@ -1,4 +1,4 @@
1
- import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, y as flatIndent } from "./dist-De-GlSAs.js";
1
+ import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, y as flatIndent } from "./dist-Cds3J-EE.js";
2
2
  var RawString = 1, templateArgsEndFallback = 2, MacroName = 3, R = 82, L = 76, u = 117, U = 85, a = 97, z = 122, A = 65, Z = 90, Underscore = 95, Zero = 48, Quote = 34, ParenL = 40, ParenR = 41, Space = 32, GreaterThan = 62, rawString = new ExternalTokenizer((y) => {
3
3
  if (y.next == L || y.next == U ? y.advance() : y.next == u && (y.advance(), y.next == Zero + 8 && y.advance()), y.next != R || (y.advance(), y.next != Quote)) return;
4
4
  y.advance();
@@ -1,5 +1,5 @@
1
- import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, X as parseMixed, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-De-GlSAs.js";
2
- import { n as html } from "./dist-BTdrwBWP.js";
1
+ import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, X as parseMixed, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-Cds3J-EE.js";
2
+ import { n as html } from "./dist-DQj6A7SE.js";
3
3
  var castOpen = 1, HeredocString = 2, interpolatedStringContent = 263, EscapeSequence = 3, afterInterpolation = 264, automaticSemicolon = 265, eof = 266, abstract = 4, and = 5, array = 6, as = 7, Boolean = 8, _break = 9, _case = 10, _catch = 11, clone = 12, _const = 13, _continue = 14, _default = 15, declare = 16, _do = 17, echo = 18, _else = 19, elseif = 20, enddeclare = 21, endfor = 22, endforeach = 23, endif = 24, endswitch = 25, endwhile = 26, _enum = 27, _extends = 28, final = 29, _finally = 30, fn = 31, _for = 32, foreach = 33, from = 34, _function = 35, global = 36, goto = 37, _if = 38, _implements = 39, include = 40, include_once = 41, _instanceof = 42, insteadof = 43, _interface = 44, list = 45, match = 46, namespace = 47, _new = 48, _null = 49, or = 50, print = 51, _require = 52, require_once = 53, _return = 54, _switch = 55, _throw = 56, trait = 57, _try = 58, unset = 59, use = 60, _var = 61, Visibility = 62, keywordMap = {
4
4
  abstract,
5
5
  and,
@@ -1,5 +1,5 @@
1
- import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, w as foldNodeProp } from "./dist-De-GlSAs.js";
2
- import { i as defineCSSCompletionSource } from "./dist-4lVIWUT3.js";
1
+ import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, w as foldNodeProp } from "./dist-Cds3J-EE.js";
2
+ import { i as defineCSSCompletionSource } from "./dist-Slyx4vXr.js";
3
3
  var indent = 168, dedent = 169, descendantOp = 170, InterpolationEnd = 1, InterpolationContinue = 2, Unit = 3, callee = 171, identifier = 172, VariableName = 4, queryIdentifier = 173, InterpolationStart = 5, newline = 174, blankLineStart = 175, eof = 176, whitespace = 177, LineComment = 6, Comment = 7, IndentedMixin = 8, IndentedInclude = 9, Dialect_indented = 0, space = [
4
4
  9,
5
5
  10,
@@ -1,5 +1,5 @@
1
- import "./dist-De-GlSAs.js";
2
- import { i as snippets, n as goLanguage, r as localCompletionSource, t as go } from "./dist-C18MUWTj.js";
1
+ import "./dist-Cds3J-EE.js";
2
+ import { i as snippets, n as goLanguage, r as localCompletionSource, t as go } from "./dist-D8SX5Qdg.js";
3
3
  export {
4
4
  go
5
5
  };
@@ -0,0 +1,8 @@
1
+ import "./dist-Cds3J-EE.js";
2
+ import "./dist-DQj6A7SE.js";
3
+ import "./dist-Slyx4vXr.js";
4
+ import "./dist-dJeh9ef4.js";
5
+ import { i as liquidLanguage, n as liquid, r as liquidCompletionSource, t as closePercentBrace } from "./dist-CdKRSqjo.js";
6
+ export {
7
+ liquid
8
+ };
@@ -0,0 +1,5 @@
1
+ import "./dist-Cds3J-EE.js";
2
+ import { i as pythonLanguage, n as localCompletionSource, r as python, t as globalCompletion } from "./dist-BrKNRKC8.js";
3
+ export {
4
+ python
5
+ };
@@ -0,0 +1,5 @@
1
+ import "./dist-Cds3J-EE.js";
2
+ import { n as yamlLanguage, t as yaml } from "./dist-BUzxp0Xf.js";
3
+ export {
4
+ yaml
5
+ };
@@ -0,0 +1,6 @@
1
+ import "./dist-Cds3J-EE.js";
2
+ import "./dist-Slyx4vXr.js";
3
+ import { n as lessCompletionSource, r as lessLanguage, t as less } from "./dist-Ddb0VFS3.js";
4
+ export {
5
+ less
6
+ };
@@ -0,0 +1,5 @@
1
+ import "./dist-Cds3J-EE.js";
2
+ import { n as wastLanguage, t as wast } from "./dist-BvvQUFUK.js";
3
+ export {
4
+ wast
5
+ };
@@ -1,6 +1,6 @@
1
- import { $ as EditorView, At as EditorState, G as NodeSet, H as tags, I as syntaxTree, J as Parser, K as NodeType, M as languageDataProp, Nt as Prec, O as indentNodeProp, R as Tag, T as foldService, V as styleTags, W as NodeProp, Wt as countColumn, X as parseMixed, Y as Tree, _ as defineLanguageFacet, c as Language, d as ParseContext, j as indentUnit, kt as EditorSelection, l as LanguageDescription, mt as keymap, u as LanguageSupport, w as foldNodeProp } from "./dist-De-GlSAs.js";
2
- import { t as CompletionContext } from "./dist-CSlJrrAw.js";
3
- import { n as html, r as htmlCompletionSource } from "./dist-BTdrwBWP.js";
1
+ import { $ as EditorView, At as EditorState, G as NodeSet, H as tags, I as syntaxTree, J as Parser, K as NodeType, M as languageDataProp, Nt as Prec, O as indentNodeProp, R as Tag, T as foldService, V as styleTags, W as NodeProp, Wt as countColumn, X as parseMixed, Y as Tree, _ as defineLanguageFacet, c as Language, d as ParseContext, j as indentUnit, kt as EditorSelection, l as LanguageDescription, mt as keymap, u as LanguageSupport, w as foldNodeProp } from "./dist-Cds3J-EE.js";
2
+ import { t as CompletionContext } from "./dist-CWYsUX_O.js";
3
+ import { n as html, r as htmlCompletionSource } from "./dist-DQj6A7SE.js";
4
4
  var CompositeBlock = class l {
5
5
  static create(R, z, B, V, H) {
6
6
  return new l(R, z, B, V + (V << 8) + R + (z << 4) | 0, H, [], []);
@@ -1,5 +1,5 @@
1
- import "./dist-De-GlSAs.js";
2
- import { a as PLSQL, c as SQLite, d as schemaCompletionSource, f as sql, i as MySQL, l as StandardSQL, n as MSSQL, o as PostgreSQL, r as MariaSQL, s as SQLDialect, t as Cassandra, u as keywordCompletionSource } from "./dist-BpeiYpG2.js";
1
+ import "./dist-Cds3J-EE.js";
2
+ import { a as PLSQL, c as SQLite, d as schemaCompletionSource, f as sql, i as MySQL, l as StandardSQL, n as MSSQL, o as PostgreSQL, r as MariaSQL, s as SQLDialect, t as Cassandra, u as keywordCompletionSource } from "./dist-3F1XDSYc.js";
3
3
  export {
4
4
  Cassandra,
5
5
  MSSQL,
@@ -1,4 +1,4 @@
1
- import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-De-GlSAs.js";
1
+ import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-Cds3J-EE.js";
2
2
  var blockEnd = 63, eof = 64, DirectiveEnd = 1, DocEnd = 2, sequenceStartMark = 3, sequenceContinueMark = 4, explicitMapStartMark = 5, explicitMapContinueMark = 6, flowMapMark = 7, mapStartMark = 65, mapContinueMark = 66, Literal = 8, QuotedLiteral = 9, Anchor = 10, Alias = 11, Tag = 12, BlockLiteralContent = 13, BracketL = 19, FlowSequence = 20, Colon = 29, BraceL = 33, FlowMapping = 34, BlockLiteralHeader = 47, type_Top = 0, type_Seq = 1, type_Map = 2, type_Flow = 3, type_Lit = 4, Context = class {
3
3
  constructor(v, q, J) {
4
4
  this.parent = v, this.depth = q, this.type = J, this.hash = (v ? v.hash + v.hash << 8 : 0) + q + (q << 4) + J;
@@ -1,8 +1,8 @@
1
- import "./dist-De-GlSAs.js";
2
- import { a as markdown, c as pasteURLAsLink, i as insertNewlineContinueMarkupCommand, n as deleteMarkupBackward, o as markdownKeymap, r as insertNewlineContinueMarkup, s as markdownLanguage, t as commonmarkLanguage } from "./dist-BOMbzyb3.js";
3
- import "./dist-BTdrwBWP.js";
4
- import "./dist-4lVIWUT3.js";
5
- import "./dist-DgjbnqTg.js";
1
+ import "./dist-Cds3J-EE.js";
2
+ import { a as markdown, c as pasteURLAsLink, i as insertNewlineContinueMarkupCommand, n as deleteMarkupBackward, o as markdownKeymap, r as insertNewlineContinueMarkup, s as markdownLanguage, t as commonmarkLanguage } from "./dist-BNeJ8P-4.js";
3
+ import "./dist-DQj6A7SE.js";
4
+ import "./dist-Slyx4vXr.js";
5
+ import "./dist-dJeh9ef4.js";
6
6
  export {
7
7
  markdown
8
8
  };
@@ -1,5 +1,5 @@
1
- import { H as tags, I as syntaxTree, O as indentNodeProp, S as foldInside, U as IterMode, V as styleTags, n as ExternalTokenizer, q as NodeWeakMap, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-De-GlSAs.js";
2
- import { f as snippetCompletion, l as ifNotIn, s as completeFromList } from "./dist-CSlJrrAw.js";
1
+ import { H as tags, I as syntaxTree, O as indentNodeProp, S as foldInside, U as IterMode, V as styleTags, n as ExternalTokenizer, q as NodeWeakMap, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-Cds3J-EE.js";
2
+ import { f as snippetCompletion, l as ifNotIn, s as completeFromList } from "./dist-CWYsUX_O.js";
3
3
  var printKeyword = 1, indent = 194, dedent = 195, newline$1 = 196, blankLineStart = 197, newlineBracketed = 198, eof = 199, stringContent = 200, Escape = 2, replacementStart = 3, stringEnd = 201, ParenL = 24, ParenthesizedExpression = 25, TupleExpression = 49, ComprehensionExpression = 50, BracketL = 55, ArrayExpression = 56, ArrayComprehensionExpression = 57, BraceL = 59, DictionaryExpression = 60, DictionaryComprehensionExpression = 61, SetExpression = 62, SetComprehensionExpression = 63, ArgList = 65, subscript = 238, String$1 = 71, stringStart = 241, stringStartD = 242, stringStartL = 243, stringStartLD = 244, stringStartR = 245, stringStartRD = 246, stringStartRL = 247, stringStartRLD = 248, FormatString = 72, stringStartF = 249, stringStartFD = 250, stringStartFL = 251, stringStartFLD = 252, stringStartFR = 253, stringStartFRD = 254, stringStartFRL = 255, stringStartFRLD = 256, FormatReplacement = 73, nestedFormatReplacement = 77, importList = 263, TypeParamList = 112, ParamList = 130, SequencePattern = 151, MappingPattern = 152, PatternArgList = 155, newline = 10, carriageReturn = 13, space = 32, tab = 9, hash = 35, parenOpen = 40, dot = 46, braceOpen = 123, braceClose = 125, singleQuote = 39, doubleQuote = 34, backslash = 92, letter_o = 111, letter_x = 120, letter_N = 78, letter_u = 117, letter_U = 85, bracketed = /* @__PURE__ */ new Set([
4
4
  ParenthesizedExpression,
5
5
  TupleExpression,
@@ -1,4 +1,4 @@
1
- import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-De-GlSAs.js";
1
+ import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-Cds3J-EE.js";
2
2
  var spec_Keyword = {
3
3
  __proto__: null,
4
4
  anyref: 34,
@@ -1,5 +1,5 @@
1
- import "./dist-De-GlSAs.js";
2
- import { i as xmlLanguage, n as completeFromSchema, r as xml, t as autoCloseTags } from "./dist-BPF0gTRZ.js";
1
+ import "./dist-Cds3J-EE.js";
2
+ import { i as xmlLanguage, n as completeFromSchema, r as xml, t as autoCloseTags } from "./dist-DGQmYLkh.js";
3
3
  export {
4
4
  xml
5
5
  };
@@ -1,7 +1,7 @@
1
- import { H as tags, V as styleTags, X as parseMixed, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport } from "./dist-De-GlSAs.js";
2
- import { n as html } from "./dist-BTdrwBWP.js";
3
- import "./dist-4lVIWUT3.js";
4
- import { r as javascriptLanguage } from "./dist-DgjbnqTg.js";
1
+ import { H as tags, V as styleTags, X as parseMixed, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport } from "./dist-Cds3J-EE.js";
2
+ import { n as html } from "./dist-DQj6A7SE.js";
3
+ import "./dist-Slyx4vXr.js";
4
+ import { r as javascriptLanguage } from "./dist-dJeh9ef4.js";
5
5
  var Text = 1, attributeContentSingle = 33, attributeContentDouble = 34, scriptAttributeContentSingle = 35, scriptAttributeContentDouble = 36, text = /* @__PURE__ */ new ExternalTokenizer((p) => {
6
6
  let A = p.pos;
7
7
  for (; ; ) {
@@ -1,4 +1,4 @@
1
- import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, h as continuedIndent, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, y as flatIndent } from "./dist-De-GlSAs.js";
1
+ import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, h as continuedIndent, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, y as flatIndent } from "./dist-Cds3J-EE.js";
2
2
  var javaHighlighting = styleTags({
3
3
  null: tags.null,
4
4
  instanceof: tags.operatorKeyword,
@@ -0,0 +1,5 @@
1
+ import "./dist-Cds3J-EE.js";
2
+ import { i as defineCSSCompletionSource, n as cssCompletionSource, r as cssLanguage, t as css } from "./dist-Slyx4vXr.js";
3
+ export {
4
+ css
5
+ };
@@ -1,4 +1,4 @@
1
- import { $ as EditorView, Bt as Transaction, Dt as CharCategory, Ht as codePointSize, I as syntaxTree, It as RangeValue, Kt as fromCodePoint, Lt as StateEffect, Mt as MapMode, Nt as Prec, Pt as RangeSet, Q as Direction, Rt as StateField, St as showTooltip, Ut as combineConfig, Vt as codePointAt, Z as Decoration, ct as getTooltip, gt as logException, j as indentUnit, jt as Facet, kt as EditorSelection, mt as keymap, nt as WidgetType, tt as ViewPlugin, wt as Annotation, zt as Text } from "./dist-De-GlSAs.js";
1
+ import { $ as EditorView, Bt as Transaction, Dt as CharCategory, Ht as codePointSize, I as syntaxTree, It as RangeValue, Kt as fromCodePoint, Lt as StateEffect, Mt as MapMode, Nt as Prec, Pt as RangeSet, Q as Direction, Rt as StateField, St as showTooltip, Ut as combineConfig, Vt as codePointAt, Z as Decoration, ct as getTooltip, gt as logException, j as indentUnit, jt as Facet, kt as EditorSelection, mt as keymap, nt as WidgetType, tt as ViewPlugin, wt as Annotation, zt as Text } from "./dist-Cds3J-EE.js";
2
2
  var CompletionContext = class {
3
3
  constructor(r8, M, N, P) {
4
4
  this.state = r8, this.pos = M, this.explicit = N, this.view = P, this.abortListeners = [], this.abortOnDocChange = false;
@@ -0,0 +1,5 @@
1
+ import "./dist-Cds3J-EE.js";
2
+ import { n as cppLanguage, t as cpp } from "./dist-B-upo54Y.js";
3
+ export {
4
+ cpp
5
+ };
@@ -1,5 +1,5 @@
1
- import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp, V as styleTags, X as parseMixed, kt as EditorSelection, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-De-GlSAs.js";
2
- import { n as html } from "./dist-BTdrwBWP.js";
1
+ import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp, V as styleTags, X as parseMixed, kt as EditorSelection, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-Cds3J-EE.js";
2
+ import { n as html } from "./dist-DQj6A7SE.js";
3
3
  var interpolationStart = 1, tagStart = 2, endTagStart = 3, text = 180, endrawTagStart = 4, rawText = 181, endcommentTagStart = 5, commentText = 182, InlineComment = 6;
4
4
  function wordChar(_) {
5
5
  return _ >= 65 && _ <= 90 || _ >= 97 && _ <= 122;
@@ -3001,7 +3001,7 @@ var DocTile = class extends CompositeTile {
3001
3001
  function A(e65, j2) {
3002
3002
  for (let M = 0, N = 0; M < e65.children.length && N <= j2; M++) {
3003
3003
  let P = e65.children[M], F = N + P.length;
3004
- F >= j2 && (P.isComposite() ? A(P, j2 - N) : (!O || O.isHidden && (w > 0 && !(O.flags & 32) || T && onSameLine(O, P))) && (F > j2 || P.flags & 32) ? (O = P, k = j2 - N) : (N < j2 || P.flags & 16 && !P.isHidden) && (E = P, D = j2 - N)), N = F;
3004
+ F >= j2 && (P.isComposite() ? A(P, j2 - N) : (!O || O.isHidden && (w > 0 && !(O.flags & 32) || T && onSameLine(O, P))) && (F > j2 || P.flags & 32 && w <= 1) ? (O = P, k = j2 - N) : (N < j2 || P.flags & 16 && !P.isHidden && w >= -1) && (E = P, D = j2 - N)), N = F;
3005
3005
  }
3006
3006
  }
3007
3007
  A(this, e64);
@@ -3152,11 +3152,15 @@ var MarkTile = class e31 extends CompositeTile {
3152
3152
  index: D
3153
3153
  }), E = A, D = 0, T && A.isComposite() && T.enter(A));
3154
3154
  }
3155
- else if (D == E.length) O = !!E.breakAfter, { tile: E, index: D } = k.pop(), D++;
3156
- else if (e64) {
3157
- let w2 = Math.min(e64, E.length - D);
3158
- T && T.skip(E, D, D + w2), e64 -= w2, D += w2;
3159
- } else break;
3155
+ else {
3156
+ let w2 = E.length;
3157
+ if (D < w2 && e64) {
3158
+ let O2 = Math.min(e64, w2 - D);
3159
+ T && T.skip(E, D, D + O2), e64 -= O2, D += O2;
3160
+ }
3161
+ if (D == w2) O = !!E.breakAfter, { tile: E, index: D } = k.pop(), D++;
3162
+ else if (!e64) break;
3163
+ }
3160
3164
  return this.tile = E, this.index = D, this.beforeBreak = O, this;
3161
3165
  }
3162
3166
  get root() {
@@ -5881,6 +5885,8 @@ var baseTheme$1$1 = /* @__PURE__ */ buildTheme("." + baseThemeID, {
5881
5885
  backgroundColor: "#f5f5f5",
5882
5886
  color: "black"
5883
5887
  },
5888
+ ".cm-panels-top": { top: "0" },
5889
+ ".cm-panels-bottom": { bottom: "0" },
5884
5890
  "&light .cm-panels-top": { borderBottom: "1px solid #ddd" },
5885
5891
  "&light .cm-panels-bottom": { borderTop: "1px solid #ddd" },
5886
5892
  "&dark .cm-panels": {
@@ -7018,9 +7024,9 @@ var selectionLayer = /* @__PURE__ */ layer({
7018
7024
  return e64.docChanged || e64.selectionSet || e64.viewportChanged || configChanged(e64);
7019
7025
  },
7020
7026
  class: "cm-selectionLayer"
7021
- }), hideNativeSelection = /* @__PURE__ */ Prec.highest(/* @__PURE__ */ EditorView.theme({
7027
+ }), selectionBg = browser.gecko && browser.gecko_version >= 153 ? "#ffffff01" : "transparent", hideNativeSelection = /* @__PURE__ */ Prec.highest(/* @__PURE__ */ EditorView.theme({
7022
7028
  ".cm-line": {
7023
- "& ::selection, &::selection": { backgroundColor: "transparent !important" },
7029
+ "& ::selection, &::selection": { backgroundColor: `${selectionBg} !important` },
7024
7030
  caretColor: "transparent !important"
7025
7031
  },
7026
7032
  ".cm-content": {
@@ -7916,7 +7922,7 @@ var panelPlugin = /* @__PURE__ */ ViewPlugin.fromClass(class {
7916
7922
  return;
7917
7923
  }
7918
7924
  if (!this.dom) {
7919
- this.dom = document.createElement("div"), this.dom.className = this.top ? "cm-panels cm-panels-top" : "cm-panels cm-panels-bottom", this.dom.style[this.top ? "top" : "bottom"] = "0";
7925
+ this.dom = document.createElement("div"), this.dom.className = this.top ? "cm-panels cm-panels-top" : "cm-panels cm-panels-bottom";
7920
7926
  let e65 = this.container || this.view.dom;
7921
7927
  e65.insertBefore(this.dom, this.top ? e65.firstChild : null);
7922
7928
  }
@@ -0,0 +1,8 @@
1
+ import "./dist-Cds3J-EE.js";
2
+ import "./dist-DQj6A7SE.js";
3
+ import "./dist-Slyx4vXr.js";
4
+ import "./dist-dJeh9ef4.js";
5
+ import { n as phpLanguage, t as php } from "./dist-B1W12VzQ.js";
6
+ export {
7
+ php
8
+ };
@@ -0,0 +1,8 @@
1
+ import "./dist-Cds3J-EE.js";
2
+ import "./dist-DQj6A7SE.js";
3
+ import "./dist-Slyx4vXr.js";
4
+ import "./dist-dJeh9ef4.js";
5
+ import { n as vueLanguage, t as vue } from "./dist-DgkJegw4.js";
6
+ export {
7
+ vue
8
+ };
@@ -1,5 +1,5 @@
1
- import { H as tags, I as syntaxTree, O as indentNodeProp, S as foldInside, U as IterMode, V as styleTags, h as continuedIndent, i as LocalTokenGroup, n as ExternalTokenizer, q as NodeWeakMap, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, y as flatIndent } from "./dist-De-GlSAs.js";
2
- import { f as snippetCompletion, l as ifNotIn, s as completeFromList } from "./dist-CSlJrrAw.js";
1
+ import { H as tags, I as syntaxTree, O as indentNodeProp, S as foldInside, U as IterMode, V as styleTags, h as continuedIndent, i as LocalTokenGroup, n as ExternalTokenizer, q as NodeWeakMap, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, y as flatIndent } from "./dist-Cds3J-EE.js";
2
+ import { f as snippetCompletion, l as ifNotIn, s as completeFromList } from "./dist-CWYsUX_O.js";
3
3
  var insertedSemi = 177, space$1 = 179, identifier = 184, String = 12, closeParen$1 = 13, Number = 17, Rune = 20, closeBrace$1 = 25, closeBracket = 53, IncDecOp = 95, _return = 142, _break = 144, _continue = 145, fallthrough = 148, newline = 10, carriageReturn = 13, space = 32, tab = 9, slash = 47, closeParen = 41, closeBrace = 125, semicolon = new ExternalTokenizer((y, J) => {
4
4
  for (let Y = 0, X = y.next; (J.context && (X < 0 || X == newline || X == carriageReturn || X == slash && y.peek(Y + 1) == slash) || X == closeParen || X == closeBrace) && y.acceptToken(insertedSemi), !(X != space && X != tab); ) X = y.peek(++Y);
5
5
  }, { contextual: true }), trackedTokens = /* @__PURE__ */ new Set([
@@ -1,7 +1,7 @@
1
- import "./dist-De-GlSAs.js";
2
- import { a as htmlLanguage, i as htmlCompletionSourceWith, n as html, o as htmlPlain, r as htmlCompletionSource, t as autoCloseTags } from "./dist-BTdrwBWP.js";
3
- import "./dist-4lVIWUT3.js";
4
- import "./dist-DgjbnqTg.js";
1
+ import "./dist-Cds3J-EE.js";
2
+ import { a as htmlLanguage, i as htmlCompletionSourceWith, n as html, o as htmlPlain, r as htmlCompletionSource, t as autoCloseTags } from "./dist-DQj6A7SE.js";
3
+ import "./dist-Slyx4vXr.js";
4
+ import "./dist-dJeh9ef4.js";
5
5
  export {
6
6
  html
7
7
  };
@@ -1,4 +1,4 @@
1
- import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp, V as styleTags, kt as EditorSelection, m as bracketMatchingHandle, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, w as foldNodeProp } from "./dist-De-GlSAs.js";
1
+ import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp, V as styleTags, kt as EditorSelection, m as bracketMatchingHandle, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, w as foldNodeProp } from "./dist-Cds3J-EE.js";
2
2
  var StartTag = 1, StartCloseTag = 2, MissingCloseTag = 3, mismatchedStartCloseTag = 4, incompleteStartCloseTag = 5, commentContent$1 = 36, piContent$1 = 37, cdataContent$1 = 38, Element$1 = 11, OpenTag = 13;
3
3
  function nameChar(m) {
4
4
  return m == 45 || m == 46 || m == 58 || m >= 65 && m <= 90 || m == 95 || m >= 97 && m <= 122 || m >= 161;
@@ -0,0 +1,5 @@
1
+ import "./dist-Cds3J-EE.js";
2
+ import { n as javaLanguage, t as java } from "./dist-CDBV8n0I.js";
3
+ export {
4
+ java
5
+ };
@@ -0,0 +1,5 @@
1
+ import "./dist-Cds3J-EE.js";
2
+ import { n as jsonLanguage, t as json } from "./dist-DK0pFEmc.js";
3
+ export {
4
+ json
5
+ };
@@ -1,4 +1,4 @@
1
- import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, h as continuedIndent, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp } from "./dist-De-GlSAs.js";
1
+ import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, h as continuedIndent, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp } from "./dist-Cds3J-EE.js";
2
2
  var jsonHighlighting = styleTags({
3
3
  String: tags.string,
4
4
  Number: tags.number,
@@ -1,6 +1,6 @@
1
- import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp, V as styleTags, X as parseMixed, kt as EditorSelection, m as bracketMatchingHandle, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, w as foldNodeProp } from "./dist-De-GlSAs.js";
2
- import { r as cssLanguage, t as css } from "./dist-4lVIWUT3.js";
3
- import { c as typescriptLanguage, i as jsxLanguage, n as javascript, r as javascriptLanguage, s as tsxLanguage } from "./dist-DgjbnqTg.js";
1
+ import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp, V as styleTags, X as parseMixed, kt as EditorSelection, m as bracketMatchingHandle, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, w as foldNodeProp } from "./dist-Cds3J-EE.js";
2
+ import { r as cssLanguage, t as css } from "./dist-Slyx4vXr.js";
3
+ import { c as typescriptLanguage, i as jsxLanguage, n as javascript, r as javascriptLanguage, s as tsxLanguage } from "./dist-dJeh9ef4.js";
4
4
  var scriptText = 54, StartCloseScriptTag = 1, styleText = 55, StartCloseStyleTag = 2, textareaText = 56, StartCloseTextareaTag = 3, EndTag = 4, SelfClosingEndTag = 5, StartTag = 6, StartScriptTag = 7, StartStyleTag = 8, StartTextareaTag = 9, StartSelfClosingTag = 10, StartCloseTag = 11, NoMatchStartCloseTag = 12, MismatchedStartCloseTag = 13, missingCloseTag = 57, IncompleteCloseTag = 14, commentContent$1 = 58, Element = 20, TagName = 22, Attribute = 23, AttributeName = 24, AttributeValue = 26, UnquotedAttributeValue = 27, ScriptText = 28, StyleText = 31, TextareaText = 34, OpenTag = 36, CloseTag = 37, Dialect_noMatch = 0, Dialect_selfClosing = 1, selfClosers$1 = {
5
5
  area: true,
6
6
  base: true,
@@ -1,9 +1,9 @@
1
1
  import { s as __toESM } from "./chunk-BNovOVIE.js";
2
- import { p as useComposedRefs } from "./button-BSm8IXRU.js";
2
+ import { p as useComposedRefs } from "./button-8aS1QcHr.js";
3
3
  import { t as require_react } from "./react-DA-nE2FX.js";
4
4
  import { t as require_react_dom } from "./react-dom-BTJzcVJ9.js";
5
5
  import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
6
- import { _t as createContextScope, mt as useLayoutEffect2, ut as useCallbackRef, vt as Primitive } from "./zod-BUcyXSdR.js";
6
+ import { _t as Primitive, gt as createContextScope, lt as useCallbackRef, pt as useLayoutEffect2 } from "./zod-yTHHzJiv.js";
7
7
  /**
8
8
  * @license lucide-react v0.563.0 - ISC
9
9
  *
@@ -1180,9 +1180,9 @@ var arrow$1$1 = (e) => {
1180
1180
  ...arrow$1$1(e),
1181
1181
  options: [e, a]
1182
1182
  }), NAME = "Arrow", Arrow$1 = import_react.forwardRef((e, a) => {
1183
- let { children: o, width: s = 10, height: c = 5, ...l } = e;
1183
+ let { children: o, width: s = 10, height: c = 5, ...u } = e;
1184
1184
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.svg, {
1185
- ...l,
1185
+ ...u,
1186
1186
  ref: a,
1187
1187
  width: s,
1188
1188
  height: c,
@@ -1203,19 +1203,19 @@ var Root = Arrow$1, POPPER_NAME = "Popper", [createPopperContext, createPopperSc
1203
1203
  };
1204
1204
  Popper.displayName = POPPER_NAME;
1205
1205
  var ANCHOR_NAME = "PopperAnchor", PopperAnchor = import_react.forwardRef((e, o) => {
1206
- let { __scopePopper: s, virtualRef: c, ...l } = e, u = usePopperContext(ANCHOR_NAME, s), d = import_react.useRef(null), p = useComposedRefs(o, d), m = import_react.useRef(null);
1206
+ let { __scopePopper: s, virtualRef: c, ...u } = e, d = usePopperContext(ANCHOR_NAME, s), f = import_react.useRef(null), p = useComposedRefs(o, f), m = import_react.useRef(null);
1207
1207
  return import_react.useEffect(() => {
1208
1208
  let e2 = m.current;
1209
- m.current = (c == null ? void 0 : c.current) || d.current, e2 !== m.current && u.onAnchorChange(m.current);
1209
+ m.current = (c == null ? void 0 : c.current) || f.current, e2 !== m.current && d.onAnchorChange(m.current);
1210
1210
  }), c ? null : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.div, {
1211
- ...l,
1211
+ ...u,
1212
1212
  ref: p
1213
1213
  });
1214
1214
  });
1215
1215
  PopperAnchor.displayName = ANCHOR_NAME;
1216
1216
  var CONTENT_NAME = "PopperContent", [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME), PopperContent = import_react.forwardRef((e, o) => {
1217
1217
  var _a, _b, _c, _d, _e, _f;
1218
- let { __scopePopper: s, side: c = "bottom", sideOffset: l = 0, align: p = "center", alignOffset: m = 0, arrowPadding: h = 0, avoidCollisions: g = true, collisionBoundary: _ = [], collisionPadding: v = 0, sticky: b = "partial", hideWhenDetached: x = false, updatePositionStrategy: C = "optimized", onPlaced: w, ...T } = e, E = usePopperContext(CONTENT_NAME, s), [O, k] = import_react.useState(null), A = useComposedRefs(o, (e2) => k(e2)), [j, M] = import_react.useState(null), N = useSize(j), P = (N == null ? void 0 : N.width) ?? 0, F = (N == null ? void 0 : N.height) ?? 0, I = c + (p === "center" ? "" : "-" + p), L = typeof v == "number" ? v : {
1218
+ let { __scopePopper: s, side: c = "bottom", sideOffset: u = 0, align: p = "center", alignOffset: m = 0, arrowPadding: h = 0, avoidCollisions: g = true, collisionBoundary: _ = [], collisionPadding: v = 0, sticky: b = "partial", hideWhenDetached: x = false, updatePositionStrategy: C = "optimized", onPlaced: w, ...T } = e, E = usePopperContext(CONTENT_NAME, s), [O, k] = import_react.useState(null), A = useComposedRefs(o, (e2) => k(e2)), [j, M] = import_react.useState(null), N = useSize(j), P = (N == null ? void 0 : N.width) ?? 0, F = (N == null ? void 0 : N.height) ?? 0, I = c + (p === "center" ? "" : "-" + p), L = typeof v == "number" ? v : {
1219
1219
  top: 0,
1220
1220
  right: 0,
1221
1221
  bottom: 0,
@@ -1232,7 +1232,7 @@ var CONTENT_NAME = "PopperContent", [PopperContentProvider, useContentContext] =
1232
1232
  elements: { reference: E.anchor },
1233
1233
  middleware: [
1234
1234
  offset({
1235
- mainAxis: l + F,
1235
+ mainAxis: u + F,
1236
1236
  alignmentAxis: m
1237
1237
  }),
1238
1238
  g && shift({
@@ -1245,8 +1245,8 @@ var CONTENT_NAME = "PopperContent", [PopperContentProvider, useContentContext] =
1245
1245
  size({
1246
1246
  ...B,
1247
1247
  apply: ({ elements: e2, rects: a, availableWidth: o2, availableHeight: s2 }) => {
1248
- let { width: c2, height: l2 } = a.reference, u = e2.floating.style;
1249
- u.setProperty("--radix-popper-available-width", `${o2}px`), u.setProperty("--radix-popper-available-height", `${s2}px`), u.setProperty("--radix-popper-anchor-width", `${c2}px`), u.setProperty("--radix-popper-anchor-height", `${l2}px`);
1248
+ let { width: c2, height: l } = a.reference, u2 = e2.floating.style;
1249
+ u2.setProperty("--radix-popper-available-width", `${o2}px`), u2.setProperty("--radix-popper-available-height", `${s2}px`), u2.setProperty("--radix-popper-anchor-width", `${c2}px`), u2.setProperty("--radix-popper-anchor-height", `${l}px`);
1250
1250
  }
1251
1251
  }),
1252
1252
  j && arrow({
@@ -1,5 +1,5 @@
1
- import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp } from "./dist-De-GlSAs.js";
2
- import { i as defineCSSCompletionSource } from "./dist-4lVIWUT3.js";
1
+ import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp } from "./dist-Cds3J-EE.js";
2
+ import { i as defineCSSCompletionSource } from "./dist-Slyx4vXr.js";
3
3
  var descendantOp = 110, Unit = 1, openArgList = 2, space = [
4
4
  9,
5
5
  10,
@@ -0,0 +1,8 @@
1
+ import "./dist-Cds3J-EE.js";
2
+ import "./dist-DQj6A7SE.js";
3
+ import "./dist-Slyx4vXr.js";
4
+ import "./dist-dJeh9ef4.js";
5
+ import { i as jinjaLanguage, n as jinja, r as jinjaCompletionSource, t as closePercentBrace } from "./dist-DjQRRttD.js";
6
+ export {
7
+ jinja
8
+ };
@@ -1,6 +1,6 @@
1
- import { H as tags, V as styleTags, X as parseMixed, i as LocalTokenGroup, r as LRParser, s as LRLanguage, u as LanguageSupport } from "./dist-De-GlSAs.js";
2
- import { n as html } from "./dist-BTdrwBWP.js";
3
- import { r as javascriptLanguage } from "./dist-DgjbnqTg.js";
1
+ import { H as tags, V as styleTags, X as parseMixed, i as LocalTokenGroup, r as LRParser, s as LRLanguage, u as LanguageSupport } from "./dist-Cds3J-EE.js";
2
+ import { n as html } from "./dist-DQj6A7SE.js";
3
+ import { r as javascriptLanguage } from "./dist-dJeh9ef4.js";
4
4
  var parser = /* @__PURE__ */ LRParser.deserialize({
5
5
  version: 14,
6
6
  states: "%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",
@@ -1,5 +1,5 @@
1
- import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp, V as styleTags, X as parseMixed, i as LocalTokenGroup, kt as EditorSelection, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-De-GlSAs.js";
2
- import { n as html } from "./dist-BTdrwBWP.js";
1
+ import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp, V as styleTags, X as parseMixed, i as LocalTokenGroup, kt as EditorSelection, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-Cds3J-EE.js";
2
+ import { n as html } from "./dist-DQj6A7SE.js";
3
3
  var interpolationStart = 1, commentTagStart = 2, tagStart = 3, text = 155, endrawTagStart = 4, rawText = 156;
4
4
  function wordChar(h) {
5
5
  return h >= 65 && h <= 90 || h >= 97 && h <= 122;