@factorialco/f0-react 8.20.0 → 8.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ChatPdfThumbnail-QQ-DIFjX.js → ChatPdfThumbnail-1bbT70fF.js} +1 -1
- package/dist/{ChatPostComposerDialog-C0BSdIEf.js → ChatPostComposerDialog-C3ZKpsOi.js} +2 -2
- package/dist/{DocumentToolbar-CLOwkjWF.js → DocumentToolbar-CZ3TgcQ8.js} +1 -1
- package/dist/{DocxViewer-xQ1VGshu.js → DocxViewer-nNaSuu14.js} +1 -1
- package/dist/{F0AiProcessingOverlay-ChuNuaON.js → F0AiProcessingOverlay-Dxr56ENi.js} +1540 -1535
- package/dist/{F0Map-DCamR9ck.js → F0Map-DXQtx24l.js} +2 -2
- package/dist/{F0VideoPlayer-BquSWbzr.js → F0VideoPlayer-B5Fg_DKS.js} +1 -1
- package/dist/{MapProvider-84Qqrrlq.js → MapProvider-BFx_y6Zn.js} +324 -293
- package/dist/{SheetViewer-RF8QUteM.js → SheetViewer-BFStBZ33.js} +1 -1
- package/dist/{TextViewer-BfSoMHHy.js → TextViewer-CShEwqaL.js} +1 -1
- package/dist/ai.js +1 -1
- package/dist/component-status.js +1 -1
- package/dist/{experimental-B6T-a60d.js → experimental-BP-4Uso-.js} +6 -6
- package/dist/experimental.d.ts +11 -0
- package/dist/experimental.js +3 -3
- package/dist/f0.d.ts +11 -0
- package/dist/f0.js +8 -8
- package/dist/{index-CnQnZEqH.js → index-BLmKz4ut.js} +2 -2
- package/dist/{index-CE0LkHWA.js → index-CoyJcLmW.js} +1 -1
- package/dist/index-DEdxlAs9.js +4 -0
- package/dist/{index-GMXyKXCE.js → index-bFpPGzmn.js} +2 -2
- package/dist/{pdfWorker-CdLQgVnT.js → pdfWorker-yppltJVi.js} +1 -1
- package/package.json +1 -1
- package/dist/index-C3RxAkcX.js +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as m, jsxs as R, Fragment as We } from "react/jsx-runtime";
|
|
2
2
|
import * as qe from "react";
|
|
3
3
|
import oe, { useRef as F, useState as J, useCallback as K, useEffect as ie, useContext as ht, useMemo as Y, createContext as zt, forwardRef as Qe, useLayoutEffect as Lt, memo as Mt, useReducer as vz, cloneElement as QT, PureComponent as cd, useId as mi, useImperativeHandle as ia, Fragment as Vf, createElement as Im, isValidElement as bz, Suspense as wz, lazy as xz, useDebugValue as eO, version as S4, createRef as tO, useSyncExternalStore as C4 } from "react";
|
|
4
|
-
import { f3 as E4, f4 as Zu, f5 as kz, cP as nO, f6 as _z, f7 as Sz, f8 as Cz, f9 as Iv, fa as Ez, fb as Nz, fc as Az, fd as Tz, fe as Oz, ff as Iz, fg as Dz, ac as it, fh as iO, fi as Mz, cm as Vt, aK as Qu, aL as dd, av as Pz, aw as Rz, cR as go, E as Ft, G as ii, H as fd, dj as Mk, ev as Pk, ew as Dm, S as Be, fj as rO, ex as Rk, u as Re, v as st, bk as eh, cp as xc, bs as Fy, r as Lk, cV as Lz, cC as oO, cS as Fz, dg as $z, e5 as sO, y as De, aZ as th, fk as Bz, b5 as zz, b6 as jz, fl as Hz, cw as aO, dN as lO, fm as cO, da as dO, fn as Vz, fo as Wz, fp as _a, fq as Bt, fr as Ni, fs as fO, ft as Uz, fu as uO, fv as qz, fw as Xn, fx as $y, fy as pn, fz as hO, fA as By, fB as Fk, fC as $k, fD as Bk, fE as Wn, fF as Ci, fG as Hb, fH as zy, fI as Kz, fJ as ai, fK as $o, fL as ki, fM as gl, fN as zk, fO as jy, fP as Yp, fQ as Hy, eA as jk, fR as Gz, fS as Xh, fT as Mm, fU as Yz, fV as Xz, fW as Jz, fX as Zz, fY as Qz, fZ as ej, f_ as pO, f$ as mO, g0 as gO, g1 as yO, g2 as vO, g3 as tj, g4 as Pm, g5 as nj, g6 as ij, g7 as nh, g8 as ra, cZ as Jo, g9 as Hk, ga as Wo, gb as bO, c_ as wO, gc as rj, gd as oj, cX as sj, ge as aj, cY as lj, dl as li, gf as ci, gg as cj, gh as dj, gi as fj, gj as uj, gk as hj, gl as Vb, gm as pj, a5 as xO, gn as kO, eu as
|
|
4
|
+
import { f3 as E4, f4 as Zu, f5 as kz, cP as nO, f6 as _z, f7 as Sz, f8 as Cz, f9 as Iv, fa as Ez, fb as Nz, fc as Az, fd as Tz, fe as Oz, ff as Iz, fg as Dz, ac as it, fh as iO, fi as Mz, cm as Vt, aK as Qu, aL as dd, av as Pz, aw as Rz, cR as go, E as Ft, G as ii, H as fd, dj as Mk, ev as Pk, ew as Dm, S as Be, fj as rO, ex as Rk, u as Re, v as st, bk as eh, cp as xc, bs as Fy, r as Lk, cV as Lz, cC as oO, cS as Fz, dg as $z, e5 as sO, y as De, aZ as th, fk as Bz, b5 as zz, b6 as jz, fl as Hz, cw as aO, dN as lO, fm as cO, da as dO, fn as Vz, fo as Wz, fp as _a, fq as Bt, fr as Ni, fs as fO, ft as Uz, fu as uO, fv as qz, fw as Xn, fx as $y, fy as pn, fz as hO, fA as By, fB as Fk, fC as $k, fD as Bk, fE as Wn, fF as Ci, fG as Hb, fH as zy, fI as Kz, fJ as ai, fK as $o, fL as ki, fM as gl, fN as zk, fO as jy, fP as Yp, fQ as Hy, eA as jk, fR as Gz, fS as Xh, fT as Mm, fU as Yz, fV as Xz, fW as Jz, fX as Zz, fY as Qz, fZ as ej, f_ as pO, f$ as mO, g0 as gO, g1 as yO, g2 as vO, g3 as tj, g4 as Pm, g5 as nj, g6 as ij, g7 as nh, g8 as ra, cZ as Jo, g9 as Hk, ga as Wo, gb as bO, c_ as wO, gc as rj, gd as oj, cX as sj, ge as aj, cY as lj, dl as li, gf as ci, gg as cj, gh as dj, gi as fj, gj as uj, gk as hj, gl as Vb, gm as pj, a5 as xO, gn as kO, eu as _r, ab as Jt, eM as mj, ds as mr, cl as ud, d5 as Xa, an as ih, ao as gj, dI as yj, go as _O, gp as SO, o as CO, ae as is, cx as hd, ey as EO, cF as NO, cG as Vk, aa as rh, M as Vy, gq as vj, es as AO, df as bj, gr as TO, eQ as $n, gs as OO, gt as IO, gu as Wb, gv as wj, gw as N4, gx as DO, et as oa, eY as MO, dx as PO, eS as Wy, J as Uy, K as Wk, L as qy, eW as xj, k as Qn, aF as A4, aN as kj, a$ as _j, bx as Uk, gy as RO, gz as Sj, eR as qk, gA as Kk, gB as LO, gC as yl, gD as Dv, bW as FO, cv as vl, aj as br, dm as Gs, eq as Cj, gE as T4, em as Gk, gF as Ej, dU as Nj, e9 as Aj, e7 as Tj, gG as $O, gH as Oj, cQ as Ij, gI as Dj, gJ as BO, ag as zO, gK as Mj, gL as Pj, gM as Rj, gN as O4, gO as I4, gP as D4, gQ as M4, gR as Lj, aD as Fj, gS as jO, du as $j, gT as Bj, cL as pd, N as HO, O as VO, R as WO, gU as zj, gV as jj, gW as P4, dS as Rm, eK as Wf, V as UO, W as qO, Y as KO, Z as GO, w as sa, cq as Hr, s as Hj, x as Vj, gX as Wj, z as Ky, gY as YO, gZ as XO, g_ as Uj, g$ as Lm, h0 as qj, h1 as Kj, h2 as Ba, h3 as Gj, h4 as R4, h5 as Yj, h6 as Xj, h7 as Fm, h8 as Jj, h9 as Zj, ha as Qj, hb as JO, hc as eH, hd as ZO, he as tH, hf as Gy, hg as md, hh as nH, hi as Yk, hj as ln, hk as iH, cO as Uf, hl as ti, hm as rH, c$ as oh, hn as oH, a8 as Ja, au as Ub, dp as sH, dq as aH, cy as QO, cz as eI, cA as tI, ho as Xk, hp as lH, d4 as nI, bQ as sh, aT as rs, ek as iI, el as rI, aH as oI, aW as cH, cf as sI, dH, hq as fH, hr as uH, hs as $m, ht as Do, m as hH, c3 as pH, hu as mH, d$ as gH, aS as Bm, c6 as aI, c1 as yH, B as L4, ej as vH, a_ as bH, hv as wH, hw as Yy, hx as Xy, hy as Jy, cB as Zy, hz as xH, hA as zm, hB as kH, hC as _H, dr as SH, hD as lI, bz as Mv, hE as CH, hF as EH, bC as NH, bI as AH, hG as F4, hH as TH, hI as $4, hJ as Pv, hK as cI, a2 as dI, c2 as OH, a6 as IH, i as Jk, hL as DH, hM as MH, dP as PH, j as Zk, eF as RH, bV as LH, bM as FH, bu as B4, by as Qk, cb as $H, eh as BH, hN as fI, hO as zH, hP as e2, l as jH, ay as HH, aU as VH, c4 as WH, hQ as UH, hR as qH, A as KH, hS as GH, hT as YH, hU as XH, hV as JH, hW as uI, ce as ZH, hX as t2, hY as QH, hZ as eV, h_ as tV, h$ as Rv, i0 as nV, i1 as Ie, i2 as ah, i3 as iV, i4 as rV, i5 as oV, i6 as sV, i7 as z4, i8 as aV, i9 as jm, U as lV, ia as cV, ib as Lv, ic as Jh, id as dV, ie as fV, ig as uV, ih as hV, ii as pV, ax as mV, c as gV, c5 as yV, X as Fv, ij as lh, ik as n2, il as i2, im as ch, io as vV, b$ as bV, eG as r2, ec as j4, am as wV, ai as xV, ef as kV, aA as _V, bt as SV, cd as CV, c9 as EV, bm as hI, bn as pI, bo as mI, bL as gI, aJ as yI, ar as vI, ap as bI, as as wI, aq as xI, aP as kI, b_ as _I, cD as SI, ip as CI, iq as NV, cK as AV, bb as TV, b9 as OV, b8 as IV, b7 as DV, ba as MV, bp as PV, cg as RV, co as LV, cn as FV, cc as $V, bG as BV, bP as zV, a3 as jV, ct as HV, ir as VV, is as $v, it as WV, bv as UV, iu as EI, iv as o2, iw as Fs, ix as ac, iy as NI, iz as AI, cJ as qV, iA as KV, iB as GV, iC as YV, iD as XV, cE as JV, dR as ZV, cs as QV, iE as eW } from "./F0CanvasPanel-BEQLTZPB.js";
|
|
5
5
|
import { d as U, g as tW, e as di, T as dh, a as fh, b as uh, f as tn, u as s2, S as nW, c as Qy } from "./tooltip-CrXp1Uaz.js";
|
|
6
6
|
import { g as hh } from "./_commonjsHelpers-ByX85dGu.js";
|
|
7
7
|
import TI, { unstable_batchedUpdates as Zh, createPortal as e1, flushSync as iW } from "react-dom";
|
|
@@ -533,7 +533,7 @@ function IW(e) {
|
|
|
533
533
|
function qf(e) {
|
|
534
534
|
return Kf(e).map(Number);
|
|
535
535
|
}
|
|
536
|
-
function
|
|
536
|
+
function $r(e) {
|
|
537
537
|
return e[ph(e)];
|
|
538
538
|
}
|
|
539
539
|
function ph(e) {
|
|
@@ -954,7 +954,7 @@ function HW(e, t, n, i, r) {
|
|
|
954
954
|
return cf(p, y) <= 1;
|
|
955
955
|
}
|
|
956
956
|
function d() {
|
|
957
|
-
const p = s[0], y =
|
|
957
|
+
const p = s[0], y = $r(s), g = s.lastIndexOf(p), v = s.indexOf(y) + 1;
|
|
958
958
|
return Za(g, v);
|
|
959
959
|
}
|
|
960
960
|
function f() {
|
|
@@ -981,7 +981,7 @@ function HW(e, t, n, i, r) {
|
|
|
981
981
|
};
|
|
982
982
|
}
|
|
983
983
|
function VW(e, t, n) {
|
|
984
|
-
const i = t[0], r = n ? i - e :
|
|
984
|
+
const i = t[0], r = n ? i - e : $r(t);
|
|
985
985
|
return {
|
|
986
986
|
limit: Za(r, i)
|
|
987
987
|
};
|
|
@@ -1024,7 +1024,7 @@ function qW(e, t, n, i, r) {
|
|
|
1024
1024
|
groupSlides: a
|
|
1025
1025
|
} = r, l = f().map(t.measure), c = u(), d = h();
|
|
1026
1026
|
function f() {
|
|
1027
|
-
return a(i).map((y) =>
|
|
1027
|
+
return a(i).map((y) => $r(y)[s] - y[0][o]).map(cn);
|
|
1028
1028
|
}
|
|
1029
1029
|
function u() {
|
|
1030
1030
|
return i.map((y) => n[o] - y[o]).map((y) => -cn(y));
|
|
@@ -1049,12 +1049,12 @@ function KW(e, t, n, i, r, o) {
|
|
|
1049
1049
|
return n.length === 1 ? [o] : h ? u : u.slice(a, l).map((p, y, g) => {
|
|
1050
1050
|
const v = !y, b = u2(g, y);
|
|
1051
1051
|
if (v) {
|
|
1052
|
-
const x =
|
|
1052
|
+
const x = $r(g[0]) + 1;
|
|
1053
1053
|
return X4(x);
|
|
1054
1054
|
}
|
|
1055
1055
|
if (b) {
|
|
1056
|
-
const x = ph(o) -
|
|
1057
|
-
return X4(x,
|
|
1056
|
+
const x = ph(o) - $r(g)[0] + 1;
|
|
1057
|
+
return X4(x, $r(g)[0]);
|
|
1058
1058
|
}
|
|
1059
1059
|
return p;
|
|
1060
1060
|
});
|
|
@@ -1089,7 +1089,7 @@ function GW(e, t, n, i, r) {
|
|
|
1089
1089
|
if (!e) return p;
|
|
1090
1090
|
if (!y) return l(g);
|
|
1091
1091
|
const v = g.filter((b) => f2(b) === y);
|
|
1092
|
-
return v.length ? l(v) :
|
|
1092
|
+
return v.length ? l(v) : $r(g) - n;
|
|
1093
1093
|
}
|
|
1094
1094
|
function f(p, y) {
|
|
1095
1095
|
const g = t[p] - r.get(), v = d(g, y);
|
|
@@ -1352,7 +1352,7 @@ function eU(e, t, n, i, r, o) {
|
|
|
1352
1352
|
}
|
|
1353
1353
|
function y() {
|
|
1354
1354
|
if (!c) return 0;
|
|
1355
|
-
const b = o.getComputedStyle(
|
|
1355
|
+
const b = o.getComputedStyle($r(i));
|
|
1356
1356
|
return parseFloat(b.getPropertyValue(`margin-${l}`));
|
|
1357
1357
|
}
|
|
1358
1358
|
function g() {
|
|
@@ -1379,7 +1379,7 @@ function tU(e, t, n, i, r, o, s, a, l) {
|
|
|
1379
1379
|
}
|
|
1380
1380
|
function p(v) {
|
|
1381
1381
|
return v.length ? qf(v).reduce((b, x, w) => {
|
|
1382
|
-
const k =
|
|
1382
|
+
const k = $r(b) || 0, _ = k === 0, S = x === ph(v), C = r[c] - o[k][c], E = r[c] - o[x][d], A = !i && _ ? f(s) : 0, T = !i && S ? f(a) : 0, I = cn(E - T - (C + A));
|
|
1383
1383
|
return w && I > t + l && b.push(x), S && b.push(v.length), b;
|
|
1384
1384
|
}, []).map((b, x, w) => {
|
|
1385
1385
|
const k = Math.max(w[x - 1] || 0);
|
|
@@ -1419,7 +1419,7 @@ function nU(e, t, n, i, r, o, s) {
|
|
|
1419
1419
|
} = eU(T, E, A, n, O, r), $ = tU(T, I, g, f, E, A, B, H, S), {
|
|
1420
1420
|
snaps: V,
|
|
1421
1421
|
snapsAligned: X
|
|
1422
|
-
} = qW(T, N, E, A, $), Q =
|
|
1422
|
+
} = qW(T, N, E, A, $), Q = -$r(V) + $r(L), {
|
|
1423
1423
|
snapsContained: z,
|
|
1424
1424
|
scrollContainLimit: G
|
|
1425
1425
|
} = HW(I, Q, X, b, S), W = M ? z : X, {
|
|
@@ -8294,7 +8294,7 @@ function $i(e) {
|
|
|
8294
8294
|
for (var t = 1; t < arguments.length; t++) {
|
|
8295
8295
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
8296
8296
|
t % 2 ? zS(Object(n), !0).forEach(function(i) {
|
|
8297
|
-
|
|
8297
|
+
Or(e, i, n[i]);
|
|
8298
8298
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : zS(Object(n)).forEach(function(i) {
|
|
8299
8299
|
Object.defineProperty(e, i, Object.getOwnPropertyDescriptor(n, i));
|
|
8300
8300
|
});
|
|
@@ -8380,7 +8380,7 @@ function rw(e, t) {
|
|
|
8380
8380
|
return i.__proto__ = r, i;
|
|
8381
8381
|
}, rw(e, t);
|
|
8382
8382
|
}
|
|
8383
|
-
function
|
|
8383
|
+
function Or(e, t, n) {
|
|
8384
8384
|
return t = MD(t), t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
8385
8385
|
}
|
|
8386
8386
|
function MD(e) {
|
|
@@ -8403,12 +8403,12 @@ var wl = /* @__PURE__ */ (function(e) {
|
|
|
8403
8403
|
MY(this, t);
|
|
8404
8404
|
for (var i = arguments.length, r = new Array(i), o = 0; o < i; o++)
|
|
8405
8405
|
r[o] = arguments[o];
|
|
8406
|
-
return n = RY(this, t, [].concat(r)),
|
|
8406
|
+
return n = RY(this, t, [].concat(r)), Or(n, "state", {
|
|
8407
8407
|
isAnimationFinished: !0,
|
|
8408
8408
|
totalLength: 0
|
|
8409
|
-
}),
|
|
8409
|
+
}), Or(n, "generateSimpleStrokeDasharray", function(s, a) {
|
|
8410
8410
|
return "".concat(a, "px ").concat(s - a, "px");
|
|
8411
|
-
}),
|
|
8411
|
+
}), Or(n, "getStrokeDasharray", function(s, a, l) {
|
|
8412
8412
|
var c = l.reduce(function(v, b) {
|
|
8413
8413
|
return v + b;
|
|
8414
8414
|
});
|
|
@@ -8423,13 +8423,13 @@ var wl = /* @__PURE__ */ (function(e) {
|
|
|
8423
8423
|
return [].concat(zl(t.repeat(l, d)), zl(h), g).map(function(v) {
|
|
8424
8424
|
return "".concat(v, "px");
|
|
8425
8425
|
}).join(", ");
|
|
8426
|
-
}),
|
|
8426
|
+
}), Or(n, "id", zk("recharts-line-")), Or(n, "pathRef", function(s) {
|
|
8427
8427
|
n.mainCurve = s;
|
|
8428
|
-
}),
|
|
8428
|
+
}), Or(n, "handleAnimationEnd", function() {
|
|
8429
8429
|
n.setState({
|
|
8430
8430
|
isAnimationFinished: !0
|
|
8431
8431
|
}), n.props.onAnimationEnd && n.props.onAnimationEnd();
|
|
8432
|
-
}),
|
|
8432
|
+
}), Or(n, "handleAnimationStart", function() {
|
|
8433
8433
|
n.setState({
|
|
8434
8434
|
isAnimationFinished: !1
|
|
8435
8435
|
}), n.props.onAnimationStart && n.props.onAnimationStart();
|
|
@@ -8669,8 +8669,8 @@ var wl = /* @__PURE__ */ (function(e) {
|
|
|
8669
8669
|
}
|
|
8670
8670
|
}]);
|
|
8671
8671
|
})(cd);
|
|
8672
|
-
|
|
8673
|
-
|
|
8672
|
+
Or(wl, "displayName", "Line");
|
|
8673
|
+
Or(wl, "defaultProps", {
|
|
8674
8674
|
xAxisId: 0,
|
|
8675
8675
|
yAxisId: 0,
|
|
8676
8676
|
connectNulls: !1,
|
|
@@ -8689,7 +8689,7 @@ Tr(wl, "defaultProps", {
|
|
|
8689
8689
|
hide: !1,
|
|
8690
8690
|
label: !1
|
|
8691
8691
|
});
|
|
8692
|
-
|
|
8692
|
+
Or(wl, "getComposedData", function(e) {
|
|
8693
8693
|
var t = e.props, n = e.xAxis, i = e.yAxis, r = e.xAxisTicks, o = e.yAxisTicks, s = e.dataKey, a = e.bandSize, l = e.displayedData, c = e.offset, d = t.layout, f = l.map(function(u, h) {
|
|
8694
8694
|
var p = Ci(u, s);
|
|
8695
8695
|
return d === "horizontal" ? {
|
|
@@ -10789,29 +10789,29 @@ const BX = (e) => {
|
|
|
10789
10789
|
)
|
|
10790
10790
|
] });
|
|
10791
10791
|
}, KTe = Ft(
|
|
10792
|
-
|
|
10792
|
+
_r({ name: "AreaChart", type: "info" }, vX)
|
|
10793
10793
|
), GTe = Ft(
|
|
10794
|
-
|
|
10794
|
+
_r({ name: "BarChart", type: "info" }, wX)
|
|
10795
10795
|
), YTe = Ft(
|
|
10796
|
-
|
|
10796
|
+
_r(
|
|
10797
10797
|
{ name: "CategoryBarChart", type: "info" },
|
|
10798
10798
|
kX
|
|
10799
10799
|
)
|
|
10800
10800
|
), XTe = Ft(
|
|
10801
|
-
|
|
10801
|
+
_r({ name: "LineChart", type: "info" }, OX)
|
|
10802
10802
|
), JTe = Ft(
|
|
10803
|
-
|
|
10803
|
+
_r({ name: "PieChart", type: "info" }, DX)
|
|
10804
10804
|
), ZTe = Ft(
|
|
10805
|
-
|
|
10805
|
+
_r(
|
|
10806
10806
|
{ name: "VerticalBarChart", type: "info" },
|
|
10807
10807
|
jX
|
|
10808
10808
|
)
|
|
10809
10809
|
), QTe = Ft(
|
|
10810
|
-
|
|
10810
|
+
_r({ name: "ProgressBarChart", type: "info" }, PX)
|
|
10811
10811
|
), eOe = Ft(
|
|
10812
|
-
|
|
10812
|
+
_r({ name: "ComboChart", type: "info" }, AX)
|
|
10813
10813
|
), tOe = Ft(
|
|
10814
|
-
|
|
10814
|
+
_r({ name: "RadarChart", type: "info" }, FX)
|
|
10815
10815
|
), VX = {
|
|
10816
10816
|
duration: 0.5,
|
|
10817
10817
|
ease: [0, 0, 0.2, 1],
|
|
@@ -11047,7 +11047,7 @@ const GX = (e) => Array.isArray(e) ? e.every((t) => KX(t)) ? e : [
|
|
|
11047
11047
|
size: "lg"
|
|
11048
11048
|
}
|
|
11049
11049
|
) }) : /* @__PURE__ */ m(
|
|
11050
|
-
|
|
11050
|
+
mr,
|
|
11051
11051
|
{
|
|
11052
11052
|
items: w,
|
|
11053
11053
|
onClick: (E) => {
|
|
@@ -11091,7 +11091,7 @@ const GX = (e) => Array.isArray(e) ? e.every((t) => KX(t)) ? e : [
|
|
|
11091
11091
|
loading: k.loading ?? o === "loading"
|
|
11092
11092
|
}
|
|
11093
11093
|
) }) : /* @__PURE__ */ m(
|
|
11094
|
-
|
|
11094
|
+
mr,
|
|
11095
11095
|
{
|
|
11096
11096
|
items: w,
|
|
11097
11097
|
onClick: (E) => {
|
|
@@ -12552,7 +12552,7 @@ const hOe = {
|
|
|
12552
12552
|
return /* @__PURE__ */ m(
|
|
12553
12553
|
De,
|
|
12554
12554
|
{
|
|
12555
|
-
icon:
|
|
12555
|
+
icon: br,
|
|
12556
12556
|
label: t.close,
|
|
12557
12557
|
hideLabel: !0,
|
|
12558
12558
|
variant: "outline",
|
|
@@ -12718,7 +12718,7 @@ const hOe = {
|
|
|
12718
12718
|
return null;
|
|
12719
12719
|
const c = e.type === "critical" ? "critical" : "default";
|
|
12720
12720
|
return t.length > 1 ? /* @__PURE__ */ m(
|
|
12721
|
-
|
|
12721
|
+
mr,
|
|
12722
12722
|
{
|
|
12723
12723
|
loading: i,
|
|
12724
12724
|
items: t.map((d) => ({
|
|
@@ -12844,7 +12844,7 @@ const hOe = {
|
|
|
12844
12844
|
Vt,
|
|
12845
12845
|
{
|
|
12846
12846
|
variant: "outline",
|
|
12847
|
-
icon:
|
|
12847
|
+
icon: br,
|
|
12848
12848
|
disabled: a,
|
|
12849
12849
|
onClick: c,
|
|
12850
12850
|
label: l.actions.close,
|
|
@@ -13384,7 +13384,7 @@ const OJ = () => zO("(max-width: 560px)", {
|
|
|
13384
13384
|
);
|
|
13385
13385
|
o9.displayName = "F0DurationInput";
|
|
13386
13386
|
const $J = Ft(
|
|
13387
|
-
|
|
13387
|
+
_r(
|
|
13388
13388
|
{
|
|
13389
13389
|
name: "F0DurationInput",
|
|
13390
13390
|
type: "form"
|
|
@@ -13519,7 +13519,7 @@ const mOe = m1, a9 = Qe(
|
|
|
13519
13519
|
}
|
|
13520
13520
|
);
|
|
13521
13521
|
a9.displayName = "Textarea";
|
|
13522
|
-
const A2 =
|
|
13522
|
+
const A2 = _r(
|
|
13523
13523
|
{
|
|
13524
13524
|
name: "F0TextAreaInput",
|
|
13525
13525
|
type: "form"
|
|
@@ -13687,7 +13687,7 @@ const og = {
|
|
|
13687
13687
|
BLUR: "blur",
|
|
13688
13688
|
FOCUS_OUT: "focusout",
|
|
13689
13689
|
CHANGE: "change"
|
|
13690
|
-
},
|
|
13690
|
+
}, Dr = {
|
|
13691
13691
|
onBlur: "onBlur",
|
|
13692
13692
|
onChange: "onChange",
|
|
13693
13693
|
onSubmit: "onSubmit",
|
|
@@ -13713,14 +13713,14 @@ var m9 = (e, t, n, i = !0) => {
|
|
|
13713
13713
|
Object.defineProperty(r, o, {
|
|
13714
13714
|
get: () => {
|
|
13715
13715
|
const s = o;
|
|
13716
|
-
return t._proxyFormState[s] !==
|
|
13716
|
+
return t._proxyFormState[s] !== Dr.all && (t._proxyFormState[s] = !i || Dr.all), n && (n[s] = !0), e[s];
|
|
13717
13717
|
}
|
|
13718
13718
|
});
|
|
13719
13719
|
return r;
|
|
13720
13720
|
}, xi = (e) => wn(e) && !Object.keys(e).length, g9 = (e, t, n, i) => {
|
|
13721
13721
|
n(e);
|
|
13722
13722
|
const { name: r, ...o } = e;
|
|
13723
|
-
return xi(o) || Object.keys(o).length >= Object.keys(t).length || Object.keys(o).find((s) => t[s] === (!i ||
|
|
13723
|
+
return xi(o) || Object.keys(o).length >= Object.keys(t).length || Object.keys(o).find((s) => t[s] === (!i || Dr.all));
|
|
13724
13724
|
}, vf = (e) => Array.isArray(e) ? e : [e], y9 = (e, t, n) => !e || !t || e === t || vf(e).some((i) => i && (n ? i === t : i.startsWith(t) || t.startsWith(i)));
|
|
13725
13725
|
function I2(e) {
|
|
13726
13726
|
const t = oe.useRef(e);
|
|
@@ -13870,11 +13870,11 @@ var b9 = (e, t, n, i, r) => t ? {
|
|
|
13870
13870
|
[i]: r || !0
|
|
13871
13871
|
}
|
|
13872
13872
|
} : {}, nC = (e) => ({
|
|
13873
|
-
isOnSubmit: !e || e ===
|
|
13874
|
-
isOnBlur: e ===
|
|
13875
|
-
isOnChange: e ===
|
|
13876
|
-
isOnAll: e ===
|
|
13877
|
-
isOnTouch: e ===
|
|
13873
|
+
isOnSubmit: !e || e === Dr.onSubmit,
|
|
13874
|
+
isOnBlur: e === Dr.onBlur,
|
|
13875
|
+
isOnChange: e === Dr.onChange,
|
|
13876
|
+
isOnAll: e === Dr.all,
|
|
13877
|
+
isOnTouch: e === Dr.onTouched
|
|
13878
13878
|
}), iC = (e, t, n) => !n && (t.watchAll || t.watch.has(e) || [...t.watch].some((i) => e.startsWith(i) && /^\.\w+/.test(e.slice(i.length))));
|
|
13879
13879
|
const bf = (e, t, n, i) => {
|
|
13880
13880
|
for (const r of n || Object.keys(e)) {
|
|
@@ -14141,8 +14141,8 @@ function dC(e, t, n) {
|
|
|
14141
14141
|
}
|
|
14142
14142
|
var iZ = (e, t, n, i, r) => r.isOnAll ? !1 : !n && r.isOnTouch ? !(t || e) : (n ? i.isOnBlur : r.isOnBlur) ? !e : (n ? i.isOnChange : r.isOnChange) ? e : !0, rZ = (e, t) => !g1(Le(e, t)).length && Nn(e, t);
|
|
14143
14143
|
const oZ = {
|
|
14144
|
-
mode:
|
|
14145
|
-
reValidateMode:
|
|
14144
|
+
mode: Dr.onSubmit,
|
|
14145
|
+
reValidateMode: Dr.onChange,
|
|
14146
14146
|
shouldFocusError: !0
|
|
14147
14147
|
};
|
|
14148
14148
|
function sZ(e = {}) {
|
|
@@ -14186,7 +14186,7 @@ function sZ(e = {}) {
|
|
|
14186
14186
|
values: Zv(),
|
|
14187
14187
|
array: Zv(),
|
|
14188
14188
|
state: Zv()
|
|
14189
|
-
}, u = nC(t.mode), h = nC(t.reValidateMode), p = t.criteriaMode ===
|
|
14189
|
+
}, u = nC(t.mode), h = nC(t.reValidateMode), p = t.criteriaMode === Dr.all, y = (q) => (ee) => {
|
|
14190
14190
|
clearTimeout(c), c = setTimeout(q, ee);
|
|
14191
14191
|
}, g = async (q) => {
|
|
14192
14192
|
if (!t.disabled && (d.isValid || q)) {
|
|
@@ -18179,7 +18179,7 @@ function IC(e, t) {
|
|
|
18179
18179
|
for (var n = 0, i = Array(t); n < t; n++) i[n] = e[n];
|
|
18180
18180
|
return i;
|
|
18181
18181
|
}
|
|
18182
|
-
var
|
|
18182
|
+
var Tr = "x", s0 = new RegExp(Tr);
|
|
18183
18183
|
function nm(e, t) {
|
|
18184
18184
|
if (t < 1)
|
|
18185
18185
|
return "";
|
|
@@ -18678,7 +18678,7 @@ var vw = "9", dee = 15, fee = nm(vw, dee), uee = /[- ]/, hee = function() {
|
|
|
18678
18678
|
}
|
|
18679
18679
|
});
|
|
18680
18680
|
if (l)
|
|
18681
|
-
return this.resetFormat(), this.chosenFormat = a, this.setNationalNumberTemplate(l.replace(/\d/g,
|
|
18681
|
+
return this.resetFormat(), this.chosenFormat = a, this.setNationalNumberTemplate(l.replace(/\d/g, Tr), i), this.populatedNationalNumberTemplate = l, this.populatedNationalNumberTemplatePosition = this.template.lastIndexOf(Tr), l;
|
|
18682
18682
|
}
|
|
18683
18683
|
return this.formatNationalNumberWithNextDigits(n, i);
|
|
18684
18684
|
}
|
|
@@ -18766,14 +18766,14 @@ var vw = "9", dee = 15, fee = nm(vw, dee), uee = /[- ]/, hee = function() {
|
|
|
18766
18766
|
for (var i = -1, r = 0, o = n.international ? this.getInternationalPrefixBeforeCountryCallingCode(n, {
|
|
18767
18767
|
spacing: !1
|
|
18768
18768
|
}) : ""; r < o.length + n.getDigitsWithoutInternationalPrefix().length; )
|
|
18769
|
-
i = this.template.indexOf(
|
|
18769
|
+
i = this.template.indexOf(Tr, i + 1), r++;
|
|
18770
18770
|
return DC(this.template, i + 1);
|
|
18771
18771
|
}
|
|
18772
18772
|
}
|
|
18773
18773
|
}, {
|
|
18774
18774
|
key: "setNationalNumberTemplate",
|
|
18775
18775
|
value: function(n, i) {
|
|
18776
|
-
this.nationalNumberTemplate = n, this.populatedNationalNumberTemplate = n, this.populatedNationalNumberTemplatePosition = -1, i.international ? this.template = this.getInternationalPrefixBeforeCountryCallingCode(i).replace(/[\d\+]/g,
|
|
18776
|
+
this.nationalNumberTemplate = n, this.populatedNationalNumberTemplate = n, this.populatedNationalNumberTemplatePosition = -1, i.international ? this.template = this.getInternationalPrefixBeforeCountryCallingCode(i).replace(/[\d\+]/g, Tr) + nm(Tr, i.callingCode.length) + " " + n : this.template = n;
|
|
18777
18777
|
}
|
|
18778
18778
|
/**
|
|
18779
18779
|
* Generates formatting template for a national phone number,
|
|
@@ -18799,10 +18799,10 @@ var vw = "9", dee = 15, fee = nm(vw, dee), uee = /[- ]/, hee = function() {
|
|
|
18799
18799
|
var p = u.replace(qj, n.nationalPrefixFormattingRule());
|
|
18800
18800
|
if (Lm(n.nationalPrefixFormattingRule()) === (s || "") + Lm("$1") && (u = p, h = !0, s))
|
|
18801
18801
|
for (var y = s.length; y > 0; )
|
|
18802
|
-
u = u.replace(/\d/,
|
|
18802
|
+
u = u.replace(/\d/, Tr), y--;
|
|
18803
18803
|
}
|
|
18804
|
-
var g = c.replace(new RegExp(l), u).replace(new RegExp(vw, "g"),
|
|
18805
|
-
return h || (a ? g = nm(
|
|
18804
|
+
var g = c.replace(new RegExp(l), u).replace(new RegExp(vw, "g"), Tr);
|
|
18805
|
+
return h || (a ? g = nm(Tr, a.length) + " " + g : s && (g = nm(Tr, s.length) + this.getSeparatorAfterNationalPrefix(n) + g)), o && (g = Kj(g)), g;
|
|
18806
18806
|
}
|
|
18807
18807
|
}
|
|
18808
18808
|
}, {
|
|
@@ -19307,7 +19307,7 @@ var _d = /* @__PURE__ */ (function() {
|
|
|
19307
19307
|
value: function() {
|
|
19308
19308
|
var n = this.getNonFormattedNumber();
|
|
19309
19309
|
if (n)
|
|
19310
|
-
return n.replace(/[\+\d]/g,
|
|
19310
|
+
return n.replace(/[\+\d]/g, Tr);
|
|
19311
19311
|
}
|
|
19312
19312
|
}, {
|
|
19313
19313
|
key: "isCountryCallingCodeAmbiguous",
|
|
@@ -19554,7 +19554,7 @@ function Xee(e, t) {
|
|
|
19554
19554
|
}
|
|
19555
19555
|
return o;
|
|
19556
19556
|
}
|
|
19557
|
-
const W2 = "gap-4", bw = "mt-6",
|
|
19557
|
+
const W2 = "gap-4", bw = "mt-6", Sr = "md", Jee = "--f0-form-sections-rail-top", Zee = "top-[var(--f0-form-sections-rail-top,0px)]", jC = "--f0-form-sections-rail-max-h", Qee = "max-h-[var(--f0-form-sections-rail-max-h,calc(100vh_-_var(--f0-form-sections-rail-top,0px)_-_1rem))]", dM = "scroll-mt-[calc(1rem_+_var(--f0-form-sections-rail-top,0px))]", x1 = zt(null);
|
|
19558
19558
|
function U2() {
|
|
19559
19559
|
const e = ht(x1);
|
|
19560
19560
|
if (!e)
|
|
@@ -19564,7 +19564,7 @@ function U2() {
|
|
|
19564
19564
|
function k1() {
|
|
19565
19565
|
return ht(x1);
|
|
19566
19566
|
}
|
|
19567
|
-
function
|
|
19567
|
+
function Br(e, t, n) {
|
|
19568
19568
|
const i = ["forms", e];
|
|
19569
19569
|
return t && i.push(t), n && i.push(n), i.join(".");
|
|
19570
19570
|
}
|
|
@@ -19695,7 +19695,7 @@ function uM({
|
|
|
19695
19695
|
clearable: e.clearable,
|
|
19696
19696
|
value: a,
|
|
19697
19697
|
onChange: l,
|
|
19698
|
-
size:
|
|
19698
|
+
size: Sr,
|
|
19699
19699
|
hideLabel: !0,
|
|
19700
19700
|
error: n,
|
|
19701
19701
|
status: r,
|
|
@@ -19822,7 +19822,7 @@ function fte({
|
|
|
19822
19822
|
value: o,
|
|
19823
19823
|
onChange: s,
|
|
19824
19824
|
onBlur: t.onBlur,
|
|
19825
|
-
size:
|
|
19825
|
+
size: Sr,
|
|
19826
19826
|
hideLabel: !0,
|
|
19827
19827
|
error: n,
|
|
19828
19828
|
status: r,
|
|
@@ -19911,7 +19911,7 @@ function ute({
|
|
|
19911
19911
|
onMouseUp: v,
|
|
19912
19912
|
onBlur: w,
|
|
19913
19913
|
placeholder: o === "12h" ? "hh:mm AM" : "HH:mm",
|
|
19914
|
-
size:
|
|
19914
|
+
size: Sr,
|
|
19915
19915
|
hideLabel: !0,
|
|
19916
19916
|
error: c || n,
|
|
19917
19917
|
"aria-invalid": c || n === !0 ? !0 : void 0,
|
|
@@ -20066,7 +20066,7 @@ function gte({
|
|
|
20066
20066
|
value: o,
|
|
20067
20067
|
onChange: s,
|
|
20068
20068
|
onOpenChange: a,
|
|
20069
|
-
size:
|
|
20069
|
+
size: Sr,
|
|
20070
20070
|
hideLabel: !0,
|
|
20071
20071
|
error: n,
|
|
20072
20072
|
status: r,
|
|
@@ -20277,7 +20277,7 @@ const S1 = 32, dg = 24, im = 18, xte = "1px", Ds = 8, kte = 32, xw = 4, kw = 40,
|
|
|
20277
20277
|
disabled: u.actions[0].disabled
|
|
20278
20278
|
}
|
|
20279
20279
|
) : u.actions.some((g) => g.description !== void 0) ? /* @__PURE__ */ m(
|
|
20280
|
-
|
|
20280
|
+
mr,
|
|
20281
20281
|
{
|
|
20282
20282
|
mode: "dropdown",
|
|
20283
20283
|
variant: "outline",
|
|
@@ -20296,7 +20296,7 @@ const S1 = 32, dg = 24, im = 18, xte = "1px", Ds = 8, kte = 32, xw = 4, kw = 40,
|
|
|
20296
20296
|
}
|
|
20297
20297
|
}
|
|
20298
20298
|
) : /* @__PURE__ */ m(
|
|
20299
|
-
|
|
20299
|
+
mr,
|
|
20300
20300
|
{
|
|
20301
20301
|
variant: "outline",
|
|
20302
20302
|
size: "sm",
|
|
@@ -22194,7 +22194,7 @@ const vne = ii(
|
|
|
22194
22194
|
Vt,
|
|
22195
22195
|
{
|
|
22196
22196
|
variant: "outline",
|
|
22197
|
-
icon:
|
|
22197
|
+
icon: br,
|
|
22198
22198
|
disabled: e,
|
|
22199
22199
|
onClick: n,
|
|
22200
22200
|
label: t.actions.close,
|
|
@@ -23090,14 +23090,19 @@ const Yne = ({
|
|
|
23090
23090
|
primaryActionsMenuVariant: o
|
|
23091
23091
|
}) => {
|
|
23092
23092
|
const s = (Array.isArray(e) ? e : [e]).filter((u) => u !== void 0), a = n || [], l = Y(
|
|
23093
|
-
() => (i || []).map(
|
|
23093
|
+
() => (i || []).map(
|
|
23094
|
+
(u) => u.items.flatMap(({ splitActions: h = [], ...p }) => [
|
|
23095
|
+
p,
|
|
23096
|
+
...h
|
|
23097
|
+
])
|
|
23098
|
+
).reduce((u, h) => (u.length > 0 && u.push({ type: "separator" }), u.push(...h), u), []),
|
|
23094
23099
|
[i]
|
|
23095
23100
|
), [c, d] = J(!1), f = s.some(
|
|
23096
23101
|
(u) => u.description !== void 0
|
|
23097
23102
|
);
|
|
23098
23103
|
return s.length === 0 && a.length === 0 && l.length === 0 && !r ? null : /* @__PURE__ */ R("div", { className: "flex flex-row-reverse items-center gap-2", children: [
|
|
23099
23104
|
f ? /* @__PURE__ */ m(
|
|
23100
|
-
|
|
23105
|
+
mr,
|
|
23101
23106
|
{
|
|
23102
23107
|
mode: "dropdown",
|
|
23103
23108
|
size: "md",
|
|
@@ -23132,7 +23137,7 @@ const Yne = ({
|
|
|
23132
23137
|
);
|
|
23133
23138
|
return h ? /* @__PURE__ */ m(xc, { description: h, children: p }) : p;
|
|
23134
23139
|
})() : s.length > 1 && /* @__PURE__ */ m(
|
|
23135
|
-
|
|
23140
|
+
mr,
|
|
23136
23141
|
{
|
|
23137
23142
|
size: "md",
|
|
23138
23143
|
items: s.map((u, h) => ({
|
|
@@ -23149,7 +23154,33 @@ const Yne = ({
|
|
|
23149
23154
|
const h = u.tooltip?.({
|
|
23150
23155
|
disabled: !!u.disabled,
|
|
23151
23156
|
loading: !!u.loading
|
|
23152
|
-
})
|
|
23157
|
+
});
|
|
23158
|
+
if (u.splitActions?.length) {
|
|
23159
|
+
const y = [u, ...u.splitActions];
|
|
23160
|
+
return /* @__PURE__ */ m(
|
|
23161
|
+
mr,
|
|
23162
|
+
{
|
|
23163
|
+
size: "md",
|
|
23164
|
+
variant: "outline",
|
|
23165
|
+
items: y.map((g, v) => ({
|
|
23166
|
+
label: g.label,
|
|
23167
|
+
icon: g.icon,
|
|
23168
|
+
description: g.description,
|
|
23169
|
+
critical: g.critical,
|
|
23170
|
+
disabled: g.disabled,
|
|
23171
|
+
value: v.toString()
|
|
23172
|
+
})),
|
|
23173
|
+
onClick: (g) => {
|
|
23174
|
+
y[Number(g)]?.onClick?.();
|
|
23175
|
+
},
|
|
23176
|
+
disabled: u.disabled,
|
|
23177
|
+
loading: u.loading,
|
|
23178
|
+
tooltip: h
|
|
23179
|
+
},
|
|
23180
|
+
u.label
|
|
23181
|
+
);
|
|
23182
|
+
}
|
|
23183
|
+
const p = /* @__PURE__ */ m(
|
|
23153
23184
|
De,
|
|
23154
23185
|
{
|
|
23155
23186
|
size: "md",
|
|
@@ -26958,7 +26989,7 @@ const qie = 220, Kie = (e, t, n, i = !0) => {
|
|
|
26958
26989
|
) : xe.some(
|
|
26959
26990
|
(je) => je.description !== void 0
|
|
26960
26991
|
) ? /* @__PURE__ */ m(
|
|
26961
|
-
|
|
26992
|
+
mr,
|
|
26962
26993
|
{
|
|
26963
26994
|
mode: "dropdown",
|
|
26964
26995
|
variant: "outline",
|
|
@@ -26977,7 +27008,7 @@ const qie = 220, Kie = (e, t, n, i = !0) => {
|
|
|
26977
27008
|
}
|
|
26978
27009
|
}
|
|
26979
27010
|
) : /* @__PURE__ */ m(
|
|
26980
|
-
|
|
27011
|
+
mr,
|
|
26981
27012
|
{
|
|
26982
27013
|
variant: "outline",
|
|
26983
27014
|
size: "sm",
|
|
@@ -27704,7 +27735,7 @@ function Boe(e) {
|
|
|
27704
27735
|
for (; t = e.sourceEvent; ) e = t;
|
|
27705
27736
|
return e;
|
|
27706
27737
|
}
|
|
27707
|
-
function
|
|
27738
|
+
function Ir(e, t) {
|
|
27708
27739
|
if (e = Boe(e), t === void 0 && (t = e.currentTarget), t) {
|
|
27709
27740
|
var n = t.ownerSVGElement || t;
|
|
27710
27741
|
if (n.createSVGPoint) {
|
|
@@ -27819,7 +27850,7 @@ function OP() {
|
|
|
27819
27850
|
(C = r[k[S].identifier]) && (b0(w), C("end", w, k[S]));
|
|
27820
27851
|
}
|
|
27821
27852
|
function x(w, k, _, S, C, E) {
|
|
27822
|
-
var A = o.copy(), T =
|
|
27853
|
+
var A = o.copy(), T = Ir(E || _, k), I, D, N;
|
|
27823
27854
|
if ((N = n.call(w, new Pw("beforestart", {
|
|
27824
27855
|
sourceEvent: _,
|
|
27825
27856
|
target: u,
|
|
@@ -27841,7 +27872,7 @@ function OP() {
|
|
|
27841
27872
|
delete r[C], --s;
|
|
27842
27873
|
// falls through
|
|
27843
27874
|
case "drag":
|
|
27844
|
-
T =
|
|
27875
|
+
T = Ir(L || P, k), H = s;
|
|
27845
27876
|
break;
|
|
27846
27877
|
}
|
|
27847
27878
|
A.call(
|
|
@@ -28646,7 +28677,7 @@ function BP() {
|
|
|
28646
28677
|
};
|
|
28647
28678
|
function C(N, ...M) {
|
|
28648
28679
|
if (!e.apply(this, arguments)) return;
|
|
28649
|
-
var O = _(this, M).event(N), P = this.__zoom, L = Math.max(o[0], Math.min(o[1], P.k * Math.pow(2, i.apply(this, arguments)))), B =
|
|
28680
|
+
var O = _(this, M).event(N), P = this.__zoom, L = Math.max(o[0], Math.min(o[1], P.k * Math.pow(2, i.apply(this, arguments)))), B = Ir(N);
|
|
28650
28681
|
if (O.wheel)
|
|
28651
28682
|
(O.mouse[0][0] !== B[0] || O.mouse[0][1] !== B[1]) && (O.mouse[1] = P.invert(O.mouse[0] = B)), clearTimeout(O.wheel);
|
|
28652
28683
|
else {
|
|
@@ -28660,14 +28691,14 @@ function BP() {
|
|
|
28660
28691
|
}
|
|
28661
28692
|
function E(N, ...M) {
|
|
28662
28693
|
if (u || !e.apply(this, arguments)) return;
|
|
28663
|
-
var O = N.currentTarget, P = _(this, M, !0).event(N), L = Hi(N.view).on("mousemove.zoom", V, !0).on("mouseup.zoom", X, !0), B =
|
|
28694
|
+
var O = N.currentTarget, P = _(this, M, !0).event(N), L = Hi(N.view).on("mousemove.zoom", V, !0).on("mouseup.zoom", X, !0), B = Ir(N, O), H = N.clientX, $ = N.clientY;
|
|
28664
28695
|
AP(N.view), w0(N), P.mouse = [B, this.__zoom.invert(B)], dm(this), P.start();
|
|
28665
28696
|
function V(Q) {
|
|
28666
28697
|
if (qd(Q), !P.moved) {
|
|
28667
28698
|
var z = Q.clientX - H, G = Q.clientY - $;
|
|
28668
28699
|
P.moved = z * z + G * G > y;
|
|
28669
28700
|
}
|
|
28670
|
-
P.event(Q).zoom("mouse", n(x(P.that.__zoom, P.mouse[0] =
|
|
28701
|
+
P.event(Q).zoom("mouse", n(x(P.that.__zoom, P.mouse[0] = Ir(Q, O), P.mouse[1]), P.extent, s));
|
|
28671
28702
|
}
|
|
28672
28703
|
function X(Q) {
|
|
28673
28704
|
L.on("mousemove.zoom mouseup.zoom", null), TP(Q.view, P.moved), qd(Q), P.event(Q).end();
|
|
@@ -28675,7 +28706,7 @@ function BP() {
|
|
|
28675
28706
|
}
|
|
28676
28707
|
function A(N, ...M) {
|
|
28677
28708
|
if (e.apply(this, arguments)) {
|
|
28678
|
-
var O = this.__zoom, P =
|
|
28709
|
+
var O = this.__zoom, P = Ir(N.changedTouches ? N.changedTouches[0] : N, this), L = O.invert(P), B = O.k * (N.shiftKey ? 0.5 : 2), H = n(x(b(O, B), P, L), t.apply(this, M), s);
|
|
28679
28710
|
qd(N), a > 0 ? Hi(this).transition().duration(a).call(k, H, P, N) : Hi(this).call(v.transform, H, P, N);
|
|
28680
28711
|
}
|
|
28681
28712
|
}
|
|
@@ -28683,7 +28714,7 @@ function BP() {
|
|
|
28683
28714
|
if (e.apply(this, arguments)) {
|
|
28684
28715
|
var O = N.touches, P = O.length, L = _(this, M, N.changedTouches.length === P).event(N), B, H, $, V;
|
|
28685
28716
|
for (w0(N), H = 0; H < P; ++H)
|
|
28686
|
-
$ = O[H], V =
|
|
28717
|
+
$ = O[H], V = Ir($, this), V = [V, this.__zoom.invert(V), $.identifier], L.touch0 ? !L.touch1 && L.touch0[2] !== V[2] && (L.touch1 = V, L.taps = 0) : (L.touch0 = V, B = !0, L.taps = 1 + !!d);
|
|
28687
28718
|
d && (d = clearTimeout(d)), B && (L.taps < 2 && (f = V[0], d = setTimeout(function() {
|
|
28688
28719
|
d = null;
|
|
28689
28720
|
}, h)), dm(this), L.start());
|
|
@@ -28693,7 +28724,7 @@ function BP() {
|
|
|
28693
28724
|
if (this.__zooming) {
|
|
28694
28725
|
var O = _(this, M).event(N), P = N.changedTouches, L = P.length, B, H, $, V;
|
|
28695
28726
|
for (qd(N), B = 0; B < L; ++B)
|
|
28696
|
-
H = P[B], $ =
|
|
28727
|
+
H = P[B], $ = Ir(H, this), O.touch0 && O.touch0[2] === H.identifier ? O.touch0[0] = $ : O.touch1 && O.touch1[2] === H.identifier && (O.touch1[0] = $);
|
|
28697
28728
|
if (H = O.that.__zoom, O.touch1) {
|
|
28698
28729
|
var X = O.touch0[0], Q = O.touch0[1], z = O.touch1[0], G = O.touch1[1], W = (W = z[0] - X[0]) * W + (W = z[1] - X[1]) * W, j = (j = G[0] - Q[0]) * j + (j = G[1] - Q[1]) * j;
|
|
28699
28730
|
H = b(H, Math.sqrt(W / j)), $ = [(X[0] + z[0]) / 2, (X[1] + z[1]) / 2], V = [(Q[0] + G[0]) / 2, (Q[1] + G[1]) / 2];
|
|
@@ -28710,7 +28741,7 @@ function BP() {
|
|
|
28710
28741
|
}, h), B = 0; B < L; ++B)
|
|
28711
28742
|
H = P[B], O.touch0 && O.touch0[2] === H.identifier ? delete O.touch0 : O.touch1 && O.touch1[2] === H.identifier && delete O.touch1;
|
|
28712
28743
|
if (O.touch1 && !O.touch0 && (O.touch0 = O.touch1, delete O.touch1), O.touch0) O.touch0[1] = this.__zoom.invert(O.touch0[0]);
|
|
28713
|
-
else if (O.end(), O.taps === 2 && (H =
|
|
28744
|
+
else if (O.end(), O.taps === 2 && (H = Ir(H, this), Math.hypot(f[0] - H[0], f[1] - H[1]) < g)) {
|
|
28714
28745
|
var $ = Hi(this).on("dblclick.zoom");
|
|
28715
28746
|
$ && $.apply(this, arguments);
|
|
28716
28747
|
}
|
|
@@ -28978,7 +29009,7 @@ const S5 = (e, t, n) => e < t ? Fc(Math.abs(e - t), 1, t) / t : e > n ? -Fc(Math
|
|
|
28978
29009
|
}, GP = (e, t) => P1(M1($w(e), $w(t))), gu = (e, t) => {
|
|
28979
29010
|
const n = Math.max(0, Math.min(e.x + e.width, t.x + t.width) - Math.max(e.x, t.x)), i = Math.max(0, Math.min(e.y + e.height, t.y + t.height) - Math.max(e.y, t.y));
|
|
28980
29011
|
return Math.ceil(n * i);
|
|
28981
|
-
}, C5 = (e) =>
|
|
29012
|
+
}, C5 = (e) => Rr(e.width) && Rr(e.height) && Rr(e.x) && Rr(e.y), Rr = (e) => !isNaN(e) && isFinite(e), YP = (e, t) => {
|
|
28982
29013
|
process.env.NODE_ENV === "development" && console.warn(`[React Flow]: ${t} Help: https://reactflow.dev/error#${e}`);
|
|
28983
29014
|
}, Dh = (e, t = [1, 1]) => ({
|
|
28984
29015
|
x: t[0] * Math.round(e.x / t[0]),
|
|
@@ -29086,7 +29117,7 @@ function yae(e) {
|
|
|
29086
29117
|
return { ...jP, ...e || {} };
|
|
29087
29118
|
}
|
|
29088
29119
|
function kf(e, { snapGrid: t = [0, 0], snapToGrid: n = !1, transform: i, containerBounds: r }) {
|
|
29089
|
-
const { x: o, y: s } =
|
|
29120
|
+
const { x: o, y: s } = Lr(e), a = Mh({ x: o - (r?.left ?? 0), y: s - (r?.top ?? 0) }, i), { x: l, y: c } = n ? Dh(a, t) : a;
|
|
29090
29121
|
return {
|
|
29091
29122
|
xSnapped: l,
|
|
29092
29123
|
ySnapped: c,
|
|
@@ -29101,7 +29132,7 @@ function QP(e) {
|
|
|
29101
29132
|
const t = e.composedPath?.()?.[0] || e.target;
|
|
29102
29133
|
return t?.nodeType !== 1 ? !1 : vae.includes(t.nodeName) || t.hasAttribute("contenteditable") || !!t.closest(".nokey");
|
|
29103
29134
|
}
|
|
29104
|
-
const eR = (e) => "clientX" in e,
|
|
29135
|
+
const eR = (e) => "clientX" in e, Lr = (e, t) => {
|
|
29105
29136
|
const n = eR(e), i = n ? e.clientX : e.touches?.[0].clientX, r = n ? e.clientY : e.touches?.[0].clientY;
|
|
29106
29137
|
return {
|
|
29107
29138
|
x: i - (t?.left ?? 0),
|
|
@@ -29495,7 +29526,7 @@ function g3(e, t, n, i, r) {
|
|
|
29495
29526
|
});
|
|
29496
29527
|
}
|
|
29497
29528
|
function rR(e, t, n) {
|
|
29498
|
-
const i =
|
|
29529
|
+
const i = Rr(e.zIndex) ? e.zIndex : 0;
|
|
29499
29530
|
return m3(n) ? i : i + (e.selected ? t : 0);
|
|
29500
29531
|
}
|
|
29501
29532
|
function Rae(e, t, n, i, r, o) {
|
|
@@ -29786,16 +29817,16 @@ function zae({ onNodeMouseDown: e, getStoreItems: t, onDragStart: n, onDrag: i,
|
|
|
29786
29817
|
}
|
|
29787
29818
|
const T = OP().clickDistance(S).on("start", (I) => {
|
|
29788
29819
|
const { domNode: D, nodeDragThreshold: N, transform: M, snapGrid: O, snapToGrid: P } = t();
|
|
29789
|
-
d = D?.getBoundingClientRect() || null, h = !1, p = !1, y = I.sourceEvent, N === 0 && A(I), o = kf(I.sourceEvent, { transform: M, snapGrid: O, snapToGrid: P, containerBounds: d }), c =
|
|
29820
|
+
d = D?.getBoundingClientRect() || null, h = !1, p = !1, y = I.sourceEvent, N === 0 && A(I), o = kf(I.sourceEvent, { transform: M, snapGrid: O, snapToGrid: P, containerBounds: d }), c = Lr(I.sourceEvent, d);
|
|
29790
29821
|
}).on("drag", (I) => {
|
|
29791
29822
|
const { autoPanOnNodeDrag: D, transform: N, snapGrid: M, snapToGrid: O, nodeDragThreshold: P, nodeLookup: L } = t(), B = kf(I.sourceEvent, { transform: N, snapGrid: M, snapToGrid: O, containerBounds: d });
|
|
29792
29823
|
if (y = I.sourceEvent, (I.sourceEvent.type === "touchmove" && I.sourceEvent.touches.length > 1 || // if user deletes a node while dragging, we need to abort the drag to prevent errors
|
|
29793
29824
|
_ && !L.has(_)) && (h = !0), !h) {
|
|
29794
29825
|
if (!l && D && f && (l = !0, E()), !f) {
|
|
29795
|
-
const H =
|
|
29826
|
+
const H = Lr(I.sourceEvent, d), $ = H.x - c.x, V = H.y - c.y;
|
|
29796
29827
|
Math.sqrt($ * $ + V * V) > P && A(I);
|
|
29797
29828
|
}
|
|
29798
|
-
(o.x !== B.xSnapped || o.y !== B.ySnapped) && a && f && (c =
|
|
29829
|
+
(o.x !== B.xSnapped || o.y !== B.ySnapped) && a && f && (c = Lr(I.sourceEvent, d), C(B));
|
|
29799
29830
|
}
|
|
29800
29831
|
}).on("end", (I) => {
|
|
29801
29832
|
if (!(!f || h) && (l = !1, f = !1, cancelAnimationFrame(s), a.size > 0)) {
|
|
@@ -29874,14 +29905,14 @@ const cR = () => !0;
|
|
|
29874
29905
|
function Uae(e, { connectionMode: t, connectionRadius: n, handleId: i, nodeId: r, edgeUpdaterType: o, isTarget: s, domNode: a, nodeLookup: l, lib: c, autoPanOnConnect: d, flowId: f, panBy: u, cancelConnection: h, onConnectStart: p, onConnect: y, onConnectEnd: g, isValidConnection: v = cR, onReconnectEnd: b, updateConnection: x, getTransform: w, getFromHandle: k, autoPanSpeed: _, dragThreshold: S = 1, handleDomNode: C }) {
|
|
29875
29906
|
const E = ZP(e.target);
|
|
29876
29907
|
let A = 0, T;
|
|
29877
|
-
const { x: I, y: D } =
|
|
29908
|
+
const { x: I, y: D } = Lr(e), N = lR(o, C), M = a?.getBoundingClientRect();
|
|
29878
29909
|
let O = !1;
|
|
29879
29910
|
if (!M || !N)
|
|
29880
29911
|
return;
|
|
29881
29912
|
const P = aR(r, N, i, l, t);
|
|
29882
29913
|
if (!P)
|
|
29883
29914
|
return;
|
|
29884
|
-
let L =
|
|
29915
|
+
let L = Lr(e, M), B = !1, H = null, $ = !1, V = null;
|
|
29885
29916
|
function X() {
|
|
29886
29917
|
if (!d || !M)
|
|
29887
29918
|
return;
|
|
@@ -29913,7 +29944,7 @@ function Uae(e, { connectionMode: t, connectionRadius: n, handleId: i, nodeId: r
|
|
|
29913
29944
|
S === 0 && j();
|
|
29914
29945
|
function ne(Z) {
|
|
29915
29946
|
if (!O) {
|
|
29916
|
-
const { x: Se, y: q } =
|
|
29947
|
+
const { x: Se, y: q } = Lr(Z), ee = Se - I, re = q - D;
|
|
29917
29948
|
if (!(ee * ee + re * re > S * S))
|
|
29918
29949
|
return;
|
|
29919
29950
|
j();
|
|
@@ -29923,7 +29954,7 @@ function Uae(e, { connectionMode: t, connectionRadius: n, handleId: i, nodeId: r
|
|
|
29923
29954
|
return;
|
|
29924
29955
|
}
|
|
29925
29956
|
const te = w();
|
|
29926
|
-
L =
|
|
29957
|
+
L = Lr(Z, M), T = Vae(Mh(L, te, !1, [1, 1]), n, l, Q), B || (X(), B = !0);
|
|
29927
29958
|
const ue = dR(Z, {
|
|
29928
29959
|
handle: T,
|
|
29929
29960
|
connectionMode: t,
|
|
@@ -29965,7 +29996,7 @@ function Uae(e, { connectionMode: t, connectionRadius: n, handleId: i, nodeId: r
|
|
|
29965
29996
|
E.addEventListener("mousemove", ne), E.addEventListener("mouseup", le), E.addEventListener("touchmove", ne), E.addEventListener("touchend", le);
|
|
29966
29997
|
}
|
|
29967
29998
|
function dR(e, { handle: t, connectionMode: n, fromNodeId: i, fromHandleId: r, fromType: o, doc: s, lib: a, flowId: l, isValidConnection: c = cR, nodeLookup: d }) {
|
|
29968
|
-
const f = o === "target", u = t ? s.querySelector(`.${a}-flow__handle[data-id="${l}-${t?.nodeId}-${t?.id}-${t?.type}"]`) : null, { x: h, y: p } =
|
|
29999
|
+
const f = o === "target", u = t ? s.querySelector(`.${a}-flow__handle[data-id="${l}-${t?.nodeId}-${t?.id}-${t?.type}"]`) : null, { x: h, y: p } = Lr(e), y = s.elementFromPoint(h, p), g = y?.classList.contains(`${a}-flow__handle`) ? y : u, v = {
|
|
29969
30000
|
handleDomNode: g,
|
|
29970
30001
|
isValid: !1,
|
|
29971
30002
|
connection: null,
|
|
@@ -30036,7 +30067,7 @@ function qae({ domNode: e, panZoom: t, getTransform: n, getViewScale: i }) {
|
|
|
30036
30067
|
return {
|
|
30037
30068
|
update: o,
|
|
30038
30069
|
destroy: s,
|
|
30039
|
-
pointer:
|
|
30070
|
+
pointer: Ir
|
|
30040
30071
|
};
|
|
30041
30072
|
}
|
|
30042
30073
|
const F1 = (e) => ({
|
|
@@ -30058,7 +30089,7 @@ function Gae({ zoomPanValues: e, noWheelClassName: t, d3Selection: n, d3Zoom: i,
|
|
|
30058
30089
|
d.preventDefault(), d.stopImmediatePropagation();
|
|
30059
30090
|
const f = n.property("__zoom").k || 1;
|
|
30060
30091
|
if (d.ctrlKey && s) {
|
|
30061
|
-
const g =
|
|
30092
|
+
const g = Ir(d), v = uR(d), b = f * Math.pow(2, v);
|
|
30062
30093
|
i.scaleTo(n, b, g, d);
|
|
30063
30094
|
return;
|
|
30064
30095
|
}
|
|
@@ -30155,7 +30186,7 @@ function ele({ domNode: e, minZoom: t, maxZoom: n, translateExtent: i, viewport:
|
|
|
30155
30186
|
function g({ noWheelClassName: T, noPanClassName: I, onPaneContextMenu: D, userSelectionActive: N, panOnScroll: M, panOnDrag: O, panOnScrollMode: P, panOnScrollSpeed: L, preventScrolling: B, zoomOnPinch: H, zoomOnScroll: $, zoomOnDoubleClick: V, zoomActivationKeyPressed: X, lib: Q, onTransformChange: z, connectionInProgress: G, paneClickDistance: W, selectionOnDrag: j }) {
|
|
30156
30187
|
N && !c.isZoomingOrPanning && v();
|
|
30157
30188
|
const ne = M && !X && !N;
|
|
30158
|
-
f.clickDistance(j ? 1 / 0 : !
|
|
30189
|
+
f.clickDistance(j ? 1 / 0 : !Rr(W) || W < 0 ? 0 : W);
|
|
30159
30190
|
const le = ne ? Gae({
|
|
30160
30191
|
zoomPanValues: c,
|
|
30161
30192
|
noWheelClassName: T,
|
|
@@ -30250,7 +30281,7 @@ function ele({ domNode: e, minZoom: t, maxZoom: n, translateExtent: i, viewport:
|
|
|
30250
30281
|
f?.translateExtent(T);
|
|
30251
30282
|
}
|
|
30252
30283
|
function A(T) {
|
|
30253
|
-
const I = !
|
|
30284
|
+
const I = !Rr(T) || T < 0 ? 0 : T;
|
|
30254
30285
|
f?.clickDistance(I);
|
|
30255
30286
|
}
|
|
30256
30287
|
return {
|
|
@@ -31362,7 +31393,7 @@ function Qle({ isSelecting: e, selectionKeyPressed: t, selectionMode: n = mu.Ful
|
|
|
31362
31393
|
if (!H && !!L.target.closest(".nokey") || !e || !(o && H || t) || L.button !== 0 || !L.isPrimary)
|
|
31363
31394
|
return;
|
|
31364
31395
|
L.target?.setPointerCapture?.(L.pointerId), E.current = !1;
|
|
31365
|
-
const { x: X, y: Q } =
|
|
31396
|
+
const { x: X, y: Q } = Lr(L.nativeEvent, _.current);
|
|
31366
31397
|
y.setState({
|
|
31367
31398
|
userSelectionRect: {
|
|
31368
31399
|
width: 0,
|
|
@@ -31377,7 +31408,7 @@ function Qle({ isSelecting: e, selectionKeyPressed: t, selectionMode: n = mu.Ful
|
|
|
31377
31408
|
const { userSelectionRect: B, transform: H, nodeLookup: $, edgeLookup: V, connectionLookup: X, triggerNodeChanges: Q, triggerEdgeChanges: z, defaultEdgeOptions: G, resetSelectedElements: W } = y.getState();
|
|
31378
31409
|
if (!_.current || !B)
|
|
31379
31410
|
return;
|
|
31380
|
-
const { x: j, y: ne } =
|
|
31411
|
+
const { x: j, y: ne } = Lr(L.nativeEvent, _.current), { startX: le, startY: Z } = B;
|
|
31381
31412
|
if (!E.current) {
|
|
31382
31413
|
const ye = t ? 0 : r;
|
|
31383
31414
|
if (Math.hypot(j - le, ne - Z) <= ye)
|
|
@@ -31646,8 +31677,8 @@ const dce = (e) => {
|
|
|
31646
31677
|
filter: (o) => !!o.selected
|
|
31647
31678
|
});
|
|
31648
31679
|
return {
|
|
31649
|
-
width:
|
|
31650
|
-
height:
|
|
31680
|
+
width: Rr(t) ? t : null,
|
|
31681
|
+
height: Rr(n) ? n : null,
|
|
31651
31682
|
userSelectionActive: e.userSelectionActive,
|
|
31652
31683
|
transformString: `translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]}) translate(${i}px,${r}px)`
|
|
31653
31684
|
};
|
|
@@ -31920,7 +31951,7 @@ function NR({ x: e, y: t, label: n, labelStyle: i, labelShowBg: r = !0, labelBgS
|
|
|
31920
31951
|
NR.displayName = "EdgeText";
|
|
31921
31952
|
const Tce = Mt(NR);
|
|
31922
31953
|
function Ph({ path: e, labelX: t, labelY: n, label: i, labelStyle: r, labelShowBg: o, labelBgStyle: s, labelBgPadding: a, labelBgBorderRadius: l, interactionWidth: c = 20, ...d }) {
|
|
31923
|
-
return R(We, { children: [m("path", { ...d, d: e, fill: "none", className: xn(["react-flow__edge-path", d.className]) }), c ? m("path", { d: e, fill: "none", strokeOpacity: 0, strokeWidth: c, className: "react-flow__edge-interaction" }) : null, i &&
|
|
31954
|
+
return R(We, { children: [m("path", { ...d, d: e, fill: "none", className: xn(["react-flow__edge-path", d.className]) }), c ? m("path", { d: e, fill: "none", strokeOpacity: 0, strokeWidth: c, className: "react-flow__edge-interaction" }) : null, i && Rr(t) && Rr(n) ? m(Tce, { x: t, y: n, label: i, labelStyle: r, labelShowBg: o, labelBgStyle: s, labelBgPadding: a, labelBgBorderRadius: l }) : null] });
|
|
31924
31955
|
}
|
|
31925
31956
|
function rE({ pos: e, x1: t, y1: n, x2: i, y2: r }) {
|
|
31926
31957
|
return e === $e.Left || e === $e.Right ? [0.5 * (t + i), n] : [t, 0.5 * (n + r)];
|
|
@@ -32582,11 +32613,11 @@ const nde = {
|
|
|
32582
32613
|
position: "relative",
|
|
32583
32614
|
zIndex: 0
|
|
32584
32615
|
};
|
|
32585
|
-
function ide({ nodes: e, edges: t, defaultNodes: n, defaultEdges: i, className: r, nodeTypes: o, edgeTypes: s, onNodeClick: a, onEdgeClick: l, onInit: c, onMove: d, onMoveStart: f, onMoveEnd: u, onConnect: h, onConnectStart: p, onConnectEnd: y, onClickConnectStart: g, onClickConnectEnd: v, onNodeMouseEnter: b, onNodeMouseMove: x, onNodeMouseLeave: w, onNodeContextMenu: k, onNodeDoubleClick: _, onNodeDragStart: S, onNodeDrag: C, onNodeDragStop: E, onNodesDelete: A, onEdgesDelete: T, onDelete: I, onSelectionChange: D, onSelectionDragStart: N, onSelectionDrag: M, onSelectionDragStop: O, onSelectionContextMenu: P, onSelectionStart: L, onSelectionEnd: B, onBeforeDelete: H, connectionMode: $, connectionLineType: V = Ms.Bezier, connectionLineStyle: X, connectionLineComponent: Q, connectionLineContainerStyle: z, deleteKeyCode: G = "Backspace", selectionKeyCode: W = "Shift", selectionOnDrag: j = !1, selectionMode: ne = mu.Full, panActivationKeyCode: le = "Space", multiSelectionKeyCode: Z = yu() ? "Meta" : "Control", zoomActivationKeyCode: te = yu() ? "Meta" : "Control", snapToGrid: ue, snapGrid: me, onlyRenderVisibleElements: ge = !1, selectNodesOnDrag: ye, nodesDraggable: Se, autoPanOnNodeFocus: q, nodesConnectable: ee, nodesFocusable: re, nodeOrigin: fe = vR, edgesFocusable: ae, edgesReconnectable: de, elementsSelectable: he = !0, defaultViewport: ve = Ile, minZoom: Te = 0.5, maxZoom: He = 2, translateExtent: Xe = pu, preventScrolling: pt = !0, nodeExtent: Ge, defaultMarkerColor: ut = "#b1b1b7", zoomOnScroll: ke = !0, zoomOnPinch: at = !0, panOnScroll: pe = !1, panOnScrollSpeed: se = 0.5, panOnScrollMode: ce = ja.Free, zoomOnDoubleClick: be = !0, panOnDrag: we = !0, onPaneClick: Ae, onPaneMouseEnter: Ee, onPaneMouseMove: ze, onPaneMouseLeave: Me, onPaneScroll: Ue, onPaneContextMenu: et, paneClickDistance: dt = 1, nodeClickDistance: ct = 0, children: Je, onReconnect: nt, onReconnectStart: gt, onReconnectEnd: yt, onEdgeContextMenu: sn, onEdgeDoubleClick: Wt, onEdgeMouseEnter: Ut, onEdgeMouseMove: Un, onEdgeMouseLeave: kn, reconnectRadius: dn = 10, onNodesChange: _n, onEdgesChange: Tn, noDragClassName: yi = "nodrag", noWheelClassName: Yi = "nowheel", noPanClassName: Pi = "nopan", fitView: xe, fitViewOptions: je, connectOnClick: Ct, attributionPosition: $t, proOptions: St, defaultEdgeOptions: gn, elevateNodesOnSelect: Sn = !0, elevateEdgesOnSelect: Ri = !1, disableKeyboardA11y:
|
|
32616
|
+
function ide({ nodes: e, edges: t, defaultNodes: n, defaultEdges: i, className: r, nodeTypes: o, edgeTypes: s, onNodeClick: a, onEdgeClick: l, onInit: c, onMove: d, onMoveStart: f, onMoveEnd: u, onConnect: h, onConnectStart: p, onConnectEnd: y, onClickConnectStart: g, onClickConnectEnd: v, onNodeMouseEnter: b, onNodeMouseMove: x, onNodeMouseLeave: w, onNodeContextMenu: k, onNodeDoubleClick: _, onNodeDragStart: S, onNodeDrag: C, onNodeDragStop: E, onNodesDelete: A, onEdgesDelete: T, onDelete: I, onSelectionChange: D, onSelectionDragStart: N, onSelectionDrag: M, onSelectionDragStop: O, onSelectionContextMenu: P, onSelectionStart: L, onSelectionEnd: B, onBeforeDelete: H, connectionMode: $, connectionLineType: V = Ms.Bezier, connectionLineStyle: X, connectionLineComponent: Q, connectionLineContainerStyle: z, deleteKeyCode: G = "Backspace", selectionKeyCode: W = "Shift", selectionOnDrag: j = !1, selectionMode: ne = mu.Full, panActivationKeyCode: le = "Space", multiSelectionKeyCode: Z = yu() ? "Meta" : "Control", zoomActivationKeyCode: te = yu() ? "Meta" : "Control", snapToGrid: ue, snapGrid: me, onlyRenderVisibleElements: ge = !1, selectNodesOnDrag: ye, nodesDraggable: Se, autoPanOnNodeFocus: q, nodesConnectable: ee, nodesFocusable: re, nodeOrigin: fe = vR, edgesFocusable: ae, edgesReconnectable: de, elementsSelectable: he = !0, defaultViewport: ve = Ile, minZoom: Te = 0.5, maxZoom: He = 2, translateExtent: Xe = pu, preventScrolling: pt = !0, nodeExtent: Ge, defaultMarkerColor: ut = "#b1b1b7", zoomOnScroll: ke = !0, zoomOnPinch: at = !0, panOnScroll: pe = !1, panOnScrollSpeed: se = 0.5, panOnScrollMode: ce = ja.Free, zoomOnDoubleClick: be = !0, panOnDrag: we = !0, onPaneClick: Ae, onPaneMouseEnter: Ee, onPaneMouseMove: ze, onPaneMouseLeave: Me, onPaneScroll: Ue, onPaneContextMenu: et, paneClickDistance: dt = 1, nodeClickDistance: ct = 0, children: Je, onReconnect: nt, onReconnectStart: gt, onReconnectEnd: yt, onEdgeContextMenu: sn, onEdgeDoubleClick: Wt, onEdgeMouseEnter: Ut, onEdgeMouseMove: Un, onEdgeMouseLeave: kn, reconnectRadius: dn = 10, onNodesChange: _n, onEdgesChange: Tn, noDragClassName: yi = "nodrag", noWheelClassName: Yi = "nowheel", noPanClassName: Pi = "nopan", fitView: xe, fitViewOptions: je, connectOnClick: Ct, attributionPosition: $t, proOptions: St, defaultEdgeOptions: gn, elevateNodesOnSelect: Sn = !0, elevateEdgesOnSelect: Ri = !1, disableKeyboardA11y: Cr = !1, autoPanOnConnect: hs, autoPanOnNodeDrag: bo, autoPanSpeed: Xi, connectionRadius: Li, isValidConnection: Ji, onError: El, style: Zi, id: Fe, nodeDragThreshold: Ve, connectionDragThreshold: ft, viewport: mt, onViewportChange: Qi, width: Jr, height: Zr, colorMode: wo = "light", debug: Pd, onScroll: xo, ariaLabelConfig: Rd, zIndexMode: Nl = "basic", ...Al }, Tl) {
|
|
32586
32617
|
const Fi = Fe || "1", pa = Rle(wo), On = K((ko) => {
|
|
32587
32618
|
ko.currentTarget.scrollTo({ top: 0, left: 0, behavior: "instant" }), xo?.(ko);
|
|
32588
32619
|
}, [xo]);
|
|
32589
|
-
return m("div", { "data-testid": "rf__wrapper", ...Al, onScroll: On, style: { ...Zi, ...nde }, ref: Tl, className: xn(["react-flow", r, pa]), id: Fe, role: "application", children: R(tde, { nodes: e, edges: t, width: Jr, height: Zr, fitView: xe, fitViewOptions: je, minZoom: Te, maxZoom: He, nodeOrigin: fe, nodeExtent: Ge, zIndexMode: Nl, children: [m(Ple, { nodes: e, edges: t, defaultNodes: n, defaultEdges: i, onConnect: h, onConnectStart: p, onConnectEnd: y, onClickConnectStart: g, onClickConnectEnd: v, nodesDraggable: Se, autoPanOnNodeFocus: q, nodesConnectable: ee, nodesFocusable: re, edgesFocusable: ae, edgesReconnectable: de, elementsSelectable: he, elevateNodesOnSelect: Sn, elevateEdgesOnSelect: Ri, minZoom: Te, maxZoom: He, nodeExtent: Ge, onNodesChange: _n, onEdgesChange: Tn, snapToGrid: ue, snapGrid: me, connectionMode: $, translateExtent: Xe, connectOnClick: Ct, defaultEdgeOptions: gn, fitView: xe, fitViewOptions: je, onNodesDelete: A, onEdgesDelete: T, onDelete: I, onNodeDragStart: S, onNodeDrag: C, onNodeDragStop: E, onSelectionDrag: M, onSelectionDragStart: N, onSelectionDragStop: O, onMove: d, onMoveStart: f, onMoveEnd: u, noPanClassName: Pi, nodeOrigin: fe, rfId: Fi, autoPanOnConnect: hs, autoPanOnNodeDrag: bo, autoPanSpeed: Xi, onError: El, connectionRadius: Li, isValidConnection: Ji, selectNodesOnDrag: ye, nodeDragThreshold: Ve, connectionDragThreshold: ft, onBeforeDelete: H, debug: Pd, ariaLabelConfig: Rd, zIndexMode: Nl }), m(Qce, { onInit: c, onNodeClick: a, onEdgeClick: l, onNodeMouseEnter: b, onNodeMouseMove: x, onNodeMouseLeave: w, onNodeContextMenu: k, onNodeDoubleClick: _, nodeTypes: o, edgeTypes: s, connectionLineType: V, connectionLineStyle: X, connectionLineComponent: Q, connectionLineContainerStyle: z, selectionKeyCode: W, selectionOnDrag: j, selectionMode: ne, deleteKeyCode: G, multiSelectionKeyCode: Z, panActivationKeyCode: le, zoomActivationKeyCode: te, onlyRenderVisibleElements: ge, defaultViewport: ve, translateExtent: Xe, minZoom: Te, maxZoom: He, preventScrolling: pt, zoomOnScroll: ke, zoomOnPinch: at, zoomOnDoubleClick: be, panOnScroll: pe, panOnScrollSpeed: se, panOnScrollMode: ce, panOnDrag: we, onPaneClick: Ae, onPaneMouseEnter: Ee, onPaneMouseMove: ze, onPaneMouseLeave: Me, onPaneScroll: Ue, onPaneContextMenu: et, paneClickDistance: dt, nodeClickDistance: ct, onSelectionContextMenu: P, onSelectionStart: L, onSelectionEnd: B, onReconnect: nt, onReconnectStart: gt, onReconnectEnd: yt, onEdgeContextMenu: sn, onEdgeDoubleClick: Wt, onEdgeMouseEnter: Ut, onEdgeMouseMove: Un, onEdgeMouseLeave: kn, reconnectRadius: dn, defaultMarkerColor: ut, noDragClassName: yi, noWheelClassName: Yi, noPanClassName: Pi, rfId: Fi, disableKeyboardA11y:
|
|
32620
|
+
return m("div", { "data-testid": "rf__wrapper", ...Al, onScroll: On, style: { ...Zi, ...nde }, ref: Tl, className: xn(["react-flow", r, pa]), id: Fe, role: "application", children: R(tde, { nodes: e, edges: t, width: Jr, height: Zr, fitView: xe, fitViewOptions: je, minZoom: Te, maxZoom: He, nodeOrigin: fe, nodeExtent: Ge, zIndexMode: Nl, children: [m(Ple, { nodes: e, edges: t, defaultNodes: n, defaultEdges: i, onConnect: h, onConnectStart: p, onConnectEnd: y, onClickConnectStart: g, onClickConnectEnd: v, nodesDraggable: Se, autoPanOnNodeFocus: q, nodesConnectable: ee, nodesFocusable: re, edgesFocusable: ae, edgesReconnectable: de, elementsSelectable: he, elevateNodesOnSelect: Sn, elevateEdgesOnSelect: Ri, minZoom: Te, maxZoom: He, nodeExtent: Ge, onNodesChange: _n, onEdgesChange: Tn, snapToGrid: ue, snapGrid: me, connectionMode: $, translateExtent: Xe, connectOnClick: Ct, defaultEdgeOptions: gn, fitView: xe, fitViewOptions: je, onNodesDelete: A, onEdgesDelete: T, onDelete: I, onNodeDragStart: S, onNodeDrag: C, onNodeDragStop: E, onSelectionDrag: M, onSelectionDragStart: N, onSelectionDragStop: O, onMove: d, onMoveStart: f, onMoveEnd: u, noPanClassName: Pi, nodeOrigin: fe, rfId: Fi, autoPanOnConnect: hs, autoPanOnNodeDrag: bo, autoPanSpeed: Xi, onError: El, connectionRadius: Li, isValidConnection: Ji, selectNodesOnDrag: ye, nodeDragThreshold: Ve, connectionDragThreshold: ft, onBeforeDelete: H, debug: Pd, ariaLabelConfig: Rd, zIndexMode: Nl }), m(Qce, { onInit: c, onNodeClick: a, onEdgeClick: l, onNodeMouseEnter: b, onNodeMouseMove: x, onNodeMouseLeave: w, onNodeContextMenu: k, onNodeDoubleClick: _, nodeTypes: o, edgeTypes: s, connectionLineType: V, connectionLineStyle: X, connectionLineComponent: Q, connectionLineContainerStyle: z, selectionKeyCode: W, selectionOnDrag: j, selectionMode: ne, deleteKeyCode: G, multiSelectionKeyCode: Z, panActivationKeyCode: le, zoomActivationKeyCode: te, onlyRenderVisibleElements: ge, defaultViewport: ve, translateExtent: Xe, minZoom: Te, maxZoom: He, preventScrolling: pt, zoomOnScroll: ke, zoomOnPinch: at, zoomOnDoubleClick: be, panOnScroll: pe, panOnScrollSpeed: se, panOnScrollMode: ce, panOnDrag: we, onPaneClick: Ae, onPaneMouseEnter: Ee, onPaneMouseMove: ze, onPaneMouseLeave: Me, onPaneScroll: Ue, onPaneContextMenu: et, paneClickDistance: dt, nodeClickDistance: ct, onSelectionContextMenu: P, onSelectionStart: L, onSelectionEnd: B, onReconnect: nt, onReconnectStart: gt, onReconnectEnd: yt, onEdgeContextMenu: sn, onEdgeDoubleClick: Wt, onEdgeMouseEnter: Ut, onEdgeMouseMove: Un, onEdgeMouseLeave: kn, reconnectRadius: dn, defaultMarkerColor: ut, noDragClassName: yi, noWheelClassName: Yi, noPanClassName: Pi, rfId: Fi, disableKeyboardA11y: Cr, nodeExtent: Ge, viewport: mt, onViewportChange: Qi }), m(Ole, { onSelectionChange: D }), Je, m(Cle, { proOptions: St, position: $t }), m(Sle, { rfId: Fi, disableKeyboardA11y: Cr })] }) });
|
|
32590
32621
|
}
|
|
32591
32622
|
var rde = wR(ide);
|
|
32592
32623
|
function ode({ dimensions: e, lineWidth: t, variant: n, className: i }) {
|
|
@@ -35029,7 +35060,7 @@ function nue(e) {
|
|
|
35029
35060
|
focusedNodeId: gn,
|
|
35030
35061
|
setFocusedNodeId: Sn,
|
|
35031
35062
|
focusedNodeIdRef: Ri,
|
|
35032
|
-
registerNodeRef:
|
|
35063
|
+
registerNodeRef: Cr,
|
|
35033
35064
|
nodeRefsMapRef: hs,
|
|
35034
35065
|
flatVisibleOrderRef: bo,
|
|
35035
35066
|
selectNode: Xi,
|
|
@@ -35268,8 +35299,8 @@ function nue(e) {
|
|
|
35268
35299
|
P
|
|
35269
35300
|
]
|
|
35270
35301
|
), ga = Y(
|
|
35271
|
-
() => ({ focusedNodeId: gn, setFocusedNodeId: Sn, registerNodeRef:
|
|
35272
|
-
[gn, Sn,
|
|
35302
|
+
() => ({ focusedNodeId: gn, setFocusedNodeId: Sn, registerNodeRef: Cr }),
|
|
35303
|
+
[gn, Sn, Cr]
|
|
35273
35304
|
), ps = Jr.length === 0, Ev = Y(
|
|
35274
35305
|
() => Jr.length > 0 ? Jr.map((ot) => `f0-graph-node-${ot}`).join(" ") : void 0,
|
|
35275
35306
|
[Jr]
|
|
@@ -38952,7 +38983,7 @@ const M0 = ({
|
|
|
38952
38983
|
}
|
|
38953
38984
|
);
|
|
38954
38985
|
}, Ehe = xz(
|
|
38955
|
-
() => import("./index-
|
|
38986
|
+
() => import("./index-bFpPGzmn.js").then((e) => ({ default: e.MapCollection }))
|
|
38956
38987
|
), Xs = {
|
|
38957
38988
|
table: {
|
|
38958
38989
|
name: "Table",
|
|
@@ -40514,8 +40545,8 @@ const Xw = "dc_shared_view", kpe = (e) => {
|
|
|
40514
40545
|
yi
|
|
40515
40546
|
) ? s : _n, Ri = gn(
|
|
40516
40547
|
yi
|
|
40517
|
-
),
|
|
40518
|
-
|
|
40548
|
+
), Cr = F(!1);
|
|
40549
|
+
Cr.current = Ri;
|
|
40519
40550
|
const hs = s !== void 0, bo = K(
|
|
40520
40551
|
(_e, Ke = !0) => {
|
|
40521
40552
|
xe.current && clearTimeout(xe.current), xe.current = setTimeout(() => {
|
|
@@ -40538,23 +40569,23 @@ const Xw = "dc_shared_view", kpe = (e) => {
|
|
|
40538
40569
|
}, [s, et, bo]);
|
|
40539
40570
|
const Li = Re(), Ji = Y(() => L === !0 ? (_e) => _e !== void 0 ? `${_e} ${Li.collections.itemsCount}` : null : L || void 0, [L, Li]), El = (_e, Ke, Ot) => {
|
|
40540
40571
|
i?.(_e, Ke, Ot), Wt(
|
|
40541
|
-
!!_e.allSelected || _e.itemsStatus.some((
|
|
40542
|
-
), Tn((
|
|
40543
|
-
const Rt = e.bulkActions ? e.bulkActions(_e) : void 0, vi = (
|
|
40572
|
+
!!_e.allSelected || _e.itemsStatus.some((Er) => Er.checked)
|
|
40573
|
+
), Tn((Er) => Er === "error" ? "idle" : Er), Un(_e.selectedCount), dt(() => Ke), dn(_e.allSelected === !0);
|
|
40574
|
+
const Rt = e.bulkActions ? e.bulkActions(_e) : void 0, vi = (Er, gs) => {
|
|
40544
40575
|
Tn("loading"), gs.then(
|
|
40545
40576
|
() => {
|
|
40546
40577
|
Tn("success"), bo(() => {
|
|
40547
|
-
|
|
40548
|
-
}, !
|
|
40578
|
+
Er.keepSelection || Ke(), Tn("idle");
|
|
40579
|
+
}, !Er.keepSelection);
|
|
40549
40580
|
},
|
|
40550
40581
|
() => {
|
|
40551
40582
|
Tn("error"), Pi.current?.wiggle({ errorHighlight: !0 });
|
|
40552
40583
|
}
|
|
40553
40584
|
);
|
|
40554
|
-
}, _4 = (
|
|
40555
|
-
if ("type" in
|
|
40585
|
+
}, _4 = (Er) => {
|
|
40586
|
+
if ("type" in Er && Er.type === "separator")
|
|
40556
40587
|
return { type: "separator" };
|
|
40557
|
-
const gs =
|
|
40588
|
+
const gs = Er;
|
|
40558
40589
|
return {
|
|
40559
40590
|
...gs,
|
|
40560
40591
|
// The bar speaks of a generic `tooltip`; here it is always the reason.
|
|
@@ -40569,7 +40600,7 @@ const Xw = "dc_shared_view", kpe = (e) => {
|
|
|
40569
40600
|
!gs.keepSelection && !hs && Ke();
|
|
40570
40601
|
return;
|
|
40571
40602
|
}
|
|
40572
|
-
|
|
40603
|
+
Cr.current || vi(gs, Ov);
|
|
40573
40604
|
}
|
|
40574
40605
|
};
|
|
40575
40606
|
};
|
|
@@ -42061,7 +42092,7 @@ function Xpe({
|
|
|
42061
42092
|
size: "sm",
|
|
42062
42093
|
label: l.remove,
|
|
42063
42094
|
onClick: x,
|
|
42064
|
-
icon:
|
|
42095
|
+
icon: br,
|
|
42065
42096
|
hideLabel: !0
|
|
42066
42097
|
}
|
|
42067
42098
|
)
|
|
@@ -42935,7 +42966,7 @@ function gme({
|
|
|
42935
42966
|
value: t.value ?? void 0,
|
|
42936
42967
|
placeholder: e.placeholder,
|
|
42937
42968
|
disabled: e.disabled,
|
|
42938
|
-
size:
|
|
42969
|
+
size: Sr,
|
|
42939
42970
|
hideLabel: !0,
|
|
42940
42971
|
error: n,
|
|
42941
42972
|
status: r,
|
|
@@ -42976,7 +43007,7 @@ function yme({
|
|
|
42976
43007
|
locale: e.locale ?? "en-US",
|
|
42977
43008
|
value: t.value != null ? Number(t.value) : void 0,
|
|
42978
43009
|
onChange: (a) => t.onChange(a),
|
|
42979
|
-
size:
|
|
43010
|
+
size: Sr,
|
|
42980
43011
|
hideLabel: !0,
|
|
42981
43012
|
hint: "",
|
|
42982
43013
|
error: n,
|
|
@@ -43025,7 +43056,7 @@ function vme({
|
|
|
43025
43056
|
value: o,
|
|
43026
43057
|
onChange: s,
|
|
43027
43058
|
onOpenChange: a,
|
|
43028
|
-
size:
|
|
43059
|
+
size: Sr,
|
|
43029
43060
|
hideLabel: !0,
|
|
43030
43061
|
error: n,
|
|
43031
43062
|
status: r,
|
|
@@ -44503,7 +44534,7 @@ function V8(e) {
|
|
|
44503
44534
|
for (var t = 1; t < arguments.length; t++) {
|
|
44504
44535
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
44505
44536
|
t % 2 ? r6(Object(n), !0).forEach(function(i) {
|
|
44506
|
-
|
|
44537
|
+
Ar(e, i, n[i]);
|
|
44507
44538
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r6(Object(n)).forEach(function(i) {
|
|
44508
44539
|
Object.defineProperty(e, i, Object.getOwnPropertyDescriptor(n, i));
|
|
44509
44540
|
});
|
|
@@ -44590,7 +44621,7 @@ function sx(e, t) {
|
|
|
44590
44621
|
return i.__proto__ = r, i;
|
|
44591
44622
|
}, sx(e, t);
|
|
44592
44623
|
}
|
|
44593
|
-
function
|
|
44624
|
+
function Ar(e, t, n) {
|
|
44594
44625
|
return t = U8(t), t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
44595
44626
|
}
|
|
44596
44627
|
function U8(e) {
|
|
@@ -44610,12 +44641,12 @@ function sye(e, t) {
|
|
|
44610
44641
|
var aye = /* @__PURE__ */ (function(e) {
|
|
44611
44642
|
function t(n) {
|
|
44612
44643
|
var i;
|
|
44613
|
-
eye(this, t), i = nye(this, t, [n]),
|
|
44644
|
+
eye(this, t), i = nye(this, t, [n]), Ar(i, "setInputRef", function(g) {
|
|
44614
44645
|
Rge([i.props.inputRef, i.inputRef], g);
|
|
44615
|
-
}),
|
|
44646
|
+
}), Ar(i, "isCountrySupportedWithError", function(g) {
|
|
44616
44647
|
var v = i.props.metadata;
|
|
44617
44648
|
return q1(g, v);
|
|
44618
|
-
}),
|
|
44649
|
+
}), Ar(i, "onCountryChange", function(g) {
|
|
44619
44650
|
var v = i.props, b = v.international, x = v.metadata, w = v.onChange, k = v.focusInputOnCountrySelection, _ = i.state, S = _.phoneDigits, C = _.country, E = zge(S, {
|
|
44620
44651
|
prevCountry: C,
|
|
44621
44652
|
newCountry: g,
|
|
@@ -44633,7 +44664,7 @@ var aye = /* @__PURE__ */ (function(e) {
|
|
|
44633
44664
|
}, function() {
|
|
44634
44665
|
w(A);
|
|
44635
44666
|
});
|
|
44636
|
-
}),
|
|
44667
|
+
}), Ar(i, "onChange", function(g) {
|
|
44637
44668
|
var v = i.props, b = v.defaultCountry, x = v.onChange, w = v.addInternationalOption, k = v.international, _ = v.limitMaxLength, S = v.countryCallingCodeEditable, C = v.metadata, E = i.state, A = E.countries, T = E.phoneDigits, I = E.country, D = E.latestCountrySelectedByUser, N = Vge(g, {
|
|
44638
44669
|
prevPhoneDigits: T,
|
|
44639
44670
|
country: I,
|
|
@@ -44665,29 +44696,29 @@ var aye = /* @__PURE__ */ (function(e) {
|
|
|
44665
44696
|
return x(P);
|
|
44666
44697
|
}
|
|
44667
44698
|
);
|
|
44668
|
-
}),
|
|
44699
|
+
}), Ar(i, "_onFocus", function() {
|
|
44669
44700
|
return i.setState({
|
|
44670
44701
|
isFocused: !0
|
|
44671
44702
|
});
|
|
44672
|
-
}),
|
|
44703
|
+
}), Ar(i, "_onBlur", function() {
|
|
44673
44704
|
return i.setState({
|
|
44674
44705
|
isFocused: !1
|
|
44675
44706
|
});
|
|
44676
|
-
}),
|
|
44707
|
+
}), Ar(i, "onFocus", function(g) {
|
|
44677
44708
|
i._onFocus();
|
|
44678
44709
|
var v = i.props.onFocus;
|
|
44679
44710
|
v && v(g);
|
|
44680
|
-
}),
|
|
44711
|
+
}), Ar(i, "onBlur", function(g) {
|
|
44681
44712
|
var v = i.props.onBlur;
|
|
44682
44713
|
i._onBlur(), v && v(g);
|
|
44683
|
-
}),
|
|
44714
|
+
}), Ar(i, "onCountryFocus", function(g) {
|
|
44684
44715
|
i._onFocus();
|
|
44685
44716
|
var v = i.props.countrySelectProps;
|
|
44686
44717
|
if (v) {
|
|
44687
44718
|
var b = v.onFocus;
|
|
44688
44719
|
b && b(g);
|
|
44689
44720
|
}
|
|
44690
|
-
}),
|
|
44721
|
+
}), Ar(i, "onCountryBlur", function(g) {
|
|
44691
44722
|
i._onBlur();
|
|
44692
44723
|
var v = i.props.countrySelectProps;
|
|
44693
44724
|
if (v) {
|
|
@@ -45967,7 +45998,7 @@ function kye({
|
|
|
45967
45998
|
onChange: (o) => t.onChange(o),
|
|
45968
45999
|
placeholder: e.placeholder,
|
|
45969
46000
|
disabled: e.disabled,
|
|
45970
|
-
size:
|
|
46001
|
+
size: Sr,
|
|
45971
46002
|
hideLabel: !0,
|
|
45972
46003
|
error: n,
|
|
45973
46004
|
status: r,
|
|
@@ -51538,10 +51569,10 @@ let O6 = null, I6 = null, D6 = !1;
|
|
|
51538
51569
|
function z1e(e, t, n) {
|
|
51539
51570
|
return O6 == t && I6 == n ? D6 : (O6 = t, I6 = n, D6 = n == "up" || n == "down" ? F1e(e, t, n) : B1e(e, t, n));
|
|
51540
51571
|
}
|
|
51541
|
-
const
|
|
51572
|
+
const gr = 0, M6 = 1, Ma = 2, po = 3;
|
|
51542
51573
|
class Fh {
|
|
51543
51574
|
constructor(t, n, i, r) {
|
|
51544
|
-
this.parent = t, this.children = n, this.dom = i, this.contentDOM = r, this.dirty =
|
|
51575
|
+
this.parent = t, this.children = n, this.dom = i, this.contentDOM = r, this.dirty = gr, i.pmViewDesc = this;
|
|
51545
51576
|
}
|
|
51546
51577
|
// Used to check whether a given description corresponds to a
|
|
51547
51578
|
// widget/mark/node.
|
|
@@ -51898,7 +51929,7 @@ class FL extends Fh {
|
|
|
51898
51929
|
super(t, [], s, null), this.widget = n, this.widget = n, o = this;
|
|
51899
51930
|
}
|
|
51900
51931
|
matchesWidget(t) {
|
|
51901
|
-
return this.dirty ==
|
|
51932
|
+
return this.dirty == gr && t.type.eq(this.widget.type);
|
|
51902
51933
|
}
|
|
51903
51934
|
parseRule() {
|
|
51904
51935
|
return { ignore: !0 };
|
|
@@ -51952,11 +51983,11 @@ class sl extends Fh {
|
|
|
51952
51983
|
return this.dirty != po && this.mark.eq(t);
|
|
51953
51984
|
}
|
|
51954
51985
|
markDirty(t, n) {
|
|
51955
|
-
if (super.markDirty(t, n), this.dirty !=
|
|
51986
|
+
if (super.markDirty(t, n), this.dirty != gr) {
|
|
51956
51987
|
let i = this.parent;
|
|
51957
51988
|
for (; !i.node; )
|
|
51958
51989
|
i = i.parent;
|
|
51959
|
-
i.dirty < this.dirty && (i.dirty = this.dirty), this.dirty =
|
|
51990
|
+
i.dirty < this.dirty && (i.dirty = this.dirty), this.dirty = gr;
|
|
51960
51991
|
}
|
|
51961
51992
|
}
|
|
51962
51993
|
slice(t, n, i) {
|
|
@@ -52024,7 +52055,7 @@ class Us extends Fh {
|
|
|
52024
52055
|
return t;
|
|
52025
52056
|
}
|
|
52026
52057
|
matchesNode(t, n, i) {
|
|
52027
|
-
return this.dirty ==
|
|
52058
|
+
return this.dirty == gr && t.eq(this.node) && Mg(n, this.outerDeco) && i.eq(this.innerDeco);
|
|
52028
52059
|
}
|
|
52029
52060
|
get size() {
|
|
52030
52061
|
return this.node.nodeSize;
|
|
@@ -52079,7 +52110,7 @@ class Us extends Fh {
|
|
|
52079
52110
|
return this.dirty == po || !t.sameMarkup(this.node) ? !1 : (this.updateInner(t, n, i, r), !0);
|
|
52080
52111
|
}
|
|
52081
52112
|
updateInner(t, n, i, r) {
|
|
52082
|
-
this.updateOuterDeco(n), this.node = t, this.innerDeco = i, this.contentDOM && this.updateChildren(r, this.posAtStart), this.dirty =
|
|
52113
|
+
this.updateOuterDeco(n), this.node = t, this.innerDeco = i, this.contentDOM && this.updateChildren(r, this.posAtStart), this.dirty = gr;
|
|
52083
52114
|
}
|
|
52084
52115
|
updateOuterDeco(t) {
|
|
52085
52116
|
if (Mg(t, this.outerDeco))
|
|
@@ -52115,7 +52146,7 @@ class Z1 extends Us {
|
|
|
52115
52146
|
return { skip: t || !0 };
|
|
52116
52147
|
}
|
|
52117
52148
|
update(t, n, i, r) {
|
|
52118
|
-
return this.dirty == po || this.dirty !=
|
|
52149
|
+
return this.dirty == po || this.dirty != gr && !this.inParent() || !t.sameMarkup(this.node) ? !1 : (this.updateOuterDeco(n), (this.dirty != gr || t.text != this.node.text) && t.text != this.nodeDOM.nodeValue && (this.nodeDOM.nodeValue = t.text, r.trackWrites == this.nodeDOM && (r.trackWrites = null)), this.node = t, this.dirty = gr, !0);
|
|
52119
52150
|
}
|
|
52120
52151
|
inParent() {
|
|
52121
52152
|
let t = this.parent.contentDOM;
|
|
@@ -52152,7 +52183,7 @@ class $L extends Fh {
|
|
|
52152
52183
|
return { ignore: !0 };
|
|
52153
52184
|
}
|
|
52154
52185
|
matchesHack(t) {
|
|
52155
|
-
return this.dirty ==
|
|
52186
|
+
return this.dirty == gr && this.dom.nodeName == t;
|
|
52156
52187
|
}
|
|
52157
52188
|
get domAtom() {
|
|
52158
52189
|
return !0;
|
|
@@ -52310,7 +52341,7 @@ class W1e {
|
|
|
52310
52341
|
for (; r < s && (r == o - 1 ? this.top : this.stack[r + 1 << 1]).matchesMark(t[r]) && t[r].type.spec.spanning !== !1; )
|
|
52311
52342
|
r++;
|
|
52312
52343
|
for (; r < o; )
|
|
52313
|
-
this.destroyRest(), this.top.dirty =
|
|
52344
|
+
this.destroyRest(), this.top.dirty = gr, this.index = this.stack.pop(), this.top = this.stack.pop(), o--;
|
|
52314
52345
|
for (; o < t.length; ) {
|
|
52315
52346
|
this.stack.push(this.top, this.index + 1);
|
|
52316
52347
|
let a = -1;
|
|
@@ -52380,7 +52411,7 @@ class W1e {
|
|
|
52380
52411
|
if (!u && l.update(t, n, i, r))
|
|
52381
52412
|
return this.destroyBetween(this.index, a), l.dom != d && (this.changed = !0), this.index++, !0;
|
|
52382
52413
|
if (!u && (f = this.recreateWrapper(l, t, n, i, r, s)))
|
|
52383
|
-
return this.destroyBetween(this.index, a), this.top.children[this.index] = f, f.contentDOM && (f.dirty = Ma, f.updateChildren(r, s + 1), f.dirty =
|
|
52414
|
+
return this.destroyBetween(this.index, a), this.top.children[this.index] = f, f.contentDOM && (f.dirty = Ma, f.updateChildren(r, s + 1), f.dirty = gr), this.changed = !0, this.index++, !0;
|
|
52384
52415
|
break;
|
|
52385
52416
|
}
|
|
52386
52417
|
}
|
|
@@ -55905,7 +55936,7 @@ function rv(e, t) {
|
|
|
55905
55936
|
_p(t[i]) && _p(e[i]) ? n[i] = rv(e[i], t[i]) : n[i] = t[i];
|
|
55906
55937
|
}), n;
|
|
55907
55938
|
}
|
|
55908
|
-
class
|
|
55939
|
+
class wr {
|
|
55909
55940
|
constructor(t = {}) {
|
|
55910
55941
|
this.type = "mark", this.name = "mark", this.parent = null, this.child = null, this.config = {
|
|
55911
55942
|
name: this.name,
|
|
@@ -55921,7 +55952,7 @@ class br {
|
|
|
55921
55952
|
})) || {};
|
|
55922
55953
|
}
|
|
55923
55954
|
static create(t = {}) {
|
|
55924
|
-
return new
|
|
55955
|
+
return new wr(t);
|
|
55925
55956
|
}
|
|
55926
55957
|
configure(t = {}) {
|
|
55927
55958
|
const n = this.extend({
|
|
@@ -55931,7 +55962,7 @@ class br {
|
|
|
55931
55962
|
return n.name = this.name, n.parent = this.parent, n;
|
|
55932
55963
|
}
|
|
55933
55964
|
extend(t = {}) {
|
|
55934
|
-
const n = new
|
|
55965
|
+
const n = new wr(t);
|
|
55935
55966
|
return n.parent = this, this.child = n, n.name = t.name ? t.name : n.parent.name, t.defaultOptions && Object.keys(t.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${n.name}".`), n.options = vt(Ye(n, "addOptions", {
|
|
55936
55967
|
name: n.name
|
|
55937
55968
|
})), n.storage = vt(Ye(n, "addStorage", {
|
|
@@ -56174,7 +56205,7 @@ class Ra {
|
|
|
56174
56205
|
type: Q0(s.name, this.schema)
|
|
56175
56206
|
}, l = [], c = Ye(s, "addKeyboardShortcuts", a);
|
|
56176
56207
|
let d = {};
|
|
56177
|
-
if (s.type === "mark" && Ye(s, "exitable", a) && (d.ArrowRight = () =>
|
|
56208
|
+
if (s.type === "mark" && Ye(s, "exitable", a) && (d.ArrowRight = () => wr.handleExit({ editor: t, mark: s })), c) {
|
|
56178
56209
|
const y = Object.fromEntries(Object.entries(c()).map(([g, v]) => [g, () => v({ editor: t })]));
|
|
56179
56210
|
d = { ...d, ...y };
|
|
56180
56211
|
}
|
|
@@ -58303,7 +58334,7 @@ function hN(e) {
|
|
|
58303
58334
|
}
|
|
58304
58335
|
});
|
|
58305
58336
|
}
|
|
58306
|
-
var Oi = "top",
|
|
58337
|
+
var Oi = "top", xr = "bottom", kr = "right", Ii = "left", d_ = "auto", Bh = [Oi, xr, kr, Ii], Xc = "start", Pu = "end", gwe = "clippingParents", F7 = "viewport", Gd = "popper", ywe = "reference", pN = /* @__PURE__ */ Bh.reduce(function(e, t) {
|
|
58307
58338
|
return e.concat([t + "-" + Xc, t + "-" + Pu]);
|
|
58308
58339
|
}, []), $7 = /* @__PURE__ */ [].concat(Bh, [d_]).reduce(function(e, t) {
|
|
58309
58340
|
return e.concat([t, t + "-" + Xc, t + "-" + Pu]);
|
|
@@ -58324,7 +58355,7 @@ function ll(e) {
|
|
|
58324
58355
|
var t = Gi(e).Element;
|
|
58325
58356
|
return e instanceof t || e instanceof Element;
|
|
58326
58357
|
}
|
|
58327
|
-
function
|
|
58358
|
+
function yr(e) {
|
|
58328
58359
|
var t = Gi(e).HTMLElement;
|
|
58329
58360
|
return e instanceof t || e instanceof HTMLElement;
|
|
58330
58361
|
}
|
|
@@ -58338,7 +58369,7 @@ function Awe(e) {
|
|
|
58338
58369
|
var t = e.state;
|
|
58339
58370
|
Object.keys(t.elements).forEach(function(n) {
|
|
58340
58371
|
var i = t.styles[n] || {}, r = t.attributes[n] || {}, o = t.elements[n];
|
|
58341
|
-
!
|
|
58372
|
+
!yr(o) || !mo(o) || (Object.assign(o.style, i), Object.keys(r).forEach(function(s) {
|
|
58342
58373
|
var a = r[s];
|
|
58343
58374
|
a === !1 ? o.removeAttribute(s) : o.setAttribute(s, a === !0 ? "" : a);
|
|
58344
58375
|
}));
|
|
@@ -58362,7 +58393,7 @@ function Twe(e) {
|
|
|
58362
58393
|
var r = t.elements[i], o = t.attributes[i] || {}, s = Object.keys(t.styles.hasOwnProperty(i) ? t.styles[i] : n[i]), a = s.reduce(function(l, c) {
|
|
58363
58394
|
return l[c] = "", l;
|
|
58364
58395
|
}, {});
|
|
58365
|
-
!
|
|
58396
|
+
!yr(r) || !mo(r) || (Object.assign(r.style, a), Object.keys(o).forEach(function(l) {
|
|
58366
58397
|
r.removeAttribute(l);
|
|
58367
58398
|
}));
|
|
58368
58399
|
});
|
|
@@ -58392,7 +58423,7 @@ function z7() {
|
|
|
58392
58423
|
function Zc(e, t, n) {
|
|
58393
58424
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
58394
58425
|
var i = e.getBoundingClientRect(), r = 1, o = 1;
|
|
58395
|
-
t &&
|
|
58426
|
+
t && yr(e) && (r = e.offsetWidth > 0 && Jc(i.width) / e.offsetWidth || 1, o = e.offsetHeight > 0 && Jc(i.height) / e.offsetHeight || 1);
|
|
58396
58427
|
var s = ll(e) ? Gi(e) : window, a = s.visualViewport, l = !z7() && n, c = (i.left + (l && a ? a.offsetLeft : 0)) / r, d = (i.top + (l && a ? a.offsetTop : 0)) / o, f = i.width / r, u = i.height / o;
|
|
58397
58428
|
return {
|
|
58398
58429
|
width: f,
|
|
@@ -58453,18 +58484,18 @@ function cv(e) {
|
|
|
58453
58484
|
);
|
|
58454
58485
|
}
|
|
58455
58486
|
function mN(e) {
|
|
58456
|
-
return !
|
|
58487
|
+
return !yr(e) || // https://github.com/popperjs/popper-core/issues/837
|
|
58457
58488
|
ts(e).position === "fixed" ? null : e.offsetParent;
|
|
58458
58489
|
}
|
|
58459
58490
|
function Iwe(e) {
|
|
58460
58491
|
var t = /firefox/i.test(Tx()), n = /Trident/i.test(Tx());
|
|
58461
|
-
if (n &&
|
|
58492
|
+
if (n && yr(e)) {
|
|
58462
58493
|
var i = ts(e);
|
|
58463
58494
|
if (i.position === "fixed")
|
|
58464
58495
|
return null;
|
|
58465
58496
|
}
|
|
58466
58497
|
var r = cv(e);
|
|
58467
|
-
for (f_(r) && (r = r.host);
|
|
58498
|
+
for (f_(r) && (r = r.host); yr(r) && ["html", "body"].indexOf(mo(r)) < 0; ) {
|
|
58468
58499
|
var o = ts(r);
|
|
58469
58500
|
if (o.transform !== "none" || o.perspective !== "none" || o.contain === "paint" || ["transform", "perspective"].indexOf(o.willChange) !== -1 || t && o.willChange === "filter" || t && o.filter && o.filter !== "none")
|
|
58470
58501
|
return r;
|
|
@@ -58509,9 +58540,9 @@ var Mwe = function(t, n) {
|
|
|
58509
58540
|
})) : t, V7(typeof t != "number" ? t : W7(t, Bh));
|
|
58510
58541
|
};
|
|
58511
58542
|
function Pwe(e) {
|
|
58512
|
-
var t, n = e.state, i = e.name, r = e.options, o = n.elements.arrow, s = n.modifiersData.popperOffsets, a = ao(n.placement), l = h_(a), c = [Ii,
|
|
58543
|
+
var t, n = e.state, i = e.name, r = e.options, o = n.elements.arrow, s = n.modifiersData.popperOffsets, a = ao(n.placement), l = h_(a), c = [Ii, kr].indexOf(a) >= 0, d = c ? "height" : "width";
|
|
58513
58544
|
if (!(!o || !s)) {
|
|
58514
|
-
var f = Mwe(r.padding, n), u = u_(o), h = l === "y" ? Oi : Ii, p = l === "y" ?
|
|
58545
|
+
var f = Mwe(r.padding, n), u = u_(o), h = l === "y" ? Oi : Ii, p = l === "y" ? xr : kr, y = n.rects.reference[d] + n.rects.reference[l] - s[l] - n.rects.popper[d], g = s[l] - n.rects.reference[l], v = zh(o), b = v ? l === "y" ? v.clientHeight || 0 : v.clientWidth || 0 : 0, x = y / 2 - g / 2, w = f[h], k = b - u[d] - f[p], _ = b / 2 - u[d] / 2 + x, S = Of(w, _, k), C = l;
|
|
58515
58546
|
n.modifiersData[i] = (t = {}, t[C] = S, t.centerOffset = S - _, t);
|
|
58516
58547
|
}
|
|
58517
58548
|
}
|
|
@@ -58556,16 +58587,16 @@ function gN(e) {
|
|
|
58556
58587
|
var v = s.hasOwnProperty("x"), b = s.hasOwnProperty("y"), x = Ii, w = Oi, k = window;
|
|
58557
58588
|
if (c) {
|
|
58558
58589
|
var _ = zh(n), S = "clientHeight", C = "clientWidth";
|
|
58559
|
-
if (_ === Gi(n) && (_ = ha(n), ts(_).position !== "static" && a === "absolute" && (S = "scrollHeight", C = "scrollWidth")), _ = _, r === Oi || (r === Ii || r ===
|
|
58560
|
-
w =
|
|
58590
|
+
if (_ === Gi(n) && (_ = ha(n), ts(_).position !== "static" && a === "absolute" && (S = "scrollHeight", C = "scrollWidth")), _ = _, r === Oi || (r === Ii || r === kr) && o === Pu) {
|
|
58591
|
+
w = xr;
|
|
58561
58592
|
var E = f && _ === k && k.visualViewport ? k.visualViewport.height : (
|
|
58562
58593
|
// $FlowFixMe[prop-missing]
|
|
58563
58594
|
_[S]
|
|
58564
58595
|
);
|
|
58565
58596
|
y -= E - i.height, y *= l ? 1 : -1;
|
|
58566
58597
|
}
|
|
58567
|
-
if (r === Ii || (r === Oi || r ===
|
|
58568
|
-
x =
|
|
58598
|
+
if (r === Ii || (r === Oi || r === xr) && o === Pu) {
|
|
58599
|
+
x = kr;
|
|
58569
58600
|
var A = f && _ === k && k.visualViewport ? k.visualViewport.width : (
|
|
58570
58601
|
// $FlowFixMe[prop-missing]
|
|
58571
58602
|
_[C]
|
|
@@ -58698,7 +58729,7 @@ function g_(e) {
|
|
|
58698
58729
|
return /auto|scroll|overlay|hidden/.test(n + r + i);
|
|
58699
58730
|
}
|
|
58700
58731
|
function U7(e) {
|
|
58701
|
-
return ["html", "body", "#document"].indexOf(mo(e)) >= 0 ? e.ownerDocument.body :
|
|
58732
|
+
return ["html", "body", "#document"].indexOf(mo(e)) >= 0 ? e.ownerDocument.body : yr(e) && g_(e) ? e : U7(cv(e));
|
|
58702
58733
|
}
|
|
58703
58734
|
function If(e, t) {
|
|
58704
58735
|
var n;
|
|
@@ -58725,7 +58756,7 @@ function vN(e, t, n) {
|
|
|
58725
58756
|
return t === F7 ? Ox(Uwe(e, n)) : ll(t) ? Kwe(t, n) : Ox(qwe(ha(e)));
|
|
58726
58757
|
}
|
|
58727
58758
|
function Gwe(e) {
|
|
58728
|
-
var t = If(cv(e)), n = ["absolute", "fixed"].indexOf(ts(e).position) >= 0, i = n &&
|
|
58759
|
+
var t = If(cv(e)), n = ["absolute", "fixed"].indexOf(ts(e).position) >= 0, i = n && yr(e) ? zh(e) : e;
|
|
58729
58760
|
return ll(i) ? t.filter(function(r) {
|
|
58730
58761
|
return ll(r) && j7(r, i) && mo(r) !== "body";
|
|
58731
58762
|
}) : [];
|
|
@@ -58746,13 +58777,13 @@ function q7(e) {
|
|
|
58746
58777
|
y: t.y - n.height
|
|
58747
58778
|
};
|
|
58748
58779
|
break;
|
|
58749
|
-
case
|
|
58780
|
+
case xr:
|
|
58750
58781
|
l = {
|
|
58751
58782
|
x: s,
|
|
58752
58783
|
y: t.y + t.height
|
|
58753
58784
|
};
|
|
58754
58785
|
break;
|
|
58755
|
-
case
|
|
58786
|
+
case kr:
|
|
58756
58787
|
l = {
|
|
58757
58788
|
x: t.x + t.width,
|
|
58758
58789
|
y: a
|
|
@@ -58799,7 +58830,7 @@ function Ru(e, t) {
|
|
|
58799
58830
|
if (u === Gd && T) {
|
|
58800
58831
|
var I = T[r];
|
|
58801
58832
|
Object.keys(A).forEach(function(D) {
|
|
58802
|
-
var N = [
|
|
58833
|
+
var N = [kr, xr].indexOf(D) >= 0 ? 1 : -1, M = [Oi, xr].indexOf(D) >= 0 ? "y" : "x";
|
|
58803
58834
|
A[D] += I[M] * N;
|
|
58804
58835
|
});
|
|
58805
58836
|
}
|
|
@@ -58844,13 +58875,13 @@ function Zwe(e) {
|
|
|
58844
58875
|
allowedAutoPlacements: y
|
|
58845
58876
|
}) : z);
|
|
58846
58877
|
}, []), k = t.rects.reference, _ = t.rects.popper, S = /* @__PURE__ */ new Map(), C = !0, E = w[0], A = 0; A < w.length; A++) {
|
|
58847
|
-
var T = w[A], I = ao(T), D = Qc(T) === Xc, N = [Oi,
|
|
58878
|
+
var T = w[A], I = ao(T), D = Qc(T) === Xc, N = [Oi, xr].indexOf(I) >= 0, M = N ? "width" : "height", O = Ru(t, {
|
|
58848
58879
|
placement: T,
|
|
58849
58880
|
boundary: d,
|
|
58850
58881
|
rootBoundary: f,
|
|
58851
58882
|
altBoundary: u,
|
|
58852
58883
|
padding: c
|
|
58853
|
-
}), P = N ? D ?
|
|
58884
|
+
}), P = N ? D ? kr : Ii : D ? xr : Oi;
|
|
58854
58885
|
k[M] > _[M] && (P = gm(P));
|
|
58855
58886
|
var L = gm(P), B = [];
|
|
58856
58887
|
if (o && B.push(O[I] <= 0), a && B.push(O[P] <= 0, O[L] <= 0), B.every(function(Q) {
|
|
@@ -58901,7 +58932,7 @@ function bN(e, t, n) {
|
|
|
58901
58932
|
};
|
|
58902
58933
|
}
|
|
58903
58934
|
function wN(e) {
|
|
58904
|
-
return [Oi,
|
|
58935
|
+
return [Oi, kr, xr, Ii].some(function(t) {
|
|
58905
58936
|
return e[t] >= 0;
|
|
58906
58937
|
});
|
|
58907
58938
|
}
|
|
@@ -58932,7 +58963,7 @@ function nxe(e, t, n) {
|
|
|
58932
58963
|
var i = ao(e), r = [Ii, Oi].indexOf(i) >= 0 ? -1 : 1, o = typeof n == "function" ? n(Object.assign({}, t, {
|
|
58933
58964
|
placement: e
|
|
58934
58965
|
})) : n, s = o[0], a = o[1];
|
|
58935
|
-
return s = s || 0, a = (a || 0) * r, [Ii,
|
|
58966
|
+
return s = s || 0, a = (a || 0) * r, [Ii, kr].indexOf(i) >= 0 ? {
|
|
58936
58967
|
x: a,
|
|
58937
58968
|
y: s
|
|
58938
58969
|
} : {
|
|
@@ -58991,14 +59022,14 @@ function lxe(e) {
|
|
|
58991
59022
|
};
|
|
58992
59023
|
if (_) {
|
|
58993
59024
|
if (o) {
|
|
58994
|
-
var D, N = w === "y" ? Oi : Ii, M = w === "y" ?
|
|
59025
|
+
var D, N = w === "y" ? Oi : Ii, M = w === "y" ? xr : kr, O = w === "y" ? "height" : "width", P = _[w], L = P + g[N], B = P - g[M], H = h ? -C[O] / 2 : 0, $ = b === Xc ? S[O] : C[O], V = b === Xc ? -C[O] : -S[O], X = t.elements.arrow, Q = h && X ? u_(X) : {
|
|
58995
59026
|
width: 0,
|
|
58996
59027
|
height: 0
|
|
58997
59028
|
}, z = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : H7(), G = z[N], W = z[M], j = Of(0, S[O], Q[O]), ne = x ? S[O] / 2 - H - j - G - A.mainAxis : $ - j - G - A.mainAxis, le = x ? -S[O] / 2 + H + j + W + A.mainAxis : V + j + W + A.mainAxis, Z = t.elements.arrow && zh(t.elements.arrow), te = Z ? w === "y" ? Z.clientTop || 0 : Z.clientLeft || 0 : 0, ue = (D = T?.[w]) != null ? D : 0, me = P + ne - ue - te, ge = P + le - ue, ye = Of(h ? jg(L, me) : L, P, h ? qa(B, ge) : B);
|
|
58998
59029
|
_[w] = ye, I[w] = ye - P;
|
|
58999
59030
|
}
|
|
59000
59031
|
if (a) {
|
|
59001
|
-
var Se, q = w === "x" ? Oi : Ii, ee = w === "x" ?
|
|
59032
|
+
var Se, q = w === "x" ? Oi : Ii, ee = w === "x" ? xr : kr, re = _[k], fe = k === "y" ? "height" : "width", ae = re + g[q], de = re - g[ee], he = [Oi, Ii].indexOf(v) !== -1, ve = (Se = T?.[k]) != null ? Se : 0, Te = he ? ae : re - S[fe] - C[fe] - ve + A.altAxis, He = he ? re + S[fe] + C[fe] - ve - A.altAxis : de, Xe = h && he ? Dwe(Te, re, He) : Of(h ? Te : ae, re, h ? He : de);
|
|
59002
59033
|
_[k] = Xe, I[k] = Xe - re;
|
|
59003
59034
|
}
|
|
59004
59035
|
t.modifiersData[i] = I;
|
|
@@ -59018,7 +59049,7 @@ function dxe(e) {
|
|
|
59018
59049
|
};
|
|
59019
59050
|
}
|
|
59020
59051
|
function fxe(e) {
|
|
59021
|
-
return e === Gi(e) || !
|
|
59052
|
+
return e === Gi(e) || !yr(e) ? p_(e) : dxe(e);
|
|
59022
59053
|
}
|
|
59023
59054
|
function uxe(e) {
|
|
59024
59055
|
var t = e.getBoundingClientRect(), n = Jc(t.width) / e.offsetWidth || 1, i = Jc(t.height) / e.offsetHeight || 1;
|
|
@@ -59026,7 +59057,7 @@ function uxe(e) {
|
|
|
59026
59057
|
}
|
|
59027
59058
|
function hxe(e, t, n) {
|
|
59028
59059
|
n === void 0 && (n = !1);
|
|
59029
|
-
var i =
|
|
59060
|
+
var i = yr(t), r = yr(t) && uxe(t), o = ha(t), s = Zc(e, r, n), a = {
|
|
59030
59061
|
scrollLeft: 0,
|
|
59031
59062
|
scrollTop: 0
|
|
59032
59063
|
}, l = {
|
|
@@ -59034,7 +59065,7 @@ function hxe(e, t, n) {
|
|
|
59034
59065
|
y: 0
|
|
59035
59066
|
};
|
|
59036
59067
|
return (i || !i && !n) && ((mo(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
59037
|
-
g_(o)) && (a = fxe(t)),
|
|
59068
|
+
g_(o)) && (a = fxe(t)), yr(t) ? (l = Zc(t, !0), l.x += t.clientLeft, l.y += t.clientTop) : o && (l.x = m_(o))), {
|
|
59038
59069
|
x: s.left + a.scrollLeft - l.x,
|
|
59039
59070
|
y: s.top + a.scrollTop - l.y,
|
|
59040
59071
|
width: s.width,
|
|
@@ -64495,7 +64526,7 @@ const LF = (e) => {
|
|
|
64495
64526
|
className: "[&>button]:aspect-square [&>button]:px-0",
|
|
64496
64527
|
label: "Close link popup",
|
|
64497
64528
|
hideLabel: !0,
|
|
64498
|
-
icon:
|
|
64529
|
+
icon: br
|
|
64499
64530
|
}
|
|
64500
64531
|
),
|
|
64501
64532
|
/* @__PURE__ */ R(
|
|
@@ -65312,7 +65343,7 @@ const Vx = ({
|
|
|
65312
65343
|
const o = n.getAttribute("style"), s = (r = (i = n.parentElement) === null || i === void 0 ? void 0 : i.closest("span")) === null || r === void 0 ? void 0 : r.getAttribute("style");
|
|
65313
65344
|
n.setAttribute("style", `${s};${o}`);
|
|
65314
65345
|
});
|
|
65315
|
-
}, M2e =
|
|
65346
|
+
}, M2e = wr.create({
|
|
65316
65347
|
name: "textStyle",
|
|
65317
65348
|
priority: 101,
|
|
65318
65349
|
addOptions() {
|
|
@@ -65884,7 +65915,7 @@ const Xg = (e, t) => t.view.domAtPos(e).node.offsetParent !== null, H2e = (e, t,
|
|
|
65884
65915
|
0
|
|
65885
65916
|
];
|
|
65886
65917
|
}
|
|
65887
|
-
}), q2e = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/, K2e = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g, G2e =
|
|
65918
|
+
}), q2e = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/, K2e = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g, G2e = wr.create({
|
|
65888
65919
|
name: "highlight",
|
|
65889
65920
|
addOptions() {
|
|
65890
65921
|
return {
|
|
@@ -66743,7 +66774,7 @@ function ka(e, t) {
|
|
|
66743
66774
|
"i"
|
|
66744
66775
|
));
|
|
66745
66776
|
}
|
|
66746
|
-
const y3e =
|
|
66777
|
+
const y3e = wr.create({
|
|
66747
66778
|
name: "link",
|
|
66748
66779
|
priority: 1e3,
|
|
66749
66780
|
keepOnSplit: !1,
|
|
@@ -69164,7 +69195,7 @@ const O_e = Qt.create({
|
|
|
69164
69195
|
const e = [];
|
|
69165
69196
|
return this.options.emDash !== !1 && e.push(D_e(this.options.emDash)), this.options.ellipsis !== !1 && e.push(M_e(this.options.ellipsis)), this.options.openDoubleQuote !== !1 && e.push(P_e(this.options.openDoubleQuote)), this.options.closeDoubleQuote !== !1 && e.push(R_e(this.options.closeDoubleQuote)), this.options.openSingleQuote !== !1 && e.push(L_e(this.options.openSingleQuote)), this.options.closeSingleQuote !== !1 && e.push(F_e(this.options.closeSingleQuote)), this.options.leftArrow !== !1 && e.push($_e(this.options.leftArrow)), this.options.rightArrow !== !1 && e.push(B_e(this.options.rightArrow)), this.options.copyright !== !1 && e.push(z_e(this.options.copyright)), this.options.trademark !== !1 && e.push(j_e(this.options.trademark)), this.options.servicemark !== !1 && e.push(H_e(this.options.servicemark)), this.options.registeredTrademark !== !1 && e.push(V_e(this.options.registeredTrademark)), this.options.oneHalf !== !1 && e.push(W_e(this.options.oneHalf)), this.options.plusMinus !== !1 && e.push(U_e(this.options.plusMinus)), this.options.notEqual !== !1 && e.push(q_e(this.options.notEqual)), this.options.laquo !== !1 && e.push(K_e(this.options.laquo)), this.options.raquo !== !1 && e.push(G_e(this.options.raquo)), this.options.multiplication !== !1 && e.push(Y_e(this.options.multiplication)), this.options.superscriptTwo !== !1 && e.push(X_e(this.options.superscriptTwo)), this.options.superscriptThree !== !1 && e.push(J_e(this.options.superscriptThree)), this.options.oneQuarter !== !1 && e.push(Z_e(this.options.oneQuarter)), this.options.threeQuarters !== !1 && e.push(Q_e(this.options.threeQuarters)), e;
|
|
69166
69197
|
}
|
|
69167
|
-
}), t4e =
|
|
69198
|
+
}), t4e = wr.create({
|
|
69168
69199
|
name: "underline",
|
|
69169
69200
|
addOptions() {
|
|
69170
69201
|
return {
|
|
@@ -69237,7 +69268,7 @@ const O_e = Qt.create({
|
|
|
69237
69268
|
})
|
|
69238
69269
|
];
|
|
69239
69270
|
}
|
|
69240
|
-
}), r4e = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, o4e = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g, s4e = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/, a4e = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g, l4e =
|
|
69271
|
+
}), r4e = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, o4e = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g, s4e = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/, a4e = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g, l4e = wr.create({
|
|
69241
69272
|
name: "bold",
|
|
69242
69273
|
addOptions() {
|
|
69243
69274
|
return {
|
|
@@ -69351,7 +69382,7 @@ const O_e = Qt.create({
|
|
|
69351
69382
|
e
|
|
69352
69383
|
];
|
|
69353
69384
|
}
|
|
69354
|
-
}), f4e = /(^|[^`])`([^`]+)`(?!`)/, u4e = /(^|[^`])`([^`]+)`(?!`)/g, h4e =
|
|
69385
|
+
}), f4e = /(^|[^`])`([^`]+)`(?!`)/, u4e = /(^|[^`])`([^`]+)`(?!`)/g, h4e = wr.create({
|
|
69355
69386
|
name: "code",
|
|
69356
69387
|
addOptions() {
|
|
69357
69388
|
return {
|
|
@@ -69838,7 +69869,7 @@ var S4e = /* @__PURE__ */ (function(e) {
|
|
|
69838
69869
|
}, t;
|
|
69839
69870
|
})(Rn);
|
|
69840
69871
|
const C4e = 500;
|
|
69841
|
-
class
|
|
69872
|
+
class Mr {
|
|
69842
69873
|
constructor(t, n) {
|
|
69843
69874
|
this.items = t, this.eventCount = n;
|
|
69844
69875
|
}
|
|
@@ -69868,7 +69899,7 @@ class Dr {
|
|
|
69868
69899
|
} else
|
|
69869
69900
|
s.maybeStep(f.step);
|
|
69870
69901
|
if (f.selection)
|
|
69871
|
-
return a = r ? f.selection.map(r.slice(o)) : f.selection, l = new
|
|
69902
|
+
return a = r ? f.selection.map(r.slice(o)) : f.selection, l = new Mr(this.items.slice(0, i).append(d.reverse().concat(c)), this.eventCount - 1), !1;
|
|
69872
69903
|
}, this.items.length, 0), { remaining: l, transform: s, selection: a };
|
|
69873
69904
|
}
|
|
69874
69905
|
// Create a new branch with the given transform added.
|
|
@@ -69879,7 +69910,7 @@ class Dr {
|
|
|
69879
69910
|
(h = l && l.merge(u)) && (u = h, d ? o.pop() : a = a.slice(0, a.length - 1)), o.push(u), n && (s++, n = void 0), r || (l = u);
|
|
69880
69911
|
}
|
|
69881
69912
|
let c = s - i.depth;
|
|
69882
|
-
return c > N4e && (a = E4e(a, c), s -= c), new
|
|
69913
|
+
return c > N4e && (a = E4e(a, c), s -= c), new Mr(a.append(o), s);
|
|
69883
69914
|
}
|
|
69884
69915
|
remapping(t, n) {
|
|
69885
69916
|
let i = new Nu();
|
|
@@ -69889,7 +69920,7 @@ class Dr {
|
|
|
69889
69920
|
}, t, n), i;
|
|
69890
69921
|
}
|
|
69891
69922
|
addMaps(t) {
|
|
69892
|
-
return this.eventCount == 0 ? this : new
|
|
69923
|
+
return this.eventCount == 0 ? this : new Mr(this.items.append(t.map((n) => new Cs(n))), this.eventCount);
|
|
69893
69924
|
}
|
|
69894
69925
|
// When the collab module receives remote changes, the history has
|
|
69895
69926
|
// to know about those, so that it can adjust the steps that were
|
|
@@ -69918,7 +69949,7 @@ class Dr {
|
|
|
69918
69949
|
let c = [];
|
|
69919
69950
|
for (let u = n; u < s; u++)
|
|
69920
69951
|
c.push(new Cs(o.maps[u]));
|
|
69921
|
-
let d = this.items.slice(0, r).append(c).append(i), f = new
|
|
69952
|
+
let d = this.items.slice(0, r).append(c).append(i), f = new Mr(d, a);
|
|
69922
69953
|
return f.emptyItemCount() > C4e && (f = f.compress(this.items.length - i.length)), f;
|
|
69923
69954
|
}
|
|
69924
69955
|
emptyItemCount() {
|
|
@@ -69947,10 +69978,10 @@ class Dr {
|
|
|
69947
69978
|
(u = r.length && r[h].merge(f)) ? r[h] = u : r.push(f);
|
|
69948
69979
|
}
|
|
69949
69980
|
} else s.map && i--;
|
|
69950
|
-
}, this.items.length, 0), new
|
|
69981
|
+
}, this.items.length, 0), new Mr(Rn.from(r.reverse()), o);
|
|
69951
69982
|
}
|
|
69952
69983
|
}
|
|
69953
|
-
|
|
69984
|
+
Mr.empty = new Mr(Rn.empty, 0);
|
|
69954
69985
|
function E4e(e, t) {
|
|
69955
69986
|
let n;
|
|
69956
69987
|
return e.forEach((i, r) => {
|
|
@@ -69988,7 +70019,7 @@ function A4e(e, t, n, i) {
|
|
|
69988
70019
|
return s.getMeta(Ka).redo ? new Os(e.done.addTransform(n, void 0, i, km(t)), e.undone, RA(n.mapping.maps), e.prevTime, e.prevComposition) : new Os(e.done, e.undone.addTransform(n, void 0, i, km(t)), null, e.prevTime, e.prevComposition);
|
|
69989
70020
|
if (n.getMeta("addToHistory") !== !1 && !(s && s.getMeta("addToHistory") === !1)) {
|
|
69990
70021
|
let a = n.getMeta("composition"), l = e.prevTime == 0 || !s && e.prevComposition != a && (e.prevTime < (n.time || 0) - i.newGroupDelay || !T4e(n, e.prevRanges)), c = s ? _b(e.prevRanges, n.mapping) : RA(n.mapping.maps);
|
|
69991
|
-
return new Os(e.done.addTransform(n, l ? t.selection.getBookmark() : void 0, i, km(t)),
|
|
70022
|
+
return new Os(e.done.addTransform(n, l ? t.selection.getBookmark() : void 0, i, km(t)), Mr.empty, c, n.time, a ?? e.prevComposition);
|
|
69992
70023
|
} else return (o = n.getMeta("rebased")) ? new Os(e.done.rebased(n, o), e.undone.rebased(n, o), _b(e.prevRanges, n.mapping), e.prevTime, e.prevComposition) : new Os(e.done.addMaps(n.mapping.maps), e.undone.addMaps(n.mapping.maps), _b(e.prevRanges, n.mapping), e.prevTime, e.prevComposition);
|
|
69993
70024
|
}
|
|
69994
70025
|
function T4e(e, t) {
|
|
@@ -70047,7 +70078,7 @@ function D4e(e = {}) {
|
|
|
70047
70078
|
key: Ka,
|
|
70048
70079
|
state: {
|
|
70049
70080
|
init() {
|
|
70050
|
-
return new Os(
|
|
70081
|
+
return new Os(Mr.empty, Mr.empty, null, 0, -1);
|
|
70051
70082
|
},
|
|
70052
70083
|
apply(t, n, i) {
|
|
70053
70084
|
return A4e(n, i, t, e);
|
|
@@ -70155,7 +70186,7 @@ const s$ = o$(!1, !0), a$ = o$(!0, !0), M4e = At.create({
|
|
|
70155
70186
|
})
|
|
70156
70187
|
];
|
|
70157
70188
|
}
|
|
70158
|
-
}), R4e = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, L4e = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g, F4e = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/, $4e = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g, B4e =
|
|
70189
|
+
}), R4e = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, L4e = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g, F4e = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/, $4e = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g, B4e = wr.create({
|
|
70159
70190
|
name: "italic",
|
|
70160
70191
|
addOptions() {
|
|
70161
70192
|
return {
|
|
@@ -70342,7 +70373,7 @@ const s$ = o$(!1, !0), a$ = o$(!0, !0), M4e = At.create({
|
|
|
70342
70373
|
"Mod-Alt-0": () => this.editor.commands.setParagraph()
|
|
70343
70374
|
};
|
|
70344
70375
|
}
|
|
70345
|
-
}), W4e = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/, U4e = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g, q4e =
|
|
70376
|
+
}), W4e = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/, U4e = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g, q4e = wr.create({
|
|
70346
70377
|
name: "strike",
|
|
70347
70378
|
addOptions() {
|
|
70348
70379
|
return {
|
|
@@ -71006,7 +71037,7 @@ const sSe = "mention", aSe = tSe.extend({
|
|
|
71006
71037
|
De,
|
|
71007
71038
|
{
|
|
71008
71039
|
variant: "ghost",
|
|
71009
|
-
icon:
|
|
71040
|
+
icon: br,
|
|
71010
71041
|
size: "sm",
|
|
71011
71042
|
hideLabel: !0,
|
|
71012
71043
|
onClick: n,
|
|
@@ -73142,7 +73173,7 @@ const iCe = ({
|
|
|
73142
73173
|
}
|
|
73143
73174
|
)
|
|
73144
73175
|
] }) : e.subActions || o ? /* @__PURE__ */ m(
|
|
73145
|
-
|
|
73176
|
+
mr,
|
|
73146
73177
|
{
|
|
73147
73178
|
items: n,
|
|
73148
73179
|
onClick: i,
|
|
@@ -73299,7 +73330,7 @@ const iCe = ({
|
|
|
73299
73330
|
{
|
|
73300
73331
|
label: x.ai.cancelRecording,
|
|
73301
73332
|
hideLabel: !0,
|
|
73302
|
-
icon:
|
|
73333
|
+
icon: br,
|
|
73303
73334
|
variant: "outline",
|
|
73304
73335
|
size: "md",
|
|
73305
73336
|
onClick: (P) => {
|
|
@@ -73386,7 +73417,7 @@ const iCe = ({
|
|
|
73386
73417
|
disabled: l,
|
|
73387
73418
|
hideLabel: !0,
|
|
73388
73419
|
label: x.actions.close,
|
|
73389
|
-
icon:
|
|
73420
|
+
icon: br
|
|
73390
73421
|
}
|
|
73391
73422
|
),
|
|
73392
73423
|
/* @__PURE__ */ m(
|
|
@@ -73580,7 +73611,7 @@ const iCe = ({
|
|
|
73580
73611
|
disabled: n.disableButtons,
|
|
73581
73612
|
hideLabel: !0,
|
|
73582
73613
|
label: l.actions.close,
|
|
73583
|
-
icon:
|
|
73614
|
+
icon: br
|
|
73584
73615
|
}
|
|
73585
73616
|
),
|
|
73586
73617
|
/* @__PURE__ */ m(cl, {}),
|
|
@@ -74096,7 +74127,7 @@ function PCe({
|
|
|
74096
74127
|
error: n,
|
|
74097
74128
|
status: r,
|
|
74098
74129
|
loading: i,
|
|
74099
|
-
size:
|
|
74130
|
+
size: Sr,
|
|
74100
74131
|
hideLabel: !0
|
|
74101
74132
|
};
|
|
74102
74133
|
return e.multiple ? /* @__PURE__ */ m(
|
|
@@ -74151,7 +74182,7 @@ function RCe({
|
|
|
74151
74182
|
error: n,
|
|
74152
74183
|
status: r,
|
|
74153
74184
|
loading: i,
|
|
74154
|
-
size:
|
|
74185
|
+
size: Sr,
|
|
74155
74186
|
hideLabel: !0
|
|
74156
74187
|
};
|
|
74157
74188
|
return e.multiple ? /* @__PURE__ */ m(
|
|
@@ -74243,7 +74274,7 @@ function zCe({
|
|
|
74243
74274
|
placeholder: a,
|
|
74244
74275
|
disabled: e.disabled,
|
|
74245
74276
|
value: t.value != null ? String(t.value) : "",
|
|
74246
|
-
size:
|
|
74277
|
+
size: Sr,
|
|
74247
74278
|
hideLabel: !0,
|
|
74248
74279
|
error: n,
|
|
74249
74280
|
status: r,
|
|
@@ -74278,7 +74309,7 @@ function jCe({
|
|
|
74278
74309
|
maxLength: e.maxLength,
|
|
74279
74310
|
maxHeight: e.maxHeight,
|
|
74280
74311
|
value: t.value != null ? String(t.value) : "",
|
|
74281
|
-
size:
|
|
74312
|
+
size: Sr,
|
|
74282
74313
|
hideLabel: !0,
|
|
74283
74314
|
error: n,
|
|
74284
74315
|
status: r,
|
|
@@ -75225,7 +75256,7 @@ function C5e({
|
|
|
75225
75256
|
isFormLoading: s
|
|
75226
75257
|
});
|
|
75227
75258
|
}
|
|
75228
|
-
function
|
|
75259
|
+
function vr({ field: e, sectionId: t }) {
|
|
75229
75260
|
const n = ls(), i = q_(), { isSubmitting: r } = n.formState, {
|
|
75230
75261
|
formName: o,
|
|
75231
75262
|
isLoading: s,
|
|
@@ -75241,7 +75272,7 @@ function yr({ field: e, sectionId: t }) {
|
|
|
75241
75272
|
n.setValue(e.id, S, { shouldValidate: !1 });
|
|
75242
75273
|
}
|
|
75243
75274
|
}, [y, e.resetOnDisable, e.id, n]);
|
|
75244
|
-
const v = !e.renderIf || ca(e.renderIf, i), b = e.type !== "checkbox" && e.type !== "custom" && e.type !== "entitiesList" && !(e.type === "cardSelect" && e.hideLabel), x = e.type !== "custom" && e.type !== "entitiesList", w = e.validation && Z2(e.validation, e.type), k =
|
|
75275
|
+
const v = !e.renderIf || ca(e.renderIf, i), b = e.type !== "checkbox" && e.type !== "custom" && e.type !== "entitiesList" && !(e.type === "cardSelect" && e.hideLabel), x = e.type !== "custom" && e.type !== "entitiesList", w = e.validation && Z2(e.validation, e.type), k = Br(o, t, e.id);
|
|
75245
75276
|
return v ? c ? /* @__PURE__ */ m(
|
|
75246
75277
|
tm,
|
|
75247
75278
|
{
|
|
@@ -75351,7 +75382,7 @@ function K_({
|
|
|
75351
75382
|
fields: e,
|
|
75352
75383
|
sectionId: t
|
|
75353
75384
|
}) {
|
|
75354
|
-
return e.length === 0 ? null : /* @__PURE__ */ m(s5e, { children: e.map((n) => /* @__PURE__ */ m(
|
|
75385
|
+
return e.length === 0 ? null : /* @__PURE__ */ m(s5e, { children: e.map((n) => /* @__PURE__ */ m(vr, { field: n, sectionId: t }, n.id)) });
|
|
75355
75386
|
}
|
|
75356
75387
|
function L$(e) {
|
|
75357
75388
|
const t = F(/* @__PURE__ */ new Map()), n = K(
|
|
@@ -75375,7 +75406,7 @@ function rd({ row: e, sectionId: t }) {
|
|
|
75375
75406
|
"div",
|
|
75376
75407
|
{
|
|
75377
75408
|
className: `flex @[480px]:flex-row flex-col items-start ${W2} [&>*]:flex-1 [&>*]:w-full`,
|
|
75378
|
-
children: e.fields.map((n) => /* @__PURE__ */ m(
|
|
75409
|
+
children: e.fields.map((n) => /* @__PURE__ */ m(vr, { field: n, sectionId: t }, n.id))
|
|
75379
75410
|
}
|
|
75380
75411
|
) });
|
|
75381
75412
|
}
|
|
@@ -75401,7 +75432,7 @@ function G_(e, t) {
|
|
|
75401
75432
|
},
|
|
75402
75433
|
o.fields.map((s) => s.id).join("-")
|
|
75403
75434
|
) : /* @__PURE__ */ m(
|
|
75404
|
-
|
|
75435
|
+
vr,
|
|
75405
75436
|
{
|
|
75406
75437
|
field: o,
|
|
75407
75438
|
sectionId: t
|
|
@@ -75521,7 +75552,7 @@ const Eb = "f0-form-error-navigate", Nb = /* @__PURE__ */ new WeakMap();
|
|
|
75521
75552
|
function ak(e, t) {
|
|
75522
75553
|
if (typeof document > "u")
|
|
75523
75554
|
return null;
|
|
75524
|
-
const n =
|
|
75555
|
+
const n = Br(e, void 0, t), i = document.getElementById(n);
|
|
75525
75556
|
if (i)
|
|
75526
75557
|
return i;
|
|
75527
75558
|
const r = `forms.${e}.`, o = `.${t}`;
|
|
@@ -75579,7 +75610,7 @@ function $$({
|
|
|
75579
75610
|
}) {
|
|
75580
75611
|
return t.map((r) => {
|
|
75581
75612
|
const o = r.errorFieldIds ?? [], s = r.fields.filter((a) => X_(a, r.values)).map((a) => ({
|
|
75582
|
-
id:
|
|
75613
|
+
id: Br(e, r.id, a.id),
|
|
75583
75614
|
label: a.label || a.id,
|
|
75584
75615
|
onClick: () => i(r.id, a.id),
|
|
75585
75616
|
hasError: o.includes(a.id)
|
|
@@ -75596,7 +75627,7 @@ function $$({
|
|
|
75596
75627
|
}
|
|
75597
75628
|
function lk(e, t, n) {
|
|
75598
75629
|
const i = document.getElementById(
|
|
75599
|
-
|
|
75630
|
+
Br(e, t, n)
|
|
75600
75631
|
);
|
|
75601
75632
|
i && F$(i, { highlight: !0 });
|
|
75602
75633
|
}
|
|
@@ -76183,7 +76214,7 @@ function J_({
|
|
|
76183
76214
|
},
|
|
76184
76215
|
nT(A)
|
|
76185
76216
|
) : /* @__PURE__ */ m(
|
|
76186
|
-
|
|
76217
|
+
vr,
|
|
76187
76218
|
{
|
|
76188
76219
|
field: A,
|
|
76189
76220
|
sectionId: i
|
|
@@ -76192,9 +76223,9 @@ function J_({
|
|
|
76192
76223
|
)
|
|
76193
76224
|
) }, C)
|
|
76194
76225
|
);
|
|
76195
|
-
return /* @__PURE__ */ m(Ah.Provider, { value: S, children: /* @__PURE__ */ m(
|
|
76226
|
+
return /* @__PURE__ */ m(Ah.Provider, { value: S, children: /* @__PURE__ */ m(vr, { field: k, sectionId: i }) }, k.id);
|
|
76196
76227
|
}
|
|
76197
|
-
return /* @__PURE__ */ m(
|
|
76228
|
+
return /* @__PURE__ */ m(vr, { field: k, sectionId: i }, k.id);
|
|
76198
76229
|
}) }) : void 0
|
|
76199
76230
|
})),
|
|
76200
76231
|
[
|
|
@@ -76234,7 +76265,7 @@ function J_({
|
|
|
76234
76265
|
), b = Y(
|
|
76235
76266
|
() => c.map((x) => ({
|
|
76236
76267
|
fieldId: x.id,
|
|
76237
|
-
anchorId:
|
|
76268
|
+
anchorId: Br(o, i, x.id)
|
|
76238
76269
|
})),
|
|
76239
76270
|
[c, o, i]
|
|
76240
76271
|
);
|
|
@@ -76572,7 +76603,7 @@ function R5e({
|
|
|
76572
76603
|
t
|
|
76573
76604
|
),
|
|
76574
76605
|
children: /* @__PURE__ */ m(
|
|
76575
|
-
|
|
76606
|
+
vr,
|
|
76576
76607
|
{
|
|
76577
76608
|
field: ee.item.field,
|
|
76578
76609
|
sectionId: t
|
|
@@ -76580,7 +76611,7 @@ function R5e({
|
|
|
76580
76611
|
)
|
|
76581
76612
|
}
|
|
76582
76613
|
) : /* @__PURE__ */ m(
|
|
76583
|
-
|
|
76614
|
+
vr,
|
|
76584
76615
|
{
|
|
76585
76616
|
field: ee.item.field,
|
|
76586
76617
|
sectionId: t
|
|
@@ -76620,7 +76651,7 @@ function oT({ section: e }) {
|
|
|
76620
76651
|
const t = q_(), { formName: n, inline: i } = U2(), { title: r, description: o, withInset: s, renderIf: a, action: l, link: c, fields: d } = e.section, f = e.id;
|
|
76621
76652
|
if (a && !ca(a, t))
|
|
76622
76653
|
return null;
|
|
76623
|
-
const u = Y_(d), h =
|
|
76654
|
+
const u = Y_(d), h = Br(n, f);
|
|
76624
76655
|
return /* @__PURE__ */ R(
|
|
76625
76656
|
"section",
|
|
76626
76657
|
{
|
|
@@ -76675,7 +76706,7 @@ function oT({ section: e }) {
|
|
|
76675
76706
|
f
|
|
76676
76707
|
),
|
|
76677
76708
|
children: /* @__PURE__ */ m(
|
|
76678
|
-
|
|
76709
|
+
vr,
|
|
76679
76710
|
{
|
|
76680
76711
|
field: p.item.field,
|
|
76681
76712
|
sectionId: f
|
|
@@ -76684,7 +76715,7 @@ function oT({ section: e }) {
|
|
|
76684
76715
|
)
|
|
76685
76716
|
}
|
|
76686
76717
|
) : /* @__PURE__ */ m(
|
|
76687
|
-
|
|
76718
|
+
vr,
|
|
76688
76719
|
{
|
|
76689
76720
|
field: p.item.field,
|
|
76690
76721
|
sectionId: f
|
|
@@ -76986,7 +77017,7 @@ function X5e({
|
|
|
76986
77017
|
v(C);
|
|
76987
77018
|
const E = C ?? document.documentElement, A = q$(C, window.innerHeight).top + (parseFloat(getComputedStyle(f).top) || 0) + W5e, T = ck(E) && E.scrollTop + E.clientHeight >= E.scrollHeight - 1, I = [];
|
|
76988
77019
|
for (const N of S) {
|
|
76989
|
-
const M = document.getElementById(
|
|
77020
|
+
const M = document.getElementById(Br(n, N));
|
|
76990
77021
|
M && M.getClientRects().length > 0 && I.push({ id: N, top: M.getBoundingClientRect().top });
|
|
76991
77022
|
}
|
|
76992
77023
|
const D = K5e(I, A, T);
|
|
@@ -77202,7 +77233,7 @@ function Y$(e) {
|
|
|
77202
77233
|
(se) => {
|
|
77203
77234
|
if (L)
|
|
77204
77235
|
return;
|
|
77205
|
-
const ce =
|
|
77236
|
+
const ce = Br(t, se), be = document.getElementById(ce);
|
|
77206
77237
|
be && be.scrollIntoView({ behavior: "smooth", block: "start" });
|
|
77207
77238
|
},
|
|
77208
77239
|
[t, L]
|
|
@@ -77398,7 +77429,7 @@ function Y$(e) {
|
|
|
77398
77429
|
return be ? (Z_(we) && V$(t, se, "content-with-schema"), /* @__PURE__ */ m(
|
|
77399
77430
|
"div",
|
|
77400
77431
|
{
|
|
77401
|
-
id:
|
|
77432
|
+
id: Br(t, se),
|
|
77402
77433
|
className: ze,
|
|
77403
77434
|
children: /* @__PURE__ */ m(
|
|
77404
77435
|
R5e,
|
|
@@ -77427,7 +77458,7 @@ function Y$(e) {
|
|
|
77427
77458
|
)) : /* @__PURE__ */ m(
|
|
77428
77459
|
"div",
|
|
77429
77460
|
{
|
|
77430
|
-
id:
|
|
77461
|
+
id: Br(t, se),
|
|
77431
77462
|
className: ze,
|
|
77432
77463
|
children: /* @__PURE__ */ m(
|
|
77433
77464
|
_Q,
|
|
@@ -77855,7 +77886,7 @@ function Z$(e) {
|
|
|
77855
77886
|
), ne = F(null), le = K(
|
|
77856
77887
|
(Fe) => {
|
|
77857
77888
|
j(Fe);
|
|
77858
|
-
const Ve = ne.current, ft =
|
|
77889
|
+
const Ve = ne.current, ft = Br(i, Fe), mt = document.getElementById(ft);
|
|
77859
77890
|
if (mt) {
|
|
77860
77891
|
if (b) {
|
|
77861
77892
|
$5e(Ve, mt);
|
|
@@ -78108,10 +78139,10 @@ function Z$(e) {
|
|
|
78108
78139
|
re,
|
|
78109
78140
|
fe
|
|
78110
78141
|
]
|
|
78111
|
-
), Ri = qV(),
|
|
78142
|
+
), Ri = qV(), Cr = F(null), hs = u ?? Cr;
|
|
78112
78143
|
ie(() => {
|
|
78113
78144
|
if (Ri)
|
|
78114
|
-
return u || (
|
|
78145
|
+
return u || (Cr.current = Sn()), Ri.register(
|
|
78115
78146
|
i,
|
|
78116
78147
|
hs,
|
|
78117
78148
|
r,
|
|
@@ -78231,9 +78262,9 @@ function Z$(e) {
|
|
|
78231
78262
|
value: G_(
|
|
78232
78263
|
Fe.cardSelectDependentFields
|
|
78233
78264
|
),
|
|
78234
|
-
children: /* @__PURE__ */ m(
|
|
78265
|
+
children: /* @__PURE__ */ m(vr, { field: Fe.item.field })
|
|
78235
78266
|
}
|
|
78236
|
-
) : /* @__PURE__ */ m(
|
|
78267
|
+
) : /* @__PURE__ */ m(vr, { field: Fe.item.field });
|
|
78237
78268
|
return /* @__PURE__ */ m(
|
|
78238
78269
|
"div",
|
|
78239
78270
|
{
|
|
@@ -78347,8 +78378,8 @@ function AOe({
|
|
|
78347
78378
|
}, [e]);
|
|
78348
78379
|
return { isFullscreen: t, toggleFullscreen: i };
|
|
78349
78380
|
}
|
|
78350
|
-
const
|
|
78351
|
-
const t =
|
|
78381
|
+
const zr = () => /* @__PURE__ */ new Map(), dk = (e) => {
|
|
78382
|
+
const t = zr();
|
|
78352
78383
|
return e.forEach((n, i) => {
|
|
78353
78384
|
t.set(i, n);
|
|
78354
78385
|
}), t;
|
|
@@ -78376,7 +78407,7 @@ const Br = () => /* @__PURE__ */ new Map(), dk = (e) => {
|
|
|
78376
78407
|
}, fk = Array.isArray;
|
|
78377
78408
|
class eB {
|
|
78378
78409
|
constructor() {
|
|
78379
|
-
this._observers =
|
|
78410
|
+
this._observers = zr();
|
|
78380
78411
|
}
|
|
78381
78412
|
/**
|
|
78382
78413
|
* @template {keyof EVENTS & string} NAME
|
|
@@ -78430,10 +78461,10 @@ class eB {
|
|
|
78430
78461
|
* @param {Parameters<EVENTS[NAME]>} args The arguments that are applied to the event listener.
|
|
78431
78462
|
*/
|
|
78432
78463
|
emit(t, n) {
|
|
78433
|
-
return hl((this._observers.get(t) ||
|
|
78464
|
+
return hl((this._observers.get(t) || zr()).values()).forEach((i) => i(...n));
|
|
78434
78465
|
}
|
|
78435
78466
|
destroy() {
|
|
78436
|
-
this._observers =
|
|
78467
|
+
this._observers = zr();
|
|
78437
78468
|
}
|
|
78438
78469
|
}
|
|
78439
78470
|
const ns = Math.floor, Sm = Math.abs, od = (e, t) => e < t ? e : t, Qs = (e, t) => e > t ? e : t, tB = (e) => e !== 0 ? e < 0 : 1 / e < 0, fT = 1, uT = 2, Ob = 4, Ib = 8, Hu = 32, Yo = 64, fi = 128, hEe = 1 << 29, mv = 31, uk = 63, Ya = 127, pEe = 2147483647, nB = Number.MAX_SAFE_INTEGER, mEe = Number.isInteger || ((e) => typeof e == "number" && isFinite(e) && ns(e) === e), gEe = String.fromCharCode, yEe = (e) => e.toLowerCase(), vEe = /^\s*/g, bEe = (e) => e.replace(vEe, ""), wEe = /([A-Z])/g, hT = (e, t) => bEe(e.replace(wEe, (n) => `${t}${yEe(n)}`)), xEe = (e) => {
|
|
@@ -78455,13 +78486,13 @@ class Vh {
|
|
|
78455
78486
|
}
|
|
78456
78487
|
const Wh = () => new Vh(), SEe = (e) => {
|
|
78457
78488
|
const t = Wh();
|
|
78458
|
-
return e(t),
|
|
78489
|
+
return e(t), Fr(t);
|
|
78459
78490
|
}, CEe = (e) => {
|
|
78460
78491
|
let t = e.cpos;
|
|
78461
78492
|
for (let n = 0; n < e.bufs.length; n++)
|
|
78462
78493
|
t += e.bufs[n].length;
|
|
78463
78494
|
return t;
|
|
78464
|
-
},
|
|
78495
|
+
}, Fr = (e) => {
|
|
78465
78496
|
const t = new Uint8Array(CEe(e));
|
|
78466
78497
|
let n = 0;
|
|
78467
78498
|
for (let i = 0; i < e.bufs.length; i++) {
|
|
@@ -78583,7 +78614,7 @@ class Cm {
|
|
|
78583
78614
|
* Note that this should only be called once.
|
|
78584
78615
|
*/
|
|
78585
78616
|
toUint8Array() {
|
|
78586
|
-
return gT(this),
|
|
78617
|
+
return gT(this), Fr(this.encoder);
|
|
78587
78618
|
}
|
|
78588
78619
|
}
|
|
78589
78620
|
const yT = (e) => {
|
|
@@ -78608,7 +78639,7 @@ class Db {
|
|
|
78608
78639
|
* Note that this should only be called once.
|
|
78609
78640
|
*/
|
|
78610
78641
|
toUint8Array() {
|
|
78611
|
-
return yT(this),
|
|
78642
|
+
return yT(this), Fr(this.encoder);
|
|
78612
78643
|
}
|
|
78613
78644
|
}
|
|
78614
78645
|
class PEe {
|
|
@@ -78623,10 +78654,10 @@ class PEe {
|
|
|
78623
78654
|
}
|
|
78624
78655
|
toUint8Array() {
|
|
78625
78656
|
const t = new Vh();
|
|
78626
|
-
return this.sarr.push(this.s), this.s = "", yc(t, this.sarr.join("")), gv(t, this.lensE.toUint8Array()),
|
|
78657
|
+
return this.sarr.push(this.s), this.s = "", yc(t, this.sarr.join("")), gv(t, this.lensE.toUint8Array()), Fr(t);
|
|
78627
78658
|
}
|
|
78628
78659
|
}
|
|
78629
|
-
const ea = (e) => new Error(e),
|
|
78660
|
+
const ea = (e) => new Error(e), jr = () => {
|
|
78630
78661
|
throw ea("Method unimplemented");
|
|
78631
78662
|
}, Mi = () => {
|
|
78632
78663
|
throw ea("Unexpected case");
|
|
@@ -78858,7 +78889,7 @@ let Qr;
|
|
|
78858
78889
|
const s6e = () => {
|
|
78859
78890
|
if (Qr === void 0)
|
|
78860
78891
|
if (ad) {
|
|
78861
|
-
Qr =
|
|
78892
|
+
Qr = zr();
|
|
78862
78893
|
const e = process.argv;
|
|
78863
78894
|
let t = null;
|
|
78864
78895
|
for (let n = 0; n < e.length; n++) {
|
|
@@ -78866,12 +78897,12 @@ const s6e = () => {
|
|
|
78866
78897
|
i[0] === "-" ? (t !== null && Qr.set(t, ""), t = i) : t !== null && (Qr.set(t, i), t = null);
|
|
78867
78898
|
}
|
|
78868
78899
|
t !== null && Qr.set(t, "");
|
|
78869
|
-
} else typeof location == "object" ? (Qr =
|
|
78900
|
+
} else typeof location == "object" ? (Qr = zr(), (location.search || "?").slice(1).split("&").forEach((e) => {
|
|
78870
78901
|
if (e.length !== 0) {
|
|
78871
78902
|
const [t, n] = e.split("=");
|
|
78872
78903
|
Qr.set(`--${hT(t, "-")}`, n), Qr.set(`-${hT(t, "-")}`, n);
|
|
78873
78904
|
}
|
|
78874
|
-
})) : Qr =
|
|
78905
|
+
})) : Qr = zr();
|
|
78875
78906
|
return Qr;
|
|
78876
78907
|
}, gk = (e) => s6e().has(e), Ny = (e) => wT(ad ? process.env[e.toUpperCase().replaceAll("-", "_")] : ZEe.getItem(e)), fB = (e) => gk("--" + e) || Ny(e) !== null;
|
|
78877
78908
|
fB("production");
|
|
@@ -78941,7 +78972,7 @@ const m6e = (e) => cEe(e, (t, n) => `${n}:${t};`).join(""), g6e = (e) => class {
|
|
|
78941
78972
|
e.length === 1 && e[0]?.constructor === Function && (e = /** @type {Array<string|Symbol|Object|number>} */
|
|
78942
78973
|
/** @type {[function]} */
|
|
78943
78974
|
e[0]());
|
|
78944
|
-
const t = [], n = [], i =
|
|
78975
|
+
const t = [], n = [], i = zr();
|
|
78945
78976
|
let r = [], o = 0;
|
|
78946
78977
|
for (; o < e.length; o++) {
|
|
78947
78978
|
const s = e[o], a = S6e[s];
|
|
@@ -79453,7 +79484,7 @@ class D6e {
|
|
|
79453
79484
|
this.restEncoder = Wh();
|
|
79454
79485
|
}
|
|
79455
79486
|
toUint8Array() {
|
|
79456
|
-
return
|
|
79487
|
+
return Fr(this.restEncoder);
|
|
79457
79488
|
}
|
|
79458
79489
|
resetDsCurVal() {
|
|
79459
79490
|
}
|
|
@@ -79552,7 +79583,7 @@ class P6e {
|
|
|
79552
79583
|
this.restEncoder = Wh(), this.dsCurrVal = 0;
|
|
79553
79584
|
}
|
|
79554
79585
|
toUint8Array() {
|
|
79555
|
-
return
|
|
79586
|
+
return Fr(this.restEncoder);
|
|
79556
79587
|
}
|
|
79557
79588
|
resetDsCurVal() {
|
|
79558
79589
|
this.dsCurrVal = 0;
|
|
@@ -79577,7 +79608,7 @@ class vv extends P6e {
|
|
|
79577
79608
|
}
|
|
79578
79609
|
toUint8Array() {
|
|
79579
79610
|
const t = Wh();
|
|
79580
|
-
return It(t, 0), Bi(t, this.keyClockEncoder.toUint8Array()), Bi(t, this.clientEncoder.toUint8Array()), Bi(t, this.leftClockEncoder.toUint8Array()), Bi(t, this.rightClockEncoder.toUint8Array()), Bi(t,
|
|
79611
|
+
return It(t, 0), Bi(t, this.keyClockEncoder.toUint8Array()), Bi(t, this.clientEncoder.toUint8Array()), Bi(t, this.leftClockEncoder.toUint8Array()), Bi(t, this.rightClockEncoder.toUint8Array()), Bi(t, Fr(this.infoEncoder)), Bi(t, this.stringEncoder.toUint8Array()), Bi(t, Fr(this.parentInfoEncoder)), Bi(t, this.typeRefEncoder.toUint8Array()), Bi(t, this.lenEncoder.toUint8Array()), gv(t, Fr(this.restEncoder)), Fr(t);
|
|
79581
79612
|
}
|
|
79582
79613
|
/**
|
|
79583
79614
|
* @param {ID} id
|
|
@@ -79688,7 +79719,7 @@ const R6e = (e, t, n, i) => {
|
|
|
79688
79719
|
);
|
|
79689
79720
|
});
|
|
79690
79721
|
}, L6e = (e, t) => {
|
|
79691
|
-
const n =
|
|
79722
|
+
const n = zr(), i = nn(e.restDecoder);
|
|
79692
79723
|
for (let r = 0; r < i; r++) {
|
|
79693
79724
|
const o = nn(e.restDecoder), s = new Array(o), a = e.readClient();
|
|
79694
79725
|
let l = nn(e.restDecoder);
|
|
@@ -79703,7 +79734,7 @@ const R6e = (e, t, n, i) => {
|
|
|
79703
79734
|
}
|
|
79704
79735
|
case 10: {
|
|
79705
79736
|
const f = nn(e.restDecoder);
|
|
79706
|
-
s[c] = new
|
|
79737
|
+
s[c] = new Pr(wt(a, l), f), l += f;
|
|
79707
79738
|
break;
|
|
79708
79739
|
}
|
|
79709
79740
|
default: {
|
|
@@ -79772,7 +79803,7 @@ const R6e = (e, t, n, i) => {
|
|
|
79772
79803
|
i.length = 0;
|
|
79773
79804
|
};
|
|
79774
79805
|
for (; ; ) {
|
|
79775
|
-
if (d.constructor !==
|
|
79806
|
+
if (d.constructor !== Pr) {
|
|
79776
79807
|
const p = fs(f, d.id.client, () => bn(t, d.id.client)) - d.id.clock;
|
|
79777
79808
|
if (p < 0)
|
|
79778
79809
|
i.push(d), c(d.id.client, d.id.clock - 1), u();
|
|
@@ -80411,7 +80442,7 @@ function* J6e(e) {
|
|
|
80411
80442
|
const a = e.readInfo();
|
|
80412
80443
|
if (a === 10) {
|
|
80413
80444
|
const l = nn(e.restDecoder);
|
|
80414
|
-
yield new
|
|
80445
|
+
yield new Pr(wt(r, o), l), o += l;
|
|
80415
80446
|
} else if ((mv & a) !== 0) {
|
|
80416
80447
|
const l = (a & (Yo | fi)) === 0, c = new Ht(
|
|
80417
80448
|
wt(r, o),
|
|
@@ -80453,7 +80484,7 @@ class Z6e {
|
|
|
80453
80484
|
next() {
|
|
80454
80485
|
do
|
|
80455
80486
|
this.curr = this.gen.next().value || null;
|
|
80456
|
-
while (this.filterSkips && this.curr !== null && this.curr.constructor ===
|
|
80487
|
+
while (this.filterSkips && this.curr !== null && this.curr.constructor === Pr);
|
|
80457
80488
|
return this.curr;
|
|
80458
80489
|
}
|
|
80459
80490
|
}
|
|
@@ -80469,9 +80500,9 @@ const eNe = (e, t) => {
|
|
|
80469
80500
|
if (e.constructor === pr) {
|
|
80470
80501
|
const { client: n, clock: i } = e.id;
|
|
80471
80502
|
return new pr(wt(n, i + t), e.length - t);
|
|
80472
|
-
} else if (e.constructor ===
|
|
80503
|
+
} else if (e.constructor === Pr) {
|
|
80473
80504
|
const { client: n, clock: i } = e.id;
|
|
80474
|
-
return new
|
|
80505
|
+
return new Pr(wt(n, i + t), e.length - t);
|
|
80475
80506
|
} else {
|
|
80476
80507
|
const n = (
|
|
80477
80508
|
/** @type {Item} */
|
|
@@ -80499,7 +80530,7 @@ const eNe = (e, t) => {
|
|
|
80499
80530
|
(u, h) => {
|
|
80500
80531
|
if (u.curr.id.client === h.curr.id.client) {
|
|
80501
80532
|
const p = u.curr.id.clock - h.curr.id.clock;
|
|
80502
|
-
return p === 0 ? u.curr.constructor === h.curr.constructor ? 0 : u.curr.constructor ===
|
|
80533
|
+
return p === 0 ? u.curr.constructor === h.curr.constructor ? 0 : u.curr.constructor === Pr ? 1 : -1 : p;
|
|
80503
80534
|
} else
|
|
80504
80535
|
return h.curr.id.client - u.curr.id.client;
|
|
80505
80536
|
}
|
|
@@ -80522,16 +80553,16 @@ const eNe = (e, t) => {
|
|
|
80522
80553
|
if (f !== o.struct.id.client)
|
|
80523
80554
|
Jd(a, o.struct, o.offset), o = { struct: u, offset: 0 }, d.next();
|
|
80524
80555
|
else if (o.struct.id.clock + o.struct.length < u.id.clock)
|
|
80525
|
-
if (o.struct.constructor ===
|
|
80556
|
+
if (o.struct.constructor === Pr)
|
|
80526
80557
|
o.struct.length = u.id.clock + u.length - o.struct.id.clock;
|
|
80527
80558
|
else {
|
|
80528
80559
|
Jd(a, o.struct, o.offset);
|
|
80529
80560
|
const p = u.id.clock - o.struct.id.clock - o.struct.length;
|
|
80530
|
-
o = { struct: new
|
|
80561
|
+
o = { struct: new Pr(wt(f, o.struct.id.clock + o.struct.length), p), offset: 0 };
|
|
80531
80562
|
}
|
|
80532
80563
|
else {
|
|
80533
80564
|
const p = o.struct.id.clock + o.struct.length - u.id.clock;
|
|
80534
|
-
p > 0 && (o.struct.constructor ===
|
|
80565
|
+
p > 0 && (o.struct.constructor === Pr ? o.struct.length -= p : u = eNe(u, p)), o.struct.mergeWith(
|
|
80535
80566
|
/** @type {any} */
|
|
80536
80567
|
u
|
|
80537
80568
|
) || (Jd(a, o.struct, o.offset), o = { struct: u, offset: 0 }, d.next());
|
|
@@ -80541,14 +80572,14 @@ const eNe = (e, t) => {
|
|
|
80541
80572
|
/** @type {Item | GC} */
|
|
80542
80573
|
d.curr
|
|
80543
80574
|
), offset: 0 }, d.next();
|
|
80544
|
-
for (let u = d.curr; u !== null && u.id.client === f && u.id.clock === o.struct.id.clock + o.struct.length && u.constructor !==
|
|
80575
|
+
for (let u = d.curr; u !== null && u.id.client === f && u.id.clock === o.struct.id.clock + o.struct.length && u.constructor !== Pr; u = d.next())
|
|
80545
80576
|
Jd(a, o.struct, o.offset), o = { struct: u, offset: 0 };
|
|
80546
80577
|
}
|
|
80547
80578
|
o !== null && (Jd(a, o.struct, o.offset), o = null), tNe(a);
|
|
80548
80579
|
const l = i.map((d) => O6e(d)), c = yk(l);
|
|
80549
80580
|
return l4(s, c), s.toUint8Array();
|
|
80550
80581
|
}, OB = (e) => {
|
|
80551
|
-
e.written > 0 && (e.clientStructs.push({ written: e.written, restEncoder:
|
|
80582
|
+
e.written > 0 && (e.clientStructs.push({ written: e.written, restEncoder: Fr(e.encoder.restEncoder) }), e.encoder.restEncoder = Wh(), e.written = 0);
|
|
80552
80583
|
}, Jd = (e, t, n) => {
|
|
80553
80584
|
e.written > 0 && e.currClient !== t.id.client && OB(e), e.written === 0 && (e.currClient = t.id.client, e.encoder.writeClient(t.id.client), It(e.encoder.restEncoder, t.id.clock + n)), t.write(e.encoder, n), e.written++;
|
|
80554
80585
|
}, tNe = (e) => {
|
|
@@ -80808,7 +80839,7 @@ class Ln {
|
|
|
80808
80839
|
* @return {AbstractType<EventType>}
|
|
80809
80840
|
*/
|
|
80810
80841
|
_copy() {
|
|
80811
|
-
throw
|
|
80842
|
+
throw jr();
|
|
80812
80843
|
}
|
|
80813
80844
|
/**
|
|
80814
80845
|
* Makes a copy of this data type that can be included somewhere else.
|
|
@@ -80818,7 +80849,7 @@ class Ln {
|
|
|
80818
80849
|
* @return {AbstractType<EventType>}
|
|
80819
80850
|
*/
|
|
80820
80851
|
clone() {
|
|
80821
|
-
throw
|
|
80852
|
+
throw jr();
|
|
80822
80853
|
}
|
|
80823
80854
|
/**
|
|
80824
80855
|
* @param {UpdateEncoderV1 | UpdateEncoderV2} _encoder
|
|
@@ -81672,7 +81703,7 @@ const MT = (e, t, n) => {
|
|
|
81672
81703
|
VB(e, t, n, a);
|
|
81673
81704
|
}, qB = (e, t, n, i, r) => {
|
|
81674
81705
|
let o = t;
|
|
81675
|
-
const s =
|
|
81706
|
+
const s = zr();
|
|
81676
81707
|
for (; o && (!o.countable || o.deleted); ) {
|
|
81677
81708
|
if (!o.deleted && o.content.constructor === En) {
|
|
81678
81709
|
const c = (
|
|
@@ -81726,7 +81757,7 @@ const MT = (e, t, n) => {
|
|
|
81726
81757
|
let i = (
|
|
81727
81758
|
/** @type {Item} */
|
|
81728
81759
|
e._start
|
|
81729
|
-
), r = e._start, o =
|
|
81760
|
+
), r = e._start, o = zr();
|
|
81730
81761
|
const s = dk(o);
|
|
81731
81762
|
for (; r; )
|
|
81732
81763
|
r.deleted === !1 && (r.content.constructor === En ? Md(
|
|
@@ -82905,7 +82936,7 @@ class h4 {
|
|
|
82905
82936
|
* @type {boolean}
|
|
82906
82937
|
*/
|
|
82907
82938
|
get deleted() {
|
|
82908
|
-
throw
|
|
82939
|
+
throw jr();
|
|
82909
82940
|
}
|
|
82910
82941
|
/**
|
|
82911
82942
|
* Merge this struct with the item to the right.
|
|
@@ -82923,14 +82954,14 @@ class h4 {
|
|
|
82923
82954
|
* @param {number} encodingRef
|
|
82924
82955
|
*/
|
|
82925
82956
|
write(t, n, i) {
|
|
82926
|
-
throw
|
|
82957
|
+
throw jr();
|
|
82927
82958
|
}
|
|
82928
82959
|
/**
|
|
82929
82960
|
* @param {Transaction} transaction
|
|
82930
82961
|
* @param {number} offset
|
|
82931
82962
|
*/
|
|
82932
82963
|
integrate(t, n) {
|
|
82933
|
-
throw
|
|
82964
|
+
throw jr();
|
|
82934
82965
|
}
|
|
82935
82966
|
}
|
|
82936
82967
|
const _Ne = 0;
|
|
@@ -83006,7 +83037,7 @@ class Uh {
|
|
|
83006
83037
|
* @return {ContentBinary}
|
|
83007
83038
|
*/
|
|
83008
83039
|
splice(t) {
|
|
83009
|
-
throw
|
|
83040
|
+
throw jr();
|
|
83010
83041
|
}
|
|
83011
83042
|
/**
|
|
83012
83043
|
* @param {ContentBinary} right
|
|
@@ -83162,7 +83193,7 @@ class qh {
|
|
|
83162
83193
|
* @return {ContentDoc}
|
|
83163
83194
|
*/
|
|
83164
83195
|
splice(t) {
|
|
83165
|
-
throw
|
|
83196
|
+
throw jr();
|
|
83166
83197
|
}
|
|
83167
83198
|
/**
|
|
83168
83199
|
* @param {ContentDoc} right
|
|
@@ -83240,7 +83271,7 @@ class Cl {
|
|
|
83240
83271
|
* @return {ContentEmbed}
|
|
83241
83272
|
*/
|
|
83242
83273
|
splice(t) {
|
|
83243
|
-
throw
|
|
83274
|
+
throw jr();
|
|
83244
83275
|
}
|
|
83245
83276
|
/**
|
|
83246
83277
|
* @param {ContentEmbed} right
|
|
@@ -83317,7 +83348,7 @@ class En {
|
|
|
83317
83348
|
* @return {ContentFormat}
|
|
83318
83349
|
*/
|
|
83319
83350
|
splice(t) {
|
|
83320
|
-
throw
|
|
83351
|
+
throw jr();
|
|
83321
83352
|
}
|
|
83322
83353
|
/**
|
|
83323
83354
|
* @param {ContentFormat} _right
|
|
@@ -83661,7 +83692,7 @@ class Xr {
|
|
|
83661
83692
|
* @return {ContentType}
|
|
83662
83693
|
*/
|
|
83663
83694
|
splice(t) {
|
|
83664
|
-
throw
|
|
83695
|
+
throw jr();
|
|
83665
83696
|
}
|
|
83666
83697
|
/**
|
|
83667
83698
|
* @param {ContentType} right
|
|
@@ -84067,7 +84098,7 @@ const YB = (e, t) => HNe[t & mv](e), HNe = [
|
|
|
84067
84098
|
}
|
|
84068
84099
|
// 10 - Skip is not ItemContent
|
|
84069
84100
|
], VNe = 10;
|
|
84070
|
-
class
|
|
84101
|
+
class Pr extends h4 {
|
|
84071
84102
|
get deleted() {
|
|
84072
84103
|
return !0;
|
|
84073
84104
|
}
|
|
@@ -84628,7 +84659,7 @@ const ZB = (e, t, n, i, r, o) => {
|
|
|
84628
84659
|
r,
|
|
84629
84660
|
o
|
|
84630
84661
|
);
|
|
84631
|
-
throw
|
|
84662
|
+
throw jr();
|
|
84632
84663
|
}
|
|
84633
84664
|
return s;
|
|
84634
84665
|
}, Am = (e, t, n, i, r, o) => {
|
|
@@ -85730,7 +85761,7 @@ const BAe = (e, t) => {
|
|
|
85730
85761
|
tooltip: e.tooltip
|
|
85731
85762
|
}
|
|
85732
85763
|
) : jAe(e) ? /* @__PURE__ */ m(
|
|
85733
|
-
|
|
85764
|
+
mr,
|
|
85734
85765
|
{
|
|
85735
85766
|
items: e.items,
|
|
85736
85767
|
onClick: e.onClick,
|
|
@@ -86233,7 +86264,7 @@ const BAe = (e, t) => {
|
|
|
86233
86264
|
);
|
|
86234
86265
|
sz.displayName = "Dialog";
|
|
86235
86266
|
const DOe = Ft(
|
|
86236
|
-
|
|
86267
|
+
_r(
|
|
86237
86268
|
{ name: "Dialog", type: "info" },
|
|
86238
86269
|
ii("Dialog", sz)
|
|
86239
86270
|
)
|
|
@@ -86363,7 +86394,7 @@ function eTe({
|
|
|
86363
86394
|
De,
|
|
86364
86395
|
{
|
|
86365
86396
|
variant: "ghost",
|
|
86366
|
-
icon:
|
|
86397
|
+
icon: br,
|
|
86367
86398
|
size: "sm",
|
|
86368
86399
|
hideLabel: !0,
|
|
86369
86400
|
onClick: f,
|
|
@@ -86454,7 +86485,7 @@ const POe = Ft(eTe), tTe = Qe(
|
|
|
86454
86485
|
De,
|
|
86455
86486
|
{
|
|
86456
86487
|
variant: "ghost",
|
|
86457
|
-
icon:
|
|
86488
|
+
icon: br,
|
|
86458
86489
|
size: "sm",
|
|
86459
86490
|
hideLabel: !0,
|
|
86460
86491
|
onClick: p,
|
|
@@ -87007,7 +87038,7 @@ const Hf = /* @__PURE__ */ new Map(), cTe = (e) => {
|
|
|
87007
87038
|
Vt,
|
|
87008
87039
|
{
|
|
87009
87040
|
variant: "outline",
|
|
87010
|
-
icon:
|
|
87041
|
+
icon: br,
|
|
87011
87042
|
size: "sm",
|
|
87012
87043
|
hideLabel: !0,
|
|
87013
87044
|
onClick: o,
|
|
@@ -87064,7 +87095,7 @@ const Hf = /* @__PURE__ */ new Map(), cTe = (e) => {
|
|
|
87064
87095
|
};
|
|
87065
87096
|
hz.displayName = "F0Coachmark";
|
|
87066
87097
|
const NTe = ii("F0Coachmark", hz), Tk = [];
|
|
87067
|
-
let
|
|
87098
|
+
let Nr = Tk;
|
|
87068
87099
|
const Ok = /* @__PURE__ */ new Set();
|
|
87069
87100
|
let XT = 0;
|
|
87070
87101
|
const Gp = /* @__PURE__ */ new Set(), Ik = /* @__PURE__ */ new Set(), jb = () => {
|
|
@@ -87080,7 +87111,7 @@ const Gp = /* @__PURE__ */ new Set(), Ik = /* @__PURE__ */ new Set(), jb = () =>
|
|
|
87080
87111
|
};
|
|
87081
87112
|
},
|
|
87082
87113
|
getSnapshot() {
|
|
87083
|
-
return
|
|
87114
|
+
return Nr;
|
|
87084
87115
|
},
|
|
87085
87116
|
getServerSnapshot() {
|
|
87086
87117
|
return Tk;
|
|
@@ -87092,20 +87123,20 @@ const Gp = /* @__PURE__ */ new Set(), Ik = /* @__PURE__ */ new Set(), jb = () =>
|
|
|
87092
87123
|
* Replacing keeps the item's position in the queue.
|
|
87093
87124
|
*/
|
|
87094
87125
|
addItem(e) {
|
|
87095
|
-
const t =
|
|
87126
|
+
const t = Nr.findIndex((n) => n.id === e.id);
|
|
87096
87127
|
if (t !== -1) {
|
|
87097
|
-
const n = [...
|
|
87098
|
-
n[t] = e,
|
|
87128
|
+
const n = [...Nr];
|
|
87129
|
+
n[t] = e, Nr = n;
|
|
87099
87130
|
} else
|
|
87100
|
-
|
|
87131
|
+
Nr = [...Nr, e];
|
|
87101
87132
|
jb();
|
|
87102
87133
|
},
|
|
87103
87134
|
removeItem(e) {
|
|
87104
|
-
|
|
87135
|
+
Nr.some((t) => t.id === e) && (Nr = Nr.filter((t) => t.id !== e), jb());
|
|
87105
87136
|
},
|
|
87106
87137
|
/** Remove every queued coachmark, including the one on screen. */
|
|
87107
87138
|
clear() {
|
|
87108
|
-
|
|
87139
|
+
Nr.length !== 0 && (Nr = Tk, jb());
|
|
87109
87140
|
},
|
|
87110
87141
|
/**
|
|
87111
87142
|
* Register a mounted provider as a candidate renderer. Returns the assigned
|
|
@@ -87341,7 +87372,7 @@ export {
|
|
|
87341
87372
|
tOe as ay,
|
|
87342
87373
|
nOe as az,
|
|
87343
87374
|
AOe as b,
|
|
87344
|
-
|
|
87375
|
+
Br as b$,
|
|
87345
87376
|
e3 as b0,
|
|
87346
87377
|
Jne as b1,
|
|
87347
87378
|
hOe as b2,
|