reactjs-tiptap-editor 0.3.29 → 0.3.31

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 (225) hide show
  1. package/lib/{ActionMenuButton-5Y8QcYxD.cjs → ActionMenuButton-BCgqJsST.cjs} +1 -1
  2. package/lib/{ActionMenuButton-Cs9DM_16.js → ActionMenuButton-D97K0UWT.js} +5 -5
  3. package/lib/Attachment.cjs +1 -1
  4. package/lib/Attachment.d.cts +4 -4
  5. package/lib/Attachment.d.ts +4 -4
  6. package/lib/Attachment.js +1 -1
  7. package/lib/Blockquote.cjs +1 -1
  8. package/lib/Blockquote.d.cts +4 -4
  9. package/lib/Blockquote.d.ts +4 -4
  10. package/lib/Blockquote.js +1 -1
  11. package/lib/Bold.cjs +1 -1
  12. package/lib/Bold.d.cts +4 -4
  13. package/lib/Bold.d.ts +4 -4
  14. package/lib/Bold.js +1 -1
  15. package/lib/BulletList.cjs +1 -1
  16. package/lib/BulletList.d.cts +4 -4
  17. package/lib/BulletList.d.ts +4 -4
  18. package/lib/BulletList.js +1 -1
  19. package/lib/Clear.cjs +1 -1
  20. package/lib/Clear.d.cts +4 -4
  21. package/lib/Clear.d.ts +4 -4
  22. package/lib/Clear.js +1 -1
  23. package/lib/Code.cjs +1 -1
  24. package/lib/Code.d.cts +4 -4
  25. package/lib/Code.d.ts +4 -4
  26. package/lib/Code.js +1 -1
  27. package/lib/CodeBlock.cjs +1 -1
  28. package/lib/CodeBlock.d.cts +4 -4
  29. package/lib/CodeBlock.d.ts +4 -4
  30. package/lib/CodeBlock.js +3 -2
  31. package/lib/CodeView.cjs +1 -1
  32. package/lib/CodeView.d.cts +4 -4
  33. package/lib/CodeView.d.ts +4 -4
  34. package/lib/CodeView.js +1 -1
  35. package/lib/Color.cjs +1 -1
  36. package/lib/Color.d.cts +4 -4
  37. package/lib/Color.d.ts +4 -4
  38. package/lib/Color.js +2 -2
  39. package/lib/Document.d.cts +4 -4
  40. package/lib/Document.d.ts +4 -4
  41. package/lib/Drawer-5Q_-WRhc.cjs +1 -0
  42. package/lib/{Drawer-BCmNLh31.js → Drawer-BHkje8ys.js} +250 -249
  43. package/lib/Drawer.cjs +1 -1
  44. package/lib/Drawer.d.cts +4 -4
  45. package/lib/Drawer.d.ts +4 -4
  46. package/lib/Drawer.js +2 -2
  47. package/lib/Emoji.cjs +1 -1
  48. package/lib/Emoji.d.cts +4 -4
  49. package/lib/Emoji.d.ts +4 -4
  50. package/lib/Emoji.js +22 -21
  51. package/lib/Excalidraw-CG498239.js +290 -0
  52. package/lib/Excalidraw-GUVW-IqC.cjs +1 -0
  53. package/lib/Excalidraw.cjs +1 -1
  54. package/lib/Excalidraw.d.cts +4 -4
  55. package/lib/Excalidraw.d.ts +4 -4
  56. package/lib/Excalidraw.js +1 -1
  57. package/lib/ExportPdf.cjs +1 -1
  58. package/lib/ExportPdf.d.cts +4 -4
  59. package/lib/ExportPdf.d.ts +4 -4
  60. package/lib/ExportPdf.js +1 -1
  61. package/lib/ExportWord.cjs +1 -1
  62. package/lib/ExportWord.d.cts +4 -4
  63. package/lib/ExportWord.d.ts +4 -4
  64. package/lib/ExportWord.js +1 -1
  65. package/lib/FontFamily.cjs +1 -1
  66. package/lib/FontFamily.d.cts +4 -4
  67. package/lib/FontFamily.d.ts +4 -4
  68. package/lib/FontFamily.js +11 -10
  69. package/lib/FontSize.cjs +1 -1
  70. package/lib/FontSize.d.cts +4 -4
  71. package/lib/FontSize.d.ts +4 -4
  72. package/lib/FontSize.js +6 -5
  73. package/lib/FormatPainter.cjs +1 -1
  74. package/lib/FormatPainter.d.cts +4 -4
  75. package/lib/FormatPainter.d.ts +4 -4
  76. package/lib/FormatPainter.js +1 -1
  77. package/lib/Heading.cjs +1 -1
  78. package/lib/Heading.d.cts +4 -4
  79. package/lib/Heading.d.ts +4 -4
  80. package/lib/Heading.js +32 -31
  81. package/lib/Highlight.cjs +1 -1
  82. package/lib/Highlight.d.cts +4 -4
  83. package/lib/Highlight.d.ts +4 -4
  84. package/lib/Highlight.js +1 -1
  85. package/lib/History.cjs +1 -1
  86. package/lib/History.d.cts +4 -4
  87. package/lib/History.d.ts +4 -4
  88. package/lib/History.js +1 -1
  89. package/lib/HorizontalRule.cjs +1 -1
  90. package/lib/HorizontalRule.d.cts +4 -4
  91. package/lib/HorizontalRule.d.ts +4 -4
  92. package/lib/HorizontalRule.js +1 -1
  93. package/lib/Iframe.cjs +1 -1
  94. package/lib/Iframe.d.cts +4 -4
  95. package/lib/Iframe.d.ts +4 -4
  96. package/lib/Iframe.js +1 -1
  97. package/lib/Image.cjs +1 -1
  98. package/lib/Image.d.cts +4 -4
  99. package/lib/Image.d.ts +4 -4
  100. package/lib/Image.js +1 -1
  101. package/lib/ImageGif.cjs +1 -1
  102. package/lib/ImageGif.d.cts +4 -4
  103. package/lib/ImageGif.d.ts +4 -4
  104. package/lib/ImageGif.js +1 -1
  105. package/lib/ImportWord.cjs +2 -2
  106. package/lib/ImportWord.d.cts +4 -4
  107. package/lib/ImportWord.d.ts +4 -4
  108. package/lib/ImportWord.js +3 -2
  109. package/lib/Indent.cjs +1 -1
  110. package/lib/Indent.d.cts +4 -4
  111. package/lib/Indent.d.ts +4 -4
  112. package/lib/Indent.js +1 -1
  113. package/lib/Italic.cjs +1 -1
  114. package/lib/Italic.d.cts +4 -4
  115. package/lib/Italic.d.ts +4 -4
  116. package/lib/Italic.js +1 -1
  117. package/lib/Katex.cjs +1 -1
  118. package/lib/Katex.d.cts +4 -4
  119. package/lib/Katex.d.ts +4 -4
  120. package/lib/Katex.js +41 -40
  121. package/lib/LineHeight.cjs +1 -1
  122. package/lib/LineHeight.d.cts +4 -4
  123. package/lib/LineHeight.d.ts +4 -4
  124. package/lib/LineHeight.js +17 -16
  125. package/lib/Link.cjs +1 -1
  126. package/lib/Link.d.cts +4 -4
  127. package/lib/Link.d.ts +4 -4
  128. package/lib/Link.js +1 -1
  129. package/lib/ListItem.d.cts +4 -4
  130. package/lib/ListItem.d.ts +4 -4
  131. package/lib/Mention.d.cts +4 -4
  132. package/lib/Mention.d.ts +4 -4
  133. package/lib/Mermaid.cjs +2 -2
  134. package/lib/Mermaid.d.cts +4 -4
  135. package/lib/Mermaid.d.ts +4 -4
  136. package/lib/Mermaid.js +138 -137
  137. package/lib/MoreMark.cjs +1 -1
  138. package/lib/MoreMark.d.cts +4 -4
  139. package/lib/MoreMark.d.ts +4 -4
  140. package/lib/MoreMark.js +1 -1
  141. package/lib/MultiColumn.cjs +1 -1
  142. package/lib/MultiColumn.d.cts +4 -4
  143. package/lib/MultiColumn.d.ts +4 -4
  144. package/lib/MultiColumn.js +1 -1
  145. package/lib/OrderedList.cjs +1 -1
  146. package/lib/OrderedList.d.cts +4 -4
  147. package/lib/OrderedList.d.ts +4 -4
  148. package/lib/OrderedList.js +1 -1
  149. package/lib/{RichTextEditor-DsUcQSbm.cjs → RichTextEditor-DWlLqTl9.cjs} +4 -4
  150. package/lib/{RichTextEditor-e6q30rbV.js → RichTextEditor-KP2Rgcqe.js} +18 -44
  151. package/lib/SearchAndReplace.cjs +1 -1
  152. package/lib/SearchAndReplace.d.cts +4 -4
  153. package/lib/SearchAndReplace.d.ts +4 -4
  154. package/lib/SearchAndReplace.js +68 -67
  155. package/lib/Selection.d.cts +4 -4
  156. package/lib/Selection.d.ts +4 -4
  157. package/lib/SlashCommand.cjs +1 -1
  158. package/lib/SlashCommand.d.cts +4 -4
  159. package/lib/SlashCommand.d.ts +4 -4
  160. package/lib/SlashCommand.js +1 -1
  161. package/lib/Strike.cjs +1 -1
  162. package/lib/Strike.d.cts +4 -4
  163. package/lib/Strike.d.ts +4 -4
  164. package/lib/Strike.js +1 -1
  165. package/lib/SubAndSuperScript.cjs +1 -1
  166. package/lib/SubAndSuperScript.d.cts +4 -4
  167. package/lib/SubAndSuperScript.d.ts +4 -4
  168. package/lib/SubAndSuperScript.js +1 -1
  169. package/lib/Table.cjs +1 -1
  170. package/lib/Table.d.cts +4 -4
  171. package/lib/Table.d.ts +4 -4
  172. package/lib/Table.js +2 -1
  173. package/lib/TableOfContent.cjs +1 -1
  174. package/lib/TableOfContent.d.cts +4 -4
  175. package/lib/TableOfContent.d.ts +4 -4
  176. package/lib/TableOfContent.js +50 -49
  177. package/lib/TaskList.cjs +1 -1
  178. package/lib/TaskList.d.cts +4 -4
  179. package/lib/TaskList.d.ts +4 -4
  180. package/lib/TaskList.js +1 -1
  181. package/lib/TextAlign.cjs +1 -1
  182. package/lib/TextAlign.d.cts +4 -4
  183. package/lib/TextAlign.d.ts +4 -4
  184. package/lib/TextAlign.js +8 -7
  185. package/lib/TextBubble.cjs +1 -1
  186. package/lib/TextBubble.d.cts +4 -4
  187. package/lib/TextBubble.d.ts +4 -4
  188. package/lib/TextBubble.js +1 -1
  189. package/lib/TextDirection.cjs +1 -1
  190. package/lib/TextDirection.d.cts +4 -4
  191. package/lib/TextDirection.d.ts +4 -4
  192. package/lib/TextDirection.js +14 -13
  193. package/lib/TextUnderline.cjs +1 -1
  194. package/lib/TextUnderline.d.cts +4 -4
  195. package/lib/TextUnderline.d.ts +4 -4
  196. package/lib/TextUnderline.js +1 -1
  197. package/lib/TrailingNode.d.cts +4 -4
  198. package/lib/TrailingNode.d.ts +4 -4
  199. package/lib/{Twitter-Wb7cD3M-.js → Twitter-99ivY5qv.js} +62 -61
  200. package/lib/{Twitter-D2Osj8qP.cjs → Twitter-BvfvUtNT.cjs} +2 -2
  201. package/lib/Twitter.cjs +1 -1
  202. package/lib/Twitter.d.cts +4 -4
  203. package/lib/Twitter.d.ts +4 -4
  204. package/lib/Twitter.js +1 -1
  205. package/lib/Video.cjs +1 -1
  206. package/lib/Video.d.cts +4 -4
  207. package/lib/Video.d.ts +4 -4
  208. package/lib/Video.js +1 -1
  209. package/lib/bubble-extra.cjs +1 -1
  210. package/lib/bubble-extra.d.cts +4 -4
  211. package/lib/bubble-extra.d.ts +4 -4
  212. package/lib/bubble-extra.js +5 -5
  213. package/lib/index.cjs +1 -1
  214. package/lib/index.d.cts +5 -4
  215. package/lib/index.d.ts +5 -4
  216. package/lib/index.js +2 -2
  217. package/lib/locale-bundle.d.cts +4 -4
  218. package/lib/locale-bundle.d.ts +4 -4
  219. package/lib/style.css +1 -1
  220. package/lib/{textarea-Csmx5x-_.js → textarea-CktfkXNe.js} +1 -1
  221. package/lib/{textarea-BVbzd9-k.cjs → textarea-DdH64g04.cjs} +1 -1
  222. package/package.json +1 -1
  223. package/lib/Drawer-DCAp7eZF.cjs +0 -1
  224. package/lib/Excalidraw-BI50RQL-.cjs +0 -1
  225. package/lib/Excalidraw-CYPcjYZB.js +0 -289
