reactjs-tiptap-editor 1.0.11 → 1.0.13

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 (226) hide show
  1. package/lib/ActionMenuButton-DNj0f_A4.cjs +1 -0
  2. package/lib/{ActionMenuButton-DTXFBdGX.js → ActionMenuButton-l5rSmAO_.js} +18 -14
  3. package/lib/Attachment.cjs +2 -2
  4. package/lib/Attachment.js +24 -21
  5. package/lib/Blockquote.cjs +2 -2
  6. package/lib/Blockquote.js +7 -5
  7. package/lib/Bold.cjs +1 -1
  8. package/lib/Bold.js +11 -9
  9. package/lib/BulletList.cjs +1 -1
  10. package/lib/BulletList.js +14 -12
  11. package/lib/Callout.cjs +1 -0
  12. package/lib/Callout.js +230 -0
  13. package/lib/Clear.cjs +1 -1
  14. package/lib/Clear.js +3 -3
  15. package/lib/Code.cjs +1 -1
  16. package/lib/Code.js +11 -9
  17. package/lib/CodeBlock.cjs +39 -39
  18. package/lib/CodeBlock.js +840 -945
  19. package/lib/CodeView.cjs +1 -1
  20. package/lib/CodeView.js +10 -8
  21. package/lib/Color.cjs +1 -1
  22. package/lib/Color.js +20 -18
  23. package/lib/Column.cjs +1 -1
  24. package/lib/Column.js +7 -5
  25. package/lib/{Drawer-D0yQ0wR7.js → Drawer-Cbi_MURj.js} +10 -9
  26. package/lib/Drawer-DKU32YW_.cjs +1 -0
  27. package/lib/Drawer.cjs +1 -1
  28. package/lib/Drawer.js +3 -3
  29. package/lib/Emoji.cjs +1 -1
  30. package/lib/Emoji.js +11 -9
  31. package/lib/{Excalidraw-CO4IRHmG.js → Excalidraw-CWrVL5hs.js} +28 -27
  32. package/lib/Excalidraw-Kb-TRcWY.cjs +1 -0
  33. package/lib/Excalidraw.cjs +1 -1
  34. package/lib/Excalidraw.js +2 -2
  35. package/lib/ExportPdf.cjs +2 -2
  36. package/lib/ExportPdf.js +7 -5
  37. package/lib/ExportWord.cjs +1 -1
  38. package/lib/ExportWord.js +7 -5
  39. package/lib/FontFamily.cjs +1 -1
  40. package/lib/FontFamily.js +9 -8
  41. package/lib/FontSize.cjs +1 -1
  42. package/lib/FontSize.js +13 -12
  43. package/lib/Heading.cjs +1 -1
  44. package/lib/Heading.js +20 -19
  45. package/lib/Highlight.cjs +1 -1
  46. package/lib/Highlight.js +9 -7
  47. package/lib/History.cjs +1 -1
  48. package/lib/History.js +11 -8
  49. package/lib/HorizontalRule.cjs +1 -1
  50. package/lib/HorizontalRule.js +7 -5
  51. package/lib/Icon-Ctva8VeB.js +12 -0
  52. package/lib/Icon-yqCglrdK.cjs +1 -0
  53. package/lib/Iframe-BczF8Hex.cjs +1 -0
  54. package/lib/{Iframe-BEO28NPs.js → Iframe-C942bNjs.js} +42 -40
  55. package/lib/Iframe.cjs +1 -1
  56. package/lib/Iframe.js +2 -2
  57. package/lib/Image.cjs +1 -1
  58. package/lib/Image.js +25 -23
  59. package/lib/ImageGif.cjs +1 -1
  60. package/lib/ImageGif.js +50 -48
  61. package/lib/ImportWord.cjs +31 -31
  62. package/lib/ImportWord.js +8 -6
  63. package/lib/{Indent-CXurBbOr.js → Indent-C_O5WdyR.js} +26 -24
  64. package/lib/Indent-CkEC7x36.cjs +1 -0
  65. package/lib/Indent.cjs +1 -1
  66. package/lib/Indent.js +2 -2
  67. package/lib/Italic.cjs +1 -1
  68. package/lib/Italic.js +12 -10
  69. package/lib/{Katex-Bvj469K1.js → Katex-D3PEWimM.js} +12 -10
  70. package/lib/Katex-DW_HjgNM.cjs +4 -0
  71. package/lib/Katex.cjs +1 -1
  72. package/lib/Katex.js +2 -2
  73. package/lib/LineHeight.cjs +1 -1
  74. package/lib/LineHeight.js +10 -8
  75. package/lib/Link.cjs +1 -1
  76. package/lib/Link.js +2 -2
  77. package/lib/{LinkEditBlock-8ePAZ-G1.cjs → LinkEditBlock-DL1e2ILk.cjs} +1 -1
  78. package/lib/{LinkEditBlock-DjXUEubR.js → LinkEditBlock-h5054QDo.js} +22 -20
  79. package/lib/Mention.cjs +1 -1
  80. package/lib/Mention.js +3 -3
  81. package/lib/Mermaid.cjs +2 -2
  82. package/lib/Mermaid.js +8 -8
  83. package/lib/MoreMark.cjs +1 -1
  84. package/lib/MoreMark.js +25 -22
  85. package/lib/OrderedList.cjs +1 -1
  86. package/lib/OrderedList.js +10 -8
  87. package/lib/SearchAndReplace.cjs +1 -1
  88. package/lib/SearchAndReplace.js +43 -41
  89. package/lib/SlashCommand.cjs +1 -1
  90. package/lib/SlashCommand.js +6 -6
  91. package/lib/SlashCommandNodeView-BqrmHCpu.cjs +1 -0
  92. package/lib/{SlashCommandNodeView-CcqL8ymb.js → SlashCommandNodeView-DXUqkx82.js} +75 -66
  93. package/lib/Strike.cjs +1 -1
  94. package/lib/Strike.js +7 -5
  95. package/lib/{Table-9Y0Cg8Ab.js → Table-DdrY4jcM.js} +10 -8
  96. package/lib/Table-kY0nbqJo.cjs +9 -0
  97. package/lib/Table.cjs +1 -1
  98. package/lib/Table.js +1 -1
  99. package/lib/TaskList.cjs +1 -1
  100. package/lib/TaskList.js +15 -13
  101. package/lib/TextAlign.cjs +1 -1
  102. package/lib/TextAlign.js +20 -17
  103. package/lib/TextDirection.cjs +1 -1
  104. package/lib/TextDirection.js +20 -17
  105. package/lib/TextUnderline.cjs +1 -1
  106. package/lib/TextUnderline.js +7 -5
  107. package/lib/{Twitter-DWwd0vHR.js → Twitter-B-JQ3ZJ1.js} +51 -49
  108. package/lib/Twitter-DjZcVa3l.cjs +1 -0
  109. package/lib/Twitter.cjs +1 -1
  110. package/lib/Twitter.js +2 -2
  111. package/lib/Video.cjs +1 -1
  112. package/lib/Video.js +13 -11
  113. package/lib/bubble.cjs +4 -4
  114. package/lib/bubble.js +2084 -1949
  115. package/lib/button-BS3n6_Aq.cjs +1 -0
  116. package/lib/{button-RnHbJfd-.js → button-Uv01FNnd.js} +9 -8
  117. package/lib/{checkbox-CTEN0q4y.cjs → checkbox-C8ByRi7-.cjs} +1 -1
  118. package/lib/{checkbox-CLSoR1Qj.js → checkbox-DEFNwGwb.js} +1 -1
  119. package/lib/{index-sVScpCFG.js → clsx-BWSGDJNJ.js} +224 -224
  120. package/lib/{index-BBNITgNi.cjs → clsx-CXbNJWDD.cjs} +13 -13
  121. package/lib/components/Bubble/RichTextBubbleCallout.d.ts +1 -0
  122. package/lib/components/Bubble/index.d.ts +1 -0
  123. package/lib/components/ui/index.d.ts +1 -0
  124. package/lib/{dialog-CMC9hsCo.cjs → dialog-Bt5zwGYB.cjs} +1 -1
  125. package/lib/{dialog-D_HCtKvc.js → dialog-DwTMZSt6.js} +1 -1
  126. package/lib/{dropdown-menu-66q7Ofc5.js → dropdown-menu-BetI14G6.js} +1 -1
  127. package/lib/{dropdown-menu-DKSAS-w_.cjs → dropdown-menu-Bo68IEOT.cjs} +1 -1
  128. package/lib/events.constant-Dq21NPdV.cjs +1 -0
  129. package/lib/events.constant-do95b767.js +21 -0
  130. package/lib/extensions/Callout/Callout.d.ts +18 -0
  131. package/lib/extensions/Callout/components/NodeViewCallout/NodeViewCallout.d.ts +1 -0
  132. package/lib/extensions/Callout/components/RichTextCallout.d.ts +1 -0
  133. package/lib/extensions/Callout/index.d.ts +1 -0
  134. package/lib/{index-CApXPpjF.cjs → index-BCzvbrf5.cjs} +1 -1
  135. package/lib/{index-9A6-kVBM.js → index-BDKHXe7R.js} +1 -1
  136. package/lib/{index-DmPwbBqm.js → index-CHKWG6E8.js} +1 -1
  137. package/lib/index-CcoWj0mF.js +426 -0
  138. package/lib/index-CjhjjJsN.cjs +1 -0
  139. package/lib/index-Cs6cp0Y6.cjs +1 -0
  140. package/lib/index-D3RLYf-J.cjs +1 -0
  141. package/lib/{index-C3zg3DPB.js → index-DF5ZPtWM.js} +371 -1177
  142. package/lib/{index-DRHrDScg.js → index-DJbmnBzK.js} +1 -1
  143. package/lib/index-Doks9cbR.cjs +1 -0
  144. package/lib/{index-0OnGZkVF.js → index-Dujzr6bY.js} +179 -317
  145. package/lib/index-VhKd73hZ.cjs +1 -0
  146. package/lib/{index-DKt5wfAc.js → index-mR8PNv5P.js} +1 -1
  147. package/lib/{index--nUS7Y66.cjs → index-neeeY2o7.cjs} +3 -3
  148. package/lib/index.cjs +9 -2
  149. package/lib/index.js +142 -26
  150. package/lib/{input-CvyMYMZG.js → input-DUBdJD3L.js} +5 -5
  151. package/lib/{input-D555880-.cjs → input-Dt_BA_9B.cjs} +1 -1
  152. package/lib/{isNumber-Bv1Qhmw8.cjs → isNumber-BTYSVlKo.cjs} +1 -1
  153. package/lib/{isNumber-DF0fU3ob.js → isNumber-CIgubz2e.js} +1 -1
  154. package/lib/label-JNOksCA-.cjs +1 -0
  155. package/lib/label-topD46-u.js +19 -0
  156. package/lib/locale-bundle.cjs +1 -1
  157. package/lib/locale-bundle.js +6 -7
  158. package/lib/locales/en.d.ts +16 -0
  159. package/lib/locales/fi.d.ts +16 -0
  160. package/lib/locales/hu.d.ts +16 -0
  161. package/lib/locales/index.d.ts +99 -4316
  162. package/lib/locales/pt-br.d.ts +16 -0
  163. package/lib/locales/vi.d.ts +16 -0
  164. package/lib/locales/zh-cn.d.ts +16 -0
  165. package/lib/{popover-B7ec5-u2.js → popover-LfNBhRyz.js} +1 -1
  166. package/lib/{popover-BSzR_R01.cjs → popover-mL-2sX5r.cjs} +1 -1
  167. package/lib/react-BEoMZB61.cjs +1 -0
  168. package/lib/react-c9FSfB30.js +27 -0
  169. package/lib/select-CwGYPsPq.cjs +1 -0
  170. package/lib/select-DctYuHLH.js +117 -0
  171. package/lib/separator-Ddfrhn4D.js +329 -0
  172. package/lib/separator-NoH_SLRW.cjs +1 -0
  173. package/lib/store/EditorEditableReactive.d.ts +1 -0
  174. package/lib/store/ThemeColorReactive.d.ts +1 -0
  175. package/lib/store/commandList.d.ts +1 -1
  176. package/lib/store/store.d.ts +6 -7
  177. package/lib/store-CkjKIgjQ.cjs +1 -0
  178. package/lib/store-DNpS8vXA.js +10 -0
  179. package/lib/style.css +1 -1
  180. package/lib/{tabs-CWr9HYaM.js → tabs-BT3AeqQQ.js} +1 -1
  181. package/lib/{tabs-BTwiZkWd.cjs → tabs-DRSwUeKP.cjs} +1 -1
  182. package/lib/{textarea-Yetl_PZi.cjs → textarea-BDO6XQoF.cjs} +1 -1
  183. package/lib/{textarea-BdeLXbp8.js → textarea-DZzMEDfZ.js} +1 -1
  184. package/lib/theme/theme.d.ts +5 -0
  185. package/lib/theme.cjs +1 -1
  186. package/lib/theme.js +37 -8
  187. package/lib/{throttle-DsowOft0.js → throttle-IERhwcLa.js} +1 -1
  188. package/lib/throttle-gTTvqDTW.cjs +1 -0
  189. package/lib/toggle-BQHMh_Q-.cjs +1 -0
  190. package/lib/toggle-DKHg5sLm.js +99 -0
  191. package/lib/tooltip-BYtGp6FM.cjs +1 -0
  192. package/lib/tooltip-DNKq7zgN.js +24 -0
  193. package/lib/{updatePosition-Bbd8ETMv.js → updatePosition-Bie75EFq.js} +2 -2
  194. package/lib/updatePosition-Cjuj2E26.cjs +1 -0
  195. package/lib/useButtonProps-DBJkNDS2.cjs +1 -0
  196. package/lib/{useButtonProps-cMoicZgd.js → useButtonProps-DVP4s_ER.js} +48 -36
  197. package/lib/utils/customEvents/events.constant.d.ts +0 -5
  198. package/package.json +3 -3
  199. package/lib/ActionMenuButton-BLlse5KO.cjs +0 -1
  200. package/lib/Drawer-kv6BU_6O.cjs +0 -1
  201. package/lib/Excalidraw-B82ThkJA.cjs +0 -1
  202. package/lib/Icon-DRuJhcHK.js +0 -10
  203. package/lib/Icon-DXePECFW.cjs +0 -1
  204. package/lib/Iframe-03dn9wcM.cjs +0 -1
  205. package/lib/Indent-Cqjdn3Jt.cjs +0 -1
  206. package/lib/Katex-DdWTV5NJ.cjs +0 -4
  207. package/lib/SlashCommandNodeView-Bl_gwZJB.cjs +0 -1
  208. package/lib/Table-DBGjezZK.cjs +0 -9
  209. package/lib/Twitter-Cnvt7GBg.cjs +0 -1
  210. package/lib/button-BW5bDPz_.cjs +0 -1
  211. package/lib/events.constant-DQYeJpu5.cjs +0 -1
  212. package/lib/events.constant-wrlJ_7JZ.js +0 -26
  213. package/lib/index-BZ6DfR2r.cjs +0 -1
  214. package/lib/index-C838s-or.cjs +0 -8
  215. package/lib/index-Cv9Z6dyV.cjs +0 -1
  216. package/lib/index-FSRjMsxW.cjs +0 -1
  217. package/lib/label-DsOYPjAo.js +0 -18
  218. package/lib/label-E6jF3Xud.cjs +0 -1
  219. package/lib/separator-JaTTqb3J.js +0 -241
  220. package/lib/separator-PGnA-6Hr.cjs +0 -1
  221. package/lib/store/ProviderUniqueId.d.ts +0 -6
  222. package/lib/store-Cf7tFiiI.js +0 -10
  223. package/lib/store-oDk-lTPM.cjs +0 -1
  224. package/lib/throttle-BM3Bmbf_.cjs +0 -1
  225. package/lib/updatePosition-M2IyqkI1.cjs +0 -1
  226. package/lib/useButtonProps-DfnJiJLV.cjs +0 -1
