reactjs-tiptap-editor 1.0.11 → 1.0.12
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-DTXFBdGX.js → ActionMenuButton-BKqin6Kz.js} +17 -13
- package/lib/ActionMenuButton-CPPHERbq.cjs +1 -0
- package/lib/Attachment.cjs +2 -2
- package/lib/Attachment.js +24 -21
- package/lib/Blockquote.cjs +2 -2
- package/lib/Blockquote.js +7 -5
- package/lib/Bold.cjs +1 -1
- package/lib/Bold.js +11 -9
- package/lib/BulletList.cjs +1 -1
- package/lib/BulletList.js +14 -12
- package/lib/Clear.cjs +1 -1
- package/lib/Clear.js +3 -3
- package/lib/Code.cjs +1 -1
- package/lib/Code.js +11 -9
- package/lib/CodeBlock.cjs +39 -39
- package/lib/CodeBlock.js +842 -948
- package/lib/CodeView.cjs +1 -1
- package/lib/CodeView.js +10 -8
- package/lib/Color.cjs +1 -1
- package/lib/Color.js +20 -18
- package/lib/Column.cjs +1 -1
- package/lib/Column.js +7 -5
- package/lib/{Drawer-D0yQ0wR7.js → Drawer-DUPsBE0H.js} +18 -17
- package/lib/Drawer-fplzqNI6.cjs +1 -0
- package/lib/Drawer.cjs +1 -1
- package/lib/Drawer.js +3 -3
- package/lib/Emoji.cjs +1 -1
- package/lib/Emoji.js +19 -17
- package/lib/{Excalidraw-CO4IRHmG.js → Excalidraw-BEzpvRLx.js} +33 -32
- package/lib/Excalidraw-qjnQspLq.cjs +1 -0
- package/lib/Excalidraw.cjs +1 -1
- package/lib/Excalidraw.js +2 -2
- package/lib/ExportPdf.cjs +2 -2
- package/lib/ExportPdf.js +7 -5
- package/lib/ExportWord.cjs +1 -1
- package/lib/ExportWord.js +7 -5
- package/lib/FontFamily.cjs +1 -1
- package/lib/FontFamily.js +9 -8
- package/lib/FontSize.cjs +1 -1
- package/lib/FontSize.js +13 -12
- package/lib/Heading.cjs +1 -1
- package/lib/Heading.js +25 -24
- package/lib/Highlight.cjs +1 -1
- package/lib/Highlight.js +9 -7
- package/lib/History.cjs +1 -1
- package/lib/History.js +18 -15
- package/lib/HorizontalRule.cjs +1 -1
- package/lib/HorizontalRule.js +7 -5
- package/lib/Icon-CiR8RqdQ.cjs +1 -0
- package/lib/Icon-ONE1AwKo.js +12 -0
- package/lib/{Iframe-BEO28NPs.js → Iframe-CBTnv2mk.js} +45 -43
- package/lib/Iframe-DsUNJ2n2.cjs +1 -0
- package/lib/Iframe.cjs +1 -1
- package/lib/Iframe.js +2 -2
- package/lib/Image.cjs +1 -1
- package/lib/Image.js +52 -50
- package/lib/ImageGif.cjs +1 -1
- package/lib/ImageGif.js +55 -53
- package/lib/ImportWord.cjs +31 -31
- package/lib/ImportWord.js +12 -10
- package/lib/{Indent-CXurBbOr.js → Indent-B00o0P0M.js} +26 -24
- package/lib/Indent-CaGP0qTp.cjs +1 -0
- package/lib/Indent.cjs +1 -1
- package/lib/Indent.js +2 -2
- package/lib/Italic.cjs +1 -1
- package/lib/Italic.js +12 -10
- package/lib/Katex-XsfpKgJU.cjs +4 -0
- package/lib/{Katex-Bvj469K1.js → Katex-x370CSXZ.js} +27 -25
- package/lib/Katex.cjs +1 -1
- package/lib/Katex.js +2 -2
- package/lib/LineHeight.cjs +1 -1
- package/lib/LineHeight.js +17 -15
- package/lib/Link.cjs +1 -1
- package/lib/Link.js +2 -2
- package/lib/{LinkEditBlock-DjXUEubR.js → LinkEditBlock-C_ipl3EA.js} +27 -25
- package/lib/{LinkEditBlock-8ePAZ-G1.cjs → LinkEditBlock-xt88G5fb.cjs} +2 -2
- package/lib/Mention.cjs +1 -1
- package/lib/Mention.js +3 -3
- package/lib/Mermaid.cjs +2 -2
- package/lib/Mermaid.js +29 -28
- package/lib/MoreMark.cjs +1 -1
- package/lib/MoreMark.js +25 -22
- package/lib/OrderedList.cjs +1 -1
- package/lib/OrderedList.js +10 -8
- package/lib/SearchAndReplace.cjs +1 -1
- package/lib/SearchAndReplace.js +48 -46
- package/lib/SlashCommand.cjs +1 -1
- package/lib/SlashCommand.js +6 -6
- package/lib/SlashCommandNodeView-BT5ystah.cjs +1 -0
- package/lib/{SlashCommandNodeView-CcqL8ymb.js → SlashCommandNodeView-DX6axvLs.js} +74 -65
- package/lib/Strike.cjs +1 -1
- package/lib/Strike.js +7 -5
- package/lib/Table-DSRSwtXx.cjs +9 -0
- package/lib/{Table-9Y0Cg8Ab.js → Table-DidusYID.js} +10 -8
- package/lib/Table.cjs +1 -1
- package/lib/Table.js +1 -1
- package/lib/TaskList.cjs +1 -1
- package/lib/TaskList.js +15 -13
- package/lib/TextAlign.cjs +1 -1
- package/lib/TextAlign.js +20 -17
- package/lib/TextDirection.cjs +1 -1
- package/lib/TextDirection.js +20 -17
- package/lib/TextUnderline.cjs +1 -1
- package/lib/TextUnderline.js +7 -5
- package/lib/Twitter-CBuVBQM1.cjs +1 -0
- package/lib/{Twitter-DWwd0vHR.js → Twitter-D58T0Zt3.js} +59 -57
- package/lib/Twitter.cjs +1 -1
- package/lib/Twitter.js +2 -2
- package/lib/Video.cjs +1 -1
- package/lib/Video.js +27 -25
- package/lib/bubble.cjs +4 -4
- package/lib/bubble.js +70 -68
- package/lib/{button-RnHbJfd-.js → button-9_8t7ca7.js} +4 -3
- package/lib/button-Cs9TroWr.cjs +1 -0
- package/lib/{checkbox-CTEN0q4y.cjs → checkbox-BQRKTXXr.cjs} +1 -1
- package/lib/{checkbox-CLSoR1Qj.js → checkbox-DnkkV6qo.js} +1 -1
- package/lib/{index-BBNITgNi.cjs → clsx-CXbNJWDD.cjs} +13 -13
- package/lib/{index-sVScpCFG.js → clsx-DmuN0U_8.js} +228 -228
- package/lib/{dialog-CMC9hsCo.cjs → dialog-BS3zm-T9.cjs} +1 -1
- package/lib/{dialog-D_HCtKvc.js → dialog-DhayAPvV.js} +1 -1
- package/lib/{dropdown-menu-DKSAS-w_.cjs → dropdown-menu-CxwWX0yj.cjs} +1 -1
- package/lib/{dropdown-menu-66q7Ofc5.js → dropdown-menu-DQqKeZcx.js} +1 -1
- package/lib/events.constant-Dq21NPdV.cjs +1 -0
- package/lib/events.constant-do95b767.js +21 -0
- package/lib/{index-CApXPpjF.cjs → index-BCzvbrf5.cjs} +1 -1
- package/lib/{index-0OnGZkVF.js → index-BDX1uE62.js} +78 -312
- package/lib/index-CBFmXCcU.cjs +1 -0
- package/lib/{index-DmPwbBqm.js → index-CKmT9KAQ.js} +1 -1
- package/lib/index-CVFzP1Dc.cjs +1 -0
- package/lib/index-CX4pNJlH.cjs +1 -0
- package/lib/index-CjhjjJsN.cjs +1 -0
- package/lib/index-Cs6cp0Y6.cjs +1 -0
- package/lib/{index-9A6-kVBM.js → index-D1jd7elj.js} +1 -1
- package/lib/{index-C3zg3DPB.js → index-D9JOHlso.js} +493 -1186
- package/lib/{index-DRHrDScg.js → index-DdEmgiAA.js} +1 -1
- package/lib/{index-DKt5wfAc.js → index-DvvwJvau.js} +23 -23
- package/lib/index-EAK64CCA.js +425 -0
- package/lib/{index--nUS7Y66.cjs → index-neeeY2o7.cjs} +3 -3
- package/lib/index.cjs +9 -2
- package/lib/index.js +142 -26
- package/lib/{input-D555880-.cjs → input-BJ7ihMq-.cjs} +1 -1
- package/lib/{input-CvyMYMZG.js → input-YoheBL2D.js} +1 -1
- package/lib/{isNumber-Bv1Qhmw8.cjs → isNumber-BTYSVlKo.cjs} +1 -1
- package/lib/{isNumber-DF0fU3ob.js → isNumber-DmQXlKp3.js} +1 -1
- package/lib/label-C8PLcjFI.js +19 -0
- package/lib/label-Y7_hvqf2.cjs +1 -0
- package/lib/locale-bundle.cjs +1 -1
- package/lib/locale-bundle.js +6 -7
- package/lib/locales/index.d.ts +3 -4316
- package/lib/{popover-BSzR_R01.cjs → popover-BiSrlM4j.cjs} +1 -1
- package/lib/{popover-B7ec5-u2.js → popover-CWmTzHSy.js} +1 -1
- package/lib/react-BEoMZB61.cjs +1 -0
- package/lib/react-c9FSfB30.js +27 -0
- package/lib/separator-C-DKMYmg.js +329 -0
- package/lib/separator-CJ_adziN.cjs +1 -0
- package/lib/store/EditorEditableReactive.d.ts +1 -0
- package/lib/store/ThemeColorReactive.d.ts +1 -0
- package/lib/store/commandList.d.ts +1 -1
- package/lib/store/store.d.ts +6 -7
- package/lib/store-BKMaw1AW.cjs +1 -0
- package/lib/store-DG7cMfET.js +10 -0
- package/lib/{tabs-BTwiZkWd.cjs → tabs-DpHSMyF_.cjs} +1 -1
- package/lib/{tabs-CWr9HYaM.js → tabs-DxlKKM-N.js} +1 -1
- package/lib/{textarea-BdeLXbp8.js → textarea-D7m-apUh.js} +1 -1
- package/lib/{textarea-Yetl_PZi.cjs → textarea-DU9RMi6u.cjs} +1 -1
- package/lib/theme/theme.d.ts +5 -0
- package/lib/theme.cjs +1 -1
- package/lib/theme.js +37 -8
- package/lib/{throttle-DsowOft0.js → throttle-BRtichEP.js} +1 -1
- package/lib/throttle-gTTvqDTW.cjs +1 -0
- package/lib/toggle-BYvLnjCL.cjs +1 -0
- package/lib/toggle-Bxwwb_Kp.js +99 -0
- package/lib/tooltip-BTy5CRrN.js +24 -0
- package/lib/tooltip-COvf4_R-.cjs +1 -0
- package/lib/{updatePosition-Bbd8ETMv.js → updatePosition-CUukgu-Q.js} +2 -2
- package/lib/updatePosition-Cjuj2E26.cjs +1 -0
- package/lib/{useButtonProps-cMoicZgd.js → useButtonProps-CfYtuEnd.js} +48 -36
- package/lib/useButtonProps-CydzndG1.cjs +1 -0
- package/lib/utils/customEvents/events.constant.d.ts +0 -5
- package/package.json +3 -3
- package/lib/ActionMenuButton-BLlse5KO.cjs +0 -1
- package/lib/Drawer-kv6BU_6O.cjs +0 -1
- package/lib/Excalidraw-B82ThkJA.cjs +0 -1
- package/lib/Icon-DRuJhcHK.js +0 -10
- package/lib/Icon-DXePECFW.cjs +0 -1
- package/lib/Iframe-03dn9wcM.cjs +0 -1
- package/lib/Indent-Cqjdn3Jt.cjs +0 -1
- package/lib/Katex-DdWTV5NJ.cjs +0 -4
- package/lib/SlashCommandNodeView-Bl_gwZJB.cjs +0 -1
- package/lib/Table-DBGjezZK.cjs +0 -9
- package/lib/Twitter-Cnvt7GBg.cjs +0 -1
- package/lib/button-BW5bDPz_.cjs +0 -1
- package/lib/events.constant-DQYeJpu5.cjs +0 -1
- package/lib/events.constant-wrlJ_7JZ.js +0 -26
- package/lib/index-BZ6DfR2r.cjs +0 -1
- package/lib/index-C838s-or.cjs +0 -8
- package/lib/index-Cv9Z6dyV.cjs +0 -1
- package/lib/index-FSRjMsxW.cjs +0 -1
- package/lib/label-DsOYPjAo.js +0 -18
- package/lib/label-E6jF3Xud.cjs +0 -1
- package/lib/separator-JaTTqb3J.js +0 -241
- package/lib/separator-PGnA-6Hr.cjs +0 -1
- package/lib/store/ProviderUniqueId.d.ts +0 -6
- package/lib/store-Cf7tFiiI.js +0 -10
- package/lib/store-oDk-lTPM.cjs +0 -1
- package/lib/throttle-BM3Bmbf_.cjs +0 -1
- package/lib/updatePosition-M2IyqkI1.cjs +0 -1
- package/lib/useButtonProps-DfnJiJLV.cjs +0 -1
|
@@ -1,94 +1,89 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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), {
|
|
15
|
-
conflictingClassGroups: t,
|
|
1
|
+
import { jsxs as X, jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import * as E from "react";
|
|
3
|
+
import { createContext as he, useContext as fe, useSyncExternalStore as ge, useRef as re, useCallback as F } from "react";
|
|
4
|
+
import * as b from "@radix-ui/react-select";
|
|
5
|
+
import { ChevronDown as se, ChevronUp as me, Check as xe } from "lucide-react";
|
|
6
|
+
import { B as ye } from "./clsx-DmuN0U_8.js";
|
|
7
|
+
import { c as we } from "./react-c9FSfB30.js";
|
|
8
|
+
const Z = "-", ve = (e) => {
|
|
9
|
+
const t = Se(e), {
|
|
10
|
+
conflictingClassGroups: r,
|
|
16
11
|
conflictingClassGroupModifiers: o
|
|
17
12
|
} = e;
|
|
18
13
|
return {
|
|
19
|
-
getClassGroupId: (
|
|
20
|
-
const
|
|
21
|
-
return
|
|
14
|
+
getClassGroupId: (i) => {
|
|
15
|
+
const s = i.split(Z);
|
|
16
|
+
return s[0] === "" && s.length !== 1 && s.shift(), ie(s, t) || Ce(i);
|
|
22
17
|
},
|
|
23
|
-
getConflictingClassGroupIds: (
|
|
24
|
-
const
|
|
25
|
-
return
|
|
18
|
+
getConflictingClassGroupIds: (i, s) => {
|
|
19
|
+
const p = r[i] || [];
|
|
20
|
+
return s && o[i] ? [...p, ...o[i]] : p;
|
|
26
21
|
}
|
|
27
22
|
};
|
|
28
|
-
},
|
|
29
|
-
var
|
|
23
|
+
}, ie = (e, t) => {
|
|
24
|
+
var i;
|
|
30
25
|
if (e.length === 0)
|
|
31
|
-
return
|
|
32
|
-
const
|
|
33
|
-
if (
|
|
34
|
-
return
|
|
35
|
-
if (
|
|
26
|
+
return t.classGroupId;
|
|
27
|
+
const r = e[0], o = t.nextPart.get(r), a = o ? ie(e.slice(1), o) : void 0;
|
|
28
|
+
if (a)
|
|
29
|
+
return a;
|
|
30
|
+
if (t.validators.length === 0)
|
|
36
31
|
return;
|
|
37
|
-
const n = e.join(
|
|
38
|
-
return (
|
|
39
|
-
validator:
|
|
40
|
-
}) =>
|
|
41
|
-
},
|
|
42
|
-
if (
|
|
43
|
-
const
|
|
44
|
-
if (
|
|
45
|
-
return "arbitrary.." +
|
|
32
|
+
const n = e.join(Z);
|
|
33
|
+
return (i = t.validators.find(({
|
|
34
|
+
validator: s
|
|
35
|
+
}) => s(n))) == null ? void 0 : i.classGroupId;
|
|
36
|
+
}, oe = /^\[(.+)\]$/, Ce = (e) => {
|
|
37
|
+
if (oe.test(e)) {
|
|
38
|
+
const t = oe.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
|
|
39
|
+
if (r)
|
|
40
|
+
return "arbitrary.." + r;
|
|
46
41
|
}
|
|
47
|
-
},
|
|
42
|
+
}, Se = (e) => {
|
|
48
43
|
const {
|
|
49
|
-
theme:
|
|
50
|
-
prefix:
|
|
44
|
+
theme: t,
|
|
45
|
+
prefix: r
|
|
51
46
|
} = e, o = {
|
|
52
47
|
nextPart: /* @__PURE__ */ new Map(),
|
|
53
48
|
validators: []
|
|
54
49
|
};
|
|
55
|
-
return
|
|
56
|
-
|
|
50
|
+
return ze(Object.entries(e.classGroups), r).forEach(([n, i]) => {
|
|
51
|
+
J(i, o, n, t);
|
|
57
52
|
}), o;
|
|
58
|
-
},
|
|
59
|
-
e.forEach((
|
|
60
|
-
if (typeof
|
|
61
|
-
const n =
|
|
62
|
-
n.classGroupId =
|
|
53
|
+
}, J = (e, t, r, o) => {
|
|
54
|
+
e.forEach((a) => {
|
|
55
|
+
if (typeof a == "string") {
|
|
56
|
+
const n = a === "" ? t : ne(t, a);
|
|
57
|
+
n.classGroupId = r;
|
|
63
58
|
return;
|
|
64
59
|
}
|
|
65
|
-
if (typeof
|
|
66
|
-
if (
|
|
67
|
-
|
|
60
|
+
if (typeof a == "function") {
|
|
61
|
+
if (ke(a)) {
|
|
62
|
+
J(a(o), t, r, o);
|
|
68
63
|
return;
|
|
69
64
|
}
|
|
70
|
-
|
|
71
|
-
validator:
|
|
72
|
-
classGroupId:
|
|
65
|
+
t.validators.push({
|
|
66
|
+
validator: a,
|
|
67
|
+
classGroupId: r
|
|
73
68
|
});
|
|
74
69
|
return;
|
|
75
70
|
}
|
|
76
|
-
Object.entries(
|
|
77
|
-
|
|
71
|
+
Object.entries(a).forEach(([n, i]) => {
|
|
72
|
+
J(i, ne(t, n), r, o);
|
|
78
73
|
});
|
|
79
74
|
});
|
|
80
|
-
},
|
|
81
|
-
let
|
|
82
|
-
return
|
|
83
|
-
|
|
75
|
+
}, ne = (e, t) => {
|
|
76
|
+
let r = e;
|
|
77
|
+
return t.split(Z).forEach((o) => {
|
|
78
|
+
r.nextPart.has(o) || r.nextPart.set(o, {
|
|
84
79
|
nextPart: /* @__PURE__ */ new Map(),
|
|
85
80
|
validators: []
|
|
86
|
-
}),
|
|
87
|
-
}),
|
|
88
|
-
},
|
|
89
|
-
const
|
|
90
|
-
return [
|
|
91
|
-
}) : e,
|
|
81
|
+
}), r = r.nextPart.get(o);
|
|
82
|
+
}), r;
|
|
83
|
+
}, ke = (e) => e.isThemeGetter, ze = (e, t) => t ? e.map(([r, o]) => {
|
|
84
|
+
const a = o.map((n) => typeof n == "string" ? t + n : typeof n == "object" ? Object.fromEntries(Object.entries(n).map(([i, s]) => [t + i, s])) : n);
|
|
85
|
+
return [r, a];
|
|
86
|
+
}) : e, Ne = (e) => {
|
|
92
87
|
if (e < 1)
|
|
93
88
|
return {
|
|
94
89
|
get: () => {
|
|
@@ -96,179 +91,179 @@ const re = "-", br = (e) => {
|
|
|
96
91
|
set: () => {
|
|
97
92
|
}
|
|
98
93
|
};
|
|
99
|
-
let
|
|
100
|
-
const
|
|
101
|
-
|
|
94
|
+
let t = 0, r = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
|
|
95
|
+
const a = (n, i) => {
|
|
96
|
+
r.set(n, i), t++, t > e && (t = 0, o = r, r = /* @__PURE__ */ new Map());
|
|
102
97
|
};
|
|
103
98
|
return {
|
|
104
99
|
get(n) {
|
|
105
|
-
let
|
|
106
|
-
if (
|
|
107
|
-
return
|
|
108
|
-
if ((
|
|
109
|
-
return
|
|
100
|
+
let i = r.get(n);
|
|
101
|
+
if (i !== void 0)
|
|
102
|
+
return i;
|
|
103
|
+
if ((i = o.get(n)) !== void 0)
|
|
104
|
+
return a(n, i), i;
|
|
110
105
|
},
|
|
111
|
-
set(n,
|
|
112
|
-
|
|
106
|
+
set(n, i) {
|
|
107
|
+
r.has(n) ? r.set(n, i) : a(n, i);
|
|
113
108
|
}
|
|
114
109
|
};
|
|
115
|
-
},
|
|
110
|
+
}, ae = "!", Re = (e) => {
|
|
116
111
|
const {
|
|
117
|
-
separator:
|
|
118
|
-
experimentalParseClassName:
|
|
119
|
-
} = e, o =
|
|
120
|
-
const
|
|
121
|
-
let
|
|
122
|
-
for (let
|
|
123
|
-
let x =
|
|
124
|
-
if (
|
|
125
|
-
if (x ===
|
|
126
|
-
|
|
112
|
+
separator: t,
|
|
113
|
+
experimentalParseClassName: r
|
|
114
|
+
} = e, o = t.length === 1, a = t[0], n = t.length, i = (s) => {
|
|
115
|
+
const p = [];
|
|
116
|
+
let f = 0, h = 0, y;
|
|
117
|
+
for (let u = 0; u < s.length; u++) {
|
|
118
|
+
let x = s[u];
|
|
119
|
+
if (f === 0) {
|
|
120
|
+
if (x === a && (o || s.slice(u, u + n) === t)) {
|
|
121
|
+
p.push(s.slice(h, u)), h = u + n;
|
|
127
122
|
continue;
|
|
128
123
|
}
|
|
129
124
|
if (x === "/") {
|
|
130
|
-
|
|
125
|
+
y = u;
|
|
131
126
|
continue;
|
|
132
127
|
}
|
|
133
128
|
}
|
|
134
|
-
x === "[" ?
|
|
129
|
+
x === "[" ? f++ : x === "]" && f--;
|
|
135
130
|
}
|
|
136
|
-
const
|
|
131
|
+
const v = p.length === 0 ? s : s.substring(h), S = v.startsWith(ae), C = S ? v.substring(1) : v, g = y && y > h ? y - h : void 0;
|
|
137
132
|
return {
|
|
138
|
-
modifiers:
|
|
139
|
-
hasImportantModifier:
|
|
140
|
-
baseClassName:
|
|
141
|
-
maybePostfixModifierPosition:
|
|
133
|
+
modifiers: p,
|
|
134
|
+
hasImportantModifier: S,
|
|
135
|
+
baseClassName: C,
|
|
136
|
+
maybePostfixModifierPosition: g
|
|
142
137
|
};
|
|
143
138
|
};
|
|
144
|
-
return
|
|
145
|
-
className:
|
|
146
|
-
parseClassName:
|
|
147
|
-
}) :
|
|
148
|
-
},
|
|
139
|
+
return r ? (s) => r({
|
|
140
|
+
className: s,
|
|
141
|
+
parseClassName: i
|
|
142
|
+
}) : i;
|
|
143
|
+
}, Ae = (e) => {
|
|
149
144
|
if (e.length <= 1)
|
|
150
145
|
return e;
|
|
151
|
-
const
|
|
152
|
-
let
|
|
146
|
+
const t = [];
|
|
147
|
+
let r = [];
|
|
153
148
|
return e.forEach((o) => {
|
|
154
|
-
o[0] === "[" ? (
|
|
155
|
-
}),
|
|
156
|
-
},
|
|
157
|
-
cache:
|
|
158
|
-
parseClassName:
|
|
159
|
-
...
|
|
160
|
-
}),
|
|
149
|
+
o[0] === "[" ? (t.push(...r.sort(), o), r = []) : r.push(o);
|
|
150
|
+
}), t.push(...r.sort()), t;
|
|
151
|
+
}, Me = (e) => ({
|
|
152
|
+
cache: Ne(e.cacheSize),
|
|
153
|
+
parseClassName: Re(e),
|
|
154
|
+
...ve(e)
|
|
155
|
+
}), Ee = /\s+/, Ie = (e, t) => {
|
|
161
156
|
const {
|
|
162
|
-
parseClassName:
|
|
157
|
+
parseClassName: r,
|
|
163
158
|
getClassGroupId: o,
|
|
164
|
-
getConflictingClassGroupIds:
|
|
165
|
-
} =
|
|
166
|
-
let
|
|
167
|
-
for (let
|
|
168
|
-
const
|
|
169
|
-
modifiers:
|
|
170
|
-
hasImportantModifier:
|
|
171
|
-
baseClassName:
|
|
172
|
-
maybePostfixModifierPosition:
|
|
173
|
-
} =
|
|
174
|
-
let
|
|
175
|
-
if (!
|
|
176
|
-
if (!
|
|
177
|
-
|
|
159
|
+
getConflictingClassGroupIds: a
|
|
160
|
+
} = t, n = [], i = e.trim().split(Ee);
|
|
161
|
+
let s = "";
|
|
162
|
+
for (let p = i.length - 1; p >= 0; p -= 1) {
|
|
163
|
+
const f = i[p], {
|
|
164
|
+
modifiers: h,
|
|
165
|
+
hasImportantModifier: y,
|
|
166
|
+
baseClassName: v,
|
|
167
|
+
maybePostfixModifierPosition: S
|
|
168
|
+
} = r(f);
|
|
169
|
+
let C = !!S, g = o(C ? v.substring(0, S) : v);
|
|
170
|
+
if (!g) {
|
|
171
|
+
if (!C) {
|
|
172
|
+
s = f + (s.length > 0 ? " " + s : s);
|
|
178
173
|
continue;
|
|
179
174
|
}
|
|
180
|
-
if (
|
|
181
|
-
|
|
175
|
+
if (g = o(v), !g) {
|
|
176
|
+
s = f + (s.length > 0 ? " " + s : s);
|
|
182
177
|
continue;
|
|
183
178
|
}
|
|
184
|
-
|
|
179
|
+
C = !1;
|
|
185
180
|
}
|
|
186
|
-
const
|
|
187
|
-
if (n.includes(
|
|
181
|
+
const u = Ae(h).join(":"), x = y ? u + ae : u, w = x + g;
|
|
182
|
+
if (n.includes(w))
|
|
188
183
|
continue;
|
|
189
|
-
n.push(
|
|
190
|
-
const
|
|
191
|
-
for (let
|
|
192
|
-
const
|
|
193
|
-
n.push(x +
|
|
184
|
+
n.push(w);
|
|
185
|
+
const P = a(g, C);
|
|
186
|
+
for (let M = 0; M < P.length; ++M) {
|
|
187
|
+
const B = P[M];
|
|
188
|
+
n.push(x + B);
|
|
194
189
|
}
|
|
195
|
-
|
|
190
|
+
s = f + (s.length > 0 ? " " + s : s);
|
|
196
191
|
}
|
|
197
|
-
return
|
|
192
|
+
return s;
|
|
198
193
|
};
|
|
199
|
-
function
|
|
200
|
-
let e = 0,
|
|
194
|
+
function Ge() {
|
|
195
|
+
let e = 0, t, r, o = "";
|
|
201
196
|
for (; e < arguments.length; )
|
|
202
|
-
(
|
|
197
|
+
(t = arguments[e++]) && (r = le(t)) && (o && (o += " "), o += r);
|
|
203
198
|
return o;
|
|
204
199
|
}
|
|
205
|
-
const
|
|
200
|
+
const le = (e) => {
|
|
206
201
|
if (typeof e == "string")
|
|
207
202
|
return e;
|
|
208
|
-
let
|
|
203
|
+
let t, r = "";
|
|
209
204
|
for (let o = 0; o < e.length; o++)
|
|
210
|
-
e[o] && (
|
|
211
|
-
return
|
|
205
|
+
e[o] && (t = le(e[o])) && (r && (r += " "), r += t);
|
|
206
|
+
return r;
|
|
212
207
|
};
|
|
213
|
-
function
|
|
214
|
-
let
|
|
215
|
-
function
|
|
216
|
-
const
|
|
217
|
-
return
|
|
208
|
+
function Pe(e, ...t) {
|
|
209
|
+
let r, o, a, n = i;
|
|
210
|
+
function i(p) {
|
|
211
|
+
const f = t.reduce((h, y) => y(h), e());
|
|
212
|
+
return r = Me(f), o = r.cache.get, a = r.cache.set, n = s, s(p);
|
|
218
213
|
}
|
|
219
|
-
function
|
|
220
|
-
const
|
|
221
|
-
if (
|
|
222
|
-
return
|
|
223
|
-
const
|
|
224
|
-
return
|
|
214
|
+
function s(p) {
|
|
215
|
+
const f = o(p);
|
|
216
|
+
if (f)
|
|
217
|
+
return f;
|
|
218
|
+
const h = Ie(p, r);
|
|
219
|
+
return a(p, h), h;
|
|
225
220
|
}
|
|
226
221
|
return function() {
|
|
227
|
-
return n(
|
|
222
|
+
return n(Ge.apply(null, arguments));
|
|
228
223
|
};
|
|
229
224
|
}
|
|
230
|
-
const
|
|
231
|
-
const
|
|
232
|
-
return
|
|
233
|
-
},
|
|
234
|
-
const o =
|
|
235
|
-
return o ? o[1] ? typeof
|
|
236
|
-
},
|
|
225
|
+
const c = (e) => {
|
|
226
|
+
const t = (r) => r[e] || [];
|
|
227
|
+
return t.isThemeGetter = !0, t;
|
|
228
|
+
}, ce = /^\[(?:([a-z-]+):)?(.+)\]$/i, je = /^\d+\/\d+$/, Te = /* @__PURE__ */ new Set(["px", "full", "screen"]), Le = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Be = /\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$/, Ve = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, We = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ue = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, z = (e) => I(e) || Te.has(e) || je.test(e), N = (e) => G(e, "length", Ze), I = (e) => !!e && !Number.isNaN(Number(e)), q = (e) => G(e, "number", I), T = (e) => !!e && Number.isInteger(Number(e)), Oe = (e) => e.endsWith("%") && I(e.slice(0, -1)), l = (e) => ce.test(e), R = (e) => Le.test(e), _e = /* @__PURE__ */ new Set(["length", "size", "percentage"]), $e = (e) => G(e, _e, de), Fe = (e) => G(e, "position", de), qe = /* @__PURE__ */ new Set(["image", "url"]), Je = (e) => G(e, qe, Ke), Xe = (e) => G(e, "", He), L = () => !0, G = (e, t, r) => {
|
|
229
|
+
const o = ce.exec(e);
|
|
230
|
+
return o ? o[1] ? typeof t == "string" ? o[1] === t : t.has(o[1]) : r(o[2]) : !1;
|
|
231
|
+
}, Ze = (e) => (
|
|
237
232
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
238
233
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
239
234
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
240
|
-
|
|
241
|
-
),
|
|
242
|
-
const e =
|
|
235
|
+
Be.test(e) && !Ve.test(e)
|
|
236
|
+
), de = () => !1, He = (e) => We.test(e), Ke = (e) => Ue.test(e), Qe = () => {
|
|
237
|
+
const e = c("colors"), t = c("spacing"), r = c("blur"), o = c("brightness"), a = c("borderColor"), n = c("borderRadius"), i = c("borderSpacing"), s = c("borderWidth"), p = c("contrast"), f = c("grayscale"), h = c("hueRotate"), y = c("invert"), v = c("gap"), S = c("gradientColorStops"), C = c("gradientColorStopPositions"), g = c("inset"), u = c("margin"), x = c("opacity"), w = c("padding"), P = c("saturate"), M = c("scale"), B = c("sepia"), H = c("skew"), K = c("space"), Q = c("translate"), U = () => ["auto", "contain", "none"], O = () => ["auto", "hidden", "clip", "visible", "scroll"], _ = () => ["auto", l, t], d = () => [l, t], Y = () => ["", z, N], V = () => ["auto", I, l], D = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], W = () => ["solid", "dashed", "dotted", "double", "none"], ee = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], $ = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], j = () => ["", "0", l], te = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], k = () => [I, l];
|
|
243
238
|
return {
|
|
244
239
|
cacheSize: 500,
|
|
245
240
|
separator: ":",
|
|
246
241
|
theme: {
|
|
247
|
-
colors: [
|
|
248
|
-
spacing: [
|
|
249
|
-
blur: ["none", "",
|
|
250
|
-
brightness:
|
|
242
|
+
colors: [L],
|
|
243
|
+
spacing: [z, N],
|
|
244
|
+
blur: ["none", "", R, l],
|
|
245
|
+
brightness: k(),
|
|
251
246
|
borderColor: [e],
|
|
252
|
-
borderRadius: ["none", "", "full",
|
|
253
|
-
borderSpacing:
|
|
254
|
-
borderWidth:
|
|
255
|
-
contrast:
|
|
256
|
-
grayscale:
|
|
257
|
-
hueRotate:
|
|
258
|
-
invert:
|
|
259
|
-
gap:
|
|
247
|
+
borderRadius: ["none", "", "full", R, l],
|
|
248
|
+
borderSpacing: d(),
|
|
249
|
+
borderWidth: Y(),
|
|
250
|
+
contrast: k(),
|
|
251
|
+
grayscale: j(),
|
|
252
|
+
hueRotate: k(),
|
|
253
|
+
invert: j(),
|
|
254
|
+
gap: d(),
|
|
260
255
|
gradientColorStops: [e],
|
|
261
|
-
gradientColorStopPositions: [
|
|
262
|
-
inset:
|
|
263
|
-
margin:
|
|
264
|
-
opacity:
|
|
265
|
-
padding:
|
|
266
|
-
saturate:
|
|
267
|
-
scale:
|
|
268
|
-
sepia:
|
|
269
|
-
skew:
|
|
270
|
-
space:
|
|
271
|
-
translate:
|
|
256
|
+
gradientColorStopPositions: [Oe, N],
|
|
257
|
+
inset: _(),
|
|
258
|
+
margin: _(),
|
|
259
|
+
opacity: k(),
|
|
260
|
+
padding: d(),
|
|
261
|
+
saturate: k(),
|
|
262
|
+
scale: k(),
|
|
263
|
+
sepia: j(),
|
|
264
|
+
skew: k(),
|
|
265
|
+
space: d(),
|
|
266
|
+
translate: d()
|
|
272
267
|
},
|
|
273
268
|
classGroups: {
|
|
274
269
|
// Layout
|
|
@@ -277,7 +272,7 @@ const b = (e) => {
|
|
|
277
272
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
278
273
|
*/
|
|
279
274
|
aspect: [{
|
|
280
|
-
aspect: ["auto", "square", "video",
|
|
275
|
+
aspect: ["auto", "square", "video", l]
|
|
281
276
|
}],
|
|
282
277
|
/**
|
|
283
278
|
* Container
|
|
@@ -289,21 +284,21 @@ const b = (e) => {
|
|
|
289
284
|
* @see https://tailwindcss.com/docs/columns
|
|
290
285
|
*/
|
|
291
286
|
columns: [{
|
|
292
|
-
columns: [
|
|
287
|
+
columns: [R]
|
|
293
288
|
}],
|
|
294
289
|
/**
|
|
295
290
|
* Break After
|
|
296
291
|
* @see https://tailwindcss.com/docs/break-after
|
|
297
292
|
*/
|
|
298
293
|
"break-after": [{
|
|
299
|
-
"break-after":
|
|
294
|
+
"break-after": te()
|
|
300
295
|
}],
|
|
301
296
|
/**
|
|
302
297
|
* Break Before
|
|
303
298
|
* @see https://tailwindcss.com/docs/break-before
|
|
304
299
|
*/
|
|
305
300
|
"break-before": [{
|
|
306
|
-
"break-before":
|
|
301
|
+
"break-before": te()
|
|
307
302
|
}],
|
|
308
303
|
/**
|
|
309
304
|
* Break Inside
|
|
@@ -362,49 +357,49 @@ const b = (e) => {
|
|
|
362
357
|
* @see https://tailwindcss.com/docs/object-position
|
|
363
358
|
*/
|
|
364
359
|
"object-position": [{
|
|
365
|
-
object: [...
|
|
360
|
+
object: [...D(), l]
|
|
366
361
|
}],
|
|
367
362
|
/**
|
|
368
363
|
* Overflow
|
|
369
364
|
* @see https://tailwindcss.com/docs/overflow
|
|
370
365
|
*/
|
|
371
366
|
overflow: [{
|
|
372
|
-
overflow:
|
|
367
|
+
overflow: O()
|
|
373
368
|
}],
|
|
374
369
|
/**
|
|
375
370
|
* Overflow X
|
|
376
371
|
* @see https://tailwindcss.com/docs/overflow
|
|
377
372
|
*/
|
|
378
373
|
"overflow-x": [{
|
|
379
|
-
"overflow-x":
|
|
374
|
+
"overflow-x": O()
|
|
380
375
|
}],
|
|
381
376
|
/**
|
|
382
377
|
* Overflow Y
|
|
383
378
|
* @see https://tailwindcss.com/docs/overflow
|
|
384
379
|
*/
|
|
385
380
|
"overflow-y": [{
|
|
386
|
-
"overflow-y":
|
|
381
|
+
"overflow-y": O()
|
|
387
382
|
}],
|
|
388
383
|
/**
|
|
389
384
|
* Overscroll Behavior
|
|
390
385
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
391
386
|
*/
|
|
392
387
|
overscroll: [{
|
|
393
|
-
overscroll:
|
|
388
|
+
overscroll: U()
|
|
394
389
|
}],
|
|
395
390
|
/**
|
|
396
391
|
* Overscroll Behavior X
|
|
397
392
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
398
393
|
*/
|
|
399
394
|
"overscroll-x": [{
|
|
400
|
-
"overscroll-x":
|
|
395
|
+
"overscroll-x": U()
|
|
401
396
|
}],
|
|
402
397
|
/**
|
|
403
398
|
* Overscroll Behavior Y
|
|
404
399
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
405
400
|
*/
|
|
406
401
|
"overscroll-y": [{
|
|
407
|
-
"overscroll-y":
|
|
402
|
+
"overscroll-y": U()
|
|
408
403
|
}],
|
|
409
404
|
/**
|
|
410
405
|
* Position
|
|
@@ -416,63 +411,63 @@ const b = (e) => {
|
|
|
416
411
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
417
412
|
*/
|
|
418
413
|
inset: [{
|
|
419
|
-
inset: [
|
|
414
|
+
inset: [g]
|
|
420
415
|
}],
|
|
421
416
|
/**
|
|
422
417
|
* Right / Left
|
|
423
418
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
424
419
|
*/
|
|
425
420
|
"inset-x": [{
|
|
426
|
-
"inset-x": [
|
|
421
|
+
"inset-x": [g]
|
|
427
422
|
}],
|
|
428
423
|
/**
|
|
429
424
|
* Top / Bottom
|
|
430
425
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
431
426
|
*/
|
|
432
427
|
"inset-y": [{
|
|
433
|
-
"inset-y": [
|
|
428
|
+
"inset-y": [g]
|
|
434
429
|
}],
|
|
435
430
|
/**
|
|
436
431
|
* Start
|
|
437
432
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
438
433
|
*/
|
|
439
434
|
start: [{
|
|
440
|
-
start: [
|
|
435
|
+
start: [g]
|
|
441
436
|
}],
|
|
442
437
|
/**
|
|
443
438
|
* End
|
|
444
439
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
445
440
|
*/
|
|
446
441
|
end: [{
|
|
447
|
-
end: [
|
|
442
|
+
end: [g]
|
|
448
443
|
}],
|
|
449
444
|
/**
|
|
450
445
|
* Top
|
|
451
446
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
452
447
|
*/
|
|
453
448
|
top: [{
|
|
454
|
-
top: [
|
|
449
|
+
top: [g]
|
|
455
450
|
}],
|
|
456
451
|
/**
|
|
457
452
|
* Right
|
|
458
453
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
459
454
|
*/
|
|
460
455
|
right: [{
|
|
461
|
-
right: [
|
|
456
|
+
right: [g]
|
|
462
457
|
}],
|
|
463
458
|
/**
|
|
464
459
|
* Bottom
|
|
465
460
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
466
461
|
*/
|
|
467
462
|
bottom: [{
|
|
468
|
-
bottom: [
|
|
463
|
+
bottom: [g]
|
|
469
464
|
}],
|
|
470
465
|
/**
|
|
471
466
|
* Left
|
|
472
467
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
473
468
|
*/
|
|
474
469
|
left: [{
|
|
475
|
-
left: [
|
|
470
|
+
left: [g]
|
|
476
471
|
}],
|
|
477
472
|
/**
|
|
478
473
|
* Visibility
|
|
@@ -484,7 +479,7 @@ const b = (e) => {
|
|
|
484
479
|
* @see https://tailwindcss.com/docs/z-index
|
|
485
480
|
*/
|
|
486
481
|
z: [{
|
|
487
|
-
z: ["auto",
|
|
482
|
+
z: ["auto", T, l]
|
|
488
483
|
}],
|
|
489
484
|
// Flexbox and Grid
|
|
490
485
|
/**
|
|
@@ -492,7 +487,7 @@ const b = (e) => {
|
|
|
492
487
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
493
488
|
*/
|
|
494
489
|
basis: [{
|
|
495
|
-
basis:
|
|
490
|
+
basis: _()
|
|
496
491
|
}],
|
|
497
492
|
/**
|
|
498
493
|
* Flex Direction
|
|
@@ -513,35 +508,35 @@ const b = (e) => {
|
|
|
513
508
|
* @see https://tailwindcss.com/docs/flex
|
|
514
509
|
*/
|
|
515
510
|
flex: [{
|
|
516
|
-
flex: ["1", "auto", "initial", "none",
|
|
511
|
+
flex: ["1", "auto", "initial", "none", l]
|
|
517
512
|
}],
|
|
518
513
|
/**
|
|
519
514
|
* Flex Grow
|
|
520
515
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
521
516
|
*/
|
|
522
517
|
grow: [{
|
|
523
|
-
grow:
|
|
518
|
+
grow: j()
|
|
524
519
|
}],
|
|
525
520
|
/**
|
|
526
521
|
* Flex Shrink
|
|
527
522
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
528
523
|
*/
|
|
529
524
|
shrink: [{
|
|
530
|
-
shrink:
|
|
525
|
+
shrink: j()
|
|
531
526
|
}],
|
|
532
527
|
/**
|
|
533
528
|
* Order
|
|
534
529
|
* @see https://tailwindcss.com/docs/order
|
|
535
530
|
*/
|
|
536
531
|
order: [{
|
|
537
|
-
order: ["first", "last", "none",
|
|
532
|
+
order: ["first", "last", "none", T, l]
|
|
538
533
|
}],
|
|
539
534
|
/**
|
|
540
535
|
* Grid Template Columns
|
|
541
536
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
542
537
|
*/
|
|
543
538
|
"grid-cols": [{
|
|
544
|
-
"grid-cols": [
|
|
539
|
+
"grid-cols": [L]
|
|
545
540
|
}],
|
|
546
541
|
/**
|
|
547
542
|
* Grid Column Start / End
|
|
@@ -549,29 +544,29 @@ const b = (e) => {
|
|
|
549
544
|
*/
|
|
550
545
|
"col-start-end": [{
|
|
551
546
|
col: ["auto", {
|
|
552
|
-
span: ["full",
|
|
553
|
-
},
|
|
547
|
+
span: ["full", T, l]
|
|
548
|
+
}, l]
|
|
554
549
|
}],
|
|
555
550
|
/**
|
|
556
551
|
* Grid Column Start
|
|
557
552
|
* @see https://tailwindcss.com/docs/grid-column
|
|
558
553
|
*/
|
|
559
554
|
"col-start": [{
|
|
560
|
-
"col-start":
|
|
555
|
+
"col-start": V()
|
|
561
556
|
}],
|
|
562
557
|
/**
|
|
563
558
|
* Grid Column End
|
|
564
559
|
* @see https://tailwindcss.com/docs/grid-column
|
|
565
560
|
*/
|
|
566
561
|
"col-end": [{
|
|
567
|
-
"col-end":
|
|
562
|
+
"col-end": V()
|
|
568
563
|
}],
|
|
569
564
|
/**
|
|
570
565
|
* Grid Template Rows
|
|
571
566
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
572
567
|
*/
|
|
573
568
|
"grid-rows": [{
|
|
574
|
-
"grid-rows": [
|
|
569
|
+
"grid-rows": [L]
|
|
575
570
|
}],
|
|
576
571
|
/**
|
|
577
572
|
* Grid Row Start / End
|
|
@@ -579,22 +574,22 @@ const b = (e) => {
|
|
|
579
574
|
*/
|
|
580
575
|
"row-start-end": [{
|
|
581
576
|
row: ["auto", {
|
|
582
|
-
span: [
|
|
583
|
-
},
|
|
577
|
+
span: [T, l]
|
|
578
|
+
}, l]
|
|
584
579
|
}],
|
|
585
580
|
/**
|
|
586
581
|
* Grid Row Start
|
|
587
582
|
* @see https://tailwindcss.com/docs/grid-row
|
|
588
583
|
*/
|
|
589
584
|
"row-start": [{
|
|
590
|
-
"row-start":
|
|
585
|
+
"row-start": V()
|
|
591
586
|
}],
|
|
592
587
|
/**
|
|
593
588
|
* Grid Row End
|
|
594
589
|
* @see https://tailwindcss.com/docs/grid-row
|
|
595
590
|
*/
|
|
596
591
|
"row-end": [{
|
|
597
|
-
"row-end":
|
|
592
|
+
"row-end": V()
|
|
598
593
|
}],
|
|
599
594
|
/**
|
|
600
595
|
* Grid Auto Flow
|
|
@@ -608,42 +603,42 @@ const b = (e) => {
|
|
|
608
603
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
609
604
|
*/
|
|
610
605
|
"auto-cols": [{
|
|
611
|
-
"auto-cols": ["auto", "min", "max", "fr",
|
|
606
|
+
"auto-cols": ["auto", "min", "max", "fr", l]
|
|
612
607
|
}],
|
|
613
608
|
/**
|
|
614
609
|
* Grid Auto Rows
|
|
615
610
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
616
611
|
*/
|
|
617
612
|
"auto-rows": [{
|
|
618
|
-
"auto-rows": ["auto", "min", "max", "fr",
|
|
613
|
+
"auto-rows": ["auto", "min", "max", "fr", l]
|
|
619
614
|
}],
|
|
620
615
|
/**
|
|
621
616
|
* Gap
|
|
622
617
|
* @see https://tailwindcss.com/docs/gap
|
|
623
618
|
*/
|
|
624
619
|
gap: [{
|
|
625
|
-
gap: [
|
|
620
|
+
gap: [v]
|
|
626
621
|
}],
|
|
627
622
|
/**
|
|
628
623
|
* Gap X
|
|
629
624
|
* @see https://tailwindcss.com/docs/gap
|
|
630
625
|
*/
|
|
631
626
|
"gap-x": [{
|
|
632
|
-
"gap-x": [
|
|
627
|
+
"gap-x": [v]
|
|
633
628
|
}],
|
|
634
629
|
/**
|
|
635
630
|
* Gap Y
|
|
636
631
|
* @see https://tailwindcss.com/docs/gap
|
|
637
632
|
*/
|
|
638
633
|
"gap-y": [{
|
|
639
|
-
"gap-y": [
|
|
634
|
+
"gap-y": [v]
|
|
640
635
|
}],
|
|
641
636
|
/**
|
|
642
637
|
* Justify Content
|
|
643
638
|
* @see https://tailwindcss.com/docs/justify-content
|
|
644
639
|
*/
|
|
645
640
|
"justify-content": [{
|
|
646
|
-
justify: ["normal",
|
|
641
|
+
justify: ["normal", ...$()]
|
|
647
642
|
}],
|
|
648
643
|
/**
|
|
649
644
|
* Justify Items
|
|
@@ -664,7 +659,7 @@ const b = (e) => {
|
|
|
664
659
|
* @see https://tailwindcss.com/docs/align-content
|
|
665
660
|
*/
|
|
666
661
|
"align-content": [{
|
|
667
|
-
content: ["normal",
|
|
662
|
+
content: ["normal", ...$(), "baseline"]
|
|
668
663
|
}],
|
|
669
664
|
/**
|
|
670
665
|
* Align Items
|
|
@@ -685,7 +680,7 @@ const b = (e) => {
|
|
|
685
680
|
* @see https://tailwindcss.com/docs/place-content
|
|
686
681
|
*/
|
|
687
682
|
"place-content": [{
|
|
688
|
-
"place-content": [
|
|
683
|
+
"place-content": [...$(), "baseline"]
|
|
689
684
|
}],
|
|
690
685
|
/**
|
|
691
686
|
* Place Items
|
|
@@ -707,133 +702,133 @@ const b = (e) => {
|
|
|
707
702
|
* @see https://tailwindcss.com/docs/padding
|
|
708
703
|
*/
|
|
709
704
|
p: [{
|
|
710
|
-
p: [
|
|
705
|
+
p: [w]
|
|
711
706
|
}],
|
|
712
707
|
/**
|
|
713
708
|
* Padding X
|
|
714
709
|
* @see https://tailwindcss.com/docs/padding
|
|
715
710
|
*/
|
|
716
711
|
px: [{
|
|
717
|
-
px: [
|
|
712
|
+
px: [w]
|
|
718
713
|
}],
|
|
719
714
|
/**
|
|
720
715
|
* Padding Y
|
|
721
716
|
* @see https://tailwindcss.com/docs/padding
|
|
722
717
|
*/
|
|
723
718
|
py: [{
|
|
724
|
-
py: [
|
|
719
|
+
py: [w]
|
|
725
720
|
}],
|
|
726
721
|
/**
|
|
727
722
|
* Padding Start
|
|
728
723
|
* @see https://tailwindcss.com/docs/padding
|
|
729
724
|
*/
|
|
730
725
|
ps: [{
|
|
731
|
-
ps: [
|
|
726
|
+
ps: [w]
|
|
732
727
|
}],
|
|
733
728
|
/**
|
|
734
729
|
* Padding End
|
|
735
730
|
* @see https://tailwindcss.com/docs/padding
|
|
736
731
|
*/
|
|
737
732
|
pe: [{
|
|
738
|
-
pe: [
|
|
733
|
+
pe: [w]
|
|
739
734
|
}],
|
|
740
735
|
/**
|
|
741
736
|
* Padding Top
|
|
742
737
|
* @see https://tailwindcss.com/docs/padding
|
|
743
738
|
*/
|
|
744
739
|
pt: [{
|
|
745
|
-
pt: [
|
|
740
|
+
pt: [w]
|
|
746
741
|
}],
|
|
747
742
|
/**
|
|
748
743
|
* Padding Right
|
|
749
744
|
* @see https://tailwindcss.com/docs/padding
|
|
750
745
|
*/
|
|
751
746
|
pr: [{
|
|
752
|
-
pr: [
|
|
747
|
+
pr: [w]
|
|
753
748
|
}],
|
|
754
749
|
/**
|
|
755
750
|
* Padding Bottom
|
|
756
751
|
* @see https://tailwindcss.com/docs/padding
|
|
757
752
|
*/
|
|
758
753
|
pb: [{
|
|
759
|
-
pb: [
|
|
754
|
+
pb: [w]
|
|
760
755
|
}],
|
|
761
756
|
/**
|
|
762
757
|
* Padding Left
|
|
763
758
|
* @see https://tailwindcss.com/docs/padding
|
|
764
759
|
*/
|
|
765
760
|
pl: [{
|
|
766
|
-
pl: [
|
|
761
|
+
pl: [w]
|
|
767
762
|
}],
|
|
768
763
|
/**
|
|
769
764
|
* Margin
|
|
770
765
|
* @see https://tailwindcss.com/docs/margin
|
|
771
766
|
*/
|
|
772
767
|
m: [{
|
|
773
|
-
m: [
|
|
768
|
+
m: [u]
|
|
774
769
|
}],
|
|
775
770
|
/**
|
|
776
771
|
* Margin X
|
|
777
772
|
* @see https://tailwindcss.com/docs/margin
|
|
778
773
|
*/
|
|
779
774
|
mx: [{
|
|
780
|
-
mx: [
|
|
775
|
+
mx: [u]
|
|
781
776
|
}],
|
|
782
777
|
/**
|
|
783
778
|
* Margin Y
|
|
784
779
|
* @see https://tailwindcss.com/docs/margin
|
|
785
780
|
*/
|
|
786
781
|
my: [{
|
|
787
|
-
my: [
|
|
782
|
+
my: [u]
|
|
788
783
|
}],
|
|
789
784
|
/**
|
|
790
785
|
* Margin Start
|
|
791
786
|
* @see https://tailwindcss.com/docs/margin
|
|
792
787
|
*/
|
|
793
788
|
ms: [{
|
|
794
|
-
ms: [
|
|
789
|
+
ms: [u]
|
|
795
790
|
}],
|
|
796
791
|
/**
|
|
797
792
|
* Margin End
|
|
798
793
|
* @see https://tailwindcss.com/docs/margin
|
|
799
794
|
*/
|
|
800
795
|
me: [{
|
|
801
|
-
me: [
|
|
796
|
+
me: [u]
|
|
802
797
|
}],
|
|
803
798
|
/**
|
|
804
799
|
* Margin Top
|
|
805
800
|
* @see https://tailwindcss.com/docs/margin
|
|
806
801
|
*/
|
|
807
802
|
mt: [{
|
|
808
|
-
mt: [
|
|
803
|
+
mt: [u]
|
|
809
804
|
}],
|
|
810
805
|
/**
|
|
811
806
|
* Margin Right
|
|
812
807
|
* @see https://tailwindcss.com/docs/margin
|
|
813
808
|
*/
|
|
814
809
|
mr: [{
|
|
815
|
-
mr: [
|
|
810
|
+
mr: [u]
|
|
816
811
|
}],
|
|
817
812
|
/**
|
|
818
813
|
* Margin Bottom
|
|
819
814
|
* @see https://tailwindcss.com/docs/margin
|
|
820
815
|
*/
|
|
821
816
|
mb: [{
|
|
822
|
-
mb: [
|
|
817
|
+
mb: [u]
|
|
823
818
|
}],
|
|
824
819
|
/**
|
|
825
820
|
* Margin Left
|
|
826
821
|
* @see https://tailwindcss.com/docs/margin
|
|
827
822
|
*/
|
|
828
823
|
ml: [{
|
|
829
|
-
ml: [
|
|
824
|
+
ml: [u]
|
|
830
825
|
}],
|
|
831
826
|
/**
|
|
832
827
|
* Space Between X
|
|
833
828
|
* @see https://tailwindcss.com/docs/space
|
|
834
829
|
*/
|
|
835
830
|
"space-x": [{
|
|
836
|
-
"space-x": [
|
|
831
|
+
"space-x": [K]
|
|
837
832
|
}],
|
|
838
833
|
/**
|
|
839
834
|
* Space Between X Reverse
|
|
@@ -845,7 +840,7 @@ const b = (e) => {
|
|
|
845
840
|
* @see https://tailwindcss.com/docs/space
|
|
846
841
|
*/
|
|
847
842
|
"space-y": [{
|
|
848
|
-
"space-y": [
|
|
843
|
+
"space-y": [K]
|
|
849
844
|
}],
|
|
850
845
|
/**
|
|
851
846
|
* Space Between Y Reverse
|
|
@@ -858,51 +853,51 @@ const b = (e) => {
|
|
|
858
853
|
* @see https://tailwindcss.com/docs/width
|
|
859
854
|
*/
|
|
860
855
|
w: [{
|
|
861
|
-
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw",
|
|
856
|
+
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", l, t]
|
|
862
857
|
}],
|
|
863
858
|
/**
|
|
864
859
|
* Min-Width
|
|
865
860
|
* @see https://tailwindcss.com/docs/min-width
|
|
866
861
|
*/
|
|
867
862
|
"min-w": [{
|
|
868
|
-
"min-w": [
|
|
863
|
+
"min-w": [l, t, "min", "max", "fit"]
|
|
869
864
|
}],
|
|
870
865
|
/**
|
|
871
866
|
* Max-Width
|
|
872
867
|
* @see https://tailwindcss.com/docs/max-width
|
|
873
868
|
*/
|
|
874
869
|
"max-w": [{
|
|
875
|
-
"max-w": [
|
|
876
|
-
screen: [
|
|
877
|
-
},
|
|
870
|
+
"max-w": [l, t, "none", "full", "min", "max", "fit", "prose", {
|
|
871
|
+
screen: [R]
|
|
872
|
+
}, R]
|
|
878
873
|
}],
|
|
879
874
|
/**
|
|
880
875
|
* Height
|
|
881
876
|
* @see https://tailwindcss.com/docs/height
|
|
882
877
|
*/
|
|
883
878
|
h: [{
|
|
884
|
-
h: [
|
|
879
|
+
h: [l, t, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
885
880
|
}],
|
|
886
881
|
/**
|
|
887
882
|
* Min-Height
|
|
888
883
|
* @see https://tailwindcss.com/docs/min-height
|
|
889
884
|
*/
|
|
890
885
|
"min-h": [{
|
|
891
|
-
"min-h": [
|
|
886
|
+
"min-h": [l, t, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
892
887
|
}],
|
|
893
888
|
/**
|
|
894
889
|
* Max-Height
|
|
895
890
|
* @see https://tailwindcss.com/docs/max-height
|
|
896
891
|
*/
|
|
897
892
|
"max-h": [{
|
|
898
|
-
"max-h": [
|
|
893
|
+
"max-h": [l, t, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
899
894
|
}],
|
|
900
895
|
/**
|
|
901
896
|
* Size
|
|
902
897
|
* @see https://tailwindcss.com/docs/size
|
|
903
898
|
*/
|
|
904
899
|
size: [{
|
|
905
|
-
size: [
|
|
900
|
+
size: [l, t, "auto", "min", "max", "fit"]
|
|
906
901
|
}],
|
|
907
902
|
// Typography
|
|
908
903
|
/**
|
|
@@ -910,7 +905,7 @@ const b = (e) => {
|
|
|
910
905
|
* @see https://tailwindcss.com/docs/font-size
|
|
911
906
|
*/
|
|
912
907
|
"font-size": [{
|
|
913
|
-
text: ["base",
|
|
908
|
+
text: ["base", R, N]
|
|
914
909
|
}],
|
|
915
910
|
/**
|
|
916
911
|
* Font Smoothing
|
|
@@ -927,14 +922,14 @@ const b = (e) => {
|
|
|
927
922
|
* @see https://tailwindcss.com/docs/font-weight
|
|
928
923
|
*/
|
|
929
924
|
"font-weight": [{
|
|
930
|
-
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black",
|
|
925
|
+
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", q]
|
|
931
926
|
}],
|
|
932
927
|
/**
|
|
933
928
|
* Font Family
|
|
934
929
|
* @see https://tailwindcss.com/docs/font-family
|
|
935
930
|
*/
|
|
936
931
|
"font-family": [{
|
|
937
|
-
font: [
|
|
932
|
+
font: [L]
|
|
938
933
|
}],
|
|
939
934
|
/**
|
|
940
935
|
* Font Variant Numeric
|
|
@@ -971,35 +966,35 @@ const b = (e) => {
|
|
|
971
966
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
972
967
|
*/
|
|
973
968
|
tracking: [{
|
|
974
|
-
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest",
|
|
969
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", l]
|
|
975
970
|
}],
|
|
976
971
|
/**
|
|
977
972
|
* Line Clamp
|
|
978
973
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
979
974
|
*/
|
|
980
975
|
"line-clamp": [{
|
|
981
|
-
"line-clamp": ["none",
|
|
976
|
+
"line-clamp": ["none", I, q]
|
|
982
977
|
}],
|
|
983
978
|
/**
|
|
984
979
|
* Line Height
|
|
985
980
|
* @see https://tailwindcss.com/docs/line-height
|
|
986
981
|
*/
|
|
987
982
|
leading: [{
|
|
988
|
-
leading: ["none", "tight", "snug", "normal", "relaxed", "loose",
|
|
983
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", z, l]
|
|
989
984
|
}],
|
|
990
985
|
/**
|
|
991
986
|
* List Style Image
|
|
992
987
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
993
988
|
*/
|
|
994
989
|
"list-image": [{
|
|
995
|
-
"list-image": ["none",
|
|
990
|
+
"list-image": ["none", l]
|
|
996
991
|
}],
|
|
997
992
|
/**
|
|
998
993
|
* List Style Type
|
|
999
994
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1000
995
|
*/
|
|
1001
996
|
"list-style-type": [{
|
|
1002
|
-
list: ["none", "disc", "decimal",
|
|
997
|
+
list: ["none", "disc", "decimal", l]
|
|
1003
998
|
}],
|
|
1004
999
|
/**
|
|
1005
1000
|
* List Style Position
|
|
@@ -1054,21 +1049,21 @@ const b = (e) => {
|
|
|
1054
1049
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1055
1050
|
*/
|
|
1056
1051
|
"text-decoration-style": [{
|
|
1057
|
-
decoration: [
|
|
1052
|
+
decoration: [...W(), "wavy"]
|
|
1058
1053
|
}],
|
|
1059
1054
|
/**
|
|
1060
1055
|
* Text Decoration Thickness
|
|
1061
1056
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1062
1057
|
*/
|
|
1063
1058
|
"text-decoration-thickness": [{
|
|
1064
|
-
decoration: ["auto", "from-font",
|
|
1059
|
+
decoration: ["auto", "from-font", z, N]
|
|
1065
1060
|
}],
|
|
1066
1061
|
/**
|
|
1067
1062
|
* Text Underline Offset
|
|
1068
1063
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1069
1064
|
*/
|
|
1070
1065
|
"underline-offset": [{
|
|
1071
|
-
"underline-offset": ["auto",
|
|
1066
|
+
"underline-offset": ["auto", z, l]
|
|
1072
1067
|
}],
|
|
1073
1068
|
/**
|
|
1074
1069
|
* Text Decoration Color
|
|
@@ -1099,14 +1094,14 @@ const b = (e) => {
|
|
|
1099
1094
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1100
1095
|
*/
|
|
1101
1096
|
indent: [{
|
|
1102
|
-
indent:
|
|
1097
|
+
indent: d()
|
|
1103
1098
|
}],
|
|
1104
1099
|
/**
|
|
1105
1100
|
* Vertical Alignment
|
|
1106
1101
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1107
1102
|
*/
|
|
1108
1103
|
"vertical-align": [{
|
|
1109
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1104
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", l]
|
|
1110
1105
|
}],
|
|
1111
1106
|
/**
|
|
1112
1107
|
* Whitespace
|
|
@@ -1134,7 +1129,7 @@ const b = (e) => {
|
|
|
1134
1129
|
* @see https://tailwindcss.com/docs/content
|
|
1135
1130
|
*/
|
|
1136
1131
|
content: [{
|
|
1137
|
-
content: ["none",
|
|
1132
|
+
content: ["none", l]
|
|
1138
1133
|
}],
|
|
1139
1134
|
// Backgrounds
|
|
1140
1135
|
/**
|
|
@@ -1171,7 +1166,7 @@ const b = (e) => {
|
|
|
1171
1166
|
* @see https://tailwindcss.com/docs/background-position
|
|
1172
1167
|
*/
|
|
1173
1168
|
"bg-position": [{
|
|
1174
|
-
bg: [...
|
|
1169
|
+
bg: [...D(), Fe]
|
|
1175
1170
|
}],
|
|
1176
1171
|
/**
|
|
1177
1172
|
* Background Repeat
|
|
@@ -1187,7 +1182,7 @@ const b = (e) => {
|
|
|
1187
1182
|
* @see https://tailwindcss.com/docs/background-size
|
|
1188
1183
|
*/
|
|
1189
1184
|
"bg-size": [{
|
|
1190
|
-
bg: ["auto", "cover", "contain",
|
|
1185
|
+
bg: ["auto", "cover", "contain", $e]
|
|
1191
1186
|
}],
|
|
1192
1187
|
/**
|
|
1193
1188
|
* Background Image
|
|
@@ -1196,7 +1191,7 @@ const b = (e) => {
|
|
|
1196
1191
|
"bg-image": [{
|
|
1197
1192
|
bg: ["none", {
|
|
1198
1193
|
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1199
|
-
},
|
|
1194
|
+
}, Je]
|
|
1200
1195
|
}],
|
|
1201
1196
|
/**
|
|
1202
1197
|
* Background Color
|
|
@@ -1210,42 +1205,42 @@ const b = (e) => {
|
|
|
1210
1205
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1211
1206
|
*/
|
|
1212
1207
|
"gradient-from-pos": [{
|
|
1213
|
-
from: [
|
|
1208
|
+
from: [C]
|
|
1214
1209
|
}],
|
|
1215
1210
|
/**
|
|
1216
1211
|
* Gradient Color Stops Via Position
|
|
1217
1212
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1218
1213
|
*/
|
|
1219
1214
|
"gradient-via-pos": [{
|
|
1220
|
-
via: [
|
|
1215
|
+
via: [C]
|
|
1221
1216
|
}],
|
|
1222
1217
|
/**
|
|
1223
1218
|
* Gradient Color Stops To Position
|
|
1224
1219
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1225
1220
|
*/
|
|
1226
1221
|
"gradient-to-pos": [{
|
|
1227
|
-
to: [
|
|
1222
|
+
to: [C]
|
|
1228
1223
|
}],
|
|
1229
1224
|
/**
|
|
1230
1225
|
* Gradient Color Stops From
|
|
1231
1226
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1232
1227
|
*/
|
|
1233
1228
|
"gradient-from": [{
|
|
1234
|
-
from: [
|
|
1229
|
+
from: [S]
|
|
1235
1230
|
}],
|
|
1236
1231
|
/**
|
|
1237
1232
|
* Gradient Color Stops Via
|
|
1238
1233
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1239
1234
|
*/
|
|
1240
1235
|
"gradient-via": [{
|
|
1241
|
-
via: [
|
|
1236
|
+
via: [S]
|
|
1242
1237
|
}],
|
|
1243
1238
|
/**
|
|
1244
1239
|
* Gradient Color Stops To
|
|
1245
1240
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1246
1241
|
*/
|
|
1247
1242
|
"gradient-to": [{
|
|
1248
|
-
to: [
|
|
1243
|
+
to: [S]
|
|
1249
1244
|
}],
|
|
1250
1245
|
// Borders
|
|
1251
1246
|
/**
|
|
@@ -1358,63 +1353,63 @@ const b = (e) => {
|
|
|
1358
1353
|
* @see https://tailwindcss.com/docs/border-width
|
|
1359
1354
|
*/
|
|
1360
1355
|
"border-w": [{
|
|
1361
|
-
border: [
|
|
1356
|
+
border: [s]
|
|
1362
1357
|
}],
|
|
1363
1358
|
/**
|
|
1364
1359
|
* Border Width X
|
|
1365
1360
|
* @see https://tailwindcss.com/docs/border-width
|
|
1366
1361
|
*/
|
|
1367
1362
|
"border-w-x": [{
|
|
1368
|
-
"border-x": [
|
|
1363
|
+
"border-x": [s]
|
|
1369
1364
|
}],
|
|
1370
1365
|
/**
|
|
1371
1366
|
* Border Width Y
|
|
1372
1367
|
* @see https://tailwindcss.com/docs/border-width
|
|
1373
1368
|
*/
|
|
1374
1369
|
"border-w-y": [{
|
|
1375
|
-
"border-y": [
|
|
1370
|
+
"border-y": [s]
|
|
1376
1371
|
}],
|
|
1377
1372
|
/**
|
|
1378
1373
|
* Border Width Start
|
|
1379
1374
|
* @see https://tailwindcss.com/docs/border-width
|
|
1380
1375
|
*/
|
|
1381
1376
|
"border-w-s": [{
|
|
1382
|
-
"border-s": [
|
|
1377
|
+
"border-s": [s]
|
|
1383
1378
|
}],
|
|
1384
1379
|
/**
|
|
1385
1380
|
* Border Width End
|
|
1386
1381
|
* @see https://tailwindcss.com/docs/border-width
|
|
1387
1382
|
*/
|
|
1388
1383
|
"border-w-e": [{
|
|
1389
|
-
"border-e": [
|
|
1384
|
+
"border-e": [s]
|
|
1390
1385
|
}],
|
|
1391
1386
|
/**
|
|
1392
1387
|
* Border Width Top
|
|
1393
1388
|
* @see https://tailwindcss.com/docs/border-width
|
|
1394
1389
|
*/
|
|
1395
1390
|
"border-w-t": [{
|
|
1396
|
-
"border-t": [
|
|
1391
|
+
"border-t": [s]
|
|
1397
1392
|
}],
|
|
1398
1393
|
/**
|
|
1399
1394
|
* Border Width Right
|
|
1400
1395
|
* @see https://tailwindcss.com/docs/border-width
|
|
1401
1396
|
*/
|
|
1402
1397
|
"border-w-r": [{
|
|
1403
|
-
"border-r": [
|
|
1398
|
+
"border-r": [s]
|
|
1404
1399
|
}],
|
|
1405
1400
|
/**
|
|
1406
1401
|
* Border Width Bottom
|
|
1407
1402
|
* @see https://tailwindcss.com/docs/border-width
|
|
1408
1403
|
*/
|
|
1409
1404
|
"border-w-b": [{
|
|
1410
|
-
"border-b": [
|
|
1405
|
+
"border-b": [s]
|
|
1411
1406
|
}],
|
|
1412
1407
|
/**
|
|
1413
1408
|
* Border Width Left
|
|
1414
1409
|
* @see https://tailwindcss.com/docs/border-width
|
|
1415
1410
|
*/
|
|
1416
1411
|
"border-w-l": [{
|
|
1417
|
-
"border-l": [
|
|
1412
|
+
"border-l": [s]
|
|
1418
1413
|
}],
|
|
1419
1414
|
/**
|
|
1420
1415
|
* Border Opacity
|
|
@@ -1428,14 +1423,14 @@ const b = (e) => {
|
|
|
1428
1423
|
* @see https://tailwindcss.com/docs/border-style
|
|
1429
1424
|
*/
|
|
1430
1425
|
"border-style": [{
|
|
1431
|
-
border: [
|
|
1426
|
+
border: [...W(), "hidden"]
|
|
1432
1427
|
}],
|
|
1433
1428
|
/**
|
|
1434
1429
|
* Divide Width X
|
|
1435
1430
|
* @see https://tailwindcss.com/docs/divide-width
|
|
1436
1431
|
*/
|
|
1437
1432
|
"divide-x": [{
|
|
1438
|
-
"divide-x": [
|
|
1433
|
+
"divide-x": [s]
|
|
1439
1434
|
}],
|
|
1440
1435
|
/**
|
|
1441
1436
|
* Divide Width X Reverse
|
|
@@ -1447,7 +1442,7 @@ const b = (e) => {
|
|
|
1447
1442
|
* @see https://tailwindcss.com/docs/divide-width
|
|
1448
1443
|
*/
|
|
1449
1444
|
"divide-y": [{
|
|
1450
|
-
"divide-y": [
|
|
1445
|
+
"divide-y": [s]
|
|
1451
1446
|
}],
|
|
1452
1447
|
/**
|
|
1453
1448
|
* Divide Width Y Reverse
|
|
@@ -1466,98 +1461,98 @@ const b = (e) => {
|
|
|
1466
1461
|
* @see https://tailwindcss.com/docs/divide-style
|
|
1467
1462
|
*/
|
|
1468
1463
|
"divide-style": [{
|
|
1469
|
-
divide:
|
|
1464
|
+
divide: W()
|
|
1470
1465
|
}],
|
|
1471
1466
|
/**
|
|
1472
1467
|
* Border Color
|
|
1473
1468
|
* @see https://tailwindcss.com/docs/border-color
|
|
1474
1469
|
*/
|
|
1475
1470
|
"border-color": [{
|
|
1476
|
-
border: [
|
|
1471
|
+
border: [a]
|
|
1477
1472
|
}],
|
|
1478
1473
|
/**
|
|
1479
1474
|
* Border Color X
|
|
1480
1475
|
* @see https://tailwindcss.com/docs/border-color
|
|
1481
1476
|
*/
|
|
1482
1477
|
"border-color-x": [{
|
|
1483
|
-
"border-x": [
|
|
1478
|
+
"border-x": [a]
|
|
1484
1479
|
}],
|
|
1485
1480
|
/**
|
|
1486
1481
|
* Border Color Y
|
|
1487
1482
|
* @see https://tailwindcss.com/docs/border-color
|
|
1488
1483
|
*/
|
|
1489
1484
|
"border-color-y": [{
|
|
1490
|
-
"border-y": [
|
|
1485
|
+
"border-y": [a]
|
|
1491
1486
|
}],
|
|
1492
1487
|
/**
|
|
1493
1488
|
* Border Color S
|
|
1494
1489
|
* @see https://tailwindcss.com/docs/border-color
|
|
1495
1490
|
*/
|
|
1496
1491
|
"border-color-s": [{
|
|
1497
|
-
"border-s": [
|
|
1492
|
+
"border-s": [a]
|
|
1498
1493
|
}],
|
|
1499
1494
|
/**
|
|
1500
1495
|
* Border Color E
|
|
1501
1496
|
* @see https://tailwindcss.com/docs/border-color
|
|
1502
1497
|
*/
|
|
1503
1498
|
"border-color-e": [{
|
|
1504
|
-
"border-e": [
|
|
1499
|
+
"border-e": [a]
|
|
1505
1500
|
}],
|
|
1506
1501
|
/**
|
|
1507
1502
|
* Border Color Top
|
|
1508
1503
|
* @see https://tailwindcss.com/docs/border-color
|
|
1509
1504
|
*/
|
|
1510
1505
|
"border-color-t": [{
|
|
1511
|
-
"border-t": [
|
|
1506
|
+
"border-t": [a]
|
|
1512
1507
|
}],
|
|
1513
1508
|
/**
|
|
1514
1509
|
* Border Color Right
|
|
1515
1510
|
* @see https://tailwindcss.com/docs/border-color
|
|
1516
1511
|
*/
|
|
1517
1512
|
"border-color-r": [{
|
|
1518
|
-
"border-r": [
|
|
1513
|
+
"border-r": [a]
|
|
1519
1514
|
}],
|
|
1520
1515
|
/**
|
|
1521
1516
|
* Border Color Bottom
|
|
1522
1517
|
* @see https://tailwindcss.com/docs/border-color
|
|
1523
1518
|
*/
|
|
1524
1519
|
"border-color-b": [{
|
|
1525
|
-
"border-b": [
|
|
1520
|
+
"border-b": [a]
|
|
1526
1521
|
}],
|
|
1527
1522
|
/**
|
|
1528
1523
|
* Border Color Left
|
|
1529
1524
|
* @see https://tailwindcss.com/docs/border-color
|
|
1530
1525
|
*/
|
|
1531
1526
|
"border-color-l": [{
|
|
1532
|
-
"border-l": [
|
|
1527
|
+
"border-l": [a]
|
|
1533
1528
|
}],
|
|
1534
1529
|
/**
|
|
1535
1530
|
* Divide Color
|
|
1536
1531
|
* @see https://tailwindcss.com/docs/divide-color
|
|
1537
1532
|
*/
|
|
1538
1533
|
"divide-color": [{
|
|
1539
|
-
divide: [
|
|
1534
|
+
divide: [a]
|
|
1540
1535
|
}],
|
|
1541
1536
|
/**
|
|
1542
1537
|
* Outline Style
|
|
1543
1538
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1544
1539
|
*/
|
|
1545
1540
|
"outline-style": [{
|
|
1546
|
-
outline: ["",
|
|
1541
|
+
outline: ["", ...W()]
|
|
1547
1542
|
}],
|
|
1548
1543
|
/**
|
|
1549
1544
|
* Outline Offset
|
|
1550
1545
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1551
1546
|
*/
|
|
1552
1547
|
"outline-offset": [{
|
|
1553
|
-
"outline-offset": [
|
|
1548
|
+
"outline-offset": [z, l]
|
|
1554
1549
|
}],
|
|
1555
1550
|
/**
|
|
1556
1551
|
* Outline Width
|
|
1557
1552
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1558
1553
|
*/
|
|
1559
1554
|
"outline-w": [{
|
|
1560
|
-
outline: [
|
|
1555
|
+
outline: [z, N]
|
|
1561
1556
|
}],
|
|
1562
1557
|
/**
|
|
1563
1558
|
* Outline Color
|
|
@@ -1571,7 +1566,7 @@ const b = (e) => {
|
|
|
1571
1566
|
* @see https://tailwindcss.com/docs/ring-width
|
|
1572
1567
|
*/
|
|
1573
1568
|
"ring-w": [{
|
|
1574
|
-
ring:
|
|
1569
|
+
ring: Y()
|
|
1575
1570
|
}],
|
|
1576
1571
|
/**
|
|
1577
1572
|
* Ring Width Inset
|
|
@@ -1597,7 +1592,7 @@ const b = (e) => {
|
|
|
1597
1592
|
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
1598
1593
|
*/
|
|
1599
1594
|
"ring-offset-w": [{
|
|
1600
|
-
"ring-offset": [
|
|
1595
|
+
"ring-offset": [z, N]
|
|
1601
1596
|
}],
|
|
1602
1597
|
/**
|
|
1603
1598
|
* Ring Offset Color
|
|
@@ -1612,14 +1607,14 @@ const b = (e) => {
|
|
|
1612
1607
|
* @see https://tailwindcss.com/docs/box-shadow
|
|
1613
1608
|
*/
|
|
1614
1609
|
shadow: [{
|
|
1615
|
-
shadow: ["", "inner", "none",
|
|
1610
|
+
shadow: ["", "inner", "none", R, Xe]
|
|
1616
1611
|
}],
|
|
1617
1612
|
/**
|
|
1618
1613
|
* Box Shadow Color
|
|
1619
1614
|
* @see https://tailwindcss.com/docs/box-shadow-color
|
|
1620
1615
|
*/
|
|
1621
1616
|
"shadow-color": [{
|
|
1622
|
-
shadow: [
|
|
1617
|
+
shadow: [L]
|
|
1623
1618
|
}],
|
|
1624
1619
|
/**
|
|
1625
1620
|
* Opacity
|
|
@@ -1633,14 +1628,14 @@ const b = (e) => {
|
|
|
1633
1628
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1634
1629
|
*/
|
|
1635
1630
|
"mix-blend": [{
|
|
1636
|
-
"mix-blend": [...
|
|
1631
|
+
"mix-blend": [...ee(), "plus-lighter", "plus-darker"]
|
|
1637
1632
|
}],
|
|
1638
1633
|
/**
|
|
1639
1634
|
* Background Blend Mode
|
|
1640
1635
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1641
1636
|
*/
|
|
1642
1637
|
"bg-blend": [{
|
|
1643
|
-
"bg-blend":
|
|
1638
|
+
"bg-blend": ee()
|
|
1644
1639
|
}],
|
|
1645
1640
|
// Filters
|
|
1646
1641
|
/**
|
|
@@ -1656,7 +1651,7 @@ const b = (e) => {
|
|
|
1656
1651
|
* @see https://tailwindcss.com/docs/blur
|
|
1657
1652
|
*/
|
|
1658
1653
|
blur: [{
|
|
1659
|
-
blur: [
|
|
1654
|
+
blur: [r]
|
|
1660
1655
|
}],
|
|
1661
1656
|
/**
|
|
1662
1657
|
* Brightness
|
|
@@ -1670,49 +1665,49 @@ const b = (e) => {
|
|
|
1670
1665
|
* @see https://tailwindcss.com/docs/contrast
|
|
1671
1666
|
*/
|
|
1672
1667
|
contrast: [{
|
|
1673
|
-
contrast: [
|
|
1668
|
+
contrast: [p]
|
|
1674
1669
|
}],
|
|
1675
1670
|
/**
|
|
1676
1671
|
* Drop Shadow
|
|
1677
1672
|
* @see https://tailwindcss.com/docs/drop-shadow
|
|
1678
1673
|
*/
|
|
1679
1674
|
"drop-shadow": [{
|
|
1680
|
-
"drop-shadow": ["", "none",
|
|
1675
|
+
"drop-shadow": ["", "none", R, l]
|
|
1681
1676
|
}],
|
|
1682
1677
|
/**
|
|
1683
1678
|
* Grayscale
|
|
1684
1679
|
* @see https://tailwindcss.com/docs/grayscale
|
|
1685
1680
|
*/
|
|
1686
1681
|
grayscale: [{
|
|
1687
|
-
grayscale: [
|
|
1682
|
+
grayscale: [f]
|
|
1688
1683
|
}],
|
|
1689
1684
|
/**
|
|
1690
1685
|
* Hue Rotate
|
|
1691
1686
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
1692
1687
|
*/
|
|
1693
1688
|
"hue-rotate": [{
|
|
1694
|
-
"hue-rotate": [
|
|
1689
|
+
"hue-rotate": [h]
|
|
1695
1690
|
}],
|
|
1696
1691
|
/**
|
|
1697
1692
|
* Invert
|
|
1698
1693
|
* @see https://tailwindcss.com/docs/invert
|
|
1699
1694
|
*/
|
|
1700
1695
|
invert: [{
|
|
1701
|
-
invert: [
|
|
1696
|
+
invert: [y]
|
|
1702
1697
|
}],
|
|
1703
1698
|
/**
|
|
1704
1699
|
* Saturate
|
|
1705
1700
|
* @see https://tailwindcss.com/docs/saturate
|
|
1706
1701
|
*/
|
|
1707
1702
|
saturate: [{
|
|
1708
|
-
saturate: [
|
|
1703
|
+
saturate: [P]
|
|
1709
1704
|
}],
|
|
1710
1705
|
/**
|
|
1711
1706
|
* Sepia
|
|
1712
1707
|
* @see https://tailwindcss.com/docs/sepia
|
|
1713
1708
|
*/
|
|
1714
1709
|
sepia: [{
|
|
1715
|
-
sepia: [
|
|
1710
|
+
sepia: [B]
|
|
1716
1711
|
}],
|
|
1717
1712
|
/**
|
|
1718
1713
|
* Backdrop Filter
|
|
@@ -1727,7 +1722,7 @@ const b = (e) => {
|
|
|
1727
1722
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
1728
1723
|
*/
|
|
1729
1724
|
"backdrop-blur": [{
|
|
1730
|
-
"backdrop-blur": [
|
|
1725
|
+
"backdrop-blur": [r]
|
|
1731
1726
|
}],
|
|
1732
1727
|
/**
|
|
1733
1728
|
* Backdrop Brightness
|
|
@@ -1741,28 +1736,28 @@ const b = (e) => {
|
|
|
1741
1736
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
1742
1737
|
*/
|
|
1743
1738
|
"backdrop-contrast": [{
|
|
1744
|
-
"backdrop-contrast": [
|
|
1739
|
+
"backdrop-contrast": [p]
|
|
1745
1740
|
}],
|
|
1746
1741
|
/**
|
|
1747
1742
|
* Backdrop Grayscale
|
|
1748
1743
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
1749
1744
|
*/
|
|
1750
1745
|
"backdrop-grayscale": [{
|
|
1751
|
-
"backdrop-grayscale": [
|
|
1746
|
+
"backdrop-grayscale": [f]
|
|
1752
1747
|
}],
|
|
1753
1748
|
/**
|
|
1754
1749
|
* Backdrop Hue Rotate
|
|
1755
1750
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
1756
1751
|
*/
|
|
1757
1752
|
"backdrop-hue-rotate": [{
|
|
1758
|
-
"backdrop-hue-rotate": [
|
|
1753
|
+
"backdrop-hue-rotate": [h]
|
|
1759
1754
|
}],
|
|
1760
1755
|
/**
|
|
1761
1756
|
* Backdrop Invert
|
|
1762
1757
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
1763
1758
|
*/
|
|
1764
1759
|
"backdrop-invert": [{
|
|
1765
|
-
"backdrop-invert": [
|
|
1760
|
+
"backdrop-invert": [y]
|
|
1766
1761
|
}],
|
|
1767
1762
|
/**
|
|
1768
1763
|
* Backdrop Opacity
|
|
@@ -1776,14 +1771,14 @@ const b = (e) => {
|
|
|
1776
1771
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
1777
1772
|
*/
|
|
1778
1773
|
"backdrop-saturate": [{
|
|
1779
|
-
"backdrop-saturate": [
|
|
1774
|
+
"backdrop-saturate": [P]
|
|
1780
1775
|
}],
|
|
1781
1776
|
/**
|
|
1782
1777
|
* Backdrop Sepia
|
|
1783
1778
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
1784
1779
|
*/
|
|
1785
1780
|
"backdrop-sepia": [{
|
|
1786
|
-
"backdrop-sepia": [
|
|
1781
|
+
"backdrop-sepia": [B]
|
|
1787
1782
|
}],
|
|
1788
1783
|
// Tables
|
|
1789
1784
|
/**
|
|
@@ -1798,21 +1793,21 @@ const b = (e) => {
|
|
|
1798
1793
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
1799
1794
|
*/
|
|
1800
1795
|
"border-spacing": [{
|
|
1801
|
-
"border-spacing": [
|
|
1796
|
+
"border-spacing": [i]
|
|
1802
1797
|
}],
|
|
1803
1798
|
/**
|
|
1804
1799
|
* Border Spacing X
|
|
1805
1800
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
1806
1801
|
*/
|
|
1807
1802
|
"border-spacing-x": [{
|
|
1808
|
-
"border-spacing-x": [
|
|
1803
|
+
"border-spacing-x": [i]
|
|
1809
1804
|
}],
|
|
1810
1805
|
/**
|
|
1811
1806
|
* Border Spacing Y
|
|
1812
1807
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
1813
1808
|
*/
|
|
1814
1809
|
"border-spacing-y": [{
|
|
1815
|
-
"border-spacing-y": [
|
|
1810
|
+
"border-spacing-y": [i]
|
|
1816
1811
|
}],
|
|
1817
1812
|
/**
|
|
1818
1813
|
* Table Layout
|
|
@@ -1834,35 +1829,35 @@ const b = (e) => {
|
|
|
1834
1829
|
* @see https://tailwindcss.com/docs/transition-property
|
|
1835
1830
|
*/
|
|
1836
1831
|
transition: [{
|
|
1837
|
-
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform",
|
|
1832
|
+
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", l]
|
|
1838
1833
|
}],
|
|
1839
1834
|
/**
|
|
1840
1835
|
* Transition Duration
|
|
1841
1836
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
1842
1837
|
*/
|
|
1843
1838
|
duration: [{
|
|
1844
|
-
duration:
|
|
1839
|
+
duration: k()
|
|
1845
1840
|
}],
|
|
1846
1841
|
/**
|
|
1847
1842
|
* Transition Timing Function
|
|
1848
1843
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
1849
1844
|
*/
|
|
1850
1845
|
ease: [{
|
|
1851
|
-
ease: ["linear", "in", "out", "in-out",
|
|
1846
|
+
ease: ["linear", "in", "out", "in-out", l]
|
|
1852
1847
|
}],
|
|
1853
1848
|
/**
|
|
1854
1849
|
* Transition Delay
|
|
1855
1850
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
1856
1851
|
*/
|
|
1857
1852
|
delay: [{
|
|
1858
|
-
delay:
|
|
1853
|
+
delay: k()
|
|
1859
1854
|
}],
|
|
1860
1855
|
/**
|
|
1861
1856
|
* Animation
|
|
1862
1857
|
* @see https://tailwindcss.com/docs/animation
|
|
1863
1858
|
*/
|
|
1864
1859
|
animate: [{
|
|
1865
|
-
animate: ["none", "spin", "ping", "pulse", "bounce",
|
|
1860
|
+
animate: ["none", "spin", "ping", "pulse", "bounce", l]
|
|
1866
1861
|
}],
|
|
1867
1862
|
// Transforms
|
|
1868
1863
|
/**
|
|
@@ -1877,63 +1872,63 @@ const b = (e) => {
|
|
|
1877
1872
|
* @see https://tailwindcss.com/docs/scale
|
|
1878
1873
|
*/
|
|
1879
1874
|
scale: [{
|
|
1880
|
-
scale: [
|
|
1875
|
+
scale: [M]
|
|
1881
1876
|
}],
|
|
1882
1877
|
/**
|
|
1883
1878
|
* Scale X
|
|
1884
1879
|
* @see https://tailwindcss.com/docs/scale
|
|
1885
1880
|
*/
|
|
1886
1881
|
"scale-x": [{
|
|
1887
|
-
"scale-x": [
|
|
1882
|
+
"scale-x": [M]
|
|
1888
1883
|
}],
|
|
1889
1884
|
/**
|
|
1890
1885
|
* Scale Y
|
|
1891
1886
|
* @see https://tailwindcss.com/docs/scale
|
|
1892
1887
|
*/
|
|
1893
1888
|
"scale-y": [{
|
|
1894
|
-
"scale-y": [
|
|
1889
|
+
"scale-y": [M]
|
|
1895
1890
|
}],
|
|
1896
1891
|
/**
|
|
1897
1892
|
* Rotate
|
|
1898
1893
|
* @see https://tailwindcss.com/docs/rotate
|
|
1899
1894
|
*/
|
|
1900
1895
|
rotate: [{
|
|
1901
|
-
rotate: [
|
|
1896
|
+
rotate: [T, l]
|
|
1902
1897
|
}],
|
|
1903
1898
|
/**
|
|
1904
1899
|
* Translate X
|
|
1905
1900
|
* @see https://tailwindcss.com/docs/translate
|
|
1906
1901
|
*/
|
|
1907
1902
|
"translate-x": [{
|
|
1908
|
-
"translate-x": [
|
|
1903
|
+
"translate-x": [Q]
|
|
1909
1904
|
}],
|
|
1910
1905
|
/**
|
|
1911
1906
|
* Translate Y
|
|
1912
1907
|
* @see https://tailwindcss.com/docs/translate
|
|
1913
1908
|
*/
|
|
1914
1909
|
"translate-y": [{
|
|
1915
|
-
"translate-y": [
|
|
1910
|
+
"translate-y": [Q]
|
|
1916
1911
|
}],
|
|
1917
1912
|
/**
|
|
1918
1913
|
* Skew X
|
|
1919
1914
|
* @see https://tailwindcss.com/docs/skew
|
|
1920
1915
|
*/
|
|
1921
1916
|
"skew-x": [{
|
|
1922
|
-
"skew-x": [
|
|
1917
|
+
"skew-x": [H]
|
|
1923
1918
|
}],
|
|
1924
1919
|
/**
|
|
1925
1920
|
* Skew Y
|
|
1926
1921
|
* @see https://tailwindcss.com/docs/skew
|
|
1927
1922
|
*/
|
|
1928
1923
|
"skew-y": [{
|
|
1929
|
-
"skew-y": [
|
|
1924
|
+
"skew-y": [H]
|
|
1930
1925
|
}],
|
|
1931
1926
|
/**
|
|
1932
1927
|
* Transform Origin
|
|
1933
1928
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
1934
1929
|
*/
|
|
1935
1930
|
"transform-origin": [{
|
|
1936
|
-
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left",
|
|
1931
|
+
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", l]
|
|
1937
1932
|
}],
|
|
1938
1933
|
// Interactivity
|
|
1939
1934
|
/**
|
|
@@ -1955,7 +1950,7 @@ const b = (e) => {
|
|
|
1955
1950
|
* @see https://tailwindcss.com/docs/cursor
|
|
1956
1951
|
*/
|
|
1957
1952
|
cursor: [{
|
|
1958
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out",
|
|
1953
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", l]
|
|
1959
1954
|
}],
|
|
1960
1955
|
/**
|
|
1961
1956
|
* Caret Color
|
|
@@ -1990,126 +1985,126 @@ const b = (e) => {
|
|
|
1990
1985
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
1991
1986
|
*/
|
|
1992
1987
|
"scroll-m": [{
|
|
1993
|
-
"scroll-m":
|
|
1988
|
+
"scroll-m": d()
|
|
1994
1989
|
}],
|
|
1995
1990
|
/**
|
|
1996
1991
|
* Scroll Margin X
|
|
1997
1992
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
1998
1993
|
*/
|
|
1999
1994
|
"scroll-mx": [{
|
|
2000
|
-
"scroll-mx":
|
|
1995
|
+
"scroll-mx": d()
|
|
2001
1996
|
}],
|
|
2002
1997
|
/**
|
|
2003
1998
|
* Scroll Margin Y
|
|
2004
1999
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2005
2000
|
*/
|
|
2006
2001
|
"scroll-my": [{
|
|
2007
|
-
"scroll-my":
|
|
2002
|
+
"scroll-my": d()
|
|
2008
2003
|
}],
|
|
2009
2004
|
/**
|
|
2010
2005
|
* Scroll Margin Start
|
|
2011
2006
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2012
2007
|
*/
|
|
2013
2008
|
"scroll-ms": [{
|
|
2014
|
-
"scroll-ms":
|
|
2009
|
+
"scroll-ms": d()
|
|
2015
2010
|
}],
|
|
2016
2011
|
/**
|
|
2017
2012
|
* Scroll Margin End
|
|
2018
2013
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2019
2014
|
*/
|
|
2020
2015
|
"scroll-me": [{
|
|
2021
|
-
"scroll-me":
|
|
2016
|
+
"scroll-me": d()
|
|
2022
2017
|
}],
|
|
2023
2018
|
/**
|
|
2024
2019
|
* Scroll Margin Top
|
|
2025
2020
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2026
2021
|
*/
|
|
2027
2022
|
"scroll-mt": [{
|
|
2028
|
-
"scroll-mt":
|
|
2023
|
+
"scroll-mt": d()
|
|
2029
2024
|
}],
|
|
2030
2025
|
/**
|
|
2031
2026
|
* Scroll Margin Right
|
|
2032
2027
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2033
2028
|
*/
|
|
2034
2029
|
"scroll-mr": [{
|
|
2035
|
-
"scroll-mr":
|
|
2030
|
+
"scroll-mr": d()
|
|
2036
2031
|
}],
|
|
2037
2032
|
/**
|
|
2038
2033
|
* Scroll Margin Bottom
|
|
2039
2034
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2040
2035
|
*/
|
|
2041
2036
|
"scroll-mb": [{
|
|
2042
|
-
"scroll-mb":
|
|
2037
|
+
"scroll-mb": d()
|
|
2043
2038
|
}],
|
|
2044
2039
|
/**
|
|
2045
2040
|
* Scroll Margin Left
|
|
2046
2041
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2047
2042
|
*/
|
|
2048
2043
|
"scroll-ml": [{
|
|
2049
|
-
"scroll-ml":
|
|
2044
|
+
"scroll-ml": d()
|
|
2050
2045
|
}],
|
|
2051
2046
|
/**
|
|
2052
2047
|
* Scroll Padding
|
|
2053
2048
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2054
2049
|
*/
|
|
2055
2050
|
"scroll-p": [{
|
|
2056
|
-
"scroll-p":
|
|
2051
|
+
"scroll-p": d()
|
|
2057
2052
|
}],
|
|
2058
2053
|
/**
|
|
2059
2054
|
* Scroll Padding X
|
|
2060
2055
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2061
2056
|
*/
|
|
2062
2057
|
"scroll-px": [{
|
|
2063
|
-
"scroll-px":
|
|
2058
|
+
"scroll-px": d()
|
|
2064
2059
|
}],
|
|
2065
2060
|
/**
|
|
2066
2061
|
* Scroll Padding Y
|
|
2067
2062
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2068
2063
|
*/
|
|
2069
2064
|
"scroll-py": [{
|
|
2070
|
-
"scroll-py":
|
|
2065
|
+
"scroll-py": d()
|
|
2071
2066
|
}],
|
|
2072
2067
|
/**
|
|
2073
2068
|
* Scroll Padding Start
|
|
2074
2069
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2075
2070
|
*/
|
|
2076
2071
|
"scroll-ps": [{
|
|
2077
|
-
"scroll-ps":
|
|
2072
|
+
"scroll-ps": d()
|
|
2078
2073
|
}],
|
|
2079
2074
|
/**
|
|
2080
2075
|
* Scroll Padding End
|
|
2081
2076
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2082
2077
|
*/
|
|
2083
2078
|
"scroll-pe": [{
|
|
2084
|
-
"scroll-pe":
|
|
2079
|
+
"scroll-pe": d()
|
|
2085
2080
|
}],
|
|
2086
2081
|
/**
|
|
2087
2082
|
* Scroll Padding Top
|
|
2088
2083
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2089
2084
|
*/
|
|
2090
2085
|
"scroll-pt": [{
|
|
2091
|
-
"scroll-pt":
|
|
2086
|
+
"scroll-pt": d()
|
|
2092
2087
|
}],
|
|
2093
2088
|
/**
|
|
2094
2089
|
* Scroll Padding Right
|
|
2095
2090
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2096
2091
|
*/
|
|
2097
2092
|
"scroll-pr": [{
|
|
2098
|
-
"scroll-pr":
|
|
2093
|
+
"scroll-pr": d()
|
|
2099
2094
|
}],
|
|
2100
2095
|
/**
|
|
2101
2096
|
* Scroll Padding Bottom
|
|
2102
2097
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2103
2098
|
*/
|
|
2104
2099
|
"scroll-pb": [{
|
|
2105
|
-
"scroll-pb":
|
|
2100
|
+
"scroll-pb": d()
|
|
2106
2101
|
}],
|
|
2107
2102
|
/**
|
|
2108
2103
|
* Scroll Padding Left
|
|
2109
2104
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2110
2105
|
*/
|
|
2111
2106
|
"scroll-pl": [{
|
|
2112
|
-
"scroll-pl":
|
|
2107
|
+
"scroll-pl": d()
|
|
2113
2108
|
}],
|
|
2114
2109
|
/**
|
|
2115
2110
|
* Scroll Snap Align
|
|
@@ -2177,7 +2172,7 @@ const b = (e) => {
|
|
|
2177
2172
|
* @see https://tailwindcss.com/docs/will-change
|
|
2178
2173
|
*/
|
|
2179
2174
|
"will-change": [{
|
|
2180
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2175
|
+
"will-change": ["auto", "scroll", "contents", "transform", l]
|
|
2181
2176
|
}],
|
|
2182
2177
|
// SVG
|
|
2183
2178
|
/**
|
|
@@ -2192,7 +2187,7 @@ const b = (e) => {
|
|
|
2192
2187
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2193
2188
|
*/
|
|
2194
2189
|
"stroke-w": [{
|
|
2195
|
-
stroke: [
|
|
2190
|
+
stroke: [z, N, q]
|
|
2196
2191
|
}],
|
|
2197
2192
|
/**
|
|
2198
2193
|
* Stroke
|
|
@@ -2267,857 +2262,169 @@ const b = (e) => {
|
|
|
2267
2262
|
"font-size": ["leading"]
|
|
2268
2263
|
}
|
|
2269
2264
|
};
|
|
2270
|
-
},
|
|
2271
|
-
function
|
|
2272
|
-
return
|
|
2273
|
-
}
|
|
2274
|
-
let q;
|
|
2275
|
-
function J() {
|
|
2276
|
-
return q === void 0 && (q = navigator.platform.includes("Mac")), q;
|
|
2265
|
+
}, Ye = /* @__PURE__ */ Pe(Qe);
|
|
2266
|
+
function A(...e) {
|
|
2267
|
+
return Ye(ye(e));
|
|
2277
2268
|
}
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
customClass: n = "",
|
|
2292
|
-
// color = undefined,
|
|
2293
|
-
loading: l = void 0,
|
|
2294
|
-
shortcutKeys: i = void 0,
|
|
2295
|
-
tooltipOptions: u = {},
|
|
2296
|
-
action: c = void 0,
|
|
2297
|
-
isActive: g = void 0,
|
|
2298
|
-
children: m,
|
|
2299
|
-
asChild: d = !1,
|
|
2300
|
-
upload: f = !1,
|
|
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,
|
|
2314
|
-
{
|
|
2315
|
-
className: oe("richtext-w-[32px] richtext-h-[32px]", n),
|
|
2316
|
-
"data-state": v ? "on" : "off",
|
|
2317
|
-
disabled: s,
|
|
2318
|
-
onClick: H,
|
|
2319
|
-
ref: r,
|
|
2320
|
-
size: "sm",
|
|
2321
|
-
...p,
|
|
2322
|
-
children: [
|
|
2323
|
-
x && /* @__PURE__ */ a(x, { className: "richtext-size-4" }),
|
|
2324
|
-
m
|
|
2325
|
-
]
|
|
2326
|
-
}
|
|
2327
|
-
) }),
|
|
2328
|
-
o && /* @__PURE__ */ a(
|
|
2329
|
-
Re,
|
|
2330
|
-
{
|
|
2331
|
-
...u,
|
|
2332
|
-
className: "richtext-tooltip",
|
|
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) })
|
|
2336
|
-
] })
|
|
2337
|
-
}
|
|
2338
|
-
)
|
|
2339
|
-
] });
|
|
2269
|
+
const dt = b.Root, pt = b.Value, De = E.forwardRef(({ className: e, children: t, ...r }, o) => /* @__PURE__ */ X(
|
|
2270
|
+
b.Trigger,
|
|
2271
|
+
{
|
|
2272
|
+
ref: o,
|
|
2273
|
+
className: A(
|
|
2274
|
+
"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",
|
|
2275
|
+
e
|
|
2276
|
+
),
|
|
2277
|
+
...r,
|
|
2278
|
+
children: [
|
|
2279
|
+
t,
|
|
2280
|
+
/* @__PURE__ */ m(b.Icon, { asChild: !0, children: /* @__PURE__ */ m(se, { className: "richtext-size-4 richtext-opacity-50" }) })
|
|
2281
|
+
]
|
|
2340
2282
|
}
|
|
2341
|
-
)
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
o.current = r;
|
|
2346
|
-
}, [r]), V(() => {
|
|
2347
|
-
if (!(t && t.addEventListener)) return;
|
|
2348
|
-
const n = (l) => {
|
|
2349
|
-
o.current && o.current(l);
|
|
2350
|
-
};
|
|
2351
|
-
return t.addEventListener(e, n), () => {
|
|
2352
|
-
t.removeEventListener(e, n);
|
|
2353
|
-
};
|
|
2354
|
-
}, [e, t]);
|
|
2355
|
-
}
|
|
2356
|
-
function Q(e, r, t = {}) {
|
|
2357
|
-
const { initializeWithValue: o = !0 } = t, s = S(
|
|
2358
|
-
(d) => t.serializer ? t.serializer(d) : JSON.stringify(d),
|
|
2359
|
-
[t]
|
|
2360
|
-
), n = S(
|
|
2361
|
-
(d) => {
|
|
2362
|
-
if (t.deserializer)
|
|
2363
|
-
return t.deserializer(d);
|
|
2364
|
-
if (d === "undefined")
|
|
2365
|
-
return;
|
|
2366
|
-
const f = r instanceof Function ? r() : r;
|
|
2367
|
-
let y;
|
|
2368
|
-
try {
|
|
2369
|
-
y = JSON.parse(d);
|
|
2370
|
-
} catch (v) {
|
|
2371
|
-
return console.error("Error parsing JSON:", v), f;
|
|
2372
|
-
}
|
|
2373
|
-
return y;
|
|
2374
|
-
},
|
|
2375
|
-
[t, r]
|
|
2376
|
-
), l = S(() => {
|
|
2377
|
-
const d = r instanceof Function ? r() : r;
|
|
2378
|
-
if (K)
|
|
2379
|
-
return d;
|
|
2380
|
-
try {
|
|
2381
|
-
const f = window.localStorage.getItem(e);
|
|
2382
|
-
return f ? n(f) : d;
|
|
2383
|
-
} catch (f) {
|
|
2384
|
-
return console.warn(
|
|
2385
|
-
`Error reading localStorage key “${e}”:`,
|
|
2386
|
-
f
|
|
2387
|
-
), d;
|
|
2388
|
-
}
|
|
2389
|
-
}, [r, e, n]), [i, u] = Ge(() => o ? l() : r instanceof Function ? r() : r), c = S((d) => {
|
|
2390
|
-
K && console.warn(
|
|
2391
|
-
`Tried setting localStorage key “${e}” even though environment is not a client`
|
|
2392
|
-
);
|
|
2393
|
-
try {
|
|
2394
|
-
const f = d instanceof Function ? d(l()) : d;
|
|
2395
|
-
window.localStorage.setItem(e, s(f)), u(f), window.dispatchEvent(
|
|
2396
|
-
new StorageEvent("local-storage", {
|
|
2397
|
-
key: e
|
|
2398
|
-
})
|
|
2399
|
-
);
|
|
2400
|
-
} catch (f) {
|
|
2401
|
-
console.warn(
|
|
2402
|
-
`Error setting localStorage key “${e}”:`,
|
|
2403
|
-
f
|
|
2404
|
-
);
|
|
2405
|
-
}
|
|
2406
|
-
}, [e, s, l]), g = S(() => {
|
|
2407
|
-
K && console.warn(
|
|
2408
|
-
`Tried removing localStorage key “${e}” even though environment is not a client`
|
|
2409
|
-
);
|
|
2410
|
-
const d = r instanceof Function ? r() : r;
|
|
2411
|
-
window.localStorage.removeItem(e), u(d), window.dispatchEvent(
|
|
2412
|
-
new StorageEvent("local-storage", {
|
|
2413
|
-
key: e
|
|
2414
|
-
})
|
|
2415
|
-
);
|
|
2416
|
-
}, [e, r]);
|
|
2417
|
-
V(() => {
|
|
2418
|
-
u(l());
|
|
2419
|
-
}, [e]);
|
|
2420
|
-
const m = S(
|
|
2421
|
-
(d) => {
|
|
2422
|
-
d.key && d.key !== e || u(l());
|
|
2423
|
-
},
|
|
2424
|
-
[e, l]
|
|
2425
|
-
);
|
|
2426
|
-
return ve("storage", m), ve("local-storage", m), [i, c, g];
|
|
2427
|
-
}
|
|
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(
|
|
2430
|
-
"path",
|
|
2431
|
-
{
|
|
2432
|
-
fill: "currentColor",
|
|
2433
|
-
d: "M19 12h-2v3h-3v2h5zM7 9h3V7H5v5h2zm14-6H3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m0 16H3V5h18z"
|
|
2434
|
-
}
|
|
2435
|
-
) });
|
|
2436
|
-
}
|
|
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(
|
|
2439
|
-
"path",
|
|
2440
|
-
{
|
|
2441
|
-
fill: "none",
|
|
2442
|
-
stroke: "currentColor",
|
|
2443
|
-
strokeLinecap: "round",
|
|
2444
|
-
strokeLinejoin: "round",
|
|
2445
|
-
strokeWidth: "2",
|
|
2446
|
-
d: "M6 15h15m0 4H6m9-8h6m0-4h-6M9 9h1a1 1 0 1 1-1 1V7.5a2 2 0 0 1 2-2M3 9h1a1 1 0 1 1-1 1V7.5a2 2 0 0 1 2-2"
|
|
2447
|
-
}
|
|
2448
|
-
) });
|
|
2449
|
-
}
|
|
2450
|
-
function Zr() {
|
|
2451
|
-
return /* @__PURE__ */ a(
|
|
2452
|
-
"svg",
|
|
2453
|
-
{
|
|
2454
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2455
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
2456
|
-
"aria-hidden": "true",
|
|
2457
|
-
role: "img",
|
|
2458
|
-
className: "richtext-w-4 richtext-h-4",
|
|
2459
|
-
width: "1em",
|
|
2460
|
-
height: "1em",
|
|
2461
|
-
viewBox: "0 0 24 24",
|
|
2462
|
-
children: /* @__PURE__ */ a(
|
|
2463
|
-
"path",
|
|
2464
|
-
{
|
|
2465
|
-
fill: "none",
|
|
2466
|
-
stroke: "currentColor",
|
|
2467
|
-
strokeLinecap: "round",
|
|
2468
|
-
strokeLinejoin: "round",
|
|
2469
|
-
strokeWidth: "1.5",
|
|
2470
|
-
d: "M5.5 3c1.404 0 2.107 0 2.611.38c.219.164.406.375.552.62C9 4.568 9 5.358 9 6.938v10.125c0 1.58 0 2.37-.337 2.937a2.1 2.1 0 0 1-.552.621c-.504.38-1.207.38-2.611.38s-2.107 0-2.611-.38a2.1 2.1 0 0 1-.552-.62C2 19.432 2 18.642 2 17.062V6.938c0-1.58 0-2.37.337-2.938a2.1 2.1 0 0 1 .552-.62C3.393 3 4.096 3 5.5 3M20 11.938v5.124c0 1.58 0 2.37-.337 2.938a2.1 2.1 0 0 1-.552.62c-.504.38-1.207.38-2.611.38s-2.107 0-2.611-.38a2.1 2.1 0 0 1-.552-.62C13 19.433 13 18.642 13 17.063V6.938c0-1.58 0-2.37.337-2.938M22 9l-6-6m6 0l-6 6",
|
|
2471
|
-
color: "currentColor"
|
|
2472
|
-
}
|
|
2473
|
-
)
|
|
2474
|
-
}
|
|
2475
|
-
);
|
|
2476
|
-
}
|
|
2477
|
-
function eo() {
|
|
2478
|
-
return /* @__PURE__ */ a(
|
|
2479
|
-
"svg",
|
|
2480
|
-
{
|
|
2481
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2482
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
2483
|
-
"aria-hidden": "true",
|
|
2484
|
-
role: "img",
|
|
2485
|
-
className: "richtext-w-4 richtext-h-4",
|
|
2486
|
-
width: "1em",
|
|
2487
|
-
height: "1em",
|
|
2488
|
-
viewBox: "0 0 24 24",
|
|
2489
|
-
children: /* @__PURE__ */ a(
|
|
2490
|
-
"path",
|
|
2491
|
-
{
|
|
2492
|
-
fill: "none",
|
|
2493
|
-
stroke: "currentColor",
|
|
2494
|
-
strokeLinecap: "round",
|
|
2495
|
-
strokeLinejoin: "round",
|
|
2496
|
-
strokeWidth: "1.5",
|
|
2497
|
-
d: "M21 18.5c0 1.404 0 2.107-.38 2.611a2.1 2.1 0 0 1-.62.552c-.567.337-1.358.337-2.937.337H6.938c-1.58 0-2.37 0-2.938-.337a2.1 2.1 0 0 1-.62-.552C3 20.607 3 19.904 3 18.5s0-2.107.38-2.611c.163-.218.374-.406.62-.552C4.567 15 5.357 15 6.938 15h10.125c1.58 0 2.37 0 2.937.337c.246.146.457.334.62.552c.38.504.38 1.207.38 2.611M12.063 4H6.937C5.358 4 4.568 4 4 4.337a2.1 2.1 0 0 0-.62.552C3 5.393 3 6.096 3 7.5s0 2.107.38 2.611c.163.218.374.406.62.552C4.567 11 5.357 11 6.938 11h10.125c1.58 0 2.37 0 2.937-.337M21 8l-6-6m6 0l-6 6",
|
|
2498
|
-
color: "currentColor"
|
|
2499
|
-
}
|
|
2500
|
-
)
|
|
2501
|
-
}
|
|
2502
|
-
);
|
|
2503
|
-
}
|
|
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(
|
|
2506
|
-
"path",
|
|
2507
|
-
{
|
|
2508
|
-
fill: "currentColor",
|
|
2509
|
-
d: "M14 2H6a2 2 0 0 0-2 2v16c0 1.11.89 2 2 2h12c1.11 0 2-.89 2-2V8zm4 18H6V4h7v5h5zm-.65-10l-2.1 9h-1.4l-1.8-6.79l-1.8 6.79h-1.4l-2.2-9h1.5l1.4 6.81l1.8-6.81h1.3l1.8 6.81l1.4-6.81z"
|
|
2510
|
-
}
|
|
2511
|
-
) });
|
|
2512
|
-
}
|
|
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(
|
|
2515
|
-
"path",
|
|
2516
|
-
{
|
|
2517
|
-
fill: "currentColor",
|
|
2518
|
-
d: "M21 22H3v-2h18zm0-18H3V2h18zm-11 9.7h4l-2-5.4zM11.2 6h1.7l4.7 12h-2l-.9-2.6H9.4L8.5 18h-2z"
|
|
2519
|
-
}
|
|
2520
|
-
) });
|
|
2521
|
-
}
|
|
2522
|
-
function oo(e) {
|
|
2523
|
-
return /* @__PURE__ */ a(
|
|
2524
|
-
"svg",
|
|
2525
|
-
{
|
|
2526
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2527
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
2528
|
-
"aria-hidden": "true",
|
|
2529
|
-
role: "img",
|
|
2530
|
-
width: "1em",
|
|
2531
|
-
height: "1em",
|
|
2532
|
-
viewBox: "0 0 48 48",
|
|
2533
|
-
...e,
|
|
2534
|
-
children: /* @__PURE__ */ a(
|
|
2535
|
-
"path",
|
|
2536
|
-
{
|
|
2537
|
-
fill: "currentColor",
|
|
2538
|
-
stroke: "currentColor",
|
|
2539
|
-
strokeLinejoin: "round",
|
|
2540
|
-
strokeWidth: 4,
|
|
2541
|
-
d: "M36 19L24 31L12 19z"
|
|
2542
|
-
}
|
|
2543
|
-
)
|
|
2544
|
-
}
|
|
2545
|
-
);
|
|
2546
|
-
}
|
|
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" }) });
|
|
2549
|
-
}
|
|
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(
|
|
2552
|
-
"path",
|
|
2553
|
-
{
|
|
2554
|
-
fill: "currentColor",
|
|
2555
|
-
d: "M9 7c-1.1 0-2 .9-2 2v8h2V9h2v7h2V9h2v8h2V9a2 2 0 0 0-2-2z"
|
|
2556
|
-
}
|
|
2557
|
-
) });
|
|
2558
|
-
}
|
|
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(
|
|
2561
|
-
"path",
|
|
2562
|
-
{
|
|
2563
|
-
fill: "currentColor",
|
|
2564
|
-
d: "M11 7c-1.1 0-2 .9-2 2v2a2 2 0 0 0 2 2h2v2H9v2h4c1.11 0 2-.89 2-2v-2a2 2 0 0 0-2-2h-2V9h4V7z"
|
|
2565
|
-
}
|
|
2566
|
-
) });
|
|
2567
|
-
}
|
|
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(
|
|
2570
|
-
"path",
|
|
2571
|
-
{
|
|
2572
|
-
fill: "currentColor",
|
|
2573
|
-
d: "M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6l1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6l-1.4-1.4z"
|
|
2574
|
-
}
|
|
2575
|
-
) });
|
|
2576
|
-
}
|
|
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" }) });
|
|
2579
|
-
}
|
|
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" }) });
|
|
2582
|
-
}
|
|
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" }) });
|
|
2585
|
-
}
|
|
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" }) });
|
|
2588
|
-
}
|
|
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" })
|
|
2593
|
-
] });
|
|
2594
|
-
}
|
|
2595
|
-
function mo() {
|
|
2596
|
-
return /* @__PURE__ */ A(
|
|
2597
|
-
"svg",
|
|
2598
|
-
{
|
|
2599
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2600
|
-
width: "1em",
|
|
2601
|
-
height: "1em",
|
|
2602
|
-
className: "icon",
|
|
2603
|
-
viewBox: "0 0 1024 1024",
|
|
2604
|
-
children: [
|
|
2605
|
-
/* @__PURE__ */ a(
|
|
2606
|
-
"path",
|
|
2607
|
-
{
|
|
2608
|
-
fill: "currentColor",
|
|
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"
|
|
2610
|
-
}
|
|
2611
|
-
),
|
|
2612
|
-
/* @__PURE__ */ a(
|
|
2613
|
-
"path",
|
|
2614
|
-
{
|
|
2615
|
-
fill: "currentColor",
|
|
2616
|
-
d: "m810.667 913.135-.478.068H201.796c-19.865 0-36.727-11.673-36.727-25.6v-618.36h154.965c51.268 0 92.911-39.39 92.911-87.858v-87.86H810.19c19.797 0 36.522 11.742 36.522 25.669V739.26h61.987V119.262c0-46.421-44.169-84.241-98.51-84.241H328.364l-225.28 194.56v658.09c0 46.285 44.236 84.105 98.713 84.105H810.19c43.759 0 80.554-24.713 93.32-58.573h-92.842zM350.89 94.89v86.562c0 16.11-13.858 29.286-30.925 29.286H216.815L350.959 94.891z"
|
|
2617
|
-
}
|
|
2618
|
-
)
|
|
2619
|
-
]
|
|
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
|
-
);
|
|
2640
|
-
}
|
|
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
|
-
);
|
|
2665
|
-
}
|
|
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" }) });
|
|
2668
|
-
}
|
|
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" })
|
|
2676
|
-
] }) });
|
|
2677
|
-
}
|
|
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" }) });
|
|
2680
|
-
}
|
|
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" }) });
|
|
2683
|
-
}
|
|
2684
|
-
function yo() {
|
|
2685
|
-
return /* @__PURE__ */ a(
|
|
2686
|
-
"svg",
|
|
2687
|
-
{
|
|
2688
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2689
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
2690
|
-
"aria-hidden": "true",
|
|
2691
|
-
role: "img",
|
|
2692
|
-
width: "1em",
|
|
2693
|
-
height: "1em",
|
|
2694
|
-
viewBox: "0 0 24 24",
|
|
2695
|
-
children: /* @__PURE__ */ a(
|
|
2696
|
-
"path",
|
|
2697
|
-
{
|
|
2698
|
-
fill: "currentColor",
|
|
2699
|
-
d: "M14 2H6a2 2 0 0 0-2 2v16c0 1.11.89 2 2 2h12c1.11 0 2-.89 2-2V8zm4 18H6V4h7v5h5zm-.65-10l-2.1 9h-1.4l-1.8-6.79l-1.8 6.79h-1.4l-2.2-9h1.5l1.4 6.81l1.8-6.81h1.3l1.8 6.81l1.4-6.81z"
|
|
2700
|
-
}
|
|
2701
|
-
)
|
|
2702
|
-
}
|
|
2703
|
-
);
|
|
2704
|
-
}
|
|
2705
|
-
const Co = {
|
|
2706
|
-
Bold: fr,
|
|
2707
|
-
LoaderCircle: pr,
|
|
2708
|
-
Italic: mr,
|
|
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,
|
|
2723
|
-
Subscript: nr,
|
|
2724
|
-
Superscript: or,
|
|
2725
|
-
Code: rr,
|
|
2726
|
-
Code2: tr,
|
|
2727
|
-
Type: er,
|
|
2728
|
-
IndentIncrease: Zt,
|
|
2729
|
-
IndentDecrease: Yt,
|
|
2730
|
-
List: Qt,
|
|
2731
|
-
ListOrdered: Kt,
|
|
2732
|
-
ListTodo: Jt,
|
|
2733
|
-
Link: qt,
|
|
2734
|
-
ImageUp: Xt,
|
|
2735
|
-
Video: Dt,
|
|
2736
|
-
Maximize: Ut,
|
|
2737
|
-
Minimize: Ft,
|
|
2738
|
-
Table: _t,
|
|
2739
|
-
Sparkles: $t,
|
|
2740
|
-
Pencil: Wt,
|
|
2741
|
-
Unlink: Ot,
|
|
2742
|
-
BetweenHorizonalEnd: Gt,
|
|
2743
|
-
BetweenHorizonalStart: Bt,
|
|
2744
|
-
BetweenVerticalStart: jt,
|
|
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,
|
|
2756
|
-
Heading2: Et,
|
|
2757
|
-
Heading3: Lt,
|
|
2758
|
-
Heading4: St,
|
|
2759
|
-
Heading5: kt,
|
|
2760
|
-
Heading6: Mt,
|
|
2761
|
-
Columns2: pe,
|
|
2762
|
-
Columns3: zt,
|
|
2763
|
-
Columns4: Ct,
|
|
2764
|
-
Plus: yt,
|
|
2765
|
-
Grip: xt,
|
|
2766
|
-
Copy: wt,
|
|
2767
|
-
Clipboard: vt,
|
|
2768
|
-
PanelLeft: bt,
|
|
2769
|
-
PanelRight: ft,
|
|
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,
|
|
2782
|
-
KatexIcon: ht,
|
|
2783
|
-
ExportPdf: go,
|
|
2784
|
-
ExportWord: mo,
|
|
2785
|
-
ImportWord: yo,
|
|
2786
|
-
ColumnAddLeft: ao,
|
|
2787
|
-
ColumnAddRight: co,
|
|
2788
|
-
BookMarked: ut,
|
|
2789
|
-
Excalidraw: ho,
|
|
2790
|
-
ZoomIn: dt,
|
|
2791
|
-
ZoomOut: ct,
|
|
2792
|
-
Settings: at,
|
|
2793
|
-
Eye: lt,
|
|
2794
|
-
TextDirection: uo,
|
|
2795
|
-
LeftToRight: bo,
|
|
2796
|
-
RightToLeft: wo,
|
|
2797
|
-
Attachment: st,
|
|
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) => {
|
|
2813
|
-
var o;
|
|
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({
|
|
2828
|
-
...n,
|
|
2829
|
-
...i
|
|
2830
|
-
}[v]) : {
|
|
2831
|
-
...n,
|
|
2832
|
-
...i
|
|
2833
|
-
}[v] === p;
|
|
2834
|
-
}) ? [
|
|
2835
|
-
...c,
|
|
2836
|
-
m,
|
|
2837
|
-
d
|
|
2838
|
-
] : c;
|
|
2839
|
-
}, []);
|
|
2840
|
-
return xe(e, l, u, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
|
|
2841
|
-
}, Mo = zo(
|
|
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",
|
|
2283
|
+
));
|
|
2284
|
+
De.displayName = b.Trigger.displayName;
|
|
2285
|
+
const pe = E.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ m(
|
|
2286
|
+
b.ScrollUpButton,
|
|
2843
2287
|
{
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
sm: "richtext-h-9 richtext-px-2",
|
|
2852
|
-
lg: "richtext-h-11 richtext-px-5"
|
|
2853
|
-
}
|
|
2854
|
-
},
|
|
2855
|
-
defaultVariants: {
|
|
2856
|
-
variant: "default",
|
|
2857
|
-
size: "default"
|
|
2858
|
-
}
|
|
2288
|
+
ref: r,
|
|
2289
|
+
className: A(
|
|
2290
|
+
"richtext-flex richtext-cursor-default richtext-items-center richtext-justify-center richtext-py-1",
|
|
2291
|
+
e
|
|
2292
|
+
),
|
|
2293
|
+
...t,
|
|
2294
|
+
children: /* @__PURE__ */ m(me, { className: "richtext-size-4" })
|
|
2859
2295
|
}
|
|
2860
|
-
)
|
|
2861
|
-
|
|
2296
|
+
));
|
|
2297
|
+
pe.displayName = b.ScrollUpButton.displayName;
|
|
2298
|
+
const ue = E.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ m(
|
|
2299
|
+
b.ScrollDownButton,
|
|
2862
2300
|
{
|
|
2863
|
-
ref:
|
|
2864
|
-
className:
|
|
2865
|
-
|
|
2301
|
+
ref: r,
|
|
2302
|
+
className: A(
|
|
2303
|
+
"richtext-flex richtext-cursor-default richtext-items-center richtext-justify-center richtext-py-1",
|
|
2304
|
+
e
|
|
2305
|
+
),
|
|
2306
|
+
...t,
|
|
2307
|
+
children: /* @__PURE__ */ m(se, { className: "richtext-size-4" })
|
|
2866
2308
|
}
|
|
2867
2309
|
));
|
|
2868
|
-
|
|
2869
|
-
const
|
|
2870
|
-
|
|
2310
|
+
ue.displayName = b.ScrollDownButton.displayName;
|
|
2311
|
+
const et = E.forwardRef(({ className: e, children: t, position: r = "popper", ...o }, a) => /* @__PURE__ */ m(b.Portal, { children: /* @__PURE__ */ X(
|
|
2312
|
+
b.Content,
|
|
2871
2313
|
{
|
|
2872
2314
|
"data-richtext-portal": !0,
|
|
2315
|
+
position: r,
|
|
2316
|
+
ref: a,
|
|
2317
|
+
className: A(
|
|
2318
|
+
"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",
|
|
2319
|
+
r === "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",
|
|
2320
|
+
e
|
|
2321
|
+
),
|
|
2322
|
+
...o,
|
|
2323
|
+
children: [
|
|
2324
|
+
/* @__PURE__ */ m(pe, {}),
|
|
2325
|
+
/* @__PURE__ */ m(
|
|
2326
|
+
b.Viewport,
|
|
2327
|
+
{
|
|
2328
|
+
className: A(
|
|
2329
|
+
"richtext-p-1",
|
|
2330
|
+
r === "popper" && "richtext-h-[var(--radix-select-trigger-height)] richtext-w-full richtext-min-w-[var(--radix-select-trigger-width)]"
|
|
2331
|
+
),
|
|
2332
|
+
children: t
|
|
2333
|
+
}
|
|
2334
|
+
),
|
|
2335
|
+
/* @__PURE__ */ m(ue, {})
|
|
2336
|
+
]
|
|
2337
|
+
}
|
|
2338
|
+
) }));
|
|
2339
|
+
et.displayName = b.Content.displayName;
|
|
2340
|
+
const tt = E.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ m(
|
|
2341
|
+
b.Label,
|
|
2342
|
+
{
|
|
2343
|
+
className: A("richtext-py-1.5 richtext-pl-8 richtext-pr-2 richtext-text-sm richtext-font-semibold", e),
|
|
2344
|
+
ref: r,
|
|
2345
|
+
...t
|
|
2346
|
+
}
|
|
2347
|
+
));
|
|
2348
|
+
tt.displayName = b.Label.displayName;
|
|
2349
|
+
const rt = E.forwardRef(({ className: e, children: t, ...r }, o) => /* @__PURE__ */ X(
|
|
2350
|
+
b.Item,
|
|
2351
|
+
{
|
|
2873
2352
|
ref: o,
|
|
2874
|
-
|
|
2875
|
-
|
|
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",
|
|
2353
|
+
className: A(
|
|
2354
|
+
"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",
|
|
2877
2355
|
e
|
|
2878
2356
|
),
|
|
2357
|
+
...r,
|
|
2358
|
+
children: [
|
|
2359
|
+
/* @__PURE__ */ m("span", { className: "richtext-absolute richtext-left-2 richtext-flex richtext-size-3.5 richtext-items-center richtext-justify-center", children: /* @__PURE__ */ m(b.ItemIndicator, { children: /* @__PURE__ */ m(xe, { className: "richtext-size-4" }) }) }),
|
|
2360
|
+
/* @__PURE__ */ m(b.ItemText, { children: t })
|
|
2361
|
+
]
|
|
2362
|
+
}
|
|
2363
|
+
));
|
|
2364
|
+
rt.displayName = b.Item.displayName;
|
|
2365
|
+
const ot = E.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ m(
|
|
2366
|
+
b.Separator,
|
|
2367
|
+
{
|
|
2368
|
+
className: A("richtext--mx-1 richtext-my-1 richtext-h-px richtext-bg-muted", e),
|
|
2369
|
+
ref: r,
|
|
2879
2370
|
...t
|
|
2880
2371
|
}
|
|
2881
2372
|
));
|
|
2882
|
-
|
|
2883
|
-
function
|
|
2884
|
-
function
|
|
2885
|
-
const n =
|
|
2886
|
-
n.current = { ...n.current, ...
|
|
2887
|
-
}, []),
|
|
2373
|
+
ot.displayName = b.Separator.displayName;
|
|
2374
|
+
function be(e) {
|
|
2375
|
+
function t() {
|
|
2376
|
+
const n = re(e), i = F(() => n.current, []), s = re(/* @__PURE__ */ new Set()), p = F((h) => {
|
|
2377
|
+
n.current = { ...n.current, ...h }, s.current.forEach((y) => y());
|
|
2378
|
+
}, []), f = F((h) => (s.current.add(h), () => s.current.delete(h)), []);
|
|
2888
2379
|
return {
|
|
2889
|
-
get:
|
|
2890
|
-
set:
|
|
2891
|
-
subscribe:
|
|
2380
|
+
get: i,
|
|
2381
|
+
set: p,
|
|
2382
|
+
subscribe: f
|
|
2892
2383
|
};
|
|
2893
2384
|
}
|
|
2894
|
-
const
|
|
2385
|
+
const r = he(null);
|
|
2895
2386
|
function o({ children: n }) {
|
|
2896
|
-
return /* @__PURE__ */
|
|
2387
|
+
return /* @__PURE__ */ m(r.Provider, { value: t(), children: n });
|
|
2897
2388
|
}
|
|
2898
|
-
function
|
|
2899
|
-
const
|
|
2900
|
-
if (!
|
|
2389
|
+
function a(n) {
|
|
2390
|
+
const i = fe(r);
|
|
2391
|
+
if (!i)
|
|
2901
2392
|
throw new Error("Store not found");
|
|
2902
|
-
return [
|
|
2903
|
-
|
|
2904
|
-
() => n(
|
|
2393
|
+
return [ge(
|
|
2394
|
+
i.subscribe,
|
|
2395
|
+
() => n(i.get()),
|
|
2905
2396
|
() => n(e)
|
|
2906
|
-
),
|
|
2397
|
+
), i.set];
|
|
2907
2398
|
}
|
|
2908
2399
|
return {
|
|
2909
2400
|
Provider: o,
|
|
2910
|
-
useStore:
|
|
2401
|
+
useStore: a
|
|
2911
2402
|
};
|
|
2912
2403
|
}
|
|
2913
|
-
|
|
2404
|
+
be({
|
|
2914
2405
|
value: !1
|
|
2915
2406
|
});
|
|
2916
|
-
|
|
2407
|
+
be({
|
|
2917
2408
|
value: !1
|
|
2918
2409
|
});
|
|
2919
|
-
const
|
|
2920
|
-
value: !1
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
return e;
|
|
2925
|
-
}
|
|
2926
|
-
const ye = "data-rc-order", Ce = "data-rc-priority", Eo = "rc-util-key", ee = /* @__PURE__ */ new Map();
|
|
2927
|
-
function Ao(e, r) {
|
|
2928
|
-
if (!e)
|
|
2929
|
-
return !1;
|
|
2930
|
-
if (e.contains)
|
|
2931
|
-
return e.contains(r);
|
|
2932
|
-
let t = r;
|
|
2933
|
-
for (; t; ) {
|
|
2934
|
-
if (t === e)
|
|
2935
|
-
return !0;
|
|
2936
|
-
t = t.parentNode;
|
|
2937
|
-
}
|
|
2938
|
-
return !1;
|
|
2939
|
-
}
|
|
2940
|
-
function Ne({ mark: e } = {}) {
|
|
2941
|
-
return e ? e.startsWith("data-") ? e : `data-${e}` : Eo;
|
|
2942
|
-
}
|
|
2943
|
-
function ie(e) {
|
|
2944
|
-
return e.attachTo ? e.attachTo : document.querySelector("head") || document.body;
|
|
2945
|
-
}
|
|
2946
|
-
function Vo(e) {
|
|
2947
|
-
return e === "queue" ? "prependQueue" : e ? "prepend" : "append";
|
|
2948
|
-
}
|
|
2949
|
-
function Pe(e) {
|
|
2950
|
-
return [...(ee.get(e) || e).children].filter(
|
|
2951
|
-
(r) => r.tagName === "STYLE"
|
|
2952
|
-
);
|
|
2953
|
-
}
|
|
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;
|
|
2958
|
-
if (o) {
|
|
2959
|
-
if (l) {
|
|
2960
|
-
const g = Pe(u).filter((m) => {
|
|
2961
|
-
if (!["prepend", "prependQueue"].includes(m.getAttribute(ye)))
|
|
2962
|
-
return !1;
|
|
2963
|
-
const d = Number(m.getAttribute(Ce) || 0);
|
|
2964
|
-
return s >= d;
|
|
2965
|
-
});
|
|
2966
|
-
if (g.length > 0)
|
|
2967
|
-
return u.insertBefore(i, g.at(-1).nextSibling), i;
|
|
2968
|
-
}
|
|
2969
|
-
c.before(i);
|
|
2970
|
-
} else
|
|
2971
|
-
u.append(i);
|
|
2972
|
-
return i;
|
|
2973
|
-
}
|
|
2974
|
-
function je(e, r = {}) {
|
|
2975
|
-
const t = ie(r);
|
|
2976
|
-
return Pe(t).find((o) => o.getAttribute(Ne(r)) === e);
|
|
2977
|
-
}
|
|
2978
|
-
function Ho(e, r = {}) {
|
|
2979
|
-
const t = je(e, r);
|
|
2980
|
-
t && t.remove();
|
|
2981
|
-
}
|
|
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();
|
|
2987
|
-
}
|
|
2988
|
-
}
|
|
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);
|
|
2994
|
-
if (s)
|
|
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;
|
|
2998
|
-
}
|
|
2999
|
-
const No = _e(({ editor: e, children: r }) => {
|
|
3000
|
-
const [, t] = Te((s) => s.value);
|
|
3001
|
-
V(() => {
|
|
3002
|
-
t({
|
|
3003
|
-
value: e == null ? void 0 : e.isEditable
|
|
3004
|
-
});
|
|
3005
|
-
}, [e == null ? void 0 : e.isEditable]);
|
|
3006
|
-
const o = () => {
|
|
3007
|
-
t({
|
|
3008
|
-
value: e == null ? void 0 : e.isEditable
|
|
3009
|
-
});
|
|
3010
|
-
};
|
|
3011
|
-
return V(() => (e && e.on("update", o), () => {
|
|
3012
|
-
e && e.off("update", o);
|
|
3013
|
-
}), [e]), /* @__PURE__ */ a(te, { children: r });
|
|
3014
|
-
});
|
|
3015
|
-
function Po() {
|
|
3016
|
-
const [, e] = Ue(De), r = (o) => {
|
|
3017
|
-
e((s) => ({
|
|
3018
|
-
...s,
|
|
3019
|
-
currentLang: o.detail
|
|
2410
|
+
const nt = we((e) => ({
|
|
2411
|
+
value: !1,
|
|
2412
|
+
setEditable: (t) => {
|
|
2413
|
+
e(() => ({
|
|
2414
|
+
value: t.value
|
|
3020
2415
|
}));
|
|
3021
|
-
}
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
const i = {
|
|
3026
|
-
...l.message[s],
|
|
3027
|
-
...n
|
|
3028
|
-
};
|
|
3029
|
-
return {
|
|
3030
|
-
currentLang: l.currentLang,
|
|
3031
|
-
message: {
|
|
3032
|
-
...l.message,
|
|
3033
|
-
[s]: i
|
|
3034
|
-
}
|
|
3035
|
-
};
|
|
3036
|
-
} else
|
|
3037
|
-
return {
|
|
3038
|
-
currentLang: l.currentLang,
|
|
3039
|
-
message: {
|
|
3040
|
-
...l.message,
|
|
3041
|
-
[s]: n
|
|
3042
|
-
}
|
|
3043
|
-
};
|
|
3044
|
-
});
|
|
3045
|
-
};
|
|
3046
|
-
return V(() => {
|
|
3047
|
-
const o = j(B.CHANGE_LANGUAGE, r), s = j(B.MODIFY_LANGUAGE, t);
|
|
3048
|
-
return () => {
|
|
3049
|
-
o(), s();
|
|
3050
|
-
};
|
|
3051
|
-
}, []), /* @__PURE__ */ a(te, {});
|
|
3052
|
-
}
|
|
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;
|
|
3060
|
-
return;
|
|
3061
|
-
}
|
|
3062
|
-
return To(`
|
|
3063
|
-
.reactjs-tiptap-editor, .reactjs-tiptap-editor *,
|
|
3064
|
-
.reactjs-tiptap-editor-theme, .reactjs-tiptap-editor-theme *,
|
|
3065
|
-
div[data-richtext-portal], div[data-richtext-portal] * {
|
|
3066
|
-
${Object.entries(m).map(([d, f]) => typeof s == "string" && d === "radius" ? `--${d}: ${s};` : `--${d}: ${f};`).join(`
|
|
3067
|
-
`)}
|
|
3068
|
-
}
|
|
3069
|
-
`, "richtext-theme", {
|
|
3070
|
-
priority: 50
|
|
3071
|
-
}), () => {
|
|
3072
|
-
Ho("richtext-theme");
|
|
3073
|
-
};
|
|
3074
|
-
}, [e, t, s]);
|
|
3075
|
-
const l = (c) => {
|
|
3076
|
-
r(c.detail);
|
|
3077
|
-
}, i = (c) => {
|
|
3078
|
-
o(c.detail);
|
|
3079
|
-
}, u = (c) => {
|
|
3080
|
-
n(c.detail);
|
|
3081
|
-
};
|
|
3082
|
-
return V(() => {
|
|
3083
|
-
const c = j(B.CHANGE_THEME, l), g = j(B.CHANGE_COLOR, i), m = j(B.CHANGE_BORDER_RADIUS, u);
|
|
3084
|
-
return () => {
|
|
3085
|
-
c(), g(), m();
|
|
3086
|
-
};
|
|
3087
|
-
}, []), /* @__PURE__ */ a(te, {});
|
|
3088
|
-
}
|
|
3089
|
-
function Jo({ editor: e, children: r, id: t }) {
|
|
3090
|
-
return /* @__PURE__ */ A(Lo, { children: [
|
|
3091
|
-
/* @__PURE__ */ a(
|
|
3092
|
-
No,
|
|
3093
|
-
{
|
|
3094
|
-
editor: e,
|
|
3095
|
-
id: t,
|
|
3096
|
-
children: r
|
|
3097
|
-
}
|
|
3098
|
-
),
|
|
3099
|
-
/* @__PURE__ */ a(Po, {}),
|
|
3100
|
-
/* @__PURE__ */ a(Io, {})
|
|
3101
|
-
] });
|
|
2416
|
+
}
|
|
2417
|
+
}));
|
|
2418
|
+
function ut() {
|
|
2419
|
+
return nt((t) => t.value);
|
|
3102
2420
|
}
|
|
3103
2421
|
export {
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
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
|
|
2422
|
+
dt as S,
|
|
2423
|
+
ut as a,
|
|
2424
|
+
De as b,
|
|
2425
|
+
A as c,
|
|
2426
|
+
pt as d,
|
|
2427
|
+
et as e,
|
|
2428
|
+
rt as f,
|
|
2429
|
+
nt as u
|
|
3123
2430
|
};
|