@ovalbee/flow-viewer 0.0.1 → 0.0.2

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