@oomol-lab/open-flow 0.1.0-beta.35 → 0.1.0-beta.37

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.
@@ -1,19 +1,19 @@
1
1
  import { a as e, i as t, l as n } from "./dist-Dz6Nglsd.js";
2
2
  import { a as r, i, r as a, t as o } from "./main-BDnNHhkU.js";
3
3
  import { Bn as s, Hn as c, kt as l, t as u } from "./lite-BA96NG4M.js";
4
- import { E as d, M as f, N as p, O as m, P as h, T as g, _, h as v, j as y, k as b, m as x, w as S } from "./editorComponent-ZErzSM5n.js";
5
- import { $t as C, Bt as w, E as T, G as E, Gt as ee, H as D, Ht as O, K as te, Kt as ne, M as k, N as A, O as j, Qt as M, R as re, Rt as ie, S as ae, T as N, U as P, Ut as oe, V as F, Vt as se, W as ce, Wt as le, X as ue, Y as I, Z as de, Zt as L, _ as fe, a as pe, an as me, at as he, b as ge, c as _e, cn as ve, ct as ye, d as be, dt as xe, en as Se, f as Ce, g as we, h as Te, i as Ee, in as De, it as Oe, j as ke, k as Ae, l as je, lt as R, m as Me, nn as Ne, o as Pe, on as z, ot as Fe, p as Ie, r as B, rn as V, rt as Le, s as Re, sn as H, st as ze, t as Be, tn as Ve, tt as He, u as Ue, ut as We, v as Ge, w as Ke, x as qe, y as Je, zt as U } from "./flowChanges-Q0SV24Ja.js";
6
- import { C as Ye, D as Xe, O as Ze, _ as Qe, a as $e, c as et, d as tt, f as nt, g as rt, h as it, i as at, l as ot, m as st, n as ct, o as lt, r as ut, s as dt, t as ft, v as pt, w as mt } from "./workbenchSelect-DNteZJYP.js";
7
- import { c as ht, d as gt, l as _t, u as vt } from "./value-B_yE9ean.js";
8
- import { a as W } from "./dist-CoszrK7m.js";
9
- import { Fragment as yt, jsx as G, jsxs as K } from "react/jsx-runtime";
10
- import { Suspense as bt, lazy as xt, useEffect as St, useRef as Ct, useState as q } from "react";
11
- import * as wt from "effect/Cause";
12
- import * as J from "effect/Effect";
13
- import * as Tt from "effect/Exit";
14
- import * as Et from "effect/Fiber";
4
+ import { E as d, M as f, N as p, O as m, P as h, T as g, _, h as v, j as y, k as b, m as x, w as S } from "./editorComponent-B-FXsvGH.js";
5
+ import { $t as C, Bt as w, E as T, G as E, Gt as ee, H as D, Ht as O, K as te, Kt as ne, M as k, N as A, O as j, Qt as M, R as re, Rt as ie, S as ae, T as N, U as P, Ut as oe, V as F, Vt as se, W as ce, Wt as le, X as ue, Y as I, Z as de, Zt as L, _ as fe, a as pe, an as me, at as he, b as ge, c as _e, cn as ve, ct as ye, d as be, dt as xe, en as Se, f as Ce, g as we, h as Te, i as Ee, in as De, it as Oe, j as R, k as ke, l as Ae, lt as z, m as je, nn as Me, o as Ne, on as B, ot as Pe, p as Fe, r as V, rn as H, rt as Ie, s as Le, sn as U, st as Re, t as ze, tn as Be, tt as Ve, u as He, ut as Ue, v as We, w as Ge, x as Ke, y as qe, zt as W } from "./flowChanges-Bc3Jncg9.js";
6
+ import { C as Je, D as Ye, O as Xe, _ as Ze, a as Qe, c as $e, d as et, f as tt, g as nt, h as rt, i as it, l as at, m as ot, n as st, o as ct, r as lt, s as ut, t as dt, v as ft, w as pt } from "./workbenchSelect-DNteZJYP.js";
7
+ import { c as mt, d as ht, l as gt, u as _t } from "./value-B_yE9ean.js";
8
+ import { a as G } from "./dist-CoszrK7m.js";
9
+ import { Fragment as vt, jsx as K, jsxs as q } from "react/jsx-runtime";
10
+ import { Suspense as yt, lazy as bt, useEffect as xt, useRef as St, useState as J } from "react";
11
+ import * as Ct from "effect/Cause";
12
+ import * as Y from "effect/Effect";
13
+ import * as wt from "effect/Exit";
14
+ import * as Tt from "effect/Fiber";
15
15
  //#region src/workbench/browser/runtime/navigation.ts
