@oomol-lab/open-flow 0.1.0-beta.14 → 0.1.0-beta.16

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 (44) hide show
  1. package/dist/browser/{createResourceDialog-Cdixb0WC.js → createResourceDialog-DRUIXBbz.js} +24 -25
  2. package/dist/browser/dist-B_T-OpQp.js +4 -0
  3. package/dist/browser/{dist-C46JByB-.js → dist-Dz6Nglsd.js} +61 -61
  4. package/dist/browser/{esm-3CD4_kEl.js → esm-B7A42FzW.js} +11 -1
  5. package/dist/browser/flow-authoring.js +1 -1
  6. package/dist/browser/flow-change.js +1 -1
  7. package/dist/browser/flowChanges-iuoam3Bx.js +10753 -0
  8. package/dist/browser/{flowRunInputEditorStore-NPGePkvP.js → flowRunInputEditorStore-BBqQIOCR.js} +1017 -4100
  9. package/dist/browser/{flowWorkspace-DvitOPqI.js → flowWorkspace-B0UAQ-s7.js} +76839 -91049
  10. package/dist/browser/i18n-JtW9O5x3.js +6881 -0
  11. package/dist/browser/inputValues-DICmJoN-.js +43 -0
  12. package/dist/browser/{languages-i3Xmpt6S.js → languages-C0zQ4GSo.js} +2 -13
  13. package/dist/browser/licenses.md +46 -729
  14. package/dist/browser/main-BDnNHhkU.js +50 -0
  15. package/dist/browser/{markdownContent-BawLYUjh.js → markdownContent-tWc7bRAs.js} +6 -6
  16. package/dist/browser/theme.css +427 -0
  17. package/dist/browser/ui-input.d.ts +3 -0
  18. package/dist/browser/ui-label.d.ts +3 -0
  19. package/dist/browser/ui-textarea.d.ts +3 -0
  20. package/dist/browser/ui.css +2 -0
  21. package/dist/browser/ui.css.d.ts +1 -0
  22. package/dist/browser/ui.d.ts +3 -0
  23. package/dist/browser/ui.js +2401 -0
  24. package/dist/browser/useValueChanged-DSookOEC.js +2944 -0
  25. package/dist/browser/workbench.css +1 -1
  26. package/dist/browser/workbench.js +337 -338
  27. package/dist/browser/workbenchSelect-DgxXqCAa.js +11665 -0
  28. package/dist/common/control-api-conformance.js +7 -6
  29. package/dist/common/control-api.js +16 -16
  30. package/dist/common/control-requests.js +1 -1
  31. package/dist/common/flow-encoding.js +1 -1
  32. package/dist/common/flow-semantics.js +1 -1
  33. package/dist/common/mcp.d.ts +220 -0
  34. package/dist/common/mcp.js +2941 -1495
  35. package/dist/common/scheduler.js +1 -1
  36. package/package.json +9 -1
  37. package/dist/browser/DesignerIcon-Bzpx8BtG.js +0 -2272
  38. package/dist/browser/dist-CP0883sY.js +0 -4
  39. package/dist/browser/flowChanges-CNSahvWH.js +0 -14094
  40. package/dist/browser/getPseudoElementBounds-Dfqo78k7.js +0 -7151
  41. package/dist/browser/inputValues-CczmpMHr.js +0 -30
  42. package/dist/browser/main-DmjVyuWr.js +0 -76
  43. package/dist/browser/select-DCGY8Lom.js +0 -7428
  44. package/dist/browser/workbenchSelect-DdXtOYD1.js +0 -30
@@ -1,19 +1,18 @@
1
- import { a as e } from "./main-DmjVyuWr.js";
2
- import { Vn as t, jt as n } from "./getPseudoElementBounds-Dfqo78k7.js";
3
- import { B as r, H as i, L as a, U as o, V as s, W as c, c as l, d as u, h as d, l as f, m as p, p as m, u as h } from "./select-DCGY8Lom.js";
4
- import { t as g } from "./workbenchSelect-DdXtOYD1.js";
1
+ import { i as e } from "./main-BDnNHhkU.js";
2
+ import { c as t, q as n } from "./useValueChanged-DSookOEC.js";
3
+ import { $t as r, Dn as i, E as a, En as o, On as s, S as c, T as l, Tn as u, b as d, kn as f, l as p, t as m, w as h, x as g } from "./workbenchSelect-DgxXqCAa.js";
5
4
  import { useEffect as _, useRef as v, useState as y } from "react";
