reactjs-tiptap-editor 0.4.2 → 1.0.1

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.
Files changed (338) hide show
  1. package/lib/ActionMenuButton-BKOg7hkq.js +38 -0
  2. package/lib/ActionMenuButton-DLQyd_gx.cjs +1 -0
  3. package/lib/Attachment.cjs +2 -2
  4. package/lib/Attachment.d.cts +27 -39
  5. package/lib/Attachment.d.ts +27 -39
  6. package/lib/Attachment.js +129 -99
  7. package/lib/Blockquote.cjs +3 -3
  8. package/lib/Blockquote.d.cts +27 -39
  9. package/lib/Blockquote.d.ts +27 -39
  10. package/lib/Blockquote.js +50 -22
  11. package/lib/Bold.cjs +1 -1
  12. package/lib/Bold.d.cts +27 -39
  13. package/lib/Bold.d.ts +27 -39
  14. package/lib/Bold.js +48 -20
  15. package/lib/BulletList.cjs +1 -1
  16. package/lib/BulletList.d.cts +27 -39
  17. package/lib/BulletList.d.ts +27 -39
  18. package/lib/BulletList.js +38 -9
  19. package/lib/Clear.cjs +1 -1
  20. package/lib/Clear.d.cts +27 -39
  21. package/lib/Clear.d.ts +27 -39
  22. package/lib/Clear.js +32 -6
  23. package/lib/Code.cjs +1 -1
  24. package/lib/Code.d.cts +27 -39
  25. package/lib/Code.d.ts +27 -39
  26. package/lib/Code.js +53 -25
  27. package/lib/CodeBlock.cjs +35 -35
  28. package/lib/CodeBlock.d.cts +27 -39
  29. package/lib/CodeBlock.d.ts +27 -39
  30. package/lib/CodeBlock.js +605 -590
  31. package/lib/CodeView.cjs +1 -1
  32. package/lib/CodeView.d.cts +28 -40
  33. package/lib/CodeView.d.ts +28 -40
  34. package/lib/CodeView.js +49 -21
  35. package/lib/Color.cjs +1 -1
  36. package/lib/Color.d.cts +31 -39
  37. package/lib/Color.d.ts +31 -39
  38. package/lib/Color.js +123 -79
  39. package/lib/Column.cjs +1 -0
  40. package/lib/{Document.d.cts → Column.d.cts} +33 -42
  41. package/lib/{Document.d.ts → Column.d.ts} +33 -42
  42. package/lib/Column.js +217 -0
  43. package/lib/{Drawer-CaAfmqNo.js → Drawer-DZ5jvmrX.js} +404 -394
  44. package/lib/Drawer-SRhwOc6T.cjs +1 -0
  45. package/lib/Drawer.cjs +1 -1
  46. package/lib/Drawer.d.cts +27 -39
  47. package/lib/Drawer.d.ts +27 -39
  48. package/lib/Drawer.js +6 -5
  49. package/lib/Emoji.cjs +1 -1
  50. package/lib/Emoji.d.cts +27 -44
  51. package/lib/Emoji.d.ts +27 -44
  52. package/lib/Emoji.js +377 -392
  53. package/lib/Excalidraw-DwBRXEtC.js +345 -0
  54. package/lib/Excalidraw-ZN3DQvDC.cjs +1 -0
  55. package/lib/Excalidraw.cjs +1 -1
  56. package/lib/Excalidraw.d.cts +27 -39
  57. package/lib/Excalidraw.d.ts +27 -39
  58. package/lib/Excalidraw.js +6 -4
  59. package/lib/ExportPdf.cjs +5 -5
  60. package/lib/ExportPdf.d.cts +27 -39
  61. package/lib/ExportPdf.d.ts +27 -39
  62. package/lib/ExportPdf.js +60 -32
  63. package/lib/ExportWord.cjs +1 -1
  64. package/lib/ExportWord.d.cts +28 -40
  65. package/lib/ExportWord.d.ts +28 -40
  66. package/lib/ExportWord.js +84 -21
  67. package/lib/FontFamily.cjs +1 -1
  68. package/lib/FontFamily.d.cts +41 -42
  69. package/lib/FontFamily.d.ts +41 -42
  70. package/lib/FontFamily.js +72 -74
  71. package/lib/FontSize.cjs +1 -1
  72. package/lib/FontSize.d.cts +38 -42
  73. package/lib/FontSize.d.ts +38 -42
  74. package/lib/FontSize.js +72 -64
  75. package/lib/Heading.cjs +1 -1
  76. package/lib/Heading.d.cts +41 -39
  77. package/lib/Heading.d.ts +41 -39
  78. package/lib/Heading.js +91 -73
  79. package/lib/Highlight.cjs +1 -1
  80. package/lib/Highlight.d.cts +31 -39
  81. package/lib/Highlight.d.ts +31 -39
  82. package/lib/Highlight.js +150 -19
  83. package/lib/History.cjs +1 -1
  84. package/lib/History.d.cts +29 -39
  85. package/lib/History.d.ts +29 -39
  86. package/lib/History.js +976 -53
  87. package/lib/HorizontalRule.cjs +1 -1
  88. package/lib/HorizontalRule.d.cts +27 -39
  89. package/lib/HorizontalRule.d.ts +27 -39
  90. package/lib/HorizontalRule.js +97 -17
  91. package/lib/Icon-DUpv2cI6.cjs +1 -0
  92. package/lib/Icon-jKs8Hr6p.js +11 -0
  93. package/lib/Iframe-CmXkEqOd.js +431 -0
  94. package/lib/Iframe-Cvca2G7X.cjs +1 -0
  95. package/lib/Iframe.cjs +1 -1
  96. package/lib/Iframe.d.cts +26 -45
  97. package/lib/Iframe.d.ts +26 -45
  98. package/lib/Iframe.js +6 -4
  99. package/lib/Image.cjs +1 -1
  100. package/lib/Image.d.cts +27 -40
  101. package/lib/Image.d.ts +27 -40
  102. package/lib/Image.js +848 -5
  103. package/lib/ImageGif.cjs +1 -1
  104. package/lib/ImageGif.d.cts +28 -42
  105. package/lib/ImageGif.d.ts +28 -42
  106. package/lib/ImageGif.js +424 -5
  107. package/lib/ImportWord.cjs +48 -48
  108. package/lib/ImportWord.d.cts +28 -40
  109. package/lib/ImportWord.d.ts +28 -40
  110. package/lib/ImportWord.js +2759 -2751
  111. package/lib/Indent.cjs +1 -1
  112. package/lib/Indent.d.cts +27 -39
  113. package/lib/Indent.d.ts +27 -39
  114. package/lib/Indent.js +97 -27
  115. package/lib/Italic.cjs +1 -1
  116. package/lib/Italic.d.cts +27 -39
  117. package/lib/Italic.d.ts +27 -39
  118. package/lib/Italic.js +47 -19
  119. package/lib/Katex-DsYXsjSS.js +2740 -0
  120. package/lib/Katex-XfrNne6U.cjs +4 -0
  121. package/lib/Katex.cjs +1 -1
  122. package/lib/Katex.d.cts +27 -39
  123. package/lib/Katex.d.ts +27 -39
  124. package/lib/Katex.js +5 -196
  125. package/lib/LineHeight.cjs +1 -1
  126. package/lib/LineHeight.d.cts +29 -45
  127. package/lib/LineHeight.d.ts +29 -45
  128. package/lib/LineHeight.js +71 -112
  129. package/lib/Link.cjs +1 -1
  130. package/lib/Link.d.cts +28 -42
  131. package/lib/Link.d.ts +28 -42
  132. package/lib/Link.js +3 -3
  133. package/lib/LinkEditBlock-BZenZq-Z.cjs +5 -0
  134. package/lib/LinkEditBlock-CB8yIffE.js +1241 -0
  135. package/lib/Mention.cjs +1 -1
  136. package/lib/Mention.d.cts +24 -39
  137. package/lib/Mention.d.ts +24 -39
  138. package/lib/Mention.js +112 -124
  139. package/lib/Mermaid.cjs +2 -2
  140. package/lib/Mermaid.d.cts +27 -39
  141. package/lib/Mermaid.d.ts +27 -39
  142. package/lib/Mermaid.js +177 -165
  143. package/lib/MoreMark.cjs +1 -1
  144. package/lib/MoreMark.d.cts +42 -41
  145. package/lib/MoreMark.d.ts +42 -41
  146. package/lib/MoreMark.js +125 -55
  147. package/lib/OrderedList.cjs +1 -1
  148. package/lib/OrderedList.d.cts +27 -39
  149. package/lib/OrderedList.d.ts +27 -39
  150. package/lib/OrderedList.js +37 -9
  151. package/lib/SearchAndReplace.cjs +1 -1
  152. package/lib/SearchAndReplace.d.cts +27 -42
  153. package/lib/SearchAndReplace.d.ts +27 -42
  154. package/lib/SearchAndReplace.js +221 -197
  155. package/lib/SlashCommand.cjs +1 -1
  156. package/lib/SlashCommand.d.cts +39 -46
  157. package/lib/SlashCommand.d.ts +39 -46
  158. package/lib/SlashCommand.js +235 -249
  159. package/lib/Strike.cjs +1 -1
  160. package/lib/Strike.d.cts +27 -39
  161. package/lib/Strike.d.ts +27 -39
  162. package/lib/Strike.js +39 -11
  163. package/lib/Table-B1j1Ebmh.cjs +9 -0
  164. package/lib/Table-Db8TcQX8.js +1984 -0
  165. package/lib/Table.cjs +1 -9
  166. package/lib/Table.d.cts +28 -42
  167. package/lib/Table.d.ts +28 -42
  168. package/lib/Table.js +3 -558
  169. package/lib/TaskList.cjs +1 -1
  170. package/lib/TaskList.d.cts +27 -39
  171. package/lib/TaskList.d.ts +27 -39
  172. package/lib/TaskList.js +38 -10
  173. package/lib/TextAlign.cjs +1 -1
  174. package/lib/TextAlign.d.cts +40 -39
  175. package/lib/TextAlign.d.ts +40 -39
  176. package/lib/TextAlign.js +108 -101
  177. package/lib/TextDirection.cjs +1 -1
  178. package/lib/TextDirection.d.cts +56 -39
  179. package/lib/TextDirection.d.ts +56 -39
  180. package/lib/TextDirection.js +105 -112
  181. package/lib/TextUnderline.cjs +1 -1
  182. package/lib/TextUnderline.d.cts +27 -39
  183. package/lib/TextUnderline.d.ts +27 -39
  184. package/lib/TextUnderline.js +46 -18
  185. package/lib/{Twitter-BFULyqdR.js → Twitter-CXmmjz9R.js} +536 -498
  186. package/lib/Twitter-CtVTIWJW.cjs +1 -0
  187. package/lib/Twitter.cjs +1 -1
  188. package/lib/Twitter.d.cts +27 -39
  189. package/lib/Twitter.d.ts +27 -39
  190. package/lib/Twitter.js +5 -4
  191. package/lib/Video.cjs +1 -1
  192. package/lib/Video.d.cts +27 -39
  193. package/lib/Video.d.ts +27 -39
  194. package/lib/Video.js +261 -4
  195. package/lib/_commonjsHelpers-BItOPCY9.js +28 -0
  196. package/lib/_commonjsHelpers-BTDuMlIz.cjs +1 -0
  197. package/lib/bubble.cjs +2 -0
  198. package/lib/{bubble-extra.d.cts → bubble.d.cts} +53 -54
  199. package/lib/{bubble-extra.d.ts → bubble.d.ts} +53 -54
  200. package/lib/bubble.js +1925 -0
  201. package/lib/button-B12K7BJ4.cjs +1 -0
  202. package/lib/button-DXMsXUEn.js +43 -0
  203. package/lib/clsx-C11secjj.cjs +1 -0
  204. package/lib/clsx-OuTLNxxd.js +16 -0
  205. package/lib/delete-node-CosiBes5.cjs +1 -0
  206. package/lib/delete-node-IyVmiRbI.js +22 -0
  207. package/lib/dialog-CaCS-W5S.cjs +1 -0
  208. package/lib/dialog-PtQivpHS.js +100 -0
  209. package/lib/dom-dataset-BqoJhJXt.cjs +1 -0
  210. package/lib/dom-dataset-CIEeltF6.js +47 -0
  211. package/lib/dropdown-menu-BPp2Z_U-.js +136 -0
  212. package/lib/dropdown-menu-CdSm4emp.cjs +1 -0
  213. package/lib/file-BLas99n7.js +43 -0
  214. package/lib/file-i7e4nQY2.cjs +1 -0
  215. package/lib/floating-ui.dom-U1vPFQ5f.js +1151 -0
  216. package/lib/floating-ui.dom-VCrc58uF.cjs +1 -0
  217. package/lib/icons-Cllpys39.js +362 -0
  218. package/lib/icons-CqHjeW5T.cjs +1 -0
  219. package/lib/index-BH4bc3jN.cjs +33 -0
  220. package/lib/index-BPfVXs5_.js +2380 -0
  221. package/lib/index-Bnmd0WvY.js +1631 -0
  222. package/lib/{index-Ch6dBBad.js → index-CBce_TWY.js} +40 -42
  223. package/lib/{index-5iBZLua9.cjs → index-D-5U8dY8.cjs} +8 -8
  224. package/lib/{index-ByurDDMv.js → index-D2TUfKkC.js} +2 -2
  225. package/lib/index-DV5kbgRU.cjs +1 -0
  226. package/lib/{index-LmrOdnen.js → index-DYkucCoF.js} +396 -495
  227. package/lib/index-Dfmm6FTT.cjs +1 -0
  228. package/lib/index-DnWWK9F_.js +6374 -0
  229. package/lib/index-DzcKxutn.js +632 -0
  230. package/lib/index-DzvuNTxo.cjs +4 -0
  231. package/lib/{index-BeCTd5v2.cjs → index-N--9MohJ.cjs} +1 -1
  232. package/lib/index-RfTlOzIr.cjs +22 -0
  233. package/lib/index.cjs +132 -1
  234. package/lib/index.d.cts +29 -280
  235. package/lib/index.d.ts +29 -280
  236. package/lib/index.js +243 -2
  237. package/lib/input-_ECRfn3Y.cjs +1 -0
  238. package/lib/input-wJ9PDEzZ.js +21 -0
  239. package/lib/isNumber-ClPupm7P.cjs +1 -0
  240. package/lib/isNumber-fpLGS0AZ.js +15 -0
  241. package/lib/label-BkgAe7IY.cjs +1 -0
  242. package/lib/label-CGdLYWv7.js +19 -0
  243. package/lib/locale-bundle.cjs +1 -1
  244. package/lib/locale-bundle.d.cts +5405 -57
  245. package/lib/locale-bundle.d.ts +5405 -57
  246. package/lib/locale-bundle.js +9 -7
  247. package/lib/popover-BgmUNMHj.cjs +1 -0
  248. package/lib/popover-CAuEW0Mr.js +23 -0
  249. package/lib/separator-CuBW_w98.js +328 -0
  250. package/lib/separator-DRIrVZ2N.cjs +1 -0
  251. package/lib/store-DX599H5W.js +10 -0
  252. package/lib/store-WStcMOiW.cjs +1 -0
  253. package/lib/style.css +1 -1
  254. package/lib/switch-CnLJ7Y-b.cjs +1 -0
  255. package/lib/switch-Coix_FA1.js +27 -0
  256. package/lib/tabs-B5mVSN1I.js +46 -0
  257. package/lib/tabs-BoLCMcCI.cjs +1 -0
  258. package/lib/textarea-B-6zTKQz.cjs +1 -0
  259. package/lib/{textarea-aPtytkDx.js → textarea-DUUM1jZd.js} +1 -1
  260. package/lib/theme-B7aAsK_T.js +15 -0
  261. package/lib/theme-D8_cxGqB.cjs +1 -0
  262. package/lib/throttle-CdwDrFpn.js +249 -0
  263. package/lib/throttle-qX7Yjtsg.cjs +1 -0
  264. package/lib/toggle-Cdp4IT2U.js +85 -0
  265. package/lib/toggle-D41PzQLJ.cjs +1 -0
  266. package/lib/tooltip-BuEiE96N.cjs +1 -0
  267. package/lib/tooltip-CopwsU8q.js +23 -0
  268. package/lib/updatePosition-8Sdem5jb.cjs +1 -0
  269. package/lib/updatePosition-BPmcE0YD.js +215 -0
  270. package/lib/use-toast-Bz3QCOtE.cjs +1 -0
  271. package/lib/use-toast-Crf7-q5H.js +98 -0
  272. package/lib/useButtonProps-BsEd4zYM.js +141 -0
  273. package/lib/useButtonProps-C6Vpn190.cjs +1 -0
  274. package/package.json +22 -105
  275. package/lib/ActionMenuButton-CYdM1xx5.cjs +0 -1
  276. package/lib/ActionMenuButton-DKRF6oa0.js +0 -33
  277. package/lib/BaseKit.cjs +0 -3
  278. package/lib/BaseKit.d.cts +0 -481
  279. package/lib/BaseKit.d.ts +0 -481
  280. package/lib/BaseKit.js +0 -132
  281. package/lib/Document.cjs +0 -1
  282. package/lib/Document.js +0 -9
  283. package/lib/Drawer-CdvCMSzN.cjs +0 -1
  284. package/lib/Excalidraw-BbMQhNvs.cjs +0 -1
  285. package/lib/Excalidraw-CVWz2Vyn.js +0 -290
  286. package/lib/FormatPainter.cjs +0 -1
  287. package/lib/FormatPainter.d.cts +0 -372
  288. package/lib/FormatPainter.d.ts +0 -372
  289. package/lib/FormatPainter.js +0 -76
  290. package/lib/ListItem.cjs +0 -1
  291. package/lib/ListItem.d.cts +0 -290
  292. package/lib/ListItem.d.ts +0 -290
  293. package/lib/ListItem.js +0 -7
  294. package/lib/MultiColumn.cjs +0 -1
  295. package/lib/MultiColumn.d.cts +0 -294
  296. package/lib/MultiColumn.d.ts +0 -294
  297. package/lib/MultiColumn.js +0 -8
  298. package/lib/RichTextEditor-CxvwGvQG.cjs +0 -142
  299. package/lib/RichTextEditor-DGcKEUGr.js +0 -22166
  300. package/lib/Selection.cjs +0 -1
  301. package/lib/Selection.d.cts +0 -289
  302. package/lib/Selection.d.ts +0 -289
  303. package/lib/Selection.js +0 -25
  304. package/lib/SubAndSuperScript.cjs +0 -1
  305. package/lib/SubAndSuperScript.d.cts +0 -377
  306. package/lib/SubAndSuperScript.d.ts +0 -377
  307. package/lib/SubAndSuperScript.js +0 -43
  308. package/lib/TableOfContent.cjs +0 -1
  309. package/lib/TableOfContent.d.cts +0 -291
  310. package/lib/TableOfContent.d.ts +0 -291
  311. package/lib/TableOfContent.js +0 -185
  312. package/lib/TextBubble.cjs +0 -1
  313. package/lib/TextBubble.d.cts +0 -362
  314. package/lib/TextBubble.d.ts +0 -362
  315. package/lib/TextBubble.js +0 -133
  316. package/lib/TrailingNode.cjs +0 -1
  317. package/lib/TrailingNode.d.cts +0 -297
  318. package/lib/TrailingNode.d.ts +0 -297
  319. package/lib/TrailingNode.js +0 -41
  320. package/lib/Twitter-Cutpkh3h.cjs +0 -1
  321. package/lib/bubble-extra.cjs +0 -2
  322. package/lib/bubble-extra.js +0 -631
  323. package/lib/dom-dataset-_6-diIRQ.cjs +0 -33
  324. package/lib/dom-dataset-lYeH6gfI.js +0 -2361
  325. package/lib/index-6D1J-A-o.cjs +0 -1
  326. package/lib/index-B96Cclrj.cjs +0 -3
  327. package/lib/index-BBz7Nmv9.js +0 -55
  328. package/lib/index-CUogRI7j.cjs +0 -1
  329. package/lib/index-DF2Lp4HZ.cjs +0 -100
  330. package/lib/index-D_L6n8O8.js +0 -76
  331. package/lib/index-Dbvi-Bvh.cjs +0 -1
  332. package/lib/index-DpCrt7xs.cjs +0 -1
  333. package/lib/index-DsAX1Vq8.cjs +0 -1
  334. package/lib/index-Dy4DlW9o.js +0 -12
  335. package/lib/index-J3jHHZ4d.js +0 -200
  336. package/lib/index-VvXaaKe3.js +0 -898
  337. package/lib/index-kbO3iWqL.js +0 -13432
  338. package/lib/textarea-DFo_aXnj.cjs +0 -1
