@ovalbee/flow-viewer 0.0.1 → 0.0.3

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,12 +1,12 @@
1
- import { defineComponent as A, inject as J, createElementBlock as i, openBlock as n, unref as f, normalizeClass as Z, createElementVNode as w, createCommentVNode as y, createBlock as H, normalizeStyle as S, toDisplayString as k, Fragment as P, computed as T, markRaw as Y, ref as Q, onBeforeUnmount as ee, provide as te, createVNode as oe, withCtx as ne, Teleport as ie, renderList as F, resolveDynamicComponent as ae } from "vue";
2
- import { Handle as V, Position as C, ConnectionLineType as se, VueFlow as le } from "@vue-flow/core";
3
- import { Controls as re } from "@vue-flow/controls";
4
- import { MiniMap as de } from "@vue-flow/minimap";
5
- const G = Symbol("flow-viewer-details"), ce = ["aria-label"], ue = { class: "ob-flow-viewer-node__header" }, we = ["innerHTML"], pe = { key: 1 }, he = { class: "ob-flow-viewer-node__title-wrap" }, me = { class: "ob-flow-viewer-node__title" }, fe = { class: "ob-flow-viewer-node__key" }, ve = { class: "ob-flow-viewer-node__description ob-flow-viewer-node__description--clamped" }, ye = {
1
+ import { defineComponent as E, inject as ne, createElementBlock as l, openBlock as i, unref as M, normalizeClass as X, createElementVNode as m, createCommentVNode as z, createBlock as A, normalizeStyle as B, toDisplayString as H, Fragment as q, computed as C, markRaw as G, ref as ie, onBeforeUnmount as se, provide as ce, createVNode as de, withCtx as le, Teleport as re, renderList as S, h as U, resolveDynamicComponent as he } from "vue";
2
+ import { Handle as I, Position as T, ConnectionLineType as ye, VueFlow as pe } from "@vue-flow/core";
3
+ import { Controls as ke } from "@vue-flow/controls";
4
+ import { MiniMap as ue } from "@vue-flow/minimap";
5
+ const Q = Symbol("flow-viewer-details"), me = ["aria-label"], ve = { class: "ob-flow-viewer-node__header" }, we = ["innerHTML"], ge = { key: 1 }, fe = { class: "ob-flow-viewer-node__title-wrap" }, Me = { class: "ob-flow-viewer-node__title" }, xe = { class: "ob-flow-viewer-node__key" }, be = { class: "ob-flow-viewer-node__description ob-flow-viewer-node__description--clamped" }, ze = {
6
6
  key: 1,
7
7
  class: "ob-flow-viewer-node__widget-image",
8
8
  "aria-hidden": "true"
9
- }, ge = /* @__PURE__ */ A({
9
+ }, _e = /* @__PURE__ */ E({
10
10
  __name: "FlowViewerNode",
11
11
  props: {
12
12
  id: {},
@@ -29,104 +29,104 @@ const G = Symbol("flow-viewer-details"), ce = ["aria-label"], ue = { class: "ob-
29
29
  data: {},
30
30
  events: {}
31
31
  },
32
- setup(o) {
33
- const u = o, _ = J(G), N = u.data.available ? u.data.description : "This node template is unavailable.";
34
- return (c, d) => {
35
- var h, g;
36
- return n(), i("article", {
37
- class: Z(["ob-flow-viewer-node", { "ob-flow-viewer-node--unavailable": !o.data.available }]),
32
+ setup(t) {
33
+ const n = t, v = ne(Q), x = n.data.available ? n.data.description : "This node template is unavailable.";
34
+ return (r, y) => {
35
+ var k, b;
36
+ return i(), l("article", {
37
+ class: X(["ob-flow-viewer-node", { "ob-flow-viewer-node--unavailable": !t.data.available }]),
38
38
  tabindex: "0",
39
- "aria-label": `${o.data.name} node`,
40
- onMouseenter: d[0] || (d[0] = (t) => {
41
- var a;
42
- return (a = f(_)) == null ? void 0 : a.show(o.data, t);
39
+ "aria-label": `${t.data.name} node`,
40
+ onMouseenter: y[0] || (y[0] = (o) => {
41
+ var c;
42
+ return (c = M(v)) == null ? void 0 : c.show(t.data, o);
43
43
  }),
44
- onMouseleave: d[1] || (d[1] = (t) => {
45
- var a;
46
- return (a = f(_)) == null ? void 0 : a.hide();
44
+ onMouseleave: y[1] || (y[1] = (o) => {
45
+ var c;
46
+ return (c = M(v)) == null ? void 0 : c.hide();
47
47
  }),
48
- onClick: d[2] || (d[2] = (t) => {
49
- var a;
50
- return (a = f(_)) == null ? void 0 : a.show(o.data, t);
48
+ onClick: y[2] || (y[2] = (o) => {
49
+ var c;
50
+ return (c = M(v)) == null ? void 0 : c.show(t.data, o);
51
51
  }),
52
- onFocus: d[3] || (d[3] = (t) => {
53
- var a;
54
- return (a = f(_)) == null ? void 0 : a.show(o.data, t);
52
+ onFocus: y[3] || (y[3] = (o) => {
53
+ var c;
54
+ return (c = M(v)) == null ? void 0 : c.show(t.data, o);
55
55
  }),
56
- onBlur: d[4] || (d[4] = (t) => {
57
- var a;
58
- return (a = f(_)) == null ? void 0 : a.hide();
56
+ onBlur: y[4] || (y[4] = (o) => {
57
+ var c;
58
+ return (c = M(v)) == null ? void 0 : c.hide();
59
59
  })
60
60
  }, [
61
- w("header", ue, [
62
- w("span", {
61
+ m("header", ve, [
62
+ m("span", {
63
63
  class: "ob-flow-viewer-node__icon",
64
- style: S({ "--ob-node-icon-color": ((h = o.data.icon) == null ? void 0 : h.color) ?? "#64748b" }),
64
+ style: B({ "--ob-node-icon-color": ((k = t.data.icon) == null ? void 0 : k.color) ?? "#64748b" }),
65
65
  "aria-hidden": "true"
66
66
  }, [
67
- (g = o.data.icon) != null && g.svg ? (n(), i("span", {
67
+ (b = t.data.icon) != null && b.svg ? (i(), l("span", {
68
68
  key: 0,
69
69
  class: "ob-flow-viewer-node__icon-svg",
70
- innerHTML: o.data.icon.svg
71
- }, null, 8, we)) : (n(), i("span", pe, k(o.data.available ? o.data.name.slice(0, 1).toUpperCase() : "?"), 1))
70
+ innerHTML: t.data.icon.svg
71
+ }, null, 8, we)) : (i(), l("span", ge, H(t.data.available ? t.data.name.slice(0, 1).toUpperCase() : "?"), 1))
72
72
  ], 4),
73
- w("span", he, [
74
- w("strong", me, k(o.data.name), 1),
75
- w("span", fe, k(o.data.key), 1)
73
+ m("span", fe, [
74
+ m("strong", Me, H(t.data.name), 1),
75
+ m("span", xe, H(t.data.key), 1)
76
76
  ])
77
77
  ]),
78
- w("p", ve, k(f(N)), 1),
79
- o.data.widgetPreview && o.data.available ? (n(), i("div", {
78
+ m("p", be, H(M(x)), 1),
79
+ t.data.widgetPreview && t.data.available ? (i(), l("div", {
80
80
  key: 0,
81
- class: Z(["ob-flow-viewer-node__widget", `ob-flow-viewer-node__widget--${o.data.widgetPreview}`]),
81
+ class: X(["ob-flow-viewer-node__widget", `ob-flow-viewer-node__widget--${t.data.widgetPreview}`]),
82
82
  "aria-label": "Widget preview"
83
83
  }, [
84
- o.data.widgetPreview === "button" ? (n(), i(P, { key: 0 }, [
85
- d[5] || (d[5] = w("span", { class: "ob-flow-viewer-node__widget-icon" }, "↗", -1)),
86
- d[6] || (d[6] = w("span", { class: "ob-flow-viewer-node__widget-label" }, null, -1))
87
- ], 64)) : o.data.widgetPreview === "dataset" ? (n(), i("span", ye)) : (n(), i(P, { key: 2 }, [
88
- d[7] || (d[7] = w("span", null, null, -1)),
89
- d[8] || (d[8] = w("span", null, null, -1))
84
+ t.data.widgetPreview === "button" ? (i(), l(q, { key: 0 }, [
85
+ y[5] || (y[5] = m("span", { class: "ob-flow-viewer-node__widget-icon" }, "↗", -1)),
86
+ y[6] || (y[6] = m("span", { class: "ob-flow-viewer-node__widget-label" }, null, -1))
87
+ ], 64)) : t.data.widgetPreview === "dataset" ? (i(), l("span", ze)) : (i(), l(q, { key: 2 }, [
88
+ y[7] || (y[7] = m("span", null, null, -1)),
89
+ y[8] || (y[8] = m("span", null, null, -1))
90
90
  ], 64))
91
- ], 2)) : y("", !0),
92
- o.data.connectedHandles.has("target") ? (n(), H(f(V), {
91
+ ], 2)) : z("", !0),
92
+ t.data.connectedHandles.has("target") ? (i(), A(M(I), {
93
93
  key: 1,
94
94
  type: "target",
95
- position: f(C).Top
96
- }, null, 8, ["position"])) : y("", !0),
97
- o.data.connectedHandles.has("left") ? (n(), H(f(V), {
95
+ position: M(T).Top
96
+ }, null, 8, ["position"])) : z("", !0),
97
+ t.data.connectedHandles.has("left") ? (i(), A(M(I), {
98
98
  key: 2,
99
99
  id: "left",
100
100
  type: "target",
101
- position: f(C).Left
102
- }, null, 8, ["position"])) : y("", !0),
103
- o.data.connectedHandles.has("right") ? (n(), H(f(V), {
101
+ position: M(T).Left
102
+ }, null, 8, ["position"])) : z("", !0),
103
+ t.data.connectedHandles.has("right") ? (i(), A(M(I), {
104
104
  key: 3,
105
105
  id: "right",
106
106
  type: "target",
107
- position: f(C).Right
108
- }, null, 8, ["position"])) : y("", !0),
109
- o.data.connectedHandles.has("source") ? (n(), H(f(V), {
107
+ position: M(T).Right
108
+ }, null, 8, ["position"])) : z("", !0),
109
+ t.data.connectedHandles.has("source") ? (i(), A(M(I), {
110
110
  key: 4,
111
111
  type: "source",
112
- position: f(C).Bottom
113
- }, null, 8, ["position"])) : y("", !0),
114
- o.data.connectedHandles.has("left-source") ? (n(), H(f(V), {
112
+ position: M(T).Bottom
113
+ }, null, 8, ["position"])) : z("", !0),
114
+ t.data.connectedHandles.has("left-source") ? (i(), A(M(I), {
115
115
  key: 5,
116
116
  id: "left-source",
117
117
  type: "source",
118
- position: f(C).Left
119
- }, null, 8, ["position"])) : y("", !0),
120
- o.data.connectedHandles.has("right-source") ? (n(), H(f(V), {
118
+ position: M(T).Left
119
+ }, null, 8, ["position"])) : z("", !0),
120
+ t.data.connectedHandles.has("right-source") ? (i(), A(M(I), {
121
121
  key: 6,
122
122
  id: "right-source",
123
123
  type: "source",
124
- position: f(C).Right
125
- }, null, 8, ["position"])) : y("", !0)
126
- ], 42, ce);
124
+ position: M(T).Right
125
+ }, null, 8, ["position"])) : z("", !0)
126
+ ], 42, me);
127
127
  };
128
128
  }
129
- }), xe = /* @__PURE__ */ A({
129
+ }), He = /* @__PURE__ */ E({
130
130
  __name: "FlowViewerNote",
131
131
  props: {
132
132
  id: {},
@@ -149,184 +149,191 @@ const G = Symbol("flow-viewer-details"), ce = ["aria-label"], ue = { class: "ob-
149
149
  data: {},
150
150
  events: {}
151
151
  },
152
- setup(o) {
153
- const u = o, _ = T(() => ({
154
- width: `${u.data.appearance.width}px`,
155
- minHeight: u.data.appearance.height ? `${u.data.appearance.height}px` : void 0
152
+ setup(t) {
153
+ const n = t, v = C(() => ({
154
+ width: `${n.data.appearance.width}px`,
155
+ minHeight: n.data.appearance.height ? `${n.data.appearance.height}px` : void 0
156
156
  }));
157
- return (N, c) => (n(), i("article", {
158
- class: Z(["ob-flow-viewer-note", `ob-flow-viewer-note--${o.data.appearance.color}`]),
159
- style: S(_.value)
160
- }, k(o.data.content), 7));
157
+ return (x, r) => (i(), l("article", {
158
+ class: X(["ob-flow-viewer-note", `ob-flow-viewer-note--${t.data.appearance.color}`]),
159
+ style: B(v.value)
160
+ }, H(t.data.content), 7));
161
161
  }
162
- }), be = ["data-theme"], _e = ["data-theme"], ke = { class: "ob-flow-viewer-tooltip__header" }, Me = ["innerHTML"], $e = { key: 1 }, He = { class: "ob-flow-viewer-tooltip__title-wrap" }, Ne = { class: "ob-flow-viewer-tooltip__body" }, Pe = {
162
+ }), Ve = ["data-theme"], Ae = ["data-theme"], Ce = { class: "ob-flow-viewer-tooltip__header" }, qe = ["innerHTML"], $e = { key: 1 }, Le = { class: "ob-flow-viewer-tooltip__title-wrap" }, Pe = { class: "ob-flow-viewer-tooltip__body" }, Ie = {
163
163
  key: 0,
164
164
  class: "ob-flow-viewer-tooltip__unavailable"
165
165
  }, Te = {
166
166
  key: 1,
167
167
  class: "ob-flow-viewer-tooltip__description"
168
- }, Ie = {
168
+ }, je = {
169
169
  key: 2,
170
170
  class: "ob-flow-viewer-node__ports"
171
- }, Be = { class: "ob-flow-viewer-node__port-group" }, ze = {
171
+ }, Se = { class: "ob-flow-viewer-node__port-group" }, Be = {
172
172
  key: 0,
173
173
  class: "ob-flow-viewer-node__empty"
174
- }, Ve = { key: 0 }, Ce = { class: "ob-flow-viewer-node__port-group ob-flow-viewer-node__port-group--outputs" }, Fe = {
174
+ }, Ne = { key: 0 }, Fe = { class: "ob-flow-viewer-node__port-group ob-flow-viewer-node__port-group--outputs" }, De = {
175
175
  key: 0,
176
176
  class: "ob-flow-viewer-node__empty"
177
- }, Se = { key: 0 }, W = 72, U = 64, Le = 1.45, Je = /* @__PURE__ */ A({
177
+ }, Oe = { key: 0 }, Y = 72, W = 64, Ee = 1.45, qa = /* @__PURE__ */ E({
178
178
  __name: "FlowViewer",
179
179
  props: {
180
180
  document: {},
181
181
  fitViewOnInit: { type: Boolean, default: !1 },
182
182
  showControls: { type: Boolean, default: !0 },
183
183
  showMiniMap: { type: Boolean, default: !0 },
184
+ panOnScroll: { type: Boolean, default: !1 },
184
185
  minZoom: { default: 0.1 },
185
186
  maxZoom: { default: 2 },
186
187
  initialZoom: { default: 0.8 },
187
188
  theme: { default: "light" }
188
189
  },
189
- setup(o) {
190
- const u = o, _ = {
191
- catalog: Y(ge),
192
- note: Y(xe)
190
+ setup(t) {
191
+ const n = t, v = {
192
+ catalog: G(_e),
193
+ note: G(He)
193
194
  };
194
- function N(e) {
195
- if (e.kind === "note") return e.appearance.height ?? 130;
196
- const s = e.description ? Math.min(2, Math.max(1, Math.ceil(e.description.length / 34))) : e.available ? 0 : 1, p = s > 0 ? 10 + s * 19.5 : 0, b = e.available && e.widgetPreview ? 10 + (e.widgetPreview === "dataset" ? 72 : 32) : 0;
197
- return 60 + p + b;
198
- }
199
- const c = Q(null);
200
- let d = null;
201
- function h() {
202
- d !== null && (clearTimeout(d), d = null);
203
- }
204
- function g() {
205
- h(), d = setTimeout(() => {
206
- c.value = null, d = null;
195
+ function x(a) {
196
+ if (a.kind === "note") return a.appearance.height ?? 130;
197
+ const h = a.description ? Math.min(2, Math.max(1, Math.ceil(a.description.length / 34))) : a.available ? 0 : 1, p = h > 0 ? 10 + h * 19.5 : 0, u = a.available && a.widgetPreview ? 10 + (a.widgetPreview === "dataset" ? 72 : 32) : 0;
198
+ return 60 + p + u;
199
+ }
200
+ const r = ie(null);
201
+ let y = null;
202
+ function k() {
203
+ y !== null && (clearTimeout(y), y = null);
204
+ }
205
+ function b() {
206
+ k(), y = setTimeout(() => {
207
+ r.value = null, y = null;
207
208
  }, 140);
208
209
  }
209
- ee(h);
210
- function t(e) {
211
- const s = /* @__PURE__ */ new Set();
212
- for (const p of u.document.edges)
213
- p.source === e && s.add(p.sourceHandle ?? "source"), p.target === e && s.add(p.targetHandle ?? "target");
214
- return s;
210
+ se(k);
211
+ function o(a) {
212
+ const h = /* @__PURE__ */ new Set();
213
+ for (const p of n.document.edges)
214
+ p.source === a && h.add(p.sourceHandle ?? "source"), p.target === a && h.add(p.targetHandle ?? "target");
215
+ return h;
215
216
  }
216
- function a(e, s) {
217
- h();
218
- const p = s.currentTarget;
217
+ function c(a, h) {
218
+ k();
219
+ const p = h.currentTarget;
219
220
  if (!(p instanceof HTMLElement)) return;
220
- const b = p.getBoundingClientRect(), l = 12, r = Math.min(404, window.innerWidth - l * 2), x = Math.min(520, window.innerHeight - l * 2);
221
- let v = b.right + l + r / 2;
222
- v + r / 2 > window.innerWidth - l && (v = b.left - l - r / 2), v = Math.max(r / 2 + l, Math.min(v, window.innerWidth - r / 2 - l)), c.value = {
223
- node: e,
224
- x: v,
225
- y: Math.max(l, Math.min(b.top, window.innerHeight - x - l))
221
+ const u = p.getBoundingClientRect(), s = 12, d = Math.min(404, window.innerWidth - s * 2), f = Math.min(520, window.innerHeight - s * 2);
222
+ let g = u.right + s + d / 2;
223
+ g + d / 2 > window.innerWidth - s && (g = u.left - s - d / 2), g = Math.max(d / 2 + s, Math.min(g, window.innerWidth - d / 2 - s)), r.value = {
224
+ node: a,
225
+ x: g,
226
+ y: Math.max(s, Math.min(u.top, window.innerHeight - f - s))
226
227
  };
227
228
  }
228
- function m() {
229
- g();
230
- }
231
- te(G, { show: a, hide: m });
232
- const M = T(() => {
233
- const e = new Map(u.document.nodes.map((r) => [r.id, { ...r.position }])), s = Math.min(...u.document.nodes.map((r) => r.position.x)), p = Math.max(...u.document.nodes.map((r) => r.position.x)), b = (s + p) / 2;
234
- for (const r of e.values())
235
- r.x = b + (r.x - b) * Le;
236
- for (let r = 0; r < u.document.nodes.length; r += 1)
237
- for (const x of u.document.edges) {
238
- if (x.sourceHandle || x.targetHandle) continue;
239
- const v = e.get(x.source), $ = e.get(x.target);
240
- if (!(!v || !$ || Math.abs(v.x - $.x) >= 40) && ($.x = v.x, $.y > v.y)) {
241
- const z = u.document.nodes.find((R) => R.id === x.source);
242
- z && ($.y = Math.max(
243
- $.y,
244
- v.y + N(z) + W
229
+ function w() {
230
+ b();
231
+ }
232
+ ce(Q, { show: c, hide: w });
233
+ const _ = C(() => {
234
+ const a = new Map(n.document.nodes.map((d) => [d.id, { ...d.position }])), h = Math.min(...n.document.nodes.map((d) => d.position.x)), p = Math.max(...n.document.nodes.map((d) => d.position.x)), u = (h + p) / 2;
235
+ for (const d of a.values())
236
+ d.x = u + (d.x - u) * Ee;
237
+ for (let d = 0; d < n.document.nodes.length; d += 1)
238
+ for (const f of n.document.edges) {
239
+ if (f.sourceHandle || f.targetHandle) continue;
240
+ const g = a.get(f.source), V = a.get(f.target);
241
+ if (!(!g || !V || Math.abs(g.x - V.x) >= 40) && (V.x = g.x, V.y > g.y)) {
242
+ const P = n.document.nodes.find((Z) => Z.id === f.source);
243
+ P && (V.y = Math.max(
244
+ V.y,
245
+ g.y + x(P) + Y
245
246
  ));
246
247
  }
247
248
  }
248
- const l = [...u.document.nodes].sort(
249
- (r, x) => r.position.y - x.position.y || r.position.x - x.position.x
249
+ const s = [...n.document.nodes].sort(
250
+ (d, f) => d.position.y - f.position.y || d.position.x - f.position.x
250
251
  );
251
- for (const [r, x] of l.entries()) {
252
- const v = e.get(x.id);
253
- if (v)
254
- for (const $ of l.slice(0, r)) {
255
- const z = e.get($.id);
256
- if (!z) continue;
257
- const R = x.kind === "note" ? x.appearance.width : 260, q = $.kind === "note" ? $.appearance.width : 260;
258
- v.x >= z.x + q + U || z.x >= v.x + R + U || (v.y = Math.max(
259
- v.y,
260
- z.y + N($) + W
252
+ for (const [d, f] of s.entries()) {
253
+ const g = a.get(f.id);
254
+ if (g)
255
+ for (const V of s.slice(0, d)) {
256
+ const P = a.get(V.id);
257
+ if (!P) continue;
258
+ const Z = f.kind === "note" ? f.appearance.width : 260, oe = V.kind === "note" ? V.appearance.width : 260;
259
+ g.x >= P.x + oe + W || P.x >= g.x + Z + W || (g.y = Math.max(
260
+ g.y,
261
+ P.y + x(V) + Y
261
262
  ));
262
263
  }
263
264
  }
264
- return e;
265
- }), I = T(() => u.document.nodes.map((e) => {
266
- const s = M.value.get(e.id) ?? e.position;
267
- return e.kind === "note" ? {
268
- id: e.id,
265
+ return a;
266
+ }), $ = C(() => n.document.nodes.map((a) => {
267
+ const h = _.value.get(a.id) ?? a.position;
268
+ return a.kind === "note" ? {
269
+ id: a.id,
269
270
  type: "note",
270
- position: s,
271
- data: e,
271
+ position: h,
272
+ data: a,
272
273
  style: {
273
- width: `${e.appearance.width}px`,
274
- height: e.appearance.height ? `${e.appearance.height}px` : void 0
274
+ width: `${a.appearance.width}px`,
275
+ height: a.appearance.height ? `${a.appearance.height}px` : void 0
275
276
  }
276
277
  } : {
277
- id: e.id,
278
+ id: a.id,
278
279
  type: "catalog",
279
- position: s,
280
+ position: h,
280
281
  data: {
281
- ...e,
282
- connectedHandles: t(e.id)
282
+ ...a,
283
+ connectedHandles: o(a.id)
283
284
  },
284
285
  selectable: !1
285
286
  };
286
- })), B = T(() => u.document.edges.map((e, s) => ({
287
- id: `viewer-edge-${s}-${e.source}-${e.target}`,
288
- source: e.source,
289
- target: e.target,
290
- sourceHandle: e.sourceHandle,
291
- targetHandle: e.targetHandle,
292
- type: se.SmoothStep,
293
- data: e.data,
294
- style: e.isVisual ? { strokeDasharray: "6 4" } : void 0,
287
+ })), L = C(() => n.document.edges.map((a, h) => ({
288
+ id: `viewer-edge-${h}-${a.source}-${a.target}`,
289
+ source: a.source,
290
+ target: a.target,
291
+ sourceHandle: a.sourceHandle,
292
+ targetHandle: a.targetHandle,
293
+ type: ye.SmoothStep,
294
+ data: a.data,
295
+ style: a.isVisual ? { strokeDasharray: "6 4" } : void 0,
295
296
  selectable: !1
296
- }))), j = T(() => {
297
- if (u.document.nodes.length === 0) return { minX: 0, minY: 0, maxX: 0, maxY: 0 };
298
- let e = 1 / 0, s = 1 / 0, p = -1 / 0, b = -1 / 0;
299
- for (const l of u.document.nodes) {
300
- const r = M.value.get(l.id) ?? l.position, x = l.kind === "note" ? l.appearance.width : 260, v = N(l);
301
- e = Math.min(e, r.x), s = Math.min(s, r.y), p = Math.max(p, r.x + x), b = Math.max(b, r.y + v);
297
+ }))), ee = C(() => {
298
+ if (n.document.nodes.length === 0) return { minX: 0, minY: 0, maxX: 0, maxY: 0 };
299
+ let a = 1 / 0, h = 1 / 0, p = -1 / 0, u = -1 / 0;
300
+ for (const s of n.document.nodes) {
301
+ const d = _.value.get(s.id) ?? s.position, f = s.kind === "note" ? s.appearance.width : 260, g = x(s);
302
+ a = Math.min(a, d.x), h = Math.min(h, d.y), p = Math.max(p, d.x + f), u = Math.max(u, d.y + g);
302
303
  }
303
- return { minX: e, minY: s, maxX: p, maxY: b };
304
+ return { minX: a, minY: h, maxX: p, maxY: u };
305
+ }), te = C(() => {
306
+ const a = n.document.nodes.filter((s) => s.kind === "node"), h = new Set(n.document.edges.map((s) => s.target)), p = a.filter((s) => !h.has(s.id));
307
+ return [...p.length > 0 ? p : a.length > 0 ? a : n.document.nodes].sort((s, d) => {
308
+ const f = _.value.get(s.id) ?? s.position, g = _.value.get(d.id) ?? d.position;
309
+ return f.y - g.y || f.x - g.x;
310
+ })[0];
304
311
  });
305
- function K(e) {
306
- if (u.fitViewOnInit) {
307
- e.fitView({ padding: 0.15, maxZoom: 1 });
312
+ function ae(a) {
313
+ if (n.fitViewOnInit) {
314
+ a.fitView({ padding: 0.15, maxZoom: 1 });
308
315
  return;
309
316
  }
310
- const s = j.value, p = u.initialZoom;
311
- e.setViewport({
312
- x: e.dimensions.value.width / 2 - (s.minX + s.maxX) / 2 * p,
313
- y: 24 - s.minY * p,
317
+ const h = ee.value, p = n.initialZoom, u = te.value, s = u ? _.value.get(u.id) ?? u.position : null, d = (u == null ? void 0 : u.kind) === "note" ? u.appearance.width : 260, f = s ? (s.x + d / 2) * p : (h.minX + h.maxX) / 2 * p;
318
+ a.setViewport({
319
+ x: a.dimensions.value.width / 2 - f,
320
+ y: 24 - h.minY * p,
314
321
  zoom: p
315
322
  });
316
323
  }
317
- return (e, s) => {
318
- var p, b;
319
- return n(), i("div", {
324
+ return (a, h) => {
325
+ var p, u;
326
+ return i(), l("div", {
320
327
  class: "ob-flow-viewer",
321
- "data-theme": o.theme
328
+ "data-theme": t.theme
322
329
  }, [
323
- oe(f(le), {
324
- nodes: I.value,
325
- edges: B.value,
326
- "node-types": _,
330
+ de(M(pe), {
331
+ nodes: $.value,
332
+ edges: L.value,
333
+ "node-types": v,
327
334
  "fit-view-on-init": !1,
328
- "min-zoom": o.minZoom,
329
- "max-zoom": o.maxZoom,
335
+ "min-zoom": t.minZoom,
336
+ "max-zoom": t.maxZoom,
330
337
  "nodes-draggable": !1,
331
338
  "nodes-connectable": !1,
332
339
  "elements-selectable": !0,
@@ -336,196 +343,1552 @@ const G = Symbol("flow-viewer-details"), ce = ["aria-label"], ue = { class: "ob-
336
343
  "delete-key-code": [],
337
344
  "multi-selection-key-code": [],
338
345
  "pan-on-drag": !0,
339
- "pan-on-scroll": !0,
346
+ "pan-on-scroll": t.panOnScroll,
340
347
  "zoom-on-scroll": !1,
341
348
  "zoom-on-pinch": !0,
342
349
  class: "ob-flow-viewer__canvas",
343
- onPaneReady: K
350
+ onPaneReady: ae
344
351
  }, {
345
- default: ne(() => [
346
- o.showControls ? (n(), H(f(re), {
352
+ default: le(() => [
353
+ t.showControls ? (i(), A(M(ke), {
347
354
  key: 0,
348
355
  "show-interactive": !1
349
- })) : y("", !0),
350
- o.showMiniMap ? (n(), H(f(de), {
356
+ })) : z("", !0),
357
+ t.showMiniMap ? (i(), A(M(ue), {
351
358
  key: 1,
352
359
  pannable: !0,
353
360
  zoomable: !0
354
- })) : y("", !0)
361
+ })) : z("", !0)
355
362
  ]),
356
363
  _: 1
357
- }, 8, ["nodes", "edges", "min-zoom", "max-zoom"]),
358
- (n(), H(ie, { to: "body" }, [
359
- c.value ? (n(), i("section", {
364
+ }, 8, ["nodes", "edges", "min-zoom", "max-zoom", "pan-on-scroll"]),
365
+ (i(), A(re, { to: "body" }, [
366
+ r.value ? (i(), l("section", {
360
367
  key: 0,
361
368
  class: "ob-flow-viewer-tooltip",
362
- "data-theme": o.theme,
363
- style: S({ left: `${c.value.x}px`, top: `${c.value.y}px` }),
369
+ "data-theme": t.theme,
370
+ style: B({ left: `${r.value.x}px`, top: `${r.value.y}px` }),
364
371
  role: "tooltip",
365
372
  tabindex: "0",
366
- onMouseenter: h,
367
- onMouseleave: m,
368
- onFocusin: h,
369
- onFocusout: m
373
+ onMouseenter: k,
374
+ onMouseleave: w,
375
+ onFocusin: k,
376
+ onFocusout: w
370
377
  }, [
371
- w("header", ke, [
372
- w("span", {
378
+ m("header", Ce, [
379
+ m("span", {
373
380
  class: "ob-flow-viewer-tooltip__icon",
374
- style: S({ "--ob-node-icon-color": ((p = c.value.node.icon) == null ? void 0 : p.color) ?? "#64748b" }),
381
+ style: B({ "--ob-node-icon-color": ((p = r.value.node.icon) == null ? void 0 : p.color) ?? "#64748b" }),
375
382
  "aria-hidden": "true"
376
383
  }, [
377
- (b = c.value.node.icon) != null && b.svg ? (n(), i("span", {
384
+ (u = r.value.node.icon) != null && u.svg ? (i(), l("span", {
378
385
  key: 0,
379
386
  class: "ob-flow-viewer-node__icon-svg",
380
- innerHTML: c.value.node.icon.svg
381
- }, null, 8, Me)) : (n(), i("span", $e, k(c.value.node.available ? c.value.node.name.slice(0, 1).toUpperCase() : "?"), 1))
387
+ innerHTML: r.value.node.icon.svg
388
+ }, null, 8, qe)) : (i(), l("span", $e, H(r.value.node.available ? r.value.node.name.slice(0, 1).toUpperCase() : "?"), 1))
382
389
  ], 4),
383
- w("span", He, [
384
- w("strong", null, k(c.value.node.name), 1),
385
- w("code", null, k(c.value.node.key), 1)
390
+ m("span", Le, [
391
+ m("strong", null, H(r.value.node.name), 1),
392
+ m("code", null, H(r.value.node.key), 1)
386
393
  ])
387
394
  ]),
388
- w("div", Ne, [
389
- c.value.node.available ? c.value.node.description ? (n(), i("p", Te, k(c.value.node.description), 1)) : y("", !0) : (n(), i("p", Pe, " This node template is unavailable. ")),
390
- c.value.node.available ? (n(), i("div", Ie, [
391
- w("div", Be, [
392
- s[0] || (s[0] = w("span", { class: "ob-flow-viewer-node__port-heading" }, "Inputs", -1)),
393
- c.value.node.inputs.length === 0 ? (n(), i("span", ze, "None")) : y("", !0),
394
- (n(!0), i(P, null, F(c.value.node.inputs, (l) => (n(), i("span", {
395
- key: l.key,
395
+ m("div", Pe, [
396
+ r.value.node.available ? r.value.node.description ? (i(), l("p", Te, H(r.value.node.description), 1)) : z("", !0) : (i(), l("p", Ie, " This node template is unavailable. ")),
397
+ r.value.node.available ? (i(), l("div", je, [
398
+ m("div", Se, [
399
+ h[0] || (h[0] = m("span", { class: "ob-flow-viewer-node__port-heading" }, "Inputs", -1)),
400
+ r.value.node.inputs.length === 0 ? (i(), l("span", Be, "None")) : z("", !0),
401
+ (i(!0), l(q, null, S(r.value.node.inputs, (s) => (i(), l("span", {
402
+ key: s.key,
396
403
  class: "ob-flow-viewer-node__port"
397
404
  }, [
398
- w("span", null, k(l.name), 1),
399
- l.description ? (n(), i("small", Ve, k(l.description), 1)) : y("", !0)
405
+ m("span", null, H(s.name), 1),
406
+ s.description ? (i(), l("small", Ne, H(s.description), 1)) : z("", !0)
400
407
  ]))), 128))
401
408
  ]),
402
- w("div", Ce, [
403
- s[1] || (s[1] = w("span", { class: "ob-flow-viewer-node__port-heading" }, "Outputs", -1)),
404
- c.value.node.outputs.length === 0 ? (n(), i("span", Fe, "None")) : y("", !0),
405
- (n(!0), i(P, null, F(c.value.node.outputs, (l) => (n(), i("span", {
406
- key: l.key,
409
+ m("div", Fe, [
410
+ h[1] || (h[1] = m("span", { class: "ob-flow-viewer-node__port-heading" }, "Outputs", -1)),
411
+ r.value.node.outputs.length === 0 ? (i(), l("span", De, "None")) : z("", !0),
412
+ (i(!0), l(q, null, S(r.value.node.outputs, (s) => (i(), l("span", {
413
+ key: s.key,
407
414
  class: "ob-flow-viewer-node__port"
408
415
  }, [
409
- w("span", null, k(l.name), 1),
410
- l.description ? (n(), i("small", Se, k(l.description), 1)) : y("", !0)
416
+ m("span", null, H(s.name), 1),
417
+ s.description ? (i(), l("small", Oe, H(s.description), 1)) : z("", !0)
411
418
  ]))), 128))
412
419
  ])
413
- ])) : y("", !0)
420
+ ])) : z("", !0)
414
421
  ])
415
- ], 44, _e)) : y("", !0)
422
+ ], 44, Ae)) : z("", !0)
416
423
  ]))
417
- ], 8, be);
424
+ ], 8, Ve);
418
425
  };
419
426
  }
420
- }), Oe = { class: "ob-flow-preview" }, De = ["viewBox"], Ee = ["d"], Ae = ["x", "y"], Re = ["x", "y"], Xe = ["href", "x", "y"], Ze = ["x", "y"], Ye = ["x", "y"], L = 260, O = 100, D = 140, We = 140, X = 48, E = 26, Qe = /* @__PURE__ */ A({
427
+ });
428
+ /**
429
+ * @license lucide-vue-next v0.577.0 - ISC
430
+ *
431
+ * This source code is licensed under the ISC license.
432
+ * See the LICENSE file in the root directory of this source tree.
433
+ */
434
+ const Ze = (t) => {
435
+ for (const n in t)
436
+ if (n.startsWith("aria-") || n === "role" || n === "title")
437
+ return !0;
438
+ return !1;
439
+ };
440
+ /**
441
+ * @license lucide-vue-next v0.577.0 - ISC
442
+ *
443
+ * This source code is licensed under the ISC license.
444
+ * See the LICENSE file in the root directory of this source tree.
445
+ */
446
+ const J = (t) => t === "";
447
+ /**
448
+ * @license lucide-vue-next v0.577.0 - ISC
449
+ *
450
+ * This source code is licensed under the ISC license.
451
+ * See the LICENSE file in the root directory of this source tree.
452
+ */
453
+ const Re = (...t) => t.filter((n, v, x) => !!n && n.trim() !== "" && x.indexOf(n) === v).join(" ").trim();
454
+ /**
455
+ * @license lucide-vue-next v0.577.0 - ISC
456
+ *
457
+ * This source code is licensed under the ISC license.
458
+ * See the LICENSE file in the root directory of this source tree.
459
+ */
460
+ const K = (t) => t.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
461
+ /**
462
+ * @license lucide-vue-next v0.577.0 - ISC
463
+ *
464
+ * This source code is licensed under the ISC license.
465
+ * See the LICENSE file in the root directory of this source tree.
466
+ */
467
+ const Xe = (t) => t.replace(
468
+ /^([A-Z])|[\s-_]+(\w)/g,
469
+ (n, v, x) => x ? x.toUpperCase() : v.toLowerCase()
470
+ );
471
+ /**
472
+ * @license lucide-vue-next v0.577.0 - ISC
473
+ *
474
+ * This source code is licensed under the ISC license.
475
+ * See the LICENSE file in the root directory of this source tree.
476
+ */
477
+ const Ue = (t) => {
478
+ const n = Xe(t);
479
+ return n.charAt(0).toUpperCase() + n.slice(1);
480
+ };
481
+ /**
482
+ * @license lucide-vue-next v0.577.0 - ISC
483
+ *
484
+ * This source code is licensed under the ISC license.
485
+ * See the LICENSE file in the root directory of this source tree.
486
+ */
487
+ var j = {
488
+ xmlns: "http://www.w3.org/2000/svg",
489
+ width: 24,
490
+ height: 24,
491
+ viewBox: "0 0 24 24",
492
+ fill: "none",
493
+ stroke: "currentColor",
494
+ "stroke-width": 2,
495
+ "stroke-linecap": "round",
496
+ "stroke-linejoin": "round"
497
+ };
498
+ /**
499
+ * @license lucide-vue-next v0.577.0 - ISC
500
+ *
501
+ * This source code is licensed under the ISC license.
502
+ * See the LICENSE file in the root directory of this source tree.
503
+ */
504
+ const Ge = ({
505
+ name: t,
506
+ iconNode: n,
507
+ absoluteStrokeWidth: v,
508
+ "absolute-stroke-width": x,
509
+ strokeWidth: r,
510
+ "stroke-width": y,
511
+ size: k = j.width,
512
+ color: b = j.stroke,
513
+ ...o
514
+ }, { slots: c }) => U(
515
+ "svg",
516
+ {
517
+ ...j,
518
+ ...o,
519
+ width: k,
520
+ height: k,
521
+ stroke: b,
522
+ "stroke-width": J(v) || J(x) || v === !0 || x === !0 ? Number(r || y || j["stroke-width"]) * 24 / Number(k) : r || y || j["stroke-width"],
523
+ class: Re(
524
+ "lucide",
525
+ o.class,
526
+ ...t ? [`lucide-${K(Ue(t))}-icon`, `lucide-${K(t)}`] : ["lucide-icon"]
527
+ ),
528
+ ...!c.default && !Ze(o) && { "aria-hidden": "true" }
529
+ },
530
+ [...n.map((w) => U(...w)), ...c.default ? [c.default()] : []]
531
+ );
532
+ /**
533
+ * @license lucide-vue-next v0.577.0 - ISC
534
+ *
535
+ * This source code is licensed under the ISC license.
536
+ * See the LICENSE file in the root directory of this source tree.
537
+ */
538
+ const e = (t, n) => (v, { slots: x, attrs: r }) => U(
539
+ Ge,
540
+ {
541
+ ...r,
542
+ ...v,
543
+ iconNode: n,
544
+ name: t
545
+ },
546
+ x
547
+ );
548
+ /**
549
+ * @license lucide-vue-next v0.577.0 - ISC
550
+ *
551
+ * This source code is licensed under the ISC license.
552
+ * See the LICENSE file in the root directory of this source tree.
553
+ */
554
+ const Ye = e("archive-restore", [
555
+ ["rect", { width: "20", height: "5", x: "2", y: "3", rx: "1", key: "1wp1u1" }],
556
+ ["path", { d: "M4 8v11a2 2 0 0 0 2 2h2", key: "tvwodi" }],
557
+ ["path", { d: "M20 8v11a2 2 0 0 1-2 2h-2", key: "1gkqxj" }],
558
+ ["path", { d: "m9 15 3-3 3 3", key: "1pd0qc" }],
559
+ ["path", { d: "M12 12v9", key: "192myk" }]
560
+ ]);
561
+ /**
562
+ * @license lucide-vue-next v0.577.0 - ISC
563
+ *
564
+ * This source code is licensed under the ISC license.
565
+ * See the LICENSE file in the root directory of this source tree.
566
+ */
567
+ const We = e("archive", [
568
+ ["rect", { width: "20", height: "5", x: "2", y: "3", rx: "1", key: "1wp1u1" }],
569
+ ["path", { d: "M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8", key: "1s80jp" }],
570
+ ["path", { d: "M10 12h4", key: "a56b0p" }]
571
+ ]);
572
+ /**
573
+ * @license lucide-vue-next v0.577.0 - ISC
574
+ *
575
+ * This source code is licensed under the ISC license.
576
+ * See the LICENSE file in the root directory of this source tree.
577
+ */
578
+ const Je = e("arrow-down-to-line", [
579
+ ["path", { d: "M12 17V3", key: "1cwfxf" }],
580
+ ["path", { d: "m6 11 6 6 6-6", key: "12ii2o" }],
581
+ ["path", { d: "M19 21H5", key: "150jfl" }]
582
+ ]);
583
+ /**
584
+ * @license lucide-vue-next v0.577.0 - ISC
585
+ *
586
+ * This source code is licensed under the ISC license.
587
+ * See the LICENSE file in the root directory of this source tree.
588
+ */
589
+ const Ke = e("badge-check", [
590
+ [
591
+ "path",
592
+ {
593
+ d: "M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",
594
+ key: "3c2336"
595
+ }
596
+ ],
597
+ ["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
598
+ ]);
599
+ /**
600
+ * @license lucide-vue-next v0.577.0 - ISC
601
+ *
602
+ * This source code is licensed under the ISC license.
603
+ * See the LICENSE file in the root directory of this source tree.
604
+ */
605
+ const Qe = e("bot", [
606
+ ["path", { d: "M12 8V4H8", key: "hb8ula" }],
607
+ ["rect", { width: "16", height: "12", x: "4", y: "8", rx: "2", key: "enze0r" }],
608
+ ["path", { d: "M2 14h2", key: "vft8re" }],
609
+ ["path", { d: "M20 14h2", key: "4cs60a" }],
610
+ ["path", { d: "M15 13v2", key: "1xurst" }],
611
+ ["path", { d: "M9 13v2", key: "rq6x2g" }]
612
+ ]);
613
+ /**
614
+ * @license lucide-vue-next v0.577.0 - ISC
615
+ *
616
+ * This source code is licensed under the ISC license.
617
+ * See the LICENSE file in the root directory of this source tree.
618
+ */
619
+ const et = e("box", [
620
+ [
621
+ "path",
622
+ {
623
+ d: "M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",
624
+ key: "hh9hay"
625
+ }
626
+ ],
627
+ ["path", { d: "m3.3 7 8.7 5 8.7-5", key: "g66t2b" }],
628
+ ["path", { d: "M12 22V12", key: "d0xqtd" }]
629
+ ]);
630
+ /**
631
+ * @license lucide-vue-next v0.577.0 - ISC
632
+ *
633
+ * This source code is licensed under the ISC license.
634
+ * See the LICENSE file in the root directory of this source tree.
635
+ */
636
+ const tt = e("brain-circuit", [
637
+ [
638
+ "path",
639
+ {
640
+ d: "M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",
641
+ key: "l5xja"
642
+ }
643
+ ],
644
+ ["path", { d: "M9 13a4.5 4.5 0 0 0 3-4", key: "10igwf" }],
645
+ ["path", { d: "M6.003 5.125A3 3 0 0 0 6.401 6.5", key: "105sqy" }],
646
+ ["path", { d: "M3.477 10.896a4 4 0 0 1 .585-.396", key: "ql3yin" }],
647
+ ["path", { d: "M6 18a4 4 0 0 1-1.967-.516", key: "2e4loj" }],
648
+ ["path", { d: "M12 13h4", key: "1ku699" }],
649
+ ["path", { d: "M12 18h6a2 2 0 0 1 2 2v1", key: "105ag5" }],
650
+ ["path", { d: "M12 8h8", key: "1lhi5i" }],
651
+ ["path", { d: "M16 8V5a2 2 0 0 1 2-2", key: "u6izg6" }],
652
+ ["circle", { cx: "16", cy: "13", r: ".5", key: "ry7gng" }],
653
+ ["circle", { cx: "18", cy: "3", r: ".5", key: "1aiba7" }],
654
+ ["circle", { cx: "20", cy: "21", r: ".5", key: "yhc1fs" }],
655
+ ["circle", { cx: "20", cy: "8", r: ".5", key: "1e43v0" }]
656
+ ]);
657
+ /**
658
+ * @license lucide-vue-next v0.577.0 - ISC
659
+ *
660
+ * This source code is licensed under the ISC license.
661
+ * See the LICENSE file in the root directory of this source tree.
662
+ */
663
+ const at = e("brain", [
664
+ ["path", { d: "M12 18V5", key: "adv99a" }],
665
+ ["path", { d: "M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4", key: "1e3is1" }],
666
+ ["path", { d: "M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5", key: "1gqd8o" }],
667
+ ["path", { d: "M17.997 5.125a4 4 0 0 1 2.526 5.77", key: "iwvgf7" }],
668
+ ["path", { d: "M18 18a4 4 0 0 0 2-7.464", key: "efp6ie" }],
669
+ ["path", { d: "M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517", key: "1gq6am" }],
670
+ ["path", { d: "M6 18a4 4 0 0 1-2-7.464", key: "k1g0md" }],
671
+ ["path", { d: "M6.003 5.125a4 4 0 0 0-2.526 5.77", key: "q97ue3" }]
672
+ ]);
673
+ /**
674
+ * @license lucide-vue-next v0.577.0 - ISC
675
+ *
676
+ * This source code is licensed under the ISC license.
677
+ * See the LICENSE file in the root directory of this source tree.
678
+ */
679
+ const ot = e("chart-column", [
680
+ ["path", { d: "M3 3v16a2 2 0 0 0 2 2h16", key: "c24i48" }],
681
+ ["path", { d: "M18 17V9", key: "2bz60n" }],
682
+ ["path", { d: "M13 17V5", key: "1frdt8" }],
683
+ ["path", { d: "M8 17v-3", key: "17ska0" }]
684
+ ]);
685
+ /**
686
+ * @license lucide-vue-next v0.577.0 - ISC
687
+ *
688
+ * This source code is licensed under the ISC license.
689
+ * See the LICENSE file in the root directory of this source tree.
690
+ */
691
+ const nt = e("clipboard-check", [
692
+ ["rect", { width: "8", height: "4", x: "8", y: "2", rx: "1", ry: "1", key: "tgr4d6" }],
693
+ [
694
+ "path",
695
+ {
696
+ d: "M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",
697
+ key: "116196"
698
+ }
699
+ ],
700
+ ["path", { d: "m9 14 2 2 4-4", key: "df797q" }]
701
+ ]);
702
+ /**
703
+ * @license lucide-vue-next v0.577.0 - ISC
704
+ *
705
+ * This source code is licensed under the ISC license.
706
+ * See the LICENSE file in the root directory of this source tree.
707
+ */
708
+ const it = e("clock-3", [
709
+ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
710
+ ["path", { d: "M12 6v6h4", key: "135r8i" }]
711
+ ]);
712
+ /**
713
+ * @license lucide-vue-next v0.577.0 - ISC
714
+ *
715
+ * This source code is licensed under the ISC license.
716
+ * See the LICENSE file in the root directory of this source tree.
717
+ */
718
+ const st = e("cloud-download", [
719
+ ["path", { d: "M12 13v8l-4-4", key: "1f5nwf" }],
720
+ ["path", { d: "m12 21 4-4", key: "1lfcce" }],
721
+ ["path", { d: "M4.393 15.269A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.436 8.284", key: "ui1hmy" }]
722
+ ]);
723
+ /**
724
+ * @license lucide-vue-next v0.577.0 - ISC
725
+ *
726
+ * This source code is licensed under the ISC license.
727
+ * See the LICENSE file in the root directory of this source tree.
728
+ */
729
+ const ct = e("combine", [
730
+ ["path", { d: "M14 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1", key: "1l7d7l" }],
731
+ ["path", { d: "M19 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1", key: "9955pe" }],
732
+ ["path", { d: "m7 15 3 3", key: "4hkfgk" }],
733
+ ["path", { d: "m7 21 3-3H5a2 2 0 0 1-2-2v-2", key: "1xljwe" }],
734
+ ["rect", { x: "14", y: "14", width: "7", height: "7", rx: "1", key: "1cdgtw" }],
735
+ ["rect", { x: "3", y: "3", width: "7", height: "7", rx: "1", key: "zi3rio" }]
736
+ ]);
737
+ /**
738
+ * @license lucide-vue-next v0.577.0 - ISC
739
+ *
740
+ * This source code is licensed under the ISC license.
741
+ * See the LICENSE file in the root directory of this source tree.
742
+ */
743
+ const dt = e("copy", [
744
+ ["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
745
+ ["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
746
+ ]);
747
+ /**
748
+ * @license lucide-vue-next v0.577.0 - ISC
749
+ *
750
+ * This source code is licensed under the ISC license.
751
+ * See the LICENSE file in the root directory of this source tree.
752
+ */
753
+ const lt = e("cpu", [
754
+ ["path", { d: "M12 20v2", key: "1lh1kg" }],
755
+ ["path", { d: "M12 2v2", key: "tus03m" }],
756
+ ["path", { d: "M17 20v2", key: "1rnc9c" }],
757
+ ["path", { d: "M17 2v2", key: "11trls" }],
758
+ ["path", { d: "M2 12h2", key: "1t8f8n" }],
759
+ ["path", { d: "M2 17h2", key: "7oei6x" }],
760
+ ["path", { d: "M2 7h2", key: "asdhe0" }],
761
+ ["path", { d: "M20 12h2", key: "1q8mjw" }],
762
+ ["path", { d: "M20 17h2", key: "1fpfkl" }],
763
+ ["path", { d: "M20 7h2", key: "1o8tra" }],
764
+ ["path", { d: "M7 20v2", key: "4gnj0m" }],
765
+ ["path", { d: "M7 2v2", key: "1i4yhu" }],
766
+ ["rect", { x: "4", y: "4", width: "16", height: "16", rx: "2", key: "1vbyd7" }],
767
+ ["rect", { x: "8", y: "8", width: "8", height: "8", rx: "1", key: "z9xiuo" }]
768
+ ]);
769
+ /**
770
+ * @license lucide-vue-next v0.577.0 - ISC
771
+ *
772
+ * This source code is licensed under the ISC license.
773
+ * See the LICENSE file in the root directory of this source tree.
774
+ */
775
+ const rt = e("crop", [
776
+ ["path", { d: "M6 2v14a2 2 0 0 0 2 2h14", key: "ron5a4" }],
777
+ ["path", { d: "M18 22V8a2 2 0 0 0-2-2H2", key: "7s9ehn" }]
778
+ ]);
779
+ /**
780
+ * @license lucide-vue-next v0.577.0 - ISC
781
+ *
782
+ * This source code is licensed under the ISC license.
783
+ * See the LICENSE file in the root directory of this source tree.
784
+ */
785
+ const ht = e("crosshair", [
786
+ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
787
+ ["line", { x1: "22", x2: "18", y1: "12", y2: "12", key: "l9bcsi" }],
788
+ ["line", { x1: "6", x2: "2", y1: "12", y2: "12", key: "13hhkx" }],
789
+ ["line", { x1: "12", x2: "12", y1: "6", y2: "2", key: "10w3f3" }],
790
+ ["line", { x1: "12", x2: "12", y1: "22", y2: "18", key: "15g9kq" }]
791
+ ]);
792
+ /**
793
+ * @license lucide-vue-next v0.577.0 - ISC
794
+ *
795
+ * This source code is licensed under the ISC license.
796
+ * See the LICENSE file in the root directory of this source tree.
797
+ */
798
+ const yt = e("database", [
799
+ ["ellipse", { cx: "12", cy: "5", rx: "9", ry: "3", key: "msslwz" }],
800
+ ["path", { d: "M3 5V19A9 3 0 0 0 21 19V5", key: "1wlel7" }],
801
+ ["path", { d: "M3 12A9 3 0 0 0 21 12", key: "mv7ke4" }]
802
+ ]);
803
+ /**
804
+ * @license lucide-vue-next v0.577.0 - ISC
805
+ *
806
+ * This source code is licensed under the ISC license.
807
+ * See the LICENSE file in the root directory of this source tree.
808
+ */
809
+ const pt = e("download", [
810
+ ["path", { d: "M12 15V3", key: "m9g1x1" }],
811
+ ["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
812
+ ["path", { d: "m7 10 5 5 5-5", key: "brsn70" }]
813
+ ]);
814
+ /**
815
+ * @license lucide-vue-next v0.577.0 - ISC
816
+ *
817
+ * This source code is licensed under the ISC license.
818
+ * See the LICENSE file in the root directory of this source tree.
819
+ */
820
+ const kt = e("eye", [
821
+ [
822
+ "path",
823
+ {
824
+ d: "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",
825
+ key: "1nclc0"
826
+ }
827
+ ],
828
+ ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
829
+ ]);
830
+ /**
831
+ * @license lucide-vue-next v0.577.0 - ISC
832
+ *
833
+ * This source code is licensed under the ISC license.
834
+ * See the LICENSE file in the root directory of this source tree.
835
+ */
836
+ const ut = e("file-down", [
837
+ [
838
+ "path",
839
+ {
840
+ d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
841
+ key: "1oefj6"
842
+ }
843
+ ],
844
+ ["path", { d: "M14 2v5a1 1 0 0 0 1 1h5", key: "wfsgrz" }],
845
+ ["path", { d: "M12 18v-6", key: "17g6i2" }],
846
+ ["path", { d: "m9 15 3 3 3-3", key: "1npd3o" }]
847
+ ]);
848
+ /**
849
+ * @license lucide-vue-next v0.577.0 - ISC
850
+ *
851
+ * This source code is licensed under the ISC license.
852
+ * See the LICENSE file in the root directory of this source tree.
853
+ */
854
+ const mt = e("files", [
855
+ ["path", { d: "M15 2h-4a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8", key: "14sh0y" }],
856
+ [
857
+ "path",
858
+ {
859
+ d: "M16.706 2.706A2.4 2.4 0 0 0 15 2v5a1 1 0 0 0 1 1h5a2.4 2.4 0 0 0-.706-1.706z",
860
+ key: "1970lx"
861
+ }
862
+ ],
863
+ ["path", { d: "M5 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 1.732-1", key: "l4dndm" }]
864
+ ]);
865
+ /**
866
+ * @license lucide-vue-next v0.577.0 - ISC
867
+ *
868
+ * This source code is licensed under the ISC license.
869
+ * See the LICENSE file in the root directory of this source tree.
870
+ */
871
+ const vt = e("film", [
872
+ ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
873
+ ["path", { d: "M7 3v18", key: "bbkbws" }],
874
+ ["path", { d: "M3 7.5h4", key: "zfgn84" }],
875
+ ["path", { d: "M3 12h18", key: "1i2n21" }],
876
+ ["path", { d: "M3 16.5h4", key: "1230mu" }],
877
+ ["path", { d: "M17 3v18", key: "in4fa5" }],
878
+ ["path", { d: "M17 7.5h4", key: "myr1c1" }],
879
+ ["path", { d: "M17 16.5h4", key: "go4c1d" }]
880
+ ]);
881
+ /**
882
+ * @license lucide-vue-next v0.577.0 - ISC
883
+ *
884
+ * This source code is licensed under the ISC license.
885
+ * See the LICENSE file in the root directory of this source tree.
886
+ */
887
+ const wt = e("folder-plus", [
888
+ ["path", { d: "M12 10v6", key: "1bos4e" }],
889
+ ["path", { d: "M9 13h6", key: "1uhe8q" }],
890
+ [
891
+ "path",
892
+ {
893
+ d: "M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",
894
+ key: "1kt360"
895
+ }
896
+ ]
897
+ ]);
898
+ /**
899
+ * @license lucide-vue-next v0.577.0 - ISC
900
+ *
901
+ * This source code is licensed under the ISC license.
902
+ * See the LICENSE file in the root directory of this source tree.
903
+ */
904
+ const gt = e("folder-root", [
905
+ [
906
+ "path",
907
+ {
908
+ d: "M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",
909
+ key: "1fr9dc"
910
+ }
911
+ ],
912
+ ["circle", { cx: "12", cy: "13", r: "2", key: "1c1ljs" }],
913
+ ["path", { d: "M12 15v5", key: "11xva1" }]
914
+ ]);
915
+ /**
916
+ * @license lucide-vue-next v0.577.0 - ISC
917
+ *
918
+ * This source code is licensed under the ISC license.
919
+ * See the LICENSE file in the root directory of this source tree.
920
+ */
921
+ const ft = e("folder-sync", [
922
+ [
923
+ "path",
924
+ {
925
+ d: "M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v.5",
926
+ key: "1dkoa9"
927
+ }
928
+ ],
929
+ ["path", { d: "M12 10v4h4", key: "1czhmt" }],
930
+ ["path", { d: "m12 14 1.535-1.605a5 5 0 0 1 8 1.5", key: "lvuxfi" }],
931
+ ["path", { d: "M22 22v-4h-4", key: "1ewp4q" }],
932
+ ["path", { d: "m22 18-1.535 1.605a5 5 0 0 1-8-1.5", key: "14ync0" }]
933
+ ]);
934
+ /**
935
+ * @license lucide-vue-next v0.577.0 - ISC
936
+ *
937
+ * This source code is licensed under the ISC license.
938
+ * See the LICENSE file in the root directory of this source tree.
939
+ */
940
+ const Mt = e("funnel", [
941
+ [
942
+ "path",
943
+ {
944
+ d: "M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",
945
+ key: "sc7q7i"
946
+ }
947
+ ]
948
+ ]);
949
+ /**
950
+ * @license lucide-vue-next v0.577.0 - ISC
951
+ *
952
+ * This source code is licensed under the ISC license.
953
+ * See the LICENSE file in the root directory of this source tree.
954
+ */
955
+ const xt = e("gallery-vertical-end", [
956
+ ["path", { d: "M7 2h10", key: "nczekb" }],
957
+ ["path", { d: "M5 6h14", key: "u2x4p" }],
958
+ ["rect", { width: "18", height: "12", x: "3", y: "10", rx: "2", key: "l0tzu3" }]
959
+ ]);
960
+ /**
961
+ * @license lucide-vue-next v0.577.0 - ISC
962
+ *
963
+ * This source code is licensed under the ISC license.
964
+ * See the LICENSE file in the root directory of this source tree.
965
+ */
966
+ const bt = e("gauge", [
967
+ ["path", { d: "m12 14 4-4", key: "9kzdfg" }],
968
+ ["path", { d: "M3.34 19a10 10 0 1 1 17.32 0", key: "19p75a" }]
969
+ ]);
970
+ /**
971
+ * @license lucide-vue-next v0.577.0 - ISC
972
+ *
973
+ * This source code is licensed under the ISC license.
974
+ * See the LICENSE file in the root directory of this source tree.
975
+ */
976
+ const zt = e("git-branch", [
977
+ ["path", { d: "M15 6a9 9 0 0 0-9 9V3", key: "1cii5b" }],
978
+ ["circle", { cx: "18", cy: "6", r: "3", key: "1h7g24" }],
979
+ ["circle", { cx: "6", cy: "18", r: "3", key: "fqmcym" }]
980
+ ]);
981
+ /**
982
+ * @license lucide-vue-next v0.577.0 - ISC
983
+ *
984
+ * This source code is licensed under the ISC license.
985
+ * See the LICENSE file in the root directory of this source tree.
986
+ */
987
+ const _t = e("git-merge", [
988
+ ["circle", { cx: "18", cy: "18", r: "3", key: "1xkwt0" }],
989
+ ["circle", { cx: "6", cy: "6", r: "3", key: "1lh9wr" }],
990
+ ["path", { d: "M6 21V9a9 9 0 0 0 9 9", key: "7kw0sc" }]
991
+ ]);
992
+ /**
993
+ * @license lucide-vue-next v0.577.0 - ISC
994
+ *
995
+ * This source code is licensed under the ISC license.
996
+ * See the LICENSE file in the root directory of this source tree.
997
+ */
998
+ const Ht = e("hard-drive-download", [
999
+ ["path", { d: "M12 2v8", key: "1q4o3n" }],
1000
+ ["path", { d: "m16 6-4 4-4-4", key: "6wukr" }],
1001
+ ["rect", { width: "20", height: "8", x: "2", y: "14", rx: "2", key: "w68u3i" }],
1002
+ ["path", { d: "M6 18h.01", key: "uhywen" }],
1003
+ ["path", { d: "M10 18h.01", key: "h775k" }]
1004
+ ]);
1005
+ /**
1006
+ * @license lucide-vue-next v0.577.0 - ISC
1007
+ *
1008
+ * This source code is licensed under the ISC license.
1009
+ * See the LICENSE file in the root directory of this source tree.
1010
+ */
1011
+ const Vt = e("hard-drive-upload", [
1012
+ ["path", { d: "m16 6-4-4-4 4", key: "13yo43" }],
1013
+ ["path", { d: "M12 2v8", key: "1q4o3n" }],
1014
+ ["rect", { width: "20", height: "8", x: "2", y: "14", rx: "2", key: "w68u3i" }],
1015
+ ["path", { d: "M6 18h.01", key: "uhywen" }],
1016
+ ["path", { d: "M10 18h.01", key: "h775k" }]
1017
+ ]);
1018
+ /**
1019
+ * @license lucide-vue-next v0.577.0 - ISC
1020
+ *
1021
+ * This source code is licensed under the ISC license.
1022
+ * See the LICENSE file in the root directory of this source tree.
1023
+ */
1024
+ const At = e("history", [
1025
+ ["path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8", key: "1357e3" }],
1026
+ ["path", { d: "M3 3v5h5", key: "1xhq8a" }],
1027
+ ["path", { d: "M12 7v5l4 2", key: "1fdv2h" }]
1028
+ ]);
1029
+ /**
1030
+ * @license lucide-vue-next v0.577.0 - ISC
1031
+ *
1032
+ * This source code is licensed under the ISC license.
1033
+ * See the LICENSE file in the root directory of this source tree.
1034
+ */
1035
+ const Ct = e("image-up", [
1036
+ [
1037
+ "path",
1038
+ {
1039
+ d: "M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21",
1040
+ key: "9csbqa"
1041
+ }
1042
+ ],
1043
+ ["path", { d: "m14 19.5 3-3 3 3", key: "9vmjn0" }],
1044
+ ["path", { d: "M17 22v-5.5", key: "1aa6fl" }],
1045
+ ["circle", { cx: "9", cy: "9", r: "2", key: "af1f0g" }]
1046
+ ]);
1047
+ /**
1048
+ * @license lucide-vue-next v0.577.0 - ISC
1049
+ *
1050
+ * This source code is licensed under the ISC license.
1051
+ * See the LICENSE file in the root directory of this source tree.
1052
+ */
1053
+ const qt = e("image-plus", [
1054
+ ["path", { d: "M16 5h6", key: "1vod17" }],
1055
+ ["path", { d: "M19 2v6", key: "4bpg5p" }],
1056
+ ["path", { d: "M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5", key: "1ue2ih" }],
1057
+ ["path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21", key: "1xmnt7" }],
1058
+ ["circle", { cx: "9", cy: "9", r: "2", key: "af1f0g" }]
1059
+ ]);
1060
+ /**
1061
+ * @license lucide-vue-next v0.577.0 - ISC
1062
+ *
1063
+ * This source code is licensed under the ISC license.
1064
+ * See the LICENSE file in the root directory of this source tree.
1065
+ */
1066
+ const $t = e("image", [
1067
+ ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
1068
+ ["circle", { cx: "9", cy: "9", r: "2", key: "af1f0g" }],
1069
+ ["path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21", key: "1xmnt7" }]
1070
+ ]);
1071
+ /**
1072
+ * @license lucide-vue-next v0.577.0 - ISC
1073
+ *
1074
+ * This source code is licensed under the ISC license.
1075
+ * See the LICENSE file in the root directory of this source tree.
1076
+ */
1077
+ const Lt = e("images", [
1078
+ ["path", { d: "m22 11-1.296-1.296a2.4 2.4 0 0 0-3.408 0L11 16", key: "9kzy35" }],
1079
+ ["path", { d: "M4 8a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2", key: "1t0f0t" }],
1080
+ ["circle", { cx: "13", cy: "7", r: "1", fill: "currentColor", key: "1obus6" }],
1081
+ ["rect", { x: "8", y: "2", width: "14", height: "14", rx: "2", key: "1gvhby" }]
1082
+ ]);
1083
+ /**
1084
+ * @license lucide-vue-next v0.577.0 - ISC
1085
+ *
1086
+ * This source code is licensed under the ISC license.
1087
+ * See the LICENSE file in the root directory of this source tree.
1088
+ */
1089
+ const Pt = e("layers", [
1090
+ [
1091
+ "path",
1092
+ {
1093
+ d: "M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",
1094
+ key: "zw3jo"
1095
+ }
1096
+ ],
1097
+ [
1098
+ "path",
1099
+ {
1100
+ d: "M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",
1101
+ key: "1wduqc"
1102
+ }
1103
+ ],
1104
+ [
1105
+ "path",
1106
+ {
1107
+ d: "M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",
1108
+ key: "kqbvx6"
1109
+ }
1110
+ ]
1111
+ ]);
1112
+ /**
1113
+ * @license lucide-vue-next v0.577.0 - ISC
1114
+ *
1115
+ * This source code is licensed under the ISC license.
1116
+ * See the LICENSE file in the root directory of this source tree.
1117
+ */
1118
+ const It = e("list-checks", [
1119
+ ["path", { d: "M13 5h8", key: "a7qcls" }],
1120
+ ["path", { d: "M13 12h8", key: "h98zly" }],
1121
+ ["path", { d: "M13 19h8", key: "c3s6r1" }],
1122
+ ["path", { d: "m3 17 2 2 4-4", key: "1jhpwq" }],
1123
+ ["path", { d: "m3 7 2 2 4-4", key: "1obspn" }]
1124
+ ]);
1125
+ /**
1126
+ * @license lucide-vue-next v0.577.0 - ISC
1127
+ *
1128
+ * This source code is licensed under the ISC license.
1129
+ * See the LICENSE file in the root directory of this source tree.
1130
+ */
1131
+ const Tt = e("loader-circle", [
1132
+ ["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]
1133
+ ]);
1134
+ /**
1135
+ * @license lucide-vue-next v0.577.0 - ISC
1136
+ *
1137
+ * This source code is licensed under the ISC license.
1138
+ * See the LICENSE file in the root directory of this source tree.
1139
+ */
1140
+ const jt = e("mail", [
1141
+ ["path", { d: "m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7", key: "132q7q" }],
1142
+ ["rect", { x: "2", y: "4", width: "20", height: "16", rx: "2", key: "izxlao" }]
1143
+ ]);
1144
+ /**
1145
+ * @license lucide-vue-next v0.577.0 - ISC
1146
+ *
1147
+ * This source code is licensed under the ISC license.
1148
+ * See the LICENSE file in the root directory of this source tree.
1149
+ */
1150
+ const St = e("moon", [
1151
+ [
1152
+ "path",
1153
+ {
1154
+ d: "M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",
1155
+ key: "kfwtm"
1156
+ }
1157
+ ]
1158
+ ]);
1159
+ /**
1160
+ * @license lucide-vue-next v0.577.0 - ISC
1161
+ *
1162
+ * This source code is licensed under the ISC license.
1163
+ * See the LICENSE file in the root directory of this source tree.
1164
+ */
1165
+ const Bt = e("move-right", [
1166
+ ["path", { d: "M18 8L22 12L18 16", key: "1r0oui" }],
1167
+ ["path", { d: "M2 12H22", key: "1m8cig" }]
1168
+ ]);
1169
+ /**
1170
+ * @license lucide-vue-next v0.577.0 - ISC
1171
+ *
1172
+ * This source code is licensed under the ISC license.
1173
+ * See the LICENSE file in the root directory of this source tree.
1174
+ */
1175
+ const Nt = e("octagon-x", [
1176
+ ["path", { d: "m15 9-6 6", key: "1uzhvr" }],
1177
+ [
1178
+ "path",
1179
+ {
1180
+ d: "M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",
1181
+ key: "2d38gg"
1182
+ }
1183
+ ],
1184
+ ["path", { d: "m9 9 6 6", key: "z0biqf" }]
1185
+ ]);
1186
+ /**
1187
+ * @license lucide-vue-next v0.577.0 - ISC
1188
+ *
1189
+ * This source code is licensed under the ISC license.
1190
+ * See the LICENSE file in the root directory of this source tree.
1191
+ */
1192
+ const Ft = e("package-minus", [
1193
+ ["path", { d: "M12 22V12", key: "d0xqtd" }],
1194
+ ["path", { d: "M16 17h6", key: "1ook5g" }],
1195
+ [
1196
+ "path",
1197
+ {
1198
+ d: "M21 13V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.729l7 4a2 2 0 0 0 2 .001l1.675-.955",
1199
+ key: "zu9avd"
1200
+ }
1201
+ ],
1202
+ ["path", { d: "M3.29 7 12 12l8.71-5", key: "19ckod" }],
1203
+ ["path", { d: "m7.5 4.27 8.997 5.148", key: "9yrvtv" }]
1204
+ ]);
1205
+ /**
1206
+ * @license lucide-vue-next v0.577.0 - ISC
1207
+ *
1208
+ * This source code is licensed under the ISC license.
1209
+ * See the LICENSE file in the root directory of this source tree.
1210
+ */
1211
+ const Dt = e("package-open", [
1212
+ ["path", { d: "M12 22v-9", key: "x3hkom" }],
1213
+ [
1214
+ "path",
1215
+ {
1216
+ d: "M15.17 2.21a1.67 1.67 0 0 1 1.63 0L21 4.57a1.93 1.93 0 0 1 0 3.36L8.82 14.79a1.655 1.655 0 0 1-1.64 0L3 12.43a1.93 1.93 0 0 1 0-3.36z",
1217
+ key: "2ntwy6"
1218
+ }
1219
+ ],
1220
+ [
1221
+ "path",
1222
+ {
1223
+ d: "M20 13v3.87a2.06 2.06 0 0 1-1.11 1.83l-6 3.08a1.93 1.93 0 0 1-1.78 0l-6-3.08A2.06 2.06 0 0 1 4 16.87V13",
1224
+ key: "1pmm1c"
1225
+ }
1226
+ ],
1227
+ [
1228
+ "path",
1229
+ {
1230
+ d: "M21 12.43a1.93 1.93 0 0 0 0-3.36L8.83 2.2a1.64 1.64 0 0 0-1.63 0L3 4.57a1.93 1.93 0 0 0 0 3.36l12.18 6.86a1.636 1.636 0 0 0 1.63 0z",
1231
+ key: "12ttoo"
1232
+ }
1233
+ ]
1234
+ ]);
1235
+ /**
1236
+ * @license lucide-vue-next v0.577.0 - ISC
1237
+ *
1238
+ * This source code is licensed under the ISC license.
1239
+ * See the LICENSE file in the root directory of this source tree.
1240
+ */
1241
+ const Ot = e("package-plus", [
1242
+ ["path", { d: "M12 22V12", key: "d0xqtd" }],
1243
+ ["path", { d: "M16 17h6", key: "1ook5g" }],
1244
+ ["path", { d: "M19 14v6", key: "1ckrd5" }],
1245
+ [
1246
+ "path",
1247
+ {
1248
+ d: "M21 10.535V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.729l7 4a2 2 0 0 0 2 .001l1.675-.955",
1249
+ key: "28k6lz"
1250
+ }
1251
+ ],
1252
+ ["path", { d: "M3.29 7 12 12l8.71-5", key: "19ckod" }],
1253
+ ["path", { d: "m7.5 4.27 8.997 5.148", key: "9yrvtv" }]
1254
+ ]);
1255
+ /**
1256
+ * @license lucide-vue-next v0.577.0 - ISC
1257
+ *
1258
+ * This source code is licensed under the ISC license.
1259
+ * See the LICENSE file in the root directory of this source tree.
1260
+ */
1261
+ const Et = e("play", [
1262
+ [
1263
+ "path",
1264
+ {
1265
+ d: "M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",
1266
+ key: "10ikf1"
1267
+ }
1268
+ ]
1269
+ ]);
1270
+ /**
1271
+ * @license lucide-vue-next v0.577.0 - ISC
1272
+ *
1273
+ * This source code is licensed under the ISC license.
1274
+ * See the LICENSE file in the root directory of this source tree.
1275
+ */
1276
+ const Zt = e("radar", [
1277
+ ["path", { d: "M19.07 4.93A10 10 0 0 0 6.99 3.34", key: "z3du51" }],
1278
+ ["path", { d: "M4 6h.01", key: "oypzma" }],
1279
+ ["path", { d: "M2.29 9.62A10 10 0 1 0 21.31 8.35", key: "qzzz0" }],
1280
+ ["path", { d: "M16.24 7.76A6 6 0 1 0 8.23 16.67", key: "1yjesh" }],
1281
+ ["path", { d: "M12 18h.01", key: "mhygvu" }],
1282
+ ["path", { d: "M17.99 11.66A6 6 0 0 1 15.77 16.67", key: "1u2y91" }],
1283
+ ["circle", { cx: "12", cy: "12", r: "2", key: "1c9p78" }],
1284
+ ["path", { d: "m13.41 10.59 5.66-5.66", key: "mhq4k0" }]
1285
+ ]);
1286
+ /**
1287
+ * @license lucide-vue-next v0.577.0 - ISC
1288
+ *
1289
+ * This source code is licensed under the ISC license.
1290
+ * See the LICENSE file in the root directory of this source tree.
1291
+ */
1292
+ const Rt = e("route", [
1293
+ ["circle", { cx: "6", cy: "19", r: "3", key: "1kj8tv" }],
1294
+ ["path", { d: "M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15", key: "1d8sl" }],
1295
+ ["circle", { cx: "18", cy: "5", r: "3", key: "gq8acd" }]
1296
+ ]);
1297
+ /**
1298
+ * @license lucide-vue-next v0.577.0 - ISC
1299
+ *
1300
+ * This source code is licensed under the ISC license.
1301
+ * See the LICENSE file in the root directory of this source tree.
1302
+ */
1303
+ const Xt = e("ruler", [
1304
+ [
1305
+ "path",
1306
+ {
1307
+ d: "M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",
1308
+ key: "icamh8"
1309
+ }
1310
+ ],
1311
+ ["path", { d: "m14.5 12.5 2-2", key: "inckbg" }],
1312
+ ["path", { d: "m11.5 9.5 2-2", key: "fmmyf7" }],
1313
+ ["path", { d: "m8.5 6.5 2-2", key: "vc6u1g" }],
1314
+ ["path", { d: "m17.5 15.5 2-2", key: "wo5hmg" }]
1315
+ ]);
1316
+ /**
1317
+ * @license lucide-vue-next v0.577.0 - ISC
1318
+ *
1319
+ * This source code is licensed under the ISC license.
1320
+ * See the LICENSE file in the root directory of this source tree.
1321
+ */
1322
+ const Ut = e("scale", [
1323
+ ["path", { d: "M12 3v18", key: "108xh3" }],
1324
+ ["path", { d: "m19 8 3 8a5 5 0 0 1-6 0zV7", key: "zcdpyk" }],
1325
+ ["path", { d: "M3 7h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1", key: "1yorad" }],
1326
+ ["path", { d: "m5 8 3 8a5 5 0 0 1-6 0zV7", key: "eua70x" }],
1327
+ ["path", { d: "M7 21h10", key: "1b0cd5" }]
1328
+ ]);
1329
+ /**
1330
+ * @license lucide-vue-next v0.577.0 - ISC
1331
+ *
1332
+ * This source code is licensed under the ISC license.
1333
+ * See the LICENSE file in the root directory of this source tree.
1334
+ */
1335
+ const Gt = e("scan-eye", [
1336
+ ["path", { d: "M3 7V5a2 2 0 0 1 2-2h2", key: "aa7l1z" }],
1337
+ ["path", { d: "M17 3h2a2 2 0 0 1 2 2v2", key: "4qcy5o" }],
1338
+ ["path", { d: "M21 17v2a2 2 0 0 1-2 2h-2", key: "6vwrx8" }],
1339
+ ["path", { d: "M7 21H5a2 2 0 0 1-2-2v-2", key: "ioqczr" }],
1340
+ ["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
1341
+ [
1342
+ "path",
1343
+ {
1344
+ d: "M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0",
1345
+ key: "11ak4c"
1346
+ }
1347
+ ]
1348
+ ]);
1349
+ /**
1350
+ * @license lucide-vue-next v0.577.0 - ISC
1351
+ *
1352
+ * This source code is licensed under the ISC license.
1353
+ * See the LICENSE file in the root directory of this source tree.
1354
+ */
1355
+ const Yt = e("scan-search", [
1356
+ ["path", { d: "M3 7V5a2 2 0 0 1 2-2h2", key: "aa7l1z" }],
1357
+ ["path", { d: "M17 3h2a2 2 0 0 1 2 2v2", key: "4qcy5o" }],
1358
+ ["path", { d: "M21 17v2a2 2 0 0 1-2 2h-2", key: "6vwrx8" }],
1359
+ ["path", { d: "M7 21H5a2 2 0 0 1-2-2v-2", key: "ioqczr" }],
1360
+ ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }],
1361
+ ["path", { d: "m16 16-1.9-1.9", key: "1dq9hf" }]
1362
+ ]);
1363
+ /**
1364
+ * @license lucide-vue-next v0.577.0 - ISC
1365
+ *
1366
+ * This source code is licensed under the ISC license.
1367
+ * See the LICENSE file in the root directory of this source tree.
1368
+ */
1369
+ const Wt = e("scan-text", [
1370
+ ["path", { d: "M3 7V5a2 2 0 0 1 2-2h2", key: "aa7l1z" }],
1371
+ ["path", { d: "M17 3h2a2 2 0 0 1 2 2v2", key: "4qcy5o" }],
1372
+ ["path", { d: "M21 17v2a2 2 0 0 1-2 2h-2", key: "6vwrx8" }],
1373
+ ["path", { d: "M7 21H5a2 2 0 0 1-2-2v-2", key: "ioqczr" }],
1374
+ ["path", { d: "M7 8h8", key: "1jbsf9" }],
1375
+ ["path", { d: "M7 12h10", key: "b7w52i" }],
1376
+ ["path", { d: "M7 16h6", key: "1vyc9m" }]
1377
+ ]);
1378
+ /**
1379
+ * @license lucide-vue-next v0.577.0 - ISC
1380
+ *
1381
+ * This source code is licensed under the ISC license.
1382
+ * See the LICENSE file in the root directory of this source tree.
1383
+ */
1384
+ const Jt = e("scissors", [
1385
+ ["circle", { cx: "6", cy: "6", r: "3", key: "1lh9wr" }],
1386
+ ["path", { d: "M8.12 8.12 12 12", key: "1alkpv" }],
1387
+ ["path", { d: "M20 4 8.12 15.88", key: "xgtan2" }],
1388
+ ["circle", { cx: "6", cy: "18", r: "3", key: "fqmcym" }],
1389
+ ["path", { d: "M14.8 14.8 20 20", key: "ptml3r" }]
1390
+ ]);
1391
+ /**
1392
+ * @license lucide-vue-next v0.577.0 - ISC
1393
+ *
1394
+ * This source code is licensed under the ISC license.
1395
+ * See the LICENSE file in the root directory of this source tree.
1396
+ */
1397
+ const Kt = e("search", [
1398
+ ["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
1399
+ ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
1400
+ ]);
1401
+ /**
1402
+ * @license lucide-vue-next v0.577.0 - ISC
1403
+ *
1404
+ * This source code is licensed under the ISC license.
1405
+ * See the LICENSE file in the root directory of this source tree.
1406
+ */
1407
+ const Qt = e("settings", [
1408
+ [
1409
+ "path",
1410
+ {
1411
+ d: "M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",
1412
+ key: "1i5ecw"
1413
+ }
1414
+ ],
1415
+ ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
1416
+ ]);
1417
+ /**
1418
+ * @license lucide-vue-next v0.577.0 - ISC
1419
+ *
1420
+ * This source code is licensed under the ISC license.
1421
+ * See the LICENSE file in the root directory of this source tree.
1422
+ */
1423
+ const ea = e("shield-check", [
1424
+ [
1425
+ "path",
1426
+ {
1427
+ d: "M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",
1428
+ key: "oel41y"
1429
+ }
1430
+ ],
1431
+ ["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
1432
+ ]);
1433
+ /**
1434
+ * @license lucide-vue-next v0.577.0 - ISC
1435
+ *
1436
+ * This source code is licensed under the ISC license.
1437
+ * See the LICENSE file in the root directory of this source tree.
1438
+ */
1439
+ const ta = e("shuffle", [
1440
+ ["path", { d: "m18 14 4 4-4 4", key: "10pe0f" }],
1441
+ ["path", { d: "m18 2 4 4-4 4", key: "pucp1d" }],
1442
+ ["path", { d: "M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22", key: "1ailkh" }],
1443
+ ["path", { d: "M2 6h1.972a4 4 0 0 1 3.6 2.2", key: "km57vx" }],
1444
+ ["path", { d: "M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45", key: "os18l9" }]
1445
+ ]);
1446
+ /**
1447
+ * @license lucide-vue-next v0.577.0 - ISC
1448
+ *
1449
+ * This source code is licensed under the ISC license.
1450
+ * See the LICENSE file in the root directory of this source tree.
1451
+ */
1452
+ const aa = e("sparkles", [
1453
+ [
1454
+ "path",
1455
+ {
1456
+ d: "M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",
1457
+ key: "1s2grr"
1458
+ }
1459
+ ],
1460
+ ["path", { d: "M20 2v4", key: "1rf3ol" }],
1461
+ ["path", { d: "M22 4h-4", key: "gwowj6" }],
1462
+ ["circle", { cx: "4", cy: "20", r: "2", key: "6kqj1y" }]
1463
+ ]);
1464
+ /**
1465
+ * @license lucide-vue-next v0.577.0 - ISC
1466
+ *
1467
+ * This source code is licensed under the ISC license.
1468
+ * See the LICENSE file in the root directory of this source tree.
1469
+ */
1470
+ const oa = e("split", [
1471
+ ["path", { d: "M16 3h5v5", key: "1806ms" }],
1472
+ ["path", { d: "M8 3H3v5", key: "15dfkv" }],
1473
+ ["path", { d: "M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3", key: "1qrqzj" }],
1474
+ ["path", { d: "m15 9 6-6", key: "ko1vev" }]
1475
+ ]);
1476
+ /**
1477
+ * @license lucide-vue-next v0.577.0 - ISC
1478
+ *
1479
+ * This source code is licensed under the ISC license.
1480
+ * See the LICENSE file in the root directory of this source tree.
1481
+ */
1482
+ const na = e("tag", [
1483
+ [
1484
+ "path",
1485
+ {
1486
+ d: "M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",
1487
+ key: "vktsd0"
1488
+ }
1489
+ ],
1490
+ ["circle", { cx: "7.5", cy: "7.5", r: ".5", fill: "currentColor", key: "kqv944" }]
1491
+ ]);
1492
+ /**
1493
+ * @license lucide-vue-next v0.577.0 - ISC
1494
+ *
1495
+ * This source code is licensed under the ISC license.
1496
+ * See the LICENSE file in the root directory of this source tree.
1497
+ */
1498
+ const ia = e("tags", [
1499
+ [
1500
+ "path",
1501
+ {
1502
+ d: "M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z",
1503
+ key: "16rjxf"
1504
+ }
1505
+ ],
1506
+ [
1507
+ "path",
1508
+ { d: "M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193", key: "178nd4" }
1509
+ ],
1510
+ ["circle", { cx: "10.5", cy: "6.5", r: ".5", fill: "currentColor", key: "12ikhr" }]
1511
+ ]);
1512
+ /**
1513
+ * @license lucide-vue-next v0.577.0 - ISC
1514
+ *
1515
+ * This source code is licensed under the ISC license.
1516
+ * See the LICENSE file in the root directory of this source tree.
1517
+ */
1518
+ const sa = e("terminal", [
1519
+ ["path", { d: "M12 19h8", key: "baeox8" }],
1520
+ ["path", { d: "m4 17 6-6-6-6", key: "1yngyt" }]
1521
+ ]);
1522
+ /**
1523
+ * @license lucide-vue-next v0.577.0 - ISC
1524
+ *
1525
+ * This source code is licensed under the ISC license.
1526
+ * See the LICENSE file in the root directory of this source tree.
1527
+ */
1528
+ const ca = e("text-cursor-input", [
1529
+ ["path", { d: "M12 20h-1a2 2 0 0 1-2-2 2 2 0 0 1-2 2H6", key: "1528k5" }],
1530
+ ["path", { d: "M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7", key: "13ksps" }],
1531
+ ["path", { d: "M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1", key: "1n9rhb" }],
1532
+ ["path", { d: "M6 4h1a2 2 0 0 1 2 2 2 2 0 0 1 2-2h1", key: "1mj8rg" }],
1533
+ ["path", { d: "M9 6v12", key: "velyjx" }]
1534
+ ]);
1535
+ /**
1536
+ * @license lucide-vue-next v0.577.0 - ISC
1537
+ *
1538
+ * This source code is licensed under the ISC license.
1539
+ * See the LICENSE file in the root directory of this source tree.
1540
+ */
1541
+ const da = e("trash-2", [
1542
+ ["path", { d: "M10 11v6", key: "nco0om" }],
1543
+ ["path", { d: "M14 11v6", key: "outv1u" }],
1544
+ ["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
1545
+ ["path", { d: "M3 6h18", key: "d0wm0j" }],
1546
+ ["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2", key: "e791ji" }]
1547
+ ]);
1548
+ /**
1549
+ * @license lucide-vue-next v0.577.0 - ISC
1550
+ *
1551
+ * This source code is licensed under the ISC license.
1552
+ * See the LICENSE file in the root directory of this source tree.
1553
+ */
1554
+ const la = e("triangle-alert", [
1555
+ [
1556
+ "path",
1557
+ {
1558
+ d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",
1559
+ key: "wmoenq"
1560
+ }
1561
+ ],
1562
+ ["path", { d: "M12 9v4", key: "juzpu7" }],
1563
+ ["path", { d: "M12 17h.01", key: "p32p05" }]
1564
+ ]);
1565
+ /**
1566
+ * @license lucide-vue-next v0.577.0 - ISC
1567
+ *
1568
+ * This source code is licensed under the ISC license.
1569
+ * See the LICENSE file in the root directory of this source tree.
1570
+ */
1571
+ const ra = e("trophy", [
1572
+ ["path", { d: "M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978", key: "1n3hpd" }],
1573
+ ["path", { d: "M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978", key: "rfe1zi" }],
1574
+ ["path", { d: "M18 9h1.5a1 1 0 0 0 0-5H18", key: "7xy6bh" }],
1575
+ ["path", { d: "M4 22h16", key: "57wxv0" }],
1576
+ ["path", { d: "M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z", key: "1mhfuq" }],
1577
+ ["path", { d: "M6 9H4.5a1 1 0 0 1 0-5H6", key: "tex48p" }]
1578
+ ]);
1579
+ /**
1580
+ * @license lucide-vue-next v0.577.0 - ISC
1581
+ *
1582
+ * This source code is licensed under the ISC license.
1583
+ * See the LICENSE file in the root directory of this source tree.
1584
+ */
1585
+ const ha = e("video", [
1586
+ [
1587
+ "path",
1588
+ {
1589
+ d: "m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",
1590
+ key: "ftymec"
1591
+ }
1592
+ ],
1593
+ ["rect", { x: "2", y: "6", width: "14", height: "12", rx: "2", key: "158x01" }]
1594
+ ]);
1595
+ /**
1596
+ * @license lucide-vue-next v0.577.0 - ISC
1597
+ *
1598
+ * This source code is licensed under the ISC license.
1599
+ * See the LICENSE file in the root directory of this source tree.
1600
+ */
1601
+ const ya = e("wand-sparkles", [
1602
+ [
1603
+ "path",
1604
+ {
1605
+ d: "m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",
1606
+ key: "ul74o6"
1607
+ }
1608
+ ],
1609
+ ["path", { d: "m14 7 3 3", key: "1r5n42" }],
1610
+ ["path", { d: "M5 6v4", key: "ilb8ba" }],
1611
+ ["path", { d: "M19 14v4", key: "blhpug" }],
1612
+ ["path", { d: "M10 2v2", key: "7u0qdc" }],
1613
+ ["path", { d: "M7 8H3", key: "zfb6yr" }],
1614
+ ["path", { d: "M21 16h-4", key: "1cnmox" }],
1615
+ ["path", { d: "M11 3H9", key: "1obp7u" }]
1616
+ ]);
1617
+ /**
1618
+ * @license lucide-vue-next v0.577.0 - ISC
1619
+ *
1620
+ * This source code is licensed under the ISC license.
1621
+ * See the LICENSE file in the root directory of this source tree.
1622
+ */
1623
+ const pa = e("webhook", [
1624
+ [
1625
+ "path",
1626
+ {
1627
+ d: "M18 16.98h-5.99c-1.1 0-1.95.94-2.48 1.9A4 4 0 0 1 2 17c.01-.7.2-1.4.57-2",
1628
+ key: "q3hayz"
1629
+ }
1630
+ ],
1631
+ ["path", { d: "m6 17 3.13-5.78c.53-.97.1-2.18-.5-3.1a4 4 0 1 1 6.89-4.06", key: "1go1hn" }],
1632
+ ["path", { d: "m12 6 3.13 5.73C15.66 12.7 16.9 13 18 13a4 4 0 0 1 0 8", key: "qlwsc0" }]
1633
+ ]), ka = [
1634
+ "archive",
1635
+ "archive-restore",
1636
+ "arrow-down-to-line",
1637
+ "badge-check",
1638
+ "bot",
1639
+ "box",
1640
+ "brain",
1641
+ "brain-circuit",
1642
+ "chart-column",
1643
+ "clipboard-check",
1644
+ "clock-3",
1645
+ "cloud-download",
1646
+ "combine",
1647
+ "copy",
1648
+ "cpu",
1649
+ "crop",
1650
+ "crosshair",
1651
+ "database",
1652
+ "download",
1653
+ "eye",
1654
+ "file-down",
1655
+ "files",
1656
+ "film",
1657
+ "folder-plus",
1658
+ "folder-root",
1659
+ "folder-sync",
1660
+ "funnel",
1661
+ "gallery-vertical-end",
1662
+ "gauge",
1663
+ "git-branch",
1664
+ "git-merge",
1665
+ "hard-drive-download",
1666
+ "hard-drive-upload",
1667
+ "history",
1668
+ "image",
1669
+ "image-plus",
1670
+ "image-up",
1671
+ "images",
1672
+ "layers",
1673
+ "list-checks",
1674
+ "loader-circle",
1675
+ "mail",
1676
+ "moon",
1677
+ "move-right",
1678
+ "octagon-x",
1679
+ "package-minus",
1680
+ "package-open",
1681
+ "package-plus",
1682
+ "play",
1683
+ "radar",
1684
+ "route",
1685
+ "ruler",
1686
+ "scale",
1687
+ "scan-eye",
1688
+ "scan-search",
1689
+ "scan-text",
1690
+ "scissors",
1691
+ "search",
1692
+ "settings",
1693
+ "shield-check",
1694
+ "shuffle",
1695
+ "sparkles",
1696
+ "split",
1697
+ "tag",
1698
+ "tags",
1699
+ "terminal",
1700
+ "text-cursor-input",
1701
+ "trash-2",
1702
+ "triangle-alert",
1703
+ "trophy",
1704
+ "video",
1705
+ "wand-sparkles",
1706
+ "webhook"
1707
+ ], $a = Object.freeze(ka), ua = Object.freeze({
1708
+ archive: We,
1709
+ "archive-restore": Ye,
1710
+ "arrow-down-to-line": Je,
1711
+ "badge-check": Ke,
1712
+ bot: Qe,
1713
+ box: et,
1714
+ brain: at,
1715
+ "brain-circuit": tt,
1716
+ "chart-column": ot,
1717
+ "clipboard-check": nt,
1718
+ "clock-3": it,
1719
+ "cloud-download": st,
1720
+ combine: ct,
1721
+ copy: dt,
1722
+ cpu: lt,
1723
+ crop: rt,
1724
+ crosshair: ht,
1725
+ database: yt,
1726
+ download: pt,
1727
+ eye: kt,
1728
+ "file-down": ut,
1729
+ files: mt,
1730
+ film: vt,
1731
+ "folder-plus": wt,
1732
+ "folder-root": gt,
1733
+ "folder-sync": ft,
1734
+ funnel: Mt,
1735
+ "gallery-vertical-end": xt,
1736
+ gauge: bt,
1737
+ "git-branch": zt,
1738
+ "git-merge": _t,
1739
+ "hard-drive-download": Ht,
1740
+ "hard-drive-upload": Vt,
1741
+ history: At,
1742
+ image: $t,
1743
+ "image-plus": qt,
1744
+ "image-up": Ct,
1745
+ images: Lt,
1746
+ layers: Pt,
1747
+ "list-checks": It,
1748
+ "loader-circle": Tt,
1749
+ mail: jt,
1750
+ moon: St,
1751
+ "move-right": Bt,
1752
+ "octagon-x": Nt,
1753
+ "package-minus": Ft,
1754
+ "package-open": Dt,
1755
+ "package-plus": Ot,
1756
+ play: Et,
1757
+ radar: Zt,
1758
+ route: Rt,
1759
+ ruler: Xt,
1760
+ scale: Ut,
1761
+ "scan-eye": Gt,
1762
+ "scan-search": Yt,
1763
+ "scan-text": Wt,
1764
+ scissors: Jt,
1765
+ search: Kt,
1766
+ settings: Qt,
1767
+ "shield-check": ea,
1768
+ shuffle: ta,
1769
+ sparkles: aa,
1770
+ split: oa,
1771
+ tag: na,
1772
+ tags: ia,
1773
+ terminal: sa,
1774
+ "text-cursor-input": ca,
1775
+ "trash-2": da,
1776
+ "triangle-alert": la,
1777
+ trophy: ra,
1778
+ video: ha,
1779
+ "wand-sparkles": ya,
1780
+ webhook: pa
1781
+ }), ma = { class: "ob-flow-preview" }, va = ["viewBox"], wa = ["d"], ga = ["x", "y"], fa = ["x", "y"], Ma = ["href", "x", "y"], xa = ["x", "y"], ba = ["x", "y"], N = 260, F = 100, D = 140, za = 140, R = 48, O = 26, La = /* @__PURE__ */ E({
421
1782
  __name: "FlowPreview",
422
1783
  props: {
423
1784
  preview: {},
424
- icons: { default: () => ({}) },
1785
+ icons: { default: () => ua },
425
1786
  iconUrl: { type: Function, default: void 0 }
426
1787
  },
427
- setup(o) {
428
- const u = o, _ = T(() => {
429
- var t, a;
430
- const h = ((t = u.preview) == null ? void 0 : t.n) ?? [], g = new Map(h.map((m) => [m.id, { x: m.x, y: m.y }]));
431
- for (let m = 0; m < h.length; m += 1)
432
- for (const M of ((a = u.preview) == null ? void 0 : a.e) ?? []) {
433
- const I = g.get(M.s), B = g.get(M.t);
434
- I && B && Math.abs(I.x - B.x) < We && (B.x = I.x);
1788
+ setup(t) {
1789
+ const n = t, v = C(() => {
1790
+ var o, c;
1791
+ const k = ((o = n.preview) == null ? void 0 : o.n) ?? [], b = new Map(k.map((w) => [w.id, { x: w.x, y: w.y }]));
1792
+ for (let w = 0; w < k.length; w += 1)
1793
+ for (const _ of ((c = n.preview) == null ? void 0 : c.e) ?? []) {
1794
+ const $ = b.get(_.s), L = b.get(_.t);
1795
+ $ && L && Math.abs($.x - L.x) < za && (L.x = $.x);
435
1796
  }
436
- return h.map((m) => ({
437
- ...m,
438
- ...g.get(m.id) ?? { x: m.x, y: m.y }
1797
+ return k.map((w) => ({
1798
+ ...w,
1799
+ ...b.get(w.id) ?? { x: w.x, y: w.y }
439
1800
  }));
440
- }), N = T(() => {
441
- const h = _.value;
442
- if (h.length === 0) return "0 0 1 1";
443
- let g = 1 / 0, t = 1 / 0, a = -1 / 0, m = -1 / 0;
444
- for (const M of h)
445
- g = Math.min(g, M.x), t = Math.min(t, M.y), a = Math.max(a, M.x + L), m = Math.max(m, M.y + O);
446
- return `${g - D} ${t - D} ${a - g + D * 2} ${m - t + D * 2}`;
447
- }), c = T(
448
- () => new Map(_.value.map((h) => [h.id, h]))
1801
+ }), x = C(() => {
1802
+ const k = v.value;
1803
+ if (k.length === 0) return "0 0 1 1";
1804
+ let b = 1 / 0, o = 1 / 0, c = -1 / 0, w = -1 / 0;
1805
+ for (const _ of k)
1806
+ b = Math.min(b, _.x), o = Math.min(o, _.y), c = Math.max(c, _.x + N), w = Math.max(w, _.y + F);
1807
+ return `${b - D} ${o - D} ${c - b + D * 2} ${w - o + D * 2}`;
1808
+ }), r = C(
1809
+ () => new Map(v.value.map((k) => [k.id, k]))
449
1810
  );
450
- function d(h, g) {
451
- const t = c.value.get(h), a = c.value.get(g);
452
- if (!t || !a) return "";
453
- const m = t.x + L / 2, M = t.y + O / 2, I = a.x + L / 2, B = a.y + O / 2;
454
- return `M ${m} ${M} L ${I} ${B}`;
455
- }
456
- return (h, g) => (n(), i("div", Oe, [
457
- o.preview && o.preview.n.length > 0 ? (n(), i("svg", {
1811
+ function y(k, b) {
1812
+ const o = r.value.get(k), c = r.value.get(b);
1813
+ if (!o || !c) return "";
1814
+ const w = o.x + N / 2, _ = o.y + F / 2, $ = c.x + N / 2, L = c.y + F / 2;
1815
+ return `M ${w} ${_} L ${$} ${L}`;
1816
+ }
1817
+ return (k, b) => (i(), l("div", ma, [
1818
+ t.preview && t.preview.n.length > 0 ? (i(), l("svg", {
458
1819
  key: 0,
459
1820
  class: "ob-flow-preview__svg",
460
- viewBox: N.value,
1821
+ viewBox: x.value,
461
1822
  preserveAspectRatio: "xMidYMid meet"
462
1823
  }, [
463
- (n(!0), i(P, null, F(o.preview.e, (t, a) => (n(), i("path", {
464
- key: a,
465
- d: d(t.s, t.t),
1824
+ (i(!0), l(q, null, S(t.preview.e, (o, c) => (i(), l("path", {
1825
+ key: c,
1826
+ d: y(o.s, o.t),
466
1827
  class: "ob-flow-preview__edge",
467
1828
  "vector-effect": "non-scaling-stroke"
468
- }, null, 8, Ee))), 128)),
469
- (n(!0), i(P, null, F(_.value, (t) => (n(), i("rect", {
470
- key: t.id,
471
- x: t.x,
472
- y: t.y,
473
- width: L,
474
- height: O,
1829
+ }, null, 8, wa))), 128)),
1830
+ (i(!0), l(q, null, S(v.value, (o) => (i(), l("rect", {
1831
+ key: o.id,
1832
+ x: o.x,
1833
+ y: o.y,
1834
+ width: N,
1835
+ height: F,
475
1836
  rx: "16",
476
1837
  class: "ob-flow-preview__node",
477
1838
  "vector-effect": "non-scaling-stroke"
478
- }, null, 8, Ae))), 128)),
479
- (n(!0), i(P, null, F(_.value, (t) => (n(), i(P, {
480
- key: `content-${t.id}`
1839
+ }, null, 8, ga))), 128)),
1840
+ (i(!0), l(q, null, S(v.value, (o) => (i(), l(q, {
1841
+ key: `content-${o.id}`
481
1842
  }, [
482
- w("rect", {
483
- x: t.x + 18,
484
- y: t.y + 18,
1843
+ m("rect", {
1844
+ x: o.x + 18,
1845
+ y: o.y + 18,
485
1846
  width: "64",
486
1847
  height: "64",
487
1848
  rx: "16",
488
1849
  class: "ob-flow-preview__icon-background",
489
- style: S(t.c ? { fill: t.c } : void 0)
490
- }, null, 12, Re),
491
- t.i && o.icons[t.i] ? (n(), H(ae(o.icons[t.i]), {
1850
+ style: B(o.c ? { fill: o.c } : void 0)
1851
+ }, null, 12, fa),
1852
+ o.i && t.icons[o.i] ? (i(), A(he(t.icons[o.i]), {
492
1853
  key: 0,
493
- x: t.x + E,
494
- y: t.y + E,
495
- size: X,
1854
+ x: o.x + O,
1855
+ y: o.y + O,
1856
+ size: R,
496
1857
  color: "white",
497
1858
  "stroke-width": 2.5,
498
1859
  "aria-hidden": "true"
499
- }, null, 8, ["x", "y"])) : t.i && o.iconUrl ? (n(), i("image", {
1860
+ }, null, 8, ["x", "y"])) : o.i && t.iconUrl ? (i(), l("image", {
500
1861
  key: 1,
501
- href: o.iconUrl(t.i),
502
- x: t.x + E,
503
- y: t.y + E,
504
- width: X,
505
- height: X
506
- }, null, 8, Xe)) : (n(), i("text", {
1862
+ href: t.iconUrl(o.i),
1863
+ x: o.x + O,
1864
+ y: o.y + O,
1865
+ width: R,
1866
+ height: R
1867
+ }, null, 8, Ma)) : (i(), l("text", {
507
1868
  key: 2,
508
- x: t.x + 50,
509
- y: t.y + 68,
1869
+ x: o.x + 50,
1870
+ y: o.y + 68,
510
1871
  fill: "white",
511
1872
  "font-size": "42",
512
1873
  "font-family": "sans-serif",
513
1874
  "text-anchor": "middle"
514
- }, " * ", 8, Ze)),
515
- w("rect", {
516
- x: t.x + 100,
517
- y: t.y + 45,
1875
+ }, " * ", 8, xa)),
1876
+ m("rect", {
1877
+ x: o.x + 100,
1878
+ y: o.y + 45,
518
1879
  width: "128",
519
1880
  height: "10",
520
1881
  rx: "5",
521
1882
  class: "ob-flow-preview__line"
522
- }, null, 8, Ye)
1883
+ }, null, 8, ba)
523
1884
  ], 64))), 128))
524
- ], 8, De)) : y("", !0)
1885
+ ], 8, va)) : z("", !0)
525
1886
  ]));
526
1887
  }
527
1888
  });
528
1889
  export {
529
- Qe as FlowPreview,
530
- Je as FlowViewer
1890
+ La as FlowPreview,
1891
+ qa as FlowViewer,
1892
+ $a as nodePreviewIconNames,
1893
+ ua as nodePreviewIcons
531
1894
  };