@marimo-team/islands 0.14.18-dev29 → 0.14.18-dev30

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 (82) hide show
  1. package/dist/{ConnectedDataExplorerComponent-BdNI3U_Q.js → ConnectedDataExplorerComponent--CKIL-CI.js} +2 -2
  2. package/dist/{ImageComparisonComponent-BaXYQw1q.js → ImageComparisonComponent-D9H4Qy32.js} +1 -1
  3. package/dist/{_baseUniq-Dhn_Qa6Q.js → _baseUniq-bLCPH1Ep.js} +54 -54
  4. package/dist/{any-language-editor-B67r5EeA.js → any-language-editor-DjrwgW0G.js} +1 -1
  5. package/dist/{architectureDiagram-SUXI7LT5-BViDWSK_.js → architectureDiagram-SUXI7LT5-j0IHGKaY.js} +5 -5
  6. package/dist/{blockDiagram-6J76NXCF-qnZE6FFZ.js → blockDiagram-6J76NXCF-De8TWMDN.js} +5 -5
  7. package/dist/{c4Diagram-6F6E4RAY-DVDx6CRj.js → c4Diagram-6F6E4RAY-C_LDok9B.js} +2 -2
  8. package/dist/{channel-w0TvEgyJ.js → channel-BfUZ6-T3.js} +1 -1
  9. package/dist/{chunk-353BL4L5-BERPTU9j.js → chunk-353BL4L5-CCxt33Au.js} +1 -1
  10. package/dist/{chunk-67H74DCK-BKpGel6k.js → chunk-67H74DCK-DCXh45M8.js} +1 -1
  11. package/dist/{chunk-AACKK3MU-DKFmZAmW.js → chunk-AACKK3MU-C0xSOsSm.js} +1 -1
  12. package/dist/{chunk-BFAMUDN2-ByskscqU.js → chunk-BFAMUDN2-Behwqfnf.js} +1 -1
  13. package/dist/{chunk-E2GYISFI-CU8uK8B5.js → chunk-E2GYISFI-CoVfLOj4.js} +1 -1
  14. package/dist/{chunk-OW32GOEJ-D-oJnNc0.js → chunk-OW32GOEJ-BDKesCNY.js} +3 -3
  15. package/dist/{chunk-SKB7J2MH-D3VsLhj0.js → chunk-SKB7J2MH-Bp2xM-uy.js} +1 -1
  16. package/dist/{chunk-SZ463SBG-DdwzKdw7.js → chunk-SZ463SBG-DBpCja3U.js} +4 -4
  17. package/dist/{classDiagram-v2-YAWTLIQI-hCM6BJNe.js → classDiagram-M3E45YP4-BFubzwOG.js} +2 -2
  18. package/dist/{classDiagram-M3E45YP4-hCM6BJNe.js → classDiagram-v2-YAWTLIQI-BFubzwOG.js} +2 -2
  19. package/dist/{clone-C3HJdTTe.js → clone-BjtVIXpn.js} +1 -1
  20. package/dist/common-keywords-BefPf8TA.js +7 -0
  21. package/dist/{dagre-JOIXM2OF-Bf_l2feu.js → dagre-JOIXM2OF-BgBiPRFN.js} +6 -6
  22. package/dist/{data-grid-overlay-editor-DBR9So5Q.js → data-grid-overlay-editor-_eqSIABJ.js} +2 -2
  23. package/dist/{diagram-5UYTHUR4-CVGF9hQS.js → diagram-5UYTHUR4-CgaKbTts.js} +3 -3
  24. package/dist/{diagram-VMROVX33-DQSvGvP9.js → diagram-VMROVX33-CGtdOsg5.js} +5 -5
  25. package/dist/{diagram-ZTM2IBQH-Cm-4zYmZ.js → diagram-ZTM2IBQH-DYMYPpKk.js} +3 -3
  26. package/dist/duckdb-keywords-WTV2Iln-.js +7 -0
  27. package/dist/{erDiagram-3M52JZNH-CqiPyo9l.js → erDiagram-3M52JZNH-1_JRyfPJ.js} +4 -4
  28. package/dist/{flowDiagram-KYDEHFYC-BWI6woXk.js → flowDiagram-KYDEHFYC-DybJmH8v.js} +5 -5
  29. package/dist/{ganttDiagram-EK5VF46D-Cgt9l9Dv.js → ganttDiagram-EK5VF46D-DN7qANi_.js} +77 -77
  30. package/dist/{gitGraphDiagram-GW3U2K7C-CXdWbamN.js → gitGraphDiagram-GW3U2K7C-BRhg1GOx.js} +4 -4
  31. package/dist/{glide-data-editor-BTCvCt5l.js → glide-data-editor-C_I32XXb.js} +3 -3
  32. package/dist/{graph-CRdDo12s.js → graph-1MP_VZoE.js} +3 -3
  33. package/dist/index-BBUizbqs.js +40315 -0
  34. package/dist/{index-BcFK7BwI.js → index-BPI6wlBl.js} +1 -1
  35. package/dist/{index-BAdBIZkO.js → index-BdqZ5Kqx.js} +144 -144
  36. package/dist/{index-BvqeeOGw.js → index-DgGFt9bf.js} +1 -1
  37. package/dist/{index-C0U8Uslh.js → index-VJmVdxOS.js} +1 -1
  38. package/dist/{infoDiagram-LHK5PUON-_TLjv1_J.js → infoDiagram-LHK5PUON-DqHV7DDC.js} +2 -2
  39. package/dist/{journeyDiagram-EWQZEKCU-1myKuvuX.js → journeyDiagram-EWQZEKCU-Bk17Zc9K.js} +3 -3
  40. package/dist/{kanban-definition-ZSS6B67P-CpcP-3pZ.js → kanban-definition-ZSS6B67P-BYWk6TtR.js} +2 -2
  41. package/dist/{layout-3sC0Rvql.js → layout-Cb92NmMg.js} +35 -35
  42. package/dist/{linear-C3_iQNqd.js → linear-B-wqjC4d.js} +19 -19
  43. package/dist/{main-CL0h4e1V.js → main-CtTUMXKF.js} +34657 -33517
  44. package/dist/main.js +1 -1
  45. package/dist/{mermaid-BeozQMHc.js → mermaid-T2yOt-G1.js} +29 -29
  46. package/dist/{min-snIjkOQ_.js → min-DrG2wG1u.js} +14 -14
  47. package/dist/{mindmap-definition-6CBA2TL7-DtWdud8Y.js → mindmap-definition-6CBA2TL7-DjzwaZH0.js} +2 -2
  48. package/dist/{number-overlay-editor-BZsA8E_T.js → number-overlay-editor-xCynwKqy.js} +2 -2
  49. package/dist/{pieDiagram-NIOCPIFQ-BcUZAX6Z.js → pieDiagram-NIOCPIFQ-CJ6GpE3G.js} +3 -3
  50. package/dist/{quadrantDiagram-2OG54O6I-d14MOQ5D.js → quadrantDiagram-2OG54O6I-XdD8LFCS.js} +2 -2
  51. package/dist/{react-plotly-D-OJ0ixl.js → react-plotly-CU1xz0uB.js} +1 -1
  52. package/dist/{requirementDiagram-QOLK2EJ7-CIM03878.js → requirementDiagram-QOLK2EJ7-BfjB7dTg.js} +3 -3
  53. package/dist/{sankeyDiagram-4UZDY2LN-BdjxpeGf.js → sankeyDiagram-4UZDY2LN-B5iAGqA4.js} +1 -1
  54. package/dist/{sequenceDiagram-SKLFT4DO-DwTPOF0M.js → sequenceDiagram-SKLFT4DO-BfZhH-rO.js} +3 -3
  55. package/dist/{slides-component-CuHbdUWv.js → slides-component-QFXs_rBG.js} +26 -26
  56. package/dist/{stateDiagram-MI5ZYTHO-DbZ86f1c.js → stateDiagram-MI5ZYTHO-Dj139u4x.js} +4 -4
  57. package/dist/{stateDiagram-v2-5AN5P6BG-Ciragt5S.js → stateDiagram-v2-5AN5P6BG-Bu6lvica.js} +2 -2
  58. package/dist/{time-Drwe-h9P.js → time-BuU9s2Gm.js} +2 -2
  59. package/dist/{timeline-definition-MYPXXCX6-C4anfUWH.js → timeline-definition-MYPXXCX6-cuErhWL7.js} +1 -1
  60. package/dist/{treemap-75Q7IDZK-B00Ow4su.js → treemap-75Q7IDZK-4DitaMDv.js} +131 -131
  61. package/dist/{vega-component-C-6aZaJB.js → vega-component-BuOK3GIr.js} +2 -2
  62. package/dist/{xychartDiagram-H2YORKM3-DKqJQPV7.js → xychartDiagram-H2YORKM3-DfnjQqUF.js} +2 -2
  63. package/package.json +3 -2
  64. package/src/components/app-config/user-config-form.tsx +25 -0
  65. package/src/components/chat/markdown-renderer.tsx +1 -1
  66. package/src/components/editor/ai/add-cell-with-ai.tsx +1 -1
  67. package/src/components/editor/cell/CreateCellButton.tsx +1 -1
  68. package/src/components/editor/cell/code/language-toggle.tsx +1 -1
  69. package/src/components/editor/renderers/CellArray.tsx +1 -1
  70. package/src/core/codemirror/language/LanguageAdapters.ts +1 -1
  71. package/src/core/codemirror/language/__tests__/sql.test.ts +5 -5
  72. package/src/core/codemirror/language/extension.ts +1 -1
  73. package/src/core/codemirror/language/languages/sql/completion-sources.tsx +99 -0
  74. package/src/core/codemirror/language/languages/sql/completion-store.ts +191 -0
  75. package/src/core/codemirror/language/languages/{sql.ts → sql/sql.ts} +124 -248
  76. package/src/core/codemirror/language/languages/sql/utils.ts +42 -0
  77. package/src/core/codemirror/language/panel/panel.tsx +1 -1
  78. package/src/core/config/feature-flag.tsx +2 -0
  79. package/src/theme/useTheme.ts +1 -1
  80. package/src/core/codemirror/language/languages/sql-dialects/README.md +0 -5
  81. package/src/core/codemirror/language/languages/sql-dialects/duckdb.ts +0 -22
  82. package/src/core/codemirror/language/languages/sql-dialects/spec_duckdb.py +0 -257
