From e1064ed7d367173eb7e065e5c07ee7f506651c12 Mon Sep 17 00:00:00 2001 From: Aditya Gajbhiye Date: Fri, 29 Nov 2024 08:12:14 +0530 Subject: [PATCH] fix: column lineage layout (#1515) --- webview_panels/src/lib/altimate/main.js | 1522 +++++++++++------------ 1 file changed, 761 insertions(+), 761 deletions(-) diff --git a/webview_panels/src/lib/altimate/main.js b/webview_panels/src/lib/altimate/main.js index 7fb3b92c9..e5738599c 100644 --- a/webview_panels/src/lib/altimate/main.js +++ b/webview_panels/src/lib/altimate/main.js @@ -2,13 +2,13 @@ import "./main.css"; var O5 = Object.defineProperty; -var D5 = (e, t, n) => +var N5 = (e, t, n) => t in e ? O5(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : (e[t] = n); -var Hr = (e, t, n) => D5(e, typeof t != "symbol" ? t + "" : t, n); +var Hr = (e, t, n) => N5(e, typeof t != "symbol" ? t + "" : t, n); import { - Tooltip as N5, + Tooltip as D5, Button as Pe, Spinner as P0, Card as sn, @@ -287,11 +287,11 @@ function r4() { return null; } var k = Object.assign, - D = 0, + N = 0, T, F, I, - N, + D, v, z, B; @@ -299,11 +299,11 @@ function r4() { M.__reactDisabledLog = !0; function W() { { - if (D === 0) { + if (N === 0) { (T = console.log), (F = console.info), (I = console.warn), - (N = console.error), + (D = console.error), (v = console.group), (z = console.groupCollapsed), (B = console.groupEnd); @@ -323,12 +323,12 @@ function r4() { groupEnd: H, }); } - D++; + N++; } } function G() { { - if ((D--, D === 0)) { + if ((N--, N === 0)) { var H = { configurable: !0, enumerable: !0, @@ -345,7 +345,7 @@ function r4() { value: I, }), error: k({}, H, { - value: N, + value: D, }), group: k({}, H, { value: v, @@ -358,7 +358,7 @@ function r4() { }), }); } - D < 0 && + N < 0 && x( "disabledDepth fell below zero. This is a bug in React. Please file an issue.", ); @@ -572,7 +572,7 @@ function r4() { } } var Jt = Array.isArray; - function Dt(H) { + function Nt(H) { return Jt(H); } function en(H) { @@ -595,7 +595,7 @@ function r4() { function Vt(H) { return "" + H; } - function Nt(H) { + function Dt(H) { if (St(H)) return ( x( @@ -723,8 +723,8 @@ function r4() { we = {}, ye = null, at = null; - re !== void 0 && (Nt(re), (ye = "" + re)), - et(X) && (Nt(X.key), (ye = "" + X.key)), + re !== void 0 && (Dt(re), (ye = "" + re)), + et(X) && (Dt(X.key), (ye = "" + X.key)), Ve(X) && ((at = X.ref), Je(X, Ae)); for (Re in X) $e.call(X, Re) && !ee.hasOwnProperty(Re) && (we[Re] = X[Re]); @@ -816,7 +816,7 @@ Check the top-level render call using <` + function jr(H, X) { { if (typeof H != "object") return; - if (Dt(H)) + if (Nt(H)) for (var re = 0; re < H.length; re++) { var fe = H[re]; Wt(fe) && Rr(fe, X); @@ -899,7 +899,7 @@ Check the top-level render call using <` + var We; H === null ? (We = "null") - : Dt(H) + : Nt(H) ? (We = "array") : H !== void 0 && H.$$typeof === t ? ((We = "<" + (V(H.type) || "Unknown") + " />"), @@ -918,7 +918,7 @@ Check the top-level render call using <` + var pt = X.children; if (pt !== void 0) if (fe) - if (Dt(pt)) { + if (Nt(pt)) { for (var Sn = 0; Sn < pt.length; Sn++) jr(pt[Sn], H); Object.freeze && Object.freeze(pt); } else @@ -1091,7 +1091,7 @@ const wn = (e) => { children: [ /* @__PURE__ */ p.jsx("span", { id: r.current, children: e.children }), e.title - ? /* @__PURE__ */ p.jsx(N5, { + ? /* @__PURE__ */ p.jsx(D5, { isOpen: t, target: r.current, toggle: o, @@ -2282,7 +2282,7 @@ function y4() { Oa ); } -var Da = {}, +var Na = {}, A1; function C4() { return ( @@ -2511,11 +2511,11 @@ function C4() { }, }; e.default = t; - })(Da)), - Da + })(Na)), + Na ); } -var Na = {}, +var Da = {}, M1; function v4() { return ( @@ -2721,8 +2721,8 @@ function v4() { }, }; e.default = t; - })(Na)), - Na + })(Da)), + Da ); } var La = {}, @@ -3061,11 +3061,11 @@ function w4() { ); } var Ra = {}, - D1; + N1; function E4() { return ( - D1 || - ((D1 = 1), + N1 || + ((N1 = 1), (function (e) { Object.defineProperty(e, "__esModule", { value: !0, @@ -3277,11 +3277,11 @@ function E4() { ); } var ja = {}, - N1; + D1; function S4() { return ( - N1 || - ((N1 = 1), + D1 || + ((D1 = 1), (function (e) { Object.defineProperty(e, "__esModule", { value: !0, @@ -5096,7 +5096,7 @@ function O4() { } var $a = {}, H1; -function D4() { +function N4() { return ( H1 || ((H1 = 1), @@ -5333,7 +5333,7 @@ function D4() { } var Wa = {}, P1; -function N4() { +function D4() { return ( P1 || ((P1 = 1), @@ -11395,7 +11395,7 @@ function n6() { Object.defineProperty(e, "materialDark", { enumerable: !0, get: function () { - return D.default; + return N.default; }, }), Object.defineProperty(e, "materialLight", { @@ -11419,7 +11419,7 @@ function n6() { Object.defineProperty(e, "nord", { enumerable: !0, get: function () { - return N.default; + return D.default; }, }), Object.defineProperty(e, "okaidia", { @@ -11530,8 +11530,8 @@ function n6() { g = t(M4()), x = t(T4()), C = t(O4()), - E = t(D4()), - w = t(N4()), + E = t(N4()), + w = t(D4()), S = t(L4()), _ = t(F4()), A = t(R4()), @@ -11541,11 +11541,11 @@ function n6() { P = t(H4()), V = t(P4()), k = t(B4()), - D = t(V4()), + N = t(V4()), T = t($4()), F = t(W4()), I = t(Z4()), - N = t(U4()), + D = t(U4()), v = t(q4()), z = t(Y4()), B = t(G4()), @@ -12390,24 +12390,24 @@ var Q0 = { exports: {} }; V = L.toString(), k = A.hooks.Render.UUID.call(j, P, V); k = k ?? h.default(); - var D = new c.default(j, P, V, k); - return D - ? A._highlightFromHRange(D) + var N = new c.default(j, P, V, k); + return N + ? A._highlightFromHRange(N) : (g.eventEmitter.emit(g.INTERNAL_ERROR_EVENT, { type: x.ERROR.RANGE_INVALID, }), null); }), (A.fromStore = function (L, j, P, V, k) { - var D = new d.default(L, j, P, V, k); + var N = new d.default(L, j, P, V, k); try { - return A._highlightFromHSource(D), D; + return A._highlightFromHSource(N), N; } catch (T) { return ( g.eventEmitter.emit(g.INTERNAL_ERROR_EVENT, { type: x.ERROR.HIGHLIGHT_SOURCE_RECREATE, error: T, - detail: D, + detail: N, }), null ); @@ -13022,11 +13022,11 @@ var Q0 = { exports: {} }; for (var j = i(_), P = j.next(); !P.done; P = j.next()) { var V = P.value, k = V.dataset[m.CAMEL_DATASET_IDENTIFIER], - D = V.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA]; - k !== g || D + N = V.dataset[m.CAMEL_DATASET_IDENTIFIER_EXTRA]; + k !== g || N ? k === g ? R.push(V) - : k !== g && E.test(D) && L.push(V) + : k !== g && E.test(N) && L.push(V) : A.push(V); } } catch (T) { @@ -13045,10 +13045,10 @@ var Q0 = { exports: {} }; d.forEach(T.childNodes, function (z) { return I.appendChild(z.cloneNode(!1)); }); - var N = T.previousSibling, + var D = T.previousSibling, v = T.nextSibling; F.replaceChild(I, T), - c.normalizeSiblingText(N, !0), + c.normalizeSiblingText(D, !0), c.normalizeSiblingText(v, !1), w.Remove.UpdateNodes.call(g, T, "remove"); }), @@ -13057,12 +13057,12 @@ var Q0 = { exports: {} }; I = F[m.CAMEL_DATASET_IDENTIFIER_EXTRA].split( m.ID_DIVISION, ), - N = I.shift(), + D = I.shift(), v = document.querySelector( - S + "[data-" + m.DATASET_IDENTIFIER + '="' + N + '"]', + S + "[data-" + m.DATASET_IDENTIFIER + '="' + D + '"]', ); v && (d.removeAllClass(T), d.addClass(T, l(v.classList))), - (F[m.CAMEL_DATASET_IDENTIFIER] = N), + (F[m.CAMEL_DATASET_IDENTIFIER] = D), (F[m.CAMEL_DATASET_IDENTIFIER_EXTRA] = I.join( m.ID_DIVISION, )), @@ -13156,10 +13156,10 @@ var Q0 = { exports: {} }; E = b.offset, w = y.offset; if (x === C && x instanceof Text) - return (function (k, D, T, F) { + return (function (k, N, T, F) { for ( var I = k, - N = function (z) { + D = function (z) { return F == null ? void 0 : F.some(function (B) { @@ -13169,13 +13169,13 @@ var Q0 = { exports: {} }; I; ) { - if (I.nodeType === 1 && N(I)) return []; + if (I.nodeType === 1 && D(I)) return []; I = I.parentNode; } - k.splitText(D); + k.splitText(N); var v = k.nextSibling; return ( - v.splitText(T - D), + v.splitText(T - N), [ { $node: v, @@ -13191,8 +13191,8 @@ var Q0 = { exports: {} }; A = function (k) { return g == null ? void 0 - : g.some(function (D) { - return d(k, D); + : g.some(function (N) { + return d(k, N); }); }, R = !1, @@ -13280,14 +13280,14 @@ var Q0 = { exports: {} }; P = w.$node.nextSibling, V = document.createDocumentFragment(), k = L.dataset[u.CAMEL_DATASET_IDENTIFIER], - D = L.dataset[u.CAMEL_DATASET_IDENTIFIER_EXTRA], - T = D ? k + u.ID_DIVISION + D : k; + N = L.dataset[u.CAMEL_DATASET_IDENTIFIER_EXTRA], + T = N ? k + u.ID_DIVISION + N : k; R.setAttribute("data-" + u.DATASET_IDENTIFIER, S.id), R.setAttribute("data-" + u.DATASET_IDENTIFIER_EXTRA, T), R.appendChild(w.$node.cloneNode(!1)); var F, I = !1, - N = !1; + D = !1; j && (((v = L.cloneNode(!1)).textContent = j.textContent), V.appendChild(v), @@ -13301,13 +13301,13 @@ var Q0 = { exports: {} }; P && (((v = L.cloneNode(!1)).textContent = P.textContent), V.appendChild(v), - (N = !0)), + (D = !0)), (F = - I && N + I && D ? l.SplitType.both : I ? l.SplitType.head - : N + : D ? l.SplitType.tail : l.SplitType.none), R.setAttribute("data-" + u.DATASET_SPLIT_TYPE, F), @@ -14209,10 +14209,10 @@ function cd(e) { }; return e(r), [t, n, o]; } -function D6(e) { +function N6(e) { return typeof e == "function"; } -function N6(e, t) { +function D6(e, t) { if (process.env.NODE_ENV !== "production" && typeof t == "object") throw new Error( process.env.NODE_ENV === "production" @@ -14221,7 +14221,7 @@ function N6(e, t) { ); let [n, o, r] = cd(t), i; - if (D6(e)) i = () => C2(e()); + if (N6(e)) i = () => C2(e()); else { const l = C2(e); i = () => l; @@ -14350,7 +14350,7 @@ function R6({ creators: e } = {}) { ...C, ...u.sliceCaseReducersByType, }; - return N6(r.initialState, (_) => { + return D6(r.initialState, (_) => { for (let A in S) _.addCase(A, S[A]); for (let A of u.sliceMatchers) _.addMatcher(A.matcher, A.reducer); for (let A of E) _.addMatcher(A.matcher, A.reducer); @@ -15197,8 +15197,8 @@ const i8 = ({ M8 = "_hotspotButton_14zop_46", T8 = "_pulse_14zop_1", O8 = "_conversationRightPanelCloseButton_14zop_62", - D8 = "_conversationRightPanel_14zop_62", - N8 = "_newConversationForm_14zop_94", + N8 = "_conversationRightPanel_14zop_62", + D8 = "_newConversationForm_14zop_94", L8 = "_highlightText_14zop_108", F8 = "_conversationInputForm_14zop_130", R8 = "_conversationGroup_14zop_156", @@ -15209,8 +15209,8 @@ const i8 = ({ hotspotButton: M8, pulse: T8, conversationRightPanelCloseButton: O8, - conversationRightPanel: D8, - newConversationForm: N8, + conversationRightPanel: N8, + newConversationForm: D8, highlightText: L8, conversationInputForm: F8, conversationGroup: R8, @@ -15911,7 +15911,7 @@ var b7 = function () { }, us = { exports: {} }, Vr = { exports: {} }, - De = {}; + Ne = {}; /** @license React v16.13.1 * react-is.production.min.js * @@ -15922,7 +15922,7 @@ var b7 = function () { */ var O2; function y7() { - if (O2) return De; + if (O2) return Ne; O2 = 1; var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, @@ -15977,57 +15977,57 @@ function y7() { return C(w) === u; } return ( - (De.AsyncMode = s), - (De.ConcurrentMode = u), - (De.ContextConsumer = l), - (De.ContextProvider = a), - (De.Element = t), - (De.ForwardRef = c), - (De.Fragment = o), - (De.Lazy = m), - (De.Memo = f), - (De.Portal = n), - (De.Profiler = i), - (De.StrictMode = r), - (De.Suspense = d), - (De.isAsyncMode = function (w) { + (Ne.AsyncMode = s), + (Ne.ConcurrentMode = u), + (Ne.ContextConsumer = l), + (Ne.ContextProvider = a), + (Ne.Element = t), + (Ne.ForwardRef = c), + (Ne.Fragment = o), + (Ne.Lazy = m), + (Ne.Memo = f), + (Ne.Portal = n), + (Ne.Profiler = i), + (Ne.StrictMode = r), + (Ne.Suspense = d), + (Ne.isAsyncMode = function (w) { return E(w) || C(w) === s; }), - (De.isConcurrentMode = E), - (De.isContextConsumer = function (w) { + (Ne.isConcurrentMode = E), + (Ne.isContextConsumer = function (w) { return C(w) === l; }), - (De.isContextProvider = function (w) { + (Ne.isContextProvider = function (w) { return C(w) === a; }), - (De.isElement = function (w) { + (Ne.isElement = function (w) { return typeof w == "object" && w !== null && w.$$typeof === t; }), - (De.isForwardRef = function (w) { + (Ne.isForwardRef = function (w) { return C(w) === c; }), - (De.isFragment = function (w) { + (Ne.isFragment = function (w) { return C(w) === o; }), - (De.isLazy = function (w) { + (Ne.isLazy = function (w) { return C(w) === m; }), - (De.isMemo = function (w) { + (Ne.isMemo = function (w) { return C(w) === f; }), - (De.isPortal = function (w) { + (Ne.isPortal = function (w) { return C(w) === n; }), - (De.isProfiler = function (w) { + (Ne.isProfiler = function (w) { return C(w) === i; }), - (De.isStrictMode = function (w) { + (Ne.isStrictMode = function (w) { return C(w) === r; }), - (De.isSuspense = function (w) { + (Ne.isSuspense = function (w) { return C(w) === d; }), - (De.isValidElementType = function (w) { + (Ne.isValidElementType = function (w) { return ( typeof w == "string" || typeof w == "function" || @@ -16050,11 +16050,11 @@ function y7() { w.$$typeof === b)) ); }), - (De.typeOf = C), - De + (Ne.typeOf = C), + Ne ); } -var Ne = {}; +var De = {}; /** @license React v16.13.1 * react-is.development.js * @@ -16063,11 +16063,11 @@ var Ne = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var D2; +var N2; function C7() { return ( - D2 || - ((D2 = 1), + N2 || + ((N2 = 1), process.env.NODE_ENV !== "production" && (function () { var e = typeof Symbol == "function" && Symbol.for, @@ -16154,11 +16154,11 @@ function C7() { P = m, V = f, k = n, - D = i, + N = i, T = r, F = d, I = !1; - function N(J) { + function D(J) { return ( I || ((I = !0), @@ -16204,43 +16204,43 @@ function C7() { function ge(J) { return E(J) === d; } - (Ne.AsyncMode = w), - (Ne.ConcurrentMode = S), - (Ne.ContextConsumer = _), - (Ne.ContextProvider = A), - (Ne.Element = R), - (Ne.ForwardRef = L), - (Ne.Fragment = j), - (Ne.Lazy = P), - (Ne.Memo = V), - (Ne.Portal = k), - (Ne.Profiler = D), - (Ne.StrictMode = T), - (Ne.Suspense = F), - (Ne.isAsyncMode = N), - (Ne.isConcurrentMode = v), - (Ne.isContextConsumer = z), - (Ne.isContextProvider = B), - (Ne.isElement = M), - (Ne.isForwardRef = W), - (Ne.isFragment = G), - (Ne.isLazy = K), - (Ne.isMemo = Q), - (Ne.isPortal = ne), - (Ne.isProfiler = oe), - (Ne.isStrictMode = U), - (Ne.isSuspense = ge), - (Ne.isValidElementType = C), - (Ne.typeOf = E); + (De.AsyncMode = w), + (De.ConcurrentMode = S), + (De.ContextConsumer = _), + (De.ContextProvider = A), + (De.Element = R), + (De.ForwardRef = L), + (De.Fragment = j), + (De.Lazy = P), + (De.Memo = V), + (De.Portal = k), + (De.Profiler = N), + (De.StrictMode = T), + (De.Suspense = F), + (De.isAsyncMode = D), + (De.isConcurrentMode = v), + (De.isContextConsumer = z), + (De.isContextProvider = B), + (De.isElement = M), + (De.isForwardRef = W), + (De.isFragment = G), + (De.isLazy = K), + (De.isMemo = Q), + (De.isPortal = ne), + (De.isProfiler = oe), + (De.isStrictMode = U), + (De.isSuspense = ge), + (De.isValidElementType = C), + (De.typeOf = E); })()), - Ne + De ); } -var N2; +var D2; function _d() { return ( - N2 || - ((N2 = 1), + D2 || + ((D2 = 1), process.env.NODE_ENV === "production" ? (Vr.exports = y7()) : (Vr.exports = C7())), @@ -16606,7 +16606,7 @@ function w7() { function z(B, M, W, G, K) { if (!(B[M] instanceof v)) { var Q = v.name || h, - ne = N(B[M]); + ne = D(B[M]); return new b( "Invalid " + G + @@ -16853,7 +16853,7 @@ Valid keys: ` + return !1; } } - function D(v, z) { + function N(v, z) { return v === "symbol" ? !0 : z @@ -16867,7 +16867,7 @@ Valid keys: ` + ? "array" : v instanceof RegExp ? "object" - : D(z, v) + : N(z, v) ? "symbol" : z; } @@ -16894,7 +16894,7 @@ Valid keys: ` + return z; } } - function N(v) { + function D(v) { return !v.constructor || !v.constructor.name ? h : v.constructor.name; } return ( @@ -17170,7 +17170,7 @@ var ui = function (t) { r = o[o.length - 1]; return r ? r.plainTextIndex + r.display.length : 0; }, - D7 = function (t) { + N7 = function (t) { var n = ui(t), o = t[t.indexOf(rn.display) + rn.display.length], r = t[t.indexOf(rn.id) + rn.id.length]; @@ -17188,7 +17188,7 @@ var ui = function (t) { a = o.displayTransform; return { markup: r, - regex: i ? N7(i, r) : D7(r), + regex: i ? D7(i, r) : N7(r), displayTransform: a || function (l, s) { @@ -17197,7 +17197,7 @@ var ui = function (t) { }; }); }, - N7 = function (t, n) { + D7 = function (t, n) { var o = new RegExp(t.toString() + "|").exec("").length - 1, r = Md(n); return ( @@ -17747,7 +17747,7 @@ function Qi(e, t) { var P7 = function (t, n) { return t.hasOwnProperty(n) ? t[n]++ : (t[n] = 0), n + "_" + t[n]; }; -function Dd(e) { +function Nd(e) { var t = e.selectionStart, n = e.selectionEnd, o = e.value, @@ -17774,11 +17774,11 @@ function Dd(e) { var g = function () { if (b) { var k = b.offsetLeft, - D = b.offsetTop; - if (!(d.left === k && d.top === D)) { + N = b.offsetTop; + if (!(d.left === k && d.top === N)) { var T = { left: k, - top: D, + top: N, }; h(T), i(T); } @@ -17791,34 +17791,34 @@ function Dd(e) { w = {}, S = E, _ = 0, - A = function (k, D, T) { - if (ds(C) && C >= D && C <= D + k.length) { - var F = C - D; + A = function (k, N, T) { + if (ds(C) && C >= N && C <= N + k.length) { + var F = C - N; S.push(L(k.substring(0, F), _)), (S = [L(k.substring(F), _)]); } else S.push(L(k, _)); _++; }, - R = function (k, D, T, F, I, N, v) { + R = function (k, N, T, F, I, D, v) { var z = P7(w, F); - S.push(j(F, I, N, z)); + S.push(j(F, I, D, z)); }, - L = function (k, D) { + L = function (k, N) { return /* @__PURE__ */ $.createElement( "span", It({}, s("substring"), { - key: D, + key: N, }), k, ); }, - j = function (k, D, T, F) { + j = function (k, N, T, F) { var I = { id: k, - display: D, + display: N, key: F, }, - N = xo.toArray(l)[T]; - return /* @__PURE__ */ $.cloneElement(N, I); + D = xo.toArray(l)[T]; + return /* @__PURE__ */ $.cloneElement(D, I); }, P = function (k) { return /* @__PURE__ */ $.createElement( @@ -17843,7 +17843,7 @@ function Dd(e) { ) ); } -Dd.propTypes = { +Nd.propTypes = { selectionStart: q.number, selectionEnd: q.number, value: q.string.isRequired, @@ -17881,8 +17881,8 @@ var B7 = Qi( }; }, ), - V7 = B7(Dd); -function Nd(e) { + V7 = B7(Nd); +function Dd(e) { var t = e.id, n = e.focused, o = e.ignoreAccents, @@ -17939,7 +17939,7 @@ function Nd(e) { h(), ); } -Nd.propTypes = { +Dd.propTypes = { id: q.string.isRequired, query: q.string.isRequired, index: q.number.isRequired, @@ -17964,7 +17964,7 @@ var $7 = Qi( }; }, ), - W7 = $7(Nd); + W7 = $7(Dd); function Z7(e) { var t = e.style, n = e.className, @@ -18027,14 +18027,14 @@ function Ld(e) { var T = A.scrollTop, F = A.children[i].getBoundingClientRect(), I = F.top, - N = F.bottom, + D = F.bottom, v = A.getBoundingClientRect(), z = v.top; (I = I - z + T), - (N = N - z + T), + (D = D - z + T), I < T ? (A.scrollTop = I) - : N > A.offsetHeight && (A.scrollTop = N - A.offsetHeight); + : D > A.offsetHeight && (A.scrollTop = D - A.offsetHeight); } }, [i, c, A], @@ -18051,9 +18051,9 @@ function Ld(e) { }, x("list"), ), - Object.values(o).reduce(function (I, N) { - var v = N.results, - z = N.queryInfo; + Object.values(o).reduce(function (I, D) { + var v = D.results, + z = D.queryInfo; return [].concat( Ei(I), Ei( @@ -18066,17 +18066,17 @@ function Ld(e) { ); return C ? C(F) : F; }, - j = function (F, I, N) { - var v = N === i, + j = function (F, I, D) { + var v = D === i, z = I.childIndex, B = I.query, M = xo.toArray(g)[z].props.renderSuggestion; return /* @__PURE__ */ $.createElement(W7, { style: x("item"), - key: "".concat(z, "-").concat(D(F)), - id: Td(t, N), + key: "".concat(z, "-").concat(N(F)), + id: Td(t, D), query: B, - index: N, + index: D, ignoreAccents: b, renderSuggestion: M, suggestion: F, @@ -18085,7 +18085,7 @@ function Ld(e) { return k(F, I); }, onMouseEnter: function () { - return V(N); + return V(D); }, }); }, @@ -18101,7 +18101,7 @@ function Ld(e) { k = function (F, I) { m(F, I); }, - D = function (F) { + N = function (F) { return typeof F == "string" ? F : F.id; }; return h @@ -19345,33 +19345,33 @@ var Id = { exports: {} }; "_", ), ordinal: function (k) { - var D = ["th", "st", "nd", "rd"], + var N = ["th", "st", "nd", "rd"], T = k % 100; - return "[" + k + (D[(T - 20) % 10] || D[T] || D[0]) + "]"; + return "[" + k + (N[(T - 20) % 10] || N[T] || N[0]) + "]"; }, }, - C = function (k, D, T) { + C = function (k, N, T) { var F = String(k); - return !F || F.length >= D + return !F || F.length >= N ? k - : "" + Array(D + 1 - F.length).join(T) + k; + : "" + Array(N + 1 - F.length).join(T) + k; }, E = { s: C, z: function (k) { - var D = -k.utcOffset(), - T = Math.abs(D), + var N = -k.utcOffset(), + T = Math.abs(N), F = Math.floor(T / 60), I = T % 60; - return (D <= 0 ? "+" : "-") + C(F, 2, "0") + ":" + C(I, 2, "0"); + return (N <= 0 ? "+" : "-") + C(F, 2, "0") + ":" + C(I, 2, "0"); }, - m: function k(D, T) { - if (D.date() < T.date()) return -k(T, D); - var F = 12 * (T.year() - D.year()) + (T.month() - D.month()), - I = D.clone().add(F, d), - N = T - I < 0, - v = D.clone().add(F + (N ? -1 : 1), d); - return +(-(F + (T - I) / (N ? I - v : v - I)) || 0); + m: function k(N, T) { + if (N.date() < T.date()) return -k(T, N); + var F = 12 * (T.year() - N.year()) + (T.month() - N.month()), + I = N.clone().add(F, d), + D = T - I < 0, + v = N.clone().add(F + (D ? -1 : 1), d); + return +(-(F + (T - I) / (D ? I - v : v - I)) || 0); }, a: function (k) { return k < 0 ? Math.ceil(k) || 0 : Math.floor(k); @@ -19397,30 +19397,30 @@ var Id = { exports: {} }; A = function (k) { return k instanceof P || !(!k || !k[_]); }, - R = function k(D, T, F) { + R = function k(N, T, F) { var I; - if (!D) return w; - if (typeof D == "string") { - var N = D.toLowerCase(); - S[N] && (I = N), T && ((S[N] = T), (I = N)); - var v = D.split("-"); + if (!N) return w; + if (typeof N == "string") { + var D = N.toLowerCase(); + S[D] && (I = D), T && ((S[D] = T), (I = D)); + var v = N.split("-"); if (!I && v.length > 1) return k(v[0]); } else { - var z = D.name; - (S[z] = D), (I = z); + var z = N.name; + (S[z] = N), (I = z); } return !F && I && (w = I), I || (!F && w); }, - L = function (k, D) { + L = function (k, N) { if (A(k)) return k.clone(); - var T = typeof D == "object" ? D : {}; + var T = typeof N == "object" ? N : {}; return (T.date = k), (T.args = arguments), new P(T); }, j = E; (j.l = R), (j.i = A), - (j.w = function (k, D) { - return L(k, { locale: D.$L, utc: D.$u, x: D.$x, $offset: D.$offset }); + (j.w = function (k, N) { + return L(k, { locale: N.$L, utc: N.$u, x: N.$x, $offset: N.$offset }); }); var P = (function () { function k(T) { @@ -19429,12 +19429,12 @@ var Id = { exports: {} }; (this.$x = this.$x || T.x || {}), (this[_] = !0); } - var D = k.prototype; + var N = k.prototype; return ( - (D.parse = function (T) { + (N.parse = function (T) { (this.$d = (function (F) { var I = F.date, - N = F.utc; + D = F.utc; if (I === null) return /* @__PURE__ */ new Date(NaN); if (j.u(I)) return /* @__PURE__ */ new Date(); if (I instanceof Date) return new Date(I); @@ -19443,7 +19443,7 @@ var Id = { exports: {} }; if (v) { var z = v[2] - 1 || 0, B = (v[7] || "0").substring(0, 3); - return N + return D ? new Date( Date.UTC( v[1], @@ -19470,7 +19470,7 @@ var Id = { exports: {} }; })(T)), this.init(); }), - (D.init = function () { + (N.init = function () { var T = this.$d; (this.$y = T.getFullYear()), (this.$M = T.getMonth()), @@ -19481,47 +19481,47 @@ var Id = { exports: {} }; (this.$s = T.getSeconds()), (this.$ms = T.getMilliseconds()); }), - (D.$utils = function () { + (N.$utils = function () { return j; }), - (D.isValid = function () { + (N.isValid = function () { return this.$d.toString() !== b; }), - (D.isSame = function (T, F) { + (N.isSame = function (T, F) { var I = L(T); return this.startOf(F) <= I && I <= this.endOf(F); }), - (D.isAfter = function (T, F) { + (N.isAfter = function (T, F) { return L(T) < this.startOf(F); }), - (D.isBefore = function (T, F) { + (N.isBefore = function (T, F) { return this.endOf(F) < L(T); }), - (D.$g = function (T, F, I) { + (N.$g = function (T, F, I) { return j.u(T) ? this[F] : this.set(I, T); }), - (D.unix = function () { + (N.unix = function () { return Math.floor(this.valueOf() / 1e3); }), - (D.valueOf = function () { + (N.valueOf = function () { return this.$d.getTime(); }), - (D.startOf = function (T, F) { + (N.startOf = function (T, F) { var I = this, - N = !!j.u(F) || F, + D = !!j.u(F) || F, v = j.p(T), z = function (oe, U) { var ge = j.w( I.$u ? Date.UTC(I.$y, U, oe) : new Date(I.$y, U, oe), I, ); - return N ? ge : ge.endOf(u); + return D ? ge : ge.endOf(u); }, B = function (oe, U) { return j.w( I.toDate()[oe].apply( I.toDate("s"), - (N ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(U), + (D ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(U), ), I, ); @@ -19532,13 +19532,13 @@ var Id = { exports: {} }; K = "set" + (this.$u ? "UTC" : ""); switch (v) { case f: - return N ? z(1, 0) : z(31, 11); + return D ? z(1, 0) : z(31, 11); case d: - return N ? z(1, W) : z(0, W + 1); + return D ? z(1, W) : z(0, W + 1); case c: var Q = this.$locale().weekStart || 0, ne = (M < Q ? M + 7 : M) - Q; - return z(N ? G - ne : G + (6 - ne), W); + return z(D ? G - ne : G + (6 - ne), W); case u: case m: return B(K + "Hours", 0); @@ -19552,12 +19552,12 @@ var Id = { exports: {} }; return this.clone(); } }), - (D.endOf = function (T) { + (N.endOf = function (T) { return this.startOf(T, !1); }), - (D.$set = function (T, F) { + (N.$set = function (T, F) { var I, - N = j.p(T), + D = j.p(T), v = "set" + (this.$u ? "UTC" : ""), z = ((I = {}), (I[u] = v + "Date"), @@ -19568,9 +19568,9 @@ var Id = { exports: {} }; (I[l] = v + "Minutes"), (I[a] = v + "Seconds"), (I[i] = v + "Milliseconds"), - I)[N], - B = N === u ? this.$D + (F - this.$W) : F; - if (N === d || N === f) { + I)[D], + B = D === u ? this.$D + (F - this.$W) : F; + if (D === d || D === f) { var M = this.clone().set(m, 1); M.$d[z](B), M.init(), @@ -19578,20 +19578,20 @@ var Id = { exports: {} }; } else z && this.$d[z](B); return this.init(), this; }), - (D.set = function (T, F) { + (N.set = function (T, F) { return this.clone().$set(T, F); }), - (D.get = function (T) { + (N.get = function (T) { return this[j.p(T)](); }), - (D.add = function (T, F) { + (N.add = function (T, F) { var I, - N = this; + D = this; T = Number(T); var v = j.p(F), z = function (W) { - var G = L(N); - return j.w(G.date(G.date() + Math.round(W * T)), N); + var G = L(D); + return j.w(G.date(G.date() + Math.round(W * T)), D); }; if (v === d) return this.set(d, this.$M + T); if (v === f) return this.set(f, this.$y + T); @@ -19601,14 +19601,14 @@ var Id = { exports: {} }; M = this.$d.getTime() + T * B; return j.w(M, this); }), - (D.subtract = function (T, F) { + (N.subtract = function (T, F) { return this.add(-1 * T, F); }), - (D.format = function (T) { + (N.format = function (T) { var F = this, I = this.$locale(); if (!this.isValid()) return I.invalidDate || b; - var N = T || "YYYY-MM-DDTHH:mm:ssZ", + var D = T || "YYYY-MM-DDTHH:mm:ssZ", v = j.z(this), z = this.$H, B = this.$m, @@ -19617,7 +19617,7 @@ var Id = { exports: {} }; G = I.months, K = I.meridiem, Q = function (U, ge, J, ke) { - return (U && (U[ge] || U(F, N))) || J[ge].slice(0, ke); + return (U && (U[ge] || U(F, D))) || J[ge].slice(0, ke); }, ne = function (U) { return j.s(z % 12 || 12, U, "0"); @@ -19628,7 +19628,7 @@ var Id = { exports: {} }; var ke = U < 12 ? "AM" : "PM"; return J ? ke.toLowerCase() : ke; }; - return N.replace(g, function (U, ge) { + return D.replace(g, function (U, ge) { return ( ge || (function (J) { @@ -19688,11 +19688,11 @@ var Id = { exports: {} }; ); }); }), - (D.utcOffset = function () { + (N.utcOffset = function () { return 15 * -Math.round(this.$d.getTimezoneOffset() / 15); }), - (D.diff = function (T, F, I) { - var N, + (N.diff = function (T, F, I) { + var D, v = this, z = j.p(F), B = L(T), @@ -19703,59 +19703,59 @@ var Id = { exports: {} }; }; switch (z) { case f: - N = G() / 12; + D = G() / 12; break; case d: - N = G(); + D = G(); break; case h: - N = G() / 3; + D = G() / 3; break; case c: - N = (W - M) / 6048e5; + D = (W - M) / 6048e5; break; case u: - N = (W - M) / 864e5; + D = (W - M) / 864e5; break; case s: - N = W / r; + D = W / r; break; case l: - N = W / o; + D = W / o; break; case a: - N = W / n; + D = W / n; break; default: - N = W; + D = W; } - return I ? N : j.a(N); + return I ? D : j.a(D); }), - (D.daysInMonth = function () { + (N.daysInMonth = function () { return this.endOf(d).$D; }), - (D.$locale = function () { + (N.$locale = function () { return S[this.$L]; }), - (D.locale = function (T, F) { + (N.locale = function (T, F) { if (!T) return this.$L; var I = this.clone(), - N = R(T, F, !0); - return N && (I.$L = N), I; + D = R(T, F, !0); + return D && (I.$L = D), I; }), - (D.clone = function () { + (N.clone = function () { return j.w(this.$d, this); }), - (D.toDate = function () { + (N.toDate = function () { return new Date(this.valueOf()); }), - (D.toJSON = function () { + (N.toJSON = function () { return this.isValid() ? this.toISOString() : null; }), - (D.toISOString = function () { + (N.toISOString = function () { return this.$d.toISOString(); }), - (D.toString = function () { + (N.toString = function () { return this.$d.toUTCString(); }), k @@ -19774,12 +19774,12 @@ var Id = { exports: {} }; ["$y", f], ["$D", m], ].forEach(function (k) { - V[k[1]] = function (D) { - return this.$g(D, k[0], k[1]); + V[k[1]] = function (N) { + return this.$g(N, k[0], k[1]); }; }), - (L.extend = function (k, D) { - return k.$i || (k(D, P, L), (k.$i = !0)), L; + (L.extend = function (k, N) { + return k.$i || (k(N, P, L), (k.$i = !0)), L; }), (L.locale = R), (L.isDayjs = A), @@ -20482,7 +20482,7 @@ const fs = /* @__PURE__ */ un(a9), setHighlightedNodes: M9, setSelectedNode: T9, setNodesSavingsPerformance: O9, - setNodesCost: D9, + setNodesCost: N9, setErrors: bc, } = _i.actions; function bt(e) { @@ -20508,7 +20508,7 @@ var ps = { exports: {} }, * LICENSE file in the root directory of this source tree. */ var Z2; -function N9() { +function D9() { if (Z2) return Al; Z2 = 1; var e = $; @@ -20727,7 +20727,7 @@ function Wd() { q2 || ((q2 = 1), process.env.NODE_ENV === "production" - ? (Zr.exports = N9()) + ? (Zr.exports = D9()) : (Zr.exports = L9())), Zr.exports ); @@ -20870,9 +20870,9 @@ function R9() { } return (_ = V), V; } - var D = S, + var N = S, T = _; - if (o(D, P)) return T; + if (o(N, P)) return T; var F = f(P); return m !== void 0 && m(T, F) ? T @@ -21401,12 +21401,12 @@ function Op(e) { this.removeAttributeNS(e.space, e.local); }; } -function Dp(e, t) { +function Np(e, t) { return function () { this.setAttribute(e, t); }; } -function Np(e, t) { +function Dp(e, t) { return function () { this.setAttributeNS(e.space, e.local, t); }; @@ -21441,8 +21441,8 @@ function Rp(e, t) { ? Fp : Lp : n.local - ? Np - : Dp)(n, t), + ? Dp + : Np)(n, t), ); } function Xd(e) { @@ -21901,7 +21901,7 @@ function Th(e, t) { function Oh() { return navigator.maxTouchPoints || "ontouchstart" in this; } -function Dh() { +function Nh() { var e = Ah, t = Mh, n = Th, @@ -22012,12 +22012,12 @@ function Dh() { return ( (P = k.x - j[0] || 0), (V = k.y - j[1] || 0), - function D(T, F, I) { - var N = j, + function N(T, F, I) { + var D = j, v; switch (T) { case "start": - (r[A] = D), (v = a++); + (r[A] = N), (v = a++); break; case "end": delete r[A], --a; @@ -22036,8 +22036,8 @@ function Dh() { active: v, x: j[0] + P, y: j[1] + V, - dx: j[0] - N[0], - dy: j[1] - N[1], + dx: j[0] - D[0], + dy: j[1] - D[1], dispatch: L, }), _, @@ -22090,7 +22090,7 @@ var fr = 0.7, go = "\\s*([+-]?\\d+)\\s*", pr = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", ln = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", - Nh = /^#([0-9a-f]{3,8})$/, + Dh = /^#([0-9a-f]{3,8})$/, Lh = new RegExp(`^rgb\\(${go},${go},${go}\\)$`), Fh = new RegExp(`^rgb\\(${ln},${ln},${ln}\\)$`), Rh = new RegExp(`^rgba\\(${go},${go},${go},${pr}\\)$`), @@ -22278,7 +22278,7 @@ function hr(e) { var t, n; return ( (e = (e + "").trim().toLowerCase()), - (t = Nh.exec(e)) + (t = Dh.exec(e)) ? ((n = t[1].length), (t = parseInt(t[1], 16)), n === 6 @@ -22478,9 +22478,9 @@ vc( o = n + (n < 0.5 ? n : 1 - n) * t, r = 2 * n - o; return new xt( - Dl(e >= 240 ? e - 240 : e + 120, r, o), - Dl(e, r, o), - Dl(e < 120 ? e + 240 : e - 120, r, o), + Nl(e >= 240 ? e - 240 : e + 120, r, o), + Nl(e, r, o), + Nl(e < 120 ? e + 240 : e - 120, r, o), this.opacity, ); }, @@ -22508,7 +22508,7 @@ function lu(e) { function Yr(e) { return Math.max(0, Math.min(1, e || 0)); } -function Dl(e, t, n) { +function Nl(e, t, n) { return ( (e < 60 ? t + ((n - t) * e) / 60 @@ -22571,7 +22571,7 @@ function Tn(e, t) { ); } var bs = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, - Nl = new RegExp(bs.source, "g"); + Dl = new RegExp(bs.source, "g"); function qh(e) { return function () { return e; @@ -22583,14 +22583,14 @@ function Yh(e) { }; } function Gh(e, t) { - var n = (bs.lastIndex = Nl.lastIndex = 0), + var n = (bs.lastIndex = Dl.lastIndex = 0), o, r, i, a = -1, l = [], s = []; - for (e = e + "", t = t + ""; (o = bs.exec(e)) && (r = Nl.exec(t)); ) + for (e = e + "", t = t + ""; (o = bs.exec(e)) && (r = Dl.exec(t)); ) (i = r.index) > n && ((i = t.slice(n, i)), l[a] ? (l[a] += i) : (l[++a] = i)), (o = o[0]) === (r = r[0]) @@ -22598,7 +22598,7 @@ function Gh(e, t) { ? (l[a] += r) : (l[++a] = r) : ((l[++a] = null), s.push({ i: a, x: Tn(o, r) })), - (n = Nl.lastIndex); + (n = Dl.lastIndex); return ( n < t.length && ((i = t.slice(n)), l[a] ? (l[a] += i) : (l[++a] = i)), l.length < 2 @@ -22760,7 +22760,7 @@ var Ao = 0, f3 = 1e3, Oi, Xo, - Di = 0, + Ni = 0, Qn = 0, ta = 0, gr = typeof performance == "object" && performance.now ? performance : Date, @@ -22776,11 +22776,11 @@ function xc() { function rg() { Qn = 0; } -function Ni() { +function Di() { this._call = this._time = this._next = null; } -Ni.prototype = h3.prototype = { - constructor: Ni, +Di.prototype = h3.prototype = { + constructor: Di, restart: function (e, t, n) { if (typeof e != "function") throw new TypeError("callback is not a function"); @@ -22797,7 +22797,7 @@ Ni.prototype = h3.prototype = { }, }; function h3(e, t, n) { - var o = new Ni(); + var o = new Di(); return o.restart(e, t, n), o; } function ig() { @@ -22807,7 +22807,7 @@ function ig() { --Ao; } function du() { - (Qn = (Di = gr.now()) + ta), (Ao = Ko = 0); + (Qn = (Ni = gr.now()) + ta), (Ao = Ko = 0); try { ig(); } finally { @@ -22816,8 +22816,8 @@ function du() { } function ag() { var e = gr.now(), - t = e - Di; - t > f3 && ((ta -= t), (Di = e)); + t = e - Ni; + t > f3 && ((ta -= t), (Ni = e)); } function lg() { for (var e, t = Oi, n, o = 1 / 0; t; ) @@ -22833,11 +22833,11 @@ function Cs(e) { t > 24 ? (e < 1 / 0 && (Ko = setTimeout(du, e - gr.now() - ta)), Vo && (Vo = clearInterval(Vo))) - : (Vo || ((Di = gr.now()), (Vo = setInterval(ag, f3))), (Ao = 1), p3(du)); + : (Vo || ((Ni = gr.now()), (Vo = setInterval(ag, f3))), (Ao = 1), p3(du)); } } function fu(e, t, n) { - var o = new Ni(); + var o = new Di(); return ( (t = t == null ? 0 : +t), o.restart( @@ -23185,7 +23185,7 @@ function Og(e, t) { dn(this, e).duration = +t.apply(this, arguments); }; } -function Dg(e, t) { +function Ng(e, t) { return ( (t = +t), function () { @@ -23193,10 +23193,10 @@ function Dg(e, t) { } ); } -function Ng(e) { +function Dg(e) { var t = this._id; return arguments.length - ? this.each((typeof e == "function" ? Og : Dg)(t, e)) + ? this.each((typeof e == "function" ? Og : Ng)(t, e)) : Xt(this.node(), t).duration; } function Lg(e, t) { @@ -23526,7 +23526,7 @@ vn.prototype = { remove: $g, tween: hg, delay: Tg, - duration: Ng, + duration: Dg, ease: Fg, easeVarying: jg, end: cm, @@ -23610,7 +23610,7 @@ mn.prototype = { return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")"; }, }; -var Nn = new mn(1, 0, 0); +var Dn = new mn(1, 0, 0); mn.prototype; function Ll(e) { e.stopImmediatePropagation(); @@ -23641,7 +23641,7 @@ function bm() { ]; } function gu() { - return this.__zoom || Nn; + return this.__zoom || Dn; } function ym(e) { return ( @@ -23695,58 +23695,58 @@ function xm() { .on("touchend.zoom touchcancel.zoom", V) .style("-webkit-tap-highlight-color", "rgba(0,0,0,0)"); } - (g.transform = function (k, D, T, F) { + (g.transform = function (k, N, T, F) { var I = k.selection ? k.selection() : k; I.property("__zoom", gu), k !== I - ? w(k, D, T, F) + ? w(k, N, T, F) : I.interrupt().each(function () { S(this, arguments) .event(F) .start() - .zoom(null, typeof D == "function" ? D.apply(this, arguments) : D) + .zoom(null, typeof N == "function" ? N.apply(this, arguments) : N) .end(); }); }), - (g.scaleBy = function (k, D, T, F) { + (g.scaleBy = function (k, N, T, F) { g.scaleTo( k, function () { var I = this.__zoom.k, - N = typeof D == "function" ? D.apply(this, arguments) : D; - return I * N; + D = typeof N == "function" ? N.apply(this, arguments) : N; + return I * D; }, T, F, ); }), - (g.scaleTo = function (k, D, T, F) { + (g.scaleTo = function (k, N, T, F) { g.transform( k, function () { var I = t.apply(this, arguments), - N = this.__zoom, + D = this.__zoom, v = T == null ? E(I) : typeof T == "function" ? T.apply(this, arguments) : T, - z = N.invert(v), - B = typeof D == "function" ? D.apply(this, arguments) : D; - return n(C(x(N, B), v, z), I, a); + z = D.invert(v), + B = typeof N == "function" ? N.apply(this, arguments) : N; + return n(C(x(D, B), v, z), I, a); }, T, F, ); }), - (g.translateBy = function (k, D, T, F) { + (g.translateBy = function (k, N, T, F) { g.transform( k, function () { return n( this.__zoom.translate( - typeof D == "function" ? D.apply(this, arguments) : D, + typeof N == "function" ? N.apply(this, arguments) : N, typeof T == "function" ? T.apply(this, arguments) : T, ), t.apply(this, arguments), @@ -23757,26 +23757,26 @@ function xm() { F, ); }), - (g.translateTo = function (k, D, T, F, I) { + (g.translateTo = function (k, N, T, F, I) { g.transform( k, function () { - var N = t.apply(this, arguments), + var D = t.apply(this, arguments), v = this.__zoom, z = F == null - ? E(N) + ? E(D) : typeof F == "function" ? F.apply(this, arguments) : F; return n( - Nn.translate(z[0], z[1]) + Dn.translate(z[0], z[1]) .scale(v.k) .translate( - typeof D == "function" ? -D.apply(this, arguments) : -D, + typeof N == "function" ? -N.apply(this, arguments) : -N, typeof T == "function" ? -T.apply(this, arguments) : -T, ), - N, + D, a, ); }, @@ -23784,21 +23784,21 @@ function xm() { I, ); }); - function x(k, D) { + function x(k, N) { return ( - (D = Math.max(i[0], Math.min(i[1], D))), - D === k.k ? k : new mn(D, k.x, k.y) + (N = Math.max(i[0], Math.min(i[1], N))), + N === k.k ? k : new mn(N, k.x, k.y) ); } - function C(k, D, T) { - var F = D[0] - T[0] * k.k, - I = D[1] - T[1] * k.k; + function C(k, N, T) { + var F = N[0] - T[0] * k.k, + I = N[1] - T[1] * k.k; return F === k.x && I === k.y ? k : new mn(k.k, F, I); } function E(k) { return [(+k[0][0] + +k[1][0]) / 2, (+k[0][1] + +k[1][1]) / 2]; } - function w(k, D, T, F) { + function w(k, N, T, F) { k.on("start.zoom", function () { S(this, arguments).event(F).start(); }) @@ -23807,13 +23807,13 @@ function xm() { }) .tween("zoom", function () { var I = this, - N = arguments, - v = S(I, N).event(F), - z = t.apply(I, N), - B = T == null ? E(z) : typeof T == "function" ? T.apply(I, N) : T, + D = arguments, + v = S(I, D).event(F), + z = t.apply(I, D), + B = T == null ? E(z) : typeof T == "function" ? T.apply(I, D) : T, M = Math.max(z[1][0] - z[0][0], z[1][1] - z[0][1]), W = I.__zoom, - G = typeof D == "function" ? D.apply(I, N) : D, + G = typeof N == "function" ? N.apply(I, D) : N, K = s(W.invert(B).concat(M / W.k), G.invert(B).concat(M / G.k)); return function (Q) { if (Q === 1) Q = G; @@ -23826,15 +23826,15 @@ function xm() { }; }); } - function S(k, D, T) { - return (!T && k.__zooming) || new _(k, D); + function S(k, N, T) { + return (!T && k.__zooming) || new _(k, N); } - function _(k, D) { + function _(k, N) { (this.that = k), - (this.args = D), + (this.args = N), (this.active = 0), (this.sourceEvent = null), - (this.extent = t.apply(k, D)), + (this.extent = t.apply(k, N)), (this.taps = 0); } _.prototype = { @@ -23848,18 +23848,18 @@ function xm() { this ); }, - zoom: function (k, D) { + zoom: function (k, N) { return ( this.mouse && k !== "mouse" && - (this.mouse[1] = D.invert(this.mouse[0])), + (this.mouse[1] = N.invert(this.mouse[0])), this.touch0 && k !== "touch" && - (this.touch0[1] = D.invert(this.touch0[0])), + (this.touch0[1] = N.invert(this.touch0[0])), this.touch1 && k !== "touch" && - (this.touch1[1] = D.invert(this.touch1[0])), - (this.that.__zoom = D), + (this.touch1[1] = N.invert(this.touch1[0])), + (this.that.__zoom = N), this.emit("zoom"), this ); @@ -23871,7 +23871,7 @@ function xm() { ); }, emit: function (k) { - var D = Ut(this.that).datum(); + var N = Ut(this.that).datum(); u.call( k, this.that, @@ -23882,26 +23882,26 @@ function xm() { transform: this.that.__zoom, dispatch: u, }), - D, + N, ); }, }; - function A(k, ...D) { + function A(k, ...N) { if (!e.apply(this, arguments)) return; - var T = S(this, D).event(k), + var T = S(this, N).event(k), F = this.__zoom, I = Math.max( i[0], Math.min(i[1], F.k * Math.pow(2, o.apply(this, arguments))), ), - N = on(k); + D = on(k); if (T.wheel) - (T.mouse[0][0] !== N[0] || T.mouse[0][1] !== N[1]) && - (T.mouse[1] = F.invert((T.mouse[0] = N))), + (T.mouse[0][0] !== D[0] || T.mouse[0][1] !== D[1]) && + (T.mouse[1] = F.invert((T.mouse[0] = D))), clearTimeout(T.wheel); else { if (F.k === I) return; - (T.mouse = [N, F.invert(N)]), hi(this), T.start(); + (T.mouse = [D, F.invert(D)]), hi(this), T.start(); } $o(k), (T.wheel = setTimeout(v, m)), @@ -23910,17 +23910,17 @@ function xm() { (T.wheel = null), T.end(); } } - function R(k, ...D) { + function R(k, ...N) { if (h || !e.apply(this, arguments)) return; var T = k.currentTarget, - F = S(this, D, !0).event(k), + F = S(this, N, !0).event(k), I = Ut(k.view).on("mousemove.zoom", B, !0).on("mouseup.zoom", M, !0), - N = on(k, T), + D = on(k, T), v = k.clientX, z = k.clientY; r3(k.view), Ll(k), - (F.mouse = [N, this.__zoom.invert(N)]), + (F.mouse = [D, this.__zoom.invert(D)]), hi(this), F.start(); function B(W) { @@ -23941,25 +23941,25 @@ function xm() { F.event(W).end(); } } - function L(k, ...D) { + function L(k, ...N) { if (e.apply(this, arguments)) { var T = this.__zoom, F = on(k.changedTouches ? k.changedTouches[0] : k, this), I = T.invert(F), - N = T.k * (k.shiftKey ? 0.5 : 2), - v = n(C(x(T, N), F, I), t.apply(this, D), a); + D = T.k * (k.shiftKey ? 0.5 : 2), + v = n(C(x(T, D), F, I), t.apply(this, N), a); $o(k), l > 0 ? Ut(this).transition().duration(l).call(w, v, F, k) : Ut(this).call(g.transform, v, F, k); } } - function j(k, ...D) { + function j(k, ...N) { if (e.apply(this, arguments)) { var T = k.touches, F = T.length, - I = S(this, D, k.changedTouches.length === F).event(k), - N, + I = S(this, N, k.changedTouches.length === F).event(k), + D, v, z, B; @@ -23971,9 +23971,9 @@ function xm() { ? !I.touch1 && I.touch0[2] !== B[2] && ((I.touch1 = B), (I.taps = 0)) - : ((I.touch0 = B), (N = !0), (I.taps = 1 + !!c)); + : ((I.touch0 = B), (D = !0), (I.taps = 1 + !!c)); c && (c = clearTimeout(c)), - N && + D && (I.taps < 2 && ((d = B[0]), (c = setTimeout(function () { @@ -23983,17 +23983,17 @@ function xm() { I.start()); } } - function P(k, ...D) { + function P(k, ...N) { if (this.__zooming) { - var T = S(this, D).event(k), + var T = S(this, N).event(k), F = k.changedTouches, I = F.length, - N, + D, v, z, B; - for ($o(k), N = 0; N < I; ++N) - (v = F[N]), + for ($o(k), D = 0; D < I; ++D) + (v = F[D]), (z = on(v, this)), T.touch0 && T.touch0[2] === v.identifier ? (T.touch0[0] = z) @@ -24013,12 +24013,12 @@ function xm() { T.zoom("touch", n(C(v, z, B), T.extent, a)); } } - function V(k, ...D) { + function V(k, ...N) { if (this.__zooming) { - var T = S(this, D).event(k), + var T = S(this, N).event(k), F = k.changedTouches, I = F.length, - N, + D, v; for ( Ll(k), @@ -24026,11 +24026,11 @@ function xm() { h = setTimeout(function () { h = null; }, f), - N = 0; - N < I; - ++N + D = 0; + D < I; + ++D ) - (v = F[N]), + (v = F[D]), T.touch0 && T.touch0[2] === v.identifier ? delete T.touch0 : T.touch1 && T.touch1[2] === v.identifier && delete T.touch1; @@ -24457,14 +24457,14 @@ var mr; (function (e) { (e.Partial = "partial"), (e.Full = "full"); })(mr || (mr = {})); -var Dn; +var Nn; (function (e) { (e.Bezier = "default"), (e.Straight = "straight"), (e.Step = "step"), (e.SmoothStep = "smoothstep"), (e.SimpleBezier = "simplebezier"); -})(Dn || (Dn = {})); +})(Nn || (Nn = {})); var Fi; (function (e) { (e.Arrow = "arrow"), (e.ArrowClosed = "arrowclosed"); @@ -24566,7 +24566,7 @@ const Cu = { [ae.Top]: { x: 0, y: -1 }, [ae.Bottom]: { x: 0, y: 1 }, }, - Dm = ({ source: e, sourcePosition: t = ae.Bottom, target: n }) => + Nm = ({ source: e, sourcePosition: t = ae.Bottom, target: n }) => t === ae.Left || t === ae.Right ? e.x < n.x ? { x: 1, y: 0 } @@ -24575,7 +24575,7 @@ const Cu = { ? { x: 0, y: 1 } : { x: 0, y: -1 }, vu = (e, t) => Math.sqrt(Math.pow(t.x - e.x, 2) + Math.pow(t.y - e.y, 2)); -function Nm({ +function Dm({ source: e, sourcePosition: t = ae.Bottom, target: n, @@ -24587,7 +24587,7 @@ function Nm({ l = Cu[o], s = { x: e.x + a.x * i, y: e.y + a.y * i }, u = { x: n.x + l.x * i, y: n.y + l.y * i }, - c = Dm({ + c = Nm({ source: s, sourcePosition: t, target: u, @@ -24633,10 +24633,10 @@ function Nm({ if (t !== o) { const V = d === "x" ? "y" : "x", k = a[d] === l[V], - D = s[V] > u[V], + N = s[V] > u[V], T = s[V] < u[V]; - ((a[d] === 1 && ((!k && D) || (k && T))) || - (a[d] !== 1 && ((!k && T) || (k && D)))) && + ((a[d] === 1 && ((!k && N) || (k && T))) || + (a[d] !== 1 && ((!k && T) || (k && N)))) && (f = d === "x" ? _ : A); } const R = { x: s.x + y.x, y: s.y + y.y }, @@ -24686,7 +24686,7 @@ function Ss({ centerY: s, offset: u = 20, }) { - const [c, d, h, f, m] = Nm({ + const [c, d, h, f, m] = Dm({ source: { x: e, y: t }, sourcePosition: n, target: { x: o, y: r }, @@ -24999,7 +24999,7 @@ const jm = () => Qe(Oc), : r, }; }, - Dc = (e, t = [0, 0]) => { + Nc = (e, t = [0, 0]) => { if (e.length === 0) return { x: 0, y: 0, width: 0, height: 0 }; const n = e.reduce( (o, r) => { @@ -25018,7 +25018,7 @@ const jm = () => Qe(Oc), ); return Mm(n); }, - D3 = (e, t, [n, o, r] = [0, 0, 1], i = !1, a = !1, l = [0, 0]) => { + N3 = (e, t, [n, o, r] = [0, 0, 1], i = !1, a = !1, l = [0, 0]) => { const s = { x: (t.x - n) / r, y: (t.y - o) / r, @@ -25046,7 +25046,7 @@ const jm = () => Qe(Oc), u ); }, - N3 = (e, t) => { + D3 = (e, t) => { const n = e.map((o) => o.id); return t.filter((o) => n.includes(o.source) || n.includes(o.target)); }, @@ -25092,7 +25092,7 @@ function Vm(e, t, n, o, r, i) { if (u) { const m = u.getAttribute("data-nodeid"); if (m) { - const b = Nc(void 0, u), + const b = Dc(void 0, u), y = u.getAttribute("data-handleid"), g = i({ nodeId: m, id: y, type: b }); if (g) { @@ -25162,7 +25162,7 @@ function R3(e, t, n, o, r, i, a) { handleDomNode: s, }; if (s) { - const c = Nc(void 0, s), + const c = Dc(void 0, s), d = s.getAttribute("data-nodeid"), h = s.getAttribute("data-handleid"), f = s.classList.contains("connectable"), @@ -25202,7 +25202,7 @@ function Wm({ nodes: e, nodeId: t, handleId: n, handleType: o }) { return r; }, []); } -function Nc(e, t) { +function Dc(e, t) { return ( e || (t != null && t.classList.contains("target") @@ -25252,7 +25252,7 @@ function j3({ E; const { x: w, y: S } = Ln(e), _ = c == null ? void 0 : c.elementFromPoint(w, S), - A = Nc(s, _), + A = Dc(s, _), R = h == null ? void 0 : h.getBoundingClientRect(); if (!R || !A) return; let L, @@ -25260,7 +25260,7 @@ function j3({ P = !1, V = null, k = !1, - D = null; + N = null; const T = Wm({ nodes: g(), nodeId: n, @@ -25301,7 +25301,7 @@ function j3({ if ( ((E = B), P || (F(), (P = !0)), - (D = M.handleDomNode), + (N = M.handleDomNode), (V = M.connection), (k = M.isValid), a({ @@ -25318,20 +25318,20 @@ function j3({ connectionStatus: Zm(!!E, k), connectionEndHandle: M.endHandle, }), - !E && !k && !D) + !E && !k && !N) ) return Fl(L); V.source !== V.target && - D && + N && (Fl(L), - (L = D), - D.classList.add("connecting", "react-flow__handle-connecting"), - D.classList.toggle("valid", k), - D.classList.toggle("react-flow__handle-valid", k)); + (L = N), + N.classList.add("connecting", "react-flow__handle-connecting"), + N.classList.toggle("valid", k), + N.classList.toggle("react-flow__handle-valid", k)); } - function N(v) { + function D(v) { var z, B; - (E || D) && V && k && (o == null || o(V)), + (E || N) && V && k && (o == null || o(V)), (B = (z = i()).onConnectEnd) == null || B.call(z, v), s && (u == null || u(v)), Fl(L), @@ -25340,16 +25340,16 @@ function j3({ (P = !1), (k = !1), (V = null), - (D = null), + (N = null), c.removeEventListener("mousemove", I), - c.removeEventListener("mouseup", N), + c.removeEventListener("mouseup", D), c.removeEventListener("touchmove", I), - c.removeEventListener("touchend", N); + c.removeEventListener("touchend", D); } c.addEventListener("mousemove", I), - c.addEventListener("mouseup", N), + c.addEventListener("mouseup", D), c.addEventListener("touchmove", I), - c.addEventListener("touchend", N); + c.addEventListener("touchend", D); } const Eu = () => !0, Um = (e) => ({ @@ -25412,15 +25412,15 @@ const Eu = () => !0, onConnect: V, hasDefaultEdges: k, } = y.getState(), - D = { + N = { ...P, ...j, }; if (k) { const { edges: T, setEdges: F } = y.getState(); - F(Bm(D, T)); + F(Bm(N, T)); } - V == null || V(D), l == null || l(D); + V == null || V(N), l == null || l(N); }, _ = (j) => { if (!g) return; @@ -25444,7 +25444,7 @@ const Eu = () => !0, onClickConnectStart: P, onClickConnectEnd: V, connectionClickStartHandle: k, - connectionMode: D, + connectionMode: N, isValidConnection: T, } = y.getState(); if (!g || (!k && !r)) return; @@ -25457,20 +25457,20 @@ const Eu = () => !0, } const F = w3(j.target), I = n || T || Eu, - { connection: N, isValid: v } = R3( + { connection: D, isValid: v } = R3( { nodeId: g, id: m, type: e, }, - D, + N, k.nodeId, k.handleId || null, k.type, I, F, ); - v && S(N), + v && S(D), V == null || V(j), y.setState({ connectionClickStartHandle: null }); }; @@ -25625,11 +25625,11 @@ const Jm = ({ fitViewOptions: P, onNodesDelete: V, onEdgesDelete: k, - onNodeDrag: D, + onNodeDrag: N, onNodeDragStart: T, onNodeDragStop: F, onSelectionDrag: I, - onSelectionDragStart: N, + onSelectionDragStart: D, onSelectionDragStop: v, noPanClassName: z, nodeOrigin: B, @@ -25685,11 +25685,11 @@ const Jm = ({ Ce("fitViewOnInitOptions", P, le.setState), Ce("onNodesDelete", V, le.setState), Ce("onEdgesDelete", k, le.setState), - Ce("onNodeDrag", D, le.setState), + Ce("onNodeDrag", N, le.setState), Ce("onNodeDragStart", T, le.setState), Ce("onNodeDragStop", F, le.setState), Ce("onSelectionDrag", I, le.setState), - Ce("onSelectionDragStart", N, le.setState), + Ce("onSelectionDragStart", D, le.setState), Ce("onSelectionDragStop", v, le.setState), Ce("noPanClassName", z, le.setState), Ce("nodeOrigin", B, le.setState), @@ -25936,13 +25936,13 @@ function Y3(e, t = {}) { }), b = m.every((y) => y.width && y.height); if (m.length > 0 && b) { - const y = Dc(m, d), + const y = Nc(m, d), { x: g, y: x, zoom: C, } = L3(y, o, r, t.minZoom ?? i, t.maxZoom ?? a, t.padding ?? 0.1), - E = Nn.translate(g, x).scale(C); + E = Dn.translate(g, x).scale(C); return ( typeof t.duration == "number" && t.duration > 0 ? l.transform(Hn(s, t.duration), E) @@ -26023,7 +26023,7 @@ const ao = () => {}, getZoom: () => e.getState().transform[2], setViewport: (r, i) => { const [a, l, s] = e.getState().transform, - u = Nn.translate(r.x ?? a, r.y ?? l).scale(r.zoom ?? s); + u = Dn.translate(r.x ?? a, r.y ?? l).scale(r.zoom ?? s); t.transform(Hn(n, i == null ? void 0 : i.duration), u); }, getViewport: () => { @@ -26036,7 +26036,7 @@ const ao = () => {}, c = typeof (a == null ? void 0 : a.zoom) < "u" ? a.zoom : u, d = l / 2 - r * c, h = s / 2 - i * c, - f = Nn.translate(d, h).scale(c); + f = Dn.translate(d, h).scale(c); t.transform(Hn(n, a == null ? void 0 : a.duration), f); }, fitBounds: (r, i) => { @@ -26058,7 +26058,7 @@ const ao = () => {}, u, (i == null ? void 0 : i.padding) ?? 0.1, ), - f = Nn.translate(c, d).scale(h); + f = Dn.translate(c, d).scale(h); t.transform(Hn(n, i == null ? void 0 : i.duration), f); }, // @deprecated Use `screenToFlowPosition`. @@ -26216,26 +26216,26 @@ function Qt() { onNodesChange: A, onEdgesChange: R, } = t.getState(), - L = (b || []).map((D) => D.id), - j = (y || []).map((D) => D.id), - P = x().reduce((D, T) => { + L = (b || []).map((N) => N.id), + j = (y || []).map((N) => N.id), + P = x().reduce((N, T) => { const F = T.parentNode || T.parentId, - I = !L.includes(T.id) && F && D.find((v) => v.id === F); + I = !L.includes(T.id) && F && N.find((v) => v.id === F); return ( (typeof T.deletable == "boolean" ? T.deletable : !0) && (L.includes(T.id) || I) && - D.push(T), - D + N.push(T), + N ); }, []), - V = C.filter((D) => - typeof D.deletable == "boolean" ? D.deletable : !0, + V = C.filter((N) => + typeof N.deletable == "boolean" ? N.deletable : !0, ), - k = V.filter((D) => j.includes(D.id)); + k = V.filter((N) => j.includes(N.id)); if (P || k) { - const D = N3(P, V), - T = [...k, ...D], - F = T.reduce((I, N) => (I.includes(N.id) || I.push(N.id), I), []); + const N = D3(P, V), + T = [...k, ...N], + F = T.reduce((I, D) => (I.includes(D.id) || I.push(D.id), I), []); if ( ((w || E) && (w && @@ -26260,7 +26260,7 @@ function Qt() { )), P.length > 0 && (S == null || S(P), A)) ) { - const I = P.map((N) => ({ id: N.id, type: "remove" })); + const I = P.map((D) => ({ id: D.id, type: "remove" })); A(I); } } @@ -26408,7 +26408,7 @@ const Fc = { d3ZoomHandler: V, userSelectionActive: k, } = Ze(hb, st), - D = br(y), + N = br(y), T = pe(0), F = pe(!1), I = pe(); @@ -26416,13 +26416,13 @@ const Fc = { fb(R), ce(() => { if (R.current) { - const N = R.current.getBoundingClientRect(), + const D = R.current.getBoundingClientRect(), v = xm().scaleExtent([m, b]).translateExtent(f), z = Ut(R.current).call(v), - B = Nn.translate(h.x, h.y).scale(Mo(h.zoom, m, b)), + B = Dn.translate(h.x, h.y).scale(Mo(h.zoom, m, b)), M = [ [0, 0], - [N.width, N.height], + [D.width, D.height], ], W = v.constrain()(B, M, f); v.transform(z, W), @@ -26440,27 +26440,27 @@ const Fc = { ce(() => { P && j && - (a && !D && !k + (a && !N && !k ? P.on( "wheel.zoom", - (N) => { - if (lo(N, C)) return !1; - N.preventDefault(), N.stopImmediatePropagation(); + (D) => { + if (lo(D, C)) return !1; + D.preventDefault(), D.stopImmediatePropagation(); const v = P.property("__zoom").k || 1; - if (N.ctrlKey && i) { - const ne = on(N), - oe = Mu(N), + if (D.ctrlKey && i) { + const ne = on(D), + oe = Mu(D), U = v * Math.pow(2, oe); - j.scaleTo(P, U, ne, N); + j.scaleTo(P, U, ne, D); return; } - const z = N.deltaMode === 1 ? 20 : 1; - let B = s === Wn.Vertical ? 0 : N.deltaX * z, - M = s === Wn.Horizontal ? 0 : N.deltaY * z; + const z = D.deltaMode === 1 ? 20 : 1; + let B = s === Wn.Vertical ? 0 : D.deltaX * z, + M = s === Wn.Horizontal ? 0 : D.deltaY * z; !Li() && - N.shiftKey && + D.shiftKey && s !== Wn.Vertical && - ((B = N.deltaY * z), (M = 0)), + ((B = D.deltaY * z), (M = 0)), j.translateBy( P, -(B / v) * l, @@ -26477,13 +26477,13 @@ const Fc = { clearTimeout(I.current), F.current || ((F.current = !0), - t == null || t(N, W), + t == null || t(D, W), G == null || G(W)), F.current && - (e == null || e(N, W), + (e == null || e(D, W), K == null || K(W), (I.current = setTimeout(() => { - n == null || n(N, W), + n == null || n(D, W), Q == null || Q(W), (F.current = !1); }, 150))); @@ -26493,28 +26493,28 @@ const Fc = { : typeof V < "u" && P.on( "wheel.zoom", - function (N, v) { - if ((!g && N.type === "wheel" && !N.ctrlKey) || lo(N, C)) + function (D, v) { + if ((!g && D.type === "wheel" && !D.ctrlKey) || lo(D, C)) return null; - N.preventDefault(), V.call(this, N, v); + D.preventDefault(), V.call(this, D, v); }, { passive: !1 }, )); - }, [k, a, s, P, j, V, D, i, g, C, t, e, n]), + }, [k, a, s, P, j, V, N, i, g, C, t, e, n]), ce(() => { j && - j.on("start", (N) => { + j.on("start", (D) => { var B, M; - if (!N.sourceEvent || N.sourceEvent.internal) return null; - T.current = (B = N.sourceEvent) == null ? void 0 : B.button; + if (!D.sourceEvent || D.sourceEvent.internal) return null; + T.current = (B = D.sourceEvent) == null ? void 0 : B.button; const { onViewportChangeStart: v } = S.getState(), - z = ei(N.transform); + z = ei(D.transform); (_.current = !0), (L.current = z), - ((M = N.sourceEvent) == null ? void 0 : M.type) === "mousedown" && + ((M = D.sourceEvent) == null ? void 0 : M.type) === "mousedown" && S.setState({ paneDragging: !0 }), v == null || v(z), - t == null || t(N.sourceEvent, z); + t == null || t(D.sourceEvent, z); }); }, [j, t]), ce(() => { @@ -26522,39 +26522,39 @@ const Fc = { (k && !_.current ? j.on("zoom", null) : k || - j.on("zoom", (N) => { + j.on("zoom", (D) => { var z; const { onViewportChange: v } = S.getState(); if ( (S.setState({ - transform: [N.transform.x, N.transform.y, N.transform.k], + transform: [D.transform.x, D.transform.y, D.transform.k], }), (A.current = !!(o && Au(d, T.current ?? 0))), - (e || v) && !((z = N.sourceEvent) != null && z.internal)) + (e || v) && !((z = D.sourceEvent) != null && z.internal)) ) { - const B = ei(N.transform); - v == null || v(B), e == null || e(N.sourceEvent, B); + const B = ei(D.transform); + v == null || v(B), e == null || e(D.sourceEvent, B); } })); }, [k, j, e, d, o]), ce(() => { j && - j.on("end", (N) => { - if (!N.sourceEvent || N.sourceEvent.internal) return null; + j.on("end", (D) => { + if (!D.sourceEvent || D.sourceEvent.internal) return null; const { onViewportChangeEnd: v } = S.getState(); if ( ((_.current = !1), S.setState({ paneDragging: !1 }), - o && Au(d, T.current ?? 0) && !A.current && o(N.sourceEvent), + o && Au(d, T.current ?? 0) && !A.current && o(D.sourceEvent), (A.current = !1), - (n || v) && pb(L.current, N.transform)) + (n || v) && pb(L.current, D.transform)) ) { - const z = ei(N.transform); + const z = ei(D.transform); (L.current = z), clearTimeout(w.current), (w.current = setTimeout( () => { - v == null || v(z), n == null || n(N.sourceEvent, z); + v == null || v(z), n == null || n(D.sourceEvent, z); }, a ? 150 : 0, )); @@ -26563,38 +26563,38 @@ const Fc = { }, [j, a, d, n, o]), ce(() => { j && - j.filter((N) => { - const v = D || r, - z = i && N.ctrlKey; + j.filter((D) => { + const v = N || r, + z = i && D.ctrlKey; if ( (d === !0 || (Array.isArray(d) && d.includes(1))) && - N.button === 1 && - N.type === "mousedown" && - (lo(N, "react-flow__node") || lo(N, "react-flow__edge")) + D.button === 1 && + D.type === "mousedown" && + (lo(D, "react-flow__node") || lo(D, "react-flow__edge")) ) return !0; if ( (!d && !v && !a && !u && !i) || k || - (!u && N.type === "dblclick") || - (lo(N, C) && N.type === "wheel") || - (lo(N, E) && - (N.type !== "wheel" || (a && N.type === "wheel" && !D))) || - (!i && N.ctrlKey && N.type === "wheel") || - (!v && !a && !z && N.type === "wheel") || - (!d && (N.type === "mousedown" || N.type === "touchstart")) || + (!u && D.type === "dblclick") || + (lo(D, C) && D.type === "wheel") || + (lo(D, E) && + (D.type !== "wheel" || (a && D.type === "wheel" && !N))) || + (!i && D.ctrlKey && D.type === "wheel") || + (!v && !a && !z && D.type === "wheel") || + (!d && (D.type === "mousedown" || D.type === "touchstart")) || (Array.isArray(d) && - !d.includes(N.button) && - N.type === "mousedown") + !d.includes(D.button) && + D.type === "mousedown") ) return !1; const B = - (Array.isArray(d) && d.includes(N.button)) || - !N.button || - N.button <= 1; - return (!N.ctrlKey || N.type === "wheel") && B; + (Array.isArray(d) && d.includes(D.button)) || + !D.button || + D.button <= 1; + return (!D.ctrlKey || D.type === "wheel") && B; }); - }, [k, j, r, i, a, u, d, c, D]), + }, [k, j, r, i, a, u, d, c, N]), $.createElement( "div", { className: "react-flow__renderer", ref: R, style: Fc }, @@ -26759,9 +26759,9 @@ const jl = (e, t) => (n) => { }, _ = l ? (V) => l(V) : void 0, A = (V) => { - const { resetSelectedElements: k, domNode: D } = f.getState(); + const { resetSelectedElements: k, domNode: N } = f.getState(); if ( - ((y.current = D == null ? void 0 : D.getBoundingClientRect()), + ((y.current = N == null ? void 0 : N.getBoundingClientRect()), !x || !e || V.button !== 0 || V.target !== h.current || !y.current) ) return; @@ -26782,11 +26782,11 @@ const jl = (e, t) => (n) => { R = (V) => { const { userSelectionRect: k, - nodeInternals: D, + nodeInternals: N, edges: T, transform: F, onNodesChange: I, - onEdgesChange: N, + onEdgesChange: D, nodeOrigin: v, getNodes: z, } = f.getState(); @@ -26803,8 +26803,8 @@ const jl = (e, t) => (n) => { height: Math.abs(B.y - W), }, K = z(), - Q = D3(D, G, F, t === mr.Partial, !0, v), - ne = N3(Q, T).map((U) => U.id), + Q = N3(N, G, F, t === mr.Partial, !0, v), + ne = D3(Q, T).map((U) => U.id), oe = Q.map((U) => U.id); if (m.current !== oe.length) { m.current = oe.length; @@ -26814,7 +26814,7 @@ const jl = (e, t) => (n) => { if (b.current !== ne.length) { b.current = ne.length; const U = co(T, ne); - U.length && (N == null || N(U)); + U.length && (D == null || D(U)); } f.setState({ userSelectionRect: G, @@ -26956,7 +26956,7 @@ function Il({ nodeId: e, dragItems: t, nodeInternals: n }) { })); return [e ? o.find((r) => r.id === e) : o[0], o]; } -const Du = (e, t, n, o) => { +const Nu = (e, t, n, o) => { const r = t.querySelectorAll(e); if (!r || !r.length) return null; const i = Array.from(r), @@ -27061,24 +27061,24 @@ function Q3({ onSelectionDrag: P, updateNodePositions: V, nodeExtent: k, - snapGrid: D, + snapGrid: N, snapToGrid: T, nodeOrigin: F, onError: I, } = l.getState(); d.current = { x: A, y: R }; - let N = !1, + let D = !1, v = { x: 0, y: 0, x2: 0, y2: 0 }; if (c.current.length > 1 && k) { - const B = Dc(c.current, F); + const B = Nc(c.current, F); v = _c(B); } if ( ((c.current = c.current.map((B) => { const M = { x: A - B.distance.x, y: R - B.distance.y }; T && - ((M.x = D[0] * Math.round(M.x / D[0])), - (M.y = D[1] * Math.round(M.y / D[1]))); + ((M.x = N[0] * Math.round(M.x / N[0])), + (M.y = N[1] * Math.round(M.y / N[1]))); const W = [ [k[0][0], k[0][1]], [k[1][0], k[1][1]], @@ -27094,8 +27094,8 @@ function Q3({ B.positionAbsolute.y + (B.height ?? 0) - v.y2 + k[1][1])); const G = X3(B, M, L, W, F, I); return ( - (N = - N || + (D = + D || B.position.x !== G.position.x || B.position.y !== G.position.y), (B.position = G.position), @@ -27103,7 +27103,7 @@ function Q3({ B ); })), - !N) + !D) ) return; V(c.current, !0, !0), u(!0); @@ -27139,7 +27139,7 @@ function Q3({ onSelectionDragStart: k, } = l.getState(); g.current = !0; - const D = r ? V : zl(k); + const N = r ? V : zl(k); (!a || !i) && !L && r && @@ -27154,19 +27154,19 @@ function Q3({ }); const T = C(A); if ( - ((d.current = T), (c.current = xb(R, j, T, r)), D && c.current) + ((d.current = T), (c.current = xb(R, j, T, r)), N && c.current) ) { - const [I, N] = Il({ + const [I, D] = Il({ nodeId: r, dragItems: c.current, nodeInternals: R, }); - D(A.sourceEvent, I, N); + N(A.sourceEvent, I, D); } }; if (t) E.on(".drag", null); else { - const A = Dh() + const A = Nh() .on("start", (R) => { const { domNode: L, nodeDragThreshold: j } = l.getState(); j === 0 && _(R), (x.current = !1); @@ -27190,7 +27190,7 @@ function Q3({ (!y.current && g.current && j && ((y.current = !0), S()), !g.current) ) { - const D = + const N = L.xSnapped - (((V = d == null ? void 0 : d.current) == null ? void 0 @@ -27200,7 +27200,7 @@ function Q3({ (((k = d == null ? void 0 : d.current) == null ? void 0 : k.y) ?? 0); - Math.sqrt(D * D + T * T) > P && _(R); + Math.sqrt(N * N + T * T) > P && _(R); } (d.current.x !== L.xSnapped || d.current.y !== L.ySnapped) && c.current && @@ -27227,12 +27227,12 @@ function Q3({ } = l.getState(), k = r ? P : zl(V); if ((L(c.current, !1, !1), k)) { - const [D, T] = Il({ + const [N, T] = Il({ nodeId: r, dragItems: c.current, nodeInternals: j, }); - k(R.sourceEvent, D, T); + k(R.sourceEvent, N, T); } } }) @@ -27336,11 +27336,11 @@ var Uo = (e) => { zIndex: P, isParent: V, noDragClassName: k, - noPanClassName: D, + noPanClassName: N, initialized: T, disableKeyboardA11y: F, ariaLabel: I, - rfId: N, + rfId: D, hasHandleBounds: v, }) => { const z = nt(), @@ -27444,7 +27444,7 @@ var Uo = (e) => { `react-flow__node-${o}`, { // this is overwritable by passing `nopan` as a class name - [D]: x, + [N]: x, }, g, { @@ -27473,7 +27473,7 @@ var Uo = (e) => { onKeyDown: w ? _e : void 0, tabIndex: w ? 0 : void 0, role: w ? "button" : void 0, - "aria-describedby": F ? void 0 : `${W3}-${N}`, + "aria-describedby": F ? void 0 : `${W3}-${D}`, "aria-label": I, }, $.createElement( @@ -27501,7 +27501,7 @@ var Uo = (e) => { const Sb = (e) => { const t = e.getNodes().filter((n) => n.selected); return { - ...Dc(t, e.nodeOrigin), + ...Nc(t, e.nodeOrigin), transformString: `translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`, userSelectionActive: e.userSelectionActive, }; @@ -27611,11 +27611,11 @@ const Ab = (e) => e.nodesSelectionActive, translateExtent: P, minZoom: V, maxZoom: k, - preventScrolling: D, + preventScrolling: N, onSelectionContextMenu: T, noWheelClassName: F, noPanClassName: I, - disableKeyboardA11y: N, + disableKeyboardA11y: D, }) => { const v = Ze(Ab), z = br(d), @@ -27645,7 +27645,7 @@ const Ab = (e) => e.nodesSelectionActive, minZoom: V, maxZoom: k, zoomActivationKeyCode: x, - preventScrolling: D, + preventScrolling: N, noWheelClassName: F, noPanClassName: I, }, @@ -27669,7 +27669,7 @@ const Ab = (e) => e.nodesSelectionActive, $.createElement(_b, { onSelectionContextMenu: T, noPanClassName: I, - disableKeyboardA11y: N, + disableKeyboardA11y: D, }), ), ) @@ -27682,7 +27682,7 @@ function Tb(e) { Me( (n) => e - ? D3( + ? N3( n.nodeInternals, { x: 0, y: 0, width: n.width, height: n.height }, n.transform, @@ -27709,7 +27709,7 @@ function Ob(e) { ...o, }; } -const Db = ({ x: e, y: t, width: n, height: o, origin: r }) => +const Nb = ({ x: e, y: t, width: n, height: o, origin: r }) => !n || !o ? { x: e, y: t } : r[0] < 0 || r[1] < 0 || r[0] > 1 || r[1] > 1 @@ -27718,7 +27718,7 @@ const Db = ({ x: e, y: t, width: n, height: o, origin: r }) => x: e - n * r[0], y: t - o * r[1], }, - Nb = (e) => ({ + Db = (e) => ({ nodesDraggable: e.nodesDraggable, nodesConnectable: e.nodesConnectable, nodesFocusable: e.nodesFocusable, @@ -27734,7 +27734,7 @@ const Db = ({ x: e, y: t, width: n, height: o, origin: r }) => elementsSelectable: r, updateNodeDimensions: i, onError: a, - } = Ze(Nb, st), + } = Ze(Db, st), l = Tb(e.onlyRenderVisibleElements), s = pe(), u = Be(() => { @@ -27775,7 +27775,7 @@ const Db = ({ x: e, y: t, width: n, height: o, origin: r }) => : c.positionAbsolute, x = (g == null ? void 0 : g.x) ?? 0, C = (g == null ? void 0 : g.y) ?? 0, - E = Db({ + E = Nb({ x, y: C, width: c.width ?? 0, @@ -27828,7 +27828,7 @@ tf.displayName = "NodeRenderer"; var Lb = Ye(tf); const Fb = (e, t, n) => (n === ae.Left ? e - t : n === ae.Right ? e + t : e), Rb = (e, t, n) => (n === ae.Top ? e - t : n === ae.Bottom ? e + t : e), - Nu = "react-flow__edgeupdater", + Du = "react-flow__edgeupdater", Lu = ({ position: e, centerX: t, @@ -27843,7 +27843,7 @@ const Fb = (e, t, n) => (n === ae.Left ? e - t : n === ae.Right ? e + t : e), onMouseDown: r, onMouseEnter: i, onMouseOut: a, - className: bt([Nu, `${Nu}-${l}`]), + className: bt([Du, `${Du}-${l}`]), cx: Fb(t, o, e), cy: Rb(n, o, e), r: o, @@ -27882,11 +27882,11 @@ var so = (e) => { targetHandleId: P, onContextMenu: V, onMouseEnter: k, - onMouseMove: D, + onMouseMove: N, onMouseLeave: T, reconnectRadius: F, onReconnect: I, - onReconnectStart: N, + onReconnectStart: D, onReconnectEnd: v, markerEnd: z, markerStart: B, @@ -27926,7 +27926,7 @@ var so = (e) => { Ge = Wo(n, _e.getState, l), Ot = Wo(n, _e.getState, V), Jt = Wo(n, _e.getState, k), - Dt = Wo(n, _e.getState, D), + Nt = Wo(n, _e.getState, N), en = Wo(n, _e.getState, T), St = (de, Ve) => { if (de.button !== 0) return; @@ -27937,7 +27937,7 @@ var so = (e) => { $t = Je || jb, it = Ve, En = et.find((Wt) => Wt.id === n); - ie(!0), N == null || N(de, En, Se); + ie(!0), D == null || D(de, En, Se); const tn = (Wt) => { ie(!1), v == null || v(Wt, En, Se); }; @@ -27955,7 +27955,7 @@ var so = (e) => { }); }, Vt = (de) => St(de, !0), - Nt = (de) => St(de, !1), + Dt = (de) => St(de, !1), Z = () => J(!0), ee = () => J(!1), se = !R && !a, @@ -27986,7 +27986,7 @@ var so = (e) => { onDoubleClick: Ge, onContextMenu: Ot, onMouseEnter: Jt, - onMouseMove: Dt, + onMouseMove: Nt, onMouseLeave: en, onKeyDown: G ? xe : void 0, tabIndex: G ? 0 : void 0, @@ -28045,7 +28045,7 @@ var so = (e) => { centerX: w, centerY: S, radius: F, - onMouseDown: Nt, + onMouseDown: Dt, onMouseEnter: Z, onMouseOut: ee, type: "target", @@ -28415,8 +28415,8 @@ const Gb = (e) => ({ "g", null, P.map((k) => { - const [D, T, F] = ju(A.get(k.source)), - [I, N, v] = ju(A.get(k.target)); + const [N, T, F] = ju(A.get(k.source)), + [I, D, v] = ju(A.get(k.target)); if (!F || !v) return null; let z = k.type || "default"; r[z] || @@ -28424,8 +28424,8 @@ const Gb = (e) => ({ const B = r[z] || r.default, M = _ === Jn.Strict - ? N.target - : (N.target ?? []).concat(N.source ?? []), + ? D.target + : (D.target ?? []).concat(D.source ?? []), W = Ru(T.source, k.sourceHandle), G = Ru(M, k.targetHandle), K = (W == null ? void 0 : W.position) || ae.Bottom, @@ -28440,7 +28440,7 @@ const Gb = (e) => ({ sourceY: J, targetX: ke, targetY: ie, - } = zb(D, W, K, I, G, Q); + } = zb(N, W, K, I, G, Q); return $.createElement(B, { key: k.id, id: k.id, @@ -28531,7 +28531,7 @@ const ey = { nodeId: e, handleType: t, style: n, - type: o = Dn.Bezier, + type: o = Nn.Bezier, CustomComponent: r, connectionStatus: i, }) => { @@ -28596,16 +28596,16 @@ const ey = { targetPosition: C, }; return ( - o === Dn.Bezier + o === Nn.Bezier ? ([E] = T3(w)) - : o === Dn.Step + : o === Nn.Step ? ([E] = Ss({ ...w, borderRadius: 0, })) - : o === Dn.SmoothStep + : o === Nn.SmoothStep ? ([E] = Ss(w)) - : o === Dn.SimpleBezier + : o === Nn.SimpleBezier ? ([E] = M3(w)) : (E = `M${y},${g} ${s},${u}`), $.createElement("path", { @@ -28706,11 +28706,11 @@ const af = ({ onlyRenderVisibleElements: P, elementsSelectable: V, selectNodesOnDrag: k, - defaultViewport: D, + defaultViewport: N, translateExtent: T, minZoom: F, maxZoom: I, - preventScrolling: N, + preventScrolling: D, defaultMarkerColor: v, zoomOnScroll: z, zoomOnPinch: B, @@ -28733,11 +28733,11 @@ const af = ({ onReconnectStart: Ge, onReconnectEnd: Ot, reconnectRadius: Jt, - noDragClassName: Dt, + noDragClassName: Nt, noWheelClassName: en, noPanClassName: St, elevateEdgesOnSelect: Vt, - disableKeyboardA11y: Nt, + disableKeyboardA11y: Dt, nodeOrigin: Z, nodeExtent: ee, rfId: se, @@ -28775,16 +28775,16 @@ const af = ({ panOnScrollSpeed: W, panOnScrollMode: G, panOnDrag: Q, - defaultViewport: D, + defaultViewport: N, translateExtent: T, minZoom: F, maxZoom: I, onSelectionContextMenu: m, - preventScrolling: N, - noDragClassName: Dt, + preventScrolling: D, + noDragClassName: Nt, noWheelClassName: en, noPanClassName: St, - disableKeyboardA11y: Nt, + disableKeyboardA11y: Dt, }, $.createElement( Qb, @@ -28807,7 +28807,7 @@ const af = ({ defaultMarkerColor: v, noPanClassName: St, elevateEdgesOnSelect: !!Vt, - disableKeyboardA11y: Nt, + disableKeyboardA11y: Dt, rfId: se, }, $.createElement(ny, { @@ -28829,8 +28829,8 @@ const af = ({ selectNodesOnDrag: k, onlyRenderVisibleElements: P, noPanClassName: St, - noDragClassName: Dt, - disableKeyboardA11y: Nt, + noDragClassName: Nt, + disableKeyboardA11y: Dt, nodeOrigin: Z, nodeExtent: ee, rfId: se, @@ -28977,8 +28977,8 @@ const Ts = [ [qe]: { ...g[qe], handleBounds: { - source: Du(".source", y.nodeElement, h, u), - target: Du(".target", y.nodeElement, h, u), + source: Nu(".source", y.nodeElement, h, u), + target: Nu(".target", y.nodeElement, h, u), }, }, ...x, @@ -29118,7 +29118,7 @@ const Ts = [ translateExtent: s, } = t(); if (!a || !l || (!n.x && !n.y)) return !1; - const u = Nn.translate(o[0] + n.x, o[1] + n.y).scale(o[2]), + const u = Dn.translate(o[0] + n.x, o[1] + n.y).scale(o[2]), c = [ [0, 0], [r, i], @@ -29209,12 +29209,12 @@ const iy = { onSelectionChange: P, onSelectionDragStart: V, onSelectionDrag: k, - onSelectionDragStop: D, + onSelectionDragStop: N, onSelectionContextMenu: T, onSelectionStart: F, onSelectionEnd: I, - connectionMode: N = Jn.Strict, - connectionLineType: v = Dn.Bezier, + connectionMode: D = Jn.Strict, + connectionLineType: v = Nn.Bezier, connectionLineStyle: z, connectionLineComponent: B, connectionLineContainerStyle: M, @@ -29236,11 +29236,11 @@ const iy = { edgesFocusable: Ge, edgesUpdatable: Ot, elementsSelectable: Jt, - defaultViewport: Dt = cy, + defaultViewport: Nt = cy, minZoom: en = 0.5, maxZoom: St = 2, translateExtent: Vt = Ts, - preventScrolling: Nt = !0, + preventScrolling: Dt = !0, nodeExtent: Z, defaultMarkerColor: ee = "#b1b1b7", zoomOnScroll: se = !0, @@ -29337,11 +29337,11 @@ const iy = { zoomActivationKeyCode: U, onlyRenderVisibleElements: ke, selectNodesOnDrag: ie, - defaultViewport: Dt, + defaultViewport: Nt, translateExtent: Vt, minZoom: en, maxZoom: St, - preventScrolling: Nt, + preventScrolling: Dt, zoomOnScroll: se, zoomOnPinch: xe, zoomOnDoubleClick: Je, @@ -29401,7 +29401,7 @@ const iy = { onEdgesChange: Ca, snapToGrid: ge, snapGrid: J, - connectionMode: N, + connectionMode: D, translateExtent: Vt, connectOnClick: Re, defaultEdgeOptions: at, @@ -29414,7 +29414,7 @@ const iy = { onNodeDragStop: R, onSelectionDrag: k, onSelectionDragStart: V, - onSelectionDragStop: D, + onSelectionDragStop: N, noPanClassName: re, nodeOrigin: le, rfId: wa, @@ -29747,7 +29747,7 @@ const Ic = "columns", xn = (e) => !e.id.startsWith(bn), Wc = (e, t, n, o, r, i = !1) => { const [a, l] = r ? [n, o] : [o, n], - [s, u] = r ? Ds(e, t, i) : Ds(t, e, i); + [s, u] = r ? Ns(e, t, i) : Ns(t, e, i); return { id: `${a}-${l}`, source: a, @@ -29787,7 +29787,7 @@ const Ic = "columns", }), Ii = (e, t, n, o, r, i) => { const a = la(e, t), - [l, s] = Ds(n, o, !1); + [l, s] = Ns(n, o, !1); return { id: a, data: { type: r }, @@ -29815,7 +29815,7 @@ const Ic = "columns", : aa), (e.markerEnd = t ? mf : gf); }, - Ds = (e, t, n) => + Ns = (e, t, n) => n ? e < t ? ["bottom", "top"] @@ -29871,7 +29871,7 @@ const Ic = "columns", }, gi = (e, t = 1) => e * (pf + Hu) + t * Hu, Vu = (e, t) => (n) => e <= n && n <= t, - Dy = (e, t) => (n) => e < n && n < t, + Ny = (e, t) => (n) => e < n && n < t, $u = (e, t) => { const n = e.findIndex((o) => o.id === t); n !== -1 && e.splice(n, 1); @@ -29903,7 +29903,7 @@ function yf(e) { for (const [i, a] of n) a === 0 && r.push(i); return { sources: o, sinks: r }; } -const Ny = "_table_node_8ocim_1", +const Dy = "_table_node_8ocim_1", Ly = "_header_8ocim_8", Fy = "_collapse_8ocim_16", Ry = "_selected_8ocim_21", @@ -29956,8 +29956,8 @@ const Ny = "_table_node_8ocim_1", MC = "_expand_nav_btn_8ocim_364", TC = "_lineage_legend_8ocim_391", OC = "_column_legend_8ocim_408", - DC = "_dot_8ocim_424", - NC = "_model_views_type_8ocim_436", + NC = "_dot_8ocim_424", + DC = "_model_views_type_8ocim_436", LC = "_close_button_8ocim_445", FC = "_op_node_8ocim_458", RC = "_light_mode_8ocim_477", @@ -29988,7 +29988,7 @@ const Ny = "_table_node_8ocim_1", av = "_reset_btn_8ocim_761", lv = "_error_tooltip_8ocim_767", Y = { - table_node: Ny, + table_node: Dy, header: Ly, collapse: Fy, selected: Ry, @@ -30043,8 +30043,8 @@ const Ny = "_table_node_8ocim_1", expand_nav_btn: MC, lineage_legend: TC, column_legend: OC, - dot: DC, - model_views_type: NC, + dot: NC, + model_views_type: DC, close_button: LC, op_node: FC, light_mode: RC, @@ -30441,7 +30441,7 @@ const Ny = "_table_node_8ocim_1", fill: "currentColor", }), ), - Ns = (e) => + Ds = (e) => /* @__PURE__ */ O.createElement( "svg", { @@ -31008,7 +31008,7 @@ const Ny = "_table_node_8ocim_1", fill: "currentColor", }), ), - Dv = (e) => + Nv = (e) => /* @__PURE__ */ O.createElement( "svg", { @@ -31166,7 +31166,7 @@ const Ny = "_table_node_8ocim_1", fill: "#E7A427", }), ), - Nv = (e) => + Dv = (e) => /* @__PURE__ */ O.createElement( "svg", { @@ -32201,7 +32201,7 @@ const dx = ({ datatype: e, color: t, size: n = "1rem" }) => { dark: /* @__PURE__ */ p.jsx(Zu, { style: { color: "#4B473F" } }), }, subquery: { - light: /* @__PURE__ */ p.jsx(Nv, { style: { color: "#FDF6EA" } }), + light: /* @__PURE__ */ p.jsx(Dv, { style: { color: "#FDF6EA" } }), dark: /* @__PURE__ */ p.jsx(Lv, { style: { color: "#4B473F" } }), }, source: { @@ -32213,8 +32213,8 @@ const dx = ({ datatype: e, color: t, size: n = "1rem" }) => { dark: /* @__PURE__ */ p.jsx(Yu, { style: { color: "#4C404C" } }), }, analysis: { - light: /* @__PURE__ */ p.jsx(Ns, {}), - dark: /* @__PURE__ */ p.jsx(Ns, {}), + light: /* @__PURE__ */ p.jsx(Ds, {}), + dark: /* @__PURE__ */ p.jsx(Ds, {}), }, snapshot: { light: /* @__PURE__ */ p.jsx(Gu, { style: { color: "#F6F4FF" } }), @@ -32222,7 +32222,7 @@ const dx = ({ datatype: e, color: t, size: n = "1rem" }) => { }, semantic_model: { light: /* @__PURE__ */ p.jsx(Fv, {}), - dark: /* @__PURE__ */ p.jsx(Dv, {}), + dark: /* @__PURE__ */ p.jsx(Nv, {}), }, macros: { light: /* @__PURE__ */ p.jsx(Ls, {}), @@ -32242,7 +32242,7 @@ const dx = ({ datatype: e, color: t, size: n = "1rem" }) => { e === "subquery" && /* @__PURE__ */ p.jsx(ni, {}), e === "source" && /* @__PURE__ */ p.jsx(mv, {}), e === "exposure" && /* @__PURE__ */ p.jsx(bv, {}), - e === "analysis" && /* @__PURE__ */ p.jsx(Ns, {}), + e === "analysis" && /* @__PURE__ */ p.jsx(Ds, {}), e === "snapshot" && /* @__PURE__ */ p.jsx(yv, {}), e === "semantic_model" && /* @__PURE__ */ p.jsx(Cv, {}), e === "macros" && /* @__PURE__ */ p.jsx(Ls, {}), @@ -32250,7 +32250,7 @@ const dx = ({ datatype: e, color: t, size: n = "1rem" }) => { ], }), kf = ({ nodeType: e }) => - e in Do + e in No ? /* @__PURE__ */ p.jsx(Yc, { nodeType: e }) : e in Vi ? /* @__PURE__ */ p.jsx("img", { @@ -32291,7 +32291,7 @@ const dx = ({ datatype: e, color: t, size: n = "1rem" }) => { subquery: Y.model, unknown: Y.exposure, }, - Do = { + No = { seed: "SED", model: "MDL", source: "SRC", @@ -32336,7 +32336,7 @@ const dx = ({ datatype: e, color: t, size: n = "1rem" }) => { e.find((m) => m.id === h.table) || (d++, s - ? s[h.table].type in Do + ? s[h.table].type in No ? e.push(To(h, u, o)) : e.push(bf(h.table, u, o, s[h.table])) : e.push(To(h, u, o))), @@ -32347,13 +32347,13 @@ const dx = ({ datatype: e, color: t, size: n = "1rem" }) => { let o = 1 / 0; const r = {}; for (const g of e) - if (vt(g) && g.parentId) - g.parentId in r || (r[g.parentId] = 0), + if (vt(g) && g.parentNode) + g.parentNode in r || (r[g.parentNode] = 0), (g.position = { x: Sy, - y: ky + gi(r[g.parentId]), + y: ky + gi(r[g.parentNode]), }), - r[g.parentId]++; + r[g.parentNode]++; else { const { level: x } = g.data; o = Math.min(o, x); @@ -32476,15 +32476,15 @@ const dx = ({ datatype: e, color: t, size: n = "1rem" }) => { P = _.source.join("/"), V = _.target.join("/"), k = bn + P, - D = bn + V, + N = bn + V, T = _.type; - if (L && j) C(A, R, k, D, T); + if (L && j) C(A, R, k, N, T); else if (L) { const F = n[R]; C(A, F, k, F, T), E.push(_); } else if (j) { const F = n[A]; - C(F, R, F, D, T), E.push(_); + C(F, R, F, N, T), E.push(_); } else E.push(_); } for (const _ in g) { @@ -32677,7 +32677,7 @@ const dx = ({ datatype: e, color: t, size: n = "1rem" }) => { const a = [...e], l = [...t]; if (o >= r) return [a, l]; - const s = Dy(o, r), + const s = Ny(o, r), u = a.find((d) => d.id === n).data.level, c = async (d) => { const h = [{ table: n, level: u }], @@ -32757,7 +32757,7 @@ const dx = ({ datatype: e, color: t, size: n = "1rem" }) => { }); const [P, V] = n ? ["source", "target"] : ["target", "source"], k = [], - D = [], + N = [], T = []; let F = !1; for (const W of t) { @@ -32784,32 +32784,32 @@ const dx = ({ datatype: e, color: t, size: n = "1rem" }) => { oe, C.filter((ge) => ge[0] === G), ), - D.push(oe)) + N.push(oe)) : k.push(oe)) : E.includes(G) && ((F = !0), U === "ephemeral" - ? (Bu(x, oe, x[G]), D.push(oe)) + ? (Bu(x, oe, x[G]), N.push(oe)) : (T.push(G), k.push(oe))); }); } if (!F) break; - E = D; + E = N; const I = Object.keys(j).concat(k); T.forEach((W) => { C.push(...x[W]), I.push(...x[W].map((G) => G[0])); }); - const N = await hx(e, f, b, m, C, n, Array.from(new Set(I)), u, c, d); - ((R = N.confidence) == null ? void 0 : R.confidence) === "low" && - r(((L = N.confidence) == null ? void 0 : L.operator_list) || []), - (C = N.newCurr), + const D = await hx(e, f, b, m, C, n, Array.from(new Set(I)), u, c, d); + ((R = D.confidence) == null ? void 0 : R.confidence) === "low" && + r(((L = D.confidence) == null ? void 0 : L.operator_list) || []), + (C = D.newCurr), !h && C.length > 0 && (h = !0), (C = C.filter( (W) => t.filter((G) => (n ? G.source : G.target) === W[0]).length > 0, )); const [v, z] = l(), - [B, M] = mx({ nodes: v, edges: z }, N, u, n); - i(N.seeMoreLineage), fn(B, M), s(B, M), a(N.collectColumns); + [B, M] = mx({ nodes: v, edges: z }, D, u, n); + i(D.seeMoreLineage), fn(B, M), s(B, M), a(D.collectColumns); } return h; }, @@ -32858,14 +32858,14 @@ const dx = ({ datatype: e, color: t, size: n = "1rem" }) => { } return !1; }, - No = async (e, t, n, o, r) => { + Do = async (e, t, n, o, r) => { var u; if (!n) return 0; const i = (u = e.find((c) => c.id === n)) == null ? void 0 : u.data; if (!i) return 0; const { level: a } = i, l = e.length, - [s] = await Pi(e, t, n, a - o, a + r); + [s] = await Pi(e, t, n, a - o, a + r, 1 / 0); return s.length - l; }, Cx = (e, t, n, o) => { @@ -32995,7 +32995,7 @@ const dx = ({ datatype: e, color: t, size: n = "1rem" }) => { ], }), Of = ({ data: e }) => { - var D; + var N; const { label: t, table: n, @@ -33038,16 +33038,16 @@ const dx = ({ datatype: e, color: t, size: n = "1rem" }) => { d.setNodes(F), d.setEdges(I), w(ur(wr(F, I, h))), - w(So(await No(F, I, h, b, y))), + w(So(await Do(F, I, h, b, y))), E(), !!(m != null && m.name)) ) try { Xe.start(); - const N = d.getEdges(); - Cr(N, !1), - vr(N, !0), - d.setEdges(N), + const D = d.getEdges(); + Cr(D, !1), + vr(D, !0), + d.setEdges(D), await Kc( F, I, @@ -33071,8 +33071,8 @@ const dx = ({ datatype: e, color: t, size: n = "1rem" }) => { (v) => w(bc(v(C))), ), E(); - } catch (N) { - console.log("cll:error:", N); + } catch (D) { + console.log("cll:error:", D); } finally { Xe.end(); } @@ -33098,7 +33098,7 @@ const dx = ({ datatype: e, color: t, size: n = "1rem" }) => { const T = d.getNodes(), F = d.getEdges(); w(ur(wr(T, F, n))), - w(So(await No(T, F, n, b, y))), + w(So(await Do(T, F, n, b, y))), Fs(d, n), w(Xn(n)), o && ix(o); @@ -33119,13 +33119,13 @@ const dx = ({ datatype: e, color: t, size: n = "1rem" }) => { /* @__PURE__ */ p.jsxs("div", { className: Y.table_header, children: [ - a in Do && + a in No && /* @__PURE__ */ p.jsx(p.Fragment, { children: /* @__PURE__ */ p.jsxs("div", { className: Te(Y.node_icon, Gc[a]), children: [ /* @__PURE__ */ p.jsx(Yc, { nodeType: a }), - /* @__PURE__ */ p.jsx("div", { children: Do[a] }), + /* @__PURE__ */ p.jsx("div", { children: No[a] }), ], }), }), @@ -33149,9 +33149,9 @@ const dx = ({ datatype: e, color: t, size: n = "1rem" }) => { }), ], }), - ((D = C == null ? void 0 : C[n]) == null + ((N = C == null ? void 0 : C[n]) == null ? void 0 - : D.length) && + : N.length) && /* @__PURE__ */ p.jsx(wn, { title: /* @__PURE__ */ p.jsx("div", { className: Y.error_tooltip, @@ -33470,7 +33470,7 @@ const dx = ({ datatype: e, color: t, size: n = "1rem" }) => { ], }); }, - Df = { + Nf = { INNER_JOIN: /* @__PURE__ */ p.jsx(Iv, {}), OUTER_JOIN: /* @__PURE__ */ p.jsx(Bv, {}), LEFT_JOIN: /* @__PURE__ */ p.jsx(zv, {}), @@ -33542,7 +33542,7 @@ const dx = ({ datatype: e, color: t, size: n = "1rem" }) => { }), /* @__PURE__ */ p.jsx("div", { className: Te(Y.node_icon, c ? Y.dark_mode : Y.light_mode), - children: Df[t], + children: Nf[t], }), /* @__PURE__ */ p.jsx("div", {}), /* @__PURE__ */ p.jsxs("div", { @@ -33629,7 +33629,7 @@ function Sx({ nodeType: e, label: t, table: n, tests: o, materialization: r }) { className: Te(Y.node_icon, Gc[i]), children: [ /* @__PURE__ */ p.jsx(kf, { nodeType: e }), - /* @__PURE__ */ p.jsx("div", { children: Do[i] }), + /* @__PURE__ */ p.jsx("div", { children: No[i] }), ], }), /* @__PURE__ */ p.jsx("div", { className: "lines-2", children: t }), @@ -33658,7 +33658,7 @@ function Sx({ nodeType: e, label: t, table: n, tests: o, materialization: r }) { ], }); } -function Nf() { +function Df() { const { state: { moreTables: e, selectCheck: t, nonSelectCheck: n }, rerender: o, @@ -33816,7 +33816,7 @@ const kx = "_component_13r39_1", ], }); }, - Dx = ({ + Nx = ({ columns: e, filteredColumn: t, setFilteredColumn: n, @@ -33905,7 +33905,7 @@ const kx = "_component_13r39_1", }), }); }, - Nx = ({ tests: e }) => { + Dx = ({ tests: e }) => { const [t, n] = ue(e); return /* @__PURE__ */ p.jsx("div", { className: Te(Y.card, "flex-grow column-section"), @@ -34014,11 +34014,11 @@ const kx = "_component_13r39_1", (o == null ? void 0 : o.table) === _.table && (o == null ? void 0 : o.name) === _.name ) { - const [I, N] = bx(c.getNodes(), c.getEdges()); - Cr(N, !0), - vr(N, !0), + const [I, D] = bx(c.getNodes(), c.getEdges()); + Cr(D, !0), + vr(D, !0), c.setNodes(I), - c.setEdges(N), + c.setEdges(D), u(Vn({ table: "", name: "" })), u(cr({})), u(Yt("")); @@ -34043,34 +34043,34 @@ const kx = "_component_13r39_1", u(Yt("")), u(cr({})), u(S9({ confidence: "high" })); - const [k, D] = Mf(R.filter(xn), L.filter(xn)); - D.forEach((I) => (I.style = aa)), c.setNodes(k), c.setEdges(D), t(); + const [k, N] = Mf(R.filter(xn), L.filter(xn)); + N.forEach((I) => (I.style = aa)), c.setNodes(k), c.setEdges(N), t(); const T = (I) => Kc( k, - D, + N, I, [_], - (N) => { - u(mc({ operatorList: N })); + (D) => { + u(mc({ operatorList: D })); }, - (N) => { - u(hc(N)); + (D) => { + u(hc(D)); }, - (N) => { - u(gc(N)); + (D) => { + u(gc(D)); }, () => [c.getNodes(), c.getEdges()], - (N, v) => { - c.setNodes(N), c.setEdges(v); + (D, v) => { + c.setNodes(D), c.setEdges(v); }, _, { direct: r, indirect: i }, - (N) => u(bc(N(s))), + (D) => u(bc(D(s))), ); try { Xe.start(), - (await Promise.all([T(!0), T(!1)])).every((N) => !N) && + (await Promise.all([T(!0), T(!1)])).every((D) => !D) && (u(Vn({ table: "", name: "" })), Fs(c, _.table), Xe.isCancelled || @@ -34122,7 +34122,7 @@ const kx = "_component_13r39_1", ), }), b === 0 && - /* @__PURE__ */ p.jsx(Dx, { + /* @__PURE__ */ p.jsx(Nx, { selectedTable: E, selectedColumn: o, filteredColumn: d, @@ -34133,7 +34133,7 @@ const kx = "_component_13r39_1", allowSyncColumnsWithDB: l, lineageType: e, }), - b === 1 && /* @__PURE__ */ p.jsx(Nx, { tests: E.tests }), + b === 1 && /* @__PURE__ */ p.jsx(Dx, { tests: E.tests }), ], }) ); @@ -34677,7 +34677,7 @@ const Ix = () => { c(Sl(Wu(r[0], s[0], a))), c(kl(Wu(r[1], s[1], a))); }, [a, c, s, r]), ce(() => { - (async () => c(So(await No(e.getNodes(), e.getEdges(), t, n, o))))(); + (async () => c(So(await Do(e.getNodes(), e.getEdges(), t, n, o))))(); }, [e, n, c, o, t]), ce(() => { (async () => { @@ -34820,7 +34820,7 @@ const Ix = () => { e.setEdges(E), e.fitView({ minZoom: Os }), c(ur(wr(C, E, t))), - c(So(await No(C, E, t, n, o))), + c(So(await Do(C, E, t, n, o))), l(), y(); }, @@ -35032,7 +35032,7 @@ function Vx({ opNodeArgs: e }) { /* @__PURE__ */ p.jsxs("div", { className: Y.table_details_header, children: [ - Df[e.op_type], + Nf[e.op_type], /* @__PURE__ */ p.jsx("div", { className: "d-flex align-items-center", children: /* @__PURE__ */ p.jsx("div", { @@ -35216,13 +35216,13 @@ const o1 = () => { (u != null && u.name) || (([R, L] = xr(R, L, E.table)), w.setNodes(R), w.setEdges(L)), f(ur(wr(R, L, E.table))), - f(So(await No(R, L, E.table, l, s))); + f(So(await Do(R, L, E.table, l, s))); return; } let _ = [], A = []; (_ = [To(E, 0, "")]), - ([_, A] = await Pi(_, A, E.table, -m.current, m.current)), + ([_, A] = await Pi(_, A, E.table, -m.current, m.current, 1 / 0)), f(Xn(E.table)), f(Vn({ table: "", name: "" })), f(cr({})), @@ -35233,7 +35233,7 @@ const o1 = () => { w.setEdges(A), w.fitView({ minZoom: Os, duration: 500 }), f(ur(wr(_, A, E.table))), - f(So(await No(_, A, E.table, l, s))), + f(So(await Do(_, A, E.table, l, s))), h(); }, [h, l, s, u == null ? void 0 : u.name], @@ -35353,7 +35353,7 @@ const o1 = () => { closeModal: () => f(Yt("")), width: "30vw", children: [ - a === Hc && /* @__PURE__ */ p.jsx(Nf, {}), + a === Hc && /* @__PURE__ */ p.jsx(Df, {}), a === Ic && /* @__PURE__ */ p.jsx(jf, { lineageType: "dynamic" }), a === zc && /* @__PURE__ */ p.jsx(If, {}), @@ -35478,7 +35478,7 @@ const o1 = () => { closeModal: () => l(Yt("")), width: "30vw", children: [ - a === Hc && /* @__PURE__ */ p.jsx(Nf, {}), + a === Hc && /* @__PURE__ */ p.jsx(Df, {}), a === Ic && /* @__PURE__ */ p.jsx(jf, { lineageType: "static" }), a === zc && /* @__PURE__ */ p.jsx(If, {}), @@ -35524,7 +35524,7 @@ const o1 = () => { }); if (o) { const g = Object.keys(o).map((C) => - n[C].type in Do ? To(a(C), 0, "") : bf(C, 0, "", n[C]), + n[C].type in No ? To(a(C), 0, "") : bf(C, 0, "", n[C]), ), x = t.map(([C, E]) => Wc(o[C][1], o[E][1], C, E, !0, !0)); for (const C of g) { @@ -35588,7 +35588,7 @@ const o1 = () => { i(O9(d.detail)); }, c = (d) => { - i(D9(d.detail)); + i(N9(d.detail)); }; return ( document.addEventListener("onHighlightedNodes", a), @@ -37059,7 +37059,7 @@ const nn = { basename: _w, dirname: Aw, extname: Mw, join: Tw, sep: "/" }; function _w(e, t) { if (t !== void 0 && typeof t != "string") throw new TypeError('"ext" argument must be a string'); - Dr(e); + Nr(e); let n = 0, o = -1, r = e.length, @@ -37092,7 +37092,7 @@ function _w(e, t) { return n === o ? (o = a) : o < 0 && (o = e.length), e.slice(n, o); } function Aw(e) { - if ((Dr(e), e.length === 0)) return "."; + if ((Nr(e), e.length === 0)) return "."; let t = -1, n = e.length, o; @@ -37112,7 +37112,7 @@ function Aw(e) { : e.slice(0, t); } function Mw(e) { - Dr(e); + Nr(e); let t = e.length, n = -1, o = 0, @@ -37142,20 +37142,20 @@ function Tw(...e) { let t = -1, n; for (; ++t < e.length; ) - Dr(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]); + Nr(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]); return n === void 0 ? "." : Ow(n); } function Ow(e) { - Dr(e); + Nr(e); const t = e.charCodeAt(0) === 47; - let n = Dw(e, !t); + let n = Nw(e, !t); return ( n.length === 0 && !t && (n = "."), n.length > 0 && e.charCodeAt(e.length - 1) === 47 && (n += "/"), t ? "/" + n : n ); } -function Dw(e, t) { +function Nw(e, t) { let n = "", o = 0, r = -1, @@ -37204,11 +37204,11 @@ function Dw(e, t) { } return n; } -function Dr(e) { +function Nr(e) { if (typeof e != "string") throw new TypeError("Path must be a string. Received " + JSON.stringify(e)); } -const Nw = { cwd: Lw }; +const Dw = { cwd: Lw }; function Lw() { return "/"; } @@ -37293,7 +37293,7 @@ class Uf { (this.data = {}), (this.messages = []), (this.history = []), - (this.cwd = Nw.cwd()), + (this.cwd = Dw.cwd()), this.value, this.stored, this.result, @@ -38643,13 +38643,13 @@ function bE(e, t, n) { function w(S, _, A) { let R = 0; return L; - function L(D) { - return S.enter("lineEnding"), S.consume(D), S.exit("lineEnding"), j; + function L(N) { + return S.enter("lineEnding"), S.consume(N), S.exit("lineEnding"), j; } - function j(D) { + function j(N) { return ( S.enter("codeFencedFence"), - Oe(D) + Oe(N) ? He( S, P, @@ -38657,23 +38657,23 @@ function bE(e, t, n) { o.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4, - )(D) - : P(D) + )(N) + : P(N) ); } - function P(D) { - return D === l ? (S.enter("codeFencedFenceSequence"), V(D)) : A(D); + function P(N) { + return N === l ? (S.enter("codeFencedFenceSequence"), V(N)) : A(N); } - function V(D) { - return D === l - ? (R++, S.consume(D), V) + function V(N) { + return N === l + ? (R++, S.consume(N), V) : R >= a ? (S.exit("codeFencedFenceSequence"), - Oe(D) ? He(S, k, "whitespace")(D) : k(D)) - : A(D); + Oe(N) ? He(S, k, "whitespace")(N) : k(N)) + : A(N); } - function k(D) { - return D === null || he(D) ? (S.exit("codeFencedFence"), _(D)) : A(D); + function k(N) { + return N === null || he(N) ? (S.exit("codeFencedFence"), _(N)) : A(N); } } } @@ -38938,7 +38938,7 @@ const AE = { resolve: TE, }, ME = { - tokenize: DE, + tokenize: NE, partial: !0, }; function TE(e) { @@ -38975,7 +38975,7 @@ function OE(e, t) { ); } } -function DE(e, t, n) { +function NE(e, t, n) { const o = this; return r; function r(a) { @@ -39146,7 +39146,7 @@ function Co(e) { .toLowerCase() .toUpperCase(); } -const NE = { +const DE = { name: "definition", tokenize: FE, }, @@ -39541,7 +39541,7 @@ function UE(e, t, n) { : M === 63 && r === 3 ? (e.consume(M), v) : M === 93 && r === 5 - ? (e.consume(M), N) + ? (e.consume(M), D) : he(M) && (r === 6 || r === 7) ? (e.exit("htmlFlowData"), e.check($E, B, V)(M)) : M === null || he(M) @@ -39552,9 +39552,9 @@ function UE(e, t, n) { return e.check(WE, k, B)(M); } function k(M) { - return e.enter("lineEnding"), e.consume(M), e.exit("lineEnding"), D; + return e.enter("lineEnding"), e.consume(M), e.exit("lineEnding"), N; } - function D(M) { + function N(M) { return M === null || he(M) ? V(M) : (e.enter("htmlFlowData"), P(M)); } function T(M) { @@ -39572,7 +39572,7 @@ function UE(e, t, n) { ? (e.consume(M), (a += String.fromCharCode(M)), I) : P(M); } - function N(M) { + function D(M) { return M === 93 ? (e.consume(M), v) : P(M); } function v(M) { @@ -39757,7 +39757,7 @@ function KE(e, t, n) { } function V(v) { return v === r - ? (e.consume(v), (r = void 0), D) + ? (e.consume(v), (r = void 0), N) : v === null ? n(v) : he(v) @@ -39776,7 +39776,7 @@ function KE(e, t, n) { ? R(v) : (e.consume(v), k); } - function D(v) { + function N(v) { return v === 47 || v === 62 || wt(v) ? R(v) : n(v); } function T(v) { @@ -39797,15 +39797,15 @@ function KE(e, t, n) { return Oe(v) ? He( e, - N, + D, "linePrefix", o.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4, )(v) - : N(v); + : D(v); } - function N(v) { + function D(v) { return e.enter("htmlTextData"), a(v); } } @@ -40588,13 +40588,13 @@ function AS(e, t, n) { return MS(a, j); } function m() { - const { line: j, column: P, offset: V, _index: k, _bufferIndex: D } = o; + const { line: j, column: P, offset: V, _index: k, _bufferIndex: N } = o; return { line: j, column: P, offset: V, _index: k, - _bufferIndex: D, + _bufferIndex: N, }; } function b(j) { @@ -40650,8 +40650,8 @@ function AS(e, t, n) { } function _(j, P) { return V; - function V(k, D, T) { - let F, I, N, v; + function V(k, N, T) { + let F, I, D, v; return Array.isArray(k) ? B(k) : "tokenize" in k @@ -40680,7 +40680,7 @@ function AS(e, t, n) { function Q(ne) { return ( (v = R()), - (N = K), + (D = K), K.partial || (u.currentConstruct = K), K.name && u.parser.constructs.disable.null.includes(K.name) ? G() @@ -40697,7 +40697,7 @@ function AS(e, t, n) { } } function W(K) { - return j(N, v), D; + return j(D, v), N; } function G(K) { return v.restore(), ++I < F.length ? M(F[I]) : T; @@ -40715,7 +40715,7 @@ function AS(e, t, n) { P = u.previous, V = u.currentConstruct, k = u.events.length, - D = Array.from(l); + N = Array.from(l); return { restore: T, from: k, @@ -40725,7 +40725,7 @@ function AS(e, t, n) { (u.previous = P), (u.currentConstruct = V), (u.events.length = k), - (l = D), + (l = N), L(); } } @@ -40807,10 +40807,10 @@ const OS = { 57: yt, 62: Xf, }, - DS = { - 91: NE, - }, NS = { + 91: DE, + }, + DS = { [-2]: Yl, [-1]: Yl, 32: Yl, @@ -40857,11 +40857,11 @@ const OS = { { __proto__: null, attentionMarkers: IS, - contentInitial: DS, + contentInitial: NS, disable: zS, document: OS, flow: LS, - flowInitial: NS, + flowInitial: DS, insideSpan: jS, string: FS, text: RS, @@ -41041,7 +41041,7 @@ function qS(e) { image: l(Ge), label: s, link: l(Ot), - listItem: l(Dt), + listItem: l(Nt), listItemValue: m, listOrdered: l(Jt, f), listUnordered: l(Jt), @@ -41052,7 +41052,7 @@ function qS(e) { resourceTitleString: s, setextHeading: l($e), strong: l(St), - thematicBreak: l(Nt), + thematicBreak: l(Dt), }, exit: { atxHeading: c(), @@ -41081,11 +41081,11 @@ function qS(e) { emphasis: c(), hardBreakEscape: c(k), hardBreakTrailing: c(k), - htmlFlow: c(D), + htmlFlow: c(N), htmlFlowData: P, htmlText: c(T), htmlTextData: P, - image: c(N), + image: c(D), label: z, labelText: v, lineEnding: V, @@ -41404,7 +41404,7 @@ function qS(e) { function k() { i("atHardBreak", !0); } - function D() { + function N() { const Z = this.resume(), ee = this.stack[this.stack.length - 1]; ee.value = Z; @@ -41430,7 +41430,7 @@ function qS(e) { } else delete Z.identifier, delete Z.label; i("referenceType"); } - function N() { + function D() { const Z = this.stack[this.stack.length - 1]; if (a("inReference")) { const ee = a("referenceType") || "shortcut"; @@ -41580,7 +41580,7 @@ function qS(e) { children: [], }; } - function Dt(Z) { + function Nt(Z) { return { type: "listItem", spread: Z._spread, @@ -41606,7 +41606,7 @@ function qS(e) { value: "", }; } - function Nt() { + function Dt() { return { type: "thematicBreak", }; @@ -42334,7 +42334,7 @@ const f1 = return n(i, l ? l.children.indexOf(i) : null, l); } }; -function Dk(e) { +function Nk(e) { return ( !e || !e.position || @@ -42347,7 +42347,7 @@ function Dk(e) { ); } const M0 = {}.hasOwnProperty; -function Nk(e) { +function Dk(e) { const t = /* @__PURE__ */ Object.create(null); if (!e || !e.type) throw new Error("mdast-util-definitions expected node"); return ( @@ -42385,7 +42385,7 @@ function Lk(e, t) { (a.unknownHandler = n.unknownHandler), (a.passThrough = n.passThrough), (a.handlers = { ...wk, ...n.handlers }), - (a.definition = Nk(e)), + (a.definition = Dk(e)), (a.footnoteById = r), (a.footnoteOrder = []), (a.footnoteCounts = {}), @@ -42423,7 +42423,7 @@ function Lk(e, t) { } if (u) { const d = "type" in u ? u : { position: u }; - Dk(d) || (c.position = { start: u1(d), end: d1(d) }); + Nk(d) || (c.position = { start: u1(d), end: d1(d) }); } return c; } @@ -42669,7 +42669,7 @@ function Pk(e, t) { function Bk(e) { return (t) => g5(t, e); } -class Nr { +class Dr { /** * @constructor * @param {Properties} property @@ -42680,16 +42680,16 @@ class Nr { (this.property = t), (this.normal = n), o && (this.space = o); } } -Nr.prototype.property = {}; -Nr.prototype.normal = {}; -Nr.prototype.space = null; +Dr.prototype.property = {}; +Dr.prototype.normal = {}; +Dr.prototype.space = null; function m5(e, t) { const n = {}, o = {}; let r = -1; for (; ++r < e.length; ) Object.assign(n, e[r].property), Object.assign(o, e[r].normal); - return new Nr(n, o, t); + return new Dr(n, o, t); } function $s(e) { return e.toLowerCase(); @@ -42779,7 +42779,7 @@ function Io(e) { (n[$s(o)] = o), (n[$s(i.attribute)] = o); } - return new Nr(t, n, e.space); + return new Dr(t, n, e.space); } const y5 = Io({ space: "xlink", @@ -43794,7 +43794,7 @@ const w5 = Io({ }, }), Uk = /^data[-\w.:]+$/i, - D0 = /-[a-z]/g, + N0 = /-[a-z]/g, qk = /[A-Z]/g; function Yk(e, t) { const n = $s(t); @@ -43803,11 +43803,11 @@ function Yk(e, t) { if (n in e.normal) return e.property[e.normal[n]]; if (n.length > 4 && n.slice(0, 4) === "data" && Uk.test(t)) { if (t.charAt(4) === "-") { - const i = t.slice(5).replace(D0, Kk); + const i = t.slice(5).replace(N0, Kk); o = "data" + i.charAt(0).toUpperCase() + i.slice(1); } else { const i = t.slice(4); - if (!D0.test(i)) { + if (!N0.test(i)) { let a = i.replace(qk, Gk); a.charAt(0) !== "-" && (a = "-" + a), (t = "data" + a); } @@ -43822,7 +43822,7 @@ function Gk(e) { function Kk(e) { return e.charAt(1).toUpperCase(); } -const N0 = { +const D0 = { classId: "classID", dataType: "datatype", itemId: "itemID", @@ -44124,11 +44124,11 @@ function t_() { P = d, V = t, k = r, - D = o, + N = o, T = u, F = c, I = !1, - N = !1; + D = !1; function v(ie) { return ( I || @@ -44141,8 +44141,8 @@ function t_() { } function z(ie) { return ( - N || - ((N = !0), + D || + ((D = !0), console.warn( "The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.", )), @@ -44194,7 +44194,7 @@ function t_() { (Fe.Memo = P), (Fe.Portal = V), (Fe.Profiler = k), - (Fe.StrictMode = D), + (Fe.StrictMode = N), (Fe.Suspense = T), (Fe.SuspenseList = F), (Fe.isAsyncMode = v), @@ -44511,7 +44511,7 @@ function S_(e, t, n, o) { (Array.isArray(i) && (i = r.commaSeparated ? a_(i) : i_(i)), r.property === "style" && typeof i == "string" && (i = k_(i)), r.space && r.property - ? (e[Us.call(N0, r.property) ? N0[r.property] : r.property] = i) + ? (e[Us.call(D0, r.property) ? D0[r.property] : r.property] = i) : r.attribute && (e[r.attribute] = i)); } function k_(e) { @@ -44717,7 +44717,7 @@ const T_ = ({ chat: e }) => { }; var li, O_ = new Uint8Array(16); -function D_() { +function N_() { if ( !li && ((li = @@ -44734,10 +44734,10 @@ function D_() { ); return li(O_); } -const N_ = +const D_ = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i; function L_(e) { - return typeof e == "string" && N_.test(e); + return typeof e == "string" && D_.test(e); } var lt = []; for (var Ql = 0; Ql < 256; ++Ql) lt.push((Ql + 256).toString(16).substr(1)); @@ -44770,7 +44770,7 @@ function F_(e) { } function R_(e, t, n) { e = e || {}; - var o = e.random || (e.rng || D_)(); + var o = e.random || (e.rng || N_)(); return (o[6] = (o[6] & 15) | 64), (o[8] = (o[8] & 63) | 128), F_(o); } const j_ = "_citations_18435_1",