@factorialco/f0-react 1.185.0 → 1.186.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/experimental.js +304 -301
- package/dist/f0.js +2 -2
- package/dist/{hooks-mfYg1env.js → hooks-C49mI34Y.js} +95 -88
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/experimental.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { aB as ov, aC as av, aD as k0, aE as La, aF as jk, aG as Vk, aH as Hk, aI as Vc, aJ as Wk, aK as qk, aL as Uk, aM as U, aN as lv, aO as Kk, aP as Gk, aQ as Jk, aR as
|
|
2
|
-
import { J as LJ, dv as MJ, a7 as EJ, du as TJ } from "./hooks-
|
|
1
|
+
import { aB as ov, aC as av, aD as k0, aE as La, aF as jk, aG as Vk, aH as Hk, aI as Vc, aJ as Wk, aK as qk, aL as Uk, aM as U, aN as lv, aO as Kk, aP as Gk, aQ as Jk, aR as ws, aS as Jo, aT as Jl, aU as Yk, aV as el, aW as Zk, aX as Hc, aY as Xk, aZ as Qk, a_ as tl, a$ as ew, b0 as tw, b1 as nw, b2 as w0, b3 as iw, b4 as x0, b5 as rw, b6 as dv, b7 as fv, b8 as sw, b9 as Qs, q as At, a as N, ba as nr, P as Ge, bb as Ve, s as de, j as nt, y as re, bc as _f, L as Nr, bd as je, be as ir, _ as cv, bf as Re, bg as ow, bh as aw, bi as lw, bj as Fh, bk as uv, v as Yl, w as ii, x as ai, bl as dw, bm as Zl, bn as Qu, bo as fw, n as Cf, bp as hv, f as cw, bq as uw, br as hw, bs as pw, b as _0, bt as mw, bu as gw, bv as pv, bw as Bh, bx as yw, c as Sf, by as eo, bz as $h, bA as $t, bB as vw, bC as Tn, bD as bw, bE as mv, bF as kw, bG as Bi, bH as ww, bI as xw, bJ as _w, bK as Cw, bL as Sw, bM as gv, bN as Nw, bO as C0, bP as Lw, ax as to, S as Mi, t as zh, bQ as Mw, bR as yv, bS as Jt, $ as Ma, r as rr, bT as zr, bU as Ew, bV as Xr, bW as jh, a8 as Wn, bX as ye, bY as Yt, bZ as Nf, b_ as Yo, b$ as Tw, c0 as vv, c1 as bv, h as Lf, i as Mf, k as Ef, c2 as Vh, c3 as Ow, c4 as kv, C as mn, c5 as wv, c6 as Aw, c7 as Dw, G as Iw, c8 as xv, c9 as gt, ca as e1, cb as _v, a5 as t1, cc as Rw, cd as Pw, ce as Fw, cf as Bw, cg as $w, ay as Tf, a2 as n1, F as Hh, aA as zw, ch as Ln, az as jw, ci as Cv, cj as an, ck as Sv, cl as hr, cm as Vw, cn as Hw, co as qt, cp as Xl, cq as Nv, cr as Ww, ag as Of, a6 as Wh, al as jr, cs as qh, ct as Uh, cu as Lv, cv as qw, a9 as Uw, a1 as Mv, cw as Kw, cx as Ev, cy as Gw, cz as Jw, cA as Yw, D as Tv, u as Ov, cB as S0, cC as Zw, cD as Ea, cE as Xw, cF as Af, K as Qw, m as ex, cG as tx, cH as nx, cI as ix, cJ as rx, cK as sx, cL as ox, cM as ax, cN as lx, p as dx, an as fx, cO as Av, cP as Df, cQ as N0, Y as Dv, cR as Ta, cS as Iv, cT as Rv, cU as cx, a0 as no, cV as ux, a3 as Pv, I as hx, cW as ft, cX as L0, cY as px, cZ as mx, c_ as gx, c$ as Wc, d0 as yx, d1 as vx, ab as Ql, ao as M0, d2 as Fv, z as If, d3 as Rf, d4 as Pf, E as Ff, aa as Kh, d5 as bx, as as kx, d6 as i1, d7 as wx, d8 as ed, at as xx, d9 as _x, ar as Bv, aq as Cx, ap as Sx, da as Nx, ac as Lx, db as Mx, a4 as Ex, dc as Oa, dd as Gh, de as Jh, df as Aa, dg as $v, dh as zv, di as Tx, au as jv, dj as Vv, ad as Hv, dk as Ox, dl as Ax, dm as Dx, H as Ix, A as Rx, B as Px, e as Fx, g as Bx, V as $x, d as zx, dn as E0, dp as jx, dq as Vx, dr as Hx, ds as Wv, dt as Wx } from "./hooks-C49mI34Y.js";
|
|
2
|
+
import { J as LJ, dv as MJ, a7 as EJ, du as TJ } from "./hooks-C49mI34Y.js";
|
|
3
3
|
import { jsxs as b, jsx as f, Fragment as Ne } from "react/jsx-runtime";
|
|
4
4
|
import * as I from "react";
|
|
5
|
-
import X, { forwardRef as H, createContext as Rn, useRef as le, useState as B, useCallback as _e, useContext as ln, useMemo as he, useEffect as ne, PureComponent as qx, useId as
|
|
5
|
+
import X, { forwardRef as H, createContext as Rn, useRef as le, useState as B, useCallback as _e, useContext as ln, useMemo as he, useEffect as ne, PureComponent as qx, useId as Qr, useLayoutEffect as Yh, memo as Da, Fragment as sr, useTransition as Ux, isValidElement as Kx, cloneElement as qv, useDeferredValue as Gx, useDebugValue as Uv, createRef as Jx, createElement as Yx, version as T0, useImperativeHandle as Bf, Children as Kv } from "react";
|
|
6
6
|
import { useCopilotChatInternal as Zx, CopilotKit as Xx } from "@copilotkit/react-core";
|
|
7
7
|
import { Markdown as Qx, useChatContext as $f, CopilotSidebar as e_, CopilotPopup as t_ } from "@copilotkit/react-ui";
|
|
8
8
|
import * as Gv from "react-dom";
|
|
@@ -2283,7 +2283,7 @@ var mS = function(e, n, i, r) {
|
|
|
2283
2283
|
return null;
|
|
2284
2284
|
var l = Xo({
|
|
2285
2285
|
stroke: "#ccc"
|
|
2286
|
-
},
|
|
2286
|
+
}, ws(e, !1));
|
|
2287
2287
|
return /* @__PURE__ */ X.createElement("g", {
|
|
2288
2288
|
className: "recharts-polar-grid-angle"
|
|
2289
2289
|
}, o.map(function(d) {
|
|
@@ -2299,7 +2299,7 @@ var mS = function(e, n, i, r) {
|
|
|
2299
2299
|
}, yS = function(e) {
|
|
2300
2300
|
var n = e.cx, i = e.cy, r = e.radius, s = e.index, o = Xo(Xo({
|
|
2301
2301
|
stroke: "#ccc"
|
|
2302
|
-
},
|
|
2302
|
+
}, ws(e, !1)), {}, {
|
|
2303
2303
|
fill: "none"
|
|
2304
2304
|
});
|
|
2305
2305
|
return /* @__PURE__ */ X.createElement("circle", Ei({}, o, {
|
|
@@ -2312,7 +2312,7 @@ var mS = function(e, n, i, r) {
|
|
|
2312
2312
|
}, vS = function(e) {
|
|
2313
2313
|
var n = e.radius, i = e.index, r = Xo(Xo({
|
|
2314
2314
|
stroke: "#ccc"
|
|
2315
|
-
},
|
|
2315
|
+
}, ws(e, !1)), {}, {
|
|
2316
2316
|
fill: "none"
|
|
2317
2317
|
});
|
|
2318
2318
|
return /* @__PURE__ */ X.createElement("path", Ei({}, r, {
|
|
@@ -2533,7 +2533,7 @@ var Ra = /* @__PURE__ */ function(t) {
|
|
|
2533
2533
|
return AS(e, t), MS(e, [{
|
|
2534
2534
|
key: "renderDots",
|
|
2535
2535
|
value: function(i) {
|
|
2536
|
-
var r = this.props, s = r.dot, o = r.dataKey, a =
|
|
2536
|
+
var r = this.props, s = r.dot, o = r.dataKey, a = ws(this.props, !1), l = ws(s, !0), d = i.map(function(c, u) {
|
|
2537
2537
|
var h = Vt(Vt(Vt({
|
|
2538
2538
|
key: "dot-".concat(u),
|
|
2539
2539
|
r: 3
|
|
@@ -2558,7 +2558,7 @@ var Ra = /* @__PURE__ */ function(t) {
|
|
|
2558
2558
|
points: i
|
|
2559
2559
|
})) : el(s) ? c = s(Vt(Vt({}, this.props), {}, {
|
|
2560
2560
|
points: i
|
|
2561
|
-
})) : c = /* @__PURE__ */ X.createElement(Xk, nd({},
|
|
2561
|
+
})) : c = /* @__PURE__ */ X.createElement(Xk, nd({}, ws(this.props, !0), {
|
|
2562
2562
|
onMouseEnter: this.handleMouseEnter,
|
|
2563
2563
|
onMouseLeave: this.handleMouseLeave,
|
|
2564
2564
|
points: i,
|
|
@@ -3378,7 +3378,7 @@ const dG = ({
|
|
|
3378
3378
|
path: "M15.9939 1.33514e-05C19.6511 1.37386e-05 23.2335 1.22043 26.0525 3.58204C23.2335 5.86737 19.651 7.16115 15.9939 7.16115C12.1849 7.16103 8.67993 5.79089 5.93728 3.58204C8.75621 1.29671 12.3369 0.000125175 15.9939 1.33514e-05Z"
|
|
3379
3379
|
}
|
|
3380
3380
|
], qS = ({ spin: t = !1, size: e = "md", ...n }, i) => {
|
|
3381
|
-
const r =
|
|
3381
|
+
const r = Qr(), {
|
|
3382
3382
|
onAnimationStart: s,
|
|
3383
3383
|
onAnimationEnd: o,
|
|
3384
3384
|
onDragStart: a,
|
|
@@ -3570,7 +3570,7 @@ const dG = ({
|
|
|
3570
3570
|
}
|
|
3571
3571
|
);
|
|
3572
3572
|
};
|
|
3573
|
-
function
|
|
3573
|
+
function es() {
|
|
3574
3574
|
const t = ln(S4);
|
|
3575
3575
|
return t === null ? (console.error("useAiChatLabels must be used within an AiChatLabelsProvider"), {
|
|
3576
3576
|
mode: "popup",
|
|
@@ -3596,7 +3596,7 @@ const sp = Rn({
|
|
|
3596
3596
|
setMessageContainerScrollTop: () => {
|
|
3597
3597
|
}
|
|
3598
3598
|
}), N4 = () => ln(sp), KS = 416, GS = 680, JS = 20, YS = U(lw), ZS = ({ children: t }) => {
|
|
3599
|
-
const { setOpen: e, open: n } = $f(), i = le(null), [r, s] = B(KS), [o, a] = B(0), { mode: l, shouldPlayEntranceAnimation: d, setShouldPlayEntranceAnimation: c } =
|
|
3599
|
+
const { setOpen: e, open: n } = $f(), i = le(null), [r, s] = B(KS), [o, a] = B(0), { mode: l, shouldPlayEntranceAnimation: d, setShouldPlayEntranceAnimation: c } = es();
|
|
3600
3600
|
ne(() => {
|
|
3601
3601
|
if (!n) return;
|
|
3602
3602
|
const h = () => {
|
|
@@ -3647,7 +3647,7 @@ const sp = Rn({
|
|
|
3647
3647
|
}
|
|
3648
3648
|
) }) }) });
|
|
3649
3649
|
}, XS = ({ children: t }) => {
|
|
3650
|
-
const { open: e } = $f(), { mode: n, shouldPlayEntranceAnimation: i, setShouldPlayEntranceAnimation: r } =
|
|
3650
|
+
const { open: e } = $f(), { mode: n, shouldPlayEntranceAnimation: i, setShouldPlayEntranceAnimation: r } = es(), [s, o] = B(0), a = he(
|
|
3651
3651
|
() => ({
|
|
3652
3652
|
reachedMaxHeight: !0,
|
|
3653
3653
|
messageContainerScrollTop: s,
|
|
@@ -3694,7 +3694,7 @@ const sp = Rn({
|
|
|
3694
3694
|
DescriptionComponent: n,
|
|
3695
3695
|
...i
|
|
3696
3696
|
}) => {
|
|
3697
|
-
const { setOpen: r, labels: s } = $f(), { messageContainerScrollTop: o } = N4(), a = je(), { mode: l, setMode: d } =
|
|
3697
|
+
const { setOpen: r, labels: s } = $f(), { messageContainerScrollTop: o } = N4(), a = je(), { mode: l, setMode: d } = es(), c = s.title === "CopilotKit";
|
|
3698
3698
|
return /* @__PURE__ */ b(
|
|
3699
3699
|
t,
|
|
3700
3700
|
{
|
|
@@ -3865,7 +3865,7 @@ const sp = Rn({
|
|
|
3865
3865
|
onThumbsDown: d,
|
|
3866
3866
|
markdownTagRenderers: c
|
|
3867
3867
|
}) => {
|
|
3868
|
-
const u = le(null), { messages: h, interrupt: p } = Zx(), { greeting: m } =
|
|
3868
|
+
const u = le(null), { messages: h, interrupt: p } = Zx(), { greeting: m } = es(), g = je(), [y, v] = B(0), w = he(
|
|
3869
3869
|
() => nN(g.ai.initialMessage),
|
|
3870
3870
|
[g.ai.initialMessage]
|
|
3871
3871
|
), x = h.length == 0 && (m || w.length > 0), {
|
|
@@ -4127,10 +4127,10 @@ const X0 = ({ message: t, ImageRenderer: e }) => {
|
|
|
4127
4127
|
children: t,
|
|
4128
4128
|
...e
|
|
4129
4129
|
}) => {
|
|
4130
|
-
const { agent: n } =
|
|
4130
|
+
const { agent: n } = es();
|
|
4131
4131
|
return /* @__PURE__ */ f(Xx, { runtimeUrl: "/copilotkit", agent: n, ...e, children: t });
|
|
4132
4132
|
}, oN = () => {
|
|
4133
|
-
const { enabled: t, mode: e, open: n, setOpen: i } =
|
|
4133
|
+
const { enabled: t, mode: e, open: n, setOpen: i } = es();
|
|
4134
4134
|
return t ? e === "sidebar" ? /* @__PURE__ */ f(
|
|
4135
4135
|
e_,
|
|
4136
4136
|
{
|
|
@@ -4287,7 +4287,7 @@ const fG = ({ title: t, status: e }) => /* @__PURE__ */ b("div", { className: "f
|
|
|
4287
4287
|
}, cG = cw(
|
|
4288
4288
|
Cf("RadarChart", hN)
|
|
4289
4289
|
);
|
|
4290
|
-
function
|
|
4290
|
+
function as(t, e, n) {
|
|
4291
4291
|
let i = n.initialDeps ?? [], r;
|
|
4292
4292
|
function s() {
|
|
4293
4293
|
var o, a, l, d;
|
|
@@ -4476,7 +4476,7 @@ class xN {
|
|
|
4476
4476
|
}, this.notify = (n) => {
|
|
4477
4477
|
var i, r;
|
|
4478
4478
|
(r = (i = this.options).onChange) == null || r.call(i, this, n);
|
|
4479
|
-
}, this.maybeNotify =
|
|
4479
|
+
}, this.maybeNotify = as(
|
|
4480
4480
|
() => (this.calculateRange(), [
|
|
4481
4481
|
this.isScrolling,
|
|
4482
4482
|
this.range ? this.range.startIndex : null,
|
|
@@ -4534,7 +4534,7 @@ class xN {
|
|
|
4534
4534
|
break;
|
|
4535
4535
|
}
|
|
4536
4536
|
return s.size === this.options.lanes ? Array.from(s.values()).sort((o, a) => o.end === a.end ? o.index - a.index : o.end - a.end)[0] : void 0;
|
|
4537
|
-
}, this.getMeasurementOptions =
|
|
4537
|
+
}, this.getMeasurementOptions = as(
|
|
4538
4538
|
() => [
|
|
4539
4539
|
this.options.count,
|
|
4540
4540
|
this.options.paddingStart,
|
|
@@ -4552,7 +4552,7 @@ class xN {
|
|
|
4552
4552
|
{
|
|
4553
4553
|
key: !1
|
|
4554
4554
|
}
|
|
4555
|
-
), this.getMeasurements =
|
|
4555
|
+
), this.getMeasurements = as(
|
|
4556
4556
|
() => [this.getMeasurementOptions(), this.itemSizeCache],
|
|
4557
4557
|
({ count: n, paddingStart: i, scrollMargin: r, getItemKey: s, enabled: o }, a) => {
|
|
4558
4558
|
if (!o)
|
|
@@ -4580,7 +4580,7 @@ class xN {
|
|
|
4580
4580
|
key: process.env.NODE_ENV !== "production" && "getMeasurements",
|
|
4581
4581
|
debug: () => this.options.debug
|
|
4582
4582
|
}
|
|
4583
|
-
), this.calculateRange =
|
|
4583
|
+
), this.calculateRange = as(
|
|
4584
4584
|
() => [
|
|
4585
4585
|
this.getMeasurements(),
|
|
4586
4586
|
this.getSize(),
|
|
@@ -4597,7 +4597,7 @@ class xN {
|
|
|
4597
4597
|
key: process.env.NODE_ENV !== "production" && "calculateRange",
|
|
4598
4598
|
debug: () => this.options.debug
|
|
4599
4599
|
}
|
|
4600
|
-
), this.getVirtualIndexes =
|
|
4600
|
+
), this.getVirtualIndexes = as(
|
|
4601
4601
|
() => {
|
|
4602
4602
|
let n = null, i = null;
|
|
4603
4603
|
const r = this.calculateRange();
|
|
@@ -4647,7 +4647,7 @@ class xN {
|
|
|
4647
4647
|
return;
|
|
4648
4648
|
}
|
|
4649
4649
|
this._measureElement(n, void 0);
|
|
4650
|
-
}, this.getVirtualItems =
|
|
4650
|
+
}, this.getVirtualItems = as(
|
|
4651
4651
|
() => [this.getVirtualIndexes(), this.getMeasurements()],
|
|
4652
4652
|
(n, i) => {
|
|
4653
4653
|
const r = [];
|
|
@@ -5046,9 +5046,9 @@ var AN = "SelectIcon", DN = I.forwardRef(
|
|
|
5046
5046
|
DN.displayName = AN;
|
|
5047
5047
|
var IN = "SelectPortal", R4 = (t) => /* @__PURE__ */ f(bw, { asChild: !0, ...t });
|
|
5048
5048
|
R4.displayName = IN;
|
|
5049
|
-
var
|
|
5049
|
+
var Vr = "SelectContent", P4 = I.forwardRef(
|
|
5050
5050
|
(t, e) => {
|
|
5051
|
-
const n = pr(
|
|
5051
|
+
const n = pr(Vr, t.__scopeSelect), [i, r] = I.useState();
|
|
5052
5052
|
if (Tn(() => {
|
|
5053
5053
|
r(new DocumentFragment());
|
|
5054
5054
|
}, []), !n.open) {
|
|
@@ -5061,8 +5061,8 @@ var jr = "SelectContent", P4 = I.forwardRef(
|
|
|
5061
5061
|
return /* @__PURE__ */ f(B4, { ...t, ref: e });
|
|
5062
5062
|
}
|
|
5063
5063
|
);
|
|
5064
|
-
P4.displayName =
|
|
5065
|
-
var Fn = 10, [F4, mr] = so(
|
|
5064
|
+
P4.displayName = Vr;
|
|
5065
|
+
var Fn = 10, [F4, mr] = so(Vr), RN = "SelectContentImpl", B4 = I.forwardRef(
|
|
5066
5066
|
(t, e) => {
|
|
5067
5067
|
const {
|
|
5068
5068
|
__scopeSelect: n,
|
|
@@ -5084,7 +5084,7 @@ var Fn = 10, [F4, mr] = so(jr), RN = "SelectContentImpl", B4 = I.forwardRef(
|
|
|
5084
5084
|
avoidCollisions: y,
|
|
5085
5085
|
//
|
|
5086
5086
|
...v
|
|
5087
|
-
} = t, w = pr(
|
|
5087
|
+
} = t, w = pr(Vr, n), [x, k] = I.useState(null), [C, _] = I.useState(null), M = $t(e, (V) => k(V)), [L, S] = I.useState(null), [E, D] = I.useState(
|
|
5088
5088
|
null
|
|
5089
5089
|
), O = Hf(n), [R, A] = I.useState(!1), F = I.useRef(!1);
|
|
5090
5090
|
I.useEffect(() => {
|
|
@@ -5234,7 +5234,7 @@ var Fn = 10, [F4, mr] = so(jr), RN = "SelectContentImpl", B4 = I.forwardRef(
|
|
|
5234
5234
|
);
|
|
5235
5235
|
B4.displayName = RN;
|
|
5236
5236
|
var PN = "SelectItemAlignedPosition", $4 = I.forwardRef((t, e) => {
|
|
5237
|
-
const { __scopeSelect: n, onPlaced: i, ...r } = t, s = pr(
|
|
5237
|
+
const { __scopeSelect: n, onPlaced: i, ...r } = t, s = pr(Vr, n), o = mr(Vr, n), [a, l] = I.useState(null), [d, c] = I.useState(null), u = $t(e, (M) => c(M)), h = Hf(n), p = I.useRef(!1), m = I.useRef(!0), { viewport: g, selectedItem: y, selectedItemText: v, focusSelectedItem: w } = o, x = I.useCallback(() => {
|
|
5238
5238
|
if (s.trigger && s.valueNode && a && d && g && y && v) {
|
|
5239
5239
|
const M = s.trigger.getBoundingClientRect(), L = d.getBoundingClientRect(), S = s.valueNode.getBoundingClientRect(), E = v.getBoundingClientRect();
|
|
5240
5240
|
if (s.dir !== "rtl") {
|
|
@@ -5367,7 +5367,7 @@ var FN = "SelectPopperPosition", a1 = I.forwardRef((t, e) => {
|
|
|
5367
5367
|
);
|
|
5368
5368
|
});
|
|
5369
5369
|
a1.displayName = FN;
|
|
5370
|
-
var [BN, op] = so(
|
|
5370
|
+
var [BN, op] = so(Vr, {}), l1 = "SelectViewport", z4 = I.forwardRef(
|
|
5371
5371
|
(t, e) => {
|
|
5372
5372
|
const { __scopeSelect: n, nonce: i, ...r } = t, s = mr(l1, n), o = op(l1, n), a = $t(e, s.onViewportChange), l = I.useRef(0);
|
|
5373
5373
|
return /* @__PURE__ */ b(Ne, { children: [
|
|
@@ -5899,9 +5899,9 @@ const eL = ({ actions: t }) => t ? /* @__PURE__ */ f("div", { className: "flex w
|
|
|
5899
5899
|
] }),
|
|
5900
5900
|
t.tag && /* @__PURE__ */ f("div", { className: "self-center", children: /* @__PURE__ */ f(rr, { text: t.tag }) })
|
|
5901
5901
|
] }) }), iL = H(function({ item: e }, n) {
|
|
5902
|
-
return /* @__PURE__ */ b("div", { className: "flex items-center gap-1.5", ref: n, children: [
|
|
5902
|
+
return /* @__PURE__ */ b("div", { className: "flex min-w-0 flex-1 items-center gap-1.5", ref: n, children: [
|
|
5903
5903
|
e.icon && /* @__PURE__ */ f("div", { className: "h-5 shrink-0 text-f1-icon", children: /* @__PURE__ */ f(de, { icon: e.icon }) }),
|
|
5904
|
-
e.label
|
|
5904
|
+
/* @__PURE__ */ f(zr, { tag: "span", children: e.label })
|
|
5905
5905
|
] });
|
|
5906
5906
|
}), rL = H(function({
|
|
5907
5907
|
placeholder: e,
|
|
@@ -6024,7 +6024,9 @@ const eL = ({ actions: t }) => t ? /* @__PURE__ */ f("div", { className: "flex w
|
|
|
6024
6024
|
className: N(
|
|
6025
6025
|
"rounded-2xs bg-f1-background-secondary p-0.5",
|
|
6026
6026
|
"flex h-full items-center justify-center",
|
|
6027
|
-
!o && "cursor-pointer"
|
|
6027
|
+
!o && "cursor-pointer",
|
|
6028
|
+
g === "sm" && "-mr-[2px] -mt-[2px]",
|
|
6029
|
+
g === "md" && "-mt-[7px] h-[30px]"
|
|
6028
6030
|
),
|
|
6029
6031
|
children: /* @__PURE__ */ f(
|
|
6030
6032
|
"div",
|
|
@@ -6032,7 +6034,8 @@ const eL = ({ actions: t }) => t ? /* @__PURE__ */ f("div", { className: "flex w
|
|
|
6032
6034
|
className: N(
|
|
6033
6035
|
"origin-center transition-transform duration-200",
|
|
6034
6036
|
"flex items-center justify-center",
|
|
6035
|
-
W && "rotate-180"
|
|
6037
|
+
W && "rotate-180",
|
|
6038
|
+
g === "md" && "w-[22px]"
|
|
6036
6039
|
),
|
|
6037
6040
|
children: /* @__PURE__ */ f(
|
|
6038
6041
|
de,
|
|
@@ -6051,7 +6054,7 @@ const eL = ({ actions: t }) => t ? /* @__PURE__ */ f("div", { className: "flex w
|
|
|
6051
6054
|
children: /* @__PURE__ */ f(
|
|
6052
6055
|
"button",
|
|
6053
6056
|
{
|
|
6054
|
-
className: "flex w-
|
|
6057
|
+
className: "flex min-w-0 flex-1 items-center justify-between",
|
|
6055
6058
|
"aria-label": w || e,
|
|
6056
6059
|
children: R && /* @__PURE__ */ f(iL, { item: R })
|
|
6057
6060
|
}
|
|
@@ -6294,7 +6297,7 @@ const sL = ({
|
|
|
6294
6297
|
searchKeys: i.searchKeys
|
|
6295
6298
|
}
|
|
6296
6299
|
),
|
|
6297
|
-
/* @__PURE__ */ f(
|
|
6300
|
+
/* @__PURE__ */ f(Xr, { value: ((M = i.subItems) == null ? void 0 : M.length) ?? 0 })
|
|
6298
6301
|
] }),
|
|
6299
6302
|
/* @__PURE__ */ f(
|
|
6300
6303
|
jh,
|
|
@@ -8020,7 +8023,7 @@ function h5(t) {
|
|
|
8020
8023
|
}
|
|
8021
8024
|
var p5 = d5, OL = c5;
|
|
8022
8025
|
const m5 = I.forwardRef(({ className: t, disabled: e, hideLabel: n, ...i }, r) => {
|
|
8023
|
-
const s =
|
|
8026
|
+
const s = Qr(), o = i.id || s;
|
|
8024
8027
|
return /* @__PURE__ */ b("div", { className: "flex items-center", children: [
|
|
8025
8028
|
/* @__PURE__ */ f(
|
|
8026
8029
|
p5,
|
|
@@ -8625,7 +8628,7 @@ function bg(t, e, n = "validate") {
|
|
|
8625
8628
|
ref: e
|
|
8626
8629
|
};
|
|
8627
8630
|
}
|
|
8628
|
-
var
|
|
8631
|
+
var ls = (t) => mt(t) && !fd(t) ? t : {
|
|
8629
8632
|
value: t,
|
|
8630
8633
|
message: ""
|
|
8631
8634
|
}, kg = async (t, e, n, i, r, s) => {
|
|
@@ -8644,7 +8647,7 @@ var as = (t) => mt(t) && !fd(t) ? t : {
|
|
|
8644
8647
|
};
|
|
8645
8648
|
};
|
|
8646
8649
|
if (s ? !Array.isArray(w) || !w.length : l && (!L && (S || Ht(w)) || xn(w) && !w || M && !$5(a).isValid || _ && !z5(a).isValid)) {
|
|
8647
|
-
const { value: O, message: R } = Ll(l) ? { value: !!l, message: l } :
|
|
8650
|
+
const { value: O, message: R } = Ll(l) ? { value: !!l, message: l } : ls(l);
|
|
8648
8651
|
if (O && (C[g] = {
|
|
8649
8652
|
type: ci.required,
|
|
8650
8653
|
message: R,
|
|
@@ -8655,7 +8658,7 @@ var as = (t) => mt(t) && !fd(t) ? t : {
|
|
|
8655
8658
|
}
|
|
8656
8659
|
if (!S && (!Ht(u) || !Ht(h))) {
|
|
8657
8660
|
let O, R;
|
|
8658
|
-
const A =
|
|
8661
|
+
const A = ls(h), F = ls(u);
|
|
8659
8662
|
if (!Ht(w) && !isNaN(w)) {
|
|
8660
8663
|
const j = o.valueAsNumber || w && +w;
|
|
8661
8664
|
Ht(A.value) || (O = j > A.value), Ht(F.value) || (R = j < F.value);
|
|
@@ -8667,12 +8670,12 @@ var as = (t) => mt(t) && !fd(t) ? t : {
|
|
|
8667
8670
|
return k(C[g].message), C;
|
|
8668
8671
|
}
|
|
8669
8672
|
if ((d || c) && !S && (ti(w) || s && Array.isArray(w))) {
|
|
8670
|
-
const O =
|
|
8673
|
+
const O = ls(d), R = ls(c), A = !Ht(O.value) && w.length > +O.value, F = !Ht(R.value) && w.length < +R.value;
|
|
8671
8674
|
if ((A || F) && (D(A, O.message, R.message), !i))
|
|
8672
8675
|
return k(C[g].message), C;
|
|
8673
8676
|
}
|
|
8674
8677
|
if (p && !S && ti(w)) {
|
|
8675
|
-
const { value: O, message: R } =
|
|
8678
|
+
const { value: O, message: R } = ls(p);
|
|
8676
8679
|
if (fd(O) && !w.match(O) && (C[g] = {
|
|
8677
8680
|
type: ci.pattern,
|
|
8678
8681
|
message: R,
|
|
@@ -10538,7 +10541,7 @@ async function BM(t) {
|
|
|
10538
10541
|
}
|
|
10539
10542
|
}
|
|
10540
10543
|
}
|
|
10541
|
-
a &&
|
|
10544
|
+
a && xs.reset(), g6();
|
|
10542
10545
|
}
|
|
10543
10546
|
function v6(t, e, n) {
|
|
10544
10547
|
t || (t = {});
|
|
@@ -10582,7 +10585,7 @@ async function VM(t, { maxResults: e, caller: n } = {}) {
|
|
|
10582
10585
|
return d == c ? a.id.localeCompare(l.id) : d - c;
|
|
10583
10586
|
}), s.length > e && (s = s.slice(0, e))), s;
|
|
10584
10587
|
}
|
|
10585
|
-
var
|
|
10588
|
+
var xs = {
|
|
10586
10589
|
search: VM,
|
|
10587
10590
|
get: zM,
|
|
10588
10591
|
reset: jM,
|
|
@@ -10817,10 +10820,10 @@ var gd = {
|
|
|
10817
10820
|
function b1(t) {
|
|
10818
10821
|
let { id: e, skin: n, emoji: i } = t;
|
|
10819
10822
|
if (t.shortcodes) {
|
|
10820
|
-
const a = t.shortcodes.match(
|
|
10823
|
+
const a = t.shortcodes.match(xs.SHORTCODES_REGEX);
|
|
10821
10824
|
a && (e = a[1], a[2] && (n = a[2]));
|
|
10822
10825
|
}
|
|
10823
|
-
if (i || (i =
|
|
10826
|
+
if (i || (i = xs.get(e || t.native)), !i) return t.fallback;
|
|
10824
10827
|
const r = i.skins[n - 1] || i.skins[0], s = r.src || (t.set != "native" && !t.spritesheet ? typeof t.getImageURL == "function" ? t.getImageURL(t.set, r.unified) : `https://cdn.jsdelivr.net/npm/emoji-datasource-${t.set}@15.0.1/img/${t.set}/64/${r.unified}.png` : void 0), o = typeof t.getSpritesheetURL == "function" ? t.getSpritesheetURL(t.set) : `https://cdn.jsdelivr.net/npm/emoji-datasource-${t.set}@15.0.1/img/${t.set}/sheets-256/64.png`;
|
|
10825
10828
|
return /* @__PURE__ */ K("span", {
|
|
10826
10829
|
class: "emoji-mart-emoji",
|
|
@@ -11356,7 +11359,7 @@ class fE extends ri {
|
|
|
11356
11359
|
getEmojiByPos([e, n]) {
|
|
11357
11360
|
const i = this.state.searchResults || this.grid, r = i[e] && i[e][n];
|
|
11358
11361
|
if (r)
|
|
11359
|
-
return
|
|
11362
|
+
return xs.get(r);
|
|
11360
11363
|
}
|
|
11361
11364
|
observeCategories() {
|
|
11362
11365
|
const e = this.refs.navigation.current;
|
|
@@ -11755,7 +11758,7 @@ class fE extends ri {
|
|
|
11755
11758
|
height: this.props.emojiButtonSize
|
|
11756
11759
|
}
|
|
11757
11760
|
});
|
|
11758
|
-
const v =
|
|
11761
|
+
const v = xs.get(g);
|
|
11759
11762
|
return this.renderEmojiButton(v, {
|
|
11760
11763
|
pos: [
|
|
11761
11764
|
a.index,
|
|
@@ -11920,7 +11923,7 @@ class fE extends ri {
|
|
|
11920
11923
|
}), bn(this, "handleSearchInput", async () => {
|
|
11921
11924
|
const n = this.refs.searchInput.current;
|
|
11922
11925
|
if (!n) return;
|
|
11923
|
-
const { value: i } = n, r = await
|
|
11926
|
+
const { value: i } = n, r = await xs.search(i), s = () => {
|
|
11924
11927
|
this.refs.scroll.current && (this.refs.scroll.current.scrollTop = 0);
|
|
11925
11928
|
};
|
|
11926
11929
|
if (!r) return this.setState({
|
|
@@ -13568,7 +13571,7 @@ function nu({
|
|
|
13568
13571
|
n.text && /* @__PURE__ */ f("span", { children: n.text })
|
|
13569
13572
|
] });
|
|
13570
13573
|
case "status":
|
|
13571
|
-
return /* @__PURE__ */ f(
|
|
13574
|
+
return /* @__PURE__ */ f(jr, { text: n.label, variant: n.variant });
|
|
13572
13575
|
case "list":
|
|
13573
13576
|
return /* @__PURE__ */ f(
|
|
13574
13577
|
Wh,
|
|
@@ -14276,7 +14279,7 @@ const D6 = H(
|
|
|
14276
14279
|
({ ...t }, e) => /* @__PURE__ */ f("li", { ref: e, className: "flex items-start pt-1", children: /* @__PURE__ */ f(Of, { ...t }) })
|
|
14277
14280
|
);
|
|
14278
14281
|
D6.displayName = "DotTagItem";
|
|
14279
|
-
const ec = (t, e) => t && t.type === "copy" ? { type: "copy", text: t.text ?? e } : t,
|
|
14282
|
+
const ec = (t, e) => t && t.type === "copy" ? { type: "copy", text: t.text ?? e } : t, hs = Object.assign(M6, {
|
|
14280
14283
|
Item: E6,
|
|
14281
14284
|
CompanyItem: O6,
|
|
14282
14285
|
PersonItem: T6,
|
|
@@ -14284,11 +14287,11 @@ const ec = (t, e) => t && t.type === "copy" ? { type: "copy", text: t.text ?? e
|
|
|
14284
14287
|
DotTagItem: D6
|
|
14285
14288
|
}), HE = ({ content: t }) => /* @__PURE__ */ b(Ne, { children: [
|
|
14286
14289
|
t.type === "weekdays" && /* @__PURE__ */ f("li", { className: "list-none px-1.5 py-1", children: /* @__PURE__ */ f($E, { ...t }) }),
|
|
14287
|
-
t.type === "person" && /* @__PURE__ */ f(
|
|
14288
|
-
t.type === "item" && /* @__PURE__ */ f(
|
|
14289
|
-
t.type === "team" && /* @__PURE__ */ f(
|
|
14290
|
-
t.type === "company" && /* @__PURE__ */ f(
|
|
14291
|
-
t.type === "dot-tag" && /* @__PURE__ */ f(
|
|
14290
|
+
t.type === "person" && /* @__PURE__ */ f(hs.PersonItem, { ...t }),
|
|
14291
|
+
t.type === "item" && /* @__PURE__ */ f(hs.Item, { ...t }),
|
|
14292
|
+
t.type === "team" && /* @__PURE__ */ f(hs.TeamItem, { ...t }),
|
|
14293
|
+
t.type === "company" && /* @__PURE__ */ f(hs.CompanyItem, { ...t }),
|
|
14294
|
+
t.type === "dot-tag" && /* @__PURE__ */ f(hs.DotTagItem, { ...t })
|
|
14292
14295
|
] }), WE = H(
|
|
14293
14296
|
function({ title: e, content: n, isHorizontal: i = !1, spacingAtTheBottom: r }, s) {
|
|
14294
14297
|
const o = Array.isArray(n) ? n : [n];
|
|
@@ -14301,7 +14304,7 @@ const ec = (t, e) => t && t.type === "copy" ? { type: "copy", text: t.text ?? e
|
|
|
14301
14304
|
r && !i && "pb-3",
|
|
14302
14305
|
i && "xs:[&_ul>li]:p-0 [&_ul]:flex-1"
|
|
14303
14306
|
),
|
|
14304
|
-
children: /* @__PURE__ */ f(
|
|
14307
|
+
children: /* @__PURE__ */ f(hs, { label: e, isHorizontal: i, children: o.map((a, l) => /* @__PURE__ */ f(HE, { content: a }, l)) })
|
|
14305
14308
|
}
|
|
14306
14309
|
);
|
|
14307
14310
|
}
|
|
@@ -15078,7 +15081,7 @@ const yT = At({
|
|
|
15078
15081
|
secondary: !1
|
|
15079
15082
|
}
|
|
15080
15083
|
}), Sp = I.forwardRef(({ className: t, children: e, secondary: n, ...i }, r) => {
|
|
15081
|
-
const s =
|
|
15084
|
+
const s = Qr();
|
|
15082
15085
|
return /* @__PURE__ */ b(
|
|
15083
15086
|
uT,
|
|
15084
15087
|
{
|
|
@@ -15282,7 +15285,7 @@ const vT = At({
|
|
|
15282
15285
|
}, ST = ({ children: t }) => /* @__PURE__ */ f("div", { className: "flex min-h-18 flex-row items-center justify-between border-x-0 border-b-0 border-t border-solid border-f1-border-secondary bg-f1-background p-5", children: t }), L1 = H(({ ...t }, e) => /* @__PURE__ */ f("nav", { ref: e, "aria-label": "breadcrumb", ...t }));
|
|
15283
15286
|
L1.displayName = "Breadcrumb";
|
|
15284
15287
|
const Np = H(({ className: t, children: e, ...n }, i) => {
|
|
15285
|
-
const r =
|
|
15288
|
+
const r = Qr();
|
|
15286
15289
|
return /* @__PURE__ */ f(
|
|
15287
15290
|
"ol",
|
|
15288
15291
|
{
|
|
@@ -15451,7 +15454,7 @@ function TT({ breadcrumbs: t, append: e }) {
|
|
|
15451
15454
|
"aria-hidden": "true",
|
|
15452
15455
|
ref: i,
|
|
15453
15456
|
children: t.map((d, c) => /* @__PURE__ */ f(
|
|
15454
|
-
|
|
15457
|
+
vs,
|
|
15455
15458
|
{
|
|
15456
15459
|
item: d,
|
|
15457
15460
|
isLast: c === t.length - 1,
|
|
@@ -15464,7 +15467,7 @@ function TT({ breadcrumbs: t, append: e }) {
|
|
|
15464
15467
|
),
|
|
15465
15468
|
s && s.headItem && /* @__PURE__ */ b(Np, { children: [
|
|
15466
15469
|
/* @__PURE__ */ f(
|
|
15467
|
-
|
|
15470
|
+
vs,
|
|
15468
15471
|
{
|
|
15469
15472
|
isOnly: s.isOnly,
|
|
15470
15473
|
isFirst: !0,
|
|
@@ -15482,7 +15485,7 @@ function TT({ breadcrumbs: t, append: e }) {
|
|
|
15482
15485
|
"collapsed-items"
|
|
15483
15486
|
),
|
|
15484
15487
|
s.tailItems.map((d, c) => /* @__PURE__ */ f(
|
|
15485
|
-
|
|
15488
|
+
vs,
|
|
15486
15489
|
{
|
|
15487
15490
|
item: d,
|
|
15488
15491
|
isLast: c === s.tailItems.length - 1,
|
|
@@ -15493,7 +15496,7 @@ function TT({ breadcrumbs: t, append: e }) {
|
|
|
15493
15496
|
))
|
|
15494
15497
|
] }),
|
|
15495
15498
|
!a && /* @__PURE__ */ f(Ne, { children: s.tailItems.map((d, c) => /* @__PURE__ */ f(
|
|
15496
|
-
|
|
15499
|
+
vs,
|
|
15497
15500
|
{
|
|
15498
15501
|
item: d,
|
|
15499
15502
|
isLast: c === s.tailItems.length - 1,
|
|
@@ -16140,13 +16143,13 @@ function RG({
|
|
|
16140
16143
|
] }),
|
|
16141
16144
|
/* @__PURE__ */ b("div", { className: "flex items-center gap-3", children: [
|
|
16142
16145
|
!r && u && /* @__PURE__ */ f("div", { children: e.tooltip ? /* @__PURE__ */ f(an, { label: e.tooltip, children: /* @__PURE__ */ f("div", { children: /* @__PURE__ */ f(
|
|
16143
|
-
|
|
16146
|
+
jr,
|
|
16144
16147
|
{
|
|
16145
16148
|
text: e.text,
|
|
16146
16149
|
variant: e.variant,
|
|
16147
16150
|
additionalAccesibleText: e.tooltip
|
|
16148
16151
|
}
|
|
16149
|
-
) }) }) : /* @__PURE__ */ f(
|
|
16152
|
+
) }) }) : /* @__PURE__ */ f(jr, { text: e.text, variant: e.variant }) }),
|
|
16150
16153
|
!r && u && (s || p || m) && /* @__PURE__ */ f("div", { className: "h-4 w-px bg-f1-border-secondary" }),
|
|
16151
16154
|
s && /* @__PURE__ */ b("div", { className: "flex items-center gap-3", children: [
|
|
16152
16155
|
s.counter && /* @__PURE__ */ b("span", { className: "text-sm text-f1-foreground-secondary", children: [
|
|
@@ -16229,7 +16232,7 @@ function VT({ action: t }) {
|
|
|
16229
16232
|
}
|
|
16230
16233
|
const r9 = H((t, e) => /* @__PURE__ */ f("div", { ref: e, className: "px-1.5", ...t, children: /* @__PURE__ */ f(ye, { className: "h-4 w-24", "aria-hidden": "true" }) }));
|
|
16231
16234
|
r9.displayName = "BreadcrumbSkeleton";
|
|
16232
|
-
const
|
|
16235
|
+
const vs = H(({ item: t, isLast: e, isOnly: n = !1, isFirst: i = !1, children: r }, s) => /* @__PURE__ */ b(Lp, { ref: s, children: [
|
|
16233
16236
|
!i && /* @__PURE__ */ f(Mp, {}),
|
|
16234
16237
|
/* @__PURE__ */ f(
|
|
16235
16238
|
s9,
|
|
@@ -16242,7 +16245,7 @@ const ys = H(({ item: t, isLast: e, isOnly: n = !1, isFirst: i = !1, children: r
|
|
|
16242
16245
|
),
|
|
16243
16246
|
r
|
|
16244
16247
|
] }, t.id));
|
|
16245
|
-
|
|
16248
|
+
vs.displayName = "BreadcrumbItem";
|
|
16246
16249
|
const s9 = H(
|
|
16247
16250
|
({ item: t, isLast: e, isOnly: n = !1, isFirst: i = !1 }, r) => {
|
|
16248
16251
|
const s = "loading" in t && t.loading, o = s ? "loading" : "type" in t && t.type ? t.type : e || n ? "page" : "link", a = /* @__PURE__ */ b(
|
|
@@ -16316,7 +16319,7 @@ const HT = ({
|
|
|
16316
16319
|
},
|
|
16317
16320
|
h.label
|
|
16318
16321
|
)) }) : /* @__PURE__ */ f(Nf, { items: n }), c = () => e ? /* @__PURE__ */ f(Np, { children: /* @__PURE__ */ f(
|
|
16319
|
-
|
|
16322
|
+
vs,
|
|
16320
16323
|
{
|
|
16321
16324
|
item: {
|
|
16322
16325
|
id: e.id,
|
|
@@ -16399,7 +16402,7 @@ function qT({
|
|
|
16399
16402
|
sidebar: e,
|
|
16400
16403
|
banner: n
|
|
16401
16404
|
}) {
|
|
16402
|
-
const { sidebarState: i, toggleSidebar: r, isSmallScreen: s } = za(), o = to(), { mode: a } =
|
|
16405
|
+
const { sidebarState: i, toggleSidebar: r, isSmallScreen: s } = za(), o = to(), { mode: a } = es();
|
|
16403
16406
|
return /* @__PURE__ */ f(Ne, { children: /* @__PURE__ */ f(
|
|
16404
16407
|
Dv,
|
|
16405
16408
|
{
|
|
@@ -16860,7 +16863,7 @@ function r2({
|
|
|
16860
16863
|
"icon"
|
|
16861
16864
|
) }) }),
|
|
16862
16865
|
/* @__PURE__ */ f(
|
|
16863
|
-
|
|
16866
|
+
zr,
|
|
16864
16867
|
{
|
|
16865
16868
|
lines: 1,
|
|
16866
16869
|
className: N(
|
|
@@ -16893,7 +16896,7 @@ function r2({
|
|
|
16893
16896
|
ease: [0.25, 0.1, 0.25, 1]
|
|
16894
16897
|
},
|
|
16895
16898
|
className: "flex items-center justify-center",
|
|
16896
|
-
children: /* @__PURE__ */ f(
|
|
16899
|
+
children: /* @__PURE__ */ f(Xr, { value: e })
|
|
16897
16900
|
},
|
|
16898
16901
|
"counter"
|
|
16899
16902
|
) : k && /* @__PURE__ */ f(
|
|
@@ -17307,7 +17310,7 @@ function sO({
|
|
|
17307
17310
|
ref: u,
|
|
17308
17311
|
children: [
|
|
17309
17312
|
/* @__PURE__ */ f("div", { className: "flex-shrink-0 pb-2 pl-5 pr-4 pt-5", children: /* @__PURE__ */ f(
|
|
17310
|
-
|
|
17313
|
+
zr,
|
|
17311
17314
|
{
|
|
17312
17315
|
lines: 1,
|
|
17313
17316
|
tag: "h2",
|
|
@@ -17561,7 +17564,7 @@ function zG({
|
|
|
17561
17564
|
size: "xsmall"
|
|
17562
17565
|
}
|
|
17563
17566
|
),
|
|
17564
|
-
/* @__PURE__ */ f(
|
|
17567
|
+
/* @__PURE__ */ f(zr, { children: `${t.firstName} ${t.lastName}` })
|
|
17565
17568
|
]
|
|
17566
17569
|
}
|
|
17567
17570
|
) }) }),
|
|
@@ -17719,7 +17722,7 @@ const pO = ({
|
|
|
17719
17722
|
),
|
|
17720
17723
|
/* @__PURE__ */ f("span", { children: t.label })
|
|
17721
17724
|
] }),
|
|
17722
|
-
t.badge && /* @__PURE__ */ f(
|
|
17725
|
+
t.badge && /* @__PURE__ */ f(Xr, { value: t.badge, size: "sm", type: "bold" })
|
|
17723
17726
|
] }), mO = ({ item: t }) => {
|
|
17724
17727
|
const { isActive: e } = Af(), { label: n, icon: i, ...r } = t, s = e(r.href, { exact: r.exactMatch });
|
|
17725
17728
|
return /* @__PURE__ */ f(
|
|
@@ -17802,7 +17805,7 @@ const pO = ({
|
|
|
17802
17805
|
}
|
|
17803
17806
|
) : t.avatar ? /* @__PURE__ */ f(Ma, { size: "xs", avatar: t.avatar }) : null,
|
|
17804
17807
|
/* @__PURE__ */ f(
|
|
17805
|
-
|
|
17808
|
+
zr,
|
|
17806
17809
|
{
|
|
17807
17810
|
tag: "span",
|
|
17808
17811
|
className: "line-clamp-1 font-medium text-f1-foreground",
|
|
@@ -18428,7 +18431,7 @@ const NO = ({
|
|
|
18428
18431
|
/* @__PURE__ */ f("p", { className: "font-medium text-f1-foreground", children: t }),
|
|
18429
18432
|
/* @__PURE__ */ f("p", { className: "text-f1-foreground-secondary", children: s })
|
|
18430
18433
|
] }),
|
|
18431
|
-
/* @__PURE__ */ f(
|
|
18434
|
+
/* @__PURE__ */ f(jr, { text: o, variant: xO[n] })
|
|
18432
18435
|
] }),
|
|
18433
18436
|
/* @__PURE__ */ f("div", { className: "w-full", children: /* @__PURE__ */ f(Wh, { avatars: a, layout: "fill", type: "person", size: "md" }) })
|
|
18434
18437
|
] });
|
|
@@ -19192,7 +19195,7 @@ const BO = (t) => "date" in t, $O = {
|
|
|
19192
19195
|
}, g9 = {
|
|
19193
19196
|
"date-navigator": $O
|
|
19194
19197
|
}, h2 = ({ loading: t }) => t ? /* @__PURE__ */ f(de, { icon: Qh, className: "animate-spin" }) : /* @__PURE__ */ f(de, { icon: Rv, className: "text" }), zO = ({ value: t, onChange: e, loading: n = !1 }) => {
|
|
19195
|
-
const [i, r] = B(!1), s =
|
|
19198
|
+
const [i, r] = B(!1), s = Qr(), o = le(null), a = le(null), l = je(), d = () => {
|
|
19196
19199
|
e(void 0), r(!1), a != null && a.current && (a.current.value = "");
|
|
19197
19200
|
};
|
|
19198
19201
|
vx(o, () => {
|
|
@@ -19514,7 +19517,7 @@ const BO = (t) => "date" in t, $O = {
|
|
|
19514
19517
|
}
|
|
19515
19518
|
),
|
|
19516
19519
|
/* @__PURE__ */ f(M0, { resolve: t, fallback: /* @__PURE__ */ f(ye, { className: "h-4 w-24" }), children: (p) => /* @__PURE__ */ f("h6", { className: "text-base font-semibold text-f1-foreground", children: p }) }),
|
|
19517
|
-
/* @__PURE__ */ f(M0, { resolve: e, fallback: /* @__PURE__ */ f(ye, { className: "h-4 w-5" }), children: (p) => p !== void 0 && /* @__PURE__ */ f(
|
|
19520
|
+
/* @__PURE__ */ f(M0, { resolve: e, fallback: /* @__PURE__ */ f(ye, { className: "h-4 w-5" }), children: (p) => p !== void 0 && /* @__PURE__ */ f(Xr, { value: p }) }),
|
|
19518
19521
|
r && /* @__PURE__ */ f("span", { className: "text-f1-icon-secondary", children: /* @__PURE__ */ f(HO, { open: d, size: "sm" }) })
|
|
19519
19522
|
]
|
|
19520
19523
|
}
|
|
@@ -20018,7 +20021,7 @@ function QO(t, e) {
|
|
|
20018
20021
|
}
|
|
20019
20022
|
return n;
|
|
20020
20023
|
}
|
|
20021
|
-
const
|
|
20024
|
+
const _s = Symbol("groupId");
|
|
20022
20025
|
function eA() {
|
|
20023
20026
|
const [t, e] = B(!0), [n, i] = B([]), [r, s] = B(null);
|
|
20024
20027
|
return {
|
|
@@ -20127,10 +20130,10 @@ function nc(t, { filters: e, onError: n } = {}) {
|
|
|
20127
20130
|
), Me = he(() => {
|
|
20128
20131
|
const $ = x.map((se) => ({
|
|
20129
20132
|
...se,
|
|
20130
|
-
[
|
|
20133
|
+
[_s]: (u == null ? void 0 : u.field) && p2(se, u.field) || void 0
|
|
20131
20134
|
}));
|
|
20132
20135
|
if (u && u.field && h && h.groupBy[u.field]) {
|
|
20133
|
-
const se = Fv.groupBy($,
|
|
20136
|
+
const se = Fv.groupBy($, _s), ue = u.field, me = h.groupBy[ue];
|
|
20134
20137
|
return {
|
|
20135
20138
|
type: "grouped",
|
|
20136
20139
|
records: $,
|
|
@@ -20321,7 +20324,7 @@ function nc(t, { filters: e, onError: n } = {}) {
|
|
|
20321
20324
|
}
|
|
20322
20325
|
}), T = ("records" in ze ? ze.records : []).map((P) => ({
|
|
20323
20326
|
...P,
|
|
20324
|
-
[
|
|
20327
|
+
[_s]: (u == null ? void 0 : u.field) && p2(P, u.field) || void 0
|
|
20325
20328
|
}));
|
|
20326
20329
|
ae(
|
|
20327
20330
|
(P) => {
|
|
@@ -20483,7 +20486,7 @@ function ic(t, e, n, i, r) {
|
|
|
20483
20486
|
const j = Array.isArray(A) ? A : [A], W = [
|
|
20484
20487
|
...j.flatMap((G) => G.records),
|
|
20485
20488
|
...Array.from(a.values()).filter(
|
|
20486
|
-
(G) => G.item[
|
|
20489
|
+
(G) => G.item[_s] && j.some((fe) => fe.key === G.item[_s])
|
|
20487
20490
|
).map((G) => G.item)
|
|
20488
20491
|
];
|
|
20489
20492
|
M(W, F), h((G) => {
|
|
@@ -20503,7 +20506,7 @@ function ic(t, e, n, i, r) {
|
|
|
20503
20506
|
await Promise.all(
|
|
20504
20507
|
t.groups.map(async (j) => {
|
|
20505
20508
|
const W = u.get(j.key), G = Array.from(a.values()).filter(
|
|
20506
|
-
(Te) => Te.item[
|
|
20509
|
+
(Te) => Te.item[_s] === j.key
|
|
20507
20510
|
), fe = o ? await j.itemCount || G.length : j.records.length, ae = G.filter(
|
|
20508
20511
|
(Te) => Te.checked
|
|
20509
20512
|
).length, Q = G.filter(
|
|
@@ -21219,8 +21222,8 @@ const qp = (t, e, n, i) => {
|
|
|
21219
21222
|
// Ref to the loading indicator (that is also used as a trigger for the infinite scroll)
|
|
21220
21223
|
};
|
|
21221
21224
|
}, yA = ({ label: t, variant: e, count: n }) => /* @__PURE__ */ b("div", { className: "flex items-center gap-2 px-1 pb-0.5 pt-2", children: [
|
|
21222
|
-
/* @__PURE__ */ f(
|
|
21223
|
-
/* @__PURE__ */ f(
|
|
21225
|
+
/* @__PURE__ */ f(jr, { text: t, variant: e || "neutral" }),
|
|
21226
|
+
/* @__PURE__ */ f(Xr, { size: "md", type: "default", value: n })
|
|
21224
21227
|
] }), A1 = H(
|
|
21225
21228
|
({ showPlaceholders: t = !0, count: e = 3 }, n) => /* @__PURE__ */ f("div", { ref: n, className: "space-y-1", "aria-hidden": !t, children: t && Array.from({ length: e }).map((i, r) => /* @__PURE__ */ f(Kh.Skeleton, { compact: !0 }, r)) })
|
|
21226
21229
|
);
|
|
@@ -21828,9 +21831,9 @@ const xA = ({
|
|
|
21828
21831
|
}, SA = ({ title: t, avatar: e, description: n }) => /* @__PURE__ */ b("article", { className: "flex w-[calc(100%-72px)] min-w-40 flex-col items-start gap-3 md:w-full md:flex-row md:items-center md:gap-2", children: [
|
|
21829
21832
|
e && /* @__PURE__ */ f(Ma, { avatar: e, size: "md" }),
|
|
21830
21833
|
/* @__PURE__ */ b("div", { className: "flex flex-1 flex-col gap-0.5", children: [
|
|
21831
|
-
/* @__PURE__ */ f("header", { children: /* @__PURE__ */ f("h3", { children: /* @__PURE__ */ f(
|
|
21834
|
+
/* @__PURE__ */ f("header", { children: /* @__PURE__ */ f("h3", { children: /* @__PURE__ */ f(zr, { className: "text-base font-medium text-f1-foreground", children: t }) }) }),
|
|
21832
21835
|
/* @__PURE__ */ f("aside", { children: n && n.length > 0 && /* @__PURE__ */ f("div", { className: "flex w-full flex-col text-base font-normal text-f1-foreground-secondary md:flex-row md:gap-1", children: n.map((i, r) => /* @__PURE__ */ b("div", { className: "flex min-w-0 gap-1", children: [
|
|
21833
|
-
/* @__PURE__ */ f(
|
|
21836
|
+
/* @__PURE__ */ f(zr, { children: i }),
|
|
21834
21837
|
r < n.length - 1 && /* @__PURE__ */ f("span", { className: "hidden md:inline", children: " · " })
|
|
21835
21838
|
] }, r)) }) })
|
|
21836
21839
|
] })
|
|
@@ -24995,7 +24998,7 @@ function tb(t, e) {
|
|
|
24995
24998
|
e = t[n].type.name + "(" + e + ")";
|
|
24996
24999
|
return e;
|
|
24997
25000
|
}
|
|
24998
|
-
class
|
|
25001
|
+
class Hr {
|
|
24999
25002
|
/**
|
|
25000
25003
|
@internal
|
|
25001
25004
|
*/
|
|
@@ -25008,7 +25011,7 @@ class Vr {
|
|
|
25008
25011
|
static parse(e, n) {
|
|
25009
25012
|
let i = new KA(e, n);
|
|
25010
25013
|
if (i.next == null)
|
|
25011
|
-
return
|
|
25014
|
+
return Hr.empty;
|
|
25012
25015
|
let r = nb(i);
|
|
25013
25016
|
i.next && i.err("Unexpected trailing text");
|
|
25014
25017
|
let s = eD(QA(r));
|
|
@@ -25157,7 +25160,7 @@ class Vr {
|
|
|
25157
25160
|
`);
|
|
25158
25161
|
}
|
|
25159
25162
|
}
|
|
25160
|
-
|
|
25163
|
+
Hr.empty = new Hr(!0);
|
|
25161
25164
|
class KA {
|
|
25162
25165
|
constructor(e, n) {
|
|
25163
25166
|
this.string = e, this.nodeTypes = n, this.inline = null, this.pos = 0, this.tokens = e.split(/\s*(?=\b|\W|$)/), this.tokens[this.tokens.length - 1] == "" && this.tokens.pop(), this.tokens[0] == "" && this.tokens.shift();
|
|
@@ -25320,7 +25323,7 @@ function eD(t) {
|
|
|
25320
25323
|
});
|
|
25321
25324
|
});
|
|
25322
25325
|
});
|
|
25323
|
-
let s = e[i.join(",")] = new
|
|
25326
|
+
let s = e[i.join(",")] = new Hr(i.indexOf(t.length - 1) > -1);
|
|
25324
25327
|
for (let o = 0; o < r.length; o++) {
|
|
25325
25328
|
let a = r[o][1].sort(ib);
|
|
25326
25329
|
s.next.push({ type: r[o][0], next: e[a.join(",")] || n(a) });
|
|
@@ -25403,7 +25406,7 @@ let L2 = class lb {
|
|
|
25403
25406
|
True for node types that allow no content.
|
|
25404
25407
|
*/
|
|
25405
25408
|
get isLeaf() {
|
|
25406
|
-
return this.contentMatch ==
|
|
25409
|
+
return this.contentMatch == Hr.empty;
|
|
25407
25410
|
}
|
|
25408
25411
|
/**
|
|
25409
25412
|
True when this node is an atom, i.e. when it does not have
|
|
@@ -25644,7 +25647,7 @@ class db {
|
|
|
25644
25647
|
if (r in this.marks)
|
|
25645
25648
|
throw new RangeError(r + " can not be both a node and a mark");
|
|
25646
25649
|
let s = this.nodes[r], o = s.spec.content || "", a = s.spec.marks;
|
|
25647
|
-
if (s.contentMatch = i[o] || (i[o] =
|
|
25650
|
+
if (s.contentMatch = i[o] || (i[o] = Hr.parse(o, this.nodes)), s.inlineContent = s.contentMatch.inlineContent, s.spec.linebreakReplacement) {
|
|
25648
25651
|
if (this.linebreakReplacement)
|
|
25649
25652
|
throw new RangeError("Multiple linebreak nodes defined");
|
|
25650
25653
|
if (!s.isInline || !s.isLeaf)
|
|
@@ -26228,7 +26231,7 @@ function A2(t, e) {
|
|
|
26228
26231
|
return !0;
|
|
26229
26232
|
}
|
|
26230
26233
|
}
|
|
26231
|
-
class
|
|
26234
|
+
class ts {
|
|
26232
26235
|
/**
|
|
26233
26236
|
Create a serializer. `nodes` should map node names to functions
|
|
26234
26237
|
that take a node and return a description of the corresponding
|
|
@@ -26315,7 +26318,7 @@ class es {
|
|
|
26315
26318
|
properties in a schema's node and mark specs.
|
|
26316
26319
|
*/
|
|
26317
26320
|
static fromSchema(e) {
|
|
26318
|
-
return e.cached.domSerializer || (e.cached.domSerializer = new
|
|
26321
|
+
return e.cached.domSerializer || (e.cached.domSerializer = new ts(this.nodesFromSchema(e), this.marksFromSchema(e)));
|
|
26319
26322
|
}
|
|
26320
26323
|
/**
|
|
26321
26324
|
Gather the serializers in a schema's node specs into an object.
|
|
@@ -27591,7 +27594,7 @@ function Cb(t, e) {
|
|
|
27591
27594
|
}
|
|
27592
27595
|
return n;
|
|
27593
27596
|
}
|
|
27594
|
-
class
|
|
27597
|
+
class Cs extends zt {
|
|
27595
27598
|
/**
|
|
27596
27599
|
Construct an attribute step.
|
|
27597
27600
|
*/
|
|
@@ -27613,11 +27616,11 @@ class _s extends zt {
|
|
|
27613
27616
|
return un.empty;
|
|
27614
27617
|
}
|
|
27615
27618
|
invert(e) {
|
|
27616
|
-
return new
|
|
27619
|
+
return new Cs(this.pos, this.attr, e.nodeAt(this.pos).attrs[this.attr]);
|
|
27617
27620
|
}
|
|
27618
27621
|
map(e) {
|
|
27619
27622
|
let n = e.mapResult(this.pos, 1);
|
|
27620
|
-
return n.deletedAfter ? null : new
|
|
27623
|
+
return n.deletedAfter ? null : new Cs(n.pos, this.attr, this.value);
|
|
27621
27624
|
}
|
|
27622
27625
|
toJSON() {
|
|
27623
27626
|
return { stepType: "attr", pos: this.pos, attr: this.attr, value: this.value };
|
|
@@ -27625,10 +27628,10 @@ class _s extends zt {
|
|
|
27625
27628
|
static fromJSON(e, n) {
|
|
27626
27629
|
if (typeof n.pos != "number" || typeof n.attr != "string")
|
|
27627
27630
|
throw new RangeError("Invalid input for AttrStep.fromJSON");
|
|
27628
|
-
return new
|
|
27631
|
+
return new Cs(n.pos, n.attr, n.value);
|
|
27629
27632
|
}
|
|
27630
27633
|
}
|
|
27631
|
-
zt.jsonID("attr",
|
|
27634
|
+
zt.jsonID("attr", Cs);
|
|
27632
27635
|
class sa extends zt {
|
|
27633
27636
|
/**
|
|
27634
27637
|
Construct an attribute step.
|
|
@@ -27829,7 +27832,7 @@ class Sb {
|
|
|
27829
27832
|
to set attributes on the document itself.
|
|
27830
27833
|
*/
|
|
27831
27834
|
setNodeAttribute(e, n, i) {
|
|
27832
|
-
return this.step(new
|
|
27835
|
+
return this.step(new Cs(e, n, i)), this;
|
|
27833
27836
|
}
|
|
27834
27837
|
/**
|
|
27835
27838
|
Set a single attribute on the document to a new value.
|
|
@@ -27987,11 +27990,11 @@ class De {
|
|
|
27987
27990
|
found.
|
|
27988
27991
|
*/
|
|
27989
27992
|
static findFrom(e, n, i = !1) {
|
|
27990
|
-
let r = e.parent.inlineContent ? new Ee(e) :
|
|
27993
|
+
let r = e.parent.inlineContent ? new Ee(e) : ps(e.node(0), e.parent, e.pos, e.index(), n, i);
|
|
27991
27994
|
if (r)
|
|
27992
27995
|
return r;
|
|
27993
27996
|
for (let s = e.depth - 1; s >= 0; s--) {
|
|
27994
|
-
let o = n < 0 ?
|
|
27997
|
+
let o = n < 0 ? ps(e.node(0), e.node(s), e.before(s + 1), e.index(s), n, i) : ps(e.node(0), e.node(s), e.after(s + 1), e.index(s) + 1, n, i);
|
|
27995
27998
|
if (o)
|
|
27996
27999
|
return o;
|
|
27997
28000
|
}
|
|
@@ -28012,14 +28015,14 @@ class De {
|
|
|
28012
28015
|
exists.
|
|
28013
28016
|
*/
|
|
28014
28017
|
static atStart(e) {
|
|
28015
|
-
return
|
|
28018
|
+
return ps(e, e, 0, 0, 1) || new tn(e);
|
|
28016
28019
|
}
|
|
28017
28020
|
/**
|
|
28018
28021
|
Find the cursor or leaf node selection closest to the end of the
|
|
28019
28022
|
given document.
|
|
28020
28023
|
*/
|
|
28021
28024
|
static atEnd(e) {
|
|
28022
|
-
return
|
|
28025
|
+
return ps(e, e, e.content.size, e.childCount, -1) || new tn(e);
|
|
28023
28026
|
}
|
|
28024
28027
|
/**
|
|
28025
28028
|
Deserialize the JSON representation of a selection. Must be
|
|
@@ -28258,7 +28261,7 @@ const DD = {
|
|
|
28258
28261
|
return new tn(t);
|
|
28259
28262
|
}
|
|
28260
28263
|
};
|
|
28261
|
-
function
|
|
28264
|
+
function ps(t, e, n, i, r, s = !1) {
|
|
28262
28265
|
if (e.inlineContent)
|
|
28263
28266
|
return Ee.create(t, n);
|
|
28264
28267
|
for (let o = i - (r > 0 ? 0 : 1); r > 0 ? o < e.childCount : o >= 0; o += r) {
|
|
@@ -28267,7 +28270,7 @@ function hs(t, e, n, i, r, s = !1) {
|
|
|
28267
28270
|
if (!s && xe.isSelectable(a))
|
|
28268
28271
|
return xe.create(t, n - (r < 0 ? a.nodeSize : 0));
|
|
28269
28272
|
} else {
|
|
28270
|
-
let l =
|
|
28273
|
+
let l = ps(t, a, n + r, r < 0 ? a.childCount : 0, r, s);
|
|
28271
28274
|
if (l)
|
|
28272
28275
|
return l;
|
|
28273
28276
|
}
|
|
@@ -28490,7 +28493,7 @@ class hu {
|
|
|
28490
28493
|
});
|
|
28491
28494
|
}
|
|
28492
28495
|
}
|
|
28493
|
-
class
|
|
28496
|
+
class bs {
|
|
28494
28497
|
/**
|
|
28495
28498
|
@internal
|
|
28496
28499
|
*/
|
|
@@ -28565,7 +28568,7 @@ class vs {
|
|
|
28565
28568
|
applyInner(e) {
|
|
28566
28569
|
if (!e.before.eq(this.doc))
|
|
28567
28570
|
throw new RangeError("Applying a mismatched transaction");
|
|
28568
|
-
let n = new
|
|
28571
|
+
let n = new bs(this.config), i = this.config.fields;
|
|
28569
28572
|
for (let r = 0; r < i.length; r++) {
|
|
28570
28573
|
let s = i[r];
|
|
28571
28574
|
n[s.name] = s.apply(e, this[s.name], this, n);
|
|
@@ -28582,7 +28585,7 @@ class vs {
|
|
|
28582
28585
|
Create a new state.
|
|
28583
28586
|
*/
|
|
28584
28587
|
static create(e) {
|
|
28585
|
-
let n = new hu(e.doc ? e.doc.type.schema : e.schema, e.plugins), i = new
|
|
28588
|
+
let n = new hu(e.doc ? e.doc.type.schema : e.schema, e.plugins), i = new bs(n);
|
|
28586
28589
|
for (let r = 0; r < n.fields.length; r++)
|
|
28587
28590
|
i[n.fields[r].name] = n.fields[r].init(e, i);
|
|
28588
28591
|
return i;
|
|
@@ -28596,7 +28599,7 @@ class vs {
|
|
|
28596
28599
|
configuration object..
|
|
28597
28600
|
*/
|
|
28598
28601
|
reconfigure(e) {
|
|
28599
|
-
let n = new hu(this.schema, e.plugins), i = n.fields, r = new
|
|
28602
|
+
let n = new hu(this.schema, e.plugins), i = n.fields, r = new bs(n);
|
|
28600
28603
|
for (let s = 0; s < i.length; s++) {
|
|
28601
28604
|
let o = i[s].name;
|
|
28602
28605
|
r[o] = this.hasOwnProperty(o) ? this[o] : i[s].init(e, r);
|
|
@@ -28633,7 +28636,7 @@ class vs {
|
|
|
28633
28636
|
throw new RangeError("Invalid input for EditorState.fromJSON");
|
|
28634
28637
|
if (!e.schema)
|
|
28635
28638
|
throw new RangeError("Required config field 'schema' missing");
|
|
28636
|
-
let r = new hu(e.schema, e.plugins), s = new
|
|
28639
|
+
let r = new hu(e.schema, e.plugins), s = new bs(r);
|
|
28637
28640
|
return r.fields.forEach((o) => {
|
|
28638
28641
|
if (o.name == "doc")
|
|
28639
28642
|
s.doc = Xi.fromJSON(e.schema, n.doc);
|
|
@@ -28715,7 +28718,7 @@ const vi = function(t, e, n) {
|
|
|
28715
28718
|
return i.setEnd(t, n ?? t.nodeValue.length), i.setStart(t, e || 0), i;
|
|
28716
28719
|
}, PD = function() {
|
|
28717
28720
|
z1 = null;
|
|
28718
|
-
},
|
|
28721
|
+
}, Wr = function(t, e, n, i) {
|
|
28719
28722
|
return n && (W2(t, e, n, i, -1) || W2(t, e, n, i, 1));
|
|
28720
28723
|
}, FD = /^(img|br|input|textarea|hr)$/i;
|
|
28721
28724
|
function W2(t, e, n, i, r) {
|
|
@@ -28783,7 +28786,7 @@ function ja(t) {
|
|
|
28783
28786
|
return e && e.node && e.node.isBlock && (e.dom == t || e.contentDOM == t);
|
|
28784
28787
|
}
|
|
28785
28788
|
const dc = function(t) {
|
|
28786
|
-
return t.focusNode &&
|
|
28789
|
+
return t.focusNode && Wr(t.focusNode, t.focusOffset, t.anchorNode, t.anchorOffset);
|
|
28787
28790
|
};
|
|
28788
28791
|
function _r(t, e) {
|
|
28789
28792
|
let n = document.createEvent("Event");
|
|
@@ -28891,18 +28894,18 @@ function Ab(t, e) {
|
|
|
28891
28894
|
i.scrollTop != r + e && (i.scrollTop = r + e), i.scrollLeft != s && (i.scrollLeft = s);
|
|
28892
28895
|
}
|
|
28893
28896
|
}
|
|
28894
|
-
let
|
|
28897
|
+
let ds = null;
|
|
28895
28898
|
function JD(t) {
|
|
28896
28899
|
if (t.setActive)
|
|
28897
28900
|
return t.setActive();
|
|
28898
|
-
if (
|
|
28899
|
-
return t.focus(
|
|
28901
|
+
if (ds)
|
|
28902
|
+
return t.focus(ds);
|
|
28900
28903
|
let e = Ob(t);
|
|
28901
|
-
t.focus(
|
|
28904
|
+
t.focus(ds == null ? {
|
|
28902
28905
|
get preventScroll() {
|
|
28903
|
-
return
|
|
28906
|
+
return ds = { preventScroll: !0 }, !0;
|
|
28904
28907
|
}
|
|
28905
|
-
} : void 0),
|
|
28908
|
+
} : void 0), ds || (ds = !1, Ab(e, 0));
|
|
28906
28909
|
}
|
|
28907
28910
|
function Db(t, e) {
|
|
28908
28911
|
let n, i = 2e8, r, s = 0, o = e.top, a = e.top, l, d;
|
|
@@ -29428,7 +29431,7 @@ class Ha {
|
|
|
29428
29431
|
let p = c.focusNode.childNodes[c.focusOffset];
|
|
29429
29432
|
p && p.contentEditable == "false" && (r = !0);
|
|
29430
29433
|
}
|
|
29431
|
-
if (!(r || u && Ut) &&
|
|
29434
|
+
if (!(r || u && Ut) && Wr(a.node, a.offset, c.anchorNode, c.anchorOffset) && Wr(l.node, l.offset, c.focusNode, c.focusOffset))
|
|
29432
29435
|
return;
|
|
29433
29436
|
let h = !1;
|
|
29434
29437
|
if ((d.extend || e == n) && !u) {
|
|
@@ -29544,13 +29547,13 @@ class oI extends Ha {
|
|
|
29544
29547
|
return e.type === "characterData" && e.target.nodeValue == e.oldValue;
|
|
29545
29548
|
}
|
|
29546
29549
|
}
|
|
29547
|
-
class
|
|
29550
|
+
class qr extends Ha {
|
|
29548
29551
|
constructor(e, n, i, r, s) {
|
|
29549
29552
|
super(e, [], i, r), this.mark = n, this.spec = s;
|
|
29550
29553
|
}
|
|
29551
29554
|
static create(e, n, i, r) {
|
|
29552
29555
|
let s = r.nodeViews[n.type.name], o = s && s(n, r, i);
|
|
29553
|
-
return (!o || !o.dom) && (o =
|
|
29556
|
+
return (!o || !o.dom) && (o = ts.renderSpec(document, n.type.spec.toDOM(n, i), null, n.attrs)), new qr(e, n, o.dom, o.contentDOM || o.dom, o);
|
|
29554
29557
|
}
|
|
29555
29558
|
parseRule() {
|
|
29556
29559
|
return this.dirty & di || this.mark.type.spec.reparseInView ? null : { mark: this.mark.type.name, attrs: this.mark.attrs, contentElement: this.contentDOM };
|
|
@@ -29567,7 +29570,7 @@ class Wr extends Ha {
|
|
|
29567
29570
|
}
|
|
29568
29571
|
}
|
|
29569
29572
|
slice(e, n, i) {
|
|
29570
|
-
let r =
|
|
29573
|
+
let r = qr.create(this.parent, this.mark, !0, i), s = this.children, o = this.size;
|
|
29571
29574
|
n < o && (s = q1(s, n, o, i)), e > 0 && (s = q1(s, 0, e, i));
|
|
29572
29575
|
for (let a = 0; a < s.length; a++)
|
|
29573
29576
|
s[a].parent = r;
|
|
@@ -29605,7 +29608,7 @@ class er extends Ha {
|
|
|
29605
29608
|
c = document.createTextNode(n.text);
|
|
29606
29609
|
else if (c.nodeType != 3)
|
|
29607
29610
|
throw new RangeError("Text must be rendered as a DOM text node");
|
|
29608
|
-
} else c || ({ dom: c, contentDOM: u } =
|
|
29611
|
+
} else c || ({ dom: c, contentDOM: u } = ts.renderSpec(document, n.type.spec.toDOM(n), null, n.attrs));
|
|
29609
29612
|
!u && !n.isText && c.nodeName != "BR" && (c.hasAttribute("contenteditable") || (c.contentEditable = "false"), n.type.spec.draggable && (c.draggable = !0));
|
|
29610
29613
|
let h = c;
|
|
29611
29614
|
return c = jb(c, i, n), d ? l = new aI(e, n, i, r, c, u || null, h, d, s, o + 1) : n.isText ? new fc(e, n, i, r, c, h, s) : new er(e, n, i, r, c, u || null, h, s, o + 1);
|
|
@@ -29812,7 +29815,7 @@ function $b(t, e, n) {
|
|
|
29812
29815
|
i = i.nextSibling;
|
|
29813
29816
|
} else
|
|
29814
29817
|
r = !0, t.insertBefore(a, i);
|
|
29815
|
-
if (o instanceof
|
|
29818
|
+
if (o instanceof qr) {
|
|
29816
29819
|
let l = i ? i.previousSibling : t.lastChild;
|
|
29817
29820
|
$b(o.contentDOM, o.children, n), i = l ? l.nextSibling : t.firstChild;
|
|
29818
29821
|
}
|
|
@@ -29931,7 +29934,7 @@ class dI {
|
|
|
29931
29934
|
if (a > -1)
|
|
29932
29935
|
a > this.index && (this.changed = !0, this.destroyBetween(this.index, a)), this.top = this.top.children[this.index];
|
|
29933
29936
|
else {
|
|
29934
|
-
let l =
|
|
29937
|
+
let l = qr.create(this.top, e[s], n, i);
|
|
29935
29938
|
this.top.children.splice(this.index, 0, l), this.top = l, this.changed = !0;
|
|
29936
29939
|
}
|
|
29937
29940
|
this.index = 0, s++;
|
|
@@ -30024,7 +30027,7 @@ class dI {
|
|
|
30024
30027
|
// contentEditable.
|
|
30025
30028
|
addTextblockHacks() {
|
|
30026
30029
|
let e = this.top.children[this.index - 1], n = this.top;
|
|
30027
|
-
for (; e instanceof
|
|
30030
|
+
for (; e instanceof qr; )
|
|
30028
30031
|
n = e, e = n.children[n.children.length - 1];
|
|
30029
30032
|
(!e || // Empty textblock
|
|
30030
30033
|
!(e instanceof fc) || /\n$/.test(e.node.text) || this.view.requiresGeckoHackNode && /\s$/.test(e.node.text)) && ((Ut || Pt) && e && e.dom.contentEditable == "false" && this.addHackNode("IMG", n), this.addHackNode("BR", this.top));
|
|
@@ -30050,7 +30053,7 @@ function fI(t, e) {
|
|
|
30050
30053
|
for (; ; )
|
|
30051
30054
|
if (i) {
|
|
30052
30055
|
let d = n.children[i - 1];
|
|
30053
|
-
if (d instanceof
|
|
30056
|
+
if (d instanceof qr)
|
|
30054
30057
|
n = d, i = d.children.length;
|
|
30055
30058
|
else {
|
|
30056
30059
|
a = d, i--;
|
|
@@ -30205,7 +30208,7 @@ function Si(t, e = !1) {
|
|
|
30205
30208
|
if (Hb(t, n), !!Vb(t)) {
|
|
30206
30209
|
if (!e && t.input.mouseDown && t.input.mouseDown.allowDefault && Pt) {
|
|
30207
30210
|
let i = t.domSelectionRange(), r = t.domObserver.currentSelection;
|
|
30208
|
-
if (i.anchorNode && r.anchorNode &&
|
|
30211
|
+
if (i.anchorNode && r.anchorNode && Wr(i.anchorNode, i.anchorOffset, r.anchorNode, r.anchorOffset)) {
|
|
30209
30212
|
t.input.mouseDown.delayedSelectionSync = !0, t.domObserver.setCurSelection();
|
|
30210
30213
|
return;
|
|
30211
30214
|
}
|
|
@@ -30282,7 +30285,7 @@ function Wb(t) {
|
|
|
30282
30285
|
}
|
|
30283
30286
|
function yI(t) {
|
|
30284
30287
|
let e = t.docView.domFromPos(t.state.selection.anchor, 0), n = t.domSelectionRange();
|
|
30285
|
-
return
|
|
30288
|
+
return Wr(e.node, e.offset, n.anchorNode, n.anchorOffset);
|
|
30286
30289
|
}
|
|
30287
30290
|
function U1(t, e) {
|
|
30288
30291
|
let { $anchor: n, $head: i } = t.selection, r = e > 0 ? n.max(i) : n.min(i), s = r.parent.inlineContent ? r.depth ? t.doc.resolve(e > 0 ? r.after() : r.before()) : null : r;
|
|
@@ -30328,7 +30331,7 @@ function Bo(t, e) {
|
|
|
30328
30331
|
let n = t.pmViewDesc;
|
|
30329
30332
|
return n && n.size == 0 && (e < 0 || t.nextSibling || t.nodeName != "BR");
|
|
30330
30333
|
}
|
|
30331
|
-
function
|
|
30334
|
+
function fs(t, e) {
|
|
30332
30335
|
return e < 0 ? vI(t) : bI(t);
|
|
30333
30336
|
}
|
|
30334
30337
|
function vI(t) {
|
|
@@ -30515,22 +30518,22 @@ function _I(t) {
|
|
|
30515
30518
|
function CI(t, e) {
|
|
30516
30519
|
let n = e.keyCode, i = _I(e);
|
|
30517
30520
|
if (n == 8 || _n && n == 72 && i == "c")
|
|
30518
|
-
return ly(t, -1) ||
|
|
30521
|
+
return ly(t, -1) || fs(t, -1);
|
|
30519
30522
|
if (n == 46 && !e.shiftKey || _n && n == 68 && i == "c")
|
|
30520
|
-
return ly(t, 1) ||
|
|
30523
|
+
return ly(t, 1) || fs(t, 1);
|
|
30521
30524
|
if (n == 13 || n == 27)
|
|
30522
30525
|
return !0;
|
|
30523
30526
|
if (n == 37 || _n && n == 66 && i == "c") {
|
|
30524
30527
|
let r = n == 37 ? oy(t, t.state.selection.from) == "ltr" ? -1 : 1 : -1;
|
|
30525
|
-
return sy(t, r, i) ||
|
|
30528
|
+
return sy(t, r, i) || fs(t, r);
|
|
30526
30529
|
} else if (n == 39 || _n && n == 70 && i == "c") {
|
|
30527
30530
|
let r = n == 39 ? oy(t, t.state.selection.from) == "ltr" ? 1 : -1 : 1;
|
|
30528
|
-
return sy(t, r, i) ||
|
|
30531
|
+
return sy(t, r, i) || fs(t, r);
|
|
30529
30532
|
} else {
|
|
30530
30533
|
if (n == 38 || _n && n == 80 && i == "c")
|
|
30531
|
-
return ay(t, -1, i) ||
|
|
30534
|
+
return ay(t, -1, i) || fs(t, -1);
|
|
30532
30535
|
if (n == 40 || _n && n == 78 && i == "c")
|
|
30533
|
-
return xI(t) || ay(t, 1, i) ||
|
|
30536
|
+
return xI(t) || ay(t, 1, i) || fs(t, 1);
|
|
30534
30537
|
if (i == (_n ? "m" : "c") && (n == 66 || n == 73 || n == 89 || n == 90))
|
|
30535
30538
|
return !0;
|
|
30536
30539
|
}
|
|
@@ -30546,7 +30549,7 @@ function tm(t, e) {
|
|
|
30546
30549
|
let p = i.firstChild;
|
|
30547
30550
|
n.push(p.type.name, p.attrs != p.type.defaultAttrs ? p.attrs : null), i = p.content;
|
|
30548
30551
|
}
|
|
30549
|
-
let o = t.someProp("clipboardSerializer") ||
|
|
30552
|
+
let o = t.someProp("clipboardSerializer") || ts.fromSchema(t.state.schema), a = Zb(), l = a.createElement("div");
|
|
30550
30553
|
l.appendChild(o.serializeFragment(i, { document: a }));
|
|
30551
30554
|
let d = l.firstChild, c, u = 0;
|
|
30552
30555
|
for (; d && d.nodeType == 1 && (c = Yb[d.nodeName.toLowerCase()]); ) {
|
|
@@ -30579,7 +30582,7 @@ function Ub(t, e, n, i, r) {
|
|
|
30579
30582
|
if (u)
|
|
30580
30583
|
a = u;
|
|
30581
30584
|
else {
|
|
30582
|
-
let h = r.marks(), { schema: p } = t.state, m =
|
|
30585
|
+
let h = r.marks(), { schema: p } = t.state, m = ts.fromSchema(p);
|
|
30583
30586
|
o = document.createElement("div"), e.split(/(?:\r\n?|\n)+/).forEach((g) => {
|
|
30584
30587
|
let y = o.appendChild(document.createElement("p"));
|
|
30585
30588
|
g && y.appendChild(m.serializeNode(p.text(g, h)));
|
|
@@ -30816,7 +30819,7 @@ function im(t, e, n, i, r) {
|
|
|
30816
30819
|
return !0;
|
|
30817
30820
|
return !1;
|
|
30818
30821
|
}
|
|
30819
|
-
function
|
|
30822
|
+
function Ss(t, e, n) {
|
|
30820
30823
|
if (t.focused || t.focus(), t.state.selection.eq(e))
|
|
30821
30824
|
return;
|
|
30822
30825
|
let i = t.state.tr.setSelection(e);
|
|
@@ -30826,7 +30829,7 @@ function BI(t, e) {
|
|
|
30826
30829
|
if (e == -1)
|
|
30827
30830
|
return !1;
|
|
30828
30831
|
let n = t.state.doc.resolve(e), i = n.nodeAfter;
|
|
30829
|
-
return i && i.isAtom && xe.isSelectable(i) ? (
|
|
30832
|
+
return i && i.isAtom && xe.isSelectable(i) ? (Ss(t, new xe(n)), !0) : !1;
|
|
30830
30833
|
}
|
|
30831
30834
|
function $I(t, e) {
|
|
30832
30835
|
if (e == -1)
|
|
@@ -30841,7 +30844,7 @@ function $I(t, e) {
|
|
|
30841
30844
|
break;
|
|
30842
30845
|
}
|
|
30843
30846
|
}
|
|
30844
|
-
return r != null ? (
|
|
30847
|
+
return r != null ? (Ss(t, xe.create(t.state.doc, r)), !0) : !1;
|
|
30845
30848
|
}
|
|
30846
30849
|
function zI(t, e, n, i, r) {
|
|
30847
30850
|
return im(t, "handleClickOn", e, n, i) || t.someProp("handleClick", (s) => s(t, e, i)) || (r ? $I(t, n) : BI(t, n));
|
|
@@ -30857,14 +30860,14 @@ function HI(t, e, n) {
|
|
|
30857
30860
|
return !1;
|
|
30858
30861
|
let i = t.state.doc;
|
|
30859
30862
|
if (e == -1)
|
|
30860
|
-
return i.inlineContent ? (
|
|
30863
|
+
return i.inlineContent ? (Ss(t, Ee.create(i, 0, i.content.size)), !0) : !1;
|
|
30861
30864
|
let r = i.resolve(e);
|
|
30862
30865
|
for (let s = r.depth + 1; s > 0; s--) {
|
|
30863
30866
|
let o = s > r.depth ? r.nodeAfter : r.node(s), a = r.before(s);
|
|
30864
30867
|
if (o.inlineContent)
|
|
30865
|
-
|
|
30868
|
+
Ss(t, Ee.create(i, a + 1, a + 1 + o.content.size));
|
|
30866
30869
|
else if (xe.isSelectable(o))
|
|
30867
|
-
|
|
30870
|
+
Ss(t, xe.create(i, a));
|
|
30868
30871
|
else
|
|
30869
30872
|
continue;
|
|
30870
30873
|
return !0;
|
|
@@ -30919,7 +30922,7 @@ class WI {
|
|
|
30919
30922
|
// (hidden) cursor is doesn't change the selection, and
|
|
30920
30923
|
// thus doesn't get a reaction from ProseMirror. This
|
|
30921
30924
|
// works around that.
|
|
30922
|
-
Pt && !this.view.state.selection.visible && Math.min(Math.abs(n.pos - this.view.state.selection.from), Math.abs(n.pos - this.view.state.selection.to)) <= 2) ? (
|
|
30925
|
+
Pt && !this.view.state.selection.visible && Math.min(Math.abs(n.pos - this.view.state.selection.from), Math.abs(n.pos - this.view.state.selection.to)) <= 2) ? (Ss(this.view, De.near(this.view.state.doc.resolve(n.pos))), e.preventDefault()) : Ji(this.view, "pointer");
|
|
30923
30926
|
}
|
|
30924
30927
|
move(e) {
|
|
30925
30928
|
this.updateAllowDefault(e), Ji(this.view, "pointer"), e.buttons == 0 && this.done();
|
|
@@ -31290,13 +31293,13 @@ class Ot {
|
|
|
31290
31293
|
return this.type instanceof Ed;
|
|
31291
31294
|
}
|
|
31292
31295
|
}
|
|
31293
|
-
const
|
|
31296
|
+
const ms = [], Ir = {};
|
|
31294
31297
|
class Ze {
|
|
31295
31298
|
/**
|
|
31296
31299
|
@internal
|
|
31297
31300
|
*/
|
|
31298
31301
|
constructor(e, n) {
|
|
31299
|
-
this.local = e.length ? e :
|
|
31302
|
+
this.local = e.length ? e : ms, this.children = n.length ? n : ms;
|
|
31300
31303
|
}
|
|
31301
31304
|
/**
|
|
31302
31305
|
Create a set of decorations, using the structure of the given
|
|
@@ -31345,7 +31348,7 @@ class Ze {
|
|
|
31345
31348
|
let l = this.local[a].map(e, i, r);
|
|
31346
31349
|
l && l.type.valid(n, l) ? (o || (o = [])).push(l) : s.onRemove && s.onRemove(this.local[a].spec);
|
|
31347
31350
|
}
|
|
31348
|
-
return this.children.length ? ZI(this.children, o || [], e, n, i, r, s) : o ? new Ze(o.sort(Rr),
|
|
31351
|
+
return this.children.length ? ZI(this.children, o || [], e, n, i, r, s) : o ? new Ze(o.sort(Rr), ms) : It;
|
|
31349
31352
|
}
|
|
31350
31353
|
/**
|
|
31351
31354
|
Add the given array of decorations to the ones in the set,
|
|
@@ -31418,7 +31421,7 @@ class Ze {
|
|
|
31418
31421
|
}
|
|
31419
31422
|
}
|
|
31420
31423
|
if (r) {
|
|
31421
|
-
let a = new Ze(r.sort(Rr),
|
|
31424
|
+
let a = new Ze(r.sort(Rr), ms);
|
|
31422
31425
|
return i ? new Hi([a, i]) : a;
|
|
31423
31426
|
}
|
|
31424
31427
|
return i || It;
|
|
@@ -31450,7 +31453,7 @@ class Ze {
|
|
|
31450
31453
|
*/
|
|
31451
31454
|
localsInner(e) {
|
|
31452
31455
|
if (this == It)
|
|
31453
|
-
return
|
|
31456
|
+
return ms;
|
|
31454
31457
|
if (e.inlineContent || !this.local.some(tr.is))
|
|
31455
31458
|
return this.local;
|
|
31456
31459
|
let n = [];
|
|
@@ -31504,7 +31507,7 @@ class Hi {
|
|
|
31504
31507
|
n.push(s[o]);
|
|
31505
31508
|
}
|
|
31506
31509
|
}
|
|
31507
|
-
return n ? om(i ? n : n.sort(Rr)) :
|
|
31510
|
+
return n ? om(i ? n : n.sort(Rr)) : ms;
|
|
31508
31511
|
}
|
|
31509
31512
|
// Create a group for the given array of decoration sets, or return
|
|
31510
31513
|
// a single set when possible.
|
|
@@ -31727,7 +31730,7 @@ class nR {
|
|
|
31727
31730
|
return Si(this.view);
|
|
31728
31731
|
if (nn && Qi <= 11 && !this.view.state.selection.empty) {
|
|
31729
31732
|
let e = this.view.domSelectionRange();
|
|
31730
|
-
if (e.focusNode &&
|
|
31733
|
+
if (e.focusNode && Wr(e.focusNode, e.focusOffset, e.anchorNode, e.anchorOffset))
|
|
31731
31734
|
return this.flushSoon();
|
|
31732
31735
|
}
|
|
31733
31736
|
this.flush();
|
|
@@ -31831,7 +31834,7 @@ function iR(t) {
|
|
|
31831
31834
|
}
|
|
31832
31835
|
function my(t, e) {
|
|
31833
31836
|
let n = e.startContainer, i = e.startOffset, r = e.endContainer, s = e.endOffset, o = t.domAtPos(t.state.selection.anchor);
|
|
31834
|
-
return
|
|
31837
|
+
return Wr(o.node, o.offset, r, s) && ([n, i, r, s] = [r, s, n, i]), { anchorNode: n, anchorOffset: i, focusNode: r, focusOffset: s };
|
|
31835
31838
|
}
|
|
31836
31839
|
function rR(t, e) {
|
|
31837
31840
|
if (e.getComposedRanges) {
|
|
@@ -33350,7 +33353,7 @@ function Ny(t, e) {
|
|
|
33350
33353
|
return Array.isArray(e) ? e.some((n) => (typeof n == "string" ? n : n.name) === t.name) : e;
|
|
33351
33354
|
}
|
|
33352
33355
|
function um(t, e) {
|
|
33353
|
-
const n =
|
|
33356
|
+
const n = ts.fromSchema(e).serializeFragment(t), r = document.implementation.createHTMLDocument().createElement("div");
|
|
33354
33357
|
return r.appendChild(n), r.innerHTML;
|
|
33355
33358
|
}
|
|
33356
33359
|
const KR = (t, e = 500) => {
|
|
@@ -33708,9 +33711,9 @@ function iP(t) {
|
|
|
33708
33711
|
const e = t.filter((n, i) => t.indexOf(n) !== i);
|
|
33709
33712
|
return Array.from(new Set(e));
|
|
33710
33713
|
}
|
|
33711
|
-
class
|
|
33714
|
+
class ks {
|
|
33712
33715
|
constructor(e, n) {
|
|
33713
|
-
this.splittableMarks = [], this.editor = n, this.extensions =
|
|
33716
|
+
this.splittableMarks = [], this.editor = n, this.extensions = ks.resolve(e), this.schema = UR(this.extensions, n), this.setupExtensions();
|
|
33714
33717
|
}
|
|
33715
33718
|
/**
|
|
33716
33719
|
* Returns a flattened and sorted extension list while
|
|
@@ -33719,7 +33722,7 @@ class bs {
|
|
|
33719
33722
|
* @returns An flattened and sorted array of Tiptap extensions
|
|
33720
33723
|
*/
|
|
33721
33724
|
static resolve(e) {
|
|
33722
|
-
const n =
|
|
33725
|
+
const n = ks.sort(ks.flatten(e)), i = iP(n.map((r) => r.name));
|
|
33723
33726
|
return i.length && console.warn(`[tiptap warn]: Duplicate extension names found: [${i.map((r) => `'${r}'`).join(", ")}]. This can lead to issues.`), n;
|
|
33724
33727
|
}
|
|
33725
33728
|
/**
|
|
@@ -33772,7 +33775,7 @@ class bs {
|
|
|
33772
33775
|
* @returns An array of Prosemirror plugins
|
|
33773
33776
|
*/
|
|
33774
33777
|
get plugins() {
|
|
33775
|
-
const { editor: e } = this, n =
|
|
33778
|
+
const { editor: e } = this, n = ks.sort([...this.extensions].reverse()), i = [], r = [], s = n.map((o) => {
|
|
33776
33779
|
const a = {
|
|
33777
33780
|
name: o.name,
|
|
33778
33781
|
options: o.options,
|
|
@@ -35445,7 +35448,7 @@ class DF extends HR {
|
|
|
35445
35448
|
CF,
|
|
35446
35449
|
EF
|
|
35447
35450
|
].filter((s) => typeof this.options.enableCoreExtensions == "object" ? this.options.enableCoreExtensions[s.name] !== !1 : !0) : [], ...this.options.extensions].filter((s) => ["extension", "node", "mark"].includes(s == null ? void 0 : s.type));
|
|
35448
|
-
this.extensionManager = new
|
|
35451
|
+
this.extensionManager = new ks(r, this);
|
|
35449
35452
|
}
|
|
35450
35453
|
/**
|
|
35451
35454
|
* Creates an command manager.
|
|
@@ -35489,7 +35492,7 @@ class DF extends HR {
|
|
|
35489
35492
|
...(e = this.options.editorProps) === null || e === void 0 ? void 0 : e.attributes
|
|
35490
35493
|
},
|
|
35491
35494
|
dispatchTransaction: this.dispatchTransaction.bind(this),
|
|
35492
|
-
state:
|
|
35495
|
+
state: bs.create({
|
|
35493
35496
|
doc: n,
|
|
35494
35497
|
selection: i || void 0
|
|
35495
35498
|
})
|
|
@@ -35649,7 +35652,7 @@ class DF extends HR {
|
|
|
35649
35652
|
return this.$pos(0);
|
|
35650
35653
|
}
|
|
35651
35654
|
}
|
|
35652
|
-
function
|
|
35655
|
+
function Ur(t) {
|
|
35653
35656
|
return new Wa({
|
|
35654
35657
|
find: t.find,
|
|
35655
35658
|
handler: ({ state: e, range: n, match: i }) => {
|
|
@@ -35907,7 +35910,7 @@ function pn(t) {
|
|
|
35907
35910
|
}
|
|
35908
35911
|
return t;
|
|
35909
35912
|
}
|
|
35910
|
-
function
|
|
35913
|
+
function Kr(t) {
|
|
35911
35914
|
var e = pn(t).Element;
|
|
35912
35915
|
return t instanceof e || t instanceof Element;
|
|
35913
35916
|
}
|
|
@@ -35980,7 +35983,7 @@ function qs(t, e, n) {
|
|
|
35980
35983
|
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
35981
35984
|
var i = t.getBoundingClientRect(), r = 1, s = 1;
|
|
35982
35985
|
e && En(t) && (r = t.offsetWidth > 0 && Ws(i.width) / t.offsetWidth || 1, s = t.offsetHeight > 0 && Ws(i.height) / t.offsetHeight || 1);
|
|
35983
|
-
var o =
|
|
35986
|
+
var o = Kr(t) ? pn(t) : window, a = o.visualViewport, l = !F8() && n, d = (i.left + (l && a ? a.offsetLeft : 0)) / r, c = (i.top + (l && a ? a.offsetTop : 0)) / s, u = i.width / r, h = i.height / s;
|
|
35984
35987
|
return {
|
|
35985
35988
|
width: u,
|
|
35986
35989
|
height: h,
|
|
@@ -36022,7 +36025,7 @@ function ZF(t) {
|
|
|
36022
36025
|
return ["table", "td", "th"].indexOf(fi(t)) >= 0;
|
|
36023
36026
|
}
|
|
36024
36027
|
function br(t) {
|
|
36025
|
-
return ((
|
|
36028
|
+
return ((Kr(t) ? t.ownerDocument : (
|
|
36026
36029
|
// $FlowFixMe[prop-missing]
|
|
36027
36030
|
t.document
|
|
36028
36031
|
)) || window.document).documentElement;
|
|
@@ -36309,12 +36312,12 @@ function pB(t, e) {
|
|
|
36309
36312
|
return n.top = n.top + t.clientTop, n.left = n.left + t.clientLeft, n.bottom = n.top + t.clientHeight, n.right = n.left + t.clientWidth, n.width = t.clientWidth, n.height = t.clientHeight, n.x = n.left, n.y = n.top, n;
|
|
36310
36313
|
}
|
|
36311
36314
|
function Ry(t, e, n) {
|
|
36312
|
-
return e === I8 ? th(uB(t, n)) :
|
|
36315
|
+
return e === I8 ? th(uB(t, n)) : Kr(e) ? pB(e, n) : th(hB(br(t)));
|
|
36313
36316
|
}
|
|
36314
36317
|
function mB(t) {
|
|
36315
36318
|
var e = zo(kc(t)), n = ["absolute", "fixed"].indexOf(Ti(t).position) >= 0, i = n && En(t) ? Ua(t) : t;
|
|
36316
|
-
return
|
|
36317
|
-
return
|
|
36319
|
+
return Kr(i) ? e.filter(function(r) {
|
|
36320
|
+
return Kr(r) && B8(r, i) && fi(r) !== "body";
|
|
36318
36321
|
}) : [];
|
|
36319
36322
|
}
|
|
36320
36323
|
function gB(t, e, n, i) {
|
|
@@ -36373,7 +36376,7 @@ function H8(t) {
|
|
|
36373
36376
|
}
|
|
36374
36377
|
function ua(t, e) {
|
|
36375
36378
|
e === void 0 && (e = {});
|
|
36376
|
-
var n = e, i = n.placement, r = i === void 0 ? t.placement : i, s = n.strategy, o = s === void 0 ? t.strategy : s, a = n.boundary, l = a === void 0 ? FF : a, d = n.rootBoundary, c = d === void 0 ? I8 : d, u = n.elementContext, h = u === void 0 ? _o : u, p = n.altBoundary, m = p === void 0 ? !1 : p, g = n.padding, y = g === void 0 ? 0 : g, v = z8(typeof y != "number" ? y : j8(y, qa)), w = h === _o ? BF : _o, x = t.rects.popper, k = t.elements[m ? w : h], C = gB(
|
|
36379
|
+
var n = e, i = n.placement, r = i === void 0 ? t.placement : i, s = n.strategy, o = s === void 0 ? t.strategy : s, a = n.boundary, l = a === void 0 ? FF : a, d = n.rootBoundary, c = d === void 0 ? I8 : d, u = n.elementContext, h = u === void 0 ? _o : u, p = n.altBoundary, m = p === void 0 ? !1 : p, g = n.padding, y = g === void 0 ? 0 : g, v = z8(typeof y != "number" ? y : j8(y, qa)), w = h === _o ? BF : _o, x = t.rects.popper, k = t.elements[m ? w : h], C = gB(Kr(k) ? k : k.contextElement || br(t.elements.popper), l, c, o), _ = qs(t.elements.reference), M = H8({
|
|
36377
36380
|
reference: _,
|
|
36378
36381
|
element: x,
|
|
36379
36382
|
placement: r
|
|
@@ -36710,7 +36713,7 @@ function $B(t) {
|
|
|
36710
36713
|
setOptions: function(v) {
|
|
36711
36714
|
var w = typeof v == "function" ? v(c.options) : v;
|
|
36712
36715
|
g(), c.options = Object.assign({}, s, c.options, w), c.scrollParents = {
|
|
36713
|
-
reference:
|
|
36716
|
+
reference: Kr(a) ? zo(a) : a.contextElement ? zo(a.contextElement) : [],
|
|
36714
36717
|
popper: zo(l)
|
|
36715
36718
|
};
|
|
36716
36719
|
var x = PB(BB([].concat(i, c.options.modifiers)));
|
|
@@ -36832,7 +36835,7 @@ function qB(t, e) {
|
|
|
36832
36835
|
function UB(t) {
|
|
36833
36836
|
return t.split(/\s+/).filter(Boolean);
|
|
36834
36837
|
}
|
|
36835
|
-
function
|
|
36838
|
+
function gs(t) {
|
|
36836
36839
|
return [].concat(t);
|
|
36837
36840
|
}
|
|
36838
36841
|
function jy(t, e) {
|
|
@@ -36885,7 +36888,7 @@ function Hy(t, e) {
|
|
|
36885
36888
|
});
|
|
36886
36889
|
}
|
|
36887
36890
|
function QB(t) {
|
|
36888
|
-
var e, n =
|
|
36891
|
+
var e, n = gs(t), i = n[0];
|
|
36889
36892
|
return i != null && (e = i.ownerDocument) != null && e.body ? i.ownerDocument : document;
|
|
36890
36893
|
}
|
|
36891
36894
|
function e$(t, e) {
|
|
@@ -36937,7 +36940,7 @@ var r$ = typeof window < "u" && typeof document < "u", s$ = r$ ? (
|
|
|
36937
36940
|
// @ts-ignore
|
|
36938
36941
|
!!window.msCrypto
|
|
36939
36942
|
) : !1;
|
|
36940
|
-
function
|
|
36943
|
+
function cs(t) {
|
|
36941
36944
|
var e = t === "destroy" ? "n already-" : " ";
|
|
36942
36945
|
return [t + "() was called on a" + e + "destroyed instance. This is a no-op but", "indicates a potential memory leak."].join(" ");
|
|
36943
36946
|
}
|
|
@@ -37235,7 +37238,7 @@ function m$(t, e) {
|
|
|
37235
37238
|
function fe() {
|
|
37236
37239
|
var q = k.props.aria;
|
|
37237
37240
|
if (q.content) {
|
|
37238
|
-
var ve = "aria-" + q.content, Oe = _.id, Ke =
|
|
37241
|
+
var ve = "aria-" + q.content, Oe = _.id, Ke = gs(k.props.triggerTarget || t);
|
|
37239
37242
|
Ke.forEach(function(He) {
|
|
37240
37243
|
var jt = He.getAttribute(ve);
|
|
37241
37244
|
if (k.state.isVisible)
|
|
@@ -37249,7 +37252,7 @@ function m$(t, e) {
|
|
|
37249
37252
|
}
|
|
37250
37253
|
function ae() {
|
|
37251
37254
|
if (!(S || !k.props.aria.expanded)) {
|
|
37252
|
-
var q =
|
|
37255
|
+
var q = gs(k.props.triggerTarget || t);
|
|
37253
37256
|
q.forEach(function(ve) {
|
|
37254
37257
|
k.props.interactive ? ve.setAttribute("aria-expanded", k.state.isVisible && ve === R() ? "true" : "false") : ve.removeAttribute("aria-expanded");
|
|
37255
37258
|
});
|
|
@@ -37264,7 +37267,7 @@ function m$(t, e) {
|
|
|
37264
37267
|
if (!(Qn.isTouch && (l || q.type === "mousedown"))) {
|
|
37265
37268
|
var ve = q.composedPath && q.composedPath()[0] || q.target;
|
|
37266
37269
|
if (!(k.props.interactive && Wy(_, ve))) {
|
|
37267
|
-
if (
|
|
37270
|
+
if (gs(k.props.triggerTarget || t).some(function(Oe) {
|
|
37268
37271
|
return Wy(Oe, ve);
|
|
37269
37272
|
})) {
|
|
37270
37273
|
if (Qn.isTouch || k.state.isVisible && k.props.trigger.indexOf("click") >= 0)
|
|
@@ -37310,7 +37313,7 @@ function m$(t, e) {
|
|
|
37310
37313
|
}
|
|
37311
37314
|
function $(q, ve, Oe) {
|
|
37312
37315
|
Oe === void 0 && (Oe = !1);
|
|
37313
|
-
var Ke =
|
|
37316
|
+
var Ke = gs(k.props.triggerTarget || t);
|
|
37314
37317
|
Ke.forEach(function(He) {
|
|
37315
37318
|
He.addEventListener(q, ve, Oe), p.push({
|
|
37316
37319
|
node: He,
|
|
@@ -37359,10 +37362,10 @@ function m$(t, e) {
|
|
|
37359
37362
|
var ve = q.target, Oe = R().contains(ve) || _.contains(ve);
|
|
37360
37363
|
if (!(q.type === "mousemove" && Oe)) {
|
|
37361
37364
|
var Ke = J().concat(_).map(function(He) {
|
|
37362
|
-
var jt, gn = He._tippy,
|
|
37363
|
-
return
|
|
37365
|
+
var jt, gn = He._tippy, rs = (jt = gn.popperInstance) == null ? void 0 : jt.state;
|
|
37366
|
+
return rs ? {
|
|
37364
37367
|
popperRect: He.getBoundingClientRect(),
|
|
37365
|
-
popperState:
|
|
37368
|
+
popperState: rs,
|
|
37366
37369
|
props: n
|
|
37367
37370
|
} : null;
|
|
37368
37371
|
}).filter(Boolean);
|
|
@@ -37387,7 +37390,7 @@ function m$(t, e) {
|
|
|
37387
37390
|
}
|
|
37388
37391
|
function T() {
|
|
37389
37392
|
P();
|
|
37390
|
-
var q = k.props, ve = q.popperOptions, Oe = q.placement, Ke = q.offset, He = q.getReferenceClientRect, jt = q.moveTransition, gn = O() ? rh(_).arrow : null,
|
|
37393
|
+
var q = k.props, ve = q.popperOptions, Oe = q.placement, Ke = q.offset, He = q.getReferenceClientRect, jt = q.moveTransition, gn = O() ? rh(_).arrow : null, rs = He ? {
|
|
37391
37394
|
getBoundingClientRect: He,
|
|
37392
37395
|
contextElement: He.contextElement || R()
|
|
37393
37396
|
} : t, b0 = {
|
|
@@ -37396,12 +37399,12 @@ function m$(t, e) {
|
|
|
37396
37399
|
phase: "beforeWrite",
|
|
37397
37400
|
requires: ["computeStyles"],
|
|
37398
37401
|
fn: function(Xa) {
|
|
37399
|
-
var
|
|
37402
|
+
var ss = Xa.state;
|
|
37400
37403
|
if (O()) {
|
|
37401
37404
|
var zk = F(), jc = zk.box;
|
|
37402
37405
|
["placement", "reference-hidden", "escaped"].forEach(function(Qa) {
|
|
37403
|
-
Qa === "placement" ? jc.setAttribute("data-placement",
|
|
37404
|
-
}),
|
|
37406
|
+
Qa === "placement" ? jc.setAttribute("data-placement", ss.placement) : ss.attributes.popper["data-popper-" + Qa] ? jc.setAttribute("data-" + Qa, "") : jc.removeAttribute("data-" + Qa);
|
|
37407
|
+
}), ss.attributes.popper = {};
|
|
37405
37408
|
}
|
|
37406
37409
|
}
|
|
37407
37410
|
}, kr = [{
|
|
@@ -37436,7 +37439,7 @@ function m$(t, e) {
|
|
|
37436
37439
|
element: gn,
|
|
37437
37440
|
padding: 3
|
|
37438
37441
|
}
|
|
37439
|
-
}), kr.push.apply(kr, (ve == null ? void 0 : ve.modifiers) || []), k.popperInstance = jB(
|
|
37442
|
+
}), kr.push.apply(kr, (ve == null ? void 0 : ve.modifiers) || []), k.popperInstance = jB(rs, _, Object.assign({}, ve, {
|
|
37440
37443
|
placement: Oe,
|
|
37441
37444
|
onFirstUpdate: h,
|
|
37442
37445
|
modifiers: kr
|
|
@@ -37489,12 +37492,12 @@ function m$(t, e) {
|
|
|
37489
37492
|
clearTimeout(i), clearTimeout(r), cancelAnimationFrame(s);
|
|
37490
37493
|
}
|
|
37491
37494
|
function lt(q) {
|
|
37492
|
-
if (process.env.NODE_ENV !== "production" && bi(k.state.isDestroyed,
|
|
37495
|
+
if (process.env.NODE_ENV !== "production" && bi(k.state.isDestroyed, cs("setProps")), !k.state.isDestroyed) {
|
|
37493
37496
|
G("onBeforeUpdate", [k, q]), ue();
|
|
37494
37497
|
var ve = k.props, Oe = Ky(t, Object.assign({}, ve, Vy(q), {
|
|
37495
37498
|
ignoreAttributes: !0
|
|
37496
37499
|
}));
|
|
37497
|
-
k.props = Oe, se(), ve.interactiveDebounce !== Oe.interactiveDebounce && (Q(), m = zy(pe, Oe.interactiveDebounce)), ve.triggerTarget && !Oe.triggerTarget ?
|
|
37500
|
+
k.props = Oe, se(), ve.interactiveDebounce !== Oe.interactiveDebounce && (Q(), m = zy(pe, Oe.interactiveDebounce)), ve.triggerTarget && !Oe.triggerTarget ? gs(ve.triggerTarget).forEach(function(Ke) {
|
|
37498
37501
|
Ke.removeAttribute("aria-expanded");
|
|
37499
37502
|
}) : Oe.triggerTarget && t.removeAttribute("aria-expanded"), ae(), W(), M && M(ve, Oe), k.popperInstance && (T(), J().forEach(function(Ke) {
|
|
37500
37503
|
requestAnimationFrame(Ke._tippy.popperInstance.forceUpdate);
|
|
@@ -37507,19 +37510,19 @@ function m$(t, e) {
|
|
|
37507
37510
|
});
|
|
37508
37511
|
}
|
|
37509
37512
|
function Bc() {
|
|
37510
|
-
process.env.NODE_ENV !== "production" && bi(k.state.isDestroyed,
|
|
37513
|
+
process.env.NODE_ENV !== "production" && bi(k.state.isDestroyed, cs("show"));
|
|
37511
37514
|
var q = k.state.isVisible, ve = k.state.isDestroyed, Oe = !k.state.isEnabled, Ke = Qn.isTouch && !k.props.touch, He = Su(k.props.duration, 0, hn.duration);
|
|
37512
37515
|
if (!(q || ve || Oe || Ke) && !R().hasAttribute("disabled") && (G("onShow", [k], !1), k.props.onShow(k) !== !1)) {
|
|
37513
37516
|
if (k.state.isVisible = !0, O() && (_.style.visibility = "visible"), W(), Te(), k.state.isMounted || (_.style.transition = "none"), O()) {
|
|
37514
|
-
var jt = F(), gn = jt.box,
|
|
37515
|
-
Nu([gn,
|
|
37517
|
+
var jt = F(), gn = jt.box, rs = jt.content;
|
|
37518
|
+
Nu([gn, rs], 0);
|
|
37516
37519
|
}
|
|
37517
37520
|
h = function() {
|
|
37518
37521
|
var kr;
|
|
37519
37522
|
if (!(!k.state.isVisible || d)) {
|
|
37520
37523
|
if (d = !0, _.offsetHeight, _.style.transition = k.props.moveTransition, O() && k.props.animation) {
|
|
37521
|
-
var zc = F(), Xa = zc.box,
|
|
37522
|
-
Nu([Xa,
|
|
37524
|
+
var zc = F(), Xa = zc.box, ss = zc.content;
|
|
37525
|
+
Nu([Xa, ss], He), Hy([Xa, ss], "visible");
|
|
37523
37526
|
}
|
|
37524
37527
|
fe(), ae(), jy(Mu, k), (kr = k.popperInstance) == null || kr.forceUpdate(), G("onMount", [k]), k.props.animation && O() && ie(He, function() {
|
|
37525
37528
|
k.state.isShown = !0, G("onShown", [k]);
|
|
@@ -37529,7 +37532,7 @@ function m$(t, e) {
|
|
|
37529
37532
|
}
|
|
37530
37533
|
}
|
|
37531
37534
|
function mo() {
|
|
37532
|
-
process.env.NODE_ENV !== "production" && bi(k.state.isDestroyed,
|
|
37535
|
+
process.env.NODE_ENV !== "production" && bi(k.state.isDestroyed, cs("hide"));
|
|
37533
37536
|
var q = !k.state.isVisible, ve = k.state.isDestroyed, Oe = !k.state.isEnabled, Ke = Su(k.props.duration, 1, hn.duration);
|
|
37534
37537
|
if (!(q || ve || Oe) && (G("onHide", [k], !1), k.props.onHide(k) !== !1)) {
|
|
37535
37538
|
if (k.state.isVisible = !1, k.state.isShown = !1, d = !1, o = !1, O() && (_.style.visibility = "hidden"), Q(), ke(), W(!0), O()) {
|
|
@@ -37540,17 +37543,17 @@ function m$(t, e) {
|
|
|
37540
37543
|
}
|
|
37541
37544
|
}
|
|
37542
37545
|
function go(q) {
|
|
37543
|
-
process.env.NODE_ENV !== "production" && bi(k.state.isDestroyed,
|
|
37546
|
+
process.env.NODE_ENV !== "production" && bi(k.state.isDestroyed, cs("hideWithInteractivity")), A().addEventListener("mousemove", m), jy(ml, m), m(q);
|
|
37544
37547
|
}
|
|
37545
37548
|
function $c() {
|
|
37546
|
-
process.env.NODE_ENV !== "production" && bi(k.state.isDestroyed,
|
|
37549
|
+
process.env.NODE_ENV !== "production" && bi(k.state.isDestroyed, cs("unmount")), k.state.isVisible && k.hide(), k.state.isMounted && (P(), J().forEach(function(q) {
|
|
37547
37550
|
q._tippy.unmount();
|
|
37548
37551
|
}), _.parentNode && _.parentNode.removeChild(_), Mu = Mu.filter(function(q) {
|
|
37549
37552
|
return q !== k;
|
|
37550
37553
|
}), k.state.isMounted = !1, G("onHidden", [k]));
|
|
37551
37554
|
}
|
|
37552
37555
|
function Za() {
|
|
37553
|
-
process.env.NODE_ENV !== "production" && bi(k.state.isDestroyed,
|
|
37556
|
+
process.env.NODE_ENV !== "production" && bi(k.state.isDestroyed, cs("destroy")), !k.state.isDestroyed && (k.clearDelayTimeouts(), k.unmount(), ue(), delete t._tippy, k.state.isDestroyed = !0, G("onDestroy", [k]));
|
|
37554
37557
|
}
|
|
37555
37558
|
}
|
|
37556
37559
|
function co(t, e) {
|
|
@@ -39251,7 +39254,7 @@ const i3 = ({
|
|
|
39251
39254
|
},
|
|
39252
39255
|
addInputRules() {
|
|
39253
39256
|
return [
|
|
39254
|
-
|
|
39257
|
+
Ur({
|
|
39255
39258
|
find: G$,
|
|
39256
39259
|
type: this.type
|
|
39257
39260
|
})
|
|
@@ -40226,7 +40229,7 @@ Qt.prototype = {
|
|
|
40226
40229
|
return r.j[t] = o, o;
|
|
40227
40230
|
}
|
|
40228
40231
|
};
|
|
40229
|
-
const Pe = (t, e, n, i, r) => t.ta(e, n, i, r), dt = (t, e, n, i, r) => t.tr(e, n, i, r), s3 = (t, e, n, i, r) => t.ts(e, n, i, r), ee = (t, e, n, i, r) => t.tt(e, n, i, r), yi = "WORD", uh = "UWORD", f7 = "ASCIINUMERICAL", c7 = "ALPHANUMERICAL", ma = "LOCALHOST", hh = "TLD", ph = "UTLD", jl = "SCHEME",
|
|
40232
|
+
const Pe = (t, e, n, i, r) => t.ta(e, n, i, r), dt = (t, e, n, i, r) => t.tr(e, n, i, r), s3 = (t, e, n, i, r) => t.ts(e, n, i, r), ee = (t, e, n, i, r) => t.tt(e, n, i, r), yi = "WORD", uh = "UWORD", f7 = "ASCIINUMERICAL", c7 = "ALPHANUMERICAL", ma = "LOCALHOST", hh = "TLD", ph = "UTLD", jl = "SCHEME", ys = "SLASH_SCHEME", Fm = "NUM", mh = "WS", Bm = "NL", Ho = "OPENBRACE", Wo = "CLOSEBRACE", Fd = "OPENBRACKET", Bd = "CLOSEBRACKET", $d = "OPENPAREN", zd = "CLOSEPAREN", jd = "OPENANGLEBRACKET", Vd = "CLOSEANGLEBRACKET", Hd = "FULLWIDTHLEFTPAREN", Wd = "FULLWIDTHRIGHTPAREN", qd = "LEFTCORNERBRACKET", Ud = "RIGHTCORNERBRACKET", Kd = "LEFTWHITECORNERBRACKET", Gd = "RIGHTWHITECORNERBRACKET", Jd = "FULLWIDTHLESSTHAN", Yd = "FULLWIDTHGREATERTHAN", Zd = "AMPERSAND", $m = "APOSTROPHE", Xd = "ASTERISK", zi = "AT", Qd = "BACKSLASH", ef = "BACKTICK", tf = "CARET", Wi = "COLON", zm = "COMMA", nf = "DOLLAR", Yn = "DOT", rf = "EQUALS", jm = "EXCLAMATION", kn = "HYPHEN", qo = "PERCENT", sf = "PIPE", of = "PLUS", af = "POUND", Uo = "QUERY", Vm = "QUOTE", u7 = "FULLWIDTHMIDDLEDOT", Hm = "SEMI", Zn = "SLASH", Ko = "TILDE", lf = "UNDERSCORE", h7 = "EMOJI", df = "SYM";
|
|
40230
40233
|
var p7 = /* @__PURE__ */ Object.freeze({
|
|
40231
40234
|
__proto__: null,
|
|
40232
40235
|
WORD: yi,
|
|
@@ -40237,7 +40240,7 @@ var p7 = /* @__PURE__ */ Object.freeze({
|
|
|
40237
40240
|
TLD: hh,
|
|
40238
40241
|
UTLD: ph,
|
|
40239
40242
|
SCHEME: jl,
|
|
40240
|
-
SLASH_SCHEME:
|
|
40243
|
+
SLASH_SCHEME: ys,
|
|
40241
40244
|
NUM: Fm,
|
|
40242
40245
|
WS: mh,
|
|
40243
40246
|
NL: Bm,
|
|
@@ -40334,10 +40337,10 @@ function Hz(t = []) {
|
|
|
40334
40337
|
}, e), Tr(ph, {
|
|
40335
40338
|
utld: !0,
|
|
40336
40339
|
alpha: !0
|
|
40337
|
-
}, e), Ri(n, "file", jl, yi, p), Ri(n, "mailto", jl, yi, p), Ri(n, "http",
|
|
40340
|
+
}, e), Ri(n, "file", jl, yi, p), Ri(n, "mailto", jl, yi, p), Ri(n, "http", ys, yi, p), Ri(n, "https", ys, yi, p), Ri(n, "ftp", ys, yi, p), Ri(n, "ftps", ys, yi, p), Tr(jl, {
|
|
40338
40341
|
scheme: !0,
|
|
40339
40342
|
ascii: !0
|
|
40340
|
-
}, e), Tr(
|
|
40343
|
+
}, e), Tr(ys, {
|
|
40341
40344
|
slashscheme: !0,
|
|
40342
40345
|
ascii: !0
|
|
40343
40346
|
}, e), t = t.sort((g, y) => g[0] > y[0] ? 1 : -1);
|
|
@@ -41123,11 +41126,11 @@ const ij = On.create({
|
|
|
41123
41126
|
},
|
|
41124
41127
|
addInputRules() {
|
|
41125
41128
|
return [
|
|
41126
|
-
|
|
41129
|
+
Ur({
|
|
41127
41130
|
find: oj,
|
|
41128
41131
|
type: this.type
|
|
41129
41132
|
}),
|
|
41130
|
-
|
|
41133
|
+
Ur({
|
|
41131
41134
|
find: lj,
|
|
41132
41135
|
type: this.type
|
|
41133
41136
|
})
|
|
@@ -41225,7 +41228,7 @@ const ij = On.create({
|
|
|
41225
41228
|
},
|
|
41226
41229
|
addInputRules() {
|
|
41227
41230
|
return [
|
|
41228
|
-
|
|
41231
|
+
Ur({
|
|
41229
41232
|
find: hj,
|
|
41230
41233
|
type: this.type
|
|
41231
41234
|
})
|
|
@@ -42040,11 +42043,11 @@ const w7 = k7(!1, !0), x7 = k7(!0, !0), Rj = Qe.create({
|
|
|
42040
42043
|
},
|
|
42041
42044
|
addInputRules() {
|
|
42042
42045
|
return [
|
|
42043
|
-
|
|
42046
|
+
Ur({
|
|
42044
42047
|
find: Fj,
|
|
42045
42048
|
type: this.type
|
|
42046
42049
|
}),
|
|
42047
|
-
|
|
42050
|
+
Ur({
|
|
42048
42051
|
find: $j,
|
|
42049
42052
|
type: this.type
|
|
42050
42053
|
})
|
|
@@ -42226,7 +42229,7 @@ const w7 = k7(!1, !0), x7 = k7(!0, !0), Rj = Qe.create({
|
|
|
42226
42229
|
},
|
|
42227
42230
|
addInputRules() {
|
|
42228
42231
|
return [
|
|
42229
|
-
|
|
42232
|
+
Ur({
|
|
42230
42233
|
find: Uj,
|
|
42231
42234
|
type: this.type
|
|
42232
42235
|
})
|
|
@@ -42672,23 +42675,23 @@ const rV = new et("mention"), sV = yt.create({
|
|
|
42672
42675
|
];
|
|
42673
42676
|
}
|
|
42674
42677
|
});
|
|
42675
|
-
var
|
|
42678
|
+
var us = {}, b3;
|
|
42676
42679
|
function oV() {
|
|
42677
|
-
if (b3) return
|
|
42680
|
+
if (b3) return us;
|
|
42678
42681
|
b3 = 1;
|
|
42679
42682
|
var t = zf;
|
|
42680
42683
|
if (process.env.NODE_ENV === "production")
|
|
42681
|
-
|
|
42684
|
+
us.createRoot = t.createRoot, us.hydrateRoot = t.hydrateRoot;
|
|
42682
42685
|
else {
|
|
42683
42686
|
var e = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
42684
|
-
|
|
42687
|
+
us.createRoot = function(n, i) {
|
|
42685
42688
|
e.usingClientEntryPoint = !0;
|
|
42686
42689
|
try {
|
|
42687
42690
|
return t.createRoot(n, i);
|
|
42688
42691
|
} finally {
|
|
42689
42692
|
e.usingClientEntryPoint = !1;
|
|
42690
42693
|
}
|
|
42691
|
-
},
|
|
42694
|
+
}, us.hydrateRoot = function(n, i, r) {
|
|
42692
42695
|
e.usingClientEntryPoint = !0;
|
|
42693
42696
|
try {
|
|
42694
42697
|
return t.hydrateRoot(n, i, r);
|
|
@@ -42697,7 +42700,7 @@ function oV() {
|
|
|
42697
42700
|
}
|
|
42698
42701
|
};
|
|
42699
42702
|
}
|
|
42700
|
-
return
|
|
42703
|
+
return us;
|
|
42701
42704
|
}
|
|
42702
42705
|
var C7 = oV();
|
|
42703
42706
|
const aV = ({ item: t, selected: e }) => /* @__PURE__ */ b(
|
|
@@ -44666,10 +44669,10 @@ const T7 = (t, e, n) => Qe.create({
|
|
|
44666
44669
|
if (e(i, n))
|
|
44667
44670
|
return !0;
|
|
44668
44671
|
return !1;
|
|
44669
|
-
},
|
|
44672
|
+
}, Gr = () => /* @__PURE__ */ new Set(), ju = (t) => t[t.length - 1], IV = (t, e) => {
|
|
44670
44673
|
for (let n = 0; n < e.length; n++)
|
|
44671
44674
|
t.push(e[n]);
|
|
44672
|
-
},
|
|
44675
|
+
}, Jr = Array.from, RV = (t, e) => {
|
|
44673
44676
|
for (let n = 0; n < t.length; n++)
|
|
44674
44677
|
if (e(t[n], n, t))
|
|
44675
44678
|
return !0;
|
|
@@ -44689,7 +44692,7 @@ class O7 {
|
|
|
44689
44692
|
this._observers,
|
|
44690
44693
|
/** @type {string} */
|
|
44691
44694
|
e,
|
|
44692
|
-
|
|
44695
|
+
Gr
|
|
44693
44696
|
).add(n), n;
|
|
44694
44697
|
}
|
|
44695
44698
|
/**
|
|
@@ -44731,7 +44734,7 @@ class O7 {
|
|
|
44731
44734
|
* @param {Parameters<EVENTS[NAME]>} args The arguments that are applied to the event listener.
|
|
44732
44735
|
*/
|
|
44733
44736
|
emit(e, n) {
|
|
44734
|
-
return
|
|
44737
|
+
return Jr((this._observers.get(e) || Vn()).values()).forEach((i) => i(...n));
|
|
44735
44738
|
}
|
|
44736
44739
|
destroy() {
|
|
44737
44740
|
this._observers = Vn();
|
|
@@ -44801,7 +44804,7 @@ const Ga = () => new Ka(), KV = (t) => {
|
|
|
44801
44804
|
/** @type {number} */
|
|
44802
44805
|
n.codePointAt(r)
|
|
44803
44806
|
);
|
|
44804
|
-
},
|
|
44807
|
+
}, Ns = va && /** @type {any} */
|
|
44805
44808
|
va.encodeInto ? ZV : XV, Lc = (t, e) => {
|
|
44806
44809
|
const n = t.cbuf.length, i = t.cpos, r = Js(n - i, e.length), s = e.length - r;
|
|
44807
44810
|
t.cbuf.set(e.subarray(0, r), i), t.cpos += r, s > 0 && (t.bufs.push(t.cbuf), t.cbuf = new Uint8Array(dr(n * 2, s)), t.cbuf.set(e.subarray(r)), t.cpos = s);
|
|
@@ -44817,7 +44820,7 @@ va.encodeInto ? ZV : XV, Lc = (t, e) => {
|
|
|
44817
44820
|
), C3 = new DataView(new ArrayBuffer(4)), nH = (t) => (C3.setFloat32(0, t), C3.getFloat32(0) === t), Ys = (t, e) => {
|
|
44818
44821
|
switch (typeof e) {
|
|
44819
44822
|
case "string":
|
|
44820
|
-
wt(t, 119),
|
|
44823
|
+
wt(t, 119), Ns(t, e);
|
|
44821
44824
|
break;
|
|
44822
44825
|
case "number":
|
|
44823
44826
|
BV(e) && Hl(e) <= FV ? (wt(t, 125), Qm(t, e)) : nH(e) ? (wt(t, 124), QV(t, e)) : (wt(t, 123), eH(t, e));
|
|
@@ -44840,7 +44843,7 @@ va.encodeInto ? ZV : XV, Lc = (t, e) => {
|
|
|
44840
44843
|
We(t, n.length);
|
|
44841
44844
|
for (let i = 0; i < n.length; i++) {
|
|
44842
44845
|
const r = n[i];
|
|
44843
|
-
|
|
44846
|
+
Ns(t, r), Ys(t, e[r]);
|
|
44844
44847
|
}
|
|
44845
44848
|
}
|
|
44846
44849
|
break;
|
|
@@ -44924,7 +44927,7 @@ class iH {
|
|
|
44924
44927
|
}
|
|
44925
44928
|
toUint8Array() {
|
|
44926
44929
|
const e = new Ka();
|
|
44927
|
-
return this.sarr.push(this.s), this.s = "",
|
|
44930
|
+
return this.sarr.push(this.s), this.s = "", Ns(e, this.sarr.join("")), Lc(e, this.lensE.toUint8Array()), jn(e);
|
|
44928
44931
|
}
|
|
44929
44932
|
}
|
|
44930
44933
|
const fr = (t) => new Error(t), Hn = () => {
|
|
@@ -45269,7 +45272,7 @@ const BH = (t) => AV(t, (e, n) => `${n}:${e};`).join(""), $H = (t) => class {
|
|
|
45269
45272
|
console.log(...K7(t)), J7.forEach((e) => e.print(t));
|
|
45270
45273
|
}, G7 = (...t) => {
|
|
45271
45274
|
console.warn(...K7(t)), t.unshift(s0), J7.forEach((e) => e.print(t));
|
|
45272
|
-
}, J7 =
|
|
45275
|
+
}, J7 = Gr(), Y7 = (t) => ({
|
|
45273
45276
|
/**
|
|
45274
45277
|
* @return {IterableIterator<T>}
|
|
45275
45278
|
*/
|
|
@@ -45372,7 +45375,7 @@ const cr = (t, e, n) => e.clients.forEach((i, r) => {
|
|
|
45372
45375
|
r.length > 0 && e.clients.set(i, r);
|
|
45373
45376
|
}), e;
|
|
45374
45377
|
}, l0 = (t, e) => {
|
|
45375
|
-
We(t.restEncoder, e.clients.size),
|
|
45378
|
+
We(t.restEncoder, e.clients.size), Jr(e.clients.entries()).sort((n, i) => i[0] - n[0]).forEach(([n, i]) => {
|
|
45376
45379
|
t.resetDsCurVal(), We(t.restEncoder, n);
|
|
45377
45380
|
const r = i.length;
|
|
45378
45381
|
We(t.restEncoder, r);
|
|
@@ -45418,7 +45421,7 @@ const cr = (t, e, n) => e.clients.forEach((i, r) => {
|
|
|
45418
45421
|
}
|
|
45419
45422
|
return null;
|
|
45420
45423
|
}, X7 = P7;
|
|
45421
|
-
class
|
|
45424
|
+
class ns extends O7 {
|
|
45422
45425
|
/**
|
|
45423
45426
|
* @param {DocOpts} opts configuration
|
|
45424
45427
|
*/
|
|
@@ -45461,7 +45464,7 @@ class ts extends O7 {
|
|
|
45461
45464
|
return this.subdocs;
|
|
45462
45465
|
}
|
|
45463
45466
|
getSubdocGuids() {
|
|
45464
|
-
return new Set(
|
|
45467
|
+
return new Set(Jr(this.subdocs).map((e) => e.guid));
|
|
45465
45468
|
}
|
|
45466
45469
|
/**
|
|
45467
45470
|
* Changes that happen inside of a transaction are bundled. This means that
|
|
@@ -45545,7 +45548,7 @@ class ts extends O7 {
|
|
|
45545
45548
|
getArray(e = "") {
|
|
45546
45549
|
return (
|
|
45547
45550
|
/** @type {YArray<T>} */
|
|
45548
|
-
this.get(e,
|
|
45551
|
+
this.get(e, Es)
|
|
45549
45552
|
);
|
|
45550
45553
|
}
|
|
45551
45554
|
/**
|
|
@@ -45589,7 +45592,7 @@ class ts extends O7 {
|
|
|
45589
45592
|
* @public
|
|
45590
45593
|
*/
|
|
45591
45594
|
getXmlFragment(e = "") {
|
|
45592
|
-
return this.get(e,
|
|
45595
|
+
return this.get(e, Yr);
|
|
45593
45596
|
}
|
|
45594
45597
|
/**
|
|
45595
45598
|
* Converts the entire document into a js object, recursively traversing each yjs type
|
|
@@ -45609,7 +45612,7 @@ class ts extends O7 {
|
|
|
45609
45612
|
* Emit `destroy` event and unregister all event handlers.
|
|
45610
45613
|
*/
|
|
45611
45614
|
destroy() {
|
|
45612
|
-
this.isDestroyed = !0,
|
|
45615
|
+
this.isDestroyed = !0, Jr(this.subdocs).forEach((n) => n.destroy());
|
|
45613
45616
|
const e = this._item;
|
|
45614
45617
|
if (e !== null) {
|
|
45615
45618
|
this._item = null;
|
|
@@ -45617,7 +45620,7 @@ class ts extends O7 {
|
|
|
45617
45620
|
/** @type {ContentDoc} */
|
|
45618
45621
|
e.content
|
|
45619
45622
|
);
|
|
45620
|
-
n.doc = new
|
|
45623
|
+
n.doc = new ns({ guid: this.guid, ...n.opts, shouldLoad: !1 }), n.doc._item = e, Ye(
|
|
45621
45624
|
/** @type {any} */
|
|
45622
45625
|
e.parent.doc,
|
|
45623
45626
|
(i) => {
|
|
@@ -45666,13 +45669,13 @@ class hf extends eW {
|
|
|
45666
45669
|
* @return {ID}
|
|
45667
45670
|
*/
|
|
45668
45671
|
readLeftID() {
|
|
45669
|
-
return new
|
|
45672
|
+
return new Ls(this.clientDecoder.read(), this.leftClockDecoder.read());
|
|
45670
45673
|
}
|
|
45671
45674
|
/**
|
|
45672
45675
|
* @return {ID}
|
|
45673
45676
|
*/
|
|
45674
45677
|
readRightID() {
|
|
45675
|
-
return new
|
|
45678
|
+
return new Ls(this.clientDecoder.read(), this.rightClockDecoder.read());
|
|
45676
45679
|
}
|
|
45677
45680
|
/**
|
|
45678
45681
|
* Read the next client id.
|
|
@@ -45803,7 +45806,7 @@ class nW extends tW {
|
|
|
45803
45806
|
* @param {string} s
|
|
45804
45807
|
*/
|
|
45805
45808
|
writeString(e) {
|
|
45806
|
-
|
|
45809
|
+
Ns(this.restEncoder, e);
|
|
45807
45810
|
}
|
|
45808
45811
|
/**
|
|
45809
45812
|
* @param {boolean} isYKey
|
|
@@ -45841,13 +45844,13 @@ class nW extends tW {
|
|
|
45841
45844
|
* @param {any} embed
|
|
45842
45845
|
*/
|
|
45843
45846
|
writeJSON(e) {
|
|
45844
|
-
|
|
45847
|
+
Ns(this.restEncoder, JSON.stringify(e));
|
|
45845
45848
|
}
|
|
45846
45849
|
/**
|
|
45847
45850
|
* @param {string} key
|
|
45848
45851
|
*/
|
|
45849
45852
|
writeKey(e) {
|
|
45850
|
-
|
|
45853
|
+
Ns(this.restEncoder, e);
|
|
45851
45854
|
}
|
|
45852
45855
|
}
|
|
45853
45856
|
class iW {
|
|
@@ -45981,7 +45984,7 @@ const rW = (t, e, n, i) => {
|
|
|
45981
45984
|
pt(e, s) > r && i.set(s, r);
|
|
45982
45985
|
}), Tc(e).forEach((r, s) => {
|
|
45983
45986
|
n.has(s) || i.set(s, 0);
|
|
45984
|
-
}), We(t.restEncoder, i.size),
|
|
45987
|
+
}), We(t.restEncoder, i.size), Jr(i.entries()).sort((r, s) => s[0] - r[0]).forEach(([r, s]) => {
|
|
45985
45988
|
rW(
|
|
45986
45989
|
t,
|
|
45987
45990
|
/** @type {Array<GC|Item>} */
|
|
@@ -46035,7 +46038,7 @@ const rW = (t, e, n, i) => {
|
|
|
46035
46038
|
return n;
|
|
46036
46039
|
}, oW = (t, e, n) => {
|
|
46037
46040
|
const i = [];
|
|
46038
|
-
let r =
|
|
46041
|
+
let r = Jr(n.keys()).sort((p, m) => p - m);
|
|
46039
46042
|
if (r.length === 0)
|
|
46040
46043
|
return null;
|
|
46041
46044
|
const s = () => {
|
|
@@ -46165,7 +46168,7 @@ const D3 = () => new dW(), I3 = (t, e) => t.l.push(e), R3 = (t, e) => {
|
|
|
46165
46168
|
const n = t.l, i = n.length;
|
|
46166
46169
|
t.l = n.filter((r) => e !== r), i === t.l.length && console.error("[yjs] Tried to remove event handler that doesn't exist.");
|
|
46167
46170
|
}, ek = (t, e, n) => r0(t.l, [e, n]);
|
|
46168
|
-
class
|
|
46171
|
+
class Ls {
|
|
46169
46172
|
/**
|
|
46170
46173
|
* @param {number} client client id
|
|
46171
46174
|
* @param {number} clock unique per client id, continuous number
|
|
@@ -46174,7 +46177,7 @@ class Ns {
|
|
|
46174
46177
|
this.client = e, this.clock = n;
|
|
46175
46178
|
}
|
|
46176
46179
|
}
|
|
46177
|
-
const kl = (t, e) => t === e || t !== null && e !== null && t.client === e.client && t.clock === e.clock, Be = (t, e) => new
|
|
46180
|
+
const kl = (t, e) => t === e || t !== null && e !== null && t.client === e.client && t.clock === e.clock, Be = (t, e) => new Ls(t, e), wa = (t) => {
|
|
46178
46181
|
for (const [e, n] of t.doc.share.entries())
|
|
46179
46182
|
if (n === t)
|
|
46180
46183
|
return e;
|
|
@@ -46231,7 +46234,7 @@ const cW = (t, e, n = 0) => new fW(t, e, n), wl = (t, e, n) => {
|
|
|
46231
46234
|
}
|
|
46232
46235
|
return wl(t, null, n);
|
|
46233
46236
|
}, uW = (t, e) => {
|
|
46234
|
-
const n =
|
|
46237
|
+
const n = Ms(t, e), i = e.clock - n.id.clock;
|
|
46235
46238
|
return {
|
|
46236
46239
|
item: n,
|
|
46237
46240
|
diff: i
|
|
@@ -46258,7 +46261,7 @@ const cW = (t, e, n = 0) => new fW(t, e, n), wl = (t, e, n) => {
|
|
|
46258
46261
|
else if (s !== null) {
|
|
46259
46262
|
if (pt(i, s.client) <= s.clock)
|
|
46260
46263
|
return null;
|
|
46261
|
-
const { item: c } = n ? Eh(i, s) : { item:
|
|
46264
|
+
const { item: c } = n ? Eh(i, s) : { item: Ms(i, s) };
|
|
46262
46265
|
if (c instanceof tt && c.content instanceof Gn)
|
|
46263
46266
|
l = c.content.type;
|
|
46264
46267
|
else
|
|
@@ -46279,7 +46282,7 @@ class d0 {
|
|
|
46279
46282
|
}
|
|
46280
46283
|
}
|
|
46281
46284
|
const tk = (t, e) => new d0(t, e), Gu = (t) => tk(XH(t.store), Tc(t.store)), Sr = (t, e) => e === void 0 ? !t.deleted : e.sv.has(t.id.client) && (e.sv.get(t.id.client) || 0) > t.id.clock && !ho(e.ds, t.id), Nh = (t, e) => {
|
|
46282
|
-
const n = Ai(t.meta, Nh,
|
|
46285
|
+
const n = Ai(t.meta, Nh, Gr), i = t.doc.store;
|
|
46283
46286
|
n.has(e) || (e.sv.forEach((r, s) => {
|
|
46284
46287
|
r < pt(i, s) && en(t, Be(s, r));
|
|
46285
46288
|
}), cr(t, e.ds, (r) => {
|
|
@@ -46330,7 +46333,7 @@ const Tc = (t) => {
|
|
|
46330
46333
|
}, pW = (t, e) => {
|
|
46331
46334
|
const n = t.clients.get(e.client);
|
|
46332
46335
|
return n[Un(n, e.clock)];
|
|
46333
|
-
},
|
|
46336
|
+
}, Ms = (
|
|
46334
46337
|
/** @type {function(StructStore,ID):Item} */
|
|
46335
46338
|
pW
|
|
46336
46339
|
), Lh = (t, e, n) => {
|
|
@@ -46372,7 +46375,7 @@ class gW {
|
|
|
46372
46375
|
}
|
|
46373
46376
|
const F3 = (t, e) => e.deleteSet.clients.size === 0 && !DV(e.afterState, (n, i) => e.beforeState.get(i) !== n) ? !1 : (a0(e.deleteSet), aW(t, e), l0(t, e.deleteSet), !0), B3 = (t, e, n) => {
|
|
46374
46377
|
const i = e._item;
|
|
46375
|
-
(i === null || i.id.clock < (t.beforeState.get(i.id.client) || 0) && !i.deleted) && Ai(t.changed, e,
|
|
46378
|
+
(i === null || i.id.clock < (t.beforeState.get(i.id.client) || 0) && !i.deleted) && Ai(t.changed, e, Gr).add(n);
|
|
46376
46379
|
}, Ul = (t, e) => {
|
|
46377
46380
|
let n = t[e], i = t[e - 1], r = e;
|
|
46378
46381
|
for (; r > 0; n = i, i = t[--r - 1]) {
|
|
@@ -46563,7 +46566,7 @@ class ok extends O7 {
|
|
|
46563
46566
|
ignoreRemoteMapChanges: o = !1,
|
|
46564
46567
|
doc: a = (
|
|
46565
46568
|
/** @type {Doc} */
|
|
46566
|
-
vh(e) ? e[0].doc : e instanceof
|
|
46569
|
+
vh(e) ? e[0].doc : e instanceof ns ? e : e.doc
|
|
46567
46570
|
)
|
|
46568
46571
|
} = {}) {
|
|
46569
46572
|
super(), this.scope = [], this.doc = a, this.addToScope(e), this.deleteFilter = r, s.add(this), this.trackedOrigins = s, this.captureTransaction = i, this.undoStack = [], this.redoStack = [], this.undoing = !1, this.redoing = !1, this.currStackItem = null, this.lastChange = 0, this.ignoreRemoteMapChanges = o, this.captureTimeout = n, this.afterTransactionHandler = (l) => {
|
|
@@ -46973,7 +46976,7 @@ class Oc {
|
|
|
46973
46976
|
if (e === null) {
|
|
46974
46977
|
if (this.transaction.doc._transactionCleanups.length === 0)
|
|
46975
46978
|
throw fr(V3);
|
|
46976
|
-
const n = this.target, i =
|
|
46979
|
+
const n = this.target, i = Gr(), r = Gr(), s = [];
|
|
46977
46980
|
if (e = {
|
|
46978
46981
|
added: i,
|
|
46979
46982
|
deleted: r,
|
|
@@ -47284,7 +47287,7 @@ const fk = (t, e, n) => {
|
|
|
47284
47287
|
const s = t.doc, o = s.clientID, a = s.store, l = n === null ? e._start : n.right;
|
|
47285
47288
|
let d = [];
|
|
47286
47289
|
const c = () => {
|
|
47287
|
-
d.length > 0 && (r = new tt(Be(o, pt(a, o)), r, r && r.lastId, l, l && l.id, e, null, new
|
|
47290
|
+
d.length > 0 && (r = new tt(Be(o, pt(a, o)), r, r && r.lastId, l, l && l.id, e, null, new Zr(d)), r.integrate(t, 0), d = []);
|
|
47288
47291
|
};
|
|
47289
47292
|
i.forEach((u) => {
|
|
47290
47293
|
if (u === null)
|
|
@@ -47307,7 +47310,7 @@ const fk = (t, e, n) => {
|
|
|
47307
47310
|
u
|
|
47308
47311
|
))), r.integrate(t, 0);
|
|
47309
47312
|
break;
|
|
47310
|
-
case
|
|
47313
|
+
case ns:
|
|
47311
47314
|
r = new tt(Be(o, pt(a, o)), r, r && r.lastId, l, l && l.id, e, null, new Ya(
|
|
47312
47315
|
/** @type {Doc} */
|
|
47313
47316
|
u
|
|
@@ -47367,7 +47370,7 @@ const fk = (t, e, n) => {
|
|
|
47367
47370
|
const r = e._map.get(n) || null, s = t.doc, o = s.clientID;
|
|
47368
47371
|
let a;
|
|
47369
47372
|
if (i == null)
|
|
47370
|
-
a = new
|
|
47373
|
+
a = new Zr([i]);
|
|
47371
47374
|
else
|
|
47372
47375
|
switch (i.constructor) {
|
|
47373
47376
|
case Number:
|
|
@@ -47377,7 +47380,7 @@ const fk = (t, e, n) => {
|
|
|
47377
47380
|
case String:
|
|
47378
47381
|
case Date:
|
|
47379
47382
|
case BigInt:
|
|
47380
|
-
a = new
|
|
47383
|
+
a = new Zr([i]);
|
|
47381
47384
|
break;
|
|
47382
47385
|
case Uint8Array:
|
|
47383
47386
|
a = new Ja(
|
|
@@ -47385,7 +47388,7 @@ const fk = (t, e, n) => {
|
|
|
47385
47388
|
i
|
|
47386
47389
|
);
|
|
47387
47390
|
break;
|
|
47388
|
-
case
|
|
47391
|
+
case ns:
|
|
47389
47392
|
a = new Ya(
|
|
47390
47393
|
/** @type {Doc} */
|
|
47391
47394
|
i
|
|
@@ -47426,7 +47429,7 @@ const fk = (t, e, n) => {
|
|
|
47426
47429
|
));
|
|
47427
47430
|
class AW extends Oc {
|
|
47428
47431
|
}
|
|
47429
|
-
class
|
|
47432
|
+
class Es extends St {
|
|
47430
47433
|
constructor() {
|
|
47431
47434
|
super(), this._prelimContent = [], this._searchMarker = [];
|
|
47432
47435
|
}
|
|
@@ -47437,7 +47440,7 @@ class Ms extends St {
|
|
|
47437
47440
|
* @return {YArray<T>}
|
|
47438
47441
|
*/
|
|
47439
47442
|
static from(e) {
|
|
47440
|
-
const n = new
|
|
47443
|
+
const n = new Es();
|
|
47441
47444
|
return n.push(e), n;
|
|
47442
47445
|
}
|
|
47443
47446
|
/**
|
|
@@ -47461,7 +47464,7 @@ class Ms extends St {
|
|
|
47461
47464
|
* @return {YArray<T>}
|
|
47462
47465
|
*/
|
|
47463
47466
|
_copy() {
|
|
47464
|
-
return new
|
|
47467
|
+
return new Es();
|
|
47465
47468
|
}
|
|
47466
47469
|
/**
|
|
47467
47470
|
* Makes a copy of this data type that can be included somewhere else.
|
|
@@ -47471,7 +47474,7 @@ class Ms extends St {
|
|
|
47471
47474
|
* @return {YArray<T>}
|
|
47472
47475
|
*/
|
|
47473
47476
|
clone() {
|
|
47474
|
-
const e = new
|
|
47477
|
+
const e = new Es();
|
|
47475
47478
|
return e.insert(0, this.toArray().map(
|
|
47476
47479
|
(n) => n instanceof St ? (
|
|
47477
47480
|
/** @type {typeof el} */
|
|
@@ -47627,7 +47630,7 @@ class Ms extends St {
|
|
|
47627
47630
|
e.writeTypeRef(iq);
|
|
47628
47631
|
}
|
|
47629
47632
|
}
|
|
47630
|
-
const DW = (t) => new
|
|
47633
|
+
const DW = (t) => new Es();
|
|
47631
47634
|
class IW extends Oc {
|
|
47632
47635
|
/**
|
|
47633
47636
|
* @param {YMap<T>} ymap The YArray that changed.
|
|
@@ -47948,7 +47951,7 @@ const H3 = (t, e, n) => {
|
|
|
47948
47951
|
const a = xk(t, e, n, r), l = i.constructor === String ? new Kn(
|
|
47949
47952
|
/** @type {string} */
|
|
47950
47953
|
i
|
|
47951
|
-
) : i instanceof St ? new Gn(i) : new
|
|
47954
|
+
) : i instanceof St ? new Gn(i) : new is(i);
|
|
47952
47955
|
let { left: d, right: c, index: u } = n;
|
|
47953
47956
|
e._searchMarker && _a(e._searchMarker, n.index, l.getLength()), c = new tt(Be(o, pt(s.store, o)), d, d && d.lastId, c, c && c.id, e, null, l), c.integrate(t, 0), n.right = c, n.index = u, n.forward(), kk(t, e, n, a);
|
|
47954
47957
|
}, W3 = (t, e, n, i, r) => {
|
|
@@ -48111,7 +48114,7 @@ const H3 = (t, e, n) => {
|
|
|
48111
48114
|
if (e.right.deleted === !1)
|
|
48112
48115
|
switch (e.right.content.constructor) {
|
|
48113
48116
|
case Gn:
|
|
48114
|
-
case
|
|
48117
|
+
case is:
|
|
48115
48118
|
case Kn:
|
|
48116
48119
|
n < e.right.length && en(t, Be(e.right.id.client, e.right.id.clock + n)), n -= e.right.length, e.right.delete(t);
|
|
48117
48120
|
break;
|
|
@@ -48196,7 +48199,7 @@ class $W extends Oc {
|
|
|
48196
48199
|
for (; o !== null; ) {
|
|
48197
48200
|
switch (o.content.constructor) {
|
|
48198
48201
|
case Gn:
|
|
48199
|
-
case
|
|
48202
|
+
case is:
|
|
48200
48203
|
this.adds(o) ? this.deletes(o) || (h(), a = "insert", d = o.content.getContent()[0], h()) : this.deletes(o) ? (a !== "delete" && (h(), a = "delete"), u += 1) : o.deleted || (a !== "retain" && (h(), a = "retain"), c += 1);
|
|
48201
48204
|
break;
|
|
48202
48205
|
case Kn:
|
|
@@ -48384,7 +48387,7 @@ class ur extends St {
|
|
|
48384
48387
|
break;
|
|
48385
48388
|
}
|
|
48386
48389
|
case Gn:
|
|
48387
|
-
case
|
|
48390
|
+
case is: {
|
|
48388
48391
|
d();
|
|
48389
48392
|
const u = {
|
|
48390
48393
|
insert: l.content.getContent()[0]
|
|
@@ -48581,7 +48584,7 @@ class Yu {
|
|
|
48581
48584
|
if (e !== null && (!this._firstCall || e.deleted || !this._filter(n)))
|
|
48582
48585
|
do
|
|
48583
48586
|
if (n = /** @type {any} */
|
|
48584
|
-
e.content.type, !e.deleted && (n.constructor === Ft || n.constructor ===
|
|
48587
|
+
e.content.type, !e.deleted && (n.constructor === Ft || n.constructor === Yr) && n._start !== null)
|
|
48585
48588
|
e = n._start;
|
|
48586
48589
|
else
|
|
48587
48590
|
for (; e !== null; ) {
|
|
@@ -48602,7 +48605,7 @@ class Yu {
|
|
|
48602
48605
|
), done: !1 });
|
|
48603
48606
|
}
|
|
48604
48607
|
}
|
|
48605
|
-
class
|
|
48608
|
+
class Yr extends St {
|
|
48606
48609
|
constructor() {
|
|
48607
48610
|
super(), this._prelimContent = [];
|
|
48608
48611
|
}
|
|
@@ -48631,7 +48634,7 @@ class Jr extends St {
|
|
|
48631
48634
|
), this._prelimContent = null;
|
|
48632
48635
|
}
|
|
48633
48636
|
_copy() {
|
|
48634
|
-
return new
|
|
48637
|
+
return new Yr();
|
|
48635
48638
|
}
|
|
48636
48639
|
/**
|
|
48637
48640
|
* Makes a copy of this data type that can be included somewhere else.
|
|
@@ -48641,7 +48644,7 @@ class Jr extends St {
|
|
|
48641
48644
|
* @return {YXmlFragment}
|
|
48642
48645
|
*/
|
|
48643
48646
|
clone() {
|
|
48644
|
-
const e = new
|
|
48647
|
+
const e = new Yr();
|
|
48645
48648
|
return e.insert(0, this.toArray().map((n) => n instanceof St ? n.clone() : n)), e;
|
|
48646
48649
|
}
|
|
48647
48650
|
get length() {
|
|
@@ -48699,7 +48702,7 @@ class Jr extends St {
|
|
|
48699
48702
|
* @public
|
|
48700
48703
|
*/
|
|
48701
48704
|
querySelectorAll(e) {
|
|
48702
|
-
return e = e.toUpperCase(),
|
|
48705
|
+
return e = e.toUpperCase(), Jr(new Yu(this, (n) => n.nodeName && n.nodeName.toUpperCase() === e));
|
|
48703
48706
|
}
|
|
48704
48707
|
/**
|
|
48705
48708
|
* Creates YXmlEvent and calls observers.
|
|
@@ -48861,8 +48864,8 @@ class Jr extends St {
|
|
|
48861
48864
|
e.writeTypeRef(aq);
|
|
48862
48865
|
}
|
|
48863
48866
|
}
|
|
48864
|
-
const jW = (t) => new
|
|
48865
|
-
class Ft extends
|
|
48867
|
+
const jW = (t) => new Yr();
|
|
48868
|
+
class Ft extends Yr {
|
|
48866
48869
|
constructor(e = "UNDEFINED") {
|
|
48867
48870
|
super(), this.nodeName = e, this._prelimAttrs = /* @__PURE__ */ new Map();
|
|
48868
48871
|
}
|
|
@@ -49456,7 +49459,7 @@ class Sa {
|
|
|
49456
49459
|
return 1;
|
|
49457
49460
|
}
|
|
49458
49461
|
}
|
|
49459
|
-
const GW = (t) => new Sa(t.readLen()), Ck = (t, e) => new
|
|
49462
|
+
const GW = (t) => new Sa(t.readLen()), Ck = (t, e) => new ns({ guid: t, ...e, shouldLoad: e.shouldLoad || e.autoLoad || !1 });
|
|
49460
49463
|
class Ya {
|
|
49461
49464
|
/**
|
|
49462
49465
|
* @param {Doc} doc
|
|
@@ -49537,7 +49540,7 @@ class Ya {
|
|
|
49537
49540
|
}
|
|
49538
49541
|
}
|
|
49539
49542
|
const JW = (t) => new Ya(Ck(t.readString(), t.readAny()));
|
|
49540
|
-
class
|
|
49543
|
+
class is {
|
|
49541
49544
|
/**
|
|
49542
49545
|
* @param {Object} embed
|
|
49543
49546
|
*/
|
|
@@ -49566,7 +49569,7 @@ class ns {
|
|
|
49566
49569
|
* @return {ContentEmbed}
|
|
49567
49570
|
*/
|
|
49568
49571
|
copy() {
|
|
49569
|
-
return new
|
|
49572
|
+
return new is(this.embed);
|
|
49570
49573
|
}
|
|
49571
49574
|
/**
|
|
49572
49575
|
* @param {number} offset
|
|
@@ -49612,7 +49615,7 @@ class ns {
|
|
|
49612
49615
|
return 5;
|
|
49613
49616
|
}
|
|
49614
49617
|
}
|
|
49615
|
-
const YW = (t) => new
|
|
49618
|
+
const YW = (t) => new is(t.readJSON());
|
|
49616
49619
|
class bt {
|
|
49617
49620
|
/**
|
|
49618
49621
|
* @param {string} key
|
|
@@ -49784,7 +49787,7 @@ const XW = (t) => {
|
|
|
49784
49787
|
}
|
|
49785
49788
|
return new vf(n);
|
|
49786
49789
|
}, QW = uf("node_env") === "development";
|
|
49787
|
-
class
|
|
49790
|
+
class Zr {
|
|
49788
49791
|
/**
|
|
49789
49792
|
* @param {Array<any>} arr
|
|
49790
49793
|
*/
|
|
@@ -49813,14 +49816,14 @@ class Yr {
|
|
|
49813
49816
|
* @return {ContentAny}
|
|
49814
49817
|
*/
|
|
49815
49818
|
copy() {
|
|
49816
|
-
return new
|
|
49819
|
+
return new Zr(this.arr);
|
|
49817
49820
|
}
|
|
49818
49821
|
/**
|
|
49819
49822
|
* @param {number} offset
|
|
49820
49823
|
* @return {ContentAny}
|
|
49821
49824
|
*/
|
|
49822
49825
|
splice(e) {
|
|
49823
|
-
const n = new
|
|
49826
|
+
const n = new Zr(this.arr.slice(e));
|
|
49824
49827
|
return this.arr = this.arr.slice(0, e), n;
|
|
49825
49828
|
}
|
|
49826
49829
|
/**
|
|
@@ -49869,7 +49872,7 @@ const eq = (t) => {
|
|
|
49869
49872
|
const e = t.readLen(), n = [];
|
|
49870
49873
|
for (let i = 0; i < e; i++)
|
|
49871
49874
|
n.push(t.readAny());
|
|
49872
|
-
return new
|
|
49875
|
+
return new Zr(n);
|
|
49873
49876
|
};
|
|
49874
49877
|
class Kn {
|
|
49875
49878
|
/**
|
|
@@ -50053,7 +50056,7 @@ class Gn {
|
|
|
50053
50056
|
const fq = (t) => new Gn(nq[t.readTypeRef()](t)), Eh = (t, e) => {
|
|
50054
50057
|
let n = e, i = 0, r;
|
|
50055
50058
|
do
|
|
50056
|
-
i > 0 && (n = Be(n.client, n.clock + i)), r =
|
|
50059
|
+
i > 0 && (n = Be(n.client, n.clock + i)), r = Ms(t, n), i = n.clock - r.id.clock, n = r.redone;
|
|
50057
50060
|
while (n !== null && r instanceof tt);
|
|
50058
50061
|
return {
|
|
50059
50062
|
item: r,
|
|
@@ -50206,14 +50209,14 @@ let tt = class Th extends h0 {
|
|
|
50206
50209
|
return this.origin.client;
|
|
50207
50210
|
if (this.rightOrigin && this.rightOrigin.client !== this.id.client && this.rightOrigin.clock >= pt(n, this.rightOrigin.client))
|
|
50208
50211
|
return this.rightOrigin.client;
|
|
50209
|
-
if (this.parent && this.parent.constructor ===
|
|
50212
|
+
if (this.parent && this.parent.constructor === Ls && this.id.client !== this.parent.client && this.parent.clock >= pt(n, this.parent.client))
|
|
50210
50213
|
return this.parent.client;
|
|
50211
50214
|
if (this.origin && (this.left = P3(e, n, this.origin), this.origin = this.left.lastId), this.rightOrigin && (this.right = en(e, this.rightOrigin), this.rightOrigin = this.right.id), this.left && this.left.constructor === Sn || this.right && this.right.constructor === Sn)
|
|
50212
50215
|
this.parent = null;
|
|
50213
50216
|
else if (!this.parent)
|
|
50214
50217
|
this.left && this.left.constructor === Th ? (this.parent = this.left.parent, this.parentSub = this.left.parentSub) : this.right && this.right.constructor === Th && (this.parent = this.right.parent, this.parentSub = this.right.parentSub);
|
|
50215
|
-
else if (this.parent.constructor ===
|
|
50216
|
-
const i =
|
|
50218
|
+
else if (this.parent.constructor === Ls) {
|
|
50219
|
+
const i = Ms(n, this.parent);
|
|
50217
50220
|
i.constructor === Sn ? this.parent = null : this.parent = /** @type {ContentType} */
|
|
50218
50221
|
i.content.type;
|
|
50219
50222
|
}
|
|
@@ -50243,8 +50246,8 @@ let tt = class Th extends h0 {
|
|
|
50243
50246
|
i = r, s.clear();
|
|
50244
50247
|
else if (kl(this.rightOrigin, r.rightOrigin))
|
|
50245
50248
|
break;
|
|
50246
|
-
} else if (r.origin !== null && o.has(
|
|
50247
|
-
s.has(
|
|
50249
|
+
} else if (r.origin !== null && o.has(Ms(e.doc.store, r.origin)))
|
|
50250
|
+
s.has(Ms(e.doc.store, r.origin)) || (i = r, s.clear());
|
|
50248
50251
|
else
|
|
50249
50252
|
break;
|
|
50250
50253
|
r = r.right;
|
|
@@ -50366,7 +50369,7 @@ let tt = class Th extends h0 {
|
|
|
50366
50369
|
e.writeParentInfo(!0), e.writeString(d);
|
|
50367
50370
|
} else
|
|
50368
50371
|
e.writeParentInfo(!1), e.writeLeftID(l.id);
|
|
50369
|
-
} else a.constructor === String ? (e.writeParentInfo(!0), e.writeString(a)) : a.constructor ===
|
|
50372
|
+
} else a.constructor === String ? (e.writeParentInfo(!0), e.writeString(a)) : a.constructor === Ls ? (e.writeParentInfo(!1), e.writeLeftID(a)) : dn();
|
|
50370
50373
|
s !== null && e.writeString(s);
|
|
50371
50374
|
}
|
|
50372
50375
|
this.content.write(e, n);
|
|
@@ -50596,7 +50599,7 @@ const Sq = (t) => new Cq().digest(t), Nq = (t) => {
|
|
|
50596
50599
|
e.sv.get(t.id.client) > t.id.clock && !ho(e.ds, t.id), Mq = [{ light: "#ecd44433", dark: "#ecd444" }], Eq = (t, e, n) => {
|
|
50597
50600
|
if (!t.has(n)) {
|
|
50598
50601
|
if (t.size < e.length) {
|
|
50599
|
-
const i =
|
|
50602
|
+
const i = Gr();
|
|
50600
50603
|
t.forEach((r) => i.add(r)), e = e.filter((r) => !i.has(r));
|
|
50601
50604
|
}
|
|
50602
50605
|
t.set(n, mH(e));
|
|
@@ -50827,7 +50830,7 @@ class Aq {
|
|
|
50827
50830
|
_renderSnapshot(e, n, i) {
|
|
50828
50831
|
let r = this.doc, s = this.type;
|
|
50829
50832
|
if (e || (e = Gu(this.doc)), e instanceof Uint8Array || n instanceof Uint8Array)
|
|
50830
|
-
if ((!(e instanceof Uint8Array) || !(n instanceof Uint8Array)) && dn(), r = new
|
|
50833
|
+
if ((!(e instanceof Uint8Array) || !(n instanceof Uint8Array)) && dn(), r = new ns({ gc: !1 }), Sh(r, n), n = Gu(r), Sh(r, e), e = Gu(r), s._item === null) {
|
|
50831
50834
|
const o = Array.from(this.doc.share.keys()).find(
|
|
50832
50835
|
(a) => this.doc.share.get(a) === this.type
|
|
50833
50836
|
);
|
|
@@ -51995,7 +51998,7 @@ const tU = (t) => {
|
|
|
51995
51998
|
)
|
|
51996
51999
|
];
|
|
51997
52000
|
}, iU = ({ items: t }) => t == null ? void 0 : t.map((e, n) => /* @__PURE__ */ b(sr, { children: [
|
|
51998
|
-
e.type === "status" ? /* @__PURE__ */ f(
|
|
52001
|
+
e.type === "status" ? /* @__PURE__ */ f(jr, { text: e.label, variant: e.variant }) : e.type === "dot-tag" ? /* @__PURE__ */ f(Of, { text: e.label, color: e.color }) : e.type === "text" && /* @__PURE__ */ b("div", { className: "flex flex-row gap-2", children: [
|
|
51999
52002
|
/* @__PURE__ */ f("div", { className: "flex w-fit items-center truncate text-f1-foreground-secondary", children: /* @__PURE__ */ f("span", { children: e.label }) }),
|
|
52000
52003
|
/* @__PURE__ */ f("div", { className: "flex items-center truncate font-medium text-f1-foreground", children: /* @__PURE__ */ f("span", { children: e.content }) })
|
|
52001
52004
|
] }),
|
|
@@ -52032,7 +52035,7 @@ const tU = (t) => {
|
|
|
52032
52035
|
moodTrackerLabels: g,
|
|
52033
52036
|
liveCompanionLabels: y,
|
|
52034
52037
|
transcriptLabels: v
|
|
52035
|
-
} = s, w = le(null), x = le(null), k =
|
|
52038
|
+
} = s, w = le(null), x = le(null), k = Qr(), [C] = B(() => (i == null ? void 0 : i.content) || ""), [_, M] = B((i == null ? void 0 : i.title) || "");
|
|
52036
52039
|
ne(() => {
|
|
52037
52040
|
a && a(_);
|
|
52038
52041
|
}, [_, a]);
|
|
@@ -53164,7 +53167,7 @@ const LU = ({
|
|
|
53164
53167
|
height: p = "auto",
|
|
53165
53168
|
plainHtmlMode: m = !1
|
|
53166
53169
|
}, g) {
|
|
53167
|
-
const y =
|
|
53170
|
+
const y = Qr(), v = le(null), w = le(null), x = le(null), [k, C] = B(!1), [_, M] = B(!0), [L, S] = B(!1), [E, D] = B(!1), [O, R] = B(!1), [A, F] = B(!1), [j, W] = B(null), [G, fe] = B(!1), [ae, Q] = B(null), [Ce, Me] = B((a == null ? void 0 : a.files) || []), [Se, Te] = B(
|
|
53168
53171
|
(e == null ? void 0 : e.users) || []
|
|
53169
53172
|
), [ke, V] = B({
|
|
53170
53173
|
html: (a == null ? void 0 : a.content) || "",
|
|
@@ -53713,11 +53716,11 @@ const LU = ({
|
|
|
53713
53716
|
className: "text-f1-foreground-secondary"
|
|
53714
53717
|
}
|
|
53715
53718
|
) }),
|
|
53716
|
-
e.count && /* @__PURE__ */ f("div", { className: "ml-0.5", children: /* @__PURE__ */ f(
|
|
53719
|
+
e.count && /* @__PURE__ */ f("div", { className: "ml-0.5", children: /* @__PURE__ */ f(Xr, { value: e.count }) })
|
|
53717
53720
|
] }),
|
|
53718
53721
|
/* @__PURE__ */ b("div", { className: "flex flex-row items-center gap-3", children: [
|
|
53719
53722
|
s && /* @__PURE__ */ f(Hv, { text: s, level: "critical" }),
|
|
53720
|
-
o && /* @__PURE__ */ f(
|
|
53723
|
+
o && /* @__PURE__ */ f(jr, { text: o.text, variant: o.variant }),
|
|
53721
53724
|
e.link && /* @__PURE__ */ f(
|
|
53722
53725
|
Ox,
|
|
53723
53726
|
{
|
|
@@ -53813,12 +53816,12 @@ const LU = ({
|
|
|
53813
53816
|
}
|
|
53814
53817
|
);
|
|
53815
53818
|
}
|
|
53816
|
-
),
|
|
53819
|
+
), Ts = gt(qU, KU), In = Object.assign(
|
|
53817
53820
|
H(function({ chart: e, summaries: n, ...i }, r) {
|
|
53818
|
-
return /* @__PURE__ */ f(
|
|
53821
|
+
return /* @__PURE__ */ f(Ts, { ref: r, ...i, summaries: n, children: e && /* @__PURE__ */ f("div", { className: "min-h-52 min-w-52 grow pt-2", children: e }) });
|
|
53819
53822
|
}),
|
|
53820
53823
|
{
|
|
53821
|
-
Skeleton:
|
|
53824
|
+
Skeleton: Ts.Skeleton
|
|
53822
53825
|
}
|
|
53823
53826
|
), GU = gt(
|
|
53824
53827
|
H(function({ canBeBlurred: e, ...n }, i) {
|
|
@@ -55005,7 +55008,7 @@ function Ph({
|
|
|
55005
55008
|
/* @__PURE__ */ b("div", { className: "flex flex-row items-center gap-2", children: [
|
|
55006
55009
|
n && /* @__PURE__ */ f(Hv, { ...n }),
|
|
55007
55010
|
i && /* @__PURE__ */ f(rr, { ...i }),
|
|
55008
|
-
!!r && /* @__PURE__ */ f(
|
|
55011
|
+
!!r && /* @__PURE__ */ f(Xr, { value: r })
|
|
55009
55012
|
] })
|
|
55010
55013
|
] });
|
|
55011
55014
|
}
|
|
@@ -55277,14 +55280,14 @@ const QK = { sm: 340, md: 480, lg: 640 }, rv = H(
|
|
|
55277
55280
|
c
|
|
55278
55281
|
)) }, s) }) }) });
|
|
55279
55282
|
}
|
|
55280
|
-
), eG = ["sm", "lg", "md", "md", "lg", "sm", "lg", "lg", "sm", "sm", "md", "md"], xJ = gt(rv, () => /* @__PURE__ */ f(Wv, { children: /* @__PURE__ */ f(rv, { children: eG.map((t, e) => /* @__PURE__ */ f(
|
|
55283
|
+
), eG = ["sm", "lg", "md", "md", "lg", "sm", "lg", "lg", "sm", "sm", "md", "md"], xJ = gt(rv, () => /* @__PURE__ */ f(Wv, { children: /* @__PURE__ */ f(rv, { children: eG.map((t, e) => /* @__PURE__ */ f(Ts.Skeleton, { height: t }, e)) }) })), sv = ({ children: t }) => /* @__PURE__ */ f("div", { className: "flex min-h-40 flex-row items-stretch gap-4 text-f1-foreground @container [&>div]:min-w-[calc(100vw-64px)] @2xl:[&>div]:min-w-[calc(50vw-48px)]", children: t }), _J = gt(
|
|
55281
55284
|
H(function({ children: e }, n) {
|
|
55282
55285
|
return /* @__PURE__ */ f(Mi, { ref: n, showBar: !1, children: /* @__PURE__ */ f(sv, { children: e }) });
|
|
55283
55286
|
}),
|
|
55284
55287
|
() => /* @__PURE__ */ f(Wv, { orientation: "horizontal", children: /* @__PURE__ */ b(sv, { children: [
|
|
55285
|
-
/* @__PURE__ */ f(
|
|
55286
|
-
/* @__PURE__ */ f(
|
|
55287
|
-
/* @__PURE__ */ f(
|
|
55288
|
+
/* @__PURE__ */ f(Ts.Skeleton, {}),
|
|
55289
|
+
/* @__PURE__ */ f(Ts.Skeleton, {}),
|
|
55290
|
+
/* @__PURE__ */ f(Ts.Skeleton, {})
|
|
55288
55291
|
] }) })
|
|
55289
55292
|
);
|
|
55290
55293
|
function CJ({
|
|
@@ -55353,7 +55356,7 @@ export {
|
|
|
55353
55356
|
EG as CommunityPost,
|
|
55354
55357
|
OE as CommunityPostSkeleton,
|
|
55355
55358
|
lO as CompanySelector,
|
|
55356
|
-
|
|
55359
|
+
Xr as Counter,
|
|
55357
55360
|
xJ as Dashboard,
|
|
55358
55361
|
KT as DaytimePage,
|
|
55359
55362
|
WE as DetailsItem,
|
|
@@ -55423,7 +55426,7 @@ export {
|
|
|
55423
55426
|
wJ as TwoColumnsList,
|
|
55424
55427
|
dJ as VerticalBarChartWidget,
|
|
55425
55428
|
$E as Weekdays,
|
|
55426
|
-
|
|
55429
|
+
Ts as Widget,
|
|
55427
55430
|
yJ as WidgetAvatarsListItem,
|
|
55428
55431
|
CJ as WidgetEmptyState,
|
|
55429
55432
|
mJ as WidgetHighlightButton,
|
|
@@ -55440,7 +55443,7 @@ export {
|
|
|
55440
55443
|
EJ as modules,
|
|
55441
55444
|
KG as predefinedPresets,
|
|
55442
55445
|
TJ as rangeSeparator,
|
|
55443
|
-
|
|
55446
|
+
es as useAiChat,
|
|
55444
55447
|
GG as useDataSource,
|
|
55445
55448
|
nM as useForm,
|
|
55446
55449
|
xG as useFormSchema,
|