@altimateai/ui-components 0.0.76 → 0.0.77-beta.1
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.
- package/dist/CoachForm.js +1 -1
- package/dist/Stack.js +53 -27
- package/dist/ToggleGroup.js +2 -2
- package/dist/lineage/index.js +367 -367
- package/dist/main.js +1 -1
- package/dist/shadcn/index.d.ts +24 -12
- package/dist/shadcn/index.js +1 -1
- package/dist/storybook/Typography.stories.tsx +94 -93
- package/package.json +1 -1
package/dist/lineage/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { j as r, g as Cs, h as zr, i as $r, k as g2, c as Wr, b as Ur, l as gs,
|
|
|
5
5
|
import * as g from "react";
|
|
6
6
|
import T, { createContext as It, memo as ce, useMemo as we, forwardRef as A2, useEffect as X, useRef as J, useContext as Ae, useState as se, useCallback as re, useReducer as Gr, useImperativeHandle as qr } from "react";
|
|
7
7
|
import { s as De, o as ws, p as Qe, T as qt, q as Jt, k as Jr, g as ys, A as ue, l as Dt, I as Es, t as Qr, u as ea, m as ta } from "../redux-toolkit.modern.js";
|
|
8
|
-
import { c as Be, Y as t1, Z as vs, _ as
|
|
8
|
+
import { c as Be, Y as t1, Z as vs, _ as _s, B as xe, $ as bs, X as R, a0 as Se, g as Ss, I as m2, T as na, a4 as V2, a5 as Ls, a1 as yt, a8 as sa, M as oa, a9 as ra, aa, N as ia } from "../Stack.js";
|
|
9
9
|
import { createPortal as ot } from "react-dom";
|
|
10
10
|
import { d as la, C as ca, T as da } from "../dayjs.min.js";
|
|
11
11
|
import { I as ua } from "../IconEye.js";
|
|
@@ -57,7 +57,7 @@ const Ea = [["path", { d: "M3 4m0 3a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1
|
|
|
57
57
|
* This source code is licensed under the MIT license.
|
|
58
58
|
* See the LICENSE file in the root directory of this source tree.
|
|
59
59
|
*/
|
|
60
|
-
const
|
|
60
|
+
const _a = [["path", { d: "M3 15m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z", key: "svg-0" }], ["path", { d: "M15 15m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z", key: "svg-1" }], ["path", { d: "M9 3m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z", key: "svg-2" }], ["path", { d: "M6 15v-1a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v1", key: "svg-3" }], ["path", { d: "M12 9l0 3", key: "svg-4" }]], ba = Be("outline", "sitemap", "Sitemap", _a);
|
|
61
61
|
/**
|
|
62
62
|
* @license @tabler/icons-react v3.34.1 - MIT
|
|
63
63
|
*
|
|
@@ -168,7 +168,7 @@ function Fa() {
|
|
|
168
168
|
function Pa() {
|
|
169
169
|
var e = Ia, t = Da, n = Za, s = Fa, o = {}, a = ws("start", "drag", "end"), i = 0, l, c, d, h, C = 0;
|
|
170
170
|
function m(w) {
|
|
171
|
-
w.on("mousedown.drag", f).filter(s).on("touchstart.drag", v).on("touchmove.drag", u, Ta).on("touchend.drag touchcancel.drag",
|
|
171
|
+
w.on("mousedown.drag", f).filter(s).on("touchstart.drag", v).on("touchmove.drag", u, Ta).on("touchend.drag touchcancel.drag", _).style("touch-action", "none").style("-webkit-tap-highlight-color", "rgba(0,0,0,0)");
|
|
172
172
|
}
|
|
173
173
|
function f(w, S) {
|
|
174
174
|
if (!(h || !e.call(this, w, S))) {
|
|
@@ -188,24 +188,24 @@ function Pa() {
|
|
|
188
188
|
}
|
|
189
189
|
function v(w, S) {
|
|
190
190
|
if (e.call(this, w, S)) {
|
|
191
|
-
var j = w.changedTouches,
|
|
191
|
+
var j = w.changedTouches, b = t.call(this, w, S), H = j.length, M, D;
|
|
192
192
|
for (M = 0; M < H; ++M)
|
|
193
|
-
(D = E(this,
|
|
193
|
+
(D = E(this, b, w, S, j[M].identifier, j[M])) && (Qt(w), D("start", w, j[M]));
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
function u(w) {
|
|
197
|
-
var S = w.changedTouches, j = S.length,
|
|
198
|
-
for (
|
|
199
|
-
(H = o[S[
|
|
197
|
+
var S = w.changedTouches, j = S.length, b, H;
|
|
198
|
+
for (b = 0; b < j; ++b)
|
|
199
|
+
(H = o[S[b].identifier]) && (j1(w), H("drag", w, S[b]));
|
|
200
200
|
}
|
|
201
|
-
function
|
|
202
|
-
var S = w.changedTouches, j = S.length,
|
|
201
|
+
function _(w) {
|
|
202
|
+
var S = w.changedTouches, j = S.length, b, H;
|
|
203
203
|
for (h && clearTimeout(h), h = setTimeout(function() {
|
|
204
204
|
h = null;
|
|
205
|
-
}, 500),
|
|
206
|
-
(H = o[S[
|
|
205
|
+
}, 500), b = 0; b < j; ++b)
|
|
206
|
+
(H = o[S[b].identifier]) && (Qt(w), H("end", w, S[b]));
|
|
207
207
|
}
|
|
208
|
-
function E(w, S, j,
|
|
208
|
+
function E(w, S, j, b, H, M) {
|
|
209
209
|
var D = a.copy(), V = ze(M || j, S), $, Z, x;
|
|
210
210
|
if ((x = n.call(w, new p2("beforestart", {
|
|
211
211
|
sourceEvent: j,
|
|
@@ -217,7 +217,7 @@ function Pa() {
|
|
|
217
217
|
dx: 0,
|
|
218
218
|
dy: 0,
|
|
219
219
|
dispatch: D
|
|
220
|
-
}),
|
|
220
|
+
}), b)) != null)
|
|
221
221
|
return $ = x.x - V[0] || 0, Z = x.y - V[1] || 0, function k(N, I, P) {
|
|
222
222
|
var L = V, F;
|
|
223
223
|
switch (N) {
|
|
@@ -245,7 +245,7 @@ function Pa() {
|
|
|
245
245
|
dy: V[1] - L[1],
|
|
246
246
|
dispatch: D
|
|
247
247
|
}),
|
|
248
|
-
|
|
248
|
+
b
|
|
249
249
|
);
|
|
250
250
|
};
|
|
251
251
|
}
|
|
@@ -278,17 +278,17 @@ const za = function e(t, n, s) {
|
|
|
278
278
|
function o(a, i) {
|
|
279
279
|
var l = a[0], c = a[1], d = a[2], h = i[0], C = i[1], m = i[2], f = h - l, p = C - c, y = f * f + p * p, v, u;
|
|
280
280
|
if (y < Ba)
|
|
281
|
-
u = Math.log(m / d) / t, v = function(
|
|
281
|
+
u = Math.log(m / d) / t, v = function(b) {
|
|
282
282
|
return [
|
|
283
|
-
l +
|
|
284
|
-
c +
|
|
285
|
-
d * Math.exp(t *
|
|
283
|
+
l + b * f,
|
|
284
|
+
c + b * p,
|
|
285
|
+
d * Math.exp(t * b * u)
|
|
286
286
|
];
|
|
287
287
|
};
|
|
288
288
|
else {
|
|
289
|
-
var
|
|
290
|
-
u = (j - S) / t, v = function(
|
|
291
|
-
var H =
|
|
289
|
+
var _ = Math.sqrt(y), E = (m * m - d * d + s * y) / (2 * d * n * _), w = (m * m - d * d - s * y) / (2 * m * n * _), S = Math.log(Math.sqrt(E * E + 1) - E), j = Math.log(Math.sqrt(w * w + 1) - w);
|
|
290
|
+
u = (j - S) / t, v = function(b) {
|
|
291
|
+
var H = b * u, M = yn(S), D = d / (n * _) * (M * Ra(t * H + S) - Oa(S));
|
|
292
292
|
return [
|
|
293
293
|
l + D * f,
|
|
294
294
|
c + D * p,
|
|
@@ -364,7 +364,7 @@ function Ga() {
|
|
|
364
364
|
}, u.scaleTo = function(x, k, N, I) {
|
|
365
365
|
u.transform(x, function() {
|
|
366
366
|
var P = t.apply(this, arguments), L = this.__zoom, F = N == null ? w(P) : typeof N == "function" ? N.apply(this, arguments) : N, O = L.invert(F), B = typeof k == "function" ? k.apply(this, arguments) : k;
|
|
367
|
-
return n(E(
|
|
367
|
+
return n(E(_(L, B), F, O), P, i);
|
|
368
368
|
}, N, I);
|
|
369
369
|
}, u.translateBy = function(x, k, N, I) {
|
|
370
370
|
u.transform(x, function() {
|
|
@@ -382,7 +382,7 @@ function Ga() {
|
|
|
382
382
|
), L, i);
|
|
383
383
|
}, I, P);
|
|
384
384
|
};
|
|
385
|
-
function
|
|
385
|
+
function _(x, k) {
|
|
386
386
|
return k = Math.max(a[0], Math.min(a[1], k)), k === x.k ? x : new qt(k, x.x, x.y);
|
|
387
387
|
}
|
|
388
388
|
function E(x, k, N) {
|
|
@@ -410,12 +410,12 @@ function Ga() {
|
|
|
410
410
|
});
|
|
411
411
|
}
|
|
412
412
|
function j(x, k, N) {
|
|
413
|
-
return !N && x.__zooming || new
|
|
413
|
+
return !N && x.__zooming || new b(x, k);
|
|
414
414
|
}
|
|
415
|
-
function
|
|
415
|
+
function b(x, k) {
|
|
416
416
|
this.that = x, this.args = k, this.active = 0, this.sourceEvent = null, this.extent = t.apply(x, k), this.taps = 0;
|
|
417
417
|
}
|
|
418
|
-
|
|
418
|
+
b.prototype = {
|
|
419
419
|
event: function(x) {
|
|
420
420
|
return x && (this.sourceEvent = x), this;
|
|
421
421
|
},
|
|
@@ -453,7 +453,7 @@ function Ga() {
|
|
|
453
453
|
if (I.k === P) return;
|
|
454
454
|
N.mouse = [L, I.invert(L)], Jt(this), N.start();
|
|
455
455
|
}
|
|
456
|
-
W1(x), N.wheel = setTimeout(F, p), N.zoom("mouse", n(E(
|
|
456
|
+
W1(x), N.wheel = setTimeout(F, p), N.zoom("mouse", n(E(_(I, P), N.mouse[0], N.mouse[1]), N.extent, i));
|
|
457
457
|
function F() {
|
|
458
458
|
N.wheel = null, N.end();
|
|
459
459
|
}
|
|
@@ -475,7 +475,7 @@ function Ga() {
|
|
|
475
475
|
}
|
|
476
476
|
function D(x, ...k) {
|
|
477
477
|
if (e.apply(this, arguments)) {
|
|
478
|
-
var N = this.__zoom, I = ze(x.changedTouches ? x.changedTouches[0] : x, this), P = N.invert(I), L = N.k * (x.shiftKey ? 0.5 : 2), F = n(E(
|
|
478
|
+
var N = this.__zoom, I = ze(x.changedTouches ? x.changedTouches[0] : x, this), P = N.invert(I), L = N.k * (x.shiftKey ? 0.5 : 2), F = n(E(_(N, L), I, P), t.apply(this, k), i);
|
|
479
479
|
W1(x), l > 0 ? De(this).transition().duration(l).call(S, F, I, x) : De(this).call(u.transform, F, I, x);
|
|
480
480
|
}
|
|
481
481
|
}
|
|
@@ -496,7 +496,7 @@ function Ga() {
|
|
|
496
496
|
F = I[L], O = ze(F, this), N.touch0 && N.touch0[2] === F.identifier ? N.touch0[0] = O : N.touch1 && N.touch1[2] === F.identifier && (N.touch1[0] = O);
|
|
497
497
|
if (F = N.that.__zoom, N.touch1) {
|
|
498
498
|
var U = N.touch0[0], z = N.touch0[1], W = N.touch1[0], G = N.touch1[1], ee = (ee = W[0] - U[0]) * ee + (ee = W[1] - U[1]) * ee, te = (te = G[0] - z[0]) * te + (te = G[1] - z[1]) * te;
|
|
499
|
-
F =
|
|
499
|
+
F = _(F, Math.sqrt(ee / te)), O = [(U[0] + W[0]) / 2, (U[1] + W[1]) / 2], B = [(z[0] + G[0]) / 2, (z[1] + G[1]) / 2];
|
|
500
500
|
} else if (N.touch0) O = N.touch0[0], B = N.touch0[1];
|
|
501
501
|
else return;
|
|
502
502
|
N.zoom("touch", n(E(F, O, B), N.extent, i));
|
|
@@ -726,9 +726,9 @@ const qa = {
|
|
|
726
726
|
setErrors: Ds,
|
|
727
727
|
setLightdashEnabled: ai,
|
|
728
728
|
setShowCodeModal: ii,
|
|
729
|
-
setRenderTags:
|
|
729
|
+
setRenderTags: _c,
|
|
730
730
|
setConfig: li,
|
|
731
|
-
setClient:
|
|
731
|
+
setClient: bc
|
|
732
732
|
} = vt.actions;
|
|
733
733
|
function Ee(e) {
|
|
734
734
|
if (typeof e == "string" || typeof e == "number") return "" + e;
|
|
@@ -796,9 +796,9 @@ var r2 = {};
|
|
|
796
796
|
* This source code is licensed under the MIT license found in the
|
|
797
797
|
* LICENSE file in the root directory of this source tree.
|
|
798
798
|
*/
|
|
799
|
-
var
|
|
799
|
+
var _n;
|
|
800
800
|
function di() {
|
|
801
|
-
return
|
|
801
|
+
return _n || (_n = 1, process.env.NODE_ENV !== "production" && function() {
|
|
802
802
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
803
803
|
var e = T, t = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
804
804
|
function n(E) {
|
|
@@ -810,8 +810,8 @@ function di() {
|
|
|
810
810
|
}
|
|
811
811
|
function s(E, w, S) {
|
|
812
812
|
{
|
|
813
|
-
var j = t.ReactDebugCurrentFrame,
|
|
814
|
-
|
|
813
|
+
var j = t.ReactDebugCurrentFrame, b = j.getStackAddendum();
|
|
814
|
+
b !== "" && (w += "%s", S = S.concat([b]));
|
|
815
815
|
var H = S.map(function(M) {
|
|
816
816
|
return String(M);
|
|
817
817
|
});
|
|
@@ -826,8 +826,8 @@ function di() {
|
|
|
826
826
|
h || e.startTransition !== void 0 && (h = !0, n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
|
|
827
827
|
var j = w();
|
|
828
828
|
if (!C) {
|
|
829
|
-
var
|
|
830
|
-
a(j,
|
|
829
|
+
var b = w();
|
|
830
|
+
a(j, b) || (n("The result of getSnapshot should be cached to avoid an infinite loop"), C = !0);
|
|
831
831
|
}
|
|
832
832
|
var H = i({
|
|
833
833
|
inst: {
|
|
@@ -863,13 +863,13 @@ function di() {
|
|
|
863
863
|
function p(E, w, S) {
|
|
864
864
|
return w();
|
|
865
865
|
}
|
|
866
|
-
var y = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", v = !y, u = v ? p : m,
|
|
867
|
-
r2.useSyncExternalStore =
|
|
866
|
+
var y = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", v = !y, u = v ? p : m, _ = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : u;
|
|
867
|
+
r2.useSyncExternalStore = _, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
868
868
|
}()), r2;
|
|
869
869
|
}
|
|
870
|
-
var
|
|
870
|
+
var bn;
|
|
871
871
|
function Zs() {
|
|
872
|
-
return
|
|
872
|
+
return bn || (bn = 1, process.env.NODE_ENV === "production" ? dt.exports = ci() : dt.exports = di()), dt.exports;
|
|
873
873
|
}
|
|
874
874
|
/**
|
|
875
875
|
* @license React
|
|
@@ -897,18 +897,18 @@ function ui() {
|
|
|
897
897
|
} else y = p.current;
|
|
898
898
|
p = l(function() {
|
|
899
899
|
function u(j) {
|
|
900
|
-
if (!
|
|
901
|
-
if (
|
|
902
|
-
var
|
|
903
|
-
if (f(
|
|
900
|
+
if (!_) {
|
|
901
|
+
if (_ = !0, E = j, j = m(j), f !== void 0 && y.hasValue) {
|
|
902
|
+
var b = y.value;
|
|
903
|
+
if (f(b, j)) return w = b;
|
|
904
904
|
}
|
|
905
905
|
return w = j;
|
|
906
906
|
}
|
|
907
|
-
if (
|
|
907
|
+
if (b = w, s(E, j)) return b;
|
|
908
908
|
var H = m(j);
|
|
909
|
-
return f !== void 0 && f(
|
|
909
|
+
return f !== void 0 && f(b, H) ? b : (E = j, w = H);
|
|
910
910
|
}
|
|
911
|
-
var
|
|
911
|
+
var _ = !1, E, w, S = C === void 0 ? null : C;
|
|
912
912
|
return [function() {
|
|
913
913
|
return u(h());
|
|
914
914
|
}, S === null ? void 0 : function() {
|
|
@@ -947,29 +947,29 @@ function hi() {
|
|
|
947
947
|
value: null
|
|
948
948
|
}, y.current = v) : v = y.current;
|
|
949
949
|
var u = l(function() {
|
|
950
|
-
var S = !1, j,
|
|
950
|
+
var S = !1, j, b, H = function($) {
|
|
951
951
|
if (!S) {
|
|
952
952
|
S = !0, j = $;
|
|
953
953
|
var Z = f($);
|
|
954
954
|
if (p !== void 0 && v.hasValue) {
|
|
955
955
|
var x = v.value;
|
|
956
956
|
if (p(x, Z))
|
|
957
|
-
return
|
|
957
|
+
return b = x, x;
|
|
958
958
|
}
|
|
959
|
-
return
|
|
959
|
+
return b = Z, Z;
|
|
960
960
|
}
|
|
961
|
-
var k = j, N =
|
|
961
|
+
var k = j, N = b;
|
|
962
962
|
if (s(k, $))
|
|
963
963
|
return N;
|
|
964
964
|
var I = f($);
|
|
965
|
-
return p !== void 0 && p(N, I) ? N : (j = $,
|
|
965
|
+
return p !== void 0 && p(N, I) ? N : (j = $, b = I, I);
|
|
966
966
|
}, M = m === void 0 ? null : m, D = function() {
|
|
967
967
|
return H(C());
|
|
968
968
|
}, V = M === null ? void 0 : function() {
|
|
969
969
|
return H(M());
|
|
970
970
|
};
|
|
971
971
|
return [D, V];
|
|
972
|
-
}, [C, m, f, p]),
|
|
972
|
+
}, [C, m, f, p]), _ = u[0], E = u[1], w = o(h, _, E);
|
|
973
973
|
return i(function() {
|
|
974
974
|
v.hasValue = !0, v.value = w;
|
|
975
975
|
}, [w]), c(w), w;
|
|
@@ -1070,14 +1070,14 @@ function Bs({ position: e, children: t, className: n, style: s, ...o }) {
|
|
|
1070
1070
|
const a = ie(vi), i = `${e}`.split("-");
|
|
1071
1071
|
return T.createElement("div", { className: Ee(["react-flow__panel", n, ...i]), style: { ...s, pointerEvents: a }, ...o }, t);
|
|
1072
1072
|
}
|
|
1073
|
-
function
|
|
1073
|
+
function _i({ proOptions: e, position: t = "bottom-right" }) {
|
|
1074
1074
|
return e != null && e.hideAttribution ? null : T.createElement(
|
|
1075
1075
|
Bs,
|
|
1076
1076
|
{ position: t, className: "react-flow__attribution", "data-message": "Please only hide this attribution when you are subscribed to React Flow Pro: https://reactflow.dev/pro" },
|
|
1077
1077
|
T.createElement("a", { href: "https://reactflow.dev", target: "_blank", rel: "noopener noreferrer", "aria-label": "React Flow attribution" }, "React Flow")
|
|
1078
1078
|
);
|
|
1079
1079
|
}
|
|
1080
|
-
const
|
|
1080
|
+
const bi = ({ x: e, y: t, label: n, labelStyle: s = {}, labelShowBg: o = !0, labelBgStyle: a = {}, labelBgPadding: i = [2, 4], labelBgBorderRadius: l = 2, children: c, className: d, ...h }) => {
|
|
1081
1081
|
const C = J(null), [m, f] = se({ x: 0, y: 0, width: 0, height: 0 }), p = Ee(["react-flow__edge-textwrapper", d]);
|
|
1082
1082
|
return X(() => {
|
|
1083
1083
|
if (C.current) {
|
|
@@ -1097,7 +1097,7 @@ const _i = ({ x: e, y: t, label: n, labelStyle: s = {}, labelShowBg: o = !0, lab
|
|
|
1097
1097
|
c
|
|
1098
1098
|
);
|
|
1099
1099
|
};
|
|
1100
|
-
var Si = ce(
|
|
1100
|
+
var Si = ce(bi);
|
|
1101
1101
|
const I2 = (e) => ({
|
|
1102
1102
|
width: e.offsetWidth,
|
|
1103
1103
|
height: e.offsetHeight
|
|
@@ -1147,7 +1147,7 @@ const Ws = (e) => "clientX" in e, e1 = (e, t) => {
|
|
|
1147
1147
|
x: s - ((t == null ? void 0 : t.left) ?? 0),
|
|
1148
1148
|
y: o - ((t == null ? void 0 : t.top) ?? 0)
|
|
1149
1149
|
};
|
|
1150
|
-
},
|
|
1150
|
+
}, _t = () => {
|
|
1151
1151
|
var e;
|
|
1152
1152
|
return typeof navigator < "u" && ((e = navigator == null ? void 0 : navigator.userAgent) == null ? void 0 : e.indexOf("Mac")) >= 0;
|
|
1153
1153
|
}, F1 = ({ id: e, path: t, labelX: n, labelY: s, label: o, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: c, labelBgBorderRadius: d, style: h, markerEnd: C, markerStart: m, interactionWidth: f = 20 }) => T.createElement(
|
|
@@ -1188,10 +1188,10 @@ var Je;
|
|
|
1188
1188
|
(function(e) {
|
|
1189
1189
|
e.Bezier = "default", e.Straight = "straight", e.Step = "step", e.SmoothStep = "smoothstep", e.SimpleBezier = "simplebezier";
|
|
1190
1190
|
})(Je || (Je = {}));
|
|
1191
|
-
var
|
|
1191
|
+
var bt;
|
|
1192
1192
|
(function(e) {
|
|
1193
1193
|
e.Arrow = "arrow", e.ArrowClosed = "arrowclosed";
|
|
1194
|
-
})(
|
|
1194
|
+
})(bt || (bt = {}));
|
|
1195
1195
|
var Y;
|
|
1196
1196
|
(function(e) {
|
|
1197
1197
|
e.Left = "left", e.Top = "top", e.Right = "right", e.Bottom = "bottom";
|
|
@@ -1231,7 +1231,7 @@ function Ks({ sourceX: e, sourceY: t, sourcePosition: n = Y.Bottom, targetX: s,
|
|
|
1231
1231
|
];
|
|
1232
1232
|
}
|
|
1233
1233
|
const F2 = ce(({ sourceX: e, sourceY: t, targetX: n, targetY: s, sourcePosition: o = Y.Bottom, targetPosition: a = Y.Top, label: i, labelStyle: l, labelShowBg: c, labelBgStyle: d, labelBgPadding: h, labelBgBorderRadius: C, style: m, markerEnd: f, markerStart: p, interactionWidth: y }) => {
|
|
1234
|
-
const [v, u,
|
|
1234
|
+
const [v, u, _] = Ks({
|
|
1235
1235
|
sourceX: e,
|
|
1236
1236
|
sourceY: t,
|
|
1237
1237
|
sourcePosition: o,
|
|
@@ -1239,7 +1239,7 @@ const F2 = ce(({ sourceX: e, sourceY: t, targetX: n, targetY: s, sourcePosition:
|
|
|
1239
1239
|
targetY: s,
|
|
1240
1240
|
targetPosition: a
|
|
1241
1241
|
});
|
|
1242
|
-
return T.createElement(F1, { path: v, labelX: u, labelY:
|
|
1242
|
+
return T.createElement(F1, { path: v, labelX: u, labelY: _, label: i, labelStyle: l, labelShowBg: c, labelBgStyle: d, labelBgPadding: h, labelBgBorderRadius: C, style: m, markerEnd: f, markerStart: p, interactionWidth: y });
|
|
1243
1243
|
});
|
|
1244
1244
|
F2.displayName = "SimpleBezierEdge";
|
|
1245
1245
|
const An = {
|
|
@@ -1255,25 +1255,25 @@ function Hi({ source: e, sourcePosition: t = Y.Bottom, target: n, targetPosition
|
|
|
1255
1255
|
target: d
|
|
1256
1256
|
}), C = h.x !== 0 ? "x" : "y", m = h[C];
|
|
1257
1257
|
let f = [], p, y;
|
|
1258
|
-
const v = { x: 0, y: 0 }, u = { x: 0, y: 0 }, [
|
|
1258
|
+
const v = { x: 0, y: 0 }, u = { x: 0, y: 0 }, [_, E, w, S] = Us({
|
|
1259
1259
|
sourceX: e.x,
|
|
1260
1260
|
sourceY: e.y,
|
|
1261
1261
|
targetX: n.x,
|
|
1262
1262
|
targetY: n.y
|
|
1263
1263
|
});
|
|
1264
1264
|
if (i[C] * l[C] === -1) {
|
|
1265
|
-
p = o.x ??
|
|
1266
|
-
const
|
|
1265
|
+
p = o.x ?? _, y = o.y ?? E;
|
|
1266
|
+
const b = [
|
|
1267
1267
|
{ x: p, y: c.y },
|
|
1268
1268
|
{ x: p, y: d.y }
|
|
1269
1269
|
], H = [
|
|
1270
1270
|
{ x: c.x, y },
|
|
1271
1271
|
{ x: d.x, y }
|
|
1272
1272
|
];
|
|
1273
|
-
i[C] === m ? f = C === "x" ?
|
|
1273
|
+
i[C] === m ? f = C === "x" ? b : H : f = C === "x" ? H : b;
|
|
1274
1274
|
} else {
|
|
1275
|
-
const
|
|
1276
|
-
if (C === "x" ? f = i.x === m ? H :
|
|
1275
|
+
const b = [{ x: c.x, y: d.y }], H = [{ x: d.x, y: c.y }];
|
|
1276
|
+
if (C === "x" ? f = i.x === m ? H : b : f = i.y === m ? b : H, t === s) {
|
|
1277
1277
|
const Z = Math.abs(e[C] - n[C]);
|
|
1278
1278
|
if (Z <= a) {
|
|
1279
1279
|
const x = Math.min(a - 1, a - Z);
|
|
@@ -1282,7 +1282,7 @@ function Hi({ source: e, sourcePosition: t = Y.Bottom, target: n, targetPosition
|
|
|
1282
1282
|
}
|
|
1283
1283
|
if (t !== s) {
|
|
1284
1284
|
const Z = C === "x" ? "y" : "x", x = i[C] === l[Z], k = c[Z] > d[Z], N = c[Z] < d[Z];
|
|
1285
|
-
(i[C] === 1 && (!x && k || x && N) || i[C] !== 1 && (!x && N || x && k)) && (f = C === "x" ?
|
|
1285
|
+
(i[C] === 1 && (!x && k || x && N) || i[C] !== 1 && (!x && N || x && k)) && (f = C === "x" ? b : H);
|
|
1286
1286
|
}
|
|
1287
1287
|
const M = { x: c.x + v.x, y: c.y + v.y }, D = { x: d.x + u.x, y: d.y + u.y }, V = Math.max(Math.abs(M.x - f[0].x), Math.abs(D.x - f[0].x)), $ = Math.max(Math.abs(M.y - f[0].y), Math.abs(D.y - f[0].y));
|
|
1288
1288
|
V >= $ ? (p = (M.x + D.x) / 2, y = f[0].y) : (p = f[0].x, y = (M.y + D.y) / 2);
|
|
@@ -1315,13 +1315,13 @@ function E2({ sourceX: e, sourceY: t, sourcePosition: n = Y.Bottom, targetX: s,
|
|
|
1315
1315
|
center: { x: l, y: c },
|
|
1316
1316
|
offset: d
|
|
1317
1317
|
});
|
|
1318
|
-
return [h.reduce((v, u,
|
|
1318
|
+
return [h.reduce((v, u, _) => {
|
|
1319
1319
|
let E = "";
|
|
1320
|
-
return
|
|
1320
|
+
return _ > 0 && _ < h.length - 1 ? E = Ai(h[_ - 1], u, h[_ + 1], i) : E = `${_ === 0 ? "M" : "L"}${u.x} ${u.y}`, v += E, v;
|
|
1321
1321
|
}, ""), C, m, f, p];
|
|
1322
1322
|
}
|
|
1323
1323
|
const Ft = ce(({ sourceX: e, sourceY: t, targetX: n, targetY: s, label: o, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: c, labelBgBorderRadius: d, style: h, sourcePosition: C = Y.Bottom, targetPosition: m = Y.Top, markerEnd: f, markerStart: p, pathOptions: y, interactionWidth: v }) => {
|
|
1324
|
-
const [u,
|
|
1324
|
+
const [u, _, E] = E2({
|
|
1325
1325
|
sourceX: e,
|
|
1326
1326
|
sourceY: t,
|
|
1327
1327
|
sourcePosition: C,
|
|
@@ -1331,7 +1331,7 @@ const Ft = ce(({ sourceX: e, sourceY: t, targetX: n, targetY: s, label: o, label
|
|
|
1331
1331
|
borderRadius: y == null ? void 0 : y.borderRadius,
|
|
1332
1332
|
offset: y == null ? void 0 : y.offset
|
|
1333
1333
|
});
|
|
1334
|
-
return T.createElement(F1, { path: u, labelX:
|
|
1334
|
+
return T.createElement(F1, { path: u, labelX: _, labelY: E, label: o, labelStyle: a, labelShowBg: i, labelBgStyle: l, labelBgPadding: c, labelBgBorderRadius: d, style: h, markerEnd: f, markerStart: p, interactionWidth: v });
|
|
1335
1335
|
});
|
|
1336
1336
|
Ft.displayName = "SmoothStepEdge";
|
|
1337
1337
|
const P2 = ce((e) => {
|
|
@@ -1405,7 +1405,7 @@ function Xs({ sourceX: e, sourceY: t, sourcePosition: n = Y.Bottom, targetX: s,
|
|
|
1405
1405
|
];
|
|
1406
1406
|
}
|
|
1407
1407
|
const St = ce(({ sourceX: e, sourceY: t, targetX: n, targetY: s, sourcePosition: o = Y.Bottom, targetPosition: a = Y.Top, label: i, labelStyle: l, labelShowBg: c, labelBgStyle: d, labelBgPadding: h, labelBgBorderRadius: C, style: m, markerEnd: f, markerStart: p, pathOptions: y, interactionWidth: v }) => {
|
|
1408
|
-
const [u,
|
|
1408
|
+
const [u, _, E] = Xs({
|
|
1409
1409
|
sourceX: e,
|
|
1410
1410
|
sourceY: t,
|
|
1411
1411
|
sourcePosition: o,
|
|
@@ -1414,7 +1414,7 @@ const St = ce(({ sourceX: e, sourceY: t, targetX: n, targetY: s, sourcePosition:
|
|
|
1414
1414
|
targetPosition: a,
|
|
1415
1415
|
curvature: y == null ? void 0 : y.curvature
|
|
1416
1416
|
});
|
|
1417
|
-
return T.createElement(F1, { path: u, labelX:
|
|
1417
|
+
return T.createElement(F1, { path: u, labelX: _, labelY: E, label: i, labelStyle: l, labelShowBg: c, labelBgStyle: d, labelBgPadding: h, labelBgBorderRadius: C, style: m, markerEnd: f, markerStart: p, interactionWidth: v });
|
|
1418
1418
|
});
|
|
1419
1419
|
St.displayName = "BezierEdge";
|
|
1420
1420
|
const O2 = It(null), Ti = O2.Provider;
|
|
@@ -1427,7 +1427,7 @@ const Ii = () => Ae(O2), Di = (e) => "id" in e && "source" in e && "target" in e
|
|
|
1427
1427
|
...e,
|
|
1428
1428
|
id: Fi(e)
|
|
1429
1429
|
}, Pi(n, t) ? t : t.concat(n);
|
|
1430
|
-
},
|
|
1430
|
+
}, _2 = ({ x: e, y: t }, [n, s, o], a, [i, l]) => {
|
|
1431
1431
|
const c = {
|
|
1432
1432
|
x: (e - n) / o,
|
|
1433
1433
|
y: (t - s) / o
|
|
@@ -1489,8 +1489,8 @@ const Ii = () => Ae(O2), Di = (e) => "id" in e && "source" in e && "target" in e
|
|
|
1489
1489
|
y: y.y,
|
|
1490
1490
|
width: C || 0,
|
|
1491
1491
|
height: m || 0
|
|
1492
|
-
}, u = w2(c, v),
|
|
1493
|
-
(
|
|
1492
|
+
}, u = w2(c, v), _ = typeof C > "u" || typeof m > "u" || C === null || m === null, E = a && u > 0, w = (C || 0) * (m || 0);
|
|
1493
|
+
(_ || E || u >= w || h.dragging) && d.push(h);
|
|
1494
1494
|
}), d;
|
|
1495
1495
|
}, Js = (e, t) => {
|
|
1496
1496
|
const n = e.map((s) => s.id);
|
|
@@ -1518,14 +1518,14 @@ function Oi(e, t, n, s, o, a) {
|
|
|
1518
1518
|
if (p) {
|
|
1519
1519
|
const y = z2(void 0, d), v = d.getAttribute("data-handleid"), u = a({ nodeId: p, id: v, type: y });
|
|
1520
1520
|
if (u) {
|
|
1521
|
-
const
|
|
1521
|
+
const _ = o.find((E) => E.nodeId === p && E.type === y && E.id === v);
|
|
1522
1522
|
return {
|
|
1523
1523
|
handle: {
|
|
1524
1524
|
id: v,
|
|
1525
1525
|
type: y,
|
|
1526
1526
|
nodeId: p,
|
|
1527
|
-
x: (
|
|
1528
|
-
y: (
|
|
1527
|
+
x: (_ == null ? void 0 : _.x) || n.x,
|
|
1528
|
+
y: (_ == null ? void 0 : _.y) || n.y
|
|
1529
1529
|
},
|
|
1530
1530
|
validHandleResult: u
|
|
1531
1531
|
};
|
|
@@ -1596,9 +1596,9 @@ function $i(e, t) {
|
|
|
1596
1596
|
return t ? n = "valid" : e && !t && (n = "invalid"), n;
|
|
1597
1597
|
}
|
|
1598
1598
|
function no({ event: e, handleId: t, nodeId: n, onConnect: s, isTarget: o, getState: a, setState: i, isValidConnection: l, edgeUpdaterType: c, onReconnectEnd: d }) {
|
|
1599
|
-
const h = Rs(e.target), { connectionMode: C, domNode: m, autoPanOnConnect: f, connectionRadius: p, onConnectStart: y, panBy: v, getNodes: u, cancelConnection:
|
|
1599
|
+
const h = Rs(e.target), { connectionMode: C, domNode: m, autoPanOnConnect: f, connectionRadius: p, onConnectStart: y, panBy: v, getNodes: u, cancelConnection: _ } = a();
|
|
1600
1600
|
let E = 0, w;
|
|
1601
|
-
const { x: S, y: j } = e1(e),
|
|
1601
|
+
const { x: S, y: j } = e1(e), b = h == null ? void 0 : h.elementFromPoint(S, j), H = z2(c, b), M = m == null ? void 0 : m.getBoundingClientRect();
|
|
1602
1602
|
if (!M || !H)
|
|
1603
1603
|
return;
|
|
1604
1604
|
let D, V = e1(e, M), $ = !1, Z = null, x = !1, k = null;
|
|
@@ -1630,7 +1630,7 @@ function no({ event: e, handleId: t, nodeId: n, onConnect: s, isTarget: o, getSt
|
|
|
1630
1630
|
function P(F) {
|
|
1631
1631
|
const { transform: O } = a();
|
|
1632
1632
|
V = e1(F, M);
|
|
1633
|
-
const { handle: B, validHandleResult: U } = Oi(F, h,
|
|
1633
|
+
const { handle: B, validHandleResult: U } = Oi(F, h, _2(V, O, !1, [1, 1]), p, N, (z) => to(z, C, n, t, o ? "target" : "source", l, h));
|
|
1634
1634
|
if (w = B, $ || (I(), $ = !0), k = U.handleDomNode, Z = U.connection, x = U.isValid, i({
|
|
1635
1635
|
connectionPosition: w && x ? Gs({
|
|
1636
1636
|
x: w.x,
|
|
@@ -1644,7 +1644,7 @@ function no({ event: e, handleId: t, nodeId: n, onConnect: s, isTarget: o, getSt
|
|
|
1644
1644
|
}
|
|
1645
1645
|
function L(F) {
|
|
1646
1646
|
var O, B;
|
|
1647
|
-
(w || k) && Z && x && (s == null || s(Z)), (B = (O = a()).onConnectEnd) == null || B.call(O, F), c && (d == null || d(F)), i2(D),
|
|
1647
|
+
(w || k) && Z && x && (s == null || s(Z)), (B = (O = a()).onConnectEnd) == null || B.call(O, F), c && (d == null || d(F)), i2(D), _(), cancelAnimationFrame(E), $ = !1, x = !1, Z = null, k = null, h.removeEventListener("mousemove", P), h.removeEventListener("mouseup", L), h.removeEventListener("touchmove", P), h.removeEventListener("touchend", L);
|
|
1648
1648
|
}
|
|
1649
1649
|
h.addEventListener("mousemove", P), h.addEventListener("mouseup", L), h.addEventListener("touchmove", P), h.addEventListener("touchend", L);
|
|
1650
1650
|
}
|
|
@@ -1660,7 +1660,7 @@ const Dn = () => !0, Wi = (e) => ({
|
|
|
1660
1660
|
};
|
|
1661
1661
|
}, so = A2(({ type: e = "source", position: t = Y.Top, isValidConnection: n, isConnectable: s = !0, isConnectableStart: o = !0, isConnectableEnd: a = !0, id: i, onConnect: l, children: c, className: d, onMouseDown: h, onTouchStart: C, ...m }, f) => {
|
|
1662
1662
|
var M, D;
|
|
1663
|
-
const p = i || null, y = e === "target", v = Ce(), u = Ii(), { connectOnClick:
|
|
1663
|
+
const p = i || null, y = e === "target", v = Ce(), u = Ii(), { connectOnClick: _, noPanClassName: E } = ie(Wi, ge), { connecting: w, clickConnecting: S } = ie(Ui(u, p, e), ge);
|
|
1664
1664
|
u || (D = (M = v.getState()).onError) == null || D.call(M, "010", Fe.error010());
|
|
1665
1665
|
const j = (V) => {
|
|
1666
1666
|
const { defaultEdgeOptions: $, onConnect: Z, hasDefaultEdges: x } = v.getState(), k = {
|
|
@@ -1672,7 +1672,7 @@ const Dn = () => !0, Wi = (e) => ({
|
|
|
1672
1672
|
I(Bi(k, N));
|
|
1673
1673
|
}
|
|
1674
1674
|
Z == null || Z(k), l == null || l(k);
|
|
1675
|
-
},
|
|
1675
|
+
}, b = (V) => {
|
|
1676
1676
|
if (!u)
|
|
1677
1677
|
return;
|
|
1678
1678
|
const $ = Ws(V);
|
|
@@ -1717,7 +1717,7 @@ const Dn = () => !0, Wi = (e) => ({
|
|
|
1717
1717
|
// this class is used to style the handle when the user is connecting
|
|
1718
1718
|
connectionindicator: s && (o && !w || a && w)
|
|
1719
1719
|
}
|
|
1720
|
-
]), onMouseDown:
|
|
1720
|
+
]), onMouseDown: b, onTouchStart: b, onClick: _ ? H : void 0, ref: f, ...m }, c);
|
|
1721
1721
|
});
|
|
1722
1722
|
so.displayName = "Handle";
|
|
1723
1723
|
var Me = ce(so);
|
|
@@ -1729,7 +1729,7 @@ const oo = ({ data: e, isConnectable: t, targetPosition: n = Y.Top, sourcePositi
|
|
|
1729
1729
|
T.createElement(Me, { type: "source", position: s, isConnectable: t })
|
|
1730
1730
|
);
|
|
1731
1731
|
oo.displayName = "DefaultNode";
|
|
1732
|
-
var
|
|
1732
|
+
var b2 = ce(oo);
|
|
1733
1733
|
const ro = ({ data: e, isConnectable: t, sourcePosition: n = Y.Bottom }) => T.createElement(
|
|
1734
1734
|
T.Fragment,
|
|
1735
1735
|
null,
|
|
@@ -1788,14 +1788,14 @@ function q(e, t, n) {
|
|
|
1788
1788
|
typeof t < "u" && n({ [e]: t });
|
|
1789
1789
|
}, [t]);
|
|
1790
1790
|
}
|
|
1791
|
-
const Ji = ({ nodes: e, edges: t, defaultNodes: n, defaultEdges: s, onConnect: o, onConnectStart: a, onConnectEnd: i, onClickConnectStart: l, onClickConnectEnd: c, nodesDraggable: d, nodesConnectable: h, nodesFocusable: C, edgesFocusable: m, edgesUpdatable: f, elevateNodesOnSelect: p, minZoom: y, maxZoom: v, nodeExtent: u, onNodesChange:
|
|
1792
|
-
const { setNodes: oe, setEdges:
|
|
1791
|
+
const Ji = ({ nodes: e, edges: t, defaultNodes: n, defaultEdges: s, onConnect: o, onConnectStart: a, onConnectEnd: i, onClickConnectStart: l, onClickConnectEnd: c, nodesDraggable: d, nodesConnectable: h, nodesFocusable: C, edgesFocusable: m, edgesUpdatable: f, elevateNodesOnSelect: p, minZoom: y, maxZoom: v, nodeExtent: u, onNodesChange: _, onEdgesChange: E, elementsSelectable: w, connectionMode: S, snapGrid: j, snapToGrid: b, translateExtent: H, connectOnClick: M, defaultEdgeOptions: D, fitView: V, fitViewOptions: $, onNodesDelete: Z, onEdgesDelete: x, onNodeDrag: k, onNodeDragStart: N, onNodeDragStop: I, onSelectionDrag: P, onSelectionDragStart: L, onSelectionDragStop: F, noPanClassName: O, nodeOrigin: B, rfId: U, autoPanOnConnect: z, autoPanOnNodeDrag: W, onError: G, connectionRadius: ee, isValidConnection: te, nodeDragThreshold: ne }) => {
|
|
1792
|
+
const { setNodes: oe, setEdges: _e, setDefaultNodesAndEdges: Ne, setMinZoom: Ve, setMaxZoom: je, setTranslateExtent: he, setNodeExtent: Oe, reset: ae } = ie(qi, ge), K = Ce();
|
|
1793
1793
|
return X(() => {
|
|
1794
|
-
const
|
|
1795
|
-
return Ne(n,
|
|
1794
|
+
const be = s == null ? void 0 : s.map((n1) => ({ ...n1, ...D }));
|
|
1795
|
+
return Ne(n, be), () => {
|
|
1796
1796
|
ae();
|
|
1797
1797
|
};
|
|
1798
|
-
}, []), q("defaultEdgeOptions", D, K.setState), q("connectionMode", S, K.setState), q("onConnect", o, K.setState), q("onConnectStart", a, K.setState), q("onConnectEnd", i, K.setState), q("onClickConnectStart", l, K.setState), q("onClickConnectEnd", c, K.setState), q("nodesDraggable", d, K.setState), q("nodesConnectable", h, K.setState), q("nodesFocusable", C, K.setState), q("edgesFocusable", m, K.setState), q("edgesUpdatable", f, K.setState), q("elementsSelectable", w, K.setState), q("elevateNodesOnSelect", p, K.setState), q("snapToGrid",
|
|
1798
|
+
}, []), q("defaultEdgeOptions", D, K.setState), q("connectionMode", S, K.setState), q("onConnect", o, K.setState), q("onConnectStart", a, K.setState), q("onConnectEnd", i, K.setState), q("onClickConnectStart", l, K.setState), q("onClickConnectEnd", c, K.setState), q("nodesDraggable", d, K.setState), q("nodesConnectable", h, K.setState), q("nodesFocusable", C, K.setState), q("edgesFocusable", m, K.setState), q("edgesUpdatable", f, K.setState), q("elementsSelectable", w, K.setState), q("elevateNodesOnSelect", p, K.setState), q("snapToGrid", b, K.setState), q("snapGrid", j, K.setState), q("onNodesChange", _, K.setState), q("onEdgesChange", E, K.setState), q("connectOnClick", M, K.setState), q("fitViewOnInit", V, K.setState), q("fitViewOnInitOptions", $, K.setState), q("onNodesDelete", Z, K.setState), q("onEdgesDelete", x, K.setState), q("onNodeDrag", k, K.setState), q("onNodeDragStart", N, K.setState), q("onNodeDragStop", I, K.setState), q("onSelectionDrag", P, K.setState), q("onSelectionDragStart", L, K.setState), q("onSelectionDragStop", F, K.setState), q("noPanClassName", O, K.setState), q("nodeOrigin", B, K.setState), q("rfId", U, K.setState), q("autoPanOnConnect", z, K.setState), q("autoPanOnNodeDrag", W, K.setState), q("onError", G, K.setState), q("connectionRadius", ee, K.setState), q("isValidConnection", te, K.setState), q("nodeDragThreshold", ne, K.setState), v1(e, oe), v1(t, _e), v1(y, Ve), v1(v, je), v1(H, he), v1(u, Oe), null;
|
|
1799
1799
|
}, Zn = { display: "none" }, Qi = {
|
|
1800
1800
|
position: "absolute",
|
|
1801
1801
|
width: 1,
|
|
@@ -1919,12 +1919,12 @@ function go(e, t = {}) {
|
|
|
1919
1919
|
const { getNodes: n, width: s, height: o, minZoom: a, maxZoom: i, d3Zoom: l, d3Selection: c, fitViewOnInitDone: d, fitViewOnInit: h, nodeOrigin: C } = e(), m = t.initial && !d && h;
|
|
1920
1920
|
if (l && c && (m || !t.initial)) {
|
|
1921
1921
|
const p = n().filter((v) => {
|
|
1922
|
-
var
|
|
1922
|
+
var _;
|
|
1923
1923
|
const u = t.includeHiddenNodes ? v.width && v.height : !v.hidden;
|
|
1924
|
-
return (
|
|
1924
|
+
return (_ = t.nodes) != null && _.length ? u && t.nodes.some((E) => E.id === v.id) : u;
|
|
1925
1925
|
}), y = p.every((v) => v.width && v.height);
|
|
1926
1926
|
if (p.length > 0 && y) {
|
|
1927
|
-
const v = R2(p, C), { x: u, y:
|
|
1927
|
+
const v = R2(p, C), { x: u, y: _, zoom: E } = Qs(v, s, o, t.minZoom ?? a, t.maxZoom ?? i, t.padding ?? 0.1), w = Qe.translate(u, _).scale(E);
|
|
1928
1928
|
return typeof t.duration == "number" && t.duration > 0 ? l.transform(c1(c, t.duration), w) : l.transform(c, w), !0;
|
|
1929
1929
|
}
|
|
1930
1930
|
}
|
|
@@ -1950,17 +1950,17 @@ function ft({ changedNodes: e, changedEdges: t, get: n, set: s }) {
|
|
|
1950
1950
|
const { nodeInternals: o, edges: a, onNodesChange: i, onEdgesChange: l, hasDefaultNodes: c, hasDefaultEdges: d } = n();
|
|
1951
1951
|
e != null && e.length && (c && s({ nodeInternals: o5(e, o) }), i == null || i(e)), t != null && t.length && (d && s({ edges: r5(t, a) }), l == null || l(t));
|
|
1952
1952
|
}
|
|
1953
|
-
const
|
|
1953
|
+
const _1 = () => {
|
|
1954
1954
|
}, a5 = {
|
|
1955
|
-
zoomIn:
|
|
1956
|
-
zoomOut:
|
|
1957
|
-
zoomTo:
|
|
1955
|
+
zoomIn: _1,
|
|
1956
|
+
zoomOut: _1,
|
|
1957
|
+
zoomTo: _1,
|
|
1958
1958
|
getZoom: () => 1,
|
|
1959
|
-
setViewport:
|
|
1959
|
+
setViewport: _1,
|
|
1960
1960
|
getViewport: () => ({ x: 0, y: 0, zoom: 1 }),
|
|
1961
1961
|
fitView: () => !1,
|
|
1962
|
-
setCenter:
|
|
1963
|
-
fitBounds:
|
|
1962
|
+
setCenter: _1,
|
|
1963
|
+
fitBounds: _1,
|
|
1964
1964
|
project: (e) => e,
|
|
1965
1965
|
screenToFlowPosition: (e) => e,
|
|
1966
1966
|
flowToScreenPosition: (e) => e,
|
|
@@ -1995,7 +1995,7 @@ const b1 = () => {
|
|
|
1995
1995
|
// @deprecated Use `screenToFlowPosition`.
|
|
1996
1996
|
project: (o) => {
|
|
1997
1997
|
const { transform: a, snapToGrid: i, snapGrid: l } = e.getState();
|
|
1998
|
-
return console.warn("[DEPRECATED] `project` is deprecated. Instead use `screenToFlowPosition`. There is no need to subtract the react flow bounds anymore! https://reactflow.dev/api-reference/types/react-flow-instance#screen-to-flow-position"),
|
|
1998
|
+
return console.warn("[DEPRECATED] `project` is deprecated. Instead use `screenToFlowPosition`. There is no need to subtract the react flow bounds anymore! https://reactflow.dev/api-reference/types/react-flow-instance#screen-to-flow-position"), _2(o, a, i, l);
|
|
1999
1999
|
},
|
|
2000
2000
|
screenToFlowPosition: (o) => {
|
|
2001
2001
|
const { transform: a, snapToGrid: i, snapGrid: l, domNode: c } = e.getState();
|
|
@@ -2005,7 +2005,7 @@ const b1 = () => {
|
|
|
2005
2005
|
x: o.x - d,
|
|
2006
2006
|
y: o.y - h
|
|
2007
2007
|
};
|
|
2008
|
-
return
|
|
2008
|
+
return _2(C, a, i, l);
|
|
2009
2009
|
},
|
|
2010
2010
|
flowToScreenPosition: (o) => {
|
|
2011
2011
|
const { transform: a, domNode: i } = e.getState();
|
|
@@ -2028,51 +2028,51 @@ function Le() {
|
|
|
2028
2028
|
const { edges: v = [] } = t.getState();
|
|
2029
2029
|
return v.find((u) => u.id === y);
|
|
2030
2030
|
}, []), i = re((y) => {
|
|
2031
|
-
const { getNodes: v, setNodes: u, hasDefaultNodes:
|
|
2032
|
-
if (
|
|
2031
|
+
const { getNodes: v, setNodes: u, hasDefaultNodes: _, onNodesChange: E } = t.getState(), w = v(), S = typeof y == "function" ? y(w) : y;
|
|
2032
|
+
if (_)
|
|
2033
2033
|
u(S);
|
|
2034
2034
|
else if (E) {
|
|
2035
|
-
const j = S.length === 0 ? w.map((
|
|
2035
|
+
const j = S.length === 0 ? w.map((b) => ({ type: "remove", id: b.id })) : S.map((b) => ({ item: b, type: "reset" }));
|
|
2036
2036
|
E(j);
|
|
2037
2037
|
}
|
|
2038
2038
|
}, []), l = re((y) => {
|
|
2039
|
-
const { edges: v = [], setEdges: u, hasDefaultEdges:
|
|
2040
|
-
if (
|
|
2039
|
+
const { edges: v = [], setEdges: u, hasDefaultEdges: _, onEdgesChange: E } = t.getState(), w = typeof y == "function" ? y(v) : y;
|
|
2040
|
+
if (_)
|
|
2041
2041
|
u(w);
|
|
2042
2042
|
else if (E) {
|
|
2043
2043
|
const S = w.length === 0 ? v.map((j) => ({ type: "remove", id: j.id })) : w.map((j) => ({ item: j, type: "reset" }));
|
|
2044
2044
|
E(S);
|
|
2045
2045
|
}
|
|
2046
2046
|
}, []), c = re((y) => {
|
|
2047
|
-
const v = Array.isArray(y) ? y : [y], { getNodes: u, setNodes:
|
|
2047
|
+
const v = Array.isArray(y) ? y : [y], { getNodes: u, setNodes: _, hasDefaultNodes: E, onNodesChange: w } = t.getState();
|
|
2048
2048
|
if (E) {
|
|
2049
2049
|
const j = [...u(), ...v];
|
|
2050
|
-
|
|
2050
|
+
_(j);
|
|
2051
2051
|
} else if (w) {
|
|
2052
2052
|
const S = v.map((j) => ({ item: j, type: "add" }));
|
|
2053
2053
|
w(S);
|
|
2054
2054
|
}
|
|
2055
2055
|
}, []), d = re((y) => {
|
|
2056
|
-
const v = Array.isArray(y) ? y : [y], { edges: u = [], setEdges:
|
|
2056
|
+
const v = Array.isArray(y) ? y : [y], { edges: u = [], setEdges: _, hasDefaultEdges: E, onEdgesChange: w } = t.getState();
|
|
2057
2057
|
if (E)
|
|
2058
|
-
|
|
2058
|
+
_([...u, ...v]);
|
|
2059
2059
|
else if (w) {
|
|
2060
2060
|
const S = v.map((j) => ({ item: j, type: "add" }));
|
|
2061
2061
|
w(S);
|
|
2062
2062
|
}
|
|
2063
2063
|
}, []), h = re(() => {
|
|
2064
|
-
const { getNodes: y, edges: v = [], transform: u } = t.getState(), [
|
|
2064
|
+
const { getNodes: y, edges: v = [], transform: u } = t.getState(), [_, E, w] = u;
|
|
2065
2065
|
return {
|
|
2066
2066
|
nodes: y().map((S) => ({ ...S })),
|
|
2067
2067
|
edges: v.map((S) => ({ ...S })),
|
|
2068
2068
|
viewport: {
|
|
2069
|
-
x:
|
|
2069
|
+
x: _,
|
|
2070
2070
|
y: E,
|
|
2071
2071
|
zoom: w
|
|
2072
2072
|
}
|
|
2073
2073
|
};
|
|
2074
2074
|
}, []), C = re(({ nodes: y, edges: v }) => {
|
|
2075
|
-
const { nodeInternals: u, getNodes:
|
|
2075
|
+
const { nodeInternals: u, getNodes: _, edges: E, hasDefaultNodes: w, hasDefaultEdges: S, onNodesDelete: j, onEdgesDelete: b, onNodesChange: H, onEdgesChange: M } = t.getState(), D = (y || []).map((k) => k.id), V = (v || []).map((k) => k.id), $ = _().reduce((k, N) => {
|
|
2076
2076
|
const I = N.parentNode || N.parentId, P = !D.includes(N.id) && I && k.find((F) => F.id === I);
|
|
2077
2077
|
return (typeof N.deletable == "boolean" ? N.deletable : !0) && (D.includes(N.id) || P) && k.push(N), k;
|
|
2078
2078
|
}, []), Z = E.filter((k) => typeof k.deletable == "boolean" ? k.deletable : !0), x = Z.filter((k) => V.includes(k.id));
|
|
@@ -2084,7 +2084,7 @@ function Le() {
|
|
|
2084
2084
|
u.delete(P.id);
|
|
2085
2085
|
}), t.setState({
|
|
2086
2086
|
nodeInternals: new Map(u)
|
|
2087
|
-
}))), I.length > 0 && (
|
|
2087
|
+
}))), I.length > 0 && (b == null || b(N), M && M(I.map((P) => ({
|
|
2088
2088
|
id: P,
|
|
2089
2089
|
type: "remove"
|
|
2090
2090
|
})))), $.length > 0 && (j == null || j($), H)) {
|
|
@@ -2096,19 +2096,19 @@ function Le() {
|
|
|
2096
2096
|
const v = ji(y), u = v ? null : t.getState().nodeInternals.get(y.id);
|
|
2097
2097
|
return !v && !u ? [null, null, v] : [v ? y : kn(u), u, v];
|
|
2098
2098
|
}, []), f = re((y, v = !0, u) => {
|
|
2099
|
-
const [
|
|
2100
|
-
return
|
|
2099
|
+
const [_, E, w] = m(y);
|
|
2100
|
+
return _ ? (u || t.getState().getNodes()).filter((S) => {
|
|
2101
2101
|
if (!w && (S.id === E.id || !S.positionAbsolute))
|
|
2102
2102
|
return !1;
|
|
2103
|
-
const j = kn(S),
|
|
2104
|
-
return v &&
|
|
2103
|
+
const j = kn(S), b = w2(j, _);
|
|
2104
|
+
return v && b > 0 || b >= _.width * _.height;
|
|
2105
2105
|
}) : [];
|
|
2106
2106
|
}, []), p = re((y, v, u = !0) => {
|
|
2107
|
-
const [
|
|
2108
|
-
if (!
|
|
2107
|
+
const [_] = m(y);
|
|
2108
|
+
if (!_)
|
|
2109
2109
|
return !1;
|
|
2110
|
-
const E = w2(
|
|
2111
|
-
return u && E > 0 || E >=
|
|
2110
|
+
const E = w2(_, v);
|
|
2111
|
+
return u && E > 0 || E >= _.width * _.height;
|
|
2112
2112
|
}, []);
|
|
2113
2113
|
return we(() => ({
|
|
2114
2114
|
...e,
|
|
@@ -2178,16 +2178,16 @@ const W2 = {
|
|
|
2178
2178
|
x: e.x,
|
|
2179
2179
|
y: e.y,
|
|
2180
2180
|
zoom: e.k
|
|
2181
|
-
}),
|
|
2182
|
-
const t = e.ctrlKey &&
|
|
2181
|
+
}), b1 = (e, t) => e.target.closest(`.${t}`), Bn = (e, t) => t === 2 && Array.isArray(e) && e.includes(2), On = (e) => {
|
|
2182
|
+
const t = e.ctrlKey && _t() ? 10 : 1;
|
|
2183
2183
|
return -e.deltaY * (e.deltaMode === 1 ? 0.05 : e.deltaMode ? 1 : 2e-3) * t;
|
|
2184
2184
|
}, f5 = (e) => ({
|
|
2185
2185
|
d3Zoom: e.d3Zoom,
|
|
2186
2186
|
d3Selection: e.d3Selection,
|
|
2187
2187
|
d3ZoomHandler: e.d3ZoomHandler,
|
|
2188
2188
|
userSelectionActive: e.userSelectionActive
|
|
2189
|
-
}), C5 = ({ onMove: e, onMoveStart: t, onMoveEnd: n, onPaneContextMenu: s, zoomOnScroll: o = !0, zoomOnPinch: a = !0, panOnScroll: i = !1, panOnScrollSpeed: l = 0.5, panOnScrollMode: c = u1.Free, zoomOnDoubleClick: d = !0, elementsSelectable: h, panOnDrag: C = !0, defaultViewport: m, translateExtent: f, minZoom: p, maxZoom: y, zoomActivationKeyCode: v, preventScrolling: u = !0, children:
|
|
2190
|
-
const S = J(), j = Ce(),
|
|
2189
|
+
}), C5 = ({ onMove: e, onMoveStart: t, onMoveEnd: n, onPaneContextMenu: s, zoomOnScroll: o = !0, zoomOnPinch: a = !0, panOnScroll: i = !1, panOnScrollSpeed: l = 0.5, panOnScrollMode: c = u1.Free, zoomOnDoubleClick: d = !0, elementsSelectable: h, panOnDrag: C = !0, defaultViewport: m, translateExtent: f, minZoom: p, maxZoom: y, zoomActivationKeyCode: v, preventScrolling: u = !0, children: _, noWheelClassName: E, noPanClassName: w }) => {
|
|
2190
|
+
const S = J(), j = Ce(), b = J(!1), H = J(!1), M = J(null), D = J({ x: 0, y: 0, zoom: 0 }), { d3Zoom: V, d3Selection: $, d3ZoomHandler: Z, userSelectionActive: x } = ie(f5, ge), k = Q1(v), N = J(0), I = J(!1), P = J();
|
|
2191
2191
|
return u5(M), X(() => {
|
|
2192
2192
|
if (M.current) {
|
|
2193
2193
|
const L = M.current.getBoundingClientRect(), F = Ga().scaleExtent([p, y]).translateExtent(f), O = De(M.current).call(F), B = Qe.translate(m.x, m.y).scale(T1(m.zoom, p, y)), U = [
|
|
@@ -2205,7 +2205,7 @@ const W2 = {
|
|
|
2205
2205
|
}
|
|
2206
2206
|
}, []), X(() => {
|
|
2207
2207
|
$ && V && (i && !k && !x ? $.on("wheel.zoom", (L) => {
|
|
2208
|
-
if (
|
|
2208
|
+
if (b1(L, E))
|
|
2209
2209
|
return !1;
|
|
2210
2210
|
L.preventDefault(), L.stopImmediatePropagation();
|
|
2211
2211
|
const F = $.property("__zoom").k || 1;
|
|
@@ -2216,7 +2216,7 @@ const W2 = {
|
|
|
2216
2216
|
}
|
|
2217
2217
|
const O = L.deltaMode === 1 ? 20 : 1;
|
|
2218
2218
|
let B = c === u1.Vertical ? 0 : L.deltaX * O, U = c === u1.Horizontal ? 0 : L.deltaY * O;
|
|
2219
|
-
!
|
|
2219
|
+
!_t() && L.shiftKey && c !== u1.Vertical && (B = L.deltaY * O, U = 0), V.translateBy(
|
|
2220
2220
|
$,
|
|
2221
2221
|
-(B / F) * l,
|
|
2222
2222
|
-(U / F) * l,
|
|
@@ -2228,7 +2228,7 @@ const W2 = {
|
|
|
2228
2228
|
n == null || n(L, z), ee == null || ee(z), I.current = !1;
|
|
2229
2229
|
}, 150));
|
|
2230
2230
|
}, { passive: !1 }) : typeof Z < "u" && $.on("wheel.zoom", function(L, F) {
|
|
2231
|
-
if (!u && L.type === "wheel" && !L.ctrlKey ||
|
|
2231
|
+
if (!u && L.type === "wheel" && !L.ctrlKey || b1(L, E))
|
|
2232
2232
|
return null;
|
|
2233
2233
|
L.preventDefault(), Z.call(this, L, F);
|
|
2234
2234
|
}, { passive: !1 }));
|
|
@@ -2253,10 +2253,10 @@ const W2 = {
|
|
|
2253
2253
|
return null;
|
|
2254
2254
|
N.current = (B = L.sourceEvent) == null ? void 0 : B.button;
|
|
2255
2255
|
const { onViewportChangeStart: F } = j.getState(), O = Ct(L.transform);
|
|
2256
|
-
|
|
2256
|
+
b.current = !0, D.current = O, ((U = L.sourceEvent) == null ? void 0 : U.type) === "mousedown" && j.setState({ paneDragging: !0 }), F == null || F(O), t == null || t(L.sourceEvent, O);
|
|
2257
2257
|
});
|
|
2258
2258
|
}, [V, t]), X(() => {
|
|
2259
|
-
V && (x && !
|
|
2259
|
+
V && (x && !b.current ? V.on("zoom", null) : x || V.on("zoom", (L) => {
|
|
2260
2260
|
var O;
|
|
2261
2261
|
const { onViewportChange: F } = j.getState();
|
|
2262
2262
|
if (j.setState({ transform: [L.transform.x, L.transform.y, L.transform.k] }), H.current = !!(s && Bn(C, N.current ?? 0)), (e || F) && !((O = L.sourceEvent) != null && O.internal)) {
|
|
@@ -2269,7 +2269,7 @@ const W2 = {
|
|
|
2269
2269
|
if (!L.sourceEvent || L.sourceEvent.internal)
|
|
2270
2270
|
return null;
|
|
2271
2271
|
const { onViewportChangeEnd: F } = j.getState();
|
|
2272
|
-
if (
|
|
2272
|
+
if (b.current = !1, j.setState({ paneDragging: !1 }), s && Bn(C, N.current ?? 0) && !H.current && s(L.sourceEvent), H.current = !1, (n || F) && h5(D.current, L.transform)) {
|
|
2273
2273
|
const O = Ct(L.transform);
|
|
2274
2274
|
D.current = O, clearTimeout(S.current), S.current = setTimeout(() => {
|
|
2275
2275
|
F == null || F(O), n == null || n(L.sourceEvent, O);
|
|
@@ -2279,9 +2279,9 @@ const W2 = {
|
|
|
2279
2279
|
}, [V, i, C, n, s]), X(() => {
|
|
2280
2280
|
V && V.filter((L) => {
|
|
2281
2281
|
const F = k || o, O = a && L.ctrlKey;
|
|
2282
|
-
if ((C === !0 || Array.isArray(C) && C.includes(1)) && L.button === 1 && L.type === "mousedown" && (
|
|
2282
|
+
if ((C === !0 || Array.isArray(C) && C.includes(1)) && L.button === 1 && L.type === "mousedown" && (b1(L, "react-flow__node") || b1(L, "react-flow__edge")))
|
|
2283
2283
|
return !0;
|
|
2284
|
-
if (!C && !F && !i && !d && !a || x || !d && L.type === "dblclick" ||
|
|
2284
|
+
if (!C && !F && !i && !d && !a || x || !d && L.type === "dblclick" || b1(L, E) && L.type === "wheel" || b1(L, w) && (L.type !== "wheel" || i && L.type === "wheel" && !k) || !a && L.ctrlKey && L.type === "wheel" || !F && !i && !O && L.type === "wheel" || !C && (L.type === "mousedown" || L.type === "touchstart") || Array.isArray(C) && !C.includes(L.button) && L.type === "mousedown")
|
|
2285
2285
|
return !1;
|
|
2286
2286
|
const B = Array.isArray(C) && C.includes(L.button) || !L.button || L.button <= 1;
|
|
2287
2287
|
return (!L.ctrlKey || L.type === "wheel") && B;
|
|
@@ -2296,7 +2296,7 @@ const W2 = {
|
|
|
2296
2296
|
C,
|
|
2297
2297
|
h,
|
|
2298
2298
|
k
|
|
2299
|
-
]), T.createElement("div", { className: "react-flow__renderer", ref: M, style: W2 },
|
|
2299
|
+
]), T.createElement("div", { className: "react-flow__renderer", ref: M, style: W2 }, _);
|
|
2300
2300
|
}, g5 = (e) => ({
|
|
2301
2301
|
userSelectionActive: e.userSelectionActive,
|
|
2302
2302
|
userSelectionRect: e.userSelectionRect
|
|
@@ -2377,7 +2377,7 @@ const c2 = (e, t) => (n) => {
|
|
|
2377
2377
|
elementsSelectable: e.elementsSelectable,
|
|
2378
2378
|
dragging: e.paneDragging
|
|
2379
2379
|
}), mo = ce(({ isSelecting: e, selectionMode: t = J1.Full, panOnDrag: n, onSelectionStart: s, onSelectionEnd: o, onPaneClick: a, onPaneContextMenu: i, onPaneScroll: l, onPaneMouseEnter: c, onPaneMouseMove: d, onPaneMouseLeave: h, children: C }) => {
|
|
2380
|
-
const m = J(null), f = Ce(), p = J(0), y = J(0), v = J(), { userSelectionActive: u, elementsSelectable:
|
|
2380
|
+
const m = J(null), f = Ce(), p = J(0), y = J(0), v = J(), { userSelectionActive: u, elementsSelectable: _, dragging: E } = ie(w5, ge), w = () => {
|
|
2381
2381
|
f.setState({ userSelectionActive: !1, userSelectionRect: null }), p.current = 0, y.current = 0;
|
|
2382
2382
|
}, S = (Z) => {
|
|
2383
2383
|
a == null || a(Z), f.getState().resetSelectedElements(), f.setState({ nodesSelectionActive: !1 });
|
|
@@ -2387,9 +2387,9 @@ const c2 = (e, t) => (n) => {
|
|
|
2387
2387
|
return;
|
|
2388
2388
|
}
|
|
2389
2389
|
i == null || i(Z);
|
|
2390
|
-
},
|
|
2390
|
+
}, b = l ? (Z) => l(Z) : void 0, H = (Z) => {
|
|
2391
2391
|
const { resetSelectedElements: x, domNode: k } = f.getState();
|
|
2392
|
-
if (v.current = k == null ? void 0 : k.getBoundingClientRect(), !
|
|
2392
|
+
if (v.current = k == null ? void 0 : k.getBoundingClientRect(), !_ || !e || Z.button !== 0 || Z.target !== m.current || !v.current)
|
|
2393
2393
|
return;
|
|
2394
2394
|
const { x: N, y: I } = e1(Z, v.current);
|
|
2395
2395
|
x(), f.setState({
|
|
@@ -2434,10 +2434,10 @@ const c2 = (e, t) => (n) => {
|
|
|
2434
2434
|
!u && x && Z.target === m.current && (S == null || S(Z)), f.setState({ nodesSelectionActive: p.current > 0 }), w(), o == null || o(Z);
|
|
2435
2435
|
}, V = (Z) => {
|
|
2436
2436
|
u && (f.setState({ nodesSelectionActive: p.current > 0 }), o == null || o(Z)), w();
|
|
2437
|
-
}, $ =
|
|
2437
|
+
}, $ = _ && (e || u);
|
|
2438
2438
|
return T.createElement(
|
|
2439
2439
|
"div",
|
|
2440
|
-
{ className: Ee(["react-flow__pane", { dragging: E, selection: e }]), onClick: $ ? void 0 : c2(S, m), onContextMenu: c2(j, m), onWheel: c2(
|
|
2440
|
+
{ className: Ee(["react-flow__pane", { dragging: E, selection: e }]), onClick: $ ? void 0 : c2(S, m), onContextMenu: c2(j, m), onWheel: c2(b, m), onMouseEnter: $ ? void 0 : c, onMouseDown: $ ? H : void 0, onMouseMove: $ ? M : d, onMouseUp: $ ? D : void 0, onMouseLeave: $ ? V : h, ref: m, style: W2 },
|
|
2441
2441
|
C,
|
|
2442
2442
|
T.createElement(m5, null)
|
|
2443
2443
|
);
|
|
@@ -2587,7 +2587,7 @@ function u2(e) {
|
|
|
2587
2587
|
return (t, n, s) => e == null ? void 0 : e(t, s);
|
|
2588
2588
|
}
|
|
2589
2589
|
function wo({ nodeRef: e, disabled: t = !1, noDragClassName: n, handleSelector: s, nodeId: o, isSelectable: a, selectNodesOnDrag: i }) {
|
|
2590
|
-
const l = Ce(), [c, d] = se(!1), h = J([]), C = J({ x: null, y: null }), m = J(0), f = J(null), p = J({ x: 0, y: 0 }), y = J(null), v = J(!1), u = J(!1),
|
|
2590
|
+
const l = Ce(), [c, d] = se(!1), h = J([]), C = J({ x: null, y: null }), m = J(0), f = J(null), p = J({ x: 0, y: 0 }), y = J(null), v = J(!1), u = J(!1), _ = J(!1), E = v5();
|
|
2591
2591
|
return X(() => {
|
|
2592
2592
|
if (e != null && e.current) {
|
|
2593
2593
|
const w = De(e.current), S = ({ x: H, y: M }) => {
|
|
@@ -2629,7 +2629,7 @@ function wo({ nodeRef: e, disabled: t = !1, noDragClassName: n, handleSelector:
|
|
|
2629
2629
|
C.current.x = (C.current.x ?? 0) - H / D[2], C.current.y = (C.current.y ?? 0) - M / D[2], V({ x: H, y: M }) && S(C.current);
|
|
2630
2630
|
}
|
|
2631
2631
|
m.current = requestAnimationFrame(j);
|
|
2632
|
-
},
|
|
2632
|
+
}, b = (H) => {
|
|
2633
2633
|
var I;
|
|
2634
2634
|
const { nodeInternals: M, multiSelectionActive: D, nodesDraggable: V, unselectNodesAndEdges: $, onNodeDragStart: Z, onSelectionDragStart: x } = l.getState();
|
|
2635
2635
|
u.current = !0;
|
|
@@ -2654,21 +2654,21 @@ function wo({ nodeRef: e, disabled: t = !1, noDragClassName: n, handleSelector:
|
|
|
2654
2654
|
else {
|
|
2655
2655
|
const H = Pa().on("start", (M) => {
|
|
2656
2656
|
const { domNode: D, nodeDragThreshold: V } = l.getState();
|
|
2657
|
-
V === 0 &&
|
|
2657
|
+
V === 0 && b(M), _.current = !1;
|
|
2658
2658
|
const $ = E(M);
|
|
2659
2659
|
C.current = $, f.current = (D == null ? void 0 : D.getBoundingClientRect()) || null, p.current = e1(M.sourceEvent, f.current);
|
|
2660
2660
|
}).on("drag", (M) => {
|
|
2661
2661
|
var Z, x;
|
|
2662
2662
|
const D = E(M), { autoPanOnNodeDrag: V, nodeDragThreshold: $ } = l.getState();
|
|
2663
|
-
if (M.sourceEvent.type === "touchmove" && M.sourceEvent.touches.length > 1 && (
|
|
2663
|
+
if (M.sourceEvent.type === "touchmove" && M.sourceEvent.touches.length > 1 && (_.current = !0), !_.current) {
|
|
2664
2664
|
if (!v.current && u.current && V && (v.current = !0, j()), !u.current) {
|
|
2665
2665
|
const k = D.xSnapped - (((Z = C == null ? void 0 : C.current) == null ? void 0 : Z.x) ?? 0), N = D.ySnapped - (((x = C == null ? void 0 : C.current) == null ? void 0 : x.y) ?? 0);
|
|
2666
|
-
Math.sqrt(k * k + N * N) > $ &&
|
|
2666
|
+
Math.sqrt(k * k + N * N) > $ && b(M);
|
|
2667
2667
|
}
|
|
2668
2668
|
(C.current.x !== D.xSnapped || C.current.y !== D.ySnapped) && h.current && u.current && (y.current = M.sourceEvent, p.current = e1(M.sourceEvent, f.current), S(D));
|
|
2669
2669
|
}
|
|
2670
2670
|
}).on("end", (M) => {
|
|
2671
|
-
if (!(!u.current ||
|
|
2671
|
+
if (!(!u.current || _.current) && (d(!1), v.current = !1, u.current = !1, cancelAnimationFrame(m.current), h.current)) {
|
|
2672
2672
|
const { updateNodePositions: D, nodeInternals: V, onNodeDragStop: $, onSelectionDragStop: Z } = l.getState(), x = o ? $ : u2(Z);
|
|
2673
2673
|
if (D(h.current, !1, !1), x) {
|
|
2674
2674
|
const [k, N] = d2({
|
|
@@ -2703,14 +2703,14 @@ function wo({ nodeRef: e, disabled: t = !1, noDragClassName: n, handleSelector:
|
|
|
2703
2703
|
function yo() {
|
|
2704
2704
|
const e = Ce();
|
|
2705
2705
|
return re((n) => {
|
|
2706
|
-
const { nodeInternals: s, nodeExtent: o, updateNodePositions: a, getNodes: i, snapToGrid: l, snapGrid: c, onError: d, nodesDraggable: h } = e.getState(), C = i().filter((
|
|
2707
|
-
if (
|
|
2708
|
-
const E = { x:
|
|
2706
|
+
const { nodeInternals: s, nodeExtent: o, updateNodePositions: a, getNodes: i, snapToGrid: l, snapGrid: c, onError: d, nodesDraggable: h } = e.getState(), C = i().filter((_) => _.selected && (_.draggable || h && typeof _.draggable > "u")), m = l ? c[0] : 5, f = l ? c[1] : 5, p = n.isShiftPressed ? 4 : 1, y = n.x * m * p, v = n.y * f * p, u = C.map((_) => {
|
|
2707
|
+
if (_.positionAbsolute) {
|
|
2708
|
+
const E = { x: _.positionAbsolute.x + y, y: _.positionAbsolute.y + v };
|
|
2709
2709
|
l && (E.x = c[0] * Math.round(E.x / c[0]), E.y = c[1] * Math.round(E.y / c[1]));
|
|
2710
|
-
const { positionAbsolute: w, position: S } = xo(
|
|
2711
|
-
|
|
2710
|
+
const { positionAbsolute: w, position: S } = xo(_, E, s, o, void 0, d);
|
|
2711
|
+
_.position = S, _.positionAbsolute = w;
|
|
2712
2712
|
}
|
|
2713
|
-
return
|
|
2713
|
+
return _;
|
|
2714
2714
|
});
|
|
2715
2715
|
a(u, !0, !1);
|
|
2716
2716
|
}, []);
|
|
@@ -2722,16 +2722,16 @@ const k1 = {
|
|
|
2722
2722
|
ArrowRight: { x: 1, y: 0 }
|
|
2723
2723
|
};
|
|
2724
2724
|
var K1 = (e) => {
|
|
2725
|
-
const t = ({ id: n, type: s, data: o, xPos: a, yPos: i, xPosOrigin: l, yPosOrigin: c, selected: d, onClick: h, onMouseEnter: C, onMouseMove: m, onMouseLeave: f, onContextMenu: p, onDoubleClick: y, style: v, className: u, isDraggable:
|
|
2726
|
-
const O = Ce(), B = J(null), U = J(null), z = J(
|
|
2725
|
+
const t = ({ id: n, type: s, data: o, xPos: a, yPos: i, xPosOrigin: l, yPosOrigin: c, selected: d, onClick: h, onMouseEnter: C, onMouseMove: m, onMouseLeave: f, onContextMenu: p, onDoubleClick: y, style: v, className: u, isDraggable: _, isSelectable: E, isConnectable: w, isFocusable: S, selectNodesOnDrag: j, sourcePosition: b, targetPosition: H, hidden: M, resizeObserver: D, dragHandle: V, zIndex: $, isParent: Z, noDragClassName: x, noPanClassName: k, initialized: N, disableKeyboardA11y: I, ariaLabel: P, rfId: L, hasHandleBounds: F }) => {
|
|
2726
|
+
const O = Ce(), B = J(null), U = J(null), z = J(b), W = J(H), G = J(s), ee = E || _ || h || C || m || f, te = yo(), ne = Y1(n, O.getState, C), oe = Y1(n, O.getState, m), _e = Y1(n, O.getState, f), Ne = Y1(n, O.getState, p), Ve = Y1(n, O.getState, y), je = (ae) => {
|
|
2727
2727
|
const { nodeDragThreshold: K } = O.getState();
|
|
2728
|
-
if (E && (!j || !
|
|
2728
|
+
if (E && (!j || !_ || K > 0) && S2({
|
|
2729
2729
|
id: n,
|
|
2730
2730
|
store: O,
|
|
2731
2731
|
nodeRef: B
|
|
2732
2732
|
}), h) {
|
|
2733
|
-
const
|
|
2734
|
-
|
|
2733
|
+
const be = O.getState().nodeInternals.get(n);
|
|
2734
|
+
be && h(ae, { ...be });
|
|
2735
2735
|
}
|
|
2736
2736
|
}, he = (ae) => {
|
|
2737
2737
|
if (!y2(ae) && !I)
|
|
@@ -2743,7 +2743,7 @@ var K1 = (e) => {
|
|
|
2743
2743
|
unselect: K,
|
|
2744
2744
|
nodeRef: B
|
|
2745
2745
|
});
|
|
2746
|
-
} else
|
|
2746
|
+
} else _ && d && Object.prototype.hasOwnProperty.call(k1, ae.key) && (O.setState({
|
|
2747
2747
|
ariaLiveMessage: `Moved selected node ${ae.key.replace("Arrow", "").toLowerCase()}. New position, x: ${~~a}, y: ${~~i}`
|
|
2748
2748
|
}), te({
|
|
2749
2749
|
x: k1[ae.key].x,
|
|
@@ -2759,12 +2759,12 @@ var K1 = (e) => {
|
|
|
2759
2759
|
(!N || !F || U.current !== ae) && (U.current && (D == null || D.unobserve(U.current)), D == null || D.observe(ae), U.current = ae);
|
|
2760
2760
|
}
|
|
2761
2761
|
}, [M, N, F]), X(() => {
|
|
2762
|
-
const ae = G.current !== s, K = z.current !==
|
|
2763
|
-
B.current && (ae || K ||
|
|
2764
|
-
}, [n, s,
|
|
2762
|
+
const ae = G.current !== s, K = z.current !== b, be = W.current !== H;
|
|
2763
|
+
B.current && (ae || K || be) && (ae && (G.current = s), K && (z.current = b), be && (W.current = H), O.getState().updateNodeDimensions([{ id: n, nodeElement: B.current, forceUpdate: !0 }]));
|
|
2764
|
+
}, [n, s, b, H]);
|
|
2765
2765
|
const Oe = wo({
|
|
2766
2766
|
nodeRef: B,
|
|
2767
|
-
disabled: M || !
|
|
2767
|
+
disabled: M || !_,
|
|
2768
2768
|
noDragClassName: x,
|
|
2769
2769
|
handleSelector: V,
|
|
2770
2770
|
nodeId: n,
|
|
@@ -2778,7 +2778,7 @@ var K1 = (e) => {
|
|
|
2778
2778
|
`react-flow__node-${s}`,
|
|
2779
2779
|
{
|
|
2780
2780
|
// this is overwritable by passing `nopan` as a class name
|
|
2781
|
-
[k]:
|
|
2781
|
+
[k]: _
|
|
2782
2782
|
},
|
|
2783
2783
|
u,
|
|
2784
2784
|
{
|
|
@@ -2793,17 +2793,17 @@ var K1 = (e) => {
|
|
|
2793
2793
|
pointerEvents: ee ? "all" : "none",
|
|
2794
2794
|
visibility: N ? "visible" : "hidden",
|
|
2795
2795
|
...v
|
|
2796
|
-
}, "data-id": n, "data-testid": `rf__node-${n}`, onMouseEnter: ne, onMouseMove: oe, onMouseLeave:
|
|
2796
|
+
}, "data-id": n, "data-testid": `rf__node-${n}`, onMouseEnter: ne, onMouseMove: oe, onMouseLeave: _e, onContextMenu: Ne, onClick: je, onDoubleClick: Ve, onKeyDown: S ? he : void 0, tabIndex: S ? 0 : void 0, role: S ? "button" : void 0, "aria-describedby": I ? void 0 : `${uo}-${L}`, "aria-label": P },
|
|
2797
2797
|
T.createElement(
|
|
2798
2798
|
Ti,
|
|
2799
2799
|
{ value: n },
|
|
2800
|
-
T.createElement(e, { id: n, data: o, type: s, xPos: a, yPos: i, selected: d, isConnectable: w, sourcePosition:
|
|
2800
|
+
T.createElement(e, { id: n, data: o, type: s, xPos: a, yPos: i, selected: d, isConnectable: w, sourcePosition: b, targetPosition: H, dragging: Oe, dragHandle: V, zIndex: $ })
|
|
2801
2801
|
)
|
|
2802
2802
|
);
|
|
2803
2803
|
};
|
|
2804
2804
|
return t.displayName = "NodeWrapper", ce(t);
|
|
2805
2805
|
};
|
|
2806
|
-
const
|
|
2806
|
+
const _5 = (e) => {
|
|
2807
2807
|
const t = e.getNodes().filter((n) => n.selected);
|
|
2808
2808
|
return {
|
|
2809
2809
|
...R2(t, e.nodeOrigin),
|
|
@@ -2811,8 +2811,8 @@ const b5 = (e) => {
|
|
|
2811
2811
|
userSelectionActive: e.userSelectionActive
|
|
2812
2812
|
};
|
|
2813
2813
|
};
|
|
2814
|
-
function
|
|
2815
|
-
const s = Ce(), { width: o, height: a, x: i, y: l, transformString: c, userSelectionActive: d } = ie(
|
|
2814
|
+
function b5({ onSelectionContextMenu: e, noPanClassName: t, disableKeyboardA11y: n }) {
|
|
2815
|
+
const s = Ce(), { width: o, height: a, x: i, y: l, transformString: c, userSelectionActive: d } = ie(_5, ge), h = yo(), C = J(null);
|
|
2816
2816
|
if (X(() => {
|
|
2817
2817
|
var p;
|
|
2818
2818
|
n || (p = C.current) == null || p.focus({
|
|
@@ -2845,12 +2845,12 @@ function _5({ onSelectionContextMenu: e, noPanClassName: t, disableKeyboardA11y:
|
|
|
2845
2845
|
} })
|
|
2846
2846
|
);
|
|
2847
2847
|
}
|
|
2848
|
-
var S5 = ce(
|
|
2849
|
-
const L5 = (e) => e.nodesSelectionActive, Eo = ({ children: e, onPaneClick: t, onPaneMouseEnter: n, onPaneMouseMove: s, onPaneMouseLeave: o, onPaneContextMenu: a, onPaneScroll: i, deleteKeyCode: l, onMove: c, onMoveStart: d, onMoveEnd: h, selectionKeyCode: C, selectionOnDrag: m, selectionMode: f, onSelectionStart: p, onSelectionEnd: y, multiSelectionKeyCode: v, panActivationKeyCode: u, zoomActivationKeyCode:
|
|
2848
|
+
var S5 = ce(b5);
|
|
2849
|
+
const L5 = (e) => e.nodesSelectionActive, Eo = ({ children: e, onPaneClick: t, onPaneMouseEnter: n, onPaneMouseMove: s, onPaneMouseLeave: o, onPaneContextMenu: a, onPaneScroll: i, deleteKeyCode: l, onMove: c, onMoveStart: d, onMoveEnd: h, selectionKeyCode: C, selectionOnDrag: m, selectionMode: f, onSelectionStart: p, onSelectionEnd: y, multiSelectionKeyCode: v, panActivationKeyCode: u, zoomActivationKeyCode: _, elementsSelectable: E, zoomOnScroll: w, zoomOnPinch: S, panOnScroll: j, panOnScrollSpeed: b, panOnScrollMode: H, zoomOnDoubleClick: M, panOnDrag: D, defaultViewport: V, translateExtent: $, minZoom: Z, maxZoom: x, preventScrolling: k, onSelectionContextMenu: N, noWheelClassName: I, noPanClassName: P, disableKeyboardA11y: L }) => {
|
|
2850
2850
|
const F = ie(L5), O = Q1(C), B = Q1(u), U = B || D, z = B || j, W = O || m && U !== !0;
|
|
2851
2851
|
return d5({ deleteKeyCode: l, multiSelectionKeyCode: v }), T.createElement(
|
|
2852
2852
|
C5,
|
|
2853
|
-
{ onMove: c, onMoveStart: d, onMoveEnd: h, onPaneContextMenu: a, elementsSelectable: E, zoomOnScroll: w, zoomOnPinch: S, panOnScroll: z, panOnScrollSpeed:
|
|
2853
|
+
{ onMove: c, onMoveStart: d, onMoveEnd: h, onPaneContextMenu: a, elementsSelectable: E, zoomOnScroll: w, zoomOnPinch: S, panOnScroll: z, panOnScrollSpeed: b, panOnScrollMode: H, zoomOnDoubleClick: M, panOnDrag: !O && U, defaultViewport: V, translateExtent: $, minZoom: Z, maxZoom: x, zoomActivationKeyCode: _, preventScrolling: k, noWheelClassName: I, noPanClassName: P },
|
|
2854
2854
|
T.createElement(
|
|
2855
2855
|
mo,
|
|
2856
2856
|
{ onSelectionStart: p, onSelectionEnd: y, onPaneClick: t, onPaneMouseEnter: n, onPaneMouseMove: s, onPaneMouseLeave: o, onPaneContextMenu: a, onPaneScroll: i, panOnDrag: U, isSelecting: !!W, selectionMode: f },
|
|
@@ -2867,10 +2867,10 @@ function j5(e) {
|
|
|
2867
2867
|
function M5(e) {
|
|
2868
2868
|
const t = {
|
|
2869
2869
|
input: K1(e.input || ao),
|
|
2870
|
-
default: K1(e.default ||
|
|
2870
|
+
default: K1(e.default || b2),
|
|
2871
2871
|
output: K1(e.output || lo),
|
|
2872
2872
|
group: K1(e.group || $2)
|
|
2873
|
-
}, n = {}, s = Object.keys(e).filter((o) => !["input", "default", "output", "group"].includes(o)).reduce((o, a) => (o[a] = K1(e[a] ||
|
|
2873
|
+
}, n = {}, s = Object.keys(e).filter((o) => !["input", "default", "output", "group"].includes(o)).reduce((o, a) => (o[a] = K1(e[a] || b2), o), n);
|
|
2874
2874
|
return {
|
|
2875
2875
|
...t,
|
|
2876
2876
|
...s
|
|
@@ -2904,35 +2904,35 @@ const k5 = ({ x: e, y: t, width: n, height: s, origin: o }) => !n || !s ? { x: e
|
|
|
2904
2904
|
var h;
|
|
2905
2905
|
(h = c == null ? void 0 : c.current) == null || h.disconnect();
|
|
2906
2906
|
}, []), T.createElement("div", { className: "react-flow__nodes", style: W2 }, l.map((h) => {
|
|
2907
|
-
var S, j,
|
|
2907
|
+
var S, j, b;
|
|
2908
2908
|
let C = h.type || "default";
|
|
2909
2909
|
e.nodeTypes[C] || (i == null || i("003", Fe.error003(C)), C = "default");
|
|
2910
|
-
const m = e.nodeTypes[C] || e.nodeTypes.default, f = !!(h.draggable || t && typeof h.draggable > "u"), p = !!(h.selectable || o && typeof h.selectable > "u"), y = !!(h.connectable || n && typeof h.connectable > "u"), v = !!(h.focusable || s && typeof h.focusable > "u"), u = e.nodeExtent ? D2(h.positionAbsolute, e.nodeExtent) : h.positionAbsolute,
|
|
2911
|
-
x:
|
|
2910
|
+
const m = e.nodeTypes[C] || e.nodeTypes.default, f = !!(h.draggable || t && typeof h.draggable > "u"), p = !!(h.selectable || o && typeof h.selectable > "u"), y = !!(h.connectable || n && typeof h.connectable > "u"), v = !!(h.focusable || s && typeof h.focusable > "u"), u = e.nodeExtent ? D2(h.positionAbsolute, e.nodeExtent) : h.positionAbsolute, _ = (u == null ? void 0 : u.x) ?? 0, E = (u == null ? void 0 : u.y) ?? 0, w = k5({
|
|
2911
|
+
x: _,
|
|
2912
2912
|
y: E,
|
|
2913
2913
|
width: h.width ?? 0,
|
|
2914
2914
|
height: h.height ?? 0,
|
|
2915
2915
|
origin: e.nodeOrigin
|
|
2916
2916
|
});
|
|
2917
|
-
return T.createElement(m, { key: h.id, id: h.id, className: h.className, style: h.style, type: C, data: h.data, sourcePosition: h.sourcePosition || Y.Bottom, targetPosition: h.targetPosition || Y.Top, hidden: h.hidden, xPos:
|
|
2917
|
+
return T.createElement(m, { key: h.id, id: h.id, className: h.className, style: h.style, type: C, data: h.data, sourcePosition: h.sourcePosition || Y.Bottom, targetPosition: h.targetPosition || Y.Top, hidden: h.hidden, xPos: _, yPos: E, xPosOrigin: w.x, yPosOrigin: w.y, selectNodesOnDrag: e.selectNodesOnDrag, onClick: e.onNodeClick, onMouseEnter: e.onNodeMouseEnter, onMouseMove: e.onNodeMouseMove, onMouseLeave: e.onNodeMouseLeave, onContextMenu: e.onNodeContextMenu, onDoubleClick: e.onNodeDoubleClick, selected: !!h.selected, isDraggable: f, isSelectable: p, isConnectable: y, isFocusable: v, resizeObserver: d, dragHandle: h.dragHandle, zIndex: ((S = h[le]) == null ? void 0 : S.z) ?? 0, isParent: !!((j = h[le]) != null && j.isParent), noDragClassName: e.noDragClassName, noPanClassName: e.noPanClassName, initialized: !!h.width && !!h.height, rfId: e.rfId, disableKeyboardA11y: e.disableKeyboardA11y, ariaLabel: h.ariaLabel, hasHandleBounds: !!((b = h[le]) != null && b.handleBounds) });
|
|
2918
2918
|
}));
|
|
2919
2919
|
};
|
|
2920
2920
|
vo.displayName = "NodeRenderer";
|
|
2921
2921
|
var A5 = ce(vo);
|
|
2922
2922
|
const V5 = (e, t, n) => n === Y.Left ? e - t : n === Y.Right ? e + t : e, T5 = (e, t, n) => n === Y.Top ? e - t : n === Y.Bottom ? e + t : e, Wn = "react-flow__edgeupdater", Un = ({ position: e, centerX: t, centerY: n, radius: s = 10, onMouseDown: o, onMouseEnter: a, onMouseOut: i, type: l }) => T.createElement("circle", { onMouseDown: o, onMouseEnter: a, onMouseOut: i, className: Ee([Wn, `${Wn}-${l}`]), cx: V5(t, s, e), cy: T5(n, s, e), r: s, stroke: "transparent", fill: "transparent" }), I5 = () => !0;
|
|
2923
2923
|
var S1 = (e) => {
|
|
2924
|
-
const t = ({ id: n, className: s, type: o, data: a, onClick: i, onEdgeDoubleClick: l, selected: c, animated: d, label: h, labelStyle: C, labelShowBg: m, labelBgStyle: f, labelBgPadding: p, labelBgBorderRadius: y, style: v, source: u, target:
|
|
2925
|
-
const oe = J(null), [
|
|
2924
|
+
const t = ({ id: n, className: s, type: o, data: a, onClick: i, onEdgeDoubleClick: l, selected: c, animated: d, label: h, labelStyle: C, labelShowBg: m, labelBgStyle: f, labelBgPadding: p, labelBgBorderRadius: y, style: v, source: u, target: _, sourceX: E, sourceY: w, targetX: S, targetY: j, sourcePosition: b, targetPosition: H, elementsSelectable: M, hidden: D, sourceHandleId: V, targetHandleId: $, onContextMenu: Z, onMouseEnter: x, onMouseMove: k, onMouseLeave: N, reconnectRadius: I, onReconnect: P, onReconnectStart: L, onReconnectEnd: F, markerEnd: O, markerStart: B, rfId: U, ariaLabel: z, isFocusable: W, isReconnectable: G, pathOptions: ee, interactionWidth: te, disableKeyboardA11y: ne }) => {
|
|
2925
|
+
const oe = J(null), [_e, Ne] = se(!1), [Ve, je] = se(!1), he = Ce(), Oe = we(() => `url('#${v2(B, U)}')`, [B, U]), ae = we(() => `url('#${v2(O, U)}')`, [O, U]);
|
|
2926
2926
|
if (D)
|
|
2927
2927
|
return null;
|
|
2928
2928
|
const K = (pe) => {
|
|
2929
2929
|
var Re;
|
|
2930
2930
|
const { edges: Te, addSelectedEdges: r1, unselectNodesAndEdges: a1, multiSelectionActive: i1 } = he.getState(), We = Te.find((z1) => z1.id === n);
|
|
2931
2931
|
We && (M && (he.setState({ nodesSelectionActive: !1 }), We.selected && i1 ? (a1({ nodes: [], edges: [We] }), (Re = oe.current) == null || Re.blur()) : r1([n])), i && i(pe, We));
|
|
2932
|
-
},
|
|
2932
|
+
}, be = U1(n, he.getState, l), n1 = U1(n, he.getState, Z), O1 = U1(n, he.getState, x), p1 = U1(n, he.getState, k), x1 = U1(n, he.getState, N), $e = (pe, Te) => {
|
|
2933
2933
|
if (pe.button !== 0)
|
|
2934
2934
|
return;
|
|
2935
|
-
const { edges: r1, isValidConnection: a1 } = he.getState(), i1 = Te ?
|
|
2935
|
+
const { edges: r1, isValidConnection: a1 } = he.getState(), i1 = Te ? _ : u, We = (Te ? $ : V) || null, Re = Te ? "target" : "source", z1 = a1 || I5, Kt = Te, $1 = r1.find((l1) => l1.id === n);
|
|
2936
2936
|
je(!0), L == null || L(pe, $1, Re);
|
|
2937
2937
|
const Xt = (l1) => {
|
|
2938
2938
|
je(!1), F == null || F(l1, $1, Re);
|
|
@@ -2962,13 +2962,13 @@ var S1 = (e) => {
|
|
|
2962
2962
|
"react-flow__edge",
|
|
2963
2963
|
`react-flow__edge-${o}`,
|
|
2964
2964
|
s,
|
|
2965
|
-
{ selected: c, animated: d, inactive: E1, updating:
|
|
2966
|
-
]), onClick: K, onDoubleClick:
|
|
2967
|
-
!Ve && T.createElement(e, { id: n, source: u, target:
|
|
2965
|
+
{ selected: c, animated: d, inactive: E1, updating: _e }
|
|
2966
|
+
]), onClick: K, onDoubleClick: be, onContextMenu: n1, onMouseEnter: O1, onMouseMove: p1, onMouseLeave: x1, onKeyDown: W ? R1 : void 0, tabIndex: W ? 0 : void 0, role: W ? "button" : "img", "data-testid": `rf__edge-${n}`, "aria-label": z === null ? void 0 : z || `Edge from ${u} to ${_}`, "aria-describedby": W ? `${ho}-${U}` : void 0, ref: oe },
|
|
2967
|
+
!Ve && T.createElement(e, { id: n, source: u, target: _, selected: c, animated: d, label: h, labelStyle: C, labelShowBg: m, labelBgStyle: f, labelBgPadding: p, labelBgBorderRadius: y, data: a, style: v, sourceX: E, sourceY: w, targetX: S, targetY: j, sourcePosition: b, targetPosition: H, sourceHandleId: V, targetHandleId: $, markerStart: Oe, markerEnd: ae, pathOptions: ee, interactionWidth: te }),
|
|
2968
2968
|
G && T.createElement(
|
|
2969
2969
|
T.Fragment,
|
|
2970
2970
|
null,
|
|
2971
|
-
(G === "source" || G === !0) && T.createElement(Un, { position:
|
|
2971
|
+
(G === "source" || G === !0) && T.createElement(Un, { position: b, centerX: E, centerY: w, radius: I, onMouseDown: w1, onMouseEnter: o1, onMouseOut: y1, type: "source" }),
|
|
2972
2972
|
(G === "target" || G === !0) && T.createElement(Un, { position: H, centerX: S, centerY: j, radius: I, onMouseDown: s1, onMouseEnter: o1, onMouseOut: y1, type: "target" })
|
|
2973
2973
|
)
|
|
2974
2974
|
);
|
|
@@ -3102,8 +3102,8 @@ const R5 = ({ color: e = "none", strokeWidth: t = 1 }) => T.createElement("polyl
|
|
|
3102
3102
|
fill: e,
|
|
3103
3103
|
strokeWidth: t
|
|
3104
3104
|
}, strokeLinecap: "round", strokeLinejoin: "round", points: "-5,-4 0,0 -5,4 -5,-4" }), Gn = {
|
|
3105
|
-
[
|
|
3106
|
-
[
|
|
3105
|
+
[bt.Arrow]: R5,
|
|
3106
|
+
[bt.ArrowClosed]: z5
|
|
3107
3107
|
};
|
|
3108
3108
|
function $5(e) {
|
|
3109
3109
|
const t = Ce();
|
|
@@ -3127,7 +3127,7 @@ const W5 = ({ id: e, type: t, color: n, width: s = 12.5, height: o = 12.5, marke
|
|
|
3127
3127
|
s.includes(l) || (o.push({ id: l, color: i.color || e, ...i }), s.push(l));
|
|
3128
3128
|
}
|
|
3129
3129
|
}), o), []).sort((o, a) => o.id.localeCompare(a.id));
|
|
3130
|
-
},
|
|
3130
|
+
}, _o = ({ defaultColor: e, rfId: t }) => {
|
|
3131
3131
|
const n = ie(
|
|
3132
3132
|
re(U5({ defaultColor: e, rfId: t }), [e, t]),
|
|
3133
3133
|
// the id includes all marker options, so we just need to look at that part of the marker
|
|
@@ -3135,8 +3135,8 @@ const W5 = ({ id: e, type: t, color: n, width: s = 12.5, height: o = 12.5, marke
|
|
|
3135
3135
|
);
|
|
3136
3136
|
return T.createElement("defs", null, n.map((s) => T.createElement(W5, { id: s.id, key: s.id, type: s.type, color: s.color, width: s.width, height: s.height, markerUnits: s.markerUnits, strokeWidth: s.strokeWidth, orient: s.orient })));
|
|
3137
3137
|
};
|
|
3138
|
-
|
|
3139
|
-
var Y5 = ce(
|
|
3138
|
+
_o.displayName = "MarkerDefinitions";
|
|
3139
|
+
var Y5 = ce(_o);
|
|
3140
3140
|
const K5 = (e) => ({
|
|
3141
3141
|
nodesConnectable: e.nodesConnectable,
|
|
3142
3142
|
edgesFocusable: e.edgesFocusable,
|
|
@@ -3147,8 +3147,8 @@ const K5 = (e) => ({
|
|
|
3147
3147
|
connectionMode: e.connectionMode,
|
|
3148
3148
|
nodeInternals: e.nodeInternals,
|
|
3149
3149
|
onError: e.onError
|
|
3150
|
-
}),
|
|
3151
|
-
const { edgesFocusable:
|
|
3150
|
+
}), bo = ({ defaultMarkerColor: e, onlyRenderVisibleElements: t, elevateEdgesOnSelect: n, rfId: s, edgeTypes: o, noPanClassName: a, onEdgeContextMenu: i, onEdgeMouseEnter: l, onEdgeMouseMove: c, onEdgeMouseLeave: d, onEdgeClick: h, onEdgeDoubleClick: C, onReconnect: m, onReconnectStart: f, onReconnectEnd: p, reconnectRadius: y, children: v, disableKeyboardA11y: u }) => {
|
|
3151
|
+
const { edgesFocusable: _, edgesUpdatable: E, elementsSelectable: w, width: S, height: j, connectionMode: b, nodeInternals: H, onError: M } = ie(K5, ge), D = O5(t, H, n);
|
|
3152
3152
|
return S ? T.createElement(
|
|
3153
3153
|
T.Fragment,
|
|
3154
3154
|
null,
|
|
@@ -3162,18 +3162,18 @@ const K5 = (e) => ({
|
|
|
3162
3162
|
return null;
|
|
3163
3163
|
let O = x.type || "default";
|
|
3164
3164
|
o[O] || (M == null || M("011", Fe.error011(O)), O = "default");
|
|
3165
|
-
const B = o[O] || o.default, U =
|
|
3165
|
+
const B = o[O] || o.default, U = b === f1.Strict ? L.target : (L.target ?? []).concat(L.source ?? []), z = Kn(N.source, x.sourceHandle), W = Kn(U, x.targetHandle), G = (z == null ? void 0 : z.position) || Y.Bottom, ee = (W == null ? void 0 : W.position) || Y.Top, te = !!(x.focusable || _ && typeof x.focusable > "u"), ne = x.reconnectable || x.updatable, oe = typeof m < "u" && (ne || E && typeof ne > "u");
|
|
3166
3166
|
if (!z || !W)
|
|
3167
3167
|
return M == null || M("008", Fe.error008(z, x)), null;
|
|
3168
|
-
const { sourceX:
|
|
3169
|
-
return T.createElement(B, { key: x.id, id: x.id, className: Ee([x.className, a]), type: O, data: x.data, selected: !!x.selected, animated: !!x.animated, hidden: !!x.hidden, label: x.label, labelStyle: x.labelStyle, labelShowBg: x.labelShowBg, labelBgStyle: x.labelBgStyle, labelBgPadding: x.labelBgPadding, labelBgBorderRadius: x.labelBgBorderRadius, style: x.style, source: x.source, target: x.target, sourceHandleId: x.sourceHandle, targetHandleId: x.targetHandle, markerEnd: x.markerEnd, markerStart: x.markerStart, sourceX:
|
|
3168
|
+
const { sourceX: _e, sourceY: Ne, targetX: Ve, targetY: je } = Z5(k, z, G, P, W, ee);
|
|
3169
|
+
return T.createElement(B, { key: x.id, id: x.id, className: Ee([x.className, a]), type: O, data: x.data, selected: !!x.selected, animated: !!x.animated, hidden: !!x.hidden, label: x.label, labelStyle: x.labelStyle, labelShowBg: x.labelShowBg, labelBgStyle: x.labelBgStyle, labelBgPadding: x.labelBgPadding, labelBgBorderRadius: x.labelBgBorderRadius, style: x.style, source: x.source, target: x.target, sourceHandleId: x.sourceHandle, targetHandleId: x.targetHandle, markerEnd: x.markerEnd, markerStart: x.markerStart, sourceX: _e, sourceY: Ne, targetX: Ve, targetY: je, sourcePosition: G, targetPosition: ee, elementsSelectable: w, onContextMenu: i, onMouseEnter: l, onMouseMove: c, onMouseLeave: d, onClick: h, onEdgeDoubleClick: C, onReconnect: m, onReconnectStart: f, onReconnectEnd: p, reconnectRadius: y, rfId: s, ariaLabel: x.ariaLabel, isFocusable: te, isReconnectable: oe, pathOptions: "pathOptions" in x ? x.pathOptions : void 0, interactionWidth: x.interactionWidth, disableKeyboardA11y: u });
|
|
3170
3170
|
}))
|
|
3171
3171
|
)),
|
|
3172
3172
|
v
|
|
3173
3173
|
) : null;
|
|
3174
3174
|
};
|
|
3175
|
-
|
|
3176
|
-
var X5 = ce(
|
|
3175
|
+
bo.displayName = "EdgeRenderer";
|
|
3176
|
+
var X5 = ce(bo);
|
|
3177
3177
|
const G5 = (e) => `translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`;
|
|
3178
3178
|
function q5({ children: e }) {
|
|
3179
3179
|
const t = ie(G5);
|
|
@@ -3191,7 +3191,7 @@ const Q5 = {
|
|
|
3191
3191
|
[Y.Top]: Y.Bottom,
|
|
3192
3192
|
[Y.Bottom]: Y.Top
|
|
3193
3193
|
}, So = ({ nodeId: e, handleType: t, style: n, type: s = Je.Bezier, CustomComponent: o, connectionStatus: a }) => {
|
|
3194
|
-
var j,
|
|
3194
|
+
var j, b, H;
|
|
3195
3195
|
const { fromNode: i, handleId: l, toX: c, toY: d, connectionMode: h } = ie(re((M) => ({
|
|
3196
3196
|
fromNode: M.nodeInternals.get(e),
|
|
3197
3197
|
handleId: M.connectionHandleId,
|
|
@@ -3202,16 +3202,16 @@ const Q5 = {
|
|
|
3202
3202
|
let m = C == null ? void 0 : C[t];
|
|
3203
3203
|
if (h === f1.Loose && (m = m || (C == null ? void 0 : C[t === "source" ? "target" : "source"])), !i || !m)
|
|
3204
3204
|
return null;
|
|
3205
|
-
const f = l ? m.find((M) => M.id === l) : m[0], p = f ? f.x + f.width / 2 : (i.width ?? 0) / 2, y = f ? f.y + f.height / 2 : i.height ?? 0, v = (((
|
|
3206
|
-
if (!
|
|
3205
|
+
const f = l ? m.find((M) => M.id === l) : m[0], p = f ? f.x + f.width / 2 : (i.width ?? 0) / 2, y = f ? f.y + f.height / 2 : i.height ?? 0, v = (((b = i.positionAbsolute) == null ? void 0 : b.x) ?? 0) + p, u = (((H = i.positionAbsolute) == null ? void 0 : H.y) ?? 0) + y, _ = f == null ? void 0 : f.position, E = _ ? Q5[_] : null;
|
|
3206
|
+
if (!_ || !E)
|
|
3207
3207
|
return null;
|
|
3208
3208
|
if (o)
|
|
3209
|
-
return T.createElement(o, { connectionLineType: s, connectionLineStyle: n, fromNode: i, fromHandle: f, fromX: v, fromY: u, toX: c, toY: d, fromPosition:
|
|
3209
|
+
return T.createElement(o, { connectionLineType: s, connectionLineStyle: n, fromNode: i, fromHandle: f, fromX: v, fromY: u, toX: c, toY: d, fromPosition: _, toPosition: E, connectionStatus: a });
|
|
3210
3210
|
let w = "";
|
|
3211
3211
|
const S = {
|
|
3212
3212
|
sourceX: v,
|
|
3213
3213
|
sourceY: u,
|
|
3214
|
-
sourcePosition:
|
|
3214
|
+
sourcePosition: _,
|
|
3215
3215
|
targetX: c,
|
|
3216
3216
|
targetY: d,
|
|
3217
3217
|
targetPosition: E
|
|
@@ -3253,18 +3253,18 @@ function qn(e, t) {
|
|
|
3253
3253
|
return t(e);
|
|
3254
3254
|
}, [e]);
|
|
3255
3255
|
}
|
|
3256
|
-
const Lo = ({ nodeTypes: e, edgeTypes: t, onMove: n, onMoveStart: s, onMoveEnd: o, onInit: a, onNodeClick: i, onEdgeClick: l, onNodeDoubleClick: c, onEdgeDoubleClick: d, onNodeMouseEnter: h, onNodeMouseMove: C, onNodeMouseLeave: m, onNodeContextMenu: f, onSelectionContextMenu: p, onSelectionStart: y, onSelectionEnd: v, connectionLineType: u, connectionLineStyle:
|
|
3256
|
+
const Lo = ({ nodeTypes: e, edgeTypes: t, onMove: n, onMoveStart: s, onMoveEnd: o, onInit: a, onNodeClick: i, onEdgeClick: l, onNodeDoubleClick: c, onEdgeDoubleClick: d, onNodeMouseEnter: h, onNodeMouseMove: C, onNodeMouseLeave: m, onNodeContextMenu: f, onSelectionContextMenu: p, onSelectionStart: y, onSelectionEnd: v, connectionLineType: u, connectionLineStyle: _, connectionLineComponent: E, connectionLineContainerStyle: w, selectionKeyCode: S, selectionOnDrag: j, selectionMode: b, multiSelectionKeyCode: H, panActivationKeyCode: M, zoomActivationKeyCode: D, deleteKeyCode: V, onlyRenderVisibleElements: $, elementsSelectable: Z, selectNodesOnDrag: x, defaultViewport: k, translateExtent: N, minZoom: I, maxZoom: P, preventScrolling: L, defaultMarkerColor: F, zoomOnScroll: O, zoomOnPinch: B, panOnScroll: U, panOnScrollSpeed: z, panOnScrollMode: W, zoomOnDoubleClick: G, panOnDrag: ee, onPaneClick: te, onPaneMouseEnter: ne, onPaneMouseMove: oe, onPaneMouseLeave: _e, onPaneScroll: Ne, onPaneContextMenu: Ve, onEdgeContextMenu: je, onEdgeMouseEnter: he, onEdgeMouseMove: Oe, onEdgeMouseLeave: ae, onReconnect: K, onReconnectStart: be, onReconnectEnd: n1, reconnectRadius: O1, noDragClassName: p1, noWheelClassName: x1, noPanClassName: $e, elevateEdgesOnSelect: w1, disableKeyboardA11y: s1, nodeOrigin: o1, nodeExtent: y1, rfId: E1 }) => {
|
|
3257
3257
|
const R1 = qn(e, M5), pe = qn(t, D5);
|
|
3258
3258
|
return J5(a), T.createElement(
|
|
3259
3259
|
N5,
|
|
3260
|
-
{ onPaneClick: te, onPaneMouseEnter: ne, onPaneMouseMove: oe, onPaneMouseLeave:
|
|
3260
|
+
{ onPaneClick: te, onPaneMouseEnter: ne, onPaneMouseMove: oe, onPaneMouseLeave: _e, onPaneContextMenu: Ve, onPaneScroll: Ne, deleteKeyCode: V, selectionKeyCode: S, selectionOnDrag: j, selectionMode: b, onSelectionStart: y, onSelectionEnd: v, multiSelectionKeyCode: H, panActivationKeyCode: M, zoomActivationKeyCode: D, elementsSelectable: Z, onMove: n, onMoveStart: s, onMoveEnd: o, zoomOnScroll: O, zoomOnPinch: B, zoomOnDoubleClick: G, panOnScroll: U, panOnScrollSpeed: z, panOnScrollMode: W, panOnDrag: ee, defaultViewport: k, translateExtent: N, minZoom: I, maxZoom: P, onSelectionContextMenu: p, preventScrolling: L, noDragClassName: p1, noWheelClassName: x1, noPanClassName: $e, disableKeyboardA11y: s1 },
|
|
3261
3261
|
T.createElement(
|
|
3262
3262
|
q5,
|
|
3263
3263
|
null,
|
|
3264
3264
|
T.createElement(
|
|
3265
3265
|
X5,
|
|
3266
|
-
{ edgeTypes: pe, onEdgeClick: l, onEdgeDoubleClick: d, onlyRenderVisibleElements: $, onEdgeContextMenu: je, onEdgeMouseEnter: he, onEdgeMouseMove: Oe, onEdgeMouseLeave: ae, onReconnect: K, onReconnectStart:
|
|
3267
|
-
T.createElement(t3, { style:
|
|
3266
|
+
{ edgeTypes: pe, onEdgeClick: l, onEdgeDoubleClick: d, onlyRenderVisibleElements: $, onEdgeContextMenu: je, onEdgeMouseEnter: he, onEdgeMouseMove: Oe, onEdgeMouseLeave: ae, onReconnect: K, onReconnectStart: be, onReconnectEnd: n1, reconnectRadius: O1, defaultMarkerColor: F, noPanClassName: $e, elevateEdgesOnSelect: !!w1, disableKeyboardA11y: s1, rfId: E1 },
|
|
3267
|
+
T.createElement(t3, { style: _, type: u, component: E, containerStyle: w })
|
|
3268
3268
|
),
|
|
3269
3269
|
T.createElement("div", { className: "react-flow__edgelabel-renderer" }),
|
|
3270
3270
|
T.createElement(A5, { nodeTypes: R1, onNodeClick: i, onNodeDoubleClick: c, onNodeMouseEnter: h, onNodeMouseMove: C, onNodeMouseLeave: m, onNodeContextMenu: f, selectNodesOnDrag: x, onlyRenderVisibleElements: $, noPanClassName: $e, noDragClassName: p1, disableKeyboardA11y: s1, nodeOrigin: o1, nodeExtent: y1, rfId: E1 })
|
|
@@ -3364,8 +3364,8 @@ const L2 = [
|
|
|
3364
3364
|
}
|
|
3365
3365
|
});
|
|
3366
3366
|
else if (u) {
|
|
3367
|
-
const
|
|
3368
|
-
!!(
|
|
3367
|
+
const _ = I2(v.nodeElement);
|
|
3368
|
+
!!(_.width && _.height && (u.width !== _.width || u.height !== _.height || v.forceUpdate)) && (o.set(u.id, {
|
|
3369
3369
|
...u,
|
|
3370
3370
|
[le]: {
|
|
3371
3371
|
...u[le],
|
|
@@ -3374,11 +3374,11 @@ const L2 = [
|
|
|
3374
3374
|
target: $n(".target", v.nodeElement, m, d)
|
|
3375
3375
|
}
|
|
3376
3376
|
},
|
|
3377
|
-
...
|
|
3377
|
+
..._
|
|
3378
3378
|
}), y.push({
|
|
3379
3379
|
id: u.id,
|
|
3380
3380
|
type: "dimensions",
|
|
3381
|
-
dimensions:
|
|
3381
|
+
dimensions: _
|
|
3382
3382
|
}));
|
|
3383
3383
|
}
|
|
3384
3384
|
return y;
|
|
@@ -3495,7 +3495,7 @@ const No = ({ children: e }) => Ae(Zt) ? T.createElement(T.Fragment, null, e) :
|
|
|
3495
3495
|
No.displayName = "ReactFlowWrapper";
|
|
3496
3496
|
const o3 = {
|
|
3497
3497
|
input: ao,
|
|
3498
|
-
default:
|
|
3498
|
+
default: b2,
|
|
3499
3499
|
output: lo,
|
|
3500
3500
|
group: $2
|
|
3501
3501
|
}, r3 = {
|
|
@@ -3510,7 +3510,7 @@ const o3 = {
|
|
|
3510
3510
|
overflow: "hidden",
|
|
3511
3511
|
position: "relative",
|
|
3512
3512
|
zIndex: 0
|
|
3513
|
-
}, Pt = A2(({ nodes: e, edges: t, defaultNodes: n, defaultEdges: s, className: o, nodeTypes: a = o3, edgeTypes: i = r3, onNodeClick: l, onEdgeClick: c, onInit: d, onMove: h, onMoveStart: C, onMoveEnd: m, onConnect: f, onConnectStart: p, onConnectEnd: y, onClickConnectStart: v, onClickConnectEnd: u, onNodeMouseEnter:
|
|
3513
|
+
}, Pt = A2(({ nodes: e, edges: t, defaultNodes: n, defaultEdges: s, className: o, nodeTypes: a = o3, edgeTypes: i = r3, onNodeClick: l, onEdgeClick: c, onInit: d, onMove: h, onMoveStart: C, onMoveEnd: m, onConnect: f, onConnectStart: p, onConnectEnd: y, onClickConnectStart: v, onClickConnectEnd: u, onNodeMouseEnter: _, onNodeMouseMove: E, onNodeMouseLeave: w, onNodeContextMenu: S, onNodeDoubleClick: j, onNodeDragStart: b, onNodeDrag: H, onNodeDragStop: M, onNodesDelete: D, onEdgesDelete: V, onSelectionChange: $, onSelectionDragStart: Z, onSelectionDrag: x, onSelectionDragStop: k, onSelectionContextMenu: N, onSelectionStart: I, onSelectionEnd: P, connectionMode: L = f1.Strict, connectionLineType: F = Je.Bezier, connectionLineStyle: O, connectionLineComponent: B, connectionLineContainerStyle: U, deleteKeyCode: z = "Backspace", selectionKeyCode: W = "Shift", selectionOnDrag: G = !1, selectionMode: ee = J1.Full, panActivationKeyCode: te = "Space", multiSelectionKeyCode: ne = _t() ? "Meta" : "Control", zoomActivationKeyCode: oe = _t() ? "Meta" : "Control", snapToGrid: _e = !1, snapGrid: Ne = i3, onlyRenderVisibleElements: Ve = !1, selectNodesOnDrag: je = !0, nodesDraggable: he, nodesConnectable: Oe, nodesFocusable: ae, nodeOrigin: K = a3, edgesFocusable: be, edgesUpdatable: n1, elementsSelectable: O1, defaultViewport: p1 = l3, minZoom: x1 = 0.5, maxZoom: $e = 2, translateExtent: w1 = L2, preventScrolling: s1 = !0, nodeExtent: o1, defaultMarkerColor: y1 = "#b1b1b7", zoomOnScroll: E1 = !0, zoomOnPinch: R1 = !0, panOnScroll: pe = !1, panOnScrollSpeed: Te = 0.5, panOnScrollMode: r1 = u1.Free, zoomOnDoubleClick: a1 = !0, panOnDrag: i1 = !0, onPaneClick: We, onPaneMouseEnter: Re, onPaneMouseMove: z1, onPaneMouseLeave: Kt, onPaneScroll: $1, onPaneContextMenu: Xt, children: mn, onEdgeContextMenu: l1, onEdgeDoubleClick: lr, onEdgeMouseEnter: cr, onEdgeMouseMove: dr, onEdgeMouseLeave: ur, onEdgeUpdate: hr, onEdgeUpdateStart: fr, onEdgeUpdateEnd: Cr, onReconnect: gr, onReconnectStart: mr, onReconnectEnd: pr, reconnectRadius: xr = 10, edgeUpdaterRadius: wr = 10, onNodesChange: yr, onEdgesChange: Er, noDragClassName: vr = "nodrag", noWheelClassName: _r = "nowheel", noPanClassName: pn = "nopan", fitView: br = !1, fitViewOptions: Sr, connectOnClick: Lr = !0, attributionPosition: Nr, proOptions: jr, defaultEdgeOptions: Mr, elevateNodesOnSelect: kr = !0, elevateEdgesOnSelect: Hr = !1, disableKeyboardA11y: xn = !1, autoPanOnConnect: Ar = !0, autoPanOnNodeDrag: Vr = !0, connectionRadius: Tr = 20, isValidConnection: Ir, onError: Dr, style: Zr, id: wn, nodeDragThreshold: Fr, ...Pr }, Br) => {
|
|
3514
3514
|
const Gt = wn || "1";
|
|
3515
3515
|
return T.createElement(
|
|
3516
3516
|
"div",
|
|
@@ -3518,11 +3518,11 @@ const o3 = {
|
|
|
3518
3518
|
T.createElement(
|
|
3519
3519
|
No,
|
|
3520
3520
|
null,
|
|
3521
|
-
T.createElement(n3, { onInit: d, onMove: h, onMoveStart: C, onMoveEnd: m, onNodeClick: l, onEdgeClick: c, onNodeMouseEnter:
|
|
3522
|
-
T.createElement(Ji, { nodes: e, edges: t, defaultNodes: n, defaultEdges: s, onConnect: f, onConnectStart: p, onConnectEnd: y, onClickConnectStart: v, onClickConnectEnd: u, nodesDraggable: he, nodesConnectable: Oe, nodesFocusable: ae, edgesFocusable:
|
|
3521
|
+
T.createElement(n3, { onInit: d, onMove: h, onMoveStart: C, onMoveEnd: m, onNodeClick: l, onEdgeClick: c, onNodeMouseEnter: _, onNodeMouseMove: E, onNodeMouseLeave: w, onNodeContextMenu: S, onNodeDoubleClick: j, nodeTypes: a, edgeTypes: i, connectionLineType: F, connectionLineStyle: O, connectionLineComponent: B, connectionLineContainerStyle: U, selectionKeyCode: W, selectionOnDrag: G, selectionMode: ee, deleteKeyCode: z, multiSelectionKeyCode: ne, panActivationKeyCode: te, zoomActivationKeyCode: oe, onlyRenderVisibleElements: Ve, selectNodesOnDrag: je, defaultViewport: p1, translateExtent: w1, minZoom: x1, maxZoom: $e, preventScrolling: s1, zoomOnScroll: E1, zoomOnPinch: R1, zoomOnDoubleClick: a1, panOnScroll: pe, panOnScrollSpeed: Te, panOnScrollMode: r1, panOnDrag: i1, onPaneClick: We, onPaneMouseEnter: Re, onPaneMouseMove: z1, onPaneMouseLeave: Kt, onPaneScroll: $1, onPaneContextMenu: Xt, onSelectionContextMenu: N, onSelectionStart: I, onSelectionEnd: P, onEdgeContextMenu: l1, onEdgeDoubleClick: lr, onEdgeMouseEnter: cr, onEdgeMouseMove: dr, onEdgeMouseLeave: ur, onReconnect: gr ?? hr, onReconnectStart: mr ?? fr, onReconnectEnd: pr ?? Cr, reconnectRadius: xr ?? wr, defaultMarkerColor: y1, noDragClassName: vr, noWheelClassName: _r, noPanClassName: pn, elevateEdgesOnSelect: Hr, rfId: Gt, disableKeyboardA11y: xn, nodeOrigin: K, nodeExtent: o1 }),
|
|
3522
|
+
T.createElement(Ji, { nodes: e, edges: t, defaultNodes: n, defaultEdges: s, onConnect: f, onConnectStart: p, onConnectEnd: y, onClickConnectStart: v, onClickConnectEnd: u, nodesDraggable: he, nodesConnectable: Oe, nodesFocusable: ae, edgesFocusable: be, edgesUpdatable: n1, elementsSelectable: O1, elevateNodesOnSelect: kr, minZoom: x1, maxZoom: $e, nodeExtent: o1, onNodesChange: yr, onEdgesChange: Er, snapToGrid: _e, snapGrid: Ne, connectionMode: L, translateExtent: w1, connectOnClick: Lr, defaultEdgeOptions: Mr, fitView: br, fitViewOptions: Sr, onNodesDelete: D, onEdgesDelete: V, onNodeDragStart: b, onNodeDrag: H, onNodeDragStop: M, onSelectionDrag: x, onSelectionDragStart: Z, onSelectionDragStop: k, noPanClassName: pn, nodeOrigin: K, rfId: Gt, autoPanOnConnect: Ar, autoPanOnNodeDrag: Vr, onError: Dr, connectionRadius: Tr, isValidConnection: Ir, nodeDragThreshold: Fr }),
|
|
3523
3523
|
T.createElement(Gi, { onSelectionChange: $ }),
|
|
3524
3524
|
mn,
|
|
3525
|
-
T.createElement(
|
|
3525
|
+
T.createElement(_i, { proOptions: jr, position: Nr }),
|
|
3526
3526
|
T.createElement(s5, { rfId: Gt, disableKeyboardA11y: xn })
|
|
3527
3527
|
)
|
|
3528
3528
|
);
|
|
@@ -3570,16 +3570,16 @@ const g3 = (e) => ({
|
|
|
3570
3570
|
minZoomReached: e.transform[2] <= e.minZoom,
|
|
3571
3571
|
maxZoomReached: e.transform[2] >= e.maxZoom
|
|
3572
3572
|
}), jo = ({ style: e, showZoom: t = !0, showFitView: n = !0, showInteractive: s = !0, fitViewOptions: o, onZoomIn: a, onZoomOut: i, onFitView: l, onInteractiveChange: c, className: d, children: h, position: C = "bottom-left" }) => {
|
|
3573
|
-
const m = Ce(), [f, p] = se(!1), { isInteractive: y, minZoomReached: v, maxZoomReached: u } = ie(g3, ge), { zoomIn:
|
|
3573
|
+
const m = Ce(), [f, p] = se(!1), { isInteractive: y, minZoomReached: v, maxZoomReached: u } = ie(g3, ge), { zoomIn: _, zoomOut: E, fitView: w } = Le();
|
|
3574
3574
|
if (X(() => {
|
|
3575
3575
|
p(!0);
|
|
3576
3576
|
}, []), !f)
|
|
3577
3577
|
return null;
|
|
3578
3578
|
const S = () => {
|
|
3579
|
-
|
|
3579
|
+
_(), a == null || a();
|
|
3580
3580
|
}, j = () => {
|
|
3581
3581
|
E(), i == null || i();
|
|
3582
|
-
},
|
|
3582
|
+
}, b = () => {
|
|
3583
3583
|
w(o), l == null || l();
|
|
3584
3584
|
}, H = () => {
|
|
3585
3585
|
m.setState({
|
|
@@ -3607,7 +3607,7 @@ const g3 = (e) => ({
|
|
|
3607
3607
|
),
|
|
3608
3608
|
n && T.createElement(
|
|
3609
3609
|
X1,
|
|
3610
|
-
{ className: "react-flow__controls-fitview", onClick:
|
|
3610
|
+
{ className: "react-flow__controls-fitview", onClick: b, title: "fit view", "aria-label": "fit view" },
|
|
3611
3611
|
T.createElement(h3, null)
|
|
3612
3612
|
),
|
|
3613
3613
|
s && T.createElement(X1, { className: "react-flow__controls-interactive", onClick: H, title: "toggle interactivity", "aria-label": "toggle interactivity" }, y ? T.createElement(C3, null) : T.createElement(f3, null)),
|
|
@@ -3647,7 +3647,7 @@ function Mo({
|
|
|
3647
3647
|
style: l,
|
|
3648
3648
|
className: c
|
|
3649
3649
|
}) {
|
|
3650
|
-
const d = J(null), { transform: h, patternId: C } = ie(y3, ge), m = i || x3[t], f = s || w3[t], p = t === Ze.Dots, y = t === Ze.Cross, v = Array.isArray(n) ? n : [n, n], u = [v[0] * h[2] || 1, v[1] * h[2] || 1],
|
|
3650
|
+
const d = J(null), { transform: h, patternId: C } = ie(y3, ge), m = i || x3[t], f = s || w3[t], p = t === Ze.Dots, y = t === Ze.Cross, v = Array.isArray(n) ? n : [n, n], u = [v[0] * h[2] || 1, v[1] * h[2] || 1], _ = f * h[2], E = y ? [_, _] : u, w = p ? [_ / a, _ / a] : [E[0] / a, E[1] / a];
|
|
3651
3651
|
return T.createElement(
|
|
3652
3652
|
"svg",
|
|
3653
3653
|
{ className: Ee(["react-flow__background", c]), style: {
|
|
@@ -3658,13 +3658,13 @@ function Mo({
|
|
|
3658
3658
|
top: 0,
|
|
3659
3659
|
left: 0
|
|
3660
3660
|
}, ref: d, "data-testid": "rf__background" },
|
|
3661
|
-
T.createElement("pattern", { id: C + e, x: h[0] % u[0], y: h[1] % u[1], width: u[0], height: u[1], patternUnits: "userSpaceOnUse", patternTransform: `translate(-${w[0]},-${w[1]})` }, p ? T.createElement(p3, { color: m, radius:
|
|
3661
|
+
T.createElement("pattern", { id: C + e, x: h[0] % u[0], y: h[1] % u[1], width: u[0], height: u[1], patternUnits: "userSpaceOnUse", patternTransform: `translate(-${w[0]},-${w[1]})` }, p ? T.createElement(p3, { color: m, radius: _ / a }) : T.createElement(m3, { dimensions: E, color: m, lineWidth: o })),
|
|
3662
3662
|
T.createElement("rect", { x: "0", y: "0", width: "100%", height: "100%", fill: `url(#${C + e})` })
|
|
3663
3663
|
);
|
|
3664
3664
|
}
|
|
3665
3665
|
Mo.displayName = "Background";
|
|
3666
3666
|
var Y2 = ce(Mo);
|
|
3667
|
-
const K2 = "columns", X2 = "exposure", ko = "snowflake_stage", G2 = "dashboard", q2 = "tables", E3 = "feedback", Ho = "settings", Ue = "column-", Ao = "see-more-", Vo = 5, v3 = 100, h2 = 100, at = 300, H1 = 80,
|
|
3667
|
+
const K2 = "columns", X2 = "exposure", ko = "snowflake_stage", G2 = "dashboard", q2 = "tables", E3 = "feedback", Ho = "settings", Ue = "column-", Ao = "see-more-", Vo = 5, v3 = 100, h2 = 100, at = 300, H1 = 80, _3 = 12, b3 = H1, To = 30, Jn = 4, S3 = 280, L3 = 80, N3 = 80, j3 = 250, N2 = 0.05, Io = "#7A899E", J2 = "#E38E00", Q2 = {
|
|
3668
3668
|
Original: "#FDD835",
|
|
3669
3669
|
Alias: "#40C8AE",
|
|
3670
3670
|
Transformation: "#FF754C",
|
|
@@ -3836,7 +3836,7 @@ const sn = () => {
|
|
|
3836
3836
|
} catch (s) {
|
|
3837
3837
|
console.error("Failed to navigate:", s);
|
|
3838
3838
|
}
|
|
3839
|
-
}, H3 = "_table_node_wsanc_1", A3 = "_header_wsanc_8", V3 = "_collapse_wsanc_16", T3 = "_selected_wsanc_21", I3 = "_content_wsanc_24", D3 = "_table_header_wsanc_37", Z3 = "_seed_wsanc_48", F3 = "_model_wsanc_53", P3 = "_source_wsanc_58", B3 = "_exposure_wsanc_63", O3 = "_snapshot_wsanc_68", R3 = "_metrics_wsanc_73", z3 = "_macros_wsanc_78", $3 = "_analysis_wsanc_83", W3 = "_dashboard_wsanc_88", U3 = "_node_icon_wsanc_93", Y3 = "_dialect_icon_wsanc_105", K3 = "_table_handle_wsanc_114", X3 = "_see_more_node_wsanc_128", G3 = "_table_card_wsanc_139", q3 = "_disabled_wsanc_151", J3 = "_column_card_wsanc_156", Q3 = "_edit_icon_wsanc_169", e6 = "_active_wsanc_177", t6 = "_expand_lineage_icon_wsanc_181", n6 = "_processing_div_wsanc_194", s6 = "_gif_img_wsanc_197", o6 = "_card_wsanc_202", r6 = "_column_node_wsanc_217", a6 = "_column_name_wsanc_228", i6 = "_column_top_right_wsanc_233", l6 = "_divider_wsanc_241", c6 = "_table_details_header_wsanc_247", d6 = "_verticle_divider_wsanc_255", u6 = "_low_confidence_wsanc_260", h6 = "_high_confidence_wsanc_267", f6 = "_alert_icon_wsanc_274", C6 = "_menu_card_wsanc_280", g6 = "_menu_card_container_wsanc_285", m6 = "_table_details_tabs_wsanc_292", p6 = "_tab_wsanc_1", x6 = "_table_node_pill_wsanc_312", w6 = "_icon_wsanc_322", y6 = "_node-checkbox_wsanc_329", E6 = "_non_select_node_checkbox_wsanc_329", v6 = "_select_node_checkbox_wsanc_329",
|
|
3839
|
+
}, H3 = "_table_node_wsanc_1", A3 = "_header_wsanc_8", V3 = "_collapse_wsanc_16", T3 = "_selected_wsanc_21", I3 = "_content_wsanc_24", D3 = "_table_header_wsanc_37", Z3 = "_seed_wsanc_48", F3 = "_model_wsanc_53", P3 = "_source_wsanc_58", B3 = "_exposure_wsanc_63", O3 = "_snapshot_wsanc_68", R3 = "_metrics_wsanc_73", z3 = "_macros_wsanc_78", $3 = "_analysis_wsanc_83", W3 = "_dashboard_wsanc_88", U3 = "_node_icon_wsanc_93", Y3 = "_dialect_icon_wsanc_105", K3 = "_table_handle_wsanc_114", X3 = "_see_more_node_wsanc_128", G3 = "_table_card_wsanc_139", q3 = "_disabled_wsanc_151", J3 = "_column_card_wsanc_156", Q3 = "_edit_icon_wsanc_169", e6 = "_active_wsanc_177", t6 = "_expand_lineage_icon_wsanc_181", n6 = "_processing_div_wsanc_194", s6 = "_gif_img_wsanc_197", o6 = "_card_wsanc_202", r6 = "_column_node_wsanc_217", a6 = "_column_name_wsanc_228", i6 = "_column_top_right_wsanc_233", l6 = "_divider_wsanc_241", c6 = "_table_details_header_wsanc_247", d6 = "_verticle_divider_wsanc_255", u6 = "_low_confidence_wsanc_260", h6 = "_high_confidence_wsanc_267", f6 = "_alert_icon_wsanc_274", C6 = "_menu_card_wsanc_280", g6 = "_menu_card_container_wsanc_285", m6 = "_table_details_tabs_wsanc_292", p6 = "_tab_wsanc_1", x6 = "_table_node_pill_wsanc_312", w6 = "_icon_wsanc_322", y6 = "_node-checkbox_wsanc_329", E6 = "_non_select_node_checkbox_wsanc_329", v6 = "_select_node_checkbox_wsanc_329", _6 = "_node_extra_info_wsanc_345", b6 = "_help_body_wsanc_349", S6 = "_feedback_body_wsanc_353", L6 = "_cancel_btn_wsanc_356", N6 = "_expand_nav_wsanc_361", j6 = "_expand_nav_btn_wsanc_369", M6 = "_lineage_legend_wsanc_396", k6 = "_column_legend_wsanc_413", H6 = "_dot_wsanc_429", A6 = "_model_views_type_wsanc_441", V6 = "_close_button_wsanc_450", T6 = "_op_node_wsanc_463", I6 = "_light_mode_wsanc_482", D6 = "_dark_mode_wsanc_485", Z6 = "_highlighted_wsanc_488", F6 = "_cost_data_wsanc_494", P6 = "_op_type_text_wsanc_509", B6 = "_node_stats_wsanc_512", O6 = "_savings-performance_wsanc_528", R6 = "_performance_wsanc_528", z6 = "_savings_wsanc_528", $6 = "_value_wsanc_543", W6 = "_percent_wsanc_546", U6 = "_static_table_node_wsanc_561", Y6 = "_details_btn_wsanc_625", K6 = "_enable_wsanc_634", X6 = "_disable_wsanc_151", G6 = "_code_editor_container_wsanc_645", q6 = "_code_editor_wsanc_645", J6 = "_tooltip_container_wsanc_659", Q6 = "_tooltip_text_wsanc_665", e8 = "_views_type_badge_wsanc_682", t8 = "_column_code_icon_wsanc_713", n8 = "_edge_select_wsanc_729", s8 = "_edge_non_select_wsanc_739", o8 = "_modal_views_code_container_wsanc_749", r8 = "_custom_node_code_block_wsanc_754", a8 = "_reset_btn_wsanc_766", i8 = "_error_tooltip_wsanc_772", l8 = "_tableWrapper_wsanc_783", c8 = "_dataTable_wsanc_789", A = {
|
|
3840
3840
|
table_node: H3,
|
|
3841
3841
|
header: A3,
|
|
3842
3842
|
collapse: V3,
|
|
@@ -3885,8 +3885,8 @@ const sn = () => {
|
|
|
3885
3885
|
nodeCheckbox: y6,
|
|
3886
3886
|
non_select_node_checkbox: E6,
|
|
3887
3887
|
select_node_checkbox: v6,
|
|
3888
|
-
node_extra_info:
|
|
3889
|
-
help_body:
|
|
3888
|
+
node_extra_info: _6,
|
|
3889
|
+
help_body: b6,
|
|
3890
3890
|
feedback_body: S6,
|
|
3891
3891
|
cancel_btn: L6,
|
|
3892
3892
|
expand_nav: N6,
|
|
@@ -3929,7 +3929,7 @@ const sn = () => {
|
|
|
3929
3929
|
dataTable: c8
|
|
3930
3930
|
}, Bo = (e) => /* @__PURE__ */ g.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("path", { d: "M14.4138 13.7953L11.7681 11.9423C11.5927 11.8194 11.4733 11.6319 11.4361 11.421C11.399 11.2101 11.4471 10.9931 11.57 10.8177C11.6928 10.6422 11.8803 10.5228 12.0912 10.4857C12.3022 10.4485 12.5192 10.4966 12.6946 10.6195L15.3402 12.4725C15.5157 12.5953 15.6351 12.7828 15.6722 12.9937C15.7094 13.2047 15.6613 13.4217 15.5384 13.5971C15.4155 13.7725 15.228 13.8919 15.0171 13.9291C14.8062 13.9663 14.5892 13.9181 14.4138 13.7953Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M6.23472 10.7666C6.66662 10.7666 7.07057 10.5991 7.37216 10.2948L10.0514 7.59139C10.6629 6.97429 10.6502 5.98265 10.0231 5.38078C9.39602 4.77904 8.38821 4.79152 7.77672 5.40855L6.205 6.99435L5.92965 6.73088C5.30167 6.13015 4.29393 6.1439 3.6832 6.76187C3.07266 7.37983 3.08677 8.37148 3.71475 8.97241L5.12733 10.3241C5.42551 10.6095 5.81883 10.7666 6.23472 10.7666ZM4.41777 7.46468C4.63478 7.24508 4.9928 7.24052 5.21559 7.45375L5.85755 8.0681C6.0601 8.26201 6.38398 8.25765 6.58135 8.05864L8.51014 6.11251C8.72742 5.89323 9.0853 5.88901 9.3079 6.10258C9.53063 6.31635 9.53505 6.6685 9.31798 6.88763L6.63874 9.59098C6.43168 9.80891 6.05451 9.81354 5.84153 9.60145L4.42895 8.24974C4.20602 8.0363 4.2009 7.68409 4.41777 7.46468Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M1.2696 8.46259C1.23524 8.18365 0.981431 7.98549 0.702382 8.01991C0.423451 8.05439 0.225306 8.3085 0.259604 8.58741C0.29722 8.89279 0.35694 9.19928 0.43695 9.49824C0.894474 11.2074 1.99015 12.6358 3.52208 13.5203C5.05401 14.4047 6.83878 14.6394 8.54776 14.181C10.2568 13.7227 11.6852 12.6262 12.5701 11.0936C13.455 9.56087 13.6903 7.77555 13.2327 6.06641C12.2882 2.53813 8.64974 0.437554 5.12192 1.38363C2.71678 2.02867 0.892688 3.9422 0.361517 6.37751C0.301593 6.65214 0.475849 6.92324 0.750129 6.98306C1.02465 7.04286 1.29584 6.86868 1.35567 6.59407C1.80529 4.53259 3.34929 2.91276 5.38514 2.36679C8.37085 1.56596 11.4504 3.34395 12.2497 6.33007C12.637 7.77666 12.4378 9.28772 11.6889 10.5849C10.94 11.8821 9.73094 12.8101 8.28453 13.198C6.83821 13.5859 5.32757 13.3873 4.031 12.6388C2.73449 11.8902 1.80712 10.6813 1.41988 9.23469C1.35207 8.98094 1.30145 8.72123 1.2696 8.46259Z", fill: "currentColor" })), Oo = (e) => /* @__PURE__ */ g.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 15 15", fill: "none", ...e }, /* @__PURE__ */ g.createElement("circle", { cx: 7.5, cy: 7.5, r: 6.9, stroke: "currentColor", strokeWidth: 1.2 }), /* @__PURE__ */ g.createElement("path", { d: "M7.05 7.5V7.95H7.5H11C11.1548 7.95 11.2873 8.01395 11.3684 8.10088C11.4447 8.18264 11.4755 8.28138 11.4504 8.39262C11.3415 8.87457 11.1448 9.33503 10.8675 9.75006C10.4224 10.4161 9.78991 10.9352 9.04987 11.2417C8.30983 11.5482 7.49551 11.6285 6.70988 11.4722C5.92426 11.3159 5.20262 10.9302 4.63622 10.3638C4.06981 9.79738 3.68409 9.07574 3.52782 8.29012C3.37155 7.50449 3.45175 6.69017 3.75829 5.95013C4.06482 5.21009 4.58392 4.57757 5.24994 4.13255C5.66497 3.85524 6.12543 3.65849 6.60738 3.54959C6.71862 3.52445 6.81736 3.55531 6.89912 3.6316C6.98605 3.71271 7.05 3.84521 7.05 4V7.5Z", stroke: "currentColor", strokeWidth: 0.9 })), d8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: 15, height: 15, viewBox: "0 0 11 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("g", { clipPath: "url(#clip0_19334_15206)" }, /* @__PURE__ */ g.createElement("path", { d: "M8.87489 5.27405C8.77129 5.27405 8.67194 5.3152 8.59868 5.38846C8.52543 5.46171 8.48428 5.56106 8.48428 5.66466V7.23702C8.48393 7.5407 8.36314 7.83185 8.1484 8.0466C7.93366 8.26133 7.64251 8.38213 7.33882 8.38247H2.86441C2.56073 8.38213 2.26958 8.26133 2.05484 8.0466C1.8401 7.83185 1.7193 7.5407 1.71896 7.23702V2.76261C1.7193 2.45892 1.8401 2.16777 2.05484 1.95303C2.26958 1.73829 2.56073 1.6175 2.86441 1.61715H4.43677C4.54037 1.61715 4.63972 1.576 4.71297 1.50275C4.78623 1.42949 4.82738 1.33014 4.82738 1.22654C4.82738 1.12295 4.78623 1.0236 4.71297 0.950344C4.63972 0.877091 4.54037 0.835938 4.43677 0.835938H2.86441C2.35362 0.836541 1.86391 1.03972 1.50272 1.40091C1.14153 1.7621 0.938347 2.25181 0.937744 2.76261V7.23702C0.938347 7.74782 1.14153 8.23752 1.50272 8.59871C1.86391 8.9599 2.35362 9.16308 2.86441 9.16369H7.33882C7.84962 9.16308 8.33933 8.9599 8.70052 8.59871C9.06171 8.23752 9.26489 7.74782 9.26549 7.23702V5.66466C9.26549 5.56106 9.22434 5.46171 9.15109 5.38846C9.07783 5.3152 8.97848 5.27405 8.87489 5.27405Z", fill: "#FFCE73" }), /* @__PURE__ */ g.createElement("path", { d: "M8.86633 0.832031H6.43805C6.33577 0.832012 6.23756 0.872113 6.16452 0.94372C6.09149 1.01533 6.04945 1.11273 6.04745 1.21499C6.04338 1.43422 6.22778 1.61325 6.44684 1.61325H7.93327L4.8224 4.72508C4.74916 4.79834 4.70801 4.89769 4.70801 5.00128C4.70801 5.10487 4.74916 5.20422 4.8224 5.27747C4.89566 5.35072 4.99501 5.39187 5.0986 5.39187C5.20219 5.39187 5.30154 5.35072 5.37479 5.27747L8.48663 2.16661V3.6584C8.48663 3.762 8.52778 3.86135 8.60103 3.9346C8.67429 4.00786 8.77364 4.04901 8.87724 4.04901C8.98083 4.04901 9.08018 4.00786 9.15344 3.9346C9.22669 3.86135 9.26784 3.762 9.26784 3.6584V1.23338C9.26784 1.18066 9.25746 1.12846 9.23728 1.07975C9.2171 1.03105 9.18752 0.986797 9.15023 0.949526C9.11295 0.912255 9.06868 0.882696 9.01997 0.862535C8.97126 0.842375 8.91905 0.83201 8.86633 0.832031Z", fill: "#FFCE73" })), /* @__PURE__ */ g.createElement("defs", null, /* @__PURE__ */ g.createElement("clipPath", { id: "clip0_19334_15206" }, /* @__PURE__ */ g.createElement("rect", { width: 10, height: 10, fill: "white", transform: "translate(0.101318)" })))), u8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("path", { d: "M4.96894 9.82478V7.14121H4V6.5H6.67883V7.14121H5.68139V9.82478H4.96894Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M6.60431 10.485L8.57544 6.5H9.24039L7.27402 10.485H6.60431Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M9.7534 9.82478V6.5H10.4659V9.82478H9.7534ZM10.0811 8.50437V7.89166H11.8005V8.50437H10.0811ZM10.0811 7.14121V6.5H12V7.14121H10.0811Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("circle", { cx: 8, cy: 8.5, r: 6.5, stroke: "currentColor" })), h8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("path", { d: "M3 13.3L6.794 3.5H8.334L12.1 13.3H10.49L8.25 7.392C8.222 7.32667 8.166 7.168 8.082 6.916C8.00733 6.664 7.91867 6.384 7.816 6.076C7.71333 5.768 7.62 5.488 7.536 5.236C7.452 4.97467 7.396 4.80667 7.368 4.732L7.69 4.718C7.634 4.87667 7.564 5.07733 7.48 5.32C7.40533 5.56267 7.32133 5.81933 7.228 6.09C7.144 6.36067 7.06 6.61733 6.976 6.86C6.892 7.09333 6.822 7.28933 6.766 7.448L4.54 13.3H3ZM4.68 10.864L5.24 9.408H9.692L10.336 10.864H4.68Z", fill: "currentColor" })), f8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("path", { d: "M8.13796 13.5L9.81796 3.70001H11.078L9.39796 13.5H8.13796ZM3.43396 11.078V9.91601H11.54V11.078H3.43396ZM4.41396 13.5L6.09396 3.70001H7.35396L5.67396 13.5H4.41396ZM3.96596 7.15801V5.99601H12.058V7.15801H3.96596Z", fill: "currentColor" })), C8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("path", { d: "M3.86339 12.4999C3.56384 12.4353 3.3054 12.356 3.08808 12.262C2.87075 12.168 2.69161 12.0506 2.55064 11.9096C2.40967 11.7745 2.30395 11.61 2.23346 11.4162C2.16885 11.2282 2.13655 11.0109 2.13655 10.7642L2.14536 9.92723C2.14536 9.61593 2.07781 9.38392 1.94272 9.23121C1.80762 9.07262 1.61379 8.99039 1.36123 8.98452H1V8.01537H1.37885C1.63142 8.00949 1.82231 7.9302 1.95153 7.77749C2.08075 7.62477 2.14536 7.38983 2.14536 7.07265L2.13655 6.23566C2.13655 5.75402 2.27164 5.37811 2.54183 5.10792C2.81789 4.83186 3.25841 4.62922 3.86339 4.5L4.1189 5.38104C3.8957 5.4574 3.71949 5.53376 3.59027 5.61012C3.46692 5.68647 3.37882 5.78926 3.32596 5.91848C3.27897 6.04183 3.25547 6.21216 3.25547 6.42949L3.27309 7.196C3.27309 7.53667 3.17618 7.82154 2.98235 8.05061C2.79439 8.27968 2.50071 8.44414 2.10131 8.54399V8.44708C2.50071 8.55868 2.79439 8.72901 2.98235 8.95808C3.17618 9.18716 3.27309 9.46909 3.27309 9.80389L3.25547 10.5704C3.25547 10.776 3.27897 10.9375 3.32596 11.055C3.37882 11.1783 3.46692 11.2782 3.59027 11.3545C3.71949 11.4309 3.8957 11.5072 4.1189 11.5836L3.86339 12.4999Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M5.05191 12.3765V4.53524H7.55408V5.57487H6.17965L6.23251 5.50439V11.4426L6.1444 11.3369H7.55408V12.3765H5.05191Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M8.43567 12.3765V11.3369H9.8101L9.75724 11.4074V5.46915L9.84534 5.57487H8.43567V4.53524H10.9378V12.3765H8.43567Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M12.1366 12.4999L11.8723 11.6188C12.0955 11.5425 12.2688 11.4661 12.3921 11.3898C12.5155 11.3134 12.6036 11.2106 12.6564 11.0814C12.7152 10.9581 12.7445 10.7877 12.7445 10.5704L12.7269 9.80389C12.7269 9.46322 12.8209 9.17835 13.0088 8.94927C13.2027 8.7202 13.4964 8.55574 13.8899 8.45589L13.8987 8.5528C13.4993 8.44121 13.2027 8.27087 13.0088 8.0418C12.8209 7.81273 12.7269 7.53079 12.7269 7.196L12.7445 6.42949C12.7445 6.21804 12.7181 6.05358 12.6652 5.9361C12.6124 5.81863 12.5243 5.72171 12.4009 5.64536C12.2776 5.569 12.1014 5.49264 11.8723 5.41629L12.1366 4.5C12.4362 4.55874 12.6917 4.63803 12.9031 4.73788C13.1204 4.83186 13.2996 4.94933 13.4406 5.0903C13.5874 5.22539 13.6931 5.38986 13.7577 5.58368C13.8282 5.77164 13.8635 5.98897 13.8635 6.23566L13.8546 7.07265C13.8546 7.38395 13.9222 7.6189 14.0573 7.77749C14.1924 7.9302 14.3862 8.00949 14.6388 8.01537H15V8.98452H14.6212C14.3686 8.99039 14.1777 9.06968 14.0485 9.2224C13.9193 9.37511 13.8546 9.61006 13.8546 9.92723L13.8635 10.7642C13.8635 11.2459 13.7254 11.6218 13.4494 11.892C13.1733 12.168 12.7357 12.3707 12.1366 12.4999Z", fill: "currentColor" })), g8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("path", { d: "M5.33325 1.83398V3.83398", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ g.createElement("path", { d: "M10.6667 1.83398V3.83398", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ g.createElement("path", { d: "M2.33325 6.56055H13.6666", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ g.createElement("path", { d: "M14 11.4073V6.16732C14 4.16732 13 2.83398 10.6667 2.83398H5.33333C3 2.83398 2 4.16732 2 6.16732V11.834C2 13.834 3 15.1673 5.33333 15.1673H10.2467", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ g.createElement("path", { d: "M2 6.59464L2 11.8346C2 13.8346 3 15.168 5.33333 15.168L10.6667 15.168C13 15.168 14 13.8346 14 11.8346L14 6.16797C14 4.16797 13 2.83464 10.6667 2.83464L5.75333 2.83464", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ g.createElement("path", { d: "M10.4955 9H10.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ g.createElement("path", { d: "M10.4955 12H10.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ g.createElement("path", { d: "M5.4955 9H5.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ g.createElement("path", { d: "M5.4955 12H5.5045", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), m8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("path", { d: "M13 7.40909C13 11.2273 8 14.5 8 14.5C8 14.5 3 11.2273 3 7.40909C3 6.10712 3.52678 4.85847 4.46447 3.93784C5.40215 3.01721 6.67392 2.5 8 2.5C9.32608 2.5 10.5979 3.01721 11.5355 3.93784C12.4732 4.85847 13 6.10712 13 7.40909Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ g.createElement("path", { d: "M8 9.5C9.10457 9.5 10 8.60457 10 7.5C10 6.39543 9.10457 5.5 8 5.5C6.89543 5.5 6 6.39543 6 7.5C6 8.60457 6.89543 9.5 8 9.5Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), mt = (e) => /* @__PURE__ */ g.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2.21021 4.09393C2.32237 3.84159 2.61785 3.72794 2.87019 3.84009L8.00046 6.12021L13.1307 3.84009C13.3831 3.72794 13.6785 3.84159 13.7907 4.09393C13.9029 4.34627 13.7892 4.64175 13.5369 4.7539L8.20353 7.12425C8.07426 7.18172 7.92666 7.18172 7.79739 7.12425L2.46405 4.7539C2.21171 4.64175 2.09806 4.34627 2.21021 4.09393Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.71387 1.35887C7.53267 0.994961 8.46733 0.994961 9.28613 1.35887L12.6195 2.84035C13.763 3.3486 14.5 4.48265 14.5 5.73408V10.2681C14.5 11.5195 13.763 12.6536 12.6195 13.1618L9.28613 14.6433C8.46733 15.0072 7.53267 15.0072 6.71387 14.6433L3.38056 13.1618C2.23699 12.6536 1.5 11.5195 1.5 10.2681V5.73408C1.5 4.48265 2.23699 3.3486 3.38056 2.84035L6.71387 1.35887ZM8.88 2.27268C8.31973 2.02369 7.68027 2.02369 7.12 2.27268L3.7867 3.75416C3.00425 4.10191 2.5 4.87784 2.5 5.73408V10.2681C2.5 11.1244 3.00426 11.9002 3.7867 12.248L7.12 13.7295C7.68027 13.9785 8.31973 13.9785 8.88 13.7295L12.2133 12.248C12.9957 11.9002 13.5 11.1244 13.5 10.2681V5.73408C13.5 4.87784 12.9957 4.10191 12.2133 3.75416L8.88 2.27268Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8 6.16406C8.27613 6.16406 8.5 6.38792 8.5 6.66406V13.9974C8.5 14.2735 8.27613 14.4974 8 14.4974C7.72387 14.4974 7.5 14.2735 7.5 13.9974V6.66406C7.5 6.38792 7.72387 6.16406 8 6.16406Z", fill: "currentColor" })), on = (e) => /* @__PURE__ */ g.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("path", { d: "M13.5445 3.32188L10.532 0.46875C10.2102 0.165625 9.79141 0 9.35078 0H3.61328C2.66641 0 1.89453 0.771875 1.89453 1.71875V14.2812C1.89453 15.2281 2.66641 16 3.61328 16H12.3633C13.3102 16 14.082 15.2281 14.082 14.2812V4.56875C14.082 4.1 13.8852 3.64375 13.5445 3.32188ZM12.6352 3.75H10.3008C10.2133 3.75 10.1445 3.68125 10.1445 3.59375V1.39375L12.6352 3.75ZM12.3633 15.0625H3.61328C3.18203 15.0625 2.83203 14.7125 2.83203 14.2812V1.71875C2.83203 1.2875 3.18203 0.9375 3.61328 0.9375H9.20703V3.59375C9.20703 4.19688 9.69766 4.6875 10.3008 4.6875H13.1445V14.2812C13.1445 14.7125 12.7945 15.0625 12.3633 15.0625Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M11.332 6.25H4.45703C4.19766 6.25 3.98828 6.45937 3.98828 6.71875C3.98828 6.97812 4.19766 7.1875 4.45703 7.1875H11.332C11.5914 7.1875 11.8008 6.97812 11.8008 6.71875C11.8008 6.45937 11.5914 6.25 11.332 6.25Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M11.332 8.75H4.45703C4.19766 8.75 3.98828 8.95937 3.98828 9.21875C3.98828 9.47812 4.19766 9.6875 4.45703 9.6875H11.332C11.5914 9.6875 11.8008 9.47812 11.8008 9.21875C11.8008 8.95937 11.5914 8.75 11.332 8.75Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M6.72891 11.25H4.45703C4.19766 11.25 3.98828 11.4594 3.98828 11.7188C3.98828 11.9781 4.19766 12.1875 4.45703 12.1875H6.72891C6.98828 12.1875 7.19766 11.9781 7.19766 11.7188C7.19766 11.4594 6.98828 11.25 6.72891 11.25Z", fill: "currentColor" })), p8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("path", { d: "M14.9459 3.20159C14.9296 2.34608 14.1459 1.58527 12.732 1.05955C11.4651 0.589349 9.7867 0.328125 8.01364 0.328125C6.23731 0.328125 4.56221 0.589349 3.292 1.05955C1.87813 1.58527 1.09119 2.34935 1.07812 3.20486C1.07812 3.21139 1.07812 3.22119 1.07812 3.22772V13.0889C1.07812 13.9575 1.86506 14.7249 3.292 15.2571C4.56221 15.7306 6.23731 15.9885 8.01364 15.9885C9.78996 15.9885 11.4651 15.7273 12.7353 15.2571C14.1622 14.7281 14.9491 13.9575 14.9491 13.0889V3.22772C14.9459 3.22119 14.9459 3.21139 14.9459 3.20159ZM13.9271 13.0889C13.9271 13.8563 11.6218 14.9698 8.01037 14.9698C4.39894 14.9698 2.09364 13.8563 2.09364 13.0889V11.3747C2.42017 11.5967 2.81853 11.7959 3.28874 11.9722C4.56221 12.4424 6.23731 12.7036 8.01364 12.7036C9.78996 12.7036 11.4683 12.4424 12.7353 11.9722C13.2055 11.7959 13.6038 11.5967 13.9304 11.3747V13.0889H13.9271ZM13.9271 9.78772C13.9271 9.79098 13.9271 9.79751 13.9271 9.80078C13.9271 10.5681 11.6218 11.6816 8.01037 11.6816C4.39894 11.6816 2.09364 10.5681 2.09364 9.80078V8.08649C2.42017 8.30853 2.81853 8.50772 3.28874 8.68404C4.55894 9.15751 6.23404 9.41547 8.01037 9.41547C9.7867 9.41547 11.4618 9.15425 12.732 8.68404C13.2022 8.51098 13.6006 8.30853 13.9271 8.08649V9.78772ZM13.9271 6.50282C13.9271 6.50608 13.9271 6.51261 13.9271 6.51588C13.9271 7.28323 11.6218 8.3967 8.01037 8.3967C4.39894 8.3967 2.09364 7.28323 2.09364 6.51588V4.80159C2.42017 5.02363 2.81853 5.22282 3.28874 5.39588C4.55894 5.86935 6.23404 6.12731 8.01037 6.12731C9.7867 6.12731 11.4618 5.86608 12.732 5.39588C13.1989 5.22282 13.6006 5.02037 13.9271 4.80159V6.50282ZM8.01364 5.10853C4.40221 5.10853 2.0969 3.99506 2.0969 3.22772C2.0969 2.46037 4.40221 1.3469 8.01364 1.3469C11.6251 1.3469 13.9304 2.46037 13.9304 3.22772C13.9271 3.99506 11.6251 5.10853 8.01364 5.10853Z", fill: "currentColor" })), x8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("path", { d: "M14.4866 5.36855C15.0957 6.86998 15.165 8.53621 14.6829 10.0831C14.2007 11.6299 13.1969 12.9616 11.8425 13.8511C10.4882 14.7405 8.86727 15.1325 7.25618 14.9604C5.64508 14.7882 4.1436 14.0624 3.00781 12.9069C1.87202 11.7514 1.17225 10.2376 1.02786 8.62381C0.883469 7.00999 1.30339 5.39605 2.21601 4.05724C3.12863 2.71844 4.47742 1.73768 6.03236 1.28224C7.58731 0.826792 9.25209 0.924866 10.7428 1.55973C10.7925 1.58093 10.8376 1.61172 10.8755 1.65034C10.9133 1.68896 10.9432 1.73466 10.9634 1.78482C10.9836 1.83499 10.9937 1.88864 10.9931 1.94271C10.9926 1.99678 10.9814 2.05022 10.9602 2.09997C10.939 2.14972 10.9082 2.1948 10.8696 2.23265C10.831 2.2705 10.7853 2.30037 10.7351 2.32056C10.685 2.34075 10.6313 2.35086 10.5772 2.35031C10.5232 2.34977 10.4697 2.33858 10.42 2.31738C9.78137 2.05018 9.10237 1.89233 8.41139 1.85044V2.23914C8.41139 2.34835 8.36801 2.45308 8.29079 2.53031C8.21357 2.60753 8.10883 2.65091 7.99963 2.65091C7.89042 2.65091 7.78569 2.60753 7.70846 2.53031C7.63124 2.45308 7.58786 2.34835 7.58786 2.23914V1.84962C6.23566 1.92718 4.94927 2.45909 3.93716 3.35914L4.21139 3.63914C4.27086 3.71844 4.29974 3.81652 4.29271 3.91539C4.28568 4.01426 4.24323 4.10728 4.17314 4.17736C4.10306 4.24745 4.01004 4.2899 3.91117 4.29693C3.8123 4.30396 3.71422 4.27508 3.63492 4.21561L3.35492 3.94138C2.45563 4.95419 1.92309 6.24001 1.84293 7.59208H2.23492C2.34413 7.59208 2.44887 7.63546 2.52609 7.71268C2.60331 7.7899 2.64669 7.89464 2.64669 8.00384C2.64669 8.11305 2.60331 8.21779 2.52609 8.29501C2.44887 8.37223 2.34413 8.41561 2.23492 8.41561H1.84293C1.92277 9.76775 2.45536 11.0537 3.35492 12.0663L3.63492 11.7921C3.71422 11.7326 3.8123 11.7037 3.91117 11.7108C4.01004 11.7178 4.10306 11.7602 4.17314 11.8303C4.24323 11.9004 4.28568 11.9934 4.29271 12.0923C4.29974 12.1912 4.27086 12.2893 4.21139 12.3685L3.93386 12.6461C4.94651 13.5477 6.23421 14.0805 7.58786 14.1581V13.7685C7.58786 13.6593 7.63124 13.5546 7.70846 13.4774C7.78569 13.4002 7.89042 13.3568 7.99963 13.3568C8.10883 13.3568 8.21357 13.4002 8.29079 13.4774C8.36801 13.5546 8.41139 13.6593 8.41139 13.7685V14.1581C9.76359 14.0805 11.05 13.5486 12.0621 12.6485L11.7879 12.3685C11.7284 12.2893 11.6995 12.1912 11.7065 12.0923C11.7136 11.9934 11.756 11.9004 11.8261 11.8303C11.8962 11.7602 11.9892 11.7178 12.0881 11.7108C12.1869 11.7037 12.285 11.7326 12.3643 11.7921L12.6419 12.0696C13.5435 11.0568 14.0768 9.76931 14.1555 8.41561H13.7643C13.6551 8.41561 13.5504 8.37223 13.4732 8.29501C13.3959 8.21779 13.3526 8.11305 13.3526 8.00384C13.3526 7.89464 13.3959 7.7899 13.4732 7.71268C13.5504 7.63546 13.6551 7.59208 13.7643 7.59208H14.1563C14.116 6.93556 13.97 6.28984 13.724 5.67985C13.7015 5.62939 13.6893 5.57492 13.6883 5.51968C13.6873 5.46444 13.6974 5.40957 13.7181 5.35832C13.7387 5.30707 13.7694 5.26049 13.8084 5.22137C13.8474 5.18224 13.8939 5.15137 13.9451 5.13058C13.9963 5.1098 14.0511 5.09953 14.1064 5.10038C14.1616 5.10124 14.2161 5.1132 14.2667 5.13556C14.3172 5.15791 14.3627 5.19021 14.4005 5.23052C14.4382 5.27083 14.4675 5.31834 14.4866 5.3702V5.36855ZM9.13363 6.28679L12.6501 2.7695C12.7274 2.69218 12.8323 2.64874 12.9416 2.64874C13.051 2.64874 13.1558 2.69218 13.2332 2.7695C13.3105 2.84682 13.3539 2.95168 13.3539 3.06103C13.3539 3.17037 13.3105 3.27524 13.2332 3.35256L9.71586 6.86902C9.94005 7.20496 10.0593 7.59997 10.0584 8.00384C10.0584 8.41104 9.9377 8.80909 9.71147 9.14766C9.48525 9.48624 9.1637 9.75012 8.7875 9.90595C8.4113 10.0618 7.99734 10.1025 7.59797 10.0231C7.1986 9.94367 6.83175 9.74758 6.54382 9.45965C6.25589 9.17172 6.0598 8.80487 5.98036 8.4055C5.90092 8.00613 5.9417 7.59217 6.09752 7.21597C6.25335 6.83977 6.51723 6.51822 6.85581 6.292C7.19438 6.06577 7.59243 5.94502 7.99963 5.94502C8.40303 5.94474 8.79742 6.06426 9.1328 6.28843L9.13363 6.28679ZM9.23492 8.00384C9.23492 7.75953 9.16247 7.5207 9.02674 7.31755C8.891 7.11441 8.69807 6.95608 8.47235 6.86258C8.24663 6.76909 7.99826 6.74462 7.75863 6.79229C7.51901 6.83995 7.2989 6.9576 7.12614 7.13036C6.95338 7.30312 6.83573 7.52323 6.78807 7.76285C6.7404 8.00247 6.76487 8.25085 6.85836 8.47657C6.95186 8.70229 7.11019 8.89522 7.31333 9.03095C7.51648 9.16669 7.75531 9.23914 7.99963 9.23914C8.32725 9.23914 8.64145 9.10899 8.87311 8.87733C9.10477 8.64567 9.23492 8.33146 9.23492 8.00384Z", fill: "currentColor" })), M2 = (e) => /* @__PURE__ */ g.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 28 28", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.66065 10.0305L7.83899 6.409C7.78126 6.25246 7.74974 6.08317 7.74974 5.90684C7.74974 5.09996 8.41001 4.4461 9.22481 4.4461C10.0396 4.4461 10.6746 5.07534 10.6994 5.86067L14.0017 7.0057C14.2721 6.6913 14.6753 6.49167 15.1251 6.49167C15.3791 6.49167 15.618 6.55499 15.8262 6.66711L19.6333 3.44619C19.5792 3.29448 19.5499 3.13091 19.5499 2.96074C19.5499 2.15386 20.2101 1.5 21.0249 1.5C21.8397 1.5 22.5 2.15386 22.5 2.96074C22.5 3.76762 21.8397 4.42148 21.0249 4.42148C20.7709 4.42148 20.5321 4.35816 20.3238 4.24603L16.5167 7.46696C16.5709 7.61866 16.6002 7.78224 16.6002 7.95241C16.6002 8.75929 15.9399 9.41315 15.1251 9.41315C14.3103 9.41315 13.6753 8.78391 13.6509 7.99858L10.3486 6.85355C10.0782 7.16795 9.6755 7.36758 9.22525 7.36758C8.97748 7.36758 8.74392 7.3069 8.53922 7.20005L4.36089 10.8216C4.41862 10.9781 4.45014 11.1474 4.45014 11.3237C4.45014 12.1306 3.78987 12.7845 2.97507 12.7845C2.16027 12.7845 1.5 12.1306 1.5 11.3237C1.5 10.5168 2.16027 9.86298 2.97507 9.86298C3.22284 9.86298 3.45596 9.92366 3.66065 10.0305ZM19.9024 7.30646C19.5356 7.30646 19.2364 7.60283 19.2364 7.96604V21.4267C19.2364 21.7899 19.5356 22.0862 19.9024 22.0862H20.8149C21.1817 22.0862 21.4809 21.7899 21.4809 21.4267V7.9656C21.4809 7.60239 21.1817 7.30602 20.8149 7.30602L19.9024 7.30646ZM14.0021 12.6855C13.6354 12.6855 13.3361 12.9819 13.3361 13.3451V21.5647C13.3361 21.9279 13.6354 22.2243 14.0021 22.2243H14.9146C15.2814 22.2243 15.5807 21.9279 15.5807 21.5647V13.3451C15.5807 12.9819 15.2814 12.6855 14.9146 12.6855H14.0021ZM8.1023 10.7543C7.73553 10.7543 7.43625 11.0507 7.43625 11.4139V21.7028C7.43625 22.066 7.73553 22.3624 8.1023 22.3624H9.01478C9.38155 22.3624 9.68083 22.066 9.68083 21.7028V11.4134C9.68083 11.0502 9.38155 10.7538 9.01478 10.7538L8.1023 10.7543ZM2.20246 16.4315H3.11494C3.48171 16.4315 3.78099 16.7278 3.78099 17.091V21.8404C3.78099 22.2036 3.48171 22.5 3.11494 22.5H2.20246C1.83569 22.5 1.53641 22.2036 1.53641 21.8404V17.091C1.53641 16.7278 1.83569 16.4315 2.20246 16.4315Z", fill: "currentColor" })), w8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("path", { d: "M13.674 3.5H11.527L11.277 2.75C11.1565 2.38583 10.9242 2.06897 10.6131 1.84453C10.302 1.62009 9.92808 1.49953 9.5445 1.5H6.4555C6.07202 1.49971 5.69821 1.62035 5.38726 1.84477C5.0763 2.06919 4.84403 2.38596 4.7235 2.75L4.473 3.5H2.326C1.84188 3.50053 1.37773 3.69308 1.03541 4.03541C0.693081 4.37774 0.500529 4.84188 0.5 5.326V12.676C0.501058 13.1598 0.693843 13.6234 1.03611 13.9653C1.37838 14.3072 1.84222 14.4995 2.326 14.5H13.676C14.1598 14.4989 14.6234 14.3062 14.9653 13.9639C15.3072 13.6216 15.4995 13.1578 15.5 12.674V5.324C15.4989 4.84023 15.3062 4.3766 14.9639 4.0347C14.6216 3.69281 14.1578 3.50053 13.674 3.5ZM14.5 12.674C14.4997 12.893 14.4126 13.1029 14.2578 13.2578C14.1029 13.4126 13.893 13.4997 13.674 13.5H2.326C2.10701 13.4997 1.89707 13.4126 1.74222 13.2578C1.58737 13.1029 1.50026 12.893 1.5 12.674V5.324C1.50079 5.10536 1.58814 4.89593 1.74293 4.74152C1.89772 4.5871 2.10736 4.50026 2.326 4.5H4.8335C4.9384 4.49992 5.04061 4.46685 5.12568 4.40548C5.21074 4.3441 5.27435 4.25752 5.3075 4.158L5.672 3.0645C5.72673 2.90003 5.83189 2.75697 5.97253 2.65564C6.11317 2.55431 6.28216 2.49985 6.4555 2.5H9.5445C9.71792 2.49981 9.88699 2.55431 10.0277 2.65575C10.1683 2.75718 10.2734 2.90039 10.328 3.065L10.6925 4.158C10.7256 4.25752 10.7893 4.3441 10.8743 4.40548C10.9594 4.46685 11.0616 4.49992 11.1665 4.5H13.674C13.893 4.50027 14.1029 4.58738 14.2578 4.74222C14.4126 4.89707 14.4997 5.10701 14.5 5.326V12.674Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M8 5C7.25832 5 6.5333 5.21993 5.91661 5.63199C5.29993 6.04404 4.81928 6.62971 4.53545 7.31494C4.25162 8.00016 4.17736 8.75416 4.32206 9.48159C4.46675 10.209 4.8239 10.8772 5.34835 11.4017C5.8728 11.9261 6.54098 12.2833 7.26841 12.4279C7.99584 12.5726 8.74984 12.4984 9.43506 12.2145C10.1203 11.9307 10.706 11.4501 11.118 10.8334C11.5301 10.2167 11.75 9.49168 11.75 8.75C11.7489 7.75576 11.3535 6.80255 10.6505 6.09952C9.94745 5.39649 8.99424 5.00106 8 5ZM8 11.5C7.4561 11.5 6.92442 11.3387 6.47218 11.0365C6.01995 10.7344 5.66747 10.3049 5.45933 9.80238C5.25119 9.29988 5.19673 8.74695 5.30284 8.2135C5.40895 7.68005 5.67086 7.19005 6.05546 6.80546C6.44005 6.42086 6.93006 6.15895 7.4635 6.05284C7.99695 5.94673 8.54988 6.00119 9.05238 6.20933C9.55488 6.41747 9.98437 6.76995 10.2865 7.22218C10.5887 7.67442 10.75 8.2061 10.75 8.75C10.7492 9.4791 10.4592 10.1781 9.94367 10.6937C9.42811 11.2092 8.7291 11.4992 8 11.5Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M13 6.5C13.2761 6.5 13.5 6.27614 13.5 6C13.5 5.72386 13.2761 5.5 13 5.5C12.7239 5.5 12.5 5.72386 12.5 6C12.5 6.27614 12.7239 6.5 13 6.5Z", fill: "currentColor" })), y8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("g", { clipPath: "url(#clip0_13119_16577)" }, /* @__PURE__ */ g.createElement("mask", { id: "mask0_13119_16577", style: {
|
|
3931
3931
|
maskType: "luminance"
|
|
3932
|
-
}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 16, height: 16 }, /* @__PURE__ */ g.createElement("path", { d: "M0 9.53674e-07H16V16H0V9.53674e-07Z", fill: "white" })), /* @__PURE__ */ g.createElement("g", { mask: "url(#mask0_13119_16577)" }, /* @__PURE__ */ g.createElement("path", { d: "M0.46875 15.5312H15.5312", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ g.createElement("path", { d: "M3 11.7812H1.75C1.57741 11.7812 1.4375 11.9212 1.4375 12.0938V15.5312H3.3125V12.0938C3.3125 11.9212 3.17259 11.7812 3 11.7812Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ g.createElement("path", { d: "M6.75 10.6562H5.5C5.32741 10.6562 5.1875 10.7962 5.1875 10.9688V15.5312H7.0625V10.9688C7.0625 10.7962 6.92259 10.6562 6.75 10.6562Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ g.createElement("path", { d: "M10.5 8.9375H9.25C9.07741 8.9375 8.9375 9.07741 8.9375 9.25V15.5312H10.8125V9.25C10.8125 9.07741 10.6726 8.9375 10.5 8.9375Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ g.createElement("path", { d: "M14.25 5.8125H13C12.8274 5.8125 12.6875 5.95241 12.6875 6.125V15.5312H14.5625V6.125C14.5625 5.95241 14.4226 5.8125 14.25 5.8125Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ g.createElement("path", { d: "M0.46875 9.60156C6.62566 9.60156 12.7826 4.89466 14.7636 0.467189", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ g.createElement("path", { d: "M11.8994 1.23884L14.7641 0.47125L15.5317 3.33594", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }))), /* @__PURE__ */ g.createElement("defs", null, /* @__PURE__ */ g.createElement("clipPath", { id: "clip0_13119_16577" }, /* @__PURE__ */ g.createElement("rect", { width: 16, height: 16, fill: "white" })))), k2 = (e) => /* @__PURE__ */ g.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("g", { clipPath: "url(#clip0_13132_13629)" }, /* @__PURE__ */ g.createElement("path", { d: "M14.9389 11.3569L12.3125 9.88281L14.9389 8.40875C15.2577 8.22978 15.2573 7.76997 14.9389 7.59122L12.3126 6.11709L14.9388 4.64313C15.2577 4.46416 15.2573 4.00434 14.9388 3.82559L8.2295 0.06C8.08697 -0.02 7.91315 -0.02 7.77062 0.06L1.06128 3.82562C0.742402 4.00462 0.742871 4.46444 1.06128 4.64316L3.68762 6.11719L1.06125 7.59122C0.742371 7.77022 0.74284 8.23003 1.06125 8.40875L3.68762 9.88281L1.06125 11.3569C0.742371 11.5359 0.74284 11.9957 1.06125 12.1744L7.77062 15.94C7.91309 16.02 8.08697 16.02 8.2295 15.94L14.9389 12.1744C15.2577 11.9954 15.2573 11.5356 14.9389 11.3569ZM8.00006 1.00628L13.7517 4.23438L8.00006 7.46247L2.24843 4.23438L8.00006 1.00628ZM4.6454 6.65472L7.77065 8.40875C7.91312 8.48872 8.087 8.48875 8.22953 8.40875L11.3549 6.65462L13.7518 7.99997L8.00006 11.2281L2.24843 8L4.6454 6.65472ZM8.00006 14.9937L2.2484 11.7656L4.64537 10.4203L7.77062 12.1744C7.91309 12.2543 8.08697 12.2544 8.2295 12.1744L11.3547 10.4203L13.7517 11.7656L8.00006 14.9937Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M8 10.1484C8.25888 10.1484 8.46875 9.93857 8.46875 9.67969C8.46875 9.4208 8.25888 9.21094 8 9.21094C7.74112 9.21094 7.53125 9.4208 7.53125 9.67969C7.53125 9.93857 7.74112 10.1484 8 10.1484Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M6.2832 9.25C6.54209 9.25 6.75195 9.04013 6.75195 8.78125C6.75195 8.52237 6.54209 8.3125 6.2832 8.3125C6.02432 8.3125 5.81445 8.52237 5.81445 8.78125C5.81445 9.04013 6.02432 9.25 6.2832 9.25Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M4.56738 8.39062C4.82627 8.39062 5.03613 8.18076 5.03613 7.92188C5.03613 7.66299 4.82627 7.45312 4.56738 7.45312C4.3085 7.45312 4.09863 7.66299 4.09863 7.92188C4.09863 8.18076 4.3085 8.39062 4.56738 8.39062Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M9.7168 9.25C9.97568 9.25 10.1855 9.04013 10.1855 8.78125C10.1855 8.52237 9.97568 8.3125 9.7168 8.3125C9.45791 8.3125 9.24805 8.52237 9.24805 8.78125C9.24805 9.04013 9.45791 9.25 9.7168 9.25Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M11.4326 8.39062C11.6915 8.39062 11.9014 8.18076 11.9014 7.92188C11.9014 7.66299 11.6915 7.45312 11.4326 7.45312C11.1737 7.45312 10.9639 7.66299 10.9639 7.92188C10.9639 8.18076 11.1737 8.39062 11.4326 8.39062Z", fill: "currentColor" })), /* @__PURE__ */ g.createElement("defs", null, /* @__PURE__ */ g.createElement("clipPath", { id: "clip0_13132_13629" }, /* @__PURE__ */ g.createElement("rect", { width: 16, height: 16, fill: "white" })))), E8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: 11, height: 6, viewBox: "0 0 11 6", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("path", { d: "M0.812951 5.52021C0.990462 5.69772 1.26824 5.71386 1.46398 5.56862L1.52006 5.52021L5.83317 1.20732L10.1463 5.52021C10.3238 5.69772 10.6016 5.71386 10.7973 5.56862L10.8534 5.52021C11.0309 5.3427 11.047 5.06492 10.9018 4.86918L10.8534 4.8131L6.18672 0.146439C6.00921 -0.031072 5.73144 -0.047207 5.5357 0.0980275L5.47962 0.146439L0.812951 4.8131C0.617688 5.00836 0.617688 5.32495 0.812951 5.52021Z", fill: "currentColor" })), v8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: 11, height: 6, viewBox: "0 0 11 6", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("path", { d: "M0.812951 0.47979C0.990462 0.302279 1.26824 0.286142 1.46398 0.431378L1.52006 0.47979L5.83317 4.79268L10.1463 0.47979C10.3238 0.302279 10.6016 0.286142 10.7973 0.431378L10.8534 0.47979C11.0309 0.657301 11.047 0.935077 10.9018 1.13082L10.8534 1.1869L6.18672 5.85356C6.00921 6.03107 5.73144 6.04721 5.5357 5.90198L5.47962 5.85356L0.812951 1.1869C0.617688 0.991635 0.617688 0.675052 0.812951 0.47979Z", fill: "currentColor" })), rn = (e) => /* @__PURE__ */ g.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("g", { id: "x-close" }, /* @__PURE__ */ g.createElement("path", { id: "Icon", d: "M12 4L4 12M4 4L12 12", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }))), Ro = (e) => /* @__PURE__ */ g.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 10 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("g", { clipPath: "url(#clip0_8292_48040)" }, /* @__PURE__ */ g.createElement("path", { d: "M6.46776 1.25L6.46776 1.66667L4.16929 1.66667C4.11388 1.66667 4.06073 1.68862 4.02154 1.72769C3.98236 1.76676 3.96034 1.81975 3.96034 1.875L3.96034 4.79167L2.49768 4.79167L2.49768 4.375C2.49768 4.20924 2.43164 4.05027 2.31408 3.93306C2.19652 3.81585 2.03708 3.75 1.87083 3.75L0.826073 3.75C0.65982 3.75 0.500378 3.81585 0.38282 3.93306C0.265262 4.05027 0.199219 4.20924 0.199219 4.375L0.199219 5.625C0.199219 5.79076 0.265262 5.94973 0.38282 6.06694C0.500378 6.18415 0.659821 6.25 0.826073 6.25L1.87083 6.25C2.03708 6.25 2.19652 6.18415 2.31408 6.06694C2.43164 5.94973 2.49768 5.79076 2.49768 5.625L2.49768 5.20833L3.96034 5.20833L3.96034 8.125C3.96034 8.18025 3.98236 8.23324 4.02154 8.27231C4.06073 8.31138 4.11388 8.33333 4.16929 8.33333L6.46776 8.33333L6.46776 8.75C6.46776 8.91576 6.5338 9.07473 6.65136 9.19194C6.76892 9.30915 6.92836 9.375 7.09461 9.375L8.13937 9.375C8.30562 9.375 8.46506 9.30915 8.58262 9.19194C8.70018 9.07473 8.76622 8.91576 8.76622 8.75L8.76622 7.5C8.76622 7.33424 8.70018 7.17527 8.58262 7.05806C8.46506 6.94085 8.30562 6.875 8.13937 6.875L7.09461 6.875C6.92836 6.875 6.76892 6.94085 6.65136 7.05806C6.5338 7.17527 6.46776 7.33424 6.46776 7.5L6.46776 7.91667L4.37825 7.91667L4.37825 5.20833L6.46776 5.20833L6.46776 5.625C6.46776 5.79076 6.5338 5.94973 6.65136 6.06694C6.76892 6.18415 6.92836 6.25 7.09461 6.25L8.13937 6.25C8.30562 6.25 8.46506 6.18415 8.58262 6.06694C8.70018 5.94973 8.76622 5.79076 8.76622 5.625L8.76622 4.375C8.76622 4.20924 8.70018 4.05027 8.58262 3.93306C8.46506 3.81585 8.30562 3.75 8.13937 3.75L7.09461 3.75C6.92836 3.75 6.76892 3.81585 6.65136 3.93306C6.5338 4.05027 6.46776 4.20924 6.46776 4.375L6.46776 4.79167L4.37825 4.79167L4.37825 2.08333L6.46776 2.08333L6.46776 2.5C6.46776 2.66576 6.5338 2.82473 6.65136 2.94194C6.76892 3.05915 6.92836 3.125 7.09461 3.125L8.13937 3.125C8.30562 3.125 8.46506 3.05915 8.58262 2.94194C8.70018 2.82473 8.76622 2.66576 8.76622 2.5L8.76622 1.25C8.76622 1.08424 8.70018 0.925271 8.58262 0.80806C8.46506 0.69085 8.30562 0.625002 8.13937 0.625002L7.09461 0.625002C6.92836 0.625002 6.76892 0.69085 6.65136 0.80806C6.5338 0.925271 6.46776 1.08424 6.46776 1.25ZM1.87083 5.83333L0.826073 5.83333C0.770655 5.83333 0.717508 5.81138 0.678322 5.77232C0.639136 5.73324 0.617121 5.68025 0.617121 5.625L0.617121 4.375C0.617121 4.31975 0.639136 4.26676 0.678322 4.22769C0.717508 4.18862 0.770655 4.16667 0.826073 4.16667L1.87083 4.16667C1.92625 4.16667 1.97939 4.18862 2.01858 4.22769C2.05777 4.26676 2.07978 4.31975 2.07978 4.375L2.07978 5.625C2.07978 5.68025 2.05777 5.73324 2.01858 5.77231C1.97939 5.81138 1.92625 5.83333 1.87083 5.83333ZM7.09461 7.29167L8.13937 7.29167C8.19479 7.29167 8.24793 7.31362 8.28712 7.35269C8.32631 7.39176 8.34832 7.44475 8.34832 7.5L8.34832 8.75C8.34832 8.80525 8.32631 8.85824 8.28712 8.89731C8.24793 8.93638 8.19479 8.95833 8.13937 8.95833L7.09461 8.95833C7.0392 8.95833 6.98605 8.93638 6.94686 8.89731C6.90768 8.85824 6.88566 8.80525 6.88566 8.75L6.88566 7.5C6.88566 7.44475 6.90768 7.39176 6.94686 7.35269C6.98605 7.31362 7.0392 7.29167 7.09461 7.29167ZM7.09461 4.16667L8.13937 4.16667C8.19479 4.16667 8.24793 4.18862 8.28712 4.22769C8.32631 4.26676 8.34832 4.31975 8.34832 4.375L8.34832 5.625C8.34832 5.68025 8.32631 5.73324 8.28712 5.77231C8.24793 5.81138 8.19479 5.83333 8.13937 5.83333L7.09461 5.83333C7.0392 5.83333 6.98605 5.81138 6.94686 5.77231C6.90768 5.73324 6.88566 5.68025 6.88566 5.625L6.88566 4.375C6.88566 4.31975 6.90768 4.26676 6.94686 4.22769C6.98605 4.18862 7.0392 4.16667 7.09461 4.16667ZM8.13937 1.04167C8.19479 1.04167 8.24793 1.06362 8.28712 1.10269C8.32631 1.14176 8.34832 1.19475 8.34832 1.25L8.34832 2.5C8.34832 2.55525 8.32631 2.60825 8.28712 2.64732C8.24793 2.68639 8.19479 2.70833 8.13937 2.70833L7.09461 2.70833C7.0392 2.70833 6.98605 2.68639 6.94686 2.64732C6.90768 2.60825 6.88566 2.55525 6.88566 2.5L6.88566 1.25C6.88566 1.19475 6.90768 1.14176 6.94686 1.10269C6.98605 1.06362 7.0392 1.04167 7.09461 1.04167L8.13937 1.04167Z", fill: "white" })), /* @__PURE__ */ g.createElement("defs", null, /* @__PURE__ */ g.createElement("clipPath", { id: "clip0_8292_48040" }, /* @__PURE__ */ g.createElement("rect", { width: 10, height: 10, fill: "white", transform: "translate(0 10) rotate(-90)" })))), b8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("rect", { x: -0.5, y: 0.5, width: 31, height: 31, rx: 4.5, transform: "matrix(-1 0 0 1 31 0)", stroke: "#8390A3" }), /* @__PURE__ */ g.createElement("path", { d: "M16.0379 8.91337L16.0378 8.91338L16.0358 8.91024C15.9266 8.74528 15.7106 8.57407 15.432 8.47559C15.1577 8.37865 14.8682 8.36814 14.6194 8.46108L14.6118 8.46395L14.604 8.46656C14.0151 8.66487 13.6311 9.34149 13.75 9.89628L13.7528 9.90933L13.7549 9.92252L14.1882 12.6475L14.1884 12.6475L14.1901 12.66C14.2411 13.0429 14.1382 13.4063 13.9081 13.6906L13.9003 13.7002L13.8921 13.7094C13.6598 13.9691 13.3179 14.1344 12.9444 14.1344H9.51945C8.99591 14.1344 8.59378 14.3433 8.36901 14.6569C8.16112 14.9534 8.10247 15.362 8.26606 15.8266L8.26617 15.8266L8.26948 15.8367L10.3195 22.0784L10.3251 22.0955L10.3295 22.1131C10.5282 22.9078 11.4403 23.6094 12.3444 23.6094H15.5944C15.8229 23.6094 16.1102 23.5692 16.3764 23.4897C16.6529 23.4071 16.8467 23.3 16.9409 23.2058L16.9634 23.1833L16.9885 23.1639L18.0547 22.3393C18.0548 22.3392 18.0548 22.3392 18.0549 22.3391C18.3435 22.1152 18.5111 21.7765 18.5111 21.4177V12.951C18.5111 12.7179 18.4412 12.4895 18.3123 12.2958C18.3121 12.2956 18.3119 12.2953 18.3118 12.2951L16.0379 8.91337Z", stroke: "#8390A3" }), /* @__PURE__ */ g.createElement("path", { d: "M22.5187 11.8263H21.6604C21.0609 11.8263 20.7659 11.9458 20.6121 12.0919C20.4646 12.232 20.3438 12.4961 20.3438 13.0513V21.4346C20.3438 21.9949 20.465 22.2611 20.6128 22.402C20.7664 22.5485 21.0608 22.668 21.6604 22.668H22.5187C23.1184 22.668 23.4128 22.5485 23.5664 22.402C23.7141 22.2611 23.8354 21.9949 23.8354 21.4346V13.0596C23.8354 12.4994 23.7141 12.2332 23.5664 12.0923C23.4128 11.9458 23.1184 11.8263 22.5187 11.8263Z", stroke: "#8390A3" })), _8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("rect", { x: 0.5, y: -0.5, width: 31, height: 31, rx: 4.5, transform: "matrix(1 0 0 -1 0 31)", stroke: "#8390A3" }), /* @__PURE__ */ g.createElement("path", { d: "M12.2334 10.7084L14.8167 8.70844C15.1501 8.37511 15.9001 8.20844 16.4001 8.20844H19.5667C20.5667 8.20844 21.6501 8.95844 21.9001 9.95844L23.9001 16.0418C24.3167 17.2084 23.5667 18.2084 22.3167 18.2084H18.9834C18.4834 18.2084 18.0667 18.6251 18.1501 19.2084L18.5667 21.8751C18.7334 22.6251 18.2334 23.4584 17.4834 23.7084C16.8167 23.9584 15.9834 23.6251 15.6501 23.1251L12.2334 18.0418", stroke: "#8390A3", strokeWidth: 1.2, strokeMiterlimit: 10 }), /* @__PURE__ */ g.createElement("path", { d: "M7.9834 10.7083V18.8749C7.9834 20.0416 8.4834 20.4583 9.65007 20.4583H10.4834C11.6501 20.4583 12.1501 20.0416 12.1501 18.8749V10.7083C12.1501 9.54158 11.6501 9.12492 10.4834 9.12492H9.65007C8.4834 9.12492 7.9834 9.54158 7.9834 10.7083Z", stroke: "#8390A3", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" })), S8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("rect", { width: 32, height: 32, rx: 5, transform: "matrix(-1 0 0 1 32 0)", fill: "#3F8CFF" }), /* @__PURE__ */ g.createElement("path", { d: "M19.0111 21.4177V12.951C19.0111 12.6177 18.9111 12.2927 18.7278 12.0177L16.4528 8.63437C16.0944 8.09271 15.2028 7.70937 14.4444 7.99271C13.6278 8.26771 13.0861 9.18437 13.2611 10.001L13.6944 12.726C13.7278 12.976 13.6611 13.201 13.5194 13.376C13.3778 13.5344 13.1694 13.6344 12.9444 13.6344H9.51945C8.86111 13.6344 8.29445 13.901 7.96111 14.3677C7.64445 14.8177 7.58611 15.401 7.79445 15.9927L9.84445 22.2344C10.1028 23.2677 11.2278 24.1094 12.3444 24.1094H15.5944C16.1528 24.1094 16.9361 23.9177 17.2944 23.5594L18.3611 22.7344C18.7694 22.4177 19.0111 21.9344 19.0111 21.4177Z", fill: "white" }), /* @__PURE__ */ g.createElement("path", { d: "M21.6604 11.3263H22.5187C23.8104 11.3263 24.3354 11.8263 24.3354 13.0596V21.4346C24.3354 22.668 23.8104 23.168 22.5187 23.168H21.6604C20.3688 23.168 19.8438 22.668 19.8438 21.4346V13.0513C19.8438 11.8263 20.3688 11.3263 21.6604 11.3263Z", fill: "white" })), L8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("rect", { x: 0.5, y: -0.5, width: 31, height: 31, rx: 4.5, transform: "matrix(1 0 0 -1 0 31)", fill: "#247EFE", stroke: "#247EFE" }), /* @__PURE__ */ g.createElement("path", { d: "M12.2334 10.7084L14.8167 8.70844C15.1501 8.37511 15.9001 8.20844 16.4001 8.20844H19.5667C20.5667 8.20844 21.6501 8.95844 21.9001 9.95844L23.9001 16.0418C24.3167 17.2084 23.5667 18.2084 22.3167 18.2084H18.9834C18.4834 18.2084 18.0667 18.6251 18.1501 19.2084L18.5667 21.8751C18.7334 22.6251 18.2334 23.4584 17.4834 23.7084C16.8167 23.9584 15.9834 23.6251 15.6501 23.1251L12.2334 18.0418", fill: "white" }), /* @__PURE__ */ g.createElement("path", { d: "M7.9834 10.7083V18.8749C7.9834 20.0416 8.4834 20.4583 9.65007 20.4583H10.4834C11.6501 20.4583 12.1501 20.0416 12.1501 18.8749V10.7083C12.1501 9.54158 11.6501 9.12492 10.4834 9.12492H9.65007C8.4834 9.12492 7.9834 9.54158 7.9834 10.7083Z", fill: "white", stroke: "#247EFE", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" })), N8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("g", { clipPath: "url(#clip0_17179_3800)" }, /* @__PURE__ */ g.createElement("mask", { id: "mask0_17179_3800", style: {
|
|
3932
|
+
}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 16, height: 16 }, /* @__PURE__ */ g.createElement("path", { d: "M0 9.53674e-07H16V16H0V9.53674e-07Z", fill: "white" })), /* @__PURE__ */ g.createElement("g", { mask: "url(#mask0_13119_16577)" }, /* @__PURE__ */ g.createElement("path", { d: "M0.46875 15.5312H15.5312", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ g.createElement("path", { d: "M3 11.7812H1.75C1.57741 11.7812 1.4375 11.9212 1.4375 12.0938V15.5312H3.3125V12.0938C3.3125 11.9212 3.17259 11.7812 3 11.7812Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ g.createElement("path", { d: "M6.75 10.6562H5.5C5.32741 10.6562 5.1875 10.7962 5.1875 10.9688V15.5312H7.0625V10.9688C7.0625 10.7962 6.92259 10.6562 6.75 10.6562Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ g.createElement("path", { d: "M10.5 8.9375H9.25C9.07741 8.9375 8.9375 9.07741 8.9375 9.25V15.5312H10.8125V9.25C10.8125 9.07741 10.6726 8.9375 10.5 8.9375Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ g.createElement("path", { d: "M14.25 5.8125H13C12.8274 5.8125 12.6875 5.95241 12.6875 6.125V15.5312H14.5625V6.125C14.5625 5.95241 14.4226 5.8125 14.25 5.8125Z", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ g.createElement("path", { d: "M0.46875 9.60156C6.62566 9.60156 12.7826 4.89466 14.7636 0.467189", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ g.createElement("path", { d: "M11.8994 1.23884L14.7641 0.47125L15.5317 3.33594", stroke: "currentColor", strokeWidth: 0.8, strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }))), /* @__PURE__ */ g.createElement("defs", null, /* @__PURE__ */ g.createElement("clipPath", { id: "clip0_13119_16577" }, /* @__PURE__ */ g.createElement("rect", { width: 16, height: 16, fill: "white" })))), k2 = (e) => /* @__PURE__ */ g.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("g", { clipPath: "url(#clip0_13132_13629)" }, /* @__PURE__ */ g.createElement("path", { d: "M14.9389 11.3569L12.3125 9.88281L14.9389 8.40875C15.2577 8.22978 15.2573 7.76997 14.9389 7.59122L12.3126 6.11709L14.9388 4.64313C15.2577 4.46416 15.2573 4.00434 14.9388 3.82559L8.2295 0.06C8.08697 -0.02 7.91315 -0.02 7.77062 0.06L1.06128 3.82562C0.742402 4.00462 0.742871 4.46444 1.06128 4.64316L3.68762 6.11719L1.06125 7.59122C0.742371 7.77022 0.74284 8.23003 1.06125 8.40875L3.68762 9.88281L1.06125 11.3569C0.742371 11.5359 0.74284 11.9957 1.06125 12.1744L7.77062 15.94C7.91309 16.02 8.08697 16.02 8.2295 15.94L14.9389 12.1744C15.2577 11.9954 15.2573 11.5356 14.9389 11.3569ZM8.00006 1.00628L13.7517 4.23438L8.00006 7.46247L2.24843 4.23438L8.00006 1.00628ZM4.6454 6.65472L7.77065 8.40875C7.91312 8.48872 8.087 8.48875 8.22953 8.40875L11.3549 6.65462L13.7518 7.99997L8.00006 11.2281L2.24843 8L4.6454 6.65472ZM8.00006 14.9937L2.2484 11.7656L4.64537 10.4203L7.77062 12.1744C7.91309 12.2543 8.08697 12.2544 8.2295 12.1744L11.3547 10.4203L13.7517 11.7656L8.00006 14.9937Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M8 10.1484C8.25888 10.1484 8.46875 9.93857 8.46875 9.67969C8.46875 9.4208 8.25888 9.21094 8 9.21094C7.74112 9.21094 7.53125 9.4208 7.53125 9.67969C7.53125 9.93857 7.74112 10.1484 8 10.1484Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M6.2832 9.25C6.54209 9.25 6.75195 9.04013 6.75195 8.78125C6.75195 8.52237 6.54209 8.3125 6.2832 8.3125C6.02432 8.3125 5.81445 8.52237 5.81445 8.78125C5.81445 9.04013 6.02432 9.25 6.2832 9.25Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M4.56738 8.39062C4.82627 8.39062 5.03613 8.18076 5.03613 7.92188C5.03613 7.66299 4.82627 7.45312 4.56738 7.45312C4.3085 7.45312 4.09863 7.66299 4.09863 7.92188C4.09863 8.18076 4.3085 8.39062 4.56738 8.39062Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M9.7168 9.25C9.97568 9.25 10.1855 9.04013 10.1855 8.78125C10.1855 8.52237 9.97568 8.3125 9.7168 8.3125C9.45791 8.3125 9.24805 8.52237 9.24805 8.78125C9.24805 9.04013 9.45791 9.25 9.7168 9.25Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M11.4326 8.39062C11.6915 8.39062 11.9014 8.18076 11.9014 7.92188C11.9014 7.66299 11.6915 7.45312 11.4326 7.45312C11.1737 7.45312 10.9639 7.66299 10.9639 7.92188C10.9639 8.18076 11.1737 8.39062 11.4326 8.39062Z", fill: "currentColor" })), /* @__PURE__ */ g.createElement("defs", null, /* @__PURE__ */ g.createElement("clipPath", { id: "clip0_13132_13629" }, /* @__PURE__ */ g.createElement("rect", { width: 16, height: 16, fill: "white" })))), E8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: 11, height: 6, viewBox: "0 0 11 6", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("path", { d: "M0.812951 5.52021C0.990462 5.69772 1.26824 5.71386 1.46398 5.56862L1.52006 5.52021L5.83317 1.20732L10.1463 5.52021C10.3238 5.69772 10.6016 5.71386 10.7973 5.56862L10.8534 5.52021C11.0309 5.3427 11.047 5.06492 10.9018 4.86918L10.8534 4.8131L6.18672 0.146439C6.00921 -0.031072 5.73144 -0.047207 5.5357 0.0980275L5.47962 0.146439L0.812951 4.8131C0.617688 5.00836 0.617688 5.32495 0.812951 5.52021Z", fill: "currentColor" })), v8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: 11, height: 6, viewBox: "0 0 11 6", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("path", { d: "M0.812951 0.47979C0.990462 0.302279 1.26824 0.286142 1.46398 0.431378L1.52006 0.47979L5.83317 4.79268L10.1463 0.47979C10.3238 0.302279 10.6016 0.286142 10.7973 0.431378L10.8534 0.47979C11.0309 0.657301 11.047 0.935077 10.9018 1.13082L10.8534 1.1869L6.18672 5.85356C6.00921 6.03107 5.73144 6.04721 5.5357 5.90198L5.47962 5.85356L0.812951 1.1869C0.617688 0.991635 0.617688 0.675052 0.812951 0.47979Z", fill: "currentColor" })), rn = (e) => /* @__PURE__ */ g.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("g", { id: "x-close" }, /* @__PURE__ */ g.createElement("path", { id: "Icon", d: "M12 4L4 12M4 4L12 12", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }))), Ro = (e) => /* @__PURE__ */ g.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 10 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("g", { clipPath: "url(#clip0_8292_48040)" }, /* @__PURE__ */ g.createElement("path", { d: "M6.46776 1.25L6.46776 1.66667L4.16929 1.66667C4.11388 1.66667 4.06073 1.68862 4.02154 1.72769C3.98236 1.76676 3.96034 1.81975 3.96034 1.875L3.96034 4.79167L2.49768 4.79167L2.49768 4.375C2.49768 4.20924 2.43164 4.05027 2.31408 3.93306C2.19652 3.81585 2.03708 3.75 1.87083 3.75L0.826073 3.75C0.65982 3.75 0.500378 3.81585 0.38282 3.93306C0.265262 4.05027 0.199219 4.20924 0.199219 4.375L0.199219 5.625C0.199219 5.79076 0.265262 5.94973 0.38282 6.06694C0.500378 6.18415 0.659821 6.25 0.826073 6.25L1.87083 6.25C2.03708 6.25 2.19652 6.18415 2.31408 6.06694C2.43164 5.94973 2.49768 5.79076 2.49768 5.625L2.49768 5.20833L3.96034 5.20833L3.96034 8.125C3.96034 8.18025 3.98236 8.23324 4.02154 8.27231C4.06073 8.31138 4.11388 8.33333 4.16929 8.33333L6.46776 8.33333L6.46776 8.75C6.46776 8.91576 6.5338 9.07473 6.65136 9.19194C6.76892 9.30915 6.92836 9.375 7.09461 9.375L8.13937 9.375C8.30562 9.375 8.46506 9.30915 8.58262 9.19194C8.70018 9.07473 8.76622 8.91576 8.76622 8.75L8.76622 7.5C8.76622 7.33424 8.70018 7.17527 8.58262 7.05806C8.46506 6.94085 8.30562 6.875 8.13937 6.875L7.09461 6.875C6.92836 6.875 6.76892 6.94085 6.65136 7.05806C6.5338 7.17527 6.46776 7.33424 6.46776 7.5L6.46776 7.91667L4.37825 7.91667L4.37825 5.20833L6.46776 5.20833L6.46776 5.625C6.46776 5.79076 6.5338 5.94973 6.65136 6.06694C6.76892 6.18415 6.92836 6.25 7.09461 6.25L8.13937 6.25C8.30562 6.25 8.46506 6.18415 8.58262 6.06694C8.70018 5.94973 8.76622 5.79076 8.76622 5.625L8.76622 4.375C8.76622 4.20924 8.70018 4.05027 8.58262 3.93306C8.46506 3.81585 8.30562 3.75 8.13937 3.75L7.09461 3.75C6.92836 3.75 6.76892 3.81585 6.65136 3.93306C6.5338 4.05027 6.46776 4.20924 6.46776 4.375L6.46776 4.79167L4.37825 4.79167L4.37825 2.08333L6.46776 2.08333L6.46776 2.5C6.46776 2.66576 6.5338 2.82473 6.65136 2.94194C6.76892 3.05915 6.92836 3.125 7.09461 3.125L8.13937 3.125C8.30562 3.125 8.46506 3.05915 8.58262 2.94194C8.70018 2.82473 8.76622 2.66576 8.76622 2.5L8.76622 1.25C8.76622 1.08424 8.70018 0.925271 8.58262 0.80806C8.46506 0.69085 8.30562 0.625002 8.13937 0.625002L7.09461 0.625002C6.92836 0.625002 6.76892 0.69085 6.65136 0.80806C6.5338 0.925271 6.46776 1.08424 6.46776 1.25ZM1.87083 5.83333L0.826073 5.83333C0.770655 5.83333 0.717508 5.81138 0.678322 5.77232C0.639136 5.73324 0.617121 5.68025 0.617121 5.625L0.617121 4.375C0.617121 4.31975 0.639136 4.26676 0.678322 4.22769C0.717508 4.18862 0.770655 4.16667 0.826073 4.16667L1.87083 4.16667C1.92625 4.16667 1.97939 4.18862 2.01858 4.22769C2.05777 4.26676 2.07978 4.31975 2.07978 4.375L2.07978 5.625C2.07978 5.68025 2.05777 5.73324 2.01858 5.77231C1.97939 5.81138 1.92625 5.83333 1.87083 5.83333ZM7.09461 7.29167L8.13937 7.29167C8.19479 7.29167 8.24793 7.31362 8.28712 7.35269C8.32631 7.39176 8.34832 7.44475 8.34832 7.5L8.34832 8.75C8.34832 8.80525 8.32631 8.85824 8.28712 8.89731C8.24793 8.93638 8.19479 8.95833 8.13937 8.95833L7.09461 8.95833C7.0392 8.95833 6.98605 8.93638 6.94686 8.89731C6.90768 8.85824 6.88566 8.80525 6.88566 8.75L6.88566 7.5C6.88566 7.44475 6.90768 7.39176 6.94686 7.35269C6.98605 7.31362 7.0392 7.29167 7.09461 7.29167ZM7.09461 4.16667L8.13937 4.16667C8.19479 4.16667 8.24793 4.18862 8.28712 4.22769C8.32631 4.26676 8.34832 4.31975 8.34832 4.375L8.34832 5.625C8.34832 5.68025 8.32631 5.73324 8.28712 5.77231C8.24793 5.81138 8.19479 5.83333 8.13937 5.83333L7.09461 5.83333C7.0392 5.83333 6.98605 5.81138 6.94686 5.77231C6.90768 5.73324 6.88566 5.68025 6.88566 5.625L6.88566 4.375C6.88566 4.31975 6.90768 4.26676 6.94686 4.22769C6.98605 4.18862 7.0392 4.16667 7.09461 4.16667ZM8.13937 1.04167C8.19479 1.04167 8.24793 1.06362 8.28712 1.10269C8.32631 1.14176 8.34832 1.19475 8.34832 1.25L8.34832 2.5C8.34832 2.55525 8.32631 2.60825 8.28712 2.64732C8.24793 2.68639 8.19479 2.70833 8.13937 2.70833L7.09461 2.70833C7.0392 2.70833 6.98605 2.68639 6.94686 2.64732C6.90768 2.60825 6.88566 2.55525 6.88566 2.5L6.88566 1.25C6.88566 1.19475 6.90768 1.14176 6.94686 1.10269C6.98605 1.06362 7.0392 1.04167 7.09461 1.04167L8.13937 1.04167Z", fill: "white" })), /* @__PURE__ */ g.createElement("defs", null, /* @__PURE__ */ g.createElement("clipPath", { id: "clip0_8292_48040" }, /* @__PURE__ */ g.createElement("rect", { width: 10, height: 10, fill: "white", transform: "translate(0 10) rotate(-90)" })))), _8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("rect", { x: -0.5, y: 0.5, width: 31, height: 31, rx: 4.5, transform: "matrix(-1 0 0 1 31 0)", stroke: "#8390A3" }), /* @__PURE__ */ g.createElement("path", { d: "M16.0379 8.91337L16.0378 8.91338L16.0358 8.91024C15.9266 8.74528 15.7106 8.57407 15.432 8.47559C15.1577 8.37865 14.8682 8.36814 14.6194 8.46108L14.6118 8.46395L14.604 8.46656C14.0151 8.66487 13.6311 9.34149 13.75 9.89628L13.7528 9.90933L13.7549 9.92252L14.1882 12.6475L14.1884 12.6475L14.1901 12.66C14.2411 13.0429 14.1382 13.4063 13.9081 13.6906L13.9003 13.7002L13.8921 13.7094C13.6598 13.9691 13.3179 14.1344 12.9444 14.1344H9.51945C8.99591 14.1344 8.59378 14.3433 8.36901 14.6569C8.16112 14.9534 8.10247 15.362 8.26606 15.8266L8.26617 15.8266L8.26948 15.8367L10.3195 22.0784L10.3251 22.0955L10.3295 22.1131C10.5282 22.9078 11.4403 23.6094 12.3444 23.6094H15.5944C15.8229 23.6094 16.1102 23.5692 16.3764 23.4897C16.6529 23.4071 16.8467 23.3 16.9409 23.2058L16.9634 23.1833L16.9885 23.1639L18.0547 22.3393C18.0548 22.3392 18.0548 22.3392 18.0549 22.3391C18.3435 22.1152 18.5111 21.7765 18.5111 21.4177V12.951C18.5111 12.7179 18.4412 12.4895 18.3123 12.2958C18.3121 12.2956 18.3119 12.2953 18.3118 12.2951L16.0379 8.91337Z", stroke: "#8390A3" }), /* @__PURE__ */ g.createElement("path", { d: "M22.5187 11.8263H21.6604C21.0609 11.8263 20.7659 11.9458 20.6121 12.0919C20.4646 12.232 20.3438 12.4961 20.3438 13.0513V21.4346C20.3438 21.9949 20.465 22.2611 20.6128 22.402C20.7664 22.5485 21.0608 22.668 21.6604 22.668H22.5187C23.1184 22.668 23.4128 22.5485 23.5664 22.402C23.7141 22.2611 23.8354 21.9949 23.8354 21.4346V13.0596C23.8354 12.4994 23.7141 12.2332 23.5664 12.0923C23.4128 11.9458 23.1184 11.8263 22.5187 11.8263Z", stroke: "#8390A3" })), b8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("rect", { x: 0.5, y: -0.5, width: 31, height: 31, rx: 4.5, transform: "matrix(1 0 0 -1 0 31)", stroke: "#8390A3" }), /* @__PURE__ */ g.createElement("path", { d: "M12.2334 10.7084L14.8167 8.70844C15.1501 8.37511 15.9001 8.20844 16.4001 8.20844H19.5667C20.5667 8.20844 21.6501 8.95844 21.9001 9.95844L23.9001 16.0418C24.3167 17.2084 23.5667 18.2084 22.3167 18.2084H18.9834C18.4834 18.2084 18.0667 18.6251 18.1501 19.2084L18.5667 21.8751C18.7334 22.6251 18.2334 23.4584 17.4834 23.7084C16.8167 23.9584 15.9834 23.6251 15.6501 23.1251L12.2334 18.0418", stroke: "#8390A3", strokeWidth: 1.2, strokeMiterlimit: 10 }), /* @__PURE__ */ g.createElement("path", { d: "M7.9834 10.7083V18.8749C7.9834 20.0416 8.4834 20.4583 9.65007 20.4583H10.4834C11.6501 20.4583 12.1501 20.0416 12.1501 18.8749V10.7083C12.1501 9.54158 11.6501 9.12492 10.4834 9.12492H9.65007C8.4834 9.12492 7.9834 9.54158 7.9834 10.7083Z", stroke: "#8390A3", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" })), S8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("rect", { width: 32, height: 32, rx: 5, transform: "matrix(-1 0 0 1 32 0)", fill: "#3F8CFF" }), /* @__PURE__ */ g.createElement("path", { d: "M19.0111 21.4177V12.951C19.0111 12.6177 18.9111 12.2927 18.7278 12.0177L16.4528 8.63437C16.0944 8.09271 15.2028 7.70937 14.4444 7.99271C13.6278 8.26771 13.0861 9.18437 13.2611 10.001L13.6944 12.726C13.7278 12.976 13.6611 13.201 13.5194 13.376C13.3778 13.5344 13.1694 13.6344 12.9444 13.6344H9.51945C8.86111 13.6344 8.29445 13.901 7.96111 14.3677C7.64445 14.8177 7.58611 15.401 7.79445 15.9927L9.84445 22.2344C10.1028 23.2677 11.2278 24.1094 12.3444 24.1094H15.5944C16.1528 24.1094 16.9361 23.9177 17.2944 23.5594L18.3611 22.7344C18.7694 22.4177 19.0111 21.9344 19.0111 21.4177Z", fill: "white" }), /* @__PURE__ */ g.createElement("path", { d: "M21.6604 11.3263H22.5187C23.8104 11.3263 24.3354 11.8263 24.3354 13.0596V21.4346C24.3354 22.668 23.8104 23.168 22.5187 23.168H21.6604C20.3688 23.168 19.8438 22.668 19.8438 21.4346V13.0513C19.8438 11.8263 20.3688 11.3263 21.6604 11.3263Z", fill: "white" })), L8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("rect", { x: 0.5, y: -0.5, width: 31, height: 31, rx: 4.5, transform: "matrix(1 0 0 -1 0 31)", fill: "#247EFE", stroke: "#247EFE" }), /* @__PURE__ */ g.createElement("path", { d: "M12.2334 10.7084L14.8167 8.70844C15.1501 8.37511 15.9001 8.20844 16.4001 8.20844H19.5667C20.5667 8.20844 21.6501 8.95844 21.9001 9.95844L23.9001 16.0418C24.3167 17.2084 23.5667 18.2084 22.3167 18.2084H18.9834C18.4834 18.2084 18.0667 18.6251 18.1501 19.2084L18.5667 21.8751C18.7334 22.6251 18.2334 23.4584 17.4834 23.7084C16.8167 23.9584 15.9834 23.6251 15.6501 23.1251L12.2334 18.0418", fill: "white" }), /* @__PURE__ */ g.createElement("path", { d: "M7.9834 10.7083V18.8749C7.9834 20.0416 8.4834 20.4583 9.65007 20.4583H10.4834C11.6501 20.4583 12.1501 20.0416 12.1501 18.8749V10.7083C12.1501 9.54158 11.6501 9.12492 10.4834 9.12492H9.65007C8.4834 9.12492 7.9834 9.54158 7.9834 10.7083Z", fill: "white", stroke: "#247EFE", strokeWidth: 1.2, strokeLinecap: "round", strokeLinejoin: "round" })), N8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("g", { clipPath: "url(#clip0_17179_3800)" }, /* @__PURE__ */ g.createElement("mask", { id: "mask0_17179_3800", style: {
|
|
3933
3933
|
maskType: "luminance"
|
|
3934
3934
|
}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 16, height: 16 }, /* @__PURE__ */ g.createElement("path", { d: "M16 0H0V16H16V0Z", fill: "white" })), /* @__PURE__ */ g.createElement("g", { mask: "url(#mask0_17179_3800)" }, /* @__PURE__ */ g.createElement("path", { d: "M13.581 0C12.2681 0 11.2 1.0681 11.2 2.38095C11.2 3.69381 12.2681 4.7619 13.581 4.7619C14.8939 4.7619 15.9619 3.69381 15.9619 2.38095C15.9619 1.0681 14.8939 0 13.581 0ZM13.581 3.96826C12.7057 3.96826 11.9937 3.25619 11.9937 2.38095C11.9937 1.50571 12.7057 0.793651 13.581 0.793651C14.4562 0.793651 15.1683 1.50571 15.1683 2.38095C15.1683 3.25619 14.4562 3.96826 13.581 3.96826Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M13.581 11.1992C12.2681 11.1992 11.2 12.2673 11.2 13.5802C11.2 14.8931 12.2681 15.9611 13.581 15.9611C14.8939 15.9611 15.9619 14.8931 15.9619 13.5802C15.9619 12.2673 14.8939 11.1992 13.581 11.1992ZM13.581 15.1675C12.7057 15.1675 11.9937 14.4554 11.9937 13.5802C11.9937 12.7049 12.7057 11.9929 13.581 11.9929C14.4562 11.9929 15.1683 12.7049 15.1683 13.5802C15.1683 14.4554 14.4562 15.1675 13.581 15.1675Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M2.38095 0C1.0681 0 0 1.0681 0 2.38095C0 3.69381 1.0681 4.7619 2.38095 4.7619C3.69381 4.7619 4.7619 3.69381 4.7619 2.38095C4.7619 1.0681 3.69381 0 2.38095 0ZM2.38095 3.96826C1.50571 3.96826 0.793651 3.25619 0.793651 2.38095C0.793651 1.50571 1.50571 0.793651 2.38095 0.793651C3.25619 0.793651 3.96826 1.50571 3.96826 2.38095C3.96826 3.25619 3.25619 3.96826 2.38095 3.96826Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M2.38095 11.1992C1.0681 11.1992 0 12.2673 0 13.5802C0 14.8931 1.0681 15.9611 2.38095 15.9611C3.69381 15.9611 4.7619 14.8931 4.7619 13.5802C4.7619 12.2673 3.69381 11.1992 2.38095 11.1992ZM2.38095 15.1675C1.50571 15.1675 0.793651 14.4554 0.793651 13.5802C0.793651 12.7049 1.50571 11.9929 2.38095 11.9929C3.25619 11.9929 3.96826 12.7049 3.96826 13.5802C3.96826 14.4554 3.25619 15.1675 2.38095 15.1675Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M4.15473 12.6454L12.64 4.16016L11.7349 3.25506L3.24964 11.7403L4.15473 12.6454Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M3.24958 4.15925L11.7349 12.6445L12.64 11.7394L4.15468 3.25415L3.24958 4.15925Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M7.97714 10.8334C9.5551 10.8334 10.8343 9.55424 10.8343 7.97628C10.8343 6.39833 9.5551 5.11914 7.97714 5.11914C6.39918 5.11914 5.12 6.39833 5.12 7.97628C5.12 9.55424 6.39918 10.8334 7.97714 10.8334Z", fill: "currentColor" }))), /* @__PURE__ */ g.createElement("defs", null, /* @__PURE__ */ g.createElement("clipPath", { id: "clip0_17179_3800" }, /* @__PURE__ */ g.createElement("rect", { width: 16, height: 16, fill: "white" })))), j8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("path", { d: "M7.95106 12.3437C8.12161 12.1731 8.13712 11.9062 7.99757 11.7182L7.95106 11.6643L3.80722 7.52022L7.95106 3.37616C8.12161 3.20561 8.13712 2.93872 7.99757 2.75065L7.95106 2.69677C7.78051 2.52622 7.51362 2.51071 7.32555 2.65026L7.27167 2.69677L2.78792 7.18052C2.61736 7.35108 2.60186 7.61797 2.7414 7.80603L2.78792 7.85992L7.27167 12.3437C7.45928 12.5313 7.76345 12.5313 7.95106 12.3437Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M12.3433 12.3437C12.5139 12.1731 12.5294 11.9062 12.3898 11.7182L12.3433 11.6643L8.19946 7.52022L12.3433 3.37616C12.5139 3.20561 12.5294 2.93872 12.3898 2.75065L12.3433 2.69677C12.1727 2.52622 11.9059 2.51071 11.7178 2.65026L11.6639 2.69677L7.18016 7.18052C7.0096 7.35108 6.9941 7.61797 7.13364 7.80603L7.18016 7.85991L11.6639 12.3437C11.8515 12.5313 12.1557 12.5313 12.3433 12.3437Z", fill: "currentColor" })), zo = (e) => /* @__PURE__ */ g.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("path", { d: "M8.04891 12.3437C7.87836 12.1731 7.86285 11.9062 8.0024 11.7182L8.04891 11.6643L12.1928 7.52022L8.04891 3.37616C7.87836 3.20561 7.86285 2.93872 8.0024 2.75065L8.04891 2.69677C8.21946 2.52622 8.48635 2.51071 8.67442 2.65026L8.7283 2.69677L13.2121 7.18052C13.3826 7.35108 13.3981 7.61797 13.2586 7.80603L13.2121 7.85992L8.7283 12.3437C8.54069 12.5313 8.23652 12.5313 8.04891 12.3437Z", fill: "currentColor" }), /* @__PURE__ */ g.createElement("path", { d: "M3.65667 12.3437C3.48611 12.1731 3.47061 11.9062 3.61015 11.7182L3.65667 11.6643L7.80051 7.52022L3.65667 3.37616C3.48611 3.20561 3.47061 2.93872 3.61015 2.75065L3.65667 2.69677C3.82722 2.52622 4.09411 2.51071 4.28218 2.65026L4.33606 2.69677L8.81981 7.18052C8.99037 7.35108 9.00587 7.61797 8.86633 7.80603L8.81981 7.85991L4.33606 12.3437C4.14845 12.5313 3.84428 12.5313 3.65667 12.3437Z", fill: "currentColor" })), M8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: 17, height: 16, viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("path", { d: "M10.8335 3.10946C11.004 3.28001 11.0195 3.5469 10.88 3.73497L10.8335 3.78885L6.68964 7.93291L10.8335 12.077C11.004 12.2475 11.0195 12.5144 10.88 12.7025L10.8335 12.7564C10.6629 12.9269 10.396 12.9424 10.208 12.8029L10.1541 12.7564L5.67033 8.2726C5.49978 8.10205 5.48427 7.83516 5.62382 7.64709L5.67033 7.59321L10.1541 3.10946C10.3417 2.92185 10.6459 2.92185 10.8335 3.10946Z", fill: "currentColor" })), k8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: 17, height: 16, viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("path", { d: "M6.16648 3.10946C5.99593 3.28001 5.98042 3.5469 6.11996 3.73497L6.16648 3.78885L10.3103 7.93291L6.16648 12.077C5.99593 12.2475 5.98042 12.5144 6.11996 12.7025L6.16648 12.7564C6.33703 12.9269 6.60392 12.9424 6.79199 12.8029L6.84587 12.7564L11.3296 8.2726C11.5002 8.10205 11.5157 7.83516 11.3761 7.64709L11.3296 7.59321L6.84587 3.10946C6.65826 2.92185 6.35409 2.92185 6.16648 3.10946Z", fill: "currentColor" })), H8 = (e) => /* @__PURE__ */ g.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ g.createElement("rect", { width: 36, height: 36, rx: 5, fill: "#4D4F3B" }), /* @__PURE__ */ g.createElement("mask", { id: "mask0_20572_494912", style: {
|
|
3935
3935
|
maskType: "luminance"
|
|
@@ -3955,11 +3955,11 @@ const sn = () => {
|
|
|
3955
3955
|
}, 3500);
|
|
3956
3956
|
return () => clearTimeout(n);
|
|
3957
3957
|
}, []), /* @__PURE__ */ r.jsxs(vs, { open: e, onOpenChange: t, children: [
|
|
3958
|
-
/* @__PURE__ */ r.jsx(
|
|
3958
|
+
/* @__PURE__ */ r.jsx(_s, { asChild: !0, children: /* @__PURE__ */ r.jsxs(xe, { className: A.lineage_legend, variant: "outline", children: [
|
|
3959
3959
|
"Legend",
|
|
3960
3960
|
e ? /* @__PURE__ */ r.jsx(v8, {}) : /* @__PURE__ */ r.jsx(E8, {})
|
|
3961
3961
|
] }) }),
|
|
3962
|
-
/* @__PURE__ */ r.jsxs(
|
|
3962
|
+
/* @__PURE__ */ r.jsxs(bs, { children: [
|
|
3963
3963
|
Object.keys(Q2).map((n) => /* @__PURE__ */ r.jsxs(R, { direction: "row", gap: "sm", align: "center", className: "mb-1", children: [
|
|
3964
3964
|
/* @__PURE__ */ r.jsx(Rt, { viewsType: n }),
|
|
3965
3965
|
/* @__PURE__ */ r.jsx("div", { children: n })
|
|
@@ -4185,8 +4185,8 @@ const Cl = ({ datatype: e, color: t, size: n = "1rem" }) => {
|
|
|
4185
4185
|
unknown: "UNK"
|
|
4186
4186
|
}, Ko = (e, t) => e ? J8(t) : Q8(t), Xo = (e, t) => e ? t + 1 : t - 1, Ut = (e, t, n, s, o, a, i = Vo, l = !1, c) => {
|
|
4187
4187
|
const d = Xo(o, a), h = (m, f) => {
|
|
4188
|
-
var u,
|
|
4189
|
-
const p = ((
|
|
4188
|
+
var u, _;
|
|
4189
|
+
const p = ((_ = (u = e.find((E) => E.id === m)) == null ? void 0 : u.data) == null ? void 0 : _.level) || 0, y = nn(a, p, s, m, o, l, f);
|
|
4190
4190
|
t.find((E) => E.id === y.id) || t.push(y);
|
|
4191
4191
|
};
|
|
4192
4192
|
let C = 0;
|
|
@@ -4211,28 +4211,28 @@ const Cl = ({ datatype: e, color: t, size: n = "1rem" }) => {
|
|
|
4211
4211
|
for (const u of e)
|
|
4212
4212
|
if (ve(u) && u.parentNode)
|
|
4213
4213
|
u.parentNode in o || (o[u.parentNode] = 0), u.position = {
|
|
4214
|
-
x:
|
|
4215
|
-
y:
|
|
4214
|
+
x: _3,
|
|
4215
|
+
y: b3 + Et(o[u.parentNode])
|
|
4216
4216
|
}, o[u.parentNode]++;
|
|
4217
4217
|
else {
|
|
4218
|
-
const { level:
|
|
4219
|
-
s = Math.min(s,
|
|
4218
|
+
const { level: _ } = u.data;
|
|
4219
|
+
s = Math.min(s, _);
|
|
4220
4220
|
}
|
|
4221
4221
|
const a = {}, i = {}, l = {}, c = {}, d = {}, h = {};
|
|
4222
4222
|
for (const u of t)
|
|
4223
|
-
ve(u) || gt(e.find((
|
|
4223
|
+
ve(u) || gt(e.find((_) => _.id === u.source)) || gt(e.find((_) => _.id === u.target)) || (d[u.source] = d[u.source] || [], d[u.source].push(u.target), h[u.target] = h[u.target] || [], h[u.target].push(u.source));
|
|
4224
4224
|
const C = (u) => {
|
|
4225
|
-
const { level:
|
|
4226
|
-
if (i[
|
|
4227
|
-
l[u.id] = i[
|
|
4228
|
-
for (const E of i[
|
|
4225
|
+
const { level: _ } = u.data;
|
|
4226
|
+
if (i[_] = i[_] || [], !i[_].includes(u.id)) {
|
|
4227
|
+
l[u.id] = i[_].length, a[u.id] = 0;
|
|
4228
|
+
for (const E of i[_])
|
|
4229
4229
|
a[u.id] += o[E] || 0;
|
|
4230
|
-
i[
|
|
4230
|
+
i[_].push(u.id);
|
|
4231
4231
|
}
|
|
4232
|
-
}, m = (u,
|
|
4232
|
+
}, m = (u, _) => {
|
|
4233
4233
|
if (!c[u]) {
|
|
4234
4234
|
c[u] = !0, C(e.find((E) => E.id === u));
|
|
4235
|
-
for (const E of
|
|
4235
|
+
for (const E of _[u] || []) m(E, _);
|
|
4236
4236
|
}
|
|
4237
4237
|
};
|
|
4238
4238
|
for (const u of e)
|
|
@@ -4240,16 +4240,16 @@ const Cl = ({ datatype: e, color: t, size: n = "1rem" }) => {
|
|
|
4240
4240
|
for (const u of e)
|
|
4241
4241
|
ve(u) || gt(u) && C(u);
|
|
4242
4242
|
const f = (u) => {
|
|
4243
|
-
const
|
|
4244
|
-
return h2 +
|
|
4243
|
+
const _ = l[u.id] || 0, E = a[u.id] || 0;
|
|
4244
|
+
return h2 + _ * (H1 + N3) + Et(E, _);
|
|
4245
4245
|
}, p = (u) => (u - s) * (at + S3) + v3, y = (u) => (u - s) * (H1 + L3) + h2, v = (u) => {
|
|
4246
|
-
const
|
|
4247
|
-
return h2 +
|
|
4246
|
+
const _ = l[u.id] || 0, E = a[u.id] || 0;
|
|
4247
|
+
return h2 + _ * (H1 + j3) + Et(E, _);
|
|
4248
4248
|
};
|
|
4249
4249
|
for (const u of e) {
|
|
4250
4250
|
if (ve(u)) continue;
|
|
4251
|
-
const { level:
|
|
4252
|
-
u.position = n ? { x: v(u), y: y(
|
|
4251
|
+
const { level: _ } = u.data;
|
|
4252
|
+
u.position = n ? { x: v(u), y: y(_) } : { x: p(_), y: f(u) };
|
|
4253
4253
|
}
|
|
4254
4254
|
}, Go = (e, t) => (e.forEach((n) => jt(n, !0)), t.forEach((n) => D1(n, !1)), [e, t]), st = (e, t, n) => {
|
|
4255
4255
|
tt(t, !0), nt(t, !1);
|
|
@@ -4279,48 +4279,48 @@ const Cl = ({ datatype: e, color: t, size: n = "1rem" }) => {
|
|
|
4279
4279
|
selectedColumn: l,
|
|
4280
4280
|
showIndirectEdges: c.indirect
|
|
4281
4281
|
});
|
|
4282
|
-
d((
|
|
4282
|
+
d((b) => ({ ...b, ...p })), fe.addLinks(m.length);
|
|
4283
4283
|
const y = m.filter(
|
|
4284
|
-
(
|
|
4285
|
-
), v = y.map((
|
|
4286
|
-
u[
|
|
4287
|
-
const D = u[
|
|
4288
|
-
D ? M === "Transformation" && (D.viewsType = M) : u[
|
|
4289
|
-
}, E = (
|
|
4284
|
+
(b) => a ? Qn(o, b.source) : Qn(o, b.target)
|
|
4285
|
+
), v = y.map((b) => a ? b.target : b.source), u = {}, _ = ([b, H], M) => {
|
|
4286
|
+
u[b] = u[b] || [];
|
|
4287
|
+
const D = u[b].find((V) => V.column === H);
|
|
4288
|
+
D ? M === "Transformation" && (D.viewsType = M) : u[b].push({ column: H, viewsType: M });
|
|
4289
|
+
}, E = (b, H, M, D, V) => {
|
|
4290
4290
|
const $ = Ot(M, D);
|
|
4291
4291
|
C.find((Z) => Z.id === $) || C.push(
|
|
4292
|
-
Nt(M, D, t[
|
|
4292
|
+
Nt(M, D, t[b], t[H], V, c)
|
|
4293
4293
|
);
|
|
4294
4294
|
}, w = [];
|
|
4295
|
-
for (const
|
|
4296
|
-
b
|
|
4297
|
-
const [H] =
|
|
4295
|
+
for (const b of y) {
|
|
4296
|
+
_(b.source), _(b.target, b.viewsType);
|
|
4297
|
+
const [H] = b.source, [M] = b.target, D = s[H], V = s[M], $ = b.source.join("/"), Z = b.target.join("/"), x = Ue + $, k = Ue + Z, N = b.type;
|
|
4298
4298
|
if (D && V)
|
|
4299
4299
|
E(H, M, x, k, N);
|
|
4300
4300
|
else if (D) {
|
|
4301
4301
|
const I = n[M];
|
|
4302
|
-
E(H, I, x, I, N), w.push(
|
|
4302
|
+
E(H, I, x, I, N), w.push(b);
|
|
4303
4303
|
} else if (V) {
|
|
4304
4304
|
const I = n[H];
|
|
4305
|
-
E(I, M, I, k, N), w.push(
|
|
4305
|
+
E(I, M, I, k, N), w.push(b);
|
|
4306
4306
|
} else
|
|
4307
|
-
w.push(
|
|
4307
|
+
w.push(b);
|
|
4308
4308
|
}
|
|
4309
|
-
for (const
|
|
4310
|
-
if (!s[
|
|
4311
|
-
const H = [...u[
|
|
4309
|
+
for (const b in u) {
|
|
4310
|
+
if (!s[b]) continue;
|
|
4311
|
+
const H = [...u[b]];
|
|
4312
4312
|
H.sort((M, D) => M.column.localeCompare(D.column));
|
|
4313
4313
|
for (const M of H) {
|
|
4314
4314
|
const D = {};
|
|
4315
|
-
y.filter((V) => V.target.join("/") === `${
|
|
4315
|
+
y.filter((V) => V.target.join("/") === `${b}/${M.column}`).forEach((V) => {
|
|
4316
4316
|
V.type !== "indirect" && (D[V.source.join("/")] = V.viewsCode || []);
|
|
4317
4317
|
}), h.push(
|
|
4318
4318
|
Lt(
|
|
4319
|
-
|
|
4319
|
+
b,
|
|
4320
4320
|
M.column,
|
|
4321
4321
|
M.viewsType,
|
|
4322
4322
|
D,
|
|
4323
|
-
(j = (S = e.find((V) => V.id =
|
|
4323
|
+
(j = (S = e.find((V) => V.id = b)) == null ? void 0 : S.data) == null ? void 0 : j.nodeType
|
|
4324
4324
|
)
|
|
4325
4325
|
);
|
|
4326
4326
|
}
|
|
@@ -4337,8 +4337,8 @@ const Cl = ({ datatype: e, color: t, size: n = "1rem" }) => {
|
|
|
4337
4337
|
const c = {}, d = [];
|
|
4338
4338
|
for (const u of t) {
|
|
4339
4339
|
if (u.id.startsWith(Ue)) continue;
|
|
4340
|
-
const
|
|
4341
|
-
|
|
4340
|
+
const _ = l[u.source], E = l[u.target];
|
|
4341
|
+
_ && E ? d.push({ src: u.source, dst: u.target }) : _ ? (f = e.find((S) => S.id === u.target).data.tables) == null || f.forEach((S) => {
|
|
4342
4342
|
d.push({ src: u.source, dst: S.table }), c[S.table] = u.target;
|
|
4343
4343
|
}) : E && ((p = e.find((S) => S.id === u.source).data.tables) == null || p.forEach((S) => {
|
|
4344
4344
|
d.push({ src: S.table, dst: u.target }), c[S.table] = u.source;
|
|
@@ -4350,33 +4350,33 @@ const Cl = ({ datatype: e, color: t, size: n = "1rem" }) => {
|
|
|
4350
4350
|
});
|
|
4351
4351
|
for (const u in h) {
|
|
4352
4352
|
if (!l[u]) continue;
|
|
4353
|
-
const
|
|
4354
|
-
|
|
4355
|
-
for (const E of
|
|
4353
|
+
const _ = [...h[u]];
|
|
4354
|
+
_.sort((E, w) => E.column.localeCompare(w.column));
|
|
4355
|
+
for (const E of _) {
|
|
4356
4356
|
const w = (v = (y = e.find((S) => S.id === u)) == null ? void 0 : y.data) == null ? void 0 : v.nodeType;
|
|
4357
4357
|
o.push(Lt(u, E.column, E.viewsType, {}, w));
|
|
4358
4358
|
}
|
|
4359
4359
|
}
|
|
4360
4360
|
a.forEach((u) => u.style = Bt);
|
|
4361
|
-
const m = (u,
|
|
4361
|
+
const m = (u, _, E, w, S) => {
|
|
4362
4362
|
const j = Ot(E, w);
|
|
4363
|
-
a.find((
|
|
4364
|
-
Nt(E, w, i[u], i[
|
|
4363
|
+
a.find((b) => b.id === j) || a.push(
|
|
4364
|
+
Nt(E, w, i[u], i[_], S, {
|
|
4365
4365
|
direct: S === "direct",
|
|
4366
4366
|
indirect: S === "indirect"
|
|
4367
4367
|
})
|
|
4368
4368
|
);
|
|
4369
4369
|
};
|
|
4370
4370
|
for (const u of C) {
|
|
4371
|
-
const [
|
|
4371
|
+
const [_] = u[0].split("/"), [E] = u[1].split("/"), w = l[_], S = l[E], j = Ue + u[0], b = Ue + u[1], H = u[2] || "direct";
|
|
4372
4372
|
if (w && S)
|
|
4373
|
-
m(
|
|
4373
|
+
m(_, E, j, b, H);
|
|
4374
4374
|
else if (w) {
|
|
4375
4375
|
const M = c[E];
|
|
4376
|
-
m(
|
|
4376
|
+
m(_, M, j, M, H);
|
|
4377
4377
|
} else if (S) {
|
|
4378
|
-
const M = c[
|
|
4379
|
-
m(M, E, M,
|
|
4378
|
+
const M = c[_];
|
|
4379
|
+
m(M, E, M, b, H);
|
|
4380
4380
|
}
|
|
4381
4381
|
}
|
|
4382
4382
|
return Pe(o, a), { nodes: o, edges: a, collect_columns: h };
|
|
@@ -4476,9 +4476,9 @@ const Cl = ({ datatype: e, color: t, size: n = "1rem" }) => {
|
|
|
4476
4476
|
ls(e, t, n, !1),
|
|
4477
4477
|
ls(e, t, n, !0)
|
|
4478
4478
|
], Jo = async (e, t, n, s, o, a, i, l, c, d, h, C) => {
|
|
4479
|
-
var S, j,
|
|
4479
|
+
var S, j, b, H, M, D;
|
|
4480
4480
|
let m = !1;
|
|
4481
|
-
const { levelMap: f, tableNodes: p, seeMoreIdTableReverseMap: y } = M3(e, t), v = (V) => e.find(($) => $.id === V), u = {},
|
|
4481
|
+
const { levelMap: f, tableNodes: p, seeMoreIdTableReverseMap: y } = M3(e, t), v = (V) => e.find(($) => $.id === V), u = {}, _ = {};
|
|
4482
4482
|
let E = s.map((V) => [V.table, V.name]), w = [];
|
|
4483
4483
|
for (C(() => ({})); !(fe.isCancelled || (E = E.filter((z) => !u[z.join("/")]), E.length === 0 && w.length === 0)); ) {
|
|
4484
4484
|
const V = {};
|
|
@@ -4489,15 +4489,15 @@ const Cl = ({ datatype: e, color: t, size: n = "1rem" }) => {
|
|
|
4489
4489
|
let I = !1;
|
|
4490
4490
|
for (const z of t) {
|
|
4491
4491
|
if (ve(z)) continue;
|
|
4492
|
-
const W = z[$], G = z[Z], ee = p[G] ? [(S = v(G)) == null ? void 0 : S.data] : (H = (
|
|
4492
|
+
const W = z[$], G = z[Z], ee = p[G] ? [(S = v(G)) == null ? void 0 : S.data] : (H = (b = (j = v(G)) == null ? void 0 : j.data) == null ? void 0 : b.tables) == null ? void 0 : H.filter((te) => !p[te.table]);
|
|
4493
4493
|
ee == null || ee.forEach((te) => {
|
|
4494
4494
|
if (!te) return;
|
|
4495
4495
|
const { table: ne, materialization: oe } = te;
|
|
4496
4496
|
V[W] ? (I = !0, oe === "ephemeral" ? (es(
|
|
4497
|
-
|
|
4497
|
+
_,
|
|
4498
4498
|
ne,
|
|
4499
|
-
E.filter((
|
|
4500
|
-
), k.push(ne)) : x.push(ne)) : w.includes(W) && (I = !0, oe === "ephemeral" ? (es(
|
|
4499
|
+
E.filter((_e) => _e[0] === W)
|
|
4500
|
+
), k.push(ne)) : x.push(ne)) : w.includes(W) && (I = !0, oe === "ephemeral" ? (es(_, ne, _[W]), k.push(ne)) : (N.push(W), x.push(ne)));
|
|
4501
4501
|
});
|
|
4502
4502
|
}
|
|
4503
4503
|
if (!I)
|
|
@@ -4505,7 +4505,7 @@ const Cl = ({ datatype: e, color: t, size: n = "1rem" }) => {
|
|
|
4505
4505
|
w = k;
|
|
4506
4506
|
const P = Object.keys(V).concat(x);
|
|
4507
4507
|
N.forEach((z) => {
|
|
4508
|
-
E.push(...
|
|
4508
|
+
E.push(..._[z]), P.push(..._[z].map((W) => W[0]));
|
|
4509
4509
|
});
|
|
4510
4510
|
const L = await pl(
|
|
4511
4511
|
e,
|
|
@@ -4729,21 +4729,21 @@ const Cl = ({ datatype: e, color: t, size: n = "1rem" }) => {
|
|
|
4729
4729
|
collectColumns: y,
|
|
4730
4730
|
selectedColumn: v,
|
|
4731
4731
|
leftExpansion: u,
|
|
4732
|
-
rightExpansion:
|
|
4732
|
+
rightExpansion: _,
|
|
4733
4733
|
selectCheck: E,
|
|
4734
4734
|
nonSelectCheck: w,
|
|
4735
4735
|
errors: S
|
|
4736
4736
|
},
|
|
4737
4737
|
rerender: j
|
|
4738
|
-
} = de(),
|
|
4738
|
+
} = de(), b = me(), H = Object.keys(y[n] || {}).length, M = H > 0, D = p === n, V = async (P) => {
|
|
4739
4739
|
if (fe.inProgress) {
|
|
4740
4740
|
fe.showCllInProgressMsg();
|
|
4741
4741
|
return;
|
|
4742
4742
|
}
|
|
4743
4743
|
let [L, F] = await qo(f.getNodes(), f.getEdges(), n, P);
|
|
4744
|
-
if ([L, F] = st(L, F, p), Pe(L, F), f.setNodes(L), f.setEdges(F),
|
|
4744
|
+
if ([L, F] = st(L, F, p), Pe(L, F), f.setNodes(L), f.setEdges(F), b(A1(Z1(L, F, p))), b(
|
|
4745
4745
|
h1(
|
|
4746
|
-
await g1(L, F, p, u,
|
|
4746
|
+
await g1(L, F, p, u, _)
|
|
4747
4747
|
)
|
|
4748
4748
|
), j(), !!(v != null && v.name))
|
|
4749
4749
|
try {
|
|
@@ -4755,13 +4755,13 @@ const Cl = ({ datatype: e, color: t, size: n = "1rem" }) => {
|
|
|
4755
4755
|
P,
|
|
4756
4756
|
y[n].map((B) => ({ table: n, name: B.column })),
|
|
4757
4757
|
(B) => {
|
|
4758
|
-
|
|
4758
|
+
b(As({ operatorList: B }));
|
|
4759
4759
|
},
|
|
4760
4760
|
(B) => {
|
|
4761
|
-
|
|
4761
|
+
b(ks(B));
|
|
4762
4762
|
},
|
|
4763
4763
|
(B) => {
|
|
4764
|
-
|
|
4764
|
+
b(Hs(B));
|
|
4765
4765
|
},
|
|
4766
4766
|
() => [f.getNodes(), f.getEdges()],
|
|
4767
4767
|
(B, U) => {
|
|
@@ -4769,7 +4769,7 @@ const Cl = ({ datatype: e, color: t, size: n = "1rem" }) => {
|
|
|
4769
4769
|
},
|
|
4770
4770
|
v,
|
|
4771
4771
|
{ direct: E, indirect: w },
|
|
4772
|
-
(B) =>
|
|
4772
|
+
(B) => b(Ds(B(S)))
|
|
4773
4773
|
), j();
|
|
4774
4774
|
} catch (O) {
|
|
4775
4775
|
console.log("cll:error:", O);
|
|
@@ -4779,7 +4779,7 @@ const Cl = ({ datatype: e, color: t, size: n = "1rem" }) => {
|
|
|
4779
4779
|
}, $ = () => V(!0), Z = () => V(!1), x = (P) => {
|
|
4780
4780
|
if (P.stopPropagation(), i === "semantic_model")
|
|
4781
4781
|
return;
|
|
4782
|
-
|
|
4782
|
+
b(Ye(n)), b(He({
|
|
4783
4783
|
exposure: X2,
|
|
4784
4784
|
snowflake_stage: ko,
|
|
4785
4785
|
dashboard: G2
|
|
@@ -4799,11 +4799,11 @@ const Cl = ({ datatype: e, color: t, size: n = "1rem" }) => {
|
|
|
4799
4799
|
className: A.table_node,
|
|
4800
4800
|
onClick: async () => {
|
|
4801
4801
|
const P = f.getNodes(), L = f.getEdges();
|
|
4802
|
-
|
|
4802
|
+
b(A1(Z1(P, L, n))), b(
|
|
4803
4803
|
h1(
|
|
4804
|
-
await g1(P, L, n, u,
|
|
4804
|
+
await g1(P, L, n, u, _)
|
|
4805
4805
|
)
|
|
4806
|
-
), Ht(f, n),
|
|
4806
|
+
), Ht(f, n), b(Ye(n)), s && al(s);
|
|
4807
4807
|
},
|
|
4808
4808
|
children: [
|
|
4809
4809
|
/* @__PURE__ */ r.jsx(
|
|
@@ -4979,7 +4979,7 @@ const Cl = ({ datatype: e, color: t, size: n = "1rem" }) => {
|
|
|
4979
4979
|
]
|
|
4980
4980
|
}
|
|
4981
4981
|
);
|
|
4982
|
-
},
|
|
4982
|
+
}, _l = ({ data: e }) => {
|
|
4983
4983
|
var S;
|
|
4984
4984
|
const {
|
|
4985
4985
|
dashboard_name: t,
|
|
@@ -5001,8 +5001,8 @@ const Cl = ({ datatype: e, color: t, size: n = "1rem" }) => {
|
|
|
5001
5001
|
errors: v
|
|
5002
5002
|
},
|
|
5003
5003
|
rerender: u
|
|
5004
|
-
} = de(),
|
|
5005
|
-
j.stopPropagation(),
|
|
5004
|
+
} = de(), _ = me(), E = d === l, w = (j) => {
|
|
5005
|
+
j.stopPropagation(), _(Ye(l)), _(He(G2));
|
|
5006
5006
|
};
|
|
5007
5007
|
return /* @__PURE__ */ r.jsxs(
|
|
5008
5008
|
"div",
|
|
@@ -5017,12 +5017,12 @@ const Cl = ({ datatype: e, color: t, size: n = "1rem" }) => {
|
|
|
5017
5017
|
{
|
|
5018
5018
|
className: A.table_node,
|
|
5019
5019
|
onClick: async () => {
|
|
5020
|
-
const j = c.getNodes(),
|
|
5021
|
-
|
|
5020
|
+
const j = c.getNodes(), b = c.getEdges();
|
|
5021
|
+
_(A1(Z1(j, b, l))), _(
|
|
5022
5022
|
h1(
|
|
5023
|
-
await g1(j,
|
|
5023
|
+
await g1(j, b, l, m, f)
|
|
5024
5024
|
)
|
|
5025
|
-
), Ht(c, l),
|
|
5025
|
+
), Ht(c, l), _(Ye(l));
|
|
5026
5026
|
},
|
|
5027
5027
|
children: /* @__PURE__ */ r.jsx(
|
|
5028
5028
|
R,
|
|
@@ -5057,11 +5057,11 @@ const Cl = ({ datatype: e, color: t, size: n = "1rem" }) => {
|
|
|
5057
5057
|
((S = v == null ? void 0 : v[l]) == null ? void 0 : S.length) && /* @__PURE__ */ r.jsx(
|
|
5058
5058
|
t1,
|
|
5059
5059
|
{
|
|
5060
|
-
title: /* @__PURE__ */ r.jsx("div", { className: A.error_tooltip, children: v[l].map((j,
|
|
5061
|
-
|
|
5060
|
+
title: /* @__PURE__ */ r.jsx("div", { className: A.error_tooltip, children: v[l].map((j, b) => /* @__PURE__ */ r.jsxs("div", { className: "al-mb-1", children: [
|
|
5061
|
+
b + 1,
|
|
5062
5062
|
". ",
|
|
5063
5063
|
j
|
|
5064
|
-
] },
|
|
5064
|
+
] }, b)) }),
|
|
5065
5065
|
children: /* @__PURE__ */ r.jsx($o, {})
|
|
5066
5066
|
}
|
|
5067
5067
|
)
|
|
@@ -5100,7 +5100,7 @@ const Cl = ({ datatype: e, color: t, size: n = "1rem" }) => {
|
|
|
5100
5100
|
}) => e ? /* @__PURE__ */ r.jsx(t1, { title: e.tooltip, children: /* @__PURE__ */ r.jsxs("div", { className: t, children: [
|
|
5101
5101
|
/* @__PURE__ */ r.jsx("div", { className: A.value, children: e.value }),
|
|
5102
5102
|
/* @__PURE__ */ r.jsx("div", { className: A.percent, children: e.percent })
|
|
5103
|
-
] }) }) : null,
|
|
5103
|
+
] }) }) : null, bl = ({ data: e }) => {
|
|
5104
5104
|
var m, f;
|
|
5105
5105
|
const { table: t, nodeType: n, label: s } = e, {
|
|
5106
5106
|
state: {
|
|
@@ -5226,7 +5226,7 @@ const Cl = ({ datatype: e, color: t, size: n = "1rem" }) => {
|
|
|
5226
5226
|
{
|
|
5227
5227
|
className: A.column_code_icon,
|
|
5228
5228
|
onClick: (v) => {
|
|
5229
|
-
var u,
|
|
5229
|
+
var u, _;
|
|
5230
5230
|
v.stopPropagation(), c ? d(
|
|
5231
5231
|
V1({
|
|
5232
5232
|
type: "views_code",
|
|
@@ -5246,7 +5246,7 @@ const Cl = ({ datatype: e, color: t, size: n = "1rem" }) => {
|
|
|
5246
5246
|
nodeType: a,
|
|
5247
5247
|
column: t,
|
|
5248
5248
|
datatype: i,
|
|
5249
|
-
label: (
|
|
5249
|
+
label: (_ = (u = f.getNode(n)) == null ? void 0 : u.data) == null ? void 0 : _.label
|
|
5250
5250
|
});
|
|
5251
5251
|
},
|
|
5252
5252
|
children: /* @__PURE__ */ r.jsx(Cs, {})
|
|
@@ -5432,8 +5432,8 @@ function tr() {
|
|
|
5432
5432
|
const p = [...c.getNodes()], y = [...c.getEdges()];
|
|
5433
5433
|
let v = !0;
|
|
5434
5434
|
for (const u of d) {
|
|
5435
|
-
const
|
|
5436
|
-
!
|
|
5435
|
+
const _ = c.getNode(u.table), E = _ && _.data.level !== i;
|
|
5436
|
+
!_ && !E && (cs(p, y, u, e, {
|
|
5437
5437
|
direct: t,
|
|
5438
5438
|
indirect: n
|
|
5439
5439
|
}) || (v = !1));
|
|
@@ -5719,10 +5719,10 @@ const jl = "_component_13r39_1", Ml = "_spin_13r39_1", kl = {
|
|
|
5719
5719
|
theme: C,
|
|
5720
5720
|
lightdashEnabled: m
|
|
5721
5721
|
}
|
|
5722
|
-
} = de(), f = me(), p = Le(), [y, v] = se([]), [u,
|
|
5722
|
+
} = de(), f = me(), p = Le(), [y, v] = se([]), [u, _] = se(null), [E, w] = se(null), [S, j] = se(0), [b, H] = se(!0);
|
|
5723
5723
|
X(() => {
|
|
5724
5724
|
o && (H(!0), zt(o, !1).then((Z) => {
|
|
5725
|
-
|
|
5725
|
+
_(Z), v(Z.columns), H(!1);
|
|
5726
5726
|
}).catch(() => {
|
|
5727
5727
|
H(!1);
|
|
5728
5728
|
}), nl(o).then((Z) => {
|
|
@@ -5792,7 +5792,7 @@ const jl = "_component_13r39_1", Ml = "_spin_13r39_1", kl = {
|
|
|
5792
5792
|
fe.end();
|
|
5793
5793
|
}
|
|
5794
5794
|
}, D = ($ = p.getNode(o)) == null ? void 0 : $.data;
|
|
5795
|
-
if (
|
|
5795
|
+
if (b || !u || !o) return /* @__PURE__ */ r.jsx(Yt, {});
|
|
5796
5796
|
const V = ["Column"];
|
|
5797
5797
|
return D.tests.length && V.push("Tests"), m && V.push("Lightdash"), E !== null && V.push("dbt"), /* @__PURE__ */ r.jsxs(R, { direction: "column", gap: "2xl", className: "al-p-2 al-h-full al-overflow-y-auto", children: [
|
|
5798
5798
|
/* @__PURE__ */ r.jsx(
|
|
@@ -5838,7 +5838,7 @@ const jl = "_component_13r39_1", Ml = "_spin_13r39_1", kl = {
|
|
|
5838
5838
|
setFilteredColumn: v,
|
|
5839
5839
|
columns: u.columns,
|
|
5840
5840
|
handleColumnClick: M,
|
|
5841
|
-
setData:
|
|
5841
|
+
setData: _,
|
|
5842
5842
|
allowSyncColumnsWithDB: d,
|
|
5843
5843
|
lineageType: e
|
|
5844
5844
|
}
|
|
@@ -5851,12 +5851,12 @@ const jl = "_component_13r39_1", Ml = "_spin_13r39_1", kl = {
|
|
|
5851
5851
|
currentTableId: e,
|
|
5852
5852
|
onNavigate: t
|
|
5853
5853
|
} = {}) => {
|
|
5854
|
-
var v, u,
|
|
5854
|
+
var v, u, _, E;
|
|
5855
5855
|
const {
|
|
5856
5856
|
state: { theme: n }
|
|
5857
5857
|
} = Ae(m1), {
|
|
5858
5858
|
state: { sqlLineage: s, selectedTable: o, allowSyncColumnsWithDB: a }
|
|
5859
|
-
} = de(), i = (
|
|
5859
|
+
} = de(), i = (_ = (u = (v = s == null ? void 0 : s.details) == null ? void 0 : v[o]) == null ? void 0 : u.columns) == null ? void 0 : _.map((w) => ({
|
|
5860
5860
|
...w,
|
|
5861
5861
|
description: w.expression
|
|
5862
5862
|
})), [l, c] = se(i), [d, h] = se(i), C = (E = s == null ? void 0 : s.details) == null ? void 0 : E[o];
|
|
@@ -6108,7 +6108,7 @@ const jl = "_component_13r39_1", Ml = "_spin_13r39_1", kl = {
|
|
|
6108
6108
|
Ie,
|
|
6109
6109
|
{
|
|
6110
6110
|
title: /* @__PURE__ */ r.jsxs(R, { direction: "row", align: "center", gap: "xs", children: [
|
|
6111
|
-
/* @__PURE__ */ r.jsx(
|
|
6111
|
+
/* @__PURE__ */ r.jsx(ba, { className: "al-w-4 al-h-4 al-text-blue-600" }),
|
|
6112
6112
|
/* @__PURE__ */ r.jsx("span", { className: "al-font-medium", children: "Site" })
|
|
6113
6113
|
] }),
|
|
6114
6114
|
value: n.site_name
|
|
@@ -6219,7 +6219,7 @@ function Wl({ close: e }) {
|
|
|
6219
6219
|
)
|
|
6220
6220
|
}
|
|
6221
6221
|
) : /* @__PURE__ */ r.jsx(
|
|
6222
|
-
|
|
6222
|
+
_8,
|
|
6223
6223
|
{
|
|
6224
6224
|
className: "cursor-pointer",
|
|
6225
6225
|
onClick: () => n(
|
|
@@ -6238,7 +6238,7 @@ function Wl({ close: e }) {
|
|
|
6238
6238
|
)
|
|
6239
6239
|
}
|
|
6240
6240
|
) : /* @__PURE__ */ r.jsx(
|
|
6241
|
-
|
|
6241
|
+
b8,
|
|
6242
6242
|
{
|
|
6243
6243
|
className: "cursor-pointer",
|
|
6244
6244
|
onClick: () => n(
|
|
@@ -6386,7 +6386,7 @@ function ir({
|
|
|
6386
6386
|
}) {
|
|
6387
6387
|
const { openedPopover: s, setOpenedPopover: o } = Ae(Cn);
|
|
6388
6388
|
return /* @__PURE__ */ r.jsxs(vs, { open: s === e, onOpenChange: (a) => o(a ? e : ""), children: [
|
|
6389
|
-
/* @__PURE__ */ r.jsx(
|
|
6389
|
+
/* @__PURE__ */ r.jsx(_s, { asChild: !0, children: /* @__PURE__ */ r.jsx(
|
|
6390
6390
|
"div",
|
|
6391
6391
|
{
|
|
6392
6392
|
id: e,
|
|
@@ -6396,7 +6396,7 @@ function ir({
|
|
|
6396
6396
|
children: t
|
|
6397
6397
|
}
|
|
6398
6398
|
) }),
|
|
6399
|
-
/* @__PURE__ */ r.jsx(
|
|
6399
|
+
/* @__PURE__ */ r.jsx(bs, { className: A.popover, children: /* @__PURE__ */ r.jsx("div", { children: n({ close: () => o("") }) }) })
|
|
6400
6400
|
] });
|
|
6401
6401
|
}
|
|
6402
6402
|
const Yl = () => {
|
|
@@ -6420,12 +6420,12 @@ const Yl = () => {
|
|
|
6420
6420
|
))();
|
|
6421
6421
|
}, [e, n, h, s, t]), X(() => {
|
|
6422
6422
|
(async () => {
|
|
6423
|
-
var
|
|
6423
|
+
var b;
|
|
6424
6424
|
if (!f || !t) return;
|
|
6425
|
-
const v = (
|
|
6425
|
+
const v = (b = e.getNode(t)) == null ? void 0 : b.data;
|
|
6426
6426
|
if (!v) return;
|
|
6427
|
-
const { level: u } = v,
|
|
6428
|
-
|
|
6427
|
+
const { level: u } = v, _ = e.getNodes(), E = e.getEdges(), [w] = await At(
|
|
6428
|
+
_,
|
|
6429
6429
|
E,
|
|
6430
6430
|
t,
|
|
6431
6431
|
-1 / 0,
|
|
@@ -6539,14 +6539,14 @@ const Yl = () => {
|
|
|
6539
6539
|
onClick: async (u) => {
|
|
6540
6540
|
var S;
|
|
6541
6541
|
if (u.stopPropagation(), !t) return;
|
|
6542
|
-
const
|
|
6543
|
-
if (!
|
|
6542
|
+
const _ = (S = e.getNode(t)) == null ? void 0 : S.data;
|
|
6543
|
+
if (!_) return;
|
|
6544
6544
|
const [E, w] = await At(
|
|
6545
6545
|
e.getNodes(),
|
|
6546
6546
|
e.getEdges(),
|
|
6547
6547
|
t,
|
|
6548
|
-
|
|
6549
|
-
|
|
6548
|
+
_.level - n,
|
|
6549
|
+
_.level + s,
|
|
6550
6550
|
1 / 0
|
|
6551
6551
|
);
|
|
6552
6552
|
st(E, w, t), Pe(E, w), e.setNodes(E), e.setEdges(w), e.fitView({ minZoom: N2 }), h(A1(Z1(E, w, t))), h(
|
|
@@ -6652,18 +6652,18 @@ const Yl = () => {
|
|
|
6652
6652
|
i || !s.upstream && !s.downstream || !s.direct && !s.indirect || a();
|
|
6653
6653
|
};
|
|
6654
6654
|
return /* @__PURE__ */ r.jsxs(R, { direction: "column", children: [
|
|
6655
|
-
/* @__PURE__ */ r.jsxs(Se, { weight: "
|
|
6655
|
+
/* @__PURE__ */ r.jsxs(Se, { weight: "medium", className: "al-mb-0 al-text-primary", children: [
|
|
6656
6656
|
t,
|
|
6657
6657
|
"/",
|
|
6658
6658
|
n
|
|
6659
6659
|
] }),
|
|
6660
6660
|
/* @__PURE__ */ r.jsxs(R, { direction: "column", gap: "xxs", children: [
|
|
6661
|
-
/* @__PURE__ */ r.jsx(Se, { weight: "
|
|
6661
|
+
/* @__PURE__ */ r.jsx(Se, { weight: "medium", size: "sm", className: "al-mb-0", children: "Lineage Type" }),
|
|
6662
6662
|
/* @__PURE__ */ r.jsx(wt, { id: "direct", label: "Select", params: s, setParams: o }),
|
|
6663
6663
|
/* @__PURE__ */ r.jsx(wt, { id: "indirect", label: "Non select", params: s, setParams: o })
|
|
6664
6664
|
] }),
|
|
6665
6665
|
/* @__PURE__ */ r.jsxs(R, { direction: "column", gap: "xxs", children: [
|
|
6666
|
-
/* @__PURE__ */ r.jsx(Se, { weight: "
|
|
6666
|
+
/* @__PURE__ */ r.jsx(Se, { weight: "medium", size: "sm", className: "al-mb-0", children: "Lineage Direction" }),
|
|
6667
6667
|
/* @__PURE__ */ r.jsx(wt, { id: "upstream", label: "Upstream", params: s, setParams: o }),
|
|
6668
6668
|
/* @__PURE__ */ r.jsx(wt, { id: "downstream", label: "Downstream", params: s, setParams: o })
|
|
6669
6669
|
] }),
|
|
@@ -6861,7 +6861,7 @@ const gn = () => {
|
|
|
6861
6861
|
/* @__PURE__ */ r.jsx(on, { className: "icon-sm" }),
|
|
6862
6862
|
/* @__PURE__ */ r.jsx(Se, { variant: "caption", size: "sm", className: "al-text-xs al-mb-0 al-text-primary", children: "STG" })
|
|
6863
6863
|
] }),
|
|
6864
|
-
/* @__PURE__ */ r.jsx(R, { align: "center", children: /* @__PURE__ */ r.jsx(Se, { weight: "
|
|
6864
|
+
/* @__PURE__ */ r.jsx(R, { align: "center", children: /* @__PURE__ */ r.jsx(Se, { weight: "medium", className: "lines-2 al-mb-0", children: n == null ? void 0 : n.label }) })
|
|
6865
6865
|
] }),
|
|
6866
6866
|
/* @__PURE__ */ r.jsx("div", { className: Q(A.card, "column-section"), children: [
|
|
6867
6867
|
{ label: "Stage Url", value: o.stage_url },
|
|
@@ -6869,17 +6869,17 @@ const gn = () => {
|
|
|
6869
6869
|
{ label: "Stage Type", value: o.stage_type },
|
|
6870
6870
|
{ label: "Stage Owner", value: o.stage_owner }
|
|
6871
6871
|
].map(({ label: l, value: c }) => /* @__PURE__ */ r.jsx(V2, { className: "al-mb-2 al-p-2", children: /* @__PURE__ */ r.jsxs(R, { children: [
|
|
6872
|
-
/* @__PURE__ */ r.jsxs(Se, { weight: "
|
|
6872
|
+
/* @__PURE__ */ r.jsxs(Se, { weight: "medium", size: "sm", className: "al-mb-0", children: [
|
|
6873
6873
|
l,
|
|
6874
6874
|
":"
|
|
6875
6875
|
] }),
|
|
6876
|
-
/* @__PURE__ */ r.jsx(Se, {
|
|
6876
|
+
/* @__PURE__ */ r.jsx(Se, { weight: "regular", size: "sm", className: "al-mb-0", children: c })
|
|
6877
6877
|
] }) }, l)) })
|
|
6878
6878
|
] });
|
|
6879
6879
|
}, nc = {
|
|
6880
6880
|
table: Qo,
|
|
6881
6881
|
seeMore: cn,
|
|
6882
|
-
dashboard:
|
|
6882
|
+
dashboard: _l,
|
|
6883
6883
|
column: un
|
|
6884
6884
|
}, sc = { selfConnecting: dn }, oc = ({
|
|
6885
6885
|
flow: e,
|
|
@@ -6918,16 +6918,16 @@ const gn = () => {
|
|
|
6918
6918
|
);
|
|
6919
6919
|
return;
|
|
6920
6920
|
}
|
|
6921
|
-
let
|
|
6922
|
-
|
|
6923
|
-
|
|
6921
|
+
let b = [], H = [];
|
|
6922
|
+
b = [I1(w, 0, "")], [b, H] = await At(
|
|
6923
|
+
b,
|
|
6924
6924
|
H,
|
|
6925
6925
|
w.table,
|
|
6926
6926
|
-p.current,
|
|
6927
6927
|
p.current
|
|
6928
|
-
), f(Ye(w.table)), f(d1({ table: "", name: "" })), f(q1({})), f(T2({})), [
|
|
6928
|
+
), f(Ye(w.table)), f(d1({ table: "", name: "" })), f(q1({})), f(T2({})), [b, H] = st(b, H, w.table), Pe(b, H), S.setNodes(b), S.setEdges(H), S.fitView({ minZoom: N2, duration: 500 }), f(A1(Z1(b, H, w.table))), f(
|
|
6929
6929
|
h1(
|
|
6930
|
-
await g1(
|
|
6930
|
+
await g1(b, H, w.table, l, c)
|
|
6931
6931
|
)
|
|
6932
6932
|
), m();
|
|
6933
6933
|
},
|
|
@@ -6952,7 +6952,7 @@ const gn = () => {
|
|
|
6952
6952
|
const E = e.current;
|
|
6953
6953
|
if (!E) return;
|
|
6954
6954
|
(async () => {
|
|
6955
|
-
var
|
|
6955
|
+
var b;
|
|
6956
6956
|
const S = d;
|
|
6957
6957
|
if (!(S != null && S.name)) return;
|
|
6958
6958
|
const j = E.getEdges();
|
|
@@ -6963,13 +6963,13 @@ const gn = () => {
|
|
|
6963
6963
|
}
|
|
6964
6964
|
for (const H of j) {
|
|
6965
6965
|
H.hidden = !1;
|
|
6966
|
-
const M = (
|
|
6966
|
+
const M = (b = H.data) == null ? void 0 : b.type;
|
|
6967
6967
|
M && (M === "direct" && (H.hidden = !o), M === "indirect" && (H.hidden = !a));
|
|
6968
6968
|
}
|
|
6969
6969
|
E.setEdges(j);
|
|
6970
6970
|
})();
|
|
6971
6971
|
}, [o, a, e, d, f, C]);
|
|
6972
|
-
const
|
|
6972
|
+
const _ = (E) => {
|
|
6973
6973
|
e.current = E, Yo();
|
|
6974
6974
|
};
|
|
6975
6975
|
return /* @__PURE__ */ r.jsx(
|
|
@@ -6984,7 +6984,7 @@ const gn = () => {
|
|
|
6984
6984
|
{
|
|
6985
6985
|
defaultNodes: [],
|
|
6986
6986
|
defaultEdges: [],
|
|
6987
|
-
onInit: (E) =>
|
|
6987
|
+
onInit: (E) => _(E),
|
|
6988
6988
|
nodeTypes: nc,
|
|
6989
6989
|
edgeTypes: sc,
|
|
6990
6990
|
style: { background: "var(--bg-color)" },
|
|
@@ -7059,14 +7059,14 @@ const gn = () => {
|
|
|
7059
7059
|
tests: []
|
|
7060
7060
|
}), { sources: d } = Po(o);
|
|
7061
7061
|
let h = [], C = [];
|
|
7062
|
-
const m = [...d], f = {}, p = (u,
|
|
7062
|
+
const m = [...d], f = {}, p = (u, _) => {
|
|
7063
7063
|
var S, j;
|
|
7064
|
-
const E = u ? o.filter(([
|
|
7064
|
+
const E = u ? o.filter(([b]) => b === _).map(([, b]) => b) : o.filter(([, b]) => b === _).map(([b]) => b), w = ((j = (S = h.find((b) => b.id === _)) == null ? void 0 : S.data) == null ? void 0 : j.level) || 0;
|
|
7065
7065
|
return Ut(
|
|
7066
7066
|
h,
|
|
7067
7067
|
C,
|
|
7068
7068
|
E.map(c),
|
|
7069
|
-
|
|
7069
|
+
_,
|
|
7070
7070
|
u,
|
|
7071
7071
|
w,
|
|
7072
7072
|
1e4,
|
|
@@ -7079,7 +7079,7 @@ const gn = () => {
|
|
|
7079
7079
|
f[u] || (f[u] = !0, m.push(...p(!0, u), ...p(!1, u)));
|
|
7080
7080
|
}
|
|
7081
7081
|
if (t) {
|
|
7082
|
-
const u = `${t.table}/${t.name}`, { nodes:
|
|
7082
|
+
const u = `${t.table}/${t.name}`, { nodes: _, edges: E } = await xl(
|
|
7083
7083
|
h,
|
|
7084
7084
|
C,
|
|
7085
7085
|
u,
|
|
@@ -7088,7 +7088,7 @@ const gn = () => {
|
|
|
7088
7088
|
highlight_edges: s
|
|
7089
7089
|
})
|
|
7090
7090
|
);
|
|
7091
|
-
h =
|
|
7091
|
+
h = _, C = E;
|
|
7092
7092
|
}
|
|
7093
7093
|
Pe(h, C, !1), (y = e.current) == null || y.setNodes(h), (v = e.current) == null || v.setEdges(C);
|
|
7094
7094
|
}, 500);
|
|
@@ -7142,7 +7142,7 @@ const gn = () => {
|
|
|
7142
7142
|
/* @__PURE__ */ r.jsx(gn, {})
|
|
7143
7143
|
] });
|
|
7144
7144
|
}, lc = {
|
|
7145
|
-
table:
|
|
7145
|
+
table: bl,
|
|
7146
7146
|
seeMore: cn,
|
|
7147
7147
|
column: un,
|
|
7148
7148
|
operator: Sl
|
|
@@ -7167,7 +7167,7 @@ const gn = () => {
|
|
|
7167
7167
|
tests: []
|
|
7168
7168
|
});
|
|
7169
7169
|
if (s) {
|
|
7170
|
-
const u = Object.keys(s).map((E) => n[E].type in C1 ? I1(i(E), 0, "") : Fo(E, 0, "", n[E])),
|
|
7170
|
+
const u = Object.keys(s).map((E) => n[E].type in C1 ? I1(i(E), 0, "") : Fo(E, 0, "", n[E])), _ = t.map(
|
|
7171
7171
|
([E, w]) => nn(s[E][1], s[w][1], E, w, !0, !0)
|
|
7172
7172
|
);
|
|
7173
7173
|
for (const E of u) {
|
|
@@ -7175,19 +7175,19 @@ const gn = () => {
|
|
|
7175
7175
|
const [w, S] = s[E.id];
|
|
7176
7176
|
E.position = { x: w, y: S };
|
|
7177
7177
|
}
|
|
7178
|
-
(f = e.current) == null || f.setNodes(u), (p = e.current) == null || p.setEdges(
|
|
7178
|
+
(f = e.current) == null || f.setNodes(u), (p = e.current) == null || p.setEdges(_);
|
|
7179
7179
|
return;
|
|
7180
7180
|
}
|
|
7181
7181
|
const { sinks: l } = Po(t);
|
|
7182
7182
|
let c = l.map((u) => I1(i(u), 0, "")), d = [];
|
|
7183
|
-
const h = [...l], C = {}, m = (u,
|
|
7183
|
+
const h = [...l], C = {}, m = (u, _) => {
|
|
7184
7184
|
var S, j;
|
|
7185
|
-
const E = u ? t.filter(([
|
|
7185
|
+
const E = u ? t.filter(([b]) => b === _).map(([, b]) => b) : t.filter(([, b]) => b === _).map(([b]) => b), w = ((j = (S = c.find((b) => b.id === _)) == null ? void 0 : S.data) == null ? void 0 : j.level) || 0;
|
|
7186
7186
|
return Ut(
|
|
7187
7187
|
c,
|
|
7188
7188
|
d,
|
|
7189
7189
|
E.map(i),
|
|
7190
|
-
|
|
7190
|
+
_,
|
|
7191
7191
|
u,
|
|
7192
7192
|
w,
|
|
7193
7193
|
1e4,
|