6
5
  import { Fragment as b, jsx as x, jsxs as S } from "react/jsx-runtime";
7
6
  //#region src/workbench/browser/runtime/shell/createResourceDialog.tsx
8
7
  function C({ disabled: C, field: w, id: T, issue: E, label: D, name: O, onNameChange: k, onOpenChange: A, onSubmit: j, pending: M, title: N }) {
9
8
  let P = e(), F = v(null), I = v(null), [L, R] = y(!1), z = O.length > 0 && E != null, B = P(z ? `resource.nameIssue.${E}` : "resource.nameHint", { max: 80 }), V = `${T}-message`, H = `${T}-option`;
10
- return _(() => R(!0), []), /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("div", { ref: I }), /* @__PURE__ */ x(f, {
9
+ return _(() => R(!0), []), /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("div", { ref: I }), /* @__PURE__ */ x(d, {
11
10
  onOpenChange: R,
12
11
  onOpenChangeComplete: (e) => {
13
12
  e || A(!1);
14
13
  },
15
14
  open: L,
16
- children: /* @__PURE__ */ x(u, {
15
+ children: /* @__PURE__ */ x(c, {
17
16
  container: I.current,
18
17
  initialFocus: () => F.current,
19
18
  showCloseButton: !1,
@@ -21,28 +20,28 @@ function C({ disabled: C, field: w, id: T, issue: E, label: D, name: O, onNameCh
21
20
  className: "flex flex-col gap-4",
22
21
  onSubmit: j,
23
22
  children: [
24
- /* @__PURE__ */ S(p, {
23
+ /* @__PURE__ */ S(l, {
25
24
  className: "flex-row items-center justify-between",
26
- children: [/* @__PURE__ */ x(d, { children: N }), /* @__PURE__ */ x(h, {
25
+ children: [/* @__PURE__ */ x(a, { children: N }), /* @__PURE__ */ x(g, {
27
26
  "aria-label": P("common.cancel"),
28
- render: /* @__PURE__ */ x(t, {
27
+ render: /* @__PURE__ */ x(n, {
29
28
  size: "icon-sm",
30
29
  variant: "ghost"
31
30
  }),
32
31
  type: "button",
33
- children: /* @__PURE__ */ x(l, { name: "close" })
32
+ children: /* @__PURE__ */ x(p, { name: "close" })
34
33
  })]
35
34
  }),
36
- /* @__PURE__ */ S(o, {
35
+ /* @__PURE__ */ S(s, {
37
36
  className: "gap-4",
38
- children: [/* @__PURE__ */ S(r, {
37
+ children: [/* @__PURE__ */ S(u, {
39
38
  "data-invalid": z,
40
39
  children: [
41
- /* @__PURE__ */ x(c, {
40
+ /* @__PURE__ */ x(f, {
42
41
  htmlFor: T,
43
42
  children: D
44
43
  }),
45
- /* @__PURE__ */ x(n, {
44
+ /* @__PURE__ */ x(t, {
46
45
  autoComplete: "off",
47
46
  "aria-describedby": V,
48
47
  "aria-invalid": z,
@@ -53,17 +52,17 @@ function C({ disabled: C, field: w, id: T, issue: E, label: D, name: O, onNameCh
53
52
  required: !0,
54
53
  value: O
55
54
  }),
56
- x(z ? i : s, {
55
+ x(z ? i : o, {
57
56
  id: V,
58
57
  children: B
59
58
  })
60
59
  ]
61
- }), w != null && /* @__PURE__ */ S(r, { children: [
62
- /* @__PURE__ */ x(c, {
60
+ }), w != null && /* @__PURE__ */ S(u, { children: [
61
+ /* @__PURE__ */ x(f, {
63
62
  htmlFor: w.state == "ready" ? H : void 0,
64
63
  children: w.label
65
64
  }),
66
- w.state == "ready" ? /* @__PURE__ */ x(g, {
65
+ w.state == "ready" ? /* @__PURE__ */ x(m, {
67
66
  ariaLabel: w.ariaLabel,
68
67
  className: "w-full",
69
68
  id: H,
@@ -75,9 +74,9 @@ function C({ disabled: C, field: w, id: T, issue: E, label: D, name: O, onNameCh
75
74
  className: "flex min-h-9 items-center gap-2 rounded-lg border bg-muted/30 px-3 py-2 text-sm text-muted-foreground",
76
75
  role: w.state == "error" ? "alert" : "status",
77
76
  children: [
78
- w.state == "loading" && /* @__PURE__ */ x(a, { "aria-hidden": "true" }),
77
+ w.state == "loading" && /* @__PURE__ */ x(r, { "aria-hidden": "true" }),
79
78
  /* @__PURE__ */ x("span", { children: w.status }),
80
- w.state == "error" && /* @__PURE__ */ x(t, {
79
+ w.state == "error" && /* @__PURE__ */ x(n, {
81
80
  className: "ml-auto bg-background",
82
81
  onClick: w.onRetry,
83
82
  size: "sm",
@@ -87,16 +86,16 @@ function C({ disabled: C, field: w, id: T, issue: E, label: D, name: O, onNameCh
87
86
  })
88
87
  ]
89
88
  }),
90
- /* @__PURE__ */ x(s, { children: w.description })
89
+ /* @__PURE__ */ x(o, { children: w.description })
91
90
  ] })]
92
91
  }),
93
- /* @__PURE__ */ S(m, {
92
+ /* @__PURE__ */ S(h, {
94
93
  className: "mx-0 mb-0 border-0 bg-transparent p-0 pt-1",
95
- children: [/* @__PURE__ */ x(h, {
96
- render: /* @__PURE__ */ x(t, { variant: "outline" }),
94
+ children: [/* @__PURE__ */ x(g, {
95
+ render: /* @__PURE__ */ x(n, { variant: "outline" }),
97
96
  type: "button",
98
97
  children: P("common.cancel")
99
- }), /* @__PURE__ */ x(t, {
98
+ }), /* @__PURE__ */ x(n, {
100
99
  disabled: C || M || E != null,
101
100
  type: "submit",
102
101
  children: P(M ? "common.creating" : "common.create")
@@ -0,0 +1,4 @@
1
+ //#region ../../node_modules/.bun/@wopjs+cast@0.1.16/node_modules/@wopjs/cast/dist/index.mjs
2
+ var e = (e) => e !== void 0, t = (e) => e === !0 || e === !1, n = (e) => typeof e == "string", r = Array.isArray, i = (e) => typeof e == "object" && !!e, a = (e) => i(e) && !r(e), o = (e) => a(e) ? e : void 0;
3
+ //#endregion
4
+ export { n as a, a as i, t as n, o, e as r, r as t };
@@ -1,25 +1,25 @@
1
1
  //#region ../../node_modules/.bun/value-enhancer@5.7.2/node_modules/value-enhancer/dist/index.mjs
2
- var e = {}, t = (e, t) => e?.set?.(t), n = (e) => e, r = Object.is, i = (e, t) => {
3
- if (r(e, t)) return !0;
2
+ var e = {}, t = (e) => e, n = Object.is, r = (e, t) => {
3
+ if (n(e, t)) return !0;
4
4
  if (!Array.isArray(e) || !Array.isArray(t)) return !1;
5
- let n = e.length;
6
- if (t.length !== n) return !1;
7
- for (let i = 0; i < n; i++) if (!r(e[i], t[i])) return !1;
5
+ let r = e.length;
6
+ if (t.length !== r) return !1;
7
+ for (let i = 0; i < r; i++) if (!n(e[i], t[i])) return !1;
8
8
  return !0;
9
- }, a = (e) => e.value, o = (e) => e.map(a), s = (e) => e.$version, c = (e, t) => {
9
+ }, i = (e) => e.value, a = (e) => e.map(i), o = (e) => e.$version, s = (e, t) => {
10
10
  try {
11
11
  e(t);
12
12
  } catch (e) {
13
13
  console.error(e);
14
14
  }
15
- }, l = (e, t) => (e.set = t, e), u = (e) => !!e?.$valCompute, d = (e) => !!e?.set;
16
- function f() {
15
+ }, c = (e, t) => (e.set = t, e), l = (e) => !!e?.$valCompute, u = (e) => !!e?.set;
16
+ function d() {
17
17
  if (typeof window > "u") return;
18
18
  let e = { style: "color:#a225c2" }, t = { style: "color:#268bd2" }, n = { style: "color:#e28c5f" }, r = { style: "color:#eb2f96" }, i = {
19
- header: (t) => u(t) ? [
19
+ header: (t) => l(t) ? [
20
20
  "div",
21
21
  e,
22
- `${d(t) ? "Val" : "ReadonlyVal"}`,
22
+ `${u(t) ? "Val" : "ReadonlyVal"}`,
23
23
  "<",
24
24
  a(t.value),
25
25
  ">"
@@ -47,29 +47,29 @@ function f() {
47
47
  }
48
48
  (window.devtoolsFormatters ??= []).push(i);
49
49
  }
50
- function p() {
51
- f();
50
+ function f() {
51
+ d();
52
52
  }
53
- var m = /* @__PURE__ */ Promise.resolve(), h = /* @__PURE__ */ new Set(), g = /* @__PURE__ */ new Set(), _ = h, v, y = () => {
54
- let e = _;
55
- _ = _ === h ? g : h, v = !1;
53
+ var p = /* @__PURE__ */ Promise.resolve(), m = /* @__PURE__ */ new Set(), h = /* @__PURE__ */ new Set(), g = m, _, v = () => {
54
+ let e = g;
55
+ g = g === m ? h : m, _ = !1;
56
56
  for (let t of e) t.t();
57
57
  e.clear();
58
- }, b = (e) => {
59
- _.add(e), v ||= m.then(y);
60
- }, x = (e) => _.delete(e), S = /* @__PURE__ */ new FinalizationRegistry(c), C = class {
61
- constructor(e, t, n) {
62
- if (this.#n = e, this.q = (t?.equal ?? r) || void 0, this.e = t?.eager, this.m = t?.name, this.#t = t?.onDisposeValue, n) {
58
+ }, y = (e) => {
59
+ g.add(e), _ ||= p.then(v);
60
+ }, b = (e) => g.delete(e), x = /* @__PURE__ */ new FinalizationRegistry(s), S = class {
61
+ constructor(e, t, r) {
62
+ if (this.#n = e, this.q = (t?.equal ?? n) || void 0, this.e = t?.eager, this.m = t?.name, this.#t = t?.onDisposeValue, r) {
63
63
  let e = new WeakRef(this), t = () => {
64
- if (r) {
65
- let e = r;
66
- r = void 0, e();
64
+ if (n) {
65
+ let e = n;
66
+ n = void 0, e();
67
67
  }
68
- }, r = n(() => {
68
+ }, n = r(() => {
69
69
  let n = e.deref();
70
70
  n ? n.n() : t();
71
71
  });
72
- r && S.register(this, this.#e = t);
72
+ n && x.register(this, this.#e = t);
73
73
  }
74
74
  }
75
75
  g = this;
@@ -89,7 +89,7 @@ var m = /* @__PURE__ */ Promise.resolve(), h = /* @__PURE__ */ new Set(), g = /*
89
89
  return this.c;
90
90
  };
91
91
  n = () => {
92
- this.#i && (console.error(this.c, /* @__PURE__ */ Error(`${this.m || ""} disposed`)), process.env.NODE_ENV !== "production" && console.error(this.#i)), this.s |= 4, this.b.size && (this.s |= 1, this[3] && this.#r(3), this[2] && (this.u(), this.s & 2 && this.#r(2)), this[1] ? b(this) : this.s &= -4);
92
+ this.#i && (console.error(this.c, /* @__PURE__ */ Error(`${this.m || ""} disposed`)), process.env.NODE_ENV !== "production" && console.error(this.#i)), this.s |= 4, this.b.size && (this.s |= 1, this[3] && this.#r(3), this[2] && (this.u(), this.s & 2 && this.#r(2)), this[1] ? y(this) : this.s &= -4);
93
93
  };
94
94
  a(e, t) {
95
95
  let n = this.b.get(e);
@@ -99,14 +99,14 @@ var m = /* @__PURE__ */ Promise.resolve(), h = /* @__PURE__ */ new Set(), g = /*
99
99
  if (e) {
100
100
  let t = this.b.get(e);
101
101
  t && (this.b.delete(e), this[t]--);
102
- } else this.b.clear(), this[1] = this[2] = this[3] = 0, x(this);
102
+ } else this.b.clear(), this[1] = this[2] = this[3] = 0, b(this);
103
103
  }
104
104
  t() {
105
105
  this[1] && (this.u(), this.s & 2 && this.#r(1)), this.s &= -4;
106
106
  }
107
107
  d() {
108
108
  let t = this.c;
109
- this.r(), S.unregister(this), this.#e?.(), this.#i = process.env.NODE_ENV === "production" || /* @__PURE__ */ Error("[val-dev] Val disposed at:"), this.#t && t !== e && this.#t(t);
109
+ this.r(), x.unregister(this), this.#e?.(), this.#i = process.env.NODE_ENV === "production" || /* @__PURE__ */ Error("[val-dev] Val disposed at:"), this.#t && t !== e && this.#t(t);
110
110
  }
111
111
  w(e) {
112
112
  this.w = this.q?.(e, e) ? this.y : this.x, this.w(e);
@@ -126,10 +126,10 @@ var m = /* @__PURE__ */ Promise.resolve(), h = /* @__PURE__ */ new Set(), g = /*
126
126
  #t;
127
127
  #n;
128
128
  #r(e) {
129
- for (let [t, n] of this.b) n === e && c(t, this.c);
129
+ for (let [t, n] of this.b) n === e && s(t, this.c);
130
130
  }
131
131
  #i;
132
- }, w = class {
132
+ }, C = class {
133
133
  #e = /* @__PURE__ */ new WeakSet();
134
134
  constructor(e) {
135
135
  this.g = e.g, this.e = e.e, this.u = e.u, this.n = e.n, this.b = e.b;
@@ -152,7 +152,7 @@ var m = /* @__PURE__ */ Promise.resolve(), h = /* @__PURE__ */ new Set(), g = /*
152
152
  d() {
153
153
  this.r();
154
154
  }
155
- }, T = class {
155
+ }, w = class {
156
156
  #e;
157
157
  constructor(e) {
158
158
  this.#e = e, this.get = e.u, e.u();
@@ -172,15 +172,15 @@ var m = /* @__PURE__ */ Promise.resolve(), h = /* @__PURE__ */ new Set(), g = /*
172
172
  set;
173
173
  get;
174
174
  ref(e) {
175
- let t = new T(new w(this.#e));
176
- return e && this.set ? l(t, this.set) : t;
175
+ let t = new w(new C(this.#e));
176
+ return e && this.set ? c(t, this.set) : t;
177
177
  }
178
178
  reaction(e, t = this.#e.e) {
179
179
  return this.#e.a(e, t ? 2 : 1);
180
180
  }
181
181
  subscribe(e, t = this.#e.e) {
182
182
  let n = this.reaction(e, t);
183
- return c(e, this.get()), n;
183
+ return s(e, this.get()), n;
184
184
  }
185
185
  $valCompute(e) {
186
186
  return this.#e.a(e, 3);
@@ -198,55 +198,55 @@ var m = /* @__PURE__ */ Promise.resolve(), h = /* @__PURE__ */ new Set(), g = /*
198
198
  let t = this.get();
199
199
  return t && t.toJSON ? t.toJSON(e) : t;
200
200
  }
201
- }, E = (e, t) => {
202
- let n = e, r = new C(() => n, t);
203
- return [new T(r), (e) => {
201
+ }, T = (e, t) => {
202
+ let n = e, r = new S(() => n, t);
203
+ return [new w(r), (e) => {
204
204
  r.q?.(e, n) || (n = e, r.n());
205
205
  }];
206
- }, D = (e, t) => l(...E(e, t)), O = (e, t, n) => new T(new C(e, n, t)), k = (e, t = n, r) => {
207
- let a, l;
208
- return O(() => {
209
- let n = e.map(s);
210
- return (!l || !i(n, l)) && (l = n, a = t(o(e))), a;
206
+ }, E = (e, t) => c(...T(e, t)), D = (e, t, n) => new w(new S(e, n, t)), O = (e, n = t, i) => {
207
+ let c, l;
208
+ return D(() => {
209
+ let t = e.map(o);
210
+ return (!l || !r(t, l)) && (l = t, c = n(a(e))), c;
211
211
  }, (t) => {
212
212
  let n = e.map((e) => e.$valCompute(t));
213
- return () => n.forEach(c);
214
- }, r);
215
- }, A = (t, n) => {
213
+ return () => n.forEach(s);
214
+ }, i);
215
+ }, k = (t, r) => {
216
216
  let i = 0, a = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), s = (t) => {
217
- if (!u(t)) {
218
- if (!u(t?.$)) return t;
217
+ if (!l(t)) {
218
+ if (!l(t?.$)) return t;
219
219
  t = t.$;
220
220
  }
221
- return a.has(t) ? r(t.$version, a.get(t)) || a.set(t, e) : (o.delete(t) || t.$valCompute(l.n), a.set(t, t.$version)), t.value;
222
- }, c, l = new C(() => {
221
+ return a.has(t) ? n(t.$version, a.get(t)) || a.set(t, e) : (o.delete(t) || t.$valCompute(u.n), a.set(t, t.$version)), t.value;
222
+ }, c, u = new S(() => {
223
223
  if (!i) {
224
224
  if (a.size) x: {
225
- for (let [e, t] of a) if (!r(e.$version, t)) break x;
225
+ for (let [e, t] of a) if (!n(e.$version, t)) break x;
226
226
  return c;
227
227
  }
228
228
  let e = a;
229
229
  a = o, o = e, i++;
230
230
  }
231
231
  if (c = t(s), !--i && o.size) {
232
- for (let e of o.keys()) e.unsubscribe(l.n);
232
+ for (let e of o.keys()) e.unsubscribe(u.n);
233
233
  o.clear();
234
234
  }
235
235
  return c;
236
- }, n, () => () => {
236
+ }, r, () => () => {
237
237
  if (a.size) {
238
- for (let e of a.keys()) e.unsubscribe(l.n);
238
+ for (let e of a.keys()) e.unsubscribe(u.n);
239
239
  a.clear();
240
240
  }
241
241
  });
242
- return new T(l);
243
- }, j = (t, i = n, a) => {
242
+ return new w(u);
243
+ }, A = (r, i = t, a) => {
244
244
  let o, s = e;
245
- return O(() => {
246
- let e = t.$version;
247
- return r(e, s) || (s = e, o = i(t.value)), o;
248
- }, (e) => t.$valCompute(e), a);
245
+ return D(() => {
246
+ let e = r.$version;
247
+ return n(e, s) || (s = e, o = i(r.value)), o;
248
+ }, (e) => r.$valCompute(e), a);
249
249
  };
250
- process.env.NODE_ENV !== "production" && p();
250
+ process.env.NODE_ENV !== "production" && f();
251
251
  //#endregion
252
- export { j as a, d as c, r as d, D as f, A as i, E as l, l as n, n as o, k as r, u as s, i as t, t as u };
252
+ export { A as a, n as c, k as i, E as l, c as n, l as o, O as r, T as s, r as t };
@@ -1,6 +1,16 @@
1
1
  import { r as e } from "./dist-BKuSVKCC.js";
2
2
  import { I as t, j as n, t as r } from "./dist-DxahK_I8.js";
3
- import { r as i } from "./flowWorkspace-DvitOPqI.js";
3
+ //#region ../../node_modules/.bun/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/extends.js
4
+ function i() {
5
+ return i = Object.assign ? Object.assign.bind() : function(e) {
6
+ for (var t = 1; t < arguments.length; t++) {
7
+ var n = arguments[t];
8
+ for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
9
+ }
10
+ return e;
11
+ }, i.apply(null, arguments);
12
+ }
13
+ //#endregion
4
14
  //#region ../../node_modules/.bun/@uiw+codemirror-themes@4.25.11/node_modules/@uiw/codemirror-themes/esm/index.js
5
15
  var a = (t) => {
6
16
  var i = t.theme, a = t.settings, o = a === void 0 ? {} : a, s = t.styles, c = s === void 0 ? [] : s, l = { ".cm-gutters": {} }, u = {};
@@ -4622,7 +4622,7 @@ var G = To(), K = Bs(), Vs = z(G), Hs = B({
4622
4622
  outputs: z(Hs.extend({ sources: z(V([Ws, Gs])) }))
4623
4623
  }), fc = B({
4624
4624
  nodes: H(G, cc),
4625
- edges: z(uc)
4625
+ edges: z(uc).default([])
4626
4626
  }), pc = B({
4627
4627
  kind: U(["connection", "variable"]),
4628
4628
  target: G
@@ -4656,7 +4656,7 @@ var K = Mo(), q = qs(), Ys = B(K), Xs = V({
4656
4656
  outputs: B(Xs.extend({ sources: B(H([Qs, $s])) }))
4657
4657
  }), xc = V({
4658
4658
  nodes: U(K, _c),
4659
- edges: B(yc)
4659
+ edges: B(yc).default([])
4660
4660
  }), Sc = V({
4661
4661
  kind: W(["connection", "variable"]),
4662
4662
  target: K