reactjs-tiptap-editor 1.0.6 → 1.0.7
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/lib/{ActionMenuButton-htJNI0Fa.js → ActionMenuButton-fTe9ka2F.js} +10 -13
- package/lib/ActionMenuButton-wU6jxKJv.cjs +1 -0
- package/lib/Attachment.cjs +2 -2
- package/lib/Attachment.js +23 -25
- package/lib/Blockquote.cjs +2 -2
- package/lib/Blockquote.js +5 -6
- package/lib/Bold.cjs +1 -1
- package/lib/Bold.js +5 -6
- package/lib/BulletList.cjs +1 -1
- package/lib/BulletList.js +11 -12
- package/lib/Clear.cjs +1 -1
- package/lib/Clear.js +3 -3
- package/lib/Code.cjs +1 -1
- package/lib/Code.js +9 -10
- package/lib/CodeBlock.cjs +39 -39
- package/lib/CodeBlock.js +837 -946
- package/lib/CodeView.cjs +1 -1
- package/lib/CodeView.js +8 -9
- package/lib/Color.cjs +1 -1
- package/lib/Color.js +20 -21
- package/lib/Column.cjs +1 -1
- package/lib/Column.js +5 -6
- package/lib/Drawer-BGSwHoka.cjs +1 -0
- package/lib/{Drawer-1211urKj.js → Drawer-DmtILKW4.js} +16 -17
- package/lib/Drawer.cjs +1 -1
- package/lib/Drawer.js +3 -3
- package/lib/Emoji.cjs +1 -1
- package/lib/Emoji.js +15 -16
- package/lib/Excalidraw-BG2U9i30.cjs +1 -0
- package/lib/{Excalidraw-Du3hBR8t.js → Excalidraw-CrG8fW-7.js} +31 -32
- package/lib/Excalidraw.cjs +1 -1
- package/lib/Excalidraw.js +2 -2
- package/lib/ExportPdf.cjs +1 -1
- package/lib/ExportPdf.js +17 -18
- package/lib/ExportWord.cjs +1 -1
- package/lib/ExportWord.js +5 -6
- package/lib/FontFamily.cjs +1 -1
- package/lib/FontFamily.js +5 -5
- package/lib/FontSize.cjs +1 -1
- package/lib/FontSize.js +5 -5
- package/lib/Heading.cjs +1 -1
- package/lib/Heading.js +15 -15
- package/lib/Highlight.cjs +1 -1
- package/lib/Highlight.js +10 -11
- package/lib/History.cjs +1 -1
- package/lib/History.js +8 -10
- package/lib/HorizontalRule.cjs +1 -1
- package/lib/HorizontalRule.js +5 -6
- package/lib/Icon-C3j4ls73.cjs +1 -0
- package/lib/{Icon-C-qYUAS1.js → Icon-CysGlJkv.js} +3 -4
- package/lib/{Iframe-DTYTLQE6.js → Iframe-BmqguWbj.js} +13 -14
- package/lib/Iframe-CXDghI6m.cjs +1 -0
- package/lib/Iframe.cjs +1 -1
- package/lib/Iframe.js +2 -2
- package/lib/Image.cjs +1 -1
- package/lib/Image.js +48 -49
- package/lib/ImageGif.cjs +1 -1
- package/lib/ImageGif.js +22 -23
- package/lib/ImportWord.cjs +2 -2
- package/lib/ImportWord.js +10 -11
- package/lib/Indent-B1glTHHl.cjs +1 -0
- package/lib/{Indent-jOPn3eUM.js → Indent-BhnGkEaY.js} +24 -25
- package/lib/Indent.cjs +1 -1
- package/lib/Indent.js +2 -2
- package/lib/Italic.cjs +1 -1
- package/lib/Italic.js +10 -11
- package/lib/Katex-BKL_6NWF.cjs +4 -0
- package/lib/{Katex-CERSrcTP.js → Katex-D4eBjS34.js} +21 -22
- package/lib/Katex.cjs +1 -1
- package/lib/Katex.js +2 -2
- package/lib/LineHeight.cjs +1 -1
- package/lib/LineHeight.js +15 -16
- package/lib/Link.cjs +1 -1
- package/lib/Link.js +2 -2
- package/lib/{LinkEditBlock-B5SdhOfa.js → LinkEditBlock-D1eSM0kn.js} +55 -56
- package/lib/{LinkEditBlock-DaxljgJC.cjs → LinkEditBlock-DW17TyCA.cjs} +2 -2
- package/lib/Mention.js +2 -2
- package/lib/Mermaid.cjs +2 -2
- package/lib/Mermaid.js +20 -20
- package/lib/MoreMark.cjs +1 -1
- package/lib/MoreMark.js +19 -21
- package/lib/OrderedList.cjs +1 -1
- package/lib/OrderedList.js +5 -6
- package/lib/SearchAndReplace.cjs +1 -1
- package/lib/SearchAndReplace.js +22 -23
- package/lib/SlashCommand.cjs +1 -1
- package/lib/SlashCommand.js +14 -14
- package/lib/Strike.cjs +1 -1
- package/lib/Strike.js +5 -6
- package/lib/{Table-39OkCQbu.js → Table-BIZppoiY.js} +7 -8
- package/lib/Table-CIzgfvr9.cjs +9 -0
- package/lib/Table.cjs +1 -1
- package/lib/Table.js +1 -1
- package/lib/TaskList.cjs +1 -1
- package/lib/TaskList.js +13 -14
- package/lib/TextAlign.cjs +1 -1
- package/lib/TextAlign.js +17 -19
- package/lib/TextDirection.cjs +1 -1
- package/lib/TextDirection.js +17 -19
- package/lib/TextUnderline.cjs +1 -1
- package/lib/TextUnderline.js +5 -6
- package/lib/{Twitter-D7PhLycr.js → Twitter-DhczYjbR.js} +21 -22
- package/lib/Twitter-DwWVNAV5.cjs +1 -0
- package/lib/Twitter.cjs +1 -1
- package/lib/Twitter.js +2 -2
- package/lib/Video.cjs +1 -1
- package/lib/Video.js +24 -25
- package/lib/bubble.cjs +4 -4
- package/lib/bubble.js +419 -421
- package/lib/button-B6ukqDUf.cjs +1 -0
- package/lib/{button-Crm67hfl.js → button-C81t4pb1.js} +3 -4
- package/lib/{checkbox-DViVmgJ6.js → checkbox-CUE9ex4D.js} +1 -1
- package/lib/{checkbox-NQC2MdGT.cjs → checkbox-ZdxysUFa.cjs} +1 -1
- package/lib/{dialog-DaHBd2zw.cjs → dialog-Cfx8yjkr.cjs} +1 -1
- package/lib/{dialog-Ce9Cjfft.js → dialog-DMJStzBb.js} +1 -1
- package/lib/{dropdown-menu-CQykJhBs.js → dropdown-menu-B8iyTZcP.js} +1 -1
- package/lib/{dropdown-menu-CSCDQtq0.cjs → dropdown-menu-Busg3FNn.cjs} +1 -1
- package/lib/{index-DuZCJJSp.js → index--knBGB61.js} +1118 -504
- package/lib/{index-nFjllrEl.js → index-BvYjBPF9.js} +7 -7
- package/lib/index-D42xFOzI.cjs +7 -0
- package/lib/{index-D-FhWysc.js → index-Dwt9--mS.js} +1 -1
- package/lib/{index-BeUrdBxf.js → index-RKufd2EL.js} +1 -1
- package/lib/{index-prphFVsp.js → index-ccgHvIfu.js} +1 -1
- package/lib/index.cjs +2 -2
- package/lib/index.js +8 -9
- package/lib/{input-tU3H__39.cjs → input-BxzQAIRv.cjs} +1 -1
- package/lib/{input-DfqFAyKo.js → input-DR_5pbuA.js} +1 -1
- package/lib/{isNumber-CTm1pIvN.js → isNumber-1y3eeW-y.js} +1 -1
- package/lib/label-BfWfLggp.cjs +1 -0
- package/lib/label-D-0oXKCn.js +18 -0
- package/lib/{popover-CoepUobG.js → popover-D3spkemr.js} +1 -1
- package/lib/{popover-CZWSQZ0q.cjs → popover-sP8CwbV-.cjs} +1 -1
- package/lib/{separator-6SnwzytZ.js → separator-rM48NeAo.js} +18 -18
- package/lib/{separator-DCQD8P6s.cjs → separator-yycaNdlI.cjs} +1 -1
- package/lib/{store-726Zjszt.cjs → store-BajRl43v.cjs} +1 -1
- package/lib/{store-ibARMQ3h.js → store-NKeQOve_.js} +1 -1
- package/lib/{tabs-DrkJL_C2.js → tabs-Cb6Bmpbb.js} +1 -1
- package/lib/{tabs-B_ArrG09.cjs → tabs-D2nCIOVL.cjs} +1 -1
- package/lib/{textarea-CIs52G8B.js → textarea-BYZu1lUC.js} +1 -1
- package/lib/{textarea-CmZVZKOo.cjs → textarea-Cbwi_h4h.cjs} +1 -1
- package/lib/{throttle-CGM5M2yG.js → throttle-CjwXmkIY.js} +1 -1
- package/lib/{updatePosition-DpMKxYdN.js → updatePosition-BAGpT34H.js} +1 -1
- package/lib/{useButtonProps-D0SrPzuG.js → useButtonProps-BIH_9bXT.js} +35 -47
- package/lib/useButtonProps-TfmRCM9r.cjs +1 -0
- package/package.json +5 -1
- package/lib/ActionMenuButton-DYT5chmX.cjs +0 -1
- package/lib/Drawer-DUFUd5BW.cjs +0 -1
- package/lib/Excalidraw-CajgZDjU.cjs +0 -1
- package/lib/Icon-BjR_or8V.cjs +0 -1
- package/lib/Iframe-CM6mRQmv.cjs +0 -1
- package/lib/Indent-BmhiEb0S.cjs +0 -1
- package/lib/Katex-CUd3LxLh.cjs +0 -4
- package/lib/Table-3VstSlg4.cjs +0 -9
- package/lib/Twitter-DuHPeVW1.cjs +0 -1
- package/lib/button-xNppt_aK.cjs +0 -1
- package/lib/index-BQ17A_37.js +0 -393
- package/lib/index-CNzHZDls.cjs +0 -7
- package/lib/index-DmOTQudI.cjs +0 -1
- package/lib/label-DC33TZy_.js +0 -19
- package/lib/label-DkDE77kc.cjs +0 -1
- package/lib/toggle-DVCNvcqp.cjs +0 -1
- package/lib/toggle-xchtz-Kf.js +0 -92
- package/lib/tooltip-BTFcHrd9.js +0 -24
- package/lib/tooltip-DFjcKu9a.cjs +0 -1
- package/lib/useButtonProps-bei1vI37.cjs +0 -1
|
@@ -1,44 +1,51 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import { useCallback as E, useState as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { jsxs as z, jsx as i, Fragment as ne } from "react/jsx-runtime";
|
|
2
|
+
import * as N from "react";
|
|
3
|
+
import _e, { useCallback as E, useState as Ue, useEffect as T, useRef as te, createContext as Fe, useContext as De, useSyncExternalStore as Xe, memo as qe } from "react";
|
|
4
|
+
import { Slot as Je } from "@radix-ui/react-slot";
|
|
5
|
+
import { x as Ke, a as Qe } from "./index-0OnGZkVF.js";
|
|
6
|
+
import { THEME as fe } from "./theme.js";
|
|
7
|
+
import { l as W, E as O } from "./events.constant-wrlJ_7JZ.js";
|
|
8
|
+
import { TextAlignRightIcon as Ye, TextAlignLeftIcon as Ze, TextAlignJustifyIcon as et, TextAlignCenterIcon as tt } from "@radix-ui/react-icons";
|
|
9
|
+
import { ExternalLink as rt, X as ot, Loader2 as nt, WrapText as it, PencilRuler as st, FlipHorizontal as ct, FlipVertical as at, CropIcon as lt, ChevronUp as Me, Paperclip as dt, Eye as ut, Settings as ht, ZoomOut as mt, ZoomIn as pt, BookMarked as gt, Sigma as ft, SmilePlusIcon as xt, Replace as xe, SmilePlus as bt, Frame as wt, Columns2 as be, PanelRight as vt, PanelLeft as yt, Clipboard as Ct, Copy as St, GripVertical as zt, Plus as kt, Columns4 as Mt, Columns3 as Lt, Heading6 as Et, Heading5 as Nt, Heading4 as At, Heading3 as Rt, Heading2 as Tt, Heading1 as Vt, ChevronsUpDown as It, Trash as Ht, Trash2 as Pt, TableCellsSplit as jt, TableCellsMerge as Bt, BetweenVerticalEnd as Gt, BetweenVerticalStart as Wt, BetweenHorizonalStart as Ot, BetweenHorizonalEnd as $t, Unlink as _t, Pencil as Ut, Sparkles as Ft, Table as Dt, Minimize as Xt, Maximize as qt, Video as Jt, ImageUp as Kt, Link as Qt, ListTodo as Yt, ListOrdered as Zt, List as er, IndentDecrease as tr, IndentIncrease as rr, Type as or, CodeXml as nr, Code as ir, Superscript as sr, Subscript as cr, ChevronDown as ie, Undo2 as ar, Redo2 as lr, PaintRoller as dr, Eraser as ur, Minus as hr, Strikethrough as mr, Quote as pr, Underline as gr, Italic as fr, LoaderCircle as xr, Bold as br, Check as wr } from "lucide-react";
|
|
10
|
+
import * as Le from "@radix-ui/react-toggle";
|
|
11
|
+
import * as $ from "@radix-ui/react-tooltip";
|
|
12
|
+
import * as v from "@radix-ui/react-select";
|
|
13
|
+
import { C as Ee } from "./index-BvYjBPF9.js";
|
|
14
|
+
const se = "-", vr = (e) => {
|
|
15
|
+
const r = Cr(e), {
|
|
9
16
|
conflictingClassGroups: t,
|
|
10
17
|
conflictingClassGroupModifiers: o
|
|
11
18
|
} = e;
|
|
12
19
|
return {
|
|
13
|
-
getClassGroupId: (
|
|
14
|
-
const
|
|
15
|
-
return
|
|
20
|
+
getClassGroupId: (a) => {
|
|
21
|
+
const c = a.split(se);
|
|
22
|
+
return c[0] === "" && c.length !== 1 && c.shift(), Ne(c, r) || yr(a);
|
|
16
23
|
},
|
|
17
|
-
getConflictingClassGroupIds: (
|
|
18
|
-
const
|
|
19
|
-
return
|
|
24
|
+
getConflictingClassGroupIds: (a, c) => {
|
|
25
|
+
const u = t[a] || [];
|
|
26
|
+
return c && o[a] ? [...u, ...o[a]] : u;
|
|
20
27
|
}
|
|
21
28
|
};
|
|
22
|
-
},
|
|
23
|
-
var
|
|
29
|
+
}, Ne = (e, r) => {
|
|
30
|
+
var a;
|
|
24
31
|
if (e.length === 0)
|
|
25
32
|
return r.classGroupId;
|
|
26
|
-
const t = e[0], o = r.nextPart.get(t),
|
|
27
|
-
if (
|
|
28
|
-
return
|
|
33
|
+
const t = e[0], o = r.nextPart.get(t), s = o ? Ne(e.slice(1), o) : void 0;
|
|
34
|
+
if (s)
|
|
35
|
+
return s;
|
|
29
36
|
if (r.validators.length === 0)
|
|
30
37
|
return;
|
|
31
|
-
const n = e.join(
|
|
32
|
-
return (
|
|
33
|
-
validator:
|
|
34
|
-
}) =>
|
|
35
|
-
},
|
|
36
|
-
if (
|
|
37
|
-
const r =
|
|
38
|
+
const n = e.join(se);
|
|
39
|
+
return (a = r.validators.find(({
|
|
40
|
+
validator: c
|
|
41
|
+
}) => c(n))) == null ? void 0 : a.classGroupId;
|
|
42
|
+
}, we = /^\[(.+)\]$/, yr = (e) => {
|
|
43
|
+
if (we.test(e)) {
|
|
44
|
+
const r = we.exec(e)[1], t = r == null ? void 0 : r.substring(0, r.indexOf(":"));
|
|
38
45
|
if (t)
|
|
39
46
|
return "arbitrary.." + t;
|
|
40
47
|
}
|
|
41
|
-
},
|
|
48
|
+
}, Cr = (e) => {
|
|
42
49
|
const {
|
|
43
50
|
theme: r,
|
|
44
51
|
prefix: t
|
|
@@ -46,43 +53,43 @@ const Z = "-", Ne = (e) => {
|
|
|
46
53
|
nextPart: /* @__PURE__ */ new Map(),
|
|
47
54
|
validators: []
|
|
48
55
|
};
|
|
49
|
-
return
|
|
50
|
-
|
|
56
|
+
return zr(Object.entries(e.classGroups), t).forEach(([n, a]) => {
|
|
57
|
+
re(a, o, n, r);
|
|
51
58
|
}), o;
|
|
52
|
-
},
|
|
53
|
-
e.forEach((
|
|
54
|
-
if (typeof
|
|
55
|
-
const n =
|
|
59
|
+
}, re = (e, r, t, o) => {
|
|
60
|
+
e.forEach((s) => {
|
|
61
|
+
if (typeof s == "string") {
|
|
62
|
+
const n = s === "" ? r : ve(r, s);
|
|
56
63
|
n.classGroupId = t;
|
|
57
64
|
return;
|
|
58
65
|
}
|
|
59
|
-
if (typeof
|
|
60
|
-
if (
|
|
61
|
-
|
|
66
|
+
if (typeof s == "function") {
|
|
67
|
+
if (Sr(s)) {
|
|
68
|
+
re(s(o), r, t, o);
|
|
62
69
|
return;
|
|
63
70
|
}
|
|
64
71
|
r.validators.push({
|
|
65
|
-
validator:
|
|
72
|
+
validator: s,
|
|
66
73
|
classGroupId: t
|
|
67
74
|
});
|
|
68
75
|
return;
|
|
69
76
|
}
|
|
70
|
-
Object.entries(
|
|
71
|
-
|
|
77
|
+
Object.entries(s).forEach(([n, a]) => {
|
|
78
|
+
re(a, ve(r, n), t, o);
|
|
72
79
|
});
|
|
73
80
|
});
|
|
74
|
-
},
|
|
81
|
+
}, ve = (e, r) => {
|
|
75
82
|
let t = e;
|
|
76
|
-
return r.split(
|
|
83
|
+
return r.split(se).forEach((o) => {
|
|
77
84
|
t.nextPart.has(o) || t.nextPart.set(o, {
|
|
78
85
|
nextPart: /* @__PURE__ */ new Map(),
|
|
79
86
|
validators: []
|
|
80
87
|
}), t = t.nextPart.get(o);
|
|
81
88
|
}), t;
|
|
82
|
-
},
|
|
83
|
-
const
|
|
84
|
-
return [t,
|
|
85
|
-
}) : e,
|
|
89
|
+
}, Sr = (e) => e.isThemeGetter, zr = (e, r) => r ? e.map(([t, o]) => {
|
|
90
|
+
const s = o.map((n) => typeof n == "string" ? r + n : typeof n == "object" ? Object.fromEntries(Object.entries(n).map(([a, c]) => [r + a, c])) : n);
|
|
91
|
+
return [t, s];
|
|
92
|
+
}) : e, kr = (e) => {
|
|
86
93
|
if (e < 1)
|
|
87
94
|
return {
|
|
88
95
|
get: () => {
|
|
@@ -91,55 +98,55 @@ const Z = "-", Ne = (e) => {
|
|
|
91
98
|
}
|
|
92
99
|
};
|
|
93
100
|
let r = 0, t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
|
|
94
|
-
const
|
|
95
|
-
t.set(n,
|
|
101
|
+
const s = (n, a) => {
|
|
102
|
+
t.set(n, a), r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ new Map());
|
|
96
103
|
};
|
|
97
104
|
return {
|
|
98
105
|
get(n) {
|
|
99
|
-
let
|
|
100
|
-
if (
|
|
101
|
-
return
|
|
102
|
-
if ((
|
|
103
|
-
return
|
|
106
|
+
let a = t.get(n);
|
|
107
|
+
if (a !== void 0)
|
|
108
|
+
return a;
|
|
109
|
+
if ((a = o.get(n)) !== void 0)
|
|
110
|
+
return s(n, a), a;
|
|
104
111
|
},
|
|
105
|
-
set(n,
|
|
106
|
-
t.has(n) ? t.set(n,
|
|
112
|
+
set(n, a) {
|
|
113
|
+
t.has(n) ? t.set(n, a) : s(n, a);
|
|
107
114
|
}
|
|
108
115
|
};
|
|
109
|
-
},
|
|
116
|
+
}, Ae = "!", Mr = (e) => {
|
|
110
117
|
const {
|
|
111
118
|
separator: r,
|
|
112
119
|
experimentalParseClassName: t
|
|
113
|
-
} = e, o = r.length === 1,
|
|
114
|
-
const
|
|
115
|
-
let
|
|
116
|
-
for (let
|
|
117
|
-
let
|
|
118
|
-
if (
|
|
119
|
-
if (
|
|
120
|
-
|
|
120
|
+
} = e, o = r.length === 1, s = r[0], n = r.length, a = (c) => {
|
|
121
|
+
const u = [];
|
|
122
|
+
let d = 0, m = 0, p;
|
|
123
|
+
for (let g = 0; g < c.length; g++) {
|
|
124
|
+
let y = c[g];
|
|
125
|
+
if (d === 0) {
|
|
126
|
+
if (y === s && (o || c.slice(g, g + n) === r)) {
|
|
127
|
+
u.push(c.slice(m, g)), m = g + n;
|
|
121
128
|
continue;
|
|
122
129
|
}
|
|
123
|
-
if (
|
|
124
|
-
|
|
130
|
+
if (y === "/") {
|
|
131
|
+
p = g;
|
|
125
132
|
continue;
|
|
126
133
|
}
|
|
127
134
|
}
|
|
128
|
-
|
|
135
|
+
y === "[" ? d++ : y === "]" && d--;
|
|
129
136
|
}
|
|
130
|
-
const
|
|
137
|
+
const l = u.length === 0 ? c : c.substring(m), f = l.startsWith(Ae), C = f ? l.substring(1) : l, b = p && p > m ? p - m : void 0;
|
|
131
138
|
return {
|
|
132
|
-
modifiers:
|
|
133
|
-
hasImportantModifier:
|
|
134
|
-
baseClassName:
|
|
135
|
-
maybePostfixModifierPosition:
|
|
139
|
+
modifiers: u,
|
|
140
|
+
hasImportantModifier: f,
|
|
141
|
+
baseClassName: C,
|
|
142
|
+
maybePostfixModifierPosition: b
|
|
136
143
|
};
|
|
137
144
|
};
|
|
138
|
-
return t ? (
|
|
139
|
-
className:
|
|
140
|
-
parseClassName:
|
|
141
|
-
}) :
|
|
142
|
-
},
|
|
145
|
+
return t ? (c) => t({
|
|
146
|
+
className: c,
|
|
147
|
+
parseClassName: a
|
|
148
|
+
}) : a;
|
|
149
|
+
}, Lr = (e) => {
|
|
143
150
|
if (e.length <= 1)
|
|
144
151
|
return e;
|
|
145
152
|
const r = [];
|
|
@@ -147,122 +154,122 @@ const Z = "-", Ne = (e) => {
|
|
|
147
154
|
return e.forEach((o) => {
|
|
148
155
|
o[0] === "[" ? (r.push(...t.sort(), o), t = []) : t.push(o);
|
|
149
156
|
}), r.push(...t.sort()), r;
|
|
150
|
-
},
|
|
151
|
-
cache:
|
|
152
|
-
parseClassName:
|
|
153
|
-
...
|
|
154
|
-
}),
|
|
157
|
+
}, Er = (e) => ({
|
|
158
|
+
cache: kr(e.cacheSize),
|
|
159
|
+
parseClassName: Mr(e),
|
|
160
|
+
...vr(e)
|
|
161
|
+
}), Nr = /\s+/, Ar = (e, r) => {
|
|
155
162
|
const {
|
|
156
163
|
parseClassName: t,
|
|
157
164
|
getClassGroupId: o,
|
|
158
|
-
getConflictingClassGroupIds:
|
|
159
|
-
} = r, n = [],
|
|
160
|
-
let
|
|
161
|
-
for (let
|
|
162
|
-
const
|
|
163
|
-
modifiers:
|
|
164
|
-
hasImportantModifier:
|
|
165
|
-
baseClassName:
|
|
166
|
-
maybePostfixModifierPosition:
|
|
167
|
-
} = t(
|
|
168
|
-
let
|
|
169
|
-
if (!
|
|
170
|
-
if (!
|
|
171
|
-
|
|
165
|
+
getConflictingClassGroupIds: s
|
|
166
|
+
} = r, n = [], a = e.trim().split(Nr);
|
|
167
|
+
let c = "";
|
|
168
|
+
for (let u = a.length - 1; u >= 0; u -= 1) {
|
|
169
|
+
const d = a[u], {
|
|
170
|
+
modifiers: m,
|
|
171
|
+
hasImportantModifier: p,
|
|
172
|
+
baseClassName: l,
|
|
173
|
+
maybePostfixModifierPosition: f
|
|
174
|
+
} = t(d);
|
|
175
|
+
let C = !!f, b = o(C ? l.substring(0, f) : l);
|
|
176
|
+
if (!b) {
|
|
177
|
+
if (!C) {
|
|
178
|
+
c = d + (c.length > 0 ? " " + c : c);
|
|
172
179
|
continue;
|
|
173
180
|
}
|
|
174
|
-
if (
|
|
175
|
-
|
|
181
|
+
if (b = o(l), !b) {
|
|
182
|
+
c = d + (c.length > 0 ? " " + c : c);
|
|
176
183
|
continue;
|
|
177
184
|
}
|
|
178
|
-
|
|
185
|
+
C = !1;
|
|
179
186
|
}
|
|
180
|
-
const
|
|
181
|
-
if (n.includes(
|
|
187
|
+
const g = Lr(m).join(":"), y = p ? g + Ae : g, S = y + b;
|
|
188
|
+
if (n.includes(S))
|
|
182
189
|
continue;
|
|
183
|
-
n.push(
|
|
184
|
-
const
|
|
185
|
-
for (let
|
|
186
|
-
const
|
|
187
|
-
n.push(
|
|
190
|
+
n.push(S);
|
|
191
|
+
const P = s(b, C);
|
|
192
|
+
for (let V = 0; V < P.length; ++V) {
|
|
193
|
+
const _ = P[V];
|
|
194
|
+
n.push(y + _);
|
|
188
195
|
}
|
|
189
|
-
|
|
196
|
+
c = d + (c.length > 0 ? " " + c : c);
|
|
190
197
|
}
|
|
191
|
-
return
|
|
198
|
+
return c;
|
|
192
199
|
};
|
|
193
|
-
function
|
|
200
|
+
function Rr() {
|
|
194
201
|
let e = 0, r, t, o = "";
|
|
195
202
|
for (; e < arguments.length; )
|
|
196
|
-
(r = arguments[e++]) && (t =
|
|
203
|
+
(r = arguments[e++]) && (t = Re(r)) && (o && (o += " "), o += t);
|
|
197
204
|
return o;
|
|
198
205
|
}
|
|
199
|
-
const
|
|
206
|
+
const Re = (e) => {
|
|
200
207
|
if (typeof e == "string")
|
|
201
208
|
return e;
|
|
202
209
|
let r, t = "";
|
|
203
210
|
for (let o = 0; o < e.length; o++)
|
|
204
|
-
e[o] && (r =
|
|
211
|
+
e[o] && (r = Re(e[o])) && (t && (t += " "), t += r);
|
|
205
212
|
return t;
|
|
206
213
|
};
|
|
207
|
-
function
|
|
208
|
-
let t, o,
|
|
209
|
-
function
|
|
210
|
-
const
|
|
211
|
-
return t =
|
|
214
|
+
function Tr(e, ...r) {
|
|
215
|
+
let t, o, s, n = a;
|
|
216
|
+
function a(u) {
|
|
217
|
+
const d = r.reduce((m, p) => p(m), e());
|
|
218
|
+
return t = Er(d), o = t.cache.get, s = t.cache.set, n = c, c(u);
|
|
212
219
|
}
|
|
213
|
-
function
|
|
214
|
-
const
|
|
215
|
-
if (
|
|
216
|
-
return
|
|
217
|
-
const
|
|
218
|
-
return
|
|
220
|
+
function c(u) {
|
|
221
|
+
const d = o(u);
|
|
222
|
+
if (d)
|
|
223
|
+
return d;
|
|
224
|
+
const m = Ar(u, t);
|
|
225
|
+
return s(u, m), m;
|
|
219
226
|
}
|
|
220
227
|
return function() {
|
|
221
|
-
return n(
|
|
228
|
+
return n(Rr.apply(null, arguments));
|
|
222
229
|
};
|
|
223
230
|
}
|
|
224
|
-
const
|
|
231
|
+
const x = (e) => {
|
|
225
232
|
const r = (t) => t[e] || [];
|
|
226
233
|
return r.isThemeGetter = !0, r;
|
|
227
|
-
},
|
|
228
|
-
const o =
|
|
234
|
+
}, Te = /^\[(?:([a-z-]+):)?(.+)\]$/i, Vr = /^\d+\/\d+$/, Ir = /* @__PURE__ */ new Set(["px", "full", "screen"]), Hr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Pr = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, jr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Br = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Gr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, L = (e) => I(e) || Ir.has(e) || Vr.test(e), A = (e) => H(e, "length", Xr), I = (e) => !!e && !Number.isNaN(Number(e)), K = (e) => H(e, "number", I), B = (e) => !!e && Number.isInteger(Number(e)), Wr = (e) => e.endsWith("%") && I(e.slice(0, -1)), h = (e) => Te.test(e), R = (e) => Hr.test(e), Or = /* @__PURE__ */ new Set(["length", "size", "percentage"]), $r = (e) => H(e, Or, Ve), _r = (e) => H(e, "position", Ve), Ur = /* @__PURE__ */ new Set(["image", "url"]), Fr = (e) => H(e, Ur, Jr), Dr = (e) => H(e, "", qr), G = () => !0, H = (e, r, t) => {
|
|
235
|
+
const o = Te.exec(e);
|
|
229
236
|
return o ? o[1] ? typeof r == "string" ? o[1] === r : r.has(o[1]) : t(o[2]) : !1;
|
|
230
|
-
},
|
|
237
|
+
}, Xr = (e) => (
|
|
231
238
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
232
239
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
233
240
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
234
|
-
|
|
235
|
-
),
|
|
236
|
-
const e =
|
|
241
|
+
Pr.test(e) && !jr.test(e)
|
|
242
|
+
), Ve = () => !1, qr = (e) => Br.test(e), Jr = (e) => Gr.test(e), Kr = () => {
|
|
243
|
+
const e = x("colors"), r = x("spacing"), t = x("blur"), o = x("brightness"), s = x("borderColor"), n = x("borderRadius"), a = x("borderSpacing"), c = x("borderWidth"), u = x("contrast"), d = x("grayscale"), m = x("hueRotate"), p = x("invert"), l = x("gap"), f = x("gradientColorStops"), C = x("gradientColorStopPositions"), b = x("inset"), g = x("margin"), y = x("opacity"), S = x("padding"), P = x("saturate"), V = x("scale"), _ = x("sepia"), le = x("skew"), de = x("space"), ue = x("translate"), D = () => ["auto", "contain", "none"], X = () => ["auto", "hidden", "clip", "visible", "scroll"], q = () => ["auto", h, r], w = () => [h, r], he = () => ["", L, A], U = () => ["auto", I, h], me = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], F = () => ["solid", "dashed", "dotted", "double", "none"], pe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], J = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], j = () => ["", "0", h], ge = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], M = () => [I, h];
|
|
237
244
|
return {
|
|
238
245
|
cacheSize: 500,
|
|
239
246
|
separator: ":",
|
|
240
247
|
theme: {
|
|
241
|
-
colors: [
|
|
242
|
-
spacing: [
|
|
243
|
-
blur: ["none", "",
|
|
244
|
-
brightness:
|
|
248
|
+
colors: [G],
|
|
249
|
+
spacing: [L, A],
|
|
250
|
+
blur: ["none", "", R, h],
|
|
251
|
+
brightness: M(),
|
|
245
252
|
borderColor: [e],
|
|
246
|
-
borderRadius: ["none", "", "full",
|
|
247
|
-
borderSpacing:
|
|
248
|
-
borderWidth:
|
|
249
|
-
contrast:
|
|
250
|
-
grayscale:
|
|
251
|
-
hueRotate:
|
|
252
|
-
invert:
|
|
253
|
-
gap:
|
|
253
|
+
borderRadius: ["none", "", "full", R, h],
|
|
254
|
+
borderSpacing: w(),
|
|
255
|
+
borderWidth: he(),
|
|
256
|
+
contrast: M(),
|
|
257
|
+
grayscale: j(),
|
|
258
|
+
hueRotate: M(),
|
|
259
|
+
invert: j(),
|
|
260
|
+
gap: w(),
|
|
254
261
|
gradientColorStops: [e],
|
|
255
|
-
gradientColorStopPositions: [
|
|
256
|
-
inset:
|
|
257
|
-
margin:
|
|
258
|
-
opacity:
|
|
259
|
-
padding:
|
|
260
|
-
saturate:
|
|
261
|
-
scale:
|
|
262
|
-
sepia:
|
|
263
|
-
skew:
|
|
264
|
-
space:
|
|
265
|
-
translate:
|
|
262
|
+
gradientColorStopPositions: [Wr, A],
|
|
263
|
+
inset: q(),
|
|
264
|
+
margin: q(),
|
|
265
|
+
opacity: M(),
|
|
266
|
+
padding: w(),
|
|
267
|
+
saturate: M(),
|
|
268
|
+
scale: M(),
|
|
269
|
+
sepia: j(),
|
|
270
|
+
skew: M(),
|
|
271
|
+
space: w(),
|
|
272
|
+
translate: w()
|
|
266
273
|
},
|
|
267
274
|
classGroups: {
|
|
268
275
|
// Layout
|
|
@@ -271,7 +278,7 @@ const f = (e) => {
|
|
|
271
278
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
272
279
|
*/
|
|
273
280
|
aspect: [{
|
|
274
|
-
aspect: ["auto", "square", "video",
|
|
281
|
+
aspect: ["auto", "square", "video", h]
|
|
275
282
|
}],
|
|
276
283
|
/**
|
|
277
284
|
* Container
|
|
@@ -283,21 +290,21 @@ const f = (e) => {
|
|
|
283
290
|
* @see https://tailwindcss.com/docs/columns
|
|
284
291
|
*/
|
|
285
292
|
columns: [{
|
|
286
|
-
columns: [
|
|
293
|
+
columns: [R]
|
|
287
294
|
}],
|
|
288
295
|
/**
|
|
289
296
|
* Break After
|
|
290
297
|
* @see https://tailwindcss.com/docs/break-after
|
|
291
298
|
*/
|
|
292
299
|
"break-after": [{
|
|
293
|
-
"break-after":
|
|
300
|
+
"break-after": ge()
|
|
294
301
|
}],
|
|
295
302
|
/**
|
|
296
303
|
* Break Before
|
|
297
304
|
* @see https://tailwindcss.com/docs/break-before
|
|
298
305
|
*/
|
|
299
306
|
"break-before": [{
|
|
300
|
-
"break-before":
|
|
307
|
+
"break-before": ge()
|
|
301
308
|
}],
|
|
302
309
|
/**
|
|
303
310
|
* Break Inside
|
|
@@ -356,49 +363,49 @@ const f = (e) => {
|
|
|
356
363
|
* @see https://tailwindcss.com/docs/object-position
|
|
357
364
|
*/
|
|
358
365
|
"object-position": [{
|
|
359
|
-
object: [...
|
|
366
|
+
object: [...me(), h]
|
|
360
367
|
}],
|
|
361
368
|
/**
|
|
362
369
|
* Overflow
|
|
363
370
|
* @see https://tailwindcss.com/docs/overflow
|
|
364
371
|
*/
|
|
365
372
|
overflow: [{
|
|
366
|
-
overflow:
|
|
373
|
+
overflow: X()
|
|
367
374
|
}],
|
|
368
375
|
/**
|
|
369
376
|
* Overflow X
|
|
370
377
|
* @see https://tailwindcss.com/docs/overflow
|
|
371
378
|
*/
|
|
372
379
|
"overflow-x": [{
|
|
373
|
-
"overflow-x":
|
|
380
|
+
"overflow-x": X()
|
|
374
381
|
}],
|
|
375
382
|
/**
|
|
376
383
|
* Overflow Y
|
|
377
384
|
* @see https://tailwindcss.com/docs/overflow
|
|
378
385
|
*/
|
|
379
386
|
"overflow-y": [{
|
|
380
|
-
"overflow-y":
|
|
387
|
+
"overflow-y": X()
|
|
381
388
|
}],
|
|
382
389
|
/**
|
|
383
390
|
* Overscroll Behavior
|
|
384
391
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
385
392
|
*/
|
|
386
393
|
overscroll: [{
|
|
387
|
-
overscroll:
|
|
394
|
+
overscroll: D()
|
|
388
395
|
}],
|
|
389
396
|
/**
|
|
390
397
|
* Overscroll Behavior X
|
|
391
398
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
392
399
|
*/
|
|
393
400
|
"overscroll-x": [{
|
|
394
|
-
"overscroll-x":
|
|
401
|
+
"overscroll-x": D()
|
|
395
402
|
}],
|
|
396
403
|
/**
|
|
397
404
|
* Overscroll Behavior Y
|
|
398
405
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
399
406
|
*/
|
|
400
407
|
"overscroll-y": [{
|
|
401
|
-
"overscroll-y":
|
|
408
|
+
"overscroll-y": D()
|
|
402
409
|
}],
|
|
403
410
|
/**
|
|
404
411
|
* Position
|
|
@@ -410,63 +417,63 @@ const f = (e) => {
|
|
|
410
417
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
411
418
|
*/
|
|
412
419
|
inset: [{
|
|
413
|
-
inset: [
|
|
420
|
+
inset: [b]
|
|
414
421
|
}],
|
|
415
422
|
/**
|
|
416
423
|
* Right / Left
|
|
417
424
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
418
425
|
*/
|
|
419
426
|
"inset-x": [{
|
|
420
|
-
"inset-x": [
|
|
427
|
+
"inset-x": [b]
|
|
421
428
|
}],
|
|
422
429
|
/**
|
|
423
430
|
* Top / Bottom
|
|
424
431
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
425
432
|
*/
|
|
426
433
|
"inset-y": [{
|
|
427
|
-
"inset-y": [
|
|
434
|
+
"inset-y": [b]
|
|
428
435
|
}],
|
|
429
436
|
/**
|
|
430
437
|
* Start
|
|
431
438
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
432
439
|
*/
|
|
433
440
|
start: [{
|
|
434
|
-
start: [
|
|
441
|
+
start: [b]
|
|
435
442
|
}],
|
|
436
443
|
/**
|
|
437
444
|
* End
|
|
438
445
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
439
446
|
*/
|
|
440
447
|
end: [{
|
|
441
|
-
end: [
|
|
448
|
+
end: [b]
|
|
442
449
|
}],
|
|
443
450
|
/**
|
|
444
451
|
* Top
|
|
445
452
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
446
453
|
*/
|
|
447
454
|
top: [{
|
|
448
|
-
top: [
|
|
455
|
+
top: [b]
|
|
449
456
|
}],
|
|
450
457
|
/**
|
|
451
458
|
* Right
|
|
452
459
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
453
460
|
*/
|
|
454
461
|
right: [{
|
|
455
|
-
right: [
|
|
462
|
+
right: [b]
|
|
456
463
|
}],
|
|
457
464
|
/**
|
|
458
465
|
* Bottom
|
|
459
466
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
460
467
|
*/
|
|
461
468
|
bottom: [{
|
|
462
|
-
bottom: [
|
|
469
|
+
bottom: [b]
|
|
463
470
|
}],
|
|
464
471
|
/**
|
|
465
472
|
* Left
|
|
466
473
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
467
474
|
*/
|
|
468
475
|
left: [{
|
|
469
|
-
left: [
|
|
476
|
+
left: [b]
|
|
470
477
|
}],
|
|
471
478
|
/**
|
|
472
479
|
* Visibility
|
|
@@ -478,7 +485,7 @@ const f = (e) => {
|
|
|
478
485
|
* @see https://tailwindcss.com/docs/z-index
|
|
479
486
|
*/
|
|
480
487
|
z: [{
|
|
481
|
-
z: ["auto",
|
|
488
|
+
z: ["auto", B, h]
|
|
482
489
|
}],
|
|
483
490
|
// Flexbox and Grid
|
|
484
491
|
/**
|
|
@@ -486,7 +493,7 @@ const f = (e) => {
|
|
|
486
493
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
487
494
|
*/
|
|
488
495
|
basis: [{
|
|
489
|
-
basis:
|
|
496
|
+
basis: q()
|
|
490
497
|
}],
|
|
491
498
|
/**
|
|
492
499
|
* Flex Direction
|
|
@@ -507,35 +514,35 @@ const f = (e) => {
|
|
|
507
514
|
* @see https://tailwindcss.com/docs/flex
|
|
508
515
|
*/
|
|
509
516
|
flex: [{
|
|
510
|
-
flex: ["1", "auto", "initial", "none",
|
|
517
|
+
flex: ["1", "auto", "initial", "none", h]
|
|
511
518
|
}],
|
|
512
519
|
/**
|
|
513
520
|
* Flex Grow
|
|
514
521
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
515
522
|
*/
|
|
516
523
|
grow: [{
|
|
517
|
-
grow:
|
|
524
|
+
grow: j()
|
|
518
525
|
}],
|
|
519
526
|
/**
|
|
520
527
|
* Flex Shrink
|
|
521
528
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
522
529
|
*/
|
|
523
530
|
shrink: [{
|
|
524
|
-
shrink:
|
|
531
|
+
shrink: j()
|
|
525
532
|
}],
|
|
526
533
|
/**
|
|
527
534
|
* Order
|
|
528
535
|
* @see https://tailwindcss.com/docs/order
|
|
529
536
|
*/
|
|
530
537
|
order: [{
|
|
531
|
-
order: ["first", "last", "none",
|
|
538
|
+
order: ["first", "last", "none", B, h]
|
|
532
539
|
}],
|
|
533
540
|
/**
|
|
534
541
|
* Grid Template Columns
|
|
535
542
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
536
543
|
*/
|
|
537
544
|
"grid-cols": [{
|
|
538
|
-
"grid-cols": [
|
|
545
|
+
"grid-cols": [G]
|
|
539
546
|
}],
|
|
540
547
|
/**
|
|
541
548
|
* Grid Column Start / End
|
|
@@ -543,29 +550,29 @@ const f = (e) => {
|
|
|
543
550
|
*/
|
|
544
551
|
"col-start-end": [{
|
|
545
552
|
col: ["auto", {
|
|
546
|
-
span: ["full",
|
|
547
|
-
},
|
|
553
|
+
span: ["full", B, h]
|
|
554
|
+
}, h]
|
|
548
555
|
}],
|
|
549
556
|
/**
|
|
550
557
|
* Grid Column Start
|
|
551
558
|
* @see https://tailwindcss.com/docs/grid-column
|
|
552
559
|
*/
|
|
553
560
|
"col-start": [{
|
|
554
|
-
"col-start":
|
|
561
|
+
"col-start": U()
|
|
555
562
|
}],
|
|
556
563
|
/**
|
|
557
564
|
* Grid Column End
|
|
558
565
|
* @see https://tailwindcss.com/docs/grid-column
|
|
559
566
|
*/
|
|
560
567
|
"col-end": [{
|
|
561
|
-
"col-end":
|
|
568
|
+
"col-end": U()
|
|
562
569
|
}],
|
|
563
570
|
/**
|
|
564
571
|
* Grid Template Rows
|
|
565
572
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
566
573
|
*/
|
|
567
574
|
"grid-rows": [{
|
|
568
|
-
"grid-rows": [
|
|
575
|
+
"grid-rows": [G]
|
|
569
576
|
}],
|
|
570
577
|
/**
|
|
571
578
|
* Grid Row Start / End
|
|
@@ -573,22 +580,22 @@ const f = (e) => {
|
|
|
573
580
|
*/
|
|
574
581
|
"row-start-end": [{
|
|
575
582
|
row: ["auto", {
|
|
576
|
-
span: [
|
|
577
|
-
},
|
|
583
|
+
span: [B, h]
|
|
584
|
+
}, h]
|
|
578
585
|
}],
|
|
579
586
|
/**
|
|
580
587
|
* Grid Row Start
|
|
581
588
|
* @see https://tailwindcss.com/docs/grid-row
|
|
582
589
|
*/
|
|
583
590
|
"row-start": [{
|
|
584
|
-
"row-start":
|
|
591
|
+
"row-start": U()
|
|
585
592
|
}],
|
|
586
593
|
/**
|
|
587
594
|
* Grid Row End
|
|
588
595
|
* @see https://tailwindcss.com/docs/grid-row
|
|
589
596
|
*/
|
|
590
597
|
"row-end": [{
|
|
591
|
-
"row-end":
|
|
598
|
+
"row-end": U()
|
|
592
599
|
}],
|
|
593
600
|
/**
|
|
594
601
|
* Grid Auto Flow
|
|
@@ -602,42 +609,42 @@ const f = (e) => {
|
|
|
602
609
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
603
610
|
*/
|
|
604
611
|
"auto-cols": [{
|
|
605
|
-
"auto-cols": ["auto", "min", "max", "fr",
|
|
612
|
+
"auto-cols": ["auto", "min", "max", "fr", h]
|
|
606
613
|
}],
|
|
607
614
|
/**
|
|
608
615
|
* Grid Auto Rows
|
|
609
616
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
610
617
|
*/
|
|
611
618
|
"auto-rows": [{
|
|
612
|
-
"auto-rows": ["auto", "min", "max", "fr",
|
|
619
|
+
"auto-rows": ["auto", "min", "max", "fr", h]
|
|
613
620
|
}],
|
|
614
621
|
/**
|
|
615
622
|
* Gap
|
|
616
623
|
* @see https://tailwindcss.com/docs/gap
|
|
617
624
|
*/
|
|
618
625
|
gap: [{
|
|
619
|
-
gap: [
|
|
626
|
+
gap: [l]
|
|
620
627
|
}],
|
|
621
628
|
/**
|
|
622
629
|
* Gap X
|
|
623
630
|
* @see https://tailwindcss.com/docs/gap
|
|
624
631
|
*/
|
|
625
632
|
"gap-x": [{
|
|
626
|
-
"gap-x": [
|
|
633
|
+
"gap-x": [l]
|
|
627
634
|
}],
|
|
628
635
|
/**
|
|
629
636
|
* Gap Y
|
|
630
637
|
* @see https://tailwindcss.com/docs/gap
|
|
631
638
|
*/
|
|
632
639
|
"gap-y": [{
|
|
633
|
-
"gap-y": [
|
|
640
|
+
"gap-y": [l]
|
|
634
641
|
}],
|
|
635
642
|
/**
|
|
636
643
|
* Justify Content
|
|
637
644
|
* @see https://tailwindcss.com/docs/justify-content
|
|
638
645
|
*/
|
|
639
646
|
"justify-content": [{
|
|
640
|
-
justify: ["normal", ...
|
|
647
|
+
justify: ["normal", ...J()]
|
|
641
648
|
}],
|
|
642
649
|
/**
|
|
643
650
|
* Justify Items
|
|
@@ -658,7 +665,7 @@ const f = (e) => {
|
|
|
658
665
|
* @see https://tailwindcss.com/docs/align-content
|
|
659
666
|
*/
|
|
660
667
|
"align-content": [{
|
|
661
|
-
content: ["normal", ...
|
|
668
|
+
content: ["normal", ...J(), "baseline"]
|
|
662
669
|
}],
|
|
663
670
|
/**
|
|
664
671
|
* Align Items
|
|
@@ -679,7 +686,7 @@ const f = (e) => {
|
|
|
679
686
|
* @see https://tailwindcss.com/docs/place-content
|
|
680
687
|
*/
|
|
681
688
|
"place-content": [{
|
|
682
|
-
"place-content": [...
|
|
689
|
+
"place-content": [...J(), "baseline"]
|
|
683
690
|
}],
|
|
684
691
|
/**
|
|
685
692
|
* Place Items
|
|
@@ -701,133 +708,133 @@ const f = (e) => {
|
|
|
701
708
|
* @see https://tailwindcss.com/docs/padding
|
|
702
709
|
*/
|
|
703
710
|
p: [{
|
|
704
|
-
p: [
|
|
711
|
+
p: [S]
|
|
705
712
|
}],
|
|
706
713
|
/**
|
|
707
714
|
* Padding X
|
|
708
715
|
* @see https://tailwindcss.com/docs/padding
|
|
709
716
|
*/
|
|
710
717
|
px: [{
|
|
711
|
-
px: [
|
|
718
|
+
px: [S]
|
|
712
719
|
}],
|
|
713
720
|
/**
|
|
714
721
|
* Padding Y
|
|
715
722
|
* @see https://tailwindcss.com/docs/padding
|
|
716
723
|
*/
|
|
717
724
|
py: [{
|
|
718
|
-
py: [
|
|
725
|
+
py: [S]
|
|
719
726
|
}],
|
|
720
727
|
/**
|
|
721
728
|
* Padding Start
|
|
722
729
|
* @see https://tailwindcss.com/docs/padding
|
|
723
730
|
*/
|
|
724
731
|
ps: [{
|
|
725
|
-
ps: [
|
|
732
|
+
ps: [S]
|
|
726
733
|
}],
|
|
727
734
|
/**
|
|
728
735
|
* Padding End
|
|
729
736
|
* @see https://tailwindcss.com/docs/padding
|
|
730
737
|
*/
|
|
731
738
|
pe: [{
|
|
732
|
-
pe: [
|
|
739
|
+
pe: [S]
|
|
733
740
|
}],
|
|
734
741
|
/**
|
|
735
742
|
* Padding Top
|
|
736
743
|
* @see https://tailwindcss.com/docs/padding
|
|
737
744
|
*/
|
|
738
745
|
pt: [{
|
|
739
|
-
pt: [
|
|
746
|
+
pt: [S]
|
|
740
747
|
}],
|
|
741
748
|
/**
|
|
742
749
|
* Padding Right
|
|
743
750
|
* @see https://tailwindcss.com/docs/padding
|
|
744
751
|
*/
|
|
745
752
|
pr: [{
|
|
746
|
-
pr: [
|
|
753
|
+
pr: [S]
|
|
747
754
|
}],
|
|
748
755
|
/**
|
|
749
756
|
* Padding Bottom
|
|
750
757
|
* @see https://tailwindcss.com/docs/padding
|
|
751
758
|
*/
|
|
752
759
|
pb: [{
|
|
753
|
-
pb: [
|
|
760
|
+
pb: [S]
|
|
754
761
|
}],
|
|
755
762
|
/**
|
|
756
763
|
* Padding Left
|
|
757
764
|
* @see https://tailwindcss.com/docs/padding
|
|
758
765
|
*/
|
|
759
766
|
pl: [{
|
|
760
|
-
pl: [
|
|
767
|
+
pl: [S]
|
|
761
768
|
}],
|
|
762
769
|
/**
|
|
763
770
|
* Margin
|
|
764
771
|
* @see https://tailwindcss.com/docs/margin
|
|
765
772
|
*/
|
|
766
773
|
m: [{
|
|
767
|
-
m: [
|
|
774
|
+
m: [g]
|
|
768
775
|
}],
|
|
769
776
|
/**
|
|
770
777
|
* Margin X
|
|
771
778
|
* @see https://tailwindcss.com/docs/margin
|
|
772
779
|
*/
|
|
773
780
|
mx: [{
|
|
774
|
-
mx: [
|
|
781
|
+
mx: [g]
|
|
775
782
|
}],
|
|
776
783
|
/**
|
|
777
784
|
* Margin Y
|
|
778
785
|
* @see https://tailwindcss.com/docs/margin
|
|
779
786
|
*/
|
|
780
787
|
my: [{
|
|
781
|
-
my: [
|
|
788
|
+
my: [g]
|
|
782
789
|
}],
|
|
783
790
|
/**
|
|
784
791
|
* Margin Start
|
|
785
792
|
* @see https://tailwindcss.com/docs/margin
|
|
786
793
|
*/
|
|
787
794
|
ms: [{
|
|
788
|
-
ms: [
|
|
795
|
+
ms: [g]
|
|
789
796
|
}],
|
|
790
797
|
/**
|
|
791
798
|
* Margin End
|
|
792
799
|
* @see https://tailwindcss.com/docs/margin
|
|
793
800
|
*/
|
|
794
801
|
me: [{
|
|
795
|
-
me: [
|
|
802
|
+
me: [g]
|
|
796
803
|
}],
|
|
797
804
|
/**
|
|
798
805
|
* Margin Top
|
|
799
806
|
* @see https://tailwindcss.com/docs/margin
|
|
800
807
|
*/
|
|
801
808
|
mt: [{
|
|
802
|
-
mt: [
|
|
809
|
+
mt: [g]
|
|
803
810
|
}],
|
|
804
811
|
/**
|
|
805
812
|
* Margin Right
|
|
806
813
|
* @see https://tailwindcss.com/docs/margin
|
|
807
814
|
*/
|
|
808
815
|
mr: [{
|
|
809
|
-
mr: [
|
|
816
|
+
mr: [g]
|
|
810
817
|
}],
|
|
811
818
|
/**
|
|
812
819
|
* Margin Bottom
|
|
813
820
|
* @see https://tailwindcss.com/docs/margin
|
|
814
821
|
*/
|
|
815
822
|
mb: [{
|
|
816
|
-
mb: [
|
|
823
|
+
mb: [g]
|
|
817
824
|
}],
|
|
818
825
|
/**
|
|
819
826
|
* Margin Left
|
|
820
827
|
* @see https://tailwindcss.com/docs/margin
|
|
821
828
|
*/
|
|
822
829
|
ml: [{
|
|
823
|
-
ml: [
|
|
830
|
+
ml: [g]
|
|
824
831
|
}],
|
|
825
832
|
/**
|
|
826
833
|
* Space Between X
|
|
827
834
|
* @see https://tailwindcss.com/docs/space
|
|
828
835
|
*/
|
|
829
836
|
"space-x": [{
|
|
830
|
-
"space-x": [
|
|
837
|
+
"space-x": [de]
|
|
831
838
|
}],
|
|
832
839
|
/**
|
|
833
840
|
* Space Between X Reverse
|
|
@@ -839,7 +846,7 @@ const f = (e) => {
|
|
|
839
846
|
* @see https://tailwindcss.com/docs/space
|
|
840
847
|
*/
|
|
841
848
|
"space-y": [{
|
|
842
|
-
"space-y": [
|
|
849
|
+
"space-y": [de]
|
|
843
850
|
}],
|
|
844
851
|
/**
|
|
845
852
|
* Space Between Y Reverse
|
|
@@ -852,51 +859,51 @@ const f = (e) => {
|
|
|
852
859
|
* @see https://tailwindcss.com/docs/width
|
|
853
860
|
*/
|
|
854
861
|
w: [{
|
|
855
|
-
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw",
|
|
862
|
+
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", h, r]
|
|
856
863
|
}],
|
|
857
864
|
/**
|
|
858
865
|
* Min-Width
|
|
859
866
|
* @see https://tailwindcss.com/docs/min-width
|
|
860
867
|
*/
|
|
861
868
|
"min-w": [{
|
|
862
|
-
"min-w": [
|
|
869
|
+
"min-w": [h, r, "min", "max", "fit"]
|
|
863
870
|
}],
|
|
864
871
|
/**
|
|
865
872
|
* Max-Width
|
|
866
873
|
* @see https://tailwindcss.com/docs/max-width
|
|
867
874
|
*/
|
|
868
875
|
"max-w": [{
|
|
869
|
-
"max-w": [
|
|
870
|
-
screen: [
|
|
871
|
-
},
|
|
876
|
+
"max-w": [h, r, "none", "full", "min", "max", "fit", "prose", {
|
|
877
|
+
screen: [R]
|
|
878
|
+
}, R]
|
|
872
879
|
}],
|
|
873
880
|
/**
|
|
874
881
|
* Height
|
|
875
882
|
* @see https://tailwindcss.com/docs/height
|
|
876
883
|
*/
|
|
877
884
|
h: [{
|
|
878
|
-
h: [
|
|
885
|
+
h: [h, r, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
879
886
|
}],
|
|
880
887
|
/**
|
|
881
888
|
* Min-Height
|
|
882
889
|
* @see https://tailwindcss.com/docs/min-height
|
|
883
890
|
*/
|
|
884
891
|
"min-h": [{
|
|
885
|
-
"min-h": [
|
|
892
|
+
"min-h": [h, r, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
886
893
|
}],
|
|
887
894
|
/**
|
|
888
895
|
* Max-Height
|
|
889
896
|
* @see https://tailwindcss.com/docs/max-height
|
|
890
897
|
*/
|
|
891
898
|
"max-h": [{
|
|
892
|
-
"max-h": [
|
|
899
|
+
"max-h": [h, r, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
893
900
|
}],
|
|
894
901
|
/**
|
|
895
902
|
* Size
|
|
896
903
|
* @see https://tailwindcss.com/docs/size
|
|
897
904
|
*/
|
|
898
905
|
size: [{
|
|
899
|
-
size: [
|
|
906
|
+
size: [h, r, "auto", "min", "max", "fit"]
|
|
900
907
|
}],
|
|
901
908
|
// Typography
|
|
902
909
|
/**
|
|
@@ -904,7 +911,7 @@ const f = (e) => {
|
|
|
904
911
|
* @see https://tailwindcss.com/docs/font-size
|
|
905
912
|
*/
|
|
906
913
|
"font-size": [{
|
|
907
|
-
text: ["base",
|
|
914
|
+
text: ["base", R, A]
|
|
908
915
|
}],
|
|
909
916
|
/**
|
|
910
917
|
* Font Smoothing
|
|
@@ -921,14 +928,14 @@ const f = (e) => {
|
|
|
921
928
|
* @see https://tailwindcss.com/docs/font-weight
|
|
922
929
|
*/
|
|
923
930
|
"font-weight": [{
|
|
924
|
-
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black",
|
|
931
|
+
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", K]
|
|
925
932
|
}],
|
|
926
933
|
/**
|
|
927
934
|
* Font Family
|
|
928
935
|
* @see https://tailwindcss.com/docs/font-family
|
|
929
936
|
*/
|
|
930
937
|
"font-family": [{
|
|
931
|
-
font: [
|
|
938
|
+
font: [G]
|
|
932
939
|
}],
|
|
933
940
|
/**
|
|
934
941
|
* Font Variant Numeric
|
|
@@ -965,35 +972,35 @@ const f = (e) => {
|
|
|
965
972
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
966
973
|
*/
|
|
967
974
|
tracking: [{
|
|
968
|
-
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest",
|
|
975
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", h]
|
|
969
976
|
}],
|
|
970
977
|
/**
|
|
971
978
|
* Line Clamp
|
|
972
979
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
973
980
|
*/
|
|
974
981
|
"line-clamp": [{
|
|
975
|
-
"line-clamp": ["none",
|
|
982
|
+
"line-clamp": ["none", I, K]
|
|
976
983
|
}],
|
|
977
984
|
/**
|
|
978
985
|
* Line Height
|
|
979
986
|
* @see https://tailwindcss.com/docs/line-height
|
|
980
987
|
*/
|
|
981
988
|
leading: [{
|
|
982
|
-
leading: ["none", "tight", "snug", "normal", "relaxed", "loose",
|
|
989
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", L, h]
|
|
983
990
|
}],
|
|
984
991
|
/**
|
|
985
992
|
* List Style Image
|
|
986
993
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
987
994
|
*/
|
|
988
995
|
"list-image": [{
|
|
989
|
-
"list-image": ["none",
|
|
996
|
+
"list-image": ["none", h]
|
|
990
997
|
}],
|
|
991
998
|
/**
|
|
992
999
|
* List Style Type
|
|
993
1000
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
994
1001
|
*/
|
|
995
1002
|
"list-style-type": [{
|
|
996
|
-
list: ["none", "disc", "decimal",
|
|
1003
|
+
list: ["none", "disc", "decimal", h]
|
|
997
1004
|
}],
|
|
998
1005
|
/**
|
|
999
1006
|
* List Style Position
|
|
@@ -1015,7 +1022,7 @@ const f = (e) => {
|
|
|
1015
1022
|
* @see https://tailwindcss.com/docs/placeholder-opacity
|
|
1016
1023
|
*/
|
|
1017
1024
|
"placeholder-opacity": [{
|
|
1018
|
-
"placeholder-opacity": [
|
|
1025
|
+
"placeholder-opacity": [y]
|
|
1019
1026
|
}],
|
|
1020
1027
|
/**
|
|
1021
1028
|
* Text Alignment
|
|
@@ -1036,7 +1043,7 @@ const f = (e) => {
|
|
|
1036
1043
|
* @see https://tailwindcss.com/docs/text-opacity
|
|
1037
1044
|
*/
|
|
1038
1045
|
"text-opacity": [{
|
|
1039
|
-
"text-opacity": [
|
|
1046
|
+
"text-opacity": [y]
|
|
1040
1047
|
}],
|
|
1041
1048
|
/**
|
|
1042
1049
|
* Text Decoration
|
|
@@ -1055,14 +1062,14 @@ const f = (e) => {
|
|
|
1055
1062
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1056
1063
|
*/
|
|
1057
1064
|
"text-decoration-thickness": [{
|
|
1058
|
-
decoration: ["auto", "from-font",
|
|
1065
|
+
decoration: ["auto", "from-font", L, A]
|
|
1059
1066
|
}],
|
|
1060
1067
|
/**
|
|
1061
1068
|
* Text Underline Offset
|
|
1062
1069
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1063
1070
|
*/
|
|
1064
1071
|
"underline-offset": [{
|
|
1065
|
-
"underline-offset": ["auto",
|
|
1072
|
+
"underline-offset": ["auto", L, h]
|
|
1066
1073
|
}],
|
|
1067
1074
|
/**
|
|
1068
1075
|
* Text Decoration Color
|
|
@@ -1093,14 +1100,14 @@ const f = (e) => {
|
|
|
1093
1100
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1094
1101
|
*/
|
|
1095
1102
|
indent: [{
|
|
1096
|
-
indent:
|
|
1103
|
+
indent: w()
|
|
1097
1104
|
}],
|
|
1098
1105
|
/**
|
|
1099
1106
|
* Vertical Alignment
|
|
1100
1107
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1101
1108
|
*/
|
|
1102
1109
|
"vertical-align": [{
|
|
1103
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1110
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", h]
|
|
1104
1111
|
}],
|
|
1105
1112
|
/**
|
|
1106
1113
|
* Whitespace
|
|
@@ -1128,7 +1135,7 @@ const f = (e) => {
|
|
|
1128
1135
|
* @see https://tailwindcss.com/docs/content
|
|
1129
1136
|
*/
|
|
1130
1137
|
content: [{
|
|
1131
|
-
content: ["none",
|
|
1138
|
+
content: ["none", h]
|
|
1132
1139
|
}],
|
|
1133
1140
|
// Backgrounds
|
|
1134
1141
|
/**
|
|
@@ -1151,7 +1158,7 @@ const f = (e) => {
|
|
|
1151
1158
|
* @see https://tailwindcss.com/docs/background-opacity
|
|
1152
1159
|
*/
|
|
1153
1160
|
"bg-opacity": [{
|
|
1154
|
-
"bg-opacity": [
|
|
1161
|
+
"bg-opacity": [y]
|
|
1155
1162
|
}],
|
|
1156
1163
|
/**
|
|
1157
1164
|
* Background Origin
|
|
@@ -1165,7 +1172,7 @@ const f = (e) => {
|
|
|
1165
1172
|
* @see https://tailwindcss.com/docs/background-position
|
|
1166
1173
|
*/
|
|
1167
1174
|
"bg-position": [{
|
|
1168
|
-
bg: [...
|
|
1175
|
+
bg: [...me(), _r]
|
|
1169
1176
|
}],
|
|
1170
1177
|
/**
|
|
1171
1178
|
* Background Repeat
|
|
@@ -1181,7 +1188,7 @@ const f = (e) => {
|
|
|
1181
1188
|
* @see https://tailwindcss.com/docs/background-size
|
|
1182
1189
|
*/
|
|
1183
1190
|
"bg-size": [{
|
|
1184
|
-
bg: ["auto", "cover", "contain",
|
|
1191
|
+
bg: ["auto", "cover", "contain", $r]
|
|
1185
1192
|
}],
|
|
1186
1193
|
/**
|
|
1187
1194
|
* Background Image
|
|
@@ -1190,7 +1197,7 @@ const f = (e) => {
|
|
|
1190
1197
|
"bg-image": [{
|
|
1191
1198
|
bg: ["none", {
|
|
1192
1199
|
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1193
|
-
},
|
|
1200
|
+
}, Fr]
|
|
1194
1201
|
}],
|
|
1195
1202
|
/**
|
|
1196
1203
|
* Background Color
|
|
@@ -1204,42 +1211,42 @@ const f = (e) => {
|
|
|
1204
1211
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1205
1212
|
*/
|
|
1206
1213
|
"gradient-from-pos": [{
|
|
1207
|
-
from: [
|
|
1214
|
+
from: [C]
|
|
1208
1215
|
}],
|
|
1209
1216
|
/**
|
|
1210
1217
|
* Gradient Color Stops Via Position
|
|
1211
1218
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1212
1219
|
*/
|
|
1213
1220
|
"gradient-via-pos": [{
|
|
1214
|
-
via: [
|
|
1221
|
+
via: [C]
|
|
1215
1222
|
}],
|
|
1216
1223
|
/**
|
|
1217
1224
|
* Gradient Color Stops To Position
|
|
1218
1225
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1219
1226
|
*/
|
|
1220
1227
|
"gradient-to-pos": [{
|
|
1221
|
-
to: [
|
|
1228
|
+
to: [C]
|
|
1222
1229
|
}],
|
|
1223
1230
|
/**
|
|
1224
1231
|
* Gradient Color Stops From
|
|
1225
1232
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1226
1233
|
*/
|
|
1227
1234
|
"gradient-from": [{
|
|
1228
|
-
from: [
|
|
1235
|
+
from: [f]
|
|
1229
1236
|
}],
|
|
1230
1237
|
/**
|
|
1231
1238
|
* Gradient Color Stops Via
|
|
1232
1239
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1233
1240
|
*/
|
|
1234
1241
|
"gradient-via": [{
|
|
1235
|
-
via: [
|
|
1242
|
+
via: [f]
|
|
1236
1243
|
}],
|
|
1237
1244
|
/**
|
|
1238
1245
|
* Gradient Color Stops To
|
|
1239
1246
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1240
1247
|
*/
|
|
1241
1248
|
"gradient-to": [{
|
|
1242
|
-
to: [
|
|
1249
|
+
to: [f]
|
|
1243
1250
|
}],
|
|
1244
1251
|
// Borders
|
|
1245
1252
|
/**
|
|
@@ -1352,70 +1359,70 @@ const f = (e) => {
|
|
|
1352
1359
|
* @see https://tailwindcss.com/docs/border-width
|
|
1353
1360
|
*/
|
|
1354
1361
|
"border-w": [{
|
|
1355
|
-
border: [
|
|
1362
|
+
border: [c]
|
|
1356
1363
|
}],
|
|
1357
1364
|
/**
|
|
1358
1365
|
* Border Width X
|
|
1359
1366
|
* @see https://tailwindcss.com/docs/border-width
|
|
1360
1367
|
*/
|
|
1361
1368
|
"border-w-x": [{
|
|
1362
|
-
"border-x": [
|
|
1369
|
+
"border-x": [c]
|
|
1363
1370
|
}],
|
|
1364
1371
|
/**
|
|
1365
1372
|
* Border Width Y
|
|
1366
1373
|
* @see https://tailwindcss.com/docs/border-width
|
|
1367
1374
|
*/
|
|
1368
1375
|
"border-w-y": [{
|
|
1369
|
-
"border-y": [
|
|
1376
|
+
"border-y": [c]
|
|
1370
1377
|
}],
|
|
1371
1378
|
/**
|
|
1372
1379
|
* Border Width Start
|
|
1373
1380
|
* @see https://tailwindcss.com/docs/border-width
|
|
1374
1381
|
*/
|
|
1375
1382
|
"border-w-s": [{
|
|
1376
|
-
"border-s": [
|
|
1383
|
+
"border-s": [c]
|
|
1377
1384
|
}],
|
|
1378
1385
|
/**
|
|
1379
1386
|
* Border Width End
|
|
1380
1387
|
* @see https://tailwindcss.com/docs/border-width
|
|
1381
1388
|
*/
|
|
1382
1389
|
"border-w-e": [{
|
|
1383
|
-
"border-e": [
|
|
1390
|
+
"border-e": [c]
|
|
1384
1391
|
}],
|
|
1385
1392
|
/**
|
|
1386
1393
|
* Border Width Top
|
|
1387
1394
|
* @see https://tailwindcss.com/docs/border-width
|
|
1388
1395
|
*/
|
|
1389
1396
|
"border-w-t": [{
|
|
1390
|
-
"border-t": [
|
|
1397
|
+
"border-t": [c]
|
|
1391
1398
|
}],
|
|
1392
1399
|
/**
|
|
1393
1400
|
* Border Width Right
|
|
1394
1401
|
* @see https://tailwindcss.com/docs/border-width
|
|
1395
1402
|
*/
|
|
1396
1403
|
"border-w-r": [{
|
|
1397
|
-
"border-r": [
|
|
1404
|
+
"border-r": [c]
|
|
1398
1405
|
}],
|
|
1399
1406
|
/**
|
|
1400
1407
|
* Border Width Bottom
|
|
1401
1408
|
* @see https://tailwindcss.com/docs/border-width
|
|
1402
1409
|
*/
|
|
1403
1410
|
"border-w-b": [{
|
|
1404
|
-
"border-b": [
|
|
1411
|
+
"border-b": [c]
|
|
1405
1412
|
}],
|
|
1406
1413
|
/**
|
|
1407
1414
|
* Border Width Left
|
|
1408
1415
|
* @see https://tailwindcss.com/docs/border-width
|
|
1409
1416
|
*/
|
|
1410
1417
|
"border-w-l": [{
|
|
1411
|
-
"border-l": [
|
|
1418
|
+
"border-l": [c]
|
|
1412
1419
|
}],
|
|
1413
1420
|
/**
|
|
1414
1421
|
* Border Opacity
|
|
1415
1422
|
* @see https://tailwindcss.com/docs/border-opacity
|
|
1416
1423
|
*/
|
|
1417
1424
|
"border-opacity": [{
|
|
1418
|
-
"border-opacity": [
|
|
1425
|
+
"border-opacity": [y]
|
|
1419
1426
|
}],
|
|
1420
1427
|
/**
|
|
1421
1428
|
* Border Style
|
|
@@ -1429,7 +1436,7 @@ const f = (e) => {
|
|
|
1429
1436
|
* @see https://tailwindcss.com/docs/divide-width
|
|
1430
1437
|
*/
|
|
1431
1438
|
"divide-x": [{
|
|
1432
|
-
"divide-x": [
|
|
1439
|
+
"divide-x": [c]
|
|
1433
1440
|
}],
|
|
1434
1441
|
/**
|
|
1435
1442
|
* Divide Width X Reverse
|
|
@@ -1441,7 +1448,7 @@ const f = (e) => {
|
|
|
1441
1448
|
* @see https://tailwindcss.com/docs/divide-width
|
|
1442
1449
|
*/
|
|
1443
1450
|
"divide-y": [{
|
|
1444
|
-
"divide-y": [
|
|
1451
|
+
"divide-y": [c]
|
|
1445
1452
|
}],
|
|
1446
1453
|
/**
|
|
1447
1454
|
* Divide Width Y Reverse
|
|
@@ -1453,7 +1460,7 @@ const f = (e) => {
|
|
|
1453
1460
|
* @see https://tailwindcss.com/docs/divide-opacity
|
|
1454
1461
|
*/
|
|
1455
1462
|
"divide-opacity": [{
|
|
1456
|
-
"divide-opacity": [
|
|
1463
|
+
"divide-opacity": [y]
|
|
1457
1464
|
}],
|
|
1458
1465
|
/**
|
|
1459
1466
|
* Divide Style
|
|
@@ -1467,70 +1474,70 @@ const f = (e) => {
|
|
|
1467
1474
|
* @see https://tailwindcss.com/docs/border-color
|
|
1468
1475
|
*/
|
|
1469
1476
|
"border-color": [{
|
|
1470
|
-
border: [
|
|
1477
|
+
border: [s]
|
|
1471
1478
|
}],
|
|
1472
1479
|
/**
|
|
1473
1480
|
* Border Color X
|
|
1474
1481
|
* @see https://tailwindcss.com/docs/border-color
|
|
1475
1482
|
*/
|
|
1476
1483
|
"border-color-x": [{
|
|
1477
|
-
"border-x": [
|
|
1484
|
+
"border-x": [s]
|
|
1478
1485
|
}],
|
|
1479
1486
|
/**
|
|
1480
1487
|
* Border Color Y
|
|
1481
1488
|
* @see https://tailwindcss.com/docs/border-color
|
|
1482
1489
|
*/
|
|
1483
1490
|
"border-color-y": [{
|
|
1484
|
-
"border-y": [
|
|
1491
|
+
"border-y": [s]
|
|
1485
1492
|
}],
|
|
1486
1493
|
/**
|
|
1487
1494
|
* Border Color S
|
|
1488
1495
|
* @see https://tailwindcss.com/docs/border-color
|
|
1489
1496
|
*/
|
|
1490
1497
|
"border-color-s": [{
|
|
1491
|
-
"border-s": [
|
|
1498
|
+
"border-s": [s]
|
|
1492
1499
|
}],
|
|
1493
1500
|
/**
|
|
1494
1501
|
* Border Color E
|
|
1495
1502
|
* @see https://tailwindcss.com/docs/border-color
|
|
1496
1503
|
*/
|
|
1497
1504
|
"border-color-e": [{
|
|
1498
|
-
"border-e": [
|
|
1505
|
+
"border-e": [s]
|
|
1499
1506
|
}],
|
|
1500
1507
|
/**
|
|
1501
1508
|
* Border Color Top
|
|
1502
1509
|
* @see https://tailwindcss.com/docs/border-color
|
|
1503
1510
|
*/
|
|
1504
1511
|
"border-color-t": [{
|
|
1505
|
-
"border-t": [
|
|
1512
|
+
"border-t": [s]
|
|
1506
1513
|
}],
|
|
1507
1514
|
/**
|
|
1508
1515
|
* Border Color Right
|
|
1509
1516
|
* @see https://tailwindcss.com/docs/border-color
|
|
1510
1517
|
*/
|
|
1511
1518
|
"border-color-r": [{
|
|
1512
|
-
"border-r": [
|
|
1519
|
+
"border-r": [s]
|
|
1513
1520
|
}],
|
|
1514
1521
|
/**
|
|
1515
1522
|
* Border Color Bottom
|
|
1516
1523
|
* @see https://tailwindcss.com/docs/border-color
|
|
1517
1524
|
*/
|
|
1518
1525
|
"border-color-b": [{
|
|
1519
|
-
"border-b": [
|
|
1526
|
+
"border-b": [s]
|
|
1520
1527
|
}],
|
|
1521
1528
|
/**
|
|
1522
1529
|
* Border Color Left
|
|
1523
1530
|
* @see https://tailwindcss.com/docs/border-color
|
|
1524
1531
|
*/
|
|
1525
1532
|
"border-color-l": [{
|
|
1526
|
-
"border-l": [
|
|
1533
|
+
"border-l": [s]
|
|
1527
1534
|
}],
|
|
1528
1535
|
/**
|
|
1529
1536
|
* Divide Color
|
|
1530
1537
|
* @see https://tailwindcss.com/docs/divide-color
|
|
1531
1538
|
*/
|
|
1532
1539
|
"divide-color": [{
|
|
1533
|
-
divide: [
|
|
1540
|
+
divide: [s]
|
|
1534
1541
|
}],
|
|
1535
1542
|
/**
|
|
1536
1543
|
* Outline Style
|
|
@@ -1544,14 +1551,14 @@ const f = (e) => {
|
|
|
1544
1551
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1545
1552
|
*/
|
|
1546
1553
|
"outline-offset": [{
|
|
1547
|
-
"outline-offset": [
|
|
1554
|
+
"outline-offset": [L, h]
|
|
1548
1555
|
}],
|
|
1549
1556
|
/**
|
|
1550
1557
|
* Outline Width
|
|
1551
1558
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1552
1559
|
*/
|
|
1553
1560
|
"outline-w": [{
|
|
1554
|
-
outline: [
|
|
1561
|
+
outline: [L, A]
|
|
1555
1562
|
}],
|
|
1556
1563
|
/**
|
|
1557
1564
|
* Outline Color
|
|
@@ -1565,7 +1572,7 @@ const f = (e) => {
|
|
|
1565
1572
|
* @see https://tailwindcss.com/docs/ring-width
|
|
1566
1573
|
*/
|
|
1567
1574
|
"ring-w": [{
|
|
1568
|
-
ring:
|
|
1575
|
+
ring: he()
|
|
1569
1576
|
}],
|
|
1570
1577
|
/**
|
|
1571
1578
|
* Ring Width Inset
|
|
@@ -1584,14 +1591,14 @@ const f = (e) => {
|
|
|
1584
1591
|
* @see https://tailwindcss.com/docs/ring-opacity
|
|
1585
1592
|
*/
|
|
1586
1593
|
"ring-opacity": [{
|
|
1587
|
-
"ring-opacity": [
|
|
1594
|
+
"ring-opacity": [y]
|
|
1588
1595
|
}],
|
|
1589
1596
|
/**
|
|
1590
1597
|
* Ring Offset Width
|
|
1591
1598
|
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
1592
1599
|
*/
|
|
1593
1600
|
"ring-offset-w": [{
|
|
1594
|
-
"ring-offset": [
|
|
1601
|
+
"ring-offset": [L, A]
|
|
1595
1602
|
}],
|
|
1596
1603
|
/**
|
|
1597
1604
|
* Ring Offset Color
|
|
@@ -1606,35 +1613,35 @@ const f = (e) => {
|
|
|
1606
1613
|
* @see https://tailwindcss.com/docs/box-shadow
|
|
1607
1614
|
*/
|
|
1608
1615
|
shadow: [{
|
|
1609
|
-
shadow: ["", "inner", "none",
|
|
1616
|
+
shadow: ["", "inner", "none", R, Dr]
|
|
1610
1617
|
}],
|
|
1611
1618
|
/**
|
|
1612
1619
|
* Box Shadow Color
|
|
1613
1620
|
* @see https://tailwindcss.com/docs/box-shadow-color
|
|
1614
1621
|
*/
|
|
1615
1622
|
"shadow-color": [{
|
|
1616
|
-
shadow: [
|
|
1623
|
+
shadow: [G]
|
|
1617
1624
|
}],
|
|
1618
1625
|
/**
|
|
1619
1626
|
* Opacity
|
|
1620
1627
|
* @see https://tailwindcss.com/docs/opacity
|
|
1621
1628
|
*/
|
|
1622
1629
|
opacity: [{
|
|
1623
|
-
opacity: [
|
|
1630
|
+
opacity: [y]
|
|
1624
1631
|
}],
|
|
1625
1632
|
/**
|
|
1626
1633
|
* Mix Blend Mode
|
|
1627
1634
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1628
1635
|
*/
|
|
1629
1636
|
"mix-blend": [{
|
|
1630
|
-
"mix-blend": [...
|
|
1637
|
+
"mix-blend": [...pe(), "plus-lighter", "plus-darker"]
|
|
1631
1638
|
}],
|
|
1632
1639
|
/**
|
|
1633
1640
|
* Background Blend Mode
|
|
1634
1641
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1635
1642
|
*/
|
|
1636
1643
|
"bg-blend": [{
|
|
1637
|
-
"bg-blend":
|
|
1644
|
+
"bg-blend": pe()
|
|
1638
1645
|
}],
|
|
1639
1646
|
// Filters
|
|
1640
1647
|
/**
|
|
@@ -1664,49 +1671,49 @@ const f = (e) => {
|
|
|
1664
1671
|
* @see https://tailwindcss.com/docs/contrast
|
|
1665
1672
|
*/
|
|
1666
1673
|
contrast: [{
|
|
1667
|
-
contrast: [
|
|
1674
|
+
contrast: [u]
|
|
1668
1675
|
}],
|
|
1669
1676
|
/**
|
|
1670
1677
|
* Drop Shadow
|
|
1671
1678
|
* @see https://tailwindcss.com/docs/drop-shadow
|
|
1672
1679
|
*/
|
|
1673
1680
|
"drop-shadow": [{
|
|
1674
|
-
"drop-shadow": ["", "none",
|
|
1681
|
+
"drop-shadow": ["", "none", R, h]
|
|
1675
1682
|
}],
|
|
1676
1683
|
/**
|
|
1677
1684
|
* Grayscale
|
|
1678
1685
|
* @see https://tailwindcss.com/docs/grayscale
|
|
1679
1686
|
*/
|
|
1680
1687
|
grayscale: [{
|
|
1681
|
-
grayscale: [
|
|
1688
|
+
grayscale: [d]
|
|
1682
1689
|
}],
|
|
1683
1690
|
/**
|
|
1684
1691
|
* Hue Rotate
|
|
1685
1692
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
1686
1693
|
*/
|
|
1687
1694
|
"hue-rotate": [{
|
|
1688
|
-
"hue-rotate": [
|
|
1695
|
+
"hue-rotate": [m]
|
|
1689
1696
|
}],
|
|
1690
1697
|
/**
|
|
1691
1698
|
* Invert
|
|
1692
1699
|
* @see https://tailwindcss.com/docs/invert
|
|
1693
1700
|
*/
|
|
1694
1701
|
invert: [{
|
|
1695
|
-
invert: [
|
|
1702
|
+
invert: [p]
|
|
1696
1703
|
}],
|
|
1697
1704
|
/**
|
|
1698
1705
|
* Saturate
|
|
1699
1706
|
* @see https://tailwindcss.com/docs/saturate
|
|
1700
1707
|
*/
|
|
1701
1708
|
saturate: [{
|
|
1702
|
-
saturate: [
|
|
1709
|
+
saturate: [P]
|
|
1703
1710
|
}],
|
|
1704
1711
|
/**
|
|
1705
1712
|
* Sepia
|
|
1706
1713
|
* @see https://tailwindcss.com/docs/sepia
|
|
1707
1714
|
*/
|
|
1708
1715
|
sepia: [{
|
|
1709
|
-
sepia: [
|
|
1716
|
+
sepia: [_]
|
|
1710
1717
|
}],
|
|
1711
1718
|
/**
|
|
1712
1719
|
* Backdrop Filter
|
|
@@ -1735,49 +1742,49 @@ const f = (e) => {
|
|
|
1735
1742
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
1736
1743
|
*/
|
|
1737
1744
|
"backdrop-contrast": [{
|
|
1738
|
-
"backdrop-contrast": [
|
|
1745
|
+
"backdrop-contrast": [u]
|
|
1739
1746
|
}],
|
|
1740
1747
|
/**
|
|
1741
1748
|
* Backdrop Grayscale
|
|
1742
1749
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
1743
1750
|
*/
|
|
1744
1751
|
"backdrop-grayscale": [{
|
|
1745
|
-
"backdrop-grayscale": [
|
|
1752
|
+
"backdrop-grayscale": [d]
|
|
1746
1753
|
}],
|
|
1747
1754
|
/**
|
|
1748
1755
|
* Backdrop Hue Rotate
|
|
1749
1756
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
1750
1757
|
*/
|
|
1751
1758
|
"backdrop-hue-rotate": [{
|
|
1752
|
-
"backdrop-hue-rotate": [
|
|
1759
|
+
"backdrop-hue-rotate": [m]
|
|
1753
1760
|
}],
|
|
1754
1761
|
/**
|
|
1755
1762
|
* Backdrop Invert
|
|
1756
1763
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
1757
1764
|
*/
|
|
1758
1765
|
"backdrop-invert": [{
|
|
1759
|
-
"backdrop-invert": [
|
|
1766
|
+
"backdrop-invert": [p]
|
|
1760
1767
|
}],
|
|
1761
1768
|
/**
|
|
1762
1769
|
* Backdrop Opacity
|
|
1763
1770
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
1764
1771
|
*/
|
|
1765
1772
|
"backdrop-opacity": [{
|
|
1766
|
-
"backdrop-opacity": [
|
|
1773
|
+
"backdrop-opacity": [y]
|
|
1767
1774
|
}],
|
|
1768
1775
|
/**
|
|
1769
1776
|
* Backdrop Saturate
|
|
1770
1777
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
1771
1778
|
*/
|
|
1772
1779
|
"backdrop-saturate": [{
|
|
1773
|
-
"backdrop-saturate": [
|
|
1780
|
+
"backdrop-saturate": [P]
|
|
1774
1781
|
}],
|
|
1775
1782
|
/**
|
|
1776
1783
|
* Backdrop Sepia
|
|
1777
1784
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
1778
1785
|
*/
|
|
1779
1786
|
"backdrop-sepia": [{
|
|
1780
|
-
"backdrop-sepia": [
|
|
1787
|
+
"backdrop-sepia": [_]
|
|
1781
1788
|
}],
|
|
1782
1789
|
// Tables
|
|
1783
1790
|
/**
|
|
@@ -1792,21 +1799,21 @@ const f = (e) => {
|
|
|
1792
1799
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
1793
1800
|
*/
|
|
1794
1801
|
"border-spacing": [{
|
|
1795
|
-
"border-spacing": [
|
|
1802
|
+
"border-spacing": [a]
|
|
1796
1803
|
}],
|
|
1797
1804
|
/**
|
|
1798
1805
|
* Border Spacing X
|
|
1799
1806
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
1800
1807
|
*/
|
|
1801
1808
|
"border-spacing-x": [{
|
|
1802
|
-
"border-spacing-x": [
|
|
1809
|
+
"border-spacing-x": [a]
|
|
1803
1810
|
}],
|
|
1804
1811
|
/**
|
|
1805
1812
|
* Border Spacing Y
|
|
1806
1813
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
1807
1814
|
*/
|
|
1808
1815
|
"border-spacing-y": [{
|
|
1809
|
-
"border-spacing-y": [
|
|
1816
|
+
"border-spacing-y": [a]
|
|
1810
1817
|
}],
|
|
1811
1818
|
/**
|
|
1812
1819
|
* Table Layout
|
|
@@ -1828,35 +1835,35 @@ const f = (e) => {
|
|
|
1828
1835
|
* @see https://tailwindcss.com/docs/transition-property
|
|
1829
1836
|
*/
|
|
1830
1837
|
transition: [{
|
|
1831
|
-
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform",
|
|
1838
|
+
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", h]
|
|
1832
1839
|
}],
|
|
1833
1840
|
/**
|
|
1834
1841
|
* Transition Duration
|
|
1835
1842
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
1836
1843
|
*/
|
|
1837
1844
|
duration: [{
|
|
1838
|
-
duration:
|
|
1845
|
+
duration: M()
|
|
1839
1846
|
}],
|
|
1840
1847
|
/**
|
|
1841
1848
|
* Transition Timing Function
|
|
1842
1849
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
1843
1850
|
*/
|
|
1844
1851
|
ease: [{
|
|
1845
|
-
ease: ["linear", "in", "out", "in-out",
|
|
1852
|
+
ease: ["linear", "in", "out", "in-out", h]
|
|
1846
1853
|
}],
|
|
1847
1854
|
/**
|
|
1848
1855
|
* Transition Delay
|
|
1849
1856
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
1850
1857
|
*/
|
|
1851
1858
|
delay: [{
|
|
1852
|
-
delay:
|
|
1859
|
+
delay: M()
|
|
1853
1860
|
}],
|
|
1854
1861
|
/**
|
|
1855
1862
|
* Animation
|
|
1856
1863
|
* @see https://tailwindcss.com/docs/animation
|
|
1857
1864
|
*/
|
|
1858
1865
|
animate: [{
|
|
1859
|
-
animate: ["none", "spin", "ping", "pulse", "bounce",
|
|
1866
|
+
animate: ["none", "spin", "ping", "pulse", "bounce", h]
|
|
1860
1867
|
}],
|
|
1861
1868
|
// Transforms
|
|
1862
1869
|
/**
|
|
@@ -1871,63 +1878,63 @@ const f = (e) => {
|
|
|
1871
1878
|
* @see https://tailwindcss.com/docs/scale
|
|
1872
1879
|
*/
|
|
1873
1880
|
scale: [{
|
|
1874
|
-
scale: [
|
|
1881
|
+
scale: [V]
|
|
1875
1882
|
}],
|
|
1876
1883
|
/**
|
|
1877
1884
|
* Scale X
|
|
1878
1885
|
* @see https://tailwindcss.com/docs/scale
|
|
1879
1886
|
*/
|
|
1880
1887
|
"scale-x": [{
|
|
1881
|
-
"scale-x": [
|
|
1888
|
+
"scale-x": [V]
|
|
1882
1889
|
}],
|
|
1883
1890
|
/**
|
|
1884
1891
|
* Scale Y
|
|
1885
1892
|
* @see https://tailwindcss.com/docs/scale
|
|
1886
1893
|
*/
|
|
1887
1894
|
"scale-y": [{
|
|
1888
|
-
"scale-y": [
|
|
1895
|
+
"scale-y": [V]
|
|
1889
1896
|
}],
|
|
1890
1897
|
/**
|
|
1891
1898
|
* Rotate
|
|
1892
1899
|
* @see https://tailwindcss.com/docs/rotate
|
|
1893
1900
|
*/
|
|
1894
1901
|
rotate: [{
|
|
1895
|
-
rotate: [
|
|
1902
|
+
rotate: [B, h]
|
|
1896
1903
|
}],
|
|
1897
1904
|
/**
|
|
1898
1905
|
* Translate X
|
|
1899
1906
|
* @see https://tailwindcss.com/docs/translate
|
|
1900
1907
|
*/
|
|
1901
1908
|
"translate-x": [{
|
|
1902
|
-
"translate-x": [
|
|
1909
|
+
"translate-x": [ue]
|
|
1903
1910
|
}],
|
|
1904
1911
|
/**
|
|
1905
1912
|
* Translate Y
|
|
1906
1913
|
* @see https://tailwindcss.com/docs/translate
|
|
1907
1914
|
*/
|
|
1908
1915
|
"translate-y": [{
|
|
1909
|
-
"translate-y": [
|
|
1916
|
+
"translate-y": [ue]
|
|
1910
1917
|
}],
|
|
1911
1918
|
/**
|
|
1912
1919
|
* Skew X
|
|
1913
1920
|
* @see https://tailwindcss.com/docs/skew
|
|
1914
1921
|
*/
|
|
1915
1922
|
"skew-x": [{
|
|
1916
|
-
"skew-x": [
|
|
1923
|
+
"skew-x": [le]
|
|
1917
1924
|
}],
|
|
1918
1925
|
/**
|
|
1919
1926
|
* Skew Y
|
|
1920
1927
|
* @see https://tailwindcss.com/docs/skew
|
|
1921
1928
|
*/
|
|
1922
1929
|
"skew-y": [{
|
|
1923
|
-
"skew-y": [
|
|
1930
|
+
"skew-y": [le]
|
|
1924
1931
|
}],
|
|
1925
1932
|
/**
|
|
1926
1933
|
* Transform Origin
|
|
1927
1934
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
1928
1935
|
*/
|
|
1929
1936
|
"transform-origin": [{
|
|
1930
|
-
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left",
|
|
1937
|
+
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", h]
|
|
1931
1938
|
}],
|
|
1932
1939
|
// Interactivity
|
|
1933
1940
|
/**
|
|
@@ -1949,7 +1956,7 @@ const f = (e) => {
|
|
|
1949
1956
|
* @see https://tailwindcss.com/docs/cursor
|
|
1950
1957
|
*/
|
|
1951
1958
|
cursor: [{
|
|
1952
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out",
|
|
1959
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", h]
|
|
1953
1960
|
}],
|
|
1954
1961
|
/**
|
|
1955
1962
|
* Caret Color
|
|
@@ -1984,126 +1991,126 @@ const f = (e) => {
|
|
|
1984
1991
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
1985
1992
|
*/
|
|
1986
1993
|
"scroll-m": [{
|
|
1987
|
-
"scroll-m":
|
|
1994
|
+
"scroll-m": w()
|
|
1988
1995
|
}],
|
|
1989
1996
|
/**
|
|
1990
1997
|
* Scroll Margin X
|
|
1991
1998
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
1992
1999
|
*/
|
|
1993
2000
|
"scroll-mx": [{
|
|
1994
|
-
"scroll-mx":
|
|
2001
|
+
"scroll-mx": w()
|
|
1995
2002
|
}],
|
|
1996
2003
|
/**
|
|
1997
2004
|
* Scroll Margin Y
|
|
1998
2005
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
1999
2006
|
*/
|
|
2000
2007
|
"scroll-my": [{
|
|
2001
|
-
"scroll-my":
|
|
2008
|
+
"scroll-my": w()
|
|
2002
2009
|
}],
|
|
2003
2010
|
/**
|
|
2004
2011
|
* Scroll Margin Start
|
|
2005
2012
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2006
2013
|
*/
|
|
2007
2014
|
"scroll-ms": [{
|
|
2008
|
-
"scroll-ms":
|
|
2015
|
+
"scroll-ms": w()
|
|
2009
2016
|
}],
|
|
2010
2017
|
/**
|
|
2011
2018
|
* Scroll Margin End
|
|
2012
2019
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2013
2020
|
*/
|
|
2014
2021
|
"scroll-me": [{
|
|
2015
|
-
"scroll-me":
|
|
2022
|
+
"scroll-me": w()
|
|
2016
2023
|
}],
|
|
2017
2024
|
/**
|
|
2018
2025
|
* Scroll Margin Top
|
|
2019
2026
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2020
2027
|
*/
|
|
2021
2028
|
"scroll-mt": [{
|
|
2022
|
-
"scroll-mt":
|
|
2029
|
+
"scroll-mt": w()
|
|
2023
2030
|
}],
|
|
2024
2031
|
/**
|
|
2025
2032
|
* Scroll Margin Right
|
|
2026
2033
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2027
2034
|
*/
|
|
2028
2035
|
"scroll-mr": [{
|
|
2029
|
-
"scroll-mr":
|
|
2036
|
+
"scroll-mr": w()
|
|
2030
2037
|
}],
|
|
2031
2038
|
/**
|
|
2032
2039
|
* Scroll Margin Bottom
|
|
2033
2040
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2034
2041
|
*/
|
|
2035
2042
|
"scroll-mb": [{
|
|
2036
|
-
"scroll-mb":
|
|
2043
|
+
"scroll-mb": w()
|
|
2037
2044
|
}],
|
|
2038
2045
|
/**
|
|
2039
2046
|
* Scroll Margin Left
|
|
2040
2047
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2041
2048
|
*/
|
|
2042
2049
|
"scroll-ml": [{
|
|
2043
|
-
"scroll-ml":
|
|
2050
|
+
"scroll-ml": w()
|
|
2044
2051
|
}],
|
|
2045
2052
|
/**
|
|
2046
2053
|
* Scroll Padding
|
|
2047
2054
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2048
2055
|
*/
|
|
2049
2056
|
"scroll-p": [{
|
|
2050
|
-
"scroll-p":
|
|
2057
|
+
"scroll-p": w()
|
|
2051
2058
|
}],
|
|
2052
2059
|
/**
|
|
2053
2060
|
* Scroll Padding X
|
|
2054
2061
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2055
2062
|
*/
|
|
2056
2063
|
"scroll-px": [{
|
|
2057
|
-
"scroll-px":
|
|
2064
|
+
"scroll-px": w()
|
|
2058
2065
|
}],
|
|
2059
2066
|
/**
|
|
2060
2067
|
* Scroll Padding Y
|
|
2061
2068
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2062
2069
|
*/
|
|
2063
2070
|
"scroll-py": [{
|
|
2064
|
-
"scroll-py":
|
|
2071
|
+
"scroll-py": w()
|
|
2065
2072
|
}],
|
|
2066
2073
|
/**
|
|
2067
2074
|
* Scroll Padding Start
|
|
2068
2075
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2069
2076
|
*/
|
|
2070
2077
|
"scroll-ps": [{
|
|
2071
|
-
"scroll-ps":
|
|
2078
|
+
"scroll-ps": w()
|
|
2072
2079
|
}],
|
|
2073
2080
|
/**
|
|
2074
2081
|
* Scroll Padding End
|
|
2075
2082
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2076
2083
|
*/
|
|
2077
2084
|
"scroll-pe": [{
|
|
2078
|
-
"scroll-pe":
|
|
2085
|
+
"scroll-pe": w()
|
|
2079
2086
|
}],
|
|
2080
2087
|
/**
|
|
2081
2088
|
* Scroll Padding Top
|
|
2082
2089
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2083
2090
|
*/
|
|
2084
2091
|
"scroll-pt": [{
|
|
2085
|
-
"scroll-pt":
|
|
2092
|
+
"scroll-pt": w()
|
|
2086
2093
|
}],
|
|
2087
2094
|
/**
|
|
2088
2095
|
* Scroll Padding Right
|
|
2089
2096
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2090
2097
|
*/
|
|
2091
2098
|
"scroll-pr": [{
|
|
2092
|
-
"scroll-pr":
|
|
2099
|
+
"scroll-pr": w()
|
|
2093
2100
|
}],
|
|
2094
2101
|
/**
|
|
2095
2102
|
* Scroll Padding Bottom
|
|
2096
2103
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2097
2104
|
*/
|
|
2098
2105
|
"scroll-pb": [{
|
|
2099
|
-
"scroll-pb":
|
|
2106
|
+
"scroll-pb": w()
|
|
2100
2107
|
}],
|
|
2101
2108
|
/**
|
|
2102
2109
|
* Scroll Padding Left
|
|
2103
2110
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2104
2111
|
*/
|
|
2105
2112
|
"scroll-pl": [{
|
|
2106
|
-
"scroll-pl":
|
|
2113
|
+
"scroll-pl": w()
|
|
2107
2114
|
}],
|
|
2108
2115
|
/**
|
|
2109
2116
|
* Scroll Snap Align
|
|
@@ -2171,7 +2178,7 @@ const f = (e) => {
|
|
|
2171
2178
|
* @see https://tailwindcss.com/docs/will-change
|
|
2172
2179
|
*/
|
|
2173
2180
|
"will-change": [{
|
|
2174
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2181
|
+
"will-change": ["auto", "scroll", "contents", "transform", h]
|
|
2175
2182
|
}],
|
|
2176
2183
|
// SVG
|
|
2177
2184
|
/**
|
|
@@ -2186,7 +2193,7 @@ const f = (e) => {
|
|
|
2186
2193
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2187
2194
|
*/
|
|
2188
2195
|
"stroke-w": [{
|
|
2189
|
-
stroke: [
|
|
2196
|
+
stroke: [L, A, K]
|
|
2190
2197
|
}],
|
|
2191
2198
|
/**
|
|
2192
2199
|
* Stroke
|
|
@@ -2261,142 +2268,731 @@ const f = (e) => {
|
|
|
2261
2268
|
"font-size": ["leading"]
|
|
2262
2269
|
}
|
|
2263
2270
|
};
|
|
2264
|
-
},
|
|
2265
|
-
function
|
|
2266
|
-
return
|
|
2271
|
+
}, Qr = /* @__PURE__ */ Tr(Kr);
|
|
2272
|
+
function k(...e) {
|
|
2273
|
+
return Qr(Ee(e));
|
|
2274
|
+
}
|
|
2275
|
+
let Q;
|
|
2276
|
+
function Y() {
|
|
2277
|
+
return Q === void 0 && (Q = navigator.platform.includes("Mac")), Q;
|
|
2278
|
+
}
|
|
2279
|
+
function Yr(e) {
|
|
2280
|
+
return `${e}`.toLowerCase() === "mod" ? Y() ? "⌘" : "Ctrl" : `${e}`.toLowerCase() === "alt" ? Y() ? "⌥" : "Alt" : `${e}`.toLowerCase() === "shift" ? Y() ? "⇧" : "Shift" : e;
|
|
2267
2281
|
}
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2282
|
+
function Zr(e) {
|
|
2283
|
+
return e.map(Yr).join(" ");
|
|
2284
|
+
}
|
|
2285
|
+
const en = _e.forwardRef(
|
|
2286
|
+
(e, r) => {
|
|
2287
|
+
const {
|
|
2288
|
+
icon: t = void 0,
|
|
2289
|
+
// title = undefined,
|
|
2290
|
+
tooltip: o = void 0,
|
|
2291
|
+
disabled: s = !1,
|
|
2292
|
+
customClass: n = "",
|
|
2293
|
+
// color = undefined,
|
|
2294
|
+
loading: a = void 0,
|
|
2295
|
+
shortcutKeys: c = void 0,
|
|
2296
|
+
tooltipOptions: u = {},
|
|
2297
|
+
action: d = void 0,
|
|
2298
|
+
isActive: m = void 0,
|
|
2299
|
+
children: p,
|
|
2300
|
+
asChild: l = !1,
|
|
2301
|
+
upload: f = !1,
|
|
2302
|
+
initialDisplayedColor: C = void 0,
|
|
2303
|
+
dataState: b = !1,
|
|
2304
|
+
...g
|
|
2305
|
+
} = e, y = ko[t];
|
|
2306
|
+
return /* @__PURE__ */ z(Eo, { children: [
|
|
2307
|
+
/* @__PURE__ */ i(No, { asChild: !0, children: /* @__PURE__ */ z(
|
|
2308
|
+
l ? Je : Ie,
|
|
2309
|
+
{
|
|
2310
|
+
className: k("richtext-w-[32px] richtext-h-[32px]", n),
|
|
2311
|
+
"data-state": b ? "on" : "off",
|
|
2312
|
+
disabled: s,
|
|
2313
|
+
onClick: d,
|
|
2314
|
+
ref: r,
|
|
2315
|
+
size: "sm",
|
|
2316
|
+
...g,
|
|
2317
|
+
children: [
|
|
2318
|
+
y && /* @__PURE__ */ i(y, { className: "richtext-size-4" }),
|
|
2319
|
+
p
|
|
2320
|
+
]
|
|
2321
|
+
}
|
|
2322
|
+
) }),
|
|
2323
|
+
o && /* @__PURE__ */ i(
|
|
2324
|
+
He,
|
|
2325
|
+
{
|
|
2326
|
+
...u,
|
|
2327
|
+
className: "richtext-tooltip",
|
|
2328
|
+
children: /* @__PURE__ */ z("div", { className: "richtext-flex richtext-max-w-24 richtext-flex-col richtext-items-center richtext-text-center", children: [
|
|
2329
|
+
/* @__PURE__ */ i("div", { children: o }),
|
|
2330
|
+
!!(c != null && c.length) && /* @__PURE__ */ i("span", { children: Zr(c) })
|
|
2331
|
+
] })
|
|
2332
|
+
}
|
|
2333
|
+
)
|
|
2334
|
+
] });
|
|
2335
|
+
}
|
|
2336
|
+
), Z = typeof window > "u";
|
|
2337
|
+
function ye(e, r, t = window) {
|
|
2338
|
+
const o = te(void 0);
|
|
2339
|
+
T(() => {
|
|
2272
2340
|
o.current = r;
|
|
2273
|
-
}, [r]),
|
|
2341
|
+
}, [r]), T(() => {
|
|
2274
2342
|
if (!(t && t.addEventListener)) return;
|
|
2275
|
-
const n = (
|
|
2276
|
-
o.current && o.current(
|
|
2343
|
+
const n = (a) => {
|
|
2344
|
+
o.current && o.current(a);
|
|
2277
2345
|
};
|
|
2278
2346
|
return t.addEventListener(e, n), () => {
|
|
2279
2347
|
t.removeEventListener(e, n);
|
|
2280
2348
|
};
|
|
2281
2349
|
}, [e, t]);
|
|
2282
2350
|
}
|
|
2283
|
-
function
|
|
2284
|
-
const { initializeWithValue: o = !0 } = t,
|
|
2285
|
-
(
|
|
2351
|
+
function ee(e, r, t = {}) {
|
|
2352
|
+
const { initializeWithValue: o = !0 } = t, s = E(
|
|
2353
|
+
(l) => t.serializer ? t.serializer(l) : JSON.stringify(l),
|
|
2286
2354
|
[t]
|
|
2287
2355
|
), n = E(
|
|
2288
|
-
(
|
|
2356
|
+
(l) => {
|
|
2289
2357
|
if (t.deserializer)
|
|
2290
|
-
return t.deserializer(
|
|
2291
|
-
if (
|
|
2358
|
+
return t.deserializer(l);
|
|
2359
|
+
if (l === "undefined")
|
|
2292
2360
|
return;
|
|
2293
|
-
const
|
|
2294
|
-
let
|
|
2361
|
+
const f = r instanceof Function ? r() : r;
|
|
2362
|
+
let C;
|
|
2295
2363
|
try {
|
|
2296
|
-
|
|
2297
|
-
} catch (
|
|
2298
|
-
return console.error("Error parsing JSON:",
|
|
2364
|
+
C = JSON.parse(l);
|
|
2365
|
+
} catch (b) {
|
|
2366
|
+
return console.error("Error parsing JSON:", b), f;
|
|
2299
2367
|
}
|
|
2300
|
-
return
|
|
2368
|
+
return C;
|
|
2301
2369
|
},
|
|
2302
2370
|
[t, r]
|
|
2303
|
-
),
|
|
2304
|
-
const
|
|
2305
|
-
if (
|
|
2306
|
-
return
|
|
2371
|
+
), a = E(() => {
|
|
2372
|
+
const l = r instanceof Function ? r() : r;
|
|
2373
|
+
if (Z)
|
|
2374
|
+
return l;
|
|
2307
2375
|
try {
|
|
2308
|
-
const
|
|
2309
|
-
return
|
|
2310
|
-
} catch (
|
|
2376
|
+
const f = window.localStorage.getItem(e);
|
|
2377
|
+
return f ? n(f) : l;
|
|
2378
|
+
} catch (f) {
|
|
2311
2379
|
return console.warn(
|
|
2312
2380
|
`Error reading localStorage key “${e}”:`,
|
|
2313
|
-
|
|
2314
|
-
),
|
|
2381
|
+
f
|
|
2382
|
+
), l;
|
|
2315
2383
|
}
|
|
2316
|
-
}, [r, e, n]), [
|
|
2317
|
-
|
|
2384
|
+
}, [r, e, n]), [c, u] = Ue(() => o ? a() : r instanceof Function ? r() : r), d = E((l) => {
|
|
2385
|
+
Z && console.warn(
|
|
2318
2386
|
`Tried setting localStorage key “${e}” even though environment is not a client`
|
|
2319
2387
|
);
|
|
2320
2388
|
try {
|
|
2321
|
-
const
|
|
2322
|
-
window.localStorage.setItem(e,
|
|
2389
|
+
const f = l instanceof Function ? l(a()) : l;
|
|
2390
|
+
window.localStorage.setItem(e, s(f)), u(f), window.dispatchEvent(
|
|
2323
2391
|
new StorageEvent("local-storage", {
|
|
2324
2392
|
key: e
|
|
2325
2393
|
})
|
|
2326
2394
|
);
|
|
2327
|
-
} catch (
|
|
2395
|
+
} catch (f) {
|
|
2328
2396
|
console.warn(
|
|
2329
2397
|
`Error setting localStorage key “${e}”:`,
|
|
2330
|
-
|
|
2398
|
+
f
|
|
2331
2399
|
);
|
|
2332
2400
|
}
|
|
2333
|
-
}, [e,
|
|
2334
|
-
|
|
2401
|
+
}, [e, s, a]), m = E(() => {
|
|
2402
|
+
Z && console.warn(
|
|
2335
2403
|
`Tried removing localStorage key “${e}” even though environment is not a client`
|
|
2336
2404
|
);
|
|
2337
|
-
const
|
|
2338
|
-
window.localStorage.removeItem(e),
|
|
2405
|
+
const l = r instanceof Function ? r() : r;
|
|
2406
|
+
window.localStorage.removeItem(e), u(l), window.dispatchEvent(
|
|
2339
2407
|
new StorageEvent("local-storage", {
|
|
2340
2408
|
key: e
|
|
2341
2409
|
})
|
|
2342
2410
|
);
|
|
2343
2411
|
}, [e, r]);
|
|
2344
|
-
|
|
2345
|
-
|
|
2412
|
+
T(() => {
|
|
2413
|
+
u(a());
|
|
2346
2414
|
}, [e]);
|
|
2347
|
-
const
|
|
2348
|
-
(
|
|
2349
|
-
|
|
2415
|
+
const p = E(
|
|
2416
|
+
(l) => {
|
|
2417
|
+
l.key && l.key !== e || u(a());
|
|
2350
2418
|
},
|
|
2351
|
-
[e,
|
|
2419
|
+
[e, a]
|
|
2420
|
+
);
|
|
2421
|
+
return ye("storage", p), ye("local-storage", p), [c, d, m];
|
|
2422
|
+
}
|
|
2423
|
+
function eo(e) {
|
|
2424
|
+
return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ i(
|
|
2425
|
+
"path",
|
|
2426
|
+
{
|
|
2427
|
+
fill: "currentColor",
|
|
2428
|
+
d: "M19 12h-2v3h-3v2h5zM7 9h3V7H5v5h2zm14-6H3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m0 16H3V5h18z"
|
|
2429
|
+
}
|
|
2430
|
+
) });
|
|
2431
|
+
}
|
|
2432
|
+
function to(e) {
|
|
2433
|
+
return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ i(
|
|
2434
|
+
"path",
|
|
2435
|
+
{
|
|
2436
|
+
fill: "none",
|
|
2437
|
+
stroke: "currentColor",
|
|
2438
|
+
strokeLinecap: "round",
|
|
2439
|
+
strokeLinejoin: "round",
|
|
2440
|
+
strokeWidth: "2",
|
|
2441
|
+
d: "M6 15h15m0 4H6m9-8h6m0-4h-6M9 9h1a1 1 0 1 1-1 1V7.5a2 2 0 0 1 2-2M3 9h1a1 1 0 1 1-1 1V7.5a2 2 0 0 1 2-2"
|
|
2442
|
+
}
|
|
2443
|
+
) });
|
|
2444
|
+
}
|
|
2445
|
+
function ro() {
|
|
2446
|
+
return /* @__PURE__ */ i(
|
|
2447
|
+
"svg",
|
|
2448
|
+
{
|
|
2449
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2450
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
2451
|
+
"aria-hidden": "true",
|
|
2452
|
+
role: "img",
|
|
2453
|
+
className: "richtext-w-4 richtext-h-4",
|
|
2454
|
+
width: "1em",
|
|
2455
|
+
height: "1em",
|
|
2456
|
+
viewBox: "0 0 24 24",
|
|
2457
|
+
children: /* @__PURE__ */ i(
|
|
2458
|
+
"path",
|
|
2459
|
+
{
|
|
2460
|
+
fill: "none",
|
|
2461
|
+
stroke: "currentColor",
|
|
2462
|
+
strokeLinecap: "round",
|
|
2463
|
+
strokeLinejoin: "round",
|
|
2464
|
+
strokeWidth: "1.5",
|
|
2465
|
+
d: "M5.5 3c1.404 0 2.107 0 2.611.38c.219.164.406.375.552.62C9 4.568 9 5.358 9 6.938v10.125c0 1.58 0 2.37-.337 2.937a2.1 2.1 0 0 1-.552.621c-.504.38-1.207.38-2.611.38s-2.107 0-2.611-.38a2.1 2.1 0 0 1-.552-.62C2 19.432 2 18.642 2 17.062V6.938c0-1.58 0-2.37.337-2.938a2.1 2.1 0 0 1 .552-.62C3.393 3 4.096 3 5.5 3M20 11.938v5.124c0 1.58 0 2.37-.337 2.938a2.1 2.1 0 0 1-.552.62c-.504.38-1.207.38-2.611.38s-2.107 0-2.611-.38a2.1 2.1 0 0 1-.552-.62C13 19.433 13 18.642 13 17.063V6.938c0-1.58 0-2.37.337-2.938M22 9l-6-6m6 0l-6 6",
|
|
2466
|
+
color: "currentColor"
|
|
2467
|
+
}
|
|
2468
|
+
)
|
|
2469
|
+
}
|
|
2470
|
+
);
|
|
2471
|
+
}
|
|
2472
|
+
function oo() {
|
|
2473
|
+
return /* @__PURE__ */ i(
|
|
2474
|
+
"svg",
|
|
2475
|
+
{
|
|
2476
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2477
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
2478
|
+
"aria-hidden": "true",
|
|
2479
|
+
role: "img",
|
|
2480
|
+
className: "richtext-w-4 richtext-h-4",
|
|
2481
|
+
width: "1em",
|
|
2482
|
+
height: "1em",
|
|
2483
|
+
viewBox: "0 0 24 24",
|
|
2484
|
+
children: /* @__PURE__ */ i(
|
|
2485
|
+
"path",
|
|
2486
|
+
{
|
|
2487
|
+
fill: "none",
|
|
2488
|
+
stroke: "currentColor",
|
|
2489
|
+
strokeLinecap: "round",
|
|
2490
|
+
strokeLinejoin: "round",
|
|
2491
|
+
strokeWidth: "1.5",
|
|
2492
|
+
d: "M21 18.5c0 1.404 0 2.107-.38 2.611a2.1 2.1 0 0 1-.62.552c-.567.337-1.358.337-2.937.337H6.938c-1.58 0-2.37 0-2.938-.337a2.1 2.1 0 0 1-.62-.552C3 20.607 3 19.904 3 18.5s0-2.107.38-2.611c.163-.218.374-.406.62-.552C4.567 15 5.357 15 6.938 15h10.125c1.58 0 2.37 0 2.937.337c.246.146.457.334.62.552c.38.504.38 1.207.38 2.611M12.063 4H6.937C5.358 4 4.568 4 4 4.337a2.1 2.1 0 0 0-.62.552C3 5.393 3 6.096 3 7.5s0 2.107.38 2.611c.163.218.374.406.62.552C4.567 11 5.357 11 6.938 11h10.125c1.58 0 2.37 0 2.937-.337M21 8l-6-6m6 0l-6 6",
|
|
2493
|
+
color: "currentColor"
|
|
2494
|
+
}
|
|
2495
|
+
)
|
|
2496
|
+
}
|
|
2497
|
+
);
|
|
2498
|
+
}
|
|
2499
|
+
function no(e) {
|
|
2500
|
+
return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ i(
|
|
2501
|
+
"path",
|
|
2502
|
+
{
|
|
2503
|
+
fill: "currentColor",
|
|
2504
|
+
d: "M14 2H6a2 2 0 0 0-2 2v16c0 1.11.89 2 2 2h12c1.11 0 2-.89 2-2V8zm4 18H6V4h7v5h5zm-.65-10l-2.1 9h-1.4l-1.8-6.79l-1.8 6.79h-1.4l-2.2-9h1.5l1.4 6.81l1.8-6.81h1.3l1.8 6.81l1.4-6.81z"
|
|
2505
|
+
}
|
|
2506
|
+
) });
|
|
2507
|
+
}
|
|
2508
|
+
function io(e) {
|
|
2509
|
+
return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ i(
|
|
2510
|
+
"path",
|
|
2511
|
+
{
|
|
2512
|
+
fill: "currentColor",
|
|
2513
|
+
d: "M21 22H3v-2h18zm0-18H3V2h18zm-11 9.7h4l-2-5.4zM11.2 6h1.7l4.7 12h-2l-.9-2.6H9.4L8.5 18h-2z"
|
|
2514
|
+
}
|
|
2515
|
+
) });
|
|
2516
|
+
}
|
|
2517
|
+
function so(e) {
|
|
2518
|
+
return /* @__PURE__ */ i(
|
|
2519
|
+
"svg",
|
|
2520
|
+
{
|
|
2521
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2522
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
2523
|
+
"aria-hidden": "true",
|
|
2524
|
+
role: "img",
|
|
2525
|
+
width: "1em",
|
|
2526
|
+
height: "1em",
|
|
2527
|
+
viewBox: "0 0 48 48",
|
|
2528
|
+
...e,
|
|
2529
|
+
children: /* @__PURE__ */ i(
|
|
2530
|
+
"path",
|
|
2531
|
+
{
|
|
2532
|
+
fill: "currentColor",
|
|
2533
|
+
stroke: "currentColor",
|
|
2534
|
+
strokeLinejoin: "round",
|
|
2535
|
+
strokeWidth: 4,
|
|
2536
|
+
d: "M36 19L24 31L12 19z"
|
|
2537
|
+
}
|
|
2538
|
+
)
|
|
2539
|
+
}
|
|
2352
2540
|
);
|
|
2353
|
-
return ue("storage", g), ue("local-storage", g), [s, u, p];
|
|
2354
2541
|
}
|
|
2355
|
-
function
|
|
2542
|
+
function co(e) {
|
|
2543
|
+
return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ i("path", { fill: "currentColor", d: "M9 7v10h6v-2h-4V7z" }) });
|
|
2544
|
+
}
|
|
2545
|
+
function ao(e) {
|
|
2546
|
+
return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ i(
|
|
2547
|
+
"path",
|
|
2548
|
+
{
|
|
2549
|
+
fill: "currentColor",
|
|
2550
|
+
d: "M9 7c-1.1 0-2 .9-2 2v8h2V9h2v7h2V9h2v8h2V9a2 2 0 0 0-2-2z"
|
|
2551
|
+
}
|
|
2552
|
+
) });
|
|
2553
|
+
}
|
|
2554
|
+
function lo(e) {
|
|
2555
|
+
return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ i(
|
|
2556
|
+
"path",
|
|
2557
|
+
{
|
|
2558
|
+
fill: "currentColor",
|
|
2559
|
+
d: "M11 7c-1.1 0-2 .9-2 2v2a2 2 0 0 0 2 2h2v2H9v2h4c1.11 0 2-.89 2-2v-2a2 2 0 0 0-2-2h-2V9h4V7z"
|
|
2560
|
+
}
|
|
2561
|
+
) });
|
|
2562
|
+
}
|
|
2563
|
+
function uo() {
|
|
2564
|
+
return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ i(
|
|
2565
|
+
"path",
|
|
2566
|
+
{
|
|
2567
|
+
fill: "currentColor",
|
|
2568
|
+
d: "M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6l1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6l-1.4-1.4z"
|
|
2569
|
+
}
|
|
2570
|
+
) });
|
|
2571
|
+
}
|
|
2572
|
+
function ho() {
|
|
2573
|
+
return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ i("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M14 4h4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1m-9 8h4m-2-2v4" }) });
|
|
2574
|
+
}
|
|
2575
|
+
function mo() {
|
|
2576
|
+
return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ i("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M6 4h4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1m9 8h4m-2-2v4" }) });
|
|
2577
|
+
}
|
|
2578
|
+
function po() {
|
|
2579
|
+
return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ i("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M12 21v-4m0-4V9m0-4V3m-2 18h4M8 5v4h11l2-2l-2-2zm6 8v4H6l-2-2l2-2z" }) });
|
|
2580
|
+
}
|
|
2581
|
+
function go() {
|
|
2582
|
+
return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ i("path", { fill: "currentColor", d: "M23.943 19.806a.2.2 0 0 0-.168-.034c-1.26-1.855-2.873-3.61-4.419-5.315l-.252-.284c-.001-.073-.067-.12-.134-.15l-.084-.084c-.05-.1-.169-.167-.286-.1c-.47.234-.907.585-1.327.919c-.554.434-1.109.87-1.63 1.354a5 5 0 0 0-.588.618c-.084.117-.017.217.084.267c-.37.368-.74.736-1.109 1.12a.2.2 0 0 0-.05.134c0 .05.033.1.067.117l.655.502v.016c.924.92 2.554 2.173 4.285 3.527c.251.201.52.402.773.602c.117.134.234.285.335.418c.05.066.169.084.236.033c.033.034.084.067.118.1a.24.24 0 0 0 .1.034a.15.15 0 0 0 .135-.066a.24.24 0 0 0 .033-.1c.017 0 .017.016.034.016a.2.2 0 0 0 .134-.05l3.058-3.327c.12-.116.014-.267 0-.267m-7.628-.134l-1.546-1.17l-.15-.1c-.035-.017-.068-.05-.102-.067l-.117-.1c.66-.66 1.33-1.308 2-1.956c-.488.484-1.463 1.906-1.261 2.373c.002 0 .018.042.067.084zm4.1 3.126l-1.277-.97a27 27 0 0 0-1.58-1.504c.69.518 1.277.97 1.361 1.053c.673.585.638.485 1.093.87l.554.4c-.074.103-.151.148-.151.151m.336.25l-.034-.016a1 1 0 0 0 .152-.117zM.588 3.476c.033.217.084.435.117.636c.201 1.103.403 2.106.772 2.858l.152.568c.05.217.134.485.219.552a67 67 0 0 0 3.578 2.942a.18.18 0 0 0 .219 0s0 .016.016.016a.15.15 0 0 0 .118.05a.2.2 0 0 0 .134-.05c1.798-1.989 3.142-3.627 4.1-4.998c.068-.066.084-.167.084-.25c.067-.067.118-.151.185-.201c.067-.067.067-.184 0-.235l-.017-.016c0-.033-.017-.084-.05-.1c-.42-.401-.722-.685-1.042-.986a94 94 0 0 1-2.352-2.273c-.017-.017-.034-.034-.067-.034c-.336-.117-1.025-.234-1.882-.385c-1.277-.216-3.008-.517-4.57-.986c0 0-.101 0-.118.017l-.05.05C.05.714.022.707 0 .718c.017.1.017.167.05.284c0 .033.068.301.068.334zm7.19 4.78l-.033.034a.036.036 0 0 1 .033-.034M6.553 2.238c.101.1.521.502.622.585c-.437-.2-1.529-.702-2.034-.869c.505.1 1.194.201 1.412.284M.79 1.403c.252.434.454 1.939.655 3.41c-.118-.469-.201-.936-.302-1.372C.992 2.673.84 1.988.638 1.386c.124 0 .152.021.152.017m-.286-.369c0-.016 0-.033-.017-.033c.085 0 .135.017.202.05c0 .006-.145-.017-.185-.017m23.17-.217c.017-.066-.336-.367-.219-.384c.253-.017.253-.401 0-.401c-.335.017-.688.1-1.008.15c-.587.117-1.192.234-1.78.367a80 80 0 0 0-3.949.937c-.403.117-.857.2-1.243.401c-.135.067-.118.2-.05.284c-.034.017-.051.017-.085.034c-.117.017-.218.034-.335.05c-.102.017-.152.1-.135.2c0 .017.017.05.017.067c-.706.936-1.496 1.923-2.353 2.976c-.84.969-1.73 1.989-2.62 3.042c-2.84 3.31-6.05 7.07-9.594 10.38a.16.16 0 0 0 0 .234c.016.016.033.033.05.033c-.05.05-.101.085-.152.134q-.05.05-.05.1a.4.4 0 0 0-.067.084c-.067.067-.067.184.017.234c.067.066.185.066.235-.017c.017-.017.017-.033.033-.033a.265.265 0 0 1 .37 0c.202.217.404.435.588.618l-.42-.35c-.067-.067-.184-.05-.234.016c-.068.066-.051.184.016.234l4.469 3.727c.034.034.067.034.118.034a.15.15 0 0 0 .117-.05l.101-.1c.017.016.05.016.067.016c.05 0 .084-.016.118-.05c6.049-6.05 10.922-10.614 16.5-14.693c.05-.033.067-.1.067-.15c.067 0 .118-.05.15-.117c1.026-3.125 1.228-5.9 1.295-7.27c0-.059.016-.038.016-.068c.017-.033.017-.05.017-.05a.98.98 0 0 0-.067-.619m-10.82 4.915c.268-.301.537-.619.806-.903c-1.73 2.273-4.603 5.767-8.67 9.929c2.773-3.059 5.562-6.218 7.864-9.026M5.14 23.466c-.016-.017-.016-.017 0-.017zm2.504-2.156c.135-.15.27-.284.42-.434c0 0 0 .016.017.016c-.224.198-.433.418-.437.418m.69-.668c.099-.1.14-.173.284-.318c.992-1.02 2.017-2.04 3.059-3.076l.016-.016c.252-.2.555-.418.824-.619a228 228 0 0 0-4.184 4.029M14.852 3.91c-.554.719-1.176 1.671-1.697 2.423c-1.646 2.374-6.94 8.174-7.057 8.274a1190 1190 0 0 1-4.839 4.597l-.1.1c-.085-.1-.085-.25.016-.334C8.652 11.966 13.19 6.133 15.021 3.576c-.05.116-.084.216-.168.334zm2.906 3.427c-.671-.386-.99-.987-.806-1.572l.05-.2a.8.8 0 0 1 .085-.167a1.9 1.9 0 0 1 .756-.703c.016 0 .033 0 .05-.016c-.017-.034-.017-.084-.017-.134c.017-.1.085-.167.202-.167c.202 0 .824.184 1.059.384c.067.05.134.117.202.184c.084.1.218.268.285.401c.034.017.067.184.118.268c.033.134.067.284.05.418c-.017.016 0 .116-.017.116a1.6 1.6 0 0 1-.218.619c-.03.03.006.012-.05.067a1.2 1.2 0 0 1-.32.334a1.49 1.49 0 0 1-1.26.234a2 2 0 0 0-.169-.066m4.37 1.403c0 .017-.017.05 0 .067c-.034 0-.05.017-.085.034a110 110 0 0 0-3.915 3.025c1.11-.986 2.218-1.989 3.378-2.975c.336-.301.571-.686.638-1.12l.168-1.003v-.033c.085-.201.404-.118.353.1c-.004-.001-.173.795-.537 1.905" }) });
|
|
2583
|
+
}
|
|
2584
|
+
function fo() {
|
|
2585
|
+
return /* @__PURE__ */ z("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 32 32", children: [
|
|
2586
|
+
/* @__PURE__ */ i("path", { fill: "currentColor", d: "M30 18v-2h-6v10h2v-4h3v-2h-3v-2zm-11 8h-4V16h4a3.003 3.003 0 0 1 3 3v4a3.003 3.003 0 0 1-3 3m-2-2h2a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2zm-6-8H6v10h2v-3h3a2.003 2.003 0 0 0 2-2v-3a2 2 0 0 0-2-2m-3 5v-3h3l.001 3z" }),
|
|
2587
|
+
/* @__PURE__ */ i("path", { fill: "currentColor", d: "M22 14v-4a.91.91 0 0 0-.3-.7l-7-7A.9.9 0 0 0 14 2H4a2.006 2.006 0 0 0-2 2v24a2 2 0 0 0 2 2h16v-2H4V4h8v6a2.006 2.006 0 0 0 2 2h6v2Zm-8-4V4.4l5.6 5.6Z" })
|
|
2588
|
+
] });
|
|
2589
|
+
}
|
|
2590
|
+
function xo() {
|
|
2591
|
+
return /* @__PURE__ */ z(
|
|
2592
|
+
"svg",
|
|
2593
|
+
{
|
|
2594
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2595
|
+
width: "1em",
|
|
2596
|
+
height: "1em",
|
|
2597
|
+
className: "icon",
|
|
2598
|
+
viewBox: "0 0 1024 1024",
|
|
2599
|
+
children: [
|
|
2600
|
+
/* @__PURE__ */ i(
|
|
2601
|
+
"path",
|
|
2602
|
+
{
|
|
2603
|
+
fill: "currentColor",
|
|
2604
|
+
d: "M679.253 402.364 618.77 561.015l-60.348-158.651a30.04 30.04 0 0 0-30.447-18.637 29.76 29.76 0 0 0-30.447 18.637l-60.416 158.651-60.416-158.651a30.515 30.515 0 0 0-38.843-17.272 28.945 28.945 0 0 0-17.954 37.547l88.815 233.267c4.369 11.469 15.7 19.115 28.398 19.115a30.31 30.31 0 0 0 28.468-19.115l62.395-163.908 62.396 163.84c4.437 11.605 15.701 19.183 28.4 19.183a30.31 30.31 0 0 0 28.466-19.115l88.747-233.267a28.945 28.945 0 0 0-17.886-37.547 30.447 30.447 0 0 0-38.912 17.272zm219.478 395.605-51.883-29.218c-28.672-16.18-52.224-3.072-52.224 29.082v.273H643.209a29.833 29.833 0 0 0-30.31 29.354c0 16.18 13.584 29.218 30.31 29.218h151.825c1.092 30.516 24.03 43.077 52.224 27.648l51.063-27.989c29.013-15.906 29.15-42.189.41-58.368"
|
|
2605
|
+
}
|
|
2606
|
+
),
|
|
2607
|
+
/* @__PURE__ */ i(
|
|
2608
|
+
"path",
|
|
2609
|
+
{
|
|
2610
|
+
fill: "currentColor",
|
|
2611
|
+
d: "m810.667 913.135-.478.068H201.796c-19.865 0-36.727-11.673-36.727-25.6v-618.36h154.965c51.268 0 92.911-39.39 92.911-87.858v-87.86H810.19c19.797 0 36.522 11.742 36.522 25.669V739.26h61.987V119.262c0-46.421-44.169-84.241-98.51-84.241H328.364l-225.28 194.56v658.09c0 46.285 44.236 84.105 98.713 84.105H810.19c43.759 0 80.554-24.713 93.32-58.573h-92.842zM350.89 94.89v86.562c0 16.11-13.858 29.286-30.925 29.286H216.815L350.959 94.891z"
|
|
2612
|
+
}
|
|
2613
|
+
)
|
|
2614
|
+
]
|
|
2615
|
+
}
|
|
2616
|
+
);
|
|
2617
|
+
}
|
|
2618
|
+
function bo() {
|
|
2619
|
+
return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ z("g", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", color: "currentColor", children: [
|
|
2620
|
+
/* @__PURE__ */ i("path", { d: "M14.86 22h-4.312c-3.291 0-4.937 0-6.08-.798a4.2 4.2 0 0 1-.863-.805c-.855-1.066-.855-2.6-.855-5.67v-2.545c0-2.963 0-4.445.473-5.628c.761-1.903 2.37-3.403 4.41-4.113C8.9 2 10.49 2 13.667 2c1.816 0 2.723 0 3.448.252c1.166.406 2.085 1.263 2.52 2.35c.27.676.27 1.523.27 3.216V10" }),
|
|
2621
|
+
/* @__PURE__ */ i("path", { d: "M2.75 12c0-1.84 1.506-3.333 3.364-3.333c.672 0 1.464.116 2.117-.057a1.67 1.67 0 0 0 1.19-1.179c.174-.647.057-1.432.057-2.098C9.478 3.493 10.984 2 12.84 2m.002 16h2.523m-4.949-4.15c-.126-.8-.281-.801-1.61-.85h-1.01c-.557 0-1.009.448-1.009 1v3c0 .552.452 1 1.01 1h1.816c.39 0 .803-.313.803-.7v-1.1c0-.11-.113-.304-.224-.304H9.068M12.842 13h1.261m0 0h1.262m-1.262 0v4.875M21.251 13h-2.523c-.557 0-1.009.448-1.009 1v1.5m0 0V18m0-2.5h2.523" })
|
|
2622
|
+
] }) });
|
|
2623
|
+
}
|
|
2624
|
+
function wo() {
|
|
2625
|
+
return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 20 20", children: /* @__PURE__ */ i("path", { fill: "currentColor", d: "M6.5 3a.75.75 0 0 1 .697.471l3 7.5a.75.75 0 0 1-1.393.557L7.992 9.5H5.008l-.811 2.028a.75.75 0 0 1-1.393-.556l3-7.5A.75.75 0 0 1 6.5 3m0 2.77L5.608 8h1.784zm8.28-1.55a.75.75 0 1 0-1.06 1.06l.72.72h-3.69a.75.75 0 0 0 0 1.5h3.69l-.72.72a.75.75 0 0 0 1.06 1.06l2-2a.75.75 0 0 0 0-1.06zm0 7.5a.75.75 0 1 0-1.06 1.06l.72.72H3.75a.75.75 0 0 0 0 1.5h10.69l-.72.72a.75.75 0 1 0 1.06 1.06l2-2a.75.75 0 0 0 0-1.06z" }) });
|
|
2626
|
+
}
|
|
2627
|
+
function vo() {
|
|
2628
|
+
return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 48 48", children: /* @__PURE__ */ z("g", { fill: "none", stroke: "currentColor", strokeWidth: "4", children: [
|
|
2629
|
+
/* @__PURE__ */ i("circle", { cx: "10", cy: "24", r: "4" }),
|
|
2630
|
+
/* @__PURE__ */ i("circle", { cx: "38", cy: "10", r: "4" }),
|
|
2631
|
+
/* @__PURE__ */ i("circle", { cx: "38", cy: "24", r: "4" }),
|
|
2632
|
+
/* @__PURE__ */ i("circle", { cx: "38", cy: "38", r: "4" }),
|
|
2633
|
+
/* @__PURE__ */ i("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M34 38H22V10h12M14 24h20" })
|
|
2634
|
+
] }) });
|
|
2635
|
+
}
|
|
2636
|
+
function yo() {
|
|
2637
|
+
return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 20 20", children: /* @__PURE__ */ i("path", { fill: "currentColor", d: "M13.5 3a.75.75 0 0 0-.697.471l-3 7.5a.75.75 0 0 0 1.393.557l.812-2.028h2.984l.811 2.028a.75.75 0 0 0 1.393-.556l-3-7.5A.75.75 0 0 0 13.5 3m0 2.77L14.392 8h-1.784zM5.22 4.22a.75.75 0 0 1 1.06 1.06L5.56 6h3.69a.75.75 0 0 1 0 1.5H5.56l.72.72a.75.75 0 0 1-1.06 1.06l-2-2a.75.75 0 0 1 0-1.06zm0 7.5a.75.75 0 0 1 1.06 1.06l-.72.72h10.69a.75.75 0 0 1 0 1.5H5.56l.72.72a.75.75 0 1 1-1.06 1.06l-2-2a.75.75 0 0 1 0-1.06z" }) });
|
|
2638
|
+
}
|
|
2639
|
+
function Co() {
|
|
2640
|
+
return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ i("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", d: "m3 21l7.548-7.548M21 3l-7.548 7.548m0 0L8 3H3l7.548 10.452m2.904-2.904L21 21h-5l-5.452-7.548", color: "currentColor" }) });
|
|
2641
|
+
}
|
|
2642
|
+
function So() {
|
|
2643
|
+
return /* @__PURE__ */ i(
|
|
2644
|
+
"svg",
|
|
2645
|
+
{
|
|
2646
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2647
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
2648
|
+
"aria-hidden": "true",
|
|
2649
|
+
role: "img",
|
|
2650
|
+
width: "1em",
|
|
2651
|
+
height: "1em",
|
|
2652
|
+
viewBox: "0 0 24 24",
|
|
2653
|
+
children: /* @__PURE__ */ i(
|
|
2654
|
+
"path",
|
|
2655
|
+
{
|
|
2656
|
+
fill: "currentColor",
|
|
2657
|
+
d: "M14 2H6a2 2 0 0 0-2 2v16c0 1.11.89 2 2 2h12c1.11 0 2-.89 2-2V8zm4 18H6V4h7v5h5zm-.65-10l-2.1 9h-1.4l-1.8-6.79l-1.8 6.79h-1.4l-2.2-9h1.5l1.4 6.81l1.8-6.81h1.3l1.8 6.81l1.4-6.81z"
|
|
2658
|
+
}
|
|
2659
|
+
)
|
|
2660
|
+
}
|
|
2661
|
+
);
|
|
2662
|
+
}
|
|
2663
|
+
function zo() {
|
|
2664
|
+
return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ z("g", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", children: [
|
|
2665
|
+
/* @__PURE__ */ i("path", { d: "M18 11c0-.818 0-1.57-.152-1.937s-.441-.657-1.02-1.235l-4.736-4.736c-.499-.499-.748-.748-1.058-.896a2 2 0 0 0-.197-.082C10.514 2 10.161 2 9.456 2c-3.245 0-4.868 0-5.967.886a4 4 0 0 0-.603.603C2 4.59 2 6.211 2 9.456V14c0 3.771 0 5.657 1.172 6.828S6.229 22 10 22h8M11 2.5V3c0 2.828 0 4.243.879 5.121C12.757 9 14.172 9 17 9h.5" }),
|
|
2666
|
+
/* @__PURE__ */ i("path", { d: "M5 14v2.5M5 19v-2.5M8 14v2.5M8 19v-2.5m-3 0h3m2-2.5h1.25m1.25 0h-1.25m0 0v5m3.25 0v-5l1.75 2.5L18 14v5m2-5v5h2" })
|
|
2667
|
+
] }) });
|
|
2668
|
+
}
|
|
2669
|
+
const ko = {
|
|
2670
|
+
Bold: br,
|
|
2671
|
+
LoaderCircle: xr,
|
|
2672
|
+
Italic: fr,
|
|
2673
|
+
Underline: gr,
|
|
2674
|
+
Quote: pr,
|
|
2675
|
+
TextQuote: to,
|
|
2676
|
+
Strikethrough: mr,
|
|
2677
|
+
Minus: hr,
|
|
2678
|
+
Eraser: ur,
|
|
2679
|
+
PaintRoller: dr,
|
|
2680
|
+
Redo2: lr,
|
|
2681
|
+
Undo2: ar,
|
|
2682
|
+
AlignCenter: tt,
|
|
2683
|
+
AlignJustify: et,
|
|
2684
|
+
AlignLeft: Ze,
|
|
2685
|
+
AlignRight: Ye,
|
|
2686
|
+
ChevronDown: ie,
|
|
2687
|
+
Subscript: cr,
|
|
2688
|
+
Superscript: sr,
|
|
2689
|
+
Code: ir,
|
|
2690
|
+
Code2: nr,
|
|
2691
|
+
Type: or,
|
|
2692
|
+
IndentIncrease: rr,
|
|
2693
|
+
IndentDecrease: tr,
|
|
2694
|
+
List: er,
|
|
2695
|
+
ListOrdered: Zt,
|
|
2696
|
+
ListTodo: Yt,
|
|
2697
|
+
Link: Qt,
|
|
2698
|
+
ImageUp: Kt,
|
|
2699
|
+
Video: Jt,
|
|
2700
|
+
Maximize: qt,
|
|
2701
|
+
Minimize: Xt,
|
|
2702
|
+
Table: Dt,
|
|
2703
|
+
Sparkles: Ft,
|
|
2704
|
+
Pencil: Ut,
|
|
2705
|
+
Unlink: _t,
|
|
2706
|
+
BetweenHorizonalEnd: $t,
|
|
2707
|
+
BetweenHorizonalStart: Ot,
|
|
2708
|
+
BetweenVerticalStart: Wt,
|
|
2709
|
+
BetweenVerticalEnd: Gt,
|
|
2710
|
+
TableCellsMerge: Bt,
|
|
2711
|
+
TableCellsSplit: jt,
|
|
2712
|
+
Trash2: Pt,
|
|
2713
|
+
Trash: Ht,
|
|
2714
|
+
Replace: xe,
|
|
2715
|
+
ChevronsUpDown: It,
|
|
2716
|
+
LineHeight: io,
|
|
2717
|
+
Word: no,
|
|
2718
|
+
Heading1: Vt,
|
|
2719
|
+
Heading2: Tt,
|
|
2720
|
+
Heading3: Rt,
|
|
2721
|
+
Heading4: At,
|
|
2722
|
+
Heading5: Nt,
|
|
2723
|
+
Heading6: Et,
|
|
2724
|
+
Columns2: be,
|
|
2725
|
+
Columns3: Lt,
|
|
2726
|
+
Columns4: Mt,
|
|
2727
|
+
Plus: kt,
|
|
2728
|
+
Grip: zt,
|
|
2729
|
+
Copy: St,
|
|
2730
|
+
Clipboard: Ct,
|
|
2731
|
+
PanelLeft: yt,
|
|
2732
|
+
PanelRight: vt,
|
|
2733
|
+
Columns: be,
|
|
2734
|
+
Iframe: wt,
|
|
2735
|
+
MenuDown: so,
|
|
2736
|
+
SizeS: lo,
|
|
2737
|
+
SizeM: ao,
|
|
2738
|
+
SizeL: co,
|
|
2739
|
+
AspectRatio: eo,
|
|
2740
|
+
Emoji: bt,
|
|
2741
|
+
DeleteColumn: ro,
|
|
2742
|
+
DeleteRow: oo,
|
|
2743
|
+
SearchAndReplace: xe,
|
|
2744
|
+
EmojiIcon: xt,
|
|
2745
|
+
KatexIcon: ft,
|
|
2746
|
+
ExportPdf: fo,
|
|
2747
|
+
ExportWord: xo,
|
|
2748
|
+
ImportWord: So,
|
|
2749
|
+
ColumnAddLeft: ho,
|
|
2750
|
+
ColumnAddRight: mo,
|
|
2751
|
+
BookMarked: gt,
|
|
2752
|
+
Excalidraw: go,
|
|
2753
|
+
ZoomIn: pt,
|
|
2754
|
+
ZoomOut: mt,
|
|
2755
|
+
Settings: ht,
|
|
2756
|
+
Eye: ut,
|
|
2757
|
+
TextDirection: po,
|
|
2758
|
+
LeftToRight: wo,
|
|
2759
|
+
RightToLeft: yo,
|
|
2760
|
+
Attachment: dt,
|
|
2761
|
+
GifIcon: bo,
|
|
2762
|
+
ChevronUp: Me,
|
|
2763
|
+
Crop: lt,
|
|
2764
|
+
Mermaid: vo,
|
|
2765
|
+
Twitter: Co,
|
|
2766
|
+
CodeView: uo,
|
|
2767
|
+
FlipX: at,
|
|
2768
|
+
FlipY: ct,
|
|
2769
|
+
PencilRuler: st,
|
|
2770
|
+
WrapText: it,
|
|
2771
|
+
Loader: nt,
|
|
2772
|
+
X: ot,
|
|
2773
|
+
Html: zo,
|
|
2774
|
+
ExternalLink: rt
|
|
2775
|
+
}, Ce = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Se = Ee, Mo = (e, r) => (t) => {
|
|
2776
|
+
var o;
|
|
2777
|
+
if ((r == null ? void 0 : r.variants) == null) return Se(e, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
|
|
2778
|
+
const { variants: s, defaultVariants: n } = r, a = Object.keys(s).map((d) => {
|
|
2779
|
+
const m = t == null ? void 0 : t[d], p = n == null ? void 0 : n[d];
|
|
2780
|
+
if (m === null) return null;
|
|
2781
|
+
const l = Ce(m) || Ce(p);
|
|
2782
|
+
return s[d][l];
|
|
2783
|
+
}), c = t && Object.entries(t).reduce((d, m) => {
|
|
2784
|
+
let [p, l] = m;
|
|
2785
|
+
return l === void 0 || (d[p] = l), d;
|
|
2786
|
+
}, {}), u = r == null || (o = r.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((d, m) => {
|
|
2787
|
+
let { class: p, className: l, ...f } = m;
|
|
2788
|
+
return Object.entries(f).every((C) => {
|
|
2789
|
+
let [b, g] = C;
|
|
2790
|
+
return Array.isArray(g) ? g.includes({
|
|
2791
|
+
...n,
|
|
2792
|
+
...c
|
|
2793
|
+
}[b]) : {
|
|
2794
|
+
...n,
|
|
2795
|
+
...c
|
|
2796
|
+
}[b] === g;
|
|
2797
|
+
}) ? [
|
|
2798
|
+
...d,
|
|
2799
|
+
p,
|
|
2800
|
+
l
|
|
2801
|
+
] : d;
|
|
2802
|
+
}, []);
|
|
2803
|
+
return Se(e, a, u, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
|
|
2804
|
+
}, Lo = Mo(
|
|
2805
|
+
"richtext-inline-flex richtext-items-center richtext-justify-center richtext-rounded-md richtext-text-sm richtext-font-medium richtext-ring-offset-background richtext-transition-colors hover:richtext-bg-muted hover:richtext-text-muted-foreground focus-visible:richtext-outline-none focus-visible:richtext-ring-2 focus-visible:richtext-ring-ring focus-visible:richtext-ring-offset-1 disabled:richtext-pointer-events-none disabled:richtext-opacity-50 data-[state=on]:richtext-bg-accent data-[state=on]:richtext-text-accent-foreground",
|
|
2806
|
+
{
|
|
2807
|
+
variants: {
|
|
2808
|
+
variant: {
|
|
2809
|
+
default: "richtext-bg-transparent",
|
|
2810
|
+
outline: "richtext-border richtext-border-input richtext-bg-transparent hover:richtext-bg-accent hover:richtext-text-accent-foreground"
|
|
2811
|
+
},
|
|
2812
|
+
size: {
|
|
2813
|
+
default: "richtext-h-10 richtext-px-3",
|
|
2814
|
+
sm: "richtext-h-9 richtext-px-2",
|
|
2815
|
+
lg: "richtext-h-11 richtext-px-5"
|
|
2816
|
+
}
|
|
2817
|
+
},
|
|
2818
|
+
defaultVariants: {
|
|
2819
|
+
variant: "default",
|
|
2820
|
+
size: "default"
|
|
2821
|
+
}
|
|
2822
|
+
}
|
|
2823
|
+
), Ie = N.forwardRef(({ className: e, variant: r, size: t, ...o }, s) => /* @__PURE__ */ i(
|
|
2824
|
+
Le.Root,
|
|
2825
|
+
{
|
|
2826
|
+
ref: s,
|
|
2827
|
+
className: k(Lo({ variant: r, size: t, className: e })),
|
|
2828
|
+
...o
|
|
2829
|
+
}
|
|
2830
|
+
));
|
|
2831
|
+
Ie.displayName = Le.Root.displayName;
|
|
2832
|
+
const tn = $.Provider, Eo = $.Root, No = $.Trigger, He = N.forwardRef(({ className: e, sideOffset: r = 4, ...t }, o) => /* @__PURE__ */ i(
|
|
2833
|
+
$.Content,
|
|
2834
|
+
{
|
|
2835
|
+
"data-richtext-portal": !0,
|
|
2836
|
+
ref: o,
|
|
2837
|
+
sideOffset: r,
|
|
2838
|
+
className: k(
|
|
2839
|
+
"richtext-z-50 richtext-overflow-hidden richtext-rounded-md richtext-bg-primary richtext-px-3 richtext-py-1.5 richtext-text-sm richtext-text-primary-foreground richtext-shadow-md richtext-animate-in richtext-fade-in-0 richtext-zoom-in-95 data-[side=bottom]:richtext-slide-in-from-top-2 data-[side=left]:richtext-slide-in-from-right-2 data-[side=right]:richtext-slide-in-from-left-2 data-[side=top]:richtext-slide-in-from-bottom-2 !richtext-border-none",
|
|
2840
|
+
e
|
|
2841
|
+
),
|
|
2842
|
+
...t
|
|
2843
|
+
}
|
|
2844
|
+
));
|
|
2845
|
+
He.displayName = $.Content.displayName;
|
|
2846
|
+
const rn = v.Root, on = v.Value, Ao = N.forwardRef(({ className: e, children: r, ...t }, o) => /* @__PURE__ */ z(
|
|
2847
|
+
v.Trigger,
|
|
2848
|
+
{
|
|
2849
|
+
ref: o,
|
|
2850
|
+
className: k(
|
|
2851
|
+
"richtext-flex richtext-h-10 richtext-w-full richtext-items-center richtext-justify-between richtext-rounded-md richtext-border richtext-border-input richtext-bg-background richtext-px-3 richtext-py-2 richtext-text-sm richtext-ring-offset-background placeholder:richtext-text-muted-foreground focus:richtext-outline-none focus:richtext-ring-2 focus:richtext-ring-ring focus:richtext-ring-offset-1 disabled:richtext-cursor-not-allowed disabled:richtext-opacity-50 [&>span]:richtext-line-clamp-1",
|
|
2852
|
+
e
|
|
2853
|
+
),
|
|
2854
|
+
...t,
|
|
2855
|
+
children: [
|
|
2856
|
+
r,
|
|
2857
|
+
/* @__PURE__ */ i(v.Icon, { asChild: !0, children: /* @__PURE__ */ i(ie, { className: "richtext-size-4 richtext-opacity-50" }) })
|
|
2858
|
+
]
|
|
2859
|
+
}
|
|
2860
|
+
));
|
|
2861
|
+
Ao.displayName = v.Trigger.displayName;
|
|
2862
|
+
const Pe = N.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i(
|
|
2863
|
+
v.ScrollUpButton,
|
|
2864
|
+
{
|
|
2865
|
+
ref: t,
|
|
2866
|
+
className: k(
|
|
2867
|
+
"richtext-flex richtext-cursor-default richtext-items-center richtext-justify-center richtext-py-1",
|
|
2868
|
+
e
|
|
2869
|
+
),
|
|
2870
|
+
...r,
|
|
2871
|
+
children: /* @__PURE__ */ i(Me, { className: "richtext-size-4" })
|
|
2872
|
+
}
|
|
2873
|
+
));
|
|
2874
|
+
Pe.displayName = v.ScrollUpButton.displayName;
|
|
2875
|
+
const je = N.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i(
|
|
2876
|
+
v.ScrollDownButton,
|
|
2877
|
+
{
|
|
2878
|
+
ref: t,
|
|
2879
|
+
className: k(
|
|
2880
|
+
"richtext-flex richtext-cursor-default richtext-items-center richtext-justify-center richtext-py-1",
|
|
2881
|
+
e
|
|
2882
|
+
),
|
|
2883
|
+
...r,
|
|
2884
|
+
children: /* @__PURE__ */ i(ie, { className: "richtext-size-4" })
|
|
2885
|
+
}
|
|
2886
|
+
));
|
|
2887
|
+
je.displayName = v.ScrollDownButton.displayName;
|
|
2888
|
+
const Ro = N.forwardRef(({ className: e, children: r, position: t = "popper", ...o }, s) => /* @__PURE__ */ i(v.Portal, { children: /* @__PURE__ */ z(
|
|
2889
|
+
v.Content,
|
|
2890
|
+
{
|
|
2891
|
+
"data-richtext-portal": !0,
|
|
2892
|
+
position: t,
|
|
2893
|
+
ref: s,
|
|
2894
|
+
className: k(
|
|
2895
|
+
"richtext-relative richtext-z-50 richtext-max-h-60 richtext-overflow-y-auto richtext-min-w-[8rem] richtext-overflow-hidden richtext-rounded-md richtext-border !richtext-border-border richtext-bg-popover richtext-text-popover-foreground richtext-shadow-md data-[state=open]:richtext-animate-in data-[state=closed]:richtext-animate-out data-[state=closed]:richtext-fade-out-0 data-[state=open]:richtext-fade-in-0 data-[state=closed]:richtext-zoom-out-95 data-[state=open]:richtext-zoom-in-95 data-[side=bottom]:richtext-slide-in-from-top-2 data-[side=left]:richtext-slide-in-from-right-2 data-[side=right]:richtext-slide-in-from-left-2 data-[side=top]:richtext-slide-in-from-bottom-2",
|
|
2896
|
+
t === "popper" && "data-[side=bottom]:richtext-translate-y-1 data-[side=left]:richtext--translate-x-1 data-[side=right]:richtext-translate-x-1 data-[side=top]:richtext--translate-y-1",
|
|
2897
|
+
e
|
|
2898
|
+
),
|
|
2899
|
+
...o,
|
|
2900
|
+
children: [
|
|
2901
|
+
/* @__PURE__ */ i(Pe, {}),
|
|
2902
|
+
/* @__PURE__ */ i(
|
|
2903
|
+
v.Viewport,
|
|
2904
|
+
{
|
|
2905
|
+
className: k(
|
|
2906
|
+
"richtext-p-1",
|
|
2907
|
+
t === "popper" && "richtext-h-[var(--radix-select-trigger-height)] richtext-w-full richtext-min-w-[var(--radix-select-trigger-width)]"
|
|
2908
|
+
),
|
|
2909
|
+
children: r
|
|
2910
|
+
}
|
|
2911
|
+
),
|
|
2912
|
+
/* @__PURE__ */ i(je, {})
|
|
2913
|
+
]
|
|
2914
|
+
}
|
|
2915
|
+
) }));
|
|
2916
|
+
Ro.displayName = v.Content.displayName;
|
|
2917
|
+
const To = N.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i(
|
|
2918
|
+
v.Label,
|
|
2919
|
+
{
|
|
2920
|
+
className: k("richtext-py-1.5 richtext-pl-8 richtext-pr-2 richtext-text-sm richtext-font-semibold", e),
|
|
2921
|
+
ref: t,
|
|
2922
|
+
...r
|
|
2923
|
+
}
|
|
2924
|
+
));
|
|
2925
|
+
To.displayName = v.Label.displayName;
|
|
2926
|
+
const Vo = N.forwardRef(({ className: e, children: r, ...t }, o) => /* @__PURE__ */ z(
|
|
2927
|
+
v.Item,
|
|
2928
|
+
{
|
|
2929
|
+
ref: o,
|
|
2930
|
+
className: k(
|
|
2931
|
+
"richtext-relative richtext-flex richtext-w-full richtext-cursor-default richtext-select-none richtext-items-center richtext-rounded-sm richtext-py-1.5 richtext-pl-8 richtext-pr-2 richtext-text-sm richtext-outline-none focus:richtext-bg-accent focus:richtext-text-accent-foreground data-[disabled]:richtext-pointer-events-none data-[disabled]:richtext-opacity-50",
|
|
2932
|
+
e
|
|
2933
|
+
),
|
|
2934
|
+
...t,
|
|
2935
|
+
children: [
|
|
2936
|
+
/* @__PURE__ */ i("span", { className: "richtext-absolute richtext-left-2 richtext-flex richtext-size-3.5 richtext-items-center richtext-justify-center", children: /* @__PURE__ */ i(v.ItemIndicator, { children: /* @__PURE__ */ i(wr, { className: "richtext-size-4" }) }) }),
|
|
2937
|
+
/* @__PURE__ */ i(v.ItemText, { children: r })
|
|
2938
|
+
]
|
|
2939
|
+
}
|
|
2940
|
+
));
|
|
2941
|
+
Vo.displayName = v.Item.displayName;
|
|
2942
|
+
const Io = N.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i(
|
|
2943
|
+
v.Separator,
|
|
2944
|
+
{
|
|
2945
|
+
className: k("richtext--mx-1 richtext-my-1 richtext-h-px richtext-bg-muted", e),
|
|
2946
|
+
ref: t,
|
|
2947
|
+
...r
|
|
2948
|
+
}
|
|
2949
|
+
));
|
|
2950
|
+
Io.displayName = v.Separator.displayName;
|
|
2951
|
+
function ce(e) {
|
|
2356
2952
|
function r() {
|
|
2357
|
-
const n =
|
|
2358
|
-
n.current = { ...n.current, ...
|
|
2359
|
-
}, []),
|
|
2953
|
+
const n = te(e), a = E(() => n.current, []), c = te(/* @__PURE__ */ new Set()), u = E((m) => {
|
|
2954
|
+
n.current = { ...n.current, ...m }, c.current.forEach((p) => p());
|
|
2955
|
+
}, []), d = E((m) => (c.current.add(m), () => c.current.delete(m)), []);
|
|
2360
2956
|
return {
|
|
2361
|
-
get:
|
|
2362
|
-
set:
|
|
2363
|
-
subscribe:
|
|
2957
|
+
get: a,
|
|
2958
|
+
set: u,
|
|
2959
|
+
subscribe: d
|
|
2364
2960
|
};
|
|
2365
2961
|
}
|
|
2366
|
-
const t =
|
|
2962
|
+
const t = Fe(null);
|
|
2367
2963
|
function o({ children: n }) {
|
|
2368
|
-
return /* @__PURE__ */
|
|
2964
|
+
return /* @__PURE__ */ i(t.Provider, { value: r(), children: n });
|
|
2369
2965
|
}
|
|
2370
|
-
function
|
|
2371
|
-
const
|
|
2372
|
-
if (!
|
|
2966
|
+
function s(n) {
|
|
2967
|
+
const a = De(t);
|
|
2968
|
+
if (!a)
|
|
2373
2969
|
throw new Error("Store not found");
|
|
2374
|
-
return [
|
|
2375
|
-
|
|
2376
|
-
() => n(
|
|
2970
|
+
return [Xe(
|
|
2971
|
+
a.subscribe,
|
|
2972
|
+
() => n(a.get()),
|
|
2377
2973
|
() => n(e)
|
|
2378
|
-
),
|
|
2974
|
+
), a.set];
|
|
2379
2975
|
}
|
|
2380
2976
|
return {
|
|
2381
2977
|
Provider: o,
|
|
2382
|
-
useStore:
|
|
2978
|
+
useStore: s
|
|
2383
2979
|
};
|
|
2384
2980
|
}
|
|
2385
|
-
|
|
2981
|
+
ce({
|
|
2386
2982
|
value: !1
|
|
2387
2983
|
});
|
|
2388
|
-
|
|
2984
|
+
ce({
|
|
2389
2985
|
value: !1
|
|
2390
2986
|
});
|
|
2391
|
-
const { Provider:
|
|
2987
|
+
const { Provider: Ho, useStore: Be } = ce({
|
|
2392
2988
|
value: !1
|
|
2393
2989
|
});
|
|
2394
|
-
function
|
|
2395
|
-
const [e] =
|
|
2990
|
+
function nn() {
|
|
2991
|
+
const [e] = Be((r) => r.value);
|
|
2396
2992
|
return e;
|
|
2397
2993
|
}
|
|
2398
|
-
const
|
|
2399
|
-
function
|
|
2994
|
+
const ze = "data-rc-order", ke = "data-rc-priority", Po = "rc-util-key", oe = /* @__PURE__ */ new Map();
|
|
2995
|
+
function jo(e, r) {
|
|
2400
2996
|
if (!e)
|
|
2401
2997
|
return !1;
|
|
2402
2998
|
if (e.contains)
|
|
@@ -2409,68 +3005,68 @@ function gr(e, r) {
|
|
|
2409
3005
|
}
|
|
2410
3006
|
return !1;
|
|
2411
3007
|
}
|
|
2412
|
-
function
|
|
2413
|
-
return e ? e.startsWith("data-") ? e : `data-${e}` :
|
|
3008
|
+
function Ge({ mark: e } = {}) {
|
|
3009
|
+
return e ? e.startsWith("data-") ? e : `data-${e}` : Po;
|
|
2414
3010
|
}
|
|
2415
|
-
function
|
|
3011
|
+
function ae(e) {
|
|
2416
3012
|
return e.attachTo ? e.attachTo : document.querySelector("head") || document.body;
|
|
2417
3013
|
}
|
|
2418
|
-
function
|
|
3014
|
+
function Bo(e) {
|
|
2419
3015
|
return e === "queue" ? "prependQueue" : e ? "prepend" : "append";
|
|
2420
3016
|
}
|
|
2421
|
-
function
|
|
2422
|
-
return [...(
|
|
3017
|
+
function We(e) {
|
|
3018
|
+
return [...(oe.get(e) || e).children].filter(
|
|
2423
3019
|
(r) => r.tagName === "STYLE"
|
|
2424
3020
|
);
|
|
2425
3021
|
}
|
|
2426
|
-
function
|
|
2427
|
-
const { csp: t, prepend: o, priority:
|
|
2428
|
-
|
|
2429
|
-
const
|
|
3022
|
+
function Oe(e, r = {}) {
|
|
3023
|
+
const { csp: t, prepend: o, priority: s = 0 } = r, n = Bo(o), a = n === "prependQueue", c = document.createElement("style");
|
|
3024
|
+
c.setAttribute(ze, n), a && s && c.setAttribute(ke, `${s}`), t != null && t.nonce && (c.nonce = t == null ? void 0 : t.nonce), c.innerHTML = e;
|
|
3025
|
+
const u = ae(r), { firstChild: d } = u;
|
|
2430
3026
|
if (o) {
|
|
2431
|
-
if (
|
|
2432
|
-
const
|
|
2433
|
-
if (!["prepend", "prependQueue"].includes(
|
|
3027
|
+
if (a) {
|
|
3028
|
+
const m = We(u).filter((p) => {
|
|
3029
|
+
if (!["prepend", "prependQueue"].includes(p.getAttribute(ze)))
|
|
2434
3030
|
return !1;
|
|
2435
|
-
const
|
|
2436
|
-
return
|
|
3031
|
+
const l = Number(p.getAttribute(ke) || 0);
|
|
3032
|
+
return s >= l;
|
|
2437
3033
|
});
|
|
2438
|
-
if (
|
|
2439
|
-
return
|
|
3034
|
+
if (m.length > 0)
|
|
3035
|
+
return u.insertBefore(c, m.at(-1).nextSibling), c;
|
|
2440
3036
|
}
|
|
2441
|
-
|
|
3037
|
+
d.before(c);
|
|
2442
3038
|
} else
|
|
2443
|
-
|
|
2444
|
-
return
|
|
3039
|
+
u.append(c);
|
|
3040
|
+
return c;
|
|
2445
3041
|
}
|
|
2446
|
-
function
|
|
2447
|
-
const t =
|
|
2448
|
-
return
|
|
3042
|
+
function $e(e, r = {}) {
|
|
3043
|
+
const t = ae(r);
|
|
3044
|
+
return We(t).find((o) => o.getAttribute(Ge(r)) === e);
|
|
2449
3045
|
}
|
|
2450
|
-
function
|
|
2451
|
-
const t =
|
|
3046
|
+
function Go(e, r = {}) {
|
|
3047
|
+
const t = $e(e, r);
|
|
2452
3048
|
t && t.remove();
|
|
2453
3049
|
}
|
|
2454
|
-
function
|
|
2455
|
-
const t =
|
|
2456
|
-
if (!t || !
|
|
2457
|
-
const o =
|
|
2458
|
-
|
|
3050
|
+
function Wo(e, r) {
|
|
3051
|
+
const t = oe.get(e);
|
|
3052
|
+
if (!t || !jo(document, t)) {
|
|
3053
|
+
const o = Oe("", r), { parentNode: s } = o;
|
|
3054
|
+
oe.set(e, s), o.remove();
|
|
2459
3055
|
}
|
|
2460
3056
|
}
|
|
2461
|
-
function
|
|
2462
|
-
var
|
|
2463
|
-
const o =
|
|
2464
|
-
|
|
2465
|
-
const
|
|
2466
|
-
if (
|
|
2467
|
-
return (
|
|
2468
|
-
const n =
|
|
2469
|
-
return n.setAttribute(
|
|
3057
|
+
function Oo(e, r, t = {}) {
|
|
3058
|
+
var a, c, u;
|
|
3059
|
+
const o = ae(t);
|
|
3060
|
+
Wo(o, t);
|
|
3061
|
+
const s = $e(r, t);
|
|
3062
|
+
if (s)
|
|
3063
|
+
return (a = t.csp) != null && a.nonce && s.nonce !== ((c = t.csp) == null ? void 0 : c.nonce) && (s.nonce = (u = t.csp) == null ? void 0 : u.nonce), s.innerHTML !== e && (s.innerHTML = e), s;
|
|
3064
|
+
const n = Oe(e, t);
|
|
3065
|
+
return n.setAttribute(Ge(t), r), n;
|
|
2470
3066
|
}
|
|
2471
|
-
const
|
|
2472
|
-
const [, t] =
|
|
2473
|
-
|
|
3067
|
+
const $o = qe(({ editor: e, children: r }) => {
|
|
3068
|
+
const [, t] = Be((s) => s.value);
|
|
3069
|
+
T(() => {
|
|
2474
3070
|
t({
|
|
2475
3071
|
value: e == null ? void 0 : e.isEditable
|
|
2476
3072
|
});
|
|
@@ -2480,102 +3076,120 @@ const xr = Le(({ editor: e, children: r }) => {
|
|
|
2480
3076
|
value: e == null ? void 0 : e.isEditable
|
|
2481
3077
|
});
|
|
2482
3078
|
};
|
|
2483
|
-
return
|
|
3079
|
+
return T(() => (e && e.on("update", o), () => {
|
|
2484
3080
|
e && e.off("update", o);
|
|
2485
|
-
}), [e]), /* @__PURE__ */
|
|
3081
|
+
}), [e]), /* @__PURE__ */ i(ne, { children: r });
|
|
2486
3082
|
});
|
|
2487
|
-
function
|
|
2488
|
-
const [, e] =
|
|
2489
|
-
e((
|
|
2490
|
-
...
|
|
3083
|
+
function _o() {
|
|
3084
|
+
const [, e] = Ke(Qe), r = (o) => {
|
|
3085
|
+
e((s) => ({
|
|
3086
|
+
...s,
|
|
2491
3087
|
currentLang: o.detail
|
|
2492
3088
|
}));
|
|
2493
3089
|
}, t = (o) => {
|
|
2494
|
-
const { lang:
|
|
2495
|
-
e((
|
|
2496
|
-
if (
|
|
2497
|
-
const
|
|
2498
|
-
...
|
|
3090
|
+
const { lang: s, messages: n } = o.detail;
|
|
3091
|
+
e((a) => {
|
|
3092
|
+
if (a.message[s]) {
|
|
3093
|
+
const c = {
|
|
3094
|
+
...a.message[s],
|
|
2499
3095
|
...n
|
|
2500
3096
|
};
|
|
2501
3097
|
return {
|
|
2502
|
-
currentLang:
|
|
3098
|
+
currentLang: a.currentLang,
|
|
2503
3099
|
message: {
|
|
2504
|
-
...
|
|
2505
|
-
[
|
|
3100
|
+
...a.message,
|
|
3101
|
+
[s]: c
|
|
2506
3102
|
}
|
|
2507
3103
|
};
|
|
2508
3104
|
} else
|
|
2509
3105
|
return {
|
|
2510
|
-
currentLang:
|
|
3106
|
+
currentLang: a.currentLang,
|
|
2511
3107
|
message: {
|
|
2512
|
-
...
|
|
2513
|
-
[
|
|
3108
|
+
...a.message,
|
|
3109
|
+
[s]: n
|
|
2514
3110
|
}
|
|
2515
3111
|
};
|
|
2516
3112
|
});
|
|
2517
3113
|
};
|
|
2518
|
-
return
|
|
2519
|
-
const o =
|
|
3114
|
+
return T(() => {
|
|
3115
|
+
const o = W(O.CHANGE_LANGUAGE, r), s = W(O.MODIFY_LANGUAGE, t);
|
|
2520
3116
|
return () => {
|
|
2521
|
-
o(),
|
|
3117
|
+
o(), s();
|
|
2522
3118
|
};
|
|
2523
|
-
}, []), /* @__PURE__ */
|
|
3119
|
+
}, []), /* @__PURE__ */ i(ne, {});
|
|
2524
3120
|
}
|
|
2525
|
-
function
|
|
2526
|
-
const [e, r] =
|
|
2527
|
-
|
|
2528
|
-
const
|
|
2529
|
-
let
|
|
2530
|
-
if (!
|
|
2531
|
-
|
|
3121
|
+
function Uo() {
|
|
3122
|
+
const [e, r] = ee("richtext-theme", "light"), [t, o] = ee("richtext-color", "default"), [s, n] = ee("richtext-border-radius", "0.65rem");
|
|
3123
|
+
T(() => {
|
|
3124
|
+
const d = e || "light", m = t || "default";
|
|
3125
|
+
let p = fe[d][m];
|
|
3126
|
+
if (!p) {
|
|
3127
|
+
p = fe.light.default;
|
|
2532
3128
|
return;
|
|
2533
3129
|
}
|
|
2534
|
-
return
|
|
3130
|
+
return Oo(`
|
|
2535
3131
|
.reactjs-tiptap-editor, .reactjs-tiptap-editor *,
|
|
2536
3132
|
div[data-richtext-portal], div[data-richtext-portal] * {
|
|
2537
|
-
${Object.entries(
|
|
3133
|
+
${Object.entries(p).map(([l, f]) => typeof s == "string" && l === "radius" ? `--${l}: ${s};` : `--${l}: ${f};`).join(`
|
|
2538
3134
|
`)}
|
|
2539
3135
|
}
|
|
2540
3136
|
`, "richtext-theme", {
|
|
2541
3137
|
priority: 50
|
|
2542
3138
|
}), () => {
|
|
2543
|
-
|
|
3139
|
+
Go("richtext-theme");
|
|
2544
3140
|
};
|
|
2545
|
-
}, [e, t,
|
|
2546
|
-
const
|
|
2547
|
-
r(
|
|
2548
|
-
},
|
|
2549
|
-
o(
|
|
2550
|
-
},
|
|
2551
|
-
n(
|
|
3141
|
+
}, [e, t, s]);
|
|
3142
|
+
const a = (d) => {
|
|
3143
|
+
r(d.detail);
|
|
3144
|
+
}, c = (d) => {
|
|
3145
|
+
o(d.detail);
|
|
3146
|
+
}, u = (d) => {
|
|
3147
|
+
n(d.detail);
|
|
2552
3148
|
};
|
|
2553
|
-
return
|
|
2554
|
-
const
|
|
3149
|
+
return T(() => {
|
|
3150
|
+
const d = W(O.CHANGE_THEME, a), m = W(O.CHANGE_COLOR, c), p = W(O.CHANGE_BORDER_RADIUS, u);
|
|
2555
3151
|
return () => {
|
|
2556
|
-
|
|
3152
|
+
d(), m(), p();
|
|
2557
3153
|
};
|
|
2558
|
-
}, []), /* @__PURE__ */
|
|
3154
|
+
}, []), /* @__PURE__ */ i(ne, {});
|
|
2559
3155
|
}
|
|
2560
|
-
function
|
|
2561
|
-
return /* @__PURE__ */
|
|
2562
|
-
/* @__PURE__ */
|
|
2563
|
-
|
|
3156
|
+
function sn({ editor: e, children: r, id: t }) {
|
|
3157
|
+
return /* @__PURE__ */ z(Ho, { children: [
|
|
3158
|
+
/* @__PURE__ */ i(
|
|
3159
|
+
$o,
|
|
2564
3160
|
{
|
|
2565
3161
|
editor: e,
|
|
2566
3162
|
id: t,
|
|
2567
3163
|
children: r
|
|
2568
3164
|
}
|
|
2569
3165
|
),
|
|
2570
|
-
/* @__PURE__ */
|
|
2571
|
-
/* @__PURE__ */
|
|
3166
|
+
/* @__PURE__ */ i(_o, {}),
|
|
3167
|
+
/* @__PURE__ */ i(Uo, {})
|
|
2572
3168
|
] });
|
|
2573
3169
|
}
|
|
2574
3170
|
export {
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
3171
|
+
en as A,
|
|
3172
|
+
xo as E,
|
|
3173
|
+
so as M,
|
|
3174
|
+
sn as P,
|
|
3175
|
+
rn as S,
|
|
3176
|
+
Eo as T,
|
|
3177
|
+
No as a,
|
|
3178
|
+
He as b,
|
|
3179
|
+
k as c,
|
|
3180
|
+
Mo as d,
|
|
3181
|
+
tn as e,
|
|
3182
|
+
Ie as f,
|
|
3183
|
+
Zr as g,
|
|
3184
|
+
Yr as h,
|
|
3185
|
+
ko as i,
|
|
3186
|
+
ee as j,
|
|
3187
|
+
nn as k,
|
|
3188
|
+
fo as l,
|
|
3189
|
+
Ao as m,
|
|
3190
|
+
on as n,
|
|
3191
|
+
Ro as o,
|
|
3192
|
+
Vo as p,
|
|
3193
|
+
Go as r,
|
|
3194
|
+
Oo as u
|
|
2581
3195
|
};
|