reactjs-tiptap-editor 1.0.10 → 1.0.11
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-BPdRqzDX.cjs → ActionMenuButton-BLlse5KO.cjs} +1 -1
- package/lib/{ActionMenuButton-CKTxYtl7.js → ActionMenuButton-DTXFBdGX.js} +2 -2
- package/lib/Attachment.cjs +1 -1
- package/lib/Attachment.js +2 -2
- package/lib/Blockquote.cjs +1 -1
- package/lib/Blockquote.js +2 -2
- package/lib/Bold.cjs +1 -1
- package/lib/Bold.js +2 -2
- package/lib/BulletList.cjs +1 -1
- package/lib/BulletList.js +2 -2
- package/lib/Clear.cjs +1 -1
- package/lib/Clear.js +2 -2
- package/lib/Code.cjs +1 -1
- package/lib/Code.js +2 -2
- package/lib/CodeBlock.cjs +39 -39
- package/lib/CodeBlock.js +945 -837
- package/lib/CodeView.cjs +1 -1
- package/lib/CodeView.js +2 -2
- package/lib/Color.cjs +1 -1
- package/lib/Color.js +4 -4
- package/lib/Column.cjs +1 -1
- package/lib/Column.js +2 -2
- package/lib/{Drawer-Cfx115up.js → Drawer-D0yQ0wR7.js} +12 -12
- package/lib/{Drawer-hHj4Opkg.cjs → Drawer-kv6BU_6O.cjs} +1 -1
- package/lib/Drawer.cjs +1 -1
- package/lib/Drawer.js +1 -1
- package/lib/Emoji.cjs +1 -1
- package/lib/Emoji.js +11 -11
- package/lib/{Excalidraw-8pWJ17Ye.cjs → Excalidraw-B82ThkJA.cjs} +1 -1
- package/lib/{Excalidraw-CO93Tsmb.js → Excalidraw-CO4IRHmG.js} +17 -17
- package/lib/Excalidraw.cjs +1 -1
- package/lib/Excalidraw.js +1 -1
- package/lib/ExportPdf.cjs +1 -1
- package/lib/ExportPdf.js +2 -2
- package/lib/ExportWord.cjs +1 -1
- package/lib/ExportWord.js +2 -2
- package/lib/FontFamily.cjs +1 -1
- package/lib/FontFamily.js +4 -4
- package/lib/FontSize.cjs +1 -1
- package/lib/FontSize.js +4 -4
- package/lib/Heading.cjs +1 -1
- package/lib/Heading.js +12 -12
- package/lib/Highlight.cjs +1 -1
- package/lib/Highlight.js +4 -4
- package/lib/History.cjs +1 -1
- package/lib/History.js +2 -2
- package/lib/HorizontalRule.cjs +1 -1
- package/lib/HorizontalRule.js +2 -2
- package/lib/{Icon-D7GJZzoa.js → Icon-DRuJhcHK.js} +1 -1
- package/lib/{Icon-gtc3g-VK.cjs → Icon-DXePECFW.cjs} +1 -1
- package/lib/{Iframe-BmXO2c65.cjs → Iframe-03dn9wcM.cjs} +1 -1
- package/lib/{Iframe-DwhclppJ.js → Iframe-BEO28NPs.js} +10 -10
- package/lib/Iframe.cjs +1 -1
- package/lib/Iframe.js +1 -1
- package/lib/Image.cjs +1 -1
- package/lib/Image.js +43 -43
- package/lib/ImageGif.cjs +1 -1
- package/lib/ImageGif.js +6 -6
- package/lib/ImportWord.cjs +2 -2
- package/lib/ImportWord.js +7 -7
- package/lib/{Indent-BOsymiZ7.js → Indent-CXurBbOr.js} +2 -2
- package/lib/{Indent-DPkMWfcv.cjs → Indent-Cqjdn3Jt.cjs} +1 -1
- package/lib/Indent.cjs +1 -1
- package/lib/Indent.js +1 -1
- package/lib/Italic.cjs +1 -1
- package/lib/Italic.js +2 -2
- package/lib/{Katex-BYK-b9X2.js → Katex-Bvj469K1.js} +22 -22
- package/lib/{Katex-B1XbT8-X.cjs → Katex-DdWTV5NJ.cjs} +2 -2
- package/lib/Katex.cjs +1 -1
- package/lib/Katex.js +1 -1
- package/lib/LineHeight.cjs +1 -1
- package/lib/LineHeight.js +11 -11
- package/lib/Link.cjs +1 -1
- package/lib/Link.js +1 -1
- package/lib/{LinkEditBlock-4-iRXH7m.cjs → LinkEditBlock-8ePAZ-G1.cjs} +2 -2
- package/lib/{LinkEditBlock-DgrLUMsJ.js → LinkEditBlock-DjXUEubR.js} +29 -29
- package/lib/Mermaid.cjs +2 -2
- package/lib/Mermaid.js +18 -18
- package/lib/MoreMark.cjs +1 -1
- package/lib/MoreMark.js +10 -10
- package/lib/OrderedList.cjs +1 -1
- package/lib/OrderedList.js +2 -2
- package/lib/SearchAndReplace.cjs +1 -1
- package/lib/SearchAndReplace.js +15 -15
- package/lib/SlashCommand.cjs +1 -1
- package/lib/SlashCommand.js +2 -2
- package/lib/{SlashCommandNodeView-CQvMTXys.cjs → SlashCommandNodeView-Bl_gwZJB.cjs} +1 -1
- package/lib/{SlashCommandNodeView-BpNNU7Sm.js → SlashCommandNodeView-CcqL8ymb.js} +12 -12
- package/lib/Strike.cjs +1 -1
- package/lib/Strike.js +2 -2
- package/lib/{Table-CT9R9Sdq.js → Table-9Y0Cg8Ab.js} +3 -3
- package/lib/{Table-LnWGm2m8.cjs → Table-DBGjezZK.cjs} +1 -1
- package/lib/Table.cjs +1 -1
- package/lib/Table.js +1 -1
- package/lib/TaskList.cjs +1 -1
- package/lib/TaskList.js +2 -2
- package/lib/TextAlign.cjs +1 -1
- package/lib/TextAlign.js +9 -9
- package/lib/TextDirection.cjs +1 -1
- package/lib/TextDirection.js +9 -9
- package/lib/TextUnderline.cjs +1 -1
- package/lib/TextUnderline.js +2 -2
- package/lib/{Twitter-Bo4JkBTL.cjs → Twitter-Cnvt7GBg.cjs} +1 -1
- package/lib/{Twitter-mowilxRd.js → Twitter-DWwd0vHR.js} +16 -16
- package/lib/Twitter.cjs +1 -1
- package/lib/Twitter.js +1 -1
- package/lib/Video.cjs +1 -1
- package/lib/Video.js +21 -21
- package/lib/bubble.cjs +4 -4
- package/lib/bubble.js +383 -389
- package/lib/{button-wt49IYwP.cjs → button-BW5bDPz_.cjs} +1 -1
- package/lib/{button-CBO-WDXK.js → button-RnHbJfd-.js} +1 -1
- package/lib/{checkbox-D1h32VWM.js → checkbox-CLSoR1Qj.js} +1 -1
- package/lib/{checkbox-DUcLSGZD.cjs → checkbox-CTEN0q4y.cjs} +1 -1
- package/lib/{dialog-DY868Uji.cjs → dialog-CMC9hsCo.cjs} +1 -1
- package/lib/{dialog-DSvgtlDI.js → dialog-D_HCtKvc.js} +1 -1
- package/lib/{dropdown-menu-B88Qn2KR.js → dropdown-menu-66q7Ofc5.js} +1 -1
- package/lib/{dropdown-menu-BripAeGB.cjs → dropdown-menu-DKSAS-w_.cjs} +1 -1
- package/lib/{index-BIqaogQg.js → index-C3zg3DPB.js} +669 -743
- package/lib/index-C838s-or.cjs +8 -0
- package/lib/index.cjs +1 -1
- package/lib/index.js +1 -1
- package/lib/{input-Bx4uo4gO.js → input-CvyMYMZG.js} +1 -1
- package/lib/{input-BeD5GdMv.cjs → input-D555880-.cjs} +1 -1
- package/lib/{label-uKG7RzFU.js → label-DsOYPjAo.js} +1 -1
- package/lib/{label--161UPH6.cjs → label-E6jF3Xud.cjs} +1 -1
- package/lib/{popover-BVX8otO9.js → popover-B7ec5-u2.js} +1 -1
- package/lib/{popover-Csk538NC.cjs → popover-BSzR_R01.cjs} +1 -1
- package/lib/{separator-DtrEdjAF.js → separator-JaTTqb3J.js} +18 -18
- package/lib/{separator-DLRVddHS.cjs → separator-PGnA-6Hr.cjs} +1 -1
- package/lib/{store-CsIFDUKR.js → store-Cf7tFiiI.js} +1 -1
- package/lib/{store-B8IkVz1J.cjs → store-oDk-lTPM.cjs} +1 -1
- package/lib/style.css +1 -1
- package/lib/{tabs-DOasUMDU.cjs → tabs-BTwiZkWd.cjs} +1 -1
- package/lib/{tabs-BKpr0QQB.js → tabs-CWr9HYaM.js} +1 -1
- package/lib/{textarea-Ba9OOzba.js → textarea-BdeLXbp8.js} +1 -1
- package/lib/{textarea-D9egO4qC.cjs → textarea-Yetl_PZi.cjs} +1 -1
- package/lib/{useButtonProps-DEtmDVPr.cjs → useButtonProps-DfnJiJLV.cjs} +1 -1
- package/lib/{useButtonProps-C_bqxmHi.js → useButtonProps-cMoicZgd.js} +1 -1
- package/package.json +1 -1
- package/lib/index-BvIJKpX1.cjs +0 -8
|
@@ -1,51 +1,50 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
4
|
-
import { Slot as
|
|
5
|
-
import { x as
|
|
6
|
-
import { THEME as
|
|
7
|
-
import { l as
|
|
1
|
+
import { jsxs as A, jsx as a, Fragment as te } from "react/jsx-runtime";
|
|
2
|
+
import * as ze from "react";
|
|
3
|
+
import Be, { useCallback as S, useState as Ge, useEffect as V, useRef as Y, createContext as Oe, useContext as We, useSyncExternalStore as $e, memo as _e } from "react";
|
|
4
|
+
import { Slot as Fe } from "@radix-ui/react-slot";
|
|
5
|
+
import { x as Ue, a as De } from "./index-0OnGZkVF.js";
|
|
6
|
+
import { THEME as ge } from "./theme.js";
|
|
7
|
+
import { l as j, E as B } from "./events.constant-wrlJ_7JZ.js";
|
|
8
|
+
import * as G from "@radix-ui/react-tooltip";
|
|
8
9
|
import * as Me from "@radix-ui/react-toggle";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const se = "-", yr = (e) => {
|
|
15
|
-
const r = Sr(e), {
|
|
10
|
+
import { TextAlignRightIcon as Xe, TextAlignLeftIcon as qe, TextAlignJustifyIcon as Je, TextAlignCenterIcon as Ke } from "@radix-ui/react-icons";
|
|
11
|
+
import { ExternalLink as Qe, X as Ye, Loader2 as Ze, WrapText as et, PencilRuler as tt, FlipHorizontal as rt, FlipVertical as ot, CropIcon as nt, ChevronUp as it, Paperclip as st, Eye as lt, Settings as at, ZoomOut as ct, ZoomIn as dt, BookMarked as ut, Sigma as ht, SmilePlusIcon as gt, Replace as me, SmilePlus as mt, Frame as pt, Columns2 as pe, PanelRight as ft, PanelLeft as bt, Clipboard as vt, Copy as wt, GripVertical as xt, Plus as yt, Columns4 as Ct, Columns3 as zt, Heading6 as Mt, Heading5 as kt, Heading4 as St, Heading3 as Lt, Heading2 as Et, Heading1 as At, Pilcrow as Vt, ChevronsUpDown as Ht, Trash as Rt, Trash2 as Tt, TableCellsSplit as Nt, TableCellsMerge as Pt, BetweenVerticalEnd as It, BetweenVerticalStart as jt, BetweenHorizonalStart as Bt, BetweenHorizonalEnd as Gt, Unlink as Ot, Pencil as Wt, Sparkles as $t, Table as _t, Minimize as Ft, Maximize as Ut, Video as Dt, ImageUp as Xt, Link as qt, ListTodo as Jt, ListOrdered as Kt, List as Qt, IndentDecrease as Yt, IndentIncrease as Zt, Type as er, CodeXml as tr, Code as rr, Superscript as or, Subscript as nr, ChevronDown as ir, Undo2 as sr, Redo2 as lr, PaintRoller as ar, Eraser as cr, Minus as dr, Strikethrough as ur, Quote as hr, Underline as gr, Italic as mr, LoaderCircle as pr, Bold as fr } from "lucide-react";
|
|
12
|
+
import { C as ke } from "./index-sVScpCFG.js";
|
|
13
|
+
const re = "-", br = (e) => {
|
|
14
|
+
const r = wr(e), {
|
|
16
15
|
conflictingClassGroups: t,
|
|
17
16
|
conflictingClassGroupModifiers: o
|
|
18
17
|
} = e;
|
|
19
18
|
return {
|
|
20
|
-
getClassGroupId: (
|
|
21
|
-
const
|
|
22
|
-
return
|
|
19
|
+
getClassGroupId: (l) => {
|
|
20
|
+
const i = l.split(re);
|
|
21
|
+
return i[0] === "" && i.length !== 1 && i.shift(), Se(i, r) || vr(l);
|
|
23
22
|
},
|
|
24
|
-
getConflictingClassGroupIds: (
|
|
25
|
-
const u = t[
|
|
26
|
-
return
|
|
23
|
+
getConflictingClassGroupIds: (l, i) => {
|
|
24
|
+
const u = t[l] || [];
|
|
25
|
+
return i && o[l] ? [...u, ...o[l]] : u;
|
|
27
26
|
}
|
|
28
27
|
};
|
|
29
|
-
},
|
|
30
|
-
var
|
|
28
|
+
}, Se = (e, r) => {
|
|
29
|
+
var l;
|
|
31
30
|
if (e.length === 0)
|
|
32
31
|
return r.classGroupId;
|
|
33
|
-
const t = e[0], o = r.nextPart.get(t), s = o ?
|
|
32
|
+
const t = e[0], o = r.nextPart.get(t), s = o ? Se(e.slice(1), o) : void 0;
|
|
34
33
|
if (s)
|
|
35
34
|
return s;
|
|
36
35
|
if (r.validators.length === 0)
|
|
37
36
|
return;
|
|
38
|
-
const n = e.join(
|
|
39
|
-
return (
|
|
40
|
-
validator:
|
|
41
|
-
}) =>
|
|
42
|
-
},
|
|
43
|
-
if (
|
|
44
|
-
const r =
|
|
37
|
+
const n = e.join(re);
|
|
38
|
+
return (l = r.validators.find(({
|
|
39
|
+
validator: i
|
|
40
|
+
}) => i(n))) == null ? void 0 : l.classGroupId;
|
|
41
|
+
}, fe = /^\[(.+)\]$/, vr = (e) => {
|
|
42
|
+
if (fe.test(e)) {
|
|
43
|
+
const r = fe.exec(e)[1], t = r == null ? void 0 : r.substring(0, r.indexOf(":"));
|
|
45
44
|
if (t)
|
|
46
45
|
return "arbitrary.." + t;
|
|
47
46
|
}
|
|
48
|
-
},
|
|
47
|
+
}, wr = (e) => {
|
|
49
48
|
const {
|
|
50
49
|
theme: r,
|
|
51
50
|
prefix: t
|
|
@@ -53,19 +52,19 @@ const se = "-", yr = (e) => {
|
|
|
53
52
|
nextPart: /* @__PURE__ */ new Map(),
|
|
54
53
|
validators: []
|
|
55
54
|
};
|
|
56
|
-
return
|
|
57
|
-
|
|
55
|
+
return yr(Object.entries(e.classGroups), t).forEach(([n, l]) => {
|
|
56
|
+
Z(l, o, n, r);
|
|
58
57
|
}), o;
|
|
59
|
-
},
|
|
58
|
+
}, Z = (e, r, t, o) => {
|
|
60
59
|
e.forEach((s) => {
|
|
61
60
|
if (typeof s == "string") {
|
|
62
|
-
const n = s === "" ? r :
|
|
61
|
+
const n = s === "" ? r : be(r, s);
|
|
63
62
|
n.classGroupId = t;
|
|
64
63
|
return;
|
|
65
64
|
}
|
|
66
65
|
if (typeof s == "function") {
|
|
67
|
-
if (
|
|
68
|
-
|
|
66
|
+
if (xr(s)) {
|
|
67
|
+
Z(s(o), r, t, o);
|
|
69
68
|
return;
|
|
70
69
|
}
|
|
71
70
|
r.validators.push({
|
|
@@ -74,22 +73,22 @@ const se = "-", yr = (e) => {
|
|
|
74
73
|
});
|
|
75
74
|
return;
|
|
76
75
|
}
|
|
77
|
-
Object.entries(s).forEach(([n,
|
|
78
|
-
|
|
76
|
+
Object.entries(s).forEach(([n, l]) => {
|
|
77
|
+
Z(l, be(r, n), t, o);
|
|
79
78
|
});
|
|
80
79
|
});
|
|
81
|
-
},
|
|
80
|
+
}, be = (e, r) => {
|
|
82
81
|
let t = e;
|
|
83
|
-
return r.split(
|
|
82
|
+
return r.split(re).forEach((o) => {
|
|
84
83
|
t.nextPart.has(o) || t.nextPart.set(o, {
|
|
85
84
|
nextPart: /* @__PURE__ */ new Map(),
|
|
86
85
|
validators: []
|
|
87
86
|
}), t = t.nextPart.get(o);
|
|
88
87
|
}), t;
|
|
89
|
-
},
|
|
90
|
-
const s = o.map((n) => typeof n == "string" ? r + n : typeof n == "object" ? Object.fromEntries(Object.entries(n).map(([
|
|
88
|
+
}, xr = (e) => e.isThemeGetter, yr = (e, r) => r ? e.map(([t, o]) => {
|
|
89
|
+
const s = o.map((n) => typeof n == "string" ? r + n : typeof n == "object" ? Object.fromEntries(Object.entries(n).map(([l, i]) => [r + l, i])) : n);
|
|
91
90
|
return [t, s];
|
|
92
|
-
}) : e,
|
|
91
|
+
}) : e, Cr = (e) => {
|
|
93
92
|
if (e < 1)
|
|
94
93
|
return {
|
|
95
94
|
get: () => {
|
|
@@ -98,55 +97,55 @@ const se = "-", yr = (e) => {
|
|
|
98
97
|
}
|
|
99
98
|
};
|
|
100
99
|
let r = 0, t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
|
|
101
|
-
const s = (n,
|
|
102
|
-
t.set(n,
|
|
100
|
+
const s = (n, l) => {
|
|
101
|
+
t.set(n, l), r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ new Map());
|
|
103
102
|
};
|
|
104
103
|
return {
|
|
105
104
|
get(n) {
|
|
106
|
-
let
|
|
107
|
-
if (
|
|
108
|
-
return
|
|
109
|
-
if ((
|
|
110
|
-
return s(n,
|
|
105
|
+
let l = t.get(n);
|
|
106
|
+
if (l !== void 0)
|
|
107
|
+
return l;
|
|
108
|
+
if ((l = o.get(n)) !== void 0)
|
|
109
|
+
return s(n, l), l;
|
|
111
110
|
},
|
|
112
|
-
set(n,
|
|
113
|
-
t.has(n) ? t.set(n,
|
|
111
|
+
set(n, l) {
|
|
112
|
+
t.has(n) ? t.set(n, l) : s(n, l);
|
|
114
113
|
}
|
|
115
114
|
};
|
|
116
|
-
},
|
|
115
|
+
}, Le = "!", zr = (e) => {
|
|
117
116
|
const {
|
|
118
117
|
separator: r,
|
|
119
118
|
experimentalParseClassName: t
|
|
120
|
-
} = e, o = r.length === 1, s = r[0], n = r.length,
|
|
119
|
+
} = e, o = r.length === 1, s = r[0], n = r.length, l = (i) => {
|
|
121
120
|
const u = [];
|
|
122
|
-
let
|
|
123
|
-
for (let
|
|
124
|
-
let
|
|
125
|
-
if (
|
|
126
|
-
if (
|
|
127
|
-
u.push(
|
|
121
|
+
let c = 0, g = 0, m;
|
|
122
|
+
for (let p = 0; p < i.length; p++) {
|
|
123
|
+
let x = i[p];
|
|
124
|
+
if (c === 0) {
|
|
125
|
+
if (x === s && (o || i.slice(p, p + n) === r)) {
|
|
126
|
+
u.push(i.slice(g, p)), g = p + n;
|
|
128
127
|
continue;
|
|
129
128
|
}
|
|
130
|
-
if (
|
|
131
|
-
|
|
129
|
+
if (x === "/") {
|
|
130
|
+
m = p;
|
|
132
131
|
continue;
|
|
133
132
|
}
|
|
134
133
|
}
|
|
135
|
-
|
|
134
|
+
x === "[" ? c++ : x === "]" && c--;
|
|
136
135
|
}
|
|
137
|
-
const
|
|
136
|
+
const d = u.length === 0 ? i : i.substring(g), f = d.startsWith(Le), y = f ? d.substring(1) : d, v = m && m > g ? m - g : void 0;
|
|
138
137
|
return {
|
|
139
138
|
modifiers: u,
|
|
140
139
|
hasImportantModifier: f,
|
|
141
|
-
baseClassName:
|
|
142
|
-
maybePostfixModifierPosition:
|
|
140
|
+
baseClassName: y,
|
|
141
|
+
maybePostfixModifierPosition: v
|
|
143
142
|
};
|
|
144
143
|
};
|
|
145
|
-
return t ? (
|
|
146
|
-
className:
|
|
147
|
-
parseClassName:
|
|
148
|
-
}) :
|
|
149
|
-
},
|
|
144
|
+
return t ? (i) => t({
|
|
145
|
+
className: i,
|
|
146
|
+
parseClassName: l
|
|
147
|
+
}) : l;
|
|
148
|
+
}, Mr = (e) => {
|
|
150
149
|
if (e.length <= 1)
|
|
151
150
|
return e;
|
|
152
151
|
const r = [];
|
|
@@ -154,119 +153,119 @@ const se = "-", yr = (e) => {
|
|
|
154
153
|
return e.forEach((o) => {
|
|
155
154
|
o[0] === "[" ? (r.push(...t.sort(), o), t = []) : t.push(o);
|
|
156
155
|
}), r.push(...t.sort()), r;
|
|
157
|
-
},
|
|
158
|
-
cache:
|
|
159
|
-
parseClassName:
|
|
160
|
-
...
|
|
161
|
-
}),
|
|
156
|
+
}, kr = (e) => ({
|
|
157
|
+
cache: Cr(e.cacheSize),
|
|
158
|
+
parseClassName: zr(e),
|
|
159
|
+
...br(e)
|
|
160
|
+
}), Sr = /\s+/, Lr = (e, r) => {
|
|
162
161
|
const {
|
|
163
162
|
parseClassName: t,
|
|
164
163
|
getClassGroupId: o,
|
|
165
164
|
getConflictingClassGroupIds: s
|
|
166
|
-
} = r, n = [],
|
|
167
|
-
let
|
|
168
|
-
for (let u =
|
|
169
|
-
const
|
|
170
|
-
modifiers:
|
|
171
|
-
hasImportantModifier:
|
|
172
|
-
baseClassName:
|
|
165
|
+
} = r, n = [], l = e.trim().split(Sr);
|
|
166
|
+
let i = "";
|
|
167
|
+
for (let u = l.length - 1; u >= 0; u -= 1) {
|
|
168
|
+
const c = l[u], {
|
|
169
|
+
modifiers: g,
|
|
170
|
+
hasImportantModifier: m,
|
|
171
|
+
baseClassName: d,
|
|
173
172
|
maybePostfixModifierPosition: f
|
|
174
|
-
} = t(
|
|
175
|
-
let
|
|
176
|
-
if (!
|
|
177
|
-
if (!
|
|
178
|
-
|
|
173
|
+
} = t(c);
|
|
174
|
+
let y = !!f, v = o(y ? d.substring(0, f) : d);
|
|
175
|
+
if (!v) {
|
|
176
|
+
if (!y) {
|
|
177
|
+
i = c + (i.length > 0 ? " " + i : i);
|
|
179
178
|
continue;
|
|
180
179
|
}
|
|
181
|
-
if (
|
|
182
|
-
|
|
180
|
+
if (v = o(d), !v) {
|
|
181
|
+
i = c + (i.length > 0 ? " " + i : i);
|
|
183
182
|
continue;
|
|
184
183
|
}
|
|
185
|
-
|
|
184
|
+
y = !1;
|
|
186
185
|
}
|
|
187
|
-
const
|
|
188
|
-
if (n.includes(
|
|
186
|
+
const p = Mr(g).join(":"), x = m ? p + Le : p, C = x + v;
|
|
187
|
+
if (n.includes(C))
|
|
189
188
|
continue;
|
|
190
|
-
n.push(
|
|
191
|
-
const
|
|
192
|
-
for (let
|
|
193
|
-
const
|
|
194
|
-
n.push(
|
|
189
|
+
n.push(C);
|
|
190
|
+
const H = s(v, y);
|
|
191
|
+
for (let z = 0; z < H.length; ++z) {
|
|
192
|
+
const O = H[z];
|
|
193
|
+
n.push(x + O);
|
|
195
194
|
}
|
|
196
|
-
|
|
195
|
+
i = c + (i.length > 0 ? " " + i : i);
|
|
197
196
|
}
|
|
198
|
-
return
|
|
197
|
+
return i;
|
|
199
198
|
};
|
|
200
|
-
function
|
|
199
|
+
function Er() {
|
|
201
200
|
let e = 0, r, t, o = "";
|
|
202
201
|
for (; e < arguments.length; )
|
|
203
|
-
(r = arguments[e++]) && (t =
|
|
202
|
+
(r = arguments[e++]) && (t = Ee(r)) && (o && (o += " "), o += t);
|
|
204
203
|
return o;
|
|
205
204
|
}
|
|
206
|
-
const
|
|
205
|
+
const Ee = (e) => {
|
|
207
206
|
if (typeof e == "string")
|
|
208
207
|
return e;
|
|
209
208
|
let r, t = "";
|
|
210
209
|
for (let o = 0; o < e.length; o++)
|
|
211
|
-
e[o] && (r =
|
|
210
|
+
e[o] && (r = Ee(e[o])) && (t && (t += " "), t += r);
|
|
212
211
|
return t;
|
|
213
212
|
};
|
|
214
|
-
function
|
|
215
|
-
let t, o, s, n =
|
|
216
|
-
function
|
|
217
|
-
const
|
|
218
|
-
return t =
|
|
213
|
+
function Ar(e, ...r) {
|
|
214
|
+
let t, o, s, n = l;
|
|
215
|
+
function l(u) {
|
|
216
|
+
const c = r.reduce((g, m) => m(g), e());
|
|
217
|
+
return t = kr(c), o = t.cache.get, s = t.cache.set, n = i, i(u);
|
|
219
218
|
}
|
|
220
|
-
function
|
|
221
|
-
const
|
|
222
|
-
if (
|
|
223
|
-
return
|
|
224
|
-
const
|
|
225
|
-
return s(u,
|
|
219
|
+
function i(u) {
|
|
220
|
+
const c = o(u);
|
|
221
|
+
if (c)
|
|
222
|
+
return c;
|
|
223
|
+
const g = Lr(u, t);
|
|
224
|
+
return s(u, g), g;
|
|
226
225
|
}
|
|
227
226
|
return function() {
|
|
228
|
-
return n(
|
|
227
|
+
return n(Er.apply(null, arguments));
|
|
229
228
|
};
|
|
230
229
|
}
|
|
231
|
-
const
|
|
230
|
+
const b = (e) => {
|
|
232
231
|
const r = (t) => t[e] || [];
|
|
233
232
|
return r.isThemeGetter = !0, r;
|
|
234
|
-
},
|
|
235
|
-
const o =
|
|
233
|
+
}, Ae = /^\[(?:([a-z-]+):)?(.+)\]$/i, Vr = /^\d+\/\d+$/, Hr = /* @__PURE__ */ new Set(["px", "full", "screen"]), Rr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Tr = /\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$/, Nr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Pr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ir = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, k = (e) => R(e) || Hr.has(e) || Vr.test(e), L = (e) => T(e, "length", Fr), R = (e) => !!e && !Number.isNaN(Number(e)), X = (e) => T(e, "number", R), P = (e) => !!e && Number.isInteger(Number(e)), jr = (e) => e.endsWith("%") && R(e.slice(0, -1)), h = (e) => Ae.test(e), E = (e) => Rr.test(e), Br = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Gr = (e) => T(e, Br, Ve), Or = (e) => T(e, "position", Ve), Wr = /* @__PURE__ */ new Set(["image", "url"]), $r = (e) => T(e, Wr, Dr), _r = (e) => T(e, "", Ur), I = () => !0, T = (e, r, t) => {
|
|
234
|
+
const o = Ae.exec(e);
|
|
236
235
|
return o ? o[1] ? typeof r == "string" ? o[1] === r : r.has(o[1]) : t(o[2]) : !1;
|
|
237
|
-
},
|
|
236
|
+
}, Fr = (e) => (
|
|
238
237
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
239
238
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
240
239
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
241
|
-
|
|
242
|
-
), Ve = () => !1,
|
|
243
|
-
const e =
|
|
240
|
+
Tr.test(e) && !Nr.test(e)
|
|
241
|
+
), Ve = () => !1, Ur = (e) => Pr.test(e), Dr = (e) => Ir.test(e), Xr = () => {
|
|
242
|
+
const e = b("colors"), r = b("spacing"), t = b("blur"), o = b("brightness"), s = b("borderColor"), n = b("borderRadius"), l = b("borderSpacing"), i = b("borderWidth"), u = b("contrast"), c = b("grayscale"), g = b("hueRotate"), m = b("invert"), d = b("gap"), f = b("gradientColorStops"), y = b("gradientColorStopPositions"), v = b("inset"), p = b("margin"), x = b("opacity"), C = b("padding"), H = b("saturate"), z = b("scale"), O = b("sepia"), se = b("skew"), le = b("space"), ae = b("translate"), _ = () => ["auto", "contain", "none"], F = () => ["auto", "hidden", "clip", "visible", "scroll"], U = () => ["auto", h, r], w = () => [h, r], ce = () => ["", k, L], W = () => ["auto", R, h], de = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], $ = () => ["solid", "dashed", "dotted", "double", "none"], ue = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], D = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], N = () => ["", "0", h], he = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], M = () => [R, h];
|
|
244
243
|
return {
|
|
245
244
|
cacheSize: 500,
|
|
246
245
|
separator: ":",
|
|
247
246
|
theme: {
|
|
248
|
-
colors: [
|
|
249
|
-
spacing: [
|
|
250
|
-
blur: ["none", "",
|
|
247
|
+
colors: [I],
|
|
248
|
+
spacing: [k, L],
|
|
249
|
+
blur: ["none", "", E, h],
|
|
251
250
|
brightness: M(),
|
|
252
251
|
borderColor: [e],
|
|
253
|
-
borderRadius: ["none", "", "full",
|
|
252
|
+
borderRadius: ["none", "", "full", E, h],
|
|
254
253
|
borderSpacing: w(),
|
|
255
|
-
borderWidth:
|
|
254
|
+
borderWidth: ce(),
|
|
256
255
|
contrast: M(),
|
|
257
|
-
grayscale:
|
|
256
|
+
grayscale: N(),
|
|
258
257
|
hueRotate: M(),
|
|
259
|
-
invert:
|
|
258
|
+
invert: N(),
|
|
260
259
|
gap: w(),
|
|
261
260
|
gradientColorStops: [e],
|
|
262
|
-
gradientColorStopPositions: [
|
|
263
|
-
inset:
|
|
264
|
-
margin:
|
|
261
|
+
gradientColorStopPositions: [jr, L],
|
|
262
|
+
inset: U(),
|
|
263
|
+
margin: U(),
|
|
265
264
|
opacity: M(),
|
|
266
265
|
padding: w(),
|
|
267
266
|
saturate: M(),
|
|
268
267
|
scale: M(),
|
|
269
|
-
sepia:
|
|
268
|
+
sepia: N(),
|
|
270
269
|
skew: M(),
|
|
271
270
|
space: w(),
|
|
272
271
|
translate: w()
|
|
@@ -290,21 +289,21 @@ const x = (e) => {
|
|
|
290
289
|
* @see https://tailwindcss.com/docs/columns
|
|
291
290
|
*/
|
|
292
291
|
columns: [{
|
|
293
|
-
columns: [
|
|
292
|
+
columns: [E]
|
|
294
293
|
}],
|
|
295
294
|
/**
|
|
296
295
|
* Break After
|
|
297
296
|
* @see https://tailwindcss.com/docs/break-after
|
|
298
297
|
*/
|
|
299
298
|
"break-after": [{
|
|
300
|
-
"break-after":
|
|
299
|
+
"break-after": he()
|
|
301
300
|
}],
|
|
302
301
|
/**
|
|
303
302
|
* Break Before
|
|
304
303
|
* @see https://tailwindcss.com/docs/break-before
|
|
305
304
|
*/
|
|
306
305
|
"break-before": [{
|
|
307
|
-
"break-before":
|
|
306
|
+
"break-before": he()
|
|
308
307
|
}],
|
|
309
308
|
/**
|
|
310
309
|
* Break Inside
|
|
@@ -363,49 +362,49 @@ const x = (e) => {
|
|
|
363
362
|
* @see https://tailwindcss.com/docs/object-position
|
|
364
363
|
*/
|
|
365
364
|
"object-position": [{
|
|
366
|
-
object: [...
|
|
365
|
+
object: [...de(), h]
|
|
367
366
|
}],
|
|
368
367
|
/**
|
|
369
368
|
* Overflow
|
|
370
369
|
* @see https://tailwindcss.com/docs/overflow
|
|
371
370
|
*/
|
|
372
371
|
overflow: [{
|
|
373
|
-
overflow:
|
|
372
|
+
overflow: F()
|
|
374
373
|
}],
|
|
375
374
|
/**
|
|
376
375
|
* Overflow X
|
|
377
376
|
* @see https://tailwindcss.com/docs/overflow
|
|
378
377
|
*/
|
|
379
378
|
"overflow-x": [{
|
|
380
|
-
"overflow-x":
|
|
379
|
+
"overflow-x": F()
|
|
381
380
|
}],
|
|
382
381
|
/**
|
|
383
382
|
* Overflow Y
|
|
384
383
|
* @see https://tailwindcss.com/docs/overflow
|
|
385
384
|
*/
|
|
386
385
|
"overflow-y": [{
|
|
387
|
-
"overflow-y":
|
|
386
|
+
"overflow-y": F()
|
|
388
387
|
}],
|
|
389
388
|
/**
|
|
390
389
|
* Overscroll Behavior
|
|
391
390
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
392
391
|
*/
|
|
393
392
|
overscroll: [{
|
|
394
|
-
overscroll:
|
|
393
|
+
overscroll: _()
|
|
395
394
|
}],
|
|
396
395
|
/**
|
|
397
396
|
* Overscroll Behavior X
|
|
398
397
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
399
398
|
*/
|
|
400
399
|
"overscroll-x": [{
|
|
401
|
-
"overscroll-x":
|
|
400
|
+
"overscroll-x": _()
|
|
402
401
|
}],
|
|
403
402
|
/**
|
|
404
403
|
* Overscroll Behavior Y
|
|
405
404
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
406
405
|
*/
|
|
407
406
|
"overscroll-y": [{
|
|
408
|
-
"overscroll-y":
|
|
407
|
+
"overscroll-y": _()
|
|
409
408
|
}],
|
|
410
409
|
/**
|
|
411
410
|
* Position
|
|
@@ -417,63 +416,63 @@ const x = (e) => {
|
|
|
417
416
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
418
417
|
*/
|
|
419
418
|
inset: [{
|
|
420
|
-
inset: [
|
|
419
|
+
inset: [v]
|
|
421
420
|
}],
|
|
422
421
|
/**
|
|
423
422
|
* Right / Left
|
|
424
423
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
425
424
|
*/
|
|
426
425
|
"inset-x": [{
|
|
427
|
-
"inset-x": [
|
|
426
|
+
"inset-x": [v]
|
|
428
427
|
}],
|
|
429
428
|
/**
|
|
430
429
|
* Top / Bottom
|
|
431
430
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
432
431
|
*/
|
|
433
432
|
"inset-y": [{
|
|
434
|
-
"inset-y": [
|
|
433
|
+
"inset-y": [v]
|
|
435
434
|
}],
|
|
436
435
|
/**
|
|
437
436
|
* Start
|
|
438
437
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
439
438
|
*/
|
|
440
439
|
start: [{
|
|
441
|
-
start: [
|
|
440
|
+
start: [v]
|
|
442
441
|
}],
|
|
443
442
|
/**
|
|
444
443
|
* End
|
|
445
444
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
446
445
|
*/
|
|
447
446
|
end: [{
|
|
448
|
-
end: [
|
|
447
|
+
end: [v]
|
|
449
448
|
}],
|
|
450
449
|
/**
|
|
451
450
|
* Top
|
|
452
451
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
453
452
|
*/
|
|
454
453
|
top: [{
|
|
455
|
-
top: [
|
|
454
|
+
top: [v]
|
|
456
455
|
}],
|
|
457
456
|
/**
|
|
458
457
|
* Right
|
|
459
458
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
460
459
|
*/
|
|
461
460
|
right: [{
|
|
462
|
-
right: [
|
|
461
|
+
right: [v]
|
|
463
462
|
}],
|
|
464
463
|
/**
|
|
465
464
|
* Bottom
|
|
466
465
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
467
466
|
*/
|
|
468
467
|
bottom: [{
|
|
469
|
-
bottom: [
|
|
468
|
+
bottom: [v]
|
|
470
469
|
}],
|
|
471
470
|
/**
|
|
472
471
|
* Left
|
|
473
472
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
474
473
|
*/
|
|
475
474
|
left: [{
|
|
476
|
-
left: [
|
|
475
|
+
left: [v]
|
|
477
476
|
}],
|
|
478
477
|
/**
|
|
479
478
|
* Visibility
|
|
@@ -485,7 +484,7 @@ const x = (e) => {
|
|
|
485
484
|
* @see https://tailwindcss.com/docs/z-index
|
|
486
485
|
*/
|
|
487
486
|
z: [{
|
|
488
|
-
z: ["auto",
|
|
487
|
+
z: ["auto", P, h]
|
|
489
488
|
}],
|
|
490
489
|
// Flexbox and Grid
|
|
491
490
|
/**
|
|
@@ -493,7 +492,7 @@ const x = (e) => {
|
|
|
493
492
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
494
493
|
*/
|
|
495
494
|
basis: [{
|
|
496
|
-
basis:
|
|
495
|
+
basis: U()
|
|
497
496
|
}],
|
|
498
497
|
/**
|
|
499
498
|
* Flex Direction
|
|
@@ -521,28 +520,28 @@ const x = (e) => {
|
|
|
521
520
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
522
521
|
*/
|
|
523
522
|
grow: [{
|
|
524
|
-
grow:
|
|
523
|
+
grow: N()
|
|
525
524
|
}],
|
|
526
525
|
/**
|
|
527
526
|
* Flex Shrink
|
|
528
527
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
529
528
|
*/
|
|
530
529
|
shrink: [{
|
|
531
|
-
shrink:
|
|
530
|
+
shrink: N()
|
|
532
531
|
}],
|
|
533
532
|
/**
|
|
534
533
|
* Order
|
|
535
534
|
* @see https://tailwindcss.com/docs/order
|
|
536
535
|
*/
|
|
537
536
|
order: [{
|
|
538
|
-
order: ["first", "last", "none",
|
|
537
|
+
order: ["first", "last", "none", P, h]
|
|
539
538
|
}],
|
|
540
539
|
/**
|
|
541
540
|
* Grid Template Columns
|
|
542
541
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
543
542
|
*/
|
|
544
543
|
"grid-cols": [{
|
|
545
|
-
"grid-cols": [
|
|
544
|
+
"grid-cols": [I]
|
|
546
545
|
}],
|
|
547
546
|
/**
|
|
548
547
|
* Grid Column Start / End
|
|
@@ -550,7 +549,7 @@ const x = (e) => {
|
|
|
550
549
|
*/
|
|
551
550
|
"col-start-end": [{
|
|
552
551
|
col: ["auto", {
|
|
553
|
-
span: ["full",
|
|
552
|
+
span: ["full", P, h]
|
|
554
553
|
}, h]
|
|
555
554
|
}],
|
|
556
555
|
/**
|
|
@@ -558,21 +557,21 @@ const x = (e) => {
|
|
|
558
557
|
* @see https://tailwindcss.com/docs/grid-column
|
|
559
558
|
*/
|
|
560
559
|
"col-start": [{
|
|
561
|
-
"col-start":
|
|
560
|
+
"col-start": W()
|
|
562
561
|
}],
|
|
563
562
|
/**
|
|
564
563
|
* Grid Column End
|
|
565
564
|
* @see https://tailwindcss.com/docs/grid-column
|
|
566
565
|
*/
|
|
567
566
|
"col-end": [{
|
|
568
|
-
"col-end":
|
|
567
|
+
"col-end": W()
|
|
569
568
|
}],
|
|
570
569
|
/**
|
|
571
570
|
* Grid Template Rows
|
|
572
571
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
573
572
|
*/
|
|
574
573
|
"grid-rows": [{
|
|
575
|
-
"grid-rows": [
|
|
574
|
+
"grid-rows": [I]
|
|
576
575
|
}],
|
|
577
576
|
/**
|
|
578
577
|
* Grid Row Start / End
|
|
@@ -580,7 +579,7 @@ const x = (e) => {
|
|
|
580
579
|
*/
|
|
581
580
|
"row-start-end": [{
|
|
582
581
|
row: ["auto", {
|
|
583
|
-
span: [
|
|
582
|
+
span: [P, h]
|
|
584
583
|
}, h]
|
|
585
584
|
}],
|
|
586
585
|
/**
|
|
@@ -588,14 +587,14 @@ const x = (e) => {
|
|
|
588
587
|
* @see https://tailwindcss.com/docs/grid-row
|
|
589
588
|
*/
|
|
590
589
|
"row-start": [{
|
|
591
|
-
"row-start":
|
|
590
|
+
"row-start": W()
|
|
592
591
|
}],
|
|
593
592
|
/**
|
|
594
593
|
* Grid Row End
|
|
595
594
|
* @see https://tailwindcss.com/docs/grid-row
|
|
596
595
|
*/
|
|
597
596
|
"row-end": [{
|
|
598
|
-
"row-end":
|
|
597
|
+
"row-end": W()
|
|
599
598
|
}],
|
|
600
599
|
/**
|
|
601
600
|
* Grid Auto Flow
|
|
@@ -623,28 +622,28 @@ const x = (e) => {
|
|
|
623
622
|
* @see https://tailwindcss.com/docs/gap
|
|
624
623
|
*/
|
|
625
624
|
gap: [{
|
|
626
|
-
gap: [
|
|
625
|
+
gap: [d]
|
|
627
626
|
}],
|
|
628
627
|
/**
|
|
629
628
|
* Gap X
|
|
630
629
|
* @see https://tailwindcss.com/docs/gap
|
|
631
630
|
*/
|
|
632
631
|
"gap-x": [{
|
|
633
|
-
"gap-x": [
|
|
632
|
+
"gap-x": [d]
|
|
634
633
|
}],
|
|
635
634
|
/**
|
|
636
635
|
* Gap Y
|
|
637
636
|
* @see https://tailwindcss.com/docs/gap
|
|
638
637
|
*/
|
|
639
638
|
"gap-y": [{
|
|
640
|
-
"gap-y": [
|
|
639
|
+
"gap-y": [d]
|
|
641
640
|
}],
|
|
642
641
|
/**
|
|
643
642
|
* Justify Content
|
|
644
643
|
* @see https://tailwindcss.com/docs/justify-content
|
|
645
644
|
*/
|
|
646
645
|
"justify-content": [{
|
|
647
|
-
justify: ["normal", ...
|
|
646
|
+
justify: ["normal", ...D()]
|
|
648
647
|
}],
|
|
649
648
|
/**
|
|
650
649
|
* Justify Items
|
|
@@ -665,7 +664,7 @@ const x = (e) => {
|
|
|
665
664
|
* @see https://tailwindcss.com/docs/align-content
|
|
666
665
|
*/
|
|
667
666
|
"align-content": [{
|
|
668
|
-
content: ["normal", ...
|
|
667
|
+
content: ["normal", ...D(), "baseline"]
|
|
669
668
|
}],
|
|
670
669
|
/**
|
|
671
670
|
* Align Items
|
|
@@ -686,7 +685,7 @@ const x = (e) => {
|
|
|
686
685
|
* @see https://tailwindcss.com/docs/place-content
|
|
687
686
|
*/
|
|
688
687
|
"place-content": [{
|
|
689
|
-
"place-content": [...
|
|
688
|
+
"place-content": [...D(), "baseline"]
|
|
690
689
|
}],
|
|
691
690
|
/**
|
|
692
691
|
* Place Items
|
|
@@ -708,133 +707,133 @@ const x = (e) => {
|
|
|
708
707
|
* @see https://tailwindcss.com/docs/padding
|
|
709
708
|
*/
|
|
710
709
|
p: [{
|
|
711
|
-
p: [
|
|
710
|
+
p: [C]
|
|
712
711
|
}],
|
|
713
712
|
/**
|
|
714
713
|
* Padding X
|
|
715
714
|
* @see https://tailwindcss.com/docs/padding
|
|
716
715
|
*/
|
|
717
716
|
px: [{
|
|
718
|
-
px: [
|
|
717
|
+
px: [C]
|
|
719
718
|
}],
|
|
720
719
|
/**
|
|
721
720
|
* Padding Y
|
|
722
721
|
* @see https://tailwindcss.com/docs/padding
|
|
723
722
|
*/
|
|
724
723
|
py: [{
|
|
725
|
-
py: [
|
|
724
|
+
py: [C]
|
|
726
725
|
}],
|
|
727
726
|
/**
|
|
728
727
|
* Padding Start
|
|
729
728
|
* @see https://tailwindcss.com/docs/padding
|
|
730
729
|
*/
|
|
731
730
|
ps: [{
|
|
732
|
-
ps: [
|
|
731
|
+
ps: [C]
|
|
733
732
|
}],
|
|
734
733
|
/**
|
|
735
734
|
* Padding End
|
|
736
735
|
* @see https://tailwindcss.com/docs/padding
|
|
737
736
|
*/
|
|
738
737
|
pe: [{
|
|
739
|
-
pe: [
|
|
738
|
+
pe: [C]
|
|
740
739
|
}],
|
|
741
740
|
/**
|
|
742
741
|
* Padding Top
|
|
743
742
|
* @see https://tailwindcss.com/docs/padding
|
|
744
743
|
*/
|
|
745
744
|
pt: [{
|
|
746
|
-
pt: [
|
|
745
|
+
pt: [C]
|
|
747
746
|
}],
|
|
748
747
|
/**
|
|
749
748
|
* Padding Right
|
|
750
749
|
* @see https://tailwindcss.com/docs/padding
|
|
751
750
|
*/
|
|
752
751
|
pr: [{
|
|
753
|
-
pr: [
|
|
752
|
+
pr: [C]
|
|
754
753
|
}],
|
|
755
754
|
/**
|
|
756
755
|
* Padding Bottom
|
|
757
756
|
* @see https://tailwindcss.com/docs/padding
|
|
758
757
|
*/
|
|
759
758
|
pb: [{
|
|
760
|
-
pb: [
|
|
759
|
+
pb: [C]
|
|
761
760
|
}],
|
|
762
761
|
/**
|
|
763
762
|
* Padding Left
|
|
764
763
|
* @see https://tailwindcss.com/docs/padding
|
|
765
764
|
*/
|
|
766
765
|
pl: [{
|
|
767
|
-
pl: [
|
|
766
|
+
pl: [C]
|
|
768
767
|
}],
|
|
769
768
|
/**
|
|
770
769
|
* Margin
|
|
771
770
|
* @see https://tailwindcss.com/docs/margin
|
|
772
771
|
*/
|
|
773
772
|
m: [{
|
|
774
|
-
m: [
|
|
773
|
+
m: [p]
|
|
775
774
|
}],
|
|
776
775
|
/**
|
|
777
776
|
* Margin X
|
|
778
777
|
* @see https://tailwindcss.com/docs/margin
|
|
779
778
|
*/
|
|
780
779
|
mx: [{
|
|
781
|
-
mx: [
|
|
780
|
+
mx: [p]
|
|
782
781
|
}],
|
|
783
782
|
/**
|
|
784
783
|
* Margin Y
|
|
785
784
|
* @see https://tailwindcss.com/docs/margin
|
|
786
785
|
*/
|
|
787
786
|
my: [{
|
|
788
|
-
my: [
|
|
787
|
+
my: [p]
|
|
789
788
|
}],
|
|
790
789
|
/**
|
|
791
790
|
* Margin Start
|
|
792
791
|
* @see https://tailwindcss.com/docs/margin
|
|
793
792
|
*/
|
|
794
793
|
ms: [{
|
|
795
|
-
ms: [
|
|
794
|
+
ms: [p]
|
|
796
795
|
}],
|
|
797
796
|
/**
|
|
798
797
|
* Margin End
|
|
799
798
|
* @see https://tailwindcss.com/docs/margin
|
|
800
799
|
*/
|
|
801
800
|
me: [{
|
|
802
|
-
me: [
|
|
801
|
+
me: [p]
|
|
803
802
|
}],
|
|
804
803
|
/**
|
|
805
804
|
* Margin Top
|
|
806
805
|
* @see https://tailwindcss.com/docs/margin
|
|
807
806
|
*/
|
|
808
807
|
mt: [{
|
|
809
|
-
mt: [
|
|
808
|
+
mt: [p]
|
|
810
809
|
}],
|
|
811
810
|
/**
|
|
812
811
|
* Margin Right
|
|
813
812
|
* @see https://tailwindcss.com/docs/margin
|
|
814
813
|
*/
|
|
815
814
|
mr: [{
|
|
816
|
-
mr: [
|
|
815
|
+
mr: [p]
|
|
817
816
|
}],
|
|
818
817
|
/**
|
|
819
818
|
* Margin Bottom
|
|
820
819
|
* @see https://tailwindcss.com/docs/margin
|
|
821
820
|
*/
|
|
822
821
|
mb: [{
|
|
823
|
-
mb: [
|
|
822
|
+
mb: [p]
|
|
824
823
|
}],
|
|
825
824
|
/**
|
|
826
825
|
* Margin Left
|
|
827
826
|
* @see https://tailwindcss.com/docs/margin
|
|
828
827
|
*/
|
|
829
828
|
ml: [{
|
|
830
|
-
ml: [
|
|
829
|
+
ml: [p]
|
|
831
830
|
}],
|
|
832
831
|
/**
|
|
833
832
|
* Space Between X
|
|
834
833
|
* @see https://tailwindcss.com/docs/space
|
|
835
834
|
*/
|
|
836
835
|
"space-x": [{
|
|
837
|
-
"space-x": [
|
|
836
|
+
"space-x": [le]
|
|
838
837
|
}],
|
|
839
838
|
/**
|
|
840
839
|
* Space Between X Reverse
|
|
@@ -846,7 +845,7 @@ const x = (e) => {
|
|
|
846
845
|
* @see https://tailwindcss.com/docs/space
|
|
847
846
|
*/
|
|
848
847
|
"space-y": [{
|
|
849
|
-
"space-y": [
|
|
848
|
+
"space-y": [le]
|
|
850
849
|
}],
|
|
851
850
|
/**
|
|
852
851
|
* Space Between Y Reverse
|
|
@@ -874,8 +873,8 @@ const x = (e) => {
|
|
|
874
873
|
*/
|
|
875
874
|
"max-w": [{
|
|
876
875
|
"max-w": [h, r, "none", "full", "min", "max", "fit", "prose", {
|
|
877
|
-
screen: [
|
|
878
|
-
},
|
|
876
|
+
screen: [E]
|
|
877
|
+
}, E]
|
|
879
878
|
}],
|
|
880
879
|
/**
|
|
881
880
|
* Height
|
|
@@ -911,7 +910,7 @@ const x = (e) => {
|
|
|
911
910
|
* @see https://tailwindcss.com/docs/font-size
|
|
912
911
|
*/
|
|
913
912
|
"font-size": [{
|
|
914
|
-
text: ["base",
|
|
913
|
+
text: ["base", E, L]
|
|
915
914
|
}],
|
|
916
915
|
/**
|
|
917
916
|
* Font Smoothing
|
|
@@ -928,14 +927,14 @@ const x = (e) => {
|
|
|
928
927
|
* @see https://tailwindcss.com/docs/font-weight
|
|
929
928
|
*/
|
|
930
929
|
"font-weight": [{
|
|
931
|
-
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black",
|
|
930
|
+
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", X]
|
|
932
931
|
}],
|
|
933
932
|
/**
|
|
934
933
|
* Font Family
|
|
935
934
|
* @see https://tailwindcss.com/docs/font-family
|
|
936
935
|
*/
|
|
937
936
|
"font-family": [{
|
|
938
|
-
font: [
|
|
937
|
+
font: [I]
|
|
939
938
|
}],
|
|
940
939
|
/**
|
|
941
940
|
* Font Variant Numeric
|
|
@@ -979,14 +978,14 @@ const x = (e) => {
|
|
|
979
978
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
980
979
|
*/
|
|
981
980
|
"line-clamp": [{
|
|
982
|
-
"line-clamp": ["none",
|
|
981
|
+
"line-clamp": ["none", R, X]
|
|
983
982
|
}],
|
|
984
983
|
/**
|
|
985
984
|
* Line Height
|
|
986
985
|
* @see https://tailwindcss.com/docs/line-height
|
|
987
986
|
*/
|
|
988
987
|
leading: [{
|
|
989
|
-
leading: ["none", "tight", "snug", "normal", "relaxed", "loose",
|
|
988
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", k, h]
|
|
990
989
|
}],
|
|
991
990
|
/**
|
|
992
991
|
* List Style Image
|
|
@@ -1022,7 +1021,7 @@ const x = (e) => {
|
|
|
1022
1021
|
* @see https://tailwindcss.com/docs/placeholder-opacity
|
|
1023
1022
|
*/
|
|
1024
1023
|
"placeholder-opacity": [{
|
|
1025
|
-
"placeholder-opacity": [
|
|
1024
|
+
"placeholder-opacity": [x]
|
|
1026
1025
|
}],
|
|
1027
1026
|
/**
|
|
1028
1027
|
* Text Alignment
|
|
@@ -1043,7 +1042,7 @@ const x = (e) => {
|
|
|
1043
1042
|
* @see https://tailwindcss.com/docs/text-opacity
|
|
1044
1043
|
*/
|
|
1045
1044
|
"text-opacity": [{
|
|
1046
|
-
"text-opacity": [
|
|
1045
|
+
"text-opacity": [x]
|
|
1047
1046
|
}],
|
|
1048
1047
|
/**
|
|
1049
1048
|
* Text Decoration
|
|
@@ -1055,21 +1054,21 @@ const x = (e) => {
|
|
|
1055
1054
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1056
1055
|
*/
|
|
1057
1056
|
"text-decoration-style": [{
|
|
1058
|
-
decoration: [
|
|
1057
|
+
decoration: [...$(), "wavy"]
|
|
1059
1058
|
}],
|
|
1060
1059
|
/**
|
|
1061
1060
|
* Text Decoration Thickness
|
|
1062
1061
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1063
1062
|
*/
|
|
1064
1063
|
"text-decoration-thickness": [{
|
|
1065
|
-
decoration: ["auto", "from-font",
|
|
1064
|
+
decoration: ["auto", "from-font", k, L]
|
|
1066
1065
|
}],
|
|
1067
1066
|
/**
|
|
1068
1067
|
* Text Underline Offset
|
|
1069
1068
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1070
1069
|
*/
|
|
1071
1070
|
"underline-offset": [{
|
|
1072
|
-
"underline-offset": ["auto",
|
|
1071
|
+
"underline-offset": ["auto", k, h]
|
|
1073
1072
|
}],
|
|
1074
1073
|
/**
|
|
1075
1074
|
* Text Decoration Color
|
|
@@ -1158,7 +1157,7 @@ const x = (e) => {
|
|
|
1158
1157
|
* @see https://tailwindcss.com/docs/background-opacity
|
|
1159
1158
|
*/
|
|
1160
1159
|
"bg-opacity": [{
|
|
1161
|
-
"bg-opacity": [
|
|
1160
|
+
"bg-opacity": [x]
|
|
1162
1161
|
}],
|
|
1163
1162
|
/**
|
|
1164
1163
|
* Background Origin
|
|
@@ -1172,7 +1171,7 @@ const x = (e) => {
|
|
|
1172
1171
|
* @see https://tailwindcss.com/docs/background-position
|
|
1173
1172
|
*/
|
|
1174
1173
|
"bg-position": [{
|
|
1175
|
-
bg: [...
|
|
1174
|
+
bg: [...de(), Or]
|
|
1176
1175
|
}],
|
|
1177
1176
|
/**
|
|
1178
1177
|
* Background Repeat
|
|
@@ -1188,7 +1187,7 @@ const x = (e) => {
|
|
|
1188
1187
|
* @see https://tailwindcss.com/docs/background-size
|
|
1189
1188
|
*/
|
|
1190
1189
|
"bg-size": [{
|
|
1191
|
-
bg: ["auto", "cover", "contain",
|
|
1190
|
+
bg: ["auto", "cover", "contain", Gr]
|
|
1192
1191
|
}],
|
|
1193
1192
|
/**
|
|
1194
1193
|
* Background Image
|
|
@@ -1197,7 +1196,7 @@ const x = (e) => {
|
|
|
1197
1196
|
"bg-image": [{
|
|
1198
1197
|
bg: ["none", {
|
|
1199
1198
|
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1200
|
-
},
|
|
1199
|
+
}, $r]
|
|
1201
1200
|
}],
|
|
1202
1201
|
/**
|
|
1203
1202
|
* Background Color
|
|
@@ -1211,21 +1210,21 @@ const x = (e) => {
|
|
|
1211
1210
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1212
1211
|
*/
|
|
1213
1212
|
"gradient-from-pos": [{
|
|
1214
|
-
from: [
|
|
1213
|
+
from: [y]
|
|
1215
1214
|
}],
|
|
1216
1215
|
/**
|
|
1217
1216
|
* Gradient Color Stops Via Position
|
|
1218
1217
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1219
1218
|
*/
|
|
1220
1219
|
"gradient-via-pos": [{
|
|
1221
|
-
via: [
|
|
1220
|
+
via: [y]
|
|
1222
1221
|
}],
|
|
1223
1222
|
/**
|
|
1224
1223
|
* Gradient Color Stops To Position
|
|
1225
1224
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1226
1225
|
*/
|
|
1227
1226
|
"gradient-to-pos": [{
|
|
1228
|
-
to: [
|
|
1227
|
+
to: [y]
|
|
1229
1228
|
}],
|
|
1230
1229
|
/**
|
|
1231
1230
|
* Gradient Color Stops From
|
|
@@ -1359,84 +1358,84 @@ const x = (e) => {
|
|
|
1359
1358
|
* @see https://tailwindcss.com/docs/border-width
|
|
1360
1359
|
*/
|
|
1361
1360
|
"border-w": [{
|
|
1362
|
-
border: [
|
|
1361
|
+
border: [i]
|
|
1363
1362
|
}],
|
|
1364
1363
|
/**
|
|
1365
1364
|
* Border Width X
|
|
1366
1365
|
* @see https://tailwindcss.com/docs/border-width
|
|
1367
1366
|
*/
|
|
1368
1367
|
"border-w-x": [{
|
|
1369
|
-
"border-x": [
|
|
1368
|
+
"border-x": [i]
|
|
1370
1369
|
}],
|
|
1371
1370
|
/**
|
|
1372
1371
|
* Border Width Y
|
|
1373
1372
|
* @see https://tailwindcss.com/docs/border-width
|
|
1374
1373
|
*/
|
|
1375
1374
|
"border-w-y": [{
|
|
1376
|
-
"border-y": [
|
|
1375
|
+
"border-y": [i]
|
|
1377
1376
|
}],
|
|
1378
1377
|
/**
|
|
1379
1378
|
* Border Width Start
|
|
1380
1379
|
* @see https://tailwindcss.com/docs/border-width
|
|
1381
1380
|
*/
|
|
1382
1381
|
"border-w-s": [{
|
|
1383
|
-
"border-s": [
|
|
1382
|
+
"border-s": [i]
|
|
1384
1383
|
}],
|
|
1385
1384
|
/**
|
|
1386
1385
|
* Border Width End
|
|
1387
1386
|
* @see https://tailwindcss.com/docs/border-width
|
|
1388
1387
|
*/
|
|
1389
1388
|
"border-w-e": [{
|
|
1390
|
-
"border-e": [
|
|
1389
|
+
"border-e": [i]
|
|
1391
1390
|
}],
|
|
1392
1391
|
/**
|
|
1393
1392
|
* Border Width Top
|
|
1394
1393
|
* @see https://tailwindcss.com/docs/border-width
|
|
1395
1394
|
*/
|
|
1396
1395
|
"border-w-t": [{
|
|
1397
|
-
"border-t": [
|
|
1396
|
+
"border-t": [i]
|
|
1398
1397
|
}],
|
|
1399
1398
|
/**
|
|
1400
1399
|
* Border Width Right
|
|
1401
1400
|
* @see https://tailwindcss.com/docs/border-width
|
|
1402
1401
|
*/
|
|
1403
1402
|
"border-w-r": [{
|
|
1404
|
-
"border-r": [
|
|
1403
|
+
"border-r": [i]
|
|
1405
1404
|
}],
|
|
1406
1405
|
/**
|
|
1407
1406
|
* Border Width Bottom
|
|
1408
1407
|
* @see https://tailwindcss.com/docs/border-width
|
|
1409
1408
|
*/
|
|
1410
1409
|
"border-w-b": [{
|
|
1411
|
-
"border-b": [
|
|
1410
|
+
"border-b": [i]
|
|
1412
1411
|
}],
|
|
1413
1412
|
/**
|
|
1414
1413
|
* Border Width Left
|
|
1415
1414
|
* @see https://tailwindcss.com/docs/border-width
|
|
1416
1415
|
*/
|
|
1417
1416
|
"border-w-l": [{
|
|
1418
|
-
"border-l": [
|
|
1417
|
+
"border-l": [i]
|
|
1419
1418
|
}],
|
|
1420
1419
|
/**
|
|
1421
1420
|
* Border Opacity
|
|
1422
1421
|
* @see https://tailwindcss.com/docs/border-opacity
|
|
1423
1422
|
*/
|
|
1424
1423
|
"border-opacity": [{
|
|
1425
|
-
"border-opacity": [
|
|
1424
|
+
"border-opacity": [x]
|
|
1426
1425
|
}],
|
|
1427
1426
|
/**
|
|
1428
1427
|
* Border Style
|
|
1429
1428
|
* @see https://tailwindcss.com/docs/border-style
|
|
1430
1429
|
*/
|
|
1431
1430
|
"border-style": [{
|
|
1432
|
-
border: [
|
|
1431
|
+
border: [...$(), "hidden"]
|
|
1433
1432
|
}],
|
|
1434
1433
|
/**
|
|
1435
1434
|
* Divide Width X
|
|
1436
1435
|
* @see https://tailwindcss.com/docs/divide-width
|
|
1437
1436
|
*/
|
|
1438
1437
|
"divide-x": [{
|
|
1439
|
-
"divide-x": [
|
|
1438
|
+
"divide-x": [i]
|
|
1440
1439
|
}],
|
|
1441
1440
|
/**
|
|
1442
1441
|
* Divide Width X Reverse
|
|
@@ -1448,7 +1447,7 @@ const x = (e) => {
|
|
|
1448
1447
|
* @see https://tailwindcss.com/docs/divide-width
|
|
1449
1448
|
*/
|
|
1450
1449
|
"divide-y": [{
|
|
1451
|
-
"divide-y": [
|
|
1450
|
+
"divide-y": [i]
|
|
1452
1451
|
}],
|
|
1453
1452
|
/**
|
|
1454
1453
|
* Divide Width Y Reverse
|
|
@@ -1460,14 +1459,14 @@ const x = (e) => {
|
|
|
1460
1459
|
* @see https://tailwindcss.com/docs/divide-opacity
|
|
1461
1460
|
*/
|
|
1462
1461
|
"divide-opacity": [{
|
|
1463
|
-
"divide-opacity": [
|
|
1462
|
+
"divide-opacity": [x]
|
|
1464
1463
|
}],
|
|
1465
1464
|
/**
|
|
1466
1465
|
* Divide Style
|
|
1467
1466
|
* @see https://tailwindcss.com/docs/divide-style
|
|
1468
1467
|
*/
|
|
1469
1468
|
"divide-style": [{
|
|
1470
|
-
divide:
|
|
1469
|
+
divide: $()
|
|
1471
1470
|
}],
|
|
1472
1471
|
/**
|
|
1473
1472
|
* Border Color
|
|
@@ -1544,21 +1543,21 @@ const x = (e) => {
|
|
|
1544
1543
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1545
1544
|
*/
|
|
1546
1545
|
"outline-style": [{
|
|
1547
|
-
outline: ["",
|
|
1546
|
+
outline: ["", ...$()]
|
|
1548
1547
|
}],
|
|
1549
1548
|
/**
|
|
1550
1549
|
* Outline Offset
|
|
1551
1550
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1552
1551
|
*/
|
|
1553
1552
|
"outline-offset": [{
|
|
1554
|
-
"outline-offset": [
|
|
1553
|
+
"outline-offset": [k, h]
|
|
1555
1554
|
}],
|
|
1556
1555
|
/**
|
|
1557
1556
|
* Outline Width
|
|
1558
1557
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1559
1558
|
*/
|
|
1560
1559
|
"outline-w": [{
|
|
1561
|
-
outline: [
|
|
1560
|
+
outline: [k, L]
|
|
1562
1561
|
}],
|
|
1563
1562
|
/**
|
|
1564
1563
|
* Outline Color
|
|
@@ -1572,7 +1571,7 @@ const x = (e) => {
|
|
|
1572
1571
|
* @see https://tailwindcss.com/docs/ring-width
|
|
1573
1572
|
*/
|
|
1574
1573
|
"ring-w": [{
|
|
1575
|
-
ring:
|
|
1574
|
+
ring: ce()
|
|
1576
1575
|
}],
|
|
1577
1576
|
/**
|
|
1578
1577
|
* Ring Width Inset
|
|
@@ -1591,14 +1590,14 @@ const x = (e) => {
|
|
|
1591
1590
|
* @see https://tailwindcss.com/docs/ring-opacity
|
|
1592
1591
|
*/
|
|
1593
1592
|
"ring-opacity": [{
|
|
1594
|
-
"ring-opacity": [
|
|
1593
|
+
"ring-opacity": [x]
|
|
1595
1594
|
}],
|
|
1596
1595
|
/**
|
|
1597
1596
|
* Ring Offset Width
|
|
1598
1597
|
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
1599
1598
|
*/
|
|
1600
1599
|
"ring-offset-w": [{
|
|
1601
|
-
"ring-offset": [
|
|
1600
|
+
"ring-offset": [k, L]
|
|
1602
1601
|
}],
|
|
1603
1602
|
/**
|
|
1604
1603
|
* Ring Offset Color
|
|
@@ -1613,35 +1612,35 @@ const x = (e) => {
|
|
|
1613
1612
|
* @see https://tailwindcss.com/docs/box-shadow
|
|
1614
1613
|
*/
|
|
1615
1614
|
shadow: [{
|
|
1616
|
-
shadow: ["", "inner", "none",
|
|
1615
|
+
shadow: ["", "inner", "none", E, _r]
|
|
1617
1616
|
}],
|
|
1618
1617
|
/**
|
|
1619
1618
|
* Box Shadow Color
|
|
1620
1619
|
* @see https://tailwindcss.com/docs/box-shadow-color
|
|
1621
1620
|
*/
|
|
1622
1621
|
"shadow-color": [{
|
|
1623
|
-
shadow: [
|
|
1622
|
+
shadow: [I]
|
|
1624
1623
|
}],
|
|
1625
1624
|
/**
|
|
1626
1625
|
* Opacity
|
|
1627
1626
|
* @see https://tailwindcss.com/docs/opacity
|
|
1628
1627
|
*/
|
|
1629
1628
|
opacity: [{
|
|
1630
|
-
opacity: [
|
|
1629
|
+
opacity: [x]
|
|
1631
1630
|
}],
|
|
1632
1631
|
/**
|
|
1633
1632
|
* Mix Blend Mode
|
|
1634
1633
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1635
1634
|
*/
|
|
1636
1635
|
"mix-blend": [{
|
|
1637
|
-
"mix-blend": [...
|
|
1636
|
+
"mix-blend": [...ue(), "plus-lighter", "plus-darker"]
|
|
1638
1637
|
}],
|
|
1639
1638
|
/**
|
|
1640
1639
|
* Background Blend Mode
|
|
1641
1640
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1642
1641
|
*/
|
|
1643
1642
|
"bg-blend": [{
|
|
1644
|
-
"bg-blend":
|
|
1643
|
+
"bg-blend": ue()
|
|
1645
1644
|
}],
|
|
1646
1645
|
// Filters
|
|
1647
1646
|
/**
|
|
@@ -1678,42 +1677,42 @@ const x = (e) => {
|
|
|
1678
1677
|
* @see https://tailwindcss.com/docs/drop-shadow
|
|
1679
1678
|
*/
|
|
1680
1679
|
"drop-shadow": [{
|
|
1681
|
-
"drop-shadow": ["", "none",
|
|
1680
|
+
"drop-shadow": ["", "none", E, h]
|
|
1682
1681
|
}],
|
|
1683
1682
|
/**
|
|
1684
1683
|
* Grayscale
|
|
1685
1684
|
* @see https://tailwindcss.com/docs/grayscale
|
|
1686
1685
|
*/
|
|
1687
1686
|
grayscale: [{
|
|
1688
|
-
grayscale: [
|
|
1687
|
+
grayscale: [c]
|
|
1689
1688
|
}],
|
|
1690
1689
|
/**
|
|
1691
1690
|
* Hue Rotate
|
|
1692
1691
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
1693
1692
|
*/
|
|
1694
1693
|
"hue-rotate": [{
|
|
1695
|
-
"hue-rotate": [
|
|
1694
|
+
"hue-rotate": [g]
|
|
1696
1695
|
}],
|
|
1697
1696
|
/**
|
|
1698
1697
|
* Invert
|
|
1699
1698
|
* @see https://tailwindcss.com/docs/invert
|
|
1700
1699
|
*/
|
|
1701
1700
|
invert: [{
|
|
1702
|
-
invert: [
|
|
1701
|
+
invert: [m]
|
|
1703
1702
|
}],
|
|
1704
1703
|
/**
|
|
1705
1704
|
* Saturate
|
|
1706
1705
|
* @see https://tailwindcss.com/docs/saturate
|
|
1707
1706
|
*/
|
|
1708
1707
|
saturate: [{
|
|
1709
|
-
saturate: [
|
|
1708
|
+
saturate: [H]
|
|
1710
1709
|
}],
|
|
1711
1710
|
/**
|
|
1712
1711
|
* Sepia
|
|
1713
1712
|
* @see https://tailwindcss.com/docs/sepia
|
|
1714
1713
|
*/
|
|
1715
1714
|
sepia: [{
|
|
1716
|
-
sepia: [
|
|
1715
|
+
sepia: [O]
|
|
1717
1716
|
}],
|
|
1718
1717
|
/**
|
|
1719
1718
|
* Backdrop Filter
|
|
@@ -1749,42 +1748,42 @@ const x = (e) => {
|
|
|
1749
1748
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
1750
1749
|
*/
|
|
1751
1750
|
"backdrop-grayscale": [{
|
|
1752
|
-
"backdrop-grayscale": [
|
|
1751
|
+
"backdrop-grayscale": [c]
|
|
1753
1752
|
}],
|
|
1754
1753
|
/**
|
|
1755
1754
|
* Backdrop Hue Rotate
|
|
1756
1755
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
1757
1756
|
*/
|
|
1758
1757
|
"backdrop-hue-rotate": [{
|
|
1759
|
-
"backdrop-hue-rotate": [
|
|
1758
|
+
"backdrop-hue-rotate": [g]
|
|
1760
1759
|
}],
|
|
1761
1760
|
/**
|
|
1762
1761
|
* Backdrop Invert
|
|
1763
1762
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
1764
1763
|
*/
|
|
1765
1764
|
"backdrop-invert": [{
|
|
1766
|
-
"backdrop-invert": [
|
|
1765
|
+
"backdrop-invert": [m]
|
|
1767
1766
|
}],
|
|
1768
1767
|
/**
|
|
1769
1768
|
* Backdrop Opacity
|
|
1770
1769
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
1771
1770
|
*/
|
|
1772
1771
|
"backdrop-opacity": [{
|
|
1773
|
-
"backdrop-opacity": [
|
|
1772
|
+
"backdrop-opacity": [x]
|
|
1774
1773
|
}],
|
|
1775
1774
|
/**
|
|
1776
1775
|
* Backdrop Saturate
|
|
1777
1776
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
1778
1777
|
*/
|
|
1779
1778
|
"backdrop-saturate": [{
|
|
1780
|
-
"backdrop-saturate": [
|
|
1779
|
+
"backdrop-saturate": [H]
|
|
1781
1780
|
}],
|
|
1782
1781
|
/**
|
|
1783
1782
|
* Backdrop Sepia
|
|
1784
1783
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
1785
1784
|
*/
|
|
1786
1785
|
"backdrop-sepia": [{
|
|
1787
|
-
"backdrop-sepia": [
|
|
1786
|
+
"backdrop-sepia": [O]
|
|
1788
1787
|
}],
|
|
1789
1788
|
// Tables
|
|
1790
1789
|
/**
|
|
@@ -1799,21 +1798,21 @@ const x = (e) => {
|
|
|
1799
1798
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
1800
1799
|
*/
|
|
1801
1800
|
"border-spacing": [{
|
|
1802
|
-
"border-spacing": [
|
|
1801
|
+
"border-spacing": [l]
|
|
1803
1802
|
}],
|
|
1804
1803
|
/**
|
|
1805
1804
|
* Border Spacing X
|
|
1806
1805
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
1807
1806
|
*/
|
|
1808
1807
|
"border-spacing-x": [{
|
|
1809
|
-
"border-spacing-x": [
|
|
1808
|
+
"border-spacing-x": [l]
|
|
1810
1809
|
}],
|
|
1811
1810
|
/**
|
|
1812
1811
|
* Border Spacing Y
|
|
1813
1812
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
1814
1813
|
*/
|
|
1815
1814
|
"border-spacing-y": [{
|
|
1816
|
-
"border-spacing-y": [
|
|
1815
|
+
"border-spacing-y": [l]
|
|
1817
1816
|
}],
|
|
1818
1817
|
/**
|
|
1819
1818
|
* Table Layout
|
|
@@ -1878,56 +1877,56 @@ const x = (e) => {
|
|
|
1878
1877
|
* @see https://tailwindcss.com/docs/scale
|
|
1879
1878
|
*/
|
|
1880
1879
|
scale: [{
|
|
1881
|
-
scale: [
|
|
1880
|
+
scale: [z]
|
|
1882
1881
|
}],
|
|
1883
1882
|
/**
|
|
1884
1883
|
* Scale X
|
|
1885
1884
|
* @see https://tailwindcss.com/docs/scale
|
|
1886
1885
|
*/
|
|
1887
1886
|
"scale-x": [{
|
|
1888
|
-
"scale-x": [
|
|
1887
|
+
"scale-x": [z]
|
|
1889
1888
|
}],
|
|
1890
1889
|
/**
|
|
1891
1890
|
* Scale Y
|
|
1892
1891
|
* @see https://tailwindcss.com/docs/scale
|
|
1893
1892
|
*/
|
|
1894
1893
|
"scale-y": [{
|
|
1895
|
-
"scale-y": [
|
|
1894
|
+
"scale-y": [z]
|
|
1896
1895
|
}],
|
|
1897
1896
|
/**
|
|
1898
1897
|
* Rotate
|
|
1899
1898
|
* @see https://tailwindcss.com/docs/rotate
|
|
1900
1899
|
*/
|
|
1901
1900
|
rotate: [{
|
|
1902
|
-
rotate: [
|
|
1901
|
+
rotate: [P, h]
|
|
1903
1902
|
}],
|
|
1904
1903
|
/**
|
|
1905
1904
|
* Translate X
|
|
1906
1905
|
* @see https://tailwindcss.com/docs/translate
|
|
1907
1906
|
*/
|
|
1908
1907
|
"translate-x": [{
|
|
1909
|
-
"translate-x": [
|
|
1908
|
+
"translate-x": [ae]
|
|
1910
1909
|
}],
|
|
1911
1910
|
/**
|
|
1912
1911
|
* Translate Y
|
|
1913
1912
|
* @see https://tailwindcss.com/docs/translate
|
|
1914
1913
|
*/
|
|
1915
1914
|
"translate-y": [{
|
|
1916
|
-
"translate-y": [
|
|
1915
|
+
"translate-y": [ae]
|
|
1917
1916
|
}],
|
|
1918
1917
|
/**
|
|
1919
1918
|
* Skew X
|
|
1920
1919
|
* @see https://tailwindcss.com/docs/skew
|
|
1921
1920
|
*/
|
|
1922
1921
|
"skew-x": [{
|
|
1923
|
-
"skew-x": [
|
|
1922
|
+
"skew-x": [se]
|
|
1924
1923
|
}],
|
|
1925
1924
|
/**
|
|
1926
1925
|
* Skew Y
|
|
1927
1926
|
* @see https://tailwindcss.com/docs/skew
|
|
1928
1927
|
*/
|
|
1929
1928
|
"skew-y": [{
|
|
1930
|
-
"skew-y": [
|
|
1929
|
+
"skew-y": [se]
|
|
1931
1930
|
}],
|
|
1932
1931
|
/**
|
|
1933
1932
|
* Transform Origin
|
|
@@ -2193,7 +2192,7 @@ const x = (e) => {
|
|
|
2193
2192
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2194
2193
|
*/
|
|
2195
2194
|
"stroke-w": [{
|
|
2196
|
-
stroke: [
|
|
2195
|
+
stroke: [k, L, X]
|
|
2197
2196
|
}],
|
|
2198
2197
|
/**
|
|
2199
2198
|
* Stroke
|
|
@@ -2268,21 +2267,21 @@ const x = (e) => {
|
|
|
2268
2267
|
"font-size": ["leading"]
|
|
2269
2268
|
}
|
|
2270
2269
|
};
|
|
2271
|
-
},
|
|
2272
|
-
function
|
|
2273
|
-
return
|
|
2270
|
+
}, qr = /* @__PURE__ */ Ar(Xr);
|
|
2271
|
+
function oe(...e) {
|
|
2272
|
+
return qr(ke(e));
|
|
2274
2273
|
}
|
|
2275
|
-
let
|
|
2276
|
-
function
|
|
2277
|
-
return
|
|
2274
|
+
let q;
|
|
2275
|
+
function J() {
|
|
2276
|
+
return q === void 0 && (q = navigator.platform.includes("Mac")), q;
|
|
2278
2277
|
}
|
|
2279
|
-
function
|
|
2280
|
-
return `${e}`.toLowerCase() === "mod" ?
|
|
2278
|
+
function Jr(e) {
|
|
2279
|
+
return `${e}`.toLowerCase() === "mod" ? J() ? "⌘" : "Ctrl" : `${e}`.toLowerCase() === "alt" ? J() ? "⌥" : "Alt" : `${e}`.toLowerCase() === "shift" ? J() ? "⇧" : "Shift" : e;
|
|
2281
2280
|
}
|
|
2282
|
-
function
|
|
2283
|
-
return e.map(
|
|
2281
|
+
function Kr(e) {
|
|
2282
|
+
return e.map(Jr).join(" ");
|
|
2284
2283
|
}
|
|
2285
|
-
const
|
|
2284
|
+
const Do = Be.forwardRef(
|
|
2286
2285
|
(e, r) => {
|
|
2287
2286
|
const {
|
|
2288
2287
|
icon: t = void 0,
|
|
@@ -2291,102 +2290,108 @@ const tn = _e.forwardRef(
|
|
|
2291
2290
|
disabled: s = !1,
|
|
2292
2291
|
customClass: n = "",
|
|
2293
2292
|
// color = undefined,
|
|
2294
|
-
loading:
|
|
2295
|
-
shortcutKeys:
|
|
2293
|
+
loading: l = void 0,
|
|
2294
|
+
shortcutKeys: i = void 0,
|
|
2296
2295
|
tooltipOptions: u = {},
|
|
2297
|
-
action:
|
|
2298
|
-
isActive:
|
|
2299
|
-
children:
|
|
2300
|
-
asChild:
|
|
2296
|
+
action: c = void 0,
|
|
2297
|
+
isActive: g = void 0,
|
|
2298
|
+
children: m,
|
|
2299
|
+
asChild: d = !1,
|
|
2301
2300
|
upload: f = !1,
|
|
2302
|
-
initialDisplayedColor:
|
|
2303
|
-
dataState:
|
|
2304
|
-
...
|
|
2305
|
-
} = e,
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2301
|
+
initialDisplayedColor: y = void 0,
|
|
2302
|
+
dataState: v = !1,
|
|
2303
|
+
...p
|
|
2304
|
+
} = e, x = Co[t], C = d ? Fe : He, H = (z) => {
|
|
2305
|
+
if (s) {
|
|
2306
|
+
z.preventDefault();
|
|
2307
|
+
return;
|
|
2308
|
+
}
|
|
2309
|
+
c == null || c(z);
|
|
2310
|
+
};
|
|
2311
|
+
return /* @__PURE__ */ A(ko, { children: [
|
|
2312
|
+
/* @__PURE__ */ a(So, { asChild: !0, children: /* @__PURE__ */ A(
|
|
2313
|
+
C,
|
|
2309
2314
|
{
|
|
2310
|
-
className:
|
|
2311
|
-
"data-state":
|
|
2315
|
+
className: oe("richtext-w-[32px] richtext-h-[32px]", n),
|
|
2316
|
+
"data-state": v ? "on" : "off",
|
|
2312
2317
|
disabled: s,
|
|
2313
|
-
onClick:
|
|
2318
|
+
onClick: H,
|
|
2314
2319
|
ref: r,
|
|
2315
2320
|
size: "sm",
|
|
2316
|
-
...
|
|
2321
|
+
...p,
|
|
2317
2322
|
children: [
|
|
2318
|
-
|
|
2319
|
-
|
|
2323
|
+
x && /* @__PURE__ */ a(x, { className: "richtext-size-4" }),
|
|
2324
|
+
m
|
|
2320
2325
|
]
|
|
2321
2326
|
}
|
|
2322
2327
|
) }),
|
|
2323
|
-
o && /* @__PURE__ */
|
|
2324
|
-
|
|
2328
|
+
o && /* @__PURE__ */ a(
|
|
2329
|
+
Re,
|
|
2325
2330
|
{
|
|
2326
2331
|
...u,
|
|
2327
2332
|
className: "richtext-tooltip",
|
|
2328
|
-
children: /* @__PURE__ */
|
|
2329
|
-
/* @__PURE__ */
|
|
2330
|
-
!!(
|
|
2333
|
+
children: /* @__PURE__ */ A("div", { className: "richtext-flex richtext-max-w-24 richtext-flex-col richtext-items-center richtext-text-center", children: [
|
|
2334
|
+
/* @__PURE__ */ a("div", { children: o }),
|
|
2335
|
+
!!(i != null && i.length) && /* @__PURE__ */ a("span", { children: Kr(i) })
|
|
2331
2336
|
] })
|
|
2332
2337
|
}
|
|
2333
2338
|
)
|
|
2334
2339
|
] });
|
|
2335
2340
|
}
|
|
2336
|
-
),
|
|
2337
|
-
function
|
|
2338
|
-
const o =
|
|
2339
|
-
|
|
2341
|
+
), K = typeof window > "u";
|
|
2342
|
+
function ve(e, r, t = window) {
|
|
2343
|
+
const o = Y(void 0);
|
|
2344
|
+
V(() => {
|
|
2340
2345
|
o.current = r;
|
|
2341
|
-
}, [r]),
|
|
2346
|
+
}, [r]), V(() => {
|
|
2342
2347
|
if (!(t && t.addEventListener)) return;
|
|
2343
|
-
const n = (
|
|
2344
|
-
o.current && o.current(
|
|
2348
|
+
const n = (l) => {
|
|
2349
|
+
o.current && o.current(l);
|
|
2345
2350
|
};
|
|
2346
2351
|
return t.addEventListener(e, n), () => {
|
|
2347
2352
|
t.removeEventListener(e, n);
|
|
2348
2353
|
};
|
|
2349
2354
|
}, [e, t]);
|
|
2350
2355
|
}
|
|
2351
|
-
function
|
|
2352
|
-
const { initializeWithValue: o = !0 } = t, s =
|
|
2353
|
-
(
|
|
2356
|
+
function Q(e, r, t = {}) {
|
|
2357
|
+
const { initializeWithValue: o = !0 } = t, s = S(
|
|
2358
|
+
(d) => t.serializer ? t.serializer(d) : JSON.stringify(d),
|
|
2354
2359
|
[t]
|
|
2355
|
-
), n =
|
|
2356
|
-
(
|
|
2360
|
+
), n = S(
|
|
2361
|
+
(d) => {
|
|
2357
2362
|
if (t.deserializer)
|
|
2358
|
-
return t.deserializer(
|
|
2359
|
-
if (
|
|
2363
|
+
return t.deserializer(d);
|
|
2364
|
+
if (d === "undefined")
|
|
2360
2365
|
return;
|
|
2361
2366
|
const f = r instanceof Function ? r() : r;
|
|
2362
|
-
let
|
|
2367
|
+
let y;
|
|
2363
2368
|
try {
|
|
2364
|
-
|
|
2365
|
-
} catch (
|
|
2366
|
-
return console.error("Error parsing JSON:",
|
|
2369
|
+
y = JSON.parse(d);
|
|
2370
|
+
} catch (v) {
|
|
2371
|
+
return console.error("Error parsing JSON:", v), f;
|
|
2367
2372
|
}
|
|
2368
|
-
return
|
|
2373
|
+
return y;
|
|
2369
2374
|
},
|
|
2370
2375
|
[t, r]
|
|
2371
|
-
),
|
|
2372
|
-
const
|
|
2373
|
-
if (
|
|
2374
|
-
return
|
|
2376
|
+
), l = S(() => {
|
|
2377
|
+
const d = r instanceof Function ? r() : r;
|
|
2378
|
+
if (K)
|
|
2379
|
+
return d;
|
|
2375
2380
|
try {
|
|
2376
2381
|
const f = window.localStorage.getItem(e);
|
|
2377
|
-
return f ? n(f) :
|
|
2382
|
+
return f ? n(f) : d;
|
|
2378
2383
|
} catch (f) {
|
|
2379
2384
|
return console.warn(
|
|
2380
2385
|
`Error reading localStorage key “${e}”:`,
|
|
2381
2386
|
f
|
|
2382
|
-
),
|
|
2387
|
+
), d;
|
|
2383
2388
|
}
|
|
2384
|
-
}, [r, e, n]), [
|
|
2385
|
-
|
|
2389
|
+
}, [r, e, n]), [i, u] = Ge(() => o ? l() : r instanceof Function ? r() : r), c = S((d) => {
|
|
2390
|
+
K && console.warn(
|
|
2386
2391
|
`Tried setting localStorage key “${e}” even though environment is not a client`
|
|
2387
2392
|
);
|
|
2388
2393
|
try {
|
|
2389
|
-
const f =
|
|
2394
|
+
const f = d instanceof Function ? d(l()) : d;
|
|
2390
2395
|
window.localStorage.setItem(e, s(f)), u(f), window.dispatchEvent(
|
|
2391
2396
|
new StorageEvent("local-storage", {
|
|
2392
2397
|
key: e
|
|
@@ -2398,30 +2403,30 @@ function ee(e, r, t = {}) {
|
|
|
2398
2403
|
f
|
|
2399
2404
|
);
|
|
2400
2405
|
}
|
|
2401
|
-
}, [e, s,
|
|
2402
|
-
|
|
2406
|
+
}, [e, s, l]), g = S(() => {
|
|
2407
|
+
K && console.warn(
|
|
2403
2408
|
`Tried removing localStorage key “${e}” even though environment is not a client`
|
|
2404
2409
|
);
|
|
2405
|
-
const
|
|
2406
|
-
window.localStorage.removeItem(e), u(
|
|
2410
|
+
const d = r instanceof Function ? r() : r;
|
|
2411
|
+
window.localStorage.removeItem(e), u(d), window.dispatchEvent(
|
|
2407
2412
|
new StorageEvent("local-storage", {
|
|
2408
2413
|
key: e
|
|
2409
2414
|
})
|
|
2410
2415
|
);
|
|
2411
2416
|
}, [e, r]);
|
|
2412
|
-
|
|
2413
|
-
u(
|
|
2417
|
+
V(() => {
|
|
2418
|
+
u(l());
|
|
2414
2419
|
}, [e]);
|
|
2415
|
-
const
|
|
2416
|
-
(
|
|
2417
|
-
|
|
2420
|
+
const m = S(
|
|
2421
|
+
(d) => {
|
|
2422
|
+
d.key && d.key !== e || u(l());
|
|
2418
2423
|
},
|
|
2419
|
-
[e,
|
|
2424
|
+
[e, l]
|
|
2420
2425
|
);
|
|
2421
|
-
return
|
|
2426
|
+
return ve("storage", m), ve("local-storage", m), [i, c, g];
|
|
2422
2427
|
}
|
|
2423
|
-
function
|
|
2424
|
-
return /* @__PURE__ */
|
|
2428
|
+
function Qr(e) {
|
|
2429
|
+
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ a(
|
|
2425
2430
|
"path",
|
|
2426
2431
|
{
|
|
2427
2432
|
fill: "currentColor",
|
|
@@ -2429,8 +2434,8 @@ function to(e) {
|
|
|
2429
2434
|
}
|
|
2430
2435
|
) });
|
|
2431
2436
|
}
|
|
2432
|
-
function
|
|
2433
|
-
return /* @__PURE__ */
|
|
2437
|
+
function Yr(e) {
|
|
2438
|
+
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ a(
|
|
2434
2439
|
"path",
|
|
2435
2440
|
{
|
|
2436
2441
|
fill: "none",
|
|
@@ -2442,8 +2447,8 @@ function ro(e) {
|
|
|
2442
2447
|
}
|
|
2443
2448
|
) });
|
|
2444
2449
|
}
|
|
2445
|
-
function
|
|
2446
|
-
return /* @__PURE__ */
|
|
2450
|
+
function Zr() {
|
|
2451
|
+
return /* @__PURE__ */ a(
|
|
2447
2452
|
"svg",
|
|
2448
2453
|
{
|
|
2449
2454
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2454,7 +2459,7 @@ function oo() {
|
|
|
2454
2459
|
width: "1em",
|
|
2455
2460
|
height: "1em",
|
|
2456
2461
|
viewBox: "0 0 24 24",
|
|
2457
|
-
children: /* @__PURE__ */
|
|
2462
|
+
children: /* @__PURE__ */ a(
|
|
2458
2463
|
"path",
|
|
2459
2464
|
{
|
|
2460
2465
|
fill: "none",
|
|
@@ -2469,8 +2474,8 @@ function oo() {
|
|
|
2469
2474
|
}
|
|
2470
2475
|
);
|
|
2471
2476
|
}
|
|
2472
|
-
function
|
|
2473
|
-
return /* @__PURE__ */
|
|
2477
|
+
function eo() {
|
|
2478
|
+
return /* @__PURE__ */ a(
|
|
2474
2479
|
"svg",
|
|
2475
2480
|
{
|
|
2476
2481
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2481,7 +2486,7 @@ function no() {
|
|
|
2481
2486
|
width: "1em",
|
|
2482
2487
|
height: "1em",
|
|
2483
2488
|
viewBox: "0 0 24 24",
|
|
2484
|
-
children: /* @__PURE__ */
|
|
2489
|
+
children: /* @__PURE__ */ a(
|
|
2485
2490
|
"path",
|
|
2486
2491
|
{
|
|
2487
2492
|
fill: "none",
|
|
@@ -2496,8 +2501,8 @@ function no() {
|
|
|
2496
2501
|
}
|
|
2497
2502
|
);
|
|
2498
2503
|
}
|
|
2499
|
-
function
|
|
2500
|
-
return /* @__PURE__ */
|
|
2504
|
+
function to(e) {
|
|
2505
|
+
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ a(
|
|
2501
2506
|
"path",
|
|
2502
2507
|
{
|
|
2503
2508
|
fill: "currentColor",
|
|
@@ -2505,8 +2510,8 @@ function io(e) {
|
|
|
2505
2510
|
}
|
|
2506
2511
|
) });
|
|
2507
2512
|
}
|
|
2508
|
-
function
|
|
2509
|
-
return /* @__PURE__ */
|
|
2513
|
+
function ro(e) {
|
|
2514
|
+
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ a(
|
|
2510
2515
|
"path",
|
|
2511
2516
|
{
|
|
2512
2517
|
fill: "currentColor",
|
|
@@ -2514,8 +2519,8 @@ function so(e) {
|
|
|
2514
2519
|
}
|
|
2515
2520
|
) });
|
|
2516
2521
|
}
|
|
2517
|
-
function
|
|
2518
|
-
return /* @__PURE__ */
|
|
2522
|
+
function oo(e) {
|
|
2523
|
+
return /* @__PURE__ */ a(
|
|
2519
2524
|
"svg",
|
|
2520
2525
|
{
|
|
2521
2526
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2526,7 +2531,7 @@ function co(e) {
|
|
|
2526
2531
|
height: "1em",
|
|
2527
2532
|
viewBox: "0 0 48 48",
|
|
2528
2533
|
...e,
|
|
2529
|
-
children: /* @__PURE__ */
|
|
2534
|
+
children: /* @__PURE__ */ a(
|
|
2530
2535
|
"path",
|
|
2531
2536
|
{
|
|
2532
2537
|
fill: "currentColor",
|
|
@@ -2539,11 +2544,11 @@ function co(e) {
|
|
|
2539
2544
|
}
|
|
2540
2545
|
);
|
|
2541
2546
|
}
|
|
2542
|
-
function
|
|
2543
|
-
return /* @__PURE__ */
|
|
2547
|
+
function no(e) {
|
|
2548
|
+
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M9 7v10h6v-2h-4V7z" }) });
|
|
2544
2549
|
}
|
|
2545
|
-
function
|
|
2546
|
-
return /* @__PURE__ */
|
|
2550
|
+
function io(e) {
|
|
2551
|
+
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ a(
|
|
2547
2552
|
"path",
|
|
2548
2553
|
{
|
|
2549
2554
|
fill: "currentColor",
|
|
@@ -2551,8 +2556,8 @@ function lo(e) {
|
|
|
2551
2556
|
}
|
|
2552
2557
|
) });
|
|
2553
2558
|
}
|
|
2554
|
-
function
|
|
2555
|
-
return /* @__PURE__ */
|
|
2559
|
+
function so(e) {
|
|
2560
|
+
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ a(
|
|
2556
2561
|
"path",
|
|
2557
2562
|
{
|
|
2558
2563
|
fill: "currentColor",
|
|
@@ -2560,8 +2565,8 @@ function uo(e) {
|
|
|
2560
2565
|
}
|
|
2561
2566
|
) });
|
|
2562
2567
|
}
|
|
2563
|
-
function
|
|
2564
|
-
return /* @__PURE__ */
|
|
2568
|
+
function lo() {
|
|
2569
|
+
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ a(
|
|
2565
2570
|
"path",
|
|
2566
2571
|
{
|
|
2567
2572
|
fill: "currentColor",
|
|
@@ -2569,26 +2574,26 @@ function ho() {
|
|
|
2569
2574
|
}
|
|
2570
2575
|
) });
|
|
2571
2576
|
}
|
|
2572
|
-
function
|
|
2573
|
-
return /* @__PURE__ */
|
|
2577
|
+
function ao() {
|
|
2578
|
+
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("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
2579
|
}
|
|
2575
|
-
function
|
|
2576
|
-
return /* @__PURE__ */
|
|
2580
|
+
function co() {
|
|
2581
|
+
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("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
2582
|
}
|
|
2578
|
-
function
|
|
2579
|
-
return /* @__PURE__ */
|
|
2583
|
+
function uo() {
|
|
2584
|
+
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("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
2585
|
}
|
|
2581
|
-
function
|
|
2582
|
-
return /* @__PURE__ */
|
|
2586
|
+
function ho() {
|
|
2587
|
+
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("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
2588
|
}
|
|
2584
|
-
function
|
|
2585
|
-
return /* @__PURE__ */
|
|
2586
|
-
/* @__PURE__ */
|
|
2587
|
-
/* @__PURE__ */
|
|
2589
|
+
function go() {
|
|
2590
|
+
return /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 32 32", children: [
|
|
2591
|
+
/* @__PURE__ */ a("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" }),
|
|
2592
|
+
/* @__PURE__ */ a("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
2593
|
] });
|
|
2589
2594
|
}
|
|
2590
|
-
function
|
|
2591
|
-
return /* @__PURE__ */
|
|
2595
|
+
function mo() {
|
|
2596
|
+
return /* @__PURE__ */ A(
|
|
2592
2597
|
"svg",
|
|
2593
2598
|
{
|
|
2594
2599
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2597,14 +2602,14 @@ function bo() {
|
|
|
2597
2602
|
className: "icon",
|
|
2598
2603
|
viewBox: "0 0 1024 1024",
|
|
2599
2604
|
children: [
|
|
2600
|
-
/* @__PURE__ */
|
|
2605
|
+
/* @__PURE__ */ a(
|
|
2601
2606
|
"path",
|
|
2602
2607
|
{
|
|
2603
2608
|
fill: "currentColor",
|
|
2604
2609
|
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
2610
|
}
|
|
2606
2611
|
),
|
|
2607
|
-
/* @__PURE__ */
|
|
2612
|
+
/* @__PURE__ */ a(
|
|
2608
2613
|
"path",
|
|
2609
2614
|
{
|
|
2610
2615
|
fill: "currentColor",
|
|
@@ -2615,38 +2620,69 @@ function bo() {
|
|
|
2615
2620
|
}
|
|
2616
2621
|
);
|
|
2617
2622
|
}
|
|
2618
|
-
function
|
|
2619
|
-
return /* @__PURE__ */
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
+
function po() {
|
|
2624
|
+
return /* @__PURE__ */ a(
|
|
2625
|
+
"svg",
|
|
2626
|
+
{
|
|
2627
|
+
height: "1em",
|
|
2628
|
+
viewBox: "0 0 15 15",
|
|
2629
|
+
width: "1em",
|
|
2630
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2631
|
+
children: /* @__PURE__ */ a(
|
|
2632
|
+
"path",
|
|
2633
|
+
{
|
|
2634
|
+
d: "M2.5 10.5H2v.5h.5zm2 0v.5H5v-.5zm9-7h.5v-.207l-.146-.147zm-3-3l.354-.354L10.707 0H10.5zM2 6v4.5h1V6zm.5 5h2v-1h-2zm2.5-.5v-2H4v2zM3 7h2V6H3zM2 5V1.5H1V5zm11-1.5V5h1V3.5zM2.5 1h8V0h-8zm7.646-.146l3 3l.708-.708l-3-3zM2 1.5a.5.5 0 0 1 .5-.5V0A1.5 1.5 0 0 0 1 1.5zM1 12v1.5h1V12zm1.5 3h10v-1h-10zM14 13.5V12h-1v1.5zM12.5 15a1.5 1.5 0 0 0 1.5-1.5h-1a.5.5 0 0 1-.5.5zM1 13.5A1.5 1.5 0 0 0 2.5 15v-1a.5.5 0 0 1-.5-.5zM6 7h3V6H6zm0 4h3v-1H6zm1-4.5v4h1v-4zm3.5.5H13V6h-2.5zM10 6v5h1V6zm.5 3H12V8h-1.5z",
|
|
2635
|
+
fill: "currentColor"
|
|
2636
|
+
}
|
|
2637
|
+
)
|
|
2638
|
+
}
|
|
2639
|
+
);
|
|
2623
2640
|
}
|
|
2624
|
-
function
|
|
2625
|
-
return /* @__PURE__ */
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2641
|
+
function fo() {
|
|
2642
|
+
return /* @__PURE__ */ a(
|
|
2643
|
+
"svg",
|
|
2644
|
+
{
|
|
2645
|
+
height: "1em",
|
|
2646
|
+
viewBox: "0 0 24 24",
|
|
2647
|
+
width: "1em",
|
|
2648
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2649
|
+
children: /* @__PURE__ */ A(
|
|
2650
|
+
"g",
|
|
2651
|
+
{
|
|
2652
|
+
fill: "none",
|
|
2653
|
+
stroke: "currentColor",
|
|
2654
|
+
strokeLinecap: "round",
|
|
2655
|
+
strokeLinejoin: "round",
|
|
2656
|
+
strokeWidth: "2",
|
|
2657
|
+
children: [
|
|
2658
|
+
/* @__PURE__ */ a("path", { d: "M14 3v4a1 1 0 0 0 1 1h4" }),
|
|
2659
|
+
/* @__PURE__ */ a("path", { d: "M5 12V5a2 2 0 0 1 2-2h7l5 5v4M2 21v-6m3 0v6m-3-3h3m15-3v6h2m-9 0v-6l2 3l2-3v6m-9.5-6h3M9 15v6" })
|
|
2660
|
+
]
|
|
2661
|
+
}
|
|
2662
|
+
)
|
|
2663
|
+
}
|
|
2664
|
+
);
|
|
2629
2665
|
}
|
|
2630
|
-
function
|
|
2631
|
-
return /* @__PURE__ */
|
|
2666
|
+
function bo() {
|
|
2667
|
+
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 20 20", children: /* @__PURE__ */ a("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" }) });
|
|
2632
2668
|
}
|
|
2633
|
-
function
|
|
2634
|
-
return /* @__PURE__ */
|
|
2635
|
-
/* @__PURE__ */
|
|
2636
|
-
/* @__PURE__ */
|
|
2637
|
-
/* @__PURE__ */
|
|
2638
|
-
/* @__PURE__ */
|
|
2639
|
-
/* @__PURE__ */
|
|
2669
|
+
function vo() {
|
|
2670
|
+
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 48 48", children: /* @__PURE__ */ A("g", { fill: "none", stroke: "currentColor", strokeWidth: "4", children: [
|
|
2671
|
+
/* @__PURE__ */ a("circle", { cx: "10", cy: "24", r: "4" }),
|
|
2672
|
+
/* @__PURE__ */ a("circle", { cx: "38", cy: "10", r: "4" }),
|
|
2673
|
+
/* @__PURE__ */ a("circle", { cx: "38", cy: "24", r: "4" }),
|
|
2674
|
+
/* @__PURE__ */ a("circle", { cx: "38", cy: "38", r: "4" }),
|
|
2675
|
+
/* @__PURE__ */ a("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M34 38H22V10h12M14 24h20" })
|
|
2640
2676
|
] }) });
|
|
2641
2677
|
}
|
|
2642
|
-
function
|
|
2643
|
-
return /* @__PURE__ */
|
|
2678
|
+
function wo() {
|
|
2679
|
+
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 20 20", children: /* @__PURE__ */ a("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" }) });
|
|
2644
2680
|
}
|
|
2645
|
-
function
|
|
2646
|
-
return /* @__PURE__ */
|
|
2681
|
+
function xo() {
|
|
2682
|
+
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("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" }) });
|
|
2647
2683
|
}
|
|
2648
|
-
function
|
|
2649
|
-
return /* @__PURE__ */
|
|
2684
|
+
function yo() {
|
|
2685
|
+
return /* @__PURE__ */ a(
|
|
2650
2686
|
"svg",
|
|
2651
2687
|
{
|
|
2652
2688
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2656,7 +2692,7 @@ function ko() {
|
|
|
2656
2692
|
width: "1em",
|
|
2657
2693
|
height: "1em",
|
|
2658
2694
|
viewBox: "0 0 24 24",
|
|
2659
|
-
children: /* @__PURE__ */
|
|
2695
|
+
children: /* @__PURE__ */ a(
|
|
2660
2696
|
"path",
|
|
2661
2697
|
{
|
|
2662
2698
|
fill: "currentColor",
|
|
@@ -2666,24 +2702,24 @@ function ko() {
|
|
|
2666
2702
|
}
|
|
2667
2703
|
);
|
|
2668
2704
|
}
|
|
2669
|
-
const
|
|
2670
|
-
Bold:
|
|
2705
|
+
const Co = {
|
|
2706
|
+
Bold: fr,
|
|
2671
2707
|
LoaderCircle: pr,
|
|
2672
2708
|
Italic: mr,
|
|
2673
|
-
Underline:
|
|
2674
|
-
Quote:
|
|
2675
|
-
TextQuote:
|
|
2676
|
-
Strikethrough:
|
|
2677
|
-
Minus:
|
|
2678
|
-
Eraser:
|
|
2679
|
-
PaintRoller:
|
|
2680
|
-
Redo2:
|
|
2681
|
-
Undo2:
|
|
2682
|
-
AlignCenter:
|
|
2683
|
-
AlignJustify:
|
|
2684
|
-
AlignLeft:
|
|
2685
|
-
AlignRight:
|
|
2686
|
-
ChevronDown:
|
|
2709
|
+
Underline: gr,
|
|
2710
|
+
Quote: hr,
|
|
2711
|
+
TextQuote: Yr,
|
|
2712
|
+
Strikethrough: ur,
|
|
2713
|
+
Minus: dr,
|
|
2714
|
+
Eraser: cr,
|
|
2715
|
+
PaintRoller: ar,
|
|
2716
|
+
Redo2: lr,
|
|
2717
|
+
Undo2: sr,
|
|
2718
|
+
AlignCenter: Ke,
|
|
2719
|
+
AlignJustify: Je,
|
|
2720
|
+
AlignLeft: qe,
|
|
2721
|
+
AlignRight: Xe,
|
|
2722
|
+
ChevronDown: ir,
|
|
2687
2723
|
Subscript: nr,
|
|
2688
2724
|
Superscript: or,
|
|
2689
2725
|
Code: rr,
|
|
@@ -2697,112 +2733,112 @@ const Mo = {
|
|
|
2697
2733
|
Link: qt,
|
|
2698
2734
|
ImageUp: Xt,
|
|
2699
2735
|
Video: Dt,
|
|
2700
|
-
Maximize:
|
|
2701
|
-
Minimize:
|
|
2736
|
+
Maximize: Ut,
|
|
2737
|
+
Minimize: Ft,
|
|
2702
2738
|
Table: _t,
|
|
2703
2739
|
Sparkles: $t,
|
|
2704
|
-
Pencil:
|
|
2705
|
-
Unlink:
|
|
2740
|
+
Pencil: Wt,
|
|
2741
|
+
Unlink: Ot,
|
|
2706
2742
|
BetweenHorizonalEnd: Gt,
|
|
2707
2743
|
BetweenHorizonalStart: Bt,
|
|
2708
2744
|
BetweenVerticalStart: jt,
|
|
2709
|
-
BetweenVerticalEnd:
|
|
2710
|
-
TableCellsMerge:
|
|
2711
|
-
TableCellsSplit:
|
|
2712
|
-
Trash2:
|
|
2713
|
-
Trash:
|
|
2714
|
-
Replace:
|
|
2715
|
-
ChevronsUpDown:
|
|
2716
|
-
LineHeight:
|
|
2717
|
-
Word:
|
|
2718
|
-
HeadingParagraph:
|
|
2719
|
-
Heading1:
|
|
2745
|
+
BetweenVerticalEnd: It,
|
|
2746
|
+
TableCellsMerge: Pt,
|
|
2747
|
+
TableCellsSplit: Nt,
|
|
2748
|
+
Trash2: Tt,
|
|
2749
|
+
Trash: Rt,
|
|
2750
|
+
Replace: me,
|
|
2751
|
+
ChevronsUpDown: Ht,
|
|
2752
|
+
LineHeight: ro,
|
|
2753
|
+
Word: to,
|
|
2754
|
+
HeadingParagraph: Vt,
|
|
2755
|
+
Heading1: At,
|
|
2720
2756
|
Heading2: Et,
|
|
2721
2757
|
Heading3: Lt,
|
|
2722
|
-
Heading4:
|
|
2758
|
+
Heading4: St,
|
|
2723
2759
|
Heading5: kt,
|
|
2724
|
-
Heading6:
|
|
2725
|
-
Columns2:
|
|
2726
|
-
Columns3:
|
|
2760
|
+
Heading6: Mt,
|
|
2761
|
+
Columns2: pe,
|
|
2762
|
+
Columns3: zt,
|
|
2727
2763
|
Columns4: Ct,
|
|
2728
2764
|
Plus: yt,
|
|
2729
|
-
Grip:
|
|
2765
|
+
Grip: xt,
|
|
2730
2766
|
Copy: wt,
|
|
2731
|
-
Clipboard:
|
|
2732
|
-
PanelLeft:
|
|
2767
|
+
Clipboard: vt,
|
|
2768
|
+
PanelLeft: bt,
|
|
2733
2769
|
PanelRight: ft,
|
|
2734
|
-
Columns:
|
|
2735
|
-
Iframe:
|
|
2736
|
-
MenuDown:
|
|
2737
|
-
SizeS:
|
|
2738
|
-
SizeM:
|
|
2739
|
-
SizeL:
|
|
2740
|
-
AspectRatio:
|
|
2741
|
-
Emoji:
|
|
2742
|
-
DeleteColumn:
|
|
2743
|
-
DeleteRow:
|
|
2744
|
-
SearchAndReplace:
|
|
2745
|
-
EmojiIcon:
|
|
2770
|
+
Columns: pe,
|
|
2771
|
+
Iframe: pt,
|
|
2772
|
+
MenuDown: oo,
|
|
2773
|
+
SizeS: so,
|
|
2774
|
+
SizeM: io,
|
|
2775
|
+
SizeL: no,
|
|
2776
|
+
AspectRatio: Qr,
|
|
2777
|
+
Emoji: mt,
|
|
2778
|
+
DeleteColumn: Zr,
|
|
2779
|
+
DeleteRow: eo,
|
|
2780
|
+
SearchAndReplace: me,
|
|
2781
|
+
EmojiIcon: gt,
|
|
2746
2782
|
KatexIcon: ht,
|
|
2747
|
-
ExportPdf:
|
|
2748
|
-
ExportWord:
|
|
2749
|
-
ImportWord:
|
|
2750
|
-
ColumnAddLeft:
|
|
2751
|
-
ColumnAddRight:
|
|
2783
|
+
ExportPdf: go,
|
|
2784
|
+
ExportWord: mo,
|
|
2785
|
+
ImportWord: yo,
|
|
2786
|
+
ColumnAddLeft: ao,
|
|
2787
|
+
ColumnAddRight: co,
|
|
2752
2788
|
BookMarked: ut,
|
|
2753
|
-
Excalidraw:
|
|
2789
|
+
Excalidraw: ho,
|
|
2754
2790
|
ZoomIn: dt,
|
|
2755
|
-
ZoomOut:
|
|
2791
|
+
ZoomOut: ct,
|
|
2756
2792
|
Settings: at,
|
|
2757
|
-
Eye:
|
|
2758
|
-
TextDirection:
|
|
2759
|
-
LeftToRight:
|
|
2760
|
-
RightToLeft:
|
|
2793
|
+
Eye: lt,
|
|
2794
|
+
TextDirection: uo,
|
|
2795
|
+
LeftToRight: bo,
|
|
2796
|
+
RightToLeft: wo,
|
|
2761
2797
|
Attachment: st,
|
|
2762
|
-
GifIcon:
|
|
2763
|
-
ChevronUp:
|
|
2764
|
-
Crop:
|
|
2765
|
-
Mermaid:
|
|
2766
|
-
Twitter:
|
|
2767
|
-
CodeView:
|
|
2768
|
-
FlipX:
|
|
2769
|
-
FlipY:
|
|
2770
|
-
PencilRuler:
|
|
2771
|
-
WrapText:
|
|
2772
|
-
Loader:
|
|
2773
|
-
X:
|
|
2774
|
-
Html:
|
|
2775
|
-
ExternalLink:
|
|
2776
|
-
},
|
|
2798
|
+
GifIcon: po,
|
|
2799
|
+
ChevronUp: it,
|
|
2800
|
+
Crop: nt,
|
|
2801
|
+
Mermaid: vo,
|
|
2802
|
+
Twitter: xo,
|
|
2803
|
+
CodeView: lo,
|
|
2804
|
+
FlipX: ot,
|
|
2805
|
+
FlipY: rt,
|
|
2806
|
+
PencilRuler: tt,
|
|
2807
|
+
WrapText: et,
|
|
2808
|
+
Loader: Ze,
|
|
2809
|
+
X: Ye,
|
|
2810
|
+
Html: fo,
|
|
2811
|
+
ExternalLink: Qe
|
|
2812
|
+
}, we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, xe = ke, zo = (e, r) => (t) => {
|
|
2777
2813
|
var o;
|
|
2778
|
-
if ((r == null ? void 0 : r.variants) == null) return
|
|
2779
|
-
const { variants: s, defaultVariants: n } = r,
|
|
2780
|
-
const
|
|
2781
|
-
if (
|
|
2782
|
-
const
|
|
2783
|
-
return s[
|
|
2784
|
-
}),
|
|
2785
|
-
let [
|
|
2786
|
-
return
|
|
2787
|
-
}, {}), u = r == null || (o = r.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((
|
|
2788
|
-
let { class:
|
|
2789
|
-
return Object.entries(f).every((
|
|
2790
|
-
let [
|
|
2791
|
-
return Array.isArray(
|
|
2814
|
+
if ((r == null ? void 0 : r.variants) == null) return xe(e, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
|
|
2815
|
+
const { variants: s, defaultVariants: n } = r, l = Object.keys(s).map((c) => {
|
|
2816
|
+
const g = t == null ? void 0 : t[c], m = n == null ? void 0 : n[c];
|
|
2817
|
+
if (g === null) return null;
|
|
2818
|
+
const d = we(g) || we(m);
|
|
2819
|
+
return s[c][d];
|
|
2820
|
+
}), i = t && Object.entries(t).reduce((c, g) => {
|
|
2821
|
+
let [m, d] = g;
|
|
2822
|
+
return d === void 0 || (c[m] = d), c;
|
|
2823
|
+
}, {}), u = r == null || (o = r.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((c, g) => {
|
|
2824
|
+
let { class: m, className: d, ...f } = g;
|
|
2825
|
+
return Object.entries(f).every((y) => {
|
|
2826
|
+
let [v, p] = y;
|
|
2827
|
+
return Array.isArray(p) ? p.includes({
|
|
2792
2828
|
...n,
|
|
2793
|
-
...
|
|
2794
|
-
}[
|
|
2829
|
+
...i
|
|
2830
|
+
}[v]) : {
|
|
2795
2831
|
...n,
|
|
2796
|
-
...
|
|
2797
|
-
}[
|
|
2832
|
+
...i
|
|
2833
|
+
}[v] === p;
|
|
2798
2834
|
}) ? [
|
|
2799
|
-
...
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
] :
|
|
2835
|
+
...c,
|
|
2836
|
+
m,
|
|
2837
|
+
d
|
|
2838
|
+
] : c;
|
|
2803
2839
|
}, []);
|
|
2804
|
-
return
|
|
2805
|
-
},
|
|
2840
|
+
return xe(e, l, u, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
|
|
2841
|
+
}, Mo = zo(
|
|
2806
2842
|
"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",
|
|
2807
2843
|
{
|
|
2808
2844
|
variants: {
|
|
@@ -2821,179 +2857,74 @@ const Mo = {
|
|
|
2821
2857
|
size: "default"
|
|
2822
2858
|
}
|
|
2823
2859
|
}
|
|
2824
|
-
),
|
|
2860
|
+
), He = ze.forwardRef(({ className: e, variant: r, size: t, ...o }, s) => /* @__PURE__ */ a(
|
|
2825
2861
|
Me.Root,
|
|
2826
2862
|
{
|
|
2827
2863
|
ref: s,
|
|
2828
|
-
className:
|
|
2864
|
+
className: oe(Mo({ variant: r, size: t, className: e })),
|
|
2829
2865
|
...o
|
|
2830
2866
|
}
|
|
2831
2867
|
));
|
|
2832
|
-
|
|
2833
|
-
const
|
|
2834
|
-
|
|
2868
|
+
He.displayName = Me.Root.displayName;
|
|
2869
|
+
const Xo = G.Provider, ko = G.Root, So = G.Trigger, Re = ze.forwardRef(({ className: e, sideOffset: r = 4, ...t }, o) => /* @__PURE__ */ a(
|
|
2870
|
+
G.Content,
|
|
2835
2871
|
{
|
|
2836
2872
|
"data-richtext-portal": !0,
|
|
2837
2873
|
ref: o,
|
|
2838
2874
|
sideOffset: r,
|
|
2839
|
-
className:
|
|
2875
|
+
className: oe(
|
|
2840
2876
|
"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",
|
|
2841
2877
|
e
|
|
2842
2878
|
),
|
|
2843
2879
|
...t
|
|
2844
2880
|
}
|
|
2845
2881
|
));
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
v.Trigger,
|
|
2849
|
-
{
|
|
2850
|
-
ref: o,
|
|
2851
|
-
className: k(
|
|
2852
|
-
"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",
|
|
2853
|
-
e
|
|
2854
|
-
),
|
|
2855
|
-
...t,
|
|
2856
|
-
children: [
|
|
2857
|
-
r,
|
|
2858
|
-
/* @__PURE__ */ i(v.Icon, { asChild: !0, children: /* @__PURE__ */ i(ie, { className: "richtext-size-4 richtext-opacity-50" }) })
|
|
2859
|
-
]
|
|
2860
|
-
}
|
|
2861
|
-
));
|
|
2862
|
-
Ro.displayName = v.Trigger.displayName;
|
|
2863
|
-
const Pe = N.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i(
|
|
2864
|
-
v.ScrollUpButton,
|
|
2865
|
-
{
|
|
2866
|
-
ref: t,
|
|
2867
|
-
className: k(
|
|
2868
|
-
"richtext-flex richtext-cursor-default richtext-items-center richtext-justify-center richtext-py-1",
|
|
2869
|
-
e
|
|
2870
|
-
),
|
|
2871
|
-
...r,
|
|
2872
|
-
children: /* @__PURE__ */ i(Le, { className: "richtext-size-4" })
|
|
2873
|
-
}
|
|
2874
|
-
));
|
|
2875
|
-
Pe.displayName = v.ScrollUpButton.displayName;
|
|
2876
|
-
const je = N.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i(
|
|
2877
|
-
v.ScrollDownButton,
|
|
2878
|
-
{
|
|
2879
|
-
ref: t,
|
|
2880
|
-
className: k(
|
|
2881
|
-
"richtext-flex richtext-cursor-default richtext-items-center richtext-justify-center richtext-py-1",
|
|
2882
|
-
e
|
|
2883
|
-
),
|
|
2884
|
-
...r,
|
|
2885
|
-
children: /* @__PURE__ */ i(ie, { className: "richtext-size-4" })
|
|
2886
|
-
}
|
|
2887
|
-
));
|
|
2888
|
-
je.displayName = v.ScrollDownButton.displayName;
|
|
2889
|
-
const To = N.forwardRef(({ className: e, children: r, position: t = "popper", ...o }, s) => /* @__PURE__ */ i(v.Portal, { children: /* @__PURE__ */ z(
|
|
2890
|
-
v.Content,
|
|
2891
|
-
{
|
|
2892
|
-
"data-richtext-portal": !0,
|
|
2893
|
-
position: t,
|
|
2894
|
-
ref: s,
|
|
2895
|
-
className: k(
|
|
2896
|
-
"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",
|
|
2897
|
-
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",
|
|
2898
|
-
e
|
|
2899
|
-
),
|
|
2900
|
-
...o,
|
|
2901
|
-
children: [
|
|
2902
|
-
/* @__PURE__ */ i(Pe, {}),
|
|
2903
|
-
/* @__PURE__ */ i(
|
|
2904
|
-
v.Viewport,
|
|
2905
|
-
{
|
|
2906
|
-
className: k(
|
|
2907
|
-
"richtext-p-1",
|
|
2908
|
-
t === "popper" && "richtext-h-[var(--radix-select-trigger-height)] richtext-w-full richtext-min-w-[var(--radix-select-trigger-width)]"
|
|
2909
|
-
),
|
|
2910
|
-
children: r
|
|
2911
|
-
}
|
|
2912
|
-
),
|
|
2913
|
-
/* @__PURE__ */ i(je, {})
|
|
2914
|
-
]
|
|
2915
|
-
}
|
|
2916
|
-
) }));
|
|
2917
|
-
To.displayName = v.Content.displayName;
|
|
2918
|
-
const Vo = N.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i(
|
|
2919
|
-
v.Label,
|
|
2920
|
-
{
|
|
2921
|
-
className: k("richtext-py-1.5 richtext-pl-8 richtext-pr-2 richtext-text-sm richtext-font-semibold", e),
|
|
2922
|
-
ref: t,
|
|
2923
|
-
...r
|
|
2924
|
-
}
|
|
2925
|
-
));
|
|
2926
|
-
Vo.displayName = v.Label.displayName;
|
|
2927
|
-
const Io = N.forwardRef(({ className: e, children: r, ...t }, o) => /* @__PURE__ */ z(
|
|
2928
|
-
v.Item,
|
|
2929
|
-
{
|
|
2930
|
-
ref: o,
|
|
2931
|
-
className: k(
|
|
2932
|
-
"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",
|
|
2933
|
-
e
|
|
2934
|
-
),
|
|
2935
|
-
...t,
|
|
2936
|
-
children: [
|
|
2937
|
-
/* @__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(fr, { className: "richtext-size-4" }) }) }),
|
|
2938
|
-
/* @__PURE__ */ i(v.ItemText, { children: r })
|
|
2939
|
-
]
|
|
2940
|
-
}
|
|
2941
|
-
));
|
|
2942
|
-
Io.displayName = v.Item.displayName;
|
|
2943
|
-
const Ho = N.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i(
|
|
2944
|
-
v.Separator,
|
|
2945
|
-
{
|
|
2946
|
-
className: k("richtext--mx-1 richtext-my-1 richtext-h-px richtext-bg-muted", e),
|
|
2947
|
-
ref: t,
|
|
2948
|
-
...r
|
|
2949
|
-
}
|
|
2950
|
-
));
|
|
2951
|
-
Ho.displayName = v.Separator.displayName;
|
|
2952
|
-
function ce(e) {
|
|
2882
|
+
Re.displayName = G.Content.displayName;
|
|
2883
|
+
function ne(e) {
|
|
2953
2884
|
function r() {
|
|
2954
|
-
const n =
|
|
2955
|
-
n.current = { ...n.current, ...
|
|
2956
|
-
}, []),
|
|
2885
|
+
const n = Y(e), l = S(() => n.current, []), i = Y(/* @__PURE__ */ new Set()), u = S((g) => {
|
|
2886
|
+
n.current = { ...n.current, ...g }, i.current.forEach((m) => m());
|
|
2887
|
+
}, []), c = S((g) => (i.current.add(g), () => i.current.delete(g)), []);
|
|
2957
2888
|
return {
|
|
2958
|
-
get:
|
|
2889
|
+
get: l,
|
|
2959
2890
|
set: u,
|
|
2960
|
-
subscribe:
|
|
2891
|
+
subscribe: c
|
|
2961
2892
|
};
|
|
2962
2893
|
}
|
|
2963
|
-
const t =
|
|
2894
|
+
const t = Oe(null);
|
|
2964
2895
|
function o({ children: n }) {
|
|
2965
|
-
return /* @__PURE__ */
|
|
2896
|
+
return /* @__PURE__ */ a(t.Provider, { value: r(), children: n });
|
|
2966
2897
|
}
|
|
2967
2898
|
function s(n) {
|
|
2968
|
-
const
|
|
2969
|
-
if (!
|
|
2899
|
+
const l = We(t);
|
|
2900
|
+
if (!l)
|
|
2970
2901
|
throw new Error("Store not found");
|
|
2971
|
-
return [
|
|
2972
|
-
|
|
2973
|
-
() => n(
|
|
2902
|
+
return [$e(
|
|
2903
|
+
l.subscribe,
|
|
2904
|
+
() => n(l.get()),
|
|
2974
2905
|
() => n(e)
|
|
2975
|
-
),
|
|
2906
|
+
), l.set];
|
|
2976
2907
|
}
|
|
2977
2908
|
return {
|
|
2978
2909
|
Provider: o,
|
|
2979
2910
|
useStore: s
|
|
2980
2911
|
};
|
|
2981
2912
|
}
|
|
2982
|
-
|
|
2913
|
+
ne({
|
|
2983
2914
|
value: !1
|
|
2984
2915
|
});
|
|
2985
|
-
|
|
2916
|
+
ne({
|
|
2986
2917
|
value: !1
|
|
2987
2918
|
});
|
|
2988
|
-
const { Provider:
|
|
2919
|
+
const { Provider: Lo, useStore: Te } = ne({
|
|
2989
2920
|
value: !1
|
|
2990
2921
|
});
|
|
2991
|
-
function
|
|
2992
|
-
const [e] =
|
|
2922
|
+
function qo() {
|
|
2923
|
+
const [e] = Te((r) => r.value);
|
|
2993
2924
|
return e;
|
|
2994
2925
|
}
|
|
2995
|
-
const
|
|
2996
|
-
function
|
|
2926
|
+
const ye = "data-rc-order", Ce = "data-rc-priority", Eo = "rc-util-key", ee = /* @__PURE__ */ new Map();
|
|
2927
|
+
function Ao(e, r) {
|
|
2997
2928
|
if (!e)
|
|
2998
2929
|
return !1;
|
|
2999
2930
|
if (e.contains)
|
|
@@ -3006,68 +2937,68 @@ function Bo(e, r) {
|
|
|
3006
2937
|
}
|
|
3007
2938
|
return !1;
|
|
3008
2939
|
}
|
|
3009
|
-
function
|
|
3010
|
-
return e ? e.startsWith("data-") ? e : `data-${e}` :
|
|
2940
|
+
function Ne({ mark: e } = {}) {
|
|
2941
|
+
return e ? e.startsWith("data-") ? e : `data-${e}` : Eo;
|
|
3011
2942
|
}
|
|
3012
|
-
function
|
|
2943
|
+
function ie(e) {
|
|
3013
2944
|
return e.attachTo ? e.attachTo : document.querySelector("head") || document.body;
|
|
3014
2945
|
}
|
|
3015
|
-
function
|
|
2946
|
+
function Vo(e) {
|
|
3016
2947
|
return e === "queue" ? "prependQueue" : e ? "prepend" : "append";
|
|
3017
2948
|
}
|
|
3018
|
-
function
|
|
3019
|
-
return [...(
|
|
2949
|
+
function Pe(e) {
|
|
2950
|
+
return [...(ee.get(e) || e).children].filter(
|
|
3020
2951
|
(r) => r.tagName === "STYLE"
|
|
3021
2952
|
);
|
|
3022
2953
|
}
|
|
3023
|
-
function
|
|
3024
|
-
const { csp: t, prepend: o, priority: s = 0 } = r, n =
|
|
3025
|
-
|
|
3026
|
-
const u =
|
|
2954
|
+
function Ie(e, r = {}) {
|
|
2955
|
+
const { csp: t, prepend: o, priority: s = 0 } = r, n = Vo(o), l = n === "prependQueue", i = document.createElement("style");
|
|
2956
|
+
i.setAttribute(ye, n), l && s && i.setAttribute(Ce, `${s}`), t != null && t.nonce && (i.nonce = t == null ? void 0 : t.nonce), i.innerHTML = e;
|
|
2957
|
+
const u = ie(r), { firstChild: c } = u;
|
|
3027
2958
|
if (o) {
|
|
3028
|
-
if (
|
|
3029
|
-
const
|
|
3030
|
-
if (!["prepend", "prependQueue"].includes(
|
|
2959
|
+
if (l) {
|
|
2960
|
+
const g = Pe(u).filter((m) => {
|
|
2961
|
+
if (!["prepend", "prependQueue"].includes(m.getAttribute(ye)))
|
|
3031
2962
|
return !1;
|
|
3032
|
-
const
|
|
3033
|
-
return s >=
|
|
2963
|
+
const d = Number(m.getAttribute(Ce) || 0);
|
|
2964
|
+
return s >= d;
|
|
3034
2965
|
});
|
|
3035
|
-
if (
|
|
3036
|
-
return u.insertBefore(
|
|
2966
|
+
if (g.length > 0)
|
|
2967
|
+
return u.insertBefore(i, g.at(-1).nextSibling), i;
|
|
3037
2968
|
}
|
|
3038
|
-
|
|
2969
|
+
c.before(i);
|
|
3039
2970
|
} else
|
|
3040
|
-
u.append(
|
|
3041
|
-
return
|
|
2971
|
+
u.append(i);
|
|
2972
|
+
return i;
|
|
3042
2973
|
}
|
|
3043
|
-
function
|
|
3044
|
-
const t =
|
|
3045
|
-
return
|
|
2974
|
+
function je(e, r = {}) {
|
|
2975
|
+
const t = ie(r);
|
|
2976
|
+
return Pe(t).find((o) => o.getAttribute(Ne(r)) === e);
|
|
3046
2977
|
}
|
|
3047
|
-
function
|
|
3048
|
-
const t =
|
|
2978
|
+
function Ho(e, r = {}) {
|
|
2979
|
+
const t = je(e, r);
|
|
3049
2980
|
t && t.remove();
|
|
3050
2981
|
}
|
|
3051
|
-
function
|
|
3052
|
-
const t =
|
|
3053
|
-
if (!t || !
|
|
3054
|
-
const o =
|
|
3055
|
-
|
|
2982
|
+
function Ro(e, r) {
|
|
2983
|
+
const t = ee.get(e);
|
|
2984
|
+
if (!t || !Ao(document, t)) {
|
|
2985
|
+
const o = Ie("", r), { parentNode: s } = o;
|
|
2986
|
+
ee.set(e, s), o.remove();
|
|
3056
2987
|
}
|
|
3057
2988
|
}
|
|
3058
|
-
function
|
|
3059
|
-
var
|
|
3060
|
-
const o =
|
|
3061
|
-
|
|
3062
|
-
const s =
|
|
2989
|
+
function To(e, r, t = {}) {
|
|
2990
|
+
var l, i, u;
|
|
2991
|
+
const o = ie(t);
|
|
2992
|
+
Ro(o, t);
|
|
2993
|
+
const s = je(r, t);
|
|
3063
2994
|
if (s)
|
|
3064
|
-
return (
|
|
3065
|
-
const n =
|
|
3066
|
-
return n.setAttribute(
|
|
2995
|
+
return (l = t.csp) != null && l.nonce && s.nonce !== ((i = t.csp) == null ? void 0 : i.nonce) && (s.nonce = (u = t.csp) == null ? void 0 : u.nonce), s.innerHTML !== e && (s.innerHTML = e), s;
|
|
2996
|
+
const n = Ie(e, t);
|
|
2997
|
+
return n.setAttribute(Ne(t), r), n;
|
|
3067
2998
|
}
|
|
3068
|
-
const
|
|
3069
|
-
const [, t] =
|
|
3070
|
-
|
|
2999
|
+
const No = _e(({ editor: e, children: r }) => {
|
|
3000
|
+
const [, t] = Te((s) => s.value);
|
|
3001
|
+
V(() => {
|
|
3071
3002
|
t({
|
|
3072
3003
|
value: e == null ? void 0 : e.isEditable
|
|
3073
3004
|
});
|
|
@@ -3077,121 +3008,116 @@ const _o = qe(({ editor: e, children: r }) => {
|
|
|
3077
3008
|
value: e == null ? void 0 : e.isEditable
|
|
3078
3009
|
});
|
|
3079
3010
|
};
|
|
3080
|
-
return
|
|
3011
|
+
return V(() => (e && e.on("update", o), () => {
|
|
3081
3012
|
e && e.off("update", o);
|
|
3082
|
-
}), [e]), /* @__PURE__ */
|
|
3013
|
+
}), [e]), /* @__PURE__ */ a(te, { children: r });
|
|
3083
3014
|
});
|
|
3084
|
-
function
|
|
3085
|
-
const [, e] =
|
|
3015
|
+
function Po() {
|
|
3016
|
+
const [, e] = Ue(De), r = (o) => {
|
|
3086
3017
|
e((s) => ({
|
|
3087
3018
|
...s,
|
|
3088
3019
|
currentLang: o.detail
|
|
3089
3020
|
}));
|
|
3090
3021
|
}, t = (o) => {
|
|
3091
3022
|
const { lang: s, messages: n } = o.detail;
|
|
3092
|
-
e((
|
|
3093
|
-
if (
|
|
3094
|
-
const
|
|
3095
|
-
...
|
|
3023
|
+
e((l) => {
|
|
3024
|
+
if (l.message[s]) {
|
|
3025
|
+
const i = {
|
|
3026
|
+
...l.message[s],
|
|
3096
3027
|
...n
|
|
3097
3028
|
};
|
|
3098
3029
|
return {
|
|
3099
|
-
currentLang:
|
|
3030
|
+
currentLang: l.currentLang,
|
|
3100
3031
|
message: {
|
|
3101
|
-
...
|
|
3102
|
-
[s]:
|
|
3032
|
+
...l.message,
|
|
3033
|
+
[s]: i
|
|
3103
3034
|
}
|
|
3104
3035
|
};
|
|
3105
3036
|
} else
|
|
3106
3037
|
return {
|
|
3107
|
-
currentLang:
|
|
3038
|
+
currentLang: l.currentLang,
|
|
3108
3039
|
message: {
|
|
3109
|
-
...
|
|
3040
|
+
...l.message,
|
|
3110
3041
|
[s]: n
|
|
3111
3042
|
}
|
|
3112
3043
|
};
|
|
3113
3044
|
});
|
|
3114
3045
|
};
|
|
3115
|
-
return
|
|
3116
|
-
const o =
|
|
3046
|
+
return V(() => {
|
|
3047
|
+
const o = j(B.CHANGE_LANGUAGE, r), s = j(B.MODIFY_LANGUAGE, t);
|
|
3117
3048
|
return () => {
|
|
3118
3049
|
o(), s();
|
|
3119
3050
|
};
|
|
3120
|
-
}, []), /* @__PURE__ */
|
|
3051
|
+
}, []), /* @__PURE__ */ a(te, {});
|
|
3121
3052
|
}
|
|
3122
|
-
function
|
|
3123
|
-
const [e, r] =
|
|
3124
|
-
|
|
3125
|
-
const
|
|
3126
|
-
let
|
|
3127
|
-
if (!
|
|
3128
|
-
|
|
3053
|
+
function Io() {
|
|
3054
|
+
const [e, r] = Q("richtext-theme", "light"), [t, o] = Q("richtext-color", "default"), [s, n] = Q("richtext-border-radius", "0.65rem");
|
|
3055
|
+
V(() => {
|
|
3056
|
+
const c = e || "light", g = t || "default";
|
|
3057
|
+
let m = ge[c][g];
|
|
3058
|
+
if (!m) {
|
|
3059
|
+
m = ge.light.default;
|
|
3129
3060
|
return;
|
|
3130
3061
|
}
|
|
3131
|
-
return
|
|
3062
|
+
return To(`
|
|
3132
3063
|
.reactjs-tiptap-editor, .reactjs-tiptap-editor *,
|
|
3133
3064
|
.reactjs-tiptap-editor-theme, .reactjs-tiptap-editor-theme *,
|
|
3134
3065
|
div[data-richtext-portal], div[data-richtext-portal] * {
|
|
3135
|
-
${Object.entries(
|
|
3066
|
+
${Object.entries(m).map(([d, f]) => typeof s == "string" && d === "radius" ? `--${d}: ${s};` : `--${d}: ${f};`).join(`
|
|
3136
3067
|
`)}
|
|
3137
3068
|
}
|
|
3138
3069
|
`, "richtext-theme", {
|
|
3139
3070
|
priority: 50
|
|
3140
3071
|
}), () => {
|
|
3141
|
-
|
|
3072
|
+
Ho("richtext-theme");
|
|
3142
3073
|
};
|
|
3143
3074
|
}, [e, t, s]);
|
|
3144
|
-
const
|
|
3145
|
-
r(
|
|
3146
|
-
},
|
|
3147
|
-
o(
|
|
3148
|
-
}, u = (
|
|
3149
|
-
n(
|
|
3075
|
+
const l = (c) => {
|
|
3076
|
+
r(c.detail);
|
|
3077
|
+
}, i = (c) => {
|
|
3078
|
+
o(c.detail);
|
|
3079
|
+
}, u = (c) => {
|
|
3080
|
+
n(c.detail);
|
|
3150
3081
|
};
|
|
3151
|
-
return
|
|
3152
|
-
const
|
|
3082
|
+
return V(() => {
|
|
3083
|
+
const c = j(B.CHANGE_THEME, l), g = j(B.CHANGE_COLOR, i), m = j(B.CHANGE_BORDER_RADIUS, u);
|
|
3153
3084
|
return () => {
|
|
3154
|
-
|
|
3085
|
+
c(), g(), m();
|
|
3155
3086
|
};
|
|
3156
|
-
}, []), /* @__PURE__ */
|
|
3087
|
+
}, []), /* @__PURE__ */ a(te, {});
|
|
3157
3088
|
}
|
|
3158
|
-
function
|
|
3159
|
-
return /* @__PURE__ */
|
|
3160
|
-
/* @__PURE__ */
|
|
3161
|
-
|
|
3089
|
+
function Jo({ editor: e, children: r, id: t }) {
|
|
3090
|
+
return /* @__PURE__ */ A(Lo, { children: [
|
|
3091
|
+
/* @__PURE__ */ a(
|
|
3092
|
+
No,
|
|
3162
3093
|
{
|
|
3163
3094
|
editor: e,
|
|
3164
3095
|
id: t,
|
|
3165
3096
|
children: r
|
|
3166
3097
|
}
|
|
3167
3098
|
),
|
|
3168
|
-
/* @__PURE__ */
|
|
3169
|
-
/* @__PURE__ */
|
|
3099
|
+
/* @__PURE__ */ a(Po, {}),
|
|
3100
|
+
/* @__PURE__ */ a(Io, {})
|
|
3170
3101
|
] });
|
|
3171
3102
|
}
|
|
3172
3103
|
export {
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
nn as n,
|
|
3193
|
-
To as o,
|
|
3194
|
-
Io as p,
|
|
3195
|
-
Wo as r,
|
|
3196
|
-
$o as u
|
|
3104
|
+
Do as A,
|
|
3105
|
+
mo as E,
|
|
3106
|
+
oo as M,
|
|
3107
|
+
Jo as P,
|
|
3108
|
+
ko as T,
|
|
3109
|
+
So as a,
|
|
3110
|
+
Re as b,
|
|
3111
|
+
oe as c,
|
|
3112
|
+
zo as d,
|
|
3113
|
+
Xo as e,
|
|
3114
|
+
He as f,
|
|
3115
|
+
Kr as g,
|
|
3116
|
+
Jr as h,
|
|
3117
|
+
Co as i,
|
|
3118
|
+
Q as j,
|
|
3119
|
+
qo as k,
|
|
3120
|
+
go as l,
|
|
3121
|
+
Ho as r,
|
|
3122
|
+
To as u
|
|
3197
3123
|
};
|