@@ -0,0 +1,2380 @@
1
+ import { c as pe } from "./clsx-OuTLNxxd.js";
2
+ import { jsx as A, Fragment as oe, jsxs as be } from "react/jsx-runtime";
3
+ import { createContext as ge, useContext as fe, useSyncExternalStore as me, useRef as ee, useCallback as F, memo as he, useEffect as V } from "react";
4
+ import { k as ne, E as se, x as xe, a as ye } from "./index-DYkucCoF.js";
5
+ const H = "-", ve = (e) => {
6
+ const r = Ce(e), {
7
+ conflictingClassGroups: t,
8
+ conflictingClassGroupModifiers: n
9
+ } = e;
10
+ return {
11
+ getClassGroupId: (a) => {
12
+ const s = a.split(H);
13
+ return s[0] === "" && s.length !== 1 && s.shift(), ae(s, r) || we(a);
14
+ },
15
+ getConflictingClassGroupIds: (a, s) => {
16
+ const u = t[a] || [];
17
+ return s && n[a] ? [...u, ...n[a]] : u;
18
+ }
19
+ };
20
+ }, ae = (e, r) => {
21
+ var a;
22
+ if (e.length === 0)
23
+ return r.classGroupId;
24
+ const t = e[0], n = r.nextPart.get(t), l = n ? ae(e.slice(1), n) : void 0;
25
+ if (l)
26
+ return l;
27
+ if (r.validators.length === 0)
28
+ return;
29
+ const o = e.join(H);
30
+ return (a = r.validators.find(({
31
+ validator: s
32
+ }) => s(o))) == null ? void 0 : a.classGroupId;
33
+ }, re = /^\[(.+)\]$/, we = (e) => {
34
+ if (re.test(e)) {
35
+ const r = re.exec(e)[1], t = r == null ? void 0 : r.substring(0, r.indexOf(":"));
36
+ if (t)
37
+ return "arbitrary.." + t;
38
+ }
39
+ }, Ce = (e) => {
40
+ const {
41
+ theme: r,
42
+ prefix: t
43
+ } = e, n = {
44
+ nextPart: /* @__PURE__ */ new Map(),
45
+ validators: []
46
+ };
47
+ return Ee(Object.entries(e.classGroups), t).forEach(([o, a]) => {
48
+ q(a, n, o, r);
49
+ }), n;
50
+ }, q = (e, r, t, n) => {
51
+ e.forEach((l) => {
52
+ if (typeof l == "string") {
53
+ const o = l === "" ? r : te(r, l);
54
+ o.classGroupId = t;
55
+ return;
56
+ }
57
+ if (typeof l == "function") {
58
+ if (ke(l)) {
59
+ q(l(n), r, t, n);
60
+ return;
61
+ }
62
+ r.validators.push({
63
+ validator: l,
64
+ classGroupId: t
65
+ });
66
+ return;
67
+ }
68
+ Object.entries(l).forEach(([o, a]) => {
69
+ q(a, te(r, o), t, n);
70
+ });
71
+ });
72
+ }, te = (e, r) => {
73
+ let t = e;
74
+ return r.split(H).forEach((n) => {
75
+ t.nextPart.has(n) || t.nextPart.set(n, {
76
+ nextPart: /* @__PURE__ */ new Map(),
77
+ validators: []
78
+ }), t = t.nextPart.get(n);
79
+ }), t;
80
+ }, ke = (e) => e.isThemeGetter, Ee = (e, r) => r ? e.map(([t, n]) => {
81
+ const l = n.map((o) => typeof o == "string" ? r + o : typeof o == "object" ? Object.fromEntries(Object.entries(o).map(([a, s]) => [r + a, s])) : o);
82
+ return [t, l];
83
+ }) : e, Se = (e) => {
84
+ if (e < 1)
85
+ return {
86
+ get: () => {
87
+ },
88
+ set: () => {
89
+ }
90
+ };
91
+ let r = 0, t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
92
+ const l = (o, a) => {
93
+ t.set(o, a), r++, r > e && (r = 0, n = t, t = /* @__PURE__ */ new Map());
94
+ };
95
+ return {
96
+ get(o) {
97
+ let a = t.get(o);
98
+ if (a !== void 0)
99
+ return a;
100
+ if ((a = n.get(o)) !== void 0)
101
+ return l(o, a), a;
102
+ },
103
+ set(o, a) {
104
+ t.has(o) ? t.set(o, a) : l(o, a);
105
+ }
106
+ };
107
+ }, le = "!", ze = (e) => {
108
+ const {
109
+ separator: r,
110
+ experimentalParseClassName: t
111
+ } = e, n = r.length === 1, l = r[0], o = r.length, a = (s) => {
112
+ const u = [];
113
+ let g = 0, b = 0, h;
114
+ for (let p = 0; p < s.length; p++) {
115
+ let m = s[p];
116
+ if (g === 0) {
117
+ if (m === l && (n || s.slice(p, p + o) === r)) {
118
+ u.push(s.slice(b, p)), b = p + o;
119
+ continue;
120
+ }
121
+ if (m === "/") {
122
+ h = p;
123
+ continue;
124
+ }
125
+ }
126
+ m === "[" ? g++ : m === "]" && g--;
127
+ }
128
+ const y = u.length === 0 ? s : s.substring(b), w = y.startsWith(le), v = w ? y.substring(1) : y, f = h && h > b ? h - b : void 0;
129
+ return {
130
+ modifiers: u,
131
+ hasImportantModifier: w,
132
+ baseClassName: v,
133
+ maybePostfixModifierPosition: f
134
+ };
135
+ };
136
+ return t ? (s) => t({
137
+ className: s,
138
+ parseClassName: a
139
+ }) : a;
140
+ }, Ae = (e) => {
141
+ if (e.length <= 1)
142
+ return e;
143
+ const r = [];
144
+ let t = [];
145
+ return e.forEach((n) => {
146
+ n[0] === "[" ? (r.push(...t.sort(), n), t = []) : t.push(n);
147
+ }), r.push(...t.sort()), r;
148
+ }, Pe = (e) => ({
149
+ cache: Se(e.cacheSize),
150
+ parseClassName: ze(e),
151
+ ...ve(e)
152
+ }), Me = /\s+/, Ge = (e, r) => {
153
+ const {
154
+ parseClassName: t,
155
+ getClassGroupId: n,
156
+ getConflictingClassGroupIds: l
157
+ } = r, o = [], a = e.trim().split(Me);
158
+ let s = "";
159
+ for (let u = a.length - 1; u >= 0; u -= 1) {
160
+ const g = a[u], {
161
+ modifiers: b,
162
+ hasImportantModifier: h,
163
+ baseClassName: y,
164
+ maybePostfixModifierPosition: w
165
+ } = t(g);
166
+ let v = !!w, f = n(v ? y.substring(0, w) : y);
167
+ if (!f) {
168
+ if (!v) {
169
+ s = g + (s.length > 0 ? " " + s : s);
170
+ continue;
171
+ }
172
+ if (f = n(y), !f) {
173
+ s = g + (s.length > 0 ? " " + s : s);
174
+ continue;
175
+ }
176
+ v = !1;
177
+ }
178
+ const p = Ae(b).join(":"), m = h ? p + le : p, x = m + f;
179
+ if (o.includes(x))
180
+ continue;
181
+ o.push(x);
182
+ const G = l(f, v);
183
+ for (let z = 0; z < G.length; ++z) {
184
+ const L = G[z];
185
+ o.push(m + L);
186
+ }
187
+ s = g + (s.length > 0 ? " " + s : s);
188
+ }
189
+ return s;
190
+ };
191
+ function Re() {
192
+ let e = 0, r, t, n = "";
193
+ for (; e < arguments.length; )
194
+ (r = arguments[e++]) && (t = ie(r)) && (n && (n += " "), n += t);
195
+ return n;
196
+ }
197
+ const ie = (e) => {
198
+ if (typeof e == "string")
199
+ return e;
200
+ let r, t = "";
201
+ for (let n = 0; n < e.length; n++)
202
+ e[n] && (r = ie(e[n])) && (t && (t += " "), t += r);
203
+ return t;
204
+ };
205
+ function Ie(e, ...r) {
206
+ let t, n, l, o = a;
207
+ function a(u) {
208
+ const g = r.reduce((b, h) => h(b), e());
209
+ return t = Pe(g), n = t.cache.get, l = t.cache.set, o = s, s(u);
210
+ }
211
+ function s(u) {
212
+ const g = n(u);
213
+ if (g)
214
+ return g;
215
+ const b = Ge(u, t);
216
+ return l(u, b), b;
217
+ }
218
+ return function() {
219
+ return o(Re.apply(null, arguments));
220
+ };
221
+ }
222
+ const c = (e) => {
223
+ const r = (t) => t[e] || [];
224
+ return r.isThemeGetter = !0, r;
225
+ }, ce = /^\[(?:([a-z-]+):)?(.+)\]$/i, Te = /^\d+\/\d+$/, je = /* @__PURE__ */ new Set(["px", "full", "screen"]), Le = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ne = /\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$/, We = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Ve = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, _e = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, k = (e) => P(e) || je.has(e) || Te.test(e), E = (e) => M(e, "length", Je), P = (e) => !!e && !Number.isNaN(Number(e)), B = (e) => M(e, "number", P), I = (e) => !!e && Number.isInteger(Number(e)), Ue = (e) => e.endsWith("%") && P(e.slice(0, -1)), i = (e) => ce.test(e), S = (e) => Le.test(e), Oe = /* @__PURE__ */ new Set(["length", "size", "percentage"]), $e = (e) => M(e, Oe, de), Fe = (e) => M(e, "position", de), Be = /* @__PURE__ */ new Set(["image", "url"]), qe = (e) => M(e, Be, Ze), He = (e) => M(e, "", Xe), T = () => !0, M = (e, r, t) => {
226
+ const n = ce.exec(e);
227
+ return n ? n[1] ? typeof r == "string" ? n[1] === r : r.has(n[1]) : t(n[2]) : !1;
228
+ }, Je = (e) => (
229
+ // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
230
+ // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
231
+ // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
232
+ Ne.test(e) && !We.test(e)
233
+ ), de = () => !1, Xe = (e) => Ve.test(e), Ze = (e) => _e.test(e), Ke = () => {
234
+ const e = c("colors"), r = c("spacing"), t = c("blur"), n = c("brightness"), l = c("borderColor"), o = c("borderRadius"), a = c("borderSpacing"), s = c("borderWidth"), u = c("contrast"), g = c("grayscale"), b = c("hueRotate"), h = c("invert"), y = c("gap"), w = c("gradientColorStops"), v = c("gradientColorStopPositions"), f = c("inset"), p = c("margin"), m = c("opacity"), x = c("padding"), G = c("saturate"), z = c("scale"), L = c("sepia"), J = c("skew"), X = c("space"), Z = c("translate"), _ = () => ["auto", "contain", "none"], U = () => ["auto", "hidden", "clip", "visible", "scroll"], O = () => ["auto", i, r], d = () => [i, r], K = () => ["", k, E], N = () => ["auto", P, i], Q = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], W = () => ["solid", "dashed", "dotted", "double", "none"], Y = () => ["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"], R = () => ["", "0", i], D = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], C = () => [P, i];
235
+ return {
236
+ cacheSize: 500,
237
+ separator: ":",
238
+ theme: {
239
+ colors: [T],
240
+ spacing: [k, E],
241
+ blur: ["none", "", S, i],
242
+ brightness: C(),
243
+ borderColor: [e],
244
+ borderRadius: ["none", "", "full", S, i],
245
+ borderSpacing: d(),
246
+ borderWidth: K(),
247
+ contrast: C(),
248
+ grayscale: R(),
249
+ hueRotate: C(),
250
+ invert: R(),
251
+ gap: d(),
252
+ gradientColorStops: [e],
253
+ gradientColorStopPositions: [Ue, E],
254
+ inset: O(),
255
+ margin: O(),
256
+ opacity: C(),
257
+ padding: d(),
258
+ saturate: C(),
259
+ scale: C(),
260
+ sepia: R(),
261
+ skew: C(),
262
+ space: d(),
263
+ translate: d()
264
+ },
265
+ classGroups: {
266
+ // Layout
267
+ /**
268
+ * Aspect Ratio
269
+ * @see https://tailwindcss.com/docs/aspect-ratio
270
+ */
271
+ aspect: [{
272
+ aspect: ["auto", "square", "video", i]
273
+ }],
274
+ /**
275
+ * Container
276
+ * @see https://tailwindcss.com/docs/container
277
+ */
278
+ container: ["container"],
279
+ /**
280
+ * Columns
281
+ * @see https://tailwindcss.com/docs/columns
282
+ */
283
+ columns: [{
284
+ columns: [S]
285
+ }],
286
+ /**
287
+ * Break After
288
+ * @see https://tailwindcss.com/docs/break-after
289
+ */
290
+ "break-after": [{
291
+ "break-after": D()
292
+ }],
293
+ /**
294
+ * Break Before
295
+ * @see https://tailwindcss.com/docs/break-before
296
+ */
297
+ "break-before": [{
298
+ "break-before": D()
299
+ }],
300
+ /**
301
+ * Break Inside
302
+ * @see https://tailwindcss.com/docs/break-inside
303
+ */
304
+ "break-inside": [{
305
+ "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
306
+ }],
307
+ /**
308
+ * Box Decoration Break
309
+ * @see https://tailwindcss.com/docs/box-decoration-break
310
+ */
311
+ "box-decoration": [{
312
+ "box-decoration": ["slice", "clone"]
313
+ }],
314
+ /**
315
+ * Box Sizing
316
+ * @see https://tailwindcss.com/docs/box-sizing
317
+ */
318
+ box: [{
319
+ box: ["border", "content"]
320
+ }],
321
+ /**
322
+ * Display
323
+ * @see https://tailwindcss.com/docs/display
324
+ */
325
+ display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
326
+ /**
327
+ * Floats
328
+ * @see https://tailwindcss.com/docs/float
329
+ */
330
+ float: [{
331
+ float: ["right", "left", "none", "start", "end"]
332
+ }],
333
+ /**
334
+ * Clear
335
+ * @see https://tailwindcss.com/docs/clear
336
+ */
337
+ clear: [{
338
+ clear: ["left", "right", "both", "none", "start", "end"]
339
+ }],
340
+ /**
341
+ * Isolation
342
+ * @see https://tailwindcss.com/docs/isolation
343
+ */
344
+ isolation: ["isolate", "isolation-auto"],
345
+ /**
346
+ * Object Fit
347
+ * @see https://tailwindcss.com/docs/object-fit
348
+ */
349
+ "object-fit": [{
350
+ object: ["contain", "cover", "fill", "none", "scale-down"]
351
+ }],
352
+ /**
353
+ * Object Position
354
+ * @see https://tailwindcss.com/docs/object-position
355
+ */
356
+ "object-position": [{
357
+ object: [...Q(), i]
358
+ }],
359
+ /**
360
+ * Overflow
361
+ * @see https://tailwindcss.com/docs/overflow
362
+ */
363
+ overflow: [{
364
+ overflow: U()
365
+ }],
366
+ /**
367
+ * Overflow X
368
+ * @see https://tailwindcss.com/docs/overflow
369
+ */
370
+ "overflow-x": [{
371
+ "overflow-x": U()
372
+ }],
373
+ /**
374
+ * Overflow Y
375
+ * @see https://tailwindcss.com/docs/overflow
376
+ */
377
+ "overflow-y": [{
378
+ "overflow-y": U()
379
+ }],
380
+ /**
381
+ * Overscroll Behavior
382
+ * @see https://tailwindcss.com/docs/overscroll-behavior
383
+ */
384
+ overscroll: [{
385
+ overscroll: _()
386
+ }],
387
+ /**
388
+ * Overscroll Behavior X
389
+ * @see https://tailwindcss.com/docs/overscroll-behavior
390
+ */
391
+ "overscroll-x": [{
392
+ "overscroll-x": _()
393
+ }],
394
+ /**
395
+ * Overscroll Behavior Y
396
+ * @see https://tailwindcss.com/docs/overscroll-behavior
397
+ */
398
+ "overscroll-y": [{
399
+ "overscroll-y": _()
400
+ }],
401
+ /**
402
+ * Position
403
+ * @see https://tailwindcss.com/docs/position
404
+ */
405
+ position: ["static", "fixed", "absolute", "relative", "sticky"],
406
+ /**
407
+ * Top / Right / Bottom / Left
408
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
409
+ */
410
+ inset: [{
411
+ inset: [f]
412
+ }],
413
+ /**
414
+ * Right / Left
415
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
416
+ */
417
+ "inset-x": [{
418
+ "inset-x": [f]
419
+ }],
420
+ /**
421
+ * Top / Bottom
422
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
423
+ */
424
+ "inset-y": [{
425
+ "inset-y": [f]
426
+ }],
427
+ /**
428
+ * Start
429
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
430
+ */
431
+ start: [{
432
+ start: [f]
433
+ }],
434
+ /**
435
+ * End
436
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
437
+ */
438
+ end: [{
439
+ end: [f]
440
+ }],
441
+ /**
442
+ * Top
443
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
444
+ */
445
+ top: [{
446
+ top: [f]
447
+ }],
448
+ /**
449
+ * Right
450
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
451
+ */
452
+ right: [{
453
+ right: [f]
454
+ }],
455
+ /**
456
+ * Bottom
457
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
458
+ */
459
+ bottom: [{
460
+ bottom: [f]
461
+ }],
462
+ /**
463
+ * Left
464
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
465
+ */
466
+ left: [{
467
+ left: [f]
468
+ }],
469
+ /**
470
+ * Visibility
471
+ * @see https://tailwindcss.com/docs/visibility
472
+ */
473
+ visibility: ["visible", "invisible", "collapse"],
474
+ /**
475
+ * Z-Index
476
+ * @see https://tailwindcss.com/docs/z-index
477
+ */
478
+ z: [{
479
+ z: ["auto", I, i]
480
+ }],
481
+ // Flexbox and Grid
482
+ /**
483
+ * Flex Basis
484
+ * @see https://tailwindcss.com/docs/flex-basis
485
+ */
486
+ basis: [{
487
+ basis: O()
488
+ }],
489
+ /**
490
+ * Flex Direction
491
+ * @see https://tailwindcss.com/docs/flex-direction
492
+ */
493
+ "flex-direction": [{
494
+ flex: ["row", "row-reverse", "col", "col-reverse"]
495
+ }],
496
+ /**
497
+ * Flex Wrap
498
+ * @see https://tailwindcss.com/docs/flex-wrap
499
+ */
500
+ "flex-wrap": [{
501
+ flex: ["wrap", "wrap-reverse", "nowrap"]
502
+ }],
503
+ /**
504
+ * Flex
505
+ * @see https://tailwindcss.com/docs/flex
506
+ */
507
+ flex: [{
508
+ flex: ["1", "auto", "initial", "none", i]
509
+ }],
510
+ /**
511
+ * Flex Grow
512
+ * @see https://tailwindcss.com/docs/flex-grow
513
+ */
514
+ grow: [{
515
+ grow: R()
516
+ }],
517
+ /**
518
+ * Flex Shrink
519
+ * @see https://tailwindcss.com/docs/flex-shrink
520
+ */
521
+ shrink: [{
522
+ shrink: R()
523
+ }],
524
+ /**
525
+ * Order
526
+ * @see https://tailwindcss.com/docs/order
527
+ */
528
+ order: [{
529
+ order: ["first", "last", "none", I, i]
530
+ }],
531
+ /**
532
+ * Grid Template Columns
533
+ * @see https://tailwindcss.com/docs/grid-template-columns
534
+ */
535
+ "grid-cols": [{
536
+ "grid-cols": [T]
537
+ }],
538
+ /**
539
+ * Grid Column Start / End
540
+ * @see https://tailwindcss.com/docs/grid-column
541
+ */
542
+ "col-start-end": [{
543
+ col: ["auto", {
544
+ span: ["full", I, i]
545
+ }, i]
546
+ }],
547
+ /**
548
+ * Grid Column Start
549
+ * @see https://tailwindcss.com/docs/grid-column
550
+ */
551
+ "col-start": [{
552
+ "col-start": N()
553
+ }],
554
+ /**
555
+ * Grid Column End
556
+ * @see https://tailwindcss.com/docs/grid-column
557
+ */
558
+ "col-end": [{
559
+ "col-end": N()
560
+ }],
561
+ /**
562
+ * Grid Template Rows
563
+ * @see https://tailwindcss.com/docs/grid-template-rows
564
+ */
565
+ "grid-rows": [{
566
+ "grid-rows": [T]
567
+ }],
568
+ /**
569
+ * Grid Row Start / End
570
+ * @see https://tailwindcss.com/docs/grid-row
571
+ */
572
+ "row-start-end": [{
573
+ row: ["auto", {
574
+ span: [I, i]
575
+ }, i]
576
+ }],
577
+ /**
578
+ * Grid Row Start
579
+ * @see https://tailwindcss.com/docs/grid-row
580
+ */
581
+ "row-start": [{
582
+ "row-start": N()
583
+ }],
584
+ /**
585
+ * Grid Row End
586
+ * @see https://tailwindcss.com/docs/grid-row
587
+ */
588
+ "row-end": [{
589
+ "row-end": N()
590
+ }],
591
+ /**
592
+ * Grid Auto Flow
593
+ * @see https://tailwindcss.com/docs/grid-auto-flow
594
+ */
595
+ "grid-flow": [{
596
+ "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
597
+ }],
598
+ /**
599
+ * Grid Auto Columns
600
+ * @see https://tailwindcss.com/docs/grid-auto-columns
601
+ */
602
+ "auto-cols": [{
603
+ "auto-cols": ["auto", "min", "max", "fr", i]
604
+ }],
605
+ /**
606
+ * Grid Auto Rows
607
+ * @see https://tailwindcss.com/docs/grid-auto-rows
608
+ */
609
+ "auto-rows": [{
610
+ "auto-rows": ["auto", "min", "max", "fr", i]
611
+ }],
612
+ /**
613
+ * Gap
614
+ * @see https://tailwindcss.com/docs/gap
615
+ */
616
+ gap: [{
617
+ gap: [y]
618
+ }],
619
+ /**
620
+ * Gap X
621
+ * @see https://tailwindcss.com/docs/gap
622
+ */
623
+ "gap-x": [{
624
+ "gap-x": [y]
625
+ }],
626
+ /**
627
+ * Gap Y
628
+ * @see https://tailwindcss.com/docs/gap
629
+ */
630
+ "gap-y": [{
631
+ "gap-y": [y]
632
+ }],
633
+ /**
634
+ * Justify Content
635
+ * @see https://tailwindcss.com/docs/justify-content
636
+ */
637
+ "justify-content": [{
638
+ justify: ["normal", ...$()]
639
+ }],
640
+ /**
641
+ * Justify Items
642
+ * @see https://tailwindcss.com/docs/justify-items
643
+ */
644
+ "justify-items": [{
645
+ "justify-items": ["start", "end", "center", "stretch"]
646
+ }],
647
+ /**
648
+ * Justify Self
649
+ * @see https://tailwindcss.com/docs/justify-self
650
+ */
651
+ "justify-self": [{
652
+ "justify-self": ["auto", "start", "end", "center", "stretch"]
653
+ }],
654
+ /**
655
+ * Align Content
656
+ * @see https://tailwindcss.com/docs/align-content
657
+ */
658
+ "align-content": [{
659
+ content: ["normal", ...$(), "baseline"]
660
+ }],
661
+ /**
662
+ * Align Items
663
+ * @see https://tailwindcss.com/docs/align-items
664
+ */
665
+ "align-items": [{
666
+ items: ["start", "end", "center", "baseline", "stretch"]
667
+ }],
668
+ /**
669
+ * Align Self
670
+ * @see https://tailwindcss.com/docs/align-self
671
+ */
672
+ "align-self": [{
673
+ self: ["auto", "start", "end", "center", "stretch", "baseline"]
674
+ }],
675
+ /**
676
+ * Place Content
677
+ * @see https://tailwindcss.com/docs/place-content
678
+ */
679
+ "place-content": [{
680
+ "place-content": [...$(), "baseline"]
681
+ }],
682
+ /**
683
+ * Place Items
684
+ * @see https://tailwindcss.com/docs/place-items
685
+ */
686
+ "place-items": [{
687
+ "place-items": ["start", "end", "center", "baseline", "stretch"]
688
+ }],
689
+ /**
690
+ * Place Self
691
+ * @see https://tailwindcss.com/docs/place-self
692
+ */
693
+ "place-self": [{
694
+ "place-self": ["auto", "start", "end", "center", "stretch"]
695
+ }],
696
+ // Spacing
697
+ /**
698
+ * Padding
699
+ * @see https://tailwindcss.com/docs/padding
700
+ */
701
+ p: [{
702
+ p: [x]
703
+ }],
704
+ /**
705
+ * Padding X
706
+ * @see https://tailwindcss.com/docs/padding
707
+ */
708
+ px: [{
709
+ px: [x]
710
+ }],
711
+ /**
712
+ * Padding Y
713
+ * @see https://tailwindcss.com/docs/padding
714
+ */
715
+ py: [{
716
+ py: [x]
717
+ }],
718
+ /**
719
+ * Padding Start
720
+ * @see https://tailwindcss.com/docs/padding
721
+ */
722
+ ps: [{
723
+ ps: [x]
724
+ }],
725
+ /**
726
+ * Padding End
727
+ * @see https://tailwindcss.com/docs/padding
728
+ */
729
+ pe: [{
730
+ pe: [x]
731
+ }],
732
+ /**
733
+ * Padding Top
734
+ * @see https://tailwindcss.com/docs/padding
735
+ */
736
+ pt: [{
737
+ pt: [x]
738
+ }],
739
+ /**
740
+ * Padding Right
741
+ * @see https://tailwindcss.com/docs/padding
742
+ */
743
+ pr: [{
744
+ pr: [x]
745
+ }],
746
+ /**
747
+ * Padding Bottom
748
+ * @see https://tailwindcss.com/docs/padding
749
+ */
750
+ pb: [{
751
+ pb: [x]
752
+ }],
753
+ /**
754
+ * Padding Left
755
+ * @see https://tailwindcss.com/docs/padding
756
+ */
757
+ pl: [{
758
+ pl: [x]
759
+ }],
760
+ /**
761
+ * Margin
762
+ * @see https://tailwindcss.com/docs/margin
763
+ */
764
+ m: [{
765
+ m: [p]
766
+ }],
767
+ /**
768
+ * Margin X
769
+ * @see https://tailwindcss.com/docs/margin
770
+ */
771
+ mx: [{
772
+ mx: [p]
773
+ }],
774
+ /**
775
+ * Margin Y
776
+ * @see https://tailwindcss.com/docs/margin
777
+ */
778
+ my: [{
779
+ my: [p]
780
+ }],
781
+ /**
782
+ * Margin Start
783
+ * @see https://tailwindcss.com/docs/margin
784
+ */
785
+ ms: [{
786
+ ms: [p]
787
+ }],
788
+ /**
789
+ * Margin End
790
+ * @see https://tailwindcss.com/docs/margin
791
+ */
792
+ me: [{
793
+ me: [p]
794
+ }],
795
+ /**
796
+ * Margin Top
797
+ * @see https://tailwindcss.com/docs/margin
798
+ */
799
+ mt: [{
800
+ mt: [p]
801
+ }],
802
+ /**
803
+ * Margin Right
804
+ * @see https://tailwindcss.com/docs/margin
805
+ */
806
+ mr: [{
807
+ mr: [p]
808
+ }],
809
+ /**
810
+ * Margin Bottom
811
+ * @see https://tailwindcss.com/docs/margin
812
+ */
813
+ mb: [{
814
+ mb: [p]
815
+ }],
816
+ /**
817
+ * Margin Left
818
+ * @see https://tailwindcss.com/docs/margin
819
+ */
820
+ ml: [{
821
+ ml: [p]
822
+ }],
823
+ /**
824
+ * Space Between X
825
+ * @see https://tailwindcss.com/docs/space
826
+ */
827
+ "space-x": [{
828
+ "space-x": [X]
829
+ }],
830
+ /**
831
+ * Space Between X Reverse
832
+ * @see https://tailwindcss.com/docs/space
833
+ */
834
+ "space-x-reverse": ["space-x-reverse"],
835
+ /**
836
+ * Space Between Y
837
+ * @see https://tailwindcss.com/docs/space
838
+ */
839
+ "space-y": [{
840
+ "space-y": [X]
841
+ }],
842
+ /**
843
+ * Space Between Y Reverse
844
+ * @see https://tailwindcss.com/docs/space
845
+ */
846
+ "space-y-reverse": ["space-y-reverse"],
847
+ // Sizing
848
+ /**
849
+ * Width
850
+ * @see https://tailwindcss.com/docs/width
851
+ */
852
+ w: [{
853
+ w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", i, r]
854
+ }],
855
+ /**
856
+ * Min-Width
857
+ * @see https://tailwindcss.com/docs/min-width
858
+ */
859
+ "min-w": [{
860
+ "min-w": [i, r, "min", "max", "fit"]
861
+ }],
862
+ /**
863
+ * Max-Width
864
+ * @see https://tailwindcss.com/docs/max-width
865
+ */
866
+ "max-w": [{
867
+ "max-w": [i, r, "none", "full", "min", "max", "fit", "prose", {
868
+ screen: [S]
869
+ }, S]
870
+ }],
871
+ /**
872
+ * Height
873
+ * @see https://tailwindcss.com/docs/height
874
+ */
875
+ h: [{
876
+ h: [i, r, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
877
+ }],
878
+ /**
879
+ * Min-Height
880
+ * @see https://tailwindcss.com/docs/min-height
881
+ */
882
+ "min-h": [{
883
+ "min-h": [i, r, "min", "max", "fit", "svh", "lvh", "dvh"]
884
+ }],
885
+ /**
886
+ * Max-Height
887
+ * @see https://tailwindcss.com/docs/max-height
888
+ */
889
+ "max-h": [{
890
+ "max-h": [i, r, "min", "max", "fit", "svh", "lvh", "dvh"]
891
+ }],
892
+ /**
893
+ * Size
894
+ * @see https://tailwindcss.com/docs/size
895
+ */
896
+ size: [{
897
+ size: [i, r, "auto", "min", "max", "fit"]
898
+ }],
899
+ // Typography
900
+ /**
901
+ * Font Size
902
+ * @see https://tailwindcss.com/docs/font-size
903
+ */
904
+ "font-size": [{
905
+ text: ["base", S, E]
906
+ }],
907
+ /**
908
+ * Font Smoothing
909
+ * @see https://tailwindcss.com/docs/font-smoothing
910
+ */
911
+ "font-smoothing": ["antialiased", "subpixel-antialiased"],
912
+ /**
913
+ * Font Style
914
+ * @see https://tailwindcss.com/docs/font-style
915
+ */
916
+ "font-style": ["italic", "not-italic"],
917
+ /**
918
+ * Font Weight
919
+ * @see https://tailwindcss.com/docs/font-weight
920
+ */
921
+ "font-weight": [{
922
+ font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", B]
923
+ }],
924
+ /**
925
+ * Font Family
926
+ * @see https://tailwindcss.com/docs/font-family
927
+ */
928
+ "font-family": [{
929
+ font: [T]
930
+ }],
931
+ /**
932
+ * Font Variant Numeric
933
+ * @see https://tailwindcss.com/docs/font-variant-numeric
934
+ */
935
+ "fvn-normal": ["normal-nums"],
936
+ /**
937
+ * Font Variant Numeric
938
+ * @see https://tailwindcss.com/docs/font-variant-numeric
939
+ */
940
+ "fvn-ordinal": ["ordinal"],
941
+ /**
942
+ * Font Variant Numeric
943
+ * @see https://tailwindcss.com/docs/font-variant-numeric
944
+ */
945
+ "fvn-slashed-zero": ["slashed-zero"],
946
+ /**
947
+ * Font Variant Numeric
948
+ * @see https://tailwindcss.com/docs/font-variant-numeric
949
+ */
950
+ "fvn-figure": ["lining-nums", "oldstyle-nums"],
951
+ /**
952
+ * Font Variant Numeric
953
+ * @see https://tailwindcss.com/docs/font-variant-numeric
954
+ */
955
+ "fvn-spacing": ["proportional-nums", "tabular-nums"],
956
+ /**
957
+ * Font Variant Numeric
958
+ * @see https://tailwindcss.com/docs/font-variant-numeric
959
+ */
960
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
961
+ /**
962
+ * Letter Spacing
963
+ * @see https://tailwindcss.com/docs/letter-spacing
964
+ */
965
+ tracking: [{
966
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", i]
967
+ }],
968
+ /**
969
+ * Line Clamp
970
+ * @see https://tailwindcss.com/docs/line-clamp
971
+ */
972
+ "line-clamp": [{
973
+ "line-clamp": ["none", P, B]
974
+ }],
975
+ /**
976
+ * Line Height
977
+ * @see https://tailwindcss.com/docs/line-height
978
+ */
979
+ leading: [{
980
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", k, i]
981
+ }],
982
+ /**
983
+ * List Style Image
984
+ * @see https://tailwindcss.com/docs/list-style-image
985
+ */
986
+ "list-image": [{
987
+ "list-image": ["none", i]
988
+ }],
989
+ /**
990
+ * List Style Type
991
+ * @see https://tailwindcss.com/docs/list-style-type
992
+ */
993
+ "list-style-type": [{
994
+ list: ["none", "disc", "decimal", i]
995
+ }],
996
+ /**
997
+ * List Style Position
998
+ * @see https://tailwindcss.com/docs/list-style-position
999
+ */
1000
+ "list-style-position": [{
1001
+ list: ["inside", "outside"]
1002
+ }],
1003
+ /**
1004
+ * Placeholder Color
1005
+ * @deprecated since Tailwind CSS v3.0.0
1006
+ * @see https://tailwindcss.com/docs/placeholder-color
1007
+ */
1008
+ "placeholder-color": [{
1009
+ placeholder: [e]
1010
+ }],
1011
+ /**
1012
+ * Placeholder Opacity
1013
+ * @see https://tailwindcss.com/docs/placeholder-opacity
1014
+ */
1015
+ "placeholder-opacity": [{
1016
+ "placeholder-opacity": [m]
1017
+ }],
1018
+ /**
1019
+ * Text Alignment
1020
+ * @see https://tailwindcss.com/docs/text-align
1021
+ */
1022
+ "text-alignment": [{
1023
+ text: ["left", "center", "right", "justify", "start", "end"]
1024
+ }],
1025
+ /**
1026
+ * Text Color
1027
+ * @see https://tailwindcss.com/docs/text-color
1028
+ */
1029
+ "text-color": [{
1030
+ text: [e]
1031
+ }],
1032
+ /**
1033
+ * Text Opacity
1034
+ * @see https://tailwindcss.com/docs/text-opacity
1035
+ */
1036
+ "text-opacity": [{
1037
+ "text-opacity": [m]
1038
+ }],
1039
+ /**
1040
+ * Text Decoration
1041
+ * @see https://tailwindcss.com/docs/text-decoration
1042
+ */
1043
+ "text-decoration": ["underline", "overline", "line-through", "no-underline"],
1044
+ /**
1045
+ * Text Decoration Style
1046
+ * @see https://tailwindcss.com/docs/text-decoration-style
1047
+ */
1048
+ "text-decoration-style": [{
1049
+ decoration: [...W(), "wavy"]
1050
+ }],
1051
+ /**
1052
+ * Text Decoration Thickness
1053
+ * @see https://tailwindcss.com/docs/text-decoration-thickness
1054
+ */
1055
+ "text-decoration-thickness": [{
1056
+ decoration: ["auto", "from-font", k, E]
1057
+ }],
1058
+ /**
1059
+ * Text Underline Offset
1060
+ * @see https://tailwindcss.com/docs/text-underline-offset
1061
+ */
1062
+ "underline-offset": [{
1063
+ "underline-offset": ["auto", k, i]
1064
+ }],
1065
+ /**
1066
+ * Text Decoration Color
1067
+ * @see https://tailwindcss.com/docs/text-decoration-color
1068
+ */
1069
+ "text-decoration-color": [{
1070
+ decoration: [e]
1071
+ }],
1072
+ /**
1073
+ * Text Transform
1074
+ * @see https://tailwindcss.com/docs/text-transform
1075
+ */
1076
+ "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
1077
+ /**
1078
+ * Text Overflow
1079
+ * @see https://tailwindcss.com/docs/text-overflow
1080
+ */
1081
+ "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
1082
+ /**
1083
+ * Text Wrap
1084
+ * @see https://tailwindcss.com/docs/text-wrap
1085
+ */
1086
+ "text-wrap": [{
1087
+ text: ["wrap", "nowrap", "balance", "pretty"]
1088
+ }],
1089
+ /**
1090
+ * Text Indent
1091
+ * @see https://tailwindcss.com/docs/text-indent
1092
+ */
1093
+ indent: [{
1094
+ indent: d()
1095
+ }],
1096
+ /**
1097
+ * Vertical Alignment
1098
+ * @see https://tailwindcss.com/docs/vertical-align
1099
+ */
1100
+ "vertical-align": [{
1101
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", i]
1102
+ }],
1103
+ /**
1104
+ * Whitespace
1105
+ * @see https://tailwindcss.com/docs/whitespace
1106
+ */
1107
+ whitespace: [{
1108
+ whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
1109
+ }],
1110
+ /**
1111
+ * Word Break
1112
+ * @see https://tailwindcss.com/docs/word-break
1113
+ */
1114
+ break: [{
1115
+ break: ["normal", "words", "all", "keep"]
1116
+ }],
1117
+ /**
1118
+ * Hyphens
1119
+ * @see https://tailwindcss.com/docs/hyphens
1120
+ */
1121
+ hyphens: [{
1122
+ hyphens: ["none", "manual", "auto"]
1123
+ }],
1124
+ /**
1125
+ * Content
1126
+ * @see https://tailwindcss.com/docs/content
1127
+ */
1128
+ content: [{
1129
+ content: ["none", i]
1130
+ }],
1131
+ // Backgrounds
1132
+ /**
1133
+ * Background Attachment
1134
+ * @see https://tailwindcss.com/docs/background-attachment
1135
+ */
1136
+ "bg-attachment": [{
1137
+ bg: ["fixed", "local", "scroll"]
1138
+ }],
1139
+ /**
1140
+ * Background Clip
1141
+ * @see https://tailwindcss.com/docs/background-clip
1142
+ */
1143
+ "bg-clip": [{
1144
+ "bg-clip": ["border", "padding", "content", "text"]
1145
+ }],
1146
+ /**
1147
+ * Background Opacity
1148
+ * @deprecated since Tailwind CSS v3.0.0
1149
+ * @see https://tailwindcss.com/docs/background-opacity
1150
+ */
1151
+ "bg-opacity": [{
1152
+ "bg-opacity": [m]
1153
+ }],
1154
+ /**
1155
+ * Background Origin
1156
+ * @see https://tailwindcss.com/docs/background-origin
1157
+ */
1158
+ "bg-origin": [{
1159
+ "bg-origin": ["border", "padding", "content"]
1160
+ }],
1161
+ /**
1162
+ * Background Position
1163
+ * @see https://tailwindcss.com/docs/background-position
1164
+ */
1165
+ "bg-position": [{
1166
+ bg: [...Q(), Fe]
1167
+ }],
1168
+ /**
1169
+ * Background Repeat
1170
+ * @see https://tailwindcss.com/docs/background-repeat
1171
+ */
1172
+ "bg-repeat": [{
1173
+ bg: ["no-repeat", {
1174
+ repeat: ["", "x", "y", "round", "space"]
1175
+ }]
1176
+ }],
1177
+ /**
1178
+ * Background Size
1179
+ * @see https://tailwindcss.com/docs/background-size
1180
+ */
1181
+ "bg-size": [{
1182
+ bg: ["auto", "cover", "contain", $e]
1183
+ }],
1184
+ /**
1185
+ * Background Image
1186
+ * @see https://tailwindcss.com/docs/background-image
1187
+ */
1188
+ "bg-image": [{
1189
+ bg: ["none", {
1190
+ "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1191
+ }, qe]
1192
+ }],
1193
+ /**
1194
+ * Background Color
1195
+ * @see https://tailwindcss.com/docs/background-color
1196
+ */
1197
+ "bg-color": [{
1198
+ bg: [e]
1199
+ }],
1200
+ /**
1201
+ * Gradient Color Stops From Position
1202
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1203
+ */
1204
+ "gradient-from-pos": [{
1205
+ from: [v]
1206
+ }],
1207
+ /**
1208
+ * Gradient Color Stops Via Position
1209
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1210
+ */
1211
+ "gradient-via-pos": [{
1212
+ via: [v]
1213
+ }],
1214
+ /**
1215
+ * Gradient Color Stops To Position
1216
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1217
+ */
1218
+ "gradient-to-pos": [{
1219
+ to: [v]
1220
+ }],
1221
+ /**
1222
+ * Gradient Color Stops From
1223
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1224
+ */
1225
+ "gradient-from": [{
1226
+ from: [w]
1227
+ }],
1228
+ /**
1229
+ * Gradient Color Stops Via
1230
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1231
+ */
1232
+ "gradient-via": [{
1233
+ via: [w]
1234
+ }],
1235
+ /**
1236
+ * Gradient Color Stops To
1237
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1238
+ */
1239
+ "gradient-to": [{
1240
+ to: [w]
1241
+ }],
1242
+ // Borders
1243
+ /**
1244
+ * Border Radius
1245
+ * @see https://tailwindcss.com/docs/border-radius
1246
+ */
1247
+ rounded: [{
1248
+ rounded: [o]
1249
+ }],
1250
+ /**
1251
+ * Border Radius Start
1252
+ * @see https://tailwindcss.com/docs/border-radius
1253
+ */
1254
+ "rounded-s": [{
1255
+ "rounded-s": [o]
1256
+ }],
1257
+ /**
1258
+ * Border Radius End
1259
+ * @see https://tailwindcss.com/docs/border-radius
1260
+ */
1261
+ "rounded-e": [{
1262
+ "rounded-e": [o]
1263
+ }],
1264
+ /**
1265
+ * Border Radius Top
1266
+ * @see https://tailwindcss.com/docs/border-radius
1267
+ */
1268
+ "rounded-t": [{
1269
+ "rounded-t": [o]
1270
+ }],
1271
+ /**
1272
+ * Border Radius Right
1273
+ * @see https://tailwindcss.com/docs/border-radius
1274
+ */
1275
+ "rounded-r": [{
1276
+ "rounded-r": [o]
1277
+ }],
1278
+ /**
1279
+ * Border Radius Bottom
1280
+ * @see https://tailwindcss.com/docs/border-radius
1281
+ */
1282
+ "rounded-b": [{
1283
+ "rounded-b": [o]
1284
+ }],
1285
+ /**
1286
+ * Border Radius Left
1287
+ * @see https://tailwindcss.com/docs/border-radius
1288
+ */
1289
+ "rounded-l": [{
1290
+ "rounded-l": [o]
1291
+ }],
1292
+ /**
1293
+ * Border Radius Start Start
1294
+ * @see https://tailwindcss.com/docs/border-radius
1295
+ */
1296
+ "rounded-ss": [{
1297
+ "rounded-ss": [o]
1298
+ }],
1299
+ /**
1300
+ * Border Radius Start End
1301
+ * @see https://tailwindcss.com/docs/border-radius
1302
+ */
1303
+ "rounded-se": [{
1304
+ "rounded-se": [o]
1305
+ }],
1306
+ /**
1307
+ * Border Radius End End
1308
+ * @see https://tailwindcss.com/docs/border-radius
1309
+ */
1310
+ "rounded-ee": [{
1311
+ "rounded-ee": [o]
1312
+ }],
1313
+ /**
1314
+ * Border Radius End Start
1315
+ * @see https://tailwindcss.com/docs/border-radius
1316
+ */
1317
+ "rounded-es": [{
1318
+ "rounded-es": [o]
1319
+ }],
1320
+ /**
1321
+ * Border Radius Top Left
1322
+ * @see https://tailwindcss.com/docs/border-radius
1323
+ */
1324
+ "rounded-tl": [{
1325
+ "rounded-tl": [o]
1326
+ }],
1327
+ /**
1328
+ * Border Radius Top Right
1329
+ * @see https://tailwindcss.com/docs/border-radius
1330
+ */
1331
+ "rounded-tr": [{
1332
+ "rounded-tr": [o]
1333
+ }],
1334
+ /**
1335
+ * Border Radius Bottom Right
1336
+ * @see https://tailwindcss.com/docs/border-radius
1337
+ */
1338
+ "rounded-br": [{
1339
+ "rounded-br": [o]
1340
+ }],
1341
+ /**
1342
+ * Border Radius Bottom Left
1343
+ * @see https://tailwindcss.com/docs/border-radius
1344
+ */
1345
+ "rounded-bl": [{
1346
+ "rounded-bl": [o]
1347
+ }],
1348
+ /**
1349
+ * Border Width
1350
+ * @see https://tailwindcss.com/docs/border-width
1351
+ */
1352
+ "border-w": [{
1353
+ border: [s]
1354
+ }],
1355
+ /**
1356
+ * Border Width X
1357
+ * @see https://tailwindcss.com/docs/border-width
1358
+ */
1359
+ "border-w-x": [{
1360
+ "border-x": [s]
1361
+ }],
1362
+ /**
1363
+ * Border Width Y
1364
+ * @see https://tailwindcss.com/docs/border-width
1365
+ */
1366
+ "border-w-y": [{
1367
+ "border-y": [s]
1368
+ }],
1369
+ /**
1370
+ * Border Width Start
1371
+ * @see https://tailwindcss.com/docs/border-width
1372
+ */
1373
+ "border-w-s": [{
1374
+ "border-s": [s]
1375
+ }],
1376
+ /**
1377
+ * Border Width End
1378
+ * @see https://tailwindcss.com/docs/border-width
1379
+ */
1380
+ "border-w-e": [{
1381
+ "border-e": [s]
1382
+ }],
1383
+ /**
1384
+ * Border Width Top
1385
+ * @see https://tailwindcss.com/docs/border-width
1386
+ */
1387
+ "border-w-t": [{
1388
+ "border-t": [s]
1389
+ }],
1390
+ /**
1391
+ * Border Width Right
1392
+ * @see https://tailwindcss.com/docs/border-width
1393
+ */
1394
+ "border-w-r": [{
1395
+ "border-r": [s]
1396
+ }],
1397
+ /**
1398
+ * Border Width Bottom
1399
+ * @see https://tailwindcss.com/docs/border-width
1400
+ */
1401
+ "border-w-b": [{
1402
+ "border-b": [s]
1403
+ }],
1404
+ /**
1405
+ * Border Width Left
1406
+ * @see https://tailwindcss.com/docs/border-width
1407
+ */
1408
+ "border-w-l": [{
1409
+ "border-l": [s]
1410
+ }],
1411
+ /**
1412
+ * Border Opacity
1413
+ * @see https://tailwindcss.com/docs/border-opacity
1414
+ */
1415
+ "border-opacity": [{
1416
+ "border-opacity": [m]
1417
+ }],
1418
+ /**
1419
+ * Border Style
1420
+ * @see https://tailwindcss.com/docs/border-style
1421
+ */
1422
+ "border-style": [{
1423
+ border: [...W(), "hidden"]
1424
+ }],
1425
+ /**
1426
+ * Divide Width X
1427
+ * @see https://tailwindcss.com/docs/divide-width
1428
+ */
1429
+ "divide-x": [{
1430
+ "divide-x": [s]
1431
+ }],
1432
+ /**
1433
+ * Divide Width X Reverse
1434
+ * @see https://tailwindcss.com/docs/divide-width
1435
+ */
1436
+ "divide-x-reverse": ["divide-x-reverse"],
1437
+ /**
1438
+ * Divide Width Y
1439
+ * @see https://tailwindcss.com/docs/divide-width
1440
+ */
1441
+ "divide-y": [{
1442
+ "divide-y": [s]
1443
+ }],
1444
+ /**
1445
+ * Divide Width Y Reverse
1446
+ * @see https://tailwindcss.com/docs/divide-width
1447
+ */
1448
+ "divide-y-reverse": ["divide-y-reverse"],
1449
+ /**
1450
+ * Divide Opacity
1451
+ * @see https://tailwindcss.com/docs/divide-opacity
1452
+ */
1453
+ "divide-opacity": [{
1454
+ "divide-opacity": [m]
1455
+ }],
1456
+ /**
1457
+ * Divide Style
1458
+ * @see https://tailwindcss.com/docs/divide-style
1459
+ */
1460
+ "divide-style": [{
1461
+ divide: W()
1462
+ }],
1463
+ /**
1464
+ * Border Color
1465
+ * @see https://tailwindcss.com/docs/border-color
1466
+ */
1467
+ "border-color": [{
1468
+ border: [l]
1469
+ }],
1470
+ /**
1471
+ * Border Color X
1472
+ * @see https://tailwindcss.com/docs/border-color
1473
+ */
1474
+ "border-color-x": [{
1475
+ "border-x": [l]
1476
+ }],
1477
+ /**
1478
+ * Border Color Y
1479
+ * @see https://tailwindcss.com/docs/border-color
1480
+ */
1481
+ "border-color-y": [{
1482
+ "border-y": [l]
1483
+ }],
1484
+ /**
1485
+ * Border Color S
1486
+ * @see https://tailwindcss.com/docs/border-color
1487
+ */
1488
+ "border-color-s": [{
1489
+ "border-s": [l]
1490
+ }],
1491
+ /**
1492
+ * Border Color E
1493
+ * @see https://tailwindcss.com/docs/border-color
1494
+ */
1495
+ "border-color-e": [{
1496
+ "border-e": [l]
1497
+ }],
1498
+ /**
1499
+ * Border Color Top
1500
+ * @see https://tailwindcss.com/docs/border-color
1501
+ */
1502
+ "border-color-t": [{
1503
+ "border-t": [l]
1504
+ }],
1505
+ /**
1506
+ * Border Color Right
1507
+ * @see https://tailwindcss.com/docs/border-color
1508
+ */
1509
+ "border-color-r": [{
1510
+ "border-r": [l]
1511
+ }],
1512
+ /**
1513
+ * Border Color Bottom
1514
+ * @see https://tailwindcss.com/docs/border-color
1515
+ */
1516
+ "border-color-b": [{
1517
+ "border-b": [l]
1518
+ }],
1519
+ /**
1520
+ * Border Color Left
1521
+ * @see https://tailwindcss.com/docs/border-color
1522
+ */
1523
+ "border-color-l": [{
1524
+ "border-l": [l]
1525
+ }],
1526
+ /**
1527
+ * Divide Color
1528
+ * @see https://tailwindcss.com/docs/divide-color
1529
+ */
1530
+ "divide-color": [{
1531
+ divide: [l]
1532
+ }],
1533
+ /**
1534
+ * Outline Style
1535
+ * @see https://tailwindcss.com/docs/outline-style
1536
+ */
1537
+ "outline-style": [{
1538
+ outline: ["", ...W()]
1539
+ }],
1540
+ /**
1541
+ * Outline Offset
1542
+ * @see https://tailwindcss.com/docs/outline-offset
1543
+ */
1544
+ "outline-offset": [{
1545
+ "outline-offset": [k, i]
1546
+ }],
1547
+ /**
1548
+ * Outline Width
1549
+ * @see https://tailwindcss.com/docs/outline-width
1550
+ */
1551
+ "outline-w": [{
1552
+ outline: [k, E]
1553
+ }],
1554
+ /**
1555
+ * Outline Color
1556
+ * @see https://tailwindcss.com/docs/outline-color
1557
+ */
1558
+ "outline-color": [{
1559
+ outline: [e]
1560
+ }],
1561
+ /**
1562
+ * Ring Width
1563
+ * @see https://tailwindcss.com/docs/ring-width
1564
+ */
1565
+ "ring-w": [{
1566
+ ring: K()
1567
+ }],
1568
+ /**
1569
+ * Ring Width Inset
1570
+ * @see https://tailwindcss.com/docs/ring-width
1571
+ */
1572
+ "ring-w-inset": ["ring-inset"],
1573
+ /**
1574
+ * Ring Color
1575
+ * @see https://tailwindcss.com/docs/ring-color
1576
+ */
1577
+ "ring-color": [{
1578
+ ring: [e]
1579
+ }],
1580
+ /**
1581
+ * Ring Opacity
1582
+ * @see https://tailwindcss.com/docs/ring-opacity
1583
+ */
1584
+ "ring-opacity": [{
1585
+ "ring-opacity": [m]
1586
+ }],
1587
+ /**
1588
+ * Ring Offset Width
1589
+ * @see https://tailwindcss.com/docs/ring-offset-width
1590
+ */
1591
+ "ring-offset-w": [{
1592
+ "ring-offset": [k, E]
1593
+ }],
1594
+ /**
1595
+ * Ring Offset Color
1596
+ * @see https://tailwindcss.com/docs/ring-offset-color
1597
+ */
1598
+ "ring-offset-color": [{
1599
+ "ring-offset": [e]
1600
+ }],
1601
+ // Effects
1602
+ /**
1603
+ * Box Shadow
1604
+ * @see https://tailwindcss.com/docs/box-shadow
1605
+ */
1606
+ shadow: [{
1607
+ shadow: ["", "inner", "none", S, He]
1608
+ }],
1609
+ /**
1610
+ * Box Shadow Color
1611
+ * @see https://tailwindcss.com/docs/box-shadow-color
1612
+ */
1613
+ "shadow-color": [{
1614
+ shadow: [T]
1615
+ }],
1616
+ /**
1617
+ * Opacity
1618
+ * @see https://tailwindcss.com/docs/opacity
1619
+ */
1620
+ opacity: [{
1621
+ opacity: [m]
1622
+ }],
1623
+ /**
1624
+ * Mix Blend Mode
1625
+ * @see https://tailwindcss.com/docs/mix-blend-mode
1626
+ */
1627
+ "mix-blend": [{
1628
+ "mix-blend": [...Y(), "plus-lighter", "plus-darker"]
1629
+ }],
1630
+ /**
1631
+ * Background Blend Mode
1632
+ * @see https://tailwindcss.com/docs/background-blend-mode
1633
+ */
1634
+ "bg-blend": [{
1635
+ "bg-blend": Y()
1636
+ }],
1637
+ // Filters
1638
+ /**
1639
+ * Filter
1640
+ * @deprecated since Tailwind CSS v3.0.0
1641
+ * @see https://tailwindcss.com/docs/filter
1642
+ */
1643
+ filter: [{
1644
+ filter: ["", "none"]
1645
+ }],
1646
+ /**
1647
+ * Blur
1648
+ * @see https://tailwindcss.com/docs/blur
1649
+ */
1650
+ blur: [{
1651
+ blur: [t]
1652
+ }],
1653
+ /**
1654
+ * Brightness
1655
+ * @see https://tailwindcss.com/docs/brightness
1656
+ */
1657
+ brightness: [{
1658
+ brightness: [n]
1659
+ }],
1660
+ /**
1661
+ * Contrast
1662
+ * @see https://tailwindcss.com/docs/contrast
1663
+ */
1664
+ contrast: [{
1665
+ contrast: [u]
1666
+ }],
1667
+ /**
1668
+ * Drop Shadow
1669
+ * @see https://tailwindcss.com/docs/drop-shadow
1670
+ */
1671
+ "drop-shadow": [{
1672
+ "drop-shadow": ["", "none", S, i]
1673
+ }],
1674
+ /**
1675
+ * Grayscale
1676
+ * @see https://tailwindcss.com/docs/grayscale
1677
+ */
1678
+ grayscale: [{
1679
+ grayscale: [g]
1680
+ }],
1681
+ /**
1682
+ * Hue Rotate
1683
+ * @see https://tailwindcss.com/docs/hue-rotate
1684
+ */
1685
+ "hue-rotate": [{
1686
+ "hue-rotate": [b]
1687
+ }],
1688
+ /**
1689
+ * Invert
1690
+ * @see https://tailwindcss.com/docs/invert
1691
+ */
1692
+ invert: [{
1693
+ invert: [h]
1694
+ }],
1695
+ /**
1696
+ * Saturate
1697
+ * @see https://tailwindcss.com/docs/saturate
1698
+ */
1699
+ saturate: [{
1700
+ saturate: [G]
1701
+ }],
1702
+ /**
1703
+ * Sepia
1704
+ * @see https://tailwindcss.com/docs/sepia
1705
+ */
1706
+ sepia: [{
1707
+ sepia: [L]
1708
+ }],
1709
+ /**
1710
+ * Backdrop Filter
1711
+ * @deprecated since Tailwind CSS v3.0.0
1712
+ * @see https://tailwindcss.com/docs/backdrop-filter
1713
+ */
1714
+ "backdrop-filter": [{
1715
+ "backdrop-filter": ["", "none"]
1716
+ }],
1717
+ /**
1718
+ * Backdrop Blur
1719
+ * @see https://tailwindcss.com/docs/backdrop-blur
1720
+ */
1721
+ "backdrop-blur": [{
1722
+ "backdrop-blur": [t]
1723
+ }],
1724
+ /**
1725
+ * Backdrop Brightness
1726
+ * @see https://tailwindcss.com/docs/backdrop-brightness
1727
+ */
1728
+ "backdrop-brightness": [{
1729
+ "backdrop-brightness": [n]
1730
+ }],
1731
+ /**
1732
+ * Backdrop Contrast
1733
+ * @see https://tailwindcss.com/docs/backdrop-contrast
1734
+ */
1735
+ "backdrop-contrast": [{
1736
+ "backdrop-contrast": [u]
1737
+ }],
1738
+ /**
1739
+ * Backdrop Grayscale
1740
+ * @see https://tailwindcss.com/docs/backdrop-grayscale
1741
+ */
1742
+ "backdrop-grayscale": [{
1743
+ "backdrop-grayscale": [g]
1744
+ }],
1745
+ /**
1746
+ * Backdrop Hue Rotate
1747
+ * @see https://tailwindcss.com/docs/backdrop-hue-rotate
1748
+ */
1749
+ "backdrop-hue-rotate": [{
1750
+ "backdrop-hue-rotate": [b]
1751
+ }],
1752
+ /**
1753
+ * Backdrop Invert
1754
+ * @see https://tailwindcss.com/docs/backdrop-invert
1755
+ */
1756
+ "backdrop-invert": [{
1757
+ "backdrop-invert": [h]
1758
+ }],
1759
+ /**
1760
+ * Backdrop Opacity
1761
+ * @see https://tailwindcss.com/docs/backdrop-opacity
1762
+ */
1763
+ "backdrop-opacity": [{
1764
+ "backdrop-opacity": [m]
1765
+ }],
1766
+ /**
1767
+ * Backdrop Saturate
1768
+ * @see https://tailwindcss.com/docs/backdrop-saturate
1769
+ */
1770
+ "backdrop-saturate": [{
1771
+ "backdrop-saturate": [G]
1772
+ }],
1773
+ /**
1774
+ * Backdrop Sepia
1775
+ * @see https://tailwindcss.com/docs/backdrop-sepia
1776
+ */
1777
+ "backdrop-sepia": [{
1778
+ "backdrop-sepia": [L]
1779
+ }],
1780
+ // Tables
1781
+ /**
1782
+ * Border Collapse
1783
+ * @see https://tailwindcss.com/docs/border-collapse
1784
+ */
1785
+ "border-collapse": [{
1786
+ border: ["collapse", "separate"]
1787
+ }],
1788
+ /**
1789
+ * Border Spacing
1790
+ * @see https://tailwindcss.com/docs/border-spacing
1791
+ */
1792
+ "border-spacing": [{
1793
+ "border-spacing": [a]
1794
+ }],
1795
+ /**
1796
+ * Border Spacing X
1797
+ * @see https://tailwindcss.com/docs/border-spacing
1798
+ */
1799
+ "border-spacing-x": [{
1800
+ "border-spacing-x": [a]
1801
+ }],
1802
+ /**
1803
+ * Border Spacing Y
1804
+ * @see https://tailwindcss.com/docs/border-spacing
1805
+ */
1806
+ "border-spacing-y": [{
1807
+ "border-spacing-y": [a]
1808
+ }],
1809
+ /**
1810
+ * Table Layout
1811
+ * @see https://tailwindcss.com/docs/table-layout
1812
+ */
1813
+ "table-layout": [{
1814
+ table: ["auto", "fixed"]
1815
+ }],
1816
+ /**
1817
+ * Caption Side
1818
+ * @see https://tailwindcss.com/docs/caption-side
1819
+ */
1820
+ caption: [{
1821
+ caption: ["top", "bottom"]
1822
+ }],
1823
+ // Transitions and Animation
1824
+ /**
1825
+ * Tranisition Property
1826
+ * @see https://tailwindcss.com/docs/transition-property
1827
+ */
1828
+ transition: [{
1829
+ transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", i]
1830
+ }],
1831
+ /**
1832
+ * Transition Duration
1833
+ * @see https://tailwindcss.com/docs/transition-duration
1834
+ */
1835
+ duration: [{
1836
+ duration: C()
1837
+ }],
1838
+ /**
1839
+ * Transition Timing Function
1840
+ * @see https://tailwindcss.com/docs/transition-timing-function
1841
+ */
1842
+ ease: [{
1843
+ ease: ["linear", "in", "out", "in-out", i]
1844
+ }],
1845
+ /**
1846
+ * Transition Delay
1847
+ * @see https://tailwindcss.com/docs/transition-delay
1848
+ */
1849
+ delay: [{
1850
+ delay: C()
1851
+ }],
1852
+ /**
1853
+ * Animation
1854
+ * @see https://tailwindcss.com/docs/animation
1855
+ */
1856
+ animate: [{
1857
+ animate: ["none", "spin", "ping", "pulse", "bounce", i]
1858
+ }],
1859
+ // Transforms
1860
+ /**
1861
+ * Transform
1862
+ * @see https://tailwindcss.com/docs/transform
1863
+ */
1864
+ transform: [{
1865
+ transform: ["", "gpu", "none"]
1866
+ }],
1867
+ /**
1868
+ * Scale
1869
+ * @see https://tailwindcss.com/docs/scale
1870
+ */
1871
+ scale: [{
1872
+ scale: [z]
1873
+ }],
1874
+ /**
1875
+ * Scale X
1876
+ * @see https://tailwindcss.com/docs/scale
1877
+ */
1878
+ "scale-x": [{
1879
+ "scale-x": [z]
1880
+ }],
1881
+ /**
1882
+ * Scale Y
1883
+ * @see https://tailwindcss.com/docs/scale
1884
+ */
1885
+ "scale-y": [{
1886
+ "scale-y": [z]
1887
+ }],
1888
+ /**
1889
+ * Rotate
1890
+ * @see https://tailwindcss.com/docs/rotate
1891
+ */
1892
+ rotate: [{
1893
+ rotate: [I, i]
1894
+ }],
1895
+ /**
1896
+ * Translate X
1897
+ * @see https://tailwindcss.com/docs/translate
1898
+ */
1899
+ "translate-x": [{
1900
+ "translate-x": [Z]
1901
+ }],
1902
+ /**
1903
+ * Translate Y
1904
+ * @see https://tailwindcss.com/docs/translate
1905
+ */
1906
+ "translate-y": [{
1907
+ "translate-y": [Z]
1908
+ }],
1909
+ /**
1910
+ * Skew X
1911
+ * @see https://tailwindcss.com/docs/skew
1912
+ */
1913
+ "skew-x": [{
1914
+ "skew-x": [J]
1915
+ }],
1916
+ /**
1917
+ * Skew Y
1918
+ * @see https://tailwindcss.com/docs/skew
1919
+ */
1920
+ "skew-y": [{
1921
+ "skew-y": [J]
1922
+ }],
1923
+ /**
1924
+ * Transform Origin
1925
+ * @see https://tailwindcss.com/docs/transform-origin
1926
+ */
1927
+ "transform-origin": [{
1928
+ origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", i]
1929
+ }],
1930
+ // Interactivity
1931
+ /**
1932
+ * Accent Color
1933
+ * @see https://tailwindcss.com/docs/accent-color
1934
+ */
1935
+ accent: [{
1936
+ accent: ["auto", e]
1937
+ }],
1938
+ /**
1939
+ * Appearance
1940
+ * @see https://tailwindcss.com/docs/appearance
1941
+ */
1942
+ appearance: [{
1943
+ appearance: ["none", "auto"]
1944
+ }],
1945
+ /**
1946
+ * Cursor
1947
+ * @see https://tailwindcss.com/docs/cursor
1948
+ */
1949
+ cursor: [{
1950
+ 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", i]
1951
+ }],
1952
+ /**
1953
+ * Caret Color
1954
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
1955
+ */
1956
+ "caret-color": [{
1957
+ caret: [e]
1958
+ }],
1959
+ /**
1960
+ * Pointer Events
1961
+ * @see https://tailwindcss.com/docs/pointer-events
1962
+ */
1963
+ "pointer-events": [{
1964
+ "pointer-events": ["none", "auto"]
1965
+ }],
1966
+ /**
1967
+ * Resize
1968
+ * @see https://tailwindcss.com/docs/resize
1969
+ */
1970
+ resize: [{
1971
+ resize: ["none", "y", "x", ""]
1972
+ }],
1973
+ /**
1974
+ * Scroll Behavior
1975
+ * @see https://tailwindcss.com/docs/scroll-behavior
1976
+ */
1977
+ "scroll-behavior": [{
1978
+ scroll: ["auto", "smooth"]
1979
+ }],
1980
+ /**
1981
+ * Scroll Margin
1982
+ * @see https://tailwindcss.com/docs/scroll-margin
1983
+ */
1984
+ "scroll-m": [{
1985
+ "scroll-m": d()
1986
+ }],
1987
+ /**
1988
+ * Scroll Margin X
1989
+ * @see https://tailwindcss.com/docs/scroll-margin
1990
+ */
1991
+ "scroll-mx": [{
1992
+ "scroll-mx": d()
1993
+ }],
1994
+ /**
1995
+ * Scroll Margin Y
1996
+ * @see https://tailwindcss.com/docs/scroll-margin
1997
+ */
1998
+ "scroll-my": [{
1999
+ "scroll-my": d()
2000
+ }],
2001
+ /**
2002
+ * Scroll Margin Start
2003
+ * @see https://tailwindcss.com/docs/scroll-margin
2004
+ */
2005
+ "scroll-ms": [{
2006
+ "scroll-ms": d()
2007
+ }],
2008
+ /**
2009
+ * Scroll Margin End
2010
+ * @see https://tailwindcss.com/docs/scroll-margin
2011
+ */
2012
+ "scroll-me": [{
2013
+ "scroll-me": d()
2014
+ }],
2015
+ /**
2016
+ * Scroll Margin Top
2017
+ * @see https://tailwindcss.com/docs/scroll-margin
2018
+ */
2019
+ "scroll-mt": [{
2020
+ "scroll-mt": d()
2021
+ }],
2022
+ /**
2023
+ * Scroll Margin Right
2024
+ * @see https://tailwindcss.com/docs/scroll-margin
2025
+ */
2026
+ "scroll-mr": [{
2027
+ "scroll-mr": d()
2028
+ }],
2029
+ /**
2030
+ * Scroll Margin Bottom
2031
+ * @see https://tailwindcss.com/docs/scroll-margin
2032
+ */
2033
+ "scroll-mb": [{
2034
+ "scroll-mb": d()
2035
+ }],
2036
+ /**
2037
+ * Scroll Margin Left
2038
+ * @see https://tailwindcss.com/docs/scroll-margin
2039
+ */
2040
+ "scroll-ml": [{
2041
+ "scroll-ml": d()
2042
+ }],
2043
+ /**
2044
+ * Scroll Padding
2045
+ * @see https://tailwindcss.com/docs/scroll-padding
2046
+ */
2047
+ "scroll-p": [{
2048
+ "scroll-p": d()
2049
+ }],
2050
+ /**
2051
+ * Scroll Padding X
2052
+ * @see https://tailwindcss.com/docs/scroll-padding
2053
+ */
2054
+ "scroll-px": [{
2055
+ "scroll-px": d()
2056
+ }],
2057
+ /**
2058
+ * Scroll Padding Y
2059
+ * @see https://tailwindcss.com/docs/scroll-padding
2060
+ */
2061
+ "scroll-py": [{
2062
+ "scroll-py": d()
2063
+ }],
2064
+ /**
2065
+ * Scroll Padding Start
2066
+ * @see https://tailwindcss.com/docs/scroll-padding
2067
+ */
2068
+ "scroll-ps": [{
2069
+ "scroll-ps": d()
2070
+ }],
2071
+ /**
2072
+ * Scroll Padding End
2073
+ * @see https://tailwindcss.com/docs/scroll-padding
2074
+ */
2075
+ "scroll-pe": [{
2076
+ "scroll-pe": d()
2077
+ }],
2078
+ /**
2079
+ * Scroll Padding Top
2080
+ * @see https://tailwindcss.com/docs/scroll-padding
2081
+ */
2082
+ "scroll-pt": [{
2083
+ "scroll-pt": d()
2084
+ }],
2085
+ /**
2086
+ * Scroll Padding Right
2087
+ * @see https://tailwindcss.com/docs/scroll-padding
2088
+ */
2089
+ "scroll-pr": [{
2090
+ "scroll-pr": d()
2091
+ }],
2092
+ /**
2093
+ * Scroll Padding Bottom
2094
+ * @see https://tailwindcss.com/docs/scroll-padding
2095
+ */
2096
+ "scroll-pb": [{
2097
+ "scroll-pb": d()
2098
+ }],
2099
+ /**
2100
+ * Scroll Padding Left
2101
+ * @see https://tailwindcss.com/docs/scroll-padding
2102
+ */
2103
+ "scroll-pl": [{
2104
+ "scroll-pl": d()
2105
+ }],
2106
+ /**
2107
+ * Scroll Snap Align
2108
+ * @see https://tailwindcss.com/docs/scroll-snap-align
2109
+ */
2110
+ "snap-align": [{
2111
+ snap: ["start", "end", "center", "align-none"]
2112
+ }],
2113
+ /**
2114
+ * Scroll Snap Stop
2115
+ * @see https://tailwindcss.com/docs/scroll-snap-stop
2116
+ */
2117
+ "snap-stop": [{
2118
+ snap: ["normal", "always"]
2119
+ }],
2120
+ /**
2121
+ * Scroll Snap Type
2122
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2123
+ */
2124
+ "snap-type": [{
2125
+ snap: ["none", "x", "y", "both"]
2126
+ }],
2127
+ /**
2128
+ * Scroll Snap Type Strictness
2129
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2130
+ */
2131
+ "snap-strictness": [{
2132
+ snap: ["mandatory", "proximity"]
2133
+ }],
2134
+ /**
2135
+ * Touch Action
2136
+ * @see https://tailwindcss.com/docs/touch-action
2137
+ */
2138
+ touch: [{
2139
+ touch: ["auto", "none", "manipulation"]
2140
+ }],
2141
+ /**
2142
+ * Touch Action X
2143
+ * @see https://tailwindcss.com/docs/touch-action
2144
+ */
2145
+ "touch-x": [{
2146
+ "touch-pan": ["x", "left", "right"]
2147
+ }],
2148
+ /**
2149
+ * Touch Action Y
2150
+ * @see https://tailwindcss.com/docs/touch-action
2151
+ */
2152
+ "touch-y": [{
2153
+ "touch-pan": ["y", "up", "down"]
2154
+ }],
2155
+ /**
2156
+ * Touch Action Pinch Zoom
2157
+ * @see https://tailwindcss.com/docs/touch-action
2158
+ */
2159
+ "touch-pz": ["touch-pinch-zoom"],
2160
+ /**
2161
+ * User Select
2162
+ * @see https://tailwindcss.com/docs/user-select
2163
+ */
2164
+ select: [{
2165
+ select: ["none", "text", "all", "auto"]
2166
+ }],
2167
+ /**
2168
+ * Will Change
2169
+ * @see https://tailwindcss.com/docs/will-change
2170
+ */
2171
+ "will-change": [{
2172
+ "will-change": ["auto", "scroll", "contents", "transform", i]
2173
+ }],
2174
+ // SVG
2175
+ /**
2176
+ * Fill
2177
+ * @see https://tailwindcss.com/docs/fill
2178
+ */
2179
+ fill: [{
2180
+ fill: [e, "none"]
2181
+ }],
2182
+ /**
2183
+ * Stroke Width
2184
+ * @see https://tailwindcss.com/docs/stroke-width
2185
+ */
2186
+ "stroke-w": [{
2187
+ stroke: [k, E, B]
2188
+ }],
2189
+ /**
2190
+ * Stroke
2191
+ * @see https://tailwindcss.com/docs/stroke
2192
+ */
2193
+ stroke: [{
2194
+ stroke: [e, "none"]
2195
+ }],
2196
+ // Accessibility
2197
+ /**
2198
+ * Screen Readers
2199
+ * @see https://tailwindcss.com/docs/screen-readers
2200
+ */
2201
+ sr: ["sr-only", "not-sr-only"],
2202
+ /**
2203
+ * Forced Color Adjust
2204
+ * @see https://tailwindcss.com/docs/forced-color-adjust
2205
+ */
2206
+ "forced-color-adjust": [{
2207
+ "forced-color-adjust": ["auto", "none"]
2208
+ }]
2209
+ },
2210
+ conflictingClassGroups: {
2211
+ overflow: ["overflow-x", "overflow-y"],
2212
+ overscroll: ["overscroll-x", "overscroll-y"],
2213
+ inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
2214
+ "inset-x": ["right", "left"],
2215
+ "inset-y": ["top", "bottom"],
2216
+ flex: ["basis", "grow", "shrink"],
2217
+ gap: ["gap-x", "gap-y"],
2218
+ p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
2219
+ px: ["pr", "pl"],
2220
+ py: ["pt", "pb"],
2221
+ m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
2222
+ mx: ["mr", "ml"],
2223
+ my: ["mt", "mb"],
2224
+ size: ["w", "h"],
2225
+ "font-size": ["leading"],
2226
+ "fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
2227
+ "fvn-ordinal": ["fvn-normal"],
2228
+ "fvn-slashed-zero": ["fvn-normal"],
2229
+ "fvn-figure": ["fvn-normal"],
2230
+ "fvn-spacing": ["fvn-normal"],
2231
+ "fvn-fraction": ["fvn-normal"],
2232
+ "line-clamp": ["display", "overflow"],
2233
+ rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l", "rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr", "rounded-br", "rounded-bl"],
2234
+ "rounded-s": ["rounded-ss", "rounded-es"],
2235
+ "rounded-e": ["rounded-se", "rounded-ee"],
2236
+ "rounded-t": ["rounded-tl", "rounded-tr"],
2237
+ "rounded-r": ["rounded-tr", "rounded-br"],
2238
+ "rounded-b": ["rounded-br", "rounded-bl"],
2239
+ "rounded-l": ["rounded-tl", "rounded-bl"],
2240
+ "border-spacing": ["border-spacing-x", "border-spacing-y"],
2241
+ "border-w": ["border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
2242
+ "border-w-x": ["border-w-r", "border-w-l"],
2243
+ "border-w-y": ["border-w-t", "border-w-b"],
2244
+ "border-color": ["border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
2245
+ "border-color-x": ["border-color-r", "border-color-l"],
2246
+ "border-color-y": ["border-color-t", "border-color-b"],
2247
+ "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
2248
+ "scroll-mx": ["scroll-mr", "scroll-ml"],
2249
+ "scroll-my": ["scroll-mt", "scroll-mb"],
2250
+ "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
2251
+ "scroll-px": ["scroll-pr", "scroll-pl"],
2252
+ "scroll-py": ["scroll-pt", "scroll-pb"],
2253
+ touch: ["touch-x", "touch-y", "touch-pz"],
2254
+ "touch-x": ["touch"],
2255
+ "touch-y": ["touch"],
2256
+ "touch-pz": ["touch"]
2257
+ },
2258
+ conflictingClassGroupModifiers: {
2259
+ "font-size": ["leading"]
2260
+ }
2261
+ };
2262
+ }, Qe = /* @__PURE__ */ Ie(Ke);
2263
+ function ir(...e) {
2264
+ return Qe(pe(e));
2265
+ }
2266
+ function j(e) {
2267
+ function r() {
2268
+ const o = ee(e), a = F(() => o.current, []), s = ee(/* @__PURE__ */ new Set()), u = F((b) => {
2269
+ o.current = { ...o.current, ...b }, s.current.forEach((h) => h());
2270
+ }, []), g = F((b) => (s.current.add(b), () => s.current.delete(b)), []);
2271
+ return {
2272
+ get: a,
2273
+ set: u,
2274
+ subscribe: g
2275
+ };
2276
+ }
2277
+ const t = ge(null);
2278
+ function n({ children: o }) {
2279
+ return /* @__PURE__ */ A(t.Provider, { value: r(), children: o });
2280
+ }
2281
+ function l(o) {
2282
+ const a = fe(t);
2283
+ if (!a)
2284
+ throw new Error("Store not found");
2285
+ return [me(
2286
+ a.subscribe,
2287
+ () => o(a.get()),
2288
+ () => o(e)
2289
+ ), a.set];
2290
+ }
2291
+ return {
2292
+ Provider: n,
2293
+ useStore: l
2294
+ };
2295
+ }
2296
+ const { Provider: cr, useStore: Ye } = j({
2297
+ editor: null
2298
+ });
2299
+ function dr() {
2300
+ const [e] = Ye((r) => r.editor);
2301
+ return e;
2302
+ }
2303
+ j({
2304
+ value: !1
2305
+ });
2306
+ j({
2307
+ value: !1
2308
+ });
2309
+ const { Provider: De, useStore: ue } = j({
2310
+ value: !1
2311
+ }), { Provider: er, useStore: rr } = j({
2312
+ value: "light"
2313
+ });
2314
+ function ur() {
2315
+ const [e] = ue((r) => r.value);
2316
+ return e;
2317
+ }
2318
+ const tr = he(({ editor: e, children: r, id: t }) => {
2319
+ const [, n] = ue((s) => s.value), [, l] = rr((s) => s.value);
2320
+ V(() => {
2321
+ n({
2322
+ value: e == null ? void 0 : e.isEditable
2323
+ });
2324
+ }, [e == null ? void 0 : e.isEditable]);
2325
+ const o = () => {
2326
+ n({
2327
+ value: e == null ? void 0 : e.isEditable
2328
+ });
2329
+ };
2330
+ V(() => (e && e.on("update", o), () => {
2331
+ e && e.off("update", o);
2332
+ }), [e]);
2333
+ const a = (s) => {
2334
+ l({
2335
+ value: s.detail
2336
+ });
2337
+ };
2338
+ return V(() => {
2339
+ const s = ne(se.UPDATE_THEME(t), a);
2340
+ return () => {
2341
+ s();
2342
+ };
2343
+ }, []), /* @__PURE__ */ A(oe, { children: r });
2344
+ });
2345
+ function or() {
2346
+ const [e, r] = xe(ye), t = (n) => {
2347
+ r({
2348
+ ...e,
2349
+ currentLang: n.detail
2350
+ });
2351
+ };
2352
+ return V(() => {
2353
+ const n = ne(se.CHANGE_LANGUAGE, t);
2354
+ return () => {
2355
+ n();
2356
+ };
2357
+ }, []), /* @__PURE__ */ A(oe, {});
2358
+ }
2359
+ function pr({ editor: e, children: r, id: t }) {
2360
+ return /* @__PURE__ */ A(De, { children: /* @__PURE__ */ be(er, { children: [
2361
+ /* @__PURE__ */ A(
2362
+ tr,
2363
+ {
2364
+ editor: e,
2365
+ id: t,
2366
+ children: r
2367
+ }
2368
+ ),
2369
+ /* @__PURE__ */ A(or, {})
2370
+ ] }) });
2371
+ }
2372
+ export {
2373
+ cr as P,
2374
+ dr as a,
2375
+ pr as b,
2376
+ ir as c,
2377
+ Ye as d,
2378
+ ur as e,
2379
+ rr as u
2380
+ };