@@ -1,6 +1,6 @@
1
- import { useSyncExternalStore as w, useCallback as B } from "react";
2
- import { d as _, E as A } from "./events.constant-wrlJ_7JZ.js";
3
- const R = "en", dt = 20, at = 1e5, nt = 16, st = 10, pt = 10, ut = 2, mt = [
1
+ import { useCallback as u } from "react";
2
+ import { c as m } from "./react-c9FSfB30.js";
3
+ const g = "en", F = 20, _ = 1e5, A = 16, L = 10, S = 10, D = 2, E = [
4
4
  "#000000",
5
5
  "#262626",
6
6
  "#595959",
@@ -71,7 +71,7 @@ const R = "en", dt = 20, at = 1e5, nt = 16, st = 10, pt = 10, ut = 2, mt = [
71
71
  "#061178",
72
72
  "#22075E",
73
73
  "#780650"
74
- ], gt = [
74
+ ], w = [
75
75
  "Default",
76
76
  "Inter",
77
77
  "Comic Sans MS, Comic Sans",
@@ -88,7 +88,7 @@ const R = "en", dt = 20, at = 1e5, nt = 16, st = 10, pt = 10, ut = 2, mt = [
88
88
  "Lucida Console",
89
89
  "Monaco",
90
90
  "monospace"
91
- ], ct = [
91
+ ], B = [
92
92
  "Default",
93
93
  "10px",
94
94
  "11px",
@@ -105,262 +105,8 @@ const R = "en", dt = 20, at = 1e5, nt = 16, st = 10, pt = 10, ut = 2, mt = [
105
105
  "48px",
106
106
  "72px"
107
107
  ];
108
- var N = /* @__PURE__ */ ((t) => (t[t["size-small"] = 200] = "size-small", t[t["size-medium"] = 500] = "size-medium", t["size-large"] = "100%", t))(N || {}), P = /* @__PURE__ */ ((t) => (t[t["size-small"] = 480] = "size-small", t[t["size-medium"] = 640] = "size-medium", t["size-large"] = "100%", t))(P || {});
109
- const ht = ["Default", "1.5", "2", "2.5", "3", "3.5", "4"], ft = ["Paragraph", 1, 2, 3, 4, 5, 6];
110
- function j({ update: t, notify: o, unwatched: l }) {
111
- return {
112
- link: p,
113
- unlink: g,
114
- propagate: C,
115
- checkDirty: h,
116
- shallowPropagate: f
117
- };
118
- function p(e, r, d) {
119
- const a = r.depsTail;
120
- if (a !== void 0 && a.dep === e)
121
- return;
122
- const i = a !== void 0 ? a.nextDep : r.deps;
123
- if (i !== void 0 && i.dep === e) {
124
- i.version = d, r.depsTail = i;
125
- return;
126
- }
127
- const n = e.subsTail;
128
- if (n !== void 0 && n.version === d && n.sub === r)
129
- return;
130
- const s = r.depsTail = e.subsTail = {
131
- version: d,
132
- dep: e,
133
- sub: r,
134
- prevDep: a,
135
- nextDep: i,
136
- prevSub: n,
137
- nextSub: void 0
138
- };
139
- i !== void 0 && (i.prevDep = s), a !== void 0 ? a.nextDep = s : r.deps = s, n !== void 0 ? n.nextSub = s : e.subs = s;
140
- }
141
- function g(e, r = e.sub) {
142
- const d = e.dep, a = e.prevDep, i = e.nextDep, n = e.nextSub, s = e.prevSub;
143
- return i !== void 0 ? i.prevDep = a : r.depsTail = a, a !== void 0 ? a.nextDep = i : r.deps = i, n !== void 0 ? n.prevSub = s : d.subsTail = s, s !== void 0 ? s.nextSub = n : (d.subs = n) === void 0 && l(d), i;
144
- }
145
- function C(e) {
146
- let r = e.nextSub, d;
147
- t: do {
148
- const a = e.sub;
149
- let i = a.flags;
150
- if (i & 60 ? i & 12 ? i & 4 ? !(i & 48) && x(e, a) ? (a.flags = i | 40, i &= 1) : i = 0 : a.flags = i & -9 | 32 : i = 0 : a.flags = i | 32, i & 2 && o(a), i & 1) {
151
- const n = a.subs;
152
- if (n !== void 0) {
153
- const s = (e = n).nextSub;
154
- s !== void 0 && (d = { value: r, prev: d }, r = s);
155
- continue;
156
- }
157
- }
158
- if ((e = r) !== void 0) {
159
- r = e.nextSub;
160
- continue;
161
- }
162
- for (; d !== void 0; )
163
- if (e = d.value, d = d.prev, e !== void 0) {
164
- r = e.nextSub;
165
- continue t;
166
- }
167
- break;
168
- } while (!0);
169
- }
170
- function h(e, r) {
171
- let d, a = 0, i = !1;
172
- t: do {
173
- const n = e.dep, s = n.flags;
174
- if (r.flags & 16)
175
- i = !0;
176
- else if ((s & 17) === 17) {
177
- if (t(n)) {
178
- const u = n.subs;
179
- u.nextSub !== void 0 && f(u), i = !0;
180
- }
181
- } else if ((s & 33) === 33) {
182
- (e.nextSub !== void 0 || e.prevSub !== void 0) && (d = { value: e, prev: d }), e = n.deps, r = n, ++a;
183
- continue;
184
- }
185
- if (!i) {
186
- const u = e.nextDep;
187
- if (u !== void 0) {
188
- e = u;
189
- continue;
190
- }
191
- }
192
- for (; a--; ) {
193
- const u = r.subs, F = u.nextSub !== void 0;
194
- if (F ? (e = d.value, d = d.prev) : e = u, i) {
195
- if (t(r)) {
196
- F && f(u), r = e.sub;
197
- continue;
198
- }
199
- i = !1;
200
- } else
201
- r.flags &= -33;
202
- r = e.sub;
203
- const z = e.nextDep;
204
- if (z !== void 0) {
205
- e = z;
206
- continue t;
207
- }
208
- }
209
- return i;
210
- } while (!0);
211
- }
212
- function f(e) {
213
- do {
214
- const r = e.sub, d = r.flags;
215
- (d & 48) === 32 && (r.flags = d | 16, (d & 6) === 2 && o(r));
216
- } while ((e = e.nextSub) !== void 0);
217
- }
218
- function x(e, r) {
219
- let d = r.depsTail;
220
- for (; d !== void 0; ) {
221
- if (d === e)
222
- return !0;
223
- d = d.prevDep;
224
- }
225
- return !1;
226
- }
227
- }
228
- let T = 0, b = 0, k = 0, c;
229
- const m = [], { link: S, unlink: D, propagate: W, checkDirty: U, shallowPropagate: I } = j({
230
- update(t) {
231
- return t.depsTail !== void 0 ? V(t) : L(t);
232
- },
233
- notify(t) {
234
- var p;
235
- let o = k, l = o;
236
- do
237
- if (t.flags &= -3, m[o++] = t, t = (p = t.subs) == null ? void 0 : p.sub, t === void 0 || !(t.flags & 2))
238
- break;
239
- while (!0);
240
- for (k = o; l < --o; ) {
241
- const g = m[l];
242
- m[l++] = m[o], m[o] = g;
243
- }
244
- },
245
- unwatched(t) {
246
- t.flags & 1 ? t.depsTail !== void 0 && (t.depsTail = void 0, t.flags = 17, v(t)) : E.call(t);
247
- }
248
- });
249
- function y(t) {
250
- const o = c;
251
- return c = t, o;
252
- }
253
- function M(t) {
254
- return H.bind({
255
- currentValue: t,
256
- pendingValue: t,
257
- subs: void 0,
258
- subsTail: void 0,
259
- flags: 1
260
- });
261
- }
262
- function K(t) {
263
- const o = {
264
- fn: t,
265
- subs: void 0,
266
- subsTail: void 0,
267
- deps: void 0,
268
- depsTail: void 0,
269
- flags: 6
270
- }, l = y(o);
271
- l !== void 0 && S(o, l, 0);
272
- try {
273
- o.fn();
274
- } finally {
275
- c = l, o.flags &= -5;
276
- }
277
- return G.bind(o);
278
- }
279
- function V(t) {
280
- ++T, t.depsTail = void 0, t.flags = 5;
281
- const o = y(t);
282
- try {
283
- const l = t.value;
284
- return l !== (t.value = t.getter(l));
285
- } finally {
286
- c = o, t.flags &= -5, v(t);
287
- }
288
- }
289
- function L(t) {
290
- return t.flags = 1, t.currentValue !== (t.currentValue = t.pendingValue);
291
- }
292
- function q(t) {
293
- const o = t.flags;
294
- if (o & 16 || o & 32 && U(t.deps, t)) {
295
- ++T, t.depsTail = void 0, t.flags = 6;
296
- const l = y(t);
297
- try {
298
- t.fn();
299
- } finally {
300
- c = l, t.flags &= -5, v(t);
301
- }
302
- } else
303
- t.flags = 2;
304
- }
305
- function O() {
306
- for (; b < k; ) {
307
- const t = m[b];
308
- m[b++] = void 0, q(t);
309
- }
310
- b = 0, k = 0;
311
- }
312
- function H(...t) {
313
- var o;
314
- if (t.length) {
315
- if (this.pendingValue !== (this.pendingValue = t[0])) {
316
- this.flags = 17;
317
- const l = this.subs;
318
- l !== void 0 && (W(l), O());
319
- }
320
- } else {
321
- if (this.flags & 16 && L(this)) {
322
- const p = this.subs;
323
- p !== void 0 && I(p);
324
- }
325
- let l = c;
326
- for (; l !== void 0; ) {
327
- if (l.flags & 3) {
328
- S(this, l, T);
329
- break;
330
- }
331
- l = (o = l.subs) == null ? void 0 : o.sub;
332
- }
333
- return this.currentValue;
334
- }
335
- }
336
- function G() {
337
- E.call(this);
338
- }
339
- function E() {
340
- this.depsTail = void 0, this.flags = 0, v(this);
341
- const t = this.subs;
342
- t !== void 0 && D(t);
343
- }
344
- function v(t) {
345
- const o = t.depsTail;
346
- let l = o !== void 0 ? o.nextDep : t.deps;
347
- for (; l !== void 0; )
348
- l = D(l, t);
349
- }
350
- function X(t) {
351
- return M(t);
352
- }
353
- function Y(t) {
354
- return [w((o) => {
355
- let l = K(() => {
356
- t(), o();
357
- });
358
- return () => l();
359
- }, () => t(), () => t()), (o) => {
360
- t(typeof o == "function" ? o(t()) : o);
361
- }];
362
- }
363
- const J = {
108
+ var c = /* @__PURE__ */ ((t) => (t[t["size-small"] = 200] = "size-small", t[t["size-medium"] = 500] = "size-medium", t["size-large"] = "100%", t))(c || {}), h = /* @__PURE__ */ ((t) => (t[t["size-small"] = 480] = "size-small", t[t["size-medium"] = 640] = "size-medium", t["size-large"] = "100%", t))(h || {});
109
+ const N = ["Default", "1.5", "2", "2.5", "3", "3.5", "4"], R = ["Paragraph", 1, 2, 3, 4, 5, 6], b = {
364
110
  "editor.remove": "Remove",
365
111
  "editor.copy": "Copy",
366
112
  "editor.words": "WORDS",
@@ -537,8 +283,24 @@ const J = {
537
283
  "editor.tooltip.flipY": "Flip Vertical",
538
284
  "editor.upload.fileTypeNotSupported": "{fileName} file type not supported",
539
285
  "editor.upload.fileSizeTooBig": "{fileName} file size too big, maximum size is {size}MB",
540
- "editor.upload.error": "Error uploading file"
541
- }, $ = {
286
+ "editor.upload.error": "Error uploading file",
287
+ "editor.callout.tooltip": "Callout",
288
+ "editor.callout.dialog.title": "Insert Callout",
289
+ "editor.callout.dialog.type": "Callout Type",
290
+ "editor.callout.dialog.type.placeholder": "Select a callout type",
291
+ "editor.callout.dialog.title.label": "Title",
292
+ "editor.callout.dialog.title.placeholder": "Enter custom title (optional)",
293
+ "editor.callout.dialog.body.label": "Body Content",
294
+ "editor.callout.dialog.body.placeholder": "Enter body content (optional)",
295
+ "editor.callout.dialog.button.apply": "Insert",
296
+ "editor.callout.dialog.button.cancel": "Cancel",
297
+ "editor.callout.edit.title": "Edit Callout",
298
+ "editor.callout.type.note": "Note",
299
+ "editor.callout.type.tip": "Tip",
300
+ "editor.callout.type.important": "Important",
301
+ "editor.callout.type.warning": "Warning",
302
+ "editor.callout.type.caution": "Caution"
303
+ }, k = {
542
304
  "editor.remove": "Poista",
543
305
  "editor.copy": "Kopioi",
544
306
  "editor.words": "SANAT",
@@ -715,8 +477,24 @@ const J = {
715
477
  "editor.tooltip.flipY": "Käännä pystysuunnassa",
716
478
  "editor.upload.fileTypeNotSupported": "{fileName}-tiedostotyyppi ei tuettu",
717
479
  "editor.upload.fileSizeTooBig": "{fileName}-tiedosto liian suuri, suurin sallittu koko on {size}MB",
718
- "editor.upload.error": "Virhe tiedoston latauksessa"
719
- }, Q = {
480
+ "editor.upload.error": "Virhe tiedoston latauksessa",
481
+ "editor.callout.tooltip": "Huomiolaatikko",
482
+ "editor.callout.dialog.title": "Lisää huomiolaatikko",
483
+ "editor.callout.dialog.type": "Huomiolaatikon tyyppi",
484
+ "editor.callout.dialog.type.placeholder": "Valitse huomiolaatikon tyyppi",
485
+ "editor.callout.dialog.title.label": "Otsikko",
486
+ "editor.callout.dialog.title.placeholder": "Kirjoita mukautettu otsikko (valinnainen)",
487
+ "editor.callout.dialog.body.label": "Sisältö",
488
+ "editor.callout.dialog.body.placeholder": "Kirjoita sisältö (valinnainen)",
489
+ "editor.callout.dialog.button.apply": "Lisää",
490
+ "editor.callout.dialog.button.cancel": "Peruuta",
491
+ "editor.callout.edit.title": "Muokkaa huomiolaatikkoa",
492
+ "editor.callout.type.note": "Huomio",
493
+ "editor.callout.type.tip": "Vinkki",
494
+ "editor.callout.type.important": "Tärkeä",
495
+ "editor.callout.type.warning": "Varoitus",
496
+ "editor.callout.type.caution": "Varovaisuus"
497
+ }, f = {
720
498
  "editor.remove": "Eltávolítás",
721
499
  "editor.copy": "Másolás",
722
500
  "editor.words": "SZAVAK",
@@ -893,8 +671,24 @@ const J = {
893
671
  "editor.tooltip.flipY": "Függőleges tükrözés",
894
672
  "editor.upload.fileTypeNotSupported": "{fileName} fájltípus nem támogatott",
895
673
  "editor.upload.fileSizeTooBig": "{fileName} fájlméret túl nagy, maximális méret {size}MB",
896
- "editor.upload.error": "Hiba a fájl feltöltésekor"
897
- }, Z = {
674
+ "editor.upload.error": "Hiba a fájl feltöltésekor",
675
+ "editor.callout.tooltip": "Kiemelő doboz",
676
+ "editor.callout.dialog.title": "Kiemelő doboz beszúrása",
677
+ "editor.callout.dialog.type": "Kiemelő doboz típusa",
678
+ "editor.callout.dialog.type.placeholder": "Válasszon egy kiemelő doboz típust",
679
+ "editor.callout.dialog.title.label": "Cím",
680
+ "editor.callout.dialog.title.placeholder": "Írjon be egyedi címet (opcionális)",
681
+ "editor.callout.dialog.body.label": "Tartalom",
682
+ "editor.callout.dialog.body.placeholder": "Írja be a tartalmat (opcionális)",
683
+ "editor.callout.dialog.button.apply": "Beszúrás",
684
+ "editor.callout.dialog.button.cancel": "Mégsem",
685
+ "editor.callout.edit.title": "Kiemelő doboz szerkesztése",
686
+ "editor.callout.type.note": "Megjegyzés",
687
+ "editor.callout.type.tip": "Tipp",
688
+ "editor.callout.type.important": "Fontos",
689
+ "editor.callout.type.warning": "Figyelmeztetés",
690
+ "editor.callout.type.caution": "Óvatosan"
691
+ }, y = {
898
692
  "editor.remove": "Remover",
899
693
  "editor.copy": "Copiar",
900
694
  "editor.words": "PALAVRAS",
@@ -1071,8 +865,24 @@ const J = {
1071
865
  "editor.tooltip.flipY": "Inverter Vertical",
1072
866
  "editor.upload.fileTypeNotSupported": "{fileName} tipo de arquivo não suportado",
1073
867
  "editor.upload.fileSizeTooBig": "{fileName} tamanho do arquivo muito grande, o tamanho máximo é {size}MB",
1074
- "editor.upload.error": "Erro ao enviar arquivo"
1075
- }, tt = {
868
+ "editor.upload.error": "Erro ao enviar arquivo",
869
+ "editor.callout.tooltip": "Caixa de destaque",
870
+ "editor.callout.dialog.title": "Inserir caixa de destaque",
871
+ "editor.callout.dialog.type": "Tipo de caixa de destaque",
872
+ "editor.callout.dialog.type.placeholder": "Selecione um tipo de caixa de destaque",
873
+ "editor.callout.dialog.title.label": "Título",
874
+ "editor.callout.dialog.title.placeholder": "Digite um título personalizado (opcional)",
875
+ "editor.callout.dialog.body.label": "Conteúdo",
876
+ "editor.callout.dialog.body.placeholder": "Digite o conteúdo (opcional)",
877
+ "editor.callout.dialog.button.apply": "Inserir",
878
+ "editor.callout.dialog.button.cancel": "Cancelar",
879
+ "editor.callout.edit.title": "Editar caixa de destaque",
880
+ "editor.callout.type.note": "Nota",
881
+ "editor.callout.type.tip": "Dica",
882
+ "editor.callout.type.important": "Importante",
883
+ "editor.callout.type.warning": "Aviso",
884
+ "editor.callout.type.caution": "Cuidado"
885
+ }, v = {
1076
886
  "editor.remove": "Xóa",
1077
887
  "editor.copy": "Sao chép",
1078
888
  "editor.words": "TỪ",
@@ -1249,8 +1059,24 @@ const J = {
1249
1059
  "editor.tooltip.flipY": "Lật Dọc",
1250
1060
  "editor.upload.fileTypeNotSupported": "{fileName} loại tệp không được hỗ trợ",
1251
1061
  "editor.upload.fileSizeTooBig": "{fileName} kích thước tệp quá lớn, kích thước tối đa là {size}MB",
1252
- "editor.upload.error": "Lỗi khi tải lên tệp"
1253
- }, et = {
1062
+ "editor.upload.error": "Lỗi khi tải lên tệp",
1063
+ "editor.callout.tooltip": "Hộp ghi chú",
1064
+ "editor.callout.dialog.title": "Chèn hộp ghi chú",
1065
+ "editor.callout.dialog.type": "Loại hộp ghi chú",
1066
+ "editor.callout.dialog.type.placeholder": "Chọn loại hộp ghi chú",
1067
+ "editor.callout.dialog.title.label": "Tiêu đề",
1068
+ "editor.callout.dialog.title.placeholder": "Nhập tiêu đề tùy chỉnh (tùy chọn)",
1069
+ "editor.callout.dialog.body.label": "Nội dung",
1070
+ "editor.callout.dialog.body.placeholder": "Nhập nội dung (tùy chọn)",
1071
+ "editor.callout.dialog.button.apply": "Chèn",
1072
+ "editor.callout.dialog.button.cancel": "Hủy",
1073
+ "editor.callout.edit.title": "Chỉnh sửa hộp ghi chú",
1074
+ "editor.callout.type.note": "Ghi chú",
1075
+ "editor.callout.type.tip": "Mẹo",
1076
+ "editor.callout.type.important": "Quan trọng",
1077
+ "editor.callout.type.warning": "Cảnh báo",
1078
+ "editor.callout.type.caution": "Thận trọng"
1079
+ }, C = {
1254
1080
  "editor.remove": "移除",
1255
1081
  "editor.copy": "复制",
1256
1082
  "editor.words": "字数",
@@ -1427,62 +1253,98 @@ const J = {
1427
1253
  "editor.tooltip.flipY": "垂直翻转",
1428
1254
  "editor.upload.fileTypeNotSupported": "{fileName} 文件类型不受支持",
1429
1255
  "editor.upload.fileSizeTooBig": "{fileName} 文件大小超出限制,最大大小为 {size}MB",
1430
- "editor.upload.error": "上传文件时出错"
1431
- }, ot = {
1432
- currentLang: R,
1256
+ "editor.upload.error": "上传文件时出错",
1257
+ "editor.callout.tooltip": "标注框",
1258
+ "editor.callout.dialog.title": "插入标注框",
1259
+ "editor.callout.dialog.type": "标注框类型",
1260
+ "editor.callout.dialog.type.placeholder": "选择标注框类型",
1261
+ "editor.callout.dialog.title.label": "标题",
1262
+ "editor.callout.dialog.title.placeholder": "输入自定义标题(可选)",
1263
+ "editor.callout.dialog.body.label": "内容",
1264
+ "editor.callout.dialog.body.placeholder": "输入内容(可选)",
1265
+ "editor.callout.dialog.button.apply": "插入",
1266
+ "editor.callout.dialog.button.cancel": "取消",
1267
+ "editor.callout.edit.title": "编辑标注框",
1268
+ "editor.callout.type.note": "笔记",
1269
+ "editor.callout.type.tip": "提示",
1270
+ "editor.callout.type.important": "重要",
1271
+ "editor.callout.type.warning": "警告",
1272
+ "editor.callout.type.caution": "注意"
1273
+ }, n = {
1274
+ currentLang: g,
1433
1275
  message: {
1434
- en: J,
1435
- hu_HU: Q,
1436
- vi: tt,
1437
- zh_CN: et,
1438
- pt_BR: Z,
1439
- fi: $
1276
+ en: b,
1277
+ hu_HU: f,
1278
+ vi: v,
1279
+ zh_CN: C,
1280
+ pt_BR: y,
1281
+ fi: k
1440
1282
  }
1441
- }, it = X(ot);
1442
- function bt() {
1443
- const [t, o] = Y(it), l = B((p, g) => {
1444
- let h = (t.message[t.currentLang] || {})[p] || p;
1445
- return g && Object.entries(g).forEach(([f, x]) => {
1446
- h = h.replace(new RegExp(`\\{${f}\\}`, "g"), String(x));
1447
- }), h;
1448
- }, [t]);
1283
+ }, i = m()((t) => ({
1284
+ currentLang: n.currentLang,
1285
+ message: n.message,
1286
+ setLang: (o) => {
1287
+ t(() => ({
1288
+ currentLang: o
1289
+ }));
1290
+ },
1291
+ setMessage: (o, r) => {
1292
+ t((l) => ({
1293
+ message: {
1294
+ ...l.message,
1295
+ [o]: {
1296
+ ...l.message[o],
1297
+ ...r
1298
+ }
1299
+ }
1300
+ }));
1301
+ }
1302
+ }));
1303
+ function j() {
1304
+ const t = i((e) => e.currentLang), o = i((e) => e.message), r = i((e) => e.setLang), l = u((e, d) => {
1305
+ try {
1306
+ let a = (o[t] || {})[e] || e;
1307
+ return d && Object.entries(d).forEach(([p, s]) => {
1308
+ a = a.replace(new RegExp(`\\{${p}\\}`, "g"), String(s));
1309
+ }), a;
1310
+ } catch {
1311
+ return e;
1312
+ }
1313
+ }, [o, t]);
1449
1314
  return {
1450
- setLang: o,
1451
- lang: t.currentLang,
1315
+ setLang: r,
1316
+ lang: t,
1452
1317
  t: l
1453
1318
  };
1454
1319
  }
1455
- const kt = {
1320
+ const P = {
1456
1321
  setLang: (t) => {
1457
- _(A.CHANGE_LANGUAGE, t);
1322
+ i.getState().setLang(t);
1458
1323
  },
1459
1324
  setMessage: (t, o) => {
1460
- _(A.MODIFY_LANGUAGE, { lang: t, messages: o });
1325
+ i.getState().setMessage(t, o);
1461
1326
  }
1462
1327
  };
1463
1328
  export {
1464
- mt as C,
1465
- gt as D,
1466
- ft as H,
1467
- at as I,
1468
- pt as T,
1469
- P as V,
1470
- it as a,
1471
- J as b,
1472
- Q as c,
1473
- tt as d,
1474
- et as e,
1475
- Z as f,
1476
- $ as g,
1477
- ct as h,
1478
- ht as i,
1479
- nt as j,
1480
- dt as k,
1481
- kt as l,
1482
- X as m,
1483
- st as n,
1484
- ut as o,
1485
- N as p,
1486
- bt as u,
1487
- Y as x
1329
+ E as C,
1330
+ w as D,
1331
+ R as H,
1332
+ _ as I,
1333
+ S as T,
1334
+ h as V,
1335
+ b as a,
1336
+ f as b,
1337
+ v as c,
1338
+ C as d,
1339
+ y as e,
1340
+ k as f,
1341
+ B as g,
1342
+ N as h,
1343
+ A as i,
1344
+ F as j,
1345
+ L as k,
1346
+ P as l,
1347
+ D as m,
1348
+ c as n,
1349
+ j as u
1488
1350
  };
@@ -0,0 +1 @@
1
+ "use strict";const s=require("@radix-ui/react-icons"),e=require("lucide-react"),t=require("react/jsx-runtime"),H=require("./clsx-CXbNJWDD.cjs");function V(n){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...n,children:t.jsx("path",{fill:"currentColor",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"})})}function L(n){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...n,children:t.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",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"})})}function B(){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":"true",role:"img",className:"richtext-w-4 richtext-h-4",width:"1em",height:"1em",viewBox:"0 0 24 24",children:t.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",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",color:"currentColor"})})}function T(){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":"true",role:"img",className:"richtext-w-4 richtext-h-4",width:"1em",height:"1em",viewBox:"0 0 24 24",children:t.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",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",color:"currentColor"})})}function S(n){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...n,children:t.jsx("path",{fill:"currentColor",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"})})}function I(n){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...n,children:t.jsx("path",{fill:"currentColor",d:"M21 22H3v-2h18zm0-18H3V2h18zm-11 9.7h4l-2-5.4zM11.2 6h1.7l4.7 12h-2l-.9-2.6H9.4L8.5 18h-2z"})})}function p(n){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":"true",role:"img",width:"1em",height:"1em",viewBox:"0 0 48 48",...n,children:t.jsx("path",{fill:"currentColor",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:4,d:"M36 19L24 31L12 19z"})})}function P(n){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...n,children:t.jsx("path",{fill:"currentColor",d:"M9 7v10h6v-2h-4V7z"})})}function y(n){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...n,children:t.jsx("path",{fill:"currentColor",d:"M9 7c-1.1 0-2 .9-2 2v8h2V9h2v7h2V9h2v8h2V9a2 2 0 0 0-2-2z"})})}function R(n){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...n,children:t.jsx("path",{fill:"currentColor",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"})})}function A(){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",children:t.jsx("path",{fill:"currentColor",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"})})}function W(){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",children:t.jsx("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"})})}function E(){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",children:t.jsx("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"})})}function b(){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",children:t.jsx("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"})})}function U(){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",children:t.jsx("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"})})}function C(){return t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 32 32",children:[t.jsx("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"}),t.jsx("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"})]})}function z(){return t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",className:"icon",viewBox:"0 0 1024 1024",children:[t.jsx("path",{fill:"currentColor",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"}),t.jsx("path",{fill:"currentColor",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"})]})}function D(){return t.jsx("svg",{height:"1em",viewBox:"0 0 15 15",width:"1em",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{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",fill:"currentColor"})})}function N(){return t.jsx("svg",{height:"1em",viewBox:"0 0 24 24",width:"1em",xmlns:"http://www.w3.org/2000/svg",children:t.jsxs("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",children:[t.jsx("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),t.jsx("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"})]})})}function O(){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 20 20",children:t.jsx("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"})})}function X(){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 48 48",children:t.jsxs("g",{fill:"none",stroke:"currentColor",strokeWidth:"4",children:[t.jsx("circle",{cx:"10",cy:"24",r:"4"}),t.jsx("circle",{cx:"38",cy:"10",r:"4"}),t.jsx("circle",{cx:"38",cy:"24",r:"4"}),t.jsx("circle",{cx:"38",cy:"38",r:"4"}),t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M34 38H22V10h12M14 24h20"})]})})}function F(){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 20 20",children:t.jsx("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"})})}function q(){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",children:t.jsx("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"})})}function Z(){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":"true",role:"img",width:"1em",height:"1em",viewBox:"0 0 24 24",children:t.jsx("path",{fill:"currentColor",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"})})}const G={Bold:e.Bold,LoaderCircle:e.LoaderCircle,Italic:e.Italic,Underline:e.Underline,Quote:e.Quote,TextQuote:L,Strikethrough:e.Strikethrough,Minus:e.Minus,Eraser:e.Eraser,PaintRoller:e.PaintRoller,Redo2:e.Redo2,Undo2:e.Undo2,AlignCenter:s.TextAlignCenterIcon,AlignJustify:s.TextAlignJustifyIcon,AlignLeft:s.TextAlignLeftIcon,AlignRight:s.TextAlignRightIcon,ChevronDown:e.ChevronDown,Subscript:e.Subscript,Superscript:e.Superscript,Code:e.Code,Code2:e.CodeXml,Type:e.Type,IndentIncrease:e.IndentIncrease,IndentDecrease:e.IndentDecrease,List:e.List,ListOrdered:e.ListOrdered,ListTodo:e.ListTodo,Link:e.Link,ImageUp:e.ImageUp,Video:e.Video,Maximize:e.Maximize,Minimize:e.Minimize,Table:e.Table,Sparkles:e.Sparkles,Pencil:e.Pencil,Unlink:e.Unlink,BetweenHorizonalEnd:e.BetweenHorizonalEnd,BetweenHorizonalStart:e.BetweenHorizonalStart,BetweenVerticalStart:e.BetweenVerticalStart,BetweenVerticalEnd:e.BetweenVerticalEnd,TableCellsMerge:e.TableCellsMerge,TableCellsSplit:e.TableCellsSplit,Trash2:e.Trash2,Trash:e.Trash,Replace:e.Replace,ChevronsUpDown:e.ChevronsUpDown,LineHeight:I,Word:S,HeadingParagraph:e.Pilcrow,Heading1:e.Heading1,Heading2:e.Heading2,Heading3:e.Heading3,Heading4:e.Heading4,Heading5:e.Heading5,Heading6:e.Heading6,Columns2:e.Columns2,Columns3:e.Columns3,Columns4:e.Columns4,Plus:e.Plus,Grip:e.GripVertical,Copy:e.Copy,Clipboard:e.Clipboard,PanelLeft:e.PanelLeft,PanelRight:e.PanelRight,Columns:e.Columns2,Iframe:e.Frame,MenuDown:p,SizeS:R,SizeM:y,SizeL:P,AspectRatio:V,Emoji:e.SmilePlus,DeleteColumn:B,DeleteRow:T,SearchAndReplace:e.Replace,EmojiIcon:e.SmilePlusIcon,KatexIcon:e.Sigma,ExportPdf:C,ExportWord:z,ImportWord:Z,ColumnAddLeft:W,ColumnAddRight:E,BookMarked:e.BookMarked,Excalidraw:U,ZoomIn:e.ZoomIn,ZoomOut:e.ZoomOut,Settings:e.Settings,Eye:e.Eye,TextDirection:b,LeftToRight:O,RightToLeft:F,Attachment:e.Paperclip,GifIcon:D,ChevronUp:e.ChevronUp,Crop:e.CropIcon,Mermaid:X,Twitter:q,CodeView:A,FlipX:e.FlipVertical,FlipY:e.FlipHorizontal,PencilRuler:e.PencilRuler,WrapText:e.WrapText,Loader:e.Loader2,X:e.X,Html:N,ExternalLink:e.ExternalLink,Callout:e.NotebookPen},g=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,x=H.clsx,Q=(n,i)=>r=>{var d;if((i==null?void 0:i.variants)==null)return x(n,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:w,defaultVariants:h}=i,j=Object.keys(w).map(l=>{const o=r==null?void 0:r[l],a=h==null?void 0:h[l];if(o===null)return null;const c=g(o)||g(a);return w[l][c]}),v=r&&Object.entries(r).reduce((l,o)=>{let[a,c]=o;return c===void 0||(l[a]=c),l},{}),M=i==null||(d=i.compoundVariants)===null||d===void 0?void 0:d.reduce((l,o)=>{let{class:a,className:c,...f}=o;return Object.entries(f).every(k=>{let[u,m]=k;return Array.isArray(m)?m.includes({...h,...v}[u]):{...h,...v}[u]===m})?[...l,a,c]:l},[]);return x(n,j,M,r==null?void 0:r.class,r==null?void 0:r.className)};exports.ExportPdf=C;exports.ExportWord=z;exports.MenuDown=p;exports.cva=Q;exports.icons=G;
@@ -1,4 +1,4 @@
1
- import { T as D, v as m, S as Z, x as V, y as ft, D as Be, F, z as ut, A as dt } from "./index-sVScpCFG.js";
1
+ import { T as D, v as m, S as Z, x as V, y as ft, D as Be, F, z as ut, A as dt } from "./clsx-BWSGDJNJ.js";
2
2
  var $ = {
3
3
  8: "Backspace",
4
4
  9: "Tab",