16
- var Dt = class {
16
+ var Et = class {
17
17
  #e;
18
18
  #t;
19
19
  #n;
@@ -72,7 +72,7 @@ var Dt = class {
72
72
  this.#s = !0, await this.#n.selectFlow(void 0), e == this.#i && (this.#u("design", !1), this.#s = !1);
73
73
  }
74
74
  async apply(e) {
75
- if (Ot(e, this.#t)) return;
75
+ if (Dt(e, this.#t)) return;
76
76
  this.#t = e;
77
77
  let t = ++this.#i;
78
78
  this.#s = !0;
@@ -88,39 +88,39 @@ var Dt = class {
88
88
  flowId: n,
89
89
  view: n == null ? "design" : e
90
90
  };
91
- Ot(r, this.#t) || (this.#t = r, this.#e(r, { replace: t })), this.#r.set(r.view);
91
+ Dt(r, this.#t) || (this.#t = r, this.#e(r, { replace: t })), this.#r.set(r.view);
92
92
  }
93
93
  };
94
- function Ot(e, t) {
94
+ function Dt(e, t) {
95
95
  return e.flowId == t.flowId && e.view == t.view;
96
96
  }
97
97
  //#endregion
98
98
  //#region src/workbench/browser/runtime/shell/resourceBrowser.tsx
99
- var kt = xt(() => import("./createResourceDialog-DRB0OEtr.js")), At = gt.map((e) => ({
100
- label: vt[e],
99
+ var Ot = bt(() => import("./createResourceDialog-DRB0OEtr.js")), kt = ht.map((e) => ({
100
+ label: _t[e],
101
101
  value: e
102
- })), jt = 44, Mt = -12, Nt = 8, Pt = "a, button, input, select, textarea, [data-slot=\"tooltip-trigger\"]";
103
- function Ft({ language: e, onLanguageChange: t }) {
104
- let n = i(), [r, a] = q(null);
105
- return t == null ? null : /* @__PURE__ */ K("div", {
102
+ })), At = 44, jt = -12, Mt = 8, Nt = "a, button, input, select, textarea, [data-slot=\"tooltip-trigger\"]";
103
+ function Pt({ language: e, onLanguageChange: t }) {
104
+ let n = i(), [r, a] = J(null);
105
+ return t == null ? null : /* @__PURE__ */ q("div", {
106
106
  className: "resource-language",
107
107
  ref: a,
108
- children: [/* @__PURE__ */ G("span", {
108
+ children: [/* @__PURE__ */ K("span", {
109
109
  className: "sr-only",
110
110
  children: n("language.label")
111
- }), /* @__PURE__ */ G(ft, {
111
+ }), /* @__PURE__ */ K(dt, {
112
112
  ariaLabel: n("language.label"),
113
113
  onValueChange: (e) => t(e),
114
- options: At,
114
+ options: kt,
115
115
  portalRoot: r,
116
116
  value: e
117
117
  })]
118
118
  });
119
119
  }
120
- function It(e) {
120
+ function Ft(e) {
121
121
  return e.length <= 20 ? e : `${e.slice(0, 10)}…${e.slice(-6)}`;
122
122
  }
123
- function Lt(e, t) {
123
+ function It(e, t) {
124
124
  let n = new Date(e), r = /* @__PURE__ */ new Date();
125
125
  return n.toLocaleString(t, {
126
126
  day: "numeric",
@@ -130,11 +130,11 @@ function Lt(e, t) {
130
130
  year: n.getFullYear() == r.getFullYear() ? void 0 : "numeric"
131
131
  });
132
132
  }
133
- function Rt(e) {
134
- return e.target instanceof Element && e.target.closest(Pt) != null;
133
+ function Lt(e) {
134
+ return e.target instanceof Element && e.target.closest(Nt) != null;
135
135
  }
136
- function zt({ badge: e, busy: t, flow: n, href: r, onSelect: o, store: u }) {
137
- let [f, p] = q(null), h = Ct(null), y = Ct(null), C = Ct(null), w = Ct(null), T = a(), E = i(), [ee, D] = q("idle"), [O, te] = q(n.name), [ne, k] = q(!1), [A, j] = q(), M = n.live != null && n.live.revisionId != n.draftRevisionId, re = n.status == "retiring" ? "resource.retiring" : n.live == null ? "resource.notPublished" : M ? "resource.unpublishedChanges" : "resource.isPublished", ae = n.status == "retiring" ? "danger" : n.live == null ? "neutral" : M ? "running" : "success";
136
+ function Rt({ badge: e, busy: t, flow: n, href: r, onSelect: o, store: u }) {
137
+ let [f, p] = J(null), h = St(null), y = St(null), C = St(null), w = St(null), T = a(), E = i(), [ee, D] = J("idle"), [O, te] = J(n.name), [ne, k] = J(!1), [A, j] = J(), M = n.live != null && n.live.revisionId != n.draftRevisionId, re = n.status == "retiring" ? "resource.retiring" : n.live == null ? "resource.notPublished" : M ? "resource.unpublishedChanges" : "resource.isPublished", ae = n.status == "retiring" ? "danger" : n.live == null ? "neutral" : M ? "running" : "success";
138
138
  async function N(e) {
139
139
  j(e == "publish" ? "publish" : "enabled");
140
140
  try {
@@ -143,38 +143,38 @@ function zt({ badge: e, busy: t, flow: n, href: r, onSelect: o, store: u }) {
143
143
  j(void 0);
144
144
  }
145
145
  }
146
- let P = mt(O);
146
+ let P = pt(O);
147
147
  async function oe(e) {
148
148
  e.preventDefault();
149
149
  let t = O.trim();
150
- mt(t) == null && await u.workspace.renameFlow(n.flowId, t) && D("idle");
150
+ pt(t) == null && await u.workspace.renameFlow(n.flowId, t) && D("idle");
151
151
  }
152
152
  async function F() {
153
153
  await u.workspace.deleteFlow(n.flowId) && D("idle");
154
154
  }
155
155
  function se(e) {
156
- Rt(e) || o(n);
156
+ Lt(e) || o(n);
157
157
  }
158
- return /* @__PURE__ */ K("div", {
158
+ return /* @__PURE__ */ q("div", {
159
159
  className: "resource-item-row",
160
160
  ref: p,
161
161
  children: [
162
- /* @__PURE__ */ K("div", {
162
+ /* @__PURE__ */ q("div", {
163
163
  className: "resource-list-row flow-columns",
164
164
  onClick: se,
165
165
  children: [
166
- /* @__PURE__ */ K("span", {
166
+ /* @__PURE__ */ q("span", {
167
167
  className: "resource-primary-cell",
168
- children: [/* @__PURE__ */ G("span", {
168
+ children: [/* @__PURE__ */ K("span", {
169
169
  "aria-hidden": "true",
170
170
  className: "resource-flow-icon",
171
- children: /* @__PURE__ */ G("i", { className: "i-lucide-light:workflow" })
172
- }), /* @__PURE__ */ K("span", {
171
+ children: /* @__PURE__ */ K("i", { className: "i-lucide-light:workflow" })
172
+ }), /* @__PURE__ */ q("span", {
173
173
  className: "resource-primary-copy",
174
- children: [/* @__PURE__ */ K("span", {
174
+ children: [/* @__PURE__ */ q("span", {
175
175
  className: "resource-primary-heading",
176
176
  ref: h,
177
- children: [/* @__PURE__ */ G(s, {
177
+ children: [/* @__PURE__ */ K(s, {
178
178
  "aria-disabled": n.status == "retiring",
179
179
  className: "resource-primary-title",
180
180
  nativeButton: !1,
@@ -185,31 +185,31 @@ function zt({ badge: e, busy: t, flow: n, href: r, onSelect: o, store: u }) {
185
185
  }
186
186
  ie(e, () => o(n));
187
187
  },
188
- render: /* @__PURE__ */ G("a", { href: n.status == "retiring" ? void 0 : r }),
188
+ render: /* @__PURE__ */ K("a", { href: n.status == "retiring" ? void 0 : r }),
189
189
  tabIndex: n.status == "retiring" ? -1 : void 0,
190
190
  title: n.name,
191
191
  variant: "link",
192
192
  children: n.name
193
- }), n.status == "active" && /* @__PURE__ */ K(g, {
193
+ }), n.status == "active" && /* @__PURE__ */ q(g, {
194
194
  onOpenChange: (e) => {
195
195
  D(e ? "rename" : "idle"), e && te(n.name);
196
196
  },
197
197
  open: ee == "rename",
198
- children: [/* @__PURE__ */ G(b, {
199
- render: /* @__PURE__ */ G(s, {
198
+ children: [/* @__PURE__ */ K(b, {
199
+ render: /* @__PURE__ */ K(s, {
200
200
  "aria-label": E("sidebar.renameFlow", { name: n.name }),
201
201
  className: "resource-rename-trigger",
202
202
  size: "icon-xs",
203
203
  type: "button",
204
204
  variant: "ghost"
205
205
  }),
206
- children: /* @__PURE__ */ G("i", {
206
+ children: /* @__PURE__ */ K("i", {
207
207
  "aria-hidden": "true",
208
208
  className: "i-lucide-light:pencil"
209
209
  })
210
- }), /* @__PURE__ */ K(d, {
210
+ }), /* @__PURE__ */ q(d, {
211
211
  align: "start",
212
- alignOffset: Mt,
212
+ alignOffset: jt,
213
213
  anchor: h,
214
214
  className: "resource-rename-popover",
215
215
  collisionBoundary: [],
@@ -217,24 +217,24 @@ function zt({ badge: e, busy: t, flow: n, href: r, onSelect: o, store: u }) {
217
217
  initialFocus: C,
218
218
  positionMethod: "fixed",
219
219
  side: "top",
220
- sideOffset: ({ anchor: e, positioner: t }) => -(e.height + t.height) / 2 - Nt,
221
- children: [/* @__PURE__ */ G(m, {
220
+ sideOffset: ({ anchor: e, positioner: t }) => -(e.height + t.height) / 2 - Mt,
221
+ children: [/* @__PURE__ */ K(m, {
222
222
  className: "sr-only",
223
223
  children: E("sidebar.renameFlow", { name: n.name })
224
- }), /* @__PURE__ */ K("form", {
224
+ }), /* @__PURE__ */ q("form", {
225
225
  className: "resource-rename-form",
226
226
  onSubmit: (e) => void oe(e),
227
227
  children: [
228
- /* @__PURE__ */ K(nt, {
228
+ /* @__PURE__ */ q(tt, {
229
229
  className: "min-w-0 flex-1",
230
230
  "data-invalid": O.length > 0 && P != null,
231
231
  children: [
232
- /* @__PURE__ */ G(rt, {
232
+ /* @__PURE__ */ K(nt, {
233
233
  className: "sr-only",
234
234
  htmlFor: `rename-flow-${n.flowId}`,
235
235
  children: E("resource.flowName")
236
236
  }),
237
- /* @__PURE__ */ G(l, {
237
+ /* @__PURE__ */ K(l, {
238
238
  autoComplete: "off",
239
239
  "aria-invalid": O.length > 0 && P != null,
240
240
  "aria-describedby": O.length > 0 && P != null ? `rename-error-${n.flowId}` : void 0,
@@ -245,20 +245,20 @@ function zt({ badge: e, busy: t, flow: n, href: r, onSelect: o, store: u }) {
245
245
  required: !0,
246
246
  value: O
247
247
  }),
248
- O.length > 0 && P != null && /* @__PURE__ */ G(st, {
248
+ O.length > 0 && P != null && /* @__PURE__ */ K(ot, {
249
249
  id: `rename-error-${n.flowId}`,
250
250
  children: E(`resource.nameIssue.${P}`, { max: 80 })
251
251
  })
252
252
  ]
253
253
  }),
254
- /* @__PURE__ */ G(s, {
254
+ /* @__PURE__ */ K(s, {
255
255
  onClick: () => D("idle"),
256
256
  size: "sm",
257
257
  type: "button",
258
258
  variant: "ghost",
259
259
  children: E("common.cancel")
260
260
  }),
261
- /* @__PURE__ */ G(s, {
261
+ /* @__PURE__ */ K(s, {
262
262
  disabled: t != null || P != null,
263
263
  size: "sm",
264
264
  type: "submit",
@@ -268,32 +268,32 @@ function zt({ badge: e, busy: t, flow: n, href: r, onSelect: o, store: u }) {
268
268
  })]
269
269
  })]
270
270
  })]
271
- }), e != null && /* @__PURE__ */ G("span", {
271
+ }), e != null && /* @__PURE__ */ K("span", {
272
272
  className: "resource-team-label",
273
273
  title: e,
274
274
  children: e
275
275
  })]
276
276
  })]
277
277
  }),
278
- /* @__PURE__ */ G("span", {
278
+ /* @__PURE__ */ K("span", {
279
279
  className: "resource-flow-id-cell",
280
- children: /* @__PURE__ */ K(x, { children: [/* @__PURE__ */ G(_, {
281
- render: /* @__PURE__ */ G("code", {
280
+ children: /* @__PURE__ */ q(x, { children: [/* @__PURE__ */ K(_, {
281
+ render: /* @__PURE__ */ K("code", {
282
282
  className: "resource-flow-id",
283
283
  tabIndex: 0,
284
284
  translate: "no"
285
285
  }),
286
- children: It(n.flowId)
287
- }), /* @__PURE__ */ K(v, {
286
+ children: Ft(n.flowId)
287
+ }), /* @__PURE__ */ q(v, {
288
288
  align: "start",
289
- alignOffset: jt,
289
+ alignOffset: At,
290
290
  className: "resource-flow-id-tooltip",
291
291
  collisionBoundary: [],
292
292
  container: f,
293
293
  positionMethod: "fixed",
294
294
  side: "top",
295
295
  sideOffset: 6,
296
- children: [/* @__PURE__ */ G(s, {
296
+ children: [/* @__PURE__ */ K(s, {
297
297
  "aria-label": E(ne ? "resource.flowIdCopied" : "resource.copyFlowId"),
298
298
  className: "resource-tooltip-icon-button",
299
299
  onClick: () => {
@@ -302,24 +302,24 @@ function zt({ badge: e, busy: t, flow: n, href: r, onSelect: o, store: u }) {
302
302
  size: "icon-xs",
303
303
  type: "button",
304
304
  variant: "ghost",
305
- children: /* @__PURE__ */ G("i", {
305
+ children: /* @__PURE__ */ K("i", {
306
306
  "aria-hidden": "true",
307
307
  className: "i-lucide-light:copy"
308
308
  })
309
- }), /* @__PURE__ */ G("code", {
309
+ }), /* @__PURE__ */ K("code", {
310
310
  translate: "no",
311
311
  children: n.flowId
312
312
  })]
313
313
  })] })
314
314
  }),
315
- /* @__PURE__ */ K(x, { children: [/* @__PURE__ */ G(_, {
316
- render: /* @__PURE__ */ G("time", {
315
+ /* @__PURE__ */ q(x, { children: [/* @__PURE__ */ K(_, {
316
+ render: /* @__PURE__ */ K("time", {
317
317
  className: "resource-updated-at",
318
318
  dateTime: n.updatedAt,
319
319
  tabIndex: 0
320
320
  }),
321
- children: Lt(n.updatedAt, T)
322
- }), /* @__PURE__ */ G(v, {
321
+ children: It(n.updatedAt, T)
322
+ }), /* @__PURE__ */ K(v, {
323
323
  align: "center",
324
324
  collisionBoundary: [],
325
325
  container: f,
@@ -328,29 +328,29 @@ function zt({ badge: e, busy: t, flow: n, href: r, onSelect: o, store: u }) {
328
328
  sideOffset: 6,
329
329
  children: new Date(n.updatedAt).toLocaleString(T)
330
330
  })] }),
331
- /* @__PURE__ */ K("span", {
331
+ /* @__PURE__ */ q("span", {
332
332
  className: "resource-status",
333
333
  children: [
334
- /* @__PURE__ */ G("span", {
334
+ /* @__PURE__ */ K("span", {
335
335
  "aria-hidden": "true",
336
336
  className: c("status-dot", ae)
337
337
  }),
338
338
  E(re),
339
- n.live != null && /* @__PURE__ */ K(yt, { children: [/* @__PURE__ */ G("span", {
339
+ n.live != null && /* @__PURE__ */ q(vt, { children: [/* @__PURE__ */ K("span", {
340
340
  "aria-hidden": "true",
341
341
  className: "resource-status-separator",
342
342
  children: "·"
343
- }), /* @__PURE__ */ G("span", { children: E(n.live.enabled ? "resource.enabled" : "resource.disabled") })] })
343
+ }), /* @__PURE__ */ K("span", { children: E(n.live.enabled ? "resource.enabled" : "resource.disabled") })] })
344
344
  ]
345
345
  })
346
346
  ]
347
347
  }),
348
- /* @__PURE__ */ K("div", {
348
+ /* @__PURE__ */ q("div", {
349
349
  className: "resource-live-controls",
350
350
  "aria-busy": A != null,
351
351
  onClick: se,
352
352
  children: [
353
- n.live != null && /* @__PURE__ */ G(S, {
353
+ n.live != null && /* @__PURE__ */ K(S, {
354
354
  "aria-label": E("resource.enableFlow", { name: n.name }),
355
355
  checked: n.live.enabled,
356
356
  disabled: n.status != "active" || t != null || A != null,
@@ -358,21 +358,21 @@ function zt({ badge: e, busy: t, flow: n, href: r, onSelect: o, store: u }) {
358
358
  size: "sm",
359
359
  title: E("resource.enabledHint")
360
360
  }),
361
- n.status == "active" && /* @__PURE__ */ G(s, {
361
+ n.status == "active" && /* @__PURE__ */ K(s, {
362
362
  onClick: () => o(n),
363
363
  size: "sm",
364
364
  variant: "outline",
365
365
  children: E("resource.edit")
366
366
  }),
367
- /* @__PURE__ */ G(s, {
367
+ /* @__PURE__ */ K(s, {
368
368
  disabled: n.status != "active" || t != null || A != null || n.live != null && !M,
369
369
  onClick: () => void N("publish"),
370
370
  size: "sm",
371
371
  variant: "outline",
372
372
  children: E(A == "publish" ? "workspace.publishing" : n.live == null ? "resource.publish" : "resource.publishUpdate")
373
373
  }),
374
- n.status == "active" && /* @__PURE__ */ K(x, { children: [/* @__PURE__ */ G(_, {
375
- render: /* @__PURE__ */ G(s, {
374
+ n.status == "active" && /* @__PURE__ */ q(x, { children: [/* @__PURE__ */ K(_, {
375
+ render: /* @__PURE__ */ K(s, {
376
376
  "aria-label": E("sidebar.deleteFlow", { name: n.name }),
377
377
  ref: y,
378
378
  disabled: t != null || A != null,
@@ -380,11 +380,11 @@ function zt({ badge: e, busy: t, flow: n, href: r, onSelect: o, store: u }) {
380
380
  size: "icon-sm",
381
381
  variant: "destructive"
382
382
  }),
383
- children: /* @__PURE__ */ G("i", {
383
+ children: /* @__PURE__ */ K("i", {
384
384
  "aria-hidden": "true",
385
385
  className: "i-lucide-light:trash-2"
386
386
  })
387
- }), /* @__PURE__ */ G(v, {
387
+ }), /* @__PURE__ */ K(v, {
388
388
  align: "center",
389
389
  collisionBoundary: [],
390
390
  container: f,
@@ -394,23 +394,23 @@ function zt({ badge: e, busy: t, flow: n, href: r, onSelect: o, store: u }) {
394
394
  })] })
395
395
  ]
396
396
  }),
397
- /* @__PURE__ */ G(ut, {
397
+ /* @__PURE__ */ K(lt, {
398
398
  open: ee == "delete",
399
399
  onOpenChange: (e) => {
400
400
  e || D("idle");
401
401
  },
402
- children: /* @__PURE__ */ K($e, {
402
+ children: /* @__PURE__ */ q(Qe, {
403
403
  container: f,
404
404
  initialFocus: w,
405
405
  finalFocus: y,
406
406
  showCloseButton: !1,
407
- children: [/* @__PURE__ */ K(et, { children: [/* @__PURE__ */ G(ot, { children: E("sidebar.deleteFlowConfirm", { name: n.name }) }), /* @__PURE__ */ G(lt, { children: E("resource.deleteDescription") })] }), /* @__PURE__ */ K(dt, { children: [/* @__PURE__ */ G(at, {
408
- render: /* @__PURE__ */ G(s, {
407
+ children: [/* @__PURE__ */ q($e, { children: [/* @__PURE__ */ K(at, { children: E("sidebar.deleteFlowConfirm", { name: n.name }) }), /* @__PURE__ */ K(ct, { children: E("resource.deleteDescription") })] }), /* @__PURE__ */ q(ut, { children: [/* @__PURE__ */ K(it, {
408
+ render: /* @__PURE__ */ K(s, {
409
409
  ref: w,
410
410
  variant: "outline"
411
411
  }),
412
412
  children: E("common.cancel")
413
- }), /* @__PURE__ */ G(s, {
413
+ }), /* @__PURE__ */ K(s, {
414
414
  disabled: t != null,
415
415
  onClick: () => void F(),
416
416
  variant: "destructive",
@@ -421,69 +421,69 @@ function zt({ badge: e, busy: t, flow: n, href: r, onSelect: o, store: u }) {
421
421
  ]
422
422
  });
423
423
  }
424
- function Bt() {
425
- return /* @__PURE__ */ K("div", {
424
+ function zt() {
425
+ return /* @__PURE__ */ q("div", {
426
426
  "aria-hidden": "true",
427
427
  className: "resource-item-row",
428
- children: [/* @__PURE__ */ K("div", {
428
+ children: [/* @__PURE__ */ q("div", {
429
429
  className: "resource-list-row resource-skeleton-row flow-columns",
430
430
  children: [
431
- /* @__PURE__ */ K("span", {
431
+ /* @__PURE__ */ q("span", {
432
432
  className: "resource-skeleton-copy",
433
- children: [/* @__PURE__ */ G(U, { className: "h-3.5 w-36 max-w-full" }), /* @__PURE__ */ G(U, { className: "h-3 w-24 max-w-full" })]
433
+ children: [/* @__PURE__ */ K(W, { className: "h-3.5 w-36 max-w-full" }), /* @__PURE__ */ K(W, { className: "h-3 w-24 max-w-full" })]
434
434
  }),
435
- /* @__PURE__ */ G(U, { className: "h-3 w-36 max-w-full" }),
436
- /* @__PURE__ */ G(U, { className: "h-3 w-28 max-w-full" }),
437
- /* @__PURE__ */ G(U, { className: "h-3 w-16" })
435
+ /* @__PURE__ */ K(W, { className: "h-3 w-36 max-w-full" }),
436
+ /* @__PURE__ */ K(W, { className: "h-3 w-28 max-w-full" }),
437
+ /* @__PURE__ */ K(W, { className: "h-3 w-16" })
438
438
  ]
439
- }), /* @__PURE__ */ K("div", {
439
+ }), /* @__PURE__ */ q("div", {
440
440
  className: "resource-live-controls",
441
- children: [/* @__PURE__ */ G(U, { className: "h-7 w-16" }), /* @__PURE__ */ G(U, { className: "h-7 w-14" })]
441
+ children: [/* @__PURE__ */ K(W, { className: "h-7 w-16" }), /* @__PURE__ */ K(W, { className: "h-7 w-14" })]
442
442
  })]
443
443
  });
444
444
  }
445
- function Vt({ catalogWidth: e, createFlowDisabled: t, createFlowField: n, flowBadges: a, hrefForFlow: o, hostAction: l, hostTitle: u, language: d, onCreateFlow: m, onHostAction: h, onLanguageChange: g, onSelectFlow: _, store: v }) {
446
- let b = i(), x = r(v.workspace.$.busy), S = r(v.workspace.$.flowLoadFailed), C = r(v.workspace.$.flowLoadMoreFailed), T = r(v.workspace.$.flowLoading), E = r(v.workspace.$.flowLoadingMore), D = r(v.workspace.$.flowNextCursor), te = r(v.workspace.$.flowRefreshing), ne = r(v.workspace.$.flows), k = r(v.workspace.$.flowTotal), [A, j] = q(!1), [M, re] = q(""), [ie, ae] = q(""), N = M.trim().toLocaleLowerCase(), P = ne.filter((e) => e.name.toLocaleLowerCase().includes(N));
445
+ function Bt({ catalogWidth: e, createFlowDisabled: t, createFlowField: n, flowBadges: a, hrefForFlow: o, hostAction: l, hostTitle: u, language: d, onCreateFlow: m, onHostAction: h, onLanguageChange: g, onSelectFlow: _, store: v }) {
446
+ let b = i(), x = r(v.workspace.$.busy), S = r(v.workspace.$.flowLoadFailed), C = r(v.workspace.$.flowLoadMoreFailed), T = r(v.workspace.$.flowLoading), E = r(v.workspace.$.flowLoadingMore), D = r(v.workspace.$.flowNextCursor), te = r(v.workspace.$.flowRefreshing), ne = r(v.workspace.$.flows), k = r(v.workspace.$.flowTotal), [A, j] = J(!1), [M, re] = J(""), [ie, ae] = J(""), N = M.trim().toLocaleLowerCase(), P = ne.filter((e) => e.name.toLocaleLowerCase().includes(N));
447
447
  async function F(e) {
448
448
  e.preventDefault();
449
449
  let t = ie.trim();
450
- mt(t) != null || !await m(t) || (j(!1), ae(""));
450
+ pt(t) != null || !await m(t) || (j(!1), ae(""));
451
451
  }
452
- return /* @__PURE__ */ G("main", {
452
+ return /* @__PURE__ */ K("main", {
453
453
  className: "resource-browser",
454
454
  "data-tooltip-portal": !0,
455
- children: /* @__PURE__ */ K("div", {
455
+ children: /* @__PURE__ */ q("div", {
456
456
  className: c("resource-page", e != "default" && "resource-page-full"),
457
457
  children: [
458
- /* @__PURE__ */ G("h1", {
458
+ /* @__PURE__ */ K("h1", {
459
459
  className: "sr-only",
460
460
  children: b("resource.flows")
461
461
  }),
462
- /* @__PURE__ */ K("section", {
462
+ /* @__PURE__ */ q("section", {
463
463
  "aria-labelledby": "flow-list-title",
464
464
  className: "resource-list-section rounded-lg",
465
465
  children: [
466
- /* @__PURE__ */ K("div", {
466
+ /* @__PURE__ */ q("div", {
467
467
  className: "resource-list-title",
468
- children: [/* @__PURE__ */ K("div", {
468
+ children: [/* @__PURE__ */ q("div", {
469
469
  className: "resource-list-heading",
470
- children: [/* @__PURE__ */ G("h2", {
470
+ children: [/* @__PURE__ */ K("h2", {
471
471
  id: "flow-list-title",
472
472
  children: b("resource.all")
473
- }), !T && /* @__PURE__ */ G("span", { children: b("resource.flowCount", { count: k ?? ne.length }) })]
474
- }), /* @__PURE__ */ K("div", {
473
+ }), !T && /* @__PURE__ */ K("span", { children: b("resource.flowCount", { count: k ?? ne.length }) })]
474
+ }), /* @__PURE__ */ q("div", {
475
475
  className: "resource-list-actions",
476
476
  children: [
477
- /* @__PURE__ */ G(Ft, {
477
+ /* @__PURE__ */ K(Pt, {
478
478
  language: d,
479
479
  onLanguageChange: g
480
480
  }),
481
- /* @__PURE__ */ K(y, {
481
+ /* @__PURE__ */ q(y, {
482
482
  className: "w-full sm:w-56",
483
- children: [/* @__PURE__ */ G(f, { children: /* @__PURE__ */ G(ct, {
483
+ children: [/* @__PURE__ */ K(f, { children: /* @__PURE__ */ K(st, {
484
484
  name: "search",
485
485
  size: 17
486
- }) }), /* @__PURE__ */ G(p, {
486
+ }) }), /* @__PURE__ */ K(p, {
487
487
  autoComplete: "off",
488
488
  "aria-label": b("resource.searchByName"),
489
489
  name: "flow-search",
@@ -492,16 +492,16 @@ function Vt({ catalogWidth: e, createFlowDisabled: t, createFlowField: n, flowBa
492
492
  value: M
493
493
  })]
494
494
  }),
495
- /* @__PURE__ */ K(s, {
495
+ /* @__PURE__ */ q(s, {
496
496
  className: "pr-3",
497
497
  disabled: x != null,
498
498
  onClick: () => j(!0),
499
- children: [/* @__PURE__ */ G(ct, {
499
+ children: [/* @__PURE__ */ K(st, {
500
500
  "data-icon": "inline-start",
501
501
  name: "plus"
502
502
  }), b("resource.newFlow")]
503
503
  }),
504
- l != null && u != null && h != null && /* @__PURE__ */ G(xe, {
504
+ l != null && u != null && h != null && /* @__PURE__ */ K(xe, {
505
505
  action: l,
506
506
  onAction: h,
507
507
  title: u
@@ -509,69 +509,69 @@ function Vt({ catalogWidth: e, createFlowDisabled: t, createFlowField: n, flowBa
509
509
  ]
510
510
  })]
511
511
  }),
512
- /* @__PURE__ */ K("div", {
512
+ /* @__PURE__ */ q("div", {
513
513
  "aria-hidden": "true",
514
514
  className: "resource-list-columns-shell",
515
- children: [/* @__PURE__ */ K("div", {
515
+ children: [/* @__PURE__ */ q("div", {
516
516
  className: "resource-list-columns flow-columns",
517
517
  children: [
518
- /* @__PURE__ */ G("span", { children: b("resource.name") }),
519
- /* @__PURE__ */ G("span", {
518
+ /* @__PURE__ */ K("span", { children: b("resource.name") }),
519
+ /* @__PURE__ */ K("span", {
520
520
  className: "resource-flow-id-heading",
521
521
  children: b("resource.flowId")
522
522
  }),
523
- /* @__PURE__ */ G("span", {
523
+ /* @__PURE__ */ K("span", {
524
524
  className: "resource-updated-heading",
525
525
  children: b("resource.updated")
526
526
  }),
527
- /* @__PURE__ */ G("span", { children: b("resource.status") })
527
+ /* @__PURE__ */ K("span", { children: b("resource.status") })
528
528
  ]
529
- }), /* @__PURE__ */ G("span", {
529
+ }), /* @__PURE__ */ K("span", {
530
530
  className: "resource-actions-heading",
531
531
  children: b("resource.actions")
532
532
  })]
533
533
  }),
534
- /* @__PURE__ */ G("div", {
534
+ /* @__PURE__ */ K("div", {
535
535
  className: "resource-list",
536
- children: T ? Array.from({ length: 5 }, (e, t) => /* @__PURE__ */ G(Bt, {}, t)) : S ? /* @__PURE__ */ K(w, {
536
+ children: T ? Array.from({ length: 5 }, (e, t) => /* @__PURE__ */ K(zt, {}, t)) : S ? /* @__PURE__ */ q(w, {
537
537
  className: "min-h-64",
538
538
  role: "alert",
539
- children: [/* @__PURE__ */ K(oe, { children: [
540
- /* @__PURE__ */ G(le, {
539
+ children: [/* @__PURE__ */ q(oe, { children: [
540
+ /* @__PURE__ */ K(le, {
541
541
  variant: "icon",
542
- children: /* @__PURE__ */ G(ct, {
542
+ children: /* @__PURE__ */ K(st, {
543
543
  name: "alert",
544
544
  size: 20
545
545
  })
546
546
  }),
547
- /* @__PURE__ */ G(ee, { children: b("resource.flowsLoadFailed") }),
548
- /* @__PURE__ */ G(O, { children: b("resource.flowsLoadFailedDescription") })
549
- ] }), /* @__PURE__ */ G(se, { children: /* @__PURE__ */ G(s, {
547
+ /* @__PURE__ */ K(ee, { children: b("resource.flowsLoadFailed") }),
548
+ /* @__PURE__ */ K(O, { children: b("resource.flowsLoadFailedDescription") })
549
+ ] }), /* @__PURE__ */ K(se, { children: /* @__PURE__ */ K(s, {
550
550
  onClick: () => void v.retryFlows(),
551
551
  variant: "outline",
552
552
  children: b("empty.retry")
553
553
  }) })]
554
- }) : P.length == 0 ? /* @__PURE__ */ K(w, {
554
+ }) : P.length == 0 ? /* @__PURE__ */ q(w, {
555
555
  className: "min-h-64",
556
- children: [/* @__PURE__ */ K(oe, { children: [
557
- /* @__PURE__ */ G(le, {
556
+ children: [/* @__PURE__ */ q(oe, { children: [
557
+ /* @__PURE__ */ K(le, {
558
558
  variant: "icon",
559
- children: /* @__PURE__ */ G(ct, {
559
+ children: /* @__PURE__ */ K(st, {
560
560
  name: "flow",
561
561
  size: 20
562
562
  })
563
563
  }),
564
- /* @__PURE__ */ G(ee, { children: b(N.length == 0 ? "resource.noFlows" : "resource.noMatchingFlows") }),
565
- /* @__PURE__ */ G(O, { children: b(N.length == 0 ? "resource.noFlowsDescription" : "resource.noMatchingDescription") })
566
- ] }), N.length == 0 && /* @__PURE__ */ G(se, { children: /* @__PURE__ */ K(s, {
564
+ /* @__PURE__ */ K(ee, { children: b(N.length == 0 ? "resource.noFlows" : "resource.noMatchingFlows") }),
565
+ /* @__PURE__ */ K(O, { children: b(N.length == 0 ? "resource.noFlowsDescription" : "resource.noMatchingDescription") })
566
+ ] }), N.length == 0 && /* @__PURE__ */ K(se, { children: /* @__PURE__ */ q(s, {
567
567
  onClick: () => j(!0),
568
568
  variant: "outline",
569
- children: [/* @__PURE__ */ G(ct, {
569
+ children: [/* @__PURE__ */ K(st, {
570
570
  "data-icon": "inline-start",
571
571
  name: "plus"
572
572
  }), b("resource.newFlow")]
573
573
  }) })]
574
- }) : P.map((e) => /* @__PURE__ */ G(zt, {
574
+ }) : P.map((e) => /* @__PURE__ */ K(Rt, {
575
575
  badge: a?.[e.flowId],
576
576
  busy: x,
577
577
  flow: e,
@@ -580,9 +580,9 @@ function Vt({ catalogWidth: e, createFlowDisabled: t, createFlowField: n, flowBa
580
580
  store: v
581
581
  }, e.flowId))
582
582
  }),
583
- D != null && /* @__PURE__ */ G("div", {
583
+ D != null && /* @__PURE__ */ K("div", {
584
584
  className: "resource-list-footer",
585
- children: /* @__PURE__ */ G(s, {
585
+ children: /* @__PURE__ */ K(s, {
586
586
  disabled: E || te,
587
587
  onClick: () => void v.workspace.loadMoreFlows(),
588
588
  variant: "outline",
@@ -591,13 +591,13 @@ function Vt({ catalogWidth: e, createFlowDisabled: t, createFlowField: n, flowBa
591
591
  })
592
592
  ]
593
593
  }),
594
- A && /* @__PURE__ */ G(bt, {
594
+ A && /* @__PURE__ */ K(yt, {
595
595
  fallback: null,
596
- children: /* @__PURE__ */ G(kt, {
596
+ children: /* @__PURE__ */ K(Ot, {
597
597
  disabled: t,
598
598
  field: n,
599
599
  id: "flow-name",
600
- issue: mt(ie),
600
+ issue: pt(ie),
601
601
  label: b("resource.flowName"),
602
602
  name: ie,
603
603
  onNameChange: ae,
@@ -613,28 +613,28 @@ function Vt({ catalogWidth: e, createFlowDisabled: t, createFlowField: n, flowBa
613
613
  }
614
614
  //#endregion
615
615
  //#region ../../node_modules/.bun/dequal@2.0.3/node_modules/dequal/dist/index.mjs
616
- var Ht = Object.prototype.hasOwnProperty;
617
- function Ut(e, t, n) {
618
- for (n of e.keys()) if (Wt(n, t)) return n;
616
+ var Vt = Object.prototype.hasOwnProperty;
617
+ function Ht(e, t, n) {
618
+ for (n of e.keys()) if (Ut(n, t)) return n;
619
619
  }
620
- function Wt(e, t) {
620
+ function Ut(e, t) {
621
621
  var n, r, i;
622
622
  if (e === t) return !0;
623
623
  if (e && t && (n = e.constructor) === t.constructor) {
624
624
  if (n === Date) return e.getTime() === t.getTime();
625
625
  if (n === RegExp) return e.toString() === t.toString();
626
626
  if (n === Array) {
627
- if ((r = e.length) === t.length) for (; r-- && Wt(e[r], t[r]););
627
+ if ((r = e.length) === t.length) for (; r-- && Ut(e[r], t[r]););
628
628
  return r === -1;
629
629
  }
630
630
  if (n === Set) {
631
631
  if (e.size !== t.size) return !1;
632
- for (r of e) if (i = r, i && typeof i == "object" && (i = Ut(t, i), !i) || !t.has(i)) return !1;
632
+ for (r of e) if (i = r, i && typeof i == "object" && (i = Ht(t, i), !i) || !t.has(i)) return !1;
633
633
  return !0;
634
634
  }
635
635
  if (n === Map) {
636
636
  if (e.size !== t.size) return !1;
637
- for (r of e) if (i = r[0], i && typeof i == "object" && (i = Ut(t, i), !i) || !Wt(r[1], t.get(i))) return !1;
637
+ for (r of e) if (i = r[0], i && typeof i == "object" && (i = Ht(t, i), !i) || !Ut(r[1], t.get(i))) return !1;
638
638
  return !0;
639
639
  }
640
640
  if (n === ArrayBuffer) e = new Uint8Array(e), t = new Uint8Array(t);
@@ -647,7 +647,7 @@ function Wt(e, t) {
647
647
  return r === -1;
648
648
  }
649
649
  if (!n || typeof e == "object") {
650
- for (n in r = 0, e) if (Ht.call(e, n) && ++r && !Ht.call(t, n) || !(n in t) || !Wt(e[n], t[n])) return !1;
650
+ for (n in r = 0, e) if (Vt.call(e, n) && ++r && !Vt.call(t, n) || !(n in t) || !Ut(e[n], t[n])) return !1;
651
651
  return Object.keys(t).length === r;
652
652
  }
653
653
  }
@@ -655,7 +655,7 @@ function Wt(e, t) {
655
655
  }
656
656
  //#endregion
657
657
  //#region ../../node_modules/.bun/nanoid@6.0.1/node_modules/nanoid/index.browser.js
658
- var Gt = (e) => crypto.getRandomValues(new Uint8Array(e)), Kt = (e, t, n) => {
658
+ var Wt = (e) => crypto.getRandomValues(new Uint8Array(e)), Gt = (e, t, n) => {
659
659
  let r = 256 - 256 % e.length;
660
660
  if (r === 256) {
661
661
  let r = e.length - 1;
@@ -677,29 +677,29 @@ var Gt = (e) => crypto.getRandomValues(new Uint8Array(e)), Kt = (e, t, n) => {
677
677
  for (; s--;) if (t[s] < r && (o += e[t[s] % e.length], o.length >= a)) return o;
678
678
  }
679
679
  };
680
- }, qt = (e, t = 21) => Kt(e, t | 0, Gt);
680
+ }, Kt = (e, t = 21) => Gt(e, t | 0, Wt);
681
681
  //#endregion
682
682
  //#region src/flow/common/edgeChanges.ts
683
- function Jt(e, t, n) {
684
- return Xt(e, t)?.edges.some((e) => u(e, n)) ? [] : [{
683
+ function qt(e, t, n) {
684
+ return Yt(e, t)?.edges.some((e) => u(e, n)) ? [] : [{
685
685
  edge: n,
686
686
  kind: "graph.edge.connect",
687
687
  target: t
688
688
  }];
689
689
  }
690
- function Yt(e, t, n) {
691
- return Xt(e, t)?.edges.some((e) => u(e, n)) ? [{
690
+ function Jt(e, t, n) {
691
+ return Yt(e, t)?.edges.some((e) => u(e, n)) ? [{
692
692
  edge: n,
693
693
  kind: "graph.edge.disconnect",
694
694
  target: t
695
695
  }] : [];
696
696
  }
697
- function Xt(e, t) {
697
+ function Yt(e, t) {
698
698
  return t.kind == "flow" ? e.document.graph : e.document.subflows[t.id]?.graph;
699
699
  }
700
700
  //#endregion
701
701
  //#region src/flow/common/moduleChanges.ts
702
- async function Zt(e) {
702
+ async function Xt(e) {
703
703
  try {
704
704
  let { parse: t } = await import("./lib-C5Ipyfps.js").then((e) => e.t), n = t(e, {
705
705
  errorRecovery: !0,
@@ -715,7 +715,7 @@ async function Zt(e) {
715
715
  return [];
716
716
  }
717
717
  }
718
- function Qt(e, t, n, r, i) {
718
+ function Zt(e, t, n, r, i) {
719
719
  return [{
720
720
  beforeImports: n,
721
721
  beforeSource: t,
@@ -725,51 +725,51 @@ function Qt(e, t, n, r, i) {
725
725
  source: r
726
726
  }];
727
727
  }
728
- var $t = qt("23456789abcdefghjkmnpqrstuvwxyz", 10);
728
+ var Qt = Kt("23456789abcdefghjkmnpqrstuvwxyz", 10);
729
729
  //#endregion
730
730
  //#region src/workbench/browser/runtime/canvasPresentation.ts
731
- function Y(e) {
731
+ function X(e) {
732
732
  if (!(typeof e != "object" || !e || Array.isArray(e))) return e;
733
733
  }
734
- function en(e) {
734
+ function $t(e) {
735
735
  return typeof e == "number" && Number.isFinite(e) ? e : void 0;
736
736
  }
737
- function X(e, t) {
738
- let n = Y(e.designer);
737
+ function Z(e, t) {
738
+ let n = X(e.designer);
739
739
  if (n?.version == 1) return on(n, t);
740
740
  }
741
- function tn(e, t) {
742
- return ((e) => Object.fromEntries(Object.entries(Y(e) ?? {}).flatMap(([e, t]) => {
743
- let n = Y(t), r = en(n?.x), i = en(n?.y);
741
+ function en(e, t) {
742
+ return ((e) => Object.fromEntries(Object.entries(X(e) ?? {}).flatMap(([e, t]) => {
743
+ let n = X(t), r = $t(n?.x), i = $t(n?.y);
744
744
  return r == null || i == null ? [] : [[e, {
745
745
  x: r,
746
746
  y: i
747
747
  }]];
748
- })))(X(e, t)?.nodes);
748
+ })))(Z(e, t)?.nodes);
749
749
  }
750
- function Z(e, t) {
751
- let n = tn(e, t), r = X(e, t)?.order, i = Array.isArray(r) ? r.flatMap((e) => typeof e == "string" && n[e] != null ? [e] : []) : [];
750
+ function Q(e, t) {
751
+ let n = en(e, t), r = Z(e, t)?.order, i = Array.isArray(r) ? r.flatMap((e) => typeof e == "string" && n[e] != null ? [e] : []) : [];
752
752
  return [.../* @__PURE__ */ new Set([...i, ...Object.keys(n)])];
753
753
  }
754
- function nn(e, t) {
755
- let n = Y(X(e, t)?.viewport), r = en(n?.x), i = en(n?.y), a = en(n?.zoom);
754
+ function tn(e, t) {
755
+ let n = X(Z(e, t)?.viewport), r = $t(n?.x), i = $t(n?.y), a = $t(n?.zoom);
756
756
  return r == null || i == null || a == null || a <= 0 ? void 0 : {
757
757
  x: r,
758
758
  y: i,
759
759
  zoom: a
760
760
  };
761
761
  }
762
- function rn(e, t) {
763
- return nn(e, t) ?? {
762
+ function nn(e, t) {
763
+ return tn(e, t) ?? {
764
764
  x: 0,
765
765
  y: 0,
766
766
  zoom: 1
767
767
  };
768
768
  }
769
- function an(e, t, n) {
770
- let r = Y(X(e, t)?.comments) ?? {};
769
+ function rn(e, t, n) {
770
+ let r = X(Z(e, t)?.comments) ?? {};
771
771
  return Object.fromEntries(Object.entries(r).flatMap(([e, t]) => {
772
- let r = Y(t), i = typeof r?.title == "string" ? r.title : void 0, a = typeof r?.content == "string" ? r.content : void 0;
772
+ let r = X(t), i = typeof r?.title == "string" ? r.title : void 0, a = typeof r?.content == "string" ? r.content : void 0;
773
773
  return i == null || a == null ? [] : [[e, {
774
774
  content: a,
775
775
  position: n[e] ?? {
@@ -780,12 +780,12 @@ function an(e, t, n) {
780
780
  }]];
781
781
  }));
782
782
  }
783
- function Q(e) {
784
- let t = Y(e.designer);
783
+ function an(e) {
784
+ let t = X(e.designer);
785
785
  return t?.version == 1 ? t : { version: 1 };
786
786
  }
787
787
  function on(e, t) {
788
- return t.kind == "flow" ? Y(e.flow) : Y(Y(e.subflows)?.[t.id]);
788
+ return t.kind == "flow" ? X(e.flow) : X(X(e.subflows)?.[t.id]);
789
789
  }
790
790
  function sn(e, t, n) {
791
791
  if (t.kind == "flow") return {
@@ -793,7 +793,7 @@ function sn(e, t, n) {
793
793
  flow: n,
794
794
  version: 1
795
795
  };
796
- let r = Y(e.subflows) ?? {};
796
+ let r = X(e.subflows) ?? {};
797
797
  return {
798
798
  ...e,
799
799
  subflows: {
@@ -805,15 +805,15 @@ function sn(e, t, n) {
805
805
  }
806
806
  function $(e, t) {
807
807
  let n = {
808
- ...X(e, t),
809
- viewport: { ...rn(e, t) },
810
- nodes: tn(e, t),
811
- order: Z(e, t)
808
+ ...Z(e, t),
809
+ viewport: { ...nn(e, t) },
810
+ nodes: en(e, t),
811
+ order: Q(e, t)
812
812
  };
813
813
  return delete n.layouts, n;
814
814
  }
815
815
  function cn(e, t, n) {
816
- let r = Q(e), i = $(e, t), a = Y(i.nodes) ?? {}, o = [...Z(e, t)];
816
+ let r = an(e), i = $(e, t), a = X(i.nodes) ?? {}, o = [...Q(e, t)];
817
817
  for (let e of Object.keys(n)) o.includes(e) || o.push(e);
818
818
  let s = {
819
819
  ...a,
@@ -832,18 +832,18 @@ function cn(e, t, n) {
832
832
  };
833
833
  }
834
834
  function ln(e, t, n, r) {
835
- if (Y(X(e, t)?.hiddenNodeContent)?.[n] === !0 === r) return e;
836
- let i = $(e, t), a = { ...Y(i.hiddenNodeContent) };
835
+ if (X(Z(e, t)?.hiddenNodeContent)?.[n] === !0 === r) return e;
836
+ let i = $(e, t), a = { ...X(i.hiddenNodeContent) };
837
837
  return r ? a[n] = !0 : delete a[n], {
838
838
  ...e,
839
- designer: sn(Q(e), t, {
839
+ designer: sn(an(e), t, {
840
840
  ...i,
841
841
  hiddenNodeContent: a
842
842
  })
843
843
  };
844
844
  }
845
845
  function un(e, t, n, r) {
846
- let i = cn(e, t, { [n]: r.position }), a = Q(i), o = on(a, t) ?? {}, s = Y(o.comments) ?? {};
846
+ let i = cn(e, t, { [n]: r.position }), a = an(i), o = on(a, t) ?? {}, s = X(o.comments) ?? {};
847
847
  return {
848
848
  ...i,
849
849
  designer: sn(a, t, {
@@ -859,9 +859,9 @@ function un(e, t, n, r) {
859
859
  };
860
860
  }
861
861
  function dn(e, t, n) {
862
- let r = Q(e), i = $(e, t), a = { ...Y(i.comments) }, o = { ...Y(i.nodes) };
862
+ let r = an(e), i = $(e, t), a = { ...X(i.comments) }, o = { ...X(i.nodes) };
863
863
  for (let e of n) delete a[e], delete o[e];
864
- let s = Z(e, t).filter((e) => !n.has(e));
864
+ let s = Q(e, t).filter((e) => !n.has(e));
865
865
  return {
866
866
  ...e,
867
867
  designer: sn(r, t, {
@@ -873,12 +873,12 @@ function dn(e, t, n) {
873
873
  };
874
874
  }
875
875
  function fn(e, t) {
876
- return new Set(Object.keys(Y(X(e, t)?.comments) ?? {}));
876
+ return new Set(Object.keys(X(Z(e, t)?.comments) ?? {}));
877
877
  }
878
878
  function pn(e, t, n) {
879
- let r = nn(e, t);
879
+ let r = tn(e, t);
880
880
  if (r?.x == n.x && r.y == n.y && r.zoom == n.zoom) return e;
881
- let i = Q(e), a = $(e, t);
881
+ let i = an(e), a = $(e, t);
882
882
  return {
883
883
  ...e,
884
884
  designer: sn(i, t, {
@@ -898,20 +898,20 @@ function mn(e, t, n) {
898
898
  "comments",
899
899
  "hiddenNodeContent"
900
900
  ]) {
901
- let t = Y(r[e]) ?? {}, n = Y(i[e]) ?? {};
901
+ let t = X(r[e]) ?? {}, n = X(i[e]) ?? {};
902
902
  for (let e of /* @__PURE__ */ new Set([...Object.keys(t), ...Object.keys(n)])) u(t[e], n[e]) || a.add(e);
903
903
  }
904
904
  let o = (e) => Object.fromEntries([
905
905
  "nodes",
906
906
  "comments",
907
907
  "hiddenNodeContent"
908
- ].map((t) => [t, Object.fromEntries(Object.entries(Y(e[t]) ?? {}).filter(([e]) => a.has(e)))]));
908
+ ].map((t) => [t, Object.fromEntries(Object.entries(X(e[t]) ?? {}).filter(([e]) => a.has(e)))]));
909
909
  return {
910
910
  before: o(r),
911
911
  after: o(i),
912
912
  nodeIds: [...a],
913
- beforeOrder: Z(e, n),
914
- afterOrder: Z(t, n)
913
+ beforeOrder: Q(e, n),
914
+ afterOrder: Q(t, n)
915
915
  };
916
916
  }
917
917
  function hn(e, t, n, r) {
@@ -922,17 +922,17 @@ function hn(e, t, n, r) {
922
922
  "comments",
923
923
  "hiddenNodeContent"
924
924
  ]) {
925
- let t = { ...Y(i[e]) }, r = Y(a[e]) ?? {};
925
+ let t = { ...X(i[e]) }, r = X(a[e]) ?? {};
926
926
  for (let e of n.nodeIds) r[e] == null ? delete t[e] : t[e] = r[e];
927
927
  i[e] = t;
928
928
  }
929
929
  return i.order = [...r ? n.afterOrder : n.beforeOrder], {
930
930
  ...e,
931
- designer: sn(Q(e), t, i)
931
+ designer: sn(an(e), t, i)
932
932
  };
933
933
  }
934
934
  function gn(e, t) {
935
- return Y(X(e, t)?.hiddenNodeContent);
935
+ return X(Z(e, t)?.hiddenNodeContent);
936
936
  }
937
937
  //#endregion
938
938
  //#region src/workbench/browser/runtime/publications/publicationStore.ts
@@ -1099,7 +1099,7 @@ var Sn = class {
1099
1099
  publishing: e.status == "pending"
1100
1100
  }), await this.#_(r, e, s, t.name)) : !1;
1101
1101
  } catch (e) {
1102
- return s() ? (e instanceof H && e.code == "live.conflict" && await this.#m(r), this.#c(L(e, this.#n.t)), !1) : !1;
1102
+ return s() ? (e instanceof U && e.code == "live.conflict" && await this.#m(r), this.#c(L(e, this.#n.t)), !1) : !1;
1103
1103
  } finally {
1104
1104
  s() && this.#S({ publishing: !1 });
1105
1105
  }
@@ -1125,7 +1125,7 @@ var Sn = class {
1125
1125
  message: this.#n.t("notice.rolledBack", { revision: e.revisionId })
1126
1126
  }), !0);
1127
1127
  } catch (e) {
1128
- return s() ? (e instanceof H && e.code == "live.conflict" && await this.#m(r), this.#c(L(e, this.#n.t)), !1) : !1;
1128
+ return s() ? (e instanceof U && e.code == "live.conflict" && await this.#m(r), this.#c(L(e, this.#n.t)), !1) : !1;
1129
1129
  } finally {
1130
1130
  s() && this.#S({ rollingBackPublicationId: void 0 });
1131
1131
  }
@@ -1286,7 +1286,7 @@ var Sn = class {
1286
1286
  if (t != null && t != "") try {
1287
1287
  return await this.#e.getPublishOperation(e.flowId, t);
1288
1288
  } catch (t) {
1289
- if (t instanceof H && t.code == "publication.operation-not-found") {
1289
+ if (t instanceof U && t.code == "publication.operation-not-found") {
1290
1290
  this.#a.setItem(this.#b(e.flowId), "");
1291
1291
  return;
1292
1292
  }
@@ -1295,7 +1295,7 @@ var Sn = class {
1295
1295
  }
1296
1296
  async #_(e, t, n, r) {
1297
1297
  this.#y();
1298
- let i = J.runFork(J.gen({ self: this }, function* () {
1298
+ let i = Y.runFork(Y.gen({ self: this }, function* () {
1299
1299
  let i = yield* this.#v(e, t, n);
1300
1300
  if (i == null || !n()) return !1;
1301
1301
  if (this.#f = void 0, this.#x(e, {
@@ -1305,10 +1305,10 @@ var Sn = class {
1305
1305
  kind: "error",
1306
1306
  message: i.issue.message
1307
1307
  }), !1;
1308
- let a = yield* J.tryPromise({
1308
+ let a = yield* Y.tryPromise({
1309
1309
  try: (t) => this.#p(e, t),
1310
1310
  catch: (e) => e
1311
- }).pipe(J.match({
1311
+ }).pipe(Y.match({
1312
1312
  onFailure: (e) => (n() && this.#c(L(e, this.#n.t)), !1),
1313
1313
  onSuccess: () => !0
1314
1314
  }));
@@ -1318,27 +1318,27 @@ var Sn = class {
1318
1318
  }), !0) : !1;
1319
1319
  }));
1320
1320
  this.#d = i;
1321
- let a = await J.runPromiseExit(Et.join(i));
1322
- if (Tt.isSuccess(a)) return a.value;
1323
- if (wt.hasInterruptsOnly(a.cause)) return !1;
1324
- throw wt.squash(a.cause);
1321
+ let a = await Y.runPromiseExit(Tt.join(i));
1322
+ if (wt.isSuccess(a)) return a.value;
1323
+ if (Ct.hasInterruptsOnly(a.cause)) return !1;
1324
+ throw Ct.squash(a.cause);
1325
1325
  }
1326
1326
  #v(e, t, n) {
1327
- return J.gen({ self: this }, function* () {
1327
+ return Y.gen({ self: this }, function* () {
1328
1328
  let r = t;
1329
1329
  for (; r.status == "pending";) {
1330
- if (yield* J.sleep(bn), !n()) return;
1331
- let t = yield* J.tryPromise({
1330
+ if (yield* Y.sleep(bn), !n()) return;
1331
+ let t = yield* Y.tryPromise({
1332
1332
  try: (t) => this.#e.getPublishOperation(e.flowId, r.operationId, t),
1333
1333
  catch: (e) => e
1334
- }).pipe(J.match({
1334
+ }).pipe(Y.match({
1335
1335
  onFailure: (e) => ({ error: e }),
1336
1336
  onSuccess: (e) => ({ value: e })
1337
1337
  }));
1338
1338
  if (!n()) return;
1339
1339
  if ("error" in t) {
1340
1340
  let n = t.error;
1341
- if (n instanceof H && n.code == "publication.operation-not-found") {
1341
+ if (n instanceof U && n.code == "publication.operation-not-found") {
1342
1342
  this.#a.setItem(this.#b(e.flowId), ""), this.#x(e, {
1343
1343
  operation: void 0,
1344
1344
  publishing: !1
@@ -1376,11 +1376,11 @@ var Sn = class {
1376
1376
  function wn(e) {
1377
1377
  switch (e.kind) {
1378
1378
  case "condition": return {};
1379
- case "subflow": return Ye(e.definition?.inputs ?? []);
1380
- case "task": return Ye(e.definition?.inputs ?? []);
1379
+ case "subflow": return Je(e.definition?.inputs ?? []);
1380
+ case "task": return Je(e.definition?.inputs ?? []);
1381
1381
  case "value": return {};
1382
1382
  case "approval":
1383
- case "wait": return Ye(e.node.inputDefinitions);
1383
+ case "wait": return Je(e.node.inputDefinitions);
1384
1384
  }
1385
1385
  }
1386
1386
  function Tn(e) {
@@ -1835,7 +1835,7 @@ function Bn(e, t) {
1835
1835
  return {
1836
1836
  icon: i?.icon,
1837
1837
  kind: "node",
1838
- label: `${i?.title ?? n.nodeId} · ${He(n)}`
1838
+ label: `${i?.title ?? n.nodeId} · ${Ve(n)}`
1839
1839
  };
1840
1840
  }
1841
1841
  function Vn(e, t, n) {
@@ -2185,7 +2185,7 @@ function tr(e, t, n = {}, r = [], i = {}, a = {}, o, s, c = [], l = {}) {
2185
2185
  zoom: 1
2186
2186
  }
2187
2187
  };
2188
- let f = Hn(u, t, s, c), p = Object.entries(d.nodes), m = new Map(p.map(([e, t]) => [e, u.resolveNode(e, t)])), h = new Set(p.map(([e]) => e)), g = new Map([...m].map(([e, t]) => [e, Rn(t)])), _ = qn(d, h), v = Jn(h, _.dependencies, _.dependents), y = tn(n, t), b = gn(n, t), x = {
2188
+ let f = Hn(u, t, s, c), p = Object.entries(d.nodes), m = new Map(p.map(([e, t]) => [e, u.resolveNode(e, t)])), h = new Set(p.map(([e]) => e)), g = new Map([...m].map(([e, t]) => [e, Rn(t)])), _ = qn(d, h), v = Jn(h, _.dependencies, _.dependents), y = en(n, t), b = gn(n, t), x = {
2189
2189
  connectionCatalogs: a,
2190
2190
  connectorActions: i,
2191
2191
  diagnostics: r,
@@ -2216,18 +2216,18 @@ function tr(e, t, n = {}, r = [], i = {}, a = {}, o, s, c = [], l = {}) {
2216
2216
  contentHidden: b?.[e] === !0
2217
2217
  });
2218
2218
  }
2219
- for (let [e, r] of Object.entries(an(n, t, y)).toSorted(([e], [t]) => e.localeCompare(t))) C.push({
2219
+ for (let [e, r] of Object.entries(rn(n, t, y)).toSorted(([e], [t]) => e.localeCompare(t))) C.push({
2220
2220
  ...r,
2221
2221
  id: e,
2222
2222
  kind: "comment",
2223
2223
  contentHidden: b?.[e] === !0
2224
2224
  });
2225
- let w = new Map(Z(n, t).map((e, t) => [e, t]));
2225
+ let w = new Map(Q(n, t).map((e, t) => [e, t]));
2226
2226
  return C.sort((e, t) => (w.get(e.id) ?? -1) - (w.get(t.id) ?? -1)), {
2227
2227
  edges: _.edges,
2228
2228
  nodes: C,
2229
2229
  ...f.status == null ? {} : { runStatus: f.status },
2230
- viewport: rn(n, t)
2230
+ viewport: nn(n, t)
2231
2231
  };
2232
2232
  }
2233
2233
  //#endregion
@@ -2244,9 +2244,9 @@ function nr(e, t) {
2244
2244
  };
2245
2245
  }
2246
2246
  function rr(e) {
2247
- let t = W(e);
2247
+ let t = G(e);
2248
2248
  if (t == null || t.type != "object" && t.properties == null) throw Error("Connector action inputSchema must be an object schema.");
2249
- let n = W(t.properties);
2249
+ let n = G(t.properties);
2250
2250
  if (n == null) return [];
2251
2251
  let r = cr(t.required);
2252
2252
  return Object.entries(n).map(([e, n]) => {
@@ -2261,7 +2261,7 @@ function rr(e) {
2261
2261
  });
2262
2262
  }
2263
2263
  function ir(e) {
2264
- let t = W(e), n = W(t?.properties);
2264
+ let t = G(e), n = G(t?.properties);
2265
2265
  if (t != null && (t.type == "object" || n != null)) {
2266
2266
  if (n == null) return [];
2267
2267
  let e = cr(t.required);
@@ -2280,7 +2280,7 @@ function ir(e) {
2280
2280
  }];
2281
2281
  }
2282
2282
  function ar(e, t) {
2283
- let n = W(t);
2283
+ let n = G(t);
2284
2284
  if (n == null) return t;
2285
2285
  let r = Object.assign({}, n);
2286
2286
  return r.$defs == null && e.$defs != null && (r.$defs = e.$defs), r.definitions == null && e.definitions != null && (r.definitions = e.definitions), r;
@@ -2296,7 +2296,7 @@ function cr(e) {
2296
2296
  return Array.isArray(e) ? new Set(e.filter((e) => typeof e == "string")) : /* @__PURE__ */ new Set();
2297
2297
  }
2298
2298
  function lr(e, t = e, n = /* @__PURE__ */ new Set()) {
2299
- let r = W(e);
2299
+ let r = G(e);
2300
2300
  if (r == null) return !1;
2301
2301
  if (Object.hasOwn(r, "type")) return r.type == "null" || Array.isArray(r.type) && r.type.includes("null");
2302
2302
  if (Object.hasOwn(r, "enum")) return Array.isArray(r.enum) && r.enum.includes(null);
@@ -2311,7 +2311,7 @@ function lr(e, t = e, n = /* @__PURE__ */ new Set()) {
2311
2311
  function ur(e, t) {
2312
2312
  let n = [], r = /* @__PURE__ */ new Set(), i = t;
2313
2313
  for (;;) {
2314
- let t = W(i);
2314
+ let t = G(i);
2315
2315
  if (t == null) return n;
2316
2316
  n.push(t);
2317
2317
  let a = typeof t.$ref == "string" ? t.$ref : void 0;
@@ -2326,7 +2326,7 @@ function dr(e, t) {
2326
2326
  if (!t.startsWith("#/")) return;
2327
2327
  let n = e;
2328
2328
  for (let e of t.slice(2).split("/")) {
2329
- let t = W(n), r = e.replaceAll("~1", "/").replaceAll("~0", "~");
2329
+ let t = G(n), r = e.replaceAll("~1", "/").replaceAll("~0", "~");
2330
2330
  if (t == null || !Object.hasOwn(t, r)) return;
2331
2331
  n = t[r];
2332
2332
  }
@@ -2336,18 +2336,18 @@ function dr(e, t) {
2336
2336
  //#region src/workbench/browser/runtime/stores/proxyCatalog.ts
2337
2337
  function fr(e, t) {
2338
2338
  let n = me(e);
2339
- if (n.success === !1) throw new H(502, typeof n.errorCode == "string" ? n.errorCode : "connector.unavailable", typeof n.message == "string" ? n.message : "Connector request failed.");
2340
- if (n.success !== !0 || !Array.isArray(n.data)) return V();
2339
+ if (n.success === !1) throw new U(502, typeof n.errorCode == "string" ? n.errorCode : "connector.unavailable", typeof n.message == "string" ? n.message : "Connector request failed.");
2340
+ if (n.success !== !0 || !Array.isArray(n.data)) return H();
2341
2341
  for (let e of n.data) t(me(e));
2342
2342
  return n;
2343
2343
  }
2344
2344
  function pr(e) {
2345
- return !Array.isArray(e.authTypes) || e.authTypes.some((e) => typeof e != "string") ? V() : {
2346
- serviceId: z(e.service),
2347
- serviceName: z(e.displayName),
2345
+ return !Array.isArray(e.authTypes) || e.authTypes.some((e) => typeof e != "string") ? H() : {
2346
+ serviceId: B(e.service),
2347
+ serviceName: B(e.displayName),
2348
2348
  noSetup: e.authTypes.length == 1 && e.authTypes[0] == "no_auth",
2349
- ...e.iconUrl == null || e.iconUrl === "" ? {} : { icon: z(e.iconUrl) },
2350
- ...e.homepageUrl == null || e.homepageUrl === "" ? {} : { homepageUrl: z(e.homepageUrl) }
2349
+ ...e.iconUrl == null || e.iconUrl === "" ? {} : { icon: B(e.iconUrl) },
2350
+ ...e.homepageUrl == null || e.homepageUrl === "" ? {} : { homepageUrl: B(e.homepageUrl) }
2351
2351
  };
2352
2352
  }
2353
2353
  function mr(e) {
@@ -2356,18 +2356,18 @@ function mr(e) {
2356
2356
  "disconnected",
2357
2357
  "error",
2358
2358
  "reauth_required"
2359
- ].includes(e.status) ? V() : {
2360
- connectionId: z(e.id),
2361
- serviceId: z(e.service),
2362
- displayName: z(e.displayName),
2359
+ ].includes(e.status) ? H() : {
2360
+ connectionId: B(e.id),
2361
+ serviceId: B(e.service),
2362
+ displayName: B(e.displayName),
2363
2363
  isDefault: e.isDefault,
2364
2364
  status: e.status,
2365
- ...e.alias == null ? {} : { alias: z(e.alias) },
2365
+ ...e.alias == null ? {} : { alias: B(e.alias) },
2366
2366
  ...e.marketplace == null ? {} : { builtInAccount: !0 }
2367
2367
  };
2368
2368
  }
2369
2369
  function hr(e) {
2370
- if (z(e.id), z(e.service), z(e.name), typeof e.description != "string") return V();
2370
+ if (B(e.id), B(e.service), B(e.name), typeof e.description != "string") return H();
2371
2371
  nr(e.inputSchema, e.outputSchema);
2372
2372
  }
2373
2373
  function gr(e) {
@@ -2380,16 +2380,16 @@ function gr(e) {
2380
2380
  }
2381
2381
  function _r(e, t) {
2382
2382
  let n = t.data.find((t) => t.service == e.service);
2383
- if (n == null) return V();
2383
+ if (n == null) return H();
2384
2384
  let r = pr(n), i = nr(e.inputSchema, e.outputSchema);
2385
2385
  return {
2386
2386
  serviceId: r.serviceId,
2387
2387
  serviceName: r.serviceName,
2388
2388
  ...r.icon == null ? {} : { icon: r.icon },
2389
2389
  ...r.homepageUrl == null ? {} : { homepageUrl: r.homepageUrl },
2390
- actionId: z(e.id),
2391
- ...e.operationType == null ? {} : { operationType: z(e.operationType) },
2392
- name: z(e.name),
2390
+ actionId: B(e.id),
2391
+ ...e.operationType == null ? {} : { operationType: B(e.operationType) },
2392
+ name: B(e.name),
2393
2393
  description: e.description,
2394
2394
  authenticated: !n.authTypes.includes("no_auth"),
2395
2395
  inputSchema: De(e.inputSchema),
@@ -2402,7 +2402,7 @@ function _r(e, t) {
2402
2402
  //#region src/workbench/browser/runtime/stores/catalogStores.ts
2403
2403
  function vr(e) {
2404
2404
  let t = me(e);
2405
- return t.version != 1 || !Array.isArray(t.actions) ? V() : t.actions.map(Se);
2405
+ return t.version != 1 || !Array.isArray(t.actions) ? H() : t.actions.map(Se);
2406
2406
  }
2407
2407
  var yr = (...e) => JSON.stringify(e), br = class {
2408
2408
  constructor(e, t, n) {
@@ -2416,9 +2416,9 @@ var yr = (...e) => JSON.stringify(e), br = class {
2416
2416
  }), a = `/v1/connector/proxy/${this.kind}${i.size ? `?${i}` : ""}`, o = this.entries.get(a);
2417
2417
  if (o == null) {
2418
2418
  let e = (e) => fr(e, this.kind == "providers" ? pr : this.kind == "apps" ? mr : (e) => {
2419
- if (hr(e), e.service != n) return V();
2419
+ if (hr(e), e.service != n) return H();
2420
2420
  });
2421
- o = new Ae((t, n) => this.client.readProxyCatalog({
2421
+ o = new ke((t, n) => this.client.readProxyCatalog({
2422
2422
  path: a,
2423
2423
  decode: e
2424
2424
  }, t, n), this.kind == "providers" ? 3e5 : 3e4, this.options == null ? void 0 : {
@@ -2529,13 +2529,13 @@ var yr = (...e) => JSON.stringify(e), br = class {
2529
2529
  ...t == null ? {} : { flowId: t },
2530
2530
  locale: n
2531
2531
  }), a = `/v1/connector/action-metadata/${encodeURIComponent(e)}?${i}`, o = this.#n.get(a);
2532
- return o ?? (o = new Ae((t, n) => this.client.readCatalog({
2532
+ return o ?? (o = new ke((t, n) => this.client.readCatalog({
2533
2533
  path: a,
2534
2534
  decode: (t) => {
2535
2535
  let n = me(t);
2536
- if (n.version != 1) return V();
2536
+ if (n.version != 1) return H();
2537
2537
  let r = Se(n.action);
2538
- return r.actionId == e ? r : V();
2538
+ return r.actionId == e ? r : H();
2539
2539
  }
2540
2540
  }, t, n), 3e4), this.#n.set(a, o)), o.get(r);
2541
2541
  }
@@ -2555,7 +2555,7 @@ var yr = (...e) => JSON.stringify(e), br = class {
2555
2555
  }
2556
2556
  let s = o.get(a);
2557
2557
  if (s != null) return s.refresh(), s;
2558
- let c = new Ae((e, t) => this.client.readCatalog({
2558
+ let c = new ke((e, t) => this.client.readCatalog({
2559
2559
  path: `/v1/connector/action-metadata?${i}`,
2560
2560
  decode: vr
2561
2561
  }, null, t), 3e4);
@@ -2595,8 +2595,8 @@ var yr = (...e) => JSON.stringify(e), br = class {
2595
2595
  #t;
2596
2596
  #n;
2597
2597
  #r;
2598
- constructor(e, t, r = h()) {
2599
- this.client = e, this.setNotice = t, this.i18n = r, this.#e = n(Er), this.#n = 0, this.#r = !1, this.$ = this.#e;
2598
+ constructor(e, t, r = h(), i = () => {}) {
2599
+ this.client = e, this.setNotice = t, this.i18n = r, this.onSaved = i, this.#e = n(Er), this.#n = 0, this.#r = !1, this.$ = this.#e;
2600
2600
  }
2601
2601
  async load(e) {
2602
2602
  let t = e != null && e == this.#t && this.#e.value.access != null, n = ++this.#n;
@@ -2672,7 +2672,7 @@ var yr = (...e) => JSON.stringify(e), br = class {
2672
2672
  ...this.#e.value,
2673
2673
  access: a,
2674
2674
  savingProviderId: void 0
2675
- }), !0;
2675
+ }), this.onSaved(r), !0;
2676
2676
  } catch (e) {
2677
2677
  if (this.#r || r != this.#t) return !1;
2678
2678
  this.#e.set({
@@ -2828,7 +2828,7 @@ var Lr = class {
2828
2828
  constructor(r, i, a, o, s = h(), c = i.catalogs) {
2829
2829
  this.data = c, this.#i = /* @__PURE__ */ new Set(), this.#a = new I(), this.#o = new I(), this.#d = n(Ar), this.#f = n([]), this.#p = n([]), this.#g = !1, this.loadConnections = async (e) => {
2830
2830
  let t = this.#m.$.flowId.value;
2831
- this.#g || t == null || await k(this.data.connections.get(void 0, t), e);
2831
+ this.#g || t == null || await k(this.data.connections.get(void 0), e);
2832
2832
  }, this.browseAddNodeOptions = (e) => {
2833
2833
  let t = this.data.providers.get(void 0, this.#n);
2834
2834
  return j(e, (e) => {
@@ -2874,13 +2874,13 @@ var Lr = class {
2874
2874
  let l = t((e) => {
2875
2875
  let t = e(i.$.flowId);
2876
2876
  return Object.fromEntries(e(this.#f).flatMap((n) => {
2877
- let r = e(ke(this.data.actions.detail(n, t, this.#n)));
2878
- return r == null ? [] : [[n, Or(r, e(ke(this.data.connections.get(r.serviceId, t))))]];
2877
+ let r = e(R(this.data.actions.detail(n, t, this.#n)));
2878
+ return r == null ? [] : [[n, Or(r, e(R(this.data.connections.get(r.serviceId, t))))]];
2879
2879
  }));
2880
2880
  }), u = t((e) => {
2881
2881
  let t = e(i.$.flowId);
2882
2882
  return Object.fromEntries(e(this.#p).flatMap((n) => {
2883
- let r = e(ke(this.data.connections.get(n, t)));
2883
+ let r = e(R(this.data.connections.get(n, t)));
2884
2884
  return r == null ? [] : [[n, kr(r)]];
2885
2885
  }));
2886
2886
  });
@@ -2891,7 +2891,7 @@ var Lr = class {
2891
2891
  return {
2892
2892
  action: r,
2893
2893
  actionError: o == null ? void 0 : {
2894
- ...o instanceof H ? { code: o.code } : {},
2894
+ ...o instanceof U ? { code: o.code } : {},
2895
2895
  message: L(o, this.#t.t).message
2896
2896
  },
2897
2897
  activeConnections: a?.active,
@@ -2900,9 +2900,10 @@ var Lr = class {
2900
2900
  connectionError: s == null ? void 0 : L(s, this.#t.t).message
2901
2901
  };
2902
2902
  }), this.$ = {
2903
+ pickerConnections: t((e) => e(i.$.flowId) == null ? [] : e(R(this.data.connections.get(void 0))) ?? []),
2903
2904
  connections: t((e) => {
2904
2905
  let t = e(i.$.flowId);
2905
- return t == null ? [] : e(ke(this.data.connections.get(void 0, t))) ?? [];
2906
+ return t == null ? [] : e(R(this.data.connections.get(void 0, t))) ?? [];
2906
2907
  }),
2907
2908
  actionLoading: e(this.#d, (e) => e.actionLoading),
2908
2909
  actions: l,
@@ -3100,11 +3101,11 @@ var zr = class {
3100
3101
  let t = this.#t.get(e);
3101
3102
  if (t == null) {
3102
3103
  let n = (t) => {
3103
- let n = Ne(t);
3104
+ let n = Me(t);
3104
3105
  if (n.locale != e) throw Error("Unexpected Trigger catalog language.");
3105
3106
  return n;
3106
3107
  }, r = this.host.triggerCatalogCache;
3107
- t = new Ae((t, r) => this.client.readCatalog({
3108
+ t = new ke((t, r) => this.client.readCatalog({
3108
3109
  path: `/v1/trigger-keys/catalog?locale=${encodeURIComponent(e)}`,
3109
3110
  decode: n
3110
3111
  }, t, r), 3e5, r == null ? void 0 : {
@@ -3178,7 +3179,7 @@ var Wr = class {
3178
3179
  #c;
3179
3180
  #l;
3180
3181
  constructor(r, i, a, o, s = h()) {
3181
- this.#r = new I(), this.#i = /* @__PURE__ */ new Set(), this.#s = n(Br), this.#l = !1, this.browseAddNodeOptions = (e) => this.#u("", e), this.provideAddNodeOptions = (e, t) => this.#u(e, t), this.catalog = new zr(r, _t([s.lang]), o), this.#e = r, this.#t = o, this.#n = s, this.#o = a, this.#c = i, this.#a = t((e) => {
3182
+ this.#r = new I(), this.#i = /* @__PURE__ */ new Set(), this.#s = n(Br), this.#l = !1, this.browseAddNodeOptions = (e) => this.#u("", e), this.provideAddNodeOptions = (e, t) => this.#u(e, t), this.catalog = new zr(r, gt([s.lang]), o), this.#e = r, this.#t = o, this.#n = s, this.#o = a, this.#c = i, this.#a = t((e) => {
3182
3183
  let t = e(i.$.selection), n = Hr(t, i), r = e(this.#s);
3183
3184
  if (t?.kind != "trigger") return { authorizationPending: !1 };
3184
3185
  let a = t.trigger;
@@ -3291,7 +3292,7 @@ var Wr = class {
3291
3292
  function Gr(e, t) {
3292
3293
  let n = e, r = [];
3293
3294
  for (let e of t) {
3294
- let t = pt(n, [e]), i = [];
3295
+ let t = ft(n, [e]), i = [];
3295
3296
  switch (e.kind) {
3296
3297
  case "graph.node.create":
3297
3298
  i.push({
@@ -3550,7 +3551,7 @@ function Kr(e, t, n) {
3550
3551
  let r = e.graph(t)?.nodes ?? {}, i = Object.fromEntries(n.flatMap((e) => r[e] == null ? [] : [[e, r[e]]]));
3551
3552
  return {
3552
3553
  edges: (e.graph(t)?.edges ?? []).filter((e) => i[e.source] != null && i[e.target] != null),
3553
- bindings: Object.fromEntries(Object.values(i).flatMap((t) => "inputs" in t ? Object.values(Ze(t)).flatMap((t) => t.kind == "sources" ? t.sources.flatMap((t) => {
3554
+ bindings: Object.fromEntries(Object.values(i).flatMap((t) => "inputs" in t ? Object.values(Xe(t)).flatMap((t) => t.kind == "sources" ? t.sources.flatMap((t) => {
3554
3555
  if (t.kind != "binding") return [];
3555
3556
  let n = e.binding(t.bindingId);
3556
3557
  return n?.kind == "variable" ? [[t.bindingId, n]] : [];
@@ -3572,7 +3573,7 @@ function qr(e, t, n, r) {
3572
3573
  let i = Object.values(e.graph(t)?.nodes ?? {}).some((e) => e.kind === "manual"), a = Object.entries(n.nodes).filter(([, e]) => (t.kind == "flow" || "inputs" in e) && (e.kind !== "manual" || !i) && (e.kind != "task" || e.task == null || n.modules[e.task.moduleId] != null)), o = a.map(([e]) => e), s = new Map(o.map((e) => [e, r()])), c = [], l = /* @__PURE__ */ new Map();
3573
3574
  for (let [, e] of a) {
3574
3575
  if (!("inputs" in e)) continue;
3575
- let t = Object.values(Ze(e));
3576
+ let t = Object.values(Xe(e));
3576
3577
  for (let e of t) if (e.kind == "sources") for (let t of e.sources) t.kind != "binding" || n.bindings[t.bindingId]?.kind != "variable" || l.has(t.bindingId) || l.set(t.bindingId, r());
3577
3578
  }
3578
3579
  for (let [e, t] of l) {
@@ -3646,7 +3647,7 @@ function qr(e, t, n, r) {
3646
3647
  ...o,
3647
3648
  inputs: u
3648
3649
  };
3649
- if (o.kind == "condition" && (d = Xe(o, (e) => e.kind == "node" ? {
3650
+ if (o.kind == "condition" && (d = Ye(o, (e) => e.kind == "node" ? {
3650
3651
  ...e,
3651
3652
  nodeId: s.get(e.nodeId) ?? e.nodeId
3652
3653
  } : e.kind == "binding" ? {
@@ -3692,7 +3693,7 @@ function qr(e, t, n, r) {
3692
3693
  });
3693
3694
  }
3694
3695
  return {
3695
- changes: Pe(e, t, c),
3696
+ changes: Ne(e, t, c),
3696
3697
  nodeIds: [...s.values()],
3697
3698
  sourceIds: o
3698
3699
  };
@@ -3790,15 +3791,15 @@ var Xr = class {
3790
3791
  this.#a = e;
3791
3792
  let t = e, n = [];
3792
3793
  for (let e of this.#o) try {
3793
- t = B(t, e.changes), n.push(e);
3794
+ t = V(t, e.changes), n.push(e);
3794
3795
  } catch (t) {
3795
- if (!(t instanceof Qe)) throw t;
3796
+ if (!(t instanceof Ze)) throw t;
3796
3797
  e.active = !1;
3797
3798
  }
3798
3799
  return this.#o = n, t;
3799
3800
  }
3800
3801
  project(e) {
3801
- return this.#o.reduce((e, t) => B(e, t.changes), e);
3802
+ return this.#o.reduce((e, t) => V(e, t.changes), e);
3802
3803
  }
3803
3804
  async settled() {
3804
3805
  await this.#s;
@@ -3843,14 +3844,14 @@ var Xr = class {
3843
3844
  let r = this.#l(e, n, t);
3844
3845
  return this.#o.length == 0 && this.#t.check(), r;
3845
3846
  } catch (n) {
3846
- if (n instanceof H && n.code == "flow.revision-conflict") {
3847
+ if (n instanceof U && n.code == "flow.revision-conflict") {
3847
3848
  if (!t && await this.#t.recover(e)) {
3848
3849
  t = !0, e.changeId = C();
3849
3850
  continue;
3850
3851
  }
3851
3852
  t && await this.#t.recover(e), this.#u(e);
3852
3853
  } else {
3853
- if (!(n instanceof H) && !t) {
3854
+ if (!(n instanceof U) && !t) {
3854
3855
  let n = this.#a?.revisionId;
3855
3856
  if (await this.#t.recover(e)) {
3856
3857
  t = !0, e.active && this.#a?.revisionId != n && (e.changeId = C());
@@ -3866,7 +3867,7 @@ var Xr = class {
3866
3867
  #l(e, t, n) {
3867
3868
  let r = {
3868
3869
  ...n.revision,
3869
- content: B(t, e.changes).content
3870
+ content: V(t, e.changes).content
3870
3871
  };
3871
3872
  return this.#o = this.#o.filter((t) => t !== e), this.#a = r, this.#t.apply(this.project(r)), this.#t.headChanged(e.flowId, r.revisionId), r;
3872
3873
  }
@@ -4000,9 +4001,9 @@ var Xr = class {
4000
4001
  try {
4001
4002
  let t = await this.#e.publishFlow(e.flowId, e.draftRevisionId, e.live?.publicationId ?? null);
4002
4003
  if (this.#s) return;
4003
- let n = await J.runPromise(J.gen({ self: this }, function* () {
4004
+ let n = await Y.runPromise(Y.gen({ self: this }, function* () {
4004
4005
  let n = t;
4005
- for (; n.status == "pending";) yield* J.sleep(1e3), n = yield* J.tryPromise((t) => this.#e.getPublishOperation(e.flowId, n.operationId, t));
4006
+ for (; n.status == "pending";) yield* Y.sleep(1e3), n = yield* Y.tryPromise((t) => this.#e.getPublishOperation(e.flowId, n.operationId, t));
4006
4007
  return n;
4007
4008
  }), { signal: this.#a.signal });
4008
4009
  if (this.#s) return;
@@ -4123,11 +4124,11 @@ var Xr = class {
4123
4124
  phase: "saving"
4124
4125
  }, this.#c();
4125
4126
  try {
4126
- let t = await Zt(i);
4127
+ let t = await Xt(i);
4127
4128
  if (this.#n || !e()) return !1;
4128
4129
  let a = this.#r.value.draft?.content.modules[n];
4129
4130
  if (a == null || a.source != r.base.source || JSON.stringify(a.imports) != JSON.stringify(r.base.imports)) throw Error(this.#o.t("notice.moduleUpdated"));
4130
- let o = i == a.source && JSON.stringify(t) == JSON.stringify(a.imports) ? this.#r.value.draft : await this.changeDraft(Qt(n, r.base.source, r.base.imports, i, t));
4131
+ let o = i == a.source && JSON.stringify(t) == JSON.stringify(a.imports) ? this.#r.value.draft : await this.changeDraft(Zt(n, r.base.source, r.base.imports, i, t));
4131
4132
  if (this.#n || !e()) return !1;
4132
4133
  let s = this.#e.get(n);
4133
4134
  if (s == null) continue;
@@ -4215,7 +4216,7 @@ var Xr = class {
4215
4216
  this.#c(a, r), o = !0;
4216
4217
  } catch (r) {
4217
4218
  if (this.#o || !n()) return;
4218
- if (r instanceof H && r.code == "flow.presentation-conflict") try {
4219
+ if (r instanceof U && r.code == "flow.presentation-conflict") try {
4219
4220
  let t = await this.#e.getPresentation(e);
4220
4221
  if (this.#o || !n()) return;
4221
4222
  this.#c(a, t), this.#n({
@@ -4378,7 +4379,7 @@ var ui = class {
4378
4379
  #x;
4379
4380
  #S;
4380
4381
  #C;
4381
- constructor(e, t, n = $t, r = h(), i = () => {}, a = new Tr(e), o = () => {}, s = () => {}) {
4382
+ constructor(e, t, n = Qt, r = h(), i = () => {}, a = new Tr(e), o = () => {}, s = () => {}) {
4382
4383
  this.catalogs = a, this.flowCreated = o, this.accessChanged = s, this.#n = new I(), this.#d = new Jr(), this.history$ = this.#d.state$, this.#m = 0, this.#h = 0, this.#g = !1, this.#_ = !1, this.#v = !1, this.#y = !1, this.#b = 0, this.#e = e, this.#c = t, this.#i = n, this.#r = r, this.#s = i, this.#o = new $r(e, t, r), this.#l = new oi(r, this.#o), this.#u = new ei(this.#l, this.#n, (e) => this.#O(e, !1), t, r), this.#t = new Xr(e, t, r, {
4383
4384
  apply: (e) => this.#A(e, "local"),
4384
4385
  beforeChange: (e) => {
@@ -4461,7 +4462,7 @@ var ui = class {
4461
4462
  } catch (e) {
4462
4463
  if (!t()) return !1;
4463
4464
  this.#C?.(), this.#C = void 0;
4464
- let n = e instanceof H && e.code == ve.flowUpgradeRequired ? "upgrade" : e instanceof H && (e.code == ve.flowRepairRequired || e.code == ve.flowInvalid) ? "repair" : "failed";
4465
+ let n = e instanceof U && e.code == ve.flowUpgradeRequired ? "upgrade" : e instanceof U && (e.code == ve.flowRepairRequired || e.code == ve.flowInvalid) ? "repair" : "failed";
4465
4466
  return this.#V({
4466
4467
  workspaceLoadFailed: !0,
4467
4468
  workspaceLoadProblem: {
@@ -4488,7 +4489,7 @@ var ui = class {
4488
4489
  await this.#e.repairDraft(e, n.expectedRevisionId, n.changeId), this.#x = void 0, await this.selectFlow(e);
4489
4490
  } catch (t) {
4490
4491
  if (this.#_) return;
4491
- if (t instanceof H && t.code == ve.flowRevisionConflict) {
4492
+ if (t instanceof U && t.code == ve.flowRevisionConflict) {
4492
4493
  this.#x = void 0, await this.selectFlow(e);
4493
4494
  return;
4494
4495
  }
@@ -4592,7 +4593,7 @@ var ui = class {
4592
4593
  if (r == null || i == null) return;
4593
4594
  let a = this.#i();
4594
4595
  if (e.kind == "comment") return await this.#T(i, a, t);
4595
- let o = F(r), s = qe(e, o, i, this.#r.t);
4596
+ let o = F(r), s = Ke(e, o, i, this.#r.t);
4596
4597
  if (s == null) return;
4597
4598
  if (s.kind == "provider-trigger" && s.connectionId == null && s.definition.key != "feishu_app_bot.on_event") {
4598
4599
  try {
@@ -4606,9 +4607,9 @@ var ui = class {
4606
4607
  }
4607
4608
  if (this.#_ || this.#l.value.draft != r || this.#l.value.target != i) return;
4608
4609
  }
4609
- let c = n?.(a), l = Be(o, i, a, s, this.#i);
4610
+ let c = n?.(a), l = ze(o, i, a, s, this.#i);
4610
4611
  if (l == null) return;
4611
- let u = c == null ? l : [...l, ...Jt(B(r, l).content, i, {
4612
+ let u = c == null ? l : [...l, ...qt(V(r, l).content, i, {
4612
4613
  source: c.source,
4613
4614
  target: c.target,
4614
4615
  ...c.sourceHandle.startsWith("$branch:") ? { sourceHandle: c.sourceHandle.slice(8) } : {}
@@ -4621,7 +4622,7 @@ var ui = class {
4621
4622
  async connect(e) {
4622
4623
  let t = this.$.revision.value, n = this.#l.value.target;
4623
4624
  if (t == null || n == null) return;
4624
- let r = Jt(t.revision.content, n, {
4625
+ let r = qt(t.revision.content, n, {
4625
4626
  source: e.source,
4626
4627
  target: e.target,
4627
4628
  ...e.sourceHandle.startsWith("$branch:") ? { sourceHandle: e.sourceHandle.slice(8) } : {}
@@ -4631,7 +4632,7 @@ var ui = class {
4631
4632
  async disconnect(e) {
4632
4633
  let t = this.$.revision.value, n = this.#l.value.target;
4633
4634
  if (t == null || n == null) return;
4634
- let r = Yt(t.revision.content, n, {
4635
+ let r = Jt(t.revision.content, n, {
4635
4636
  source: e.source,
4636
4637
  target: e.target,
4637
4638
  ...e.sourceHandle.startsWith("$branch:") ? { sourceHandle: e.sourceHandle.slice(8) } : {}
@@ -4705,13 +4706,13 @@ var ui = class {
4705
4706
  async saveNodeSettings(e, t) {
4706
4707
  let n = this.$.revision.value, r = this.#l.value.target;
4707
4708
  if (n == null || r == null) return !1;
4708
- let i = Ie(n, r, e, t);
4709
+ let i = Fe(n, r, e, t);
4709
4710
  return i != null && await this.#E(i) != null;
4710
4711
  }
4711
4712
  async saveNodeDescription(e, t) {
4712
4713
  let n = this.$.revision.value, r = this.#l.value.target;
4713
4714
  if (n == null || r == null) return !1;
4714
- let i = Ue(n, r, e, t);
4715
+ let i = He(n, r, e, t);
4715
4716
  return i != null && await this.#E(i) != null;
4716
4717
  }
4717
4718
  async saveNodeIcon(e, t) {
@@ -4729,7 +4730,7 @@ var ui = class {
4729
4730
  async setInputValue(e, t, n, r) {
4730
4731
  let i = this.$.revision.value, a = this.#l.value.target;
4731
4732
  if (i == null || a == null) return !1;
4732
- let o = Re(i, a, e, t, n);
4733
+ let o = Le(i, a, e, t, n);
4733
4734
  return o != null && await this.#E(o, r) != null;
4734
4735
  }
4735
4736
  async resetInputs(e, t) {
@@ -4752,7 +4753,7 @@ var ui = class {
4752
4753
  }
4753
4754
  async setInputSource(e, t, n) {
4754
4755
  let r = this.$.revision.value, i = this.#l.value.target;
4755
- return r == null || i == null ? !1 : await this.#E(ze(r.revision.content, i, e, t, [{
4756
+ return r == null || i == null ? !1 : await this.#E(Re(r.revision.content, i, e, t, [{
4756
4757
  kind: "node",
4757
4758
  ...n
4758
4759
  }])) != null;
@@ -4760,25 +4761,25 @@ var ui = class {
4760
4761
  async setInputVariable(e, t, n) {
4761
4762
  let r = this.$.revision.value, i = this.#l.value.target;
4762
4763
  if (r == null || i == null) return !1;
4763
- let a = n == null ? Re(r, i, e, t, void 0) : _e(r, i, e, t, n, this.#i());
4764
+ let a = n == null ? Le(r, i, e, t, void 0) : _e(r, i, e, t, n, this.#i());
4764
4765
  return a != null && await this.#E(a) != null;
4765
4766
  }
4766
4767
  async saveCondition(e, t, n) {
4767
4768
  let r = this.$.revision.value, i = this.#l.value.target;
4768
4769
  if (r == null || i == null) return !1;
4769
- let a = je(r, i, e, t);
4770
+ let a = Ae(r, i, e, t);
4770
4771
  return a != null && await this.#E(a, n) != null;
4771
4772
  }
4772
4773
  async saveValue(e, t, n) {
4773
4774
  let r = this.$.revision.value, i = this.#l.value.target;
4774
4775
  if (r == null || i == null) return !1;
4775
- let a = Je(r, i, e, t);
4776
+ let a = qe(r, i, e, t);
4776
4777
  return a != null && await this.#E(a, n) != null;
4777
4778
  }
4778
4779
  async saveResolution(e, t, n, r) {
4779
4780
  let i = this.$.revision.value, a = this.#l.value.target;
4780
4781
  if (i == null || a?.kind != "flow") return !1;
4781
- let o = Me(i, a, e, t, r);
4782
+ let o = je(i, a, e, t, r);
4782
4783
  return o != null && await this.#E(o, n) != null;
4783
4784
  }
4784
4785
  async saveNodeContentHidden(e, t) {
@@ -4809,7 +4810,7 @@ var ui = class {
4809
4810
  async saveTaskPorts(e, t, n, r) {
4810
4811
  let i = this.$.revision.value, a = this.#l.value.target;
4811
4812
  if (i == null || a == null) return !1;
4812
- let o = Ge(i, a, e, t, r);
4813
+ let o = We(i, a, e, t, r);
4813
4814
  return o != null && await this.#E(o, n) != null;
4814
4815
  }
4815
4816
  async saveTaskAdditionalInputs(e, t, n, r) {
@@ -4821,7 +4822,7 @@ var ui = class {
4821
4822
  async setConnectorConnection(e, t) {
4822
4823
  let n = this.$.revision.value;
4823
4824
  if (n == null) return !1;
4824
- let r = Fe(n.revision.content, e, t);
4825
+ let r = Pe(n.revision.content, e, t);
4825
4826
  return r != null && await this.#E(r) != null;
4826
4827
  }
4827
4828
  get eventSourceClient() {
@@ -4839,13 +4840,13 @@ var ui = class {
4839
4840
  if (i?.kind != "integration" || i.definition.key != "feishu_app_bot.on_event" || t.provider != i.definition.provider) return !1;
4840
4841
  let a = ye(n.revision.content, r, e, t.connectionId);
4841
4842
  if (a == null) return !1;
4842
- let o = Ve(i.config.sourceId, void 0) != t.sourceId;
4843
+ let o = Be(i.config.sourceId, void 0) != t.sourceId;
4843
4844
  return await this.#E([
4844
4845
  ...a,
4845
- ...R(n.revision.content, r, e, "sourceId", t.sourceId) ?? [],
4846
- ...o ? R(n.revision.content, r, e, "eventTypes", []) ?? [] : [],
4847
- ...o ? R(n.revision.content, r, e, "resource", void 0) ?? [] : [],
4848
- ...o ? R(n.revision.content, r, e, "chatIds", void 0) ?? [] : []
4846
+ ...z(n.revision.content, r, e, "sourceId", t.sourceId) ?? [],
4847
+ ...o ? z(n.revision.content, r, e, "eventTypes", []) ?? [] : [],
4848
+ ...o ? z(n.revision.content, r, e, "resource", void 0) ?? [] : [],
4849
+ ...o ? z(n.revision.content, r, e, "chatIds", void 0) ?? [] : []
4849
4850
  ]) != null;
4850
4851
  }
4851
4852
  async loadTriggerConfigOptions(e, t, n) {
@@ -4856,21 +4857,21 @@ var ui = class {
4856
4857
  async saveTriggerConfig(e, t, n) {
4857
4858
  let r = this.$.revision.value, i = this.#l.value.target;
4858
4859
  if (r == null || i?.kind != "flow") return !1;
4859
- let a = R(r.revision.content, i, e, t, n);
4860
+ let a = z(r.revision.content, i, e, t, n);
4860
4861
  if (a == null) return !1;
4861
4862
  let o = r.graph(i)?.nodes[e];
4862
4863
  if (a.length > 0 && o?.kind == "integration" && o.definition.key == "feishu_app_bot.on_event" && t == "eventTypes") {
4863
4864
  let t = Array.isArray(n) ? n.filter((e) => typeof e == "string") : [];
4864
- N(t) || (a = [...a, ...R(r.revision.content, i, e, "chatIds", void 0) ?? []]);
4865
- let s = Ve(o.config.resource, void 0);
4866
- te(s) && s.kind != Ke(t) && (a = [...a, ...R(r.revision.content, i, e, "resource", void 0) ?? []]);
4865
+ N(t) || (a = [...a, ...z(r.revision.content, i, e, "chatIds", void 0) ?? []]);
4866
+ let s = Be(o.config.resource, void 0);
4867
+ te(s) && s.kind != Ge(t) && (a = [...a, ...z(r.revision.content, i, e, "resource", void 0) ?? []]);
4867
4868
  }
4868
- return a.length > 0 && o?.kind == "poll" && o.definition.key == "linear.on_issue_changed" && t == "teamId" ? await this.#E([...a, ...R(r.revision.content, i, e, "stateIds", void 0) ?? []]) != null : await this.#E(a) != null;
4869
+ return a.length > 0 && o?.kind == "poll" && o.definition.key == "linear.on_issue_changed" && t == "teamId" ? await this.#E([...a, ...z(r.revision.content, i, e, "stateIds", void 0) ?? []]) != null : await this.#E(a) != null;
4869
4870
  }
4870
4871
  async saveTriggerSchedule(e, t) {
4871
4872
  let n = this.$.revision.value, r = this.#l.value.target;
4872
4873
  if (n == null || r?.kind != "flow") return !1;
4873
- let i = We(n.revision.content, r, e, t);
4874
+ let i = Ue(n.revision.content, r, e, t);
4874
4875
  return i != null && await this.#E(i) != null;
4875
4876
  }
4876
4877
  async saveWebhook(e, t, n) {
@@ -4885,7 +4886,7 @@ var ui = class {
4885
4886
  let i = ye(n.revision.content, r, e, t);
4886
4887
  if (i == null) return !1;
4887
4888
  let a = n.graph(r)?.nodes[e];
4888
- return i.length > 0 && a?.kind == "poll" && a.definition.key == "linear.on_issue_changed" ? await this.#E([...i, ...["teamId", "stateIds"].flatMap((t) => R(n.revision.content, r, e, t, void 0) ?? [])]) != null : await this.#E(i) != null;
4889
+ return i.length > 0 && a?.kind == "poll" && a.definition.key == "linear.on_issue_changed" ? await this.#E([...i, ...["teamId", "stateIds"].flatMap((t) => z(n.revision.content, r, e, t, void 0) ?? [])]) != null : await this.#E(i) != null;
4889
4890
  }
4890
4891
  async saveSubflowSettings(e, t) {
4891
4892
  let n = this.$.revision.value;
@@ -4972,7 +4973,7 @@ var ui = class {
4972
4973
  if (this.#_ || (this.#d.applying || this.#d.failed) && !n) return;
4973
4974
  let r = this.#l.value.flowId, i = this.#l.value.draft;
4974
4975
  if (r == null || i == null) return;
4975
- if (e.length == 0 || u(B(i, e).content, i.content)) return i;
4976
+ if (e.length == 0 || u(V(i, e).content, i.content)) return i;
4976
4977
  let a = !n && this.#d.clear(), o = this.#n.capture();
4977
4978
  this.#d.pending++, this.#d.publish();
4978
4979
  try {
@@ -4994,7 +4995,7 @@ var ui = class {
4994
4995
  for (let t = 0; t < 2 && e(); t += 1) {
4995
4996
  let t = this.#l.value.draft;
4996
4997
  if (t == null) return;
4997
- let n = Le(t.content);
4998
+ let n = Ie(t.content);
4998
4999
  if (n.length == 0) {
4999
5000
  this.#F();
5000
5001
  return;
@@ -5042,7 +5043,7 @@ var ui = class {
5042
5043
  let { draft: o, target: s, presentation: c, selectedNodeIds: l } = this.#l.value;
5043
5044
  if (o == null || s == null || c == null) return !1;
5044
5045
  let d = r?.(c.value) ?? c.value, f = mn(c.value, d, s);
5045
- if (u(B(o, n).content, o.content) && f.nodeIds.length == 0) return !0;
5046
+ if (u(V(o, n).content, o.content) && f.nodeIds.length == 0) return !0;
5046
5047
  let p = this.#d.generation, m = Gr(o.content, n);
5047
5048
  this.#d.pending++;
5048
5049
  let h = {
@@ -5252,8 +5253,8 @@ var mi = { openExternalPage: async () => !1 }, hi = class {
5252
5253
  let l = (e) => {
5253
5254
  this.#u || this.#r.set(e);
5254
5255
  };
5255
- this.connectorAccess = new Dr(r, l, o), this.runs = new re(r, l, o), this.workspace = new ui(r, l, $t, o, (e) => {
5256
- e.kind == "run.created" ? this.#h(r, e) : this.runs.changed(e.runId);
5256
+ this.connectorAccess = new Dr(r, l, o, (e) => this.workspace.catalogs.refreshFlow(e)), this.runs = new re(r, l, o), this.workspace = new ui(r, l, Qt, o, (e) => {
5257
+ e.kind == "run.created" ? this.#g(r, e) : this.runs.changed(e.runId);
5257
5258
  }, new Tr(r, s.connectorCache), (e) => void this.#m(e), (e) => {
5258
5259
  this.connectorAccess.changed(e), this.workspace.catalogs.refreshFlow(e);
5259
5260
  }), this.#f = this.workspace.$.flowId.reaction((e) => {
@@ -5273,9 +5274,9 @@ var mi = { openExternalPage: async () => !1 }, hi = class {
5273
5274
  }), d = /* @__PURE__ */ new Map(), f, p = t((e) => {
5274
5275
  let t = e(this.workspace.$.draft);
5275
5276
  f != t?.flowId && (d.clear(), f = t?.flowId);
5276
- let n = e(this.workspace.$.target), r = e(this.workspace.$.presentation)?.value, i = e(u)?.diagnostics ?? e(this.connectors.$.diagnostics), a = t == null ? void 0 : e(ke(this.workspace.catalogs.providers.get(t.flowId, o.lang))), s = Object.fromEntries((a ?? []).map((e) => [e.serviceId, e])), c = e(this.connectors.$.actions), l = e(this.connectors.$.catalogs), p = e(o.t$), m = e(this.runs.$.run), h = e(this.runs.$.events), g = n == null ? "" : n.kind == "flow" ? "flow" : `subflow:${n.id}`, _ = [
5277
+ let n = e(this.workspace.$.target), r = e(this.workspace.$.presentation)?.value, i = e(u)?.diagnostics ?? e(this.connectors.$.diagnostics), a = t == null ? void 0 : e(R(this.workspace.catalogs.providers.get(t.flowId, o.lang))), s = Object.fromEntries((a ?? []).map((e) => [e.serviceId, e])), c = e(this.connectors.$.actions), l = e(this.connectors.$.catalogs), p = e(o.t$), m = e(this.runs.$.run), h = e(this.runs.$.events), g = n == null ? "" : n.kind == "flow" ? "flow" : `subflow:${n.id}`, _ = [
5277
5278
  ...fi(t, n),
5278
- r == null || n == null ? void 0 : X(r, n),
5279
+ r == null || n == null ? void 0 : Z(r, n),
5279
5280
  i,
5280
5281
  c,
5281
5282
  a,
@@ -5306,7 +5307,7 @@ var mi = { openExternalPage: async () => !1 }, hi = class {
5306
5307
  diagnostics: u,
5307
5308
  designer: p,
5308
5309
  designerNodeById: m,
5309
- sourceNodeIcons: e(p, (e) => Object.fromEntries(e.nodes.flatMap((e) => "icon" in e ? [[e.id, e.icon]] : [])), { equal: Wt }),
5310
+ sourceNodeIcons: e(p, (e) => Object.fromEntries(e.nodes.flatMap((e) => "icon" in e ? [[e.id, e.icon]] : [])), { equal: Ut }),
5310
5311
  notice: this.#r,
5311
5312
  runEventNodes: t((e) => pi(e(this.workspace.$.draft), e(this.workspace.$.target), e(this.runs.$.run), e(this.runs.$.events), e(m))),
5312
5313
  selectedDesignerNode: t((e) => {
@@ -5395,21 +5396,36 @@ var mi = { openExternalPage: async () => !1 }, hi = class {
5395
5396
  await this.triggers.connect(e.trigger.provider);
5396
5397
  return;
5397
5398
  }
5399
+ let r = this.workspace.$.flowId.value, i = this.workspace.$.target.value;
5398
5400
  if (e.kind == "connector") {
5399
- let t = await this.prepareConnectorAction(e.connector);
5400
- if (t == null) return;
5401
+ let { defaultConnection: t, ...n } = e.connector;
5401
5402
  e = {
5402
5403
  ...e,
5403
- connector: t.action
5404
+ connector: n
5404
5405
  };
5405
5406
  }
5406
- let r = await this.workspace.addNode(e, t, n);
5407
- return r != null && e.kind == "connector" && this.connectors.refresh(), r != null && e.kind == "trigger" && this.triggers.refresh(), r;
5407
+ let a = await this.workspace.addNode(e, t, n);
5408
+ return a != null && e.kind == "connector" && r != null && i != null && this.#h(r, i, a, e.connector), a != null && e.kind == "trigger" && this.triggers.refresh(), a;
5408
5409
  } catch (e) {
5409
5410
  this.#u || this.#r.set(L(e, this.#n.t));
5410
5411
  return;
5411
5412
  }
5412
5413
  }
5414
+ async #h(e, t, n, r) {
5415
+ try {
5416
+ if (this.#u || e != this.workspace.$.flowId.value) return;
5417
+ let i = await this.prepareConnectorAction(r);
5418
+ if (i == null || this.#u || e != this.workspace.$.flowId.value) return;
5419
+ let a = this.workspace.$.revision.value?.node(t, n);
5420
+ if (a?.kind != "task" || a.node.task != null) return;
5421
+ let o = this.workspace.$.revision.value?.task(a.node.taskId)?.executor;
5422
+ if (o?.kind != "connector" || o.action != r.actionId || o.connectionId != null) return;
5423
+ let s = i.action.defaultConnection;
5424
+ s != null && await this.workspace.setConnectorConnection(a.node.taskId, s.connectionId), !this.#u && e == this.workspace.$.flowId.value && await this.connectors.refresh();
5425
+ } catch (t) {
5426
+ !this.#u && e == this.workspace.$.flowId.value && this.#r.set(L(t, this.#n.t));
5427
+ }
5428
+ }
5413
5429
  async prepareConnectorAction(e) {
5414
5430
  let t = this.workspace.$.flowId.value;
5415
5431
  if (t == null) return;
@@ -5468,7 +5484,7 @@ var mi = { openExternalPage: async () => !1 }, hi = class {
5468
5484
  let e = this.workspace.$.targetFlow.value;
5469
5485
  return e == null ? "unavailable" : await this.runRequests.requestLive(e);
5470
5486
  }
5471
- async #h(e, t) {
5487
+ async #g(e, t) {
5472
5488
  let n = this.workspace.$.target.value;
5473
5489
  if (this.#u || this.runRequests.$.submitting.value != null || n?.kind != "flow" || this.workspace.$.flowId.value != t.flowId) return;
5474
5490
  let r = this.#t.begin();
@@ -5480,13 +5496,13 @@ var mi = { openExternalPage: async () => !1 }, hi = class {
5480
5496
  return;
5481
5497
  }
5482
5498
  }
5483
- }, gi = xt(() => import("./flowWorkspace-DWa0S7-T.js").then((e) => e.t));
5499
+ }, gi = bt(() => import("./flowWorkspace-JCjjQZzW.js").then((e) => e.t));
5484
5500
  function _i({ action: e, description: t, error: n, onSubmit: r, onTokenChange: i, pending: a = !1, title: o, token: c, tokenLabel: u }) {
5485
- let d = c != null && u != null && i != null, f = c ?? "", p = /* @__PURE__ */ K(yt, { children: [
5486
- /* @__PURE__ */ G("div", {
5501
+ let d = c != null && u != null && i != null, f = c ?? "", p = /* @__PURE__ */ q(vt, { children: [
5502
+ /* @__PURE__ */ K("div", {
5487
5503
  "aria-hidden": "true",
5488
5504
  className: "flex size-10 items-center justify-center rounded-lg bg-muted text-muted-foreground",
5489
- children: /* @__PURE__ */ K("svg", {
5505
+ children: /* @__PURE__ */ q("svg", {
5490
5506
  className: "size-5",
5491
5507
  fill: "none",
5492
5508
  stroke: "currentColor",
@@ -5494,40 +5510,40 @@ function _i({ action: e, description: t, error: n, onSubmit: r, onTokenChange: i
5494
5510
  strokeLinejoin: "round",
5495
5511
  strokeWidth: "1.8",
5496
5512
  viewBox: "0 0 24 24",
5497
- children: [/* @__PURE__ */ G("rect", {
5513
+ children: [/* @__PURE__ */ K("rect", {
5498
5514
  height: "9",
5499
5515
  rx: "2",
5500
5516
  width: "14",
5501
5517
  x: "5",
5502
5518
  y: "11"
5503
- }), /* @__PURE__ */ G("path", { d: "M8 11V8a4 4 0 0 1 8 0v3" })]
5519
+ }), /* @__PURE__ */ K("path", { d: "M8 11V8a4 4 0 0 1 8 0v3" })]
5504
5520
  })
5505
5521
  }),
5506
- /* @__PURE__ */ K("header", {
5522
+ /* @__PURE__ */ q("header", {
5507
5523
  className: "flex flex-col gap-2",
5508
- children: [/* @__PURE__ */ G("h1", {
5524
+ children: [/* @__PURE__ */ K("h1", {
5509
5525
  className: "text-xl font-semibold tracking-tight text-balance",
5510
5526
  children: o
5511
- }), /* @__PURE__ */ G("p", {
5527
+ }), /* @__PURE__ */ K("p", {
5512
5528
  className: "text-sm/relaxed text-muted-foreground text-pretty",
5513
5529
  children: t
5514
5530
  })]
5515
5531
  }),
5516
- d && /* @__PURE__ */ G(it, { children: /* @__PURE__ */ K(nt, {
5532
+ d && /* @__PURE__ */ K(rt, { children: /* @__PURE__ */ q(tt, {
5517
5533
  "data-invalid": n != null,
5518
5534
  children: [
5519
- /* @__PURE__ */ G(rt, {
5535
+ /* @__PURE__ */ K(nt, {
5520
5536
  htmlFor: "session-token",
5521
5537
  children: u
5522
5538
  }),
5523
- /* @__PURE__ */ G(l, {
5539
+ /* @__PURE__ */ K(l, {
5524
5540
  autoComplete: "username",
5525
5541
  name: "username",
5526
5542
  type: "hidden",
5527
5543
  value: "open-flow",
5528
5544
  readOnly: !0
5529
5545
  }),
5530
- /* @__PURE__ */ G(l, {
5546
+ /* @__PURE__ */ K(l, {
5531
5547
  autoComplete: "current-password",
5532
5548
  "aria-invalid": n != null,
5533
5549
  autoFocus: !0,
@@ -5539,29 +5555,29 @@ function _i({ action: e, description: t, error: n, onSubmit: r, onTokenChange: i
5539
5555
  type: "password",
5540
5556
  value: f
5541
5557
  }),
5542
- n != null && /* @__PURE__ */ G(st, { children: n })
5558
+ n != null && /* @__PURE__ */ K(ot, { children: n })
5543
5559
  ]
5544
5560
  }) }),
5545
- e != null && r != null && /* @__PURE__ */ K(s, {
5561
+ e != null && r != null && /* @__PURE__ */ q(s, {
5546
5562
  disabled: a || d && f.length == 0,
5547
5563
  size: "lg",
5548
5564
  type: "submit",
5549
- children: [a && /* @__PURE__ */ G(tt, {
5565
+ children: [a && /* @__PURE__ */ K(et, {
5550
5566
  "aria-label": e,
5551
5567
  "data-icon": "inline-start"
5552
5568
  }), e]
5553
5569
  }),
5554
- a && e == null && /* @__PURE__ */ G(tt, { "aria-label": t })
5570
+ a && e == null && /* @__PURE__ */ K(et, { "aria-label": t })
5555
5571
  ] }), m = "m-auto flex w-full max-w-[420px] flex-col gap-5 rounded-xl bg-card p-6 shadow-lg shadow-black/10";
5556
- return /* @__PURE__ */ G("main", {
5572
+ return /* @__PURE__ */ K("main", {
5557
5573
  className: "open-flow-workbench",
5558
- children: /* @__PURE__ */ G("div", {
5574
+ children: /* @__PURE__ */ K("div", {
5559
5575
  className: "grid h-full overflow-auto bg-muted/20 p-4",
5560
- children: r == null ? /* @__PURE__ */ G("section", {
5576
+ children: r == null ? /* @__PURE__ */ K("section", {
5561
5577
  "aria-busy": a,
5562
5578
  className: m,
5563
5579
  children: p
5564
- }) : /* @__PURE__ */ G("form", {
5580
+ }) : /* @__PURE__ */ K("form", {
5565
5581
  "aria-busy": a,
5566
5582
  className: m,
5567
5583
  onSubmit: r,
@@ -5571,14 +5587,14 @@ function _i({ action: e, description: t, error: n, onSubmit: r, onTokenChange: i
5571
5587
  });
5572
5588
  }
5573
5589
  function vi({ host: e, store: t }) {
5574
- let [n] = q(() => e.notify.bind(e)), i = r(t.$.notice);
5575
- return St(() => n(i), [n, i]), St(() => () => n(void 0), [n]), null;
5590
+ let [n] = J(() => e.notify.bind(e)), i = r(t.$.notice);
5591
+ return xt(() => n(i), [n, i]), xt(() => () => n(void 0), [n]), null;
5576
5592
  }
5577
5593
  function yi({ catalogWidth: e, createFlow: t, createFlowDisabled: n, createFlowField: i, flowBadges: a, hrefFor: o, hostAction: s, hostTitle: c, language: l, navigation: u, onConfigureConnector: d, onManageConnectorAccess: f, onHostAction: p, onLanguageChange: m, store: h, theme: g }) {
5578
5594
  let _ = r(h.workspace.$.flowId);
5579
- return /* @__PURE__ */ G("div", {
5595
+ return /* @__PURE__ */ K("div", {
5580
5596
  className: "app-shell",
5581
- children: _ == null ? /* @__PURE__ */ G(Vt, {
5597
+ children: _ == null ? /* @__PURE__ */ K(Bt, {
5582
5598
  catalogWidth: e,
5583
5599
  createFlowDisabled: n,
5584
5600
  createFlowField: i,
@@ -5595,12 +5611,12 @@ function yi({ catalogWidth: e, createFlow: t, createFlowDisabled: n, createFlowF
5595
5611
  onLanguageChange: m,
5596
5612
  onSelectFlow: (e) => void u.selectFlow(e),
5597
5613
  store: h
5598
- }) : /* @__PURE__ */ G(bt, {
5599
- fallback: /* @__PURE__ */ G("main", {
5614
+ }) : /* @__PURE__ */ K(yt, {
5615
+ fallback: /* @__PURE__ */ K("main", {
5600
5616
  "aria-busy": "true",
5601
5617
  className: "workspace"
5602
5618
  }),
5603
- children: /* @__PURE__ */ G(gi, {
5619
+ children: /* @__PURE__ */ K(gi, {
5604
5620
  hostAction: s,
5605
5621
  hostTitle: c,
5606
5622
  hrefFor: o,
@@ -5615,17 +5631,17 @@ function yi({ catalogWidth: e, createFlow: t, createFlowDisabled: n, createFlowF
5615
5631
  });
5616
5632
  }
5617
5633
  function bi({ catalogWidth: e, createFlow: t, createFlowDisabled: n, createFlowField: r, flowBadges: i, host: a, hostAction: s, hostTitle: c, hrefFor: l, language: u, location: d, onConfigureConnector: f, onManageConnectorAccess: p, onHostAction: m, onLanguageChange: g, onNavigate: _, preferences: v, theme: y, variables: b = !0 }) {
5618
- let x = Ct(_);
5634
+ let x = St(_);
5619
5635
  x.current = _;
5620
- let [{ i18n: S, navigation: w, store: T }] = q(() => {
5636
+ let [{ i18n: S, navigation: w, store: T }] = J(() => {
5621
5637
  let e = h(u), t = new hi(new M((e, t) => a.request(e, t), (e, t) => a.subscribeFlow(e, t), (e) => a.subscribeFlowCatalog(e)), v, C, e, a, b);
5622
5638
  return {
5623
5639
  i18n: e,
5624
- navigation: new Dt(t, d, (e, t) => x.current(e, t)),
5640
+ navigation: new Et(t, d, (e, t) => x.current(e, t)),
5625
5641
  store: t
5626
5642
  };
5627
5643
  });
5628
- return St(() => {
5644
+ return xt(() => {
5629
5645
  w.start();
5630
5646
  let e = () => {
5631
5647
  T.connectors.refreshAfterAuthorization(), T.triggers.refreshAfterAuthorization(), T.invalidateVariableNames();
@@ -5637,21 +5653,21 @@ function bi({ catalogWidth: e, createFlow: t, createFlowDisabled: n, createFlowF
5637
5653
  S,
5638
5654
  w,
5639
5655
  T
5640
- ]), St(() => void w.apply(d), [d, w]), St(() => {
5656
+ ]), xt(() => void w.apply(d), [d, w]), xt(() => {
5641
5657
  T.triggers.catalog.setLanguage(u), T.connectors.setLanguage(u), S.lang != u && S.switchLang(u);
5642
5658
  }, [
5643
5659
  S,
5644
5660
  u,
5645
5661
  T
5646
- ]), /* @__PURE__ */ G(o, {
5662
+ ]), /* @__PURE__ */ K(o, {
5647
5663
  i18n: S,
5648
- children: /* @__PURE__ */ K("div", {
5664
+ children: /* @__PURE__ */ q("div", {
5649
5665
  className: "open-flow-theme open-flow-workbench",
5650
5666
  "data-theme": y,
5651
- children: [/* @__PURE__ */ G(vi, {
5667
+ children: [/* @__PURE__ */ K(vi, {
5652
5668
  host: a,
5653
5669
  store: T
5654
- }), /* @__PURE__ */ G(yi, {
5670
+ }), /* @__PURE__ */ K(yi, {
5655
5671
  catalogWidth: e,
5656
5672
  createFlow: t,
5657
5673
  createFlowDisabled: n,
@@ -5673,7 +5689,7 @@ function bi({ catalogWidth: e, createFlow: t, createFlowDisabled: n, createFlowF
5673
5689
  });
5674
5690
  }
5675
5691
  function xi({ sessionKey: e, ...t }) {
5676
- return /* @__PURE__ */ G(bi, { ...t }, e);
5692
+ return /* @__PURE__ */ K(bi, { ...t }, e);
5677
5693
  }
5678
5694
  //#endregion
5679
- export { ne as EventSourcesPage, _i as OpenFlowSessionGate, xi as OpenFlowWorkbench, ht as isWorkbenchLanguage, _t as resolveWorkbenchLanguage, vt as workbenchLanguageNames, gt as workbenchLanguages };
5695
+ export { ne as EventSourcesPage, _i as OpenFlowSessionGate, xi as OpenFlowWorkbench, mt as isWorkbenchLanguage, gt as resolveWorkbenchLanguage, _t as workbenchLanguageNames, ht as workbenchLanguages };