@iclips/ui 1.3.13 → 1.3.15
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/components/ui/combobox.d.ts.map +1 -1
- package/dist/components/ui/multi-select.d.ts +2 -0
- package/dist/components/ui/multi-select.d.ts.map +1 -1
- package/dist/index.cjs +11 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +673 -648
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as f, jsxs as b, Fragment as Fe } from "react/jsx-runtime";
|
|
2
2
|
import * as Sa from "@radix-ui/react-accordion";
|
|
3
|
-
import { ChevronDownIcon as
|
|
3
|
+
import { ChevronDownIcon as il, Loader2 as Q1, CheckIcon as al, ChevronUpIcon as sw, ChevronsLeft as lw, ChevronLeft as ol, ChevronRight as Rn, ChevronsRight as fw, X as er, Filter as G1, Check as Ia, Clock as bi, CalendarIcon as es, Plus as or, Search as Aa, ArrowUpDown as cw, CircleIcon as nd, ChevronRightIcon as sl, User as ll, Settings as dw, HelpCircle as uw, LogOut as hw, Pin as pw, ChevronDown as no, MoreHorizontal as J1, ArrowRight as K1, ArrowLeft as mw, ChevronsUpDown as q1, XIcon as Z1, SearchIcon as gw, Smile as X1, Trash2 as ts, AlertCircle as ln, Paperclip as Or, Type as bw, Send as ww, Bold as _1, Italic as $1, Underline as e0, List as t0, ListOrdered as n0, Link as r0, Download as ns, Printer as yw, Eye as rs, ChevronUp as vw, Minus as Cw, Euro as Mw, DollarSign as xw, Coins as Lw, Undo as Nw, Redo as kw, Heading1 as Sw, Heading2 as Iw, Heading3 as Aw, Strikethrough as Ew, AlignLeft as Tw, AlignCenter as jw, AlignRight as Dw, Quote as Rw, Image as Ow, PanelLeftOpen as rd, PanelLeftClose as id, Calendar as Ea, Youtube as zw, Twitter as Pw, Facebook as Bw, Linkedin as Fw, Instagram as Vw, GripVertical as Yw, CheckCircle2 as i0, Circle as a0, Edit as tc, MinusIcon as Uw, XCircle as Ww, Flag as Hw, MoreVertical as Qw, CheckSquare as Gw, MessageSquare as o0, Activity as Jw, TrendingUp as Kw, TrendingDown as qw, MoreHorizontalIcon as Zw, ChevronLeftIcon as Xw, EyeOff as _w, GripVerticalIcon as $w, Star as ey, PanelLeftIcon as ty, Github as ny, Link2 as ry, FileText as iy, Pencil as ay, RefreshCw as oy, PlusCircle as sy, Upload as ly } from "lucide-react";
|
|
4
4
|
import { clsx as fy } from "clsx";
|
|
5
5
|
import { twMerge as cy } from "tailwind-merge";
|
|
6
6
|
import * as I from "react";
|
|
@@ -11,7 +11,7 @@ import * as dt from "@radix-ui/react-select";
|
|
|
11
11
|
import * as tr from "@radix-ui/react-popover";
|
|
12
12
|
import * as Qu from "@radix-ui/react-checkbox";
|
|
13
13
|
import * as my from "@radix-ui/react-label";
|
|
14
|
-
import { format as ce, parse as f0, isValid as c0, subDays as Gu, startOfMonth as
|
|
14
|
+
import { format as ce, parse as f0, isValid as c0, subDays as Gu, startOfMonth as is, endOfMonth as ld, subMonths as as, startOfWeek as Ju, endOfWeek as Ku, eachDayOfInterval as d0, isToday as fl, isSameDay as cl, isSameMonth as gy, setHours as by, getHours as u0, getMinutes as h0, addMonths as p0, addDays as Co, addHours as m0, differenceInMinutes as wy, differenceInDays as fa, isWeekend as qu, formatDistanceToNow as yy } from "date-fns";
|
|
15
15
|
import { DayPicker as vy } from "react-day-picker";
|
|
16
16
|
import * as pn from "@radix-ui/react-alert-dialog";
|
|
17
17
|
import * as ca from "@radix-ui/react-scroll-area";
|
|
@@ -34,14 +34,14 @@ import * as Iy from "@radix-ui/react-toggle";
|
|
|
34
34
|
import { Drawer as sr } from "vaul";
|
|
35
35
|
import * as dl from "@radix-ui/react-tabs";
|
|
36
36
|
import { FormProvider as Ay, Controller as Ey, useFormContext as Ty, useFormState as jy } from "react-hook-form";
|
|
37
|
-
import * as
|
|
37
|
+
import * as ss from "@radix-ui/react-hover-card";
|
|
38
38
|
import { OTPInput as Dy, OTPInputContext as Ry } from "input-otp";
|
|
39
39
|
import * as Zu from "@radix-ui/react-progress";
|
|
40
40
|
import * as tt from "@radix-ui/react-menubar";
|
|
41
41
|
import * as Gr from "@radix-ui/react-navigation-menu";
|
|
42
42
|
import * as nc from "@radix-ui/react-radio-group";
|
|
43
43
|
import * as dd from "react-resizable-panels";
|
|
44
|
-
import * as
|
|
44
|
+
import * as Mo from "@radix-ui/react-slider";
|
|
45
45
|
import * as Xu from "@radix-ui/react-switch";
|
|
46
46
|
import { useTheme as Oy } from "next-themes";
|
|
47
47
|
import { Toaster as zy } from "sonner";
|
|
@@ -84,7 +84,7 @@ function D8({
|
|
|
84
84
|
...n,
|
|
85
85
|
children: [
|
|
86
86
|
e,
|
|
87
|
-
/* @__PURE__ */ f(
|
|
87
|
+
/* @__PURE__ */ f(il, { className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200" })
|
|
88
88
|
]
|
|
89
89
|
}
|
|
90
90
|
) });
|
|
@@ -117,7 +117,7 @@ function zr({ className: t, ...e }) {
|
|
|
117
117
|
}
|
|
118
118
|
);
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function Ta({ className: t, ...e }) {
|
|
121
121
|
return /* @__PURE__ */ f(
|
|
122
122
|
"div",
|
|
123
123
|
{
|
|
@@ -130,7 +130,7 @@ function Ea({ className: t, ...e }) {
|
|
|
130
130
|
}
|
|
131
131
|
);
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function ja({ className: t, ...e }) {
|
|
134
134
|
return /* @__PURE__ */ f(
|
|
135
135
|
"h4",
|
|
136
136
|
{
|
|
@@ -270,7 +270,7 @@ const C0 = I.forwardRef(
|
|
|
270
270
|
)
|
|
271
271
|
);
|
|
272
272
|
C0.displayName = "TableHead";
|
|
273
|
-
const
|
|
273
|
+
const Uo = I.forwardRef(
|
|
274
274
|
({ className: t, ...e }, n) => /* @__PURE__ */ f(
|
|
275
275
|
"td",
|
|
276
276
|
{
|
|
@@ -285,7 +285,7 @@ const Yo = I.forwardRef(
|
|
|
285
285
|
}
|
|
286
286
|
)
|
|
287
287
|
);
|
|
288
|
-
|
|
288
|
+
Uo.displayName = "TableCell";
|
|
289
289
|
const Vy = I.forwardRef(
|
|
290
290
|
({ className: t, ...e }, n) => /* @__PURE__ */ f(
|
|
291
291
|
"caption",
|
|
@@ -372,7 +372,7 @@ function An({
|
|
|
372
372
|
...r,
|
|
373
373
|
children: [
|
|
374
374
|
n,
|
|
375
|
-
/* @__PURE__ */ f(dt.Icon, { asChild: !0, children: /* @__PURE__ */ f(
|
|
375
|
+
/* @__PURE__ */ f(dt.Icon, { asChild: !0, children: /* @__PURE__ */ f(il, { className: "size-4 opacity-50" }) })
|
|
376
376
|
]
|
|
377
377
|
}
|
|
378
378
|
);
|
|
@@ -439,7 +439,7 @@ function qt({
|
|
|
439
439
|
),
|
|
440
440
|
...n,
|
|
441
441
|
children: [
|
|
442
|
-
/* @__PURE__ */ f("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ f(dt.ItemIndicator, { children: /* @__PURE__ */ f(
|
|
442
|
+
/* @__PURE__ */ f("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ f(dt.ItemIndicator, { children: /* @__PURE__ */ f(al, { className: "size-4" }) }) }),
|
|
443
443
|
/* @__PURE__ */ f(dt.ItemText, { children: e })
|
|
444
444
|
]
|
|
445
445
|
}
|
|
@@ -488,7 +488,7 @@ function Uy({
|
|
|
488
488
|
t
|
|
489
489
|
),
|
|
490
490
|
...e,
|
|
491
|
-
children: /* @__PURE__ */ f(
|
|
491
|
+
children: /* @__PURE__ */ f(il, { className: "size-4" })
|
|
492
492
|
}
|
|
493
493
|
);
|
|
494
494
|
}
|
|
@@ -600,7 +600,7 @@ function M0({
|
|
|
600
600
|
onClick: () => i(t - 1),
|
|
601
601
|
disabled: !M,
|
|
602
602
|
"aria-label": m.previous,
|
|
603
|
-
children: /* @__PURE__ */ f(
|
|
603
|
+
children: /* @__PURE__ */ f(ol, { className: "h-4 w-4" })
|
|
604
604
|
}
|
|
605
605
|
),
|
|
606
606
|
c && /* @__PURE__ */ f("div", { className: "hidden sm:flex items-center gap-1", children: g.map(
|
|
@@ -1039,7 +1039,7 @@ function ev({
|
|
|
1039
1039
|
{
|
|
1040
1040
|
"data-slot": "checkbox-indicator",
|
|
1041
1041
|
className: "flex items-center justify-center text-current transition-none",
|
|
1042
|
-
children: /* @__PURE__ */ f(
|
|
1042
|
+
children: /* @__PURE__ */ f(Ia, { className: "size-3.5" })
|
|
1043
1043
|
}
|
|
1044
1044
|
)
|
|
1045
1045
|
}
|
|
@@ -1540,7 +1540,7 @@ function ud({
|
|
|
1540
1540
|
...e
|
|
1541
1541
|
},
|
|
1542
1542
|
components: {
|
|
1543
|
-
Chevron: ({ orientation: a, ...o }) => a === "left" ? /* @__PURE__ */ f(
|
|
1543
|
+
Chevron: ({ orientation: a, ...o }) => a === "left" ? /* @__PURE__ */ f(ol, { className: "h-4 w-4", ...o }) : /* @__PURE__ */ f(Rn, { className: "h-4 w-4", ...o })
|
|
1544
1544
|
},
|
|
1545
1545
|
...i
|
|
1546
1546
|
}
|
|
@@ -1573,7 +1573,7 @@ const $u = (t) => {
|
|
|
1573
1573
|
}
|
|
1574
1574
|
return !0;
|
|
1575
1575
|
};
|
|
1576
|
-
function
|
|
1576
|
+
function ls({
|
|
1577
1577
|
value: t,
|
|
1578
1578
|
onChange: e,
|
|
1579
1579
|
format: n = "24h",
|
|
@@ -1729,7 +1729,7 @@ function ss({
|
|
|
1729
1729
|
}
|
|
1730
1730
|
return null;
|
|
1731
1731
|
}
|
|
1732
|
-
|
|
1732
|
+
ls.displayName = "TimePicker";
|
|
1733
1733
|
function x0({
|
|
1734
1734
|
value: t,
|
|
1735
1735
|
onChange: e,
|
|
@@ -1767,33 +1767,33 @@ function x0({
|
|
|
1767
1767
|
}, [t, N, s]);
|
|
1768
1768
|
const A = I.useMemo(() => {
|
|
1769
1769
|
if (!t) return h;
|
|
1770
|
-
const E = t.getHours().toString().padStart(2, "0"),
|
|
1771
|
-
return `${E}:${
|
|
1770
|
+
const E = t.getHours().toString().padStart(2, "0"), Y = t.getMinutes().toString().padStart(2, "0");
|
|
1771
|
+
return `${E}:${Y}`;
|
|
1772
1772
|
}, [t, h]), j = (E) => {
|
|
1773
1773
|
if (!E) {
|
|
1774
1774
|
e == null || e(void 0);
|
|
1775
1775
|
return;
|
|
1776
1776
|
}
|
|
1777
1777
|
if (d) {
|
|
1778
|
-
const [
|
|
1779
|
-
E.setHours(
|
|
1778
|
+
const [Y, _] = A.split(":").map(Number);
|
|
1779
|
+
E.setHours(Y, _, 0, 0);
|
|
1780
1780
|
} else
|
|
1781
1781
|
E.setHours(0, 0, 0, 0);
|
|
1782
1782
|
e == null || e(E), d || v(!1);
|
|
1783
1783
|
}, S = (E) => {
|
|
1784
1784
|
if (t) {
|
|
1785
|
-
const
|
|
1786
|
-
|
|
1785
|
+
const Y = new Date(t), [_, Q] = E.split(":").map(Number);
|
|
1786
|
+
Y.setHours(_, Q, 0, 0), e == null || e(Y);
|
|
1787
1787
|
} else {
|
|
1788
|
-
const
|
|
1789
|
-
|
|
1788
|
+
const Y = /* @__PURE__ */ new Date(), [_, Q] = E.split(":").map(Number);
|
|
1789
|
+
Y.setHours(_, Q, 0, 0), e == null || e(Y);
|
|
1790
1790
|
}
|
|
1791
1791
|
}, R = (E) => {
|
|
1792
|
-
const
|
|
1793
|
-
if (!
|
|
1792
|
+
const Y = E.trim();
|
|
1793
|
+
if (!Y) return null;
|
|
1794
1794
|
for (const _ of k)
|
|
1795
1795
|
try {
|
|
1796
|
-
const Q = f0(
|
|
1796
|
+
const Q = f0(Y, _, /* @__PURE__ */ new Date());
|
|
1797
1797
|
if (c0(Q)) {
|
|
1798
1798
|
if (i && Q < i || a && Q > a) continue;
|
|
1799
1799
|
return Q;
|
|
@@ -1802,9 +1802,9 @@ function x0({
|
|
|
1802
1802
|
continue;
|
|
1803
1803
|
}
|
|
1804
1804
|
return null;
|
|
1805
|
-
},
|
|
1806
|
-
const
|
|
1807
|
-
x(
|
|
1805
|
+
}, U = (E) => {
|
|
1806
|
+
const Y = E.target.value;
|
|
1807
|
+
x(Y), L(!1);
|
|
1808
1808
|
}, V = () => {
|
|
1809
1809
|
if (!M.trim()) {
|
|
1810
1810
|
e == null || e(void 0), L(!1);
|
|
@@ -1825,7 +1825,7 @@ function x0({
|
|
|
1825
1825
|
id: m,
|
|
1826
1826
|
name: g,
|
|
1827
1827
|
value: M,
|
|
1828
|
-
onChange:
|
|
1828
|
+
onChange: U,
|
|
1829
1829
|
onBlur: V,
|
|
1830
1830
|
onKeyDown: B,
|
|
1831
1831
|
placeholder: n,
|
|
@@ -1865,7 +1865,7 @@ function x0({
|
|
|
1865
1865
|
onClick: () => v(!0),
|
|
1866
1866
|
tabIndex: -1,
|
|
1867
1867
|
children: [
|
|
1868
|
-
/* @__PURE__ */ f(
|
|
1868
|
+
/* @__PURE__ */ f(es, { className: "h-4 w-4 text-muted-foreground" }),
|
|
1869
1869
|
/* @__PURE__ */ f("span", { className: "sr-only", children: "Abrir calendário" })
|
|
1870
1870
|
]
|
|
1871
1871
|
}
|
|
@@ -1886,7 +1886,7 @@ function x0({
|
|
|
1886
1886
|
}
|
|
1887
1887
|
),
|
|
1888
1888
|
d && /* @__PURE__ */ f("div", { className: "border-t p-3", children: /* @__PURE__ */ f(
|
|
1889
|
-
|
|
1889
|
+
ls,
|
|
1890
1890
|
{
|
|
1891
1891
|
value: A,
|
|
1892
1892
|
onChange: S,
|
|
@@ -2073,7 +2073,7 @@ function zv({
|
|
|
2073
2073
|
/* @__PURE__ */ f(Xe, { className: "w-[240px] p-3", align: "start", children: /* @__PURE__ */ b("div", { className: "space-y-2", children: [
|
|
2074
2074
|
/* @__PURE__ */ f(Je, { className: "text-xs text-muted-foreground", children: s ? "Selecionar valores" : "Selecionar valor" }),
|
|
2075
2075
|
/* @__PURE__ */ b("div", { className: "relative", children: [
|
|
2076
|
-
/* @__PURE__ */ f(
|
|
2076
|
+
/* @__PURE__ */ f(Aa, { className: "absolute left-2 top-2.5 h-4 w-4 text-muted-foreground" }),
|
|
2077
2077
|
/* @__PURE__ */ f(
|
|
2078
2078
|
Lt,
|
|
2079
2079
|
{
|
|
@@ -2251,7 +2251,7 @@ function Pv({
|
|
|
2251
2251
|
totalItems: u == null ? void 0 : u.totalItems,
|
|
2252
2252
|
serverCurrentPage: u == null ? void 0 : u.currentPage,
|
|
2253
2253
|
serverCurrentPageSize: u == null ? void 0 : u.currentPageSize
|
|
2254
|
-
}), [L, N] = oe(""), [k, A] = oe(!1), [j, S] = oe(s), R = r ? r[0] : ((ie = e.find((T) => T.key === "nome" || T.key === "name" || T.key === "title" || T.key === "titulo")) == null ? void 0 : ie.key) || ((ne = e[0]) == null ? void 0 : ne.key),
|
|
2254
|
+
}), [L, N] = oe(""), [k, A] = oe(!1), [j, S] = oe(s), R = r ? r[0] : ((ie = e.find((T) => T.key === "nome" || T.key === "name" || T.key === "title" || T.key === "titulo")) == null ? void 0 : ie.key) || ((ne = e[0]) == null ? void 0 : ne.key), U = (T) => {
|
|
2255
2255
|
switch (T) {
|
|
2256
2256
|
case "is":
|
|
2257
2257
|
return "equals";
|
|
@@ -2279,13 +2279,13 @@ function Pv({
|
|
|
2279
2279
|
}
|
|
2280
2280
|
}, V = ke(async (T) => {
|
|
2281
2281
|
w && (u != null && u.onFilterChange) ? await u.onFilterChange(T, L) : (x.clearFilters(), L && x.setFilter(R, L, "contains"), T.forEach((G) => {
|
|
2282
|
-
const te =
|
|
2282
|
+
const te = U(G.operator);
|
|
2283
2283
|
x.setFilter(G.field, G.value, te);
|
|
2284
2284
|
}));
|
|
2285
2285
|
}, [w, u, L, x, R]);
|
|
2286
2286
|
ye(() => {
|
|
2287
2287
|
s && (S(s), s.length > 0 && (w && (u != null && u.onFilterChange) ? u.onFilterChange(s, L) : (x.clearFilters(), L && x.setFilter(R, L, "contains"), s.forEach((T) => {
|
|
2288
|
-
const G =
|
|
2288
|
+
const G = U(T.operator);
|
|
2289
2289
|
x.setFilter(T.field, T.value, G);
|
|
2290
2290
|
}))));
|
|
2291
2291
|
}, [JSON.stringify(s)]);
|
|
@@ -2317,7 +2317,7 @@ function Pv({
|
|
|
2317
2317
|
is_empty: "está vazio",
|
|
2318
2318
|
is_not_empty: "não está vazio",
|
|
2319
2319
|
entre: "entre"
|
|
2320
|
-
})[T] || T,
|
|
2320
|
+
})[T] || T, Y = j.map((T) => {
|
|
2321
2321
|
var mn, pr;
|
|
2322
2322
|
const G = a.find((lt) => lt.value === T.field), te = E(T.operator);
|
|
2323
2323
|
let ve;
|
|
@@ -2358,7 +2358,7 @@ function Pv({
|
|
|
2358
2358
|
return typeof h == "string" || m ? /* @__PURE__ */ f("div", { className: "text-sm text-muted-foreground", children: T || G ? "Nenhum resultado encontrado para os filtros aplicados." : typeof h == "string" ? h : m || "Nenhum dado disponível." }) : h && typeof h == "object" ? T || G ? /* @__PURE__ */ f(
|
|
2359
2359
|
_u,
|
|
2360
2360
|
{
|
|
2361
|
-
icon:
|
|
2361
|
+
icon: Aa,
|
|
2362
2362
|
title: "Nenhum resultado encontrado",
|
|
2363
2363
|
description: "Tente ajustar os filtros ou termos de busca para encontrar o que procura.",
|
|
2364
2364
|
variant: "no-results",
|
|
@@ -2387,7 +2387,7 @@ function Pv({
|
|
|
2387
2387
|
X && /* @__PURE__ */ b("div", { className: "flex items-center justify-between gap-2", children: [
|
|
2388
2388
|
/* @__PURE__ */ b("div", { className: "flex items-center gap-2 flex-1", children: [
|
|
2389
2389
|
i && /* @__PURE__ */ b("div", { className: "relative max-w-sm flex-1", children: [
|
|
2390
|
-
/* @__PURE__ */ f(
|
|
2390
|
+
/* @__PURE__ */ f(Aa, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground pointer-events-none" }),
|
|
2391
2391
|
/* @__PURE__ */ f(
|
|
2392
2392
|
Lt,
|
|
2393
2393
|
{
|
|
@@ -2447,7 +2447,7 @@ function Pv({
|
|
|
2447
2447
|
j.length > 0 && /* @__PURE__ */ f(
|
|
2448
2448
|
_y,
|
|
2449
2449
|
{
|
|
2450
|
-
activeFilters:
|
|
2450
|
+
activeFilters: Y,
|
|
2451
2451
|
onClearAll: Q
|
|
2452
2452
|
}
|
|
2453
2453
|
),
|
|
@@ -2472,11 +2472,11 @@ function Pv({
|
|
|
2472
2472
|
)) }) }),
|
|
2473
2473
|
/* @__PURE__ */ f(v0, { children: p ? (
|
|
2474
2474
|
// SKELETON ROWS - limitar a max 15 para performance
|
|
2475
|
-
Array.from({ length: Math.min(M.pagination.pageSize, 15) }).map((T, G) => /* @__PURE__ */ f(na, { children: e.map((te, ve) => /* @__PURE__ */ f(
|
|
2475
|
+
Array.from({ length: Math.min(M.pagination.pageSize, 15) }).map((T, G) => /* @__PURE__ */ f(na, { children: e.map((te, ve) => /* @__PURE__ */ f(Uo, { className: te.className, children: /* @__PURE__ */ f(Mr, { className: "h-4 w-full" }) }, ve)) }, `skeleton-${G}`))
|
|
2476
2476
|
) : v.length > 0 ? (
|
|
2477
2477
|
// DADOS NORMAIS
|
|
2478
2478
|
v.map((T, G) => /* @__PURE__ */ f(na, { children: e.map((te) => /* @__PURE__ */ f(
|
|
2479
|
-
|
|
2479
|
+
Uo,
|
|
2480
2480
|
{
|
|
2481
2481
|
className: C(
|
|
2482
2482
|
te.className,
|
|
@@ -2491,7 +2491,7 @@ function Pv({
|
|
|
2491
2491
|
) : (
|
|
2492
2492
|
// EMPTY STATE
|
|
2493
2493
|
/* @__PURE__ */ f(na, { children: /* @__PURE__ */ f(
|
|
2494
|
-
|
|
2494
|
+
Uo,
|
|
2495
2495
|
{
|
|
2496
2496
|
colSpan: e.length,
|
|
2497
2497
|
className: "h-64",
|
|
@@ -2984,7 +2984,7 @@ function _8({
|
|
|
2984
2984
|
checked: n,
|
|
2985
2985
|
...r,
|
|
2986
2986
|
children: [
|
|
2987
|
-
/* @__PURE__ */ f("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ f($e.ItemIndicator, { children: /* @__PURE__ */ f(
|
|
2987
|
+
/* @__PURE__ */ f("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ f($e.ItemIndicator, { children: /* @__PURE__ */ f(al, { className: "size-4" }) }) }),
|
|
2988
2988
|
e
|
|
2989
2989
|
]
|
|
2990
2990
|
}
|
|
@@ -3317,7 +3317,7 @@ function a7({
|
|
|
3317
3317
|
v && /* @__PURE__ */ b(Fe, { children: [
|
|
3318
3318
|
/* @__PURE__ */ f("span", { className: "flex-1 text-left", children: y.label }),
|
|
3319
3319
|
N && /* @__PURE__ */ f(
|
|
3320
|
-
|
|
3320
|
+
no,
|
|
3321
3321
|
{
|
|
3322
3322
|
className: C(
|
|
3323
3323
|
"h-4 w-4 transition-transform",
|
|
@@ -3330,14 +3330,14 @@ function a7({
|
|
|
3330
3330
|
}
|
|
3331
3331
|
),
|
|
3332
3332
|
N && k && v && /* @__PURE__ */ f("div", { className: "ml-4 mt-1 space-y-1 border-l pl-2", children: y.children.map((S) => {
|
|
3333
|
-
const R = S.icon,
|
|
3333
|
+
const R = S.icon, U = e === S.id;
|
|
3334
3334
|
return /* @__PURE__ */ b(
|
|
3335
3335
|
"button",
|
|
3336
3336
|
{
|
|
3337
3337
|
onClick: () => n == null ? void 0 : n(S.id),
|
|
3338
3338
|
className: C(
|
|
3339
3339
|
"flex w-full items-center gap-2 rounded px-3 py-1.5 text-sm transition-colors",
|
|
3340
|
-
|
|
3340
|
+
U ? "bg-accent text-accent-foreground" : "text-muted-foreground hover:bg-accent hover:text-accent-foreground"
|
|
3341
3341
|
),
|
|
3342
3342
|
children: [
|
|
3343
3343
|
R && /* @__PURE__ */ f(R, { className: "h-3.5 w-3.5 shrink-0" }),
|
|
@@ -3471,7 +3471,7 @@ function o7({
|
|
|
3471
3471
|
className: "flex w-full items-center gap-2 px-3 py-1.5 text-xs font-semibold uppercase tracking-wider text-muted-foreground hover:text-foreground transition-colors",
|
|
3472
3472
|
children: [
|
|
3473
3473
|
/* @__PURE__ */ f(
|
|
3474
|
-
|
|
3474
|
+
no,
|
|
3475
3475
|
{
|
|
3476
3476
|
className: C(
|
|
3477
3477
|
"h-3 w-3 transition-transform",
|
|
@@ -4198,8 +4198,8 @@ function v7({
|
|
|
4198
4198
|
}) {
|
|
4199
4199
|
var j;
|
|
4200
4200
|
const [m, g] = I.useState(!1), [w, v] = I.useState(""), M = I.useRef(null), y = h || ((S, R) => {
|
|
4201
|
-
const
|
|
4202
|
-
return S.label.toLowerCase().includes(
|
|
4201
|
+
const U = R.toLowerCase();
|
|
4202
|
+
return S.label.toLowerCase().includes(U) || S.value.toLowerCase().includes(U);
|
|
4203
4203
|
}), L = I.useMemo(() => w ? n.filter((S) => y(S, w)) : n, [n, w, y]), N = n.find((S) => S.value === t), k = (S) => {
|
|
4204
4204
|
g(S), S || v("");
|
|
4205
4205
|
}, A = (S) => {
|
|
@@ -4235,7 +4235,7 @@ function v7({
|
|
|
4235
4235
|
align: u,
|
|
4236
4236
|
children: /* @__PURE__ */ b("div", { className: "flex flex-col overflow-hidden", children: [
|
|
4237
4237
|
/* @__PURE__ */ b("div", { className: "flex items-center border-b px-3", children: [
|
|
4238
|
-
/* @__PURE__ */ f(
|
|
4238
|
+
/* @__PURE__ */ f(Aa, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
|
|
4239
4239
|
/* @__PURE__ */ f(
|
|
4240
4240
|
Lt,
|
|
4241
4241
|
{
|
|
@@ -4252,6 +4252,8 @@ function v7({
|
|
|
4252
4252
|
{
|
|
4253
4253
|
className: "overflow-y-auto overflow-x-hidden overscroll-contain [&::-webkit-scrollbar]:w-2.5 [&::-webkit-scrollbar-track]:bg-transparent [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-primary/30 [&::-webkit-scrollbar-thumb:hover]:bg-primary/50",
|
|
4254
4254
|
style: { maxHeight: d },
|
|
4255
|
+
onWheel: (S) => S.stopPropagation(),
|
|
4256
|
+
onTouchMove: (S) => S.stopPropagation(),
|
|
4255
4257
|
children: /* @__PURE__ */ f("div", { className: "p-1", children: L.length === 0 ? /* @__PURE__ */ f("div", { className: "py-6 text-center text-sm text-muted-foreground", children: a }) : L.map((S) => /* @__PURE__ */ b(
|
|
4256
4258
|
F,
|
|
4257
4259
|
{
|
|
@@ -4264,7 +4266,7 @@ function v7({
|
|
|
4264
4266
|
disabled: S.disabled,
|
|
4265
4267
|
children: [
|
|
4266
4268
|
/* @__PURE__ */ f(
|
|
4267
|
-
|
|
4269
|
+
Ia,
|
|
4268
4270
|
{
|
|
4269
4271
|
className: C(
|
|
4270
4272
|
"mr-2 h-4 w-4",
|
|
@@ -4933,15 +4935,15 @@ class O {
|
|
|
4933
4935
|
*/
|
|
4934
4936
|
findIndex(e) {
|
|
4935
4937
|
if (e == 0)
|
|
4936
|
-
return
|
|
4938
|
+
return xo(0, e);
|
|
4937
4939
|
if (e == this.size)
|
|
4938
|
-
return
|
|
4940
|
+
return xo(this.content.length, e);
|
|
4939
4941
|
if (e > this.size || e < 0)
|
|
4940
4942
|
throw new RangeError(`Position ${e} outside of fragment (${this})`);
|
|
4941
4943
|
for (let n = 0, r = 0; ; n++) {
|
|
4942
4944
|
let i = this.child(n), a = r + i.nodeSize;
|
|
4943
4945
|
if (a >= e)
|
|
4944
|
-
return a == e ?
|
|
4946
|
+
return a == e ? xo(n + 1, a) : xo(n, r);
|
|
4945
4947
|
r = a;
|
|
4946
4948
|
}
|
|
4947
4949
|
}
|
|
@@ -5007,10 +5009,10 @@ class O {
|
|
|
5007
5009
|
}
|
|
5008
5010
|
O.empty = new O([], 0);
|
|
5009
5011
|
const cf = { index: 0, offset: 0 };
|
|
5010
|
-
function
|
|
5012
|
+
function xo(t, e) {
|
|
5011
5013
|
return cf.index = t, cf.offset = e, cf;
|
|
5012
5014
|
}
|
|
5013
|
-
function
|
|
5015
|
+
function fs(t, e) {
|
|
5014
5016
|
if (t === e)
|
|
5015
5017
|
return !0;
|
|
5016
5018
|
if (!(t && typeof t == "object") || !(e && typeof e == "object"))
|
|
@@ -5022,11 +5024,11 @@ function ls(t, e) {
|
|
|
5022
5024
|
if (t.length != e.length)
|
|
5023
5025
|
return !1;
|
|
5024
5026
|
for (let r = 0; r < t.length; r++)
|
|
5025
|
-
if (!
|
|
5027
|
+
if (!fs(t[r], e[r]))
|
|
5026
5028
|
return !1;
|
|
5027
5029
|
} else {
|
|
5028
5030
|
for (let r in t)
|
|
5029
|
-
if (!(r in e) || !
|
|
5031
|
+
if (!(r in e) || !fs(t[r], e[r]))
|
|
5030
5032
|
return !1;
|
|
5031
5033
|
for (let r in e)
|
|
5032
5034
|
if (!(r in t))
|
|
@@ -5088,7 +5090,7 @@ let Ce = class oc {
|
|
|
5088
5090
|
another mark.
|
|
5089
5091
|
*/
|
|
5090
5092
|
eq(e) {
|
|
5091
|
-
return this == e || this.type == e.type &&
|
|
5093
|
+
return this == e || this.type == e.type && fs(this.attrs, e.attrs);
|
|
5092
5094
|
}
|
|
5093
5095
|
/**
|
|
5094
5096
|
Convert this mark to a JSON-serializeable representation.
|
|
@@ -5140,7 +5142,7 @@ let Ce = class oc {
|
|
|
5140
5142
|
}
|
|
5141
5143
|
};
|
|
5142
5144
|
Ce.none = [];
|
|
5143
|
-
class
|
|
5145
|
+
class cs extends Error {
|
|
5144
5146
|
}
|
|
5145
5147
|
class W {
|
|
5146
5148
|
/**
|
|
@@ -5243,9 +5245,9 @@ function j0(t, e, n, r) {
|
|
|
5243
5245
|
}
|
|
5244
5246
|
function l3(t, e, n) {
|
|
5245
5247
|
if (n.openStart > t.depth)
|
|
5246
|
-
throw new
|
|
5248
|
+
throw new cs("Inserted content deeper than insertion position");
|
|
5247
5249
|
if (t.depth - n.openStart != e.depth - n.openEnd)
|
|
5248
|
-
throw new
|
|
5250
|
+
throw new cs("Inconsistent open depths");
|
|
5249
5251
|
return D0(t, e, n, 0);
|
|
5250
5252
|
}
|
|
5251
5253
|
function D0(t, e, n, r) {
|
|
@@ -5261,11 +5263,11 @@ function D0(t, e, n, r) {
|
|
|
5261
5263
|
let { start: o, end: s } = f3(n, t);
|
|
5262
5264
|
return Er(a, O0(t, o, s, e, r));
|
|
5263
5265
|
}
|
|
5264
|
-
else return Er(a,
|
|
5266
|
+
else return Er(a, ds(t, e, r));
|
|
5265
5267
|
}
|
|
5266
5268
|
function R0(t, e) {
|
|
5267
5269
|
if (!e.type.compatibleContent(t.type))
|
|
5268
|
-
throw new
|
|
5270
|
+
throw new cs("Cannot join " + e.type.name + " onto " + t.type.name);
|
|
5269
5271
|
}
|
|
5270
5272
|
function sc(t, e, n) {
|
|
5271
5273
|
let r = t.node(n);
|
|
@@ -5287,13 +5289,13 @@ function Er(t, e) {
|
|
|
5287
5289
|
}
|
|
5288
5290
|
function O0(t, e, n, r, i) {
|
|
5289
5291
|
let a = t.depth > i && sc(t, e, i + 1), o = r.depth > i && sc(n, r, i + 1), s = [];
|
|
5290
|
-
return da(null, t, i, s), a && o && e.index(i) == n.index(i) ? (R0(a, o), Ar(Er(a, O0(t, e, n, r, i + 1)), s)) : (a && Ar(Er(a,
|
|
5292
|
+
return da(null, t, i, s), a && o && e.index(i) == n.index(i) ? (R0(a, o), Ar(Er(a, O0(t, e, n, r, i + 1)), s)) : (a && Ar(Er(a, ds(t, e, i + 1)), s), da(e, n, i, s), o && Ar(Er(o, ds(n, r, i + 1)), s)), da(r, null, i, s), new O(s);
|
|
5291
5293
|
}
|
|
5292
|
-
function
|
|
5294
|
+
function ds(t, e, n) {
|
|
5293
5295
|
let r = [];
|
|
5294
5296
|
if (da(null, t, n, r), t.depth > n) {
|
|
5295
5297
|
let i = sc(t, e, n + 1);
|
|
5296
|
-
Ar(Er(i,
|
|
5298
|
+
Ar(Er(i, ds(t, e, n + 1)), r);
|
|
5297
5299
|
}
|
|
5298
5300
|
return da(e, null, n, r), new O(r);
|
|
5299
5301
|
}
|
|
@@ -5306,7 +5308,7 @@ function f3(t, e) {
|
|
|
5306
5308
|
end: i.resolveNoCache(i.content.size - t.openEnd - n)
|
|
5307
5309
|
};
|
|
5308
5310
|
}
|
|
5309
|
-
class
|
|
5311
|
+
class Da {
|
|
5310
5312
|
/**
|
|
5311
5313
|
@internal
|
|
5312
5314
|
*/
|
|
@@ -5491,7 +5493,7 @@ class ja {
|
|
|
5491
5493
|
return e.blockRange(this);
|
|
5492
5494
|
for (let r = this.depth - (this.parent.inlineContent || this.pos == e.pos ? 1 : 0); r >= 0; r--)
|
|
5493
5495
|
if (e.pos <= this.end(r) && (!n || n(this.node(r))))
|
|
5494
|
-
return new
|
|
5496
|
+
return new us(this, e, r);
|
|
5495
5497
|
return null;
|
|
5496
5498
|
}
|
|
5497
5499
|
/**
|
|
@@ -5534,7 +5536,7 @@ class ja {
|
|
|
5534
5536
|
break;
|
|
5535
5537
|
a = c - 1, i += l + 1;
|
|
5536
5538
|
}
|
|
5537
|
-
return new
|
|
5539
|
+
return new Da(n, r, a);
|
|
5538
5540
|
}
|
|
5539
5541
|
/**
|
|
5540
5542
|
@internal
|
|
@@ -5549,7 +5551,7 @@ class ja {
|
|
|
5549
5551
|
}
|
|
5550
5552
|
else
|
|
5551
5553
|
oh.set(e, r = new c3());
|
|
5552
|
-
let i = r.elts[r.i] =
|
|
5554
|
+
let i = r.elts[r.i] = Da.resolve(e, n);
|
|
5553
5555
|
return r.i = (r.i + 1) % d3, i;
|
|
5554
5556
|
}
|
|
5555
5557
|
}
|
|
@@ -5559,7 +5561,7 @@ class c3 {
|
|
|
5559
5561
|
}
|
|
5560
5562
|
}
|
|
5561
5563
|
const d3 = 12, oh = /* @__PURE__ */ new WeakMap();
|
|
5562
|
-
class
|
|
5564
|
+
class us {
|
|
5563
5565
|
/**
|
|
5564
5566
|
Construct a node range. `$from` and `$to` should point into the
|
|
5565
5567
|
same node until at least the given `depth`, since a node range
|
|
@@ -5718,7 +5720,7 @@ class Yt {
|
|
|
5718
5720
|
attributes, and marks.
|
|
5719
5721
|
*/
|
|
5720
5722
|
hasMarkup(e, n, r) {
|
|
5721
|
-
return this.type == e &&
|
|
5723
|
+
return this.type == e && fs(this.attrs, n || e.defaultAttrs || u3) && Ce.sameSet(this.marks, r || Ce.none);
|
|
5722
5724
|
}
|
|
5723
5725
|
/**
|
|
5724
5726
|
Create a new node with the same markup as this node, containing
|
|
@@ -5804,13 +5806,13 @@ class Yt {
|
|
|
5804
5806
|
[object](https://prosemirror.net/docs/ref/#model.ResolvedPos) with information about its context.
|
|
5805
5807
|
*/
|
|
5806
5808
|
resolve(e) {
|
|
5807
|
-
return
|
|
5809
|
+
return Da.resolveCached(this, e);
|
|
5808
5810
|
}
|
|
5809
5811
|
/**
|
|
5810
5812
|
@internal
|
|
5811
5813
|
*/
|
|
5812
5814
|
resolveNoCache(e) {
|
|
5813
|
-
return
|
|
5815
|
+
return Da.resolve(this, e);
|
|
5814
5816
|
}
|
|
5815
5817
|
/**
|
|
5816
5818
|
Test whether a given mark or mark type occurs in this document
|
|
@@ -5970,7 +5972,7 @@ class Yt {
|
|
|
5970
5972
|
}
|
|
5971
5973
|
}
|
|
5972
5974
|
Yt.prototype.text = void 0;
|
|
5973
|
-
class
|
|
5975
|
+
class hs extends Yt {
|
|
5974
5976
|
/**
|
|
5975
5977
|
@internal
|
|
5976
5978
|
*/
|
|
@@ -5992,10 +5994,10 @@ class us extends Yt {
|
|
|
5992
5994
|
return this.text.length;
|
|
5993
5995
|
}
|
|
5994
5996
|
mark(e) {
|
|
5995
|
-
return e == this.marks ? this : new
|
|
5997
|
+
return e == this.marks ? this : new hs(this.type, this.attrs, this.text, e);
|
|
5996
5998
|
}
|
|
5997
5999
|
withText(e) {
|
|
5998
|
-
return e == this.text ? this : new
|
|
6000
|
+
return e == this.text ? this : new hs(this.type, this.attrs, e, this.marks);
|
|
5999
6001
|
}
|
|
6000
6002
|
cut(e = 0, n = this.text.length) {
|
|
6001
6003
|
return e == 0 && n == this.text.length ? this : this.withText(this.text.slice(e, n));
|
|
@@ -6698,7 +6700,7 @@ class H0 {
|
|
|
6698
6700
|
*/
|
|
6699
6701
|
text(e, n) {
|
|
6700
6702
|
let r = this.nodes.text;
|
|
6701
|
-
return new
|
|
6703
|
+
return new hs(r, r.defaultAttrs, e, Ce.setFrom(n));
|
|
6702
6704
|
}
|
|
6703
6705
|
/**
|
|
6704
6706
|
Create a mark with the given type and attributes.
|
|
@@ -6893,11 +6895,11 @@ const Q0 = {
|
|
|
6893
6895
|
script: !0,
|
|
6894
6896
|
style: !0,
|
|
6895
6897
|
title: !0
|
|
6896
|
-
}, G0 = { ol: !0, ul: !0 },
|
|
6898
|
+
}, G0 = { ol: !0, ul: !0 }, Ra = 1, lc = 2, ua = 4;
|
|
6897
6899
|
function dh(t, e, n) {
|
|
6898
|
-
return e != null ? (e ?
|
|
6900
|
+
return e != null ? (e ? Ra : 0) | (e === "full" ? lc : 0) : t && t.whitespace == "pre" ? Ra | lc : n & ~ua;
|
|
6899
6901
|
}
|
|
6900
|
-
class
|
|
6902
|
+
class Lo {
|
|
6901
6903
|
constructor(e, n, r, i, a, o) {
|
|
6902
6904
|
this.type = e, this.attrs = n, this.marks = r, this.solid = i, this.options = o, this.content = [], this.activeMarks = Ce.none, this.match = a || (o & ua ? null : e.contentMatch);
|
|
6903
6905
|
}
|
|
@@ -6916,7 +6918,7 @@ class xo {
|
|
|
6916
6918
|
return this.match.findWrapping(e.type);
|
|
6917
6919
|
}
|
|
6918
6920
|
finish(e) {
|
|
6919
|
-
if (!(this.options &
|
|
6921
|
+
if (!(this.options & Ra)) {
|
|
6920
6922
|
let r = this.content[this.content.length - 1], i;
|
|
6921
6923
|
if (r && r.isText && (i = /[ \t\r\n\u000c]+$/.exec(r.text))) {
|
|
6922
6924
|
let a = r;
|
|
@@ -6934,7 +6936,7 @@ class uh {
|
|
|
6934
6936
|
constructor(e, n, r) {
|
|
6935
6937
|
this.parser = e, this.options = n, this.isOpen = r, this.open = 0, this.localPreserveWS = !1;
|
|
6936
6938
|
let i = n.topNode, a, o = dh(null, n.preserveWhitespace, 0) | (r ? ua : 0);
|
|
6937
|
-
i ? a = new
|
|
6939
|
+
i ? a = new Lo(i.type, i.attrs, Ce.none, !0, n.topMatch || i.type.contentMatch, o) : r ? a = new Lo(null, null, Ce.none, !0, null, o) : a = new Lo(e.schema.topNodeType, null, Ce.none, !0, null, o), this.nodes = [a], this.find = n.findPositions, this.needsBlock = !1;
|
|
6938
6940
|
}
|
|
6939
6941
|
get top() {
|
|
6940
6942
|
return this.nodes[this.open];
|
|
@@ -6946,7 +6948,7 @@ class uh {
|
|
|
6946
6948
|
e.nodeType == 3 ? this.addTextNode(e, n) : e.nodeType == 1 && this.addElement(e, n);
|
|
6947
6949
|
}
|
|
6948
6950
|
addTextNode(e, n) {
|
|
6949
|
-
let r = e.nodeValue, i = this.top, a = i.options & lc ? "full" : this.localPreserveWS || (i.options &
|
|
6951
|
+
let r = e.nodeValue, i = this.top, a = i.options & lc ? "full" : this.localPreserveWS || (i.options & Ra) > 0, { schema: o } = this.parser;
|
|
6950
6952
|
if (a === "full" || i.inlineContext(e) || /[^ \t\r\n\u000c]/.test(r)) {
|
|
6951
6953
|
if (a)
|
|
6952
6954
|
if (a === "full")
|
|
@@ -7118,7 +7120,7 @@ class uh {
|
|
|
7118
7120
|
let s = dh(e, a, o.options);
|
|
7119
7121
|
o.options & ua && o.content.length == 0 && (s |= ua);
|
|
7120
7122
|
let l = Ce.none;
|
|
7121
|
-
return r = r.filter((c) => (o.type ? o.type.allowsMarkType(c.type) : ph(c.type, e)) ? (l = c.addToSet(l), !1) : !0), this.nodes.push(new
|
|
7123
|
+
return r = r.filter((c) => (o.type ? o.type.allowsMarkType(c.type) : ph(c.type, e)) ? (l = c.addToSet(l), !1) : !0), this.nodes.push(new Lo(e, n, l, i, null, s)), this.open++, r;
|
|
7122
7124
|
}
|
|
7123
7125
|
// Make sure all nodes above this.open are finished and added to
|
|
7124
7126
|
// their parents
|
|
@@ -7137,7 +7139,7 @@ class uh {
|
|
|
7137
7139
|
for (let n = this.open; n >= 0; n--) {
|
|
7138
7140
|
if (this.nodes[n] == e)
|
|
7139
7141
|
return this.open = n, !0;
|
|
7140
|
-
this.localPreserveWS && (this.nodes[n].options |=
|
|
7142
|
+
this.localPreserveWS && (this.nodes[n].options |= Ra);
|
|
7141
7143
|
}
|
|
7142
7144
|
return !1;
|
|
7143
7145
|
}
|
|
@@ -7294,7 +7296,7 @@ class Jr {
|
|
|
7294
7296
|
@internal
|
|
7295
7297
|
*/
|
|
7296
7298
|
serializeNodeInner(e, n) {
|
|
7297
|
-
let { dom: r, contentDOM: i } =
|
|
7299
|
+
let { dom: r, contentDOM: i } = Wo(df(n), this.nodes[e.type.name](e), null, e.attrs);
|
|
7298
7300
|
if (i) {
|
|
7299
7301
|
if (e.isLeaf)
|
|
7300
7302
|
throw new RangeError("Content hole not allowed in a leaf node spec");
|
|
@@ -7322,10 +7324,10 @@ class Jr {
|
|
|
7322
7324
|
*/
|
|
7323
7325
|
serializeMark(e, n, r = {}) {
|
|
7324
7326
|
let i = this.marks[e.type.name];
|
|
7325
|
-
return i &&
|
|
7327
|
+
return i && Wo(df(r), i(e, n), null, e.attrs);
|
|
7326
7328
|
}
|
|
7327
7329
|
static renderSpec(e, n, r = null, i) {
|
|
7328
|
-
return
|
|
7330
|
+
return Wo(e, n, r, i);
|
|
7329
7331
|
}
|
|
7330
7332
|
/**
|
|
7331
7333
|
Build a serializer using the [`toDOM`](https://prosemirror.net/docs/ref/#model.NodeSpec.toDOM)
|
|
@@ -7381,7 +7383,7 @@ function E3(t) {
|
|
|
7381
7383
|
}
|
|
7382
7384
|
return n(t), e;
|
|
7383
7385
|
}
|
|
7384
|
-
function
|
|
7386
|
+
function Wo(t, e, n, r) {
|
|
7385
7387
|
if (typeof e == "string")
|
|
7386
7388
|
return { dom: t.createTextNode(e) };
|
|
7387
7389
|
if (e.nodeType != null)
|
|
@@ -7411,7 +7413,7 @@ function Uo(t, e, n, r) {
|
|
|
7411
7413
|
throw new RangeError("Content hole must be the only child of its parent node");
|
|
7412
7414
|
return { dom: l, contentDOM: l };
|
|
7413
7415
|
} else {
|
|
7414
|
-
let { dom: h, contentDOM: m } =
|
|
7416
|
+
let { dom: h, contentDOM: m } = Wo(t, p, n, r);
|
|
7415
7417
|
if (l.appendChild(h), m) {
|
|
7416
7418
|
if (s)
|
|
7417
7419
|
throw new RangeError("Multiple content holes");
|
|
@@ -7431,7 +7433,7 @@ function bh(t) {
|
|
|
7431
7433
|
function j3(t) {
|
|
7432
7434
|
return (t - (t & J0)) / K0;
|
|
7433
7435
|
}
|
|
7434
|
-
const q0 = 1, Z0 = 2,
|
|
7436
|
+
const q0 = 1, Z0 = 2, Ho = 4, X0 = 8;
|
|
7435
7437
|
class fc {
|
|
7436
7438
|
/**
|
|
7437
7439
|
@internal
|
|
@@ -7451,13 +7453,13 @@ class fc {
|
|
|
7451
7453
|
Tells you whether the token before the mapped position was deleted.
|
|
7452
7454
|
*/
|
|
7453
7455
|
get deletedBefore() {
|
|
7454
|
-
return (this.delInfo & (q0 |
|
|
7456
|
+
return (this.delInfo & (q0 | Ho)) > 0;
|
|
7455
7457
|
}
|
|
7456
7458
|
/**
|
|
7457
7459
|
True when the token after the mapped position was deleted.
|
|
7458
7460
|
*/
|
|
7459
7461
|
get deletedAfter() {
|
|
7460
|
-
return (this.delInfo & (Z0 |
|
|
7462
|
+
return (this.delInfo & (Z0 | Ho)) > 0;
|
|
7461
7463
|
}
|
|
7462
7464
|
/**
|
|
7463
7465
|
Tells whether any of the steps mapped through deletes across the
|
|
@@ -7465,7 +7467,7 @@ class fc {
|
|
|
7465
7467
|
position).
|
|
7466
7468
|
*/
|
|
7467
7469
|
get deletedAcross() {
|
|
7468
|
-
return (this.delInfo &
|
|
7470
|
+
return (this.delInfo & Ho) > 0;
|
|
7469
7471
|
}
|
|
7470
7472
|
}
|
|
7471
7473
|
class Nt {
|
|
@@ -7508,7 +7510,7 @@ class Nt {
|
|
|
7508
7510
|
let p = c ? e == l ? -1 : e == u ? 1 : n : n, h = l + i + (p < 0 ? 0 : d);
|
|
7509
7511
|
if (r)
|
|
7510
7512
|
return h;
|
|
7511
|
-
let m = e == (n < 0 ? l : u) ? null : T3(s / 3, e - l), g = e == l ? Z0 : e == u ? q0 :
|
|
7513
|
+
let m = e == (n < 0 ? l : u) ? null : T3(s / 3, e - l), g = e == l ? Z0 : e == u ? q0 : Ho;
|
|
7512
7514
|
return (n < 0 ? e != l : e != u) && (g |= X0), new fc(h, g, m);
|
|
7513
7515
|
}
|
|
7514
7516
|
i += d - c;
|
|
@@ -7565,7 +7567,7 @@ class Nt {
|
|
|
7565
7567
|
}
|
|
7566
7568
|
}
|
|
7567
7569
|
Nt.empty = new Nt([]);
|
|
7568
|
-
class
|
|
7570
|
+
class Oa {
|
|
7569
7571
|
/**
|
|
7570
7572
|
Create a new mapping with the given position maps.
|
|
7571
7573
|
*/
|
|
@@ -7582,7 +7584,7 @@ class Ra {
|
|
|
7582
7584
|
Create a mapping that maps only through a part of this one.
|
|
7583
7585
|
*/
|
|
7584
7586
|
slice(e = 0, n = this.maps.length) {
|
|
7585
|
-
return new
|
|
7587
|
+
return new Oa(this._maps, this.mirror, e, n);
|
|
7586
7588
|
}
|
|
7587
7589
|
/**
|
|
7588
7590
|
Add a step map to the end of this mapping. If `mirrors` is
|
|
@@ -7633,7 +7635,7 @@ class Ra {
|
|
|
7633
7635
|
Create an inverted version of this mapping.
|
|
7634
7636
|
*/
|
|
7635
7637
|
invert() {
|
|
7636
|
-
let e = new
|
|
7638
|
+
let e = new Oa();
|
|
7637
7639
|
return e.appendMappingInverted(this), e;
|
|
7638
7640
|
}
|
|
7639
7641
|
/**
|
|
@@ -7742,7 +7744,7 @@ class Be {
|
|
|
7742
7744
|
try {
|
|
7743
7745
|
return Be.ok(e.replace(n, r, i));
|
|
7744
7746
|
} catch (a) {
|
|
7745
|
-
if (a instanceof
|
|
7747
|
+
if (a instanceof cs)
|
|
7746
7748
|
return Be.fail(a.message);
|
|
7747
7749
|
throw a;
|
|
7748
7750
|
}
|
|
@@ -8663,7 +8665,7 @@ class vi extends st {
|
|
|
8663
8665
|
}
|
|
8664
8666
|
}
|
|
8665
8667
|
st.jsonID("attr", vi);
|
|
8666
|
-
class
|
|
8668
|
+
class za extends st {
|
|
8667
8669
|
/**
|
|
8668
8670
|
Construct an attribute step.
|
|
8669
8671
|
*/
|
|
@@ -8682,7 +8684,7 @@ class Oa extends st {
|
|
|
8682
8684
|
return Nt.empty;
|
|
8683
8685
|
}
|
|
8684
8686
|
invert(e) {
|
|
8685
|
-
return new
|
|
8687
|
+
return new za(this.attr, e.attrs[this.attr]);
|
|
8686
8688
|
}
|
|
8687
8689
|
map(e) {
|
|
8688
8690
|
return this;
|
|
@@ -8693,10 +8695,10 @@ class Oa extends st {
|
|
|
8693
8695
|
static fromJSON(e, n) {
|
|
8694
8696
|
if (typeof n.attr != "string")
|
|
8695
8697
|
throw new RangeError("Invalid input for DocAttrStep.fromJSON");
|
|
8696
|
-
return new
|
|
8698
|
+
return new za(n.attr, n.value);
|
|
8697
8699
|
}
|
|
8698
8700
|
}
|
|
8699
|
-
st.jsonID("docAttr",
|
|
8701
|
+
st.jsonID("docAttr", za);
|
|
8700
8702
|
let Li = class extends Error {
|
|
8701
8703
|
};
|
|
8702
8704
|
Li = function t(e) {
|
|
@@ -8711,7 +8713,7 @@ class om {
|
|
|
8711
8713
|
Create a transform that starts with the given document.
|
|
8712
8714
|
*/
|
|
8713
8715
|
constructor(e) {
|
|
8714
|
-
this.doc = e, this.steps = [], this.docs = [], this.mapping = new
|
|
8716
|
+
this.doc = e, this.steps = [], this.docs = [], this.mapping = new Oa();
|
|
8715
8717
|
}
|
|
8716
8718
|
/**
|
|
8717
8719
|
The starting document.
|
|
@@ -8885,7 +8887,7 @@ class om {
|
|
|
8885
8887
|
Set a single attribute on the document to a new value.
|
|
8886
8888
|
*/
|
|
8887
8889
|
setDocAttribute(e, n) {
|
|
8888
|
-
return this.step(new
|
|
8890
|
+
return this.step(new za(e, n)), this;
|
|
8889
8891
|
}
|
|
8890
8892
|
/**
|
|
8891
8893
|
Add a mark to the node at position `pos`.
|
|
@@ -9342,7 +9344,7 @@ function Ch(t, e, n) {
|
|
|
9342
9344
|
o == null && (o = d);
|
|
9343
9345
|
}), t.setSelection(se.near(t.doc.resolve(o), n));
|
|
9344
9346
|
}
|
|
9345
|
-
const Mh = 1,
|
|
9347
|
+
const Mh = 1, No = 2, xh = 4;
|
|
9346
9348
|
class tC extends om {
|
|
9347
9349
|
/**
|
|
9348
9350
|
@internal
|
|
@@ -9366,7 +9368,7 @@ class tC extends om {
|
|
|
9366
9368
|
setSelection(e) {
|
|
9367
9369
|
if (e.$from.doc != this.doc)
|
|
9368
9370
|
throw new RangeError("Selection passed to setSelection must point at the current document");
|
|
9369
|
-
return this.curSelection = e, this.curSelectionFor = this.steps.length, this.updated = (this.updated | Mh) & ~
|
|
9371
|
+
return this.curSelection = e, this.curSelectionFor = this.steps.length, this.updated = (this.updated | Mh) & ~No, this.storedMarks = null, this;
|
|
9370
9372
|
}
|
|
9371
9373
|
/**
|
|
9372
9374
|
Whether the selection was explicitly updated by this transaction.
|
|
@@ -9378,7 +9380,7 @@ class tC extends om {
|
|
|
9378
9380
|
Set the current stored marks.
|
|
9379
9381
|
*/
|
|
9380
9382
|
setStoredMarks(e) {
|
|
9381
|
-
return this.storedMarks = e, this.updated |=
|
|
9383
|
+
return this.storedMarks = e, this.updated |= No, this;
|
|
9382
9384
|
}
|
|
9383
9385
|
/**
|
|
9384
9386
|
Make sure the current stored marks or, if that is null, the marks
|
|
@@ -9404,13 +9406,13 @@ class tC extends om {
|
|
|
9404
9406
|
Whether the stored marks were explicitly set for this transaction.
|
|
9405
9407
|
*/
|
|
9406
9408
|
get storedMarksSet() {
|
|
9407
|
-
return (this.updated &
|
|
9409
|
+
return (this.updated & No) > 0;
|
|
9408
9410
|
}
|
|
9409
9411
|
/**
|
|
9410
9412
|
@internal
|
|
9411
9413
|
*/
|
|
9412
9414
|
addStep(e, n) {
|
|
9413
|
-
super.addStep(e, n), this.updated = this.updated & ~
|
|
9415
|
+
super.addStep(e, n), this.updated = this.updated & ~No, this.storedMarks = null;
|
|
9414
9416
|
}
|
|
9415
9417
|
/**
|
|
9416
9418
|
Update the timestamp for the transaction.
|
|
@@ -10132,7 +10134,7 @@ function bC(t, e, n, r = null) {
|
|
|
10132
10134
|
if (e.$from.index(e.depth - 1) == 0)
|
|
10133
10135
|
return !1;
|
|
10134
10136
|
let l = o.resolve(e.start - 2);
|
|
10135
|
-
a = new
|
|
10137
|
+
a = new us(l, l, e.depth), e.endIndex < e.parent.childCount && (e = new us(e.$from, o.resolve(e.$to.end(e.depth)), e.depth)), i = !0;
|
|
10136
10138
|
}
|
|
10137
10139
|
let s = bd(a, n, r, e);
|
|
10138
10140
|
return s ? (t && wC(t, e, s, i, n), !0) : !1;
|
|
@@ -10158,7 +10160,7 @@ function yC(t) {
|
|
|
10158
10160
|
}
|
|
10159
10161
|
function vC(t, e, n, r) {
|
|
10160
10162
|
let i = t.tr, a = r.end, o = r.$to.end(r.depth);
|
|
10161
|
-
a < o && (i.step(new He(a - 1, o, a, o, new W(O.from(n.create(null, r.parent.copy())), 1, 0), 1, !0)), r = new
|
|
10163
|
+
a < o && (i.step(new He(a - 1, o, a, o, new W(O.from(n.create(null, r.parent.copy())), 1, 0), 1, !0)), r = new us(i.doc.resolve(r.$from.pos), i.doc.resolve(o), r.depth));
|
|
10162
10164
|
const s = Bi(r);
|
|
10163
10165
|
if (s == null)
|
|
10164
10166
|
return !1;
|
|
@@ -10220,7 +10222,7 @@ function kh(t, e, n, r, i) {
|
|
|
10220
10222
|
return !0;
|
|
10221
10223
|
if (e == (i < 0 ? 0 : Vt(t))) {
|
|
10222
10224
|
let o = t.parentNode;
|
|
10223
|
-
if (!o || o.nodeType != 1 ||
|
|
10225
|
+
if (!o || o.nodeType != 1 || ro(t) || LC.test(t.nodeName) || t.contentEditable == "false")
|
|
10224
10226
|
return !1;
|
|
10225
10227
|
e = Ke(t) + (i < 0 ? 0 : 1), t = o;
|
|
10226
10228
|
} else if (t.nodeType == 1) {
|
|
@@ -10247,7 +10249,7 @@ function NC(t, e) {
|
|
|
10247
10249
|
if (t.contentEditable == "false")
|
|
10248
10250
|
return null;
|
|
10249
10251
|
t = t.childNodes[e - 1], e = Vt(t);
|
|
10250
|
-
} else if (t.parentNode && !
|
|
10252
|
+
} else if (t.parentNode && !ro(t))
|
|
10251
10253
|
e = Ke(t), t = t.parentNode;
|
|
10252
10254
|
else
|
|
10253
10255
|
return null;
|
|
@@ -10261,7 +10263,7 @@ function kC(t, e) {
|
|
|
10261
10263
|
if (t.contentEditable == "false")
|
|
10262
10264
|
return null;
|
|
10263
10265
|
t = t.childNodes[e], e = 0;
|
|
10264
|
-
} else if (t.parentNode && !
|
|
10266
|
+
} else if (t.parentNode && !ro(t))
|
|
10265
10267
|
e = Ke(t) + 1, t = t.parentNode;
|
|
10266
10268
|
else
|
|
10267
10269
|
return null;
|
|
@@ -10277,7 +10279,7 @@ function SC(t, e, n) {
|
|
|
10277
10279
|
r = r && a == 0, i = i && a == Vt(t);
|
|
10278
10280
|
}
|
|
10279
10281
|
}
|
|
10280
|
-
function
|
|
10282
|
+
function ro(t) {
|
|
10281
10283
|
let e;
|
|
10282
10284
|
for (let n = t; n && !(e = n.pmViewDesc); n = n.parentNode)
|
|
10283
10285
|
;
|
|
@@ -10312,7 +10314,7 @@ function AC(t, e, n) {
|
|
|
10312
10314
|
}
|
|
10313
10315
|
const dn = typeof navigator < "u" ? navigator : null, Sh = typeof document < "u" ? document : null, fr = dn && dn.userAgent || "", uc = /Edge\/(\d+)/.exec(fr), Cm = /MSIE \d/.exec(fr), hc = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(fr), Ct = !!(Cm || hc || uc), Xn = Cm ? document.documentMode : hc ? +hc[1] : uc ? +uc[1] : 0, Ut = !Ct && /gecko\/(\d+)/i.test(fr);
|
|
10314
10316
|
Ut && +(/Firefox\/(\d+)/.exec(fr) || [0, 0])[1];
|
|
10315
|
-
const pc = !Ct && /Chrome\/(\d+)/.exec(fr), _e = !!pc, Mm = pc ? +pc[1] : 0, ot = !Ct && !!dn && /Apple Computer/.test(dn.vendor), Si = ot && (/Mobile\/\w+/.test(fr) || !!dn && dn.maxTouchPoints > 2), Bt = Si || (dn ? /Mac/.test(dn.platform) : !1), xm = dn ? /Win/.test(dn.platform) : !1, Tn = /Android \d/.test(fr),
|
|
10317
|
+
const pc = !Ct && /Chrome\/(\d+)/.exec(fr), _e = !!pc, Mm = pc ? +pc[1] : 0, ot = !Ct && !!dn && /Apple Computer/.test(dn.vendor), Si = ot && (/Mobile\/\w+/.test(fr) || !!dn && dn.maxTouchPoints > 2), Bt = Si || (dn ? /Mac/.test(dn.platform) : !1), xm = dn ? /Win/.test(dn.platform) : !1, Tn = /Android \d/.test(fr), io = !!Sh && "webkitFontSmoothing" in Sh.documentElement.style, EC = io ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
|
|
10316
10318
|
function TC(t) {
|
|
10317
10319
|
let e = t.defaultView && t.defaultView.visualViewport;
|
|
10318
10320
|
return e ? {
|
|
@@ -10509,7 +10511,7 @@ function VC(t, e) {
|
|
|
10509
10511
|
d.nodeName == "IMG" && (u = d.getBoundingClientRect()).right <= e.left && u.bottom > e.top && i++;
|
|
10510
10512
|
}
|
|
10511
10513
|
let c;
|
|
10512
|
-
|
|
10514
|
+
io && i && r.nodeType == 1 && (c = r.childNodes[i - 1]).nodeType == 1 && c.contentEditable == "false" && c.getBoundingClientRect().top >= e.top && i--, r == t.dom && i == r.childNodes.length - 1 && r.lastChild.nodeType == 1 && e.top > r.lastChild.getBoundingClientRect().bottom ? s = t.state.doc.content.size : (i == 0 || r.nodeType != 1 || r.childNodes[i - 1].nodeName != "BR") && (s = FC(t, r, i, e));
|
|
10513
10515
|
}
|
|
10514
10516
|
s == null && (s = BC(t, o, e));
|
|
10515
10517
|
let l = t.docView.nearestDesc(o, !0);
|
|
@@ -10529,7 +10531,7 @@ function Yn(t, e) {
|
|
|
10529
10531
|
}
|
|
10530
10532
|
const YC = /[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;
|
|
10531
10533
|
function Im(t, e, n) {
|
|
10532
|
-
let { node: r, offset: i, atom: a } = t.docView.domFromPos(e, n < 0 ? -1 : 1), o =
|
|
10534
|
+
let { node: r, offset: i, atom: a } = t.docView.domFromPos(e, n < 0 ? -1 : 1), o = io || Ut;
|
|
10533
10535
|
if (r.nodeType == 3)
|
|
10534
10536
|
if (o && (YC.test(r.nodeValue) || (n < 0 ? !i : i == r.nodeValue.length))) {
|
|
10535
10537
|
let l = Yn(Nn(r, i, i), n);
|
|
@@ -10649,7 +10651,7 @@ function QC(t, e, n) {
|
|
|
10649
10651
|
return Eh == e && Th == n ? jh : (Eh = e, Th = n, jh = n == "up" || n == "down" ? UC(t, e, n) : HC(t, e, n));
|
|
10650
10652
|
}
|
|
10651
10653
|
const Wt = 0, Dh = 1, Lr = 2, un = 3;
|
|
10652
|
-
class
|
|
10654
|
+
class ao {
|
|
10653
10655
|
constructor(e, n, r, i) {
|
|
10654
10656
|
this.parent = e, this.children = n, this.dom = r, this.contentDOM = i, this.dirty = Wt, r.pmViewDesc = this;
|
|
10655
10657
|
}
|
|
@@ -10993,7 +10995,7 @@ class io {
|
|
|
10993
10995
|
return !1;
|
|
10994
10996
|
}
|
|
10995
10997
|
}
|
|
10996
|
-
class Em extends
|
|
10998
|
+
class Em extends ao {
|
|
10997
10999
|
constructor(e, n, r, i) {
|
|
10998
11000
|
let a, o = n.type.toDOM;
|
|
10999
11001
|
if (typeof o == "function" && (o = o(r, () => {
|
|
@@ -11036,7 +11038,7 @@ class Em extends io {
|
|
|
11036
11038
|
return this.widget.type.side;
|
|
11037
11039
|
}
|
|
11038
11040
|
}
|
|
11039
|
-
class GC extends
|
|
11041
|
+
class GC extends ao {
|
|
11040
11042
|
constructor(e, n, r, i) {
|
|
11041
11043
|
super(e, [], n, null), this.textDOM = r, this.text = i;
|
|
11042
11044
|
}
|
|
@@ -11053,7 +11055,7 @@ class GC extends io {
|
|
|
11053
11055
|
return e.type === "characterData" && e.target.nodeValue == e.oldValue;
|
|
11054
11056
|
}
|
|
11055
11057
|
}
|
|
11056
|
-
class Vr extends
|
|
11058
|
+
class Vr extends ao {
|
|
11057
11059
|
constructor(e, n, r, i, a) {
|
|
11058
11060
|
super(e, [], r, i), this.mark = n, this.spec = a;
|
|
11059
11061
|
}
|
|
@@ -11089,7 +11091,7 @@ class Vr extends io {
|
|
|
11089
11091
|
this.spec.destroy && this.spec.destroy(), super.destroy();
|
|
11090
11092
|
}
|
|
11091
11093
|
}
|
|
11092
|
-
class _n extends
|
|
11094
|
+
class _n extends ao {
|
|
11093
11095
|
constructor(e, n, r, i, a, o, s, l, c) {
|
|
11094
11096
|
super(e, [], a, o), this.node = n, this.outerDeco = r, this.innerDeco = i, this.nodeDOM = s;
|
|
11095
11097
|
}
|
|
@@ -11140,7 +11142,7 @@ class _n extends io {
|
|
|
11140
11142
|
return e;
|
|
11141
11143
|
}
|
|
11142
11144
|
matchesNode(e, n, r) {
|
|
11143
|
-
return this.dirty == Wt && e.eq(this.node) &&
|
|
11145
|
+
return this.dirty == Wt && e.eq(this.node) && ps(n, this.outerDeco) && r.eq(this.innerDeco);
|
|
11144
11146
|
}
|
|
11145
11147
|
get size() {
|
|
11146
11148
|
return this.node.nodeSize;
|
|
@@ -11198,7 +11200,7 @@ class _n extends io {
|
|
|
11198
11200
|
this.updateOuterDeco(n), this.node = e, this.innerDeco = r, this.contentDOM && this.updateChildren(i, this.posAtStart), this.dirty = Wt;
|
|
11199
11201
|
}
|
|
11200
11202
|
updateOuterDeco(e) {
|
|
11201
|
-
if (
|
|
11203
|
+
if (ps(e, this.outerDeco))
|
|
11202
11204
|
return;
|
|
11203
11205
|
let n = this.nodeDOM.nodeType != 1, r = this.dom;
|
|
11204
11206
|
this.dom = Dm(this.dom, this.nodeDOM, mc(this.outerDeco, this.node, n), mc(e, this.node, n)), this.dom != r && (r.pmViewDesc = void 0, this.dom.pmViewDesc = this), this.outerDeco = e;
|
|
@@ -11263,7 +11265,7 @@ class kl extends _n {
|
|
|
11263
11265
|
return this.node.text == e;
|
|
11264
11266
|
}
|
|
11265
11267
|
}
|
|
11266
|
-
class Tm extends
|
|
11268
|
+
class Tm extends ao {
|
|
11267
11269
|
parseRule() {
|
|
11268
11270
|
return { ignore: !0 };
|
|
11269
11271
|
}
|
|
@@ -11390,7 +11392,7 @@ function KC(t, e, n) {
|
|
|
11390
11392
|
function Rm(t, e, n) {
|
|
11391
11393
|
return Dm(t, t, Nr, mc(e, n, t.nodeType != 1));
|
|
11392
11394
|
}
|
|
11393
|
-
function
|
|
11395
|
+
function ps(t, e) {
|
|
11394
11396
|
if (t.length != e.length)
|
|
11395
11397
|
return !1;
|
|
11396
11398
|
for (let n = 0; n < t.length; n++)
|
|
@@ -11493,7 +11495,7 @@ class qC {
|
|
|
11493
11495
|
let c = this.preMatch.matched.get(l);
|
|
11494
11496
|
if (c != null && c != a)
|
|
11495
11497
|
return !1;
|
|
11496
|
-
let d = l.dom, u, p = this.isLocked(d) && !(e.isText && l.node && l.node.isText && l.nodeDOM.nodeValue == e.text && l.dirty != un &&
|
|
11498
|
+
let d = l.dom, u, p = this.isLocked(d) && !(e.isText && l.node && l.node.isText && l.nodeDOM.nodeValue == e.text && l.dirty != un && ps(n, l.outerDeco));
|
|
11497
11499
|
if (!p && l.update(e, n, r, i))
|
|
11498
11500
|
return this.destroyBetween(this.index, s), l.dom != d && (this.changed = !0), this.index++, !0;
|
|
11499
11501
|
if (!p && (u = this.recreateWrapper(l, e, n, r, i, o)))
|
|
@@ -11506,7 +11508,7 @@ class qC {
|
|
|
11506
11508
|
// When a node with content is replaced by a different node with
|
|
11507
11509
|
// identical content, move over its children.
|
|
11508
11510
|
recreateWrapper(e, n, r, i, a, o) {
|
|
11509
|
-
if (e.dirty || n.isAtom || !e.children.length || !e.node.content.eq(n.content) || !
|
|
11511
|
+
if (e.dirty || n.isAtom || !e.children.length || !e.node.content.eq(n.content) || !ps(r, e.outerDeco) || !i.eq(e.innerDeco))
|
|
11510
11512
|
return null;
|
|
11511
11513
|
let s = _n.create(this.top, n, r, i, a, o);
|
|
11512
11514
|
if (s.contentDOM) {
|
|
@@ -11819,7 +11821,7 @@ function Yh(t, e, n) {
|
|
|
11819
11821
|
if (!a || a.isText)
|
|
11820
11822
|
return !1;
|
|
11821
11823
|
let s = e < 0 ? i.pos - a.nodeSize : i.pos;
|
|
11822
|
-
return a.isAtom || (o = t.docView.descAt(s)) && !o.contentDOM ? Z.isSelectable(a) ? Un(t, new Z(e < 0 ? t.state.doc.resolve(i.pos - a.nodeSize) : i)) :
|
|
11824
|
+
return a.isAtom || (o = t.docView.descAt(s)) && !o.contentDOM ? Z.isSelectable(a) ? Un(t, new Z(e < 0 ? t.state.doc.resolve(i.pos - a.nodeSize) : i)) : io ? Un(t, new ee(t.state.doc.resolve(e < 0 ? s : s + a.nodeSize))) : !1 : !1;
|
|
11823
11825
|
}
|
|
11824
11826
|
} else return !1;
|
|
11825
11827
|
else {
|
|
@@ -11831,7 +11833,7 @@ function Yh(t, e, n) {
|
|
|
11831
11833
|
}
|
|
11832
11834
|
}
|
|
11833
11835
|
}
|
|
11834
|
-
function
|
|
11836
|
+
function ms(t) {
|
|
11835
11837
|
return t.nodeType == 3 ? t.nodeValue.length : t.childNodes.length;
|
|
11836
11838
|
}
|
|
11837
11839
|
function pa(t, e) {
|
|
@@ -11846,7 +11848,7 @@ function iM(t) {
|
|
|
11846
11848
|
if (!n)
|
|
11847
11849
|
return;
|
|
11848
11850
|
let i, a, o = !1;
|
|
11849
|
-
for (Ut && n.nodeType == 1 && r <
|
|
11851
|
+
for (Ut && n.nodeType == 1 && r < ms(n) && pa(n.childNodes[r], -1) && (o = !0); ; )
|
|
11850
11852
|
if (r > 0) {
|
|
11851
11853
|
if (n.nodeType != 1)
|
|
11852
11854
|
break;
|
|
@@ -11867,7 +11869,7 @@ function iM(t) {
|
|
|
11867
11869
|
for (; s && pa(s, -1); )
|
|
11868
11870
|
i = n.parentNode, a = Ke(s), s = s.previousSibling;
|
|
11869
11871
|
if (s)
|
|
11870
|
-
n = s, r =
|
|
11872
|
+
n = s, r = ms(n);
|
|
11871
11873
|
else {
|
|
11872
11874
|
if (n = n.parentNode, n == t.dom)
|
|
11873
11875
|
break;
|
|
@@ -11881,7 +11883,7 @@ function aM(t) {
|
|
|
11881
11883
|
let e = t.domSelectionRange(), n = e.focusNode, r = e.focusOffset;
|
|
11882
11884
|
if (!n)
|
|
11883
11885
|
return;
|
|
11884
|
-
let i =
|
|
11886
|
+
let i = ms(n), a, o;
|
|
11885
11887
|
for (; ; )
|
|
11886
11888
|
if (r < i) {
|
|
11887
11889
|
if (n.nodeType != 1)
|
|
@@ -11899,7 +11901,7 @@ function aM(t) {
|
|
|
11899
11901
|
for (; s && pa(s, 1); )
|
|
11900
11902
|
a = s.parentNode, o = Ke(s) + 1, s = s.nextSibling;
|
|
11901
11903
|
if (s)
|
|
11902
|
-
n = s, r = 0, i =
|
|
11904
|
+
n = s, r = 0, i = ms(n);
|
|
11903
11905
|
else {
|
|
11904
11906
|
if (n = n.parentNode, n == t.dom)
|
|
11905
11907
|
break;
|
|
@@ -11914,7 +11916,7 @@ function Bm(t) {
|
|
|
11914
11916
|
return e && e.node && e.node.isBlock;
|
|
11915
11917
|
}
|
|
11916
11918
|
function oM(t, e) {
|
|
11917
|
-
for (; t && e == t.childNodes.length && !
|
|
11919
|
+
for (; t && e == t.childNodes.length && !ro(t); )
|
|
11918
11920
|
e = Ke(t) + 1, t = t.parentNode;
|
|
11919
11921
|
for (; t && e < t.childNodes.length; ) {
|
|
11920
11922
|
let n = t.childNodes[e];
|
|
@@ -11926,7 +11928,7 @@ function oM(t, e) {
|
|
|
11926
11928
|
}
|
|
11927
11929
|
}
|
|
11928
11930
|
function sM(t, e) {
|
|
11929
|
-
for (; t && !e && !
|
|
11931
|
+
for (; t && !e && !ro(t); )
|
|
11930
11932
|
e = Ke(t), t = t.parentNode;
|
|
11931
11933
|
for (; t && e; ) {
|
|
11932
11934
|
let n = t.childNodes[e - 1];
|
|
@@ -12100,7 +12102,7 @@ function Fm(t, e, n, r, i) {
|
|
|
12100
12102
|
} else
|
|
12101
12103
|
t.someProp("transformPastedHTML", (u) => {
|
|
12102
12104
|
n = u(n, t);
|
|
12103
|
-
}), o = pM(n),
|
|
12105
|
+
}), o = pM(n), io && mM(o);
|
|
12104
12106
|
let c = o && o.querySelector("[data-pm-slice]"), d = c && /^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(c.getAttribute("data-pm-slice") || "");
|
|
12105
12107
|
if (d && d[3])
|
|
12106
12108
|
for (let u = +d[3]; u > 0; u--) {
|
|
@@ -12383,7 +12385,7 @@ function AM(t, e, n) {
|
|
|
12383
12385
|
}
|
|
12384
12386
|
}
|
|
12385
12387
|
function Ed(t) {
|
|
12386
|
-
return
|
|
12388
|
+
return gs(t);
|
|
12387
12389
|
}
|
|
12388
12390
|
const Qm = Bt ? "metaKey" : "ctrlKey";
|
|
12389
12391
|
ut.mousedown = (t, e) => {
|
|
@@ -12456,8 +12458,8 @@ ht.compositionstart = ht.compositionupdate = (t) => {
|
|
|
12456
12458
|
t.domObserver.flush();
|
|
12457
12459
|
let { state: e } = t, n = e.selection.$to;
|
|
12458
12460
|
if (e.selection instanceof ee && (e.storedMarks || !n.textOffset && n.parentOffset && n.nodeBefore.marks.some((r) => r.type.spec.inclusive === !1) || _e && xm && jM(t)))
|
|
12459
|
-
t.markCursor = t.state.storedMarks || n.marks(),
|
|
12460
|
-
else if (
|
|
12461
|
+
t.markCursor = t.state.storedMarks || n.marks(), gs(t, !0), t.markCursor = null;
|
|
12462
|
+
else if (gs(t, !e.selection.empty), Ut && e.selection.empty && n.parentOffset && !n.textOffset && n.nodeBefore.marks.length) {
|
|
12461
12463
|
let r = t.domSelectionRange();
|
|
12462
12464
|
for (let i = r.focusNode, a = r.focusOffset; i && i.nodeType == 1 && a != 0; ) {
|
|
12463
12465
|
let o = a < 0 ? i.lastChild : i.childNodes[a - 1];
|
|
@@ -12486,7 +12488,7 @@ ht.compositionend = (t, e) => {
|
|
|
12486
12488
|
t.composing && (t.input.composing = !1, t.input.compositionEndedAt = e.timeStamp, t.input.compositionPendingChanges = t.domObserver.pendingRecords().length ? t.input.compositionID : 0, t.input.compositionNode = null, t.input.badSafariComposition ? t.domObserver.forceFlush() : t.input.compositionPendingChanges && Promise.resolve().then(() => t.domObserver.flush()), t.input.compositionID++, Jm(t, 20));
|
|
12487
12489
|
};
|
|
12488
12490
|
function Jm(t, e) {
|
|
12489
|
-
clearTimeout(t.input.composingTimeout), e > -1 && (t.input.composingTimeout = setTimeout(() =>
|
|
12491
|
+
clearTimeout(t.input.composingTimeout), e > -1 && (t.input.composingTimeout = setTimeout(() => gs(t), e));
|
|
12490
12492
|
}
|
|
12491
12493
|
function Km(t) {
|
|
12492
12494
|
for (t.composing && (t.input.composing = !1, t.input.compositionEndedAt = RM()); t.input.compositionNodes.length > 0; )
|
|
@@ -12515,7 +12517,7 @@ function RM() {
|
|
|
12515
12517
|
let t = document.createEvent("Event");
|
|
12516
12518
|
return t.initEvent("event", !0, !0), t.timeStamp;
|
|
12517
12519
|
}
|
|
12518
|
-
function
|
|
12520
|
+
function gs(t, e = !1) {
|
|
12519
12521
|
if (!(Tn && t.domObserver.flushingSoon >= 0)) {
|
|
12520
12522
|
if (t.domObserver.forceFlush(), Km(t), e || t.docView && t.docView.dirty) {
|
|
12521
12523
|
let n = Nd(t), r = t.state.selection;
|
|
@@ -12534,12 +12536,12 @@ function OM(t, e) {
|
|
|
12534
12536
|
n.parentNode && n.parentNode.removeChild(n), t.focus();
|
|
12535
12537
|
}, 50);
|
|
12536
12538
|
}
|
|
12537
|
-
const
|
|
12539
|
+
const Pa = Ct && Xn < 15 || Si && EC < 604;
|
|
12538
12540
|
ut.copy = ht.cut = (t, e) => {
|
|
12539
12541
|
let n = e, r = t.state.selection, i = n.type == "cut";
|
|
12540
12542
|
if (r.empty)
|
|
12541
12543
|
return;
|
|
12542
|
-
let a =
|
|
12544
|
+
let a = Pa ? null : n.clipboardData, o = r.content(), { dom: s, text: l } = Sd(t, o);
|
|
12543
12545
|
a ? (n.preventDefault(), a.clearData(), a.setData("text/html", s.innerHTML), a.setData("text/plain", l)) : OM(t, s), i && t.dispatch(t.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent", "cut"));
|
|
12544
12546
|
};
|
|
12545
12547
|
function zM(t) {
|
|
@@ -12552,10 +12554,10 @@ function PM(t, e) {
|
|
|
12552
12554
|
n || (r.contentEditable = "true"), r.style.cssText = "position: fixed; left: -10000px; top: 10px", r.focus();
|
|
12553
12555
|
let i = t.input.shiftKey && t.input.lastKeyCode != 45;
|
|
12554
12556
|
setTimeout(() => {
|
|
12555
|
-
t.focus(), r.parentNode && r.parentNode.removeChild(r), n ?
|
|
12557
|
+
t.focus(), r.parentNode && r.parentNode.removeChild(r), n ? Ba(t, r.value, null, i, e) : Ba(t, r.textContent, r.innerHTML, i, e);
|
|
12556
12558
|
}, 50);
|
|
12557
12559
|
}
|
|
12558
|
-
function
|
|
12560
|
+
function Ba(t, e, n, r, i) {
|
|
12559
12561
|
let a = Fm(t, e, n, r, t.state.selection.$from);
|
|
12560
12562
|
if (t.someProp("handlePaste", (l) => l(t, i, a || W.empty)))
|
|
12561
12563
|
return !0;
|
|
@@ -12575,8 +12577,8 @@ ht.paste = (t, e) => {
|
|
|
12575
12577
|
let n = e;
|
|
12576
12578
|
if (t.composing && !Tn)
|
|
12577
12579
|
return;
|
|
12578
|
-
let r =
|
|
12579
|
-
r &&
|
|
12580
|
+
let r = Pa ? null : n.clipboardData, i = t.input.shiftKey && t.input.lastKeyCode != 45;
|
|
12581
|
+
r && Ba(t, qm(r), r.getData("text/html"), i, n) ? n.preventDefault() : PM(t, n);
|
|
12580
12582
|
};
|
|
12581
12583
|
class Zm {
|
|
12582
12584
|
constructor(e, n, r) {
|
|
@@ -12604,7 +12606,7 @@ ut.dragstart = (t, e) => {
|
|
|
12604
12606
|
}
|
|
12605
12607
|
}
|
|
12606
12608
|
let s = (o || t.state.selection).content(), { dom: l, text: c, slice: d } = Sd(t, s);
|
|
12607
|
-
(!n.dataTransfer.files.length || !_e || Mm > 120) && n.dataTransfer.clearData(), n.dataTransfer.setData(
|
|
12609
|
+
(!n.dataTransfer.files.length || !_e || Mm > 120) && n.dataTransfer.clearData(), n.dataTransfer.setData(Pa ? "Text" : "text/html", l.innerHTML), n.dataTransfer.effectAllowed = "copyMove", Pa || n.dataTransfer.setData("text/plain", c), t.dragging = new Zm(d, Xm(t, n), o);
|
|
12608
12610
|
};
|
|
12609
12611
|
ut.dragend = (t) => {
|
|
12610
12612
|
let e = t.dragging;
|
|
@@ -12629,7 +12631,7 @@ function FM(t, e, n) {
|
|
|
12629
12631
|
let i = t.state.doc.resolve(r.pos), a = n && n.slice;
|
|
12630
12632
|
a ? t.someProp("transformPasted", (h) => {
|
|
12631
12633
|
a = h(a, t, !1);
|
|
12632
|
-
}) : a = Fm(t, qm(e.dataTransfer),
|
|
12634
|
+
}) : a = Fm(t, qm(e.dataTransfer), Pa ? null : e.dataTransfer.getData("text/html"), !1, i);
|
|
12633
12635
|
let o = !!(n && Xm(t, e));
|
|
12634
12636
|
if (t.someProp("handleDrop", (h) => h(t, e, a || W.empty, o))) {
|
|
12635
12637
|
e.preventDefault();
|
|
@@ -12680,7 +12682,7 @@ ut.beforeinput = (t, e) => {
|
|
|
12680
12682
|
};
|
|
12681
12683
|
for (let t in ht)
|
|
12682
12684
|
ut[t] = ht[t];
|
|
12683
|
-
function
|
|
12685
|
+
function Fa(t, e) {
|
|
12684
12686
|
if (t == e)
|
|
12685
12687
|
return !0;
|
|
12686
12688
|
for (let n in t)
|
|
@@ -12691,7 +12693,7 @@ function Ba(t, e) {
|
|
|
12691
12693
|
return !1;
|
|
12692
12694
|
return !0;
|
|
12693
12695
|
}
|
|
12694
|
-
class
|
|
12696
|
+
class bs {
|
|
12695
12697
|
constructor(e, n) {
|
|
12696
12698
|
this.toDOM = e, this.spec = n || Tr, this.side = this.spec.side || 0;
|
|
12697
12699
|
}
|
|
@@ -12703,7 +12705,7 @@ class gs {
|
|
|
12703
12705
|
return !0;
|
|
12704
12706
|
}
|
|
12705
12707
|
eq(e) {
|
|
12706
|
-
return this == e || e instanceof
|
|
12708
|
+
return this == e || e instanceof bs && (this.spec.key && this.spec.key == e.spec.key || this.toDOM == e.toDOM && Fa(this.spec, e.spec));
|
|
12707
12709
|
}
|
|
12708
12710
|
destroy(e) {
|
|
12709
12711
|
this.spec.destroy && this.spec.destroy(e);
|
|
@@ -12721,7 +12723,7 @@ class $n {
|
|
|
12721
12723
|
return n.from < n.to;
|
|
12722
12724
|
}
|
|
12723
12725
|
eq(e) {
|
|
12724
|
-
return this == e || e instanceof $n &&
|
|
12726
|
+
return this == e || e instanceof $n && Fa(this.attrs, e.attrs) && Fa(this.spec, e.spec);
|
|
12725
12727
|
}
|
|
12726
12728
|
static is(e) {
|
|
12727
12729
|
return e.type instanceof $n;
|
|
@@ -12745,7 +12747,7 @@ class Td {
|
|
|
12745
12747
|
return i == n.from && !(a = e.child(r)).isText && i + a.nodeSize == n.to;
|
|
12746
12748
|
}
|
|
12747
12749
|
eq(e) {
|
|
12748
|
-
return this == e || e instanceof Td &&
|
|
12750
|
+
return this == e || e instanceof Td && Fa(this.attrs, e.attrs) && Fa(this.spec, e.spec);
|
|
12749
12751
|
}
|
|
12750
12752
|
destroy() {
|
|
12751
12753
|
}
|
|
@@ -12784,7 +12786,7 @@ class at {
|
|
|
12784
12786
|
widget's current document position.
|
|
12785
12787
|
*/
|
|
12786
12788
|
static widget(e, n, r) {
|
|
12787
|
-
return new at(e, e, new
|
|
12789
|
+
return new at(e, e, new bs(n, r));
|
|
12788
12790
|
}
|
|
12789
12791
|
/**
|
|
12790
12792
|
Creates an inline decoration, which adds the given attributes to
|
|
@@ -12818,7 +12820,7 @@ class at {
|
|
|
12818
12820
|
@internal
|
|
12819
12821
|
*/
|
|
12820
12822
|
get widget() {
|
|
12821
|
-
return this.type instanceof
|
|
12823
|
+
return this.type instanceof bs;
|
|
12822
12824
|
}
|
|
12823
12825
|
}
|
|
12824
12826
|
const ui = [], Tr = {};
|
|
@@ -12835,7 +12837,7 @@ class Se {
|
|
|
12835
12837
|
you must make a copy if you want need to preserve that.
|
|
12836
12838
|
*/
|
|
12837
12839
|
static create(e, n) {
|
|
12838
|
-
return n.length ?
|
|
12840
|
+
return n.length ? ws(n, e, 0, Tr) : rt;
|
|
12839
12841
|
}
|
|
12840
12842
|
/**
|
|
12841
12843
|
Find all decorations in this set which touch the given range
|
|
@@ -12894,7 +12896,7 @@ class Se {
|
|
|
12894
12896
|
if (d = $m(n, s, c)) {
|
|
12895
12897
|
for (i || (i = this.children.slice()); a < i.length && i[a] < l; )
|
|
12896
12898
|
a += 3;
|
|
12897
|
-
i[a] == l ? i[a + 2] = i[a + 2].addInner(s, d, c + 1) : i.splice(a, 0, l, l + s.nodeSize,
|
|
12899
|
+
i[a] == l ? i[a + 2] = i[a + 2].addInner(s, d, c + 1) : i.splice(a, 0, l, l + s.nodeSize, ws(d, s, c + 1, Tr)), a += 3;
|
|
12898
12900
|
}
|
|
12899
12901
|
});
|
|
12900
12902
|
let o = _m(a ? eg(n) : n, -r);
|
|
@@ -13090,7 +13092,7 @@ function VM(t, e, n, r, i, a, o) {
|
|
|
13090
13092
|
l = !0;
|
|
13091
13093
|
}
|
|
13092
13094
|
if (l) {
|
|
13093
|
-
let c = YM(s, t, e, n, i, a, o), d =
|
|
13095
|
+
let c = YM(s, t, e, n, i, a, o), d = ws(c, r, 0, o);
|
|
13094
13096
|
e = d.local;
|
|
13095
13097
|
for (let u = 0; u < s.length; u += 3)
|
|
13096
13098
|
s[u + 1] < 0 && (s.splice(u, 3), u -= 3);
|
|
@@ -13140,13 +13142,13 @@ function eg(t) {
|
|
|
13140
13142
|
t[n] != null && e.push(t[n]);
|
|
13141
13143
|
return e;
|
|
13142
13144
|
}
|
|
13143
|
-
function
|
|
13145
|
+
function ws(t, e, n, r) {
|
|
13144
13146
|
let i = [], a = !1;
|
|
13145
13147
|
e.forEach((s, l) => {
|
|
13146
13148
|
let c = $m(t, s, l + n);
|
|
13147
13149
|
if (c) {
|
|
13148
13150
|
a = !0;
|
|
13149
|
-
let d =
|
|
13151
|
+
let d = ws(c, s, n + l + 1, r);
|
|
13150
13152
|
d != rt && i.push(l, l + s.nodeSize, d);
|
|
13151
13153
|
}
|
|
13152
13154
|
});
|
|
@@ -13888,13 +13890,13 @@ class tg {
|
|
|
13888
13890
|
[`handlePaste`](https://prosemirror.net/docs/ref/#view.EditorProps.handlePaste) hook.
|
|
13889
13891
|
*/
|
|
13890
13892
|
pasteHTML(e, n) {
|
|
13891
|
-
return
|
|
13893
|
+
return Ba(this, "", e, !1, n || new ClipboardEvent("paste"));
|
|
13892
13894
|
}
|
|
13893
13895
|
/**
|
|
13894
13896
|
Run the editor's paste logic with the given plain-text input.
|
|
13895
13897
|
*/
|
|
13896
13898
|
pasteText(e, n) {
|
|
13897
|
-
return
|
|
13899
|
+
return Ba(this, e, null, !0, n || new ClipboardEvent("paste"));
|
|
13898
13900
|
}
|
|
13899
13901
|
/**
|
|
13900
13902
|
Serialize the given slice as it would be if it was copied from
|
|
@@ -14044,7 +14046,7 @@ var rr = {
|
|
|
14044
14046
|
220: "\\",
|
|
14045
14047
|
221: "]",
|
|
14046
14048
|
222: "'"
|
|
14047
|
-
},
|
|
14049
|
+
}, ys = {
|
|
14048
14050
|
48: ")",
|
|
14049
14051
|
49: "!",
|
|
14050
14052
|
50: "@",
|
|
@@ -14073,10 +14075,10 @@ var rr = {
|
|
|
14073
14075
|
for (var qe = 0; qe < 10; qe++) rr[48 + qe] = rr[96 + qe] = String(qe);
|
|
14074
14076
|
for (var qe = 1; qe <= 24; qe++) rr[qe + 111] = "F" + qe;
|
|
14075
14077
|
for (var qe = 65; qe <= 90; qe++)
|
|
14076
|
-
rr[qe] = String.fromCharCode(qe + 32),
|
|
14077
|
-
for (var xf in rr)
|
|
14078
|
+
rr[qe] = String.fromCharCode(qe + 32), ys[qe] = String.fromCharCode(qe);
|
|
14079
|
+
for (var xf in rr) ys.hasOwnProperty(xf) || (ys[xf] = rr[xf]);
|
|
14078
14080
|
function sx(t) {
|
|
14079
|
-
var e = ax && t.metaKey && t.shiftKey && !t.ctrlKey && !t.altKey || ox && t.shiftKey && t.key && t.key.length == 1 || t.key == "Unidentified", n = !e && t.key || (t.shiftKey ?
|
|
14081
|
+
var e = ax && t.metaKey && t.shiftKey && !t.ctrlKey && !t.altKey || ox && t.shiftKey && t.key && t.key.length == 1 || t.key == "Unidentified", n = !e && t.key || (t.shiftKey ? ys : rr)[t.keyCode] || t.key || "Unidentified";
|
|
14080
14082
|
return n == "Esc" && (n = "Escape"), n == "Del" && (n = "Delete"), n == "Left" && (n = "ArrowLeft"), n == "Up" && (n = "ArrowUp"), n == "Right" && (n = "ArrowRight"), n == "Down" && (n = "ArrowDown"), n;
|
|
14081
14083
|
}
|
|
14082
14084
|
const lx = typeof navigator < "u" && /Mac|iP(hone|[oa]d)/.test(navigator.platform), fx = typeof navigator < "u" && /Win/.test(navigator.platform);
|
|
@@ -14360,12 +14362,12 @@ var Cx = (t) => ({ tr: e, state: n, dispatch: r }) => {
|
|
|
14360
14362
|
function Rd(t) {
|
|
14361
14363
|
return Object.prototype.toString.call(t) === "[object RegExp]";
|
|
14362
14364
|
}
|
|
14363
|
-
function
|
|
14365
|
+
function vs(t, e, n = { strict: !0 }) {
|
|
14364
14366
|
const r = Object.keys(e);
|
|
14365
14367
|
return r.length ? r.every((i) => n.strict ? e[i] === t[i] : Rd(e[i]) ? e[i].test(t[i]) : e[i] === t[i]) : !0;
|
|
14366
14368
|
}
|
|
14367
14369
|
function ig(t, e, n = {}) {
|
|
14368
|
-
return t.find((r) => r.type === e &&
|
|
14370
|
+
return t.find((r) => r.type === e && vs(
|
|
14369
14371
|
// Only check equality for the attributes that are provided
|
|
14370
14372
|
Object.fromEntries(Object.keys(n).map((i) => [i, r.attrs[i]])),
|
|
14371
14373
|
n
|
|
@@ -14441,7 +14443,7 @@ function og(t, e = null) {
|
|
|
14441
14443
|
function op() {
|
|
14442
14444
|
return navigator.platform === "Android" || /android/i.test(navigator.userAgent);
|
|
14443
14445
|
}
|
|
14444
|
-
function
|
|
14446
|
+
function Cs() {
|
|
14445
14447
|
return ["iPad Simulator", "iPhone Simulator", "iPod Simulator", "iPad", "iPhone", "iPod"].includes(navigator.platform) || // iPad on iOS 13 detection
|
|
14446
14448
|
navigator.userAgent.includes("Mac") && "ontouchend" in document;
|
|
14447
14449
|
}
|
|
@@ -14454,7 +14456,7 @@ var Ax = (t = null, e = {}) => ({ editor: n, view: r, tr: i, dispatch: a }) => {
|
|
|
14454
14456
|
...e
|
|
14455
14457
|
};
|
|
14456
14458
|
const o = () => {
|
|
14457
|
-
(
|
|
14459
|
+
(Cs() || op()) && r.dom.focus(), Ix() && !Cs() && !op() && r.dom.focus({ preventScroll: !0 }), requestAnimationFrame(() => {
|
|
14458
14460
|
n.isDestroyed || (r.focus(), e != null && e.scrollIntoView && n.commands.scrollIntoView());
|
|
14459
14461
|
});
|
|
14460
14462
|
};
|
|
@@ -14476,13 +14478,13 @@ var Ax = (t = null, e = {}) => ({ editor: n, view: r, tr: i, dispatch: a }) => {
|
|
|
14476
14478
|
}
|
|
14477
14479
|
return t;
|
|
14478
14480
|
};
|
|
14479
|
-
function
|
|
14481
|
+
function ko(t) {
|
|
14480
14482
|
if (typeof window > "u")
|
|
14481
14483
|
throw new Error("[tiptap error]: there is no window object available, so this function cannot be used");
|
|
14482
14484
|
const e = `<body>${t}</body>`, n = new window.DOMParser().parseFromString(e, "text/html").body;
|
|
14483
14485
|
return sg(n);
|
|
14484
14486
|
}
|
|
14485
|
-
function
|
|
14487
|
+
function Va(t, e, n) {
|
|
14486
14488
|
if (t instanceof Yt || t instanceof O)
|
|
14487
14489
|
return t;
|
|
14488
14490
|
n = {
|
|
@@ -14500,7 +14502,7 @@ function Fa(t, e, n) {
|
|
|
14500
14502
|
} catch (a) {
|
|
14501
14503
|
if (n.errorOnInvalidContent)
|
|
14502
14504
|
throw new Error("[tiptap error]: Invalid JSON content", { cause: a });
|
|
14503
|
-
return console.warn("[tiptap warn]: Invalid content.", "Passed value:", t, "Error:", a),
|
|
14505
|
+
return console.warn("[tiptap warn]: Invalid content.", "Passed value:", t, "Error:", a), Va("", e, n);
|
|
14504
14506
|
}
|
|
14505
14507
|
if (i) {
|
|
14506
14508
|
if (n.errorOnInvalidContent) {
|
|
@@ -14523,15 +14525,15 @@ function Fa(t, e, n) {
|
|
|
14523
14525
|
}
|
|
14524
14526
|
})
|
|
14525
14527
|
});
|
|
14526
|
-
if (n.slice ? Zn.fromSchema(l).parseSlice(
|
|
14528
|
+
if (n.slice ? Zn.fromSchema(l).parseSlice(ko(t), n.parseOptions) : Zn.fromSchema(l).parse(ko(t), n.parseOptions), n.errorOnInvalidContent && o)
|
|
14527
14529
|
throw new Error("[tiptap error]: Invalid HTML content", {
|
|
14528
14530
|
cause: new Error(`Invalid element found: ${s}`)
|
|
14529
14531
|
});
|
|
14530
14532
|
}
|
|
14531
14533
|
const a = Zn.fromSchema(e);
|
|
14532
|
-
return n.slice ? a.parseSlice(
|
|
14534
|
+
return n.slice ? a.parseSlice(ko(t), n.parseOptions).content : a.parse(ko(t), n.parseOptions);
|
|
14533
14535
|
}
|
|
14534
|
-
return
|
|
14536
|
+
return Va("", e, n);
|
|
14535
14537
|
}
|
|
14536
14538
|
function jx(t, e, n) {
|
|
14537
14539
|
const r = t.steps.length - 1;
|
|
@@ -14571,7 +14573,7 @@ var Dx = (t) => !("type" in t), Rx = (t, e, n) => ({ tr: r, dispatch: i, editor:
|
|
|
14571
14573
|
};
|
|
14572
14574
|
if (!n.errorOnInvalidContent && !a.options.enableContentCheck && a.options.emitContentError)
|
|
14573
14575
|
try {
|
|
14574
|
-
|
|
14576
|
+
Va(e, a.schema, {
|
|
14575
14577
|
parseOptions: c,
|
|
14576
14578
|
errorOnInvalidContent: !0
|
|
14577
14579
|
});
|
|
@@ -14579,7 +14581,7 @@ var Dx = (t) => !("type" in t), Rx = (t, e, n) => ({ tr: r, dispatch: i, editor:
|
|
|
14579
14581
|
l(w);
|
|
14580
14582
|
}
|
|
14581
14583
|
try {
|
|
14582
|
-
s =
|
|
14584
|
+
s = Va(e, a.schema, {
|
|
14583
14585
|
parseOptions: c,
|
|
14584
14586
|
errorOnInvalidContent: (o = n.errorOnInvalidContent) != null ? o : a.options.enableContentCheck
|
|
14585
14587
|
});
|
|
@@ -14646,7 +14648,7 @@ function Wx(t) {
|
|
|
14646
14648
|
else if (/^s(hift)?$/i.test(l))
|
|
14647
14649
|
a = !0;
|
|
14648
14650
|
else if (/^mod$/i.test(l))
|
|
14649
|
-
|
|
14651
|
+
Cs() || lg() ? o = !0 : i = !0;
|
|
14650
14652
|
else
|
|
14651
14653
|
throw new Error(`Unrecognized modifier name: ${l}`);
|
|
14652
14654
|
}
|
|
@@ -14681,7 +14683,7 @@ function ir(t, e, n = {}) {
|
|
|
14681
14683
|
to: m
|
|
14682
14684
|
});
|
|
14683
14685
|
});
|
|
14684
|
-
const l = i - r, c = s.filter((u) => o ? o.name === u.node.type.name : !0).filter((u) =>
|
|
14686
|
+
const l = i - r, c = s.filter((u) => o ? o.name === u.node.type.name : !0).filter((u) => vs(u.node.attrs, n, { strict: !1 }));
|
|
14685
14687
|
return a ? !!c.length : c.reduce((u, p) => u + p.to - p.from, 0) >= l;
|
|
14686
14688
|
}
|
|
14687
14689
|
var Qx = (t, e = {}) => ({ state: n, dispatch: r }) => {
|
|
@@ -14723,7 +14725,7 @@ var qx = (t, e) => ({ tr: n, state: r, dispatch: i }) => {
|
|
|
14723
14725
|
return !0;
|
|
14724
14726
|
}, _x = () => ({ state: t, dispatch: e }) => um(t, e), $x = () => ({ state: t, dispatch: e }) => mm(t, e), e6 = () => ({ state: t, dispatch: e }) => dC(t, e), t6 = () => ({ state: t, dispatch: e }) => pC(t, e), n6 = () => ({ state: t, dispatch: e }) => hC(t, e);
|
|
14725
14727
|
function Cc(t, e, n = {}, r = {}) {
|
|
14726
|
-
return
|
|
14728
|
+
return Va(t, e, {
|
|
14727
14729
|
slice: !1,
|
|
14728
14730
|
parseOptions: n,
|
|
14729
14731
|
errorOnInvalidContent: r.errorOnInvalidContent
|
|
@@ -14953,7 +14955,7 @@ function Le(...t) {
|
|
|
14953
14955
|
}), r;
|
|
14954
14956
|
}, {});
|
|
14955
14957
|
}
|
|
14956
|
-
function
|
|
14958
|
+
function Ya(t, e) {
|
|
14957
14959
|
return e.filter((n) => n.type === t.type.name).filter((n) => n.attribute.rendered).map((n) => n.attribute.renderHTML ? n.attribute.renderHTML(t.attrs) || {} : {
|
|
14958
14960
|
[n.name]: t.attrs[n.name]
|
|
14959
14961
|
}).reduce((n, r) => Le(n, r), {});
|
|
@@ -15029,7 +15031,7 @@ function c6(t, e) {
|
|
|
15029
15031
|
const g = q(c, "renderHTML", u);
|
|
15030
15032
|
g && (h.toDOM = (v) => g({
|
|
15031
15033
|
node: v,
|
|
15032
|
-
HTMLAttributes:
|
|
15034
|
+
HTMLAttributes: Ya(v, d)
|
|
15033
15035
|
}));
|
|
15034
15036
|
const w = q(c, "renderText", u);
|
|
15035
15037
|
return w && (h.toText = w), [c.name, h];
|
|
@@ -15062,7 +15064,7 @@ function c6(t, e) {
|
|
|
15062
15064
|
const g = q(c, "renderHTML", u);
|
|
15063
15065
|
return g && (h.toDOM = (w) => g({
|
|
15064
15066
|
mark: w,
|
|
15065
|
-
HTMLAttributes:
|
|
15067
|
+
HTMLAttributes: Ya(w, d)
|
|
15066
15068
|
})), [c.name, h];
|
|
15067
15069
|
})
|
|
15068
15070
|
);
|
|
@@ -15205,7 +15207,7 @@ var g6 = (t, e, n, r = 20) => {
|
|
|
15205
15207
|
function Zi(t, e) {
|
|
15206
15208
|
return e.nodes[t] || e.marks[t] || null;
|
|
15207
15209
|
}
|
|
15208
|
-
function
|
|
15210
|
+
function Qo(t, e, n) {
|
|
15209
15211
|
return Object.fromEntries(
|
|
15210
15212
|
Object.entries(n).filter(([r]) => {
|
|
15211
15213
|
const i = t.find((a) => a.type === e && a.name === r);
|
|
@@ -15230,7 +15232,7 @@ var b6 = (t, e = 500) => {
|
|
|
15230
15232
|
function Mc(t, e, n = {}) {
|
|
15231
15233
|
const { empty: r, ranges: i } = t.selection, a = e ? Pn(e, t.schema) : null;
|
|
15232
15234
|
if (r)
|
|
15233
|
-
return !!(t.storedMarks || t.selection.$from.marks()).filter((u) => a ? a.name === u.type.name : !0).find((u) =>
|
|
15235
|
+
return !!(t.storedMarks || t.selection.$from.marks()).filter((u) => a ? a.name === u.type.name : !0).find((u) => vs(u.attrs, n, { strict: !1 }));
|
|
15234
15236
|
let o = 0;
|
|
15235
15237
|
const s = [];
|
|
15236
15238
|
if (i.forEach(({ $from: u, $to: p }) => {
|
|
@@ -15251,7 +15253,7 @@ function Mc(t, e, n = {}) {
|
|
|
15251
15253
|
});
|
|
15252
15254
|
}), o === 0)
|
|
15253
15255
|
return !1;
|
|
15254
|
-
const l = s.filter((u) => a ? a.name === u.mark.type.name : !0).filter((u) =>
|
|
15256
|
+
const l = s.filter((u) => a ? a.name === u.mark.type.name : !0).filter((u) => vs(u.mark.attrs, n, { strict: !1 })).reduce((u, p) => u + p.to - p.from, 0), c = s.filter((u) => a ? u.mark.type !== a && u.mark.type.excludes(a) : !0).reduce((u, p) => u + p.to - p.from, 0);
|
|
15255
15257
|
return (l > 0 ? l + c : l) >= o;
|
|
15256
15258
|
}
|
|
15257
15259
|
function w6(t, e, n = {}) {
|
|
@@ -15433,7 +15435,7 @@ function hp(t, e) {
|
|
|
15433
15435
|
}
|
|
15434
15436
|
}
|
|
15435
15437
|
var T6 = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, editor: i }) => {
|
|
15436
|
-
const { selection: a, doc: o } = e, { $from: s, $to: l } = a, c = i.extensionManager.attributes, d =
|
|
15438
|
+
const { selection: a, doc: o } = e, { $from: s, $to: l } = a, c = i.extensionManager.attributes, d = Qo(c, s.node().type.name, s.node().attrs);
|
|
15437
15439
|
if (a instanceof Z && a.node.isBlock)
|
|
15438
15440
|
return !s.parentOffset || !jn(o, s.pos) ? !1 : (r && (t && hp(n, i.extensionManager.splittableMarks), e.split(s.pos).scrollIntoView()), !0);
|
|
15439
15441
|
if (!s.parent.isBlock)
|
|
@@ -15479,7 +15481,7 @@ var T6 = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, editor
|
|
|
15479
15481
|
// eslint-disable-next-line no-nested-ternary
|
|
15480
15482
|
l.indexAfter(-1) < l.node(-2).childCount ? 1 : l.indexAfter(-2) < l.node(-3).childCount ? 2 : 3
|
|
15481
15483
|
), y = {
|
|
15482
|
-
...
|
|
15484
|
+
...Qo(p, l.node().type.name, l.node().attrs),
|
|
15483
15485
|
...e
|
|
15484
15486
|
}, L = ((o = s.contentMatch.defaultType) == null ? void 0 : o.createAndFill(y)) || void 0;
|
|
15485
15487
|
v = v.append(O.from(s.createAndFill(null, L) || void 0));
|
|
@@ -15495,10 +15497,10 @@ var T6 = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, editor
|
|
|
15495
15497
|
return !0;
|
|
15496
15498
|
}
|
|
15497
15499
|
const h = c.pos === l.end() ? u.contentMatchAt(0).defaultType : null, m = {
|
|
15498
|
-
...
|
|
15500
|
+
...Qo(p, u.type.name, u.attrs),
|
|
15499
15501
|
...e
|
|
15500
15502
|
}, g = {
|
|
15501
|
-
...
|
|
15503
|
+
...Qo(p, l.node().type.name, l.node().attrs),
|
|
15502
15504
|
...e
|
|
15503
15505
|
};
|
|
15504
15506
|
n.delete(l.pos, c.pos);
|
|
@@ -15549,10 +15551,10 @@ var R6 = (t, e, n, r = {}) => ({ editor: i, tr: a, state: o, dispatch: s, chain:
|
|
|
15549
15551
|
const L = Tl((V) => Nf(V.type.name, u))(g), N = g.from === 0 && g.to === o.doc.content.size, k = o.doc.content.content, A = k.length === 1 ? k[0] : null, j = N && A && Nf(A.type.name, u) ? {
|
|
15550
15552
|
node: A,
|
|
15551
15553
|
pos: 0
|
|
15552
|
-
} : null, S = L ?? j, R = !!L && x.depth >= 1 && x.depth - L.depth <= 1,
|
|
15553
|
-
if ((R ||
|
|
15554
|
+
} : null, S = L ?? j, R = !!L && x.depth >= 1 && x.depth - L.depth <= 1, U = !!j;
|
|
15555
|
+
if ((R || U) && S) {
|
|
15554
15556
|
if (S.node.type === h)
|
|
15555
|
-
return N &&
|
|
15557
|
+
return N && U ? l().command(({ tr: V, dispatch: B }) => {
|
|
15556
15558
|
const H = D6(V);
|
|
15557
15559
|
return H ? (V.setSelection(H), B && B(V), !0) : !1;
|
|
15558
15560
|
}).liftListItem(m).run() : c.liftListItem(m);
|
|
@@ -15711,7 +15713,7 @@ var R6 = (t, e, n, r = {}) => ({ editor: i, tr: a, state: o, dispatch: s, chain:
|
|
|
15711
15713
|
const r = [n.text];
|
|
15712
15714
|
return r.index = n.index, r.input = t, r.data = n.data, n.replaceWith && (n.text.includes(n.replaceWith) || console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'), r.push(n.replaceWith)), r;
|
|
15713
15715
|
};
|
|
15714
|
-
function
|
|
15716
|
+
function So(t) {
|
|
15715
15717
|
var e;
|
|
15716
15718
|
const { editor: n, from: r, to: i, text: a, rules: o, plugin: s } = t, { view: l } = n;
|
|
15717
15719
|
if (l.composing)
|
|
@@ -15770,7 +15772,7 @@ function J6(t) {
|
|
|
15770
15772
|
let { text: d } = l;
|
|
15771
15773
|
typeof d == "string" ? d = d : d = Pd(O.from(d), o.schema);
|
|
15772
15774
|
const { from: u } = l, p = u + d.length;
|
|
15773
|
-
|
|
15775
|
+
So({
|
|
15774
15776
|
editor: e,
|
|
15775
15777
|
from: u,
|
|
15776
15778
|
to: p,
|
|
@@ -15783,7 +15785,7 @@ function J6(t) {
|
|
|
15783
15785
|
},
|
|
15784
15786
|
props: {
|
|
15785
15787
|
handleTextInput(i, a, o, s) {
|
|
15786
|
-
return
|
|
15788
|
+
return So({
|
|
15787
15789
|
editor: e,
|
|
15788
15790
|
from: a,
|
|
15789
15791
|
to: o,
|
|
@@ -15795,7 +15797,7 @@ function J6(t) {
|
|
|
15795
15797
|
handleDOMEvents: {
|
|
15796
15798
|
compositionend: (i) => (setTimeout(() => {
|
|
15797
15799
|
const { $cursor: a } = i.state.selection;
|
|
15798
|
-
a &&
|
|
15800
|
+
a && So({
|
|
15799
15801
|
editor: e,
|
|
15800
15802
|
from: a.pos,
|
|
15801
15803
|
to: a.pos,
|
|
@@ -15811,7 +15813,7 @@ function J6(t) {
|
|
|
15811
15813
|
if (a.key !== "Enter")
|
|
15812
15814
|
return !1;
|
|
15813
15815
|
const { $cursor: o } = i.state.selection;
|
|
15814
|
-
return o ?
|
|
15816
|
+
return o ? So({
|
|
15815
15817
|
editor: e,
|
|
15816
15818
|
from: o.pos,
|
|
15817
15819
|
to: o.pos,
|
|
@@ -15830,13 +15832,13 @@ function J6(t) {
|
|
|
15830
15832
|
function K6(t) {
|
|
15831
15833
|
return Object.prototype.toString.call(t).slice(8, -1);
|
|
15832
15834
|
}
|
|
15833
|
-
function
|
|
15835
|
+
function Io(t) {
|
|
15834
15836
|
return K6(t) !== "Object" ? !1 : t.constructor === Object && Object.getPrototypeOf(t) === Object.prototype;
|
|
15835
15837
|
}
|
|
15836
15838
|
function Cg(t, e) {
|
|
15837
15839
|
const n = { ...t };
|
|
15838
|
-
return
|
|
15839
|
-
|
|
15840
|
+
return Io(t) && Io(e) && Object.keys(e).forEach((r) => {
|
|
15841
|
+
Io(e[r]) && Io(t[r]) ? n[r] = Cg(t[r], e[r]) : n[r] = e[r];
|
|
15840
15842
|
}), n;
|
|
15841
15843
|
}
|
|
15842
15844
|
var Fd = class {
|
|
@@ -15941,12 +15943,12 @@ function _6(t) {
|
|
|
15941
15943
|
X6(k, a.find, o).forEach((j) => {
|
|
15942
15944
|
if (j.index === void 0)
|
|
15943
15945
|
return;
|
|
15944
|
-
const S = L + j.index + 1, R = S + j[0].length,
|
|
15946
|
+
const S = L + j.index + 1, R = S + j[0].length, U = {
|
|
15945
15947
|
from: n.tr.mapping.map(S),
|
|
15946
15948
|
to: n.tr.mapping.map(R)
|
|
15947
15949
|
}, V = a.handler({
|
|
15948
15950
|
state: n,
|
|
15949
|
-
range:
|
|
15951
|
+
range: U,
|
|
15950
15952
|
match: j,
|
|
15951
15953
|
commands: l,
|
|
15952
15954
|
chain: c,
|
|
@@ -15958,7 +15960,7 @@ function _6(t) {
|
|
|
15958
15960
|
});
|
|
15959
15961
|
}), u.every((h) => h !== null);
|
|
15960
15962
|
}
|
|
15961
|
-
var
|
|
15963
|
+
var Ao = null, $6 = (t) => {
|
|
15962
15964
|
var e;
|
|
15963
15965
|
const n = new ClipboardEvent("paste", {
|
|
15964
15966
|
clipboardData: new DataTransfer()
|
|
@@ -16006,9 +16008,9 @@ function eL(t) {
|
|
|
16006
16008
|
view(u) {
|
|
16007
16009
|
const p = (m) => {
|
|
16008
16010
|
var g;
|
|
16009
|
-
r = (g = u.dom.parentElement) != null && g.contains(m.target) ? u.dom.parentElement : null, r && (
|
|
16011
|
+
r = (g = u.dom.parentElement) != null && g.contains(m.target) ? u.dom.parentElement : null, r && (Ao = e);
|
|
16010
16012
|
}, h = () => {
|
|
16011
|
-
|
|
16013
|
+
Ao && (Ao = null);
|
|
16012
16014
|
};
|
|
16013
16015
|
return window.addEventListener("dragstart", p), window.addEventListener("dragend", h), {
|
|
16014
16016
|
destroy() {
|
|
@@ -16020,7 +16022,7 @@ function eL(t) {
|
|
|
16020
16022
|
handleDOMEvents: {
|
|
16021
16023
|
drop: (u, p) => {
|
|
16022
16024
|
if (a = r === u.dom.parentElement, s = p, !a) {
|
|
16023
|
-
const h =
|
|
16025
|
+
const h = Ao;
|
|
16024
16026
|
h != null && h.isEditable && setTimeout(() => {
|
|
16025
16027
|
const m = h.state.selection;
|
|
16026
16028
|
m && h.commands.deleteRange({ from: m.from, to: m.to });
|
|
@@ -16172,7 +16174,7 @@ var Rl = class {
|
|
|
16172
16174
|
if (!o)
|
|
16173
16175
|
return [];
|
|
16174
16176
|
const s = (l, c, d, u, p) => {
|
|
16175
|
-
const h =
|
|
16177
|
+
const h = Ya(l, r);
|
|
16176
16178
|
return o({
|
|
16177
16179
|
// pass-through
|
|
16178
16180
|
node: l,
|
|
@@ -16256,7 +16258,7 @@ var Rl = class {
|
|
|
16256
16258
|
if (!a)
|
|
16257
16259
|
return [];
|
|
16258
16260
|
const o = (s, l, c) => {
|
|
16259
|
-
const d =
|
|
16261
|
+
const d = Ya(s, r);
|
|
16260
16262
|
return a()({
|
|
16261
16263
|
// pass-through
|
|
16262
16264
|
mark: s,
|
|
@@ -16524,7 +16526,7 @@ var De = class xg extends Fd {
|
|
|
16524
16526
|
"Ctrl-a": () => this.editor.commands.selectTextblockStart(),
|
|
16525
16527
|
"Ctrl-e": () => this.editor.commands.selectTextblockEnd()
|
|
16526
16528
|
};
|
|
16527
|
-
return
|
|
16529
|
+
return Cs() || lg() ? a : i;
|
|
16528
16530
|
},
|
|
16529
16531
|
addProseMirrorPlugins() {
|
|
16530
16532
|
return [
|
|
@@ -17770,13 +17772,13 @@ function uL(t) {
|
|
|
17770
17772
|
if (R)
|
|
17771
17773
|
y += 1;
|
|
17772
17774
|
else if (y -= 1, y === 0) {
|
|
17773
|
-
const
|
|
17774
|
-
N =
|
|
17775
|
+
const U = A.slice(0, S);
|
|
17776
|
+
N = U.trim();
|
|
17775
17777
|
const V = u.slice(0, L + S + j[0].length);
|
|
17776
17778
|
let B = [];
|
|
17777
17779
|
if (N)
|
|
17778
17780
|
if (s === "block")
|
|
17779
|
-
for (B = h.blockTokens(
|
|
17781
|
+
for (B = h.blockTokens(U), B.forEach((H) => {
|
|
17780
17782
|
H.text && (!H.tokens || H.tokens.length === 0) && (H.tokens = h.inlineTokens(H.text));
|
|
17781
17783
|
}); B.length > 0; ) {
|
|
17782
17784
|
const H = B[B.length - 1];
|
|
@@ -18036,7 +18038,7 @@ function If(t, e) {
|
|
|
18036
18038
|
return t(r, i, a) && e(r, i, a);
|
|
18037
18039
|
};
|
|
18038
18040
|
}
|
|
18039
|
-
function
|
|
18041
|
+
function Eo(t) {
|
|
18040
18042
|
return function(n, r, i) {
|
|
18041
18043
|
if (!n || !r || typeof n != "object" || typeof r != "object")
|
|
18042
18044
|
return t(n, r, i);
|
|
@@ -18063,7 +18065,7 @@ function qr(t, e) {
|
|
|
18063
18065
|
}
|
|
18064
18066
|
const CL = "__v", ML = "__o", xL = "_owner", { getOwnPropertyDescriptor: mp, keys: gp } = Object;
|
|
18065
18067
|
function LL(t, e) {
|
|
18066
|
-
return t.byteLength === e.byteLength &&
|
|
18068
|
+
return t.byteLength === e.byteLength && Ms(new Uint8Array(t), new Uint8Array(e));
|
|
18067
18069
|
}
|
|
18068
18070
|
function NL(t, e, n) {
|
|
18069
18071
|
let r = t.length;
|
|
@@ -18075,7 +18077,7 @@ function NL(t, e, n) {
|
|
|
18075
18077
|
return !0;
|
|
18076
18078
|
}
|
|
18077
18079
|
function kL(t, e) {
|
|
18078
|
-
return t.byteLength === e.byteLength &&
|
|
18080
|
+
return t.byteLength === e.byteLength && Ms(new Uint8Array(t.buffer, t.byteOffset, t.byteLength), new Uint8Array(e.buffer, e.byteOffset, e.byteLength));
|
|
18079
18081
|
}
|
|
18080
18082
|
function SL(t, e) {
|
|
18081
18083
|
return qr(t.getTime(), e.getTime());
|
|
@@ -18166,7 +18168,7 @@ function wp(t, e, n) {
|
|
|
18166
18168
|
}
|
|
18167
18169
|
return !0;
|
|
18168
18170
|
}
|
|
18169
|
-
function
|
|
18171
|
+
function Ms(t, e) {
|
|
18170
18172
|
let n = t.byteLength;
|
|
18171
18173
|
if (e.byteLength !== n || t.byteOffset !== e.byteOffset)
|
|
18172
18174
|
return !1;
|
|
@@ -18272,12 +18274,12 @@ function XL({ circular: t, createCustomConfig: e, strict: n }) {
|
|
|
18272
18274
|
arePrimitiveWrappersEqual: jL,
|
|
18273
18275
|
areRegExpsEqual: DL,
|
|
18274
18276
|
areSetsEqual: n ? If(wp, Xi) : wp,
|
|
18275
|
-
areTypedArraysEqual: n ? If(
|
|
18277
|
+
areTypedArraysEqual: n ? If(Ms, Xi) : Ms,
|
|
18276
18278
|
areUrlsEqual: RL,
|
|
18277
18279
|
unknownTagComparators: void 0
|
|
18278
18280
|
};
|
|
18279
18281
|
if (e && (r = Object.assign({}, r, e(r))), t) {
|
|
18280
|
-
const i =
|
|
18282
|
+
const i = Eo(r.areArraysEqual), a = Eo(r.areMapsEqual), o = Eo(r.areObjectsEqual), s = Eo(r.areSetsEqual);
|
|
18281
18283
|
r = Object.assign({}, r, {
|
|
18282
18284
|
areArraysEqual: i,
|
|
18283
18285
|
areMapsEqual: a,
|
|
@@ -18820,7 +18822,7 @@ Object.assign(Ug, {
|
|
|
18820
18822
|
*/
|
|
18821
18823
|
Content: Wg
|
|
18822
18824
|
});
|
|
18823
|
-
var
|
|
18825
|
+
var xs = (t, e) => {
|
|
18824
18826
|
if (t === "slot")
|
|
18825
18827
|
return 0;
|
|
18826
18828
|
if (t instanceof Function)
|
|
@@ -18843,7 +18845,7 @@ var Ms = (t, e) => {
|
|
|
18843
18845
|
return [{ tag: "blockquote" }];
|
|
18844
18846
|
},
|
|
18845
18847
|
renderHTML({ HTMLAttributes: t }) {
|
|
18846
|
-
return /* @__PURE__ */
|
|
18848
|
+
return /* @__PURE__ */ xs("blockquote", { ...Le(this.options.HTMLAttributes, t), children: /* @__PURE__ */ xs("slot", {}) });
|
|
18847
18849
|
},
|
|
18848
18850
|
parseMarkdown: (t, e) => {
|
|
18849
18851
|
var n;
|
|
@@ -18911,7 +18913,7 @@ ${n}
|
|
|
18911
18913
|
];
|
|
18912
18914
|
},
|
|
18913
18915
|
renderHTML({ HTMLAttributes: t }) {
|
|
18914
|
-
return /* @__PURE__ */
|
|
18916
|
+
return /* @__PURE__ */ xs("strong", { ...Le(this.options.HTMLAttributes, t), children: /* @__PURE__ */ xs("slot", {}) });
|
|
18915
18917
|
},
|
|
18916
18918
|
markdownTokenName: "strong",
|
|
18917
18919
|
parseMarkdown: (t, e) => e.applyMark("bold", e.parseInline(t.tokens || [])),
|
|
@@ -19600,60 +19602,60 @@ yt.prototype = {
|
|
|
19600
19602
|
return i.j[t] = o, o;
|
|
19601
19603
|
}
|
|
19602
19604
|
};
|
|
19603
|
-
const ae = (t, e, n, r, i) => t.ta(e, n, r, i), Te = (t, e, n, r, i) => t.tr(e, n, r, i), Mp = (t, e, n, r, i) => t.ts(e, n, r, i), z = (t, e, n, r, i) => t.tt(e, n, r, i), Ln = "WORD", Ec = "UWORD", Qg = "ASCIINUMERICAL", Gg = "ALPHANUMERICAL",
|
|
19605
|
+
const ae = (t, e, n, r, i) => t.ta(e, n, r, i), Te = (t, e, n, r, i) => t.tr(e, n, r, i), Mp = (t, e, n, r, i) => t.ts(e, n, r, i), z = (t, e, n, r, i) => t.tt(e, n, r, i), Ln = "WORD", Ec = "UWORD", Qg = "ASCIINUMERICAL", Gg = "ALPHANUMERICAL", Ua = "LOCALHOST", Tc = "TLD", jc = "UTLD", Go = "SCHEME", hi = "SLASH_SCHEME", Qd = "NUM", Dc = "WS", Gd = "NL", ba = "OPENBRACE", wa = "CLOSEBRACE", Ls = "OPENBRACKET", Ns = "CLOSEBRACKET", ks = "OPENPAREN", Ss = "CLOSEPAREN", Is = "OPENANGLEBRACKET", As = "CLOSEANGLEBRACKET", Es = "FULLWIDTHLEFTPAREN", Ts = "FULLWIDTHRIGHTPAREN", js = "LEFTCORNERBRACKET", Ds = "RIGHTCORNERBRACKET", Rs = "LEFTWHITECORNERBRACKET", Os = "RIGHTWHITECORNERBRACKET", zs = "FULLWIDTHLESSTHAN", Ps = "FULLWIDTHGREATERTHAN", Bs = "AMPERSAND", Fs = "APOSTROPHE", Vs = "ASTERISK", Wn = "AT", Ys = "BACKSLASH", Us = "BACKTICK", Ws = "CARET", Gn = "COLON", Jd = "COMMA", Hs = "DOLLAR", rn = "DOT", Qs = "EQUALS", Kd = "EXCLAMATION", Pt = "HYPHEN", ya = "PERCENT", Gs = "PIPE", Js = "PLUS", Ks = "POUND", va = "QUERY", qd = "QUOTE", Jg = "FULLWIDTHMIDDLEDOT", Zd = "SEMI", an = "SLASH", Ca = "TILDE", qs = "UNDERSCORE", Kg = "EMOJI", Zs = "SYM";
|
|
19604
19606
|
var qg = /* @__PURE__ */ Object.freeze({
|
|
19605
19607
|
__proto__: null,
|
|
19606
19608
|
ALPHANUMERICAL: Gg,
|
|
19607
|
-
AMPERSAND:
|
|
19608
|
-
APOSTROPHE:
|
|
19609
|
+
AMPERSAND: Bs,
|
|
19610
|
+
APOSTROPHE: Fs,
|
|
19609
19611
|
ASCIINUMERICAL: Qg,
|
|
19610
|
-
ASTERISK:
|
|
19612
|
+
ASTERISK: Vs,
|
|
19611
19613
|
AT: Wn,
|
|
19612
|
-
BACKSLASH:
|
|
19613
|
-
BACKTICK:
|
|
19614
|
-
CARET:
|
|
19615
|
-
CLOSEANGLEBRACKET:
|
|
19614
|
+
BACKSLASH: Ys,
|
|
19615
|
+
BACKTICK: Us,
|
|
19616
|
+
CARET: Ws,
|
|
19617
|
+
CLOSEANGLEBRACKET: As,
|
|
19616
19618
|
CLOSEBRACE: wa,
|
|
19617
|
-
CLOSEBRACKET:
|
|
19618
|
-
CLOSEPAREN:
|
|
19619
|
+
CLOSEBRACKET: Ns,
|
|
19620
|
+
CLOSEPAREN: Ss,
|
|
19619
19621
|
COLON: Gn,
|
|
19620
19622
|
COMMA: Jd,
|
|
19621
|
-
DOLLAR:
|
|
19623
|
+
DOLLAR: Hs,
|
|
19622
19624
|
DOT: rn,
|
|
19623
19625
|
EMOJI: Kg,
|
|
19624
|
-
EQUALS:
|
|
19626
|
+
EQUALS: Qs,
|
|
19625
19627
|
EXCLAMATION: Kd,
|
|
19626
|
-
FULLWIDTHGREATERTHAN:
|
|
19627
|
-
FULLWIDTHLEFTPAREN:
|
|
19628
|
-
FULLWIDTHLESSTHAN:
|
|
19628
|
+
FULLWIDTHGREATERTHAN: Ps,
|
|
19629
|
+
FULLWIDTHLEFTPAREN: Es,
|
|
19630
|
+
FULLWIDTHLESSTHAN: zs,
|
|
19629
19631
|
FULLWIDTHMIDDLEDOT: Jg,
|
|
19630
|
-
FULLWIDTHRIGHTPAREN:
|
|
19632
|
+
FULLWIDTHRIGHTPAREN: Ts,
|
|
19631
19633
|
HYPHEN: Pt,
|
|
19632
|
-
LEFTCORNERBRACKET:
|
|
19633
|
-
LEFTWHITECORNERBRACKET:
|
|
19634
|
-
LOCALHOST:
|
|
19634
|
+
LEFTCORNERBRACKET: js,
|
|
19635
|
+
LEFTWHITECORNERBRACKET: Rs,
|
|
19636
|
+
LOCALHOST: Ua,
|
|
19635
19637
|
NL: Gd,
|
|
19636
19638
|
NUM: Qd,
|
|
19637
|
-
OPENANGLEBRACKET:
|
|
19639
|
+
OPENANGLEBRACKET: Is,
|
|
19638
19640
|
OPENBRACE: ba,
|
|
19639
|
-
OPENBRACKET:
|
|
19640
|
-
OPENPAREN:
|
|
19641
|
+
OPENBRACKET: Ls,
|
|
19642
|
+
OPENPAREN: ks,
|
|
19641
19643
|
PERCENT: ya,
|
|
19642
|
-
PIPE:
|
|
19643
|
-
PLUS:
|
|
19644
|
-
POUND:
|
|
19644
|
+
PIPE: Gs,
|
|
19645
|
+
PLUS: Js,
|
|
19646
|
+
POUND: Ks,
|
|
19645
19647
|
QUERY: va,
|
|
19646
19648
|
QUOTE: qd,
|
|
19647
|
-
RIGHTCORNERBRACKET:
|
|
19648
|
-
RIGHTWHITECORNERBRACKET:
|
|
19649
|
-
SCHEME:
|
|
19649
|
+
RIGHTCORNERBRACKET: Ds,
|
|
19650
|
+
RIGHTWHITECORNERBRACKET: Os,
|
|
19651
|
+
SCHEME: Go,
|
|
19650
19652
|
SEMI: Zd,
|
|
19651
19653
|
SLASH: an,
|
|
19652
19654
|
SLASH_SCHEME: hi,
|
|
19653
|
-
SYM:
|
|
19655
|
+
SYM: Zs,
|
|
19654
19656
|
TILDE: Ca,
|
|
19655
19657
|
TLD: Tc,
|
|
19656
|
-
UNDERSCORE:
|
|
19658
|
+
UNDERSCORE: qs,
|
|
19657
19659
|
UTLD: jc,
|
|
19658
19660
|
UWORD: Ec,
|
|
19659
19661
|
WORD: Ln,
|
|
@@ -19661,12 +19663,12 @@ var qg = /* @__PURE__ */ Object.freeze({
|
|
|
19661
19663
|
});
|
|
19662
19664
|
const Mn = /[a-z]/, _i = new RegExp("\\p{L}", "u"), Tf = new RegExp("\\p{Emoji}", "u"), xn = /\d/, jf = /\s/, xp = "\r", Df = `
|
|
19663
19665
|
`, GN = "️", JN = "", Rf = "";
|
|
19664
|
-
let
|
|
19666
|
+
let To = null, jo = null;
|
|
19665
19667
|
function KN(t = []) {
|
|
19666
19668
|
const e = {};
|
|
19667
19669
|
yt.groups = e;
|
|
19668
19670
|
const n = new yt();
|
|
19669
|
-
|
|
19671
|
+
To == null && (To = Lp(VN)), jo == null && (jo = Lp(YN)), z(n, "'", Fs), z(n, "{", ba), z(n, "}", wa), z(n, "[", Ls), z(n, "]", Ns), z(n, "(", ks), z(n, ")", Ss), z(n, "<", Is), z(n, ">", As), z(n, "(", Es), z(n, ")", Ts), z(n, "「", js), z(n, "」", Ds), z(n, "『", Rs), z(n, "』", Os), z(n, "<", zs), z(n, ">", Ps), z(n, "&", Bs), z(n, "*", Vs), z(n, "@", Wn), z(n, "`", Us), z(n, "^", Ws), z(n, ":", Gn), z(n, ",", Jd), z(n, "$", Hs), z(n, ".", rn), z(n, "=", Qs), z(n, "!", Kd), z(n, "-", Pt), z(n, "%", ya), z(n, "|", Gs), z(n, "+", Js), z(n, "#", Ks), z(n, "?", va), z(n, '"', qd), z(n, "/", an), z(n, ";", Zd), z(n, "~", Ca), z(n, "_", qs), z(n, "\\", Ys), z(n, "・", Jg);
|
|
19670
19672
|
const r = Te(n, xn, Qd, {
|
|
19671
19673
|
[kc]: !0
|
|
19672
19674
|
});
|
|
@@ -19698,17 +19700,17 @@ function KN(t = []) {
|
|
|
19698
19700
|
const p = z(u, JN);
|
|
19699
19701
|
z(p, "#"), Te(p, Tf, u);
|
|
19700
19702
|
const h = [[Mn, o], [xn, i]], m = [[Mn, null], [_i, s], [xn, a]];
|
|
19701
|
-
for (let g = 0; g < Eo.length; g++)
|
|
19702
|
-
Vn(n, Eo[g], Tc, Ln, h);
|
|
19703
19703
|
for (let g = 0; g < To.length; g++)
|
|
19704
|
-
Vn(n, To[g],
|
|
19704
|
+
Vn(n, To[g], Tc, Ln, h);
|
|
19705
|
+
for (let g = 0; g < jo.length; g++)
|
|
19706
|
+
Vn(n, jo[g], jc, Ec, m);
|
|
19705
19707
|
Sr(Tc, {
|
|
19706
19708
|
tld: !0,
|
|
19707
19709
|
ascii: !0
|
|
19708
19710
|
}, e), Sr(jc, {
|
|
19709
19711
|
utld: !0,
|
|
19710
19712
|
alpha: !0
|
|
19711
|
-
}, e), Vn(n, "file",
|
|
19713
|
+
}, e), Vn(n, "file", Go, Ln, h), Vn(n, "mailto", Go, Ln, h), Vn(n, "http", hi, Ln, h), Vn(n, "https", hi, Ln, h), Vn(n, "ftp", hi, Ln, h), Vn(n, "ftps", hi, Ln, h), Sr(Go, {
|
|
19712
19714
|
scheme: !0,
|
|
19713
19715
|
ascii: !0
|
|
19714
19716
|
}, e), Sr(hi, {
|
|
@@ -19723,9 +19725,9 @@ function KN(t = []) {
|
|
|
19723
19725
|
};
|
|
19724
19726
|
w.indexOf("-") >= 0 ? M[Ac] = !0 : Mn.test(w) ? xn.test(w) ? M[ga] = !0 : M[Sc] = !0 : M[kc] = !0, Mp(n, w, w, M);
|
|
19725
19727
|
}
|
|
19726
|
-
return Mp(n, "localhost",
|
|
19728
|
+
return Mp(n, "localhost", Ua, {
|
|
19727
19729
|
ascii: !0
|
|
19728
|
-
}), n.jd = new yt(
|
|
19730
|
+
}), n.jd = new yt(Zs), {
|
|
19729
19731
|
start: n,
|
|
19730
19732
|
tokens: Object.assign({
|
|
19731
19733
|
groups: e
|
|
@@ -19787,7 +19789,7 @@ function Lp(t) {
|
|
|
19787
19789
|
}
|
|
19788
19790
|
return e;
|
|
19789
19791
|
}
|
|
19790
|
-
const
|
|
19792
|
+
const Wa = {
|
|
19791
19793
|
defaultProtocol: "http",
|
|
19792
19794
|
events: null,
|
|
19793
19795
|
format: Np,
|
|
@@ -19804,7 +19806,7 @@ const Ua = {
|
|
|
19804
19806
|
render: null
|
|
19805
19807
|
};
|
|
19806
19808
|
function Xd(t, e = null) {
|
|
19807
|
-
let n = Object.assign({},
|
|
19809
|
+
let n = Object.assign({}, Wa);
|
|
19808
19810
|
t && (n = Object.assign(n, t instanceof Xd ? t.o : t));
|
|
19809
19811
|
const r = n.ignoreTags, i = [];
|
|
19810
19812
|
for (let a = 0; a < r.length; a++)
|
|
@@ -19812,7 +19814,7 @@ function Xd(t, e = null) {
|
|
|
19812
19814
|
this.o = n, e && (this.defaultRender = e), this.ignoreTags = i;
|
|
19813
19815
|
}
|
|
19814
19816
|
Xd.prototype = {
|
|
19815
|
-
o:
|
|
19817
|
+
o: Wa,
|
|
19816
19818
|
/**
|
|
19817
19819
|
* @type string[]
|
|
19818
19820
|
*/
|
|
@@ -19848,7 +19850,7 @@ Xd.prototype = {
|
|
|
19848
19850
|
get(t, e, n) {
|
|
19849
19851
|
const r = e != null;
|
|
19850
19852
|
let i = this.o[t];
|
|
19851
|
-
return i && (typeof i == "object" ? (i = n.t in i ? i[n.t] :
|
|
19853
|
+
return i && (typeof i == "object" ? (i = n.t in i ? i[n.t] : Wa[t], typeof i == "function" && r && (i = i(e, n))) : typeof i == "function" && r && (i = i(e, n.t, n)), i);
|
|
19852
19854
|
},
|
|
19853
19855
|
/**
|
|
19854
19856
|
* @template {keyof Opts} L
|
|
@@ -19937,7 +19939,7 @@ Xg.prototype = {
|
|
|
19937
19939
|
@method toObject
|
|
19938
19940
|
@param {string} [protocol] `'http'` by default
|
|
19939
19941
|
*/
|
|
19940
|
-
toObject(t =
|
|
19942
|
+
toObject(t = Wa.defaultProtocol) {
|
|
19941
19943
|
return {
|
|
19942
19944
|
type: this.t,
|
|
19943
19945
|
value: this.toString(),
|
|
@@ -19998,7 +20000,7 @@ const kp = Ol("email", {
|
|
|
19998
20000
|
toHref() {
|
|
19999
20001
|
return "mailto:" + this.toString();
|
|
20000
20002
|
}
|
|
20001
|
-
}), Sp = Ol("text"), ZN = Ol("nl"),
|
|
20003
|
+
}), Sp = Ol("text"), ZN = Ol("nl"), Do = Ol("url", {
|
|
20002
20004
|
isLink: !0,
|
|
20003
20005
|
/**
|
|
20004
20006
|
Lowercases relevant parts of the domain and adds the protocol if
|
|
@@ -20007,7 +20009,7 @@ const kp = Ol("email", {
|
|
|
20007
20009
|
@param {string} [scheme] default scheme (e.g., 'https')
|
|
20008
20010
|
@return {string} the full href
|
|
20009
20011
|
*/
|
|
20010
|
-
toHref(t =
|
|
20012
|
+
toHref(t = Wa.defaultProtocol) {
|
|
20011
20013
|
return this.hasProtocol() ? this.v : `${t}://${this.v}`;
|
|
20012
20014
|
},
|
|
20013
20015
|
/**
|
|
@@ -20016,13 +20018,13 @@ const kp = Ol("email", {
|
|
|
20016
20018
|
*/
|
|
20017
20019
|
hasProtocol() {
|
|
20018
20020
|
const t = this.tk;
|
|
20019
|
-
return t.length >= 2 && t[0].t !==
|
|
20021
|
+
return t.length >= 2 && t[0].t !== Ua && t[1].t === Gn;
|
|
20020
20022
|
}
|
|
20021
20023
|
}), Rt = (t) => new yt(t);
|
|
20022
20024
|
function XN({
|
|
20023
20025
|
groups: t
|
|
20024
20026
|
}) {
|
|
20025
|
-
const e = t.domain.concat([
|
|
20027
|
+
const e = t.domain.concat([Bs, Vs, Wn, Ys, Us, Ws, Hs, Qs, Pt, Qd, ya, Gs, Js, Ks, an, Zs, Ca, qs]), n = [Fs, Gn, Jd, rn, Kd, ya, va, qd, Zd, Is, As, ba, wa, Ns, Ls, ks, Ss, Es, Ts, js, Ds, Rs, Os, zs, Ps], r = [Bs, Fs, Vs, Ys, Us, Ws, Hs, Qs, Pt, ba, wa, ya, Gs, Js, Ks, va, an, Zs, Ca, qs], i = Rt(), a = z(i, Ca);
|
|
20026
20028
|
ae(a, r, a), ae(a, t.domain, a);
|
|
20027
20029
|
const o = Rt(), s = Rt(), l = Rt();
|
|
20028
20030
|
ae(i, t.domain, o), ae(i, t.scheme, s), ae(i, t.slashscheme, l), ae(o, r, a), ae(o, t.domain, o);
|
|
@@ -20035,48 +20037,48 @@ function XN({
|
|
|
20035
20037
|
const p = z(u, rn);
|
|
20036
20038
|
ae(p, t.domain, u);
|
|
20037
20039
|
const h = Rt(kp);
|
|
20038
|
-
ae(p, t.tld, h), ae(p, t.utld, h), z(c,
|
|
20040
|
+
ae(p, t.tld, h), ae(p, t.utld, h), z(c, Ua, h);
|
|
20039
20041
|
const m = z(u, Pt);
|
|
20040
20042
|
z(m, Pt, m), ae(m, t.domain, u), ae(h, t.domain, u), z(h, rn, p), z(h, Pt, m);
|
|
20041
20043
|
const g = z(h, Gn);
|
|
20042
20044
|
ae(g, t.numeric, kp);
|
|
20043
20045
|
const w = z(o, Pt), v = z(o, rn);
|
|
20044
20046
|
z(w, Pt, w), ae(w, t.domain, o), ae(v, r, a), ae(v, t.domain, o);
|
|
20045
|
-
const M = Rt(
|
|
20047
|
+
const M = Rt(Do);
|
|
20046
20048
|
ae(v, t.tld, M), ae(v, t.utld, M), ae(M, t.domain, o), ae(M, r, a), z(M, rn, v), z(M, Pt, w), z(M, Wn, c);
|
|
20047
|
-
const x = z(M, Gn), y = Rt(
|
|
20049
|
+
const x = z(M, Gn), y = Rt(Do);
|
|
20048
20050
|
ae(x, t.numeric, y);
|
|
20049
|
-
const L = Rt(
|
|
20051
|
+
const L = Rt(Do), N = Rt();
|
|
20050
20052
|
ae(L, e, L), ae(L, n, N), ae(N, e, L), ae(N, n, N), z(M, an, L), z(y, an, L);
|
|
20051
20053
|
const k = z(s, Gn), A = z(l, Gn), j = z(A, an), S = z(j, an);
|
|
20052
20054
|
ae(s, t.domain, o), z(s, rn, v), z(s, Pt, w), ae(l, t.domain, o), z(l, rn, v), z(l, Pt, w), ae(k, t.domain, L), z(k, an, L), z(k, va, L), ae(S, t.domain, L), ae(S, e, L), z(S, an, L);
|
|
20053
20055
|
const R = [
|
|
20054
20056
|
[ba, wa],
|
|
20055
20057
|
// {}
|
|
20056
|
-
[
|
|
20058
|
+
[Ls, Ns],
|
|
20057
20059
|
// []
|
|
20058
|
-
[
|
|
20060
|
+
[ks, Ss],
|
|
20059
20061
|
// ()
|
|
20060
|
-
[
|
|
20062
|
+
[Is, As],
|
|
20061
20063
|
// <>
|
|
20062
|
-
[
|
|
20064
|
+
[Es, Ts],
|
|
20063
20065
|
// ()
|
|
20064
|
-
[
|
|
20066
|
+
[js, Ds],
|
|
20065
20067
|
// 「」
|
|
20066
|
-
[
|
|
20068
|
+
[Rs, Os],
|
|
20067
20069
|
// 『』
|
|
20068
|
-
[
|
|
20070
|
+
[zs, Ps]
|
|
20069
20071
|
// <>
|
|
20070
20072
|
];
|
|
20071
|
-
for (let
|
|
20072
|
-
const [V, B] = R[
|
|
20073
|
+
for (let U = 0; U < R.length; U++) {
|
|
20074
|
+
const [V, B] = R[U], H = z(L, V);
|
|
20073
20075
|
z(N, V, H), z(H, B, L);
|
|
20074
|
-
const E = Rt(
|
|
20076
|
+
const E = Rt(Do);
|
|
20075
20077
|
ae(H, e, E);
|
|
20076
|
-
const
|
|
20077
|
-
ae(H, n), ae(E, e, E), ae(E, n,
|
|
20078
|
+
const Y = Rt();
|
|
20079
|
+
ae(H, n), ae(E, e, E), ae(E, n, Y), ae(Y, e, E), ae(Y, n, Y), z(E, B, L), z(Y, B, L);
|
|
20078
20080
|
}
|
|
20079
|
-
return z(i,
|
|
20081
|
+
return z(i, Ua, M), z(i, Gd, ZN), {
|
|
20080
20082
|
start: i,
|
|
20081
20083
|
tokens: qg
|
|
20082
20084
|
};
|
|
@@ -20590,7 +20592,7 @@ var $g = Kr.create({
|
|
|
20590
20592
|
}
|
|
20591
20593
|
}), pk = {};
|
|
20592
20594
|
uk(pk, {
|
|
20593
|
-
findListItemPos: () =>
|
|
20595
|
+
findListItemPos: () => oo,
|
|
20594
20596
|
getNextListDepth: () => eu,
|
|
20595
20597
|
handleBackspace: () => Rc,
|
|
20596
20598
|
handleDelete: () => Oc,
|
|
@@ -20601,14 +20603,14 @@ uk(pk, {
|
|
|
20601
20603
|
nextListIsDeeper: () => ab,
|
|
20602
20604
|
nextListIsHigher: () => ob
|
|
20603
20605
|
});
|
|
20604
|
-
var
|
|
20606
|
+
var oo = (t, e) => {
|
|
20605
20607
|
const { $from: n } = e.selection, r = Ue(t, e.schema);
|
|
20606
20608
|
let i = null, a = n.depth, o = n.pos, s = null;
|
|
20607
20609
|
for (; a > 0 && s === null; )
|
|
20608
20610
|
i = n.node(a), i.type === r ? s = a : (a -= 1, o -= 1);
|
|
20609
20611
|
return s === null ? null : { $pos: e.doc.resolve(o), depth: s };
|
|
20610
20612
|
}, eu = (t, e) => {
|
|
20611
|
-
const n =
|
|
20613
|
+
const n = oo(t, e);
|
|
20612
20614
|
if (!n)
|
|
20613
20615
|
return !1;
|
|
20614
20616
|
const [, r] = g6(e, t, n.$pos.pos + 4);
|
|
@@ -20646,16 +20648,16 @@ var ao = (t, e) => {
|
|
|
20646
20648
|
}
|
|
20647
20649
|
if (!ir(t.state, e) || !v6(t.state))
|
|
20648
20650
|
return !1;
|
|
20649
|
-
const r =
|
|
20651
|
+
const r = oo(e, t.state);
|
|
20650
20652
|
if (!r)
|
|
20651
20653
|
return !1;
|
|
20652
20654
|
const a = t.state.doc.resolve(r.$pos.pos - 2).node(r.depth), o = ib(e, t.state, a);
|
|
20653
20655
|
return rb(e, t.state) && !o ? t.commands.joinItemBackward() : t.chain().liftListItem(e).run();
|
|
20654
20656
|
}, ab = (t, e) => {
|
|
20655
|
-
const n = eu(t, e), r =
|
|
20657
|
+
const n = eu(t, e), r = oo(t, e);
|
|
20656
20658
|
return !r || !n ? !1 : n > r.depth;
|
|
20657
20659
|
}, ob = (t, e) => {
|
|
20658
|
-
const n = eu(t, e), r =
|
|
20660
|
+
const n = eu(t, e), r = oo(t, e);
|
|
20659
20661
|
return !r || !n ? !1 : n < r.depth;
|
|
20660
20662
|
}, Oc = (t, e) => {
|
|
20661
20663
|
if (!ir(t.state, e) || !y6(t.state, e))
|
|
@@ -21064,7 +21066,7 @@ var Ck = "listItem", jp = "textStyle", Dp = /^(\d+)\.\s$/, fb = pt.create({
|
|
|
21064
21066
|
if (u.type !== this.type)
|
|
21065
21067
|
return !1;
|
|
21066
21068
|
i.dataset.checked = u.attrs.checked, s.checked = u.attrs.checked, c(u);
|
|
21067
|
-
const p = r.extensionManager.attributes, h =
|
|
21069
|
+
const p = r.extensionManager.attributes, h = Ya(u, p), m = new Set(Object.keys(h)), g = this.options.HTMLAttributes;
|
|
21068
21070
|
return d.forEach((w) => {
|
|
21069
21071
|
m.has(w) || (w in g ? i.setAttribute(w, g[w]) : i.removeAttribute(w));
|
|
21070
21072
|
}), Object.entries(h).forEach(([w, v]) => {
|
|
@@ -21205,7 +21207,7 @@ De.create({
|
|
|
21205
21207
|
return this.options.bulletList !== !1 && t.push(eb.configure(this.options.bulletList)), this.options.listItem !== !1 && t.push(tb.configure(this.options.listItem)), this.options.listKeymap !== !1 && t.push(sb.configure(this.options.listKeymap)), this.options.orderedList !== !1 && t.push(fb.configure(this.options.orderedList)), this.options.taskItem !== !1 && t.push(xk.configure(this.options.taskItem)), this.options.taskList !== !1 && t.push(Lk.configure(this.options.taskList)), t;
|
|
21206
21208
|
}
|
|
21207
21209
|
});
|
|
21208
|
-
var
|
|
21210
|
+
var Ro = " ", zf = " ", Nk = pt.create({
|
|
21209
21211
|
name: "paragraph",
|
|
21210
21212
|
priority: 1e3,
|
|
21211
21213
|
addOptions() {
|
|
@@ -21226,7 +21228,7 @@ var Do = " ", zf = " ", Nk = pt.create({
|
|
|
21226
21228
|
if (n.length === 1 && n[0].type === "image")
|
|
21227
21229
|
return e.parseChildren([n[0]]);
|
|
21228
21230
|
const r = e.parseInline(n);
|
|
21229
|
-
return n.length === 1 && n[0].type === "text" && (n[0].raw ===
|
|
21231
|
+
return n.length === 1 && n[0].type === "text" && (n[0].raw === Ro || n[0].text === Ro || n[0].raw === zf || n[0].text === zf) && r.length === 1 && r[0].type === "text" && (r[0].text === Ro || r[0].text === zf) ? e.createNode("paragraph", void 0, []) : e.createNode("paragraph", void 0, r);
|
|
21230
21232
|
},
|
|
21231
21233
|
renderMarkdown: (t, e, n) => {
|
|
21232
21234
|
var r, i;
|
|
@@ -21235,7 +21237,7 @@ var Do = " ", zf = " ", Nk = pt.create({
|
|
|
21235
21237
|
const a = Array.isArray(t.content) ? t.content : [];
|
|
21236
21238
|
if (a.length === 0) {
|
|
21237
21239
|
const o = Array.isArray((r = n == null ? void 0 : n.previousNode) == null ? void 0 : r.content) ? n.previousNode.content : [];
|
|
21238
|
-
return ((i = n == null ? void 0 : n.previousNode) == null ? void 0 : i.type) === "paragraph" && o.length === 0 ?
|
|
21240
|
+
return ((i = n == null ? void 0 : n.previousNode) == null ? void 0 : i.type) === "paragraph" && o.length === 0 ? Ro : "";
|
|
21239
21241
|
}
|
|
21240
21242
|
return e.renderChildren(a);
|
|
21241
21243
|
},
|
|
@@ -21609,12 +21611,12 @@ function Ok() {
|
|
|
21609
21611
|
});
|
|
21610
21612
|
}
|
|
21611
21613
|
const zk = ng({
|
|
21612
|
-
ArrowLeft:
|
|
21613
|
-
ArrowRight:
|
|
21614
|
-
ArrowUp:
|
|
21615
|
-
ArrowDown:
|
|
21614
|
+
ArrowLeft: Oo("horiz", -1),
|
|
21615
|
+
ArrowRight: Oo("horiz", 1),
|
|
21616
|
+
ArrowUp: Oo("vert", -1),
|
|
21617
|
+
ArrowDown: Oo("vert", 1)
|
|
21616
21618
|
});
|
|
21617
|
-
function
|
|
21619
|
+
function Oo(t, e) {
|
|
21618
21620
|
const n = t == "vert" ? e > 0 ? "down" : "up" : e > 0 ? "right" : "left";
|
|
21619
21621
|
return function(r, i, a) {
|
|
21620
21622
|
let o = r.selection, s = e > 0 ? o.$to : o.$from, l = o.empty;
|
|
@@ -21654,10 +21656,10 @@ function Fk(t) {
|
|
|
21654
21656
|
let e = document.createElement("div");
|
|
21655
21657
|
return e.className = "ProseMirror-gapcursor", Se.create(t.doc, [at.widget(t.selection.head, e, { key: "gapcursor" })]);
|
|
21656
21658
|
}
|
|
21657
|
-
var
|
|
21659
|
+
var Xs = 200, Qe = function() {
|
|
21658
21660
|
};
|
|
21659
21661
|
Qe.prototype.append = function(e) {
|
|
21660
|
-
return e.length ? (e = Qe.from(e), !this.length && e || e.length <
|
|
21662
|
+
return e.length ? (e = Qe.from(e), !this.length && e || e.length < Xs && this.leafAppend(e) || this.length < Xs && e.leafPrepend(this) || this.appendInner(e)) : this;
|
|
21661
21663
|
};
|
|
21662
21664
|
Qe.prototype.prepend = function(e) {
|
|
21663
21665
|
return e.length ? Qe.from(e).append(this) : this;
|
|
@@ -21706,10 +21708,10 @@ var ub = /* @__PURE__ */ (function(t) {
|
|
|
21706
21708
|
if (i(this.values[l], s + l) === !1)
|
|
21707
21709
|
return !1;
|
|
21708
21710
|
}, e.prototype.leafAppend = function(i) {
|
|
21709
|
-
if (this.length + i.length <=
|
|
21711
|
+
if (this.length + i.length <= Xs)
|
|
21710
21712
|
return new e(this.values.concat(i.flatten()));
|
|
21711
21713
|
}, e.prototype.leafPrepend = function(i) {
|
|
21712
|
-
if (this.length + i.length <=
|
|
21714
|
+
if (this.length + i.length <= Xs)
|
|
21713
21715
|
return new e(i.flatten().concat(this.values));
|
|
21714
21716
|
}, n.length.get = function() {
|
|
21715
21717
|
return this.values.length;
|
|
@@ -21796,7 +21798,7 @@ class Xt {
|
|
|
21796
21798
|
return c > Wk && (s = Uk(s, c), o -= c), new Xt(s.append(a), o);
|
|
21797
21799
|
}
|
|
21798
21800
|
remapping(e, n) {
|
|
21799
|
-
let r = new
|
|
21801
|
+
let r = new Oa();
|
|
21800
21802
|
return this.items.forEach((i, a) => {
|
|
21801
21803
|
let o = i.mirrorOffset != null && a - i.mirrorOffset >= e ? r.maps.length - i.mirrorOffset : void 0;
|
|
21802
21804
|
r.appendMap(i.map, o);
|
|
@@ -21899,10 +21901,10 @@ function Hk(t, e, n, r) {
|
|
|
21899
21901
|
if (n.steps.length == 0)
|
|
21900
21902
|
return t;
|
|
21901
21903
|
if (o && o.getMeta(Dr))
|
|
21902
|
-
return o.getMeta(Dr).redo ? new Hn(t.done.addTransform(n, void 0, r,
|
|
21904
|
+
return o.getMeta(Dr).redo ? new Hn(t.done.addTransform(n, void 0, r, Jo(e)), t.undone, Rp(n.mapping.maps), t.prevTime, t.prevComposition) : new Hn(t.done, t.undone.addTransform(n, void 0, r, Jo(e)), null, t.prevTime, t.prevComposition);
|
|
21903
21905
|
if (n.getMeta("addToHistory") !== !1 && !(o && o.getMeta("addToHistory") === !1)) {
|
|
21904
21906
|
let s = n.getMeta("composition"), l = t.prevTime == 0 || !o && t.prevComposition != s && (t.prevTime < (n.time || 0) - r.newGroupDelay || !Qk(n, t.prevRanges)), c = o ? Pf(t.prevRanges, n.mapping) : Rp(n.mapping.maps);
|
|
21905
|
-
return new Hn(t.done.addTransform(n, l ? e.selection.getBookmark() : void 0, r,
|
|
21907
|
+
return new Hn(t.done.addTransform(n, l ? e.selection.getBookmark() : void 0, r, Jo(e)), Xt.empty, c, n.time, s ?? t.prevComposition);
|
|
21906
21908
|
} else return (a = n.getMeta("rebased")) ? new Hn(t.done.rebased(n, a), t.undone.rebased(n, a), Pf(t.prevRanges, n.mapping), t.prevTime, t.prevComposition) : new Hn(t.done.addMaps(n.mapping.maps), t.undone.addMaps(n.mapping.maps), Pf(t.prevRanges, n.mapping), t.prevTime, t.prevComposition);
|
|
21907
21909
|
}
|
|
21908
21910
|
function Qk(t, e) {
|
|
@@ -21933,14 +21935,14 @@ function Pf(t, e) {
|
|
|
21933
21935
|
return n;
|
|
21934
21936
|
}
|
|
21935
21937
|
function Gk(t, e, n) {
|
|
21936
|
-
let r =
|
|
21938
|
+
let r = Jo(e), i = Dr.get(e).spec.config, a = (n ? t.undone : t.done).popEvent(e, r);
|
|
21937
21939
|
if (!a)
|
|
21938
21940
|
return null;
|
|
21939
21941
|
let o = a.selection.resolve(a.transform.doc), s = (n ? t.done : t.undone).addTransform(a.transform, e.selection.getBookmark(), i, r), l = new Hn(n ? s : a.remaining, n ? a.remaining : s, null, 0, -1);
|
|
21940
21942
|
return a.transform.setSelection(o).setMeta(Dr, { redo: n, historyState: l });
|
|
21941
21943
|
}
|
|
21942
21944
|
let Bf = !1, Op = null;
|
|
21943
|
-
function
|
|
21945
|
+
function Jo(t) {
|
|
21944
21946
|
let e = t.plugins;
|
|
21945
21947
|
if (Op != e) {
|
|
21946
21948
|
Bf = !1, Op = e;
|
|
@@ -22462,30 +22464,30 @@ function lS({
|
|
|
22462
22464
|
}) {
|
|
22463
22465
|
let M;
|
|
22464
22466
|
const x = h == null ? void 0 : h(), y = r && !i, L = () => {
|
|
22465
|
-
const S = e.state.selection.$anchor.pos, R = e.view.coordsAtPos(S), { top:
|
|
22467
|
+
const S = e.state.selection.$anchor.pos, R = e.view.coordsAtPos(S), { top: U, right: V, bottom: B, left: H } = R;
|
|
22466
22468
|
try {
|
|
22467
|
-
return new DOMRect(H,
|
|
22469
|
+
return new DOMRect(H, U, V - H, B - U);
|
|
22468
22470
|
} catch {
|
|
22469
22471
|
return null;
|
|
22470
22472
|
}
|
|
22471
22473
|
}, N = (S, R) => R ? () => {
|
|
22472
|
-
const
|
|
22474
|
+
const U = t.getState(e.state), V = U == null ? void 0 : U.decorationId, B = S.dom.querySelector(`[data-decoration-id="${V}"]`);
|
|
22473
22475
|
return (B == null ? void 0 : B.getBoundingClientRect()) || null;
|
|
22474
22476
|
} : L, k = ({
|
|
22475
22477
|
match: S,
|
|
22476
22478
|
dismissedRange: R,
|
|
22477
|
-
state:
|
|
22479
|
+
state: U,
|
|
22478
22480
|
transaction: V
|
|
22479
22481
|
}) => v != null && v({
|
|
22480
22482
|
editor: e,
|
|
22481
|
-
state:
|
|
22483
|
+
state: U,
|
|
22482
22484
|
range: R,
|
|
22483
22485
|
match: S,
|
|
22484
22486
|
transaction: V,
|
|
22485
22487
|
allowSpaces: y
|
|
22486
22488
|
}) ? !1 : y ? S.range.from === R.from : S.range.from === R.from && !oS(V);
|
|
22487
22489
|
function A(S, R) {
|
|
22488
|
-
var
|
|
22490
|
+
var U;
|
|
22489
22491
|
try {
|
|
22490
22492
|
const B = t.getState(S.state), H = B != null && B.decorationId ? S.dom.querySelector(`[data-decoration-id="${B.decorationId}"]`) : null, E = {
|
|
22491
22493
|
// @ts-ignore editor is available in closure
|
|
@@ -22494,11 +22496,11 @@ function lS({
|
|
|
22494
22496
|
query: (B == null ? void 0 : B.query) || null,
|
|
22495
22497
|
text: (B == null ? void 0 : B.text) || null,
|
|
22496
22498
|
items: [],
|
|
22497
|
-
command: (
|
|
22499
|
+
command: (Y) => u({ editor: e, range: (B == null ? void 0 : B.range) || { from: 0, to: 0 }, props: Y }),
|
|
22498
22500
|
decorationNode: H,
|
|
22499
22501
|
clientRect: N(S, H)
|
|
22500
22502
|
};
|
|
22501
|
-
(
|
|
22503
|
+
(U = x == null ? void 0 : x.onExit) == null || U.call(x, E);
|
|
22502
22504
|
} catch {
|
|
22503
22505
|
}
|
|
22504
22506
|
const V = S.state.tr.setMeta(R, { exit: !0 });
|
|
@@ -22509,8 +22511,8 @@ function lS({
|
|
|
22509
22511
|
view() {
|
|
22510
22512
|
return {
|
|
22511
22513
|
update: async (S, R) => {
|
|
22512
|
-
var
|
|
22513
|
-
const Q = (
|
|
22514
|
+
var U, V, B, H, E, Y, _;
|
|
22515
|
+
const Q = (U = this.key) == null ? void 0 : U.getState(R), pe = (V = this.key) == null ? void 0 : V.getState(S.state), me = Q.active && pe.active && Q.range.from !== pe.range.from, Ee = !Q.active && pe.active, J = Q.active && !pe.active, X = !Ee && !J && Q.query !== pe.query, ie = Ee || me && X, ne = X || me, T = J || me && X;
|
|
22514
22516
|
if (!ie && !ne && !T)
|
|
22515
22517
|
return;
|
|
22516
22518
|
const G = T && !ie ? Q : pe, te = S.dom.querySelector(`[data-decoration-id="${G.decorationId}"]`);
|
|
@@ -22530,7 +22532,7 @@ function lS({
|
|
|
22530
22532
|
}, ie && ((B = x == null ? void 0 : x.onBeforeStart) == null || B.call(x, M)), ne && ((H = x == null ? void 0 : x.onBeforeUpdate) == null || H.call(x, M)), (ne || ie) && (M.items = await p({
|
|
22531
22533
|
editor: e,
|
|
22532
22534
|
query: G.query
|
|
22533
|
-
})), T && ((E = x == null ? void 0 : x.onExit) == null || E.call(x, M)), ne && ((
|
|
22535
|
+
})), T && ((E = x == null ? void 0 : x.onExit) == null || E.call(x, M)), ne && ((Y = x == null ? void 0 : x.onUpdate) == null || Y.call(x, M)), ie && ((_ = x == null ? void 0 : x.onStart) == null || _.call(x, M));
|
|
22534
22536
|
},
|
|
22535
22537
|
destroy: () => {
|
|
22536
22538
|
var S;
|
|
@@ -22554,14 +22556,14 @@ function lS({
|
|
|
22554
22556
|
};
|
|
22555
22557
|
},
|
|
22556
22558
|
// Apply changes to the plugin state from a view transaction.
|
|
22557
|
-
apply(S, R,
|
|
22558
|
-
const { isEditable: B } = e, { composing: H } = e.view, { selection: E } = S, { empty:
|
|
22559
|
+
apply(S, R, U, V) {
|
|
22560
|
+
const { isEditable: B } = e, { composing: H } = e.view, { selection: E } = S, { empty: Y, from: _ } = E, Q = { ...R }, pe = S.getMeta(t);
|
|
22559
22561
|
if (pe && pe.exit)
|
|
22560
22562
|
return Q.active = !1, Q.decorationId = null, Q.range = { from: 0, to: 0 }, Q.query = null, Q.text = null, Q.dismissedRange = R.active ? { ...R.range } : R.dismissedRange, Q;
|
|
22561
22563
|
if (Q.composing = H, S.docChanged && Q.dismissedRange !== null && (Q.dismissedRange = {
|
|
22562
22564
|
from: S.mapping.map(Q.dismissedRange.from),
|
|
22563
22565
|
to: S.mapping.map(Q.dismissedRange.to)
|
|
22564
|
-
}), B && (
|
|
22566
|
+
}), B && (Y || e.view.composing)) {
|
|
22565
22567
|
(_ < R.range.from || _ > R.range.to) && !H && !R.composing && (Q.active = !1);
|
|
22566
22568
|
const me = g({
|
|
22567
22569
|
char: n,
|
|
@@ -22596,24 +22598,24 @@ function lS({
|
|
|
22596
22598
|
props: {
|
|
22597
22599
|
// Call the keydown hook if suggestion is active.
|
|
22598
22600
|
handleKeyDown(S, R) {
|
|
22599
|
-
var
|
|
22601
|
+
var U, V;
|
|
22600
22602
|
const { active: B, range: H } = j.getState(S.state);
|
|
22601
22603
|
if (!B)
|
|
22602
22604
|
return !1;
|
|
22603
22605
|
if (R.key === "Escape" || R.key === "Esc") {
|
|
22604
|
-
const
|
|
22605
|
-
return (
|
|
22606
|
+
const Y = j.getState(S.state);
|
|
22607
|
+
return (U = x == null ? void 0 : x.onKeyDown) == null || U.call(x, { view: S, event: R, range: Y.range }), A(S, t), !0;
|
|
22606
22608
|
}
|
|
22607
22609
|
return ((V = x == null ? void 0 : x.onKeyDown) == null ? void 0 : V.call(x, { view: S, event: R, range: H })) || !1;
|
|
22608
22610
|
},
|
|
22609
22611
|
// Setup decorator on the currently active suggestion.
|
|
22610
22612
|
decorations(S) {
|
|
22611
|
-
const { active: R, range:
|
|
22613
|
+
const { active: R, range: U, decorationId: V, query: B } = j.getState(S);
|
|
22612
22614
|
if (!R)
|
|
22613
22615
|
return null;
|
|
22614
22616
|
const H = !(B != null && B.length), E = [l];
|
|
22615
22617
|
return H && E.push(d), Se.create(S.doc, [
|
|
22616
|
-
at.inline(
|
|
22618
|
+
at.inline(U.from, U.to, {
|
|
22617
22619
|
nodeName: s,
|
|
22618
22620
|
class: E.join(" "),
|
|
22619
22621
|
"data-decoration-id": V,
|
|
@@ -22803,10 +22805,10 @@ var cS = pt.create({
|
|
|
22803
22805
|
addProseMirrorPlugins() {
|
|
22804
22806
|
return wb(this).map(lS);
|
|
22805
22807
|
}
|
|
22806
|
-
}), dS = cS, Mt = "top", Qt = "bottom", Gt = "right", xt = "left", nu = "auto",
|
|
22807
|
-
return t.concat([e + "-" + Ti, e + "-" +
|
|
22808
|
-
}, []), vb = /* @__PURE__ */ [].concat(
|
|
22809
|
-
return t.concat([e, e + "-" + Ti, e + "-" +
|
|
22808
|
+
}), dS = cS, Mt = "top", Qt = "bottom", Gt = "right", xt = "left", nu = "auto", so = [Mt, Qt, Gt, xt], Ti = "start", Ha = "end", uS = "clippingParents", yb = "viewport", $i = "popper", hS = "reference", Fp = /* @__PURE__ */ so.reduce(function(t, e) {
|
|
22809
|
+
return t.concat([e + "-" + Ti, e + "-" + Ha]);
|
|
22810
|
+
}, []), vb = /* @__PURE__ */ [].concat(so, [nu]).reduce(function(t, e) {
|
|
22811
|
+
return t.concat([e, e + "-" + Ti, e + "-" + Ha]);
|
|
22810
22812
|
}, []), pS = "beforeRead", mS = "read", gS = "afterRead", bS = "beforeMain", wS = "main", yS = "afterMain", vS = "beforeWrite", CS = "write", MS = "afterWrite", xS = [pS, mS, gS, bS, wS, yS, vS, CS, MS];
|
|
22811
22813
|
function hn(t) {
|
|
22812
22814
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
@@ -22879,7 +22881,7 @@ const Cb = {
|
|
|
22879
22881
|
function fn(t) {
|
|
22880
22882
|
return t.split("-")[0];
|
|
22881
22883
|
}
|
|
22882
|
-
var Rr = Math.max,
|
|
22884
|
+
var Rr = Math.max, _s = Math.min, ji = Math.round;
|
|
22883
22885
|
function zc() {
|
|
22884
22886
|
var t = navigator.userAgentData;
|
|
22885
22887
|
return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
|
|
@@ -22972,7 +22974,7 @@ function SS(t) {
|
|
|
22972
22974
|
}
|
|
22973
22975
|
return null;
|
|
22974
22976
|
}
|
|
22975
|
-
function
|
|
22977
|
+
function lo(t) {
|
|
22976
22978
|
for (var e = At(t), n = Vp(t); n && kS(n) && On(n).position === "static"; )
|
|
22977
22979
|
n = Vp(n);
|
|
22978
22980
|
return n && (hn(n) === "html" || hn(n) === "body" && On(n).position === "static") ? e : n || SS(t) || e;
|
|
@@ -22981,7 +22983,7 @@ function au(t) {
|
|
|
22981
22983
|
return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
|
|
22982
22984
|
}
|
|
22983
22985
|
function Ma(t, e, n) {
|
|
22984
|
-
return Rr(t,
|
|
22986
|
+
return Rr(t, _s(e, n));
|
|
22985
22987
|
}
|
|
22986
22988
|
function IS(t, e, n) {
|
|
22987
22989
|
var r = Ma(t, e, n);
|
|
@@ -23006,12 +23008,12 @@ function kb(t, e) {
|
|
|
23006
23008
|
var AS = function(e, n) {
|
|
23007
23009
|
return e = typeof e == "function" ? e(Object.assign({}, n.rects, {
|
|
23008
23010
|
placement: n.placement
|
|
23009
|
-
})) : e, Nb(typeof e != "number" ? e : kb(e,
|
|
23011
|
+
})) : e, Nb(typeof e != "number" ? e : kb(e, so));
|
|
23010
23012
|
};
|
|
23011
23013
|
function ES(t) {
|
|
23012
23014
|
var e, n = t.state, r = t.name, i = t.options, a = n.elements.arrow, o = n.modifiersData.popperOffsets, s = fn(n.placement), l = au(s), c = [xt, Gt].indexOf(s) >= 0, d = c ? "height" : "width";
|
|
23013
23015
|
if (!(!a || !o)) {
|
|
23014
|
-
var u = AS(i.padding, n), p = iu(a), h = l === "y" ? Mt : xt, m = l === "y" ? Qt : Gt, g = n.rects.reference[d] + n.rects.reference[l] - o[l] - n.rects.popper[d], w = o[l] - n.rects.reference[l], v =
|
|
23016
|
+
var u = AS(i.padding, n), p = iu(a), h = l === "y" ? Mt : xt, m = l === "y" ? Qt : Gt, g = n.rects.reference[d] + n.rects.reference[l] - o[l] - n.rects.popper[d], w = o[l] - n.rects.reference[l], v = lo(a), M = v ? l === "y" ? v.clientHeight || 0 : v.clientWidth || 0 : 0, x = g / 2 - w / 2, y = u[h], L = M - p[d] - u[m], N = M / 2 - p[d] / 2 + x, k = Ma(y, N, L), A = l;
|
|
23015
23017
|
n.modifiersData[r] = (e = {}, e[A] = k, e.centerOffset = k - N, e);
|
|
23016
23018
|
}
|
|
23017
23019
|
}
|
|
@@ -23055,8 +23057,8 @@ function Yp(t) {
|
|
|
23055
23057
|
h = w.x, g = w.y;
|
|
23056
23058
|
var v = o.hasOwnProperty("x"), M = o.hasOwnProperty("y"), x = xt, y = Mt, L = window;
|
|
23057
23059
|
if (c) {
|
|
23058
|
-
var N =
|
|
23059
|
-
if (N === At(n) && (N = dr(n), On(N).position !== "static" && s === "absolute" && (k = "scrollHeight", A = "scrollWidth")), N = N, i === Mt || (i === xt || i === Gt) && a ===
|
|
23060
|
+
var N = lo(n), k = "clientHeight", A = "clientWidth";
|
|
23061
|
+
if (N === At(n) && (N = dr(n), On(N).position !== "static" && s === "absolute" && (k = "scrollHeight", A = "scrollWidth")), N = N, i === Mt || (i === xt || i === Gt) && a === Ha) {
|
|
23060
23062
|
y = Qt;
|
|
23061
23063
|
var j = u && N === L && L.visualViewport ? L.visualViewport.height : (
|
|
23062
23064
|
// $FlowFixMe[prop-missing]
|
|
@@ -23064,7 +23066,7 @@ function Yp(t) {
|
|
|
23064
23066
|
);
|
|
23065
23067
|
g -= j - r.height, g *= l ? 1 : -1;
|
|
23066
23068
|
}
|
|
23067
|
-
if (i === xt || (i === Mt || i === Qt) && a ===
|
|
23069
|
+
if (i === xt || (i === Mt || i === Qt) && a === Ha) {
|
|
23068
23070
|
x = Gt;
|
|
23069
23071
|
var S = u && N === L && L.visualViewport ? L.visualViewport.width : (
|
|
23070
23072
|
// $FlowFixMe[prop-missing]
|
|
@@ -23075,14 +23077,14 @@ function Yp(t) {
|
|
|
23075
23077
|
}
|
|
23076
23078
|
var R = Object.assign({
|
|
23077
23079
|
position: s
|
|
23078
|
-
}, c && DS),
|
|
23080
|
+
}, c && DS), U = d === !0 ? RS({
|
|
23079
23081
|
x: h,
|
|
23080
23082
|
y: g
|
|
23081
23083
|
}, At(n)) : {
|
|
23082
23084
|
x: h,
|
|
23083
23085
|
y: g
|
|
23084
23086
|
};
|
|
23085
|
-
if (h =
|
|
23087
|
+
if (h = U.x, g = U.y, l) {
|
|
23086
23088
|
var V;
|
|
23087
23089
|
return Object.assign({}, R, (V = {}, V[y] = M ? "0" : "", V[x] = v ? "0" : "", V.transform = (L.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + g + "px)" : "translate3d(" + h + "px, " + g + "px, 0)", V));
|
|
23088
23090
|
}
|
|
@@ -23118,17 +23120,17 @@ const zS = {
|
|
|
23118
23120
|
fn: OS,
|
|
23119
23121
|
data: {}
|
|
23120
23122
|
};
|
|
23121
|
-
var
|
|
23123
|
+
var zo = {
|
|
23122
23124
|
passive: !0
|
|
23123
23125
|
};
|
|
23124
23126
|
function PS(t) {
|
|
23125
23127
|
var e = t.state, n = t.instance, r = t.options, i = r.scroll, a = i === void 0 ? !0 : i, o = r.resize, s = o === void 0 ? !0 : o, l = At(e.elements.popper), c = [].concat(e.scrollParents.reference, e.scrollParents.popper);
|
|
23126
23128
|
return a && c.forEach(function(d) {
|
|
23127
|
-
d.addEventListener("scroll", n.update,
|
|
23128
|
-
}), s && l.addEventListener("resize", n.update,
|
|
23129
|
+
d.addEventListener("scroll", n.update, zo);
|
|
23130
|
+
}), s && l.addEventListener("resize", n.update, zo), function() {
|
|
23129
23131
|
a && c.forEach(function(d) {
|
|
23130
|
-
d.removeEventListener("scroll", n.update,
|
|
23131
|
-
}), s && l.removeEventListener("resize", n.update,
|
|
23132
|
+
d.removeEventListener("scroll", n.update, zo);
|
|
23133
|
+
}), s && l.removeEventListener("resize", n.update, zo);
|
|
23132
23134
|
};
|
|
23133
23135
|
}
|
|
23134
23136
|
const BS = {
|
|
@@ -23146,7 +23148,7 @@ var FS = {
|
|
|
23146
23148
|
bottom: "top",
|
|
23147
23149
|
top: "bottom"
|
|
23148
23150
|
};
|
|
23149
|
-
function
|
|
23151
|
+
function Ko(t) {
|
|
23150
23152
|
return t.replace(/left|right|bottom|top/g, function(e) {
|
|
23151
23153
|
return FS[e];
|
|
23152
23154
|
});
|
|
@@ -23225,7 +23227,7 @@ function Wp(t, e, n) {
|
|
|
23225
23227
|
return e === yb ? Pc(YS(t, n)) : Ur(e) ? WS(e, n) : Pc(US(dr(t)));
|
|
23226
23228
|
}
|
|
23227
23229
|
function HS(t) {
|
|
23228
|
-
var e = xa(zl(t)), n = ["absolute", "fixed"].indexOf(On(t).position) >= 0, r = n && Ht(t) ?
|
|
23230
|
+
var e = xa(zl(t)), n = ["absolute", "fixed"].indexOf(On(t).position) >= 0, r = n && Ht(t) ? lo(t) : t;
|
|
23229
23231
|
return Ur(r) ? e.filter(function(i) {
|
|
23230
23232
|
return Ur(i) && xb(i, r) && hn(i) !== "body";
|
|
23231
23233
|
}) : [];
|
|
@@ -23233,7 +23235,7 @@ function HS(t) {
|
|
|
23233
23235
|
function QS(t, e, n, r) {
|
|
23234
23236
|
var i = e === "clippingParents" ? HS(t) : [].concat(e), a = [].concat(i, [n]), o = a[0], s = a.reduce(function(l, c) {
|
|
23235
23237
|
var d = Wp(t, c, r);
|
|
23236
|
-
return l.top = Rr(d.top, l.top), l.right =
|
|
23238
|
+
return l.top = Rr(d.top, l.top), l.right = _s(d.right, l.right), l.bottom = _s(d.bottom, l.bottom), l.left = Rr(d.left, l.left), l;
|
|
23237
23239
|
}, Wp(t, o, r));
|
|
23238
23240
|
return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s;
|
|
23239
23241
|
}
|
|
@@ -23277,16 +23279,16 @@ function Ib(t) {
|
|
|
23277
23279
|
case Ti:
|
|
23278
23280
|
l[c] = l[c] - (e[d] / 2 - n[d] / 2);
|
|
23279
23281
|
break;
|
|
23280
|
-
case
|
|
23282
|
+
case Ha:
|
|
23281
23283
|
l[c] = l[c] + (e[d] / 2 - n[d] / 2);
|
|
23282
23284
|
break;
|
|
23283
23285
|
}
|
|
23284
23286
|
}
|
|
23285
23287
|
return l;
|
|
23286
23288
|
}
|
|
23287
|
-
function
|
|
23289
|
+
function Qa(t, e) {
|
|
23288
23290
|
e === void 0 && (e = {});
|
|
23289
|
-
var n = e, r = n.placement, i = r === void 0 ? t.placement : r, a = n.strategy, o = a === void 0 ? t.strategy : a, s = n.boundary, l = s === void 0 ? uS : s, c = n.rootBoundary, d = c === void 0 ? yb : c, u = n.elementContext, p = u === void 0 ? $i : u, h = n.altBoundary, m = h === void 0 ? !1 : h, g = n.padding, w = g === void 0 ? 0 : g, v = Nb(typeof w != "number" ? w : kb(w,
|
|
23291
|
+
var n = e, r = n.placement, i = r === void 0 ? t.placement : r, a = n.strategy, o = a === void 0 ? t.strategy : a, s = n.boundary, l = s === void 0 ? uS : s, c = n.rootBoundary, d = c === void 0 ? yb : c, u = n.elementContext, p = u === void 0 ? $i : u, h = n.altBoundary, m = h === void 0 ? !1 : h, g = n.padding, w = g === void 0 ? 0 : g, v = Nb(typeof w != "number" ? w : kb(w, so)), M = p === $i ? hS : $i, x = t.rects.popper, y = t.elements[m ? M : p], L = QS(Ur(y) ? y : y.contextElement || dr(t.elements.popper), l, d, o), N = Di(t.elements.reference), k = Ib({
|
|
23290
23292
|
reference: N,
|
|
23291
23293
|
element: x,
|
|
23292
23294
|
placement: i
|
|
@@ -23297,10 +23299,10 @@ function Ha(t, e) {
|
|
|
23297
23299
|
right: j.right - L.right + v.right
|
|
23298
23300
|
}, R = t.modifiersData.offset;
|
|
23299
23301
|
if (p === $i && R) {
|
|
23300
|
-
var
|
|
23302
|
+
var U = R[i];
|
|
23301
23303
|
Object.keys(S).forEach(function(V) {
|
|
23302
23304
|
var B = [Gt, Qt].indexOf(V) >= 0 ? 1 : -1, H = [Mt, Qt].indexOf(V) >= 0 ? "y" : "x";
|
|
23303
|
-
S[V] +=
|
|
23305
|
+
S[V] += U[H] * B;
|
|
23304
23306
|
});
|
|
23305
23307
|
}
|
|
23306
23308
|
return S;
|
|
@@ -23309,12 +23311,12 @@ function GS(t, e) {
|
|
|
23309
23311
|
e === void 0 && (e = {});
|
|
23310
23312
|
var n = e, r = n.placement, i = n.boundary, a = n.rootBoundary, o = n.padding, s = n.flipVariations, l = n.allowedAutoPlacements, c = l === void 0 ? vb : l, d = Ri(r), u = d ? s ? Fp : Fp.filter(function(m) {
|
|
23311
23313
|
return Ri(m) === d;
|
|
23312
|
-
}) :
|
|
23314
|
+
}) : so, p = u.filter(function(m) {
|
|
23313
23315
|
return c.indexOf(m) >= 0;
|
|
23314
23316
|
});
|
|
23315
23317
|
p.length === 0 && (p = u);
|
|
23316
23318
|
var h = p.reduce(function(m, g) {
|
|
23317
|
-
return m[g] =
|
|
23319
|
+
return m[g] = Qa(t, {
|
|
23318
23320
|
placement: g,
|
|
23319
23321
|
boundary: i,
|
|
23320
23322
|
rootBoundary: a,
|
|
@@ -23328,13 +23330,13 @@ function GS(t, e) {
|
|
|
23328
23330
|
function JS(t) {
|
|
23329
23331
|
if (fn(t) === nu)
|
|
23330
23332
|
return [];
|
|
23331
|
-
var e =
|
|
23333
|
+
var e = Ko(t);
|
|
23332
23334
|
return [Up(t), e, Up(e)];
|
|
23333
23335
|
}
|
|
23334
23336
|
function KS(t) {
|
|
23335
23337
|
var e = t.state, n = t.options, r = t.name;
|
|
23336
23338
|
if (!e.modifiersData[r]._skip) {
|
|
23337
|
-
for (var i = n.mainAxis, a = i === void 0 ? !0 : i, o = n.altAxis, s = o === void 0 ? !0 : o, l = n.fallbackPlacements, c = n.padding, d = n.boundary, u = n.rootBoundary, p = n.altBoundary, h = n.flipVariations, m = h === void 0 ? !0 : h, g = n.allowedAutoPlacements, w = e.options.placement, v = fn(w), M = v === w, x = l || (M || !m ? [
|
|
23339
|
+
for (var i = n.mainAxis, a = i === void 0 ? !0 : i, o = n.altAxis, s = o === void 0 ? !0 : o, l = n.fallbackPlacements, c = n.padding, d = n.boundary, u = n.rootBoundary, p = n.altBoundary, h = n.flipVariations, m = h === void 0 ? !0 : h, g = n.allowedAutoPlacements, w = e.options.placement, v = fn(w), M = v === w, x = l || (M || !m ? [Ko(w)] : JS(w)), y = [w].concat(x).reduce(function(X, ie) {
|
|
23338
23340
|
return X.concat(fn(ie) === nu ? GS(e, {
|
|
23339
23341
|
placement: ie,
|
|
23340
23342
|
boundary: d,
|
|
@@ -23344,16 +23346,16 @@ function KS(t) {
|
|
|
23344
23346
|
allowedAutoPlacements: g
|
|
23345
23347
|
}) : ie);
|
|
23346
23348
|
}, []), L = e.rects.reference, N = e.rects.popper, k = /* @__PURE__ */ new Map(), A = !0, j = y[0], S = 0; S < y.length; S++) {
|
|
23347
|
-
var R = y[S],
|
|
23349
|
+
var R = y[S], U = fn(R), V = Ri(R) === Ti, B = [Mt, Qt].indexOf(U) >= 0, H = B ? "width" : "height", E = Qa(e, {
|
|
23348
23350
|
placement: R,
|
|
23349
23351
|
boundary: d,
|
|
23350
23352
|
rootBoundary: u,
|
|
23351
23353
|
altBoundary: p,
|
|
23352
23354
|
padding: c
|
|
23353
|
-
}),
|
|
23354
|
-
L[H] > N[H] && (
|
|
23355
|
-
var _ =
|
|
23356
|
-
if (a && Q.push(E[
|
|
23355
|
+
}), Y = B ? V ? Gt : xt : V ? Qt : Mt;
|
|
23356
|
+
L[H] > N[H] && (Y = Ko(Y));
|
|
23357
|
+
var _ = Ko(Y), Q = [];
|
|
23358
|
+
if (a && Q.push(E[U] <= 0), s && Q.push(E[Y] <= 0, E[_] <= 0), Q.every(function(X) {
|
|
23357
23359
|
return X;
|
|
23358
23360
|
})) {
|
|
23359
23361
|
j = R, A = !1;
|
|
@@ -23406,9 +23408,9 @@ function Qp(t) {
|
|
|
23406
23408
|
});
|
|
23407
23409
|
}
|
|
23408
23410
|
function ZS(t) {
|
|
23409
|
-
var e = t.state, n = t.name, r = e.rects.reference, i = e.rects.popper, a = e.modifiersData.preventOverflow, o =
|
|
23411
|
+
var e = t.state, n = t.name, r = e.rects.reference, i = e.rects.popper, a = e.modifiersData.preventOverflow, o = Qa(e, {
|
|
23410
23412
|
elementContext: "reference"
|
|
23411
|
-
}), s =
|
|
23413
|
+
}), s = Qa(e, {
|
|
23412
23414
|
altBoundary: !0
|
|
23413
23415
|
}), l = Hp(o, r), c = Hp(s, i, a), d = Qp(l), u = Qp(c);
|
|
23414
23416
|
e.modifiersData[n] = {
|
|
@@ -23472,7 +23474,7 @@ function rI(t) {
|
|
|
23472
23474
|
return t === "x" ? "y" : "x";
|
|
23473
23475
|
}
|
|
23474
23476
|
function iI(t) {
|
|
23475
|
-
var e = t.state, n = t.options, r = t.name, i = n.mainAxis, a = i === void 0 ? !0 : i, o = n.altAxis, s = o === void 0 ? !1 : o, l = n.boundary, c = n.rootBoundary, d = n.altBoundary, u = n.padding, p = n.tether, h = p === void 0 ? !0 : p, m = n.tetherOffset, g = m === void 0 ? 0 : m, w =
|
|
23477
|
+
var e = t.state, n = t.options, r = t.name, i = n.mainAxis, a = i === void 0 ? !0 : i, o = n.altAxis, s = o === void 0 ? !1 : o, l = n.boundary, c = n.rootBoundary, d = n.altBoundary, u = n.padding, p = n.tether, h = p === void 0 ? !0 : p, m = n.tetherOffset, g = m === void 0 ? 0 : m, w = Qa(e, {
|
|
23476
23478
|
boundary: l,
|
|
23477
23479
|
rootBoundary: c,
|
|
23478
23480
|
padding: u,
|
|
@@ -23485,23 +23487,23 @@ function iI(t) {
|
|
|
23485
23487
|
} : Object.assign({
|
|
23486
23488
|
mainAxis: 0,
|
|
23487
23489
|
altAxis: 0
|
|
23488
|
-
}, j), R = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null,
|
|
23490
|
+
}, j), R = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, U = {
|
|
23489
23491
|
x: 0,
|
|
23490
23492
|
y: 0
|
|
23491
23493
|
};
|
|
23492
23494
|
if (N) {
|
|
23493
23495
|
if (a) {
|
|
23494
|
-
var V, B = y === "y" ? Mt : xt, H = y === "y" ? Qt : Gt, E = y === "y" ? "height" : "width",
|
|
23496
|
+
var V, B = y === "y" ? Mt : xt, H = y === "y" ? Qt : Gt, E = y === "y" ? "height" : "width", Y = N[y], _ = Y + w[B], Q = Y - w[H], pe = h ? -A[E] / 2 : 0, me = M === Ti ? k[E] : A[E], Ee = M === Ti ? -A[E] : -k[E], J = e.elements.arrow, X = h && J ? iu(J) : {
|
|
23495
23497
|
width: 0,
|
|
23496
23498
|
height: 0
|
|
23497
|
-
}, ie = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Lb(), ne = ie[B], T = ie[H], G = Ma(0, k[E], X[E]), te = x ? k[E] / 2 - pe - G - ne - S.mainAxis : me - G - ne - S.mainAxis, ve = x ? -k[E] / 2 + pe + G + T + S.mainAxis : Ee + G + T + S.mainAxis, mn = e.elements.arrow &&
|
|
23498
|
-
N[y] = gr,
|
|
23499
|
+
}, ie = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Lb(), ne = ie[B], T = ie[H], G = Ma(0, k[E], X[E]), te = x ? k[E] / 2 - pe - G - ne - S.mainAxis : me - G - ne - S.mainAxis, ve = x ? -k[E] / 2 + pe + G + T + S.mainAxis : Ee + G + T + S.mainAxis, mn = e.elements.arrow && lo(e.elements.arrow), pr = mn ? y === "y" ? mn.clientTop || 0 : mn.clientLeft || 0 : 0, lt = (V = R == null ? void 0 : R[y]) != null ? V : 0, gn = Y + te - lt - pr, mr = Y + ve - lt, gr = Ma(h ? _s(_, gn) : _, Y, h ? Rr(Q, mr) : Q);
|
|
23500
|
+
N[y] = gr, U[y] = gr - Y;
|
|
23499
23501
|
}
|
|
23500
23502
|
if (s) {
|
|
23501
|
-
var Hi,
|
|
23502
|
-
N[L] =
|
|
23503
|
+
var Hi, ho = y === "x" ? Mt : xt, po = y === "x" ? Qt : Gt, bn = N[L], Fn = L === "y" ? "height" : "width", Qi = bn + w[ho], br = bn - w[po], Gi = [Mt, xt].indexOf(v) !== -1, mo = (Hi = R == null ? void 0 : R[L]) != null ? Hi : 0, go = Gi ? Qi : bn - k[Fn] - A[Fn] - mo + S.altAxis, bo = Gi ? bn + k[Fn] + A[Fn] - mo - S.altAxis : br, wo = h && Gi ? IS(go, bn, bo) : Ma(h ? go : Qi, bn, h ? bo : br);
|
|
23504
|
+
N[L] = wo, U[L] = wo - bn;
|
|
23503
23505
|
}
|
|
23504
|
-
e.modifiersData[r] =
|
|
23506
|
+
e.modifiersData[r] = U;
|
|
23505
23507
|
}
|
|
23506
23508
|
}
|
|
23507
23509
|
const aI = {
|
|
@@ -23641,7 +23643,7 @@ function pI(t) {
|
|
|
23641
23643
|
var v = d.elements, M = v.reference, x = v.popper;
|
|
23642
23644
|
if (Jp(M, x)) {
|
|
23643
23645
|
d.rects = {
|
|
23644
|
-
reference: fI(M,
|
|
23646
|
+
reference: fI(M, lo(x), d.options.strategy === "fixed"),
|
|
23645
23647
|
popper: iu(x)
|
|
23646
23648
|
}, d.reset = !1, d.placement = d.options.placement, d.orderedModifiers.forEach(function(S) {
|
|
23647
23649
|
return d.modifiersData[S.name] = Object.assign({}, S.data);
|
|
@@ -23759,7 +23761,7 @@ function MI(t) {
|
|
|
23759
23761
|
function xI(t) {
|
|
23760
23762
|
return t.split("-")[0];
|
|
23761
23763
|
}
|
|
23762
|
-
function
|
|
23764
|
+
function $s(t) {
|
|
23763
23765
|
return [].slice.call(t);
|
|
23764
23766
|
}
|
|
23765
23767
|
function Zp(t) {
|
|
@@ -23770,7 +23772,7 @@ function Zp(t) {
|
|
|
23770
23772
|
function La() {
|
|
23771
23773
|
return document.createElement("div");
|
|
23772
23774
|
}
|
|
23773
|
-
function
|
|
23775
|
+
function Ga(t) {
|
|
23774
23776
|
return ["Element", "Fragment"].some(function(e) {
|
|
23775
23777
|
return fu(t, e);
|
|
23776
23778
|
});
|
|
@@ -23785,7 +23787,7 @@ function kI(t) {
|
|
|
23785
23787
|
return !!(t && t._tippy && t._tippy.reference === t);
|
|
23786
23788
|
}
|
|
23787
23789
|
function SI(t) {
|
|
23788
|
-
return
|
|
23790
|
+
return Ga(t) ? [t] : LI(t) ? $s(t) : Array.isArray(t) ? t : $s(document.querySelectorAll(t));
|
|
23789
23791
|
}
|
|
23790
23792
|
function Vf(t, e) {
|
|
23791
23793
|
t.forEach(function(n) {
|
|
@@ -23878,21 +23880,21 @@ function Ob(t) {
|
|
|
23878
23880
|
"color: #a6a095;"
|
|
23879
23881
|
];
|
|
23880
23882
|
}
|
|
23881
|
-
var
|
|
23883
|
+
var Ja;
|
|
23882
23884
|
process.env.NODE_ENV !== "production" && zI();
|
|
23883
23885
|
function zI() {
|
|
23884
|
-
|
|
23886
|
+
Ja = /* @__PURE__ */ new Set();
|
|
23885
23887
|
}
|
|
23886
23888
|
function kn(t, e) {
|
|
23887
|
-
if (t && !
|
|
23889
|
+
if (t && !Ja.has(e)) {
|
|
23888
23890
|
var n;
|
|
23889
|
-
|
|
23891
|
+
Ja.add(e), (n = console).warn.apply(n, Ob(e));
|
|
23890
23892
|
}
|
|
23891
23893
|
}
|
|
23892
23894
|
function Bc(t, e) {
|
|
23893
|
-
if (t && !
|
|
23895
|
+
if (t && !Ja.has(e)) {
|
|
23894
23896
|
var n;
|
|
23895
|
-
|
|
23897
|
+
Ja.add(e), (n = console).error.apply(n, Ob(e));
|
|
23896
23898
|
}
|
|
23897
23899
|
}
|
|
23898
23900
|
function PI(t) {
|
|
@@ -24029,13 +24031,13 @@ function Fc(t, e) {
|
|
|
24029
24031
|
}
|
|
24030
24032
|
function n1(t) {
|
|
24031
24033
|
var e = La();
|
|
24032
|
-
return t === !0 ? e.className = Eb : (e.className = Tb,
|
|
24034
|
+
return t === !0 ? e.className = Eb : (e.className = Tb, Ga(t) ? e.appendChild(t) : Fc(e, t)), e;
|
|
24033
24035
|
}
|
|
24034
24036
|
function r1(t, e) {
|
|
24035
|
-
|
|
24037
|
+
Ga(e.content) ? (Fc(t, ""), t.appendChild(e.content)) : typeof e.content != "function" && (e.allowHTML ? Fc(t, e.content) : t.textContent = e.content);
|
|
24036
24038
|
}
|
|
24037
24039
|
function Vc(t) {
|
|
24038
|
-
var e = t.firstElementChild, n =
|
|
24040
|
+
var e = t.firstElementChild, n = $s(e.children);
|
|
24039
24041
|
return {
|
|
24040
24042
|
box: e,
|
|
24041
24043
|
content: n.find(function(r) {
|
|
@@ -24064,7 +24066,7 @@ function Fb(t) {
|
|
|
24064
24066
|
};
|
|
24065
24067
|
}
|
|
24066
24068
|
Fb.$$tippy = !0;
|
|
24067
|
-
var WI = 1,
|
|
24069
|
+
var WI = 1, Po = [], Uf = [];
|
|
24068
24070
|
function HI(t, e) {
|
|
24069
24071
|
var n = t1(t, Object.assign({}, kt, Pb(Zp(e)))), r, i, a, o = !1, s = !1, l = !1, c = !1, d, u, p, h = [], m = Kp(gn, n.interactiveDebounce), g, w = WI++, v = null, M = MI(n.plugins), x = {
|
|
24070
24072
|
// Is the instance currently enabled?
|
|
@@ -24087,14 +24089,14 @@ function HI(t, e) {
|
|
|
24087
24089
|
state: x,
|
|
24088
24090
|
plugins: M,
|
|
24089
24091
|
// methods
|
|
24090
|
-
clearDelayTimeouts:
|
|
24091
|
-
setProps:
|
|
24092
|
-
setContent:
|
|
24092
|
+
clearDelayTimeouts: go,
|
|
24093
|
+
setProps: bo,
|
|
24094
|
+
setContent: wo,
|
|
24093
24095
|
show: tw,
|
|
24094
24096
|
hide: nw,
|
|
24095
24097
|
hideWithInteractivity: rw,
|
|
24096
24098
|
enable: Gi,
|
|
24097
|
-
disable:
|
|
24099
|
+
disable: mo,
|
|
24098
24100
|
unmount: iw,
|
|
24099
24101
|
destroy: aw
|
|
24100
24102
|
};
|
|
@@ -24105,7 +24107,7 @@ function HI(t, e) {
|
|
|
24105
24107
|
var A = M.map(function(D) {
|
|
24106
24108
|
return D.fn(y);
|
|
24107
24109
|
}), j = t.hasAttribute("aria-expanded");
|
|
24108
|
-
return mn(), pe(),
|
|
24110
|
+
return mn(), pe(), Y(), _("onCreate", [y]), n.showOnCreate && Qi(), N.addEventListener("mouseenter", function() {
|
|
24109
24111
|
y.props.interactive && y.state.isVisible && y.clearDelayTimeouts();
|
|
24110
24112
|
}), N.addEventListener("mouseleave", function() {
|
|
24111
24113
|
y.props.interactive && y.props.trigger.indexOf("mouseenter") >= 0 && B().addEventListener("mousemove", m);
|
|
@@ -24117,7 +24119,7 @@ function HI(t, e) {
|
|
|
24117
24119
|
function R() {
|
|
24118
24120
|
return S()[0] === "hold";
|
|
24119
24121
|
}
|
|
24120
|
-
function
|
|
24122
|
+
function U() {
|
|
24121
24123
|
var D;
|
|
24122
24124
|
return !!((D = y.props.render) != null && D.$$tippy);
|
|
24123
24125
|
}
|
|
@@ -24134,7 +24136,7 @@ function HI(t, e) {
|
|
|
24134
24136
|
function E(D) {
|
|
24135
24137
|
return y.state.isMounted && !y.state.isVisible || sn.isTouch || d && d.type === "focus" ? 0 : Ff(y.props.delay, D ? 0 : 1, kt.delay);
|
|
24136
24138
|
}
|
|
24137
|
-
function
|
|
24139
|
+
function Y(D) {
|
|
24138
24140
|
D === void 0 && (D = !1), N.style.pointerEvents = y.props.interactive && !D ? "" : "none", N.style.zIndex = "" + y.props.zIndex;
|
|
24139
24141
|
}
|
|
24140
24142
|
function _(D, K, $) {
|
|
@@ -24169,7 +24171,7 @@ function HI(t, e) {
|
|
|
24169
24171
|
}
|
|
24170
24172
|
}
|
|
24171
24173
|
function me() {
|
|
24172
|
-
B().removeEventListener("mousemove", m),
|
|
24174
|
+
B().removeEventListener("mousemove", m), Po = Po.filter(function(D) {
|
|
24173
24175
|
return D !== m;
|
|
24174
24176
|
});
|
|
24175
24177
|
}
|
|
@@ -24263,7 +24265,7 @@ function HI(t, e) {
|
|
|
24263
24265
|
var K, $ = !1;
|
|
24264
24266
|
if (!(!y.state.isEnabled || Hi(D) || s)) {
|
|
24265
24267
|
var ge = ((K = d) == null ? void 0 : K.type) === "focus";
|
|
24266
|
-
d = D, g = D.currentTarget, pe(), !y.state.isVisible && NI(D) &&
|
|
24268
|
+
d = D, g = D.currentTarget, pe(), !y.state.isVisible && NI(D) && Po.forEach(function(ue) {
|
|
24267
24269
|
return ue(D);
|
|
24268
24270
|
}), D.type === "click" && (y.props.trigger.indexOf("mouseenter") < 0 || o) && y.props.hideOnClick !== !1 && y.state.isVisible ? $ = !0 : Qi(D), D.type === "click" && (o = !$), $ && !ge && br(D);
|
|
24269
24271
|
}
|
|
@@ -24298,9 +24300,9 @@ function HI(t, e) {
|
|
|
24298
24300
|
function Hi(D) {
|
|
24299
24301
|
return sn.isTouch ? R() !== D.type.indexOf("touch") >= 0 : !1;
|
|
24300
24302
|
}
|
|
24301
|
-
function
|
|
24302
|
-
|
|
24303
|
-
var D = y.props, K = D.popperOptions, $ = D.placement, ge = D.offset, ue = D.getReferenceClientRect, ft = D.moveTransition, Dt =
|
|
24303
|
+
function ho() {
|
|
24304
|
+
po();
|
|
24305
|
+
var D = y.props, K = D.popperOptions, $ = D.placement, ge = D.offset, ue = D.getReferenceClientRect, ft = D.moveTransition, Dt = U() ? Vc(N).arrow : null, ii = ue ? {
|
|
24304
24306
|
getBoundingClientRect: ue,
|
|
24305
24307
|
contextElement: ue.contextElement || V()
|
|
24306
24308
|
} : t, Uu = {
|
|
@@ -24308,12 +24310,12 @@ function HI(t, e) {
|
|
|
24308
24310
|
enabled: !0,
|
|
24309
24311
|
phase: "beforeWrite",
|
|
24310
24312
|
requires: ["computeStyles"],
|
|
24311
|
-
fn: function(
|
|
24312
|
-
var ai =
|
|
24313
|
-
if (
|
|
24313
|
+
fn: function(yo) {
|
|
24314
|
+
var ai = yo.state;
|
|
24315
|
+
if (U()) {
|
|
24314
24316
|
var ow = H(), lf = ow.box;
|
|
24315
|
-
["placement", "reference-hidden", "escaped"].forEach(function(
|
|
24316
|
-
|
|
24317
|
+
["placement", "reference-hidden", "escaped"].forEach(function(vo) {
|
|
24318
|
+
vo === "placement" ? lf.setAttribute("data-placement", ai.placement) : ai.attributes.popper["data-popper-" + vo] ? lf.setAttribute("data-" + vo, "") : lf.removeAttribute("data-" + vo);
|
|
24317
24319
|
}), ai.attributes.popper = {};
|
|
24318
24320
|
}
|
|
24319
24321
|
}
|
|
@@ -24343,7 +24345,7 @@ function HI(t, e) {
|
|
|
24343
24345
|
adaptive: !ft
|
|
24344
24346
|
}
|
|
24345
24347
|
}, Uu];
|
|
24346
|
-
|
|
24348
|
+
U() && Dt && wr.push({
|
|
24347
24349
|
name: "arrow",
|
|
24348
24350
|
options: {
|
|
24349
24351
|
element: Dt,
|
|
@@ -24355,12 +24357,12 @@ function HI(t, e) {
|
|
|
24355
24357
|
modifiers: wr
|
|
24356
24358
|
}));
|
|
24357
24359
|
}
|
|
24358
|
-
function
|
|
24360
|
+
function po() {
|
|
24359
24361
|
y.popperInstance && (y.popperInstance.destroy(), y.popperInstance = null);
|
|
24360
24362
|
}
|
|
24361
24363
|
function bn() {
|
|
24362
24364
|
var D = y.props.appendTo, K, $ = V();
|
|
24363
|
-
y.props.interactive && D === jb || D === "parent" ? K = $.parentNode : K = Db(D, [$]), K.contains(N) || K.appendChild(N), y.state.isMounted = !0,
|
|
24365
|
+
y.props.interactive && D === jb || D === "parent" ? K = $.parentNode : K = Db(D, [$]), K.contains(N) || K.appendChild(N), y.state.isMounted = !0, ho(), process.env.NODE_ENV !== "production" && kn(y.props.interactive && D === kt.appendTo && $.nextElementSibling !== N, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
|
|
24364
24366
|
|
|
24365
24367
|
`, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
|
|
24366
24368
|
|
|
@@ -24369,7 +24371,7 @@ function HI(t, e) {
|
|
|
24369
24371
|
`, "See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "));
|
|
24370
24372
|
}
|
|
24371
24373
|
function Fn() {
|
|
24372
|
-
return
|
|
24374
|
+
return $s(N.querySelectorAll("[data-tippy-root]"));
|
|
24373
24375
|
}
|
|
24374
24376
|
function Qi(D) {
|
|
24375
24377
|
y.clearDelayTimeouts(), D && _("onTrigger", [y, D]), ie();
|
|
@@ -24395,13 +24397,13 @@ function HI(t, e) {
|
|
|
24395
24397
|
function Gi() {
|
|
24396
24398
|
y.state.isEnabled = !0;
|
|
24397
24399
|
}
|
|
24398
|
-
function
|
|
24400
|
+
function mo() {
|
|
24399
24401
|
y.hide(), y.state.isEnabled = !1;
|
|
24400
24402
|
}
|
|
24401
|
-
function
|
|
24403
|
+
function go() {
|
|
24402
24404
|
clearTimeout(r), clearTimeout(i), cancelAnimationFrame(a);
|
|
24403
24405
|
}
|
|
24404
|
-
function
|
|
24406
|
+
function bo(D) {
|
|
24405
24407
|
if (process.env.NODE_ENV !== "production" && kn(y.state.isDestroyed, li("setProps")), !y.state.isDestroyed) {
|
|
24406
24408
|
_("onBeforeUpdate", [y, D]), pr();
|
|
24407
24409
|
var K = y.props, $ = t1(t, Object.assign({}, K, Zp(D), {
|
|
@@ -24409,12 +24411,12 @@ function HI(t, e) {
|
|
|
24409
24411
|
}));
|
|
24410
24412
|
y.props = $, mn(), K.interactiveDebounce !== $.interactiveDebounce && (me(), m = Kp(gn, $.interactiveDebounce)), K.triggerTarget && !$.triggerTarget ? pi(K.triggerTarget).forEach(function(ge) {
|
|
24411
24413
|
ge.removeAttribute("aria-expanded");
|
|
24412
|
-
}) : $.triggerTarget && t.removeAttribute("aria-expanded"), pe(),
|
|
24414
|
+
}) : $.triggerTarget && t.removeAttribute("aria-expanded"), pe(), Y(), k && k(K, $), y.popperInstance && (ho(), Fn().forEach(function(ge) {
|
|
24413
24415
|
requestAnimationFrame(ge._tippy.popperInstance.forceUpdate);
|
|
24414
24416
|
})), _("onAfterUpdate", [y, D]);
|
|
24415
24417
|
}
|
|
24416
24418
|
}
|
|
24417
|
-
function
|
|
24419
|
+
function wo(D) {
|
|
24418
24420
|
y.setProps({
|
|
24419
24421
|
content: D
|
|
24420
24422
|
});
|
|
@@ -24423,18 +24425,18 @@ function HI(t, e) {
|
|
|
24423
24425
|
process.env.NODE_ENV !== "production" && kn(y.state.isDestroyed, li("show"));
|
|
24424
24426
|
var D = y.state.isVisible, K = y.state.isDestroyed, $ = !y.state.isEnabled, ge = sn.isTouch && !y.props.touch, ue = Ff(y.props.duration, 0, kt.duration);
|
|
24425
24427
|
if (!(D || K || $ || ge) && !V().hasAttribute("disabled") && (_("onShow", [y], !1), y.props.onShow(y) !== !1)) {
|
|
24426
|
-
if (y.state.isVisible = !0,
|
|
24428
|
+
if (y.state.isVisible = !0, U() && (N.style.visibility = "visible"), Y(), ie(), y.state.isMounted || (N.style.transition = "none"), U()) {
|
|
24427
24429
|
var ft = H(), Dt = ft.box, ii = ft.content;
|
|
24428
24430
|
Vf([Dt, ii], 0);
|
|
24429
24431
|
}
|
|
24430
24432
|
p = function() {
|
|
24431
24433
|
var wr;
|
|
24432
24434
|
if (!(!y.state.isVisible || c)) {
|
|
24433
|
-
if (c = !0, N.offsetHeight, N.style.transition = y.props.moveTransition,
|
|
24434
|
-
var sf = H(),
|
|
24435
|
-
Vf([
|
|
24435
|
+
if (c = !0, N.offsetHeight, N.style.transition = y.props.moveTransition, U() && y.props.animation) {
|
|
24436
|
+
var sf = H(), yo = sf.box, ai = sf.content;
|
|
24437
|
+
Vf([yo, ai], ue), Xp([yo, ai], "visible");
|
|
24436
24438
|
}
|
|
24437
|
-
Q(), pe(), qp(Uf, y), (wr = y.popperInstance) == null || wr.forceUpdate(), _("onMount", [y]), y.props.animation &&
|
|
24439
|
+
Q(), pe(), qp(Uf, y), (wr = y.popperInstance) == null || wr.forceUpdate(), _("onMount", [y]), y.props.animation && U() && G(ue, function() {
|
|
24438
24440
|
y.state.isShown = !0, _("onShown", [y]);
|
|
24439
24441
|
});
|
|
24440
24442
|
}
|
|
@@ -24445,18 +24447,18 @@ function HI(t, e) {
|
|
|
24445
24447
|
process.env.NODE_ENV !== "production" && kn(y.state.isDestroyed, li("hide"));
|
|
24446
24448
|
var D = !y.state.isVisible, K = y.state.isDestroyed, $ = !y.state.isEnabled, ge = Ff(y.props.duration, 1, kt.duration);
|
|
24447
24449
|
if (!(D || K || $) && (_("onHide", [y], !1), y.props.onHide(y) !== !1)) {
|
|
24448
|
-
if (y.state.isVisible = !1, y.state.isShown = !1, c = !1, o = !1,
|
|
24450
|
+
if (y.state.isVisible = !1, y.state.isShown = !1, c = !1, o = !1, U() && (N.style.visibility = "hidden"), me(), ne(), Y(!0), U()) {
|
|
24449
24451
|
var ue = H(), ft = ue.box, Dt = ue.content;
|
|
24450
24452
|
y.props.animation && (Vf([ft, Dt], ge), Xp([ft, Dt], "hidden"));
|
|
24451
24453
|
}
|
|
24452
|
-
Q(), pe(), y.props.animation ?
|
|
24454
|
+
Q(), pe(), y.props.animation ? U() && T(ge, y.unmount) : y.unmount();
|
|
24453
24455
|
}
|
|
24454
24456
|
}
|
|
24455
24457
|
function rw(D) {
|
|
24456
|
-
process.env.NODE_ENV !== "production" && kn(y.state.isDestroyed, li("hideWithInteractivity")), B().addEventListener("mousemove", m), qp(
|
|
24458
|
+
process.env.NODE_ENV !== "production" && kn(y.state.isDestroyed, li("hideWithInteractivity")), B().addEventListener("mousemove", m), qp(Po, m), m(D);
|
|
24457
24459
|
}
|
|
24458
24460
|
function iw() {
|
|
24459
|
-
process.env.NODE_ENV !== "production" && kn(y.state.isDestroyed, li("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (
|
|
24461
|
+
process.env.NODE_ENV !== "production" && kn(y.state.isDestroyed, li("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (po(), Fn().forEach(function(D) {
|
|
24460
24462
|
D._tippy.unmount();
|
|
24461
24463
|
}), N.parentNode && N.parentNode.removeChild(N), Uf = Uf.filter(function(D) {
|
|
24462
24464
|
return D !== y;
|
|
@@ -24466,7 +24468,7 @@ function HI(t, e) {
|
|
|
24466
24468
|
process.env.NODE_ENV !== "production" && kn(y.state.isDestroyed, li("destroy")), !y.state.isDestroyed && (y.clearDelayTimeouts(), y.unmount(), pr(), delete t._tippy, y.state.isDestroyed = !0, _("onDestroy", [y]));
|
|
24467
24469
|
}
|
|
24468
24470
|
}
|
|
24469
|
-
function
|
|
24471
|
+
function fo(t, e) {
|
|
24470
24472
|
e === void 0 && (e = {});
|
|
24471
24473
|
var n = kt.plugins.concat(e.plugins || []);
|
|
24472
24474
|
process.env.NODE_ENV !== "production" && (PI(t), Bb(e, n)), jI();
|
|
@@ -24474,7 +24476,7 @@ function lo(t, e) {
|
|
|
24474
24476
|
plugins: n
|
|
24475
24477
|
}), i = SI(t);
|
|
24476
24478
|
if (process.env.NODE_ENV !== "production") {
|
|
24477
|
-
var a =
|
|
24479
|
+
var a = Ga(r.content), o = i.length > 1;
|
|
24478
24480
|
kn(a && o, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
|
|
24479
24481
|
|
|
24480
24482
|
`, "Instead, pass the .innerHTML of the element, or use a function that", "returns a cloned version of the element instead.", `
|
|
@@ -24486,11 +24488,11 @@ function lo(t, e) {
|
|
|
24486
24488
|
var d = c && HI(c, r);
|
|
24487
24489
|
return d && l.push(d), l;
|
|
24488
24490
|
}, []);
|
|
24489
|
-
return
|
|
24491
|
+
return Ga(t) ? s[0] : s;
|
|
24490
24492
|
}
|
|
24491
|
-
|
|
24492
|
-
|
|
24493
|
-
|
|
24493
|
+
fo.defaultProps = kt;
|
|
24494
|
+
fo.setDefaultProps = VI;
|
|
24495
|
+
fo.currentInput = sn;
|
|
24494
24496
|
Object.assign({}, Cb, {
|
|
24495
24497
|
effect: function(e) {
|
|
24496
24498
|
var n = e.state, r = {
|
|
@@ -24508,7 +24510,7 @@ Object.assign({}, Cb, {
|
|
|
24508
24510
|
Object.assign(n.elements.popper.style, r.popper), n.styles = r, n.elements.arrow && Object.assign(n.elements.arrow.style, r.arrow);
|
|
24509
24511
|
}
|
|
24510
24512
|
});
|
|
24511
|
-
|
|
24513
|
+
fo.setDefaultProps({
|
|
24512
24514
|
render: Fb
|
|
24513
24515
|
});
|
|
24514
24516
|
const Vb = l0((t, e) => {
|
|
@@ -24576,7 +24578,7 @@ function Pl(t) {
|
|
|
24576
24578
|
function Qb(t) {
|
|
24577
24579
|
return Pl(t) && (t.startsWith("&") || cu(t));
|
|
24578
24580
|
}
|
|
24579
|
-
function
|
|
24581
|
+
function el(t, e = "") {
|
|
24580
24582
|
return t.filter(Boolean).join(e);
|
|
24581
24583
|
}
|
|
24582
24584
|
function Gb(t, e) {
|
|
@@ -24611,7 +24613,7 @@ var Jb = class Kb {
|
|
|
24611
24613
|
const a = this.selector.preconditions.concat(
|
|
24612
24614
|
this.selector.postconditions
|
|
24613
24615
|
);
|
|
24614
|
-
this.hash = this.selector.hasConditions ? this.selector.scopeClassName : Gb(this.sheet.name, this.joined), this.key =
|
|
24616
|
+
this.hash = this.selector.hasConditions ? this.selector.scopeClassName : Gb(this.sheet.name, this.joined), this.key = el([this.joined, a, this.hash]);
|
|
24615
24617
|
}
|
|
24616
24618
|
toString() {
|
|
24617
24619
|
let e = Uc(this.selector.preconditions, {
|
|
@@ -24630,10 +24632,10 @@ var Jb = class Kb {
|
|
|
24630
24632
|
}
|
|
24631
24633
|
};
|
|
24632
24634
|
function Uc(t, { left: e = "", right: n = "" } = {}) {
|
|
24633
|
-
const r = t.reduce((i, a) => cu(a) ? i + a : Qb(a) ? i + a.slice(1) :
|
|
24634
|
-
return
|
|
24635
|
+
const r = t.reduce((i, a) => cu(a) ? i + a : Qb(a) ? i + a.slice(1) : el([i, a], " "), e);
|
|
24636
|
+
return el([r, KI(n)], " ");
|
|
24635
24637
|
}
|
|
24636
|
-
var ZI = class
|
|
24638
|
+
var ZI = class qo {
|
|
24637
24639
|
constructor(e, n = null, {
|
|
24638
24640
|
preconditions: r,
|
|
24639
24641
|
postconditions: i
|
|
@@ -24651,19 +24653,19 @@ var ZI = class Ko {
|
|
|
24651
24653
|
return this.preconditions.length > 0 || this.postconditions.length > 0;
|
|
24652
24654
|
}
|
|
24653
24655
|
addScope(e) {
|
|
24654
|
-
return new
|
|
24656
|
+
return new qo(this.sheet, e, {
|
|
24655
24657
|
preconditions: this.preconditions,
|
|
24656
24658
|
postconditions: this.postconditions
|
|
24657
24659
|
});
|
|
24658
24660
|
}
|
|
24659
24661
|
addPrecondition(e) {
|
|
24660
|
-
return new
|
|
24662
|
+
return new qo(this.sheet, this.scopeClassName, {
|
|
24661
24663
|
postconditions: this.postconditions,
|
|
24662
24664
|
preconditions: this.preconditions.concat(e)
|
|
24663
24665
|
});
|
|
24664
24666
|
}
|
|
24665
24667
|
addPostcondition(e) {
|
|
24666
|
-
return new
|
|
24668
|
+
return new qo(this.sheet, this.scopeClassName, {
|
|
24667
24669
|
preconditions: this.preconditions,
|
|
24668
24670
|
postconditions: this.postconditions.concat(e)
|
|
24669
24671
|
});
|
|
@@ -24707,7 +24709,7 @@ function fe(...t) {
|
|
|
24707
24709
|
const e = t.reduce((n, r) => (r instanceof Set ? n.push(...r) : typeof r == "string" ? n.push(r) : Array.isArray(r) ? n.push(fe(...r)) : typeof r == "object" && Object.entries(r).forEach(([i, a]) => {
|
|
24708
24710
|
a && n.push(i);
|
|
24709
24711
|
}), n), []);
|
|
24710
|
-
return
|
|
24712
|
+
return el(e, " ").trim();
|
|
24711
24713
|
}
|
|
24712
24714
|
function _I(t, e) {
|
|
24713
24715
|
const n = new XI(t, e);
|
|
@@ -24863,7 +24865,7 @@ function Jt() {
|
|
|
24863
24865
|
return "." + r;
|
|
24864
24866
|
}).join("");
|
|
24865
24867
|
}
|
|
24866
|
-
var Ae = /* @__PURE__ */ _I("epr", null),
|
|
24868
|
+
var Ae = /* @__PURE__ */ _I("epr", null), Zo = {
|
|
24867
24869
|
display: "none",
|
|
24868
24870
|
opacity: "0",
|
|
24869
24871
|
pointerEvents: "none",
|
|
@@ -24872,7 +24874,7 @@ var Ae = /* @__PURE__ */ _I("epr", null), qo = {
|
|
|
24872
24874
|
}, uu = /* @__PURE__ */ Ae.create({
|
|
24873
24875
|
hidden: /* @__PURE__ */ we({
|
|
24874
24876
|
".": de.hidden
|
|
24875
|
-
},
|
|
24877
|
+
}, Zo)
|
|
24876
24878
|
}), i9 = /* @__PURE__ */ od(function(e) {
|
|
24877
24879
|
var n = e.nonce;
|
|
24878
24880
|
return P("style", {
|
|
@@ -24893,10 +24895,10 @@ var Ae = /* @__PURE__ */ _I("epr", null), qo = {
|
|
|
24893
24895
|
},
|
|
24894
24896
|
hiddenOnSearch: /* @__PURE__ */ we({
|
|
24895
24897
|
".": de.hiddenOnSearch
|
|
24896
|
-
},
|
|
24898
|
+
}, Zo)
|
|
24897
24899
|
},
|
|
24898
24900
|
":has(input:placeholder-shown)": {
|
|
24899
|
-
visibleOnSearchOnly:
|
|
24901
|
+
visibleOnSearchOnly: Zo
|
|
24900
24902
|
}
|
|
24901
24903
|
},
|
|
24902
24904
|
hiddenOnReactions: {
|
|
@@ -24924,7 +24926,7 @@ var Ae = /* @__PURE__ */ _I("epr", null), qo = {
|
|
|
24924
24926
|
},
|
|
24925
24927
|
visibleOnSearchOnly: /* @__PURE__ */ we({
|
|
24926
24928
|
".": "epr-visible-on-search-only"
|
|
24927
|
-
},
|
|
24929
|
+
}, Zo)
|
|
24928
24930
|
}
|
|
24929
24931
|
});
|
|
24930
24932
|
function ar(t, e) {
|
|
@@ -24940,18 +24942,18 @@ function _b(t, e) {
|
|
|
24940
24942
|
var n, r, i = (n = t.customEmojis) != null ? n : [], a = (r = e.customEmojis) != null ? r : [];
|
|
24941
24943
|
return t.open === e.open && t.emojiVersion === e.emojiVersion && t.reactionsDefaultOpen === e.reactionsDefaultOpen && t.searchPlaceHolder === e.searchPlaceHolder && t.searchPlaceholder === e.searchPlaceholder && t.searchClearButtonLabel === e.searchClearButtonLabel && t.defaultSkinTone === e.defaultSkinTone && t.skinTonesDisabled === e.skinTonesDisabled && t.autoFocusSearch === e.autoFocusSearch && t.emojiStyle === e.emojiStyle && t.theme === e.theme && t.suggestedEmojisMode === e.suggestedEmojisMode && t.lazyLoadEmojis === e.lazyLoadEmojis && t.className === e.className && t.height === e.height && t.width === e.width && t.style === e.style && t.searchDisabled === e.searchDisabled && t.skinTonePickerLocation === e.skinTonePickerLocation && i.length === a.length && t.emojiData === e.emojiData;
|
|
24942
24944
|
}
|
|
24943
|
-
var a9 = ["1f44d", "2764-fe0f", "1f603", "1f622", "1f64f", "1f44e", "1f621"],
|
|
24945
|
+
var a9 = ["1f44d", "2764-fe0f", "1f603", "1f622", "1f64f", "1f44e", "1f621"], Ka;
|
|
24944
24946
|
(function(t) {
|
|
24945
24947
|
t.RECENT = "recent", t.FREQUENT = "frequent";
|
|
24946
|
-
})(
|
|
24948
|
+
})(Ka || (Ka = {}));
|
|
24947
24949
|
var St;
|
|
24948
24950
|
(function(t) {
|
|
24949
24951
|
t.NATIVE = "native", t.APPLE = "apple", t.TWITTER = "twitter", t.GOOGLE = "google", t.FACEBOOK = "facebook";
|
|
24950
24952
|
})(St || (St = {}));
|
|
24951
|
-
var
|
|
24953
|
+
var qa;
|
|
24952
24954
|
(function(t) {
|
|
24953
24955
|
t.DARK = "dark", t.LIGHT = "light", t.AUTO = "auto";
|
|
24954
|
-
})(
|
|
24956
|
+
})(qa || (qa = {}));
|
|
24955
24957
|
var Zt;
|
|
24956
24958
|
(function(t) {
|
|
24957
24959
|
t.NEUTRAL = "neutral", t.LIGHT = "1f3fb", t.MEDIUM_LIGHT = "1f3fc", t.MEDIUM = "1f3fd", t.MEDIUM_DARK = "1f3fe", t.DARK = "1f3ff";
|
|
@@ -24978,10 +24980,10 @@ function c9(t) {
|
|
|
24978
24980
|
return o9;
|
|
24979
24981
|
}
|
|
24980
24982
|
}
|
|
24981
|
-
var
|
|
24983
|
+
var tl = [Zt.NEUTRAL, Zt.LIGHT, Zt.MEDIUM_LIGHT, Zt.MEDIUM, Zt.MEDIUM_DARK, Zt.DARK], d9 = /* @__PURE__ */ Object.entries(Zt).reduce(function(t, e) {
|
|
24982
24984
|
var n = e[0], r = e[1];
|
|
24983
24985
|
return t[r] = n, t;
|
|
24984
|
-
}, {}), hu = /* @__PURE__ */
|
|
24986
|
+
}, {}), hu = /* @__PURE__ */ tl.reduce(function(t, e) {
|
|
24985
24987
|
var n;
|
|
24986
24988
|
return Object.assign(t, (n = {}, n[e] = e, n));
|
|
24987
24989
|
}, {}), We;
|
|
@@ -25081,7 +25083,7 @@ function y9(t, e, n) {
|
|
|
25081
25083
|
var d = c[1];
|
|
25082
25084
|
return !!d;
|
|
25083
25085
|
})) : {};
|
|
25084
|
-
if (e.suggestionMode ===
|
|
25086
|
+
if (e.suggestionMode === Ka.RECENT) {
|
|
25085
25087
|
var s, l = n == null || (s = n.categories) == null ? void 0 : s.suggested_recent;
|
|
25086
25088
|
o[le.SUGGESTED] = l ? {
|
|
25087
25089
|
category: le.SUGGESTED,
|
|
@@ -25097,7 +25099,7 @@ function y9(t, e, n) {
|
|
|
25097
25099
|
function o1(t, e) {
|
|
25098
25100
|
return e === void 0 && (e = {}), Object.assign(n2[t], e);
|
|
25099
25101
|
}
|
|
25100
|
-
var v9 = ["2640-fe0f", "2642-fe0f", "2695-fe0f"],
|
|
25102
|
+
var v9 = ["2640-fe0f", "2642-fe0f", "2695-fe0f"], nl = "Search", a2 = "Clear", C9 = "No results found", o2 = " found. Use up and down arrow keys to navigate.", M9 = "1 result" + o2, x9 = "%n results" + o2;
|
|
25101
25103
|
function s1(t) {
|
|
25102
25104
|
var e, n, r, i, a;
|
|
25103
25105
|
t === void 0 && (t = {});
|
|
@@ -25130,14 +25132,14 @@ function s2() {
|
|
|
25130
25132
|
lazyLoadEmojis: !1,
|
|
25131
25133
|
previewConfig: we({}, L9),
|
|
25132
25134
|
searchDisabled: !1,
|
|
25133
|
-
searchPlaceHolder:
|
|
25134
|
-
searchPlaceholder:
|
|
25135
|
+
searchPlaceHolder: nl,
|
|
25136
|
+
searchPlaceholder: nl,
|
|
25135
25137
|
searchClearButtonLabel: a2,
|
|
25136
25138
|
skinTonePickerLocation: Oi.SEARCH,
|
|
25137
25139
|
skinTonesDisabled: !1,
|
|
25138
25140
|
style: {},
|
|
25139
|
-
suggestedEmojisMode:
|
|
25140
|
-
theme:
|
|
25141
|
+
suggestedEmojisMode: Ka.FREQUENT,
|
|
25142
|
+
theme: qa.LIGHT,
|
|
25141
25143
|
unicodeToHide: new Set(v9),
|
|
25142
25144
|
width: 350,
|
|
25143
25145
|
reactionsDefaultOpen: !1,
|
|
@@ -46638,7 +46640,7 @@ function gu(t) {
|
|
|
46638
46640
|
if (!((e = window) != null && e.localStorage))
|
|
46639
46641
|
return [];
|
|
46640
46642
|
var i = JSON.parse((n = (r = window) == null ? void 0 : r.localStorage.getItem(f2)) != null ? n : "[]");
|
|
46641
|
-
return t ===
|
|
46643
|
+
return t === Ka.FREQUENT ? i.sort(function(a, o) {
|
|
46642
46644
|
return o.count - a.count;
|
|
46643
46645
|
}) : i;
|
|
46644
46646
|
} catch {
|
|
@@ -46711,21 +46713,21 @@ function j9(t, e) {
|
|
|
46711
46713
|
}
|
|
46712
46714
|
function Yl(t) {
|
|
46713
46715
|
if (t) {
|
|
46714
|
-
if (
|
|
46715
|
-
return
|
|
46716
|
+
if (Xo[t])
|
|
46717
|
+
return Xo[t];
|
|
46716
46718
|
var e = c2(t);
|
|
46717
|
-
return
|
|
46719
|
+
return Xo[e];
|
|
46718
46720
|
}
|
|
46719
46721
|
}
|
|
46720
|
-
var D9 = /* @__PURE__ */ Object.values(mu.emojis).flat(),
|
|
46722
|
+
var D9 = /* @__PURE__ */ Object.values(mu.emojis).flat(), Xo = {};
|
|
46721
46723
|
D9.reduce(function(t, e) {
|
|
46722
46724
|
return t[cn(e)] = e, Fi(e) && Vl(e).forEach(function(n) {
|
|
46723
46725
|
t[n] = e;
|
|
46724
46726
|
}), t;
|
|
46725
|
-
},
|
|
46727
|
+
}, Xo);
|
|
46726
46728
|
function R9(t) {
|
|
46727
46729
|
var e = t.split("-"), n = e[1];
|
|
46728
|
-
return
|
|
46730
|
+
return tl.includes(n) ? n : null;
|
|
46729
46731
|
}
|
|
46730
46732
|
var d2 = /* @__PURE__ */ Ve.createContext({
|
|
46731
46733
|
emojiData: {},
|
|
@@ -46924,7 +46926,7 @@ function Yi() {
|
|
|
46924
46926
|
var t = nt(Et), e = t.emojiVariationPickerState;
|
|
46925
46927
|
return e;
|
|
46926
46928
|
}
|
|
46927
|
-
function
|
|
46929
|
+
function co() {
|
|
46928
46930
|
var t = nt(Et), e = t.skinToneFanOpenState;
|
|
46929
46931
|
return e;
|
|
46930
46932
|
}
|
|
@@ -46949,27 +46951,27 @@ function g2() {
|
|
|
46949
46951
|
}
|
|
46950
46952
|
function H9(t) {
|
|
46951
46953
|
var e = Ve.useRef({
|
|
46952
|
-
onEmojiClick: t.onEmojiClick ||
|
|
46954
|
+
onEmojiClick: t.onEmojiClick || Bo,
|
|
46953
46955
|
onReactionClick: t.onReactionClick || t.onEmojiClick,
|
|
46954
|
-
onSkinToneChange: t.onSkinToneChange ||
|
|
46956
|
+
onSkinToneChange: t.onSkinToneChange || Bo
|
|
46955
46957
|
});
|
|
46956
46958
|
return Ve.useEffect(function() {
|
|
46957
|
-
e.current.onEmojiClick = t.onEmojiClick ||
|
|
46959
|
+
e.current.onEmojiClick = t.onEmojiClick || Bo, e.current.onReactionClick = t.onReactionClick || t.onEmojiClick;
|
|
46958
46960
|
}, [t.onEmojiClick, t.onReactionClick]), Ve.useEffect(function() {
|
|
46959
|
-
e.current.onSkinToneChange = t.onSkinToneChange ||
|
|
46961
|
+
e.current.onSkinToneChange = t.onSkinToneChange || Bo;
|
|
46960
46962
|
}, [t.onSkinToneChange]), e;
|
|
46961
46963
|
}
|
|
46962
|
-
function
|
|
46964
|
+
function Bo() {
|
|
46963
46965
|
}
|
|
46964
|
-
var
|
|
46966
|
+
var Za;
|
|
46965
46967
|
(function(t) {
|
|
46966
46968
|
t.REACTIONS = "reactions", t.PICKER = "picker";
|
|
46967
|
-
})(
|
|
46969
|
+
})(Za || (Za = {}));
|
|
46968
46970
|
function Q9() {
|
|
46969
46971
|
var t, e = Ne(), n = e.searchPlaceHolder, r = e.searchPlaceholder;
|
|
46970
46972
|
return (t = [n, r].find(function(i) {
|
|
46971
|
-
return i !==
|
|
46972
|
-
})) != null ? t :
|
|
46973
|
+
return i !== nl;
|
|
46974
|
+
})) != null ? t : nl;
|
|
46973
46975
|
}
|
|
46974
46976
|
function G9() {
|
|
46975
46977
|
var t = Ne(), e = t.searchClearButtonLabel;
|
|
@@ -47014,7 +47016,7 @@ function X9() {
|
|
|
47014
47016
|
function _9(t) {
|
|
47015
47017
|
var e = g2(), n = e.current, r = _r(), i = r[1], a = n.onEmojiClick || function() {
|
|
47016
47018
|
}, o = n.onReactionClick;
|
|
47017
|
-
return t ===
|
|
47019
|
+
return t === Za.REACTIONS && o ? function() {
|
|
47018
47020
|
for (var s = arguments.length, l = new Array(s), c = 0; c < s; c++)
|
|
47019
47021
|
l[c] = arguments[c];
|
|
47020
47022
|
return o.apply(void 0, l.concat([{
|
|
@@ -47128,7 +47130,7 @@ function k2(t) {
|
|
|
47128
47130
|
Tt(e);
|
|
47129
47131
|
}
|
|
47130
47132
|
}
|
|
47131
|
-
function
|
|
47133
|
+
function Xa() {
|
|
47132
47134
|
return document.activeElement;
|
|
47133
47135
|
}
|
|
47134
47136
|
function lA(t) {
|
|
@@ -47298,13 +47300,13 @@ function vA(t) {
|
|
|
47298
47300
|
return p[d] ? p[d] : (e = p.at(0)) != null ? e : null;
|
|
47299
47301
|
}
|
|
47300
47302
|
function ti() {
|
|
47301
|
-
var t = Yi(), e = t[0], n = t[1], r =
|
|
47303
|
+
var t = Yi(), e = t[0], n = t[1], r = co(), i = r[0], a = r[1], o = ke(function() {
|
|
47302
47304
|
e && n(null), i && a(!1);
|
|
47303
47305
|
}, [e, i, n, a]);
|
|
47304
47306
|
return o;
|
|
47305
47307
|
}
|
|
47306
47308
|
function T2() {
|
|
47307
|
-
var t = Yi(), e = t[0], n =
|
|
47309
|
+
var t = Yi(), e = t[0], n = co(), r = n[0];
|
|
47308
47310
|
return function() {
|
|
47309
47311
|
return !!e || r;
|
|
47310
47312
|
};
|
|
@@ -47502,7 +47504,7 @@ function RA() {
|
|
|
47502
47504
|
}, [t, r, n, l]);
|
|
47503
47505
|
}
|
|
47504
47506
|
function OA() {
|
|
47505
|
-
var t = xA(), e = Ui(), n = jt(), r = ur(), i =
|
|
47507
|
+
var t = xA(), e = Ui(), n = jt(), r = ur(), i = co(), a = i[1], o = B2(), s = ku(), l = Me(function() {
|
|
47506
47508
|
return function(d) {
|
|
47507
47509
|
var u = d.key;
|
|
47508
47510
|
switch (u) {
|
|
@@ -47529,7 +47531,7 @@ function OA() {
|
|
|
47529
47531
|
}, [e, r, l]);
|
|
47530
47532
|
}
|
|
47531
47533
|
function zA() {
|
|
47532
|
-
var t = xu(), e = ni(), n = ur(), r = B2(), i =
|
|
47534
|
+
var t = xu(), e = ni(), n = ur(), r = B2(), i = co(), a = i[0], o = i[1], s = P2(), l = ku(), c = Su(), d = Me(function() {
|
|
47533
47535
|
return (
|
|
47534
47536
|
// eslint-disable-next-line complexity
|
|
47535
47537
|
(function(p) {
|
|
@@ -47589,10 +47591,10 @@ function PA() {
|
|
|
47589
47591
|
o.preventDefault(), t();
|
|
47590
47592
|
break;
|
|
47591
47593
|
case Pe.ArrowRight:
|
|
47592
|
-
o.preventDefault(), N2(
|
|
47594
|
+
o.preventDefault(), N2(Xa());
|
|
47593
47595
|
break;
|
|
47594
47596
|
case Pe.ArrowLeft:
|
|
47595
|
-
o.preventDefault(), L2(
|
|
47597
|
+
o.preventDefault(), L2(Xa());
|
|
47596
47598
|
break;
|
|
47597
47599
|
case Pe.ArrowDown:
|
|
47598
47600
|
o.preventDefault(), Jl(n.current);
|
|
@@ -47616,7 +47618,7 @@ function BA() {
|
|
|
47616
47618
|
return (
|
|
47617
47619
|
// eslint-disable-next-line complexity
|
|
47618
47620
|
(function(l) {
|
|
47619
|
-
var c = l.key, d = $t(
|
|
47621
|
+
var c = l.key, d = $t(Xa());
|
|
47620
47622
|
switch (c) {
|
|
47621
47623
|
case Pe.ArrowRight:
|
|
47622
47624
|
l.preventDefault(), mA(d);
|
|
@@ -47669,11 +47671,11 @@ function FA() {
|
|
|
47669
47671
|
}, [t, n, e]);
|
|
47670
47672
|
}
|
|
47671
47673
|
function u1(t) {
|
|
47672
|
-
var e =
|
|
47674
|
+
var e = Xa();
|
|
47673
47675
|
e && (KA(e) || t(), N2(e));
|
|
47674
47676
|
}
|
|
47675
47677
|
function h1() {
|
|
47676
|
-
var t =
|
|
47678
|
+
var t = Xa();
|
|
47677
47679
|
t && L2(t);
|
|
47678
47680
|
}
|
|
47679
47681
|
function Su() {
|
|
@@ -47738,7 +47740,7 @@ function GA(t) {
|
|
|
47738
47740
|
DA(), WA();
|
|
47739
47741
|
var d = c || {}, u = d.width, p = d.height, h = Xb(d, HA);
|
|
47740
47742
|
return P("aside", {
|
|
47741
|
-
className: fe(ea.main, ea.baseVariables, a ===
|
|
47743
|
+
className: fe(ea.main, ea.baseVariables, a === qa.DARK && ea.darkTheme, a === qa.AUTO && ea.autoThemeDark, (e = {}, e[de.searchActive] = o, e), i && ea.reactionsMenu, l),
|
|
47742
47744
|
ref: s,
|
|
47743
47745
|
style: we({}, h, !i && {
|
|
47744
47746
|
height: p,
|
|
@@ -47917,10 +47919,10 @@ function Y2(t) {
|
|
|
47917
47919
|
}
|
|
47918
47920
|
return Qc;
|
|
47919
47921
|
}
|
|
47920
|
-
var
|
|
47922
|
+
var _a = "button" + /* @__PURE__ */ Jt(de.emoji), qA = /* @__PURE__ */ [_a, Jt(de.visible), ":not(" + Jt(de.hidden) + ")"].join("");
|
|
47921
47923
|
function $t(t) {
|
|
47922
47924
|
var e;
|
|
47923
|
-
return (e = t == null ? void 0 : t.closest(
|
|
47925
|
+
return (e = t == null ? void 0 : t.closest(_a)) != null ? e : null;
|
|
47924
47926
|
}
|
|
47925
47927
|
function U2(t) {
|
|
47926
47928
|
var e = J2(t), n = Au(t);
|
|
@@ -47931,7 +47933,7 @@ function U2(t) {
|
|
|
47931
47933
|
}
|
|
47932
47934
|
function ZA(t) {
|
|
47933
47935
|
var e;
|
|
47934
|
-
return !!(t != null && t.matches(
|
|
47936
|
+
return !!(t != null && t.matches(_a) || !(t == null || (e = t.parentElement) == null) && e.matches(_a));
|
|
47935
47937
|
}
|
|
47936
47938
|
function m1(t) {
|
|
47937
47939
|
var e;
|
|
@@ -48138,7 +48140,7 @@ function nE(t, e, n, r) {
|
|
|
48138
48140
|
unifiedWithoutSkinTone: cn(t)
|
|
48139
48141
|
};
|
|
48140
48142
|
}
|
|
48141
|
-
function
|
|
48143
|
+
function uo(t) {
|
|
48142
48144
|
return P("button", Object.assign({
|
|
48143
48145
|
type: "button"
|
|
48144
48146
|
}, t, {
|
|
@@ -48156,7 +48158,7 @@ var rE = /* @__PURE__ */ Ae.create({
|
|
|
48156
48158
|
});
|
|
48157
48159
|
function iE(t) {
|
|
48158
48160
|
var e, n = t.emojiNames, r = t.unified, i = t.hidden, a = t.hiddenOnSearch, o = t.showVariations, s = o === void 0 ? !0 : o, l = t.hasVariations, c = t.children, d = t.className, u = t.noBackground, p = u === void 0 ? !1 : u, h = t.style;
|
|
48159
|
-
return P(
|
|
48161
|
+
return P(uo, {
|
|
48160
48162
|
className: fe(Wf.emoji, i && uu.hidden, a && Zr.hiddenOnSearch, (e = {}, e[de.visible] = !i && !a, e), !!(l && s) && Wf.hasVariations, p && Wf.noBackground, d),
|
|
48161
48163
|
"data-unified": r,
|
|
48162
48164
|
"aria-label": aE(n),
|
|
@@ -48220,7 +48222,7 @@ var Wf = /* @__PURE__ */ Ae.create({
|
|
|
48220
48222
|
borderBottom: "4px solid var(--epr-emoji-variation-indicator-color-hover)"
|
|
48221
48223
|
}
|
|
48222
48224
|
}
|
|
48223
|
-
}),
|
|
48225
|
+
}), rl = /* @__PURE__ */ Ae.create({
|
|
48224
48226
|
external: {
|
|
48225
48227
|
".": de.external,
|
|
48226
48228
|
fontSize: "0"
|
|
@@ -48236,7 +48238,7 @@ function y1(t) {
|
|
|
48236
48238
|
return P("img", {
|
|
48237
48239
|
src: a,
|
|
48238
48240
|
alt: e,
|
|
48239
|
-
className: fe(oE.emojiImag,
|
|
48241
|
+
className: fe(oE.emojiImag, rl.external, rl.common, s),
|
|
48240
48242
|
loading: i ? "lazy" : "eager",
|
|
48241
48243
|
onError: o,
|
|
48242
48244
|
style: n
|
|
@@ -48255,7 +48257,7 @@ var oE = /* @__PURE__ */ Ae.create({
|
|
|
48255
48257
|
function sE(t) {
|
|
48256
48258
|
var e = t.unified, n = t.style, r = t.className;
|
|
48257
48259
|
return P("span", {
|
|
48258
|
-
className: fe(lE.nativeEmoji,
|
|
48260
|
+
className: fe(lE.nativeEmoji, rl.common, rl.external, r),
|
|
48259
48261
|
"data-unified": e,
|
|
48260
48262
|
style: n
|
|
48261
48263
|
}, _2(e));
|
|
@@ -48333,7 +48335,7 @@ function Zl(t) {
|
|
|
48333
48335
|
var fE = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjgwcHgiIHZpZXdCb3g9IjAgMCAyMCA4MCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ld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LjIsMC41LTAuNXMtMC4yLTAuNS0wLjUtMC41aC0zLjR2LTMuNGMwLTAuMy0wLjItMC41LTAuNS0wLjUKCXMtMC41LDAuMi0wLjUsMC41djMuNEg2LjJDNS45LDQ5LjksNS43LDUwLjEsNS43LDUwLjRMNS43LDUwLjR6Ii8+CjxwYXRoIGZpbGw9IiM2QUE5REQiIGQ9Ik01LjcsNzAuNGMwLDAuMSwwLjEsMC4zLDAuMiwwLjRTNi4xLDcxLDYuMyw3MWgzLjR2My40YzAsMC4xLDAuMSwwLjMsMC4yLDAuNGMwLjEsMC4xLDAuMiwwLjIsMC40LDAuMgoJYzAuMywwLDAuNS0wLjIsMC41LTAuNXYtMy40aDMuNGMwLjMsMCwwLjUtMC4yLDAuNS0wLjVzLTAuMi0wLjUtMC41LTAuNWgtMy40di0zLjRjMC0wLjMtMC4yLTAuNS0wLjUtMC41cy0wLjUsMC4yLTAuNSwwLjV2My40SDYuNAoJQzUuOSw2OS45LDUuNyw3MC4xLDUuNyw3MC40TDUuNyw3MC40eiIvPgo8L3N2Zz4=";
|
|
48334
48336
|
function cE() {
|
|
48335
48337
|
var t = _r(), e = t[1];
|
|
48336
|
-
return P(
|
|
48338
|
+
return P(uo, {
|
|
48337
48339
|
"aria-label": "Show all Emojis",
|
|
48338
48340
|
title: "Show all Emojis",
|
|
48339
48341
|
tabIndex: 0,
|
|
@@ -48392,7 +48394,7 @@ var dE = /* @__PURE__ */ Ae.create(/* @__PURE__ */ we({
|
|
|
48392
48394
|
})));
|
|
48393
48395
|
function uE() {
|
|
48394
48396
|
var t = _r(), e = t[0], n = fA(), r = oA();
|
|
48395
|
-
e4(n,
|
|
48397
|
+
e4(n, Za.REACTIONS);
|
|
48396
48398
|
var i = $r(), a = b2(), o = ei();
|
|
48397
48399
|
return e ? P("ul", {
|
|
48398
48400
|
className: fe(v1.list, !e && uu.hidden),
|
|
@@ -48472,7 +48474,7 @@ function bE(t) {
|
|
|
48472
48474
|
var e = I2(), n = _r(), r = n[0], i = Ui(), a = Oe(), o = vu(), s = o[0], l = p2(), c = l[0], d = oe(), u = d[0], p = d[1], h = ke(function() {
|
|
48473
48475
|
var m = e.current;
|
|
48474
48476
|
if (m) {
|
|
48475
|
-
var g = m.querySelector(
|
|
48477
|
+
var g = m.querySelector(_a), w = g == null ? void 0 : g.clientHeight;
|
|
48476
48478
|
w && (a.current = w);
|
|
48477
48479
|
var v = c || w || a.current || gE, M = m.clientWidth;
|
|
48478
48480
|
if (!(M === 0 || v === 0)) {
|
|
@@ -48696,7 +48698,7 @@ function kE() {
|
|
|
48696
48698
|
var h, m;
|
|
48697
48699
|
return !p && t.current ? l(null) : (h = o(), m = c()), P("div", {
|
|
48698
48700
|
ref: e,
|
|
48699
|
-
className: fe(
|
|
48701
|
+
className: fe(Fo.variationPicker, s() === Mi.Down && Fo.pointingUp, p && Fo.visible),
|
|
48700
48702
|
style: {
|
|
48701
48703
|
top: h
|
|
48702
48704
|
}
|
|
@@ -48710,7 +48712,7 @@ function kE() {
|
|
|
48710
48712
|
getEmojiUrl: d
|
|
48711
48713
|
});
|
|
48712
48714
|
}) : null, P("div", {
|
|
48713
|
-
className: fe(
|
|
48715
|
+
className: fe(Fo.pointer),
|
|
48714
48716
|
style: m
|
|
48715
48717
|
}));
|
|
48716
48718
|
}
|
|
@@ -48753,7 +48755,7 @@ function IE(t) {
|
|
|
48753
48755
|
return o - s;
|
|
48754
48756
|
}
|
|
48755
48757
|
}
|
|
48756
|
-
var
|
|
48758
|
+
var Fo = /* @__PURE__ */ Ae.create(/* @__PURE__ */ we({
|
|
48757
48759
|
variationPicker: {
|
|
48758
48760
|
".": de.variationPicker,
|
|
48759
48761
|
position: "absolute",
|
|
@@ -48811,7 +48813,7 @@ var Bo = /* @__PURE__ */ Ae.create(/* @__PURE__ */ we({
|
|
|
48811
48813
|
})));
|
|
48812
48814
|
function AE() {
|
|
48813
48815
|
var t = jt(), e = hE(t);
|
|
48814
|
-
return e4(t,
|
|
48816
|
+
return e4(t, Za.PICKER), MA(), P("div", {
|
|
48815
48817
|
className: fe(EE.body, Zr.hiddenOnReactions),
|
|
48816
48818
|
ref: t
|
|
48817
48819
|
}, P(kE, null), P(ME, {
|
|
@@ -48890,26 +48892,26 @@ function DE(t, e) {
|
|
|
48890
48892
|
originalUnified: a
|
|
48891
48893
|
}));
|
|
48892
48894
|
}
|
|
48893
|
-
var
|
|
48895
|
+
var Vo, $a;
|
|
48894
48896
|
(function(t) {
|
|
48895
48897
|
t.ROW = "FlexRow", t.COLUMN = "FlexColumn";
|
|
48896
|
-
})(
|
|
48898
|
+
})($a || ($a = {}));
|
|
48897
48899
|
function t4(t) {
|
|
48898
|
-
var e = t.children, n = t.className, r = t.style, i = r === void 0 ? {} : r, a = t.direction, o = a === void 0 ?
|
|
48900
|
+
var e = t.children, n = t.className, r = t.style, i = r === void 0 ? {} : r, a = t.direction, o = a === void 0 ? $a.ROW : a;
|
|
48899
48901
|
return P("div", {
|
|
48900
48902
|
style: we({}, i),
|
|
48901
48903
|
className: fe(C1.flex, n, C1[o])
|
|
48902
48904
|
}, e);
|
|
48903
48905
|
}
|
|
48904
|
-
var C1 = /* @__PURE__ */ Ae.create((
|
|
48906
|
+
var C1 = /* @__PURE__ */ Ae.create((Vo = {
|
|
48905
48907
|
flex: {
|
|
48906
48908
|
display: "flex"
|
|
48907
48909
|
}
|
|
48908
|
-
},
|
|
48910
|
+
}, Vo[$a.ROW] = {
|
|
48909
48911
|
flexDirection: "row"
|
|
48910
|
-
},
|
|
48912
|
+
}, Vo[$a.COLUMN] = {
|
|
48911
48913
|
flexDirection: "column"
|
|
48912
|
-
},
|
|
48914
|
+
}, Vo));
|
|
48913
48915
|
function RE(t) {
|
|
48914
48916
|
var e = t.className, n = t.style, r = n === void 0 ? {} : n;
|
|
48915
48917
|
return P("div", {
|
|
@@ -48939,7 +48941,7 @@ function Xl(t) {
|
|
|
48939
48941
|
}
|
|
48940
48942
|
function zE(t) {
|
|
48941
48943
|
var e = t.isOpen, n = t.onClick, r = t.isActive, i = t.skinToneVariation, a = t.style;
|
|
48942
|
-
return P(
|
|
48944
|
+
return P(uo, {
|
|
48943
48945
|
style: a,
|
|
48944
48946
|
onClick: n,
|
|
48945
48947
|
className: fe("epr-tone-" + i, Qf.tone, !e && Qf.closedTone, r && Qf.active),
|
|
@@ -49007,14 +49009,14 @@ function PE() {
|
|
|
49007
49009
|
right: 0
|
|
49008
49010
|
}
|
|
49009
49011
|
}, P(n4, {
|
|
49010
|
-
direction:
|
|
49012
|
+
direction: eo.VERTICAL
|
|
49011
49013
|
})));
|
|
49012
49014
|
}
|
|
49013
49015
|
function n4(t) {
|
|
49014
|
-
var e = t.direction, n = e === void 0 ?
|
|
49016
|
+
var e = t.direction, n = e === void 0 ? eo.HORIZONTAL : e, r = xu(), i = w2(), a = co(), o = a[0], s = a[1], l = Wl(), c = l[0], d = l[1], u = $9(), p = ti(), h = ni();
|
|
49015
49017
|
if (i)
|
|
49016
49018
|
return null;
|
|
49017
|
-
var m = la *
|
|
49019
|
+
var m = la * tl.length + "px", g = o ? m : la + "px", w = n === eo.VERTICAL;
|
|
49018
49020
|
return P(Xl, {
|
|
49019
49021
|
className: fe(ta.skinTones, w && ta.vertical, o && ta.open, w && o && ta.verticalShadow),
|
|
49020
49022
|
style: w ? {
|
|
@@ -49026,7 +49028,7 @@ function n4(t) {
|
|
|
49026
49028
|
}, P("div", {
|
|
49027
49029
|
className: fe(ta.select),
|
|
49028
49030
|
ref: r
|
|
49029
|
-
},
|
|
49031
|
+
}, tl.map(function(v, M) {
|
|
49030
49032
|
var x = v === c;
|
|
49031
49033
|
return P(zE, {
|
|
49032
49034
|
key: v,
|
|
@@ -49042,10 +49044,10 @@ function n4(t) {
|
|
|
49042
49044
|
});
|
|
49043
49045
|
})));
|
|
49044
49046
|
}
|
|
49045
|
-
var
|
|
49047
|
+
var eo;
|
|
49046
49048
|
(function(t) {
|
|
49047
49049
|
t.VERTICAL = "epr-vertical", t.HORIZONTAL = "epr-horizontal";
|
|
49048
|
-
})(
|
|
49050
|
+
})(eo || (eo = {}));
|
|
49049
49051
|
var ta = /* @__PURE__ */ Ae.create({
|
|
49050
49052
|
skinTones: {
|
|
49051
49053
|
".": "epr-skin-tones",
|
|
@@ -49204,7 +49206,7 @@ function WE() {
|
|
|
49204
49206
|
var HE = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHdpZHRoPSIyMDBweCIgaGVpZ2h0PSI4MHB4IiB2aWV3Qm94PSIwIDAgMjAwIDgwIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAyMDAgODAiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8ZyBpZD0iTGF5ZXJfMTEiPgoJPGc+CgkJPHBhdGggZmlsbD0iIzMzNzFCNyIgc3Ryb2tlPSIjMzM3MUI3IiBzdHJva2Utd2lkdGg9IjAuMSIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNMTIuOCwyOS41YzAuNiwwLDEuMS0wLjUsMS4xLTEuMQoJCQljMC0wLjYtMC41LTEuMi0xLjEtMS4yYy0wLjYsMC0xLjIsMC41LTEuMiwxLjJDMTEuNiwyOSwxMi4yLDI5LjUsMTIuOCwyOS41eiBNMTIuOCwyOGMwLjIsMCwwLjQsMC4yLDAuNCwwLjQKCQkJYzAsMC4yLTAuMiwwLjQtMC40LDAuNGMtMC4yLDAtMC40LTA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Zlbm9kZCIgZmlsbD0iIzg2ODY4NiIgZD0iTTI5LjUsMTIuNEwyOSwxMS43Yy0wLjItMC4zLDAtMC42LDAuMy0wLjZoMS40CgkJCWMwLjMsMCwwLjUsMC40LDAuMywwLjZsLTAuNywxbDAsMGMtMC43LDEuMi0yLjYsMS4xLTMuMS0wLjNsLTAuMS0wLjJjLTAuMS0wLjIsMC0wLjQsMC4yLTAuNXMwLjQsMCwwLjUsMC4ybDAuMSwwLjIKCQkJQzI4LjMsMTIuNywyOS4xLDEyLjksMjkuNSwxMi40eiIvPgoJCTxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzg2ODY4NiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBkPSJNMzIuNCwxMi4xbC0wLjEsMC4yYy0wLjQsMS0xLjgsMS4xLTIuMywwLjIiLz4KCQk8ZWxsaXBzZSBmaWxsPSIjODY4Njg2IiBjeD0iMjcuNiIgY3k9IjkuNyIgcng9IjAuNyIgcnk9IjAuNyIvPgoJCTxlbGxpcHNlIGZpbGw9IiM4Njg2ODYiIGN4PSIzMi40IiBjeT0iOS43IiByeD0iMC43IiByeT0iMC43Ii8+Cgk8L2c+CjwvZz4KPC9zdmc+";
|
|
49205
49207
|
function QE(t) {
|
|
49206
49208
|
var e, n, r = t.isActiveCategory, i = t.category, a = t.allowNavigation, o = t.categoryConfig, s = t.onClick, l = t.customIcon, c = (e = o.icon) != null ? e : l, d = c != null;
|
|
49207
|
-
return P(
|
|
49209
|
+
return P(uo, {
|
|
49208
49210
|
tabIndex: a ? 0 : -1,
|
|
49209
49211
|
className: fe(L1.catBtn, Zr.categoryBtn, d ? L1.customIcon : "epr-icn-" + i, (n = {}, n[de.active] = r, n)),
|
|
49210
49212
|
onClick: s,
|
|
@@ -49347,7 +49349,7 @@ var KE = /* @__PURE__ */ Ae.create({
|
|
|
49347
49349
|
}), r4 = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXR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NDMuNDl6Ii8+CjxwYXRoIGZpbGw9IiM2QUE5REQiIGQ9Ik02Ljk4LDczLjU5YzAuMSwwLjEsMC4yNCwwLjE1LDAuMzcsMC4xNXMwLjI3LTAuMDUsMC4zNy0wLjE1bDIuNDItMi40MmwyLjQzLDIuNDMKCWMwLjEsMC4xLDAuMjQsMC4xNSwwLjM3LDAuMTVjMC4xNCwwLDAuMjctMC4wNSwwLjM3LTAuMTVjMC4yMS0wLjIxLDAuMjEtMC41NCwwLTAuNzVsLTIuNDMtMi40M0wxMy4zMiw2OAoJYzAuMjEtMC4yMSwwLjIxLTAuNTQsMC0wLjc1Yy0wLjIxLTAuMjEtMC41NC0wLjIxLTAuNzUsMGwtMi40MiwyLjQybC0yLjQxLTIuNDFjLTAuMjEtMC4yMS0wLjU0LTAuMjEtMC43NSwwCgljLTAuMjEsMC4yMS0wLjIxLDAuNTQsMCwwLjc1bDIuNDEsMi40MWwtMi40MiwyLjQyQzYuNzcsNzMuMDUsNi43Nyw3My4zOSw2Ljk4LDczLjU5TDYuOTgsNzMuNTl6Ii8+CjxwYXRoIGZpbGw9IiM2QUE5REQiIGQ9Ik0xMC4xNSw3OC40M2M0LjQxLDAsOC0zLjU5LDgtOGMwLTQuNDEtMy41OS04LTgtOGMtNC40MSwwLTgsMy41OS04LDhDMi4xNSw3NC44NCw1Ljc0LDc4LjQzLDEwLjE1LDc4LjQzegoJIE0xMC4xNSw2My40OWMzLjgzLDAsNi45NCwzLjExLDYuOTQsNi45NGMwLDMuODMtMy4xMSw2Ljk0LTYuOTQsNi45NGMtMy44MywwLTYuOTQtMy4xMS02Ljk0LTYuOTQKCUMzLjIxLDY2LjYsNi4zMyw2My40OSwxMC4xNSw2My40OUwxMC4xNSw2My40OXoiLz4KPC9zdmc+";
|
|
49348
49350
|
function qE() {
|
|
49349
49351
|
var t = O2(), e = G9();
|
|
49350
|
-
return P(
|
|
49352
|
+
return P(uo, {
|
|
49351
49353
|
className: fe(N1.btnClearSearch, Zr.visibleOnSearchOnly),
|
|
49352
49354
|
onClick: t,
|
|
49353
49355
|
"aria-label": e,
|
|
@@ -49427,19 +49429,19 @@ var $E = /* @__PURE__ */ Ae.create(/* @__PURE__ */ we({
|
|
|
49427
49429
|
function eT() {
|
|
49428
49430
|
var t = M2(), e = ku();
|
|
49429
49431
|
return t ? null : P(t4, {
|
|
49430
|
-
className: fe(
|
|
49432
|
+
className: fe(_o.overlay)
|
|
49431
49433
|
}, P(tT, null), e ? P(n4, null) : null);
|
|
49432
49434
|
}
|
|
49433
49435
|
function tT() {
|
|
49434
49436
|
var t = ti(), e = ur(), n = Q9(), r = K9(), i = kA(), a = i.statusSearchResults, o = i.searchTerm, s = i.onChange, l = e == null ? void 0 : e.current, c = l == null ? void 0 : l.value;
|
|
49435
49437
|
return P(Xl, {
|
|
49436
|
-
className: fe(
|
|
49438
|
+
className: fe(_o.searchContainer)
|
|
49437
49439
|
}, P("input", {
|
|
49438
49440
|
// eslint-disable-next-line jsx-a11y/no-autofocus
|
|
49439
49441
|
autoFocus: r,
|
|
49440
49442
|
"aria-label": "Type to search for an emoji",
|
|
49441
49443
|
onFocus: t,
|
|
49442
|
-
className: fe(
|
|
49444
|
+
className: fe(_o.search),
|
|
49443
49445
|
type: "text",
|
|
49444
49446
|
"aria-controls": "epr-search-id",
|
|
49445
49447
|
placeholder: n,
|
|
@@ -49450,13 +49452,13 @@ function tT() {
|
|
|
49450
49452
|
ref: e
|
|
49451
49453
|
}), o ? P("div", {
|
|
49452
49454
|
role: "status",
|
|
49453
|
-
className: fe("epr-status-search-results",
|
|
49455
|
+
className: fe("epr-status-search-results", _o.visuallyHidden),
|
|
49454
49456
|
"aria-live": "polite",
|
|
49455
49457
|
id: "epr-search-id",
|
|
49456
49458
|
"aria-atomic": "true"
|
|
49457
49459
|
}, a) : null, P(_E, null), P(qE, null));
|
|
49458
49460
|
}
|
|
49459
|
-
var
|
|
49461
|
+
var _o = /* @__PURE__ */ Ae.create(/* @__PURE__ */ we({
|
|
49460
49462
|
overlay: {
|
|
49461
49463
|
padding: "var(--epr-header-padding)",
|
|
49462
49464
|
zIndex: "var(--epr-header-overlay-z-index)"
|
|
@@ -49700,7 +49702,7 @@ const lT = ({ role: t }) => {
|
|
|
49700
49702
|
v = new gN(Vb, {
|
|
49701
49703
|
props: x,
|
|
49702
49704
|
editor: x.editor
|
|
49703
|
-
}), x.clientRect && (M =
|
|
49705
|
+
}), x.clientRect && (M = fo("body", {
|
|
49704
49706
|
getReferenceClientRect: x.clientRect,
|
|
49705
49707
|
appendTo: () => document.body,
|
|
49706
49708
|
content: v.element,
|
|
@@ -49928,7 +49930,7 @@ const lT = ({ role: t }) => {
|
|
|
49928
49930
|
size: "icon",
|
|
49929
49931
|
className: "h-6 w-6 text-muted-foreground hover:text-destructive",
|
|
49930
49932
|
onClick: () => n(t.id),
|
|
49931
|
-
children: /* @__PURE__ */ f(
|
|
49933
|
+
children: /* @__PURE__ */ f(ts, { className: "h-3.5 w-3.5" })
|
|
49932
49934
|
}
|
|
49933
49935
|
)
|
|
49934
49936
|
] })
|
|
@@ -50171,7 +50173,7 @@ function W7({
|
|
|
50171
50173
|
checked: n,
|
|
50172
50174
|
...r,
|
|
50173
50175
|
children: [
|
|
50174
|
-
/* @__PURE__ */ f("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ f(et.ItemIndicator, { children: /* @__PURE__ */ f(
|
|
50176
|
+
/* @__PURE__ */ f("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ f(et.ItemIndicator, { children: /* @__PURE__ */ f(al, { className: "size-4" }) }) }),
|
|
50175
50177
|
e
|
|
50176
50178
|
]
|
|
50177
50179
|
}
|
|
@@ -51088,7 +51090,7 @@ function q7({
|
|
|
51088
51090
|
}).format(v);
|
|
51089
51091
|
return /* @__PURE__ */ b("div", { className: C("space-y-6", o), children: [
|
|
51090
51092
|
n && /* @__PURE__ */ b(zr, { className: "no-print", children: [
|
|
51091
|
-
/* @__PURE__ */ f(
|
|
51093
|
+
/* @__PURE__ */ f(Ta, { children: /* @__PURE__ */ b(ja, { className: "flex items-center justify-between", children: [
|
|
51092
51094
|
/* @__PURE__ */ f("span", { children: "Ações do Documento" }),
|
|
51093
51095
|
/* @__PURE__ */ b("div", { className: "flex gap-2", children: [
|
|
51094
51096
|
/* @__PURE__ */ b(
|
|
@@ -51099,7 +51101,7 @@ function q7({
|
|
|
51099
51101
|
onClick: g,
|
|
51100
51102
|
className: "gap-2",
|
|
51101
51103
|
children: [
|
|
51102
|
-
/* @__PURE__ */ f(
|
|
51104
|
+
/* @__PURE__ */ f(ns, { className: "h-4 w-4" }),
|
|
51103
51105
|
"Download PDF"
|
|
51104
51106
|
]
|
|
51105
51107
|
}
|
|
@@ -51144,8 +51146,8 @@ function q7({
|
|
|
51144
51146
|
}
|
|
51145
51147
|
) }) }),
|
|
51146
51148
|
a && /* @__PURE__ */ b(zr, { className: "no-print", children: [
|
|
51147
|
-
/* @__PURE__ */ f(
|
|
51148
|
-
/* @__PURE__ */ f(
|
|
51149
|
+
/* @__PURE__ */ f(Ta, { children: /* @__PURE__ */ b(ja, { className: "flex items-center gap-2", children: [
|
|
51150
|
+
/* @__PURE__ */ f(rs, { className: "h-5 w-5" }),
|
|
51149
51151
|
"Sobre este Template"
|
|
51150
51152
|
] }) }),
|
|
51151
51153
|
/* @__PURE__ */ f(xi, { children: /* @__PURE__ */ b("div", { className: "space-y-2 text-sm text-muted-foreground", children: [
|
|
@@ -51213,11 +51215,11 @@ const qc = I.forwardRef(
|
|
|
51213
51215
|
readOnly: y,
|
|
51214
51216
|
...L
|
|
51215
51217
|
}, N) => {
|
|
51216
|
-
const [k, A] = I.useState(a), [j, S] = I.useState(""), [R,
|
|
51218
|
+
const [k, A] = I.useState(a), [j, S] = I.useState(""), [R, U] = I.useState(!1), V = I.useRef(null), B = i !== void 0 ? i : k, H = I.useCallback((T) => u ? new Intl.NumberFormat(p, u).format(T) : T.toFixed(d), [u, p, d]), E = (T) => {
|
|
51217
51219
|
const te = T.replace(/[^\d,.-]/g, "").replace(",", "."), ve = parseFloat(te);
|
|
51218
51220
|
return isNaN(ve) ? 0 : ve;
|
|
51219
|
-
},
|
|
51220
|
-
const te = G ?
|
|
51221
|
+
}, Y = (T) => g ? Math.min(Math.max(T, s), l) : T, _ = I.useCallback((T, G = !1) => {
|
|
51222
|
+
const te = G ? Y(T) : T;
|
|
51221
51223
|
i === void 0 && A(te), o && o(te);
|
|
51222
51224
|
}, [i, o, s, l, g]);
|
|
51223
51225
|
I.useEffect(() => {
|
|
@@ -51237,14 +51239,14 @@ const qc = I.forwardRef(
|
|
|
51237
51239
|
const ve = E(te);
|
|
51238
51240
|
_(ve, !1);
|
|
51239
51241
|
}, Ee = (T) => {
|
|
51240
|
-
if (
|
|
51241
|
-
const G =
|
|
51242
|
+
if (U(!1), m) {
|
|
51243
|
+
const G = Y(B);
|
|
51242
51244
|
_(G, !1), S(H(G));
|
|
51243
51245
|
} else
|
|
51244
51246
|
S(H(B));
|
|
51245
51247
|
L.onBlur && L.onBlur(T);
|
|
51246
51248
|
}, J = (T) => {
|
|
51247
|
-
|
|
51249
|
+
U(!0), S(B.toString()), T.target.select(), L.onFocus && L.onFocus(T);
|
|
51248
51250
|
}, X = (T) => {
|
|
51249
51251
|
x || y || (T.key === "ArrowUp" ? (T.preventDefault(), Q()) : T.key === "ArrowDown" && (T.preventDefault(), pe()), L.onKeyDown && L.onKeyDown(T));
|
|
51250
51252
|
}, ie = (T) => {
|
|
@@ -51288,7 +51290,7 @@ const qc = I.forwardRef(
|
|
|
51288
51290
|
v === "vertical" && "h-4 w-7 rounded-sm",
|
|
51289
51291
|
v === "horizontal" && "h-9 w-9 rounded-r-md border-l border-input bg-input-background"
|
|
51290
51292
|
),
|
|
51291
|
-
children: v === "vertical" ? /* @__PURE__ */ f(
|
|
51293
|
+
children: v === "vertical" ? /* @__PURE__ */ f(no, { className: "h-3 w-3" }) : /* @__PURE__ */ f(Cw, { className: "h-4 w-4" })
|
|
51292
51294
|
},
|
|
51293
51295
|
"dec"
|
|
51294
51296
|
);
|
|
@@ -51611,13 +51613,13 @@ const CT = () => {
|
|
|
51611
51613
|
},
|
|
51612
51614
|
{
|
|
51613
51615
|
label: "Este mês",
|
|
51614
|
-
value: { from:
|
|
51616
|
+
value: { from: is(t), to: t }
|
|
51615
51617
|
},
|
|
51616
51618
|
{
|
|
51617
51619
|
label: "Mês passado",
|
|
51618
51620
|
value: {
|
|
51619
|
-
from:
|
|
51620
|
-
to: ld(
|
|
51621
|
+
from: is(as(t, 1)),
|
|
51622
|
+
to: ld(as(t, 1))
|
|
51621
51623
|
}
|
|
51622
51624
|
}
|
|
51623
51625
|
];
|
|
@@ -51664,7 +51666,7 @@ function MT({
|
|
|
51664
51666
|
if (!(t != null && t.from)) return "00:00";
|
|
51665
51667
|
const J = t.from.getHours().toString().padStart(2, "0"), X = t.from.getMinutes().toString().padStart(2, "0");
|
|
51666
51668
|
return `${J}:${X}`;
|
|
51667
|
-
}, [t == null ? void 0 : t.from]),
|
|
51669
|
+
}, [t == null ? void 0 : t.from]), U = I.useMemo(() => {
|
|
51668
51670
|
if (!(t != null && t.to)) return "23:59";
|
|
51669
51671
|
const J = t.to.getHours().toString().padStart(2, "0"), X = t.to.getMinutes().toString().padStart(2, "0");
|
|
51670
51672
|
return `${J}:${X}`;
|
|
@@ -51679,7 +51681,7 @@ function MT({
|
|
|
51679
51681
|
J.from.setHours(X, ie, 0, 0);
|
|
51680
51682
|
}
|
|
51681
51683
|
if (J.to) {
|
|
51682
|
-
const [X, ie] =
|
|
51684
|
+
const [X, ie] = U.split(":").map(Number);
|
|
51683
51685
|
J.to.setHours(X, ie, 0, 0);
|
|
51684
51686
|
}
|
|
51685
51687
|
} else
|
|
@@ -51699,11 +51701,11 @@ function MT({
|
|
|
51699
51701
|
to: new Date(J.value.to)
|
|
51700
51702
|
};
|
|
51701
51703
|
if (u) {
|
|
51702
|
-
const [ie, ne] = R.split(":").map(Number), [T, G] =
|
|
51704
|
+
const [ie, ne] = R.split(":").map(Number), [T, G] = U.split(":").map(Number);
|
|
51703
51705
|
X.from.setHours(ie, ne, 0, 0), X.to.setHours(T, G, 0, 0);
|
|
51704
51706
|
}
|
|
51705
51707
|
e == null || e(X);
|
|
51706
|
-
},
|
|
51708
|
+
}, Y = (J) => {
|
|
51707
51709
|
const X = J.trim();
|
|
51708
51710
|
if (!X) return null;
|
|
51709
51711
|
for (const ie of j)
|
|
@@ -51725,10 +51727,10 @@ function MT({
|
|
|
51725
51727
|
for (const G of ie)
|
|
51726
51728
|
if (X.includes(G)) {
|
|
51727
51729
|
const te = X.split(G).map((ve) => ve.trim());
|
|
51728
|
-
if (te.length === 2 && (ne =
|
|
51730
|
+
if (te.length === 2 && (ne = Y(te[0]), T = Y(te[1]), ne && T))
|
|
51729
51731
|
break;
|
|
51730
51732
|
}
|
|
51731
|
-
return ne || (ne =
|
|
51733
|
+
return ne || (ne = Y(X), ne && (T = new Date(ne))), !ne || !T ? null : (ne > T && ([ne, T] = [T, ne]), { from: ne, to: T });
|
|
51732
51734
|
}, Q = (J) => {
|
|
51733
51735
|
const X = J.target.value;
|
|
51734
51736
|
L(X), k(!1);
|
|
@@ -51801,7 +51803,7 @@ function MT({
|
|
|
51801
51803
|
onClick: () => x(!0),
|
|
51802
51804
|
tabIndex: -1,
|
|
51803
51805
|
children: [
|
|
51804
|
-
/* @__PURE__ */ f(
|
|
51806
|
+
/* @__PURE__ */ f(es, { className: "h-4 w-4 text-muted-foreground" }),
|
|
51805
51807
|
/* @__PURE__ */ f("span", { className: "sr-only", children: "Abrir calendário" })
|
|
51806
51808
|
]
|
|
51807
51809
|
}
|
|
@@ -51840,7 +51842,7 @@ function MT({
|
|
|
51840
51842
|
/* @__PURE__ */ b("div", { className: "flex-1", children: [
|
|
51841
51843
|
/* @__PURE__ */ f("p", { className: "text-xs font-medium text-muted-foreground mb-2", children: "Hora início" }),
|
|
51842
51844
|
/* @__PURE__ */ f(
|
|
51843
|
-
|
|
51845
|
+
ls,
|
|
51844
51846
|
{
|
|
51845
51847
|
value: R,
|
|
51846
51848
|
onChange: B,
|
|
@@ -51854,9 +51856,9 @@ function MT({
|
|
|
51854
51856
|
/* @__PURE__ */ b("div", { className: "flex-1", children: [
|
|
51855
51857
|
/* @__PURE__ */ f("p", { className: "text-xs font-medium text-muted-foreground mb-2", children: "Hora fim" }),
|
|
51856
51858
|
/* @__PURE__ */ f(
|
|
51857
|
-
|
|
51859
|
+
ls,
|
|
51858
51860
|
{
|
|
51859
|
-
value:
|
|
51861
|
+
value: U,
|
|
51860
51862
|
onChange: H,
|
|
51861
51863
|
format: p,
|
|
51862
51864
|
minuteStep: h,
|
|
@@ -52228,11 +52230,11 @@ function RT({
|
|
|
52228
52230
|
[t, d]
|
|
52229
52231
|
), R = I.useCallback(
|
|
52230
52232
|
async (E) => {
|
|
52231
|
-
const
|
|
52232
|
-
if (
|
|
52233
|
+
const Y = E ?? w;
|
|
52234
|
+
if (Y != null) {
|
|
52233
52235
|
k(!0);
|
|
52234
52236
|
try {
|
|
52235
|
-
await n(
|
|
52237
|
+
await n(Y), x(!1), v(null);
|
|
52236
52238
|
} catch (_) {
|
|
52237
52239
|
console.error("Error confirming value change:", _);
|
|
52238
52240
|
} finally {
|
|
@@ -52241,7 +52243,7 @@ function RT({
|
|
|
52241
52243
|
}
|
|
52242
52244
|
},
|
|
52243
52245
|
[w, n]
|
|
52244
|
-
),
|
|
52246
|
+
), U = I.useCallback(() => {
|
|
52245
52247
|
x(!1), v(null), r == null || r();
|
|
52246
52248
|
}, [r]), V = I.useCallback(() => p && A ? p(t, A) : A ? /* @__PURE__ */ b(Fe, { children: [
|
|
52247
52249
|
A.icon,
|
|
@@ -52260,7 +52262,7 @@ function RT({
|
|
|
52260
52262
|
),
|
|
52261
52263
|
children: [
|
|
52262
52264
|
V(),
|
|
52263
|
-
!u && /* @__PURE__ */ f(
|
|
52265
|
+
!u && /* @__PURE__ */ f(no, { className: "h-3 w-3" })
|
|
52264
52266
|
]
|
|
52265
52267
|
}
|
|
52266
52268
|
) }),
|
|
@@ -52272,7 +52274,7 @@ function RT({
|
|
|
52272
52274
|
children: [
|
|
52273
52275
|
E.icon && /* @__PURE__ */ f("span", { className: "w-4 h-4", children: E.icon }),
|
|
52274
52276
|
/* @__PURE__ */ f("span", { className: "flex-1", children: E.label }),
|
|
52275
|
-
E.value === t && /* @__PURE__ */ f(
|
|
52277
|
+
E.value === t && /* @__PURE__ */ f(Ia, { className: "h-4 w-4 text-primary" })
|
|
52276
52278
|
]
|
|
52277
52279
|
},
|
|
52278
52280
|
String(E.value)
|
|
@@ -52305,7 +52307,7 @@ function RT({
|
|
|
52305
52307
|
F,
|
|
52306
52308
|
{
|
|
52307
52309
|
variant: "outline",
|
|
52308
|
-
onClick:
|
|
52310
|
+
onClick: U,
|
|
52309
52311
|
disabled: N,
|
|
52310
52312
|
children: c
|
|
52311
52313
|
}
|
|
@@ -53436,7 +53438,7 @@ function rD(t, e) {
|
|
|
53436
53438
|
return n;
|
|
53437
53439
|
}
|
|
53438
53440
|
let O1 = 0;
|
|
53439
|
-
const
|
|
53441
|
+
const $o = Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");
|
|
53440
53442
|
var b4 = /* @__PURE__ */ od(function(e) {
|
|
53441
53443
|
var { children: n } = e, r = nD(e, [
|
|
53442
53444
|
"children"
|
|
@@ -53446,7 +53448,7 @@ var b4 = /* @__PURE__ */ od(function(e) {
|
|
|
53446
53448
|
if (a) {
|
|
53447
53449
|
const o = w4();
|
|
53448
53450
|
return ++O1, () => {
|
|
53449
|
-
--O1 === 0 && (o[
|
|
53451
|
+
--O1 === 0 && (o[$o] = null);
|
|
53450
53452
|
};
|
|
53451
53453
|
}
|
|
53452
53454
|
}, []), /* @__PURE__ */ f(c4.Provider, {
|
|
@@ -53470,9 +53472,9 @@ function iD(t) {
|
|
|
53470
53472
|
}
|
|
53471
53473
|
function aD(t, e = w4(), n, r) {
|
|
53472
53474
|
const i = e;
|
|
53473
|
-
return i[
|
|
53475
|
+
return i[$o] || (i[$o] = {
|
|
53474
53476
|
dragDropManager: eD(t, e, n, r)
|
|
53475
|
-
}), i[
|
|
53477
|
+
}), i[$o];
|
|
53476
53478
|
}
|
|
53477
53479
|
function w4() {
|
|
53478
53480
|
return typeof global < "u" ? global : window;
|
|
@@ -54332,7 +54334,7 @@ function I4(t) {
|
|
|
54332
54334
|
y: n
|
|
54333
54335
|
};
|
|
54334
54336
|
}
|
|
54335
|
-
function
|
|
54337
|
+
function Yo(t) {
|
|
54336
54338
|
return {
|
|
54337
54339
|
x: t.clientX,
|
|
54338
54340
|
y: t.clientY
|
|
@@ -54573,7 +54575,7 @@ class qD {
|
|
|
54573
54575
|
return;
|
|
54574
54576
|
const { dragStartSourceIds: a } = this;
|
|
54575
54577
|
this.dragStartSourceIds = null;
|
|
54576
|
-
const o =
|
|
54578
|
+
const o = Yo(i);
|
|
54577
54579
|
this.monitor.isDragging() && (this.actions.endDrag(), this.cancelHover()), this.actions.beginDrag(a || [], {
|
|
54578
54580
|
publishSource: !1,
|
|
54579
54581
|
getSourceClientOffset: this.getSourceClientOffset,
|
|
@@ -54627,7 +54629,7 @@ class qD {
|
|
|
54627
54629
|
if (this.dragEnterTargetIds = [], !this.monitor.isDragging())
|
|
54628
54630
|
return;
|
|
54629
54631
|
this.altKeyPressed = i.altKey, a.length > 0 && this.actions.hover(a, {
|
|
54630
|
-
clientOffset:
|
|
54632
|
+
clientOffset: Yo(i)
|
|
54631
54633
|
}), a.some(
|
|
54632
54634
|
(s) => this.monitor.canDropOnTarget(s)
|
|
54633
54635
|
) && (i.preventDefault(), i.dataTransfer && (i.dataTransfer.dropEffect = this.getCurrentDropEffect()));
|
|
@@ -54642,7 +54644,7 @@ class qD {
|
|
|
54642
54644
|
i.preventDefault(), i.dataTransfer && (i.dataTransfer.dropEffect = "none");
|
|
54643
54645
|
return;
|
|
54644
54646
|
}
|
|
54645
|
-
this.altKeyPressed = i.altKey, this.lastClientOffset =
|
|
54647
|
+
this.altKeyPressed = i.altKey, this.lastClientOffset = Yo(i), this.scheduleHover(a), (a || []).some(
|
|
54646
54648
|
(s) => this.monitor.canDropOnTarget(s)
|
|
54647
54649
|
) ? (i.preventDefault(), i.dataTransfer && (i.dataTransfer.dropEffect = this.getCurrentDropEffect())) : this.isDraggingNativeItem() ? i.preventDefault() : (i.preventDefault(), i.dataTransfer && (i.dataTransfer.dropEffect = "none"));
|
|
54648
54650
|
}, this.handleTopDragLeaveCapture = (i) => {
|
|
@@ -54659,7 +54661,7 @@ class qD {
|
|
|
54659
54661
|
}, this.handleTopDrop = (i) => {
|
|
54660
54662
|
const { dropTargetIds: a } = this;
|
|
54661
54663
|
this.dropTargetIds = [], this.actions.hover(a, {
|
|
54662
|
-
clientOffset:
|
|
54664
|
+
clientOffset: Yo(i)
|
|
54663
54665
|
}), this.actions.drop({
|
|
54664
54666
|
dropEffect: this.getCurrentDropEffect()
|
|
54665
54667
|
}), this.isDraggingNativeItem() ? this.endDragNativeItem() : this.monitor.isDragging() && this.actions.endDrag(), this.cancelHover();
|
|
@@ -54671,7 +54673,7 @@ class qD {
|
|
|
54671
54673
|
}
|
|
54672
54674
|
const A4 = function(e, n, r) {
|
|
54673
54675
|
return new qD(e, n, r);
|
|
54674
|
-
},
|
|
54676
|
+
}, to = {
|
|
54675
54677
|
TASK: "task"
|
|
54676
54678
|
}, E4 = {
|
|
54677
54679
|
instagram: Vw,
|
|
@@ -54679,8 +54681,8 @@ const A4 = function(e, n, r) {
|
|
|
54679
54681
|
facebook: Bw,
|
|
54680
54682
|
twitter: Pw,
|
|
54681
54683
|
youtube: zw,
|
|
54682
|
-
blog:
|
|
54683
|
-
other:
|
|
54684
|
+
blog: Ea,
|
|
54685
|
+
other: Ea
|
|
54684
54686
|
}, $f = {
|
|
54685
54687
|
instagram: "text-pink-600",
|
|
54686
54688
|
linkedin: "text-blue-700",
|
|
@@ -54716,12 +54718,12 @@ function rf({
|
|
|
54716
54718
|
}) {
|
|
54717
54719
|
var p;
|
|
54718
54720
|
const [{ isDragging: a }, o] = AD(() => ({
|
|
54719
|
-
type:
|
|
54720
|
-
item: { id: t.id, type:
|
|
54721
|
+
type: to.TASK,
|
|
54722
|
+
item: { id: t.id, type: to.TASK },
|
|
54721
54723
|
collect: (h) => ({
|
|
54722
54724
|
isDragging: !!h.isDragging()
|
|
54723
54725
|
})
|
|
54724
|
-
}), [t.id]), s = t.channel ? E4[t.channel] :
|
|
54726
|
+
}), [t.id]), s = t.channel ? E4[t.channel] : Ea, l = t.date ? new Date(t.date) : null, c = t.endDate ? new Date(t.endDate) : l ? m0(l, 1) : null, d = l ? ce(l, "HH:mm") : null, u = l && c ? `${ce(l, "HH:mm")} - ${ce(c, "HH:mm")}` : d;
|
|
54725
54727
|
return n === "editorial" && (e === "week" || e === "day") ? /* @__PURE__ */ b(
|
|
54726
54728
|
"div",
|
|
54727
54729
|
{
|
|
@@ -54866,7 +54868,7 @@ function ZD({
|
|
|
54866
54868
|
}
|
|
54867
54869
|
function XD({ day: t, tasks: e, onDropTask: n, onTaskClick: r, onAddClick: i, isToday: a }) {
|
|
54868
54870
|
const [{ isOver: o }, s] = Yu(() => ({
|
|
54869
|
-
accept:
|
|
54871
|
+
accept: to.TASK,
|
|
54870
54872
|
drop: (l) => n(l.id, t),
|
|
54871
54873
|
collect: (l) => ({
|
|
54872
54874
|
isOver: !!l.isOver()
|
|
@@ -54970,7 +54972,7 @@ function $D({
|
|
|
54970
54972
|
HOURS: o
|
|
54971
54973
|
}) {
|
|
54972
54974
|
const [{ isOver: s }, l] = Yu(() => ({
|
|
54973
|
-
accept:
|
|
54975
|
+
accept: to.TASK,
|
|
54974
54976
|
drop: (c, d) => {
|
|
54975
54977
|
n(c.id, t);
|
|
54976
54978
|
},
|
|
@@ -55071,7 +55073,7 @@ function e5({
|
|
|
55071
55073
|
mode: o
|
|
55072
55074
|
}) {
|
|
55073
55075
|
const [{ isOver: s }, l] = Yu(() => ({
|
|
55074
|
-
accept:
|
|
55076
|
+
accept: to.TASK,
|
|
55075
55077
|
drop: (d) => r(d.id, t),
|
|
55076
55078
|
collect: (d) => ({
|
|
55077
55079
|
isOver: !!d.isOver()
|
|
@@ -55236,8 +55238,8 @@ function D4({
|
|
|
55236
55238
|
const [i, a] = oe(/* @__PURE__ */ new Date()), [o, s] = oe(r), [l, c] = oe(!0), [d, u] = oe(!1), [p, h] = oe(null), [m, g] = oe(!1), w = Me(() => {
|
|
55237
55239
|
let S, R;
|
|
55238
55240
|
if (o === "month") {
|
|
55239
|
-
const
|
|
55240
|
-
S = Ju(
|
|
55241
|
+
const U = is(i), V = ld(U);
|
|
55242
|
+
S = Ju(U), R = Ku(V);
|
|
55241
55243
|
} else o === "week" ? (S = Ju(i), R = Ku(i)) : (S = i, R = i);
|
|
55242
55244
|
return d0({ start: S, end: R });
|
|
55243
55245
|
}, [i, o]), v = t.filter((S) => !S.date), M = t.filter((S) => S.date);
|
|
@@ -55255,17 +55257,17 @@ function D4({
|
|
|
55255
55257
|
unplannedTasks: v,
|
|
55256
55258
|
scheduledTasks: M,
|
|
55257
55259
|
handlePrev: () => {
|
|
55258
|
-
a(o === "month" ?
|
|
55260
|
+
a(o === "month" ? as(i, 1) : o === "week" ? Co(i, -7) : Co(i, -1));
|
|
55259
55261
|
},
|
|
55260
55262
|
handleNext: () => {
|
|
55261
|
-
a(o === "month" ? p0(i, 1) : o === "week" ?
|
|
55263
|
+
a(o === "month" ? p0(i, 1) : o === "week" ? Co(i, 7) : Co(i, 1));
|
|
55262
55264
|
},
|
|
55263
55265
|
handleToday: () => a(/* @__PURE__ */ new Date()),
|
|
55264
|
-
handleDropTask: (S, R,
|
|
55266
|
+
handleDropTask: (S, R, U) => {
|
|
55265
55267
|
const V = t.find((B) => B.id === S);
|
|
55266
55268
|
if (V) {
|
|
55267
55269
|
let B = new Date(R);
|
|
55268
|
-
if (o === "month" ||
|
|
55270
|
+
if (o === "month" || U === "editorial")
|
|
55269
55271
|
if (V.date) {
|
|
55270
55272
|
const E = new Date(V.date);
|
|
55271
55273
|
B.setHours(E.getHours(), E.getMinutes());
|
|
@@ -55333,7 +55335,7 @@ function O4({ title: t, onPrev: e, onNext: n, onToday: r, onAdd: i, view: a, set
|
|
|
55333
55335
|
return /* @__PURE__ */ b("div", { className: "flex flex-col xl:flex-row items-center justify-between p-4 border-b gap-4 flex-shrink-0 bg-white", children: [
|
|
55334
55336
|
/* @__PURE__ */ b("div", { className: "flex items-center gap-4 w-full xl:w-auto justify-between xl:justify-start", children: [
|
|
55335
55337
|
/* @__PURE__ */ b("div", { className: "flex items-center border rounded-md bg-white shadow-sm", children: [
|
|
55336
|
-
/* @__PURE__ */ f(F, { variant: "ghost", size: "icon", onClick: e, className: "h-8 w-8 rounded-r-none", children: /* @__PURE__ */ f(
|
|
55338
|
+
/* @__PURE__ */ f(F, { variant: "ghost", size: "icon", onClick: e, className: "h-8 w-8 rounded-r-none", children: /* @__PURE__ */ f(ol, { className: "h-4 w-4" }) }),
|
|
55337
55339
|
/* @__PURE__ */ f(F, { variant: "ghost", onClick: r, className: "h-8 px-3 rounded-none border-x text-sm font-medium hover:bg-gray-50", children: "Today" }),
|
|
55338
55340
|
/* @__PURE__ */ f(F, { variant: "ghost", size: "icon", onClick: n, className: "h-8 w-8 rounded-l-none", children: /* @__PURE__ */ f(Rn, { className: "h-4 w-4" }) })
|
|
55339
55341
|
] }),
|
|
@@ -55757,7 +55759,7 @@ const V4 = I.memo(({
|
|
|
55757
55759
|
] }),
|
|
55758
55760
|
/* @__PURE__ */ b("div", { className: "space-y-2", children: [
|
|
55759
55761
|
/* @__PURE__ */ b("div", { className: "flex items-center gap-2 text-sm", children: [
|
|
55760
|
-
/* @__PURE__ */ f(
|
|
55762
|
+
/* @__PURE__ */ f(Ea, { className: "size-4 text-muted-foreground" }),
|
|
55761
55763
|
/* @__PURE__ */ b("span", { children: [
|
|
55762
55764
|
ce(t.startDate, "dd/MM/yyyy", { locale: vt }),
|
|
55763
55765
|
" -",
|
|
@@ -55801,7 +55803,7 @@ const n5 = ["DOM", "SEG", "TER", "QUA", "QUI", "SEX", "SAB"], r5 = I.forwardRef(
|
|
|
55801
55803
|
columnWidth: a = 40,
|
|
55802
55804
|
groupBy: o = "projects"
|
|
55803
55805
|
}, s) => {
|
|
55804
|
-
const [l, c] = I.useState(/* @__PURE__ */ new Date()), [d, u] = I.useState(/* @__PURE__ */ new Set()), p =
|
|
55806
|
+
const [l, c] = I.useState(/* @__PURE__ */ new Date()), [d, u] = I.useState(/* @__PURE__ */ new Set()), p = is(l), h = ld(l), m = d0({ start: p, end: h }), g = () => c(as(l, 1)), w = () => c(p0(l, 1)), v = () => c(/* @__PURE__ */ new Date()), M = I.useMemo(() => {
|
|
55805
55807
|
if (o === "assignees") {
|
|
55806
55808
|
const y = /* @__PURE__ */ new Map();
|
|
55807
55809
|
return t.forEach((N) => {
|
|
@@ -55842,7 +55844,7 @@ const n5 = ["DOM", "SEG", "TER", "QUA", "QUI", "SEX", "SAB"], r5 = I.forwardRef(
|
|
|
55842
55844
|
return /* @__PURE__ */ b("div", { className: "flex flex-col gap-4", children: [
|
|
55843
55845
|
/* @__PURE__ */ b("div", { className: "flex items-center justify-between", children: [
|
|
55844
55846
|
/* @__PURE__ */ b("div", { className: "flex items-center gap-2", children: [
|
|
55845
|
-
/* @__PURE__ */ f(F, { variant: "ghost", size: "icon", onClick: g, children: /* @__PURE__ */ f(
|
|
55847
|
+
/* @__PURE__ */ f(F, { variant: "ghost", size: "icon", onClick: g, children: /* @__PURE__ */ f(ol, { className: "h-4 w-4" }) }),
|
|
55846
55848
|
/* @__PURE__ */ f("h2", { className: "text-lg font-bold min-w-[200px] text-center", children: ce(l, "MMMM yyyy", { locale: vt }) }),
|
|
55847
55849
|
/* @__PURE__ */ f(F, { variant: "ghost", size: "icon", onClick: w, children: /* @__PURE__ */ f(Rn, { className: "h-4 w-4" }) })
|
|
55848
55850
|
] }),
|
|
@@ -55917,7 +55919,7 @@ const n5 = ["DOM", "SEG", "TER", "QUA", "QUI", "SEX", "SAB"], r5 = I.forwardRef(
|
|
|
55917
55919
|
style: { height: `${i}px` },
|
|
55918
55920
|
onClick: () => x(y.id),
|
|
55919
55921
|
children: [
|
|
55920
|
-
L ? /* @__PURE__ */ f(Rn, { className: "size-4 text-muted-foreground" }) : /* @__PURE__ */ f(
|
|
55922
|
+
L ? /* @__PURE__ */ f(Rn, { className: "size-4 text-muted-foreground" }) : /* @__PURE__ */ f(no, { className: "size-4 text-muted-foreground" }),
|
|
55921
55923
|
o === "assignees" && y.initials ? /* @__PURE__ */ f(en, { className: "size-6", children: /* @__PURE__ */ f(tn, { style: { backgroundColor: y.color }, className: "text-white text-[10px]", children: y.initials }) }) : /* @__PURE__ */ f(
|
|
55922
55924
|
"div",
|
|
55923
55925
|
{
|
|
@@ -56015,12 +56017,12 @@ i5.displayName = "GanttLegend";
|
|
|
56015
56017
|
function pR({
|
|
56016
56018
|
...t
|
|
56017
56019
|
}) {
|
|
56018
|
-
return /* @__PURE__ */ f(
|
|
56020
|
+
return /* @__PURE__ */ f(ss.Root, { "data-slot": "hover-card", ...t });
|
|
56019
56021
|
}
|
|
56020
56022
|
function mR({
|
|
56021
56023
|
...t
|
|
56022
56024
|
}) {
|
|
56023
|
-
return /* @__PURE__ */ f(
|
|
56025
|
+
return /* @__PURE__ */ f(ss.Trigger, { "data-slot": "hover-card-trigger", ...t });
|
|
56024
56026
|
}
|
|
56025
56027
|
function gR({
|
|
56026
56028
|
className: t,
|
|
@@ -56028,8 +56030,8 @@ function gR({
|
|
|
56028
56030
|
sideOffset: n = 4,
|
|
56029
56031
|
...r
|
|
56030
56032
|
}) {
|
|
56031
|
-
return /* @__PURE__ */ f(
|
|
56032
|
-
|
|
56033
|
+
return /* @__PURE__ */ f(ss.Portal, { "data-slot": "hover-card-portal", children: /* @__PURE__ */ f(
|
|
56034
|
+
ss.Content,
|
|
56033
56035
|
{
|
|
56034
56036
|
"data-slot": "hover-card-content",
|
|
56035
56037
|
align: e,
|
|
@@ -56356,7 +56358,7 @@ const s5 = {
|
|
|
56356
56358
|
}
|
|
56357
56359
|
) })
|
|
56358
56360
|
] }),
|
|
56359
|
-
/* @__PURE__ */ b(
|
|
56361
|
+
/* @__PURE__ */ b(Ta, { className: C(h === "compact" ? "p-3 pb-2" : "p-4 pb-3"), children: [
|
|
56360
56362
|
/* @__PURE__ */ b("div", { className: "flex items-start justify-between gap-2", children: [
|
|
56361
56363
|
/* @__PURE__ */ b("div", { className: "flex-1 min-w-0", children: [
|
|
56362
56364
|
/* @__PURE__ */ b("div", { className: "flex items-start gap-2", children: [
|
|
@@ -56370,7 +56372,7 @@ const s5 = {
|
|
|
56370
56372
|
),
|
|
56371
56373
|
/* @__PURE__ */ b("div", { className: "flex-1 min-w-0", children: [
|
|
56372
56374
|
/* @__PURE__ */ f(
|
|
56373
|
-
|
|
56375
|
+
ja,
|
|
56374
56376
|
{
|
|
56375
56377
|
className: C(
|
|
56376
56378
|
"line-clamp-2",
|
|
@@ -56473,7 +56475,7 @@ const s5 = {
|
|
|
56473
56475
|
),
|
|
56474
56476
|
children: [
|
|
56475
56477
|
L && /* @__PURE__ */ f(ln, { className: "h-3 w-3" }),
|
|
56476
|
-
/* @__PURE__ */ f(
|
|
56478
|
+
/* @__PURE__ */ f(Ea, { className: "h-3 w-3" }),
|
|
56477
56479
|
/* @__PURE__ */ f("span", { children: k(s) })
|
|
56478
56480
|
]
|
|
56479
56481
|
}
|
|
@@ -56530,31 +56532,31 @@ function MR({
|
|
|
56530
56532
|
}) {
|
|
56531
56533
|
var H;
|
|
56532
56534
|
const [p, h] = I.useState(!1), [m, g] = I.useState(""), w = I.useRef(null), v = I.useCallback((E) => {
|
|
56533
|
-
E && E.addEventListener("wheel", (
|
|
56534
|
-
}, []), M = I.useMemo(() => n || (r ? r.flatMap((
|
|
56535
|
+
E && E.addEventListener("wheel", (Y) => Y.stopPropagation(), { passive: !0 });
|
|
56536
|
+
}, []), M = I.useMemo(() => n || (r ? [...r.filter((Y) => Y.value != null).map((Y) => ({ value: Y.value, label: Y.label })), ...r.flatMap((Y) => Y.options)] : []), [n, r]), x = !!d, y = I.useMemo(() => {
|
|
56535
56537
|
if (!n) return [];
|
|
56536
56538
|
if (x) return n;
|
|
56537
56539
|
const E = m.toLowerCase().trim();
|
|
56538
56540
|
return E ? n.filter(
|
|
56539
|
-
(
|
|
56541
|
+
(Y) => Y.label.toLowerCase().includes(E) || Y.value.toLowerCase().includes(E)
|
|
56540
56542
|
) : n;
|
|
56541
56543
|
}, [n, m, x]), L = I.useMemo(() => {
|
|
56542
56544
|
if (!r) return;
|
|
56543
56545
|
if (x) return r;
|
|
56544
56546
|
const E = m.toLowerCase().trim();
|
|
56545
|
-
return E ? r.map((
|
|
56546
|
-
...
|
|
56547
|
-
options:
|
|
56547
|
+
return E ? r.map((Y) => ({
|
|
56548
|
+
...Y,
|
|
56549
|
+
options: Y.options.filter(
|
|
56548
56550
|
(_) => _.label.toLowerCase().includes(E) || _.value.toLowerCase().includes(E)
|
|
56549
56551
|
)
|
|
56550
|
-
})).filter((
|
|
56552
|
+
})).filter((Y) => Y.options.length > 0) : r;
|
|
56551
56553
|
}, [r, m, x]), N = I.useMemo(
|
|
56552
56554
|
() => M.filter((E) => t.includes(E.value)),
|
|
56553
56555
|
[M, t]
|
|
56554
56556
|
), k = r ? (L == null ? void 0 : L.some((E) => E.options.length > 0)) ?? !1 : y.length > 0, A = (E) => {
|
|
56555
|
-
t.includes(E) ? e(t.filter((
|
|
56556
|
-
}, j = (E,
|
|
56557
|
-
|
|
56557
|
+
t.includes(E) ? e(t.filter((Y) => Y !== E)) : e([...t, E]);
|
|
56558
|
+
}, j = (E, Y) => {
|
|
56559
|
+
Y.stopPropagation(), e(t.filter((_) => _ !== E));
|
|
56558
56560
|
}, S = (E) => {
|
|
56559
56561
|
s || (h(E), E || g(""));
|
|
56560
56562
|
};
|
|
@@ -56563,14 +56565,14 @@ function MR({
|
|
|
56563
56565
|
}, [p]);
|
|
56564
56566
|
const R = (E) => {
|
|
56565
56567
|
g(E.target.value), d == null || d(E.target.value);
|
|
56566
|
-
},
|
|
56567
|
-
const
|
|
56568
|
+
}, U = N.slice(0, c), V = N.length - c, B = (E) => {
|
|
56569
|
+
const Y = t.includes(E.value);
|
|
56568
56570
|
return /* @__PURE__ */ b(
|
|
56569
56571
|
"button",
|
|
56570
56572
|
{
|
|
56571
56573
|
type: "button",
|
|
56572
56574
|
role: "option",
|
|
56573
|
-
"aria-selected":
|
|
56575
|
+
"aria-selected": Y,
|
|
56574
56576
|
disabled: E.disabled,
|
|
56575
56577
|
onClick: () => A(E.value),
|
|
56576
56578
|
className: C(
|
|
@@ -56582,11 +56584,11 @@ function MR({
|
|
|
56582
56584
|
),
|
|
56583
56585
|
children: [
|
|
56584
56586
|
/* @__PURE__ */ f(
|
|
56585
|
-
|
|
56587
|
+
Ia,
|
|
56586
56588
|
{
|
|
56587
56589
|
className: C(
|
|
56588
56590
|
"h-4 w-4 shrink-0 transition-opacity duration-100",
|
|
56589
|
-
|
|
56591
|
+
Y ? "opacity-100" : "opacity-0"
|
|
56590
56592
|
)
|
|
56591
56593
|
}
|
|
56592
56594
|
),
|
|
@@ -56614,7 +56616,7 @@ function MR({
|
|
|
56614
56616
|
),
|
|
56615
56617
|
children: [
|
|
56616
56618
|
/* @__PURE__ */ f("div", { className: "flex flex-wrap items-center gap-1 flex-1 min-w-0", children: t.length === 0 ? /* @__PURE__ */ f("span", { className: "truncate text-sm", children: l ? "Carregando..." : i }) : /* @__PURE__ */ b(Fe, { children: [
|
|
56617
|
-
|
|
56619
|
+
U.map((E) => /* @__PURE__ */ b(
|
|
56618
56620
|
he,
|
|
56619
56621
|
{
|
|
56620
56622
|
variant: "secondary",
|
|
@@ -56627,8 +56629,8 @@ function MR({
|
|
|
56627
56629
|
role: "button",
|
|
56628
56630
|
"aria-label": `Remover ${E.label}`,
|
|
56629
56631
|
className: "inline-flex items-center justify-center rounded-sm hover:bg-muted/80 cursor-pointer shrink-0",
|
|
56630
|
-
onMouseDown: (
|
|
56631
|
-
onClick: (
|
|
56632
|
+
onMouseDown: (Y) => Y.preventDefault(),
|
|
56633
|
+
onClick: (Y) => j(E.value, Y),
|
|
56632
56634
|
children: /* @__PURE__ */ f(er, { className: "h-3 w-3" })
|
|
56633
56635
|
}
|
|
56634
56636
|
)
|
|
@@ -56664,7 +56666,7 @@ function MR({
|
|
|
56664
56666
|
onWheel: (E) => E.stopPropagation(),
|
|
56665
56667
|
children: [
|
|
56666
56668
|
/* @__PURE__ */ b("div", { className: "flex items-center border-b px-3", children: [
|
|
56667
|
-
/* @__PURE__ */ f(
|
|
56669
|
+
/* @__PURE__ */ f(Aa, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
|
|
56668
56670
|
/* @__PURE__ */ f(
|
|
56669
56671
|
Lt,
|
|
56670
56672
|
{
|
|
@@ -56680,7 +56682,30 @@ function MR({
|
|
|
56680
56682
|
/* @__PURE__ */ f(Q1, { className: "h-4 w-4 animate-spin" }),
|
|
56681
56683
|
"Carregando..."
|
|
56682
56684
|
] }) : k ? r ? L == null ? void 0 : L.map((E) => /* @__PURE__ */ b("div", { children: [
|
|
56683
|
-
/* @__PURE__ */
|
|
56685
|
+
E.value ? /* @__PURE__ */ b(
|
|
56686
|
+
"button",
|
|
56687
|
+
{
|
|
56688
|
+
type: "button",
|
|
56689
|
+
onClick: () => A(E.value),
|
|
56690
|
+
className: C(
|
|
56691
|
+
"flex w-full items-center gap-2 rounded-sm px-2 py-1.5",
|
|
56692
|
+
"hover:bg-accent hover:text-accent-foreground transition-colors duration-100",
|
|
56693
|
+
t.includes(E.value) && "text-foreground"
|
|
56694
|
+
),
|
|
56695
|
+
children: [
|
|
56696
|
+
/* @__PURE__ */ f(
|
|
56697
|
+
Ia,
|
|
56698
|
+
{
|
|
56699
|
+
className: C(
|
|
56700
|
+
"h-4 w-4 shrink-0 transition-opacity duration-100",
|
|
56701
|
+
t.includes(E.value) ? "opacity-100" : "opacity-0"
|
|
56702
|
+
)
|
|
56703
|
+
}
|
|
56704
|
+
),
|
|
56705
|
+
/* @__PURE__ */ f("span", { className: "text-xs font-semibold uppercase tracking-wide", children: E.label })
|
|
56706
|
+
]
|
|
56707
|
+
}
|
|
56708
|
+
) : /* @__PURE__ */ f("div", { className: "px-2 py-1.5 text-xs font-semibold text-muted-foreground uppercase tracking-wide", children: E.label }),
|
|
56684
56709
|
E.options.map(B)
|
|
56685
56710
|
] }, E.label)) : y.map(B) : /* @__PURE__ */ f("div", { className: "py-6 text-center text-sm text-muted-foreground", children: o }) }) })
|
|
56686
56711
|
]
|
|
@@ -56700,7 +56725,7 @@ const f5 = I.forwardRef(
|
|
|
56700
56725
|
onClick: s,
|
|
56701
56726
|
className: l
|
|
56702
56727
|
}, c) => o ? /* @__PURE__ */ b(zr, { ref: c, className: l, children: [
|
|
56703
|
-
/* @__PURE__ */ f(
|
|
56728
|
+
/* @__PURE__ */ f(Ta, { className: "pb-1", children: /* @__PURE__ */ b(ja, { className: "text-sm flex items-center gap-2", children: [
|
|
56704
56729
|
/* @__PURE__ */ f(Mr, { className: "h-4 w-4 rounded" }),
|
|
56705
56730
|
/* @__PURE__ */ f(Mr, { className: "h-4 w-24" })
|
|
56706
56731
|
] }) }),
|
|
@@ -56718,7 +56743,7 @@ const f5 = I.forwardRef(
|
|
|
56718
56743
|
l
|
|
56719
56744
|
),
|
|
56720
56745
|
children: [
|
|
56721
|
-
/* @__PURE__ */ f(
|
|
56746
|
+
/* @__PURE__ */ f(Ta, { className: "pb-1", children: /* @__PURE__ */ b(ja, { className: "text-sm flex items-center gap-2 text-muted-foreground", children: [
|
|
56722
56747
|
/* @__PURE__ */ f(a, { className: "h-4 w-4 text-muted-foreground" }),
|
|
56723
56748
|
t
|
|
56724
56749
|
] }) }),
|
|
@@ -56853,7 +56878,7 @@ function xR({
|
|
|
56853
56878
|
className: "h-8 w-8",
|
|
56854
56879
|
onClick: () => m(g, "view", r),
|
|
56855
56880
|
disabled: y,
|
|
56856
|
-
children: /* @__PURE__ */ f(
|
|
56881
|
+
children: /* @__PURE__ */ f(rs, { className: "h-4 w-4" })
|
|
56857
56882
|
}
|
|
56858
56883
|
) }),
|
|
56859
56884
|
/* @__PURE__ */ f(bt, { children: "Visualizar" })
|
|
@@ -56867,7 +56892,7 @@ function xR({
|
|
|
56867
56892
|
className: "h-8 w-8",
|
|
56868
56893
|
onClick: () => m(g, "download", e),
|
|
56869
56894
|
disabled: x,
|
|
56870
|
-
children: /* @__PURE__ */ f(
|
|
56895
|
+
children: /* @__PURE__ */ f(ns, { className: "h-4 w-4" })
|
|
56871
56896
|
}
|
|
56872
56897
|
) }),
|
|
56873
56898
|
/* @__PURE__ */ f(bt, { children: "Baixar" })
|
|
@@ -56880,7 +56905,7 @@ function xR({
|
|
|
56880
56905
|
size: "icon",
|
|
56881
56906
|
className: "h-8 w-8 text-destructive hover:text-destructive",
|
|
56882
56907
|
onClick: () => n(g),
|
|
56883
|
-
children: /* @__PURE__ */ f(
|
|
56908
|
+
children: /* @__PURE__ */ f(ts, { className: "h-4 w-4" })
|
|
56884
56909
|
}
|
|
56885
56910
|
) }),
|
|
56886
56911
|
/* @__PURE__ */ f(bt, { children: "Remover" })
|
|
@@ -56920,7 +56945,7 @@ function xR({
|
|
|
56920
56945
|
className: "h-8 w-8",
|
|
56921
56946
|
onClick: () => m(g, "view", r),
|
|
56922
56947
|
disabled: y,
|
|
56923
|
-
children: /* @__PURE__ */ f(
|
|
56948
|
+
children: /* @__PURE__ */ f(rs, { className: "h-4 w-4" })
|
|
56924
56949
|
}
|
|
56925
56950
|
) }),
|
|
56926
56951
|
/* @__PURE__ */ f(bt, { children: "Visualizar" })
|
|
@@ -56934,7 +56959,7 @@ function xR({
|
|
|
56934
56959
|
className: "h-8 w-8",
|
|
56935
56960
|
onClick: () => m(g, "download", e),
|
|
56936
56961
|
disabled: x,
|
|
56937
|
-
children: /* @__PURE__ */ f(
|
|
56962
|
+
children: /* @__PURE__ */ f(ns, { className: "h-4 w-4" })
|
|
56938
56963
|
}
|
|
56939
56964
|
) }),
|
|
56940
56965
|
/* @__PURE__ */ f(bt, { children: "Baixar" })
|
|
@@ -56947,7 +56972,7 @@ function xR({
|
|
|
56947
56972
|
size: "icon",
|
|
56948
56973
|
className: "h-8 w-8 text-destructive hover:text-destructive",
|
|
56949
56974
|
onClick: () => n(g),
|
|
56950
|
-
children: /* @__PURE__ */ f(
|
|
56975
|
+
children: /* @__PURE__ */ f(ts, { className: "h-4 w-4" })
|
|
56951
56976
|
}
|
|
56952
56977
|
) }),
|
|
56953
56978
|
/* @__PURE__ */ f(bt, { children: "Remover" })
|
|
@@ -57074,7 +57099,7 @@ function TR({
|
|
|
57074
57099
|
checked: n,
|
|
57075
57100
|
...r,
|
|
57076
57101
|
children: [
|
|
57077
|
-
/* @__PURE__ */ f("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ f(tt.ItemIndicator, { children: /* @__PURE__ */ f(
|
|
57102
|
+
/* @__PURE__ */ f("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ f(tt.ItemIndicator, { children: /* @__PURE__ */ f(al, { className: "size-4" }) }) }),
|
|
57078
57103
|
e
|
|
57079
57104
|
]
|
|
57080
57105
|
}
|
|
@@ -57262,7 +57287,7 @@ function UR({
|
|
|
57262
57287
|
e,
|
|
57263
57288
|
" ",
|
|
57264
57289
|
/* @__PURE__ */ f(
|
|
57265
|
-
|
|
57290
|
+
il,
|
|
57266
57291
|
{
|
|
57267
57292
|
className: "relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180",
|
|
57268
57293
|
"aria-hidden": "true"
|
|
@@ -57531,7 +57556,7 @@ const g5 = I.forwardRef(
|
|
|
57531
57556
|
className: "absolute right-0 top-0 h-full px-3 py-2 hover:bg-transparent",
|
|
57532
57557
|
tabIndex: -1,
|
|
57533
57558
|
"aria-label": i ? "Hide password" : "Show password",
|
|
57534
|
-
children: i ? /* @__PURE__ */ f(_w, { className: "h-4 w-4 text-muted-foreground" }) : /* @__PURE__ */ f(
|
|
57559
|
+
children: i ? /* @__PURE__ */ f(_w, { className: "h-4 w-4 text-muted-foreground" }) : /* @__PURE__ */ f(rs, { className: "h-4 w-4 text-muted-foreground" })
|
|
57535
57560
|
}
|
|
57536
57561
|
)
|
|
57537
57562
|
] });
|
|
@@ -57624,7 +57649,7 @@ function aO({
|
|
|
57624
57649
|
const a = t.filter((s) => s.isFavorite), o = t.filter((s) => !s.isFavorite);
|
|
57625
57650
|
return /* @__PURE__ */ b(ul, { children: [
|
|
57626
57651
|
/* @__PURE__ */ f(hl, { asChild: !0, children: /* @__PURE__ */ b(F, { variant: "outline", size: "sm", className: C("gap-2", i), children: [
|
|
57627
|
-
/* @__PURE__ */ f(
|
|
57652
|
+
/* @__PURE__ */ f(ns, { className: "h-4 w-4" }),
|
|
57628
57653
|
"Filtros salvos",
|
|
57629
57654
|
t.length > 0 && /* @__PURE__ */ b("span", { className: "text-xs text-muted-foreground", children: [
|
|
57630
57655
|
"(",
|
|
@@ -57711,7 +57736,7 @@ function H1({
|
|
|
57711
57736
|
i.stopPropagation(), r == null || r(t.id);
|
|
57712
57737
|
},
|
|
57713
57738
|
className: "p-1 hover:bg-accent rounded-sm opacity-0 group-hover:opacity-100 transition-opacity",
|
|
57714
|
-
children: /* @__PURE__ */ f(
|
|
57739
|
+
children: /* @__PURE__ */ f(ts, { className: "h-3.5 w-3.5 text-destructive" })
|
|
57715
57740
|
}
|
|
57716
57741
|
)
|
|
57717
57742
|
] });
|
|
@@ -58390,7 +58415,7 @@ function T5({
|
|
|
58390
58415
|
[n, e, r, i]
|
|
58391
58416
|
);
|
|
58392
58417
|
return /* @__PURE__ */ b(
|
|
58393
|
-
|
|
58418
|
+
Mo.Root,
|
|
58394
58419
|
{
|
|
58395
58420
|
"data-slot": "slider",
|
|
58396
58421
|
defaultValue: e,
|
|
@@ -58404,14 +58429,14 @@ function T5({
|
|
|
58404
58429
|
...a,
|
|
58405
58430
|
children: [
|
|
58406
58431
|
/* @__PURE__ */ f(
|
|
58407
|
-
|
|
58432
|
+
Mo.Track,
|
|
58408
58433
|
{
|
|
58409
58434
|
"data-slot": "slider-track",
|
|
58410
58435
|
className: C(
|
|
58411
58436
|
"bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-4 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"
|
|
58412
58437
|
),
|
|
58413
58438
|
children: /* @__PURE__ */ f(
|
|
58414
|
-
|
|
58439
|
+
Mo.Range,
|
|
58415
58440
|
{
|
|
58416
58441
|
"data-slot": "slider-range",
|
|
58417
58442
|
className: C(
|
|
@@ -58422,7 +58447,7 @@ function T5({
|
|
|
58422
58447
|
}
|
|
58423
58448
|
),
|
|
58424
58449
|
Array.from({ length: o.length }, (s, l) => /* @__PURE__ */ f(
|
|
58425
|
-
|
|
58450
|
+
Mo.Thumb,
|
|
58426
58451
|
{
|
|
58427
58452
|
"data-slot": "slider-thumb",
|
|
58428
58453
|
className: "border-primary bg-background ring-ring/50 block size-4 shrink-0 rounded-full border shadow-sm transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50"
|
|
@@ -58607,7 +58632,7 @@ function TO({
|
|
|
58607
58632
|
!o.startDate && "text-muted-foreground"
|
|
58608
58633
|
),
|
|
58609
58634
|
children: [
|
|
58610
|
-
/* @__PURE__ */ f(
|
|
58635
|
+
/* @__PURE__ */ f(es, { className: "mr-2 size-4" }),
|
|
58611
58636
|
o.startDate ? ce(o.startDate, "dd/MM/yyyy", { locale: vt }) : "Selecionar data"
|
|
58612
58637
|
]
|
|
58613
58638
|
}
|
|
@@ -58637,7 +58662,7 @@ function TO({
|
|
|
58637
58662
|
!o.endDate && "text-muted-foreground"
|
|
58638
58663
|
),
|
|
58639
58664
|
children: [
|
|
58640
|
-
/* @__PURE__ */ f(
|
|
58665
|
+
/* @__PURE__ */ f(es, { className: "mr-2 size-4" }),
|
|
58641
58666
|
o.endDate ? ce(o.endDate, "dd/MM/yyyy", { locale: vt }) : "Selecionar data"
|
|
58642
58667
|
]
|
|
58643
58668
|
}
|
|
@@ -59109,9 +59134,9 @@ function YO({
|
|
|
59109
59134
|
}
|
|
59110
59135
|
const j = [], S = [];
|
|
59111
59136
|
for (const R of A) {
|
|
59112
|
-
const
|
|
59113
|
-
if (
|
|
59114
|
-
S.push(`${R.name}: ${
|
|
59137
|
+
const U = H5(R, i);
|
|
59138
|
+
if (U) {
|
|
59139
|
+
S.push(`${R.name}: ${U}`);
|
|
59115
59140
|
continue;
|
|
59116
59141
|
}
|
|
59117
59142
|
const V = Q5(R, e);
|
|
@@ -59532,8 +59557,8 @@ export {
|
|
|
59532
59557
|
xi as CardContent,
|
|
59533
59558
|
Py as CardDescription,
|
|
59534
59559
|
By as CardFooter,
|
|
59535
|
-
|
|
59536
|
-
|
|
59560
|
+
Ta as CardHeader,
|
|
59561
|
+
ja as CardTitle,
|
|
59537
59562
|
f7 as Carousel,
|
|
59538
59563
|
c7 as CarouselContent,
|
|
59539
59564
|
d7 as CarouselItem,
|
|
@@ -59761,7 +59786,7 @@ export {
|
|
|
59761
59786
|
w0 as Table,
|
|
59762
59787
|
v0 as TableBody,
|
|
59763
59788
|
Vy as TableCaption,
|
|
59764
|
-
|
|
59789
|
+
Uo as TableCell,
|
|
59765
59790
|
Fy as TableFooter,
|
|
59766
59791
|
C0 as TableHead,
|
|
59767
59792
|
y0 as TableHeader,
|
|
@@ -59774,7 +59799,7 @@ export {
|
|
|
59774
59799
|
oR as TaskCalendar,
|
|
59775
59800
|
TO as TaskEditDialog,
|
|
59776
59801
|
Ru as Textarea,
|
|
59777
|
-
|
|
59802
|
+
ls as TimePicker,
|
|
59778
59803
|
jO as Timeline,
|
|
59779
59804
|
RO as Toaster,
|
|
59780
59805
|
kT as Toggle,
|