@factorialco/f0-react 1.356.0 → 1.356.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{DataCollectionStorageProvider-nQp95dIe.js → DataCollectionStorageProvider-B9NpFZxX.js} +196 -196
- package/dist/{F0AiChat-C56OUd8N.js → F0AiChat-CiIS6L-I.js} +1514 -1511
- package/dist/{F0HILActionConfirmation-DvFKrPSK.js → F0HILActionConfirmation-DYjm5fCH.js} +1 -1
- package/dist/ai.js +2 -2
- package/dist/experimental.js +4 -4
- package/dist/f0.d.ts +4 -0
- package/dist/f0.js +193 -189
- package/package.json +1 -1
package/dist/{DataCollectionStorageProvider-nQp95dIe.js → DataCollectionStorageProvider-B9NpFZxX.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _, jsxs as U, Fragment as Ot } from "react/jsx-runtime";
|
|
2
2
|
import * as Pe from "react";
|
|
3
|
-
import M, { useRef as Be, useState as ke, useCallback as vt, useEffect as He, useContext as sn, useMemo as xt, useLayoutEffect as mx, createContext as
|
|
4
|
-
import { eN as Jk, bK as bI, eO as xI, ac as oi, cd as DC, a6 as ee, c6 as NC, eP as wI, eQ as kI, a7 as bh, am as na, eR as Ec, bN as tt, ak as IC, eS as _I, eT as SI, dQ as $C, eU as OI, eV as AI, c7 as CI, eW as EI, ah as Vt, aW as xh, d1 as RC, d2 as gx, aO as bx, eX as Po, eY as TI, eZ as PI, e_ as MI, e$ as Zk, f0 as Qk, f1 as e2, f2 as t2, f3 as n2, f4 as jC, f5 as su, f6 as DI, f7 as NI, c$ as Gl, f8 as II, aR as LC, aS as FC, aT as BC, ax as xx, b9 as ia, ay as zC, az as qC, ce as wh, ao as Ne, cA as $I, bT as HC, bU as WC, bV as VC, bY as UC, dy as RI, dF as wx, f9 as KC, di as GC, d0 as jI, ef as LI, dt as Zf, b_ as FI, b1 as BI, a8 as et, aD as kx, bb as YC, bc as kh, aB as XC, eD as _h, fa as zI, ad as lo, fb as qI, ds as _x, fc as HI, ey as JC, e8 as WI, ab as wt, aV as Sx, u as
|
|
3
|
+
import M, { useRef as Be, useState as ke, useCallback as vt, useEffect as He, useContext as sn, useMemo as xt, useLayoutEffect as mx, createContext as qn, isValidElement as bi, Children as Fa, PureComponent as ui, forwardRef as dt, useImperativeHandle as yx, cloneElement as Nt, createElement as vx, Component as TC, useId as PC, Fragment as qg, useDebugValue as MC, createRef as vI, memo as gI, version as Xk } from "react";
|
|
4
|
+
import { eN as Jk, bK as bI, eO as xI, ac as oi, cd as DC, a6 as ee, c6 as NC, eP as wI, eQ as kI, a7 as bh, am as na, eR as Ec, bN as tt, ak as IC, eS as _I, eT as SI, dQ as $C, eU as OI, eV as AI, c7 as CI, eW as EI, ah as Vt, aW as xh, d1 as RC, d2 as gx, aO as bx, eX as Po, eY as TI, eZ as PI, e_ as MI, e$ as Zk, f0 as Qk, f1 as e2, f2 as t2, f3 as n2, f4 as jC, f5 as su, f6 as DI, f7 as NI, c$ as Gl, f8 as II, aR as LC, aS as FC, aT as BC, ax as xx, b9 as ia, ay as zC, az as qC, ce as wh, ao as Ne, cA as $I, bT as HC, bU as WC, bV as VC, bY as UC, dy as RI, dF as wx, f9 as KC, di as GC, d0 as jI, ef as LI, dt as Zf, b_ as FI, b1 as BI, a8 as et, aD as kx, bb as YC, bc as kh, aB as XC, eD as _h, fa as zI, ad as lo, fb as qI, ds as _x, fc as HI, ey as JC, e8 as WI, ab as wt, aV as Sx, u as En, al as Sh, aG as VI, a$ as ZC, av as Oh, c9 as UI, ea as QC, eb as eE, ep as tE, b0 as nE, ag as zt, af as Ox, fd as iE, aU as KI, a_ as Qf, aA as GI, e1 as Ft, fe as rE, ff as aE, fg as Hg, fh as YI, fi as i2, e4 as XI, e5 as r2, at as oE, au as sE, aw as lE, eL as JI, aH as ZI, fj as fE, eB as QI, fk as e$, aj as Sn, bg as Wg, fl as t$, fm as n$, fn as cE, cY as ec, fo as Ah, fp as Ch, c_ as tc, cN as i$, bh as Ax, aL as a2, dW as r$, a9 as Cx, fq as a$, cH as o$, fr as s$, fs as Vg, ft as uE, fu as dE, fv as hE, fw as l$, fx as f$, fy as c$, fz as u$, cO as d$, cP as h$, cQ as p$, cR as m$, cS as y$, cT as v$, fA as g$, cV as b$, cX as x$, cW as w$, aQ as pE, be as k$, cZ as _$, en as S$, cF as O$, aI as A$, d3 as C$, fB as E$, fC as T$, fD as P$, fE as M$, dv as D$, an as N$, ai as I$, dp as $$, bB as R$, dZ as j$, d_ as L$, eE as F$, aX as B$, aY as z$, aZ as q$, b2 as H$ } from "./F0AiChat-CiIS6L-I.js";
|
|
5
5
|
import Ex from "react-dom";
|
|
6
6
|
import './DataCollectionStorageProvider.css';const W$ = {
|
|
7
7
|
active: !0,
|
|
@@ -2155,7 +2155,7 @@ const YR = ({ children: t, columns: e, showArrows: n = !0, showDots: i = !0, aut
|
|
|
2155
2155
|
}) : _(KR, {
|
|
2156
2156
|
children: t
|
|
2157
2157
|
});
|
|
2158
|
-
}, Yme = na("Carousel", YR), OE =
|
|
2158
|
+
}, Yme = na("Carousel", YR), OE = qn(null);
|
|
2159
2159
|
function Xme({ children: t, layout: e }) {
|
|
2160
2160
|
return _(OE.Provider, {
|
|
2161
2161
|
value: e,
|
|
@@ -2831,7 +2831,7 @@ function NE() {
|
|
|
2831
2831
|
return Wm = t, Wm;
|
|
2832
2832
|
}
|
|
2833
2833
|
var Vm, v3;
|
|
2834
|
-
function
|
|
2834
|
+
function Tn() {
|
|
2835
2835
|
if (v3) return Vm;
|
|
2836
2836
|
v3 = 1;
|
|
2837
2837
|
var t = Array.isArray;
|
|
@@ -2841,7 +2841,7 @@ var Um, g3;
|
|
|
2841
2841
|
function Pj() {
|
|
2842
2842
|
if (g3) return Um;
|
|
2843
2843
|
g3 = 1;
|
|
2844
|
-
var t = NE(), e =
|
|
2844
|
+
var t = NE(), e = Tn();
|
|
2845
2845
|
function n(i, r, a) {
|
|
2846
2846
|
var o = r(i);
|
|
2847
2847
|
return e(i) ? o : t(o, a(i));
|
|
@@ -3008,7 +3008,7 @@ var oy, I3;
|
|
|
3008
3008
|
function Fj() {
|
|
3009
3009
|
if (I3) return oy;
|
|
3010
3010
|
I3 = 1;
|
|
3011
|
-
var t = Ij(), e = zx(), n =
|
|
3011
|
+
var t = Ij(), e = zx(), n = Tn(), i = IE(), r = qx(), a = RE(), o = Object.prototype, s = o.hasOwnProperty;
|
|
3012
3012
|
function l(f, c) {
|
|
3013
3013
|
var u = n(f), d = !u && e(f), h = !u && !d && i(f), p = !u && !d && !h && a(f), m = u || d || h || p, y = m ? t(f.length, String) : [], v = y.length;
|
|
3014
3014
|
for (var g in f)
|
|
@@ -3188,7 +3188,7 @@ var xy, G3;
|
|
|
3188
3188
|
function Yj() {
|
|
3189
3189
|
if (G3) return xy;
|
|
3190
3190
|
G3 = 1;
|
|
3191
|
-
var t = EE(), e = DE(), n = Tj(), i = Wj(), r = Gj(), a =
|
|
3191
|
+
var t = EE(), e = DE(), n = Tj(), i = Wj(), r = Gj(), a = Tn(), o = IE(), s = RE(), l = 1, f = "[object Arguments]", c = "[object Array]", u = "[object Object]", d = Object.prototype, h = d.hasOwnProperty;
|
|
3192
3192
|
function p(m, y, v, g, w, x) {
|
|
3193
3193
|
var b = a(m), k = a(y), S = b ? c : r(m), A = k ? c : r(y);
|
|
3194
3194
|
S = S == f ? u : S, A = A == f ? u : A;
|
|
@@ -3620,7 +3620,7 @@ var Sy, e_;
|
|
|
3620
3620
|
function Kx() {
|
|
3621
3621
|
if (e_) return Sy;
|
|
3622
3622
|
e_ = 1;
|
|
3623
|
-
var t =
|
|
3623
|
+
var t = Tn(), e = Ds(), n = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, i = /^\w*$/;
|
|
3624
3624
|
function r(a, o) {
|
|
3625
3625
|
if (t(a))
|
|
3626
3626
|
return !1;
|
|
@@ -3688,7 +3688,7 @@ var Ty, a_;
|
|
|
3688
3688
|
function vL() {
|
|
3689
3689
|
if (a_) return Ty;
|
|
3690
3690
|
a_ = 1;
|
|
3691
|
-
var t = rc(), e = Gx(), n =
|
|
3691
|
+
var t = rc(), e = Gx(), n = Tn(), i = Ds(), r = t ? t.prototype : void 0, a = r ? r.toString : void 0;
|
|
3692
3692
|
function o(s) {
|
|
3693
3693
|
if (typeof s == "string")
|
|
3694
3694
|
return s;
|
|
@@ -3715,7 +3715,7 @@ var My, s_;
|
|
|
3715
3715
|
function UE() {
|
|
3716
3716
|
if (s_) return My;
|
|
3717
3717
|
s_ = 1;
|
|
3718
|
-
var t =
|
|
3718
|
+
var t = Tn(), e = Kx(), n = yL(), i = VE();
|
|
3719
3719
|
function r(a, o) {
|
|
3720
3720
|
return t(a) ? a : e(a, o) ? [a] : n(i(a));
|
|
3721
3721
|
}
|
|
@@ -3759,7 +3759,7 @@ function KE() {
|
|
|
3759
3759
|
return Iy = e, Iy;
|
|
3760
3760
|
}
|
|
3761
3761
|
var gL = KE();
|
|
3762
|
-
const
|
|
3762
|
+
const Ln = /* @__PURE__ */ tt(gL);
|
|
3763
3763
|
var $y, u_;
|
|
3764
3764
|
function bL() {
|
|
3765
3765
|
if (u_) return $y;
|
|
@@ -3775,7 +3775,7 @@ var Ry, d_;
|
|
|
3775
3775
|
function wL() {
|
|
3776
3776
|
if (d_) return Ry;
|
|
3777
3777
|
d_ = 1;
|
|
3778
|
-
var t = kr(), e =
|
|
3778
|
+
var t = kr(), e = Tn(), n = _r(), i = "[object String]";
|
|
3779
3779
|
function r(a) {
|
|
3780
3780
|
return typeof a == "string" || !e(a) && n(a) && t(a) == i;
|
|
3781
3781
|
}
|
|
@@ -4020,7 +4020,7 @@ var dn = function(e) {
|
|
|
4020
4020
|
};
|
|
4021
4021
|
function bu(t, e, n) {
|
|
4022
4022
|
return !t || !t.length ? null : t.find(function(i) {
|
|
4023
|
-
return i && (typeof e == "function" ? e(i) :
|
|
4023
|
+
return i && (typeof e == "function" ? e(i) : Ln(i, e)) === n;
|
|
4024
4024
|
});
|
|
4025
4025
|
}
|
|
4026
4026
|
var nye = function(e) {
|
|
@@ -4444,17 +4444,17 @@ var x_ = {
|
|
|
4444
4444
|
Me(i) || (EL.isFragment(i) ? n = n.concat(t(i.props.children)) : n.push(i));
|
|
4445
4445
|
}), By = n, w_ = e, n;
|
|
4446
4446
|
};
|
|
4447
|
-
function
|
|
4447
|
+
function Fn(t, e) {
|
|
4448
4448
|
var n = [], i = [];
|
|
4449
4449
|
return Array.isArray(e) ? i = e.map(function(r) {
|
|
4450
4450
|
return hr(r);
|
|
4451
4451
|
}) : i = [hr(e)], Jx(t).forEach(function(r) {
|
|
4452
|
-
var a =
|
|
4452
|
+
var a = Ln(r, "type.displayName") || Ln(r, "type.name");
|
|
4453
4453
|
i.indexOf(a) !== -1 && n.push(r);
|
|
4454
4454
|
}), n;
|
|
4455
4455
|
}
|
|
4456
|
-
function
|
|
4457
|
-
var n =
|
|
4456
|
+
function Nn(t, e) {
|
|
4457
|
+
var n = Fn(t, e);
|
|
4458
4458
|
return n && n[0];
|
|
4459
4459
|
}
|
|
4460
4460
|
var k_ = function(e) {
|
|
@@ -5863,7 +5863,7 @@ var i1, U_;
|
|
|
5863
5863
|
function fB() {
|
|
5864
5864
|
if (U_) return i1;
|
|
5865
5865
|
U_ = 1;
|
|
5866
|
-
var t = UE(), e = zx(), n =
|
|
5866
|
+
var t = UE(), e = zx(), n = Tn(), i = qx(), r = Hx(), a = Ih();
|
|
5867
5867
|
function o(s, l, f) {
|
|
5868
5868
|
l = t(l, s);
|
|
5869
5869
|
for (var c = -1, u = l.length, d = !1; ++c < u; ) {
|
|
@@ -5945,7 +5945,7 @@ var c1, Q_;
|
|
|
5945
5945
|
function Ui() {
|
|
5946
5946
|
if (Q_) return c1;
|
|
5947
5947
|
Q_ = 1;
|
|
5948
|
-
var t = sB(), e = uB(), n = $s(), i =
|
|
5948
|
+
var t = sB(), e = uB(), n = $s(), i = Tn(), r = pB();
|
|
5949
5949
|
function a(o) {
|
|
5950
5950
|
return typeof o == "function" ? o : o == null ? n : typeof o == "object" ? i(o) ? e(o[0], o[1]) : t(o) : r(o);
|
|
5951
5951
|
}
|
|
@@ -6326,7 +6326,7 @@ var w1, p4;
|
|
|
6326
6326
|
function jB() {
|
|
6327
6327
|
if (p4) return w1;
|
|
6328
6328
|
p4 = 1;
|
|
6329
|
-
var t = rc(), e = zx(), n =
|
|
6329
|
+
var t = rc(), e = zx(), n = Tn(), i = t ? t.isConcatSpreadable : void 0;
|
|
6330
6330
|
function r(a) {
|
|
6331
6331
|
return n(a) || e(a) || !!(i && a && a[i]);
|
|
6332
6332
|
}
|
|
@@ -6470,7 +6470,7 @@ var D1, O4;
|
|
|
6470
6470
|
function WB() {
|
|
6471
6471
|
if (O4) return D1;
|
|
6472
6472
|
O4 = 1;
|
|
6473
|
-
var t = Gx(), e = Yx(), n = Ui(), i = ST(), r = zB(), a = $E(), o = HB(), s = $s(), l =
|
|
6473
|
+
var t = Gx(), e = Yx(), n = Ui(), i = ST(), r = zB(), a = $E(), o = HB(), s = $s(), l = Tn();
|
|
6474
6474
|
function f(c, u, d) {
|
|
6475
6475
|
u.length ? u = t(u, function(m) {
|
|
6476
6476
|
return l(m) ? function(y) {
|
|
@@ -10181,7 +10181,7 @@ var fv, QS;
|
|
|
10181
10181
|
function aV() {
|
|
10182
10182
|
if (QS) return fv;
|
|
10183
10183
|
QS = 1;
|
|
10184
|
-
var t = Gx(), e = Ui(), n = ST(), i =
|
|
10184
|
+
var t = Gx(), e = Ui(), n = ST(), i = Tn();
|
|
10185
10185
|
function r(a, o) {
|
|
10186
10186
|
var s = i(a) ? t : n;
|
|
10187
10187
|
return s(a, e(o, 3));
|
|
@@ -10236,7 +10236,7 @@ var js = 1e9, fV = {
|
|
|
10236
10236
|
// The natural logarithm of 10.
|
|
10237
10237
|
// 115 digits
|
|
10238
10238
|
LN10: "2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"
|
|
10239
|
-
}, Tw, ct = !0, si = "[DecimalError] ", Ha = si + "Invalid argument: ", Ew = si + "Exponent out of range: ", Ls = Math.floor, Sa = Math.pow, cV = /^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,
|
|
10239
|
+
}, Tw, ct = !0, si = "[DecimalError] ", Ha = si + "Invalid argument: ", Ew = si + "Exponent out of range: ", Ls = Math.floor, Sa = Math.pow, cV = /^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i, $n, Bt = 1e7, ft = 7, vP = 9007199254740991, zu = Ls(vP / ft), ye = {};
|
|
10240
10240
|
ye.absoluteValue = ye.abs = function() {
|
|
10241
10241
|
var t = new this.constructor(this);
|
|
10242
10242
|
return t.s && (t.s = 1), t;
|
|
@@ -10295,9 +10295,9 @@ ye.logarithm = ye.log = function(t) {
|
|
|
10295
10295
|
var e, n = this, i = n.constructor, r = i.precision, a = r + 5;
|
|
10296
10296
|
if (t === void 0)
|
|
10297
10297
|
t = new i(10);
|
|
10298
|
-
else if (t = new i(t), t.s < 1 || t.eq(
|
|
10298
|
+
else if (t = new i(t), t.s < 1 || t.eq($n)) throw Error(si + "NaN");
|
|
10299
10299
|
if (n.s < 1) throw Error(si + (n.s ? "NaN" : "-Infinity"));
|
|
10300
|
-
return n.eq(
|
|
10300
|
+
return n.eq($n) ? new i(0) : (ct = !1, e = pr(uf(n, a), uf(t, a), a), ct = !0, it(e, r));
|
|
10301
10301
|
};
|
|
10302
10302
|
ye.minus = ye.sub = function(t) {
|
|
10303
10303
|
var e = this;
|
|
@@ -10383,18 +10383,18 @@ ye.toNumber = function() {
|
|
|
10383
10383
|
};
|
|
10384
10384
|
ye.toPower = ye.pow = function(t) {
|
|
10385
10385
|
var e, n, i, r, a, o, s = this, l = s.constructor, f = 12, c = +(t = new l(t));
|
|
10386
|
-
if (!t.s) return new l(
|
|
10386
|
+
if (!t.s) return new l($n);
|
|
10387
10387
|
if (s = new l(s), !s.s) {
|
|
10388
10388
|
if (t.s < 1) throw Error(si + "Infinity");
|
|
10389
10389
|
return s;
|
|
10390
10390
|
}
|
|
10391
|
-
if (s.eq(
|
|
10392
|
-
if (i = l.precision, t.eq(
|
|
10391
|
+
if (s.eq($n)) return s;
|
|
10392
|
+
if (i = l.precision, t.eq($n)) return it(s, i);
|
|
10393
10393
|
if (e = t.e, n = t.d.length - 1, o = e >= n, a = s.s, o) {
|
|
10394
10394
|
if ((n = c < 0 ? -c : c) <= vP) {
|
|
10395
|
-
for (r = new l(
|
|
10395
|
+
for (r = new l($n), e = Math.ceil(i / ft + 4), ct = !1; n % 2 && (r = r.times(s), n6(r.d, e)), n = Ls(n / 2), n !== 0; )
|
|
10396
10396
|
s = s.times(s), n6(s.d, e);
|
|
10397
|
-
return ct = !0, t.s < 0 ? new l(
|
|
10397
|
+
return ct = !0, t.s < 0 ? new l($n).div(r) : it(r, i);
|
|
10398
10398
|
}
|
|
10399
10399
|
} else if (a < 0) throw Error(si + "NaN");
|
|
10400
10400
|
return a = a < 0 && t.d[Math.max(e, n)] & 1 ? -1 : 1, s.s = 1, ct = !1, r = t.times(uf(s, i + f)), ct = !0, r = bP(r), r.s = a, r;
|
|
@@ -10485,10 +10485,10 @@ var pr = /* @__PURE__ */ (function() {
|
|
|
10485
10485
|
function bP(t, e) {
|
|
10486
10486
|
var n, i, r, a, o, s, l = 0, f = 0, c = t.constructor, u = c.precision;
|
|
10487
10487
|
if (Tt(t) > 16) throw Error(Ew + Tt(t));
|
|
10488
|
-
if (!t.s) return new c(
|
|
10488
|
+
if (!t.s) return new c($n);
|
|
10489
10489
|
for (ct = !1, s = u, o = new c(0.03125); t.abs().gte(0.1); )
|
|
10490
10490
|
t = t.times(o), f += 5;
|
|
10491
|
-
for (i = Math.log(Sa(2, f)) / Math.LN10 * 2 + 5 | 0, s += i, n = r = a = new c(
|
|
10491
|
+
for (i = Math.log(Sa(2, f)) / Math.LN10 * 2 + 5 | 0, s += i, n = r = a = new c($n), c.precision = s; ; ) {
|
|
10492
10492
|
if (r = it(r.times(t), s), n = n.times(++l), o = a.plus(pr(r, n, s)), Ni(o.d).slice(0, s) === Ni(a.d).slice(0, s)) {
|
|
10493
10493
|
for (; f--; ) a = it(a.times(a), s);
|
|
10494
10494
|
return c.precision = u, e == null ? (ct = !0, it(a, u)) : a;
|
|
@@ -10512,7 +10512,7 @@ function Nr(t) {
|
|
|
10512
10512
|
function uf(t, e) {
|
|
10513
10513
|
var n, i, r, a, o, s, l, f, c, u = 1, d = 10, h = t, p = h.d, m = h.constructor, y = m.precision;
|
|
10514
10514
|
if (h.s < 1) throw Error(si + (h.s ? "NaN" : "-Infinity"));
|
|
10515
|
-
if (h.eq(
|
|
10515
|
+
if (h.eq($n)) return new m(0);
|
|
10516
10516
|
if (e == null ? (ct = !1, f = y) : f = e, h.eq(10))
|
|
10517
10517
|
return e == null && (ct = !0), uv(m, f);
|
|
10518
10518
|
if (f += d, m.precision = f, n = Ni(p), i = n.charAt(0), a = Tt(h), Math.abs(a) < 15e14) {
|
|
@@ -10521,7 +10521,7 @@ function uf(t, e) {
|
|
|
10521
10521
|
a = Tt(h), i > 1 ? (h = new m("0." + n), a++) : h = new m(i + "." + n.slice(1));
|
|
10522
10522
|
} else
|
|
10523
10523
|
return l = uv(m, f + 2, y).times(a + ""), h = uf(new m(i + "." + n.slice(1)), f - d).plus(l), m.precision = y, e == null ? (ct = !0, it(h, y)) : h;
|
|
10524
|
-
for (s = o = h = pr(h.minus(
|
|
10524
|
+
for (s = o = h = pr(h.minus($n), h.plus($n), f), c = it(h.times(h), f), r = 3; ; ) {
|
|
10525
10525
|
if (o = it(o.times(c), f), l = s.plus(pr(o, new m(r), f)), Ni(l.d).slice(0, f) === Ni(s.d).slice(0, f))
|
|
10526
10526
|
return s = s.times(2), a !== 0 && (s = s.plus(uv(m, f + 2, y).times(a + ""))), s = pr(s, new m(u), f), m.precision = y, e == null ? (ct = !0, it(s, y)) : s;
|
|
10527
10527
|
s = l, r += 2;
|
|
@@ -10666,7 +10666,7 @@ function uV(t) {
|
|
|
10666
10666
|
return this;
|
|
10667
10667
|
}
|
|
10668
10668
|
var Tw = wP(fV);
|
|
10669
|
-
|
|
10669
|
+
$n = new Tw(1);
|
|
10670
10670
|
const Ze = Tw;
|
|
10671
10671
|
function dV(t) {
|
|
10672
10672
|
return yV(t) || mV(t) || pV(t) || hV();
|
|
@@ -11180,7 +11180,7 @@ function nU(t, e) {
|
|
|
11180
11180
|
return (e === "string" ? String : Number)(t);
|
|
11181
11181
|
}
|
|
11182
11182
|
var DP = function(e) {
|
|
11183
|
-
var n = e.children, i = e.formattedGraphicalItems, r = e.legendWidth, a = e.legendContent, o =
|
|
11183
|
+
var n = e.children, i = e.formattedGraphicalItems, r = e.legendWidth, a = e.legendContent, o = Nn(n, za);
|
|
11184
11184
|
if (!o)
|
|
11185
11185
|
return null;
|
|
11186
11186
|
var s = za.defaultProps, l = s !== void 0 ? ga(ga({}, s), o.props) : {}, f;
|
|
@@ -11283,7 +11283,7 @@ function lU(t, e) {
|
|
|
11283
11283
|
return (e === "string" ? String : Number)(t);
|
|
11284
11284
|
}
|
|
11285
11285
|
function St(t, e, n) {
|
|
11286
|
-
return Me(t) || Me(e) ? n : Rt(e) ?
|
|
11286
|
+
return Me(t) || Me(e) ? n : Rt(e) ? Ln(t, e, n) : Ee(e) ? e(t) : n;
|
|
11287
11287
|
}
|
|
11288
11288
|
function Sl(t, e, n, i) {
|
|
11289
11289
|
var r = lV(t, function(s) {
|
|
@@ -11444,7 +11444,7 @@ var fU = function(e) {
|
|
|
11444
11444
|
}, hU = function(e, n, i) {
|
|
11445
11445
|
return Me(n) ? !0 : e === "horizontal" ? n === "yAxis" : e === "vertical" || i === "x" ? n === "xAxis" : i === "y" ? n === "yAxis" : !0;
|
|
11446
11446
|
}, NP = function(e, n, i, r, a) {
|
|
11447
|
-
var o = n.props.children, s =
|
|
11447
|
+
var o = n.props.children, s = Fn(o, uc).filter(function(f) {
|
|
11448
11448
|
return hU(r, a, f.props.direction);
|
|
11449
11449
|
});
|
|
11450
11450
|
if (s && s.length) {
|
|
@@ -11785,7 +11785,7 @@ var f6 = function(e) {
|
|
|
11785
11785
|
}
|
|
11786
11786
|
return i ? void 0 : 0;
|
|
11787
11787
|
}, d6 = function(e, n, i) {
|
|
11788
|
-
return !e || !e.length || Qa(e,
|
|
11788
|
+
return !e || !e.length || Qa(e, Ln(i, "type.defaultProps.domain")) ? n : e;
|
|
11789
11789
|
}, zP = function(e, n) {
|
|
11790
11790
|
var i = e.type.defaultProps ? gt(gt({}, e.type.defaultProps), e.props) : e.props, r = i.dataKey, a = i.name, o = i.unit, s = i.formatter, l = i.tooltipType, f = i.chartType, c = i.hide;
|
|
11791
11791
|
return gt(gt({}, _e(e, !1)), {}, {
|
|
@@ -12350,7 +12350,7 @@ var VP = function(e) {
|
|
|
12350
12350
|
var i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
|
|
12351
12351
|
if (!e || !e.children && i && !e.label)
|
|
12352
12352
|
return null;
|
|
12353
|
-
var r = e.children, a = VP(e), o =
|
|
12353
|
+
var r = e.children, a = VP(e), o = Fn(r, $t).map(function(l, f) {
|
|
12354
12354
|
return /* @__PURE__ */ Nt(l, {
|
|
12355
12355
|
viewBox: n || a,
|
|
12356
12356
|
// eslint-disable-next-line react/no-array-index-key
|
|
@@ -12521,7 +12521,7 @@ function bK(t, e) {
|
|
|
12521
12521
|
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
|
|
12522
12522
|
if (!t || !t.children && n && !t.label)
|
|
12523
12523
|
return null;
|
|
12524
|
-
var i = t.children, r =
|
|
12524
|
+
var i = t.children, r = Fn(i, ni).map(function(o, s) {
|
|
12525
12525
|
return /* @__PURE__ */ Nt(o, {
|
|
12526
12526
|
data: e,
|
|
12527
12527
|
// eslint-disable-next-line react/no-array-index-key
|
|
@@ -16053,7 +16053,7 @@ var Or = /* @__PURE__ */ (function(t) {
|
|
|
16053
16053
|
}, function(p) {
|
|
16054
16054
|
var m = p.t, y = [], v = a && a[0], g = v.startAngle;
|
|
16055
16055
|
return a.forEach(function(w, x) {
|
|
16056
|
-
var b = d && d[x], k = x > 0 ?
|
|
16056
|
+
var b = d && d[x], k = x > 0 ? Ln(w, "paddingAngle", 0) : 0;
|
|
16057
16057
|
if (b) {
|
|
16058
16058
|
var S = It(b.endAngle - b.startAngle, w.endAngle - w.startAngle), A = rt(rt({}, w), {}, {
|
|
16059
16059
|
startAngle: g + k,
|
|
@@ -16209,7 +16209,7 @@ Qn(Or, "parseDeltaAngle", function(t, e) {
|
|
|
16209
16209
|
return n * i;
|
|
16210
16210
|
});
|
|
16211
16211
|
Qn(Or, "getRealPieData", function(t) {
|
|
16212
|
-
var e = t.data, n = t.children, i = _e(t, !1), r =
|
|
16212
|
+
var e = t.data, n = t.children, i = _e(t, !1), r = Fn(n, zh);
|
|
16213
16213
|
return e && e.length ? e.map(function(a, o) {
|
|
16214
16214
|
return rt(rt(rt({
|
|
16215
16215
|
payload: a
|
|
@@ -16411,7 +16411,7 @@ function Mv(t) {
|
|
|
16411
16411
|
for (var e = 1; e < arguments.length; e++) {
|
|
16412
16412
|
var n = arguments[e] != null ? arguments[e] : {};
|
|
16413
16413
|
e % 2 ? D5(Object(n), !0).forEach(function(i) {
|
|
16414
|
-
|
|
16414
|
+
Dn(t, i, n[i]);
|
|
16415
16415
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : D5(Object(n)).forEach(function(i) {
|
|
16416
16416
|
Object.defineProperty(t, i, Object.getOwnPropertyDescriptor(n, i));
|
|
16417
16417
|
});
|
|
@@ -16471,7 +16471,7 @@ function G0(t, e) {
|
|
|
16471
16471
|
return i.__proto__ = r, i;
|
|
16472
16472
|
}, G0(t, e);
|
|
16473
16473
|
}
|
|
16474
|
-
function
|
|
16474
|
+
function Dn(t, e, n) {
|
|
16475
16475
|
return e = hM(e), e in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
|
|
16476
16476
|
}
|
|
16477
16477
|
function hM(t) {
|
|
@@ -16510,11 +16510,11 @@ var mJ = function(e) {
|
|
|
16510
16510
|
}, rs = /* @__PURE__ */ (function(t) {
|
|
16511
16511
|
function e(n) {
|
|
16512
16512
|
var i;
|
|
16513
|
-
return lJ(this, e), i = cJ(this, e, [n]),
|
|
16513
|
+
return lJ(this, e), i = cJ(this, e, [n]), Dn(i, "handleDrag", function(r) {
|
|
16514
16514
|
i.leaveTimer && (clearTimeout(i.leaveTimer), i.leaveTimer = null), i.state.isTravellerMoving ? i.handleTravellerMove(r) : i.state.isSlideMoving && i.handleSlideDrag(r);
|
|
16515
|
-
}),
|
|
16515
|
+
}), Dn(i, "handleTouchMove", function(r) {
|
|
16516
16516
|
r.changedTouches != null && r.changedTouches.length > 0 && i.handleDrag(r.changedTouches[0]);
|
|
16517
|
-
}),
|
|
16517
|
+
}), Dn(i, "handleDragEnd", function() {
|
|
16518
16518
|
i.setState({
|
|
16519
16519
|
isTravellerMoving: !1,
|
|
16520
16520
|
isSlideMoving: !1
|
|
@@ -16525,17 +16525,17 @@ var mJ = function(e) {
|
|
|
16525
16525
|
startIndex: s
|
|
16526
16526
|
});
|
|
16527
16527
|
}), i.detachDragEndListener();
|
|
16528
|
-
}),
|
|
16528
|
+
}), Dn(i, "handleLeaveWrapper", function() {
|
|
16529
16529
|
(i.state.isTravellerMoving || i.state.isSlideMoving) && (i.leaveTimer = window.setTimeout(i.handleDragEnd, i.props.leaveTimeOut));
|
|
16530
|
-
}),
|
|
16530
|
+
}), Dn(i, "handleEnterSlideOrTraveller", function() {
|
|
16531
16531
|
i.setState({
|
|
16532
16532
|
isTextActive: !0
|
|
16533
16533
|
});
|
|
16534
|
-
}),
|
|
16534
|
+
}), Dn(i, "handleLeaveSlideOrTraveller", function() {
|
|
16535
16535
|
i.setState({
|
|
16536
16536
|
isTextActive: !1
|
|
16537
16537
|
});
|
|
16538
|
-
}),
|
|
16538
|
+
}), Dn(i, "handleSlideDragStart", function(r) {
|
|
16539
16539
|
var a = I5(r) ? r.changedTouches[0] : r;
|
|
16540
16540
|
i.setState({
|
|
16541
16541
|
isTravellerMoving: !1,
|
|
@@ -16615,7 +16615,7 @@ var mJ = function(e) {
|
|
|
16615
16615
|
var A = y.length - 1;
|
|
16616
16616
|
return o === "startX" && (s > l ? x % m === 0 : b % m === 0) || s < l && b === A || o === "endX" && (s > l ? b % m === 0 : x % m === 0) || s > l && b === A;
|
|
16617
16617
|
};
|
|
16618
|
-
this.setState(
|
|
16618
|
+
this.setState(Dn(Dn({}, o, f + g), "brushMoveStartX", i.pageX), function() {
|
|
16619
16619
|
p && k() && p(w);
|
|
16620
16620
|
});
|
|
16621
16621
|
}
|
|
@@ -16627,7 +16627,7 @@ var mJ = function(e) {
|
|
|
16627
16627
|
var d = u + i;
|
|
16628
16628
|
if (!(d === -1 || d >= s.length)) {
|
|
16629
16629
|
var h = s[d];
|
|
16630
|
-
r === "startX" && h >= f || r === "endX" && h <= l || this.setState(
|
|
16630
|
+
r === "startX" && h >= f || r === "endX" && h <= l || this.setState(Dn({}, r, h), function() {
|
|
16631
16631
|
a.props.onChange(a.getIndex({
|
|
16632
16632
|
startX: a.state.startX,
|
|
16633
16633
|
endX: a.state.endX
|
|
@@ -16841,8 +16841,8 @@ var mJ = function(e) {
|
|
|
16841
16841
|
}
|
|
16842
16842
|
}]);
|
|
16843
16843
|
})(ui);
|
|
16844
|
-
|
|
16845
|
-
|
|
16844
|
+
Dn(rs, "displayName", "Brush");
|
|
16845
|
+
Dn(rs, "defaultProps", {
|
|
16846
16846
|
height: 40,
|
|
16847
16847
|
travellerWidth: 5,
|
|
16848
16848
|
gap: 1,
|
|
@@ -16874,7 +16874,7 @@ var Nv, R5;
|
|
|
16874
16874
|
function vJ() {
|
|
16875
16875
|
if (R5) return Nv;
|
|
16876
16876
|
R5 = 1;
|
|
16877
|
-
var t = PE(), e = Ui(), n = yJ(), i =
|
|
16877
|
+
var t = PE(), e = Ui(), n = yJ(), i = Tn(), r = Bh();
|
|
16878
16878
|
function a(o, s, l) {
|
|
16879
16879
|
var f = i(o) ? t : n;
|
|
16880
16880
|
return l && r(o, s, l) && (s = void 0), f(o, e(s, 3));
|
|
@@ -16945,7 +16945,7 @@ var Lv, z5;
|
|
|
16945
16945
|
function AJ() {
|
|
16946
16946
|
if (z5) return Lv;
|
|
16947
16947
|
z5 = 1;
|
|
16948
|
-
var t = SJ(), e = OJ(), n = Ui(), i =
|
|
16948
|
+
var t = SJ(), e = OJ(), n = Ui(), i = Tn(), r = Bh();
|
|
16949
16949
|
function a(o, s, l) {
|
|
16950
16950
|
var f = i(o) ? t : e;
|
|
16951
16951
|
return l && r(o, s, l) && (s = void 0), f(o, n(s, 3));
|
|
@@ -17309,7 +17309,7 @@ var fa = /* @__PURE__ */ (function(t) {
|
|
|
17309
17309
|
value: function(i, r) {
|
|
17310
17310
|
if (this.props.isAnimationActive && !this.state.isAnimationFinished)
|
|
17311
17311
|
return null;
|
|
17312
|
-
var a = this.props, o = a.data, s = a.xAxis, l = a.yAxis, f = a.layout, c = a.children, u =
|
|
17312
|
+
var a = this.props, o = a.data, s = a.xAxis, l = a.yAxis, f = a.layout, c = a.children, u = Fn(c, uc);
|
|
17313
17313
|
if (!u)
|
|
17314
17314
|
return null;
|
|
17315
17315
|
var d = f === "vertical" ? o[0].height / 2 : o[0].width / 2, h = function(y, v) {
|
|
@@ -17391,7 +17391,7 @@ qr(fa, "getComposedData", function(t) {
|
|
|
17391
17391
|
return null;
|
|
17392
17392
|
var p = e.layout, m = n.type.defaultProps, y = m !== void 0 ? Ct(Ct({}, m), n.props) : n.props, v = y.dataKey, g = y.children, w = y.minPointSize, x = p === "horizontal" ? o : a, b = f ? x.scale.domain() : null, k = kU({
|
|
17393
17393
|
numericAxis: x
|
|
17394
|
-
}), S =
|
|
17394
|
+
}), S = Fn(g, zh), A = u.map(function(O, P) {
|
|
17395
17395
|
var C, T, E, D, I, $;
|
|
17396
17396
|
f ? C = yU(f[c + P], b) : (C = St(O, v), Array.isArray(C) || (C = [k, C]));
|
|
17397
17397
|
var j = $J(w, mM.defaultProps.minPointSize)(C[1], P);
|
|
@@ -17524,7 +17524,7 @@ var Nw = function(e, n, i, r, a) {
|
|
|
17524
17524
|
topMirror: i.top,
|
|
17525
17525
|
bottom: s - i.bottom,
|
|
17526
17526
|
bottomMirror: s - i.bottom
|
|
17527
|
-
}, d = !!
|
|
17527
|
+
}, d = !!Nn(f, fa);
|
|
17528
17528
|
return c.reduce(function(h, p) {
|
|
17529
17529
|
var m = n[p], y = m.orientation, v = m.domain, g = m.padding, w = g === void 0 ? {} : g, x = m.mirror, b = m.reversed, k = "".concat(y).concat(x ? "Mirror" : ""), S, A, O, P, C;
|
|
17530
17530
|
if (m.type === "number" && (m.padding === "gap" || m.padding === "no-gap")) {
|
|
@@ -17744,7 +17744,7 @@ function fd(t) {
|
|
|
17744
17744
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
17745
17745
|
}, fd(t);
|
|
17746
17746
|
}
|
|
17747
|
-
var $w = /* @__PURE__ */
|
|
17747
|
+
var $w = /* @__PURE__ */ qn(void 0), Rw = /* @__PURE__ */ qn(void 0), wM = /* @__PURE__ */ qn(void 0), kM = /* @__PURE__ */ qn({}), _M = /* @__PURE__ */ qn(void 0), SM = /* @__PURE__ */ qn(0), OM = /* @__PURE__ */ qn(0), Z5 = function(e) {
|
|
17748
17748
|
var n = e.state, i = n.xAxisMap, r = n.yAxisMap, a = n.offset, o = e.clipPathId, s = e.children, l = e.width, f = e.height, c = oZ(a);
|
|
17749
17749
|
return /* @__PURE__ */ M.createElement($w.Provider, {
|
|
17750
17750
|
value: i
|
|
@@ -18820,7 +18820,7 @@ var Fs = /* @__PURE__ */ (function(t) {
|
|
|
18820
18820
|
});
|
|
18821
18821
|
}
|
|
18822
18822
|
return /* @__PURE__ */ M.createElement("line", Io({}, u, {
|
|
18823
|
-
className: Ne("recharts-cartesian-axis-line",
|
|
18823
|
+
className: Ne("recharts-cartesian-axis-line", Ln(c, "className"))
|
|
18824
18824
|
}));
|
|
18825
18825
|
}
|
|
18826
18826
|
}, {
|
|
@@ -18855,7 +18855,7 @@ var Fs = /* @__PURE__ */ (function(t) {
|
|
|
18855
18855
|
className: "recharts-cartesian-axis-tick",
|
|
18856
18856
|
key: "tick-".concat(x.value, "-").concat(x.coordinate, "-").concat(x.tickCoord)
|
|
18857
18857
|
}, eo(o.props, x, b)), l && /* @__PURE__ */ M.createElement("line", Io({}, g, S, {
|
|
18858
|
-
className: Ne("recharts-cartesian-axis-tick-line",
|
|
18858
|
+
className: Ne("recharts-cartesian-axis-tick-line", Ln(l, "className"))
|
|
18859
18859
|
})), c && e.renderTickItem(c, O, "".concat(Ee(u) ? u(x.value, b) : x.value).concat(d || "")));
|
|
18860
18860
|
});
|
|
18861
18861
|
return /* @__PURE__ */ M.createElement("g", {
|
|
@@ -19274,7 +19274,7 @@ function dO(t, e) {
|
|
|
19274
19274
|
}
|
|
19275
19275
|
return n;
|
|
19276
19276
|
}
|
|
19277
|
-
function
|
|
19277
|
+
function Mn(t) {
|
|
19278
19278
|
for (var e = 1; e < arguments.length; e++) {
|
|
19279
19279
|
var n = arguments[e] != null ? arguments[e] : {};
|
|
19280
19280
|
e % 2 ? dO(Object(n), !0).forEach(function(i) {
|
|
@@ -19454,7 +19454,7 @@ var pc = /* @__PURE__ */ (function(t) {
|
|
|
19454
19454
|
value: function(i, r) {
|
|
19455
19455
|
if (this.props.isAnimationActive && !this.state.isAnimationFinished)
|
|
19456
19456
|
return null;
|
|
19457
|
-
var a = this.props, o = a.points, s = a.xAxis, l = a.yAxis, f = a.layout, c = a.children, u =
|
|
19457
|
+
var a = this.props, o = a.points, s = a.xAxis, l = a.yAxis, f = a.layout, c = a.children, u = Fn(c, uc);
|
|
19458
19458
|
if (!u)
|
|
19459
19459
|
return null;
|
|
19460
19460
|
var d = function(m, y) {
|
|
@@ -19485,7 +19485,7 @@ var pc = /* @__PURE__ */ (function(t) {
|
|
|
19485
19485
|
if (o && !this.state.isAnimationFinished)
|
|
19486
19486
|
return null;
|
|
19487
19487
|
var s = this.props, l = s.dot, f = s.points, c = s.dataKey, u = _e(this.props, !1), d = _e(l, !0), h = f.map(function(m, y) {
|
|
19488
|
-
var v =
|
|
19488
|
+
var v = Mn(Mn(Mn({
|
|
19489
19489
|
key: "dot-".concat(y),
|
|
19490
19490
|
r: 3
|
|
19491
19491
|
}, u), d), {}, {
|
|
@@ -19510,7 +19510,7 @@ var pc = /* @__PURE__ */ (function(t) {
|
|
|
19510
19510
|
value: function(i, r, a, o) {
|
|
19511
19511
|
var s = this.props, l = s.type, f = s.layout, c = s.connectNulls;
|
|
19512
19512
|
s.ref;
|
|
19513
|
-
var u = uO(s, OQ), d =
|
|
19513
|
+
var u = uO(s, OQ), d = Mn(Mn(Mn({}, _e(u, !0)), {}, {
|
|
19514
19514
|
fill: "none",
|
|
19515
19515
|
className: "recharts-line-curve",
|
|
19516
19516
|
clipPath: r ? "url(#clipPath-".concat(a, ")") : null,
|
|
@@ -19549,19 +19549,19 @@ var pc = /* @__PURE__ */ (function(t) {
|
|
|
19549
19549
|
var D = Math.floor(E * k);
|
|
19550
19550
|
if (g[D]) {
|
|
19551
19551
|
var I = g[D], $ = It(I.x, T.x), j = It(I.y, T.y);
|
|
19552
|
-
return
|
|
19552
|
+
return Mn(Mn({}, T), {}, {
|
|
19553
19553
|
x: $(b),
|
|
19554
19554
|
y: j(b)
|
|
19555
19555
|
});
|
|
19556
19556
|
}
|
|
19557
19557
|
if (p) {
|
|
19558
19558
|
var F = It(m * 2, T.x), W = It(y / 2, T.y);
|
|
19559
|
-
return
|
|
19559
|
+
return Mn(Mn({}, T), {}, {
|
|
19560
19560
|
x: F(b),
|
|
19561
19561
|
y: W(b)
|
|
19562
19562
|
});
|
|
19563
19563
|
}
|
|
19564
|
-
return
|
|
19564
|
+
return Mn(Mn({}, T), {}, {
|
|
19565
19565
|
x: T.x,
|
|
19566
19566
|
y: T.y
|
|
19567
19567
|
});
|
|
@@ -19700,7 +19700,7 @@ mi(pc, "getComposedData", function(t) {
|
|
|
19700
19700
|
payload: d
|
|
19701
19701
|
};
|
|
19702
19702
|
});
|
|
19703
|
-
return
|
|
19703
|
+
return Mn({
|
|
19704
19704
|
points: u,
|
|
19705
19705
|
layout: c
|
|
19706
19706
|
}, f);
|
|
@@ -20450,7 +20450,7 @@ function ub(t, e) {
|
|
|
20450
20450
|
return i;
|
|
20451
20451
|
}
|
|
20452
20452
|
var db = function(e, n, i, r, a) {
|
|
20453
|
-
var o =
|
|
20453
|
+
var o = Fn(e, Bw), s = Fn(e, op), l = [].concat(yO(o), yO(s)), f = Fn(e, lp), c = "".concat(r, "Id"), u = r[0], d = n;
|
|
20454
20454
|
if (l.length && (d = l.reduce(function(m, y) {
|
|
20455
20455
|
if (y.props[c] === i && Li(y.props, "extendDomain") && fe(y.props[u])) {
|
|
20456
20456
|
var v = y.props[u];
|
|
@@ -21147,7 +21147,7 @@ var mb = function(e, n, i, r) {
|
|
|
21147
21147
|
axisType: a
|
|
21148
21148
|
}, r.defaultProps), {}, {
|
|
21149
21149
|
hide: !0,
|
|
21150
|
-
orientation:
|
|
21150
|
+
orientation: Ln(Yee, "".concat(a, ".").concat(m % 2), null),
|
|
21151
21151
|
domain: b,
|
|
21152
21152
|
originalDomain: x,
|
|
21153
21153
|
isCategorical: p,
|
|
@@ -21159,7 +21159,7 @@ var mb = function(e, n, i, r) {
|
|
|
21159
21159
|
return y;
|
|
21160
21160
|
}, {});
|
|
21161
21161
|
}, tte = function(e, n) {
|
|
21162
|
-
var i = n.axisType, r = i === void 0 ? "xAxis" : i, a = n.AxisComp, o = n.graphicalItems, s = n.stackGroups, l = n.dataStartIndex, f = n.dataEndIndex, c = e.children, u = "".concat(r, "Id"), d =
|
|
21162
|
+
var i = n.axisType, r = i === void 0 ? "xAxis" : i, a = n.AxisComp, o = n.graphicalItems, s = n.stackGroups, l = n.dataStartIndex, f = n.dataEndIndex, c = e.children, u = "".concat(r, "Id"), d = Fn(c, a), h = {};
|
|
21163
21163
|
return d && d.length ? h = Qee(e, {
|
|
21164
21164
|
axes: d,
|
|
21165
21165
|
graphicalItems: o,
|
|
@@ -21188,7 +21188,7 @@ var mb = function(e, n, i, r) {
|
|
|
21188
21188
|
tooltipAxisBandSize: Vu(n, i)
|
|
21189
21189
|
};
|
|
21190
21190
|
}, _O = function(e) {
|
|
21191
|
-
var n = e.children, i = e.defaultShowTooltip, r =
|
|
21191
|
+
var n = e.children, i = e.defaultShowTooltip, r = Nn(n, rs), a = 0, o = 0;
|
|
21192
21192
|
return e.data && e.data.length !== 0 && (o = e.data.length - 1), r && r.props && (r.props.startIndex >= 0 && (a = r.props.startIndex), r.props.endIndex >= 0 && (o = r.props.endIndex)), {
|
|
21193
21193
|
chartX: 0,
|
|
21194
21194
|
chartY: 0,
|
|
@@ -21217,7 +21217,7 @@ var mb = function(e, n, i, r) {
|
|
|
21217
21217
|
cateAxisName: "radiusAxis"
|
|
21218
21218
|
};
|
|
21219
21219
|
}, rte = function(e, n) {
|
|
21220
|
-
var i = e.props, r = e.graphicalItems, a = e.xAxisMap, o = a === void 0 ? {} : a, s = e.yAxisMap, l = s === void 0 ? {} : s, f = i.width, c = i.height, u = i.children, d = i.margin || {}, h =
|
|
21220
|
+
var i = e.props, r = e.graphicalItems, a = e.xAxisMap, o = a === void 0 ? {} : a, s = e.yAxisMap, l = s === void 0 ? {} : s, f = i.width, c = i.height, u = i.children, d = i.margin || {}, h = Nn(u, rs), p = Nn(u, za), m = Object.keys(l).reduce(function(b, k) {
|
|
21221
21221
|
var S = l[k], A = S.orientation;
|
|
21222
21222
|
return !S.mirror && !S.hide ? X(X({}, b), {}, Ce({}, A, b[A] + S.width)) : b;
|
|
21223
21223
|
}, {
|
|
@@ -21225,7 +21225,7 @@ var mb = function(e, n, i, r) {
|
|
|
21225
21225
|
right: d.right || 0
|
|
21226
21226
|
}), y = Object.keys(o).reduce(function(b, k) {
|
|
21227
21227
|
var S = o[k], A = S.orientation;
|
|
21228
|
-
return !S.mirror && !S.hide ? X(X({}, b), {}, Ce({}, A,
|
|
21228
|
+
return !S.mirror && !S.hide ? X(X({}, b), {}, Ce({}, A, Ln(b, "".concat(A)) + S.height)) : b;
|
|
21229
21229
|
}, {
|
|
21230
21230
|
top: d.top || 0,
|
|
21231
21231
|
bottom: d.bottom || 0
|
|
@@ -21308,7 +21308,7 @@ var mb = function(e, n, i, r) {
|
|
|
21308
21308
|
props: w
|
|
21309
21309
|
}))
|
|
21310
21310
|
return null;
|
|
21311
|
-
var S = w.children, A = w.layout, O = w.stackOffset, P = w.data, C = w.reverseStackOrder, T = SO(A), E = T.numericAxisName, D = T.cateAxisName, I =
|
|
21311
|
+
var S = w.children, A = w.layout, O = w.stackOffset, P = w.data, C = w.reverseStackOrder, T = SO(A), E = T.numericAxisName, D = T.cateAxisName, I = Fn(S, i), $ = wU(P, I, "".concat(E, "Id"), "".concat(D, "Id"), O, C), j = l.reduce(function(z, K) {
|
|
21312
21312
|
var ne = "".concat(K.axisType, "Map");
|
|
21313
21313
|
return X(X({}, z), {}, Ce({}, ne, tte(w, X(X({}, K), {}, {
|
|
21314
21314
|
graphicalItems: I,
|
|
@@ -21427,7 +21427,7 @@ var mb = function(e, n, i, r) {
|
|
|
21427
21427
|
var A = b.props.onMouseLeave;
|
|
21428
21428
|
Ee(A) && A(S, k);
|
|
21429
21429
|
}), Ce(b, "handleOuterEvent", function(k) {
|
|
21430
|
-
var S = WL(k), A =
|
|
21430
|
+
var S = WL(k), A = Ln(b.props, "".concat(S));
|
|
21431
21431
|
if (S && Ee(A)) {
|
|
21432
21432
|
var O, P;
|
|
21433
21433
|
/.*touch.*/i.test(S) ? P = b.getMouseInfo(k.changedTouches[0]) : P = b.getMouseInfo(k), A((O = P) !== null && O !== void 0 ? O : {}, k);
|
|
@@ -21531,7 +21531,7 @@ var mb = function(e, n, i, r) {
|
|
|
21531
21531
|
tooltipEventType: I
|
|
21532
21532
|
});
|
|
21533
21533
|
}), Ce(b, "renderPolarAxis", function(k, S, A) {
|
|
21534
|
-
var O =
|
|
21534
|
+
var O = Ln(k, "type.axisType"), P = Ln(b.state, "".concat(O, "Map")), C = k.type.defaultProps, T = C !== void 0 ? X(X({}, C), k.props) : k.props, E = P && P[T["".concat(O, "Id")]];
|
|
21535
21535
|
return /* @__PURE__ */ Nt(k, X(X({}, E), {}, {
|
|
21536
21536
|
className: Ne(O, E.className),
|
|
21537
21537
|
key: k.key || "".concat(S, "-").concat(A),
|
|
@@ -21570,7 +21570,7 @@ var mb = function(e, n, i, r) {
|
|
|
21570
21570
|
onBBoxUpdate: b.handleLegendBBoxUpdate
|
|
21571
21571
|
}));
|
|
21572
21572
|
}), Ce(b, "renderTooltip", function() {
|
|
21573
|
-
var k, S = b.props, A = S.children, O = S.accessibilityLayer, P =
|
|
21573
|
+
var k, S = b.props, A = S.children, O = S.accessibilityLayer, P = Nn(A, Pi);
|
|
21574
21574
|
if (!P)
|
|
21575
21575
|
return null;
|
|
21576
21576
|
var C = b.state, T = C.isTooltipActive, E = C.activeCoordinate, D = C.activePayload, I = C.activeLabel, $ = C.offset, j = (k = P.props.active) !== null && k !== void 0 ? k : T;
|
|
@@ -21635,7 +21635,7 @@ var mb = function(e, n, i, r) {
|
|
|
21635
21635
|
var O = b.filterFormatItem(k, S, A);
|
|
21636
21636
|
if (!O)
|
|
21637
21637
|
return null;
|
|
21638
|
-
var P = b.getTooltipEventType(), C = b.state, T = C.isTooltipActive, E = C.tooltipAxis, D = C.activeTooltipIndex, I = C.activeLabel, $ = b.props.children, j =
|
|
21638
|
+
var P = b.getTooltipEventType(), C = b.state, T = C.isTooltipActive, E = C.tooltipAxis, D = C.activeTooltipIndex, I = C.activeLabel, $ = b.props.children, j = Nn($, Pi), F = O.props, W = F.points, L = F.isRange, q = F.baseLine, z = O.item.type.defaultProps !== void 0 ? X(X({}, O.item.type.defaultProps), O.item.props) : O.item.props, K = z.activeDot, ne = z.hide, ce = z.activeBar, he = z.activeShape, ue = !!(!ne && T && j && (K || ce || he)), se = {};
|
|
21639
21639
|
P !== "axis" && j && j.props.trigger === "click" ? se = {
|
|
21640
21640
|
onClick: jc(b.handleItemMouseEnter, k.props.onClick)
|
|
21641
21641
|
} : P !== "axis" && (se = {
|
|
@@ -21766,7 +21766,7 @@ var mb = function(e, n, i, r) {
|
|
|
21766
21766
|
}, {
|
|
21767
21767
|
key: "displayDefaultTooltip",
|
|
21768
21768
|
value: function() {
|
|
21769
|
-
var w = this.props, x = w.children, b = w.data, k = w.height, S = w.layout, A =
|
|
21769
|
+
var w = this.props, x = w.children, b = w.data, k = w.height, S = w.layout, A = Nn(x, Pi);
|
|
21770
21770
|
if (A) {
|
|
21771
21771
|
var O = A.props.defaultIndex;
|
|
21772
21772
|
if (!(typeof O != "number" || O < 0 || O > this.state.tooltipTicks.length - 1)) {
|
|
@@ -21815,7 +21815,7 @@ var mb = function(e, n, i, r) {
|
|
|
21815
21815
|
}, {
|
|
21816
21816
|
key: "componentDidUpdate",
|
|
21817
21817
|
value: function(w) {
|
|
21818
|
-
Xg([
|
|
21818
|
+
Xg([Nn(w.children, Pi)], [Nn(this.props.children, Pi)]) || this.displayDefaultTooltip();
|
|
21819
21819
|
}
|
|
21820
21820
|
}, {
|
|
21821
21821
|
key: "componentWillUnmount",
|
|
@@ -21825,7 +21825,7 @@ var mb = function(e, n, i, r) {
|
|
|
21825
21825
|
}, {
|
|
21826
21826
|
key: "getTooltipEventType",
|
|
21827
21827
|
value: function() {
|
|
21828
|
-
var w =
|
|
21828
|
+
var w = Nn(this.props.children, Pi);
|
|
21829
21829
|
if (w && typeof w.props.shared == "boolean") {
|
|
21830
21830
|
var x = w.props.shared ? "axis" : "item";
|
|
21831
21831
|
return s.indexOf(x) >= 0 ? x : a;
|
|
@@ -21883,7 +21883,7 @@ var mb = function(e, n, i, r) {
|
|
|
21883
21883
|
}, {
|
|
21884
21884
|
key: "parseEventsOfWrapper",
|
|
21885
21885
|
value: function() {
|
|
21886
|
-
var w = this.props.children, x = this.getTooltipEventType(), b =
|
|
21886
|
+
var w = this.props.children, x = this.getTooltipEventType(), b = Nn(w, Pi), k = {};
|
|
21887
21887
|
b && x === "axis" && (b.props.trigger === "click" ? k = {
|
|
21888
21888
|
onClick: this.handleClick
|
|
21889
21889
|
} : k = {
|
|
@@ -22118,7 +22118,7 @@ var mb = function(e, n, i, r) {
|
|
|
22118
22118
|
});
|
|
22119
22119
|
}
|
|
22120
22120
|
if (!Xg(x, v.prevChildren)) {
|
|
22121
|
-
var j, F, W, L, q =
|
|
22121
|
+
var j, F, W, L, q = Nn(x, rs), z = q && (j = (F = q.props) === null || F === void 0 ? void 0 : F.startIndex) !== null && j !== void 0 ? j : P, K = q && (W = (L = q.props) === null || L === void 0 ? void 0 : L.endIndex) !== null && W !== void 0 ? W : C, ne = z !== P || K !== C, ce = !Me(w), he = ce && !ne ? v.updateId : v.updateId + 1;
|
|
22122
22122
|
return X(X({
|
|
22123
22123
|
updateId: he
|
|
22124
22124
|
}, h(X(X({
|
|
@@ -22365,7 +22365,7 @@ function yb(t, e, n, i) {
|
|
|
22365
22365
|
if (n in e && typeof e[n] == "string" ? a = e[n] : r && n in r && typeof r[n] == "string" ? a = r[n] : "dataKey" in e && typeof e.dataKey == "string" && (a = e.dataKey), !(i && i === a))
|
|
22366
22366
|
return a in t ? t[a] : t[n];
|
|
22367
22367
|
}
|
|
22368
|
-
const s8 =
|
|
22368
|
+
const s8 = qn({
|
|
22369
22369
|
enabled: !1,
|
|
22370
22370
|
enable: () => null,
|
|
22371
22371
|
disable: () => null,
|
|
@@ -23992,7 +23992,7 @@ function pne({ metadata: t }) {
|
|
|
23992
23992
|
});
|
|
23993
23993
|
}
|
|
23994
23994
|
function MO({ otherActions: t, selectable: e = !1, selected: n = !1, onSelect: i, title: r, overlay: a = !1 }) {
|
|
23995
|
-
const o =
|
|
23995
|
+
const o = En(), s = t && t.length > 0, [l, f] = ke(!1);
|
|
23996
23996
|
return !s && !e ? null : U("div", {
|
|
23997
23997
|
className: ee("flex flex-row gap-1 opacity-100 transition-opacity delay-150 duration-150 focus-within:delay-0 group-hover:delay-0 sm:opacity-0 focus-within:sm:opacity-100 group-hover:sm:opacity-100 [&>div]:z-[1]", (l || n) && "delay-0 sm:opacity-100", a && "absolute right-2 top-2 rounded-sm bg-f1-background/60 p-1 shadow-md backdrop-blur-sm"),
|
|
23998
23998
|
children: [s && _("div", {
|
|
@@ -24316,7 +24316,7 @@ const vye = GI, Sne = (t, e, n) => {
|
|
|
24316
24316
|
return i ? i.add(t, e) : { from: /* @__PURE__ */ new Date(), to: /* @__PURE__ */ new Date() };
|
|
24317
24317
|
};
|
|
24318
24318
|
function One({ granularities: t, value: e, onChange: n }) {
|
|
24319
|
-
const i =
|
|
24319
|
+
const i = En(), r = (a) => {
|
|
24320
24320
|
n(a);
|
|
24321
24321
|
};
|
|
24322
24322
|
return U("div", {
|
|
@@ -24366,7 +24366,7 @@ const DO = "__custom__", Ane = (t, e) => {
|
|
|
24366
24366
|
});
|
|
24367
24367
|
}, Tl = (t, e) => !t && !e ? !0 : !t || !e ? !1 : t.value?.from.getTime() === e.value?.from.getTime() && t.value?.to.getTime() === e.value?.to.getTime() && t.granularity === e.granularity, NO = "__custom__";
|
|
24368
24368
|
function Ene({ onSelect: t, defaultValue: e, presets: n = [], granularities: i = ["day"], children: r, compareTo: a, defaultCompareTo: o, onCompareToChange: s, hideCalendarInput: l, value: f, asChild: c, weekStartsOn: u, ...d }) {
|
|
24369
|
-
const h =
|
|
24369
|
+
const h = En(), p = GC(), [m, y] = ke(f || e), v = u ?? p.date?.weekStartsOn ?? XI.Monday;
|
|
24370
24370
|
He(() => {
|
|
24371
24371
|
Tl(f, m) || y(f || e);
|
|
24372
24372
|
}, [f, e]);
|
|
@@ -24484,7 +24484,7 @@ function Ene({ onSelect: t, defaultValue: e, presets: n = [], granularities: i =
|
|
|
24484
24484
|
});
|
|
24485
24485
|
}
|
|
24486
24486
|
const E8 = dt(({ value: t, onDateChange: e, granularity: n, onOpenChange: i, minDate: r, maxDate: a, onClear: o, ...s }, l) => {
|
|
24487
|
-
const [f, c] = ke(""), [u, d] = ke(!1), h =
|
|
24487
|
+
const [f, c] = ke(""), [u, d] = ke(!1), h = En();
|
|
24488
24488
|
He(() => {
|
|
24489
24489
|
c(n.toString(t?.value, h, "long"));
|
|
24490
24490
|
}, [t, n, h]);
|
|
@@ -24537,7 +24537,7 @@ function Tne({ onChange: t, value: e, presets: n = [], granularities: i = ["day"
|
|
|
24537
24537
|
He(() => {
|
|
24538
24538
|
u(o);
|
|
24539
24539
|
}, [o]);
|
|
24540
|
-
const d =
|
|
24540
|
+
const d = En(), h = xt(() => i[0] ?? "day", [i]), p = vt((k) => {
|
|
24541
24541
|
const S = k || h;
|
|
24542
24542
|
if (!Ft[S])
|
|
24543
24543
|
throw new Error(`Invalid granularity ${S}`);
|
|
@@ -25928,19 +25928,19 @@ const eie = Pe.forwardRef(({ className: t, ...e }, n) => {
|
|
|
25928
25928
|
});
|
|
25929
25929
|
});
|
|
25930
25930
|
eie.displayName = "FormDescription";
|
|
25931
|
-
const tie = Pe.forwardRef(({ className: t, children: e,
|
|
25932
|
-
const { error:
|
|
25933
|
-
return
|
|
25934
|
-
ref:
|
|
25935
|
-
id:
|
|
25931
|
+
const tie = Pe.forwardRef(({ className: t, children: e, fallback: n, ...i }, r) => {
|
|
25932
|
+
const { error: a, formMessageId: o } = yp(), { forms: s } = En(), l = a ? a.message ?? n ?? s.validation.invalidType : e;
|
|
25933
|
+
return l ? U("div", {
|
|
25934
|
+
ref: r,
|
|
25935
|
+
id: o,
|
|
25936
25936
|
className: ee("flex gap-1", t),
|
|
25937
|
-
...
|
|
25937
|
+
...i,
|
|
25938
25938
|
children: [_(Vt, {
|
|
25939
25939
|
icon: bx,
|
|
25940
25940
|
color: "critical"
|
|
25941
25941
|
}), _("span", {
|
|
25942
25942
|
className: "text-base font-medium text-f1-foreground-critical",
|
|
25943
|
-
children:
|
|
25943
|
+
children: l
|
|
25944
25944
|
})]
|
|
25945
25945
|
}) : null;
|
|
25946
25946
|
});
|
|
@@ -28819,15 +28819,15 @@ class Ob {
|
|
|
28819
28819
|
return (this.delInfo & uu) > 0;
|
|
28820
28820
|
}
|
|
28821
28821
|
}
|
|
28822
|
-
class
|
|
28822
|
+
class Rn {
|
|
28823
28823
|
/**
|
|
28824
28824
|
Create a position map. The modifications to the document are
|
|
28825
28825
|
represented as an array of numbers, in which each group of three
|
|
28826
28826
|
represents a modified chunk as `[start, oldSize, newSize]`.
|
|
28827
28827
|
*/
|
|
28828
28828
|
constructor(e, n = !1) {
|
|
28829
|
-
if (this.ranges = e, this.inverted = n, !e.length &&
|
|
28830
|
-
return
|
|
28829
|
+
if (this.ranges = e, this.inverted = n, !e.length && Rn.empty)
|
|
28830
|
+
return Rn.empty;
|
|
28831
28831
|
}
|
|
28832
28832
|
/**
|
|
28833
28833
|
@internal
|
|
@@ -28898,7 +28898,7 @@ class $n {
|
|
|
28898
28898
|
map positions in the post-step document to the pre-step document.
|
|
28899
28899
|
*/
|
|
28900
28900
|
invert() {
|
|
28901
|
-
return new
|
|
28901
|
+
return new Rn(this.ranges, !this.inverted);
|
|
28902
28902
|
}
|
|
28903
28903
|
/**
|
|
28904
28904
|
@internal
|
|
@@ -28912,10 +28912,10 @@ class $n {
|
|
|
28912
28912
|
sub-document to a larger document, or vice-versa.
|
|
28913
28913
|
*/
|
|
28914
28914
|
static offset(e) {
|
|
28915
|
-
return e == 0 ?
|
|
28915
|
+
return e == 0 ? Rn.empty : new Rn(e < 0 ? [0, -e, 0] : [0, 0, e]);
|
|
28916
28916
|
}
|
|
28917
28917
|
}
|
|
28918
|
-
|
|
28918
|
+
Rn.empty = new Rn([]);
|
|
28919
28919
|
class $f {
|
|
28920
28920
|
/**
|
|
28921
28921
|
Create a new mapping with the given position maps.
|
|
@@ -29031,7 +29031,7 @@ class ln {
|
|
|
29031
29031
|
and the new document.
|
|
29032
29032
|
*/
|
|
29033
29033
|
getMap() {
|
|
29034
|
-
return
|
|
29034
|
+
return Rn.empty;
|
|
29035
29035
|
}
|
|
29036
29036
|
/**
|
|
29037
29037
|
Try to merge this step with another one, to be applied directly
|
|
@@ -29281,7 +29281,7 @@ class qt extends ln {
|
|
|
29281
29281
|
return this.structure && Ab(e, this.from, this.to) ? Et.fail("Structure replace would overwrite content") : Et.fromReplace(e, this.from, this.to, this.slice);
|
|
29282
29282
|
}
|
|
29283
29283
|
getMap() {
|
|
29284
|
-
return new
|
|
29284
|
+
return new Rn([this.from, this.to - this.from, this.slice.size]);
|
|
29285
29285
|
}
|
|
29286
29286
|
invert(e) {
|
|
29287
29287
|
return new qt(this.from, this.from + this.slice.size, e.slice(this.from, this.to));
|
|
@@ -29336,7 +29336,7 @@ class Ht extends ln {
|
|
|
29336
29336
|
return i ? Et.fromReplace(e, this.from, this.to, i) : Et.fail("Content does not fit in gap");
|
|
29337
29337
|
}
|
|
29338
29338
|
getMap() {
|
|
29339
|
-
return new
|
|
29339
|
+
return new Rn([
|
|
29340
29340
|
this.from,
|
|
29341
29341
|
this.gapFrom - this.from,
|
|
29342
29342
|
this.insert,
|
|
@@ -29978,7 +29978,7 @@ class Bo extends ln {
|
|
|
29978
29978
|
return Et.fromReplace(e, this.pos, this.pos + 1, new me(oe.from(r), 0, n.isLeaf ? 0 : 1));
|
|
29979
29979
|
}
|
|
29980
29980
|
getMap() {
|
|
29981
|
-
return
|
|
29981
|
+
return Rn.empty;
|
|
29982
29982
|
}
|
|
29983
29983
|
invert(e) {
|
|
29984
29984
|
return new Bo(this.pos, this.attr, e.nodeAt(this.pos).attrs[this.attr]);
|
|
@@ -30013,7 +30013,7 @@ class Rf extends ln {
|
|
|
30013
30013
|
return Et.ok(i);
|
|
30014
30014
|
}
|
|
30015
30015
|
getMap() {
|
|
30016
|
-
return
|
|
30016
|
+
return Rn.empty;
|
|
30017
30017
|
}
|
|
30018
30018
|
invert(e) {
|
|
30019
30019
|
return new Rf(this.attr, e.attrs[this.attr]);
|
|
@@ -30371,7 +30371,7 @@ class Ie {
|
|
|
30371
30371
|
negative, it will search backwards first.
|
|
30372
30372
|
*/
|
|
30373
30373
|
static near(e, n = 1) {
|
|
30374
|
-
return this.findFrom(e, n) || this.findFrom(e, -n) || new
|
|
30374
|
+
return this.findFrom(e, n) || this.findFrom(e, -n) || new Bn(e.node(0));
|
|
30375
30375
|
}
|
|
30376
30376
|
/**
|
|
30377
30377
|
Find the cursor or leaf node selection closest to the start of
|
|
@@ -30380,14 +30380,14 @@ class Ie {
|
|
|
30380
30380
|
exists.
|
|
30381
30381
|
*/
|
|
30382
30382
|
static atStart(e) {
|
|
30383
|
-
return Oo(e, e, 0, 0, 1) || new
|
|
30383
|
+
return Oo(e, e, 0, 0, 1) || new Bn(e);
|
|
30384
30384
|
}
|
|
30385
30385
|
/**
|
|
30386
30386
|
Find the cursor or leaf node selection closest to the end of the
|
|
30387
30387
|
given document.
|
|
30388
30388
|
*/
|
|
30389
30389
|
static atEnd(e) {
|
|
30390
|
-
return Oo(e, e, e.content.size, e.childCount, -1) || new
|
|
30390
|
+
return Oo(e, e, e.content.size, e.childCount, -1) || new Bn(e);
|
|
30391
30391
|
}
|
|
30392
30392
|
/**
|
|
30393
30393
|
Deserialize the JSON representation of a selection. Must be
|
|
@@ -30583,7 +30583,7 @@ class ok {
|
|
|
30583
30583
|
return i && Se.isSelectable(i) ? new Se(n) : Ie.near(n);
|
|
30584
30584
|
}
|
|
30585
30585
|
}
|
|
30586
|
-
class
|
|
30586
|
+
class Bn extends Ie {
|
|
30587
30587
|
/**
|
|
30588
30588
|
Create an all-selection over the given document.
|
|
30589
30589
|
*/
|
|
@@ -30605,25 +30605,25 @@ class Fn extends Ie {
|
|
|
30605
30605
|
@internal
|
|
30606
30606
|
*/
|
|
30607
30607
|
static fromJSON(e) {
|
|
30608
|
-
return new
|
|
30608
|
+
return new Bn(e);
|
|
30609
30609
|
}
|
|
30610
30610
|
map(e) {
|
|
30611
|
-
return new
|
|
30611
|
+
return new Bn(e);
|
|
30612
30612
|
}
|
|
30613
30613
|
eq(e) {
|
|
30614
|
-
return e instanceof
|
|
30614
|
+
return e instanceof Bn;
|
|
30615
30615
|
}
|
|
30616
30616
|
getBookmark() {
|
|
30617
30617
|
return Xie;
|
|
30618
30618
|
}
|
|
30619
30619
|
}
|
|
30620
|
-
Ie.jsonID("all",
|
|
30620
|
+
Ie.jsonID("all", Bn);
|
|
30621
30621
|
const Xie = {
|
|
30622
30622
|
map() {
|
|
30623
30623
|
return this;
|
|
30624
30624
|
},
|
|
30625
30625
|
resolve(t) {
|
|
30626
|
-
return new
|
|
30626
|
+
return new Bn(t);
|
|
30627
30627
|
}
|
|
30628
30628
|
};
|
|
30629
30629
|
function Oo(t, e, n, i, r, a = !1) {
|
|
@@ -32841,7 +32841,7 @@ function O9(t, e, n) {
|
|
|
32841
32841
|
return Ir(t, o);
|
|
32842
32842
|
}
|
|
32843
32843
|
if (!r.parent.inlineContent) {
|
|
32844
|
-
let o = e < 0 ? r : a, s = i instanceof
|
|
32844
|
+
let o = e < 0 ? r : a, s = i instanceof Bn ? Ie.near(o, e) : Ie.findFrom(o, e);
|
|
32845
32845
|
return s ? Ir(t, s) : !1;
|
|
32846
32846
|
}
|
|
32847
32847
|
return !1;
|
|
@@ -35145,7 +35145,7 @@ const Vae = (t, e) => {
|
|
|
35145
35145
|
return !0;
|
|
35146
35146
|
}, gD = (t, e) => {
|
|
35147
35147
|
let n = t.selection, { $from: i, $to: r } = n;
|
|
35148
|
-
if (n instanceof
|
|
35148
|
+
if (n instanceof Bn || i.parent.inlineContent || r.parent.inlineContent)
|
|
35149
35149
|
return !1;
|
|
35150
35150
|
let a = bk(r.parent.contentMatchAt(r.indexAfter()));
|
|
35151
35151
|
if (!a || !a.isTextblock)
|
|
@@ -35185,7 +35185,7 @@ function Uae(t) {
|
|
|
35185
35185
|
a.unshift(null);
|
|
35186
35186
|
}
|
|
35187
35187
|
let c = e.tr;
|
|
35188
|
-
(e.selection instanceof De || e.selection instanceof
|
|
35188
|
+
(e.selection instanceof De || e.selection instanceof Bn) && c.deleteSelection();
|
|
35189
35189
|
let u = c.mapping.map(i.pos), d = yr(c.doc, u, a.length, a);
|
|
35190
35190
|
if (d || (a[0] = s ? { type: s } : null, d = yr(c.doc, u, a.length, a)), c.split(u, a.length, a), !l && f && i.node(o).type != s) {
|
|
35191
35191
|
let h = c.mapping.map(i.before(o)), p = c.doc.resolve(h);
|
|
@@ -36712,7 +36712,7 @@ const tse = (t, e) => ({ tr: n, state: i, dispatch: r }) => {
|
|
|
36712
36712
|
}), !0) : !1;
|
|
36713
36713
|
}, nse = () => ({ tr: t, dispatch: e }) => (e && t.scrollIntoView(), !0), ise = () => ({ tr: t, dispatch: e }) => {
|
|
36714
36714
|
if (e) {
|
|
36715
|
-
const n = new
|
|
36715
|
+
const n = new Bn(t.doc);
|
|
36716
36716
|
t.setSelection(n);
|
|
36717
36717
|
}
|
|
36718
36718
|
return !0;
|
|
@@ -38115,7 +38115,7 @@ function _s(t) {
|
|
|
38115
38115
|
}
|
|
38116
38116
|
});
|
|
38117
38117
|
}
|
|
38118
|
-
let
|
|
38118
|
+
let Pn = class Bb {
|
|
38119
38119
|
constructor(e = {}) {
|
|
38120
38120
|
this.type = "node", this.name = "node", this.parent = null, this.child = null, this.config = {
|
|
38121
38121
|
name: this.name,
|
|
@@ -38274,7 +38274,7 @@ var An = "top", fi = "bottom", ci = "right", Cn = "left", Ok = "auto", _c = [An,
|
|
|
38274
38274
|
function Wi(t) {
|
|
38275
38275
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
38276
38276
|
}
|
|
38277
|
-
function
|
|
38277
|
+
function zn(t) {
|
|
38278
38278
|
if (t == null)
|
|
38279
38279
|
return window;
|
|
38280
38280
|
if (t.toString() !== "[object Window]") {
|
|
@@ -38284,17 +38284,17 @@ function Bn(t) {
|
|
|
38284
38284
|
return t;
|
|
38285
38285
|
}
|
|
38286
38286
|
function so(t) {
|
|
38287
|
-
var e =
|
|
38287
|
+
var e = zn(t).Element;
|
|
38288
38288
|
return t instanceof e || t instanceof Element;
|
|
38289
38289
|
}
|
|
38290
38290
|
function ai(t) {
|
|
38291
|
-
var e =
|
|
38291
|
+
var e = zn(t).HTMLElement;
|
|
38292
38292
|
return t instanceof e || t instanceof HTMLElement;
|
|
38293
38293
|
}
|
|
38294
38294
|
function Ak(t) {
|
|
38295
38295
|
if (typeof ShadowRoot > "u")
|
|
38296
38296
|
return !1;
|
|
38297
|
-
var e =
|
|
38297
|
+
var e = zn(t).ShadowRoot;
|
|
38298
38298
|
return t instanceof e || t instanceof ShadowRoot;
|
|
38299
38299
|
}
|
|
38300
38300
|
function ple(t) {
|
|
@@ -38356,7 +38356,7 @@ function As(t, e, n) {
|
|
|
38356
38356
|
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
38357
38357
|
var i = t.getBoundingClientRect(), r = 1, a = 1;
|
|
38358
38358
|
e && ai(t) && (r = t.offsetWidth > 0 && Os(i.width) / t.offsetWidth || 1, a = t.offsetHeight > 0 && Os(i.height) / t.offsetHeight || 1);
|
|
38359
|
-
var o = so(t) ?
|
|
38359
|
+
var o = so(t) ? zn(t) : window, s = o.visualViewport, l = !LD() && n, f = (i.left + (l && s ? s.offsetLeft : 0)) / r, c = (i.top + (l && s ? s.offsetTop : 0)) / a, u = i.width / r, d = i.height / a;
|
|
38360
38360
|
return {
|
|
38361
38361
|
width: u,
|
|
38362
38362
|
height: d,
|
|
@@ -38392,7 +38392,7 @@ function FD(t, e) {
|
|
|
38392
38392
|
return !1;
|
|
38393
38393
|
}
|
|
38394
38394
|
function wr(t) {
|
|
38395
|
-
return
|
|
38395
|
+
return zn(t).getComputedStyle(t);
|
|
38396
38396
|
}
|
|
38397
38397
|
function yle(t) {
|
|
38398
38398
|
return ["table", "td", "th"].indexOf(Wi(t)) >= 0;
|
|
@@ -38436,7 +38436,7 @@ function vle(t) {
|
|
|
38436
38436
|
return null;
|
|
38437
38437
|
}
|
|
38438
38438
|
function Sc(t) {
|
|
38439
|
-
for (var e =
|
|
38439
|
+
for (var e = zn(t), n = X9(t); n && yle(n) && wr(n).position === "static"; )
|
|
38440
38440
|
n = X9(n);
|
|
38441
38441
|
return n && (Wi(n) === "html" || Wi(n) === "body" && wr(n).position === "static") ? e : n || vle(t) || e;
|
|
38442
38442
|
}
|
|
@@ -38519,7 +38519,7 @@ function J9(t) {
|
|
|
38519
38519
|
var v = o.hasOwnProperty("x"), g = o.hasOwnProperty("y"), w = Cn, x = An, b = window;
|
|
38520
38520
|
if (f) {
|
|
38521
38521
|
var k = Sc(n), S = "clientHeight", A = "clientWidth";
|
|
38522
|
-
if (k ===
|
|
38522
|
+
if (k === zn(n) && (k = pa(n), wr(k).position !== "static" && s === "absolute" && (S = "scrollHeight", A = "scrollWidth")), k = k, r === An || (r === Cn || r === ci) && a === qf) {
|
|
38523
38523
|
x = fi;
|
|
38524
38524
|
var O = u && k === b && b.visualViewport ? b.visualViewport.height : (
|
|
38525
38525
|
// $FlowFixMe[prop-missing]
|
|
@@ -38541,7 +38541,7 @@ function J9(t) {
|
|
|
38541
38541
|
}, f && _le), T = c === !0 ? Sle({
|
|
38542
38542
|
x: h,
|
|
38543
38543
|
y: m
|
|
38544
|
-
},
|
|
38544
|
+
}, zn(n)) : {
|
|
38545
38545
|
x: h,
|
|
38546
38546
|
y: m
|
|
38547
38547
|
};
|
|
@@ -38585,7 +38585,7 @@ var Zc = {
|
|
|
38585
38585
|
passive: !0
|
|
38586
38586
|
};
|
|
38587
38587
|
function Cle(t) {
|
|
38588
|
-
var e = t.state, n = t.instance, i = t.options, r = i.scroll, a = r === void 0 ? !0 : r, o = i.resize, s = o === void 0 ? !0 : o, l =
|
|
38588
|
+
var e = t.state, n = t.instance, i = t.options, r = i.scroll, a = r === void 0 ? !0 : r, o = i.resize, s = o === void 0 ? !0 : o, l = zn(e.elements.popper), f = [].concat(e.scrollParents.reference, e.scrollParents.popper);
|
|
38589
38589
|
return a && f.forEach(function(c) {
|
|
38590
38590
|
c.addEventListener("scroll", n.update, Zc);
|
|
38591
38591
|
}), s && l.addEventListener("resize", n.update, Zc), function() {
|
|
@@ -38624,7 +38624,7 @@ function Z9(t) {
|
|
|
38624
38624
|
});
|
|
38625
38625
|
}
|
|
38626
38626
|
function Tk(t) {
|
|
38627
|
-
var e =
|
|
38627
|
+
var e = zn(t), n = e.pageXOffset, i = e.pageYOffset;
|
|
38628
38628
|
return {
|
|
38629
38629
|
scrollLeft: n,
|
|
38630
38630
|
scrollTop: i
|
|
@@ -38634,7 +38634,7 @@ function Pk(t) {
|
|
|
38634
38634
|
return As(pa(t)).left + Tk(t).scrollLeft;
|
|
38635
38635
|
}
|
|
38636
38636
|
function Mle(t, e) {
|
|
38637
|
-
var n =
|
|
38637
|
+
var n = zn(t), i = pa(t), r = n.visualViewport, a = i.clientWidth, o = i.clientHeight, s = 0, l = 0;
|
|
38638
38638
|
if (r) {
|
|
38639
38639
|
a = r.width, o = r.height;
|
|
38640
38640
|
var f = LD();
|
|
@@ -38666,7 +38666,7 @@ function HD(t) {
|
|
|
38666
38666
|
function jl(t, e) {
|
|
38667
38667
|
var n;
|
|
38668
38668
|
e === void 0 && (e = []);
|
|
38669
|
-
var i = HD(t), r = i === ((n = t.ownerDocument) == null ? void 0 : n.body), a =
|
|
38669
|
+
var i = HD(t), r = i === ((n = t.ownerDocument) == null ? void 0 : n.body), a = zn(i), o = r ? [a].concat(a.visualViewport || [], Mk(i) ? i : []) : i, s = e.concat(o);
|
|
38670
38670
|
return r ? s : (
|
|
38671
38671
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
38672
38672
|
s.concat(jl(Np(o)))
|
|
@@ -38981,7 +38981,7 @@ function Xle(t) {
|
|
|
38981
38981
|
};
|
|
38982
38982
|
}
|
|
38983
38983
|
function Jle(t) {
|
|
38984
|
-
return t ===
|
|
38984
|
+
return t === zn(t) || !ai(t) ? Tk(t) : Xle(t);
|
|
38985
38985
|
}
|
|
38986
38986
|
function Zle(t) {
|
|
38987
38987
|
var e = t.getBoundingClientRect(), n = Os(e.width) / t.offsetWidth || 1, i = Os(e.height) / t.offsetHeight || 1;
|
|
@@ -39377,7 +39377,7 @@ var ZD = {
|
|
|
39377
39377
|
role: "tooltip",
|
|
39378
39378
|
theme: "",
|
|
39379
39379
|
zIndex: 9999
|
|
39380
|
-
},
|
|
39380
|
+
}, jn = Object.assign({
|
|
39381
39381
|
appendTo: GD,
|
|
39382
39382
|
aria: {
|
|
39383
39383
|
content: "auto",
|
|
@@ -39425,11 +39425,11 @@ var ZD = {
|
|
|
39425
39425
|
touch: !0,
|
|
39426
39426
|
trigger: "mouseenter focus",
|
|
39427
39427
|
triggerTarget: null
|
|
39428
|
-
}, ZD, Efe), Tfe = Object.keys(
|
|
39428
|
+
}, ZD, Efe), Tfe = Object.keys(jn), Pfe = function(e) {
|
|
39429
39429
|
process.env.NODE_ENV !== "production" && eN(e, []);
|
|
39430
39430
|
var n = Object.keys(e);
|
|
39431
39431
|
n.forEach(function(i) {
|
|
39432
|
-
|
|
39432
|
+
jn[i] = e[i];
|
|
39433
39433
|
});
|
|
39434
39434
|
};
|
|
39435
39435
|
function QD(t) {
|
|
@@ -39437,14 +39437,14 @@ function QD(t) {
|
|
|
39437
39437
|
var a = r.name, o = r.defaultValue;
|
|
39438
39438
|
if (a) {
|
|
39439
39439
|
var s;
|
|
39440
|
-
i[a] = t[a] !== void 0 ? t[a] : (s =
|
|
39440
|
+
i[a] = t[a] !== void 0 ? t[a] : (s = jn[a]) != null ? s : o;
|
|
39441
39441
|
}
|
|
39442
39442
|
return i;
|
|
39443
39443
|
}, {});
|
|
39444
39444
|
return Object.assign({}, t, n);
|
|
39445
39445
|
}
|
|
39446
39446
|
function Mfe(t, e) {
|
|
39447
|
-
var n = e ? Object.keys(QD(Object.assign({},
|
|
39447
|
+
var n = e ? Object.keys(QD(Object.assign({}, jn, {
|
|
39448
39448
|
plugins: e
|
|
39449
39449
|
}))) : Tfe, i = n.reduce(function(r, a) {
|
|
39450
39450
|
var o = (t.getAttribute("data-tippy-" + a) || "").trim();
|
|
@@ -39466,7 +39466,7 @@ function uA(t, e) {
|
|
|
39466
39466
|
var n = Object.assign({}, e, {
|
|
39467
39467
|
content: YD(e.content, [t])
|
|
39468
39468
|
}, e.ignoreAttributes ? {} : Mfe(t, e.plugins));
|
|
39469
|
-
return n.aria = Object.assign({},
|
|
39469
|
+
return n.aria = Object.assign({}, jn.aria, n.aria), n.aria = {
|
|
39470
39470
|
expanded: n.aria.expanded === "auto" ? e.interactive : n.aria.expanded,
|
|
39471
39471
|
content: n.aria.content === "auto" ? e.interactive ? null : "describedby" : n.aria.content
|
|
39472
39472
|
}, n;
|
|
@@ -39475,7 +39475,7 @@ function eN(t, e) {
|
|
|
39475
39475
|
t === void 0 && (t = {}), e === void 0 && (e = []);
|
|
39476
39476
|
var n = Object.keys(t);
|
|
39477
39477
|
n.forEach(function(i) {
|
|
39478
|
-
var r = cfe(
|
|
39478
|
+
var r = cfe(jn, Object.keys(ZD)), a = !ffe(r, i);
|
|
39479
39479
|
a && (a = e.filter(function(o) {
|
|
39480
39480
|
return o.name === i;
|
|
39481
39481
|
}).length === 0), or(a, ["`" + i + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
|
|
@@ -39529,7 +39529,7 @@ function tN(t) {
|
|
|
39529
39529
|
tN.$$tippy = !0;
|
|
39530
39530
|
var Nfe = 1, Qc = [], xg = [];
|
|
39531
39531
|
function Ife(t, e) {
|
|
39532
|
-
var n = uA(t, Object.assign({},
|
|
39532
|
+
var n = uA(t, Object.assign({}, jn, QD(oA(e)))), i, r, a, o = !1, s = !1, l = !1, f = !1, c, u, d, h = [], p = rA(V, n.interactiveDebounce), m, y = Nfe++, v = null, g = dfe(n.plugins), w = {
|
|
39533
39533
|
// Is the instance currently enabled?
|
|
39534
39534
|
isEnabled: !0,
|
|
39535
39535
|
// Is the tippy currently showing and not transitioning out?
|
|
@@ -39595,7 +39595,7 @@ function Ife(t, e) {
|
|
|
39595
39595
|
return Vb(k);
|
|
39596
39596
|
}
|
|
39597
39597
|
function $(Y) {
|
|
39598
|
-
return x.state.isMounted && !x.state.isVisible || Mi.isTouch || c && c.type === "focus" ? 0 : vg(x.props.delay, Y ? 0 : 1,
|
|
39598
|
+
return x.state.isMounted && !x.state.isVisible || Mi.isTouch || c && c.type === "focus" ? 0 : vg(x.props.delay, Y ? 0 : 1, jn.delay);
|
|
39599
39599
|
}
|
|
39600
39600
|
function j(Y) {
|
|
39601
39601
|
Y === void 0 && (Y = !1), k.style.pointerEvents = x.props.interactive && !Y ? "" : "none", k.style.zIndex = "" + x.props.zIndex;
|
|
@@ -39823,7 +39823,7 @@ function Ife(t, e) {
|
|
|
39823
39823
|
}
|
|
39824
39824
|
function H() {
|
|
39825
39825
|
var Y = x.props.appendTo, ve, Te = E();
|
|
39826
|
-
x.props.interactive && Y === GD || Y === "parent" ? ve = Te.parentNode : ve = YD(Y, [Te]), ve.contains(k) || ve.appendChild(k), x.state.isMounted = !0, R(), process.env.NODE_ENV !== "production" && or(x.props.interactive && Y ===
|
|
39826
|
+
x.props.interactive && Y === GD || Y === "parent" ? ve = Te.parentNode : ve = YD(Y, [Te]), ve.contains(k) || ve.appendChild(k), x.state.isMounted = !0, R(), process.env.NODE_ENV !== "production" && or(x.props.interactive && Y === jn.appendTo && Te.nextElementSibling !== k, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
|
|
39827
39827
|
|
|
39828
39828
|
`, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
|
|
39829
39829
|
|
|
@@ -39884,7 +39884,7 @@ function Ife(t, e) {
|
|
|
39884
39884
|
}
|
|
39885
39885
|
function ma() {
|
|
39886
39886
|
process.env.NODE_ENV !== "production" && or(x.state.isDestroyed, _o("show"));
|
|
39887
|
-
var Y = x.state.isVisible, ve = x.state.isDestroyed, Te = !x.state.isEnabled, qe = Mi.isTouch && !x.props.touch, Fe = vg(x.props.duration, 0,
|
|
39887
|
+
var Y = x.state.isVisible, ve = x.state.isDestroyed, Te = !x.state.isEnabled, qe = Mi.isTouch && !x.props.touch, Fe = vg(x.props.duration, 0, jn.duration);
|
|
39888
39888
|
if (!(Y || ve || Te || qe) && !E().hasAttribute("disabled") && (F("onShow", [x], !1), x.props.onShow(x) !== !1)) {
|
|
39889
39889
|
if (x.state.isVisible = !0, T() && (k.style.visibility = "visible"), j(), ce(), x.state.isMounted || (k.style.transition = "none"), T()) {
|
|
39890
39890
|
var Lt = I(), gn = Lt.box, Yi = Lt.content;
|
|
@@ -39906,7 +39906,7 @@ function Ife(t, e) {
|
|
|
39906
39906
|
}
|
|
39907
39907
|
function Hn() {
|
|
39908
39908
|
process.env.NODE_ENV !== "production" && or(x.state.isDestroyed, _o("hide"));
|
|
39909
|
-
var Y = !x.state.isVisible, ve = x.state.isDestroyed, Te = !x.state.isEnabled, qe = vg(x.props.duration, 1,
|
|
39909
|
+
var Y = !x.state.isVisible, ve = x.state.isDestroyed, Te = !x.state.isEnabled, qe = vg(x.props.duration, 1, jn.duration);
|
|
39910
39910
|
if (!(Y || ve || Te) && (F("onHide", [x], !1), x.props.onHide(x) !== !1)) {
|
|
39911
39911
|
if (x.state.isVisible = !1, x.state.isShown = !1, f = !1, o = !1, T() && (k.style.visibility = "hidden"), q(), he(), j(!0), T()) {
|
|
39912
39912
|
var Fe = I(), Lt = Fe.box, gn = Fe.content;
|
|
@@ -39931,7 +39931,7 @@ function Ife(t, e) {
|
|
|
39931
39931
|
}
|
|
39932
39932
|
function Oc(t, e) {
|
|
39933
39933
|
e === void 0 && (e = {});
|
|
39934
|
-
var n =
|
|
39934
|
+
var n = jn.plugins.concat(e.plugins || []);
|
|
39935
39935
|
process.env.NODE_ENV !== "production" && (Cfe(t), eN(e, n)), kfe();
|
|
39936
39936
|
var i = Object.assign({}, e, {
|
|
39937
39937
|
plugins: n
|
|
@@ -39951,7 +39951,7 @@ function Oc(t, e) {
|
|
|
39951
39951
|
}, []);
|
|
39952
39952
|
return Wf(t) ? s[0] : s;
|
|
39953
39953
|
}
|
|
39954
|
-
Oc.defaultProps =
|
|
39954
|
+
Oc.defaultProps = jn;
|
|
39955
39955
|
Oc.setDefaultProps = Pfe;
|
|
39956
39956
|
Oc.currentInput = Mi;
|
|
39957
39957
|
Object.assign({}, jD, {
|
|
@@ -40637,7 +40637,7 @@ function ece(t = {}, e = []) {
|
|
|
40637
40637
|
selector: ({ transactionNumber: a }) => t.shouldRerenderOnTransaction === !1 ? null : t.immediatelyRender && a === 0 ? 0 : a + 1
|
|
40638
40638
|
}), r;
|
|
40639
40639
|
}
|
|
40640
|
-
const iN =
|
|
40640
|
+
const iN = qn({
|
|
40641
40641
|
editor: null
|
|
40642
40642
|
});
|
|
40643
40643
|
iN.Consumer;
|
|
@@ -40664,7 +40664,7 @@ const tce = () => sn(iN), nce = (t) => {
|
|
|
40664
40664
|
c.unregisterPlugin(a);
|
|
40665
40665
|
};
|
|
40666
40666
|
}, [t.editor, i, e]), M.createElement("div", { ref: n, className: t.className, style: { visibility: "hidden" } }, t.children);
|
|
40667
|
-
}, rN =
|
|
40667
|
+
}, rN = qn({
|
|
40668
40668
|
onDragStart: void 0
|
|
40669
40669
|
}), aN = () => sn(rN), Cye = (t) => {
|
|
40670
40670
|
const e = t.as || "div", { nodeViewContentRef: n } = aN();
|
|
@@ -41010,7 +41010,7 @@ const Yb = ({ option: t, onClick: e, isSelected: n = !1 }) => _(oi, {
|
|
|
41010
41010
|
})]
|
|
41011
41011
|
});
|
|
41012
41012
|
}, sN = ({ editor: t, onEnhanceWithAI: e, isLoadingEnhance: n, enhanceConfig: i, disableButtons: r, hideLabel: a, position: o = "bottom", setLastIntent: s }) => {
|
|
41013
|
-
const l =
|
|
41013
|
+
const l = En(), f = Be(null), [c, u] = ke(!1), d = (h) => {
|
|
41014
41014
|
h.preventDefault(), f.current ? u((p) => !p) : u(!1);
|
|
41015
41015
|
};
|
|
41016
41016
|
return U(ec, {
|
|
@@ -44095,7 +44095,7 @@ function aue({ onSelect: t, locale: e = "en", size: n = "md", variant: i = "outl
|
|
|
44095
44095
|
});
|
|
44096
44096
|
}
|
|
44097
44097
|
const oue = ({ editor: t, disabled: e }) => {
|
|
44098
|
-
const n =
|
|
44098
|
+
const n = En(), [i, r] = ke(!1), [a, o] = ke(t.getAttributes("link").href || ""), s = (h) => {
|
|
44099
44099
|
e || r(!i);
|
|
44100
44100
|
}, l = (h) => {
|
|
44101
44101
|
const p = h.trim();
|
|
@@ -44315,7 +44315,7 @@ const oue = ({ editor: t, disabled: e }) => {
|
|
|
44315
44315
|
}) ? hE : Vg, fue = (t, e) => t.map((n, i) => U(qg, {
|
|
44316
44316
|
children: [n, i < t.length - 1 && e]
|
|
44317
44317
|
}, `intersperse-${i}`)), Rk = ({ editor: t, isFullscreen: e = !1, disableButtons: n, onClose: i, animationComplete: r = !0, darkMode: a = !1, showEmojiPicker: o = !0, plainHtmlMode: s = !1 }) => {
|
|
44318
|
-
const l =
|
|
44318
|
+
const l = En(), f = [{
|
|
44319
44319
|
key: "bold",
|
|
44320
44320
|
icon: l$,
|
|
44321
44321
|
label: l.richTextEditor.bold,
|
|
@@ -44848,7 +44848,7 @@ const oue = ({ editor: t, disabled: e }) => {
|
|
|
44848
44848
|
"Mod-U": () => this.editor.commands.toggleUnderline()
|
|
44849
44849
|
};
|
|
44850
44850
|
}
|
|
44851
|
-
}), Vue = Wue, Uue = /^\s*(\[([( |x])?\])\s$/, Kue =
|
|
44851
|
+
}), Vue = Wue, Uue = /^\s*(\[([( |x])?\])\s$/, Kue = Pn.create({
|
|
44852
44852
|
name: "taskItem",
|
|
44853
44853
|
addOptions() {
|
|
44854
44854
|
return {
|
|
@@ -46156,7 +46156,7 @@ const Ode = li.create({
|
|
|
46156
46156
|
rel: "noopener noreferrer",
|
|
46157
46157
|
target: "_blank"
|
|
46158
46158
|
}
|
|
46159
|
-
}), Cde = /^\s*>\s$/, Ede =
|
|
46159
|
+
}), Cde = /^\s*>\s$/, Ede = Pn.create({
|
|
46160
46160
|
name: "blockquote",
|
|
46161
46161
|
addOptions() {
|
|
46162
46162
|
return {
|
|
@@ -46260,7 +46260,7 @@ const Ode = li.create({
|
|
|
46260
46260
|
})
|
|
46261
46261
|
];
|
|
46262
46262
|
}
|
|
46263
|
-
}), Ide = "listItem", JA = "textStyle", ZA = /^\s*([-+*])\s$/, $de =
|
|
46263
|
+
}), Ide = "listItem", JA = "textStyle", ZA = /^\s*([-+*])\s$/, $de = Pn.create({
|
|
46264
46264
|
name: "bulletList",
|
|
46265
46265
|
addOptions() {
|
|
46266
46266
|
return {
|
|
@@ -46354,7 +46354,7 @@ const Ode = li.create({
|
|
|
46354
46354
|
})
|
|
46355
46355
|
];
|
|
46356
46356
|
}
|
|
46357
|
-
}), Fde = /^```([a-z]+)?[\s\n]$/, Bde = /^~~~([a-z]+)?[\s\n]$/, zde =
|
|
46357
|
+
}), Fde = /^```([a-z]+)?[\s\n]$/, Bde = /^~~~([a-z]+)?[\s\n]$/, zde = Pn.create({
|
|
46358
46358
|
name: "codeBlock",
|
|
46359
46359
|
addOptions() {
|
|
46360
46360
|
return {
|
|
@@ -46481,7 +46481,7 @@ const Ode = li.create({
|
|
|
46481
46481
|
})
|
|
46482
46482
|
];
|
|
46483
46483
|
}
|
|
46484
|
-
}), qde =
|
|
46484
|
+
}), qde = Pn.create({
|
|
46485
46485
|
name: "doc",
|
|
46486
46486
|
topNode: !0,
|
|
46487
46487
|
content: "block+"
|
|
@@ -46597,7 +46597,7 @@ const Vde = ut.create({
|
|
|
46597
46597
|
allowGapCursor: (e = Re(xe(t, "allowGapCursor", n))) !== null && e !== void 0 ? e : null
|
|
46598
46598
|
};
|
|
46599
46599
|
}
|
|
46600
|
-
}), Kde =
|
|
46600
|
+
}), Kde = Pn.create({
|
|
46601
46601
|
name: "hardBreak",
|
|
46602
46602
|
addOptions() {
|
|
46603
46603
|
return {
|
|
@@ -46647,7 +46647,7 @@ const Vde = ut.create({
|
|
|
46647
46647
|
"Shift-Enter": () => this.editor.commands.setHardBreak()
|
|
46648
46648
|
};
|
|
46649
46649
|
}
|
|
46650
|
-
}), Gde =
|
|
46650
|
+
}), Gde = Pn.create({
|
|
46651
46651
|
name: "heading",
|
|
46652
46652
|
addOptions() {
|
|
46653
46653
|
return {
|
|
@@ -47062,7 +47062,7 @@ const VN = WN(!1, !0), UN = WN(!0, !0), rhe = ut.create({
|
|
|
47062
47062
|
"Shift-Mod-я": () => this.editor.commands.redo()
|
|
47063
47063
|
};
|
|
47064
47064
|
}
|
|
47065
|
-
}), ahe =
|
|
47065
|
+
}), ahe = Pn.create({
|
|
47066
47066
|
name: "horizontalRule",
|
|
47067
47067
|
addOptions() {
|
|
47068
47068
|
return {
|
|
@@ -47177,7 +47177,7 @@ const VN = WN(!1, !0), UN = WN(!0, !0), rhe = ut.create({
|
|
|
47177
47177
|
})
|
|
47178
47178
|
];
|
|
47179
47179
|
}
|
|
47180
|
-
}), uhe =
|
|
47180
|
+
}), uhe = Pn.create({
|
|
47181
47181
|
name: "listItem",
|
|
47182
47182
|
addOptions() {
|
|
47183
47183
|
return {
|
|
@@ -47205,7 +47205,7 @@ const VN = WN(!1, !0), UN = WN(!0, !0), rhe = ut.create({
|
|
|
47205
47205
|
"Shift-Tab": () => this.editor.commands.liftListItem(this.name)
|
|
47206
47206
|
};
|
|
47207
47207
|
}
|
|
47208
|
-
}), dhe = "listItem", tC = "textStyle", nC = /^(\d+)\.\s$/, hhe =
|
|
47208
|
+
}), dhe = "listItem", tC = "textStyle", nC = /^(\d+)\.\s$/, hhe = Pn.create({
|
|
47209
47209
|
name: "orderedList",
|
|
47210
47210
|
addOptions() {
|
|
47211
47211
|
return {
|
|
@@ -47271,7 +47271,7 @@ const VN = WN(!1, !0), UN = WN(!0, !0), rhe = ut.create({
|
|
|
47271
47271
|
t
|
|
47272
47272
|
];
|
|
47273
47273
|
}
|
|
47274
|
-
}), phe =
|
|
47274
|
+
}), phe = Pn.create({
|
|
47275
47275
|
name: "paragraph",
|
|
47276
47276
|
priority: 1e3,
|
|
47277
47277
|
addOptions() {
|
|
@@ -47355,7 +47355,7 @@ const VN = WN(!1, !0), UN = WN(!0, !0), rhe = ut.create({
|
|
|
47355
47355
|
})
|
|
47356
47356
|
];
|
|
47357
47357
|
}
|
|
47358
|
-
}), ghe =
|
|
47358
|
+
}), ghe = Pn.create({
|
|
47359
47359
|
name: "text",
|
|
47360
47360
|
group: "inline"
|
|
47361
47361
|
}), bhe = ut.create({
|
|
@@ -47378,7 +47378,7 @@ const VN = WN(!1, !0), UN = WN(!0, !0), rhe = ut.create({
|
|
|
47378
47378
|
class: "f1-ordered-list"
|
|
47379
47379
|
}
|
|
47380
47380
|
}
|
|
47381
|
-
}), whe =
|
|
47381
|
+
}), whe = Pn.create({
|
|
47382
47382
|
name: "taskList",
|
|
47383
47383
|
addOptions() {
|
|
47384
47384
|
return {
|
|
@@ -47669,7 +47669,7 @@ function Mhe({ pluginKey: t = Phe, editor: e, char: n = "@", allowSpaces: i = !1
|
|
|
47669
47669
|
});
|
|
47670
47670
|
return y;
|
|
47671
47671
|
}
|
|
47672
|
-
const Dhe = new Pt("mention"), Nhe =
|
|
47672
|
+
const Dhe = new Pt("mention"), Nhe = Pn.create({
|
|
47673
47673
|
name: "mention",
|
|
47674
47674
|
priority: 101,
|
|
47675
47675
|
addOptions() {
|
|
@@ -48163,7 +48163,7 @@ const Lhe = Nhe.extend({
|
|
|
48163
48163
|
return [Vhe];
|
|
48164
48164
|
}
|
|
48165
48165
|
}), Khe = ({ setLastIntent: t, lastIntent: e, setIsAcceptChangesOpen: n, editor: i, handleEnhanceWithAI: r }) => {
|
|
48166
|
-
const a =
|
|
48166
|
+
const a = En();
|
|
48167
48167
|
return U("div", {
|
|
48168
48168
|
className: "dark flex items-center gap-2 rounded-md border border-solid border-f1-border bg-f1-background p-1 drop-shadow-sm",
|
|
48169
48169
|
children: [_(et, {
|
|
@@ -48232,7 +48232,7 @@ const Lhe = Nhe.extend({
|
|
|
48232
48232
|
})
|
|
48233
48233
|
}, "full-doc-loading")
|
|
48234
48234
|
}), Xhe = ({ error: t, editor: e, setError: n }) => {
|
|
48235
|
-
const i =
|
|
48235
|
+
const i = En();
|
|
48236
48236
|
return U("div", {
|
|
48237
48237
|
className: "flex w-max max-w-full items-center gap-10 rounded-md bg-f1-background-critical p-1 drop-shadow-sm",
|
|
48238
48238
|
children: [U("div", {
|
|
@@ -48785,7 +48785,7 @@ const ppe = ({ mentionsConfig: t, mentionSuggestions: e, setMentionSuggestions:
|
|
|
48785
48785
|
if (!t) return null;
|
|
48786
48786
|
t.commands.setContent(e);
|
|
48787
48787
|
}, wpe = dt(function({ mentionsConfig: e, enhanceConfig: n, filesConfig: i, secondaryAction: r, primaryAction: a, maxCharacters: o, initialEditorState: s, onChange: l, placeholder: f, title: c, height: u = "auto", plainHtmlMode: d = !1, fullScreenMode: h = !0, onFullscreenChange: p }, m) {
|
|
48788
|
-
const y =
|
|
48788
|
+
const y = En(), v = PC(), g = Be(null), w = Be(null), x = Be(null), [b, k] = ke(!1), [S, A] = ke(!0), [O, P] = ke(!1), [C, T] = ke(!1), [E, D] = ke(!1), [I, $] = ke(!1), [j, F] = ke(null), [W, L] = ke(!1), [q, z] = ke(null), [K, ne] = ke(s?.files || []), [ce, he] = ke(e?.users || []), [ue, se] = ke({
|
|
48789
48789
|
html: s?.content || "",
|
|
48790
48790
|
json: null
|
|
48791
48791
|
});
|
|
@@ -50770,7 +50770,7 @@ function Ome(t) {
|
|
|
50770
50770
|
}
|
|
50771
50771
|
};
|
|
50772
50772
|
}
|
|
50773
|
-
const fI =
|
|
50773
|
+
const fI = qn(null);
|
|
50774
50774
|
function Yk() {
|
|
50775
50775
|
return sn(fI);
|
|
50776
50776
|
}
|
|
@@ -50829,7 +50829,7 @@ function Tme({ otherActions: t, open: e, setOpen: n, disabled: i }) {
|
|
|
50829
50829
|
}
|
|
50830
50830
|
function Pme({ item: t, counter: e, isActive: n, sortable: i, collapsible: r = !1, isExpanded: a = !1, onToggleExpanded: o = () => {
|
|
50831
50831
|
}, children: s, open: l, setOpen: f, isHovered: c, setIsHovered: u }) {
|
|
50832
|
-
const d =
|
|
50832
|
+
const d = En(), { label: h, onClick: p, icon: m, disabled: y, otherActions: v } = t, w = v && v.length > 0 && (c || l), x = e && !w, b = i && (c || l);
|
|
50833
50833
|
return U("div", {
|
|
50834
50834
|
className: "flex w-full min-w-0 items-center",
|
|
50835
50835
|
children: [r && _(oi, {
|
|
@@ -51218,7 +51218,7 @@ function EC(t, e) {
|
|
|
51218
51218
|
}
|
|
51219
51219
|
return t.map(i).filter(Boolean);
|
|
51220
51220
|
}
|
|
51221
|
-
function
|
|
51221
|
+
function In(t, e) {
|
|
51222
51222
|
function n(i, r, a = []) {
|
|
51223
51223
|
for (const o of i) {
|
|
51224
51224
|
if (o.id === r)
|
|
@@ -51271,14 +51271,14 @@ function Ime(t, e, n, i) {
|
|
|
51271
51271
|
function uI(t, e, n) {
|
|
51272
51272
|
if (n === null) return !1;
|
|
51273
51273
|
if (n === e) return !0;
|
|
51274
|
-
if (!
|
|
51274
|
+
if (!In(t, e)) return !1;
|
|
51275
51275
|
function r(o, s, l) {
|
|
51276
51276
|
for (const f of o)
|
|
51277
51277
|
if (f.id === l || f.children && r(f.children, s, l))
|
|
51278
51278
|
return !0;
|
|
51279
51279
|
return !1;
|
|
51280
51280
|
}
|
|
51281
|
-
const a =
|
|
51281
|
+
const a = In(t, e);
|
|
51282
51282
|
return a?.item.children ? r(a.item.children, e, n) : !1;
|
|
51283
51283
|
}
|
|
51284
51284
|
function To(t) {
|
|
@@ -51294,14 +51294,14 @@ function dI(t, e, n) {
|
|
|
51294
51294
|
} : i);
|
|
51295
51295
|
}
|
|
51296
51296
|
function $me(t, e, n, i) {
|
|
51297
|
-
const r =
|
|
51297
|
+
const r = In(t, e);
|
|
51298
51298
|
if (!r) return i;
|
|
51299
51299
|
let a = i;
|
|
51300
51300
|
if (n !== null) {
|
|
51301
|
-
if (
|
|
51301
|
+
if (In(t, n)) {
|
|
51302
51302
|
const s = r.parentPath;
|
|
51303
51303
|
if (s.length > 0 && s[s.length - 1] === n) {
|
|
51304
|
-
const l =
|
|
51304
|
+
const l = In(
|
|
51305
51305
|
t,
|
|
51306
51306
|
s[s.length - 1]
|
|
51307
51307
|
);
|
|
@@ -51318,7 +51318,7 @@ function $me(t, e, n, i) {
|
|
|
51318
51318
|
return a;
|
|
51319
51319
|
}
|
|
51320
51320
|
function px(t, e, n, i, r, a, o, s, l, f, c, u, d, h, p, m, y, v, g) {
|
|
51321
|
-
const w = t.children ? dl : Kl, x = o?.has(t.id) ?? !0, b = u === t.id, k = !!(c && c !== t.id && f && t.children !== void 0 && !uI(f, c, t.id)), S = !!(c && c !== t.id && b && d === "before"), A = !!(c && c !== t.id && b && d === "after"), O = p === null ? f?.[0]?.id === t.id : !f || !p ? !1 :
|
|
51321
|
+
const w = t.children ? dl : Kl, x = o?.has(t.id) ?? !0, b = u === t.id, k = !!(c && c !== t.id && f && t.children !== void 0 && !uI(f, c, t.id)), S = !!(c && c !== t.id && b && d === "before"), A = !!(c && c !== t.id && b && d === "after"), O = p === null ? f?.[0]?.id === t.id : !f || !p ? !1 : In(f, p)?.item.children?.[0]?.id === t.id;
|
|
51322
51322
|
return U(Ot, {
|
|
51323
51323
|
children: [_(Sn, {
|
|
51324
51324
|
children: S && _(wt.div, {
|
|
@@ -51411,7 +51411,7 @@ function px(t, e, n, i, r, a, o, s, l, f, c, u, d, h, p, m, y, v, g) {
|
|
|
51411
51411
|
});
|
|
51412
51412
|
}
|
|
51413
51413
|
function Rme({ title: t, items: e, className: n, activeItem: i, collapsible: r = !1, sortable: a = !1, showSearchBox: o = !1, searchPlaceholder: s, onReorder: l, hideChildrenCounter: f = !1, scrollable: c = !0 }) {
|
|
51414
|
-
const u =
|
|
51414
|
+
const u = En(), [d, h] = ke(""), p = (N) => {
|
|
51415
51415
|
h(N);
|
|
51416
51416
|
}, m = xt(() => EC(e, d), [e, d]), [y, v] = ke(Nme(e, i)), [g, w] = ke(e);
|
|
51417
51417
|
He(() => {
|
|
@@ -51426,7 +51426,7 @@ function Rme({ title: t, items: e, className: n, activeItem: i, collapsible: r =
|
|
|
51426
51426
|
const V = dI(g, N, ae);
|
|
51427
51427
|
w(V), l && l(To(V));
|
|
51428
51428
|
}, [g, l]), S = vt((N) => (ae) => {
|
|
51429
|
-
const V =
|
|
51429
|
+
const V = In(g, N);
|
|
51430
51430
|
if (V) {
|
|
51431
51431
|
const de = {
|
|
51432
51432
|
...V.item,
|
|
@@ -51438,7 +51438,7 @@ function Rme({ title: t, items: e, className: n, activeItem: i, collapsible: r =
|
|
|
51438
51438
|
}, [g, k, l, To]), A = vt((N, ae, V) => {
|
|
51439
51439
|
if (uI(g, N, ae))
|
|
51440
51440
|
return;
|
|
51441
|
-
const de =
|
|
51441
|
+
const de = In(g, N);
|
|
51442
51442
|
if (!de) return;
|
|
51443
51443
|
const ge = de.item;
|
|
51444
51444
|
let we = cI(g, N);
|
|
@@ -51514,7 +51514,7 @@ function Rme({ title: t, items: e, className: n, activeItem: i, collapsible: r =
|
|
|
51514
51514
|
F.current = null, C(null), E(null), I(null);
|
|
51515
51515
|
return;
|
|
51516
51516
|
}
|
|
51517
|
-
const de =
|
|
51517
|
+
const de = In(g, N), ge = In(g, V);
|
|
51518
51518
|
if (de && ge) {
|
|
51519
51519
|
let we = null, R = 0;
|
|
51520
51520
|
if (ae === "inside")
|
|
@@ -51523,14 +51523,14 @@ function Rme({ title: t, items: e, className: n, activeItem: i, collapsible: r =
|
|
|
51523
51523
|
if (de.parentPath.length > 0 ? we = de.parentPath[de.parentPath.length - 1] : we = null, we === null)
|
|
51524
51524
|
R = g.findIndex((Z) => Z.id === N);
|
|
51525
51525
|
else {
|
|
51526
|
-
const Z =
|
|
51526
|
+
const Z = In(g, we);
|
|
51527
51527
|
Z && (R = Z.item.children?.findIndex((ie) => ie.id === N) ?? 0);
|
|
51528
51528
|
}
|
|
51529
51529
|
else if (ae === "after")
|
|
51530
51530
|
if (de.parentPath.length > 0 ? we = de.parentPath[de.parentPath.length - 1] : we = null, we === null)
|
|
51531
51531
|
R = g.findIndex((Z) => Z.id === N) + 1;
|
|
51532
51532
|
else {
|
|
51533
|
-
const Z =
|
|
51533
|
+
const Z = In(g, we);
|
|
51534
51534
|
Z && (R = (Z.item.children?.findIndex((ie) => ie.id === N) ?? 0) + 1);
|
|
51535
51535
|
}
|
|
51536
51536
|
const B = ge.parentPath.length > 0 ? ge.parentPath[ge.parentPath.length - 1] : null;
|
|
@@ -51538,7 +51538,7 @@ function Rme({ title: t, items: e, className: n, activeItem: i, collapsible: r =
|
|
|
51538
51538
|
if (B === null)
|
|
51539
51539
|
H = g.findIndex((Z) => Z.id === V);
|
|
51540
51540
|
else {
|
|
51541
|
-
const Z =
|
|
51541
|
+
const Z = In(g, B);
|
|
51542
51542
|
Z && (H = Z.item.children?.findIndex((ie) => ie.id === V) ?? -1);
|
|
51543
51543
|
}
|
|
51544
51544
|
(we !== B || we === B && H !== R) && (j(V), A(V, we, R), setTimeout(() => {
|
|
@@ -51859,7 +51859,7 @@ Hme.displayName = "BaseBanner";
|
|
|
51859
51859
|
const mI = {
|
|
51860
51860
|
get: () => ({}),
|
|
51861
51861
|
set: () => Promise.resolve()
|
|
51862
|
-
}, yI =
|
|
51862
|
+
}, yI = qn(mI), Lye = ({ children: t, handler: e }) => _(yI.Provider, {
|
|
51863
51863
|
value: e ?? mI,
|
|
51864
51864
|
children: t
|
|
51865
51865
|
}), Fye = () => {
|
|
@@ -51932,7 +51932,7 @@ export {
|
|
|
51932
51932
|
Qh as aU,
|
|
51933
51933
|
NU as aV,
|
|
51934
51934
|
cye as aW,
|
|
51935
|
-
|
|
51935
|
+
Pn as aX,
|
|
51936
51936
|
pt as aY,
|
|
51937
51937
|
Pt as aZ,
|
|
51938
51938
|
xse as a_,
|
|
@@ -52000,7 +52000,7 @@ export {
|
|
|
52000
52000
|
C8 as bX,
|
|
52001
52001
|
O8 as bY,
|
|
52002
52002
|
A8 as bZ,
|
|
52003
|
-
|
|
52003
|
+
Bn as b_,
|
|
52004
52004
|
Qe as ba,
|
|
52005
52005
|
en as bb,
|
|
52006
52006
|
Se as bc,
|
|
@@ -52046,7 +52046,7 @@ export {
|
|
|
52046
52046
|
GN as cf,
|
|
52047
52047
|
Gn as cg,
|
|
52048
52048
|
It as d,
|
|
52049
|
-
|
|
52049
|
+
Fn as e,
|
|
52050
52050
|
_e as f,
|
|
52051
52051
|
St as g,
|
|
52052
52052
|
nye as h,
|