@@ -134,8 +134,8 @@ declare module '@tiptap/core' {
134
134
 
135
135
  declare module '@tiptap/core' {
136
136
  interface Commands<ReturnType> {
137
- exportPdf: {
138
- exportToPdf: () => ReturnType;
137
+ excalidraw: {
138
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
139
139
  };
140
140
  }
141
141
  }
@@ -143,8 +143,8 @@ declare module '@tiptap/core' {
143
143
 
144
144
  declare module '@tiptap/core' {
145
145
  interface Commands<ReturnType> {
146
- excalidraw: {
147
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
146
+ exportPdf: {
147
+ exportToPdf: () => ReturnType;
148
148
  };
149
149
  }
150
150
  }
@@ -134,8 +134,8 @@ declare module '@tiptap/core' {
134
134
 
135
135
  declare module '@tiptap/core' {
136
136
  interface Commands<ReturnType> {
137
- exportPdf: {
138
- exportToPdf: () => ReturnType;
137
+ excalidraw: {
138
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
139
139
  };
140
140
  }
141
141
  }
@@ -143,8 +143,8 @@ declare module '@tiptap/core' {
143
143
 
144
144
  declare module '@tiptap/core' {
145
145
  interface Commands<ReturnType> {
146
- excalidraw: {
147
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
146
+ exportPdf: {
147
+ exportToPdf: () => ReturnType;
148
148
  };
149
149
  }
150
150
  }
@@ -1,5 +1,5 @@
1
1
  import { M as o, m as s } from "./index-DI9T3iLd.js";
2
- import { A as i } from "./RichTextEditor-e6q30rbV.js";
2
+ import { A as i } from "./RichTextEditor-KP2Rgcqe.js";
3
3
  const d = o.create({
4
4
  name: "underline",
5
5
  addOptions() {
@@ -69,8 +69,8 @@ declare module '@tiptap/core' {
69
69
 
70
70
  declare module '@tiptap/core' {
71
71
  interface Commands<ReturnType> {
72
- exportPdf: {
73
- exportToPdf: () => ReturnType;
72
+ excalidraw: {
73
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
74
74
  };
75
75
  }
76
76
  }
@@ -78,8 +78,8 @@ declare module '@tiptap/core' {
78
78
 
79
79
  declare module '@tiptap/core' {
80
80
  interface Commands<ReturnType> {
81
- excalidraw: {
82
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
81
+ exportPdf: {
82
+ exportToPdf: () => ReturnType;
83
83
  };
84
84
  }
85
85
  }
@@ -69,8 +69,8 @@ declare module '@tiptap/core' {
69
69
 
70
70
  declare module '@tiptap/core' {
71
71
  interface Commands<ReturnType> {
72
- exportPdf: {
73
- exportToPdf: () => ReturnType;
72
+ excalidraw: {
73
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
74
74
  };
75
75
  }
76
76
  }
@@ -78,8 +78,8 @@ declare module '@tiptap/core' {
78
78
 
79
79
  declare module '@tiptap/core' {
80
80
  interface Commands<ReturnType> {
81
- excalidraw: {
82
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
81
+ exportPdf: {
82
+ exportToPdf: () => ReturnType;
83
83
  };
84
84
  }
85
85
  }
@@ -2,7 +2,7 @@ import { N as $t, m as Vt, H as Mt } from "./index-DI9T3iLd.js";
2
2
  import { c as H, N as jt, R as Bt } from "./dom-dataset-Di3tIRrR.js";
3
3
  import { jsx as r, jsxs as g, Fragment as Wt } from "react/jsx-runtime";
4
4
  import de, { useState as ce, Fragment as Ft, useEffect as Pe, useMemo as gt, createContext as Pt, useLayoutEffect as Ut, useContext as Ht, useRef as X, useCallback as Te, useDebugValue as zt } from "react";
5
- import { L as Gt, o as Kt, B as Xt, P as Qt, m as Jt, A as Yt, k as Zt, n as en } from "./RichTextEditor-e6q30rbV.js";
5
+ import { L as Gt, o as Kt, B as Xt, P as Qt, m as Jt, A as Yt, k as Zt, n as en } from "./RichTextEditor-KP2Rgcqe.js";
6
6
  import { u as tn } from "./index-CsK90iVd.js";
7
7
  const nn = "_verified_lvyh0_1", Ue = {
8
8
  verified: nn
@@ -135,10 +135,10 @@ const nn = "_verified_lvyh0_1", Ue = {
135
135
  separator: Tn,
136
136
  brand: xn,
137
137
  twitterIcon: bn
138
- }, En = "_verifiedOld_lcna5_1", Nn = "_verifiedBlue_lcna5_4", Rn = "_verifiedGovernment_lcna5_7", xe = {
138
+ }, En = "_verifiedOld_lcna5_1", On = "_verifiedBlue_lcna5_4", Nn = "_verifiedGovernment_lcna5_7", xe = {
139
139
  verifiedOld: En,
140
- verifiedBlue: Nn,
141
- verifiedGovernment: Rn
140
+ verifiedBlue: On,
141
+ verifiedGovernment: Nn
142
142
  }, yt = ({ user: e, className: t }) => {
143
143
  const n = e.verified || e.is_blue_verified || e.verified_type;
144
144
  let o = /* @__PURE__ */ r(rn, {}), i = xe.verifiedBlue;
@@ -155,7 +155,7 @@ const nn = "_verified_lvyh0_1", Ue = {
155
155
  className: H(t, i),
156
156
  children: o
157
157
  }) : null;
158
- }, On = ({ tweet: e, components: t }) => {
158
+ }, Rn = ({ tweet: e, components: t }) => {
159
159
  var n;
160
160
  const o = (n = t == null ? void 0 : t.AvatarImg) != null ? n : wt, { user: i } = e;
161
161
  return /* @__PURE__ */ g("div", {
@@ -603,14 +603,14 @@ const Gn = (e) => ({
603
603
  })
604
604
  })
605
605
  ]
606
- }), Tr = "_actions_n2anf_1", xr = "_like_n2anf_13", br = "_reply_n2anf_14", Er = "_copy_n2anf_15", Nr = "_likeIconWrapper_n2anf_27", Rr = "_likeCount_n2anf_30", Or = "_replyIconWrapper_n2anf_35", Lr = "_copyIconWrapper_n2anf_36", Ir = "_likeIcon_n2anf_27", kr = "_replyIcon_n2anf_35", Cr = "_copyIcon_n2anf_36", Dr = "_replyText_n2anf_56", qr = "_copyText_n2anf_57", I = {
606
+ }), Tr = "_actions_n2anf_1", xr = "_like_n2anf_13", br = "_reply_n2anf_14", Er = "_copy_n2anf_15", Or = "_likeIconWrapper_n2anf_27", Nr = "_likeCount_n2anf_30", Rr = "_replyIconWrapper_n2anf_35", Lr = "_copyIconWrapper_n2anf_36", Ir = "_likeIcon_n2anf_27", kr = "_replyIcon_n2anf_35", Cr = "_copyIcon_n2anf_36", Dr = "_replyText_n2anf_56", qr = "_copyText_n2anf_57", I = {
607
607
  actions: Tr,
608
608
  like: xr,
609
609
  reply: br,
610
610
  copy: Er,
611
- likeIconWrapper: Nr,
612
- likeCount: Rr,
613
- replyIconWrapper: Or,
611
+ likeIconWrapper: Or,
612
+ likeCount: Nr,
613
+ replyIconWrapper: Rr,
614
614
  copyIconWrapper: Lr,
615
615
  likeIcon: Ir,
616
616
  replyIcon: kr,
@@ -843,7 +843,7 @@ const Gn = (e) => ({
843
843
  ]);
844
844
  return /* @__PURE__ */ g(He, {
845
845
  children: [
846
- /* @__PURE__ */ r(On, {
846
+ /* @__PURE__ */ r(Rn, {
847
847
  tweet: o,
848
848
  components: t
849
849
  }),
@@ -927,7 +927,7 @@ const Gn = (e) => ({
927
927
  })
928
928
  ]
929
929
  });
930
- var pe = { exports: {} }, Ne = {};
930
+ var pe = { exports: {} }, Oe = {};
931
931
  /**
932
932
  * @license React
933
933
  * use-sync-external-store-shim.production.js
@@ -939,7 +939,7 @@ var pe = { exports: {} }, Ne = {};
939
939
  */
940
940
  var ct;
941
941
  function uo() {
942
- if (ct) return Ne;
942
+ if (ct) return Oe;
943
943
  ct = 1;
944
944
  var e = de;
945
945
  function t(d, h) {
@@ -976,9 +976,9 @@ function uo() {
976
976
  return h();
977
977
  }
978
978
  var S = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? _ : u;
979
- return Ne.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : S, Ne;
979
+ return Oe.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : S, Oe;
980
980
  }
981
- var Re = {};
981
+ var Ne = {};
982
982
  /**
983
983
  * @license React
984
984
  * use-sync-external-store-shim.development.js
@@ -1038,15 +1038,15 @@ function fo() {
1038
1038
  }
1039
1039
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
1040
1040
  var i = de, a = typeof Object.is == "function" ? Object.is : e, s = i.useState, u = i.useEffect, p = i.useLayoutEffect, _ = i.useDebugValue, S = !1, d = !1, h = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? o : t;
1041
- Re.useSyncExternalStore = i.useSyncExternalStore !== void 0 ? i.useSyncExternalStore : h, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1042
- }()), Re;
1041
+ Ne.useSyncExternalStore = i.useSyncExternalStore !== void 0 ? i.useSyncExternalStore : h, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1042
+ }()), Ne;
1043
1043
  }
1044
1044
  var dt;
1045
1045
  function _o() {
1046
1046
  return dt || (dt = 1, process.env.NODE_ENV === "production" ? pe.exports = uo() : pe.exports = fo()), pe.exports;
1047
1047
  }
1048
1048
  var ho = _o();
1049
- const bt = 0, Et = 1, Nt = 2, ut = 3;
1049
+ const bt = 0, Et = 1, Ot = 2, ut = 3;
1050
1050
  var ft = Object.prototype.hasOwnProperty;
1051
1051
  function Ae(e, t) {
1052
1052
  var n, o;
@@ -1075,22 +1075,22 @@ const W = /* @__PURE__ */ new WeakMap(), U = () => {
1075
1075
  ), $e = Object, m = (e) => e === L, M = (e) => typeof e == "function", z = (e, t) => ({
1076
1076
  ...e,
1077
1077
  ...t
1078
- }), Rt = (e) => M(e.then), Oe = {}, ve = {}, ze = "undefined", ue = typeof window != ze, Ve = typeof document != ze, mo = ue && "Deno" in window, po = () => ue && typeof window.requestAnimationFrame != ze, Ot = (e, t) => {
1078
+ }), Nt = (e) => M(e.then), Re = {}, ve = {}, ze = "undefined", ue = typeof window != ze, Ve = typeof document != ze, mo = ue && "Deno" in window, po = () => ue && typeof window.requestAnimationFrame != ze, Rt = (e, t) => {
1079
1079
  const n = W.get(e);
1080
1080
  return [
1081
1081
  // Getter
1082
- () => !m(t) && e.get(t) || Oe,
1082
+ () => !m(t) && e.get(t) || Re,
1083
1083
  // Setter
1084
1084
  (o) => {
1085
1085
  if (!m(t)) {
1086
1086
  const i = e.get(t);
1087
- t in ve || (ve[t] = i), n[5](t, z(i, o), i || Oe);
1087
+ t in ve || (ve[t] = i), n[5](t, z(i, o), i || Re);
1088
1088
  }
1089
1089
  },
1090
1090
  // Subscriber
1091
1091
  n[6],
1092
1092
  // Get server cache snapshot
1093
- () => !m(t) && t in ve ? ve[t] : !m(t) && e.get(t) || Oe
1093
+ () => !m(t) && t in ve ? ve[t] : !m(t) && e.get(t) || Re
1094
1094
  ];
1095
1095
  };
1096
1096
  let Me = !0;
@@ -1182,13 +1182,13 @@ async function Lt(...e) {
1182
1182
  async function d(h) {
1183
1183
  const [l] = Ge(h);
1184
1184
  if (!l) return;
1185
- const [v, f] = Ot(t, l), [k, c, F, ie] = W.get(t), P = () => {
1185
+ const [v, f] = Rt(t, l), [k, c, F, ie] = W.get(t), P = () => {
1186
1186
  const A = k[l];
1187
- return (M(a.revalidate) ? a.revalidate(v().data, h) : a.revalidate !== !1) && (delete F[l], delete ie[l], A && A[0]) ? A[0](Nt).then(() => v().data) : v().data;
1187
+ return (M(a.revalidate) ? a.revalidate(v().data, h) : a.revalidate !== !1) && (delete F[l], delete ie[l], A && A[0]) ? A[0](Ot).then(() => v().data) : v().data;
1188
1188
  };
1189
1189
  if (e.length < 3)
1190
1190
  return P();
1191
- let N = o, C;
1191
+ let O = o, C;
1192
1192
  const J = Fe();
1193
1193
  c[l] = [
1194
1194
  J,
@@ -1198,25 +1198,25 @@ async function Lt(...e) {
1198
1198
  if (x && (p = M(p) ? p(G, $) : p, f({
1199
1199
  data: p,
1200
1200
  _c: G
1201
- })), M(N))
1201
+ })), M(O))
1202
1202
  try {
1203
- N = N(G);
1203
+ O = O(G);
1204
1204
  } catch (A) {
1205
1205
  C = A;
1206
1206
  }
1207
- if (N && Rt(N))
1208
- if (N = await N.catch((A) => {
1207
+ if (O && Nt(O))
1208
+ if (O = await O.catch((A) => {
1209
1209
  C = A;
1210
1210
  }), J !== c[l][0]) {
1211
1211
  if (C) throw C;
1212
- return N;
1212
+ return O;
1213
1213
  } else C && x && _(C) && (s = !0, f({
1214
1214
  data: G,
1215
1215
  _c: L
1216
1216
  }));
1217
1217
  if (s && !C)
1218
1218
  if (M(s)) {
1219
- const A = s(N, G);
1219
+ const A = s(O, G);
1220
1220
  f({
1221
1221
  data: A,
1222
1222
  error: L,
@@ -1224,7 +1224,7 @@ async function Lt(...e) {
1224
1224
  });
1225
1225
  } else
1226
1226
  f({
1227
- data: N,
1227
+ data: O,
1228
1228
  error: L,
1229
1229
  _c: L
1230
1230
  });
@@ -1236,13 +1236,13 @@ async function Lt(...e) {
1236
1236
  if (S) throw C;
1237
1237
  return;
1238
1238
  }
1239
- return N;
1239
+ return O;
1240
1240
  }
1241
1241
  }
1242
1242
  const mt = (e, t) => {
1243
1243
  for (const n in e)
1244
1244
  e[n][0] && e[n][0](t);
1245
- }, No = (e, t) => {
1245
+ }, Oo = (e, t) => {
1246
1246
  if (!W.has(e)) {
1247
1247
  const n = z(To, t), o = {}, i = Lt.bind(L, e);
1248
1248
  let a = U;
@@ -1282,16 +1282,16 @@ const mt = (e, t) => {
1282
1282
  e,
1283
1283
  W.get(e)[4]
1284
1284
  ];
1285
- }, Ro = (e, t, n, o, i) => {
1285
+ }, No = (e, t, n, o, i) => {
1286
1286
  const a = n.errorRetryCount, s = i.retryCount, u = ~~((Math.random() + 0.5) * (1 << (s < 8 ? s : 8))) * n.errorRetryInterval;
1287
1287
  !m(a) && s > a || setTimeout(o, u, i);
1288
- }, Oo = Ae, [It, Lo] = No(/* @__PURE__ */ new Map()), Io = z(
1288
+ }, Ro = Ae, [It, Lo] = Oo(/* @__PURE__ */ new Map()), Io = z(
1289
1289
  {
1290
1290
  // events
1291
1291
  onLoadingSlow: U,
1292
1292
  onSuccess: U,
1293
1293
  onError: U,
1294
- onErrorRetry: Ro,
1294
+ onErrorRetry: No,
1295
1295
  onDiscarded: U,
1296
1296
  // switches
1297
1297
  revalidateOnFocus: !0,
@@ -1304,7 +1304,7 @@ const mt = (e, t) => {
1304
1304
  dedupingInterval: 2 * 1e3,
1305
1305
  loadingTimeout: ht ? 5e3 : 3e3,
1306
1306
  // providers
1307
- compare: Oo,
1307
+ compare: Ro,
1308
1308
  isPaused: () => !1,
1309
1309
  cache: It,
1310
1310
  mutate: Lo,
@@ -1372,9 +1372,9 @@ const Ce = de.use || // This extra generic is to avoid TypeScript mixing up the
1372
1372
  }), De = {
1373
1373
  dedupe: !0
1374
1374
  }, Fo = (e, t, n) => {
1375
- const { cache: o, compare: i, suspense: a, fallbackData: s, revalidateOnMount: u, revalidateIfStale: p, refreshInterval: _, refreshWhenHidden: S, refreshWhenOffline: d, keepPreviousData: h } = n, [l, v, f, k] = W.get(o), [c, F] = Ge(e), ie = X(!1), P = X(!1), N = X(c), C = X(t), J = X(n), x = () => J.current, Y = () => x().isVisible() && x().isOnline(), [$, Z, G, A] = Ot(o, c), ee = X({}).current, fe = m(s) ? m(n.fallback) ? L : n.fallback[c] : s, Ke = (w, y) => {
1376
- for (const R in ee) {
1377
- const T = R;
1375
+ const { cache: o, compare: i, suspense: a, fallbackData: s, revalidateOnMount: u, revalidateIfStale: p, refreshInterval: _, refreshWhenHidden: S, refreshWhenOffline: d, keepPreviousData: h } = n, [l, v, f, k] = W.get(o), [c, F] = Ge(e), ie = X(!1), P = X(!1), O = X(c), C = X(t), J = X(n), x = () => J.current, Y = () => x().isVisible() && x().isOnline(), [$, Z, G, A] = Rt(o, c), ee = X({}).current, fe = m(s) ? m(n.fallback) ? L : n.fallback[c] : s, Ke = (w, y) => {
1376
+ for (const N in ee) {
1377
+ const T = N;
1378
1378
  if (T === "data") {
1379
1379
  if (!i(w[T], y[T]) && (!m(w[T]) || !i(he, y[T])))
1380
1380
  return !1;
@@ -1383,19 +1383,19 @@ const Ce = de.use || // This extra generic is to avoid TypeScript mixing up the
1383
1383
  }
1384
1384
  return !0;
1385
1385
  }, Xe = gt(() => {
1386
- const w = !c || !t ? !1 : m(u) ? x().isPaused() || a ? !1 : p !== !1 : u, y = (O) => {
1387
- const j = z(O);
1386
+ const w = !c || !t ? !1 : m(u) ? x().isPaused() || a ? !1 : p !== !1 : u, y = (R) => {
1387
+ const j = z(R);
1388
1388
  return delete j._k, w ? {
1389
1389
  isValidating: !0,
1390
1390
  isLoading: !0,
1391
1391
  ...j
1392
1392
  } : j;
1393
- }, R = $(), T = A(), V = y(R), re = R === T ? V : y(T);
1393
+ }, N = $(), T = A(), V = y(N), re = N === T ? V : y(T);
1394
1394
  let b = V;
1395
1395
  return [
1396
1396
  () => {
1397
- const O = y($());
1398
- return Ke(O, b) ? (b.data = O.data, b.isLoading = O.isLoading, b.isValidating = O.isValidating, b.error = O.error, b) : (b = O, O);
1397
+ const R = y($());
1398
+ return Ke(R, b) ? (b.data = R.data, b.isLoading = R.isLoading, b.isValidating = R.isValidating, b.error = R.error, b) : (b = R, R);
1399
1399
  },
1400
1400
  () => re
1401
1401
  ];
@@ -1403,21 +1403,21 @@ const Ce = de.use || // This extra generic is to avoid TypeScript mixing up the
1403
1403
  o,
1404
1404
  c
1405
1405
  ]), te = ho.useSyncExternalStore(Te(
1406
- (w) => G(c, (y, R) => {
1407
- Ke(R, y) || w();
1406
+ (w) => G(c, (y, N) => {
1407
+ Ke(N, y) || w();
1408
1408
  }),
1409
1409
  // eslint-disable-next-line react-hooks/exhaustive-deps
1410
1410
  [
1411
1411
  o,
1412
1412
  c
1413
1413
  ]
1414
- ), Xe[0], Xe[1]), Qe = !ie.current, Ct = l[c] && l[c].length > 0, ne = te.data, K = m(ne) ? fe && Rt(fe) ? Ce(fe) : fe : ne, _e = te.error, we = X(K), he = h ? m(ne) ? m(we.current) ? K : we.current : ne : K, Je = Ct && !m(_e) ? !1 : Qe && !m(u) ? u : x().isPaused() ? !1 : a ? m(K) ? !1 : p : m(K) || p, Ye = !!(c && t && Qe && Je), Dt = m(te.isValidating) ? Ye : te.isValidating, qt = m(te.isLoading) ? Ye : te.isLoading, ae = Te(
1414
+ ), Xe[0], Xe[1]), Qe = !ie.current, Ct = l[c] && l[c].length > 0, ne = te.data, K = m(ne) ? fe && Nt(fe) ? Ce(fe) : fe : ne, _e = te.error, we = X(K), he = h ? m(ne) ? m(we.current) ? K : we.current : ne : K, Je = Ct && !m(_e) ? !1 : Qe && !m(u) ? u : x().isPaused() ? !1 : a ? m(K) ? !1 : p : m(K) || p, Ye = !!(c && t && Qe && Je), Dt = m(te.isValidating) ? Ye : te.isValidating, qt = m(te.isLoading) ? Ye : te.isLoading, ae = Te(
1415
1415
  async (w) => {
1416
1416
  const y = C.current;
1417
1417
  if (!c || !y || P.current || x().isPaused())
1418
1418
  return !1;
1419
- let R, T, V = !0;
1420
- const re = w || {}, b = !f[c] || !re.dedupe, O = () => _t ? !P.current && c === N.current && ie.current : c === N.current, j = {
1419
+ let N, T, V = !0;
1420
+ const re = w || {}, b = !f[c] || !re.dedupe, R = () => _t ? !P.current && c === O.current && ie.current : c === O.current, j = {
1421
1421
  isValidating: !1,
1422
1422
  isLoading: !1
1423
1423
  }, et = () => {
@@ -1431,25 +1431,25 @@ const Ce = de.use || // This extra generic is to avoid TypeScript mixing up the
1431
1431
  m($().data) && (nt.isLoading = !0);
1432
1432
  try {
1433
1433
  if (b && (Z(nt), n.loadingTimeout && m($().data) && setTimeout(() => {
1434
- V && O() && x().onLoadingSlow(c, n);
1434
+ V && R() && x().onLoadingSlow(c, n);
1435
1435
  }, n.loadingTimeout), f[c] = [
1436
1436
  y(F),
1437
1437
  Fe()
1438
- ]), [R, T] = f[c], R = await R, b && setTimeout(tt, n.dedupingInterval), !f[c] || f[c][1] !== T)
1439
- return b && O() && x().onDiscarded(c), !1;
1438
+ ]), [N, T] = f[c], N = await N, b && setTimeout(tt, n.dedupingInterval), !f[c] || f[c][1] !== T)
1439
+ return b && R() && x().onDiscarded(c), !1;
1440
1440
  j.error = L;
1441
1441
  const q = v[c];
1442
1442
  if (!m(q) && // case 1
1443
1443
  (T <= q[0] || // case 2
1444
1444
  T <= q[1] || // case 3
1445
1445
  q[1] === 0))
1446
- return et(), b && O() && x().onDiscarded(c), !1;
1446
+ return et(), b && R() && x().onDiscarded(c), !1;
1447
1447
  const B = $().data;
1448
- j.data = i(B, R) ? B : R, b && O() && x().onSuccess(R, c, n);
1448
+ j.data = i(B, N) ? B : N, b && R() && x().onSuccess(N, c, n);
1449
1449
  } catch (q) {
1450
1450
  tt();
1451
1451
  const B = x(), { shouldRetryOnError: ye } = B;
1452
- B.isPaused() || (j.error = q, b && O() && (B.onError(q, c, B), (ye === !0 || M(ye) && ye(q)) && (!x().revalidateOnFocus || !x().revalidateOnReconnect || Y()) && B.onErrorRetry(q, c, B, (At) => {
1452
+ B.isPaused() || (j.error = q, b && R() && (B.onError(q, c, B), (ye === !0 || M(ye) && ye(q)) && (!x().revalidateOnFocus || !x().revalidateOnReconnect || Y()) && B.onErrorRetry(q, c, B, (At) => {
1453
1453
  const Se = l[c];
1454
1454
  Se && Se[0] && Se[0](ut, At);
1455
1455
  }, {
@@ -1476,7 +1476,7 @@ const Ce = de.use || // This extra generic is to avoid TypeScript mixing up the
1476
1476
  ]
1477
1477
  ), Ze = Te(
1478
1478
  // Use callback to make sure `keyRef.current` returns latest result every time
1479
- (...w) => Lt(o, N.current, ...w),
1479
+ (...w) => Lt(o, O.current, ...w),
1480
1480
  // eslint-disable-next-line react-hooks/exhaustive-deps
1481
1481
  []
1482
1482
  );
@@ -1493,13 +1493,13 @@ const Ce = de.use || // This extra generic is to avoid TypeScript mixing up the
1493
1493
  } else if (V == Et)
1494
1494
  x().revalidateOnReconnect && Y() && w();
1495
1495
  else {
1496
- if (V == Nt)
1496
+ if (V == Ot)
1497
1497
  return ae();
1498
1498
  if (V == ut)
1499
1499
  return ae(re);
1500
1500
  }
1501
1501
  });
1502
- return P.current = !1, N.current = c, ie.current = !0, Z({
1502
+ return P.current = !1, O.current = c, ie.current = !0, Z({
1503
1503
  _k: F
1504
1504
  }), Je && (m(K) || le ? w() : xo(w)), () => {
1505
1505
  P.current = !0, T();
@@ -1510,9 +1510,9 @@ const Ce = de.use || // This extra generic is to avoid TypeScript mixing up the
1510
1510
  let w;
1511
1511
  function y() {
1512
1512
  const T = M(_) ? _($().data) : _;
1513
- T && w !== -1 && (w = setTimeout(R, T));
1513
+ T && w !== -1 && (w = setTimeout(N, T));
1514
1514
  }
1515
- function R() {
1515
+ function N() {
1516
1516
  !$().error && (S || x().isVisible()) && (d || x().isOnline()) ? ae(De).then(y) : y();
1517
1517
  }
1518
1518
  return y(), () => {
@@ -1655,6 +1655,7 @@ function Jo(e) {
1655
1655
  Yt,
1656
1656
  {
1657
1657
  tooltip: e == null ? void 0 : e.tooltip,
1658
+ tooltipOptions: e == null ? void 0 : e.tooltipOptions,
1658
1659
  isActive: e == null ? void 0 : e.isActive,
1659
1660
  disabled: e == null ? void 0 : e.disabled,
1660
1661
  children: /* @__PURE__ */ r(Zt, { name: e == null ? void 0 : e.icon })