@@ -1,5 +1,5 @@
1
- import { bw as sr, O as cr, bx as Ki, j as S, by as Xi, bz as Ji, bA as Zi, bB as Qi, c as Ce, G as Ln, bC as Ae, aR as ea, aS as ur, bD as Ot, bE as lr, bF as bt, bG as Ke, bH as xt, L as ta, bI as na, bJ as ra, bK as ia, bL as on, bM as dr, bN as aa, bO as fr, bP as oa, bQ as sa, bR as ca, bS as ua, bT as la, S as da, V as fa, Q as ga, E as ha, a2 as ma, bU as pa, Z as ya, bV as Ea, J as Sa } from "./main-CL0h4e1V.js";
2
- import { i as Na, c as _a, N as Ca, V as Bn } from "./index-BAdBIZkO.js";
1
+ import { bx as sr, M as cr, by as Ki, j as S, bz as Xi, bA as Ji, bB as Zi, bC as Qi, c as Ce, G as Ln, bD as Ae, aS as ea, aT as ur, bE as Ot, bF as lr, bG as bt, bH as Ke, bI as xt, L as ta, bJ as na, bK as ra, bL as ia, bM as on, bN as dr, bO as aa, bP as fr, bQ as oa, bR as sa, bS as ca, bT as ua, bU as la, T as da, W as fa, S as ga, E as ha, a3 as ma, bV as pa, _ as ya, bW as Ea, J as Sa } from "./main-CtTUMXKF.js";
2
+ import { i as Na, c as _a, N as Ca, V as Bn } from "./index-BdqZ5Kqx.js";
3
3
  /**
4
4
  * @license lucide-react v0.525.0 - ISC
5
5
  *
@@ -1,4 +1,4 @@
1
- import { K as S, c as D, j as g } from "./main-CL0h4e1V.js";
1
+ import { O as S, c as D, j as g } from "./main-CtTUMXKF.js";
2
2
  var v = {}, y = {}, x;
3
3
  function T() {
4
4
  return x || (x = 1, (() => {
@@ -1,7 +1,7 @@
1
- import { b1 as d, F as A, at as I, b2 as L, b3 as V, b4 as k, b5 as nn, b6 as rn, b7 as x, b8 as $, b9 as en, ba as P, bb as O, aW as _, bc as p, bd as U, be as tn, bf as an, bg as sn, bh as fn, bi as B, bj as on, ay as h, aY as un, bk as v, bl as G, bm as D, bn as cn, bo as bn, aV as gn, bp as ln, aB as N, aT as yn, av as Tn, bq as An, ax as hn, br as pn, bs as j, bt as K, bu as dn, bv as jn } from "./main-CL0h4e1V.js";
1
+ import { b2 as d, F as A, au as I, b3 as L, b4 as V, b5 as k, b6 as nn, b7 as rn, b8 as P, b9 as $, ba as en, bb as x, bc as O, aX as _, bd as p, be as U, bf as tn, bg as an, bh as sn, bi as fn, bj as B, bk as on, az as h, aZ as un, bl as G, bm as v, bn as D, bo as cn, bp as bn, aW as gn, bq as ln, aC as N, aU as yn, aw as Tn, br as An, ay as hn, bs as pn, bt as j, bu as K, bv as dn, bw as jn } from "./main-CtTUMXKF.js";
2
2
  function wn() {
3
3
  }
4
- function Y(n, r) {
4
+ function q(n, r) {
5
5
  for (var e = -1, t = n == null ? 0 : n.length; ++e < t && r(n[e], e, n) !== false; )
6
6
  ;
7
7
  return n;
@@ -37,47 +37,47 @@ function mn(n, r) {
37
37
  function Cn(n, r) {
38
38
  return d(n, L(n), r);
39
39
  }
40
- var Rn = Object.getOwnPropertySymbols, q = Rn ? function(n) {
40
+ var Rn = Object.getOwnPropertySymbols, Y = Rn ? function(n) {
41
41
  for (var r = []; n; )
42
42
  k(r, L(n)), n = nn(n);
43
43
  return r;
44
44
  } : V;
45
45
  function Mn(n, r) {
46
- return d(n, q(n), r);
46
+ return d(n, Y(n), r);
47
47
  }
48
48
  function Ln(n) {
49
- return rn(n, I, q);
49
+ return rn(n, I, Y);
50
50
  }
51
- var xn = Object.prototype, Pn = xn.hasOwnProperty;
51
+ var Pn = Object.prototype, xn = Pn.hasOwnProperty;
52
52
  function _n(n) {
53
53
  var r = n.length, e = new n.constructor(r);
54
- return r && typeof n[0] == "string" && Pn.call(n, "index") && (e.index = n.index, e.input = n.input), e;
54
+ return r && typeof n[0] == "string" && xn.call(n, "index") && (e.index = n.index, e.input = n.input), e;
55
55
  }
56
56
  function Un(n, r) {
57
- var e = r ? x(n.buffer) : n.buffer;
57
+ var e = r ? P(n.buffer) : n.buffer;
58
58
  return new n.constructor(e, n.byteOffset, n.byteLength);
59
59
  }
60
60
  var Bn = /\w*$/;
61
- function vn(n) {
61
+ function Gn(n) {
62
62
  var r = new n.constructor(n.source, Bn.exec(n));
63
63
  return r.lastIndex = n.lastIndex, r;
64
64
  }
65
65
  var m = $ ? $.prototype : void 0, C = m ? m.valueOf : void 0;
66
- function Gn(n) {
66
+ function vn(n) {
67
67
  return C ? Object(C.call(n)) : {};
68
68
  }
69
- var Dn = "[object Boolean]", Nn = "[object Date]", Kn = "[object Map]", Yn = "[object Number]", qn = "[object RegExp]", Wn = "[object Set]", Hn = "[object String]", Zn = "[object Symbol]", Jn = "[object ArrayBuffer]", Qn = "[object DataView]", Xn = "[object Float32Array]", zn = "[object Float64Array]", Vn = "[object Int8Array]", kn = "[object Int16Array]", nr = "[object Int32Array]", rr = "[object Uint8Array]", er = "[object Uint8ClampedArray]", tr = "[object Uint16Array]", ar = "[object Uint32Array]";
69
+ var Dn = "[object Boolean]", Nn = "[object Date]", Kn = "[object Map]", qn = "[object Number]", Yn = "[object RegExp]", Wn = "[object Set]", Zn = "[object String]", Hn = "[object Symbol]", Xn = "[object ArrayBuffer]", Jn = "[object DataView]", Qn = "[object Float32Array]", zn = "[object Float64Array]", Vn = "[object Int8Array]", kn = "[object Int16Array]", nr = "[object Int32Array]", rr = "[object Uint8Array]", er = "[object Uint8ClampedArray]", tr = "[object Uint16Array]", ar = "[object Uint32Array]";
70
70
  function sr(n, r, e) {
71
71
  var t = n.constructor;
72
72
  switch (r) {
73
- case Jn:
74
- return x(n);
73
+ case Xn:
74
+ return P(n);
75
75
  case Dn:
76
76
  case Nn:
77
77
  return new t(+n);
78
- case Qn:
78
+ case Jn:
79
79
  return Un(n, e);
80
- case Xn:
80
+ case Qn:
81
81
  case zn:
82
82
  case Vn:
83
83
  case kn:
@@ -89,28 +89,28 @@ function sr(n, r, e) {
89
89
  return en(n, e);
90
90
  case Kn:
91
91
  return new t();
92
- case Yn:
93
- case Hn:
94
- return new t(n);
95
92
  case qn:
96
- return vn(n);
97
- case Wn:
98
- return new t();
99
93
  case Zn:
94
+ return new t(n);
95
+ case Yn:
100
96
  return Gn(n);
97
+ case Wn:
98
+ return new t();
99
+ case Hn:
100
+ return vn(n);
101
101
  }
102
102
  }
103
103
  var ir = "[object Map]";
104
104
  function fr(n) {
105
- return P(n) && O(n) == ir;
105
+ return x(n) && O(n) == ir;
106
106
  }
107
107
  var R = p && p.isMap, or = R ? _(R) : fr, ur = "[object Set]";
108
108
  function cr(n) {
109
- return P(n) && O(n) == ur;
109
+ return x(n) && O(n) == ur;
110
110
  }
111
- var M = p && p.isSet, br = M ? _(M) : cr, gr = 1, lr = 2, yr = 4, W = "[object Arguments]", Tr = "[object Array]", Ar = "[object Boolean]", hr = "[object Date]", pr = "[object Error]", H = "[object Function]", dr = "[object GeneratorFunction]", jr = "[object Map]", wr = "[object Number]", Z = "[object Object]", Ir = "[object RegExp]", Or = "[object Set]", Sr = "[object String]", Er = "[object Symbol]", Fr = "[object WeakMap]", $r = "[object ArrayBuffer]", mr = "[object DataView]", Cr = "[object Float32Array]", Rr = "[object Float64Array]", Mr = "[object Int8Array]", Lr = "[object Int16Array]", xr = "[object Int32Array]", Pr = "[object Uint8Array]", _r = "[object Uint8ClampedArray]", Ur = "[object Uint16Array]", Br = "[object Uint32Array]", f = {};
112
- f[W] = f[Tr] = f[$r] = f[mr] = f[Ar] = f[hr] = f[Cr] = f[Rr] = f[Mr] = f[Lr] = f[xr] = f[jr] = f[wr] = f[Z] = f[Ir] = f[Or] = f[Sr] = f[Er] = f[Pr] = f[_r] = f[Ur] = f[Br] = true;
113
- f[pr] = f[H] = f[Fr] = false;
111
+ var M = p && p.isSet, br = M ? _(M) : cr, gr = 1, lr = 2, yr = 4, W = "[object Arguments]", Tr = "[object Array]", Ar = "[object Boolean]", hr = "[object Date]", pr = "[object Error]", Z = "[object Function]", dr = "[object GeneratorFunction]", jr = "[object Map]", wr = "[object Number]", H = "[object Object]", Ir = "[object RegExp]", Or = "[object Set]", Sr = "[object String]", Er = "[object Symbol]", Fr = "[object WeakMap]", $r = "[object ArrayBuffer]", mr = "[object DataView]", Cr = "[object Float32Array]", Rr = "[object Float64Array]", Mr = "[object Int8Array]", Lr = "[object Int16Array]", Pr = "[object Int32Array]", xr = "[object Uint8Array]", _r = "[object Uint8ClampedArray]", Ur = "[object Uint16Array]", Br = "[object Uint32Array]", f = {};
112
+ f[W] = f[Tr] = f[$r] = f[mr] = f[Ar] = f[hr] = f[Cr] = f[Rr] = f[Mr] = f[Lr] = f[Pr] = f[jr] = f[wr] = f[H] = f[Ir] = f[Or] = f[Sr] = f[Er] = f[xr] = f[_r] = f[Ur] = f[Br] = true;
113
+ f[pr] = f[Z] = f[Fr] = false;
114
114
  function w(n, r, e, t, i, s) {
115
115
  var a, o = r & gr, u = r & lr, y = r & yr;
116
116
  if (a !== void 0)
@@ -122,10 +122,10 @@ function w(n, r, e, t, i, s) {
122
122
  if (a = _n(n), !o)
123
123
  return tn(n, a);
124
124
  } else {
125
- var c = O(n), T = c == H || c == dr;
125
+ var c = O(n), T = c == Z || c == dr;
126
126
  if (an(n))
127
127
  return sn(n, o);
128
- if (c == Z || c == W || T && !i) {
128
+ if (c == H || c == W || T && !i) {
129
129
  if (a = u || T ? {} : fn(n), !o)
130
130
  return u ? Mn(n, mn(a, n)) : Cn(n, $n(a, n));
131
131
  } else {
@@ -144,11 +144,11 @@ function w(n, r, e, t, i, s) {
144
144
  a.set(l, w(g, r, e, l, n, s));
145
145
  });
146
146
  var z = y ? u ? Ln : on : u ? I : A, F = b ? void 0 : z(n);
147
- return Y(F || n, function(g, l) {
147
+ return q(F || n, function(g, l) {
148
148
  F && (l = g, g = n[l]), un(a, l, w(g, r, e, l, n, s));
149
149
  }), a;
150
150
  }
151
- var vr = 1, Gr = 2;
151
+ var Gr = 1, vr = 2;
152
152
  function Dr(n, r, e, t) {
153
153
  var i = e.length, s = i;
154
154
  if (n == null)
@@ -166,55 +166,55 @@ function Dr(n, r, e, t) {
166
166
  return false;
167
167
  } else {
168
168
  var b = new B(), c;
169
- if (!(c === void 0 ? v(y, u, vr | Gr, t, b) : c))
169
+ if (!(c === void 0 ? G(y, u, Gr | vr, t, b) : c))
170
170
  return false;
171
171
  }
172
172
  }
173
173
  return true;
174
174
  }
175
- function J(n) {
175
+ function X(n) {
176
176
  return n === n && !U(n);
177
177
  }
178
178
  function Nr(n) {
179
179
  for (var r = A(n), e = r.length; e--; ) {
180
180
  var t = r[e], i = n[t];
181
- r[e] = [t, i, J(i)];
181
+ r[e] = [t, i, X(i)];
182
182
  }
183
183
  return r;
184
184
  }
185
- function Q(n, r) {
185
+ function J(n, r) {
186
186
  return function(e) {
187
187
  return e == null ? false : e[n] === r && (r !== void 0 || n in Object(e));
188
188
  };
189
189
  }
190
190
  function Kr(n) {
191
191
  var r = Nr(n);
192
- return r.length == 1 && r[0][2] ? Q(r[0][0], r[0][1]) : function(e) {
192
+ return r.length == 1 && r[0][2] ? J(r[0][0], r[0][1]) : function(e) {
193
193
  return e === n || Dr(e, n, r);
194
194
  };
195
195
  }
196
- var Yr = 1, qr = 2;
196
+ var qr = 1, Yr = 2;
197
197
  function Wr(n, r) {
198
- return G(n) && J(r) ? Q(D(n), r) : function(e) {
198
+ return v(n) && X(r) ? J(D(n), r) : function(e) {
199
199
  var t = cn(e, n);
200
- return t === void 0 && t === r ? bn(e, n) : v(r, t, Yr | qr);
200
+ return t === void 0 && t === r ? bn(e, n) : G(r, t, qr | Yr);
201
201
  };
202
202
  }
203
- function Hr(n) {
203
+ function Zr(n) {
204
204
  return function(r) {
205
205
  return gn(r, n);
206
206
  };
207
207
  }
208
- function Zr(n) {
209
- return G(n) ? ln(D(n)) : Hr(n);
208
+ function Hr(n) {
209
+ return v(n) ? ln(D(n)) : Zr(n);
210
210
  }
211
- function X(n) {
212
- return typeof n == "function" ? n : n == null ? N : typeof n == "object" ? h(n) ? Wr(n[0], n[1]) : Kr(n) : Zr(n);
211
+ function Q(n) {
212
+ return typeof n == "function" ? n : n == null ? N : typeof n == "object" ? h(n) ? Wr(n[0], n[1]) : Kr(n) : Hr(n);
213
213
  }
214
- function Jr(n, r) {
214
+ function Xr(n, r) {
215
215
  return n && yn(n, r, A);
216
216
  }
217
- function Qr(n, r) {
217
+ function Jr(n, r) {
218
218
  return function(e, t) {
219
219
  if (e == null)
220
220
  return e;
@@ -225,13 +225,13 @@ function Qr(n, r) {
225
225
  return e;
226
226
  };
227
227
  }
228
- var S = Qr(Jr);
229
- function Xr(n) {
228
+ var S = Jr(Xr);
229
+ function Qr(n) {
230
230
  return typeof n == "function" ? n : N;
231
231
  }
232
232
  function ae(n, r) {
233
- var e = h(n) ? Y : S;
234
- return e(n, Xr(r));
233
+ var e = h(n) ? q : S;
234
+ return e(n, Qr(r));
235
235
  }
236
236
  function zr(n, r) {
237
237
  var e = [];
@@ -241,7 +241,7 @@ function zr(n, r) {
241
241
  }
242
242
  function se(n, r) {
243
243
  var e = h(n) ? An : zr;
244
- return e(n, X(r));
244
+ return e(n, Q(r));
245
245
  }
246
246
  function Vr(n, r) {
247
247
  return hn(r, function(e) {
@@ -261,7 +261,7 @@ function kr(n, r, e, t, i) {
261
261
  }
262
262
  function oe(n, r, e) {
263
263
  var t = h(n) ? pn : kr, i = arguments.length < 3;
264
- return t(n, X(r), e, i, S);
264
+ return t(n, Q(r), e, i, S);
265
265
  }
266
266
  var ne = 1 / 0, re = j && 1 / K(new j([, -0]))[1] == ne ? function(n) {
267
267
  return new j(n);
@@ -291,13 +291,13 @@ export {
291
291
  ue as a,
292
292
  w as b,
293
293
  ae as c,
294
- X as d,
294
+ Q as d,
295
295
  In as e,
296
296
  se as f,
297
297
  S as g,
298
- Xr as h,
298
+ Qr as h,
299
299
  fe as i,
300
- Jr as j,
300
+ Xr as j,
301
301
  Fn as k,
302
302
  En as l,
303
303
  Ln as m,
@@ -1,4 +1,4 @@
1
- import { c as b, L, l as h, j as g, E, a as v, C as y, R as N } from "./main-CL0h4e1V.js";
1
+ import { c as b, L, l as h, j as g, E, a as v, C as y, R as N } from "./main-CtTUMXKF.js";
2
2
  const $ = (x) => {
3
3
  const e = b.c(26);
4
4
  let t, o, l, s;
@@ -1,9 +1,9 @@
1
- import { _ as nt, g as Je, s as Qe, a as Ke, b as je, t as _e, q as tr, K as er, V as rr, F as ir, G as ar, H as nr, z as or, l as Pe, a5 as Ne, c as Le, an as Ee, d as sr, ao as lr, ap as hr } from "./mermaid-BeozQMHc.js";
2
- import { p as fr } from "./chunk-353BL4L5-BERPTU9j.js";
3
- import { I as cr } from "./chunk-AACKK3MU-DKFmZAmW.js";
4
- import { p as gr } from "./treemap-75Q7IDZK-B00Ow4su.js";
1
+ import { _ as nt, g as Je, s as Qe, a as Ke, b as je, t as _e, q as tr, K as er, V as rr, F as ir, G as ar, H as nr, z as or, l as Pe, a5 as Ne, c as Le, an as Ee, d as sr, ao as lr, ap as hr } from "./mermaid-T2yOt-G1.js";
2
+ import { p as fr } from "./chunk-353BL4L5-CCxt33Au.js";
3
+ import { I as cr } from "./chunk-AACKK3MU-C0xSOsSm.js";
4
+ import { p as gr } from "./treemap-75Q7IDZK-4DitaMDv.js";
5
5
  import { c as Ge } from "./cytoscape.esm-DHKdpbSh.js";
6
- import { O as ur } from "./main-CL0h4e1V.js";
6
+ import { M as ur } from "./main-CtTUMXKF.js";
7
7
  var he = { exports: {} }, fe = { exports: {} }, ce = { exports: {} }, dr = ce.exports, xe;
8
8
  function vr() {
9
9
  return xe || (xe = 1, function(C, X) {
@@ -1,9 +1,9 @@
1
1
  var _a, _b;
2
- import { g as oe } from "./chunk-E2GYISFI-CU8uK8B5.js";
3
- import { _ as d, G as rt, d as O, e as he, l as L, z as de, B as ge, c as R, a3 as ue, Q as pe, a4 as j, a5 as Wt, a6 as fe, u as $, k as xe, a7 as ye, a8 as xt, a9 as be, i as Tt } from "./mermaid-BeozQMHc.js";
4
- import { c as we } from "./clone-C3HJdTTe.js";
5
- import { G as me } from "./graph-CRdDo12s.js";
6
- import { c as Le } from "./channel-w0TvEgyJ.js";
2
+ import { g as oe } from "./chunk-E2GYISFI-CoVfLOj4.js";
3
+ import { _ as d, G as rt, d as O, e as he, l as L, z as de, B as ge, c as R, a3 as ue, Q as pe, a4 as j, a5 as Wt, a6 as fe, u as $, k as xe, a7 as ye, a8 as xt, a9 as be, i as Tt } from "./mermaid-T2yOt-G1.js";
4
+ import { c as we } from "./clone-BjtVIXpn.js";
5
+ import { G as me } from "./graph-1MP_VZoE.js";
6
+ import { c as Le } from "./channel-BfUZ6-T3.js";
7
7
  import { l as Se, k as ke } from "./timer-BYwnU4DF.js";
8
8
  var yt = function() {
9
9
  var e = /* @__PURE__ */ d(function(D, y, g, f) {
@@ -1,6 +1,6 @@
1
1
  var _a, _b;
2
- import { g as Oe, d as Re } from "./chunk-67H74DCK-BKpGel6k.js";
3
- import { _ as g, s as Se, g as De, a as Pe, b as Be, c as Dt, d as Nt, l as he, e as Ie, f as Me, h as Tt, i as pe, j as Le, w as Ne, k as Jt, m as ue } from "./mermaid-BeozQMHc.js";
2
+ import { g as Oe, d as Re } from "./chunk-67H74DCK-DCXh45M8.js";
3
+ import { _ as g, s as Se, g as De, a as Pe, b as Be, c as Dt, d as Nt, l as he, e as Ie, f as Me, h as Tt, i as pe, j as Le, w as Ne, k as Jt, m as ue } from "./mermaid-T2yOt-G1.js";
4
4
  var jt = function() {
5
5
  var e = /* @__PURE__ */ g(function(_t, x, m, v) {
6
6
  for (m = m || {}, v = _t.length; v--; m[_t[v]] = x) ;
@@ -1,4 +1,4 @@
1
- import { U as a, C as n } from "./mermaid-BeozQMHc.js";
1
+ import { U as a, C as n } from "./mermaid-T2yOt-G1.js";
2
2
  const t = (r, o) => a.lang.round(n.parse(r)[o]);
3
3
  export {
4
4
  t as c
@@ -1,4 +1,4 @@
1
- import { _ as i } from "./mermaid-BeozQMHc.js";
1
+ import { _ as i } from "./mermaid-T2yOt-G1.js";
2
2
  function t(c, e) {
3
3
  var _a, _b, _c;
4
4
  c.accDescr && ((_a = e.setAccDescription) == null ? void 0 : _a.call(e, c.accDescr)), c.accTitle && ((_b = e.setAccTitle) == null ? void 0 : _b.call(e, c.accTitle)), c.title && ((_c = e.setDiagramTitle) == null ? void 0 : _c.call(e, c.title));
@@ -1,4 +1,4 @@
1
- import { _ as n, n as o, j as l } from "./mermaid-BeozQMHc.js";
1
+ import { _ as n, n as o, j as l } from "./mermaid-T2yOt-G1.js";
2
2
  var x = /* @__PURE__ */ n((s, t) => {
3
3
  const e = s.append("rect");
4
4
  if (e.attr("x", t.x), e.attr("y", t.y), e.attr("fill", t.fill), e.attr("stroke", t.stroke), e.attr("width", t.width), e.attr("height", t.height), t.name && e.attr("name", t.name), t.rx && e.attr("rx", t.rx), t.ry && e.attr("ry", t.ry), t.attrs !== void 0)
@@ -1,5 +1,5 @@
1
1
  var _a;
2
- import { _ as i } from "./mermaid-BeozQMHc.js";
2
+ import { _ as i } from "./mermaid-T2yOt-G1.js";
3
3
  var r = (_a = class {
4
4
  /**
5
5
  * @param init - Function that creates the default state.
@@ -1,4 +1,4 @@
1
- import { _ as a, d as o } from "./mermaid-BeozQMHc.js";
1
+ import { _ as a, d as o } from "./mermaid-T2yOt-G1.js";
2
2
  var d = /* @__PURE__ */ a((t, e) => {
3
3
  let n;
4
4
  return e === "sandbox" && (n = o("#i" + t)), (e === "sandbox" ? o(n.nodes()[0].contentDocument.body) : o("body")).select(`[id="${t}"]`);
@@ -1,4 +1,4 @@
1
- import { _ as e } from "./mermaid-BeozQMHc.js";
1
+ import { _ as e } from "./mermaid-T2yOt-G1.js";
2
2
  var l = /* @__PURE__ */ e(() => `
3
3
  /* Font Awesome icon styling - consolidated */
4
4
  .label-icon {
@@ -1,7 +1,7 @@
1
1
  var _a;
2
- import { g as Zt } from "./chunk-BFAMUDN2-ByskscqU.js";
3
- import { s as te } from "./chunk-SKB7J2MH-D3VsLhj0.js";
4
- import { _ as d, l as _, c as w, r as ee, u as se, a as ie, b as re, g as ae, s as ne, q as oe, t as le, T as ce, k as U, z as he } from "./mermaid-BeozQMHc.js";
2
+ import { g as Zt } from "./chunk-BFAMUDN2-Behwqfnf.js";
3
+ import { s as te } from "./chunk-SKB7J2MH-Bp2xM-uy.js";
4
+ import { _ as d, l as _, c as w, r as ee, u as se, a as ie, b as re, g as ae, s as ne, q as oe, t as le, T as ce, k as U, z as he } from "./mermaid-T2yOt-G1.js";
5
5
  var kt = function() {
6
6
  var t = /* @__PURE__ */ d(function(Y, a, c, r) {
7
7
  for (c = c || {}, r = Y.length; r--; c[Y[r]] = a) ;
@@ -1,4 +1,4 @@
1
- import { _ as a, e as w, l as x } from "./mermaid-BeozQMHc.js";
1
+ import { _ as a, e as w, l as x } from "./mermaid-T2yOt-G1.js";
2
2
  var d = /* @__PURE__ */ a((e, t, i, r) => {
3
3
  e.attr("class", i);
4
4
  const { width: o, height: h, x: n, y: c } = u(e, t);
@@ -1,8 +1,8 @@
1
1
  var _a, _b;
2
- import { g as Ze } from "./chunk-E2GYISFI-CU8uK8B5.js";
3
- import { g as $e } from "./chunk-BFAMUDN2-ByskscqU.js";
4
- import { s as et } from "./chunk-SKB7J2MH-D3VsLhj0.js";
5
- import { _ as p, l as ve, c as D, p as tt, r as st, u as Ie, d as H, b as it, a as at, s as nt, g as rt, q as ut, t as lt, k as x, z as ct, y as ot, i as ht, S as M } from "./mermaid-BeozQMHc.js";
2
+ import { g as Ze } from "./chunk-E2GYISFI-CoVfLOj4.js";
3
+ import { g as $e } from "./chunk-BFAMUDN2-Behwqfnf.js";
4
+ import { s as et } from "./chunk-SKB7J2MH-Bp2xM-uy.js";
5
+ import { _ as p, l as ve, c as D, p as tt, r as st, u as Ie, d as H, b as it, a as at, s as nt, g as rt, q as ut, t as lt, k as x, z as ct, y as ot, i as ht, S as M } from "./mermaid-T2yOt-G1.js";
6
6
  var Oe = function() {
7
7
  var e = /* @__PURE__ */ p(function(v, l, c, d) {
8
8
  for (c = c || {}, d = v.length; d--; c[v[d]] = l) ;
@@ -1,5 +1,5 @@
1
- import { s as r, c as s, a as e, C as t } from "./chunk-SZ463SBG-DdwzKdw7.js";
2
- import { _ as l } from "./mermaid-BeozQMHc.js";
1
+ import { s as r, c as s, a as e, C as t } from "./chunk-SZ463SBG-DBpCja3U.js";
2
+ import { _ as l } from "./mermaid-T2yOt-G1.js";
3
3
  var d = {
4
4
  parser: e,
5
5
  get db() {
@@ -1,5 +1,5 @@
1
- import { s as r, c as s, a as e, C as t } from "./chunk-SZ463SBG-DdwzKdw7.js";
2
- import { _ as l } from "./mermaid-BeozQMHc.js";
1
+ import { s as r, c as s, a as e, C as t } from "./chunk-SZ463SBG-DBpCja3U.js";
2
+ import { _ as l } from "./mermaid-T2yOt-G1.js";
3
3
  var d = {
4
4
  parser: e,
5
5
  get db() {
@@ -1,4 +1,4 @@
1
- import { b as r } from "./_baseUniq-Dhn_Qa6Q.js";
1
+ import { b as r } from "./_baseUniq-bLCPH1Ep.js";
2
2
  var e = 4;
3
3
  function a(o) {
4
4
  return r(o, e);
@@ -0,0 +1,7 @@
1
+ const e = /* @__PURE__ */ JSON.parse(`{"select":{"description":"Retrieves data from one or more tables","syntax":"SELECT column1, column2, ... FROM table_name","example":"SELECT name, email FROM users WHERE active = true"},"from":{"description":"Specifies which table to select data from","syntax":"FROM table_name","example":"FROM users u JOIN orders o ON u.id = o.user_id"},"where":{"description":"Filters records based on specified conditions","syntax":"WHERE condition","example":"WHERE age > 18 AND status = 'active'"},"join":{"description":"Combines rows from two or more tables based on a related column","syntax":"JOIN table_name ON condition","example":"JOIN orders ON users.id = orders.user_id"},"inner":{"description":"Returns records that have matching values in both tables","syntax":"INNER JOIN table_name ON condition","example":"INNER JOIN orders ON users.id = orders.user_id"},"left":{"description":"Returns all records from the left table and matching records from the right","syntax":"LEFT JOIN table_name ON condition","example":"LEFT JOIN orders ON users.id = orders.user_id"},"right":{"description":"Returns all records from the right table and matching records from the left","syntax":"RIGHT JOIN table_name ON condition","example":"RIGHT JOIN users ON users.id = orders.user_id"},"full":{"description":"Returns all records when there is a match in either left or right table","syntax":"FULL OUTER JOIN table_name ON condition","example":"FULL OUTER JOIN orders ON users.id = orders.user_id"},"outer":{"description":"Used with FULL to return all records from both tables","syntax":"FULL OUTER JOIN table_name ON condition","example":"FULL OUTER JOIN orders ON users.id = orders.user_id"},"cross":{"description":"Returns the Cartesian product of both tables","syntax":"CROSS JOIN table_name","example":"CROSS JOIN colors"},"order":{"description":"Sorts the result set in ascending or descending order","syntax":"ORDER BY column_name [ASC|DESC]","example":"ORDER BY created_at DESC, name ASC"},"by":{"description":"Used with ORDER BY and GROUP BY clauses","syntax":"ORDER BY column_name or GROUP BY column_name","example":"ORDER BY name ASC or GROUP BY category"},"group":{"description":"Groups rows that have the same values into summary rows","syntax":"GROUP BY column_name","example":"GROUP BY category HAVING COUNT(*) > 5"},"having":{"description":"Filters groups based on specified conditions (used with GROUP BY)","syntax":"HAVING condition","example":"GROUP BY category HAVING COUNT(*) > 5"},"insert":{"description":"Adds new records to a table","syntax":"INSERT INTO table_name (columns) VALUES (values)","example":"INSERT INTO users (name, email) VALUES ('John', 'john@example.com')"},"into":{"description":"Specifies the target table for INSERT statements","syntax":"INSERT INTO table_name","example":"INSERT INTO users (name, email) VALUES ('John', 'john@example.com')"},"values":{"description":"Specifies the values to insert into a table","syntax":"VALUES (value1, value2, ...)","example":"VALUES ('John', 'john@example.com', true)"},"update":{"description":"Modifies existing records in a table","syntax":"UPDATE table_name SET column = value WHERE condition","example":"UPDATE users SET email = 'new@example.com' WHERE id = 1"},"set":{"description":"Specifies which columns to update and their new values","syntax":"SET column1 = value1, column2 = value2","example":"SET name = 'John', email = 'john@example.com'"},"delete":{"description":"Removes records from a table","syntax":"DELETE FROM table_name WHERE condition","example":"DELETE FROM users WHERE active = false"},"create":{"description":"Creates a new table, database, or other database object","syntax":"CREATE TABLE table_name (column definitions)","example":"CREATE TABLE users (id INT PRIMARY KEY, name VARCHAR(100))"},"table":{"description":"Specifies a table in CREATE, ALTER, or DROP statements","syntax":"CREATE TABLE table_name or ALTER TABLE table_name","example":"CREATE TABLE users (id INT, name VARCHAR(100))"},"drop":{"description":"Deletes a table, database, or other database object","syntax":"DROP TABLE table_name","example":"DROP TABLE old_users"},"alter":{"description":"Modifies an existing database object","syntax":"ALTER TABLE table_name ADD/DROP/MODIFY column","example":"ALTER TABLE users ADD COLUMN phone VARCHAR(20)"},"add":{"description":"Adds a new column or constraint to a table","syntax":"ALTER TABLE table_name ADD column_name data_type","example":"ALTER TABLE users ADD phone VARCHAR(20)"},"column":{"description":"Specifies a column in table operations","syntax":"ADD COLUMN column_name or DROP COLUMN column_name","example":"ADD COLUMN created_at TIMESTAMP DEFAULT NOW()"},"primary":{"description":"Defines a primary key constraint","syntax":"PRIMARY KEY (column_name)","example":"CREATE TABLE users (id INT PRIMARY KEY, name VARCHAR(100))"},"key":{"description":"Used with PRIMARY or FOREIGN to define constraints","syntax":"PRIMARY KEY or FOREIGN KEY","example":"PRIMARY KEY (id) or FOREIGN KEY (user_id) REFERENCES users(id)"},"foreign":{"description":"Defines a foreign key constraint","syntax":"FOREIGN KEY (column_name) REFERENCES table_name(column_name)","example":"FOREIGN KEY (user_id) REFERENCES users(id)"},"references":{"description":"Specifies the referenced table and column for foreign keys","syntax":"REFERENCES table_name(column_name)","example":"FOREIGN KEY (user_id) REFERENCES users(id)"},"unique":{"description":"Ensures all values in a column are unique","syntax":"UNIQUE (column_name)","example":"CREATE TABLE users (email VARCHAR(255) UNIQUE)"},"constraint":{"description":"Names a constraint for easier management","syntax":"CONSTRAINT constraint_name constraint_type","example":"CONSTRAINT fk_user FOREIGN KEY (user_id) REFERENCES users(id)"},"check":{"description":"Defines a condition that must be true for all rows","syntax":"CHECK (condition)","example":"CHECK (age >= 18)"},"default":{"description":"Specifies a default value for a column","syntax":"column_name data_type DEFAULT value","example":"created_at TIMESTAMP DEFAULT NOW()"},"index":{"description":"Creates an index to improve query performance","syntax":"CREATE INDEX index_name ON table_name (column_name)","example":"CREATE INDEX idx_user_email ON users (email)"},"view":{"description":"Creates a virtual table based on a SELECT statement","syntax":"CREATE VIEW view_name AS SELECT ...","example":"CREATE VIEW active_users AS SELECT * FROM users WHERE active = true"},"limit":{"description":"Restricts the number of records returned","syntax":"LIMIT number","example":"SELECT * FROM users LIMIT 10"},"offset":{"description":"Skips a specified number of rows before returning results","syntax":"OFFSET number","example":"SELECT * FROM users LIMIT 10 OFFSET 20"},"top":{"description":"Limits the number of records returned (SQL Server syntax)","syntax":"SELECT TOP number columns FROM table","example":"SELECT TOP 10 * FROM users"},"fetch":{"description":"Retrieves a specific number of rows (modern SQL standard)","syntax":"OFFSET number ROWS FETCH NEXT number ROWS ONLY","example":"OFFSET 10 ROWS FETCH NEXT 5 ROWS ONLY"},"with":{"description":"Defines a Common Table Expression (CTE)","syntax":"WITH cte_name AS (SELECT ...) SELECT ... FROM cte_name","example":"WITH user_stats AS (SELECT user_id, COUNT(*) FROM orders GROUP BY user_id) SELECT * FROM user_stats"},"recursive":{"description":"Creates a recursive CTE that can reference itself","syntax":"WITH RECURSIVE cte_name AS (...) SELECT ...","example":"WITH RECURSIVE tree AS (SELECT id, parent_id FROM categories WHERE parent_id IS NULL UNION ALL SELECT c.id, c.parent_id FROM categories c JOIN tree t ON c.parent_id = t.id) SELECT * FROM tree"},"distinct":{"description":"Returns only unique values","syntax":"SELECT DISTINCT column_name FROM table_name","example":"SELECT DISTINCT category FROM products"},"count":{"description":"Returns the number of rows that match a condition","syntax":"COUNT(*) or COUNT(column_name)","example":"SELECT COUNT(*) FROM users WHERE active = true"},"sum":{"description":"Returns the sum of numeric values","syntax":"SUM(column_name)","example":"SELECT SUM(price) FROM orders WHERE status = 'completed'"},"avg":{"description":"Returns the average value of numeric values","syntax":"AVG(column_name)","example":"SELECT AVG(age) FROM users"},"max":{"description":"Returns the maximum value","syntax":"MAX(column_name)","example":"SELECT MAX(price) FROM products"},"min":{"description":"Returns the minimum value","syntax":"MIN(column_name)","example":"SELECT MIN(price) FROM products"},"as":{"description":"Creates an alias for a column or table","syntax":"column_name AS alias_name or table_name AS alias_name","example":"SELECT name AS customer_name FROM users AS u"},"on":{"description":"Specifies the join condition between tables","syntax":"JOIN table_name ON condition","example":"JOIN orders ON users.id = orders.user_id"},"and":{"description":"Combines multiple conditions with logical AND","syntax":"WHERE condition1 AND condition2","example":"WHERE age > 18 AND status = 'active'"},"or":{"description":"Combines multiple conditions with logical OR","syntax":"WHERE condition1 OR condition2","example":"WHERE category = 'electronics' OR category = 'books'"},"not":{"description":"Negates a condition","syntax":"WHERE NOT condition","example":"WHERE NOT status = 'inactive'"},"null":{"description":"Represents a missing or unknown value","syntax":"column_name IS NULL or column_name IS NOT NULL","example":"WHERE email IS NOT NULL"},"is":{"description":"Used to test for NULL values or boolean conditions","syntax":"column_name IS NULL or column_name IS NOT NULL","example":"WHERE deleted_at IS NULL"},"in":{"description":"Checks if a value matches any value in a list","syntax":"column_name IN (value1, value2, ...)","example":"WHERE status IN ('active', 'pending', 'approved')"},"between":{"description":"Selects values within a range","syntax":"column_name BETWEEN value1 AND value2","example":"WHERE age BETWEEN 18 AND 65"},"like":{"description":"Searches for a pattern in a column","syntax":"column_name LIKE pattern","example":"WHERE name LIKE 'John%' (starts with 'John')"},"exists":{"description":"Tests whether a subquery returns any rows","syntax":"WHERE EXISTS (subquery)","example":"WHERE EXISTS (SELECT 1 FROM orders WHERE orders.user_id = users.id)"},"any":{"description":"Compares a value to any value returned by a subquery","syntax":"column_name operator ANY (subquery)","example":"WHERE price > ANY (SELECT price FROM products WHERE category = 'electronics')"},"all":{"description":"Compares a value to all values returned by a subquery","syntax":"column_name operator ALL (subquery)","example":"WHERE price > ALL (SELECT price FROM products WHERE category = 'books')"},"some":{"description":"Synonym for ANY - compares a value to some values in a subquery","syntax":"column_name operator SOME (subquery)","example":"WHERE price > SOME (SELECT price FROM products WHERE category = 'electronics')"},"union":{"description":"Combines the result sets of two or more SELECT statements","syntax":"SELECT ... UNION SELECT ...","example":"SELECT name FROM customers UNION SELECT name FROM suppliers"},"intersect":{"description":"Returns rows that are in both result sets","syntax":"SELECT ... INTERSECT SELECT ...","example":"SELECT customer_id FROM orders INTERSECT SELECT customer_id FROM returns"},"except":{"description":"Returns rows from the first query that are not in the second","syntax":"SELECT ... EXCEPT SELECT ...","example":"SELECT customer_id FROM customers EXCEPT SELECT customer_id FROM blacklist"},"case":{"description":"Provides conditional logic in SQL queries","syntax":"CASE WHEN condition THEN result ELSE result END","example":"CASE WHEN age < 18 THEN 'Minor' ELSE 'Adult' END"},"when":{"description":"Specifies conditions in CASE statements","syntax":"CASE WHEN condition THEN result","example":"CASE WHEN score >= 90 THEN 'A' WHEN score >= 80 THEN 'B' END"},"then":{"description":"Specifies the result for a WHEN condition","syntax":"WHEN condition THEN result","example":"WHEN age < 18 THEN 'Minor'"},"else":{"description":"Specifies the default result in CASE statements","syntax":"CASE WHEN condition THEN result ELSE default_result END","example":"CASE WHEN score >= 60 THEN 'Pass' ELSE 'Fail' END"},"end":{"description":"Terminates a CASE statement","syntax":"CASE WHEN condition THEN result END","example":"CASE WHEN age < 18 THEN 'Minor' ELSE 'Adult' END"},"over":{"description":"Defines a window for window functions","syntax":"window_function() OVER (PARTITION BY ... ORDER BY ...)","example":"ROW_NUMBER() OVER (PARTITION BY department ORDER BY salary DESC)"},"partition":{"description":"Divides the result set into groups for window functions","syntax":"OVER (PARTITION BY column_name)","example":"SUM(salary) OVER (PARTITION BY department)"},"row_number":{"description":"Assigns a unique sequential integer to each row","syntax":"ROW_NUMBER() OVER (ORDER BY column_name)","example":"ROW_NUMBER() OVER (ORDER BY created_at DESC)"},"rank":{"description":"Assigns a rank to each row with gaps for ties","syntax":"RANK() OVER (ORDER BY column_name)","example":"RANK() OVER (ORDER BY score DESC)"},"dense_rank":{"description":"Assigns a rank to each row without gaps for ties","syntax":"DENSE_RANK() OVER (ORDER BY column_name)","example":"DENSE_RANK() OVER (ORDER BY score DESC)"},"begin":{"description":"Starts a transaction block","syntax":"BEGIN [TRANSACTION]","example":"BEGIN; UPDATE accounts SET balance = balance - 100; COMMIT;"},"commit":{"description":"Permanently saves all changes made in the current transaction","syntax":"COMMIT [TRANSACTION]","example":"BEGIN; INSERT INTO users VALUES (...); COMMIT;"},"rollback":{"description":"Undoes all changes made in the current transaction","syntax":"ROLLBACK [TRANSACTION]","example":"BEGIN; DELETE FROM users WHERE id = 1; ROLLBACK;"},"transaction":{"description":"Groups multiple SQL statements into a single unit of work","syntax":"BEGIN TRANSACTION; ... COMMIT/ROLLBACK;","example":"BEGIN TRANSACTION; UPDATE accounts SET balance = balance - 100 WHERE id = 1; COMMIT;"}}`), a = {
2
+ keywords: e
3
+ };
4
+ export {
5
+ a as default,
6
+ e as keywords
7
+ };
@@ -1,9 +1,9 @@
1
- import { _ as w, ae as F, af as Y, ag as _, ah as H, l as i, c as V, ai as U, aj as $, a1 as q, a6 as z, a2 as P, a0 as K, ak as Q, al as W, am as Z } from "./mermaid-BeozQMHc.js";
2
- import { G as B } from "./graph-CRdDo12s.js";
3
- import { l as I } from "./layout-3sC0Rvql.js";
4
- import { i as b } from "./_baseUniq-Dhn_Qa6Q.js";
5
- import { c as L } from "./clone-C3HJdTTe.js";
6
- import { m as A } from "./min-snIjkOQ_.js";
1
+ import { _ as w, ae as F, af as Y, ag as _, ah as H, l as i, c as V, ai as U, aj as $, a1 as q, a6 as z, a2 as P, a0 as K, ak as Q, al as W, am as Z } from "./mermaid-T2yOt-G1.js";
2
+ import { G as B } from "./graph-1MP_VZoE.js";
3
+ import { l as I } from "./layout-Cb92NmMg.js";
4
+ import { i as b } from "./_baseUniq-bLCPH1Ep.js";
5
+ import { c as L } from "./clone-BjtVIXpn.js";
6
+ import { m as A } from "./min-DrG2wG1u.js";
7
7
  function h(e) {
8
8
  var t = {
9
9
  options: {
@@ -1,5 +1,5 @@
1
- import { G as r, H as $ } from "./main-CL0h4e1V.js";
2
- import { s as z, i as D, a as J, b as Q, T as U, C as Z, m as ee } from "./glide-data-editor-BTCvCt5l.js";
1
+ import { G as r, H as $ } from "./main-CtTUMXKF.js";
2
+ import { s as z, i as D, a as J, b as Q, T as U, C as Z, m as ee } from "./glide-data-editor-C_I32XXb.js";
3
3
  const te = () => (t) => t.targetX, re = () => (t) => t.targetY, ne = () => (t) => t.targetWidth, ie = () => (t) => t.targetHeight, se = () => (t) => t.targetY + 10, ae = () => (t) => Math.max(0, (t.targetHeight - 28) / 2), oe = /* @__PURE__ */ z("div")({
4
4
  name: "DataGridOverlayEditorStyle",
5
5
  class: "gdg-d19meir1",
@@ -1,6 +1,6 @@
1
- import { p as y } from "./chunk-353BL4L5-BERPTU9j.js";
2
- import { _ as i, s as B, g as S, t as z, q as F, a as P, b as E, F as w, K as W, e as T, z as D, G as _, H as A, l as x } from "./mermaid-BeozQMHc.js";
3
- import { p as N } from "./treemap-75Q7IDZK-B00Ow4su.js";
1
+ import { p as y } from "./chunk-353BL4L5-CCxt33Au.js";
2
+ import { _ as i, s as B, g as S, t as z, q as F, a as P, b as E, F as w, K as W, e as T, z as D, G as _, H as A, l as x } from "./mermaid-T2yOt-G1.js";
3
+ import { p as N } from "./treemap-75Q7IDZK-4DitaMDv.js";
4
4
  var m = {
5
5
  packet: []
6
6
  }, v = structuredClone(m), L = A.packet, Y = /* @__PURE__ */ i(() => {
@@ -1,9 +1,9 @@
1
1
  var _a;
2
- import { s as ne } from "./chunk-SKB7J2MH-D3VsLhj0.js";
3
- import { _ as h, F as j, G as q, K as re, e as oe, l as B, aa as L, d as E, b as ie, a as ce, q as de, t as pe, g as he, s as me, H as ue, ab as fe, z as ye } from "./mermaid-BeozQMHc.js";
4
- import { p as ge } from "./chunk-353BL4L5-BERPTU9j.js";
5
- import { p as Se } from "./treemap-75Q7IDZK-B00Ow4su.js";
6
- import { f as P } from "./main-CL0h4e1V.js";
2
+ import { s as ne } from "./chunk-SKB7J2MH-Bp2xM-uy.js";
3
+ import { _ as h, F as j, G as q, K as re, e as oe, l as B, aa as L, d as E, b as ie, a as ce, q as de, t as pe, g as he, s as me, H as ue, ab as fe, z as ye } from "./mermaid-T2yOt-G1.js";
4
+ import { p as ge } from "./chunk-353BL4L5-CCxt33Au.js";
5
+ import { p as Se } from "./treemap-75Q7IDZK-4DitaMDv.js";
6
+ import { f as P } from "./main-CtTUMXKF.js";
7
7
  import { o as R } from "./ordinal-CYN5qNoq.js";
8
8
  import { h as xe, t as be } from "./index-pBmAzQJl.js";
9
9
  var K = (_a = class {
@@ -1,6 +1,6 @@
1
- import { p as k } from "./chunk-353BL4L5-BERPTU9j.js";
2
- import { _ as l, s as R, g as F, t as I, q as _, a as E, b as D, K as G, z, F as y, G as C, H as P, l as H, M as V } from "./mermaid-BeozQMHc.js";
3
- import { p as W } from "./treemap-75Q7IDZK-B00Ow4su.js";
1
+ import { p as k } from "./chunk-353BL4L5-CCxt33Au.js";
2
+ import { _ as l, s as R, g as F, t as I, q as _, a as E, b as D, K as G, z, F as y, G as C, H as P, l as H, M as V } from "./mermaid-T2yOt-G1.js";
3
+ import { p as W } from "./treemap-75Q7IDZK-4DitaMDv.js";
4
4
  var x = {
5
5
  showLegend: true,
6
6
  ticks: 5,
@@ -0,0 +1,7 @@
1
+ const e = /* @__PURE__ */ JSON.parse(`{"array_agg":{"description":"Returns a LIST containing all the values of a column.","example":"list(A)"},"array_aggr":{"description":"Executes the aggregate function name on the elements of list","example":"list_aggregate([1, 2, NULL], 'min')"},"array_aggregate":{"description":"Executes the aggregate function name on the elements of list","example":"list_aggregate([1, 2, NULL], 'min')"},"array_apply":{"description":"Returns a list that is the result of applying the lambda function to each element of the input list. See the Lambda Functions section for more details","example":"list_transform([1, 2, 3], x -> x + 1)"},"array_cat":{"description":"Concatenates two lists.","example":"list_concat([2, 3], [4, 5, 6])"},"array_concat":{"description":"Concatenates two lists.","example":"list_concat([2, 3], [4, 5, 6])"},"array_contains":{"description":"Returns true if the list contains the element.","example":"list_contains([1, 2, NULL], 1)"},"array_cosine_distance":{"description":"Compute the cosine distance between two arrays of the same size. The array elements can not be NULL. The arrays can have any size as long as the size is the same for both arguments.","example":"array_cosine_distance([1, 2, 3], [1, 2, 3])"},"array_cosine_similarity":{"description":"Compute the cosine similarity between two arrays of the same size. The array elements can not be NULL. The arrays can have any size as long as the size is the same for both arguments.","example":"array_cosine_similarity([1, 2, 3], [1, 2, 3])"},"array_cross_product":{"description":"Compute the cross product of two arrays of size 3. The array elements can not be NULL.","example":"array_cross_product([1, 2, 3], [1, 2, 3])"},"array_distance":{"description":"Compute the distance between two arrays of the same size. The array elements can not be NULL. The arrays can have any size as long as the size is the same for both arguments.","example":"array_distance([1, 2, 3], [1, 2, 3])"},"array_distinct":{"description":"Removes all duplicates and NULLs from a list. Does not preserve the original order","example":"list_distinct([1, 1, NULL, -3, 1, 5])"},"array_dot_product":{"description":"Compute the inner product between two arrays of the same size. The array elements can not be NULL. The arrays can have any size as long as the size is the same for both arguments.","example":"array_inner_product([1, 2, 3], [1, 2, 3])"},"array_extract":{"description":"Extract the indexth (1-based) value from the array.","example":"array_extract('DuckDB', 2)"},"array_filter":{"description":"Constructs a list from those elements of the input list for which the lambda function returns true","example":"list_filter([3, 4, 5], x -> x > 4)"},"array_grade_up":{"description":"Returns the index of their sorted position.","example":"list_grade_up([3, 6, 1, 2])"},"array_has":{"description":"Returns true if the list contains the element.","example":"list_contains([1, 2, NULL], 1)"},"array_has_all":{"description":"Returns true if all elements of l2 are in l1. NULLs are ignored.","example":"list_has_all([1, 2, 3], [2, 3])"},"array_has_any":{"description":"Returns true if the lists have any element in common. NULLs are ignored.","example":"list_has_any([1, 2, 3], [2, 3, 4])"},"array_indexof":{"description":"Returns the index of the element if the list contains the element. If the element is not found, it returns NULL.","example":"list_position([1, 2, NULL], 2)"},"array_inner_product":{"description":"Compute the inner product between two arrays of the same size. The array elements can not be NULL. The arrays can have any size as long as the size is the same for both arguments.","example":"array_inner_product([1, 2, 3], [1, 2, 3])"},"array_length":{"description":"Returns the length of the \`list\`.","example":"array_length([1,2,3])"},"array_negative_dot_product":{"description":"Compute the negative inner product between two arrays of the same size. The array elements can not be NULL. The arrays can have any size as long as the size is the same for both arguments.","example":"array_negative_inner_product([1, 2, 3], [1, 2, 3])"},"array_negative_inner_product":{"description":"Compute the negative inner product between two arrays of the same size. The array elements can not be NULL. The arrays can have any size as long as the size is the same for both arguments.","example":"array_negative_inner_product([1, 2, 3], [1, 2, 3])"},"array_position":{"description":"Returns the index of the element if the list contains the element. If the element is not found, it returns NULL.","example":"list_position([1, 2, NULL], 2)"},"array_reduce":{"description":"Returns a single value that is the result of applying the lambda function to each element of the input list, starting with the first element and then repeatedly applying the lambda function to the result of the previous application and the next element of the list. When an initial value is provided, it is used as the first argument to the lambda function","example":"list_reduce([1, 2, 3], (x, y) -> x + y)"},"array_resize":{"description":"Resizes the list to contain size elements. Initializes new elements with value or NULL if value is not set.","example":"list_resize([1, 2, 3], 5, 0)"},"array_reverse_sort":{"description":"Sorts the elements of the list in reverse order","example":"list_reverse_sort([3, 6, 1, 2])"},"array_select":{"description":"Returns a list based on the elements selected by the index_list.","example":"list_select([10, 20, 30, 40], [1, 4])"},"array_slice":{"description":"list_slice with added step feature.","example":"list_slice([4, 5, 6], 2, 3)"},"array_sort":{"description":"Sorts the elements of the list","example":"list_sort([3, 6, 1, 2])"},"array_transform":{"description":"Returns a list that is the result of applying the lambda function to each element of the input list. See the Lambda Functions section for more details","example":"list_transform([1, 2, 3], x -> x + 1)"},"array_unique":{"description":"Counts the unique elements of a list","example":"list_unique([1, 1, NULL, -3, 1, 5])"},"array_value":{"description":"Create an ARRAY containing the argument values.","example":"array_value(4, 5, 6)"},"array_where":{"description":"Returns a list with the BOOLEANs in mask_list applied as a mask to the value_list.","example":"list_where([10, 20, 30, 40], [true, false, false, true])"},"array_zip":{"description":"Zips k LISTs to a new LIST whose length will be that of the longest list. Its elements are structs of k elements from each list list_1, \u2026, list_k, missing elements are replaced with NULL. If truncate is set, all lists are truncated to the smallest list length.","example":"list_zip([1, 2], [3, 4], [5, 6])"},"cast_to_type":{"description":"Casts the first argument to the type of the second argument","example":"cast_to_type('42', NULL::INTEGER)"},"concat":{"description":"Concatenates many strings together.","example":"concat('Hello', ' ', 'World')"},"concat_ws":{"description":"Concatenates strings together separated by the specified separator.","example":"concat_ws(', ', 'Banana', 'Apple', 'Melon')"},"contains":{"description":"Returns true if the \`list\` contains the \`element\`.","example":"contains([1, 2, NULL], 1)"},"count":{"description":"Returns the number of non-null values in arg.","example":"count(A)"},"count_if":{"description":"Counts the total number of TRUE values for a boolean column","example":"count_if(A)"},"countif":{"description":"Counts the total number of TRUE values for a boolean column","example":"count_if(A)"},"date_diff":{"description":"The number of partition boundaries between the timestamps","example":"date_diff('hour', TIMESTAMPTZ '1992-09-30 23:59:59', TIMESTAMPTZ '1992-10-01 01:58:00')"},"date_part":{"description":"Get subfield (equivalent to extract)","example":"date_part('minute', TIMESTAMP '1992-09-20 20:38:40')"},"date_sub":{"description":"The number of complete partitions between the timestamps","example":"date_sub('hour', TIMESTAMPTZ '1992-09-30 23:59:59', TIMESTAMPTZ '1992-10-01 01:58:00')"},"date_trunc":{"description":"Truncate to specified precision","example":"date_trunc('hour', TIMESTAMPTZ '1992-09-20 20:38:40')"},"datediff":{"description":"The number of partition boundaries between the timestamps","example":"date_diff('hour', TIMESTAMPTZ '1992-09-30 23:59:59', TIMESTAMPTZ '1992-10-01 01:58:00')"},"datepart":{"description":"Get subfield (equivalent to extract)","example":"date_part('minute', TIMESTAMP '1992-09-20 20:38:40')"},"datesub":{"description":"The number of complete partitions between the timestamps","example":"date_sub('hour', TIMESTAMPTZ '1992-09-30 23:59:59', TIMESTAMPTZ '1992-10-01 01:58:00')"},"datetrunc":{"description":"Truncate to specified precision","example":"date_trunc('hour', TIMESTAMPTZ '1992-09-20 20:38:40')"},"day":{"description":"Extract the day component from a date or timestamp","example":"day(timestamp '2021-08-03 11:59:44.123456')"},"dayname":{"description":"The (English) name of the weekday","example":"dayname(TIMESTAMP '1992-03-22')"},"dayofmonth":{"description":"Extract the dayofmonth component from a date or timestamp","example":"dayofmonth(timestamp '2021-08-03 11:59:44.123456')"},"dayofweek":{"description":"Extract the dayofweek component from a date or timestamp","example":"dayofweek(timestamp '2021-08-03 11:59:44.123456')"},"dayofyear":{"description":"Extract the dayofyear component from a date or timestamp","example":"dayofyear(timestamp '2021-08-03 11:59:44.123456')"},"generate_series":{"description":"Create a list of values between start and stop - the stop parameter is inclusive","example":"generate_series(2, 5, 3)"},"histogram":{"description":"Returns a LIST of STRUCTs with the fields bucket and count.","example":"histogram(A)"},"histogram_exact":{"description":"Returns a LIST of STRUCTs with the fields bucket and count matching the buckets exactly.","example":"histogram_exact(A, [0, 1, 2])"},"string_agg":{"description":"Concatenates the column string values with an optional separator.","example":"string_agg(A, '-')"},"string_split":{"description":"Splits the \`string\` along the \`separator\`","example":"string_split('hello-world', '-')"},"string_split_regex":{"description":"Splits the \`string\` along the \`regex\`","example":"string_split_regex('hello world; 42', ';? ')"},"string_to_array":{"description":"Splits the \`string\` along the \`separator\`","example":"string_split('hello-world', '-')"},"struct_concat":{"description":"Merge the multiple STRUCTs into a single STRUCT.","example":"struct_concat(struct_pack(i := 4), struct_pack(s := 'string'))"},"struct_extract":{"description":"Extract the named entry from the STRUCT.","example":"struct_extract({'i': 3, 'v2': 3, 'v3': 0}, 'i')"},"struct_extract_at":{"description":"Extract the entry from the STRUCT by position (starts at 1!).","example":"struct_extract_at({'i': 3, 'v2': 3, 'v3': 0}, 2)"},"struct_insert":{"description":"Adds field(s)/value(s) to an existing STRUCT with the argument values. The entry name(s) will be the bound variable name(s)","example":"struct_insert({'a': 1}, b := 2)"},"struct_pack":{"description":"Create a STRUCT containing the argument values. The entry name will be the bound variable name.","example":"struct_pack(i := 4, s := 'string')"},"substring":{"description":"Extract substring of \`length\` characters starting from character \`start\`. Note that a start value of 1 refers to the first character of the \`string\`.","example":"substring('Hello', 2, 2)"},"substring_grapheme":{"description":"Extract substring of \`length\` grapheme clusters starting from character \`start\`. Note that a start value of 1 refers to the first character of the \`string\`.","example":"substring_grapheme('\u{1F986}\u{1F926}\u{1F3FC}\u200D\u2642\uFE0F\u{1F926}\u{1F3FD}\u200D\u2640\uFE0F\u{1F986}', 3, 2)"},"to_base":{"description":"Converts a value to a string in the given base radix, optionally padding with leading zeros to the minimum length","example":"to_base(42, 16)"},"to_base64":{"description":"Converts a \`blob\` to a base64 encoded \`string\`.","example":"base64('A'::BLOB)"},"to_binary":{"description":"Converts the value to binary representation","example":"bin(42)"},"to_centuries":{"description":"Construct a century interval","example":"to_centuries(5)"},"to_days":{"description":"Construct a day interval","example":"to_days(5)"},"to_decades":{"description":"Construct a decade interval","example":"to_decades(5)"},"to_hex":{"description":"Converts the value to hexadecimal representation.","example":"hex(42)"},"to_hours":{"description":"Construct a hour interval","example":"to_hours(5)"},"to_microseconds":{"description":"Construct a microsecond interval","example":"to_microseconds(5)"},"to_millennia":{"description":"Construct a millennium interval","example":"to_millennia(1)"},"to_milliseconds":{"description":"Construct a millisecond interval","example":"to_milliseconds(5.5)"},"to_minutes":{"description":"Construct a minute interval","example":"to_minutes(5)"},"to_months":{"description":"Construct a month interval","example":"to_months(5)"},"to_quarters":{"description":"Construct a quarter interval","example":"to_quarters(5)"},"to_seconds":{"description":"Construct a second interval","example":"to_seconds(5.5)"},"to_timestamp":{"description":"Converts secs since epoch to a timestamp with time zone","example":"to_timestamp(1284352323.5)"},"to_weeks":{"description":"Construct a week interval","example":"to_weeks(5)"},"to_years":{"description":"Construct a year interval","example":"to_years(5)"},"trim":{"description":"Removes any spaces from either side of the string.","example":"trim('>>>>test<<', '><')"}}`), t = {
2
+ keywords: e
3
+ };
4
+ export {
5
+ t as default,
6
+ e as keywords
7
+ };
@@ -1,8 +1,8 @@
1
1
  var _a;
2
- import { g as vt } from "./chunk-BFAMUDN2-ByskscqU.js";
3
- import { s as Dt } from "./chunk-SKB7J2MH-D3VsLhj0.js";
4
- import { _ as o, b as wt, a as Vt, s as Lt, g as Mt, q as Bt, t as Ft, c as $, l as D, z as Yt, y as Pt, B as zt, D as Gt, p as Kt, r as Zt, d as Ut, u as jt } from "./mermaid-BeozQMHc.js";
5
- import { c as Wt } from "./channel-w0TvEgyJ.js";
2
+ import { g as vt } from "./chunk-BFAMUDN2-Behwqfnf.js";
3
+ import { s as Dt } from "./chunk-SKB7J2MH-Bp2xM-uy.js";
4
+ import { _ as o, b as wt, a as Vt, s as Lt, g as Mt, q as Bt, t as Ft, c as $, l as D, z as Yt, y as Pt, B as zt, D as Gt, p as Kt, r as Zt, d as Ut, u as jt } from "./mermaid-T2yOt-G1.js";
5
+ import { c as Wt } from "./channel-BfUZ6-T3.js";
6
6
  var ut = function() {
7
7
  var e = /* @__PURE__ */ o(function(N, n, a, c) {
8
8
  for (a = a || {}, c = N.length; c--; a[N[c]] = n) ;